@tenerife.music/ui 1.0.2 → 1.0.4
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/animation/presets.d.ts +6 -8
- package/dist/animation/presets.d.ts.map +1 -1
- package/dist/animation/tas.d.ts +2 -57
- package/dist/animation/tas.d.ts.map +1 -1
- package/dist/animation/types.d.ts +9 -47
- package/dist/animation/types.d.ts.map +1 -1
- package/dist/animation/useInView.d.ts +37 -0
- package/dist/animation/useInView.d.ts.map +1 -0
- package/dist/animation/utils.d.ts.map +1 -1
- package/dist/components/SectionBuilder.d.ts.map +1 -1
- package/dist/components/admin/Dashboard.d.ts.map +1 -1
- package/dist/components/admin/UserManagement.d.ts.map +1 -1
- package/dist/components/auth/LoginForm.d.ts.map +1 -1
- package/dist/components/auth/ProfileCard.d.ts.map +1 -1
- package/dist/components/auth/RegisterForm.d.ts.map +1 -1
- package/dist/components/cards/ArtistCard/ArtistCard.d.ts +23 -0
- package/dist/components/cards/ArtistCard/ArtistCard.d.ts.map +1 -0
- package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts +47 -0
- package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts.map +1 -0
- package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts +84 -0
- package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts.map +1 -0
- package/dist/components/cards/ArtistCard/index.d.ts +9 -0
- package/dist/components/cards/ArtistCard/index.d.ts.map +1 -0
- package/dist/components/cards/CardBase/CardBase.d.ts +46 -0
- package/dist/components/cards/CardBase/CardBase.d.ts.map +1 -0
- package/dist/components/cards/CardBase/CardBase.types.d.ts +71 -0
- package/dist/components/cards/CardBase/CardBase.types.d.ts.map +1 -0
- package/dist/components/cards/CardBase/CardBase.variants.d.ts +39 -0
- package/dist/components/cards/CardBase/CardBase.variants.d.ts.map +1 -0
- package/dist/components/cards/CardBase/index.d.ts +9 -0
- package/dist/components/cards/CardBase/index.d.ts.map +1 -0
- package/dist/components/cards/CategoryCard/CategoryCard.d.ts +19 -0
- package/dist/components/cards/CategoryCard/CategoryCard.d.ts.map +1 -0
- package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts +39 -0
- package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts.map +1 -0
- package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts +22 -0
- package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts.map +1 -0
- package/dist/components/cards/CategoryCard/index.d.ts +8 -0
- package/dist/components/cards/CategoryCard/index.d.ts.map +1 -0
- package/dist/components/cards/EventCard/EventCard.d.ts +20 -0
- package/dist/components/cards/EventCard/EventCard.d.ts.map +1 -0
- package/dist/components/cards/{EventCard.d.ts → EventCard/EventCard.types.d.ts} +14 -4
- package/dist/components/cards/EventCard/EventCard.types.d.ts.map +1 -0
- package/dist/components/cards/EventCard/EventCard.variants.d.ts +71 -0
- package/dist/components/cards/EventCard/EventCard.variants.d.ts.map +1 -0
- package/dist/components/cards/EventCard/index.d.ts +8 -0
- package/dist/components/cards/EventCard/index.d.ts.map +1 -0
- package/dist/components/cards/PromoCard/PromoCard.d.ts +21 -0
- package/dist/components/cards/PromoCard/PromoCard.d.ts.map +1 -0
- package/dist/components/cards/PromoCard/PromoCard.types.d.ts +43 -0
- package/dist/components/cards/PromoCard/PromoCard.types.d.ts.map +1 -0
- package/dist/components/cards/PromoCard/PromoCard.variants.d.ts +36 -0
- package/dist/components/cards/PromoCard/PromoCard.variants.d.ts.map +1 -0
- package/dist/components/cards/PromoCard/index.d.ts +8 -0
- package/dist/components/cards/PromoCard/index.d.ts.map +1 -0
- package/dist/components/cards/TicketCard/TicketCard.d.ts +20 -0
- package/dist/components/cards/TicketCard/TicketCard.d.ts.map +1 -0
- package/dist/components/cards/TicketCard/TicketCard.types.d.ts +56 -0
- package/dist/components/cards/TicketCard/TicketCard.types.d.ts.map +1 -0
- package/dist/components/cards/TicketCard/TicketCard.variants.d.ts +72 -0
- package/dist/components/cards/TicketCard/TicketCard.variants.d.ts.map +1 -0
- package/dist/components/cards/TicketCard/index.d.ts +8 -0
- package/dist/components/cards/TicketCard/index.d.ts.map +1 -0
- package/dist/components/cards/VenueCard/VenueCard.d.ts +22 -0
- package/dist/components/cards/VenueCard/VenueCard.d.ts.map +1 -0
- package/dist/components/cards/{VenueCard.d.ts → VenueCard/VenueCard.types.d.ts} +16 -7
- package/dist/components/cards/VenueCard/VenueCard.types.d.ts.map +1 -0
- package/dist/components/cards/VenueCard/VenueCard.variants.d.ts +61 -0
- package/dist/components/cards/VenueCard/VenueCard.variants.d.ts.map +1 -0
- package/dist/components/cards/VenueCard/index.d.ts +9 -0
- package/dist/components/cards/VenueCard/index.d.ts.map +1 -0
- package/dist/components/cards/index.d.ts +20 -0
- package/dist/components/cards/index.d.ts.map +1 -0
- package/dist/components/checkbox/Checkbox.d.ts +23 -0
- package/dist/components/checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/Checkbox.types.d.ts +69 -0
- package/dist/components/checkbox/Checkbox.types.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox-variants.d.ts +14 -0
- package/dist/components/checkbox/checkbox-variants.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +4 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/containers/Card.d.ts +76 -0
- package/dist/components/containers/Card.d.ts.map +1 -0
- package/dist/components/containers/Section.d.ts +32 -0
- package/dist/components/containers/Section.d.ts.map +1 -0
- package/dist/components/containers/Surface.d.ts +29 -0
- package/dist/components/containers/Surface.d.ts.map +1 -0
- package/dist/components/containers/index.d.ts +10 -0
- package/dist/components/containers/index.d.ts.map +1 -0
- package/dist/components/data/Timeline.d.ts.map +1 -1
- package/dist/components/data/data-list/DataList.d.ts +30 -0
- package/dist/components/data/data-list/DataList.d.ts.map +1 -0
- package/dist/components/data/data-list/DataList.types.d.ts +44 -0
- package/dist/components/data/data-list/DataList.types.d.ts.map +1 -0
- package/dist/components/data/data-list/DataListItem.d.ts +21 -0
- package/dist/components/data/data-list/DataListItem.d.ts.map +1 -0
- package/dist/components/data/data-list/DataListLabel.d.ts +20 -0
- package/dist/components/data/data-list/DataListLabel.d.ts.map +1 -0
- package/dist/components/data/data-list/DataListValue.d.ts +19 -0
- package/dist/components/data/data-list/DataListValue.d.ts.map +1 -0
- package/dist/components/data/data-list/index.d.ts +11 -0
- package/dist/components/data/data-list/index.d.ts.map +1 -0
- package/dist/components/data/empty-state/EmptyState.d.ts +32 -0
- package/dist/components/data/empty-state/EmptyState.d.ts.map +1 -0
- package/dist/components/data/empty-state/EmptyState.types.d.ts +52 -0
- package/dist/components/data/empty-state/EmptyState.types.d.ts.map +1 -0
- package/dist/components/data/empty-state/EmptyStateAction.d.ts +18 -0
- package/dist/components/data/empty-state/EmptyStateAction.d.ts.map +1 -0
- package/dist/components/data/empty-state/EmptyStateDescription.d.ts +18 -0
- package/dist/components/data/empty-state/EmptyStateDescription.d.ts.map +1 -0
- package/dist/components/data/empty-state/EmptyStateIcon.d.ts +23 -0
- package/dist/components/data/empty-state/EmptyStateIcon.d.ts.map +1 -0
- package/dist/components/data/empty-state/EmptyStateTitle.d.ts +18 -0
- package/dist/components/data/empty-state/EmptyStateTitle.d.ts.map +1 -0
- package/dist/components/data/empty-state/index.d.ts +11 -0
- package/dist/components/data/empty-state/index.d.ts.map +1 -0
- package/dist/components/data/index.d.ts +10 -0
- package/dist/components/data/index.d.ts.map +1 -0
- package/dist/components/data/skeleton/Skeleton.d.ts +25 -0
- package/dist/components/data/skeleton/Skeleton.d.ts.map +1 -0
- package/dist/components/data/skeleton/Skeleton.types.d.ts +13 -0
- package/dist/components/data/skeleton/Skeleton.types.d.ts.map +1 -0
- package/dist/components/data/skeleton/index.d.ts +7 -0
- package/dist/components/data/skeleton/index.d.ts.map +1 -0
- package/dist/components/data/table/Table.d.ts +34 -0
- package/dist/components/data/table/Table.d.ts.map +1 -0
- package/dist/components/data/table/Table.types.d.ts +265 -0
- package/dist/components/data/table/Table.types.d.ts.map +1 -0
- package/dist/components/data/table/TableBody.d.ts +14 -0
- package/dist/components/data/table/TableBody.d.ts.map +1 -0
- package/dist/components/data/table/TableCell.d.ts +14 -0
- package/dist/components/data/table/TableCell.d.ts.map +1 -0
- package/dist/components/data/table/TableEmpty.d.ts +14 -0
- package/dist/components/data/table/TableEmpty.d.ts.map +1 -0
- package/dist/components/data/table/TableExpandableContent.d.ts +15 -0
- package/dist/components/data/table/TableExpandableContent.d.ts.map +1 -0
- package/dist/components/data/table/TableHead.d.ts +14 -0
- package/dist/components/data/table/TableHead.d.ts.map +1 -0
- package/dist/components/data/table/TableHeader.d.ts +14 -0
- package/dist/components/data/table/TableHeader.d.ts.map +1 -0
- package/dist/components/data/table/TableLoadingState.d.ts +14 -0
- package/dist/components/data/table/TableLoadingState.d.ts.map +1 -0
- package/dist/components/data/table/TableRow.d.ts +14 -0
- package/dist/components/data/table/TableRow.d.ts.map +1 -0
- package/dist/components/data/table/TableSortIcon.d.ts +15 -0
- package/dist/components/data/table/TableSortIcon.d.ts.map +1 -0
- package/dist/components/data/table/index.d.ts +18 -0
- package/dist/components/data/table/index.d.ts.map +1 -0
- package/dist/components/drawer/Drawer.d.ts +42 -0
- package/dist/components/drawer/Drawer.d.ts.map +1 -0
- package/dist/components/drawer/Drawer.types.d.ts +76 -0
- package/dist/components/drawer/Drawer.types.d.ts.map +1 -0
- package/dist/components/drawer/drawer-variants.d.ts +18 -0
- package/dist/components/drawer/drawer-variants.d.ts.map +1 -0
- package/dist/components/drawer/index.d.ts +9 -0
- package/dist/components/drawer/index.d.ts.map +1 -0
- package/dist/components/dropdown/Dropdown.d.ts +39 -0
- package/dist/components/dropdown/Dropdown.d.ts.map +1 -0
- package/dist/components/dropdown/Dropdown.types.d.ts +83 -0
- package/dist/components/dropdown/Dropdown.types.d.ts.map +1 -0
- package/dist/components/dropdown/dropdown-variants.d.ts +34 -0
- package/dist/components/dropdown/dropdown-variants.d.ts.map +1 -0
- package/dist/components/feedback/Skeleton.d.ts.map +1 -1
- package/dist/components/filters/SearchInput.d.ts +1 -1
- package/dist/components/filters/SearchInput.d.ts.map +1 -1
- package/dist/components/icon/Icon.d.ts +33 -0
- package/dist/components/icon/Icon.d.ts.map +1 -0
- package/dist/components/icon/Icon.types.d.ts +8 -0
- package/dist/components/icon/Icon.types.d.ts.map +1 -0
- package/dist/components/icon/index.d.ts +5 -0
- package/dist/components/icon/index.d.ts.map +1 -0
- package/dist/components/input/Input.d.ts +21 -0
- package/dist/components/input/Input.d.ts.map +1 -0
- package/dist/components/input/Input.types.d.ts +39 -0
- package/dist/components/input/Input.types.d.ts.map +1 -0
- package/dist/components/input/index.d.ts +4 -0
- package/dist/components/input/index.d.ts.map +1 -0
- package/dist/components/input/input-variants.d.ts +15 -0
- package/dist/components/input/input-variants.d.ts.map +1 -0
- package/dist/components/input/legacy/input.d.ts +12 -0
- package/dist/components/input/legacy/input.d.ts.map +1 -0
- package/dist/components/layout/Box.d.ts +40 -10
- package/dist/components/layout/Box.d.ts.map +1 -1
- package/dist/components/layout/Column.d.ts +7 -0
- package/dist/components/layout/Column.d.ts.map +1 -0
- package/dist/components/layout/Container.d.ts +1 -1
- package/dist/components/layout/Flex.d.ts +29 -13
- package/dist/components/layout/Flex.d.ts.map +1 -1
- package/dist/components/layout/Grid.d.ts +34 -25
- package/dist/components/layout/Grid.d.ts.map +1 -1
- package/dist/components/layout/ModeHero.d.ts.map +1 -1
- package/dist/components/layout/Row.d.ts +29 -0
- package/dist/components/layout/Row.d.ts.map +1 -0
- package/dist/components/layout/Stack.d.ts +24 -14
- package/dist/components/layout/Stack.d.ts.map +1 -1
- package/dist/components/layout/Surface.d.ts +22 -0
- package/dist/components/layout/Surface.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts +10 -4
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/layout/layout.types.d.ts +16 -0
- package/dist/components/layout/layout.types.d.ts.map +1 -1
- package/dist/components/menus/context-menu/ContextMenuContent.d.ts +23 -0
- package/dist/components/menus/context-menu/ContextMenuContent.d.ts.map +1 -0
- package/dist/components/menus/context-menu/ContextMenuGroup.d.ts +15 -0
- package/dist/components/menus/context-menu/ContextMenuGroup.d.ts.map +1 -0
- package/dist/components/menus/context-menu/ContextMenuItem.d.ts +15 -0
- package/dist/components/menus/context-menu/ContextMenuItem.d.ts.map +1 -0
- package/dist/components/menus/context-menu/ContextMenuLabel.d.ts +15 -0
- package/dist/components/menus/context-menu/ContextMenuLabel.d.ts.map +1 -0
- package/dist/components/menus/context-menu/ContextMenuRoot.d.ts +48 -0
- package/dist/components/menus/context-menu/ContextMenuRoot.d.ts.map +1 -0
- package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts +15 -0
- package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts.map +1 -0
- package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts +17 -0
- package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts.map +1 -0
- package/dist/components/menus/context-menu/index.d.ts +13 -0
- package/dist/components/menus/context-menu/index.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts +19 -0
- package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuContent.d.ts +16 -0
- package/dist/components/menus/dropdown/DropdownMenuContent.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts +13 -0
- package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuItem.d.ts +31 -0
- package/dist/components/menus/dropdown/DropdownMenuItem.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts +18 -0
- package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts +25 -0
- package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts +19 -0
- package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts +34 -0
- package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts +14 -0
- package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuSub.d.ts +11 -0
- package/dist/components/menus/dropdown/DropdownMenuSub.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts +14 -0
- package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts +14 -0
- package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts.map +1 -0
- package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts +15 -0
- package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts.map +1 -0
- package/dist/components/menus/dropdown/index.d.ts +19 -0
- package/dist/components/menus/dropdown/index.d.ts.map +1 -0
- package/dist/components/menus/hover-card/HoverCardContent.d.ts +15 -0
- package/dist/components/menus/hover-card/HoverCardContent.d.ts.map +1 -0
- package/dist/components/menus/hover-card/HoverCardRoot.d.ts +21 -0
- package/dist/components/menus/hover-card/HoverCardRoot.d.ts.map +1 -0
- package/dist/components/menus/hover-card/HoverCardTrigger.d.ts +14 -0
- package/dist/components/menus/hover-card/HoverCardTrigger.d.ts.map +1 -0
- package/dist/components/menus/hover-card/index.d.ts +9 -0
- package/dist/components/menus/hover-card/index.d.ts.map +1 -0
- package/dist/components/menus/index.d.ts +10 -0
- package/dist/components/menus/index.d.ts.map +1 -0
- package/dist/components/menus/popover/PopoverArrow.d.ts +18 -0
- package/dist/components/menus/popover/PopoverArrow.d.ts.map +1 -0
- package/dist/components/menus/popover/PopoverContent.d.ts +25 -0
- package/dist/components/menus/popover/PopoverContent.d.ts.map +1 -0
- package/dist/components/menus/popover/PopoverRoot.d.ts +44 -0
- package/dist/components/menus/popover/PopoverRoot.d.ts.map +1 -0
- package/dist/components/menus/popover/PopoverTrigger.d.ts +18 -0
- package/dist/components/menus/popover/PopoverTrigger.d.ts.map +1 -0
- package/dist/components/menus/popover/index.d.ts +10 -0
- package/dist/components/menus/popover/index.d.ts.map +1 -0
- package/dist/components/modal/Modal.d.ts +71 -0
- package/dist/components/modal/Modal.d.ts.map +1 -0
- package/dist/components/modal/modal-variants.d.ts +27 -0
- package/dist/components/modal/modal-variants.d.ts.map +1 -0
- package/dist/components/modals/ConfirmDialog.d.ts +3 -2
- package/dist/components/modals/ConfirmDialog.d.ts.map +1 -1
- package/dist/components/modals/Modal.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +53 -0
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts.map +1 -0
- package/dist/components/navigation/breadcrumbs/index.d.ts +6 -0
- package/dist/components/navigation/breadcrumbs/index.d.ts.map +1 -0
- package/dist/components/navigation/index.d.ts +11 -0
- package/dist/components/navigation/index.d.ts.map +1 -0
- package/dist/components/navigation/pagination/Pagination.d.ts +61 -0
- package/dist/components/navigation/pagination/Pagination.d.ts.map +1 -0
- package/dist/components/navigation/pagination/index.d.ts +6 -0
- package/dist/components/navigation/pagination/index.d.ts.map +1 -0
- package/dist/components/navigation/segmented-control/SegmentedControl.d.ts +44 -0
- package/dist/components/navigation/segmented-control/SegmentedControl.d.ts.map +1 -0
- package/dist/components/navigation/segmented-control/index.d.ts +6 -0
- package/dist/components/navigation/segmented-control/index.d.ts.map +1 -0
- package/dist/components/navigation/stepper/Stepper.d.ts +130 -0
- package/dist/components/navigation/stepper/Stepper.d.ts.map +1 -0
- package/dist/components/navigation/stepper/index.d.ts +6 -0
- package/dist/components/navigation/stepper/index.d.ts.map +1 -0
- package/dist/components/navigation/tabs/Tabs.d.ts +74 -0
- package/dist/components/navigation/tabs/Tabs.d.ts.map +1 -0
- package/dist/components/navigation/tabs/index.d.ts +6 -0
- package/dist/components/navigation/tabs/index.d.ts.map +1 -0
- package/dist/components/notifications/NotificationCenter.DismissAll.d.ts +22 -0
- package/dist/components/notifications/NotificationCenter.DismissAll.d.ts.map +1 -0
- package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts +24 -0
- package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts.map +1 -0
- package/dist/components/notifications/NotificationCenter.Item.d.ts +25 -0
- package/dist/components/notifications/NotificationCenter.Item.d.ts.map +1 -0
- package/dist/components/notifications/NotificationCenter.List.d.ts +23 -0
- package/dist/components/notifications/NotificationCenter.List.d.ts.map +1 -0
- package/dist/components/notifications/NotificationCenter.Panel.d.ts +33 -0
- package/dist/components/notifications/NotificationCenter.Panel.d.ts.map +1 -0
- package/dist/components/notifications/NotificationCenter.Provider.d.ts +32 -0
- package/dist/components/notifications/NotificationCenter.Provider.d.ts.map +1 -0
- package/dist/components/notifications/NotificationCenter.Trigger.d.ts +16 -0
- package/dist/components/notifications/NotificationCenter.Trigger.d.ts.map +1 -0
- package/dist/components/notifications/NotificationCenter.d.ts +28 -0
- package/dist/components/notifications/NotificationCenter.d.ts.map +1 -0
- package/dist/components/notifications/NotificationCenter.types.d.ts +90 -0
- package/dist/components/notifications/NotificationCenter.types.d.ts.map +1 -0
- package/dist/components/notifications/index.d.ts +24 -0
- package/dist/components/notifications/index.d.ts.map +1 -0
- package/dist/components/notifications/useNotificationCenter.d.ts +48 -0
- package/dist/components/notifications/useNotificationCenter.d.ts.map +1 -0
- package/dist/components/overlays/Backdrop.d.ts +25 -0
- package/dist/components/overlays/Backdrop.d.ts.map +1 -0
- package/dist/components/overlays/Dialog.d.ts +67 -0
- package/dist/components/overlays/Dialog.d.ts.map +1 -0
- package/dist/components/overlays/Modal.d.ts +61 -0
- package/dist/components/overlays/Modal.d.ts.map +1 -0
- package/dist/components/overlays/Popover.d.ts +2 -2
- package/dist/components/overlays/Popover.d.ts.map +1 -1
- package/dist/components/overlays/Portal.d.ts +30 -0
- package/dist/components/overlays/Portal.d.ts.map +1 -0
- package/dist/components/overlays/Toast.d.ts +37 -0
- package/dist/components/overlays/Toast.d.ts.map +1 -0
- package/dist/components/overlays/ToastProvider.d.ts +59 -0
- package/dist/components/overlays/ToastProvider.d.ts.map +1 -0
- package/dist/components/overlays/ToastViewport.d.ts +28 -0
- package/dist/components/overlays/ToastViewport.d.ts.map +1 -0
- package/dist/components/overlays/Tooltip.d.ts +2 -2
- package/dist/components/overlays/Tooltip.d.ts.map +1 -1
- package/dist/components/overlays/index.d.ts +14 -0
- package/dist/components/overlays/index.d.ts.map +1 -0
- package/dist/components/overlays/utils/FocusLock.d.ts +31 -0
- package/dist/components/overlays/utils/FocusLock.d.ts.map +1 -0
- package/dist/components/overlays/utils/ScrollLock.d.ts +12 -0
- package/dist/components/overlays/utils/ScrollLock.d.ts.map +1 -0
- package/dist/components/overlays/utils/positioning.d.ts +69 -0
- package/dist/components/overlays/utils/positioning.d.ts.map +1 -0
- package/dist/components/primitives/Badge.d.ts +1 -1
- package/dist/components/primitives/Divider.d.ts.map +1 -1
- package/dist/components/primitives/Input.d.ts +2 -2
- package/dist/components/primitives/Input.d.ts.map +1 -1
- package/dist/components/primitives/Link.d.ts +1 -1
- package/dist/components/primitives/ThemeSwitch.d.ts +3 -2
- package/dist/components/primitives/ThemeSwitch.d.ts.map +1 -1
- package/dist/components/radio/Radio.d.ts +24 -0
- package/dist/components/radio/Radio.d.ts.map +1 -0
- package/dist/components/radio/Radio.types.d.ts +64 -0
- package/dist/components/radio/Radio.types.d.ts.map +1 -0
- package/dist/components/radio/RadioGroup.d.ts +21 -0
- package/dist/components/radio/RadioGroup.d.ts.map +1 -0
- package/dist/components/radio/RadioGroup.types.d.ts +62 -0
- package/dist/components/radio/RadioGroup.types.d.ts.map +1 -0
- package/dist/components/radio/index.d.ts +6 -0
- package/dist/components/radio/index.d.ts.map +1 -0
- package/dist/components/radio/radio-variants.d.ts +14 -0
- package/dist/components/radio/radio-variants.d.ts.map +1 -0
- package/dist/components/sections/ArticlesSection.d.ts.map +1 -1
- package/dist/components/sections/CTASection.d.ts.map +1 -1
- package/dist/components/sections/FeatureSection.d.ts.map +1 -1
- package/dist/components/sections/HeroSection.d.ts.map +1 -1
- package/dist/components/sections/TrendingSection.d.ts.map +1 -1
- package/dist/components/select/Select.d.ts +39 -0
- package/dist/components/select/Select.d.ts.map +1 -0
- package/dist/components/select/Select.types.d.ts +108 -0
- package/dist/components/select/Select.types.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +6 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/legacy/select.d.ts +12 -0
- package/dist/components/select/legacy/select.d.ts.map +1 -0
- package/dist/components/select/select-variants.d.ts +33 -0
- package/dist/components/select/select-variants.d.ts.map +1 -0
- package/dist/components/skeletons/EventCardSkeleton.d.ts.map +1 -1
- package/dist/components/skeletons/VenueCardSkeleton.d.ts.map +1 -1
- package/dist/components/switch/Switch.d.ts +25 -0
- package/dist/components/switch/Switch.d.ts.map +1 -0
- package/dist/components/switch/Switch.types.d.ts +54 -0
- package/dist/components/switch/Switch.types.d.ts.map +1 -0
- package/dist/components/switch/index.d.ts +4 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/switch/switch-variants.d.ts +35 -0
- package/dist/components/switch/switch-variants.d.ts.map +1 -0
- package/dist/components/textarea/Textarea.d.ts +22 -0
- package/dist/components/textarea/Textarea.d.ts.map +1 -0
- package/dist/components/textarea/Textarea.types.d.ts +41 -0
- package/dist/components/textarea/Textarea.types.d.ts.map +1 -0
- package/dist/components/textarea/index.d.ts +4 -0
- package/dist/components/textarea/index.d.ts.map +1 -0
- package/dist/components/textarea/legacy/textarea.d.ts +12 -0
- package/dist/components/textarea/legacy/textarea.d.ts.map +1 -0
- package/dist/components/textarea/textarea-variants.d.ts +15 -0
- package/dist/components/textarea/textarea-variants.d.ts.map +1 -0
- package/dist/components/toasts/Toast.d.ts +1 -1
- package/dist/components/toasts/Toast.d.ts.map +1 -1
- package/dist/components/toasts/ToastProvider.d.ts.map +1 -1
- package/dist/components/ui/alert.d.ts +10 -0
- package/dist/components/ui/alert.d.ts.map +1 -0
- package/dist/components/ui/body.d.ts +13 -0
- package/dist/components/ui/body.d.ts.map +1 -0
- package/dist/components/ui/button.d.ts +2 -2
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/caption.d.ts +12 -0
- package/dist/components/ui/caption.d.ts.map +1 -0
- package/dist/components/ui/code.d.ts +12 -0
- package/dist/components/ui/code.d.ts.map +1 -0
- package/dist/components/ui/display.d.ts +13 -0
- package/dist/components/ui/display.d.ts.map +1 -0
- package/dist/components/ui/field.d.ts +46 -0
- package/dist/components/ui/field.d.ts.map +1 -0
- package/dist/components/ui/heading.d.ts +13 -0
- package/dist/components/ui/heading.d.ts.map +1 -0
- package/dist/components/ui/label.d.ts +9 -2
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/lead.d.ts +12 -0
- package/dist/components/ui/lead.d.ts.map +1 -0
- package/dist/components/ui/text.d.ts +19 -0
- package/dist/components/ui/text.d.ts.map +1 -0
- package/dist/hooks/use-toast.d.ts.map +1 -1
- package/dist/hooks/useDebounce.d.ts.map +1 -1
- package/dist/hooks/useModal.d.ts.map +1 -1
- package/dist/hooks/useToast.d.ts.map +1 -1
- package/dist/icons/IconArrowRight.d.ts +7 -0
- package/dist/icons/IconArrowRight.d.ts.map +1 -0
- package/dist/icons/IconCalendar.d.ts +7 -0
- package/dist/icons/IconCalendar.d.ts.map +1 -0
- package/dist/icons/IconCheck.d.ts +7 -0
- package/dist/icons/IconCheck.d.ts.map +1 -0
- package/dist/icons/IconChevronDown.d.ts +7 -0
- package/dist/icons/IconChevronDown.d.ts.map +1 -0
- package/dist/icons/IconChevronRight.d.ts +7 -0
- package/dist/icons/IconChevronRight.d.ts.map +1 -0
- package/dist/icons/IconClose.d.ts +7 -0
- package/dist/icons/IconClose.d.ts.map +1 -0
- package/dist/icons/IconError.d.ts +7 -0
- package/dist/icons/IconError.d.ts.map +1 -0
- package/dist/icons/IconInfo.d.ts +7 -0
- package/dist/icons/IconInfo.d.ts.map +1 -0
- package/dist/icons/IconLocation.d.ts +7 -0
- package/dist/icons/IconLocation.d.ts.map +1 -0
- package/dist/icons/IconMenu.d.ts +7 -0
- package/dist/icons/IconMenu.d.ts.map +1 -0
- package/dist/icons/IconSearch.d.ts +7 -0
- package/dist/icons/IconSearch.d.ts.map +1 -0
- package/dist/icons/IconSuccess.d.ts +7 -0
- package/dist/icons/IconSuccess.d.ts.map +1 -0
- package/dist/icons/IconWarning.d.ts +7 -0
- package/dist/icons/IconWarning.d.ts.map +1 -0
- package/dist/icons/icon.types.d.ts +26 -0
- package/dist/icons/icon.types.d.ts.map +1 -0
- package/dist/icons/index.d.ts +35 -0
- package/dist/icons/index.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +37 -75
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +7675 -5926
- package/dist/{motion-CuHacXY1.js → motion-CzQhSEqk.js} +122 -106
- package/dist/motion-DJx1TbXJ.cjs +2 -0
- package/dist/preset.cjs +1 -1
- package/dist/preset.d.ts.map +1 -1
- package/dist/preset.mjs +172 -53
- package/dist/styles.cjs +2 -0
- package/dist/styles.css +1 -1
- package/dist/styles.d.ts +1 -0
- package/dist/styles.d.ts.map +1 -0
- package/dist/styles.mjs +1 -0
- package/dist/theme/ThemeProvider.d.ts +1 -1
- package/dist/theme/ThemeProvider.d.ts.map +1 -1
- package/dist/theme/applyMode.d.ts.map +1 -1
- package/dist/theme/colors.d.ts +6 -70
- package/dist/theme/colors.d.ts.map +1 -1
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.d.ts +1 -1
- package/dist/theme/index.d.ts.map +1 -1
- package/dist/theme/index.mjs +1352 -224
- package/dist/theme/motion/gestures.d.ts +77 -0
- package/dist/theme/motion/gestures.d.ts.map +1 -0
- package/dist/theme/motion/useReducedMotion.d.ts +12 -0
- package/dist/theme/motion/useReducedMotion.d.ts.map +1 -0
- package/dist/themes/brand_engine.d.ts +7 -0
- package/dist/themes/brand_engine.d.ts.map +1 -1
- package/dist/tokens/colors.d.ts +14 -19
- package/dist/tokens/colors.d.ts.map +1 -1
- package/dist/tokens/components/alert.d.ts +75 -0
- package/dist/tokens/components/alert.d.ts.map +1 -0
- package/dist/tokens/components/button.d.ts +131 -0
- package/dist/tokens/components/button.d.ts.map +1 -0
- package/dist/tokens/components/card.d.ts +92 -0
- package/dist/tokens/components/card.d.ts.map +1 -0
- package/dist/tokens/components/checkbox.d.ts +162 -0
- package/dist/tokens/components/checkbox.d.ts.map +1 -0
- package/dist/tokens/components/data.d.ts +228 -0
- package/dist/tokens/components/data.d.ts.map +1 -0
- package/dist/tokens/components/domain.d.ts +380 -0
- package/dist/tokens/components/domain.d.ts.map +1 -0
- package/dist/tokens/components/dropdown.d.ts +147 -0
- package/dist/tokens/components/dropdown.d.ts.map +1 -0
- package/dist/tokens/components/icon.d.ts +58 -0
- package/dist/tokens/components/icon.d.ts.map +1 -0
- package/dist/tokens/components/index.d.ts +32 -0
- package/dist/tokens/components/index.d.ts.map +1 -0
- package/dist/tokens/components/input.d.ts +285 -0
- package/dist/tokens/components/input.d.ts.map +1 -0
- package/dist/tokens/components/menu.d.ts +115 -0
- package/dist/tokens/components/menu.d.ts.map +1 -0
- package/dist/tokens/components/motion.d.ts +104 -0
- package/dist/tokens/components/motion.d.ts.map +1 -0
- package/dist/tokens/components/navigation.d.ts +182 -0
- package/dist/tokens/components/navigation.d.ts.map +1 -0
- package/dist/tokens/components/notifications.d.ts +160 -0
- package/dist/tokens/components/notifications.d.ts.map +1 -0
- package/dist/tokens/components/overlay.d.ts +228 -0
- package/dist/tokens/components/overlay.d.ts.map +1 -0
- package/dist/tokens/components/popover.d.ts +85 -0
- package/dist/tokens/components/popover.d.ts.map +1 -0
- package/dist/tokens/components/radio.d.ts +150 -0
- package/dist/tokens/components/radio.d.ts.map +1 -0
- package/dist/tokens/components/section.d.ts +42 -0
- package/dist/tokens/components/section.d.ts.map +1 -0
- package/dist/tokens/components/surface.d.ts +95 -0
- package/dist/tokens/components/surface.d.ts.map +1 -0
- package/dist/tokens/components/switch.d.ts +209 -0
- package/dist/tokens/components/switch.d.ts.map +1 -0
- package/dist/tokens/components/text.d.ts +69 -0
- package/dist/tokens/components/text.d.ts.map +1 -0
- package/dist/tokens/components/toast.d.ts +147 -0
- package/dist/tokens/components/toast.d.ts.map +1 -0
- package/dist/tokens/components/tooltip.d.ts +53 -0
- package/dist/tokens/components/tooltip.d.ts.map +1 -0
- package/dist/tokens/css-variables.d.ts +0 -19
- package/dist/tokens/css-variables.d.ts.map +1 -1
- package/dist/tokens/index.cjs +3 -3
- package/dist/tokens/index.d.ts +2 -0
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.mjs +3640 -821
- package/dist/tokens/motion/v2.d.ts +343 -0
- package/dist/tokens/motion/v2.d.ts.map +1 -0
- package/dist/tokens/motion.d.ts +55 -4
- package/dist/tokens/motion.d.ts.map +1 -1
- package/dist/tokens/opacity.d.ts +23 -0
- package/dist/tokens/opacity.d.ts.map +1 -0
- package/dist/tokens/radius.d.ts +22 -1
- package/dist/tokens/radius.d.ts.map +1 -1
- package/dist/tokens/shadows.d.ts +64 -5
- package/dist/tokens/shadows.d.ts.map +1 -1
- package/dist/tokens/spacing.d.ts +47 -1
- package/dist/tokens/spacing.d.ts.map +1 -1
- package/dist/tokens/theme.d.ts +120 -0
- package/dist/tokens/theme.d.ts.map +1 -0
- package/dist/tokens/typography.d.ts +141 -23
- package/dist/tokens/typography.d.ts.map +1 -1
- package/dist/typography-C-Nb4y0o.cjs +2 -0
- package/dist/typography-DHym9KAP.js +1196 -0
- package/package.json +31 -22
- package/dist/ThemeProvider-CaUX_Jam.cjs +0 -2
- package/dist/ThemeProvider-ltuW-773.js +0 -1227
- package/dist/components/cards/EventCard.d.ts.map +0 -1
- package/dist/components/cards/VenueCard.d.ts.map +0 -1
- package/dist/components/feedback/Alert.d.ts +0 -10
- package/dist/components/feedback/Alert.d.ts.map +0 -1
- package/dist/components/forms/FormInput.d.ts +0 -12
- package/dist/components/forms/FormInput.d.ts.map +0 -1
- package/dist/components/forms/FormSelect.d.ts +0 -18
- package/dist/components/forms/FormSelect.d.ts.map +0 -1
- package/dist/components/forms/FormTextarea.d.ts +0 -11
- package/dist/components/forms/FormTextarea.d.ts.map +0 -1
- package/dist/components/primitives/Typography.d.ts +0 -21
- package/dist/components/primitives/Typography.d.ts.map +0 -1
- package/dist/components/ui/input.d.ts +0 -4
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/motion-4SRNkZlz.cjs +0 -2
- package/dist/radius-CAu4qr9R.js +0 -185
- package/dist/radius-Cz6tayZG.cjs +0 -2
- package/dist/test/animation-utils.d.ts +0 -60
- package/dist/test/animation-utils.d.ts.map +0 -1
- package/dist/test/setup.d.ts +0 -1
- package/dist/test/setup.d.ts.map +0 -1
|
@@ -0,0 +1,85 @@
|
|
|
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;
|
|
85
|
+
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/popover.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH;;;;;GAKG;AACH,eAAO,MAAM,cAAc;IACzB;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCH;;;OAGG;;;;;;;;;;;IAYH;;;;OAIG;;;;;CAKK,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,MAAM,OAAO,cAAc,CAAC,OAAO,CAAC,OAAO,CAAC;AAChF,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,cAAc,CAAC,OAAO,CAAC,MAAM,CAAC;AAC9E,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,cAAc,CAAC,OAAO,CAAC,MAAM,CAAC;AAC9E,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,cAAc,CAAC,OAAO,CAAC,KAAK,CAAC;AAC5E,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,cAAc,CAAC,KAAK,CAAC,IAAI,CAAC;AACtE,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC"}
|
|
@@ -0,0 +1,150 @@
|
|
|
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;
|
|
150
|
+
//# sourceMappingURL=radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/radio.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH;;;;;;GAMG;AACH,eAAO,MAAM,YAAY;IACvB;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;IAsBH;;;OAGG;;;;;;;;;;;;;;;IAgBH;;;OAGG;;IAGH;;;OAGG;;CAEK,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,YAAY,CAAC,IAAI,CAAC;AACvD,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,YAAY,CAAC,OAAO,CAAC;AAC7D,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
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;
|
|
42
|
+
//# sourceMappingURL=section.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"section.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/section.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH;;;;;GAKG;AACH,eAAO,MAAM,cAAc;IACzB;;;OAGG;;;;;;;IAQH;;;OAGG;;;;;;;CAOK,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,cAAc,CAAC,OAAO,CAAC;AACjE,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,cAAc,CAAC,OAAO,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Surface Component Tokens
|
|
3
|
+
*
|
|
4
|
+
* Component-level design tokens for Surface component.
|
|
5
|
+
* Maps foundation tokens (spacing, radius, shadows) to surface-specific usage.
|
|
6
|
+
*
|
|
7
|
+
* Defines tokens for flat, raised, sunken, outline, and subtle surface variants.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Surface Component Tokens
|
|
11
|
+
*
|
|
12
|
+
* Defines spacing, radius, and shadow tokens for Surface component variants.
|
|
13
|
+
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
+
*/
|
|
15
|
+
export declare const SURFACE_TOKENS: {
|
|
16
|
+
/**
|
|
17
|
+
* Padding values for surface variants
|
|
18
|
+
* Can be customized per variant if needed
|
|
19
|
+
*/
|
|
20
|
+
readonly padding: {
|
|
21
|
+
readonly default: "p-md";
|
|
22
|
+
readonly sm: "p-sm";
|
|
23
|
+
readonly md: "p-md";
|
|
24
|
+
readonly lg: "p-lg";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Border radius for surfaces
|
|
28
|
+
*/
|
|
29
|
+
readonly radius: {
|
|
30
|
+
readonly default: "rounded-md";
|
|
31
|
+
readonly sm: "rounded-sm";
|
|
32
|
+
readonly md: "rounded-md";
|
|
33
|
+
readonly lg: "rounded-lg";
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Shadow tokens by surface variant
|
|
37
|
+
* Maps to foundation elevation shadow tokens
|
|
38
|
+
*/
|
|
39
|
+
readonly shadow: {
|
|
40
|
+
readonly flat: "shadow-none";
|
|
41
|
+
readonly raised: "shadow-sm";
|
|
42
|
+
readonly sunken: "shadow-none";
|
|
43
|
+
readonly outline: "shadow-none";
|
|
44
|
+
readonly subtle: "shadow-none";
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Variant-based token structure
|
|
48
|
+
* Organized by variant for easy access
|
|
49
|
+
*/
|
|
50
|
+
readonly variant: {
|
|
51
|
+
readonly flat: {
|
|
52
|
+
readonly padding: "p-md";
|
|
53
|
+
readonly radius: "rounded-md";
|
|
54
|
+
readonly shadow: "shadow-none";
|
|
55
|
+
readonly bg: "bg-background";
|
|
56
|
+
readonly border: "border border-border";
|
|
57
|
+
};
|
|
58
|
+
readonly raised: {
|
|
59
|
+
readonly padding: "p-md";
|
|
60
|
+
readonly radius: "rounded-md";
|
|
61
|
+
readonly shadow: "shadow-sm";
|
|
62
|
+
readonly bg: "bg-card";
|
|
63
|
+
readonly border: "border border-border";
|
|
64
|
+
};
|
|
65
|
+
readonly sunken: {
|
|
66
|
+
readonly padding: "p-md";
|
|
67
|
+
readonly radius: "rounded-md";
|
|
68
|
+
readonly shadow: "shadow-none";
|
|
69
|
+
readonly bg: "bg-muted";
|
|
70
|
+
readonly border: "border border-border";
|
|
71
|
+
};
|
|
72
|
+
readonly outline: {
|
|
73
|
+
readonly padding: "p-md";
|
|
74
|
+
readonly radius: "rounded-md";
|
|
75
|
+
readonly shadow: "shadow-none";
|
|
76
|
+
readonly bg: "bg-transparent";
|
|
77
|
+
readonly border: "border-2 border-border";
|
|
78
|
+
};
|
|
79
|
+
readonly subtle: {
|
|
80
|
+
readonly padding: "p-md";
|
|
81
|
+
readonly radius: "rounded-md";
|
|
82
|
+
readonly shadow: "shadow-none";
|
|
83
|
+
readonly bg: "bg-muted/50";
|
|
84
|
+
readonly border: "border border-border/50";
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Type exports for Surface tokens
|
|
90
|
+
*/
|
|
91
|
+
export type SurfacePadding = keyof typeof SURFACE_TOKENS.padding;
|
|
92
|
+
export type SurfaceRadius = keyof typeof SURFACE_TOKENS.radius;
|
|
93
|
+
export type SurfaceShadow = keyof typeof SURFACE_TOKENS.shadow;
|
|
94
|
+
export type SurfaceVariant = keyof typeof SURFACE_TOKENS.variant;
|
|
95
|
+
//# sourceMappingURL=surface.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"surface.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/surface.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH;;;;;GAKG;AACH,eAAO,MAAM,cAAc;IACzB;;;OAGG;;;;;;;IAQH;;OAEG;;;;;;;IAQH;;;OAGG;;;;;;;;IASH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCK,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,cAAc,CAAC,OAAO,CAAC;AACjE,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,cAAc,CAAC,MAAM,CAAC;AAC/D,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,cAAc,CAAC,MAAM,CAAC;AAC/D,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,cAAc,CAAC,OAAO,CAAC"}
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Switch Component Tokens
|
|
3
|
+
*
|
|
4
|
+
* Component-level design tokens for Switch component.
|
|
5
|
+
* Maps foundation tokens (spacing, typography, radius, shadows, motion) to switch-specific usage.
|
|
6
|
+
* All color values use CSS variables for theme-aware styling.
|
|
7
|
+
*
|
|
8
|
+
* Switch consists of a track (container) and handle (thumb) that slides within the track.
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Switch Component Tokens
|
|
12
|
+
*
|
|
13
|
+
* Defines spacing, sizing, and visual tokens for Switch component.
|
|
14
|
+
* All colors use CSS variable references (hsl(var(--token))) for theme-aware styling.
|
|
15
|
+
* Switch track is wider than tall, with a circular handle that slides within.
|
|
16
|
+
*/
|
|
17
|
+
export declare const SWITCH_TOKENS: {
|
|
18
|
+
/**
|
|
19
|
+
* Track sizes by size variant
|
|
20
|
+
* Supports xs, sm, md, lg, xl sizes
|
|
21
|
+
* Track is wider than tall (typical switch proportions)
|
|
22
|
+
*/
|
|
23
|
+
readonly track: {
|
|
24
|
+
readonly xs: {
|
|
25
|
+
readonly width: "w-8";
|
|
26
|
+
readonly height: "h-4";
|
|
27
|
+
readonly radius: "rounded-full";
|
|
28
|
+
};
|
|
29
|
+
readonly sm: {
|
|
30
|
+
readonly width: "w-9";
|
|
31
|
+
readonly height: "h-5";
|
|
32
|
+
readonly radius: "rounded-full";
|
|
33
|
+
};
|
|
34
|
+
readonly md: {
|
|
35
|
+
readonly width: "w-11";
|
|
36
|
+
readonly height: "h-6";
|
|
37
|
+
readonly radius: "rounded-full";
|
|
38
|
+
};
|
|
39
|
+
readonly lg: {
|
|
40
|
+
readonly width: "w-14";
|
|
41
|
+
readonly height: "h-7";
|
|
42
|
+
readonly radius: "rounded-full";
|
|
43
|
+
};
|
|
44
|
+
readonly xl: {
|
|
45
|
+
readonly width: "w-16";
|
|
46
|
+
readonly height: "h-8";
|
|
47
|
+
readonly radius: "rounded-full";
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Handle sizes by size variant
|
|
52
|
+
* Circular thumb that slides within the track
|
|
53
|
+
* Slightly smaller than track height to allow for padding
|
|
54
|
+
*/
|
|
55
|
+
readonly handle: {
|
|
56
|
+
readonly xs: {
|
|
57
|
+
readonly width: "w-3";
|
|
58
|
+
readonly height: "h-3";
|
|
59
|
+
readonly radius: "rounded-full";
|
|
60
|
+
readonly translate: "translate-x-4";
|
|
61
|
+
};
|
|
62
|
+
readonly sm: {
|
|
63
|
+
readonly width: "w-4";
|
|
64
|
+
readonly height: "h-4";
|
|
65
|
+
readonly radius: "rounded-full";
|
|
66
|
+
readonly translate: "translate-x-4";
|
|
67
|
+
};
|
|
68
|
+
readonly md: {
|
|
69
|
+
readonly width: "w-5";
|
|
70
|
+
readonly height: "h-5";
|
|
71
|
+
readonly radius: "rounded-full";
|
|
72
|
+
readonly translate: "translate-x-5";
|
|
73
|
+
};
|
|
74
|
+
readonly lg: {
|
|
75
|
+
readonly width: "w-6";
|
|
76
|
+
readonly height: "h-6";
|
|
77
|
+
readonly radius: "rounded-full";
|
|
78
|
+
readonly translate: "translate-x-7";
|
|
79
|
+
};
|
|
80
|
+
readonly xl: {
|
|
81
|
+
readonly width: "w-7";
|
|
82
|
+
readonly height: "h-7";
|
|
83
|
+
readonly radius: "rounded-full";
|
|
84
|
+
readonly translate: "translate-x-8";
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
* Handle positioning tokens
|
|
88
|
+
* For absolute positioning within the track
|
|
89
|
+
*/
|
|
90
|
+
readonly position: {
|
|
91
|
+
readonly left: "left-xs";
|
|
92
|
+
readonly top: "top-1/2";
|
|
93
|
+
readonly center: "-translate-y-1/2";
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
/**
|
|
97
|
+
* Variant-based tokens
|
|
98
|
+
* Track and handle colors for different variants
|
|
99
|
+
* All use CSS variable references for theme support
|
|
100
|
+
*/
|
|
101
|
+
readonly variant: {
|
|
102
|
+
readonly primary: {
|
|
103
|
+
readonly track: {
|
|
104
|
+
readonly unchecked: "bg-[hsl(var(--input))]";
|
|
105
|
+
readonly checked: "bg-[hsl(var(--tm-primary))]";
|
|
106
|
+
};
|
|
107
|
+
readonly handle: {
|
|
108
|
+
readonly unchecked: "bg-[hsl(var(--muted))]";
|
|
109
|
+
readonly checked: "bg-[hsl(var(--tm-primary-foreground))]";
|
|
110
|
+
};
|
|
111
|
+
readonly focus: "focus-visible:shadow-[var(--focus-ring-primary)]";
|
|
112
|
+
};
|
|
113
|
+
readonly secondary: {
|
|
114
|
+
readonly track: {
|
|
115
|
+
readonly unchecked: "bg-[hsl(var(--input))]";
|
|
116
|
+
readonly checked: "bg-[hsl(var(--tm-secondary))]";
|
|
117
|
+
};
|
|
118
|
+
readonly handle: {
|
|
119
|
+
readonly unchecked: "bg-[hsl(var(--muted))]";
|
|
120
|
+
readonly checked: "bg-[hsl(var(--tm-secondary-foreground))]";
|
|
121
|
+
};
|
|
122
|
+
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
123
|
+
};
|
|
124
|
+
readonly outline: {
|
|
125
|
+
readonly track: {
|
|
126
|
+
readonly unchecked: "bg-[hsl(var(--input))]";
|
|
127
|
+
readonly checked: "bg-[hsl(var(--tm-primary))]";
|
|
128
|
+
};
|
|
129
|
+
readonly handle: {
|
|
130
|
+
readonly unchecked: "bg-[hsl(var(--muted))]";
|
|
131
|
+
readonly checked: "bg-[hsl(var(--tm-primary-foreground))]";
|
|
132
|
+
};
|
|
133
|
+
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
134
|
+
};
|
|
135
|
+
readonly ghost: {
|
|
136
|
+
readonly track: {
|
|
137
|
+
readonly unchecked: "bg-[hsl(var(--muted))]";
|
|
138
|
+
readonly checked: "bg-[hsl(var(--tm-primary))]";
|
|
139
|
+
};
|
|
140
|
+
readonly handle: {
|
|
141
|
+
readonly unchecked: "bg-[hsl(var(--muted-foreground))]";
|
|
142
|
+
readonly checked: "bg-[hsl(var(--tm-primary-foreground))]";
|
|
143
|
+
};
|
|
144
|
+
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
145
|
+
};
|
|
146
|
+
readonly destructive: {
|
|
147
|
+
readonly track: {
|
|
148
|
+
readonly unchecked: "bg-[hsl(var(--input))]";
|
|
149
|
+
readonly checked: "bg-[hsl(var(--destructive))]";
|
|
150
|
+
};
|
|
151
|
+
readonly handle: {
|
|
152
|
+
readonly unchecked: "bg-[hsl(var(--muted))]";
|
|
153
|
+
readonly checked: "bg-[hsl(var(--destructive-foreground))]";
|
|
154
|
+
};
|
|
155
|
+
readonly focus: "focus-visible:shadow-[var(--focus-ring-default)]";
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* State-based tokens
|
|
160
|
+
* Track and handle colors for different states
|
|
161
|
+
* All use CSS variable references for theme support
|
|
162
|
+
*/
|
|
163
|
+
readonly state: {
|
|
164
|
+
readonly track: {
|
|
165
|
+
readonly default: "bg-[hsl(var(--input))]";
|
|
166
|
+
readonly checked: "bg-[hsl(var(--tm-primary))]";
|
|
167
|
+
readonly disabled: "bg-[hsl(var(--muted))]";
|
|
168
|
+
readonly disabledChecked: "bg-[hsl(var(--muted))]";
|
|
169
|
+
readonly error: "bg-[hsl(var(--destructive))]";
|
|
170
|
+
};
|
|
171
|
+
readonly handle: {
|
|
172
|
+
readonly default: "bg-[hsl(var(--muted-foreground))]";
|
|
173
|
+
readonly checked: "bg-[hsl(var(--tm-primary-foreground))]";
|
|
174
|
+
readonly disabled: "bg-[hsl(var(--muted-foreground))]";
|
|
175
|
+
readonly disabledChecked: "bg-[hsl(var(--muted-foreground))]";
|
|
176
|
+
readonly error: "bg-[hsl(var(--destructive-foreground))]";
|
|
177
|
+
};
|
|
178
|
+
readonly opacity: {
|
|
179
|
+
readonly disabled: "opacity-50";
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
/**
|
|
183
|
+
* Transition tokens
|
|
184
|
+
* Smooth transitions for handle animation and state changes
|
|
185
|
+
* Uses motion tokens for duration and easing
|
|
186
|
+
*/
|
|
187
|
+
readonly transition: {
|
|
188
|
+
readonly handle: "transition-transform duration-300 ease-in-out";
|
|
189
|
+
readonly track: "transition-colors duration-300 ease-in-out";
|
|
190
|
+
readonly combined: "transition-all duration-300 ease-in-out";
|
|
191
|
+
};
|
|
192
|
+
/**
|
|
193
|
+
* Shadow token
|
|
194
|
+
* Maps to foundation elevation shadow tokens
|
|
195
|
+
*/
|
|
196
|
+
readonly shadow: "shadow-sm";
|
|
197
|
+
/**
|
|
198
|
+
* Padding token
|
|
199
|
+
* Space between track edge and handle
|
|
200
|
+
*/
|
|
201
|
+
readonly padding: "p-0.5";
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* Type exports for Switch tokens
|
|
205
|
+
*/
|
|
206
|
+
export type SwitchSize = keyof typeof SWITCH_TOKENS.track;
|
|
207
|
+
export type SwitchVariant = keyof typeof SWITCH_TOKENS.variant;
|
|
208
|
+
export type SwitchState = keyof typeof SWITCH_TOKENS.state.track;
|
|
209
|
+
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/switch.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH;;;;;;GAMG;AACH,eAAO,MAAM,aAAa;IACxB;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6BH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAgCD;;;WAGG;;;;;;;IAQL;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2DH;;;;OAIG;;;;;;;;;;;;;;;;;;;;IAqBH;;;;OAIG;;;;;;IAOH;;;OAGG;;IAGH;;;OAGG;;CAEK,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,aAAa,CAAC,KAAK,CAAC;AAC1D,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,aAAa,CAAC,OAAO,CAAC;AAC/D,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,aAAa,CAAC,KAAK,CAAC,KAAK,CAAC"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Text Component Tokens
|
|
3
|
+
*
|
|
4
|
+
* Component-level design tokens for Text component.
|
|
5
|
+
* Maps foundation typography tokens to text-specific usage patterns.
|
|
6
|
+
*
|
|
7
|
+
* These tokens serve as second-level abstractions that reference foundation
|
|
8
|
+
* typography tokens (fontSize, fontWeight, lineHeight, letterSpacing).
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Text Component Tokens
|
|
12
|
+
*
|
|
13
|
+
* Defines typography tokens for Text component.
|
|
14
|
+
* All values reference foundation typography tokens to ensure consistency.
|
|
15
|
+
*/
|
|
16
|
+
export declare const TEXT_TOKENS: {
|
|
17
|
+
/**
|
|
18
|
+
* Font sizes by text size variant
|
|
19
|
+
* Maps to foundation fontSize tokens
|
|
20
|
+
*/
|
|
21
|
+
readonly fontSize: {
|
|
22
|
+
readonly xs: "text-xs";
|
|
23
|
+
readonly sm: "text-sm";
|
|
24
|
+
readonly md: "text-base";
|
|
25
|
+
readonly lg: "text-lg";
|
|
26
|
+
readonly xl: "text-xl";
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Font weights by weight variant
|
|
30
|
+
* Maps to foundation fontWeight tokens
|
|
31
|
+
*/
|
|
32
|
+
readonly fontWeight: {
|
|
33
|
+
readonly normal: "font-normal";
|
|
34
|
+
readonly medium: "font-medium";
|
|
35
|
+
readonly semibold: "font-semibold";
|
|
36
|
+
readonly bold: "font-bold";
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Line heights (if component-specific)
|
|
40
|
+
* Maps to foundation lineHeight tokens
|
|
41
|
+
*/
|
|
42
|
+
readonly lineHeight: {
|
|
43
|
+
readonly none: "leading-none";
|
|
44
|
+
readonly tight: "leading-tight";
|
|
45
|
+
readonly normal: "leading-normal";
|
|
46
|
+
readonly relaxed: "leading-relaxed";
|
|
47
|
+
readonly loose: "leading-loose";
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Letter spacing (tracking) values
|
|
51
|
+
* Maps to foundation letterSpacing tokens
|
|
52
|
+
*/
|
|
53
|
+
readonly letterSpacing: {
|
|
54
|
+
readonly tighter: "tracking-tighter";
|
|
55
|
+
readonly tight: "tracking-tight";
|
|
56
|
+
readonly normal: "tracking-normal";
|
|
57
|
+
readonly wide: "tracking-wide";
|
|
58
|
+
readonly wider: "tracking-wider";
|
|
59
|
+
readonly widest: "tracking-widest";
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Type exports for Text tokens
|
|
64
|
+
*/
|
|
65
|
+
export type TextFontSize = keyof typeof TEXT_TOKENS.fontSize;
|
|
66
|
+
export type TextFontWeight = keyof typeof TEXT_TOKENS.fontWeight;
|
|
67
|
+
export type TextLineHeight = keyof typeof TEXT_TOKENS.lineHeight;
|
|
68
|
+
export type TextLetterSpacing = keyof typeof TEXT_TOKENS.letterSpacing;
|
|
69
|
+
//# sourceMappingURL=text.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/text.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH;;;;;GAKG;AACH,eAAO,MAAM,WAAW;IACtB;;;OAGG;;;;;;;;IASH;;;OAGG;;;;;;;IAQH;;;OAGG;;;;;;;;IASH;;;OAGG;;;;;;;;;CASK,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,WAAW,CAAC,QAAQ,CAAC;AAC7D,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,WAAW,CAAC,UAAU,CAAC;AACjE,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,WAAW,CAAC,UAAU,CAAC;AACjE,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,WAAW,CAAC,aAAa,CAAC"}
|