@cloudflare/kumo 2.7.0 → 2.9.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 (1130) hide show
  1. package/CHANGELOG.md +107 -0
  2. package/README.md +3 -39
  3. package/ai/USAGE.md +89 -80
  4. package/ai/component-registry.json +1319 -194
  5. package/ai/component-registry.md +1799 -198
  6. package/ai/schemas.ts +139 -8
  7. package/bin/kumo.js +1 -1
  8. package/dist/.build-complete +1 -1
  9. package/dist/ai/schemas.d.ts +2040 -1791
  10. package/dist/ai/schemas.js +5550 -3868
  11. package/dist/blocks-source/delete-resource/delete-resource.tsx +5 -5
  12. package/dist/blocks-source/resource-list/resource-list.test.tsx +1 -1
  13. package/dist/blocks-source/resource-list/resource-list.tsx +1 -4
  14. package/dist/button-Bbi7gFL7.d.ts +227 -0
  15. package/dist/catalog.d.ts +377 -0
  16. package/dist/catalog.js +347 -215
  17. package/dist/chunks/AlertDialogTrigger-fn9yjykev9h5l12q.js +24 -0
  18. package/dist/chunks/AutocompleteItem-clgm7u7zzgjy1hvb.js +82 -0
  19. package/dist/chunks/Button-oczevl8g75m85ew9.js +27 -0
  20. package/dist/chunks/CSPContext-guqghj8kxoukvlky.js +17 -0
  21. package/dist/chunks/CSPProvider-ogozggb4nr6evned.js +24 -0
  22. package/dist/chunks/CheckboxGroup-h9w1c6bo2nlcc4uj.js +177 -0
  23. package/dist/chunks/CheckboxGroupContext-f9wox07n2u5moq4h.js +12 -0
  24. package/dist/chunks/CheckboxIndicator-gz18hapnzraxyz9a.js +49 -0
  25. package/dist/chunks/CheckboxRoot-g6fb44xqgc0qxusf.js +361 -0
  26. package/dist/chunks/CollapsiblePanel-mnjlf99v79k3yabx.js +177 -0
  27. package/dist/chunks/ComboboxChipRemove-opf1zyu9yyp98dqd.js +302 -0
  28. package/dist/chunks/ComboboxClear-fi4op1n12c99ktca.js +302 -0
  29. package/dist/chunks/ComboboxEmpty-dr78bn7zilhqbkgc.js +1882 -0
  30. package/dist/chunks/ComboboxPopup-bugeajuqjattk1n7.js +205 -0
  31. package/dist/chunks/CompositeItem-l7zee38lq5m224d5.js +23 -0
  32. package/dist/chunks/CompositeList-bek8pmx9o8cu36ig.js +129 -0
  33. package/dist/chunks/CompositeListContext-oetjj2x8li8678as.js +18 -0
  34. package/dist/chunks/CompositeRoot-jm9n0rrea12rfny1.js +225 -0
  35. package/dist/chunks/CompositeRootContext-ofhzmevv7hadjhyy.js +12 -0
  36. package/dist/chunks/DialogHandle-o964gplvp59qqv23.js +139 -0
  37. package/dist/chunks/DialogPopup-cz73mkiyi9c33mhn.js +174 -0
  38. package/dist/chunks/DialogRoot-kfhbouiouenljp3q.js +15 -0
  39. package/dist/chunks/DialogTrigger-gzxvssie7e5e1iba.js +139 -0
  40. package/dist/chunks/DirectionContext-jc1g0w645603sd6p.js +13 -0
  41. package/dist/chunks/DirectionProvider-gdktkteyrlpnokak.js +21 -0
  42. package/dist/chunks/FieldControl-oz007qbkl6ejp7di.js +104 -0
  43. package/dist/chunks/FieldDescription-go88jdymmj9o0ugi.js +121 -0
  44. package/dist/chunks/FieldItemContext-j85dc0ihramj5ezs.js +10 -0
  45. package/dist/chunks/FieldLabel-junk2aczkvogpv5d.js +558 -0
  46. package/dist/chunks/FieldsetLegend-ch85hugankjah152.js +68 -0
  47. package/dist/chunks/FieldsetRootContext-b633e9uzilttuyfi.js +12 -0
  48. package/dist/chunks/FloatingPortalLite-ld4o97z16w23x6za.js +25 -0
  49. package/dist/chunks/FloatingTree-jdm71b3m43e34hk7.js +115 -0
  50. package/dist/chunks/Form-f1ibju5npd1qqowg.js +102 -0
  51. package/dist/chunks/FormContext-xz0b4h7ue30fkkn1.js +17 -0
  52. package/dist/chunks/Input-opaph7rt3w2vx3c0.js +20 -0
  53. package/dist/chunks/LabelableContext-hetas2e4y0kywfas.js +131 -0
  54. package/dist/chunks/MenuBackdrop-m0tfcr6sg50f9sn5.js +78 -0
  55. package/dist/chunks/MenuSubmenuTrigger-n281iqpstcnacsk6.js +1532 -0
  56. package/dist/chunks/MenuTrigger-dwh2ewyxp5j3ml02.js +266 -0
  57. package/dist/chunks/Menubar-m8euwx8biy1qpo44.js +117 -0
  58. package/dist/chunks/MenubarContext-ei2r6vu6lmsspozo.js +12 -0
  59. package/dist/chunks/MeterLabel-efe4koezlgg05cv8.js +151 -0
  60. package/dist/chunks/PopoverClose-inm8xliypc51murq.js +666 -0
  61. package/dist/chunks/RadioGroup-h25jrjmet0gxrvex.js +165 -0
  62. package/dist/chunks/RadioGroupContext-ft0nndmzqynjz8a2.js +10 -0
  63. package/dist/chunks/RadioIndicator-lvpixnzpkxpq7rp1.js +296 -0
  64. package/dist/chunks/ScrollAreaThumb-jydo7azxxwjn1cqf.js +944 -0
  65. package/dist/chunks/SelectGroupLabel-mug19qcz2k67qule.js +1600 -0
  66. package/dist/chunks/Separator-b8wf5rea6m1cei8k.js +24 -0
  67. package/dist/chunks/SwitchRoot-gumgk7356eqv7dve.js +237 -0
  68. package/dist/chunks/TabsList-obzldrvfzo50uqr4.js +617 -0
  69. package/dist/chunks/Toggle-hlf7recxsq6mxvax.js +89 -0
  70. package/dist/chunks/ToggleGroup-l8tfcwe33tlqqm8a.js +106 -0
  71. package/dist/chunks/ToggleGroupContext-cdk2zo6ciddpockn.js +12 -0
  72. package/dist/chunks/ToolbarGroupContext-nriz3632ymugfj6h.js +12 -0
  73. package/dist/chunks/ToolbarInput-oy7o682hhn2jdjen.js +152 -0
  74. package/dist/chunks/ToolbarRootContext-lvi96r1vvs93rhde.js +12 -0
  75. package/dist/chunks/TooltipPopup-ehusafczcky9jvae.js +868 -0
  76. package/dist/chunks/TooltipProvider-iq6hgymrn3b68h50.js +64 -0
  77. package/dist/chunks/addEventListener-lhqvk2ahlzjsanyg.js +13 -0
  78. package/dist/chunks/areArraysEqual-nlbeaqlzf4274zr3.js +7 -0
  79. package/dist/chunks/autocomplete-m8n1c775n0iilomf.js +152 -0
  80. package/dist/chunks/badge-e16yhhe9xibra5k7.js +148 -0
  81. package/dist/chunks/banner-cu2mip76zfx0gf27.js +258 -0
  82. package/dist/chunks/bash-jpzh6zbf5237424t.js +3 -0
  83. package/dist/chunks/breadcrumbs-hxibrxjtvudy0ir9.js +164 -0
  84. package/dist/chunks/button-eikucjpgqbsn5m5m.js +260 -0
  85. package/dist/chunks/chart-bxxlck50zlsbj3kl.js +3083 -0
  86. package/dist/chunks/checkbox-fovnhs7f1sekaxrh.js +158 -0
  87. package/dist/chunks/clamp-kvu4wtr1dw6b3pnd.js +7 -0
  88. package/dist/chunks/clipboard-text-fuyj4apm2xry4hkk.js +198 -0
  89. package/dist/chunks/cloudflare-logo-g0aimzpllornl0rc.js +186 -0
  90. package/dist/chunks/code-eu8kzwqnlhoyin24.js +96 -0
  91. package/dist/chunks/collapsible-lj0glxe1hezap65x.js +178 -0
  92. package/dist/chunks/combobox-m2nvbt0b1stb2syc.js +301 -0
  93. package/dist/chunks/command-palette-jjrbvylvvbj0qusg.js +507 -0
  94. package/dist/chunks/composite-o65hjzwwzb4kvl4w.js +102 -0
  95. package/dist/chunks/constants-j09lrtg73n4vlx5x.js +5 -0
  96. package/dist/chunks/core-kjfqbvgicl9i3abf.js +7163 -0
  97. package/dist/chunks/createBaseUIEventDetails-ddivuhl74gni72qn.js +86 -0
  98. package/dist/chunks/createToastManager-kjd838m8jog8pddj.js +1233 -0
  99. package/dist/chunks/css-d3t41yfupsmz7l1a.js +4 -0
  100. package/dist/chunks/date-picker-njfirc1m165k6yax.js +6786 -0
  101. package/dist/chunks/date-range-picker-g6sje1ua7n7jerkq.js +335 -0
  102. package/dist/chunks/dialog-b4r3dv8uvgl2pqem.js +170 -0
  103. package/dist/chunks/diff-g2re0kj6fh27rgg5.js +4 -0
  104. package/dist/chunks/dropdown-k0y5j6iuad7tvqgx.js +279 -0
  105. package/dist/chunks/empty-hmu7x39lnp0z2qm6.js +89 -0
  106. package/dist/chunks/engine-io35xsj9fgfxtihg.js +10 -0
  107. package/dist/chunks/engine-javascript-d795u677f1802oaf.js +3103 -0
  108. package/dist/chunks/engine-oniguruma-xjlw46ay321yj1av.js +388 -0
  109. package/dist/chunks/error-mm98alb8acdy93vq.js +15 -0
  110. package/dist/chunks/field-dxe9ne8fqy5whws2.js +70 -0
  111. package/dist/chunks/flow-fbsv3yek3w7v5a6p.js +10270 -0
  112. package/dist/chunks/formatNumber-hjijm58g645q6a0n.js +26 -0
  113. package/dist/chunks/getCssDimensions-mi941fe1jvztqm6b.js +21 -0
  114. package/dist/chunks/getEmptyRootContext-2utawetz04dqkzyn.js +18 -0
  115. package/dist/chunks/getPseudoElementBounds-jg72lmrlwgbqhmjh.js +28 -0
  116. package/dist/chunks/github-light-kb466scjoy42qxpu.js +5 -0
  117. package/dist/chunks/graphql-gtqr4wytdf0qjybo.js +16 -0
  118. package/dist/chunks/grid-d43q1qme6ffbbcl1.js +118 -0
  119. package/dist/chunks/hcl-ohpfnrffs96hzyj5.js +4 -0
  120. package/dist/chunks/html-ijyj3f9k0foag15c.js +12 -0
  121. package/dist/chunks/index.parts-9xtishx4m3j6sbg9.js +1429 -0
  122. package/dist/chunks/index.parts-bsarfaby0ttw67bb.js +206 -0
  123. package/dist/chunks/index.parts-buqjmx1pfsd225r7.js +30 -0
  124. package/dist/chunks/index.parts-bzlq2foymrigspiz.js +81 -0
  125. package/dist/chunks/index.parts-c4kz48uuogge3k9g.js +1462 -0
  126. package/dist/chunks/index.parts-cou5w8shwfwuk6wo.js +128 -0
  127. package/dist/chunks/index.parts-etb66t5m85rhhipe.js +11 -0
  128. package/dist/chunks/index.parts-f3xvfc67ai7txeru.js +127 -0
  129. package/dist/chunks/index.parts-g0wrrbkxyh0oo730.js +171 -0
  130. package/dist/chunks/index.parts-g27bw668q8dtcjz8.js +1229 -0
  131. package/dist/chunks/index.parts-gcwd6ds0od2n1i0p.js +10 -0
  132. package/dist/chunks/index.parts-ghwrm31fyo614381.js +23 -0
  133. package/dist/chunks/index.parts-giu46tgp0ypgfq6a.js +88 -0
  134. package/dist/chunks/index.parts-hi0bbzsnswj74v28.js +11 -0
  135. package/dist/chunks/index.parts-ixizrcasario34jo.js +213 -0
  136. package/dist/chunks/index.parts-j775zfdbhcd9ypeb.js +41 -0
  137. package/dist/chunks/index.parts-jmkwypigix07dit1.js +119 -0
  138. package/dist/chunks/index.parts-kdoulw17e9zk96yw.js +156 -0
  139. package/dist/chunks/index.parts-kh9waplhfwlszcyp.js +245 -0
  140. package/dist/chunks/index.parts-kwqb2nzc7u2zzxqs.js +2464 -0
  141. package/dist/chunks/index.parts-kwx43zlomuu96clc.js +46 -0
  142. package/dist/chunks/index.parts-lojnx790s6z0mi1f.js +388 -0
  143. package/dist/chunks/index.parts-n6t1aj932fytioz8.js +692 -0
  144. package/dist/chunks/index.parts-ngc39crwuz80oiij.js +13 -0
  145. package/dist/chunks/index.parts-nq06i1gji6fjnmln.js +192 -0
  146. package/dist/chunks/index.parts-omt7bu8mbte48ulb.js +73 -0
  147. package/dist/chunks/index.parts-pb65142mbin4hpc7.js +564 -0
  148. package/dist/chunks/index2.parts-k2au6nzued1wgy6t.js +95 -0
  149. package/dist/chunks/index2.parts-noiw2eweufmplfsp.js +10 -0
  150. package/dist/chunks/inertValue-f9pgp32jxnm88df3.js +9 -0
  151. package/dist/chunks/input-dwl9oy1f1ufah0bx.js +145 -0
  152. package/dist/chunks/input-group-otq3m9lach1jyxl0.js +452 -0
  153. package/dist/chunks/input-o3mtvvtqf69j5k10.js +85 -0
  154. package/dist/chunks/isElementDisabled-ffsy1y4adxocmexb.js +7 -0
  155. package/dist/chunks/javascript-b6fq9bl50fdj6813.js +4 -0
  156. package/dist/chunks/json-h2g0z143t3cs13d7.js +4 -0
  157. package/dist/chunks/jsonc-jxlzvingck161eej.js +4 -0
  158. package/dist/chunks/jsx-jp7a33937sef92sn.js +4 -0
  159. package/dist/chunks/label-opyibemromjwmd0s.js +72 -0
  160. package/dist/chunks/layer-card-nah241sxhj6i7i03.js +72 -0
  161. package/dist/chunks/link-1b3jda6cdzl4lkeo.js +112 -0
  162. package/dist/chunks/link-provider-l9ohtet4pj559eg0.js +60 -0
  163. package/dist/chunks/loader-j2v6fab8iucuxz1z.js +91 -0
  164. package/dist/chunks/markdown-eybeqjr58vfygtz1.js +4 -0
  165. package/dist/chunks/menubar-m0h31eymts6exeke.js +103 -0
  166. package/dist/chunks/mergeCleanups-pexn3wul6a4zn873.js +15 -0
  167. package/dist/chunks/meter-iauic8ww87xxqf74.js +35 -0
  168. package/dist/chunks/pagination-k0yll9ynbi8flc3b.js +290 -0
  169. package/dist/chunks/popover-l0xg7b854w7txyoz.js +152 -0
  170. package/dist/chunks/popupStateMapping-jpzw7eyzl8ghiv8s.js +868 -0
  171. package/dist/chunks/popupStoreUtils-fpjh6veok5pa2hd1.js +367 -0
  172. package/dist/chunks/portal-provider-langu3fqwfr9tlhm.js +59 -0
  173. package/dist/chunks/python-nrpnmxq4r6yp6fcd.js +4 -0
  174. package/dist/chunks/radio-igpo6t2t2tpe08d5.js +173 -0
  175. package/dist/chunks/resolve-variant-l6x5ksfrjtu4m66l.js +35 -0
  176. package/dist/chunks/resolveAriaLabelledBy-h9qwvo10ftlj6t9k.js +10 -0
  177. package/dist/chunks/resolveValueLabel-i36fqhi09ki67hx5.js +89 -0
  178. package/dist/chunks/rolldown-runtime-hi7ti5xiuxsegr96.js +18 -0
  179. package/dist/chunks/safePolygon-flrfpyc6fpidq4fb.js +659 -0
  180. package/dist/chunks/safeReact-bavzz23j5tex60z2.js +18 -0
  181. package/dist/chunks/select-ln6ibqbbs0n4tiig.js +262 -0
  182. package/dist/chunks/sensitive-input-karaei12un7z7nep.js +256 -0
  183. package/dist/chunks/serializeValue-ci3kihruew64i36f.js +13 -0
  184. package/dist/chunks/shellscript-i4m7lo8wi0f5bl8b.js +4 -0
  185. package/dist/chunks/sidebar-kvjzu0ya0b2z6eec.js +1297 -0
  186. package/dist/chunks/skeleton-line-f6sju1dxawm8h9tg.js +40 -0
  187. package/dist/chunks/sql-do9h6435gka97c4c.js +4 -0
  188. package/dist/chunks/store-i9l3lkcl6auhkpfl.js +88 -0
  189. package/dist/chunks/stringifyLocale-cl8et9xf6zon4qbs.js +9 -0
  190. package/dist/chunks/styles-dbhgpd8fm76fdfo3.js +35 -0
  191. package/dist/chunks/surface-jwwh5xl06kv9tp7b.js +30 -0
  192. package/dist/chunks/switch-cusffup6w3tan5ot.js +202 -0
  193. package/dist/chunks/table-ds3nzcffm3pu9o0l.js +238 -0
  194. package/dist/chunks/table-of-contents-l66abisn473qzd07.js +231 -0
  195. package/dist/chunks/tabs-dz3fsnkrznrggilz.js +255 -0
  196. package/dist/chunks/text-e1ko7r96hsoz2tor.js +109 -0
  197. package/dist/chunks/toast-itl6qo5oy1vy6d36.js +324 -0
  198. package/dist/chunks/toml-oyqrgosuct25x413.js +4 -0
  199. package/dist/chunks/toolbar-gwd1orc8yl7lzaou.js +127 -0
  200. package/dist/chunks/tooltip-maelyxs1y7a78vje.js +90 -0
  201. package/dist/chunks/tsx-pem8x69upvmibv6l.js +4 -0
  202. package/dist/chunks/typescript-pe5y016phdwbgws7.js +4 -0
  203. package/dist/chunks/useAnchoredPopupScrollLock-bx8vvwcdp25ix0kj.js +31 -0
  204. package/dist/chunks/useAnimationFrame-ssgc72hyq6sg3yit.js +86 -0
  205. package/dist/chunks/useAriaLabelledBy-bvw56m1d7czf0w3f.js +38 -0
  206. package/dist/chunks/useBaseUiId-gqkl5ep5pn6hd0rw.js +13 -0
  207. package/dist/chunks/useButton-cpo6u2idqcnou6vy.js +149 -0
  208. package/dist/chunks/useClick-fvwb39qgead2jyft.js +86 -0
  209. package/dist/chunks/useCollapsiblePanel-bw63vwvq9a3sj73q.js +379 -0
  210. package/dist/chunks/useCompositeItem-esr3n4pmlssiuxuy.js +31 -0
  211. package/dist/chunks/useCompositeListItem-0exfww37ospqz69b.js +75 -0
  212. package/dist/chunks/useControlled-nlx0kk1ksgk0auvi.js +52 -0
  213. package/dist/chunks/useDismiss-l2gbj4cain4zqtne.js +353 -0
  214. package/dist/chunks/useFilteredItems-ckor5h4rcmztfgt1.js +183 -0
  215. package/dist/chunks/useFloatingRootContext-jo582qzez5k9gbgk.js +51 -0
  216. package/dist/chunks/useFocus-e8drzpkl9flxq1o1.js +122 -0
  217. package/dist/chunks/useForcedRerendering-el1fbg3ib5yo0v7k.js +14 -0
  218. package/dist/chunks/useId-l9soitgw3e4jk5ie.js +32 -0
  219. package/dist/chunks/useIsHydrating-b6whcsimonagru6u.js +22 -0
  220. package/dist/chunks/useLabel-nh9hf8h7o6oquqn5.js +47 -0
  221. package/dist/chunks/useLabelableId-b1kwq9st3rjrtakn.js +60 -0
  222. package/dist/chunks/useListNavigation-iyo9r9vug2g1clmc.js +447 -0
  223. package/dist/chunks/useOnMount-j4wobeq47l3u9olo.js +12 -0
  224. package/dist/chunks/useOpenChangeComplete-dpkex2e23s1evpol.js +117 -0
  225. package/dist/chunks/usePopupViewport-at3zpph46apa78a3.js +343 -0
  226. package/dist/chunks/usePositioner-h1n5q86am1sjo5hn.js +602 -0
  227. package/dist/chunks/usePreviousValue-le0grv8f43vmunn1.js +21 -0
  228. package/dist/chunks/useRegisterFieldControl-m1rxsuvtpau2341n.js +34 -0
  229. package/dist/chunks/useRegisteredLabelId-dh83mybmzy75waje.js +16 -0
  230. package/dist/chunks/useRender-gtnbrp1ityffi4xf.js +13 -0
  231. package/dist/chunks/useRenderDialogRoot-ecyv072j7yj8q0w3.js +262 -0
  232. package/dist/chunks/useRenderElement-m8kc7jyuczp71mq8.js +433 -0
  233. package/dist/chunks/useScrollLock-lj0spjth12xjeap0.js +854 -0
  234. package/dist/chunks/useStableCallback-ninxmksdjvwl6ejj.js +38 -0
  235. package/dist/chunks/useSwipeDismiss-bpbyw2ihsw3fw6y9.js +818 -0
  236. package/dist/chunks/useTimeout-oqptmu2xmyv5ccic.js +43 -0
  237. package/dist/chunks/useTransitionStatus-ig4waxl2kervpyw4.js +66 -0
  238. package/dist/chunks/useTriggerFocusGuards-j8nano0pqu9dscrz.js +49 -0
  239. package/dist/chunks/useTypeahead-onenwjyhgw955ygx.js +114 -0
  240. package/dist/chunks/useValueAsRef-lrn42zari17368c9.js +27 -0
  241. package/dist/chunks/useValueChanged-kthmz4wk7ywnjwtx.js +18 -0
  242. package/dist/chunks/utils-0i7gujfv3f3e9dqh.js +19 -0
  243. package/dist/chunks/valueToPercent-henpkkj3juy3ukeu.js +7 -0
  244. package/dist/chunks/vendor-floating-ui-dsysdmve7iazaaes.js +1558 -0
  245. package/dist/chunks/vendor-styling-da1xibnxfkjmtglr.js +3631 -0
  246. package/dist/chunks/vendor-utils-luqsvbyuig727bnr.js +512 -0
  247. package/dist/chunks/vesper-ho3j3gt6ilwfuc1g.js +5 -0
  248. package/dist/chunks/visuallyHidden-n14xllazfozg55ox.js +24 -0
  249. package/dist/chunks/wasm-nfbosyhilcq70atf.js +8 -0
  250. package/dist/chunks/yaml-kzk5ddyekbyha04v.js +4 -0
  251. package/dist/cn-DCSItmT-.d.ts +5 -0
  252. package/dist/code/server.d.ts +97 -0
  253. package/dist/code/server.js +146 -84
  254. package/dist/code.d.ts +82 -0
  255. package/dist/code.js +348 -248
  256. package/dist/components/autocomplete.d.ts +2 -0
  257. package/dist/components/autocomplete.js +2 -8
  258. package/dist/components/badge.d.ts +2 -0
  259. package/dist/components/badge.js +2 -6
  260. package/dist/components/banner.d.ts +2 -0
  261. package/dist/components/banner.js +2 -6
  262. package/dist/components/breadcrumbs.d.ts +2 -0
  263. package/dist/components/breadcrumbs.js +2 -8
  264. package/dist/components/button.d.ts +3 -0
  265. package/dist/components/button.js +2 -8
  266. package/dist/components/chart.d.ts +2 -0
  267. package/dist/components/chart.js +2 -11
  268. package/dist/components/checkbox.d.ts +2 -0
  269. package/dist/components/checkbox.js +2 -7
  270. package/dist/components/clipboard-text.d.ts +2 -0
  271. package/dist/components/clipboard-text.js +2 -5
  272. package/dist/components/cloudflare-logo.d.ts +2 -0
  273. package/dist/components/cloudflare-logo.js +2 -9
  274. package/dist/components/code.d.ts +2 -0
  275. package/dist/components/code.js +2 -6
  276. package/dist/components/collapsible.d.ts +2 -0
  277. package/dist/components/collapsible.js +2 -5
  278. package/dist/components/combobox.d.ts +2 -0
  279. package/dist/components/combobox.js +2 -5
  280. package/dist/components/command-palette.d.ts +2 -0
  281. package/dist/components/command-palette.js +2 -7
  282. package/dist/components/date-picker.d.ts +2 -0
  283. package/dist/components/date-picker.js +2 -5
  284. package/dist/components/date-range-picker.d.ts +2 -0
  285. package/dist/components/date-range-picker.js +2 -5
  286. package/dist/components/dialog.d.ts +2 -0
  287. package/dist/components/dialog.js +2 -10
  288. package/dist/components/dropdown.d.ts +2 -0
  289. package/dist/components/dropdown.js +2 -5
  290. package/dist/components/empty.d.ts +2 -0
  291. package/dist/components/empty.js +2 -8
  292. package/dist/components/field.d.ts +2 -0
  293. package/dist/components/field.js +2 -9
  294. package/dist/components/flow.d.ts +2 -0
  295. package/dist/components/flow.js +2 -5839
  296. package/dist/components/grid.d.ts +2 -0
  297. package/dist/components/grid.js +2 -10
  298. package/dist/components/input-group.d.ts +2 -0
  299. package/dist/components/input-group.js +2 -7
  300. package/dist/components/input.d.ts +4 -0
  301. package/dist/components/input.js +4 -13
  302. package/dist/components/label.d.ts +2 -0
  303. package/dist/components/label.js +2 -9
  304. package/dist/components/layer-card.d.ts +2 -0
  305. package/dist/components/layer-card.js +2 -5
  306. package/dist/components/link.d.ts +68 -0
  307. package/dist/components/link.js +2 -8
  308. package/dist/components/loader.d.ts +2 -0
  309. package/dist/components/loader.js +3 -7
  310. package/dist/components/menubar.d.ts +2 -0
  311. package/dist/components/menubar.js +2 -6
  312. package/dist/components/meter.d.ts +2 -0
  313. package/dist/components/meter.js +2 -5
  314. package/dist/components/pagination.d.ts +2 -0
  315. package/dist/components/pagination.js +2 -5
  316. package/dist/components/popover.d.ts +2 -0
  317. package/dist/components/popover.js +2 -13
  318. package/dist/components/radio.d.ts +2 -0
  319. package/dist/components/radio.js +2 -9
  320. package/dist/components/select.d.ts +2 -0
  321. package/dist/components/select.js +2 -5
  322. package/dist/components/sensitive-input.d.ts +2 -0
  323. package/dist/components/sensitive-input.js +2 -7
  324. package/dist/components/sidebar.d.ts +2 -0
  325. package/dist/components/sidebar.js +2 -33
  326. package/dist/components/surface.d.ts +2 -0
  327. package/dist/components/surface.js +2 -5
  328. package/dist/components/switch.d.ts +2 -0
  329. package/dist/components/switch.js +2 -7
  330. package/dist/components/table-of-contents.d.ts +2 -0
  331. package/dist/components/table-of-contents.js +2 -7
  332. package/dist/components/table.d.ts +2 -0
  333. package/dist/components/table.js +2 -7
  334. package/dist/components/tabs.d.ts +2 -0
  335. package/dist/components/tabs.js +2 -5
  336. package/dist/components/text.d.ts +2 -0
  337. package/dist/components/text.js +2 -5
  338. package/dist/components/toast.d.ts +2 -0
  339. package/dist/components/toast.js +3 -10
  340. package/dist/components/toolbar.d.ts +2 -0
  341. package/dist/components/toolbar.js +2 -7
  342. package/dist/components/tooltip.d.ts +2 -0
  343. package/dist/components/tooltip.js +2 -6
  344. package/dist/field-DIjlHM8W.d.ts +91 -0
  345. package/dist/index-AMEc1MEg2.d.ts +180 -0
  346. package/dist/index-B-hCpI5K.d.ts +1 -0
  347. package/dist/index-B6LJIy7_2.d.ts +52 -0
  348. package/dist/index-B9niVl3r.d.ts +140 -0
  349. package/dist/index-BAQwS4mL.d.ts +70 -0
  350. package/dist/index-BD-gTiEv.d.ts +71 -0
  351. package/dist/index-BVgXnR1V.d.ts +137 -0
  352. package/dist/index-Bgl_czT12.d.ts +140 -0
  353. package/dist/index-BkyMHk632.d.ts +110 -0
  354. package/dist/index-BlEUcijd.d.ts +795 -0
  355. package/dist/index-BoPqM1Ia2.d.ts +179 -0
  356. package/dist/index-BzE0aNpx.d.ts +143 -0
  357. package/dist/index-C3iraF8M2.d.ts +100 -0
  358. package/dist/index-CGbkysYW2.d.ts +161 -0
  359. package/dist/index-CLsBWiaS.d.ts +79 -0
  360. package/dist/index-CSWbPhke.d.ts +126 -0
  361. package/dist/index-CYoiniZ4.d.ts +135 -0
  362. package/dist/index-CeBzVJP8.d.ts +426 -0
  363. package/dist/index-ClS-eFxE.d.ts +104 -0
  364. package/dist/index-Cp0aQngm.d.ts +182 -0
  365. package/dist/index-CzIWigmH.d.ts +62 -0
  366. package/dist/index-CzTgKPh-.d.ts +105 -0
  367. package/dist/index-D-y1ktn-.d.ts +68 -0
  368. package/dist/index-D2Gvly0i2.d.ts +96 -0
  369. package/dist/index-DBlw3E9m.d.ts +166 -0
  370. package/dist/index-DCA5tjHa.d.ts +68 -0
  371. package/dist/index-DIV3riUd2.d.ts +148 -0
  372. package/dist/index-DJIRVD5B.d.ts +85 -0
  373. package/dist/index-DUCaDjfd.d.ts +240 -0
  374. package/dist/index-Di3sC6UF.d.ts +91 -0
  375. package/dist/index-DnbdiagK.d.ts +171 -0
  376. package/dist/index-DpzpArsi2.d.ts +614 -0
  377. package/dist/index-Dsn2VLZv.d.ts +238 -0
  378. package/dist/index-FZvrMcIo2.d.ts +158 -0
  379. package/dist/index-J1qdw9mL.d.ts +188 -0
  380. package/dist/index-Vj9ZzRh0.d.ts +66 -0
  381. package/dist/index-bAud6rG22.d.ts +278 -0
  382. package/dist/index-lOWfpkxK.d.ts +118 -0
  383. package/dist/index-yK3Hayg_.d.ts +40 -0
  384. package/dist/index.d.ts +102 -0
  385. package/dist/index.js +195 -348
  386. package/dist/input-BeWEb-jD.d.ts +122 -0
  387. package/dist/input-group-DpGSsAZy.d.ts +100 -0
  388. package/dist/layer-card-BNIn9pqy.d.ts +56 -0
  389. package/dist/link-provider-tz-NJp9x.d.ts +67 -0
  390. package/dist/portal-provider-4AHCxYE6.d.ts +51 -0
  391. package/dist/primitives/accordion.d.ts +1 -0
  392. package/dist/primitives/accordion.js +2 -5
  393. package/dist/primitives/alert-dialog.d.ts +1 -0
  394. package/dist/primitives/alert-dialog.js +2 -5
  395. package/dist/primitives/autocomplete.d.ts +1 -0
  396. package/dist/primitives/autocomplete.js +2 -5
  397. package/dist/primitives/avatar.d.ts +1 -0
  398. package/dist/primitives/avatar.js +2 -5
  399. package/dist/primitives/button.d.ts +1 -0
  400. package/dist/primitives/button.js +2 -5
  401. package/dist/primitives/checkbox-group.d.ts +1 -0
  402. package/dist/primitives/checkbox-group.js +2 -5
  403. package/dist/primitives/checkbox.d.ts +1 -0
  404. package/dist/primitives/checkbox.js +2 -5
  405. package/dist/primitives/collapsible.d.ts +1 -0
  406. package/dist/primitives/collapsible.js +2 -5
  407. package/dist/primitives/combobox.d.ts +1 -0
  408. package/dist/primitives/combobox.js +2 -5
  409. package/dist/primitives/context-menu.d.ts +1 -0
  410. package/dist/primitives/context-menu.js +2 -5
  411. package/dist/primitives/csp-provider.d.ts +1 -0
  412. package/dist/primitives/csp-provider.js +2 -5
  413. package/dist/primitives/dialog.d.ts +1 -0
  414. package/dist/primitives/dialog.js +2 -5
  415. package/dist/primitives/direction-provider.d.ts +1 -0
  416. package/dist/primitives/direction-provider.js +3 -6
  417. package/dist/primitives/drawer.d.ts +1 -0
  418. package/dist/primitives/drawer.js +2 -5
  419. package/dist/primitives/field.d.ts +1 -0
  420. package/dist/primitives/field.js +2 -5
  421. package/dist/primitives/fieldset.d.ts +1 -0
  422. package/dist/primitives/fieldset.js +2 -5
  423. package/dist/primitives/form.d.ts +1 -0
  424. package/dist/primitives/form.js +2 -5
  425. package/dist/primitives/input.d.ts +1 -0
  426. package/dist/primitives/input.js +2 -5
  427. package/dist/primitives/menu.d.ts +1 -0
  428. package/dist/primitives/menu.js +2 -5
  429. package/dist/primitives/menubar.d.ts +1 -0
  430. package/dist/primitives/menubar.js +2 -5
  431. package/dist/primitives/meter.d.ts +1 -0
  432. package/dist/primitives/meter.js +2 -5
  433. package/dist/primitives/navigation-menu.d.ts +1 -0
  434. package/dist/primitives/navigation-menu.js +2 -5
  435. package/dist/primitives/number-field.d.ts +1 -0
  436. package/dist/primitives/number-field.js +2 -5
  437. package/dist/primitives/otp-field.d.ts +3 -0
  438. package/dist/primitives/otp-field.js +2 -6
  439. package/dist/primitives/popover.d.ts +1 -0
  440. package/dist/primitives/popover.js +2 -5
  441. package/dist/primitives/preview-card.d.ts +1 -0
  442. package/dist/primitives/preview-card.js +2 -5
  443. package/dist/primitives/progress.d.ts +1 -0
  444. package/dist/primitives/progress.js +2 -5
  445. package/dist/primitives/radio-group.d.ts +1 -0
  446. package/dist/primitives/radio-group.js +2 -5
  447. package/dist/primitives/radio.d.ts +1 -0
  448. package/dist/primitives/radio.js +2 -5
  449. package/dist/primitives/scroll-area.d.ts +1 -0
  450. package/dist/primitives/scroll-area.js +2 -5
  451. package/dist/primitives/select.d.ts +1 -0
  452. package/dist/primitives/select.js +2 -5
  453. package/dist/primitives/separator.d.ts +1 -0
  454. package/dist/primitives/separator.js +2 -5
  455. package/dist/primitives/slider.d.ts +1 -0
  456. package/dist/primitives/slider.js +2 -5
  457. package/dist/primitives/switch.d.ts +1 -0
  458. package/dist/primitives/switch.js +2 -5
  459. package/dist/primitives/tabs.d.ts +1 -0
  460. package/dist/primitives/tabs.js +2 -5
  461. package/dist/primitives/toast.d.ts +1 -0
  462. package/dist/primitives/toast.js +2 -5
  463. package/dist/primitives/toggle-group.d.ts +1 -0
  464. package/dist/primitives/toggle-group.js +2 -5
  465. package/dist/primitives/toggle.d.ts +1 -0
  466. package/dist/primitives/toggle.js +2 -5
  467. package/dist/primitives/toolbar.d.ts +1 -0
  468. package/dist/primitives/toolbar.js +2 -5
  469. package/dist/primitives/tooltip.d.ts +1 -0
  470. package/dist/primitives/tooltip.js +2 -5
  471. package/dist/primitives.d.ts +42 -0
  472. package/dist/primitives.js +42 -46
  473. package/dist/registry.d.ts +2 -0
  474. package/dist/registry.js +0 -1
  475. package/dist/scripts/theme-generator/config.d.ts +7 -5
  476. package/dist/scripts/theme-generator/config.js +475 -627
  477. package/dist/scripts/theme-generator/types.d.ts +51 -49
  478. package/dist/scripts/theme-generator/types.js +0 -1
  479. package/dist/styles/kumo-binding.css +35 -8
  480. package/dist/styles/kumo-standalone.css +1 -1
  481. package/dist/styles/kumo.css +3 -5
  482. package/dist/styles/theme-fedramp.css +7 -15
  483. package/dist/styles/theme-kumo.css +101 -56
  484. package/dist/tooltip-BuCo6Ki4.d.ts +105 -0
  485. package/dist/types-C402rKiz.d.ts +132 -0
  486. package/dist/types-CdzJnnIl.d.ts +193 -0
  487. package/dist/utils.d.ts +4 -0
  488. package/dist/utils.js +5 -12
  489. package/package.json +231 -232
  490. package/scripts/component-registry/discovery.ts +87 -0
  491. package/scripts/component-registry/index.test.ts +90 -2
  492. package/scripts/component-registry/index.ts +27 -2
  493. package/scripts/component-registry/metadata.ts +3 -4
  494. package/scripts/component-registry/props-filter.ts +3 -1
  495. package/scripts/component-registry/sub-components.ts +34 -21
  496. package/scripts/component-registry/variant-parser.ts +1 -0
  497. package/scripts/generate-primitives.ts +1 -1
  498. package/scripts/theme-generator/config.ts +21 -22
  499. package/scripts/theme-generator/generate-css.test.ts +1 -1
  500. package/dist/ai/schemas.d.ts.map +0 -1
  501. package/dist/ai/schemas.js.map +0 -1
  502. package/dist/catalog.js.map +0 -1
  503. package/dist/chunks/Maps-fkiyllhs5w0qzw1y.js +0 -2155
  504. package/dist/chunks/Maps-fkiyllhs5w0qzw1y.js.map +0 -1
  505. package/dist/chunks/autocomplete-a4gvspveibfuod24.js +0 -193
  506. package/dist/chunks/autocomplete-a4gvspveibfuod24.js.map +0 -1
  507. package/dist/chunks/badge-dfc1r37osagi3rs4.js +0 -163
  508. package/dist/chunks/badge-dfc1r37osagi3rs4.js.map +0 -1
  509. package/dist/chunks/banner-j52y8l13puk7dybi.js +0 -120
  510. package/dist/chunks/banner-j52y8l13puk7dybi.js.map +0 -1
  511. package/dist/chunks/bash-g5z23u7me5rx7bzt.js +0 -15
  512. package/dist/chunks/bash-g5z23u7me5rx7bzt.js.map +0 -1
  513. package/dist/chunks/breadcrumbs-js59m7m57bdsveew.js +0 -169
  514. package/dist/chunks/breadcrumbs-js59m7m57bdsveew.js.map +0 -1
  515. package/dist/chunks/button-ebfdg9mkhojue36n.js +0 -237
  516. package/dist/chunks/button-ebfdg9mkhojue36n.js.map +0 -1
  517. package/dist/chunks/checkbox-k355pnfisqt0h4eg.js +0 -216
  518. package/dist/chunks/checkbox-k355pnfisqt0h4eg.js.map +0 -1
  519. package/dist/chunks/clipboard-text-isb05zkg2aox0tp6.js +0 -191
  520. package/dist/chunks/clipboard-text-isb05zkg2aox0tp6.js.map +0 -1
  521. package/dist/chunks/cloudflare-logo-fiuocxdxqrxawjfv.js +0 -175
  522. package/dist/chunks/cloudflare-logo-fiuocxdxqrxawjfv.js.map +0 -1
  523. package/dist/chunks/cn-bo7ya7641lkickbt.js +0 -22
  524. package/dist/chunks/cn-bo7ya7641lkickbt.js.map +0 -1
  525. package/dist/chunks/code-pbkfdfat0yilg6dx.js +0 -61
  526. package/dist/chunks/code-pbkfdfat0yilg6dx.js.map +0 -1
  527. package/dist/chunks/collapsible-f9hgtc1u6xvqrgt8.js +0 -76
  528. package/dist/chunks/collapsible-f9hgtc1u6xvqrgt8.js.map +0 -1
  529. package/dist/chunks/combobox-hc9wi9nwsyyli8ur.js +0 -408
  530. package/dist/chunks/combobox-hc9wi9nwsyyli8ur.js.map +0 -1
  531. package/dist/chunks/command-palette-c03zze4ayuytwxjg.js +0 -403
  532. package/dist/chunks/command-palette-c03zze4ayuytwxjg.js.map +0 -1
  533. package/dist/chunks/core-dyku7qctyc40nnhh.js +0 -5464
  534. package/dist/chunks/core-dyku7qctyc40nnhh.js.map +0 -1
  535. package/dist/chunks/css-d1mi3wy1sl3fzekh.js +0 -8
  536. package/dist/chunks/css-d1mi3wy1sl3fzekh.js.map +0 -1
  537. package/dist/chunks/date-picker-bffp889exjixmgz3.js +0 -2921
  538. package/dist/chunks/date-picker-bffp889exjixmgz3.js.map +0 -1
  539. package/dist/chunks/date-range-picker-oks2r14lbbukd545.js +0 -408
  540. package/dist/chunks/date-range-picker-oks2r14lbbukd545.js.map +0 -1
  541. package/dist/chunks/dialog-ovhmzfuppr5xix0e.js +0 -134
  542. package/dist/chunks/dialog-ovhmzfuppr5xix0e.js.map +0 -1
  543. package/dist/chunks/diff-cpj1h9lg0bw716mj.js +0 -8
  544. package/dist/chunks/diff-cpj1h9lg0bw716mj.js.map +0 -1
  545. package/dist/chunks/dropdown-iey8f344rd5dgahz.js +0 -321
  546. package/dist/chunks/dropdown-iey8f344rd5dgahz.js.map +0 -1
  547. package/dist/chunks/empty-k83r53jh5utqvv7w.js +0 -94
  548. package/dist/chunks/empty-k83r53jh5utqvv7w.js.map +0 -1
  549. package/dist/chunks/engine-javascript-hi1kqifa6nkcridk.js +0 -2638
  550. package/dist/chunks/engine-javascript-hi1kqifa6nkcridk.js.map +0 -1
  551. package/dist/chunks/engine-oniguruma-g75h8oxao68cjmhg.js +0 -295
  552. package/dist/chunks/engine-oniguruma-g75h8oxao68cjmhg.js.map +0 -1
  553. package/dist/chunks/field-bmglk138wa8bf3ei.js +0 -77
  554. package/dist/chunks/field-bmglk138wa8bf3ei.js.map +0 -1
  555. package/dist/chunks/github-light-ulev8flhimfg79ob.js +0 -6
  556. package/dist/chunks/github-light-ulev8flhimfg79ob.js.map +0 -1
  557. package/dist/chunks/graphql-ft2h47erta7isqn4.js +0 -16
  558. package/dist/chunks/graphql-ft2h47erta7isqn4.js.map +0 -1
  559. package/dist/chunks/grid-jze04557ljywg3uc.js +0 -128
  560. package/dist/chunks/grid-jze04557ljywg3uc.js.map +0 -1
  561. package/dist/chunks/hcl-hcu7d6ja6t540ijn.js +0 -8
  562. package/dist/chunks/hcl-hcu7d6ja6t540ijn.js.map +0 -1
  563. package/dist/chunks/html-kl304jmqj4jxj777.js +0 -12
  564. package/dist/chunks/html-kl304jmqj4jxj777.js.map +0 -1
  565. package/dist/chunks/input-area-ixtj4e8eny58nbf9.js +0 -78
  566. package/dist/chunks/input-area-ixtj4e8eny58nbf9.js.map +0 -1
  567. package/dist/chunks/input-ckl5misj0jd9cu5r.js +0 -130
  568. package/dist/chunks/input-ckl5misj0jd9cu5r.js.map +0 -1
  569. package/dist/chunks/input-group-bflx1m6ki55e99vf.js +0 -505
  570. package/dist/chunks/input-group-bflx1m6ki55e99vf.js.map +0 -1
  571. package/dist/chunks/javascript-hhx3avh9uv2o27ay.js +0 -8
  572. package/dist/chunks/javascript-hhx3avh9uv2o27ay.js.map +0 -1
  573. package/dist/chunks/json-jovp9qemdkp5cziz.js +0 -8
  574. package/dist/chunks/json-jovp9qemdkp5cziz.js.map +0 -1
  575. package/dist/chunks/jsonc-jbkkgjer6ispw2u3.js +0 -8
  576. package/dist/chunks/jsonc-jbkkgjer6ispw2u3.js.map +0 -1
  577. package/dist/chunks/jsx-ij885l2li2lzfoss.js +0 -8
  578. package/dist/chunks/jsx-ij885l2li2lzfoss.js.map +0 -1
  579. package/dist/chunks/label-i1xbmg8y1n0tbtkx.js +0 -68
  580. package/dist/chunks/label-i1xbmg8y1n0tbtkx.js.map +0 -1
  581. package/dist/chunks/layer-card-m6h85dpadvee39h2.js +0 -47
  582. package/dist/chunks/layer-card-m6h85dpadvee39h2.js.map +0 -1
  583. package/dist/chunks/link-j93fl5m8zrcfivsr.js +0 -95
  584. package/dist/chunks/link-j93fl5m8zrcfivsr.js.map +0 -1
  585. package/dist/chunks/link-provider-mn2voeohon7cj9o4.js +0 -22
  586. package/dist/chunks/link-provider-mn2voeohon7cj9o4.js.map +0 -1
  587. package/dist/chunks/loader-g8a6j76ue5nq0lr8.js +0 -109
  588. package/dist/chunks/loader-g8a6j76ue5nq0lr8.js.map +0 -1
  589. package/dist/chunks/markdown-n2vyyq7l68fy32wc.js +0 -8
  590. package/dist/chunks/markdown-n2vyyq7l68fy32wc.js.map +0 -1
  591. package/dist/chunks/menubar-opzxfzylaatfz4nv.js +0 -98
  592. package/dist/chunks/menubar-opzxfzylaatfz4nv.js.map +0 -1
  593. package/dist/chunks/meter-6br6z5ekw41trxeh.js +0 -51
  594. package/dist/chunks/meter-6br6z5ekw41trxeh.js.map +0 -1
  595. package/dist/chunks/pagination-j33ntwqmm9qskfgv.js +0 -266
  596. package/dist/chunks/pagination-j33ntwqmm9qskfgv.js.map +0 -1
  597. package/dist/chunks/popover-cqdmpp8i4hg8gzzx.js +0 -181
  598. package/dist/chunks/popover-cqdmpp8i4hg8gzzx.js.map +0 -1
  599. package/dist/chunks/portal-provider-hwmkdmkpvct0cb76.js +0 -18
  600. package/dist/chunks/portal-provider-hwmkdmkpvct0cb76.js.map +0 -1
  601. package/dist/chunks/python-gg755pb8oe9ra1d1.js +0 -8
  602. package/dist/chunks/python-gg755pb8oe9ra1d1.js.map +0 -1
  603. package/dist/chunks/radio-ejey7i6r4tq314av.js +0 -226
  604. package/dist/chunks/radio-ejey7i6r4tq314av.js.map +0 -1
  605. package/dist/chunks/resolve-variant-gw6eh7fa4st8ej7m.js +0 -11
  606. package/dist/chunks/resolve-variant-gw6eh7fa4st8ej7m.js.map +0 -1
  607. package/dist/chunks/select-p8adn2tnpom25hpl.js +0 -237
  608. package/dist/chunks/select-p8adn2tnpom25hpl.js.map +0 -1
  609. package/dist/chunks/sensitive-input-it1hsswlccq3u7g6.js +0 -273
  610. package/dist/chunks/sensitive-input-it1hsswlccq3u7g6.js.map +0 -1
  611. package/dist/chunks/sidebar-ctd980heycmxsux1.js +0 -1144
  612. package/dist/chunks/sidebar-ctd980heycmxsux1.js.map +0 -1
  613. package/dist/chunks/skeleton-line-omxgxia23vpav94x.js +0 -33
  614. package/dist/chunks/skeleton-line-omxgxia23vpav94x.js.map +0 -1
  615. package/dist/chunks/sql-ovukp5mrfunfk5tv.js +0 -8
  616. package/dist/chunks/sql-ovukp5mrfunfk5tv.js.map +0 -1
  617. package/dist/chunks/surface-gc2gblserrxcb1eg.js +0 -29
  618. package/dist/chunks/surface-gc2gblserrxcb1eg.js.map +0 -1
  619. package/dist/chunks/switch-ljsq915e0l1a5mjd.js +0 -256
  620. package/dist/chunks/switch-ljsq915e0l1a5mjd.js.map +0 -1
  621. package/dist/chunks/table-of-contents-cghjqyk43nj5zmlw.js +0 -106
  622. package/dist/chunks/table-of-contents-cghjqyk43nj5zmlw.js.map +0 -1
  623. package/dist/chunks/table-ojjjeqszmt9jgnug.js +0 -208
  624. package/dist/chunks/table-ojjjeqszmt9jgnug.js.map +0 -1
  625. package/dist/chunks/tabs-kemdy19kfesj2xjr.js +0 -177
  626. package/dist/chunks/tabs-kemdy19kfesj2xjr.js.map +0 -1
  627. package/dist/chunks/text-oqp48b9m5u6t62b4.js +0 -103
  628. package/dist/chunks/text-oqp48b9m5u6t62b4.js.map +0 -1
  629. package/dist/chunks/toast-ldj9zi940w83ub90.js +0 -386
  630. package/dist/chunks/toast-ldj9zi940w83ub90.js.map +0 -1
  631. package/dist/chunks/toml-nczb2z9n0o23o3ci.js +0 -8
  632. package/dist/chunks/toml-nczb2z9n0o23o3ci.js.map +0 -1
  633. package/dist/chunks/toolbar-lmylyrod70sn0q4i.js +0 -172
  634. package/dist/chunks/toolbar-lmylyrod70sn0q4i.js.map +0 -1
  635. package/dist/chunks/tooltip-mooldq78tg77ekvv.js +0 -103
  636. package/dist/chunks/tooltip-mooldq78tg77ekvv.js.map +0 -1
  637. package/dist/chunks/tsx-ehy8lrzet6v54zur.js +0 -8
  638. package/dist/chunks/tsx-ehy8lrzet6v54zur.js.map +0 -1
  639. package/dist/chunks/typescript-k4ggjrxhrhcdni6u.js +0 -8
  640. package/dist/chunks/typescript-k4ggjrxhrhcdni6u.js.map +0 -1
  641. package/dist/chunks/vendor-base-ui-elpbzr8xeffrz4h2.js +0 -25027
  642. package/dist/chunks/vendor-base-ui-elpbzr8xeffrz4h2.js.map +0 -1
  643. package/dist/chunks/vendor-floating-ui-k1zjlb8fkwtcw4k5.js +0 -1310
  644. package/dist/chunks/vendor-floating-ui-k1zjlb8fkwtcw4k5.js.map +0 -1
  645. package/dist/chunks/vendor-styling-ofvnbcuht98q88oo.js +0 -3252
  646. package/dist/chunks/vendor-styling-ofvnbcuht98q88oo.js.map +0 -1
  647. package/dist/chunks/vendor-utils-m5h2xu7s2rs3pgk5.js +0 -217
  648. package/dist/chunks/vendor-utils-m5h2xu7s2rs3pgk5.js.map +0 -1
  649. package/dist/chunks/vesper-ebfu9ns65f2v830s.js +0 -6
  650. package/dist/chunks/vesper-ebfu9ns65f2v830s.js.map +0 -1
  651. package/dist/chunks/wasm-oj22f8usru9h7dzg.js +0 -9
  652. package/dist/chunks/wasm-oj22f8usru9h7dzg.js.map +0 -1
  653. package/dist/chunks/yaml-e2v22lr79tss2brj.js +0 -8
  654. package/dist/chunks/yaml-e2v22lr79tss2brj.js.map +0 -1
  655. package/dist/code/server.js.map +0 -1
  656. package/dist/code.js.map +0 -1
  657. package/dist/components/autocomplete.js.map +0 -1
  658. package/dist/components/badge.js.map +0 -1
  659. package/dist/components/banner.js.map +0 -1
  660. package/dist/components/breadcrumbs.js.map +0 -1
  661. package/dist/components/button.js.map +0 -1
  662. package/dist/components/chart.js.map +0 -1
  663. package/dist/components/checkbox.js.map +0 -1
  664. package/dist/components/clipboard-text.js.map +0 -1
  665. package/dist/components/cloudflare-logo.js.map +0 -1
  666. package/dist/components/code.js.map +0 -1
  667. package/dist/components/collapsible.js.map +0 -1
  668. package/dist/components/combobox.js.map +0 -1
  669. package/dist/components/command-palette.js.map +0 -1
  670. package/dist/components/date-picker.js.map +0 -1
  671. package/dist/components/date-range-picker.js.map +0 -1
  672. package/dist/components/dialog.js.map +0 -1
  673. package/dist/components/dropdown.js.map +0 -1
  674. package/dist/components/empty.js.map +0 -1
  675. package/dist/components/field.js.map +0 -1
  676. package/dist/components/flow.js.map +0 -1
  677. package/dist/components/grid.js.map +0 -1
  678. package/dist/components/input-group.js.map +0 -1
  679. package/dist/components/input.js.map +0 -1
  680. package/dist/components/label.js.map +0 -1
  681. package/dist/components/layer-card.js.map +0 -1
  682. package/dist/components/link.js.map +0 -1
  683. package/dist/components/loader.js.map +0 -1
  684. package/dist/components/menubar.js.map +0 -1
  685. package/dist/components/meter.js.map +0 -1
  686. package/dist/components/pagination.js.map +0 -1
  687. package/dist/components/popover.js.map +0 -1
  688. package/dist/components/radio.js.map +0 -1
  689. package/dist/components/select.js.map +0 -1
  690. package/dist/components/sensitive-input.js.map +0 -1
  691. package/dist/components/sidebar.js.map +0 -1
  692. package/dist/components/surface.js.map +0 -1
  693. package/dist/components/switch.js.map +0 -1
  694. package/dist/components/table-of-contents.js.map +0 -1
  695. package/dist/components/table.js.map +0 -1
  696. package/dist/components/tabs.js.map +0 -1
  697. package/dist/components/text.js.map +0 -1
  698. package/dist/components/toast.js.map +0 -1
  699. package/dist/components/toolbar.js.map +0 -1
  700. package/dist/components/tooltip.js.map +0 -1
  701. package/dist/index.js.map +0 -1
  702. package/dist/primitives/accordion.js.map +0 -1
  703. package/dist/primitives/alert-dialog.js.map +0 -1
  704. package/dist/primitives/autocomplete.js.map +0 -1
  705. package/dist/primitives/avatar.js.map +0 -1
  706. package/dist/primitives/button.js.map +0 -1
  707. package/dist/primitives/checkbox-group.js.map +0 -1
  708. package/dist/primitives/checkbox.js.map +0 -1
  709. package/dist/primitives/collapsible.js.map +0 -1
  710. package/dist/primitives/combobox.js.map +0 -1
  711. package/dist/primitives/context-menu.js.map +0 -1
  712. package/dist/primitives/csp-provider.js.map +0 -1
  713. package/dist/primitives/dialog.js.map +0 -1
  714. package/dist/primitives/direction-provider.js.map +0 -1
  715. package/dist/primitives/drawer.js.map +0 -1
  716. package/dist/primitives/field.js.map +0 -1
  717. package/dist/primitives/fieldset.js.map +0 -1
  718. package/dist/primitives/form.js.map +0 -1
  719. package/dist/primitives/input.js.map +0 -1
  720. package/dist/primitives/menu.js.map +0 -1
  721. package/dist/primitives/menubar.js.map +0 -1
  722. package/dist/primitives/meter.js.map +0 -1
  723. package/dist/primitives/navigation-menu.js.map +0 -1
  724. package/dist/primitives/number-field.js.map +0 -1
  725. package/dist/primitives/otp-field.js.map +0 -1
  726. package/dist/primitives/popover.js.map +0 -1
  727. package/dist/primitives/preview-card.js.map +0 -1
  728. package/dist/primitives/progress.js.map +0 -1
  729. package/dist/primitives/radio-group.js.map +0 -1
  730. package/dist/primitives/radio.js.map +0 -1
  731. package/dist/primitives/scroll-area.js.map +0 -1
  732. package/dist/primitives/select.js.map +0 -1
  733. package/dist/primitives/separator.js.map +0 -1
  734. package/dist/primitives/slider.js.map +0 -1
  735. package/dist/primitives/switch.js.map +0 -1
  736. package/dist/primitives/tabs.js.map +0 -1
  737. package/dist/primitives/toast.js.map +0 -1
  738. package/dist/primitives/toggle-group.js.map +0 -1
  739. package/dist/primitives/toggle.js.map +0 -1
  740. package/dist/primitives/toolbar.js.map +0 -1
  741. package/dist/primitives/tooltip.js.map +0 -1
  742. package/dist/primitives.js.map +0 -1
  743. package/dist/registry.js.map +0 -1
  744. package/dist/scripts/theme-generator/config.d.ts.map +0 -1
  745. package/dist/scripts/theme-generator/config.js.map +0 -1
  746. package/dist/scripts/theme-generator/generate-css.d.ts +0 -31
  747. package/dist/scripts/theme-generator/generate-css.d.ts.map +0 -1
  748. package/dist/scripts/theme-generator/index.d.ts +0 -13
  749. package/dist/scripts/theme-generator/index.d.ts.map +0 -1
  750. package/dist/scripts/theme-generator/migrate.d.ts +0 -56
  751. package/dist/scripts/theme-generator/migrate.d.ts.map +0 -1
  752. package/dist/scripts/theme-generator/types.d.ts.map +0 -1
  753. package/dist/scripts/theme-generator/types.js.map +0 -1
  754. package/dist/src/blocks/delete-resource/delete-resource.d.ts +0 -46
  755. package/dist/src/blocks/delete-resource/delete-resource.d.ts.map +0 -1
  756. package/dist/src/blocks/delete-resource/index.d.ts +0 -2
  757. package/dist/src/blocks/delete-resource/index.d.ts.map +0 -1
  758. package/dist/src/blocks/page-header/index.d.ts +0 -2
  759. package/dist/src/blocks/page-header/index.d.ts.map +0 -1
  760. package/dist/src/blocks/page-header/page-header.d.ts +0 -38
  761. package/dist/src/blocks/page-header/page-header.d.ts.map +0 -1
  762. package/dist/src/blocks/resource-list/index.d.ts +0 -2
  763. package/dist/src/blocks/resource-list/index.d.ts.map +0 -1
  764. package/dist/src/blocks/resource-list/resource-list.d.ts +0 -18
  765. package/dist/src/blocks/resource-list/resource-list.d.ts.map +0 -1
  766. package/dist/src/catalog/catalog.d.ts +0 -75
  767. package/dist/src/catalog/catalog.d.ts.map +0 -1
  768. package/dist/src/catalog/data.d.ts +0 -44
  769. package/dist/src/catalog/data.d.ts.map +0 -1
  770. package/dist/src/catalog/index.d.ts +0 -39
  771. package/dist/src/catalog/index.d.ts.map +0 -1
  772. package/dist/src/catalog/types.d.ts +0 -226
  773. package/dist/src/catalog/types.d.ts.map +0 -1
  774. package/dist/src/catalog/visibility.d.ts +0 -37
  775. package/dist/src/catalog/visibility.d.ts.map +0 -1
  776. package/dist/src/code/code-highlighted.d.ts +0 -32
  777. package/dist/src/code/code-highlighted.d.ts.map +0 -1
  778. package/dist/src/code/context.d.ts +0 -16
  779. package/dist/src/code/context.d.ts.map +0 -1
  780. package/dist/src/code/index.d.ts +0 -32
  781. package/dist/src/code/index.d.ts.map +0 -1
  782. package/dist/src/code/provider.d.ts +0 -13
  783. package/dist/src/code/provider.d.ts.map +0 -1
  784. package/dist/src/code/server.d.ts +0 -95
  785. package/dist/src/code/server.d.ts.map +0 -1
  786. package/dist/src/code/types.d.ts +0 -130
  787. package/dist/src/code/types.d.ts.map +0 -1
  788. package/dist/src/code/use-shiki-highlighter.d.ts +0 -36
  789. package/dist/src/code/use-shiki-highlighter.d.ts.map +0 -1
  790. package/dist/src/command-line/build-cli.d.ts +0 -7
  791. package/dist/src/command-line/build-cli.d.ts.map +0 -1
  792. package/dist/src/command-line/cli.d.ts +0 -13
  793. package/dist/src/command-line/cli.d.ts.map +0 -1
  794. package/dist/src/command-line/commands/add.d.ts +0 -10
  795. package/dist/src/command-line/commands/add.d.ts.map +0 -1
  796. package/dist/src/command-line/commands/ai.d.ts +0 -10
  797. package/dist/src/command-line/commands/ai.d.ts.map +0 -1
  798. package/dist/src/command-line/commands/blocks.d.ts +0 -10
  799. package/dist/src/command-line/commands/blocks.d.ts.map +0 -1
  800. package/dist/src/command-line/commands/doc.d.ts +0 -14
  801. package/dist/src/command-line/commands/doc.d.ts.map +0 -1
  802. package/dist/src/command-line/commands/init.d.ts +0 -18
  803. package/dist/src/command-line/commands/init.d.ts.map +0 -1
  804. package/dist/src/command-line/commands/ls.d.ts +0 -10
  805. package/dist/src/command-line/commands/ls.d.ts.map +0 -1
  806. package/dist/src/command-line/commands/migrate.d.ts +0 -10
  807. package/dist/src/command-line/commands/migrate.d.ts.map +0 -1
  808. package/dist/src/command-line/utils/config.d.ts +0 -42
  809. package/dist/src/command-line/utils/config.d.ts.map +0 -1
  810. package/dist/src/command-line/utils/transformer.d.ts +0 -21
  811. package/dist/src/command-line/utils/transformer.d.ts.map +0 -1
  812. package/dist/src/components/autocomplete/autocomplete.d.ts +0 -181
  813. package/dist/src/components/autocomplete/autocomplete.d.ts.map +0 -1
  814. package/dist/src/components/autocomplete/index.d.ts +0 -3
  815. package/dist/src/components/autocomplete/index.d.ts.map +0 -1
  816. package/dist/src/components/badge/badge.d.ts +0 -180
  817. package/dist/src/components/badge/badge.d.ts.map +0 -1
  818. package/dist/src/components/badge/index.d.ts +0 -2
  819. package/dist/src/components/badge/index.d.ts.map +0 -1
  820. package/dist/src/components/banner/banner.d.ts +0 -106
  821. package/dist/src/components/banner/banner.d.ts.map +0 -1
  822. package/dist/src/components/banner/index.d.ts +0 -2
  823. package/dist/src/components/banner/index.d.ts.map +0 -1
  824. package/dist/src/components/breadcrumbs/breadcrumbs.d.ts +0 -78
  825. package/dist/src/components/breadcrumbs/breadcrumbs.d.ts.map +0 -1
  826. package/dist/src/components/breadcrumbs/index.d.ts +0 -2
  827. package/dist/src/components/breadcrumbs/index.d.ts.map +0 -1
  828. package/dist/src/components/button/button.d.ts +0 -214
  829. package/dist/src/components/button/button.d.ts.map +0 -1
  830. package/dist/src/components/button/index.d.ts +0 -2
  831. package/dist/src/components/button/index.d.ts.map +0 -1
  832. package/dist/src/components/chart/Color.d.ts +0 -107
  833. package/dist/src/components/chart/Color.d.ts.map +0 -1
  834. package/dist/src/components/chart/EChart.d.ts +0 -166
  835. package/dist/src/components/chart/EChart.d.ts.map +0 -1
  836. package/dist/src/components/chart/Legend.d.ts +0 -51
  837. package/dist/src/components/chart/Legend.d.ts.map +0 -1
  838. package/dist/src/components/chart/Maps.d.ts +0 -211
  839. package/dist/src/components/chart/Maps.d.ts.map +0 -1
  840. package/dist/src/components/chart/SankeyChart.d.ts +0 -98
  841. package/dist/src/components/chart/SankeyChart.d.ts.map +0 -1
  842. package/dist/src/components/chart/TimeseriesChart.d.ts +0 -181
  843. package/dist/src/components/chart/TimeseriesChart.d.ts.map +0 -1
  844. package/dist/src/components/chart/index.d.ts +0 -7
  845. package/dist/src/components/chart/index.d.ts.map +0 -1
  846. package/dist/src/components/chart/tooltip-utils.d.ts +0 -4
  847. package/dist/src/components/chart/tooltip-utils.d.ts.map +0 -1
  848. package/dist/src/components/checkbox/checkbox.d.ts +0 -197
  849. package/dist/src/components/checkbox/checkbox.d.ts.map +0 -1
  850. package/dist/src/components/checkbox/index.d.ts +0 -2
  851. package/dist/src/components/checkbox/index.d.ts.map +0 -1
  852. package/dist/src/components/clipboard-text/clipboard-text.d.ts +0 -88
  853. package/dist/src/components/clipboard-text/clipboard-text.d.ts.map +0 -1
  854. package/dist/src/components/clipboard-text/index.d.ts +0 -2
  855. package/dist/src/components/clipboard-text/index.d.ts.map +0 -1
  856. package/dist/src/components/cloudflare-logo/cloudflare-logo.d.ts +0 -133
  857. package/dist/src/components/cloudflare-logo/cloudflare-logo.d.ts.map +0 -1
  858. package/dist/src/components/cloudflare-logo/index.d.ts +0 -2
  859. package/dist/src/components/cloudflare-logo/index.d.ts.map +0 -1
  860. package/dist/src/components/code/code.d.ts +0 -189
  861. package/dist/src/components/code/code.d.ts.map +0 -1
  862. package/dist/src/components/code/index.d.ts +0 -4
  863. package/dist/src/components/code/index.d.ts.map +0 -1
  864. package/dist/src/components/collapsible/collapsible.d.ts +0 -109
  865. package/dist/src/components/collapsible/collapsible.d.ts.map +0 -1
  866. package/dist/src/components/collapsible/index.d.ts +0 -2
  867. package/dist/src/components/collapsible/index.d.ts.map +0 -1
  868. package/dist/src/components/combobox/combobox.d.ts +0 -246
  869. package/dist/src/components/combobox/combobox.d.ts.map +0 -1
  870. package/dist/src/components/combobox/index.d.ts +0 -3
  871. package/dist/src/components/combobox/index.d.ts.map +0 -1
  872. package/dist/src/components/command-palette/command-palette.d.ts +0 -258
  873. package/dist/src/components/command-palette/command-palette.d.ts.map +0 -1
  874. package/dist/src/components/command-palette/index.d.ts +0 -3
  875. package/dist/src/components/command-palette/index.d.ts.map +0 -1
  876. package/dist/src/components/command-palette/types.d.ts +0 -168
  877. package/dist/src/components/command-palette/types.d.ts.map +0 -1
  878. package/dist/src/components/date-picker/date-picker.d.ts +0 -65
  879. package/dist/src/components/date-picker/date-picker.d.ts.map +0 -1
  880. package/dist/src/components/date-picker/index.d.ts +0 -4
  881. package/dist/src/components/date-picker/index.d.ts.map +0 -1
  882. package/dist/src/components/date-range-picker/date-range-picker.d.ts +0 -125
  883. package/dist/src/components/date-range-picker/date-range-picker.d.ts.map +0 -1
  884. package/dist/src/components/date-range-picker/index.d.ts +0 -5
  885. package/dist/src/components/date-range-picker/index.d.ts.map +0 -1
  886. package/dist/src/components/dialog/dialog.d.ts +0 -242
  887. package/dist/src/components/dialog/dialog.d.ts.map +0 -1
  888. package/dist/src/components/dialog/index.d.ts +0 -2
  889. package/dist/src/components/dialog/index.d.ts.map +0 -1
  890. package/dist/src/components/dropdown/dropdown.d.ts +0 -116
  891. package/dist/src/components/dropdown/dropdown.d.ts.map +0 -1
  892. package/dist/src/components/dropdown/index.d.ts +0 -2
  893. package/dist/src/components/dropdown/index.d.ts.map +0 -1
  894. package/dist/src/components/empty/empty.d.ts +0 -69
  895. package/dist/src/components/empty/empty.d.ts.map +0 -1
  896. package/dist/src/components/empty/index.d.ts +0 -2
  897. package/dist/src/components/empty/index.d.ts.map +0 -1
  898. package/dist/src/components/field/field.d.ts +0 -89
  899. package/dist/src/components/field/field.d.ts.map +0 -1
  900. package/dist/src/components/field/index.d.ts +0 -2
  901. package/dist/src/components/field/index.d.ts.map +0 -1
  902. package/dist/src/components/flow/connectors.d.ts +0 -41
  903. package/dist/src/components/flow/connectors.d.ts.map +0 -1
  904. package/dist/src/components/flow/diagram.d.ts +0 -98
  905. package/dist/src/components/flow/diagram.d.ts.map +0 -1
  906. package/dist/src/components/flow/index.d.ts +0 -26
  907. package/dist/src/components/flow/index.d.ts.map +0 -1
  908. package/dist/src/components/flow/node.d.ts +0 -61
  909. package/dist/src/components/flow/node.d.ts.map +0 -1
  910. package/dist/src/components/flow/parallel.d.ts +0 -13
  911. package/dist/src/components/flow/parallel.d.ts.map +0 -1
  912. package/dist/src/components/flow/use-children.d.ts +0 -87
  913. package/dist/src/components/flow/use-children.d.ts.map +0 -1
  914. package/dist/src/components/grid/grid.d.ts +0 -135
  915. package/dist/src/components/grid/grid.d.ts.map +0 -1
  916. package/dist/src/components/grid/index.d.ts +0 -2
  917. package/dist/src/components/grid/index.d.ts.map +0 -1
  918. package/dist/src/components/input/index.d.ts +0 -19
  919. package/dist/src/components/input/index.d.ts.map +0 -1
  920. package/dist/src/components/input/input-area.d.ts +0 -65
  921. package/dist/src/components/input/input-area.d.ts.map +0 -1
  922. package/dist/src/components/input/input.d.ts +0 -175
  923. package/dist/src/components/input/input.d.ts.map +0 -1
  924. package/dist/src/components/input-group/context.d.ts +0 -96
  925. package/dist/src/components/input-group/context.d.ts.map +0 -1
  926. package/dist/src/components/input-group/index.d.ts +0 -2
  927. package/dist/src/components/input-group/index.d.ts.map +0 -1
  928. package/dist/src/components/input-group/input-group-addon.d.ts +0 -15
  929. package/dist/src/components/input-group/input-group-addon.d.ts.map +0 -1
  930. package/dist/src/components/input-group/input-group-button.d.ts +0 -36
  931. package/dist/src/components/input-group/input-group-button.d.ts.map +0 -1
  932. package/dist/src/components/input-group/input-group-input.d.ts +0 -9
  933. package/dist/src/components/input-group/input-group-input.d.ts.map +0 -1
  934. package/dist/src/components/input-group/input-group-suffix.d.ts +0 -13
  935. package/dist/src/components/input-group/input-group-suffix.d.ts.map +0 -1
  936. package/dist/src/components/input-group/input-group.d.ts +0 -43
  937. package/dist/src/components/input-group/input-group.d.ts.map +0 -1
  938. package/dist/src/components/label/index.d.ts +0 -2
  939. package/dist/src/components/label/index.d.ts.map +0 -1
  940. package/dist/src/components/label/label.d.ts +0 -67
  941. package/dist/src/components/label/label.d.ts.map +0 -1
  942. package/dist/src/components/layer-card/index.d.ts +0 -2
  943. package/dist/src/components/layer-card/index.d.ts.map +0 -1
  944. package/dist/src/components/layer-card/layer-card.d.ts +0 -60
  945. package/dist/src/components/layer-card/layer-card.d.ts.map +0 -1
  946. package/dist/src/components/link/index.d.ts +0 -2
  947. package/dist/src/components/link/index.d.ts.map +0 -1
  948. package/dist/src/components/link/link.d.ts +0 -66
  949. package/dist/src/components/link/link.d.ts.map +0 -1
  950. package/dist/src/components/loader/index.d.ts +0 -3
  951. package/dist/src/components/loader/index.d.ts.map +0 -1
  952. package/dist/src/components/loader/loader.d.ts +0 -70
  953. package/dist/src/components/loader/loader.d.ts.map +0 -1
  954. package/dist/src/components/loader/skeleton-line.d.ts +0 -11
  955. package/dist/src/components/loader/skeleton-line.d.ts.map +0 -1
  956. package/dist/src/components/menubar/index.d.ts +0 -3
  957. package/dist/src/components/menubar/index.d.ts.map +0 -1
  958. package/dist/src/components/menubar/menubar.d.ts +0 -66
  959. package/dist/src/components/menubar/menubar.d.ts.map +0 -1
  960. package/dist/src/components/menubar/use-menu-navigation.d.ts +0 -8
  961. package/dist/src/components/menubar/use-menu-navigation.d.ts.map +0 -1
  962. package/dist/src/components/meter/index.d.ts +0 -2
  963. package/dist/src/components/meter/index.d.ts.map +0 -1
  964. package/dist/src/components/meter/meter.d.ts +0 -44
  965. package/dist/src/components/meter/meter.d.ts.map +0 -1
  966. package/dist/src/components/pagination/index.d.ts +0 -2
  967. package/dist/src/components/pagination/index.d.ts.map +0 -1
  968. package/dist/src/components/pagination/pagination.d.ts +0 -241
  969. package/dist/src/components/pagination/pagination.d.ts.map +0 -1
  970. package/dist/src/components/popover/index.d.ts +0 -3
  971. package/dist/src/components/popover/index.d.ts.map +0 -1
  972. package/dist/src/components/popover/popover.d.ts +0 -178
  973. package/dist/src/components/popover/popover.d.ts.map +0 -1
  974. package/dist/src/components/radio/index.d.ts +0 -2
  975. package/dist/src/components/radio/index.d.ts.map +0 -1
  976. package/dist/src/components/radio/radio.d.ts +0 -277
  977. package/dist/src/components/radio/radio.d.ts.map +0 -1
  978. package/dist/src/components/radio/radio.type-spec.d.ts +0 -12
  979. package/dist/src/components/radio/radio.type-spec.d.ts.map +0 -1
  980. package/dist/src/components/select/index.d.ts +0 -2
  981. package/dist/src/components/select/index.d.ts.map +0 -1
  982. package/dist/src/components/select/select.d.ts +0 -288
  983. package/dist/src/components/select/select.d.ts.map +0 -1
  984. package/dist/src/components/sensitive-input/index.d.ts +0 -2
  985. package/dist/src/components/sensitive-input/index.d.ts.map +0 -1
  986. package/dist/src/components/sensitive-input/sensitive-input.d.ts +0 -94
  987. package/dist/src/components/sensitive-input/sensitive-input.d.ts.map +0 -1
  988. package/dist/src/components/sidebar/index.d.ts +0 -2
  989. package/dist/src/components/sidebar/index.d.ts.map +0 -1
  990. package/dist/src/components/sidebar/sidebar.d.ts +0 -581
  991. package/dist/src/components/sidebar/sidebar.d.ts.map +0 -1
  992. package/dist/src/components/surface/index.d.ts +0 -5
  993. package/dist/src/components/surface/index.d.ts.map +0 -1
  994. package/dist/src/components/surface/surface.d.ts +0 -64
  995. package/dist/src/components/surface/surface.d.ts.map +0 -1
  996. package/dist/src/components/switch/index.d.ts +0 -2
  997. package/dist/src/components/switch/index.d.ts.map +0 -1
  998. package/dist/src/components/switch/switch.d.ts +0 -197
  999. package/dist/src/components/switch/switch.d.ts.map +0 -1
  1000. package/dist/src/components/table/index.d.ts +0 -2
  1001. package/dist/src/components/table/index.d.ts.map +0 -1
  1002. package/dist/src/components/table/table.d.ts +0 -138
  1003. package/dist/src/components/table/table.d.ts.map +0 -1
  1004. package/dist/src/components/table-of-contents/index.d.ts +0 -2
  1005. package/dist/src/components/table-of-contents/index.d.ts.map +0 -1
  1006. package/dist/src/components/table-of-contents/table-of-contents.d.ts +0 -72
  1007. package/dist/src/components/table-of-contents/table-of-contents.d.ts.map +0 -1
  1008. package/dist/src/components/tabs/index.d.ts +0 -3
  1009. package/dist/src/components/tabs/index.d.ts.map +0 -1
  1010. package/dist/src/components/tabs/tabs.d.ts +0 -116
  1011. package/dist/src/components/tabs/tabs.d.ts.map +0 -1
  1012. package/dist/src/components/text/index.d.ts +0 -2
  1013. package/dist/src/components/text/index.d.ts.map +0 -1
  1014. package/dist/src/components/text/text.d.ts +0 -214
  1015. package/dist/src/components/text/text.d.ts.map +0 -1
  1016. package/dist/src/components/text/text.type-spec.d.ts +0 -44
  1017. package/dist/src/components/text/text.type-spec.d.ts.map +0 -1
  1018. package/dist/src/components/toast/index.d.ts +0 -5
  1019. package/dist/src/components/toast/index.d.ts.map +0 -1
  1020. package/dist/src/components/toast/toast.d.ts +0 -197
  1021. package/dist/src/components/toast/toast.d.ts.map +0 -1
  1022. package/dist/src/components/toolbar/index.d.ts +0 -2
  1023. package/dist/src/components/toolbar/index.d.ts.map +0 -1
  1024. package/dist/src/components/toolbar/toolbar.d.ts +0 -50
  1025. package/dist/src/components/toolbar/toolbar.d.ts.map +0 -1
  1026. package/dist/src/components/tooltip/index.d.ts +0 -2
  1027. package/dist/src/components/tooltip/index.d.ts.map +0 -1
  1028. package/dist/src/components/tooltip/tooltip.d.ts +0 -108
  1029. package/dist/src/components/tooltip/tooltip.d.ts.map +0 -1
  1030. package/dist/src/index.d.ts +0 -85
  1031. package/dist/src/index.d.ts.map +0 -1
  1032. package/dist/src/primitives/accordion.d.ts +0 -13
  1033. package/dist/src/primitives/accordion.d.ts.map +0 -1
  1034. package/dist/src/primitives/alert-dialog.d.ts +0 -13
  1035. package/dist/src/primitives/alert-dialog.d.ts.map +0 -1
  1036. package/dist/src/primitives/autocomplete.d.ts +0 -13
  1037. package/dist/src/primitives/autocomplete.d.ts.map +0 -1
  1038. package/dist/src/primitives/avatar.d.ts +0 -13
  1039. package/dist/src/primitives/avatar.d.ts.map +0 -1
  1040. package/dist/src/primitives/button.d.ts +0 -13
  1041. package/dist/src/primitives/button.d.ts.map +0 -1
  1042. package/dist/src/primitives/checkbox-group.d.ts +0 -13
  1043. package/dist/src/primitives/checkbox-group.d.ts.map +0 -1
  1044. package/dist/src/primitives/checkbox.d.ts +0 -13
  1045. package/dist/src/primitives/checkbox.d.ts.map +0 -1
  1046. package/dist/src/primitives/collapsible.d.ts +0 -13
  1047. package/dist/src/primitives/collapsible.d.ts.map +0 -1
  1048. package/dist/src/primitives/combobox.d.ts +0 -13
  1049. package/dist/src/primitives/combobox.d.ts.map +0 -1
  1050. package/dist/src/primitives/context-menu.d.ts +0 -13
  1051. package/dist/src/primitives/context-menu.d.ts.map +0 -1
  1052. package/dist/src/primitives/csp-provider.d.ts +0 -13
  1053. package/dist/src/primitives/csp-provider.d.ts.map +0 -1
  1054. package/dist/src/primitives/dialog.d.ts +0 -13
  1055. package/dist/src/primitives/dialog.d.ts.map +0 -1
  1056. package/dist/src/primitives/direction-provider.d.ts +0 -13
  1057. package/dist/src/primitives/direction-provider.d.ts.map +0 -1
  1058. package/dist/src/primitives/drawer.d.ts +0 -13
  1059. package/dist/src/primitives/drawer.d.ts.map +0 -1
  1060. package/dist/src/primitives/field.d.ts +0 -13
  1061. package/dist/src/primitives/field.d.ts.map +0 -1
  1062. package/dist/src/primitives/fieldset.d.ts +0 -13
  1063. package/dist/src/primitives/fieldset.d.ts.map +0 -1
  1064. package/dist/src/primitives/form.d.ts +0 -13
  1065. package/dist/src/primitives/form.d.ts.map +0 -1
  1066. package/dist/src/primitives/index.d.ts +0 -56
  1067. package/dist/src/primitives/index.d.ts.map +0 -1
  1068. package/dist/src/primitives/input.d.ts +0 -13
  1069. package/dist/src/primitives/input.d.ts.map +0 -1
  1070. package/dist/src/primitives/menu.d.ts +0 -13
  1071. package/dist/src/primitives/menu.d.ts.map +0 -1
  1072. package/dist/src/primitives/menubar.d.ts +0 -13
  1073. package/dist/src/primitives/menubar.d.ts.map +0 -1
  1074. package/dist/src/primitives/meter.d.ts +0 -13
  1075. package/dist/src/primitives/meter.d.ts.map +0 -1
  1076. package/dist/src/primitives/navigation-menu.d.ts +0 -13
  1077. package/dist/src/primitives/navigation-menu.d.ts.map +0 -1
  1078. package/dist/src/primitives/number-field.d.ts +0 -13
  1079. package/dist/src/primitives/number-field.d.ts.map +0 -1
  1080. package/dist/src/primitives/otp-field.d.ts +0 -14
  1081. package/dist/src/primitives/otp-field.d.ts.map +0 -1
  1082. package/dist/src/primitives/popover.d.ts +0 -13
  1083. package/dist/src/primitives/popover.d.ts.map +0 -1
  1084. package/dist/src/primitives/preview-card.d.ts +0 -13
  1085. package/dist/src/primitives/preview-card.d.ts.map +0 -1
  1086. package/dist/src/primitives/progress.d.ts +0 -13
  1087. package/dist/src/primitives/progress.d.ts.map +0 -1
  1088. package/dist/src/primitives/radio-group.d.ts +0 -13
  1089. package/dist/src/primitives/radio-group.d.ts.map +0 -1
  1090. package/dist/src/primitives/radio.d.ts +0 -13
  1091. package/dist/src/primitives/radio.d.ts.map +0 -1
  1092. package/dist/src/primitives/scroll-area.d.ts +0 -13
  1093. package/dist/src/primitives/scroll-area.d.ts.map +0 -1
  1094. package/dist/src/primitives/select.d.ts +0 -13
  1095. package/dist/src/primitives/select.d.ts.map +0 -1
  1096. package/dist/src/primitives/separator.d.ts +0 -13
  1097. package/dist/src/primitives/separator.d.ts.map +0 -1
  1098. package/dist/src/primitives/slider.d.ts +0 -13
  1099. package/dist/src/primitives/slider.d.ts.map +0 -1
  1100. package/dist/src/primitives/switch.d.ts +0 -13
  1101. package/dist/src/primitives/switch.d.ts.map +0 -1
  1102. package/dist/src/primitives/tabs.d.ts +0 -13
  1103. package/dist/src/primitives/tabs.d.ts.map +0 -1
  1104. package/dist/src/primitives/toast.d.ts +0 -13
  1105. package/dist/src/primitives/toast.d.ts.map +0 -1
  1106. package/dist/src/primitives/toggle-group.d.ts +0 -13
  1107. package/dist/src/primitives/toggle-group.d.ts.map +0 -1
  1108. package/dist/src/primitives/toggle.d.ts +0 -13
  1109. package/dist/src/primitives/toggle.d.ts.map +0 -1
  1110. package/dist/src/primitives/toolbar.d.ts +0 -13
  1111. package/dist/src/primitives/toolbar.d.ts.map +0 -1
  1112. package/dist/src/primitives/tooltip.d.ts +0 -13
  1113. package/dist/src/primitives/tooltip.d.ts.map +0 -1
  1114. package/dist/src/registry/index.d.ts +0 -8
  1115. package/dist/src/registry/index.d.ts.map +0 -1
  1116. package/dist/src/registry/types.d.ts +0 -191
  1117. package/dist/src/registry/types.d.ts.map +0 -1
  1118. package/dist/src/utils/cn.d.ts +0 -3
  1119. package/dist/src/utils/cn.d.ts.map +0 -1
  1120. package/dist/src/utils/index.d.ts +0 -4
  1121. package/dist/src/utils/index.d.ts.map +0 -1
  1122. package/dist/src/utils/link-provider.d.ts +0 -66
  1123. package/dist/src/utils/link-provider.d.ts.map +0 -1
  1124. package/dist/src/utils/portal-provider.d.ts +0 -56
  1125. package/dist/src/utils/portal-provider.d.ts.map +0 -1
  1126. package/dist/src/utils/prop-examples.d.ts +0 -36
  1127. package/dist/src/utils/prop-examples.d.ts.map +0 -1
  1128. package/dist/src/utils/resolve-variant.d.ts +0 -27
  1129. package/dist/src/utils/resolve-variant.d.ts.map +0 -1
  1130. package/dist/utils.js.map +0 -1
