@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,33 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface FeatureItem {
|
|
3
|
-
icon: React.ReactNode;
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
}
|
|
7
|
-
export interface FeatureSectionProps {
|
|
8
|
-
features: FeatureItem[];
|
|
9
|
-
title?: string;
|
|
10
|
-
description?: string;
|
|
11
|
-
columns?: 1 | 2 | 3 | 4;
|
|
12
|
-
className?: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* FeatureSection component for displaying feature grids
|
|
16
|
-
*
|
|
17
|
-
* Displays an array of features in a responsive grid layout.
|
|
18
|
-
* Each feature includes an icon, title, and description.
|
|
19
|
-
* Uses token-driven cards that adapt to theme changes.
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```tsx
|
|
23
|
-
* <FeatureSection
|
|
24
|
-
* title="Features"
|
|
25
|
-
* features={[
|
|
26
|
-
* { icon: <Icon />, title: "Fast", description: "Lightning fast" },
|
|
27
|
-
* { icon: <Icon />, title: "Secure", description: "Bank-level security" },
|
|
28
|
-
* ]}
|
|
29
|
-
* columns={3}
|
|
30
|
-
* />
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
export declare const FeatureSection: React.FC<FeatureSectionProps>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
export interface HeroSectionProps {
|
|
3
|
-
variant?: "full-width" | "split";
|
|
4
|
-
title: React.ReactNode;
|
|
5
|
-
description?: React.ReactNode;
|
|
6
|
-
actions?: React.ReactNode;
|
|
7
|
-
media?: React.ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
background?: "default" | "muted" | "card";
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* HeroSection component for prominent page headers
|
|
13
|
-
*
|
|
14
|
-
* Supports full-width and split layouts with flexible content slots.
|
|
15
|
-
* Uses fluid typography and token-based styling for theme awareness.
|
|
16
|
-
*
|
|
17
|
-
* @example
|
|
18
|
-
* ```tsx
|
|
19
|
-
* <HeroSection
|
|
20
|
-
* variant="full-width"
|
|
21
|
-
* title="Welcome to Tenerife"
|
|
22
|
-
* description="A beautiful UI library"
|
|
23
|
-
* actions={<Button>Get Started</Button>}
|
|
24
|
-
* />
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare const HeroSection: React.FC<HeroSectionProps>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
/**
|
|
3
|
-
* Item interface for TrendingSection component.
|
|
4
|
-
* Domain-agnostic interface for displaying trending items.
|
|
5
|
-
*/
|
|
6
|
-
export interface TrendingItem {
|
|
7
|
-
/** Unique identifier for the item */
|
|
8
|
-
id: string;
|
|
9
|
-
/** Item title (pre-localized string) */
|
|
10
|
-
title: string;
|
|
11
|
-
/** Item description (optional, pre-localized string) */
|
|
12
|
-
description?: string;
|
|
13
|
-
/** Image URL (optional) */
|
|
14
|
-
imageUrl?: string;
|
|
15
|
-
/** Link URL for item details page (optional) */
|
|
16
|
-
href?: string;
|
|
17
|
-
}
|
|
18
|
-
interface TrendingSectionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
19
|
-
/** Array of trending items to display */
|
|
20
|
-
events: TrendingItem[];
|
|
21
|
-
limit: number;
|
|
22
|
-
loading: boolean;
|
|
23
|
-
title: string;
|
|
24
|
-
loadingText: string;
|
|
25
|
-
contentText: string;
|
|
26
|
-
}
|
|
27
|
-
export declare const TrendingSection: React.FC<TrendingSectionProps>;
|
|
28
|
-
export {};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { SelectListboxProps, SelectOptionProps, SelectRootProps, SelectTriggerProps } from './Select.types';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
/**
|
|
4
|
-
* Select Root Component
|
|
5
|
-
* Manages state and provides context for all Select sub-components
|
|
6
|
-
*/
|
|
7
|
-
export declare function SelectRoot({ value: controlledValue, defaultValue, onValueChange, disabled, open: controlledOpen, onOpenChange, defaultOpen, children, variant, size, }: SelectRootProps & {
|
|
8
|
-
variant?: SelectRootProps["variant"];
|
|
9
|
-
size?: SelectRootProps["size"];
|
|
10
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare namespace SelectRoot {
|
|
12
|
-
var displayName: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Select Trigger Component
|
|
16
|
-
* Button that opens/closes the dropdown and displays the selected value
|
|
17
|
-
*/
|
|
18
|
-
export declare const SelectTrigger: React.ForwardRefExoticComponent<SelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
-
/**
|
|
20
|
-
* Select Listbox Component
|
|
21
|
-
* Container for options with keyboard navigation
|
|
22
|
-
*/
|
|
23
|
-
export declare const SelectListbox: React.ForwardRefExoticComponent<SelectListboxProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
/**
|
|
25
|
-
* Select Option Component
|
|
26
|
-
* Individual option in the listbox
|
|
27
|
-
*/
|
|
28
|
-
export declare const SelectOption: React.ForwardRefExoticComponent<SelectOptionProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
-
/**
|
|
30
|
-
* Select Component (Compound)
|
|
31
|
-
* Main export that combines all sub-components
|
|
32
|
-
*/
|
|
33
|
-
export declare const Select: {
|
|
34
|
-
Root: typeof SelectRoot;
|
|
35
|
-
Trigger: React.ForwardRefExoticComponent<SelectTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
36
|
-
Listbox: React.ForwardRefExoticComponent<SelectListboxProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
Option: React.ForwardRefExoticComponent<SelectOptionProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
-
};
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { selectTriggerVariants } from './select-variants';
|
|
3
|
-
/**
|
|
4
|
-
* Select Variant Props
|
|
5
|
-
*/
|
|
6
|
-
export type SelectVariant = VariantProps<typeof selectTriggerVariants>["variant"];
|
|
7
|
-
export type SelectSize = VariantProps<typeof selectTriggerVariants>["size"];
|
|
8
|
-
/**
|
|
9
|
-
* Select Option Data
|
|
10
|
-
*/
|
|
11
|
-
export interface SelectOption {
|
|
12
|
-
value: string;
|
|
13
|
-
label: string;
|
|
14
|
-
disabled?: boolean;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Select Root Props
|
|
18
|
-
*/
|
|
19
|
-
export interface SelectRootProps {
|
|
20
|
-
/**
|
|
21
|
-
* Current value (controlled mode)
|
|
22
|
-
*/
|
|
23
|
-
value?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Default value (uncontrolled mode)
|
|
26
|
-
*/
|
|
27
|
-
defaultValue?: string;
|
|
28
|
-
/**
|
|
29
|
-
* Callback when value changes
|
|
30
|
-
*/
|
|
31
|
-
onValueChange?: (value: string) => void;
|
|
32
|
-
/**
|
|
33
|
-
* Whether the select is disabled
|
|
34
|
-
*/
|
|
35
|
-
disabled?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Whether the select is open (controlled mode)
|
|
38
|
-
*/
|
|
39
|
-
open?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Callback when open state changes
|
|
42
|
-
*/
|
|
43
|
-
onOpenChange?: (open: boolean) => void;
|
|
44
|
-
/**
|
|
45
|
-
* Default open state (uncontrolled mode)
|
|
46
|
-
*/
|
|
47
|
-
defaultOpen?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Variant style (applies to trigger)
|
|
50
|
-
*/
|
|
51
|
-
variant?: SelectVariant;
|
|
52
|
-
/**
|
|
53
|
-
* Size (applies to trigger, listbox, and options)
|
|
54
|
-
*/
|
|
55
|
-
size?: SelectSize;
|
|
56
|
-
/**
|
|
57
|
-
* Children
|
|
58
|
-
*/
|
|
59
|
-
children: React.ReactNode;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Select Trigger Props
|
|
63
|
-
*/
|
|
64
|
-
export interface SelectTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
65
|
-
/**
|
|
66
|
-
* Variant style
|
|
67
|
-
*/
|
|
68
|
-
variant?: SelectVariant;
|
|
69
|
-
/**
|
|
70
|
-
* Size
|
|
71
|
-
*/
|
|
72
|
-
size?: SelectSize;
|
|
73
|
-
/**
|
|
74
|
-
* Placeholder text when no value is selected
|
|
75
|
-
*/
|
|
76
|
-
placeholder?: string;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Select Listbox Props
|
|
80
|
-
*/
|
|
81
|
-
export interface SelectListboxProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
82
|
-
/**
|
|
83
|
-
* Size (should match trigger size)
|
|
84
|
-
*/
|
|
85
|
-
size?: SelectSize;
|
|
86
|
-
}
|
|
87
|
-
/**
|
|
88
|
-
* Select Option Props
|
|
89
|
-
*/
|
|
90
|
-
export interface SelectOptionProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
91
|
-
/**
|
|
92
|
-
* Option value
|
|
93
|
-
*/
|
|
94
|
-
value: string;
|
|
95
|
-
/**
|
|
96
|
-
* Option label
|
|
97
|
-
*/
|
|
98
|
-
label?: string;
|
|
99
|
-
/**
|
|
100
|
-
* Whether the option is disabled
|
|
101
|
-
*/
|
|
102
|
-
disabled?: boolean;
|
|
103
|
-
/**
|
|
104
|
-
* Size (should match trigger size)
|
|
105
|
-
*/
|
|
106
|
-
size?: SelectSize;
|
|
107
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { Select, SelectListbox, SelectOption, SelectRoot, SelectTrigger } from './Select';
|
|
2
|
-
export type { SelectListboxProps, SelectOptionProps, SelectOption as SelectOptionType, SelectRootProps, SelectSize, SelectTriggerProps, SelectVariant, } from './Select.types';
|
|
3
|
-
export { selectListboxVariants, selectOptionVariants, selectTriggerVariants, } from './select-variants';
|
|
4
|
-
export type { SelectProps as LegacySelectProps } from './legacy/select';
|
|
5
|
-
export { Select as LegacySelect, selectVariants } from './legacy/select';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const selectVariants: (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 SelectProps extends Omit<React.SelectHTMLAttributes<HTMLSelectElement>, "size">, VariantProps<typeof selectVariants> {
|
|
9
|
-
}
|
|
10
|
-
declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLSelectElement>>;
|
|
11
|
-
export { Select, selectVariants };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Select Variants
|
|
3
|
-
*
|
|
4
|
-
* CVA-based variant system for Select component.
|
|
5
|
-
* Supports variants (primary, secondary, outline, ghost),
|
|
6
|
-
* sizes (xs, sm, md, lg), and states (open, closed, disabled).
|
|
7
|
-
* All styling uses token-based values with CSS variable references.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Select Trigger Variants
|
|
11
|
-
* Button element that opens/closes the dropdown
|
|
12
|
-
*/
|
|
13
|
-
export declare const selectTriggerVariants: (props?: ({
|
|
14
|
-
variant?: "primary" | "secondary" | "outline" | "ghost" | null | undefined;
|
|
15
|
-
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
16
|
-
state?: "disabled" | "closed" | "open" | null | undefined;
|
|
17
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
18
|
-
/**
|
|
19
|
-
* Select Listbox Variants
|
|
20
|
-
* Container for the dropdown options
|
|
21
|
-
*/
|
|
22
|
-
export declare const selectListboxVariants: (props?: ({
|
|
23
|
-
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
24
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
25
|
-
/**
|
|
26
|
-
* Select Option Variants
|
|
27
|
-
* Individual option item in the listbox
|
|
28
|
-
*/
|
|
29
|
-
export declare const selectOptionVariants: (props?: ({
|
|
30
|
-
size?: "sm" | "md" | "lg" | "xs" | null | undefined;
|
|
31
|
-
state?: "disabled" | "default" | "selected" | null | undefined;
|
|
32
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { SwitchProps } from './Switch.types';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
/**
|
|
4
|
-
* Switch Component
|
|
5
|
-
*
|
|
6
|
-
* A fully accessible, theme-aware switch component with variant support,
|
|
7
|
-
* keyboard navigation, and comprehensive state management.
|
|
8
|
-
* Uses button role="switch" pattern for full accessibility.
|
|
9
|
-
*
|
|
10
|
-
* The switch consists of a track (container) and handle (thumb) that slides within the track.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```tsx
|
|
14
|
-
* <Switch
|
|
15
|
-
* variant="primary"
|
|
16
|
-
* size="md"
|
|
17
|
-
* checked={isChecked}
|
|
18
|
-
* onCheckedChange={setIsChecked}
|
|
19
|
-
* aria-label="Enable notifications"
|
|
20
|
-
* />
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
24
|
-
export { Switch };
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { switchTrackVariants } from './switch-variants';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
/**
|
|
5
|
-
* Switch Component Props
|
|
6
|
-
*
|
|
7
|
-
* Extends native button HTML attributes with variant props, checked state, and accessibility props.
|
|
8
|
-
* Uses button role="switch" pattern for full keyboard accessibility.
|
|
9
|
-
*/
|
|
10
|
-
export interface SwitchProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "size" | "onChange">, VariantProps<typeof switchTrackVariants> {
|
|
11
|
-
/**
|
|
12
|
-
* Switch variant style
|
|
13
|
-
* @default "primary"
|
|
14
|
-
*/
|
|
15
|
-
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive";
|
|
16
|
-
/**
|
|
17
|
-
* Switch size
|
|
18
|
-
* @default "md"
|
|
19
|
-
*/
|
|
20
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
21
|
-
/**
|
|
22
|
-
* Switch state
|
|
23
|
-
* @default "default"
|
|
24
|
-
*/
|
|
25
|
-
state?: "default" | "checked" | "disabled" | "error";
|
|
26
|
-
/**
|
|
27
|
-
* Whether switch is checked (controlled)
|
|
28
|
-
*/
|
|
29
|
-
checked?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Whether switch is disabled
|
|
32
|
-
*/
|
|
33
|
-
disabled?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Callback fired when checked state changes
|
|
36
|
-
*/
|
|
37
|
-
onCheckedChange?: (checked: boolean) => void;
|
|
38
|
-
/**
|
|
39
|
-
* ARIA label for the switch
|
|
40
|
-
* Required if no visible label is present
|
|
41
|
-
*/
|
|
42
|
-
"aria-label"?: string;
|
|
43
|
-
/**
|
|
44
|
-
* ARIA labelledby reference
|
|
45
|
-
* Points to the ID of the element that labels this switch
|
|
46
|
-
*/
|
|
47
|
-
"aria-labelledby"?: string;
|
|
48
|
-
/**
|
|
49
|
-
* ARIA describedby reference
|
|
50
|
-
* Points to the ID of the element that describes this switch
|
|
51
|
-
*/
|
|
52
|
-
"aria-describedby"?: string;
|
|
53
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Switch Variants
|
|
3
|
-
*
|
|
4
|
-
* CVA-based variant system for Switch component.
|
|
5
|
-
* Supports variants (primary, secondary, outline, ghost, destructive),
|
|
6
|
-
* sizes (xs, sm, md, lg, xl), and states (default, checked, disabled, error).
|
|
7
|
-
* All styling uses token-based values with CSS variable references.
|
|
8
|
-
*
|
|
9
|
-
* Switch consists of a track (container) and handle (thumb) that slides within the track.
|
|
10
|
-
*/
|
|
11
|
-
export declare const switchTrackVariants: (props?: ({
|
|
12
|
-
variant?: "primary" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
13
|
-
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
14
|
-
state?: "disabled" | "default" | "error" | "checked" | "disabledChecked" | null | undefined;
|
|
15
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
16
|
-
/**
|
|
17
|
-
* Switch Handle Variants
|
|
18
|
-
*
|
|
19
|
-
* CVA-based variant system for Switch handle (thumb).
|
|
20
|
-
* The handle is positioned absolutely within the track and slides on toggle.
|
|
21
|
-
*/
|
|
22
|
-
export declare const switchHandleVariants: (props?: ({
|
|
23
|
-
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
24
|
-
checked?: boolean | null | undefined;
|
|
25
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
26
|
-
/**
|
|
27
|
-
* Switch Handle State Variants
|
|
28
|
-
*
|
|
29
|
-
* Color variants for the handle based on state.
|
|
30
|
-
*/
|
|
31
|
-
export declare const switchHandleStateVariants: (props?: ({
|
|
32
|
-
variant?: "primary" | "secondary" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
33
|
-
state?: "disabled" | "default" | "error" | "checked" | "disabledChecked" | null | undefined;
|
|
34
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { TextareaProps } from './Textarea.types';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
/**
|
|
4
|
-
* Textarea Component
|
|
5
|
-
*
|
|
6
|
-
* A fully accessible, theme-aware textarea component with variant support,
|
|
7
|
-
* character counter, and comprehensive state management.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```tsx
|
|
11
|
-
* <Textarea
|
|
12
|
-
* variant="outline"
|
|
13
|
-
* size="md"
|
|
14
|
-
* placeholder="Enter text..."
|
|
15
|
-
* showCharacterCount
|
|
16
|
-
* maxLength={200}
|
|
17
|
-
* />
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
21
|
-
export { Textarea };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { textareaVariants } from './textarea-variants';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
/**
|
|
5
|
-
* Textarea Component Props
|
|
6
|
-
*
|
|
7
|
-
* Extends native textarea HTML attributes with variant props, character counter, and accessibility props.
|
|
8
|
-
*/
|
|
9
|
-
export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textareaVariants> {
|
|
10
|
-
/**
|
|
11
|
-
* Textarea variant style
|
|
12
|
-
* @default "outline"
|
|
13
|
-
*/
|
|
14
|
-
variant?: "primary" | "secondary" | "outline" | "ghost" | "destructive";
|
|
15
|
-
/**
|
|
16
|
-
* Textarea size
|
|
17
|
-
* @default "md"
|
|
18
|
-
*/
|
|
19
|
-
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
20
|
-
/**
|
|
21
|
-
* Textarea state
|
|
22
|
-
* @default "default"
|
|
23
|
-
*/
|
|
24
|
-
state?: "default" | "disabled" | "error" | "success";
|
|
25
|
-
/**
|
|
26
|
-
* Whether textarea should take full width
|
|
27
|
-
* @default true
|
|
28
|
-
*/
|
|
29
|
-
fullWidth?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Maximum character length (for character counter)
|
|
32
|
-
*/
|
|
33
|
-
maxLength?: number;
|
|
34
|
-
/**
|
|
35
|
-
* Show character counter
|
|
36
|
-
* Only displays when both showCharacterCount and maxLength are provided
|
|
37
|
-
* @default false
|
|
38
|
-
*/
|
|
39
|
-
showCharacterCount?: boolean;
|
|
40
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const textareaVariants: (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 TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement>, VariantProps<typeof textareaVariants> {
|
|
9
|
-
}
|
|
10
|
-
declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
11
|
-
export { Textarea, textareaVariants };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Textarea Variants
|
|
3
|
-
*
|
|
4
|
-
* CVA-based variant system for Textarea 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 textareaVariants: (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,12 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { Toast as ToastType } from '../../hooks/useToast';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
declare const toastVariants: (props?: ({
|
|
5
|
-
type?: "primary" | "secondary" | "accent" | "destructive" | "default" | "success" | "warning" | "info" | "error" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export interface ToastProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof toastVariants> {
|
|
8
|
-
toast: ToastType;
|
|
9
|
-
onDismiss: (id: string) => void;
|
|
10
|
-
}
|
|
11
|
-
declare const Toast: React.ForwardRefExoticComponent<ToastProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export { Toast, toastVariants };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { Toast } from '../../hooks/useToast';
|
|
3
|
-
interface ToastContextType {
|
|
4
|
-
toast: (toast: Omit<Toast, "id">) => string;
|
|
5
|
-
dismiss: (toastId: string) => void;
|
|
6
|
-
dismissAll: () => void;
|
|
7
|
-
updateToast: (toastId: string, updates: Partial<Toast>) => void;
|
|
8
|
-
}
|
|
9
|
-
export interface ToastProviderProps {
|
|
10
|
-
children: ReactNode;
|
|
11
|
-
position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
12
|
-
maxToasts?: number;
|
|
13
|
-
}
|
|
14
|
-
export declare function ToastProvider({ children, position, maxToasts, }: ToastProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
export declare function useToastContext(): ToastContextType;
|
|
16
|
-
export declare function useToast(): {
|
|
17
|
-
toast: (toast: Omit<Toast, "id">) => string;
|
|
18
|
-
dismiss: (toastId: string) => void;
|
|
19
|
-
dismissAll: () => void;
|
|
20
|
-
updateToast: (toastId: string, updates: Partial<Toast>) => void;
|
|
21
|
-
success: (data: Omit<Toast, "id" | "type">) => string;
|
|
22
|
-
error: (data: Omit<Toast, "id" | "type">) => string;
|
|
23
|
-
warning: (data: Omit<Toast, "id" | "type">) => string;
|
|
24
|
-
info: (data: Omit<Toast, "id" | "type">) => string;
|
|
25
|
-
};
|
|
26
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const alertVariants: (props?: ({
|
|
4
|
-
variant?: "primary" | "secondary" | "accent" | "destructive" | "default" | "success" | "warning" | "danger" | "info" | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
export interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
|
|
7
|
-
}
|
|
8
|
-
declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export { Alert, alertVariants };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const bodyVariants: (props?: ({
|
|
4
|
-
size?: "md" | "lg" | null | undefined;
|
|
5
|
-
weight?: "normal" | "medium" | "semibold" | "bold" | null | undefined;
|
|
6
|
-
muted?: boolean | null | undefined;
|
|
7
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
-
export interface BodyProps extends React.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof bodyVariants> {
|
|
9
|
-
as?: "p" | "span" | "div";
|
|
10
|
-
}
|
|
11
|
-
declare const Body: React.ForwardRefExoticComponent<BodyProps & React.RefAttributes<HTMLElement>>;
|
|
12
|
-
export { Body, bodyVariants };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "primary" | "secondary" | "accent" | "destructive" | "outline" | "ghost" | null | undefined;
|
|
5
|
-
size?: "sm" | "md" | "lg" | "icon" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
leftIcon?: React.ReactNode;
|
|
10
|
-
rightIcon?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
export { Button, buttonVariants };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const captionVariants: (props?: ({
|
|
4
|
-
weight?: "normal" | "medium" | null | undefined;
|
|
5
|
-
muted?: boolean | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export interface CaptionProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof captionVariants> {
|
|
8
|
-
as?: "span" | "p" | "div";
|
|
9
|
-
}
|
|
10
|
-
declare const Caption: React.ForwardRefExoticComponent<CaptionProps & React.RefAttributes<HTMLElement>>;
|
|
11
|
-
export { Caption, captionVariants };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
-
declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const codeVariants: (props?: ({
|
|
4
|
-
variant?: "inline" | "block" | null | undefined;
|
|
5
|
-
muted?: boolean | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export interface CodeProps extends React.HTMLAttributes<HTMLElement>, VariantProps<typeof codeVariants> {
|
|
8
|
-
as?: "code" | "pre";
|
|
9
|
-
}
|
|
10
|
-
declare const Code: React.ForwardRefExoticComponent<CodeProps & React.RefAttributes<HTMLElement>>;
|
|
11
|
-
export { Code, codeVariants };
|