@ark-ui/solid 5.18.4 → 5.19.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 (139) hide show
  1. package/dist/chunk/{KX7SK3SZ.js → 2GO4WI75.js} +2 -2
  2. package/dist/chunk/{ITTBH3C4.js → 2J53LCYK.js} +2 -2
  3. package/dist/chunk/5WVPNAWS.js +1 -0
  4. package/dist/chunk/{H4LXCWG5.jsx → 7IV674K5.jsx} +1 -1
  5. package/dist/chunk/{SE3PGQH7.js → AKJVWXZH.js} +2 -2
  6. package/dist/chunk/{KNXORNSB.js → CUNXGFIB.js} +2 -2
  7. package/dist/chunk/{UCVZQ65G.jsx → DIUPFYX7.jsx} +1 -1
  8. package/dist/chunk/{XED5IH2M.js → DOLVC4C7.js} +2 -2
  9. package/dist/chunk/{LLPNZDF5.jsx → EJFRDVCX.jsx} +1 -1
  10. package/dist/chunk/{YWGHLOJ4.js → F6ZN64W7.js} +2 -2
  11. package/dist/chunk/{X5C6TGXA.js → FHGPB5HL.js} +2 -2
  12. package/dist/chunk/{UAI43BK3.js → H2HVYWFV.js} +2 -2
  13. package/dist/chunk/{Y4B7PCQZ.js → HGRT5ISU.js} +2 -2
  14. package/dist/chunk/HRWYG4MB.jsx +0 -0
  15. package/dist/chunk/{AGDWY346.jsx → J2I54ALY.jsx} +1 -1
  16. package/dist/chunk/KLX5OWO4.js +119 -0
  17. package/dist/chunk/{KLAVM6VV.jsx → KYIRNJBT.jsx} +1 -1
  18. package/dist/chunk/{Q7VZMDMS.jsx → M3FJ4ZUY.jsx} +3 -3
  19. package/dist/chunk/{NVC57PHQ.js → MJKQXWPE.js} +2 -2
  20. package/dist/chunk/{56A5O76Q.jsx → MSDICFK5.jsx} +1 -1
  21. package/dist/chunk/{JV6ZPBXX.jsx → MSQY6ZYN.jsx} +3 -3
  22. package/dist/chunk/{VB6Q6KY2.jsx → OTEN4SAY.jsx} +1 -1
  23. package/dist/chunk/{PALEZCTO.js → OYTHLJ2M.js} +2 -2
  24. package/dist/chunk/{2OFDQ2SZ.js → QMEBVOMT.js} +2 -2
  25. package/dist/chunk/{G7SX6LJM.jsx → QPEAMFRL.jsx} +1 -1
  26. package/dist/chunk/{25SXPIIJ.js → SH6FW3EU.js} +2 -2
  27. package/dist/chunk/{ZLUEV2MH.js → SWUMYWUU.js} +2 -2
  28. package/dist/chunk/{ZUWL6SV5.js → TKINUEE2.js} +1 -1
  29. package/dist/chunk/TTICFFSM.jsx +153 -0
  30. package/dist/chunk/{G6DXJP6I.jsx → U3SNCYTA.jsx} +1 -1
  31. package/dist/chunk/{NEP3K5KL.js → VL4J24YY.js} +2 -2
  32. package/dist/chunk/{VRSX3ABE.jsx → Y3SDT2HS.jsx} +3 -3
  33. package/dist/chunk/{3NAD33JF.jsx → YYWITIS7.jsx} +1 -1
  34. package/dist/components/accordion/index.js +1 -1
  35. package/dist/components/angle-slider/index.js +1 -1
  36. package/dist/components/avatar/index.js +1 -1
  37. package/dist/components/carousel/index.js +1 -1
  38. package/dist/components/checkbox/index.d.ts +1 -1
  39. package/dist/components/checkbox/index.js +1 -1
  40. package/dist/components/checkbox/index.jsx +3 -3
  41. package/dist/components/client-only/index.d.ts +9 -0
  42. package/dist/components/client-only/index.js +1 -0
  43. package/dist/components/client-only/index.jsx +7 -0
  44. package/dist/components/collapsible/index.js +1 -1
  45. package/dist/components/color-picker/index.d.ts +1 -1
  46. package/dist/components/color-picker/index.js +1 -1
  47. package/dist/components/color-picker/index.jsx +3 -3
  48. package/dist/components/combobox/index.js +1 -1
  49. package/dist/components/combobox/index.jsx +4 -4
  50. package/dist/components/date-picker/index.d.ts +1 -1
  51. package/dist/components/date-picker/index.js +1 -1
  52. package/dist/components/dialog/index.js +1 -1
  53. package/dist/components/editable/index.js +1 -1
  54. package/dist/components/editable/index.jsx +3 -3
  55. package/dist/components/field/index.d.ts +1 -1
  56. package/dist/components/field/index.js +1 -1
  57. package/dist/components/field/index.jsx +2 -2
  58. package/dist/components/fieldset/index.d.ts +1 -1
  59. package/dist/components/file-upload/index.js +1 -1
  60. package/dist/components/file-upload/index.jsx +3 -3
  61. package/dist/components/floating-panel/index.js +1 -1
  62. package/dist/components/hover-card/index.js +1 -1
  63. package/dist/components/index.d.ts +4 -9
  64. package/dist/components/index.js +47 -46
  65. package/dist/components/index.jsx +367 -340
  66. package/dist/components/json-tree-view/index.js +1 -1
  67. package/dist/components/json-tree-view/index.jsx +1 -1
  68. package/dist/components/listbox/index.js +1 -1
  69. package/dist/components/menu/index.js +1 -1
  70. package/dist/components/number-input/index.js +1 -1
  71. package/dist/components/number-input/index.jsx +3 -3
  72. package/dist/components/pagination/index.js +1 -1
  73. package/dist/components/password-input/index.js +1 -1
  74. package/dist/components/password-input/index.jsx +3 -3
  75. package/dist/components/pin-input/index.js +1 -1
  76. package/dist/components/pin-input/index.jsx +3 -3
  77. package/dist/components/popover/index.js +1 -1
  78. package/dist/components/progress/index.js +1 -1
  79. package/dist/components/qr-code/index.js +1 -1
  80. package/dist/components/radio-group/index.js +1 -1
  81. package/dist/components/rating-group/index.js +1 -1
  82. package/dist/components/rating-group/index.jsx +3 -3
  83. package/dist/components/scroll-area/index.d.ts +75 -0
  84. package/dist/components/scroll-area/index.js +1 -0
  85. package/dist/components/scroll-area/index.jsx +36 -0
  86. package/dist/components/segment-group/index.js +1 -1
  87. package/dist/components/select/index.js +1 -1
  88. package/dist/components/select/index.jsx +4 -4
  89. package/dist/components/signature-pad/index.js +1 -1
  90. package/dist/components/signature-pad/index.jsx +3 -3
  91. package/dist/components/slider/index.js +1 -1
  92. package/dist/components/splitter/index.js +1 -1
  93. package/dist/components/steps/index.js +1 -1
  94. package/dist/components/switch/index.js +1 -1
  95. package/dist/components/switch/index.jsx +3 -3
  96. package/dist/components/tabs/index.js +1 -1
  97. package/dist/components/tags-input/index.js +1 -1
  98. package/dist/components/tags-input/index.jsx +3 -3
  99. package/dist/components/time-picker/index.js +1 -1
  100. package/dist/components/toast/index.js +1 -1
  101. package/dist/components/toggle-group/index.js +1 -1
  102. package/dist/components/tooltip/index.js +1 -1
  103. package/dist/components/tour/index.js +1 -1
  104. package/dist/components/tree-view/index.js +1 -1
  105. package/dist/components/tree-view/index.jsx +1 -1
  106. package/dist/index.d.ts +3 -1
  107. package/dist/index.js +48 -47
  108. package/dist/index.jsx +367 -340
  109. package/dist/providers/index.js +1 -1
  110. package/package.json +60 -59
  111. package/dist/chunk/{EJDY3MNV.js → 2MXPLL4O.js} +1 -1
  112. package/dist/chunk/{4HMULPVI.js → 46K5OEJ2.js} +1 -1
  113. package/dist/chunk/{O5A5KQPC.js → 4HQIDBKB.js} +1 -1
  114. package/dist/chunk/{5AT37PBQ.js → 4VCRFRFE.js} +1 -1
  115. package/dist/chunk/{IWGFJK25.js → 5LNAXBVF.js} +1 -1
  116. package/dist/chunk/{GAB5O55Q.js → BOR6VUN5.js} +1 -1
  117. package/dist/chunk/{NWXJCBMN.js → CMYSDUX6.js} +0 -0
  118. package/dist/chunk/{25PYT2EL.js → DAORON6X.js} +1 -1
  119. package/dist/chunk/{UAANHQJZ.js → DPP7XCXL.js} +1 -1
  120. package/dist/chunk/{NDDTBJO7.js → FFVNMZA6.js} +1 -1
  121. package/dist/chunk/{OVFUGKNG.js → H5DXY5W4.js} +1 -1
  122. package/dist/chunk/{4V2VMH2Z.js → I6UGYR2R.js} +1 -1
  123. package/dist/chunk/{QNCID2OP.js → K43XFCKD.js} +1 -1
  124. package/dist/chunk/{ATEURQUN.js → K6EEABL5.js} +1 -1
  125. package/dist/chunk/{WTNRGPVN.js → LB3LJBHI.js} +1 -1
  126. package/dist/chunk/{HKFF76YQ.js → LORIOKHL.js} +1 -1
  127. package/dist/chunk/{XQNGFJ2M.js → LRA73ZZJ.js} +1 -1
  128. package/dist/chunk/{H7TJLB3R.jsx → LXG74MYL.jsx} +0 -0
  129. package/dist/chunk/{QVOYDN6Q.js → NMJ67UCO.js} +1 -1
  130. package/dist/chunk/{6ATAHZBX.js → OEQFRTGI.js} +1 -1
  131. package/dist/chunk/{7YHVIYNP.js → OKT2RIHV.js} +1 -1
  132. package/dist/chunk/{SGY2KGDL.js → ROUJC6XC.js} +1 -1
  133. package/dist/chunk/{JVZEI5JC.jsx → SCH26OXU.jsx} +3 -3
  134. package/dist/chunk/{OA4CU2PL.js → T4JGZ7KR.js} +1 -1
  135. package/dist/chunk/{LD7P2LR5.js → UMVBUCBO.js} +1 -1
  136. package/dist/chunk/{DNM3SGE5.js → UZXWP4N2.js} +1 -1
  137. package/dist/chunk/{4B53AHD6.js → VQ3I3Z7G.js} +1 -1
  138. package/dist/chunk/{VJ2ZFW6U.js → YJCRGVLK.js} +1 -1
  139. package/dist/chunk/{7SPG2SAG.js → ZHS5GCPH.js} +1 -1
