@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,14 +0,0 @@
|
|
|
1
|
-
import { TableExpandableContentProps } from './Table.types';
|
|
2
|
-
/**
|
|
3
|
-
* Table ExpandableContent Component
|
|
4
|
-
*
|
|
5
|
-
* Expandable content cell with CSS height transitions.
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
export type { TableExpandableContentProps };
|
|
9
|
-
/**
|
|
10
|
-
* Table ExpandableContent component
|
|
11
|
-
* Uses CSS height transitions (no framer-motion)
|
|
12
|
-
*/
|
|
13
|
-
declare const TableExpandableContent: React.ForwardRefExoticComponent<TableExpandableContentProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
14
|
-
export { TableExpandableContent };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TableHeadProps } from './Table.types';
|
|
2
|
-
/**
|
|
3
|
-
* Table Head Component
|
|
4
|
-
*
|
|
5
|
-
* Header cell component with sorting support.
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
export type { TableHeadProps };
|
|
9
|
-
/**
|
|
10
|
-
* Table Head component
|
|
11
|
-
*/
|
|
12
|
-
declare const TableHead: React.ForwardRefExoticComponent<TableHeadProps & React.RefAttributes<HTMLTableCellElement>>;
|
|
13
|
-
export { TableHead };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TableHeaderProps } from './Table.types';
|
|
2
|
-
/**
|
|
3
|
-
* Table Header Component
|
|
4
|
-
*
|
|
5
|
-
* Header section for table (thead element).
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
export type { TableHeaderProps };
|
|
9
|
-
/**
|
|
10
|
-
* Table Header component
|
|
11
|
-
*/
|
|
12
|
-
declare const TableHeader: React.ForwardRefExoticComponent<TableHeaderProps & React.RefAttributes<HTMLTableSectionElement>>;
|
|
13
|
-
export { TableHeader };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TableLoadingStateProps } from './Table.types';
|
|
2
|
-
/**
|
|
3
|
-
* Table LoadingState Component
|
|
4
|
-
*
|
|
5
|
-
* Loading state row for table (uses Skeleton component).
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
export type { TableLoadingStateProps };
|
|
9
|
-
/**
|
|
10
|
-
* Table LoadingState component
|
|
11
|
-
*/
|
|
12
|
-
declare const TableLoadingState: React.ForwardRefExoticComponent<TableLoadingStateProps & React.RefAttributes<HTMLTableRowElement>>;
|
|
13
|
-
export { TableLoadingState };
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { TableRowProps } from './Table.types';
|
|
2
|
-
/**
|
|
3
|
-
* Table Row Component
|
|
4
|
-
*
|
|
5
|
-
* Table row component with hover and selected states.
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
export type { TableRowProps };
|
|
9
|
-
/**
|
|
10
|
-
* Table Row component
|
|
11
|
-
*/
|
|
12
|
-
declare const TableRow: React.ForwardRefExoticComponent<TableRowProps & React.RefAttributes<HTMLTableRowElement>>;
|
|
13
|
-
export { TableRow };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TableSortIconProps } from './Table.types';
|
|
2
|
-
/**
|
|
3
|
-
* Table SortIcon Component
|
|
4
|
-
*
|
|
5
|
-
* Sort indicator icon with rotation animation.
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
export type { TableSortIconProps };
|
|
9
|
-
/**
|
|
10
|
-
* Table SortIcon component
|
|
11
|
-
* Uses CSS rotation animation (no framer-motion)
|
|
12
|
-
*/
|
|
13
|
-
declare const TableSortIcon: React.ForwardRefExoticComponent<TableSortIconProps & React.RefAttributes<HTMLSpanElement>>;
|
|
14
|
-
export { TableSortIcon };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Table Component
|
|
3
|
-
*
|
|
4
|
-
* Token-driven table component with sorting, expandable rows, loading, and empty states.
|
|
5
|
-
*/
|
|
6
|
-
export { TableRoot, useTableContext } from './Table';
|
|
7
|
-
export type { SortDirection, SortState, TableColumn, TableContextValue, TableRootProps, } from './Table.types';
|
|
8
|
-
export { TableBody, type TableBodyProps } from './TableBody';
|
|
9
|
-
export { TableCell, type TableCellProps } from './TableCell';
|
|
10
|
-
export { TableEmpty, type TableEmptyProps } from './TableEmpty';
|
|
11
|
-
export { TableExpandableContent, type TableExpandableContentProps } from './TableExpandableContent';
|
|
12
|
-
export { TableHead, type TableHeadProps } from './TableHead';
|
|
13
|
-
export { TableHeader, type TableHeaderProps } from './TableHeader';
|
|
14
|
-
export { TableLoadingState, type TableLoadingStateProps } from './TableLoadingState';
|
|
15
|
-
export { TableRow, type TableRowProps } from './TableRow';
|
|
16
|
-
export { TableSortIcon, type TableSortIconProps } from './TableSortIcon';
|
|
17
|
-
export { TableRoot as Table } from './Table';
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { DrawerBodyProps, DrawerFooterProps, DrawerHeaderProps, DrawerProps as DrawerPropsType } from './Drawer.types';
|
|
2
|
-
import { drawerVariants } from './drawer-variants';
|
|
3
|
-
/**
|
|
4
|
-
* Drawer Component
|
|
5
|
-
*
|
|
6
|
-
* Complete CVA-driven, tokenized, theme-aware drawer overlay with focus trap,
|
|
7
|
-
* keyboard controls, and portal rendering. Supports left, right, and bottom positions.
|
|
8
|
-
*
|
|
9
|
-
* Features:
|
|
10
|
-
* - Portal rendering for proper z-index stacking
|
|
11
|
-
* - Focus trap (loops focus inside drawer)
|
|
12
|
-
* - Escape key closes drawer
|
|
13
|
-
* - Overlay click optionally closes (prop controlled)
|
|
14
|
-
* - Theme-aware overlay opacity using tokens
|
|
15
|
-
* - Token-driven shadows, border radius, and spacing
|
|
16
|
-
* - Complete accessibility (role, aria-modal, aria-labelledby, aria-describedby)
|
|
17
|
-
* - Initial focus on first interactive element
|
|
18
|
-
* - Position variants: left, right, bottom
|
|
19
|
-
* - Size variants: sm, md, lg
|
|
20
|
-
*/
|
|
21
|
-
import * as React from "react";
|
|
22
|
-
/**
|
|
23
|
-
* Drawer Header - Header section with spacing
|
|
24
|
-
*/
|
|
25
|
-
declare const DrawerHeader: React.ForwardRefExoticComponent<DrawerHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
26
|
-
/**
|
|
27
|
-
* Drawer Body - Main content area
|
|
28
|
-
*/
|
|
29
|
-
declare const DrawerBody: React.ForwardRefExoticComponent<DrawerBodyProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
-
/**
|
|
31
|
-
* Drawer Footer - Footer section with layout
|
|
32
|
-
*/
|
|
33
|
-
declare const DrawerFooter: React.ForwardRefExoticComponent<DrawerFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
-
declare const Drawer: React.ForwardRefExoticComponent<DrawerPropsType & React.RefAttributes<HTMLDivElement>> & {
|
|
35
|
-
Content: React.ForwardRefExoticComponent<DrawerPropsType & React.RefAttributes<HTMLDivElement>>;
|
|
36
|
-
Header: React.ForwardRefExoticComponent<DrawerHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
Body: React.ForwardRefExoticComponent<DrawerBodyProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
-
Footer: React.ForwardRefExoticComponent<DrawerFooterProps & React.RefAttributes<HTMLDivElement>>;
|
|
39
|
-
};
|
|
40
|
-
export type { DrawerBackdropVariant, DrawerBodyProps, DrawerFooterProps, DrawerHeaderProps, DrawerPosition, DrawerProps, DrawerSize, } from './Drawer.types';
|
|
41
|
-
export { Drawer, DrawerBody, DrawerFooter, DrawerHeader, drawerVariants };
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { drawerVariants } from './drawer-variants';
|
|
3
|
-
/**
|
|
4
|
-
* Drawer position variants
|
|
5
|
-
*/
|
|
6
|
-
export type DrawerPosition = "left" | "right" | "bottom";
|
|
7
|
-
/**
|
|
8
|
-
* Drawer size variants
|
|
9
|
-
*/
|
|
10
|
-
export type DrawerSize = "sm" | "md" | "lg";
|
|
11
|
-
/**
|
|
12
|
-
* Backdrop variant for drawer overlay
|
|
13
|
-
*/
|
|
14
|
-
export type DrawerBackdropVariant = "default" | "blurred" | "transparent";
|
|
15
|
-
/**
|
|
16
|
-
* Drawer Props
|
|
17
|
-
* Main props interface for Drawer component
|
|
18
|
-
*/
|
|
19
|
-
export interface DrawerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onClick" | "role" | "aria-modal" | "aria-labelledby" | "aria-describedby">, VariantProps<typeof drawerVariants> {
|
|
20
|
-
/**
|
|
21
|
-
* Whether drawer is open
|
|
22
|
-
*/
|
|
23
|
-
open: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Callback when drawer should close
|
|
26
|
-
*/
|
|
27
|
-
onClose: () => void;
|
|
28
|
-
/**
|
|
29
|
-
* Drawer position variant
|
|
30
|
-
*/
|
|
31
|
-
position?: DrawerPosition;
|
|
32
|
-
/**
|
|
33
|
-
* Drawer size variant
|
|
34
|
-
*/
|
|
35
|
-
size?: DrawerSize;
|
|
36
|
-
/**
|
|
37
|
-
* Backdrop variant
|
|
38
|
-
*/
|
|
39
|
-
backdropVariant?: DrawerBackdropVariant;
|
|
40
|
-
/**
|
|
41
|
-
* Whether to close on backdrop click
|
|
42
|
-
*/
|
|
43
|
-
closeOnBackdropClick?: boolean;
|
|
44
|
-
/**
|
|
45
|
-
* Whether to close on escape key
|
|
46
|
-
*/
|
|
47
|
-
closeOnEscape?: boolean;
|
|
48
|
-
/**
|
|
49
|
-
* Element to return focus to when drawer closes
|
|
50
|
-
*/
|
|
51
|
-
returnFocusRef?: React.RefObject<HTMLElement>;
|
|
52
|
-
/**
|
|
53
|
-
* ID for the drawer title (for aria-labelledby)
|
|
54
|
-
*/
|
|
55
|
-
titleId?: string;
|
|
56
|
-
/**
|
|
57
|
-
* ID for the drawer description (for aria-describedby)
|
|
58
|
-
*/
|
|
59
|
-
descriptionId?: string;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Drawer Header Props
|
|
63
|
-
*/
|
|
64
|
-
export interface DrawerHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Drawer Body Props
|
|
68
|
-
*/
|
|
69
|
-
export interface DrawerBodyProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Drawer Footer Props
|
|
73
|
-
*/
|
|
74
|
-
export interface DrawerFooterProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
75
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Drawer Variants
|
|
3
|
-
*
|
|
4
|
-
* CVA-based variant system for Drawer component.
|
|
5
|
-
* Supports positions (left, right, bottom), sizes (sm, md, lg),
|
|
6
|
-
* and transitions (appear, disappear).
|
|
7
|
-
* All styling uses token-based values with CSS variable references.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Drawer Content Variants
|
|
11
|
-
* Main drawer container with position, size, and transition support
|
|
12
|
-
*/
|
|
13
|
-
export declare const drawerVariants: (props?: ({
|
|
14
|
-
position?: "left" | "right" | "bottom" | null | undefined;
|
|
15
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
16
|
-
transition?: "appear" | "disappear" | null | undefined;
|
|
17
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Drawer Component Exports
|
|
3
|
-
*
|
|
4
|
-
* Token-driven drawer component with Portal, Backdrop, and Surface integration.
|
|
5
|
-
* Supports position variants (left, right, bottom) and size variants (sm, md, lg).
|
|
6
|
-
*/
|
|
7
|
-
export { Drawer, DrawerBody, DrawerFooter, DrawerHeader, drawerVariants } from './Drawer';
|
|
8
|
-
export type { DrawerBackdropVariant, DrawerBodyProps, DrawerFooterProps, DrawerHeaderProps, DrawerPosition, DrawerProps, DrawerSize, } from './Drawer.types';
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { DropdownItemProps, DropdownMenuProps, DropdownRootProps, DropdownTriggerProps } from './Dropdown.types';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
/**
|
|
4
|
-
* Dropdown Root Component
|
|
5
|
-
* Manages state and provides context for all Dropdown sub-components
|
|
6
|
-
*/
|
|
7
|
-
export declare function DropdownRoot({ open: controlledOpen, onOpenChange, defaultOpen, disabled, children, variant, size, }: DropdownRootProps & {
|
|
8
|
-
variant?: DropdownRootProps["variant"];
|
|
9
|
-
size?: DropdownRootProps["size"];
|
|
10
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare namespace DropdownRoot {
|
|
12
|
-
var displayName: string;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Dropdown Trigger Component
|
|
16
|
-
* Button that opens/closes the dropdown
|
|
17
|
-
*/
|
|
18
|
-
export declare const DropdownTrigger: React.ForwardRefExoticComponent<DropdownTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
19
|
-
/**
|
|
20
|
-
* Dropdown Menu Component
|
|
21
|
-
* Portal-rendered menu container with keyboard navigation
|
|
22
|
-
*/
|
|
23
|
-
export declare const DropdownMenu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
/**
|
|
25
|
-
* Dropdown Item Component
|
|
26
|
-
* Individual menu item with roving tabindex
|
|
27
|
-
*/
|
|
28
|
-
export declare const DropdownItem: React.ForwardRefExoticComponent<DropdownItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
29
|
-
/**
|
|
30
|
-
* Dropdown Component (Compound)
|
|
31
|
-
* Main export that combines all sub-components
|
|
32
|
-
*/
|
|
33
|
-
export declare const Dropdown: {
|
|
34
|
-
Root: typeof DropdownRoot;
|
|
35
|
-
Trigger: React.ForwardRefExoticComponent<DropdownTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
36
|
-
Menu: React.ForwardRefExoticComponent<DropdownMenuProps & React.RefAttributes<HTMLDivElement>>;
|
|
37
|
-
Item: React.ForwardRefExoticComponent<DropdownItemProps & React.RefAttributes<HTMLDivElement>>;
|
|
38
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { dropdownItemVariants, dropdownMenuVariants, dropdownTriggerVariants } from './dropdown-variants';
|
|
3
|
-
/**
|
|
4
|
-
* Dropdown Root Props
|
|
5
|
-
* Props for the DropdownRoot component that manages dropdown state
|
|
6
|
-
*/
|
|
7
|
-
export interface DropdownRootProps {
|
|
8
|
-
/**
|
|
9
|
-
* Controlled open state
|
|
10
|
-
*/
|
|
11
|
-
open?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* Callback when open state changes
|
|
14
|
-
*/
|
|
15
|
-
onOpenChange?: (open: boolean) => void;
|
|
16
|
-
/**
|
|
17
|
-
* Default open state (uncontrolled)
|
|
18
|
-
*/
|
|
19
|
-
defaultOpen?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Disable the dropdown
|
|
22
|
-
*/
|
|
23
|
-
disabled?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* Dropdown children
|
|
26
|
-
*/
|
|
27
|
-
children: React.ReactNode;
|
|
28
|
-
/**
|
|
29
|
-
* Dropdown variant
|
|
30
|
-
*/
|
|
31
|
-
variant?: "neutral" | "tinted";
|
|
32
|
-
/**
|
|
33
|
-
* Dropdown size
|
|
34
|
-
*/
|
|
35
|
-
size?: "sm" | "md" | "lg";
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Dropdown Trigger Props
|
|
39
|
-
* Props for the DropdownTrigger component
|
|
40
|
-
*/
|
|
41
|
-
export interface DropdownTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof dropdownTriggerVariants> {
|
|
42
|
-
/**
|
|
43
|
-
* Render as child element
|
|
44
|
-
*/
|
|
45
|
-
asChild?: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Dropdown trigger children
|
|
48
|
-
*/
|
|
49
|
-
children: React.ReactNode;
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Dropdown Menu Props
|
|
53
|
-
* Props for the DropdownMenu component
|
|
54
|
-
*/
|
|
55
|
-
export interface DropdownMenuProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof dropdownMenuVariants> {
|
|
56
|
-
/**
|
|
57
|
-
* Dropdown menu children
|
|
58
|
-
*/
|
|
59
|
-
children: React.ReactNode;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* Dropdown Item Props
|
|
63
|
-
* Props for the DropdownItem component
|
|
64
|
-
*/
|
|
65
|
-
export interface DropdownItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onSelect">, VariantProps<typeof dropdownItemVariants> {
|
|
66
|
-
/**
|
|
67
|
-
* Whether the item is disabled
|
|
68
|
-
*/
|
|
69
|
-
disabled?: boolean;
|
|
70
|
-
/**
|
|
71
|
-
* Whether the item is selected
|
|
72
|
-
*/
|
|
73
|
-
selected?: boolean;
|
|
74
|
-
/**
|
|
75
|
-
* Callback when item is selected
|
|
76
|
-
*/
|
|
77
|
-
onSelect?: (event: Event) => void;
|
|
78
|
-
/**
|
|
79
|
-
* Dropdown item children
|
|
80
|
-
*/
|
|
81
|
-
children: React.ReactNode;
|
|
82
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dropdown Variants
|
|
3
|
-
*
|
|
4
|
-
* CVA-based variant system for Dropdown component.
|
|
5
|
-
* Supports variants (neutral, tinted), sizes (sm, md, lg), and states (open, closed, disabled).
|
|
6
|
-
* All styling uses token-based values with CSS variable references.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Dropdown Trigger Variants
|
|
10
|
-
* Button element that opens/closes the dropdown
|
|
11
|
-
*/
|
|
12
|
-
export declare const dropdownTriggerVariants: (props?: ({
|
|
13
|
-
variant?: "neutral" | "tinted" | null | undefined;
|
|
14
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
15
|
-
state?: "disabled" | "closed" | "open" | null | undefined;
|
|
16
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
17
|
-
/**
|
|
18
|
-
* Dropdown Menu Variants
|
|
19
|
-
* Container for the dropdown items
|
|
20
|
-
*/
|
|
21
|
-
export declare const dropdownMenuVariants: (props?: ({
|
|
22
|
-
variant?: "neutral" | "tinted" | null | undefined;
|
|
23
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
24
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
25
|
-
/**
|
|
26
|
-
* Dropdown Item Variants
|
|
27
|
-
* Individual menu item
|
|
28
|
-
*/
|
|
29
|
-
export declare const dropdownItemVariants: (props?: ({
|
|
30
|
-
variant?: "neutral" | "tinted" | null | undefined;
|
|
31
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
32
|
-
state?: "disabled" | "default" | "selected" | null | undefined;
|
|
33
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface DateRange {
|
|
2
|
-
from: Date | undefined;
|
|
3
|
-
to: Date | undefined;
|
|
4
|
-
}
|
|
5
|
-
export interface DateRangePickerProps {
|
|
6
|
-
value: DateRange;
|
|
7
|
-
onChange: (range: DateRange) => void;
|
|
8
|
-
placeholder: string;
|
|
9
|
-
selectDateRangeLabel: string;
|
|
10
|
-
clearLabel: string;
|
|
11
|
-
closeLabel: string;
|
|
12
|
-
className?: string;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare function DateRangePicker({ value, onChange, placeholder, selectDateRangeLabel, clearLabel, closeLabel, className, disabled, }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export declare function useDateRange(initialRange?: DateRange): {
|
|
17
|
-
range: DateRange;
|
|
18
|
-
setDateRange: (newRange: DateRange) => void;
|
|
19
|
-
clearRange: () => void;
|
|
20
|
-
isRangeComplete: Date | undefined;
|
|
21
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export interface FilterBarProps {
|
|
2
|
-
className?: string;
|
|
3
|
-
showSearch?: boolean;
|
|
4
|
-
showCategory?: boolean;
|
|
5
|
-
showDateRange?: boolean;
|
|
6
|
-
showPriceRange?: boolean;
|
|
7
|
-
showSorting?: boolean;
|
|
8
|
-
categories?: Array<{
|
|
9
|
-
value: string;
|
|
10
|
-
label: string;
|
|
11
|
-
count?: number;
|
|
12
|
-
}>;
|
|
13
|
-
sortOptions: Array<{
|
|
14
|
-
value: string;
|
|
15
|
-
label: string;
|
|
16
|
-
}>;
|
|
17
|
-
searchPlaceholder: string;
|
|
18
|
-
filtersLabel: string;
|
|
19
|
-
clearAllLabel: string;
|
|
20
|
-
categoryLabel: string;
|
|
21
|
-
allCategoriesLabel: string;
|
|
22
|
-
dateRangeLabel: string;
|
|
23
|
-
anyDateLabel: string;
|
|
24
|
-
dateSelectDateRangeLabel: string;
|
|
25
|
-
dateClearLabel: string;
|
|
26
|
-
dateCloseLabel: string;
|
|
27
|
-
sortByLabel: string;
|
|
28
|
-
sortAscLabel: string;
|
|
29
|
-
sortDescLabel: string;
|
|
30
|
-
sortByPlaceholder: string;
|
|
31
|
-
activeFiltersLabel: string;
|
|
32
|
-
priceRangeLabel: string;
|
|
33
|
-
priceMinLabel: string;
|
|
34
|
-
priceMaxLabel: string;
|
|
35
|
-
priceAnyLabel: string;
|
|
36
|
-
priceClearLabel: string;
|
|
37
|
-
priceMinAriaLabel: string;
|
|
38
|
-
priceMaxAriaLabel: string;
|
|
39
|
-
onFiltersChange?: (filters: {
|
|
40
|
-
search: string;
|
|
41
|
-
category: string;
|
|
42
|
-
dateRange: {
|
|
43
|
-
start: Date | null;
|
|
44
|
-
end: Date | null;
|
|
45
|
-
};
|
|
46
|
-
priceRange: {
|
|
47
|
-
min: number | null;
|
|
48
|
-
max: number | null;
|
|
49
|
-
};
|
|
50
|
-
sortBy: string;
|
|
51
|
-
sortOrder: "asc" | "desc";
|
|
52
|
-
}) => void;
|
|
53
|
-
}
|
|
54
|
-
export declare function FilterBar({ className, showSearch, showCategory, showDateRange, showPriceRange, showSorting, categories, sortOptions, searchPlaceholder, filtersLabel, clearAllLabel, categoryLabel, allCategoriesLabel, dateRangeLabel, anyDateLabel, dateSelectDateRangeLabel, dateClearLabel, dateCloseLabel, sortByLabel, sortAscLabel, sortDescLabel, sortByPlaceholder, activeFiltersLabel, priceRangeLabel, priceMinLabel, priceMaxLabel, priceAnyLabel, priceClearLabel, priceMinAriaLabel, priceMaxAriaLabel, onFiltersChange, }: FilterBarProps): import("react/jsx-runtime").JSX.Element;
|
|
55
|
-
export declare function FilterBarCompact({ className, ...props }: FilterBarProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { FilterOption } from './types';
|
|
2
|
-
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
declare const Select: React.FC<SelectPrimitive.SelectProps>;
|
|
5
|
-
declare const SelectGroup: React.ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
declare const SelectValue: React.ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & React.RefAttributes<HTMLSpanElement>>;
|
|
7
|
-
declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
8
|
-
declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollUpButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectScrollDownButtonProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const SelectContent: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
declare const SelectLabel: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const SelectItem: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
export interface FilterSelectProps {
|
|
15
|
-
value: string;
|
|
16
|
-
onValueChange: (value: string) => void;
|
|
17
|
-
options: FilterOption[];
|
|
18
|
-
placeholder: string;
|
|
19
|
-
label?: string;
|
|
20
|
-
className?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare function FilterSelect({ value, onValueChange, options, placeholder, label, className, }: FilterSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface PriceRange {
|
|
2
|
-
min: number | null;
|
|
3
|
-
max: number | null;
|
|
4
|
-
}
|
|
5
|
-
export interface PriceRangeSliderProps {
|
|
6
|
-
value: PriceRange;
|
|
7
|
-
onChange: (range: PriceRange) => void;
|
|
8
|
-
min: number;
|
|
9
|
-
max: number;
|
|
10
|
-
step: number;
|
|
11
|
-
currency: string;
|
|
12
|
-
priceRangeLabel: string;
|
|
13
|
-
minLabel: string;
|
|
14
|
-
maxLabel: string;
|
|
15
|
-
anyPriceLabel: string;
|
|
16
|
-
clearLabel: string;
|
|
17
|
-
minAriaLabel: string;
|
|
18
|
-
maxAriaLabel: string;
|
|
19
|
-
className?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare function PriceRangeSlider({ value, onChange, min, max, step, currency, priceRangeLabel, minLabel, maxLabel, anyPriceLabel, clearLabel, minAriaLabel, maxAriaLabel, className, }: PriceRangeSliderProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export declare function usePriceRange(initialRange?: PriceRange): {
|
|
23
|
-
range: PriceRange;
|
|
24
|
-
setPriceRange: (newRange: PriceRange) => void;
|
|
25
|
-
clearRange: () => void;
|
|
26
|
-
isRangeSet: boolean;
|
|
27
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { DateRange } from './DateRangePicker';
|
|
3
|
-
export interface FilterOption {
|
|
4
|
-
value: string;
|
|
5
|
-
label: string;
|
|
6
|
-
}
|
|
7
|
-
interface SearchFiltersProps {
|
|
8
|
-
searchLabel: string;
|
|
9
|
-
searchPlaceholder: string;
|
|
10
|
-
searchValue: string;
|
|
11
|
-
onSearchChange: (query: string) => void;
|
|
12
|
-
dateLabel: string;
|
|
13
|
-
datePlaceholder: string;
|
|
14
|
-
dateSelectDateRangeLabel: string;
|
|
15
|
-
dateClearLabel: string;
|
|
16
|
-
dateCloseLabel: string;
|
|
17
|
-
dateValue: DateRange;
|
|
18
|
-
onDateChange: (range: DateRange) => void;
|
|
19
|
-
genreLabel: string;
|
|
20
|
-
genrePlaceholder: string;
|
|
21
|
-
genreOptions: FilterOption[];
|
|
22
|
-
genreValue: string;
|
|
23
|
-
onGenreChange: (genre: string) => void;
|
|
24
|
-
venueLabel: string;
|
|
25
|
-
venuePlaceholder: string;
|
|
26
|
-
venueOptions: FilterOption[];
|
|
27
|
-
venueValue: string;
|
|
28
|
-
onVenueChange: (venue: string) => void;
|
|
29
|
-
className?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare const SearchFilters: React.FC<SearchFiltersProps>;
|
|
32
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface SearchInputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "size"> {
|
|
3
|
-
value: string;
|
|
4
|
-
onChange: (value: string) => void;
|
|
5
|
-
onClear?: () => void;
|
|
6
|
-
placeholder: string;
|
|
7
|
-
showClearButton?: boolean;
|
|
8
|
-
debounceMs?: number;
|
|
9
|
-
}
|
|
10
|
-
export declare function SearchInput({ value, onChange, onClear, placeholder, showClearButton, debounceMs, className, id, name, ...props }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export declare function useSearch(initialValue?: string): {
|
|
12
|
-
search: string;
|
|
13
|
-
debouncedSearch: string;
|
|
14
|
-
setSearch: React.Dispatch<React.SetStateAction<string>>;
|
|
15
|
-
clearSearch: () => void;
|
|
16
|
-
};
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
export interface FilterOption {
|
|
2
|
-
value: string;
|
|
3
|
-
label: string;
|
|
4
|
-
count?: number;
|
|
5
|
-
}
|
|
6
|
-
export interface FilterState {
|
|
7
|
-
search: string;
|
|
8
|
-
category: string;
|
|
9
|
-
tags: string[];
|
|
10
|
-
dateRange: {
|
|
11
|
-
start: Date | null;
|
|
12
|
-
end: Date | null;
|
|
13
|
-
};
|
|
14
|
-
priceRange: {
|
|
15
|
-
min: number | null;
|
|
16
|
-
max: number | null;
|
|
17
|
-
};
|
|
18
|
-
sortBy: string;
|
|
19
|
-
sortOrder: "asc" | "desc";
|
|
20
|
-
}
|
|
21
|
-
export declare const useFilterManager: () => {
|
|
22
|
-
search: string;
|
|
23
|
-
category: string;
|
|
24
|
-
tags: never[];
|
|
25
|
-
dateRange: {
|
|
26
|
-
start: null;
|
|
27
|
-
end: null;
|
|
28
|
-
};
|
|
29
|
-
priceRange: {
|
|
30
|
-
min: null;
|
|
31
|
-
max: null;
|
|
32
|
-
};
|
|
33
|
-
sortBy: string;
|
|
34
|
-
sortOrder: "desc";
|
|
35
|
-
setSearch: (_search: string) => void;
|
|
36
|
-
setCategory: (_category: string) => void;
|
|
37
|
-
setTags: (_tags: string[]) => void;
|
|
38
|
-
addTag: (_tag: string) => void;
|
|
39
|
-
removeTag: (_tag: string) => void;
|
|
40
|
-
setDateRange: (_start: Date | null, _end: Date | null) => void;
|
|
41
|
-
setPriceRange: (_min: number | null, _max: number | null) => void;
|
|
42
|
-
setSorting: (_sortBy: string, _sortOrder: "asc" | "desc") => void;
|
|
43
|
-
resetFilters: () => void;
|
|
44
|
-
getActiveFiltersCount: () => number;
|
|
45
|
-
getFilterSummary: () => never[];
|
|
46
|
-
hasActiveFilters: boolean;
|
|
47
|
-
clearAllFilters: () => void;
|
|
48
|
-
};
|