diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index e568363b..1ea05c4f 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -4219,10 +4219,9 @@ None. ### Props -| Prop name | Required | Kind | Reactive | Type | Default value | Description | -| :------------ | :------- | :--------------- | :------- | -------------------------------------------------------- | ------------------ | ---------------------------------------------------------- | -| hideLabel | No | let | No | boolean | false | Set to `true` to hide the label text | -| divAttributes | No | let | No | import('svelte/elements').HTMLDivAttributes | {} | Specify the div HTML attributes for the skeleton container | +| Prop name | Required | Kind | Reactive | Type | Default value | Description | +| :-------- | :------- | :--------------- | :------- | -------------------- | ------------------ | ------------------------------------ | +| hideLabel | No | let | No | boolean | false | Set to `true` to hide the label text | ### Slots @@ -4230,13 +4229,7 @@ None. ### Events -| Event name | Type | Detail | -| :----------- | :-------- | :----- | -| click | forwarded | -- | -| pointerup | forwarded | -- | -| pointerover | forwarded | -- | -| pointerenter | forwarded | -- | -| pointerleave | forwarded | -- | +None. ## `Theme` diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 567dcbd2..9ae620c8 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -13110,29 +13110,11 @@ "isRequired": false, "constant": false, "reactive": false - }, - { - "name": "divAttributes", - "kind": "let", - "description": "Specify the div HTML attributes for the skeleton container", - "type": "import('svelte/elements').HTMLDivAttributes", - "value": "{}", - "isFunction": false, - "isFunctionDeclaration": false, - "isRequired": false, - "constant": false, - "reactive": false } ], "moduleExports": [], "slots": [], - "events": [ - { "type": "forwarded", "name": "click", "element": "div" }, - { "type": "forwarded", "name": "pointerup", "element": "div" }, - { "type": "forwarded", "name": "pointerover", "element": "div" }, - { "type": "forwarded", "name": "pointerenter", "element": "div" }, - { "type": "forwarded", "name": "pointerleave", "element": "div" } - ], + "events": [], "typedefs": [] }, { diff --git a/src/TextInput/TextInputSkeleton.svelte b/src/TextInput/TextInputSkeleton.svelte index 3ded414a..b3799336 100644 --- a/src/TextInput/TextInputSkeleton.svelte +++ b/src/TextInput/TextInputSkeleton.svelte @@ -1,25 +1,11 @@ - - -
+
{#if !hideLabel} {/if} diff --git a/types/TextInput/TextInputSkeleton.svelte.d.ts b/types/TextInput/TextInputSkeleton.svelte.d.ts index 8bf70996..91ebb9ae 100644 --- a/types/TextInput/TextInputSkeleton.svelte.d.ts +++ b/types/TextInput/TextInputSkeleton.svelte.d.ts @@ -6,22 +6,10 @@ export interface TextInputSkeletonProps { * @default false */ hideLabel?: boolean; - - /** - * Specify the div HTML attributes for the skeleton container - * @default {} - */ - divAttributes?: import("svelte/elements").HTMLDivAttributes; } export default class TextInputSkeleton extends SvelteComponentTyped< TextInputSkeletonProps, - { - click: WindowEventMap["click"]; - pointerup: WindowEventMap["pointerup"]; - pointerover: WindowEventMap["pointerover"]; - pointerenter: WindowEventMap["pointerenter"]; - pointerleave: WindowEventMap["pointerleave"]; - }, + Record, {} > {}