@tenerife.music/ui 1.0.8 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{tokens/colors.d.ts → colors-DPNI96bB.d.cts} +21 -19
- package/dist/colors-DPNI96bB.d.ts +289 -0
- package/dist/index.cjs +15605 -2
- package/dist/index.d.cts +3726 -0
- package/dist/index.d.ts +3726 -39
- package/dist/index.mjs +12883 -5567
- 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 +2647 -2
- package/dist/theme/index.d.cts +528 -0
- package/dist/theme/index.d.ts +528 -8
- package/dist/theme/index.mjs +1610 -575
- package/dist/tokens/index.cjs +5678 -5
- package/dist/tokens/index.d.cts +5488 -0
- package/dist/tokens/index.d.ts +5488 -9
- package/dist/tokens/index.mjs +2076 -154
- package/package.json +3 -3
- 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,94 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Surface Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Surface component.
|
|
5
|
-
* Maps foundation tokens (spacing, radius, shadows) to surface-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* Defines tokens for flat, raised, sunken, outline, and subtle surface variants.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Surface Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines spacing, radius, and shadow tokens for Surface component variants.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
-
*/
|
|
15
|
-
export declare const SURFACE_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Padding values for surface variants
|
|
18
|
-
* Can be customized per variant if needed
|
|
19
|
-
*/
|
|
20
|
-
readonly padding: {
|
|
21
|
-
readonly default: "p-md";
|
|
22
|
-
readonly sm: "p-sm";
|
|
23
|
-
readonly md: "p-md";
|
|
24
|
-
readonly lg: "p-lg";
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Border radius for surfaces
|
|
28
|
-
*/
|
|
29
|
-
readonly radius: {
|
|
30
|
-
readonly default: "rounded-md";
|
|
31
|
-
readonly sm: "rounded-sm";
|
|
32
|
-
readonly md: "rounded-md";
|
|
33
|
-
readonly lg: "rounded-lg";
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Shadow tokens by surface variant
|
|
37
|
-
* Maps to foundation elevation shadow tokens
|
|
38
|
-
*/
|
|
39
|
-
readonly shadow: {
|
|
40
|
-
readonly flat: "shadow-none";
|
|
41
|
-
readonly raised: "shadow-sm";
|
|
42
|
-
readonly sunken: "shadow-none";
|
|
43
|
-
readonly outline: "shadow-none";
|
|
44
|
-
readonly subtle: "shadow-none";
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Variant-based token structure
|
|
48
|
-
* Organized by variant for easy access
|
|
49
|
-
*/
|
|
50
|
-
readonly variant: {
|
|
51
|
-
readonly flat: {
|
|
52
|
-
readonly padding: "p-md";
|
|
53
|
-
readonly radius: "rounded-md";
|
|
54
|
-
readonly shadow: "shadow-none";
|
|
55
|
-
readonly bg: "bg-background";
|
|
56
|
-
readonly border: "border border-border";
|
|
57
|
-
};
|
|
58
|
-
readonly raised: {
|
|
59
|
-
readonly padding: "p-md";
|
|
60
|
-
readonly radius: "rounded-md";
|
|
61
|
-
readonly shadow: "shadow-sm";
|
|
62
|
-
readonly bg: "bg-card";
|
|
63
|
-
readonly border: "border border-border";
|
|
64
|
-
};
|
|
65
|
-
readonly sunken: {
|
|
66
|
-
readonly padding: "p-md";
|
|
67
|
-
readonly radius: "rounded-md";
|
|
68
|
-
readonly shadow: "shadow-none";
|
|
69
|
-
readonly bg: "bg-muted";
|
|
70
|
-
readonly border: "border border-border";
|
|
71
|
-
};
|
|
72
|
-
readonly outline: {
|
|
73
|
-
readonly padding: "p-md";
|
|
74
|
-
readonly radius: "rounded-md";
|
|
75
|
-
readonly shadow: "shadow-none";
|
|
76
|
-
readonly bg: "bg-transparent";
|
|
77
|
-
readonly border: "border-2 border-border";
|
|
78
|
-
};
|
|
79
|
-
readonly subtle: {
|
|
80
|
-
readonly padding: "p-md";
|
|
81
|
-
readonly radius: "rounded-md";
|
|
82
|
-
readonly shadow: "shadow-none";
|
|
83
|
-
readonly bg: "bg-muted/50";
|
|
84
|
-
readonly border: "border border-border/50";
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* Type exports for Surface tokens
|
|
90
|
-
*/
|
|
91
|
-
export type SurfacePadding = keyof typeof SURFACE_TOKENS.padding;
|
|
92
|
-
export type SurfaceRadius = keyof typeof SURFACE_TOKENS.radius;
|
|
93
|
-
export type SurfaceShadow = keyof typeof SURFACE_TOKENS.shadow;
|
|
94
|
-
export type SurfaceVariant = keyof typeof SURFACE_TOKENS.variant;
|
|
@@ -1,208 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Switch Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Switch component.
|
|
5
|
-
* Maps foundation tokens (spacing, typography, radius, shadows, motion) to switch-specific usage.
|
|
6
|
-
* All color values use CSS variables for theme-aware styling.
|
|
7
|
-
*
|
|
8
|
-
* Switch consists of a track (container) and handle (thumb) that slides within the track.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Switch Component Tokens
|
|
12
|
-
*
|
|
13
|
-
* Defines spacing, sizing, and visual tokens for Switch component.
|
|
14
|
-
* All colors use CSS variable references (hsl(var(--token))) for theme-aware styling.
|
|
15
|
-
* Switch track is wider than tall, with a circular handle that slides within.
|
|
16
|
-
*/
|
|
17
|
-
export declare const SWITCH_TOKENS: {
|
|
18
|
-
/**
|
|
19
|
-
* Track sizes by size variant
|
|
20
|
-
* Supports xs, sm, md, lg, xl sizes
|
|
21
|
-
* Track is wider than tall (typical switch proportions)
|
|
22
|
-
*/
|
|
23
|
-
readonly track: {
|
|
24
|
-
readonly xs: {
|
|
25
|
-
readonly width: "w-8";
|
|
26
|
-
readonly height: "h-4";
|
|
27
|
-
readonly radius: "rounded-full";
|
|
28
|
-
};
|
|
29
|
-
readonly sm: {
|
|
30
|
-
readonly width: "w-9";
|
|
31
|
-
readonly height: "h-5";
|
|
32
|
-
readonly radius: "rounded-full";
|
|
33
|
-
};
|
|
34
|
-
readonly md: {
|
|
35
|
-
readonly width: "w-11";
|
|
36
|
-
readonly height: "h-6";
|
|
37
|
-
readonly radius: "rounded-full";
|
|
38
|
-
};
|
|
39
|
-
readonly lg: {
|
|
40
|
-
readonly width: "w-14";
|
|
41
|
-
readonly height: "h-7";
|
|
42
|
-
readonly radius: "rounded-full";
|
|
43
|
-
};
|
|
44
|
-
readonly xl: {
|
|
45
|
-
readonly width: "w-16";
|
|
46
|
-
readonly height: "h-8";
|
|
47
|
-
readonly radius: "rounded-full";
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Handle sizes by size variant
|
|
52
|
-
* Circular thumb that slides within the track
|
|
53
|
-
* Slightly smaller than track height to allow for padding
|
|
54
|
-
*/
|
|
55
|
-
readonly handle: {
|
|
56
|
-
readonly xs: {
|
|
57
|
-
readonly width: "w-3";
|
|
58
|
-
readonly height: "h-3";
|
|
59
|
-
readonly radius: "rounded-full";
|
|
60
|
-
readonly translate: "translate-x-4";
|
|
61
|
-
};
|
|
62
|
-
readonly sm: {
|
|
63
|
-
readonly width: "w-4";
|
|
64
|
-
readonly height: "h-4";
|
|
65
|
-
readonly radius: "rounded-full";
|
|
66
|
-
readonly translate: "translate-x-4";
|
|
67
|
-
};
|
|
68
|
-
readonly md: {
|
|
69
|
-
readonly width: "w-5";
|
|
70
|
-
readonly height: "h-5";
|
|
71
|
-
readonly radius: "rounded-full";
|
|
72
|
-
readonly translate: "translate-x-5";
|
|
73
|
-
};
|
|
74
|
-
readonly lg: {
|
|
75
|
-
readonly width: "w-6";
|
|
76
|
-
readonly height: "h-6";
|
|
77
|
-
readonly radius: "rounded-full";
|
|
78
|
-
readonly translate: "translate-x-7";
|
|
79
|
-
};
|
|
80
|
-
readonly xl: {
|
|
81
|
-
readonly width: "w-7";
|
|
82
|
-
readonly height: "h-7";
|
|
83
|
-
readonly radius: "rounded-full";
|
|
84
|
-
readonly translate: "translate-x-8";
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Handle positioning tokens
|
|
88
|
-
* For absolute positioning within the track
|
|
89
|
-
*/
|
|
90
|
-
readonly position: {
|
|
91
|
-
readonly left: "left-xs";
|
|
92
|
-
readonly top: "top-1/2";
|
|
93
|
-
readonly center: "-translate-y-1/2";
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Variant-based tokens
|
|
98
|
-
* Track and handle colors for different variants
|
|
99
|
-
* All use CSS variable references for theme support
|
|
100
|
-
*/
|
|
101
|
-
readonly variant: {
|
|
102
|
-
readonly primary: {
|
|
103
|
-
readonly track: {
|
|
104
|
-
readonly unchecked: "bg-[hsl(var(--input))]";
|
|
105
|
-
readonly checked: "bg-[hsl(var(--tm-primary))]";
|
|
106
|
-
};
|
|
107
|
-
readonly handle: {
|
|
108
|
-
readonly unchecked: "bg-[hsl(var(--muted))]";
|
|
109
|
-
readonly checked: "bg-[hsl(var(--tm-primary-foreground))]";
|
|
110
|
-
};
|
|
111
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-primary)]";
|
|
112
|
-
};
|
|
113
|
-
readonly secondary: {
|
|
114
|
-
readonly track: {
|
|
115
|
-
readonly unchecked: "bg-[hsl(var(--input))]";
|
|
116
|
-
readonly checked: "bg-[hsl(var(--tm-secondary))]";
|
|
117
|
-
};
|
|
118
|
-
readonly handle: {
|
|
119
|
-
readonly unchecked: "bg-[hsl(var(--muted))]";
|
|
120
|
-
readonly checked: "bg-[hsl(var(--tm-secondary-foreground))]";
|
|
121
|
-
};
|
|
122
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
123
|
-
};
|
|
124
|
-
readonly outline: {
|
|
125
|
-
readonly track: {
|
|
126
|
-
readonly unchecked: "bg-[hsl(var(--input))]";
|
|
127
|
-
readonly checked: "bg-[hsl(var(--tm-primary))]";
|
|
128
|
-
};
|
|
129
|
-
readonly handle: {
|
|
130
|
-
readonly unchecked: "bg-[hsl(var(--muted))]";
|
|
131
|
-
readonly checked: "bg-[hsl(var(--tm-primary-foreground))]";
|
|
132
|
-
};
|
|
133
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
134
|
-
};
|
|
135
|
-
readonly ghost: {
|
|
136
|
-
readonly track: {
|
|
137
|
-
readonly unchecked: "bg-[hsl(var(--muted))]";
|
|
138
|
-
readonly checked: "bg-[hsl(var(--tm-primary))]";
|
|
139
|
-
};
|
|
140
|
-
readonly handle: {
|
|
141
|
-
readonly unchecked: "bg-[hsl(var(--muted-foreground))]";
|
|
142
|
-
readonly checked: "bg-[hsl(var(--tm-primary-foreground))]";
|
|
143
|
-
};
|
|
144
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
145
|
-
};
|
|
146
|
-
readonly destructive: {
|
|
147
|
-
readonly track: {
|
|
148
|
-
readonly unchecked: "bg-[hsl(var(--input))]";
|
|
149
|
-
readonly checked: "bg-[hsl(var(--destructive))]";
|
|
150
|
-
};
|
|
151
|
-
readonly handle: {
|
|
152
|
-
readonly unchecked: "bg-[hsl(var(--muted))]";
|
|
153
|
-
readonly checked: "bg-[hsl(var(--destructive-foreground))]";
|
|
154
|
-
};
|
|
155
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
156
|
-
};
|
|
157
|
-
};
|
|
158
|
-
/**
|
|
159
|
-
* State-based tokens
|
|
160
|
-
* Track and handle colors for different states
|
|
161
|
-
* All use CSS variable references for theme support
|
|
162
|
-
*/
|
|
163
|
-
readonly state: {
|
|
164
|
-
readonly track: {
|
|
165
|
-
readonly default: "bg-[hsl(var(--input))]";
|
|
166
|
-
readonly checked: "bg-[hsl(var(--tm-primary))]";
|
|
167
|
-
readonly disabled: "bg-[hsl(var(--muted))]";
|
|
168
|
-
readonly disabledChecked: "bg-[hsl(var(--muted))]";
|
|
169
|
-
readonly error: "bg-[hsl(var(--destructive))]";
|
|
170
|
-
};
|
|
171
|
-
readonly handle: {
|
|
172
|
-
readonly default: "bg-[hsl(var(--muted-foreground))]";
|
|
173
|
-
readonly checked: "bg-[hsl(var(--tm-primary-foreground))]";
|
|
174
|
-
readonly disabled: "bg-[hsl(var(--muted-foreground))]";
|
|
175
|
-
readonly disabledChecked: "bg-[hsl(var(--muted-foreground))]";
|
|
176
|
-
readonly error: "bg-[hsl(var(--destructive-foreground))]";
|
|
177
|
-
};
|
|
178
|
-
readonly opacity: {
|
|
179
|
-
readonly disabled: "opacity-50";
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* Transition tokens
|
|
184
|
-
* Smooth transitions for handle animation and state changes
|
|
185
|
-
* Uses motion tokens for duration and easing
|
|
186
|
-
*/
|
|
187
|
-
readonly transition: {
|
|
188
|
-
readonly handle: "transition-transform duration-300 ease-in-out";
|
|
189
|
-
readonly track: "transition-colors duration-300 ease-in-out";
|
|
190
|
-
readonly combined: "transition-all duration-300 ease-in-out";
|
|
191
|
-
};
|
|
192
|
-
/**
|
|
193
|
-
* Shadow token
|
|
194
|
-
* Maps to foundation elevation shadow tokens
|
|
195
|
-
*/
|
|
196
|
-
readonly shadow: "shadow-sm";
|
|
197
|
-
/**
|
|
198
|
-
* Padding token
|
|
199
|
-
* Space between track edge and handle
|
|
200
|
-
*/
|
|
201
|
-
readonly padding: "p-0.5";
|
|
202
|
-
};
|
|
203
|
-
/**
|
|
204
|
-
* Type exports for Switch tokens
|
|
205
|
-
*/
|
|
206
|
-
export type SwitchSize = keyof typeof SWITCH_TOKENS.track;
|
|
207
|
-
export type SwitchVariant = keyof typeof SWITCH_TOKENS.variant;
|
|
208
|
-
export type SwitchState = keyof typeof SWITCH_TOKENS.state.track;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Text Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Text component.
|
|
5
|
-
* Maps foundation typography tokens to text-specific usage patterns.
|
|
6
|
-
*
|
|
7
|
-
* These tokens serve as second-level abstractions that reference foundation
|
|
8
|
-
* typography tokens (fontSize, fontWeight, lineHeight, letterSpacing).
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Text Component Tokens
|
|
12
|
-
*
|
|
13
|
-
* Defines typography tokens for Text component.
|
|
14
|
-
* All values reference foundation typography tokens to ensure consistency.
|
|
15
|
-
*/
|
|
16
|
-
export declare const TEXT_TOKENS: {
|
|
17
|
-
/**
|
|
18
|
-
* Font sizes by text size variant
|
|
19
|
-
* Maps to foundation fontSize tokens
|
|
20
|
-
*/
|
|
21
|
-
readonly fontSize: {
|
|
22
|
-
readonly xs: "text-xs";
|
|
23
|
-
readonly sm: "text-sm";
|
|
24
|
-
readonly md: "text-base";
|
|
25
|
-
readonly lg: "text-lg";
|
|
26
|
-
readonly xl: "text-xl";
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Font weights by weight variant
|
|
30
|
-
* Maps to foundation fontWeight tokens
|
|
31
|
-
*/
|
|
32
|
-
readonly fontWeight: {
|
|
33
|
-
readonly normal: "font-normal";
|
|
34
|
-
readonly medium: "font-medium";
|
|
35
|
-
readonly semibold: "font-semibold";
|
|
36
|
-
readonly bold: "font-bold";
|
|
37
|
-
};
|
|
38
|
-
/**
|
|
39
|
-
* Line heights (if component-specific)
|
|
40
|
-
* Maps to foundation lineHeight tokens
|
|
41
|
-
*/
|
|
42
|
-
readonly lineHeight: {
|
|
43
|
-
readonly none: "leading-none";
|
|
44
|
-
readonly tight: "leading-tight";
|
|
45
|
-
readonly normal: "leading-normal";
|
|
46
|
-
readonly relaxed: "leading-relaxed";
|
|
47
|
-
readonly loose: "leading-loose";
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Letter spacing (tracking) values
|
|
51
|
-
* Maps to foundation letterSpacing tokens
|
|
52
|
-
*/
|
|
53
|
-
readonly letterSpacing: {
|
|
54
|
-
readonly tighter: "tracking-tighter";
|
|
55
|
-
readonly tight: "tracking-tight";
|
|
56
|
-
readonly normal: "tracking-normal";
|
|
57
|
-
readonly wide: "tracking-wide";
|
|
58
|
-
readonly wider: "tracking-wider";
|
|
59
|
-
readonly widest: "tracking-widest";
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Type exports for Text tokens
|
|
64
|
-
*/
|
|
65
|
-
export type TextFontSize = keyof typeof TEXT_TOKENS.fontSize;
|
|
66
|
-
export type TextFontWeight = keyof typeof TEXT_TOKENS.fontWeight;
|
|
67
|
-
export type TextLineHeight = keyof typeof TEXT_TOKENS.lineHeight;
|
|
68
|
-
export type TextLetterSpacing = keyof typeof TEXT_TOKENS.letterSpacing;
|
|
@@ -1,146 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Toast Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Toast components.
|
|
5
|
-
* Maps foundation tokens (spacing, radius, shadows, motion) to toast-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* All values use Tailwind utility classes that map to foundation tokens.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Toast Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines tokens for toast spacing, radius, shadow, surface variants, and animations.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
-
*/
|
|
15
|
-
export declare const TOAST_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Spacing tokens for toast layout
|
|
18
|
-
* Maps to semanticSpacing tokens
|
|
19
|
-
*/
|
|
20
|
-
readonly spacing: {
|
|
21
|
-
readonly gap: "gap-sm";
|
|
22
|
-
readonly padding: "p-md";
|
|
23
|
-
readonly paddingHorizontal: "px-md";
|
|
24
|
-
readonly paddingVertical: "py-md";
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Width tokens for toast layout
|
|
28
|
-
* Maps to width utilities
|
|
29
|
-
*/
|
|
30
|
-
readonly width: {
|
|
31
|
-
readonly full: "w-full";
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* Border radius for toasts
|
|
35
|
-
* Maps to componentRadius.toast
|
|
36
|
-
*/
|
|
37
|
-
readonly radius: {
|
|
38
|
-
readonly default: "rounded-lg";
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Shadow for toasts
|
|
42
|
-
* Maps to elevationShadows
|
|
43
|
-
*/
|
|
44
|
-
readonly shadow: {
|
|
45
|
-
readonly default: "shadow-lg";
|
|
46
|
-
};
|
|
47
|
-
/**
|
|
48
|
-
* Surface tokens for toast variants
|
|
49
|
-
* Maps to SURFACE_TOKENS for background colors
|
|
50
|
-
*/
|
|
51
|
-
readonly surface: {
|
|
52
|
-
readonly success: "bg-success/10 border-success/20 text-success-foreground";
|
|
53
|
-
readonly info: "bg-info/10 border-info/20 text-info-foreground";
|
|
54
|
-
readonly warning: "bg-warning/10 border-warning/20 text-warning-foreground";
|
|
55
|
-
readonly danger: "bg-destructive/10 border-destructive/20 text-destructive-foreground";
|
|
56
|
-
readonly default: "bg-background border border-border text-foreground";
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Animation tokens for toast enter/exit animations
|
|
60
|
-
* Maps to Motion V2 utility classes
|
|
61
|
-
* Uses CSS-only animations from motion/v2.ts
|
|
62
|
-
*/
|
|
63
|
-
readonly animation: {
|
|
64
|
-
readonly enter: {
|
|
65
|
-
readonly slideUp: "tm-motion-fade-slide-up";
|
|
66
|
-
readonly fadeIn: "tm-motion-fade-in";
|
|
67
|
-
readonly combined: "tm-motion-fade-slide-right";
|
|
68
|
-
};
|
|
69
|
-
readonly exit: {
|
|
70
|
-
readonly slideOutRight: "tm-motion-fade-slide-left-out";
|
|
71
|
-
readonly fadeOut: "tm-motion-fade-out";
|
|
72
|
-
readonly combined: "tm-motion-fade-slide-left-out";
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Position tokens for toast viewport
|
|
77
|
-
* Maps to spacing tokens for positioning
|
|
78
|
-
*/
|
|
79
|
-
readonly position: {
|
|
80
|
-
readonly spacing: {
|
|
81
|
-
readonly top: "top-md";
|
|
82
|
-
readonly right: "right-md";
|
|
83
|
-
readonly bottom: "bottom-md";
|
|
84
|
-
readonly left: "left-md";
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
/**
|
|
88
|
-
* Content layout tokens
|
|
89
|
-
* For toast content container
|
|
90
|
-
*/
|
|
91
|
-
readonly content: {
|
|
92
|
-
readonly layout: "flex flex-1 items-start";
|
|
93
|
-
readonly gap: "gap-sm";
|
|
94
|
-
readonly verticalSpacing: "space-y-xs";
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Title typography tokens
|
|
98
|
-
* Maps to TEXT_TOKENS for font sizing and weight
|
|
99
|
-
*/
|
|
100
|
-
readonly title: {
|
|
101
|
-
readonly fontSize: "text-sm";
|
|
102
|
-
readonly fontWeight: "font-semibold";
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* Description typography tokens
|
|
106
|
-
* Maps to TEXT_TOKENS for font sizing
|
|
107
|
-
*/
|
|
108
|
-
readonly description: {
|
|
109
|
-
readonly fontSize: "text-sm";
|
|
110
|
-
readonly opacity: "opacity-90";
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Action button tokens
|
|
114
|
-
* For toast action button sizing
|
|
115
|
-
*/
|
|
116
|
-
readonly action: {
|
|
117
|
-
readonly height: "h-8";
|
|
118
|
-
readonly padding: "px-xs";
|
|
119
|
-
readonly fontSize: "text-xs";
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* Dismiss button tokens
|
|
123
|
-
* For toast dismiss button styling
|
|
124
|
-
*/
|
|
125
|
-
readonly dismiss: {
|
|
126
|
-
readonly position: "absolute right-xs top-xs";
|
|
127
|
-
readonly size: "h-6 w-6";
|
|
128
|
-
readonly radius: "rounded-md";
|
|
129
|
-
readonly padding: "p-xs";
|
|
130
|
-
readonly transition: "transition-opacity";
|
|
131
|
-
readonly colors: {
|
|
132
|
-
readonly default: "text-foreground/50";
|
|
133
|
-
readonly hover: "hover:text-foreground";
|
|
134
|
-
};
|
|
135
|
-
readonly states: {
|
|
136
|
-
readonly default: "opacity-0";
|
|
137
|
-
readonly groupHover: "group-hover:opacity-100";
|
|
138
|
-
readonly focus: "focus:opacity-100";
|
|
139
|
-
readonly focusRing: "focus:outline-none focus:ring-1";
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
/**
|
|
144
|
-
* Type exports for Toast tokens
|
|
145
|
-
*/
|
|
146
|
-
export type ToastVariant = keyof typeof TOAST_TOKENS.surface;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tooltip Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Tooltip component.
|
|
5
|
-
* Maps foundation tokens (spacing, radius, shadows, typography) to tooltip-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* All values use Tailwind utility classes that map to foundation tokens.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Tooltip Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines tokens for tooltip content styling.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
-
*/
|
|
15
|
-
export declare const TOOLTIP_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Tooltip content tokens
|
|
18
|
-
* Maps to foundation spacing, radius, shadow, and typography tokens
|
|
19
|
-
*/
|
|
20
|
-
readonly content: {
|
|
21
|
-
readonly border: {
|
|
22
|
-
readonly default: "border";
|
|
23
|
-
readonly color: "border-border";
|
|
24
|
-
};
|
|
25
|
-
readonly background: {
|
|
26
|
-
readonly default: "bg-popover";
|
|
27
|
-
};
|
|
28
|
-
readonly text: {
|
|
29
|
-
readonly default: "text-popover-foreground";
|
|
30
|
-
};
|
|
31
|
-
readonly padding: {
|
|
32
|
-
readonly horizontal: "px-sm";
|
|
33
|
-
readonly vertical: "py-xs";
|
|
34
|
-
};
|
|
35
|
-
readonly radius: {
|
|
36
|
-
readonly sm: "rounded-sm";
|
|
37
|
-
readonly md: "rounded-md";
|
|
38
|
-
};
|
|
39
|
-
readonly shadow: {
|
|
40
|
-
readonly sm: "shadow-sm";
|
|
41
|
-
readonly md: "shadow-md";
|
|
42
|
-
};
|
|
43
|
-
readonly fontSize: {
|
|
44
|
-
readonly sm: "text-sm";
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Type exports for Tooltip tokens
|
|
50
|
-
*/
|
|
51
|
-
export type TooltipContentRadius = keyof typeof TOOLTIP_TOKENS.content.radius;
|
|
52
|
-
export type TooltipContentShadow = keyof typeof TOOLTIP_TOKENS.content.shadow;
|