@tenerife.music/ui 1.0.8 → 1.0.13

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 (369) hide show
  1. package/README.md +12 -8
  2. package/dist/{tokens/colors.d.ts → colors-CVA7_16U.d.cts} +21 -19
  3. package/dist/colors-CVA7_16U.d.ts +289 -0
  4. package/dist/index-BgXvioll.d.cts +6845 -0
  5. package/dist/index-Bv4wWj9I.d.ts +6845 -0
  6. package/dist/index.cjs +16385 -2
  7. package/dist/index.d.cts +4020 -0
  8. package/dist/index.d.ts +4020 -39
  9. package/dist/index.mjs +14502 -6425
  10. package/dist/preset.cjs +1264 -2
  11. package/dist/preset.d.cts +21 -0
  12. package/dist/preset.d.ts +3 -1
  13. package/dist/preset.mjs +1165 -95
  14. package/dist/styles.cjs +2 -2
  15. package/dist/styles.css +87 -1
  16. package/dist/styles.d.cts +2 -0
  17. package/dist/styles.d.ts +2 -0
  18. package/dist/styles.mjs +1 -1
  19. package/dist/theme/index.cjs +2634 -2
  20. package/dist/theme/index.d.cts +453 -0
  21. package/dist/theme/index.d.ts +453 -8
  22. package/dist/theme/index.mjs +1601 -576
  23. package/dist/tokens/index.cjs +6203 -5
  24. package/dist/tokens/index.d.cts +2 -0
  25. package/dist/tokens/index.d.ts +2 -9
  26. package/dist/tokens/index.mjs +2601 -155
  27. package/package.json +10 -9
  28. package/dist/animation/index.d.ts +0 -8
  29. package/dist/animation/presets.d.ts +0 -301
  30. package/dist/animation/tas.d.ts +0 -24
  31. package/dist/animation/types.d.ts +0 -67
  32. package/dist/animation/useInView.d.ts +0 -36
  33. package/dist/animation/utils.d.ts +0 -6
  34. package/dist/brand-C5R2semX.js +0 -45
  35. package/dist/brand-DQb18Frh.cjs +0 -2
  36. package/dist/components/SectionBuilder.d.ts +0 -36
  37. package/dist/components/SectionBuilder.presets.d.ts +0 -228
  38. package/dist/components/SectionBuilder.types.d.ts +0 -326
  39. package/dist/components/admin/Dashboard.d.ts +0 -8
  40. package/dist/components/admin/UserManagement.d.ts +0 -8
  41. package/dist/components/auth/LoginForm.d.ts +0 -11
  42. package/dist/components/auth/ProfileCard.d.ts +0 -9
  43. package/dist/components/auth/RegisterForm.d.ts +0 -13
  44. package/dist/components/cards/ArtistCard/ArtistCard.d.ts +0 -22
  45. package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts +0 -46
  46. package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts +0 -83
  47. package/dist/components/cards/ArtistCard/index.d.ts +0 -8
  48. package/dist/components/cards/CardBase/CardBase.d.ts +0 -45
  49. package/dist/components/cards/CardBase/CardBase.types.d.ts +0 -70
  50. package/dist/components/cards/CardBase/CardBase.variants.d.ts +0 -38
  51. package/dist/components/cards/CardBase/index.d.ts +0 -8
  52. package/dist/components/cards/CategoryCard/CategoryCard.d.ts +0 -18
  53. package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts +0 -38
  54. package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts +0 -21
  55. package/dist/components/cards/CategoryCard/index.d.ts +0 -7
  56. package/dist/components/cards/EventCard/EventCard.d.ts +0 -19
  57. package/dist/components/cards/EventCard/EventCard.types.d.ts +0 -47
  58. package/dist/components/cards/EventCard/EventCard.variants.d.ts +0 -70
  59. package/dist/components/cards/EventCard/index.d.ts +0 -7
  60. package/dist/components/cards/PromoCard/PromoCard.d.ts +0 -20
  61. package/dist/components/cards/PromoCard/PromoCard.types.d.ts +0 -42
  62. package/dist/components/cards/PromoCard/PromoCard.variants.d.ts +0 -35
  63. package/dist/components/cards/PromoCard/index.d.ts +0 -7
  64. package/dist/components/cards/TicketCard/TicketCard.d.ts +0 -19
  65. package/dist/components/cards/TicketCard/TicketCard.types.d.ts +0 -55
  66. package/dist/components/cards/TicketCard/TicketCard.variants.d.ts +0 -71
  67. package/dist/components/cards/TicketCard/index.d.ts +0 -7
  68. package/dist/components/cards/VenueCard/VenueCard.d.ts +0 -21
  69. package/dist/components/cards/VenueCard/VenueCard.types.d.ts +0 -46
  70. package/dist/components/cards/VenueCard/VenueCard.variants.d.ts +0 -60
  71. package/dist/components/cards/VenueCard/index.d.ts +0 -8
  72. package/dist/components/cards/index.d.ts +0 -19
  73. package/dist/components/checkbox/Checkbox.d.ts +0 -22
  74. package/dist/components/checkbox/Checkbox.types.d.ts +0 -68
  75. package/dist/components/checkbox/checkbox-variants.d.ts +0 -13
  76. package/dist/components/checkbox/index.d.ts +0 -3
  77. package/dist/components/containers/Card.d.ts +0 -75
  78. package/dist/components/containers/Section.d.ts +0 -31
  79. package/dist/components/containers/Surface.d.ts +0 -28
  80. package/dist/components/containers/index.d.ts +0 -9
  81. package/dist/components/controls/LanguageSelector.d.ts +0 -17
  82. package/dist/components/data/List.d.ts +0 -12
  83. package/dist/components/data/Table.d.ts +0 -14
  84. package/dist/components/data/Timeline.d.ts +0 -13
  85. package/dist/components/data/data-list/DataList.d.ts +0 -29
  86. package/dist/components/data/data-list/DataList.types.d.ts +0 -43
  87. package/dist/components/data/data-list/DataListItem.d.ts +0 -20
  88. package/dist/components/data/data-list/DataListLabel.d.ts +0 -19
  89. package/dist/components/data/data-list/DataListValue.d.ts +0 -18
  90. package/dist/components/data/data-list/index.d.ts +0 -10
  91. package/dist/components/data/empty-state/EmptyState.d.ts +0 -31
  92. package/dist/components/data/empty-state/EmptyState.types.d.ts +0 -51
  93. package/dist/components/data/empty-state/EmptyStateAction.d.ts +0 -17
  94. package/dist/components/data/empty-state/EmptyStateDescription.d.ts +0 -17
  95. package/dist/components/data/empty-state/EmptyStateIcon.d.ts +0 -22
  96. package/dist/components/data/empty-state/EmptyStateTitle.d.ts +0 -17
  97. package/dist/components/data/empty-state/index.d.ts +0 -10
  98. package/dist/components/data/index.d.ts +0 -9
  99. package/dist/components/data/skeleton/Skeleton.d.ts +0 -24
  100. package/dist/components/data/skeleton/Skeleton.types.d.ts +0 -12
  101. package/dist/components/data/skeleton/index.d.ts +0 -6
  102. package/dist/components/data/table/Table.d.ts +0 -33
  103. package/dist/components/data/table/Table.types.d.ts +0 -264
  104. package/dist/components/data/table/TableBody.d.ts +0 -13
  105. package/dist/components/data/table/TableCell.d.ts +0 -13
  106. package/dist/components/data/table/TableEmpty.d.ts +0 -13
  107. package/dist/components/data/table/TableExpandableContent.d.ts +0 -14
  108. package/dist/components/data/table/TableHead.d.ts +0 -13
  109. package/dist/components/data/table/TableHeader.d.ts +0 -13
  110. package/dist/components/data/table/TableLoadingState.d.ts +0 -13
  111. package/dist/components/data/table/TableRow.d.ts +0 -13
  112. package/dist/components/data/table/TableSortIcon.d.ts +0 -14
  113. package/dist/components/data/table/index.d.ts +0 -17
  114. package/dist/components/drawer/Drawer.d.ts +0 -41
  115. package/dist/components/drawer/Drawer.types.d.ts +0 -75
  116. package/dist/components/drawer/drawer-variants.d.ts +0 -17
  117. package/dist/components/drawer/index.d.ts +0 -8
  118. package/dist/components/dropdown/Dropdown.d.ts +0 -38
  119. package/dist/components/dropdown/Dropdown.types.d.ts +0 -82
  120. package/dist/components/dropdown/dropdown-variants.d.ts +0 -33
  121. package/dist/components/feedback/ConsentBanner.d.ts +0 -8
  122. package/dist/components/feedback/Progress.d.ts +0 -8
  123. package/dist/components/feedback/Skeleton.d.ts +0 -6
  124. package/dist/components/filters/DateRangePicker.d.ts +0 -21
  125. package/dist/components/filters/FilterBar.d.ts +0 -55
  126. package/dist/components/filters/FilterSelect.d.ts +0 -23
  127. package/dist/components/filters/PriceRangeSlider.d.ts +0 -27
  128. package/dist/components/filters/SearchFilters.d.ts +0 -32
  129. package/dist/components/filters/SearchInput.d.ts +0 -16
  130. package/dist/components/filters/types.d.ts +0 -48
  131. package/dist/components/icon/Icon.d.ts +0 -32
  132. package/dist/components/icon/Icon.types.d.ts +0 -7
  133. package/dist/components/icon/index.d.ts +0 -4
  134. package/dist/components/icons/TrendingIcon.d.ts +0 -6
  135. package/dist/components/image/Image.d.ts +0 -48
  136. package/dist/components/input/Input.d.ts +0 -20
  137. package/dist/components/input/Input.types.d.ts +0 -38
  138. package/dist/components/input/index.d.ts +0 -3
  139. package/dist/components/input/input-variants.d.ts +0 -14
  140. package/dist/components/input/legacy/input.d.ts +0 -11
  141. package/dist/components/layout/Box.d.ts +0 -111
  142. package/dist/components/layout/Column.d.ts +0 -6
  143. package/dist/components/layout/Container.d.ts +0 -31
  144. package/dist/components/layout/Flex.d.ts +0 -50
  145. package/dist/components/layout/Footer.d.ts +0 -9
  146. package/dist/components/layout/Grid.d.ts +0 -60
  147. package/dist/components/layout/ModeHero.d.ts +0 -10
  148. package/dist/components/layout/Navbar.d.ts +0 -9
  149. package/dist/components/layout/Row.d.ts +0 -28
  150. package/dist/components/layout/Section.d.ts +0 -10
  151. package/dist/components/layout/Stack.d.ts +0 -38
  152. package/dist/components/layout/Surface.d.ts +0 -21
  153. package/dist/components/layout/index.d.ts +0 -22
  154. package/dist/components/layout/layout.types.d.ts +0 -107
  155. package/dist/components/menus/DropdownMenu.d.ts +0 -27
  156. package/dist/components/menus/NavigationMenu.d.ts +0 -12
  157. package/dist/components/menus/Tabs.d.ts +0 -7
  158. package/dist/components/menus/context-menu/ContextMenuContent.d.ts +0 -22
  159. package/dist/components/menus/context-menu/ContextMenuGroup.d.ts +0 -14
  160. package/dist/components/menus/context-menu/ContextMenuItem.d.ts +0 -14
  161. package/dist/components/menus/context-menu/ContextMenuLabel.d.ts +0 -14
  162. package/dist/components/menus/context-menu/ContextMenuRoot.d.ts +0 -47
  163. package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts +0 -14
  164. package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts +0 -16
  165. package/dist/components/menus/context-menu/index.d.ts +0 -12
  166. package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts +0 -18
  167. package/dist/components/menus/dropdown/DropdownMenuContent.d.ts +0 -15
  168. package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts +0 -12
  169. package/dist/components/menus/dropdown/DropdownMenuItem.d.ts +0 -30
  170. package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts +0 -17
  171. package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts +0 -24
  172. package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts +0 -18
  173. package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts +0 -33
  174. package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts +0 -13
  175. package/dist/components/menus/dropdown/DropdownMenuSub.d.ts +0 -10
  176. package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts +0 -13
  177. package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts +0 -13
  178. package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts +0 -14
  179. package/dist/components/menus/dropdown/index.d.ts +0 -18
  180. package/dist/components/menus/hover-card/HoverCardContent.d.ts +0 -14
  181. package/dist/components/menus/hover-card/HoverCardRoot.d.ts +0 -20
  182. package/dist/components/menus/hover-card/HoverCardTrigger.d.ts +0 -13
  183. package/dist/components/menus/hover-card/index.d.ts +0 -8
  184. package/dist/components/menus/index.d.ts +0 -9
  185. package/dist/components/menus/popover/PopoverArrow.d.ts +0 -17
  186. package/dist/components/menus/popover/PopoverContent.d.ts +0 -24
  187. package/dist/components/menus/popover/PopoverRoot.d.ts +0 -43
  188. package/dist/components/menus/popover/PopoverTrigger.d.ts +0 -17
  189. package/dist/components/menus/popover/index.d.ts +0 -9
  190. package/dist/components/modal/Modal.d.ts +0 -70
  191. package/dist/components/modal/modal-variants.d.ts +0 -26
  192. package/dist/components/modals/ConfirmDialog.d.ts +0 -27
  193. package/dist/components/modals/CustomDialog.d.ts +0 -10
  194. package/dist/components/modals/Modal.d.ts +0 -19
  195. package/dist/components/modals/ModalProvider.d.ts +0 -16
  196. package/dist/components/modals/SimpleModal.d.ts +0 -11
  197. package/dist/components/navigation/Breadcrumbs.d.ts +0 -12
  198. package/dist/components/navigation/Pagination.d.ts +0 -10
  199. package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +0 -52
  200. package/dist/components/navigation/breadcrumbs/index.d.ts +0 -5
  201. package/dist/components/navigation/index.d.ts +0 -10
  202. package/dist/components/navigation/pagination/Pagination.d.ts +0 -60
  203. package/dist/components/navigation/pagination/index.d.ts +0 -5
  204. package/dist/components/navigation/segmented-control/SegmentedControl.d.ts +0 -43
  205. package/dist/components/navigation/segmented-control/index.d.ts +0 -5
  206. package/dist/components/navigation/stepper/Stepper.d.ts +0 -129
  207. package/dist/components/navigation/stepper/index.d.ts +0 -5
  208. package/dist/components/navigation/tabs/Tabs.d.ts +0 -73
  209. package/dist/components/navigation/tabs/index.d.ts +0 -5
  210. package/dist/components/notifications/NotificationCenter.DismissAll.d.ts +0 -21
  211. package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts +0 -23
  212. package/dist/components/notifications/NotificationCenter.Item.d.ts +0 -24
  213. package/dist/components/notifications/NotificationCenter.List.d.ts +0 -22
  214. package/dist/components/notifications/NotificationCenter.Panel.d.ts +0 -32
  215. package/dist/components/notifications/NotificationCenter.Provider.d.ts +0 -31
  216. package/dist/components/notifications/NotificationCenter.Trigger.d.ts +0 -15
  217. package/dist/components/notifications/NotificationCenter.d.ts +0 -27
  218. package/dist/components/notifications/NotificationCenter.types.d.ts +0 -89
  219. package/dist/components/notifications/index.d.ts +0 -23
  220. package/dist/components/notifications/useNotificationCenter.d.ts +0 -47
  221. package/dist/components/overlays/Backdrop.d.ts +0 -24
  222. package/dist/components/overlays/Dialog.d.ts +0 -66
  223. package/dist/components/overlays/Modal.d.ts +0 -60
  224. package/dist/components/overlays/OverlayPortal.d.ts +0 -22
  225. package/dist/components/overlays/Popover.d.ts +0 -30
  226. package/dist/components/overlays/Portal.d.ts +0 -29
  227. package/dist/components/overlays/Toast.d.ts +0 -36
  228. package/dist/components/overlays/ToastProvider.d.ts +0 -58
  229. package/dist/components/overlays/ToastViewport.d.ts +0 -27
  230. package/dist/components/overlays/Tooltip.d.ts +0 -28
  231. package/dist/components/overlays/index.d.ts +0 -13
  232. package/dist/components/overlays/utils/FocusLock.d.ts +0 -30
  233. package/dist/components/overlays/utils/ScrollLock.d.ts +0 -11
  234. package/dist/components/overlays/utils/positioning.d.ts +0 -68
  235. package/dist/components/primitives/Badge.d.ts +0 -9
  236. package/dist/components/primitives/Button.d.ts +0 -1
  237. package/dist/components/primitives/Card.d.ts +0 -1
  238. package/dist/components/primitives/Divider.d.ts +0 -7
  239. package/dist/components/primitives/Input.d.ts +0 -4
  240. package/dist/components/primitives/Label.d.ts +0 -1
  241. package/dist/components/primitives/Link.d.ts +0 -13
  242. package/dist/components/primitives/ThemeSwitch.d.ts +0 -9
  243. package/dist/components/radio/Radio.d.ts +0 -23
  244. package/dist/components/radio/Radio.types.d.ts +0 -63
  245. package/dist/components/radio/RadioGroup.d.ts +0 -20
  246. package/dist/components/radio/RadioGroup.types.d.ts +0 -61
  247. package/dist/components/radio/index.d.ts +0 -5
  248. package/dist/components/radio/radio-variants.d.ts +0 -13
  249. package/dist/components/search/SearchBar.d.ts +0 -10
  250. package/dist/components/sections/ArticlesSection.d.ts +0 -25
  251. package/dist/components/sections/CTASection.d.ts +0 -37
  252. package/dist/components/sections/FeatureSection.d.ts +0 -33
  253. package/dist/components/sections/HeroSection.d.ts +0 -27
  254. package/dist/components/sections/TrendingSection.d.ts +0 -28
  255. package/dist/components/select/Select.d.ts +0 -38
  256. package/dist/components/select/Select.types.d.ts +0 -107
  257. package/dist/components/select/index.d.ts +0 -5
  258. package/dist/components/select/legacy/select.d.ts +0 -11
  259. package/dist/components/select/select-variants.d.ts +0 -32
  260. package/dist/components/skeletons/EventCardSkeleton.d.ts +0 -6
  261. package/dist/components/skeletons/VenueCardSkeleton.d.ts +0 -6
  262. package/dist/components/switch/Switch.d.ts +0 -24
  263. package/dist/components/switch/Switch.types.d.ts +0 -53
  264. package/dist/components/switch/index.d.ts +0 -3
  265. package/dist/components/switch/switch-variants.d.ts +0 -34
  266. package/dist/components/textarea/Textarea.d.ts +0 -21
  267. package/dist/components/textarea/Textarea.types.d.ts +0 -40
  268. package/dist/components/textarea/index.d.ts +0 -3
  269. package/dist/components/textarea/legacy/textarea.d.ts +0 -11
  270. package/dist/components/textarea/textarea-variants.d.ts +0 -14
  271. package/dist/components/toasts/Toast.d.ts +0 -12
  272. package/dist/components/toasts/ToastProvider.d.ts +0 -26
  273. package/dist/components/ui/alert.d.ts +0 -9
  274. package/dist/components/ui/body.d.ts +0 -12
  275. package/dist/components/ui/button.d.ts +0 -13
  276. package/dist/components/ui/caption.d.ts +0 -11
  277. package/dist/components/ui/card.d.ts +0 -8
  278. package/dist/components/ui/code.d.ts +0 -11
  279. package/dist/components/ui/dialog.d.ts +0 -19
  280. package/dist/components/ui/display.d.ts +0 -12
  281. package/dist/components/ui/field.d.ts +0 -45
  282. package/dist/components/ui/heading.d.ts +0 -12
  283. package/dist/components/ui/label.d.ts +0 -12
  284. package/dist/components/ui/lead.d.ts +0 -11
  285. package/dist/components/ui/text.d.ts +0 -18
  286. package/dist/components/ui/toast.d.ts +0 -15
  287. package/dist/components/ui/toaster.d.ts +0 -1
  288. package/dist/components/ui/tooltip.d.ts +0 -7
  289. package/dist/dark-Cvoy1uFT.js +0 -30
  290. package/dist/dark-OOhiqt1q.cjs +0 -2
  291. package/dist/default-BKgH1D9-.js +0 -8
  292. package/dist/default-Ddg7Haf2.cjs +0 -2
  293. package/dist/hooks/use-toast.d.ts +0 -44
  294. package/dist/hooks/useDebounce.d.ts +0 -19
  295. package/dist/hooks/useModal.d.ts +0 -19
  296. package/dist/hooks/useToast.d.ts +0 -26
  297. package/dist/icons/IconArrowRight.d.ts +0 -6
  298. package/dist/icons/IconCalendar.d.ts +0 -6
  299. package/dist/icons/IconCheck.d.ts +0 -6
  300. package/dist/icons/IconChevronDown.d.ts +0 -6
  301. package/dist/icons/IconChevronRight.d.ts +0 -6
  302. package/dist/icons/IconClose.d.ts +0 -6
  303. package/dist/icons/IconError.d.ts +0 -6
  304. package/dist/icons/IconInfo.d.ts +0 -6
  305. package/dist/icons/IconLocation.d.ts +0 -6
  306. package/dist/icons/IconMenu.d.ts +0 -6
  307. package/dist/icons/IconSearch.d.ts +0 -6
  308. package/dist/icons/IconSuccess.d.ts +0 -6
  309. package/dist/icons/IconWarning.d.ts +0 -6
  310. package/dist/icons/icon.types.d.ts +0 -25
  311. package/dist/icons/index.d.ts +0 -34
  312. package/dist/lib/a11y.d.ts +0 -15
  313. package/dist/lib/responsive-props.d.ts +0 -63
  314. package/dist/lib/utils.d.ts +0 -8
  315. package/dist/motion-CzQhSEqk.js +0 -738
  316. package/dist/motion-DJx1TbXJ.cjs +0 -2
  317. package/dist/theme/ThemeProvider.d.ts +0 -55
  318. package/dist/theme/applyMode.d.ts +0 -42
  319. package/dist/theme/colors.d.ts +0 -6
  320. package/dist/theme/loader.d.ts +0 -63
  321. package/dist/theme/motion/gestures.d.ts +0 -76
  322. package/dist/theme/motion/useReducedMotion.d.ts +0 -11
  323. package/dist/theme/motion.d.ts +0 -127
  324. package/dist/theme/registry.d.ts +0 -70
  325. package/dist/theme/schema.d.ts +0 -124
  326. package/dist/theme/spacing.d.ts +0 -34
  327. package/dist/theme/typography.d.ts +0 -45
  328. package/dist/themes/brand.d.ts +0 -6
  329. package/dist/themes/brand_engine.d.ts +0 -108
  330. package/dist/themes/dark.d.ts +0 -6
  331. package/dist/themes/default.d.ts +0 -6
  332. package/dist/themes/index.d.ts +0 -24
  333. package/dist/themes/minimal.d.ts +0 -6
  334. package/dist/themes/neon.d.ts +0 -6
  335. package/dist/themes/types.d.ts +0 -278
  336. package/dist/tokens/components/alert.d.ts +0 -74
  337. package/dist/tokens/components/button.d.ts +0 -130
  338. package/dist/tokens/components/card.d.ts +0 -91
  339. package/dist/tokens/components/checkbox.d.ts +0 -161
  340. package/dist/tokens/components/data.d.ts +0 -227
  341. package/dist/tokens/components/domain.d.ts +0 -379
  342. package/dist/tokens/components/dropdown.d.ts +0 -146
  343. package/dist/tokens/components/icon.d.ts +0 -57
  344. package/dist/tokens/components/index.d.ts +0 -31
  345. package/dist/tokens/components/input.d.ts +0 -284
  346. package/dist/tokens/components/menu.d.ts +0 -114
  347. package/dist/tokens/components/motion.d.ts +0 -103
  348. package/dist/tokens/components/navigation.d.ts +0 -181
  349. package/dist/tokens/components/notifications.d.ts +0 -159
  350. package/dist/tokens/components/overlay.d.ts +0 -227
  351. package/dist/tokens/components/popover.d.ts +0 -84
  352. package/dist/tokens/components/radio.d.ts +0 -149
  353. package/dist/tokens/components/section.d.ts +0 -41
  354. package/dist/tokens/components/surface.d.ts +0 -94
  355. package/dist/tokens/components/switch.d.ts +0 -208
  356. package/dist/tokens/components/text.d.ts +0 -68
  357. package/dist/tokens/components/toast.d.ts +0 -146
  358. package/dist/tokens/components/tooltip.d.ts +0 -52
  359. package/dist/tokens/css-variables.d.ts +0 -251
  360. package/dist/tokens/motion/v2.d.ts +0 -342
  361. package/dist/tokens/motion.d.ts +0 -485
  362. package/dist/tokens/opacity.d.ts +0 -22
  363. package/dist/tokens/radius.d.ts +0 -161
  364. package/dist/tokens/shadows.d.ts +0 -230
  365. package/dist/tokens/spacing.d.ts +0 -238
  366. package/dist/tokens/theme.d.ts +0 -119
  367. package/dist/tokens/typography.d.ts +0 -460
  368. package/dist/typography-C-Nb4y0o.cjs +0 -2
  369. package/dist/typography-DHym9KAP.js +0 -1196
