@manafishrov/ui 1.4.4 → 1.4.6

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 (1025) hide show
  1. package/dist/Locale.js +22 -23
  2. package/dist/Locale.js.map +1 -1
  3. package/dist/Theme.js +52 -56
  4. package/dist/Theme.js.map +1 -1
  5. package/dist/_virtual/~icons/material-symbols/calendar-month.js +10 -0
  6. package/dist/_virtual/~icons/material-symbols/calendar-month.js.map +1 -0
  7. package/dist/_virtual/~icons/material-symbols/check-circle.js +10 -0
  8. package/dist/_virtual/~icons/material-symbols/check-circle.js.map +1 -0
  9. package/dist/_virtual/~icons/material-symbols/check.js +10 -0
  10. package/dist/_virtual/~icons/material-symbols/check.js.map +1 -0
  11. package/dist/_virtual/~icons/material-symbols/chevron-left.js +10 -0
  12. package/dist/_virtual/~icons/material-symbols/chevron-left.js.map +1 -0
  13. package/dist/_virtual/~icons/material-symbols/chevron-right.js +10 -0
  14. package/dist/_virtual/~icons/material-symbols/chevron-right.js.map +1 -0
  15. package/dist/_virtual/~icons/material-symbols/close.js +10 -0
  16. package/dist/_virtual/~icons/material-symbols/close.js.map +1 -0
  17. package/dist/_virtual/~icons/material-symbols/error.js +10 -0
  18. package/dist/_virtual/~icons/material-symbols/error.js.map +1 -0
  19. package/dist/_virtual/~icons/material-symbols/expand-less.js +10 -0
  20. package/dist/_virtual/~icons/material-symbols/expand-less.js.map +1 -0
  21. package/dist/_virtual/~icons/material-symbols/expand-more.js +10 -0
  22. package/dist/_virtual/~icons/material-symbols/expand-more.js.map +1 -0
  23. package/dist/_virtual/~icons/material-symbols/info.js +10 -0
  24. package/dist/_virtual/~icons/material-symbols/info.js.map +1 -0
  25. package/dist/_virtual/~icons/material-symbols/more-horiz.js +10 -0
  26. package/dist/_virtual/~icons/material-symbols/more-horiz.js.map +1 -0
  27. package/dist/_virtual/~icons/material-symbols/progress-activity.js +10 -0
  28. package/dist/_virtual/~icons/material-symbols/progress-activity.js.map +1 -0
  29. package/dist/_virtual/~icons/material-symbols/search.js +10 -0
  30. package/dist/_virtual/~icons/material-symbols/search.js.map +1 -0
  31. package/dist/_virtual/~icons/material-symbols/side-navigation.js +10 -0
  32. package/dist/_virtual/~icons/material-symbols/side-navigation.js.map +1 -0
  33. package/dist/_virtual/~icons/material-symbols/visibility-off.js +10 -0
  34. package/dist/_virtual/~icons/material-symbols/visibility-off.js.map +1 -0
  35. package/dist/_virtual/~icons/material-symbols/visibility.js +10 -0
  36. package/dist/_virtual/~icons/material-symbols/visibility.js.map +1 -0
  37. package/dist/_virtual/~icons/material-symbols/warning.js +10 -0
  38. package/dist/_virtual/~icons/material-symbols/warning.js.map +1 -0
  39. package/dist/components/Accordion.js +63 -77
  40. package/dist/components/Accordion.js.map +1 -1
  41. package/dist/components/AlertDialog.js +105 -119
  42. package/dist/components/AlertDialog.js.map +1 -1
  43. package/dist/components/AspectRatio.js +21 -23
  44. package/dist/components/AspectRatio.js.map +1 -1
  45. package/dist/components/Avatar.js +59 -70
  46. package/dist/components/Avatar.js.map +1 -1
  47. package/dist/components/Badge.js +30 -37
  48. package/dist/components/Badge.js.map +1 -1
  49. package/dist/components/Breadcrumb.js +73 -91
  50. package/dist/components/Breadcrumb.js.map +1 -1
  51. package/dist/components/Button.js +111 -116
  52. package/dist/components/Button.js.map +1 -1
  53. package/dist/components/Card.js +69 -87
  54. package/dist/components/Card.js.map +1 -1
  55. package/dist/components/Carousel.js +89 -102
  56. package/dist/components/Carousel.js.map +1 -1
  57. package/dist/components/Checkbox.js +40 -52
  58. package/dist/components/Checkbox.js.map +1 -1
  59. package/dist/components/Collapsible.js +33 -34
  60. package/dist/components/Collapsible.js.map +1 -1
  61. package/dist/components/Combobox.js +132 -159
  62. package/dist/components/Combobox.js.map +1 -1
  63. package/dist/components/DatePicker.js +247 -354
  64. package/dist/components/DatePicker.js.map +1 -1
  65. package/dist/components/Dialog.js +83 -102
  66. package/dist/components/Dialog.js.map +1 -1
  67. package/dist/components/Empty.js +71 -91
  68. package/dist/components/Empty.js.map +1 -1
  69. package/dist/components/Field.js +229 -260
  70. package/dist/components/Field.js.map +1 -1
  71. package/dist/components/HoverCard.js +34 -42
  72. package/dist/components/HoverCard.js.map +1 -1
  73. package/dist/components/InputGroup.js +108 -124
  74. package/dist/components/InputGroup.js.map +1 -1
  75. package/dist/components/Item.js +140 -165
  76. package/dist/components/Item.js.map +1 -1
  77. package/dist/components/Kbd.js +24 -29
  78. package/dist/components/Kbd.js.map +1 -1
  79. package/dist/components/Link.js +20 -17
  80. package/dist/components/Link.js.map +1 -1
  81. package/dist/components/Marquee.js +2 -10
  82. package/dist/components/Menu.js +110 -143
  83. package/dist/components/Menu.js.map +1 -1
  84. package/dist/components/MenuCombobox.js +140 -179
  85. package/dist/components/MenuCombobox.js.map +1 -1
  86. package/dist/components/MenuComboboxList.js +139 -149
  87. package/dist/components/MenuComboboxList.js.map +1 -1
  88. package/dist/components/NavigationMenu.js +95 -104
  89. package/dist/components/NavigationMenu.js.map +1 -1
  90. package/dist/components/NumberInput.js +84 -109
  91. package/dist/components/NumberInput.js.map +1 -1
  92. package/dist/components/Pagination.js +113 -121
  93. package/dist/components/Pagination.js.map +1 -1
  94. package/dist/components/PasswordInput.js +54 -71
  95. package/dist/components/PasswordInput.js.map +1 -1
  96. package/dist/components/PinInput.js +48 -67
  97. package/dist/components/PinInput.js.map +1 -1
  98. package/dist/components/Popover.js +58 -75
  99. package/dist/components/Popover.js.map +1 -1
  100. package/dist/components/Progress.js +82 -100
  101. package/dist/components/Progress.js.map +1 -1
  102. package/dist/components/RadioGroup.js +44 -57
  103. package/dist/components/RadioGroup.js.map +1 -1
  104. package/dist/components/ScrollArea.js +49 -53
  105. package/dist/components/ScrollArea.js.map +1 -1
  106. package/dist/components/Select.js +195 -218
  107. package/dist/components/Select.js.map +1 -1
  108. package/dist/components/Separator.js +35 -42
  109. package/dist/components/Separator.js.map +1 -1
  110. package/dist/components/Sheet.js +94 -111
  111. package/dist/components/Sheet.js.map +1 -1
  112. package/dist/components/Skeleton.js +22 -22
  113. package/dist/components/Skeleton.js.map +1 -1
  114. package/dist/components/Slider.js +134 -176
  115. package/dist/components/Slider.js.map +1 -1
  116. package/dist/components/Spinner.js +26 -26
  117. package/dist/components/Spinner.js.map +1 -1
  118. package/dist/components/Splitter.js +34 -38
  119. package/dist/components/Splitter.js.map +1 -1
  120. package/dist/components/Swap.js +25 -26
  121. package/dist/components/Swap.js.map +1 -1
  122. package/dist/components/Switch.js +40 -47
  123. package/dist/components/Switch.js.map +1 -1
  124. package/dist/components/Table.js +72 -95
  125. package/dist/components/Table.js.map +1 -1
  126. package/dist/components/Tabs.js +49 -52
  127. package/dist/components/Tabs.js.map +1 -1
  128. package/dist/components/TagsInput.js +67 -103
  129. package/dist/components/TagsInput.js.map +1 -1
  130. package/dist/components/TextInput.js +39 -63
  131. package/dist/components/TextInput.js.map +1 -1
  132. package/dist/components/Toggle.js +121 -113
  133. package/dist/components/Toggle.js.map +1 -1
  134. package/dist/components/Tooltip.js +34 -42
  135. package/dist/components/Tooltip.js.map +1 -1
  136. package/dist/components/TreeView.js +65 -88
  137. package/dist/components/TreeView.js.map +1 -1
  138. package/dist/components/Typography.js +104 -139
  139. package/dist/components/Typography.js.map +1 -1
  140. package/dist/components/form/AutoSubmit.js +20 -20
  141. package/dist/components/form/AutoSubmit.js.map +1 -1
  142. package/dist/components/form/CheckboxField.js +73 -74
  143. package/dist/components/form/CheckboxField.js.map +1 -1
  144. package/dist/components/form/ComboboxField.js +117 -118
  145. package/dist/components/form/ComboboxField.js.map +1 -1
  146. package/dist/components/form/DatePickerField.js +97 -103
  147. package/dist/components/form/DatePickerField.js.map +1 -1
  148. package/dist/components/form/Form.js +60 -69
  149. package/dist/components/form/Form.js.map +1 -1
  150. package/dist/components/form/NumberInputField.js +135 -117
  151. package/dist/components/form/NumberInputField.js.map +1 -1
  152. package/dist/components/form/PasswordInputField.js +98 -97
  153. package/dist/components/form/PasswordInputField.js.map +1 -1
  154. package/dist/components/form/PinInputField.js +91 -98
  155. package/dist/components/form/PinInputField.js.map +1 -1
  156. package/dist/components/form/RadioGroupField.js +81 -78
  157. package/dist/components/form/RadioGroupField.js.map +1 -1
  158. package/dist/components/form/SelectField.js +107 -112
  159. package/dist/components/form/SelectField.js.map +1 -1
  160. package/dist/components/form/SliderField.js +108 -114
  161. package/dist/components/form/SliderField.js.map +1 -1
  162. package/dist/components/form/SubmitButton.js +30 -26
  163. package/dist/components/form/SubmitButton.js.map +1 -1
  164. package/dist/components/form/SwitchField.js +73 -74
  165. package/dist/components/form/SwitchField.js.map +1 -1
  166. package/dist/components/form/TagsInputField.js +128 -112
  167. package/dist/components/form/TagsInputField.js.map +1 -1
  168. package/dist/components/form/TextInputField.js +68 -66
  169. package/dist/components/form/TextInputField.js.map +1 -1
  170. package/dist/components/form/TextareaField.js +68 -66
  171. package/dist/components/form/TextareaField.js.map +1 -1
  172. package/dist/components/form/WithTrailingAddon.js +17 -17
  173. package/dist/components/form/WithTrailingAddon.js.map +1 -1
  174. package/dist/components/form/context.js +7 -9
  175. package/dist/components/form/context.js.map +1 -1
  176. package/dist/components/form/index.js +19 -45
  177. package/dist/components/marquee/Marquee.js +29 -41
  178. package/dist/components/marquee/Marquee.js.map +1 -1
  179. package/dist/components/marquee/index.js +2 -10
  180. package/dist/components/sidebar/Sidebar.js +38 -42
  181. package/dist/components/sidebar/Sidebar.js.map +1 -1
  182. package/dist/components/sidebar/SidebarDesktop.js +70 -62
  183. package/dist/components/sidebar/SidebarDesktop.js.map +1 -1
  184. package/dist/components/sidebar/SidebarMenu.js +164 -203
  185. package/dist/components/sidebar/SidebarMenu.js.map +1 -1
  186. package/dist/components/sidebar/SidebarMobile.js +56 -63
  187. package/dist/components/sidebar/SidebarMobile.js.map +1 -1
  188. package/dist/components/sidebar/SidebarProvider.js +67 -74
  189. package/dist/components/sidebar/SidebarProvider.js.map +1 -1
  190. package/dist/components/sidebar/SidebarSubComponents.js +155 -188
  191. package/dist/components/sidebar/SidebarSubComponents.js.map +1 -1
  192. package/dist/components/sidebar/constants.js +6 -17
  193. package/dist/components/sidebar/constants.js.map +1 -1
  194. package/dist/components/sidebar/context.js +10 -11
  195. package/dist/components/sidebar/context.js.map +1 -1
  196. package/dist/components/sidebar/index.js +7 -49
  197. package/dist/components/sidebar/utils.js +13 -13
  198. package/dist/components/sidebar/utils.js.map +1 -1
  199. package/dist/components/toaster/Toaster.js +109 -108
  200. package/dist/components/toaster/Toaster.js.map +1 -1
  201. package/dist/components/toaster/index.js +2 -6
  202. package/dist/index.js +15 -40
  203. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/24WXBTEA.js +7 -6
  204. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/24WXBTEA.js.map +1 -1
  205. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/262SJY3P.js +43 -58
  206. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/262SJY3P.js.map +1 -1
  207. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/2JT4XMQZ.js +305 -303
  208. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/2JT4XMQZ.js.map +1 -1
  209. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/3JJJT3ZB.js +102 -90
  210. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/3JJJT3ZB.js.map +1 -1
  211. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/4CRPJKY4.js +178 -180
  212. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/4CRPJKY4.js.map +1 -1
  213. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/4OJLSY6B.js +85 -93
  214. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/4OJLSY6B.js.map +1 -1
  215. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/4V5X4XYS.js +304 -352
  216. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/4V5X4XYS.js.map +1 -1
  217. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/4YNGVMW2.js +5 -6
  218. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/4YNGVMW2.js.map +1 -1
  219. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/5BSMJBO7.js +98 -106
  220. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/5BSMJBO7.js.map +1 -1
  221. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/5UOOPLZE.js +88 -103
  222. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/5UOOPLZE.js.map +1 -1
  223. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/64BWQJ5X.js +116 -118
  224. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/64BWQJ5X.js.map +1 -1
  225. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/65QK7XXR.js +99 -96
  226. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/65QK7XXR.js.map +1 -1
  227. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/6P2AQNUE.js +5 -6
  228. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/6P2AQNUE.js.map +1 -1
  229. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/6WEDGJKQ.js +7 -6
  230. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/6WEDGJKQ.js.map +1 -1
  231. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/7IUG3E2V.js +10 -9
  232. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/7IUG3E2V.js.map +1 -1
  233. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/AIK4SKXT.js +125 -134
  234. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/AIK4SKXT.js.map +1 -1
  235. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BB22DOQW.js +113 -111
  236. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BB22DOQW.js.map +1 -1
  237. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BKN7PQAU.js +91 -89
  238. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BKN7PQAU.js.map +1 -1
  239. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BNSRP6TN.js +86 -82
  240. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BNSRP6TN.js.map +1 -1
  241. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BRHQTJMC.js +28 -22
  242. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BRHQTJMC.js.map +1 -1
  243. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BWUVF6ZV.js +80 -95
  244. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BWUVF6ZV.js.map +1 -1
  245. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BYLUEJKC.js +7 -6
  246. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/BYLUEJKC.js.map +1 -1
  247. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/EFII6TXL.js +105 -109
  248. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/EFII6TXL.js.map +1 -1
  249. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/EQKTJ63X.js +6 -5
  250. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/EQKTJ63X.js.map +1 -1
  251. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/GOIBDXMD.js +153 -154
  252. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/GOIBDXMD.js.map +1 -1
  253. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/GVJQBGKQ.js +67 -62
  254. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/GVJQBGKQ.js.map +1 -1
  255. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/H72X6NDR.js +116 -115
  256. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/H72X6NDR.js.map +1 -1
  257. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/HDGILMRT.js +42 -42
  258. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/HDGILMRT.js.map +1 -1
  259. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/HOPBYFHD.js +26 -29
  260. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/HOPBYFHD.js.map +1 -1
  261. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/JBLKWLWL.js +153 -179
  262. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/JBLKWLWL.js.map +1 -1
  263. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/JCNWK3IN.js +7 -6
  264. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/JCNWK3IN.js.map +1 -1
  265. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/KGOB2IMX.js +6 -5
  266. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/KGOB2IMX.js.map +1 -1
  267. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/LXG74MYL.js +22 -21
  268. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/LXG74MYL.js.map +1 -1
  269. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/MB6S2OKT.js +93 -92
  270. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/MB6S2OKT.js.map +1 -1
  271. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/MQWCA23U.js +140 -143
  272. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/MQWCA23U.js.map +1 -1
  273. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/NEU4F4NG.js +39 -34
  274. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/NEU4F4NG.js.map +1 -1
  275. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/NH3KCKN2.js +97 -101
  276. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/NH3KCKN2.js.map +1 -1
  277. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/O6MULJWC.js +122 -138
  278. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/O6MULJWC.js.map +1 -1
  279. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/OEGORBLT.js +32 -30
  280. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/OEGORBLT.js.map +1 -1
  281. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/OWH3LOUE.js +38 -35
  282. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/OWH3LOUE.js.map +1 -1
  283. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/PPH4D7AF.js +198 -218
  284. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/PPH4D7AF.js.map +1 -1
  285. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/PT2CJE3O.js +15 -15
  286. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/PT2CJE3O.js.map +1 -1
  287. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/QM5PBW35.js +118 -117
  288. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/QM5PBW35.js.map +1 -1
  289. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/QY2YSMFW.js +127 -122
  290. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/QY2YSMFW.js.map +1 -1
  291. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/RJHFA54S.js +203 -244
  292. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/RJHFA54S.js.map +1 -1
  293. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/RROG5OYX.js +89 -86
  294. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/RROG5OYX.js.map +1 -1
  295. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/SPOOGCGR.js +96 -95
  296. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/SPOOGCGR.js.map +1 -1
  297. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/TFTY2V3E.js +63 -67
  298. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/TFTY2V3E.js.map +1 -1
  299. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/TGBMUR4Z.js +180 -216
  300. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/TGBMUR4Z.js.map +1 -1
  301. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/TYHUUGLH.js +33 -29
  302. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/TYHUUGLH.js.map +1 -1
  303. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/UFYZ7HLU.js +26 -31
  304. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/UFYZ7HLU.js.map +1 -1
  305. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/UQTBTRSG.js +89 -86
  306. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/UQTBTRSG.js.map +1 -1
  307. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/UZJJWJQM.js +24 -25
  308. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/UZJJWJQM.js.map +1 -1
  309. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/VNMGX67M.js +11 -12
  310. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/VNMGX67M.js.map +1 -1
  311. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/VQPWR4W5.js +7 -6
  312. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/VQPWR4W5.js.map +1 -1
  313. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/WZBYH43M.js +57 -58
  314. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/WZBYH43M.js.map +1 -1
  315. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/XVU3GCCX.js +7 -7
  316. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/XVU3GCCX.js.map +1 -1
  317. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/Z5FQB54Q.js +127 -129
  318. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/Z5FQB54Q.js.map +1 -1
  319. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/ZLZED63N.js +117 -120
  320. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/ZLZED63N.js.map +1 -1
  321. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/ZMQW6EBL.js +254 -275
  322. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/ZMQW6EBL.js.map +1 -1
  323. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/ZW5OSILD.js +107 -108
  324. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/chunk/ZW5OSILD.js.map +1 -1
  325. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/components/navigation-menu/index.js +203 -214
  326. package/dist/node_modules/.bun/@ark-ui_solid@5.34.1_2e1854f049906f04/node_modules/@ark-ui/solid/dist/components/navigation-menu/index.js.map +1 -1
  327. package/dist/node_modules/.bun/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.js +354 -526
  328. package/dist/node_modules/.bun/@floating-ui_core@1.7.5/node_modules/@floating-ui/core/dist/floating-ui.core.js.map +1 -1
  329. package/dist/node_modules/.bun/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +301 -375
  330. package/dist/node_modules/.bun/@floating-ui_dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.js.map +1 -1
  331. package/dist/node_modules/.bun/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +96 -134
  332. package/dist/node_modules/.bun/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js.map +1 -1
  333. package/dist/node_modules/.bun/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +107 -128
  334. package/dist/node_modules/.bun/@floating-ui_utils@0.2.11/node_modules/@floating-ui/utils/dist/floating-ui.utils.js.map +1 -1
  335. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/CalendarDate.js +135 -177
  336. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/CalendarDate.js.map +1 -1
  337. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/DateFormatter.js +81 -95
  338. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/DateFormatter.js.map +1 -1
  339. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/GregorianCalendar.js +88 -100
  340. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/GregorianCalendar.js.map +1 -1
  341. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/conversion.js +94 -123
  342. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/conversion.js.map +1 -1
  343. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/manipulation.js +162 -204
  344. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/manipulation.js.map +1 -1
  345. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/queries.js +121 -229
  346. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/queries.js.map +1 -1
  347. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/string.js +20 -23
  348. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/string.js.map +1 -1
  349. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/utils.js +7 -6
  350. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/utils.js.map +1 -1
  351. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/weekStartData.js +101 -100
  352. package/dist/node_modules/.bun/@internationalized_date@3.11.0/node_modules/@internationalized/date/dist/weekStartData.js.map +1 -1
  353. package/dist/node_modules/.bun/@internationalized_number@3.6.5/node_modules/@internationalized/number/dist/NumberFormatter.js +98 -116
  354. package/dist/node_modules/.bun/@internationalized_number@3.6.5/node_modules/@internationalized/number/dist/NumberFormatter.js.map +1 -1
  355. package/dist/node_modules/.bun/@internationalized_number@3.6.5/node_modules/@internationalized/number/dist/NumberParser.js +118 -152
  356. package/dist/node_modules/.bun/@internationalized_number@3.6.5/node_modules/@internationalized/number/dist/NumberParser.js.map +1 -1
  357. package/dist/node_modules/.bun/@solid-primitives_keyed@1.5.3_2e1854f049906f04/node_modules/@solid-primitives/keyed/dist/index.js +58 -62
  358. package/dist/node_modules/.bun/@solid-primitives_keyed@1.5.3_2e1854f049906f04/node_modules/@solid-primitives/keyed/dist/index.js.map +1 -1
  359. package/dist/node_modules/.bun/@swc_helpers@0.5.19/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +7 -7
  360. package/dist/node_modules/.bun/@swc_helpers@0.5.19/node_modules/@swc/helpers/esm/_check_private_redeclaration.js.map +1 -1
  361. package/dist/node_modules/.bun/@swc_helpers@0.5.19/node_modules/@swc/helpers/esm/_class_private_field_init.js +8 -7
  362. package/dist/node_modules/.bun/@swc_helpers@0.5.19/node_modules/@swc/helpers/esm/_class_private_field_init.js.map +1 -1
  363. package/dist/node_modules/.bun/@zag-js_accordion@1.35.3/node_modules/@zag-js/accordion/dist/accordion.anatomy.js +6 -7
  364. package/dist/node_modules/.bun/@zag-js_accordion@1.35.3/node_modules/@zag-js/accordion/dist/accordion.anatomy.js.map +1 -1
  365. package/dist/node_modules/.bun/@zag-js_accordion@1.35.3/node_modules/@zag-js/accordion/dist/accordion.connect.js +156 -128
  366. package/dist/node_modules/.bun/@zag-js_accordion@1.35.3/node_modules/@zag-js/accordion/dist/accordion.connect.js.map +1 -1
  367. package/dist/node_modules/.bun/@zag-js_accordion@1.35.3/node_modules/@zag-js/accordion/dist/accordion.dom.js +11 -19
  368. package/dist/node_modules/.bun/@zag-js_accordion@1.35.3/node_modules/@zag-js/accordion/dist/accordion.dom.js.map +1 -1
  369. package/dist/node_modules/.bun/@zag-js_accordion@1.35.3/node_modules/@zag-js/accordion/dist/accordion.machine.js +107 -131
  370. package/dist/node_modules/.bun/@zag-js_accordion@1.35.3/node_modules/@zag-js/accordion/dist/accordion.machine.js.map +1 -1
  371. package/dist/node_modules/.bun/@zag-js_anatomy@1.35.3/node_modules/@zag-js/anatomy/dist/create-anatomy.js +22 -27
  372. package/dist/node_modules/.bun/@zag-js_anatomy@1.35.3/node_modules/@zag-js/anatomy/dist/create-anatomy.js.map +1 -1
  373. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.anatomy.js +6 -16
  374. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.anatomy.js.map +1 -1
  375. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.connect.js +178 -161
  376. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.connect.js.map +1 -1
  377. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.dom.js +6 -13
  378. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.dom.js.map +1 -1
  379. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.machine.js +146 -160
  380. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.machine.js.map +1 -1
  381. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.utils.js +25 -35
  382. package/dist/node_modules/.bun/@zag-js_angle-slider@1.35.3/node_modules/@zag-js/angle-slider/dist/angle-slider.utils.js.map +1 -1
  383. package/dist/node_modules/.bun/@zag-js_aria-hidden@1.35.3/node_modules/@zag-js/aria-hidden/dist/aria-hidden.js +14 -14
  384. package/dist/node_modules/.bun/@zag-js_aria-hidden@1.35.3/node_modules/@zag-js/aria-hidden/dist/aria-hidden.js.map +1 -1
  385. package/dist/node_modules/.bun/@zag-js_aria-hidden@1.35.3/node_modules/@zag-js/aria-hidden/dist/index.js +17 -18
  386. package/dist/node_modules/.bun/@zag-js_aria-hidden@1.35.3/node_modules/@zag-js/aria-hidden/dist/index.js.map +1 -1
  387. package/dist/node_modules/.bun/@zag-js_aria-hidden@1.35.3/node_modules/@zag-js/aria-hidden/dist/walk-tree-outside.js +45 -41
  388. package/dist/node_modules/.bun/@zag-js_aria-hidden@1.35.3/node_modules/@zag-js/aria-hidden/dist/walk-tree-outside.js.map +1 -1
  389. package/dist/node_modules/.bun/@zag-js_async-list@1.35.3/node_modules/@zag-js/async-list/dist/async-list.connect.js +45 -35
  390. package/dist/node_modules/.bun/@zag-js_async-list@1.35.3/node_modules/@zag-js/async-list/dist/async-list.connect.js.map +1 -1
  391. package/dist/node_modules/.bun/@zag-js_async-list@1.35.3/node_modules/@zag-js/async-list/dist/async-list.machine.js +245 -227
  392. package/dist/node_modules/.bun/@zag-js_async-list@1.35.3/node_modules/@zag-js/async-list/dist/async-list.machine.js.map +1 -1
  393. package/dist/node_modules/.bun/@zag-js_auto-resize@1.35.3/node_modules/@zag-js/auto-resize/dist/autoresize-input.js +24 -23
  394. package/dist/node_modules/.bun/@zag-js_auto-resize@1.35.3/node_modules/@zag-js/auto-resize/dist/autoresize-input.js.map +1 -1
  395. package/dist/node_modules/.bun/@zag-js_auto-resize@1.35.3/node_modules/@zag-js/auto-resize/dist/autoresize-textarea.js +38 -34
  396. package/dist/node_modules/.bun/@zag-js_auto-resize@1.35.3/node_modules/@zag-js/auto-resize/dist/autoresize-textarea.js.map +1 -1
  397. package/dist/node_modules/.bun/@zag-js_auto-resize@1.35.3/node_modules/@zag-js/auto-resize/dist/visual-style.js +10 -9
  398. package/dist/node_modules/.bun/@zag-js_auto-resize@1.35.3/node_modules/@zag-js/auto-resize/dist/visual-style.js.map +1 -1
  399. package/dist/node_modules/.bun/@zag-js_avatar@1.35.3/node_modules/@zag-js/avatar/dist/avatar.anatomy.js +6 -7
  400. package/dist/node_modules/.bun/@zag-js_avatar@1.35.3/node_modules/@zag-js/avatar/dist/avatar.anatomy.js.map +1 -1
  401. package/dist/node_modules/.bun/@zag-js_avatar@1.35.3/node_modules/@zag-js/avatar/dist/avatar.connect.js +64 -51
  402. package/dist/node_modules/.bun/@zag-js_avatar@1.35.3/node_modules/@zag-js/avatar/dist/avatar.connect.js.map +1 -1
  403. package/dist/node_modules/.bun/@zag-js_avatar@1.35.3/node_modules/@zag-js/avatar/dist/avatar.dom.js +6 -9
  404. package/dist/node_modules/.bun/@zag-js_avatar@1.35.3/node_modules/@zag-js/avatar/dist/avatar.dom.js.map +1 -1
  405. package/dist/node_modules/.bun/@zag-js_avatar@1.35.3/node_modules/@zag-js/avatar/dist/avatar.machine.js +74 -90
  406. package/dist/node_modules/.bun/@zag-js_avatar@1.35.3/node_modules/@zag-js/avatar/dist/avatar.machine.js.map +1 -1
  407. package/dist/node_modules/.bun/@zag-js_carousel@1.35.3/node_modules/@zag-js/carousel/dist/carousel.anatomy.js +7 -18
  408. package/dist/node_modules/.bun/@zag-js_carousel@1.35.3/node_modules/@zag-js/carousel/dist/carousel.anatomy.js.map +1 -1
  409. package/dist/node_modules/.bun/@zag-js_carousel@1.35.3/node_modules/@zag-js/carousel/dist/carousel.connect.js +280 -234
  410. package/dist/node_modules/.bun/@zag-js_carousel@1.35.3/node_modules/@zag-js/carousel/dist/carousel.connect.js.map +1 -1
  411. package/dist/node_modules/.bun/@zag-js_carousel@1.35.3/node_modules/@zag-js/carousel/dist/carousel.dom.js +12 -21
  412. package/dist/node_modules/.bun/@zag-js_carousel@1.35.3/node_modules/@zag-js/carousel/dist/carousel.dom.js.map +1 -1
  413. package/dist/node_modules/.bun/@zag-js_carousel@1.35.3/node_modules/@zag-js/carousel/dist/carousel.machine.js +486 -466
  414. package/dist/node_modules/.bun/@zag-js_carousel@1.35.3/node_modules/@zag-js/carousel/dist/carousel.machine.js.map +1 -1
  415. package/dist/node_modules/.bun/@zag-js_checkbox@1.35.3/node_modules/@zag-js/checkbox/dist/checkbox.anatomy.js +7 -7
  416. package/dist/node_modules/.bun/@zag-js_checkbox@1.35.3/node_modules/@zag-js/checkbox/dist/checkbox.anatomy.js.map +1 -1
  417. package/dist/node_modules/.bun/@zag-js_checkbox@1.35.3/node_modules/@zag-js/checkbox/dist/checkbox.connect.js +138 -108
  418. package/dist/node_modules/.bun/@zag-js_checkbox@1.35.3/node_modules/@zag-js/checkbox/dist/checkbox.connect.js.map +1 -1
  419. package/dist/node_modules/.bun/@zag-js_checkbox@1.35.3/node_modules/@zag-js/checkbox/dist/checkbox.dom.js +6 -10
  420. package/dist/node_modules/.bun/@zag-js_checkbox@1.35.3/node_modules/@zag-js/checkbox/dist/checkbox.dom.js.map +1 -1
  421. package/dist/node_modules/.bun/@zag-js_checkbox@1.35.3/node_modules/@zag-js/checkbox/dist/checkbox.machine.js +121 -136
  422. package/dist/node_modules/.bun/@zag-js_checkbox@1.35.3/node_modules/@zag-js/checkbox/dist/checkbox.machine.js.map +1 -1
  423. package/dist/node_modules/.bun/@zag-js_collapsible@1.35.3/node_modules/@zag-js/collapsible/dist/collapsible.anatomy.js +6 -7
  424. package/dist/node_modules/.bun/@zag-js_collapsible@1.35.3/node_modules/@zag-js/collapsible/dist/collapsible.anatomy.js.map +1 -1
  425. package/dist/node_modules/.bun/@zag-js_collapsible@1.35.3/node_modules/@zag-js/collapsible/dist/collapsible.connect.js +81 -80
  426. package/dist/node_modules/.bun/@zag-js_collapsible@1.35.3/node_modules/@zag-js/collapsible/dist/collapsible.connect.js.map +1 -1
  427. package/dist/node_modules/.bun/@zag-js_collapsible@1.35.3/node_modules/@zag-js/collapsible/dist/collapsible.dom.js +6 -8
  428. package/dist/node_modules/.bun/@zag-js_collapsible@1.35.3/node_modules/@zag-js/collapsible/dist/collapsible.dom.js.map +1 -1
  429. package/dist/node_modules/.bun/@zag-js_collapsible@1.35.3/node_modules/@zag-js/collapsible/dist/collapsible.machine.js +224 -234
  430. package/dist/node_modules/.bun/@zag-js_collapsible@1.35.3/node_modules/@zag-js/collapsible/dist/collapsible.machine.js.map +1 -1
  431. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/chunk-QZ7TP4HQ.js +11 -5
  432. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/chunk-QZ7TP4HQ.js.map +1 -1
  433. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/grid-collection.js +63 -67
  434. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/grid-collection.js.map +1 -1
  435. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/list-collection.js +219 -218
  436. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/list-collection.js.map +1 -1
  437. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/selection-map.js +43 -55
  438. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/selection-map.js.map +1 -1
  439. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/tree-collection.js +269 -235
  440. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/tree-collection.js.map +1 -1
  441. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/tree-visit.js +255 -275
  442. package/dist/node_modules/.bun/@zag-js_collection@1.35.3/node_modules/@zag-js/collection/dist/tree-visit.js.map +1 -1
  443. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.anatomy.js +7 -22
  444. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.anatomy.js.map +1 -1
  445. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.collection.js +7 -6
  446. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.collection.js.map +1 -1
  447. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.connect.js +417 -336
  448. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.connect.js.map +1 -1
  449. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.dom.js +16 -34
  450. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.dom.js.map +1 -1
  451. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.machine.js +868 -899
  452. package/dist/node_modules/.bun/@zag-js_combobox@1.35.3/node_modules/@zag-js/combobox/dist/combobox.machine.js.map +1 -1
  453. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/create-machine.js +28 -29
  454. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/create-machine.js.map +1 -1
  455. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/memo.js +12 -11
  456. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/memo.js.map +1 -1
  457. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/merge-props.js +41 -44
  458. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/merge-props.js.map +1 -1
  459. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/scope.js +17 -16
  460. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/scope.js.map +1 -1
  461. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/state.js +129 -130
  462. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/state.js.map +1 -1
  463. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/types.js +6 -6
  464. package/dist/node_modules/.bun/@zag-js_core@1.35.3/node_modules/@zag-js/core/dist/types.js.map +1 -1
  465. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.anatomy.js +6 -31
  466. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.anatomy.js.map +1 -1
  467. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.connect.js +868 -722
  468. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.connect.js.map +1 -1
  469. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.dom.js +7 -29
  470. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.dom.js.map +1 -1
  471. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.machine.js +1010 -1018
  472. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.machine.js.map +1 -1
  473. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.utils.js +141 -140
  474. package/dist/node_modules/.bun/@zag-js_date-picker@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-picker/dist/date-picker.utils.js.map +1 -1
  475. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/align.js +12 -14
  476. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/align.js.map +1 -1
  477. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/assertion.js +18 -21
  478. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/assertion.js.map +1 -1
  479. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/constrain.js +29 -36
  480. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/constrain.js.map +1 -1
  481. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/date-month.js +82 -67
  482. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/date-month.js.map +1 -1
  483. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/date-year.js +35 -34
  484. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/date-year.js.map +1 -1
  485. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/duration.js +12 -12
  486. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/duration.js.map +1 -1
  487. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/format.js +21 -24
  488. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/format.js.map +1 -1
  489. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/formatter.js +29 -29
  490. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/formatter.js.map +1 -1
  491. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/get-era-format.js +9 -8
  492. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/get-era-format.js.map +1 -1
  493. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/mutation.js +10 -9
  494. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/mutation.js.map +1 -1
  495. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/pagination.js +71 -91
  496. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/pagination.js.map +1 -1
  497. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/parse-date.js +34 -30
  498. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/parse-date.js.map +1 -1
  499. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/preset.js +25 -41
  500. package/dist/node_modules/.bun/@zag-js_date-utils@1.35.3_ee33ebb1f804619f/node_modules/@zag-js/date-utils/dist/preset.js.map +1 -1
  501. package/dist/node_modules/.bun/@zag-js_dialog@1.35.3/node_modules/@zag-js/dialog/dist/dialog.anatomy.js +6 -15
  502. package/dist/node_modules/.bun/@zag-js_dialog@1.35.3/node_modules/@zag-js/dialog/dist/dialog.anatomy.js.map +1 -1
  503. package/dist/node_modules/.bun/@zag-js_dialog@1.35.3/node_modules/@zag-js/dialog/dist/dialog.connect.js +88 -89
  504. package/dist/node_modules/.bun/@zag-js_dialog@1.35.3/node_modules/@zag-js/dialog/dist/dialog.connect.js.map +1 -1
  505. package/dist/node_modules/.bun/@zag-js_dialog@1.35.3/node_modules/@zag-js/dialog/dist/dialog.dom.js +6 -18
  506. package/dist/node_modules/.bun/@zag-js_dialog@1.35.3/node_modules/@zag-js/dialog/dist/dialog.dom.js.map +1 -1
  507. package/dist/node_modules/.bun/@zag-js_dialog@1.35.3/node_modules/@zag-js/dialog/dist/dialog.machine.js +163 -176
  508. package/dist/node_modules/.bun/@zag-js_dialog@1.35.3/node_modules/@zag-js/dialog/dist/dialog.machine.js.map +1 -1
  509. package/dist/node_modules/.bun/@zag-js_dismissable@1.35.3/node_modules/@zag-js/dismissable/dist/dismissable-layer.js +80 -74
  510. package/dist/node_modules/.bun/@zag-js_dismissable@1.35.3/node_modules/@zag-js/dismissable/dist/dismissable-layer.js.map +1 -1
  511. package/dist/node_modules/.bun/@zag-js_dismissable@1.35.3/node_modules/@zag-js/dismissable/dist/escape-keydown.js +11 -11
  512. package/dist/node_modules/.bun/@zag-js_dismissable@1.35.3/node_modules/@zag-js/dismissable/dist/escape-keydown.js.map +1 -1
  513. package/dist/node_modules/.bun/@zag-js_dismissable@1.35.3/node_modules/@zag-js/dismissable/dist/layer-stack.js +101 -98
  514. package/dist/node_modules/.bun/@zag-js_dismissable@1.35.3/node_modules/@zag-js/dismissable/dist/layer-stack.js.map +1 -1
  515. package/dist/node_modules/.bun/@zag-js_dismissable@1.35.3/node_modules/@zag-js/dismissable/dist/pointer-event-outside.js +31 -35
  516. package/dist/node_modules/.bun/@zag-js_dismissable@1.35.3/node_modules/@zag-js/dismissable/dist/pointer-event-outside.js.map +1 -1
  517. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/caret.js +18 -20
  518. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/caret.js.map +1 -1
  519. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/chunk-QZ7TP4HQ.js +11 -5
  520. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/chunk-QZ7TP4HQ.js.map +1 -1
  521. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/computed-style.js +9 -8
  522. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/computed-style.js.map +1 -1
  523. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/controller.js +67 -66
  524. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/controller.js.map +1 -1
  525. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/event.js +69 -78
  526. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/event.js.map +1 -1
  527. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/form.js +67 -67
  528. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/form.js.map +1 -1
  529. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/initial-focus.js +21 -21
  530. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/initial-focus.js.map +1 -1
  531. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/mutation-observer.js +39 -38
  532. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/mutation-observer.js.map +1 -1
  533. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/navigate.js +26 -28
  534. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/navigate.js.map +1 -1
  535. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/node.js +60 -76
  536. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/node.js.map +1 -1
  537. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/overflow.js +21 -23
  538. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/overflow.js.map +1 -1
  539. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/platform.js +12 -22
  540. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/platform.js.map +1 -1
  541. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/pointer-lock.js +22 -24
  542. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/pointer-lock.js.map +1 -1
  543. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/pointer-move.js +35 -29
  544. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/pointer-move.js.map +1 -1
  545. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/press.js +46 -61
  546. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/press.js.map +1 -1
  547. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/proxy-tab-focus.js +34 -27
  548. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/proxy-tab-focus.js.map +1 -1
  549. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/query.js +21 -26
  550. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/query.js.map +1 -1
  551. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/raf.js +48 -47
  552. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/raf.js.map +1 -1
  553. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/resize-observer.js +29 -34
  554. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/resize-observer.js.map +1 -1
  555. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/searchable.js +14 -14
  556. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/searchable.js.map +1 -1
  557. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/set.js +25 -26
  558. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/set.js.map +1 -1
  559. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/shared.js +6 -12
  560. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/shared.js.map +1 -1
  561. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/tabbable.js +87 -98
  562. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/tabbable.js.map +1 -1
  563. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/text-selection.js +38 -34
  564. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/text-selection.js.map +1 -1
  565. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/typeahead.js +25 -23
  566. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/typeahead.js.map +1 -1
  567. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/visually-hidden.js +15 -14
  568. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/visually-hidden.js.map +1 -1
  569. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/wait-for.js +37 -41
  570. package/dist/node_modules/.bun/@zag-js_dom-query@1.35.3/node_modules/@zag-js/dom-query/dist/wait-for.js.map +1 -1
  571. package/dist/node_modules/.bun/@zag-js_file-utils@1.35.3/node_modules/@zag-js/file-utils/dist/download-file.js +31 -30
  572. package/dist/node_modules/.bun/@zag-js_file-utils@1.35.3/node_modules/@zag-js/file-utils/dist/download-file.js.map +1 -1
  573. package/dist/node_modules/.bun/@zag-js_focus-trap@1.35.3/node_modules/@zag-js/focus-trap/dist/chunk-QZ7TP4HQ.js +11 -5
  574. package/dist/node_modules/.bun/@zag-js_focus-trap@1.35.3/node_modules/@zag-js/focus-trap/dist/chunk-QZ7TP4HQ.js.map +1 -1
  575. package/dist/node_modules/.bun/@zag-js_focus-trap@1.35.3/node_modules/@zag-js/focus-trap/dist/focus-trap.js +294 -331
  576. package/dist/node_modules/.bun/@zag-js_focus-trap@1.35.3/node_modules/@zag-js/focus-trap/dist/focus-trap.js.map +1 -1
  577. package/dist/node_modules/.bun/@zag-js_focus-trap@1.35.3/node_modules/@zag-js/focus-trap/dist/index.js +30 -32
  578. package/dist/node_modules/.bun/@zag-js_focus-trap@1.35.3/node_modules/@zag-js/focus-trap/dist/index.js.map +1 -1
  579. package/dist/node_modules/.bun/@zag-js_focus-visible@1.35.3/node_modules/@zag-js/focus-visible/dist/index.js +89 -84
  580. package/dist/node_modules/.bun/@zag-js_focus-visible@1.35.3/node_modules/@zag-js/focus-visible/dist/index.js.map +1 -1
  581. package/dist/node_modules/.bun/@zag-js_highlight-word@1.35.3/node_modules/@zag-js/highlight-word/dist/escape-regex.js +6 -5
  582. package/dist/node_modules/.bun/@zag-js_highlight-word@1.35.3/node_modules/@zag-js/highlight-word/dist/escape-regex.js.map +1 -1
  583. package/dist/node_modules/.bun/@zag-js_highlight-word@1.35.3/node_modules/@zag-js/highlight-word/dist/highlight-first.js +35 -26
  584. package/dist/node_modules/.bun/@zag-js_highlight-word@1.35.3/node_modules/@zag-js/highlight-word/dist/highlight-first.js.map +1 -1
  585. package/dist/node_modules/.bun/@zag-js_highlight-word@1.35.3/node_modules/@zag-js/highlight-word/dist/highlight-multiple.js +25 -22
  586. package/dist/node_modules/.bun/@zag-js_highlight-word@1.35.3/node_modules/@zag-js/highlight-word/dist/highlight-multiple.js.map +1 -1
  587. package/dist/node_modules/.bun/@zag-js_highlight-word@1.35.3/node_modules/@zag-js/highlight-word/dist/highlight.js +9 -9
  588. package/dist/node_modules/.bun/@zag-js_highlight-word@1.35.3/node_modules/@zag-js/highlight-word/dist/highlight.js.map +1 -1
  589. package/dist/node_modules/.bun/@zag-js_highlight-word@1.35.3/node_modules/@zag-js/highlight-word/dist/normalize-span.js +20 -17
  590. package/dist/node_modules/.bun/@zag-js_highlight-word@1.35.3/node_modules/@zag-js/highlight-word/dist/normalize-span.js.map +1 -1
  591. package/dist/node_modules/.bun/@zag-js_hover-card@1.35.3/node_modules/@zag-js/hover-card/dist/hover-card.anatomy.js +6 -7
  592. package/dist/node_modules/.bun/@zag-js_hover-card@1.35.3/node_modules/@zag-js/hover-card/dist/hover-card.anatomy.js.map +1 -1
  593. package/dist/node_modules/.bun/@zag-js_hover-card@1.35.3/node_modules/@zag-js/hover-card/dist/hover-card.connect.js +98 -82
  594. package/dist/node_modules/.bun/@zag-js_hover-card@1.35.3/node_modules/@zag-js/hover-card/dist/hover-card.connect.js.map +1 -1
  595. package/dist/node_modules/.bun/@zag-js_hover-card@1.35.3/node_modules/@zag-js/hover-card/dist/hover-card.dom.js +6 -11
  596. package/dist/node_modules/.bun/@zag-js_hover-card@1.35.3/node_modules/@zag-js/hover-card/dist/hover-card.dom.js.map +1 -1
  597. package/dist/node_modules/.bun/@zag-js_hover-card@1.35.3/node_modules/@zag-js/hover-card/dist/hover-card.machine.js +223 -267
  598. package/dist/node_modules/.bun/@zag-js_hover-card@1.35.3/node_modules/@zag-js/hover-card/dist/hover-card.machine.js.map +1 -1
  599. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/cache.js +13 -13
  600. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/cache.js.map +1 -1
  601. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/format-bytes.js +30 -18
  602. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/format-bytes.js.map +1 -1
  603. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/format-number.js +9 -8
  604. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/format-number.js.map +1 -1
  605. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/format-relative-time.js +23 -22
  606. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/format-relative-time.js.map +1 -1
  607. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/format-time.js +42 -38
  608. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/format-time.js.map +1 -1
  609. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/is-rtl.js +43 -42
  610. package/dist/node_modules/.bun/@zag-js_i18n-utils@1.35.3/node_modules/@zag-js/i18n-utils/dist/is-rtl.js.map +1 -1
  611. package/dist/node_modules/.bun/@zag-js_interact-outside@1.35.3/node_modules/@zag-js/interact-outside/dist/frame-utils.js +52 -58
  612. package/dist/node_modules/.bun/@zag-js_interact-outside@1.35.3/node_modules/@zag-js/interact-outside/dist/frame-utils.js.map +1 -1
  613. package/dist/node_modules/.bun/@zag-js_interact-outside@1.35.3/node_modules/@zag-js/interact-outside/dist/index.js +110 -124
  614. package/dist/node_modules/.bun/@zag-js_interact-outside@1.35.3/node_modules/@zag-js/interact-outside/dist/index.js.map +1 -1
  615. package/dist/node_modules/.bun/@zag-js_json-tree-utils@1.35.3/node_modules/@zag-js/json-tree-utils/dist/accessibility.js +17 -32
  616. package/dist/node_modules/.bun/@zag-js_json-tree-utils@1.35.3/node_modules/@zag-js/json-tree-utils/dist/accessibility.js.map +1 -1
  617. package/dist/node_modules/.bun/@zag-js_json-tree-utils@1.35.3/node_modules/@zag-js/json-tree-utils/dist/data-type.js +1120 -1093
  618. package/dist/node_modules/.bun/@zag-js_json-tree-utils@1.35.3/node_modules/@zag-js/json-tree-utils/dist/data-type.js.map +1 -1
  619. package/dist/node_modules/.bun/@zag-js_json-tree-utils@1.35.3/node_modules/@zag-js/json-tree-utils/dist/json-to-tree.js +33 -34
  620. package/dist/node_modules/.bun/@zag-js_json-tree-utils@1.35.3/node_modules/@zag-js/json-tree-utils/dist/json-to-tree.js.map +1 -1
  621. package/dist/node_modules/.bun/@zag-js_json-tree-utils@1.35.3/node_modules/@zag-js/json-tree-utils/dist/node-conversion.js +33 -45
  622. package/dist/node_modules/.bun/@zag-js_json-tree-utils@1.35.3/node_modules/@zag-js/json-tree-utils/dist/node-conversion.js.map +1 -1
  623. package/dist/node_modules/.bun/@zag-js_json-tree-utils@1.35.3/node_modules/@zag-js/json-tree-utils/dist/shared.js +17 -22
  624. package/dist/node_modules/.bun/@zag-js_json-tree-utils@1.35.3/node_modules/@zag-js/json-tree-utils/dist/shared.js.map +1 -1
  625. package/dist/node_modules/.bun/@zag-js_live-region@1.35.3/node_modules/@zag-js/live-region/dist/index.js +38 -37
  626. package/dist/node_modules/.bun/@zag-js_live-region@1.35.3/node_modules/@zag-js/live-region/dist/index.js.map +1 -1
  627. package/dist/node_modules/.bun/@zag-js_marquee@1.35.3/node_modules/@zag-js/marquee/dist/marquee.anatomy.js +6 -7
  628. package/dist/node_modules/.bun/@zag-js_marquee@1.35.3/node_modules/@zag-js/marquee/dist/marquee.anatomy.js.map +1 -1
  629. package/dist/node_modules/.bun/@zag-js_marquee@1.35.3/node_modules/@zag-js/marquee/dist/marquee.connect.js +140 -141
  630. package/dist/node_modules/.bun/@zag-js_marquee@1.35.3/node_modules/@zag-js/marquee/dist/marquee.connect.js.map +1 -1
  631. package/dist/node_modules/.bun/@zag-js_marquee@1.35.3/node_modules/@zag-js/marquee/dist/marquee.dom.js +12 -11
  632. package/dist/node_modules/.bun/@zag-js_marquee@1.35.3/node_modules/@zag-js/marquee/dist/marquee.dom.js.map +1 -1
  633. package/dist/node_modules/.bun/@zag-js_marquee@1.35.3/node_modules/@zag-js/marquee/dist/marquee.machine.js +145 -157
  634. package/dist/node_modules/.bun/@zag-js_marquee@1.35.3/node_modules/@zag-js/marquee/dist/marquee.machine.js.map +1 -1
  635. package/dist/node_modules/.bun/@zag-js_marquee@1.35.3/node_modules/@zag-js/marquee/dist/marquee.utils.js +32 -36
  636. package/dist/node_modules/.bun/@zag-js_marquee@1.35.3/node_modules/@zag-js/marquee/dist/marquee.utils.js.map +1 -1
  637. package/dist/node_modules/.bun/@zag-js_menu@1.35.3/node_modules/@zag-js/menu/dist/menu.anatomy.js +6 -22
  638. package/dist/node_modules/.bun/@zag-js_menu@1.35.3/node_modules/@zag-js/menu/dist/menu.anatomy.js.map +1 -1
  639. package/dist/node_modules/.bun/@zag-js_menu@1.35.3/node_modules/@zag-js/menu/dist/menu.connect.js +418 -353
  640. package/dist/node_modules/.bun/@zag-js_menu@1.35.3/node_modules/@zag-js/menu/dist/menu.connect.js.map +1 -1
  641. package/dist/node_modules/.bun/@zag-js_menu@1.35.3/node_modules/@zag-js/menu/dist/menu.dom.js +29 -47
  642. package/dist/node_modules/.bun/@zag-js_menu@1.35.3/node_modules/@zag-js/menu/dist/menu.dom.js.map +1 -1
  643. package/dist/node_modules/.bun/@zag-js_menu@1.35.3/node_modules/@zag-js/menu/dist/menu.machine.js +704 -791
  644. package/dist/node_modules/.bun/@zag-js_menu@1.35.3/node_modules/@zag-js/menu/dist/menu.machine.js.map +1 -1
  645. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.anatomy.js +7 -19
  646. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.anatomy.js.map +1 -1
  647. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.connect.js +327 -302
  648. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.connect.js.map +1 -1
  649. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.dom.js +54 -79
  650. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.dom.js.map +1 -1
  651. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.machine.js +263 -298
  652. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.machine.js.map +1 -1
  653. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.utils.js +32 -35
  654. package/dist/node_modules/.bun/@zag-js_navigation-menu@1.35.3/node_modules/@zag-js/navigation-menu/dist/navigation-menu.utils.js.map +1 -1
  655. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/cursor.js +55 -64
  656. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/cursor.js.map +1 -1
  657. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.anatomy.js +6 -16
  658. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.anatomy.js.map +1 -1
  659. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.connect.js +275 -229
  660. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.connect.js.map +1 -1
  661. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.dom.js +44 -60
  662. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.dom.js.map +1 -1
  663. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.machine.js +466 -408
  664. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.machine.js.map +1 -1
  665. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.utils.js +15 -18
  666. package/dist/node_modules/.bun/@zag-js_number-input@1.35.3/node_modules/@zag-js/number-input/dist/number-input.utils.js.map +1 -1
  667. package/dist/node_modules/.bun/@zag-js_pagination@1.35.3/node_modules/@zag-js/pagination/dist/pagination.anatomy.js +6 -15
  668. package/dist/node_modules/.bun/@zag-js_pagination@1.35.3/node_modules/@zag-js/pagination/dist/pagination.anatomy.js.map +1 -1
  669. package/dist/node_modules/.bun/@zag-js_pagination@1.35.3/node_modules/@zag-js/pagination/dist/pagination.connect.js +174 -144
  670. package/dist/node_modules/.bun/@zag-js_pagination@1.35.3/node_modules/@zag-js/pagination/dist/pagination.connect.js.map +1 -1
  671. package/dist/node_modules/.bun/@zag-js_pagination@1.35.3/node_modules/@zag-js/pagination/dist/pagination.dom.js +6 -11
  672. package/dist/node_modules/.bun/@zag-js_pagination@1.35.3/node_modules/@zag-js/pagination/dist/pagination.dom.js.map +1 -1
  673. package/dist/node_modules/.bun/@zag-js_pagination@1.35.3/node_modules/@zag-js/pagination/dist/pagination.machine.js +128 -131
  674. package/dist/node_modules/.bun/@zag-js_pagination@1.35.3/node_modules/@zag-js/pagination/dist/pagination.machine.js.map +1 -1
  675. package/dist/node_modules/.bun/@zag-js_pagination@1.35.3/node_modules/@zag-js/pagination/dist/pagination.utils.js +37 -40
  676. package/dist/node_modules/.bun/@zag-js_pagination@1.35.3/node_modules/@zag-js/pagination/dist/pagination.utils.js.map +1 -1
  677. package/dist/node_modules/.bun/@zag-js_password-input@1.35.3/node_modules/@zag-js/password-input/dist/password-input.anatomy.js +6 -14
  678. package/dist/node_modules/.bun/@zag-js_password-input@1.35.3/node_modules/@zag-js/password-input/dist/password-input.anatomy.js.map +1 -1
  679. package/dist/node_modules/.bun/@zag-js_password-input@1.35.3/node_modules/@zag-js/password-input/dist/password-input.connect.js +111 -109
  680. package/dist/node_modules/.bun/@zag-js_password-input@1.35.3/node_modules/@zag-js/password-input/dist/password-input.connect.js.map +1 -1
  681. package/dist/node_modules/.bun/@zag-js_password-input@1.35.3/node_modules/@zag-js/password-input/dist/password-input.dom.js +6 -6
  682. package/dist/node_modules/.bun/@zag-js_password-input@1.35.3/node_modules/@zag-js/password-input/dist/password-input.dom.js.map +1 -1
  683. package/dist/node_modules/.bun/@zag-js_password-input@1.35.3/node_modules/@zag-js/password-input/dist/password-input.machine.js +70 -83
  684. package/dist/node_modules/.bun/@zag-js_password-input@1.35.3/node_modules/@zag-js/password-input/dist/password-input.machine.js.map +1 -1
  685. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.anatomy.js +6 -7
  686. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.anatomy.js.map +1 -1
  687. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.connect.js +200 -170
  688. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.connect.js.map +1 -1
  689. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.dom.js +11 -20
  690. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.dom.js.map +1 -1
  691. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.machine.js +230 -259
  692. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.machine.js.map +1 -1
  693. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.utils.js +13 -13
  694. package/dist/node_modules/.bun/@zag-js_pin-input@1.35.3/node_modules/@zag-js/pin-input/dist/pin-input.utils.js.map +1 -1
  695. package/dist/node_modules/.bun/@zag-js_popover@1.35.3/node_modules/@zag-js/popover/dist/popover.anatomy.js +6 -18
  696. package/dist/node_modules/.bun/@zag-js_popover@1.35.3/node_modules/@zag-js/popover/dist/popover.anatomy.js.map +1 -1
  697. package/dist/node_modules/.bun/@zag-js_popover@1.35.3/node_modules/@zag-js/popover/dist/popover.connect.js +133 -126
  698. package/dist/node_modules/.bun/@zag-js_popover@1.35.3/node_modules/@zag-js/popover/dist/popover.connect.js.map +1 -1
  699. package/dist/node_modules/.bun/@zag-js_popover@1.35.3/node_modules/@zag-js/popover/dist/popover.dom.js +6 -18
  700. package/dist/node_modules/.bun/@zag-js_popover@1.35.3/node_modules/@zag-js/popover/dist/popover.dom.js.map +1 -1
  701. package/dist/node_modules/.bun/@zag-js_popover@1.35.3/node_modules/@zag-js/popover/dist/popover.machine.js +219 -237
  702. package/dist/node_modules/.bun/@zag-js_popover@1.35.3/node_modules/@zag-js/popover/dist/popover.machine.js.map +1 -1
  703. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/get-anchor.js +34 -32
  704. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/get-anchor.js.map +1 -1
  705. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/get-placement.js +135 -126
  706. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/get-placement.js.map +1 -1
  707. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/get-styles.js +44 -45
  708. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/get-styles.js.map +1 -1
  709. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/middleware.js +46 -55
  710. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/middleware.js.map +1 -1
  711. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/placement.js +14 -10
  712. package/dist/node_modules/.bun/@zag-js_popper@1.35.3/node_modules/@zag-js/popper/dist/placement.js.map +1 -1
  713. package/dist/node_modules/.bun/@zag-js_presence@1.35.3/node_modules/@zag-js/presence/dist/presence.connect.js +20 -16
  714. package/dist/node_modules/.bun/@zag-js_presence@1.35.3/node_modules/@zag-js/presence/dist/presence.connect.js.map +1 -1
  715. package/dist/node_modules/.bun/@zag-js_presence@1.35.3/node_modules/@zag-js/presence/dist/presence.machine.js +148 -145
  716. package/dist/node_modules/.bun/@zag-js_presence@1.35.3/node_modules/@zag-js/presence/dist/presence.machine.js.map +1 -1
  717. package/dist/node_modules/.bun/@zag-js_progress@1.35.3/node_modules/@zag-js/progress/dist/progress.anatomy.js +6 -17
  718. package/dist/node_modules/.bun/@zag-js_progress@1.35.3/node_modules/@zag-js/progress/dist/progress.anatomy.js.map +1 -1
  719. package/dist/node_modules/.bun/@zag-js_progress@1.35.3/node_modules/@zag-js/progress/dist/progress.connect.js +160 -152
  720. package/dist/node_modules/.bun/@zag-js_progress@1.35.3/node_modules/@zag-js/progress/dist/progress.connect.js.map +1 -1
  721. package/dist/node_modules/.bun/@zag-js_progress@1.35.3/node_modules/@zag-js/progress/dist/progress.dom.js +6 -8
  722. package/dist/node_modules/.bun/@zag-js_progress@1.35.3/node_modules/@zag-js/progress/dist/progress.dom.js.map +1 -1
  723. package/dist/node_modules/.bun/@zag-js_progress@1.35.3/node_modules/@zag-js/progress/dist/progress.machine.js +73 -90
  724. package/dist/node_modules/.bun/@zag-js_progress@1.35.3/node_modules/@zag-js/progress/dist/progress.machine.js.map +1 -1
  725. package/dist/node_modules/.bun/@zag-js_radio-group@1.35.3/node_modules/@zag-js/radio-group/dist/radio-group.anatomy.js +6 -14
  726. package/dist/node_modules/.bun/@zag-js_radio-group@1.35.3/node_modules/@zag-js/radio-group/dist/radio-group.anatomy.js.map +1 -1
  727. package/dist/node_modules/.bun/@zag-js_radio-group@1.35.3/node_modules/@zag-js/radio-group/dist/radio-group.connect.js +232 -190
  728. package/dist/node_modules/.bun/@zag-js_radio-group@1.35.3/node_modules/@zag-js/radio-group/dist/radio-group.connect.js.map +1 -1
  729. package/dist/node_modules/.bun/@zag-js_radio-group@1.35.3/node_modules/@zag-js/radio-group/dist/radio-group.dom.js +16 -30
  730. package/dist/node_modules/.bun/@zag-js_radio-group@1.35.3/node_modules/@zag-js/radio-group/dist/radio-group.dom.js.map +1 -1
  731. package/dist/node_modules/.bun/@zag-js_radio-group@1.35.3/node_modules/@zag-js/radio-group/dist/radio-group.machine.js +128 -158
  732. package/dist/node_modules/.bun/@zag-js_radio-group@1.35.3/node_modules/@zag-js/radio-group/dist/radio-group.machine.js.map +1 -1
  733. package/dist/node_modules/.bun/@zag-js_rect-utils@1.35.3/node_modules/@zag-js/rect-utils/dist/angle.js +8 -7
  734. package/dist/node_modules/.bun/@zag-js_rect-utils@1.35.3/node_modules/@zag-js/rect-utils/dist/angle.js.map +1 -1
  735. package/dist/node_modules/.bun/@zag-js_rect-utils@1.35.3/node_modules/@zag-js/rect-utils/dist/polygon.js +41 -22
  736. package/dist/node_modules/.bun/@zag-js_rect-utils@1.35.3/node_modules/@zag-js/rect-utils/dist/polygon.js.map +1 -1
  737. package/dist/node_modules/.bun/@zag-js_rect-utils@1.35.3/node_modules/@zag-js/rect-utils/dist/rect.js +31 -25
  738. package/dist/node_modules/.bun/@zag-js_rect-utils@1.35.3/node_modules/@zag-js/rect-utils/dist/rect.js.map +1 -1
  739. package/dist/node_modules/.bun/@zag-js_remove-scroll@1.35.3/node_modules/@zag-js/remove-scroll/dist/index.js +44 -41
  740. package/dist/node_modules/.bun/@zag-js_remove-scroll@1.35.3/node_modules/@zag-js/remove-scroll/dist/index.js.map +1 -1
  741. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/chunk-QZ7TP4HQ.js +11 -5
  742. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/chunk-QZ7TP4HQ.js.map +1 -1
  743. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/scroll-area.anatomy.js +6 -7
  744. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/scroll-area.anatomy.js.map +1 -1
  745. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/scroll-area.connect.js +203 -192
  746. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/scroll-area.connect.js.map +1 -1
  747. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/scroll-area.dom.js +7 -16
  748. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/scroll-area.dom.js.map +1 -1
  749. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/scroll-area.machine.js +312 -302
  750. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/scroll-area.machine.js.map +1 -1
  751. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/scroll-offset.js +10 -9
  752. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/scroll-offset.js.map +1 -1
  753. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/scroll-progress.js +17 -11
  754. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/scroll-progress.js.map +1 -1
  755. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/scroll-sides.js +13 -13
  756. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/scroll-sides.js.map +1 -1
  757. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/scroll-to-edge.js +38 -30
  758. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/scroll-to-edge.js.map +1 -1
  759. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/scroll-to.js +24 -15
  760. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/scroll-to.js.map +1 -1
  761. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/smooth-scroll.js +24 -25
  762. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/smooth-scroll.js.map +1 -1
  763. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/timeout.js +20 -19
  764. package/dist/node_modules/.bun/@zag-js_scroll-area@1.35.3/node_modules/@zag-js/scroll-area/dist/utils/timeout.js.map +1 -1
  765. package/dist/node_modules/.bun/@zag-js_scroll-snap@1.35.3/node_modules/@zag-js/scroll-snap/dist/index.js +111 -100
  766. package/dist/node_modules/.bun/@zag-js_scroll-snap@1.35.3/node_modules/@zag-js/scroll-snap/dist/index.js.map +1 -1
  767. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.anatomy.js +6 -23
  768. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.anatomy.js.map +1 -1
  769. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.collection.js +7 -6
  770. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.collection.js.map +1 -1
  771. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.connect.js +407 -367
  772. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.connect.js.map +1 -1
  773. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.dom.js +6 -21
  774. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.dom.js.map +1 -1
  775. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.machine.js +631 -661
  776. package/dist/node_modules/.bun/@zag-js_select@1.35.3/node_modules/@zag-js/select/dist/select.machine.js.map +1 -1
  777. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.anatomy.js +6 -18
  778. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.anatomy.js.map +1 -1
  779. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.connect.js +324 -270
  780. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.connect.js.map +1 -1
  781. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.dom.js +47 -59
  782. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.dom.js.map +1 -1
  783. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.machine.js +298 -305
  784. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.machine.js.map +1 -1
  785. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.style.js +111 -107
  786. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.style.js.map +1 -1
  787. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.utils.js +106 -92
  788. package/dist/node_modules/.bun/@zag-js_slider@1.35.3/node_modules/@zag-js/slider/dist/slider.utils.js.map +1 -1
  789. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/bindable.js +46 -43
  790. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/bindable.js.map +1 -1
  791. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/machine.js +189 -187
  792. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/machine.js.map +1 -1
  793. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/merge-props.js +32 -32
  794. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/merge-props.js.map +1 -1
  795. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/normalize-props.js +51 -50
  796. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/normalize-props.js.map +1 -1
  797. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/refs.js +15 -14
  798. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/refs.js.map +1 -1
  799. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/track.js +24 -24
  800. package/dist/node_modules/.bun/@zag-js_solid@1.35.3_2e1854f049906f04/node_modules/@zag-js/solid/dist/track.js.map +1 -1
  801. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/splitter.anatomy.js +6 -7
  802. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/splitter.anatomy.js.map +1 -1
  803. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/splitter.connect.js +281 -214
  804. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/splitter.connect.js.map +1 -1
  805. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/splitter.dom.js +18 -27
  806. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/splitter.dom.js.map +1 -1
  807. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/splitter.machine.js +341 -367
  808. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/splitter.machine.js.map +1 -1
  809. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/aria.js +29 -36
  810. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/aria.js.map +1 -1
  811. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/fuzzy.js +15 -21
  812. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/fuzzy.js.map +1 -1
  813. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/panel.js +56 -72
  814. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/panel.js.map +1 -1
  815. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/resize-by-delta.js +94 -90
  816. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/resize-by-delta.js.map +1 -1
  817. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/resize-panel.js +16 -17
  818. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/resize-panel.js.map +1 -1
  819. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/validate-sizes.js +37 -34
  820. package/dist/node_modules/.bun/@zag-js_splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/validate-sizes.js.map +1 -1
  821. package/dist/node_modules/.bun/@zag-js_switch@1.35.3/node_modules/@zag-js/switch/dist/switch.anatomy.js +6 -7
  822. package/dist/node_modules/.bun/@zag-js_switch@1.35.3/node_modules/@zag-js/switch/dist/switch.anatomy.js.map +1 -1
  823. package/dist/node_modules/.bun/@zag-js_switch@1.35.3/node_modules/@zag-js/switch/dist/switch.connect.js +138 -109
  824. package/dist/node_modules/.bun/@zag-js_switch@1.35.3/node_modules/@zag-js/switch/dist/switch.connect.js.map +1 -1
  825. package/dist/node_modules/.bun/@zag-js_switch@1.35.3/node_modules/@zag-js/switch/dist/switch.dom.js +6 -11
  826. package/dist/node_modules/.bun/@zag-js_switch@1.35.3/node_modules/@zag-js/switch/dist/switch.dom.js.map +1 -1
  827. package/dist/node_modules/.bun/@zag-js_switch@1.35.3/node_modules/@zag-js/switch/dist/switch.machine.js +118 -142
  828. package/dist/node_modules/.bun/@zag-js_switch@1.35.3/node_modules/@zag-js/switch/dist/switch.machine.js.map +1 -1
  829. package/dist/node_modules/.bun/@zag-js_tabs@1.35.3/node_modules/@zag-js/tabs/dist/tabs.anatomy.js +6 -7
  830. package/dist/node_modules/.bun/@zag-js_tabs@1.35.3/node_modules/@zag-js/tabs/dist/tabs.anatomy.js.map +1 -1
  831. package/dist/node_modules/.bun/@zag-js_tabs@1.35.3/node_modules/@zag-js/tabs/dist/tabs.connect.js +206 -170
  832. package/dist/node_modules/.bun/@zag-js_tabs@1.35.3/node_modules/@zag-js/tabs/dist/tabs.connect.js.map +1 -1
  833. package/dist/node_modules/.bun/@zag-js_tabs@1.35.3/node_modules/@zag-js/tabs/dist/tabs.dom.js +16 -33
  834. package/dist/node_modules/.bun/@zag-js_tabs@1.35.3/node_modules/@zag-js/tabs/dist/tabs.dom.js.map +1 -1
  835. package/dist/node_modules/.bun/@zag-js_tabs@1.35.3/node_modules/@zag-js/tabs/dist/tabs.machine.js +213 -241
  836. package/dist/node_modules/.bun/@zag-js_tabs@1.35.3/node_modules/@zag-js/tabs/dist/tabs.machine.js.map +1 -1
  837. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.anatomy.js +6 -18
  838. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.anatomy.js.map +1 -1
  839. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.connect.js +323 -280
  840. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.connect.js.map +1 -1
  841. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.dom.js +16 -40
  842. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.dom.js.map +1 -1
  843. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.machine.js +634 -628
  844. package/dist/node_modules/.bun/@zag-js_tags-input@1.35.3/node_modules/@zag-js/tags-input/dist/tags-input.machine.js.map +1 -1
  845. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/index.js +14 -9
  846. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/index.js.map +1 -1
  847. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast-group.connect.js +65 -52
  848. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast-group.connect.js.map +1 -1
  849. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast-group.machine.js +243 -230
  850. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast-group.machine.js.map +1 -1
  851. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.anatomy.js +7 -14
  852. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.anatomy.js.map +1 -1
  853. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.connect.js +112 -101
  854. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.connect.js.map +1 -1
  855. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.dom.js +6 -11
  856. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.dom.js.map +1 -1
  857. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.machine.js +236 -222
  858. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.machine.js.map +1 -1
  859. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.store.js +183 -115
  860. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.store.js.map +1 -1
  861. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.utils.js +91 -115
  862. package/dist/node_modules/.bun/@zag-js_toast@1.35.3/node_modules/@zag-js/toast/dist/toast.utils.js.map +1 -1
  863. package/dist/node_modules/.bun/@zag-js_toggle-group@1.35.3/node_modules/@zag-js/toggle-group/dist/toggle-group.anatomy.js +6 -7
  864. package/dist/node_modules/.bun/@zag-js_toggle-group@1.35.3/node_modules/@zag-js/toggle-group/dist/toggle-group.anatomy.js.map +1 -1
  865. package/dist/node_modules/.bun/@zag-js_toggle-group@1.35.3/node_modules/@zag-js/toggle-group/dist/toggle-group.connect.js +118 -106
  866. package/dist/node_modules/.bun/@zag-js_toggle-group@1.35.3/node_modules/@zag-js/toggle-group/dist/toggle-group.connect.js.map +1 -1
  867. package/dist/node_modules/.bun/@zag-js_toggle-group@1.35.3/node_modules/@zag-js/toggle-group/dist/toggle-group.dom.js +11 -17
  868. package/dist/node_modules/.bun/@zag-js_toggle-group@1.35.3/node_modules/@zag-js/toggle-group/dist/toggle-group.dom.js.map +1 -1
  869. package/dist/node_modules/.bun/@zag-js_toggle-group@1.35.3/node_modules/@zag-js/toggle-group/dist/toggle-group.machine.js +139 -169
  870. package/dist/node_modules/.bun/@zag-js_toggle-group@1.35.3/node_modules/@zag-js/toggle-group/dist/toggle-group.machine.js.map +1 -1
  871. package/dist/node_modules/.bun/@zag-js_toggle@1.35.3/node_modules/@zag-js/toggle/dist/toggle.anatomy.js +6 -7
  872. package/dist/node_modules/.bun/@zag-js_toggle@1.35.3/node_modules/@zag-js/toggle/dist/toggle.anatomy.js.map +1 -1
  873. package/dist/node_modules/.bun/@zag-js_toggle@1.35.3/node_modules/@zag-js/toggle/dist/toggle.connect.js +41 -37
  874. package/dist/node_modules/.bun/@zag-js_toggle@1.35.3/node_modules/@zag-js/toggle/dist/toggle.connect.js.map +1 -1
  875. package/dist/node_modules/.bun/@zag-js_toggle@1.35.3/node_modules/@zag-js/toggle/dist/toggle.machine.js +38 -47
  876. package/dist/node_modules/.bun/@zag-js_toggle@1.35.3/node_modules/@zag-js/toggle/dist/toggle.machine.js.map +1 -1
  877. package/dist/node_modules/.bun/@zag-js_tooltip@1.35.3/node_modules/@zag-js/tooltip/dist/tooltip.anatomy.js +6 -7
  878. package/dist/node_modules/.bun/@zag-js_tooltip@1.35.3/node_modules/@zag-js/tooltip/dist/tooltip.anatomy.js.map +1 -1
  879. package/dist/node_modules/.bun/@zag-js_tooltip@1.35.3/node_modules/@zag-js/tooltip/dist/tooltip.connect.js +120 -106
  880. package/dist/node_modules/.bun/@zag-js_tooltip@1.35.3/node_modules/@zag-js/tooltip/dist/tooltip.connect.js.map +1 -1
  881. package/dist/node_modules/.bun/@zag-js_tooltip@1.35.3/node_modules/@zag-js/tooltip/dist/tooltip.dom.js +6 -10
  882. package/dist/node_modules/.bun/@zag-js_tooltip@1.35.3/node_modules/@zag-js/tooltip/dist/tooltip.dom.js.map +1 -1
  883. package/dist/node_modules/.bun/@zag-js_tooltip@1.35.3/node_modules/@zag-js/tooltip/dist/tooltip.machine.js +310 -332
  884. package/dist/node_modules/.bun/@zag-js_tooltip@1.35.3/node_modules/@zag-js/tooltip/dist/tooltip.machine.js.map +1 -1
  885. package/dist/node_modules/.bun/@zag-js_tooltip@1.35.3/node_modules/@zag-js/tooltip/dist/tooltip.store.js +10 -9
  886. package/dist/node_modules/.bun/@zag-js_tooltip@1.35.3/node_modules/@zag-js/tooltip/dist/tooltip.store.js.map +1 -1
  887. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.anatomy.js +5 -22
  888. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.anatomy.js.map +1 -1
  889. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.collection.js +7 -6
  890. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.collection.js.map +1 -1
  891. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.connect.js +483 -382
  892. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.connect.js.map +1 -1
  893. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.dom.js +8 -13
  894. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.dom.js.map +1 -1
  895. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.machine.js +453 -535
  896. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/tree-view.machine.js.map +1 -1
  897. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/utils/checked-state.js +23 -27
  898. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/utils/checked-state.js.map +1 -1
  899. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/utils/expand-branch.js +63 -47
  900. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/utils/expand-branch.js.map +1 -1
  901. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/utils/visit-skip.js +10 -9
  902. package/dist/node_modules/.bun/@zag-js_tree-view@1.35.3/node_modules/@zag-js/tree-view/dist/utils/visit-skip.js.map +1 -1
  903. package/dist/node_modules/.bun/@zag-js_types@1.35.3/node_modules/@zag-js/types/dist/prop-types.js +9 -10
  904. package/dist/node_modules/.bun/@zag-js_types@1.35.3/node_modules/@zag-js/types/dist/prop-types.js.map +1 -1
  905. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/array.js +28 -42
  906. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/array.js.map +1 -1
  907. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/chunk-MXGZDBDQ.js +13 -9
  908. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/chunk-MXGZDBDQ.js.map +1 -1
  909. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/equal.js +23 -27
  910. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/equal.js.map +1 -1
  911. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/functions.js +28 -34
  912. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/functions.js.map +1 -1
  913. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/guard.js +12 -20
  914. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/guard.js.map +1 -1
  915. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/number.js +60 -83
  916. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/number.js.map +1 -1
  917. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/object.js +21 -21
  918. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/object.js.map +1 -1
  919. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/store.js +25 -25
  920. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/store.js.map +1 -1
  921. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/timers.js +40 -37
  922. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/timers.js.map +1 -1
  923. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/warning.js +17 -22
  924. package/dist/node_modules/.bun/@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/warning.js.map +1 -1
  925. package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js +1683 -2946
  926. package/dist/node_modules/.bun/tailwind-merge@3.5.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +1 -1
  927. package/dist/node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/chunk-LQJYWU4O.js +71 -82
  928. package/dist/node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/chunk-LQJYWU4O.js.map +1 -1
  929. package/dist/node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/chunk-RZF76H2U.js +165 -208
  930. package/dist/node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/chunk-RZF76H2U.js.map +1 -1
  931. package/dist/node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js +20 -24
  932. package/dist/node_modules/.bun/tailwind-variants@3.2.2_7ac958b541464b98/node_modules/tailwind-variants/dist/index.js.map +1 -1
  933. package/dist/paraglide/messages/_index.d.ts +15 -0
  934. package/dist/paraglide/messages/ui_breadcrumb_label.d.ts +16 -0
  935. package/dist/paraglide/messages/ui_breadcrumb_label.js +7 -21
  936. package/dist/paraglide/messages/ui_breadcrumb_label.js.map +1 -1
  937. package/dist/paraglide/messages/ui_carousel_next.d.ts +16 -0
  938. package/dist/paraglide/messages/ui_carousel_next.js +7 -21
  939. package/dist/paraglide/messages/ui_carousel_next.js.map +1 -1
  940. package/dist/paraglide/messages/ui_carousel_previous.d.ts +16 -0
  941. package/dist/paraglide/messages/ui_carousel_previous.js +7 -21
  942. package/dist/paraglide/messages/ui_carousel_previous.js.map +1 -1
  943. package/dist/paraglide/messages/ui_checkbox_checked.d.ts +16 -0
  944. package/dist/paraglide/messages/ui_common_close.d.ts +16 -0
  945. package/dist/paraglide/messages/ui_common_close.js +6 -20
  946. package/dist/paraglide/messages/ui_common_close.js.map +1 -1
  947. package/dist/paraglide/messages/ui_common_loading.d.ts +16 -0
  948. package/dist/paraglide/messages/ui_common_loading.js +7 -21
  949. package/dist/paraglide/messages/ui_common_loading.js.map +1 -1
  950. package/dist/paraglide/messages/ui_common_more.d.ts +16 -0
  951. package/dist/paraglide/messages/ui_common_more.js +6 -20
  952. package/dist/paraglide/messages/ui_common_more.js.map +1 -1
  953. package/dist/paraglide/messages/ui_pagination_more.d.ts +16 -0
  954. package/dist/paraglide/messages/ui_pagination_more.js +7 -21
  955. package/dist/paraglide/messages/ui_pagination_more.js.map +1 -1
  956. package/dist/paraglide/messages/ui_pagination_next.d.ts +16 -0
  957. package/dist/paraglide/messages/ui_pagination_next.js +7 -21
  958. package/dist/paraglide/messages/ui_pagination_next.js.map +1 -1
  959. package/dist/paraglide/messages/ui_pagination_previous.d.ts +16 -0
  960. package/dist/paraglide/messages/ui_pagination_previous.js +7 -21
  961. package/dist/paraglide/messages/ui_pagination_previous.js.map +1 -1
  962. package/dist/paraglide/messages/ui_sidebar_description.d.ts +16 -0
  963. package/dist/paraglide/messages/ui_sidebar_description.js +7 -21
  964. package/dist/paraglide/messages/ui_sidebar_description.js.map +1 -1
  965. package/dist/paraglide/messages/ui_sidebar_title.d.ts +16 -0
  966. package/dist/paraglide/messages/ui_sidebar_title.js +7 -21
  967. package/dist/paraglide/messages/ui_sidebar_title.js.map +1 -1
  968. package/dist/paraglide/messages/ui_sidebar_toggle.d.ts +16 -0
  969. package/dist/paraglide/messages/ui_sidebar_toggle.js +7 -21
  970. package/dist/paraglide/messages/ui_sidebar_toggle.js.map +1 -1
  971. package/dist/paraglide/messages/ui_skeleton_loading.d.ts +16 -0
  972. package/dist/paraglide/messages/ui_skeleton_loading.js +6 -20
  973. package/dist/paraglide/messages/ui_skeleton_loading.js.map +1 -1
  974. package/dist/paraglide/messages.d.ts +2 -0
  975. package/dist/paraglide/runtime.d.ts +749 -0
  976. package/dist/paraglide/runtime.js +84 -120
  977. package/dist/paraglide/runtime.js.map +1 -1
  978. package/dist/primitives/createMediaQuery.js +16 -15
  979. package/dist/primitives/createMediaQuery.js.map +1 -1
  980. package/dist/primitives/selectTriggerRef.js +14 -21
  981. package/dist/primitives/selectTriggerRef.js.map +1 -1
  982. package/dist/theme.css +1 -1
  983. package/package.json +1 -1
  984. package/src/primitives/selectTriggerRef.ts +3 -1
  985. package/src/theme.css +3 -2
  986. package/dist/_virtual/calendar-month.js +0 -10
  987. package/dist/_virtual/calendar-month.js.map +0 -1
  988. package/dist/_virtual/check-circle.js +0 -10
  989. package/dist/_virtual/check-circle.js.map +0 -1
  990. package/dist/_virtual/check.js +0 -10
  991. package/dist/_virtual/check.js.map +0 -1
  992. package/dist/_virtual/chevron-left.js +0 -10
  993. package/dist/_virtual/chevron-left.js.map +0 -1
  994. package/dist/_virtual/chevron-right.js +0 -10
  995. package/dist/_virtual/chevron-right.js.map +0 -1
  996. package/dist/_virtual/close.js +0 -10
  997. package/dist/_virtual/close.js.map +0 -1
  998. package/dist/_virtual/error.js +0 -10
  999. package/dist/_virtual/error.js.map +0 -1
  1000. package/dist/_virtual/expand-less.js +0 -10
  1001. package/dist/_virtual/expand-less.js.map +0 -1
  1002. package/dist/_virtual/expand-more.js +0 -10
  1003. package/dist/_virtual/expand-more.js.map +0 -1
  1004. package/dist/_virtual/info.js +0 -10
  1005. package/dist/_virtual/info.js.map +0 -1
  1006. package/dist/_virtual/more-horiz.js +0 -10
  1007. package/dist/_virtual/more-horiz.js.map +0 -1
  1008. package/dist/_virtual/progress-activity.js +0 -10
  1009. package/dist/_virtual/progress-activity.js.map +0 -1
  1010. package/dist/_virtual/search.js +0 -10
  1011. package/dist/_virtual/search.js.map +0 -1
  1012. package/dist/_virtual/side-navigation.js +0 -10
  1013. package/dist/_virtual/side-navigation.js.map +0 -1
  1014. package/dist/_virtual/visibility-off.js +0 -10
  1015. package/dist/_virtual/visibility-off.js.map +0 -1
  1016. package/dist/_virtual/visibility.js +0 -10
  1017. package/dist/_virtual/visibility.js.map +0 -1
  1018. package/dist/_virtual/warning.js +0 -10
  1019. package/dist/_virtual/warning.js.map +0 -1
  1020. package/dist/components/Marquee.js.map +0 -1
  1021. package/dist/components/form/index.js.map +0 -1
  1022. package/dist/components/marquee/index.js.map +0 -1
  1023. package/dist/components/sidebar/index.js.map +0 -1
  1024. package/dist/components/toaster/index.js.map +0 -1
  1025. package/dist/index.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"splitter.machine.js","sources":["../../../../../../../../../../node_modules/.bun/@zag-js+splitter@1.35.3/node_modules/@zag-js/splitter/dist/splitter.machine.mjs"],"sourcesContent":["// src/splitter.machine.ts\nimport { createMachine } from \"@zag-js/core\";\nimport { trackPointerMove } from \"@zag-js/dom-query\";\nimport { ensure, ensureProps, isEqual, next, prev, setRafTimeout } from \"@zag-js/utils\";\nimport * as dom from \"./splitter.dom.mjs\";\nimport { getAriaValue } from \"./utils/aria.mjs\";\nimport { fuzzyNumbersEqual, fuzzySizeEqual } from \"./utils/fuzzy.mjs\";\nimport {\n findPanelDataIndex,\n getPanelById,\n getPanelLayout,\n getUnsafeDefaultSize,\n panelDataHelper,\n serializePanels,\n sortPanels\n} from \"./utils/panel.mjs\";\nimport { resizeByDelta } from \"./utils/resize-by-delta.mjs\";\nimport { validateSizes } from \"./utils/validate-sizes.mjs\";\nvar machine = createMachine({\n props({ props }) {\n ensureProps(props, [\"panels\"]);\n return {\n orientation: \"horizontal\",\n defaultSize: [],\n dir: \"ltr\",\n ...props,\n panels: sortPanels(props.panels)\n };\n },\n initialState() {\n return \"idle\";\n },\n context({ prop, bindable, getContext, getRefs }) {\n return {\n size: bindable(() => ({\n value: prop(\"size\"),\n defaultValue: prop(\"defaultSize\"),\n isEqual(a, b) {\n return b != null && fuzzySizeEqual(a, b);\n },\n onChange(value) {\n const ctx = getContext();\n const refs = getRefs();\n const sizesBeforeCollapse = refs.get(\"panelSizeBeforeCollapse\");\n const expandToSizes = Object.fromEntries(sizesBeforeCollapse.entries());\n const resizeTriggerId = ctx.get(\"dragState\")?.resizeTriggerId ?? null;\n const layout = getPanelLayout(prop(\"panels\"));\n prop(\"onResize\")?.({\n size: value,\n layout,\n resizeTriggerId,\n expandToSizes\n });\n }\n })),\n dragState: bindable(() => ({\n defaultValue: null\n })),\n keyboardState: bindable(() => ({\n defaultValue: null\n }))\n };\n },\n watch({ track, action, prop }) {\n track([() => serializePanels(prop(\"panels\"))], () => {\n action([\"syncSize\"]);\n });\n },\n refs() {\n return {\n panelSizeBeforeCollapse: /* @__PURE__ */ new Map(),\n prevDelta: 0,\n panelIdToLastNotifiedSizeMap: /* @__PURE__ */ new Map()\n };\n },\n computed: {\n horizontal({ prop }) {\n return prop(\"orientation\") === \"horizontal\";\n }\n },\n on: {\n \"SIZE.SET\": {\n actions: [\"setSize\"]\n },\n \"PANEL.COLLAPSE\": {\n actions: [\"collapsePanel\"]\n },\n \"PANEL.EXPAND\": {\n actions: [\"expandPanel\"]\n },\n \"PANEL.RESIZE\": {\n actions: [\"resizePanel\"]\n }\n },\n entry: [\"syncSize\"],\n exit: [\"clearGlobalCursor\"],\n states: {\n idle: {\n entry: [\"clearDraggingState\", \"clearKeyboardState\"],\n on: {\n POINTER_OVER: {\n target: \"hover:temp\",\n actions: [\"setKeyboardState\"]\n },\n FOCUS: {\n target: \"focused\",\n actions: [\"setKeyboardState\"]\n },\n POINTER_DOWN: {\n target: \"dragging\",\n actions: [\"setDraggingState\"]\n }\n }\n },\n \"hover:temp\": {\n effects: [\"waitForHoverDelay\"],\n on: {\n HOVER_DELAY: {\n target: \"hover\"\n },\n POINTER_DOWN: {\n target: \"dragging\",\n actions: [\"setDraggingState\"]\n },\n POINTER_LEAVE: {\n target: \"idle\"\n }\n }\n },\n hover: {\n tags: [\"focus\"],\n on: {\n POINTER_DOWN: {\n target: \"dragging\",\n actions: [\"setDraggingState\"]\n },\n POINTER_LEAVE: {\n target: \"idle\"\n }\n }\n },\n focused: {\n tags: [\"focus\"],\n on: {\n BLUR: {\n target: \"idle\"\n },\n ENTER: {\n actions: [\"collapseOrExpandPanel\"]\n },\n POINTER_DOWN: {\n target: \"dragging\",\n actions: [\"setDraggingState\"]\n },\n KEYBOARD_MOVE: {\n actions: [\"invokeOnResizeStart\", \"setKeyboardValue\", \"invokeOnResizeEnd\"]\n },\n \"FOCUS.CYCLE\": {\n actions: [\"focusNextResizeTrigger\"]\n }\n }\n },\n dragging: {\n tags: [\"focus\"],\n effects: [\"trackPointerMove\"],\n entry: [\"invokeOnResizeStart\"],\n on: {\n POINTER_MOVE: {\n actions: [\"setPointerValue\", \"setGlobalCursor\"]\n },\n POINTER_UP: {\n target: \"idle\",\n actions: [\"invokeOnResizeEnd\", \"clearGlobalCursor\"]\n }\n }\n }\n },\n implementations: {\n effects: {\n waitForHoverDelay: ({ send }) => {\n return setRafTimeout(() => {\n send({ type: \"HOVER_DELAY\" });\n }, 250);\n },\n trackPointerMove: ({ scope, send }) => {\n const doc = scope.getDoc();\n return trackPointerMove(doc, {\n onPointerMove(info) {\n send({ type: \"POINTER_MOVE\", point: info.point });\n },\n onPointerUp() {\n send({ type: \"POINTER_UP\" });\n }\n });\n }\n },\n actions: {\n setSize(params) {\n const { context, event, prop } = params;\n const unsafeSize = event.size;\n const prevSize = context.get(\"size\");\n const panels = prop(\"panels\");\n const safeSize = validateSizes({\n size: unsafeSize,\n panels\n });\n if (!isEqual(prevSize, safeSize)) {\n setSize(params, safeSize);\n }\n },\n syncSize({ context, prop }) {\n const panels = prop(\"panels\");\n let prevSize = context.get(\"size\");\n let unsafeSize = null;\n if (prevSize.length === 0) {\n unsafeSize = getUnsafeDefaultSize({\n panels,\n size: context.initial(\"size\")\n });\n }\n const nextSize = validateSizes({\n size: unsafeSize ?? prevSize,\n panels\n });\n if (!isEqual(prevSize, nextSize)) {\n context.set(\"size\", nextSize);\n }\n },\n setDraggingState({ context, event, prop, scope }) {\n const orientation = prop(\"orientation\");\n const size = context.get(\"size\");\n const resizeTriggerId = event.id;\n const panelGroupEl = dom.getRootEl(scope);\n if (!panelGroupEl) return;\n const handleElement = dom.getResizeTriggerEl(scope, resizeTriggerId);\n ensure(handleElement, () => `Drag handle element not found for id \"${resizeTriggerId}\"`);\n const initialCursorPosition = orientation === \"horizontal\" ? event.point.x : event.point.y;\n context.set(\"dragState\", {\n resizeTriggerId: event.id,\n resizeTriggerRect: handleElement.getBoundingClientRect(),\n initialCursorPosition,\n initialSize: size\n });\n },\n clearDraggingState({ context }) {\n context.set(\"dragState\", null);\n },\n setKeyboardState({ context, event }) {\n context.set(\"keyboardState\", {\n resizeTriggerId: event.id\n });\n },\n clearKeyboardState({ context }) {\n context.set(\"keyboardState\", null);\n },\n collapsePanel(params) {\n const { context, prop, event, refs } = params;\n const prevSize = context.get(\"size\");\n const panels = prop(\"panels\");\n const panel = panels.find((panel2) => panel2.id === event.id);\n ensure(panel, () => `Panel data not found for id \"${event.id}\"`);\n if (panel.collapsible) {\n const { collapsedSize = 0, panelSize, pivotIndices } = panelDataHelper(panels, panel, prevSize);\n ensure(panelSize, () => `Panel size not found for panel \"${panel.id}\"`);\n if (!fuzzyNumbersEqual(panelSize, collapsedSize)) {\n refs.get(\"panelSizeBeforeCollapse\").set(panel.id, panelSize);\n const isLastPanel = findPanelDataIndex(panels, panel) === panels.length - 1;\n const delta = isLastPanel ? panelSize - collapsedSize : collapsedSize - panelSize;\n const nextSize = resizeByDelta({\n delta,\n initialSize: prevSize,\n panels,\n pivotIndices,\n prevSize,\n trigger: \"imperative-api\"\n });\n if (!isEqual(prevSize, nextSize)) {\n setSize(params, nextSize);\n }\n }\n }\n },\n expandPanel(params) {\n const { context, prop, event, refs } = params;\n const panels = prop(\"panels\");\n const prevSize = context.get(\"size\");\n const panel = panels.find((panel2) => panel2.id === event.id);\n ensure(panel, () => `Panel data not found for id \"${event.id}\"`);\n if (panel.collapsible) {\n const {\n collapsedSize = 0,\n panelSize = 0,\n minSize: minSizeFromProps = 0,\n pivotIndices\n } = panelDataHelper(panels, panel, prevSize);\n const minSize = event.minSize ?? minSizeFromProps;\n if (fuzzyNumbersEqual(panelSize, collapsedSize)) {\n const prevPanelSize = refs.get(\"panelSizeBeforeCollapse\").get(panel.id);\n const baseSize = prevPanelSize != null && prevPanelSize >= minSize ? prevPanelSize : minSize;\n const isLastPanel = findPanelDataIndex(panels, panel) === panels.length - 1;\n const delta = isLastPanel ? panelSize - baseSize : baseSize - panelSize;\n const nextSize = resizeByDelta({\n delta,\n initialSize: prevSize,\n panels,\n pivotIndices,\n prevSize,\n trigger: \"imperative-api\"\n });\n if (!isEqual(prevSize, nextSize)) {\n setSize(params, nextSize);\n }\n }\n }\n },\n resizePanel(params) {\n const { context, prop, event } = params;\n const prevSize = context.get(\"size\");\n const panels = prop(\"panels\");\n const panel = getPanelById(panels, event.id);\n const unsafePanelSize = event.size;\n const { panelSize, pivotIndices } = panelDataHelper(panels, panel, prevSize);\n ensure(panelSize, () => `Panel size not found for panel \"${panel.id}\"`);\n const isLastPanel = findPanelDataIndex(panels, panel) === panels.length - 1;\n const delta = isLastPanel ? panelSize - unsafePanelSize : unsafePanelSize - panelSize;\n const nextSize = resizeByDelta({\n delta,\n initialSize: prevSize,\n panels,\n pivotIndices,\n prevSize,\n trigger: \"imperative-api\"\n });\n if (!isEqual(prevSize, nextSize)) {\n setSize(params, nextSize);\n }\n },\n setPointerValue(params) {\n const { context, event, prop, scope } = params;\n const dragState = context.get(\"dragState\");\n if (!dragState) return;\n const { resizeTriggerId, initialSize, initialCursorPosition } = dragState;\n const panels = prop(\"panels\");\n const panelGroupElement = dom.getRootEl(scope);\n ensure(panelGroupElement, () => `Panel group element not found`);\n const pivotIndices = resizeTriggerId.split(\":\").map((id) => panels.findIndex((panel) => panel.id === id));\n const horizontal = prop(\"orientation\") === \"horizontal\";\n const cursorPosition = horizontal ? event.point.x : event.point.y;\n const groupRect = panelGroupElement.getBoundingClientRect();\n const groupSizeInPixels = horizontal ? groupRect.width : groupRect.height;\n const offsetPixels = cursorPosition - initialCursorPosition;\n const offsetPercentage = offsetPixels / groupSizeInPixels * 100;\n const prevSize = context.get(\"size\");\n const nextSize = resizeByDelta({\n delta: offsetPercentage,\n initialSize: initialSize ?? prevSize,\n panels,\n pivotIndices,\n prevSize,\n trigger: \"mouse-or-touch\"\n });\n if (!isEqual(prevSize, nextSize)) {\n setSize(params, nextSize);\n }\n },\n setKeyboardValue(params) {\n const { context, event, prop } = params;\n const panelDataArray = prop(\"panels\");\n const resizeTriggerId = event.id;\n const delta = event.delta;\n const pivotIndices = resizeTriggerId.split(\":\").map((id) => panelDataArray.findIndex((panelData) => panelData.id === id));\n const prevSize = context.get(\"size\");\n const nextSize = resizeByDelta({\n delta,\n initialSize: prevSize,\n panels: panelDataArray,\n pivotIndices,\n prevSize,\n trigger: \"keyboard\"\n });\n if (!isEqual(prevSize, nextSize)) {\n setSize(params, nextSize);\n }\n },\n invokeOnResizeEnd({ context, prop }) {\n queueMicrotask(() => {\n const dragState = context.get(\"dragState\");\n prop(\"onResizeEnd\")?.({\n size: context.get(\"size\"),\n resizeTriggerId: dragState?.resizeTriggerId ?? null\n });\n });\n },\n invokeOnResizeStart({ prop }) {\n queueMicrotask(() => {\n prop(\"onResizeStart\")?.();\n });\n },\n collapseOrExpandPanel(params) {\n const { context, prop } = params;\n const panelDataArray = prop(\"panels\");\n const sizes = context.get(\"size\");\n const resizeTriggerId = context.get(\"keyboardState\")?.resizeTriggerId;\n const [idBefore, idAfter] = resizeTriggerId?.split(\":\") ?? [];\n const index = panelDataArray.findIndex((panelData2) => panelData2.id === idBefore);\n if (index === -1) return;\n const panelData = panelDataArray[index];\n ensure(panelData, () => `No panel data found for index ${index}`);\n const size = sizes[index];\n const { collapsedSize = 0, collapsible, minSize = 0 } = panelData;\n if (size != null && collapsible) {\n const pivotIndices = [idBefore, idAfter].map(\n (id) => panelDataArray.findIndex((panelData2) => panelData2.id === id)\n );\n const nextSize = resizeByDelta({\n delta: fuzzyNumbersEqual(size, collapsedSize) ? minSize - collapsedSize : collapsedSize - size,\n initialSize: context.initial(\"size\"),\n panels: panelDataArray,\n pivotIndices,\n prevSize: sizes,\n trigger: \"keyboard\"\n });\n if (!isEqual(sizes, nextSize)) {\n setSize(params, nextSize);\n }\n }\n },\n setGlobalCursor({ context, scope, prop }) {\n const dragState = context.get(\"dragState\");\n if (!dragState) return;\n const panels = prop(\"panels\");\n const horizontal = prop(\"orientation\") === \"horizontal\";\n const [idBefore] = dragState.resizeTriggerId.split(\":\");\n const indexBefore = panels.findIndex((panel2) => panel2.id === idBefore);\n const panel = panels[indexBefore];\n const size = context.get(\"size\");\n const aria = getAriaValue(size, panels, dragState.resizeTriggerId);\n const isAtMin = fuzzyNumbersEqual(aria.valueNow, aria.valueMin) || fuzzyNumbersEqual(aria.valueNow, panel.collapsedSize);\n const isAtMax = fuzzyNumbersEqual(aria.valueNow, aria.valueMax);\n const cursorState = { isAtMin, isAtMax };\n dom.setupGlobalCursor(scope, cursorState, horizontal, prop(\"nonce\"));\n },\n clearGlobalCursor({ scope }) {\n dom.removeGlobalCursor(scope);\n },\n focusNextResizeTrigger({ event, scope }) {\n const resizeTriggers = dom.getResizeTriggerEls(scope);\n const index = resizeTriggers.findIndex((el) => el.dataset.id === event.id);\n const handleEl = event.shiftKey ? prev(resizeTriggers, index) : next(resizeTriggers, index);\n handleEl?.focus();\n }\n }\n }\n});\nfunction setSize(params, sizes) {\n const { refs, prop, context } = params;\n const panelsArray = prop(\"panels\");\n const onCollapse = prop(\"onCollapse\");\n const onExpand = prop(\"onExpand\");\n const panelIdToLastNotifiedSizeMap = refs.get(\"panelIdToLastNotifiedSizeMap\");\n context.set(\"size\", sizes);\n sizes.forEach((size, index) => {\n const panelData = panelsArray[index];\n ensure(panelData, () => `Panel data not found for index ${index}`);\n const { collapsedSize = 0, collapsible, id: panelId } = panelData;\n const lastNotifiedSize = panelIdToLastNotifiedSizeMap.get(panelId);\n if (lastNotifiedSize == null || size !== lastNotifiedSize) {\n panelIdToLastNotifiedSizeMap.set(panelId, size);\n if (collapsible && (onCollapse || onExpand)) {\n if ((lastNotifiedSize == null || fuzzyNumbersEqual(lastNotifiedSize, collapsedSize)) && !fuzzyNumbersEqual(size, collapsedSize)) {\n onExpand?.({ panelId, size });\n }\n if (onCollapse && (lastNotifiedSize == null || !fuzzyNumbersEqual(lastNotifiedSize, collapsedSize)) && fuzzyNumbersEqual(size, collapsedSize)) {\n onCollapse?.({ panelId, size });\n }\n }\n }\n });\n}\nexport {\n machine\n};\n"],"names":["machine","createMachine","props","ensureProps","sortPanels","prop","bindable","getContext","getRefs","b","fuzzySizeEqual","value","ctx","sizesBeforeCollapse","expandToSizes","resizeTriggerId","layout","getPanelLayout","track","action","serializePanels","send","setRafTimeout","scope","doc","trackPointerMove","info","params","context","event","unsafeSize","prevSize","panels","safeSize","validateSizes","isEqual","setSize","getUnsafeDefaultSize","nextSize","orientation","size","dom.getRootEl","handleElement","dom.getResizeTriggerEl","ensure","initialCursorPosition","refs","panel","panel2","collapsedSize","panelSize","pivotIndices","panelDataHelper","fuzzyNumbersEqual","delta","findPanelDataIndex","resizeByDelta","minSizeFromProps","minSize","prevPanelSize","baseSize","getPanelById","unsafePanelSize","dragState","initialSize","panelGroupElement","id","horizontal","cursorPosition","groupRect","groupSizeInPixels","offsetPercentage","panelDataArray","panelData","sizes","idBefore","idAfter","index","panelData2","collapsible","indexBefore","aria","getAriaValue","isAtMin","isAtMax","dom.setupGlobalCursor","dom.removeGlobalCursor","resizeTriggers","dom.getResizeTriggerEls","el","prev","next","panelsArray","onCollapse","onExpand","panelIdToLastNotifiedSizeMap","panelId","lastNotifiedSize"],"mappings":";;;;;;;;;;;;AAkBG,IAACA,KAAUC,EAAc;AAAA,EAC1B,MAAM,EAAE,OAAAC,KAAS;AACf,WAAAC,EAAYD,GAAO,CAAC,QAAQ,CAAC,GACtB;AAAA,MACL,aAAa;AAAA,MACb,aAAa,CAAA;AAAA,MACb,KAAK;AAAA,MACL,GAAGA;AAAA,MACH,QAAQE,EAAWF,EAAM,MAAM;AAAA,IACrC;AAAA,EACE;AAAA,EACA,eAAe;AACb,WAAO;AAAA,EACT;AAAA,EACA,QAAQ,EAAE,MAAAG,GAAM,UAAAC,GAAU,YAAAC,GAAY,SAAAC,EAAO,GAAI;AAC/C,WAAO;AAAA,MACL,MAAMF,EAAS,OAAO;AAAA,QACpB,OAAOD,EAAK,MAAM;AAAA,QAClB,cAAcA,EAAK,aAAa;AAAA,QAChC,QAAQ,GAAGI,GAAG;AACZ,iBAAOA,KAAK,QAAQC,EAAe,GAAGD,CAAC;AAAA,QACzC;AAAA,QACA,SAASE,GAAO;AACd,gBAAMC,IAAML,EAAU,GAEhBM,IADOL,EAAO,EACa,IAAI,yBAAyB,GACxDM,IAAgB,OAAO,YAAYD,EAAoB,QAAO,CAAE,GAChEE,IAAkBH,EAAI,IAAI,WAAW,GAAG,mBAAmB,MAC3DI,IAASC,EAAeZ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MAAeI,KAAoB,QAAQ,CAAC5C,EAAkB4C,GAAkBhD,CAAa,MAAMI,EAAkBb,GAAMS,CAAa,KAC1I4C,IAAa,EAAE,SAAAG,GAAS,MAAAxD,GAAM;AAAA,EAItC,CAAC;AACH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"splitter.machine.js","names":["dom.getRootEl","dom.getResizeTriggerEl","dom.getResizeTriggerEls"],"sources":["../../../../../../../../../../node_modules/.bun/@zag-js+splitter@1.35.3/node_modules/@zag-js/splitter/dist/splitter.machine.mjs"],"sourcesContent":["// src/splitter.machine.ts\nimport { createMachine } from \"@zag-js/core\";\nimport { trackPointerMove } from \"@zag-js/dom-query\";\nimport { ensure, ensureProps, isEqual, next, prev, setRafTimeout } from \"@zag-js/utils\";\nimport * as dom from \"./splitter.dom.mjs\";\nimport { getAriaValue } from \"./utils/aria.mjs\";\nimport { fuzzyNumbersEqual, fuzzySizeEqual } from \"./utils/fuzzy.mjs\";\nimport {\n findPanelDataIndex,\n getPanelById,\n getPanelLayout,\n getUnsafeDefaultSize,\n panelDataHelper,\n serializePanels,\n sortPanels\n} from \"./utils/panel.mjs\";\nimport { resizeByDelta } from \"./utils/resize-by-delta.mjs\";\nimport { validateSizes } from \"./utils/validate-sizes.mjs\";\nvar machine = createMachine({\n props({ props }) {\n ensureProps(props, [\"panels\"]);\n return {\n orientation: \"horizontal\",\n defaultSize: [],\n dir: \"ltr\",\n ...props,\n panels: sortPanels(props.panels)\n };\n },\n initialState() {\n return \"idle\";\n },\n context({ prop, bindable, getContext, getRefs }) {\n return {\n size: bindable(() => ({\n value: prop(\"size\"),\n defaultValue: prop(\"defaultSize\"),\n isEqual(a, b) {\n return b != null && fuzzySizeEqual(a, b);\n },\n onChange(value) {\n const ctx = getContext();\n const refs = getRefs();\n const sizesBeforeCollapse = refs.get(\"panelSizeBeforeCollapse\");\n const expandToSizes = Object.fromEntries(sizesBeforeCollapse.entries());\n const resizeTriggerId = ctx.get(\"dragState\")?.resizeTriggerId ?? null;\n const layout = getPanelLayout(prop(\"panels\"));\n prop(\"onResize\")?.({\n size: value,\n layout,\n resizeTriggerId,\n expandToSizes\n });\n }\n })),\n dragState: bindable(() => ({\n defaultValue: null\n })),\n keyboardState: bindable(() => ({\n defaultValue: null\n }))\n };\n },\n watch({ track, action, prop }) {\n track([() => serializePanels(prop(\"panels\"))], () => {\n action([\"syncSize\"]);\n });\n },\n refs() {\n return {\n panelSizeBeforeCollapse: /* @__PURE__ */ new Map(),\n prevDelta: 0,\n panelIdToLastNotifiedSizeMap: /* @__PURE__ */ new Map()\n };\n },\n computed: {\n horizontal({ prop }) {\n return prop(\"orientation\") === \"horizontal\";\n }\n },\n on: {\n \"SIZE.SET\": {\n actions: [\"setSize\"]\n },\n \"PANEL.COLLAPSE\": {\n actions: [\"collapsePanel\"]\n },\n \"PANEL.EXPAND\": {\n actions: [\"expandPanel\"]\n },\n \"PANEL.RESIZE\": {\n actions: [\"resizePanel\"]\n }\n },\n entry: [\"syncSize\"],\n exit: [\"clearGlobalCursor\"],\n states: {\n idle: {\n entry: [\"clearDraggingState\", \"clearKeyboardState\"],\n on: {\n POINTER_OVER: {\n target: \"hover:temp\",\n actions: [\"setKeyboardState\"]\n },\n FOCUS: {\n target: \"focused\",\n actions: [\"setKeyboardState\"]\n },\n POINTER_DOWN: {\n target: \"dragging\",\n actions: [\"setDraggingState\"]\n }\n }\n },\n \"hover:temp\": {\n effects: [\"waitForHoverDelay\"],\n on: {\n HOVER_DELAY: {\n target: \"hover\"\n },\n POINTER_DOWN: {\n target: \"dragging\",\n actions: [\"setDraggingState\"]\n },\n POINTER_LEAVE: {\n target: \"idle\"\n }\n }\n },\n hover: {\n tags: [\"focus\"],\n on: {\n POINTER_DOWN: {\n target: \"dragging\",\n actions: [\"setDraggingState\"]\n },\n POINTER_LEAVE: {\n target: \"idle\"\n }\n }\n },\n focused: {\n tags: [\"focus\"],\n on: {\n BLUR: {\n target: \"idle\"\n },\n ENTER: {\n actions: [\"collapseOrExpandPanel\"]\n },\n POINTER_DOWN: {\n target: \"dragging\",\n actions: [\"setDraggingState\"]\n },\n KEYBOARD_MOVE: {\n actions: [\"invokeOnResizeStart\", \"setKeyboardValue\", \"invokeOnResizeEnd\"]\n },\n \"FOCUS.CYCLE\": {\n actions: [\"focusNextResizeTrigger\"]\n }\n }\n },\n dragging: {\n tags: [\"focus\"],\n effects: [\"trackPointerMove\"],\n entry: [\"invokeOnResizeStart\"],\n on: {\n POINTER_MOVE: {\n actions: [\"setPointerValue\", \"setGlobalCursor\"]\n },\n POINTER_UP: {\n target: \"idle\",\n actions: [\"invokeOnResizeEnd\", \"clearGlobalCursor\"]\n }\n }\n }\n },\n implementations: {\n effects: {\n waitForHoverDelay: ({ send }) => {\n return setRafTimeout(() => {\n send({ type: \"HOVER_DELAY\" });\n }, 250);\n },\n trackPointerMove: ({ scope, send }) => {\n const doc = scope.getDoc();\n return trackPointerMove(doc, {\n onPointerMove(info) {\n send({ type: \"POINTER_MOVE\", point: info.point });\n },\n onPointerUp() {\n send({ type: \"POINTER_UP\" });\n }\n });\n }\n },\n actions: {\n setSize(params) {\n const { context, event, prop } = params;\n const unsafeSize = event.size;\n const prevSize = context.get(\"size\");\n const panels = prop(\"panels\");\n const safeSize = validateSizes({\n size: unsafeSize,\n panels\n });\n if (!isEqual(prevSize, safeSize)) {\n setSize(params, safeSize);\n }\n },\n syncSize({ context, prop }) {\n const panels = prop(\"panels\");\n let prevSize = context.get(\"size\");\n let unsafeSize = null;\n if (prevSize.length === 0) {\n unsafeSize = getUnsafeDefaultSize({\n panels,\n size: context.initial(\"size\")\n });\n }\n const nextSize = validateSizes({\n size: unsafeSize ?? prevSize,\n panels\n });\n if (!isEqual(prevSize, nextSize)) {\n context.set(\"size\", nextSize);\n }\n },\n setDraggingState({ context, event, prop, scope }) {\n const orientation = prop(\"orientation\");\n const size = context.get(\"size\");\n const resizeTriggerId = event.id;\n const panelGroupEl = dom.getRootEl(scope);\n if (!panelGroupEl) return;\n const handleElement = dom.getResizeTriggerEl(scope, resizeTriggerId);\n ensure(handleElement, () => `Drag handle element not found for id \"${resizeTriggerId}\"`);\n const initialCursorPosition = orientation === \"horizontal\" ? event.point.x : event.point.y;\n context.set(\"dragState\", {\n resizeTriggerId: event.id,\n resizeTriggerRect: handleElement.getBoundingClientRect(),\n initialCursorPosition,\n initialSize: size\n });\n },\n clearDraggingState({ context }) {\n context.set(\"dragState\", null);\n },\n setKeyboardState({ context, event }) {\n context.set(\"keyboardState\", {\n resizeTriggerId: event.id\n });\n },\n clearKeyboardState({ context }) {\n context.set(\"keyboardState\", null);\n },\n collapsePanel(params) {\n const { context, prop, event, refs } = params;\n const prevSize = context.get(\"size\");\n const panels = prop(\"panels\");\n const panel = panels.find((panel2) => panel2.id === event.id);\n ensure(panel, () => `Panel data not found for id \"${event.id}\"`);\n if (panel.collapsible) {\n const { collapsedSize = 0, panelSize, pivotIndices } = panelDataHelper(panels, panel, prevSize);\n ensure(panelSize, () => `Panel size not found for panel \"${panel.id}\"`);\n if (!fuzzyNumbersEqual(panelSize, collapsedSize)) {\n refs.get(\"panelSizeBeforeCollapse\").set(panel.id, panelSize);\n const isLastPanel = findPanelDataIndex(panels, panel) === panels.length - 1;\n const delta = isLastPanel ? panelSize - collapsedSize : collapsedSize - panelSize;\n const nextSize = resizeByDelta({\n delta,\n initialSize: prevSize,\n panels,\n pivotIndices,\n prevSize,\n trigger: \"imperative-api\"\n });\n if (!isEqual(prevSize, nextSize)) {\n setSize(params, nextSize);\n }\n }\n }\n },\n expandPanel(params) {\n const { context, prop, event, refs } = params;\n const panels = prop(\"panels\");\n const prevSize = context.get(\"size\");\n const panel = panels.find((panel2) => panel2.id === event.id);\n ensure(panel, () => `Panel data not found for id \"${event.id}\"`);\n if (panel.collapsible) {\n const {\n collapsedSize = 0,\n panelSize = 0,\n minSize: minSizeFromProps = 0,\n pivotIndices\n } = panelDataHelper(panels, panel, prevSize);\n const minSize = event.minSize ?? minSizeFromProps;\n if (fuzzyNumbersEqual(panelSize, collapsedSize)) {\n const prevPanelSize = refs.get(\"panelSizeBeforeCollapse\").get(panel.id);\n const baseSize = prevPanelSize != null && prevPanelSize >= minSize ? prevPanelSize : minSize;\n const isLastPanel = findPanelDataIndex(panels, panel) === panels.length - 1;\n const delta = isLastPanel ? panelSize - baseSize : baseSize - panelSize;\n const nextSize = resizeByDelta({\n delta,\n initialSize: prevSize,\n panels,\n pivotIndices,\n prevSize,\n trigger: \"imperative-api\"\n });\n if (!isEqual(prevSize, nextSize)) {\n setSize(params, nextSize);\n }\n }\n }\n },\n resizePanel(params) {\n const { context, prop, event } = params;\n const prevSize = context.get(\"size\");\n const panels = prop(\"panels\");\n const panel = getPanelById(panels, event.id);\n const unsafePanelSize = event.size;\n const { panelSize, pivotIndices } = panelDataHelper(panels, panel, prevSize);\n ensure(panelSize, () => `Panel size not found for panel \"${panel.id}\"`);\n const isLastPanel = findPanelDataIndex(panels, panel) === panels.length - 1;\n const delta = isLastPanel ? panelSize - unsafePanelSize : unsafePanelSize - panelSize;\n const nextSize = resizeByDelta({\n delta,\n initialSize: prevSize,\n panels,\n pivotIndices,\n prevSize,\n trigger: \"imperative-api\"\n });\n if (!isEqual(prevSize, nextSize)) {\n setSize(params, nextSize);\n }\n },\n setPointerValue(params) {\n const { context, event, prop, scope } = params;\n const dragState = context.get(\"dragState\");\n if (!dragState) return;\n const { resizeTriggerId, initialSize, initialCursorPosition } = dragState;\n const panels = prop(\"panels\");\n const panelGroupElement = dom.getRootEl(scope);\n ensure(panelGroupElement, () => `Panel group element not found`);\n const pivotIndices = resizeTriggerId.split(\":\").map((id) => panels.findIndex((panel) => panel.id === id));\n const horizontal = prop(\"orientation\") === \"horizontal\";\n const cursorPosition = horizontal ? event.point.x : event.point.y;\n const groupRect = panelGroupElement.getBoundingClientRect();\n const groupSizeInPixels = horizontal ? groupRect.width : groupRect.height;\n const offsetPixels = cursorPosition - initialCursorPosition;\n const offsetPercentage = offsetPixels / groupSizeInPixels * 100;\n const prevSize = context.get(\"size\");\n const nextSize = resizeByDelta({\n delta: offsetPercentage,\n initialSize: initialSize ?? prevSize,\n panels,\n pivotIndices,\n prevSize,\n trigger: \"mouse-or-touch\"\n });\n if (!isEqual(prevSize, nextSize)) {\n setSize(params, nextSize);\n }\n },\n setKeyboardValue(params) {\n const { context, event, prop } = params;\n const panelDataArray = prop(\"panels\");\n const resizeTriggerId = event.id;\n const delta = event.delta;\n const pivotIndices = resizeTriggerId.split(\":\").map((id) => panelDataArray.findIndex((panelData) => panelData.id === id));\n const prevSize = context.get(\"size\");\n const nextSize = resizeByDelta({\n delta,\n initialSize: prevSize,\n panels: panelDataArray,\n pivotIndices,\n prevSize,\n trigger: \"keyboard\"\n });\n if (!isEqual(prevSize, nextSize)) {\n setSize(params, nextSize);\n }\n },\n invokeOnResizeEnd({ context, prop }) {\n queueMicrotask(() => {\n const dragState = context.get(\"dragState\");\n prop(\"onResizeEnd\")?.({\n size: context.get(\"size\"),\n resizeTriggerId: dragState?.resizeTriggerId ?? null\n });\n });\n },\n invokeOnResizeStart({ prop }) {\n queueMicrotask(() => {\n prop(\"onResizeStart\")?.();\n });\n },\n collapseOrExpandPanel(params) {\n const { context, prop } = params;\n const panelDataArray = prop(\"panels\");\n const sizes = context.get(\"size\");\n const resizeTriggerId = context.get(\"keyboardState\")?.resizeTriggerId;\n const [idBefore, idAfter] = resizeTriggerId?.split(\":\") ?? [];\n const index = panelDataArray.findIndex((panelData2) => panelData2.id === idBefore);\n if (index === -1) return;\n const panelData = panelDataArray[index];\n ensure(panelData, () => `No panel data found for index ${index}`);\n const size = sizes[index];\n const { collapsedSize = 0, collapsible, minSize = 0 } = panelData;\n if (size != null && collapsible) {\n const pivotIndices = [idBefore, idAfter].map(\n (id) => panelDataArray.findIndex((panelData2) => panelData2.id === id)\n );\n const nextSize = resizeByDelta({\n delta: fuzzyNumbersEqual(size, collapsedSize) ? minSize - collapsedSize : collapsedSize - size,\n initialSize: context.initial(\"size\"),\n panels: panelDataArray,\n pivotIndices,\n prevSize: sizes,\n trigger: \"keyboard\"\n });\n if (!isEqual(sizes, nextSize)) {\n setSize(params, nextSize);\n }\n }\n },\n setGlobalCursor({ context, scope, prop }) {\n const dragState = context.get(\"dragState\");\n if (!dragState) return;\n const panels = prop(\"panels\");\n const horizontal = prop(\"orientation\") === \"horizontal\";\n const [idBefore] = dragState.resizeTriggerId.split(\":\");\n const indexBefore = panels.findIndex((panel2) => panel2.id === idBefore);\n const panel = panels[indexBefore];\n const size = context.get(\"size\");\n const aria = getAriaValue(size, panels, dragState.resizeTriggerId);\n const isAtMin = fuzzyNumbersEqual(aria.valueNow, aria.valueMin) || fuzzyNumbersEqual(aria.valueNow, panel.collapsedSize);\n const isAtMax = fuzzyNumbersEqual(aria.valueNow, aria.valueMax);\n const cursorState = { isAtMin, isAtMax };\n dom.setupGlobalCursor(scope, cursorState, horizontal, prop(\"nonce\"));\n },\n clearGlobalCursor({ scope }) {\n dom.removeGlobalCursor(scope);\n },\n focusNextResizeTrigger({ event, scope }) {\n const resizeTriggers = dom.getResizeTriggerEls(scope);\n const index = resizeTriggers.findIndex((el) => el.dataset.id === event.id);\n const handleEl = event.shiftKey ? prev(resizeTriggers, index) : next(resizeTriggers, index);\n handleEl?.focus();\n }\n }\n }\n});\nfunction setSize(params, sizes) {\n const { refs, prop, context } = params;\n const panelsArray = prop(\"panels\");\n const onCollapse = prop(\"onCollapse\");\n const onExpand = prop(\"onExpand\");\n const panelIdToLastNotifiedSizeMap = refs.get(\"panelIdToLastNotifiedSizeMap\");\n context.set(\"size\", sizes);\n sizes.forEach((size, index) => {\n const panelData = panelsArray[index];\n ensure(panelData, () => `Panel data not found for index ${index}`);\n const { collapsedSize = 0, collapsible, id: panelId } = panelData;\n const lastNotifiedSize = panelIdToLastNotifiedSizeMap.get(panelId);\n if (lastNotifiedSize == null || size !== lastNotifiedSize) {\n panelIdToLastNotifiedSizeMap.set(panelId, size);\n if (collapsible && (onCollapse || onExpand)) {\n if ((lastNotifiedSize == null || fuzzyNumbersEqual(lastNotifiedSize, collapsedSize)) && !fuzzyNumbersEqual(size, collapsedSize)) {\n onExpand?.({ panelId, size });\n }\n if (onCollapse && (lastNotifiedSize == null || !fuzzyNumbersEqual(lastNotifiedSize, collapsedSize)) && fuzzyNumbersEqual(size, collapsedSize)) {\n onCollapse?.({ panelId, size });\n }\n }\n }\n });\n}\nexport {\n machine\n};\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;;AAkBA,IAAI,IAAU,EAAc;CAC1B,MAAM,EAAE,YAAS;AAEf,SADA,EAAY,GAAO,CAAC,SAAS,CAAC,EACvB;GACL,aAAa;GACb,aAAa,EAAE;GACf,KAAK;GACL,GAAG;GACH,QAAQ,EAAW,EAAM,OAAO;GACjC;;CAEH,eAAe;AACb,SAAO;;CAET,QAAQ,EAAE,SAAM,aAAU,eAAY,cAAW;AAC/C,SAAO;GACL,MAAM,SAAgB;IACpB,OAAO,EAAK,OAAO;IACnB,cAAc,EAAK,cAAc;IACjC,QAAQ,GAAG,GAAG;AACZ,YAAO,KAAK,QAAQ,EAAe,GAAG,EAAE;;IAE1C,SAAS,GAAO;KACd,IAAM,IAAM,GAAY,EAElB,IADO,GAAS,CACW,IAAI,0BAA0B,EACzD,IAAgB,OAAO,YAAY,EAAoB,SAAS,CAAC,EACjE,IAAkB,EAAI,IAAI,YAAY,EAAE,mBAAmB,MAC3D,IAAS,EAAe,EAAK,SAAS,CAAC;AAC7C,OAAK,WAAW,GAAG;MACjB,MAAM;MACN;MACA;MACA;MACD,CAAC;;IAEL,EAAE;GACH,WAAW,SAAgB,EACzB,cAAc,MACf,EAAE;GACH,eAAe,SAAgB,EAC7B,cAAc,MACf,EAAE;GACJ;;CAEH,MAAM,EAAE,UAAO,WAAQ,WAAQ;AAC7B,IAAM,OAAO,EAAgB,EAAK,SAAS,CAAC,CAAC,QAAQ;AACnD,KAAO,CAAC,WAAW,CAAC;IACpB;;CAEJ,OAAO;AACL,SAAO;GACL,yCAAyC,IAAI,K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AK,SAAS;KACvB,EACE,GAAY,EAAK,QAAQ,CAAC;;GAEtE,kBAAkB,EAAE,YAAS;AAC3B,MAAuB,EAAM;;GAE/B,uBAAuB,EAAE,UAAO,YAAS;IACvC,IAAM,IAAiBE,EAAwB,EAAM,EAC/C,IAAQ,EAAe,WAAW,MAAO,EAAG,QAAQ,OAAO,EAAM,GAAG;AAE1E,KADiB,EAAM,WAAW,EAAK,GAAgB,EAAM,GAAG,EAAK,GAAgB,EAAM,GACjF,OAAO;;GAEpB;EACF;CACF,CAAC;AACF,SAAS,EAAQ,GAAQ,GAAO;CAC9B,IAAM,EAAE,SAAM,SAAM,eAAY,GAC1B,IAAc,EAAK,SAAS,EAC5B,IAAa,EAAK,aAAa,EAC/B,IAAW,EAAK,WAAW,EAC3B,IAA+B,EAAK,IAAI,+BAA+B;AAE7E,CADA,EAAQ,IAAI,QAAQ,EAAM,EAC1B,EAAM,SAAS,GAAM,MAAU;EAC7B,IAAM,IAAY,EAAY;AAC9B,IAAO,SAAiB,kCAAkC,IAAQ;EAClE,IAAM,EAAE,mBAAgB,GAAG,gBAAa,IAAI,MAAY,GAClD,IAAmB,EAA6B,IAAI,EAAQ;AAClE,GAAI,KAAoB,QAAQ,MAAS,OACvC,EAA6B,IAAI,GAAS,EAAK,EAC3C,MAAgB,KAAc,QAC3B,KAAoB,QAAQ,EAAkB,GAAkB,EAAc,KAAK,CAAC,EAAkB,GAAM,EAAc,IAC7H,IAAW;GAAE;GAAS;GAAM,CAAC,EAE3B,MAAe,KAAoB,QAAQ,CAAC,EAAkB,GAAkB,EAAc,KAAK,EAAkB,GAAM,EAAc,IAC3I,IAAa;GAAE;GAAS;GAAM,CAAC;GAIrC"}
