ui-ingredients 0.0.9 → 0.0.10

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/README.md CHANGED
@@ -46,7 +46,7 @@ npm install ui-ingredients
46
46
  - 🟡 DatePicker
47
47
  - 🟢 Dialog
48
48
  - 🟢 Editable
49
- - FileUpload
49
+ - 🟡 FileUpload
50
50
  - 🟢 HoverCard
51
51
  - 🟡 Menu
52
52
  - 🟢 NumberInput
@@ -60,6 +60,7 @@ npm install ui-ingredients
60
60
  - 🟢 RadioGroup
61
61
  - 🟢 RatingGroup
62
62
  - 🟢 Select
63
+ - 🟢 SegmentGroup
63
64
  - ⚪ SignaturePad
64
65
  - 🟢 Slider
65
66
  - ⚪ Splitter
@@ -4,7 +4,7 @@ export interface CreateAccordionContextProps extends accordion.Context {
4
4
  export interface CreateAccordionContextReturn extends ReturnType<typeof createAccordionContext> {
5
5
  }
6
6
  export declare function createAccordionContext(props: CreateAccordionContextProps): accordion.Api;
7
- export declare function setAccordionContext(value: CreateAccordionContextReturn): any;
7
+ export declare function setAccordionContext(value: CreateAccordionContextReturn): CreateAccordionContextReturn;
8
8
  export declare function useAccordionContext(): CreateAccordionContextReturn;
9
9
  export declare function setAccordionItemContext(value: accordion.ItemProps): void;
10
10
  export declare function useAccordionItemContext(): accordion.ItemProps;
@@ -7,7 +7,7 @@ export function createAccordionContext(props) {
7
7
  return api;
8
8
  }
9
9
  export function setAccordionContext(value) {
10
- return setContext('Accordion', reflect(() => value));
10
+ return setContext('Accordion', value);
11
11
  }
12
12
  export function useAccordionContext() {
13
13
  return getContext('Accordion');
package/dist/index.d.ts CHANGED
@@ -34,6 +34,8 @@ export * as RadioGroup from './radio-group/index.js';
34
34
  export type { RadioGroupIndicatorProps, RadioGroupItemControlProps, RadioGroupItemHiddenInputProps, RadioGroupItemProps, RadioGroupItemTextProps, RadioGroupLabelProps, RadioGroupProps, } from './radio-group/index.js';
35
35
  export * as RatingGroup from './rating-group/index.js';
36
36
  export type { RatingGroupControlProps, RatingGroupHiddenInputProps, RatingGroupItemProps, RatingGroupLabelProps, RatingGroupProps, } from './rating-group/index.js';
37
+ export * as SegmentGroup from './segment-group/index.js';
38
+ export type { SegmentGroupIndicatorProps, SegmentGroupItemControlProps, SegmentGroupItemHiddenInputProps, SegmentGroupItemProps, SegmentGroupItemTextProps, SegmentGroupProps, } from './segment-group/index.js';
37
39
  export * as Select from './select/index.js';
38
40
  export type { SelectClearTriggerProps, SelectContentProps, SelectControlProps, SelectHiddenSelectProps, SelectIndicatorProps, SelectItemGroupLabelProps, SelectItemGroupProps, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectLabelProps, SelectListProps, SelectPositionerProps, SelectProps, SelectTriggerProps, SelectValueTextProps, } from './select/index.js';
39
41
  export * as Slider from './slider/index.js';
package/dist/index.js CHANGED
@@ -16,6 +16,7 @@ export * as Progress from './progress/index.js';
16
16
  export * as QRCode from './qr-code/index.js';
17
17
  export * as RadioGroup from './radio-group/index.js';
18
18
  export * as RatingGroup from './rating-group/index.js';
19
+ export * as SegmentGroup from './segment-group/index.js';
19
20
  export * as Select from './select/index.js';
20
21
  export * as Slider from './slider/index.js';
21
22
  export * as Steps from './steps/index.js';
@@ -0,0 +1 @@
1
+ export { Indicator, Item, ItemControl, ItemHiddenInput, ItemText, Root, type RadioGroupIndicatorProps as SegmentGroupIndicatorProps, type RadioGroupItemControlProps as SegmentGroupItemControlProps, type RadioGroupItemHiddenInputProps as SegmentGroupItemHiddenInputProps, type RadioGroupItemProps as SegmentGroupItemProps, type RadioGroupItemTextProps as SegmentGroupItemTextProps, type RadioGroupProps as SegmentGroupProps, } from '../radio-group/index.js';
@@ -0,0 +1 @@
1
+ export { Indicator, Item, ItemControl, ItemHiddenInput, ItemText, Root, } from '../radio-group/index.js';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ui-ingredients",
3
3
  "type": "module",
4
- "version": "0.0.9",
4
+ "version": "0.0.10",
5
5
  "packageManager": "pnpm@9.7.0",
6
6
  "svelte": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
@@ -85,42 +85,42 @@
85
85
  "release": "release-it"
86
86
  },
87
87
  "dependencies": {
88
- "@zag-js/accordion": "0.65.0",
89
- "@zag-js/avatar": "0.65.0",
90
- "@zag-js/carousel": "0.65.0",
91
- "@zag-js/checkbox": "0.65.0",
92
- "@zag-js/clipboard": "0.65.0",
93
- "@zag-js/collapsible": "0.65.0",
94
- "@zag-js/color-picker": "0.65.0",
95
- "@zag-js/combobox": "0.65.0",
96
- "@zag-js/date-picker": "0.65.0",
97
- "@zag-js/dialog": "0.65.0",
98
- "@zag-js/editable": "0.65.0",
99
- "@zag-js/file-upload": "0.65.0",
100
- "@zag-js/hover-card": "0.65.0",
101
- "@zag-js/menu": "0.65.0",
102
- "@zag-js/number-input": "0.65.0",
103
- "@zag-js/pagination": "0.65.0",
104
- "@zag-js/pin-input": "0.65.0",
105
- "@zag-js/popover": "0.65.0",
106
- "@zag-js/presence": "0.65.0",
107
- "@zag-js/progress": "0.65.0",
108
- "@zag-js/qr-code": "0.65.0",
109
- "@zag-js/radio-group": "0.65.0",
110
- "@zag-js/rating-group": "0.65.0",
111
- "@zag-js/select": "0.65.0",
112
- "@zag-js/signature-pad": "0.65.0",
113
- "@zag-js/slider": "0.65.0",
114
- "@zag-js/splitter": "0.65.0",
115
- "@zag-js/steps": "0.65.0",
116
- "@zag-js/svelte": "0.65.0",
117
- "@zag-js/switch": "0.65.0",
118
- "@zag-js/tabs": "0.65.0",
119
- "@zag-js/tags-input": "0.65.0",
120
- "@zag-js/timer": "0.65.0",
121
- "@zag-js/toast": "0.65.0",
122
- "@zag-js/toggle-group": "0.65.0",
123
- "@zag-js/tooltip": "0.65.0",
88
+ "@zag-js/accordion": "0.65.1",
89
+ "@zag-js/avatar": "0.65.1",
90
+ "@zag-js/carousel": "0.65.1",
91
+ "@zag-js/checkbox": "0.65.1",
92
+ "@zag-js/clipboard": "0.65.1",
93
+ "@zag-js/collapsible": "0.65.1",
94
+ "@zag-js/color-picker": "0.65.1",
95
+ "@zag-js/combobox": "0.65.1",
96
+ "@zag-js/date-picker": "0.65.1",
97
+ "@zag-js/dialog": "0.65.1",
98
+ "@zag-js/editable": "0.65.1",
99
+ "@zag-js/file-upload": "0.65.1",
100
+ "@zag-js/hover-card": "0.65.1",
101
+ "@zag-js/menu": "0.65.1",
102
+ "@zag-js/number-input": "0.65.1",
103
+ "@zag-js/pagination": "0.65.1",
104
+ "@zag-js/pin-input": "0.65.1",
105
+ "@zag-js/popover": "0.65.1",
106
+ "@zag-js/presence": "0.65.1",
107
+ "@zag-js/progress": "0.65.1",
108
+ "@zag-js/qr-code": "0.65.1",
109
+ "@zag-js/radio-group": "0.65.1",
110
+ "@zag-js/rating-group": "0.65.1",
111
+ "@zag-js/select": "0.65.1",
112
+ "@zag-js/signature-pad": "0.65.1",
113
+ "@zag-js/slider": "0.65.1",
114
+ "@zag-js/splitter": "0.65.1",
115
+ "@zag-js/steps": "0.65.1",
116
+ "@zag-js/svelte": "0.65.1",
117
+ "@zag-js/switch": "0.65.1",
118
+ "@zag-js/tabs": "0.65.1",
119
+ "@zag-js/tags-input": "0.65.1",
120
+ "@zag-js/timer": "0.65.1",
121
+ "@zag-js/toast": "0.65.1",
122
+ "@zag-js/toggle-group": "0.65.1",
123
+ "@zag-js/tooltip": "0.65.1",
124
124
  "nanoid": "5.0.7"
125
125
  },
126
126
  "peerDependencies": {
@@ -136,11 +136,11 @@
136
136
  "postcss": "8.4.41",
137
137
  "publint": "0.2.10",
138
138
  "release-it": "17.6.0",
139
- "svelte": "5.0.0-next.225",
139
+ "svelte": "5.0.0-next.229",
140
140
  "svelte-check": "3.8.5",
141
141
  "tailwindcss": "3.4.10",
142
142
  "typescript": "5.5.4",
143
- "vite": "5.4.1",
143
+ "vite": "5.4.2",
144
144
  "vitest": "2.0.5"
145
145
  },
146
146
  "release-it": {