@serendie/ui 3.2.0-dev.202603311432 → 3.2.0-dev.202604210458

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 (517) hide show
  1. package/dist/client.js +6 -6
  2. package/dist/components/Accordion/Accordion.js +18 -21
  3. package/dist/components/Accordion/AccordionGroup.js +4 -4
  4. package/dist/components/Avatar/Avatar.js +19 -21
  5. package/dist/components/Badge/Badge.js +1 -1
  6. package/dist/components/Banner/Banner.js +4 -4
  7. package/dist/components/BottomNavigation/BottomNavigationItem.js +4 -4
  8. package/dist/components/Button/Button.js +6 -6
  9. package/dist/components/CheckBox/CheckBox.js +28 -32
  10. package/dist/components/ChoiceBox/ChoiceBox.js +46 -52
  11. package/dist/components/DashboardWidget/DashboardWidget.js +4 -4
  12. package/dist/components/DataTable/DataTableComponent.js +16 -17
  13. package/dist/components/DataTable/table/HeaderCell.js +4 -4
  14. package/dist/components/DataTable/table/Root.js +4 -4
  15. package/dist/components/DatePicker/DatePicker.js +107 -127
  16. package/dist/components/DatePicker/index.js +1 -1
  17. package/dist/components/Divider/Divider.js +4 -4
  18. package/dist/components/Drawer/Drawer.js +22 -26
  19. package/dist/components/DropdownMenu/DropdownMenu.js +36 -41
  20. package/dist/components/IconButton/IconButton.js +4 -4
  21. package/dist/components/List/ListItem.js +1 -1
  22. package/dist/components/ModalDialog/ModalDialog.js +27 -33
  23. package/dist/components/NotificationBadge/NotificationBadge.js +1 -1
  24. package/dist/components/Pagination/Pagination.js +54 -59
  25. package/dist/components/RadioButton/RadioButton.js +32 -36
  26. package/dist/components/RadioButton/RadioGroup.js +4 -4
  27. package/dist/components/Search/Search.js +67 -74
  28. package/dist/components/Select/Select.js +53 -60
  29. package/dist/components/Switch/Switch.js +18 -22
  30. package/dist/components/Tabs/TabItem.js +6 -6
  31. package/dist/components/Tabs/Tabs.js +9 -10
  32. package/dist/components/TextArea/TextArea.js +4 -4
  33. package/dist/components/TextField/TextField.js +1 -1
  34. package/dist/components/Toast/Toast.js +16 -17
  35. package/dist/components/Tooltip/Tooltip.js +30 -35
  36. package/dist/components/TopAppBar/TopAppBar.js +4 -4
  37. package/dist/index.js +6 -6
  38. package/dist/node_modules/@ark-ui/react/dist/_virtual/_rolldown/runtime.js +11 -0
  39. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-context.js +5 -0
  40. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-content.js +15 -12
  41. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-context.js +5 -0
  42. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-indicator.js +11 -8
  43. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item-trigger.js +16 -16
  44. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-item.js +25 -22
  45. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-root-provider.js +24 -0
  46. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion-root.js +21 -12
  47. package/dist/node_modules/@ark-ui/react/dist/components/accordion/accordion.js +22 -0
  48. package/dist/node_modules/@ark-ui/react/dist/components/accordion/use-accordion-context.js +2 -2
  49. package/dist/node_modules/@ark-ui/react/dist/components/accordion/use-accordion-item-context.js +2 -2
  50. package/dist/node_modules/@ark-ui/react/dist/components/accordion/use-accordion-item-props-context.js +1 -1
  51. package/dist/node_modules/@ark-ui/react/dist/components/accordion/use-accordion.js +15 -13
  52. package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-context.js +5 -0
  53. package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-fallback.js +12 -9
  54. package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-image.js +11 -8
  55. package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-root-provider.js +20 -0
  56. package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar-root.js +21 -11
  57. package/dist/node_modules/@ark-ui/react/dist/components/avatar/avatar.js +16 -0
  58. package/dist/node_modules/@ark-ui/react/dist/components/avatar/use-avatar-context.js +3 -3
  59. package/dist/node_modules/@ark-ui/react/dist/components/avatar/use-avatar.js +14 -12
  60. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-context.js +3 -3
  61. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-control.js +12 -9
  62. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-group-provider.js +22 -0
  63. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-group.js +32 -0
  64. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-hidden-input.js +13 -9
  65. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-indicator.js +17 -0
  66. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-label.js +13 -10
  67. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-root-provider.js +20 -0
  68. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox-root.js +19 -13
  69. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox.anatomy.js +5 -0
  70. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/checkbox.js +24 -0
  71. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/use-checkbox-context.js +1 -1
  72. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/use-checkbox-group-context.js +2 -2
  73. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/use-checkbox-group.js +43 -0
  74. package/dist/node_modules/@ark-ui/react/dist/components/checkbox/use-checkbox.js +16 -14
  75. package/dist/node_modules/@ark-ui/react/dist/components/collapsible/collapsible-content.js +14 -12
  76. package/dist/node_modules/@ark-ui/react/dist/components/collapsible/collapsible-root.js +15 -9
  77. package/dist/node_modules/@ark-ui/react/dist/components/collapsible/split-collapsible-props.js +5 -3
  78. package/dist/node_modules/@ark-ui/react/dist/components/collapsible/use-collapsible-context.js +1 -1
  79. package/dist/node_modules/@ark-ui/react/dist/components/collapsible/use-collapsible.js +17 -12
  80. package/dist/node_modules/@ark-ui/react/dist/components/collection/list-collection.js +2 -2
  81. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-clear-trigger.js +16 -0
  82. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-content.js +13 -10
  83. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-context.js +5 -0
  84. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-control.js +12 -9
  85. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-empty.js +15 -0
  86. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-input.js +14 -10
  87. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-context.js +5 -0
  88. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-group-label.js +17 -0
  89. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-group.js +20 -11
  90. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-indicator.js +17 -0
  91. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item-text.js +12 -9
  92. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-item.js +19 -10
  93. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-label.js +16 -0
  94. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-list.js +16 -0
  95. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-positioner.js +11 -8
  96. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-root-provider.js +25 -0
  97. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-root.js +24 -14
  98. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox-trigger.js +17 -0
  99. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox.anatomy.js +5 -0
  100. package/dist/node_modules/@ark-ui/react/dist/components/combobox/combobox.js +42 -0
  101. package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-context.js +2 -2
  102. package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-item-context.js +1 -1
  103. package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-item-group-props-context.js +1 -1
  104. package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox-item-props-context.js +2 -2
  105. package/dist/node_modules/@ark-ui/react/dist/components/combobox/use-combobox.js +13 -11
  106. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-clear-trigger.js +16 -0
  107. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-content.js +13 -10
  108. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-context.js +2 -2
  109. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-control.js +12 -9
  110. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-input.js +13 -10
  111. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-label.js +12 -9
  112. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-month-select.js +14 -7
  113. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-next-trigger.js +14 -11
  114. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-positioner.js +11 -8
  115. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-preset-trigger.js +17 -0
  116. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-prev-trigger.js +14 -11
  117. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-range-text.js +21 -0
  118. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-root-provider.js +26 -0
  119. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-root.js +32 -16
  120. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-body.js +12 -9
  121. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell-trigger.js +16 -13
  122. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-cell.js +18 -13
  123. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-head.js +12 -9
  124. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-header.js +12 -9
  125. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table-row.js +12 -9
  126. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-table.js +22 -12
  127. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-trigger.js +11 -8
  128. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-value-text.js +25 -0
  129. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view-control.js +12 -9
  130. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view-trigger.js +17 -0
  131. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-view.js +16 -16
  132. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-week-number-cell.js +17 -0
  133. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-week-number-header-cell.js +17 -0
  134. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker-year-select.js +16 -9
  135. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker.anatomy.js +3 -3
  136. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/date-picker.js +64 -0
  137. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-context.js +1 -1
  138. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-table-cell-props-context.js +2 -2
  139. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-table-props-context.js +2 -2
  140. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker-view-props-context.js +2 -2
  141. package/dist/node_modules/@ark-ui/react/dist/components/date-picker/use-date-picker.js +16 -14
  142. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-backdrop.js +19 -13
  143. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-close-trigger.js +12 -9
  144. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-content.js +15 -12
  145. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-context.js +5 -0
  146. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-description.js +12 -9
  147. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-positioner.js +13 -10
  148. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-root-provider.js +24 -0
  149. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-root.js +17 -7
  150. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-title.js +13 -10
  151. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog-trigger.js +21 -0
  152. package/dist/node_modules/@ark-ui/react/dist/components/dialog/dialog.js +26 -0
  153. package/dist/node_modules/@ark-ui/react/dist/components/dialog/use-dialog-context.js +3 -3
  154. package/dist/node_modules/@ark-ui/react/dist/components/dialog/use-dialog.js +15 -13
  155. package/dist/node_modules/@ark-ui/react/dist/components/factory.js +21 -22
  156. package/dist/node_modules/@ark-ui/react/dist/components/field/use-field-context.js +1 -1
  157. package/dist/node_modules/@ark-ui/react/dist/components/fieldset/use-fieldset-context.js +11 -0
  158. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-arrow-tip.js +16 -0
  159. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-arrow.js +16 -0
  160. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-checkbox-item.js +35 -0
  161. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-content.js +13 -10
  162. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-context-trigger.js +16 -0
  163. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-context.js +5 -0
  164. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-indicator.js +16 -0
  165. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-context.js +5 -0
  166. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-group-label.js +17 -0
  167. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-group.js +21 -12
  168. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-indicator.js +17 -0
  169. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item-text.js +17 -0
  170. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-item.js +25 -13
  171. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-positioner.js +14 -11
  172. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-radio-item-group.js +28 -0
  173. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-radio-item.js +39 -0
  174. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-root-provider.js +31 -0
  175. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-root.js +32 -19
  176. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-separator.js +16 -0
  177. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-trigger-item.js +21 -0
  178. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu-trigger.js +18 -17
  179. package/dist/node_modules/@ark-ui/react/dist/components/menu/menu.js +48 -0
  180. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-context.js +2 -2
  181. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-item-context.js +2 -2
  182. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-item-group-context.js +2 -2
  183. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-machine-context.js +2 -2
  184. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-option-item-props-context.js +2 -2
  185. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu-trigger-item-context.js +1 -1
  186. package/dist/node_modules/@ark-ui/react/dist/components/menu/use-menu.js +19 -14
  187. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-context.js +1 -1
  188. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-ellipsis.js +11 -8
  189. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-first-trigger.js +16 -0
  190. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-item.js +12 -9
  191. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-last-trigger.js +16 -0
  192. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-next-trigger.js +13 -10
  193. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-prev-trigger.js +13 -10
  194. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-root-provider.js +20 -0
  195. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination-root.js +20 -12
  196. package/dist/node_modules/@ark-ui/react/dist/components/pagination/pagination.js +24 -0
  197. package/dist/node_modules/@ark-ui/react/dist/components/pagination/use-pagination-context.js +4 -4
  198. package/dist/node_modules/@ark-ui/react/dist/components/pagination/use-pagination.js +15 -13
  199. package/dist/node_modules/@ark-ui/react/dist/components/portal/portal.js +16 -20
  200. package/dist/node_modules/@ark-ui/react/dist/components/presence/split-presence-props.js +1 -1
  201. package/dist/node_modules/@ark-ui/react/dist/components/presence/use-presence-context.js +3 -3
  202. package/dist/node_modules/@ark-ui/react/dist/components/presence/use-presence.js +13 -12
  203. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-context.js +5 -0
  204. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-indicator.js +16 -0
  205. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item-context.js +1 -1
  206. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item-control.js +12 -9
  207. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item-hidden-input.js +12 -9
  208. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item-text.js +14 -11
  209. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-item.js +26 -13
  210. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-label.js +16 -0
  211. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-root-provider.js +20 -0
  212. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group-root.js +18 -10
  213. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/radio-group.js +26 -0
  214. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/use-radio-group-context.js +1 -1
  215. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/use-radio-group-item-context.js +2 -2
  216. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/use-radio-group-item-props-context.js +1 -1
  217. package/dist/node_modules/@ark-ui/react/dist/components/radio-group/use-radio-group.js +20 -13
  218. package/dist/node_modules/@ark-ui/react/dist/components/select/select-clear-trigger.js +16 -0
  219. package/dist/node_modules/@ark-ui/react/dist/components/select/select-content.js +13 -10
  220. package/dist/node_modules/@ark-ui/react/dist/components/select/select-context.js +5 -0
  221. package/dist/node_modules/@ark-ui/react/dist/components/select/select-control.js +12 -9
  222. package/dist/node_modules/@ark-ui/react/dist/components/select/select-hidden-select.js +23 -0
  223. package/dist/node_modules/@ark-ui/react/dist/components/select/select-indicator.js +16 -0
  224. package/dist/node_modules/@ark-ui/react/dist/components/select/select-item-context.js +5 -0
  225. package/dist/node_modules/@ark-ui/react/dist/components/select/select-item-group-label.js +17 -0
  226. package/dist/node_modules/@ark-ui/react/dist/components/select/select-item-group.js +24 -0
  227. package/dist/node_modules/@ark-ui/react/dist/components/select/select-item-indicator.js +17 -0
  228. package/dist/node_modules/@ark-ui/react/dist/components/select/select-item-text.js +17 -0
  229. package/dist/node_modules/@ark-ui/react/dist/components/select/select-item.js +22 -13
  230. package/dist/node_modules/@ark-ui/react/dist/components/select/select-label.js +13 -10
  231. package/dist/node_modules/@ark-ui/react/dist/components/select/select-list.js +16 -0
  232. package/dist/node_modules/@ark-ui/react/dist/components/select/select-positioner.js +11 -8
  233. package/dist/node_modules/@ark-ui/react/dist/components/select/select-root-provider.js +25 -0
  234. package/dist/node_modules/@ark-ui/react/dist/components/select/select-root.js +25 -14
  235. package/dist/node_modules/@ark-ui/react/dist/components/select/select-trigger.js +12 -9
  236. package/dist/node_modules/@ark-ui/react/dist/components/select/select-value-text.js +11 -7
  237. package/dist/node_modules/@ark-ui/react/dist/components/select/select.js +44 -0
  238. package/dist/node_modules/@ark-ui/react/dist/components/select/use-select-context.js +1 -1
  239. package/dist/node_modules/@ark-ui/react/dist/components/select/use-select-item-context.js +2 -2
  240. package/dist/node_modules/@ark-ui/react/dist/components/select/use-select-item-group-props.js +10 -0
  241. package/dist/node_modules/@ark-ui/react/dist/components/select/use-select-item-props-context.js +1 -1
  242. package/dist/node_modules/@ark-ui/react/dist/components/select/use-select.js +12 -10
  243. package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-context.js +5 -0
  244. package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-control.js +12 -9
  245. package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-hidden-input.js +13 -9
  246. package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-label.js +12 -9
  247. package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-root-provider.js +20 -0
  248. package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-root.js +18 -12
  249. package/dist/node_modules/@ark-ui/react/dist/components/switch/switch-thumb.js +10 -7
  250. package/dist/node_modules/@ark-ui/react/dist/components/switch/switch.js +20 -0
  251. package/dist/node_modules/@ark-ui/react/dist/components/switch/use-switch-context.js +1 -1
  252. package/dist/node_modules/@ark-ui/react/dist/components/switch/use-switch.js +13 -11
  253. package/dist/node_modules/@ark-ui/react/dist/components/tabs/tab-content.js +28 -0
  254. package/dist/node_modules/@ark-ui/react/dist/components/tabs/tab-indicator.js +16 -0
  255. package/dist/node_modules/@ark-ui/react/dist/components/tabs/tab-list.js +13 -10
  256. package/dist/node_modules/@ark-ui/react/dist/components/tabs/tab-trigger.js +14 -11
  257. package/dist/node_modules/@ark-ui/react/dist/components/tabs/tabs-context.js +5 -0
  258. package/dist/node_modules/@ark-ui/react/dist/components/tabs/tabs-root-provider.js +24 -0
  259. package/dist/node_modules/@ark-ui/react/dist/components/tabs/tabs-root.js +20 -11
  260. package/dist/node_modules/@ark-ui/react/dist/components/tabs/tabs.js +20 -0
  261. package/dist/node_modules/@ark-ui/react/dist/components/tabs/use-tabs-context.js +3 -3
  262. package/dist/node_modules/@ark-ui/react/dist/components/tabs/use-tabs.js +15 -13
  263. package/dist/node_modules/@ark-ui/react/dist/components/toast/create-toaster.js +2 -2
  264. package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-action-trigger.js +16 -0
  265. package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-close-trigger.js +16 -0
  266. package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-context.js +5 -0
  267. package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-description.js +16 -0
  268. package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-root.js +14 -10
  269. package/dist/node_modules/@ark-ui/react/dist/components/toast/toast-title.js +13 -10
  270. package/dist/node_modules/@ark-ui/react/dist/components/toast/toast.js +18 -0
  271. package/dist/node_modules/@ark-ui/react/dist/components/toast/toaster.js +37 -22
  272. package/dist/node_modules/@ark-ui/react/dist/components/toast/use-toast-context.js +4 -4
  273. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-arrow-tip.js +12 -9
  274. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-arrow.js +12 -9
  275. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-content.js +13 -10
  276. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-context.js +5 -0
  277. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-positioner.js +13 -10
  278. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-root-provider.js +20 -0
  279. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-root.js +16 -9
  280. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip-trigger.js +12 -8
  281. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/tooltip.js +22 -0
  282. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/use-tooltip-context.js +1 -1
  283. package/dist/node_modules/@ark-ui/react/dist/components/tooltip/use-tooltip.js +15 -13
  284. package/dist/node_modules/@ark-ui/react/dist/providers/environment/use-environment-context.js +1 -1
  285. package/dist/node_modules/@ark-ui/react/dist/providers/locale/use-locale-context.js +5 -2
  286. package/dist/node_modules/@ark-ui/react/dist/utils/compose-refs.js +7 -10
  287. package/dist/node_modules/@ark-ui/react/dist/utils/create-context.js +17 -20
  288. package/dist/node_modules/@ark-ui/react/dist/utils/create-split-props.js +4 -7
  289. package/dist/node_modules/@ark-ui/react/dist/utils/render-strategy.js +6 -6
  290. package/dist/node_modules/@ark-ui/react/dist/utils/use-controllable-state.js +8 -0
  291. package/dist/node_modules/@ark-ui/react/dist/utils/use-effect-once.js +1 -1
  292. package/dist/node_modules/@ark-ui/react/dist/utils/use-event.js +7 -10
  293. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +294 -289
  294. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +195 -194
  295. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +97 -97
  296. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +60 -62
  297. package/dist/node_modules/@internationalized/date/dist/GregorianCalendar.js +18 -12
  298. package/dist/node_modules/@internationalized/date/dist/conversion.js +35 -35
  299. package/dist/node_modules/@internationalized/date/dist/queries.js +126 -75
  300. package/dist/node_modules/@internationalized/date/dist/string.js +29 -28
  301. package/dist/node_modules/@zag-js/accordion/dist/accordion.anatomy.js +6 -0
  302. package/dist/node_modules/@zag-js/accordion/dist/accordion.connect.js +129 -0
  303. package/dist/node_modules/@zag-js/accordion/dist/accordion.dom.js +30 -0
  304. package/dist/node_modules/@zag-js/accordion/dist/accordion.machine.js +137 -0
  305. package/dist/node_modules/@zag-js/aria-hidden/dist/aria-hidden.js +14 -0
  306. package/dist/node_modules/@zag-js/aria-hidden/dist/index.js +12 -49
  307. package/dist/node_modules/@zag-js/aria-hidden/dist/walk-tree-outside.js +41 -0
  308. package/dist/node_modules/@zag-js/avatar/dist/avatar.anatomy.js +6 -0
  309. package/dist/node_modules/@zag-js/avatar/dist/avatar.connect.js +52 -0
  310. package/dist/node_modules/@zag-js/avatar/dist/avatar.dom.js +17 -0
  311. package/dist/node_modules/@zag-js/avatar/dist/avatar.machine.js +93 -0
  312. package/dist/node_modules/@zag-js/checkbox/dist/checkbox.anatomy.js +6 -0
  313. package/dist/node_modules/@zag-js/checkbox/dist/checkbox.connect.js +108 -0
  314. package/dist/node_modules/@zag-js/checkbox/dist/checkbox.dom.js +21 -0
  315. package/dist/node_modules/@zag-js/checkbox/dist/checkbox.machine.js +141 -0
  316. package/dist/node_modules/@zag-js/collapsible/dist/collapsible.anatomy.js +6 -0
  317. package/dist/node_modules/@zag-js/collapsible/dist/collapsible.connect.js +80 -0
  318. package/dist/node_modules/@zag-js/collapsible/dist/collapsible.dom.js +16 -0
  319. package/dist/node_modules/@zag-js/collapsible/dist/{index.js → collapsible.machine.js} +58 -115
  320. package/dist/node_modules/@zag-js/collection/dist/chunk-QZ7TP4HQ.js +4 -0
  321. package/dist/node_modules/@zag-js/collection/dist/{index.js → list-collection.js} +58 -56
  322. package/dist/node_modules/@zag-js/collection/dist/selection-map.js +58 -0
  323. package/dist/node_modules/@zag-js/combobox/dist/combobox.anatomy.js +21 -0
  324. package/dist/node_modules/@zag-js/combobox/dist/combobox.collection.js +6 -0
  325. package/dist/node_modules/@zag-js/combobox/dist/combobox.connect.js +341 -0
  326. package/dist/node_modules/@zag-js/combobox/dist/combobox.dom.js +68 -0
  327. package/dist/node_modules/@zag-js/combobox/dist/combobox.machine.js +936 -0
  328. package/dist/node_modules/@zag-js/core/dist/create-machine.js +32 -0
  329. package/dist/node_modules/@zag-js/core/dist/memo.js +11 -0
  330. package/dist/node_modules/@zag-js/core/dist/merge-props.js +48 -0
  331. package/dist/node_modules/@zag-js/core/dist/scope.js +19 -0
  332. package/dist/node_modules/@zag-js/core/dist/state.js +143 -0
  333. package/dist/node_modules/@zag-js/core/dist/types.js +5 -0
  334. package/dist/node_modules/@zag-js/date-picker/dist/date-picker.anatomy.js +31 -0
  335. package/dist/node_modules/@zag-js/date-picker/dist/date-picker.connect.js +742 -0
  336. package/dist/node_modules/@zag-js/date-picker/dist/date-picker.dom.js +73 -0
  337. package/dist/node_modules/@zag-js/date-picker/dist/date-picker.machine.js +1042 -0
  338. package/dist/node_modules/@zag-js/date-picker/dist/date-picker.parse.js +8 -0
  339. package/dist/node_modules/@zag-js/date-picker/dist/date-picker.utils.js +155 -0
  340. package/dist/node_modules/@zag-js/date-utils/dist/align.js +15 -0
  341. package/dist/node_modules/@zag-js/date-utils/dist/assertion.js +26 -0
  342. package/dist/node_modules/@zag-js/date-utils/dist/constrain.js +40 -0
  343. package/dist/node_modules/@zag-js/date-utils/dist/date-month.js +74 -0
  344. package/dist/node_modules/@zag-js/date-utils/dist/date-year.js +37 -0
  345. package/dist/node_modules/@zag-js/date-utils/dist/duration.js +13 -0
  346. package/dist/node_modules/@zag-js/date-utils/dist/format.js +25 -0
  347. package/dist/node_modules/@zag-js/date-utils/dist/formatter.js +30 -0
  348. package/dist/node_modules/@zag-js/date-utils/dist/get-era-format.js +8 -0
  349. package/dist/node_modules/@zag-js/date-utils/dist/mutation.js +9 -0
  350. package/dist/node_modules/@zag-js/date-utils/dist/pagination.js +95 -0
  351. package/dist/node_modules/@zag-js/date-utils/dist/parse-date.js +34 -0
  352. package/dist/node_modules/@zag-js/date-utils/dist/preset.js +41 -0
  353. package/dist/node_modules/@zag-js/dialog/dist/dialog.anatomy.js +14 -0
  354. package/dist/node_modules/@zag-js/dialog/dist/dialog.connect.js +104 -0
  355. package/dist/node_modules/@zag-js/dialog/dist/dialog.dom.js +42 -0
  356. package/dist/node_modules/@zag-js/dialog/dist/dialog.machine.js +220 -0
  357. package/dist/node_modules/@zag-js/dismissable/dist/dismissable-layer.js +80 -0
  358. package/dist/node_modules/@zag-js/dismissable/dist/escape-keydown.js +11 -0
  359. package/dist/node_modules/@zag-js/dismissable/dist/layer-stack.js +103 -0
  360. package/dist/node_modules/@zag-js/dismissable/dist/pointer-event-outside.js +37 -0
  361. package/dist/node_modules/@zag-js/dom-query/dist/caret.js +12 -0
  362. package/dist/node_modules/@zag-js/dom-query/dist/chunk-QZ7TP4HQ.js +4 -0
  363. package/dist/node_modules/@zag-js/dom-query/dist/computed-style.js +8 -0
  364. package/dist/node_modules/@zag-js/dom-query/dist/controller.js +76 -0
  365. package/dist/node_modules/@zag-js/dom-query/dist/event.js +80 -0
  366. package/dist/node_modules/@zag-js/dom-query/dist/form.js +70 -0
  367. package/dist/node_modules/@zag-js/dom-query/dist/initial-focus.js +22 -0
  368. package/dist/node_modules/@zag-js/dom-query/dist/mutation-observer.js +41 -0
  369. package/dist/node_modules/@zag-js/dom-query/dist/navigate.js +13 -0
  370. package/dist/node_modules/@zag-js/dom-query/dist/node.js +87 -0
  371. package/dist/node_modules/@zag-js/dom-query/dist/overflow.js +27 -0
  372. package/dist/node_modules/@zag-js/dom-query/dist/platform.js +24 -0
  373. package/dist/node_modules/@zag-js/dom-query/dist/press.js +61 -0
  374. package/dist/node_modules/@zag-js/dom-query/dist/query.js +31 -0
  375. package/dist/node_modules/@zag-js/dom-query/dist/raf.js +51 -0
  376. package/dist/node_modules/@zag-js/dom-query/dist/resize-observer.js +34 -0
  377. package/dist/node_modules/@zag-js/dom-query/dist/searchable.js +17 -0
  378. package/dist/node_modules/@zag-js/dom-query/dist/set.js +29 -0
  379. package/dist/node_modules/@zag-js/dom-query/dist/shared.js +11 -0
  380. package/dist/node_modules/@zag-js/dom-query/dist/tabbable.js +110 -0
  381. package/dist/node_modules/@zag-js/dom-query/dist/text-selection.js +36 -0
  382. package/dist/node_modules/@zag-js/dom-query/dist/typeahead.js +25 -0
  383. package/dist/node_modules/@zag-js/dom-query/dist/visually-hidden.js +15 -0
  384. package/dist/node_modules/@zag-js/dom-query/dist/wait-for.js +42 -0
  385. package/dist/node_modules/@zag-js/focus-trap/dist/chunk-QZ7TP4HQ.js +4 -0
  386. package/dist/node_modules/@zag-js/focus-trap/dist/focus-trap.js +335 -0
  387. package/dist/node_modules/@zag-js/focus-trap/dist/index.js +24 -299
  388. package/dist/node_modules/@zag-js/focus-visible/dist/index.js +63 -39
  389. package/dist/node_modules/@zag-js/interact-outside/dist/frame-utils.js +60 -0
  390. package/dist/node_modules/@zag-js/interact-outside/dist/index.js +97 -131
  391. package/dist/node_modules/@zag-js/menu/dist/menu.anatomy.js +21 -0
  392. package/dist/node_modules/@zag-js/menu/dist/menu.connect.js +385 -0
  393. package/dist/node_modules/@zag-js/menu/dist/menu.dom.js +93 -0
  394. package/dist/node_modules/@zag-js/menu/dist/menu.machine.js +855 -0
  395. package/dist/node_modules/@zag-js/menu/dist/menu.utils.js +51 -0
  396. package/dist/node_modules/@zag-js/pagination/dist/pagination.anatomy.js +14 -0
  397. package/dist/node_modules/@zag-js/pagination/dist/pagination.connect.js +145 -0
  398. package/dist/node_modules/@zag-js/pagination/dist/pagination.dom.js +31 -0
  399. package/dist/node_modules/@zag-js/pagination/dist/pagination.machine.js +132 -0
  400. package/dist/node_modules/@zag-js/pagination/dist/pagination.utils.js +39 -0
  401. package/dist/node_modules/@zag-js/popper/dist/get-anchor.js +34 -0
  402. package/dist/node_modules/@zag-js/popper/dist/get-placement.js +190 -0
  403. package/dist/node_modules/@zag-js/popper/dist/get-styles.js +47 -0
  404. package/dist/node_modules/@zag-js/popper/dist/middleware.js +57 -0
  405. package/dist/node_modules/@zag-js/popper/dist/placement.js +11 -0
  406. package/dist/node_modules/@zag-js/presence/dist/presence.connect.js +16 -0
  407. package/dist/node_modules/@zag-js/presence/dist/{index.js → presence.machine.js} +39 -47
  408. package/dist/node_modules/@zag-js/radio-group/dist/radio-group.anatomy.js +13 -0
  409. package/dist/node_modules/@zag-js/radio-group/dist/radio-group.connect.js +197 -0
  410. package/dist/node_modules/@zag-js/radio-group/dist/radio-group.dom.js +57 -0
  411. package/dist/node_modules/@zag-js/radio-group/dist/radio-group.machine.js +179 -0
  412. package/dist/node_modules/@zag-js/react/dist/bindable.js +52 -0
  413. package/dist/node_modules/@zag-js/react/dist/machine.js +208 -0
  414. package/dist/node_modules/@zag-js/react/dist/normalize-props.js +5 -0
  415. package/dist/node_modules/@zag-js/react/dist/refs.js +15 -0
  416. package/dist/node_modules/@zag-js/react/dist/track.js +13 -0
  417. package/dist/node_modules/@zag-js/react/dist/use-layout-effect.js +5 -0
  418. package/dist/node_modules/@zag-js/rect-utils/dist/polygon.js +23 -0
  419. package/dist/node_modules/@zag-js/rect-utils/dist/rect.js +26 -0
  420. package/dist/node_modules/@zag-js/remove-scroll/dist/index.js +32 -23
  421. package/dist/node_modules/@zag-js/select/dist/select.anatomy.js +22 -0
  422. package/dist/node_modules/@zag-js/select/dist/select.collection.js +6 -0
  423. package/dist/node_modules/@zag-js/select/dist/select.connect.js +372 -0
  424. package/dist/node_modules/@zag-js/select/dist/select.dom.js +53 -0
  425. package/dist/node_modules/@zag-js/select/dist/select.machine.js +690 -0
  426. package/dist/node_modules/@zag-js/switch/dist/switch.anatomy.js +6 -0
  427. package/dist/node_modules/@zag-js/switch/dist/switch.connect.js +110 -0
  428. package/dist/node_modules/@zag-js/switch/dist/switch.dom.js +25 -0
  429. package/dist/node_modules/@zag-js/switch/dist/switch.machine.js +143 -0
  430. package/dist/node_modules/@zag-js/tabs/dist/tabs.anatomy.js +6 -0
  431. package/dist/node_modules/@zag-js/tabs/dist/tabs.connect.js +176 -0
  432. package/dist/node_modules/@zag-js/tabs/dist/tabs.dom.js +47 -0
  433. package/dist/node_modules/@zag-js/tabs/dist/tabs.machine.js +268 -0
  434. package/dist/node_modules/@zag-js/toast/dist/index.js +6 -798
  435. package/dist/node_modules/@zag-js/toast/dist/toast-group.connect.js +54 -0
  436. package/dist/node_modules/@zag-js/toast/dist/toast-group.machine.js +236 -0
  437. package/dist/node_modules/@zag-js/toast/dist/toast.anatomy.js +13 -0
  438. package/dist/node_modules/@zag-js/toast/dist/toast.connect.js +102 -0
  439. package/dist/node_modules/@zag-js/toast/dist/toast.dom.js +10 -0
  440. package/dist/node_modules/@zag-js/toast/dist/toast.machine.js +234 -0
  441. package/dist/node_modules/@zag-js/toast/dist/toast.store.js +134 -0
  442. package/dist/node_modules/@zag-js/toast/dist/toast.utils.js +122 -0
  443. package/dist/node_modules/@zag-js/tooltip/dist/tooltip.anatomy.js +6 -0
  444. package/dist/node_modules/@zag-js/tooltip/dist/tooltip.connect.js +120 -0
  445. package/dist/node_modules/@zag-js/tooltip/dist/tooltip.dom.js +25 -0
  446. package/dist/node_modules/@zag-js/tooltip/dist/{index.js → tooltip.machine.js} +109 -188
  447. package/dist/node_modules/@zag-js/tooltip/dist/tooltip.store.js +9 -0
  448. package/dist/node_modules/@zag-js/types/dist/prop-types.js +10 -0
  449. package/dist/node_modules/@zag-js/utils/dist/array.js +39 -0
  450. package/dist/node_modules/@zag-js/utils/dist/chunk-MXGZDBDQ.js +8 -0
  451. package/dist/node_modules/@zag-js/utils/dist/equal.js +27 -0
  452. package/dist/node_modules/@zag-js/utils/dist/functions.js +28 -0
  453. package/dist/node_modules/@zag-js/utils/dist/guard.js +19 -0
  454. package/dist/node_modules/@zag-js/utils/dist/number.js +11 -0
  455. package/dist/node_modules/@zag-js/utils/dist/object.js +13 -0
  456. package/dist/node_modules/@zag-js/utils/dist/store.js +25 -0
  457. package/dist/node_modules/@zag-js/utils/dist/timers.js +39 -0
  458. package/dist/node_modules/@zag-js/utils/dist/warning.js +25 -0
  459. package/dist/styled-system/css/css.js +1 -1
  460. package/dist/styled-system/helpers.js +85 -83
  461. package/dist/styled-system/jsx/is-valid-prop.js +1 -1
  462. package/dist/styles.css +1 -1
  463. package/package.json +18 -21
  464. package/styled-system/css/css.js +1 -1
  465. package/styled-system/helpers.js +3 -0
  466. package/styled-system/jsx/is-valid-prop.js +1 -1
  467. package/styled-system/patterns/aspect-ratio.d.ts +0 -1
  468. package/styled-system/patterns/bleed.d.ts +0 -1
  469. package/styled-system/patterns/box.d.ts +0 -1
  470. package/styled-system/patterns/center.d.ts +0 -1
  471. package/styled-system/patterns/circle.d.ts +0 -1
  472. package/styled-system/patterns/container.d.ts +0 -1
  473. package/styled-system/patterns/cq.d.ts +0 -1
  474. package/styled-system/patterns/divider.d.ts +0 -1
  475. package/styled-system/patterns/flex.d.ts +0 -1
  476. package/styled-system/patterns/float.d.ts +0 -1
  477. package/styled-system/patterns/grid-item.d.ts +0 -1
  478. package/styled-system/patterns/grid.d.ts +0 -1
  479. package/styled-system/patterns/hstack.d.ts +0 -1
  480. package/styled-system/patterns/link-overlay.d.ts +0 -1
  481. package/styled-system/patterns/spacer.d.ts +0 -1
  482. package/styled-system/patterns/square.d.ts +0 -1
  483. package/styled-system/patterns/stack.d.ts +0 -1
  484. package/styled-system/patterns/visually-hidden.d.ts +0 -1
  485. package/styled-system/patterns/vstack.d.ts +0 -1
  486. package/styled-system/patterns/wrap.d.ts +0 -1
  487. package/styled-system/themes/theme-asagi.json +1 -1
  488. package/styled-system/themes/theme-konjo-dark.json +1 -1
  489. package/styled-system/themes/theme-kurikawa.json +1 -1
  490. package/styled-system/themes/theme-sumire.json +1 -1
  491. package/styled-system/themes/theme-tsutsuji.json +1 -1
  492. package/styled-system/tokens/tokens.d.ts +1 -1
  493. package/styled-system/types/conditions.d.ts +11 -11
  494. package/styled-system/types/prop-type.d.ts +2 -0
  495. package/styled-system/types/style-props.d.ts +3 -4
  496. package/dist/node_modules/@zag-js/accordion/dist/index.js +0 -290
  497. package/dist/node_modules/@zag-js/avatar/dist/index.js +0 -154
  498. package/dist/node_modules/@zag-js/checkbox/dist/index.js +0 -270
  499. package/dist/node_modules/@zag-js/combobox/dist/index.js +0 -1415
  500. package/dist/node_modules/@zag-js/core/dist/index.js +0 -92
  501. package/dist/node_modules/@zag-js/date-picker/dist/index.js +0 -1826
  502. package/dist/node_modules/@zag-js/date-utils/dist/index.js +0 -366
  503. package/dist/node_modules/@zag-js/dialog/dist/index.js +0 -324
  504. package/dist/node_modules/@zag-js/dismissable/dist/index.js +0 -188
  505. package/dist/node_modules/@zag-js/dom-query/dist/index.js +0 -633
  506. package/dist/node_modules/@zag-js/menu/dist/index.js +0 -1235
  507. package/dist/node_modules/@zag-js/pagination/dist/index.js +0 -273
  508. package/dist/node_modules/@zag-js/popper/dist/index.js +0 -260
  509. package/dist/node_modules/@zag-js/radio-group/dist/index.js +0 -407
  510. package/dist/node_modules/@zag-js/react/dist/index.js +0 -269
  511. package/dist/node_modules/@zag-js/rect-utils/dist/index.js +0 -46
  512. package/dist/node_modules/@zag-js/select/dist/index.js +0 -1088
  513. package/dist/node_modules/@zag-js/switch/dist/index.js +0 -275
  514. package/dist/node_modules/@zag-js/tabs/dist/index.js +0 -475
  515. package/dist/node_modules/@zag-js/types/dist/index.js +0 -12
  516. package/dist/node_modules/@zag-js/utils/dist/index.js +0 -173
  517. /package/dist/node_modules/@zag-js/anatomy/dist/{index.js → create-anatomy.js} +0 -0