@@ -1,38 +1,31 @@
1
- import { ensure as v } from "../../../../../../@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/warning.js";
2
- function I({
3
- size: l,
4
- panels: e,
5
- pivotIndices: d
6
- }) {
7
- let t = 0, n = 100, o = 0, u = 0;
8
- const a = d[0];
9
- v(a, () => "No pivot index found"), e.forEach((f, s) => {
10
- const { maxSize: M = 100, minSize: x = 0 } = f;
11
- s === a ? (t = x, n = M) : (o += x, u += M);
12
- });
13
- const c = Math.min(n, 100 - o), r = Math.max(t, 100 - u), i = l[a];
14
- return {
15
- valueMax: c,
16
- valueMin: r,
17
- valueNow: i
18
- };
1
+ import { ensure as e } from "../../../../../../@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/warning.js";
2
+ //#region ../../node_modules/.bun/@zag-js+splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/aria.mjs
3
+ function t({ size: t, panels: n, pivotIndices: r }) {
4
+ let i = 0, a = 100, o = 0, s = 0, c = r[0];
5
+ return e(c, () => "No pivot index found"), n.forEach((e, t) => {
6
+ let { maxSize: n = 100, minSize: r = 0 } = e;
7
+ t === c ? (i = r, a = n) : (o += r, s += n);
8
+ }), {
9
+ valueMax: Math.min(a, 100 - o),
10
+ valueMin: Math.max(i, 100 - s),
11
+ valueNow: t[c]
12
+ };
19
13
  }
20
- function m(l, e, d) {
21
- const [t, n] = d.split(":"), o = e.findIndex((i) => i.id === t), u = e.findIndex((i) => i.id === n), { valueMax: a, valueMin: c, valueNow: r } = I({
22
- size: l,
23
- panels: e,
24
- pivotIndices: [o, u]
25
- });
26
- return {
27
- beforeId: t,
28
- afterId: n,
29
- valueMax: Math.round(a),
30
- valueMin: Math.round(c),
31
- valueNow: r != null ? Math.round(r) : void 0
32
- };
14
+ function n(e, n, r) {
15
+ let [i, a] = r.split(":"), { valueMax: o, valueMin: s, valueNow: c } = t({
16
+ size: e,
17
+ panels: n,
18
+ pivotIndices: [n.findIndex((e) => e.id === i), n.findIndex((e) => e.id === a)]
19
+ });
20
+ return {
21
+ beforeId: i,
22
+ afterId: a,
23
+ valueMax: Math.round(o),
24
+ valueMin: Math.round(s),
25
+ valueNow: c == null ? void 0 : Math.round(c)
26
+ };
33
27
  }
34
- export {
35
- I as calculateAriaValues,
36
- m as getAriaValue
37
- };
38
- //# sourceMappingURL=aria.js.map
28
+ //#endregion
29
+ export { n as getAriaValue };
30
+
31
+ //# sourceMappingURL=aria.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"aria.js","sources":["../../../../../../../../../../../node_modules/.bun/@zag-js+splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/aria.mjs"],"sourcesContent":["// src/utils/aria.ts\nimport { ensure } from \"@zag-js/utils\";\nfunction calculateAriaValues({\n size,\n panels,\n pivotIndices\n}) {\n let currentMinSize = 0;\n let currentMaxSize = 100;\n let totalMinSize = 0;\n let totalMaxSize = 0;\n const firstIndex = pivotIndices[0];\n ensure(firstIndex, () => \"No pivot index found\");\n panels.forEach((panel, index) => {\n const { maxSize = 100, minSize = 0 } = panel;\n if (index === firstIndex) {\n currentMinSize = minSize;\n currentMaxSize = maxSize;\n } else {\n totalMinSize += minSize;\n totalMaxSize += maxSize;\n }\n });\n const valueMax = Math.min(currentMaxSize, 100 - totalMinSize);\n const valueMin = Math.max(currentMinSize, 100 - totalMaxSize);\n const valueNow = size[firstIndex];\n return {\n valueMax,\n valueMin,\n valueNow\n };\n}\nfunction getAriaValue(size, panels, handleId) {\n const [beforeId, afterId] = handleId.split(\":\");\n const beforeIndex = panels.findIndex((panel) => panel.id === beforeId);\n const afterIndex = panels.findIndex((panel) => panel.id === afterId);\n const { valueMax, valueMin, valueNow } = calculateAriaValues({\n size,\n panels,\n pivotIndices: [beforeIndex, afterIndex]\n });\n return {\n beforeId,\n afterId,\n valueMax: Math.round(valueMax),\n valueMin: Math.round(valueMin),\n valueNow: valueNow != null ? Math.round(valueNow) : void 0\n };\n}\nexport {\n calculateAriaValues,\n getAriaValue\n};\n"],"names":["calculateAriaValues","size","panels","pivotIndices","currentMinSize","currentMaxSize","totalMinSize","totalMaxSize","firstIndex","ensure","panel","index","maxSize","minSize","valueMax","valueMin","valueNow","getAriaValue","handleId","beforeId","afterId","beforeIndex","afterIndex"],"mappings":";AAEA,SAASA,EAAoB;AAAA,EAC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ria.js","names":[],"sources":["../../../../../../../../../../../node_modules/.bun/@zag-js+splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/aria.mjs"],"sourcesContent":["// src/utils/aria.ts\nimport { ensure } from \"@zag-js/utils\";\nfunction calculateAriaValues({\n size,\n panels,\n pivotIndices\n}) {\n let currentMinSize = 0;\n let currentMaxSize = 100;\n let totalMinSize = 0;\n let totalMaxSize = 0;\n const firstIndex = pivotIndices[0];\n ensure(firstIndex, () => \"No pivot index found\");\n panels.forEach((panel, index) => {\n const { maxSize = 100, minSize = 0 } = panel;\n if (index === firstIndex) {\n currentMinSize = minSize;\n currentMaxSize = maxSize;\n } else {\n totalMinSize += minSize;\n totalMaxSize += maxSize;\n }\n });\n const valueMax = Math.min(currentMaxSize, 100 - totalMinSize);\n const valueMin = Math.max(currentMinSize, 100 - totalMaxSize);\n const valueNow = size[firstIndex];\n return {\n valueMax,\n valueMin,\n valueNow\n };\n}\nfunction getAriaValue(size, panels, handleId) {\n const [beforeId, afterId] = handleId.split(\":\");\n const beforeIndex = panels.findIndex((panel) => panel.id === beforeId);\n const afterIndex = panels.findIndex((panel) => panel.id === afterId);\n const { valueMax, valueMin, valueNow } = calculateAriaValues({\n size,\n panels,\n pivotIndices: [beforeIndex, afterIndex]\n });\n return {\n beforeId,\n afterId,\n valueMax: Math.round(valueMax),\n valueMin: Math.round(valueMin),\n valueNow: valueNow != null ? Math.round(valueNow) : void 0\n };\n}\nexport {\n calculateAriaValues,\n getAriaValue\n};\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,SAAS,EAAoB,EAC3B,SACA,WACA,mBACC;CACD,IAAI,IAAiB,GACjB,IAAiB,KACjB,IAAe,GACf,IAAe,GACb,IAAa,EAAa;AAehC,QAdA,EAAO,SAAkB,uBAAuB,EAChD,EAAO,SAAS,GAAO,MAAU;EAC/B,IAAM,EAAE,aAAU,KAAK,aAAU,MAAM;AACvC,EAAI,MAAU,KACZ,IAAiB,GACjB,IAAiB,MAEjB,KAAgB,GAChB,KAAgB;GAElB,EAIK;EACL,UAJe,KAAK,IAAI,GAAgB,MAAM,EAAa;EAK3D,UAJe,KAAK,IAAI,GAAgB,MAAM,EAAa;EAK3D,UAJe,EAAK;EAKrB;;AAEH,SAAS,EAAa,GAAM,GAAQ,GAAU;CAC5C,IAAM,CAAC,GAAU,KAAW,EAAS,MAAM,IAAI,EAGzC,EAAE,aAAU,aAAU,gBAAa,EAAoB;EAC3D;EACA;EACA,cAAc,CALI,EAAO,WAAW,MAAU,EAAM,OAAO,EAAS,EACnD,EAAO,WAAW,MAAU,EAAM,OAAO,EAAQ,CAI3B;EACxC,CAAC;AACF,QAAO;EACL;EACA;EACA,UAAU,KAAK,MAAM,EAAS;EAC9B,UAAU,KAAK,MAAM,EAAS;EAC9B,UAAU,KAAY,OAA8B,KAAK,IAA5B,KAAK,MAAM,EAAS;EAClD"}
@@ -1,24 +1,18 @@
1
- var f = 10;
2
- function i(e, n, r = f) {
3
- return e.toFixed(r) === n.toFixed(r) ? 0 : e > n ? 1 : -1;
1
+ function e(e, t, n = 10) {
2
+ return e.toFixed(n) === t.toFixed(n) ? 0 : e > t ? 1 : -1;
4
3
  }
5
- function o(e, n, r = f) {
6
- return e == null || n == null ? !1 : i(e, n, r) === 0;
4
+ function t(t, n, r = 10) {
5
+ return t == null || n == null ? !1 : e(t, n, r) === 0;
7
6
  }
8
- function z(e, n, r) {
9
- if (e.length !== n.length)
10
- return !1;
11
- for (let u = 0; u < e.length; u++) {
12
- const t = e[u], l = n[u];
13
- if (!o(t, l, r))
14
- return !1;
15
- }
16
- return !0;
7
+ function n(e, n, r) {
8
+ if (e.length !== n.length) return !1;
9
+ for (let i = 0; i < e.length; i++) {
10
+ let a = e[i], o = n[i];
11
+ if (!t(a, o, r)) return !1;
12
+ }
13
+ return !0;
17
14
  }
18
- export {
19
- f as PRECISION,
20
- i as fuzzyCompareNumbers,
21
- o as fuzzyNumbersEqual,
22
- z as fuzzySizeEqual
23
- };
24
- //# sourceMappingURL=fuzzy.js.map
15
+ //#endregion
16
+ export { e as fuzzyCompareNumbers, t as fuzzyNumbersEqual, n as fuzzySizeEqual };
17
+
18
+ //# sourceMappingURL=fuzzy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"fuzzy.js","sources":["../../../../../../../../../../../node_modules/.bun/@zag-js+splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/fuzzy.mjs"],"sourcesContent":["// src/utils/fuzzy.ts\nvar PRECISION = 10;\nfunction fuzzyCompareNumbers(actual, expected, fractionDigits = PRECISION) {\n if (actual.toFixed(fractionDigits) === expected.toFixed(fractionDigits)) {\n return 0;\n } else {\n return actual > expected ? 1 : -1;\n }\n}\nfunction fuzzyNumbersEqual(actual, expected, fractionDigits = PRECISION) {\n if (actual == null || expected == null) return false;\n return fuzzyCompareNumbers(actual, expected, fractionDigits) === 0;\n}\nfunction fuzzySizeEqual(actual, expected, fractionDigits) {\n if (actual.length !== expected.length) {\n return false;\n }\n for (let index = 0; index < actual.length; index++) {\n const actualSize = actual[index];\n const expectedSize = expected[index];\n if (!fuzzyNumbersEqual(actualSize, expectedSize, fractionDigits)) {\n return false;\n }\n }\n return true;\n}\nexport {\n PRECISION,\n fuzzyCompareNumbers,\n fuzzyNumbersEqual,\n fuzzySizeEqual\n};\n"],"names":["PRECISION","fuzzyCompareNumbers","actual","expected","fractionDigits","fuzzyNumbersEqual","fuzzySizeEqual","index","actualSize","expectedSize"],"mappings":"AACG,IAACA,IAAY;AAChB,SAASC,EAAoBC,GAAQC,GAAUC,IAAiBJ,GAAW;AACzE,SAAIE,EAAO,QAAQE,CAAc,MAAMD,EAAS,QAAQC,CAAc,IAC7D,IAEAF,IAASC,IAAW,IAAI;AAEnC;AACA,SAASE,EAAkBH,GAAQC,GAAUC,IAAiBJ,GAAW;AACvE,SAAIE,KAAU,QAAQC,KAAY,OAAa,KACxCF,EAAoBC,GAAQC,GAAUC,CAAc,MAAM;AACnE;AACA,SAASE,EAAeJ,GAAQC,GAAUC,GAAgB;AACxD,MAAIF,EAAO,WAAWC,EAAS;AAC7B,WAAO;AAET,WAASI,IAAQ,GAAGA,IAAQL,EAAO,QAAQK,KAAS;AAClD,UAAMC,IAAaN,EAAOK,CAAK,GACzBE,IAAeN,EAASI,CAAK;AACnC,QAAI,CAACF,EAAkBG,GAAYC,GAAcL,CAAc;AAC7D,aAAO;AAAA,EAEX;AACA,SAAO;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"fuzzy.js","names":[],"sources":["../../../../../../../../../../../node_modules/.bun/@zag-js+splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/fuzzy.mjs"],"sourcesContent":["// src/utils/fuzzy.ts\nvar PRECISION = 10;\nfunction fuzzyCompareNumbers(actual, expected, fractionDigits = PRECISION) {\n if (actual.toFixed(fractionDigits) === expected.toFixed(fractionDigits)) {\n return 0;\n } else {\n return actual > expected ? 1 : -1;\n }\n}\nfunction fuzzyNumbersEqual(actual, expected, fractionDigits = PRECISION) {\n if (actual == null || expected == null) return false;\n return fuzzyCompareNumbers(actual, expected, fractionDigits) === 0;\n}\nfunction fuzzySizeEqual(actual, expected, fractionDigits) {\n if (actual.length !== expected.length) {\n return false;\n }\n for (let index = 0; index < actual.length; index++) {\n const actualSize = actual[index];\n const expectedSize = expected[index];\n if (!fuzzyNumbersEqual(actualSize, expectedSize, fractionDigits)) {\n return false;\n }\n }\n return true;\n}\nexport {\n PRECISION,\n fuzzyCompareNumbers,\n fuzzyNumbersEqual,\n fuzzySizeEqual\n};\n"],"x_google_ignoreList":[0],"mappings":"AAEA,SAAS,EAAoB,GAAQ,GAAU,IAAA,IAA4B;AAIvE,QAHE,EAAO,QAAQ,EAAe,KAAK,EAAS,QAAQ,EAAe,GAC9D,IAEA,IAAS,IAAW,IAAI;;AAGnC,SAAS,EAAkB,GAAQ,GAAU,IAAA,IAA4B;AAEvE,QADI,KAAU,QAAQ,KAAY,OAAa,KACxC,EAAoB,GAAQ,GAAU,EAAe,KAAK;;AAEnE,SAAS,EAAe,GAAQ,GAAU,GAAgB;AACxD,KAAI,EAAO,WAAW,EAAS,OAC7B,QAAO;AAET,MAAK,IAAI,IAAQ,GAAG,IAAQ,EAAO,QAAQ,KAAS;EAClD,IAAM,IAAa,EAAO,IACpB,IAAe,EAAS;AAC9B,MAAI,CAAC,EAAkB,GAAY,GAAc,EAAe,CAC9D,QAAO;;AAGX,QAAO"}
@@ -1,81 +1,65 @@
1
- import { ensure as s } from "../../../../../../@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/warning.js";
2
- function x(n, e) {
3
- const o = n.find((i) => i.id === e);
4
- return s(o, () => `Panel data not found for id "${e}"`), o;
1
+ import { ensure as e } from "../../../../../../@zag-js_utils@1.35.3/node_modules/@zag-js/utils/dist/warning.js";
2
+ //#region ../../node_modules/.bun/@zag-js+splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/panel.mjs
3
+ function t(t, n) {
4
+ let r = t.find((e) => e.id === n);
5
+ return e(r, () => `Panel data not found for id "${n}"`), r;
5
6
  }
6
- function g(n, e) {
7
- return n.findIndex((o) => o === e || o.id === e.id);
7
+ function n(e, t) {
8
+ return e.findIndex((e) => e === t || e.id === t.id);
8
9
  }
9
- function a(n, e) {
10
- return n.findIndex((o) => o.id === e);
10
+ function r(e, t) {
11
+ return e.findIndex((e) => e.id === t);
11
12
  }
12
- function P(n, e, o) {
13
- const i = a(n, e.id), r = i === n.length - 1 ? [i - 1, i] : [i, i + 1], t = o[i];
14
- return { ...e, panelSize: t, pivotIndices: r };
13
+ function i(e, t, n) {
14
+ let i = r(e, t.id), a = i === e.length - 1 ? [i - 1, i] : [i, i + 1], o = n[i];
15
+ return {
16
+ ...t,
17
+ panelSize: o,
18
+ pivotIndices: a
19
+ };
15
20
  }
16
- function z(n) {
17
- return n.sort((e, o) => {
18
- const i = e.order, r = o.order;
19
- return i == null && r == null ? 0 : i == null ? -1 : r == null ? 1 : i - r;
20
- });
21
+ function a(e) {
22
+ return e.sort((e, t) => {
23
+ let n = e.order, r = t.order;
24
+ return n == null && r == null ? 0 : n == null ? -1 : r == null ? 1 : n - r;
25
+ });
21
26
  }
22
- function S(n) {
23
- return n.map((e) => e.id).sort().join(":");
27
+ function o(e) {
28
+ return e.map((e) => e.id).sort().join(":");
24
29
  }
25
- function h(n) {
26
- return n.map((r) => r.id).sort().map((r) => {
27
- const t = n.find((d) => d.id === r);
28
- return JSON.stringify(t);
29
- }).join(",");
30
+ function s(e) {
31
+ return e.map((e) => e.id).sort().map((t) => {
32
+ let n = e.find((e) => e.id === t);
33
+ return JSON.stringify(n);
34
+ }).join(",");
30
35
  }
31
- function m({
32
- defaultSize: n,
33
- dragState: e,
34
- sizes: o,
35
- panels: i,
36
- panelIndex: r,
37
- precision: t = 3
38
- }) {
39
- const d = o[r];
40
- let l;
41
- return d == null ? l = n != null ? n.toPrecision(t) : "1" : i.length === 1 ? l = "1" : l = d.toPrecision(t), {
42
- flexBasis: 0,
43
- flexGrow: l,
44
- flexShrink: 1,
45
- // Without this, Panel sizes may be unintentionally overridden by their content
46
- overflow: "hidden",
47
- // Disable pointer events inside of a panel during resize
48
- // This avoid edge cases like nested iframes
49
- pointerEvents: e !== null ? "none" : void 0
50
- };
36
+ function c({ defaultSize: e, dragState: t, sizes: n, panels: r, panelIndex: i, precision: a = 3 }) {
37
+ let o = n[i], s;
38
+ return s = o == null ? e == null ? "1" : e.toPrecision(a) : r.length === 1 ? "1" : o.toPrecision(a), {
39
+ flexBasis: 0,
40
+ flexGrow: s,
41
+ flexShrink: 1,
42
+ overflow: "hidden",
43
+ pointerEvents: t === null ? void 0 : "none"
44
+ };
51
45
  }
52
- function y({ panels: n, size: e }) {
53
- const o = Array(n.length);
54
- let i = 0, r = 100;
55
- for (let t = 0; t < n.length; t++) {
56
- const d = n[t];
57
- s(d, () => `Panel data not found for index ${t}`);
58
- const l = e[t];
59
- l != null && (i++, o[t] = l, r -= l);
60
- }
61
- for (let t = 0; t < n.length; t++) {
62
- const d = n[t];
63
- if (s(d, () => `Panel data not found for index ${t}`), e[t] != null)
64
- continue;
65
- const f = n.length - i, u = r / f;
66
- i++, o[t] = u, r -= u;
67
- }
68
- return o;
46
+ function l({ panels: t, size: n }) {
47
+ let r = Array(t.length), i = 0, a = 100;
48
+ for (let o = 0; o < t.length; o++) {
49
+ let s = t[o];
50
+ e(s, () => `Panel data not found for index ${o}`);
51
+ let c = n[o];
52
+ c != null && (i++, r[o] = c, a -= c);
53
+ }
54
+ for (let o = 0; o < t.length; o++) {
55
+ let s = t[o];
56
+ if (e(s, () => `Panel data not found for index ${o}`), n[o] != null) continue;
57
+ let c = t.length - i, l = a / c;
58
+ i++, r[o] = l, a -= l;
59
+ }
60
+ return r;
69
61
  }
70
- export {
71
- g as findPanelDataIndex,
72
- a as findPanelIndex,
73
- x as getPanelById,
74
- m as getPanelFlexBoxStyle,
75
- S as getPanelLayout,
76
- y as getUnsafeDefaultSize,
77
- P as panelDataHelper,
78
- h as serializePanels,
79
- z as sortPanels
80
- };
81
- //# sourceMappingURL=panel.js.map
62
+ //#endregion
63
+ export { n as findPanelDataIndex, r as findPanelIndex, t as getPanelById, c as getPanelFlexBoxStyle, o as getPanelLayout, l as getUnsafeDefaultSize, i as panelDataHelper, s as serializePanels, a as sortPanels };
64
+
65
+ //# sourceMappingURL=panel.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"panel.js","sources":["../../../../../../../../../../../node_modules/.bun/@zag-js+splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/panel.mjs"],"sourcesContent":["// src/utils/panel.ts\nimport { ensure } from \"@zag-js/utils\";\nfunction getPanelById(panels, id) {\n const panel = panels.find((panel2) => panel2.id === id);\n ensure(panel, () => `Panel data not found for id \"${id}\"`);\n return panel;\n}\nfunction findPanelDataIndex(panels, panel) {\n return panels.findIndex((prevPanel) => prevPanel === panel || prevPanel.id === panel.id);\n}\nfunction findPanelIndex(panels, id) {\n return panels.findIndex((panel) => panel.id === id);\n}\nfunction panelDataHelper(panels, panel, sizes) {\n const index = findPanelIndex(panels, panel.id);\n const pivotIndices = index === panels.length - 1 ? [index - 1, index] : [index, index + 1];\n const panelSize = sizes[index];\n return { ...panel, panelSize, pivotIndices };\n}\nfunction sortPanels(panels) {\n return panels.sort((panelA, panelB) => {\n const orderA = panelA.order;\n const orderB = panelB.order;\n if (orderA == null && orderB == null) {\n return 0;\n } else if (orderA == null) {\n return -1;\n } else if (orderB == null) {\n return 1;\n } else {\n return orderA - orderB;\n }\n });\n}\nfunction getPanelLayout(panels) {\n return panels.map((panel) => panel.id).sort().join(\":\");\n}\nfunction serializePanels(panels) {\n const keys = panels.map((panel) => panel.id);\n const sortedKeys = keys.sort();\n const serialized = sortedKeys.map((key) => {\n const panel = panels.find((panel2) => panel2.id === key);\n return JSON.stringify(panel);\n });\n return serialized.join(\",\");\n}\nfunction getPanelFlexBoxStyle({\n defaultSize,\n dragState,\n sizes,\n panels,\n panelIndex,\n precision = 3\n}) {\n const size = sizes[panelIndex];\n let flexGrow;\n if (size == null) {\n flexGrow = defaultSize != void 0 ? defaultSize.toPrecision(precision) : \"1\";\n } else if (panels.length === 1) {\n flexGrow = \"1\";\n } else {\n flexGrow = size.toPrecision(precision);\n }\n return {\n flexBasis: 0,\n flexGrow,\n flexShrink: 1,\n // Without this, Panel sizes may be unintentionally overridden by their content\n overflow: \"hidden\",\n // Disable pointer events inside of a panel during resize\n // This avoid edge cases like nested iframes\n pointerEvents: dragState !== null ? \"none\" : void 0\n };\n}\nfunction getUnsafeDefaultSize({ panels, size: sizes }) {\n const finalSizes = Array(panels.length);\n let numPanelsWithSizes = 0;\n let remainingSize = 100;\n for (let index = 0; index < panels.length; index++) {\n const panel = panels[index];\n ensure(panel, () => `Panel data not found for index ${index}`);\n const defaultSize = sizes[index];\n if (defaultSize != null) {\n numPanelsWithSizes++;\n finalSizes[index] = defaultSize;\n remainingSize -= defaultSize;\n }\n }\n for (let index = 0; index < panels.length; index++) {\n const panel = panels[index];\n ensure(panel, () => `Panel data not found for index ${index}`);\n const defaultSize = sizes[index];\n if (defaultSize != null) {\n continue;\n }\n const numRemainingPanels = panels.length - numPanelsWithSizes;\n const size = remainingSize / numRemainingPanels;\n numPanelsWithSizes++;\n finalSizes[index] = size;\n remainingSize -= size;\n }\n return finalSizes;\n}\nexport {\n findPanelDataIndex,\n findPanelIndex,\n getPanelById,\n getPanelFlexBoxStyle,\n getPanelLayout,\n getUnsafeDefaultSize,\n panelDataHelper,\n serializePanels,\n sortPanels\n};\n"],"names":["getPanelById","panels","id","panel","panel2","ensure","findPanelDataIndex","prevPanel","findPanelIndex","panelDataHelper","sizes","index","pivotIndices","panelSize","sortPanels","panelA","panelB","orderA","orderB","getPanelLayout","serializePanels","key","getPanelFlexBoxStyle","defaultSize","dragState","panelIndex","precision","size","flexGrow","getUnsafeDefaultSize","finalSizes","numPanelsWithSizes","remainingSize","numRemainingPanels"],"mappings":";AAEA,SAASA,EAAaC,GAAQC,GAAI;AAChC,QAAMC,IAAQF,EAAO,KAAK,CAACG,MAAWA,EAAO,OAAOF,CAAE;AACtD,SAAAG,EAAOF,GAAO,MAAM,gCAAgCD,CAAE,GAAG,GAClDC;AACT;AACA,SAASG,EAAmBL,GAAQE,GAAO;AACzC,SAAOF,EAAO,UAAU,CAACM,MAAcA,MAAcJ,KAASI,EAAU,OAAOJ,EAAM,EAAE;AACzF;AACA,SAASK,EAAeP,GAAQC,GAAI;AAClC,SAAOD,EAAO,UAAU,CAACE,MAAUA,EAAM,OAAOD,CAAE;AACpD;AACA,SAASO,EAAgBR,GAAQE,GAAOO,GAAO;AAC7C,QAAMC,IAAQH,EAAeP,GAAQE,EAAM,EAAE,GACvCS,IAAeD,MAAUV,EAAO,SAAS,IAAI,CAACU,IAAQ,GAAGA,CAAK,IAAI,CAACA,GAAOA,IAAQ,CAAC,GACnFE,IAAYH,EAAMC,CAAK;AAC7B,SAAO,EAAE,GAAGR,GAAO,WAAAU,GAAW,cAAAD,EAAY;AAC5C;AACA,SAASE,EAAWb,GAAQ;AAC1B,SAA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AQU,KAAS;AAClD,UAAMR,IAAQF,EAAOU,CAAK;AAC1B,IAAAN,EAAOF,GAAO,MAAM,kCAAkCQ,CAAK,EAAE;AAC7D,UAAMY,IAAcb,EAAMC,CAAK;AAC/B,IAAIY,KAAe,SACjBQ,KACAD,EAAWnB,CAAK,IAAIY,GACpBS,KAAiBT;AAAA,EAErB;AACA,WAASZ,IAAQ,GAAGA,IAAQV,EAAO,QAAQU,KAAS;AAClD,UAAMR,IAAQF,EAAOU,CAAK;AAG1B,QAFAN,EAAOF,GAAO,MAAM,kCAAkCQ,CAAK,EAAE,GACzCD,EAAMC,CAAK,KACZ;AACjB;AAEF,UAAMsB,IAAqBhC,EAAO,SAAS8B,GACrCJ,IAAOK,IAAgBC;AAC7B,IAAAF,KACAD,EAAWnB,CAAK,IAAIgB,GACpBK,KAAiBL;AAAA,EACnB;AACA,SAAOG;AACT;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"panel.js","names":[],"sources":["../../../../../../../../../../../node_modules/.bun/@zag-js+splitter@1.35.3/node_modules/@zag-js/splitter/dist/utils/panel.mjs"],"sourcesContent":["// src/utils/panel.ts\nimport { ensure } from \"@zag-js/utils\";\nfunction getPanelById(panels, id) {\n const panel = panels.find((panel2) => panel2.id === id);\n ensure(panel, () => `Panel data not found for id \"${id}\"`);\n return panel;\n}\nfunction findPanelDataIndex(panels, panel) {\n return panels.findIndex((prevPanel) => prevPanel === panel || prevPanel.id === panel.id);\n}\nfunction findPanelIndex(panels, id) {\n return panels.findIndex((panel) => panel.id === id);\n}\nfunction panelDataHelper(panels, panel, sizes) {\n const index = findPanelIndex(panels, panel.id);\n const pivotIndices = index === panels.length - 1 ? [index - 1, index] : [index, index + 1];\n const panelSize = sizes[index];\n return { ...panel, panelSize, pivotIndices };\n}\nfunction sortPanels(panels) {\n return panels.sort((panelA, panelB) => {\n const orderA = panelA.order;\n const orderB = panelB.order;\n if (orderA == null && orderB == null) {\n return 0;\n } else if (orderA == null) {\n return -1;\n } else if (orderB == null) {\n return 1;\n } else {\n return orderA - orderB;\n }\n });\n}\nfunction getPanelLayout(panels) {\n return panels.map((panel) => panel.id).sort().join(\":\");\n}\nfunction serializePanels(panels) {\n const keys = panels.map((panel) => panel.id);\n const sortedKeys = keys.sort();\n const serialized = sortedKeys.map((key) => {\n const panel = panels.find((panel2) => panel2.id === key);\n return JSON.stringify(panel);\n });\n return serialized.join(\",\");\n}\nfunction getPanelFlexBoxStyle({\n defaultSize,\n dragState,\n sizes,\n panels,\n panelIndex,\n precision = 3\n}) {\n const size = sizes[panelIndex];\n let flexGrow;\n if (size == null) {\n flexGrow = defaultSize != void 0 ? defaultSize.toPrecision(precision) : \"1\";\n } else if (panels.length === 1) {\n flexGrow = \"1\";\n } else {\n flexGrow = size.toPrecision(precision);\n }\n return {\n flexBasis: 0,\n flexGrow,\n flexShrink: 1,\n // Without this, Panel sizes may be unintentionally overridden by their content\n overflow: \"hidden\",\n // Disable pointer events inside of a panel during resize\n // This avoid edge cases like nested iframes\n pointerEvents: dragState !== null ? \"none\" : void 0\n };\n}\nfunction getUnsafeDefaultSize({ panels, size: sizes }) {\n const finalSizes = Array(panels.length);\n let numPanelsWithSizes = 0;\n let remainingSize = 100;\n for (let index = 0; index < panels.length; index++) {\n const panel = panels[index];\n ensure(panel, () => `Panel data not found for index ${index}`);\n const defaultSize = sizes[index];\n if (defaultSize != null) {\n numPanelsWithSizes++;\n finalSizes[index] = defaultSize;\n remainingSize -= defaultSize;\n }\n }\n for (let index = 0; index < panels.length; index++) {\n const panel = panels[index];\n ensure(panel, () => `Panel data not found for index ${index}`);\n const defaultSize = sizes[index];\n if (defaultSize != null) {\n continue;\n }\n const numRemainingPanels = panels.length - numPanelsWithSizes;\n const size = remainingSize / numRemainingPanels;\n numPanelsWithSizes++;\n finalSizes[index] = size;\n remainingSize -= size;\n }\n return finalSizes;\n}\nexport {\n findPanelDataIndex,\n findPanelIndex,\n getPanelById,\n getPanelFlexBoxStyle,\n getPanelLayout,\n getUnsafeD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