@gv-tech/ui-web 2.20.0 → 2.21.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 (287) hide show
  1. package/dist/accordion-Be1vGv6M.js +1 -0
  2. package/dist/accordion-DXnU0LgU.mjs +221 -0
  3. package/dist/accordion.cjs +1 -1
  4. package/dist/accordion.mjs +3 -259
  5. package/dist/alert-dialog-BXRY0Ghq.js +7 -0
  6. package/dist/alert-dialog-fcZ-sL7h.mjs +164 -0
  7. package/dist/alert-dialog.cjs +1 -7
  8. package/dist/alert-dialog.mjs +4 -171
  9. package/dist/alert.cjs +1 -1
  10. package/dist/alert.mjs +35 -32
  11. package/dist/aspect-ratio-BP5HarYZ.js +1 -0
  12. package/dist/aspect-ratio-Bp8HMg-1.mjs +33 -0
  13. package/dist/aspect-ratio.cjs +1 -1
  14. package/dist/aspect-ratio.mjs +3 -43
  15. package/dist/avatar-klFl8Sqa.js +1 -0
  16. package/dist/avatar-vGm9JN1a.mjs +184 -0
  17. package/dist/avatar.cjs +1 -1
  18. package/dist/avatar.mjs +3 -205
  19. package/dist/badge.cjs +1 -1
  20. package/dist/badge.mjs +21 -24
  21. package/dist/breadcrumb.cjs +1 -1
  22. package/dist/breadcrumb.mjs +60 -68
  23. package/dist/button.cjs +1 -1
  24. package/dist/button.mjs +40 -40
  25. package/dist/calendar-aIuSXzs7.js +1 -0
  26. package/dist/calendar-oitID53a.mjs +3154 -0
  27. package/dist/calendar.cjs +1 -1
  28. package/dist/calendar.mjs +4 -2976
  29. package/dist/card.cjs +1 -1
  30. package/dist/card.mjs +42 -32
  31. package/dist/carousel-BjTSkVh9.js +1 -0
  32. package/dist/carousel-CENzZCXN.mjs +1178 -0
  33. package/dist/carousel.cjs +1 -1
  34. package/dist/carousel.mjs +4 -1403
  35. package/dist/chart.cjs +4 -4
  36. package/dist/chart.d.ts +3 -35
  37. package/dist/chart.mjs +123 -182
  38. package/dist/checkbox-Bwq7mXA2.mjs +170 -0
  39. package/dist/checkbox-DzEO1q4R.js +1 -0
  40. package/dist/checkbox.cjs +1 -1
  41. package/dist/checkbox.mjs +3 -258
  42. package/dist/collapsible.cjs +1 -1
  43. package/dist/collapsible.mjs +6 -7
  44. package/dist/command-D7hksKY6.js +1 -0
  45. package/dist/command-Ws_iF1hM.mjs +531 -0
  46. package/dist/command.cjs +1 -1
  47. package/dist/command.mjs +3 -396
  48. package/dist/context-menu-DJbgNJ7N.js +1 -0
  49. package/dist/context-menu-fu39gePi.mjs +292 -0
  50. package/dist/context-menu.cjs +1 -1
  51. package/dist/context-menu.mjs +3 -328
  52. package/dist/dialog.cjs +1 -1
  53. package/dist/dialog.mjs +50 -66
  54. package/dist/dist-0FXx-pUX.js +1 -0
  55. package/dist/dist-4A0ut6a8.mjs +10 -0
  56. package/dist/dist-ALQAoSGx.mjs +10 -0
  57. package/dist/dist-B4N_7Tps.js +1 -0
  58. package/dist/dist-B5776DvK.js +5 -0
  59. package/dist/dist-B57mzJP3.mjs +28 -0
  60. package/dist/dist-B5VmV2K7.js +1 -0
  61. package/dist/dist-BBRD-Qfb.js +1 -0
  62. package/dist/dist-BC_VB6JL.mjs +25 -0
  63. package/dist/dist-BKFtvTm8.mjs +6 -0
  64. package/dist/dist-BUS_s_6N.js +1 -0
  65. package/dist/dist-BVKPqhkg.js +1 -0
  66. package/dist/dist-Ba7mQG9D.mjs +117 -0
  67. package/dist/dist-BeFCyPgD.js +1 -0
  68. package/dist/dist-Bf4P28CV.js +1 -0
  69. package/dist/dist-BfFVoFJN.js +1 -0
  70. package/dist/dist-BhtQH_6Z.js +1 -0
  71. package/dist/dist-BmjFh8i_.mjs +5 -0
  72. package/dist/dist-BrCTkQXt.mjs +62 -0
  73. package/dist/dist-BxmpAHsT.mjs +219 -0
  74. package/dist/dist-C2ArLRnq.js +1 -0
  75. package/dist/dist-C2pRTcV_.mjs +62 -0
  76. package/dist/dist-C9wnUiS4.mjs +27 -0
  77. package/dist/dist-CIRItnqs.js +1 -0
  78. package/dist/dist-CL1DhkaL.js +1 -0
  79. package/dist/dist-CRe7xawr.js +1 -0
  80. package/dist/dist-CUFjt0cI.js +1 -0
  81. package/dist/dist-CaaGWewc.mjs +557 -0
  82. package/dist/dist-Ci2whnVp.js +1 -0
  83. package/dist/dist-CmBtqW5f.js +1 -0
  84. package/dist/dist-CsEsK2jW.js +1 -0
  85. package/dist/dist-CscAxhT8.js +1 -0
  86. package/dist/dist-CvtF5JdF.mjs +95 -0
  87. package/dist/dist-Cvwtowos.mjs +77 -0
  88. package/dist/dist-D2f83VMO.mjs +73 -0
  89. package/dist/dist-Dh_jWJh-.mjs +11 -0
  90. package/dist/dist-DikyKBU3.mjs +12 -0
  91. package/dist/dist-DmmUjo_P.js +1 -0
  92. package/dist/dist-DqvQ5UFr.mjs +38 -0
  93. package/dist/dist-FGQAMrhH.mjs +29 -0
  94. package/dist/dist-Jtk3jeb9.mjs +18 -0
  95. package/dist/dist-Kqk0oQYU.js +1 -0
  96. package/dist/dist-VI9bl_Wk.mjs +45 -0
  97. package/dist/dist-Z7lEV5Nx.mjs +1282 -0
  98. package/dist/dist-_Osar3kp.js +1 -0
  99. package/dist/dist-bDoR0CBU.mjs +112 -0
  100. package/dist/dist-cRjbOZRf.js +1 -0
  101. package/dist/dist-d_pecHgw.mjs +66 -0
  102. package/dist/dist-r36zVVcK.js +1 -0
  103. package/dist/dist-sRlXdzvf.mjs +152 -0
  104. package/dist/drawer.cjs +1 -1
  105. package/dist/drawer.mjs +48 -54
  106. package/dist/dropdown-menu-BGkQXJ-r.mjs +288 -0
  107. package/dist/dropdown-menu-uGMnmGL-.js +1 -0
  108. package/dist/dropdown-menu.cjs +1 -1
  109. package/dist/dropdown-menu.mjs +3 -316
  110. package/dist/es2015-Cx0gpR1a.js +41 -0
  111. package/dist/es2015-a1b8kENC.mjs +701 -0
  112. package/dist/form.cjs +1 -1
  113. package/dist/form.mjs +76 -67
  114. package/dist/hover-card-DdIYJP-Q.mjs +167 -0
  115. package/dist/hover-card-Ua-2KlY-.js +1 -0
  116. package/dist/hover-card.cjs +1 -1
  117. package/dist/hover-card.mjs +3 -188
  118. package/dist/index.cjs +1 -1
  119. package/dist/index.d.ts +3 -35
  120. package/dist/index.mjs +56 -296
  121. package/dist/input.cjs +1 -1
  122. package/dist/input.mjs +14 -19
  123. package/dist/jsx-runtime-CN3qjQQx.js +6 -0
  124. package/dist/jsx-runtime-CW53Uo-e.mjs +189 -0
  125. package/dist/label-8YSUv4kt.js +1 -0
  126. package/dist/label-Bur66PVg.mjs +22 -0
  127. package/dist/label.cjs +1 -1
  128. package/dist/label.mjs +3 -22
  129. package/dist/menubar-Bq1Sfbf5.js +1 -0
  130. package/dist/menubar-D2fY6zkQ.mjs +410 -0
  131. package/dist/menubar.cjs +1 -1
  132. package/dist/menubar.mjs +3 -473
  133. package/dist/navigation-menu-BuOakbgA.mjs +602 -0
  134. package/dist/navigation-menu-so6EvLAY.js +1 -0
  135. package/dist/navigation-menu.cjs +1 -1
  136. package/dist/navigation-menu.mjs +3 -673
  137. package/dist/pagination.cjs +1 -1
  138. package/dist/pagination.mjs +63 -68
  139. package/dist/popover-BUADXRkO.mjs +201 -0
  140. package/dist/popover-nBrSPqHk.js +1 -0
  141. package/dist/popover.cjs +1 -1
  142. package/dist/popover.mjs +3 -242
  143. package/dist/progress-BTApMbqg.js +6 -0
  144. package/dist/progress-BbN-RNvs.mjs +81 -0
  145. package/dist/progress.cjs +1 -6
  146. package/dist/progress.mjs +3 -99
  147. package/dist/radio-group-C5oprOrt.mjs +193 -0
  148. package/dist/radio-group-FDXr6VLM.js +1 -0
  149. package/dist/radio-group.cjs +1 -1
  150. package/dist/radio-group.mjs +3 -253
  151. package/dist/resizable-ChdgCzzx.mjs +1534 -0
  152. package/dist/resizable-ztiFzq_y.js +1 -0
  153. package/dist/resizable.cjs +1 -1
  154. package/dist/resizable.mjs +3 -1990
  155. package/dist/scroll-area-3o0-cc3n.mjs +520 -0
  156. package/dist/scroll-area-DXZqIKXN.js +1 -0
  157. package/dist/scroll-area.cjs +1 -1
  158. package/dist/scroll-area.mjs +3 -546
  159. package/dist/scroll-to-top.cjs +1 -1
  160. package/dist/scroll-to-top.mjs +71 -84
  161. package/dist/search.cjs +1 -1
  162. package/dist/search.mjs +53 -63
  163. package/dist/select-B2qM503G.mjs +744 -0
  164. package/dist/select-BHCeW-MD.js +1 -0
  165. package/dist/select.cjs +1 -1
  166. package/dist/select.mjs +3 -908
  167. package/dist/separator-BZJ-SDvg.js +1 -0
  168. package/dist/separator-DJ_IwKUQ.mjs +31 -0
  169. package/dist/separator.cjs +1 -1
  170. package/dist/separator.mjs +3 -35
  171. package/dist/sheet.cjs +1 -1
  172. package/dist/sheet.mjs +59 -66
  173. package/dist/skeleton.cjs +1 -1
  174. package/dist/skeleton.mjs +13 -7
  175. package/dist/slider-CJJPQ0fH.mjs +366 -0
  176. package/dist/slider-DHccqrW2.js +1 -0
  177. package/dist/slider.cjs +1 -1
  178. package/dist/slider.mjs +3 -442
  179. package/dist/sonner.cjs +1 -1
  180. package/dist/sonner.mjs +21 -24
  181. package/dist/support-fab.cjs +1 -1
  182. package/dist/support-fab.mjs +81 -117
  183. package/dist/switch-BbcAUYjl.mjs +103 -0
  184. package/dist/switch-DZfRzgWs.js +1 -0
  185. package/dist/switch.cjs +1 -1
  186. package/dist/switch.mjs +3 -149
  187. package/dist/table-of-contents.cjs +1 -1
  188. package/dist/table-of-contents.mjs +159 -155
  189. package/dist/table.cjs +1 -1
  190. package/dist/table.mjs +58 -57
  191. package/dist/tabs-BEy0IIV0.js +1 -0
  192. package/dist/tabs-DqAKyl9T.mjs +136 -0
  193. package/dist/tabs.cjs +1 -1
  194. package/dist/tabs.mjs +3 -195
  195. package/dist/text.cjs +1 -1
  196. package/dist/text.mjs +41 -42
  197. package/dist/textarea.cjs +1 -1
  198. package/dist/textarea.mjs +12 -17
  199. package/dist/theme-provider.cjs +1 -1
  200. package/dist/theme-provider.mjs +15 -7
  201. package/dist/theme-toggle-DKQmD-FO.js +1 -0
  202. package/dist/theme-toggle-dQbFWNI8.mjs +65 -0
  203. package/dist/theme-toggle.cjs +1 -1
  204. package/dist/theme-toggle.mjs +3 -8
  205. package/dist/toast-C84Cpidq.js +1 -0
  206. package/dist/toast-CQbUslcw.mjs +427 -0
  207. package/dist/toast.cjs +1 -1
  208. package/dist/toast.mjs +3 -494
  209. package/dist/toaster-BpcpNRz1.js +1 -0
  210. package/dist/toaster-i6giQYiq.mjs +126 -0
  211. package/dist/toaster.cjs +1 -1
  212. package/dist/toaster.mjs +3 -6
  213. package/dist/toggle-group-B2S7fkhA.mjs +155 -0
  214. package/dist/toggle-group-BNn6MNiJ.js +1 -0
  215. package/dist/toggle-group.cjs +1 -1
  216. package/dist/toggle-group.mjs +3 -170
  217. package/dist/toggle.cjs +1 -1
  218. package/dist/toggle.mjs +19 -14
  219. package/dist/tooltip-CElrNodA.js +1 -0
  220. package/dist/tooltip-oKfTBTbv.mjs +364 -0
  221. package/dist/tooltip.cjs +1 -1
  222. package/dist/tooltip.mjs +3 -342
  223. package/dist/utils-BxDanjP7.js +1 -0
  224. package/dist/utils-yc5uc46c.mjs +11 -0
  225. package/package.json +2 -2
  226. package/src/chart.tsx +7 -7
  227. package/src/setupTests.ts +5 -4
  228. package/dist/index-0ioNhtNM.mjs +0 -10
  229. package/dist/index-3j-XAIXT.mjs +0 -55
  230. package/dist/index-B2XtpfGY.js +0 -1
  231. package/dist/index-B39Lzq0v.js +0 -1
  232. package/dist/index-B7n6fy75.js +0 -1
  233. package/dist/index-B8dxbSWX.js +0 -41
  234. package/dist/index-BGIK9FQF.js +0 -1
  235. package/dist/index-BZPx6jYI.mjs +0 -8
  236. package/dist/index-BoNjHhm4.js +0 -1
  237. package/dist/index-BtZvtDmp.js +0 -1
  238. package/dist/index-Bv7qrYW6.mjs +0 -180
  239. package/dist/index-ByiPJW53.js +0 -5
  240. package/dist/index-C0dlIQIi.js +0 -1
  241. package/dist/index-C1qb0595.mjs +0 -27
  242. package/dist/index-C7HEunrh.mjs +0 -15
  243. package/dist/index-C8ni3LLa.js +0 -1
  244. package/dist/index-CCKe-Mpx.mjs +0 -6
  245. package/dist/index-CD6_IrA-.mjs +0 -10
  246. package/dist/index-CRyCZJLa.mjs +0 -677
  247. package/dist/index-CVx1AgNG.mjs +0 -615
  248. package/dist/index-Ce5TOFAK.js +0 -1
  249. package/dist/index-CeSLNJ60.mjs +0 -32
  250. package/dist/index-CefEQe_4.js +0 -1
  251. package/dist/index-Cj5hzyBi.js +0 -1
  252. package/dist/index-Cjj_rUPu.js +0 -1
  253. package/dist/index-Cl3G0jzM.js +0 -1
  254. package/dist/index-CwfE56Ep.mjs +0 -1545
  255. package/dist/index-CwyAfCwY.js +0 -1
  256. package/dist/index-CzY-WZXL.js +0 -1
  257. package/dist/index-D2HnlO3y.js +0 -1
  258. package/dist/index-DFdF7K7v.mjs +0 -50
  259. package/dist/index-DIsg7zU7.js +0 -1
  260. package/dist/index-DKN_vhyX.mjs +0 -32
  261. package/dist/index-DLcqcWxM.mjs +0 -29
  262. package/dist/index-DSxf1gN6.mjs +0 -118
  263. package/dist/index-DYxWvftI.js +0 -1
  264. package/dist/index-DaILh3TV.mjs +0 -32
  265. package/dist/index-Dfzl8TxY.mjs +0 -136
  266. package/dist/index-Dko2XdTk.js +0 -1
  267. package/dist/index-DlY82G31.mjs +0 -245
  268. package/dist/index-DnFcfnA9.mjs +0 -13
  269. package/dist/index-IZ2gq03c.mjs +0 -68
  270. package/dist/index-K9FzbxYw.mjs +0 -93
  271. package/dist/index-Le8p9oP4.mjs +0 -60
  272. package/dist/index-MQ0c3ZX_.js +0 -1
  273. package/dist/index-_XxjJPRD.js +0 -1
  274. package/dist/index-_wdrnYim.js +0 -1
  275. package/dist/index-jv3B4mTd.js +0 -1
  276. package/dist/index-kaM0u2Q1.js +0 -1
  277. package/dist/index-p6xVFRb4.mjs +0 -52
  278. package/dist/index-rKs9bXHr.mjs +0 -6
  279. package/dist/index-vuPgkS0V.mjs +0 -70
  280. package/dist/jsx-runtime-nZSsnGb7.js +0 -6
  281. package/dist/jsx-runtime-tc70JA_2.mjs +0 -264
  282. package/dist/theme-toggle-DXQGNfCe.js +0 -1
  283. package/dist/theme-toggle-tHXIbr8W.mjs +0 -79
  284. package/dist/toaster-C_S9hnXa.js +0 -1
  285. package/dist/toaster-k5DnQSsh.mjs +0 -118
  286. package/dist/utils-DY6fhrgS.mjs +0 -12
  287. package/dist/utils-cdbZV8DZ.js +0 -1