@@ -0,0 +1,1229 @@
1
+ "use client";
2
+ import { t as __exportAll } from "./rolldown-runtime-hi7ti5xiuxsegr96.js";
3
+ import { c as warn, r as mergeProps, t as useRenderElement, u as useMergedRefs } from "./useRenderElement-m8kc7jyuczp71mq8.js";
4
+ import { n as useIsoLayoutEffect } from "./safeReact-bavzz23j5tex60z2.js";
5
+ import { D as activeElement, E as matchesFocusVisible, O as contains, k as getTarget, v as ownerDocument } from "./vendor-utils-luqsvbyuig727bnr.js";
6
+ import { E as isHTMLElement, T as isElement, w as getWindow } from "./vendor-floating-ui-dsysdmve7iazaaes.js";
7
+ import { S as keyboard, _ as inputChange, n as createGenericEventDetails, t as createChangeEventDetails } from "./createBaseUIEventDetails-ddivuhl74gni72qn.js";
8
+ import { t as addEventListener } from "./addEventListener-lhqvk2ahlzjsanyg.js";
9
+ import { t as useValueAsRef } from "./useValueAsRef-lrn42zari17368c9.js";
10
+ import { t as useStableCallback } from "./useStableCallback-ninxmksdjvwl6ejj.js";
11
+ import { n as useAnimationFrame } from "./useAnimationFrame-ssgc72hyq6sg3yit.js";
12
+ import { t as visuallyHidden } from "./visuallyHidden-n14xllazfozg55ox.js";
13
+ import { t as useBaseUiId } from "./useBaseUiId-gqkl5ep5pn6hd0rw.js";
14
+ import { n as useDirection } from "./DirectionContext-jc1g0w645603sd6p.js";
15
+ import { a as useFieldRootContext, c as fieldValidityMapping, n as useLabelableContext } from "./LabelableContext-hetas2e4y0kywfas.js";
16
+ import { n as useFormContext } from "./FormContext-xz0b4h7ue30fkkn1.js";
17
+ import { t as useLabelableId } from "./useLabelableId-b1kwq9st3rjrtakn.js";
18
+ import { n as useLabel, t as focusElementWithVisible } from "./useLabel-nh9hf8h7o6oquqn5.js";
19
+ import { t as useControlled } from "./useControlled-nlx0kk1ksgk0auvi.js";
20
+ import { t as useRegisterFieldControl } from "./useRegisterFieldControl-m1rxsuvtpau2341n.js";
21
+ import { t as useValueChanged } from "./useValueChanged-kthmz4wk7ywnjwtx.js";
22
+ import { t as areArraysEqual } from "./areArraysEqual-nlbeaqlzf4274zr3.js";
23
+ import { t as clamp } from "./clamp-kvu4wtr1dw6b3pnd.js";
24
+ import { n as resolveAriaLabelledBy, t as getDefaultLabelId } from "./resolveAriaLabelledBy-h9qwvo10ftlj6t9k.js";
25
+ import { t as CompositeList } from "./CompositeList-bek8pmx9o8cu36ig.js";
26
+ import { n as useCompositeListItem } from "./useCompositeListItem-0exfww37ospqz69b.js";
27
+ import { a as ARROW_UP, d as PAGE_DOWN, f as PAGE_UP, i as ARROW_RIGHT, o as COMPOSITE_KEYS, r as ARROW_LEFT, s as HOME, t as ARROW_DOWN } from "./composite-o65hjzwwzb4kvl4w.js";
28
+ import { t as formatNumber } from "./formatNumber-hjijm58g645q6a0n.js";
29
+ import { t as valueToPercent } from "./valueToPercent-henpkkj3juy3ukeu.js";
30
+ import { n as useCSPContext } from "./CSPContext-guqghj8kxoukvlky.js";
31
+ import { t as useIsHydrating } from "./useIsHydrating-b6whcsimonagru6u.js";
32
+ import { jsx, jsxs } from "react/jsx-runtime";
33
+ import * as React$1 from "react";
34
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/utils/asc.mjs
35
+ function asc(a, b) {
36
+ return a - b;
37
+ }
38
+ //#endregion
39
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/utils/replaceArrayItemAtIndex.mjs
40
+ function replaceArrayItemAtIndex(array, index, newValue) {
41
+ const output = array.slice();
42
+ output[index] = newValue;
43
+ return output.sort(asc);
44
+ }
45
+ //#endregion
46
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/utils/getSliderValue.mjs
47
+ function getSliderValue(valueInput, index, min, max, range, values) {
48
+ let newValue = valueInput;
49
+ newValue = clamp(newValue, min, max);
50
+ if (range) newValue = replaceArrayItemAtIndex(values, index, clamp(newValue, values[index - 1] ?? -Infinity, values[index + 1] ?? Infinity));
51
+ return newValue;
52
+ }
53
+ //#endregion
54
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/utils/validateMinimumDistance.mjs
55
+ function validateMinimumDistance(values, step, minStepsBetweenValues) {
56
+ if (!Array.isArray(values)) return true;
57
+ const distances = values.reduce((acc, val, index, vals) => {
58
+ if (index === vals.length - 1) return acc;
59
+ acc.push(Math.abs(val - vals[index + 1]));
60
+ return acc;
61
+ }, []);
62
+ return Math.min(...distances) >= step * minStepsBetweenValues;
63
+ }
64
+ //#endregion
65
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/root/stateAttributesMapping.mjs
66
+ const sliderStateAttributesMapping = {
67
+ activeThumbIndex: () => null,
68
+ max: () => null,
69
+ min: () => null,
70
+ minStepsBetweenValues: () => null,
71
+ step: () => null,
72
+ values: () => null,
73
+ ...fieldValidityMapping
74
+ };
75
+ //#endregion
76
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/root/SliderRootContext.mjs
77
+ const SliderRootContext = /*#__PURE__*/ React$1.createContext(void 0);
78
+ SliderRootContext.displayName = "SliderRootContext";
79
+ function useSliderRootContext() {
80
+ const context = React$1.useContext(SliderRootContext);
81
+ if (context === void 0) throw new Error("Base UI: SliderRootContext is missing. Slider parts must be placed within <Slider.Root>.");
82
+ return context;
83
+ }
84
+ //#endregion
85
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/root/SliderRoot.mjs
86
+ function getSliderChangeEventReason(event) {
87
+ return "key" in event ? keyboard : inputChange;
88
+ }
89
+ function areValuesEqual(newValue, oldValue) {
90
+ if (typeof newValue === "number" && typeof oldValue === "number") return newValue === oldValue;
91
+ if (Array.isArray(newValue) && Array.isArray(oldValue)) return areArraysEqual(newValue, oldValue);
92
+ return false;
93
+ }
94
+ /**
95
+ * Groups all parts of the slider.
96
+ * Renders a `<div>` element.
97
+ *
98
+ * Documentation: [Base UI Slider](https://base-ui.com/react/components/slider)
99
+ */
100
+ const SliderRoot = /*#__PURE__*/ React$1.forwardRef(function SliderRoot(componentProps, forwardedRef) {
101
+ const { "aria-labelledby": ariaLabelledByProp, className, defaultValue, disabled: disabledProp = false, id: idProp, format, largeStep = 10, locale, render, max = 100, min = 0, minStepsBetweenValues = 0, form, name: nameProp, onValueChange: onValueChangeProp, onValueCommitted: onValueCommittedProp, orientation = "horizontal", step = 1, thumbCollisionBehavior = "push", thumbAlignment = "center", value: valueProp, style, ...elementProps } = componentProps;
102
+ const id = useBaseUiId(idProp);
103
+ const defaultLabelId = getDefaultLabelId(id);
104
+ const onValueChange = useStableCallback(onValueChangeProp);
105
+ const onValueCommitted = useStableCallback(onValueCommittedProp);
106
+ const { clearErrors } = useFormContext();
107
+ const { state: fieldState, disabled: fieldDisabled, name: fieldName, setTouched, setDirty, validityData, validation } = useFieldRootContext();
108
+ const { labelId: fieldLabelId } = useLabelableContext();
109
+ const [labelId, setLabelId] = React$1.useState();
110
+ const ariaLabelledby = ariaLabelledByProp ?? resolveAriaLabelledBy(fieldLabelId, labelId);
111
+ const disabled = fieldDisabled || disabledProp;
112
+ const name = fieldName ?? nameProp;
113
+ const [valueUnwrapped, setValueUnwrapped] = useControlled({
114
+ controlled: valueProp,
115
+ default: defaultValue ?? min,
116
+ name: "Slider"
117
+ });
118
+ const sliderRef = React$1.useRef(null);
119
+ const controlRef = React$1.useRef(null);
120
+ const thumbRefs = React$1.useRef([]);
121
+ const pressedInputRef = React$1.useRef(null);
122
+ const pressedThumbCenterOffsetRef = React$1.useRef(null);
123
+ const pressedThumbIndexRef = React$1.useRef(-1);
124
+ const pressedValuesRef = React$1.useRef(null);
125
+ const lastChangeReasonRef = React$1.useRef("none");
126
+ const formatOptionsRef = useValueAsRef(format);
127
+ const [active, setActiveState] = React$1.useState(-1);
128
+ const [lastUsedThumbIndex, setLastUsedThumbIndex] = React$1.useState(-1);
129
+ const [dragging, setDragging] = React$1.useState(false);
130
+ const [thumbMap, setThumbMap] = React$1.useState(() => /* @__PURE__ */ new Map());
131
+ const [indicatorPosition, setIndicatorPosition] = React$1.useState([void 0, void 0]);
132
+ const setActive = useStableCallback((value) => {
133
+ setActiveState(value);
134
+ if (value !== -1) setLastUsedThumbIndex(value);
135
+ });
136
+ useRegisterFieldControl(validation.inputRef, id, valueUnwrapped, void 0, !disabled, nameProp);
137
+ useValueChanged(valueUnwrapped, () => {
138
+ clearErrors(name);
139
+ validation.change(valueUnwrapped);
140
+ const initialValue = validityData.initialValue;
141
+ let isDirty;
142
+ if (Array.isArray(valueUnwrapped) && Array.isArray(initialValue)) isDirty = !areArraysEqual(valueUnwrapped, initialValue);
143
+ else isDirty = valueUnwrapped !== initialValue;
144
+ setDirty(isDirty);
145
+ });
146
+ const registerFieldControlRef = useStableCallback((element) => {
147
+ if (element) controlRef.current = element;
148
+ });
149
+ const range = Array.isArray(valueUnwrapped);
150
+ const values = React$1.useMemo(() => {
151
+ if (!range) return [clamp(valueUnwrapped, min, max)];
152
+ return valueUnwrapped.slice().sort(asc);
153
+ }, [
154
+ max,
155
+ min,
156
+ range,
157
+ valueUnwrapped
158
+ ]);
159
+ const setValue = useStableCallback((newValue, details) => {
160
+ if (Number.isNaN(newValue) || areValuesEqual(newValue, valueUnwrapped)) return false;
161
+ const changeDetails = details ?? createChangeEventDetails("none", void 0, void 0, { activeThumbIndex: -1 });
162
+ const nativeEvent = changeDetails.event;
163
+ const clonedEvent = new (nativeEvent.constructor ?? Event)(nativeEvent.type, nativeEvent);
164
+ Object.defineProperty(clonedEvent, "target", {
165
+ writable: true,
166
+ value: {
167
+ value: newValue,
168
+ name
169
+ }
170
+ });
171
+ changeDetails.event = clonedEvent;
172
+ onValueChange(newValue, changeDetails);
173
+ if (changeDetails.isCanceled) return false;
174
+ lastChangeReasonRef.current = changeDetails.reason;
175
+ setValueUnwrapped(newValue);
176
+ return true;
177
+ });
178
+ const handleInputChange = useStableCallback((valueInput, index, event) => {
179
+ const newValue = getSliderValue(valueInput, index, min, max, range, values);
180
+ if (validateMinimumDistance(newValue, step, minStepsBetweenValues)) {
181
+ const reason = getSliderChangeEventReason(event);
182
+ const applied = setValue(newValue, createChangeEventDetails(reason, event.nativeEvent, void 0, { activeThumbIndex: index }));
183
+ setTouched(true);
184
+ if (applied) onValueCommitted(newValue, createGenericEventDetails(reason, event.nativeEvent));
185
+ }
186
+ });
187
+ if (min >= max) warn("Slider `max` must be greater than `min`.");
188
+ useIsoLayoutEffect(() => {
189
+ const activeEl = activeElement(ownerDocument(sliderRef.current));
190
+ if (disabled && contains(sliderRef.current, activeEl)) activeEl.blur();
191
+ }, [disabled]);
192
+ if (disabled && active !== -1) setActive(-1);
193
+ const state = React$1.useMemo(() => ({
194
+ ...fieldState,
195
+ activeThumbIndex: active,
196
+ disabled,
197
+ dragging,
198
+ orientation,
199
+ max,
200
+ min,
201
+ minStepsBetweenValues,
202
+ step,
203
+ values
204
+ }), [
205
+ fieldState,
206
+ active,
207
+ disabled,
208
+ dragging,
209
+ max,
210
+ min,
211
+ minStepsBetweenValues,
212
+ orientation,
213
+ step,
214
+ values
215
+ ]);
216
+ const contextValue = React$1.useMemo(() => ({
217
+ active,
218
+ controlRef,
219
+ disabled,
220
+ dragging,
221
+ validation,
222
+ formatOptionsRef,
223
+ handleInputChange,
224
+ indicatorPosition,
225
+ inset: thumbAlignment !== "center",
226
+ labelId: ariaLabelledby,
227
+ rootLabelId: defaultLabelId,
228
+ largeStep,
229
+ lastUsedThumbIndex,
230
+ lastChangeReasonRef,
231
+ form,
232
+ locale,
233
+ max,
234
+ min,
235
+ minStepsBetweenValues,
236
+ name,
237
+ onValueCommitted,
238
+ orientation,
239
+ pressedInputRef,
240
+ pressedThumbCenterOffsetRef,
241
+ pressedThumbIndexRef,
242
+ pressedValuesRef,
243
+ registerFieldControlRef,
244
+ renderBeforeHydration: thumbAlignment === "edge",
245
+ setActive,
246
+ setDragging,
247
+ setIndicatorPosition,
248
+ setLabelId,
249
+ setValue,
250
+ state,
251
+ step,
252
+ thumbCollisionBehavior,
253
+ thumbMap,
254
+ thumbRefs,
255
+ values
256
+ }), [
257
+ active,
258
+ controlRef,
259
+ ariaLabelledby,
260
+ defaultLabelId,
261
+ disabled,
262
+ dragging,
263
+ validation,
264
+ formatOptionsRef,
265
+ handleInputChange,
266
+ indicatorPosition,
267
+ largeStep,
268
+ lastUsedThumbIndex,
269
+ lastChangeReasonRef,
270
+ form,
271
+ locale,
272
+ max,
273
+ min,
274
+ minStepsBetweenValues,
275
+ name,
276
+ onValueCommitted,
277
+ orientation,
278
+ pressedInputRef,
279
+ pressedThumbCenterOffsetRef,
280
+ pressedThumbIndexRef,
281
+ pressedValuesRef,
282
+ registerFieldControlRef,
283
+ setActive,
284
+ setDragging,
285
+ setIndicatorPosition,
286
+ setLabelId,
287
+ setValue,
288
+ state,
289
+ step,
290
+ thumbCollisionBehavior,
291
+ thumbAlignment,
292
+ thumbMap,
293
+ thumbRefs,
294
+ values
295
+ ]);
296
+ const element = useRenderElement("div", componentProps, {
297
+ state,
298
+ ref: [forwardedRef, sliderRef],
299
+ props: [
300
+ {
301
+ "aria-labelledby": ariaLabelledby,
302
+ id,
303
+ role: "group"
304
+ },
305
+ elementProps,
306
+ (props) => validation.getValidationProps(disabled, props)
307
+ ],
308
+ stateAttributesMapping: sliderStateAttributesMapping
309
+ });
310
+ return /*#__PURE__*/ jsx(SliderRootContext.Provider, {
311
+ value: contextValue,
312
+ children: /*#__PURE__*/ jsx(CompositeList, {
313
+ elementsRef: thumbRefs,
314
+ onMapChange: setThumbMap,
315
+ children: element
316
+ })
317
+ });
318
+ });
319
+ SliderRoot.displayName = "SliderRoot";
320
+ //#endregion
321
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/label/SliderLabel.mjs
322
+ /**
323
+ * An accessible label that is automatically associated with the slider thumbs.
324
+ * Renders a `<div>` element.
325
+ *
326
+ * Documentation: [Base UI Slider](https://base-ui.com/react/components/slider)
327
+ */
328
+ const SliderLabel = /*#__PURE__*/ React$1.forwardRef(function SliderLabel(componentProps, forwardedRef) {
329
+ const { render, className, style, ...elementProps } = componentProps;
330
+ const elementPropsWithoutId = elementProps;
331
+ delete elementPropsWithoutId.id;
332
+ const { state, setLabelId, controlRef, rootLabelId } = useSliderRootContext();
333
+ function focusControl(event, controlId) {
334
+ if (controlId) {
335
+ const controlElement = ownerDocument(event.currentTarget).getElementById(controlId);
336
+ if (isHTMLElement(controlElement)) {
337
+ focusElementWithVisible(controlElement);
338
+ return;
339
+ }
340
+ }
341
+ const fallbackInputs = controlRef.current?.querySelectorAll("input[type=\"range\"]");
342
+ const fallbackInput = fallbackInputs?.length === 1 ? fallbackInputs[0] : null;
343
+ if (isHTMLElement(fallbackInput)) focusElementWithVisible(fallbackInput);
344
+ }
345
+ return useRenderElement("div", componentProps, {
346
+ ref: forwardedRef,
347
+ state,
348
+ props: [useLabel({
349
+ id: rootLabelId,
350
+ setLabelId,
351
+ focusControl
352
+ }), elementProps],
353
+ stateAttributesMapping: sliderStateAttributesMapping
354
+ });
355
+ });
356
+ SliderLabel.displayName = "SliderLabel";
357
+ //#endregion
358
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/value/SliderValue.mjs
359
+ /**
360
+ * Displays the current value of the slider as text.
361
+ * Renders an `<output>` element.
362
+ *
363
+ * Documentation: [Base UI Slider](https://base-ui.com/react/components/slider)
364
+ */
365
+ const SliderValue = /*#__PURE__*/ React$1.forwardRef(function SliderValue(componentProps, forwardedRef) {
366
+ const { "aria-live": ariaLive = "off", render, className, children, style, ...elementProps } = componentProps;
367
+ const { thumbMap, state, values, formatOptionsRef, locale } = useSliderRootContext();
368
+ let htmlFor = "";
369
+ for (const thumbMetadata of thumbMap.values()) if (thumbMetadata?.inputId) htmlFor += `${thumbMetadata.inputId} `;
370
+ const outputFor = htmlFor.trim() === "" ? void 0 : htmlFor.trim();
371
+ const formattedValues = React$1.useMemo(() => {
372
+ const arr = [];
373
+ for (let i = 0; i < values.length; i += 1) arr.push(formatNumber(values[i], locale, formatOptionsRef.current ?? void 0));
374
+ return arr;
375
+ }, [
376
+ formatOptionsRef,
377
+ locale,
378
+ values
379
+ ]);
380
+ const defaultDisplayValue = values.map((v, i) => formattedValues[i] || v).join(" – ");
381
+ return useRenderElement("output", componentProps, {
382
+ state,
383
+ ref: forwardedRef,
384
+ props: [{
385
+ "aria-live": ariaLive,
386
+ children: typeof children === "function" ? children(formattedValues, values) : defaultDisplayValue,
387
+ htmlFor: outputFor
388
+ }, elementProps],
389
+ stateAttributesMapping: sliderStateAttributesMapping
390
+ });
391
+ });
392
+ SliderValue.displayName = "SliderValue";
393
+ //#endregion
394
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/utils/getMidpoint.mjs
395
+ function getMidpoint(element) {
396
+ const rect = element.getBoundingClientRect();
397
+ return {
398
+ x: (rect.left + rect.right) / 2,
399
+ y: (rect.top + rect.bottom) / 2
400
+ };
401
+ }
402
+ //#endregion
403
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/utils/roundValueToStep.mjs
404
+ function getDecimalPrecision(num) {
405
+ if (num === 0) return 0;
406
+ if (Math.abs(num) < 1) {
407
+ const parts = num.toExponential().split("e-");
408
+ const matissaDecimalPart = parts[0].split(".")[1];
409
+ return (matissaDecimalPart ? matissaDecimalPart.length : 0) + parseInt(parts[1], 10);
410
+ }
411
+ const decimalPart = num.toString().split(".")[1];
412
+ return decimalPart ? decimalPart.length : 0;
413
+ }
414
+ function roundValueToStep(value, step, min) {
415
+ const nearest = Math.round((value - min) / step) * step + min;
416
+ return Number(nearest.toFixed(Math.max(getDecimalPrecision(step), getDecimalPrecision(min))));
417
+ }
418
+ //#endregion
419
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/utils/getPushedThumbValues.mjs
420
+ /**
421
+ * Returns a new array of slider values where attempting to move the thumb at `index`
422
+ * beyond its neighbours "pushes" them while respecting `minStepsBetweenValues`.
423
+ */
424
+ function getPushedThumbValues({ values, index, nextValue, min, max, step, minStepsBetweenValues, initialValues }) {
425
+ if (values.length === 0) return [];
426
+ const nextValues = values.slice();
427
+ const minValueDifference = step * minStepsBetweenValues;
428
+ const lastIndex = nextValues.length - 1;
429
+ const baseInitialValues = initialValues ?? values;
430
+ nextValues[index] = clamp(nextValue, min + index * minValueDifference, max - (lastIndex - index) * minValueDifference);
431
+ for (let i = index + 1; i <= lastIndex; i += 1) {
432
+ const minAllowed = nextValues[i - 1] + minValueDifference;
433
+ const maxAllowed = max - (lastIndex - i) * minValueDifference;
434
+ const initialValue = baseInitialValues[i] ?? nextValues[i];
435
+ let candidate = Math.max(nextValues[i], minAllowed);
436
+ if (initialValue < candidate) candidate = Math.max(initialValue, minAllowed);
437
+ nextValues[i] = clamp(candidate, minAllowed, maxAllowed);
438
+ }
439
+ for (let i = index - 1; i >= 0; i -= 1) {
440
+ const maxAllowed = nextValues[i + 1] - minValueDifference;
441
+ const minAllowed = min + i * minValueDifference;
442
+ const initialValue = baseInitialValues[i] ?? nextValues[i];
443
+ let candidate = Math.min(nextValues[i], maxAllowed);
444
+ if (initialValue > candidate) candidate = Math.min(initialValue, maxAllowed);
445
+ nextValues[i] = clamp(candidate, minAllowed, maxAllowed);
446
+ }
447
+ for (let i = 0; i <= lastIndex; i += 1) nextValues[i] = Number(nextValues[i].toFixed(12));
448
+ return nextValues;
449
+ }
450
+ //#endregion
451
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/utils/resolveThumbCollision.mjs
452
+ function resolveThumbCollision({ behavior, values, currentValues, initialValues, pressedIndex, nextValue, min, max, step, minStepsBetweenValues }) {
453
+ const activeValues = currentValues ?? values;
454
+ const baselineValues = initialValues ?? values;
455
+ if (!(activeValues.length > 1)) return {
456
+ value: nextValue,
457
+ thumbIndex: 0,
458
+ didSwap: false
459
+ };
460
+ const minValueDifference = step * minStepsBetweenValues;
461
+ switch (behavior) {
462
+ case "swap": {
463
+ const pressedInitialValue = activeValues[pressedIndex];
464
+ const epsilon = 1e-7;
465
+ const candidateValues = activeValues.slice();
466
+ const previousNeighbor = candidateValues[pressedIndex - 1];
467
+ const nextNeighbor = candidateValues[pressedIndex + 1];
468
+ const constrainedValue = clamp(nextValue, previousNeighbor != null ? previousNeighbor + minValueDifference : min, nextNeighbor != null ? nextNeighbor - minValueDifference : max);
469
+ const pressedValueAfterClamp = Number(constrainedValue.toFixed(12));
470
+ candidateValues[pressedIndex] = pressedValueAfterClamp;
471
+ const movingForward = nextValue > pressedInitialValue;
472
+ const movingBackward = nextValue < pressedInitialValue;
473
+ const shouldSwapForward = movingForward && nextNeighbor != null && nextValue >= nextNeighbor - epsilon;
474
+ const shouldSwapBackward = movingBackward && previousNeighbor != null && nextValue <= previousNeighbor + epsilon;
475
+ if (!shouldSwapForward && !shouldSwapBackward) return {
476
+ value: candidateValues,
477
+ thumbIndex: pressedIndex,
478
+ didSwap: false
479
+ };
480
+ const targetIndex = shouldSwapForward ? pressedIndex + 1 : pressedIndex - 1;
481
+ const initialValuesForPush = candidateValues.map((_, index) => {
482
+ if (index === pressedIndex) return pressedValueAfterClamp;
483
+ const baseline = baselineValues[index];
484
+ if (baseline != null) return baseline;
485
+ return activeValues[index];
486
+ });
487
+ let nextValueForTarget = nextValue;
488
+ if (shouldSwapForward) nextValueForTarget = Math.max(nextValue, candidateValues[targetIndex]);
489
+ else nextValueForTarget = Math.min(nextValue, candidateValues[targetIndex]);
490
+ const adjustedValues = getPushedThumbValues({
491
+ values: candidateValues,
492
+ index: targetIndex,
493
+ nextValue: nextValueForTarget,
494
+ min,
495
+ max,
496
+ step,
497
+ minStepsBetweenValues,
498
+ initialValues: initialValuesForPush
499
+ });
500
+ const neighborIndex = shouldSwapForward ? targetIndex - 1 : targetIndex + 1;
501
+ if (neighborIndex >= 0 && neighborIndex < adjustedValues.length) {
502
+ const previousValue = adjustedValues[neighborIndex - 1];
503
+ const nextValueAfter = adjustedValues[neighborIndex + 1];
504
+ let neighborLowerBound = previousValue != null ? previousValue + minValueDifference : min;
505
+ neighborLowerBound = Math.max(neighborLowerBound, min + neighborIndex * minValueDifference);
506
+ let neighborUpperBound = nextValueAfter != null ? nextValueAfter - minValueDifference : max;
507
+ neighborUpperBound = Math.min(neighborUpperBound, max - (adjustedValues.length - 1 - neighborIndex) * minValueDifference);
508
+ const restoredValue = clamp(pressedValueAfterClamp, neighborLowerBound, neighborUpperBound);
509
+ adjustedValues[neighborIndex] = Number(restoredValue.toFixed(12));
510
+ }
511
+ return {
512
+ value: adjustedValues,
513
+ thumbIndex: targetIndex,
514
+ didSwap: true
515
+ };
516
+ }
517
+ case "push": return {
518
+ value: getPushedThumbValues({
519
+ values: activeValues,
520
+ index: pressedIndex,
521
+ nextValue,
522
+ min,
523
+ max,
524
+ step,
525
+ minStepsBetweenValues
526
+ }),
527
+ thumbIndex: pressedIndex,
528
+ didSwap: false
529
+ };
530
+ default: {
531
+ const candidateValues = activeValues.slice();
532
+ const previousNeighbor = candidateValues[pressedIndex - 1];
533
+ const nextNeighbor = candidateValues[pressedIndex + 1];
534
+ const constrainedValue = clamp(nextValue, previousNeighbor != null ? previousNeighbor + minValueDifference : min, nextNeighbor != null ? nextNeighbor - minValueDifference : max);
535
+ candidateValues[pressedIndex] = Number(constrainedValue.toFixed(12));
536
+ return {
537
+ value: candidateValues,
538
+ thumbIndex: pressedIndex,
539
+ didSwap: false
540
+ };
541
+ }
542
+ }
543
+ }
544
+ //#endregion
545
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/control/SliderControl.mjs
546
+ const INTENTIONAL_DRAG_COUNT_THRESHOLD = 2;
547
+ function getControlOffset(styles, vertical) {
548
+ if (!styles) return {
549
+ start: 0,
550
+ end: 0
551
+ };
552
+ function parseSize(value) {
553
+ const parsed = value != null ? parseFloat(value) : 0;
554
+ return Number.isNaN(parsed) ? 0 : parsed;
555
+ }
556
+ const start = !vertical ? "InlineStart" : "Top";
557
+ const end = !vertical ? "InlineEnd" : "Bottom";
558
+ return {
559
+ start: parseSize(styles[`border${start}Width`]) + parseSize(styles[`padding${start}`]),
560
+ end: parseSize(styles[`border${end}Width`]) + parseSize(styles[`padding${end}`])
561
+ };
562
+ }
563
+ function getFingerCoords(event, touchIdRef) {
564
+ if (touchIdRef.current != null && event.changedTouches) {
565
+ const touchEvent = event;
566
+ for (let i = 0; i < touchEvent.changedTouches.length; i += 1) {
567
+ const touch = touchEvent.changedTouches[i];
568
+ if (touch.identifier === touchIdRef.current) return {
569
+ x: touch.clientX,
570
+ y: touch.clientY
571
+ };
572
+ }
573
+ return null;
574
+ }
575
+ return {
576
+ x: event.clientX,
577
+ y: event.clientY
578
+ };
579
+ }
580
+ /**
581
+ * The clickable, interactive part of the slider.
582
+ * Renders a `<div>` element.
583
+ *
584
+ * Documentation: [Base UI Slider](https://base-ui.com/react/components/slider)
585
+ */
586
+ const SliderControl = /*#__PURE__*/ React$1.forwardRef(function SliderControl(componentProps, forwardedRef) {
587
+ const { render: renderProp, className, style, ...elementProps } = componentProps;
588
+ const { disabled, dragging, inset, lastChangeReasonRef, max, min, minStepsBetweenValues, onValueCommitted, orientation, pressedInputRef, pressedThumbCenterOffsetRef, pressedThumbIndexRef, pressedValuesRef, registerFieldControlRef, renderBeforeHydration, setActive, setDragging, setValue, state, step, thumbCollisionBehavior, thumbRefs, values } = useSliderRootContext();
589
+ const direction = useDirection();
590
+ const range = values.length > 1;
591
+ const vertical = orientation === "vertical";
592
+ const controlRef = React$1.useRef(null);
593
+ const stylesRef = React$1.useRef(null);
594
+ const setStylesRef = useStableCallback((element) => {
595
+ if (element && stylesRef.current == null) stylesRef.current = getWindow(element).getComputedStyle(element);
596
+ });
597
+ const touchIdRef = React$1.useRef(null);
598
+ const moveCountRef = React$1.useRef(0);
599
+ const insetThumbOffsetRef = React$1.useRef(0);
600
+ const currentInteractionValueRef = React$1.useRef(null);
601
+ const latestValuesRef = useValueAsRef(values);
602
+ function updatePressedThumb(nextIndex) {
603
+ if (pressedThumbIndexRef.current !== nextIndex) pressedThumbIndexRef.current = nextIndex;
604
+ const thumbElement = thumbRefs.current[nextIndex];
605
+ if (!thumbElement) {
606
+ pressedThumbCenterOffsetRef.current = null;
607
+ pressedInputRef.current = null;
608
+ return;
609
+ }
610
+ pressedInputRef.current = thumbElement.querySelector("input[type=\"range\"]");
611
+ }
612
+ function resetPressedThumb() {
613
+ pressedThumbIndexRef.current = -1;
614
+ pressedThumbCenterOffsetRef.current = null;
615
+ pressedInputRef.current = null;
616
+ }
617
+ function isTargetDisabledThumb(target) {
618
+ if (!isElement(target)) return false;
619
+ return thumbRefs.current.some((thumbEl) => {
620
+ if (!isElement(thumbEl) || !contains(thumbEl, target)) return false;
621
+ return thumbEl.querySelector("input[type=\"range\"]")?.disabled === true;
622
+ });
623
+ }
624
+ function getFingerState(fingerCoords) {
625
+ const control = controlRef.current;
626
+ const thumbIndex = pressedThumbIndexRef.current;
627
+ if (!control || !range && (thumbIndex < 0 || thumbIndex >= values.length)) return null;
628
+ const { width, height, bottom, left, right } = control.getBoundingClientRect();
629
+ const controlOffset = getControlOffset(stylesRef.current, vertical);
630
+ const insetThumbOffset = insetThumbOffsetRef.current;
631
+ const controlSize = (vertical ? height : width) - controlOffset.start - controlOffset.end - insetThumbOffset * 2;
632
+ const thumbCenterOffset = pressedThumbCenterOffsetRef.current ?? 0;
633
+ const fingerX = fingerCoords.x - thumbCenterOffset;
634
+ const fingerY = fingerCoords.y - thumbCenterOffset;
635
+ const valueRescaled = clamp(((vertical ? bottom - fingerY - controlOffset.end : (direction === "rtl" ? right - fingerX : fingerX - left) - controlOffset.start) - insetThumbOffset) / controlSize, 0, 1);
636
+ let newValue = (max - min) * valueRescaled + min;
637
+ newValue = roundValueToStep(newValue, step, min);
638
+ newValue = clamp(newValue, min, max);
639
+ if (!range) return {
640
+ value: newValue,
641
+ thumbIndex,
642
+ didSwap: false
643
+ };
644
+ if (thumbIndex < 0) return null;
645
+ return resolveThumbCollision({
646
+ behavior: thumbCollisionBehavior,
647
+ values,
648
+ currentValues: latestValuesRef.current ?? values,
649
+ initialValues: pressedValuesRef.current,
650
+ pressedIndex: thumbIndex,
651
+ nextValue: newValue,
652
+ min,
653
+ max,
654
+ step,
655
+ minStepsBetweenValues
656
+ });
657
+ }
658
+ function startPressing(fingerCoords) {
659
+ pressedValuesRef.current = range ? values.slice() : null;
660
+ currentInteractionValueRef.current = null;
661
+ latestValuesRef.current = values;
662
+ const pressedThumbIndex = pressedThumbIndexRef.current;
663
+ let closestThumbIndex = pressedThumbIndex;
664
+ if (pressedThumbIndex > -1 && pressedThumbIndex < values.length) {
665
+ if (values[pressedThumbIndex] === max) {
666
+ let candidateIndex = pressedThumbIndex;
667
+ while (candidateIndex > 0 && values[candidateIndex - 1] === max) candidateIndex -= 1;
668
+ closestThumbIndex = candidateIndex;
669
+ }
670
+ } else {
671
+ const axis = !vertical ? "x" : "y";
672
+ let minDistance;
673
+ closestThumbIndex = -1;
674
+ for (let i = 0; i < thumbRefs.current.length; i += 1) {
675
+ const thumbEl = thumbRefs.current[i];
676
+ if (isElement(thumbEl) && !thumbEl.querySelector("input[type=\"range\"]")?.disabled) {
677
+ const midpoint = getMidpoint(thumbEl);
678
+ const distance = Math.abs(fingerCoords[axis] - midpoint[axis]);
679
+ if (minDistance === void 0 || distance <= minDistance) {
680
+ closestThumbIndex = i;
681
+ minDistance = distance;
682
+ }
683
+ }
684
+ }
685
+ }
686
+ if (closestThumbIndex > -1 && closestThumbIndex !== pressedThumbIndex) updatePressedThumb(closestThumbIndex);
687
+ if (inset) {
688
+ const thumbEl = thumbRefs.current[closestThumbIndex];
689
+ if (isElement(thumbEl)) {
690
+ const thumbRect = thumbEl.getBoundingClientRect();
691
+ insetThumbOffsetRef.current = thumbRect[!vertical ? "width" : "height"] / 2;
692
+ }
693
+ }
694
+ }
695
+ function focusThumb(thumbIndex) {
696
+ const input = thumbRefs.current?.[thumbIndex]?.querySelector("input[type=\"range\"]");
697
+ if (!input) return;
698
+ input.focus({
699
+ preventScroll: true,
700
+ focusVisible: false
701
+ });
702
+ }
703
+ function setValueFromPointer(finger, reason, nativeEvent) {
704
+ const applied = setValue(finger.value, createChangeEventDetails(reason, nativeEvent, void 0, { activeThumbIndex: finger.thumbIndex }));
705
+ if (applied) {
706
+ currentInteractionValueRef.current = finger.value;
707
+ latestValuesRef.current = Array.isArray(finger.value) ? finger.value : [finger.value];
708
+ if (finger.didSwap) updatePressedThumb(finger.thumbIndex);
709
+ }
710
+ return applied;
711
+ }
712
+ const handleTouchMove = useStableCallback((nativeEvent) => {
713
+ const fingerCoords = getFingerCoords(nativeEvent, touchIdRef);
714
+ if (fingerCoords == null) return;
715
+ moveCountRef.current += 1;
716
+ if (nativeEvent.type === "pointermove" && nativeEvent.buttons === 0) {
717
+ handleTouchEnd(nativeEvent);
718
+ return;
719
+ }
720
+ const finger = getFingerState(fingerCoords);
721
+ if (finger == null) return;
722
+ if (validateMinimumDistance(finger.value, step, minStepsBetweenValues)) {
723
+ if (!dragging && moveCountRef.current > INTENTIONAL_DRAG_COUNT_THRESHOLD) setDragging(true);
724
+ if (setValueFromPointer(finger, "drag", nativeEvent) && finger.didSwap) focusThumb(finger.thumbIndex);
725
+ }
726
+ });
727
+ const handleTouchEnd = useStableCallback((nativeEvent) => {
728
+ setActive(-1);
729
+ setDragging(false);
730
+ pressedInputRef.current = null;
731
+ pressedThumbCenterOffsetRef.current = null;
732
+ if (currentInteractionValueRef.current != null) {
733
+ const commitReason = lastChangeReasonRef.current;
734
+ onValueCommitted(currentInteractionValueRef.current, createGenericEventDetails(commitReason, nativeEvent));
735
+ }
736
+ if ("pointerType" in nativeEvent && controlRef.current?.hasPointerCapture(nativeEvent.pointerId)) controlRef.current?.releasePointerCapture(nativeEvent.pointerId);
737
+ pressedThumbIndexRef.current = -1;
738
+ touchIdRef.current = null;
739
+ pressedValuesRef.current = null;
740
+ currentInteractionValueRef.current = null;
741
+ stopListening();
742
+ });
743
+ const handleTouchStart = useStableCallback((nativeEvent) => {
744
+ if (disabled) return;
745
+ if (isTargetDisabledThumb(getTarget(nativeEvent))) {
746
+ resetPressedThumb();
747
+ return;
748
+ }
749
+ const touch = nativeEvent.changedTouches[0];
750
+ if (touch != null) touchIdRef.current = touch.identifier;
751
+ const fingerCoords = getFingerCoords(nativeEvent, touchIdRef);
752
+ if (fingerCoords != null) {
753
+ startPressing(fingerCoords);
754
+ const finger = getFingerState(fingerCoords);
755
+ if (finger == null) return;
756
+ focusThumb(finger.thumbIndex);
757
+ if (setValueFromPointer(finger, "track-press", nativeEvent) && finger.didSwap) focusThumb(finger.thumbIndex);
758
+ }
759
+ moveCountRef.current = 0;
760
+ const doc = ownerDocument(controlRef.current);
761
+ doc.addEventListener("touchmove", handleTouchMove, { passive: true });
762
+ doc.addEventListener("touchend", handleTouchEnd, { passive: true });
763
+ });
764
+ const stopListening = useStableCallback(() => {
765
+ const doc = ownerDocument(controlRef.current);
766
+ doc.removeEventListener("pointermove", handleTouchMove);
767
+ doc.removeEventListener("pointerup", handleTouchEnd);
768
+ doc.removeEventListener("touchmove", handleTouchMove);
769
+ doc.removeEventListener("touchend", handleTouchEnd);
770
+ pressedValuesRef.current = null;
771
+ currentInteractionValueRef.current = null;
772
+ });
773
+ const focusFrame = useAnimationFrame();
774
+ React$1.useEffect(() => {
775
+ const control = controlRef.current;
776
+ if (!control) return () => stopListening();
777
+ const unsubscribeTouchStart = addEventListener(control, "touchstart", handleTouchStart, { passive: true });
778
+ return () => {
779
+ unsubscribeTouchStart();
780
+ focusFrame.cancel();
781
+ stopListening();
782
+ };
783
+ }, [
784
+ stopListening,
785
+ handleTouchStart,
786
+ controlRef,
787
+ focusFrame
788
+ ]);
789
+ React$1.useEffect(() => {
790
+ if (disabled) stopListening();
791
+ }, [disabled, stopListening]);
792
+ return useRenderElement("div", componentProps, {
793
+ state,
794
+ ref: [
795
+ forwardedRef,
796
+ registerFieldControlRef,
797
+ controlRef,
798
+ setStylesRef
799
+ ],
800
+ props: [{
801
+ ["data-base-ui-slider-control"]: renderBeforeHydration ? "" : void 0,
802
+ onPointerDown(event) {
803
+ const control = controlRef.current;
804
+ const target = getTarget(event.nativeEvent);
805
+ if (!control || disabled || event.defaultPrevented || !isElement(target) || event.button !== 0) return;
806
+ if (isTargetDisabledThumb(target)) {
807
+ resetPressedThumb();
808
+ return;
809
+ }
810
+ const fingerCoords = getFingerCoords(event, touchIdRef);
811
+ if (fingerCoords != null) {
812
+ startPressing(fingerCoords);
813
+ const finger = getFingerState(fingerCoords);
814
+ if (finger == null) return;
815
+ if (contains(thumbRefs.current[finger.thumbIndex], activeElement(ownerDocument(control)))) event.preventDefault();
816
+ else focusFrame.request(() => {
817
+ focusThumb(finger.thumbIndex);
818
+ });
819
+ setDragging(true);
820
+ if (!(pressedThumbCenterOffsetRef.current != null)) {
821
+ if (setValueFromPointer(finger, "track-press", event.nativeEvent) && finger.didSwap) focusThumb(finger.thumbIndex);
822
+ }
823
+ }
824
+ if (event.nativeEvent.pointerId) control.setPointerCapture(event.nativeEvent.pointerId);
825
+ moveCountRef.current = 0;
826
+ const doc = ownerDocument(controlRef.current);
827
+ doc.addEventListener("pointermove", handleTouchMove, { passive: true });
828
+ doc.addEventListener("pointerup", handleTouchEnd, { once: true });
829
+ }
830
+ }, elementProps],
831
+ stateAttributesMapping: sliderStateAttributesMapping
832
+ });
833
+ });
834
+ SliderControl.displayName = "SliderControl";
835
+ //#endregion
836
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/track/SliderTrack.mjs
837
+ /**
838
+ * Contains the slider indicator and represents the entire range of the slider.
839
+ * Renders a `<div>` element.
840
+ *
841
+ * Documentation: [Base UI Slider](https://base-ui.com/react/components/slider)
842
+ */
843
+ const SliderTrack = /*#__PURE__*/ React$1.forwardRef(function SliderTrack(componentProps, forwardedRef) {
844
+ const { render, className, style, ...elementProps } = componentProps;
845
+ const { state } = useSliderRootContext();
846
+ return useRenderElement("div", componentProps, {
847
+ state,
848
+ ref: forwardedRef,
849
+ props: [{ style: { position: "relative" } }, elementProps],
850
+ stateAttributesMapping: sliderStateAttributesMapping
851
+ });
852
+ });
853
+ SliderTrack.displayName = "SliderTrack";
854
+ //#endregion
855
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/thumb/SliderThumbDataAttributes.mjs
856
+ let SliderThumbDataAttributes = /*#__PURE__*/ function(SliderThumbDataAttributes) {
857
+ /**
858
+ * Indicates the index of the thumb in range sliders.
859
+ */
860
+ SliderThumbDataAttributes["index"] = "data-index";
861
+ /**
862
+ * Present while the user is dragging.
863
+ */
864
+ SliderThumbDataAttributes["dragging"] = "data-dragging";
865
+ /**
866
+ * Indicates the orientation of the slider.
867
+ * @type {'horizontal' | 'vertical'}
868
+ */
869
+ SliderThumbDataAttributes["orientation"] = "data-orientation";
870
+ /**
871
+ * Present when the slider is disabled.
872
+ */
873
+ SliderThumbDataAttributes["disabled"] = "data-disabled";
874
+ /**
875
+ * Present when the slider is in a valid state (when wrapped in Field.Root).
876
+ */
877
+ SliderThumbDataAttributes["valid"] = "data-valid";
878
+ /**
879
+ * Present when the slider is in an invalid state (when wrapped in Field.Root).
880
+ */
881
+ SliderThumbDataAttributes["invalid"] = "data-invalid";
882
+ /**
883
+ * Present when the slider has been touched (when wrapped in Field.Root).
884
+ */
885
+ SliderThumbDataAttributes["touched"] = "data-touched";
886
+ /**
887
+ * Present when the slider's value has changed (when wrapped in Field.Root).
888
+ */
889
+ SliderThumbDataAttributes["dirty"] = "data-dirty";
890
+ /**
891
+ * Present when the slider is focused (when wrapped in Field.Root).
892
+ */
893
+ SliderThumbDataAttributes["focused"] = "data-focused";
894
+ return SliderThumbDataAttributes;
895
+ }({});
896
+ //#endregion
897
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/thumb/SliderThumb.mjs
898
+ const ALL_KEYS = /* @__PURE__ */ new Set([
899
+ ...COMPOSITE_KEYS,
900
+ PAGE_UP,
901
+ PAGE_DOWN
902
+ ]);
903
+ function getDefaultAriaValueText(values, index, format, locale) {
904
+ if (index < 0) return;
905
+ if (values.length === 2) {
906
+ if (index === 0) return `${formatNumber(values[index], locale, format)} start range`;
907
+ return `${formatNumber(values[index], locale, format)} end range`;
908
+ }
909
+ return format ? formatNumber(values[index], locale, format) : void 0;
910
+ }
911
+ function getNewValue(thumbValue, increment, direction, min, max) {
912
+ const value = direction === 1 ? thumbValue + increment : thumbValue - increment;
913
+ return clamp(Number(value.toFixed(Math.max(getDecimalPrecision(thumbValue), getDecimalPrecision(increment), getDecimalPrecision(min)))), min, max);
914
+ }
915
+ /**
916
+ * The draggable part of the slider at the tip of the indicator.
917
+ * Renders a `<div>` element and a nested `<input type="range">`.
918
+ *
919
+ * Documentation: [Base UI Slider](https://base-ui.com/react/components/slider)
920
+ */
921
+ const SliderThumb = /*#__PURE__*/ React$1.forwardRef(function SliderThumb(componentProps, forwardedRef) {
922
+ const { render, children: childrenProp, className, "aria-describedby": ariaDescribedByProp, "aria-label": ariaLabelProp, "aria-labelledby": ariaLabelledByProp, "aria-valuetext": ariaValueTextProp, disabled: disabledProp = false, getAriaLabel: getAriaLabelProp, getAriaValueText: getAriaValueTextProp, id: idProp, index: indexProp, inputRef: inputRefProp, onBlur: onBlurProp, onFocus: onFocusProp, onKeyDown: onKeyDownProp, tabIndex: tabIndexProp, style, ...elementProps } = componentProps;
923
+ const { nonce } = useCSPContext();
924
+ const id = useBaseUiId(idProp);
925
+ const { active: activeIndex, lastUsedThumbIndex, controlRef, disabled: contextDisabled, validation, formatOptionsRef, handleInputChange, inset, labelId, largeStep, locale, max, min, minStepsBetweenValues, form, name, orientation, pressedInputRef, pressedThumbCenterOffsetRef, pressedThumbIndexRef, renderBeforeHydration, setActive, setIndicatorPosition, state, step, values: sliderValues } = useSliderRootContext();
926
+ const direction = useDirection();
927
+ const disabled = disabledProp || contextDisabled;
928
+ const range = sliderValues.length > 1;
929
+ const vertical = orientation === "vertical";
930
+ const rtl = direction === "rtl";
931
+ const { setTouched, setFocused, validationMode } = useFieldRootContext();
932
+ const thumbRef = React$1.useRef(null);
933
+ const inputRef = React$1.useRef(null);
934
+ const restoringFocusVisibleRef = React$1.useRef(false);
935
+ const defaultInputId = useBaseUiId();
936
+ const labelableId = useLabelableId();
937
+ const inputId = range ? defaultInputId : labelableId;
938
+ const { ref: listItemRef, index: compositeIndex } = useCompositeListItem({ metadata: React$1.useMemo(() => ({ inputId }), [inputId]) });
939
+ const index = !range ? 0 : indexProp ?? compositeIndex;
940
+ const last = index === sliderValues.length - 1;
941
+ const thumbValue = sliderValues[index];
942
+ const thumbValuePercent = valueToPercent(thumbValue, min, max);
943
+ const [positionPercent, setPositionPercent] = React$1.useState();
944
+ const isHydrating = useIsHydrating();
945
+ const safeLastUsedThumbIndex = lastUsedThumbIndex >= 0 && lastUsedThumbIndex < sliderValues.length ? lastUsedThumbIndex : -1;
946
+ const getInsetPosition = useStableCallback(() => {
947
+ const control = controlRef.current;
948
+ const thumb = thumbRef.current;
949
+ if (!control || !thumb) return;
950
+ const thumbRect = thumb.getBoundingClientRect();
951
+ const controlRect = control.getBoundingClientRect();
952
+ const side = vertical ? "height" : "width";
953
+ const controlSize = controlRect[side] - thumbRect[side];
954
+ const nextPositionPercent = (thumbRect[side] / 2 + controlSize * thumbValuePercent / 100) / controlRect[side] * 100;
955
+ const nextInsetPosition = Number.isFinite(nextPositionPercent) ? nextPositionPercent : void 0;
956
+ setPositionPercent(nextInsetPosition);
957
+ if (index === 0) setIndicatorPosition((prevPosition) => [nextInsetPosition, prevPosition[1]]);
958
+ else if (last) setIndicatorPosition((prevPosition) => [prevPosition[0], nextInsetPosition]);
959
+ });
960
+ useIsoLayoutEffect(() => {
961
+ if (inset) queueMicrotask(getInsetPosition);
962
+ }, [getInsetPosition, inset]);
963
+ useIsoLayoutEffect(() => {
964
+ if (inset) getInsetPosition();
965
+ }, [
966
+ getInsetPosition,
967
+ inset,
968
+ thumbValuePercent
969
+ ]);
970
+ useIsoLayoutEffect(() => {
971
+ if (!inset) return;
972
+ const control = controlRef.current;
973
+ const thumb = thumbRef.current;
974
+ if (!control || !thumb) return;
975
+ const ResizeObserverCtor = getWindow(control).ResizeObserver;
976
+ if (typeof ResizeObserverCtor !== "function") return;
977
+ const resizeObserver = new ResizeObserverCtor(getInsetPosition);
978
+ resizeObserver.observe(control);
979
+ resizeObserver.observe(thumb);
980
+ return () => {
981
+ resizeObserver.disconnect();
982
+ };
983
+ }, [
984
+ controlRef,
985
+ getInsetPosition,
986
+ inset
987
+ ]);
988
+ const startEdge = vertical ? "bottom" : "insetInlineStart";
989
+ const crossOffsetProperty = vertical ? "left" : "top";
990
+ let zIndex;
991
+ if (range) {
992
+ if (activeIndex === index) zIndex = 2;
993
+ else if (safeLastUsedThumbIndex === index) zIndex = 1;
994
+ } else if (activeIndex === index) zIndex = 1;
995
+ let thumbStyle;
996
+ if (inset) thumbStyle = {
997
+ ["--position"]: `${positionPercent ?? 0}%`,
998
+ visibility: renderBeforeHydration && isHydrating || positionPercent === void 0 ? "hidden" : void 0,
999
+ position: "absolute",
1000
+ [startEdge]: "var(--position)",
1001
+ [crossOffsetProperty]: "50%",
1002
+ translate: `${(vertical || !rtl ? -1 : 1) * 50}% ${(vertical ? 1 : -1) * 50}%`,
1003
+ zIndex
1004
+ };
1005
+ else thumbStyle = !Number.isFinite(thumbValuePercent) ? visuallyHidden : {
1006
+ position: "absolute",
1007
+ [startEdge]: `${thumbValuePercent}%`,
1008
+ [crossOffsetProperty]: "50%",
1009
+ translate: `${(vertical || !rtl ? -1 : 1) * 50}% ${(vertical ? 1 : -1) * 50}%`,
1010
+ zIndex
1011
+ };
1012
+ let cssWritingMode;
1013
+ if (orientation === "vertical") cssWritingMode = rtl ? "vertical-rl" : "vertical-lr";
1014
+ const ariaLabel = typeof getAriaLabelProp === "function" ? getAriaLabelProp(index) : ariaLabelProp;
1015
+ const inputProps = mergeProps({
1016
+ "aria-label": ariaLabel,
1017
+ "aria-labelledby": ariaLabelledByProp ?? (ariaLabel == null ? labelId : void 0),
1018
+ "aria-describedby": ariaDescribedByProp,
1019
+ "aria-orientation": orientation,
1020
+ "aria-valuenow": thumbValue,
1021
+ "aria-valuetext": typeof getAriaValueTextProp === "function" ? getAriaValueTextProp(formatNumber(thumbValue, locale, formatOptionsRef.current ?? void 0), thumbValue, index) : ariaValueTextProp ?? getDefaultAriaValueText(sliderValues, index, formatOptionsRef.current ?? void 0, locale),
1022
+ disabled,
1023
+ form,
1024
+ id: inputId,
1025
+ max,
1026
+ min,
1027
+ name,
1028
+ onChange(event) {
1029
+ handleInputChange(event.currentTarget.valueAsNumber, index, event);
1030
+ },
1031
+ onFocus(event) {
1032
+ const isRestoringFocusVisible = restoringFocusVisibleRef.current;
1033
+ restoringFocusVisibleRef.current = false;
1034
+ setActive(index);
1035
+ setFocused(true);
1036
+ if (isRestoringFocusVisible) event.stopPropagation();
1037
+ },
1038
+ onBlur(event) {
1039
+ if (restoringFocusVisibleRef.current) {
1040
+ event.stopPropagation();
1041
+ return;
1042
+ }
1043
+ if (!thumbRef.current) return;
1044
+ setActive(-1);
1045
+ setTouched(true);
1046
+ setFocused(false);
1047
+ if (validationMode === "onBlur") validation.commit(getSliderValue(thumbValue, index, min, max, range, sliderValues));
1048
+ },
1049
+ onKeyDown(event) {
1050
+ if (event.defaultPrevented) return;
1051
+ if (!ALL_KEYS.has(event.key)) return;
1052
+ if (COMPOSITE_KEYS.has(event.key)) event.stopPropagation();
1053
+ let newValue = null;
1054
+ const roundedValue = roundValueToStep(thumbValue, step, min);
1055
+ switch (event.key) {
1056
+ case ARROW_UP:
1057
+ newValue = getNewValue(roundedValue, event.shiftKey ? largeStep : step, 1, min, max);
1058
+ break;
1059
+ case ARROW_RIGHT:
1060
+ newValue = getNewValue(roundedValue, event.shiftKey ? largeStep : step, rtl ? -1 : 1, min, max);
1061
+ break;
1062
+ case ARROW_DOWN:
1063
+ newValue = getNewValue(roundedValue, event.shiftKey ? largeStep : step, -1, min, max);
1064
+ break;
1065
+ case ARROW_LEFT:
1066
+ newValue = getNewValue(roundedValue, event.shiftKey ? largeStep : step, rtl ? 1 : -1, min, max);
1067
+ break;
1068
+ case PAGE_UP:
1069
+ newValue = getNewValue(roundedValue, largeStep, 1, min, max);
1070
+ break;
1071
+ case PAGE_DOWN:
1072
+ newValue = getNewValue(roundedValue, largeStep, -1, min, max);
1073
+ break;
1074
+ case "End":
1075
+ newValue = max;
1076
+ if (range) newValue = Number.isFinite(sliderValues[index + 1]) ? sliderValues[index + 1] - step * minStepsBetweenValues : max;
1077
+ break;
1078
+ case HOME:
1079
+ newValue = min;
1080
+ if (range) newValue = Number.isFinite(sliderValues[index - 1]) ? sliderValues[index - 1] + step * minStepsBetweenValues : min;
1081
+ break;
1082
+ default: break;
1083
+ }
1084
+ if (newValue !== null) {
1085
+ const input = event.currentTarget;
1086
+ if (!matchesFocusVisible(input)) {
1087
+ restoringFocusVisibleRef.current = true;
1088
+ input.blur();
1089
+ input.focus({
1090
+ preventScroll: true,
1091
+ focusVisible: true
1092
+ });
1093
+ }
1094
+ handleInputChange(newValue, index, event);
1095
+ event.preventDefault();
1096
+ }
1097
+ },
1098
+ step,
1099
+ style: {
1100
+ ...visuallyHidden,
1101
+ width: "100%",
1102
+ height: "100%",
1103
+ writingMode: cssWritingMode
1104
+ },
1105
+ tabIndex: tabIndexProp ?? void 0,
1106
+ type: "range",
1107
+ value: thumbValue ?? ""
1108
+ }, (props) => validation.getValidationProps(disabled, props), { onKeyDown: onKeyDownProp });
1109
+ const mergedInputRef = useMergedRefs(inputRef, validation.inputRef, inputRefProp);
1110
+ return useRenderElement("div", componentProps, {
1111
+ state,
1112
+ ref: [
1113
+ forwardedRef,
1114
+ listItemRef,
1115
+ thumbRef
1116
+ ],
1117
+ props: [{
1118
+ [SliderThumbDataAttributes.index]: index,
1119
+ children: /*#__PURE__*/ jsxs(React$1.Fragment, { children: [
1120
+ childrenProp,
1121
+ /*#__PURE__*/ jsx("input", {
1122
+ ref: mergedInputRef,
1123
+ ...inputProps,
1124
+ suppressHydrationWarning: true
1125
+ }),
1126
+ inset && isHydrating && renderBeforeHydration && last && /*#__PURE__*/ jsx("script", {
1127
+ nonce,
1128
+ dangerouslySetInnerHTML: { __html: "!function(){const t=document.currentScript?.parentElement;if(!t)return;const e=t.closest(\"[data-base-ui-slider-control]\");if(!e)return;const r=e.querySelector(\"[data-base-ui-slider-indicator]\"),i=e.getBoundingClientRect(),n=\"vertical\"===e.getAttribute(\"data-orientation\")?\"height\":\"width\",o=e.querySelectorAll('input[type=\"range\"]'),l=o.length>1,s=o.length-1;let a=null,u=null;for(let t=0;t<o.length;t+=1){const e=o[t],y=parseFloat(e.getAttribute(\"value\")??\"\");if(Number.isNaN(y))return;const c=e.parentElement;if(!c)return;const p=parseFloat(e.getAttribute(\"max\")??\"100\"),g=parseFloat(e.getAttribute(\"min\")??\"0\"),b=c?.getBoundingClientRect(),d=i[n]-b[n],m=100*(y-g)/(p-g),v=(b[n]/2+d*m/100)/i[n]*100;c.style.setProperty(\"--position\",`${v}%`),Number.isFinite(v)&&(c.style.removeProperty(\"visibility\"),r&&(0===t?(a=v,r.style.setProperty(\"--start-position\",`${v}%`),l||r.style.removeProperty(\"visibility\")):t===s&&(u=v-(a??0),r.style.setProperty(\"--end-position\",`${v}%`),r.style.setProperty(\"--relative-size\",`${u}%`),r.style.removeProperty(\"visibility\"))))}}();" },
1129
+ suppressHydrationWarning: true
1130
+ })
1131
+ ] }),
1132
+ id,
1133
+ onBlur: onBlurProp,
1134
+ onFocus: onFocusProp,
1135
+ onPointerDown(event) {
1136
+ if (disabled) return;
1137
+ pressedThumbIndexRef.current = index;
1138
+ if (thumbRef.current != null) {
1139
+ const axis = orientation === "horizontal" ? "x" : "y";
1140
+ const midpoint = getMidpoint(thumbRef.current);
1141
+ const offset = (orientation === "horizontal" ? event.clientX : event.clientY) - midpoint[axis];
1142
+ pressedThumbCenterOffsetRef.current = offset;
1143
+ }
1144
+ if (inputRef.current != null && pressedInputRef.current !== inputRef.current) pressedInputRef.current = inputRef.current;
1145
+ },
1146
+ style: thumbStyle,
1147
+ suppressHydrationWarning: renderBeforeHydration || void 0
1148
+ }, elementProps],
1149
+ stateAttributesMapping: sliderStateAttributesMapping
1150
+ });
1151
+ });
1152
+ SliderThumb.displayName = "SliderThumb";
1153
+ //#endregion
1154
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/indicator/SliderIndicator.mjs
1155
+ function getInsetStyles(vertical, range, start, end, renderBeforeHydration, hydrating) {
1156
+ const visibility = start === void 0 || range && end === void 0 ? "hidden" : void 0;
1157
+ const startEdge = vertical ? "bottom" : "insetInlineStart";
1158
+ const mainSide = vertical ? "height" : "width";
1159
+ const styles = {
1160
+ visibility: renderBeforeHydration && hydrating ? "hidden" : visibility,
1161
+ position: vertical ? "absolute" : "relative",
1162
+ [vertical ? "width" : "height"]: "inherit"
1163
+ };
1164
+ styles["--start-position"] = `${start ?? 0}%`;
1165
+ if (!range) {
1166
+ styles[startEdge] = 0;
1167
+ styles[mainSide] = "var(--start-position)";
1168
+ return styles;
1169
+ }
1170
+ styles["--relative-size"] = `${(end ?? 0) - (start ?? 0)}%`;
1171
+ styles[startEdge] = "var(--start-position)";
1172
+ styles[mainSide] = "var(--relative-size)";
1173
+ return styles;
1174
+ }
1175
+ function getCenteredStyles(vertical, range, start, end) {
1176
+ const startEdge = vertical ? "bottom" : "insetInlineStart";
1177
+ const mainSide = vertical ? "height" : "width";
1178
+ const styles = {
1179
+ position: vertical ? "absolute" : "relative",
1180
+ [vertical ? "width" : "height"]: "inherit"
1181
+ };
1182
+ if (!range) {
1183
+ styles[startEdge] = 0;
1184
+ styles[mainSide] = `${start}%`;
1185
+ return styles;
1186
+ }
1187
+ const size = end - start;
1188
+ styles[startEdge] = `${start}%`;
1189
+ styles[mainSide] = `${size}%`;
1190
+ return styles;
1191
+ }
1192
+ /**
1193
+ * Visualizes the current value of the slider.
1194
+ * Renders a `<div>` element.
1195
+ *
1196
+ * Documentation: [Base UI Slider](https://base-ui.com/react/components/slider)
1197
+ */
1198
+ const SliderIndicator = /*#__PURE__*/ React$1.forwardRef(function SliderIndicator(componentProps, forwardedRef) {
1199
+ const { render, className, style: styleProp, ...elementProps } = componentProps;
1200
+ const { indicatorPosition, inset, max, min, orientation, renderBeforeHydration, state, values } = useSliderRootContext();
1201
+ const isHydrating = useIsHydrating();
1202
+ const vertical = orientation === "vertical";
1203
+ const range = values.length > 1;
1204
+ const style = inset ? getInsetStyles(vertical, range, indicatorPosition[0], indicatorPosition[1], renderBeforeHydration, isHydrating) : getCenteredStyles(vertical, range, valueToPercent(values[0], min, max), valueToPercent(values[values.length - 1], min, max));
1205
+ return useRenderElement("div", componentProps, {
1206
+ state,
1207
+ ref: forwardedRef,
1208
+ props: [{
1209
+ ["data-base-ui-slider-indicator"]: renderBeforeHydration ? "" : void 0,
1210
+ style,
1211
+ suppressHydrationWarning: renderBeforeHydration || void 0
1212
+ }, elementProps],
1213
+ stateAttributesMapping: sliderStateAttributesMapping
1214
+ });
1215
+ });
1216
+ SliderIndicator.displayName = "SliderIndicator";
1217
+ //#endregion
1218
+ //#region ../../node_modules/.pnpm/@base-ui+react@1.6.0_@date-fns+tz@1.4.1_@types+react@19.2.4_date-fns@4.1.0_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/@base-ui/react/slider/index.parts.mjs
1219
+ var index_parts_exports = /* @__PURE__ */ __exportAll({
1220
+ Control: () => SliderControl,
1221
+ Indicator: () => SliderIndicator,
1222
+ Label: () => SliderLabel,
1223
+ Root: () => SliderRoot,
1224
+ Thumb: () => SliderThumb,
1225
+ Track: () => SliderTrack,
1226
+ Value: () => SliderValue
1227
+ });
1228
+ //#endregion
1229
+ export { index_parts_exports as t };