@tenerife.music/ui 1.0.8 → 1.0.12

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 (366) hide show
  1. package/dist/{tokens/colors.d.ts → colors-DPNI96bB.d.cts} +21 -19
  2. package/dist/colors-DPNI96bB.d.ts +289 -0
  3. package/dist/index.cjs +15605 -2
  4. package/dist/index.d.cts +3726 -0
  5. package/dist/index.d.ts +3726 -39
  6. package/dist/index.mjs +12883 -5567
  7. package/dist/preset.cjs +1264 -2
  8. package/dist/preset.d.cts +21 -0
  9. package/dist/preset.d.ts +3 -1
  10. package/dist/preset.mjs +1165 -95
  11. package/dist/styles.cjs +2 -2
  12. package/dist/styles.css +87 -1
  13. package/dist/styles.d.cts +2 -0
  14. package/dist/styles.d.ts +2 -0
  15. package/dist/styles.mjs +1 -1
  16. package/dist/theme/index.cjs +2647 -2
  17. package/dist/theme/index.d.cts +528 -0
  18. package/dist/theme/index.d.ts +528 -8
  19. package/dist/theme/index.mjs +1610 -575
  20. package/dist/tokens/index.cjs +5678 -5
  21. package/dist/tokens/index.d.cts +5488 -0
  22. package/dist/tokens/index.d.ts +5488 -9
  23. package/dist/tokens/index.mjs +2076 -154
  24. package/package.json +3 -3
  25. package/dist/animation/index.d.ts +0 -8
  26. package/dist/animation/presets.d.ts +0 -301
  27. package/dist/animation/tas.d.ts +0 -24
  28. package/dist/animation/types.d.ts +0 -67
  29. package/dist/animation/useInView.d.ts +0 -36
  30. package/dist/animation/utils.d.ts +0 -6
  31. package/dist/brand-C5R2semX.js +0 -45
  32. package/dist/brand-DQb18Frh.cjs +0 -2
  33. package/dist/components/SectionBuilder.d.ts +0 -36
  34. package/dist/components/SectionBuilder.presets.d.ts +0 -228
  35. package/dist/components/SectionBuilder.types.d.ts +0 -326
  36. package/dist/components/admin/Dashboard.d.ts +0 -8
  37. package/dist/components/admin/UserManagement.d.ts +0 -8
  38. package/dist/components/auth/LoginForm.d.ts +0 -11
  39. package/dist/components/auth/ProfileCard.d.ts +0 -9
  40. package/dist/components/auth/RegisterForm.d.ts +0 -13
  41. package/dist/components/cards/ArtistCard/ArtistCard.d.ts +0 -22
  42. package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts +0 -46
  43. package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts +0 -83
  44. package/dist/components/cards/ArtistCard/index.d.ts +0 -8
  45. package/dist/components/cards/CardBase/CardBase.d.ts +0 -45
  46. package/dist/components/cards/CardBase/CardBase.types.d.ts +0 -70
  47. package/dist/components/cards/CardBase/CardBase.variants.d.ts +0 -38
  48. package/dist/components/cards/CardBase/index.d.ts +0 -8
  49. package/dist/components/cards/CategoryCard/CategoryCard.d.ts +0 -18
  50. package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts +0 -38
  51. package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts +0 -21
  52. package/dist/components/cards/CategoryCard/index.d.ts +0 -7
  53. package/dist/components/cards/EventCard/EventCard.d.ts +0 -19
  54. package/dist/components/cards/EventCard/EventCard.types.d.ts +0 -47
  55. package/dist/components/cards/EventCard/EventCard.variants.d.ts +0 -70
  56. package/dist/components/cards/EventCard/index.d.ts +0 -7
  57. package/dist/components/cards/PromoCard/PromoCard.d.ts +0 -20
  58. package/dist/components/cards/PromoCard/PromoCard.types.d.ts +0 -42
  59. package/dist/components/cards/PromoCard/PromoCard.variants.d.ts +0 -35
  60. package/dist/components/cards/PromoCard/index.d.ts +0 -7
  61. package/dist/components/cards/TicketCard/TicketCard.d.ts +0 -19
  62. package/dist/components/cards/TicketCard/TicketCard.types.d.ts +0 -55
  63. package/dist/components/cards/TicketCard/TicketCard.variants.d.ts +0 -71
  64. package/dist/components/cards/TicketCard/index.d.ts +0 -7
  65. package/dist/components/cards/VenueCard/VenueCard.d.ts +0 -21
  66. package/dist/components/cards/VenueCard/VenueCard.types.d.ts +0 -46
  67. package/dist/components/cards/VenueCard/VenueCard.variants.d.ts +0 -60
  68. package/dist/components/cards/VenueCard/index.d.ts +0 -8
  69. package/dist/components/cards/index.d.ts +0 -19
  70. package/dist/components/checkbox/Checkbox.d.ts +0 -22
  71. package/dist/components/checkbox/Checkbox.types.d.ts +0 -68
  72. package/dist/components/checkbox/checkbox-variants.d.ts +0 -13
  73. package/dist/components/checkbox/index.d.ts +0 -3
  74. package/dist/components/containers/Card.d.ts +0 -75
  75. package/dist/components/containers/Section.d.ts +0 -31
  76. package/dist/components/containers/Surface.d.ts +0 -28
  77. package/dist/components/containers/index.d.ts +0 -9
  78. package/dist/components/controls/LanguageSelector.d.ts +0 -17
  79. package/dist/components/data/List.d.ts +0 -12
  80. package/dist/components/data/Table.d.ts +0 -14
  81. package/dist/components/data/Timeline.d.ts +0 -13
  82. package/dist/components/data/data-list/DataList.d.ts +0 -29
  83. package/dist/components/data/data-list/DataList.types.d.ts +0 -43
  84. package/dist/components/data/data-list/DataListItem.d.ts +0 -20
  85. package/dist/components/data/data-list/DataListLabel.d.ts +0 -19
  86. package/dist/components/data/data-list/DataListValue.d.ts +0 -18
  87. package/dist/components/data/data-list/index.d.ts +0 -10
  88. package/dist/components/data/empty-state/EmptyState.d.ts +0 -31
  89. package/dist/components/data/empty-state/EmptyState.types.d.ts +0 -51
  90. package/dist/components/data/empty-state/EmptyStateAction.d.ts +0 -17
  91. package/dist/components/data/empty-state/EmptyStateDescription.d.ts +0 -17
  92. package/dist/components/data/empty-state/EmptyStateIcon.d.ts +0 -22
  93. package/dist/components/data/empty-state/EmptyStateTitle.d.ts +0 -17
  94. package/dist/components/data/empty-state/index.d.ts +0 -10
  95. package/dist/components/data/index.d.ts +0 -9
  96. package/dist/components/data/skeleton/Skeleton.d.ts +0 -24
  97. package/dist/components/data/skeleton/Skeleton.types.d.ts +0 -12
  98. package/dist/components/data/skeleton/index.d.ts +0 -6
  99. package/dist/components/data/table/Table.d.ts +0 -33
  100. package/dist/components/data/table/Table.types.d.ts +0 -264
  101. package/dist/components/data/table/TableBody.d.ts +0 -13
  102. package/dist/components/data/table/TableCell.d.ts +0 -13
  103. package/dist/components/data/table/TableEmpty.d.ts +0 -13
  104. package/dist/components/data/table/TableExpandableContent.d.ts +0 -14
  105. package/dist/components/data/table/TableHead.d.ts +0 -13
  106. package/dist/components/data/table/TableHeader.d.ts +0 -13
  107. package/dist/components/data/table/TableLoadingState.d.ts +0 -13
  108. package/dist/components/data/table/TableRow.d.ts +0 -13
  109. package/dist/components/data/table/TableSortIcon.d.ts +0 -14
  110. package/dist/components/data/table/index.d.ts +0 -17
  111. package/dist/components/drawer/Drawer.d.ts +0 -41
  112. package/dist/components/drawer/Drawer.types.d.ts +0 -75
  113. package/dist/components/drawer/drawer-variants.d.ts +0 -17
  114. package/dist/components/drawer/index.d.ts +0 -8
  115. package/dist/components/dropdown/Dropdown.d.ts +0 -38
  116. package/dist/components/dropdown/Dropdown.types.d.ts +0 -82
  117. package/dist/components/dropdown/dropdown-variants.d.ts +0 -33
  118. package/dist/components/feedback/ConsentBanner.d.ts +0 -8
  119. package/dist/components/feedback/Progress.d.ts +0 -8
  120. package/dist/components/feedback/Skeleton.d.ts +0 -6
  121. package/dist/components/filters/DateRangePicker.d.ts +0 -21
  122. package/dist/components/filters/FilterBar.d.ts +0 -55
  123. package/dist/components/filters/FilterSelect.d.ts +0 -23
  124. package/dist/components/filters/PriceRangeSlider.d.ts +0 -27
  125. package/dist/components/filters/SearchFilters.d.ts +0 -32
  126. package/dist/components/filters/SearchInput.d.ts +0 -16
  127. package/dist/components/filters/types.d.ts +0 -48
  128. package/dist/components/icon/Icon.d.ts +0 -32
  129. package/dist/components/icon/Icon.types.d.ts +0 -7
  130. package/dist/components/icon/index.d.ts +0 -4
  131. package/dist/components/icons/TrendingIcon.d.ts +0 -6
  132. package/dist/components/image/Image.d.ts +0 -48
  133. package/dist/components/input/Input.d.ts +0 -20
  134. package/dist/components/input/Input.types.d.ts +0 -38
  135. package/dist/components/input/index.d.ts +0 -3
  136. package/dist/components/input/input-variants.d.ts +0 -14
  137. package/dist/components/input/legacy/input.d.ts +0 -11
  138. package/dist/components/layout/Box.d.ts +0 -111
  139. package/dist/components/layout/Column.d.ts +0 -6
  140. package/dist/components/layout/Container.d.ts +0 -31
  141. package/dist/components/layout/Flex.d.ts +0 -50
  142. package/dist/components/layout/Footer.d.ts +0 -9
  143. package/dist/components/layout/Grid.d.ts +0 -60
  144. package/dist/components/layout/ModeHero.d.ts +0 -10
  145. package/dist/components/layout/Navbar.d.ts +0 -9
  146. package/dist/components/layout/Row.d.ts +0 -28
  147. package/dist/components/layout/Section.d.ts +0 -10
  148. package/dist/components/layout/Stack.d.ts +0 -38
  149. package/dist/components/layout/Surface.d.ts +0 -21
  150. package/dist/components/layout/index.d.ts +0 -22
  151. package/dist/components/layout/layout.types.d.ts +0 -107
  152. package/dist/components/menus/DropdownMenu.d.ts +0 -27
  153. package/dist/components/menus/NavigationMenu.d.ts +0 -12
  154. package/dist/components/menus/Tabs.d.ts +0 -7
  155. package/dist/components/menus/context-menu/ContextMenuContent.d.ts +0 -22
  156. package/dist/components/menus/context-menu/ContextMenuGroup.d.ts +0 -14
  157. package/dist/components/menus/context-menu/ContextMenuItem.d.ts +0 -14
  158. package/dist/components/menus/context-menu/ContextMenuLabel.d.ts +0 -14
  159. package/dist/components/menus/context-menu/ContextMenuRoot.d.ts +0 -47
  160. package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts +0 -14
  161. package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts +0 -16
  162. package/dist/components/menus/context-menu/index.d.ts +0 -12
  163. package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts +0 -18
  164. package/dist/components/menus/dropdown/DropdownMenuContent.d.ts +0 -15
  165. package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts +0 -12
  166. package/dist/components/menus/dropdown/DropdownMenuItem.d.ts +0 -30
  167. package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts +0 -17
  168. package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts +0 -24
  169. package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts +0 -18
  170. package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts +0 -33
  171. package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts +0 -13
  172. package/dist/components/menus/dropdown/DropdownMenuSub.d.ts +0 -10
  173. package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts +0 -13
  174. package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts +0 -13
  175. package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts +0 -14
  176. package/dist/components/menus/dropdown/index.d.ts +0 -18
  177. package/dist/components/menus/hover-card/HoverCardContent.d.ts +0 -14
  178. package/dist/components/menus/hover-card/HoverCardRoot.d.ts +0 -20
  179. package/dist/components/menus/hover-card/HoverCardTrigger.d.ts +0 -13
  180. package/dist/components/menus/hover-card/index.d.ts +0 -8
  181. package/dist/components/menus/index.d.ts +0 -9
  182. package/dist/components/menus/popover/PopoverArrow.d.ts +0 -17
  183. package/dist/components/menus/popover/PopoverContent.d.ts +0 -24
  184. package/dist/components/menus/popover/PopoverRoot.d.ts +0 -43
  185. package/dist/components/menus/popover/PopoverTrigger.d.ts +0 -17
  186. package/dist/components/menus/popover/index.d.ts +0 -9
  187. package/dist/components/modal/Modal.d.ts +0 -70
  188. package/dist/components/modal/modal-variants.d.ts +0 -26
  189. package/dist/components/modals/ConfirmDialog.d.ts +0 -27
  190. package/dist/components/modals/CustomDialog.d.ts +0 -10
  191. package/dist/components/modals/Modal.d.ts +0 -19
  192. package/dist/components/modals/ModalProvider.d.ts +0 -16
  193. package/dist/components/modals/SimpleModal.d.ts +0 -11
  194. package/dist/components/navigation/Breadcrumbs.d.ts +0 -12
  195. package/dist/components/navigation/Pagination.d.ts +0 -10
  196. package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +0 -52
  197. package/dist/components/navigation/breadcrumbs/index.d.ts +0 -5
  198. package/dist/components/navigation/index.d.ts +0 -10
  199. package/dist/components/navigation/pagination/Pagination.d.ts +0 -60
  200. package/dist/components/navigation/pagination/index.d.ts +0 -5
  201. package/dist/components/navigation/segmented-control/SegmentedControl.d.ts +0 -43
  202. package/dist/components/navigation/segmented-control/index.d.ts +0 -5
  203. package/dist/components/navigation/stepper/Stepper.d.ts +0 -129
  204. package/dist/components/navigation/stepper/index.d.ts +0 -5
  205. package/dist/components/navigation/tabs/Tabs.d.ts +0 -73
  206. package/dist/components/navigation/tabs/index.d.ts +0 -5
  207. package/dist/components/notifications/NotificationCenter.DismissAll.d.ts +0 -21
  208. package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts +0 -23
  209. package/dist/components/notifications/NotificationCenter.Item.d.ts +0 -24
  210. package/dist/components/notifications/NotificationCenter.List.d.ts +0 -22
  211. package/dist/components/notifications/NotificationCenter.Panel.d.ts +0 -32
  212. package/dist/components/notifications/NotificationCenter.Provider.d.ts +0 -31
  213. package/dist/components/notifications/NotificationCenter.Trigger.d.ts +0 -15
  214. package/dist/components/notifications/NotificationCenter.d.ts +0 -27
  215. package/dist/components/notifications/NotificationCenter.types.d.ts +0 -89
  216. package/dist/components/notifications/index.d.ts +0 -23
  217. package/dist/components/notifications/useNotificationCenter.d.ts +0 -47
  218. package/dist/components/overlays/Backdrop.d.ts +0 -24
  219. package/dist/components/overlays/Dialog.d.ts +0 -66
  220. package/dist/components/overlays/Modal.d.ts +0 -60
  221. package/dist/components/overlays/OverlayPortal.d.ts +0 -22
  222. package/dist/components/overlays/Popover.d.ts +0 -30
  223. package/dist/components/overlays/Portal.d.ts +0 -29
  224. package/dist/components/overlays/Toast.d.ts +0 -36
  225. package/dist/components/overlays/ToastProvider.d.ts +0 -58
  226. package/dist/components/overlays/ToastViewport.d.ts +0 -27
  227. package/dist/components/overlays/Tooltip.d.ts +0 -28
  228. package/dist/components/overlays/index.d.ts +0 -13
  229. package/dist/components/overlays/utils/FocusLock.d.ts +0 -30
  230. package/dist/components/overlays/utils/ScrollLock.d.ts +0 -11
  231. package/dist/components/overlays/utils/positioning.d.ts +0 -68
  232. package/dist/components/primitives/Badge.d.ts +0 -9
  233. package/dist/components/primitives/Button.d.ts +0 -1
  234. package/dist/components/primitives/Card.d.ts +0 -1
  235. package/dist/components/primitives/Divider.d.ts +0 -7
  236. package/dist/components/primitives/Input.d.ts +0 -4
  237. package/dist/components/primitives/Label.d.ts +0 -1
  238. package/dist/components/primitives/Link.d.ts +0 -13
  239. package/dist/components/primitives/ThemeSwitch.d.ts +0 -9
  240. package/dist/components/radio/Radio.d.ts +0 -23
  241. package/dist/components/radio/Radio.types.d.ts +0 -63
  242. package/dist/components/radio/RadioGroup.d.ts +0 -20
  243. package/dist/components/radio/RadioGroup.types.d.ts +0 -61
  244. package/dist/components/radio/index.d.ts +0 -5
  245. package/dist/components/radio/radio-variants.d.ts +0 -13
  246. package/dist/components/search/SearchBar.d.ts +0 -10
  247. package/dist/components/sections/ArticlesSection.d.ts +0 -25
  248. package/dist/components/sections/CTASection.d.ts +0 -37
  249. package/dist/components/sections/FeatureSection.d.ts +0 -33
  250. package/dist/components/sections/HeroSection.d.ts +0 -27
  251. package/dist/components/sections/TrendingSection.d.ts +0 -28
  252. package/dist/components/select/Select.d.ts +0 -38
  253. package/dist/components/select/Select.types.d.ts +0 -107
  254. package/dist/components/select/index.d.ts +0 -5
  255. package/dist/components/select/legacy/select.d.ts +0 -11
  256. package/dist/components/select/select-variants.d.ts +0 -32
  257. package/dist/components/skeletons/EventCardSkeleton.d.ts +0 -6
  258. package/dist/components/skeletons/VenueCardSkeleton.d.ts +0 -6
  259. package/dist/components/switch/Switch.d.ts +0 -24
  260. package/dist/components/switch/Switch.types.d.ts +0 -53
  261. package/dist/components/switch/index.d.ts +0 -3
  262. package/dist/components/switch/switch-variants.d.ts +0 -34
  263. package/dist/components/textarea/Textarea.d.ts +0 -21
  264. package/dist/components/textarea/Textarea.types.d.ts +0 -40
  265. package/dist/components/textarea/index.d.ts +0 -3
  266. package/dist/components/textarea/legacy/textarea.d.ts +0 -11
  267. package/dist/components/textarea/textarea-variants.d.ts +0 -14
  268. package/dist/components/toasts/Toast.d.ts +0 -12
  269. package/dist/components/toasts/ToastProvider.d.ts +0 -26
  270. package/dist/components/ui/alert.d.ts +0 -9
  271. package/dist/components/ui/body.d.ts +0 -12
  272. package/dist/components/ui/button.d.ts +0 -13
  273. package/dist/components/ui/caption.d.ts +0 -11
  274. package/dist/components/ui/card.d.ts +0 -8
  275. package/dist/components/ui/code.d.ts +0 -11
  276. package/dist/components/ui/dialog.d.ts +0 -19
  277. package/dist/components/ui/display.d.ts +0 -12
  278. package/dist/components/ui/field.d.ts +0 -45
  279. package/dist/components/ui/heading.d.ts +0 -12
  280. package/dist/components/ui/label.d.ts +0 -12
  281. package/dist/components/ui/lead.d.ts +0 -11
  282. package/dist/components/ui/text.d.ts +0 -18
  283. package/dist/components/ui/toast.d.ts +0 -15
  284. package/dist/components/ui/toaster.d.ts +0 -1
  285. package/dist/components/ui/tooltip.d.ts +0 -7
  286. package/dist/dark-Cvoy1uFT.js +0 -30
  287. package/dist/dark-OOhiqt1q.cjs +0 -2
  288. package/dist/default-BKgH1D9-.js +0 -8
  289. package/dist/default-Ddg7Haf2.cjs +0 -2
  290. package/dist/hooks/use-toast.d.ts +0 -44
  291. package/dist/hooks/useDebounce.d.ts +0 -19
  292. package/dist/hooks/useModal.d.ts +0 -19
  293. package/dist/hooks/useToast.d.ts +0 -26
  294. package/dist/icons/IconArrowRight.d.ts +0 -6
  295. package/dist/icons/IconCalendar.d.ts +0 -6
  296. package/dist/icons/IconCheck.d.ts +0 -6
  297. package/dist/icons/IconChevronDown.d.ts +0 -6
  298. package/dist/icons/IconChevronRight.d.ts +0 -6
  299. package/dist/icons/IconClose.d.ts +0 -6
  300. package/dist/icons/IconError.d.ts +0 -6
  301. package/dist/icons/IconInfo.d.ts +0 -6
  302. package/dist/icons/IconLocation.d.ts +0 -6
  303. package/dist/icons/IconMenu.d.ts +0 -6
  304. package/dist/icons/IconSearch.d.ts +0 -6
  305. package/dist/icons/IconSuccess.d.ts +0 -6
  306. package/dist/icons/IconWarning.d.ts +0 -6
  307. package/dist/icons/icon.types.d.ts +0 -25
  308. package/dist/icons/index.d.ts +0 -34
  309. package/dist/lib/a11y.d.ts +0 -15
  310. package/dist/lib/responsive-props.d.ts +0 -63
  311. package/dist/lib/utils.d.ts +0 -8
  312. package/dist/motion-CzQhSEqk.js +0 -738
  313. package/dist/motion-DJx1TbXJ.cjs +0 -2
  314. package/dist/theme/ThemeProvider.d.ts +0 -55
  315. package/dist/theme/applyMode.d.ts +0 -42
  316. package/dist/theme/colors.d.ts +0 -6
  317. package/dist/theme/loader.d.ts +0 -63
  318. package/dist/theme/motion/gestures.d.ts +0 -76
  319. package/dist/theme/motion/useReducedMotion.d.ts +0 -11
  320. package/dist/theme/motion.d.ts +0 -127
  321. package/dist/theme/registry.d.ts +0 -70
  322. package/dist/theme/schema.d.ts +0 -124
  323. package/dist/theme/spacing.d.ts +0 -34
  324. package/dist/theme/typography.d.ts +0 -45
  325. package/dist/themes/brand.d.ts +0 -6
  326. package/dist/themes/brand_engine.d.ts +0 -108
  327. package/dist/themes/dark.d.ts +0 -6
  328. package/dist/themes/default.d.ts +0 -6
  329. package/dist/themes/index.d.ts +0 -24
  330. package/dist/themes/minimal.d.ts +0 -6
  331. package/dist/themes/neon.d.ts +0 -6
  332. package/dist/themes/types.d.ts +0 -278
  333. package/dist/tokens/components/alert.d.ts +0 -74
  334. package/dist/tokens/components/button.d.ts +0 -130
  335. package/dist/tokens/components/card.d.ts +0 -91
  336. package/dist/tokens/components/checkbox.d.ts +0 -161
  337. package/dist/tokens/components/data.d.ts +0 -227
  338. package/dist/tokens/components/domain.d.ts +0 -379
  339. package/dist/tokens/components/dropdown.d.ts +0 -146
  340. package/dist/tokens/components/icon.d.ts +0 -57
  341. package/dist/tokens/components/index.d.ts +0 -31
  342. package/dist/tokens/components/input.d.ts +0 -284
  343. package/dist/tokens/components/menu.d.ts +0 -114
  344. package/dist/tokens/components/motion.d.ts +0 -103
  345. package/dist/tokens/components/navigation.d.ts +0 -181
  346. package/dist/tokens/components/notifications.d.ts +0 -159
  347. package/dist/tokens/components/overlay.d.ts +0 -227
  348. package/dist/tokens/components/popover.d.ts +0 -84
  349. package/dist/tokens/components/radio.d.ts +0 -149
  350. package/dist/tokens/components/section.d.ts +0 -41
  351. package/dist/tokens/components/surface.d.ts +0 -94
  352. package/dist/tokens/components/switch.d.ts +0 -208
  353. package/dist/tokens/components/text.d.ts +0 -68
  354. package/dist/tokens/components/toast.d.ts +0 -146
  355. package/dist/tokens/components/tooltip.d.ts +0 -52
  356. package/dist/tokens/css-variables.d.ts +0 -251
  357. package/dist/tokens/motion/v2.d.ts +0 -342
  358. package/dist/tokens/motion.d.ts +0 -485
  359. package/dist/tokens/opacity.d.ts +0 -22
  360. package/dist/tokens/radius.d.ts +0 -161
  361. package/dist/tokens/shadows.d.ts +0 -230
  362. package/dist/tokens/spacing.d.ts +0 -238
  363. package/dist/tokens/theme.d.ts +0 -119
  364. package/dist/tokens/typography.d.ts +0 -460
  365. package/dist/typography-C-Nb4y0o.cjs +0 -2
  366. package/dist/typography-DHym9KAP.js +0 -1196
