@ark-ui/solid 4.6.0 → 4.8.0

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.
Files changed (166) hide show
  1. package/dist/chunk/{PZEZKJF3.jsx → 2HTNQLGP.jsx} +55 -46
  2. package/dist/chunk/{SPA64RV2.js → 2W32Z6JZ.js} +2 -2
  3. package/dist/chunk/{Q55I4ULB.js → 34OZO53S.js} +2 -2
  4. package/dist/chunk/{ND6ULTIP.js → 35R4VP6U.js} +2 -2
  5. package/dist/chunk/{YEVD47QN.js → 4FXOTC23.js} +2 -2
  6. package/dist/chunk/{YBEQIVOS.js → 5CYHETDY.js} +12 -2
  7. package/dist/chunk/{OMC7ZZVY.js → 5XD5ZSBX.js} +2 -2
  8. package/dist/chunk/{HTPFX5I5.js → CTTG4GSG.js} +5 -5
  9. package/dist/chunk/{PZDCODVM.jsx → D4XLNL66.jsx} +4 -3
  10. package/dist/chunk/{YJZDRWMW.jsx → DOPROT6M.jsx} +6 -3
  11. package/dist/chunk/{LMMNUVZG.jsx → F3QPTRGW.jsx} +4 -3
  12. package/dist/chunk/{R5ZNIQWU.jsx → HU7FZMJI.jsx} +34 -13
  13. package/dist/chunk/{QX424BJV.jsx → IQJBNZOX.jsx} +11 -1
  14. package/dist/chunk/{VFFKWKKV.jsx → JHG4EID2.jsx} +14 -37
  15. package/dist/chunk/{BNMRTYLU.js → Q7NPTAJI.js} +17 -17
  16. package/dist/chunk/{RSBH7AZU.jsx → SJSLQDBZ.jsx} +4 -4
  17. package/dist/chunk/{CUHGQRR2.jsx → SZH7YUGW.jsx} +4 -3
  18. package/dist/chunk/{HXSFGTUH.jsx → T4NRAKVA.jsx} +4 -3
  19. package/dist/chunk/{WLTUCUPQ.js → T6IREKKO.js} +4 -4
  20. package/dist/chunk/{3QKT7KP4.jsx → U3XJZI3X.jsx} +4 -4
  21. package/dist/chunk/{UZJR5LMS.js → UGKLUHKU.js} +11 -3
  22. package/dist/chunk/{WEGHFH3B.js → VARNCRUN.js} +2 -2
  23. package/dist/chunk/{KKCBAUHZ.js → YV5BACLX.js} +3 -2
  24. package/dist/chunk/{DV2ZLINV.jsx → YVIJOCWC.jsx} +6 -6
  25. package/dist/components/accordion/index.js +1 -1
  26. package/dist/components/accordion/index.jsx +3 -3
  27. package/dist/components/avatar/index.js +1 -1
  28. package/dist/components/avatar/index.jsx +2 -2
  29. package/dist/components/carousel/index.d.ts +16 -17
  30. package/dist/components/carousel/index.js +1 -1
  31. package/dist/components/carousel/index.jsx +6 -6
  32. package/dist/components/checkbox/index.d.ts +1 -1
  33. package/dist/components/checkbox/index.js +1 -1
  34. package/dist/components/checkbox/index.jsx +2 -2
  35. package/dist/components/clipboard/index.d.ts +8 -2
  36. package/dist/components/clipboard/index.js +1 -1
  37. package/dist/components/clipboard/index.jsx +4 -2
  38. package/dist/components/collapsible/index.js +1 -1
  39. package/dist/components/collapsible/index.jsx +2 -2
  40. package/dist/components/collection.js +1 -1
  41. package/dist/components/collection.jsx +1 -1
  42. package/dist/components/color-picker/index.d.ts +1 -1
  43. package/dist/components/color-picker/index.js +1 -1
  44. package/dist/components/color-picker/index.jsx +2 -2
  45. package/dist/components/combobox/index.js +2 -2
  46. package/dist/components/combobox/index.jsx +3 -3
  47. package/dist/components/date-picker/index.d.ts +1 -1
  48. package/dist/components/date-picker/index.js +1 -1
  49. package/dist/components/date-picker/index.jsx +2 -2
  50. package/dist/components/dialog/index.js +1 -1
  51. package/dist/components/dialog/index.jsx +2 -2
  52. package/dist/components/editable/index.js +1 -1
  53. package/dist/components/editable/index.jsx +2 -2
  54. package/dist/components/field/index.d.ts +1 -1
  55. package/dist/components/file-upload/index.js +1 -1
  56. package/dist/components/file-upload/index.jsx +2 -2
  57. package/dist/components/format/index.jsx +1 -1
  58. package/dist/components/frame/index.jsx +1 -1
  59. package/dist/components/hover-card/index.js +1 -1
  60. package/dist/components/hover-card/index.jsx +2 -2
  61. package/dist/components/index.d.ts +4 -4
  62. package/dist/components/index.js +37 -37
  63. package/dist/components/index.jsx +272 -268
  64. package/dist/components/menu/index.js +1 -1
  65. package/dist/components/menu/index.jsx +2 -2
  66. package/dist/components/number-input/index.js +1 -1
  67. package/dist/components/number-input/index.jsx +2 -2
  68. package/dist/components/pagination/index.js +1 -1
  69. package/dist/components/pagination/index.jsx +2 -2
  70. package/dist/components/pin-input/index.js +1 -1
  71. package/dist/components/pin-input/index.jsx +2 -2
  72. package/dist/components/popover/index.js +1 -1
  73. package/dist/components/popover/index.jsx +2 -2
  74. package/dist/components/progress/index.d.ts +5 -0
  75. package/dist/components/progress/index.js +1 -1
  76. package/dist/components/progress/index.jsx +2 -2
  77. package/dist/components/qr-code/index.d.ts +14 -3
  78. package/dist/components/qr-code/index.js +1 -1
  79. package/dist/components/qr-code/index.jsx +4 -2
  80. package/dist/components/radio-group/index.js +1 -1
  81. package/dist/components/radio-group/index.jsx +2 -2
  82. package/dist/components/rating-group/index.js +1 -1
  83. package/dist/components/rating-group/index.jsx +2 -2
  84. package/dist/components/segment-group/index.d.ts +1 -1
  85. package/dist/components/segment-group/index.js +1 -1
  86. package/dist/components/segment-group/index.jsx +2 -2
  87. package/dist/components/select/index.js +2 -2
  88. package/dist/components/select/index.jsx +3 -3
  89. package/dist/components/signature-pad/index.js +1 -1
  90. package/dist/components/signature-pad/index.jsx +2 -2
  91. package/dist/components/slider/index.js +1 -1
  92. package/dist/components/slider/index.jsx +2 -2
  93. package/dist/components/splitter/index.js +1 -1
  94. package/dist/components/splitter/index.jsx +2 -2
  95. package/dist/components/steps/index.js +1 -1
  96. package/dist/components/steps/index.jsx +2 -2
  97. package/dist/components/switch/index.js +1 -1
  98. package/dist/components/switch/index.jsx +2 -2
  99. package/dist/components/tabs/index.js +1 -1
  100. package/dist/components/tabs/index.jsx +2 -2
  101. package/dist/components/tags-input/index.js +1 -1
  102. package/dist/components/tags-input/index.jsx +2 -2
  103. package/dist/components/time-picker/index.js +1 -1
  104. package/dist/components/time-picker/index.jsx +2 -2
  105. package/dist/components/timer/index.jsx +1 -1
  106. package/dist/components/toggle/index.d.ts +5 -5
  107. package/dist/components/toggle-group/index.js +1 -1
  108. package/dist/components/toggle-group/index.jsx +2 -2
  109. package/dist/components/tooltip/index.js +1 -1
  110. package/dist/components/tooltip/index.jsx +2 -2
  111. package/dist/components/tree-view/index.js +2 -2
  112. package/dist/components/tree-view/index.jsx +4 -4
  113. package/dist/index.d.ts +4 -4
  114. package/dist/index.js +38 -38
  115. package/dist/index.jsx +275 -271
  116. package/dist/providers/index.js +1 -1
  117. package/dist/providers/index.jsx +4 -4
  118. package/package.json +55 -55
  119. package/dist/chunk/{Y37DXSEE.jsx → 27RTXL55.jsx} +3 -3
  120. package/dist/chunk/{TM6MNCJB.js → 2GATVLPK.js} +1 -1
  121. package/dist/chunk/{JSMOACQ5.js → 2H4WHODR.js} +1 -1
  122. package/dist/chunk/{ALKUQIFY.jsx → 3EJGSZCP.jsx} +3 -3
  123. package/dist/chunk/{KQLVMRLF.js → 3HMZSTYX.js} +1 -1
  124. package/dist/chunk/{PSWXIR5X.jsx → 3NSM24PL.jsx} +3 -3
  125. package/dist/chunk/{TEZSUL43.jsx → 4XC3UALJ.jsx} +3 -3
  126. package/dist/chunk/{4TNW4LNT.jsx → 5D3VKQUP.jsx} +3 -3
  127. package/dist/chunk/{AK2LUFHG.js → 5SRZ3YYC.js} +1 -1
  128. package/dist/chunk/{U6PDXLCA.jsx → 6L7HNED6.jsx} +3 -3
  129. package/dist/chunk/{YN36NFIE.js → 6YQ3EF2J.js} +1 -1
  130. package/dist/chunk/{Q3STMYMV.jsx → AIQFNVCU.jsx} +3 -3
  131. package/dist/chunk/{WLUB7JYL.js → ATMUKDFF.js} +1 -1
  132. package/dist/chunk/{PQ3UNZE4.jsx → B7LE23PE.jsx} +3 -3
  133. package/dist/chunk/{A7PQQPGA.js → BUWVAHRG.js} +1 -1
  134. package/dist/chunk/{ZSWRRXUI.jsx → BY62F4IV.jsx} +3 -3
  135. package/dist/chunk/{YQ7OK72K.jsx → CPMYIT5J.jsx} +3 -3
  136. package/dist/chunk/{UYIC346K.jsx → DT5WVDUV.jsx} +3 -3
  137. package/dist/chunk/{YKYATBPX.js → FNEB2RAF.js} +1 -1
  138. package/dist/chunk/{VKM3Y5SS.js → G7GWGK6F.js} +1 -1
  139. package/dist/chunk/{AZBVL3C5.jsx → GVRRR27D.jsx} +3 -3
  140. package/dist/chunk/{UW63M5GW.js → GXWVYON6.js} +1 -1
  141. package/dist/chunk/{6GRTONVL.jsx → GZVCPLKK.jsx} +3 -3
  142. package/dist/chunk/{4ICFJW2D.jsx → H4RSHLA7.jsx} +3 -3
  143. package/dist/chunk/{T7DQP6DT.jsx → IZC6PKGT.jsx} +3 -3
  144. package/dist/chunk/{L6HRKS4V.js → JVXNYKNA.js} +1 -1
  145. package/dist/chunk/{CRUV7XPV.jsx → K54W24N6.jsx} +3 -3
  146. package/dist/chunk/{R3KGHDYR.js → LVPQ6GR4.js} +1 -1
  147. package/dist/chunk/{KF5ALSYW.js → M2FICVVI.js} +1 -1
  148. package/dist/chunk/{ZX3QOLR2.jsx → MARFWGWI.jsx} +3 -3
  149. package/dist/chunk/{GRSRDWXO.jsx → MRQ2UYM4.jsx} +3 -3
  150. package/dist/chunk/{DYAAMWKJ.js → MZPPLECL.js} +1 -1
  151. package/dist/chunk/{I5OAZLKD.js → PZ7ZCWGA.js} +1 -1
  152. package/dist/chunk/{QVBQZJF6.js → QLGAAWNC.js} +1 -1
  153. package/dist/chunk/{4DPMLML4.js → RAEDLHD3.js} +1 -1
  154. package/dist/chunk/{FNDB3E7F.jsx → RCK6LCJM.jsx} +3 -3
  155. package/dist/chunk/{ENHIBLQ6.js → SWUA2VFC.js} +1 -1
  156. package/dist/chunk/{6EY2Z73Y.jsx → TC2QHQ47.jsx} +3 -3
  157. package/dist/chunk/{LUJELJ42.js → U23DU73Q.js} +1 -1
  158. package/dist/chunk/{LKZXE4D5.jsx → U7SPBSDD.jsx} +3 -3
  159. package/dist/chunk/{HWURSPSE.js → UXJGHMFS.js} +1 -1
  160. package/dist/chunk/{VO46CN3P.js → VIUEKSBO.js} +1 -1
  161. package/dist/chunk/{LNX6MNBX.js → VQWGXSW6.js} +1 -1
  162. package/dist/chunk/{PAR3AJGR.js → VZFG6XYZ.js} +1 -1
  163. package/dist/chunk/{HQFEUYOV.jsx → WIVXL7HJ.jsx} +3 -3
  164. package/dist/chunk/{VI2C2YY7.jsx → ZC6KWJ4T.jsx} +3 -3
  165. package/dist/chunk/{KUTJELYB.js → ZKHLGP7Q.js} +1 -1
  166. package/dist/chunk/{CLZWNSRO.jsx → ZYF7ARA6.jsx} +3 -3