@@ -1,2 +0,0 @@
1
- "use client";
2
- "use strict";const e={50:"210 40% 98%",100:"210 40% 96%",200:"217 32.6% 17.5%",300:"216 28% 26%",400:"215 25% 27%",500:"215 20% 35%",600:"215 16% 47%",700:"216 12% 54%",800:"217 10% 62%",900:"222 47.4% 11.2%",950:"222 84% 4.9%"},s={50:"280 100% 98%",100:"280 65% 96%",200:"280 60% 85%",300:"280 55% 75%",400:"280 50% 65%",500:"280 70% 67%",600:"259 65% 58%",700:"259 60% 50%",800:"259 55% 45%",900:"259 50% 40%",950:"259 45% 30%"},t={50:"173 100% 98%",100:"173 100% 95%",200:"173 100% 85%",300:"173 100% 70%",400:"173 100% 55%",500:"173 100% 37%",600:"173 100% 32%",700:"173 95% 27%",800:"173 90% 22%",900:"173 85% 17%",950:"173 80% 12%"},u={day:{base:"0 0% 100%",elevated1:"0 0% 98%",elevated2:"0 0% 96%",elevated3:"0 0% 94%",overlay:"0 0% 0% / 0.5",glass:"0 0% 100% / 0.8"},night:{base:"240 10% 3.9%",elevated1:"240 10% 5.1%",elevated2:"240 10% 6.3%",elevated3:"240 10% 7.5%",overlay:"0 0% 0% / 0.7",glass:"240 10% 10% / 0.9"}},c={day:{success:"142 70% 28%",successForeground:"0 0% 100%",error:"0 80% 40%",errorForeground:"0 0% 100%",warning:"38 92% 50%",warningForeground:"0 0% 9%",info:"199 89% 48%",infoForeground:"0 0% 100%"},night:{success:"142 70% 45%",successForeground:"0 0% 100%",error:"0 62.8% 30.6%",errorForeground:"0 0% 98%",warning:"38 92% 33%",warningForeground:"0 0% 100%",info:"199 89% 35%",infoForeground:"0 0% 100%"}},n={day:{chart1:"12 76% 61%",chart2:"173 58% 39%",chart3:"197 37% 24%",chart4:"43 74% 66%",chart5:"27 87% 67%"},night:{chart1:"220 70% 50%",chart2:"160 60% 45%",chart3:"30 80% 55%",chart4:"280 65% 60%",chart5:"340 75% 55%"}},m={day:{primary:"0 0% 9%",secondary:"0 0% 45%",tertiary:"0 0% 65%",muted:"0 0% 38%",inverse:"0 0% 100%"},night:{primary:"0 0% 89.8%",secondary:"240 5% 64.9%",tertiary:"240 5% 50%",muted:"240 5% 64.9%",inverse:"0 0% 9%"}},l={day:{background:"0 0% 100%",foreground:"0 0% 9%",card:"0 0% 100%",cardForeground:"0 0% 9%",popover:"0 0% 100%",popoverForeground:"0 0% 9%",border:"0 0% 89.8%",input:"0 0% 89.8%",ring:"0 0% 3.9%"},night:{background:"240 10% 3.9%",foreground:"0 0% 89.8%",card:"240 10% 3.9%",cardForeground:"0 0% 89.8%",popover:"240 10% 5.1%",popoverForeground:"0 0% 89.8%",border:"240 3.7% 15.9%",input:"240 3.7% 15.9%",ring:"240 4.9% 83.9%"}},h={day:{...l.day,primary:"hsl(var(--tm-primary))",primaryForeground:"hsl(var(--tm-primary-foreground))",secondary:"hsl(var(--tm-secondary))",secondaryForeground:"hsl(var(--tm-secondary-foreground))",muted:"hsl(var(--muted))",mutedForeground:"hsl(var(--muted-foreground))",accent:"hsl(var(--tm-accent))",accentForeground:"hsl(var(--tm-accent-foreground))",destructive:`hsl(${c.day.error})`,destructiveForeground:c.day.errorForeground,chart1:`hsl(${n.day.chart1})`,chart2:`hsl(${n.day.chart2})`,chart3:`hsl(${n.day.chart3})`,chart4:`hsl(${n.day.chart4})`,chart5:`hsl(${n.day.chart5})`},night:{...l.night,primary:"hsl(var(--tm-primary))",primaryForeground:"hsl(var(--tm-primary-foreground))",secondary:"hsl(var(--tm-secondary))",secondaryForeground:"hsl(var(--tm-secondary-foreground))",muted:"hsl(var(--muted))",mutedForeground:"hsl(var(--muted-foreground))",accent:"hsl(var(--tm-accent))",accentForeground:"hsl(var(--tm-accent-foreground))",destructive:`hsl(${c.night.error})`,destructiveForeground:c.night.errorForeground,chart1:`hsl(${n.night.chart1})`,chart2:`hsl(${n.night.chart2})`,chart3:`hsl(${n.night.chart3})`,chart4:`hsl(${n.night.chart4})`,chart5:`hsl(${n.night.chart5})`}},f={"--primary-50":e[50],"--primary-100":e[100],"--primary-200":e[200],"--primary-300":e[300],"--primary-400":e[400],"--primary-500":e[500],"--primary-600":e[600],"--primary-700":e[700],"--primary-800":e[800],"--primary-900":e[900],"--primary-950":e[950],"--accent-50":s[50],"--accent-100":s[100],"--accent-200":s[200],"--accent-300":s[300],"--accent-400":s[400],"--accent-500":s[500],"--accent-600":s[600],"--accent-700":s[700],"--accent-800":s[800],"--accent-900":s[900],"--accent-950":s[950],"--secondary-50":t[50],"--secondary-100":t[100],"--secondary-200":t[200],"--secondary-300":t[300],"--secondary-400":t[400],"--secondary-500":t[500],"--secondary-600":t[600],"--secondary-700":t[700],"--secondary-800":t[800],"--secondary-900":t[900],"--secondary-950":t[950]},p={background:"hsl(var(--background))",foreground:"hsl(var(--foreground))",card:{DEFAULT:"hsl(var(--card))",foreground:"hsl(var(--card-foreground))"},popover:{DEFAULT:"hsl(var(--popover))",foreground:"hsl(var(--popover-foreground))"},primary:{DEFAULT:"hsl(var(--tm-primary))",foreground:"hsl(var(--tm-primary-foreground))",50:"hsl(var(--primary-50))",100:"hsl(var(--primary-100))",200:"hsl(var(--primary-200))",300:"hsl(var(--primary-300))",400:"hsl(var(--primary-400))",500:"hsl(var(--primary-500))",600:"hsl(var(--primary-600))",700:"hsl(var(--primary-700))",800:"hsl(var(--primary-800))",900:"hsl(var(--primary-900))",950:"hsl(var(--primary-950))"},secondary:{DEFAULT:"hsl(var(--tm-secondary))",foreground:"hsl(var(--tm-secondary-foreground))",50:"hsl(var(--secondary-50))",100:"hsl(var(--secondary-100))",200:"hsl(var(--secondary-200))",300:"hsl(var(--secondary-300))",400:"hsl(var(--secondary-400))",500:"hsl(var(--secondary-500))",600:"hsl(var(--secondary-600))",700:"hsl(var(--secondary-700))",800:"hsl(var(--secondary-800))",900:"hsl(var(--secondary-900))",950:"hsl(var(--secondary-950))"},accent:{DEFAULT:"hsl(var(--tm-accent))",foreground:"hsl(var(--tm-accent-foreground))",50:"hsl(var(--accent-50))",100:"hsl(var(--accent-100))",200:"hsl(var(--accent-200))",300:"hsl(var(--accent-300))",400:"hsl(var(--accent-400))",500:"hsl(var(--accent-500))",600:"hsl(var(--accent-600))",700:"hsl(var(--accent-700))",800:"hsl(var(--accent-800))",900:"hsl(var(--accent-900))",950:"hsl(var(--accent-950))"},muted:{DEFAULT:"hsl(var(--muted))",foreground:"hsl(var(--muted-foreground))"},destructive:{DEFAULT:"hsl(var(--destructive))",foreground:"hsl(var(--destructive-foreground))"},success:{DEFAULT:"hsl(var(--semantic-success))",foreground:"hsl(var(--semantic-success-foreground))"},error:{DEFAULT:"hsl(var(--semantic-error))",foreground:"hsl(var(--semantic-error-foreground))"},warning:{DEFAULT:"hsl(var(--semantic-warning))",foreground:"hsl(var(--semantic-warning-foreground))"},info:{DEFAULT:"hsl(var(--semantic-info))",foreground:"hsl(var(--semantic-info-foreground))"},surface:{base:"hsl(var(--surface-base))",elevated1:"hsl(var(--surface-elevated1))",elevated2:"hsl(var(--surface-elevated2))",elevated3:"hsl(var(--surface-elevated3))",overlay:"hsl(var(--surface-overlay))",glass:"hsl(var(--surface-glass))"},text:{primary:"hsl(var(--text-primary))",secondary:"hsl(var(--text-secondary))",tertiary:"hsl(var(--text-tertiary))",muted:"hsl(var(--text-muted))",destructive:"hsl(var(--destructive))",accent:"hsl(var(--tm-accent))",inverse:"hsl(var(--text-inverse))"},border:"hsl(var(--border))",input:"hsl(var(--input))",ring:"hsl(var(--ring))",chart:{1:"hsl(var(--chart-1))",2:"hsl(var(--chart-2))",3:"hsl(var(--chart-3))",4:"hsl(var(--chart-4))",5:"hsl(var(--chart-5))"}},a={instant:"0ms",fast:"150ms",normal:"300ms",slow:"500ms",slower:"700ms",slowest:"1000ms",75:"75ms",100:"100ms",200:"200ms",250:"250ms",400:"400ms",600:"600ms",800:"800ms"},r={linear:"linear","ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)",ease:"ease",bounce:"cubic-bezier(0.68, -0.55, 0.265, 1.55)",elastic:"cubic-bezier(0.175, 0.885, 0.32, 1.275)","ease-out-cubic":"cubic-bezier(0.215, 0.61, 0.355, 1)","ease-in-cubic":"cubic-bezier(0.55, 0.055, 0.675, 0.19)","ease-in-out-cubic":"cubic-bezier(0.645, 0.045, 0.355, 1)"},o={fast:`${a.fast} ${r["ease-out"]}`,"fast-in":`${a.fast} ${r["ease-in"]}`,"fast-out":`${a.fast} ${r["ease-out"]}`,"fast-in-out":`${a.fast} ${r["ease-in-out"]}`,normal:`${a.normal} ${r["ease-in-out"]}`,"normal-in":`${a.normal} ${r["ease-in"]}`,"normal-out":`${a.normal} ${r["ease-out"]}`,"normal-in-out":`${a.normal} ${r["ease-in-out"]}`,slow:`${a.slow} ${r["ease-in-out"]}`,"slow-in":`${a.slow} ${r["ease-in"]}`,"slow-out":`${a.slow} ${r["ease-out"]}`,"slow-in-out":`${a.slow} ${r["ease-in-out"]}`,bounce:`${a.normal} ${r.bounce}`,elastic:`${a.slow} ${r.elastic}`,DEFAULT:`${a.normal} ${r["ease-in-out"]}`},d={fadeIn:{from:{opacity:0},to:{opacity:1}},fadeOut:{from:{opacity:1},to:{opacity:0}},slideInUp:{from:{transform:"translateY(100%)",opacity:0},to:{transform:"translateY(0)",opacity:1}},slideInDown:{from:{transform:"translateY(-100%)",opacity:0},to:{transform:"translateY(0)",opacity:1}},slideInLeft:{from:{transform:"translateX(-100%)",opacity:0},to:{transform:"translateX(0)",opacity:1}},slideInRight:{from:{transform:"translateX(100%)",opacity:0},to:{transform:"translateX(0)",opacity:1}},slideOutUp:{from:{transform:"translateY(0)",opacity:1},to:{transform:"translateY(-100%)",opacity:0}},slideOutDown:{from:{transform:"translateY(0)",opacity:1},to:{transform:"translateY(100%)",opacity:0}},slideOutLeft:{from:{transform:"translateX(0)",opacity:1},to:{transform:"translateX(-100%)",opacity:0}},slideOutRight:{from:{transform:"translateX(0)",opacity:1},to:{transform:"translateX(100%)",opacity:0}},scaleIn:{from:{transform:"scale(0.95)",opacity:0},to:{transform:"scale(1)",opacity:1}},scaleOut:{from:{transform:"scale(1)",opacity:1},to:{transform:"scale(0.95)",opacity:0}},scaleUp:{from:{transform:"scale(1)"},to:{transform:"scale(1.05)"}},scaleDown:{from:{transform:"scale(1.05)"},to:{transform:"scale(1)"}},spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},spinReverse:{from:{transform:"rotate(360deg)"},to:{transform:"rotate(0deg)"}},pulse:{"0%, 100%":{opacity:1},"50%":{opacity:.5}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8, 0, 1, 1)"},"50%":{transform:"translateY(0)",animationTimingFunction:"cubic-bezier(0, 0, 0.2, 1)"}},shake:{"0%, 100%":{transform:"translateX(0)"},"10%, 30%, 50%, 70%, 90%":{transform:"translateX(-4px)"},"20%, 40%, 60%, 80%":{transform:"translateX(4px)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:0}},"accordion-down":{from:{height:"0"},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:"0"}}},i={fadeIn:`fadeIn ${a.normal} ${r["ease-out"]}`,fadeOut:`fadeOut ${a.fast} ${r["ease-in"]}`,slideInUp:`slideInUp ${a.normal} ${r["ease-out"]}`,slideInDown:`slideInDown ${a.normal} ${r["ease-out"]}`,slideInLeft:`slideInLeft ${a.normal} ${r["ease-out"]}`,slideInRight:`slideInRight ${a.normal} ${r["ease-out"]}`,slideOutUp:`slideOutUp ${a.fast} ${r["ease-in"]}`,slideOutDown:`slideOutDown ${a.fast} ${r["ease-in"]}`,slideOutLeft:`slideOutLeft ${a.fast} ${r["ease-in"]}`,slideOutRight:`slideOutRight ${a.fast} ${r["ease-in"]}`,scaleIn:`scaleIn ${a.normal} ${r["ease-out"]}`,scaleOut:`scaleOut ${a.fast} ${r["ease-in"]}`,spin:`spin 1s ${r.linear} infinite`,pulse:`pulse 2s ${r["ease-in-out"]} infinite`,bounce:`bounce 1s ${r.linear} infinite`,ping:`ping 1s ${r["ease-out"]} cubic-bezier(0, 0, 0.2, 1) infinite`,shake:`shake 0.5s ${r["ease-in-out"]}`,"accordion-down":`accordion-down ${a.normal} ${r["ease-out"]}`,"accordion-up":`accordion-up ${a.normal} ${r["ease-out"]}`},y={gentle:{type:"spring",stiffness:120,damping:14,mass:1},default:{type:"spring",stiffness:300,damping:30,mass:1},wobbly:{type:"spring",stiffness:180,damping:12,mass:1},stiff:{type:"spring",stiffness:400,damping:30,mass:1},slow:{type:"spring",stiffness:200,damping:25,mass:1},bouncy:{type:"spring",stiffness:400,damping:10,mass:1},noBounce:{type:"spring",stiffness:300,damping:35,mass:1}},g={duration:"0ms",easing:"linear",transition:"0ms linear",mediaQuery:"@media (prefers-reduced-motion: reduce)",disableAnimations:"animation: none !important; transition: none !important;",spring:{type:"spring",stiffness:1e3,damping:100,mass:1}},v={"--duration-instant":a.instant,"--duration-fast":a.fast,"--duration-normal":a.normal,"--duration-slow":a.slow,"--duration-slower":a.slower,"--duration-slowest":a.slowest,"--duration-75":a[75],"--duration-100":a[100],"--duration-200":a[200],"--duration-250":a[250],"--duration-400":a[400],"--duration-600":a[600],"--duration-800":a[800],"--ease-linear":r.linear,"--ease-in":r["ease-in"],"--ease-out":r["ease-out"],"--ease-in-out":r["ease-in-out"],"--ease-bounce":r.bounce,"--ease-elastic":r.elastic,"--ease-out-cubic":r["ease-out-cubic"],"--ease-in-cubic":r["ease-in-cubic"],"--ease-in-out-cubic":r["ease-in-out-cubic"],"--transition-fast":o.fast,"--transition-normal":o.normal,"--transition-slow":o.slow,"--transition-default":o.DEFAULT,"--transition-fast-in":o["fast-in"],"--transition-fast-out":o["fast-out"],"--transition-fast-in-out":o["fast-in-out"],"--transition-normal-in":o["normal-in"],"--transition-normal-out":o["normal-out"],"--transition-normal-in-out":o["normal-in-out"],"--transition-slow-in":o["slow-in"],"--transition-slow-out":o["slow-out"],"--transition-slow-in-out":o["slow-in-out"],"--transition-bounce":o.bounce,"--transition-elastic":o.elastic},$={transitionDuration:{...a},transitionTimingFunction:{...r},transitionProperty:{DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform",all:"all",none:"none"},keyframes:{...d},animation:{...i,none:"none",spin:i.spin,pulse:i.pulse,bounce:i.bounce,ping:i.ping,shake:i.shake}};exports.accentColors=s;exports.animations=i;exports.baseColors=l;exports.chartColors=n;exports.colorCSSVariables=f;exports.cssVariableColorTokens=h;exports.durations=a;exports.easings=r;exports.keyframes=d;exports.motionCSSVariables=v;exports.primaryColors=e;exports.reducedMotion=g;exports.secondaryColors=t;exports.semanticColors=c;exports.springs=y;exports.surfaceColors=u;exports.tailwindMotionConfig=$;exports.tailwindThemeColors=p;exports.textColors=m;exports.transitions=o;
@@ -1,55 +0,0 @@
1
- import { default as React } from 'react';
2
- import { ThemeName } from '../themes/types';
3
- import { Mode } from '../tokens/colors';
4
- /**
5
- * Theme Context
6
- */
7
- interface ThemeContextValue {
8
- mode: Mode;
9
- theme: ThemeName;
10
- brand: string | null;
11
- reduceMotion: boolean;
12
- enableAnimations: boolean;
13
- setMode: (mode: Mode) => void;
14
- setTheme: (theme: ThemeName) => void;
15
- setBrand: (brandId: string | null) => Promise<void>;
16
- toggleMode: () => void;
17
- setReduceMotion: (reduce: boolean) => void;
18
- setEnableAnimations: (enable: boolean) => void;
19
- }
20
- export declare const ThemeContext: React.Context<ThemeContextValue | undefined>;
21
- /**
22
- * Theme Provider Props
23
- */
24
- export interface ThemeProviderProps {
25
- children: React.ReactNode;
26
- defaultMode?: Mode;
27
- defaultTheme?: ThemeName;
28
- defaultBrand?: string | null;
29
- storageKey?: string;
30
- themeStorageKey?: string;
31
- brandStorageKey?: string;
32
- attribute?: string;
33
- enableSystem?: boolean;
34
- /**
35
- * Override reduced motion preference
36
- */
37
- reduceMotion?: boolean;
38
- /**
39
- * Global animation toggle
40
- */
41
- enableAnimations?: boolean;
42
- }
43
- export declare function ThemeProvider({ children, defaultMode, defaultTheme, defaultBrand, storageKey, themeStorageKey, brandStorageKey, attribute, enableSystem, reduceMotion: reduceMotionOverride, enableAnimations: enableAnimationsOverride, }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
44
- /**
45
- * useTheme Hook
46
- *
47
- * Provides access to theme context and theme control functions.
48
- *
49
- * @example
50
- * ```tsx
51
- * const { mode, theme, brand, setMode, setTheme, setBrand, toggleMode } = useTheme();
52
- * ```
53
- */
54
- export declare function useTheme(): ThemeContextValue;
55
- export {};
@@ -1,42 +0,0 @@
1
- import { ThemeOverride } from '../themes/types';
2
- import { Mode } from '../tokens/colors';
3
- /**
4
- * Get initial mode from various sources
5
- * Checks in order: DOM attribute, localStorage, system preference, default
6
- */
7
- export declare function getInitialMode(defaultMode?: Mode, storageKey?: string, enableSystem?: boolean): Mode;
8
- /**
9
- * Load and cache theme override
10
- */
11
- export declare function loadThemeOverride(themeName: "default" | "dark" | "brand"): Promise<ThemeOverride | null>;
12
- /**
13
- * Apply theme and mode to document
14
- * Updates DOM attributes, classes, and CSS variables from tokens with theme overrides
15
- * Also applies brand overrides if a brand is specified
16
- */
17
- export declare function applyDocumentTheme(mode: Mode, themeName?: "default" | "dark" | "brand", brandId?: string | null): Promise<void>;
18
- /**
19
- * Apply mode to document (backward compatible)
20
- * Updates DOM attributes, classes, and CSS variables from tokens
21
- */
22
- export declare function applyDocumentMode(mode: Mode): Promise<void>;
23
- /**
24
- * Get initial theme from various sources
25
- */
26
- export declare function getInitialTheme(defaultTheme?: "default" | "dark" | "brand", storageKey?: string): "default" | "dark" | "brand";
27
- /**
28
- * Persist mode to localStorage
29
- */
30
- export declare function persistMode(mode: Mode, storageKey?: string): void;
31
- /**
32
- * Persist theme to localStorage
33
- */
34
- export declare function persistTheme(theme: "default" | "dark" | "brand", storageKey?: string): void;
35
- /**
36
- * Get initial brand from various sources
37
- */
38
- export declare function getInitialBrand(defaultBrand?: string | null, storageKey?: string): string | null;
39
- /**
40
- * Persist brand to localStorage
41
- */
42
- export declare function persistBrand(brandId: string | null, storageKey?: string): void;
@@ -1,6 +0,0 @@
1
- /**
2
- * Re-export color tokens from tokens system
3
- * This file maintains backward compatibility while using tokens as single source of truth
4
- */
5
- export type { ChartColors, ColorTokens, Mode } from '../tokens/colors';
6
- export { cssVariableColorTokens, tailwindThemeColors } from '../tokens/colors';
@@ -1,63 +0,0 @@
1
- import { ThemeSchema } from './schema';
2
- /**
3
- * Theme loader options
4
- */
5
- export interface ThemeLoaderOptions {
6
- /**
7
- * Fallback theme ID if loading fails
8
- */
9
- fallbackThemeId?: string;
10
- /**
11
- * Whether to validate theme schema
12
- */
13
- validate?: boolean;
14
- /**
15
- * Whether to throw errors or return fallback
16
- */
17
- throwOnError?: boolean;
18
- }
19
- /**
20
- * Theme loader result
21
- */
22
- export interface ThemeLoaderResult {
23
- /**
24
- * Loaded theme
25
- */
26
- theme: ThemeSchema;
27
- /**
28
- * Whether fallback was used
29
- */
30
- usedFallback: boolean;
31
- /**
32
- * Validation warnings (if validation enabled)
33
- */
34
- warnings: string[];
35
- }
36
- /**
37
- * Load theme with error handling
38
- *
39
- * @param themeId - Theme ID to load
40
- * @param options - Loader options
41
- * @returns Theme loader result
42
- */
43
- export declare function loadThemeSafe(themeId: string, options?: ThemeLoaderOptions): Promise<ThemeLoaderResult>;
44
- /**
45
- * Preload multiple themes
46
- * Useful for prefetching themes that might be needed
47
- *
48
- * @param themeIds - Array of theme IDs to preload
49
- */
50
- export declare function preloadThemes(themeIds: string[]): Promise<void>;
51
- /**
52
- * Get all available theme IDs
53
- *
54
- * @returns Array of theme IDs
55
- */
56
- export declare function getAvailableThemeIds(): string[];
57
- /**
58
- * Check if theme can be loaded
59
- *
60
- * @param themeId - Theme ID to check
61
- * @returns Whether theme can be loaded
62
- */
63
- export declare function canLoadTheme(themeId: string): Promise<boolean>;
@@ -1,76 +0,0 @@
1
- /**
2
- * Gesture System
3
- *
4
- * SSR-safe gesture detection using pointer events.
5
- * Supports swipe gestures for dismissible components (Toast, NotificationPanel, Drawer).
6
- */
7
- /**
8
- * Swipe direction type
9
- */
10
- export type SwipeDirection = "left" | "right" | "up" | "down";
11
- /**
12
- * Swipe event data
13
- */
14
- export interface SwipeEvent {
15
- direction: SwipeDirection;
16
- distance: number;
17
- velocity: number;
18
- }
19
- /**
20
- * useSwipe hook options
21
- */
22
- export interface UseSwipeOptions {
23
- /**
24
- * Minimum distance (in pixels) to trigger a swipe
25
- * @default 50
26
- */
27
- threshold?: number;
28
- /**
29
- * Minimum velocity (pixels per ms) to trigger a swipe
30
- * @default 0.1
31
- */
32
- velocityThreshold?: number;
33
- /**
34
- * Allowed swipe directions
35
- * @default ['left', 'right', 'up', 'down']
36
- */
37
- directions?: SwipeDirection[];
38
- /**
39
- * Callback when swipe is detected
40
- */
41
- onSwipe?: (event: SwipeEvent) => void;
42
- /**
43
- * Whether swipe detection is enabled
44
- * @default true
45
- */
46
- enabled?: boolean;
47
- }
48
- /**
49
- * useSwipe hook return type
50
- */
51
- export interface UseSwipeReturn {
52
- /**
53
- * Whether a swipe is currently in progress
54
- */
55
- isSwiping: boolean;
56
- /**
57
- * Current swipe distance
58
- */
59
- distance: number;
60
- /**
61
- * Current swipe direction (if swiping)
62
- */
63
- direction: SwipeDirection | null;
64
- }
65
- /**
66
- * Hook to detect swipe gestures using pointer events
67
- * SSR-safe: only uses DOM APIs inside useEffect
68
- *
69
- * @param options - Swipe detection options
70
- * @returns Swipe state and handlers
71
- */
72
- export declare function useSwipe(options?: UseSwipeOptions): UseSwipeReturn & {
73
- handlers: {
74
- ref: React.RefCallback<HTMLElement>;
75
- } & Omit<React.HTMLAttributes<HTMLElement>, "ref">;
76
- };
@@ -1,11 +0,0 @@
1
- /**
2
- * useReducedMotion Hook
3
- *
4
- * SSR-safe hook to detect prefers-reduced-motion media query.
5
- * Returns boolean indicating if user prefers reduced motion.
6
- */
7
- /**
8
- * Hook to detect prefers-reduced-motion preference
9
- * @returns boolean - true if user prefers reduced motion
10
- */
11
- export declare function useReducedMotion(): boolean;
@@ -1,127 +0,0 @@
1
- export declare const durations: {
2
- instant: string;
3
- fast: string;
4
- normal: string;
5
- slow: string;
6
- slower: string;
7
- slowest: string;
8
- };
9
- export declare const easings: {
10
- linear: string;
11
- in: string;
12
- out: string;
13
- inOut: string;
14
- bounce: string;
15
- elastic: string;
16
- };
17
- export declare const transitions: {
18
- fast: string;
19
- normal: string;
20
- slow: string;
21
- bounce: string;
22
- elastic: string;
23
- };
24
- export declare const animations: {
25
- fadeIn: {
26
- from: {
27
- opacity: number;
28
- };
29
- to: {
30
- opacity: number;
31
- };
32
- };
33
- fadeOut: {
34
- from: {
35
- opacity: number;
36
- };
37
- to: {
38
- opacity: number;
39
- };
40
- };
41
- slideInUp: {
42
- from: {
43
- transform: string;
44
- opacity: number;
45
- };
46
- to: {
47
- transform: string;
48
- opacity: number;
49
- };
50
- };
51
- slideInDown: {
52
- from: {
53
- transform: string;
54
- opacity: number;
55
- };
56
- to: {
57
- transform: string;
58
- opacity: number;
59
- };
60
- };
61
- slideInLeft: {
62
- from: {
63
- transform: string;
64
- opacity: number;
65
- };
66
- to: {
67
- transform: string;
68
- opacity: number;
69
- };
70
- };
71
- slideInRight: {
72
- from: {
73
- transform: string;
74
- opacity: number;
75
- };
76
- to: {
77
- transform: string;
78
- opacity: number;
79
- };
80
- };
81
- scaleIn: {
82
- from: {
83
- transform: string;
84
- opacity: number;
85
- };
86
- to: {
87
- transform: string;
88
- opacity: number;
89
- };
90
- };
91
- scaleOut: {
92
- from: {
93
- transform: string;
94
- opacity: number;
95
- };
96
- to: {
97
- transform: string;
98
- opacity: number;
99
- };
100
- };
101
- spin: {
102
- from: {
103
- transform: string;
104
- };
105
- to: {
106
- transform: string;
107
- };
108
- };
109
- pulse: {
110
- "0%, 100%": {
111
- opacity: number;
112
- };
113
- "50%": {
114
- opacity: number;
115
- };
116
- };
117
- bounce: {
118
- "0%, 100%": {
119
- transform: string;
120
- animationTimingFunction: string;
121
- };
122
- "50%": {
123
- transform: string;
124
- animationTimingFunction: string;
125
- };
126
- };
127
- };
@@ -1,70 +0,0 @@
1
- import { ThemeMetadata, ThemeSchema } from './schema';
2
- /**
3
- * Theme registry entry
4
- */
5
- export interface ThemeRegistryEntry {
6
- /**
7
- * Theme metadata
8
- */
9
- metadata: ThemeMetadata;
10
- /**
11
- * Dynamic import function for theme
12
- */
13
- loader: () => Promise<{
14
- default: ThemeSchema;
15
- }>;
16
- /**
17
- * Whether theme is enabled
18
- */
19
- enabled?: boolean;
20
- }
21
- /**
22
- * Theme registry
23
- * Maps theme IDs to their registry entries
24
- */
25
- export declare const themeRegistry: Map<string, ThemeRegistryEntry>;
26
- /**
27
- * Register a theme in the registry
28
- *
29
- * @param entry - Theme registry entry
30
- */
31
- export declare function registerTheme(entry: ThemeRegistryEntry): void;
32
- /**
33
- * Get theme metadata by ID
34
- *
35
- * @param id - Theme ID
36
- * @returns Theme metadata or undefined
37
- */
38
- export declare function getThemeMetadata(id: string): ThemeMetadata | undefined;
39
- /**
40
- * Get all registered themes
41
- *
42
- * @returns Array of theme metadata
43
- */
44
- export declare function getAllThemes(): ThemeMetadata[];
45
- /**
46
- * Get themes by category
47
- *
48
- * @param category - Theme category
49
- * @returns Array of theme metadata
50
- */
51
- export declare function getThemesByCategory(category: "default" | "brand" | "seasonal" | "custom"): ThemeMetadata[];
52
- /**
53
- * Check if theme exists
54
- *
55
- * @param id - Theme ID
56
- * @returns Whether theme exists
57
- */
58
- export declare function themeExists(id: string): boolean;
59
- /**
60
- * Load theme by ID
61
- *
62
- * @param id - Theme ID
63
- * @returns Theme schema
64
- */
65
- export declare function loadTheme(id: string): Promise<ThemeSchema>;
66
- /**
67
- * Initialize default themes
68
- * Registers built-in themes (default, dark, brand)
69
- */
70
- export declare function initializeDefaultThemes(): void;
@@ -1,124 +0,0 @@
1
- import { BaseColorTokens, ColorScale, SemanticColors, SurfaceColors, TextColors } from '../tokens/colors';
2
- /**
3
- * Theme metadata
4
- */
5
- export interface ThemeMetadata {
6
- /**
7
- * Unique theme identifier (kebab-case)
8
- * Example: "ocean-blue", "sunset-orange"
9
- */
10
- id: string;
11
- /**
12
- * Human-readable theme name
13
- * Example: "Ocean Blue", "Sunset Orange"
14
- */
15
- name: string;
16
- /**
17
- * Theme description
18
- */
19
- description?: string;
20
- /**
21
- * Theme category
22
- * - "default": Standard themes
23
- * - "brand": Brand-specific themes
24
- * - "seasonal": Seasonal/holiday themes
25
- * - "custom": User-created themes
26
- */
27
- category?: "default" | "brand" | "seasonal" | "custom";
28
- /**
29
- * Theme author (optional)
30
- */
31
- author?: string;
32
- /**
33
- * Theme version (semver)
34
- */
35
- version?: string;
36
- /**
37
- * Preview image URL (optional)
38
- */
39
- previewImage?: string;
40
- }
41
- /**
42
- * Complete theme schema
43
- * Extends ThemeOverride with metadata and validation
44
- */
45
- export interface ThemeSchema extends ThemeMetadata {
46
- /**
47
- * Override primary color scale
48
- * Partial override - only specified values override base tokens
49
- */
50
- primaryColors?: Partial<ColorScale>;
51
- /**
52
- * Override accent color scale
53
- */
54
- accentColors?: Partial<ColorScale>;
55
- /**
56
- * Override secondary color scale
57
- */
58
- secondaryColors?: Partial<ColorScale>;
59
- /**
60
- * Override base colors (for day mode)
61
- */
62
- baseColorsDay?: Partial<BaseColorTokens>;
63
- /**
64
- * Override base colors (for night mode)
65
- */
66
- baseColorsNight?: Partial<BaseColorTokens>;
67
- /**
68
- * Override surface colors (for day mode)
69
- */
70
- surfaceColorsDay?: Partial<SurfaceColors>;
71
- /**
72
- * Override surface colors (for night mode)
73
- */
74
- surfaceColorsNight?: Partial<SurfaceColors>;
75
- /**
76
- * Override semantic colors (for day mode)
77
- */
78
- semanticColorsDay?: Partial<SemanticColors>;
79
- /**
80
- * Override semantic colors (for night mode)
81
- */
82
- semanticColorsNight?: Partial<SemanticColors>;
83
- /**
84
- * Override text colors (for day mode)
85
- */
86
- textColorsDay?: Partial<TextColors>;
87
- /**
88
- * Override text colors (for night mode)
89
- */
90
- textColorsNight?: Partial<TextColors>;
91
- }
92
- /**
93
- * Theme validation result
94
- */
95
- export interface ThemeValidationResult {
96
- /**
97
- * Whether theme is valid
98
- */
99
- valid: boolean;
100
- /**
101
- * Validation errors
102
- */
103
- errors: string[];
104
- /**
105
- * Validation warnings
106
- */
107
- warnings: string[];
108
- }
109
- /**
110
- * Validate theme schema
111
- *
112
- * @param theme - Theme to validate
113
- * @returns Validation result
114
- */
115
- export declare function validateThemeSchema(theme: unknown): ThemeValidationResult;
116
- /**
117
- * Type guard to check if object is ThemeSchema
118
- */
119
- export declare function isThemeSchema(obj: unknown): obj is ThemeSchema;
120
- /**
121
- * Create a minimal valid theme schema
122
- * Useful for CLI scaffolding
123
- */
124
- export declare function createMinimalThemeSchema(id: string, name: string): ThemeSchema;
@@ -1,34 +0,0 @@
1
- export type SpacingScale = {
2
- none: string;
3
- xs: string;
4
- sm: string;
5
- md: string;
6
- lg: string;
7
- xl: string;
8
- "2xl": string;
9
- "3xl": string;
10
- "4xl": string;
11
- "5xl": string;
12
- };
13
- export declare const spacing: SpacingScale;
14
- export declare const borderRadius: {
15
- none: string;
16
- sm: string;
17
- base: string;
18
- md: string;
19
- lg: string;
20
- xl: string;
21
- "2xl": string;
22
- "3xl": string;
23
- full: string;
24
- };
25
- export declare const shadows: {
26
- none: string;
27
- sm: string;
28
- base: string;
29
- md: string;
30
- lg: string;
31
- xl: string;
32
- "2xl": string;
33
- inner: string;
34
- };