@geoffcox/sterling-svelte 0.0.22 → 0.0.23
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/Button.svelte +7 -0
- package/Button.svelte.d.ts +7 -0
- package/Checkbox.svelte +16 -18
- package/Checkbox.svelte.d.ts +6 -1
- package/Dropdown.svelte +6 -0
- package/Dropdown.svelte.d.ts +6 -0
- package/Field.svelte +6 -0
- package/Field.svelte.d.ts +6 -0
- package/Input.svelte +7 -0
- package/Input.svelte.d.ts +7 -0
- package/Label.svelte +6 -0
- package/Label.svelte.d.ts +6 -0
- package/Link.svelte +6 -0
- package/Link.svelte.d.ts +6 -0
- package/List.svelte +6 -0
- package/List.svelte.d.ts +6 -0
- package/ListItem.svelte +6 -0
- package/ListItem.svelte.d.ts +6 -0
- package/Menu.svelte +7 -1
- package/Menu.svelte.d.ts +6 -0
- package/MenuBar.svelte +6 -0
- package/MenuBar.svelte.d.ts +6 -0
- package/MenuButton.svelte +6 -0
- package/MenuButton.svelte.d.ts +6 -0
- package/MenuItem.svelte +6 -0
- package/MenuItem.svelte.d.ts +6 -0
- package/MenuSeparator.svelte +6 -0
- package/MenuSeparator.svelte.d.ts +12 -0
- package/Progress.svelte +6 -0
- package/Progress.svelte.d.ts +6 -0
- package/Radio.svelte +16 -18
- package/Radio.svelte.d.ts +6 -1
- package/Select.svelte +6 -0
- package/Select.svelte.d.ts +6 -0
- package/Slider.svelte +6 -0
- package/Slider.svelte.d.ts +6 -0
- package/Switch.svelte +6 -1
- package/Switch.svelte.d.ts +6 -1
- package/Tab.svelte +6 -0
- package/Tab.svelte.d.ts +6 -0
- package/TabList.svelte +6 -0
- package/TabList.svelte.d.ts +6 -0
- package/TextArea.svelte +7 -0
- package/TextArea.svelte.d.ts +7 -0
- package/Tooltip.svelte +0 -1
- package/Tree.svelte +6 -0
- package/Tree.svelte.d.ts +6 -0
- package/TreeChevron.svelte +6 -0
- package/TreeChevron.svelte.d.ts +6 -0
- package/TreeItem.svelte +6 -0
- package/TreeItem.svelte.d.ts +6 -0
- package/TreeItemDisplay.svelte +6 -0
- package/TreeItemDisplay.svelte.d.ts +6 -0
- package/package.json +3 -3
package/Button.svelte
CHANGED
package/Button.svelte.d.ts
CHANGED
|
@@ -11,6 +11,13 @@ declare const __propDef: {
|
|
|
11
11
|
events: {
|
|
12
12
|
blur: FocusEvent;
|
|
13
13
|
click: MouseEvent;
|
|
14
|
+
drag: DragEvent;
|
|
15
|
+
dragend: DragEvent;
|
|
16
|
+
dragenter: DragEvent;
|
|
17
|
+
dragleave: DragEvent;
|
|
18
|
+
dragover: DragEvent;
|
|
19
|
+
dragstart: DragEvent;
|
|
20
|
+
drop: DragEvent;
|
|
14
21
|
dblclick: MouseEvent;
|
|
15
22
|
focus: FocusEvent;
|
|
16
23
|
focusin: FocusEvent;
|
package/Checkbox.svelte
CHANGED
|
@@ -35,6 +35,12 @@ export const focus = (options) => {
|
|
|
35
35
|
on:click
|
|
36
36
|
on:change
|
|
37
37
|
on:dblclick
|
|
38
|
+
on:dragend
|
|
39
|
+
on:dragenter
|
|
40
|
+
on:dragleave
|
|
41
|
+
on:dragover
|
|
42
|
+
on:dragstart
|
|
43
|
+
on:drop
|
|
38
44
|
on:focus
|
|
39
45
|
on:focusin
|
|
40
46
|
on:focusout
|
|
@@ -49,7 +55,6 @@ export const focus = (options) => {
|
|
|
49
55
|
on:mouseover
|
|
50
56
|
on:mouseout
|
|
51
57
|
on:mouseup
|
|
52
|
-
on:toggle
|
|
53
58
|
on:wheel
|
|
54
59
|
bind:checked
|
|
55
60
|
{...$$restProps}
|
|
@@ -57,27 +62,24 @@ export const focus = (options) => {
|
|
|
57
62
|
<div class="indicator" />
|
|
58
63
|
</div>
|
|
59
64
|
{#if $$slots.default}
|
|
60
|
-
<
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
</Label>
|
|
66
|
-
</div>
|
|
65
|
+
<Label {disabled} for={id}>
|
|
66
|
+
<slot {checked} {disabled} inputId={id} value={$$restProps.value}>
|
|
67
|
+
{$$restProps.value}
|
|
68
|
+
</slot>
|
|
69
|
+
</Label>
|
|
67
70
|
{/if}
|
|
68
71
|
</div>
|
|
69
72
|
|
|
70
73
|
<style>
|
|
71
74
|
.sterling-checkbox {
|
|
72
|
-
|
|
73
|
-
align-
|
|
74
|
-
align-items: stretch;
|
|
75
|
+
align-content: center;
|
|
76
|
+
align-items: center;
|
|
75
77
|
box-sizing: border-box;
|
|
78
|
+
display: inline-flex;
|
|
76
79
|
font: inherit;
|
|
77
|
-
|
|
80
|
+
margin: 0;
|
|
78
81
|
outline: none;
|
|
79
82
|
padding: 0;
|
|
80
|
-
margin: 0;
|
|
81
83
|
}
|
|
82
84
|
|
|
83
85
|
/*
|
|
@@ -91,6 +93,7 @@ export const focus = (options) => {
|
|
|
91
93
|
position: relative;
|
|
92
94
|
display: grid;
|
|
93
95
|
align-items: center;
|
|
96
|
+
margin-right: 0.25em;
|
|
94
97
|
}
|
|
95
98
|
|
|
96
99
|
/*
|
|
@@ -166,11 +169,6 @@ export const focus = (options) => {
|
|
|
166
169
|
border-color: var(--stsv-Common__color--disabled);
|
|
167
170
|
}
|
|
168
171
|
|
|
169
|
-
.label {
|
|
170
|
-
user-select: none;
|
|
171
|
-
margin-top: 0.25em;
|
|
172
|
-
}
|
|
173
|
-
|
|
174
172
|
@media (prefers-reduced-motion) {
|
|
175
173
|
.indicator,
|
|
176
174
|
input:checked + .indicator::after {
|
package/Checkbox.svelte.d.ts
CHANGED
|
@@ -14,6 +14,12 @@ declare const __propDef: {
|
|
|
14
14
|
click: MouseEvent;
|
|
15
15
|
change: Event;
|
|
16
16
|
dblclick: MouseEvent;
|
|
17
|
+
dragend: DragEvent;
|
|
18
|
+
dragenter: DragEvent;
|
|
19
|
+
dragleave: DragEvent;
|
|
20
|
+
dragover: DragEvent;
|
|
21
|
+
dragstart: DragEvent;
|
|
22
|
+
drop: DragEvent;
|
|
17
23
|
focus: FocusEvent;
|
|
18
24
|
focusin: FocusEvent;
|
|
19
25
|
focusout: FocusEvent;
|
|
@@ -28,7 +34,6 @@ declare const __propDef: {
|
|
|
28
34
|
mouseover: MouseEvent;
|
|
29
35
|
mouseout: MouseEvent;
|
|
30
36
|
mouseup: MouseEvent;
|
|
31
|
-
toggle: Event;
|
|
32
37
|
wheel: WheelEvent;
|
|
33
38
|
} & {
|
|
34
39
|
[evt: string]: CustomEvent<any>;
|
package/Dropdown.svelte
CHANGED
package/Dropdown.svelte.d.ts
CHANGED
|
@@ -16,6 +16,12 @@ declare const __propDef: {
|
|
|
16
16
|
copy: ClipboardEvent;
|
|
17
17
|
cut: ClipboardEvent;
|
|
18
18
|
dblclick: MouseEvent;
|
|
19
|
+
dragend: DragEvent;
|
|
20
|
+
dragenter: DragEvent;
|
|
21
|
+
dragleave: DragEvent;
|
|
22
|
+
dragover: DragEvent;
|
|
23
|
+
dragstart: DragEvent;
|
|
24
|
+
drop: DragEvent;
|
|
19
25
|
focus: FocusEvent;
|
|
20
26
|
focusin: FocusEvent;
|
|
21
27
|
focusout: FocusEvent;
|
package/Field.svelte
CHANGED
package/Field.svelte.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ declare const __propDef: {
|
|
|
19
19
|
copy: ClipboardEvent;
|
|
20
20
|
cut: ClipboardEvent;
|
|
21
21
|
dblclick: MouseEvent;
|
|
22
|
+
dragend: DragEvent;
|
|
23
|
+
dragenter: DragEvent;
|
|
24
|
+
dragleave: DragEvent;
|
|
25
|
+
dragover: DragEvent;
|
|
26
|
+
dragstart: DragEvent;
|
|
27
|
+
drop: DragEvent;
|
|
22
28
|
focus: FocusEvent;
|
|
23
29
|
focusin: FocusEvent;
|
|
24
30
|
focusout: FocusEvent;
|
package/Input.svelte
CHANGED
|
@@ -46,6 +46,7 @@ export const setRangeText = (replacement, start, end, selectionMode) => {
|
|
|
46
46
|
{disabled}
|
|
47
47
|
{id}
|
|
48
48
|
bind:value
|
|
49
|
+
on:beforeinput
|
|
49
50
|
on:blur
|
|
50
51
|
on:click
|
|
51
52
|
on:change
|
|
@@ -53,6 +54,12 @@ export const setRangeText = (replacement, start, end, selectionMode) => {
|
|
|
53
54
|
on:cut
|
|
54
55
|
on:paste
|
|
55
56
|
on:dblclick
|
|
57
|
+
on:dragend
|
|
58
|
+
on:dragenter
|
|
59
|
+
on:dragleave
|
|
60
|
+
on:dragover
|
|
61
|
+
on:dragstart
|
|
62
|
+
on:drop
|
|
56
63
|
on:focus
|
|
57
64
|
on:focusin
|
|
58
65
|
on:focusout
|
package/Input.svelte.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ declare const __propDef: {
|
|
|
14
14
|
setRangeText?: ((replacement: string, start?: number, end?: number, selectionMode?: SelectionMode) => void) | undefined;
|
|
15
15
|
};
|
|
16
16
|
events: {
|
|
17
|
+
beforeinput: InputEvent;
|
|
17
18
|
blur: FocusEvent;
|
|
18
19
|
click: MouseEvent;
|
|
19
20
|
change: Event;
|
|
@@ -21,6 +22,12 @@ declare const __propDef: {
|
|
|
21
22
|
cut: ClipboardEvent;
|
|
22
23
|
paste: ClipboardEvent;
|
|
23
24
|
dblclick: MouseEvent;
|
|
25
|
+
dragend: DragEvent;
|
|
26
|
+
dragenter: DragEvent;
|
|
27
|
+
dragleave: DragEvent;
|
|
28
|
+
dragover: DragEvent;
|
|
29
|
+
dragstart: DragEvent;
|
|
30
|
+
drop: DragEvent;
|
|
24
31
|
focus: FocusEvent;
|
|
25
32
|
focusin: FocusEvent;
|
|
26
33
|
focusout: FocusEvent;
|
package/Label.svelte
CHANGED
package/Label.svelte.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ declare const __propDef: {
|
|
|
13
13
|
copy: ClipboardEvent;
|
|
14
14
|
cut: ClipboardEvent;
|
|
15
15
|
dblclick: MouseEvent;
|
|
16
|
+
dragend: DragEvent;
|
|
17
|
+
dragenter: DragEvent;
|
|
18
|
+
dragleave: DragEvent;
|
|
19
|
+
dragover: DragEvent;
|
|
20
|
+
dragstart: DragEvent;
|
|
21
|
+
drop: DragEvent;
|
|
16
22
|
focus: FocusEvent;
|
|
17
23
|
focusin: FocusEvent;
|
|
18
24
|
focusout: FocusEvent;
|
package/Link.svelte
CHANGED
package/Link.svelte.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ declare const __propDef: {
|
|
|
13
13
|
blur: FocusEvent;
|
|
14
14
|
click: MouseEvent;
|
|
15
15
|
dblclick: MouseEvent;
|
|
16
|
+
dragend: DragEvent;
|
|
17
|
+
dragenter: DragEvent;
|
|
18
|
+
dragleave: DragEvent;
|
|
19
|
+
dragover: DragEvent;
|
|
20
|
+
dragstart: DragEvent;
|
|
21
|
+
drop: DragEvent;
|
|
16
22
|
focus: FocusEvent;
|
|
17
23
|
focusin: FocusEvent;
|
|
18
24
|
focusout: FocusEvent;
|
package/List.svelte
CHANGED
package/List.svelte.d.ts
CHANGED
|
@@ -21,6 +21,12 @@ declare const __propDef: {
|
|
|
21
21
|
copy: ClipboardEvent;
|
|
22
22
|
cut: ClipboardEvent;
|
|
23
23
|
dblclick: MouseEvent;
|
|
24
|
+
dragend: DragEvent;
|
|
25
|
+
dragenter: DragEvent;
|
|
26
|
+
dragleave: DragEvent;
|
|
27
|
+
dragover: DragEvent;
|
|
28
|
+
dragstart: DragEvent;
|
|
29
|
+
drop: DragEvent;
|
|
24
30
|
focus: FocusEvent;
|
|
25
31
|
focusin: FocusEvent;
|
|
26
32
|
focusout: FocusEvent;
|
package/ListItem.svelte
CHANGED
package/ListItem.svelte.d.ts
CHANGED
|
@@ -12,6 +12,12 @@ declare const __propDef: {
|
|
|
12
12
|
blur: FocusEvent;
|
|
13
13
|
click: MouseEvent;
|
|
14
14
|
dblclick: MouseEvent;
|
|
15
|
+
dragend: DragEvent;
|
|
16
|
+
dragenter: DragEvent;
|
|
17
|
+
dragleave: DragEvent;
|
|
18
|
+
dragover: DragEvent;
|
|
19
|
+
dragstart: DragEvent;
|
|
20
|
+
drop: DragEvent;
|
|
15
21
|
focus: FocusEvent;
|
|
16
22
|
focusin: FocusEvent;
|
|
17
23
|
focusout: FocusEvent;
|
package/Menu.svelte
CHANGED
|
@@ -80,6 +80,12 @@ onMount(() => {
|
|
|
80
80
|
on:copy
|
|
81
81
|
on:cut
|
|
82
82
|
on:dblclick
|
|
83
|
+
on:dragend
|
|
84
|
+
on:dragenter
|
|
85
|
+
on:dragleave
|
|
86
|
+
on:dragover
|
|
87
|
+
on:dragstart
|
|
88
|
+
on:drop
|
|
83
89
|
on:focus
|
|
84
90
|
on:focusin
|
|
85
91
|
on:focusout
|
|
@@ -127,7 +133,7 @@ onMount(() => {
|
|
|
127
133
|
height: fit-content;
|
|
128
134
|
left: 0;
|
|
129
135
|
max-height: calc(50vh);
|
|
130
|
-
overflow:
|
|
136
|
+
overflow: auto;
|
|
131
137
|
overscroll-behavior: contain;
|
|
132
138
|
padding: 0.25em;
|
|
133
139
|
position: absolute;
|
package/Menu.svelte.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ declare const __propDef: {
|
|
|
13
13
|
copy: ClipboardEvent;
|
|
14
14
|
cut: ClipboardEvent;
|
|
15
15
|
dblclick: MouseEvent;
|
|
16
|
+
dragend: DragEvent;
|
|
17
|
+
dragenter: DragEvent;
|
|
18
|
+
dragleave: DragEvent;
|
|
19
|
+
dragover: DragEvent;
|
|
20
|
+
dragstart: DragEvent;
|
|
21
|
+
drop: DragEvent;
|
|
16
22
|
focus: FocusEvent;
|
|
17
23
|
focusin: FocusEvent;
|
|
18
24
|
focusout: FocusEvent;
|
package/MenuBar.svelte
CHANGED
package/MenuBar.svelte.d.ts
CHANGED
|
@@ -11,6 +11,12 @@ declare const __propDef: {
|
|
|
11
11
|
copy: ClipboardEvent;
|
|
12
12
|
cut: ClipboardEvent;
|
|
13
13
|
dblclick: MouseEvent;
|
|
14
|
+
dragend: DragEvent;
|
|
15
|
+
dragenter: DragEvent;
|
|
16
|
+
dragleave: DragEvent;
|
|
17
|
+
dragover: DragEvent;
|
|
18
|
+
dragstart: DragEvent;
|
|
19
|
+
drop: DragEvent;
|
|
14
20
|
focus: FocusEvent;
|
|
15
21
|
focusin: FocusEvent;
|
|
16
22
|
focusout: FocusEvent;
|
package/MenuButton.svelte
CHANGED
package/MenuButton.svelte.d.ts
CHANGED
|
@@ -14,6 +14,12 @@ declare const __propDef: {
|
|
|
14
14
|
blur: FocusEvent;
|
|
15
15
|
click: MouseEvent;
|
|
16
16
|
dblclick: MouseEvent;
|
|
17
|
+
dragend: DragEvent;
|
|
18
|
+
dragenter: DragEvent;
|
|
19
|
+
dragleave: DragEvent;
|
|
20
|
+
dragover: DragEvent;
|
|
21
|
+
dragstart: DragEvent;
|
|
22
|
+
drop: DragEvent;
|
|
17
23
|
focus: FocusEvent;
|
|
18
24
|
focusin: FocusEvent;
|
|
19
25
|
focusout: FocusEvent;
|
package/MenuItem.svelte
CHANGED
package/MenuItem.svelte.d.ts
CHANGED
|
@@ -17,6 +17,12 @@ declare const __propDef: {
|
|
|
17
17
|
blur: FocusEvent;
|
|
18
18
|
click: MouseEvent;
|
|
19
19
|
dblclick: MouseEvent;
|
|
20
|
+
dragend: DragEvent;
|
|
21
|
+
dragenter: DragEvent;
|
|
22
|
+
dragleave: DragEvent;
|
|
23
|
+
dragover: DragEvent;
|
|
24
|
+
dragstart: DragEvent;
|
|
25
|
+
drop: DragEvent;
|
|
20
26
|
focus: FocusEvent;
|
|
21
27
|
focusin: FocusEvent;
|
|
22
28
|
focusout: FocusEvent;
|
package/MenuSeparator.svelte
CHANGED
|
@@ -8,6 +8,12 @@ export default class MenuSeparator extends SvelteComponentTyped<{
|
|
|
8
8
|
blur: FocusEvent;
|
|
9
9
|
click: MouseEvent;
|
|
10
10
|
dblclick: MouseEvent;
|
|
11
|
+
dragend: DragEvent;
|
|
12
|
+
dragenter: DragEvent;
|
|
13
|
+
dragleave: DragEvent;
|
|
14
|
+
dragover: DragEvent;
|
|
15
|
+
dragstart: DragEvent;
|
|
16
|
+
drop: DragEvent;
|
|
11
17
|
focus: FocusEvent;
|
|
12
18
|
focusin: FocusEvent;
|
|
13
19
|
focusout: FocusEvent;
|
|
@@ -46,6 +52,12 @@ declare const __propDef: {
|
|
|
46
52
|
blur: FocusEvent;
|
|
47
53
|
click: MouseEvent;
|
|
48
54
|
dblclick: MouseEvent;
|
|
55
|
+
dragend: DragEvent;
|
|
56
|
+
dragenter: DragEvent;
|
|
57
|
+
dragleave: DragEvent;
|
|
58
|
+
dragover: DragEvent;
|
|
59
|
+
dragstart: DragEvent;
|
|
60
|
+
drop: DragEvent;
|
|
49
61
|
focus: FocusEvent;
|
|
50
62
|
focusin: FocusEvent;
|
|
51
63
|
focusout: FocusEvent;
|
package/Progress.svelte
CHANGED
package/Progress.svelte.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ declare const __propDef: {
|
|
|
13
13
|
blur: FocusEvent;
|
|
14
14
|
click: MouseEvent;
|
|
15
15
|
dblclick: MouseEvent;
|
|
16
|
+
dragend: DragEvent;
|
|
17
|
+
dragenter: DragEvent;
|
|
18
|
+
dragleave: DragEvent;
|
|
19
|
+
dragover: DragEvent;
|
|
20
|
+
dragstart: DragEvent;
|
|
21
|
+
drop: DragEvent;
|
|
16
22
|
focus: FocusEvent;
|
|
17
23
|
focusin: FocusEvent;
|
|
18
24
|
focusout: FocusEvent;
|
package/Radio.svelte
CHANGED
|
@@ -56,6 +56,12 @@ onMount(() => {
|
|
|
56
56
|
on:change
|
|
57
57
|
on:change={onChange}
|
|
58
58
|
on:dblclick
|
|
59
|
+
on:dragend
|
|
60
|
+
on:dragenter
|
|
61
|
+
on:dragleave
|
|
62
|
+
on:dragover
|
|
63
|
+
on:dragstart
|
|
64
|
+
on:drop
|
|
59
65
|
on:focus
|
|
60
66
|
on:focusin
|
|
61
67
|
on:focusout
|
|
@@ -70,34 +76,30 @@ onMount(() => {
|
|
|
70
76
|
on:mouseover
|
|
71
77
|
on:mouseout
|
|
72
78
|
on:mouseup
|
|
73
|
-
on:toggle
|
|
74
79
|
on:wheel
|
|
75
80
|
{...$$restProps}
|
|
76
81
|
/>
|
|
77
82
|
<div class="indicator" />
|
|
78
83
|
</div>
|
|
79
84
|
{#if $$slots.default}
|
|
80
|
-
<
|
|
81
|
-
<
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
</Label>
|
|
86
|
-
</div>
|
|
85
|
+
<Label {disabled} for={id}>
|
|
86
|
+
<slot {checked} {disabled} {group} inputId={id} value={$$restProps.value}>
|
|
87
|
+
{$$restProps.value}
|
|
88
|
+
</slot>
|
|
89
|
+
</Label>
|
|
87
90
|
{/if}
|
|
88
91
|
</div>
|
|
89
92
|
|
|
90
93
|
<style>
|
|
91
94
|
.sterling-radio {
|
|
92
|
-
|
|
93
|
-
align-
|
|
94
|
-
align-items: stretch;
|
|
95
|
+
align-content: center;
|
|
96
|
+
align-items: center;
|
|
95
97
|
box-sizing: border-box;
|
|
98
|
+
display: inline-flex;
|
|
96
99
|
font: inherit;
|
|
97
|
-
|
|
100
|
+
margin: 0;
|
|
98
101
|
outline: none;
|
|
99
102
|
padding: 0;
|
|
100
|
-
margin: 0;
|
|
101
103
|
}
|
|
102
104
|
/*
|
|
103
105
|
The container
|
|
@@ -111,6 +113,7 @@ onMount(() => {
|
|
|
111
113
|
font: inherit;
|
|
112
114
|
display: flex;
|
|
113
115
|
align-items: center;
|
|
116
|
+
margin-right: 0.25em;
|
|
114
117
|
}
|
|
115
118
|
|
|
116
119
|
/*
|
|
@@ -184,11 +187,6 @@ onMount(() => {
|
|
|
184
187
|
background-color: var(--stsv-Common__color--disabled);
|
|
185
188
|
}
|
|
186
189
|
|
|
187
|
-
.label {
|
|
188
|
-
user-select: none;
|
|
189
|
-
margin-top: 0.25em;
|
|
190
|
-
}
|
|
191
|
-
|
|
192
190
|
@media (prefers-reduced-motion) {
|
|
193
191
|
.indicator,
|
|
194
192
|
.indicator::after {
|
package/Radio.svelte.d.ts
CHANGED
|
@@ -15,6 +15,12 @@ declare const __propDef: {
|
|
|
15
15
|
click: MouseEvent;
|
|
16
16
|
change: Event;
|
|
17
17
|
dblclick: MouseEvent;
|
|
18
|
+
dragend: DragEvent;
|
|
19
|
+
dragenter: DragEvent;
|
|
20
|
+
dragleave: DragEvent;
|
|
21
|
+
dragover: DragEvent;
|
|
22
|
+
dragstart: DragEvent;
|
|
23
|
+
drop: DragEvent;
|
|
18
24
|
focus: FocusEvent;
|
|
19
25
|
focusin: FocusEvent;
|
|
20
26
|
focusout: FocusEvent;
|
|
@@ -29,7 +35,6 @@ declare const __propDef: {
|
|
|
29
35
|
mouseover: MouseEvent;
|
|
30
36
|
mouseout: MouseEvent;
|
|
31
37
|
mouseup: MouseEvent;
|
|
32
|
-
toggle: Event;
|
|
33
38
|
wheel: WheelEvent;
|
|
34
39
|
} & {
|
|
35
40
|
[evt: string]: CustomEvent<any>;
|
package/Select.svelte
CHANGED
package/Select.svelte.d.ts
CHANGED
|
@@ -17,6 +17,12 @@ declare const __propDef: {
|
|
|
17
17
|
copy: ClipboardEvent;
|
|
18
18
|
cut: ClipboardEvent;
|
|
19
19
|
dblclick: MouseEvent;
|
|
20
|
+
dragend: DragEvent;
|
|
21
|
+
dragenter: DragEvent;
|
|
22
|
+
dragleave: DragEvent;
|
|
23
|
+
dragover: DragEvent;
|
|
24
|
+
dragstart: DragEvent;
|
|
25
|
+
drop: DragEvent;
|
|
20
26
|
focus: FocusEvent;
|
|
21
27
|
focusin: FocusEvent;
|
|
22
28
|
focusout: FocusEvent;
|
package/Slider.svelte
CHANGED
|
@@ -146,6 +146,12 @@ Slider lets the user chose a value within a min/max range by dragging a thumb bu
|
|
|
146
146
|
on:blur
|
|
147
147
|
on:click
|
|
148
148
|
on:dblclick
|
|
149
|
+
on:dragend
|
|
150
|
+
on:dragenter
|
|
151
|
+
on:dragleave
|
|
152
|
+
on:dragover
|
|
153
|
+
on:dragstart
|
|
154
|
+
on:drop
|
|
149
155
|
on:focus
|
|
150
156
|
on:focusin
|
|
151
157
|
on:focusout
|
package/Slider.svelte.d.ts
CHANGED
|
@@ -18,6 +18,12 @@ declare const __propDef: {
|
|
|
18
18
|
blur: FocusEvent;
|
|
19
19
|
click: MouseEvent;
|
|
20
20
|
dblclick: MouseEvent;
|
|
21
|
+
dragend: DragEvent;
|
|
22
|
+
dragenter: DragEvent;
|
|
23
|
+
dragleave: DragEvent;
|
|
24
|
+
dragover: DragEvent;
|
|
25
|
+
dragstart: DragEvent;
|
|
26
|
+
drop: DragEvent;
|
|
21
27
|
focus: FocusEvent;
|
|
22
28
|
focusin: FocusEvent;
|
|
23
29
|
focusout: FocusEvent;
|
package/Switch.svelte
CHANGED
|
@@ -49,6 +49,12 @@ export const focus = (options) => {
|
|
|
49
49
|
on:click
|
|
50
50
|
on:change
|
|
51
51
|
on:dblclick
|
|
52
|
+
on:dragend
|
|
53
|
+
on:dragenter
|
|
54
|
+
on:dragleave
|
|
55
|
+
on:dragover
|
|
56
|
+
on:dragstart
|
|
57
|
+
on:drop
|
|
52
58
|
on:focus
|
|
53
59
|
on:focusin
|
|
54
60
|
on:focusout
|
|
@@ -63,7 +69,6 @@ export const focus = (options) => {
|
|
|
63
69
|
on:mouseover
|
|
64
70
|
on:mouseout
|
|
65
71
|
on:mouseup
|
|
66
|
-
on:toggle
|
|
67
72
|
on:wheel
|
|
68
73
|
{...$$restProps}
|
|
69
74
|
/>
|
package/Switch.svelte.d.ts
CHANGED
|
@@ -16,6 +16,12 @@ declare const __propDef: {
|
|
|
16
16
|
click: MouseEvent;
|
|
17
17
|
change: Event;
|
|
18
18
|
dblclick: MouseEvent;
|
|
19
|
+
dragend: DragEvent;
|
|
20
|
+
dragenter: DragEvent;
|
|
21
|
+
dragleave: DragEvent;
|
|
22
|
+
dragover: DragEvent;
|
|
23
|
+
dragstart: DragEvent;
|
|
24
|
+
drop: DragEvent;
|
|
19
25
|
focus: FocusEvent;
|
|
20
26
|
focusin: FocusEvent;
|
|
21
27
|
focusout: FocusEvent;
|
|
@@ -30,7 +36,6 @@ declare const __propDef: {
|
|
|
30
36
|
mouseover: MouseEvent;
|
|
31
37
|
mouseout: MouseEvent;
|
|
32
38
|
mouseup: MouseEvent;
|
|
33
|
-
toggle: Event;
|
|
34
39
|
wheel: WheelEvent;
|
|
35
40
|
} & {
|
|
36
41
|
[evt: string]: CustomEvent<any>;
|
package/Tab.svelte
CHANGED
package/Tab.svelte.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ declare const __propDef: {
|
|
|
13
13
|
blur: FocusEvent;
|
|
14
14
|
click: MouseEvent;
|
|
15
15
|
dblclick: MouseEvent;
|
|
16
|
+
dragend: DragEvent;
|
|
17
|
+
dragenter: DragEvent;
|
|
18
|
+
dragleave: DragEvent;
|
|
19
|
+
dragover: DragEvent;
|
|
20
|
+
dragstart: DragEvent;
|
|
21
|
+
drop: DragEvent;
|
|
16
22
|
focus: FocusEvent;
|
|
17
23
|
focusin: FocusEvent;
|
|
18
24
|
focusout: FocusEvent;
|
package/TabList.svelte
CHANGED
package/TabList.svelte.d.ts
CHANGED
|
@@ -18,6 +18,12 @@ declare const __propDef: {
|
|
|
18
18
|
copy: ClipboardEvent;
|
|
19
19
|
cut: ClipboardEvent;
|
|
20
20
|
dblclick: MouseEvent;
|
|
21
|
+
dragend: DragEvent;
|
|
22
|
+
dragenter: DragEvent;
|
|
23
|
+
dragleave: DragEvent;
|
|
24
|
+
dragover: DragEvent;
|
|
25
|
+
dragstart: DragEvent;
|
|
26
|
+
drop: DragEvent;
|
|
21
27
|
focus: FocusEvent;
|
|
22
28
|
focusin: FocusEvent;
|
|
23
29
|
focusout: FocusEvent;
|
package/TextArea.svelte
CHANGED
|
@@ -43,6 +43,7 @@ export const setRangeText = (replacement, start, end, selectionMode) => {
|
|
|
43
43
|
rows="1"
|
|
44
44
|
style={`--TextArea__resize: ${resize};`}
|
|
45
45
|
bind:value
|
|
46
|
+
on:beforeinput
|
|
46
47
|
on:blur
|
|
47
48
|
on:click
|
|
48
49
|
on:change
|
|
@@ -50,6 +51,12 @@ export const setRangeText = (replacement, start, end, selectionMode) => {
|
|
|
50
51
|
on:cut
|
|
51
52
|
on:paste
|
|
52
53
|
on:dblclick
|
|
54
|
+
on:dragend
|
|
55
|
+
on:dragenter
|
|
56
|
+
on:dragleave
|
|
57
|
+
on:dragover
|
|
58
|
+
on:dragstart
|
|
59
|
+
on:drop
|
|
53
60
|
on:focus
|
|
54
61
|
on:focusin
|
|
55
62
|
on:focusout
|
package/TextArea.svelte.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ declare const __propDef: {
|
|
|
13
13
|
setRangeText?: ((replacement: string, start?: number, end?: number, selectionMode?: SelectionMode) => void) | undefined;
|
|
14
14
|
};
|
|
15
15
|
events: {
|
|
16
|
+
beforeinput: InputEvent;
|
|
16
17
|
blur: FocusEvent;
|
|
17
18
|
click: MouseEvent;
|
|
18
19
|
change: Event;
|
|
@@ -20,6 +21,12 @@ declare const __propDef: {
|
|
|
20
21
|
cut: ClipboardEvent;
|
|
21
22
|
paste: ClipboardEvent;
|
|
22
23
|
dblclick: MouseEvent;
|
|
24
|
+
dragend: DragEvent;
|
|
25
|
+
dragenter: DragEvent;
|
|
26
|
+
dragleave: DragEvent;
|
|
27
|
+
dragover: DragEvent;
|
|
28
|
+
dragstart: DragEvent;
|
|
29
|
+
drop: DragEvent;
|
|
23
30
|
focus: FocusEvent;
|
|
24
31
|
focusin: FocusEvent;
|
|
25
32
|
focusout: FocusEvent;
|
package/Tooltip.svelte
CHANGED
package/Tree.svelte
CHANGED
package/Tree.svelte.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ declare const __propDef: {
|
|
|
13
13
|
blur: FocusEvent;
|
|
14
14
|
click: MouseEvent;
|
|
15
15
|
dblclick: MouseEvent;
|
|
16
|
+
dragend: DragEvent;
|
|
17
|
+
dragenter: DragEvent;
|
|
18
|
+
dragleave: DragEvent;
|
|
19
|
+
dragover: DragEvent;
|
|
20
|
+
dragstart: DragEvent;
|
|
21
|
+
drop: DragEvent;
|
|
16
22
|
focus: FocusEvent;
|
|
17
23
|
focusin: FocusEvent;
|
|
18
24
|
focusout: FocusEvent;
|
package/TreeChevron.svelte
CHANGED
package/TreeChevron.svelte.d.ts
CHANGED
|
@@ -9,6 +9,12 @@ declare const __propDef: {
|
|
|
9
9
|
blur: FocusEvent;
|
|
10
10
|
click: MouseEvent;
|
|
11
11
|
dblclick: MouseEvent;
|
|
12
|
+
dragend: DragEvent;
|
|
13
|
+
dragenter: DragEvent;
|
|
14
|
+
dragleave: DragEvent;
|
|
15
|
+
dragover: DragEvent;
|
|
16
|
+
dragstart: DragEvent;
|
|
17
|
+
drop: DragEvent;
|
|
12
18
|
focus: FocusEvent;
|
|
13
19
|
focusin: FocusEvent;
|
|
14
20
|
focusout: FocusEvent;
|
package/TreeItem.svelte
CHANGED
package/TreeItem.svelte.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ declare const __propDef: {
|
|
|
19
19
|
blur: FocusEvent;
|
|
20
20
|
click: MouseEvent;
|
|
21
21
|
dblclick: MouseEvent;
|
|
22
|
+
dragend: DragEvent;
|
|
23
|
+
dragenter: DragEvent;
|
|
24
|
+
dragleave: DragEvent;
|
|
25
|
+
dragover: DragEvent;
|
|
26
|
+
dragstart: DragEvent;
|
|
27
|
+
drop: DragEvent;
|
|
22
28
|
focus: FocusEvent;
|
|
23
29
|
focusin: FocusEvent;
|
|
24
30
|
focusout: FocusEvent;
|
package/TreeItemDisplay.svelte
CHANGED
|
@@ -16,6 +16,12 @@ declare const __propDef: {
|
|
|
16
16
|
blur: FocusEvent;
|
|
17
17
|
click: MouseEvent;
|
|
18
18
|
dblclick: MouseEvent;
|
|
19
|
+
dragend: DragEvent;
|
|
20
|
+
dragenter: DragEvent;
|
|
21
|
+
dragleave: DragEvent;
|
|
22
|
+
dragover: DragEvent;
|
|
23
|
+
dragstart: DragEvent;
|
|
24
|
+
drop: DragEvent;
|
|
19
25
|
focus: FocusEvent;
|
|
20
26
|
focusin: FocusEvent;
|
|
21
27
|
focusout: FocusEvent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geoffcox/sterling-svelte",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"author": "Geoff Cox",
|
|
5
5
|
"description": "A modern, accessible, and lightweight component library for Svelte.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"javascript"
|
|
19
19
|
],
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@fontsource/
|
|
22
|
-
"@fontsource/
|
|
21
|
+
"@fontsource/open-sans": "^4.5.14",
|
|
22
|
+
"@fontsource/source-code-pro": "^4.5.14",
|
|
23
23
|
"@playwright/test": "^1.28.1",
|
|
24
24
|
"@sveltejs/adapter-auto": "^2.0.0",
|
|
25
25
|
"@sveltejs/adapter-static": "^1.0.0",
|