@@ -4,12 +4,12 @@ import {
4
4
  import {
5
5
  ark
6
6
  } from "./UFYZ7HLU.jsx";
7
- import {
8
- useLocaleContext
9
- } from "./3QQZKR3F.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
9
  } from "./5O4RWSWO.jsx";
10
+ import {
11
+ useLocaleContext
12
+ } from "./3QQZKR3F.jsx";
13
13
  import {
14
14
  createContext
15
15
  } from "./NMGUCD2L.jsx";
@@ -17,83 +17,88 @@ import {
17
17
  __export
18
18
  } from "./7IUG3E2V.jsx";
19
19
 
20
+ // src/components/carousel/carousel-autoplay-trigger.tsx
21
+ import { mergeProps } from "@zag-js/solid";
22
+
20
23
  // src/components/carousel/use-carousel-context.ts
21
24
  var [CarouselProvider, useCarouselContext] = createContext({
22
25
  hookName: "useCarouselContext",
23
26
  providerName: "<CarouselProvider />"
24
27
  });
25
28
 
29
+ // src/components/carousel/carousel-autoplay-trigger.tsx
30
+ var CarouselAutoplayTrigger = (props) => {
31
+ const api = useCarouselContext();
32
+ const mergedProps = mergeProps(() => api().getAutoplayTriggerProps(), props);
33
+ return <ark.button {...mergedProps} />;
34
+ };
35
+
26
36
  // src/components/carousel/carousel-context.tsx