@@ -1,8 +1,528 @@
1
- export * from './applyMode';
2
- export * from './colors';
3
- export * from './loader';
4
- export * from './registry';
5
- export * from './schema';
6
- export * from './spacing';
7
- export { ThemeProvider, type ThemeProviderProps, useTheme } from './ThemeProvider';
8
- export * from './typography';
1
+ import { C as ColorScale, a as ColorTokens, S as SurfaceColors, b as SemanticColors, T as TextColors, M as Mode, B as BaseColorTokens } from '../colors-DPNI96bB.js';
2
+ export { c as ChartColors, d as cssVariableColorTokens, t as tailwindThemeColors } from '../colors-DPNI96bB.js';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
+ import React__default from 'react';
5
+
6
+ /**
7
+ * Theme Override Types
8
+ *
9
+ * Defines types for theme overrides that can be applied to the token system.
10
+ */
11
+
12
+ /**
13
+ * Theme override configuration
14
+ * Allows partial overrides of token subsets
15
+ */
16
+ interface ThemeOverride {
17
+ /**
18
+ * Theme name
19
+ */
20
+ name: string;
21
+ /**
22
+ * Theme description
23
+ */
24
+ description?: string;
25
+ /**
26
+ * Override primary color scale
27
+ */
28
+ primaryColors?: Partial<ColorScale>;
29
+ /**
30
+ * Override accent color scale
31
+ */
32
+ accentColors?: Partial<ColorScale>;
33
+ /**
34
+ * Override secondary color scale
35
+ */
36
+ secondaryColors?: Partial<ColorScale>;
37
+ /**
38
+ * Override base and related color tokens (for day mode)
39
+ * Uses ColorTokens to allow primary/accent overrides in addition to base colors.
40
+ */
41
+ baseColorsDay?: Partial<ColorTokens>;
42
+ /**
43
+ * Override base and related color tokens (for night mode)
44
+ * Uses ColorTokens to allow primary/accent overrides in addition to base colors.
45
+ */
46
+ baseColorsNight?: Partial<ColorTokens>;
47
+ /**
48
+ * Override surface colors (for day mode)
49
+ */
50
+ surfaceColorsDay?: Partial<SurfaceColors>;
51
+ /**
52
+ * Override surface colors (for night mode)
53
+ */
54
+ surfaceColorsNight?: Partial<SurfaceColors>;
55
+ /**
56
+ * Override semantic colors (for day mode)
57
+ */
58
+ semanticColorsDay?: Partial<SemanticColors>;
59
+ /**
60
+ * Override semantic colors (for night mode)
61
+ */
62
+ semanticColorsNight?: Partial<SemanticColors>;
63
+ /**
64
+ * Override text colors (for day mode)
65
+ */
66
+ textColorsDay?: Partial<TextColors>;
67
+ /**
68
+ * Override text colors (for night mode)
69
+ */
70
+ textColorsNight?: Partial<TextColors>;
71
+ }
72
+ /**
73
+ * Theme name type
74
+ */
75
+ type ThemeName = "default" | "dark" | "brand";
76
+
77
+ /**
78
+ * Get initial mode from various sources
79
+ * Checks in order: DOM attribute, localStorage, system preference, default
80
+ */
81
+ declare function getInitialMode(defaultMode?: Mode, storageKey?: string, enableSystem?: boolean): Mode;
82
+ /**
83
+ * Load and cache theme override
84
+ */
85
+ declare function loadThemeOverride(themeName: "default" | "dark" | "brand"): Promise<ThemeOverride | null>;
86
+ /**
87
+ * Apply theme and mode to document
88
+ * Updates DOM attributes, classes, and CSS variables from tokens with theme overrides
89
+ * Also applies brand overrides if a brand is specified
90
+ */
91
+ declare function applyDocumentTheme(mode: Mode, themeName?: "default" | "dark" | "brand", brandId?: string | null): Promise<void>;
92
+ /**
93
+ * Apply mode to document (backward compatible)
94
+ * Updates DOM attributes, classes, and CSS variables from tokens
95
+ */
96
+ declare function applyDocumentMode(mode: Mode): Promise<void>;
97
+ /**
98
+ * Get initial theme from various sources
99
+ */
100
+ declare function getInitialTheme(defaultTheme?: "default" | "dark" | "brand", storageKey?: string): "default" | "dark" | "brand";
101
+ /**
102
+ * Persist mode to localStorage
103
+ */
104
+ declare function persistMode(mode: Mode, storageKey?: string): void;
105
+ /**
106
+ * Persist theme to localStorage
107
+ */
108
+ declare function persistTheme(theme: "default" | "dark" | "brand", storageKey?: string): void;
109
+ /**
110
+ * Get initial brand from various sources
111
+ */
112
+ declare function getInitialBrand(defaultBrand?: string | null, storageKey?: string): string | null;
113
+ /**
114
+ * Persist brand to localStorage
115
+ */
116
+ declare function persistBrand(brandId: string | null, storageKey?: string): void;
117
+
118
+ /**
119
+ * Theme Schema
120
+ *
121
+ * Strict TypeScript schema for theme objects with validation.
122
+ * Ensures all themes conform to the token system and are type-safe.
123
+ */
124
+
125
+ /**
126
+ * Theme metadata
127
+ */
128
+ interface ThemeMetadata {
129
+ /**
130
+ * Unique theme identifier (kebab-case)
131
+ * Example: "ocean-blue", "sunset-orange"
132
+ */
133
+ id: string;
134
+ /**
135
+ * Human-readable theme name
136
+ * Example: "Ocean Blue", "Sunset Orange"
137
+ */
138
+ name: string;
139
+ /**
140
+ * Theme description
141
+ */
142
+ description?: string;
143
+ /**
144
+ * Theme category
145
+ * - "default": Standard themes
146
+ * - "brand": Brand-specific themes
147
+ * - "seasonal": Seasonal/holiday themes
148
+ * - "custom": User-created themes
149
+ */
150
+ category?: "default" | "brand" | "seasonal" | "custom";
151
+ /**
152
+ * Theme author (optional)
153
+ */
154
+ author?: string;
155
+ /**
156
+ * Theme version (semver)
157
+ */
158
+ version?: string;
159
+ /**
160
+ * Preview image URL (optional)
161
+ */
162
+ previewImage?: string;
163
+ }
164
+ /**
165
+ * Complete theme schema
166
+ * Extends ThemeOverride with metadata and validation
167
+ */
168
+ interface ThemeSchema extends ThemeMetadata {
169
+ /**
170
+ * Override primary color scale
171
+ * Partial override - only specified values override base tokens
172
+ */
173
+ primaryColors?: Partial<ColorScale>;
174
+ /**
175
+ * Override accent color scale
176
+ */
177
+ accentColors?: Partial<ColorScale>;
178
+ /**
179
+ * Override secondary color scale
180
+ */
181
+ secondaryColors?: Partial<ColorScale>;
182
+ /**
183
+ * Override base colors (for day mode)
184
+ */
185
+ baseColorsDay?: Partial<BaseColorTokens>;
186
+ /**
187
+ * Override base colors (for night mode)
188
+ */
189
+ baseColorsNight?: Partial<BaseColorTokens>;
190
+ /**
191
+ * Override surface colors (for day mode)
192
+ */
193
+ surfaceColorsDay?: Partial<SurfaceColors>;
194
+ /**
195
+ * Override surface colors (for night mode)
196
+ */
197
+ surfaceColorsNight?: Partial<SurfaceColors>;
198
+ /**
199
+ * Override semantic colors (for day mode)
200
+ */
201
+ semanticColorsDay?: Partial<SemanticColors>;
202
+ /**
203
+ * Override semantic colors (for night mode)
204
+ */
205
+ semanticColorsNight?: Partial<SemanticColors>;
206
+ /**
207
+ * Override text colors (for day mode)
208
+ */
209
+ textColorsDay?: Partial<TextColors>;
210
+ /**
211
+ * Override text colors (for night mode)
212
+ */
213
+ textColorsNight?: Partial<TextColors>;
214
+ }
215
+ /**
216
+ * Theme validation result
217
+ */
218
+ interface ThemeValidationResult {
219
+ /**
220
+ * Whether theme is valid
221
+ */
222
+ valid: boolean;
223
+ /**
224
+ * Validation errors
225
+ */
226
+ errors: string[];
227
+ /**
228
+ * Validation warnings
229
+ */
230
+ warnings: string[];
231
+ }
232
+ /**
233
+ * Validate theme schema
234
+ *
235
+ * @param theme - Theme to validate
236
+ * @returns Validation result
237
+ */
238
+ declare function validateThemeSchema(theme: unknown): ThemeValidationResult;
239
+ /**
240
+ * Type guard to check if object is ThemeSchema
241
+ */
242
+ declare function isThemeSchema(obj: unknown): obj is ThemeSchema;
243
+ /**
244
+ * Create a minimal valid theme schema
245
+ * Useful for CLI scaffolding
246
+ */
247
+ declare function createMinimalThemeSchema(id: string, name: string): ThemeSchema;
248
+
249
+ /**
250
+ * Theme Loader
251
+ *
252
+ * Loads themes from registry with error handling and fallback logic.
253
+ * Provides async loading support for dynamic themes.
254
+ */
255
+
256
+ /**
257
+ * Theme loader options
258
+ */
259
+ interface ThemeLoaderOptions {
260
+ /**
261
+ * Fallback theme ID if loading fails
262
+ */
263
+ fallbackThemeId?: string;
264
+ /**
265
+ * Whether to validate theme schema
266
+ */
267
+ validate?: boolean;
268
+ /**
269
+ * Whether to throw errors or return fallback
270
+ */
271
+ throwOnError?: boolean;
272
+ }
273
+ /**
274
+ * Theme loader result
275
+ */
276
+ interface ThemeLoaderResult {
277
+ /**
278
+ * Loaded theme
279
+ */
280
+ theme: ThemeSchema;
281
+ /**
282
+ * Whether fallback was used
283
+ */
284
+ usedFallback: boolean;
285
+ /**
286
+ * Validation warnings (if validation enabled)
287
+ */
288
+ warnings: string[];
289
+ }
290
+ /**
291
+ * Load theme with error handling
292
+ *
293
+ * @param themeId - Theme ID to load
294
+ * @param options - Loader options
295
+ * @returns Theme loader result
296
+ */
297
+ declare function loadThemeSafe(themeId: string, options?: ThemeLoaderOptions): Promise<ThemeLoaderResult>;
298
+ /**
299
+ * Preload multiple themes
300
+ * Useful for prefetching themes that might be needed
301
+ *
302
+ * @param themeIds - Array of theme IDs to preload
303
+ */
304
+ declare function preloadThemes(themeIds: string[]): Promise<void>;
305
+ /**
306
+ * Get all available theme IDs
307
+ *
308
+ * @returns Array of theme IDs
309
+ */
310
+ declare function getAvailableThemeIds(): string[];
311
+ /**
312
+ * Check if theme can be loaded
313
+ *
314
+ * @param themeId - Theme ID to check
315
+ * @returns Whether theme can be loaded
316
+ */
317
+ declare function canLoadTheme(themeId: string): Promise<boolean>;
318
+
319
+ /**
320
+ * Theme Registry
321
+ *
322
+ * Central registry for all available themes.
323
+ * Provides metadata, dynamic imports, and theme discovery.
324
+ */
325
+
326
+ /**
327
+ * Theme registry entry
328
+ */
329
+ interface ThemeRegistryEntry {
330
+ /**
331
+ * Theme metadata
332
+ */
333
+ metadata: ThemeMetadata;
334
+ /**
335
+ * Dynamic import function for theme
336
+ */
337
+ loader: () => Promise<{
338
+ default: ThemeSchema;
339
+ }>;
340
+ /**
341
+ * Whether theme is enabled
342
+ */
343
+ enabled?: boolean;
344
+ }
345
+ /**
346
+ * Theme registry
347
+ * Maps theme IDs to their registry entries
348
+ */
349
+ declare const themeRegistry: Map<string, ThemeRegistryEntry>;
350
+ /**
351
+ * Register a theme in the registry
352
+ *
353
+ * @param entry - Theme registry entry
354
+ */
355
+ declare function registerTheme(entry: ThemeRegistryEntry): void;
356
+ /**
357
+ * Get theme metadata by ID
358
+ *
359
+ * @param id - Theme ID
360
+ * @returns Theme metadata or undefined
361
+ */
362
+ declare function getThemeMetadata(id: string): ThemeMetadata | undefined;
363
+ /**
364
+ * Get all registered themes
365
+ *
366
+ * @returns Array of theme metadata
367
+ */
368
+ declare function getAllThemes(): ThemeMetadata[];
369
+ /**
370
+ * Get themes by category
371
+ *
372
+ * @param category - Theme category
373
+ * @returns Array of theme metadata
374
+ */
375
+ declare function getThemesByCategory(category: "default" | "brand" | "seasonal" | "custom"): ThemeMetadata[];
376
+ /**
377
+ * Check if theme exists
378
+ *
379
+ * @param id - Theme ID
380
+ * @returns Whether theme exists
381
+ */
382
+ declare function themeExists(id: string): boolean;
383
+ /**
384
+ * Load theme by ID
385
+ *
386
+ * @param id - Theme ID
387
+ * @returns Theme schema
388
+ */
389
+ declare function loadTheme(id: string): Promise<ThemeSchema>;
390
+ /**
391
+ * Initialize default themes
392
+ * Registers built-in themes (default, dark, brand)
393
+ */
394
+ declare function initializeDefaultThemes(): void;
395
+
396
+ type SpacingScale = {
397
+ none: string;
398
+ xs: string;
399
+ sm: string;
400
+ md: string;
401
+ lg: string;
402
+ xl: string;
403
+ "2xl": string;
404
+ "3xl": string;
405
+ "4xl": string;
406
+ "5xl": string;
407
+ };
408
+ declare const spacing: SpacingScale;
409
+ declare const borderRadius: {
410
+ none: string;
411
+ sm: string;
412
+ base: string;
413
+ md: string;
414
+ lg: string;
415
+ xl: string;
416
+ "2xl": string;
417
+ "3xl": string;
418
+ full: string;
419
+ };
420
+ declare const shadows: {
421
+ none: string;
422
+ sm: string;
423
+ base: string;
424
+ md: string;
425
+ lg: string;
426
+ xl: string;
427
+ "2xl": string;
428
+ inner: string;
429
+ };
430
+
431
+ /**
432
+ * Theme Context
433
+ */
434
+ interface ThemeContextValue {
435
+ mode: Mode;
436
+ theme: ThemeName;
437
+ brand: string | null;
438
+ reduceMotion: boolean;
439
+ enableAnimations: boolean;
440
+ setMode: (mode: Mode) => void;
441
+ setTheme: (theme: ThemeName) => void;
442
+ setBrand: (brandId: string | null) => Promise<void>;
443
+ toggleMode: () => void;
444
+ setReduceMotion: (reduce: boolean) => void;
445
+ setEnableAnimations: (enable: boolean) => void;
446
+ }
447
+ /**
448
+ * Theme Provider Props
449
+ */
450
+ interface ThemeProviderProps {
451
+ children: React__default.ReactNode;
452
+ defaultMode?: Mode;
453
+ defaultTheme?: ThemeName;
454
+ defaultBrand?: string | null;
455
+ storageKey?: string;
456
+ themeStorageKey?: string;
457
+ brandStorageKey?: string;
458
+ attribute?: string;
459
+ enableSystem?: boolean;
460
+ /**
461
+ * Override reduced motion preference
462
+ */
463
+ reduceMotion?: boolean;
464
+ /**
465
+ * Global animation toggle
466
+ */
467
+ enableAnimations?: boolean;
468
+ }
469
+ declare function ThemeProvider({ children, defaultMode, defaultTheme, defaultBrand, storageKey, themeStorageKey, brandStorageKey, attribute, enableSystem, reduceMotion: reduceMotionOverride, enableAnimations: enableAnimationsOverride, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
470
+ /**
471
+ * useTheme Hook
472
+ *
473
+ * Provides access to theme context and theme control functions.
474
+ *
475
+ * @example
476
+ * ```tsx
477
+ * const { mode, theme, brand, setMode, setTheme, setBrand, toggleMode } = useTheme();
478
+ * ```
479
+ */
480
+ declare function useTheme(): ThemeContextValue;
481
+
482
+ type FontScale = {
483
+ xs: string;
484
+ sm: string;
485
+ base: string;
486
+ lg: string;
487
+ xl: string;
488
+ "2xl": string;
489
+ "3xl": string;
490
+ "4xl": string;
491
+ "5xl": string;
492
+ "6xl": string;
493
+ };
494
+ declare const fontFamilies: {
495
+ sans: string;
496
+ serif: string;
497
+ mono: string;
498
+ };
499
+ declare const fontSizes: FontScale;
500
+ declare const fontWeights: {
501
+ thin: string;
502
+ extralight: string;
503
+ light: string;
504
+ normal: string;
505
+ medium: string;
506
+ semibold: string;
507
+ bold: string;
508
+ extrabold: string;
509
+ black: string;
510
+ };
511
+ declare const lineHeights: {
512
+ none: string;
513
+ tight: string;
514
+ snug: string;
515
+ normal: string;
516
+ relaxed: string;
517
+ loose: string;
518
+ };
519
+ declare const letterSpacings: {
520
+ tighter: string;
521
+ tight: string;
522
+ normal: string;
523
+ wide: string;
524
+ wider: string;
525
+ widest: string;
526
+ };
527
+
528
+ export { ColorTokens, type FontScale, Mode, type SpacingScale, type ThemeLoaderOptions, type ThemeLoaderResult, type ThemeMetadata, ThemeProvider, type ThemeProviderProps, type ThemeRegistryEntry, type ThemeSchema, type ThemeValidationResult, applyDocumentMode, applyDocumentTheme, borderRadius, canLoadTheme, createMinimalThemeSchema, fontFamilies, fontSizes, fontWeights, getAllThemes, getAvailableThemeIds, getInitialBrand, getInitialMode, getInitialTheme, getThemeMetadata, getThemesByCategory, initializeDefaultThemes, isThemeSchema, letterSpacings, lineHeights, loadTheme, loadThemeOverride, loadThemeSafe, persistBrand, persistMode, persistTheme, preloadThemes, registerTheme, shadows, spacing, themeExists, themeRegistry, useTheme, validateThemeSchema };