intelliwaketssveltekitv25 1.0.95 → 1.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/DropDown.svelte
CHANGED
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
import { DownloadURL } from './Functions'
|
|
40
40
|
|
|
41
41
|
let {
|
|
42
|
+
id,
|
|
42
43
|
show = $bindable(false),
|
|
43
44
|
position = null,
|
|
44
45
|
ddActions = [],
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
dataColor,
|
|
62
63
|
clientWidth = $bindable()
|
|
63
64
|
}: {
|
|
65
|
+
id?: string
|
|
64
66
|
show?: boolean
|
|
65
67
|
position?: TDropDownControlPosition
|
|
66
68
|
ddActions?: IDDAction[]
|
|
@@ -282,6 +284,7 @@
|
|
|
282
284
|
|
|
283
285
|
{#if !!visibleDDActions?.length || !!actions}
|
|
284
286
|
<DropDownControl bind:show
|
|
287
|
+
{id}
|
|
285
288
|
{position}
|
|
286
289
|
{fullBlock}
|
|
287
290
|
{controlClass}
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
import type { FocusEventHandler, KeyboardEventHandler, MouseEventHandler } from 'svelte/elements'
|
|
12
12
|
|
|
13
13
|
let {
|
|
14
|
+
id,
|
|
14
15
|
show = $bindable(false),
|
|
15
16
|
onblur,
|
|
16
17
|
onkeydown,
|
|
@@ -41,6 +42,7 @@
|
|
|
41
42
|
dataColor,
|
|
42
43
|
clientWidth = $bindable()
|
|
43
44
|
}: {
|
|
45
|
+
id?: string
|
|
44
46
|
show?: boolean
|
|
45
47
|
onblur?: FocusEventHandler<HTMLDivElement>
|
|
46
48
|
onkeydown?: KeyboardEventHandler<HTMLDivElement>
|
|
@@ -307,6 +309,7 @@
|
|
|
307
309
|
{onclick}>
|
|
308
310
|
<div class={useToggleClass}
|
|
309
311
|
role="button"
|
|
312
|
+
{id}
|
|
310
313
|
tabindex={index}
|
|
311
314
|
bind:this={divToggle}
|
|
312
315
|
aria-expanded={show}
|
|
@@ -2,6 +2,7 @@ import { type Snippet } from 'svelte';
|
|
|
2
2
|
import type { TDropDownControlDrop, TDropDownControlPosition } from './Definitions';
|
|
3
3
|
import type { FocusEventHandler, KeyboardEventHandler, MouseEventHandler } from 'svelte/elements';
|
|
4
4
|
type $$ComponentProps = {
|
|
5
|
+
id?: string;
|
|
5
6
|
show?: boolean;
|
|
6
7
|
onblur?: FocusEventHandler<HTMLDivElement>;
|
|
7
8
|
onkeydown?: KeyboardEventHandler<HTMLDivElement>;
|