@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,268 +1,288 @@
1
- import { jsx as c, jsxs as L, Fragment as O } from "react/jsx-runtime";
2
- import { MinusIcon as H, CheckIcon as G } from "lucide-react";
3
- import { cn as K } from "../../../lib/utils.js";
4
- import * as s from "react";
5
- import { u as w } from "../../../index-D2LZVjSn.js";
6
- import { c as U } from "../../../index-DFZozV_h.js";
7
- import { c as N } from "../../../index-B695uy69.js";
8
- import { u as X } from "../../../index-437EL2iq.js";
9
- import { u as $ } from "../../../index-BZPx6jYI.js";
10
- import { u as J } from "../../../index-BGQepRFJ.js";
11
- import { P as Q } from "../../../index-BaLuVb4t.js";
12
- import { P as R } from "../../../index-DLohNuco.js";
13
- var y = "Checkbox", [V] = U(y), [W, _] = V(y);
14
- function Y(t) {
1
+ "use client";
2
+ import { jsxs as Le, jsx as C } from "react/jsx-runtime";
3
+ import { MinusIcon as Te, CheckIcon as qe } from "lucide-react";
4
+ import { cn as je } from "../../../lib/utils.js";
5
+ import * as r from "react";
6
+ import { f as re, a as He, N as A, c as Ue, m as ze, E as We, u as ae } from "../../../useRenderElement-DNB2vtF1.js";
7
+ import { u as $e } from "../../../useControlled-Sx-_x7Sz.js";
8
+ import { u as De } from "../../../useStableCallback-CudqoENs.js";
9
+ import { u as ee } from "../../../useIsoLayoutEffect-DpJo20by.js";
10
+ import { v as Je, a as Xe } from "../../../visuallyHidden-PuyyGHVF.js";
11
+ import { f as oe, c as Ye, a as Qe, u as Ze, b as Ae } from "../../../LabelableContext-Dzw1DWuj.js";
12
+ import { u as te } from "../../../useBaseUiId-C8Dq0BQq.js";
13
+ import { a as et } from "../../../useButton-JYPKQKj4.js";
14
+ import { u as tt } from "../../../FieldItemContext-CF2fRwBC.js";
15
+ import { u as nt } from "../../../useAriaLabelledBy-VklrCmKp.js";
16
+ import { c as rt, n as at } from "../../../createBaseUIEventDetails-CqidROtw.js";
17
+ import { u as ot } from "../../../useValueChanged-Bissqjjn.js";
18
+ import { u as dt, a as it, t as st } from "../../../useOpenChangeComplete-DkeH9FGJ.js";
19
+ let ne = /* @__PURE__ */ (function(e) {
20
+ return e.checked = "data-checked", e.unchecked = "data-unchecked", e.indeterminate = "data-indeterminate", e.disabled = "data-disabled", e.readonly = "data-readonly", e.required = "data-required", e.valid = "data-valid", e.invalid = "data-invalid", e.touched = "data-touched", e.dirty = "data-dirty", e.filled = "data-filled", e.focused = "data-focused", e;
21
+ })({});
22
+ function de(e) {
23
+ return r.useMemo(() => ({
24
+ checked(d) {
25
+ return e.indeterminate ? {} : d ? {
26
+ [ne.checked]: ""
27
+ } : {
28
+ [ne.unchecked]: ""
29
+ };
30
+ },
31
+ ...oe
32
+ }), [e.indeterminate]);
33
+ }
34
+ const ie = /* @__PURE__ */ r.createContext(void 0);
35
+ process.env.NODE_ENV !== "production" && (ie.displayName = "CheckboxGroupContext");
36
+ function ct(e = !0) {
37
+ const d = r.useContext(ie);
38
+ if (d === void 0 && !e)
39
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: CheckboxGroupContext is missing. CheckboxGroup parts must be placed within <CheckboxGroup>." : re(3));
40
+ return d;
41
+ }
42
+ const j = /* @__PURE__ */ r.createContext(void 0);
43
+ process.env.NODE_ENV !== "production" && (j.displayName = "CheckboxRootContext");
44
+ function ut() {
45
+ const e = r.useContext(j);
46
+ if (e === void 0)
47
+ throw new Error(process.env.NODE_ENV !== "production" ? "Base UI: CheckboxRootContext is missing. Checkbox parts must be placed within <Checkbox.Root>." : re(14));
48
+ return e;
49
+ }
50
+ const lt = "data-parent", se = /* @__PURE__ */ r.forwardRef(function(d, x) {
15
51
  const {
16
- __scopeCheckbox: r,
17
- checked: i,
18
- children: l,
19
- defaultChecked: n,
20
- disabled: e,
21
- form: f,
22
- name: m,
23
- onCheckedChange: d,
24
- required: h,
25
- value: k = "on",
26
- // @ts-expect-error
27
- internal_do_not_use_render: u
28
- } = t, [p, v] = X({
29
- prop: i,
30
- defaultProp: n ?? !1,
31
- onChange: d,
32
- caller: y
33
- }), [C, x] = s.useState(null), [g, o] = s.useState(null), a = s.useRef(!1), I = C ? !!f || !!C.closest("form") : (
34
- // We set this to true by default so that events bubble to forms without JS (SSR)
35
- !0
36
- ), P = {
37
- checked: p,
38
- disabled: e,
39
- setChecked: v,
40
- control: C,
41
- setControl: x,
42
- name: m,
43
- form: f,
44
- value: k,
45
- hasConsumerStoppedPropagationRef: a,
46
- required: h,
47
- defaultChecked: b(n) ? !1 : n,
48
- isFormControl: I,
49
- bubbleInput: g,
50
- setBubbleInput: o
51
- };
52
- return /* @__PURE__ */ c(
53
- W,
52
+ checked: H,
53
+ className: ue,
54
+ defaultChecked: S = !1,
55
+ "aria-labelledby": w,
56
+ disabled: p = !1,
57
+ id: m,
58
+ indeterminate: v = !1,
59
+ inputRef: G,
60
+ name: K,
61
+ onCheckedChange: E,
62
+ parent: i = !1,
63
+ readOnly: c = !1,
64
+ render: U,
65
+ required: h = !1,
66
+ uncheckedValue: P,
67
+ value: N,
68
+ nativeButton: I = !1,
69
+ ...le
70
+ } = d, {
71
+ clearErrors: fe
72
+ } = Ye(), {
73
+ disabled: pe,
74
+ name: me,
75
+ setDirty: he,
76
+ setFilled: F,
77
+ setFocused: z,
78
+ setTouched: be,
79
+ state: W,
80
+ validationMode: ge,
81
+ validityData: ke,
82
+ shouldValidateOnChange: Ce,
83
+ validation: xe
84
+ } = Qe(), ve = tt(), {
85
+ labelId: ye,
86
+ controlId: Ee,
87
+ registerControlId: b,
88
+ getDescriptionProps: $
89
+ } = Ze(), t = ct(), y = t?.parent, R = y && t.allValues, u = pe || ve.disabled || t?.disabled || p, l = me ?? K, a = N ?? l, D = te(), Pe = te();
90
+ let f = Ee;
91
+ R ? f = i ? Pe : `${y.id}-${a}` : m && (f = m);
92
+ let _ = {};
93
+ R && (i ? _ = t.parent.getParentProps() : a && (_ = t.parent.getChildProps(a)));
94
+ const Ne = De(E), {
95
+ checked: J = H,
96
+ indeterminate: V = v,
97
+ onCheckedChange: Ie,
98
+ ...Re
99
+ } = _, g = t?.value, X = t?.setValue, Y = t?.defaultValue, L = r.useRef(null), M = He(() => /* @__PURE__ */ Symbol("checkbox-control")), T = r.useRef(!1), {
100
+ getButtonProps: Ve,
101
+ buttonRef: Me
102
+ } = et({
103
+ disabled: u,
104
+ native: I
105
+ }), s = t?.validation ?? xe, [o, Be] = $e({
106
+ controlled: a && g && !i ? g.includes(a) : J,
107
+ default: a && Y && !i ? Y.includes(a) : S,
108
+ name: "Checkbox",
109
+ state: "checked"
110
+ });
111
+ ee(() => {
112
+ b !== A && (T.current = !0, b(M.current, f));
113
+ }, [f, t, b, i, M]), r.useEffect(() => {
114
+ const n = M.current;
115
+ return () => {
116
+ !T.current || b === A || (T.current = !1, b(n, void 0));
117
+ };
118
+ }, [b, M]), Ae({
119
+ enabled: !t,
120
+ id: D,
121
+ commit: s.commit,
122
+ value: o,
123
+ controlRef: L,
124
+ name: l,
125
+ getValue: () => o
126
+ });
127
+ const k = r.useRef(null), Oe = Ue(G, k, s.inputRef), Se = nt(w, ye, k, !I, f ?? void 0);
128
+ ee(() => {
129
+ k.current && (k.current.indeterminate = V, o && F(!0));
130
+ }, [o, V, F]), ot(o, () => {
131
+ t && !i || (fe(l), F(o), he(o !== ke.initialValue), Ce() ? s.commit(o) : s.commit(o, !0));
132
+ });
133
+ const we = ze(
54
134
  {
55
- scope: r,
56
- ...P,
57
- children: Z(u) ? u(P) : l
58
- }
59
- );
60
- }
61
- var S = "CheckboxTrigger", B = s.forwardRef(
62
- ({ __scopeCheckbox: t, onKeyDown: r, onClick: i, ...l }, n) => {
63
- const {
64
- control: e,
65
- value: f,
66
- disabled: m,
67
- checked: d,
135
+ checked: o,
136
+ disabled: u,
137
+ // parent checkboxes unset `name` to be excluded from form submission
138
+ name: i ? void 0 : l,
139
+ // Set `id` to stop Chrome warning about an unassociated input.
140
+ // When using a native button, the `id` is applied to the button instead.
141
+ id: I ? void 0 : f ?? void 0,
68
142
  required: h,
69
- setControl: k,
70
- setChecked: u,
71
- hasConsumerStoppedPropagationRef: p,
72
- isFormControl: v,
73
- bubbleInput: C
74
- } = _(S, t), x = w(n, k), g = s.useRef(d);
75
- return s.useEffect(() => {
76
- const o = e?.form;
77
- if (o) {
78
- const a = () => u(g.current);
79
- return o.addEventListener("reset", a), () => o.removeEventListener("reset", a);
143
+ ref: Oe,
144
+ style: l ? Je : Xe,
145
+ tabIndex: -1,
146
+ type: "checkbox",
147
+ "aria-hidden": !0,
148
+ onChange(n) {
149
+ if (n.nativeEvent.defaultPrevented)
150
+ return;
151
+ const B = n.target.checked, O = rt(at, n.nativeEvent);
152
+ if (Ie?.(B, O), Ne(B, O), !O.isCanceled && (Be(B), a && g && X && !i)) {
153
+ const Fe = B ? [...g, a] : g.filter((_e) => _e !== a);
154
+ X(Fe, O);
155
+ }
156
+ },
157
+ onFocus() {
158
+ L.current?.focus();
80
159
  }
81
- }, [e, u]), /* @__PURE__ */ c(
82
- R.button,
83
- {
84
- type: "button",
85
- role: "checkbox",
86
- "aria-checked": b(d) ? "mixed" : d,
87
- "aria-required": h,
88
- "data-state": j(d),
89
- "data-disabled": m ? "" : void 0,
90
- disabled: m,
91
- value: f,
92
- ...l,
93
- ref: x,
94
- onKeyDown: N(r, (o) => {
95
- o.key === "Enter" && o.preventDefault();
96
- }),
97
- onClick: N(i, (o) => {
98
- u((a) => b(a) ? !0 : !a), C && v && (p.current = o.isPropagationStopped(), p.current || o.stopPropagation());
99
- })
160
+ },
161
+ // React <19 sets an empty value if `undefined` is passed explicitly
162
+ // To avoid this, we only set the value if it's defined
163
+ N !== void 0 ? {
164
+ value: (t ? o && N : N) || ""
165
+ } : We,
166
+ $,
167
+ t ? s.getValidationProps : s.getInputValidationProps
168
+ ), Q = R ? !!J : o, Z = R && V || v;
169
+ r.useEffect(() => {
170
+ if (!y || !a)
171
+ return;
172
+ const n = y.disabledStatesRef.current;
173
+ return n.set(a, u), () => {
174
+ n.delete(a);
175
+ };
176
+ }, [y, u, a]);
177
+ const q = r.useMemo(() => ({
178
+ ...W,
179
+ checked: Q,
180
+ disabled: u,
181
+ readOnly: c,
182
+ required: h,
183
+ indeterminate: Z
184
+ }), [W, Q, u, c, h, Z]), Ge = de(q), Ke = ae("span", d, {
185
+ state: q,
186
+ ref: [Me, L, x, t?.registerControlRef],
187
+ props: [{
188
+ id: I ? f ?? void 0 : D,
189
+ role: "checkbox",
190
+ "aria-checked": V ? "mixed" : o,
191
+ "aria-readonly": c || void 0,
192
+ "aria-required": h || void 0,
193
+ "aria-labelledby": Se,
194
+ [lt]: i ? "" : void 0,
195
+ onFocus() {
196
+ z(!0);
197
+ },
198
+ onBlur() {
199
+ const n = k.current;
200
+ n && (be(!0), z(!1), ge === "onBlur" && s.commit(t ? g : n.checked));
201
+ },
202
+ onClick(n) {
203
+ c || u || (n.preventDefault(), k.current?.dispatchEvent(new PointerEvent("click", {
204
+ bubbles: !0,
205
+ shiftKey: n.shiftKey,
206
+ ctrlKey: n.ctrlKey,
207
+ altKey: n.altKey,
208
+ metaKey: n.metaKey
209
+ })));
100
210
  }
101
- );
102
- }
103
- );
104
- B.displayName = S;
105
- var M = s.forwardRef(
106
- (t, r) => {
107
- const {
108
- __scopeCheckbox: i,
211
+ }, $, s.getValidationProps, le, Re, Ve],
212
+ stateAttributesMapping: Ge
213
+ });
214
+ return /* @__PURE__ */ Le(j.Provider, {
215
+ value: q,
216
+ children: [Ke, !o && !t && l && !i && P !== void 0 && /* @__PURE__ */ C("input", {
217
+ type: "hidden",
109
218
  name: l,
110
- checked: n,
111
- defaultChecked: e,
112
- required: f,
113
- disabled: m,
114
- value: d,
115
- onCheckedChange: h,
116
- form: k,
117
- ...u
118
- } = t;
119
- return /* @__PURE__ */ c(
120
- Y,
121
- {
122
- __scopeCheckbox: i,
123
- checked: n,
124
- defaultChecked: e,
125
- disabled: m,
126
- required: f,
127
- onCheckedChange: h,
128
- name: l,
129
- form: k,
130
- value: d,
131
- internal_do_not_use_render: ({ isFormControl: p }) => /* @__PURE__ */ L(O, { children: [
132
- /* @__PURE__ */ c(
133
- B,
134
- {
135
- ...u,
136
- ref: r,
137
- __scopeCheckbox: i
138
- }
139
- ),
140
- p && /* @__PURE__ */ c(
141
- A,
142
- {
143
- __scopeCheckbox: i
144
- }
145
- )
146
- ] })
147
- }
148
- );
149
- }
150
- );
151
- M.displayName = y;
152
- var T = "CheckboxIndicator", q = s.forwardRef(
153
- (t, r) => {
154
- const { __scopeCheckbox: i, forceMount: l, ...n } = t, e = _(T, i);
155
- return /* @__PURE__ */ c(
156
- Q,
157
- {
158
- present: l || b(e.checked) || e.checked === !0,
159
- children: /* @__PURE__ */ c(
160
- R.span,
161
- {
162
- "data-state": j(e.checked),
163
- "data-disabled": e.disabled ? "" : void 0,
164
- ...n,
165
- ref: r,
166
- style: { pointerEvents: "none", ...t.style }
167
- }
168
- )
169
- }
170
- );
171
- }
172
- );
173
- q.displayName = T;
174
- var z = "CheckboxBubbleInput", A = s.forwardRef(
175
- ({ __scopeCheckbox: t, ...r }, i) => {
176
- const {
177
- control: l,
178
- hasConsumerStoppedPropagationRef: n,
179
- checked: e,
180
- defaultChecked: f,
181
- required: m,
182
- disabled: d,
183
- name: h,
184
- value: k,
185
- form: u,
186
- bubbleInput: p,
187
- setBubbleInput: v
188
- } = _(z, t), C = w(i, v), x = $(e), g = J(l);
189
- s.useEffect(() => {
190
- const a = p;
191
- if (!a) return;
192
- const I = window.HTMLInputElement.prototype, E = Object.getOwnPropertyDescriptor(
193
- I,
194
- "checked"
195
- ).set, D = !n.current;
196
- if (x !== e && E) {
197
- const F = new Event("click", { bubbles: D });
198
- a.indeterminate = b(e), E.call(a, b(e) ? !1 : e), a.dispatchEvent(F);
199
- }
200
- }, [p, x, e, n]);
201
- const o = s.useRef(b(e) ? !1 : e);
202
- return /* @__PURE__ */ c(
203
- R.input,
204
- {
205
- type: "checkbox",
206
- "aria-hidden": !0,
207
- defaultChecked: f ?? o.current,
208
- required: m,
209
- disabled: d,
210
- name: h,
211
- value: k,
212
- form: u,
213
- ...r,
214
- tabIndex: -1,
215
- ref: C,
216
- style: {
217
- ...r.style,
218
- ...g,
219
- position: "absolute",
220
- pointerEvents: "none",
221
- opacity: 0,
222
- margin: 0,
223
- // We transform because the input is absolutely positioned but we have
224
- // rendered it **after** the button. This pulls it back to sit on top
225
- // of the button.
226
- transform: "translateX(-100%)"
227
- }
228
- }
229
- );
230
- }
231
- );
232
- A.displayName = z;
233
- function Z(t) {
234
- return typeof t == "function";
235
- }
236
- function b(t) {
237
- return t === "indeterminate";
238
- }
239
- function j(t) {
240
- return b(t) ? "indeterminate" : t ? "checked" : "unchecked";
241
- }
242
- function le({
243
- className: t,
244
- ...r
219
+ value: P
220
+ }), /* @__PURE__ */ C("input", {
221
+ ...we
222
+ })]
223
+ });
224
+ });
225
+ process.env.NODE_ENV !== "production" && (se.displayName = "CheckboxRoot");
226
+ const ce = /* @__PURE__ */ r.forwardRef(function(d, x) {
227
+ const {
228
+ render: H,
229
+ className: ue,
230
+ keepMounted: S = !1,
231
+ ...w
232
+ } = d, p = ut(), m = p.checked || p.indeterminate, {
233
+ mounted: v,
234
+ transitionStatus: G,
235
+ setMounted: K
236
+ } = dt(m), E = r.useRef(null), i = {
237
+ ...p,
238
+ transitionStatus: G
239
+ };
240
+ it({
241
+ open: m,
242
+ ref: E,
243
+ onComplete() {
244
+ m || K(!1);
245
+ }
246
+ });
247
+ const c = de(p), U = r.useMemo(() => ({
248
+ ...c,
249
+ ...st,
250
+ ...oe
251
+ }), [c]), h = S || v, P = ae("span", d, {
252
+ ref: [x, E],
253
+ state: i,
254
+ stateAttributesMapping: U,
255
+ props: w
256
+ });
257
+ return h ? P : null;
258
+ });
259
+ process.env.NODE_ENV !== "production" && (ce.displayName = "CheckboxIndicator");
260
+ function Vt({
261
+ className: e,
262
+ indeterminate: d,
263
+ ...x
245
264
  }) {
246
- return /* @__PURE__ */ c(
247
- M,
265
+ return /* @__PURE__ */ C(
266
+ se,
248
267
  {
249
- className: K(
250
- "peer size-4 shrink-0 rounded-[4px] border border-input shadow-xs outline-none transition-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 data-[state=checked]:border-primary data-[state=indeterminate]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:bg-primary data-[state=checked]:text-primary-foreground data-[state=indeterminate]:text-primary-foreground dark:bg-input/30 dark:data-[state=checked]:bg-primary dark:data-[state=indeterminate]:bg-primary dark:aria-invalid:ring-destructive/40",
251
- t
268
+ className: je(
269
+ "peer relative flex size-4 shrink-0 items-center justify-center rounded-[4px] border border-input outline-none transition-colors 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 group-has-disabled/field:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary data-disabled:data-checked:border-muted-foreground data-disabled:data-indeterminate:border-muted-foreground data-disabled:data-checked:bg-muted-foreground data-disabled:data-indeterminate:bg-muted-foreground data-disabled:cursor-not-allowed data-checked:border-primary data-indeterminate:border-primary data-checked:bg-primary data-indeterminate:bg-primary data-checked:text-primary-foreground data-indeterminate:text-primary-foreground data-disabled:opacity-50 dark:bg-input/30 dark:data-disabled:data-checked:bg-muted-foreground dark:data-disabled:data-indeterminate:bg-muted-foreground dark:data-checked:bg-primary dark:data-indeterminate:bg-primary dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
270
+ e
252
271
  ),
253
272
  "data-slot": "checkbox",
254
- ...r,
255
- children: /* @__PURE__ */ c(
256
- q,
273
+ indeterminate: d,
274
+ ...x,
275
+ children: /* @__PURE__ */ C(
276
+ ce,
257
277
  {
258
- className: "flex items-center justify-center text-current transition-none",
278
+ className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
259
279
  "data-slot": "checkbox-indicator",
260
- children: r.checked === "indeterminate" ? /* @__PURE__ */ c(H, { className: "size-3.5" }) : /* @__PURE__ */ c(G, { className: "size-3.5" })
280
+ children: d ? /* @__PURE__ */ C(Te, {}) : /* @__PURE__ */ C(qe, {})
261
281
  }
262
282
  )
263
283
  }
264
284
  );
265
285
  }
266
286
  export {
267
- le as Checkbox
287
+ Vt as Checkbox
268
288
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { w as a } from "../../../web-BwFNdl01.js";
2
+ import { w as a } from "../../../web-BbvN_Lei.js";
3
3
  import { SHIKI_THEMES as c } from "../../../lib/shiki-themes.js";
4
4
  import { cn as t } from "../../../lib/utils.js";
5
5
  function u({ children: e, className: r, ...l }) {
@@ -1,6 +1,6 @@
1
- import { Collapsible as CollapsiblePrimitive } from 'radix-ui';
2
- declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
- declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
4
- declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
5
- export { Collapsible, CollapsibleContent, CollapsibleTrigger };
1
+ import { Collapsible as CollapsiblePrimitive } from '@base-ui/react/collapsible';
2
+ declare function Collapsible({ className, ...props }: CollapsiblePrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
+ declare function CollapsibleTrigger({ className, ...props }: CollapsiblePrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
4
+ declare function CollapsibleContent({ ...props }: CollapsiblePrimitive.Panel.Props): import("react/jsx-runtime").JSX.Element;
5
+ export { Collapsible, CollapsibleTrigger, CollapsibleContent };
6
6
  //# sourceMappingURL=collapsible.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/collapsible.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,UAAU,CAAC;AAE/D,iBAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,IAAI,CAAC,2CAExD;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,2CAOtE;AAED,iBAAS,kBAAkB,CAAC,EAC1B,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,oBAAoB,CAAC,kBAAkB,CAAC,2CAOtE;AAED,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}
1
+ {"version":3,"file":"collapsible.d.ts","sourceRoot":"","sources":["../../../../lib/components/ui/atoms/collapsible.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,IAAI,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAGjF,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,CAAC,IAAI,CAAC,KAAK,2CAW5E;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,OAAO,CAAC,KAAK,2CAWpC;AAED,iBAAS,kBAAkB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,CAAC,KAAK,CAAC,KAAK,2CAIzE;AAED,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,CAAC"}