@@ -0,0 +1,77 @@
1
+ import { t as e } from "./jsx-runtime-CW53Uo-e.mjs";
2
+ import * as t from "react";
3
+ //#region ../../node_modules/.bun/@radix-ui+react-context@1.1.2+7adf8d6cb8833b18/node_modules/@radix-ui/react-context/dist/index.mjs
4
+ var n = e();
5
+ function r(e, r) {
6
+ let i = t.createContext(r), a = (e) => {
7
+ let { children: r, ...a } = e, o = t.useMemo(() => a, Object.values(a));
8
+ return /* @__PURE__ */ (0, n.jsx)(i.Provider, {
9
+ value: o,
10
+ children: r
11
+ });
12
+ };
13
+ a.displayName = e + "Provider";
14
+ function o(n) {
15
+ let a = t.useContext(i);
16
+ if (a) return a;
17
+ if (r !== void 0) return r;
18
+ throw Error(`\`${n}\` must be used within \`${e}\``);
19
+ }
20
+ return [a, o];
21
+ }
22
+ function i(e, r = []) {
23
+ let i = [];
24
+ function o(r, a) {
25
+ let o = t.createContext(a), s = i.length;
26
+ i = [...i, a];
27
+ let c = (r) => {
28
+ let { scope: i, children: a, ...c } = r, l = i?.[e]?.[s] || o, u = t.useMemo(() => c, Object.values(c));
29
+ return /* @__PURE__ */ (0, n.jsx)(l.Provider, {
30
+ value: u,
31
+ children: a
32
+ });
33
+ };
34
+ c.displayName = r + "Provider";
35
+ function l(n, i) {
36
+ let c = i?.[e]?.[s] || o, l = t.useContext(c);
37
+ if (l) return l;
38
+ if (a !== void 0) return a;
39
+ throw Error(`\`${n}\` must be used within \`${r}\``);
40
+ }
41
+ return [c, l];
42
+ }
43
+ let s = () => {
44
+ let n = i.map((e) => t.createContext(e));
45
+ return function(r) {
46
+ let i = r?.[e] || n;
47
+ return t.useMemo(() => ({ [`__scope${e}`]: {
48
+ ...r,
49
+ [e]: i
50
+ } }), [r, i]);
51
+ };
52
+ };
53
+ return s.scopeName = e, [o, a(s, ...r)];
54
+ }
55
+ function a(...e) {
56
+ let n = e[0];
57
+ if (e.length === 1) return n;
58
+ let r = () => {
59
+ let r = e.map((e) => ({
60
+ useScope: e(),
61
+ scopeName: e.scopeName
62
+ }));
63
+ return function(e) {
64
+ let i = r.reduce((t, { useScope: n, scopeName: r }) => {
65
+ let i = n(e)[`__scope${r}`];
66
+ return {
67
+ ...t,
68
+ ...i
69
+ };
70
+ }, {});
71
+ return t.useMemo(() => ({ [`__scope${n.scopeName}`]: i }), [i]);
72
+ };
73
+ };
74
+ return r.scopeName = n.scopeName, r;
75
+ }
76
+ //#endregion
77
+ export { i as n, r as t };
@@ -0,0 +1,73 @@
1
+ import { t as e } from "./jsx-runtime-CW53Uo-e.mjs";
2
+ import { t } from "./dist-BC_VB6JL.mjs";
3
+ import * as n from "react";
4
+ //#region ../../node_modules/.bun/@radix-ui+react-slot@1.2.4+7adf8d6cb8833b18/node_modules/@radix-ui/react-slot/dist/index.mjs
5
+ var r = e(), i = Symbol.for("react.lazy"), a = n.use;
6
+ function o(e) {
7
+ return typeof e == "object" && !!e && "then" in e;
8
+ }
9
+ function s(e) {
10
+ return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === i && "_payload" in e && o(e._payload);
11
+ }
12
+ /* @__NO_SIDE_EFFECTS__ */
13
+ function c(e) {
14
+ let t = /* @__PURE__ */ u(e), i = n.forwardRef((e, i) => {
15
+ let { children: o, ...c } = e;
16
+ s(o) && typeof a == "function" && (o = a(o._payload));
17
+ let l = n.Children.toArray(o), u = l.find(f);
18
+ if (u) {
19
+ let e = u.props.children, a = l.map((t) => t === u ? n.Children.count(e) > 1 ? n.Children.only(null) : n.isValidElement(e) ? e.props.children : null : t);
20
+ return /* @__PURE__ */ (0, r.jsx)(t, {
21
+ ...c,
22
+ ref: i,
23
+ children: n.isValidElement(e) ? n.cloneElement(e, void 0, a) : null
24
+ });
25
+ }
26
+ return /* @__PURE__ */ (0, r.jsx)(t, {
27
+ ...c,
28
+ ref: i,
29
+ children: o
30
+ });
31
+ });
32
+ return i.displayName = `${e}.Slot`, i;
33
+ }
34
+ var l = /* @__PURE__ */ c("Slot");
35
+ /* @__NO_SIDE_EFFECTS__ */
36
+ function u(e) {
37
+ let r = n.forwardRef((e, r) => {
38
+ let { children: i, ...o } = e;
39
+ if (s(i) && typeof a == "function" && (i = a(i._payload)), n.isValidElement(i)) {
40
+ let e = m(i), a = p(o, i.props);
41
+ return i.type !== n.Fragment && (a.ref = r ? t(r, e) : e), n.cloneElement(i, a);
42
+ }
43
+ return n.Children.count(i) > 1 ? n.Children.only(null) : null;
44
+ });
45
+ return r.displayName = `${e}.SlotClone`, r;
46
+ }
47
+ var d = Symbol("radix.slottable");
48
+ function f(e) {
49
+ return n.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === d;
50
+ }
51
+ function p(e, t) {
52
+ let n = { ...t };
53
+ for (let r in t) {
54
+ let i = e[r], a = t[r];
55
+ /^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
56
+ let t = a(...e);
57
+ return i(...e), t;
58
+ } : i && (n[r] = i) : r === "style" ? n[r] = {
59
+ ...i,
60
+ ...a
61
+ } : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
62
+ }
63
+ return {
64
+ ...e,
65
+ ...n
66
+ };
67
+ }
68
+ function m(e) {
69
+ let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
70
+ return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
71
+ }
72
+ //#endregion
73
+ export { c as n, l as t };
@@ -0,0 +1,11 @@
1
+ import * as e from "react";
2
+ //#region ../../node_modules/.bun/@radix-ui+react-use-previous@1.1.1+7adf8d6cb8833b18/node_modules/@radix-ui/react-use-previous/dist/index.mjs
3
+ function t(t) {
4
+ let n = e.useRef({
5
+ value: t,
6
+ previous: t
7
+ });
8
+ return e.useMemo(() => (n.current.value !== t && (n.current.previous = n.current.value, n.current.value = t), n.current.previous), [t]);
9
+ }
10
+ //#endregion
11
+ export { t };
@@ -0,0 +1,12 @@
1
+ import { t as e } from "./dist-BmjFh8i_.mjs";
2
+ import * as t from "react";
3
+ //#region ../../node_modules/.bun/@radix-ui+react-id@1.1.1+7adf8d6cb8833b18/node_modules/@radix-ui/react-id/dist/index.mjs
4
+ var n = t.useId || (() => void 0), r = 0;
5
+ function i(i) {
6
+ let [a, o] = t.useState(n());
7
+ return e(() => {
8
+ i || o((e) => e ?? String(r++));
9
+ }, [i]), i || (a ? `radix-${a}` : "");
10
+ }
11
+ //#endregion
12
+ export { i as t };
@@ -0,0 +1 @@
1
+ const e=require(`./jsx-runtime-CN3qjQQx.js`),t=require(`./dist-CsEsK2jW.js`);let n=require(`react`);n=e.i(n,1);let r=require(`react-dom`);r=e.i(r,1);var i=e.t();function a(e){let t=o(e),r=n.forwardRef((e,r)=>{let{children:a,...o}=e,s=n.Children.toArray(a),c=s.find(l);if(c){let e=c.props.children,a=s.map(t=>t===c?n.Children.count(e)>1?n.Children.only(null):n.isValidElement(e)?e.props.children:null:t);return(0,i.jsx)(t,{...o,ref:r,children:n.isValidElement(e)?n.cloneElement(e,void 0,a):null})}return(0,i.jsx)(t,{...o,ref:r,children:a})});return r.displayName=`${e}.Slot`,r}function o(e){let r=n.forwardRef((e,r)=>{let{children:i,...a}=e;if(n.isValidElement(i)){let e=d(i),o=u(a,i.props);return i.type!==n.Fragment&&(o.ref=r?t.t(r,e):e),n.cloneElement(i,o)}return n.Children.count(i)>1?n.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var s=Symbol(`radix.slottable`);function c(e){let t=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=s,t}function l(e){return n.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===s}function u(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function d(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}typeof window<`u`&&window.document&&window.document.createElement;function f(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e?.(r),n===!1||!r.defaultPrevented)return t?.(r)}}var p=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,t)=>{let r=a(`Primitive.${t}`),o=n.forwardRef((e,n)=>{let{asChild:a,...o}=e,s=a?r:t;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,i.jsx)(s,{...o,ref:n})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function m(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}Object.defineProperty(exports,`a`,{enumerable:!0,get:function(){return c}}),Object.defineProperty(exports,`i`,{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return m}}),Object.defineProperty(exports,`r`,{enumerable:!0,get:function(){return f}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return p}});
@@ -0,0 +1,38 @@
1
+ import { t as e } from "./jsx-runtime-CW53Uo-e.mjs";
2
+ import { n as t } from "./dist-D2f83VMO.mjs";
3
+ import * as n from "react";
4
+ import "react-dom";
5
+ //#region ../../node_modules/.bun/@radix-ui+react-primitive@2.1.4+2d3f272c3a65784a/node_modules/@radix-ui/react-primitive/dist/index.mjs
6
+ var r = e(), i = [
7
+ "a",
8
+ "button",
9
+ "div",
10
+ "form",
11
+ "h2",
12
+ "h3",
13
+ "img",
14
+ "input",
15
+ "label",
16
+ "li",
17
+ "nav",
18
+ "ol",
19
+ "p",
20
+ "select",
21
+ "span",
22
+ "svg",
23
+ "ul"
24
+ ].reduce((e, i) => {
25
+ let a = t(`Primitive.${i}`), o = n.forwardRef((e, t) => {
26
+ let { asChild: n, ...o } = e, s = n ? a : i;
27
+ return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ (0, r.jsx)(s, {
28
+ ...o,
29
+ ref: t
30
+ });
31
+ });
32
+ return o.displayName = `Primitive.${i}`, {
33
+ ...e,
34
+ [i]: o
35
+ };
36
+ }, {});
37
+ //#endregion
38
+ export { i as t };
@@ -0,0 +1,29 @@
1
+ import { t as e } from "./dist-BmjFh8i_.mjs";
2
+ import * as t from "react";
3
+ //#region ../../node_modules/.bun/@radix-ui+react-use-size@1.1.1+7adf8d6cb8833b18/node_modules/@radix-ui/react-use-size/dist/index.mjs
4
+ function n(n) {
5
+ let [r, i] = t.useState(void 0);
6
+ return e(() => {
7
+ if (n) {
8
+ i({
9
+ width: n.offsetWidth,
10
+ height: n.offsetHeight
11
+ });
12
+ let e = new ResizeObserver((e) => {
13
+ if (!Array.isArray(e) || !e.length) return;
14
+ let t = e[0], r, a;
15
+ if ("borderBoxSize" in t) {
16
+ let e = t.borderBoxSize, n = Array.isArray(e) ? e[0] : e;
17
+ r = n.inlineSize, a = n.blockSize;
18
+ } else r = n.offsetWidth, a = n.offsetHeight;
19
+ i({
20
+ width: r,
21
+ height: a
22
+ });
23
+ });
24
+ return e.observe(n, { box: "border-box" }), () => e.unobserve(n);
25
+ } else i(void 0);
26
+ }, [n]), r;
27
+ }
28
+ //#endregion
29
+ export { n as t };
@@ -0,0 +1,18 @@
1
+ import { t as e } from "./jsx-runtime-CW53Uo-e.mjs";
2
+ import { t } from "./dist-bDoR0CBU.mjs";
3
+ import { t as n } from "./dist-BmjFh8i_.mjs";
4
+ import * as r from "react";
5
+ import i from "react-dom";
6
+ //#region ../../node_modules/.bun/@radix-ui+react-portal@1.1.9+2d3f272c3a65784a/node_modules/@radix-ui/react-portal/dist/index.mjs
7
+ var a = e(), o = "Portal", s = r.forwardRef((e, o) => {
8
+ let { container: s, ...c } = e, [l, u] = r.useState(!1);
9
+ n(() => u(!0), []);
10
+ let d = s || l && globalThis?.document?.body;
11
+ return d ? i.createPortal(/* @__PURE__ */ (0, a.jsx)(t.div, {
12
+ ...c,
13
+ ref: o
14
+ }), d) : null;
15
+ });
16
+ s.displayName = o;
17
+ //#endregion
18
+ export { s as t };
@@ -0,0 +1 @@
1
+ const e=require(`./jsx-runtime-CN3qjQQx.js`);let t=require(`react`);t=e.i(t,1);var n=e.t();function r(e,r){let i=t.createContext(r),a=e=>{let{children:r,...a}=e,o=t.useMemo(()=>a,Object.values(a));return(0,n.jsx)(i.Provider,{value:o,children:r})};a.displayName=e+`Provider`;function o(n){let a=t.useContext(i);if(a)return a;if(r!==void 0)return r;throw Error(`\`${n}\` must be used within \`${e}\``)}return[a,o]}function i(e,r=[]){let i=[];function o(r,a){let o=t.createContext(a),s=i.length;i=[...i,a];let c=r=>{let{scope:i,children:a,...c}=r,l=i?.[e]?.[s]||o,u=t.useMemo(()=>c,Object.values(c));return(0,n.jsx)(l.Provider,{value:u,children:a})};c.displayName=r+`Provider`;function l(n,i){let c=i?.[e]?.[s]||o,l=t.useContext(c);if(l)return l;if(a!==void 0)return a;throw Error(`\`${n}\` must be used within \`${r}\``)}return[c,l]}let s=()=>{let n=i.map(e=>t.createContext(e));return function(r){let i=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])}};return s.scopeName=e,[o,a(s,...r)]}function a(...e){let n=e[0];if(e.length===1)return n;let r=()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])}};return r.scopeName=n.scopeName,r}Object.defineProperty(exports,`n`,{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,`t`,{enumerable:!0,get:function(){return r}});
@@ -0,0 +1,45 @@
1
+ import { t as e } from "./dist-BmjFh8i_.mjs";
2
+ import * as t from "react";
3
+ //#region ../../node_modules/.bun/@radix-ui+react-use-controllable-state@1.2.2+7adf8d6cb8833b18/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
4
+ var n = t.useInsertionEffect || e;
5
+ function r({ prop: e, defaultProp: n, onChange: r = () => {}, caller: o }) {
6
+ let [s, c, l] = i({
7
+ defaultProp: n,
8
+ onChange: r
9
+ }), u = e !== void 0, d = u ? e : s;
10
+ {
11
+ let n = t.useRef(e !== void 0);
12
+ t.useEffect(() => {
13
+ let e = n.current;
14
+ e !== u && console.warn(`${o} is changing from ${e ? "controlled" : "uncontrolled"} to ${u ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), n.current = u;
15
+ }, [u, o]);
16
+ }
17
+ return [d, t.useCallback((t) => {
18
+ if (u) {
19
+ let n = a(t) ? t(e) : t;
20
+ n !== e && l.current?.(n);
21
+ } else c(t);
22
+ }, [
23
+ u,
24
+ e,
25
+ c,
26
+ l
27
+ ])];
28
+ }
29
+ function i({ defaultProp: e, onChange: r }) {
30
+ let [i, a] = t.useState(e), o = t.useRef(i), s = t.useRef(r);
31
+ return n(() => {
32
+ s.current = r;
33
+ }, [r]), t.useEffect(() => {
34
+ o.current !== i && (s.current?.(i), o.current = i);
35
+ }, [i, o]), [
36
+ i,
37
+ a,
38
+ s
39
+ ];
40
+ }
41
+ function a(e) {
42
+ return typeof e == "function";
43
+ }
44
+ //#endregion
45
+ export { r as t };