@@ -1,10 +1,10 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
2
1
  import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './SIT3D7TL.js';
2
+ import { useFieldContext } from './YJCRGVLK.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
5
  import { ark } from './EPLBB4QN.js';
6
- import { useLocaleContext } from './OKZ64GSY.js';
7
6
  import { useEnvironmentContext } from './YO2MCGXO.js';
7
+ import { useLocaleContext } from './OKZ64GSY.js';
8
8
  import { createContext } from './TROPIN4C.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { __export } from './ESLJRKWD.js';
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
1
+ import { useFieldContext } from './YJCRGVLK.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
5
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
+ import { useLocaleContext } from './OKZ64GSY.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -0,0 +1 @@
1
+
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./JVZEI5JC.jsx";
3
+ } from "./SCH26OXU.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
1
+ import { useFieldContext } from './YJCRGVLK.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
5
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
+ import { useLocaleContext } from './OKZ64GSY.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
1
+ import { useFieldContext } from './YJCRGVLK.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
5
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
+ import { useLocaleContext } from './OKZ64GSY.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./JVZEI5JC.jsx";
3
+ } from "./SCH26OXU.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
1
+ import { useFieldContext } from './YJCRGVLK.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
5
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
+ import { useLocaleContext } from './OKZ64GSY.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./JVZEI5JC.jsx";
3
+ } from "./SCH26OXU.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
1
+ import { useFieldContext } from './YJCRGVLK.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
5
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
+ import { useLocaleContext } from './OKZ64GSY.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,10 +1,10 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
2
1
  import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './SIT3D7TL.js';
