@arcadeai/design-system 3.39.0 → 3.39.2

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 (425) hide show
  1. package/dist/CompositeItem-CniPsjzP.js +30 -0
  2. package/dist/CompositeList-yq5K_yj6.js +81 -0
  3. package/dist/CompositeRoot-Dy-5A-Je.js +206 -0
  4. package/dist/DialogRoot-DDokfJcO.js +57 -0
  5. package/dist/DialogTrigger-CFUE8YsM.js +402 -0
  6. package/dist/DirectionContext-BSOheMwC.js +10 -0
  7. package/dist/FieldItemContext-CF2fRwBC.js +12 -0
  8. package/dist/FloatingPortalLite-BHsRx4XN.js +29 -0
  9. package/dist/InternalBackdrop-BVEfe6O1.js +610 -0
  10. package/dist/LabelableContext-Dzw1DWuj.js +171 -0
  11. package/dist/Separator-CswSYAXX.js +25 -0
  12. package/dist/ToolbarRootContext-D7EsmJ5f.js +10 -0
  13. package/dist/andromeeda-B-gfN00q.js +4 -0
  14. package/dist/angular-html-dA1qUKRV.js +32 -0
  15. package/dist/angular-ts-CXyBC0vY.js +21 -0
  16. package/dist/apl-CjNiDgad.js +3 -3
  17. package/dist/assets/icons/telegram.js +10 -0
  18. package/dist/assets/images/arcade-grid.d.ts.map +1 -1
  19. package/dist/assets/images/arcade-grid.js +1 -0
  20. package/dist/assets/index.css +1 -1
  21. package/dist/assets/tokens.css +1 -1
  22. package/dist/assets/variables.css +1 -1
  23. package/dist/astro--3ZkKqYU.js +18 -0
  24. package/dist/astro-CFFExE8Q.js +5 -5
  25. package/dist/aurora-x-B56eICma.js +4 -0
  26. package/dist/ayu-dark-DJSOaKig.js +4 -0
  27. package/dist/ayu-light-BPfFt4v-.js +4 -0
  28. package/dist/ayu-mirage-DmPLRBj7.js +4 -0
  29. package/dist/blade-BoRuQEEj.js +20 -0
  30. package/dist/blade-D0HyNvCw.js +4 -4
  31. package/dist/c-C4SM8H98.js +6 -0
  32. package/dist/cairo-DM6WF2e3.js +1 -1
  33. package/dist/{calendar-DreAgQKY.js → calendar-CLEnvrbp.js} +483 -482
  34. package/dist/catppuccin-frappe-CA5k7W3u.js +4 -0
  35. package/dist/catppuccin-latte-CYfkUW5v.js +4 -0
  36. package/dist/catppuccin-macchiato-BOj_4I3g.js +4 -0
  37. package/dist/catppuccin-mocha-BXpUXme4.js +4 -0
  38. package/dist/clamp-BxE4ZAuA.js +17 -0
  39. package/dist/cobol-HihOMwht.js +1 -1
  40. package/dist/coffee-D8Swy5yR.js +8 -0
  41. package/dist/components/index.js +665 -644
  42. package/dist/components/ui/atoms/accordion.d.ts +9 -7
  43. package/dist/components/ui/atoms/accordion.d.ts.map +1 -1
  44. package/dist/components/ui/atoms/accordion.js +454 -243
  45. package/dist/components/ui/atoms/alert-dialog.d.ts +13 -9
  46. package/dist/components/ui/atoms/alert-dialog.d.ts.map +1 -1
  47. package/dist/components/ui/atoms/alert-dialog.js +149 -183
  48. package/dist/components/ui/atoms/alert.d.ts +2 -1
  49. package/dist/components/ui/atoms/alert.d.ts.map +1 -1
  50. package/dist/components/ui/atoms/alert.js +36 -25
  51. package/dist/components/ui/atoms/avatar.d.ts +10 -5
  52. package/dist/components/ui/atoms/avatar.d.ts.map +1 -1
  53. package/dist/components/ui/atoms/avatar.js +198 -205
  54. package/dist/components/ui/atoms/badge.d.ts +4 -5
  55. package/dist/components/ui/atoms/badge.d.ts.map +1 -1
  56. package/dist/components/ui/atoms/badge.js +31 -22
  57. package/dist/components/ui/atoms/breadcrumb.d.ts +4 -5
  58. package/dist/components/ui/atoms/breadcrumb.d.ts.map +1 -1
  59. package/dist/components/ui/atoms/breadcrumb.js +46 -29
  60. package/dist/components/ui/atoms/button.d.ts +4 -6
  61. package/dist/components/ui/atoms/button.d.ts.map +1 -1
  62. package/dist/components/ui/atoms/button.js +59 -28
  63. package/dist/components/ui/atoms/byoc-badge.d.ts +2 -2
  64. package/dist/components/ui/atoms/byoc-badge.d.ts.map +1 -1
  65. package/dist/components/ui/atoms/byoc-badge.js +14 -8
  66. package/dist/components/ui/atoms/calendar.d.ts +6 -16
  67. package/dist/components/ui/atoms/calendar.d.ts.map +1 -1
  68. package/dist/components/ui/atoms/calendar.js +1 -1
  69. package/dist/components/ui/atoms/card.d.ts +4 -2
  70. package/dist/components/ui/atoms/card.d.ts.map +1 -1
  71. package/dist/components/ui/atoms/card.js +46 -35
  72. package/dist/components/ui/atoms/chart.d.ts +24 -48
  73. package/dist/components/ui/atoms/chart.d.ts.map +1 -1
  74. package/dist/components/ui/atoms/chart.js +179 -148
  75. package/dist/components/ui/atoms/checkbox.d.ts +2 -3
  76. package/dist/components/ui/atoms/checkbox.d.ts.map +1 -1
  77. package/dist/components/ui/atoms/checkbox.js +269 -249
  78. package/dist/components/ui/atoms/code-block.js +1 -1
  79. package/dist/components/ui/atoms/collapsible.d.ts +5 -5
  80. package/dist/components/ui/atoms/collapsible.d.ts.map +1 -1
  81. package/dist/components/ui/atoms/collapsible.js +208 -23
  82. package/dist/components/ui/atoms/command.d.ts +4 -3
  83. package/dist/components/ui/atoms/command.d.ts.map +1 -1
  84. package/dist/components/ui/atoms/command.js +1655 -348
  85. package/dist/components/ui/atoms/dialog.d.ts +12 -10
  86. package/dist/components/ui/atoms/dialog.d.ts.map +1 -1
  87. package/dist/components/ui/atoms/dialog.js +91 -80
  88. package/dist/components/ui/atoms/dropdown-menu.d.ts +21 -17
  89. package/dist/components/ui/atoms/dropdown-menu.d.ts.map +1 -1
  90. package/dist/components/ui/atoms/dropdown-menu.js +1507 -899
  91. package/dist/components/ui/atoms/form.d.ts +5 -3
  92. package/dist/components/ui/atoms/form.d.ts.map +1 -1
  93. package/dist/components/ui/atoms/form.js +36 -42
  94. package/dist/components/ui/atoms/hover-card.d.ts +5 -6
  95. package/dist/components/ui/atoms/hover-card.d.ts.map +1 -1
  96. package/dist/components/ui/atoms/hover-card.js +355 -193
  97. package/dist/components/ui/atoms/icons/index.d.ts +1 -0
  98. package/dist/components/ui/atoms/icons/index.d.ts.map +1 -1
  99. package/dist/components/ui/atoms/icons/index.js +58 -56
  100. package/dist/components/ui/atoms/icons/telegram.d.ts +4 -0
  101. package/dist/components/ui/atoms/icons/telegram.d.ts.map +1 -0
  102. package/dist/components/ui/atoms/icons/telegram.js +37 -0
  103. package/dist/components/ui/atoms/index.d.ts +1 -0
  104. package/dist/components/ui/atoms/index.d.ts.map +1 -1
  105. package/dist/components/ui/atoms/index.js +566 -545
  106. package/dist/components/ui/atoms/input-group.d.ts +20 -0
  107. package/dist/components/ui/atoms/input-group.d.ts.map +1 -0
  108. package/dist/components/ui/atoms/input-group.js +136 -0
  109. package/dist/components/ui/atoms/input.d.ts.map +1 -1
  110. package/dist/components/ui/atoms/input.js +113 -13
  111. package/dist/components/ui/atoms/label.d.ts +1 -2
  112. package/dist/components/ui/atoms/label.d.ts.map +1 -1
  113. package/dist/components/ui/atoms/label.js +18 -31
  114. package/dist/components/ui/atoms/markdown.js +1 -1
  115. package/dist/components/ui/atoms/mobile-tooltip.js +4 -3
  116. package/dist/components/ui/atoms/popover.d.ts +8 -6
  117. package/dist/components/ui/atoms/popover.d.ts.map +1 -1
  118. package/dist/components/ui/atoms/popover.js +617 -245
  119. package/dist/components/ui/atoms/pro-badge.js +1 -1
  120. package/dist/components/ui/atoms/progress.d.ts +7 -4
  121. package/dist/components/ui/atoms/progress.d.ts.map +1 -1
  122. package/dist/components/ui/atoms/progress.js +236 -92
  123. package/dist/components/ui/atoms/radio-group.d.ts +4 -4
  124. package/dist/components/ui/atoms/radio-group.d.ts.map +1 -1
  125. package/dist/components/ui/atoms/radio-group.js +355 -251
  126. package/dist/components/ui/atoms/resizable.d.ts +3 -4
  127. package/dist/components/ui/atoms/resizable.d.ts.map +1 -1
  128. package/dist/components/ui/atoms/resizable.js +25 -27
  129. package/dist/components/ui/atoms/scroll-area.d.ts +5 -5
  130. package/dist/components/ui/atoms/scroll-area.d.ts.map +1 -1
  131. package/dist/components/ui/atoms/scroll-area.js +611 -526
  132. package/dist/components/ui/atoms/scroll-button.d.ts.map +1 -1
  133. package/dist/components/ui/atoms/scroll-button.js +27 -22
  134. package/dist/components/ui/atoms/select.d.ts +11 -11
  135. package/dist/components/ui/atoms/select.d.ts.map +1 -1
  136. package/dist/components/ui/atoms/select.js +1525 -889
  137. package/dist/components/ui/atoms/separator.d.ts +2 -3
  138. package/dist/components/ui/atoms/separator.d.ts.map +1 -1
  139. package/dist/components/ui/atoms/separator.js +16 -35
  140. package/dist/components/ui/atoms/sheet.d.ts +9 -9
  141. package/dist/components/ui/atoms/sheet.d.ts.map +1 -1
  142. package/dist/components/ui/atoms/sheet.js +65 -64
  143. package/dist/components/ui/atoms/sidebar.d.ts +9 -15
  144. package/dist/components/ui/atoms/sidebar.d.ts.map +1 -1
  145. package/dist/components/ui/atoms/sidebar.js +288 -283
  146. package/dist/components/ui/atoms/skeleton.js +4 -4
  147. package/dist/components/ui/atoms/slider.d.ts +2 -3
  148. package/dist/components/ui/atoms/slider.d.ts.map +1 -1
  149. package/dist/components/ui/atoms/slider.js +886 -440
  150. package/dist/components/ui/atoms/switch.d.ts +4 -5
  151. package/dist/components/ui/atoms/switch.d.ts.map +1 -1
  152. package/dist/components/ui/atoms/switch.js +218 -151
  153. package/dist/components/ui/atoms/table.d.ts +2 -4
  154. package/dist/components/ui/atoms/table.d.ts.map +1 -1
  155. package/dist/components/ui/atoms/table.js +35 -36
  156. package/dist/components/ui/atoms/tabs.d.ts +11 -7
  157. package/dist/components/ui/atoms/tabs.d.ts.map +1 -1
  158. package/dist/components/ui/atoms/tabs.js +492 -186
  159. package/dist/components/ui/atoms/textarea.d.ts.map +1 -1
  160. package/dist/components/ui/atoms/textarea.js +7 -7
  161. package/dist/components/ui/atoms/toggle.d.ts +2 -3
  162. package/dist/components/ui/atoms/toggle.d.ts.map +1 -1
  163. package/dist/components/ui/atoms/toggle.js +92 -45
  164. package/dist/components/ui/atoms/tooltip.d.ts +6 -9
  165. package/dist/components/ui/atoms/tooltip.d.ts.map +1 -1
  166. package/dist/components/ui/atoms/tooltip.js +625 -343
  167. package/dist/components/ui/atoms/view-tools-control.js +16 -15
  168. package/dist/components/ui/atoms/virtualized-grid.d.ts +11 -4
  169. package/dist/components/ui/atoms/virtualized-grid.d.ts.map +1 -1
  170. package/dist/components/ui/atoms/virtualized-grid.js +365 -333
  171. package/dist/components/ui/index.js +665 -644
  172. package/dist/components/ui/molecules/chat-history-item.d.ts.map +1 -1
  173. package/dist/components/ui/molecules/chat-history-item.js +47 -40
  174. package/dist/components/ui/molecules/command-bar.js +1 -1
  175. package/dist/components/ui/molecules/confirm-popover.d.ts +2 -2
  176. package/dist/components/ui/molecules/confirm-popover.d.ts.map +1 -1
  177. package/dist/components/ui/molecules/confirm-popover.js +26 -24
  178. package/dist/components/ui/molecules/date-time-picker.d.ts.map +1 -1
  179. package/dist/components/ui/molecules/date-time-picker.js +17 -11
  180. package/dist/components/ui/molecules/index.js +1 -1
  181. package/dist/components/ui/molecules/message.d.ts +2 -3
  182. package/dist/components/ui/molecules/message.d.ts.map +1 -1
  183. package/dist/components/ui/molecules/message.js +10 -16
  184. package/dist/components/ui/molecules/prompt-input.d.ts +1 -1
  185. package/dist/components/ui/molecules/prompt-input.d.ts.map +1 -1
  186. package/dist/components/ui/molecules/prompt-input.js +21 -22
  187. package/dist/components/ui/molecules/requirement-badges.d.ts.map +1 -1
  188. package/dist/components/ui/molecules/requirement-badges.js +3 -3
  189. package/dist/components/ui/molecules/steps-progress.js +1 -0
  190. package/dist/components/ui/molecules/tool-call-accordion.js +1 -0
  191. package/dist/components/ui/molecules/tool-card.d.ts.map +1 -1
  192. package/dist/components/ui/molecules/tool-card.js +60 -47
  193. package/dist/components/ui/molecules/toolkit-card.d.ts.map +1 -1
  194. package/dist/components/ui/molecules/toolkit-card.js +1 -1
  195. package/dist/components/ui/molecules/user-nav.d.ts.map +1 -1
  196. package/dist/components/ui/molecules/user-nav.js +62 -57
  197. package/dist/components/ui/templates/auth-template.js +5 -5
  198. package/dist/composite-BASdnlNo.js +220 -0
  199. package/dist/composite-BSpUD7nI.js +66 -0
  200. package/dist/cpp-CA4iM_wM.js +18 -0
  201. package/dist/createBaseUIEventDetails-CqidROtw.js +55 -0
  202. package/dist/crystal-CRJyc4G-.js +4 -4
  203. package/dist/css-M7EaDHN_.js +6 -0
  204. package/dist/csv-B7yqA61e.js +6 -0
  205. package/dist/dark-plus-B4vfALTw.js +4 -0
  206. package/dist/detectBrowser-Dn2N72k1.js +42 -0
  207. package/dist/dracula-Cb59ZzY3.js +4 -0
  208. package/dist/dracula-soft-aaEmszbU.js +4 -0
  209. package/dist/edge-BYQkOzbF.js +1 -1
  210. package/dist/element-DSo91iOi.js +88 -0
  211. package/dist/elm-BtNbw_Cd.js +1 -1
  212. package/dist/erlang-DNcDT8Hi.js +1 -1
  213. package/dist/event-BCa0Un_3.js +30 -0
  214. package/dist/everforest-dark-CLp_21RJ.js +4 -0
  215. package/dist/everforest-light-CZ0NCAAv.js +4 -0
  216. package/dist/floating-ui.utils-48URp89E.js +126 -0
  217. package/dist/floating-ui.utils.dom-jr2suqy2.js +135 -0
  218. package/dist/fsharp-CYOiIVNx.js +1 -1
  219. package/dist/getDisabledMountTransitionStyles-fmnaQYVj.js +1539 -0
  220. package/dist/getPseudoElementBounds-B4_miSEJ.js +364 -0
  221. package/dist/git-rebase-ZWUFO_T4.js +1 -1
  222. package/dist/github-dark-BD3lImVS.js +4 -0
  223. package/dist/github-dark-default-ID_nBUwl.js +4 -0
  224. package/dist/github-dark-dimmed-Cw4rFgde.js +4 -0
  225. package/dist/github-dark-high-contrast-DSby9de8.js +4 -0
  226. package/dist/github-light-W396yAFe.js +4 -0
  227. package/dist/github-light-default-DCAQ2px1.js +4 -0
  228. package/dist/github-light-high-contrast-ChWJGEvx.js +4 -0
  229. package/dist/glimmer-js-DkxNrfPT.js +2 -2
  230. package/dist/glimmer-ts-D6YZEmK_.js +2 -2
  231. package/dist/glsl-CgdqkyFp.js +8 -0
  232. package/dist/graphql-Bv26LTzG.js +14 -0
  233. package/dist/gruvbox-dark-hard-BC1GRqFa.js +4 -0
  234. package/dist/gruvbox-dark-medium-COLy2cDY.js +4 -0
  235. package/dist/gruvbox-dark-soft-B8MALL4f.js +4 -0
  236. package/dist/gruvbox-light-hard-Bzxr_AnB.js +4 -0
  237. package/dist/gruvbox-light-medium-D2fqu3Kj.js +4 -0
  238. package/dist/gruvbox-light-soft-atzRH3-n.js +4 -0
  239. package/dist/hack-ItRNKiEb.js +1 -1
  240. package/dist/haml-B1t5q1Sv.js +10 -0
  241. package/dist/haml-NZLVzu_R.js +1 -1
  242. package/dist/handlebars-B2fb61mr.js +14 -0
  243. package/dist/handlebars-mxStpSE7.js +2 -2
  244. package/dist/highlighted-body-OFNGDK62-Df6AJMbs.js +20 -0
  245. package/dist/hooks/use-mobile.d.ts.map +1 -1
  246. package/dist/hooks/use-mobile.js +11 -12
  247. package/dist/horizon-PFtq58ZB.js +4 -0
  248. package/dist/horizon-bright-2WzHy-Vo.js +4 -0
  249. package/dist/houston-BEqUWhHr.js +4 -0
  250. package/dist/html-B50bmoVb.js +1 -1
  251. package/dist/html-CPZ3oZQ7.js +10 -0
  252. package/dist/html-derivative-B2qv7eyt.js +8 -0
  253. package/dist/http-BQ2t9cn1.js +14 -0
  254. package/dist/hurl-RyCMCa80.js +12 -0
  255. package/dist/imba-DpB-wtPB.js +6 -0
  256. package/dist/index-3rscXtm3.js +4708 -0
  257. package/dist/inertValue-kpZZDBEy.js +7 -0
  258. package/dist/integrations/rhf/index.js +6 -5
  259. package/dist/isElementDisabled-Cbd8W9kH.js +6 -0
  260. package/dist/java-CbphP4lz.js +6 -0
  261. package/dist/javascript-CgYd5l7W.js +6 -0
  262. package/dist/jinja-DFCUirAg.js +11 -0
  263. package/dist/jison-CTEI_s6O.js +8 -0
  264. package/dist/json-B5-prx4F.js +6 -0
  265. package/dist/json5-CZ8R1oUY.js +6 -0
  266. package/dist/jsonc-DMboCKBJ.js +6 -0
  267. package/dist/jsonl-YgIUi4Dg.js +6 -0
  268. package/dist/jsx-D4q4E1UD.js +6 -0
  269. package/dist/julia-2ubi2n9a.js +16 -0
  270. package/dist/just-CEK2SJ_k.js +4 -4
  271. package/dist/kanagawa-dragon-DuYaOBBk.js +4 -0
  272. package/dist/kanagawa-lotus-CyjAihYC.js +4 -0
  273. package/dist/kanagawa-wave-BVdXUMj5.js +4 -0
  274. package/dist/laserwave-B_2VVKNJ.js +4 -0
  275. package/dist/less-MoGo8xoS.js +6 -0
  276. package/dist/light-plus-IB4fPeJj.js +4 -0
  277. package/dist/liquid-CHzkx3jT.js +2 -2
  278. package/dist/lua-Bp3IRv7I.js +1 -1
  279. package/dist/main.js +691 -670
  280. package/dist/markdown-B-zRtm0x.js +6 -0
  281. package/dist/{markdown-D0xxRbwP.js → markdown-B71Eurda.js} +10329 -8108
  282. package/dist/marko-BlmC3dqW.js +14 -0
  283. package/dist/marko-CJBA24Ri.js +2 -2
  284. package/dist/material-theme-CjsSdYF2.js +4 -0
  285. package/dist/material-theme-darker-DEk0vgdS.js +4 -0
  286. package/dist/material-theme-lighter-DEVB_7K5.js +4 -0
  287. package/dist/material-theme-ocean-DK6jm24j.js +4 -0
  288. package/dist/material-theme-palenight-CNkXNpHv.js +4 -0
  289. package/dist/mdc-C9YSUwVC.js +2 -2
  290. package/dist/mdc-CLNk3q28.js +12 -0
  291. package/dist/mdx-CiUWpBB_.js +6 -0
  292. package/dist/mermaid-GHXKKRXX-BkplG-MI.js +5 -0
  293. package/dist/metadata/toolkit-icons.d.ts.map +1 -1
  294. package/dist/metadata/toolkit-icons.js +40 -38
  295. package/dist/metadata/toolkits.d.ts.map +1 -1
  296. package/dist/metadata/toolkits.js +13 -0
  297. package/dist/min-dark-CJcHUHwu.js +4 -0
  298. package/dist/min-light-BAN2UR75.js +4 -0
  299. package/dist/monokai-BbXwpjKl.js +4 -0
  300. package/dist/night-owl-csViJ7u4.js +4 -0
  301. package/dist/night-owl-light-BC-NuMC3.js +4 -0
  302. package/dist/nim-QAjRdh9w.js +5 -5
  303. package/dist/nord-B8Sq-VQ0.js +4 -0
  304. package/dist/one-dark-pro-DTdrcl-J.js +4 -0
  305. package/dist/one-light-kPHTChCU.js +4 -0
  306. package/dist/owner-rKN292Q9.js +6 -0
  307. package/dist/perl-DkVrgJBg.js +3 -3
  308. package/dist/php-BIzsF_5x.js +4 -4
  309. package/dist/php-Kn-vgdBD.js +18 -0
  310. package/dist/plastic-DDweBgVs.js +4 -0
  311. package/dist/poimandres-Dqvs16BQ.js +4 -0
  312. package/dist/popupStateMapping-BT9Y_jIq.js +1849 -0
  313. package/dist/postcss-CwL8bLZI.js +6 -0
  314. package/dist/pug-CTOOvSEH.js +12 -0
  315. package/dist/pug-XOw9Q1Ho.js +1 -1
  316. package/dist/python-jjYlTiSH.js +6 -0
  317. package/dist/qml-rTNXsquU.js +1 -1
  318. package/dist/r-C8zl4zMO.js +6 -0
  319. package/dist/react-resizable-panels-BqIpIFl2.js +2017 -0
  320. package/dist/red-DBDwQkX-.js +4 -0
  321. package/dist/regexp-Dpy_RgoJ.js +6 -0
  322. package/dist/resolveAriaLabelledBy-B5vw-szP.js +11 -0
  323. package/dist/rose-pine-DGHrTu7e.js +4 -0
  324. package/dist/rose-pine-dawn-DfRVdapG.js +4 -0
  325. package/dist/rose-pine-moon-DFpJm5Rd.js +4 -0
  326. package/dist/rst-DM32Wy3O.js +5 -5
  327. package/dist/ruby-BeqCs27h.js +8 -8
  328. package/dist/safePolygon-CJcmMc0u.js +389 -0
  329. package/dist/safeReact-DKq-628G.js +7 -0
  330. package/dist/sas-fpEvgATw.js +1 -1
  331. package/dist/sass-BmupNt-w.js +6 -0
  332. package/dist/scss-BZYVIVaN.js +8 -0
  333. package/dist/serializeValue-BebmSzW3.js +14 -0
  334. package/dist/shellscript-fMxXshxv.js +6 -0
  335. package/dist/shellsession-DiDJNQdy.js +1 -1
  336. package/dist/slack-dark-noeC6QPl.js +4 -0
  337. package/dist/slack-ochin-3_2idqLR.js +4 -0
  338. package/dist/snazzy-light-B9cV359v.js +4 -0
  339. package/dist/solarized-dark-B6X0ILWr.js +4 -0
  340. package/dist/solarized-light-LxOemn3c.js +4 -0
  341. package/dist/sql-D30Zid36.js +6 -0
  342. package/dist/stata-B8c5fTjX.js +1 -1
  343. package/dist/styles-DU5BO7fS.js +16 -0
  344. package/dist/stylus-BoBcEBjx.js +6 -0
  345. package/dist/surrealql-CQi7GQN7.js +1 -1
  346. package/dist/svelte-b9PAcyUe.js +14 -0
  347. package/dist/svelte-rYri41WT.js +3 -3
  348. package/dist/synthwave-84-DzQeMpV0.js +4 -0
  349. package/dist/templ-Crs9Ui8q.js +1 -1
  350. package/dist/tex-AHxmLTL0.js +1 -1
  351. package/dist/tokyo-night-CLM-V_Re.js +4 -0
  352. package/dist/{toolkit-card-CB1oiaei.js → toolkit-card-DhpOY80l.js} +56 -36
  353. package/dist/ts-tags-CP1b-4Z2.js +41 -0
  354. package/dist/ts-tags-ioVe2PKw.js +5 -5
  355. package/dist/tsx-QNpb2qLW.js +6 -0
  356. package/dist/twig-DwV2Fi4L.js +2 -2
  357. package/dist/typescript-AhniRyfZ.js +6 -0
  358. package/dist/useAnimationFrame-DIc6eFHa.js +69 -0
  359. package/dist/useAriaLabelledBy-VklrCmKp.js +34 -0
  360. package/dist/useBaseUiId-C8Dq0BQq.js +25 -0
  361. package/dist/useButton-JYPKQKj4.js +150 -0
  362. package/dist/useCollapsiblePanel-9pDlDh3R.js +257 -0
  363. package/dist/useCompositeItem-D00ALGkT.js +35 -0
  364. package/dist/useCompositeListItem-CYQrZg5-.js +74 -0
  365. package/dist/useControlled-Sx-_x7Sz.js +32 -0
  366. package/dist/useFocus-Aj9ShMQu.js +97 -0
  367. package/dist/useIsoLayoutEffect-DpJo20by.js +7 -0
  368. package/dist/useLabelableId-DF_d91GP.js +44 -0
  369. package/dist/useOnFirstRender-B4aruaIA.js +9 -0
  370. package/dist/useOnMount-JHtE6teb.js +9 -0
  371. package/dist/useOpenChangeComplete-DkeH9FGJ.js +130 -0
  372. package/dist/useRender-BNXBkp2o.js +7 -0
  373. package/dist/useRenderElement-DNB2vtF1.js +274 -0
  374. package/dist/useRole-N-RCRzo1.js +76 -0
  375. package/dist/useStableCallback-CudqoENs.js +33 -0
  376. package/dist/useSyncedFloatingRootContext-Bc90zSTy.js +185 -0
  377. package/dist/useTimeout-DAqPwigF.js +33 -0
  378. package/dist/useValueAsRef-LhoZc6As.js +20 -0
  379. package/dist/useValueChanged-Bissqjjn.js +15 -0
  380. package/dist/valueToPercent-BBgE4D3L.js +27 -0
  381. package/dist/vesper-BmV7KiQ0.js +4 -0
  382. package/dist/visuallyHidden-PuyyGHVF.js +22 -0
  383. package/dist/vitesse-black-CxZz3C4s.js +4 -0
  384. package/dist/vitesse-dark-DVUJ0sy2.js +4 -0
  385. package/dist/vitesse-light-BDJohtUr.js +4 -0
  386. package/dist/vue-CY6W2ID0.js +31 -0
  387. package/dist/vue-DXEmyXn9.js +3 -3
  388. package/dist/vue-html-DYXHAJ2G.js +8 -0
  389. package/dist/vue-vine-D41-N99t.js +4 -4
  390. package/dist/vue-vine-DiWTpMwZ.js +18 -0
  391. package/dist/wasm-3y0A1Y71.js +6 -0
  392. package/dist/wasm-Dm9SFfrx.js +7 -0
  393. package/dist/web-BbvN_Lei.js +2846 -0
  394. package/dist/wgsl-SXl3EZUN.js +6 -0
  395. package/dist/wit-Cw0CTVY0.js +6 -0
  396. package/dist/xml-CNXGTZ6Z.js +8 -0
  397. package/dist/xsl-BmSZphgC.js +1 -1
  398. package/dist/yaml-DZqZ2PBD.js +6 -0
  399. package/package.json +37 -34
  400. package/dist/highlighted-body-TPN3WLV5-D6UnKGod.js +0 -19
  401. package/dist/index-0ioNhtNM.js +0 -10
  402. package/dist/index-437EL2iq.js +0 -52
  403. package/dist/index-B695uy69.js +0 -9
  404. package/dist/index-BEZCAdXQ.js +0 -1568
  405. package/dist/index-BGQepRFJ.js +0 -27
  406. package/dist/index-BZPx6jYI.js +0 -8
  407. package/dist/index-BaLuVb4t.js +0 -70
  408. package/dist/index-Bw62B28F.js +0 -31
  409. package/dist/index-By-GFSsC.js +0 -245
  410. package/dist/index-ByaXH_ih.js +0 -10
  411. package/dist/index-CCKe-Mpx.js +0 -6
  412. package/dist/index-Cv867SGx.js +0 -13
  413. package/dist/index-CvA4FcaC.js +0 -677
  414. package/dist/index-D2LZVjSn.js +0 -82
  415. package/dist/index-DFZozV_h.js +0 -68
  416. package/dist/index-DJQkmo5O.js +0 -49
  417. package/dist/index-DLohNuco.js +0 -36
  418. package/dist/index-DrFfdHac.js +0 -144
  419. package/dist/index-DrlYGDRT.js +0 -119
  420. package/dist/index-Dz8CQngS.js +0 -181
  421. package/dist/index-cd1ceFJg.js +0 -6973
  422. package/dist/index-rKs9bXHr.js +0 -6
  423. package/dist/mermaid-O7DHMXV3-gUrB-Xs1.js +0 -4
  424. package/dist/react-resizable-panels.browser-DYl0LXfw.js +0 -1510
  425. package/dist/web-BwFNdl01.js +0 -697
