@tenerife.music/ui 1.0.8 → 1.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{tokens/colors.d.ts → colors-DPNI96bB.d.cts} +21 -19
- package/dist/colors-DPNI96bB.d.ts +289 -0
- package/dist/index.cjs +15605 -2
- package/dist/index.d.cts +3726 -0
- package/dist/index.d.ts +3726 -39
- package/dist/index.mjs +12883 -5567
- 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 +2647 -2
- package/dist/theme/index.d.cts +528 -0
- package/dist/theme/index.d.ts +528 -8
- package/dist/theme/index.mjs +1610 -575
- package/dist/tokens/index.cjs +5678 -5
- package/dist/tokens/index.d.cts +5488 -0
- package/dist/tokens/index.d.ts +5488 -9
- package/dist/tokens/index.mjs +2076 -154
- package/package.json +3 -3
- 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
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { IconName } from '../../icons';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
declare const iconVariants: (props?: ({
|
|
5
|
-
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
6
|
-
color?: "muted" | "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
7
|
-
stroke?: "normal" | "bold" | "thin" | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
export interface IconProps extends Omit<React.SVGProps<SVGSVGElement>, "color" | "stroke">, VariantProps<typeof iconVariants> {
|
|
10
|
-
/**
|
|
11
|
-
* Icon name from registry
|
|
12
|
-
*/
|
|
13
|
-
name: IconName;
|
|
14
|
-
/**
|
|
15
|
-
* Render as child element (composition pattern)
|
|
16
|
-
* Uses Radix UI Slot for composition
|
|
17
|
-
*/
|
|
18
|
-
asChild?: boolean;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Icon component
|
|
22
|
-
*
|
|
23
|
-
* Unified icon component with token-driven sizing, colors, and stroke.
|
|
24
|
-
* Supports SSR-safe rendering and tree-shakeable icon registry.
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* ```tsx
|
|
28
|
-
* <Icon name="search" size="md" color="default" />
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
declare const Icon: React.ForwardRefExoticComponent<Omit<IconProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
32
|
-
export { Icon, iconVariants };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export type ImageRadius = "none" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "full";
|
|
3
|
-
export type ImageShadow = "none" | "sm" | "base" | "md" | "lg" | "xl" | "2xl" | "inner";
|
|
4
|
-
export type ImageAspectRatio = "square" | "video" | "photo" | "wide" | string;
|
|
5
|
-
type ImgProps = React.ImgHTMLAttributes<HTMLImageElement>;
|
|
6
|
-
export interface ImageProps extends Omit<ImgProps, "className"> {
|
|
7
|
-
/**
|
|
8
|
-
* Custom className for the image element itself
|
|
9
|
-
*/
|
|
10
|
-
className?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Custom className for the wrapper div container
|
|
13
|
-
*/
|
|
14
|
-
wrapperClassName?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Border radius for the image container
|
|
17
|
-
*/
|
|
18
|
-
radius?: ImageRadius;
|
|
19
|
-
/**
|
|
20
|
-
* Shadow for the image container
|
|
21
|
-
*/
|
|
22
|
-
shadow?: ImageShadow;
|
|
23
|
-
/**
|
|
24
|
-
* Aspect ratio for the image container (e.g., 'square', 'video', 'photo', 'wide', or custom like '16/9', '4/3')
|
|
25
|
-
*/
|
|
26
|
-
aspectRatio?: ImageAspectRatio;
|
|
27
|
-
/**
|
|
28
|
-
* Fallback image source if the main image fails to load
|
|
29
|
-
*/
|
|
30
|
-
fallbackSrc?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Whether to show a skeleton loader while the image is loading
|
|
33
|
-
*/
|
|
34
|
-
showSkeleton?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Whether the image should fill its container (uses absolute positioning)
|
|
37
|
-
*/
|
|
38
|
-
fill?: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* Callback fired when the image has finished loading
|
|
41
|
-
*/
|
|
42
|
-
onLoadingComplete?: (result: {
|
|
43
|
-
naturalWidth: number;
|
|
44
|
-
naturalHeight: number;
|
|
45
|
-
}) => void;
|
|
46
|
-
}
|
|
47
|
-
declare const ImageComponent: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<HTMLDivElement>>;
|
|
48
|
-
export { ImageComponent as Image };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { InputProps } from './Input.types';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
/**
|
|
4
|
-
* Input Component
|
|
5
|
-
*
|
|
6
|
-
* A fully accessible, theme-aware input component with variant support,
|
|
7
|
-
* icon slots, and comprehensive state management.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* <Input
|
|
12
|
-
* variant="outline"
|
|
13
|
-
* size="md"
|
|
14
|
-
* placeholder="Enter text..."
|
|
15
|
-
* iconLeft={<Icon name="search" />}
|
|
16
|
-
* />
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
20
|
-
export { Input };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { inputVariants } from './input-variants';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
/**
|
|
5
|
-
* Input Component Props
|
|
6
|
-
*
|
|
7
|
-
* Extends native input HTML attributes with variant props, icon slots, and accessibility props.
|
|
8
|
-
*/
|
|
9
|
-
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
|
|
10
|
-
/**
|
|
11
|
-
* Input variant style
|
|
12
|
-
* @default "outline"
|
|
13
|
-
*/
|
|
14
|
-
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive";
|
|
15
|
-
/**
|
|
16
|
-
* Input size
|
|
17
|
-
* @default "md"
|
|
18
|
-
*/
|
|
19
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
20
|
-
/**
|
|
21
|
-
* Input state
|
|
22
|
-
* @default "default"
|
|
23
|
-
*/
|
|
24
|
-
state?: "default" | "disabled" | "error" | "success";
|
|
25
|
-
/**
|
|
26
|
-
* Whether input should take full width
|
|
27
|
-
* @default true
|
|
28
|
-
*/
|
|
29
|
-
fullWidth?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Icon to display on the left side of the input
|
|
32
|
-
*/
|
|
33
|
-
iconLeft?: React.ReactNode;
|
|
34
|
-
/**
|
|
35
|
-
* Icon to display on the right side of the input
|
|
36
|
-
*/
|
|
37
|
-
iconRight?: React.ReactNode;
|
|
38
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Input Variants
|
|
3
|
-
*
|
|
4
|
-
* CVA-based variant system for Input component.
|
|
5
|
-
* Supports variants (primary, secondary, outline, ghost, destructive),
|
|
6
|
-
* sizes (xs, sm, md, lg, xl), and states (default, disabled, error, success).
|
|
7
|
-
* All styling uses token-based values with CSS variable references.
|
|
8
|
-
*/
|
|
9
|
-
export declare const inputVariants: (props?: ({
|
|
10
|
-
variant?: "primary" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
11
|
-
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
12
|
-
state?: "disabled" | "default" | "success" | "error" | null | undefined;
|
|
13
|
-
fullWidth?: boolean | null | undefined;
|
|
14
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const inputVariants: (props?: ({
|
|
4
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
5
|
-
state?: "disabled" | "default" | "error" | null | undefined;
|
|
6
|
-
fullWidth?: boolean | null | undefined;
|
|
7
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
-
export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size">, VariantProps<typeof inputVariants> {
|
|
9
|
-
}
|
|
10
|
-
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
11
|
-
export { Input, inputVariants };
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { DisplayValue, FlexDirectionValue, ResponsiveColor, ResponsiveRadius, ResponsiveSpacing, ShadowValue } from './layout.types';
|
|
2
|
-
/**
|
|
3
|
-
* Box Primitive Component
|
|
4
|
-
*
|
|
5
|
-
* Token-driven base container component with support for padding, margin,
|
|
6
|
-
* display, flex, grid, radius, and shadow. All styling uses token-based
|
|
7
|
-
* Tailwind classes only (no raw numeric values).
|
|
8
|
-
*/
|
|
9
|
-
import * as React from "react";
|
|
10
|
-
/**
|
|
11
|
-
* Box component props
|
|
12
|
-
*/
|
|
13
|
-
export interface BoxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
14
|
-
/**
|
|
15
|
-
* Render as different HTML element
|
|
16
|
-
*/
|
|
17
|
-
as?: keyof React.JSX.IntrinsicElements;
|
|
18
|
-
/**
|
|
19
|
-
* Padding (all sides) - token-based (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
20
|
-
*/
|
|
21
|
-
p?: ResponsiveSpacing;
|
|
22
|
-
/**
|
|
23
|
-
* Padding horizontal (left + right)
|
|
24
|
-
*/
|
|
25
|
-
px?: ResponsiveSpacing;
|
|
26
|
-
/**
|
|
27
|
-
* Padding vertical (top + bottom)
|
|
28
|
-
*/
|
|
29
|
-
py?: ResponsiveSpacing;
|
|
30
|
-
/**
|
|
31
|
-
* Padding top
|
|
32
|
-
*/
|
|
33
|
-
pt?: ResponsiveSpacing;
|
|
34
|
-
/**
|
|
35
|
-
* Padding right
|
|
36
|
-
*/
|
|
37
|
-
pr?: ResponsiveSpacing;
|
|
38
|
-
/**
|
|
39
|
-
* Padding bottom
|
|
40
|
-
*/
|
|
41
|
-
pb?: ResponsiveSpacing;
|
|
42
|
-
/**
|
|
43
|
-
* Padding left
|
|
44
|
-
*/
|
|
45
|
-
pl?: ResponsiveSpacing;
|
|
46
|
-
/**
|
|
47
|
-
* Margin (all sides) - token-based
|
|
48
|
-
*/
|
|
49
|
-
m?: ResponsiveSpacing;
|
|
50
|
-
/**
|
|
51
|
-
* Margin horizontal (left + right)
|
|
52
|
-
*/
|
|
53
|
-
mx?: ResponsiveSpacing;
|
|
54
|
-
/**
|
|
55
|
-
* Margin vertical (top + bottom)
|
|
56
|
-
*/
|
|
57
|
-
my?: ResponsiveSpacing;
|
|
58
|
-
/**
|
|
59
|
-
* Margin top
|
|
60
|
-
*/
|
|
61
|
-
mt?: ResponsiveSpacing;
|
|
62
|
-
/**
|
|
63
|
-
* Margin right
|
|
64
|
-
*/
|
|
65
|
-
mr?: ResponsiveSpacing;
|
|
66
|
-
/**
|
|
67
|
-
* Margin bottom
|
|
68
|
-
*/
|
|
69
|
-
mb?: ResponsiveSpacing;
|
|
70
|
-
/**
|
|
71
|
-
* Margin left
|
|
72
|
-
*/
|
|
73
|
-
ml?: ResponsiveSpacing;
|
|
74
|
-
/**
|
|
75
|
-
* Display type
|
|
76
|
-
*/
|
|
77
|
-
display?: DisplayValue;
|
|
78
|
-
/**
|
|
79
|
-
* Flex direction (when display is flex)
|
|
80
|
-
*/
|
|
81
|
-
flexDirection?: FlexDirectionValue;
|
|
82
|
-
/**
|
|
83
|
-
* Border radius - token-based (none, xs, sm, md, lg, xl, 2xl, 3xl, full)
|
|
84
|
-
*/
|
|
85
|
-
radius?: ResponsiveRadius;
|
|
86
|
-
/**
|
|
87
|
-
* Shadow - token-based (none, xs, sm, md, lg, xl, 2xl)
|
|
88
|
-
*/
|
|
89
|
-
shadow?: ShadowValue;
|
|
90
|
-
/**
|
|
91
|
-
* Background color - token-based
|
|
92
|
-
*/
|
|
93
|
-
bg?: ResponsiveColor;
|
|
94
|
-
/**
|
|
95
|
-
* Gap (for flex/grid layouts) - token-based
|
|
96
|
-
*/
|
|
97
|
-
gap?: ResponsiveSpacing;
|
|
98
|
-
/**
|
|
99
|
-
* Align items (for flex/grid layouts)
|
|
100
|
-
*/
|
|
101
|
-
align?: "start" | "end" | "center" | "baseline" | "stretch";
|
|
102
|
-
/**
|
|
103
|
-
* Justify content (for flex/grid layouts)
|
|
104
|
-
*/
|
|
105
|
-
justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
106
|
-
}
|
|
107
|
-
/**
|
|
108
|
-
* Box component
|
|
109
|
-
*/
|
|
110
|
-
declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLDivElement>>;
|
|
111
|
-
export { Box };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { StackProps } from './Stack';
|
|
2
|
-
/**
|
|
3
|
-
* Column component - alias for Stack (semantic name)
|
|
4
|
-
*/
|
|
5
|
-
export declare const Column: import('react').ForwardRefExoticComponent<StackProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export type { StackProps as ColumnProps };
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { ResponsiveSpacing } from './layout.types';
|
|
2
|
-
/**
|
|
3
|
-
* Container Layout Primitive Component
|
|
4
|
-
*
|
|
5
|
-
* Token-driven container component for constraining content width and centering.
|
|
6
|
-
* Uses CSS-layer class .tm-container with token-based padding and max-width.
|
|
7
|
-
*/
|
|
8
|
-
import * as React from "react";
|
|
9
|
-
export interface ContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
10
|
-
/**
|
|
11
|
-
* Maximum width of the container
|
|
12
|
-
* Supports: spacing tokens, container sizes (sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl, 6xl, 7xl, full), or CSS values
|
|
13
|
-
*/
|
|
14
|
-
maxWidth?: string | ResponsiveSpacing;
|
|
15
|
-
/**
|
|
16
|
-
* Padding (horizontal) - token-based
|
|
17
|
-
* Supports: spacing tokens or container spacing tokens (container-xs, container-sm, container-md, etc.)
|
|
18
|
-
* Default: container-md (24px)
|
|
19
|
-
*/
|
|
20
|
-
padding?: ResponsiveSpacing;
|
|
21
|
-
/**
|
|
22
|
-
* Center the container horizontally with auto margins
|
|
23
|
-
* Default: true
|
|
24
|
-
*/
|
|
25
|
-
center?: boolean;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Container component - layout primitive for constraining content width
|
|
29
|
-
*/
|
|
30
|
-
declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
-
export { Container };
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from './Box';
|
|
2
|
-
import { ResponsiveAlignment, ResponsiveFlexDirection, ResponsiveFlexWrap, ResponsiveJustify, ResponsiveSpacing } from './layout.types';
|
|
3
|
-
/**
|
|
4
|
-
* Flex Primitive Component
|
|
5
|
-
*
|
|
6
|
-
* Token-driven flexbox container with full control over direction, wrap,
|
|
7
|
-
* grow, shrink, basis, alignment, and spacing. Uses Box internally.
|
|
8
|
-
* All spacing values use tokens only.
|
|
9
|
-
*/
|
|
10
|
-
import * as React from "react";
|
|
11
|
-
export interface FlexProps extends Omit<BoxProps, "display" | "flexDirection" | "align" | "justify"> {
|
|
12
|
-
/**
|
|
13
|
-
* Flex direction
|
|
14
|
-
*/
|
|
15
|
-
direction?: ResponsiveFlexDirection;
|
|
16
|
-
/**
|
|
17
|
-
* Flex wrap
|
|
18
|
-
*/
|
|
19
|
-
wrap?: ResponsiveFlexWrap;
|
|
20
|
-
/**
|
|
21
|
-
* Flex grow (0 or 1, or use Tailwind flex-grow-*)
|
|
22
|
-
*/
|
|
23
|
-
grow?: 0 | 1 | boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Flex shrink (0 or 1, or use Tailwind flex-shrink-*)
|
|
26
|
-
*/
|
|
27
|
-
shrink?: 0 | 1 | boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Flex basis (CSS value or Tailwind class)
|
|
30
|
-
* Note: For token-based approach, use spacing tokens via className
|
|
31
|
-
*/
|
|
32
|
-
basis?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Align items
|
|
35
|
-
*/
|
|
36
|
-
align?: ResponsiveAlignment;
|
|
37
|
-
/**
|
|
38
|
-
* Justify content
|
|
39
|
-
*/
|
|
40
|
-
justify?: ResponsiveJustify;
|
|
41
|
-
/**
|
|
42
|
-
* Gap between flex items - token-based
|
|
43
|
-
*/
|
|
44
|
-
gap?: ResponsiveSpacing;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Flex component
|
|
48
|
-
*/
|
|
49
|
-
declare const Flex: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLDivElement>>;
|
|
50
|
-
export { Flex };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from './Box';
|
|
2
|
-
import { ResponsiveAlignment, ResponsiveColumns, ResponsiveFlow, ResponsiveJustify, ResponsiveRows, ResponsiveSpacing } from './layout.types';
|
|
3
|
-
/**
|
|
4
|
-
* Grid Primitive Component
|
|
5
|
-
*
|
|
6
|
-
* Token-driven CSS Grid container with support for columns, rows, gap,
|
|
7
|
-
* flow, and alignment. Uses Box internally. All spacing values use tokens only.
|
|
8
|
-
*/
|
|
9
|
-
import * as React from "react";
|
|
10
|
-
export interface GridProps extends Omit<BoxProps, "display" | "align" | "justify"> {
|
|
11
|
-
/**
|
|
12
|
-
* Number of columns (1-6, 12, or none)
|
|
13
|
-
*/
|
|
14
|
-
cols?: ResponsiveColumns;
|
|
15
|
-
/**
|
|
16
|
-
* Number of columns at sm breakpoint
|
|
17
|
-
*/
|
|
18
|
-
sm?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
19
|
-
/**
|
|
20
|
-
* Number of columns at md breakpoint
|
|
21
|
-
*/
|
|
22
|
-
md?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
23
|
-
/**
|
|
24
|
-
* Number of columns at lg breakpoint
|
|
25
|
-
*/
|
|
26
|
-
lg?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
27
|
-
/**
|
|
28
|
-
* Number of columns at xl breakpoint
|
|
29
|
-
*/
|
|
30
|
-
xl?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
31
|
-
/**
|
|
32
|
-
* Number of columns at 2xl breakpoint
|
|
33
|
-
*/
|
|
34
|
-
"2xl"?: 1 | 2 | 3 | 4 | 5 | 6 | 12 | "none";
|
|
35
|
-
/**
|
|
36
|
-
* Number of rows (1-6 or none)
|
|
37
|
-
*/
|
|
38
|
-
rows?: ResponsiveRows;
|
|
39
|
-
/**
|
|
40
|
-
* Gap between grid items - token-based (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
41
|
-
*/
|
|
42
|
-
gap?: ResponsiveSpacing;
|
|
43
|
-
/**
|
|
44
|
-
* Grid flow direction
|
|
45
|
-
*/
|
|
46
|
-
flow?: ResponsiveFlow;
|
|
47
|
-
/**
|
|
48
|
-
* Align items
|
|
49
|
-
*/
|
|
50
|
-
align?: ResponsiveAlignment;
|
|
51
|
-
/**
|
|
52
|
-
* Justify content
|
|
53
|
-
*/
|
|
54
|
-
justify?: ResponsiveJustify;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Grid component
|
|
58
|
-
*/
|
|
59
|
-
declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLDivElement>>;
|
|
60
|
-
export { Grid };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface ModeHeroProps {
|
|
3
|
-
dayLabel: string;
|
|
4
|
-
nightLabel: string;
|
|
5
|
-
dayDescription: string;
|
|
6
|
-
nightDescription: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const ModeHero: React.FC<ModeHeroProps>;
|
|
10
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface NavbarProps extends React.HTMLAttributes<HTMLElement> {
|
|
3
|
-
left?: React.ReactNode;
|
|
4
|
-
right?: React.ReactNode;
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
ariaLabel?: string;
|
|
7
|
-
}
|
|
8
|
-
export declare const Navbar: React.FC<NavbarProps>;
|
|
9
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from './Box';
|
|
2
|
-
import { ResponsiveSpacing } from './layout.types';
|
|
3
|
-
/**
|
|
4
|
-
* Row Primitive Component
|
|
5
|
-
*
|
|
6
|
-
* Token-driven horizontal layout component (flex row). Uses Box internally
|
|
7
|
-
* with flex display and row direction. All spacing uses token-based values.
|
|
8
|
-
*/
|
|
9
|
-
import * as React from "react";
|
|
10
|
-
export interface RowProps extends Omit<BoxProps, "display" | "flexDirection"> {
|
|
11
|
-
/**
|
|
12
|
-
* Gap between row items - token-based (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
13
|
-
*/
|
|
14
|
-
gap?: ResponsiveSpacing;
|
|
15
|
-
/**
|
|
16
|
-
* Align items
|
|
17
|
-
*/
|
|
18
|
-
align?: "start" | "end" | "center" | "baseline" | "stretch";
|
|
19
|
-
/**
|
|
20
|
-
* Justify content
|
|
21
|
-
*/
|
|
22
|
-
justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Row component - horizontal layout using flex row
|
|
26
|
-
*/
|
|
27
|
-
declare const Row: React.ForwardRefExoticComponent<RowProps & React.RefAttributes<HTMLDivElement>>;
|
|
28
|
-
export { Row };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
interface SectionProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
children: React.ReactNode;
|
|
5
|
-
padding?: "none" | "sm" | "md" | "lg" | "xl";
|
|
6
|
-
background?: "default" | "muted" | "card";
|
|
7
|
-
as?: keyof React.JSX.IntrinsicElements;
|
|
8
|
-
}
|
|
9
|
-
export declare const Section: React.FC<SectionProps>;
|
|
10
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from './Box';
|
|
2
|
-
import { ResponsiveSpacing } from './layout.types';
|
|
3
|
-
/**
|
|
4
|
-
* Stack Primitive Component
|
|
5
|
-
*
|
|
6
|
-
* Token-driven vertical layout component (flex column). Uses Box internally
|
|
7
|
-
* with flex display and column direction. All spacing uses token-based values.
|
|
8
|
-
*/
|
|
9
|
-
import * as React from "react";
|
|
10
|
-
export interface StackProps extends Omit<BoxProps, "display" | "flexDirection" | "gap"> {
|
|
11
|
-
/**
|
|
12
|
-
* Stack direction - vertical (column) or horizontal (row)
|
|
13
|
-
*/
|
|
14
|
-
direction?: "vertical" | "horizontal";
|
|
15
|
-
/**
|
|
16
|
-
* Spacing between stack items - token-based (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
17
|
-
* Alias for gap prop
|
|
18
|
-
*/
|
|
19
|
-
spacing?: ResponsiveSpacing;
|
|
20
|
-
/**
|
|
21
|
-
* Gap between stack items - token-based (xs, sm, md, lg, xl, 2xl, 3xl, 4xl, 5xl)
|
|
22
|
-
* Alias for spacing prop
|
|
23
|
-
*/
|
|
24
|
-
gap?: ResponsiveSpacing;
|
|
25
|
-
/**
|
|
26
|
-
* Align items
|
|
27
|
-
*/
|
|
28
|
-
align?: "start" | "end" | "center" | "baseline" | "stretch";
|
|
29
|
-
/**
|
|
30
|
-
* Justify content
|
|
31
|
-
*/
|
|
32
|
-
justify?: "start" | "end" | "center" | "between" | "around" | "evenly";
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* Stack component - vertical layout using flex column by default
|
|
36
|
-
*/
|
|
37
|
-
declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
-
export { Stack };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { BoxProps } from './Box';
|
|
2
|
-
import { SurfaceVariant } from './layout.types';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
declare const surfaceVariants: (props?: ({
|
|
5
|
-
variant?: "flat" | "raised" | "sunken" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export interface SurfaceProps extends Omit<BoxProps, "bg" | "shadow"> {
|
|
8
|
-
/**
|
|
9
|
-
* Surface variant
|
|
10
|
-
*/
|
|
11
|
-
variant?: SurfaceVariant;
|
|
12
|
-
/**
|
|
13
|
-
* Border radius - token-based
|
|
14
|
-
*/
|
|
15
|
-
radius?: BoxProps["radius"];
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Surface component - elevation variant component
|
|
19
|
-
*/
|
|
20
|
-
declare const Surface: React.ForwardRefExoticComponent<SurfaceProps & React.RefAttributes<HTMLDivElement>>;
|
|
21
|
-
export { Surface, surfaceVariants };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Layout Primitives Exports
|
|
3
|
-
*
|
|
4
|
-
* Token-driven layout primitives: Box, Stack, Row, Column, Flex, Grid, Surface, Container
|
|
5
|
-
*/
|
|
6
|
-
export type { BoxProps } from './Box';
|
|
7
|
-
export { Box } from './Box';
|
|
8
|
-
export type { ColumnProps } from './Column';
|
|
9
|
-
export { Column } from './Column';
|
|
10
|
-
export type { ContainerProps } from './Container';
|
|
11
|
-
export { Container } from './Container';
|
|
12
|
-
export type { FlexProps } from './Flex';
|
|
13
|
-
export { Flex } from './Flex';
|
|
14
|
-
export type { GridProps } from './Grid';
|
|
15
|
-
export { Grid } from './Grid';
|
|
16
|
-
export type { RowProps } from './Row';
|
|
17
|
-
export { Row } from './Row';
|
|
18
|
-
export type { StackProps } from './Stack';
|
|
19
|
-
export { Stack } from './Stack';
|
|
20
|
-
export type { SurfaceProps } from './Surface';
|
|
21
|
-
export { Surface, surfaceVariants } from './Surface';
|
|
22
|
-
export type * from './layout.types';
|