diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 45441651..0d2f6df6 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -401,6 +401,7 @@ export type BreakpointValue = 320 | 672 | 1056 | 1312 | 1584; | Event name | Type | Detail | | :--------- | :-------- | :----- | | click | forwarded | -- | +| focus | forwarded | -- | | mouseover | forwarded | -- | | mouseenter | forwarded | -- | | mouseleave | forwarded | -- | @@ -441,6 +442,7 @@ None. | Event name | Type | Detail | | :--------- | :-------- | :----- | | click | forwarded | -- | +| focus | forwarded | -- | | mouseover | forwarded | -- | | mouseenter | forwarded | -- | | mouseleave | forwarded | -- | diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 60178302..d1be949d 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -637,6 +637,7 @@ ], "events": [ { "type": "forwarded", "name": "click", "element": "ButtonSkeleton" }, + { "type": "forwarded", "name": "focus", "element": "ButtonSkeleton" }, { "type": "forwarded", "name": "mouseover", @@ -715,6 +716,7 @@ "slots": [], "events": [ { "type": "forwarded", "name": "click", "element": "a" }, + { "type": "forwarded", "name": "focus", "element": "a" }, { "type": "forwarded", "name": "mouseover", "element": "a" }, { "type": "forwarded", "name": "mouseenter", "element": "a" }, { "type": "forwarded", "name": "mouseleave", "element": "a" } diff --git a/types/Button/Button.svelte.d.ts b/types/Button/Button.svelte.d.ts index ced3d8a1..79e92859 100644 --- a/types/Button/Button.svelte.d.ts +++ b/types/Button/Button.svelte.d.ts @@ -114,6 +114,7 @@ export default class Button extends SvelteComponentTyped< ButtonProps, { click: WindowEventMap["click"]; + focus: WindowEventMap["focus"]; mouseover: WindowEventMap["mouseover"]; mouseenter: WindowEventMap["mouseenter"]; mouseleave: WindowEventMap["mouseleave"]; diff --git a/types/Button/ButtonSkeleton.svelte.d.ts b/types/Button/ButtonSkeleton.svelte.d.ts index 02e2546b..498a1e48 100644 --- a/types/Button/ButtonSkeleton.svelte.d.ts +++ b/types/Button/ButtonSkeleton.svelte.d.ts @@ -23,6 +23,7 @@ export default class ButtonSkeleton extends SvelteComponentTyped< ButtonSkeletonProps, { click: WindowEventMap["click"]; + focus: WindowEventMap["focus"]; mouseover: WindowEventMap["mouseover"]; mouseenter: WindowEventMap["mouseenter"]; mouseleave: WindowEventMap["mouseleave"];