@tenerife.music/ui 1.0.8 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -8
- package/dist/{tokens/colors.d.ts → colors-CVA7_16U.d.cts} +21 -19
- package/dist/colors-CVA7_16U.d.ts +289 -0
- package/dist/index-BgXvioll.d.cts +6845 -0
- package/dist/index-Bv4wWj9I.d.ts +6845 -0
- package/dist/index.cjs +16385 -2
- package/dist/index.d.cts +4020 -0
- package/dist/index.d.ts +4020 -39
- package/dist/index.mjs +14502 -6425
- package/dist/preset.cjs +1264 -2
- package/dist/preset.d.cts +21 -0
- package/dist/preset.d.ts +3 -1
- package/dist/preset.mjs +1165 -95
- package/dist/styles.cjs +2 -2
- package/dist/styles.css +87 -1
- package/dist/styles.d.cts +2 -0
- package/dist/styles.d.ts +2 -0
- package/dist/styles.mjs +1 -1
- package/dist/theme/index.cjs +2634 -2
- package/dist/theme/index.d.cts +453 -0
- package/dist/theme/index.d.ts +453 -8
- package/dist/theme/index.mjs +1601 -576
- package/dist/tokens/index.cjs +6203 -5
- package/dist/tokens/index.d.cts +2 -0
- package/dist/tokens/index.d.ts +2 -9
- package/dist/tokens/index.mjs +2601 -155
- package/package.json +10 -9
- package/dist/animation/index.d.ts +0 -8
- package/dist/animation/presets.d.ts +0 -301
- package/dist/animation/tas.d.ts +0 -24
- package/dist/animation/types.d.ts +0 -67
- package/dist/animation/useInView.d.ts +0 -36
- package/dist/animation/utils.d.ts +0 -6
- package/dist/brand-C5R2semX.js +0 -45
- package/dist/brand-DQb18Frh.cjs +0 -2
- package/dist/components/SectionBuilder.d.ts +0 -36
- package/dist/components/SectionBuilder.presets.d.ts +0 -228
- package/dist/components/SectionBuilder.types.d.ts +0 -326
- package/dist/components/admin/Dashboard.d.ts +0 -8
- package/dist/components/admin/UserManagement.d.ts +0 -8
- package/dist/components/auth/LoginForm.d.ts +0 -11
- package/dist/components/auth/ProfileCard.d.ts +0 -9
- package/dist/components/auth/RegisterForm.d.ts +0 -13
- package/dist/components/cards/ArtistCard/ArtistCard.d.ts +0 -22
- package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts +0 -46
- package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts +0 -83
- package/dist/components/cards/ArtistCard/index.d.ts +0 -8
- package/dist/components/cards/CardBase/CardBase.d.ts +0 -45
- package/dist/components/cards/CardBase/CardBase.types.d.ts +0 -70
- package/dist/components/cards/CardBase/CardBase.variants.d.ts +0 -38
- package/dist/components/cards/CardBase/index.d.ts +0 -8
- package/dist/components/cards/CategoryCard/CategoryCard.d.ts +0 -18
- package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts +0 -38
- package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts +0 -21
- package/dist/components/cards/CategoryCard/index.d.ts +0 -7
- package/dist/components/cards/EventCard/EventCard.d.ts +0 -19
- package/dist/components/cards/EventCard/EventCard.types.d.ts +0 -47
- package/dist/components/cards/EventCard/EventCard.variants.d.ts +0 -70
- package/dist/components/cards/EventCard/index.d.ts +0 -7
- package/dist/components/cards/PromoCard/PromoCard.d.ts +0 -20
- package/dist/components/cards/PromoCard/PromoCard.types.d.ts +0 -42
- package/dist/components/cards/PromoCard/PromoCard.variants.d.ts +0 -35
- package/dist/components/cards/PromoCard/index.d.ts +0 -7
- package/dist/components/cards/TicketCard/TicketCard.d.ts +0 -19
- package/dist/components/cards/TicketCard/TicketCard.types.d.ts +0 -55
- package/dist/components/cards/TicketCard/TicketCard.variants.d.ts +0 -71
- package/dist/components/cards/TicketCard/index.d.ts +0 -7
- package/dist/components/cards/VenueCard/VenueCard.d.ts +0 -21
- package/dist/components/cards/VenueCard/VenueCard.types.d.ts +0 -46
- package/dist/components/cards/VenueCard/VenueCard.variants.d.ts +0 -60
- package/dist/components/cards/VenueCard/index.d.ts +0 -8
- package/dist/components/cards/index.d.ts +0 -19
- package/dist/components/checkbox/Checkbox.d.ts +0 -22
- package/dist/components/checkbox/Checkbox.types.d.ts +0 -68
- package/dist/components/checkbox/checkbox-variants.d.ts +0 -13
- package/dist/components/checkbox/index.d.ts +0 -3
- package/dist/components/containers/Card.d.ts +0 -75
- package/dist/components/containers/Section.d.ts +0 -31
- package/dist/components/containers/Surface.d.ts +0 -28
- package/dist/components/containers/index.d.ts +0 -9
- package/dist/components/controls/LanguageSelector.d.ts +0 -17
- package/dist/components/data/List.d.ts +0 -12
- package/dist/components/data/Table.d.ts +0 -14
- package/dist/components/data/Timeline.d.ts +0 -13
- package/dist/components/data/data-list/DataList.d.ts +0 -29
- package/dist/components/data/data-list/DataList.types.d.ts +0 -43
- package/dist/components/data/data-list/DataListItem.d.ts +0 -20
- package/dist/components/data/data-list/DataListLabel.d.ts +0 -19
- package/dist/components/data/data-list/DataListValue.d.ts +0 -18
- package/dist/components/data/data-list/index.d.ts +0 -10
- package/dist/components/data/empty-state/EmptyState.d.ts +0 -31
- package/dist/components/data/empty-state/EmptyState.types.d.ts +0 -51
- package/dist/components/data/empty-state/EmptyStateAction.d.ts +0 -17
- package/dist/components/data/empty-state/EmptyStateDescription.d.ts +0 -17
- package/dist/components/data/empty-state/EmptyStateIcon.d.ts +0 -22
- package/dist/components/data/empty-state/EmptyStateTitle.d.ts +0 -17
- package/dist/components/data/empty-state/index.d.ts +0 -10
- package/dist/components/data/index.d.ts +0 -9
- package/dist/components/data/skeleton/Skeleton.d.ts +0 -24
- package/dist/components/data/skeleton/Skeleton.types.d.ts +0 -12
- package/dist/components/data/skeleton/index.d.ts +0 -6
- package/dist/components/data/table/Table.d.ts +0 -33
- package/dist/components/data/table/Table.types.d.ts +0 -264
- package/dist/components/data/table/TableBody.d.ts +0 -13
- package/dist/components/data/table/TableCell.d.ts +0 -13
- package/dist/components/data/table/TableEmpty.d.ts +0 -13
- package/dist/components/data/table/TableExpandableContent.d.ts +0 -14
- package/dist/components/data/table/TableHead.d.ts +0 -13
- package/dist/components/data/table/TableHeader.d.ts +0 -13
- package/dist/components/data/table/TableLoadingState.d.ts +0 -13
- package/dist/components/data/table/TableRow.d.ts +0 -13
- package/dist/components/data/table/TableSortIcon.d.ts +0 -14
- package/dist/components/data/table/index.d.ts +0 -17
- package/dist/components/drawer/Drawer.d.ts +0 -41
- package/dist/components/drawer/Drawer.types.d.ts +0 -75
- package/dist/components/drawer/drawer-variants.d.ts +0 -17
- package/dist/components/drawer/index.d.ts +0 -8
- package/dist/components/dropdown/Dropdown.d.ts +0 -38
- package/dist/components/dropdown/Dropdown.types.d.ts +0 -82
- package/dist/components/dropdown/dropdown-variants.d.ts +0 -33
- package/dist/components/feedback/ConsentBanner.d.ts +0 -8
- package/dist/components/feedback/Progress.d.ts +0 -8
- package/dist/components/feedback/Skeleton.d.ts +0 -6
- package/dist/components/filters/DateRangePicker.d.ts +0 -21
- package/dist/components/filters/FilterBar.d.ts +0 -55
- package/dist/components/filters/FilterSelect.d.ts +0 -23
- package/dist/components/filters/PriceRangeSlider.d.ts +0 -27
- package/dist/components/filters/SearchFilters.d.ts +0 -32
- package/dist/components/filters/SearchInput.d.ts +0 -16
- package/dist/components/filters/types.d.ts +0 -48
- package/dist/components/icon/Icon.d.ts +0 -32
- package/dist/components/icon/Icon.types.d.ts +0 -7
- package/dist/components/icon/index.d.ts +0 -4
- package/dist/components/icons/TrendingIcon.d.ts +0 -6
- package/dist/components/image/Image.d.ts +0 -48
- package/dist/components/input/Input.d.ts +0 -20
- package/dist/components/input/Input.types.d.ts +0 -38
- package/dist/components/input/index.d.ts +0 -3
- package/dist/components/input/input-variants.d.ts +0 -14
- package/dist/components/input/legacy/input.d.ts +0 -11
- package/dist/components/layout/Box.d.ts +0 -111
- package/dist/components/layout/Column.d.ts +0 -6
- package/dist/components/layout/Container.d.ts +0 -31
- package/dist/components/layout/Flex.d.ts +0 -50
- package/dist/components/layout/Footer.d.ts +0 -9
- package/dist/components/layout/Grid.d.ts +0 -60
- package/dist/components/layout/ModeHero.d.ts +0 -10
- package/dist/components/layout/Navbar.d.ts +0 -9
- package/dist/components/layout/Row.d.ts +0 -28
- package/dist/components/layout/Section.d.ts +0 -10
- package/dist/components/layout/Stack.d.ts +0 -38
- package/dist/components/layout/Surface.d.ts +0 -21
- package/dist/components/layout/index.d.ts +0 -22
- package/dist/components/layout/layout.types.d.ts +0 -107
- package/dist/components/menus/DropdownMenu.d.ts +0 -27
- package/dist/components/menus/NavigationMenu.d.ts +0 -12
- package/dist/components/menus/Tabs.d.ts +0 -7
- package/dist/components/menus/context-menu/ContextMenuContent.d.ts +0 -22
- package/dist/components/menus/context-menu/ContextMenuGroup.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuItem.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuLabel.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuRoot.d.ts +0 -47
- package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts +0 -16
- package/dist/components/menus/context-menu/index.d.ts +0 -12
- package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts +0 -18
- package/dist/components/menus/dropdown/DropdownMenuContent.d.ts +0 -15
- package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts +0 -12
- package/dist/components/menus/dropdown/DropdownMenuItem.d.ts +0 -30
- package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts +0 -17
- package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts +0 -24
- package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts +0 -18
- package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts +0 -33
- package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuSub.d.ts +0 -10
- package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts +0 -14
- package/dist/components/menus/dropdown/index.d.ts +0 -18
- package/dist/components/menus/hover-card/HoverCardContent.d.ts +0 -14
- package/dist/components/menus/hover-card/HoverCardRoot.d.ts +0 -20
- package/dist/components/menus/hover-card/HoverCardTrigger.d.ts +0 -13
- package/dist/components/menus/hover-card/index.d.ts +0 -8
- package/dist/components/menus/index.d.ts +0 -9
- package/dist/components/menus/popover/PopoverArrow.d.ts +0 -17
- package/dist/components/menus/popover/PopoverContent.d.ts +0 -24
- package/dist/components/menus/popover/PopoverRoot.d.ts +0 -43
- package/dist/components/menus/popover/PopoverTrigger.d.ts +0 -17
- package/dist/components/menus/popover/index.d.ts +0 -9
- package/dist/components/modal/Modal.d.ts +0 -70
- package/dist/components/modal/modal-variants.d.ts +0 -26
- package/dist/components/modals/ConfirmDialog.d.ts +0 -27
- package/dist/components/modals/CustomDialog.d.ts +0 -10
- package/dist/components/modals/Modal.d.ts +0 -19
- package/dist/components/modals/ModalProvider.d.ts +0 -16
- package/dist/components/modals/SimpleModal.d.ts +0 -11
- package/dist/components/navigation/Breadcrumbs.d.ts +0 -12
- package/dist/components/navigation/Pagination.d.ts +0 -10
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +0 -52
- package/dist/components/navigation/breadcrumbs/index.d.ts +0 -5
- package/dist/components/navigation/index.d.ts +0 -10
- package/dist/components/navigation/pagination/Pagination.d.ts +0 -60
- package/dist/components/navigation/pagination/index.d.ts +0 -5
- package/dist/components/navigation/segmented-control/SegmentedControl.d.ts +0 -43
- package/dist/components/navigation/segmented-control/index.d.ts +0 -5
- package/dist/components/navigation/stepper/Stepper.d.ts +0 -129
- package/dist/components/navigation/stepper/index.d.ts +0 -5
- package/dist/components/navigation/tabs/Tabs.d.ts +0 -73
- package/dist/components/navigation/tabs/index.d.ts +0 -5
- package/dist/components/notifications/NotificationCenter.DismissAll.d.ts +0 -21
- package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts +0 -23
- package/dist/components/notifications/NotificationCenter.Item.d.ts +0 -24
- package/dist/components/notifications/NotificationCenter.List.d.ts +0 -22
- package/dist/components/notifications/NotificationCenter.Panel.d.ts +0 -32
- package/dist/components/notifications/NotificationCenter.Provider.d.ts +0 -31
- package/dist/components/notifications/NotificationCenter.Trigger.d.ts +0 -15
- package/dist/components/notifications/NotificationCenter.d.ts +0 -27
- package/dist/components/notifications/NotificationCenter.types.d.ts +0 -89
- package/dist/components/notifications/index.d.ts +0 -23
- package/dist/components/notifications/useNotificationCenter.d.ts +0 -47
- package/dist/components/overlays/Backdrop.d.ts +0 -24
- package/dist/components/overlays/Dialog.d.ts +0 -66
- package/dist/components/overlays/Modal.d.ts +0 -60
- package/dist/components/overlays/OverlayPortal.d.ts +0 -22
- package/dist/components/overlays/Popover.d.ts +0 -30
- package/dist/components/overlays/Portal.d.ts +0 -29
- package/dist/components/overlays/Toast.d.ts +0 -36
- package/dist/components/overlays/ToastProvider.d.ts +0 -58
- package/dist/components/overlays/ToastViewport.d.ts +0 -27
- package/dist/components/overlays/Tooltip.d.ts +0 -28
- package/dist/components/overlays/index.d.ts +0 -13
- package/dist/components/overlays/utils/FocusLock.d.ts +0 -30
- package/dist/components/overlays/utils/ScrollLock.d.ts +0 -11
- package/dist/components/overlays/utils/positioning.d.ts +0 -68
- package/dist/components/primitives/Badge.d.ts +0 -9
- package/dist/components/primitives/Button.d.ts +0 -1
- package/dist/components/primitives/Card.d.ts +0 -1
- package/dist/components/primitives/Divider.d.ts +0 -7
- package/dist/components/primitives/Input.d.ts +0 -4
- package/dist/components/primitives/Label.d.ts +0 -1
- package/dist/components/primitives/Link.d.ts +0 -13
- package/dist/components/primitives/ThemeSwitch.d.ts +0 -9
- package/dist/components/radio/Radio.d.ts +0 -23
- package/dist/components/radio/Radio.types.d.ts +0 -63
- package/dist/components/radio/RadioGroup.d.ts +0 -20
- package/dist/components/radio/RadioGroup.types.d.ts +0 -61
- package/dist/components/radio/index.d.ts +0 -5
- package/dist/components/radio/radio-variants.d.ts +0 -13
- package/dist/components/search/SearchBar.d.ts +0 -10
- package/dist/components/sections/ArticlesSection.d.ts +0 -25
- package/dist/components/sections/CTASection.d.ts +0 -37
- package/dist/components/sections/FeatureSection.d.ts +0 -33
- package/dist/components/sections/HeroSection.d.ts +0 -27
- package/dist/components/sections/TrendingSection.d.ts +0 -28
- package/dist/components/select/Select.d.ts +0 -38
- package/dist/components/select/Select.types.d.ts +0 -107
- package/dist/components/select/index.d.ts +0 -5
- package/dist/components/select/legacy/select.d.ts +0 -11
- package/dist/components/select/select-variants.d.ts +0 -32
- package/dist/components/skeletons/EventCardSkeleton.d.ts +0 -6
- package/dist/components/skeletons/VenueCardSkeleton.d.ts +0 -6
- package/dist/components/switch/Switch.d.ts +0 -24
- package/dist/components/switch/Switch.types.d.ts +0 -53
- package/dist/components/switch/index.d.ts +0 -3
- package/dist/components/switch/switch-variants.d.ts +0 -34
- package/dist/components/textarea/Textarea.d.ts +0 -21
- package/dist/components/textarea/Textarea.types.d.ts +0 -40
- package/dist/components/textarea/index.d.ts +0 -3
- package/dist/components/textarea/legacy/textarea.d.ts +0 -11
- package/dist/components/textarea/textarea-variants.d.ts +0 -14
- package/dist/components/toasts/Toast.d.ts +0 -12
- package/dist/components/toasts/ToastProvider.d.ts +0 -26
- package/dist/components/ui/alert.d.ts +0 -9
- package/dist/components/ui/body.d.ts +0 -12
- package/dist/components/ui/button.d.ts +0 -13
- package/dist/components/ui/caption.d.ts +0 -11
- package/dist/components/ui/card.d.ts +0 -8
- package/dist/components/ui/code.d.ts +0 -11
- package/dist/components/ui/dialog.d.ts +0 -19
- package/dist/components/ui/display.d.ts +0 -12
- package/dist/components/ui/field.d.ts +0 -45
- package/dist/components/ui/heading.d.ts +0 -12
- package/dist/components/ui/label.d.ts +0 -12
- package/dist/components/ui/lead.d.ts +0 -11
- package/dist/components/ui/text.d.ts +0 -18
- package/dist/components/ui/toast.d.ts +0 -15
- package/dist/components/ui/toaster.d.ts +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -7
- package/dist/dark-Cvoy1uFT.js +0 -30
- package/dist/dark-OOhiqt1q.cjs +0 -2
- package/dist/default-BKgH1D9-.js +0 -8
- package/dist/default-Ddg7Haf2.cjs +0 -2
- package/dist/hooks/use-toast.d.ts +0 -44
- package/dist/hooks/useDebounce.d.ts +0 -19
- package/dist/hooks/useModal.d.ts +0 -19
- package/dist/hooks/useToast.d.ts +0 -26
- package/dist/icons/IconArrowRight.d.ts +0 -6
- package/dist/icons/IconCalendar.d.ts +0 -6
- package/dist/icons/IconCheck.d.ts +0 -6
- package/dist/icons/IconChevronDown.d.ts +0 -6
- package/dist/icons/IconChevronRight.d.ts +0 -6
- package/dist/icons/IconClose.d.ts +0 -6
- package/dist/icons/IconError.d.ts +0 -6
- package/dist/icons/IconInfo.d.ts +0 -6
- package/dist/icons/IconLocation.d.ts +0 -6
- package/dist/icons/IconMenu.d.ts +0 -6
- package/dist/icons/IconSearch.d.ts +0 -6
- package/dist/icons/IconSuccess.d.ts +0 -6
- package/dist/icons/IconWarning.d.ts +0 -6
- package/dist/icons/icon.types.d.ts +0 -25
- package/dist/icons/index.d.ts +0 -34
- package/dist/lib/a11y.d.ts +0 -15
- package/dist/lib/responsive-props.d.ts +0 -63
- package/dist/lib/utils.d.ts +0 -8
- package/dist/motion-CzQhSEqk.js +0 -738
- package/dist/motion-DJx1TbXJ.cjs +0 -2
- package/dist/theme/ThemeProvider.d.ts +0 -55
- package/dist/theme/applyMode.d.ts +0 -42
- package/dist/theme/colors.d.ts +0 -6
- package/dist/theme/loader.d.ts +0 -63
- package/dist/theme/motion/gestures.d.ts +0 -76
- package/dist/theme/motion/useReducedMotion.d.ts +0 -11
- package/dist/theme/motion.d.ts +0 -127
- package/dist/theme/registry.d.ts +0 -70
- package/dist/theme/schema.d.ts +0 -124
- package/dist/theme/spacing.d.ts +0 -34
- package/dist/theme/typography.d.ts +0 -45
- package/dist/themes/brand.d.ts +0 -6
- package/dist/themes/brand_engine.d.ts +0 -108
- package/dist/themes/dark.d.ts +0 -6
- package/dist/themes/default.d.ts +0 -6
- package/dist/themes/index.d.ts +0 -24
- package/dist/themes/minimal.d.ts +0 -6
- package/dist/themes/neon.d.ts +0 -6
- package/dist/themes/types.d.ts +0 -278
- package/dist/tokens/components/alert.d.ts +0 -74
- package/dist/tokens/components/button.d.ts +0 -130
- package/dist/tokens/components/card.d.ts +0 -91
- package/dist/tokens/components/checkbox.d.ts +0 -161
- package/dist/tokens/components/data.d.ts +0 -227
- package/dist/tokens/components/domain.d.ts +0 -379
- package/dist/tokens/components/dropdown.d.ts +0 -146
- package/dist/tokens/components/icon.d.ts +0 -57
- package/dist/tokens/components/index.d.ts +0 -31
- package/dist/tokens/components/input.d.ts +0 -284
- package/dist/tokens/components/menu.d.ts +0 -114
- package/dist/tokens/components/motion.d.ts +0 -103
- package/dist/tokens/components/navigation.d.ts +0 -181
- package/dist/tokens/components/notifications.d.ts +0 -159
- package/dist/tokens/components/overlay.d.ts +0 -227
- package/dist/tokens/components/popover.d.ts +0 -84
- package/dist/tokens/components/radio.d.ts +0 -149
- package/dist/tokens/components/section.d.ts +0 -41
- package/dist/tokens/components/surface.d.ts +0 -94
- package/dist/tokens/components/switch.d.ts +0 -208
- package/dist/tokens/components/text.d.ts +0 -68
- package/dist/tokens/components/toast.d.ts +0 -146
- package/dist/tokens/components/tooltip.d.ts +0 -52
- package/dist/tokens/css-variables.d.ts +0 -251
- package/dist/tokens/motion/v2.d.ts +0 -342
- package/dist/tokens/motion.d.ts +0 -485
- package/dist/tokens/opacity.d.ts +0 -22
- package/dist/tokens/radius.d.ts +0 -161
- package/dist/tokens/shadows.d.ts +0 -230
- package/dist/tokens/spacing.d.ts +0 -238
- package/dist/tokens/theme.d.ts +0 -119
- package/dist/tokens/typography.d.ts +0 -460
- package/dist/typography-C-Nb4y0o.cjs +0 -2
- package/dist/typography-DHym9KAP.js +0 -1196
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tenerife.music/ui",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
|
+
"storybook": "storybook dev -p 6006",
|
|
42
43
|
"format": "prettier . --write",
|
|
43
44
|
"lint:fix": "./scripts/lint-local.sh",
|
|
44
45
|
"typecheck": "tsc --noEmit && tsc --noEmit --project tsconfig.vite.json",
|
|
@@ -46,21 +47,20 @@
|
|
|
46
47
|
"ci:local": "./scripts/ci-local.sh",
|
|
47
48
|
"test:ui": "vitest --ui",
|
|
48
49
|
"ci:a11y": "pnpm test:a11y && pnpm a11y:contrast",
|
|
49
|
-
"build": "
|
|
50
|
+
"build": "tsup",
|
|
50
51
|
"dev": "vite build --watch",
|
|
51
52
|
"clean": "rimraf dist",
|
|
52
53
|
"format:check": "prettier . --check",
|
|
53
|
-
"lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**'",
|
|
54
|
-
"lint:check": "eslint . --ext .ts,.tsx --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**'",
|
|
54
|
+
"lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
|
|
55
|
+
"lint:check": "eslint . --ext .ts,.tsx --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
|
|
55
56
|
"lint:ci": "./scripts/lint-ci.sh",
|
|
56
|
-
"lint:strict": "eslint . --ext .ts,.tsx --max-warnings=0 --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**'",
|
|
57
|
-
"lint:errors": "eslint . --ext .ts,.tsx --format stylish --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**'",
|
|
58
|
-
"precommit:lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**'",
|
|
57
|
+
"lint:strict": "eslint . --ext .ts,.tsx --max-warnings=0 --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
|
|
58
|
+
"lint:errors": "eslint . --ext .ts,.tsx --format stylish --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
|
|
59
|
+
"precommit:lint": "eslint . --ext .ts,.tsx --fix --ignore-pattern '**/*.stories.*' --ignore-pattern '.storybook/**' --ignore-pattern 'storybook-static/**' --ignore-pattern 'docs/**' --ignore-pattern '.cursor/**'",
|
|
59
60
|
"test:watch": "vitest",
|
|
60
61
|
"test:coverage": "vitest run --coverage",
|
|
61
62
|
"test:a11y": "vitest run a11y.test",
|
|
62
63
|
"a11y:contrast": "tsx scripts/a11y-contrast-check.js",
|
|
63
|
-
"storybook": "storybook dev -p 6006",
|
|
64
64
|
"build-storybook": "storybook build",
|
|
65
65
|
"preview": "vite preview",
|
|
66
66
|
"prepublishOnly": "npm run clean && npm run build && npm run typecheck",
|
|
@@ -88,6 +88,7 @@
|
|
|
88
88
|
"@radix-ui/react-avatar": "^1.1.0",
|
|
89
89
|
"@radix-ui/react-checkbox": "^1.1.2",
|
|
90
90
|
"@radix-ui/react-collapsible": "^1.1.1",
|
|
91
|
+
"@radix-ui/react-context-menu": "^2.2.1",
|
|
91
92
|
"@radix-ui/react-dialog": "^1.1.15",
|
|
92
93
|
"@radix-ui/react-dropdown-menu": "^2.1.1",
|
|
93
94
|
"@radix-ui/react-icons": "^1.3.2",
|
|
@@ -159,11 +160,11 @@
|
|
|
159
160
|
"semantic-release": "^25.0.2",
|
|
160
161
|
"storybook": "^8.0.0",
|
|
161
162
|
"tailwindcss": "^3.0.0",
|
|
163
|
+
"tsup": "^8.5.1",
|
|
162
164
|
"tsx": "^4.19.2",
|
|
163
165
|
"typescript": "^5.9.3",
|
|
164
166
|
"typescript-eslint": "^8.47.0",
|
|
165
167
|
"vite": "^5.0.0",
|
|
166
|
-
"vite-plugin-dts": "^4.0.0",
|
|
167
168
|
"vitest": "^4.0.15",
|
|
168
169
|
"vitest-axe": "^0.1.0"
|
|
169
170
|
},
|
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
import { AnimationProps, PresetConfig } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Fade animation presets
|
|
4
|
-
*/
|
|
5
|
-
export declare const fadePresets: {
|
|
6
|
-
/**
|
|
7
|
-
* Fade in animation
|
|
8
|
-
*/
|
|
9
|
-
fadeIn: (config?: PresetConfig) => AnimationProps;
|
|
10
|
-
/**
|
|
11
|
-
* Fade out animation
|
|
12
|
-
*/
|
|
13
|
-
fadeOut: (config?: PresetConfig) => AnimationProps;
|
|
14
|
-
/**
|
|
15
|
-
* Fade in from top
|
|
16
|
-
*/
|
|
17
|
-
fadeInUp: (config?: PresetConfig & {
|
|
18
|
-
distance?: number;
|
|
19
|
-
}) => AnimationProps;
|
|
20
|
-
/**
|
|
21
|
-
* Fade in from bottom
|
|
22
|
-
*/
|
|
23
|
-
fadeInDown: (config?: PresetConfig & {
|
|
24
|
-
distance?: number;
|
|
25
|
-
}) => AnimationProps;
|
|
26
|
-
/**
|
|
27
|
-
* Fade in from left
|
|
28
|
-
*/
|
|
29
|
-
fadeInLeft: (config?: PresetConfig & {
|
|
30
|
-
distance?: number;
|
|
31
|
-
}) => AnimationProps;
|
|
32
|
-
/**
|
|
33
|
-
* Fade in from right
|
|
34
|
-
*/
|
|
35
|
-
fadeInRight: (config?: PresetConfig & {
|
|
36
|
-
distance?: number;
|
|
37
|
-
}) => AnimationProps;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Slide animation presets
|
|
41
|
-
*/
|
|
42
|
-
export declare const slidePresets: {
|
|
43
|
-
/**
|
|
44
|
-
* Slide in from bottom
|
|
45
|
-
*/
|
|
46
|
-
slideInUp: (config?: PresetConfig & {
|
|
47
|
-
distance?: number;
|
|
48
|
-
}) => AnimationProps;
|
|
49
|
-
/**
|
|
50
|
-
* Slide in from top
|
|
51
|
-
*/
|
|
52
|
-
slideInDown: (config?: PresetConfig & {
|
|
53
|
-
distance?: number;
|
|
54
|
-
}) => AnimationProps;
|
|
55
|
-
/**
|
|
56
|
-
* Slide in from left
|
|
57
|
-
*/
|
|
58
|
-
slideInLeft: (config?: PresetConfig & {
|
|
59
|
-
distance?: number;
|
|
60
|
-
}) => AnimationProps;
|
|
61
|
-
/**
|
|
62
|
-
* Slide in from right
|
|
63
|
-
*/
|
|
64
|
-
slideInRight: (config?: PresetConfig & {
|
|
65
|
-
distance?: number;
|
|
66
|
-
}) => AnimationProps;
|
|
67
|
-
/**
|
|
68
|
-
* Slide out to top
|
|
69
|
-
*/
|
|
70
|
-
slideOutUp: (config?: PresetConfig & {
|
|
71
|
-
distance?: number;
|
|
72
|
-
}) => AnimationProps;
|
|
73
|
-
/**
|
|
74
|
-
* Slide out to bottom
|
|
75
|
-
*/
|
|
76
|
-
slideOutDown: (config?: PresetConfig & {
|
|
77
|
-
distance?: number;
|
|
78
|
-
}) => AnimationProps;
|
|
79
|
-
/**
|
|
80
|
-
* Slide out to left
|
|
81
|
-
*/
|
|
82
|
-
slideOutLeft: (config?: PresetConfig & {
|
|
83
|
-
distance?: number;
|
|
84
|
-
}) => AnimationProps;
|
|
85
|
-
/**
|
|
86
|
-
* Slide out to right
|
|
87
|
-
*/
|
|
88
|
-
slideOutRight: (config?: PresetConfig & {
|
|
89
|
-
distance?: number;
|
|
90
|
-
}) => AnimationProps;
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* Scale animation presets
|
|
94
|
-
*/
|
|
95
|
-
export declare const scalePresets: {
|
|
96
|
-
/**
|
|
97
|
-
* Scale in animation
|
|
98
|
-
*/
|
|
99
|
-
scaleIn: (config?: PresetConfig & {
|
|
100
|
-
scale?: number;
|
|
101
|
-
}) => AnimationProps;
|
|
102
|
-
/**
|
|
103
|
-
* Scale out animation
|
|
104
|
-
*/
|
|
105
|
-
scaleOut: (config?: PresetConfig & {
|
|
106
|
-
scale?: number;
|
|
107
|
-
}) => AnimationProps;
|
|
108
|
-
/**
|
|
109
|
-
* Scale up on hover
|
|
110
|
-
*/
|
|
111
|
-
scaleUp: (config?: PresetConfig & {
|
|
112
|
-
scale?: number;
|
|
113
|
-
}) => AnimationProps;
|
|
114
|
-
/**
|
|
115
|
-
* Scale down on tap
|
|
116
|
-
*/
|
|
117
|
-
scaleDown: (config?: PresetConfig & {
|
|
118
|
-
scale?: number;
|
|
119
|
-
}) => AnimationProps;
|
|
120
|
-
};
|
|
121
|
-
/**
|
|
122
|
-
* Stagger animation helper
|
|
123
|
-
* Note: Stagger animations are not directly supported in CSS-only approach.
|
|
124
|
-
* This function is kept for API compatibility but returns empty className.
|
|
125
|
-
* For stagger effects, apply animation classes to child elements with CSS delays.
|
|
126
|
-
*/
|
|
127
|
-
export declare function createStagger(_staggerChildren?: number, _delayChildren?: number, config?: PresetConfig): AnimationProps;
|
|
128
|
-
/**
|
|
129
|
-
* Reveal on scroll preset
|
|
130
|
-
* Uses Intersection Observer for scroll-triggered animations
|
|
131
|
-
* Returns CSS class that should be applied when element is in view
|
|
132
|
-
*/
|
|
133
|
-
export declare function revealOnScroll(config?: PresetConfig & {
|
|
134
|
-
threshold?: number;
|
|
135
|
-
rootMargin?: string;
|
|
136
|
-
triggerOnce?: boolean;
|
|
137
|
-
direction?: "up" | "down" | "left" | "right" | "fade";
|
|
138
|
-
distance?: number;
|
|
139
|
-
}): AnimationProps;
|
|
140
|
-
/**
|
|
141
|
-
* Hover animation presets
|
|
142
|
-
*/
|
|
143
|
-
export declare const hoverPresets: {
|
|
144
|
-
/**
|
|
145
|
-
* Lift up on hover (combines scale and y translation)
|
|
146
|
-
*/
|
|
147
|
-
hoverLift: (config?: PresetConfig & {
|
|
148
|
-
scale?: number;
|
|
149
|
-
y?: number;
|
|
150
|
-
}) => AnimationProps;
|
|
151
|
-
/**
|
|
152
|
-
* Scale up on hover
|
|
153
|
-
*/
|
|
154
|
-
hoverScale: (config?: PresetConfig & {
|
|
155
|
-
scale?: number;
|
|
156
|
-
}) => AnimationProps;
|
|
157
|
-
/**
|
|
158
|
-
* Scale down on tap
|
|
159
|
-
*/
|
|
160
|
-
tapScale: (config?: PresetConfig & {
|
|
161
|
-
scale?: number;
|
|
162
|
-
}) => AnimationProps;
|
|
163
|
-
};
|
|
164
|
-
/**
|
|
165
|
-
* Export all presets
|
|
166
|
-
*/
|
|
167
|
-
export declare const presets: {
|
|
168
|
-
fade: {
|
|
169
|
-
/**
|
|
170
|
-
* Fade in animation
|
|
171
|
-
*/
|
|
172
|
-
fadeIn: (config?: PresetConfig) => AnimationProps;
|
|
173
|
-
/**
|
|
174
|
-
* Fade out animation
|
|
175
|
-
*/
|
|
176
|
-
fadeOut: (config?: PresetConfig) => AnimationProps;
|
|
177
|
-
/**
|
|
178
|
-
* Fade in from top
|
|
179
|
-
*/
|
|
180
|
-
fadeInUp: (config?: PresetConfig & {
|
|
181
|
-
distance?: number;
|
|
182
|
-
}) => AnimationProps;
|
|
183
|
-
/**
|
|
184
|
-
* Fade in from bottom
|
|
185
|
-
*/
|
|
186
|
-
fadeInDown: (config?: PresetConfig & {
|
|
187
|
-
distance?: number;
|
|
188
|
-
}) => AnimationProps;
|
|
189
|
-
/**
|
|
190
|
-
* Fade in from left
|
|
191
|
-
*/
|
|
192
|
-
fadeInLeft: (config?: PresetConfig & {
|
|
193
|
-
distance?: number;
|
|
194
|
-
}) => AnimationProps;
|
|
195
|
-
/**
|
|
196
|
-
* Fade in from right
|
|
197
|
-
*/
|
|
198
|
-
fadeInRight: (config?: PresetConfig & {
|
|
199
|
-
distance?: number;
|
|
200
|
-
}) => AnimationProps;
|
|
201
|
-
};
|
|
202
|
-
slide: {
|
|
203
|
-
/**
|
|
204
|
-
* Slide in from bottom
|
|
205
|
-
*/
|
|
206
|
-
slideInUp: (config?: PresetConfig & {
|
|
207
|
-
distance?: number;
|
|
208
|
-
}) => AnimationProps;
|
|
209
|
-
/**
|
|
210
|
-
* Slide in from top
|
|
211
|
-
*/
|
|
212
|
-
slideInDown: (config?: PresetConfig & {
|
|
213
|
-
distance?: number;
|
|
214
|
-
}) => AnimationProps;
|
|
215
|
-
/**
|
|
216
|
-
* Slide in from left
|
|
217
|
-
*/
|
|
218
|
-
slideInLeft: (config?: PresetConfig & {
|
|
219
|
-
distance?: number;
|
|
220
|
-
}) => AnimationProps;
|
|
221
|
-
/**
|
|
222
|
-
* Slide in from right
|
|
223
|
-
*/
|
|
224
|
-
slideInRight: (config?: PresetConfig & {
|
|
225
|
-
distance?: number;
|
|
226
|
-
}) => AnimationProps;
|
|
227
|
-
/**
|
|
228
|
-
* Slide out to top
|
|
229
|
-
*/
|
|
230
|
-
slideOutUp: (config?: PresetConfig & {
|
|
231
|
-
distance?: number;
|
|
232
|
-
}) => AnimationProps;
|
|
233
|
-
/**
|
|
234
|
-
* Slide out to bottom
|
|
235
|
-
*/
|
|
236
|
-
slideOutDown: (config?: PresetConfig & {
|
|
237
|
-
distance?: number;
|
|
238
|
-
}) => AnimationProps;
|
|
239
|
-
/**
|
|
240
|
-
* Slide out to left
|
|
241
|
-
*/
|
|
242
|
-
slideOutLeft: (config?: PresetConfig & {
|
|
243
|
-
distance?: number;
|
|
244
|
-
}) => AnimationProps;
|
|
245
|
-
/**
|
|
246
|
-
* Slide out to right
|
|
247
|
-
*/
|
|
248
|
-
slideOutRight: (config?: PresetConfig & {
|
|
249
|
-
distance?: number;
|
|
250
|
-
}) => AnimationProps;
|
|
251
|
-
};
|
|
252
|
-
scale: {
|
|
253
|
-
/**
|
|
254
|
-
* Scale in animation
|
|
255
|
-
*/
|
|
256
|
-
scaleIn: (config?: PresetConfig & {
|
|
257
|
-
scale?: number;
|
|
258
|
-
}) => AnimationProps;
|
|
259
|
-
/**
|
|
260
|
-
* Scale out animation
|
|
261
|
-
*/
|
|
262
|
-
scaleOut: (config?: PresetConfig & {
|
|
263
|
-
scale?: number;
|
|
264
|
-
}) => AnimationProps;
|
|
265
|
-
/**
|
|
266
|
-
* Scale up on hover
|
|
267
|
-
*/
|
|
268
|
-
scaleUp: (config?: PresetConfig & {
|
|
269
|
-
scale?: number;
|
|
270
|
-
}) => AnimationProps;
|
|
271
|
-
/**
|
|
272
|
-
* Scale down on tap
|
|
273
|
-
*/
|
|
274
|
-
scaleDown: (config?: PresetConfig & {
|
|
275
|
-
scale?: number;
|
|
276
|
-
}) => AnimationProps;
|
|
277
|
-
};
|
|
278
|
-
hover: {
|
|
279
|
-
/**
|
|
280
|
-
* Lift up on hover (combines scale and y translation)
|
|
281
|
-
*/
|
|
282
|
-
hoverLift: (config?: PresetConfig & {
|
|
283
|
-
scale?: number;
|
|
284
|
-
y?: number;
|
|
285
|
-
}) => AnimationProps;
|
|
286
|
-
/**
|
|
287
|
-
* Scale up on hover
|
|
288
|
-
*/
|
|
289
|
-
hoverScale: (config?: PresetConfig & {
|
|
290
|
-
scale?: number;
|
|
291
|
-
}) => AnimationProps;
|
|
292
|
-
/**
|
|
293
|
-
* Scale down on tap
|
|
294
|
-
*/
|
|
295
|
-
tapScale: (config?: PresetConfig & {
|
|
296
|
-
scale?: number;
|
|
297
|
-
}) => AnimationProps;
|
|
298
|
-
};
|
|
299
|
-
stagger: typeof createStagger;
|
|
300
|
-
reveal: typeof revealOnScroll;
|
|
301
|
-
};
|
package/dist/animation/tas.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Duration, durations, Easing, easings, reducedMotion, Transition, transitions } from '../tokens/motion';
|
|
2
|
-
/**
|
|
3
|
-
* Check if user prefers reduced motion
|
|
4
|
-
* Checks both system preference and global override
|
|
5
|
-
*/
|
|
6
|
-
export declare function shouldReduceMotion(override?: boolean | "auto"): boolean;
|
|
7
|
-
/**
|
|
8
|
-
* Create CSS transition from tokens
|
|
9
|
-
* Returns transition string using motion tokens
|
|
10
|
-
*/
|
|
11
|
-
export declare function createTransition(transitionName?: Transition, customDuration?: Duration | string, customEasing?: Easing | string, reduceMotionOverride?: boolean | "auto"): string;
|
|
12
|
-
/**
|
|
13
|
-
* Check if animations should be enabled
|
|
14
|
-
* Global check for animation enablement
|
|
15
|
-
*/
|
|
16
|
-
export declare function shouldEnableAnimations(globalEnable?: boolean, reduceMotionOverride?: boolean | "auto"): boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Export motion tokens for direct access
|
|
19
|
-
*/
|
|
20
|
-
export { durations, easings, reducedMotion, transitions };
|
|
21
|
-
/**
|
|
22
|
-
* Export types
|
|
23
|
-
*/
|
|
24
|
-
export type { Duration, Easing, Transition };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { Spring as SpringToken } from '../tokens/motion';
|
|
2
|
-
/**
|
|
3
|
-
* Spring type re-exported for convenience
|
|
4
|
-
*/
|
|
5
|
-
export type Spring = SpringToken;
|
|
6
|
-
/**
|
|
7
|
-
* Animation props for layout primitives
|
|
8
|
-
* Returns CSS class names for Motion Tokens V2 animations
|
|
9
|
-
*/
|
|
10
|
-
export interface AnimationProps {
|
|
11
|
-
/**
|
|
12
|
-
* CSS class name for the animation
|
|
13
|
-
* Maps to tm-motion-* utility classes
|
|
14
|
-
*/
|
|
15
|
-
className?: string;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Transition configuration
|
|
19
|
-
*/
|
|
20
|
-
export interface TransitionConfig {
|
|
21
|
-
duration?: number | string;
|
|
22
|
-
ease?: string | number[];
|
|
23
|
-
delay?: number;
|
|
24
|
-
type?: "tween" | "spring" | "inertia" | "keyframes";
|
|
25
|
-
[key: string]: unknown;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Spring configuration
|
|
29
|
-
*/
|
|
30
|
-
export interface SpringConfig {
|
|
31
|
-
type: "spring";
|
|
32
|
-
stiffness?: number;
|
|
33
|
-
damping?: number;
|
|
34
|
-
mass?: number;
|
|
35
|
-
velocity?: number;
|
|
36
|
-
[key: string]: unknown;
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* Animation preset configuration
|
|
40
|
-
*/
|
|
41
|
-
export interface PresetConfig {
|
|
42
|
-
duration?: number | string;
|
|
43
|
-
delay?: number;
|
|
44
|
-
ease?: string | number[];
|
|
45
|
-
spring?: Spring | SpringConfig;
|
|
46
|
-
reducedMotion?: boolean | "auto";
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Component animation configuration
|
|
50
|
-
* Allows components to accept animation presets as props
|
|
51
|
-
*/
|
|
52
|
-
export interface ComponentAnimationConfig {
|
|
53
|
-
/**
|
|
54
|
-
* Animation preset for initial mount/entrance
|
|
55
|
-
* Can be a preset name string or CSS class name
|
|
56
|
-
*/
|
|
57
|
-
animation?: "fadeIn" | "fadeInUp" | "fadeInDown" | "fadeInLeft" | "fadeInRight" | "slideInUp" | "slideInDown" | "slideInLeft" | "slideInRight" | "scaleIn" | string;
|
|
58
|
-
/**
|
|
59
|
-
* Animation preset for hover state
|
|
60
|
-
* Can be a preset name string or CSS class name
|
|
61
|
-
*/
|
|
62
|
-
hoverAnimation?: "hoverLift" | "hoverScale" | "tapScale" | string;
|
|
63
|
-
/**
|
|
64
|
-
* Custom animation class name (overrides preset names)
|
|
65
|
-
*/
|
|
66
|
-
animationProps?: AnimationProps;
|
|
67
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
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;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AnimationProps, ComponentAnimationConfig } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Resolve component animation config to AnimationProps
|
|
4
|
-
* Merges animation, hoverAnimation, and custom animationProps
|
|
5
|
-
*/
|
|
6
|
-
export declare function resolveComponentAnimations(config?: ComponentAnimationConfig): AnimationProps;
|
package/dist/brand-C5R2semX.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const o = {
|
|
3
|
-
name: "brand",
|
|
4
|
-
description: "Brand-specific theme with custom color palette",
|
|
5
|
-
// Override primary colors - warmer blue tones for brand
|
|
6
|
-
primaryColors: {
|
|
7
|
-
500: "210 75% 45%",
|
|
8
|
-
// Brighter, warmer blue
|
|
9
|
-
600: "210 70% 40%",
|
|
10
|
-
700: "210 65% 35%"
|
|
11
|
-
},
|
|
12
|
-
// Override accent colors - vibrant purple-pink gradient
|
|
13
|
-
accentColors: {
|
|
14
|
-
400: "285 75% 65%",
|
|
15
|
-
// Softer purple
|
|
16
|
-
500: "285 80% 60%",
|
|
17
|
-
// Vibrant purple-pink
|
|
18
|
-
600: "285 75% 55%"
|
|
19
|
-
},
|
|
20
|
-
// Override secondary colors - teal accent for brand
|
|
21
|
-
secondaryColors: {
|
|
22
|
-
400: "170 85% 50%",
|
|
23
|
-
// Brighter teal
|
|
24
|
-
500: "170 90% 45%",
|
|
25
|
-
// Vibrant teal (#00d9b8)
|
|
26
|
-
600: "170 85% 40%"
|
|
27
|
-
},
|
|
28
|
-
// Override semantic colors for day mode - brand-aligned colors
|
|
29
|
-
semanticColorsDay: {
|
|
30
|
-
success: "145 75% 40%",
|
|
31
|
-
// Brand-aligned green
|
|
32
|
-
info: "210 75% 50%"
|
|
33
|
-
// Brand primary blue
|
|
34
|
-
},
|
|
35
|
-
// Override semantic colors for night mode
|
|
36
|
-
semanticColorsNight: {
|
|
37
|
-
success: "145 70% 48%",
|
|
38
|
-
// Brighter brand green
|
|
39
|
-
info: "210 75% 55%"
|
|
40
|
-
// Brighter brand blue
|
|
41
|
-
}
|
|
42
|
-
};
|
|
43
|
-
export {
|
|
44
|
-
o as brandTheme
|
|
45
|
-
};
|
package/dist/brand-DQb18Frh.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"brand",description:"Brand-specific theme with custom color palette",primaryColors:{500:"210 75% 45%",600:"210 70% 40%",700:"210 65% 35%"},accentColors:{400:"285 75% 65%",500:"285 80% 60%",600:"285 75% 55%"},secondaryColors:{400:"170 85% 50%",500:"170 90% 45%",600:"170 85% 40%"},semanticColorsDay:{success:"145 75% 40%",info:"210 75% 50%"},semanticColorsNight:{success:"145 70% 48%",info:"210 75% 55%"}};exports.brandTheme=e;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { SectionBuilderProps } from './SectionBuilder.types';
|
|
2
|
-
/**
|
|
3
|
-
* SectionBuilder Component
|
|
4
|
-
*
|
|
5
|
-
* High-level component that composes layout primitives and core components
|
|
6
|
-
* based on configuration objects. Enables developers to construct custom
|
|
7
|
-
* marketing sections without writing repetitive markup.
|
|
8
|
-
*
|
|
9
|
-
* All styling uses design tokens - no raw CSS values or hardcoded styles.
|
|
10
|
-
* Fully theme-aware and brand-compliant.
|
|
11
|
-
*/
|
|
12
|
-
import * as React from "react";
|
|
13
|
-
/**
|
|
14
|
-
* SectionBuilder Component
|
|
15
|
-
*
|
|
16
|
-
* Composes sections from configuration objects using layout primitives
|
|
17
|
-
* and core components. All styling uses design tokens.
|
|
18
|
-
*
|
|
19
|
-
* @example
|
|
20
|
-
* ```tsx
|
|
21
|
-
* <SectionBuilder
|
|
22
|
-
* config={{
|
|
23
|
-
* layout: {
|
|
24
|
-
* type: "split",
|
|
25
|
-
* left: "Left content",
|
|
26
|
-
* right: "Right content",
|
|
27
|
-
* imagePosition: "right",
|
|
28
|
-
* },
|
|
29
|
-
* background: { type: "surface", variant: "elevated1" },
|
|
30
|
-
* spacing: { paddingY: "xl" },
|
|
31
|
-
* }}
|
|
32
|
-
* />
|
|
33
|
-
* ```
|
|
34
|
-
*/
|
|
35
|
-
export declare const SectionBuilder: React.ForwardRefExoticComponent<SectionBuilderProps & React.RefAttributes<HTMLElement>>;
|
|
36
|
-
export type { SectionBuilderConfig, SectionBuilderProps } from './SectionBuilder.types';
|