@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
package/dist/animation/tas.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { Duration, durations, Easing, easings, reducedMotion,
|
|
2
|
-
import { SpringConfig } from './types';
|
|
1
|
+
import { Duration, durations, Easing, easings, reducedMotion, Transition, transitions } from '../tokens/motion';
|
|
3
2
|
/**
|
|
4
3
|
* Check if user prefers reduced motion
|
|
5
4
|
* Checks both system preference and global override
|
|
@@ -10,71 +9,16 @@ export declare function shouldReduceMotion(override?: boolean | "auto"): boolean
|
|
|
10
9
|
* Returns transition string using motion tokens
|
|
11
10
|
*/
|
|
12
11
|
export declare function createTransition(transitionName?: Transition, customDuration?: Duration | string, customEasing?: Easing | string, reduceMotionOverride?: boolean | "auto"): string;
|
|
13
|
-
/**
|
|
14
|
-
* Create spring configuration for Framer Motion
|
|
15
|
-
* Returns spring config object using motion tokens
|
|
16
|
-
*/
|
|
17
|
-
export declare function createSpring(springName?: Spring, customConfig?: Partial<SpringConfig>, reduceMotionOverride?: boolean | "auto"): SpringConfig;
|
|
18
|
-
/**
|
|
19
|
-
* Get animation configuration with reduced motion support
|
|
20
|
-
* Returns config object that respects user preferences
|
|
21
|
-
*/
|
|
22
|
-
export declare function getAnimationConfig(config?: {
|
|
23
|
-
duration?: Duration | string | number;
|
|
24
|
-
easing?: Easing | string;
|
|
25
|
-
delay?: number;
|
|
26
|
-
spring?: Spring | Partial<SpringConfig>;
|
|
27
|
-
reduceMotion?: boolean | "auto";
|
|
28
|
-
}): {
|
|
29
|
-
duration?: number | string;
|
|
30
|
-
ease?: string | number[];
|
|
31
|
-
delay?: number;
|
|
32
|
-
type?: "tween" | "spring";
|
|
33
|
-
[key: string]: unknown;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Convert CSS transition to Framer Motion transition
|
|
37
|
-
*/
|
|
38
|
-
export declare function cssTransitionToMotionTransition(cssTransition: string, reduceMotionOverride?: boolean | "auto"): {
|
|
39
|
-
duration?: number;
|
|
40
|
-
ease?: string | number[];
|
|
41
|
-
type?: "tween";
|
|
42
|
-
};
|
|
43
|
-
/**
|
|
44
|
-
* Get keyframe animation configuration
|
|
45
|
-
* Converts keyframe tokens to Framer Motion keyframes
|
|
46
|
-
*/
|
|
47
|
-
export declare function getKeyframeConfig(_keyframeName: string, reduceMotionOverride?: boolean | "auto"): object | undefined;
|
|
48
12
|
/**
|
|
49
13
|
* Check if animations should be enabled
|
|
50
14
|
* Global check for animation enablement
|
|
51
15
|
*/
|
|
52
16
|
export declare function shouldEnableAnimations(globalEnable?: boolean, reduceMotionOverride?: boolean | "auto"): boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Create reveal animation configuration
|
|
55
|
-
* For scroll-triggered animations using Intersection Observer
|
|
56
|
-
*/
|
|
57
|
-
export declare function createRevealConfig(options?: {
|
|
58
|
-
threshold?: number;
|
|
59
|
-
rootMargin?: string;
|
|
60
|
-
triggerOnce?: boolean;
|
|
61
|
-
reduceMotion?: boolean | "auto";
|
|
62
|
-
}): {
|
|
63
|
-
initial: object;
|
|
64
|
-
animate: object;
|
|
65
|
-
transition: object;
|
|
66
|
-
viewport?: {
|
|
67
|
-
once?: boolean;
|
|
68
|
-
margin?: string;
|
|
69
|
-
amount?: number;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
17
|
/**
|
|
73
18
|
* Export motion tokens for direct access
|
|
74
19
|
*/
|
|
75
|
-
export { durations, easings, reducedMotion,
|
|
20
|
+
export { durations, easings, reducedMotion, transitions };
|
|
76
21
|
/**
|
|
77
22
|
* Export types
|
|
78
23
|
*/
|
|
79
24
|
export type { Duration, Easing, Transition };
|
|
80
|
-
//# sourceMappingURL=tas.d.ts.map
|
|
@@ -5,52 +5,14 @@ import { Spring as SpringToken } from '../tokens/motion';
|
|
|
5
5
|
export type Spring = SpringToken;
|
|
6
6
|
/**
|
|
7
7
|
* Animation props for layout primitives
|
|
8
|
+
* Returns CSS class names for Motion Tokens V2 animations
|
|
8
9
|
*/
|
|
9
10
|
export interface AnimationProps {
|
|
10
11
|
/**
|
|
11
|
-
*
|
|
12
|
+
* CSS class name for the animation
|
|
13
|
+
* Maps to tm-motion-* utility classes
|
|
12
14
|
*/
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Animate to this state (Framer Motion)
|
|
16
|
-
*/
|
|
17
|
-
animate?: string | object | false;
|
|
18
|
-
/**
|
|
19
|
-
* Exit animation state (Framer Motion)
|
|
20
|
-
*/
|
|
21
|
-
exit?: string | object | false;
|
|
22
|
-
/**
|
|
23
|
-
* Transition configuration
|
|
24
|
-
*/
|
|
25
|
-
transition?: string | object | Spring;
|
|
26
|
-
/**
|
|
27
|
-
* Animation on hover
|
|
28
|
-
*/
|
|
29
|
-
whileHover?: object;
|
|
30
|
-
/**
|
|
31
|
-
* Animation on focus
|
|
32
|
-
*/
|
|
33
|
-
whileFocus?: object;
|
|
34
|
-
/**
|
|
35
|
-
* Animation on tap
|
|
36
|
-
*/
|
|
37
|
-
whileTap?: object;
|
|
38
|
-
/**
|
|
39
|
-
* Animation on drag
|
|
40
|
-
*/
|
|
41
|
-
whileDrag?: object;
|
|
42
|
-
/**
|
|
43
|
-
* Animation on in view (Intersection Observer)
|
|
44
|
-
*/
|
|
45
|
-
whileInView?: object;
|
|
46
|
-
/**
|
|
47
|
-
* Viewport options for whileInView
|
|
48
|
-
*/
|
|
49
|
-
viewport?: {
|
|
50
|
-
once?: boolean;
|
|
51
|
-
margin?: string;
|
|
52
|
-
amount?: number;
|
|
53
|
-
};
|
|
15
|
+
className?: string;
|
|
54
16
|
}
|
|
55
17
|
/**
|
|
56
18
|
* Transition configuration
|
|
@@ -90,17 +52,16 @@ export interface PresetConfig {
|
|
|
90
52
|
export interface ComponentAnimationConfig {
|
|
91
53
|
/**
|
|
92
54
|
* Animation preset for initial mount/entrance
|
|
93
|
-
* Can be a preset name string or
|
|
55
|
+
* Can be a preset name string or CSS class name
|
|
94
56
|
*/
|
|
95
|
-
animation?: "fadeIn" | "fadeInUp" | "fadeInDown" | "fadeInLeft" | "fadeInRight" | "slideInUp" | "slideInDown" | "slideInLeft" | "slideInRight" | "scaleIn" |
|
|
57
|
+
animation?: "fadeIn" | "fadeInUp" | "fadeInDown" | "fadeInLeft" | "fadeInRight" | "slideInUp" | "slideInDown" | "slideInLeft" | "slideInRight" | "scaleIn" | string;
|
|
96
58
|
/**
|
|
97
59
|
* Animation preset for hover state
|
|
98
|
-
* Can be a preset name string or
|
|
60
|
+
* Can be a preset name string or CSS class name
|
|
99
61
|
*/
|
|
100
|
-
hoverAnimation?: "hoverLift" | "hoverScale" | "tapScale" |
|
|
62
|
+
hoverAnimation?: "hoverLift" | "hoverScale" | "tapScale" | string;
|
|
101
63
|
/**
|
|
102
|
-
* Custom animation
|
|
64
|
+
* Custom animation class name (overrides preset names)
|
|
103
65
|
*/
|
|
104
66
|
animationProps?: AnimationProps;
|
|
105
67
|
}
|
|
106
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* useInView Hook
|
|
3
|
+
*
|
|
4
|
+
* Native Intersection Observer hook for scroll-triggered animations.
|
|
5
|
+
* SSR-safe implementation that works without framer-motion.
|
|
6
|
+
*/
|
|
7
|
+
export interface UseInViewOptions {
|
|
8
|
+
/**
|
|
9
|
+
* Trigger animation only once
|
|
10
|
+
*/
|
|
11
|
+
once?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Root margin for Intersection Observer
|
|
14
|
+
* e.g., "-100px" or "0px 0px -100px 0px"
|
|
15
|
+
*/
|
|
16
|
+
margin?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Threshold for intersection (0-1)
|
|
19
|
+
*/
|
|
20
|
+
threshold?: number;
|
|
21
|
+
}
|
|
22
|
+
export interface UseInViewReturn {
|
|
23
|
+
/**
|
|
24
|
+
* Ref to attach to the element to observe
|
|
25
|
+
*/
|
|
26
|
+
ref: React.RefObject<HTMLElement | null>;
|
|
27
|
+
/**
|
|
28
|
+
* Whether the element is currently in view
|
|
29
|
+
*/
|
|
30
|
+
isInView: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Hook to detect when an element enters the viewport
|
|
34
|
+
* Uses native Intersection Observer API
|
|
35
|
+
*/
|
|
36
|
+
export declare function useInView(options?: UseInViewOptions): UseInViewReturn;
|
|
@@ -4,4 +4,3 @@ import { AnimationProps, ComponentAnimationConfig } from './types';
|
|
|
4
4
|
* Merges animation, hoverAnimation, and custom animationProps
|
|
5
5
|
*/
|
|
6
6
|
export declare function resolveComponentAnimations(config?: ComponentAnimationConfig): AnimationProps;
|
|
7
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -34,4 +34,3 @@ import * as React from "react";
|
|
|
34
34
|
*/
|
|
35
35
|
export declare const SectionBuilder: React.ForwardRefExoticComponent<SectionBuilderProps & React.RefAttributes<HTMLElement>>;
|
|
36
36
|
export type { SectionBuilderConfig, SectionBuilderProps } from './SectionBuilder.types';
|
|
37
|
-
//# sourceMappingURL=SectionBuilder.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { ArtistCardProps } from './ArtistCard.types';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* ArtistCard Component
|
|
5
|
+
*
|
|
6
|
+
* Domain-specific card component for displaying artist information.
|
|
7
|
+
* Uses CardBase for layout and DOMAIN_TOKENS for all styling.
|
|
8
|
+
* Supports size variants (default, compact) and style variants (default, featured).
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* <ArtistCard
|
|
13
|
+
* name="Artist Name"
|
|
14
|
+
* genres="Jazz, Blues"
|
|
15
|
+
* followers={1200}
|
|
16
|
+
* plays={50000}
|
|
17
|
+
* followersLabel="followers"
|
|
18
|
+
* playsLabel="plays"
|
|
19
|
+
* />
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare const ArtistCard: React.ForwardRefExoticComponent<ArtistCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ComponentAnimationConfig } from '../../../animation/types';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* ArtistCard Size Variant
|
|
5
|
+
*/
|
|
6
|
+
export type ArtistCardSize = "default" | "compact";
|
|
7
|
+
/**
|
|
8
|
+
* ArtistCard Style Variant
|
|
9
|
+
*/
|
|
10
|
+
export type ArtistCardVariant = "default" | "featured";
|
|
11
|
+
/**
|
|
12
|
+
* Props for ArtistCard component.
|
|
13
|
+
* All props are flat and domain-agnostic. Consumer should provide pre-localized strings.
|
|
14
|
+
*/
|
|
15
|
+
export interface ArtistCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
16
|
+
/** Artist name (pre-localized string, required) */
|
|
17
|
+
name: string;
|
|
18
|
+
/** Artist description (pre-localized string, optional) */
|
|
19
|
+
description?: string;
|
|
20
|
+
/** Genres as comma-separated string (e.g., "Jazz, Blues, Rock", optional) */
|
|
21
|
+
genres?: string;
|
|
22
|
+
/** Follower count for popularity metric (optional) */
|
|
23
|
+
followers?: number;
|
|
24
|
+
/** Plays/listens count for popularity metric (optional) */
|
|
25
|
+
plays?: number;
|
|
26
|
+
/** Image URL (optional) */
|
|
27
|
+
imageUrl?: string;
|
|
28
|
+
/** Link URL for artist details page (optional) */
|
|
29
|
+
href?: string;
|
|
30
|
+
/** Whether this is a featured artist */
|
|
31
|
+
featured?: boolean;
|
|
32
|
+
/** Show image section */
|
|
33
|
+
showImage?: boolean;
|
|
34
|
+
/** Badge text for featured artists (optional) */
|
|
35
|
+
popularBadgeText?: string;
|
|
36
|
+
/** Label for followers count (required) */
|
|
37
|
+
followersLabel: string;
|
|
38
|
+
/** Label for plays count (required) */
|
|
39
|
+
playsLabel: string;
|
|
40
|
+
/** Size variant - controls padding and gap */
|
|
41
|
+
size?: ArtistCardSize;
|
|
42
|
+
/** Style variant - controls visual appearance */
|
|
43
|
+
variant?: ArtistCardVariant;
|
|
44
|
+
/** Animation configuration for entrance and hover animations */
|
|
45
|
+
animation?: ComponentAnimationConfig;
|
|
46
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ArtistCard Variants
|
|
3
|
+
*
|
|
4
|
+
* CVA-based variant system for ArtistCard component.
|
|
5
|
+
* Supports size variants (default, compact) and style variants (default, featured).
|
|
6
|
+
* All styling uses token-based values from DOMAIN_TOKENS, TEXT_TOKENS, ICON_TOKENS, and MOTION_TOKENS.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* ArtistCard root wrapper variant
|
|
10
|
+
* Base wrapper for the card component
|
|
11
|
+
*/
|
|
12
|
+
export declare const artistCardVariants: (props?: ({
|
|
13
|
+
size?: "default" | "compact" | null | undefined;
|
|
14
|
+
variant?: "default" | "featured" | null | undefined;
|
|
15
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
16
|
+
/**
|
|
17
|
+
* Badge positioning variant
|
|
18
|
+
* Uses absolute positioning for featured badge overlay
|
|
19
|
+
*/
|
|
20
|
+
export declare const artistCardBadgeVariants: (props?: ({
|
|
21
|
+
size?: "default" | "compact" | null | undefined;
|
|
22
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
23
|
+
/**
|
|
24
|
+
* Badge surface variant
|
|
25
|
+
* Uses DOMAIN_TOKENS.badges for styling
|
|
26
|
+
*/
|
|
27
|
+
export declare const artistCardBadgeSurfaceVariants: (props?: ({
|
|
28
|
+
size?: "default" | "compact" | null | undefined;
|
|
29
|
+
variant?: "default" | "featured" | null | undefined;
|
|
30
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
31
|
+
/**
|
|
32
|
+
* ArtistCard Image Overlay Variants
|
|
33
|
+
*
|
|
34
|
+
* CVA-based variant system for image overlay on hover.
|
|
35
|
+
* Uses DOMAIN_TOKENS.image.overlay and MOTION_TOKENS.
|
|
36
|
+
*/
|
|
37
|
+
export declare const artistCardImageOverlayVariants: (props?: ({
|
|
38
|
+
size?: "default" | "compact" | null | undefined;
|
|
39
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
40
|
+
/**
|
|
41
|
+
* ArtistCard Image Transform Variants
|
|
42
|
+
*
|
|
43
|
+
* CVA-based variant system for image scale on hover.
|
|
44
|
+
* Uses DOMAIN_TOKENS.motion.hover and MOTION_TOKENS.
|
|
45
|
+
*/
|
|
46
|
+
export declare const artistCardImageTransformVariants: (props?: ({
|
|
47
|
+
size?: "default" | "compact" | null | undefined;
|
|
48
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
49
|
+
/**
|
|
50
|
+
* Metadata container variant
|
|
51
|
+
* Uses DOMAIN_TOKENS.metadata for spacing
|
|
52
|
+
*/
|
|
53
|
+
export declare const artistCardMetadataVariants: (props?: ({
|
|
54
|
+
size?: "default" | "compact" | null | undefined;
|
|
55
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
56
|
+
/**
|
|
57
|
+
* Metadata item variant
|
|
58
|
+
* Uses DOMAIN_TOKENS.metadata for icon and text styling
|
|
59
|
+
*/
|
|
60
|
+
export declare const artistCardMetadataItemVariants: (props?: ({
|
|
61
|
+
size?: "default" | "compact" | null | undefined;
|
|
62
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
63
|
+
/**
|
|
64
|
+
* Metadata icon variant
|
|
65
|
+
* Uses ICON_TOKENS for sizing and colors
|
|
66
|
+
*/
|
|
67
|
+
export declare const artistCardMetadataIconVariants: (props?: ({
|
|
68
|
+
size?: "default" | "compact" | null | undefined;
|
|
69
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
70
|
+
/**
|
|
71
|
+
* Genres display variant
|
|
72
|
+
* Uses DOMAIN_TOKENS.metadata for text styling
|
|
73
|
+
*/
|
|
74
|
+
export declare const artistCardGenresVariants: (props?: ({
|
|
75
|
+
size?: "default" | "compact" | null | undefined;
|
|
76
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
77
|
+
/**
|
|
78
|
+
* Footer border variant
|
|
79
|
+
* Uses DOMAIN_TOKENS for border and spacing
|
|
80
|
+
*/
|
|
81
|
+
export declare const artistCardFooterBorderVariants: (props?: ({
|
|
82
|
+
size?: "default" | "compact" | null | undefined;
|
|
83
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ArtistCard Component Exports
|
|
3
|
+
*
|
|
4
|
+
* Barrel exports for ArtistCard component and related types/variants.
|
|
5
|
+
*/
|
|
6
|
+
export { ArtistCard } from './ArtistCard';
|
|
7
|
+
export type { ArtistCardProps, ArtistCardSize, ArtistCardVariant } from './ArtistCard.types';
|
|
8
|
+
export { artistCardBadgeSurfaceVariants, artistCardBadgeVariants, artistCardFooterBorderVariants, artistCardGenresVariants, artistCardImageOverlayVariants, artistCardImageTransformVariants, artistCardMetadataIconVariants, artistCardMetadataItemVariants, artistCardMetadataVariants, artistCardVariants, } from './ArtistCard.variants';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CardBaseContentWrapperProps, CardBaseFooterWrapperProps, CardBaseImageWrapperProps, CardBaseProps } from './CardBase.types';
|
|
2
|
+
/**
|
|
3
|
+
* CardBase Component
|
|
4
|
+
*
|
|
5
|
+
* Reusable card layout component with CVA architecture.
|
|
6
|
+
* Provides pure layout wrappers (ImageWrapper, ContentWrapper, FooterWrapper)
|
|
7
|
+
* with no domain logic. All styling uses token-based values.
|
|
8
|
+
*
|
|
9
|
+
* Architecture:
|
|
10
|
+
* <CardBase>
|
|
11
|
+
* <ImageWrapper />
|
|
12
|
+
* <ContentWrapper />
|
|
13
|
+
* <FooterWrapper />
|
|
14
|
+
* </CardBase>
|
|
15
|
+
*/
|
|
16
|
+
import * as React from "react";
|
|
17
|
+
/**
|
|
18
|
+
* CardBase Root Component
|
|
19
|
+
*
|
|
20
|
+
* Main container for card layout. Uses CVA variants for size and style.
|
|
21
|
+
* All styling comes from DOMAIN_TOKENS, MOTION_TOKENS.
|
|
22
|
+
*/
|
|
23
|
+
declare const CardBase: React.ForwardRefExoticComponent<CardBaseProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
/**
|
|
25
|
+
* CardBase ImageWrapper Component
|
|
26
|
+
*
|
|
27
|
+
* Layout wrapper for card images. Uses DOMAIN_TOKENS.image for styling.
|
|
28
|
+
* Provides aspect ratio, border radius, and overflow handling.
|
|
29
|
+
*/
|
|
30
|
+
declare const CardBaseImageWrapper: React.ForwardRefExoticComponent<CardBaseImageWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
+
/**
|
|
32
|
+
* CardBase ContentWrapper Component
|
|
33
|
+
*
|
|
34
|
+
* Layout wrapper for card content. Uses flex column layout.
|
|
35
|
+
* Spacing is controlled by parent CardBase size variant.
|
|
36
|
+
*/
|
|
37
|
+
declare const CardBaseContentWrapper: React.ForwardRefExoticComponent<CardBaseContentWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
+
/**
|
|
39
|
+
* CardBase FooterWrapper Component
|
|
40
|
+
*
|
|
41
|
+
* Layout wrapper for card footer. Uses flex layout.
|
|
42
|
+
* Spacing is controlled by parent CardBase size variant.
|
|
43
|
+
*/
|
|
44
|
+
declare const CardBaseFooterWrapper: React.ForwardRefExoticComponent<CardBaseFooterWrapperProps & React.RefAttributes<HTMLDivElement>>;
|
|
45
|
+
export { CardBase, CardBaseContentWrapper, CardBaseFooterWrapper, CardBaseImageWrapper };
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
/**
|
|
3
|
+
* CardBase Size Variant
|
|
4
|
+
*/
|
|
5
|
+
export type CardBaseSize = "default" | "compact";
|
|
6
|
+
/**
|
|
7
|
+
* CardBase Style Variant
|
|
8
|
+
*/
|
|
9
|
+
export type CardBaseVariant = "default" | "featured";
|
|
10
|
+
/**
|
|
11
|
+
* CardBase Root Component Props
|
|
12
|
+
*/
|
|
13
|
+
export interface CardBaseProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
+
/**
|
|
15
|
+
* Size variant - controls padding and gap
|
|
16
|
+
* @default "default"
|
|
17
|
+
*/
|
|
18
|
+
size?: CardBaseSize;
|
|
19
|
+
/**
|
|
20
|
+
* Style variant - controls visual appearance
|
|
21
|
+
* @default "default"
|
|
22
|
+
*/
|
|
23
|
+
variant?: CardBaseVariant;
|
|
24
|
+
/**
|
|
25
|
+
* Additional CSS classes
|
|
26
|
+
*/
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* CardBase ImageWrapper Props
|
|
31
|
+
*/
|
|
32
|
+
export interface CardBaseImageWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
33
|
+
/**
|
|
34
|
+
* Size variant - inherited from parent CardBase
|
|
35
|
+
* @default "default"
|
|
36
|
+
*/
|
|
37
|
+
size?: CardBaseSize;
|
|
38
|
+
/**
|
|
39
|
+
* Additional CSS classes
|
|
40
|
+
*/
|
|
41
|
+
className?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* CardBase ContentWrapper Props
|
|
45
|
+
*/
|
|
46
|
+
export interface CardBaseContentWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
47
|
+
/**
|
|
48
|
+
* Size variant - inherited from parent CardBase
|
|
49
|
+
* @default "default"
|
|
50
|
+
*/
|
|
51
|
+
size?: CardBaseSize;
|
|
52
|
+
/**
|
|
53
|
+
* Additional CSS classes
|
|
54
|
+
*/
|
|
55
|
+
className?: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* CardBase FooterWrapper Props
|
|
59
|
+
*/
|
|
60
|
+
export interface CardBaseFooterWrapperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
61
|
+
/**
|
|
62
|
+
* Size variant - inherited from parent CardBase
|
|
63
|
+
* @default "default"
|
|
64
|
+
*/
|
|
65
|
+
size?: CardBaseSize;
|
|
66
|
+
/**
|
|
67
|
+
* Additional CSS classes
|
|
68
|
+
*/
|
|
69
|
+
className?: string;
|
|
70
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CardBase Variants
|
|
3
|
+
*
|
|
4
|
+
* CVA-based variant system for CardBase component.
|
|
5
|
+
* Supports size variants (default, compact) and style variants (default, featured).
|
|
6
|
+
* All styling uses token-based values from DOMAIN_TOKENS and MOTION_TOKENS.
|
|
7
|
+
*/
|
|
8
|
+
export declare const cardBaseVariants: (props?: ({
|
|
9
|
+
size?: "default" | "compact" | null | undefined;
|
|
10
|
+
variant?: "default" | "featured" | null | undefined;
|
|
11
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
12
|
+
/**
|
|
13
|
+
* CardBase ImageWrapper Variants
|
|
14
|
+
*
|
|
15
|
+
* CVA-based variant system for ImageWrapper component.
|
|
16
|
+
* Uses DOMAIN_TOKENS.image for aspect ratio and radius.
|
|
17
|
+
*/
|
|
18
|
+
export declare const cardBaseImageVariants: (props?: ({
|
|
19
|
+
size?: "default" | "compact" | null | undefined;
|
|
20
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
21
|
+
/**
|
|
22
|
+
* CardBase ContentWrapper Variants
|
|
23
|
+
*
|
|
24
|
+
* CVA-based variant system for ContentWrapper component.
|
|
25
|
+
* Uses layout tokens for spacing.
|
|
26
|
+
*/
|
|
27
|
+
export declare const cardBaseContentVariants: (props?: ({
|
|
28
|
+
size?: "default" | "compact" | null | undefined;
|
|
29
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
30
|
+
/**
|
|
31
|
+
* CardBase FooterWrapper Variants
|
|
32
|
+
*
|
|
33
|
+
* CVA-based variant system for FooterWrapper component.
|
|
34
|
+
* Uses layout tokens for spacing.
|
|
35
|
+
*/
|
|
36
|
+
export declare const cardBaseFooterVariants: (props?: ({
|
|
37
|
+
size?: "default" | "compact" | null | undefined;
|
|
38
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CardBase Component Exports
|
|
3
|
+
*
|
|
4
|
+
* Barrel exports for CardBase component and its layout wrappers.
|
|
5
|
+
*/
|
|
6
|
+
export { CardBase, CardBaseContentWrapper, CardBaseFooterWrapper, CardBaseImageWrapper, } from './CardBase';
|
|
7
|
+
export type { CardBaseContentWrapperProps, CardBaseFooterWrapperProps, CardBaseImageWrapperProps, CardBaseProps, CardBaseSize, CardBaseVariant, } from './CardBase.types';
|
|
8
|
+
export { cardBaseContentVariants, cardBaseFooterVariants, cardBaseImageVariants, cardBaseVariants, } from './CardBase.variants';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CategoryCardProps } from './CategoryCard.types';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* CategoryCard Component
|
|
5
|
+
*
|
|
6
|
+
* Domain-specific card component for displaying category information.
|
|
7
|
+
* Uses CardBase for layout and DOMAIN_TOKENS for all styling.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <CategoryCard
|
|
12
|
+
* title="Jazz"
|
|
13
|
+
* description="Explore jazz events"
|
|
14
|
+
* href="/categories/jazz"
|
|
15
|
+
* />
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare const CategoryCard: React.ForwardRefExoticComponent<CategoryCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { ComponentAnimationConfig } from '../../../animation/types';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
/**
|
|
4
|
+
* CategoryCard Size Variant
|
|
5
|
+
*/
|
|
6
|
+
export type CategoryCardSize = "default" | "compact";
|
|
7
|
+
/**
|
|
8
|
+
* CategoryCard Style Variant
|
|
9
|
+
*/
|
|
10
|
+
export type CategoryCardVariant = "default" | "featured";
|
|
11
|
+
/**
|
|
12
|
+
* Props for CategoryCard component.
|
|
13
|
+
* All props are flat and domain-agnostic. Consumer should provide pre-localized strings.
|
|
14
|
+
*/
|
|
15
|
+
export interface CategoryCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
16
|
+
/** Category title (pre-localized string, required) */
|
|
17
|
+
title: string;
|
|
18
|
+
/** Category description (pre-localized string, optional) */
|
|
19
|
+
description?: string;
|
|
20
|
+
/** Image URL (optional) */
|
|
21
|
+
imageUrl?: string;
|
|
22
|
+
/** Link URL for category details page (optional) */
|
|
23
|
+
href?: string;
|
|
24
|
+
/** Whether this is a featured category */
|
|
25
|
+
featured?: boolean;
|
|
26
|
+
/** Badge text for featured categories (optional) */
|
|
27
|
+
featuredBadgeText?: string;
|
|
28
|
+
/** Show image section */
|
|
29
|
+
showImage?: boolean;
|
|
30
|
+
/** Size variant - controls padding and spacing */
|
|
31
|
+
size?: CategoryCardSize;
|
|
32
|
+
/** Style variant - controls visual appearance */
|
|
33
|
+
variant?: CategoryCardVariant;
|
|
34
|
+
/** Additional CSS classes */
|
|
35
|
+
className?: string;
|
|
36
|
+
/** Animation configuration for entrance and hover animations */
|
|
37
|
+
animation?: ComponentAnimationConfig;
|
|
38
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CategoryCard Variants
|
|
3
|
+
*
|
|
4
|
+
* CVA-based variant system for CategoryCard component.
|
|
5
|
+
* Supports size variants (default, compact) and style variants (default, featured).
|
|
6
|
+
* All styling uses token-based values from DOMAIN_TOKENS and TEXT_TOKENS.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Badge positioning variant
|
|
10
|
+
* Uses absolute positioning for featured badge overlay
|
|
11
|
+
*/
|
|
12
|
+
export declare const categoryCardBadgeVariants: (props?: ({
|
|
13
|
+
size?: "default" | "compact" | null | undefined;
|
|
14
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
15
|
+
/**
|
|
16
|
+
* Badge surface variant
|
|
17
|
+
* Uses DOMAIN_TOKENS.badges for styling
|
|
18
|
+
*/
|
|
19
|
+
export declare const categoryCardBadgeSurfaceVariants: (props?: ({
|
|
20
|
+
variant?: "default" | "featured" | null | undefined;
|
|
21
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|