@fabio.caffarello/react-design-system 3.8.0 → 3.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (411) hide show
  1. package/README.md +2 -1
  2. package/dist/granular/index.js +445 -0
  3. package/dist/granular/index.js.map +1 -0
  4. package/dist/granular/ui/components/Accordion/Accordion.js +105 -0
  5. package/dist/granular/ui/components/Accordion/Accordion.js.map +1 -0
  6. package/dist/granular/ui/components/Autocomplete/Autocomplete.js +133 -0
  7. package/dist/granular/ui/components/Autocomplete/Autocomplete.js.map +1 -0
  8. package/dist/granular/ui/components/Autocomplete/AutocompleteList.js +119 -0
  9. package/dist/granular/ui/components/Autocomplete/AutocompleteList.js.map +1 -0
  10. package/dist/granular/ui/components/Autocomplete/AutocompleteOption.js +42 -0
  11. package/dist/granular/ui/components/Autocomplete/AutocompleteOption.js.map +1 -0
  12. package/dist/granular/ui/components/Breadcrumb/Breadcrumb.js +100 -0
  13. package/dist/granular/ui/components/Breadcrumb/Breadcrumb.js.map +1 -0
  14. package/dist/granular/ui/components/Card/Card.js +113 -0
  15. package/dist/granular/ui/components/Card/Card.js.map +1 -0
  16. package/dist/granular/ui/components/Card/CardActions.js +51 -0
  17. package/dist/granular/ui/components/Card/CardActions.js.map +1 -0
  18. package/dist/granular/ui/components/Card/CardBody.js +32 -0
  19. package/dist/granular/ui/components/Card/CardBody.js.map +1 -0
  20. package/dist/granular/ui/components/Card/CardHeader.js +47 -0
  21. package/dist/granular/ui/components/Card/CardHeader.js.map +1 -0
  22. package/dist/granular/ui/components/Card/CardSubtitle.js +38 -0
  23. package/dist/granular/ui/components/Card/CardSubtitle.js.map +1 -0
  24. package/dist/granular/ui/components/Card/CardTitle.js +61 -0
  25. package/dist/granular/ui/components/Card/CardTitle.js.map +1 -0
  26. package/dist/granular/ui/components/ColorPicker/ColorPicker.js +250 -0
  27. package/dist/granular/ui/components/ColorPicker/ColorPicker.js.map +1 -0
  28. package/dist/granular/ui/components/CommandPalette/CommandPalette.js +274 -0
  29. package/dist/granular/ui/components/CommandPalette/CommandPalette.js.map +1 -0
  30. package/dist/granular/ui/components/DashboardLayout/DashboardLayout.js +37 -0
  31. package/dist/granular/ui/components/DashboardLayout/DashboardLayout.js.map +1 -0
  32. package/dist/granular/ui/components/DataGrid/DataGrid.js +155 -0
  33. package/dist/granular/ui/components/DataGrid/DataGrid.js.map +1 -0
  34. package/dist/granular/ui/components/DataTablePattern/DataTablePattern.js +113 -0
  35. package/dist/granular/ui/components/DataTablePattern/DataTablePattern.js.map +1 -0
  36. package/dist/granular/ui/components/DatePicker/DatePicker.js +126 -0
  37. package/dist/granular/ui/components/DatePicker/DatePicker.js.map +1 -0
  38. package/dist/granular/ui/components/DatePicker/DatePickerCalendar.js +294 -0
  39. package/dist/granular/ui/components/DatePicker/DatePickerCalendar.js.map +1 -0
  40. package/dist/granular/ui/components/DatePicker/DatePickerContext.js +16 -0
  41. package/dist/granular/ui/components/DatePicker/DatePickerContext.js.map +1 -0
  42. package/dist/granular/ui/components/DatePicker/DatePickerInput.js +119 -0
  43. package/dist/granular/ui/components/DatePicker/DatePickerInput.js.map +1 -0
  44. package/dist/granular/ui/components/DatePicker/DatePickerProvider.js +47 -0
  45. package/dist/granular/ui/components/DatePicker/DatePickerProvider.js.map +1 -0
  46. package/dist/granular/ui/components/Dialog/AlertDialog.js +48 -0
  47. package/dist/granular/ui/components/Dialog/AlertDialog.js.map +1 -0
  48. package/dist/granular/ui/components/Dialog/Dialog.js +36 -0
  49. package/dist/granular/ui/components/Dialog/Dialog.js.map +1 -0
  50. package/dist/granular/ui/components/Dialog/DialogClose.js +34 -0
  51. package/dist/granular/ui/components/Dialog/DialogClose.js.map +1 -0
  52. package/dist/granular/ui/components/Dialog/DialogContent.js +114 -0
  53. package/dist/granular/ui/components/Dialog/DialogContent.js.map +1 -0
  54. package/dist/granular/ui/components/Dialog/DialogDescription.js +51 -0
  55. package/dist/granular/ui/components/Dialog/DialogDescription.js.map +1 -0
  56. package/dist/granular/ui/components/Dialog/DialogFooter.js +45 -0
  57. package/dist/granular/ui/components/Dialog/DialogFooter.js.map +1 -0
  58. package/dist/granular/ui/components/Dialog/DialogHeader.js +45 -0
  59. package/dist/granular/ui/components/Dialog/DialogHeader.js.map +1 -0
  60. package/dist/granular/ui/components/Dialog/DialogTitle.js +53 -0
  61. package/dist/granular/ui/components/Dialog/DialogTitle.js.map +1 -0
  62. package/dist/granular/ui/components/Dialog/DialogTrigger.js +28 -0
  63. package/dist/granular/ui/components/Dialog/DialogTrigger.js.map +1 -0
  64. package/dist/granular/ui/components/Drawer/Drawer.js +47 -0
  65. package/dist/granular/ui/components/Drawer/Drawer.js.map +1 -0
  66. package/dist/granular/ui/components/Drawer/DrawerContent.js +140 -0
  67. package/dist/granular/ui/components/Drawer/DrawerContent.js.map +1 -0
  68. package/dist/granular/ui/components/Drawer/DrawerContext.js +21 -0
  69. package/dist/granular/ui/components/Drawer/DrawerContext.js.map +1 -0
  70. package/dist/granular/ui/components/Drawer/DrawerFooter.js +53 -0
  71. package/dist/granular/ui/components/Drawer/DrawerFooter.js.map +1 -0
  72. package/dist/granular/ui/components/Drawer/DrawerHeader.js +50 -0
  73. package/dist/granular/ui/components/Drawer/DrawerHeader.js.map +1 -0
  74. package/dist/granular/ui/components/Dropdown/Dropdown.js +243 -0
  75. package/dist/granular/ui/components/Dropdown/Dropdown.js.map +1 -0
  76. package/dist/granular/ui/components/EmptyState/EmptyState.js +102 -0
  77. package/dist/granular/ui/components/EmptyState/EmptyState.js.map +1 -0
  78. package/dist/granular/ui/components/FileUpload/FileUpload.js +342 -0
  79. package/dist/granular/ui/components/FileUpload/FileUpload.js.map +1 -0
  80. package/dist/granular/ui/components/Form/Form.js +184 -0
  81. package/dist/granular/ui/components/Form/Form.js.map +1 -0
  82. package/dist/granular/ui/components/Form/FormContext.js +19 -0
  83. package/dist/granular/ui/components/Form/FormContext.js.map +1 -0
  84. package/dist/granular/ui/components/Form/FormField.js +66 -0
  85. package/dist/granular/ui/components/Form/FormField.js.map +1 -0
  86. package/dist/granular/ui/components/Form/FormProvider.js +17 -0
  87. package/dist/granular/ui/components/Form/FormProvider.js.map +1 -0
  88. package/dist/granular/ui/components/Form/useFormFieldArray.js +29 -0
  89. package/dist/granular/ui/components/Form/useFormFieldArray.js.map +1 -0
  90. package/dist/granular/ui/components/FormWizardPattern/FormWizardPattern.js +121 -0
  91. package/dist/granular/ui/components/FormWizardPattern/FormWizardPattern.js.map +1 -0
  92. package/dist/granular/ui/components/Header/Header.js +98 -0
  93. package/dist/granular/ui/components/Header/Header.js.map +1 -0
  94. package/dist/granular/ui/components/Header/components/HeaderActions.js +21 -0
  95. package/dist/granular/ui/components/Header/components/HeaderActions.js.map +1 -0
  96. package/dist/granular/ui/components/Header/components/HeaderHamburger.js +31 -0
  97. package/dist/granular/ui/components/Header/components/HeaderHamburger.js.map +1 -0
  98. package/dist/granular/ui/components/Header/components/HeaderLogo.js +50 -0
  99. package/dist/granular/ui/components/Header/components/HeaderLogo.js.map +1 -0
  100. package/dist/granular/ui/components/Header/components/HeaderMobileMenu.js +38 -0
  101. package/dist/granular/ui/components/Header/components/HeaderMobileMenu.js.map +1 -0
  102. package/dist/granular/ui/components/Header/components/HeaderNavigation.js +27 -0
  103. package/dist/granular/ui/components/Header/components/HeaderNavigation.js.map +1 -0
  104. package/dist/granular/ui/components/Header/contexts/HeaderContext.js +49 -0
  105. package/dist/granular/ui/components/Header/contexts/HeaderContext.js.map +1 -0
  106. package/dist/granular/ui/components/LoginBox/LoginBox.js +84 -0
  107. package/dist/granular/ui/components/LoginBox/LoginBox.js.map +1 -0
  108. package/dist/granular/ui/components/Menu/Menu.js +45 -0
  109. package/dist/granular/ui/components/Menu/Menu.js.map +1 -0
  110. package/dist/granular/ui/components/Menu/MenuContent.js +94 -0
  111. package/dist/granular/ui/components/Menu/MenuContent.js.map +1 -0
  112. package/dist/granular/ui/components/Menu/MenuContext.js +21 -0
  113. package/dist/granular/ui/components/Menu/MenuContext.js.map +1 -0
  114. package/dist/granular/ui/components/Menu/MenuItem.js +93 -0
  115. package/dist/granular/ui/components/Menu/MenuItem.js.map +1 -0
  116. package/dist/granular/ui/components/Menu/MenuSeparator.js +46 -0
  117. package/dist/granular/ui/components/Menu/MenuSeparator.js.map +1 -0
  118. package/dist/granular/ui/components/Menu/MenuTrigger.js +71 -0
  119. package/dist/granular/ui/components/Menu/MenuTrigger.js.map +1 -0
  120. package/dist/granular/ui/components/Modal/Modal.js +171 -0
  121. package/dist/granular/ui/components/Modal/Modal.js.map +1 -0
  122. package/dist/granular/ui/components/MultiSelect/MultiSelect.js +193 -0
  123. package/dist/granular/ui/components/MultiSelect/MultiSelect.js.map +1 -0
  124. package/dist/granular/ui/components/Navigation/Navigation.js +141 -0
  125. package/dist/granular/ui/components/Navigation/Navigation.js.map +1 -0
  126. package/dist/granular/ui/components/PageHeader/PageHeader.js +95 -0
  127. package/dist/granular/ui/components/PageHeader/PageHeader.js.map +1 -0
  128. package/dist/granular/ui/components/Pagination/Pagination.js +156 -0
  129. package/dist/granular/ui/components/Pagination/Pagination.js.map +1 -0
  130. package/dist/granular/ui/components/Popover/Popover.js +171 -0
  131. package/dist/granular/ui/components/Popover/Popover.js.map +1 -0
  132. package/dist/granular/ui/components/Rating/Rating.js +110 -0
  133. package/dist/granular/ui/components/Rating/Rating.js.map +1 -0
  134. package/dist/granular/ui/components/SearchAndFilterPattern/SearchAndFilterPattern.js +120 -0
  135. package/dist/granular/ui/components/SearchAndFilterPattern/SearchAndFilterPattern.js.map +1 -0
  136. package/dist/granular/ui/components/SearchInput/SearchInput.js +103 -0
  137. package/dist/granular/ui/components/SearchInput/SearchInput.js.map +1 -0
  138. package/dist/granular/ui/components/SideNavbar/SideNavbar.js +143 -0
  139. package/dist/granular/ui/components/SideNavbar/SideNavbar.js.map +1 -0
  140. package/dist/granular/ui/components/SideNavbar/components/Navbar/Navbar.js +173 -0
  141. package/dist/granular/ui/components/SideNavbar/components/Navbar/Navbar.js.map +1 -0
  142. package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarGroup.js +87 -0
  143. package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarGroup.js.map +1 -0
  144. package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarItem.js +242 -0
  145. package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarItem.js.map +1 -0
  146. package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarSeparator.js +66 -0
  147. package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarSeparator.js.map +1 -0
  148. package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarToggle.js +108 -0
  149. package/dist/granular/ui/components/SideNavbar/components/Navbar/NavbarToggle.js.map +1 -0
  150. package/dist/granular/ui/components/SideNavbar/components/SideNavbarBackdrop.js +63 -0
  151. package/dist/granular/ui/components/SideNavbar/components/SideNavbarBackdrop.js.map +1 -0
  152. package/dist/granular/ui/components/SideNavbar/components/SideNavbarResizeHandle.js +113 -0
  153. package/dist/granular/ui/components/SideNavbar/components/SideNavbarResizeHandle.js.map +1 -0
  154. package/dist/granular/ui/components/SideNavbar/components/SideNavbarRoot.js +150 -0
  155. package/dist/granular/ui/components/SideNavbar/components/SideNavbarRoot.js.map +1 -0
  156. package/dist/granular/ui/components/SideNavbar/components/SideNavbarToggle.js +197 -0
  157. package/dist/granular/ui/components/SideNavbar/components/SideNavbarToggle.js.map +1 -0
  158. package/dist/granular/ui/components/SideNavbar/components/Sidebar/Sidebar.js +108 -0
  159. package/dist/granular/ui/components/SideNavbar/components/Sidebar/Sidebar.js.map +1 -0
  160. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarContent.js +71 -0
  161. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarContent.js.map +1 -0
  162. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarFooter.js +64 -0
  163. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarFooter.js.map +1 -0
  164. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarGroup.js +141 -0
  165. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarGroup.js.map +1 -0
  166. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarHeader.js +90 -0
  167. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarHeader.js.map +1 -0
  168. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarSlot.js +12 -0
  169. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarSlot.js.map +1 -0
  170. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarSlotContent.js +13 -0
  171. package/dist/granular/ui/components/SideNavbar/components/Sidebar/SidebarSlotContent.js.map +1 -0
  172. package/dist/granular/ui/components/SideNavbar/contexts/NavbarContext.js +20 -0
  173. package/dist/granular/ui/components/SideNavbar/contexts/NavbarContext.js.map +1 -0
  174. package/dist/granular/ui/components/SideNavbar/contexts/SideNavbarConfigContext.js +37 -0
  175. package/dist/granular/ui/components/SideNavbar/contexts/SideNavbarConfigContext.js.map +1 -0
  176. package/dist/granular/ui/components/SideNavbar/contexts/SideNavbarStateContext.js +20 -0
  177. package/dist/granular/ui/components/SideNavbar/contexts/SideNavbarStateContext.js.map +1 -0
  178. package/dist/granular/ui/components/SideNavbar/contexts/SideNavbarThemeContext.js +28 -0
  179. package/dist/granular/ui/components/SideNavbar/contexts/SideNavbarThemeContext.js.map +1 -0
  180. package/dist/granular/ui/components/SideNavbar/contexts/SideNavbarToggleContext.js +19 -0
  181. package/dist/granular/ui/components/SideNavbar/contexts/SideNavbarToggleContext.js.map +1 -0
  182. package/dist/granular/ui/components/SideNavbar/contexts/SidebarContext.js +20 -0
  183. package/dist/granular/ui/components/SideNavbar/contexts/SidebarContext.js.map +1 -0
  184. package/dist/granular/ui/components/SideNavbar/contexts/SidebarSlotContext.js +22 -0
  185. package/dist/granular/ui/components/SideNavbar/contexts/SidebarSlotContext.js.map +1 -0
  186. package/dist/granular/ui/components/SideNavbar/hooks/useFocusManagement.js +43 -0
  187. package/dist/granular/ui/components/SideNavbar/hooks/useFocusManagement.js.map +1 -0
  188. package/dist/granular/ui/components/SideNavbar/hooks/useGroupState.js +59 -0
  189. package/dist/granular/ui/components/SideNavbar/hooks/useGroupState.js.map +1 -0
  190. package/dist/granular/ui/components/SideNavbar/hooks/useKeyboardShortcut.js +34 -0
  191. package/dist/granular/ui/components/SideNavbar/hooks/useKeyboardShortcut.js.map +1 -0
  192. package/dist/granular/ui/components/SideNavbar/hooks/useResize.js +58 -0
  193. package/dist/granular/ui/components/SideNavbar/hooks/useResize.js.map +1 -0
  194. package/dist/granular/ui/components/SideNavbar/hooks/useResponsiveSidebar.js +35 -0
  195. package/dist/granular/ui/components/SideNavbar/hooks/useResponsiveSidebar.js.map +1 -0
  196. package/dist/granular/ui/components/SideNavbar/hooks/useSideNavbar.js +21 -0
  197. package/dist/granular/ui/components/SideNavbar/hooks/useSideNavbar.js.map +1 -0
  198. package/dist/granular/ui/components/SideNavbar/hooks/useSideNavbarContent.js +19 -0
  199. package/dist/granular/ui/components/SideNavbar/hooks/useSideNavbarContent.js.map +1 -0
  200. package/dist/granular/ui/components/SideNavbar/hooks/useSideNavbarNavigation.js +21 -0
  201. package/dist/granular/ui/components/SideNavbar/hooks/useSideNavbarNavigation.js.map +1 -0
  202. package/dist/granular/ui/components/SideNavbar/providers/SideNavbarConfigProvider.js +61 -0
  203. package/dist/granular/ui/components/SideNavbar/providers/SideNavbarConfigProvider.js.map +1 -0
  204. package/dist/granular/ui/components/SideNavbar/providers/SideNavbarProvider.js +82 -0
  205. package/dist/granular/ui/components/SideNavbar/providers/SideNavbarProvider.js.map +1 -0
  206. package/dist/granular/ui/components/SideNavbar/providers/SideNavbarStateProvider.js +165 -0
  207. package/dist/granular/ui/components/SideNavbar/providers/SideNavbarStateProvider.js.map +1 -0
  208. package/dist/granular/ui/components/SideNavbar/providers/SideNavbarThemeProvider.js +34 -0
  209. package/dist/granular/ui/components/SideNavbar/providers/SideNavbarThemeProvider.js.map +1 -0
  210. package/dist/granular/ui/components/SideNavbar/providers/SidebarSlotProvider.js +28 -0
  211. package/dist/granular/ui/components/SideNavbar/providers/SidebarSlotProvider.js.map +1 -0
  212. package/dist/granular/ui/components/SideNavbar/utils/parseKeyboardShortcut.js +60 -0
  213. package/dist/granular/ui/components/SideNavbar/utils/parseKeyboardShortcut.js.map +1 -0
  214. package/dist/granular/ui/components/SideNavbar/utils/parseWidth.js +19 -0
  215. package/dist/granular/ui/components/SideNavbar/utils/parseWidth.js.map +1 -0
  216. package/dist/granular/ui/components/Stat/Stat.js +84 -0
  217. package/dist/granular/ui/components/Stat/Stat.js.map +1 -0
  218. package/dist/granular/ui/components/Stat/StatGroup.js +61 -0
  219. package/dist/granular/ui/components/Stat/StatGroup.js.map +1 -0
  220. package/dist/granular/ui/components/Stepper/Stepper.js +248 -0
  221. package/dist/granular/ui/components/Stepper/Stepper.js.map +1 -0
  222. package/dist/granular/ui/components/Table/Table.js +162 -0
  223. package/dist/granular/ui/components/Table/Table.js.map +1 -0
  224. package/dist/granular/ui/components/Table/TableActions/TableActions.js +67 -0
  225. package/dist/granular/ui/components/Table/TableActions/TableActions.js.map +1 -0
  226. package/dist/granular/ui/components/Table/TableActions.js +44 -0
  227. package/dist/granular/ui/components/Table/TableActions.js.map +1 -0
  228. package/dist/granular/ui/components/Table/TableBody.js +134 -0
  229. package/dist/granular/ui/components/Table/TableBody.js.map +1 -0
  230. package/dist/granular/ui/components/Table/TableCell.js +40 -0
  231. package/dist/granular/ui/components/Table/TableCell.js.map +1 -0
  232. package/dist/granular/ui/components/Table/TableContext.js +19 -0
  233. package/dist/granular/ui/components/Table/TableContext.js.map +1 -0
  234. package/dist/granular/ui/components/Table/TableEmptyState.js +62 -0
  235. package/dist/granular/ui/components/Table/TableEmptyState.js.map +1 -0
  236. package/dist/granular/ui/components/Table/TableFilters/TableFilters.js +189 -0
  237. package/dist/granular/ui/components/Table/TableFilters/TableFilters.js.map +1 -0
  238. package/dist/granular/ui/components/Table/TableFilters.js +48 -0
  239. package/dist/granular/ui/components/Table/TableFilters.js.map +1 -0
  240. package/dist/granular/ui/components/Table/TableHeader.js +45 -0
  241. package/dist/granular/ui/components/Table/TableHeader.js.map +1 -0
  242. package/dist/granular/ui/components/Table/TableHeaderCell.js +117 -0
  243. package/dist/granular/ui/components/Table/TableHeaderCell.js.map +1 -0
  244. package/dist/granular/ui/components/Table/TableHeaderRow.js +89 -0
  245. package/dist/granular/ui/components/Table/TableHeaderRow.js.map +1 -0
  246. package/dist/granular/ui/components/Table/TablePagination/TablePagination.js +216 -0
  247. package/dist/granular/ui/components/Table/TablePagination/TablePagination.js.map +1 -0
  248. package/dist/granular/ui/components/Table/TablePagination.js +56 -0
  249. package/dist/granular/ui/components/Table/TablePagination.js.map +1 -0
  250. package/dist/granular/ui/components/Table/TableProvider.js +244 -0
  251. package/dist/granular/ui/components/Table/TableProvider.js.map +1 -0
  252. package/dist/granular/ui/components/Table/TableRow.js +95 -0
  253. package/dist/granular/ui/components/Table/TableRow.js.map +1 -0
  254. package/dist/granular/ui/components/Table/useColumnResizing.js +71 -0
  255. package/dist/granular/ui/components/Table/useColumnResizing.js.map +1 -0
  256. package/dist/granular/ui/components/Table/useVirtualScrolling.js +50 -0
  257. package/dist/granular/ui/components/Table/useVirtualScrolling.js.map +1 -0
  258. package/dist/granular/ui/components/Tabs/Tabs.js +39 -0
  259. package/dist/granular/ui/components/Tabs/Tabs.js.map +1 -0
  260. package/dist/granular/ui/components/Tabs/TabsContent.js +59 -0
  261. package/dist/granular/ui/components/Tabs/TabsContent.js.map +1 -0
  262. package/dist/granular/ui/components/Tabs/TabsContext.js +18 -0
  263. package/dist/granular/ui/components/Tabs/TabsContext.js.map +1 -0
  264. package/dist/granular/ui/components/Tabs/TabsList.js +84 -0
  265. package/dist/granular/ui/components/Tabs/TabsList.js.map +1 -0
  266. package/dist/granular/ui/components/Tabs/TabsProvider.js +31 -0
  267. package/dist/granular/ui/components/Tabs/TabsProvider.js.map +1 -0
  268. package/dist/granular/ui/components/Tabs/TabsTrigger.js +103 -0
  269. package/dist/granular/ui/components/Tabs/TabsTrigger.js.map +1 -0
  270. package/dist/granular/ui/components/TimePicker/TimePicker.js +216 -0
  271. package/dist/granular/ui/components/TimePicker/TimePicker.js.map +1 -0
  272. package/dist/granular/ui/components/Timeline/Timeline.js +152 -0
  273. package/dist/granular/ui/components/Timeline/Timeline.js.map +1 -0
  274. package/dist/granular/ui/components/Toast/Toast.js +159 -0
  275. package/dist/granular/ui/components/Toast/Toast.js.map +1 -0
  276. package/dist/granular/ui/components/Toast/ToastContainer.js +41 -0
  277. package/dist/granular/ui/components/Toast/ToastContainer.js.map +1 -0
  278. package/dist/granular/ui/components/Toast/useToast.js +64 -0
  279. package/dist/granular/ui/components/Toast/useToast.js.map +1 -0
  280. package/dist/granular/ui/hooks/createGenericContext.js +27 -0
  281. package/dist/granular/ui/hooks/createGenericContext.js.map +1 -0
  282. package/dist/granular/ui/hooks/focusable.js +14 -0
  283. package/dist/granular/ui/hooks/focusable.js.map +1 -0
  284. package/dist/granular/ui/hooks/useAutoFocus.js +23 -0
  285. package/dist/granular/ui/hooks/useAutoFocus.js.map +1 -0
  286. package/dist/granular/ui/hooks/useCollapsible.js +37 -0
  287. package/dist/granular/ui/hooks/useCollapsible.js.map +1 -0
  288. package/dist/granular/ui/hooks/useFocusRestore.js +20 -0
  289. package/dist/granular/ui/hooks/useFocusRestore.js.map +1 -0
  290. package/dist/granular/ui/hooks/useFocusTrap.js +31 -0
  291. package/dist/granular/ui/hooks/useFocusTrap.js.map +1 -0
  292. package/dist/granular/ui/hooks/useScrollSpy.js +23 -0
  293. package/dist/granular/ui/hooks/useScrollSpy.js.map +1 -0
  294. package/dist/granular/ui/layouts/Container/Container.js +73 -0
  295. package/dist/granular/ui/layouts/Container/Container.js.map +1 -0
  296. package/dist/granular/ui/layouts/Stack/Stack.js +79 -0
  297. package/dist/granular/ui/layouts/Stack/Stack.js.map +1 -0
  298. package/dist/granular/ui/primitives/Avatar/Avatar.js +122 -0
  299. package/dist/granular/ui/primitives/Avatar/Avatar.js.map +1 -0
  300. package/dist/granular/ui/primitives/Avatar/AvatarGroup.js +97 -0
  301. package/dist/granular/ui/primitives/Avatar/AvatarGroup.js.map +1 -0
  302. package/dist/granular/ui/primitives/Badge/Badge.js +212 -0
  303. package/dist/granular/ui/primitives/Badge/Badge.js.map +1 -0
  304. package/dist/granular/ui/primitives/Button/Button.js +288 -0
  305. package/dist/granular/ui/primitives/Button/Button.js.map +1 -0
  306. package/dist/granular/ui/primitives/Checkbox/Checkbox.js +129 -0
  307. package/dist/granular/ui/primitives/Checkbox/Checkbox.js.map +1 -0
  308. package/dist/granular/ui/primitives/Chip/Chip.js +206 -0
  309. package/dist/granular/ui/primitives/Chip/Chip.js.map +1 -0
  310. package/dist/granular/ui/primitives/Collapsible/Collapsible.js +115 -0
  311. package/dist/granular/ui/primitives/Collapsible/Collapsible.js.map +1 -0
  312. package/dist/granular/ui/primitives/ErrorMessage/ErrorMessage.js +54 -0
  313. package/dist/granular/ui/primitives/ErrorMessage/ErrorMessage.js.map +1 -0
  314. package/dist/granular/ui/primitives/Info/Info.js +57 -0
  315. package/dist/granular/ui/primitives/Info/Info.js.map +1 -0
  316. package/dist/granular/ui/primitives/Input/Input.js +351 -0
  317. package/dist/granular/ui/primitives/Input/Input.js.map +1 -0
  318. package/dist/granular/ui/primitives/Label/Label.js +61 -0
  319. package/dist/granular/ui/primitives/Label/Label.js.map +1 -0
  320. package/dist/granular/ui/primitives/NavLink/NavLink.js +229 -0
  321. package/dist/granular/ui/primitives/NavLink/NavLink.js.map +1 -0
  322. package/dist/granular/ui/primitives/NavLink/hooks/useNavLink.js +15 -0
  323. package/dist/granular/ui/primitives/NavLink/hooks/useNavLink.js.map +1 -0
  324. package/dist/granular/ui/primitives/Progress/Progress.js +182 -0
  325. package/dist/granular/ui/primitives/Progress/Progress.js.map +1 -0
  326. package/dist/granular/ui/primitives/Radio/Radio.js +118 -0
  327. package/dist/granular/ui/primitives/Radio/Radio.js.map +1 -0
  328. package/dist/granular/ui/primitives/Select/Select.js +210 -0
  329. package/dist/granular/ui/primitives/Select/Select.js.map +1 -0
  330. package/dist/granular/ui/primitives/Separator/Separator.js +69 -0
  331. package/dist/granular/ui/primitives/Separator/Separator.js.map +1 -0
  332. package/dist/granular/ui/primitives/Skeleton/Skeleton.js +87 -0
  333. package/dist/granular/ui/primitives/Skeleton/Skeleton.js.map +1 -0
  334. package/dist/granular/ui/primitives/Slider/Slider.js +291 -0
  335. package/dist/granular/ui/primitives/Slider/Slider.js.map +1 -0
  336. package/dist/granular/ui/primitives/Spinner/Spinner.js +95 -0
  337. package/dist/granular/ui/primitives/Spinner/Spinner.js.map +1 -0
  338. package/dist/granular/ui/primitives/Switch/Switch.js +212 -0
  339. package/dist/granular/ui/primitives/Switch/Switch.js.map +1 -0
  340. package/dist/granular/ui/primitives/Text/Text.js +118 -0
  341. package/dist/granular/ui/primitives/Text/Text.js.map +1 -0
  342. package/dist/granular/ui/primitives/Textarea/Textarea.js +129 -0
  343. package/dist/granular/ui/primitives/Textarea/Textarea.js.map +1 -0
  344. package/dist/granular/ui/primitives/Tooltip/Tooltip.js +227 -0
  345. package/dist/granular/ui/primitives/Tooltip/Tooltip.js.map +1 -0
  346. package/dist/granular/ui/providers/AppProvider.js +50 -0
  347. package/dist/granular/ui/providers/AppProvider.js.map +1 -0
  348. package/dist/granular/ui/providers/ConfigProvider.js +95 -0
  349. package/dist/granular/ui/providers/ConfigProvider.js.map +1 -0
  350. package/dist/granular/ui/providers/DialogContext.js +20 -0
  351. package/dist/granular/ui/providers/DialogContext.js.map +1 -0
  352. package/dist/granular/ui/providers/DialogProvider.js +32 -0
  353. package/dist/granular/ui/providers/DialogProvider.js.map +1 -0
  354. package/dist/granular/ui/providers/ThemeProvider.js +56 -0
  355. package/dist/granular/ui/providers/ThemeProvider.js.map +1 -0
  356. package/dist/granular/ui/providers/ToastContext.js +20 -0
  357. package/dist/granular/ui/providers/ToastContext.js.map +1 -0
  358. package/dist/granular/ui/providers/ToastProvider.js +47 -0
  359. package/dist/granular/ui/providers/ToastProvider.js.map +1 -0
  360. package/dist/granular/ui/providers/providers-bundle.js +23 -0
  361. package/dist/granular/ui/providers/providers-bundle.js.map +1 -0
  362. package/dist/granular/ui/tokens/animations.js +106 -0
  363. package/dist/granular/ui/tokens/animations.js.map +1 -0
  364. package/dist/granular/ui/tokens/borders.js +54 -0
  365. package/dist/granular/ui/tokens/borders.js.map +1 -0
  366. package/dist/granular/ui/tokens/breakpoints.js +43 -0
  367. package/dist/granular/ui/tokens/breakpoints.js.map +1 -0
  368. package/dist/granular/ui/tokens/colors/brand.js +67 -0
  369. package/dist/granular/ui/tokens/colors/brand.js.map +1 -0
  370. package/dist/granular/ui/tokens/colors/index.js +25 -0
  371. package/dist/granular/ui/tokens/colors/index.js.map +1 -0
  372. package/dist/granular/ui/tokens/colors/primitives.js +320 -0
  373. package/dist/granular/ui/tokens/colors/primitives.js.map +1 -0
  374. package/dist/granular/ui/tokens/colors/semantic.js +212 -0
  375. package/dist/granular/ui/tokens/colors/semantic.js.map +1 -0
  376. package/dist/granular/ui/tokens/colors/types.js +18 -0
  377. package/dist/granular/ui/tokens/colors/types.js.map +1 -0
  378. package/dist/granular/ui/tokens/colors/utils.js +131 -0
  379. package/dist/granular/ui/tokens/colors/utils.js.map +1 -0
  380. package/dist/granular/ui/tokens/opacity.js +59 -0
  381. package/dist/granular/ui/tokens/opacity.js.map +1 -0
  382. package/dist/granular/ui/tokens/radius.js +76 -0
  383. package/dist/granular/ui/tokens/radius.js.map +1 -0
  384. package/dist/granular/ui/tokens/shadows.js +63 -0
  385. package/dist/granular/ui/tokens/shadows.js.map +1 -0
  386. package/dist/granular/ui/tokens/sidebar.js +92 -0
  387. package/dist/granular/ui/tokens/sidebar.js.map +1 -0
  388. package/dist/granular/ui/tokens/spacing.js +143 -0
  389. package/dist/granular/ui/tokens/spacing.js.map +1 -0
  390. package/dist/granular/ui/tokens/switch.js +51 -0
  391. package/dist/granular/ui/tokens/switch.js.map +1 -0
  392. package/dist/granular/ui/tokens/typography.js +146 -0
  393. package/dist/granular/ui/tokens/typography.js.map +1 -0
  394. package/dist/granular/ui/tokens/z-index.js +79 -0
  395. package/dist/granular/ui/tokens/z-index.js.map +1 -0
  396. package/dist/granular/ui/utils/cn.js +10 -0
  397. package/dist/granular/ui/utils/cn.js.map +1 -0
  398. package/dist/granular/ui/utils/cva.js +14 -0
  399. package/dist/granular/ui/utils/cva.js.map +1 -0
  400. package/dist/granular/ui/utils/mergeRefs.js +11 -0
  401. package/dist/granular/ui/utils/mergeRefs.js.map +1 -0
  402. package/dist/granular/vite.svg +1 -0
  403. package/dist/index.cjs +37 -37
  404. package/dist/index.cjs.map +1 -1
  405. package/dist/index.js +1052 -1053
  406. package/dist/index.js.map +1 -1
  407. package/dist/server/index.cjs +23 -23
  408. package/dist/server/index.cjs.map +1 -1
  409. package/dist/server/index.js +858 -1193
  410. package/dist/server/index.js.map +1 -1
  411. package/package.json +9 -2
