chore: v11 Toggle

This removes legacy `ToggleSkeleton`.
This commit is contained in:
Gregor Wassmann 2023-03-27 23:59:15 +02:00 committed by Enrico Sacchetti
commit 9a0a790e19
No known key found for this signature in database
GPG key ID: 3374B89ECA60D796
10 changed files with 60 additions and 199 deletions

View file

@ -6,9 +6,9 @@ type RestProps = SvelteHTMLElements["div"];
export interface ToggleProps extends RestProps {
/**
* Specify the toggle size
* @default "default"
* @default "md"
*/
size?: "default" | "sm";
size?: "md" | "sm";
/**
* Set to `true` to toggle the checkbox input
@ -74,5 +74,5 @@ export default class Toggle extends SvelteComponentTyped<
focus: WindowEventMap["focus"];
blur: WindowEventMap["blur"];
},
{ labelA: {}; labelB: {}; labelText: {} }
{ labelText: {} }
> {}