ui-ingredients 0.0.5 → 0.0.6
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/accordion/context.svelte.js +1 -1
- package/dist/clipboard/root.svelte +1 -1
- package/dist/combobox/context.svelte.js +3 -3
- package/dist/combobox/root.svelte +1 -1
- package/dist/number-input/root.svelte +1 -1
- package/dist/radio-group/context.svelte.js +1 -1
- package/dist/select/context.svelte.js +3 -3
- package/dist/slider/context.svelte.js +1 -1
- package/package.json +1 -1
@@ -13,7 +13,7 @@ export function useAccordionContext() {
|
|
13
13
|
return getContext('Accordion');
|
14
14
|
}
|
15
15
|
export function setAccordionItemContext(value) {
|
16
|
-
setContext('AccordionItem',
|
16
|
+
setContext('AccordionItem', value);
|
17
17
|
}
|
18
18
|
export function useAccordionItemContext() {
|
19
19
|
return getContext('AccordionItem');
|
@@ -19,19 +19,19 @@ export function createComboboxContext(props) {
|
|
19
19
|
return api;
|
20
20
|
}
|
21
21
|
export function setComboboxContext(value) {
|
22
|
-
setContext('Combobox',
|
22
|
+
setContext('Combobox', value);
|
23
23
|
}
|
24
24
|
export function useComboboxContext() {
|
25
25
|
return getContext('Combobox');
|
26
26
|
}
|
27
27
|
export function setComboboxItemContext(value) {
|
28
|
-
setContext('ComboboxItem',
|
28
|
+
setContext('ComboboxItem', value);
|
29
29
|
}
|
30
30
|
export function useComboboxItemContext() {
|
31
31
|
return getContext('ComboboxItem');
|
32
32
|
}
|
33
33
|
export function setComboboxItemGroupContext(value) {
|
34
|
-
setContext('ComboboxItemGroup',
|
34
|
+
setContext('ComboboxItemGroup', value);
|
35
35
|
}
|
36
36
|
export function useComboboxItemGroupContext() {
|
37
37
|
return getContext('ComboboxItemGroup');
|
@@ -13,7 +13,7 @@ export function useRadioGroupContext() {
|
|
13
13
|
return getContext('RadioGroup');
|
14
14
|
}
|
15
15
|
export function setRadioGroupItemContext(value) {
|
16
|
-
setContext('RadioGroupItem',
|
16
|
+
setContext('RadioGroupItem', value);
|
17
17
|
}
|
18
18
|
export function useRadioGroupItemContext() {
|
19
19
|
return getContext('RadioGroupItem');
|
@@ -19,19 +19,19 @@ export function createSelectContext(props) {
|
|
19
19
|
return api;
|
20
20
|
}
|
21
21
|
export function setSelectContext(value) {
|
22
|
-
setContext('Select',
|
22
|
+
setContext('Select', value);
|
23
23
|
}
|
24
24
|
export function useSelectContext() {
|
25
25
|
return getContext('Select');
|
26
26
|
}
|
27
27
|
export function setSelectItemGroupContext(value) {
|
28
|
-
setContext('SelectItemGroup',
|
28
|
+
setContext('SelectItemGroup', value);
|
29
29
|
}
|
30
30
|
export function useSelectItemGroupContext() {
|
31
31
|
return getContext('SelectItemGroup');
|
32
32
|
}
|
33
33
|
export function setSelectItemContext(value) {
|
34
|
-
setContext('SelectItem',
|
34
|
+
setContext('SelectItem', value);
|
35
35
|
}
|
36
36
|
export function useSelectItemContext() {
|
37
37
|
return getContext('SelectItem');
|
@@ -13,7 +13,7 @@ export function useSliderContext() {
|
|
13
13
|
return getContext('Slider');
|
14
14
|
}
|
15
15
|
export function setSliderThumbContext(value) {
|
16
|
-
setContext('SliderThumb',
|
16
|
+
setContext('SliderThumb', value);
|
17
17
|
}
|
18
18
|
export function useSliderThumbContext() {
|
19
19
|
return getContext('SliderThumb');
|