mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
fix(modal): "supercede" --> "supersede"
This commit is contained in:
parent
2b8600d96c
commit
78caefd4d4
6 changed files with 8 additions and 8 deletions
|
@ -2237,7 +2237,7 @@ None.
|
|||
| primaryButtonDisabled | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to disable the primary button |
|
||||
| shouldSubmitOnEnter | <code>let</code> | No | <code>boolean</code> | <code>true</code> | Set to `true` for the primary button to be triggered when pressing "Enter" |
|
||||
| secondaryButtonText | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the secondary button text |
|
||||
| secondaryButtons | <code>let</code> | No | <code>[{ text: string; }, { text: string; }]</code> | <code>[]</code> | 2-tuple prop to render two secondary buttons for a 3 button modal<br />Supercedes `secondaryButtonText` |
|
||||
| secondaryButtons | <code>let</code> | No | <code>[{ text: string; }, { text: string; }]</code> | <code>[]</code> | 2-tuple prop to render two secondary buttons for a 3 button modal<br />supersedes `secondaryButtonText` |
|
||||
| selectorPrimaryFocus | <code>let</code> | No | <code>string</code> | <code>"[data-modal-primary-focus]"</code> | Specify a selector to be focused when opening the modal |
|
||||
| preventCloseOnClickOutside | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to prevent the modal from closing when clicking outside |
|
||||
| id | <code>let</code> | No | <code>string</code> | <code>"ccs-" + Math.random().toString(36)</code> | Set an id for the top-level element |
|
||||
|
@ -2294,7 +2294,7 @@ None.
|
|||
| primaryButtonDisabled | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to disable the primary button |
|
||||
| primaryClass | <code>let</code> | No | <code>string</code> | -- | Specify a class for the primary button |
|
||||
| secondaryButtonText | <code>let</code> | No | <code>string</code> | <code>""</code> | Specify the secondary button text |
|
||||
| secondaryButtons | <code>let</code> | No | <code>[{ text: string; }, { text: string; }]</code> | <code>[]</code> | 2-tuple prop to render two secondary buttons for a 3 button modal<br />Supercedes `secondaryButtonText` |
|
||||
| secondaryButtons | <code>let</code> | No | <code>[{ text: string; }, { text: string; }]</code> | <code>[]</code> | 2-tuple prop to render two secondary buttons for a 3 button modal<br />supersedes `secondaryButtonText` |
|
||||
| secondaryClass | <code>let</code> | No | <code>string</code> | -- | Specify a class for the secondary button |
|
||||
| danger | <code>let</code> | No | <code>boolean</code> | <code>false</code> | Set to `true` to use the danger variant |
|
||||
|
||||
|
|
|
@ -5378,7 +5378,7 @@
|
|||
{
|
||||
"name": "secondaryButtons",
|
||||
"kind": "let",
|
||||
"description": "2-tuple prop to render two secondary buttons for a 3 button modal\nSupercedes `secondaryButtonText`",
|
||||
"description": "2-tuple prop to render two secondary buttons for a 3 button modal\nsupersedes `secondaryButtonText`",
|
||||
"type": "[{ text: string; }, { text: string; }]",
|
||||
"value": "[]",
|
||||
"isFunction": false,
|
||||
|
@ -5540,7 +5540,7 @@
|
|||
{
|
||||
"name": "secondaryButtons",
|
||||
"kind": "let",
|
||||
"description": "2-tuple prop to render two secondary buttons for a 3 button modal\nSupercedes `secondaryButtonText`",
|
||||
"description": "2-tuple prop to render two secondary buttons for a 3 button modal\nsupersedes `secondaryButtonText`",
|
||||
"type": "[{ text: string; }, { text: string; }]",
|
||||
"value": "[]",
|
||||
"isFunction": false,
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
/**
|
||||
* 2-tuple prop to render two secondary buttons for a 3 button modal
|
||||
* Supercedes `secondaryButtonText`
|
||||
* supersedes `secondaryButtonText`
|
||||
* @type {[{ text: string; }, { text: string; }]}
|
||||
*/
|
||||
export let secondaryButtons = [];
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
|
||||
/**
|
||||
* 2-tuple prop to render two secondary buttons for a 3 button modal
|
||||
* Supercedes `secondaryButtonText`
|
||||
* supersedes `secondaryButtonText`
|
||||
* @type {[{ text: string; }, { text: string; }]}
|
||||
*/
|
||||
export let secondaryButtons = [];
|
||||
|
|
2
types/ComposedModal/ModalFooter.d.ts
vendored
2
types/ComposedModal/ModalFooter.d.ts
vendored
|
@ -28,7 +28,7 @@ export interface ModalFooterProps
|
|||
|
||||
/**
|
||||
* 2-tuple prop to render two secondary buttons for a 3 button modal
|
||||
* Supercedes `secondaryButtonText`
|
||||
* supersedes `secondaryButtonText`
|
||||
* @default []
|
||||
*/
|
||||
secondaryButtons?: [{ text: string }, { text: string }];
|
||||
|
|
2
types/Modal/Modal.d.ts
vendored
2
types/Modal/Modal.d.ts
vendored
|
@ -91,7 +91,7 @@ export interface ModalProps
|
|||
|
||||
/**
|
||||
* 2-tuple prop to render two secondary buttons for a 3 button modal
|
||||
* Supercedes `secondaryButtonText`
|
||||
* supersedes `secondaryButtonText`
|
||||
* @default []
|
||||
*/
|
||||
secondaryButtons?: [{ text: string }, { text: string }];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue