From 78caefd4d4f4e6f9b1d8484221625f6b1958b58c Mon Sep 17 00:00:00 2001 From: Eric Y Liu Date: Sun, 4 Jul 2021 05:56:57 -0700 Subject: [PATCH] fix(modal): "supercede" --> "supersede" --- COMPONENT_INDEX.md | 4 ++-- docs/src/COMPONENT_API.json | 4 ++-- src/ComposedModal/ModalFooter.svelte | 2 +- src/Modal/Modal.svelte | 2 +- types/ComposedModal/ModalFooter.d.ts | 2 +- types/Modal/Modal.d.ts | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 0f5155a7..91e3031c 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -2237,7 +2237,7 @@ None. | primaryButtonDisabled | let | No | boolean | false | Set to `true` to disable the primary button | | shouldSubmitOnEnter | let | No | boolean | true | Set to `true` for the primary button to be triggered when pressing "Enter" | | secondaryButtonText | let | No | string | "" | Specify the secondary button text | -| secondaryButtons | let | No | [{ text: string; }, { text: string; }] | [] | 2-tuple prop to render two secondary buttons for a 3 button modal
Supercedes `secondaryButtonText` | +| secondaryButtons | let | No | [{ text: string; }, { text: string; }] | [] | 2-tuple prop to render two secondary buttons for a 3 button modal
supersedes `secondaryButtonText` | | selectorPrimaryFocus | let | No | string | "[data-modal-primary-focus]" | Specify a selector to be focused when opening the modal | | preventCloseOnClickOutside | let | No | boolean | false | Set to `true` to prevent the modal from closing when clicking outside | | id | let | No | string | "ccs-" + Math.random().toString(36) | Set an id for the top-level element | @@ -2294,7 +2294,7 @@ None. | primaryButtonDisabled | let | No | boolean | false | Set to `true` to disable the primary button | | primaryClass | let | No | string | -- | Specify a class for the primary button | | secondaryButtonText | let | No | string | "" | Specify the secondary button text | -| secondaryButtons | let | No | [{ text: string; }, { text: string; }] | [] | 2-tuple prop to render two secondary buttons for a 3 button modal
Supercedes `secondaryButtonText` | +| secondaryButtons | let | No | [{ text: string; }, { text: string; }] | [] | 2-tuple prop to render two secondary buttons for a 3 button modal
supersedes `secondaryButtonText` | | secondaryClass | let | No | string | -- | Specify a class for the secondary button | | danger | let | No | boolean | false | Set to `true` to use the danger variant | diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 82dfe6d3..f6606472 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -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, diff --git a/src/ComposedModal/ModalFooter.svelte b/src/ComposedModal/ModalFooter.svelte index 29ccf3c5..6ddc379f 100644 --- a/src/ComposedModal/ModalFooter.svelte +++ b/src/ComposedModal/ModalFooter.svelte @@ -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 = []; diff --git a/src/Modal/Modal.svelte b/src/Modal/Modal.svelte index 8f1264e8..1ee063a9 100644 --- a/src/Modal/Modal.svelte +++ b/src/Modal/Modal.svelte @@ -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 = []; diff --git a/types/ComposedModal/ModalFooter.d.ts b/types/ComposedModal/ModalFooter.d.ts index 1d24a2f5..eaf9a749 100644 --- a/types/ComposedModal/ModalFooter.d.ts +++ b/types/ComposedModal/ModalFooter.d.ts @@ -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 }]; diff --git a/types/Modal/Modal.d.ts b/types/Modal/Modal.d.ts index 4f1769dc..11c9130d 100644 --- a/types/Modal/Modal.d.ts +++ b/types/Modal/Modal.d.ts @@ -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 }];