27
37
  var CarouselContext = (props) => props.children(useCarouselContext());
28
38
 
29
39
  // src/components/carousel/carousel-control.tsx
30
- import { mergeProps } from "@zag-js/solid";
31
-
32
- // src/components/carousel/carousel.anatomy.ts
33
- import { anatomy } from "@zag-js/carousel";
34
- var carouselAnatomy = anatomy.extendWith("control");
35
-
36
- // src/components/carousel/carousel-control.tsx
40
+ import { mergeProps as mergeProps2 } from "@zag-js/solid";
37
41
  var CarouselControl = (props) => {
38
- const mergedProps = mergeProps(() => carouselAnatomy.build().control.attrs, props);
42
+ const api = useCarouselContext();
43
+ const mergedProps = mergeProps2(() => api().getControlProps(), props);
39
44
  return <ark.div {...mergedProps} />;
40
45
  };
41
46
 
42
47
  // src/components/carousel/carousel-indicator.tsx
43
- import { mergeProps as mergeProps2 } from "@zag-js/solid";
48
+ import { mergeProps as mergeProps3 } from "@zag-js/solid";
44
49
  var CarouselIndicator = (props) => {
45
50
  const [indicatorProps, localProps] = createSplitProps()(props, [
46
51
  "index",
47
52
  "readOnly"
48
53
  ]);
49
54
  const api = useCarouselContext();
50
- const mergedProps = mergeProps2(() => api().getIndicatorProps(indicatorProps), localProps);
55
+ const mergedProps = mergeProps3(() => api().getIndicatorProps(indicatorProps), localProps);
51
56
  return <ark.button {...mergedProps} />;
52
57
  };
53
58
 
54
59
  // src/components/carousel/carousel-indicator-group.tsx
55
- import { mergeProps as mergeProps3 } from "@zag-js/solid";
60
+ import { mergeProps as mergeProps4 } from "@zag-js/solid";
56
61
  var CarouselIndicatorGroup = (props) => {
57
62
  const api = useCarouselContext();
58
- const mergedProps = mergeProps3(() => api().getIndicatorGroupProps(), props);
63
+ const mergedProps = mergeProps4(() => api().getIndicatorGroupProps(), props);
59
64
  return <ark.div {...mergedProps} />;
60
65
  };