2
+ import { useFieldContext } from './YJCRGVLK.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
5
  import { ark } from './EPLBB4QN.js';
6
- import { useLocaleContext } from './OKZ64GSY.js';
7
6
  import { useEnvironmentContext } from './YO2MCGXO.js';
7
+ import { useLocaleContext } from './OKZ64GSY.js';
8
8
  import { createContext } from './TROPIN4C.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { __export } from './ESLJRKWD.js';
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
1
+ import { useFieldContext } from './YJCRGVLK.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
5
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
+ import { useLocaleContext } from './OKZ64GSY.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
1
+ import { useFieldContext } from './YJCRGVLK.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
5
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
+ import { useLocaleContext } from './OKZ64GSY.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
File without changes
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./JVZEI5JC.jsx";
3
+ } from "./SCH26OXU.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
@@ -0,0 +1,119 @@
1
+ import { createSplitProps } from './ZMHI4GDJ.js';
2
+ import { ark } from './EPLBB4QN.js';
3
+ import { useEnvironmentContext } from './YO2MCGXO.js';
4
+ import { useLocaleContext } from './OKZ64GSY.js';
5
+ import { createContext } from './TROPIN4C.js';
6
+ import { __export } from './ESLJRKWD.js';
7
+ import { createComponent, mergeProps as mergeProps$1 } from 'solid-js/web';
8
+ import { mergeProps, useMachine, normalizeProps } from '@zag-js/solid';
9
+ import * as scrollArea from '@zag-js/scroll-area';
10
+ export { anatomy } from '@zag-js/scroll-area';
11
+ import { createMemo, createUniqueId } from 'solid-js';
12
+
13
+ // src/components/scroll-area/use-scroll-area-context.ts
14
+ var [ScrollAreaProvider, useScrollAreaContext] = createContext({
15
+ hookName: "useScrollAreaContext",
16
+ providerName: "<ScrollAreaProvider />"
17
+ });
18
+
19
+ // src/components/scroll-area/scroll-area-context.tsx
20
+ function ScrollAreaContext(props) {
21
+ return props.children(useScrollAreaContext());
22
+ }
23
+ var ScrollAreaContent = (props) => {
24
+ const scrollArea2 = useScrollAreaContext();
25
+ const mergedProps = mergeProps(() => scrollArea2().getContentProps(), props);
26
+ return createComponent(ark.div, mergedProps);
27
+ };
28
+ var ScrollAreaCorner = (props) => {
29
+ const scrollArea2 = useScrollAreaContext();
30
+ const mergedProps = mergeProps(() => scrollArea2().getCornerProps(), props);
31
+ return createComponent(ark.div, mergedProps);
32
+ };
33
+ var useScrollArea = (props = {}) => {
34
+ const id = createUniqueId();
35
+ const locale = useLocaleContext();
36
+ const environment = useEnvironmentContext();
37
+ const machineProps = createMemo(() => ({
38
+ id,
39
+ dir: locale().dir,
40
+ getRootNode: environment().getRootNode,
41
+ ...props
42
+ }));
43
+ const service = useMachine(scrollArea.machine, machineProps);
44
+ return createMemo(() => scrollArea.connect(service, normalizeProps));
45
+ };
46
+
47
+ // src/components/scroll-area/scroll-area-root.tsx
48
+ var ScrollAreaRoot = (props) => {
49
+ const [useScrollAreaProps, localProps] = createSplitProps()(props, ["id", "ids"]);
50
+ const scrollArea2 = useScrollArea(useScrollAreaProps);
51
+ const mergedProps = mergeProps(() => scrollArea2().getRootProps(), localProps);
52
+ return createComponent(ScrollAreaProvider, {
53
+ value: scrollArea2,
54
+ get children() {
55
+ return createComponent(ark.div, mergedProps);
56
+ }
57
+ });
58
+ };
59
+ var ScrollAreaRootProvider = (props) => {
60
+ const {
61
+ value,
62
+ children,
63
+ ...localProps
64
+ } = props;
65
+ return createComponent(ScrollAreaProvider, {
66
+ value,
67
+ get children() {
68
+ return createComponent(ark.div, mergeProps$1(localProps, {
69
+ children
70
+ }));
71
+ }
72
+ });
73
+ };
74
+
75
+ // src/components/scroll-area/use-scroll-area-scrollbar-context.ts
76
+ var [ScrollAreaScrollbarProvider, useScrollAreaScrollbarContext] = createContext({
77
+ hookName: "useScrollAreaScrollbarContext",
78
+ providerName: "<ScrollAreaScrollbarProvider />"
79
+ });
80
+
81
+ // src/components/scroll-area/scroll-area-scrollbar.tsx
82
+ var ScrollAreaScrollbar = (props) => {
83
+ const [scrollbarProps, localProps] = createSplitProps()(props, ["orientation"]);
84
+ const scrollAreaApi = useScrollAreaContext();
85
+ const mergedProps = mergeProps(() => scrollAreaApi().getScrollbarProps(scrollbarProps), localProps);
86
+ const scrollbarContext = createMemo(() => scrollbarProps);
87
+ return createComponent(ScrollAreaScrollbarProvider, {
88
+ value: scrollbarContext,
89
+ get children() {
90
+ return createComponent(ark.div, mergedProps);
91
+ }
92
+ });
93
+ };
94
+ var ScrollAreaThumb = (props) => {
95
+ const scrollAreaApi = useScrollAreaContext();
96
+ const scrollbarProps = useScrollAreaScrollbarContext();
97
+ const mergedProps = mergeProps(() => scrollAreaApi().getThumbProps(scrollbarProps()), props);
98
+ return createComponent(ark.div, mergedProps);
99
+ };
100
+ var ScrollAreaViewport = (props) => {
101
+ const scrollArea2 = useScrollAreaContext();
102
+ const mergedProps = mergeProps(() => scrollArea2().getViewportProps(), props);
103
+ return createComponent(ark.div, mergedProps);
104
+ };
105
+
106
+ // src/components/scroll-area/scroll-area.ts
107
+ var scroll_area_exports = {};
108
+ __export(scroll_area_exports, {
109
+ Content: () => ScrollAreaContent,
110
+ Context: () => ScrollAreaContext,
111
+ Corner: () => ScrollAreaCorner,
112
+ Root: () => ScrollAreaRoot,
113
+ RootProvider: () => ScrollAreaRootProvider,
114
+ Scrollbar: () => ScrollAreaScrollbar,
115
+ Thumb: () => ScrollAreaThumb,
116
+ Viewport: () => ScrollAreaViewport
117
+ });
118
+
119
+ export { ScrollAreaContent, ScrollAreaContext, ScrollAreaCorner, ScrollAreaRoot, ScrollAreaRootProvider, ScrollAreaScrollbar, ScrollAreaThumb, ScrollAreaViewport, scroll_area_exports, useScrollArea, useScrollAreaContext };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./JVZEI5JC.jsx";
3
+ } from "./SCH26OXU.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
@@ -1,12 +1,12 @@
1
- import {
2
- useFieldContext
3
- } from "./JVZEI5JC.jsx";
4
1
  import {
5
2
  PresenceProvider,
6
3
  splitPresenceProps,
7
4
  usePresence,
8
5
  usePresenceContext
9
6
  } from "./4LUY46IM.jsx";
