diff --git a/api-generator/components/splitbutton.js b/api-generator/components/splitbutton.js index bdb6633e6..f12d64798 100644 --- a/api-generator/components/splitbutton.js +++ b/api-generator/components/splitbutton.js @@ -63,7 +63,7 @@ const SplitButtonProps = [ name: 'severity', type: 'string', default: 'null', - description: 'Defines the style of the button, valid values are "secondary", "success", "info", "warning", "help", "danger".' + description: 'Defines the style of the button, valid values are "secondary", "success", "info", "warning", "help", "danger", "contrast".' }, { name: 'raised', diff --git a/components/lib/splitbutton/SplitButton.d.ts b/components/lib/splitbutton/SplitButton.d.ts index 2926599f5..2e5fd43d2 100755 --- a/components/lib/splitbutton/SplitButton.d.ts +++ b/components/lib/splitbutton/SplitButton.d.ts @@ -171,7 +171,7 @@ export interface SplitButtonProps { /** * Defines the style of the button. */ - severity?: 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | string | undefined; + severity?: 'secondary' | 'success' | 'info' | 'warning' | 'help' | 'danger' | 'contrast' | string | undefined; /** * Add a shadow to indicate elevation. * @defaultValue false diff --git a/doc/button/SeverityDoc.vue b/doc/button/SeverityDoc.vue index 199ac0b8a..1f9c95bae 100644 --- a/doc/button/SeverityDoc.vue +++ b/doc/button/SeverityDoc.vue @@ -1,6 +1,6 @@ - Severity defines the type of button. + The severity property defines the variant of a button. diff --git a/doc/splitbutton/OutlinedDoc.vue b/doc/splitbutton/OutlinedDoc.vue index 081ed8086..d3fb87729 100644 --- a/doc/splitbutton/OutlinedDoc.vue +++ b/doc/splitbutton/OutlinedDoc.vue @@ -10,6 +10,7 @@ + @@ -51,6 +52,7 @@ export default { + `, options: ` @@ -63,6 +65,7 @@ export default { + @@ -115,6 +118,7 @@ export default { + diff --git a/doc/splitbutton/RaisedDoc.vue b/doc/splitbutton/RaisedDoc.vue index 7fa535615..c52148266 100644 --- a/doc/splitbutton/RaisedDoc.vue +++ b/doc/splitbutton/RaisedDoc.vue @@ -10,6 +10,7 @@ + @@ -51,6 +52,7 @@ export default { + `, options: ` @@ -63,6 +65,7 @@ export default { + @@ -115,6 +118,7 @@ export default { + diff --git a/doc/splitbutton/RoundedDoc.vue b/doc/splitbutton/RoundedDoc.vue index 613dee3f1..aca17a104 100644 --- a/doc/splitbutton/RoundedDoc.vue +++ b/doc/splitbutton/RoundedDoc.vue @@ -10,6 +10,7 @@ + @@ -51,6 +52,7 @@ export default { + `, options: ` @@ -63,6 +65,7 @@ export default { + @@ -115,6 +118,7 @@ export default { + diff --git a/doc/splitbutton/SeverityDoc.vue b/doc/splitbutton/SeverityDoc.vue index d03cc7f33..215972bee 100644 --- a/doc/splitbutton/SeverityDoc.vue +++ b/doc/splitbutton/SeverityDoc.vue @@ -1,6 +1,6 @@ - The severity option specifies the type of the message. + The severity property defines the variant of a button. @@ -10,6 +10,7 @@ + @@ -51,6 +52,7 @@ export default { + `, options: ` @@ -63,6 +65,7 @@ export default { + @@ -115,6 +118,7 @@ export default { +
Severity defines the type of button.
The severity property defines the variant of a button.
The severity option specifies the type of the message.