diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 1ea05c4f..f07aecc1 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -3140,7 +3140,6 @@ None. | value | No | let | Yes | any | "" | Specify the value of the search input | | size | No | let | No | "sm" | "md" | "lg" | "md" | Specify the size of the search input | | searchClass | No | let | No | string | "" | Specify the class name passed to the outer div element | -| skeleton | No | let | No | boolean | false | Set to `true` to display the skeleton state | | light | No | let | No | boolean | false | Set to `true` to enable the light variant | | disabled | No | let | No | boolean | false | Set to `true` to disable the search input | | expandable | No | let | No | boolean | false | Set to `true` to enable the expandable variant | @@ -3164,10 +3163,6 @@ None. | :--------- | :--------- | :---------------- | | expand | dispatched | null | | collapse | dispatched | null | -| click | forwarded | -- | -| mouseover | forwarded | -- | -| mouseenter | forwarded | -- | -| mouseleave | forwarded | -- | | change | forwarded | -- | | input | forwarded | -- | | focus | forwarded | -- | @@ -3175,6 +3170,7 @@ None. | keydown | forwarded | -- | | keyup | forwarded | -- | | paste | forwarded | -- | +| click | forwarded | -- | | clear | dispatched | null | ## `SearchSkeleton` @@ -3191,12 +3187,7 @@ None. ### Events -| Event name | Type | Detail | -| :--------- | :-------- | :----- | -| click | forwarded | -- | -| mouseover | forwarded | -- | -| mouseenter | forwarded | -- | -| mouseleave | forwarded | -- | +None. ## `Section` diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 9ae620c8..84b7485f 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -9966,18 +9966,6 @@ "constant": false, "reactive": false }, - { - "name": "skeleton", - "kind": "let", - "description": "Set to `true` to display the skeleton state", - "type": "boolean", - "value": "false", - "isFunction": false, - "isFunctionDeclaration": false, - "isRequired": false, - "constant": false, - "reactive": false - }, { "name": "light", "kind": "let", @@ -10134,22 +10122,6 @@ "events": [ { "type": "dispatched", "name": "expand", "detail": "null" }, { "type": "dispatched", "name": "collapse", "detail": "null" }, - { "type": "forwarded", "name": "click", "element": "SearchSkeleton" }, - { - "type": "forwarded", - "name": "mouseover", - "element": "SearchSkeleton" - }, - { - "type": "forwarded", - "name": "mouseenter", - "element": "SearchSkeleton" - }, - { - "type": "forwarded", - "name": "mouseleave", - "element": "SearchSkeleton" - }, { "type": "forwarded", "name": "change", "element": "input" }, { "type": "forwarded", "name": "input", "element": "input" }, { "type": "forwarded", "name": "focus", "element": "input" }, @@ -10157,6 +10129,7 @@ { "type": "forwarded", "name": "keydown", "element": "input" }, { "type": "forwarded", "name": "keyup", "element": "input" }, { "type": "forwarded", "name": "paste", "element": "input" }, + { "type": "forwarded", "name": "click", "element": "button" }, { "type": "dispatched", "name": "clear", "detail": "null" } ], "typedefs": [], @@ -10181,14 +10154,8 @@ ], "moduleExports": [], "slots": [], - "events": [ - { "type": "forwarded", "name": "click", "element": "div" }, - { "type": "forwarded", "name": "mouseover", "element": "div" }, - { "type": "forwarded", "name": "mouseenter", "element": "div" }, - { "type": "forwarded", "name": "mouseleave", "element": "div" } - ], - "typedefs": [], - "rest_props": { "type": "Element", "name": "div" } + "events": [], + "typedefs": [] }, { "moduleName": "Section", diff --git a/src/Search/Search.svelte b/src/Search/Search.svelte index 28f284ea..c2a75f6c 100644 --- a/src/Search/Search.svelte +++ b/src/Search/Search.svelte @@ -1,4 +1,6 @@ -{#if skeleton} - -{:else} -