61
66
 
62
67
  // src/components/carousel/carousel-item.tsx
63
- import { mergeProps as mergeProps4 } from "@zag-js/solid";
68
+ import { mergeProps as mergeProps5 } from "@zag-js/solid";
64
69
  var CarouselItem = (props) => {
65
- const [itemProps, localProps] = createSplitProps()(props, ["index"]);
70
+ const [itemProps, localProps] = createSplitProps()(props, ["index", "snapAlign"]);
66
71
  const api = useCarouselContext();
67
- const mergedProps = mergeProps4(() => api().getItemProps(itemProps), localProps);
72
+ const mergedProps = mergeProps5(() => api().getItemProps(itemProps), localProps);
68
73
  return <ark.div {...mergedProps} />;
69
74
  };
70
75
 
71
76
  // src/components/carousel/carousel-item-group.tsx
72
- import { mergeProps as mergeProps5 } from "@zag-js/solid";
77
+ import { mergeProps as mergeProps6 } from "@zag-js/solid";
73
78
  var CarouselItemGroup = (props) => {
74
79
  const api = useCarouselContext();
75
- const mergedProps = mergeProps5(() => api().getItemGroupProps(), props);
80
+ const mergedProps = mergeProps6(() => api().getItemGroupProps(), props);
76
81
  return <ark.div {...mergedProps} />;
77
82
  };
78
83
 
79
84
  // src/components/carousel/carousel-next-trigger.tsx
80
- import { mergeProps as mergeProps6 } from "@zag-js/solid";
85
+ import { mergeProps as mergeProps7 } from "@zag-js/solid";
81
86
  var CarouselNextTrigger = (props) => {
82
87
  const api = useCarouselContext();
83
- const mergedProps = mergeProps6(() => api().getNextTriggerProps(), props);
88
+ const mergedProps = mergeProps7(() => api().getNextTriggerProps(), props);
84
89
  return <ark.button {...mergedProps} />;
85
90
  };
86
91
 
87
92
  // src/components/carousel/carousel-prev-trigger.tsx
88
- import { mergeProps as mergeProps7 } from "@zag-js/solid";
93
+ import { mergeProps as mergeProps8 } from "@zag-js/solid";
89
94
  var CarouselPrevTrigger = (props) => {
90
95
  const api = useCarouselContext();
91
- const mergedProps = mergeProps7(() => api().getPrevTriggerProps(), props);
96
+ const mergedProps = mergeProps8(() => api().getPrevTriggerProps(), props);
92
97
  return <ark.button {...mergedProps} />;
93
98
  };
94
99
 
95
100
  // src/components/carousel/carousel-root.tsx
96
- import { mergeProps as mergeProps8 } from "@zag-js/solid";
101
+ import { mergeProps as mergeProps9 } from "@zag-js/solid";
97
102
 
98
103
  // src/components/carousel/use-carousel.ts
99
104
  import * as carousel from "@zag-js/carousel";
@@ -107,7 +112,7 @@ var useCarousel = (props = {}) => {
107
112
  id,
108
113
  dir: locale().dir,
109
114
  getRootNode: environment().getRootNode,
110
- index: props.defaultIndex,
115
+ index: props.defaultPage,
111
116
  ...props
112
117
  }));
113
118
  const [state, send] = useMachine(carousel.machine(context()), { context });