@@ -1,272 +1,376 @@
1
- import { jsx as i, jsxs as B } from "react/jsx-runtime";
2
- import { CircleIcon as K } from "lucide-react";
3
- import { cn as k } from "../../../lib/utils.js";
4
- import * as s from "react";
5
- import { c as C } from "../../../index-B695uy69.js";
6
- import { u as I } from "../../../index-D2LZVjSn.js";
7
- import { c as P } from "../../../index-DFZozV_h.js";
8
- import { P as g } from "../../../index-DLohNuco.js";
9
- import { R as T, I as U, c as E } from "../../../index-Dz8CQngS.js";
10
- import { u as V } from "../../../index-437EL2iq.js";
11
- import { u as j } from "../../../index-ByaXH_ih.js";
12
- import { u as z } from "../../../index-BGQepRFJ.js";
13
- import { u as H } from "../../../index-BZPx6jYI.js";
14
- import { P as $ } from "../../../index-BaLuVb4t.js";
15
- var w = "Radio", [W, _] = P(w), [X, Y] = W(w), G = s.forwardRef(
16
- (r, t) => {
17
- const {
18
- __scopeRadio: o,
19
- name: d,
20
- checked: e = !1,
21
- required: a,
22
- disabled: n,
23
- value: p = "on",
24
- onCheck: f,
25
- form: m,
26
- ...v
27
- } = r, [l, R] = s.useState(null), c = I(t, (h) => R(h)), u = s.useRef(!1), b = l ? m || !!l.closest("form") : !0;
28
- return /* @__PURE__ */ B(X, { scope: o, checked: e, disabled: n, children: [
29
- /* @__PURE__ */ i(
30
- g.button,
31
- {
32
- type: "button",
33
- role: "radio",
34
- "aria-checked": e,
35
- "data-state": A(e),
36
- "data-disabled": n ? "" : void 0,
37
- disabled: n,
38
- value: p,
39
- ...v,
40
- ref: c,
41
- onClick: C(r.onClick, (h) => {
42
- e || f?.(), b && (u.current = h.isPropagationStopped(), u.current || h.stopPropagation());
43
- })
44
- }
45
- ),
46
- b && /* @__PURE__ */ i(
47
- S,
48
- {
49
- control: l,
50
- bubbles: !u.current,
51
- name: d,
52
- value: p,
53
- checked: e,
54
- required: a,
55
- disabled: n,
56
- form: m,
57
- style: { transform: "translateX(-100%)" }
58
- }
59
- )
60
- ] });
61
- }
62
- );
63
- G.displayName = w;
64
- var N = "RadioIndicator", x = s.forwardRef(
65
- (r, t) => {
66
- const { __scopeRadio: o, forceMount: d, ...e } = r, a = Y(N, o);
67
- return /* @__PURE__ */ i($, { present: d || a.checked, children: /* @__PURE__ */ i(
68
- g.span,
69
- {
70
- "data-state": A(a.checked),
71
- "data-disabled": a.disabled ? "" : void 0,
72
- ...e,
73
- ref: t
74
- }
75
- ) });
76
- }
77
- );
78
- x.displayName = N;
79
- var J = "RadioBubbleInput", S = s.forwardRef(
80
- ({
81
- __scopeRadio: r,
82
- control: t,
83
- checked: o,
84
- bubbles: d = !0,
85
- ...e
86
- }, a) => {
87
- const n = s.useRef(null), p = I(n, a), f = H(o), m = z(t);
88
- return s.useEffect(() => {
89
- const v = n.current;
90
- if (!v) return;
91
- const l = window.HTMLInputElement.prototype, c = Object.getOwnPropertyDescriptor(
92
- l,
93
- "checked"
94
- ).set;
95
- if (f !== o && c) {
96
- const u = new Event("click", { bubbles: d });
97
- c.call(v, o), v.dispatchEvent(u);
98
- }
99
- }, [f, o, d]), /* @__PURE__ */ i(
100
- g.input,
101
- {
102
- type: "radio",
103
- "aria-hidden": !0,
104
- defaultChecked: o,
105
- ...e,
106
- tabIndex: -1,
107
- ref: p,
108
- style: {
109
- ...e.style,
110
- ...m,
111
- position: "absolute",
112
- pointerEvents: "none",
113
- opacity: 0,
114
- margin: 0
115
- }
116
- }
117
- );
118
- }
119
- );
120
- S.displayName = J;
121
- function A(r) {
122
- return r ? "checked" : "unchecked";
1
+ "use client";
2
+ import { jsxs as Ve, jsx as R } from "react/jsx-runtime";
3
+ import { cn as fe } from "../../../lib/utils.js";
4
+ import * as r from "react";
5
+ import { u as Pe } from "../../../useControlled-Sx-_x7Sz.js";
6
+ import { u as G } from "../../../useStableCallback-CudqoENs.js";
7
+ import { u as pe } from "../../../useBaseUiId-C8Dq0BQq.js";
8
+ import { S as Oe } from "../../../composite-BSpUD7nI.js";
9
+ import { A as Fe, C as we } from "../../../CompositeRoot-Dy-5A-Je.js";
10
+ import { f as me, a as be, u as ye, c as Me, b as Te } from "../../../LabelableContext-Dzw1DWuj.js";
11
+ import { f as ge, N as z, c as _e, E as le, u as he } from "../../../useRenderElement-DNB2vtF1.js";
12
+ import { u as Ge } from "../../../useValueChanged-Bissqjjn.js";
13
+ import { c as Ke } from "../../../element-DSo91iOi.js";
14
+ import { u as ue } from "../../../useIsoLayoutEffect-DpJo20by.js";
15
+ import { v as qe, a as Be } from "../../../visuallyHidden-PuyyGHVF.js";
16
+ import { c as Se, n as De } from "../../../createBaseUIEventDetails-CqidROtw.js";
17
+ import { t as Le, u as ze, a as He } from "../../../useOpenChangeComplete-DkeH9FGJ.js";
18
+ import { C as Ue } from "../../../CompositeItem-CniPsjzP.js";
19
+ import { u as je } from "../../../FieldItemContext-CF2fRwBC.js";
20
+ import { u as Ye } from "../../../useAriaLabelledBy-VklrCmKp.js";
21
+ import { u as Je } from "../../../useLabelableId-DF_d91GP.js";
22
+ import { s as We } from "../../../serializeValue-BebmSzW3.js";
23
+ import { a as $e } from "../../../useButton-JYPKQKj4.js";
24
+ const Ce = /* @__PURE__ */ r.createContext({
25
+ legendId: void 0,
26
+ setLegendId: () => {
27
+ },
28
+ disabled: void 0
29
+ });
30
+ process.env.NODE_ENV !== "production" && (Ce.displayName = "FieldsetRootContext");
31
+ function Qe(t = !1) {
32
+ const a = r.useContext(Ce);
33
+ if (!a && !t)
34
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: FieldsetRootContext is missing. Fieldset parts must be placed within <Fieldset.Root>." : ge(86));
35
+ return a;
36
+ }
37
+ let ce = /* @__PURE__ */ (function(t) {
38
+ return t.checked = "data-checked", t.unchecked = "data-unchecked", t.disabled = "data-disabled", t.readonly = "data-readonly", t.required = "data-required", t.valid = "data-valid", t.invalid = "data-invalid", t.touched = "data-touched", t.dirty = "data-dirty", t.filled = "data-filled", t.focused = "data-focused", t;
39
+ })({});
40
+ const re = {
41
+ checked(t) {
42
+ return t ? {
43
+ [ce.checked]: ""
44
+ } : {
45
+ [ce.unchecked]: ""
46
+ };
47
+ },
48
+ ...Le,
49
+ ...me
50
+ }, ne = /* @__PURE__ */ r.createContext(void 0);
51
+ process.env.NODE_ENV !== "production" && (ne.displayName = "RadioGroupContext");
52
+ function Xe() {
53
+ return r.useContext(ne);
54
+ }
55
+ const ae = /* @__PURE__ */ r.createContext(void 0);
56
+ process.env.NODE_ENV !== "production" && (ae.displayName = "RadioRootContext");
57
+ function Ze() {
58
+ const t = r.useContext(ae);
59
+ if (t === void 0)
60
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: RadioRootContext is missing. Radio parts must be placed within <Radio.Root>." : ge(52));
61
+ return t;
123
62
  }
124
- var Q = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], y = "RadioGroup", [Z] = P(y, [
125
- E,
126
- _
127
- ]), D = E(), M = _(), [ee, oe] = Z(y), O = s.forwardRef(
128
- (r, t) => {
129
- const {
130
- __scopeRadioGroup: o,
131
- name: d,
132
- defaultValue: e,
133
- value: a,
134
- required: n = !1,
135
- disabled: p = !1,
136
- orientation: f,
137
- dir: m,
138
- loop: v = !0,
139
- onValueChange: l,
140
- ...R
141
- } = r, c = D(o), u = j(m), [b, h] = V({
142
- prop: a,
143
- defaultProp: e ?? null,
144
- onChange: l,
145
- caller: y
146
- });
147
- return /* @__PURE__ */ i(
148
- ee,
149
- {
150
- scope: o,
151
- name: d,
152
- required: n,
153
- disabled: p,
154
- value: b,
155
- onValueChange: h,
156
- children: /* @__PURE__ */ i(
157
- T,
158
- {
159
- asChild: !0,
160
- ...c,
161
- orientation: f,
162
- dir: u,
163
- loop: v,
164
- children: /* @__PURE__ */ i(
165
- g.div,
166
- {
167
- role: "radiogroup",
168
- "aria-required": n,
169
- "aria-orientation": f,
170
- "data-disabled": p ? "" : void 0,
171
- dir: u,
172
- ...R,
173
- ref: t
174
- }
175
- )
176
- }
177
- )
63
+ const Re = /* @__PURE__ */ r.forwardRef(function(a, P) {
64
+ const {
65
+ render: K,
66
+ className: q,
67
+ disabled: O = !1,
68
+ readOnly: b = !1,
69
+ required: m = !1,
70
+ "aria-labelledby": v,
71
+ value: d,
72
+ inputRef: F,
73
+ nativeButton: y = !1,
74
+ id: g,
75
+ ...I
76
+ } = a, l = Xe(), {
77
+ disabled: N,
78
+ readOnly: w,
79
+ required: H,
80
+ checkedValue: U,
81
+ touched: j = !1,
82
+ validation: Y,
83
+ name: k
84
+ } = l ?? {}, f = l?.setCheckedValue ?? z, J = l?.setTouched ?? z, M = l?.registerControlRef ?? z, V = l?.registerInputRef ?? z, {
85
+ setDirty: W,
86
+ validityData: $,
87
+ setTouched: Q,
88
+ setFilled: h,
89
+ state: x,
90
+ disabled: X
91
+ } = be(), i = je(), {
92
+ labelId: Z,
93
+ getDescriptionProps: T
94
+ } = ye(), o = X || i.disabled || N || O, s = w || b, E = H || m, c = l ? U === d : d === "", B = r.useMemo(() => We(d), [d]), C = r.useRef(null), p = r.useRef(null), S = G((n) => {
95
+ n && M(n, o);
96
+ }), _ = _e(F, p, V);
97
+ ue(() => {
98
+ p.current?.checked && h(!0);
99
+ }, [h]), ue(() => {
100
+ if (p.current) {
101
+ if (o && c) {
102
+ V(null);
103
+ return;
178
104
  }
179
- );
105
+ C.current && M(C.current, o), V(p.current);
106
+ }
107
+ }, [c, o, M, V]);
108
+ const A = pe(), D = Je({
109
+ id: g,
110
+ implicit: !1,
111
+ controlRef: C
112
+ }), L = y ? void 0 : D, ee = Ye(v, Z, p, !y, L), e = {
113
+ role: "radio",
114
+ "aria-checked": c,
115
+ "aria-required": E || void 0,
116
+ "aria-readonly": s || void 0,
117
+ "aria-labelledby": ee,
118
+ [Fe]: c ? "" : void 0,
119
+ id: y ? D : A,
120
+ onKeyDown(n) {
121
+ n.key === "Enter" && n.preventDefault();
122
+ },
123
+ onClick(n) {
124
+ n.defaultPrevented || o || s || (n.preventDefault(), p.current?.dispatchEvent(new PointerEvent("click", {
125
+ bubbles: !0,
126
+ shiftKey: n.shiftKey,
127
+ ctrlKey: n.ctrlKey,
128
+ altKey: n.altKey,
129
+ metaKey: n.metaKey
130
+ })));
131
+ },
132
+ onFocus(n) {
133
+ n.defaultPrevented || o || s || !j || (p.current?.click(), J(!1));
134
+ }
135
+ }, {
136
+ getButtonProps: u,
137
+ buttonRef: Ee
138
+ } = $e({
139
+ disabled: o,
140
+ native: y
141
+ }), Ie = {
142
+ type: "radio",
143
+ ref: _,
144
+ id: L,
145
+ name: k,
146
+ tabIndex: -1,
147
+ style: k ? qe : Be,
148
+ "aria-hidden": !0,
149
+ ...d !== void 0 ? {
150
+ value: B
151
+ } : le,
152
+ disabled: o,
153
+ checked: c,
154
+ required: E,
155
+ readOnly: s,
156
+ onChange(n) {
157
+ if (n.nativeEvent.defaultPrevented || o || s || d === void 0)
158
+ return;
159
+ const de = Se(De, n.nativeEvent);
160
+ de.isCanceled || (Q(!0), W(d !== $.initialValue), h(!0), f(d, de));
161
+ },
162
+ onFocus() {
163
+ C.current?.focus();
164
+ }
165
+ }, te = r.useMemo(() => ({
166
+ ...x,
167
+ required: E,
168
+ disabled: o,
169
+ readOnly: s,
170
+ checked: c
171
+ }), [x, o, s, c, E]), Ne = te, oe = l !== void 0, ie = [P, C, Ee, S], se = [e, T, Y?.getValidationProps ?? le, I, u], ke = he("span", a, {
172
+ enabled: !oe,
173
+ state: te,
174
+ ref: ie,
175
+ props: se,
176
+ stateAttributesMapping: re
177
+ });
178
+ return /* @__PURE__ */ Ve(ae.Provider, {
179
+ value: Ne,
180
+ children: [oe ? /* @__PURE__ */ R(Ue, {
181
+ tag: "span",
182
+ render: K,
183
+ className: q,
184
+ state: te,
185
+ refs: ie,
186
+ props: se,
187
+ stateAttributesMapping: re
188
+ }) : ke, /* @__PURE__ */ R("input", {
189
+ ...Ie
190
+ })]
191
+ });
192
+ });
193
+ process.env.NODE_ENV !== "production" && (Re.displayName = "RadioRoot");
194
+ const ve = /* @__PURE__ */ r.forwardRef(function(a, P) {
195
+ const {
196
+ render: K,
197
+ className: q,
198
+ keepMounted: O = !1,
199
+ ...b
200
+ } = a, m = Ze(), v = m.checked, {
201
+ mounted: d,
202
+ transitionStatus: F,
203
+ setMounted: y
204
+ } = ze(v), g = {
205
+ ...m,
206
+ transitionStatus: F
207
+ }, I = r.useRef(null), l = O || d, N = he("span", a, {
208
+ ref: [P, I],
209
+ state: g,
210
+ props: b,
211
+ stateAttributesMapping: re
212
+ });
213
+ return He({
214
+ open: v,
215
+ ref: I,
216
+ onComplete() {
217
+ v || y(!1);
218
+ }
219
+ }), l ? N : null;
220
+ });
221
+ process.env.NODE_ENV !== "production" && (ve.displayName = "RadioIndicator");
222
+ const Ae = [Oe], xe = /* @__PURE__ */ r.forwardRef(function(a, P) {
223
+ const {
224
+ render: K,
225
+ className: q,
226
+ disabled: O,
227
+ readOnly: b,
228
+ required: m,
229
+ onValueChange: v,
230
+ value: d,
231
+ defaultValue: F,
232
+ name: y,
233
+ inputRef: g,
234
+ id: I,
235
+ ...l
236
+ } = a, {
237
+ setTouched: N,
238
+ setFocused: w,
239
+ shouldValidateOnChange: H,
240
+ validationMode: U,
241
+ name: j,
242
+ disabled: Y,
243
+ state: k,
244
+ validation: f,
245
+ setDirty: J,
246
+ setFilled: M,
247
+ validityData: V
248
+ } = be(), {
249
+ labelId: W
250
+ } = ye(), {
251
+ clearErrors: $
252
+ } = Me(), Q = Qe(!0), h = Y || O, x = j ?? y, X = pe(I), [i, Z] = Pe({
253
+ controlled: d,
254
+ default: F,
255
+ name: "RadioGroup",
256
+ state: "value"
257
+ }), T = G(v), o = G((e, u) => {
258
+ T(e, u), !u.isCanceled && Z(e);
259
+ }), s = r.useRef(null), E = r.useRef(null), c = r.useRef(null);
260
+ function B(e) {
261
+ let u;
262
+ return g && (typeof g == "function" ? u = g(e) : g.current = e), E.current = e, f.inputRef.current = e, u;
180
263
  }
181
- );
182
- O.displayName = y;
183
- var F = "RadioGroupItem", L = s.forwardRef(
184
- (r, t) => {
185
- const { __scopeRadioGroup: o, disabled: d, ...e } = r, a = oe(F, o), n = a.disabled || d, p = D(o), f = M(o), m = s.useRef(null), v = I(t, m), l = a.value === e.value, R = s.useRef(!1);
186
- return s.useEffect(() => {
187
- const c = (b) => {
188
- Q.includes(b.key) && (R.current = !0);
189
- }, u = () => R.current = !1;
190
- return document.addEventListener("keydown", c), document.addEventListener("keyup", u), () => {
191
- document.removeEventListener("keydown", c), document.removeEventListener("keyup", u);
192
- };
193
- }, []), /* @__PURE__ */ i(
194
- U,
195
- {
196
- asChild: !0,
197
- ...p,
198
- focusable: !n,
199
- active: l,
200
- children: /* @__PURE__ */ i(
201
- G,
202
- {
203
- disabled: n,
204
- required: a.required,
205
- checked: l,
206
- ...f,
207
- ...e,
208
- name: a.name,
209
- ref: v,
210
- onCheck: () => a.onValueChange(e.value),
211
- onKeyDown: C((c) => {
212
- c.key === "Enter" && c.preventDefault();
213
- }),
214
- onFocus: C(e.onFocus, () => {
215
- R.current && m.current?.click();
216
- })
217
- }
218
- )
264
+ const C = G((e, u = !1) => {
265
+ if (e) {
266
+ if (u) {
267
+ s.current === e && (s.current = null);
268
+ return;
219
269
  }
220
- );
221
- }
222
- );
223
- L.displayName = F;
224
- var re = "RadioGroupIndicator", q = s.forwardRef(
225
- (r, t) => {
226
- const { __scopeRadioGroup: o, ...d } = r, e = M(o);
227
- return /* @__PURE__ */ i(x, { ...e, ...d, ref: t });
228
- }
229
- );
230
- q.displayName = re;
231
- var te = O, ae = L, ie = q;
232
- function ge({
233
- className: r,
234
- ...t
235
- }) {
236
- return /* @__PURE__ */ i(
237
- te,
270
+ s.current == null && (s.current = e);
271
+ }
272
+ }), p = G((e) => {
273
+ if (!e || e.disabled)
274
+ return;
275
+ c.current || (c.current = e);
276
+ const u = E.current;
277
+ if (e.checked || u == null || u.disabled)
278
+ return B(e);
279
+ });
280
+ Te({
281
+ id: X,
282
+ commit: f.commit,
283
+ value: i,
284
+ controlRef: s,
285
+ name: x,
286
+ getValue: () => i ?? null
287
+ }), Ge(i, () => {
288
+ $(x), J(i !== V.initialValue), M(i != null), H() ? f.commit(i) : f.commit(i, !0);
289
+ const e = c.current;
290
+ i == null && e && !e.disabled && B(e);
291
+ });
292
+ const [S, _] = r.useState(!1), A = l["aria-labelledby"] ?? W ?? Q?.legendId, D = {
293
+ ...k,
294
+ disabled: h ?? !1,
295
+ required: m ?? !1,
296
+ readOnly: b ?? !1
297
+ }, L = r.useMemo(() => ({
298
+ ...k,
299
+ checkedValue: i,
300
+ disabled: h,
301
+ validation: f,
302
+ name: x,
303
+ onValueChange: T,
304
+ readOnly: b,
305
+ registerControlRef: C,
306
+ registerInputRef: p,
307
+ required: m,
308
+ setCheckedValue: o,
309
+ setTouched: _,
310
+ touched: S
311
+ }), [i, h, f, k, x, T, b, C, p, m, o, _, S]), ee = {
312
+ role: "radiogroup",
313
+ "aria-required": m || void 0,
314
+ "aria-disabled": h || void 0,
315
+ "aria-readonly": b || void 0,
316
+ "aria-labelledby": A,
317
+ onFocus() {
318
+ w(!0);
319
+ },
320
+ onBlur(e) {
321
+ Ke(e.currentTarget, e.relatedTarget) || (N(!0), w(!1), U === "onBlur" && f.commit(i));
322
+ },
323
+ onKeyDownCapture(e) {
324
+ e.key.startsWith("Arrow") && (N(!0), _(!0), w(!0));
325
+ }
326
+ };
327
+ return /* @__PURE__ */ R(ne.Provider, {
328
+ value: L,
329
+ children: /* @__PURE__ */ R(we, {
330
+ render: K,
331
+ className: q,
332
+ state: D,
333
+ props: [ee, f.getValidationProps, l],
334
+ refs: [P],
335
+ stateAttributesMapping: me,
336
+ enableHomeAndEndKeys: !1,
337
+ modifierKeys: Ae
338
+ })
339
+ });
340
+ });
341
+ process.env.NODE_ENV !== "production" && (xe.displayName = "RadioGroup");
342
+ function vt({ className: t, ...a }) {
343
+ return /* @__PURE__ */ R(
344
+ xe,
238
345
  {
239
- className: k("grid gap-3", r),
346
+ className: fe("grid w-full gap-3", t),
240
347
  "data-slot": "radio-group",
241
- ...t
348
+ ...a
242
349
  }
243
350
  );
244
351
  }
245
- function ye({
246
- className: r,
247
- ...t
248
- }) {
249
- return /* @__PURE__ */ i(
250
- ae,
352
+ function xt({ className: t, ...a }) {
353
+ return /* @__PURE__ */ R(
354
+ Re,
251
355
  {
252
- className: k(
253
- "aspect-square size-4 shrink-0 rounded-full border border-input text-primary shadow-xs outline-none transition-[color,box-shadow] focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:aria-invalid:ring-destructive/40",
254
- r
356
+ className: fe(
357
+ "group/radio-group-item peer relative flex aspect-square size-4 shrink-0 rounded-full border border-input outline-none after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary data-checked:border-primary dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
358
+ t
255
359
  ),
256
360
  "data-slot": "radio-group-item",
257
- ...t,
258
- children: /* @__PURE__ */ i(
259
- ie,
361
+ ...a,
362
+ children: /* @__PURE__ */ R(
363
+ ve,
260
364
  {
261
- className: "relative flex items-center justify-center",
365
+ className: "flex size-4 items-center justify-center",
262
366
  "data-slot": "radio-group-indicator",
263
- children: /* @__PURE__ */ i(K, { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 fill-primary" })
367
+ children: /* @__PURE__ */ R("span", { className: "absolute top-1/2 left-1/2 size-2.5 -translate-x-1/2 -translate-y-1/2 rounded-full bg-primary shadow-[inset_0_1px_2px_rgba(0,0,0,0.2)]" })
264
368
  }
265
369
  )
266
370
  }
267
371
  );
268
372
  }
269
373
  export {
270
- ge as RadioGroup,
271
- ye as RadioGroupItem
374
+ vt as RadioGroup,
375
+ xt as RadioGroupItem
272
376
  };
@@ -1,8 +1,7 @@
1
- import type * as React from "react";
2
1
  import * as ResizablePrimitive from "react-resizable-panels";
3
- declare function ResizablePanelGroup({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>): import("react/jsx-runtime").JSX.Element;
4
- declare function ResizablePanel({ ...props }: React.ComponentProps<typeof ResizablePrimitive.Panel>): import("react/jsx-runtime").JSX.Element;
5
- declare function ResizableHandle({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
2
+ declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): import("react/jsx-runtime").JSX.Element;
3
+ declare function ResizablePanel({ ...props }: ResizablePrimitive.PanelProps): import("react/jsx-runtime").JSX.Element;
4
+ declare function ResizableHandle({ withHandle, className, ...props }: ResizablePrimitive.SeparatorProps & {
6
5
  withHandle?: boolean;
7
6
  }): import("react/jsx-runtime").JSX.Element;
8
7
  export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
@@ -1 +1 @@
1
- {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/resizable.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAG7D,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,UAAU,CAAC,2CAW5D;AAED,iBAAS,cAAc,CAAC,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,KAAK,CAAC,2CAEvD;AAED,iBAAS,eAAe,CAAC,EACvB,UAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,kBAAkB,CAAC,iBAAiB,CAAC,GAAG;IACrE,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,2CAiBA;AAED,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC"}
1
+ {"version":3,"file":"resizable.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/resizable.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,kBAAkB,MAAM,wBAAwB,CAAC;AAI7D,iBAAS,mBAAmB,CAAC,EAC3B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,CAAC,UAAU,2CAW/B;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,CAAC,UAAU,2CAElE;AAED,iBAAS,eAAe,CAAC,EACvB,UAAU,EACV,SAAS,EACT,GAAG,KAAK,EACT,EAAE,kBAAkB,CAAC,cAAc,GAAG;IACrC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,2CAeA;AAED,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,mBAAmB,EAAE,CAAC"}