@tenerife.music/ui 1.0.3 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +407 -123
- package/dist/animation/index.d.ts +0 -1
- package/dist/animation/presets.d.ts +6 -9
- package/dist/animation/tas.d.ts +2 -58
- package/dist/animation/types.d.ts +9 -48
- package/dist/animation/useInView.d.ts +36 -0
- package/dist/animation/utils.d.ts +0 -1
- package/dist/components/SectionBuilder.d.ts +0 -1
- package/dist/components/SectionBuilder.presets.d.ts +0 -1
- package/dist/components/SectionBuilder.types.d.ts +0 -1
- package/dist/components/admin/Dashboard.d.ts +0 -1
- package/dist/components/admin/UserManagement.d.ts +0 -1
- package/dist/components/auth/LoginForm.d.ts +0 -1
- package/dist/components/auth/ProfileCard.d.ts +0 -1
- package/dist/components/auth/RegisterForm.d.ts +0 -1
- package/dist/components/cards/ArtistCard/ArtistCard.d.ts +22 -0
- package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts +46 -0
- package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts +83 -0
- package/dist/components/cards/ArtistCard/index.d.ts +8 -0
- package/dist/components/cards/CardBase/CardBase.d.ts +45 -0
- package/dist/components/cards/CardBase/CardBase.types.d.ts +70 -0
- package/dist/components/cards/CardBase/CardBase.variants.d.ts +38 -0
- package/dist/components/cards/CardBase/index.d.ts +8 -0
- package/dist/components/cards/CategoryCard/CategoryCard.d.ts +18 -0
- package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts +38 -0
- package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts +21 -0
- package/dist/components/cards/CategoryCard/index.d.ts +7 -0
- package/dist/components/cards/EventCard/EventCard.d.ts +19 -0
- package/dist/components/cards/{EventCard.d.ts → EventCard/EventCard.types.d.ts} +13 -4
- package/dist/components/cards/EventCard/EventCard.variants.d.ts +70 -0
- package/dist/components/cards/EventCard/index.d.ts +7 -0
- package/dist/components/cards/PromoCard/PromoCard.d.ts +20 -0
- package/dist/components/cards/PromoCard/PromoCard.types.d.ts +42 -0
- package/dist/components/cards/PromoCard/PromoCard.variants.d.ts +35 -0
- package/dist/components/cards/PromoCard/index.d.ts +7 -0
- package/dist/components/cards/TicketCard/TicketCard.d.ts +19 -0
- package/dist/components/cards/TicketCard/TicketCard.types.d.ts +55 -0
- package/dist/components/cards/TicketCard/TicketCard.variants.d.ts +71 -0
- package/dist/components/cards/TicketCard/index.d.ts +7 -0
- package/dist/components/cards/VenueCard/VenueCard.d.ts +21 -0
- package/dist/components/cards/{VenueCard.d.ts → VenueCard/VenueCard.types.d.ts} +15 -7
- package/dist/components/cards/VenueCard/VenueCard.variants.d.ts +60 -0
- package/dist/components/cards/VenueCard/index.d.ts +8 -0
- package/dist/components/cards/index.d.ts +19 -0
- package/dist/components/checkbox/Checkbox.d.ts +22 -0
- package/dist/components/checkbox/Checkbox.types.d.ts +68 -0
- package/dist/components/checkbox/checkbox-variants.d.ts +13 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/containers/Card.d.ts +75 -0
- package/dist/components/containers/Section.d.ts +31 -0
- package/dist/components/containers/Surface.d.ts +28 -0
- package/dist/components/containers/index.d.ts +9 -0
- package/dist/components/controls/LanguageSelector.d.ts +0 -1
- package/dist/components/data/List.d.ts +0 -1
- package/dist/components/data/Table.d.ts +0 -1
- package/dist/components/data/Timeline.d.ts +0 -1
- package/dist/components/data/data-list/DataList.d.ts +29 -0
- package/dist/components/data/data-list/DataList.types.d.ts +43 -0
- package/dist/components/data/data-list/DataListItem.d.ts +20 -0
- package/dist/components/data/data-list/DataListLabel.d.ts +19 -0
- package/dist/components/data/data-list/DataListValue.d.ts +18 -0
- package/dist/components/data/data-list/index.d.ts +10 -0
- package/dist/components/data/empty-state/EmptyState.d.ts +31 -0
- package/dist/components/data/empty-state/EmptyState.types.d.ts +51 -0
- package/dist/components/data/empty-state/EmptyStateAction.d.ts +17 -0
- package/dist/components/data/empty-state/EmptyStateDescription.d.ts +17 -0
- package/dist/components/data/empty-state/EmptyStateIcon.d.ts +22 -0
- package/dist/components/data/empty-state/EmptyStateTitle.d.ts +17 -0
- package/dist/components/data/empty-state/index.d.ts +10 -0
- package/dist/components/data/index.d.ts +9 -0
- package/dist/components/data/skeleton/Skeleton.d.ts +24 -0
- package/dist/components/data/skeleton/Skeleton.types.d.ts +12 -0
- package/dist/components/data/skeleton/index.d.ts +6 -0
- package/dist/components/data/table/Table.d.ts +33 -0
- package/dist/components/data/table/Table.types.d.ts +264 -0
- package/dist/components/data/table/TableBody.d.ts +13 -0
- package/dist/components/data/table/TableCell.d.ts +13 -0
- package/dist/components/data/table/TableEmpty.d.ts +13 -0
- package/dist/components/data/table/TableExpandableContent.d.ts +14 -0
- package/dist/components/data/table/TableHead.d.ts +13 -0
- package/dist/components/data/table/TableHeader.d.ts +13 -0
- package/dist/components/data/table/TableLoadingState.d.ts +13 -0
- package/dist/components/data/table/TableRow.d.ts +13 -0
- package/dist/components/data/table/TableSortIcon.d.ts +14 -0
- package/dist/components/data/table/index.d.ts +17 -0
- package/dist/components/drawer/Drawer.d.ts +41 -0
- package/dist/components/drawer/Drawer.types.d.ts +75 -0
- package/dist/components/drawer/drawer-variants.d.ts +17 -0
- package/dist/components/drawer/index.d.ts +8 -0
- package/dist/components/dropdown/Dropdown.d.ts +38 -0
- package/dist/components/dropdown/Dropdown.types.d.ts +82 -0
- package/dist/components/dropdown/dropdown-variants.d.ts +33 -0
- package/dist/components/feedback/ConsentBanner.d.ts +0 -1
- package/dist/components/feedback/Progress.d.ts +0 -1
- package/dist/components/feedback/Skeleton.d.ts +0 -1
- package/dist/components/filters/DateRangePicker.d.ts +0 -1
- package/dist/components/filters/FilterBar.d.ts +0 -1
- package/dist/components/filters/FilterSelect.d.ts +0 -1
- package/dist/components/filters/PriceRangeSlider.d.ts +0 -1
- package/dist/components/filters/SearchFilters.d.ts +0 -1
- package/dist/components/filters/SearchInput.d.ts +1 -2
- package/dist/components/filters/types.d.ts +0 -1
- package/dist/components/icon/Icon.d.ts +32 -0
- package/dist/components/icon/Icon.types.d.ts +7 -0
- package/dist/components/icon/index.d.ts +4 -0
- package/dist/components/icons/TrendingIcon.d.ts +0 -1
- package/dist/components/image/Image.d.ts +0 -1
- package/dist/components/input/Input.d.ts +20 -0
- package/dist/components/input/Input.types.d.ts +38 -0
- package/dist/components/input/index.d.ts +3 -0
- package/dist/components/input/input-variants.d.ts +14 -0
- package/dist/components/input/legacy/input.d.ts +11 -0
- package/dist/components/layout/Box.d.ts +40 -11
- package/dist/components/layout/Column.d.ts +6 -0
- package/dist/components/layout/Container.d.ts +1 -2
- package/dist/components/layout/Flex.d.ts +29 -14
- package/dist/components/layout/Footer.d.ts +0 -1
- package/dist/components/layout/Grid.d.ts +34 -26
- package/dist/components/layout/ModeHero.d.ts +0 -1
- package/dist/components/layout/Navbar.d.ts +0 -1
- package/dist/components/layout/Row.d.ts +28 -0
- package/dist/components/layout/Section.d.ts +0 -1
- package/dist/components/layout/Stack.d.ts +24 -15
- package/dist/components/layout/Surface.d.ts +21 -0
- package/dist/components/layout/index.d.ts +10 -5
- package/dist/components/layout/layout.types.d.ts +16 -1
- package/dist/components/menus/DropdownMenu.d.ts +0 -1
- package/dist/components/menus/NavigationMenu.d.ts +0 -1
- package/dist/components/menus/Tabs.d.ts +0 -1
- package/dist/components/menus/context-menu/ContextMenuContent.d.ts +22 -0
- package/dist/components/menus/context-menu/ContextMenuGroup.d.ts +14 -0
- package/dist/components/menus/context-menu/ContextMenuItem.d.ts +14 -0
- package/dist/components/menus/context-menu/ContextMenuLabel.d.ts +14 -0
- package/dist/components/menus/context-menu/ContextMenuRoot.d.ts +47 -0
- package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts +14 -0
- package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts +16 -0
- package/dist/components/menus/context-menu/index.d.ts +12 -0
- package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts +18 -0
- package/dist/components/menus/dropdown/DropdownMenuContent.d.ts +15 -0
- package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts +12 -0
- package/dist/components/menus/dropdown/DropdownMenuItem.d.ts +30 -0
- package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts +17 -0
- package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts +24 -0
- package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts +18 -0
- package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts +33 -0
- package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts +13 -0
- package/dist/components/menus/dropdown/DropdownMenuSub.d.ts +10 -0
- package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts +13 -0
- package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts +13 -0
- package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts +14 -0
- package/dist/components/menus/dropdown/index.d.ts +18 -0
- package/dist/components/menus/hover-card/HoverCardContent.d.ts +14 -0
- package/dist/components/menus/hover-card/HoverCardRoot.d.ts +20 -0
- package/dist/components/menus/hover-card/HoverCardTrigger.d.ts +13 -0
- package/dist/components/menus/hover-card/index.d.ts +8 -0
- package/dist/components/menus/index.d.ts +9 -0
- package/dist/components/menus/popover/PopoverArrow.d.ts +17 -0
- package/dist/components/menus/popover/PopoverContent.d.ts +24 -0
- package/dist/components/menus/popover/PopoverRoot.d.ts +43 -0
- package/dist/components/menus/popover/PopoverTrigger.d.ts +17 -0
- package/dist/components/menus/popover/index.d.ts +9 -0
- package/dist/components/modal/Modal.d.ts +70 -0
- package/dist/components/modal/modal-variants.d.ts +26 -0
- package/dist/components/modals/ConfirmDialog.d.ts +3 -3
- package/dist/components/modals/CustomDialog.d.ts +0 -1
- package/dist/components/modals/Modal.d.ts +0 -1
- package/dist/components/modals/ModalProvider.d.ts +0 -1
- package/dist/components/modals/SimpleModal.d.ts +0 -1
- package/dist/components/navigation/Breadcrumbs.d.ts +0 -1
- package/dist/components/navigation/Pagination.d.ts +0 -1
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +52 -0
- package/dist/components/navigation/breadcrumbs/index.d.ts +5 -0
- package/dist/components/navigation/index.d.ts +10 -0
- package/dist/components/navigation/pagination/Pagination.d.ts +60 -0
- package/dist/components/navigation/pagination/index.d.ts +5 -0
- package/dist/components/navigation/segmented-control/SegmentedControl.d.ts +43 -0
- package/dist/components/navigation/segmented-control/index.d.ts +5 -0
- package/dist/components/navigation/stepper/Stepper.d.ts +129 -0
- package/dist/components/navigation/stepper/index.d.ts +5 -0
- package/dist/components/navigation/tabs/Tabs.d.ts +73 -0
- package/dist/components/navigation/tabs/index.d.ts +5 -0
- package/dist/components/notifications/NotificationCenter.DismissAll.d.ts +21 -0
- package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts +23 -0
- package/dist/components/notifications/NotificationCenter.Item.d.ts +24 -0
- package/dist/components/notifications/NotificationCenter.List.d.ts +22 -0
- package/dist/components/notifications/NotificationCenter.Panel.d.ts +32 -0
- package/dist/components/notifications/NotificationCenter.Provider.d.ts +31 -0
- package/dist/components/notifications/NotificationCenter.Trigger.d.ts +15 -0
- package/dist/components/notifications/NotificationCenter.d.ts +27 -0
- package/dist/components/notifications/NotificationCenter.types.d.ts +89 -0
- package/dist/components/notifications/index.d.ts +23 -0
- package/dist/components/notifications/useNotificationCenter.d.ts +47 -0
- package/dist/components/overlays/Backdrop.d.ts +24 -0
- package/dist/components/overlays/Dialog.d.ts +66 -0
- package/dist/components/overlays/Modal.d.ts +60 -0
- package/dist/components/overlays/OverlayPortal.d.ts +0 -1
- package/dist/components/overlays/Popover.d.ts +2 -3
- package/dist/components/overlays/Portal.d.ts +29 -0
- package/dist/components/overlays/Toast.d.ts +36 -0
- package/dist/components/overlays/ToastProvider.d.ts +58 -0
- package/dist/components/overlays/ToastViewport.d.ts +27 -0
- package/dist/components/overlays/Tooltip.d.ts +2 -3
- package/dist/components/overlays/index.d.ts +13 -0
- package/dist/components/overlays/utils/FocusLock.d.ts +30 -0
- package/dist/components/overlays/utils/ScrollLock.d.ts +11 -0
- package/dist/components/overlays/utils/positioning.d.ts +68 -0
- package/dist/components/primitives/Badge.d.ts +1 -2
- package/dist/components/primitives/Button.d.ts +0 -1
- package/dist/components/primitives/Card.d.ts +0 -1
- package/dist/components/primitives/Divider.d.ts +0 -1
- package/dist/components/primitives/Input.d.ts +2 -3
- package/dist/components/primitives/Label.d.ts +0 -1
- package/dist/components/primitives/Link.d.ts +1 -2
- package/dist/components/primitives/ThemeSwitch.d.ts +3 -3
- package/dist/components/radio/Radio.d.ts +23 -0
- package/dist/components/radio/Radio.types.d.ts +63 -0
- package/dist/components/radio/RadioGroup.d.ts +20 -0
- package/dist/components/radio/RadioGroup.types.d.ts +61 -0
- package/dist/components/radio/index.d.ts +5 -0
- package/dist/components/radio/radio-variants.d.ts +13 -0
- package/dist/components/search/SearchBar.d.ts +0 -1
- package/dist/components/sections/ArticlesSection.d.ts +0 -1
- package/dist/components/sections/CTASection.d.ts +0 -1
- package/dist/components/sections/FeatureSection.d.ts +0 -1
- package/dist/components/sections/HeroSection.d.ts +0 -1
- package/dist/components/sections/TrendingSection.d.ts +0 -1
- package/dist/components/select/Select.d.ts +38 -0
- package/dist/components/select/Select.types.d.ts +107 -0
- package/dist/components/select/index.d.ts +5 -0
- package/dist/components/select/legacy/select.d.ts +11 -0
- package/dist/components/select/select-variants.d.ts +32 -0
- package/dist/components/skeletons/EventCardSkeleton.d.ts +0 -1
- package/dist/components/skeletons/VenueCardSkeleton.d.ts +0 -1
- package/dist/components/switch/Switch.d.ts +24 -0
- package/dist/components/switch/Switch.types.d.ts +53 -0
- package/dist/components/switch/index.d.ts +3 -0
- package/dist/components/switch/switch-variants.d.ts +34 -0
- package/dist/components/textarea/Textarea.d.ts +21 -0
- package/dist/components/textarea/Textarea.types.d.ts +40 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/legacy/textarea.d.ts +11 -0
- package/dist/components/textarea/textarea-variants.d.ts +14 -0
- package/dist/components/toasts/Toast.d.ts +1 -2
- package/dist/components/toasts/ToastProvider.d.ts +0 -1
- package/dist/components/ui/alert.d.ts +9 -0
- package/dist/components/ui/body.d.ts +12 -0
- package/dist/components/ui/button.d.ts +2 -3
- package/dist/components/ui/caption.d.ts +11 -0
- package/dist/components/ui/card.d.ts +0 -1
- package/dist/components/ui/code.d.ts +11 -0
- package/dist/components/ui/dialog.d.ts +0 -1
- package/dist/components/ui/display.d.ts +12 -0
- package/dist/components/ui/field.d.ts +45 -0
- package/dist/components/ui/heading.d.ts +12 -0
- package/dist/components/ui/label.d.ts +9 -3
- package/dist/components/ui/lead.d.ts +11 -0
- package/dist/components/ui/text.d.ts +18 -0
- package/dist/components/ui/toast.d.ts +0 -1
- package/dist/components/ui/toaster.d.ts +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -1
- package/dist/hooks/use-toast.d.ts +0 -1
- package/dist/hooks/useDebounce.d.ts +0 -1
- package/dist/hooks/useModal.d.ts +0 -1
- package/dist/hooks/useToast.d.ts +0 -1
- package/dist/icons/IconArrowRight.d.ts +6 -0
- package/dist/icons/IconCalendar.d.ts +6 -0
- package/dist/icons/IconCheck.d.ts +6 -0
- package/dist/icons/IconChevronDown.d.ts +6 -0
- package/dist/icons/IconChevronRight.d.ts +6 -0
- package/dist/icons/IconClose.d.ts +6 -0
- package/dist/icons/IconError.d.ts +6 -0
- package/dist/icons/IconInfo.d.ts +6 -0
- package/dist/icons/IconLocation.d.ts +6 -0
- package/dist/icons/IconMenu.d.ts +6 -0
- package/dist/icons/IconSearch.d.ts +6 -0
- package/dist/icons/IconSuccess.d.ts +6 -0
- package/dist/icons/IconWarning.d.ts +6 -0
- package/dist/icons/icon.types.d.ts +25 -0
- package/dist/icons/index.d.ts +34 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +37 -78
- package/dist/index.mjs +7675 -5926
- package/dist/lib/a11y.d.ts +0 -1
- package/dist/lib/responsive-props.d.ts +0 -1
- package/dist/lib/utils.d.ts +0 -1
- 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 +0 -1
- package/dist/preset.mjs +172 -53
- package/dist/styles.cjs +2 -0
- package/dist/styles.css +1 -1
- package/dist/styles.d.ts +0 -0
- package/dist/styles.mjs +1 -0
- package/dist/theme/ThemeProvider.d.ts +1 -2
- package/dist/theme/applyMode.d.ts +0 -1
- package/dist/theme/colors.d.ts +6 -71
- package/dist/theme/index.cjs +1 -1
- package/dist/theme/index.d.ts +1 -2
- package/dist/theme/index.mjs +1352 -224
- package/dist/theme/loader.d.ts +0 -1
- package/dist/theme/motion/gestures.d.ts +76 -0
- package/dist/theme/motion/useReducedMotion.d.ts +11 -0
- package/dist/theme/motion.d.ts +0 -1
- package/dist/theme/registry.d.ts +0 -1
- package/dist/theme/schema.d.ts +0 -1
- package/dist/theme/spacing.d.ts +0 -1
- package/dist/theme/typography.d.ts +0 -1
- package/dist/themes/brand.d.ts +0 -1
- package/dist/themes/brand_engine.d.ts +7 -1
- package/dist/themes/dark.d.ts +0 -1
- package/dist/themes/default.d.ts +0 -1
- package/dist/themes/index.d.ts +0 -1
- package/dist/themes/minimal.d.ts +0 -1
- package/dist/themes/neon.d.ts +0 -1
- package/dist/themes/types.d.ts +0 -1
- package/dist/tokens/colors.d.ts +14 -20
- package/dist/tokens/components/alert.d.ts +74 -0
- package/dist/tokens/components/button.d.ts +130 -0
- package/dist/tokens/components/card.d.ts +91 -0
- package/dist/tokens/components/checkbox.d.ts +161 -0
- package/dist/tokens/components/data.d.ts +227 -0
- package/dist/tokens/components/domain.d.ts +379 -0
- package/dist/tokens/components/dropdown.d.ts +146 -0
- package/dist/tokens/components/icon.d.ts +57 -0
- package/dist/tokens/components/index.d.ts +31 -0
- package/dist/tokens/components/input.d.ts +284 -0
- package/dist/tokens/components/menu.d.ts +114 -0
- package/dist/tokens/components/motion.d.ts +103 -0
- package/dist/tokens/components/navigation.d.ts +181 -0
- package/dist/tokens/components/notifications.d.ts +159 -0
- package/dist/tokens/components/overlay.d.ts +227 -0
- package/dist/tokens/components/popover.d.ts +84 -0
- package/dist/tokens/components/radio.d.ts +149 -0
- package/dist/tokens/components/section.d.ts +41 -0
- package/dist/tokens/components/surface.d.ts +94 -0
- package/dist/tokens/components/switch.d.ts +208 -0
- package/dist/tokens/components/text.d.ts +68 -0
- package/dist/tokens/components/toast.d.ts +146 -0
- package/dist/tokens/components/tooltip.d.ts +52 -0
- package/dist/tokens/css-variables.d.ts +0 -20
- package/dist/tokens/index.cjs +3 -3
- package/dist/tokens/index.d.ts +2 -1
- package/dist/tokens/index.mjs +3640 -821
- package/dist/tokens/motion/v2.d.ts +342 -0
- package/dist/tokens/motion.d.ts +55 -5
- package/dist/tokens/opacity.d.ts +22 -0
- package/dist/tokens/radius.d.ts +22 -2
- package/dist/tokens/shadows.d.ts +64 -6
- package/dist/tokens/spacing.d.ts +47 -2
- package/dist/tokens/theme.d.ts +119 -0
- package/dist/tokens/typography.d.ts +141 -24
- 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/animation/index.d.ts.map +0 -1
- package/dist/animation/presets.d.ts.map +0 -1
- package/dist/animation/tas.d.ts.map +0 -1
- package/dist/animation/types.d.ts.map +0 -1
- package/dist/animation/utils.d.ts.map +0 -1
- package/dist/components/SectionBuilder.d.ts.map +0 -1
- package/dist/components/SectionBuilder.presets.d.ts.map +0 -1
- package/dist/components/SectionBuilder.types.d.ts.map +0 -1
- package/dist/components/admin/Dashboard.d.ts.map +0 -1
- package/dist/components/admin/UserManagement.d.ts.map +0 -1
- package/dist/components/auth/LoginForm.d.ts.map +0 -1
- package/dist/components/auth/ProfileCard.d.ts.map +0 -1
- package/dist/components/auth/RegisterForm.d.ts.map +0 -1
- package/dist/components/cards/EventCard.d.ts.map +0 -1
- package/dist/components/cards/VenueCard.d.ts.map +0 -1
- package/dist/components/controls/LanguageSelector.d.ts.map +0 -1
- package/dist/components/data/List.d.ts.map +0 -1
- package/dist/components/data/Table.d.ts.map +0 -1
- package/dist/components/data/Timeline.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/feedback/ConsentBanner.d.ts.map +0 -1
- package/dist/components/feedback/Progress.d.ts.map +0 -1
- package/dist/components/feedback/Skeleton.d.ts.map +0 -1
- package/dist/components/filters/DateRangePicker.d.ts.map +0 -1
- package/dist/components/filters/FilterBar.d.ts.map +0 -1
- package/dist/components/filters/FilterSelect.d.ts.map +0 -1
- package/dist/components/filters/PriceRangeSlider.d.ts.map +0 -1
- package/dist/components/filters/SearchFilters.d.ts.map +0 -1
- package/dist/components/filters/SearchInput.d.ts.map +0 -1
- package/dist/components/filters/types.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/icons/TrendingIcon.d.ts.map +0 -1
- package/dist/components/image/Image.d.ts.map +0 -1
- package/dist/components/layout/Box.d.ts.map +0 -1
- package/dist/components/layout/Container.d.ts.map +0 -1
- package/dist/components/layout/Flex.d.ts.map +0 -1
- package/dist/components/layout/Footer.d.ts.map +0 -1
- package/dist/components/layout/Grid.d.ts.map +0 -1
- package/dist/components/layout/ModeHero.d.ts.map +0 -1
- package/dist/components/layout/Navbar.d.ts.map +0 -1
- package/dist/components/layout/Section.d.ts.map +0 -1
- package/dist/components/layout/Stack.d.ts.map +0 -1
- package/dist/components/layout/index.d.ts.map +0 -1
- package/dist/components/layout/layout.types.d.ts.map +0 -1
- package/dist/components/menus/DropdownMenu.d.ts.map +0 -1
- package/dist/components/menus/NavigationMenu.d.ts.map +0 -1
- package/dist/components/menus/Tabs.d.ts.map +0 -1
- package/dist/components/modals/ConfirmDialog.d.ts.map +0 -1
- package/dist/components/modals/CustomDialog.d.ts.map +0 -1
- package/dist/components/modals/Modal.d.ts.map +0 -1
- package/dist/components/modals/ModalProvider.d.ts.map +0 -1
- package/dist/components/modals/SimpleModal.d.ts.map +0 -1
- package/dist/components/navigation/Breadcrumbs.d.ts.map +0 -1
- package/dist/components/navigation/Pagination.d.ts.map +0 -1
- package/dist/components/overlays/OverlayPortal.d.ts.map +0 -1
- package/dist/components/overlays/Popover.d.ts.map +0 -1
- package/dist/components/overlays/Tooltip.d.ts.map +0 -1
- package/dist/components/primitives/Badge.d.ts.map +0 -1
- package/dist/components/primitives/Button.d.ts.map +0 -1
- package/dist/components/primitives/Card.d.ts.map +0 -1
- package/dist/components/primitives/Divider.d.ts.map +0 -1
- package/dist/components/primitives/Input.d.ts.map +0 -1
- package/dist/components/primitives/Label.d.ts.map +0 -1
- package/dist/components/primitives/Link.d.ts.map +0 -1
- package/dist/components/primitives/ThemeSwitch.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/search/SearchBar.d.ts.map +0 -1
- package/dist/components/sections/ArticlesSection.d.ts.map +0 -1
- package/dist/components/sections/CTASection.d.ts.map +0 -1
- package/dist/components/sections/FeatureSection.d.ts.map +0 -1
- package/dist/components/sections/HeroSection.d.ts.map +0 -1
- package/dist/components/sections/TrendingSection.d.ts.map +0 -1
- package/dist/components/skeletons/EventCardSkeleton.d.ts.map +0 -1
- package/dist/components/skeletons/VenueCardSkeleton.d.ts.map +0 -1
- package/dist/components/toasts/Toast.d.ts.map +0 -1
- package/dist/components/toasts/ToastProvider.d.ts.map +0 -1
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/card.d.ts.map +0 -1
- package/dist/components/ui/dialog.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/components/ui/label.d.ts.map +0 -1
- package/dist/components/ui/toast.d.ts.map +0 -1
- package/dist/components/ui/toaster.d.ts.map +0 -1
- package/dist/components/ui/tooltip.d.ts.map +0 -1
- package/dist/hooks/use-toast.d.ts.map +0 -1
- package/dist/hooks/useDebounce.d.ts.map +0 -1
- package/dist/hooks/useModal.d.ts.map +0 -1
- package/dist/hooks/useToast.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/a11y.d.ts.map +0 -1
- package/dist/lib/responsive-props.d.ts.map +0 -1
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/motion-4SRNkZlz.cjs +0 -2
- package/dist/preset.d.ts.map +0 -1
- 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
- package/dist/theme/ThemeProvider.d.ts.map +0 -1
- package/dist/theme/applyMode.d.ts.map +0 -1
- package/dist/theme/colors.d.ts.map +0 -1
- package/dist/theme/index.d.ts.map +0 -1
- package/dist/theme/loader.d.ts.map +0 -1
- package/dist/theme/motion.d.ts.map +0 -1
- package/dist/theme/registry.d.ts.map +0 -1
- package/dist/theme/schema.d.ts.map +0 -1
- package/dist/theme/spacing.d.ts.map +0 -1
- package/dist/theme/typography.d.ts.map +0 -1
- package/dist/themes/brand.d.ts.map +0 -1
- package/dist/themes/brand_engine.d.ts.map +0 -1
- package/dist/themes/dark.d.ts.map +0 -1
- package/dist/themes/default.d.ts.map +0 -1
- package/dist/themes/index.d.ts.map +0 -1
- package/dist/themes/minimal.d.ts.map +0 -1
- package/dist/themes/neon.d.ts.map +0 -1
- package/dist/themes/types.d.ts.map +0 -1
- package/dist/tokens/colors.d.ts.map +0 -1
- package/dist/tokens/css-variables.d.ts.map +0 -1
- package/dist/tokens/index.d.ts.map +0 -1
- package/dist/tokens/motion.d.ts.map +0 -1
- package/dist/tokens/radius.d.ts.map +0 -1
- package/dist/tokens/shadows.d.ts.map +0 -1
- package/dist/tokens/spacing.d.ts.map +0 -1
- package/dist/tokens/typography.d.ts.map +0 -1
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dropdown Variants
|
|
3
|
+
*
|
|
4
|
+
* CVA-based variant system for Dropdown component.
|
|
5
|
+
* Supports variants (neutral, tinted), sizes (sm, md, lg), and states (open, closed, disabled).
|
|
6
|
+
* All styling uses token-based values with CSS variable references.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Dropdown Trigger Variants
|
|
10
|
+
* Button element that opens/closes the dropdown
|
|
11
|
+
*/
|
|
12
|
+
export declare const dropdownTriggerVariants: (props?: ({
|
|
13
|
+
variant?: "neutral" | "tinted" | null | undefined;
|
|
14
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
15
|
+
state?: "disabled" | "closed" | "open" | null | undefined;
|
|
16
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
17
|
+
/**
|
|
18
|
+
* Dropdown Menu Variants
|
|
19
|
+
* Container for the dropdown items
|
|
20
|
+
*/
|
|
21
|
+
export declare const dropdownMenuVariants: (props?: ({
|
|
22
|
+
variant?: "neutral" | "tinted" | null | undefined;
|
|
23
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
24
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
25
|
+
/**
|
|
26
|
+
* Dropdown Item Variants
|
|
27
|
+
* Individual menu item
|
|
28
|
+
*/
|
|
29
|
+
export declare const dropdownItemVariants: (props?: ({
|
|
30
|
+
variant?: "neutral" | "tinted" | null | undefined;
|
|
31
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
32
|
+
state?: "disabled" | "default" | "selected" | null | undefined;
|
|
33
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -53,4 +53,3 @@ export interface FilterBarProps {
|
|
|
53
53
|
}
|
|
54
54
|
export declare function FilterBar({ className, showSearch, showCategory, showDateRange, showPriceRange, showSorting, categories, sortOptions, searchPlaceholder, filtersLabel, clearAllLabel, categoryLabel, allCategoriesLabel, dateRangeLabel, anyDateLabel, dateSelectDateRangeLabel, dateClearLabel, dateCloseLabel, sortByLabel, sortAscLabel, sortDescLabel, sortByPlaceholder, activeFiltersLabel, priceRangeLabel, priceMinLabel, priceMaxLabel, priceAnyLabel, priceClearLabel, priceMinAriaLabel, priceMaxAriaLabel, onFiltersChange, }: FilterBarProps): import("react/jsx-runtime").JSX.Element;
|
|
55
55
|
export declare function FilterBarCompact({ className, ...props }: FilterBarProps): import("react/jsx-runtime").JSX.Element;
|
|
56
|
-
//# sourceMappingURL=FilterBar.d.ts.map
|
|
@@ -21,4 +21,3 @@ export interface FilterSelectProps {
|
|
|
21
21
|
}
|
|
22
22
|
export declare function FilterSelect({ value, onValueChange, options, placeholder, label, className, }: FilterSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
|
|
24
|
-
//# sourceMappingURL=FilterSelect.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
export interface SearchInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange"> {
|
|
2
|
+
export interface SearchInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "size"> {
|
|
3
3
|
value: string;
|
|
4
4
|
onChange: (value: string) => void;
|
|
5
5
|
onClear?: () => void;
|
|
@@ -14,4 +14,3 @@ export declare function useSearch(initialValue?: string): {
|
|
|
14
14
|
setSearch: React.Dispatch<React.SetStateAction<string>>;
|
|
15
15
|
clearSearch: () => void;
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=SearchInput.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { IconName } from '../../icons';
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
declare const iconVariants: (props?: ({
|
|
5
|
+
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
|
+
color?: "muted" | "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
7
|
+
stroke?: "normal" | "bold" | "thin" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
export interface IconProps extends Omit<React.SVGProps<SVGSVGElement>, "color" | "stroke">, VariantProps<typeof iconVariants> {
|
|
10
|
+
/**
|
|
11
|
+
* Icon name from registry
|
|
12
|
+
*/
|
|
13
|
+
name: IconName;
|
|
14
|
+
/**
|
|
15
|
+
* Render as child element (composition pattern)
|
|
16
|
+
* Uses Radix UI Slot for composition
|
|
17
|
+
*/
|
|
18
|
+
asChild?: boolean;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Icon component
|
|
22
|
+
*
|
|
23
|
+
* Unified icon component with token-driven sizing, colors, and stroke.
|
|
24
|
+
* Supports SSR-safe rendering and tree-shakeable icon registry.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```tsx
|
|
28
|
+
* <Icon name="search" size="md" color="default" />
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
declare const Icon: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
32
|
+
export { Icon, iconVariants };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { InputProps } from './Input.types';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* Input Component
|
|
5
|
+
*
|
|
6
|
+
* A fully accessible, theme-aware input component with variant support,
|
|
7
|
+
* icon slots, and comprehensive state management.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Input
|
|
12
|
+
* variant="outline"
|
|
13
|
+
* size="md"
|
|
14
|
+
* placeholder="Enter text..."
|
|
15
|
+
* iconLeft={<Icon name="search" />}
|
|
16
|
+
* />
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
20
|
+
export { Input };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { inputVariants } from './input-variants';
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
/**
|
|
5
|
+
* Input Component Props
|
|
6
|
+
*
|
|
7
|
+
* Extends native input HTML attributes with variant props, icon slots, and accessibility props.
|
|
8
|
+
*/
|
|
9
|
+
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
|
|
10
|
+
/**
|
|
11
|
+
* Input variant style
|
|
12
|
+
* @default "outline"
|
|
13
|
+
*/
|
|
14
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive";
|
|
15
|
+
/**
|
|
16
|
+
* Input size
|
|
17
|
+
* @default "md"
|
|
18
|
+
*/
|
|
19
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
20
|
+
/**
|
|
21
|
+
* Input state
|
|
22
|
+
* @default "default"
|
|
23
|
+
*/
|
|
24
|
+
state?: "default" | "disabled" | "error" | "success";
|
|
25
|
+
/**
|
|
26
|
+
* Whether input should take full width
|
|
27
|
+
* @default true
|
|
28
|
+
*/
|
|
29
|
+
fullWidth?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* Icon to display on the left side of the input
|
|
32
|
+
*/
|
|
33
|
+
iconLeft?: React.ReactNode;
|
|
34
|
+
/**
|
|
35
|
+
* Icon to display on the right side of the input
|
|
36
|
+
*/
|
|
37
|
+
iconRight?: React.ReactNode;
|
|
38
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Input Variants
|
|
3
|
+
*
|
|
4
|
+
* CVA-based variant system for Input component.
|
|
5
|
+
* Supports variants (primary, secondary, outline, ghost, destructive),
|
|
6
|
+
* sizes (xs, sm, md, lg, xl), and states (default, disabled, error, success).
|
|
7
|
+
* All styling uses token-based values with CSS variable references.
|
|
8
|
+
*/
|
|
9
|
+
export declare const inputVariants: (props?: ({
|
|
10
|
+
variant?: "primary" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
11
|
+
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
12
|
+
state?: "disabled" | "default" | "success" | "error" | null | undefined;
|
|
13
|
+
fullWidth?: boolean | null | undefined;
|
|
14
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
declare const inputVariants: (props?: ({
|
|
4
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
+
state?: "disabled" | "default" | "error" | null | undefined;
|
|
6
|
+
fullWidth?: boolean | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
|
|
9
|
+
}
|
|
10
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
+
export { Input, inputVariants };
|
|
@@ -1,12 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { DisplayValue, FlexDirectionValue, ResponsiveColor, ResponsiveRadius, ResponsiveSpacing, ShadowValue } from './layout.types';
|
|
2
|
+
/**
|
|
3
|
+
* Box Primitive Component
|
|
4
|
+
*
|
|
5
|
+
* Token-driven base container component with support for padding, margin,
|
|
6
|
+
* display, flex, grid, radius, and shadow. All styling uses token-based
|
|
7
|
+
* Tailwind classes only (no raw numeric values).
|
|
8
|
+
*/
|
|
3
9
|
import * as React from "react";
|
|
4
10
|
/**
|
|
5
11
|
* Box component props
|
|
6
12
|
*/
|
|
7
|
-
export interface BoxProps extends
|
|
13
|
+
export interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
+
/**
|
|
15
|
+
* Render as different HTML element
|
|
16
|
+
*/
|
|
17
|
+
as?: keyof React.JSX.IntrinsicElements;
|
|
8
18
|
/**
|
|
9
|
-
* Padding (all sides)
|
|
19
|
+
* Padding (all sides) - token-based (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
10
20
|
*/
|
|
11
21
|
p?: ResponsiveSpacing;
|
|
12
22
|
/**
|
|
@@ -34,7 +44,7 @@ export interface BoxProps extends Omit<React.HTMLAttributes<HTMLDivElement>, key
|
|
|
34
44
|
*/
|
|
35
45
|
pl?: ResponsiveSpacing;
|
|
36
46
|
/**
|
|
37
|
-
* Margin (all sides)
|
|
47
|
+
* Margin (all sides) - token-based
|
|
38
48
|
*/
|
|
39
49
|
m?: ResponsiveSpacing;
|
|
40
50
|
/**
|
|
@@ -62,21 +72,40 @@ export interface BoxProps extends Omit<React.HTMLAttributes<HTMLDivElement>, key
|
|
|
62
72
|
*/
|
|
63
73
|
ml?: ResponsiveSpacing;
|
|
64
74
|
/**
|
|
65
|
-
*
|
|
75
|
+
* Display type
|
|
66
76
|
*/
|
|
67
|
-
|
|
77
|
+
display?: DisplayValue;
|
|
78
|
+
/**
|
|
79
|
+
* Flex direction (when display is flex)
|
|
80
|
+
*/
|
|
81
|
+
flexDirection?: FlexDirectionValue;
|
|
68
82
|
/**
|
|
69
|
-
* Border radius
|
|
83
|
+
* Border radius - token-based (none, xs, sm, md, lg, xl, 2xl, 3xl, full)
|
|
70
84
|
*/
|
|
71
85
|
radius?: ResponsiveRadius;
|
|
72
86
|
/**
|
|
73
|
-
*
|
|
87
|
+
* Shadow - token-based (none, xs, sm, md, lg, xl, 2xl)
|
|
74
88
|
*/
|
|
75
|
-
|
|
89
|
+
shadow?: ShadowValue;
|
|
90
|
+
/**
|
|
91
|
+
* Background color - token-based
|
|
92
|
+
*/
|
|
93
|
+
bg?: ResponsiveColor;
|
|
94
|
+
/**
|
|
95
|
+
* Gap (for flex/grid layouts) - token-based
|
|
96
|
+
*/
|
|
97
|
+
gap?: ResponsiveSpacing;
|
|
98
|
+
/**
|
|
99
|
+
* Align items (for flex/grid layouts)
|
|
100
|
+
*/
|
|
101
|
+
align?: "start" | "end" | "center" | "baseline" | "stretch";
|
|
102
|
+
/**
|
|
103
|
+
* Justify content (for flex/grid layouts)
|
|
104
|
+
*/
|
|
105
|
+
justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
76
106
|
}
|
|
77
107
|
/**
|
|
78
108
|
* Box component
|
|
79
109
|
*/
|
|
80
110
|
declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLDivElement>>;
|
|
81
111
|
export { Box };
|
|
82
|
-
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { StackProps } from './Stack';
|
|
2
|
+
/**
|
|
3
|
+
* Column component - alias for Stack (semantic name)
|
|
4
|
+
*/
|
|
5
|
+
export declare const Column: import('react').ForwardRefExoticComponent<StackProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export type { StackProps as ColumnProps };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const containerVariants: (props?: ({
|
|
4
|
-
size?: "2xl" | "3xl" | "
|
|
4
|
+
size?: "2xl" | "3xl" | "4xl" | "5xl" | "sm" | "md" | "lg" | "xl" | "full" | "6xl" | "7xl" | null | undefined;
|
|
5
5
|
padding?: "none" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface ContainerProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof containerVariants> {
|
|
8
8
|
}
|
|
9
9
|
declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
10
|
export { Container, containerVariants };
|
|
11
|
-
//# sourceMappingURL=Container.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { AnimationProps } from '../../animation/types';
|
|
1
|
+
import { BoxProps } from './Box';
|
|
3
2
|
import { ResponsiveAlignment, ResponsiveFlexDirection, ResponsiveFlexWrap, ResponsiveJustify, ResponsiveSpacing } from './layout.types';
|
|
3
|
+
/**
|
|
4
|
+
* Flex Primitive Component
|
|
5
|
+
*
|
|
6
|
+
* Token-driven flexbox container with full control over direction, wrap,
|
|
7
|
+
* grow, shrink, basis, alignment, and spacing. Uses Box internally.
|
|
8
|
+
* All spacing values use tokens only.
|
|
9
|
+
*/
|
|
4
10
|
import * as React from "react";
|
|
5
|
-
|
|
6
|
-
direction?: "row" | "column" | "row-reverse" | "column-reverse" | null | undefined;
|
|
7
|
-
wrap?: "nowrap" | "wrap" | "wrap-reverse" | null | undefined;
|
|
8
|
-
justify?: "start" | "end" | "center" | "between" | "around" | "evenly" | null | undefined;
|
|
9
|
-
align?: "start" | "end" | "center" | "baseline" | "stretch" | null | undefined;
|
|
10
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
|
-
export interface FlexProps extends Omit<React.HTMLAttributes<HTMLDivElement>, keyof AnimationProps>, Omit<VariantProps<typeof flexVariants>, "direction" | "wrap" | "justify" | "align">, AnimationProps {
|
|
11
|
+
export interface FlexProps extends Omit<BoxProps, "display" | "flexDirection" | "align" | "justify"> {
|
|
12
12
|
/**
|
|
13
13
|
* Flex direction
|
|
14
14
|
*/
|
|
@@ -18,18 +18,33 @@ export interface FlexProps extends Omit<React.HTMLAttributes<HTMLDivElement>, ke
|
|
|
18
18
|
*/
|
|
19
19
|
wrap?: ResponsiveFlexWrap;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Flex grow (0 or 1, or use Tailwind flex-grow-*)
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
grow?: 0 | 1 | boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Flex shrink (0 or 1, or use Tailwind flex-shrink-*)
|
|
26
|
+
*/
|
|
27
|
+
shrink?: 0 | 1 | boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Flex basis (CSS value or Tailwind class)
|
|
30
|
+
* Note: For token-based approach, use spacing tokens via className
|
|
31
|
+
*/
|
|
32
|
+
basis?: string;
|
|
24
33
|
/**
|
|
25
34
|
* Align items
|
|
26
35
|
*/
|
|
27
36
|
align?: ResponsiveAlignment;
|
|
28
37
|
/**
|
|
29
|
-
*
|
|
38
|
+
* Justify content
|
|
39
|
+
*/
|
|
40
|
+
justify?: ResponsiveJustify;
|
|
41
|
+
/**
|
|
42
|
+
* Gap between flex items - token-based
|
|
30
43
|
*/
|
|
31
44
|
gap?: ResponsiveSpacing;
|
|
32
45
|
}
|
|
46
|
+
/**
|
|
47
|
+
* Flex component
|
|
48
|
+
*/
|
|
33
49
|
declare const Flex: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
-
export { Flex
|
|
35
|
-
//# sourceMappingURL=Flex.d.ts.map
|
|
50
|
+
export { Flex };
|
|
@@ -1,39 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { BoxProps } from './Box';
|
|
2
|
+
import { ResponsiveAlignment, ResponsiveColumns, ResponsiveFlow, ResponsiveJustify, ResponsiveRows, ResponsiveSpacing } from './layout.types';
|
|
3
|
+
/**
|
|
4
|
+
* Grid Primitive Component
|
|
5
|
+
*
|
|
6
|
+
* Token-driven CSS Grid container with support for columns, rows, gap,
|
|
7
|
+
* flow, and alignment. Uses Box internally. All spacing values use tokens only.
|
|
8
|
+
*/
|
|
4
9
|
import * as React from "react";
|
|
5
|
-
|
|
6
|
-
cols?: 1 | 12 | "none" | 2 | 4 | 6 | 3 | 5 | null | undefined;
|
|
7
|
-
rows?: 1 | "none" | 2 | 4 | 6 | 3 | 5 | null | undefined;
|
|
8
|
-
align?: "start" | "end" | "center" | "baseline" | "stretch" | null | undefined;
|
|
9
|
-
justify?: "start" | "end" | "center" | "between" | "around" | "evenly" | null | undefined;
|
|
10
|
-
flow?: "row" | "col" | "dense" | "row-dense" | "col-dense" | null | undefined;
|
|
11
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
|
-
export interface GridProps extends Omit<React.HTMLAttributes<HTMLDivElement>, keyof AnimationProps>, Omit<VariantProps<typeof gridVariants>, "cols" | "rows" | "gap" | "align" | "justify" | "flow">, AnimationProps {
|
|
10
|
+
export interface GridProps extends Omit<BoxProps, "display" | "align" | "justify"> {
|
|
13
11
|
/**
|
|
14
|
-
* Number of columns (
|
|
12
|
+
* Number of columns (1-6, 12, or none)
|
|
15
13
|
*/
|
|
16
14
|
cols?: ResponsiveColumns;
|
|
17
15
|
/**
|
|
18
|
-
* Number of columns
|
|
16
|
+
* Number of columns at sm breakpoint
|
|
19
17
|
*/
|
|
20
|
-
|
|
18
|
+
sm?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
21
19
|
/**
|
|
22
|
-
* Number of columns
|
|
20
|
+
* Number of columns at md breakpoint
|
|
23
21
|
*/
|
|
24
|
-
|
|
22
|
+
md?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
25
23
|
/**
|
|
26
|
-
* Number of columns
|
|
24
|
+
* Number of columns at lg breakpoint
|
|
27
25
|
*/
|
|
28
|
-
|
|
26
|
+
lg?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
29
27
|
/**
|
|
30
|
-
* Number of
|
|
28
|
+
* Number of columns at xl breakpoint
|
|
29
|
+
*/
|
|
30
|
+
xl?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
31
|
+
/**
|
|
32
|
+
* Number of columns at 2xl breakpoint
|
|
33
|
+
*/
|
|
34
|
+
"2xl"?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
35
|
+
/**
|
|
36
|
+
* Number of rows (1-6 or none)
|
|
31
37
|
*/
|
|
32
38
|
rows?: ResponsiveRows;
|
|
33
39
|
/**
|
|
34
|
-
* Gap between grid items (
|
|
40
|
+
* Gap between grid items - token-based (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
35
41
|
*/
|
|
36
42
|
gap?: ResponsiveSpacing;
|
|
43
|
+
/**
|
|
44
|
+
* Grid flow direction
|
|
45
|
+
*/
|
|
46
|
+
flow?: ResponsiveFlow;
|
|
37
47
|
/**
|
|
38
48
|
* Align items
|
|
39
49
|
*/
|
|
@@ -42,11 +52,9 @@ export interface GridProps extends Omit<React.HTMLAttributes<HTMLDivElement>, ke
|
|
|
42
52
|
* Justify content
|
|
43
53
|
*/
|
|
44
54
|
justify?: ResponsiveJustify;
|
|
45
|
-
/**
|
|
46
|
-
* Grid flow
|
|
47
|
-
*/
|
|
48
|
-
flow?: ResponsiveFlow;
|
|
49
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Grid component
|
|
58
|
+
*/
|
|
50
59
|
declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
51
|
-
export { Grid
|
|
52
|
-
//# sourceMappingURL=Grid.d.ts.map
|
|
60
|
+
export { Grid };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { BoxProps } from './Box';
|
|
2
|
+
import { ResponsiveSpacing } from './layout.types';
|
|
3
|
+
/**
|
|
4
|
+
* Row Primitive Component
|
|
5
|
+
*
|
|
6
|
+
* Token-driven horizontal layout component (flex row). Uses Box internally
|
|
7
|
+
* with flex display and row direction. All spacing uses token-based values.
|
|
8
|
+
*/
|
|
9
|
+
import * as React from "react";
|
|
10
|
+
export interface RowProps extends Omit<BoxProps, "display" | "flexDirection"> {
|
|
11
|
+
/**
|
|
12
|
+
* Gap between row items - token-based (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
13
|
+
*/
|
|
14
|
+
gap?: ResponsiveSpacing;
|
|
15
|
+
/**
|
|
16
|
+
* Align items
|
|
17
|
+
*/
|
|
18
|
+
align?: "start" | "end" | "center" | "baseline" | "stretch";
|
|
19
|
+
/**
|
|
20
|
+
* Justify content
|
|
21
|
+
*/
|
|
22
|
+
justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Row component - horizontal layout using flex row
|
|
26
|
+
*/
|
|
27
|
+
declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
+
export { Row };
|
|
@@ -1,29 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { BoxProps } from './Box';
|
|
2
|
+
import { ResponsiveSpacing } from './layout.types';
|
|
3
|
+
/**
|
|
4
|
+
* Stack Primitive Component
|
|
5
|
+
*
|
|
6
|
+
* Token-driven vertical layout component (flex column). Uses Box internally
|
|
7
|
+
* with flex display and column direction. All spacing uses token-based values.
|
|
8
|
+
*/
|
|
4
9
|
import * as React from "react";
|
|
5
|
-
|
|
6
|
-
align?: "start" | "end" | "center" | "stretch" | null | undefined;
|
|
7
|
-
justify?: "start" | "end" | "center" | "between" | "around" | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
export interface StackProps extends Omit<React.HTMLAttributes<HTMLDivElement>, keyof AnimationProps>, Omit<VariantProps<typeof stackVariants>, "align" | "justify">, AnimationProps {
|
|
10
|
+
export interface StackProps extends Omit<BoxProps, "display" | "flexDirection" | "gap"> {
|
|
10
11
|
/**
|
|
11
|
-
* Stack direction
|
|
12
|
+
* Stack direction - vertical (column) or horizontal (row)
|
|
12
13
|
*/
|
|
13
|
-
direction?:
|
|
14
|
+
direction?: "vertical" | "horizontal";
|
|
14
15
|
/**
|
|
15
|
-
* Spacing between stack items (
|
|
16
|
+
* Spacing between stack items - token-based (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
17
|
+
* Alias for gap prop
|
|
16
18
|
*/
|
|
17
19
|
spacing?: ResponsiveSpacing;
|
|
20
|
+
/**
|
|
21
|
+
* Gap between stack items - token-based (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
22
|
+
* Alias for spacing prop
|
|
23
|
+
*/
|
|
24
|
+
gap?: ResponsiveSpacing;
|
|
18
25
|
/**
|
|
19
26
|
* Align items
|
|
20
27
|
*/
|
|
21
|
-
align?:
|
|
28
|
+
align?: "start" | "end" | "center" | "baseline" | "stretch";
|
|
22
29
|
/**
|
|
23
30
|
* Justify content
|
|
24
31
|
*/
|
|
25
|
-
justify?:
|
|
32
|
+
justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
26
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Stack component - vertical layout using flex column by default
|
|
36
|
+
*/
|
|
27
37
|
declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
export { Stack
|
|
29
|
-
//# sourceMappingURL=Stack.d.ts.map
|
|
38
|
+
export { Stack };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BoxProps } from './Box';
|
|
2
|
+
import { SurfaceVariant } from './layout.types';
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
declare const surfaceVariants: (props?: ({
|
|
5
|
+
variant?: "flat" | "raised" | "sunken" | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export interface SurfaceProps extends Omit<BoxProps, "bg" | "shadow"> {
|
|
8
|
+
/**
|
|
9
|
+
* Surface variant
|
|
10
|
+
*/
|
|
11
|
+
variant?: SurfaceVariant;
|
|
12
|
+
/**
|
|
13
|
+
* Border radius - token-based
|
|
14
|
+
*/
|
|
15
|
+
radius?: BoxProps["radius"];
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Surface component - elevation variant component
|
|
19
|
+
*/
|
|
20
|
+
declare const Surface: React.ForwardRefExoticComponent<SurfaceProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
+
export { Surface, surfaceVariants };
|