@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,159 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Notification Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Notification Center components.
|
|
5
|
-
* Maps foundation tokens (spacing, radius, shadows, motion) to notification-specific usage.
|
|
6
|
-
* Extends toast tokens with additional tokens for panel, grouping, and timeline features.
|
|
7
|
-
*
|
|
8
|
-
* All values use Tailwind utility classes that map to foundation tokens.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Notification Component Tokens
|
|
12
|
-
*
|
|
13
|
-
* Defines tokens for notification spacing, radius, shadow, surface variants, animations,
|
|
14
|
-
* panel configuration, item styling, and timeline features.
|
|
15
|
-
* Values are mapped to Tailwind utility classes for direct use.
|
|
16
|
-
*/
|
|
17
|
-
export declare const NOTIFICATION_TOKENS: {
|
|
18
|
-
/**
|
|
19
|
-
* Spacing tokens for notification layout
|
|
20
|
-
* Maps to semanticSpacing tokens
|
|
21
|
-
*/
|
|
22
|
-
readonly spacing: {
|
|
23
|
-
readonly gap: "gap-sm";
|
|
24
|
-
readonly padding: "p-md";
|
|
25
|
-
readonly paddingHorizontal: "px-md";
|
|
26
|
-
readonly paddingVertical: "py-md";
|
|
27
|
-
readonly itemPadding: "p-sm";
|
|
28
|
-
readonly panelPadding: "p-lg";
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Border radius for notifications
|
|
32
|
-
* Maps to componentRadius.notification
|
|
33
|
-
*/
|
|
34
|
-
readonly radius: {
|
|
35
|
-
readonly item: "rounded-md";
|
|
36
|
-
readonly panel: "rounded-lg";
|
|
37
|
-
readonly default: "rounded-lg";
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Shadow for notifications
|
|
41
|
-
* Maps to elevationShadows
|
|
42
|
-
*/
|
|
43
|
-
readonly shadow: {
|
|
44
|
-
readonly item: "shadow-sm";
|
|
45
|
-
readonly panel: "shadow-xl";
|
|
46
|
-
readonly default: "shadow-lg";
|
|
47
|
-
};
|
|
48
|
-
/**
|
|
49
|
-
* Width tokens for notifications
|
|
50
|
-
* Maps to spacing tokens for width constraints
|
|
51
|
-
*/
|
|
52
|
-
readonly width: {
|
|
53
|
-
readonly item: "w-full";
|
|
54
|
-
readonly itemMax: "max-w-md";
|
|
55
|
-
readonly panel: "w-full";
|
|
56
|
-
readonly panelSm: "w-sm";
|
|
57
|
-
readonly panelMd: "w-md";
|
|
58
|
-
readonly panelLg: "w-lg";
|
|
59
|
-
readonly panelMaxHeight: "max-h-[calc(100vh-2rem)]";
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Item-specific tokens
|
|
63
|
-
* For individual notification items in lists
|
|
64
|
-
*/
|
|
65
|
-
readonly item: {
|
|
66
|
-
readonly padding: "p-sm";
|
|
67
|
-
readonly gap: "gap-sm";
|
|
68
|
-
readonly iconSize: "h-5 w-5";
|
|
69
|
-
readonly radius: "rounded-md";
|
|
70
|
-
readonly minHeight: "min-h-[3rem]";
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* Surface tokens for notification variants
|
|
74
|
-
* Extends toast variants with system and log
|
|
75
|
-
* Maps to SURFACE_TOKENS for background colors
|
|
76
|
-
*/
|
|
77
|
-
readonly surface: {
|
|
78
|
-
readonly success: "bg-success/10 border-success/20 text-success-foreground";
|
|
79
|
-
readonly info: "bg-info/10 border-info/20 text-info-foreground";
|
|
80
|
-
readonly warning: "bg-warning/10 border-warning/20 text-warning-foreground";
|
|
81
|
-
readonly danger: "bg-destructive/10 border-destructive/20 text-destructive-foreground";
|
|
82
|
-
readonly system: "bg-muted border-border text-foreground";
|
|
83
|
-
readonly log: "bg-background border-border/50 text-muted-foreground";
|
|
84
|
-
readonly default: "bg-background border border-border text-foreground";
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Timeline tokens for grouped notifications
|
|
88
|
-
* Visual timeline indicators for grouped items
|
|
89
|
-
*/
|
|
90
|
-
readonly timeline: {
|
|
91
|
-
readonly dotSize: "h-2 w-2";
|
|
92
|
-
readonly lineWidth: "w-0.5";
|
|
93
|
-
readonly gap: "gap-xs";
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* Animation tokens for notification enter/exit animations
|
|
97
|
-
* Maps to Motion V2 utility classes
|
|
98
|
-
* Uses CSS-only animations from motion/v2.ts
|
|
99
|
-
*/
|
|
100
|
-
readonly animation: {
|
|
101
|
-
readonly enter: {
|
|
102
|
-
readonly slideInRight: "tm-motion-fade-slide-right";
|
|
103
|
-
readonly fadeIn: "tm-motion-fade-in";
|
|
104
|
-
readonly combined: "tm-motion-fade-slide-right";
|
|
105
|
-
};
|
|
106
|
-
readonly exit: {
|
|
107
|
-
readonly slideOutRight: "tm-motion-fade-slide-right-out";
|
|
108
|
-
readonly fadeOut: "tm-motion-fade-out";
|
|
109
|
-
readonly combined: "tm-motion-fade-slide-right-out";
|
|
110
|
-
};
|
|
111
|
-
readonly panel: {
|
|
112
|
-
readonly enter: {
|
|
113
|
-
readonly slideInRight: "tm-motion-fade-slide-right";
|
|
114
|
-
readonly fadeIn: "tm-motion-fade-in";
|
|
115
|
-
readonly combined: "tm-motion-fade-slide-right";
|
|
116
|
-
};
|
|
117
|
-
readonly exit: {
|
|
118
|
-
readonly slideOutRight: "tm-motion-fade-slide-right-out";
|
|
119
|
-
readonly fadeOut: "tm-motion-fade-out";
|
|
120
|
-
readonly combined: "tm-motion-fade-slide-right-out";
|
|
121
|
-
};
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* Panel-specific tokens
|
|
126
|
-
* For the side drawer notification panel
|
|
127
|
-
*/
|
|
128
|
-
readonly panel: {
|
|
129
|
-
readonly width: {
|
|
130
|
-
readonly default: "w-md";
|
|
131
|
-
readonly sm: "w-sm";
|
|
132
|
-
readonly md: "w-md";
|
|
133
|
-
readonly lg: "w-lg";
|
|
134
|
-
};
|
|
135
|
-
readonly maxHeight: "max-h-[calc(100vh-2rem)]";
|
|
136
|
-
readonly spacing: {
|
|
137
|
-
readonly gap: "gap-md";
|
|
138
|
-
readonly padding: "p-lg";
|
|
139
|
-
readonly headerPadding: "px-lg py-md";
|
|
140
|
-
};
|
|
141
|
-
readonly radius: {
|
|
142
|
-
readonly default: "rounded-lg";
|
|
143
|
-
readonly topLeft: "rounded-tl-lg";
|
|
144
|
-
readonly topRight: "rounded-tr-lg";
|
|
145
|
-
};
|
|
146
|
-
readonly shadow: {
|
|
147
|
-
readonly default: "shadow-xl";
|
|
148
|
-
};
|
|
149
|
-
readonly backdrop: {
|
|
150
|
-
readonly bg: "bg-black/50";
|
|
151
|
-
readonly blur: "backdrop-blur-sm";
|
|
152
|
-
};
|
|
153
|
-
};
|
|
154
|
-
};
|
|
155
|
-
/**
|
|
156
|
-
* Type exports for Notification tokens
|
|
157
|
-
*/
|
|
158
|
-
export type NotificationVariant = keyof typeof NOTIFICATION_TOKENS.surface;
|
|
159
|
-
export type NotificationPanelWidth = keyof typeof NOTIFICATION_TOKENS.panel.width;
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Overlay Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Overlay components (Modal, Dialog, Backdrop).
|
|
5
|
-
* Maps foundation tokens (spacing, radius, shadows, motion) to overlay-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* All values use Tailwind utility classes that map to foundation tokens.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Overlay Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines tokens for backdrop variants, modal sizes, and animations.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
-
*/
|
|
15
|
-
export declare const OVERLAY_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Backdrop tokens by variant
|
|
18
|
-
* Maps to SURFACE_TOKENS for background colors
|
|
19
|
-
*/
|
|
20
|
-
readonly backdrop: {
|
|
21
|
-
readonly default: {
|
|
22
|
-
readonly bg: "bg-black/50";
|
|
23
|
-
readonly opacity: "opacity-100";
|
|
24
|
-
};
|
|
25
|
-
readonly blurred: {
|
|
26
|
-
readonly bg: "bg-black/50";
|
|
27
|
-
readonly opacity: "opacity-100";
|
|
28
|
-
readonly backdropFilter: "backdrop-blur-sm";
|
|
29
|
-
};
|
|
30
|
-
readonly transparent: {
|
|
31
|
-
readonly bg: "bg-transparent";
|
|
32
|
-
readonly opacity: "opacity-0";
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Modal tokens by size variant
|
|
37
|
-
* Maps to foundation tokens for spacing, radius, and shadows
|
|
38
|
-
*/
|
|
39
|
-
readonly modal: {
|
|
40
|
-
readonly radius: {
|
|
41
|
-
readonly sm: "rounded-md";
|
|
42
|
-
readonly md: "rounded-lg";
|
|
43
|
-
readonly lg: "rounded-xl";
|
|
44
|
-
readonly xl: "rounded-2xl";
|
|
45
|
-
readonly fullscreen: "rounded-none";
|
|
46
|
-
};
|
|
47
|
-
readonly padding: {
|
|
48
|
-
readonly sm: "p-md";
|
|
49
|
-
readonly md: "p-lg";
|
|
50
|
-
readonly lg: "p-xl";
|
|
51
|
-
readonly xl: "p-xl";
|
|
52
|
-
};
|
|
53
|
-
readonly shadow: {
|
|
54
|
-
readonly sm: "shadow-md";
|
|
55
|
-
readonly md: "shadow-lg";
|
|
56
|
-
readonly lg: "shadow-xl";
|
|
57
|
-
readonly xl: "shadow-xl";
|
|
58
|
-
};
|
|
59
|
-
readonly maxWidth: {
|
|
60
|
-
readonly sm: "max-w-md";
|
|
61
|
-
readonly md: "max-w-lg";
|
|
62
|
-
readonly lg: "max-w-2xl";
|
|
63
|
-
readonly xl: "max-w-4xl";
|
|
64
|
-
readonly fullscreen: "max-w-full";
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Modal surface tokens by variant
|
|
68
|
-
* Token-based styling for all modal surface variants
|
|
69
|
-
*/
|
|
70
|
-
readonly surface: {
|
|
71
|
-
readonly primary: {
|
|
72
|
-
readonly bg: "bg-background";
|
|
73
|
-
readonly border: "border border-border";
|
|
74
|
-
};
|
|
75
|
-
readonly secondary: {
|
|
76
|
-
readonly bg: "bg-card";
|
|
77
|
-
readonly border: "border border-border";
|
|
78
|
-
readonly shadow: "shadow-sm";
|
|
79
|
-
};
|
|
80
|
-
readonly tinted: {
|
|
81
|
-
readonly bg: "bg-muted/50";
|
|
82
|
-
readonly border: "border border-border/50";
|
|
83
|
-
};
|
|
84
|
-
readonly bare: {
|
|
85
|
-
readonly bg: "bg-transparent";
|
|
86
|
-
readonly border: "border-none";
|
|
87
|
-
readonly shadow: "shadow-none";
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* Modal container tokens
|
|
92
|
-
* For backdrop container positioning and layout
|
|
93
|
-
*/
|
|
94
|
-
readonly container: {
|
|
95
|
-
readonly layout: "fixed inset-0 z-40 flex items-center justify-center";
|
|
96
|
-
};
|
|
97
|
-
/**
|
|
98
|
-
* Modal position tokens
|
|
99
|
-
* For centering and positioning modal content
|
|
100
|
-
*/
|
|
101
|
-
readonly position: {
|
|
102
|
-
readonly center: "left-[50%] top-[50%] -translate-x-1/2 -translate-y-1/2";
|
|
103
|
-
};
|
|
104
|
-
/**
|
|
105
|
-
* Modal transition tokens
|
|
106
|
-
* Maps to motion tokens for appear/disappear animations
|
|
107
|
-
*/
|
|
108
|
-
readonly transition: {
|
|
109
|
-
readonly appear: "tm-motion-fade-scale";
|
|
110
|
-
readonly disappear: "tm-motion-fade-scale-out";
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* Modal section spacing tokens
|
|
114
|
-
* For header, body, and footer spacing
|
|
115
|
-
*/
|
|
116
|
-
readonly spacing: {
|
|
117
|
-
readonly header: {
|
|
118
|
-
readonly marginBottom: "mb-md";
|
|
119
|
-
readonly gap: "gap-xs";
|
|
120
|
-
};
|
|
121
|
-
readonly body: {
|
|
122
|
-
readonly layout: "flex-1";
|
|
123
|
-
};
|
|
124
|
-
readonly footer: {
|
|
125
|
-
readonly marginTop: "mt-md";
|
|
126
|
-
readonly gap: "gap-sm";
|
|
127
|
-
};
|
|
128
|
-
};
|
|
129
|
-
};
|
|
130
|
-
/**
|
|
131
|
-
* Animation tokens for overlay enter/exit animations
|
|
132
|
-
* Maps to Motion V2 utility classes
|
|
133
|
-
* Uses CSS-only animations from motion/v2.ts
|
|
134
|
-
*/
|
|
135
|
-
readonly animation: {
|
|
136
|
-
readonly enter: {
|
|
137
|
-
readonly duration: "duration-normal";
|
|
138
|
-
readonly easing: "ease-out";
|
|
139
|
-
readonly keyframes: "tm-motion-fade-in";
|
|
140
|
-
readonly scale: "tm-motion-scale-in";
|
|
141
|
-
readonly combined: "tm-motion-fade-scale";
|
|
142
|
-
};
|
|
143
|
-
readonly exit: {
|
|
144
|
-
readonly duration: "duration-fast";
|
|
145
|
-
readonly easing: "ease-in";
|
|
146
|
-
readonly keyframes: "tm-motion-fade-out";
|
|
147
|
-
readonly scale: "tm-motion-scale-out";
|
|
148
|
-
readonly combined: "tm-motion-fade-scale-out";
|
|
149
|
-
};
|
|
150
|
-
};
|
|
151
|
-
/**
|
|
152
|
-
* Drawer tokens by size variant
|
|
153
|
-
* Maps to foundation tokens for spacing, radius, and shadows
|
|
154
|
-
*/
|
|
155
|
-
readonly drawer: {
|
|
156
|
-
readonly width: {
|
|
157
|
-
readonly sm: "w-64";
|
|
158
|
-
readonly md: "w-80";
|
|
159
|
-
readonly lg: "w-96";
|
|
160
|
-
};
|
|
161
|
-
readonly height: {
|
|
162
|
-
readonly sm: "h-64";
|
|
163
|
-
readonly md: "h-80";
|
|
164
|
-
readonly lg: "h-96";
|
|
165
|
-
};
|
|
166
|
-
readonly radius: {
|
|
167
|
-
readonly left: {
|
|
168
|
-
readonly sm: "rounded-r-md";
|
|
169
|
-
readonly md: "rounded-r-lg";
|
|
170
|
-
readonly lg: "rounded-r-xl";
|
|
171
|
-
};
|
|
172
|
-
readonly right: {
|
|
173
|
-
readonly sm: "rounded-l-md";
|
|
174
|
-
readonly md: "rounded-l-lg";
|
|
175
|
-
readonly lg: "rounded-l-xl";
|
|
176
|
-
};
|
|
177
|
-
readonly bottom: {
|
|
178
|
-
readonly sm: "rounded-t-md";
|
|
179
|
-
readonly md: "rounded-t-lg";
|
|
180
|
-
readonly lg: "rounded-t-xl";
|
|
181
|
-
};
|
|
182
|
-
};
|
|
183
|
-
readonly padding: {
|
|
184
|
-
readonly sm: "p-md";
|
|
185
|
-
readonly md: "p-lg";
|
|
186
|
-
readonly lg: "p-xl";
|
|
187
|
-
};
|
|
188
|
-
readonly shadow: {
|
|
189
|
-
readonly sm: "shadow-md";
|
|
190
|
-
readonly md: "shadow-lg";
|
|
191
|
-
readonly lg: "shadow-xl";
|
|
192
|
-
};
|
|
193
|
-
readonly animation: {
|
|
194
|
-
readonly left: {
|
|
195
|
-
readonly enter: "tm-motion-slide-right-in";
|
|
196
|
-
readonly exit: "tm-motion-slide-right-out";
|
|
197
|
-
};
|
|
198
|
-
readonly right: {
|
|
199
|
-
readonly enter: "tm-motion-slide-left-in";
|
|
200
|
-
readonly exit: "tm-motion-slide-left-out";
|
|
201
|
-
};
|
|
202
|
-
readonly bottom: {
|
|
203
|
-
readonly enter: "tm-motion-slide-up-in";
|
|
204
|
-
readonly exit: "tm-motion-slide-up-out";
|
|
205
|
-
};
|
|
206
|
-
};
|
|
207
|
-
/**
|
|
208
|
-
* Drawer section spacing tokens
|
|
209
|
-
* For header, body, and footer spacing
|
|
210
|
-
*/
|
|
211
|
-
readonly spacing: {
|
|
212
|
-
readonly header: {
|
|
213
|
-
readonly marginBottom: "mb-md";
|
|
214
|
-
readonly gap: "gap-xs";
|
|
215
|
-
};
|
|
216
|
-
readonly footer: {
|
|
217
|
-
readonly marginTop: "mt-md";
|
|
218
|
-
readonly gap: "gap-sm";
|
|
219
|
-
};
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
};
|
|
223
|
-
/**
|
|
224
|
-
* Type exports for Overlay tokens
|
|
225
|
-
*/
|
|
226
|
-
export type OverlayBackdropVariant = keyof typeof OVERLAY_TOKENS.backdrop;
|
|
227
|
-
export type OverlayModalSize = keyof typeof OVERLAY_TOKENS.modal.radius;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Popover Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Popover component.
|
|
5
|
-
* Maps foundation tokens (spacing, radius, shadows, motion) to popover-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* All values use Tailwind utility classes that map to foundation tokens.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Popover Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines tokens for popover content, arrow, and animations.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
-
*/
|
|
15
|
-
export declare const POPOVER_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Popover content tokens by size
|
|
18
|
-
* Maps to foundation spacing, radius, and shadow 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 sm: "p-sm";
|
|
33
|
-
readonly md: "p-md";
|
|
34
|
-
readonly lg: "p-lg";
|
|
35
|
-
};
|
|
36
|
-
readonly radius: {
|
|
37
|
-
readonly sm: "rounded-md";
|
|
38
|
-
readonly md: "rounded-lg";
|
|
39
|
-
};
|
|
40
|
-
readonly shadow: {
|
|
41
|
-
readonly sm: "shadow-md";
|
|
42
|
-
readonly md: "shadow-lg";
|
|
43
|
-
};
|
|
44
|
-
readonly width: {
|
|
45
|
-
readonly xs: "w-40";
|
|
46
|
-
readonly sm: "w-48";
|
|
47
|
-
readonly md: "w-72";
|
|
48
|
-
readonly lg: "w-96";
|
|
49
|
-
readonly xl: "w-[32rem]";
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Popover arrow tokens
|
|
54
|
-
* Maps to foundation spacing tokens
|
|
55
|
-
*/
|
|
56
|
-
readonly arrow: {
|
|
57
|
-
readonly size: {
|
|
58
|
-
readonly sm: "w-2 h-2";
|
|
59
|
-
readonly md: "w-3 h-3";
|
|
60
|
-
};
|
|
61
|
-
readonly offset: {
|
|
62
|
-
readonly sm: "-translate-x-1/2";
|
|
63
|
-
readonly md: "-translate-x-1/2";
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Animation tokens for popover enter/exit animations
|
|
68
|
-
* Maps to Motion V2 utility classes
|
|
69
|
-
* Uses CSS-only animations from motion/v2.ts
|
|
70
|
-
*/
|
|
71
|
-
readonly animation: {
|
|
72
|
-
readonly enter: "tm-motion-fade-scale";
|
|
73
|
-
readonly exit: "tm-motion-fade-scale-out";
|
|
74
|
-
};
|
|
75
|
-
};
|
|
76
|
-
/**
|
|
77
|
-
* Type exports for Popover tokens
|
|
78
|
-
*/
|
|
79
|
-
export type PopoverContentPadding = keyof typeof POPOVER_TOKENS.content.padding;
|
|
80
|
-
export type PopoverContentRadius = keyof typeof POPOVER_TOKENS.content.radius;
|
|
81
|
-
export type PopoverContentShadow = keyof typeof POPOVER_TOKENS.content.shadow;
|
|
82
|
-
export type PopoverContentWidth = keyof typeof POPOVER_TOKENS.content.width;
|
|
83
|
-
export type PopoverArrowSize = keyof typeof POPOVER_TOKENS.arrow.size;
|
|
84
|
-
export type PopoverArrowOffset = keyof typeof POPOVER_TOKENS.arrow.offset;
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Radio Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Radio component.
|
|
5
|
-
* Maps foundation tokens (spacing, typography, radius, shadows) to radio-specific usage.
|
|
6
|
-
* All color values use CSS variables for theme-aware styling.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Radio Component Tokens
|
|
10
|
-
*
|
|
11
|
-
* Defines spacing, sizing, typography, and visual tokens for Radio component.
|
|
12
|
-
* All colors use CSS variable references (hsl(var(--token))) for theme-aware styling.
|
|
13
|
-
* Radio sizes are typically smaller than input fields.
|
|
14
|
-
*/
|
|
15
|
-
export declare const RADIO_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Radio sizes by size variant
|
|
18
|
-
* Supports xs, sm, md, lg, xl sizes
|
|
19
|
-
* Radios are typically circular and smaller than input fields
|
|
20
|
-
*/
|
|
21
|
-
readonly size: {
|
|
22
|
-
readonly xs: {
|
|
23
|
-
readonly width: "w-3.5";
|
|
24
|
-
readonly height: "h-3.5";
|
|
25
|
-
readonly radius: "rounded-full";
|
|
26
|
-
readonly dotSize: "size-1.5";
|
|
27
|
-
};
|
|
28
|
-
readonly sm: {
|
|
29
|
-
readonly width: "w-4";
|
|
30
|
-
readonly height: "h-4";
|
|
31
|
-
readonly radius: "rounded-full";
|
|
32
|
-
readonly dotSize: "size-2";
|
|
33
|
-
};
|
|
34
|
-
readonly md: {
|
|
35
|
-
readonly width: "w-4.5";
|
|
36
|
-
readonly height: "h-4.5";
|
|
37
|
-
readonly radius: "rounded-full";
|
|
38
|
-
readonly dotSize: "size-2.5";
|
|
39
|
-
};
|
|
40
|
-
readonly lg: {
|
|
41
|
-
readonly width: "w-5";
|
|
42
|
-
readonly height: "h-5";
|
|
43
|
-
readonly radius: "rounded-full";
|
|
44
|
-
readonly dotSize: "size-3";
|
|
45
|
-
};
|
|
46
|
-
readonly xl: {
|
|
47
|
-
readonly width: "w-6";
|
|
48
|
-
readonly height: "h-6";
|
|
49
|
-
readonly radius: "rounded-full";
|
|
50
|
-
readonly dotSize: "size-3.5";
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Variant-based tokens
|
|
55
|
-
* Border, background, and text colors for different variants
|
|
56
|
-
* All use CSS variable references for theme support
|
|
57
|
-
*/
|
|
58
|
-
readonly variant: {
|
|
59
|
-
readonly primary: {
|
|
60
|
-
readonly border: "border-[hsl(var(--tm-primary))]";
|
|
61
|
-
readonly background: "bg-[hsl(var(--tm-primary))]";
|
|
62
|
-
readonly text: "text-[hsl(var(--tm-primary-foreground))]";
|
|
63
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-primary)]";
|
|
64
|
-
};
|
|
65
|
-
readonly secondary: {
|
|
66
|
-
readonly border: "border-[hsl(var(--tm-secondary))]";
|
|
67
|
-
readonly background: "bg-[hsl(var(--tm-secondary))]";
|
|
68
|
-
readonly text: "text-[hsl(var(--tm-secondary-foreground))]";
|
|
69
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
70
|
-
};
|
|
71
|
-
readonly outline: {
|
|
72
|
-
readonly border: "border-[hsl(var(--input))]";
|
|
73
|
-
readonly background: "bg-transparent";
|
|
74
|
-
readonly text: "text-[hsl(var(--foreground))]";
|
|
75
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
76
|
-
};
|
|
77
|
-
readonly ghost: {
|
|
78
|
-
readonly border: "border-transparent";
|
|
79
|
-
readonly background: "bg-transparent";
|
|
80
|
-
readonly text: "text-[hsl(var(--foreground))]";
|
|
81
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
82
|
-
};
|
|
83
|
-
readonly destructive: {
|
|
84
|
-
readonly border: "border-[hsl(var(--destructive))]";
|
|
85
|
-
readonly background: "bg-[hsl(var(--destructive))]";
|
|
86
|
-
readonly text: "text-[hsl(var(--destructive-foreground))]";
|
|
87
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* State-based tokens
|
|
92
|
-
* Border, background, and text colors for different states
|
|
93
|
-
* All use CSS variable references for theme support
|
|
94
|
-
*/
|
|
95
|
-
readonly state: {
|
|
96
|
-
readonly border: {
|
|
97
|
-
readonly default: "border-[hsl(var(--input))]";
|
|
98
|
-
readonly checked: "border-[hsl(var(--tm-primary))]";
|
|
99
|
-
readonly error: "border-[hsl(var(--destructive))]";
|
|
100
|
-
readonly disabled: "border-[hsl(var(--input))]";
|
|
101
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
102
|
-
};
|
|
103
|
-
readonly background: {
|
|
104
|
-
readonly default: "bg-transparent";
|
|
105
|
-
readonly checked: "bg-[hsl(var(--tm-primary))]";
|
|
106
|
-
readonly disabled: "bg-transparent";
|
|
107
|
-
readonly disabledChecked: "bg-[hsl(var(--muted))]";
|
|
108
|
-
};
|
|
109
|
-
readonly text: {
|
|
110
|
-
readonly default: "text-[hsl(var(--foreground))]";
|
|
111
|
-
readonly checked: "text-[hsl(var(--tm-primary-foreground))]";
|
|
112
|
-
readonly disabled: "disabled:opacity-50";
|
|
113
|
-
};
|
|
114
|
-
};
|
|
115
|
-
/**
|
|
116
|
-
* Dot tokens (inner filled circle indicator)
|
|
117
|
-
* Size and styling for radio dot within radio button
|
|
118
|
-
*/
|
|
119
|
-
readonly dot: {
|
|
120
|
-
readonly size: {
|
|
121
|
-
readonly xs: "size-1.5";
|
|
122
|
-
readonly sm: "size-2";
|
|
123
|
-
readonly md: "size-2.5";
|
|
124
|
-
readonly lg: "size-3";
|
|
125
|
-
readonly xl: "size-3.5";
|
|
126
|
-
};
|
|
127
|
-
readonly color: {
|
|
128
|
-
readonly default: "bg-[hsl(var(--tm-primary-foreground))]";
|
|
129
|
-
readonly disabled: "bg-[hsl(var(--muted-foreground))]";
|
|
130
|
-
};
|
|
131
|
-
readonly radius: "rounded-full";
|
|
132
|
-
};
|
|
133
|
-
/**
|
|
134
|
-
* Shadow token
|
|
135
|
-
* Maps to foundation elevation shadow tokens
|
|
136
|
-
*/
|
|
137
|
-
readonly shadow: "shadow-sm";
|
|
138
|
-
/**
|
|
139
|
-
* Transition tokens
|
|
140
|
-
* Smooth transitions for state changes
|
|
141
|
-
*/
|
|
142
|
-
readonly transition: "transition-all duration-200 ease-in-out";
|
|
143
|
-
};
|
|
144
|
-
/**
|
|
145
|
-
* Type exports for Radio tokens
|
|
146
|
-
*/
|
|
147
|
-
export type RadioSize = keyof typeof RADIO_TOKENS.size;
|
|
148
|
-
export type RadioVariant = keyof typeof RADIO_TOKENS.variant;
|
|
149
|
-
export type RadioState = keyof typeof RADIO_TOKENS.state.border;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Section Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Section component.
|
|
5
|
-
* Maps foundation tokens (spacing) to section-specific usage for page/landing layout composition.
|
|
6
|
-
*
|
|
7
|
-
* Defines tokens for vertical padding and content spacing within sections.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Section Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines padding and spacing tokens for Section component.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
-
*/
|
|
15
|
-
export declare const SECTION_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Vertical padding for sections
|
|
18
|
-
* Used for spacing between major page sections
|
|
19
|
-
*/
|
|
20
|
-
readonly padding: {
|
|
21
|
-
readonly sm: "py-md";
|
|
22
|
-
readonly md: "py-xl";
|
|
23
|
-
readonly lg: "py-2xl";
|
|
24
|
-
readonly xl: "py-3xl";
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Gap spacing for content blocks within sections
|
|
28
|
-
* Used for spacing between content elements in a section
|
|
29
|
-
*/
|
|
30
|
-
readonly spacing: {
|
|
31
|
-
readonly sm: "gap-sm";
|
|
32
|
-
readonly md: "gap-md";
|
|
33
|
-
readonly lg: "gap-lg";
|
|
34
|
-
readonly xl: "gap-xl";
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Type exports for Section tokens
|
|
39
|
-
*/
|
|
40
|
-
export type SectionPadding = keyof typeof SECTION_TOKENS.padding;
|
|
41
|
-
export type SectionGap = keyof typeof SECTION_TOKENS.spacing;
|