@fabio.caffarello/react-design-system 3.7.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 (419) hide show
  1. package/README.md +4 -2
  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/hooks/index.cjs +2 -0
  404. package/dist/hooks/index.cjs.map +1 -0
  405. package/dist/hooks/index.js +23 -0
  406. package/dist/hooks/index.js.map +1 -0
  407. package/dist/index.cjs +44 -70
  408. package/dist/index.cjs.map +1 -1
  409. package/dist/index.js +1900 -1885
  410. package/dist/index.js.map +1 -1
  411. package/dist/react-design-system.css +1 -1
  412. package/dist/server/index.cjs +23 -23
  413. package/dist/server/index.cjs.map +1 -1
  414. package/dist/server/index.js +863 -1180
  415. package/dist/server/index.js.map +1 -1
  416. package/dist/ui/components/Accordion/Accordion.d.ts +9 -1
  417. package/dist/ui/hooks-entry.d.ts +2 -0
  418. package/dist/ui/utils/tailwind-safelist.d.ts +3 -1
  419. package/package.json +24 -13
@@ -1,38 +1,38 @@
1
- var de = Object.defineProperty, ce = Object.defineProperties;
2
- var fe = Object.getOwnPropertyDescriptors;
3
- var U = 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 (U)
9
- for (var n of U(a))
10
- J.call(a, n) && G(t, n, a[n]);
11
- return t;
12
- }, y = (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 && U)
18
- for (var r of U(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 o, jsxs as $ } from "react/jsx-runtime";
24
- import * as C from "react";
25
- import ie, { memo as B, forwardRef as O } 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 I {
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 I {
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 ye = {
87
- none: I.create("none"),
88
- sm: I.create("sm"),
89
- md: I.create("md"),
90
- lg: I.create("lg"),
91
- xl: I.create("xl"),
92
- "2xl": I.create("2xl"),
93
- "3xl": I.create("3xl"),
94
- full: I.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 T(t) {
97
- return ye[t].tailwind;
96
+ function C(e) {
97
+ return fe[e].tailwind;
98
98
  }
99
- class N {
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 N {
163
163
  }[a] || String(a);
164
164
  }
165
165
  }
166
- ee(N, "BASE_UNIT", 4);
167
- const he = {
166
+ X(w, "BASE_UNIT", 4);
167
+ const ue = {
168
168
  // Micro spacing (0-14px)
169
- none: N.create(0),
170
- "0.5": N.create(0.5),
169
+ none: w.create(0),
170
+ "0.5": w.create(0.5),
171
171
  // 2px (half-step)
172
- xs: N.create(1),
172
+ xs: w.create(1),
173
173
  // 4px
174
- "1.5": N.create(1.5),
174
+ "1.5": w.create(1.5),
175
175
  // 6px (half-step)
176
- sm: N.create(2),
176
+ sm: w.create(2),
177
177
  // 8px
178
- "2.5": N.create(2.5),
178
+ "2.5": w.create(2.5),
179
179
  // 10px (half-step)
180
- md: N.create(3),
180
+ md: w.create(3),
181
181
  // 12px
182
- "3.5": N.create(3.5),
182
+ "3.5": w.create(3.5),
183
183
  // 14px (half-step)
184
184
  // Standard spacing (16-32px)
185
- base: N.create(4),
185
+ base: w.create(4),
186
186
  // 16px
187
- lg: N.create(6),
187
+ lg: w.create(6),
188
188
  // 24px
189
- xl: N.create(8),
189
+ xl: w.create(8),
190
190
  // 32px
191
191
  // Large spacing (40-64px)
192
- "2xl": N.create(10),
192
+ "2xl": w.create(10),
193
193
  // 40px
194
- "3xl": N.create(12),
194
+ "3xl": w.create(12),
195
195
  // 48px
196
- "4xl": N.create(16),
196
+ "4xl": w.create(16),
197
197
  // 64px
198
198
  // Extra large spacing (80px+)
199
- "5xl": N.create(20),
199
+ "5xl": w.create(20),
200
200
  // 80px
201
- "6xl": N.create(24)
201
+ "6xl": w.create(24)
202
202
  // 96px
203
203
  };
204
- function d(t, a = "p") {
205
- const r = he[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 k {
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 k {
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 k {
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 k {
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
- k.createFontWeight("light"), k.createFontWeight("normal"), k.createFontWeight("medium"), k.createFontWeight("semibold"), k.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: k.create("4xl", "tight", "bold"),
302
- h2: k.create("3xl", "tight", "bold"),
303
- h3: k.create("2xl", "snug", "semibold"),
304
- h4: k.create("xl", "snug", "semibold"),
305
- h5: k.create("lg", "normal", "medium"),
306
- h6: k.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: k.create("base", "relaxed", "normal"),
309
- bodySmall: k.create("sm", "relaxed", "normal"),
310
- bodyLarge: k.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: k.create("sm", "normal", "medium"),
313
- caption: k.create("xs", "normal", "normal"),
314
- button: k.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 V(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 H(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 j = (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 = j(
335
+ }, pe = M(
336
336
  // Base classes
337
- l(
337
+ n(
338
338
  "inline-flex",
339
339
  "items-center",
340
340
  "justify-center",
341
- H("label"),
342
- T("md"),
341
+ j("label"),
342
+ C("md"),
343
343
  "border"
344
344
  ),
345
345
  {
@@ -354,20 +354,20 @@ const j = (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 j = (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 j = (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 j = (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 j = (t, a) => {
470
470
  style: "solid"
471
471
  }
472
472
  }
473
- ), we = B(
474
- O(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": c
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,130 +487,148 @@ const j = (t, a) => {
487
487
  "children",
488
488
  "aria-label"
489
489
  ]);
490
- const h = l(ve({ variant: a, size: n, style: r }), s);
491
- let x;
492
- if (c)
493
- x = c;
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__ */ o(
500
+ return /* @__PURE__ */ l(
501
501
  "span",
502
- y(p({
502
+ x(f({
503
503
  ref: u,
504
504
  role: "status",
505
- "aria-label": x,
506
- className: h
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
- var ke = /* @__PURE__ */ Symbol.for("react.lazy"), K = C[" use ".trim().toString()];
536
- function $e(t) {
537
- return typeof t == "object" && t !== null && "then" in t;
538
- }
539
- function le(t) {
540
- return t != null && typeof t == "object" && "$$typeof" in t && t.$$typeof === ke && "_payload" in t && $e(t._payload);
535
+ function xe(...e) {
536
+ return k.useCallback(ge(...e), e);
541
537
  }
542
538
  // @__NO_SIDE_EFFECTS__
543
- function Se(t) {
544
- const a = /* @__PURE__ */ Te(t), n = C.forwardRef((r, s) => {
545
- let b = r, { children: i } = b, c = g(b, ["children"]);
546
- le(i) && typeof K == "function" && (i = K(i._payload));
547
- const f = C.Children.toArray(i), u = f.find(ze);
548
- if (u) {
549
- const m = u.props.children, h = f.map((x) => x === u ? C.Children.count(m) > 1 ? C.Children.only(null) : C.isValidElement(m) ? m.props.children : null : x);
550
- return /* @__PURE__ */ o(a, y(p({}, c), { ref: s, children: C.isValidElement(m) ? C.cloneElement(m, void 0, h) : null }));
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
+ const u = [];
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
+ } else
552
+ u.push(v);
553
+ }), d ? d = k.cloneElement(d, void 0, u) : (
554
+ // A `Slottable` was found but it didn't resolve to a single element (e.g.
555
+ // it wrapped multiple elements, text, or a render-prop `child` that
556
+ // wasn't an element). Don't fall back to treating the `Slottable` wrapper
557
+ // itself as the slot target — throw a descriptive error below instead.
558
+ !c && k.Children.count(s) === 1 && k.isValidElement(s) && (d = s)
559
+ );
560
+ const g = d ? Ne(d) : void 0, y = xe(t, g);
561
+ if (!d) {
562
+ if (s || s === 0)
563
+ throw new Error(
564
+ c ? Ee(e) : ke(e)
565
+ );
566
+ return s;
551
567
  }
552
- return /* @__PURE__ */ o(a, y(p({}, c), { ref: s, children: i }));
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);
553
570
  });
554
- return n.displayName = `${t}.Slot`, n;
571
+ return a.displayName = `${e}.Slot`, a;
555
572
  }
556
- var Ce = /* @__PURE__ */ Se("Slot");
557
- // @__NO_SIDE_EFFECTS__
558
- function Te(t) {
559
- const a = C.forwardRef((n, r) => {
560
- let c = n, { children: s } = c, i = g(c, ["children"]);
561
- if (le(s) && typeof K == "function" && (s = K(s._payload)), C.isValidElement(s)) {
562
- const f = Fe(s), u = Le(i, s.props);
563
- return s.type !== C.Fragment && (u.ref = r ? Ne(r, f) : f), C.cloneElement(s, u);
564
- }
565
- return C.Children.count(s) > 1 ? C.Children.only(null) : null;
566
- });
567
- return a.displayName = `${t}.SlotClone`, a;
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
+ }
578
+ return k.isValidElement(a) ? a : null;
579
+ };
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
+ }
589
+ return f(f({}, e), r);
568
590
  }
569
- var Me = /* @__PURE__ */ Symbol("radix.slottable");
570
- function ze(t) {
571
- return C.isValidElement(t) && typeof t.type == "function" && "__radixId" in t.type && t.type.__radixId === Me;
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);
572
595
  }
573
- function Le(t, a) {
574
- const n = p({}, a);
575
- for (const r in a) {
576
- const s = t[r], i = a[r];
577
- /^on[A-Z]/.test(r) ? s && i ? n[r] = (...f) => {
578
- const u = i(...f);
579
- return s(...f), u;
580
- } : s && (n[r] = s) : r === "style" ? n[r] = p(p({}, s), i) : r === "className" && (n[r] = [s, i].filter(Boolean).join(" "));
581
- }
582
- return p(p({}, t), n);
596
+ function $e(e) {
597
+ return k.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === ye;
583
598
  }
584
- function Fe(t) {
585
- var r, s;
586
- let a = (r = Object.getOwnPropertyDescriptor(t.props, "ref")) == null ? void 0 : r.get, n = a && "isReactWarning" in a && a.isReactWarning;
587
- 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);
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);
588
602
  }
589
- const re = j(
603
+ function Ce(e) {
604
+ return typeof e == "object" && e !== null && "then" in e;
605
+ }
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(
590
608
  // Base classes
591
- l(
609
+ n(
592
610
  "inline-flex",
593
611
  "items-center",
594
612
  "font-medium",
595
- T("full"),
596
- d("xs", "gap")
613
+ C("full"),
614
+ i("xs", "gap")
597
615
  ),
598
616
  {
599
617
  variants: {
600
618
  variant: {
601
- default: l(
619
+ default: n(
602
620
  "bg-surface-muted",
603
621
  "text-fg-primary",
604
622
  "border",
605
623
  "border-line-default"
606
624
  ),
607
- outlined: l(
625
+ outlined: n(
608
626
  "bg-transparent",
609
627
  "text-fg-primary",
610
628
  "border",
611
629
  "border-line-default"
612
630
  ),
613
- filled: l(
631
+ filled: n(
614
632
  "bg-surface-brand-strong",
615
633
  "text-fg-inverse",
616
634
  "border",
@@ -618,24 +636,24 @@ const re = j(
618
636
  )
619
637
  },
620
638
  size: {
621
- sm: l(
622
- d("xs", "px"),
623
- d("xs", "py"),
624
- z("caption")
639
+ sm: n(
640
+ i("xs", "px"),
641
+ i("xs", "py"),
642
+ E("caption")
625
643
  ),
626
- md: l(
627
- d("sm", "px"),
628
- d("xs", "py"),
629
- z("bodySmall")
644
+ md: n(
645
+ i("sm", "px"),
646
+ i("xs", "py"),
647
+ E("bodySmall")
630
648
  ),
631
- lg: l(
632
- d("md", "px"),
633
- d("sm", "py"),
634
- z("body")
649
+ lg: n(
650
+ i("md", "px"),
651
+ i("sm", "py"),
652
+ E("body")
635
653
  )
636
654
  },
637
655
  selected: {
638
- true: l(
656
+ true: n(
639
657
  "bg-surface-brand-strong",
640
658
  "text-fg-inverse",
641
659
  "border",
@@ -675,70 +693,70 @@ const re = j(
675
693
  disabled: !1
676
694
  }
677
695
  }
678
- ), Ee = O(function(a, n) {
696
+ ), Te = _(function(a, r) {
679
697
  const {
680
- children: r,
698
+ children: t,
681
699
  variant: s = "default",
682
- size: i = "md",
683
- selected: c = !1,
684
- disabled: f = !1,
700
+ size: o = "md",
701
+ selected: d = !1,
702
+ disabled: c = !1,
685
703
  className: u = "",
686
- "aria-label": b,
687
- tabIndex: m,
688
- asChild: h = !1
689
- } = a, v = (() => {
690
- if (b) return b;
691
- if (typeof r == "string") return r;
692
- if (typeof r == "object" && r !== null && "props" in r) {
693
- const F = r.props;
694
- if (F != null && F.children && typeof F.children == "string")
695
- 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;
696
714
  }
697
715
  })();
698
- if (h)
699
- return /* @__PURE__ */ o(
700
- Ce,
716
+ if (b)
717
+ return /* @__PURE__ */ l(
718
+ he,
701
719
  {
702
- ref: n,
703
- className: l(
704
- re({ variant: s, size: i, selected: c, disabled: f }),
720
+ ref: r,
721
+ className: n(
722
+ Z({ variant: s, size: o, selected: d, disabled: c }),
705
723
  u
706
724
  ),
707
- "aria-label": b,
708
- "aria-disabled": f || void 0,
709
- tabIndex: m,
710
- children: r
725
+ "aria-label": g,
726
+ "aria-disabled": c || void 0,
727
+ tabIndex: y,
728
+ children: t
711
729
  }
712
730
  );
713
- const { onRemove: M, onClick: L } = a, X = L !== void 0, q = X && !f, R = (F) => {
714
- f || (F.key === "Enter" || F.key === " ") && (F.preventDefault(), L == null || L());
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());
715
733
  };
716
734
  return /* @__PURE__ */ $(
717
735
  "div",
718
736
  {
719
- ref: n,
720
- className: l(
721
- re({ variant: s, size: i, selected: c, disabled: f }),
722
- M && d("xs", "pr"),
737
+ ref: r,
738
+ className: n(
739
+ Z({ variant: s, size: o, selected: d, disabled: c }),
740
+ v && i("xs", "pr"),
723
741
  u
724
742
  ),
725
- "aria-disabled": f,
743
+ "aria-disabled": c,
726
744
  children: [
727
- X ? /* @__PURE__ */ o(
745
+ A ? /* @__PURE__ */ l(
728
746
  "button",
729
747
  {
730
748
  type: "button",
731
- onClick: f ? void 0 : L,
732
- onKeyDown: R,
733
- disabled: f,
734
- "aria-pressed": c ? !0 : void 0,
735
- "aria-label": b || v,
736
- tabIndex: m !== void 0 ? m : q ? 0 : void 0,
737
- 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(
738
756
  "flex-1",
739
757
  "bg-transparent",
740
758
  "border-0",
741
- d("none", "p"),
759
+ i("none", "p"),
742
760
  "text-inherit",
743
761
  "text-left",
744
762
  "cursor-pointer",
@@ -746,213 +764,120 @@ const re = j(
746
764
  "focus:ring-2",
747
765
  "focus:ring-line-focus",
748
766
  "focus:ring-offset-2",
749
- T("full")
767
+ C("full")
750
768
  ),
751
- children: r
769
+ children: t
752
770
  }
753
- ) : /* @__PURE__ */ o("span", { children: r }),
754
- M && !f && /* @__PURE__ */ o(
771
+ ) : /* @__PURE__ */ l("span", { children: t }),
772
+ v && !c && /* @__PURE__ */ l(
755
773
  "button",
756
774
  {
757
775
  type: "button",
758
- onClick: (F) => {
759
- F.stopPropagation(), M();
776
+ onClick: (T) => {
777
+ T.stopPropagation(), v();
760
778
  },
761
- className: l(
762
- d("xs", "ml"),
779
+ className: n(
780
+ i("xs", "ml"),
763
781
  "hover:bg-tint-hover",
764
- T("full"),
765
- d("xs", "p"),
782
+ C("full"),
783
+ i("xs", "p"),
766
784
  "transition-colors",
767
785
  "focus:outline-none",
768
786
  "focus:ring-2",
769
787
  "focus:ring-line-focus",
770
788
  "focus:ring-offset-1"
771
789
  ),
772
- "aria-label": `Remove ${v || "chip"}`,
773
- children: /* @__PURE__ */ o(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" })
774
792
  }
775
793
  )
776
794
  ]
777
795
  }
778
796
  );
779
797
  });
780
- Ee.displayName = "Chip";
781
- function xa(s) {
782
- var i = s, {
783
- message: t,
798
+ Te.displayName = "Chip";
799
+ function dt(s) {
800
+ var o = s, {
801
+ message: e,
784
802
  id: a,
785
- className: n = ""
786
- } = i, r = g(i, [
803
+ className: r = ""
804
+ } = o, t = p(o, [
787
805
  "message",
788
806
  "id",
789
807
  "className"
790
808
  ]);
791
- const c = [
792
- d("xs", "mt"),
793
- z("bodySmall"),
809
+ const d = [
810
+ i("xs", "mt"),
811
+ E("bodySmall"),
794
812
  "text-fg-error",
795
813
  "flex",
796
814
  "items-center",
797
- d("xs", "gap")
798
- ], f = l(...c, n);
799
- return /* @__PURE__ */ $("div", y(p({ role: "alert", id: a, className: f, "aria-live": "polite" }, r), { children: [
800
- /* @__PURE__ */ o(ge, { className: "h-4 w-4 shrink-0", "aria-hidden": "true" }),
801
- /* @__PURE__ */ o("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 })
802
820
  ] }));
803
821
  }
804
- function ya(r) {
805
- var s = r, {
806
- variant: t = "info",
822
+ function ct(t) {
823
+ var s = t, {
824
+ variant: e = "info",
807
825
  className: a
808
- } = s, n = g(s, [
826
+ } = s, r = p(s, [
809
827
  "variant",
810
828
  "className"
811
829
  ]);
812
- const i = {
813
- warning: l("bg-warning-bg", "text-warning-dark", "border-warning"),
814
- error: l("bg-error-bg", "text-error-dark", "border-error"),
815
- 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")
816
834
  };
817
- return /* @__PURE__ */ o(
835
+ return /* @__PURE__ */ l(
818
836
  "div",
819
- p({
837
+ f({
820
838
  role: "alert",
821
- className: l(
839
+ className: n(
822
840
  "border",
823
- d("base", "px"),
824
- d("sm", "py"),
825
- T("lg"),
826
- i[t],
841
+ i("base", "px"),
842
+ i("sm", "py"),
843
+ C("lg"),
844
+ o[e],
827
845
  a
828
846
  )
829
- }, n)
847
+ }, r)
830
848
  );
831
849
  }
832
- const Ae = l(
850
+ const Le = n(
833
851
  "block",
834
- z("label"),
835
- H("label"),
852
+ E("label"),
853
+ j("label"),
836
854
  "text-fg-primary"
837
- ), Ie = {
855
+ ), Ae = {
838
856
  default: "",
839
- required: l(
857
+ required: n(
840
858
  "after:content-['*']",
841
- `after:${d("0.5", "ml")}`,
859
+ `after:${i("0.5", "ml")}`,
842
860
  "after:text-fg-error"
843
861
  ),
844
- optional: l(
862
+ optional: n(
845
863
  "after:content-['(optional)']",
846
- `after:${d("xs", "ml")}`,
864
+ `after:${i("xs", "ml")}`,
847
865
  "after:text-fg-tertiary",
848
866
  "after:font-normal"
849
867
  )
850
- }, De = B(
851
- O(function(c, i) {
852
- var f = c, { variant: a = "default", className: n = "", children: r } = f, s = g(f, ["variant", "className", "children"]);
853
- const u = l(
854
- Ae,
855
- Ie[a],
856
- 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
857
875
  );
858
- return /* @__PURE__ */ o("label", y(p({ ref: i, className: u }, s), { children: r }));
876
+ return /* @__PURE__ */ l("label", x(f({ ref: o, className: u }, s), { children: t }));
859
877
  })
860
878
  );
861
- De.displayName = "Label";
862
- function w(t, a, n) {
863
- const r = Ve(t), s = We(t);
864
- return {
865
- hex: t,
866
- rgb: r,
867
- hsl: s,
868
- cssVar: `var(--color-${a}-${n})`,
869
- tailwind: `${a}-${n}`
870
- };
871
- }
872
- function Ve(t) {
873
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
874
- return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
875
- }
876
- function We(t) {
877
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
878
- if (!a) return "0, 0%, 0%";
879
- 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), c = Math.min(n, r, s);
880
- let f = 0, u = 0;
881
- const b = (i + c) / 2;
882
- if (i !== c) {
883
- const m = i - c;
884
- switch (u = b > 0.5 ? m / (2 - i - c) : m / (i + c), i) {
885
- case n:
886
- f = ((r - s) / m + (r < s ? 6 : 0)) / 6;
887
- break;
888
- case r:
889
- f = ((s - n) / m + 2) / 6;
890
- break;
891
- case s:
892
- f = ((n - r) / m + 4) / 6;
893
- break;
894
- }
895
- }
896
- return `${Math.round(f * 360)}, ${Math.round(u * 100)}%, ${Math.round(b * 100)}%`;
897
- }
898
- 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);
899
- 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);
900
- function e(t, a, n) {
901
- const r = je(t), s = Re(t);
902
- return {
903
- hex: t,
904
- rgb: r,
905
- hsl: s,
906
- cssVar: `var(--color-${a}-${n})`,
907
- tailwind: `${a}-${n}`
908
- };
909
- }
910
- function je(t) {
911
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
912
- return a ? `${parseInt(a[1], 16)}, ${parseInt(a[2], 16)}, ${parseInt(a[3], 16)}` : "0, 0, 0";
913
- }
914
- function Re(t) {
915
- const a = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
916
- if (!a) return "0, 0%, 0%";
917
- 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), c = Math.min(n, r, s);
918
- let f = 0, u = 0;
919
- const b = (i + c) / 2;
920
- if (i !== c) {
921
- const m = i - c;
922
- switch (u = b > 0.5 ? m / (2 - i - c) : m / (i + c), i) {
923
- case n:
924
- f = ((r - s) / m + (r < s ? 6 : 0)) / 6;
925
- break;
926
- case r:
927
- f = ((s - n) / m + 2) / 6;
928
- break;
929
- case s:
930
- f = ((n - r) / m + 4) / 6;
931
- break;
932
- }
933
- }
934
- return `${Math.round(f * 360)}, ${Math.round(u * 100)}%, ${Math.round(b * 100)}%`;
935
- }
936
- 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);
937
- 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);
938
- 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);
939
- 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);
940
- 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);
941
- 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);
942
- 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);
943
- 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);
944
- 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);
945
- 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);
946
- 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);
947
- 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);
948
- 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);
949
- 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);
950
- 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);
951
- 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);
952
- 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);
953
- 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);
954
- 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);
955
- class W {
879
+ Fe.displayName = "Label";
880
+ class z {
956
881
  /**
957
882
  * Create a shadow token
958
883
  */
@@ -996,261 +921,19 @@ class W {
996
921
  }[a];
997
922
  }
998
923
  }
999
- const _e = {
1000
- none: W.create("none"),
1001
- sm: W.create("sm"),
1002
- md: W.create("md"),
1003
- lg: W.create("lg"),
1004
- xl: W.create("xl"),
1005
- "2xl": W.create("2xl"),
1006
- inner: W.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")
1007
932
  };
1008
- function Y(t) {
1009
- return _e[t].tailwind;
1010
- }
1011
- class E {
1012
- /**
1013
- * Create a border width token
1014
- */
1015
- static createWidth(a) {
1016
- const r = {
1017
- none: {
1018
- px: 0,
1019
- tailwind: "border-0"
1020
- },
1021
- thin: {
1022
- px: 1,
1023
- tailwind: "border"
1024
- },
1025
- base: {
1026
- px: 1,
1027
- tailwind: "border"
1028
- },
1029
- medium: {
1030
- px: 2,
1031
- tailwind: "border-2"
1032
- },
1033
- thick: {
1034
- px: 4,
1035
- tailwind: "border-4"
1036
- }
1037
- }[a];
1038
- return {
1039
- value: r.px,
1040
- px: `${r.px}px`,
1041
- tailwind: r.tailwind
1042
- };
1043
- }
1044
- /**
1045
- * Create a complete border token
1046
- */
1047
- static create(a, n = "solid") {
1048
- return {
1049
- width: this.createWidth(a),
1050
- style: n,
1051
- description: `${a} ${n} border`
1052
- };
1053
- }
1054
- }
1055
- E.create("none"), E.create("thin"), E.create("base"), E.create("medium"), E.create("thick"), E.create("thin", "dashed"), E.create("base", "dashed"), E.create("thin", "dotted"), E.create("base", "dotted");
1056
- class _ {
1057
- /**
1058
- * Create breakpoint token
1059
- */
1060
- static create(a) {
1061
- const r = {
1062
- sm: { minWidth: 640, tailwind: "sm" },
1063
- md: { minWidth: 768, tailwind: "md" },
1064
- lg: { minWidth: 1024, tailwind: "lg" },
1065
- xl: { minWidth: 1280, tailwind: "xl" },
1066
- "2xl": { minWidth: 1536, tailwind: "2xl" }
1067
- }[a];
1068
- return {
1069
- name: a,
1070
- minWidth: r.minWidth,
1071
- px: `${r.minWidth}px`,
1072
- rem: `${r.minWidth / 16}rem`,
1073
- tailwind: r.tailwind
1074
- };
1075
- }
933
+ function P(e) {
934
+ return Re[e].tailwind;
1076
935
  }
1077
- _.create("sm"), _.create("md"), _.create("lg"), _.create("xl"), _.create("2xl");
1078
- class D {
1079
- /**
1080
- * Create an animation token
1081
- */
1082
- static create(a, n = "ease-in-out") {
1083
- const r = {
1084
- fast: {
1085
- value: "150ms",
1086
- ms: 150,
1087
- tailwind: "duration-150"
1088
- },
1089
- base: {
1090
- value: "200ms",
1091
- ms: 200,
1092
- tailwind: "duration-200"
1093
- },
1094
- slow: {
1095
- value: "300ms",
1096
- ms: 300,
1097
- tailwind: "duration-300"
1098
- },
1099
- slower: {
1100
- value: "500ms",
1101
- ms: 500,
1102
- tailwind: "duration-500"
1103
- }
1104
- }, s = {
1105
- "ease-in": {
1106
- value: "cubic-bezier(0.4, 0, 1, 1)",
1107
- tailwind: "ease-in",
1108
- description: "Slow start, fast end"
1109
- },
1110
- "ease-out": {
1111
- value: "cubic-bezier(0, 0, 0.2, 1)",
1112
- tailwind: "ease-out",
1113
- description: "Fast start, slow end"
1114
- },
1115
- "ease-in-out": {
1116
- value: "cubic-bezier(0.4, 0, 0.2, 1)",
1117
- tailwind: "ease-in-out",
1118
- description: "Slow start and end, fast middle"
1119
- },
1120
- spring: {
1121
- value: "cubic-bezier(0.68, -0.55, 0.265, 1.55)",
1122
- tailwind: "ease-[cubic-bezier(0.68,-0.55,0.265,1.55)]",
1123
- description: "Spring-like bounce effect"
1124
- }
1125
- };
1126
- return {
1127
- duration: r[a],
1128
- easing: s[n]
1129
- };
1130
- }
1131
- /**
1132
- * Create a transition token
1133
- */
1134
- static createTransition(a, n = "base", r = "ease-in-out") {
1135
- const s = this.create(n, r), i = Array.isArray(a) ? a.join(", ") : a, c = [
1136
- s.duration.tailwind,
1137
- s.easing.tailwind
1138
- ].join(" ");
1139
- return {
1140
- property: i,
1141
- duration: s.duration.value,
1142
- timingFunction: s.easing.value,
1143
- tailwind: c
1144
- };
1145
- }
1146
- }
1147
- D.create("fast"), D.create("base"), D.create("slow"), D.create("slower"), D.createTransition(
1148
- ["color", "background-color", "border-color"],
1149
- "base"
1150
- ), D.createTransition("opacity", "fast"), D.createTransition("transform", "base"), D.createTransition("all", "base");
1151
- class A {
1152
- /**
1153
- * Create a z-index token
1154
- */
1155
- static create(a) {
1156
- return {
1157
- base: {
1158
- value: 0,
1159
- tailwind: "z-0",
1160
- description: "Base layer for normal content"
1161
- },
1162
- dropdown: {
1163
- value: 1e3,
1164
- tailwind: "z-[1000]",
1165
- description: "Dropdown menus and select options"
1166
- },
1167
- sticky: {
1168
- value: 1020,
1169
- tailwind: "z-[1020]",
1170
- description: "Sticky headers and navigation"
1171
- },
1172
- fixed: {
1173
- value: 1030,
1174
- tailwind: "z-[1030]",
1175
- description: "Fixed position elements"
1176
- },
1177
- "modal-backdrop": {
1178
- value: 1040,
1179
- tailwind: "z-[1040]",
1180
- description: "Modal backdrop/overlay"
1181
- },
1182
- modal: {
1183
- value: 1050,
1184
- tailwind: "z-[1050]",
1185
- description: "Modal dialogs and drawers"
1186
- },
1187
- popover: {
1188
- value: 1060,
1189
- tailwind: "z-[1060]",
1190
- description: "Popovers and tooltips"
1191
- },
1192
- tooltip: {
1193
- value: 1070,
1194
- tailwind: "z-[1070]",
1195
- description: "Tooltips (highest priority)"
1196
- },
1197
- toast: {
1198
- value: 1080,
1199
- tailwind: "z-[1080]",
1200
- description: "Toast notifications (highest priority)"
1201
- }
1202
- }[a];
1203
- }
1204
- }
1205
- A.create("base"), A.create("dropdown"), A.create("sticky"), A.create("fixed"), A.create("modal-backdrop"), A.create("modal"), A.create("popover"), A.create("tooltip"), A.create("toast");
1206
- class S {
1207
- /**
1208
- * Create an opacity token
1209
- */
1210
- static create(a) {
1211
- const n = a / 100, r = {
1212
- 0: "Fully transparent",
1213
- 5: "Very light overlay",
1214
- 10: "Light overlay",
1215
- 20: "Subtle overlay",
1216
- 25: "Quarter opacity",
1217
- 30: "Light background",
1218
- 40: "Semi-transparent",
1219
- 50: "Half opacity",
1220
- 60: "Semi-opaque",
1221
- 70: "Mostly opaque",
1222
- 75: "Three-quarter opacity",
1223
- 80: "High opacity",
1224
- 90: "Very high opacity",
1225
- 95: "Nearly opaque",
1226
- 100: "Fully opaque"
1227
- };
1228
- return {
1229
- value: a,
1230
- decimal: n,
1231
- tailwind: {
1232
- 0: "opacity-0",
1233
- 5: "opacity-5",
1234
- 10: "opacity-10",
1235
- 20: "opacity-20",
1236
- 25: "opacity-25",
1237
- 30: "opacity-30",
1238
- 40: "opacity-40",
1239
- 50: "opacity-50",
1240
- 60: "opacity-60",
1241
- 70: "opacity-70",
1242
- 75: "opacity-75",
1243
- 80: "opacity-80",
1244
- 90: "opacity-90",
1245
- 95: "opacity-95",
1246
- 100: "opacity-100"
1247
- }[a],
1248
- description: r[a]
1249
- };
1250
- }
1251
- }
1252
- S.create(0), S.create(5), S.create(10), S.create(20), S.create(25), S.create(30), S.create(40), S.create(50), S.create(60), S.create(70), S.create(75), S.create(80), S.create(90), S.create(95), S.create(100);
1253
- const He = j("w-full", {
936
+ const ze = M("w-full", {
1254
937
  variants: {
1255
938
  size: {
1256
939
  sm: "h-1",
@@ -1270,7 +953,7 @@ const He = j("w-full", {
1270
953
  size: "md",
1271
954
  variant: "primary"
1272
955
  }
1273
- }), ne = j("transition-all", {
956
+ }), J = M("transition-all", {
1274
957
  variants: {
1275
958
  variant: {
1276
959
  primary: "bg-surface-brand",
@@ -1284,17 +967,17 @@ const He = j("w-full", {
1284
967
  defaultVariants: {
1285
968
  variant: "primary"
1286
969
  }
1287
- }), Be = O(function(h, m) {
1288
- var x = h, {
970
+ }), Me = _(function(b, y) {
971
+ var m = b, {
1289
972
  value: a,
1290
- max: n = 100,
1291
- variant: r = "primary",
973
+ max: r = 100,
974
+ variant: t = "primary",
1292
975
  size: s = "md",
1293
- showLabel: i = !1,
1294
- label: c,
1295
- "aria-label": f,
976
+ showLabel: o = !1,
977
+ label: d,
978
+ "aria-label": c,
1296
979
  className: u = ""
1297
- } = x, b = g(x, [
980
+ } = m, g = p(m, [
1298
981
  "value",
1299
982
  "max",
1300
983
  "variant",
@@ -1304,38 +987,38 @@ const He = j("w-full", {
1304
987
  "aria-label",
1305
988
  "className"
1306
989
  ]);
1307
- const v = a === void 0, M = v ? void 0 : Math.min(Math.max(a / n * 100, 0), 100), L = f || (v ? "Loading in progress" : `Progress: ${M == null ? void 0 : M.toFixed(0)}%`);
1308
- return /* @__PURE__ */ $("div", y(p({ ref: m, className: l("w-full", u) }, b), { children: [
1309
- i && (c || !v) && /* @__PURE__ */ $(
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__ */ $(
1310
993
  "div",
1311
994
  {
1312
- className: l(
995
+ className: n(
1313
996
  "flex",
1314
997
  "items-center",
1315
998
  "justify-between",
1316
- d("xs", "mb")
999
+ i("xs", "mb")
1317
1000
  ),
1318
1001
  children: [
1319
- c && /* @__PURE__ */ o(
1002
+ d && /* @__PURE__ */ l(
1320
1003
  "span",
1321
1004
  {
1322
- className: l(
1323
- z("bodySmall"),
1324
- H("label"),
1005
+ className: n(
1006
+ E("bodySmall"),
1007
+ j("label"),
1325
1008
  "text-fg-primary"
1326
1009
  ),
1327
- children: c
1010
+ children: d
1328
1011
  }
1329
1012
  ),
1330
- !v && M !== void 0 && /* @__PURE__ */ $(
1013
+ !h && v !== void 0 && /* @__PURE__ */ $(
1331
1014
  "span",
1332
1015
  {
1333
- className: l(
1334
- z("bodySmall"),
1016
+ className: n(
1017
+ E("bodySmall"),
1335
1018
  "text-fg-secondary"
1336
1019
  ),
1337
1020
  children: [
1338
- M.toFixed(0),
1021
+ v.toFixed(0),
1339
1022
  "%"
1340
1023
  ]
1341
1024
  }
@@ -1343,32 +1026,32 @@ const He = j("w-full", {
1343
1026
  ]
1344
1027
  }
1345
1028
  ),
1346
- /* @__PURE__ */ o(
1029
+ /* @__PURE__ */ l(
1347
1030
  "div",
1348
1031
  {
1349
1032
  role: "progressbar",
1350
- "aria-valuemin": v ? void 0 : 0,
1351
- "aria-valuemax": v ? void 0 : n,
1352
- "aria-valuenow": v ? void 0 : a,
1353
- "aria-label": L,
1354
- "aria-busy": v,
1355
- 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(
1356
1039
  "relative",
1357
1040
  "w-full",
1358
1041
  "overflow-hidden",
1359
- He({ size: s, variant: r }),
1360
- T("full")
1042
+ ze({ size: s, variant: t }),
1043
+ C("full")
1361
1044
  ),
1362
- children: v ? /* @__PURE__ */ o(
1045
+ children: h ? /* @__PURE__ */ l(
1363
1046
  "div",
1364
1047
  {
1365
- className: l(
1048
+ className: n(
1366
1049
  "absolute",
1367
1050
  "top-0",
1368
1051
  "left-0",
1369
1052
  "bottom-0",
1370
- ne({ variant: r }),
1371
- T("full"),
1053
+ J({ variant: t }),
1054
+ C("full"),
1372
1055
  "motion-reduce:animate-none"
1373
1056
  ),
1374
1057
  style: {
@@ -1376,19 +1059,19 @@ const He = j("w-full", {
1376
1059
  animation: "progress-indeterminate 1.5s ease-in-out infinite"
1377
1060
  }
1378
1061
  }
1379
- ) : /* @__PURE__ */ o(
1062
+ ) : /* @__PURE__ */ l(
1380
1063
  "div",
1381
1064
  {
1382
- className: l(
1065
+ className: n(
1383
1066
  "h-full",
1384
- ne({ variant: r }),
1385
- T("full"),
1067
+ J({ variant: t }),
1068
+ C("full"),
1386
1069
  "transition-all",
1387
1070
  "duration-300",
1388
1071
  "ease-out"
1389
1072
  ),
1390
1073
  style: {
1391
- width: `${M}%`
1074
+ width: `${v}%`
1392
1075
  },
1393
1076
  "aria-hidden": "true"
1394
1077
  }
@@ -1397,57 +1080,57 @@ const He = j("w-full", {
1397
1080
  )
1398
1081
  ] }));
1399
1082
  });
1400
- Be.displayName = "Progress";
1401
- const Oe = {
1083
+ Me.displayName = "Progress";
1084
+ const Ve = {
1402
1085
  horizontal: "w-full border-t",
1403
1086
  vertical: "h-full border-l self-stretch"
1404
- }, Pe = {
1087
+ }, je = {
1405
1088
  solid: "border-solid",
1406
1089
  dashed: "border-dashed",
1407
1090
  dotted: "border-dotted"
1408
- }, qe = B(function(i) {
1409
- var c = i, {
1091
+ }, De = D(function(o) {
1092
+ var d = o, {
1410
1093
  orientation: a = "horizontal",
1411
- variant: n = "solid",
1412
- className: r = ""
1413
- } = c, s = g(c, [
1094
+ variant: r = "solid",
1095
+ className: t = ""
1096
+ } = d, s = p(d, [
1414
1097
  "orientation",
1415
1098
  "variant",
1416
1099
  "className"
1417
1100
  ]);
1418
- const f = l(
1101
+ const c = n(
1419
1102
  "border-0",
1420
1103
  "border-line-default",
1421
- Oe[a],
1422
- Pe[n],
1423
- r
1104
+ Ve[a],
1105
+ je[r],
1106
+ t
1424
1107
  );
1425
- return a === "vertical" ? /* @__PURE__ */ o(
1108
+ return a === "vertical" ? /* @__PURE__ */ l(
1426
1109
  "div",
1427
- p({
1428
- className: f,
1110
+ f({
1111
+ className: c,
1429
1112
  role: "separator",
1430
1113
  "aria-orientation": "vertical"
1431
1114
  }, s)
1432
- ) : /* @__PURE__ */ o(
1115
+ ) : /* @__PURE__ */ l(
1433
1116
  "hr",
1434
- p({
1435
- className: f,
1117
+ f({
1118
+ className: c,
1436
1119
  role: "separator",
1437
1120
  "aria-orientation": "horizontal"
1438
1121
  }, s)
1439
1122
  );
1440
1123
  });
1441
- qe.displayName = "Separator";
1442
- function ha(f) {
1443
- var u = f, {
1444
- variant: t = "text",
1124
+ De.displayName = "Separator";
1125
+ function ft(c) {
1126
+ var u = c, {
1127
+ variant: e = "text",
1445
1128
  width: a,
1446
- height: n,
1447
- lines: r = 1,
1129
+ height: r,
1130
+ lines: t = 1,
1448
1131
  className: s = "",
1449
- "aria-label": i
1450
- } = u, c = g(u, [
1132
+ "aria-label": o
1133
+ } = u, d = p(u, [
1451
1134
  "variant",
1452
1135
  "width",
1453
1136
  "height",
@@ -1455,48 +1138,48 @@ function ha(f) {
1455
1138
  "className",
1456
1139
  "aria-label"
1457
1140
  ]);
1458
- const b = [
1141
+ const g = [
1459
1142
  "motion-safe:animate-pulse",
1460
1143
  "bg-surface-muted",
1461
- T("sm")
1462
- ], m = {
1144
+ C("sm")
1145
+ ], y = {
1463
1146
  text: "h-4",
1464
1147
  card: "h-32",
1465
1148
  list: "h-12",
1466
- circle: T("full")
1467
- }, h = l(...b, m[t], s), x = {};
1468
- a && (x.width = a), n && (x.height = n);
1469
- const v = i || `Loading ${t} content`;
1470
- return t === "text" && r > 1 ? /* @__PURE__ */ o(
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(
1471
1154
  "div",
1472
- y(p({
1473
- className: d("sm", "space-y"),
1155
+ x(f({
1156
+ className: i("sm", "space-y"),
1474
1157
  role: "status",
1475
1158
  "aria-busy": "true",
1476
- "aria-label": v
1477
- }, c), {
1478
- children: Array.from({ length: r }).map((M, L) => /* @__PURE__ */ o(
1159
+ "aria-label": h
1160
+ }, d), {
1161
+ children: Array.from({ length: t }).map((v, S) => /* @__PURE__ */ l(
1479
1162
  "div",
1480
1163
  {
1481
- className: h,
1482
- style: L === r - 1 ? { width: "75%" } : x,
1164
+ className: b,
1165
+ style: S === t - 1 ? { width: "75%" } : m,
1483
1166
  "aria-hidden": "true"
1484
1167
  },
1485
- L
1168
+ S
1486
1169
  ))
1487
1170
  })
1488
- ) : /* @__PURE__ */ o(
1171
+ ) : /* @__PURE__ */ l(
1489
1172
  "div",
1490
- p({
1491
- className: h,
1492
- style: x,
1173
+ f({
1174
+ className: b,
1175
+ style: m,
1493
1176
  role: "status",
1494
1177
  "aria-busy": "true",
1495
- "aria-label": v
1496
- }, c)
1178
+ "aria-label": h
1179
+ }, d)
1497
1180
  );
1498
1181
  }
1499
- const Ue = j("motion-safe:animate-spin", {
1182
+ const _e = M("motion-safe:animate-spin", {
1500
1183
  variants: {
1501
1184
  size: {
1502
1185
  sm: "h-4 w-4",
@@ -1513,13 +1196,13 @@ const Ue = j("motion-safe:animate-spin", {
1513
1196
  size: "md",
1514
1197
  variant: "primary"
1515
1198
  }
1516
- }), Ke = B(function(c) {
1517
- var f = c, {
1199
+ }), Ie = D(function(d) {
1200
+ var c = d, {
1518
1201
  size: a = "md",
1519
- variant: n = "primary",
1520
- label: r,
1202
+ variant: r = "primary",
1203
+ label: t,
1521
1204
  className: s = ""
1522
- } = f, i = g(f, [
1205
+ } = c, o = p(c, [
1523
1206
  "size",
1524
1207
  "variant",
1525
1208
  "label",
@@ -1527,38 +1210,38 @@ const Ue = j("motion-safe:animate-spin", {
1527
1210
  ]);
1528
1211
  return /* @__PURE__ */ $(
1529
1212
  "div",
1530
- y(p({
1531
- className: l("inline-flex", "items-center", s),
1213
+ x(f({
1214
+ className: n("inline-flex", "items-center", s),
1532
1215
  role: "status",
1533
- "aria-label": r || "Loading",
1216
+ "aria-label": t || "Loading",
1534
1217
  "aria-live": "polite"
1535
- }, i), {
1218
+ }, o), {
1536
1219
  children: [
1537
- /* @__PURE__ */ o(
1538
- xe,
1220
+ /* @__PURE__ */ l(
1221
+ ce,
1539
1222
  {
1540
- className: l(Ue({ size: a, variant: n })),
1223
+ className: n(_e({ size: a, variant: r })),
1541
1224
  "aria-hidden": "true"
1542
1225
  }
1543
1226
  ),
1544
- r && /* @__PURE__ */ o(
1227
+ t && /* @__PURE__ */ l(
1545
1228
  "span",
1546
1229
  {
1547
- className: l(
1548
- d("sm", "ml"),
1549
- z("bodySmall"),
1230
+ className: n(
1231
+ i("sm", "ml"),
1232
+ E("bodySmall"),
1550
1233
  "text-fg-secondary",
1551
1234
  "sr-only"
1552
1235
  ),
1553
- children: r
1236
+ children: t
1554
1237
  }
1555
1238
  )
1556
1239
  ]
1557
1240
  })
1558
1241
  );
1559
1242
  });
1560
- Ke.displayName = "Spinner";
1561
- const Xe = {
1243
+ Ie.displayName = "Spinner";
1244
+ const We = {
1562
1245
  primary: {
1563
1246
  // exception: variant color — no semantic equivalent (Principle 3, .claude/rules/colors.md)
1564
1247
  light: "text-indigo-400",
@@ -1610,16 +1293,16 @@ const Xe = {
1610
1293
  contrast: "text-fg-inverse"
1611
1294
  }
1612
1295
  };
1613
- function Ge(b, u) {
1614
- var m = b, {
1615
- variant: t = "paragraph",
1296
+ function He(g, u) {
1297
+ var y = g, {
1298
+ variant: e = "paragraph",
1616
1299
  bold: a,
1617
- italic: n,
1618
- className: r,
1300
+ italic: r,
1301
+ className: t,
1619
1302
  as: s,
1620
- colorRole: i = "neutral",
1621
- colorShade: c = "dark"
1622
- } = m, f = g(m, [
1303
+ colorRole: o = "neutral",
1304
+ colorShade: d = "dark"
1305
+ } = y, c = p(y, [
1623
1306
  "variant",
1624
1307
  "bold",
1625
1308
  "italic",
@@ -1628,41 +1311,41 @@ function Ge(b, u) {
1628
1311
  "colorRole",
1629
1312
  "colorShade"
1630
1313
  ]);
1631
- const h = [];
1632
- let x;
1314
+ const b = [];
1315
+ let m;
1633
1316
  if (s)
1634
- x = s;
1317
+ m = s;
1635
1318
  else
1636
- switch (t) {
1319
+ switch (e) {
1637
1320
  case "heading":
1638
- x = "h2";
1321
+ m = "h2";
1639
1322
  break;
1640
1323
  case "list":
1641
- x = "li";
1324
+ m = "li";
1642
1325
  break;
1643
1326
  default:
1644
- x = "p";
1327
+ m = "p";
1645
1328
  break;
1646
1329
  }
1647
- return t === "heading" ? h.push(V("h2")) : t === "body" || t === "paragraph" ? h.push(V("body")) : t === "bodySmall" ? h.push(V("bodySmall")) : t === "bodyLarge" ? h.push(V("bodyLarge")) : t === "caption" ? h.push(V("caption")) : t === "label" ? h.push(V("label")) : h.push(V("body")), a && h.push("font-bold"), n && h.push("italic"), h.push(Xe[i][c]), /* @__PURE__ */ o(x, p({ ref: u, className: l(...h, 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));
1648
1331
  }
1649
- const se = O(Ge), Ye = {
1332
+ const Q = _(He), Oe = {
1650
1333
  sm: "max-w-screen-sm",
1651
1334
  md: "max-w-screen-md",
1652
1335
  lg: "max-w-screen-lg",
1653
1336
  xl: "max-w-screen-xl",
1654
1337
  "2xl": "max-w-screen-2xl",
1655
1338
  full: "max-w-full"
1656
- }, Ze = ie.forwardRef(
1657
- (u, f) => {
1658
- var b = u, {
1659
- className: t,
1339
+ }, Pe = ee.forwardRef(
1340
+ (u, c) => {
1341
+ var g = u, {
1342
+ className: e,
1660
1343
  maxWidth: a = "lg",
1661
- paddingX: n = "base",
1662
- paddingY: r = "base",
1344
+ paddingX: r = "base",
1345
+ paddingY: t = "base",
1663
1346
  center: s = !0,
1664
- children: i
1665
- } = b, c = g(b, [
1347
+ children: o
1348
+ } = g, d = p(g, [
1666
1349
  "className",
1667
1350
  "maxWidth",
1668
1351
  "paddingX",
@@ -1670,35 +1353,35 @@ const se = O(Ge), Ye = {
1670
1353
  "center",
1671
1354
  "children"
1672
1355
  ]);
1673
- return /* @__PURE__ */ o(
1356
+ return /* @__PURE__ */ l(
1674
1357
  "div",
1675
- y(p({
1676
- ref: f,
1677
- className: l(
1358
+ x(f({
1359
+ ref: c,
1360
+ className: n(
1678
1361
  "w-full",
1679
- Ye[a],
1680
- d(n, "px"),
1681
- d(r, "py"),
1362
+ Oe[a],
1363
+ i(r, "px"),
1364
+ i(t, "py"),
1682
1365
  s && "mx-auto",
1683
- t
1366
+ e
1684
1367
  )
1685
- }, c), {
1686
- children: i
1368
+ }, d), {
1369
+ children: o
1687
1370
  })
1688
1371
  );
1689
1372
  }
1690
1373
  );
1691
- Ze.displayName = "Container";
1692
- const Qe = ie.forwardRef(
1693
- (u, f) => {
1694
- var b = u, {
1695
- className: t,
1374
+ Pe.displayName = "Container";
1375
+ const Be = ee.forwardRef(
1376
+ (u, c) => {
1377
+ var g = u, {
1378
+ className: e,
1696
1379
  spacing: a = "base",
1697
- align: n = "stretch",
1698
- justify: r = "start",
1380
+ align: r = "stretch",
1381
+ justify: t = "start",
1699
1382
  direction: s = "column",
1700
- children: i
1701
- } = b, c = g(b, [
1383
+ children: o
1384
+ } = g, d = p(g, [
1702
1385
  "className",
1703
1386
  "spacing",
1704
1387
  "align",
@@ -1706,12 +1389,12 @@ const Qe = ie.forwardRef(
1706
1389
  "direction",
1707
1390
  "children"
1708
1391
  ]);
1709
- const m = s === "column" ? d(a, "gap-y") : d(a, "gap-x"), h = {
1392
+ const y = s === "column" ? i(a, "gap-y") : i(a, "gap-x"), b = {
1710
1393
  start: "items-start",
1711
1394
  center: "items-center",
1712
1395
  end: "items-end",
1713
1396
  stretch: "items-stretch"
1714
- }, x = {
1397
+ }, m = {
1715
1398
  start: "justify-start",
1716
1399
  center: "justify-center",
1717
1400
  end: "justify-end",
@@ -1719,82 +1402,82 @@ const Qe = ie.forwardRef(
1719
1402
  around: "justify-around",
1720
1403
  evenly: "justify-evenly"
1721
1404
  };
1722
- return /* @__PURE__ */ o(
1405
+ return /* @__PURE__ */ l(
1723
1406
  "div",
1724
- y(p({
1725
- ref: f,
1726
- className: l(
1407
+ x(f({
1408
+ ref: c,
1409
+ className: n(
1727
1410
  "flex",
1728
1411
  s === "column" ? "flex-col" : "flex-row",
1729
- m,
1730
- h[n],
1731
- x[r],
1732
- t
1412
+ y,
1413
+ b[r],
1414
+ m[t],
1415
+ e
1733
1416
  )
1734
- }, c), {
1735
- children: i
1417
+ }, d), {
1418
+ children: o
1736
1419
  })
1737
1420
  );
1738
1421
  }
1739
1422
  );
1740
- Qe.displayName = "Stack";
1741
- function Je(s) {
1742
- var i = s, {
1743
- items: t,
1423
+ Be.displayName = "Stack";
1424
+ function Ue(s) {
1425
+ var o = s, {
1426
+ items: e,
1744
1427
  separator: a = "/",
1745
- className: n = ""
1746
- } = i, r = g(i, [
1428
+ className: r = ""
1429
+ } = o, t = p(o, [
1747
1430
  "items",
1748
1431
  "separator",
1749
1432
  "className"
1750
1433
  ]);
1751
- const c = [
1434
+ const d = [
1752
1435
  "flex",
1753
1436
  "items-center",
1754
- d("sm", "space-x"),
1755
- z("bodySmall")
1756
- ], f = l(...c, n);
1757
- return /* @__PURE__ */ o("nav", y(p({ "aria-label": "Breadcrumb", className: f }, r), { children: /* @__PURE__ */ o(
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(
1758
1441
  "ol",
1759
1442
  {
1760
- className: l("flex", "items-center", d("sm", "space-x")),
1761
- children: t.map((u, b) => {
1762
- const m = b === t.length - 1;
1443
+ className: n("flex", "items-center", i("sm", "space-x")),
1444
+ children: e.map((u, g) => {
1445
+ const y = g === e.length - 1;
1763
1446
  return /* @__PURE__ */ $("li", { className: "flex items-center", children: [
1764
- b > 0 && /* @__PURE__ */ o(
1447
+ g > 0 && /* @__PURE__ */ l(
1765
1448
  "span",
1766
1449
  {
1767
- className: l(
1768
- d("sm", "mx"),
1450
+ className: n(
1451
+ i("sm", "mx"),
1769
1452
  "text-fg-tertiary"
1770
1453
  ),
1771
1454
  "aria-hidden": "true",
1772
1455
  children: a
1773
1456
  }
1774
1457
  ),
1775
- m ? /* @__PURE__ */ o(
1458
+ y ? /* @__PURE__ */ l(
1776
1459
  "span",
1777
1460
  {
1778
- className: l(
1461
+ className: n(
1779
1462
  "text-fg-primary",
1780
- H("label")
1463
+ j("label")
1781
1464
  ),
1782
1465
  "aria-current": "page",
1783
1466
  children: u.label
1784
1467
  }
1785
- ) : u.href ? /* @__PURE__ */ o(
1468
+ ) : u.href ? /* @__PURE__ */ l(
1786
1469
  "a",
1787
1470
  {
1788
1471
  href: u.href,
1789
- className: l(
1472
+ className: n(
1790
1473
  "inline-flex",
1791
1474
  "items-center",
1792
- d("xs", "px"),
1793
- d("xs", "pt"),
1475
+ i("xs", "px"),
1476
+ i("xs", "pt"),
1794
1477
  "border-b-2",
1795
1478
  "border-transparent",
1796
- z("bodySmall"),
1797
- H("label"),
1479
+ E("bodySmall"),
1480
+ j("label"),
1798
1481
  "transition-colors",
1799
1482
  "text-fg-secondary",
1800
1483
  "hover:border-line-emphasis",
@@ -1802,38 +1485,38 @@ function Je(s) {
1802
1485
  ),
1803
1486
  children: u.label
1804
1487
  }
1805
- ) : /* @__PURE__ */ o("span", { className: "text-fg-secondary", children: u.label })
1806
- ] }, b);
1488
+ ) : /* @__PURE__ */ l("span", { className: "text-fg-secondary", children: u.label })
1489
+ ] }, g);
1807
1490
  })
1808
1491
  }
1809
1492
  ) }));
1810
1493
  }
1811
- function ea(r) {
1812
- var s = r, { children: t, className: a } = s, n = g(s, ["children", "className"]);
1813
- return /* @__PURE__ */ o(
1494
+ function Ke(t) {
1495
+ var s = t, { children: e, className: a } = s, r = p(s, ["children", "className"]);
1496
+ return /* @__PURE__ */ l(
1814
1497
  "div",
1815
- y(p({
1816
- className: l(
1498
+ x(f({
1499
+ className: n(
1817
1500
  "grid items-start",
1818
- d("1.5", "gap"),
1819
- d("base", "mb"),
1501
+ i("1.5", "gap"),
1502
+ i("base", "mb"),
1820
1503
  "[&:has([data-card-actions])]:grid-cols-[1fr_auto]",
1821
1504
  "[&:has([data-card-actions])>[data-card-actions]]:row-span-full",
1822
1505
  a
1823
1506
  )
1824
- }, n), {
1825
- children: t
1507
+ }, r), {
1508
+ children: e
1826
1509
  })
1827
1510
  );
1828
1511
  }
1829
- function aa(c) {
1830
- var f = c, {
1831
- children: t,
1512
+ function Xe(d) {
1513
+ var c = d, {
1514
+ children: e,
1832
1515
  icon: a,
1833
- badge: n,
1834
- as: r = "h2",
1516
+ badge: r,
1517
+ as: t = "h2",
1835
1518
  className: s
1836
- } = f, i = g(f, [
1519
+ } = c, o = p(c, [
1837
1520
  "children",
1838
1521
  "icon",
1839
1522
  "badge",
@@ -1841,70 +1524,70 @@ function aa(c) {
1841
1524
  "className"
1842
1525
  ]);
1843
1526
  return /* @__PURE__ */ $(
1844
- r,
1845
- y(p({
1846
- className: l(
1527
+ t,
1528
+ x(f({
1529
+ className: n(
1847
1530
  "text-base font-semibold text-fg-primary",
1848
1531
  "flex items-center",
1849
- d("sm", "gap"),
1532
+ i("sm", "gap"),
1850
1533
  s
1851
1534
  )
1852
- }, i), {
1535
+ }, o), {
1853
1536
  children: [
1854
- a ? /* @__PURE__ */ o("span", { className: "shrink-0 inline-flex", children: a }) : null,
1855
- /* @__PURE__ */ o("span", { children: t }),
1856
- n ? /* @__PURE__ */ o("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
1857
1540
  ]
1858
1541
  })
1859
1542
  );
1860
1543
  }
1861
- function ta(r) {
1862
- var s = r, {
1863
- children: t,
1544
+ function qe(t) {
1545
+ var s = t, {
1546
+ children: e,
1864
1547
  className: a
1865
- } = s, n = g(s, [
1548
+ } = s, r = p(s, [
1866
1549
  "children",
1867
1550
  "className"
1868
1551
  ]);
1869
- return /* @__PURE__ */ o("p", y(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 }));
1870
1553
  }
1871
- function ra(r) {
1872
- var s = r, {
1873
- children: t,
1554
+ function Ge(t) {
1555
+ var s = t, {
1556
+ children: e,
1874
1557
  className: a
1875
- } = s, n = g(s, [
1558
+ } = s, r = p(s, [
1876
1559
  "children",
1877
1560
  "className"
1878
1561
  ]);
1879
- return /* @__PURE__ */ o(
1562
+ return /* @__PURE__ */ l(
1880
1563
  "div",
1881
- y(p({
1564
+ x(f({
1882
1565
  "data-card-actions": "",
1883
- className: l(
1566
+ className: n(
1884
1567
  "flex items-center self-start",
1885
- d("sm", "gap"),
1568
+ i("sm", "gap"),
1886
1569
  a
1887
1570
  )
1888
- }, n), {
1889
- children: t
1571
+ }, r), {
1572
+ children: e
1890
1573
  })
1891
1574
  );
1892
1575
  }
1893
- function na(r) {
1894
- var s = r, { children: t, className: a } = s, n = g(s, ["children", "className"]);
1895
- return /* @__PURE__ */ o("div", y(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 }));
1896
1579
  }
1897
- function sa(b) {
1898
- var m = b, {
1899
- variant: t = "default",
1580
+ function Ze(g) {
1581
+ var y = g, {
1582
+ variant: e = "default",
1900
1583
  padding: a = "medium",
1901
- className: n = "",
1902
- onClick: r,
1584
+ className: r = "",
1585
+ onClick: t,
1903
1586
  "aria-label": s,
1904
- "aria-labelledby": i,
1905
- asSection: c = !1,
1906
- children: f
1907
- } = m, u = g(m, [
1587
+ "aria-labelledby": o,
1588
+ asSection: d = !1,
1589
+ children: c
1590
+ } = y, u = p(y, [
1908
1591
  "variant",
1909
1592
  "padding",
1910
1593
  "className",
@@ -1914,33 +1597,33 @@ function sa(b) {
1914
1597
  "asSection",
1915
1598
  "children"
1916
1599
  ]);
1917
- typeof process != "undefined" && process.env.NODE_ENV !== "production" && c && !s && !i && console.warn(
1600
+ typeof process != "undefined" && process.env.NODE_ENV !== "production" && d && !s && !o && console.warn(
1918
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."
1919
1602
  );
1920
- const h = j(
1921
- l(
1603
+ const b = M(
1604
+ n(
1922
1605
  "bg-surface-base",
1923
- T("lg"),
1606
+ C("lg"),
1924
1607
  "border",
1925
1608
  "border-line-default",
1926
- Y("sm")
1609
+ P("sm")
1927
1610
  ),
1928
1611
  {
1929
1612
  variants: {
1930
1613
  variant: {
1931
1614
  default: "",
1932
- hover: l(
1933
- `hover:${Y("md")}`,
1615
+ hover: n(
1616
+ `hover:${P("md")}`,
1934
1617
  "transition-shadow",
1935
1618
  "cursor-pointer"
1936
1619
  ),
1937
- selected: l("border-line-brand", Y("md"))
1620
+ selected: n("border-line-brand", P("md"))
1938
1621
  },
1939
1622
  padding: {
1940
1623
  none: "",
1941
- small: d("xs", "p"),
1942
- medium: d("base", "p"),
1943
- large: d("lg", "p")
1624
+ small: i("xs", "p"),
1625
+ medium: i("base", "p"),
1626
+ large: i("lg", "p")
1944
1627
  }
1945
1628
  },
1946
1629
  defaultVariants: {
@@ -1948,182 +1631,182 @@ function sa(b) {
1948
1631
  padding: "medium"
1949
1632
  }
1950
1633
  }
1951
- ), x = r !== void 0, v = x ? "button" : void 0, M = x ? 0 : void 0, L = l(h({ variant: t, padding: a }), n), q = p({
1952
- className: L,
1953
- role: v,
1954
- tabIndex: M,
1955
- onClick: r,
1956
- onKeyDown: x ? (R) => {
1957
- x && (R.key === "Enter" || R.key === " ") && (R.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());
1958
1641
  } : void 0,
1959
1642
  "aria-label": s,
1960
- "aria-labelledby": i
1643
+ "aria-labelledby": o
1961
1644
  }, u);
1962
- return c ? /* @__PURE__ */ o("section", y(p({}, q), { children: f })) : /* @__PURE__ */ o("div", y(p({}, q), { children: f }));
1645
+ return d ? /* @__PURE__ */ l("section", x(f({}, L), { children: c })) : /* @__PURE__ */ l("div", x(f({}, L), { children: c }));
1963
1646
  }
1964
- const oe = B(sa);
1965
- oe.displayName = "Card";
1966
- const P = oe;
1967
- P.Header = ea;
1968
- P.Title = aa;
1969
- P.Subtitle = ta;
1970
- P.Actions = ra;
1971
- P.Body = na;
1972
- function va(r) {
1973
- var s = r, {
1974
- 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,
1975
1658
  className: a = ""
1976
- } = s, n = g(s, [
1659
+ } = s, r = p(s, [
1977
1660
  "children",
1978
1661
  "className"
1979
1662
  ]);
1980
- return /* @__PURE__ */ o(
1663
+ return /* @__PURE__ */ l(
1981
1664
  "div",
1982
- y(p({
1983
- className: `flex flex-col ${d("1.5", "space-y")} ${d("lg", "p")} ${d("base", "pb")} ${a}`
1984
- }, n), {
1985
- 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
1986
1669
  })
1987
1670
  );
1988
1671
  }
1989
- function wa(r) {
1990
- var s = r, {
1991
- children: t,
1672
+ function pt(t) {
1673
+ var s = t, {
1674
+ children: e,
1992
1675
  className: a = ""
1993
- } = s, n = g(s, [
1676
+ } = s, r = p(s, [
1994
1677
  "children",
1995
1678
  "className"
1996
1679
  ]);
1997
- return /* @__PURE__ */ o(
1680
+ return /* @__PURE__ */ l(
1998
1681
  "div",
1999
- y(p({
2000
- className: `flex flex-col-reverse sm:flex-row sm:justify-end sm:${d("sm", "space-x")} ${d("lg", "p")} ${d("base", "pt")} ${a}`
2001
- }, n), {
2002
- 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
2003
1686
  })
2004
1687
  );
2005
1688
  }
2006
- function Na(r) {
2007
- var s = r, {
2008
- children: t,
1689
+ function mt(t) {
1690
+ var s = t, {
1691
+ children: e,
2009
1692
  className: a = ""
2010
- } = s, n = g(s, [
1693
+ } = s, r = p(s, [
2011
1694
  "children",
2012
1695
  "className"
2013
1696
  ]);
2014
- return /* @__PURE__ */ o(
1697
+ return /* @__PURE__ */ l(
2015
1698
  "div",
2016
- y(p({
1699
+ x(f({
2017
1700
  className: `
2018
- ${d("lg", "p")}
1701
+ ${i("lg", "p")}
2019
1702
  border-b
2020
1703
  border-line-default
2021
1704
  ${a}
2022
1705
  `
2023
- }, n), {
2024
- children: t
1706
+ }, r), {
1707
+ children: e
2025
1708
  })
2026
1709
  );
2027
1710
  }
2028
- function ka(r) {
2029
- var s = r, {
2030
- children: t,
1711
+ function gt(t) {
1712
+ var s = t, {
1713
+ children: e,
2031
1714
  className: a = ""
2032
- } = s, n = g(s, [
1715
+ } = s, r = p(s, [
2033
1716
  "children",
2034
1717
  "className"
2035
1718
  ]);
2036
- return /* @__PURE__ */ o(
1719
+ return /* @__PURE__ */ l(
2037
1720
  "div",
2038
- y(p({
1721
+ x(f({
2039
1722
  className: `
2040
- ${d("lg", "p")}
1723
+ ${i("lg", "p")}
2041
1724
  border-t
2042
1725
  border-line-default
2043
1726
  flex
2044
1727
  justify-end
2045
- ${d("sm", "gap")}
1728
+ ${i("sm", "gap")}
2046
1729
  ${a}
2047
1730
  `
2048
- }, n), {
2049
- children: t
1731
+ }, r), {
1732
+ children: e
2050
1733
  })
2051
1734
  );
2052
1735
  }
2053
- function $a({ children: t, className: a }) {
2054
- return /* @__PURE__ */ o(
1736
+ function xt({ children: e, className: a }) {
1737
+ return /* @__PURE__ */ l(
2055
1738
  "div",
2056
1739
  {
2057
- className: l(
1740
+ className: n(
2058
1741
  "flex-shrink-0 flex items-center",
2059
- d("sm", "gap"),
1742
+ i("sm", "gap"),
2060
1743
  a
2061
1744
  ),
2062
- children: t
1745
+ children: e
2063
1746
  }
2064
1747
  );
2065
1748
  }
2066
- function Sa({
2067
- children: t,
1749
+ function bt({
1750
+ children: e,
2068
1751
  className: a
2069
1752
  }) {
2070
- return /* @__PURE__ */ o(
1753
+ return /* @__PURE__ */ l(
2071
1754
  "nav",
2072
1755
  {
2073
- className: l(
1756
+ className: n(
2074
1757
  "flex-1 flex items-center justify-center",
2075
- d("base", "gap"),
1758
+ i("base", "gap"),
2076
1759
  "hidden md:flex",
2077
1760
  // Hidden on mobile, visible on desktop
2078
1761
  a
2079
1762
  ),
2080
1763
  "aria-label": "Main navigation",
2081
- children: t
1764
+ children: e
2082
1765
  }
2083
1766
  );
2084
1767
  }
2085
- function Ca(n) {
2086
- var r = n, {
2087
- className: t = ""
2088
- } = r, a = g(r, [
1768
+ function ht(r) {
1769
+ var t = r, {
1770
+ className: e = ""
1771
+ } = t, a = p(t, [
2089
1772
  "className"
2090
1773
  ]);
2091
- return /* @__PURE__ */ o(
1774
+ return /* @__PURE__ */ l(
2092
1775
  "div",
2093
- p({
1776
+ f({
2094
1777
  role: "separator",
2095
1778
  className: `
2096
1779
  h-px
2097
1780
  bg-line-default
2098
- ${d("sm", "my")}
2099
- ${t}
1781
+ ${i("sm", "my")}
1782
+ ${e}
2100
1783
  `
2101
1784
  }, a)
2102
1785
  );
2103
1786
  }
2104
- function Ta(r) {
2105
- var s = r, {
2106
- orientation: t = "horizontal",
1787
+ function yt(t) {
1788
+ var s = t, {
1789
+ orientation: e = "horizontal",
2107
1790
  className: a = ""
2108
- } = s, n = g(s, [
1791
+ } = s, r = p(s, [
2109
1792
  "orientation",
2110
1793
  "className"
2111
1794
  ]);
2112
- return t === "vertical" ? /* @__PURE__ */ o(
1795
+ return e === "vertical" ? /* @__PURE__ */ l(
2113
1796
  "div",
2114
- p({
2115
- 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),
2116
1799
  role: "separator",
2117
1800
  "aria-orientation": "vertical"
2118
- }, n)
2119
- ) : /* @__PURE__ */ o(
1801
+ }, r)
1802
+ ) : /* @__PURE__ */ l(
2120
1803
  "div",
2121
- p({
2122
- className: l(
1804
+ f({
1805
+ className: n(
2123
1806
  "w-full",
2124
1807
  "h-px",
2125
1808
  "bg-line-default",
2126
- d("sm", "my"),
1809
+ i("sm", "my"),
2127
1810
  // my-2 (8px) para consistência com gap-2 usado em outros lugares
2128
1811
  "flex-shrink-0",
2129
1812
  // Prevenir que separator encolha
@@ -2136,17 +1819,17 @@ function Ta(r) {
2136
1819
  willChange: "auto",
2137
1820
  transform: "none"
2138
1821
  }
2139
- }, n)
1822
+ }, r)
2140
1823
  );
2141
1824
  }
2142
- const ia = j(
1825
+ const Je = M(
2143
1826
  // Base classes
2144
- l("w-full", "flex", "flex-col", d("sm", "gap")),
1827
+ n("w-full", "flex", "flex-col", i("sm", "gap")),
2145
1828
  {
2146
1829
  variants: {
2147
1830
  variant: {
2148
- default: l(d("base", "mb")),
2149
- compact: l(d("sm", "mb"))
1831
+ default: n(i("base", "mb")),
1832
+ compact: n(i("sm", "mb"))
2150
1833
  }
2151
1834
  },
2152
1835
  defaultVariants: {
@@ -2154,15 +1837,15 @@ const ia = j(
2154
1837
  }
2155
1838
  }
2156
1839
  );
2157
- function Ma(f) {
2158
- var u = f, {
2159
- title: t,
1840
+ function vt(c) {
1841
+ var u = c, {
1842
+ title: e,
2160
1843
  description: a,
2161
- breadcrumb: n,
2162
- actions: r,
1844
+ breadcrumb: r,
1845
+ actions: t,
2163
1846
  variant: s = "default",
2164
- className: i
2165
- } = u, c = g(u, [
1847
+ className: o
1848
+ } = u, d = p(u, [
2166
1849
  "title",
2167
1850
  "description",
2168
1851
  "breadcrumb",
@@ -2170,30 +1853,30 @@ function Ma(f) {
2170
1853
  "variant",
2171
1854
  "className"
2172
1855
  ]);
2173
- return /* @__PURE__ */ $("div", y(p({ className: l(ia({ variant: s }), i) }, c), { children: [
2174
- n && n.length > 0 && /* @__PURE__ */ o(Je, { items: n }),
1856
+ return /* @__PURE__ */ $("div", x(f({ className: n(Je({ variant: s }), o) }, d), { children: [
1857
+ r && r.length > 0 && /* @__PURE__ */ l(Ue, { items: r }),
2175
1858
  /* @__PURE__ */ $(
2176
1859
  "div",
2177
1860
  {
2178
- className: `flex items-start justify-between ${d("base", "gap")}`,
1861
+ className: `flex items-start justify-between ${i("base", "gap")}`,
2179
1862
  children: [
2180
1863
  /* @__PURE__ */ $("div", { className: "flex-1 min-w-0", children: [
2181
- /* @__PURE__ */ o(
2182
- se,
1864
+ /* @__PURE__ */ l(
1865
+ Q,
2183
1866
  {
2184
1867
  variant: "heading",
2185
1868
  as: "h1",
2186
- className: `${d("sm", "mb")} text-2xl font-bold`,
2187
- children: t
1869
+ className: `${i("sm", "mb")} text-2xl font-bold`,
1870
+ children: e
2188
1871
  }
2189
1872
  ),
2190
- a && /* @__PURE__ */ o(se, { variant: "body", className: "text-fg-secondary", children: a })
1873
+ a && /* @__PURE__ */ l(Q, { variant: "body", className: "text-fg-secondary", children: a })
2191
1874
  ] }),
2192
- r && /* @__PURE__ */ o(
1875
+ t && /* @__PURE__ */ l(
2193
1876
  "div",
2194
1877
  {
2195
- className: `flex items-center ${d("sm", "gap")} flex-shrink-0`,
2196
- children: r
1878
+ className: `flex items-center ${i("sm", "gap")} flex-shrink-0`,
1879
+ children: t
2197
1880
  }
2198
1881
  )
2199
1882
  ]
@@ -2201,25 +1884,25 @@ function Ma(f) {
2201
1884
  )
2202
1885
  ] }));
2203
1886
  }
2204
- const la = {
1887
+ const Qe = {
2205
1888
  start: "items-start text-left",
2206
1889
  center: "items-center text-center"
2207
- }, oa = {
1890
+ }, et = {
2208
1891
  neutral: "text-fg-tertiary",
2209
1892
  success: "text-fg-success",
2210
1893
  warning: "text-fg-warning",
2211
1894
  error: "text-fg-error"
2212
1895
  };
2213
- function za(u) {
2214
- var b = u, {
2215
- value: t,
1896
+ function wt(u) {
1897
+ var g = u, {
1898
+ value: e,
2216
1899
  label: a,
2217
- hint: n,
2218
- icon: r,
1900
+ hint: r,
1901
+ icon: t,
2219
1902
  align: s = "start",
2220
- tone: i = "neutral",
2221
- className: c
2222
- } = b, f = g(b, [
1903
+ tone: o = "neutral",
1904
+ className: d
1905
+ } = g, c = p(g, [
2223
1906
  "value",
2224
1907
  "label",
2225
1908
  "hint",
@@ -2228,241 +1911,241 @@ function za(u) {
2228
1911
  "tone",
2229
1912
  "className"
2230
1913
  ]);
2231
- const m = t == null;
1914
+ const y = e == null;
2232
1915
  return /* @__PURE__ */ $(
2233
1916
  "div",
2234
- y(p({
2235
- className: l(
1917
+ x(f({
1918
+ className: n(
2236
1919
  "bg-surface-base flex-1 flex flex-col",
2237
- d("base", "p"),
2238
- d("xs", "gap-y"),
2239
- la[s],
2240
- c
1920
+ i("base", "p"),
1921
+ i("xs", "gap-y"),
1922
+ Qe[s],
1923
+ d
2241
1924
  )
2242
- }, f), {
1925
+ }, c), {
2243
1926
  children: [
2244
- r ? /* @__PURE__ */ o("span", { className: "text-icon-default inline-flex", children: r }) : null,
2245
- m ? /* @__PURE__ */ o(
1927
+ t ? /* @__PURE__ */ l("span", { className: "text-icon-default inline-flex", children: t }) : null,
1928
+ y ? /* @__PURE__ */ l(
2246
1929
  "span",
2247
1930
  {
2248
1931
  "aria-label": "No data",
2249
1932
  className: "text-fg-tertiary text-2xl font-semibold leading-tight",
2250
1933
  children: "—"
2251
1934
  }
2252
- ) : /* @__PURE__ */ o("span", { className: "text-fg-primary text-2xl font-semibold leading-tight", children: t }),
2253
- /* @__PURE__ */ o("span", { className: "text-fg-secondary text-sm", children: a }),
2254
- n ? /* @__PURE__ */ o("span", { className: l("text-xs", oa[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
2255
1938
  ]
2256
1939
  })
2257
1940
  );
2258
1941
  }
2259
- const da = {
1942
+ const tt = {
2260
1943
  2: "md:grid-cols-2",
2261
1944
  3: "md:grid-cols-3",
2262
1945
  4: "md:grid-cols-4"
2263
1946
  };
2264
- function La(i) {
2265
- var c = i, {
2266
- layout: t = "grid",
1947
+ function Nt(o) {
1948
+ var d = o, {
1949
+ layout: e = "grid",
2267
1950
  cols: a = 4,
2268
- className: n,
2269
- children: r
2270
- } = c, s = g(c, [
1951
+ className: r,
1952
+ children: t
1953
+ } = d, s = p(d, [
2271
1954
  "layout",
2272
1955
  "cols",
2273
1956
  "className",
2274
1957
  "children"
2275
1958
  ]);
2276
- const f = t === "grid";
2277
- return /* @__PURE__ */ o(
1959
+ const c = e === "grid";
1960
+ return /* @__PURE__ */ l(
2278
1961
  "div",
2279
- y(p({
2280
- className: l(
1962
+ x(f({
1963
+ className: n(
2281
1964
  "bg-line-default border border-line-default overflow-hidden gap-px",
2282
- T("lg"),
2283
- f ? `grid grid-cols-2 ${da[a]}` : "flex",
2284
- n
1965
+ C("lg"),
1966
+ c ? `grid grid-cols-2 ${tt[a]}` : "flex",
1967
+ r
2285
1968
  )
2286
1969
  }, s), {
2287
- children: r
1970
+ children: t
2288
1971
  })
2289
1972
  );
2290
1973
  }
2291
- function Fa(s) {
2292
- var i = s, { column: t, row: a, className: n = "" } = i, r = g(i, ["column", "row", "className"]);
2293
- const c = t.key in a ? a[t.key] : void 0;
2294
- return /* @__PURE__ */ o(
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(
2295
1978
  "td",
2296
- y(p({
2297
- className: `${d("lg", "px")} ${d("base", "py")} whitespace-nowrap text-sm text-fg-primary ${t.hiddenOnMobile ? "hidden md:table-cell" : ""} ${n}`
2298
- }, r), {
2299
- children: t.render ? t.render(c, a) : String(c != null ? c : "")
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 : "")
2300
1983
  })
2301
1984
  );
2302
1985
  }
2303
- function Ea({
2304
- items: t,
1986
+ function St({
1987
+ items: e,
2305
1988
  orientation: a = "vertical",
2306
- className: n = ""
1989
+ className: r = ""
2307
1990
  }) {
2308
- return a === "horizontal" ? /* @__PURE__ */ o("div", { className: `flex items-start ${n}`, children: t.map((r, s) => {
2309
- const i = r.status || (s === 0 ? "active" : s < t.findIndex((f) => f.status === "active") ? "completed" : "default"), c = s === t.length - 1;
2310
- return /* @__PURE__ */ o("div", { className: "flex items-start flex-1", children: /* @__PURE__ */ $("div", { className: "flex flex-col items-center flex-1", children: [
2311
- /* @__PURE__ */ o(
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(
2312
1995
  "div",
2313
- y(p({}, i === "default" ? { "data-marker": "pending" } : {}), {
1996
+ x(f({}, o === "default" ? { "data-marker": "pending" } : {}), {
2314
1997
  className: `
2315
1998
  flex
2316
1999
  items-center
2317
2000
  justify-center
2318
2001
  w-10
2319
2002
  h-10
2320
- ${T("full")}
2003
+ ${C("full")}
2321
2004
  border-2
2322
- ${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"}
2323
2006
  `,
2324
- children: r.icon || (i === "completed" ? /* @__PURE__ */ o(ae, { className: "h-4 w-4" }) : s + 1)
2007
+ children: t.icon || (o === "completed" ? /* @__PURE__ */ l(q, { className: "h-4 w-4" }) : s + 1)
2325
2008
  })
2326
2009
  ),
2327
- !c && /* @__PURE__ */ o(
2010
+ !d && /* @__PURE__ */ l(
2328
2011
  "div",
2329
2012
  {
2330
2013
  className: `
2331
2014
  w-full
2332
2015
  h-0.5
2333
- ${d("sm", "mt")}
2334
- ${i === "completed" ? "bg-success" : "bg-line-emphasis"}
2016
+ ${i("sm", "mt")}
2017
+ ${o === "completed" ? "bg-success" : "bg-line-emphasis"}
2335
2018
  `
2336
2019
  }
2337
2020
  ),
2338
2021
  /* @__PURE__ */ $(
2339
2022
  "div",
2340
2023
  {
2341
- className: `${d("base", "mt")} text-center ${d("base", "px")}`,
2024
+ className: `${i("base", "mt")} text-center ${i("base", "px")}`,
2342
2025
  children: [
2343
- r.timestamp && /* @__PURE__ */ o(
2026
+ t.timestamp && /* @__PURE__ */ l(
2344
2027
  "p",
2345
2028
  {
2346
- className: `text-xs text-fg-tertiary ${d("xs", "mb")}`,
2347
- children: r.timestamp
2029
+ className: `text-xs text-fg-tertiary ${i("xs", "mb")}`,
2030
+ children: t.timestamp
2348
2031
  }
2349
2032
  ),
2350
- /* @__PURE__ */ o("h3", { className: "text-sm font-semibold text-fg-primary", children: r.title }),
2351
- r.description && /* @__PURE__ */ o(
2033
+ /* @__PURE__ */ l("h3", { className: "text-sm font-semibold text-fg-primary", children: t.title }),
2034
+ t.description && /* @__PURE__ */ l(
2352
2035
  "p",
2353
2036
  {
2354
- className: `text-xs text-fg-secondary ${d("xs", "mt")}`,
2355
- children: r.description
2037
+ className: `text-xs text-fg-secondary ${i("xs", "mt")}`,
2038
+ children: t.description
2356
2039
  }
2357
2040
  ),
2358
- r.content && /* @__PURE__ */ o("div", { className: d("sm", "mt"), children: r.content })
2041
+ t.content && /* @__PURE__ */ l("div", { className: i("sm", "mt"), children: t.content })
2359
2042
  ]
2360
2043
  }
2361
2044
  )
2362
- ] }) }, r.id);
2363
- }) }) : /* @__PURE__ */ o("div", { className: `${d("none", "space-y")} ${n}`, children: t.map((r, s) => {
2364
- const i = r.status || (s === 0 ? "active" : s < t.findIndex((f) => f.status === "active") ? "completed" : "default"), c = s === t.length - 1;
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;
2365
2048
  return /* @__PURE__ */ $(
2366
2049
  "div",
2367
2050
  {
2368
- className: `flex items-start ${d("base", "gap")}`,
2051
+ className: `flex items-start ${i("base", "gap")}`,
2369
2052
  children: [
2370
2053
  /* @__PURE__ */ $("div", { className: "flex flex-col items-center", children: [
2371
- /* @__PURE__ */ o(
2054
+ /* @__PURE__ */ l(
2372
2055
  "div",
2373
- y(p({}, i === "default" ? { "data-marker": "pending" } : {}), {
2056
+ x(f({}, o === "default" ? { "data-marker": "pending" } : {}), {
2374
2057
  className: `
2375
2058
  flex
2376
2059
  items-center
2377
2060
  justify-center
2378
2061
  w-10
2379
2062
  h-10
2380
- ${T("full")}
2063
+ ${C("full")}
2381
2064
  border-2
2382
- ${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"}
2383
2066
  `,
2384
- children: r.icon || (i === "completed" ? /* @__PURE__ */ o(ae, { className: "h-4 w-4" }) : s + 1)
2067
+ children: t.icon || (o === "completed" ? /* @__PURE__ */ l(q, { className: "h-4 w-4" }) : s + 1)
2385
2068
  })
2386
2069
  ),
2387
- !c && /* @__PURE__ */ o(
2070
+ !d && /* @__PURE__ */ l(
2388
2071
  "div",
2389
2072
  {
2390
2073
  className: `
2391
2074
  w-0.5
2392
2075
  flex-1
2393
2076
  min-h-16
2394
- ${d("sm", "mt")}
2395
- ${i === "completed" ? "bg-success" : "bg-line-emphasis"}
2077
+ ${i("sm", "mt")}
2078
+ ${o === "completed" ? "bg-success" : "bg-line-emphasis"}
2396
2079
  `
2397
2080
  }
2398
2081
  )
2399
2082
  ] }),
2400
- /* @__PURE__ */ $("div", { className: `flex-1 ${d("xl", "pb")}`, children: [
2401
- r.timestamp && /* @__PURE__ */ o(
2083
+ /* @__PURE__ */ $("div", { className: `flex-1 ${i("xl", "pb")}`, children: [
2084
+ t.timestamp && /* @__PURE__ */ l(
2402
2085
  "p",
2403
2086
  {
2404
- className: `text-xs text-fg-tertiary ${d("xs", "mb")}`,
2405
- children: r.timestamp
2087
+ className: `text-xs text-fg-tertiary ${i("xs", "mb")}`,
2088
+ children: t.timestamp
2406
2089
  }
2407
2090
  ),
2408
- /* @__PURE__ */ o(
2091
+ /* @__PURE__ */ l(
2409
2092
  "h3",
2410
2093
  {
2411
2094
  className: `
2412
2095
  text-base
2413
2096
  font-semibold
2414
- ${i === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2097
+ ${o === "active" ? "text-fg-brand-emphasis" : "text-fg-primary"}
2415
2098
  `,
2416
- children: r.title
2099
+ children: t.title
2417
2100
  }
2418
2101
  ),
2419
- r.description && /* @__PURE__ */ o(
2102
+ t.description && /* @__PURE__ */ l(
2420
2103
  "p",
2421
2104
  {
2422
- className: `text-sm text-fg-secondary ${d("xs", "mt")}`,
2423
- children: r.description
2105
+ className: `text-sm text-fg-secondary ${i("xs", "mt")}`,
2106
+ children: t.description
2424
2107
  }
2425
2108
  ),
2426
- r.content && /* @__PURE__ */ o("div", { className: d("md", "mt"), children: r.content })
2109
+ t.content && /* @__PURE__ */ l("div", { className: i("md", "mt"), children: t.content })
2427
2110
  ] })
2428
2111
  ]
2429
2112
  },
2430
- r.id
2113
+ t.id
2431
2114
  );
2432
2115
  }) });
2433
2116
  }
2434
2117
  export {
2435
- we as Badge,
2436
- Je as Breadcrumb,
2437
- P as Card,
2438
- ra as CardActions,
2439
- na as CardBody,
2440
- ea as CardHeader,
2441
- ta as CardSubtitle,
2442
- aa as CardTitle,
2443
- Ee as Chip,
2444
- Ze as Container,
2445
- wa as DialogFooter,
2446
- va as DialogHeader,
2447
- ka as DrawerFooter,
2448
- Na as DrawerHeader,
2449
- xa as ErrorMessage,
2450
- $a as HeaderActions,
2451
- Sa as HeaderNavigation,
2452
- ya as Info,
2453
- De as Label,
2454
- Ca as MenuSeparator,
2455
- Ta as NavbarSeparator,
2456
- Ma as PageHeader,
2457
- Be as Progress,
2458
- qe as Separator,
2459
- ha as Skeleton,
2460
- Ke as Spinner,
2461
- Qe as Stack,
2462
- za as Stat,
2463
- La as StatGroup,
2464
- Fa as TableCell,
2465
- se as Text,
2466
- Ea 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
2467
2150
  };
2468
2151
  //# sourceMappingURL=index.js.map