@@ -1,38 +1,38 @@
1
- var de = Object.defineProperty, ce = Object.defineProperties;
2
- var fe = Object.getOwnPropertyDescriptors;
3
- var K = Object.getOwnPropertySymbols;
4
- var Q = Object.prototype.hasOwnProperty, J = Object.prototype.propertyIsEnumerable;
5
- var G = (t, a, n) => a in t ? de(t, a, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[a] = n, p = (t, a) => {
6
- for (var n in a || (a = {}))
7
- Q.call(a, n) && G(t, n, a[n]);
8
- if (K)
9
- for (var n of K(a))
10
- J.call(a, n) && G(t, n, a[n]);
11
- return t;
12
- }, h = (t, a) => ce(t, fe(a));
13
- var g = (t, a) => {
14
- var n = {};
15
- for (var r in t)
16
- Q.call(t, r) && a.indexOf(r) < 0 && (n[r] = t[r]);
17
- if (t != null && K)
18
- for (var r of K(t))
19
- a.indexOf(r) < 0 && J.call(t, r) && (n[r] = t[r]);
20
- return n;
1
+ var ae = Object.defineProperty, re = Object.defineProperties;
2
+ var se = Object.getOwnPropertyDescriptors;
3
+ var W = Object.getOwnPropertySymbols;
4
+ var U = Object.prototype.hasOwnProperty, K = Object.prototype.propertyIsEnumerable;
5
+ var O = (e, a, r) => a in e ? ae(e, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[a] = r, f = (e, a) => {
6
+ for (var r in a || (a = {}))
7
+ U.call(a, r) && O(e, r, a[r]);
8
+ if (W)
9
+ for (var r of W(a))
10
+ K.call(a, r) && O(e, r, a[r]);
11
+ return e;
12
+ }, x = (e, a) => re(e, se(a));
13
+ var p = (e, a) => {
14
+ var r = {};
15
+ for (var t in e)
16
+ U.call(e, t) && a.indexOf(t) < 0 && (r[t] = e[t]);
17
+ if (e != null && W)
18
+ for (var t of W(e))
19
+ a.indexOf(t) < 0 && K.call(e, t) && (r[t] = e[t]);
20
+ return r;
21
21
  };
22
- var ee = (t, a, n) => G(t, typeof a != "symbol" ? a + "" : a, n);
23
- import { jsx as c, jsxs as S } from "react/jsx-runtime";
24
- import * as E from "react";
25
- import le, { memo as P, forwardRef as q } from "react";
26
- import { clsx as pe } from "clsx";
27
- import { twMerge as ue } from "tailwind-merge";
28
- import { cva as me } from "class-variance-authority";
29
- import { X as be, AlertCircle as ge, Loader2 as xe, CheckCircle2 as ae } from "lucide-react";
30
- class V {
22
+ var X = (e, a, r) => O(e, typeof a != "symbol" ? a + "" : a, r);
23
+ import { jsx as l, jsxs as $ } from "react/jsx-runtime";
24
+ import * as k from "react";
25
+ import ee, { memo as D, forwardRef as _ } from "react";
26
+ import { clsx as ne } from "clsx";
27
+ import { twMerge as ie } from "tailwind-merge";
28
+ import { cva as le } from "class-variance-authority";
29
+ import { X as oe, AlertCircle as de, Loader2 as ce, CheckCircle2 as q } from "lucide-react";
30
+ class F {
31
31
  /**
32
32
  * Create a radius token
33
33
  */
34
34
  static create(a) {
35
- const r = {
35
+ const t = {
36
36
  none: {
37
37
  px: 0,
38
38
  tailwind: "rounded-none",
@@ -75,38 +75,38 @@ class V {
75
75
  }
76
76
  }[a];
77
77
  return {
78
- value: r.px,
79
- rem: `${r.px / 16}rem`,
80
- px: `${r.px}px`,
81
- tailwind: r.tailwind,
82
- description: r.description
78
+ value: t.px,
79
+ rem: `${t.px / 16}rem`,
80
+ px: `${t.px}px`,
81
+ tailwind: t.tailwind,
82
+ description: t.description
83
83
  };
84
84
  }
85
85
  }
86
- const he = {
87
- none: V.create("none"),
88
- sm: V.create("sm"),
89
- md: V.create("md"),
90
- lg: V.create("lg"),
91
- xl: V.create("xl"),
92
- "2xl": V.create("2xl"),
93
- "3xl": V.create("3xl"),
94
- full: V.create("full")
86
+ const fe = {
87
+ none: F.create("none"),
88
+ sm: F.create("sm"),
89
+ md: F.create("md"),
90
+ lg: F.create("lg"),
91
+ xl: F.create("xl"),
92
+ "2xl": F.create("2xl"),
93
+ "3xl": F.create("3xl"),
94
+ full: F.create("full")
95
95
  };
96
- function M(t) {
97
- return he[t].tailwind;
96
+ function C(e) {
97
+ return fe[e].tailwind;
98
98
  }
99
- class k {
99
+ class w {
100
100
  // 4px base
101
101
  /**
102
102
  * Create a spacing token from scale value
103
103
  */
104
104
  static create(a) {
105
- const n = a * this.BASE_UNIT, r = n / 16;
105
+ const r = a * this.BASE_UNIT, t = r / 16;
106
106
  return {
107
- value: n,
108
- rem: `${r}rem`,
109
- px: `${n}px`,
107
+ value: r,
108
+ rem: `${t}rem`,
109
+ px: `${r}px`,
110
110
  tailwind: this.getTailwindClass(a)
111
111
  };
112
112
  }
@@ -163,46 +163,46 @@ class k {
163
163
  }[a] || String(a);
164
164
  }
165
165
  }
166
- ee(k, "BASE_UNIT", 4);
167
- const ye = {
166
+ X(w, "BASE_UNIT", 4);
167
+ const ue = {
168
168
  // Micro spacing (0-14px)
169
- none: k.create(0),
170
- "0.5": k.create(0.5),
169
+ none: w.create(0),
170
+ "0.5": w.create(0.5),
171
171
  // 2px (half-step)
172
- xs: k.create(1),
172
+ xs: w.create(1),
173
173
  // 4px
174
- "1.5": k.create(1.5),
174
+ "1.5": w.create(1.5),
175
175
  // 6px (half-step)
176
- sm: k.create(2),
176
+ sm: w.create(2),
177
177
  // 8px
178
- "2.5": k.create(2.5),
178
+ "2.5": w.create(2.5),
179
179
  // 10px (half-step)
180
- md: k.create(3),
180
+ md: w.create(3),
181
181
  // 12px
182
- "3.5": k.create(3.5),
182
+ "3.5": w.create(3.5),
183
183
  // 14px (half-step)
184
184
  // Standard spacing (16-32px)
185
- base: k.create(4),
185
+ base: w.create(4),
186
186
  // 16px
187
- lg: k.create(6),
187
+ lg: w.create(6),
188
188
  // 24px
189
- xl: k.create(8),
189
+ xl: w.create(8),
190
190
  // 32px
191
191
  // Large spacing (40-64px)
192
- "2xl": k.create(10),
192
+ "2xl": w.create(10),
193
193
  // 40px
194
- "3xl": k.create(12),
194
+ "3xl": w.create(12),
195
195
  // 48px
196
- "4xl": k.create(16),
196
+ "4xl": w.create(16),
197
197
  // 64px
198
198
  // Extra large spacing (80px+)
199
- "5xl": k.create(20),
199
+ "5xl": w.create(20),
200
200
  // 80px
201
- "6xl": k.create(24)
201
+ "6xl": w.create(24)
202
202
  // 96px
203
203
  };
204
- function d(t, a = "p") {
205
- const r = ye[t].tailwind;
204
+ function i(e, a = "p") {
205
+ const t = ue[e].tailwind;
206
206
  return `${{
207
207
  p: "p",
208
208
  m: "m",
@@ -223,14 +223,14 @@ function d(t, a = "p") {
223
223
  "gap-y": "gap-y",
224
224
  "space-x": "space-x",
225
225
  "space-y": "space-y"
226
- }[a]}-${r}`;
226
+ }[a]}-${t}`;
227
227
  }
228
- class $ {
228
+ class N {
229
229
  /**
230
230
  * Create font size token
231
231
  */
232
232
  static createFontSize(a) {
233
- const r = {
233
+ const t = {
234
234
  "2xs": { px: 10, tailwind: "text-2xs" },
235
235
  // micro-text (badge counters, mini chips)
236
236
  xs: { px: 12, tailwind: "text-xs" },
@@ -245,17 +245,17 @@ class $ {
245
245
  "6xl": { px: 60, tailwind: "text-6xl" }
246
246
  }[a];
247
247
  return {
248
- value: r.px,
249
- rem: `${r.px / 16}rem`,
250
- px: `${r.px}px`,
251
- tailwind: r.tailwind
248
+ value: t.px,
249
+ rem: `${t.px / 16}rem`,
250
+ px: `${t.px}px`,
251
+ tailwind: t.tailwind
252
252
  };
253
253
  }
254
254
  /**
255
255
  * Create line height token
256
256
  */
257
257
  static createLineHeight(a) {
258
- const r = {
258
+ const t = {
259
259
  none: { value: 1, tailwind: "leading-none" },
260
260
  tight: { value: 1.25, tailwind: "leading-tight" },
261
261
  snug: { value: 1.375, tailwind: "leading-snug" },
@@ -264,15 +264,15 @@ class $ {
264
264
  loose: { value: 2, tailwind: "leading-loose" }
265
265
  }[a];
266
266
  return {
267
- value: r.value,
268
- tailwind: r.tailwind
267
+ value: t.value,
268
+ tailwind: t.tailwind
269
269
  };
270
270
  }
271
271
  /**
272
272
  * Create font weight token
273
273
  */
274
274
  static createFontWeight(a) {
275
- const r = {
275
+ const t = {
276
276
  light: { value: 300, tailwind: "font-light" },
277
277
  normal: { value: 400, tailwind: "font-normal" },
278
278
  medium: { value: 500, tailwind: "font-medium" },
@@ -280,66 +280,66 @@ class $ {
280
280
  bold: { value: 700, tailwind: "font-bold" }
281
281
  }[a];
282
282
  return {
283
- value: r.value,
284
- tailwind: r.tailwind
283
+ value: t.value,
284
+ tailwind: t.tailwind
285
285
  };
286
286
  }
287
287
  /**
288
288
  * Create complete typography token
289
289
  */
290
- static create(a, n = "normal", r = "normal") {
290
+ static create(a, r = "normal", t = "normal") {
291
291
  return {
292
292
  fontSize: this.createFontSize(a),
293
- lineHeight: this.createLineHeight(n),
294
- fontWeight: this.createFontWeight(r)
293
+ lineHeight: this.createLineHeight(r),
294
+ fontWeight: this.createFontWeight(t)
295
295
  };
296
296
  }
297
297
  }
298
- $.createFontWeight("light"), $.createFontWeight("normal"), $.createFontWeight("medium"), $.createFontWeight("semibold"), $.createFontWeight("bold");
299
- const Z = {
298
+ N.createFontWeight("light"), N.createFontWeight("normal"), N.createFontWeight("medium"), N.createFontWeight("semibold"), N.createFontWeight("bold");
299
+ const B = {
300
300
  // Headings
301
- h1: $.create("4xl", "tight", "bold"),
302
- h2: $.create("3xl", "tight", "bold"),
303
- h3: $.create("2xl", "snug", "semibold"),
304
- h4: $.create("xl", "snug", "semibold"),
305
- h5: $.create("lg", "normal", "medium"),
306
- h6: $.create("base", "normal", "medium"),
301
+ h1: N.create("4xl", "tight", "bold"),
302
+ h2: N.create("3xl", "tight", "bold"),
303
+ h3: N.create("2xl", "snug", "semibold"),
304
+ h4: N.create("xl", "snug", "semibold"),
305
+ h5: N.create("lg", "normal", "medium"),
306
+ h6: N.create("base", "normal", "medium"),
307
307
  // Body text
308
- body: $.create("base", "relaxed", "normal"),
309
- bodySmall: $.create("sm", "relaxed", "normal"),
310
- bodyLarge: $.create("lg", "relaxed", "normal"),
308
+ body: N.create("base", "relaxed", "normal"),
309
+ bodySmall: N.create("sm", "relaxed", "normal"),
310
+ bodyLarge: N.create("lg", "relaxed", "normal"),
311
311
  // UI elements
312
- label: $.create("sm", "normal", "medium"),
313
- caption: $.create("xs", "normal", "normal"),
314
- button: $.create("base", "normal", "medium")
312
+ label: N.create("sm", "normal", "medium"),
313
+ caption: N.create("xs", "normal", "normal"),
314
+ button: N.create("base", "normal", "medium")
315
315
  };
316
- function R(t) {
317
- const a = Z[t];
316
+ function R(e) {
317
+ const a = B[e];
318
318
  return `${a.fontSize.tailwind} ${a.lineHeight.tailwind} ${a.fontWeight.tailwind}`;
319
319
  }
320
- function z(t) {
321
- return Z[t].fontSize.tailwind;
320
+ function E(e) {
321
+ return B[e].fontSize.tailwind;
322
322
  }
323
- function O(t) {
324
- return Z[t].fontWeight.tailwind;
323
+ function j(e) {
324
+ return B[e].fontWeight.tailwind;
325
325
  }
326
- function l(...t) {
327
- return ue(pe(t));
326
+ function n(...e) {
327
+ return ie(ne(e));
328
328
  }
329
- const _ = (t, a) => {
330
- const n = me(t, a);
331
- return ((r) => {
332
- const s = n(r);
333
- return l(s);
329
+ const M = (e, a) => {
330
+ const r = le(e, a);
331
+ return ((t) => {
332
+ const s = r(t);
333
+ return n(s);
334
334
  });
335
- }, ve = _(
335
+ }, pe = M(
336
336
  // Base classes
337
- l(
337
+ n(
338
338
  "inline-flex",
339
339
  "items-center",
340
340
  "justify-center",
341
- O("label"),
342
- M("md"),
341
+ j("label"),
342
+ C("md"),
343
343
  "border"
344
344
  ),
345
345
  {
@@ -354,20 +354,20 @@ const _ = (t, a) => {
354
354
  secondary: ""
355
355
  },
356
356
  size: {
357
- sm: l(
358
- d("1.5", "px"),
359
- d("0.5", "py"),
360
- z("caption")
357
+ sm: n(
358
+ i("1.5", "px"),
359
+ i("0.5", "py"),
360
+ E("caption")
361
361
  ),
362
- md: l(
363
- d("sm", "px"),
364
- d("xs", "py"),
365
- z("caption")
362
+ md: n(
363
+ i("sm", "px"),
364
+ i("xs", "py"),
365
+ E("caption")
366
366
  ),
367
- lg: l(
368
- d("sm", "px"),
369
- d("xs", "py"),
370
- z("bodySmall")
367
+ lg: n(
368
+ i("sm", "px"),
369
+ i("xs", "py"),
370
+ E("bodySmall")
371
371
  )
372
372
  },
373
373
  style: {
@@ -380,32 +380,32 @@ const _ = (t, a) => {
380
380
  {
381
381
  variant: "success",
382
382
  style: "solid",
383
- class: l("bg-success-bg", "text-success-dark", "border-success")
383
+ class: n("bg-success-bg", "text-success-dark", "border-success")
384
384
  },
385
385
  {
386
386
  variant: "warning",
387
387
  style: "solid",
388
- class: l("bg-warning-bg", "text-warning-dark", "border-warning")
388
+ class: n("bg-warning-bg", "text-warning-dark", "border-warning")
389
389
  },
390
390
  {
391
391
  variant: "error",
392
392
  style: "solid",
393
- class: l("bg-error-bg", "text-error-dark", "border-error")
393
+ class: n("bg-error-bg", "text-error-dark", "border-error")
394
394
  },
395
395
  {
396
396
  variant: "info",
397
397
  style: "solid",
398
- class: l("bg-info-bg", "text-info-dark", "border-info")
398
+ class: n("bg-info-bg", "text-info-dark", "border-info")
399
399
  },
400
400
  {
401
401
  variant: "neutral",
402
402
  style: "solid",
403
- class: l("bg-surface-muted", "text-fg-primary", "border-line-default")
403
+ class: n("bg-surface-muted", "text-fg-primary", "border-line-default")
404
404
  },
405
405
  {
406
406
  variant: "primary",
407
407
  style: "solid",
408
- class: l(
408
+ class: n(
409
409
  "bg-surface-brand-subtle",
410
410
  "text-fg-brand-emphasis",
411
411
  "border-line-brand"
@@ -417,7 +417,7 @@ const _ = (t, a) => {
417
417
  // bg-pink-300: secondary solid badge — no semantic equivalent
418
418
  // (would shift 2 shades to bg-surface-secondary). Kept literal until
419
419
  // secondary brand surface palette expands beyond DEFAULT.
420
- class: l(
420
+ class: n(
421
421
  "bg-pink-300",
422
422
  "text-fg-brand-secondary-emphasis",
423
423
  "border-line-secondary"
@@ -427,37 +427,37 @@ const _ = (t, a) => {
427
427
  {
428
428
  variant: "success",
429
429
  style: "outline",
430
- class: l("bg-transparent", "border-success", "text-fg-success")
430
+ class: n("bg-transparent", "border-success", "text-fg-success")
431
431
  },
432
432
  {
433
433
  variant: "warning",
434
434
  style: "outline",
435
- class: l("bg-transparent", "border-warning", "text-fg-warning")
435
+ class: n("bg-transparent", "border-warning", "text-fg-warning")
436
436
  },
437
437
  {
438
438
  variant: "error",
439
439
  style: "outline",
440
- class: l("bg-transparent", "border-error", "text-fg-error")
440
+ class: n("bg-transparent", "border-error", "text-fg-error")
441
441
  },
442
442
  {
443
443
  variant: "info",
444
444
  style: "outline",
445
- class: l("bg-transparent", "border-info", "text-fg-info")
445
+ class: n("bg-transparent", "border-info", "text-fg-info")
446
446
  },
447
447
  {
448
448
  variant: "neutral",
449
449
  style: "outline",
450
- class: l("bg-transparent", "border-line-default", "text-fg-secondary")
450
+ class: n("bg-transparent", "border-line-default", "text-fg-secondary")
451
451
  },
452
452
  {
453
453
  variant: "primary",
454
454
  style: "outline",
455
- class: l("bg-transparent", "border-line-brand", "text-fg-brand")
455
+ class: n("bg-transparent", "border-line-brand", "text-fg-brand")
456
456
  },
457
457
  {
458
458
  variant: "secondary",
459
459
  style: "outline",
460
- class: l(
460
+ class: n(
461
461
  "bg-transparent",
462
462
  "border-line-secondary",
463
463
  "text-fg-brand-secondary"
@@ -470,16 +470,16 @@ const _ = (t, a) => {
470
470
  style: "solid"
471
471
  }
472
472
  }
473
- ), we = P(
474
- q(function(b, u) {
475
- var m = b, {
473
+ ), me = D(
474
+ _(function(g, u) {
475
+ var y = g, {
476
476
  variant: a = "neutral",
477
- size: n = "md",
478
- style: r = "solid",
477
+ size: r = "md",
478
+ style: t = "solid",
479
479
  className: s = "",
480
- children: i,
481
- "aria-label": o
482
- } = m, f = g(m, [
480
+ children: o,
481
+ "aria-label": d
482
+ } = y, c = p(y, [
483
483
  "variant",
484
484
  "size",
485
485
  "style",
@@ -487,148 +487,148 @@ const _ = (t, a) => {
487
487
  "children",
488
488
  "aria-label"
489
489
  ]);
490
- const y = l(ve({ variant: a, size: n, style: r }), s);
491
- let x;
492
- if (o)
493
- x = o;
494
- else if (typeof i == "string")
495
- x = i;
496
- else if (typeof i == "object" && i !== null && "props" in i) {
497
- const v = i.props;
498
- v != null && v.children && typeof v.children == "string" && (x = v.children);
490
+ const b = n(pe({ variant: a, size: r, style: t }), s);
491
+ let m;
492
+ if (d)
493
+ m = d;
494
+ else if (typeof o == "string")
495
+ m = o;
496
+ else if (typeof o == "object" && o !== null && "props" in o) {
497
+ const h = o.props;
498
+ h != null && h.children && typeof h.children == "string" && (m = h.children);
499
499
  }
500
- return /* @__PURE__ */ c(
500
+ return /* @__PURE__ */ l(
501
501
  "span",
502
- h(p({
502
+ x(f({
503
503
  ref: u,
504
504
  role: "status",
505
- "aria-label": x,
506
- className: y
507
- }, f), {
508
- children: i
505
+ "aria-label": m,
506
+ className: b
507
+ }, c), {
508
+ children: o
509
509
  })
510
510
  );
511
511
  })
512
512
  );
513
- we.displayName = "Badge";
514
- function te(t, a) {
515
- if (typeof t == "function")
516
- return t(a);
517
- t != null && (t.current = a);
513
+ me.displayName = "Badge";
514
+ function G(e, a) {
515
+ if (typeof e == "function")
516
+ return e(a);
517
+ e != null && (e.current = a);
518
518
  }
519
- function Ne(...t) {
519
+ function ge(...e) {
520
520
  return (a) => {
521
- let n = !1;
522
- const r = t.map((s) => {
523
- const i = te(s, a);
524
- return !n && typeof i == "function" && (n = !0), i;
521
+ let r = !1;
522
+ const t = e.map((s) => {
523
+ const o = G(s, a);
524
+ return !r && typeof o == "function" && (r = !0), o;
525
525
  });
526
- if (n)
526
+ if (r)
527
527
  return () => {
528
- for (let s = 0; s < r.length; s++) {
529
- const i = r[s];
530
- typeof i == "function" ? i() : te(t[s], null);
528
+ for (let s = 0; s < t.length; s++) {
529
+ const o = t[s];
530
+ typeof o == "function" ? o() : G(e[s], null);
531
531
  }
532
532
  };
533
533
  };
534
534
  }
535
- function ke(...t) {
536
- return E.useCallback(Ne(...t), t);
535
+ function xe(...e) {
536
+ return k.useCallback(ge(...e), e);
537
537
  }
538
538
  // @__NO_SIDE_EFFECTS__
539
- function $e(t) {
540
- const a = E.forwardRef((n, r) => {
541
- var v;
542
- let x = n, { children: s } = x, i = g(x, ["children"]), o = null, f = !1;
539
+ function be(e) {
540
+ const a = k.forwardRef((r, t) => {
541
+ var h;
542
+ let m = r, { children: s } = m, o = p(m, ["children"]), d = null, c = !1;
543
543
  const u = [];
544
- re(s) && typeof X == "function" && (s = X(s._payload)), E.Children.forEach(s, (N) => {
545
- var T;
546
- if (ze(N)) {
547
- f = !0;
548
- const D = N;
549
- let L = "child" in D.props ? D.props.child : D.props.children;
550
- re(L) && typeof X == "function" && (L = X(L._payload)), o = Ce(D, L), u.push((T = o == null ? void 0 : o.props) == null ? void 0 : T.children);
544
+ Y(s) && typeof H == "function" && (s = H(s._payload)), k.Children.forEach(s, (v) => {
545
+ var S;
546
+ if ($e(v)) {
547
+ c = !0;
548
+ const A = v;
549
+ let L = "child" in A.props ? A.props.child : A.props.children;
550
+ Y(L) && typeof H == "function" && (L = H(L._payload)), d = ve(A, L), u.push((S = d == null ? void 0 : d.props) == null ? void 0 : S.children);
551
551
  } else
552
- u.push(N);
553
- }), o ? o = E.cloneElement(o, void 0, u) : (
552
+ u.push(v);
553
+ }), d ? d = k.cloneElement(d, void 0, u) : (
554
554
  // A `Slottable` was found but it didn't resolve to a single element (e.g.
555
555
  // it wrapped multiple elements, text, or a render-prop `child` that
556
556
  // wasn't an element). Don't fall back to treating the `Slottable` wrapper
557
557
  // itself as the slot target — throw a descriptive error below instead.
558
- !f && E.Children.count(s) === 1 && E.isValidElement(s) && (o = s)
558
+ !c && k.Children.count(s) === 1 && k.isValidElement(s) && (d = s)
559
559
  );
560
- const b = o ? Ee(o) : void 0, m = ke(r, b);
561
- if (!o) {
560
+ const g = d ? Ne(d) : void 0, y = xe(t, g);
561
+ if (!d) {
562
562
  if (s || s === 0)
563
563
  throw new Error(
564
- f ? Ie(t) : Ae(t)
564
+ c ? Ee(e) : ke(e)
565
565
  );
566
566
  return s;
567
567
  }
568
- const y = Me(i, (v = o.props) != null ? v : {});
569
- return o.type !== E.Fragment && (y.ref = r ? m : b), E.cloneElement(o, y);
568
+ const b = we(o, (h = d.props) != null ? h : {});
569
+ return d.type !== k.Fragment && (b.ref = t ? y : g), k.cloneElement(d, b);
570
570
  });
571
- return a.displayName = `${t}.Slot`, a;
571
+ return a.displayName = `${e}.Slot`, a;
572
572
  }
573
- var Se = /* @__PURE__ */ $e("Slot"), Te = /* @__PURE__ */ Symbol.for("radix.slottable"), Ce = (t, a) => {
574
- if ("child" in t.props) {
575
- const n = t.props.child;
576
- return E.isValidElement(n) ? E.cloneElement(n, void 0, t.props.children(n.props.children)) : null;
573
+ var he = /* @__PURE__ */ be("Slot"), ye = /* @__PURE__ */ Symbol.for("radix.slottable"), ve = (e, a) => {
574
+ if ("child" in e.props) {
575
+ const r = e.props.child;
576
+ return k.isValidElement(r) ? k.cloneElement(r, void 0, e.props.children(r.props.children)) : null;
577
577
  }
578
- return E.isValidElement(a) ? a : null;
578
+ return k.isValidElement(a) ? a : null;
579
579
  };
580
- function Me(t, a) {
581
- const n = p({}, a);
582
- for (const r in a) {
583
- const s = t[r], i = a[r];
584
- /^on[A-Z]/.test(r) ? s && i ? n[r] = (...f) => {
585
- const u = i(...f);
586
- return s(...f), u;
587
- } : s && (n[r] = s) : r === "style" ? n[r] = p(p({}, s), i) : r === "className" && (n[r] = [s, i].filter(Boolean).join(" "));
580
+ function we(e, a) {
581
+ const r = f({}, a);
582
+ for (const t in a) {
583
+ const s = e[t], o = a[t];
584
+ /^on[A-Z]/.test(t) ? s && o ? r[t] = (...c) => {
585
+ const u = o(...c);
586
+ return s(...c), u;
587
+ } : s && (r[t] = s) : t === "style" ? r[t] = f(f({}, s), o) : t === "className" && (r[t] = [s, o].filter(Boolean).join(" "));
588
588
  }
589
- return p(p({}, t), n);
589
+ return f(f({}, e), r);
590
590
  }
591
- function Ee(t) {
592
- var r, s;
593
- let a = (r = Object.getOwnPropertyDescriptor(t.props, "ref")) == null ? void 0 : r.get, n = a && "isReactWarning" in a && a.isReactWarning;
594
- return n ? t.ref : (a = (s = Object.getOwnPropertyDescriptor(t, "ref")) == null ? void 0 : s.get, n = a && "isReactWarning" in a && a.isReactWarning, n ? t.props.ref : t.props.ref || t.ref);
591
+ function Ne(e) {
592
+ var t, s;
593
+ let a = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, r = a && "isReactWarning" in a && a.isReactWarning;
594
+ return r ? e.ref : (a = (s = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : s.get, r = a && "isReactWarning" in a && a.isReactWarning, r ? e.props.ref : e.props.ref || e.ref);
595
595
  }
596
- function ze(t) {
597
- return E.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Te;
596
+ function $e(e) {
597
+ return k.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ye;
598
598
  }
599
- var Fe = /* @__PURE__ */ Symbol.for("react.lazy");
600
- function re(t) {
601
- return t != null && typeof t == "object" && "$$typeof" in t && t.$$typeof === Fe && "_payload" in t && Le(t._payload);
599
+ var Se = /* @__PURE__ */ Symbol.for("react.lazy");
600
+ function Y(e) {
601
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Se && "_payload" in e && Ce(e._payload);
602
602
  }
603
- function Le(t) {
604
- return typeof t == "object" && t !== null && "then" in t;
603
+ function Ce(e) {
604
+ return typeof e == "object" && e !== null && "then" in e;
605
605
  }
606
- var Ae = (t) => `${t} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, Ie = (t) => `${t} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, X = E[" use ".trim().toString()];
607
- const ne = _(
606
+ var ke = (e) => `${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`, Ee = (e) => `${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`, H = k[" use ".trim().toString()];
607
+ const Z = M(
608
608
  // Base classes
609
- l(
609
+ n(
610
610
  "inline-flex",
611
611
  "items-center",
612
612
  "font-medium",
613
- M("full"),
614
- d("xs", "gap")
613
+ C("full"),
614
+ i("xs", "gap")
615
615
  ),
616
616
  {
617
617
  variants: {
618
618
  variant: {
619
- default: l(
619
+ default: n(
620
620
  "bg-surface-muted",
621
621
  "text-fg-primary",
622
622
  "border",
623
623
  "border-line-default"
624
624
  ),
625
- outlined: l(
625
+ outlined: n(
626
626
  "bg-transparent",
627
627
  "text-fg-primary",
628
628
  "border",
629
629
  "border-line-default"
630
630
  ),
631
- filled: l(
631
+ filled: n(
632
632
  "bg-surface-brand-strong",
633
633
  "text-fg-inverse",
634
634
  "border",
@@ -636,24 +636,24 @@ const ne = _(
636
636
  )
637
637
  },
638
638
  size: {
639
- sm: l(
640
- d("xs", "px"),
641
- d("xs", "py"),
642
- z("caption")
639
+ sm: n(
640
+ i("xs", "px"),
641
+ i("xs", "py"),
642
+ E("caption")
643
643
  ),
644
- md: l(
645
- d("sm", "px"),
646
- d("xs", "py"),
647
- z("bodySmall")
644
+ md: n(
645
+ i("sm", "px"),
646
+ i("xs", "py"),
647
+ E("bodySmall")
648
648
  ),
649
- lg: l(
650
- d("md", "px"),
651
- d("sm", "py"),
652
- z("body")
649
+ lg: n(
650
+ i("md", "px"),
651
+ i("sm", "py"),
652
+ E("body")
653
653
  )
654
654
  },
655
655
  selected: {
656
- true: l(
656
+ true: n(
657
657
  "bg-surface-brand-strong",
658
658
  "text-fg-inverse",
659
659
  "border",
@@ -693,70 +693,70 @@ const ne = _(
693
693
  disabled: !1
694
694
  }
695
695
  }
696
- ), De = q(function(a, n) {
696
+ ), Te = _(function(a, r) {
697
697
  const {
698
- children: r,
698
+ children: t,
699
699
  variant: s = "default",
700
- size: i = "md",
701
- selected: o = !1,
702
- disabled: f = !1,
700
+ size: o = "md",
701
+ selected: d = !1,
702
+ disabled: c = !1,
703
703
  className: u = "",
704
- "aria-label": b,
705
- tabIndex: m,
706
- asChild: y = !1
707
- } = a, v = (() => {
708
- if (b) return b;
709
- if (typeof r == "string") return r;
710
- if (typeof r == "object" && r !== null && "props" in r) {
711
- const F = r.props;
712
- if (F != null && F.children && typeof F.children == "string")
713
- return F.children;
704
+ "aria-label": g,
705
+ tabIndex: y,
706
+ asChild: b = !1
707
+ } = a, h = (() => {
708
+ if (g) return g;
709
+ if (typeof t == "string") return t;
710
+ if (typeof t == "object" && t !== null && "props" in t) {
711
+ const T = t.props;
712
+ if (T != null && T.children && typeof T.children == "string")
713
+ return T.children;
714
714
  }
715
715
  })();
716
- if (y)
717
- return /* @__PURE__ */ c(
718
- Se,
716
+ if (b)
717
+ return /* @__PURE__ */ l(
718
+ he,
719
719
  {
720
- ref: n,
721
- className: l(
722
- ne({ variant: s, size: i, selected: o, disabled: f }),
720
+ ref: r,
721
+ className: n(
722
+ Z({ variant: s, size: o, selected: d, disabled: c }),
723
723
  u
724
724
  ),
725
- "aria-label": b,
726
- "aria-disabled": f || void 0,
727
- tabIndex: m,
728
- children: r
725
+ "aria-label": g,
726
+ "aria-disabled": c || void 0,
727
+ tabIndex: y,
728
+ children: t
729
729
  }
730
730
  );
731
- const { onRemove: N, onClick: T } = a, D = T !== void 0, L = D && !f, H = (F) => {
732
- f || (F.key === "Enter" || F.key === " ") && (F.preventDefault(), T == null || T());
731
+ const { onRemove: v, onClick: S } = a, A = S !== void 0, L = A && !c, V = (T) => {
732
+ c || (T.key === "Enter" || T.key === " ") && (T.preventDefault(), S == null || S());
733
733
  };
734
- return /* @__PURE__ */ S(
734
+ return /* @__PURE__ */ $(
735
735
  "div",
736
736
  {
737
- ref: n,
738
- className: l(
739
- ne({ variant: s, size: i, selected: o, disabled: f }),
740
- N && d("xs", "pr"),
737
+ ref: r,
738
+ className: n(
739
+ Z({ variant: s, size: o, selected: d, disabled: c }),
740
+ v && i("xs", "pr"),
741
741
  u
742
742
  ),
743
- "aria-disabled": f,
743
+ "aria-disabled": c,
744
744
  children: [
745
- D ? /* @__PURE__ */ c(
745
+ A ? /* @__PURE__ */ l(
746
746
  "button",
747
747
  {
748
748
  type: "button",
749
- onClick: f ? void 0 : T,
750
- onKeyDown: H,
751
- disabled: f,
752
- "aria-pressed": o ? !0 : void 0,
753
- "aria-label": b || v,
754
- tabIndex: m !== void 0 ? m : L ? 0 : void 0,
755
- className: l(
749
+ onClick: c ? void 0 : S,
750
+ onKeyDown: V,
751
+ disabled: c,
752
+ "aria-pressed": d ? !0 : void 0,
753
+ "aria-label": g || h,
754
+ tabIndex: y !== void 0 ? y : L ? 0 : void 0,
755
+ className: n(
756
756
  "flex-1",
757
757
  "bg-transparent",
758
758
  "border-0",
759
- d("none", "p"),
759
+ i("none", "p"),
760
760
  "text-inherit",
761
761
  "text-left",
762
762
  "cursor-pointer",
@@ -764,213 +764,120 @@ const ne = _(
764
764
  "focus:ring-2",
765
765
  "focus:ring-line-focus",
766
766
  "focus:ring-offset-2",
767
- M("full")
767
+ C("full")
768
768
  ),
769
- children: r
769
+ children: t
770
770
  }
771
- ) : /* @__PURE__ */ c("span", { children: r }),
772
- N && !f && /* @__PURE__ */ c(
771
+ ) : /* @__PURE__ */ l("span", { children: t }),
772
+ v && !c && /* @__PURE__ */ l(
773
773
  "button",
774
774
  {
775
775
  type: "button",
776
- onClick: (F) => {
777
- F.stopPropagation(), N();
776
+ onClick: (T) => {
777
+ T.stopPropagation(), v();
778
778
  },
779
- className: l(
780
- d("xs", "ml"),
779
+ className: n(
780
+ i("xs", "ml"),
781
781
  "hover:bg-tint-hover",
782
- M("full"),
783
- d("xs", "p"),
782
+ C("full"),
783
+ i("xs", "p"),
784
784
  "transition-colors",
785
785
  "focus:outline-none",
786
786
  "focus:ring-2",
787
787
  "focus:ring-line-focus",
788
788
  "focus:ring-offset-1"
789
789
  ),
790
- "aria-label": `Remove ${v || "chip"}`,
791
- children: /* @__PURE__ */ c(be, { className: "h-3 w-3", "aria-hidden": "true" })
790
+ "aria-label": `Remove ${h || "chip"}`,
791
+ children: /* @__PURE__ */ l(oe, { className: "h-3 w-3", "aria-hidden": "true" })
792
792
  }
793
793
  )
794
794
  ]
795
795
  }
796
796
  );
797
797
  });
798
- De.displayName = "Chip";
799
- function va(s) {
800
- var i = s, {
801
- message: t,
798
+ Te.displayName = "Chip";
799
+ function dt(s) {
800
+ var o = s, {
801
+ message: e,
802
802
  id: a,
803
- className: n = ""
804
- } = i, r = g(i, [
803
+ className: r = ""
804
+ } = o, t = p(o, [
805
805
  "message",
806
806
  "id",
807
807
  "className"
808
808
  ]);
809
- const o = [
810
- d("xs", "mt"),
811
- z("bodySmall"),
809
+ const d = [
810
+ i("xs", "mt"),
811
+ E("bodySmall"),
812
812
  "text-fg-error",
813
813
  "flex",
814
814
  "items-center",
815
- d("xs", "gap")
816
- ], f = l(...o, n);
817
- return /* @__PURE__ */ S("div", h(p({ role: "alert", id: a, className: f, "aria-live": "polite" }, r), { children: [
818
- /* @__PURE__ */ c(ge, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
819
- /* @__PURE__ */ c("span", { children: t })
815
+ i("xs", "gap")
816
+ ], c = n(...d, r);
817
+ return /* @__PURE__ */ $("div", x(f({ role: "alert", id: a, className: c, "aria-live": "polite" }, t), { children: [
818
+ /* @__PURE__ */ l(de, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
819
+ /* @__PURE__ */ l("span", { children: e })
820
820
  ] }));
821
821
  }
822
- function wa(r) {
823
- var s = r, {
824
- variant: t = "info",
822
+ function ct(t) {
823
+ var s = t, {
824
+ variant: e = "info",
825
825
  className: a
826
- } = s, n = g(s, [
826
+ } = s, r = p(s, [
827
827
  "variant",
828
828
  "className"
829
829
  ]);
830
- const i = {
831
- warning: l("bg-warning-bg", "text-warning-dark", "border-warning"),
832
- error: l("bg-error-bg", "text-error-dark", "border-error"),
833
- info: l("bg-info-bg", "text-info-dark", "border-info")
830
+ const o = {
831
+ warning: n("bg-warning-bg", "text-warning-dark", "border-warning"),
832
+ error: n("bg-error-bg", "text-error-dark", "border-error"),
833
+ info: n("bg-info-bg", "text-info-dark", "border-info")
834
834
  };
835
- return /* @__PURE__ */ c(
835
+ return /* @__PURE__ */ l(
836
836
  "div",
837
- p({
837
+ f({
838
838
  role: "alert",
839
- className: l(
839
+ className: n(
840
840
  "border",
841
- d("base", "px"),
842
- d("sm", "py"),
843
- M("lg"),
844
- i[t],
841
+ i("base", "px"),
842
+ i("sm", "py"),
843
+ C("lg"),
844
+ o[e],
845
845
  a
846
846
  )
847
- }, n)
847
+ }, r)
848
848
  );
849
849
  }
850
- const Ve = l(
850
+ const Le = n(
851
851
  "block",
852
- z("label"),
853
- O("label"),
852
+ E("label"),
853
+ j("label"),
854
854
  "text-fg-primary"
855
- ), We = {
855
+ ), Ae = {
856
856
  default: "",
857
- required: l(
857
+ required: n(
858
858
  "after:content-['*']",
859
- `after:${d("0.5", "ml")}`,
859
+ `after:${i("0.5", "ml")}`,
860
860
  "after:text-fg-error"
861
861
  ),
862
- optional: l(
862
+ optional: n(
863
863
  "after:content-['(optional)']",
864
- `after:${d("xs", "ml")}`,
864
+ `after:${i("xs", "ml")}`,
865
865
  "after:text-fg-tertiary",
866
866
  "after:font-normal"
867
867
  )
868
- }, Re = P(
869
- q(function(o, i) {
870
- var f = o, { variant: a = "default", className: n = "", children: r } = f, s = g(f, ["variant", "className", "children"]);
871
- const u = l(
872
- Ve,
873
- We[a],
874
- n
868
+ }, Fe = D(
869
+ _(function(d, o) {
870
+ var c = d, { variant: a = "default", className: r = "", children: t } = c, s = p(c, ["variant", "className", "children"]);
871
+ const u = n(
872
+ Le,
873
+ Ae[a],
874
+ r
875
875
  );
876
- return /* @__PURE__ */ c("label", h(p({ ref: i, className: u }, s), { children: r }));
876
+ return /* @__PURE__ */ l("label", x(f({ ref: o, className: u }, s), { children: t }));
877
877
  })
878
878
  );
879
- Re.displayName = "Label";
880
- function w(t, a, n) {
881
- const r = je(t), s = _e(t);
882
- return {
883
- hex: t,
884
- rgb: r,
885
- hsl: s,
886
- cssVar: `var(--color-${a}-${n})`,
887
- tailwind: `${a}-${n}`
888
- };
889
- }
890
- function je(t) {
891
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
892
- return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
893
- }
894
- function _e(t) {
895
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
896
- if (!a) return "0, 0%, 0%";
897
- const n = parseInt(a[1], 16) / 255, r = parseInt(a[2], 16) / 255, s = parseInt(a[3], 16) / 255, i = Math.max(n, r, s), o = Math.min(n, r, s);
898
- let f = 0, u = 0;
899
- const b = (i + o) / 2;
900
- if (i !== o) {
901
- const m = i - o;
902
- switch (u = b > 0.5 ? m / (2 - i - o) : m / (i + o), i) {
903
- case n:
904
- f = ((r - s) / m + (r < s ? 6 : 0)) / 6;
905
- break;
906
- case r:
907
- f = ((s - n) / m + 2) / 6;
908
- break;
909
- case s:
910
- f = ((n - r) / m + 4) / 6;
911
- break;
912
- }
913
- }
914
- return `${Math.round(f * 360)}, ${Math.round(u * 100)}%, ${Math.round(b * 100)}%`;
915
- }
916
- w("#f0f4f8", "brand-primary", 50), w("#d9e2ec", "brand-primary", 100), w("#bcccdc", "brand-primary", 200), w("#9fb3c8", "brand-primary", 300), w("#7390ad", "brand-primary", 400), w("#486581", "brand-primary", 500), w("#334e68", "brand-primary", 600), w("#243b53", "brand-primary", 700), w("#1a2a3a", "brand-primary", 800), w("#102a43", "brand-primary", 900), w("#061a35", "brand-primary", 950);
917
- w("#f7f5ff", "brand-secondary", 50), w("#eee9ff", "brand-secondary", 100), w("#e0d6ff", "brand-secondary", 200), w("#cbb8ff", "brand-secondary", 300), w("#aa89fc", "brand-secondary", 400), w("#8e58f2", "brand-secondary", 500), w("#703bc8", "brand-secondary", 600), w("#582aa2", "brand-secondary", 700), w("#44227e", "brand-secondary", 800), w("#32185d", "brand-secondary", 900), w("#180635", "brand-secondary", 950);
918
- function e(t, a, n) {
919
- const r = He(t), s = Be(t);
920
- return {
921
- hex: t,
922
- rgb: r,
923
- hsl: s,
924
- cssVar: `var(--color-${a}-${n})`,
925
- tailwind: `${a}-${n}`
926
- };
927
- }
928
- function He(t) {
929
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
930
- return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
931
- }
932
- function Be(t) {
933
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
934
- if (!a) return "0, 0%, 0%";
935
- const n = parseInt(a[1], 16) / 255, r = parseInt(a[2], 16) / 255, s = parseInt(a[3], 16) / 255, i = Math.max(n, r, s), o = Math.min(n, r, s);
936
- let f = 0, u = 0;
937
- const b = (i + o) / 2;
938
- if (i !== o) {
939
- const m = i - o;
940
- switch (u = b > 0.5 ? m / (2 - i - o) : m / (i + o), i) {
941
- case n:
942
- f = ((r - s) / m + (r < s ? 6 : 0)) / 6;
943
- break;
944
- case r:
945
- f = ((s - n) / m + 2) / 6;
946
- break;
947
- case s:
948
- f = ((n - r) / m + 4) / 6;
949
- break;
950
- }
951
- }
952
- return `${Math.round(f * 360)}, ${Math.round(u * 100)}%, ${Math.round(b * 100)}%`;
953
- }
954
- e("#eef2ff", "indigo", 50), e("#e0e7ff", "indigo", 100), e("#c7d2fe", "indigo", 200), e("#a5b4fc", "indigo", 300), e("#818cf8", "indigo", 400), e("#6366f1", "indigo", 500), e("#4f46e5", "indigo", 600), e("#4338ca", "indigo", 700), e("#3730a3", "indigo", 800), e("#312e81", "indigo", 900), e("#1e1b4b", "indigo", 950);
955
- e("#f5f3ff", "violet", 50), e("#ede9fe", "violet", 100), e("#ddd6fe", "violet", 200), e("#c4b5fd", "violet", 300), e("#a78bfa", "violet", 400), e("#8b5cf6", "violet", 500), e("#7c3aed", "violet", 600), e("#6d28d9", "violet", 700), e("#5b21b6", "violet", 800), e("#4c1d95", "violet", 900), e("#2e1065", "violet", 950);
956
- e("#ecfeff", "cyan", 50), e("#cffafe", "cyan", 100), e("#a5f3fc", "cyan", 200), e("#67e8f9", "cyan", 300), e("#22d3ee", "cyan", 400), e("#06b6d4", "cyan", 500), e("#0891b2", "cyan", 600), e("#0e7490", "cyan", 700), e("#155e75", "cyan", 800), e("#164e63", "cyan", 900), e("#083344", "cyan", 950);
957
- e("#f8fafc", "slate", 50), e("#f1f5f9", "slate", 100), e("#e2e8f0", "slate", 200), e("#cbd5e1", "slate", 300), e("#94a3b8", "slate", 400), e("#64748b", "slate", 500), e("#475569", "slate", 600), e("#334155", "slate", 700), e("#1e293b", "slate", 800), e("#0f172a", "slate", 900), e("#020617", "slate", 950);
958
- e("#f9fafb", "gray", 50), e("#f3f4f6", "gray", 100), e("#e5e7eb", "gray", 200), e("#d1d5db", "gray", 300), e("#9ca3af", "gray", 400), e("#6b7280", "gray", 500), e("#4b5563", "gray", 600), e("#374151", "gray", 700), e("#1f2937", "gray", 800), e("#111827", "gray", 900), e("#030712", "gray", 950);
959
- e("#ecfdf5", "emerald", 50), e("#d1fae5", "emerald", 100), e("#a7f3d0", "emerald", 200), e("#6ee7b7", "emerald", 300), e("#34d399", "emerald", 400), e("#10b981", "emerald", 500), e("#059669", "emerald", 600), e("#047857", "emerald", 700), e("#065f46", "emerald", 800), e("#064e3b", "emerald", 900), e("#022c22", "emerald", 950);
960
- e("#f0fdf4", "green", 50), e("#dcfce7", "green", 100), e("#bbf7d0", "green", 200), e("#86efac", "green", 300), e("#4ade80", "green", 400), e("#22c55e", "green", 500), e("#16a34a", "green", 600), e("#15803d", "green", 700), e("#166534", "green", 800), e("#14532d", "green", 900), e("#052e16", "green", 950);
961
- e("#fffbeb", "amber", 50), e("#fef3c7", "amber", 100), e("#fde68a", "amber", 200), e("#fcd34d", "amber", 300), e("#fbbf24", "amber", 400), e("#f59e0b", "amber", 500), e("#d97706", "amber", 600), e("#b45309", "amber", 700), e("#92400e", "amber", 800), e("#78350f", "amber", 900), e("#451a03", "amber", 950);
962
- e("#fefce8", "yellow", 50), e("#fef9c3", "yellow", 100), e("#fef08a", "yellow", 200), e("#fde047", "yellow", 300), e("#facc15", "yellow", 400), e("#eab308", "yellow", 500), e("#ca8a04", "yellow", 600), e("#a16207", "yellow", 700), e("#854d0e", "yellow", 800), e("#713f12", "yellow", 900), e("#422006", "yellow", 950);
963
- e("#fff7ed", "orange", 50), e("#ffedd5", "orange", 100), e("#fed7aa", "orange", 200), e("#fdba74", "orange", 300), e("#fb923c", "orange", 400), e("#f97316", "orange", 500), e("#ea580c", "orange", 600), e("#c2410c", "orange", 700), e("#9a3412", "orange", 800), e("#7c2d12", "orange", 900), e("#431407", "orange", 950);
964
- e("#fff1f2", "rose", 50), e("#ffe4e6", "rose", 100), e("#fecdd3", "rose", 200), e("#fda4af", "rose", 300), e("#fb7185", "rose", 400), e("#f43f5e", "rose", 500), e("#e11d48", "rose", 600), e("#be123c", "rose", 700), e("#9f1239", "rose", 800), e("#881337", "rose", 900), e("#4c0519", "rose", 950);
965
- e("#fef2f2", "red", 50), e("#fee2e2", "red", 100), e("#fecaca", "red", 200), e("#fca5a5", "red", 300), e("#f87171", "red", 400), e("#ef4444", "red", 500), e("#dc2626", "red", 600), e("#b91c1c", "red", 700), e("#991b1b", "red", 800), e("#7f1d1d", "red", 900), e("#450a0a", "red", 950);
966
- e("#f0f9ff", "sky", 50), e("#e0f2fe", "sky", 100), e("#bae6fd", "sky", 200), e("#7dd3fc", "sky", 300), e("#38bdf8", "sky", 400), e("#0ea5e9", "sky", 500), e("#0284c7", "sky", 600), e("#0369a1", "sky", 700), e("#075985", "sky", 800), e("#0c4a6e", "sky", 900), e("#082f49", "sky", 950);
967
- e("#eff6ff", "blue", 50), e("#dbeafe", "blue", 100), e("#bfdbfe", "blue", 200), e("#93c5fd", "blue", 300), e("#60a5fa", "blue", 400), e("#3b82f6", "blue", 500), e("#2563eb", "blue", 600), e("#1d4ed8", "blue", 700), e("#1e40af", "blue", 800), e("#1e3a8a", "blue", 900), e("#172554", "blue", 950);
968
- e("#fdf4ff", "fuchsia", 50), e("#fae8ff", "fuchsia", 100), e("#f5d0fe", "fuchsia", 200), e("#f0abfc", "fuchsia", 300), e("#e879f9", "fuchsia", 400), e("#d946ef", "fuchsia", 500), e("#c026d3", "fuchsia", 600), e("#a21caf", "fuchsia", 700), e("#86198f", "fuchsia", 800), e("#701a75", "fuchsia", 900), e("#4a044e", "fuchsia", 950);
969
- e("#fdf2f8", "pink", 50), e("#fce7f3", "pink", 100), e("#fbcfe8", "pink", 200), e("#f9a8d4", "pink", 300), e("#f472b6", "pink", 400), e("#ec4899", "pink", 500), e("#db2777", "pink", 600), e("#be185d", "pink", 700), e("#9d174d", "pink", 800), e("#831843", "pink", 900), e("#500724", "pink", 950);
970
- e("#faf5ff", "purple", 50), e("#f3e8ff", "purple", 100), e("#e9d5ff", "purple", 200), e("#d8b4fe", "purple", 300), e("#c084fc", "purple", 400), e("#a855f7", "purple", 500), e("#9333ea", "purple", 600), e("#7e22ce", "purple", 700), e("#6b21a8", "purple", 800), e("#581c87", "purple", 900), e("#3b0764", "purple", 950);
971
- e("#f0fdfa", "teal", 50), e("#ccfbf1", "teal", 100), e("#99f6e4", "teal", 200), e("#5eead4", "teal", 300), e("#2dd4bf", "teal", 400), e("#14b8a6", "teal", 500), e("#0d9488", "teal", 600), e("#0f766e", "teal", 700), e("#115e59", "teal", 800), e("#134e4a", "teal", 900), e("#042f2e", "teal", 950);
972
- e("#f7fee7", "lime", 50), e("#ecfccb", "lime", 100), e("#d9f99d", "lime", 200), e("#bef264", "lime", 300), e("#a3e635", "lime", 400), e("#84cc16", "lime", 500), e("#65a30d", "lime", 600), e("#4d7c0f", "lime", 700), e("#3f6212", "lime", 800), e("#365314", "lime", 900), e("#1a2e05", "lime", 950);
973
- class j {
879
+ Fe.displayName = "Label";
880
+ class z {
974
881
  /**
975
882
  * Create a shadow token
976
883
  */
@@ -1014,261 +921,19 @@ class j {
1014
921
  }[a];
1015
922
  }
1016
923
  }
1017
- const Oe = {
1018
- none: j.create("none"),
1019
- sm: j.create("sm"),
1020
- md: j.create("md"),
1021
- lg: j.create("lg"),
1022
- xl: j.create("xl"),
1023
- "2xl": j.create("2xl"),
1024
- inner: j.create("inner")
924
+ const Re = {
925
+ none: z.create("none"),
926
+ sm: z.create("sm"),
927
+ md: z.create("md"),
928
+ lg: z.create("lg"),
929
+ xl: z.create("xl"),
930
+ "2xl": z.create("2xl"),
931
+ inner: z.create("inner")
1025
932
  };
1026
- function Y(t) {
1027
- return Oe[t].tailwind;
1028
- }
1029
- class A {
1030
- /**
1031
- * Create a border width token
1032
- */
1033
- static createWidth(a) {
1034
- const r = {
1035
- none: {
1036
- px: 0,
1037
- tailwind: "border-0"
1038
- },
1039
- thin: {
1040
- px: 1,
1041
- tailwind: "border"
1042
- },
1043
- base: {
1044
- px: 1,
1045
- tailwind: "border"
1046
- },
1047
- medium: {
1048
- px: 2,
1049
- tailwind: "border-2"
1050
- },
1051
- thick: {
1052
- px: 4,
1053
- tailwind: "border-4"
1054
- }
1055
- }[a];
1056
- return {
1057
- value: r.px,
1058
- px: `${r.px}px`,
1059
- tailwind: r.tailwind
1060
- };
1061
- }
1062
- /**
1063
- * Create a complete border token
1064
- */
1065
- static create(a, n = "solid") {
1066
- return {
1067
- width: this.createWidth(a),
1068
- style: n,
1069
- description: `${a} ${n} border`
1070
- };
1071
- }
933
+ function P(e) {
934
+ return Re[e].tailwind;
1072
935
  }
1073
- A.create("none"), A.create("thin"), A.create("base"), A.create("medium"), A.create("thick"), A.create("thin", "dashed"), A.create("base", "dashed"), A.create("thin", "dotted"), A.create("base", "dotted");
1074
- class B {
1075
- /**
1076
- * Create breakpoint token
1077
- */
1078
- static create(a) {
1079
- const r = {
1080
- sm: { minWidth: 640, tailwind: "sm" },
1081
- md: { minWidth: 768, tailwind: "md" },
1082
- lg: { minWidth: 1024, tailwind: "lg" },
1083
- xl: { minWidth: 1280, tailwind: "xl" },
1084
- "2xl": { minWidth: 1536, tailwind: "2xl" }
1085
- }[a];
1086
- return {
1087
- name: a,
1088
- minWidth: r.minWidth,
1089
- px: `${r.minWidth}px`,
1090
- rem: `${r.minWidth / 16}rem`,
1091
- tailwind: r.tailwind
1092
- };
1093
- }
1094
- }
1095
- B.create("sm"), B.create("md"), B.create("lg"), B.create("xl"), B.create("2xl");
1096
- class W {
1097
- /**
1098
- * Create an animation token
1099
- */
1100
- static create(a, n = "ease-in-out") {
1101
- const r = {
1102
- fast: {
1103
- value: "150ms",
1104
- ms: 150,
1105
- tailwind: "duration-150"
1106
- },
1107
- base: {
1108
- value: "200ms",
1109
- ms: 200,
1110
- tailwind: "duration-200"
1111
- },
1112
- slow: {
1113
- value: "300ms",
1114
- ms: 300,
1115
- tailwind: "duration-300"
1116
- },
1117
- slower: {
1118
- value: "500ms",
1119
- ms: 500,
1120
- tailwind: "duration-500"
1121
- }
1122
- }, s = {
1123
- "ease-in": {
1124
- value: "cubic-bezier(0.4, 0, 1, 1)",
1125
- tailwind: "ease-in",
1126
- description: "Slow start, fast end"
1127
- },
1128
- "ease-out": {
1129
- value: "cubic-bezier(0, 0, 0.2, 1)",
1130
- tailwind: "ease-out",
1131
- description: "Fast start, slow end"
1132
- },
1133
- "ease-in-out": {
1134
- value: "cubic-bezier(0.4, 0, 0.2, 1)",
1135
- tailwind: "ease-in-out",
1136
- description: "Slow start and end, fast middle"
1137
- },
1138
- spring: {
1139
- value: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
1140
- tailwind: "ease-[cubic-bezier(0.68,-0.55,0.265,1.55)]",
1141
- description: "Spring-like bounce effect"
1142
- }
1143
- };
1144
- return {
1145
- duration: r[a],
1146
- easing: s[n]
1147
- };
1148
- }
1149
- /**
1150
- * Create a transition token
1151
- */
1152
- static createTransition(a, n = "base", r = "ease-in-out") {
1153
- const s = this.create(n, r), i = Array.isArray(a) ? a.join(", ") : a, o = [
1154
- s.duration.tailwind,
1155
- s.easing.tailwind
1156
- ].join(" ");
1157
- return {
1158
- property: i,
1159
- duration: s.duration.value,
1160
- timingFunction: s.easing.value,
1161
- tailwind: o
1162
- };
1163
- }
1164
- }
1165
- W.create("fast"), W.create("base"), W.create("slow"), W.create("slower"), W.createTransition(
1166
- ["color", "background-color", "border-color"],
1167
- "base"
1168
- ), W.createTransition("opacity", "fast"), W.createTransition("transform", "base"), W.createTransition("all", "base");
1169
- class I {
1170
- /**
1171
- * Create a z-index token
1172
- */
1173
- static create(a) {
1174
- return {
1175
- base: {
1176
- value: 0,
1177
- tailwind: "z-0",
1178
- description: "Base layer for normal content"
1179
- },
1180
- dropdown: {
1181
- value: 1e3,
1182
- tailwind: "z-[1000]",
1183
- description: "Dropdown menus and select options"
1184
- },
1185
- sticky: {
1186
- value: 1020,
1187
- tailwind: "z-[1020]",
1188
- description: "Sticky headers and navigation"
1189
- },
1190
- fixed: {
1191
- value: 1030,
1192
- tailwind: "z-[1030]",
1193
- description: "Fixed position elements"
1194
- },
1195
- "modal-backdrop": {
1196
- value: 1040,
1197
- tailwind: "z-[1040]",
1198
- description: "Modal backdrop/overlay"
1199
- },
1200
- modal: {
1201
- value: 1050,
1202
- tailwind: "z-[1050]",
1203
- description: "Modal dialogs and drawers"
1204
- },
1205
- popover: {
1206
- value: 1060,
1207
- tailwind: "z-[1060]",
1208
- description: "Popovers and tooltips"
1209
- },
1210
- tooltip: {
1211
- value: 1070,
1212
- tailwind: "z-[1070]",
1213
- description: "Tooltips (highest priority)"
1214
- },
1215
- toast: {
1216
- value: 1080,
1217
- tailwind: "z-[1080]",
1218
- description: "Toast notifications (highest priority)"
1219
- }
1220
- }[a];
1221
- }
1222
- }
1223
- I.create("base"), I.create("dropdown"), I.create("sticky"), I.create("fixed"), I.create("modal-backdrop"), I.create("modal"), I.create("popover"), I.create("tooltip"), I.create("toast");
1224
- class C {
1225
- /**
1226
- * Create an opacity token
1227
- */
1228
- static create(a) {
1229
- const n = a / 100, r = {
1230
- 0: "Fully transparent",
1231
- 5: "Very light overlay",
1232
- 10: "Light overlay",
1233
- 20: "Subtle overlay",
1234
- 25: "Quarter opacity",
1235
- 30: "Light background",
1236
- 40: "Semi-transparent",
1237
- 50: "Half opacity",
1238
- 60: "Semi-opaque",
1239
- 70: "Mostly opaque",
1240
- 75: "Three-quarter opacity",
1241
- 80: "High opacity",
1242
- 90: "Very high opacity",
1243
- 95: "Nearly opaque",
1244
- 100: "Fully opaque"
1245
- };
1246
- return {
1247
- value: a,
1248
- decimal: n,
1249
- tailwind: {
1250
- 0: "opacity-0",
1251
- 5: "opacity-5",
1252
- 10: "opacity-10",
1253
- 20: "opacity-20",
1254
- 25: "opacity-25",
1255
- 30: "opacity-30",
1256
- 40: "opacity-40",
1257
- 50: "opacity-50",
1258
- 60: "opacity-60",
1259
- 70: "opacity-70",
1260
- 75: "opacity-75",
1261
- 80: "opacity-80",
1262
- 90: "opacity-90",
1263
- 95: "opacity-95",
1264
- 100: "opacity-100"
1265
- }[a],
1266
- description: r[a]
1267
- };
1268
- }
1269
- }
1270
- C.create(0), C.create(5), C.create(10), C.create(20), C.create(25), C.create(30), C.create(40), C.create(50), C.create(60), C.create(70), C.create(75), C.create(80), C.create(90), C.create(95), C.create(100);
1271
- const Pe = _("w-full", {
936
+ const ze = M("w-full", {
1272
937
  variants: {
1273
938
  size: {
1274
939
  sm: "h-1",
@@ -1288,7 +953,7 @@ const Pe = _("w-full", {
1288
953
  size: "md",
1289
954
  variant: "primary"
1290
955
  }
1291
- }), se = _("transition-all", {
956
+ }), J = M("transition-all", {
1292
957
  variants: {
1293
958
  variant: {
1294
959
  primary: "bg-surface-brand",
@@ -1302,17 +967,17 @@ const Pe = _("w-full", {
1302
967
  defaultVariants: {
1303
968
  variant: "primary"
1304
969
  }
1305
- }), qe = q(function(y, m) {
1306
- var x = y, {
970
+ }), Me = _(function(b, y) {
971
+ var m = b, {
1307
972
  value: a,
1308
- max: n = 100,
1309
- variant: r = "primary",
973
+ max: r = 100,
974
+ variant: t = "primary",
1310
975
  size: s = "md",
1311
- showLabel: i = !1,
1312
- label: o,
1313
- "aria-label": f,
976
+ showLabel: o = !1,
977
+ label: d,
978
+ "aria-label": c,
1314
979
  className: u = ""
1315
- } = x, b = g(x, [
980
+ } = m, g = p(m, [
1316
981
  "value",
1317
982
  "max",
1318
983
  "variant",
@@ -1322,38 +987,38 @@ const Pe = _("w-full", {
1322
987
  "aria-label",
1323
988
  "className"
1324
989
  ]);
1325
- const v = a === void 0, N = v ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), T = f || (v ? "Loading in progress" : `Progress: ${N == null ? void 0 : N.toFixed(0)}%`);
1326
- return /* @__PURE__ */ S("div", h(p({ ref: m, className: l("w-full", u) }, b), { children: [
1327
- i && (o || !v) && /* @__PURE__ */ S(
990
+ const h = a === void 0, v = h ? void 0 : Math.min(Math.max(a / r * 100, 0), 100), S = c || (h ? "Loading in progress" : `Progress: ${v == null ? void 0 : v.toFixed(0)}%`);
991
+ return /* @__PURE__ */ $("div", x(f({ ref: y, className: n("w-full", u) }, g), { children: [
992
+ o && (d || !h) && /* @__PURE__ */ $(
1328
993
  "div",
1329
994
  {
1330
- className: l(
995
+ className: n(
1331
996
  "flex",
1332
997
  "items-center",
1333
998
  "justify-between",
1334
- d("xs", "mb")
999
+ i("xs", "mb")
1335
1000
  ),
1336
1001
  children: [
1337
- o && /* @__PURE__ */ c(
1002
+ d && /* @__PURE__ */ l(
1338
1003
  "span",
1339
1004
  {
1340
- className: l(
1341
- z("bodySmall"),
1342
- O("label"),
1005
+ className: n(
1006
+ E("bodySmall"),
1007
+ j("label"),
1343
1008
  "text-fg-primary"
1344
1009
  ),
1345
- children: o
1010
+ children: d
1346
1011
  }
1347
1012
  ),
1348
- !v && N !== void 0 && /* @__PURE__ */ S(
1013
+ !h && v !== void 0 && /* @__PURE__ */ $(
1349
1014
  "span",
1350
1015
  {
1351
- className: l(
1352
- z("bodySmall"),
1016
+ className: n(
1017
+ E("bodySmall"),
1353
1018
  "text-fg-secondary"
1354
1019
  ),
1355
1020
  children: [
1356
- N.toFixed(0),
1021
+ v.toFixed(0),
1357
1022
  "%"
1358
1023
  ]
1359
1024
  }
@@ -1361,32 +1026,32 @@ const Pe = _("w-full", {
1361
1026
  ]
1362
1027
  }
1363
1028
  ),
1364
- /* @__PURE__ */ c(
1029
+ /* @__PURE__ */ l(
1365
1030
  "div",
1366
1031
  {
1367
1032
  role: "progressbar",
1368
- "aria-valuemin": v ? void 0 : 0,
1369
- "aria-valuemax": v ? void 0 : n,
1370
- "aria-valuenow": v ? void 0 : a,
1371
- "aria-label": T,
1372
- "aria-busy": v,
1373
- className: l(
1033
+ "aria-valuemin": h ? void 0 : 0,
1034
+ "aria-valuemax": h ? void 0 : r,
1035
+ "aria-valuenow": h ? void 0 : a,
1036
+ "aria-label": S,
1037
+ "aria-busy": h,
1038
+ className: n(
1374
1039
  "relative",
1375
1040
  "w-full",
1376
1041
  "overflow-hidden",
1377
- Pe({ size: s, variant: r }),
1378
- M("full")
1042
+ ze({ size: s, variant: t }),
1043
+ C("full")
1379
1044
  ),
1380
- children: v ? /* @__PURE__ */ c(
1045
+ children: h ? /* @__PURE__ */ l(
1381
1046
  "div",
1382
1047
  {
1383
- className: l(
1048
+ className: n(
1384
1049
  "absolute",
1385
1050
  "top-0",
1386
1051
  "left-0",
1387
1052
  "bottom-0",
1388
- se({ variant: r }),
1389
- M("full"),
1053
+ J({ variant: t }),
1054
+ C("full"),
1390
1055
  "motion-reduce:animate-none"
1391
1056
  ),
1392
1057
  style: {
@@ -1394,19 +1059,19 @@ const Pe = _("w-full", {
1394
1059
  animation: "progress-indeterminate 1.5s ease-in-out infinite"
1395
1060
  }
1396
1061
  }
1397
- ) : /* @__PURE__ */ c(
1062
+ ) : /* @__PURE__ */ l(
1398
1063
  "div",
1399
1064
  {
1400
- className: l(
1065
+ className: n(
1401
1066
  "h-full",
1402
- se({ variant: r }),
1403
- M("full"),
1067
+ J({ variant: t }),
1068
+ C("full"),
1404
1069
  "transition-all",
1405
1070
  "duration-300",
1406
1071
  "ease-out"
1407
1072
  ),
1408
1073
  style: {
1409
- width: `${N}%`
1074
+ width: `${v}%`
1410
1075
  },
1411
1076
  "aria-hidden": "true"
1412
1077
  }
@@ -1415,57 +1080,57 @@ const Pe = _("w-full", {
1415
1080
  )
1416
1081
  ] }));
1417
1082
  });
1418
- qe.displayName = "Progress";
1419
- const Ue = {
1083
+ Me.displayName = "Progress";
1084
+ const Ve = {
1420
1085
  horizontal: "w-full border-t",
1421
1086
  vertical: "h-full border-l self-stretch"
1422
- }, Ke = {
1087
+ }, je = {
1423
1088
  solid: "border-solid",
1424
1089
  dashed: "border-dashed",
1425
1090
  dotted: "border-dotted"
1426
- }, Xe = P(function(i) {
1427
- var o = i, {
1091
+ }, De = D(function(o) {
1092
+ var d = o, {
1428
1093
  orientation: a = "horizontal",
1429
- variant: n = "solid",
1430
- className: r = ""
1431
- } = o, s = g(o, [
1094
+ variant: r = "solid",
1095
+ className: t = ""
1096
+ } = d, s = p(d, [
1432
1097
  "orientation",
1433
1098
  "variant",
1434
1099
  "className"
1435
1100
  ]);
1436
- const f = l(
1101
+ const c = n(
1437
1102
  "border-0",
1438
1103
  "border-line-default",
1439
- Ue[a],
1440
- Ke[n],
1441
- r
1104
+ Ve[a],
1105
+ je[r],
1106
+ t
1442
1107
  );
1443
- return a === "vertical" ? /* @__PURE__ */ c(
1108
+ return a === "vertical" ? /* @__PURE__ */ l(
1444
1109
  "div",
1445
- p({
1446
- className: f,
1110
+ f({
1111
+ className: c,
1447
1112
  role: "separator",
1448
1113
  "aria-orientation": "vertical"
1449
1114
  }, s)
1450
- ) : /* @__PURE__ */ c(
1115
+ ) : /* @__PURE__ */ l(
1451
1116
  "hr",
1452
- p({
1453
- className: f,
1117
+ f({
1118
+ className: c,
1454
1119
  role: "separator",
1455
1120
  "aria-orientation": "horizontal"
1456
1121
  }, s)
1457
1122
  );
1458
1123
  });
1459
- Xe.displayName = "Separator";
1460
- function Na(f) {
1461
- var u = f, {
1462
- variant: t = "text",
1124
+ De.displayName = "Separator";
1125
+ function ft(c) {
1126
+ var u = c, {
1127
+ variant: e = "text",
1463
1128
  width: a,
1464
- height: n,
1465
- lines: r = 1,
1129
+ height: r,
1130
+ lines: t = 1,
1466
1131
  className: s = "",
1467
- "aria-label": i
1468
- } = u, o = g(u, [
1132
+ "aria-label": o
1133
+ } = u, d = p(u, [
1469
1134
  "variant",
1470
1135
  "width",
1471
1136
  "height",
@@ -1473,48 +1138,48 @@ function Na(f) {
1473
1138
  "className",
1474
1139
  "aria-label"
1475
1140
  ]);
1476
- const b = [
1141
+ const g = [
1477
1142
  "motion-safe:animate-pulse",
1478
1143
  "bg-surface-muted",
1479
- M("sm")
1480
- ], m = {
1144
+ C("sm")
1145
+ ], y = {
1481
1146
  text: "h-4",
1482
1147
  card: "h-32",
1483
1148
  list: "h-12",
1484
- circle: M("full")
1485
- }, y = l(...b, m[t], s), x = {};
1486
- a && (x.width = a), n && (x.height = n);
1487
- const v = i || `Loading ${t} content`;
1488
- return t === "text" && r > 1 ? /* @__PURE__ */ c(
1149
+ circle: C("full")
1150
+ }, b = n(...g, y[e], s), m = {};
1151
+ a && (m.width = a), r && (m.height = r);
1152
+ const h = o || `Loading ${e} content`;
1153
+ return e === "text" && t > 1 ? /* @__PURE__ */ l(
1489
1154
  "div",
1490
- h(p({
1491
- className: d("sm", "space-y"),
1155
+ x(f({
1156
+ className: i("sm", "space-y"),
1492
1157
  role: "status",
1493
1158
  "aria-busy": "true",
1494
- "aria-label": v
1495
- }, o), {
1496
- children: Array.from({ length: r }).map((N, T) => /* @__PURE__ */ c(
1159
+ "aria-label": h
1160
+ }, d), {
1161
+ children: Array.from({ length: t }).map((v, S) => /* @__PURE__ */ l(
1497
1162
  "div",
1498
1163
  {
1499
- className: y,
1500
- style: T === r - 1 ? { width: "75%" } : x,
1164
+ className: b,
1165
+ style: S === t - 1 ? { width: "75%" } : m,
1501
1166
  "aria-hidden": "true"
1502
1167
  },
1503
- T
1168
+ S
1504
1169
  ))
1505
1170
  })
1506
- ) : /* @__PURE__ */ c(
1171
+ ) : /* @__PURE__ */ l(
1507
1172
  "div",
1508
- p({
1509
- className: y,
1510
- style: x,
1173
+ f({
1174
+ className: b,
1175
+ style: m,
1511
1176
  role: "status",
1512
1177
  "aria-busy": "true",
1513
- "aria-label": v
1514
- }, o)
1178
+ "aria-label": h
1179
+ }, d)
1515
1180
  );
1516
1181
  }
1517
- const Ge = _("motion-safe:animate-spin", {
1182
+ const _e = M("motion-safe:animate-spin", {
1518
1183
  variants: {
1519
1184
  size: {
1520
1185
  sm: "h-4 w-4",
@@ -1531,52 +1196,52 @@ const Ge = _("motion-safe:animate-spin", {
1531
1196
  size: "md",
1532
1197
  variant: "primary"
1533
1198
  }
1534
- }), Ye = P(function(o) {
1535
- var f = o, {
1199
+ }), Ie = D(function(d) {
1200
+ var c = d, {
1536
1201
  size: a = "md",
1537
- variant: n = "primary",
1538
- label: r,
1202
+ variant: r = "primary",
1203
+ label: t,
1539
1204
  className: s = ""
1540
- } = f, i = g(f, [
1205
+ } = c, o = p(c, [
1541
1206
  "size",
1542
1207
  "variant",
1543
1208
  "label",
1544
1209
  "className"
1545
1210
  ]);
1546
- return /* @__PURE__ */ S(
1211
+ return /* @__PURE__ */ $(
1547
1212
  "div",
1548
- h(p({
1549
- className: l("inline-flex", "items-center", s),
1213
+ x(f({
1214
+ className: n("inline-flex", "items-center", s),
1550
1215
  role: "status",
1551
- "aria-label": r || "Loading",
1216
+ "aria-label": t || "Loading",
1552
1217
  "aria-live": "polite"
1553
- }, i), {
1218
+ }, o), {
1554
1219
  children: [
1555
- /* @__PURE__ */ c(
1556
- xe,
1220
+ /* @__PURE__ */ l(
1221
+ ce,
1557
1222
  {
1558
- className: l(Ge({ size: a, variant: n })),
1223
+ className: n(_e({ size: a, variant: r })),
1559
1224
  "aria-hidden": "true"
1560
1225
  }
1561
1226
  ),
1562
- r && /* @__PURE__ */ c(
1227
+ t && /* @__PURE__ */ l(
1563
1228
  "span",
1564
1229
  {
1565
- className: l(
1566
- d("sm", "ml"),
1567
- z("bodySmall"),
1230
+ className: n(
1231
+ i("sm", "ml"),
1232
+ E("bodySmall"),
1568
1233
  "text-fg-secondary",
1569
1234
  "sr-only"
1570
1235
  ),
1571
- children: r
1236
+ children: t
1572
1237
  }
1573
1238
  )
1574
1239
  ]
1575
1240
  })
1576
1241
  );
1577
1242
  });
1578
- Ye.displayName = "Spinner";
1579
- const Ze = {
1243
+ Ie.displayName = "Spinner";
1244
+ const We = {
1580
1245
  primary: {
1581
1246
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1582
1247
  light: "text-indigo-400",
@@ -1628,16 +1293,16 @@ const Ze = {
1628
1293
  contrast: "text-fg-inverse"
1629
1294
  }
1630
1295
  };
1631
- function Qe(b, u) {
1632
- var m = b, {
1633
- variant: t = "paragraph",
1296
+ function He(g, u) {
1297
+ var y = g, {
1298
+ variant: e = "paragraph",
1634
1299
  bold: a,
1635
- italic: n,
1636
- className: r,
1300
+ italic: r,
1301
+ className: t,
1637
1302
  as: s,
1638
- colorRole: i = "neutral",
1639
- colorShade: o = "dark"
1640
- } = m, f = g(m, [
1303
+ colorRole: o = "neutral",
1304
+ colorShade: d = "dark"
1305
+ } = y, c = p(y, [
1641
1306
  "variant",
1642
1307
  "bold",
1643
1308
  "italic",
@@ -1646,41 +1311,41 @@ function Qe(b, u) {
1646
1311
  "colorRole",
1647
1312
  "colorShade"
1648
1313
  ]);
1649
- const y = [];
1650
- let x;
1314
+ const b = [];
1315
+ let m;
1651
1316
  if (s)
1652
- x = s;
1317
+ m = s;
1653
1318
  else
1654
- switch (t) {
1319
+ switch (e) {
1655
1320
  case "heading":
1656
- x = "h2";
1321
+ m = "h2";
1657
1322
  break;
1658
1323
  case "list":
1659
- x = "li";
1324
+ m = "li";
1660
1325
  break;
1661
1326
  default:
1662
- x = "p";
1327
+ m = "p";
1663
1328
  break;
1664
1329
  }
1665
- return t === "heading" ? y.push(R("h2")) : t === "body" || t === "paragraph" ? y.push(R("body")) : t === "bodySmall" ? y.push(R("bodySmall")) : t === "bodyLarge" ? y.push(R("bodyLarge")) : t === "caption" ? y.push(R("caption")) : t === "label" ? y.push(R("label")) : y.push(R("body")), a && y.push("font-bold"), n && y.push("italic"), y.push(Ze[i][o]), /* @__PURE__ */ c(x, p({ ref: u, className: l(...y, r) }, f));
1330
+ return e === "heading" ? b.push(R("h2")) : e === "body" || e === "paragraph" ? b.push(R("body")) : e === "bodySmall" ? b.push(R("bodySmall")) : e === "bodyLarge" ? b.push(R("bodyLarge")) : e === "caption" ? b.push(R("caption")) : e === "label" ? b.push(R("label")) : b.push(R("body")), a && b.push("font-bold"), r && b.push("italic"), b.push(We[o][d]), /* @__PURE__ */ l(m, f({ ref: u, className: n(...b, t) }, c));
1666
1331
  }
1667
- const ie = q(Qe), Je = {
1332
+ const Q = _(He), Oe = {
1668
1333
  sm: "max-w-screen-sm",
1669
1334
  md: "max-w-screen-md",
1670
1335
  lg: "max-w-screen-lg",
1671
1336
  xl: "max-w-screen-xl",
1672
1337
  "2xl": "max-w-screen-2xl",
1673
1338
  full: "max-w-full"
1674
- }, ea = le.forwardRef(
1675
- (u, f) => {
1676
- var b = u, {
1677
- className: t,
1339
+ }, Pe = ee.forwardRef(
1340
+ (u, c) => {
1341
+ var g = u, {
1342
+ className: e,
1678
1343
  maxWidth: a = "lg",
1679
- paddingX: n = "base",
1680
- paddingY: r = "base",
1344
+ paddingX: r = "base",
1345
+ paddingY: t = "base",
1681
1346
  center: s = !0,
1682
- children: i
1683
- } = b, o = g(b, [
1347
+ children: o
1348
+ } = g, d = p(g, [
1684
1349
  "className",
1685
1350
  "maxWidth",
1686
1351
  "paddingX",
@@ -1688,35 +1353,35 @@ const ie = q(Qe), Je = {
1688
1353
  "center",
1689
1354
  "children"
1690
1355
  ]);
1691
- return /* @__PURE__ */ c(
1356
+ return /* @__PURE__ */ l(
1692
1357
  "div",
1693
- h(p({
1694
- ref: f,
1695
- className: l(
1358
+ x(f({
1359
+ ref: c,
1360
+ className: n(
1696
1361
  "w-full",
1697
- Je[a],
1698
- d(n, "px"),
1699
- d(r, "py"),
1362
+ Oe[a],
1363
+ i(r, "px"),
1364
+ i(t, "py"),
1700
1365
  s && "mx-auto",
1701
- t
1366
+ e
1702
1367
  )
1703
- }, o), {
1704
- children: i
1368
+ }, d), {
1369
+ children: o
1705
1370
  })
1706
1371
  );
1707
1372
  }
1708
1373
  );
1709
- ea.displayName = "Container";
1710
- const aa = le.forwardRef(
1711
- (u, f) => {
1712
- var b = u, {
1713
- className: t,
1374
+ Pe.displayName = "Container";
1375
+ const Be = ee.forwardRef(
1376
+ (u, c) => {
1377
+ var g = u, {
1378
+ className: e,
1714
1379
  spacing: a = "base",
1715
- align: n = "stretch",
1716
- justify: r = "start",
1380
+ align: r = "stretch",
1381
+ justify: t = "start",
1717
1382
  direction: s = "column",
1718
- children: i
1719
- } = b, o = g(b, [
1383
+ children: o
1384
+ } = g, d = p(g, [
1720
1385
  "className",
1721
1386
  "spacing",
1722
1387
  "align",
@@ -1724,12 +1389,12 @@ const aa = le.forwardRef(
1724
1389
  "direction",
1725
1390
  "children"
1726
1391
  ]);
1727
- const m = s === "column" ? d(a, "gap-y") : d(a, "gap-x"), y = {
1392
+ const y = s === "column" ? i(a, "gap-y") : i(a, "gap-x"), b = {
1728
1393
  start: "items-start",
1729
1394
  center: "items-center",
1730
1395
  end: "items-end",
1731
1396
  stretch: "items-stretch"
1732
- }, x = {
1397
+ }, m = {
1733
1398
  start: "justify-start",
1734
1399
  center: "justify-center",
1735
1400
  end: "justify-end",
@@ -1737,82 +1402,82 @@ const aa = le.forwardRef(
1737
1402
  around: "justify-around",
1738
1403
  evenly: "justify-evenly"
1739
1404
  };
1740
- return /* @__PURE__ */ c(
1405
+ return /* @__PURE__ */ l(
1741
1406
  "div",
1742
- h(p({
1743
- ref: f,
1744
- className: l(
1407
+ x(f({
1408
+ ref: c,
1409
+ className: n(
1745
1410
  "flex",
1746
1411
  s === "column" ? "flex-col" : "flex-row",
1747
- m,
1748
- y[n],
1749
- x[r],
1750
- t
1412
+ y,
1413
+ b[r],
1414
+ m[t],
1415
+ e
1751
1416
  )
1752
- }, o), {
1753
- children: i
1417
+ }, d), {
1418
+ children: o
1754
1419
  })
1755
1420
  );
1756
1421
  }
1757
1422
  );
1758
- aa.displayName = "Stack";
1759
- function ta(s) {
1760
- var i = s, {
1761
- items: t,
1423
+ Be.displayName = "Stack";
1424
+ function Ue(s) {
1425
+ var o = s, {
1426
+ items: e,
1762
1427
  separator: a = "/",
1763
- className: n = ""
1764
- } = i, r = g(i, [
1428
+ className: r = ""
1429
+ } = o, t = p(o, [
1765
1430
  "items",
1766
1431
  "separator",
1767
1432
  "className"
1768
1433
  ]);
1769
- const o = [
1434
+ const d = [
1770
1435
  "flex",
1771
1436
  "items-center",
1772
- d("sm", "space-x"),
1773
- z("bodySmall")
1774
- ], f = l(...o, n);
1775
- return /* @__PURE__ */ c("nav", h(p({ "aria-label": "Breadcrumb", className: f }, r), { children: /* @__PURE__ */ c(
1437
+ i("sm", "space-x"),
1438
+ E("bodySmall")
1439
+ ], c = n(...d, r);
1440
+ return /* @__PURE__ */ l("nav", x(f({ "aria-label": "Breadcrumb", className: c }, t), { children: /* @__PURE__ */ l(
1776
1441
  "ol",
1777
1442
  {
1778
- className: l("flex", "items-center", d("sm", "space-x")),
1779
- children: t.map((u, b) => {
1780
- const m = b === t.length - 1;
1781
- return /* @__PURE__ */ S("li", { className: "flex items-center", children: [
1782
- b > 0 && /* @__PURE__ */ c(
1443
+ className: n("flex", "items-center", i("sm", "space-x")),
1444
+ children: e.map((u, g) => {
1445
+ const y = g === e.length - 1;
1446
+ return /* @__PURE__ */ $("li", { className: "flex items-center", children: [
1447
+ g > 0 && /* @__PURE__ */ l(
1783
1448
  "span",
1784
1449
  {
1785
- className: l(
1786
- d("sm", "mx"),
1450
+ className: n(
1451
+ i("sm", "mx"),
1787
1452
  "text-fg-tertiary"
1788
1453
  ),
1789
1454
  "aria-hidden": "true",
1790
1455
  children: a
1791
1456
  }
1792
1457
  ),
1793
- m ? /* @__PURE__ */ c(
1458
+ y ? /* @__PURE__ */ l(
1794
1459
  "span",
1795
1460
  {
1796
- className: l(
1461
+ className: n(
1797
1462
  "text-fg-primary",
1798
- O("label")
1463
+ j("label")
1799
1464
  ),
1800
1465
  "aria-current": "page",
1801
1466
  children: u.label
1802
1467
  }
1803
- ) : u.href ? /* @__PURE__ */ c(
1468
+ ) : u.href ? /* @__PURE__ */ l(
1804
1469
  "a",
1805
1470
  {
1806
1471
  href: u.href,
1807
- className: l(
1472
+ className: n(
1808
1473
  "inline-flex",
1809
1474
  "items-center",
1810
- d("xs", "px"),
1811
- d("xs", "pt"),
1475
+ i("xs", "px"),
1476
+ i("xs", "pt"),
1812
1477
  "border-b-2",
1813
1478
  "border-transparent",
1814
- z("bodySmall"),
1815
- O("label"),
1479
+ E("bodySmall"),
1480
+ j("label"),
1816
1481
  "transition-colors",
1817
1482
  "text-fg-secondary",
1818
1483
  "hover:border-line-emphasis",
@@ -1820,109 +1485,109 @@ function ta(s) {
1820
1485
  ),
1821
1486
  children: u.label
1822
1487
  }
1823
- ) : /* @__PURE__ */ c("span", { className: "text-fg-secondary", children: u.label })
1824
- ] }, b);
1488
+ ) : /* @__PURE__ */ l("span", { className: "text-fg-secondary", children: u.label })
1489
+ ] }, g);
1825
1490
  })
1826
1491
  }
1827
1492
  ) }));
1828
1493
  }
1829
- function ra(r) {
1830
- var s = r, { children: t, className: a } = s, n = g(s, ["children", "className"]);
1831
- return /* @__PURE__ */ c(
1494
+ function Ke(t) {
1495
+ var s = t, { children: e, className: a } = s, r = p(s, ["children", "className"]);
1496
+ return /* @__PURE__ */ l(
1832
1497
  "div",
1833
- h(p({
1834
- className: l(
1498
+ x(f({
1499
+ className: n(
1835
1500
  "grid items-start",
1836
- d("1.5", "gap"),
1837
- d("base", "mb"),
1501
+ i("1.5", "gap"),
1502
+ i("base", "mb"),
1838
1503
  "[&:has([data-card-actions])]:grid-cols-[1fr_auto]",
1839
1504
  "[&:has([data-card-actions])>[data-card-actions]]:row-span-full",
1840
1505
  a
1841
1506
  )
1842
- }, n), {
1843
- children: t
1507
+ }, r), {
1508
+ children: e
1844
1509
  })
1845
1510
  );
1846
1511
  }
1847
- function na(o) {
1848
- var f = o, {
1849
- children: t,
1512
+ function Xe(d) {
1513
+ var c = d, {
1514
+ children: e,
1850
1515
  icon: a,
1851
- badge: n,
1852
- as: r = "h2",
1516
+ badge: r,
1517
+ as: t = "h2",
1853
1518
  className: s
1854
- } = f, i = g(f, [
1519
+ } = c, o = p(c, [
1855
1520
  "children",
1856
1521
  "icon",
1857
1522
  "badge",
1858
1523
  "as",
1859
1524
  "className"
1860
1525
  ]);
1861
- return /* @__PURE__ */ S(
1862
- r,
1863
- h(p({
1864
- className: l(
1526
+ return /* @__PURE__ */ $(
1527
+ t,
1528
+ x(f({
1529
+ className: n(
1865
1530
  "text-base font-semibold text-fg-primary",
1866
1531
  "flex items-center",
1867
- d("sm", "gap"),
1532
+ i("sm", "gap"),
1868
1533
  s
1869
1534
  )
1870
- }, i), {
1535
+ }, o), {
1871
1536
  children: [
1872
- a ? /* @__PURE__ */ c("span", { className: "shrink-0 inline-flex", children: a }) : null,
1873
- /* @__PURE__ */ c("span", { children: t }),
1874
- n ? /* @__PURE__ */ c("span", { className: "inline-flex", children: n }) : null
1537
+ a ? /* @__PURE__ */ l("span", { className: "shrink-0 inline-flex", children: a }) : null,
1538
+ /* @__PURE__ */ l("span", { children: e }),
1539
+ r ? /* @__PURE__ */ l("span", { className: "inline-flex", children: r }) : null
1875
1540
  ]
1876
1541
  })
1877
1542
  );
1878
1543
  }
1879
- function sa(r) {
1880
- var s = r, {
1881
- children: t,
1544
+ function qe(t) {
1545
+ var s = t, {
1546
+ children: e,
1882
1547
  className: a
1883
- } = s, n = g(s, [
1548
+ } = s, r = p(s, [
1884
1549
  "children",
1885
1550
  "className"
1886
1551
  ]);
1887
- return /* @__PURE__ */ c("p", h(p({ className: l("text-sm text-fg-secondary", a) }, n), { children: t }));
1552
+ return /* @__PURE__ */ l("p", x(f({ className: n("text-sm text-fg-secondary", a) }, r), { children: e }));
1888
1553
  }
1889
- function ia(r) {
1890
- var s = r, {
1891
- children: t,
1554
+ function Ge(t) {
1555
+ var s = t, {
1556
+ children: e,
1892
1557
  className: a
1893
- } = s, n = g(s, [
1558
+ } = s, r = p(s, [
1894
1559
  "children",
1895
1560
  "className"
1896
1561
  ]);
1897
- return /* @__PURE__ */ c(
1562
+ return /* @__PURE__ */ l(
1898
1563
  "div",
1899
- h(p({
1564
+ x(f({
1900
1565
  "data-card-actions": "",
1901
- className: l(
1566
+ className: n(
1902
1567
  "flex items-center self-start",
1903
- d("sm", "gap"),
1568
+ i("sm", "gap"),
1904
1569
  a
1905
1570
  )
1906
- }, n), {
1907
- children: t
1571
+ }, r), {
1572
+ children: e
1908
1573
  })
1909
1574
  );
1910
1575
  }
1911
- function la(r) {
1912
- var s = r, { children: t, className: a } = s, n = g(s, ["children", "className"]);
1913
- return /* @__PURE__ */ c("div", h(p({ className: l(a) }, n), { children: t }));
1576
+ function Ye(t) {
1577
+ var s = t, { children: e, className: a } = s, r = p(s, ["children", "className"]);
1578
+ return /* @__PURE__ */ l("div", x(f({ className: n(a) }, r), { children: e }));
1914
1579
  }
1915
- function oa(b) {
1916
- var m = b, {
1917
- variant: t = "default",
1580
+ function Ze(g) {
1581
+ var y = g, {
1582
+ variant: e = "default",
1918
1583
  padding: a = "medium",
1919
- className: n = "",
1920
- onClick: r,
1584
+ className: r = "",
1585
+ onClick: t,
1921
1586
  "aria-label": s,
1922
- "aria-labelledby": i,
1923
- asSection: o = !1,
1924
- children: f
1925
- } = m, u = g(m, [
1587
+ "aria-labelledby": o,
1588
+ asSection: d = !1,
1589
+ children: c
1590
+ } = y, u = p(y, [
1926
1591
  "variant",
1927
1592
  "padding",
1928
1593
  "className",
@@ -1932,33 +1597,33 @@ function oa(b) {
1932
1597
  "asSection",
1933
1598
  "children"
1934
1599
  ]);
1935
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && o && !s && !i && console.warn(
1600
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && d && !s && !o && console.warn(
1936
1601
  "[Card] `asSection={true}` requires an accessible name. Pass `aria-labelledby` pointing to your Card.Title `id`, or `aria-label`. A <section> without a name is an anonymous landmark that hurts screen-reader navigation."
1937
1602
  );
1938
- const y = _(
1939
- l(
1603
+ const b = M(
1604
+ n(
1940
1605
  "bg-surface-base",
1941
- M("lg"),
1606
+ C("lg"),
1942
1607
  "border",
1943
1608
  "border-line-default",
1944
- Y("sm")
1609
+ P("sm")
1945
1610
  ),
1946
1611
  {
1947
1612
  variants: {
1948
1613
  variant: {
1949
1614
  default: "",
1950
- hover: l(
1951
- `hover:${Y("md")}`,
1615
+ hover: n(
1616
+ `hover:${P("md")}`,
1952
1617
  "transition-shadow",
1953
1618
  "cursor-pointer"
1954
1619
  ),
1955
- selected: l("border-line-brand", Y("md"))
1620
+ selected: n("border-line-brand", P("md"))
1956
1621
  },
1957
1622
  padding: {
1958
1623
  none: "",
1959
- small: d("xs", "p"),
1960
- medium: d("base", "p"),
1961
- large: d("lg", "p")
1624
+ small: i("xs", "p"),
1625
+ medium: i("base", "p"),
1626
+ large: i("lg", "p")
1962
1627
  }
1963
1628
  },
1964
1629
  defaultVariants: {
@@ -1966,182 +1631,182 @@ function oa(b) {
1966
1631
  padding: "medium"
1967
1632
  }
1968
1633
  }
1969
- ), x = r !== void 0, v = x ? "button" : void 0, N = x ? 0 : void 0, T = l(y({ variant: t, padding: a }), n), L = p({
1970
- className: T,
1971
- role: v,
1972
- tabIndex: N,
1973
- onClick: r,
1974
- onKeyDown: x ? (H) => {
1975
- x && (H.key === "Enter" || H.key === " ") && (H.preventDefault(), r == null || r());
1634
+ ), m = t !== void 0, h = m ? "button" : void 0, v = m ? 0 : void 0, S = n(b({ variant: e, padding: a }), r), L = f({
1635
+ className: S,
1636
+ role: h,
1637
+ tabIndex: v,
1638
+ onClick: t,
1639
+ onKeyDown: m ? (V) => {
1640
+ m && (V.key === "Enter" || V.key === " ") && (V.preventDefault(), t == null || t());
1976
1641
  } : void 0,
1977
1642
  "aria-label": s,
1978
- "aria-labelledby": i
1643
+ "aria-labelledby": o
1979
1644
  }, u);
1980
- return o ? /* @__PURE__ */ c("section", h(p({}, L), { children: f })) : /* @__PURE__ */ c("div", h(p({}, L), { children: f }));
1645
+ return d ? /* @__PURE__ */ l("section", x(f({}, L), { children: c })) : /* @__PURE__ */ l("div", x(f({}, L), { children: c }));
1981
1646
  }
1982
- const oe = P(oa);
1983
- oe.displayName = "Card";
1984
- const U = oe;
1985
- U.Header = ra;
1986
- U.Title = na;
1987
- U.Subtitle = sa;
1988
- U.Actions = ia;
1989
- U.Body = la;
1990
- function ka(r) {
1991
- var s = r, {
1992
- children: t,
1647
+ const te = D(Ze);
1648
+ te.displayName = "Card";
1649
+ const I = te;
1650
+ I.Header = Ke;
1651
+ I.Title = Xe;
1652
+ I.Subtitle = qe;
1653
+ I.Actions = Ge;
1654
+ I.Body = Ye;
1655
+ function ut(t) {
1656
+ var s = t, {
1657
+ children: e,
1993
1658
  className: a = ""
1994
- } = s, n = g(s, [
1659
+ } = s, r = p(s, [
1995
1660
  "children",
1996
1661
  "className"
1997
1662
  ]);
1998
- return /* @__PURE__ */ c(
1663
+ return /* @__PURE__ */ l(
1999
1664
  "div",
2000
- h(p({
2001
- className: `flex flex-col ${d("1.5", "space-y")} ${d("lg", "p")} ${d("base", "pb")} ${a}`
2002
- }, n), {
2003
- children: t
1665
+ x(f({
1666
+ className: `flex flex-col ${i("1.5", "space-y")} ${i("lg", "p")} ${i("base", "pb")} ${a}`
1667
+ }, r), {
1668
+ children: e
2004
1669
  })
2005
1670
  );
2006
1671
  }
2007
- function $a(r) {
2008
- var s = r, {
2009
- children: t,
1672
+ function pt(t) {
1673
+ var s = t, {
1674
+ children: e,
2010
1675
  className: a = ""
2011
- } = s, n = g(s, [
1676
+ } = s, r = p(s, [
2012
1677
  "children",
2013
1678
  "className"
2014
1679
  ]);
2015
- return /* @__PURE__ */ c(
1680
+ return /* @__PURE__ */ l(
2016
1681
  "div",
2017
- h(p({
2018
- className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${d("sm", "space-x")} ${d("lg", "p")} ${d("base", "pt")} ${a}`
2019
- }, n), {
2020
- children: t
1682
+ x(f({
1683
+ className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${i("sm", "space-x")} ${i("lg", "p")} ${i("base", "pt")} ${a}`
1684
+ }, r), {
1685
+ children: e
2021
1686
  })
2022
1687
  );
2023
1688
  }
2024
- function Sa(r) {
2025
- var s = r, {
2026
- children: t,
1689
+ function mt(t) {
1690
+ var s = t, {
1691
+ children: e,
2027
1692
  className: a = ""
2028
- } = s, n = g(s, [
1693
+ } = s, r = p(s, [
2029
1694
  "children",
2030
1695
  "className"
2031
1696
  ]);
2032
- return /* @__PURE__ */ c(
1697
+ return /* @__PURE__ */ l(
2033
1698
  "div",
2034
- h(p({
1699
+ x(f({
2035
1700
  className: `
2036
- ${d("lg", "p")}
1701
+ ${i("lg", "p")}
2037
1702
  border-b
2038
1703
  border-line-default
2039
1704
  ${a}
2040
1705
  `
2041
- }, n), {
2042
- children: t
1706
+ }, r), {
1707
+ children: e
2043
1708
  })
2044
1709
  );
2045
1710
  }
2046
- function Ta(r) {
2047
- var s = r, {
2048
- children: t,
1711
+ function gt(t) {
1712
+ var s = t, {
1713
+ children: e,
2049
1714
  className: a = ""
2050
- } = s, n = g(s, [
1715
+ } = s, r = p(s, [
2051
1716
  "children",
2052
1717
  "className"
2053
1718
  ]);
2054
- return /* @__PURE__ */ c(
1719
+ return /* @__PURE__ */ l(
2055
1720
  "div",
2056
- h(p({
1721
+ x(f({
2057
1722
  className: `
2058
- ${d("lg", "p")}
1723
+ ${i("lg", "p")}
2059
1724
  border-t
2060
1725
  border-line-default
2061
1726
  flex
2062
1727
  justify-end
2063
- ${d("sm", "gap")}
1728
+ ${i("sm", "gap")}
2064
1729
  ${a}
2065
1730
  `
2066
- }, n), {
2067
- children: t
1731
+ }, r), {
1732
+ children: e
2068
1733
  })
2069
1734
  );
2070
1735
  }
2071
- function Ca({ children: t, className: a }) {
2072
- return /* @__PURE__ */ c(
1736
+ function xt({ children: e, className: a }) {
1737
+ return /* @__PURE__ */ l(
2073
1738
  "div",
2074
1739
  {
2075
- className: l(
1740
+ className: n(
2076
1741
  "flex-shrink-0 flex items-center",
2077
- d("sm", "gap"),
1742
+ i("sm", "gap"),
2078
1743
  a
2079
1744
  ),
2080
- children: t
1745
+ children: e
2081
1746
  }
2082
1747
  );
2083
1748
  }
2084
- function Ma({
2085
- children: t,
1749
+ function bt({
1750
+ children: e,
2086
1751
  className: a
2087
1752
  }) {
2088
- return /* @__PURE__ */ c(
1753
+ return /* @__PURE__ */ l(
2089
1754
  "nav",
2090
1755
  {
2091
- className: l(
1756
+ className: n(
2092
1757
  "flex-1 flex items-center justify-center",
2093
- d("base", "gap"),
1758
+ i("base", "gap"),
2094
1759
  "hidden md:flex",
2095
1760
  // Hidden on mobile, visible on desktop
2096
1761
  a
2097
1762
  ),
2098
1763
  "aria-label": "Main navigation",
2099
- children: t
1764
+ children: e
2100
1765
  }
2101
1766
  );
2102
1767
  }
2103
- function Ea(n) {
2104
- var r = n, {
2105
- className: t = ""
2106
- } = r, a = g(r, [
1768
+ function ht(r) {
1769
+ var t = r, {
1770
+ className: e = ""
1771
+ } = t, a = p(t, [
2107
1772
  "className"
2108
1773
  ]);
2109
- return /* @__PURE__ */ c(
1774
+ return /* @__PURE__ */ l(
2110
1775
  "div",
2111
- p({
1776
+ f({
2112
1777
  role: "separator",
2113
1778
  className: `
2114
1779
  h-px
2115
1780
  bg-line-default
2116
- ${d("sm", "my")}
2117
- ${t}
1781
+ ${i("sm", "my")}
1782
+ ${e}
2118
1783
  `
2119
1784
  }, a)
2120
1785
  );
2121
1786
  }
2122
- function za(r) {
2123
- var s = r, {
2124
- orientation: t = "horizontal",
1787
+ function yt(t) {
1788
+ var s = t, {
1789
+ orientation: e = "horizontal",
2125
1790
  className: a = ""
2126
- } = s, n = g(s, [
1791
+ } = s, r = p(s, [
2127
1792
  "orientation",
2128
1793
  "className"
2129
1794
  ]);
2130
- return t === "vertical" ? /* @__PURE__ */ c(
1795
+ return e === "vertical" ? /* @__PURE__ */ l(
2131
1796
  "div",
2132
- p({
2133
- className: l("w-px", "h-6", "bg-line-default", "mx-auto", a),
1797
+ f({
1798
+ className: n("w-px", "h-6", "bg-line-default", "mx-auto", a),
2134
1799
  role: "separator",
2135
1800
  "aria-orientation": "vertical"
2136
- }, n)
2137
- ) : /* @__PURE__ */ c(
1801
+ }, r)
1802
+ ) : /* @__PURE__ */ l(
2138
1803
  "div",
2139
- p({
2140
- className: l(
1804
+ f({
1805
+ className: n(
2141
1806
  "w-full",
2142
1807
  "h-px",
2143
1808
  "bg-line-default",
2144
- d("sm", "my"),
1809
+ i("sm", "my"),
2145
1810
  // my-2 (8px) para consistência com gap-2 usado em outros lugares
2146
1811
  "flex-shrink-0",
2147
1812
  // Prevenir que separator encolha
@@ -2154,17 +1819,17 @@ function za(r) {
2154
1819
  willChange: "auto",
2155
1820
  transform: "none"
2156
1821
  }
2157
- }, n)
1822
+ }, r)
2158
1823
  );
2159
1824
  }
2160
- const da = _(
1825
+ const Je = M(
2161
1826
  // Base classes
2162
- l("w-full", "flex", "flex-col", d("sm", "gap")),
1827
+ n("w-full", "flex", "flex-col", i("sm", "gap")),
2163
1828
  {
2164
1829
  variants: {
2165
1830
  variant: {
2166
- default: l(d("base", "mb")),
2167
- compact: l(d("sm", "mb"))
1831
+ default: n(i("base", "mb")),
1832
+ compact: n(i("sm", "mb"))
2168
1833
  }
2169
1834
  },
2170
1835
  defaultVariants: {
@@ -2172,15 +1837,15 @@ const da = _(
2172
1837
  }
2173
1838
  }
2174
1839
  );
2175
- function Fa(f) {
2176
- var u = f, {
2177
- title: t,
1840
+ function vt(c) {
1841
+ var u = c, {
1842
+ title: e,
2178
1843
  description: a,
2179
- breadcrumb: n,
2180
- actions: r,
1844
+ breadcrumb: r,
1845
+ actions: t,
2181
1846
  variant: s = "default",
2182
- className: i
2183
- } = u, o = g(u, [
1847
+ className: o
1848
+ } = u, d = p(u, [
2184
1849
  "title",
2185
1850
  "description",
2186
1851
  "breadcrumb",
@@ -2188,30 +1853,30 @@ function Fa(f) {
2188
1853
  "variant",
2189
1854
  "className"
2190
1855
  ]);
2191
- return /* @__PURE__ */ S("div", h(p({ className: l(da({ variant: s }), i) }, o), { children: [
2192
- n && n.length > 0 && /* @__PURE__ */ c(ta, { items: n }),
2193
- /* @__PURE__ */ S(
1856
+ return /* @__PURE__ */ $("div", x(f({ className: n(Je({ variant: s }), o) }, d), { children: [
1857
+ r && r.length > 0 && /* @__PURE__ */ l(Ue, { items: r }),
1858
+ /* @__PURE__ */ $(
2194
1859
  "div",
2195
1860
  {
2196
- className: `flex items-start justify-between ${d("base", "gap")}`,
1861
+ className: `flex items-start justify-between ${i("base", "gap")}`,
2197
1862
  children: [
2198
- /* @__PURE__ */ S("div", { className: "flex-1 min-w-0", children: [
2199
- /* @__PURE__ */ c(
2200
- ie,
1863
+ /* @__PURE__ */ $("div", { className: "flex-1 min-w-0", children: [
1864
+ /* @__PURE__ */ l(
1865
+ Q,
2201
1866
  {
2202
1867
  variant: "heading",
2203
1868
  as: "h1",
2204
- className: `${d("sm", "mb")} text-2xl font-bold`,
2205
- children: t
1869
+ className: `${i("sm", "mb")} text-2xl font-bold`,
1870
+ children: e
2206
1871
  }
2207
1872
  ),
2208
- a && /* @__PURE__ */ c(ie, { variant: "body", className: "text-fg-secondary", children: a })
1873
+ a && /* @__PURE__ */ l(Q, { variant: "body", className: "text-fg-secondary", children: a })
2209
1874
  ] }),
2210
- r && /* @__PURE__ */ c(
1875
+ t && /* @__PURE__ */ l(
2211
1876
  "div",
2212
1877
  {
2213
- className: `flex items-center ${d("sm", "gap")} flex-shrink-0`,
2214
- children: r
1878
+ className: `flex items-center ${i("sm", "gap")} flex-shrink-0`,
1879
+ children: t
2215
1880
  }
2216
1881
  )
2217
1882
  ]
@@ -2219,25 +1884,25 @@ function Fa(f) {
2219
1884
  )
2220
1885
  ] }));
2221
1886
  }
2222
- const ca = {
1887
+ const Qe = {
2223
1888
  start: "items-start text-left",
2224
1889
  center: "items-center text-center"
2225
- }, fa = {
1890
+ }, et = {
2226
1891
  neutral: "text-fg-tertiary",
2227
1892
  success: "text-fg-success",
2228
1893
  warning: "text-fg-warning",
2229
1894
  error: "text-fg-error"
2230
1895
  };
2231
- function La(u) {
2232
- var b = u, {
2233
- value: t,
1896
+ function wt(u) {
1897
+ var g = u, {
1898
+ value: e,
2234
1899
  label: a,
2235
- hint: n,
2236
- icon: r,
1900
+ hint: r,
1901
+ icon: t,
2237
1902
  align: s = "start",
2238
- tone: i = "neutral",
2239
- className: o
2240
- } = b, f = g(b, [
1903
+ tone: o = "neutral",
1904
+ className: d
1905
+ } = g, c = p(g, [
2241
1906
  "value",
2242
1907
  "label",
2243
1908
  "hint",
@@ -2246,241 +1911,241 @@ function La(u) {
2246
1911
  "tone",
2247
1912
  "className"
2248
1913
  ]);
2249
- const m = t == null;
2250
- return /* @__PURE__ */ S(
1914
+ const y = e == null;
1915
+ return /* @__PURE__ */ $(
2251
1916
  "div",
2252
- h(p({
2253
- className: l(
1917
+ x(f({
1918
+ className: n(
2254
1919
  "bg-surface-base flex-1 flex flex-col",
2255
- d("base", "p"),
2256
- d("xs", "gap-y"),
2257
- ca[s],
2258
- o
1920
+ i("base", "p"),
1921
+ i("xs", "gap-y"),
1922
+ Qe[s],
1923
+ d
2259
1924
  )
2260
- }, f), {
1925
+ }, c), {
2261
1926
  children: [
2262
- r ? /* @__PURE__ */ c("span", { className: "text-icon-default inline-flex", children: r }) : null,
2263
- m ? /* @__PURE__ */ c(
1927
+ t ? /* @__PURE__ */ l("span", { className: "text-icon-default inline-flex", children: t }) : null,
1928
+ y ? /* @__PURE__ */ l(
2264
1929
  "span",
2265
1930
  {
2266
1931
  "aria-label": "No data",
2267
1932
  className: "text-fg-tertiary text-2xl font-semibold leading-tight",
2268
1933
  children: "—"
2269
1934
  }
2270
- ) : /* @__PURE__ */ c("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: t }),
2271
- /* @__PURE__ */ c("span", { className: "text-fg-secondary text-sm", children: a }),
2272
- n ? /* @__PURE__ */ c("span", { className: l("text-xs", fa[i]), children: n }) : null
1935
+ ) : /* @__PURE__ */ l("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: e }),
1936
+ /* @__PURE__ */ l("span", { className: "text-fg-secondary text-sm", children: a }),
1937
+ r ? /* @__PURE__ */ l("span", { className: n("text-xs", et[o]), children: r }) : null
2273
1938
  ]
2274
1939
  })
2275
1940
  );
2276
1941
  }
2277
- const pa = {
1942
+ const tt = {
2278
1943
  2: "md:grid-cols-2",
2279
1944
  3: "md:grid-cols-3",
2280
1945
  4: "md:grid-cols-4"
2281
1946
  };
2282
- function Aa(i) {
2283
- var o = i, {
2284
- layout: t = "grid",
1947
+ function Nt(o) {
1948
+ var d = o, {
1949
+ layout: e = "grid",
2285
1950
  cols: a = 4,
2286
- className: n,
2287
- children: r
2288
- } = o, s = g(o, [
1951
+ className: r,
1952
+ children: t
1953
+ } = d, s = p(d, [
2289
1954
  "layout",
2290
1955
  "cols",
2291
1956
  "className",
2292
1957
  "children"
2293
1958
  ]);
2294
- const f = t === "grid";
2295
- return /* @__PURE__ */ c(
1959
+ const c = e === "grid";
1960
+ return /* @__PURE__ */ l(
2296
1961
  "div",
2297
- h(p({
2298
- className: l(
1962
+ x(f({
1963
+ className: n(
2299
1964
  "bg-line-default border border-line-default overflow-hidden gap-px",
2300
- M("lg"),
2301
- f ? `grid grid-cols-2 ${pa[a]}` : "flex",
2302
- n
1965
+ C("lg"),
1966
+ c ? `grid grid-cols-2 ${tt[a]}` : "flex",
1967
+ r
2303
1968
  )
2304
1969
  }, s), {
2305
- children: r
1970
+ children: t
2306
1971
  })
2307
1972
  );
2308
1973
  }
2309
- function Ia(s) {
2310
- var i = s, { column: t, row: a, className: n = "" } = i, r = g(i, ["column", "row", "className"]);
2311
- const o = t.key in a ? a[t.key] : void 0;
2312
- return /* @__PURE__ */ c(
1974
+ function $t(s) {
1975
+ var o = s, { column: e, row: a, className: r = "" } = o, t = p(o, ["column", "row", "className"]);
1976
+ const d = e.key in a ? a[e.key] : void 0;
1977
+ return /* @__PURE__ */ l(
2313
1978
  "td",
2314
- h(p({
2315
- className: `${d("lg", "px")} ${d("base", "py")} whitespace-nowrap text-sm text-fg-primary ${t.hiddenOnMobile ? "hidden md:table-cell" : ""} ${n}`
2316
- }, r), {
2317
- children: t.render ? t.render(o, a) : String(o != null ? o : "")
1979
+ x(f({
1980
+ className: `${i("lg", "px")} ${i("base", "py")} whitespace-nowrap text-sm text-fg-primary ${e.hiddenOnMobile ? "hidden md:table-cell" : ""} ${r}`
1981
+ }, t), {
1982
+ children: e.render ? e.render(d, a) : String(d != null ? d : "")
2318
1983
  })
2319
1984
  );
2320
1985
  }
2321
- function Da({
2322
- items: t,
1986
+ function St({
1987
+ items: e,
2323
1988
  orientation: a = "vertical",
2324
- className: n = ""
1989
+ className: r = ""
2325
1990
  }) {
2326
- return a === "horizontal" ? /* @__PURE__ */ c("div", { className: `flex items-start ${n}`, children: t.map((r, s) => {
2327
- const i = r.status || (s === 0 ? "active" : s < t.findIndex((f) => f.status === "active") ? "completed" : "default"), o = s === t.length - 1;
2328
- return /* @__PURE__ */ c("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ S("div", { className: "flex flex-col items-center flex-1", children: [
2329
- /* @__PURE__ */ c(
1991
+ return a === "horizontal" ? /* @__PURE__ */ l("div", { className: `flex items-start ${r}`, children: e.map((t, s) => {
1992
+ const o = t.status || (s === 0 ? "active" : s < e.findIndex((c) => c.status === "active") ? "completed" : "default"), d = s === e.length - 1;
1993
+ return /* @__PURE__ */ l("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ $("div", { className: "flex flex-col items-center flex-1", children: [
1994
+ /* @__PURE__ */ l(
2330
1995
  "div",
2331
- h(p({}, i === "default" ? { "data-marker": "pending" } : {}), {
1996
+ x(f({}, o === "default" ? { "data-marker": "pending" } : {}), {
2332
1997
  className: `
2333
1998
  flex
2334
1999
  items-center
2335
2000
  justify-center
2336
2001
  w-10
2337
2002
  h-10
2338
- ${M("full")}
2003
+ ${C("full")}
2339
2004
  border-2
2340
- ${i === "completed" ? "bg-success border-success text-fg-inverse" : i === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : i === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2005
+ ${o === "completed" ? "bg-success border-success text-fg-inverse" : o === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : o === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2341
2006
  `,
2342
- children: r.icon || (i === "completed" ? /* @__PURE__ */ c(ae, { className: "h-4 w-4" }) : s + 1)
2007
+ children: t.icon || (o === "completed" ? /* @__PURE__ */ l(q, { className: "h-4 w-4" }) : s + 1)
2343
2008
  })
2344
2009
  ),
2345
- !o && /* @__PURE__ */ c(
2010
+ !d && /* @__PURE__ */ l(
2346
2011
  "div",
2347
2012
  {
2348
2013
  className: `
2349
2014
  w-full
2350
2015
  h-0.5
2351
- ${d("sm", "mt")}
2352
- ${i === "completed" ? "bg-success" : "bg-line-emphasis"}
2016
+ ${i("sm", "mt")}
2017
+ ${o === "completed" ? "bg-success" : "bg-line-emphasis"}
2353
2018
  `
2354
2019
  }
2355
2020
  ),
2356
- /* @__PURE__ */ S(
2021
+ /* @__PURE__ */ $(
2357
2022
  "div",
2358
2023
  {
2359
- className: `${d("base", "mt")} text-center ${d("base", "px")}`,
2024
+ className: `${i("base", "mt")} text-center ${i("base", "px")}`,
2360
2025
  children: [
2361
- r.timestamp && /* @__PURE__ */ c(
2026
+ t.timestamp && /* @__PURE__ */ l(
2362
2027
  "p",
2363
2028
  {
2364
- className: `text-xs text-fg-tertiary ${d("xs", "mb")}`,
2365
- children: r.timestamp
2029
+ className: `text-xs text-fg-tertiary ${i("xs", "mb")}`,
2030
+ children: t.timestamp
2366
2031
  }
2367
2032
  ),
2368
- /* @__PURE__ */ c("h3", { className: "text-sm font-semibold text-fg-primary", children: r.title }),
2369
- r.description && /* @__PURE__ */ c(
2033
+ /* @__PURE__ */ l("h3", { className: "text-sm font-semibold text-fg-primary", children: t.title }),
2034
+ t.description && /* @__PURE__ */ l(
2370
2035
  "p",
2371
2036
  {
2372
- className: `text-xs text-fg-secondary ${d("xs", "mt")}`,
2373
- children: r.description
2037
+ className: `text-xs text-fg-secondary ${i("xs", "mt")}`,
2038
+ children: t.description
2374
2039
  }
2375
2040
  ),
2376
- r.content && /* @__PURE__ */ c("div", { className: d("sm", "mt"), children: r.content })
2041
+ t.content && /* @__PURE__ */ l("div", { className: i("sm", "mt"), children: t.content })
2377
2042
  ]
2378
2043
  }
2379
2044
  )
2380
- ] }) }, r.id);
2381
- }) }) : /* @__PURE__ */ c("div", { className: `${d("none", "space-y")} ${n}`, children: t.map((r, s) => {
2382
- const i = r.status || (s === 0 ? "active" : s < t.findIndex((f) => f.status === "active") ? "completed" : "default"), o = s === t.length - 1;
2383
- return /* @__PURE__ */ S(
2045
+ ] }) }, t.id);
2046
+ }) }) : /* @__PURE__ */ l("div", { className: `${i("none", "space-y")} ${r}`, children: e.map((t, s) => {
2047
+ const o = t.status || (s === 0 ? "active" : s < e.findIndex((c) => c.status === "active") ? "completed" : "default"), d = s === e.length - 1;
2048
+ return /* @__PURE__ */ $(
2384
2049
  "div",
2385
2050
  {
2386
- className: `flex items-start ${d("base", "gap")}`,
2051
+ className: `flex items-start ${i("base", "gap")}`,
2387
2052
  children: [
2388
- /* @__PURE__ */ S("div", { className: "flex flex-col items-center", children: [
2389
- /* @__PURE__ */ c(
2053
+ /* @__PURE__ */ $("div", { className: "flex flex-col items-center", children: [
2054
+ /* @__PURE__ */ l(
2390
2055
  "div",
2391
- h(p({}, i === "default" ? { "data-marker": "pending" } : {}), {
2056
+ x(f({}, o === "default" ? { "data-marker": "pending" } : {}), {
2392
2057
  className: `
2393
2058
  flex
2394
2059
  items-center
2395
2060
  justify-center
2396
2061
  w-10
2397
2062
  h-10
2398
- ${M("full")}
2063
+ ${C("full")}
2399
2064
  border-2
2400
- ${i === "completed" ? "bg-success border-success text-fg-inverse" : i === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : i === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2065
+ ${o === "completed" ? "bg-success border-success text-fg-inverse" : o === "active" ? "bg-surface-brand-strong border-line-brand text-fg-inverse" : o === "error" ? "bg-error border-error text-fg-inverse" : "bg-surface-base border-line-emphasis text-fg-quaternary"}
2401
2066
  `,
2402
- children: r.icon || (i === "completed" ? /* @__PURE__ */ c(ae, { className: "h-4 w-4" }) : s + 1)
2067
+ children: t.icon || (o === "completed" ? /* @__PURE__ */ l(q, { className: "h-4 w-4" }) : s + 1)
2403
2068
  })
2404
2069
  ),
2405
- !o && /* @__PURE__ */ c(
2070
+ !d && /* @__PURE__ */ l(
2406
2071
  "div",
2407
2072
  {
2408
2073
  className: `
2409
2074
  w-0.5
2410
2075
  flex-1
2411
2076
  min-h-16
2412
- ${d("sm", "mt")}
2413
- ${i === "completed" ? "bg-success" : "bg-line-emphasis"}
2077
+ ${i("sm", "mt")}
2078
+ ${o === "completed" ? "bg-success" : "bg-line-emphasis"}
2414
2079
  `
2415
2080
  }
2416
2081
  )
2417
2082
  ] }),
2418
- /* @__PURE__ */ S("div", { className: `flex-1 ${d("xl", "pb")}`, children: [
2419
- r.timestamp && /* @__PURE__ */ c(
2083
+ /* @__PURE__ */ $("div", { className: `flex-1 ${i("xl", "pb")}`, children: [
2084
+ t.timestamp && /* @__PURE__ */ l(
2420
2085
  "p",
2421
2086
  {
2422
- className: `text-xs text-fg-tertiary ${d("xs", "mb")}`,
2423
- children: r.timestamp
2087
+ className: `text-xs text-fg-tertiary ${i("xs", "mb")}`,
2088
+ children: t.timestamp
2424
2089
  }
2425
2090
  ),
2426
- /* @__PURE__ */ c(
2091
+ /* @__PURE__ */ l(
2427
2092
  "h3",
2428
2093
  {
2429
2094
  className: `
2430
2095
  text-base
2431
2096
  font-semibold
2432
- ${i === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2097
+ ${o === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2433
2098
  `,
2434
- children: r.title
2099
+ children: t.title
2435
2100
  }
2436
2101
  ),
2437
- r.description && /* @__PURE__ */ c(
2102
+ t.description && /* @__PURE__ */ l(
2438
2103
  "p",
2439
2104
  {
2440
- className: `text-sm text-fg-secondary ${d("xs", "mt")}`,
2441
- children: r.description
2105
+ className: `text-sm text-fg-secondary ${i("xs", "mt")}`,
2106
+ children: t.description
2442
2107
  }
2443
2108
  ),
2444
- r.content && /* @__PURE__ */ c("div", { className: d("md", "mt"), children: r.content })
2109
+ t.content && /* @__PURE__ */ l("div", { className: i("md", "mt"), children: t.content })
2445
2110
  ] })
2446
2111
  ]
2447
2112
  },
2448
- r.id
2113
+ t.id
2449
2114
  );
2450
2115
  }) });
2451
2116
  }
2452
2117
  export {
2453
- we as Badge,
2454
- ta as Breadcrumb,
2455
- U as Card,
2456
- ia as CardActions,
2457
- la as CardBody,
2458
- ra as CardHeader,
2459
- sa as CardSubtitle,
2460
- na as CardTitle,
2461
- De as Chip,
2462
- ea as Container,
2463
- $a as DialogFooter,
2464
- ka as DialogHeader,
2465
- Ta as DrawerFooter,
2466
- Sa as DrawerHeader,
2467
- va as ErrorMessage,
2468
- Ca as HeaderActions,
2469
- Ma as HeaderNavigation,
2470
- wa as Info,
2471
- Re as Label,
2472
- Ea as MenuSeparator,
2473
- za as NavbarSeparator,
2474
- Fa as PageHeader,
2475
- qe as Progress,
2476
- Xe as Separator,
2477
- Na as Skeleton,
2478
- Ye as Spinner,
2479
- aa as Stack,
2480
- La as Stat,
2481
- Aa as StatGroup,
2482
- Ia as TableCell,
2483
- ie as Text,
2484
- Da as Timeline
2118
+ me as Badge,
2119
+ Ue as Breadcrumb,
2120
+ I as Card,
2121
+ Ge as CardActions,
2122
+ Ye as CardBody,
2123
+ Ke as CardHeader,
2124
+ qe as CardSubtitle,
2125
+ Xe as CardTitle,
2126
+ Te as Chip,
2127
+ Pe as Container,
2128
+ pt as DialogFooter,
2129
+ ut as DialogHeader,
2130
+ gt as DrawerFooter,
2131
+ mt as DrawerHeader,
2132
+ dt as ErrorMessage,
2133
+ xt as HeaderActions,
2134
+ bt as HeaderNavigation,
2135
+ ct as Info,
2136
+ Fe as Label,
2137
+ ht as MenuSeparator,
2138
+ yt as NavbarSeparator,
2139
+ vt as PageHeader,
2140
+ Me as Progress,
2141
+ De as Separator,
2142
+ ft as Skeleton,
2143
+ Ie as Spinner,
2144
+ Be as Stack,
2145
+ wt as Stat,
2146
+ Nt as StatGroup,
2147
+ $t as TableCell,
2148
+ Q as Text,
2149
+ St as Timeline
2485
2150
  };
2486
2151
  //# sourceMappingURL=index.js.map