7
+ import {
8
+ useFieldContext
9
+ } from "./SCH26OXU.jsx";
10
10
  import {
11
11
  composeRefs
12
12
  } from "./PT2CJE3O.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
1
+ import { useFieldContext } from './YJCRGVLK.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
5
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
+ import { useLocaleContext } from './OKZ64GSY.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./JVZEI5JC.jsx";
3
+ } from "./SCH26OXU.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
@@ -1,12 +1,12 @@
1
- import {
2
- useFieldContext
3
- } from "./JVZEI5JC.jsx";
4
1
  import {
5
2
  PresenceProvider,
6
3
  splitPresenceProps,
7
4
  usePresence,
8
5
  usePresenceContext
9
6
  } from "./4LUY46IM.jsx";
7
+ import {
8
+ useFieldContext
9
+ } from "./SCH26OXU.jsx";
10
10
  import {
11
11
  composeRefs
12
12
  } from "./PT2CJE3O.jsx";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./JVZEI5JC.jsx";
3
+ } from "./SCH26OXU.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
1
+ import { useFieldContext } from './YJCRGVLK.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
5
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
+ import { useLocaleContext } from './OKZ64GSY.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,10 +1,10 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
2
1
  import { splitPresenceProps, usePresence, PresenceProvider, usePresenceContext } from './SIT3D7TL.js';
