@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,147 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dropdown Component Tokens
|
|
3
|
+
*
|
|
4
|
+
* Component-level design tokens for Dropdown component.
|
|
5
|
+
* Maps foundation tokens (spacing, radius, shadows, typography) to dropdown-specific usage.
|
|
6
|
+
*
|
|
7
|
+
* All values use Tailwind utility classes that map to foundation tokens.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Dropdown Component Tokens
|
|
11
|
+
*
|
|
12
|
+
* Defines tokens for trigger, menu, and item variants.
|
|
13
|
+
* Values are mapped to Tailwind utility classes for direct use.
|
|
14
|
+
*/
|
|
15
|
+
export declare const DROPDOWN_TOKENS: {
|
|
16
|
+
/**
|
|
17
|
+
* Trigger tokens by size
|
|
18
|
+
* Button element that opens/closes the dropdown
|
|
19
|
+
*/
|
|
20
|
+
readonly trigger: {
|
|
21
|
+
readonly height: {
|
|
22
|
+
readonly sm: "h-8";
|
|
23
|
+
readonly md: "h-9";
|
|
24
|
+
readonly lg: "h-10";
|
|
25
|
+
};
|
|
26
|
+
readonly padding: {
|
|
27
|
+
readonly horizontal: {
|
|
28
|
+
readonly sm: "px-sm";
|
|
29
|
+
readonly md: "px-md";
|
|
30
|
+
readonly lg: "px-lg";
|
|
31
|
+
};
|
|
32
|
+
readonly vertical: {
|
|
33
|
+
readonly sm: "py-xs";
|
|
34
|
+
readonly md: "py-xs";
|
|
35
|
+
readonly lg: "py-sm";
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
readonly radius: {
|
|
39
|
+
readonly sm: "rounded-md";
|
|
40
|
+
readonly md: "rounded-md";
|
|
41
|
+
readonly lg: "rounded-md";
|
|
42
|
+
};
|
|
43
|
+
readonly fontSize: {
|
|
44
|
+
readonly sm: "text-sm";
|
|
45
|
+
readonly md: "text-base";
|
|
46
|
+
readonly lg: "text-base";
|
|
47
|
+
};
|
|
48
|
+
readonly shadow: "shadow-sm";
|
|
49
|
+
/**
|
|
50
|
+
* Icon spacing for trigger
|
|
51
|
+
*/
|
|
52
|
+
readonly icon: {
|
|
53
|
+
readonly spacing: "ml-sm";
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Variant-based tokens
|
|
58
|
+
* Border, background, text, and focus colors for different variants
|
|
59
|
+
*/
|
|
60
|
+
readonly variant: {
|
|
61
|
+
readonly neutral: {
|
|
62
|
+
readonly border: "border border-[hsl(var(--border))]";
|
|
63
|
+
readonly background: "bg-[hsl(var(--popover))]";
|
|
64
|
+
readonly text: "text-[hsl(var(--popover-foreground))]";
|
|
65
|
+
readonly focus: "focus-visible:ring-2 focus-visible:ring-[hsl(var(--ring))] focus-visible:ring-offset-2";
|
|
66
|
+
};
|
|
67
|
+
readonly tinted: {
|
|
68
|
+
readonly border: "border border-[hsl(var(--border))]";
|
|
69
|
+
readonly background: "bg-[hsl(var(--muted))]";
|
|
70
|
+
readonly text: "text-[hsl(var(--popover-foreground))]";
|
|
71
|
+
readonly focus: "focus-visible:ring-2 focus-visible:ring-[hsl(var(--ring))] focus-visible:ring-offset-2";
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Menu tokens by size
|
|
76
|
+
* Container for the dropdown items
|
|
77
|
+
*/
|
|
78
|
+
readonly menu: {
|
|
79
|
+
readonly border: {
|
|
80
|
+
readonly default: "border border-[hsl(var(--border))]";
|
|
81
|
+
};
|
|
82
|
+
readonly background: {
|
|
83
|
+
readonly neutral: "bg-[hsl(var(--popover))]";
|
|
84
|
+
readonly tinted: "bg-[hsl(var(--muted))]";
|
|
85
|
+
};
|
|
86
|
+
readonly text: {
|
|
87
|
+
readonly default: "text-[hsl(var(--popover-foreground))]";
|
|
88
|
+
};
|
|
89
|
+
readonly padding: {
|
|
90
|
+
readonly sm: "p-sm";
|
|
91
|
+
readonly md: "p-md";
|
|
92
|
+
readonly lg: "p-lg";
|
|
93
|
+
};
|
|
94
|
+
readonly radius: {
|
|
95
|
+
readonly sm: "rounded-md";
|
|
96
|
+
readonly md: "rounded-lg";
|
|
97
|
+
readonly lg: "rounded-lg";
|
|
98
|
+
};
|
|
99
|
+
readonly shadow: {
|
|
100
|
+
readonly sm: "shadow-md";
|
|
101
|
+
readonly md: "shadow-lg";
|
|
102
|
+
readonly lg: "shadow-xl";
|
|
103
|
+
};
|
|
104
|
+
readonly minWidth: {
|
|
105
|
+
readonly sm: "min-w-32";
|
|
106
|
+
readonly md: "min-w-48";
|
|
107
|
+
readonly lg: "min-w-64";
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Item tokens by size
|
|
112
|
+
* Individual menu item
|
|
113
|
+
*/
|
|
114
|
+
readonly item: {
|
|
115
|
+
readonly background: {
|
|
116
|
+
readonly focus: "focus:bg-[hsl(var(--accent))]";
|
|
117
|
+
readonly selected: "bg-[hsl(var(--accent))]";
|
|
118
|
+
};
|
|
119
|
+
readonly text: {
|
|
120
|
+
readonly focus: "focus:text-[hsl(var(--accent-foreground))]";
|
|
121
|
+
readonly selected: "text-[hsl(var(--accent-foreground))]";
|
|
122
|
+
};
|
|
123
|
+
readonly padding: {
|
|
124
|
+
readonly sm: "px-sm py-xs";
|
|
125
|
+
readonly md: "px-md py-xs";
|
|
126
|
+
readonly lg: "px-lg py-sm";
|
|
127
|
+
};
|
|
128
|
+
readonly radius: {
|
|
129
|
+
readonly sm: "rounded-sm";
|
|
130
|
+
readonly md: "rounded-md";
|
|
131
|
+
readonly lg: "rounded-md";
|
|
132
|
+
};
|
|
133
|
+
readonly fontSize: {
|
|
134
|
+
readonly sm: "text-sm";
|
|
135
|
+
readonly md: "text-sm";
|
|
136
|
+
readonly lg: "text-base";
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
/**
|
|
141
|
+
* Type exports for Dropdown tokens
|
|
142
|
+
*/
|
|
143
|
+
export type DropdownTriggerSize = keyof typeof DROPDOWN_TOKENS.trigger.height;
|
|
144
|
+
export type DropdownVariant = keyof typeof DROPDOWN_TOKENS.variant;
|
|
145
|
+
export type DropdownMenuSize = keyof typeof DROPDOWN_TOKENS.menu.padding;
|
|
146
|
+
export type DropdownItemSize = keyof typeof DROPDOWN_TOKENS.item.padding;
|
|
147
|
+
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/dropdown.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH;;;;;GAKG;AACH,eAAO,MAAM,eAAe;IAC1B;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA8BD;;WAEG;;;;;IAML;;;OAGG;;;;;;;;;;;;;;;IAkBH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BK,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,eAAe,CAAC,OAAO,CAAC,MAAM,CAAC;AAC9E,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,eAAe,CAAC,OAAO,CAAC;AACnE,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC;AACzE,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,eAAe,CAAC,IAAI,CAAC,OAAO,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Icon Component Tokens
|
|
3
|
+
*
|
|
4
|
+
* Component-level design tokens for Icon component.
|
|
5
|
+
* Maps foundation tokens (spacing, colors) to icon-specific usage.
|
|
6
|
+
*
|
|
7
|
+
* All values reference foundation tokens to ensure consistency across the design system.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Icon Component Tokens
|
|
11
|
+
*
|
|
12
|
+
* Defines all sizing, stroke, and color tokens for Icon component.
|
|
13
|
+
* Values are mapped to Tailwind utility classes for direct use in component variants.
|
|
14
|
+
*/
|
|
15
|
+
export declare const ICON_TOKENS: {
|
|
16
|
+
/**
|
|
17
|
+
* Icon sizes
|
|
18
|
+
* Maps to Tailwind size utilities for consistent icon sizing
|
|
19
|
+
*/
|
|
20
|
+
readonly sizes: {
|
|
21
|
+
readonly xs: "h-2.5 w-2.5";
|
|
22
|
+
readonly sm: "h-3 w-3";
|
|
23
|
+
readonly md: "h-4 w-4";
|
|
24
|
+
readonly lg: "h-5 w-5";
|
|
25
|
+
readonly xl: "h-6 w-6";
|
|
26
|
+
readonly "2xl": "h-8 w-8";
|
|
27
|
+
readonly "3xl": "h-10 w-10";
|
|
28
|
+
readonly "4xl": "h-12 w-12";
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Stroke width variants
|
|
32
|
+
* Maps to Tailwind stroke-width utilities
|
|
33
|
+
*/
|
|
34
|
+
readonly stroke: {
|
|
35
|
+
readonly thin: "stroke-[1px]";
|
|
36
|
+
readonly normal: "stroke-[1.5px]";
|
|
37
|
+
readonly bold: "stroke-2";
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Color variants
|
|
41
|
+
* Maps to semantic text color tokens
|
|
42
|
+
*/
|
|
43
|
+
readonly colors: {
|
|
44
|
+
readonly default: "text-foreground";
|
|
45
|
+
readonly muted: "text-muted-foreground";
|
|
46
|
+
readonly success: "text-success";
|
|
47
|
+
readonly warning: "text-warning";
|
|
48
|
+
readonly danger: "text-destructive";
|
|
49
|
+
readonly info: "text-info";
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Type exports for Icon tokens
|
|
54
|
+
*/
|
|
55
|
+
export type IconSize = keyof typeof ICON_TOKENS.sizes;
|
|
56
|
+
export type IconStroke = keyof typeof ICON_TOKENS.stroke;
|
|
57
|
+
export type IconColor = keyof typeof ICON_TOKENS.colors;
|
|
58
|
+
//# sourceMappingURL=icon.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/icon.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH;;;;;GAKG;AACH,eAAO,MAAM,WAAW;IACtB;;;OAGG;;;;;;;;;;;IAYH;;;OAGG;;;;;;IAOH;;;OAGG;;;;;;;;;CASK,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,WAAW,CAAC,KAAK,CAAC;AACtD,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,WAAW,CAAC,MAAM,CAAC;AACzD,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,WAAW,CAAC,MAAM,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Component Tokens
|
|
3
|
+
*
|
|
4
|
+
* Component-level design tokens that map foundation tokens (spacing, typography, radius, shadows)
|
|
5
|
+
* to component-specific usage patterns.
|
|
6
|
+
*
|
|
7
|
+
* These tokens centralize component metrics (heights, padding, icon sizes, border radius)
|
|
8
|
+
* and ensure consistency across the design system.
|
|
9
|
+
*/
|
|
10
|
+
export { ALERT_TOKENS, type AlertVariant } from './alert';
|
|
11
|
+
export { BUTTON_TOKENS, type ButtonFontSize, type ButtonHeight, type ButtonPaddingHorizontal, type ButtonPaddingVertical, type ButtonShadow, } from './button';
|
|
12
|
+
export { CARD_TOKENS, type CardPadding, type CardRadius, type CardShadow, type CardSize, type CardSpacingVertical, } from './card';
|
|
13
|
+
export { DOMAIN_TOKENS, type DomainCardBadge, type DomainCardImage, type DomainCardLayout, type DomainCardMetadata, type DomainCardMotion, type DomainCardPriceCapacity, type DomainCardSkeleton, type DomainCardSkeletonContentWidth, type DomainCardSurface, } from './domain';
|
|
14
|
+
export { INPUT_TOKENS, type InputFontSize, type InputHeight, type InputPaddingHorizontal, type InputPaddingVertical, type InputRadius, type InputSize, } from './input';
|
|
15
|
+
export { CHECKBOX_TOKENS, type CheckboxSize, type CheckboxState, type CheckboxVariant, } from './checkbox';
|
|
16
|
+
export { SWITCH_TOKENS, type SwitchSize, type SwitchState, type SwitchVariant } from './switch';
|
|
17
|
+
export { RADIO_TOKENS, type RadioSize, type RadioState, type RadioVariant } from './radio';
|
|
18
|
+
export { SURFACE_TOKENS, type SurfacePadding, type SurfaceRadius, type SurfaceShadow, type SurfaceVariant, } from './surface';
|
|
19
|
+
export { TEXT_TOKENS, type TextFontSize, type TextFontWeight, type TextLetterSpacing, type TextLineHeight, } from './text';
|
|
20
|
+
export { SECTION_TOKENS, type SectionGap, type SectionPadding } from './section';
|
|
21
|
+
export { OVERLAY_TOKENS, type OverlayBackdropVariant, type OverlayModalSize } from './overlay';
|
|
22
|
+
export { TOAST_TOKENS, type ToastVariant } from './toast';
|
|
23
|
+
export { NOTIFICATION_TOKENS, type NotificationPanelWidth, type NotificationVariant, } from './notifications';
|
|
24
|
+
export { NAVIGATION_TOKENS, type NavigationItemPadding, type NavigationListGap, type NavigationRadius, type NavigationShadow, type NavigationSize, type NavigationState, } from './navigation';
|
|
25
|
+
export { MENU_TOKENS, type MenuContentMinWidth, type MenuContentPadding, type MenuContentRadius, type MenuContentShadow, type MenuIndicatorOffset, type MenuIndicatorSize, type MenuItemGap, type MenuItemHeight, type MenuItemPadding, type MenuItemRadius, type MenuLabelPadding, type MenuSeparatorMargin, } from './menu';
|
|
26
|
+
export { POPOVER_TOKENS, type PopoverArrowOffset, type PopoverArrowSize, type PopoverContentPadding, type PopoverContentRadius, type PopoverContentShadow, type PopoverContentWidth, } from './popover';
|
|
27
|
+
export { DROPDOWN_TOKENS, type DropdownItemSize, type DropdownMenuSize, type DropdownTriggerSize, type DropdownVariant, } from './dropdown';
|
|
28
|
+
export { TOOLTIP_TOKENS, type TooltipContentRadius, type TooltipContentShadow } from './tooltip';
|
|
29
|
+
export { DATA_TOKENS, type DataListLabelWidth, type DataListRowPadding, type EmptyStateIconSize, type SkeletonAnimation, type SkeletonBackground, type SkeletonVariant, type TableCellPadding, type TableGap, type TableHeaderPadding, type TableRowHeight, type TableShadow, } from './data';
|
|
30
|
+
export { ICON_TOKENS, type IconColor, type IconSize, type IconStroke } from './icon';
|
|
31
|
+
export { MOTION_TOKENS, type MotionAnimation, type MotionDuration, type MotionEasing, type MotionTransition, type MotionTransitionPreset, } from './motion';
|
|
32
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAG1D,OAAO,EACL,aAAa,EACb,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,YAAY,GAClB,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,WAAW,EACX,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,QAAQ,EACb,KAAK,mBAAmB,GACzB,MAAM,QAAQ,CAAC;AAGhB,OAAO,EACL,aAAa,EACb,KAAK,eAAe,EACpB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,GACvB,MAAM,UAAU,CAAC;AAGlB,OAAO,EACL,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,WAAW,EAChB,KAAK,SAAS,GACf,MAAM,SAAS,CAAC;AAGjB,OAAO,EACL,eAAe,EACf,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,eAAe,GACrB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,aAAa,EAAE,KAAK,UAAU,EAAE,KAAK,WAAW,EAAE,KAAK,aAAa,EAAE,MAAM,UAAU,CAAC;AAGhG,OAAO,EAAE,YAAY,EAAE,KAAK,SAAS,EAAE,KAAK,UAAU,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAG3F,OAAO,EACL,cAAc,EACd,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,cAAc,GACpB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,WAAW,EACX,KAAK,YAAY,EACjB,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,cAAc,GACpB,MAAM,QAAQ,CAAC;AAGhB,OAAO,EAAE,cAAc,EAAE,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,WAAW,CAAC;AAGjF,OAAO,EAAE,cAAc,EAAE,KAAK,sBAAsB,EAAE,KAAK,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAG/F,OAAO,EAAE,YAAY,EAAE,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAG1D,OAAO,EACL,mBAAmB,EACnB,KAAK,sBAAsB,EAC3B,KAAK,mBAAmB,GACzB,MAAM,iBAAiB,CAAC;AAGzB,OAAO,EACL,iBAAiB,EACjB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,cAAc,EACnB,KAAK,eAAe,GACrB,MAAM,cAAc,CAAC;AAGtB,OAAO,EACL,WAAW,EACX,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,GACzB,MAAM,QAAQ,CAAC;AAGhB,OAAO,EACL,cAAc,EACd,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,GACzB,MAAM,WAAW,CAAC;AAGnB,OAAO,EACL,eAAe,EACf,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,eAAe,GACrB,MAAM,YAAY,CAAC;AAGpB,OAAO,EAAE,cAAc,EAAE,KAAK,oBAAoB,EAAE,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAGjG,OAAO,EACL,WAAW,EACX,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,gBAAgB,EACrB,KAAK,QAAQ,EACb,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,KAAK,WAAW,GACjB,MAAM,QAAQ,CAAC;AAGhB,OAAO,EAAE,WAAW,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,KAAK,UAAU,EAAE,MAAM,QAAQ,CAAC;AAGrF,OAAO,EACL,aAAa,EACb,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,GAC5B,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,285 @@
|
|
|
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;
|
|
285
|
+
//# sourceMappingURL=input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/input.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH;;;;;GAKG;AACH,eAAO,MAAM,YAAY;IACvB;;;OAGG;;;;;;;;IASH;;;OAGG;;;;;;;;;;;;;;;;;IAkBH;;OAEG;;;;;;;;IASH;;;OAGG;;;;;;;;IASH;;OAEG;;;;IAKH;;;OAGG;;IAGH;;;OAGG;;;;IAKH;;;OAGG;;;;;;;;IASH;;;OAGG;;;;;;;;;;;IAYH;;;;OAIG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAkCH;;;;OAIG;;;;;;;;;;;;;;;;;;;IAoBH;;;OAGG;;;;;;;;;;;;;IAcH;;;OAGG;;;;;IAMH;;;OAGG;;;;IAKH;;;OAGG;;;;;;;;;;;;;IAcH;;;OAGG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsDK,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,YAAY,CAAC,MAAM,CAAC;AAC3D,MAAM,MAAM,sBAAsB,GAAG,MAAM,OAAO,YAAY,CAAC,OAAO,CAAC,UAAU,CAAC;AAClF,MAAM,MAAM,oBAAoB,GAAG,MAAM,OAAO,YAAY,CAAC,OAAO,CAAC,QAAQ,CAAC;AAC9E,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,YAAY,CAAC,MAAM,CAAC;AAC3D,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,YAAY,CAAC,QAAQ,CAAC;AAC/D,MAAM,MAAM,SAAS,GAAG,MAAM,OAAO,YAAY,CAAC,IAAI,CAAC;AACvD,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC"}
|
|
@@ -0,0 +1,115 @@
|
|
|
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;
|
|
115
|
+
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/tokens/components/menu.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAKH;;;;;GAKG;AACH,eAAO,MAAM,WAAW;IACtB;;;OAGG;;;;;;;;;;;;;;;;;;;;;IAsBH;;;OAGG;;;;;;;;;;;;;;;;;;;IAoBH;;;OAGG;;;;;;;;;IAUH;;;OAGG;;;;;;;;IASH;;;OAGG;;;;;;;;;;;CAWK,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC;AACpE,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC;AAClE,MAAM,MAAM,WAAW,GAAG,MAAM,OAAO,WAAW,CAAC,IAAI,CAAC,GAAG,CAAC;AAC5D,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC;AAClE,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,WAAW,CAAC,OAAO,CAAC,OAAO,CAAC;AAC1E,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,WAAW,CAAC,OAAO,CAAC,MAAM,CAAC;AACxE,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,WAAW,CAAC,OAAO,CAAC,MAAM,CAAC;AACxE,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,WAAW,CAAC,OAAO,CAAC,QAAQ,CAAC;AAC5E,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC;AAC5E,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,WAAW,CAAC,KAAK,CAAC,OAAO,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,MAAM,OAAO,WAAW,CAAC,SAAS,CAAC,IAAI,CAAC;AACxE,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC"}
|