@@ -117,45 +122,50 @@ var useCarousel = (props = {}) => {
117
122
  // src/components/carousel/carousel-root.tsx
118
123
  var CarouselRoot = (props) => {
119
124
  const [useCarouselProps, localProps] = createSplitProps()(props, [
120
- "align",
121
- "defaultIndex",
125
+ "allowMouseDrag",
126
+ "autoplay",
127
+ "defaultPage",
122
128
  "id",
123
129
  "ids",
124
- "index",
130
+ "inViewThreshold",
125
131
  "loop",
126
- "onIndexChange",
132
+ "onAutoplayStatusChange",
133
+ "onDragStatusChange",
134
+ "onPageChange",
127
135
  "orientation",
128
- "slidesPerView",
129
- "spacing"
136
+ "padding",
137
+ "page",
138
+ "slideCount",
139
+ "slidesPerMove",
140
+ "slidesPerPage",
141
+ "snapType",
142
+ "spacing",
143
+ "translations"
130
144
  ]);
131
145
  const api = useCarousel(useCarouselProps);
132
- const mergedProps = mergeProps8(() => api().getRootProps(), localProps);
146
+ const mergedProps = mergeProps9(() => api().getRootProps(), localProps);
133
147
  return <CarouselProvider value={api}>
134
148
  <ark.div {...mergedProps} />
135
149
  </CarouselProvider>;
136
150
  };
137
151
 
138
152
  // src/components/carousel/carousel-root-provider.tsx
139
- import { mergeProps as mergeProps9 } from "@zag-js/solid";
153
+ import { mergeProps as mergeProps10 } from "@zag-js/solid";
140
154
  var CarouselRootProvider = (props) => {
141
155
  const [{ value: carousel2 }, localProps] = createSplitProps()(props, ["value"]);
142
- const mergedProps = mergeProps9(() => carousel2().getRootProps(), localProps);
156
+ const mergedProps = mergeProps10(() => carousel2().getRootProps(), localProps);
143
157
  return <CarouselProvider value={carousel2}>
144
158
  <ark.div {...mergedProps} />
145
159
  </CarouselProvider>;
146
160
  };
147
161
 
148
- // src/components/carousel/carousel-viewport.tsx
149
- import { mergeProps as mergeProps10 } from "@zag-js/solid";
150
- var CarouselViewport = (props) => {
151
- const api = useCarouselContext();
152
- const mergedProps = mergeProps10(() => api().getViewportProps(), props);
153
- return <ark.div {...mergedProps} />;
154
- };
162
+ // src/components/carousel/carousel.anatomy.ts
163
+ import { anatomy } from "@zag-js/carousel";
155
164
 
156
165
  // src/components/carousel/carousel.ts
157
166
  var carousel_exports = {};
158
167
  __export(carousel_exports, {
168
+ AutoplayTrigger: () => CarouselAutoplayTrigger,
159
169
  Context: () => CarouselContext,
160
170
  Control: () => CarouselControl,
161
171
  Indicator: () => CarouselIndicator,
@@ -165,14 +175,13 @@ __export(carousel_exports, {
165
175
  NextTrigger: () => CarouselNextTrigger,
166
176
  PrevTrigger: () => CarouselPrevTrigger,
167
177
  Root: () => CarouselRoot,
168
- RootProvider: () => CarouselRootProvider,
169
- Viewport: () => CarouselViewport
178
+ RootProvider: () => CarouselRootProvider
170
179
  });
171
180
 
172
181
  export {
173
182
  useCarouselContext,
183
+ CarouselAutoplayTrigger,
174
184
  CarouselContext,
175
- carouselAnatomy,
176
185
  CarouselControl,
177
186
  CarouselIndicator,
178
187
  CarouselIndicatorGroup,
@@ -183,6 +192,6 @@ export {
183
192
  useCarousel,
184
193
  CarouselRoot,
185
194
  CarouselRootProvider,
186
- CarouselViewport,
195
+ anatomy,
187
196
  carousel_exports
188
197
  };
@@ -2,8 +2,8 @@ import { usePresence, PresenceProvider } from './LCESUDZB.js';
2
2
  import { useRenderStrategyContext, splitRenderStrategyProps, RenderStrategyProvider } from './L7OSYHVR.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useLocaleContext } from './HPDOBQ3V.js';
6
5
  import { useEnvironmentContext } from './QODB3C3M.js';
6
+ import { useLocaleContext } from './HPDOBQ3V.js';
7
7
  import { createContext } from './I5UG2QUO.js';
8
8
  import { __export } from './ESLJRKWD.js';
9
9
  import { createComponent } from 'solid-js/web';
@@ -79,7 +79,7 @@ var useTabs = (props = {}) => {
79
79
  // src/components/tabs/tabs-root.tsx
80
80
  var TabsRoot = (props) => {
81
81
  const [renderStrategyProps, tabsProps] = splitRenderStrategyProps(props);
82
- const [useTabsProps, restProps] = createSplitProps()(tabsProps, ["activationMode", "composite", "defaultValue", "deselectable", "id", "ids", "loopFocus", "onFocusChange", "onValueChange", "orientation", "translations", "value"]);
82
+ const [useTabsProps, restProps] = createSplitProps()(tabsProps, ["activationMode", "composite", "defaultValue", "deselectable", "id", "ids", "loopFocus", "navigate", "onFocusChange", "onValueChange", "orientation", "translations", "value"]);
83
83
  const api = useTabs(useTabsProps);
84
84
  const mergedProps = mergeProps(() => api().getRootProps(), restProps);
85
85
  return createComponent(TabsProvider, {
@@ -1,9 +1,9 @@
1
- import { collapsible_exports, useCollapsibleContext } from './KQLVMRLF.js';
1
+ import { collapsible_exports, useCollapsibleContext } from './3HMZSTYX.js';
2
2
  import { useRenderStrategyContext, splitRenderStrategyProps, RenderStrategyProvider } from './L7OSYHVR.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useLocaleContext } from './HPDOBQ3V.js';
6
5
  import { useEnvironmentContext } from './QODB3C3M.js';
6
+ import { useLocaleContext } from './HPDOBQ3V.js';
7
7
  import { createContext } from './I5UG2QUO.js';
8
8
  import { __export } from './ESLJRKWD.js';
9
9
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -1,8 +1,8 @@
1
1
  import { useFieldContext } from './PBJ7MGGS.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './HPDOBQ3V.js';
5
4
  import { useEnvironmentContext } from './QODB3C3M.js';
5
+ import { useLocaleContext } from './HPDOBQ3V.js';
6
6
  import { createContext } from './I5UG2QUO.js';
7
7
  import { __export } from './ESLJRKWD.js';
8
8
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -141,7 +141,7 @@ var useFileUpload = (props = {}) => {
141
141
 
142
142
  // src/components/file-upload/file-upload-root.tsx
143
143
  var FileUploadRoot = (props) => {
144
- const [fileUploadProps, localProps] = createSplitProps()(props, ["accept", "allowDrop", "capture", "directory", "disabled", "id", "ids", "invalid", "locale", "maxFiles", "maxFileSize", "minFileSize", "name", "onFileAccept", "onFileChange", "onFileReject", "required", "translations", "validate"]);
144
+ const [fileUploadProps, localProps] = createSplitProps()(props, ["accept", "allowDrop", "capture", "directory", "disabled", "id", "ids", "invalid", "locale", "maxFiles", "maxFileSize", "minFileSize", "name", "onFileAccept", "onFileChange", "onFileReject", "preventDocumentDrop", "required", "translations", "validate"]);
145
145
  const fileUpload2 = useFileUpload(fileUploadProps);
146
146
  const mergedProps = mergeProps(() => fileUpload2().getRootProps(), localProps);
147
147
  return createComponent(FileUploadProvider, {
@@ -2,8 +2,8 @@ import { useFieldContext } from './PBJ7MGGS.js';
2
2
  import { usePresenceContext, splitPresenceProps, usePresence, PresenceProvider } from './LCESUDZB.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useLocaleContext } from './HPDOBQ3V.js';
6
5
  import { useEnvironmentContext } from './QODB3C3M.js';
6
+ import { useLocaleContext } from './HPDOBQ3V.js';
7
7
  import { createContext } from './I5UG2QUO.js';
8
8
  import { __export } from './ESLJRKWD.js';
9
9
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -194,7 +194,7 @@ var useCombobox = (props) => {
194
194
  // src/components/combobox/combobox-root.tsx
195
195
  var ComboboxRoot = (props) => {
196
196
  const [presenceProps, comboboxProps] = splitPresenceProps(props);
197
- const [useComboboxProps, localProps] = createSplitProps()(comboboxProps, ["allowCustomValue", "autoFocus", "closeOnSelect", "collection", "composite", "defaultOpen", "defaultValue", "disabled", "disableLayer", "form", "highlightedValue", "id", "ids", "inputBehavior", "inputValue", "invalid", "loopFocus", "multiple", "name", "onFocusOutside", "onHighlightChange", "onInputValueChange", "onInteractOutside", "onOpenChange", "onOpenChange", "onPointerDownOutside", "onValueChange", "open", "openOnChange", "openOnClick", "openOnKeyPress", "placeholder", "positioning", "readOnly", "required", "scrollToIndexFn", "selectionBehavior", "translations", "value"]);
197
+ const [useComboboxProps, localProps] = createSplitProps()(comboboxProps, ["allowCustomValue", "autoFocus", "closeOnSelect", "collection", "composite", "defaultOpen", "defaultValue", "disabled", "disableLayer", "form", "highlightedValue", "id", "ids", "inputBehavior", "inputValue", "invalid", "loopFocus", "multiple", "name", "navigate", "onFocusOutside", "onHighlightChange", "onInputValueChange", "onInteractOutside", "onOpenChange", "onOpenChange", "onPointerDownOutside", "onValueChange", "open", "openOnChange", "openOnClick", "openOnKeyPress", "placeholder", "positioning", "readOnly", "required", "scrollToIndexFn", "selectionBehavior", "translations", "value"]);
198
198
  const api = useCombobox(useComboboxProps);
199
199
  const apiPresence = usePresence(mergeProps(presenceProps, () => ({
200
200
  present: api().open
@@ -96,6 +96,15 @@ var ClipboardTrigger = (props) => {
96
96
  const mergedProps = mergeProps(() => api().getTriggerProps(), props);
97
97
  return createComponent(ark.button, mergedProps);
98
98
  };
99
+ var ClipboardValueText = (props) => {
100
+ const api = useClipboardContext();
101
+ const mergedProps = mergeProps(props);
102
+ return createComponent(ark.span, mergeProps$1(mergedProps, {
103
+ get children() {
104
+ return props.children || api().value;
105
+ }
106
+ }));
107
+ };
99
108
 
100
109
  // src/components/clipboard/clipboard.ts
101
110
  var clipboard_exports = {};
@@ -107,7 +116,8 @@ __export(clipboard_exports, {
107
116
  Label: () => ClipboardLabel,
108
117
  Root: () => ClipboardRoot,
109
118
  RootProvider: () => ClipboardRootProvider,
110
- Trigger: () => ClipboardTrigger
119
+ Trigger: () => ClipboardTrigger,
120
+ ValueText: () => ClipboardValueText
111
121
  });
112
122
 
113
- export { ClipboardContext, ClipboardControl, ClipboardIndicator, ClipboardInput, ClipboardLabel, ClipboardRoot, ClipboardRootProvider, ClipboardTrigger, clipboard_exports, useClipboard, useClipboardContext };
123
+ export { ClipboardContext, ClipboardControl, ClipboardIndicator, ClipboardInput, ClipboardLabel, ClipboardRoot, ClipboardRootProvider, ClipboardTrigger, ClipboardValueText, clipboard_exports, useClipboard, useClipboardContext };
@@ -1,9 +1,9 @@
1
- import { collapsible_exports } from './KQLVMRLF.js';
1
+ import { collapsible_exports } from './3HMZSTYX.js';
2
2
  import { useRenderStrategyContext, splitRenderStrategyProps, RenderStrategyProvider } from './L7OSYHVR.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useLocaleContext } from './HPDOBQ3V.js';
6
5
  import { useEnvironmentContext } from './QODB3C3M.js';
6
+ import { useLocaleContext } from './HPDOBQ3V.js';
7
7
  import { createContext } from './I5UG2QUO.js';
8
8
  import { __export } from './ESLJRKWD.js';
9
9
  import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
@@ -3,20 +3,20 @@ import { ListCollection, TreeCollection, filePathToTree } from '@zag-js/collecti
3
3
  // src/components/collection.ts
4
4
 
5
5
  // ../../node_modules/@zag-js/store/dist/index.mjs
6
- function getGlobal() {
6
+ function glob() {
7
7
  if (typeof globalThis !== "undefined") return globalThis;
8
8
  if (typeof self !== "undefined") return self;
9
9
  if (typeof window !== "undefined") return window;
10
10
  if (typeof global !== "undefined") return global;
11
11
  }
12
- function makeGlobal(key, value) {
13
- const g = getGlobal();
12
+ function globalRef(key, value) {
13
+ const g = glob();
14
14
  if (!g) return value();
15
15
  g[key] || (g[key] = value());
16
16
  return g[key];
17
17
  }
18
- makeGlobal("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap());
19
- var refSet = makeGlobal("__zag__refSet", () => /* @__PURE__ */ new WeakSet());
18
+ var refSet = globalRef("__zag__refSet", () => /* @__PURE__ */ new WeakSet());
19
+ globalRef("__zag__proxyStateMap", () => /* @__PURE__ */ new WeakMap());
20
20
  function ref(obj) {
21
21
  refSet.add(obj);
22
22
  return obj;
@@ -7,12 +7,12 @@ import {
7
7
  import {
8
8
  ark
9
9
  } from "./UFYZ7HLU.jsx";
10
- import {
11
- useLocaleContext
12
- } from "./3QQZKR3F.jsx";
13
10
  import {
14
11
  useEnvironmentContext
15
12
  } from "./5O4RWSWO.jsx";
13
+ import {
14
+ useLocaleContext
15
+ } from "./3QQZKR3F.jsx";
16
16
  import {
17
17
  createContext
18
18
  } from "./NMGUCD2L.jsx";
@@ -194,6 +194,7 @@ var FileUploadRoot = (props) => {
194
194
  "onFileAccept",
195
195
  "onFileChange",
196
196
  "onFileReject",
197
+ "preventDocumentDrop",
197
198
  "required",
198
199
  "translations",
199
200
  "validate"
@@ -4,12 +4,12 @@ import {
4
4
  import {
5
5
  ark
6
6
  } from "./UFYZ7HLU.jsx";
7
- import {
8
- useLocaleContext
9
- } from "./3QQZKR3F.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
9
  } from "./5O4RWSWO.jsx";
10
+ import {
11
+ useLocaleContext
12
+ } from "./3QQZKR3F.jsx";
13
13
  import {
14
14
  createContext
15
15
  } from "./NMGUCD2L.jsx";
@@ -83,6 +83,7 @@ var useProgress = (props = {}) => {
83
83
  id,
84
84
  dir: locale().dir,
85
85
  getRootNode: environment().getRootNode,
86
+ value: props.defaultValue,
86
87
  ...props
87
88
  }));
88
89
  const [state, send] = useMachine(progress.machine(context()), { context });
@@ -92,10 +93,12 @@ var useProgress = (props = {}) => {
92
93
  // src/components/progress/progress-root.tsx
93
94
  var ProgressRoot = (props) => {
94
95
  const [progressProps, localProps] = createSplitProps()(props, [
96
+ "defaultValue",
95
97
  "id",
96
98
  "ids",
97
99
  "max",
98
100
  "min",
101
+ "onValueChange",
99
102
  "orientation",
100
103
  "translations",
101
104
  "value"
@@ -10,12 +10,12 @@ import {
10
10
  import {
11
11
  ark
12
12
  } from "./UFYZ7HLU.jsx";
13
- import {
14
- useLocaleContext
15
- } from "./3QQZKR3F.jsx";
16
13
  import {
17
14
  useEnvironmentContext
18
15
  } from "./5O4RWSWO.jsx";
16
+ import {
17
+ useLocaleContext
18
+ } from "./3QQZKR3F.jsx";
19
19
  import {
20
20
  createContext
21
21
  } from "./NMGUCD2L.jsx";
@@ -313,6 +313,7 @@ var MenuRoot = (props) => {
313
313
  "onPointerDownOutside",
314
314
  "onSelect",
315
315
  "open",
316
+ "navigate",
316
317
  "positioning",
317
318
  "typeahead"
318
319
  ]);
@@ -4,12 +4,12 @@ import {
4
4
  import {
5
5
  ark
6
6
  } from "./UFYZ7HLU.jsx";
7
- import {
8
- useLocaleContext
9
- } from "./3QQZKR3F.jsx";
10
7
  import {
11
8
  useEnvironmentContext
12
9
  } from "./5O4RWSWO.jsx";
10
+ import {
11
+ useLocaleContext
12
+ } from "./3QQZKR3F.jsx";
13
13
  import {
14
14
  createContext
15
15
  } from "./NMGUCD2L.jsx";
@@ -26,32 +26,48 @@ var [QrCodeProvider, useQrCodeContext] = createContext({
26
26
  // src/components/qr-code/qr-code-context.ts
27
27
  var QrCodeContext = (props) => props.children(useQrCodeContext());
28
28
 
29
- // src/components/qr-code/qr-code-frame.tsx
29
+ // src/components/qr-code/qr-code-download-trigger.tsx
30
30
  import { mergeProps } from "@zag-js/solid";
31
+ var QrCodeDownloadTrigger = (props) => {
32
+ const [downloadTriggerProps, localProps] = createSplitProps()(props, [
33
+ "fileName",
34
+ "mimeType",
35
+ "quality"
36
+ ]);
37
+ const qrCode2 = useQrCodeContext();
38
+ const mergedProps = mergeProps(
39
+ () => qrCode2().getDownloadTriggerProps(downloadTriggerProps),
40
+ localProps
41
+ );
42
+ return <ark.button {...mergedProps} />;
43
+ };
44
+
45
+ // src/components/qr-code/qr-code-frame.tsx
46
+ import { mergeProps as mergeProps2 } from "@zag-js/solid";
31
47
  var QrCodeFrame = (props) => {
32
48
  const qrCode2 = useQrCodeContext();
33
- const mergedProps = mergeProps(() => qrCode2().getFrameProps(), props);
49
+ const mergedProps = mergeProps2(() => qrCode2().getFrameProps(), props);
34
50
  return <ark.svg {...mergedProps} />;
35
51
  };
36
52
 
37
53
  // src/components/qr-code/qr-code-overlay.tsx
38
- import { mergeProps as mergeProps2 } from "@zag-js/solid";
54
+ import { mergeProps as mergeProps3 } from "@zag-js/solid";
39
55
  var QrCodeOverlay = (props) => {
40
56
  const qrCode2 = useQrCodeContext();
41
- const mergedProps = mergeProps2(() => qrCode2().getOverlayProps(), props);
57
+ const mergedProps = mergeProps3(() => qrCode2().getOverlayProps(), props);
42
58
  return <ark.div {...mergedProps} />;
43
59
  };
44
60
 
45
61
  // src/components/qr-code/qr-code-pattern.tsx
46
- import { mergeProps as mergeProps3 } from "@zag-js/solid";
62
+ import { mergeProps as mergeProps4 } from "@zag-js/solid";
47
63
  var QrCodePattern = (props) => {
48
64
  const qrCode2 = useQrCodeContext();
49
- const mergedProps = mergeProps3(() => qrCode2().getPatternProps(), props);
65
+ const mergedProps = mergeProps4(() => qrCode2().getPatternProps(), props);
50
66
  return <ark.path {...mergedProps} />;
51
67
  };
52
68
 
53
69
  // src/components/qr-code/qr-code-root.tsx
54
- import { mergeProps as mergeProps4 } from "@zag-js/solid";
70
+ import { mergeProps as mergeProps5 } from "@zag-js/solid";
55
71
 
56
72
  // src/components/qr-code/use-qr-code.ts
57
73
  import * as qrCode from "@zag-js/qr-code";
@@ -65,6 +81,7 @@ var useQrCode = (props = {}) => {
65
81
  id,
66
82
  dir: locale().dir,
67
83
  getRootNode: environment().getRootNode,
84
+ value: props.defaultValue,
68
85
  ...props
69
86
  }));
70
87
  const [state, send] = useMachine(qrCode.machine(context()), {
@@ -76,23 +93,25 @@ var useQrCode = (props = {}) => {
76
93
  // src/components/qr-code/qr-code-root.tsx
77
94
  var QrCodeRoot = (props) => {
78
95
  const [useQrCodeProps, restProps] = createSplitProps()(props, [
96
+ "defaultValue",
79
97
  "encoding",
80
98
  "id",
81
99
  "ids",
100
+ "onValueChange",
82
101
  "value"
83
102
  ]);
84
103
  const api = useQrCode(useQrCodeProps);
85
- const mergedProps = mergeProps4(() => api().getRootProps(), restProps);
104
+ const mergedProps = mergeProps5(() => api().getRootProps(), restProps);
86
105
  return <QrCodeProvider value={api}>
87
106
  <ark.div {...mergedProps} />
88
107
  </QrCodeProvider>;
89
108
  };
90
109
 
91
110
  // src/components/qr-code/qr-code-root-provider.tsx
92
- import { mergeProps as mergeProps5 } from "@zag-js/solid";
111
+ import { mergeProps as mergeProps6 } from "@zag-js/solid";
93
112
  var QrCodeRootProvider = (props) => {
94
113
  const [{ value: qrCode2 }, localProps] = createSplitProps()(props, ["value"]);
95
- const mergedProps = mergeProps5(() => qrCode2().getRootProps(), localProps);
114
+ const mergedProps = mergeProps6(() => qrCode2().getRootProps(), localProps);
96
115
  return <QrCodeProvider value={qrCode2}>
97
116
  <ark.div {...mergedProps} />
98
117
  </QrCodeProvider>;
@@ -105,6 +124,7 @@ import { anatomy } from "@zag-js/qr-code";
105
124
  var qr_code_exports = {};
106
125
  __export(qr_code_exports, {
107
126
  Context: () => QrCodeContext,
127
+ DownloadTrigger: () => QrCodeDownloadTrigger,
108
128
  Frame: () => QrCodeFrame,
109
129
  Overlay: () => QrCodeOverlay,
110
130
  Pattern: () => QrCodePattern,
@@ -115,6 +135,7 @@ __export(qr_code_exports, {
115
135
  export {
116
136
  useQrCodeContext,
117
137
  QrCodeContext,
138
+ QrCodeDownloadTrigger,
118
139
  QrCodeFrame,
119
140
  QrCodeOverlay,
120
141
  QrCodePattern,
@@ -115,6 +115,14 @@ var ClipboardTrigger = (props) => {
115
115
  return <ark.button {...mergedProps} />;
116
116
  };
117
117
 
118
+ // src/components/clipboard/clipboard-value-text.tsx
119
+ import { mergeProps as mergeProps8 } from "@zag-js/solid";
120
+ var ClipboardValueText = (props) => {
121
+ const api = useClipboardContext();
122
+ const mergedProps = mergeProps8(props);
123
+ return <ark.span {...mergedProps}>{props.children || api().value}</ark.span>;
124
+ };
125
+
118
126
  // src/components/clipboard/clipboard.anatomy.ts
119
127
  import { anatomy } from "@zag-js/clipboard";
120
128
 
@@ -128,7 +136,8 @@ __export(clipboard_exports, {
128
136
  Label: () => ClipboardLabel,
129
137
  Root: () => ClipboardRoot,
130
138
  RootProvider: () => ClipboardRootProvider,
131
- Trigger: () => ClipboardTrigger
139
+ Trigger: () => ClipboardTrigger,
140
+ ValueText: () => ClipboardValueText
132
141
  });
133
142
 
134
143
  export {
@@ -142,6 +151,7 @@ export {
142
151
  ClipboardRoot,
143
152
  ClipboardRootProvider,
144
153
  ClipboardTrigger,
154
+ ClipboardValueText,
145
155
  anatomy,
146
156
  clipboard_exports
147
157
  };