2
+ import { useFieldContext } from './YJCRGVLK.js';
3
3
  import { composeRefs } from './ROP6QZQ7.js';
4
4
  import { createSplitProps } from './ZMHI4GDJ.js';
5
5
  import { ark } from './EPLBB4QN.js';
6
- import { useLocaleContext } from './OKZ64GSY.js';
7
6
  import { useEnvironmentContext } from './YO2MCGXO.js';
7
+ import { useLocaleContext } from './OKZ64GSY.js';
8
8
  import { createContext } from './TROPIN4C.js';
9
9
  import { runIfFn } from './DT73WLR4.js';
10
10
  import { __export } from './ESLJRKWD.js';
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./JVZEI5JC.jsx";
3
+ } from "./SCH26OXU.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
@@ -1,8 +1,8 @@
1
- import { useFieldContext } from './VJ2ZFW6U.js';
1
+ import { useFieldContext } from './YJCRGVLK.js';
2
2
  import { createSplitProps } from './ZMHI4GDJ.js';
3
3
  import { ark } from './EPLBB4QN.js';
4
- import { useLocaleContext } from './OKZ64GSY.js';
5
4
  import { useEnvironmentContext } from './YO2MCGXO.js';
5
+ import { useLocaleContext } from './OKZ64GSY.js';
6
6
  import { createContext } from './TROPIN4C.js';
7
7
  import { runIfFn } from './DT73WLR4.js';
8
8
  import { __export } from './ESLJRKWD.js';
