diff --git a/doc/button/IconOnlyDoc.vue b/doc/button/IconOnlyDoc.vue
index 813fe3391..6f651d07d 100644
--- a/doc/button/IconOnlyDoc.vue
+++ b/doc/button/IconOnlyDoc.vue
@@ -5,52 +5,52 @@
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -62,106 +62,96 @@ export default {
return {
code: {
basic: `
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
`,
+
+
+
+
+
+
+`,
options: `
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -173,52 +163,52 @@ export default {
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/doc/button/LinkDoc.vue b/doc/button/LinkDoc.vue
index e54d6f1f9..bb29e24af 100644
--- a/doc/button/LinkDoc.vue
+++ b/doc/button/LinkDoc.vue
@@ -1,9 +1,9 @@
- A button can be rendered as a link by adding p-button-link class.
+ A button can be rendered as a link as well.
-
+
@@ -14,11 +14,11 @@ export default {
return {
code: {
basic: `
-`,
+`,
options: `
-
+
@@ -27,7 +27,7 @@ export default {
composition: `
-
+
diff --git a/doc/button/OutlinedDoc.vue b/doc/button/OutlinedDoc.vue
index 90335976d..b437c8a49 100644
--- a/doc/button/OutlinedDoc.vue
+++ b/doc/button/OutlinedDoc.vue
@@ -3,13 +3,13 @@
Outlined buttons display a border without a background initially.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -20,23 +20,23 @@ export default {
return {
code: {
basic: `
-
-
-
-
-
-
-`,
+
+
+
+
+
+
+`,
options: `
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -45,13 +45,13 @@ export default {
composition: `
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/doc/button/RaisedDoc.vue b/doc/button/RaisedDoc.vue
index 1383054e6..a6e87230b 100644
--- a/doc/button/RaisedDoc.vue
+++ b/doc/button/RaisedDoc.vue
@@ -3,13 +3,13 @@
Raised buttons display a shadow to indicate elevation.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -20,23 +20,23 @@ export default {
return {
code: {
basic: `
-
-
-
-
-
-
-`,
+
+
+
+
+
+
+`,
options: `
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -45,13 +45,13 @@ export default {
composition: `
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/doc/button/RaisedTextDoc.vue b/doc/button/RaisedTextDoc.vue
index 22b5a8a12..ef08c0180 100644
--- a/doc/button/RaisedTextDoc.vue
+++ b/doc/button/RaisedTextDoc.vue
@@ -3,13 +3,13 @@
Text buttons can be displayed as raised as well for elevation.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -20,23 +20,23 @@ export default {
return {
code: {
basic: `
-
-
-
-
-
-
-`,
+
+
+
+
+
+
+`,
options: `
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -45,13 +45,13 @@ export default {
composition: `
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/doc/button/RoundedDoc.vue b/doc/button/RoundedDoc.vue
index 956b2eafc..0cccd2082 100644
--- a/doc/button/RoundedDoc.vue
+++ b/doc/button/RoundedDoc.vue
@@ -3,13 +3,13 @@
Rounded buttons have a circular border radius.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -20,23 +20,23 @@ export default {
return {
code: {
basic: `
-
-
-
-
-
-
-`,
+
+
+
+
+
+
+`,
options: `
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -45,13 +45,13 @@ export default {
composition: `
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/doc/button/SeverityDoc.vue b/doc/button/SeverityDoc.vue
index d3c205bfd..a650dddf8 100644
--- a/doc/button/SeverityDoc.vue
+++ b/doc/button/SeverityDoc.vue
@@ -4,12 +4,12 @@
-
-
-
-
-
-
+
+
+
+
+
+
@@ -21,22 +21,22 @@ export default {
code: {
basic: `
-
-
-
-
-
-`,
+
+
+
+
+
+`,
options: `
-
-
-
-
-
-
+
+
+
+
+
+
@@ -46,12 +46,12 @@ export default {
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/doc/button/SizesDoc.vue b/doc/button/SizesDoc.vue
index a626191a8..c60b69aef 100644
--- a/doc/button/SizesDoc.vue
+++ b/doc/button/SizesDoc.vue
@@ -3,9 +3,9 @@
Button provides small and large sizes as alternatives to the standard.
-
-
-
+
+
+
@@ -16,15 +16,15 @@ export default {
return {
code: {
basic: `
-
-
-`,
+
+
+`,
options: `
-
-
-
+
+
+
@@ -33,9 +33,9 @@ export default {
composition: `
-
-
-
+
+
+
diff --git a/doc/button/TextDoc.vue b/doc/button/TextDoc.vue
index d830fc169..1b9523dd1 100644
--- a/doc/button/TextDoc.vue
+++ b/doc/button/TextDoc.vue
@@ -3,13 +3,13 @@
Text buttons are displayed as textual elements.
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -20,23 +20,23 @@ export default {
return {
code: {
basic: `
-
-
-
-
-
-
-`,
+
+
+
+
+
+
+`,
options: `
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -45,13 +45,13 @@ export default {
composition: `
-
-
-
-
-
-
-
+
+
+
+
+
+
+
diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json
index 381eec593..c9d744db4 100644
--- a/doc/common/apidoc/index.json
+++ b/doc/common/apidoc/index.json
@@ -3662,6 +3662,14 @@
"default": "",
"description": "Text of the button."
},
+ {
+ "name": "link",
+ "optional": true,
+ "readonly": false,
+ "type": "boolean",
+ "default": "false",
+ "description": "Add a link style to the button."
+ },
{
"name": "loading",
"optional": true,
@@ -3678,6 +3686,46 @@
"default": "pi pi-spinner pi-spin",
"description": "Icon to display in loading state."
},
+ {
+ "name": "outlined",
+ "optional": true,
+ "readonly": false,
+ "type": "boolean",
+ "default": "false",
+ "description": "Add a border class without a background initially."
+ },
+ {
+ "name": "raised",
+ "optional": true,
+ "readonly": false,
+ "type": "boolean",
+ "default": "false",
+ "description": "Add a shadow to indicate elevation."
+ },
+ {
+ "name": "rounded",
+ "optional": true,
+ "readonly": false,
+ "type": "boolean",
+ "default": "false",
+ "description": "Add a circular border radius to the button."
+ },
+ {
+ "name": "severity",
+ "optional": true,
+ "readonly": false,
+ "type": "\"success\" | \"info\" | \"warning\" | \"danger\" | \"secondary\"",
+ "default": "",
+ "description": "Defines the style of the button."
+ },
+ {
+ "name": "size",
+ "optional": true,
+ "readonly": false,
+ "type": "\"small\" | \"large\"",
+ "default": "",
+ "description": "Defines the size of the button."
+ },
{
"name": "style",
"optional": true,
@@ -3685,6 +3733,14 @@
"type": "any",
"default": "",
"description": "Inline style of the button."
+ },
+ {
+ "name": "text",
+ "optional": true,
+ "readonly": false,
+ "type": "boolean",
+ "default": "false",
+ "description": "Add a textual class to the button without a background initially."
}
],
"methods": [],
@@ -22219,7 +22275,7 @@
"name": "bottom",
"optional": true,
"readonly": false,
- "type": "string",
+ "type": "boolean",
"default": "false",
"description": "Bottom position for Tooltip."
},
@@ -22227,7 +22283,7 @@
"name": "focus",
"optional": true,
"readonly": false,
- "type": "string",
+ "type": "boolean",
"default": "true",
"description": "Focus event for Tooltip."
},
@@ -22235,7 +22291,7 @@
"name": "left",
"optional": true,
"readonly": false,
- "type": "string",
+ "type": "boolean",
"default": "false",
"description": "Left position for Tooltip."
},
@@ -22243,7 +22299,7 @@
"name": "right",
"optional": true,
"readonly": false,
- "type": "string",
+ "type": "boolean",
"default": "true",
"description": "Right position for Tooltip."
},
@@ -22251,7 +22307,7 @@
"name": "top",
"optional": true,
"readonly": false,
- "type": "string",
+ "type": "boolean",
"default": "false",
"description": "Top position for Tooltip."
}