@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,5 +0,0 @@
1
- /**
2
- * Stepper Component Exports
3
- */
4
- export type { StepperContentProps, StepperIndicatorProps, StepperItemProps, StepperLabelProps, StepperRootProps, StepperStep, } from './Stepper';
5
- export { Stepper } from './Stepper';
@@ -1,73 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- declare const tabsListVariants: (props?: ({
4
- orientation?: "horizontal" | "vertical" | null | undefined;
5
- size?: "sm" | "md" | "lg" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- declare const tabsTriggerVariants: (props?: ({
8
- size?: "sm" | "md" | "lg" | null | undefined;
9
- state?: "default" | "selected" | null | undefined;
10
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
11
- export interface TabsRootProps extends React.HTMLAttributes<HTMLDivElement> {
12
- /**
13
- * Controlled value for the active tab
14
- */
15
- value?: string;
16
- /**
17
- * Default value for uncontrolled usage
18
- */
19
- defaultValue?: string;
20
- /**
21
- * Callback when the active tab changes
22
- */
23
- onValueChange?: (value: string) => void;
24
- /**
25
- * Orientation of the tabs
26
- * @default "horizontal"
27
- */
28
- orientation?: "horizontal" | "vertical";
29
- }
30
- export interface TabsListProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role">, VariantProps<typeof tabsListVariants> {
31
- /**
32
- * Gap between tab items
33
- */
34
- gap?: "xs" | "sm" | "md" | "lg";
35
- }
36
- export interface TabsTriggerProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "role">, VariantProps<typeof tabsTriggerVariants> {
37
- /**
38
- * Value of this tab (must be unique)
39
- */
40
- value: string;
41
- /**
42
- * Whether this tab is disabled
43
- */
44
- disabled?: boolean;
45
- }
46
- export interface TabsContentProps extends React.HTMLAttributes<HTMLDivElement> {
47
- /**
48
- * Value of the tab this content belongs to
49
- */
50
- value: string;
51
- /**
52
- * Force mount the content (useful for SSR)
53
- */
54
- forceMount?: boolean;
55
- }
56
- /**
57
- * Tabs.List - Container for tab triggers
58
- */
59
- interface TabsListPropsInternal extends TabsListProps {
60
- onSizeChange?: (size: "sm" | "md" | "lg") => void;
61
- }
62
- /**
63
- * Tabs.Trigger - Individual tab button
64
- */
65
- interface TabsTriggerPropsInternal extends TabsTriggerProps {
66
- }
67
- export declare const Tabs: React.ForwardRefExoticComponent<TabsRootProps & React.RefAttributes<HTMLDivElement>> & {
68
- Root: React.ForwardRefExoticComponent<TabsRootProps & React.RefAttributes<HTMLDivElement>>;
69
- List: React.ForwardRefExoticComponent<TabsListPropsInternal & React.RefAttributes<HTMLDivElement>>;
70
- Trigger: React.ForwardRefExoticComponent<TabsTriggerPropsInternal & React.RefAttributes<HTMLButtonElement>>;
71
- Content: React.ForwardRefExoticComponent<TabsContentProps & React.RefAttributes<HTMLDivElement>>;
72
- };
73
- export { tabsListVariants, tabsTriggerVariants };
@@ -1,5 +0,0 @@
1
- /**
2
- * Tabs Component Exports
3
- */
4
- export type { TabsContentProps, TabsListProps, TabsRootProps, TabsTriggerProps } from './Tabs';
5
- export { Tabs, tabsListVariants, tabsTriggerVariants } from './Tabs';
@@ -1,21 +0,0 @@
1
- /**
2
- * NotificationCenter.DismissAll Component
3
- *
4
- * Button component to clear all notifications.
5
- * Located in Panel header.
6
- */
7
- import * as React from "react";
8
- export interface NotificationCenterDismissAllProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
9
- /**
10
- * Show confirmation before clearing
11
- */
12
- confirm?: boolean;
13
- /**
14
- * Confirmation message
15
- */
16
- confirmMessage?: string;
17
- }
18
- /**
19
- * NotificationCenter.DismissAll component - clear all notifications button
20
- */
21
- export declare const NotificationCenterDismissAll: React.ForwardRefExoticComponent<NotificationCenterDismissAllProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,23 +0,0 @@
1
- import * as React from "react";
2
- export interface NotificationCenterGroupHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
3
- /**
4
- * Group label text
5
- */
6
- label: string;
7
- /**
8
- * Whether the group is collapsed
9
- */
10
- collapsed?: boolean;
11
- /**
12
- * Callback when collapse/expand is toggled
13
- */
14
- onToggleCollapse?: () => void;
15
- /**
16
- * Show collapse/expand button
17
- */
18
- collapsible?: boolean;
19
- }
20
- /**
21
- * NotificationCenter.GroupHeader component - group section header
22
- */
23
- export declare const NotificationCenterGroupHeader: React.ForwardRefExoticComponent<NotificationCenterGroupHeaderProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,24 +0,0 @@
1
- import { NotificationData } from './NotificationCenter.types';
2
- import * as React from "react";
3
- export interface NotificationCenterItemProps extends Omit<React.HTMLAttributes<HTMLLIElement>, "onClick"> {
4
- /**
5
- * Notification data
6
- */
7
- notification: NotificationData;
8
- /**
9
- * Callback when notification is dismissed
10
- */
11
- onDismiss?: (id: string) => void;
12
- /**
13
- * Callback when notification is clicked
14
- */
15
- onClick?: (id: string) => void;
16
- /**
17
- * Show expandable details
18
- */
19
- expandable?: boolean;
20
- }
21
- /**
22
- * NotificationCenter.Item component - individual notification item
23
- */
24
- export declare const NotificationCenterItem: React.ForwardRefExoticComponent<NotificationCenterItemProps & React.RefAttributes<HTMLLIElement>>;
@@ -1,22 +0,0 @@
1
- /**
2
- * NotificationCenter.List Component
3
- *
4
- * Vertical list container for notifications.
5
- * Uses Stack component with token-based spacing.
6
- * Provides proper ARIA roles for accessibility.
7
- */
8
- import * as React from "react";
9
- export interface NotificationCenterListProps extends React.HTMLAttributes<HTMLUListElement> {
10
- /**
11
- * Children to render (notification items)
12
- */
13
- children: React.ReactNode;
14
- /**
15
- * ARIA label for the list
16
- */
17
- "aria-label"?: string;
18
- }
19
- /**
20
- * NotificationCenter.List component - vertical list container
21
- */
22
- export declare const NotificationCenterList: React.ForwardRefExoticComponent<NotificationCenterListProps & React.RefAttributes<HTMLUListElement>>;
@@ -1,32 +0,0 @@
1
- import { GroupByFunction } from './NotificationCenter.types';
2
- import * as React from "react";
3
- export interface NotificationCenterPanelProps {
4
- /**
5
- * Whether panel is open
6
- */
7
- isOpen: boolean;
8
- /**
9
- * Callback when panel should close
10
- */
11
- onClose: () => void;
12
- /**
13
- * Function to group notifications (by date, type, or custom)
14
- */
15
- groupBy?: GroupByFunction;
16
- /**
17
- * Panel width variant
18
- */
19
- width?: "sm" | "md" | "lg";
20
- /**
21
- * Auto-collapse older notifications
22
- */
23
- autoCollapse?: boolean;
24
- /**
25
- * Element to return focus to when panel closes
26
- */
27
- returnFocusRef?: React.RefObject<HTMLElement>;
28
- }
29
- /**
30
- * NotificationCenter.Panel component - side drawer notification panel
31
- */
32
- export declare const NotificationCenterPanel: React.ForwardRefExoticComponent<NotificationCenterPanelProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,31 +0,0 @@
1
- import { NotificationContextType } from './NotificationCenter.types';
2
- /**
3
- * NotificationCenter.Provider Component
4
- *
5
- * Global notification state management provider.
6
- * Manages persistent history, multi-channel support, and notification lifecycle.
7
- * SSR-safe: no window/document access in render.
8
- */
9
- import * as React from "react";
10
- export interface NotificationCenterProviderProps {
11
- /**
12
- * Children to render
13
- */
14
- children: React.ReactNode;
15
- /**
16
- * Maximum number of notifications to keep in history
17
- */
18
- maxHistory?: number;
19
- /**
20
- * Enable persistent history (in-memory, can be extended to localStorage)
21
- */
22
- persistent?: boolean;
23
- }
24
- /**
25
- * NotificationCenter.Provider component - global notification state management
26
- */
27
- export declare function NotificationCenterProvider({ children, maxHistory, persistent, }: NotificationCenterProviderProps): import("react/jsx-runtime").JSX.Element;
28
- /**
29
- * Hook to use notification center context
30
- */
31
- export declare function useNotificationCenterContext(): NotificationContextType;
@@ -1,15 +0,0 @@
1
- import * as React from "react";
2
- export interface NotificationCenterTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
3
- /**
4
- * Callback when trigger is clicked
5
- */
6
- onClick?: () => void;
7
- /**
8
- * Show unread badge
9
- */
10
- showBadge?: boolean;
11
- }
12
- /**
13
- * NotificationCenter.Trigger component - open panel button
14
- */
15
- export declare const NotificationCenterTrigger: React.ForwardRefExoticComponent<NotificationCenterTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,27 +0,0 @@
1
- import { NotificationCenterProvider } from './NotificationCenter.Provider';
2
- /**
3
- * NotificationCenter Compound Component
4
- *
5
- * Compound component structure for Notification Center.
6
- * Provides all subcomponents through a single export.
7
- */
8
- export { NotificationCenterDismissAll } from './NotificationCenter.DismissAll';
9
- export { NotificationCenterGroupHeader } from './NotificationCenter.GroupHeader';
10
- export { NotificationCenterItem } from './NotificationCenter.Item';
11
- export { NotificationCenterList } from './NotificationCenter.List';
12
- export { NotificationCenterPanel } from './NotificationCenter.Panel';
13
- export { NotificationCenterProvider, useNotificationCenterContext, } from './NotificationCenter.Provider';
14
- export { NotificationCenterTrigger } from './NotificationCenter.Trigger';
15
- export { useNotificationCenter } from './useNotificationCenter';
16
- /**
17
- * NotificationCenter compound component
18
- */
19
- export declare const NotificationCenter: {
20
- Provider: typeof NotificationCenterProvider;
21
- Panel: import('react').ForwardRefExoticComponent<import('./NotificationCenter.Panel').NotificationCenterPanelProps & import('react').RefAttributes<HTMLDivElement>>;
22
- Trigger: import('react').ForwardRefExoticComponent<import('./NotificationCenter.Trigger').NotificationCenterTriggerProps & import('react').RefAttributes<HTMLButtonElement>>;
23
- List: import('react').ForwardRefExoticComponent<import('./NotificationCenter.List').NotificationCenterListProps & import('react').RefAttributes<HTMLUListElement>>;
24
- Item: import('react').ForwardRefExoticComponent<import('./NotificationCenter.Item').NotificationCenterItemProps & import('react').RefAttributes<HTMLLIElement>>;
25
- GroupHeader: import('react').ForwardRefExoticComponent<import('./NotificationCenter.GroupHeader').NotificationCenterGroupHeaderProps & import('react').RefAttributes<HTMLDivElement>>;
26
- DismissAll: import('react').ForwardRefExoticComponent<import('./NotificationCenter.DismissAll').NotificationCenterDismissAllProps & import('react').RefAttributes<HTMLButtonElement>>;
27
- };
@@ -1,89 +0,0 @@
1
- import { ToastAction } from '../overlays/Toast';
2
- /**
3
- * Notification channel types
4
- */
5
- export type NotificationChannel = "success" | "error" | "info" | "warning" | "system" | "log";
6
- /**
7
- * Notification variant (extends toast variants)
8
- */
9
- export type NotificationVariant = "default" | "success" | "info" | "warning" | "danger" | "system" | "log";
10
- /**
11
- * Notification data structure
12
- */
13
- export interface NotificationData {
14
- id: string;
15
- title?: string;
16
- description?: string;
17
- variant?: NotificationVariant;
18
- channel?: NotificationChannel;
19
- action?: ToastAction;
20
- duration?: number;
21
- persistent?: boolean;
22
- timestamp: number;
23
- read?: boolean;
24
- }
25
- /**
26
- * Notification options for creating notifications
27
- */
28
- export interface NotificationOptions {
29
- title?: string;
30
- description?: string;
31
- variant?: NotificationVariant;
32
- channel?: NotificationChannel;
33
- action?: ToastAction;
34
- duration?: number;
35
- persistent?: boolean;
36
- }
37
- /**
38
- * Group by function type
39
- */
40
- export type GroupByFunction = (notification: NotificationData) => string;
41
- /**
42
- * Notification context type
43
- */
44
- export interface NotificationContextType {
45
- /**
46
- * Push a new notification
47
- */
48
- push: (notification: NotificationOptions) => string;
49
- /**
50
- * Remove a specific notification by ID
51
- */
52
- remove: (id: string) => void;
53
- /**
54
- * Clear all notifications
55
- */
56
- clearAll: () => void;
57
- /**
58
- * Clear notifications by channel
59
- */
60
- clearChannel: (channel: NotificationChannel) => void;
61
- /**
62
- * Group notifications by function
63
- */
64
- groupBy: (fn: GroupByFunction) => Record<string, NotificationData[]>;
65
- /**
66
- * Get persistent history
67
- */
68
- getHistory: () => NotificationData[];
69
- /**
70
- * Get notifications by channel
71
- */
72
- getByChannel: (channel: NotificationChannel) => NotificationData[];
73
- /**
74
- * Get all notifications
75
- */
76
- getAll: () => NotificationData[];
77
- /**
78
- * Mark notification as read
79
- */
80
- markAsRead: (id: string) => void;
81
- /**
82
- * Mark all as read
83
- */
84
- markAllAsRead: () => void;
85
- /**
86
- * Get unread count
87
- */
88
- getUnreadCount: () => number;
89
- }
@@ -1,23 +0,0 @@
1
- /**
2
- * Notification Center Components
3
- *
4
- * Barrel exports for all notification center components.
5
- */
6
- export { NotificationCenter } from './NotificationCenter';
7
- export { NotificationCenterDismissAll } from './NotificationCenter.DismissAll';
8
- export { NotificationCenterGroupHeader } from './NotificationCenter.GroupHeader';
9
- export { NotificationCenterItem } from './NotificationCenter.Item';
10
- export { NotificationCenterList } from './NotificationCenter.List';
11
- export { NotificationCenterPanel } from './NotificationCenter.Panel';
12
- export { NotificationCenterProvider } from './NotificationCenter.Provider';
13
- export { NotificationCenterTrigger } from './NotificationCenter.Trigger';
14
- export { useNotificationCenterContext } from './NotificationCenter.Provider';
15
- export { useNotificationCenter } from './useNotificationCenter';
16
- export type { GroupByFunction, NotificationChannel, NotificationContextType, NotificationData, NotificationOptions, NotificationVariant, } from './NotificationCenter.types';
17
- export type { NotificationCenterDismissAllProps } from './NotificationCenter.DismissAll';
18
- export type { NotificationCenterGroupHeaderProps } from './NotificationCenter.GroupHeader';
19
- export type { NotificationCenterItemProps } from './NotificationCenter.Item';
20
- export type { NotificationCenterListProps } from './NotificationCenter.List';
21
- export type { NotificationCenterPanelProps } from './NotificationCenter.Panel';
22
- export type { NotificationCenterProviderProps } from './NotificationCenter.Provider';
23
- export type { NotificationCenterTriggerProps } from './NotificationCenter.Trigger';
@@ -1,47 +0,0 @@
1
- import { NotificationOptions } from './NotificationCenter.types';
2
- export interface NotificationAPI {
3
- /**
4
- * Show success notification
5
- */
6
- success: (message: string, options?: Omit<NotificationOptions, "variant" | "channel">) => string;
7
- /**
8
- * Show error notification
9
- */
10
- error: (message: string, options?: Omit<NotificationOptions, "variant" | "channel">) => string;
11
- /**
12
- * Show info notification
13
- */
14
- info: (message: string, options?: Omit<NotificationOptions, "variant" | "channel">) => string;
15
- /**
16
- * Show warning notification
17
- */
18
- warning: (message: string, options?: Omit<NotificationOptions, "variant" | "channel">) => string;
19
- /**
20
- * Show system notification
21
- */
22
- system: (message: string, options?: Omit<NotificationOptions, "variant" | "channel">) => string;
23
- /**
24
- * Show log notification
25
- */
26
- log: (message: string, options?: Omit<NotificationOptions, "variant" | "channel">) => string;
27
- /**
28
- * Push custom notification
29
- */
30
- push: (options: NotificationOptions) => string;
31
- /**
32
- * Remove notification by ID
33
- */
34
- remove: (id: string) => void;
35
- /**
36
- * Clear all notifications
37
- */
38
- clearAll: () => void;
39
- /**
40
- * Clear notifications by channel
41
- */
42
- clearChannel: (channel: "success" | "error" | "info" | "warning" | "system" | "log") => void;
43
- }
44
- /**
45
- * useNotificationCenter hook - multi-channel notification API
46
- */
47
- export declare function useNotificationCenter(): NotificationAPI;
@@ -1,24 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- declare const backdropVariants: (props?: ({
4
- variant?: "default" | "transparent" | "blurred" | null | undefined;
5
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
- export interface BackdropProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof backdropVariants> {
7
- /**
8
- * Backdrop variant
9
- */
10
- variant?: "default" | "blurred" | "transparent";
11
- /**
12
- * Whether backdrop is visible (for animation)
13
- */
14
- isVisible?: boolean;
15
- /**
16
- * Click handler for backdrop dismiss
17
- */
18
- onClick?: (event: React.MouseEvent<HTMLDivElement>) => void;
19
- }
20
- /**
21
- * Backdrop component - overlay background
22
- */
23
- export declare const Backdrop: React.ForwardRefExoticComponent<BackdropProps & React.RefAttributes<HTMLDivElement>>;
24
- export {};
@@ -1,66 +0,0 @@
1
- import { ModalProps } from './Modal';
2
- /**
3
- * Dialog Component
4
- *
5
- * Semantic modal wrapper built on Modal component.
6
- * Provides Dialog.Header, Dialog.Title, Dialog.Description, Dialog.Body, Dialog.Footer subcomponents.
7
- * Full A11y compliance with aria-labelledby and aria-describedby.
8
- */
9
- import * as React from "react";
10
- export interface DialogProps extends Omit<ModalProps, "role" | "aria-modal"> {
11
- /**
12
- * ID for the dialog title (for aria-labelledby)
13
- */
14
- titleId?: string;
15
- /**
16
- * ID for the dialog description (for aria-describedby)
17
- */
18
- descriptionId?: string;
19
- }
20
- /**
21
- * Dialog Root - Main dialog wrapper
22
- */
23
- declare const DialogRoot: React.ForwardRefExoticComponent<DialogProps & React.RefAttributes<HTMLDivElement>>;
24
- /**
25
- * Dialog Header - Header section with spacing
26
- */
27
- export interface DialogHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
28
- titleId?: string;
29
- descriptionId?: string;
30
- }
31
- declare const DialogHeader: React.ForwardRefExoticComponent<DialogHeaderProps & React.RefAttributes<HTMLDivElement>>;
32
- /**
33
- * Dialog Title - h2 with aria-labelledby
34
- */
35
- export interface DialogTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
36
- titleId?: string;
37
- }
38
- declare const DialogTitle: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
39
- /**
40
- * Dialog Description - p with aria-describedby
41
- */
42
- export interface DialogDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {
43
- descriptionId?: string;
44
- }
45
- declare const DialogDescription: React.ForwardRefExoticComponent<DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
46
- /**
47
- * Dialog Body - Main content area
48
- */
49
- export interface DialogBodyProps extends React.HTMLAttributes<HTMLDivElement> {
50
- }
51
- declare const DialogBody: React.ForwardRefExoticComponent<DialogBodyProps & React.RefAttributes<HTMLDivElement>>;
52
- /**
53
- * Dialog Footer - Footer section with Row layout
54
- */
55
- export interface DialogFooterProps extends React.HTMLAttributes<HTMLDivElement> {
56
- }
57
- declare const DialogFooter: React.ForwardRefExoticComponent<DialogFooterProps & React.RefAttributes<HTMLDivElement>>;
58
- declare const Dialog: React.ForwardRefExoticComponent<DialogProps & React.RefAttributes<HTMLDivElement>> & {
59
- Root: React.ForwardRefExoticComponent<DialogProps & React.RefAttributes<HTMLDivElement>>;
60
- Header: React.ForwardRefExoticComponent<DialogHeaderProps & React.RefAttributes<HTMLDivElement>>;
61
- Title: React.ForwardRefExoticComponent<DialogTitleProps & React.RefAttributes<HTMLHeadingElement>>;
62
- Description: React.ForwardRefExoticComponent<DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>>;
63
- Body: React.ForwardRefExoticComponent<DialogBodyProps & React.RefAttributes<HTMLDivElement>>;
64
- Footer: React.ForwardRefExoticComponent<DialogFooterProps & React.RefAttributes<HTMLDivElement>>;
65
- };
66
- export { Dialog, DialogBody, DialogDescription, DialogFooter, DialogHeader, DialogRoot, DialogTitle, };
@@ -1,60 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- declare const modalVariants: (props?: ({
4
- size?: "sm" | "md" | "lg" | "fullscreen" | null | undefined;
5
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
- export interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onClick" | "role" | "aria-modal" | "aria-labelledby" | "aria-describedby">, VariantProps<typeof modalVariants> {
7
- /**
8
- * Whether modal is open
9
- */
10
- open: boolean;
11
- /**
12
- * Callback when modal should close
13
- */
14
- onClose: () => void;
15
- /**
16
- * Modal size variant
17
- */
18
- size?: "sm" | "md" | "lg" | "fullscreen";
19
- /**
20
- * Backdrop variant
21
- */
22
- backdropVariant?: "default" | "blurred" | "transparent";
23
- /**
24
- * Whether to close on backdrop click
25
- */
26
- closeOnBackdropClick?: boolean;
27
- /**
28
- * Whether to close on escape key
29
- */
30
- closeOnEscape?: boolean;
31
- /**
32
- * Element to return focus to when modal closes
33
- */
34
- returnFocusRef?: React.RefObject<HTMLElement>;
35
- }
36
- /**
37
- * Modal Header - Header section with spacing
38
- */
39
- export interface ModalHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
40
- }
41
- declare const ModalHeader: React.ForwardRefExoticComponent<ModalHeaderProps & React.RefAttributes<HTMLDivElement>>;
42
- /**
43
- * Modal Body - Main content area
44
- */
45
- export interface ModalBodyProps extends React.HTMLAttributes<HTMLDivElement> {
46
- }
47
- declare const ModalBody: React.ForwardRefExoticComponent<ModalBodyProps & React.RefAttributes<HTMLDivElement>>;
48
- /**
49
- * Modal Footer - Footer section with layout
50
- */
51
- export interface ModalFooterProps extends React.HTMLAttributes<HTMLDivElement> {
52
- }
53
- declare const ModalFooter: React.ForwardRefExoticComponent<ModalFooterProps & React.RefAttributes<HTMLDivElement>>;
54
- declare const Modal: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>> & {
55
- Content: React.ForwardRefExoticComponent<ModalProps & React.RefAttributes<HTMLDivElement>>;
56
- Header: React.ForwardRefExoticComponent<ModalHeaderProps & React.RefAttributes<HTMLDivElement>>;
57
- Body: React.ForwardRefExoticComponent<ModalBodyProps & React.RefAttributes<HTMLDivElement>>;
58
- Footer: React.ForwardRefExoticComponent<ModalFooterProps & React.RefAttributes<HTMLDivElement>>;
59
- };
60
- export { Modal, ModalBody, ModalFooter, ModalHeader, modalVariants };
@@ -1,22 +0,0 @@
1
- import * as React from "react";
2
- interface OverlayPortalProps {
3
- children: React.ReactNode;
4
- container?: Element | null;
5
- className?: string;
6
- style?: React.CSSProperties;
7
- }
8
- export declare function OverlayPortal({ children, container, className, style }: OverlayPortalProps): React.ReactPortal | null;
9
- interface OverlayBackdropProps {
10
- onClick?: () => void;
11
- className?: string;
12
- style?: React.CSSProperties;
13
- }
14
- export declare function OverlayBackdrop({ onClick, className, style }: OverlayBackdropProps): import("react/jsx-runtime").JSX.Element;
15
- interface OverlayContainerProps {
16
- children: React.ReactNode;
17
- className?: string;
18
- style?: React.CSSProperties;
19
- position?: "center" | "top" | "bottom" | "left" | "right" | "top-left" | "top-right" | "bottom-left" | "bottom-right";
20
- }
21
- export declare function OverlayContainer({ children, className, style, position, }: OverlayContainerProps): import("react/jsx-runtime").JSX.Element;
22
- export {};
@@ -1,30 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as PopoverPrimitive from "@radix-ui/react-popover";
3
- import * as React from "react";
4
- declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
5
- declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
6
- declare const PopoverAnchor: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
7
- declare const popoverContentVariants: (props?: ({
8
- variant?: "primary" | "secondary" | "accent" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
9
- size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
10
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
11
- declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & VariantProps<(props?: ({
12
- variant?: "primary" | "secondary" | "accent" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
13
- size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
14
- } & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
15
- export interface PopoverProps {
16
- children: React.ReactNode;
17
- content: React.ReactNode;
18
- variant?: VariantProps<typeof popoverContentVariants>["variant"];
19
- size?: VariantProps<typeof popoverContentVariants>["size"];
20
- side?: "top" | "right" | "bottom" | "left";
21
- align?: "start" | "center" | "end";
22
- sideOffset?: number;
23
- alignOffset?: number;
24
- open?: boolean;
25
- onOpenChange?: (open: boolean) => void;
26
- modal?: boolean;
27
- closeOnInteractOutside?: boolean;
28
- }
29
- export declare function PopoverWrapper({ children, content, variant, size, side, align, sideOffset, alignOffset, open, onOpenChange, modal, closeOnInteractOutside, }: PopoverProps): import("react/jsx-runtime").JSX.Element;
30
- export { Popover, PopoverAnchor, PopoverContent, popoverContentVariants, PopoverTrigger };