@@ -1,9 +1,9 @@
1
- import { collapsible_exports } from './SGY2KGDL.js';
1
+ import { collapsible_exports } from './ROUJC6XC.js';
2
2
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './QFAL6GWC.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useLocaleContext } from './OKZ64GSY.js';
6
5
  import { useEnvironmentContext } from './YO2MCGXO.js';
6
+ import { useLocaleContext } from './OKZ64GSY.js';
7
7
  import { createContext } from './TROPIN4C.js';
8
8
  import { runIfFn } from './DT73WLR4.js';
9
9
  import { __export } from './ESLJRKWD.js';
@@ -1,4 +1,4 @@
1
- import { useTreeViewContext, tree_view_exports, useTreeView } from './ZLUEV2MH.js';
1
+ import { useTreeViewContext, tree_view_exports, useTreeView } from './SWUMYWUU.js';
2
2
  import { createTreeCollection } from './O5UHP4CA.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { createContext } from './TROPIN4C.js';
@@ -0,0 +1,153 @@
1
+ import {
2
+ createSplitProps
3
+ } from "./6WEDGJKQ.jsx";
4
+ import {
5
+ ark
6
+ } from "./UFYZ7HLU.jsx";
7
+ import {
8
+ useEnvironmentContext
9
+ } from "./6J5H27AQ.jsx";
10
+ import {
11
+ useLocaleContext
12
+ } from "./YUC6JE7K.jsx";
13
+ import {
14
+ createContext
15
+ } from "./TVCIHLER.jsx";
16
+ import {
17
+ __export
18
+ } from "./7IUG3E2V.jsx";
19
+
20
+ // src/components/scroll-area/use-scroll-area-context.ts
21
+ var [ScrollAreaProvider, useScrollAreaContext] = createContext({
22
+ hookName: "useScrollAreaContext",
23
+ providerName: "<ScrollAreaProvider />"
24
+ });
25
+
26
+ // src/components/scroll-area/scroll-area-context.tsx
27
+ function ScrollAreaContext(props) {
28
+ return props.children(useScrollAreaContext());
29
+ }
30
+
31
+ // src/components/scroll-area/scroll-area-content.tsx
32
+ import { mergeProps } from "@zag-js/solid";
33
+ var ScrollAreaContent = (props) => {
34
+ const scrollArea2 = useScrollAreaContext();
35
+ const mergedProps = mergeProps(() => scrollArea2().getContentProps(), props);
36
+ return <ark.div {...mergedProps} />;
37
+ };
38
+
39
+ // src/components/scroll-area/scroll-area-corner.tsx
40
+ import { mergeProps as mergeProps2 } from "@zag-js/solid";
41
+ var ScrollAreaCorner = (props) => {
42
+ const scrollArea2 = useScrollAreaContext();
43
+ const mergedProps = mergeProps2(() => scrollArea2().getCornerProps(), props);
44
+ return <ark.div {...mergedProps} />;
45
+ };
46
+
47
+ // src/components/scroll-area/scroll-area-root.tsx
48
+ import { mergeProps as mergeProps3 } from "@zag-js/solid";
49
+
50
+ // src/components/scroll-area/use-scroll-area.ts
51
+ import * as scrollArea from "@zag-js/scroll-area";
52
+ import { normalizeProps, useMachine } from "@zag-js/solid";
53
+ import { createMemo, createUniqueId } from "solid-js";
54
+ var useScrollArea = (props = {}) => {
55
+ const id = createUniqueId();
56
+ const locale = useLocaleContext();
57
+ const environment = useEnvironmentContext();
58
+ const machineProps = createMemo(() => ({
59
+ id,
60
+ dir: locale().dir,
61
+ getRootNode: environment().getRootNode,
62
+ ...props
63
+ }));
64
+ const service = useMachine(scrollArea.machine, machineProps);
65
+ return createMemo(() => scrollArea.connect(service, normalizeProps));
66
+ };
67
+
68
+ // src/components/scroll-area/scroll-area-root.tsx
69
+ var ScrollAreaRoot = (props) => {
70
+ const [useScrollAreaProps, localProps] = createSplitProps()(props, ["id", "ids"]);
71
+ const scrollArea2 = useScrollArea(useScrollAreaProps);
72
+ const mergedProps = mergeProps3(() => scrollArea2().getRootProps(), localProps);
73
+ return <ScrollAreaProvider value={scrollArea2}>
74
+ <ark.div {...mergedProps} />
75
+ </ScrollAreaProvider>;
76
+ };
77
+
78
+ // src/components/scroll-area/scroll-area-root-provider.tsx
79
+ var ScrollAreaRootProvider = (props) => {
80
+ const { value, children, ...localProps } = props;
81
+ return <ScrollAreaProvider value={value}>
82
+ <ark.div {...localProps}>{children}</ark.div>
83
+ </ScrollAreaProvider>;
84
+ };
85
+
86
+ // src/components/scroll-area/scroll-area-scrollbar.tsx
87
+ import { mergeProps as mergeProps4 } from "@zag-js/solid";
88
+ import { createMemo as createMemo2 } from "solid-js";
89
+
90
+ // src/components/scroll-area/use-scroll-area-scrollbar-context.ts
91
+ var [ScrollAreaScrollbarProvider, useScrollAreaScrollbarContext] = createContext({
92
+ hookName: "useScrollAreaScrollbarContext",
93
+ providerName: "<ScrollAreaScrollbarProvider />"
94
+ });
95
+
96
+ // src/components/scroll-area/scroll-area-scrollbar.tsx
97
+ var ScrollAreaScrollbar = (props) => {
98
+ const [scrollbarProps, localProps] = createSplitProps()(props, ["orientation"]);
99
+ const scrollAreaApi = useScrollAreaContext();
100
+ const mergedProps = mergeProps4(() => scrollAreaApi().getScrollbarProps(scrollbarProps), localProps);
101
+ const scrollbarContext = createMemo2(() => scrollbarProps);
102
+ return <ScrollAreaScrollbarProvider value={scrollbarContext}>
103
+ <ark.div {...mergedProps} />
104
+ </ScrollAreaScrollbarProvider>;
105
+ };
106
+
107
+ // src/components/scroll-area/scroll-area-thumb.tsx
108
+ import { mergeProps as mergeProps5 } from "@zag-js/solid";
109
+ var ScrollAreaThumb = (props) => {
110
+ const scrollAreaApi = useScrollAreaContext();
111
+ const scrollbarProps = useScrollAreaScrollbarContext();
112
+ const mergedProps = mergeProps5(() => scrollAreaApi().getThumbProps(scrollbarProps()), props);
113
+ return <ark.div {...mergedProps} />;
114
+ };
115
+
116
+ // src/components/scroll-area/scroll-area-viewport.tsx
117
+ import { mergeProps as mergeProps6 } from "@zag-js/solid";
118
+ var ScrollAreaViewport = (props) => {
119
+ const scrollArea2 = useScrollAreaContext();
120
+ const mergedProps = mergeProps6(() => scrollArea2().getViewportProps(), props);
121
+ return <ark.div {...mergedProps} />;
122
+ };
123
+
124
+ // src/components/scroll-area/scroll-area.anatomy.ts
125
+ import { anatomy } from "@zag-js/scroll-area";
126
+
127
+ // src/components/scroll-area/scroll-area.ts
128
+ var scroll_area_exports = {};
129
+ __export(scroll_area_exports, {
130
+ Content: () => ScrollAreaContent,
131
+ Context: () => ScrollAreaContext,
132
+ Corner: () => ScrollAreaCorner,
133
+ Root: () => ScrollAreaRoot,
134
+ RootProvider: () => ScrollAreaRootProvider,
135
+ Scrollbar: () => ScrollAreaScrollbar,
136
+ Thumb: () => ScrollAreaThumb,
137
+ Viewport: () => ScrollAreaViewport
138
+ });
139
+
140
+ export {
141
+ useScrollAreaContext,
142
+ ScrollAreaContext,
143
+ ScrollAreaContent,
144
+ ScrollAreaCorner,
145
+ useScrollArea,
146
+ ScrollAreaRoot,
147
+ ScrollAreaRootProvider,
148
+ ScrollAreaScrollbar,
149
+ ScrollAreaThumb,
150
+ ScrollAreaViewport,
151
+ anatomy,
152
+ scroll_area_exports
153
+ };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./JVZEI5JC.jsx";
3
+ } from "./SCH26OXU.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
@@ -1,9 +1,9 @@
1
- import { useCollapsibleContext, collapsible_exports } from './SGY2KGDL.js';
1
+ import { useCollapsibleContext, collapsible_exports } from './ROUJC6XC.js';
2
2
  import { splitRenderStrategyProps, RenderStrategyProvider, useRenderStrategyContext } from './QFAL6GWC.js';
