@tenerife.music/ui 1.0.8 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -8
- package/dist/{tokens/colors.d.ts → colors-CVA7_16U.d.cts} +21 -19
- package/dist/colors-CVA7_16U.d.ts +289 -0
- package/dist/index-BgXvioll.d.cts +6845 -0
- package/dist/index-Bv4wWj9I.d.ts +6845 -0
- package/dist/index.cjs +16385 -2
- package/dist/index.d.cts +4020 -0
- package/dist/index.d.ts +4020 -39
- package/dist/index.mjs +14502 -6425
- package/dist/preset.cjs +1264 -2
- package/dist/preset.d.cts +21 -0
- package/dist/preset.d.ts +3 -1
- package/dist/preset.mjs +1165 -95
- package/dist/styles.cjs +2 -2
- package/dist/styles.css +87 -1
- package/dist/styles.d.cts +2 -0
- package/dist/styles.d.ts +2 -0
- package/dist/styles.mjs +1 -1
- package/dist/theme/index.cjs +2634 -2
- package/dist/theme/index.d.cts +453 -0
- package/dist/theme/index.d.ts +453 -8
- package/dist/theme/index.mjs +1601 -576
- package/dist/tokens/index.cjs +6203 -5
- package/dist/tokens/index.d.cts +2 -0
- package/dist/tokens/index.d.ts +2 -9
- package/dist/tokens/index.mjs +2601 -155
- package/package.json +10 -9
- package/dist/animation/index.d.ts +0 -8
- package/dist/animation/presets.d.ts +0 -301
- package/dist/animation/tas.d.ts +0 -24
- package/dist/animation/types.d.ts +0 -67
- package/dist/animation/useInView.d.ts +0 -36
- package/dist/animation/utils.d.ts +0 -6
- package/dist/brand-C5R2semX.js +0 -45
- package/dist/brand-DQb18Frh.cjs +0 -2
- package/dist/components/SectionBuilder.d.ts +0 -36
- package/dist/components/SectionBuilder.presets.d.ts +0 -228
- package/dist/components/SectionBuilder.types.d.ts +0 -326
- package/dist/components/admin/Dashboard.d.ts +0 -8
- package/dist/components/admin/UserManagement.d.ts +0 -8
- package/dist/components/auth/LoginForm.d.ts +0 -11
- package/dist/components/auth/ProfileCard.d.ts +0 -9
- package/dist/components/auth/RegisterForm.d.ts +0 -13
- package/dist/components/cards/ArtistCard/ArtistCard.d.ts +0 -22
- package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts +0 -46
- package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts +0 -83
- package/dist/components/cards/ArtistCard/index.d.ts +0 -8
- package/dist/components/cards/CardBase/CardBase.d.ts +0 -45
- package/dist/components/cards/CardBase/CardBase.types.d.ts +0 -70
- package/dist/components/cards/CardBase/CardBase.variants.d.ts +0 -38
- package/dist/components/cards/CardBase/index.d.ts +0 -8
- package/dist/components/cards/CategoryCard/CategoryCard.d.ts +0 -18
- package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts +0 -38
- package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts +0 -21
- package/dist/components/cards/CategoryCard/index.d.ts +0 -7
- package/dist/components/cards/EventCard/EventCard.d.ts +0 -19
- package/dist/components/cards/EventCard/EventCard.types.d.ts +0 -47
- package/dist/components/cards/EventCard/EventCard.variants.d.ts +0 -70
- package/dist/components/cards/EventCard/index.d.ts +0 -7
- package/dist/components/cards/PromoCard/PromoCard.d.ts +0 -20
- package/dist/components/cards/PromoCard/PromoCard.types.d.ts +0 -42
- package/dist/components/cards/PromoCard/PromoCard.variants.d.ts +0 -35
- package/dist/components/cards/PromoCard/index.d.ts +0 -7
- package/dist/components/cards/TicketCard/TicketCard.d.ts +0 -19
- package/dist/components/cards/TicketCard/TicketCard.types.d.ts +0 -55
- package/dist/components/cards/TicketCard/TicketCard.variants.d.ts +0 -71
- package/dist/components/cards/TicketCard/index.d.ts +0 -7
- package/dist/components/cards/VenueCard/VenueCard.d.ts +0 -21
- package/dist/components/cards/VenueCard/VenueCard.types.d.ts +0 -46
- package/dist/components/cards/VenueCard/VenueCard.variants.d.ts +0 -60
- package/dist/components/cards/VenueCard/index.d.ts +0 -8
- package/dist/components/cards/index.d.ts +0 -19
- package/dist/components/checkbox/Checkbox.d.ts +0 -22
- package/dist/components/checkbox/Checkbox.types.d.ts +0 -68
- package/dist/components/checkbox/checkbox-variants.d.ts +0 -13
- package/dist/components/checkbox/index.d.ts +0 -3
- package/dist/components/containers/Card.d.ts +0 -75
- package/dist/components/containers/Section.d.ts +0 -31
- package/dist/components/containers/Surface.d.ts +0 -28
- package/dist/components/containers/index.d.ts +0 -9
- package/dist/components/controls/LanguageSelector.d.ts +0 -17
- package/dist/components/data/List.d.ts +0 -12
- package/dist/components/data/Table.d.ts +0 -14
- package/dist/components/data/Timeline.d.ts +0 -13
- package/dist/components/data/data-list/DataList.d.ts +0 -29
- package/dist/components/data/data-list/DataList.types.d.ts +0 -43
- package/dist/components/data/data-list/DataListItem.d.ts +0 -20
- package/dist/components/data/data-list/DataListLabel.d.ts +0 -19
- package/dist/components/data/data-list/DataListValue.d.ts +0 -18
- package/dist/components/data/data-list/index.d.ts +0 -10
- package/dist/components/data/empty-state/EmptyState.d.ts +0 -31
- package/dist/components/data/empty-state/EmptyState.types.d.ts +0 -51
- package/dist/components/data/empty-state/EmptyStateAction.d.ts +0 -17
- package/dist/components/data/empty-state/EmptyStateDescription.d.ts +0 -17
- package/dist/components/data/empty-state/EmptyStateIcon.d.ts +0 -22
- package/dist/components/data/empty-state/EmptyStateTitle.d.ts +0 -17
- package/dist/components/data/empty-state/index.d.ts +0 -10
- package/dist/components/data/index.d.ts +0 -9
- package/dist/components/data/skeleton/Skeleton.d.ts +0 -24
- package/dist/components/data/skeleton/Skeleton.types.d.ts +0 -12
- package/dist/components/data/skeleton/index.d.ts +0 -6
- package/dist/components/data/table/Table.d.ts +0 -33
- package/dist/components/data/table/Table.types.d.ts +0 -264
- package/dist/components/data/table/TableBody.d.ts +0 -13
- package/dist/components/data/table/TableCell.d.ts +0 -13
- package/dist/components/data/table/TableEmpty.d.ts +0 -13
- package/dist/components/data/table/TableExpandableContent.d.ts +0 -14
- package/dist/components/data/table/TableHead.d.ts +0 -13
- package/dist/components/data/table/TableHeader.d.ts +0 -13
- package/dist/components/data/table/TableLoadingState.d.ts +0 -13
- package/dist/components/data/table/TableRow.d.ts +0 -13
- package/dist/components/data/table/TableSortIcon.d.ts +0 -14
- package/dist/components/data/table/index.d.ts +0 -17
- package/dist/components/drawer/Drawer.d.ts +0 -41
- package/dist/components/drawer/Drawer.types.d.ts +0 -75
- package/dist/components/drawer/drawer-variants.d.ts +0 -17
- package/dist/components/drawer/index.d.ts +0 -8
- package/dist/components/dropdown/Dropdown.d.ts +0 -38
- package/dist/components/dropdown/Dropdown.types.d.ts +0 -82
- package/dist/components/dropdown/dropdown-variants.d.ts +0 -33
- package/dist/components/feedback/ConsentBanner.d.ts +0 -8
- package/dist/components/feedback/Progress.d.ts +0 -8
- package/dist/components/feedback/Skeleton.d.ts +0 -6
- package/dist/components/filters/DateRangePicker.d.ts +0 -21
- package/dist/components/filters/FilterBar.d.ts +0 -55
- package/dist/components/filters/FilterSelect.d.ts +0 -23
- package/dist/components/filters/PriceRangeSlider.d.ts +0 -27
- package/dist/components/filters/SearchFilters.d.ts +0 -32
- package/dist/components/filters/SearchInput.d.ts +0 -16
- package/dist/components/filters/types.d.ts +0 -48
- package/dist/components/icon/Icon.d.ts +0 -32
- package/dist/components/icon/Icon.types.d.ts +0 -7
- package/dist/components/icon/index.d.ts +0 -4
- package/dist/components/icons/TrendingIcon.d.ts +0 -6
- package/dist/components/image/Image.d.ts +0 -48
- package/dist/components/input/Input.d.ts +0 -20
- package/dist/components/input/Input.types.d.ts +0 -38
- package/dist/components/input/index.d.ts +0 -3
- package/dist/components/input/input-variants.d.ts +0 -14
- package/dist/components/input/legacy/input.d.ts +0 -11
- package/dist/components/layout/Box.d.ts +0 -111
- package/dist/components/layout/Column.d.ts +0 -6
- package/dist/components/layout/Container.d.ts +0 -31
- package/dist/components/layout/Flex.d.ts +0 -50
- package/dist/components/layout/Footer.d.ts +0 -9
- package/dist/components/layout/Grid.d.ts +0 -60
- package/dist/components/layout/ModeHero.d.ts +0 -10
- package/dist/components/layout/Navbar.d.ts +0 -9
- package/dist/components/layout/Row.d.ts +0 -28
- package/dist/components/layout/Section.d.ts +0 -10
- package/dist/components/layout/Stack.d.ts +0 -38
- package/dist/components/layout/Surface.d.ts +0 -21
- package/dist/components/layout/index.d.ts +0 -22
- package/dist/components/layout/layout.types.d.ts +0 -107
- package/dist/components/menus/DropdownMenu.d.ts +0 -27
- package/dist/components/menus/NavigationMenu.d.ts +0 -12
- package/dist/components/menus/Tabs.d.ts +0 -7
- package/dist/components/menus/context-menu/ContextMenuContent.d.ts +0 -22
- package/dist/components/menus/context-menu/ContextMenuGroup.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuItem.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuLabel.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuRoot.d.ts +0 -47
- package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts +0 -16
- package/dist/components/menus/context-menu/index.d.ts +0 -12
- package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts +0 -18
- package/dist/components/menus/dropdown/DropdownMenuContent.d.ts +0 -15
- package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts +0 -12
- package/dist/components/menus/dropdown/DropdownMenuItem.d.ts +0 -30
- package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts +0 -17
- package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts +0 -24
- package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts +0 -18
- package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts +0 -33
- package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuSub.d.ts +0 -10
- package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts +0 -14
- package/dist/components/menus/dropdown/index.d.ts +0 -18
- package/dist/components/menus/hover-card/HoverCardContent.d.ts +0 -14
- package/dist/components/menus/hover-card/HoverCardRoot.d.ts +0 -20
- package/dist/components/menus/hover-card/HoverCardTrigger.d.ts +0 -13
- package/dist/components/menus/hover-card/index.d.ts +0 -8
- package/dist/components/menus/index.d.ts +0 -9
- package/dist/components/menus/popover/PopoverArrow.d.ts +0 -17
- package/dist/components/menus/popover/PopoverContent.d.ts +0 -24
- package/dist/components/menus/popover/PopoverRoot.d.ts +0 -43
- package/dist/components/menus/popover/PopoverTrigger.d.ts +0 -17
- package/dist/components/menus/popover/index.d.ts +0 -9
- package/dist/components/modal/Modal.d.ts +0 -70
- package/dist/components/modal/modal-variants.d.ts +0 -26
- package/dist/components/modals/ConfirmDialog.d.ts +0 -27
- package/dist/components/modals/CustomDialog.d.ts +0 -10
- package/dist/components/modals/Modal.d.ts +0 -19
- package/dist/components/modals/ModalProvider.d.ts +0 -16
- package/dist/components/modals/SimpleModal.d.ts +0 -11
- package/dist/components/navigation/Breadcrumbs.d.ts +0 -12
- package/dist/components/navigation/Pagination.d.ts +0 -10
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +0 -52
- package/dist/components/navigation/breadcrumbs/index.d.ts +0 -5
- package/dist/components/navigation/index.d.ts +0 -10
- package/dist/components/navigation/pagination/Pagination.d.ts +0 -60
- package/dist/components/navigation/pagination/index.d.ts +0 -5
- package/dist/components/navigation/segmented-control/SegmentedControl.d.ts +0 -43
- package/dist/components/navigation/segmented-control/index.d.ts +0 -5
- package/dist/components/navigation/stepper/Stepper.d.ts +0 -129
- package/dist/components/navigation/stepper/index.d.ts +0 -5
- package/dist/components/navigation/tabs/Tabs.d.ts +0 -73
- package/dist/components/navigation/tabs/index.d.ts +0 -5
- package/dist/components/notifications/NotificationCenter.DismissAll.d.ts +0 -21
- package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts +0 -23
- package/dist/components/notifications/NotificationCenter.Item.d.ts +0 -24
- package/dist/components/notifications/NotificationCenter.List.d.ts +0 -22
- package/dist/components/notifications/NotificationCenter.Panel.d.ts +0 -32
- package/dist/components/notifications/NotificationCenter.Provider.d.ts +0 -31
- package/dist/components/notifications/NotificationCenter.Trigger.d.ts +0 -15
- package/dist/components/notifications/NotificationCenter.d.ts +0 -27
- package/dist/components/notifications/NotificationCenter.types.d.ts +0 -89
- package/dist/components/notifications/index.d.ts +0 -23
- package/dist/components/notifications/useNotificationCenter.d.ts +0 -47
- package/dist/components/overlays/Backdrop.d.ts +0 -24
- package/dist/components/overlays/Dialog.d.ts +0 -66
- package/dist/components/overlays/Modal.d.ts +0 -60
- package/dist/components/overlays/OverlayPortal.d.ts +0 -22
- package/dist/components/overlays/Popover.d.ts +0 -30
- package/dist/components/overlays/Portal.d.ts +0 -29
- package/dist/components/overlays/Toast.d.ts +0 -36
- package/dist/components/overlays/ToastProvider.d.ts +0 -58
- package/dist/components/overlays/ToastViewport.d.ts +0 -27
- package/dist/components/overlays/Tooltip.d.ts +0 -28
- package/dist/components/overlays/index.d.ts +0 -13
- package/dist/components/overlays/utils/FocusLock.d.ts +0 -30
- package/dist/components/overlays/utils/ScrollLock.d.ts +0 -11
- package/dist/components/overlays/utils/positioning.d.ts +0 -68
- package/dist/components/primitives/Badge.d.ts +0 -9
- package/dist/components/primitives/Button.d.ts +0 -1
- package/dist/components/primitives/Card.d.ts +0 -1
- package/dist/components/primitives/Divider.d.ts +0 -7
- package/dist/components/primitives/Input.d.ts +0 -4
- package/dist/components/primitives/Label.d.ts +0 -1
- package/dist/components/primitives/Link.d.ts +0 -13
- package/dist/components/primitives/ThemeSwitch.d.ts +0 -9
- package/dist/components/radio/Radio.d.ts +0 -23
- package/dist/components/radio/Radio.types.d.ts +0 -63
- package/dist/components/radio/RadioGroup.d.ts +0 -20
- package/dist/components/radio/RadioGroup.types.d.ts +0 -61
- package/dist/components/radio/index.d.ts +0 -5
- package/dist/components/radio/radio-variants.d.ts +0 -13
- package/dist/components/search/SearchBar.d.ts +0 -10
- package/dist/components/sections/ArticlesSection.d.ts +0 -25
- package/dist/components/sections/CTASection.d.ts +0 -37
- package/dist/components/sections/FeatureSection.d.ts +0 -33
- package/dist/components/sections/HeroSection.d.ts +0 -27
- package/dist/components/sections/TrendingSection.d.ts +0 -28
- package/dist/components/select/Select.d.ts +0 -38
- package/dist/components/select/Select.types.d.ts +0 -107
- package/dist/components/select/index.d.ts +0 -5
- package/dist/components/select/legacy/select.d.ts +0 -11
- package/dist/components/select/select-variants.d.ts +0 -32
- package/dist/components/skeletons/EventCardSkeleton.d.ts +0 -6
- package/dist/components/skeletons/VenueCardSkeleton.d.ts +0 -6
- package/dist/components/switch/Switch.d.ts +0 -24
- package/dist/components/switch/Switch.types.d.ts +0 -53
- package/dist/components/switch/index.d.ts +0 -3
- package/dist/components/switch/switch-variants.d.ts +0 -34
- package/dist/components/textarea/Textarea.d.ts +0 -21
- package/dist/components/textarea/Textarea.types.d.ts +0 -40
- package/dist/components/textarea/index.d.ts +0 -3
- package/dist/components/textarea/legacy/textarea.d.ts +0 -11
- package/dist/components/textarea/textarea-variants.d.ts +0 -14
- package/dist/components/toasts/Toast.d.ts +0 -12
- package/dist/components/toasts/ToastProvider.d.ts +0 -26
- package/dist/components/ui/alert.d.ts +0 -9
- package/dist/components/ui/body.d.ts +0 -12
- package/dist/components/ui/button.d.ts +0 -13
- package/dist/components/ui/caption.d.ts +0 -11
- package/dist/components/ui/card.d.ts +0 -8
- package/dist/components/ui/code.d.ts +0 -11
- package/dist/components/ui/dialog.d.ts +0 -19
- package/dist/components/ui/display.d.ts +0 -12
- package/dist/components/ui/field.d.ts +0 -45
- package/dist/components/ui/heading.d.ts +0 -12
- package/dist/components/ui/label.d.ts +0 -12
- package/dist/components/ui/lead.d.ts +0 -11
- package/dist/components/ui/text.d.ts +0 -18
- package/dist/components/ui/toast.d.ts +0 -15
- package/dist/components/ui/toaster.d.ts +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -7
- package/dist/dark-Cvoy1uFT.js +0 -30
- package/dist/dark-OOhiqt1q.cjs +0 -2
- package/dist/default-BKgH1D9-.js +0 -8
- package/dist/default-Ddg7Haf2.cjs +0 -2
- package/dist/hooks/use-toast.d.ts +0 -44
- package/dist/hooks/useDebounce.d.ts +0 -19
- package/dist/hooks/useModal.d.ts +0 -19
- package/dist/hooks/useToast.d.ts +0 -26
- package/dist/icons/IconArrowRight.d.ts +0 -6
- package/dist/icons/IconCalendar.d.ts +0 -6
- package/dist/icons/IconCheck.d.ts +0 -6
- package/dist/icons/IconChevronDown.d.ts +0 -6
- package/dist/icons/IconChevronRight.d.ts +0 -6
- package/dist/icons/IconClose.d.ts +0 -6
- package/dist/icons/IconError.d.ts +0 -6
- package/dist/icons/IconInfo.d.ts +0 -6
- package/dist/icons/IconLocation.d.ts +0 -6
- package/dist/icons/IconMenu.d.ts +0 -6
- package/dist/icons/IconSearch.d.ts +0 -6
- package/dist/icons/IconSuccess.d.ts +0 -6
- package/dist/icons/IconWarning.d.ts +0 -6
- package/dist/icons/icon.types.d.ts +0 -25
- package/dist/icons/index.d.ts +0 -34
- package/dist/lib/a11y.d.ts +0 -15
- package/dist/lib/responsive-props.d.ts +0 -63
- package/dist/lib/utils.d.ts +0 -8
- package/dist/motion-CzQhSEqk.js +0 -738
- package/dist/motion-DJx1TbXJ.cjs +0 -2
- package/dist/theme/ThemeProvider.d.ts +0 -55
- package/dist/theme/applyMode.d.ts +0 -42
- package/dist/theme/colors.d.ts +0 -6
- package/dist/theme/loader.d.ts +0 -63
- package/dist/theme/motion/gestures.d.ts +0 -76
- package/dist/theme/motion/useReducedMotion.d.ts +0 -11
- package/dist/theme/motion.d.ts +0 -127
- package/dist/theme/registry.d.ts +0 -70
- package/dist/theme/schema.d.ts +0 -124
- package/dist/theme/spacing.d.ts +0 -34
- package/dist/theme/typography.d.ts +0 -45
- package/dist/themes/brand.d.ts +0 -6
- package/dist/themes/brand_engine.d.ts +0 -108
- package/dist/themes/dark.d.ts +0 -6
- package/dist/themes/default.d.ts +0 -6
- package/dist/themes/index.d.ts +0 -24
- package/dist/themes/minimal.d.ts +0 -6
- package/dist/themes/neon.d.ts +0 -6
- package/dist/themes/types.d.ts +0 -278
- package/dist/tokens/components/alert.d.ts +0 -74
- package/dist/tokens/components/button.d.ts +0 -130
- package/dist/tokens/components/card.d.ts +0 -91
- package/dist/tokens/components/checkbox.d.ts +0 -161
- package/dist/tokens/components/data.d.ts +0 -227
- package/dist/tokens/components/domain.d.ts +0 -379
- package/dist/tokens/components/dropdown.d.ts +0 -146
- package/dist/tokens/components/icon.d.ts +0 -57
- package/dist/tokens/components/index.d.ts +0 -31
- package/dist/tokens/components/input.d.ts +0 -284
- package/dist/tokens/components/menu.d.ts +0 -114
- package/dist/tokens/components/motion.d.ts +0 -103
- package/dist/tokens/components/navigation.d.ts +0 -181
- package/dist/tokens/components/notifications.d.ts +0 -159
- package/dist/tokens/components/overlay.d.ts +0 -227
- package/dist/tokens/components/popover.d.ts +0 -84
- package/dist/tokens/components/radio.d.ts +0 -149
- package/dist/tokens/components/section.d.ts +0 -41
- package/dist/tokens/components/surface.d.ts +0 -94
- package/dist/tokens/components/switch.d.ts +0 -208
- package/dist/tokens/components/text.d.ts +0 -68
- package/dist/tokens/components/toast.d.ts +0 -146
- package/dist/tokens/components/tooltip.d.ts +0 -52
- package/dist/tokens/css-variables.d.ts +0 -251
- package/dist/tokens/motion/v2.d.ts +0 -342
- package/dist/tokens/motion.d.ts +0 -485
- package/dist/tokens/opacity.d.ts +0 -22
- package/dist/tokens/radius.d.ts +0 -161
- package/dist/tokens/shadows.d.ts +0 -230
- package/dist/tokens/spacing.d.ts +0 -238
- package/dist/tokens/theme.d.ts +0 -119
- package/dist/tokens/typography.d.ts +0 -460
- package/dist/typography-C-Nb4y0o.cjs +0 -2
- package/dist/typography-DHym9KAP.js +0 -1196
|
@@ -1,284 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Input Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Input component.
|
|
5
|
-
* Maps foundation tokens (spacing, typography, radius, shadows) to input-specific usage.
|
|
6
|
-
* All color values use CSS variables for theme-aware styling.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Input Component Tokens
|
|
10
|
-
*
|
|
11
|
-
* Defines spacing, sizing, typography, and visual tokens for Input component.
|
|
12
|
-
* All colors use CSS variable references (hsl(var(--token))) for theme-aware styling.
|
|
13
|
-
*/
|
|
14
|
-
export declare const INPUT_TOKENS: {
|
|
15
|
-
/**
|
|
16
|
-
* Input heights by size
|
|
17
|
-
* Supports xs, sm, md, lg, xl sizes
|
|
18
|
-
*/
|
|
19
|
-
readonly height: {
|
|
20
|
-
readonly xs: "h-7";
|
|
21
|
-
readonly sm: "h-8";
|
|
22
|
-
readonly md: "h-9";
|
|
23
|
-
readonly lg: "h-10";
|
|
24
|
-
readonly xl: "h-11";
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Input padding by size
|
|
28
|
-
* Horizontal and vertical padding values
|
|
29
|
-
*/
|
|
30
|
-
readonly padding: {
|
|
31
|
-
readonly horizontal: {
|
|
32
|
-
readonly xs: "px-xs";
|
|
33
|
-
readonly sm: "px-sm";
|
|
34
|
-
readonly md: "px-sm";
|
|
35
|
-
readonly lg: "px-md";
|
|
36
|
-
readonly xl: "px-lg";
|
|
37
|
-
};
|
|
38
|
-
readonly vertical: {
|
|
39
|
-
readonly xs: "py-xs";
|
|
40
|
-
readonly sm: "py-xs";
|
|
41
|
-
readonly md: "py-xs";
|
|
42
|
-
readonly lg: "py-sm";
|
|
43
|
-
readonly xl: "py-md";
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Border radius by size
|
|
48
|
-
*/
|
|
49
|
-
readonly radius: {
|
|
50
|
-
readonly xs: "rounded-sm";
|
|
51
|
-
readonly sm: "rounded-md";
|
|
52
|
-
readonly md: "rounded-md";
|
|
53
|
-
readonly lg: "rounded-md";
|
|
54
|
-
readonly xl: "rounded-lg";
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Font sizes by size variant
|
|
58
|
-
* Maps to foundation typography fontSize tokens
|
|
59
|
-
*/
|
|
60
|
-
readonly fontSize: {
|
|
61
|
-
readonly xs: "text-xs";
|
|
62
|
-
readonly sm: "text-sm";
|
|
63
|
-
readonly md: "text-base";
|
|
64
|
-
readonly lg: "text-base";
|
|
65
|
-
readonly xl: "text-lg";
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* Responsive font size (md breakpoint)
|
|
69
|
-
*/
|
|
70
|
-
readonly fontSizeResponsive: {
|
|
71
|
-
readonly md: "md:text-sm";
|
|
72
|
-
};
|
|
73
|
-
/**
|
|
74
|
-
* Shadow token
|
|
75
|
-
* Maps to foundation elevation shadow tokens
|
|
76
|
-
*/
|
|
77
|
-
readonly shadow: "shadow-sm";
|
|
78
|
-
/**
|
|
79
|
-
* File input tokens
|
|
80
|
-
* Styling for file input elements
|
|
81
|
-
*/
|
|
82
|
-
readonly file: {
|
|
83
|
-
readonly text: "text-[hsl(var(--foreground))]";
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* Select listbox tokens
|
|
87
|
-
* Styling for select dropdown container
|
|
88
|
-
*/
|
|
89
|
-
readonly selectListbox: {
|
|
90
|
-
readonly border: "border border-[hsl(var(--border))]";
|
|
91
|
-
readonly background: "bg-[hsl(var(--popover))]";
|
|
92
|
-
readonly text: "text-[hsl(var(--popover-foreground))]";
|
|
93
|
-
readonly radius: "rounded-md";
|
|
94
|
-
readonly shadow: "shadow-md";
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Select option tokens
|
|
98
|
-
* Styling for select option items
|
|
99
|
-
*/
|
|
100
|
-
readonly selectOption: {
|
|
101
|
-
readonly focus: {
|
|
102
|
-
readonly background: "focus:bg-[hsl(var(--accent))]";
|
|
103
|
-
readonly text: "focus:text-[hsl(var(--accent-foreground))]";
|
|
104
|
-
};
|
|
105
|
-
readonly selected: {
|
|
106
|
-
readonly background: "bg-[hsl(var(--accent))]";
|
|
107
|
-
readonly text: "text-[hsl(var(--accent-foreground))]";
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Variant-based tokens
|
|
112
|
-
* Border, background, and text colors for different variants
|
|
113
|
-
* All use CSS variable references for theme support
|
|
114
|
-
*/
|
|
115
|
-
readonly variant: {
|
|
116
|
-
readonly primary: {
|
|
117
|
-
readonly border: "border-[hsl(var(--tm-primary))]";
|
|
118
|
-
readonly background: "bg-[hsl(var(--tm-primary))]";
|
|
119
|
-
readonly text: "text-[hsl(var(--tm-primary-foreground))]";
|
|
120
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-primary)]";
|
|
121
|
-
};
|
|
122
|
-
readonly secondary: {
|
|
123
|
-
readonly border: "border-[hsl(var(--tm-secondary))]";
|
|
124
|
-
readonly background: "bg-[hsl(var(--tm-secondary))]";
|
|
125
|
-
readonly text: "text-[hsl(var(--tm-secondary-foreground))]";
|
|
126
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
127
|
-
};
|
|
128
|
-
readonly outline: {
|
|
129
|
-
readonly border: "border-[hsl(var(--input))]";
|
|
130
|
-
readonly background: "bg-transparent";
|
|
131
|
-
readonly text: "text-[hsl(var(--foreground))]";
|
|
132
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
133
|
-
};
|
|
134
|
-
readonly ghost: {
|
|
135
|
-
readonly border: "border-transparent";
|
|
136
|
-
readonly background: "bg-transparent";
|
|
137
|
-
readonly text: "text-[hsl(var(--foreground))]";
|
|
138
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
139
|
-
};
|
|
140
|
-
readonly destructive: {
|
|
141
|
-
readonly border: "border-[hsl(var(--destructive))]";
|
|
142
|
-
readonly background: "bg-[hsl(var(--destructive))]";
|
|
143
|
-
readonly text: "text-[hsl(var(--destructive-foreground))]";
|
|
144
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* State-based tokens
|
|
149
|
-
* Border, background, and text colors for different states
|
|
150
|
-
* All use CSS variable references for theme support
|
|
151
|
-
*/
|
|
152
|
-
readonly state: {
|
|
153
|
-
readonly border: {
|
|
154
|
-
readonly default: "border-[hsl(var(--input))]";
|
|
155
|
-
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
156
|
-
readonly error: "border-[hsl(var(--destructive))]";
|
|
157
|
-
readonly success: "border-[hsl(var(--semantic-success))]";
|
|
158
|
-
readonly disabled: "border-[hsl(var(--input))]";
|
|
159
|
-
};
|
|
160
|
-
readonly background: {
|
|
161
|
-
readonly default: "bg-transparent";
|
|
162
|
-
readonly disabled: "bg-transparent";
|
|
163
|
-
};
|
|
164
|
-
readonly text: {
|
|
165
|
-
readonly default: "text-[hsl(var(--foreground))]";
|
|
166
|
-
readonly placeholder: "placeholder:text-[hsl(var(--muted-foreground))]";
|
|
167
|
-
readonly disabled: "disabled:opacity-50";
|
|
168
|
-
};
|
|
169
|
-
};
|
|
170
|
-
/**
|
|
171
|
-
* Icon tokens
|
|
172
|
-
* Size, spacing, and color for icons within inputs
|
|
173
|
-
*/
|
|
174
|
-
readonly icon: {
|
|
175
|
-
readonly size: "size-4";
|
|
176
|
-
readonly gap: "gap-sm";
|
|
177
|
-
readonly paddingLeft: "pl-lg";
|
|
178
|
-
readonly paddingRight: "pr-lg";
|
|
179
|
-
readonly color: "text-[hsl(var(--muted-foreground))]";
|
|
180
|
-
readonly position: {
|
|
181
|
-
readonly left: "left-0";
|
|
182
|
-
readonly right: "right-0";
|
|
183
|
-
readonly top: "top-0";
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
/**
|
|
187
|
-
* Label tokens
|
|
188
|
-
* Spacing and styling for labels
|
|
189
|
-
*/
|
|
190
|
-
readonly label: {
|
|
191
|
-
readonly spacing: "space-y-sm";
|
|
192
|
-
readonly requiredMark: "text-destructive";
|
|
193
|
-
};
|
|
194
|
-
/**
|
|
195
|
-
* Width tokens
|
|
196
|
-
* Common width utilities
|
|
197
|
-
*/
|
|
198
|
-
readonly width: {
|
|
199
|
-
readonly full: "w-full";
|
|
200
|
-
};
|
|
201
|
-
/**
|
|
202
|
-
* Message tokens
|
|
203
|
-
* Spacing, positioning, and styling for helper text and error messages
|
|
204
|
-
*/
|
|
205
|
-
readonly message: {
|
|
206
|
-
readonly spacing: "space-y-sm";
|
|
207
|
-
readonly position: {
|
|
208
|
-
readonly bottom: "bottom-sm";
|
|
209
|
-
readonly right: "right-sm";
|
|
210
|
-
};
|
|
211
|
-
readonly color: {
|
|
212
|
-
readonly default: "text-[hsl(var(--muted-foreground))]";
|
|
213
|
-
readonly error: "text-[hsl(var(--destructive))]";
|
|
214
|
-
readonly success: "text-[hsl(var(--semantic-success))]";
|
|
215
|
-
};
|
|
216
|
-
};
|
|
217
|
-
/**
|
|
218
|
-
* Size-based token structure
|
|
219
|
-
* Organized by size for easy access
|
|
220
|
-
*/
|
|
221
|
-
readonly size: {
|
|
222
|
-
readonly xs: {
|
|
223
|
-
readonly height: "h-7";
|
|
224
|
-
readonly padding: {
|
|
225
|
-
readonly horizontal: "px-xs";
|
|
226
|
-
readonly vertical: "py-xs";
|
|
227
|
-
};
|
|
228
|
-
readonly radius: "rounded-sm";
|
|
229
|
-
readonly fontSize: "text-xs";
|
|
230
|
-
readonly shadow: "shadow-sm";
|
|
231
|
-
};
|
|
232
|
-
readonly sm: {
|
|
233
|
-
readonly height: "h-8";
|
|
234
|
-
readonly padding: {
|
|
235
|
-
readonly horizontal: "px-sm";
|
|
236
|
-
readonly vertical: "py-xs";
|
|
237
|
-
};
|
|
238
|
-
readonly radius: "rounded-md";
|
|
239
|
-
readonly fontSize: "text-sm";
|
|
240
|
-
readonly shadow: "shadow-sm";
|
|
241
|
-
};
|
|
242
|
-
readonly md: {
|
|
243
|
-
readonly height: "h-9";
|
|
244
|
-
readonly padding: {
|
|
245
|
-
readonly horizontal: "px-sm";
|
|
246
|
-
readonly vertical: "py-xs";
|
|
247
|
-
};
|
|
248
|
-
readonly radius: "rounded-md";
|
|
249
|
-
readonly fontSize: "text-base";
|
|
250
|
-
readonly fontSizeResponsive: "md:text-sm";
|
|
251
|
-
readonly shadow: "shadow-sm";
|
|
252
|
-
};
|
|
253
|
-
readonly lg: {
|
|
254
|
-
readonly height: "h-10";
|
|
255
|
-
readonly padding: {
|
|
256
|
-
readonly horizontal: "px-md";
|
|
257
|
-
readonly vertical: "py-sm";
|
|
258
|
-
};
|
|
259
|
-
readonly radius: "rounded-md";
|
|
260
|
-
readonly fontSize: "text-base";
|
|
261
|
-
readonly shadow: "shadow-sm";
|
|
262
|
-
};
|
|
263
|
-
readonly xl: {
|
|
264
|
-
readonly height: "h-11";
|
|
265
|
-
readonly padding: {
|
|
266
|
-
readonly horizontal: "px-lg";
|
|
267
|
-
readonly vertical: "py-md";
|
|
268
|
-
};
|
|
269
|
-
readonly radius: "rounded-lg";
|
|
270
|
-
readonly fontSize: "text-lg";
|
|
271
|
-
readonly shadow: "shadow-sm";
|
|
272
|
-
};
|
|
273
|
-
};
|
|
274
|
-
};
|
|
275
|
-
/**
|
|
276
|
-
* Type exports for Input tokens
|
|
277
|
-
*/
|
|
278
|
-
export type InputHeight = keyof typeof INPUT_TOKENS.height;
|
|
279
|
-
export type InputPaddingHorizontal = keyof typeof INPUT_TOKENS.padding.horizontal;
|
|
280
|
-
export type InputPaddingVertical = keyof typeof INPUT_TOKENS.padding.vertical;
|
|
281
|
-
export type InputRadius = keyof typeof INPUT_TOKENS.radius;
|
|
282
|
-
export type InputFontSize = keyof typeof INPUT_TOKENS.fontSize;
|
|
283
|
-
export type InputSize = keyof typeof INPUT_TOKENS.size;
|
|
284
|
-
export type InputState = keyof typeof INPUT_TOKENS.state.border;
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Menu Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Menu components (DropdownMenu, ContextMenu).
|
|
5
|
-
* Maps foundation tokens (spacing, radius, shadows, typography, motion) to menu-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* All values use Tailwind utility classes that map to foundation tokens.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Menu Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines tokens for menu items, content, separators, labels, and indicators.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
-
*/
|
|
15
|
-
export declare const MENU_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Menu item tokens by size
|
|
18
|
-
* Maps to foundation spacing and radius tokens
|
|
19
|
-
*/
|
|
20
|
-
readonly item: {
|
|
21
|
-
readonly padding: {
|
|
22
|
-
readonly xs: "px-xs py-xs";
|
|
23
|
-
readonly sm: "px-sm py-sm";
|
|
24
|
-
readonly md: "px-md py-sm";
|
|
25
|
-
};
|
|
26
|
-
readonly radius: {
|
|
27
|
-
readonly sm: "rounded-sm";
|
|
28
|
-
readonly md: "rounded-md";
|
|
29
|
-
};
|
|
30
|
-
readonly gap: {
|
|
31
|
-
readonly xs: "gap-xs";
|
|
32
|
-
readonly sm: "gap-sm";
|
|
33
|
-
};
|
|
34
|
-
readonly height: {
|
|
35
|
-
readonly sm: "h-8";
|
|
36
|
-
readonly md: "h-10";
|
|
37
|
-
readonly lg: "h-12";
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* Menu content tokens by size
|
|
42
|
-
* Maps to foundation spacing, radius, and shadow tokens
|
|
43
|
-
*/
|
|
44
|
-
readonly content: {
|
|
45
|
-
readonly padding: {
|
|
46
|
-
readonly sm: "p-sm";
|
|
47
|
-
readonly md: "p-md";
|
|
48
|
-
};
|
|
49
|
-
readonly radius: {
|
|
50
|
-
readonly sm: "rounded-md";
|
|
51
|
-
readonly md: "rounded-lg";
|
|
52
|
-
};
|
|
53
|
-
readonly shadow: {
|
|
54
|
-
readonly sm: "shadow-md";
|
|
55
|
-
readonly md: "shadow-lg";
|
|
56
|
-
};
|
|
57
|
-
readonly minWidth: {
|
|
58
|
-
readonly sm: "min-w-32";
|
|
59
|
-
readonly md: "min-w-48";
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Menu separator tokens
|
|
64
|
-
* Maps to foundation spacing and color tokens
|
|
65
|
-
*/
|
|
66
|
-
readonly separator: {
|
|
67
|
-
readonly margin: {
|
|
68
|
-
readonly sm: "my-xs";
|
|
69
|
-
readonly md: "my-sm";
|
|
70
|
-
};
|
|
71
|
-
readonly height: "h-px";
|
|
72
|
-
readonly color: "bg-border";
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Menu label tokens
|
|
76
|
-
* Maps to foundation spacing and typography tokens
|
|
77
|
-
*/
|
|
78
|
-
readonly label: {
|
|
79
|
-
readonly padding: {
|
|
80
|
-
readonly sm: "px-sm py-xs";
|
|
81
|
-
readonly md: "px-md py-sm";
|
|
82
|
-
};
|
|
83
|
-
readonly textStyle: "text-sm font-semibold";
|
|
84
|
-
};
|
|
85
|
-
/**
|
|
86
|
-
* Menu indicator tokens (for checkboxes, radio buttons)
|
|
87
|
-
* Maps to foundation spacing tokens
|
|
88
|
-
*/
|
|
89
|
-
readonly indicator: {
|
|
90
|
-
readonly size: {
|
|
91
|
-
readonly sm: "w-4 h-4";
|
|
92
|
-
readonly md: "w-5 h-5";
|
|
93
|
-
};
|
|
94
|
-
readonly offset: {
|
|
95
|
-
readonly sm: "left-xs";
|
|
96
|
-
readonly md: "left-sm";
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* Type exports for Menu tokens
|
|
102
|
-
*/
|
|
103
|
-
export type MenuItemPadding = keyof typeof MENU_TOKENS.item.padding;
|
|
104
|
-
export type MenuItemRadius = keyof typeof MENU_TOKENS.item.radius;
|
|
105
|
-
export type MenuItemGap = keyof typeof MENU_TOKENS.item.gap;
|
|
106
|
-
export type MenuItemHeight = keyof typeof MENU_TOKENS.item.height;
|
|
107
|
-
export type MenuContentPadding = keyof typeof MENU_TOKENS.content.padding;
|
|
108
|
-
export type MenuContentRadius = keyof typeof MENU_TOKENS.content.radius;
|
|
109
|
-
export type MenuContentShadow = keyof typeof MENU_TOKENS.content.shadow;
|
|
110
|
-
export type MenuContentMinWidth = keyof typeof MENU_TOKENS.content.minWidth;
|
|
111
|
-
export type MenuSeparatorMargin = keyof typeof MENU_TOKENS.separator.margin;
|
|
112
|
-
export type MenuLabelPadding = keyof typeof MENU_TOKENS.label.padding;
|
|
113
|
-
export type MenuIndicatorSize = keyof typeof MENU_TOKENS.indicator.size;
|
|
114
|
-
export type MenuIndicatorOffset = keyof typeof MENU_TOKENS.indicator.offset;
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Motion Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Motion/Animation utilities.
|
|
5
|
-
* Maps foundation motion tokens (durations, easings, transitions) to Tailwind utility classes.
|
|
6
|
-
*
|
|
7
|
-
* All values use Tailwind utility classes that map to foundation motion tokens.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Motion Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines transition, duration, and easing tokens for component usage.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use in components.
|
|
14
|
-
*/
|
|
15
|
-
export declare const MOTION_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Transition property tokens
|
|
18
|
-
* Maps to Tailwind transition utilities
|
|
19
|
-
*/
|
|
20
|
-
readonly transition: {
|
|
21
|
-
readonly all: "transition-all";
|
|
22
|
-
readonly colors: "transition-colors";
|
|
23
|
-
readonly opacity: "transition-opacity";
|
|
24
|
-
readonly transform: "transition-transform";
|
|
25
|
-
readonly shadow: "transition-shadow";
|
|
26
|
-
readonly none: "transition-none";
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* Duration tokens
|
|
30
|
-
* Maps to foundation motion duration tokens via Tailwind
|
|
31
|
-
*/
|
|
32
|
-
readonly duration: {
|
|
33
|
-
readonly instant: "duration-0";
|
|
34
|
-
readonly fast: "duration-fast";
|
|
35
|
-
readonly normal: "duration-normal";
|
|
36
|
-
readonly slow: "duration-slow";
|
|
37
|
-
readonly slower: "duration-slower";
|
|
38
|
-
readonly slowest: "duration-slowest";
|
|
39
|
-
readonly "75": "duration-75";
|
|
40
|
-
readonly "100": "duration-100";
|
|
41
|
-
readonly "200": "duration-200";
|
|
42
|
-
readonly "250": "duration-250";
|
|
43
|
-
readonly "300": "duration-300";
|
|
44
|
-
readonly "400": "duration-400";
|
|
45
|
-
readonly "500": "duration-500";
|
|
46
|
-
readonly "600": "duration-600";
|
|
47
|
-
readonly "700": "duration-700";
|
|
48
|
-
readonly "800": "duration-800";
|
|
49
|
-
readonly "1000": "duration-1000";
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* Easing tokens
|
|
53
|
-
* Maps to foundation motion easing tokens via Tailwind
|
|
54
|
-
*/
|
|
55
|
-
readonly easing: {
|
|
56
|
-
readonly linear: "ease-linear";
|
|
57
|
-
readonly in: "ease-in";
|
|
58
|
-
readonly out: "ease-out";
|
|
59
|
-
readonly "in-out": "ease-in-out";
|
|
60
|
-
readonly bounce: "ease-bounce";
|
|
61
|
-
readonly elastic: "ease-elastic";
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Pre-configured transition tokens
|
|
65
|
-
* Combines duration and easing for common use cases
|
|
66
|
-
*/
|
|
67
|
-
readonly transitionPreset: {
|
|
68
|
-
readonly fast: "transition-all duration-fast ease-out";
|
|
69
|
-
readonly normal: "transition-all duration-normal ease-in-out";
|
|
70
|
-
readonly slow: "transition-all duration-slow ease-in-out";
|
|
71
|
-
readonly colors: "transition-colors duration-normal ease-out";
|
|
72
|
-
readonly transform: "transition-transform duration-normal ease-out";
|
|
73
|
-
readonly opacity: "transition-opacity duration-fast ease-out";
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Animation tokens
|
|
77
|
-
* Maps to foundation motion animation tokens via Tailwind
|
|
78
|
-
*/
|
|
79
|
-
readonly animation: {
|
|
80
|
-
readonly none: "animate-none";
|
|
81
|
-
readonly spin: "animate-spin";
|
|
82
|
-
readonly pulse: "animate-pulse";
|
|
83
|
-
readonly bounce: "animate-bounce";
|
|
84
|
-
readonly ping: "animate-ping";
|
|
85
|
-
readonly shake: "animate-shake";
|
|
86
|
-
readonly fadeIn: "animate-fadeIn";
|
|
87
|
-
readonly fadeOut: "animate-fadeOut";
|
|
88
|
-
readonly slideInUp: "animate-slideInUp";
|
|
89
|
-
readonly slideInDown: "animate-slideInDown";
|
|
90
|
-
readonly slideInLeft: "animate-slideInLeft";
|
|
91
|
-
readonly slideInRight: "animate-slideInRight";
|
|
92
|
-
readonly scaleIn: "animate-scaleIn";
|
|
93
|
-
readonly scaleOut: "animate-scaleOut";
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
/**
|
|
97
|
-
* Type exports for Motion tokens
|
|
98
|
-
*/
|
|
99
|
-
export type MotionTransition = keyof typeof MOTION_TOKENS.transition;
|
|
100
|
-
export type MotionDuration = keyof typeof MOTION_TOKENS.duration;
|
|
101
|
-
export type MotionEasing = keyof typeof MOTION_TOKENS.easing;
|
|
102
|
-
export type MotionTransitionPreset = keyof typeof MOTION_TOKENS.transitionPreset;
|
|
103
|
-
export type MotionAnimation = keyof typeof MOTION_TOKENS.animation;
|
|
@@ -1,181 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Navigation Component Tokens
|
|
3
|
-
*
|
|
4
|
-
* Component-level design tokens for Navigation components (Tabs, SegmentedControl, Breadcrumbs, Pagination, Stepper).
|
|
5
|
-
* Maps foundation tokens (spacing, typography, radius, shadows) to navigation-specific usage.
|
|
6
|
-
*
|
|
7
|
-
* All values reference foundation tokens to ensure consistency across the design system.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Navigation Component Tokens
|
|
11
|
-
*
|
|
12
|
-
* Defines all spacing, sizing, typography, and visual tokens for Navigation components.
|
|
13
|
-
* Values are mapped to Tailwind utility classes for direct use in component variants.
|
|
14
|
-
*/
|
|
15
|
-
export declare const NAVIGATION_TOKENS: {
|
|
16
|
-
/**
|
|
17
|
-
* Navigation item heights by size
|
|
18
|
-
* Maps to Tailwind height utilities: h-8, h-9, h-10
|
|
19
|
-
*/
|
|
20
|
-
readonly sizes: {
|
|
21
|
-
readonly sm: {
|
|
22
|
-
readonly height: "h-8";
|
|
23
|
-
readonly width: "w-8";
|
|
24
|
-
readonly padding: {
|
|
25
|
-
readonly horizontal: "px-sm";
|
|
26
|
-
readonly vertical: "py-xs";
|
|
27
|
-
};
|
|
28
|
-
readonly fontSize: "text-xs";
|
|
29
|
-
readonly gap: "gap-xs";
|
|
30
|
-
};
|
|
31
|
-
readonly md: {
|
|
32
|
-
readonly height: "h-9";
|
|
33
|
-
readonly padding: {
|
|
34
|
-
readonly horizontal: "px-md";
|
|
35
|
-
readonly vertical: "py-sm";
|
|
36
|
-
};
|
|
37
|
-
readonly fontSize: "text-sm";
|
|
38
|
-
readonly gap: "gap-sm";
|
|
39
|
-
};
|
|
40
|
-
readonly lg: {
|
|
41
|
-
readonly height: "h-10";
|
|
42
|
-
readonly padding: {
|
|
43
|
-
readonly horizontal: "px-lg";
|
|
44
|
-
readonly vertical: "py-sm";
|
|
45
|
-
};
|
|
46
|
-
readonly fontSize: "text-base";
|
|
47
|
-
readonly gap: "gap-sm";
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
/**
|
|
51
|
-
* Border radius for navigation items
|
|
52
|
-
*/
|
|
53
|
-
readonly radius: {
|
|
54
|
-
readonly default: "rounded-md";
|
|
55
|
-
readonly sm: "rounded-sm";
|
|
56
|
-
readonly md: "rounded-md";
|
|
57
|
-
readonly lg: "rounded-lg";
|
|
58
|
-
readonly full: "rounded-full";
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* Spacing tokens for navigation components
|
|
62
|
-
*/
|
|
63
|
-
readonly spacing: {
|
|
64
|
-
readonly itemPadding: {
|
|
65
|
-
readonly sm: "px-sm py-xs";
|
|
66
|
-
readonly md: "px-md py-sm";
|
|
67
|
-
readonly lg: "px-lg py-sm";
|
|
68
|
-
};
|
|
69
|
-
readonly listGap: {
|
|
70
|
-
readonly xs: "gap-xs";
|
|
71
|
-
readonly sm: "gap-sm";
|
|
72
|
-
readonly md: "gap-md";
|
|
73
|
-
readonly lg: "gap-lg";
|
|
74
|
-
};
|
|
75
|
-
readonly content: {
|
|
76
|
-
readonly marginTop: "mt-md";
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* Typography tokens for navigation components
|
|
81
|
-
*/
|
|
82
|
-
readonly typography: {
|
|
83
|
-
readonly default: "text-sm";
|
|
84
|
-
readonly sm: "text-xs";
|
|
85
|
-
readonly md: "text-sm";
|
|
86
|
-
readonly lg: "text-base";
|
|
87
|
-
readonly fontWeight: {
|
|
88
|
-
readonly default: "font-medium";
|
|
89
|
-
readonly normal: "font-normal";
|
|
90
|
-
readonly medium: "font-medium";
|
|
91
|
-
readonly semibold: "font-semibold";
|
|
92
|
-
};
|
|
93
|
-
};
|
|
94
|
-
/**
|
|
95
|
-
* State-based tokens for navigation items
|
|
96
|
-
* Colors, backgrounds, and borders for different states
|
|
97
|
-
*/
|
|
98
|
-
readonly states: {
|
|
99
|
-
readonly default: {
|
|
100
|
-
readonly background: "bg-transparent";
|
|
101
|
-
readonly text: "text-foreground";
|
|
102
|
-
readonly border: "border-transparent";
|
|
103
|
-
};
|
|
104
|
-
readonly hover: {
|
|
105
|
-
readonly background: "hover:bg-accent";
|
|
106
|
-
readonly text: "hover:text-accent-foreground";
|
|
107
|
-
readonly border: "hover:border-accent";
|
|
108
|
-
};
|
|
109
|
-
readonly active: {
|
|
110
|
-
readonly background: "bg-accent";
|
|
111
|
-
readonly text: "text-accent-foreground";
|
|
112
|
-
readonly border: "border-accent";
|
|
113
|
-
};
|
|
114
|
-
readonly selected: {
|
|
115
|
-
readonly background: "bg-primary";
|
|
116
|
-
readonly text: "text-primary-foreground";
|
|
117
|
-
readonly border: "border-primary";
|
|
118
|
-
};
|
|
119
|
-
readonly disabled: {
|
|
120
|
-
readonly background: "bg-transparent";
|
|
121
|
-
readonly text: "text-muted-foreground disabled:opacity-50";
|
|
122
|
-
readonly border: "border-transparent";
|
|
123
|
-
readonly cursor: "disabled:cursor-not-allowed";
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
/**
|
|
127
|
-
* Indicator tokens for Tabs component
|
|
128
|
-
* Used for underline/indicator animation
|
|
129
|
-
*/
|
|
130
|
-
readonly indicator: {
|
|
131
|
-
readonly height: "h-0.5";
|
|
132
|
-
readonly radius: "rounded-full";
|
|
133
|
-
readonly transition: "transition-all duration-normal ease-out";
|
|
134
|
-
readonly background: "bg-primary";
|
|
135
|
-
readonly position: "absolute bottom-0 left-0 right-0";
|
|
136
|
-
};
|
|
137
|
-
/**
|
|
138
|
-
* Shadow tokens for navigation components
|
|
139
|
-
*/
|
|
140
|
-
readonly shadow: {
|
|
141
|
-
readonly none: "shadow-none";
|
|
142
|
-
readonly sm: "shadow-sm";
|
|
143
|
-
readonly default: "shadow-sm";
|
|
144
|
-
readonly md: "shadow";
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* Focus ring tokens for accessibility
|
|
148
|
-
*/
|
|
149
|
-
readonly focus: {
|
|
150
|
-
readonly ring: "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-2";
|
|
151
|
-
readonly ringOffset: "focus-visible:ring-offset-2";
|
|
152
|
-
};
|
|
153
|
-
/**
|
|
154
|
-
* Container background tokens
|
|
155
|
-
* For segmented control and tab container backgrounds
|
|
156
|
-
*/
|
|
157
|
-
readonly container: {
|
|
158
|
-
readonly background: {
|
|
159
|
-
readonly muted: "bg-muted";
|
|
160
|
-
};
|
|
161
|
-
readonly padding: {
|
|
162
|
-
readonly xs: "p-xs";
|
|
163
|
-
readonly sm: "p-sm";
|
|
164
|
-
};
|
|
165
|
-
};
|
|
166
|
-
/**
|
|
167
|
-
* Border color tokens
|
|
168
|
-
*/
|
|
169
|
-
readonly border: {
|
|
170
|
-
readonly muted: "border-muted-foreground";
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
/**
|
|
174
|
-
* Type exports for Navigation tokens
|
|
175
|
-
*/
|
|
176
|
-
export type NavigationSize = keyof typeof NAVIGATION_TOKENS.sizes;
|
|
177
|
-
export type NavigationRadius = keyof typeof NAVIGATION_TOKENS.radius;
|
|
178
|
-
export type NavigationState = keyof typeof NAVIGATION_TOKENS.states;
|
|
179
|
-
export type NavigationShadow = keyof typeof NAVIGATION_TOKENS.shadow;
|
|
180
|
-
export type NavigationListGap = keyof typeof NAVIGATION_TOKENS.spacing.listGap;
|
|
181
|
-
export type NavigationItemPadding = keyof typeof NAVIGATION_TOKENS.spacing.itemPadding;
|