diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index ded55101..b9a47691 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -2804,9 +2804,9 @@ None. ### Events -| Event name | Type | Detail | -| :------------ | :--------- | :---------------- | -| click:outside | dispatched | null | +| Event name | Type | Detail | +| :------------ | :--------- | :------------------------------------ | +| click:outside | dispatched | { target: HTMLElement; } | ## `ProgressBar` diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index afda19f9..73fbdc6f 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -8908,7 +8908,11 @@ "moduleExports": [], "slots": [{ "name": "__default__", "default": true, "slot_props": "{}" }], "events": [ - { "type": "dispatched", "name": "click:outside", "detail": "null" } + { + "type": "dispatched", + "name": "click:outside", + "detail": "{ target: HTMLElement; }" + } ], "typedefs": [], "rest_props": { "type": "Element", "name": "div" } diff --git a/src/Popover/Popover.svelte b/src/Popover/Popover.svelte index c26bc525..f76949e3 100644 --- a/src/Popover/Popover.svelte +++ b/src/Popover/Popover.svelte @@ -1,4 +1,8 @@