diff --git a/packages/web-components/fast-foundation/src/switch/README.md b/packages/web-components/fast-foundation/src/switch/README.md index ff46810cae9..3dc93f98f9b 100644 --- a/packages/web-components/fast-foundation/src/switch/README.md +++ b/packages/web-components/fast-foundation/src/switch/README.md @@ -131,23 +131,18 @@ export const mySwitch = Switch.compose({ #### CSS Parts -| Name | Description | -| ------------------- | -------------------------------------------------------------- | -| `label` | The label | -| `control` | The element representing the switch, which wraps the indicator | -| `thumb` | The default thumb element | -| `status-message` | The wrapper for the status messages | -| `checked-message` | The checked message | -| `unchecked-message` | The unchecked message | +| Name | Description | +| --------- | -------------------------------------------------------------- | +| `label` | The label | +| `control` | The element representing the switch, which wraps the indicator | +| `thumb` | The default thumb element | #### Slots -| Name | Description | -| ------------------- | -------------------------------------- | -| | The default slot for the label | -| `thumb` | The thumb inside the control | -| `checked-message` | The message when in a checked state | -| `unchecked-message` | The message when in an unchecked state | +| Name | Description | +| ------- | ------------------------------ | +| | The default slot for the label | +| `thumb` | The thumb inside the control |
diff --git a/packages/web-components/fast-foundation/src/switch/switch.ts b/packages/web-components/fast-foundation/src/switch/switch.ts index 6414b8b7fb5..fa971aed6fb 100644 --- a/packages/web-components/fast-foundation/src/switch/switch.ts +++ b/packages/web-components/fast-foundation/src/switch/switch.ts @@ -17,14 +17,9 @@ export type SwitchOptions = { * * @slot - The default slot for the label * @slot thumb - The thumb inside the control - * @slot checked-message - The message when in a checked state - * @slot unchecked-message - The message when in an unchecked state * @csspart label - The label * @csspart control - The element representing the switch, which wraps the indicator * @csspart thumb - The default thumb element - * @csspart status-message - The wrapper for the status messages - * @csspart checked-message - The checked message - * @csspart unchecked-message - The unchecked message * @fires change - Emits a custom change event when the checked state changes * * @public