@tenerife.music/ui 1.0.3 → 1.0.6
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.
- package/README.md +407 -123
- package/dist/animation/index.d.ts +0 -1
- package/dist/animation/presets.d.ts +6 -9
- package/dist/animation/tas.d.ts +2 -58
- package/dist/animation/types.d.ts +9 -48
- package/dist/animation/useInView.d.ts +36 -0
- package/dist/animation/utils.d.ts +0 -1
- package/dist/components/SectionBuilder.d.ts +0 -1
- package/dist/components/SectionBuilder.presets.d.ts +0 -1
- package/dist/components/SectionBuilder.types.d.ts +0 -1
- package/dist/components/admin/Dashboard.d.ts +0 -1
- package/dist/components/admin/UserManagement.d.ts +0 -1
- package/dist/components/auth/LoginForm.d.ts +0 -1
- package/dist/components/auth/ProfileCard.d.ts +0 -1
- package/dist/components/auth/RegisterForm.d.ts +0 -1
- package/dist/components/cards/ArtistCard/ArtistCard.d.ts +22 -0
- package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts +46 -0
- package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts +83 -0
- package/dist/components/cards/ArtistCard/index.d.ts +8 -0
- package/dist/components/cards/CardBase/CardBase.d.ts +45 -0
- package/dist/components/cards/CardBase/CardBase.types.d.ts +70 -0
- package/dist/components/cards/CardBase/CardBase.variants.d.ts +38 -0
- package/dist/components/cards/CardBase/index.d.ts +8 -0
- package/dist/components/cards/CategoryCard/CategoryCard.d.ts +18 -0
- package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts +38 -0
- package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts +21 -0
- package/dist/components/cards/CategoryCard/index.d.ts +7 -0
- package/dist/components/cards/EventCard/EventCard.d.ts +19 -0
- package/dist/components/cards/{EventCard.d.ts → EventCard/EventCard.types.d.ts} +13 -4
- package/dist/components/cards/EventCard/EventCard.variants.d.ts +70 -0
- package/dist/components/cards/EventCard/index.d.ts +7 -0
- package/dist/components/cards/PromoCard/PromoCard.d.ts +20 -0
- package/dist/components/cards/PromoCard/PromoCard.types.d.ts +42 -0
- package/dist/components/cards/PromoCard/PromoCard.variants.d.ts +35 -0
- package/dist/components/cards/PromoCard/index.d.ts +7 -0
- package/dist/components/cards/TicketCard/TicketCard.d.ts +19 -0
- package/dist/components/cards/TicketCard/TicketCard.types.d.ts +55 -0
- package/dist/components/cards/TicketCard/TicketCard.variants.d.ts +71 -0
- package/dist/components/cards/TicketCard/index.d.ts +7 -0
- package/dist/components/cards/VenueCard/VenueCard.d.ts +21 -0
- package/dist/components/cards/{VenueCard.d.ts → VenueCard/VenueCard.types.d.ts} +15 -7
- package/dist/components/cards/VenueCard/VenueCard.variants.d.ts +60 -0
- package/dist/components/cards/VenueCard/index.d.ts +8 -0
- package/dist/components/cards/index.d.ts +19 -0
- package/dist/components/checkbox/Checkbox.d.ts +22 -0
- package/dist/components/checkbox/Checkbox.types.d.ts +68 -0
- package/dist/components/checkbox/checkbox-variants.d.ts +13 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/containers/Card.d.ts +75 -0
- package/dist/components/containers/Section.d.ts +31 -0
- package/dist/components/containers/Surface.d.ts +28 -0
- package/dist/components/containers/index.d.ts +9 -0
- package/dist/components/controls/LanguageSelector.d.ts +0 -1
- package/dist/components/data/List.d.ts +0 -1
- package/dist/components/data/Table.d.ts +0 -1
- package/dist/components/data/Timeline.d.ts +0 -1
- package/dist/components/data/data-list/DataList.d.ts +29 -0
- package/dist/components/data/data-list/DataList.types.d.ts +43 -0
- package/dist/components/data/data-list/DataListItem.d.ts +20 -0
- package/dist/components/data/data-list/DataListLabel.d.ts +19 -0
- package/dist/components/data/data-list/DataListValue.d.ts +18 -0
- package/dist/components/data/data-list/index.d.ts +10 -0
- package/dist/components/data/empty-state/EmptyState.d.ts +31 -0
- package/dist/components/data/empty-state/EmptyState.types.d.ts +51 -0
- package/dist/components/data/empty-state/EmptyStateAction.d.ts +17 -0
- package/dist/components/data/empty-state/EmptyStateDescription.d.ts +17 -0
- package/dist/components/data/empty-state/EmptyStateIcon.d.ts +22 -0
- package/dist/components/data/empty-state/EmptyStateTitle.d.ts +17 -0
- package/dist/components/data/empty-state/index.d.ts +10 -0
- package/dist/components/data/index.d.ts +9 -0
- package/dist/components/data/skeleton/Skeleton.d.ts +24 -0
- package/dist/components/data/skeleton/Skeleton.types.d.ts +12 -0
- package/dist/components/data/skeleton/index.d.ts +6 -0
- package/dist/components/data/table/Table.d.ts +33 -0
- package/dist/components/data/table/Table.types.d.ts +264 -0
- package/dist/components/data/table/TableBody.d.ts +13 -0
- package/dist/components/data/table/TableCell.d.ts +13 -0
- package/dist/components/data/table/TableEmpty.d.ts +13 -0
- package/dist/components/data/table/TableExpandableContent.d.ts +14 -0
- package/dist/components/data/table/TableHead.d.ts +13 -0
- package/dist/components/data/table/TableHeader.d.ts +13 -0
- package/dist/components/data/table/TableLoadingState.d.ts +13 -0
- package/dist/components/data/table/TableRow.d.ts +13 -0
- package/dist/components/data/table/TableSortIcon.d.ts +14 -0
- package/dist/components/data/table/index.d.ts +17 -0
- package/dist/components/drawer/Drawer.d.ts +41 -0
- package/dist/components/drawer/Drawer.types.d.ts +75 -0
- package/dist/components/drawer/drawer-variants.d.ts +17 -0
- package/dist/components/drawer/index.d.ts +8 -0
- package/dist/components/dropdown/Dropdown.d.ts +38 -0
- package/dist/components/dropdown/Dropdown.types.d.ts +82 -0
- package/dist/components/dropdown/dropdown-variants.d.ts +33 -0
- package/dist/components/feedback/ConsentBanner.d.ts +0 -1
- package/dist/components/feedback/Progress.d.ts +0 -1
- package/dist/components/feedback/Skeleton.d.ts +0 -1
- package/dist/components/filters/DateRangePicker.d.ts +0 -1
- package/dist/components/filters/FilterBar.d.ts +0 -1
- package/dist/components/filters/FilterSelect.d.ts +0 -1
- package/dist/components/filters/PriceRangeSlider.d.ts +0 -1
- package/dist/components/filters/SearchFilters.d.ts +0 -1
- package/dist/components/filters/SearchInput.d.ts +1 -2
- package/dist/components/filters/types.d.ts +0 -1
- package/dist/components/icon/Icon.d.ts +32 -0
- package/dist/components/icon/Icon.types.d.ts +7 -0
- package/dist/components/icon/index.d.ts +4 -0
- package/dist/components/icons/TrendingIcon.d.ts +0 -1
- package/dist/components/image/Image.d.ts +0 -1
- package/dist/components/input/Input.d.ts +20 -0
- package/dist/components/input/Input.types.d.ts +38 -0
- package/dist/components/input/index.d.ts +3 -0
- package/dist/components/input/input-variants.d.ts +14 -0
- package/dist/components/input/legacy/input.d.ts +11 -0
- package/dist/components/layout/Box.d.ts +40 -11
- package/dist/components/layout/Column.d.ts +6 -0
- package/dist/components/layout/Container.d.ts +1 -2
- package/dist/components/layout/Flex.d.ts +29 -14
- package/dist/components/layout/Footer.d.ts +0 -1
- package/dist/components/layout/Grid.d.ts +34 -26
- package/dist/components/layout/ModeHero.d.ts +0 -1
- package/dist/components/layout/Navbar.d.ts +0 -1
- package/dist/components/layout/Row.d.ts +28 -0
- package/dist/components/layout/Section.d.ts +0 -1
- package/dist/components/layout/Stack.d.ts +24 -15
- package/dist/components/layout/Surface.d.ts +21 -0
- package/dist/components/layout/index.d.ts +10 -5
- package/dist/components/layout/layout.types.d.ts +16 -1
- package/dist/components/menus/DropdownMenu.d.ts +0 -1
- package/dist/components/menus/NavigationMenu.d.ts +0 -1
- package/dist/components/menus/Tabs.d.ts +0 -1
- package/dist/components/menus/context-menu/ContextMenuContent.d.ts +22 -0
- package/dist/components/menus/context-menu/ContextMenuGroup.d.ts +14 -0
- package/dist/components/menus/context-menu/ContextMenuItem.d.ts +14 -0
- package/dist/components/menus/context-menu/ContextMenuLabel.d.ts +14 -0
- package/dist/components/menus/context-menu/ContextMenuRoot.d.ts +47 -0
- package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts +14 -0
- package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts +16 -0
- package/dist/components/menus/context-menu/index.d.ts +12 -0
- package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts +18 -0
- package/dist/components/menus/dropdown/DropdownMenuContent.d.ts +15 -0
- package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts +12 -0
- package/dist/components/menus/dropdown/DropdownMenuItem.d.ts +30 -0
- package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts +17 -0
- package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts +24 -0
- package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts +18 -0
- package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts +33 -0
- package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts +13 -0
- package/dist/components/menus/dropdown/DropdownMenuSub.d.ts +10 -0
- package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts +13 -0
- package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts +13 -0
- package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts +14 -0
- package/dist/components/menus/dropdown/index.d.ts +18 -0
- package/dist/components/menus/hover-card/HoverCardContent.d.ts +14 -0
- package/dist/components/menus/hover-card/HoverCardRoot.d.ts +20 -0
- package/dist/components/menus/hover-card/HoverCardTrigger.d.ts +13 -0
- package/dist/components/menus/hover-card/index.d.ts +8 -0
- package/dist/components/menus/index.d.ts +9 -0
- package/dist/components/menus/popover/PopoverArrow.d.ts +17 -0
- package/dist/components/menus/popover/PopoverContent.d.ts +24 -0
- package/dist/components/menus/popover/PopoverRoot.d.ts +43 -0
- package/dist/components/menus/popover/PopoverTrigger.d.ts +17 -0
- package/dist/components/menus/popover/index.d.ts +9 -0
- package/dist/components/modal/Modal.d.ts +70 -0
- package/dist/components/modal/modal-variants.d.ts +26 -0
- package/dist/components/modals/ConfirmDialog.d.ts +3 -3
- package/dist/components/modals/CustomDialog.d.ts +0 -1
- package/dist/components/modals/Modal.d.ts +0 -1
- package/dist/components/modals/ModalProvider.d.ts +0 -1
- package/dist/components/modals/SimpleModal.d.ts +0 -1
- package/dist/components/navigation/Breadcrumbs.d.ts +0 -1
- package/dist/components/navigation/Pagination.d.ts +0 -1
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +52 -0
- package/dist/components/navigation/breadcrumbs/index.d.ts +5 -0
- package/dist/components/navigation/index.d.ts +10 -0
- package/dist/components/navigation/pagination/Pagination.d.ts +60 -0
- package/dist/components/navigation/pagination/index.d.ts +5 -0
- package/dist/components/navigation/segmented-control/SegmentedControl.d.ts +43 -0
- package/dist/components/navigation/segmented-control/index.d.ts +5 -0
- package/dist/components/navigation/stepper/Stepper.d.ts +129 -0
- package/dist/components/navigation/stepper/index.d.ts +5 -0
- package/dist/components/navigation/tabs/Tabs.d.ts +73 -0
- package/dist/components/navigation/tabs/index.d.ts +5 -0
- package/dist/components/notifications/NotificationCenter.DismissAll.d.ts +21 -0
- package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts +23 -0
- package/dist/components/notifications/NotificationCenter.Item.d.ts +24 -0
- package/dist/components/notifications/NotificationCenter.List.d.ts +22 -0
- package/dist/components/notifications/NotificationCenter.Panel.d.ts +32 -0
- package/dist/components/notifications/NotificationCenter.Provider.d.ts +31 -0
- package/dist/components/notifications/NotificationCenter.Trigger.d.ts +15 -0
- package/dist/components/notifications/NotificationCenter.d.ts +27 -0
- package/dist/components/notifications/NotificationCenter.types.d.ts +89 -0
- package/dist/components/notifications/index.d.ts +23 -0
- package/dist/components/notifications/useNotificationCenter.d.ts +47 -0
- package/dist/components/overlays/Backdrop.d.ts +24 -0
- package/dist/components/overlays/Dialog.d.ts +66 -0
- package/dist/components/overlays/Modal.d.ts +60 -0
- package/dist/components/overlays/OverlayPortal.d.ts +0 -1
- package/dist/components/overlays/Popover.d.ts +2 -3
- package/dist/components/overlays/Portal.d.ts +29 -0
- package/dist/components/overlays/Toast.d.ts +36 -0
- package/dist/components/overlays/ToastProvider.d.ts +58 -0
- package/dist/components/overlays/ToastViewport.d.ts +27 -0
- package/dist/components/overlays/Tooltip.d.ts +2 -3
- package/dist/components/overlays/index.d.ts +13 -0
- package/dist/components/overlays/utils/FocusLock.d.ts +30 -0
- package/dist/components/overlays/utils/ScrollLock.d.ts +11 -0
- package/dist/components/overlays/utils/positioning.d.ts +68 -0
- package/dist/components/primitives/Badge.d.ts +1 -2
- package/dist/components/primitives/Button.d.ts +0 -1
- package/dist/components/primitives/Card.d.ts +0 -1
- package/dist/components/primitives/Divider.d.ts +0 -1
- package/dist/components/primitives/Input.d.ts +2 -3
- package/dist/components/primitives/Label.d.ts +0 -1
- package/dist/components/primitives/Link.d.ts +1 -2
- package/dist/components/primitives/ThemeSwitch.d.ts +3 -3
- package/dist/components/radio/Radio.d.ts +23 -0
- package/dist/components/radio/Radio.types.d.ts +63 -0
- package/dist/components/radio/RadioGroup.d.ts +20 -0
- package/dist/components/radio/RadioGroup.types.d.ts +61 -0
- package/dist/components/radio/index.d.ts +5 -0
- package/dist/components/radio/radio-variants.d.ts +13 -0
- package/dist/components/search/SearchBar.d.ts +0 -1
- package/dist/components/sections/ArticlesSection.d.ts +0 -1
- package/dist/components/sections/CTASection.d.ts +0 -1
- package/dist/components/sections/FeatureSection.d.ts +0 -1
- package/dist/components/sections/HeroSection.d.ts +0 -1
- package/dist/components/sections/TrendingSection.d.ts +0 -1
- package/dist/components/select/Select.d.ts +38 -0
- package/dist/components/select/Select.types.d.ts +107 -0
- package/dist/components/select/index.d.ts +5 -0
- package/dist/components/select/legacy/select.d.ts +11 -0
- package/dist/components/select/select-variants.d.ts +32 -0
- package/dist/components/skeletons/EventCardSkeleton.d.ts +0 -1
- package/dist/components/skeletons/VenueCardSkeleton.d.ts +0 -1
- package/dist/components/switch/Switch.d.ts +24 -0
- package/dist/components/switch/Switch.types.d.ts +53 -0
- package/dist/components/switch/index.d.ts +3 -0
- package/dist/components/switch/switch-variants.d.ts +34 -0
- package/dist/components/textarea/Textarea.d.ts +21 -0
- package/dist/components/textarea/Textarea.types.d.ts +40 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/legacy/textarea.d.ts +11 -0
- package/dist/components/textarea/textarea-variants.d.ts +14 -0
- package/dist/components/toasts/Toast.d.ts +1 -2
- package/dist/components/toasts/ToastProvider.d.ts +0 -1
- package/dist/components/ui/alert.d.ts +9 -0
- package/dist/components/ui/body.d.ts +12 -0
- package/dist/components/ui/button.d.ts +2 -3
- package/dist/components/ui/caption.d.ts +11 -0
- package/dist/components/ui/card.d.ts +0 -1
- package/dist/components/ui/code.d.ts +11 -0
- package/dist/components/ui/dialog.d.ts +0 -1
- package/dist/components/ui/display.d.ts +12 -0
- package/dist/components/ui/field.d.ts +45 -0
- package/dist/components/ui/heading.d.ts +12 -0
- package/dist/components/ui/label.d.ts +9 -3
- package/dist/components/ui/lead.d.ts +11 -0
- package/dist/components/ui/text.d.ts +18 -0
- package/dist/components/ui/toast.d.ts +0 -1
- package/dist/components/ui/toaster.d.ts +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -1
- package/dist/hooks/use-toast.d.ts +0 -1
- package/dist/hooks/useDebounce.d.ts +0 -1
- package/dist/hooks/useModal.d.ts +0 -1
- package/dist/hooks/useToast.d.ts +0 -1
- package/dist/icons/IconArrowRight.d.ts +6 -0
- package/dist/icons/IconCalendar.d.ts +6 -0
- package/dist/icons/IconCheck.d.ts +6 -0
- package/dist/icons/IconChevronDown.d.ts +6 -0
- package/dist/icons/IconChevronRight.d.ts +6 -0
- package/dist/icons/IconClose.d.ts +6 -0
- package/dist/icons/IconError.d.ts +6 -0
- package/dist/icons/IconInfo.d.ts +6 -0
- package/dist/icons/IconLocation.d.ts +6 -0
- package/dist/icons/IconMenu.d.ts +6 -0
- package/dist/icons/IconSearch.d.ts +6 -0
- package/dist/icons/IconSuccess.d.ts +6 -0
- package/dist/icons/IconWarning.d.ts +6 -0
- package/dist/icons/icon.types.d.ts +25 -0
- package/dist/icons/index.d.ts +34 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +37 -78
- package/dist/index.mjs +7675 -5926
- package/dist/lib/a11y.d.ts +0 -1
- package/dist/lib/responsive-props.d.ts +0 -1
- package/dist/lib/utils.d.ts +0 -1
- package/dist/{motion-CuHacXY1.js → motion-CzQhSEqk.js} +122 -106
- package/dist/motion-DJx1TbXJ.cjs +2 -0
- package/dist/preset.cjs +1 -1
- package/dist/preset.d.ts +0 -1
- package/dist/preset.mjs +172 -53
- package/dist/styles.cjs +2 -0
- package/dist/styles.css +1 -1
- package/dist/styles.d.ts +0 -0
- package/dist/styles.mjs +1 -0
- package/dist/theme/ThemeProvider.d.ts +1 -2
- package/dist/theme/applyMode.d.ts +0 -1
- package/dist/theme/colors.d.ts +6 -71
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.d.ts +1 -2
- package/dist/theme/index.mjs +1352 -224
- package/dist/theme/loader.d.ts +0 -1
- package/dist/theme/motion/gestures.d.ts +76 -0
- package/dist/theme/motion/useReducedMotion.d.ts +11 -0
- package/dist/theme/motion.d.ts +0 -1
- package/dist/theme/registry.d.ts +0 -1
- package/dist/theme/schema.d.ts +0 -1
- package/dist/theme/spacing.d.ts +0 -1
- package/dist/theme/typography.d.ts +0 -1
- package/dist/themes/brand.d.ts +0 -1
- package/dist/themes/brand_engine.d.ts +7 -1
- package/dist/themes/dark.d.ts +0 -1
- package/dist/themes/default.d.ts +0 -1
- package/dist/themes/index.d.ts +0 -1
- package/dist/themes/minimal.d.ts +0 -1
- package/dist/themes/neon.d.ts +0 -1
- package/dist/themes/types.d.ts +0 -1
- package/dist/tokens/colors.d.ts +14 -20
- package/dist/tokens/components/alert.d.ts +74 -0
- package/dist/tokens/components/button.d.ts +130 -0
- package/dist/tokens/components/card.d.ts +91 -0
- package/dist/tokens/components/checkbox.d.ts +161 -0
- package/dist/tokens/components/data.d.ts +227 -0
- package/dist/tokens/components/domain.d.ts +379 -0
- package/dist/tokens/components/dropdown.d.ts +146 -0
- package/dist/tokens/components/icon.d.ts +57 -0
- package/dist/tokens/components/index.d.ts +31 -0
- package/dist/tokens/components/input.d.ts +284 -0
- package/dist/tokens/components/menu.d.ts +114 -0
- package/dist/tokens/components/motion.d.ts +103 -0
- package/dist/tokens/components/navigation.d.ts +181 -0
- package/dist/tokens/components/notifications.d.ts +159 -0
- package/dist/tokens/components/overlay.d.ts +227 -0
- package/dist/tokens/components/popover.d.ts +84 -0
- package/dist/tokens/components/radio.d.ts +149 -0
- package/dist/tokens/components/section.d.ts +41 -0
- package/dist/tokens/components/surface.d.ts +94 -0
- package/dist/tokens/components/switch.d.ts +208 -0
- package/dist/tokens/components/text.d.ts +68 -0
- package/dist/tokens/components/toast.d.ts +146 -0
- package/dist/tokens/components/tooltip.d.ts +52 -0
- package/dist/tokens/css-variables.d.ts +0 -20
- package/dist/tokens/index.cjs +3 -3
- package/dist/tokens/index.d.ts +2 -1
- package/dist/tokens/index.mjs +3640 -821
- package/dist/tokens/motion/v2.d.ts +342 -0
- package/dist/tokens/motion.d.ts +55 -5
- package/dist/tokens/opacity.d.ts +22 -0
- package/dist/tokens/radius.d.ts +22 -2
- package/dist/tokens/shadows.d.ts +64 -6
- package/dist/tokens/spacing.d.ts +47 -2
- package/dist/tokens/theme.d.ts +119 -0
- package/dist/tokens/typography.d.ts +141 -24
- package/dist/typography-C-Nb4y0o.cjs +2 -0
- package/dist/typography-DHym9KAP.js +1196 -0
- package/package.json +31 -22
- package/dist/ThemeProvider-CaUX_Jam.cjs +0 -2
- package/dist/ThemeProvider-ltuW-773.js +0 -1227
- package/dist/animation/index.d.ts.map +0 -1
- package/dist/animation/presets.d.ts.map +0 -1
- package/dist/animation/tas.d.ts.map +0 -1
- package/dist/animation/types.d.ts.map +0 -1
- package/dist/animation/utils.d.ts.map +0 -1
- package/dist/components/SectionBuilder.d.ts.map +0 -1
- package/dist/components/SectionBuilder.presets.d.ts.map +0 -1
- package/dist/components/SectionBuilder.types.d.ts.map +0 -1
- package/dist/components/admin/Dashboard.d.ts.map +0 -1
- package/dist/components/admin/UserManagement.d.ts.map +0 -1
- package/dist/components/auth/LoginForm.d.ts.map +0 -1
- package/dist/components/auth/ProfileCard.d.ts.map +0 -1
- package/dist/components/auth/RegisterForm.d.ts.map +0 -1
- package/dist/components/cards/EventCard.d.ts.map +0 -1
- package/dist/components/cards/VenueCard.d.ts.map +0 -1
- package/dist/components/controls/LanguageSelector.d.ts.map +0 -1
- package/dist/components/data/List.d.ts.map +0 -1
- package/dist/components/data/Table.d.ts.map +0 -1
- package/dist/components/data/Timeline.d.ts.map +0 -1
- package/dist/components/feedback/Alert.d.ts +0 -10
- package/dist/components/feedback/Alert.d.ts.map +0 -1
- package/dist/components/feedback/ConsentBanner.d.ts.map +0 -1
- package/dist/components/feedback/Progress.d.ts.map +0 -1
- package/dist/components/feedback/Skeleton.d.ts.map +0 -1
- package/dist/components/filters/DateRangePicker.d.ts.map +0 -1
- package/dist/components/filters/FilterBar.d.ts.map +0 -1
- package/dist/components/filters/FilterSelect.d.ts.map +0 -1
- package/dist/components/filters/PriceRangeSlider.d.ts.map +0 -1
- package/dist/components/filters/SearchFilters.d.ts.map +0 -1
- package/dist/components/filters/SearchInput.d.ts.map +0 -1
- package/dist/components/filters/types.d.ts.map +0 -1
- package/dist/components/forms/FormInput.d.ts +0 -12
- package/dist/components/forms/FormInput.d.ts.map +0 -1
- package/dist/components/forms/FormSelect.d.ts +0 -18
- package/dist/components/forms/FormSelect.d.ts.map +0 -1
- package/dist/components/forms/FormTextarea.d.ts +0 -11
- package/dist/components/forms/FormTextarea.d.ts.map +0 -1
- package/dist/components/icons/TrendingIcon.d.ts.map +0 -1
- package/dist/components/image/Image.d.ts.map +0 -1
- package/dist/components/layout/Box.d.ts.map +0 -1
- package/dist/components/layout/Container.d.ts.map +0 -1
- package/dist/components/layout/Flex.d.ts.map +0 -1
- package/dist/components/layout/Footer.d.ts.map +0 -1
- package/dist/components/layout/Grid.d.ts.map +0 -1
- package/dist/components/layout/ModeHero.d.ts.map +0 -1
- package/dist/components/layout/Navbar.d.ts.map +0 -1
- package/dist/components/layout/Section.d.ts.map +0 -1
- package/dist/components/layout/Stack.d.ts.map +0 -1
- package/dist/components/layout/index.d.ts.map +0 -1
- package/dist/components/layout/layout.types.d.ts.map +0 -1
- package/dist/components/menus/DropdownMenu.d.ts.map +0 -1
- package/dist/components/menus/NavigationMenu.d.ts.map +0 -1
- package/dist/components/menus/Tabs.d.ts.map +0 -1
- package/dist/components/modals/ConfirmDialog.d.ts.map +0 -1
- package/dist/components/modals/CustomDialog.d.ts.map +0 -1
- package/dist/components/modals/Modal.d.ts.map +0 -1
- package/dist/components/modals/ModalProvider.d.ts.map +0 -1
- package/dist/components/modals/SimpleModal.d.ts.map +0 -1
- package/dist/components/navigation/Breadcrumbs.d.ts.map +0 -1
- package/dist/components/navigation/Pagination.d.ts.map +0 -1
- package/dist/components/overlays/OverlayPortal.d.ts.map +0 -1
- package/dist/components/overlays/Popover.d.ts.map +0 -1
- package/dist/components/overlays/Tooltip.d.ts.map +0 -1
- package/dist/components/primitives/Badge.d.ts.map +0 -1
- package/dist/components/primitives/Button.d.ts.map +0 -1
- package/dist/components/primitives/Card.d.ts.map +0 -1
- package/dist/components/primitives/Divider.d.ts.map +0 -1
- package/dist/components/primitives/Input.d.ts.map +0 -1
- package/dist/components/primitives/Label.d.ts.map +0 -1
- package/dist/components/primitives/Link.d.ts.map +0 -1
- package/dist/components/primitives/ThemeSwitch.d.ts.map +0 -1
- package/dist/components/primitives/Typography.d.ts +0 -21
- package/dist/components/primitives/Typography.d.ts.map +0 -1
- package/dist/components/search/SearchBar.d.ts.map +0 -1
- package/dist/components/sections/ArticlesSection.d.ts.map +0 -1
- package/dist/components/sections/CTASection.d.ts.map +0 -1
- package/dist/components/sections/FeatureSection.d.ts.map +0 -1
- package/dist/components/sections/HeroSection.d.ts.map +0 -1
- package/dist/components/sections/TrendingSection.d.ts.map +0 -1
- package/dist/components/skeletons/EventCardSkeleton.d.ts.map +0 -1
- package/dist/components/skeletons/VenueCardSkeleton.d.ts.map +0 -1
- package/dist/components/toasts/Toast.d.ts.map +0 -1
- package/dist/components/toasts/ToastProvider.d.ts.map +0 -1
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/dialog.d.ts.map +0 -1
- package/dist/components/ui/input.d.ts +0 -4
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/toast.d.ts.map +0 -1
- package/dist/components/ui/toaster.d.ts.map +0 -1
- package/dist/components/ui/tooltip.d.ts.map +0 -1
- package/dist/hooks/use-toast.d.ts.map +0 -1
- package/dist/hooks/useDebounce.d.ts.map +0 -1
- package/dist/hooks/useModal.d.ts.map +0 -1
- package/dist/hooks/useToast.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/a11y.d.ts.map +0 -1
- package/dist/lib/responsive-props.d.ts.map +0 -1
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/motion-4SRNkZlz.cjs +0 -2
- package/dist/preset.d.ts.map +0 -1
- package/dist/radius-CAu4qr9R.js +0 -185
- package/dist/radius-Cz6tayZG.cjs +0 -2
- package/dist/test/animation-utils.d.ts +0 -60
- package/dist/test/animation-utils.d.ts.map +0 -1
- package/dist/test/setup.d.ts +0 -1
- package/dist/test/setup.d.ts.map +0 -1
- package/dist/theme/ThemeProvider.d.ts.map +0 -1
- package/dist/theme/applyMode.d.ts.map +0 -1
- package/dist/theme/colors.d.ts.map +0 -1
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/loader.d.ts.map +0 -1
- package/dist/theme/motion.d.ts.map +0 -1
- package/dist/theme/registry.d.ts.map +0 -1
- package/dist/theme/schema.d.ts.map +0 -1
- package/dist/theme/spacing.d.ts.map +0 -1
- package/dist/theme/typography.d.ts.map +0 -1
- package/dist/themes/brand.d.ts.map +0 -1
- package/dist/themes/brand_engine.d.ts.map +0 -1
- package/dist/themes/dark.d.ts.map +0 -1
- package/dist/themes/default.d.ts.map +0 -1
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/minimal.d.ts.map +0 -1
- package/dist/themes/neon.d.ts.map +0 -1
- package/dist/themes/types.d.ts.map +0 -1
- package/dist/tokens/colors.d.ts.map +0 -1
- package/dist/tokens/css-variables.d.ts.map +0 -1
- package/dist/tokens/index.d.ts.map +0 -1
- package/dist/tokens/motion.d.ts.map +0 -1
- package/dist/tokens/radius.d.ts.map +0 -1
- package/dist/tokens/shadows.d.ts.map +0 -1
- package/dist/tokens/spacing.d.ts.map +0 -1
- package/dist/tokens/typography.d.ts.map +0 -1
package/dist/theme/loader.d.ts
CHANGED
|
@@ -0,0 +1,76 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
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;
|
package/dist/theme/motion.d.ts
CHANGED
package/dist/theme/registry.d.ts
CHANGED
package/dist/theme/schema.d.ts
CHANGED
package/dist/theme/spacing.d.ts
CHANGED
package/dist/themes/brand.d.ts
CHANGED
|
@@ -76,6 +76,13 @@ export declare function setActiveBrand(brand: BrandPackage | null): void;
|
|
|
76
76
|
* Clear active brand
|
|
77
77
|
*/
|
|
78
78
|
export declare function clearActiveBrand(): void;
|
|
79
|
+
/**
|
|
80
|
+
* Clear brand registry
|
|
81
|
+
* This function is primarily for testing purposes to reset the brand registry between tests
|
|
82
|
+
*
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
export declare function clearBrandRegistry(): void;
|
|
79
86
|
/**
|
|
80
87
|
* Get brand theme for a specific mode
|
|
81
88
|
*
|
|
@@ -99,4 +106,3 @@ export declare function applyBrandOverrides(brand: BrandPackage, mode: Mode): vo
|
|
|
99
106
|
* @param namespace - Brand namespace to remove
|
|
100
107
|
*/
|
|
101
108
|
export declare function removeBrandOverrides(namespace: string): void;
|
|
102
|
-
//# sourceMappingURL=brand_engine.d.ts.map
|
package/dist/themes/dark.d.ts
CHANGED
package/dist/themes/default.d.ts
CHANGED
package/dist/themes/index.d.ts
CHANGED
package/dist/themes/minimal.d.ts
CHANGED
package/dist/themes/neon.d.ts
CHANGED
package/dist/themes/types.d.ts
CHANGED
package/dist/tokens/colors.d.ts
CHANGED
|
@@ -68,6 +68,18 @@ export type SemanticColors = {
|
|
|
68
68
|
infoForeground: string;
|
|
69
69
|
};
|
|
70
70
|
export declare const semanticColors: Record<Mode, SemanticColors>;
|
|
71
|
+
/**
|
|
72
|
+
* Chart color tokens
|
|
73
|
+
* Used for data visualization (charts, graphs)
|
|
74
|
+
*/
|
|
75
|
+
export type ChartColors = {
|
|
76
|
+
chart1: string;
|
|
77
|
+
chart2: string;
|
|
78
|
+
chart3: string;
|
|
79
|
+
chart4: string;
|
|
80
|
+
chart5: string;
|
|
81
|
+
};
|
|
82
|
+
export declare const chartColors: Record<Mode, ChartColors>;
|
|
71
83
|
/**
|
|
72
84
|
* Text color tokens
|
|
73
85
|
* Primary, secondary, tertiary, muted text
|
|
@@ -160,25 +172,6 @@ export declare const colorCSSVariables: {
|
|
|
160
172
|
readonly "--secondary-800": string;
|
|
161
173
|
readonly "--secondary-900": string;
|
|
162
174
|
readonly "--secondary-950": string;
|
|
163
|
-
readonly "--surface-base": string;
|
|
164
|
-
readonly "--surface-elevated1": string;
|
|
165
|
-
readonly "--surface-elevated2": string;
|
|
166
|
-
readonly "--surface-elevated3": string;
|
|
167
|
-
readonly "--surface-overlay": string;
|
|
168
|
-
readonly "--surface-glass": string;
|
|
169
|
-
readonly "--semantic-success": string;
|
|
170
|
-
readonly "--semantic-success-foreground": string;
|
|
171
|
-
readonly "--semantic-error": string;
|
|
172
|
-
readonly "--semantic-error-foreground": string;
|
|
173
|
-
readonly "--semantic-warning": string;
|
|
174
|
-
readonly "--semantic-warning-foreground": string;
|
|
175
|
-
readonly "--semantic-info": string;
|
|
176
|
-
readonly "--semantic-info-foreground": string;
|
|
177
|
-
readonly "--text-primary": string;
|
|
178
|
-
readonly "--text-secondary": string;
|
|
179
|
-
readonly "--text-tertiary": string;
|
|
180
|
-
readonly "--text-muted": string;
|
|
181
|
-
readonly "--text-inverse": string;
|
|
182
175
|
};
|
|
183
176
|
/**
|
|
184
177
|
* Tailwind theme colors
|
|
@@ -277,6 +270,8 @@ export declare const tailwindThemeColors: {
|
|
|
277
270
|
readonly secondary: "hsl(var(--text-secondary))";
|
|
278
271
|
readonly tertiary: "hsl(var(--text-tertiary))";
|
|
279
272
|
readonly muted: "hsl(var(--text-muted))";
|
|
273
|
+
readonly destructive: "hsl(var(--destructive))";
|
|
274
|
+
readonly accent: "hsl(var(--tm-accent))";
|
|
280
275
|
readonly inverse: "hsl(var(--text-inverse))";
|
|
281
276
|
};
|
|
282
277
|
readonly border: "hsl(var(--border))";
|
|
@@ -290,4 +285,3 @@ export declare const tailwindThemeColors: {
|
|
|
290
285
|
readonly 5: "hsl(var(--chart-5))";
|
|
291
286
|
};
|
|
292
287
|
};
|
|
293
|
-
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Alert Component Tokens
|
|
3
|
+
*
|
|
4
|
+
* Component-level design tokens for Alert component.
|
|
5
|
+
* Maps foundation tokens (spacing, radius) to alert-specific usage.
|
|
6
|
+
*
|
|
7
|
+
* Includes variant-based token structure for future extensibility.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Alert Component Tokens
|
|
11
|
+
*
|
|
12
|
+
* Defines spacing, sizing, and visual tokens for Alert component.
|
|
13
|
+
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ALERT_TOKENS: {
|
|
16
|
+
/**
|
|
17
|
+
* Padding for alert content
|
|
18
|
+
*/
|
|
19
|
+
readonly padding: "p-md";
|
|
20
|
+
/**
|
|
21
|
+
* Border radius for alerts
|
|
22
|
+
*/
|
|
23
|
+
readonly radius: "rounded-lg";
|
|
24
|
+
/**
|
|
25
|
+
* Icon size within alerts
|
|
26
|
+
*/
|
|
27
|
+
readonly iconSize: "size-4";
|
|
28
|
+
/**
|
|
29
|
+
* Variant-based token structure
|
|
30
|
+
* Organized by variant for future extensibility
|
|
31
|
+
*/
|
|
32
|
+
readonly variant: {
|
|
33
|
+
readonly default: {
|
|
34
|
+
readonly padding: "p-md";
|
|
35
|
+
readonly radius: "rounded-lg";
|
|
36
|
+
};
|
|
37
|
+
readonly primary: {
|
|
38
|
+
readonly padding: "p-md";
|
|
39
|
+
readonly radius: "rounded-lg";
|
|
40
|
+
};
|
|
41
|
+
readonly secondary: {
|
|
42
|
+
readonly padding: "p-md";
|
|
43
|
+
readonly radius: "rounded-lg";
|
|
44
|
+
};
|
|
45
|
+
readonly accent: {
|
|
46
|
+
readonly padding: "p-md";
|
|
47
|
+
readonly radius: "rounded-lg";
|
|
48
|
+
};
|
|
49
|
+
readonly destructive: {
|
|
50
|
+
readonly padding: "p-md";
|
|
51
|
+
readonly radius: "rounded-lg";
|
|
52
|
+
};
|
|
53
|
+
readonly success: {
|
|
54
|
+
readonly padding: "p-md";
|
|
55
|
+
readonly radius: "rounded-lg";
|
|
56
|
+
};
|
|
57
|
+
readonly warning: {
|
|
58
|
+
readonly padding: "p-md";
|
|
59
|
+
readonly radius: "rounded-lg";
|
|
60
|
+
};
|
|
61
|
+
readonly danger: {
|
|
62
|
+
readonly padding: "p-md";
|
|
63
|
+
readonly radius: "rounded-lg";
|
|
64
|
+
};
|
|
65
|
+
readonly info: {
|
|
66
|
+
readonly padding: "p-md";
|
|
67
|
+
readonly radius: "rounded-lg";
|
|
68
|
+
};
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Type exports for Alert tokens
|
|
73
|
+
*/
|
|
74
|
+
export type AlertVariant = keyof typeof ALERT_TOKENS.variant;
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Button Component Tokens
|
|
3
|
+
*
|
|
4
|
+
* Component-level design tokens for Button component.
|
|
5
|
+
* Maps foundation tokens (spacing, typography, radius, shadows) to button-specific usage.
|
|
6
|
+
*
|
|
7
|
+
* All values reference foundation tokens to ensure consistency across the design system.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Button Component Tokens
|
|
11
|
+
*
|
|
12
|
+
* Defines all spacing, sizing, typography, and visual tokens for Button component.
|
|
13
|
+
* Values are mapped to Tailwind utility classes for direct use in component variants.
|
|
14
|
+
*/
|
|
15
|
+
export declare const BUTTON_TOKENS: {
|
|
16
|
+
/**
|
|
17
|
+
* Button heights by size
|
|
18
|
+
* Maps to Tailwind height utilities: h-8, h-9, h-10
|
|
19
|
+
*/
|
|
20
|
+
readonly height: {
|
|
21
|
+
readonly sm: "h-8";
|
|
22
|
+
readonly md: "h-9";
|
|
23
|
+
readonly lg: "h-10";
|
|
24
|
+
readonly icon: "h-9";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Button padding by size
|
|
28
|
+
* Horizontal and vertical padding values
|
|
29
|
+
*/
|
|
30
|
+
readonly padding: {
|
|
31
|
+
readonly horizontal: {
|
|
32
|
+
readonly sm: "px-sm";
|
|
33
|
+
readonly md: "px-md";
|
|
34
|
+
readonly lg: "px-lg";
|
|
35
|
+
};
|
|
36
|
+
readonly vertical: {
|
|
37
|
+
readonly sm: "py-xs";
|
|
38
|
+
readonly md: "py-sm";
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Gap between icon and text
|
|
43
|
+
*/
|
|
44
|
+
readonly gap: "gap-sm";
|
|
45
|
+
/**
|
|
46
|
+
* Border radius for all button sizes
|
|
47
|
+
*/
|
|
48
|
+
readonly radius: "rounded-md";
|
|
49
|
+
/**
|
|
50
|
+
* Icon size within buttons
|
|
51
|
+
*/
|
|
52
|
+
readonly iconSize: "size-4";
|
|
53
|
+
/**
|
|
54
|
+
* Width tokens
|
|
55
|
+
*/
|
|
56
|
+
readonly width: {
|
|
57
|
+
readonly icon: "w-9";
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
* Font sizes by button size
|
|
61
|
+
* Maps to foundation typography fontSize tokens
|
|
62
|
+
*/
|
|
63
|
+
readonly fontSize: {
|
|
64
|
+
readonly sm: "text-xs";
|
|
65
|
+
readonly md: "text-sm";
|
|
66
|
+
readonly lg: "text-sm";
|
|
67
|
+
};
|
|
68
|
+
/**
|
|
69
|
+
* Shadow tokens by variant
|
|
70
|
+
* Maps to foundation elevation shadow tokens
|
|
71
|
+
*/
|
|
72
|
+
readonly shadow: {
|
|
73
|
+
readonly default: "shadow-sm";
|
|
74
|
+
readonly primary: "shadow";
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Color tokens for button variants
|
|
78
|
+
* Uses semantic color tokens that map to CSS variables
|
|
79
|
+
*/
|
|
80
|
+
readonly variant: {
|
|
81
|
+
readonly primary: {
|
|
82
|
+
readonly background: "bg-primary";
|
|
83
|
+
readonly text: "text-primary-foreground";
|
|
84
|
+
readonly hover: "hover:bg-primary/90";
|
|
85
|
+
};
|
|
86
|
+
readonly secondary: {
|
|
87
|
+
readonly background: "bg-secondary";
|
|
88
|
+
readonly text: "text-secondary-foreground";
|
|
89
|
+
readonly hover: "hover:bg-secondary/80";
|
|
90
|
+
};
|
|
91
|
+
readonly accent: {
|
|
92
|
+
readonly background: "bg-accent";
|
|
93
|
+
readonly text: "text-accent-foreground";
|
|
94
|
+
readonly hover: "hover:bg-accent/90";
|
|
95
|
+
};
|
|
96
|
+
readonly outline: {
|
|
97
|
+
readonly border: "border border-input";
|
|
98
|
+
readonly background: "bg-background";
|
|
99
|
+
readonly hover: {
|
|
100
|
+
readonly background: "hover:bg-accent";
|
|
101
|
+
readonly text: "hover:text-accent-foreground";
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
readonly ghost: {
|
|
105
|
+
readonly hover: {
|
|
106
|
+
readonly background: "hover:bg-accent";
|
|
107
|
+
readonly text: "hover:text-accent-foreground";
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
readonly destructive: {
|
|
111
|
+
readonly background: "bg-destructive";
|
|
112
|
+
readonly text: "text-destructive-foreground";
|
|
113
|
+
readonly hover: "hover:bg-destructive/90";
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
/**
|
|
117
|
+
* Transition tokens
|
|
118
|
+
*/
|
|
119
|
+
readonly transition: {
|
|
120
|
+
readonly colors: "transition-colors";
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Type exports for Button tokens
|
|
125
|
+
*/
|
|
126
|
+
export type ButtonHeight = keyof typeof BUTTON_TOKENS.height;
|
|
127
|
+
export type ButtonPaddingHorizontal = keyof typeof BUTTON_TOKENS.padding.horizontal;
|
|
128
|
+
export type ButtonPaddingVertical = keyof typeof BUTTON_TOKENS.padding.vertical;
|
|
129
|
+
export type ButtonFontSize = keyof typeof BUTTON_TOKENS.fontSize;
|
|
130
|
+
export type ButtonShadow = keyof typeof BUTTON_TOKENS.shadow;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Card Component Tokens
|
|
3
|
+
*
|
|
4
|
+
* Component-level design tokens for Card component.
|
|
5
|
+
* Maps foundation tokens (spacing, radius, shadows) to card-specific usage.
|
|
6
|
+
*
|
|
7
|
+
* Prepared for future size variants (sm, md, lg).
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Card Component Tokens
|
|
11
|
+
*
|
|
12
|
+
* Defines spacing, radius, and shadow tokens for Card component.
|
|
13
|
+
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
+
*/
|
|
15
|
+
export declare const CARD_TOKENS: {
|
|
16
|
+
/**
|
|
17
|
+
* Padding for card sections (CardHeader, CardContent, CardFooter)
|
|
18
|
+
*/
|
|
19
|
+
readonly padding: {
|
|
20
|
+
readonly sm: "p-sm";
|
|
21
|
+
readonly md: "p-lg";
|
|
22
|
+
readonly lg: "p-xl";
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Border radius for cards
|
|
26
|
+
*/
|
|
27
|
+
readonly radius: {
|
|
28
|
+
readonly sm: "rounded-md";
|
|
29
|
+
readonly md: "rounded-xl";
|
|
30
|
+
readonly lg: "rounded-2xl";
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Vertical spacing within card sections
|
|
34
|
+
* Used for CardHeader spacing
|
|
35
|
+
*/
|
|
36
|
+
readonly spacing: {
|
|
37
|
+
readonly vertical: {
|
|
38
|
+
readonly xs: "space-y-xs";
|
|
39
|
+
readonly sm: "space-y-sm";
|
|
40
|
+
readonly md: "space-y-md";
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
/**
|
|
44
|
+
* Shadow (elevation) for cards
|
|
45
|
+
* Maps to foundation elevation shadow tokens
|
|
46
|
+
*/
|
|
47
|
+
readonly shadow: {
|
|
48
|
+
readonly default: "shadow";
|
|
49
|
+
readonly sm: "shadow-sm";
|
|
50
|
+
readonly md: "shadow-md";
|
|
51
|
+
readonly lg: "shadow-lg";
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Size-based token structure
|
|
55
|
+
* Organized by size for easy access
|
|
56
|
+
*/
|
|
57
|
+
readonly size: {
|
|
58
|
+
readonly sm: {
|
|
59
|
+
readonly padding: "p-sm";
|
|
60
|
+
readonly radius: "rounded-md";
|
|
61
|
+
readonly shadow: "shadow-sm";
|
|
62
|
+
readonly spacing: {
|
|
63
|
+
readonly vertical: "space-y-xs";
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
readonly md: {
|
|
67
|
+
readonly padding: "p-lg";
|
|
68
|
+
readonly radius: "rounded-xl";
|
|
69
|
+
readonly shadow: "shadow";
|
|
70
|
+
readonly spacing: {
|
|
71
|
+
readonly vertical: "space-y-xs";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
readonly lg: {
|
|
75
|
+
readonly padding: "p-xl";
|
|
76
|
+
readonly radius: "rounded-2xl";
|
|
77
|
+
readonly shadow: "shadow-md";
|
|
78
|
+
readonly spacing: {
|
|
79
|
+
readonly vertical: "space-y-sm";
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
/**
|
|
85
|
+
* Type exports for Card tokens
|
|
86
|
+
*/
|
|
87
|
+
export type CardPadding = keyof typeof CARD_TOKENS.padding;
|
|
88
|
+
export type CardRadius = keyof typeof CARD_TOKENS.radius;
|
|
89
|
+
export type CardSpacingVertical = keyof typeof CARD_TOKENS.spacing.vertical;
|
|
90
|
+
export type CardShadow = keyof typeof CARD_TOKENS.shadow;
|
|
91
|
+
export type CardSize = keyof typeof CARD_TOKENS.size;
|