@websline/system-components 1.3.18 → 1.3.20
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/components/molecules/comboBox/ComboBox.svelte +3 -5
- package/dist/components/molecules/comboBox/Value.svelte +4 -1
- package/dist/components/molecules/comboBox/Value.svelte.d.ts +2 -2
- package/dist/components/molecules/tagSelector/TagSelector.svelte +3 -3
- package/dist/components/molecules/tagSelector/ValueList.svelte +3 -1
- package/dist/components/molecules/tagSelector/ValueList.svelte.d.ts +2 -2
- package/package.json +1 -1
|
@@ -187,18 +187,16 @@
|
|
|
187
187
|
"aria-haspopup": "listbox",
|
|
188
188
|
"aria-owns": localValues.id,
|
|
189
189
|
}
|
|
190
|
-
: {}}
|
|
191
|
-
{...rest}>
|
|
190
|
+
: {}}>
|
|
192
191
|
<Value
|
|
193
192
|
bind:inputRef
|
|
194
193
|
{localValues}
|
|
195
194
|
{name}
|
|
196
195
|
onKeydown={handleKey}
|
|
197
196
|
onOpenDropdown={openDropdown}
|
|
198
|
-
{open}
|
|
199
|
-
{options}
|
|
200
197
|
{placeholder}
|
|
201
|
-
bind:value={valueLabel}
|
|
198
|
+
bind:value={valueLabel}
|
|
199
|
+
{...rest} />
|
|
202
200
|
|
|
203
201
|
{#if open}
|
|
204
202
|
<Dropdown
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
onOpenDropdown,
|
|
10
10
|
placeholder,
|
|
11
11
|
value = $bindable(),
|
|
12
|
+
...rest
|
|
12
13
|
} = $props();
|
|
13
14
|
|
|
14
15
|
let styles = $derived(comboBoxVariants());
|
|
@@ -36,5 +37,7 @@
|
|
|
36
37
|
onkeydown={handleKeydown}
|
|
37
38
|
{placeholder}
|
|
38
39
|
readonly={localValues.disabled}
|
|
39
|
-
|
|
40
|
+
required={localValues.required}
|
|
41
|
+
role="searchbox"
|
|
42
|
+
{...rest} />
|
|
40
43
|
</div>
|
|
@@ -11,7 +11,7 @@ declare const Value: import("svelte").Component<{
|
|
|
11
11
|
onOpenDropdown: any;
|
|
12
12
|
placeholder: any;
|
|
13
13
|
value?: any;
|
|
14
|
-
}, {}, "value" | "inputRef">;
|
|
14
|
+
} & Record<string, any>, {}, "value" | "inputRef">;
|
|
15
15
|
type $$ComponentProps = {
|
|
16
16
|
inputRef?: any;
|
|
17
17
|
localValues: any;
|
|
@@ -20,4 +20,4 @@ type $$ComponentProps = {
|
|
|
20
20
|
onOpenDropdown: any;
|
|
21
21
|
placeholder: any;
|
|
22
22
|
value?: any;
|
|
23
|
-
}
|
|
23
|
+
} & Record<string, any>;
|
|
@@ -210,8 +210,7 @@
|
|
|
210
210
|
"aria-haspopup": "listbox",
|
|
211
211
|
"aria-owns": localValues.id,
|
|
212
212
|
}
|
|
213
|
-
: {}}
|
|
214
|
-
{...rest}>
|
|
213
|
+
: {}}>
|
|
215
214
|
{#if name}
|
|
216
215
|
<input type="hidden" {name} value="" disabled={value.length > 0} />
|
|
217
216
|
|
|
@@ -229,7 +228,8 @@
|
|
|
229
228
|
{options}
|
|
230
229
|
{placeholder}
|
|
231
230
|
bind:query
|
|
232
|
-
{value}
|
|
231
|
+
{value}
|
|
232
|
+
{...rest} />
|
|
233
233
|
|
|
234
234
|
{#if open}
|
|
235
235
|
<Dropdown
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
placeholder,
|
|
14
14
|
query = $bindable(),
|
|
15
15
|
value = [],
|
|
16
|
+
...rest
|
|
16
17
|
} = $props();
|
|
17
18
|
|
|
18
19
|
let styles = $derived(tagSelectorVariants());
|
|
@@ -42,7 +43,8 @@
|
|
|
42
43
|
}
|
|
43
44
|
: {}}
|
|
44
45
|
{placeholder}
|
|
45
|
-
role="searchbox"
|
|
46
|
+
role="searchbox"
|
|
47
|
+
{...rest} />
|
|
46
48
|
</Tag>
|
|
47
49
|
{/if}
|
|
48
50
|
</div>
|
|
@@ -14,7 +14,7 @@ declare const ValueList: import("svelte").Component<{
|
|
|
14
14
|
placeholder: any;
|
|
15
15
|
query?: any;
|
|
16
16
|
value?: any[];
|
|
17
|
-
}, {}, "inputRef" | "query">;
|
|
17
|
+
} & Record<string, any>, {}, "inputRef" | "query">;
|
|
18
18
|
type $$ComponentProps = {
|
|
19
19
|
inputRef?: any;
|
|
20
20
|
localValues: any;
|
|
@@ -26,4 +26,4 @@ type $$ComponentProps = {
|
|
|
26
26
|
placeholder: any;
|
|
27
27
|
query?: any;
|
|
28
28
|
value?: any[];
|
|
29
|
-
}
|
|
29
|
+
} & Record<string, any>;
|