@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,91 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Card Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Card component.
|
|
5
|
-
* Maps foundation tokens (spacing, radius, shadows) to card-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* Prepared for future size variants (sm, md, lg).
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Card Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines spacing, radius, and shadow tokens for Card component.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
-
*/
|
|
15
|
-
export declare const CARD_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Padding for card sections (CardHeader, CardContent, CardFooter)
|
|
18
|
-
*/
|
|
19
|
-
readonly padding: {
|
|
20
|
-
readonly sm: "p-sm";
|
|
21
|
-
readonly md: "p-lg";
|
|
22
|
-
readonly lg: "p-xl";
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Border radius for cards
|
|
26
|
-
*/
|
|
27
|
-
readonly radius: {
|
|
28
|
-
readonly sm: "rounded-md";
|
|
29
|
-
readonly md: "rounded-xl";
|
|
30
|
-
readonly lg: "rounded-2xl";
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Vertical spacing within card sections
|
|
34
|
-
* Used for CardHeader spacing
|
|
35
|
-
*/
|
|
36
|
-
readonly spacing: {
|
|
37
|
-
readonly vertical: {
|
|
38
|
-
readonly xs: "space-y-xs";
|
|
39
|
-
readonly sm: "space-y-sm";
|
|
40
|
-
readonly md: "space-y-md";
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Shadow (elevation) for cards
|
|
45
|
-
* Maps to foundation elevation shadow tokens
|
|
46
|
-
*/
|
|
47
|
-
readonly shadow: {
|
|
48
|
-
readonly default: "shadow";
|
|
49
|
-
readonly sm: "shadow-sm";
|
|
50
|
-
readonly md: "shadow-md";
|
|
51
|
-
readonly lg: "shadow-lg";
|
|
52
|
-
};
|
|
53
|
-
/**
|
|
54
|
-
* Size-based token structure
|
|
55
|
-
* Organized by size for easy access
|
|
56
|
-
*/
|
|
57
|
-
readonly size: {
|
|
58
|
-
readonly sm: {
|
|
59
|
-
readonly padding: "p-sm";
|
|
60
|
-
readonly radius: "rounded-md";
|
|
61
|
-
readonly shadow: "shadow-sm";
|
|
62
|
-
readonly spacing: {
|
|
63
|
-
readonly vertical: "space-y-xs";
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
readonly md: {
|
|
67
|
-
readonly padding: "p-lg";
|
|
68
|
-
readonly radius: "rounded-xl";
|
|
69
|
-
readonly shadow: "shadow";
|
|
70
|
-
readonly spacing: {
|
|
71
|
-
readonly vertical: "space-y-xs";
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
readonly lg: {
|
|
75
|
-
readonly padding: "p-xl";
|
|
76
|
-
readonly radius: "rounded-2xl";
|
|
77
|
-
readonly shadow: "shadow-md";
|
|
78
|
-
readonly spacing: {
|
|
79
|
-
readonly vertical: "space-y-sm";
|
|
80
|
-
};
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
/**
|
|
85
|
-
* Type exports for Card tokens
|
|
86
|
-
*/
|
|
87
|
-
export type CardPadding = keyof typeof CARD_TOKENS.padding;
|
|
88
|
-
export type CardRadius = keyof typeof CARD_TOKENS.radius;
|
|
89
|
-
export type CardSpacingVertical = keyof typeof CARD_TOKENS.spacing.vertical;
|
|
90
|
-
export type CardShadow = keyof typeof CARD_TOKENS.shadow;
|
|
91
|
-
export type CardSize = keyof typeof CARD_TOKENS.size;
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Checkbox Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Checkbox component.
|
|
5
|
-
* Maps foundation tokens (spacing, typography, radius, shadows) to checkbox-specific usage.
|
|
6
|
-
* All color values use CSS variables for theme-aware styling.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Checkbox Component Tokens
|
|
10
|
-
*
|
|
11
|
-
* Defines spacing, sizing, typography, and visual tokens for Checkbox component.
|
|
12
|
-
* All colors use CSS variable references (hsl(var(--token))) for theme-aware styling.
|
|
13
|
-
* Checkbox sizes are typically smaller than input fields.
|
|
14
|
-
*/
|
|
15
|
-
export declare const CHECKBOX_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Checkbox sizes by size variant
|
|
18
|
-
* Supports xs, sm, md, lg, xl sizes
|
|
19
|
-
* Checkboxes are typically square 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-sm";
|
|
26
|
-
readonly iconSize: "size-2.5";
|
|
27
|
-
};
|
|
28
|
-
readonly sm: {
|
|
29
|
-
readonly width: "w-4";
|
|
30
|
-
readonly height: "h-4";
|
|
31
|
-
readonly radius: "rounded-sm";
|
|
32
|
-
readonly iconSize: "size-3";
|
|
33
|
-
};
|
|
34
|
-
readonly md: {
|
|
35
|
-
readonly width: "w-4.5";
|
|
36
|
-
readonly height: "h-4.5";
|
|
37
|
-
readonly radius: "rounded-md";
|
|
38
|
-
readonly iconSize: "size-3.5";
|
|
39
|
-
};
|
|
40
|
-
readonly lg: {
|
|
41
|
-
readonly width: "w-5";
|
|
42
|
-
readonly height: "h-5";
|
|
43
|
-
readonly radius: "rounded-md";
|
|
44
|
-
readonly iconSize: "size-4";
|
|
45
|
-
};
|
|
46
|
-
readonly xl: {
|
|
47
|
-
readonly width: "w-6";
|
|
48
|
-
readonly height: "h-6";
|
|
49
|
-
readonly radius: "rounded-md";
|
|
50
|
-
readonly iconSize: "size-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 indeterminate: "border-[hsl(var(--tm-primary))]";
|
|
100
|
-
readonly error: "border-[hsl(var(--destructive))]";
|
|
101
|
-
readonly disabled: "border-[hsl(var(--input))]";
|
|
102
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
103
|
-
};
|
|
104
|
-
readonly background: {
|
|
105
|
-
readonly default: "bg-transparent";
|
|
106
|
-
readonly checked: "bg-[hsl(var(--tm-primary))]";
|
|
107
|
-
readonly indeterminate: "bg-[hsl(var(--tm-primary))]";
|
|
108
|
-
readonly disabled: "bg-transparent";
|
|
109
|
-
readonly disabledChecked: "bg-[hsl(var(--muted))]";
|
|
110
|
-
};
|
|
111
|
-
readonly text: {
|
|
112
|
-
readonly default: "text-[hsl(var(--foreground))]";
|
|
113
|
-
readonly checked: "text-[hsl(var(--tm-primary-foreground))]";
|
|
114
|
-
readonly indeterminate: "text-[hsl(var(--tm-primary-foreground))]";
|
|
115
|
-
readonly disabled: "disabled:opacity-50";
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* Icon tokens
|
|
120
|
-
* Size and styling for checkmark icon within checkbox
|
|
121
|
-
*/
|
|
122
|
-
readonly icon: {
|
|
123
|
-
readonly size: {
|
|
124
|
-
readonly xs: "size-2.5";
|
|
125
|
-
readonly sm: "size-3";
|
|
126
|
-
readonly md: "size-3.5";
|
|
127
|
-
readonly lg: "size-4";
|
|
128
|
-
readonly xl: "size-5";
|
|
129
|
-
};
|
|
130
|
-
readonly stroke: "stroke-2";
|
|
131
|
-
readonly color: {
|
|
132
|
-
readonly default: "text-[hsl(var(--tm-primary-foreground))]";
|
|
133
|
-
readonly disabled: "text-[hsl(var(--muted-foreground))]";
|
|
134
|
-
};
|
|
135
|
-
};
|
|
136
|
-
/**
|
|
137
|
-
* Indeterminate indicator tokens
|
|
138
|
-
* Styling for indeterminate state (horizontal line)
|
|
139
|
-
*/
|
|
140
|
-
readonly indeterminate: {
|
|
141
|
-
readonly width: "w-2";
|
|
142
|
-
readonly height: "h-0.5";
|
|
143
|
-
readonly color: "bg-[hsl(var(--tm-primary-foreground))]";
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* Shadow token
|
|
147
|
-
* Maps to foundation elevation shadow tokens
|
|
148
|
-
*/
|
|
149
|
-
readonly shadow: "shadow-sm";
|
|
150
|
-
/**
|
|
151
|
-
* Transition tokens
|
|
152
|
-
* Smooth transitions for state changes
|
|
153
|
-
*/
|
|
154
|
-
readonly transition: "transition-all duration-200 ease-in-out";
|
|
155
|
-
};
|
|
156
|
-
/**
|
|
157
|
-
* Type exports for Checkbox tokens
|
|
158
|
-
*/
|
|
159
|
-
export type CheckboxSize = keyof typeof CHECKBOX_TOKENS.size;
|
|
160
|
-
export type CheckboxVariant = keyof typeof CHECKBOX_TOKENS.variant;
|
|
161
|
-
export type CheckboxState = keyof typeof CHECKBOX_TOKENS.state.border;
|
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Data Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for data display components (Table, DataList, Skeleton, EmptyState).
|
|
5
|
-
* Maps foundation tokens (spacing, typography, radius, shadows) to data component-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* All values reference foundation tokens to ensure consistency across the design system.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Data Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines all spacing, sizing, typography, and visual tokens for data display components.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use in component variants.
|
|
14
|
-
*/
|
|
15
|
-
export declare const DATA_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Table Component Tokens
|
|
18
|
-
*/
|
|
19
|
-
readonly table: {
|
|
20
|
-
/**
|
|
21
|
-
* Table row heights by size
|
|
22
|
-
* Maps to Tailwind height utilities
|
|
23
|
-
*/
|
|
24
|
-
readonly rowHeight: {
|
|
25
|
-
readonly sm: "h-8";
|
|
26
|
-
readonly md: "h-10";
|
|
27
|
-
readonly lg: "h-12";
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Table cell and header padding by size
|
|
31
|
-
* Maps to semantic spacing tokens
|
|
32
|
-
*/
|
|
33
|
-
readonly padding: {
|
|
34
|
-
readonly cell: {
|
|
35
|
-
readonly sm: "p-xs";
|
|
36
|
-
readonly md: "p-sm";
|
|
37
|
-
readonly lg: "p-md";
|
|
38
|
-
};
|
|
39
|
-
readonly header: {
|
|
40
|
-
readonly sm: "px-xs py-sm";
|
|
41
|
-
readonly md: "px-sm py-md";
|
|
42
|
-
readonly lg: "px-md py-lg";
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* Gap between table cells (horizontal spacing)
|
|
47
|
-
*/
|
|
48
|
-
readonly gap: {
|
|
49
|
-
readonly sm: "gap-xs";
|
|
50
|
-
readonly md: "gap-sm";
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* Border radius for table
|
|
54
|
-
*/
|
|
55
|
-
readonly radius: {
|
|
56
|
-
readonly default: "rounded-md";
|
|
57
|
-
};
|
|
58
|
-
/**
|
|
59
|
-
* Shadow tokens for table
|
|
60
|
-
* Maps to foundation elevation shadow tokens
|
|
61
|
-
*/
|
|
62
|
-
readonly shadow: {
|
|
63
|
-
readonly none: "shadow-none";
|
|
64
|
-
readonly subtle: "shadow-sm";
|
|
65
|
-
};
|
|
66
|
-
/**
|
|
67
|
-
* Typography tokens for table headers and cells
|
|
68
|
-
* Maps to foundation typography fontSize tokens
|
|
69
|
-
*/
|
|
70
|
-
readonly typography: {
|
|
71
|
-
readonly header: {
|
|
72
|
-
readonly fontSize: "text-sm";
|
|
73
|
-
readonly fontWeight: "font-semibold";
|
|
74
|
-
};
|
|
75
|
-
readonly cell: {
|
|
76
|
-
readonly fontSize: "text-sm";
|
|
77
|
-
readonly fontWeight: "font-normal";
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
/**
|
|
81
|
-
* Color tokens for table states
|
|
82
|
-
* Uses semantic color tokens
|
|
83
|
-
*/
|
|
84
|
-
readonly colors: {
|
|
85
|
-
readonly border: "border-border";
|
|
86
|
-
readonly rowHover: "hover:bg-muted/50";
|
|
87
|
-
readonly rowSelected: "bg-muted";
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
/**
|
|
91
|
-
* Skeleton Component Tokens
|
|
92
|
-
*/
|
|
93
|
-
readonly skeleton: {
|
|
94
|
-
/**
|
|
95
|
-
* Skeleton heights by variant
|
|
96
|
-
* Maps to Tailwind height utilities
|
|
97
|
-
*/
|
|
98
|
-
readonly height: {
|
|
99
|
-
readonly text: "h-4";
|
|
100
|
-
readonly circle: "h-10 w-10";
|
|
101
|
-
readonly block: "h-20";
|
|
102
|
-
readonly card: "h-32";
|
|
103
|
-
readonly inline: "h-4";
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* Border radius by variant
|
|
107
|
-
* Maps to foundation borderRadius tokens
|
|
108
|
-
*/
|
|
109
|
-
readonly radius: {
|
|
110
|
-
readonly text: "rounded-sm";
|
|
111
|
-
readonly circle: "rounded-full";
|
|
112
|
-
readonly block: "rounded-md";
|
|
113
|
-
readonly card: "rounded-xl";
|
|
114
|
-
readonly inline: "rounded-sm";
|
|
115
|
-
};
|
|
116
|
-
/**
|
|
117
|
-
* Animation tokens
|
|
118
|
-
* Uses motion tokens for animations
|
|
119
|
-
*/
|
|
120
|
-
readonly animation: {
|
|
121
|
-
readonly pulse: "animate-pulse";
|
|
122
|
-
readonly fade: "animate-pulse";
|
|
123
|
-
};
|
|
124
|
-
/**
|
|
125
|
-
* Background color tokens
|
|
126
|
-
* Uses semantic color tokens
|
|
127
|
-
*/
|
|
128
|
-
readonly background: {
|
|
129
|
-
readonly default: "bg-muted";
|
|
130
|
-
readonly subtle: "bg-muted/50";
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* Width tokens for skeleton variants
|
|
134
|
-
*/
|
|
135
|
-
readonly width: {
|
|
136
|
-
readonly full: "w-full";
|
|
137
|
-
readonly inline: "inline-block";
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
/**
|
|
141
|
-
* EmptyState Component Tokens
|
|
142
|
-
*/
|
|
143
|
-
readonly emptyState: {
|
|
144
|
-
/**
|
|
145
|
-
* Spacing tokens for EmptyState
|
|
146
|
-
* Maps to semantic spacing tokens
|
|
147
|
-
*/
|
|
148
|
-
readonly spacing: {
|
|
149
|
-
readonly gap: "gap-md";
|
|
150
|
-
readonly padding: "p-lg";
|
|
151
|
-
};
|
|
152
|
-
/**
|
|
153
|
-
* Border radius for EmptyState container
|
|
154
|
-
*/
|
|
155
|
-
readonly radius: {
|
|
156
|
-
readonly default: "rounded-xl";
|
|
157
|
-
};
|
|
158
|
-
/**
|
|
159
|
-
* Icon sizes by variant
|
|
160
|
-
* Maps to Tailwind size utilities
|
|
161
|
-
*/
|
|
162
|
-
readonly iconSize: {
|
|
163
|
-
readonly sm: "size-8";
|
|
164
|
-
readonly md: "size-12";
|
|
165
|
-
readonly lg: "size-16";
|
|
166
|
-
};
|
|
167
|
-
/**
|
|
168
|
-
* Typography tokens for EmptyState
|
|
169
|
-
* Maps to foundation typography tokens
|
|
170
|
-
*/
|
|
171
|
-
readonly typography: {
|
|
172
|
-
readonly title: {
|
|
173
|
-
readonly fontSize: "text-lg";
|
|
174
|
-
readonly fontWeight: "font-semibold";
|
|
175
|
-
};
|
|
176
|
-
readonly description: {
|
|
177
|
-
readonly fontSize: "text-sm";
|
|
178
|
-
readonly fontWeight: "font-normal";
|
|
179
|
-
};
|
|
180
|
-
};
|
|
181
|
-
};
|
|
182
|
-
/**
|
|
183
|
-
* DataList Component Tokens
|
|
184
|
-
*/
|
|
185
|
-
readonly dataList: {
|
|
186
|
-
/**
|
|
187
|
-
* Spacing tokens for DataList
|
|
188
|
-
* Maps to semantic spacing tokens
|
|
189
|
-
*/
|
|
190
|
-
readonly spacing: {
|
|
191
|
-
readonly gap: "gap-md";
|
|
192
|
-
readonly padding: "p-md";
|
|
193
|
-
};
|
|
194
|
-
/**
|
|
195
|
-
* Label width tokens (for desktop horizontal layout)
|
|
196
|
-
* Maps to Tailwind width utilities
|
|
197
|
-
*/
|
|
198
|
-
readonly labelWidth: {
|
|
199
|
-
readonly sm: "w-24";
|
|
200
|
-
readonly md: "w-32";
|
|
201
|
-
readonly lg: "w-40";
|
|
202
|
-
};
|
|
203
|
-
/**
|
|
204
|
-
* Row padding tokens
|
|
205
|
-
* Maps to semantic spacing tokens
|
|
206
|
-
*/
|
|
207
|
-
readonly rowPadding: {
|
|
208
|
-
readonly sm: "py-xs";
|
|
209
|
-
readonly md: "py-sm";
|
|
210
|
-
readonly lg: "py-md";
|
|
211
|
-
};
|
|
212
|
-
};
|
|
213
|
-
};
|
|
214
|
-
/**
|
|
215
|
-
* Type exports for Data tokens
|
|
216
|
-
*/
|
|
217
|
-
export type TableRowHeight = keyof typeof DATA_TOKENS.table.rowHeight;
|
|
218
|
-
export type TableCellPadding = keyof typeof DATA_TOKENS.table.padding.cell;
|
|
219
|
-
export type TableHeaderPadding = keyof typeof DATA_TOKENS.table.padding.header;
|
|
220
|
-
export type TableGap = keyof typeof DATA_TOKENS.table.gap;
|
|
221
|
-
export type TableShadow = keyof typeof DATA_TOKENS.table.shadow;
|
|
222
|
-
export type SkeletonVariant = keyof typeof DATA_TOKENS.skeleton.height;
|
|
223
|
-
export type SkeletonAnimation = keyof typeof DATA_TOKENS.skeleton.animation;
|
|
224
|
-
export type SkeletonBackground = keyof typeof DATA_TOKENS.skeleton.background;
|
|
225
|
-
export type EmptyStateIconSize = keyof typeof DATA_TOKENS.emptyState.iconSize;
|
|
226
|
-
export type DataListLabelWidth = keyof typeof DATA_TOKENS.dataList.labelWidth;
|
|
227
|
-
export type DataListRowPadding = keyof typeof DATA_TOKENS.dataList.rowPadding;
|