3
3
  import { createSplitProps } from './ZMHI4GDJ.js';
4
4
  import { ark } from './EPLBB4QN.js';
5
- import { useLocaleContext } from './OKZ64GSY.js';
6
5
  import { useEnvironmentContext } from './YO2MCGXO.js';
6
+ import { useLocaleContext } from './OKZ64GSY.js';
7
7
  import { createContext } from './TROPIN4C.js';
8
8
  import { runIfFn } from './DT73WLR4.js';
9
9
  import { __export } from './ESLJRKWD.js';
@@ -1,12 +1,12 @@
1
- import {
2
- useFieldContext
3
- } from "./JVZEI5JC.jsx";
4
1
  import {
5
2
  PresenceProvider,
6
3
  splitPresenceProps,
7
4
  usePresence,
8
5
  usePresenceContext
9
6
  } from "./4LUY46IM.jsx";
7
+ import {
8
+ useFieldContext
9
+ } from "./SCH26OXU.jsx";
10
10
  import {
11
11
  composeRefs
12
12
  } from "./PT2CJE3O.jsx";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useFieldContext
3
- } from "./JVZEI5JC.jsx";
3
+ } from "./SCH26OXU.jsx";
4
4
  import {
5
5
  createSplitProps
6
6
  } from "./6WEDGJKQ.jsx";
