@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.
- package/README.md +12 -8
- package/dist/{tokens/colors.d.ts → colors-CVA7_16U.d.cts} +21 -19
- package/dist/colors-CVA7_16U.d.ts +289 -0
- package/dist/index-BgXvioll.d.cts +6845 -0
- package/dist/index-Bv4wWj9I.d.ts +6845 -0
- package/dist/index.cjs +16385 -2
- package/dist/index.d.cts +4020 -0
- package/dist/index.d.ts +4020 -39
- package/dist/index.mjs +14502 -6425
- package/dist/preset.cjs +1264 -2
- package/dist/preset.d.cts +21 -0
- package/dist/preset.d.ts +3 -1
- package/dist/preset.mjs +1165 -95
- package/dist/styles.cjs +2 -2
- package/dist/styles.css +87 -1
- package/dist/styles.d.cts +2 -0
- package/dist/styles.d.ts +2 -0
- package/dist/styles.mjs +1 -1
- package/dist/theme/index.cjs +2634 -2
- package/dist/theme/index.d.cts +453 -0
- package/dist/theme/index.d.ts +453 -8
- package/dist/theme/index.mjs +1601 -576
- package/dist/tokens/index.cjs +6203 -5
- package/dist/tokens/index.d.cts +2 -0
- package/dist/tokens/index.d.ts +2 -9
- package/dist/tokens/index.mjs +2601 -155
- package/package.json +10 -9
- package/dist/animation/index.d.ts +0 -8
- package/dist/animation/presets.d.ts +0 -301
- package/dist/animation/tas.d.ts +0 -24
- package/dist/animation/types.d.ts +0 -67
- package/dist/animation/useInView.d.ts +0 -36
- package/dist/animation/utils.d.ts +0 -6
- package/dist/brand-C5R2semX.js +0 -45
- package/dist/brand-DQb18Frh.cjs +0 -2
- package/dist/components/SectionBuilder.d.ts +0 -36
- package/dist/components/SectionBuilder.presets.d.ts +0 -228
- package/dist/components/SectionBuilder.types.d.ts +0 -326
- package/dist/components/admin/Dashboard.d.ts +0 -8
- package/dist/components/admin/UserManagement.d.ts +0 -8
- package/dist/components/auth/LoginForm.d.ts +0 -11
- package/dist/components/auth/ProfileCard.d.ts +0 -9
- package/dist/components/auth/RegisterForm.d.ts +0 -13
- package/dist/components/cards/ArtistCard/ArtistCard.d.ts +0 -22
- package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts +0 -46
- package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts +0 -83
- package/dist/components/cards/ArtistCard/index.d.ts +0 -8
- package/dist/components/cards/CardBase/CardBase.d.ts +0 -45
- package/dist/components/cards/CardBase/CardBase.types.d.ts +0 -70
- package/dist/components/cards/CardBase/CardBase.variants.d.ts +0 -38
- package/dist/components/cards/CardBase/index.d.ts +0 -8
- package/dist/components/cards/CategoryCard/CategoryCard.d.ts +0 -18
- package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts +0 -38
- package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts +0 -21
- package/dist/components/cards/CategoryCard/index.d.ts +0 -7
- package/dist/components/cards/EventCard/EventCard.d.ts +0 -19
- package/dist/components/cards/EventCard/EventCard.types.d.ts +0 -47
- package/dist/components/cards/EventCard/EventCard.variants.d.ts +0 -70
- package/dist/components/cards/EventCard/index.d.ts +0 -7
- package/dist/components/cards/PromoCard/PromoCard.d.ts +0 -20
- package/dist/components/cards/PromoCard/PromoCard.types.d.ts +0 -42
- package/dist/components/cards/PromoCard/PromoCard.variants.d.ts +0 -35
- package/dist/components/cards/PromoCard/index.d.ts +0 -7
- package/dist/components/cards/TicketCard/TicketCard.d.ts +0 -19
- package/dist/components/cards/TicketCard/TicketCard.types.d.ts +0 -55
- package/dist/components/cards/TicketCard/TicketCard.variants.d.ts +0 -71
- package/dist/components/cards/TicketCard/index.d.ts +0 -7
- package/dist/components/cards/VenueCard/VenueCard.d.ts +0 -21
- package/dist/components/cards/VenueCard/VenueCard.types.d.ts +0 -46
- package/dist/components/cards/VenueCard/VenueCard.variants.d.ts +0 -60
- package/dist/components/cards/VenueCard/index.d.ts +0 -8
- package/dist/components/cards/index.d.ts +0 -19
- package/dist/components/checkbox/Checkbox.d.ts +0 -22
- package/dist/components/checkbox/Checkbox.types.d.ts +0 -68
- package/dist/components/checkbox/checkbox-variants.d.ts +0 -13
- package/dist/components/checkbox/index.d.ts +0 -3
- package/dist/components/containers/Card.d.ts +0 -75
- package/dist/components/containers/Section.d.ts +0 -31
- package/dist/components/containers/Surface.d.ts +0 -28
- package/dist/components/containers/index.d.ts +0 -9
- package/dist/components/controls/LanguageSelector.d.ts +0 -17
- package/dist/components/data/List.d.ts +0 -12
- package/dist/components/data/Table.d.ts +0 -14
- package/dist/components/data/Timeline.d.ts +0 -13
- package/dist/components/data/data-list/DataList.d.ts +0 -29
- package/dist/components/data/data-list/DataList.types.d.ts +0 -43
- package/dist/components/data/data-list/DataListItem.d.ts +0 -20
- package/dist/components/data/data-list/DataListLabel.d.ts +0 -19
- package/dist/components/data/data-list/DataListValue.d.ts +0 -18
- package/dist/components/data/data-list/index.d.ts +0 -10
- package/dist/components/data/empty-state/EmptyState.d.ts +0 -31
- package/dist/components/data/empty-state/EmptyState.types.d.ts +0 -51
- package/dist/components/data/empty-state/EmptyStateAction.d.ts +0 -17
- package/dist/components/data/empty-state/EmptyStateDescription.d.ts +0 -17
- package/dist/components/data/empty-state/EmptyStateIcon.d.ts +0 -22
- package/dist/components/data/empty-state/EmptyStateTitle.d.ts +0 -17
- package/dist/components/data/empty-state/index.d.ts +0 -10
- package/dist/components/data/index.d.ts +0 -9
- package/dist/components/data/skeleton/Skeleton.d.ts +0 -24
- package/dist/components/data/skeleton/Skeleton.types.d.ts +0 -12
- package/dist/components/data/skeleton/index.d.ts +0 -6
- package/dist/components/data/table/Table.d.ts +0 -33
- package/dist/components/data/table/Table.types.d.ts +0 -264
- package/dist/components/data/table/TableBody.d.ts +0 -13
- package/dist/components/data/table/TableCell.d.ts +0 -13
- package/dist/components/data/table/TableEmpty.d.ts +0 -13
- package/dist/components/data/table/TableExpandableContent.d.ts +0 -14
- package/dist/components/data/table/TableHead.d.ts +0 -13
- package/dist/components/data/table/TableHeader.d.ts +0 -13
- package/dist/components/data/table/TableLoadingState.d.ts +0 -13
- package/dist/components/data/table/TableRow.d.ts +0 -13
- package/dist/components/data/table/TableSortIcon.d.ts +0 -14
- package/dist/components/data/table/index.d.ts +0 -17
- package/dist/components/drawer/Drawer.d.ts +0 -41
- package/dist/components/drawer/Drawer.types.d.ts +0 -75
- package/dist/components/drawer/drawer-variants.d.ts +0 -17
- package/dist/components/drawer/index.d.ts +0 -8
- package/dist/components/dropdown/Dropdown.d.ts +0 -38
- package/dist/components/dropdown/Dropdown.types.d.ts +0 -82
- package/dist/components/dropdown/dropdown-variants.d.ts +0 -33
- package/dist/components/feedback/ConsentBanner.d.ts +0 -8
- package/dist/components/feedback/Progress.d.ts +0 -8
- package/dist/components/feedback/Skeleton.d.ts +0 -6
- package/dist/components/filters/DateRangePicker.d.ts +0 -21
- package/dist/components/filters/FilterBar.d.ts +0 -55
- package/dist/components/filters/FilterSelect.d.ts +0 -23
- package/dist/components/filters/PriceRangeSlider.d.ts +0 -27
- package/dist/components/filters/SearchFilters.d.ts +0 -32
- package/dist/components/filters/SearchInput.d.ts +0 -16
- package/dist/components/filters/types.d.ts +0 -48
- package/dist/components/icon/Icon.d.ts +0 -32
- package/dist/components/icon/Icon.types.d.ts +0 -7
- package/dist/components/icon/index.d.ts +0 -4
- package/dist/components/icons/TrendingIcon.d.ts +0 -6
- package/dist/components/image/Image.d.ts +0 -48
- package/dist/components/input/Input.d.ts +0 -20
- package/dist/components/input/Input.types.d.ts +0 -38
- package/dist/components/input/index.d.ts +0 -3
- package/dist/components/input/input-variants.d.ts +0 -14
- package/dist/components/input/legacy/input.d.ts +0 -11
- package/dist/components/layout/Box.d.ts +0 -111
- package/dist/components/layout/Column.d.ts +0 -6
- package/dist/components/layout/Container.d.ts +0 -31
- package/dist/components/layout/Flex.d.ts +0 -50
- package/dist/components/layout/Footer.d.ts +0 -9
- package/dist/components/layout/Grid.d.ts +0 -60
- package/dist/components/layout/ModeHero.d.ts +0 -10
- package/dist/components/layout/Navbar.d.ts +0 -9
- package/dist/components/layout/Row.d.ts +0 -28
- package/dist/components/layout/Section.d.ts +0 -10
- package/dist/components/layout/Stack.d.ts +0 -38
- package/dist/components/layout/Surface.d.ts +0 -21
- package/dist/components/layout/index.d.ts +0 -22
- package/dist/components/layout/layout.types.d.ts +0 -107
- package/dist/components/menus/DropdownMenu.d.ts +0 -27
- package/dist/components/menus/NavigationMenu.d.ts +0 -12
- package/dist/components/menus/Tabs.d.ts +0 -7
- package/dist/components/menus/context-menu/ContextMenuContent.d.ts +0 -22
- package/dist/components/menus/context-menu/ContextMenuGroup.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuItem.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuLabel.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuRoot.d.ts +0 -47
- package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts +0 -16
- package/dist/components/menus/context-menu/index.d.ts +0 -12
- package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts +0 -18
- package/dist/components/menus/dropdown/DropdownMenuContent.d.ts +0 -15
- package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts +0 -12
- package/dist/components/menus/dropdown/DropdownMenuItem.d.ts +0 -30
- package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts +0 -17
- package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts +0 -24
- package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts +0 -18
- package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts +0 -33
- package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuSub.d.ts +0 -10
- package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts +0 -14
- package/dist/components/menus/dropdown/index.d.ts +0 -18
- package/dist/components/menus/hover-card/HoverCardContent.d.ts +0 -14
- package/dist/components/menus/hover-card/HoverCardRoot.d.ts +0 -20
- package/dist/components/menus/hover-card/HoverCardTrigger.d.ts +0 -13
- package/dist/components/menus/hover-card/index.d.ts +0 -8
- package/dist/components/menus/index.d.ts +0 -9
- package/dist/components/menus/popover/PopoverArrow.d.ts +0 -17
- package/dist/components/menus/popover/PopoverContent.d.ts +0 -24
- package/dist/components/menus/popover/PopoverRoot.d.ts +0 -43
- package/dist/components/menus/popover/PopoverTrigger.d.ts +0 -17
- package/dist/components/menus/popover/index.d.ts +0 -9
- package/dist/components/modal/Modal.d.ts +0 -70
- package/dist/components/modal/modal-variants.d.ts +0 -26
- package/dist/components/modals/ConfirmDialog.d.ts +0 -27
- package/dist/components/modals/CustomDialog.d.ts +0 -10
- package/dist/components/modals/Modal.d.ts +0 -19
- package/dist/components/modals/ModalProvider.d.ts +0 -16
- package/dist/components/modals/SimpleModal.d.ts +0 -11
- package/dist/components/navigation/Breadcrumbs.d.ts +0 -12
- package/dist/components/navigation/Pagination.d.ts +0 -10
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +0 -52
- package/dist/components/navigation/breadcrumbs/index.d.ts +0 -5
- package/dist/components/navigation/index.d.ts +0 -10
- package/dist/components/navigation/pagination/Pagination.d.ts +0 -60
- package/dist/components/navigation/pagination/index.d.ts +0 -5
- package/dist/components/navigation/segmented-control/SegmentedControl.d.ts +0 -43
- package/dist/components/navigation/segmented-control/index.d.ts +0 -5
- package/dist/components/navigation/stepper/Stepper.d.ts +0 -129
- package/dist/components/navigation/stepper/index.d.ts +0 -5
- package/dist/components/navigation/tabs/Tabs.d.ts +0 -73
- package/dist/components/navigation/tabs/index.d.ts +0 -5
- package/dist/components/notifications/NotificationCenter.DismissAll.d.ts +0 -21
- package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts +0 -23
- package/dist/components/notifications/NotificationCenter.Item.d.ts +0 -24
- package/dist/components/notifications/NotificationCenter.List.d.ts +0 -22
- package/dist/components/notifications/NotificationCenter.Panel.d.ts +0 -32
- package/dist/components/notifications/NotificationCenter.Provider.d.ts +0 -31
- package/dist/components/notifications/NotificationCenter.Trigger.d.ts +0 -15
- package/dist/components/notifications/NotificationCenter.d.ts +0 -27
- package/dist/components/notifications/NotificationCenter.types.d.ts +0 -89
- package/dist/components/notifications/index.d.ts +0 -23
- package/dist/components/notifications/useNotificationCenter.d.ts +0 -47
- package/dist/components/overlays/Backdrop.d.ts +0 -24
- package/dist/components/overlays/Dialog.d.ts +0 -66
- package/dist/components/overlays/Modal.d.ts +0 -60
- package/dist/components/overlays/OverlayPortal.d.ts +0 -22
- package/dist/components/overlays/Popover.d.ts +0 -30
- package/dist/components/overlays/Portal.d.ts +0 -29
- package/dist/components/overlays/Toast.d.ts +0 -36
- package/dist/components/overlays/ToastProvider.d.ts +0 -58
- package/dist/components/overlays/ToastViewport.d.ts +0 -27
- package/dist/components/overlays/Tooltip.d.ts +0 -28
- package/dist/components/overlays/index.d.ts +0 -13
- package/dist/components/overlays/utils/FocusLock.d.ts +0 -30
- package/dist/components/overlays/utils/ScrollLock.d.ts +0 -11
- package/dist/components/overlays/utils/positioning.d.ts +0 -68
- package/dist/components/primitives/Badge.d.ts +0 -9
- 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 -7
- package/dist/components/primitives/Input.d.ts +0 -4
- package/dist/components/primitives/Label.d.ts +0 -1
- package/dist/components/primitives/Link.d.ts +0 -13
- package/dist/components/primitives/ThemeSwitch.d.ts +0 -9
- package/dist/components/radio/Radio.d.ts +0 -23
- package/dist/components/radio/Radio.types.d.ts +0 -63
- package/dist/components/radio/RadioGroup.d.ts +0 -20
- package/dist/components/radio/RadioGroup.types.d.ts +0 -61
- package/dist/components/radio/index.d.ts +0 -5
- package/dist/components/radio/radio-variants.d.ts +0 -13
- package/dist/components/search/SearchBar.d.ts +0 -10
- package/dist/components/sections/ArticlesSection.d.ts +0 -25
- package/dist/components/sections/CTASection.d.ts +0 -37
- package/dist/components/sections/FeatureSection.d.ts +0 -33
- package/dist/components/sections/HeroSection.d.ts +0 -27
- package/dist/components/sections/TrendingSection.d.ts +0 -28
- package/dist/components/select/Select.d.ts +0 -38
- package/dist/components/select/Select.types.d.ts +0 -107
- package/dist/components/select/index.d.ts +0 -5
- package/dist/components/select/legacy/select.d.ts +0 -11
- package/dist/components/select/select-variants.d.ts +0 -32
- package/dist/components/skeletons/EventCardSkeleton.d.ts +0 -6
- package/dist/components/skeletons/VenueCardSkeleton.d.ts +0 -6
- package/dist/components/switch/Switch.d.ts +0 -24
- package/dist/components/switch/Switch.types.d.ts +0 -53
- package/dist/components/switch/index.d.ts +0 -3
- package/dist/components/switch/switch-variants.d.ts +0 -34
- package/dist/components/textarea/Textarea.d.ts +0 -21
- package/dist/components/textarea/Textarea.types.d.ts +0 -40
- package/dist/components/textarea/index.d.ts +0 -3
- package/dist/components/textarea/legacy/textarea.d.ts +0 -11
- package/dist/components/textarea/textarea-variants.d.ts +0 -14
- package/dist/components/toasts/Toast.d.ts +0 -12
- package/dist/components/toasts/ToastProvider.d.ts +0 -26
- package/dist/components/ui/alert.d.ts +0 -9
- package/dist/components/ui/body.d.ts +0 -12
- package/dist/components/ui/button.d.ts +0 -13
- package/dist/components/ui/caption.d.ts +0 -11
- package/dist/components/ui/card.d.ts +0 -8
- package/dist/components/ui/code.d.ts +0 -11
- package/dist/components/ui/dialog.d.ts +0 -19
- package/dist/components/ui/display.d.ts +0 -12
- package/dist/components/ui/field.d.ts +0 -45
- package/dist/components/ui/heading.d.ts +0 -12
- package/dist/components/ui/label.d.ts +0 -12
- package/dist/components/ui/lead.d.ts +0 -11
- package/dist/components/ui/text.d.ts +0 -18
- package/dist/components/ui/toast.d.ts +0 -15
- package/dist/components/ui/toaster.d.ts +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -7
- package/dist/dark-Cvoy1uFT.js +0 -30
- package/dist/dark-OOhiqt1q.cjs +0 -2
- package/dist/default-BKgH1D9-.js +0 -8
- package/dist/default-Ddg7Haf2.cjs +0 -2
- package/dist/hooks/use-toast.d.ts +0 -44
- package/dist/hooks/useDebounce.d.ts +0 -19
- package/dist/hooks/useModal.d.ts +0 -19
- package/dist/hooks/useToast.d.ts +0 -26
- package/dist/icons/IconArrowRight.d.ts +0 -6
- package/dist/icons/IconCalendar.d.ts +0 -6
- package/dist/icons/IconCheck.d.ts +0 -6
- package/dist/icons/IconChevronDown.d.ts +0 -6
- package/dist/icons/IconChevronRight.d.ts +0 -6
- package/dist/icons/IconClose.d.ts +0 -6
- package/dist/icons/IconError.d.ts +0 -6
- package/dist/icons/IconInfo.d.ts +0 -6
- package/dist/icons/IconLocation.d.ts +0 -6
- package/dist/icons/IconMenu.d.ts +0 -6
- package/dist/icons/IconSearch.d.ts +0 -6
- package/dist/icons/IconSuccess.d.ts +0 -6
- package/dist/icons/IconWarning.d.ts +0 -6
- package/dist/icons/icon.types.d.ts +0 -25
- package/dist/icons/index.d.ts +0 -34
- package/dist/lib/a11y.d.ts +0 -15
- package/dist/lib/responsive-props.d.ts +0 -63
- package/dist/lib/utils.d.ts +0 -8
- package/dist/motion-CzQhSEqk.js +0 -738
- package/dist/motion-DJx1TbXJ.cjs +0 -2
- package/dist/theme/ThemeProvider.d.ts +0 -55
- package/dist/theme/applyMode.d.ts +0 -42
- package/dist/theme/colors.d.ts +0 -6
- package/dist/theme/loader.d.ts +0 -63
- package/dist/theme/motion/gestures.d.ts +0 -76
- package/dist/theme/motion/useReducedMotion.d.ts +0 -11
- package/dist/theme/motion.d.ts +0 -127
- package/dist/theme/registry.d.ts +0 -70
- package/dist/theme/schema.d.ts +0 -124
- package/dist/theme/spacing.d.ts +0 -34
- package/dist/theme/typography.d.ts +0 -45
- package/dist/themes/brand.d.ts +0 -6
- package/dist/themes/brand_engine.d.ts +0 -108
- package/dist/themes/dark.d.ts +0 -6
- package/dist/themes/default.d.ts +0 -6
- package/dist/themes/index.d.ts +0 -24
- package/dist/themes/minimal.d.ts +0 -6
- package/dist/themes/neon.d.ts +0 -6
- package/dist/themes/types.d.ts +0 -278
- package/dist/tokens/components/alert.d.ts +0 -74
- package/dist/tokens/components/button.d.ts +0 -130
- package/dist/tokens/components/card.d.ts +0 -91
- package/dist/tokens/components/checkbox.d.ts +0 -161
- package/dist/tokens/components/data.d.ts +0 -227
- package/dist/tokens/components/domain.d.ts +0 -379
- package/dist/tokens/components/dropdown.d.ts +0 -146
- package/dist/tokens/components/icon.d.ts +0 -57
- package/dist/tokens/components/index.d.ts +0 -31
- package/dist/tokens/components/input.d.ts +0 -284
- package/dist/tokens/components/menu.d.ts +0 -114
- package/dist/tokens/components/motion.d.ts +0 -103
- package/dist/tokens/components/navigation.d.ts +0 -181
- package/dist/tokens/components/notifications.d.ts +0 -159
- package/dist/tokens/components/overlay.d.ts +0 -227
- package/dist/tokens/components/popover.d.ts +0 -84
- package/dist/tokens/components/radio.d.ts +0 -149
- package/dist/tokens/components/section.d.ts +0 -41
- package/dist/tokens/components/surface.d.ts +0 -94
- package/dist/tokens/components/switch.d.ts +0 -208
- package/dist/tokens/components/text.d.ts +0 -68
- package/dist/tokens/components/toast.d.ts +0 -146
- package/dist/tokens/components/tooltip.d.ts +0 -52
- package/dist/tokens/css-variables.d.ts +0 -251
- package/dist/tokens/motion/v2.d.ts +0 -342
- package/dist/tokens/motion.d.ts +0 -485
- package/dist/tokens/opacity.d.ts +0 -22
- package/dist/tokens/radius.d.ts +0 -161
- package/dist/tokens/shadows.d.ts +0 -230
- package/dist/tokens/spacing.d.ts +0 -238
- package/dist/tokens/theme.d.ts +0 -119
- package/dist/tokens/typography.d.ts +0 -460
- package/dist/typography-C-Nb4y0o.cjs +0 -2
- package/dist/typography-DHym9KAP.js +0 -1196
|
@@ -1,379 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Domain Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Domain-specific design tokens for card components (EventCard, VenueCard, ArtistCard,
|
|
5
|
-
* TicketCard, PromoCard, CategoryCard). These tokens provide a consistent foundation
|
|
6
|
-
* for card surface styles, layout, images, metadata, badges, price/capacity displays,
|
|
7
|
-
* hover/motion states, and skeleton loading states.
|
|
8
|
-
*
|
|
9
|
-
* All values reference foundation tokens or other component tokens.
|
|
10
|
-
* Based on audit requirements from L3_CARD_AUDIT.md.
|
|
11
|
-
*
|
|
12
|
-
* Foundation tokens referenced:
|
|
13
|
-
* - SPACING_TOKENS: semanticSpacing (xs, sm, md, lg, xl, 2xl, 3xl) from src/tokens/spacing.ts
|
|
14
|
-
* - RADIUS_TOKENS: borderRadius (xs, sm, md, lg, xl, 2xl, full) from src/tokens/radius.ts
|
|
15
|
-
* - TEXT_TOKENS: fontSize, fontWeight from src/tokens/components/text.ts
|
|
16
|
-
* - ICON_TOKENS: sizes, colors from src/tokens/components/icon.ts
|
|
17
|
-
* - SHADOW_TOKENS: elevationShadows (xs, sm, md, lg, xl, 2xl) from src/tokens/shadows.ts
|
|
18
|
-
* - MOTION_TOKENS: transition, transitionPreset from src/tokens/components/motion.ts
|
|
19
|
-
* - DATA_TOKENS: skeleton patterns from src/tokens/components/data.ts
|
|
20
|
-
*/
|
|
21
|
-
/**
|
|
22
|
-
* Domain Card Component Tokens
|
|
23
|
-
*
|
|
24
|
-
* Defines all tokens for domain-specific card components.
|
|
25
|
-
* Values reference foundation tokens or other component tokens.
|
|
26
|
-
*/
|
|
27
|
-
export declare const DOMAIN_TOKENS: {
|
|
28
|
-
/**
|
|
29
|
-
* Surface tokens for card containers
|
|
30
|
-
* Defines background, border, radius, and shadow for card surfaces
|
|
31
|
-
*/
|
|
32
|
-
readonly surface: {
|
|
33
|
-
/**
|
|
34
|
-
* Background colors
|
|
35
|
-
* Maps to semantic color tokens
|
|
36
|
-
*/
|
|
37
|
-
readonly bg: {
|
|
38
|
-
readonly default: "bg-card";
|
|
39
|
-
readonly hover: "hover:bg-card/95";
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* Border styles
|
|
43
|
-
* Maps to semantic border tokens
|
|
44
|
-
*/
|
|
45
|
-
readonly border: {
|
|
46
|
-
readonly default: "border border-border";
|
|
47
|
-
readonly hover: "hover:border-primary/20";
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Border radius
|
|
51
|
-
* References borderRadius.xl (0.75rem / 12px)
|
|
52
|
-
* Using Tailwind class "rounded-xl" which maps to borderRadius.xl
|
|
53
|
-
*/
|
|
54
|
-
readonly radius: {
|
|
55
|
-
readonly default: "rounded-xl";
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* Shadow (elevation) tokens
|
|
59
|
-
* References elevationShadows.md
|
|
60
|
-
* Using Tailwind class "shadow-md" which maps to elevationShadows.md
|
|
61
|
-
*/
|
|
62
|
-
readonly shadow: {
|
|
63
|
-
readonly default: "shadow-md";
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* Elevation change on hover
|
|
67
|
-
* References elevationShadows.xl
|
|
68
|
-
* Using Tailwind class "hover:shadow-xl" which maps to elevationShadows.xl
|
|
69
|
-
*/
|
|
70
|
-
readonly elevation: {
|
|
71
|
-
readonly hover: "hover:shadow-xl";
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Spacing tokens for card component spacing
|
|
76
|
-
* References semanticSpacing tokens
|
|
77
|
-
* Note: Tailwind classes are used for component className application
|
|
78
|
-
*/
|
|
79
|
-
readonly spacing: {
|
|
80
|
-
/**
|
|
81
|
-
* Section spacing - vertical spacing between card sections
|
|
82
|
-
*/
|
|
83
|
-
readonly section: {
|
|
84
|
-
readonly titleToSubtitle: "mb-xs";
|
|
85
|
-
readonly subtitleToMetadata: "mb-sm";
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Badge spacing offsets
|
|
89
|
-
*/
|
|
90
|
-
readonly badges: {
|
|
91
|
-
readonly offsetX: "1rem";
|
|
92
|
-
readonly offsetY: "1rem";
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* Image spacing
|
|
96
|
-
*/
|
|
97
|
-
readonly image: {
|
|
98
|
-
readonly bottomMargin: "0";
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* Card vertical gap
|
|
102
|
-
*/
|
|
103
|
-
readonly card: {
|
|
104
|
-
readonly verticalGap: "1rem";
|
|
105
|
-
};
|
|
106
|
-
/**
|
|
107
|
-
* Metadata item gap
|
|
108
|
-
*/
|
|
109
|
-
readonly metadata: {
|
|
110
|
-
readonly itemGap: "0.25rem";
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Footer spacing
|
|
114
|
-
*/
|
|
115
|
-
readonly footer: {
|
|
116
|
-
readonly paddingTopDefault: "pt-sm";
|
|
117
|
-
readonly paddingTopCompact: "pt-xs";
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* Button spacing
|
|
121
|
-
*/
|
|
122
|
-
readonly button: {
|
|
123
|
-
readonly paddingDefault: "px-md py-xs";
|
|
124
|
-
readonly paddingCompact: "px-sm py-xs";
|
|
125
|
-
readonly iconMarginLeft: "ml-xs";
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
/**
|
|
129
|
-
* Layout tokens for card spacing and gaps
|
|
130
|
-
* References semanticSpacing tokens
|
|
131
|
-
* Note: Tailwind utilities are used for component className application
|
|
132
|
-
*/
|
|
133
|
-
readonly layout: {
|
|
134
|
-
/**
|
|
135
|
-
* Padding tokens
|
|
136
|
-
* References semanticSpacing (md = 16px, sm = 8px)
|
|
137
|
-
* Note: "p-md" and "p-sm" are Tailwind utilities that apply semanticSpacing values
|
|
138
|
-
*/
|
|
139
|
-
readonly padding: {
|
|
140
|
-
readonly default: "p-md";
|
|
141
|
-
readonly compact: "p-sm";
|
|
142
|
-
};
|
|
143
|
-
/**
|
|
144
|
-
* Gap tokens for spacing between card elements
|
|
145
|
-
* References semanticSpacing (md = 16px, xs = 4px)
|
|
146
|
-
* Note: "gap-md" and "gap-xs" are Tailwind utilities that apply semanticSpacing values
|
|
147
|
-
*/
|
|
148
|
-
readonly gap: {
|
|
149
|
-
readonly default: "gap-md";
|
|
150
|
-
readonly compact: "gap-xs";
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
/**
|
|
154
|
-
* Image tokens for card media
|
|
155
|
-
* Defines aspect ratio, radius, and overlay styles
|
|
156
|
-
*/
|
|
157
|
-
readonly image: {
|
|
158
|
-
/**
|
|
159
|
-
* Aspect ratio for card images
|
|
160
|
-
* Standard 16:9 aspect ratio for card images
|
|
161
|
-
*/
|
|
162
|
-
readonly aspectRatio: "aspect-video";
|
|
163
|
-
/**
|
|
164
|
-
* Border radius for images
|
|
165
|
-
* References borderRadius.xl (0.75rem / 12px) for top corners only
|
|
166
|
-
* Using Tailwind class "rounded-t-xl" which maps to borderRadius.xl
|
|
167
|
-
*/
|
|
168
|
-
readonly radius: "rounded-t-xl";
|
|
169
|
-
/**
|
|
170
|
-
* Overlay gradient tokens for image overlays
|
|
171
|
-
* Used for hover states and text readability
|
|
172
|
-
*/
|
|
173
|
-
readonly overlay: {
|
|
174
|
-
readonly gradient: "bg-gradient-to-t from-black/60 via-transparent to-transparent";
|
|
175
|
-
};
|
|
176
|
-
};
|
|
177
|
-
/**
|
|
178
|
-
* Metadata tokens for card information displays
|
|
179
|
-
* Used for date/time, location, and other metadata patterns
|
|
180
|
-
* Maps to TEXT_TOKENS, ICON_TOKENS, and semanticSpacing
|
|
181
|
-
*/
|
|
182
|
-
readonly metadata: {
|
|
183
|
-
/**
|
|
184
|
-
* Text color tokens
|
|
185
|
-
* Maps to semantic text color tokens
|
|
186
|
-
*/
|
|
187
|
-
readonly text: {
|
|
188
|
-
readonly primary: "text-foreground";
|
|
189
|
-
readonly secondary: "text-muted-foreground";
|
|
190
|
-
};
|
|
191
|
-
/**
|
|
192
|
-
* Icon tokens
|
|
193
|
-
* Maps to ICON_TOKENS for sizes and colors
|
|
194
|
-
*/
|
|
195
|
-
readonly icon: {
|
|
196
|
-
readonly default: "text-muted-foreground";
|
|
197
|
-
readonly sizeSm: "h-4 w-4";
|
|
198
|
-
};
|
|
199
|
-
/**
|
|
200
|
-
* Spacing tokens for metadata layouts
|
|
201
|
-
* References semanticSpacing (xs = 4px, sm = 8px)
|
|
202
|
-
* Using Tailwind classes which map to semanticSpacing values
|
|
203
|
-
*/
|
|
204
|
-
readonly spacing: {
|
|
205
|
-
readonly vertical: "gap-xs";
|
|
206
|
-
readonly horizontal: "gap-sm";
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
/**
|
|
210
|
-
* Badge tokens for featured/popular badges
|
|
211
|
-
* References semanticSpacing, borderRadius, and elevationShadows
|
|
212
|
-
*/
|
|
213
|
-
readonly badges: {
|
|
214
|
-
/**
|
|
215
|
-
* Badge size tokens (padding)
|
|
216
|
-
* References semanticSpacing for padding values
|
|
217
|
-
* Using Tailwind classes which map to semanticSpacing values
|
|
218
|
-
*/
|
|
219
|
-
readonly size: {
|
|
220
|
-
readonly sm: "px-xs py-xs";
|
|
221
|
-
readonly md: "px-sm py-xs";
|
|
222
|
-
};
|
|
223
|
-
/**
|
|
224
|
-
* Badge positioning tokens
|
|
225
|
-
* References semanticSpacing for absolute positioning
|
|
226
|
-
* Using Tailwind classes which map to semanticSpacing values
|
|
227
|
-
*/
|
|
228
|
-
readonly position: {
|
|
229
|
-
readonly default: "right-md top-md";
|
|
230
|
-
readonly compact: "right-sm top-sm";
|
|
231
|
-
};
|
|
232
|
-
/**
|
|
233
|
-
* Additional vertical positioning tokens for multi-badge scenarios
|
|
234
|
-
* References semanticSpacing for top positioning
|
|
235
|
-
* Using Tailwind classes which map to semanticSpacing values
|
|
236
|
-
*/
|
|
237
|
-
readonly positionY: {
|
|
238
|
-
readonly xl: "top-xl";
|
|
239
|
-
readonly "2xl": "top-2xl";
|
|
240
|
-
readonly "3xl": "top-3xl";
|
|
241
|
-
};
|
|
242
|
-
/**
|
|
243
|
-
* Badge surface (background) tokens
|
|
244
|
-
* Maps to semantic color tokens
|
|
245
|
-
*/
|
|
246
|
-
readonly surface: {
|
|
247
|
-
readonly default: "bg-primary";
|
|
248
|
-
readonly featured: "bg-gradient-to-r from-accent-500 to-primary-600";
|
|
249
|
-
};
|
|
250
|
-
/**
|
|
251
|
-
* Badge text color
|
|
252
|
-
* White for contrast on colored backgrounds
|
|
253
|
-
*/
|
|
254
|
-
readonly text: {
|
|
255
|
-
readonly color: "text-white";
|
|
256
|
-
};
|
|
257
|
-
/**
|
|
258
|
-
* Badge border radius
|
|
259
|
-
* References borderRadius.full (pill shape)
|
|
260
|
-
* Using Tailwind class "rounded-full" which maps to borderRadius.full
|
|
261
|
-
*/
|
|
262
|
-
readonly radius: "rounded-full";
|
|
263
|
-
/**
|
|
264
|
-
* Badge shadow
|
|
265
|
-
* References elevationShadows.lg
|
|
266
|
-
* Using Tailwind class "shadow-lg" which maps to elevationShadows.lg
|
|
267
|
-
*/
|
|
268
|
-
readonly shadow: "shadow-lg";
|
|
269
|
-
};
|
|
270
|
-
/**
|
|
271
|
-
* Price/Capacity tokens for displaying price and capacity information
|
|
272
|
-
* Maps to semantic text color tokens and semanticSpacing
|
|
273
|
-
*/
|
|
274
|
-
readonly priceCapacity: {
|
|
275
|
-
/**
|
|
276
|
-
* Text color tokens
|
|
277
|
-
* Maps to semantic text color tokens
|
|
278
|
-
*/
|
|
279
|
-
readonly text: {
|
|
280
|
-
readonly primary: "text-foreground";
|
|
281
|
-
readonly secondary: "text-muted-foreground";
|
|
282
|
-
};
|
|
283
|
-
/**
|
|
284
|
-
* Spacing between price and capacity elements
|
|
285
|
-
* References semanticSpacing.sm (8px)
|
|
286
|
-
* Using Tailwind class "gap-sm" which maps to semanticSpacing.sm
|
|
287
|
-
*/
|
|
288
|
-
readonly spacing: "gap-sm";
|
|
289
|
-
};
|
|
290
|
-
/**
|
|
291
|
-
* Motion tokens for hover and interaction states
|
|
292
|
-
* References MOTION_TOKENS for transitions and animations
|
|
293
|
-
*/
|
|
294
|
-
readonly motion: {
|
|
295
|
-
/**
|
|
296
|
-
* Hover state tokens
|
|
297
|
-
* References MOTION_TOKENS and elevationShadows
|
|
298
|
-
*/
|
|
299
|
-
readonly hover: {
|
|
300
|
-
readonly transition: "transition-all duration-normal ease-in-out";
|
|
301
|
-
readonly scale: "hover:scale-110";
|
|
302
|
-
readonly elevation: "hover:shadow-xl";
|
|
303
|
-
};
|
|
304
|
-
};
|
|
305
|
-
/**
|
|
306
|
-
* Skeleton tokens for loading states
|
|
307
|
-
* References DATA_TOKENS.skeleton for skeleton patterns and semanticSpacing for dimensions
|
|
308
|
-
*/
|
|
309
|
-
readonly skeleton: {
|
|
310
|
-
/**
|
|
311
|
-
* Base skeleton wrapper tokens
|
|
312
|
-
* Default styling for skeleton wrapper components
|
|
313
|
-
*/
|
|
314
|
-
readonly base: {
|
|
315
|
-
/**
|
|
316
|
-
* Default border radius for skeleton wrapper
|
|
317
|
-
* References DATA_TOKENS.skeleton.radius.text
|
|
318
|
-
*/
|
|
319
|
-
readonly radius: "rounded-sm";
|
|
320
|
-
/**
|
|
321
|
-
* Default animation for skeleton wrapper
|
|
322
|
-
* References DATA_TOKENS.skeleton.animation.pulse
|
|
323
|
-
*/
|
|
324
|
-
readonly animation: "animate-pulse";
|
|
325
|
-
/**
|
|
326
|
-
* Default background for skeleton wrapper
|
|
327
|
-
* References DATA_TOKENS.skeleton.background.default
|
|
328
|
-
*/
|
|
329
|
-
readonly background: "bg-muted";
|
|
330
|
-
};
|
|
331
|
-
/**
|
|
332
|
-
* Image skeleton height
|
|
333
|
-
* Domain-specific: card images need 192px (spacing[48] = 12rem)
|
|
334
|
-
* Note: DATA_TOKENS.skeleton.height.card is 128px, but card images need 192px
|
|
335
|
-
* Using Tailwind class "h-48" which maps to spacing[48] (12rem / 192px)
|
|
336
|
-
*/
|
|
337
|
-
readonly image: {
|
|
338
|
-
readonly height: "h-48";
|
|
339
|
-
};
|
|
340
|
-
/**
|
|
341
|
-
* Content gap for skeleton elements
|
|
342
|
-
* References semanticSpacing.md (16px)
|
|
343
|
-
* Using Tailwind class "gap-md" which maps to semanticSpacing.md
|
|
344
|
-
*/
|
|
345
|
-
readonly content: {
|
|
346
|
-
readonly gap: "gap-md";
|
|
347
|
-
/**
|
|
348
|
-
* Content width tokens for skeleton elements
|
|
349
|
-
* References DATA_TOKENS where available, uses Tailwind fraction classes for domain-specific values
|
|
350
|
-
*/
|
|
351
|
-
readonly width: {
|
|
352
|
-
readonly full: "w-full";
|
|
353
|
-
readonly threeQuarters: "w-3/4";
|
|
354
|
-
readonly half: "w-1/2";
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
/**
|
|
358
|
-
* Badge skeleton dimensions
|
|
359
|
-
* Domain-specific values for badge skeleton sizing
|
|
360
|
-
* References spacing values via Tailwind classes
|
|
361
|
-
*/
|
|
362
|
-
readonly badge: {
|
|
363
|
-
readonly width: "w-20";
|
|
364
|
-
readonly height: "h-6";
|
|
365
|
-
};
|
|
366
|
-
};
|
|
367
|
-
};
|
|
368
|
-
/**
|
|
369
|
-
* Type exports for Domain Card tokens
|
|
370
|
-
*/
|
|
371
|
-
export type DomainCardSurface = typeof DOMAIN_TOKENS.surface;
|
|
372
|
-
export type DomainCardLayout = typeof DOMAIN_TOKENS.layout;
|
|
373
|
-
export type DomainCardImage = typeof DOMAIN_TOKENS.image;
|
|
374
|
-
export type DomainCardMetadata = typeof DOMAIN_TOKENS.metadata;
|
|
375
|
-
export type DomainCardBadge = typeof DOMAIN_TOKENS.badges;
|
|
376
|
-
export type DomainCardPriceCapacity = typeof DOMAIN_TOKENS.priceCapacity;
|
|
377
|
-
export type DomainCardMotion = typeof DOMAIN_TOKENS.motion;
|
|
378
|
-
export type DomainCardSkeleton = typeof DOMAIN_TOKENS.skeleton;
|
|
379
|
-
export type DomainCardSkeletonContentWidth = typeof DOMAIN_TOKENS.skeleton.content.width;
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dropdown Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Dropdown component.
|
|
5
|
-
* Maps foundation tokens (spacing, radius, shadows, typography) to dropdown-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* All values use Tailwind utility classes that map to foundation tokens.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Dropdown Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines tokens for trigger, menu, and item variants.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
-
*/
|
|
15
|
-
export declare const DROPDOWN_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Trigger tokens by size
|
|
18
|
-
* Button element that opens/closes the dropdown
|
|
19
|
-
*/
|
|
20
|
-
readonly trigger: {
|
|
21
|
-
readonly height: {
|
|
22
|
-
readonly sm: "h-8";
|
|
23
|
-
readonly md: "h-9";
|
|
24
|
-
readonly lg: "h-10";
|
|
25
|
-
};
|
|
26
|
-
readonly padding: {
|
|
27
|
-
readonly horizontal: {
|
|
28
|
-
readonly sm: "px-sm";
|
|
29
|
-
readonly md: "px-md";
|
|
30
|
-
readonly lg: "px-lg";
|
|
31
|
-
};
|
|
32
|
-
readonly vertical: {
|
|
33
|
-
readonly sm: "py-xs";
|
|
34
|
-
readonly md: "py-xs";
|
|
35
|
-
readonly lg: "py-sm";
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
readonly radius: {
|
|
39
|
-
readonly sm: "rounded-md";
|
|
40
|
-
readonly md: "rounded-md";
|
|
41
|
-
readonly lg: "rounded-md";
|
|
42
|
-
};
|
|
43
|
-
readonly fontSize: {
|
|
44
|
-
readonly sm: "text-sm";
|
|
45
|
-
readonly md: "text-base";
|
|
46
|
-
readonly lg: "text-base";
|
|
47
|
-
};
|
|
48
|
-
readonly shadow: "shadow-sm";
|
|
49
|
-
/**
|
|
50
|
-
* Icon spacing for trigger
|
|
51
|
-
*/
|
|
52
|
-
readonly icon: {
|
|
53
|
-
readonly spacing: "ml-sm";
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Variant-based tokens
|
|
58
|
-
* Border, background, text, and focus colors for different variants
|
|
59
|
-
*/
|
|
60
|
-
readonly variant: {
|
|
61
|
-
readonly neutral: {
|
|
62
|
-
readonly border: "border border-[hsl(var(--border))]";
|
|
63
|
-
readonly background: "bg-[hsl(var(--popover))]";
|
|
64
|
-
readonly text: "text-[hsl(var(--popover-foreground))]";
|
|
65
|
-
readonly focus: "focus-visible:ring-2 focus-visible:ring-[hsl(var(--ring))] focus-visible:ring-offset-2";
|
|
66
|
-
};
|
|
67
|
-
readonly tinted: {
|
|
68
|
-
readonly border: "border border-[hsl(var(--border))]";
|
|
69
|
-
readonly background: "bg-[hsl(var(--muted))]";
|
|
70
|
-
readonly text: "text-[hsl(var(--popover-foreground))]";
|
|
71
|
-
readonly focus: "focus-visible:ring-2 focus-visible:ring-[hsl(var(--ring))] focus-visible:ring-offset-2";
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Menu tokens by size
|
|
76
|
-
* Container for the dropdown items
|
|
77
|
-
*/
|
|
78
|
-
readonly menu: {
|
|
79
|
-
readonly border: {
|
|
80
|
-
readonly default: "border border-[hsl(var(--border))]";
|
|
81
|
-
};
|
|
82
|
-
readonly background: {
|
|
83
|
-
readonly neutral: "bg-[hsl(var(--popover))]";
|
|
84
|
-
readonly tinted: "bg-[hsl(var(--muted))]";
|
|
85
|
-
};
|
|
86
|
-
readonly text: {
|
|
87
|
-
readonly default: "text-[hsl(var(--popover-foreground))]";
|
|
88
|
-
};
|
|
89
|
-
readonly padding: {
|
|
90
|
-
readonly sm: "p-sm";
|
|
91
|
-
readonly md: "p-md";
|
|
92
|
-
readonly lg: "p-lg";
|
|
93
|
-
};
|
|
94
|
-
readonly radius: {
|
|
95
|
-
readonly sm: "rounded-md";
|
|
96
|
-
readonly md: "rounded-lg";
|
|
97
|
-
readonly lg: "rounded-lg";
|
|
98
|
-
};
|
|
99
|
-
readonly shadow: {
|
|
100
|
-
readonly sm: "shadow-md";
|
|
101
|
-
readonly md: "shadow-lg";
|
|
102
|
-
readonly lg: "shadow-xl";
|
|
103
|
-
};
|
|
104
|
-
readonly minWidth: {
|
|
105
|
-
readonly sm: "min-w-32";
|
|
106
|
-
readonly md: "min-w-48";
|
|
107
|
-
readonly lg: "min-w-64";
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Item tokens by size
|
|
112
|
-
* Individual menu item
|
|
113
|
-
*/
|
|
114
|
-
readonly item: {
|
|
115
|
-
readonly background: {
|
|
116
|
-
readonly focus: "focus:bg-[hsl(var(--accent))]";
|
|
117
|
-
readonly selected: "bg-[hsl(var(--accent))]";
|
|
118
|
-
};
|
|
119
|
-
readonly text: {
|
|
120
|
-
readonly focus: "focus:text-[hsl(var(--accent-foreground))]";
|
|
121
|
-
readonly selected: "text-[hsl(var(--accent-foreground))]";
|
|
122
|
-
};
|
|
123
|
-
readonly padding: {
|
|
124
|
-
readonly sm: "px-sm py-xs";
|
|
125
|
-
readonly md: "px-md py-xs";
|
|
126
|
-
readonly lg: "px-lg py-sm";
|
|
127
|
-
};
|
|
128
|
-
readonly radius: {
|
|
129
|
-
readonly sm: "rounded-sm";
|
|
130
|
-
readonly md: "rounded-md";
|
|
131
|
-
readonly lg: "rounded-md";
|
|
132
|
-
};
|
|
133
|
-
readonly fontSize: {
|
|
134
|
-
readonly sm: "text-sm";
|
|
135
|
-
readonly md: "text-sm";
|
|
136
|
-
readonly lg: "text-base";
|
|
137
|
-
};
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* Type exports for Dropdown tokens
|
|
142
|
-
*/
|
|
143
|
-
export type DropdownTriggerSize = keyof typeof DROPDOWN_TOKENS.trigger.height;
|
|
144
|
-
export type DropdownVariant = keyof typeof DROPDOWN_TOKENS.variant;
|
|
145
|
-
export type DropdownMenuSize = keyof typeof DROPDOWN_TOKENS.menu.padding;
|
|
146
|
-
export type DropdownItemSize = keyof typeof DROPDOWN_TOKENS.item.padding;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Icon Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Icon component.
|
|
5
|
-
* Maps foundation tokens (spacing, colors) to icon-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* All values reference foundation tokens to ensure consistency across the design system.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Icon Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines all sizing, stroke, and color tokens for Icon component.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use in component variants.
|
|
14
|
-
*/
|
|
15
|
-
export declare const ICON_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Icon sizes
|
|
18
|
-
* Maps to Tailwind size utilities for consistent icon sizing
|
|
19
|
-
*/
|
|
20
|
-
readonly sizes: {
|
|
21
|
-
readonly xs: "h-2.5 w-2.5";
|
|
22
|
-
readonly sm: "h-3 w-3";
|
|
23
|
-
readonly md: "h-4 w-4";
|
|
24
|
-
readonly lg: "h-5 w-5";
|
|
25
|
-
readonly xl: "h-6 w-6";
|
|
26
|
-
readonly "2xl": "h-8 w-8";
|
|
27
|
-
readonly "3xl": "h-10 w-10";
|
|
28
|
-
readonly "4xl": "h-12 w-12";
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Stroke width variants
|
|
32
|
-
* Maps to Tailwind stroke-width utilities
|
|
33
|
-
*/
|
|
34
|
-
readonly stroke: {
|
|
35
|
-
readonly thin: "stroke-[1px]";
|
|
36
|
-
readonly normal: "stroke-[1.5px]";
|
|
37
|
-
readonly bold: "stroke-2";
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Color variants
|
|
41
|
-
* Maps to semantic text color tokens
|
|
42
|
-
*/
|
|
43
|
-
readonly colors: {
|
|
44
|
-
readonly default: "text-foreground";
|
|
45
|
-
readonly muted: "text-muted-foreground";
|
|
46
|
-
readonly success: "text-success";
|
|
47
|
-
readonly warning: "text-warning";
|
|
48
|
-
readonly danger: "text-destructive";
|
|
49
|
-
readonly info: "text-info";
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Type exports for Icon tokens
|
|
54
|
-
*/
|
|
55
|
-
export type IconSize = keyof typeof ICON_TOKENS.sizes;
|
|
56
|
-
export type IconStroke = keyof typeof ICON_TOKENS.stroke;
|
|
57
|
-
export type IconColor = keyof typeof ICON_TOKENS.colors;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens that map foundation tokens (spacing, typography, radius, shadows)
|
|
5
|
-
* to component-specific usage patterns.
|
|
6
|
-
*
|
|
7
|
-
* These tokens centralize component metrics (heights, padding, icon sizes, border radius)
|
|
8
|
-
* and ensure consistency across the design system.
|
|
9
|
-
*/
|
|
10
|
-
export { ALERT_TOKENS, type AlertVariant } from './alert';
|
|
11
|
-
export { BUTTON_TOKENS, type ButtonFontSize, type ButtonHeight, type ButtonPaddingHorizontal, type ButtonPaddingVertical, type ButtonShadow, } from './button';
|
|
12
|
-
export { CARD_TOKENS, type CardPadding, type CardRadius, type CardShadow, type CardSize, type CardSpacingVertical, } from './card';
|
|
13
|
-
export { DOMAIN_TOKENS, type DomainCardBadge, type DomainCardImage, type DomainCardLayout, type DomainCardMetadata, type DomainCardMotion, type DomainCardPriceCapacity, type DomainCardSkeleton, type DomainCardSkeletonContentWidth, type DomainCardSurface, } from './domain';
|
|
14
|
-
export { INPUT_TOKENS, type InputFontSize, type InputHeight, type InputPaddingHorizontal, type InputPaddingVertical, type InputRadius, type InputSize, } from './input';
|
|
15
|
-
export { CHECKBOX_TOKENS, type CheckboxSize, type CheckboxState, type CheckboxVariant, } from './checkbox';
|
|
16
|
-
export { SWITCH_TOKENS, type SwitchSize, type SwitchState, type SwitchVariant } from './switch';
|
|
17
|
-
export { RADIO_TOKENS, type RadioSize, type RadioState, type RadioVariant } from './radio';
|
|
18
|
-
export { SURFACE_TOKENS, type SurfacePadding, type SurfaceRadius, type SurfaceShadow, type SurfaceVariant, } from './surface';
|
|
19
|
-
export { TEXT_TOKENS, type TextFontSize, type TextFontWeight, type TextLetterSpacing, type TextLineHeight, } from './text';
|
|
20
|
-
export { SECTION_TOKENS, type SectionGap, type SectionPadding } from './section';
|
|
21
|
-
export { OVERLAY_TOKENS, type OverlayBackdropVariant, type OverlayModalSize } from './overlay';
|
|
22
|
-
export { TOAST_TOKENS, type ToastVariant } from './toast';
|
|
23
|
-
export { NOTIFICATION_TOKENS, type NotificationPanelWidth, type NotificationVariant, } from './notifications';
|
|
24
|
-
export { NAVIGATION_TOKENS, type NavigationItemPadding, type NavigationListGap, type NavigationRadius, type NavigationShadow, type NavigationSize, type NavigationState, } from './navigation';
|
|
25
|
-
export { MENU_TOKENS, type MenuContentMinWidth, type MenuContentPadding, type MenuContentRadius, type MenuContentShadow, type MenuIndicatorOffset, type MenuIndicatorSize, type MenuItemGap, type MenuItemHeight, type MenuItemPadding, type MenuItemRadius, type MenuLabelPadding, type MenuSeparatorMargin, } from './menu';
|
|
26
|
-
export { POPOVER_TOKENS, type PopoverArrowOffset, type PopoverArrowSize, type PopoverContentPadding, type PopoverContentRadius, type PopoverContentShadow, type PopoverContentWidth, } from './popover';
|
|
27
|
-
export { DROPDOWN_TOKENS, type DropdownItemSize, type DropdownMenuSize, type DropdownTriggerSize, type DropdownVariant, } from './dropdown';
|
|
28
|
-
export { TOOLTIP_TOKENS, type TooltipContentRadius, type TooltipContentShadow } from './tooltip';
|
|
29
|
-
export { DATA_TOKENS, type DataListLabelWidth, type DataListRowPadding, type EmptyStateIconSize, type SkeletonAnimation, type SkeletonBackground, type SkeletonVariant, type TableCellPadding, type TableGap, type TableHeaderPadding, type TableRowHeight, type TableShadow, } from './data';
|
|
30
|
-
export { ICON_TOKENS, type IconColor, type IconSize, type IconStroke } from './icon';
|
|
31
|
-
export { MOTION_TOKENS, type MotionAnimation, type MotionDuration, type MotionEasing, type MotionTransition, type MotionTransitionPreset, } from './motion';
|