@@ -1,77 +1,12 @@
1
- import { createAnatomy as k } from "../../anatomy/dist/index.js";
2
- import { raf as h, dataAttr as v, getComputedStyle as O, setStyle as I, getEventTarget as y, nextTick as b } from "../../dom-query/dist/index.js";
3
- import { createMachine as N } from "../../core/dist/index.js";
4
- import { createProps as S } from "../../types/dist/index.js";
5
- var z = k("collapsible").parts("root", "trigger", "content", "indicator"), m = z.build(), x = (e) => {
6
- var t;
7
- return ((t = e.ids) == null ? void 0 : t.root) ?? `collapsible:${e.id}`;
8
- }, C = (e) => {
9
- var t;
10
- return ((t = e.ids) == null ? void 0 : t.content) ?? `collapsible:${e.id}:content`;
11
- }, A = (e) => {
12
- var t;
13
- return ((t = e.ids) == null ? void 0 : t.trigger) ?? `collapsible:${e.id}:trigger`;
14
- }, g = (e) => e.getById(C(e));
15
- function T(e, t) {
16
- const { state: n, send: s, context: o, scope: i, prop: l } = e, a = n.matches("open") || n.matches("closing"), r = n.matches("open"), { width: c, height: u } = o.get("size"), d = !!l("disabled"), E = !o.get("initial") && r, f = "ltr";
17
- return {
18
- disabled: d,
19
- visible: a,
20
- open: r,
21
- measureSize() {
22
- s({ type: "size.measure" });
23
- },
24
- setOpen(p) {
25
- n.matches("open") !== p && s({ type: p ? "open" : "close" });
26
- },
27
- getRootProps() {
28
- return t.element({
29
- ...m.root.attrs,
30
- "data-state": r ? "open" : "closed",
31
- dir: f,
32
- id: x(i)
33
- });
34
- },
35
- getContentProps() {
36
- return t.element({
37
- ...m.content.attrs,
38
- "data-collapsible": "",
39
- "data-state": E ? void 0 : r ? "open" : "closed",
40
- id: C(i),
41
- "data-disabled": v(d),
42
- hidden: !a,
43
- style: {
44
- "--height": u != null ? `${u}px` : void 0,
45
- "--width": c != null ? `${c}px` : void 0
46
- }
47
- });
48
- },
49
- getTriggerProps() {
50
- return t.element({
51
- ...m.trigger.attrs,
52
- id: A(i),
53
- dir: f,
54
- type: "button",
55
- "data-state": r ? "open" : "closed",
56
- "data-disabled": v(d),
57
- "aria-controls": C(i),
58
- "aria-expanded": a || !1,
59
- onClick(p) {
60
- p.defaultPrevented || d || s({ type: r ? "close" : "open" });
61
- }
62
- });
63
- },
64
- getIndicatorProps() {
65
- return t.element({
66
- ...m.indicator.attrs,
67
- dir: f,
68
- "data-state": r ? "open" : "closed",
69
- "data-disabled": v(d)
70
- });
71
- }
72
- };
73
- }
74
- var V = N({
1
+ import { getContentEl as l } from "./collapsible.dom.js";
2
+ import { createMachine as g } from "../../core/dist/create-machine.js";
3
+ import { raf as m, nextTick as f } from "../../dom-query/dist/raf.js";
4
+ import { observeChildren as h } from "../../dom-query/dist/mutation-observer.js";
5
+ import { getComputedStyle as d } from "../../dom-query/dist/computed-style.js";
6
+ import { setStyle as v, setAttribute as E } from "../../dom-query/dist/set.js";
7
+ import { getEventTarget as u } from "../../dom-query/dist/event.js";
8
+ import { getTabbables as O } from "../../dom-query/dist/tabbable.js";
9
+ var A = g({
75
10
  initialState({ prop: e }) {
76
11
  return e("open") || e("defaultOpen") ? "open" : "closed";
77
12
  },
@@ -97,9 +32,10 @@ var V = N({
97
32
  n(["setInitial", "computeSize", "toggleVisibility"]);
98
33
  });
99
34
  },
100
- exit: ["clearInitial", "cleanupNode"],
35
+ exit: ["cleanupNode"],
101
36
  states: {
102
37
  closed: {
38
+ effects: ["trackTabbableElements"],
103
39
  on: {
104
40
  "controlled.open": {
105
41
  target: "open"
@@ -183,48 +119,68 @@ var V = N({
183
119
  effects: {
184
120
  trackEnterAnimation: ({ send: e, scope: t }) => {
185
121
  let n;
186
- const s = h(() => {
187
- const o = g(t);
122
+ const a = m(() => {
123
+ const o = l(t);
188
124
  if (!o) return;
189
- const i = O(o).animationName;
125
+ const i = d(o).animationName;
190
126
  if (!i || i === "none") {
191
127
  e({ type: "animation.end" });
192
128
  return;
193
129
  }
194
- const a = (r) => {
195
- y(r) === o && e({ type: "animation.end" });
130
+ const r = (s) => {
131
+ u(s) === o && e({ type: "animation.end" });
196
132
  };
197
- o.addEventListener("animationend", a), n = () => {
198
- o.removeEventListener("animationend", a);
133
+ o.addEventListener("animationend", r), n = () => {
134
+ o.removeEventListener("animationend", r);
199
135
  };
200
136
  });
201
137
  return () => {
202
- s(), n == null || n();
138
+ a(), n == null || n();
203
139
  };
204
140
  },
205
141
  trackExitAnimation: ({ send: e, scope: t }) => {
206
142
  let n;
207
- const s = h(() => {
208
- const o = g(t);
143
+ const a = m(() => {
144
+ const o = l(t);
209
145
  if (!o) return;
210
- const i = O(o).animationName;
146
+ const i = d(o).animationName;
211
147
  if (!i || i === "none") {
212
148
  e({ type: "animation.end" });
213
149
  return;
214
150
  }
215
- const a = (c) => {
216
- y(c) === o && e({ type: "animation.end" });
151
+ const r = (p) => {
152
+ u(p) === o && e({ type: "animation.end" });
217
153
  };
218
- o.addEventListener("animationend", a);
219
- const r = I(o, {
154
+ o.addEventListener("animationend", r);
155
+ const s = v(o, {
220
156
  animationFillMode: "forwards"
221
157
  });
222
158
  n = () => {
223
- o.removeEventListener("animationend", a), b(() => r());
159
+ o.removeEventListener("animationend", r), f(() => s());
224
160
  };
225
161
  });
226
162
  return () => {
227
- s(), n == null || n();
163
+ a(), n == null || n();
164
+ };
165
+ },
166
+ trackTabbableElements: ({ scope: e, prop: t }) => {
167
+ if (!t("collapsedHeight") && !t("collapsedWidth")) return;
168
+ const n = l(e);
169
+ if (!n) return;
170
+ const a = () => {
171
+ const r = O(n).map((s) => E(s, "inert", ""));
172
+ return () => {
173
+ r.forEach((s) => s());
174
+ };
175
+ };
176
+ let o = a();
177
+ const i = h(n, {
178
+ callback() {
179
+ o(), o = a();
180
+ }
181
+ });
182
+ return () => {
183
+ o(), i();
228
184
  };
229
185
  }
230
186
  },
@@ -241,23 +197,23 @@ var V = N({
241
197
  e.set("stylesRef", null);
242
198
  },
243
199
  measureSize: ({ context: e, scope: t }) => {
244
- const n = g(t);
200
+ const n = l(t);
245
201
  if (!n) return;
246
- const { height: s, width: o } = n.getBoundingClientRect();
247
- e.set("size", { height: s, width: o });
202
+ const { height: a, width: o } = n.getBoundingClientRect();
203
+ e.set("size", { height: a, width: o });
248
204
  },
249
205
  computeSize: ({ refs: e, scope: t, context: n }) => {
250
206
  var o;
251
207
  (o = e.get("cleanup")) == null || o();
252
- const s = h(() => {
253
- const i = g(t);
208
+ const a = m(() => {
209
+ const i = l(t);
254
210
  if (!i) return;
255
- const l = i.hidden;
211
+ const c = i.hidden;
256
212
  i.style.animationName = "none", i.style.animationDuration = "0s", i.hidden = !1;
257
- const a = i.getBoundingClientRect();
258
- n.set("size", { height: a.height, width: a.width }), n.get("initial") && (i.style.animationName = "", i.style.animationDuration = ""), i.hidden = l;
213
+ const r = i.getBoundingClientRect();
214
+ n.set("size", { height: r.height, width: r.width }), n.get("initial") && (i.style.animationName = "", i.style.animationDuration = ""), i.hidden = c;
259
215
  });
260
- e.set("cleanup", s);
216
+ e.set("cleanup", a);
261
217
  },
262
218
  invokeOnOpen: ({ prop: e }) => {
263
219
  var t;
@@ -277,19 +233,6 @@ var V = N({
277
233
  }
278
234
  }
279
235
  });
280
- S()([
281
- "dir",
282
- "disabled",
283
- "getRootNode",
284
- "id",
285
- "ids",
286
- "onExitComplete",
287
- "onOpenChange",
288
- "defaultOpen",
289
- "open"
290
- ]);
291
236
  export {
292
- z as anatomy,
293
- T as connect,
294
- V as machine
237
+ A as machine
295
238
  };
@@ -0,0 +1,4 @@
1
+ var a = Object.defineProperty, i = (e, r, t) => r in e ? a(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, l = (e, r, t) => i(e, typeof r != "symbol" ? r + "" : r, t);
2
+ export {
3
+ l as __publicField
4
+ };
@@ -1,17 +1,19 @@
1
- import { isEqual as O, isObject as p, hasProp as g } from "../../utils/dist/index.js";
2
- var b = Object.defineProperty, M = (n, u, t) => u in n ? b(n, u, { enumerable: !0, configurable: !0, writable: !0, value: t }) : n[u] = t, r = (n, u, t) => M(n, typeof u != "symbol" ? u + "" : u, t), d = {
3
- itemToValue(n) {
4
- return typeof n == "string" ? n : p(n) && g(n, "value") ? n.value : "";
1
+ import { __publicField as r } from "./chunk-QZ7TP4HQ.js";
2
+ import { isEqual as v } from "../../utils/dist/equal.js";
3
+ import { isObject as g, hasProp as p } from "../../utils/dist/guard.js";
4
+ var d = {
5
+ itemToValue(u) {
6
+ return typeof u == "string" ? u : g(u) && p(u, "value") ? u.value : "";
5
7
  },
6
- itemToString(n) {
7
- return typeof n == "string" ? n : p(n) && g(n, "label") ? n.label : d.itemToValue(n);
8
+ itemToString(u) {
9
+ return typeof u == "string" ? u : g(u) && p(u, "label") ? u.label : d.itemToValue(u);
8
10
  },
9
- isItemDisabled(n) {
10
- return p(n) && g(n, "disabled") ? !!n.disabled : !1;
11
+ isItemDisabled(u) {
12
+ return g(u) && p(u, "disabled") ? !!u.disabled : !1;
11
13
  }
12
- }, w = class I {
13
- constructor(u) {
14
- this.options = u, r(this, "items"), r(this, "indexMap", null), r(this, "copy", (t) => new I({ ...this.options, items: t ?? [...this.items] })), r(this, "isEqual", (t) => O(this.items, t.items)), r(this, "setItems", (t) => this.copy(t)), r(this, "getValues", (t = this.items) => {
14
+ }, B = class I {
15
+ constructor(o) {
16
+ r(this, "options", o), r(this, "items"), r(this, "indexMap", null), r(this, "copy", (t) => new I({ ...this.options, items: t ?? [...this.items] })), r(this, "isEqual", (t) => v(this.items, t.items)), r(this, "setItems", (t) => this.copy(t)), r(this, "getValues", (t = this.items) => {
15
17
  const e = [];
16
18
  for (const i of t) {
17
19
  const s = this.getItemValue(i);
@@ -35,8 +37,8 @@ var b = Object.defineProperty, M = (n, u, t) => u in n ? b(n, u, { enumerable: !
35
37
  let e = 0;
36
38
  const i = this.group();
37
39
  for (const [, s] of i)
38
- for (const h of s) {
39
- if (e === t) return h;
40
+ for (const n of s) {
41
+ if (e === t) return n;
40
42
  e++;
41
43
  }
42
44
  return null;
@@ -55,26 +57,26 @@ var b = Object.defineProperty, M = (n, u, t) => u in n ? b(n, u, { enumerable: !
55
57
  }), r(this, "stringify", (t) => t == null ? null : this.stringifyItem(this.find(t))), r(this, "stringifyItems", (t, e = ", ") => {
56
58
  const i = [];
57
59
  for (const s of t) {
58
- const h = this.stringifyItem(s);
59
- h != null && i.push(h);
60
+ const n = this.stringifyItem(s);
61
+ n != null && i.push(n);
60
62
  }
61
63
  return i.join(e);
62
64
  }), r(this, "stringifyMany", (t, e) => this.stringifyItems(this.findMany(t), e)), r(this, "has", (t) => this.indexOf(t) !== -1), r(this, "hasItem", (t) => t == null ? !1 : this.has(this.getItemValue(t))), r(this, "group", () => {
63
65
  const { groupBy: t, groupSort: e } = this.options;
64
66
  if (!t) return [["", [...this.items]]];
65
67
  const i = /* @__PURE__ */ new Map();
66
- this.items.forEach((h, l) => {
67
- const o = t(h, l);
68
- i.has(o) || i.set(o, []), i.get(o).push(h);
68
+ this.items.forEach((n, h) => {
69
+ const l = t(n, h);
70
+ i.has(l) || i.set(l, []), i.get(l).push(n);
69
71
  });
70
72
  let s = Array.from(i.entries());
71
- return e && s.sort(([h], [l]) => {
72
- if (typeof e == "function") return e(h, l);
73
+ return e && s.sort(([n], [h]) => {
74
+ if (typeof e == "function") return e(n, h);
73
75
  if (Array.isArray(e)) {
74
- const o = e.indexOf(h), a = e.indexOf(l);
75
- return o === -1 ? 1 : a === -1 ? -1 : o - a;
76
+ const l = e.indexOf(n), a = e.indexOf(h);
77
+ return l === -1 ? 1 : a === -1 ? -1 : l - a;
76
78
  }
77
- return e === "asc" ? h.localeCompare(l) : e === "desc" ? l.localeCompare(h) : 0;
79
+ return e === "asc" ? n.localeCompare(h) : e === "desc" ? h.localeCompare(n) : 0;
78
80
  }), s;
79
81
  }), r(this, "getNextValue", (t, e = 1, i = !1) => {
80
82
  let s = this.indexOf(t);
@@ -95,30 +97,30 @@ var b = Object.defineProperty, M = (n, u, t) => u in n ? b(n, u, { enumerable: !
95
97
  let e = 0;
96
98
  const i = this.group();
97
99
  for (const [, s] of i)
98
- for (const h of s) {
99
- const l = this.getItemValue(h);
100
- l != null && this.indexMap.set(l, e), e++;
100
+ for (const n of s) {
101
+ const h = this.getItemValue(n);
102
+ h != null && this.indexMap.set(h, e), e++;
101
103
  }
102
104
  }
103
105
  return this.indexMap.get(t) ?? -1;
104
106
  }), r(this, "getByText", (t, e) => {
105
107
  const i = e != null ? this.indexOf(e) : -1, s = t.length === 1;
106
- for (let h = 0; h < this.items.length; h++) {
107
- const l = this.items[(i + h + 1) % this.items.length];
108
- if (!(s && this.getItemValue(l) === e) && !this.getItemDisabled(l) && S(this.stringifyItem(l), t))
109
- return l;
108
+ for (let n = 0; n < this.items.length; n++) {
109
+ const h = this.items[(i + n + 1) % this.items.length];
110
+ if (!(s && this.getItemValue(h) === e) && !this.getItemDisabled(h) && b(this.stringifyItem(h), t))
111
+ return h;
110
112
  }
111
113
  }), r(this, "search", (t, e) => {
112
- const { state: i, currentValue: s, timeout: h = 350 } = e, l = i.keysSoFar + t, a = l.length > 1 && Array.from(l).every((m) => m === l[0]) ? l[0] : l, V = this.getByText(a, s), v = this.getItemValue(V);
114
+ const { state: i, currentValue: s, timeout: n = 350 } = e, h = i.keysSoFar + t, a = h.length > 1 && Array.from(h).every((m) => m === h[0]) ? h[0] : h, V = this.getByText(a, s), O = this.getItemValue(V);
113
115
  function y() {
114
116
  clearTimeout(i.timer), i.timer = -1;
115
117
  }
116
118
  function x(m) {
117
119
  i.keysSoFar = m, y(), m !== "" && (i.timer = +setTimeout(() => {
118
120
  x(""), y();
119
- }, h));
121
+ }, n));
120
122
  }
121
- return x(l), v;
123
+ return x(h), O;
122
124
  }), r(this, "update", (t, e) => {
123
125
  let i = this.indexOf(t);
124
126
  return i === -1 ? this : this.copy([...this.items.slice(0, i), e, ...this.items.slice(i + 1)]);
@@ -154,14 +156,14 @@ var b = Object.defineProperty, M = (n, u, t) => u in n ? b(n, u, { enumerable: !
154
156
  const i = this.indexOf(t);
155
157
  return i === -1 ? this : this.copy(c(this.items, [i], e));
156
158
  }), r(this, "moveBefore", (t, ...e) => {
157
- let i = this.items.findIndex((h) => this.getItemValue(h) === t);
159
+ let i = this.items.findIndex((n) => this.getItemValue(n) === t);
158
160
  if (i === -1) return this;
159
- let s = e.map((h) => this.items.findIndex((l) => this.getItemValue(l) === h)).sort((h, l) => h - l);
161
+ let s = e.map((n) => this.items.findIndex((h) => this.getItemValue(h) === n)).sort((n, h) => n - h);
160
162
  return this.copy(c(this.items, s, i));
161
163
  }), r(this, "moveAfter", (t, ...e) => {
162
- let i = this.items.findIndex((h) => this.getItemValue(h) === t);
164
+ let i = this.items.findIndex((n) => this.getItemValue(n) === t);
163
165
  if (i === -1) return this;
164
- let s = e.map((h) => this.items.findIndex((l) => this.getItemValue(l) === h)).sort((h, l) => h - l);
166
+ let s = e.map((n) => this.items.findIndex((h) => this.getItemValue(h) === n)).sort((n, h) => n - h);
165
167
  return this.copy(c(this.items, s, i + 1));
166
168
  }), r(this, "reorder", (t, e) => this.copy(c(this.items, [t], e))), r(this, "compareValue", (t, e) => {
167
169
  const i = this.indexOf(t), s = this.indexOf(e);
@@ -176,15 +178,15 @@ var b = Object.defineProperty, M = (n, u, t) => u in n ? b(n, u, { enumerable: !
176
178
  }), r(this, "getValueRange", (t, e) => t && e ? this.compareValue(t, e) <= 0 ? this.range(t, e) : this.range(e, t) : []), r(this, "toString", () => {
177
179
  let t = "";
178
180
  for (const e of this.items) {
179
- const i = this.getItemValue(e), s = this.stringifyItem(e), h = this.getItemDisabled(e), l = [i, s, h].filter(Boolean).join(":");
180
- t += l + ",";
181
+ const i = this.getItemValue(e), s = this.stringifyItem(e), n = this.getItemDisabled(e), h = [i, s, n].filter(Boolean).join(":");
182
+ t += h + ",";
181
183
  }
182
184
  return t;
183
185
  }), r(this, "toJSON", () => ({
184
186
  size: this.size,
185
187
  first: this.firstValue,
186
188
  last: this.lastValue
187
- })), this.items = [...u.items];
189
+ })), this.items = [...o.items];
188
190
  }
189
191
  /**
190
192
  * Returns the number of items in the collection
@@ -196,32 +198,32 @@ var b = Object.defineProperty, M = (n, u, t) => u in n ? b(n, u, { enumerable: !
196
198
  * Returns the first value in the collection
197
199
  */
198
200
  get firstValue() {
199
- let u = 0;
200
- for (; this.getItemDisabled(this.at(u)); ) u++;
201
- return this.getItemValue(this.at(u));
201
+ let o = 0;
202
+ for (; this.getItemDisabled(this.at(o)); ) o++;
203
+ return this.getItemValue(this.at(o));
202
204
  }
203
205
  /**
204
206
  * Returns the last value in the collection
205
207
  */
206
208
  get lastValue() {
207
- let u = this.size - 1;
208
- for (; this.getItemDisabled(this.at(u)); ) u--;
209
- return this.getItemValue(this.at(u));
209
+ let o = this.size - 1;
210
+ for (; this.getItemDisabled(this.at(o)); ) o--;
211
+ return this.getItemValue(this.at(o));
210
212
  }
211
213
  *[Symbol.iterator]() {
212
214
  yield* this.items;
213
215
  }
214
- }, S = (n, u) => !!(n != null && n.toLowerCase().startsWith(u.toLowerCase()));
215
- function f(n, u, ...t) {
216
- return [...n.slice(0, u), ...t, ...n.slice(u)];
216
+ }, b = (u, o) => !!(u != null && u.toLowerCase().startsWith(o.toLowerCase()));
217
+ function f(u, o, ...t) {
218
+ return [...u.slice(0, o), ...t, ...u.slice(o)];
217
219
  }
218
- function c(n, u, t) {
219
- u = [...u].sort((i, s) => i - s);
220
- const e = u.map((i) => n[i]);
221
- for (let i = u.length - 1; i >= 0; i--)
222
- n = [...n.slice(0, u[i]), ...n.slice(u[i] + 1)];
223
- return t = Math.max(0, t - u.filter((i) => i < t).length), [...n.slice(0, t), ...e, ...n.slice(t)];
220
+ function c(u, o, t) {
221
+ o = [...o].sort((i, s) => i - s);
222
+ const e = o.map((i) => u[i]);
223
+ for (let i = o.length - 1; i >= 0; i--)
224
+ u = [...u.slice(0, o[i]), ...u.slice(o[i] + 1)];
225
+ return t = Math.max(0, t - o.filter((i) => i < t).length), [...u.slice(0, t), ...e, ...u.slice(t)];
224
226
  }
225
227
  export {
226
- w as ListCollection
228
+ B as ListCollection
227
229
  };
@@ -0,0 +1,58 @@
1
+ function c({
2
+ values: e,
3
+ collection: t,
4
+ selectedItemMap: o
5
+ }) {
6
+ const a = [];
7
+ for (const n of e) {
8
+ const l = t.find(n) ?? o.get(n);
9
+ l != null && a.push(l);
10
+ }
11
+ return a;
12
+ }
13
+ function r({
14
+ selectedItemMap: e,
15
+ values: t,
16
+ selectedItems: o,
17
+ collection: a
18
+ }) {
19
+ const n = new Map(e);
20
+ for (const u of o) {
21
+ const s = a.getItemValue(u);
22
+ s != null && n.set(s, u);
23
+ }
24
+ const l = new Set(t);
25
+ for (const u of n.keys())
26
+ l.has(u) || n.delete(u);
27
+ return n;
28
+ }
29
+ function f({
30
+ values: e,
31
+ collection: t,
32
+ selectedItemMap: o
33
+ }) {
34
+ const a = c({ values: e, collection: t, selectedItemMap: o }), n = r({
35
+ selectedItemMap: o,
36
+ values: e,
37
+ selectedItems: a,
38
+ collection: t
39
+ });
40
+ return { selectedItems: a, nextSelectedItemMap: n };
41
+ }
42
+ function i({
43
+ selectedItems: e,
44
+ collection: t
45
+ }) {
46
+ return r({
47
+ selectedItemMap: /* @__PURE__ */ new Map(),
48
+ values: e.map((o) => t.getItemValue(o)).filter(Boolean),
49
+ selectedItems: e,
50
+ collection: t
51
+ });
52
+ }
53
+ export {
54
+ i as createSelectedItemMap,
55
+ f as deriveSelectionState,
56
+ c as resolveSelectedItems,
57
+ r as updateSelectedItemMap
58
+ };
@@ -0,0 +1,21 @@
1
+ import { createAnatomy as t } from "../../anatomy/dist/create-anatomy.js";
2
+ var r = t("combobox").parts(
3
+ "root",
4
+ "clearTrigger",
5
+ "content",
6
+ "control",
7
+ "input",
8
+ "item",
9
+ "itemGroup",
10
+ "itemGroupLabel",
11
+ "itemIndicator",
12
+ "itemText",
13
+ "label",
14
+ "list",
15
+ "positioner",
16
+ "trigger"
17
+ ), e = r.build();
18
+ export {
19
+ r as anatomy,
20
+ e as parts
21
+ };
@@ -0,0 +1,6 @@
1
+ import { ListCollection as e } from "../../collection/dist/list-collection.js";
2
+ var r = (t) => new e(t);
3
+ r.empty = () => new e({ items: [] });
4
+ export {
5
+ r as collection
6
+ };