@@ -1 +1 @@
1
- export { accordion_exports as Accordion, AccordionContext, AccordionItem, AccordionItemContent, AccordionItemContext, AccordionItemIndicator, AccordionItemTrigger, AccordionRoot, AccordionRootProvider, anatomy as accordionAnatomy, useAccordion, useAccordionContext, useAccordionItemContext } from '../../chunk/NEP3K5KL.js';
1
+ export { accordion_exports as Accordion, AccordionContext, AccordionItem, AccordionItemContent, AccordionItemContext, AccordionItemIndicator, AccordionItemTrigger, AccordionRoot, AccordionRootProvider, anatomy as accordionAnatomy, useAccordion, useAccordionContext, useAccordionItemContext } from '../../chunk/VL4J24YY.js';
@@ -1 +1 @@
1
- export { angle_slider_exports as AngleSlider, AngleSliderContext, AngleSliderControl, AngleSliderHiddenInput, AngleSliderLabel, AngleSliderMarker, AngleSliderMarkerGroup, AngleSliderRoot, AngleSliderRootProvider, AngleSliderThumb, AngleSliderValueText, anatomy as angleSliderAnatomy, useAngleSlider, useAngleSliderContext } from '../../chunk/WTNRGPVN.js';
1
+ export { angle_slider_exports as AngleSlider, AngleSliderContext, AngleSliderControl, AngleSliderHiddenInput, AngleSliderLabel, AngleSliderMarker, AngleSliderMarkerGroup, AngleSliderRoot, AngleSliderRootProvider, AngleSliderThumb, AngleSliderValueText, anatomy as angleSliderAnatomy, useAngleSlider, useAngleSliderContext } from '../../chunk/LB3LJBHI.js';
@@ -1 +1 @@
1
- export { avatar_exports as Avatar, AvatarContext, AvatarFallback, AvatarImage, AvatarRoot, AvatarRootProvider, anatomy as avatarAnatomy, useAvatar, useAvatarContext } from '../../chunk/GAB5O55Q.js';
1
+ export { avatar_exports as Avatar, AvatarContext, AvatarFallback, AvatarImage, AvatarRoot, AvatarRootProvider, anatomy as avatarAnatomy, useAvatar, useAvatarContext } from '../../chunk/BOR6VUN5.js';
@@ -1 +1 @@
1
- export { carousel_exports as Carousel, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselRootProvider, anatomy as carouselAnatomy, useCarousel, useCarouselContext } from '../../chunk/7YHVIYNP.js';
1
+ export { carousel_exports as Carousel, CarouselAutoplayTrigger, CarouselContext, CarouselControl, CarouselIndicator, CarouselIndicatorGroup, CarouselItem, CarouselItemGroup, CarouselNextTrigger, CarouselPrevTrigger, CarouselRoot, CarouselRootProvider, anatomy as carouselAnatomy, useCarousel, useCarouselContext } from '../../chunk/OKT2RIHV.js';
@@ -139,7 +139,7 @@ interface CheckboxRootProviderProps extends HTMLProps<'label'>, RootProviderProp
139
139
  }
140
140
  declare const CheckboxRootProvider: (props: CheckboxRootProviderProps) => solid_js.JSX.Element;
141
141
 
142
- declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "root" | "group" | "control" | "indicator">;
142
+ declare const checkboxAnatomy: _zag_js_anatomy.AnatomyInstance<"label" | "group" | "root" | "control" | "indicator">;
143
143
 
144
144
  declare const checkbox_CheckedChangeDetails: typeof CheckedChangeDetails;
145
145
  declare const checkbox_CheckedState: typeof CheckedState;