@tenerife.music/ui 1.0.8 → 1.0.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -8
- package/dist/{tokens/colors.d.ts → colors-CVA7_16U.d.cts} +21 -19
- package/dist/colors-CVA7_16U.d.ts +289 -0
- package/dist/index-BgXvioll.d.cts +6845 -0
- package/dist/index-Bv4wWj9I.d.ts +6845 -0
- package/dist/index.cjs +16385 -2
- package/dist/index.d.cts +4020 -0
- package/dist/index.d.ts +4020 -39
- package/dist/index.mjs +14502 -6425
- package/dist/preset.cjs +1264 -2
- package/dist/preset.d.cts +21 -0
- package/dist/preset.d.ts +3 -1
- package/dist/preset.mjs +1165 -95
- package/dist/styles.cjs +2 -2
- package/dist/styles.css +87 -1
- package/dist/styles.d.cts +2 -0
- package/dist/styles.d.ts +2 -0
- package/dist/styles.mjs +1 -1
- package/dist/theme/index.cjs +2634 -2
- package/dist/theme/index.d.cts +453 -0
- package/dist/theme/index.d.ts +453 -8
- package/dist/theme/index.mjs +1601 -576
- package/dist/tokens/index.cjs +6203 -5
- package/dist/tokens/index.d.cts +2 -0
- package/dist/tokens/index.d.ts +2 -9
- package/dist/tokens/index.mjs +2601 -155
- package/package.json +10 -9
- package/dist/animation/index.d.ts +0 -8
- package/dist/animation/presets.d.ts +0 -301
- package/dist/animation/tas.d.ts +0 -24
- package/dist/animation/types.d.ts +0 -67
- package/dist/animation/useInView.d.ts +0 -36
- package/dist/animation/utils.d.ts +0 -6
- package/dist/brand-C5R2semX.js +0 -45
- package/dist/brand-DQb18Frh.cjs +0 -2
- package/dist/components/SectionBuilder.d.ts +0 -36
- package/dist/components/SectionBuilder.presets.d.ts +0 -228
- package/dist/components/SectionBuilder.types.d.ts +0 -326
- package/dist/components/admin/Dashboard.d.ts +0 -8
- package/dist/components/admin/UserManagement.d.ts +0 -8
- package/dist/components/auth/LoginForm.d.ts +0 -11
- package/dist/components/auth/ProfileCard.d.ts +0 -9
- package/dist/components/auth/RegisterForm.d.ts +0 -13
- package/dist/components/cards/ArtistCard/ArtistCard.d.ts +0 -22
- package/dist/components/cards/ArtistCard/ArtistCard.types.d.ts +0 -46
- package/dist/components/cards/ArtistCard/ArtistCard.variants.d.ts +0 -83
- package/dist/components/cards/ArtistCard/index.d.ts +0 -8
- package/dist/components/cards/CardBase/CardBase.d.ts +0 -45
- package/dist/components/cards/CardBase/CardBase.types.d.ts +0 -70
- package/dist/components/cards/CardBase/CardBase.variants.d.ts +0 -38
- package/dist/components/cards/CardBase/index.d.ts +0 -8
- package/dist/components/cards/CategoryCard/CategoryCard.d.ts +0 -18
- package/dist/components/cards/CategoryCard/CategoryCard.types.d.ts +0 -38
- package/dist/components/cards/CategoryCard/CategoryCard.variants.d.ts +0 -21
- package/dist/components/cards/CategoryCard/index.d.ts +0 -7
- package/dist/components/cards/EventCard/EventCard.d.ts +0 -19
- package/dist/components/cards/EventCard/EventCard.types.d.ts +0 -47
- package/dist/components/cards/EventCard/EventCard.variants.d.ts +0 -70
- package/dist/components/cards/EventCard/index.d.ts +0 -7
- package/dist/components/cards/PromoCard/PromoCard.d.ts +0 -20
- package/dist/components/cards/PromoCard/PromoCard.types.d.ts +0 -42
- package/dist/components/cards/PromoCard/PromoCard.variants.d.ts +0 -35
- package/dist/components/cards/PromoCard/index.d.ts +0 -7
- package/dist/components/cards/TicketCard/TicketCard.d.ts +0 -19
- package/dist/components/cards/TicketCard/TicketCard.types.d.ts +0 -55
- package/dist/components/cards/TicketCard/TicketCard.variants.d.ts +0 -71
- package/dist/components/cards/TicketCard/index.d.ts +0 -7
- package/dist/components/cards/VenueCard/VenueCard.d.ts +0 -21
- package/dist/components/cards/VenueCard/VenueCard.types.d.ts +0 -46
- package/dist/components/cards/VenueCard/VenueCard.variants.d.ts +0 -60
- package/dist/components/cards/VenueCard/index.d.ts +0 -8
- package/dist/components/cards/index.d.ts +0 -19
- package/dist/components/checkbox/Checkbox.d.ts +0 -22
- package/dist/components/checkbox/Checkbox.types.d.ts +0 -68
- package/dist/components/checkbox/checkbox-variants.d.ts +0 -13
- package/dist/components/checkbox/index.d.ts +0 -3
- package/dist/components/containers/Card.d.ts +0 -75
- package/dist/components/containers/Section.d.ts +0 -31
- package/dist/components/containers/Surface.d.ts +0 -28
- package/dist/components/containers/index.d.ts +0 -9
- package/dist/components/controls/LanguageSelector.d.ts +0 -17
- package/dist/components/data/List.d.ts +0 -12
- package/dist/components/data/Table.d.ts +0 -14
- package/dist/components/data/Timeline.d.ts +0 -13
- package/dist/components/data/data-list/DataList.d.ts +0 -29
- package/dist/components/data/data-list/DataList.types.d.ts +0 -43
- package/dist/components/data/data-list/DataListItem.d.ts +0 -20
- package/dist/components/data/data-list/DataListLabel.d.ts +0 -19
- package/dist/components/data/data-list/DataListValue.d.ts +0 -18
- package/dist/components/data/data-list/index.d.ts +0 -10
- package/dist/components/data/empty-state/EmptyState.d.ts +0 -31
- package/dist/components/data/empty-state/EmptyState.types.d.ts +0 -51
- package/dist/components/data/empty-state/EmptyStateAction.d.ts +0 -17
- package/dist/components/data/empty-state/EmptyStateDescription.d.ts +0 -17
- package/dist/components/data/empty-state/EmptyStateIcon.d.ts +0 -22
- package/dist/components/data/empty-state/EmptyStateTitle.d.ts +0 -17
- package/dist/components/data/empty-state/index.d.ts +0 -10
- package/dist/components/data/index.d.ts +0 -9
- package/dist/components/data/skeleton/Skeleton.d.ts +0 -24
- package/dist/components/data/skeleton/Skeleton.types.d.ts +0 -12
- package/dist/components/data/skeleton/index.d.ts +0 -6
- package/dist/components/data/table/Table.d.ts +0 -33
- package/dist/components/data/table/Table.types.d.ts +0 -264
- package/dist/components/data/table/TableBody.d.ts +0 -13
- package/dist/components/data/table/TableCell.d.ts +0 -13
- package/dist/components/data/table/TableEmpty.d.ts +0 -13
- package/dist/components/data/table/TableExpandableContent.d.ts +0 -14
- package/dist/components/data/table/TableHead.d.ts +0 -13
- package/dist/components/data/table/TableHeader.d.ts +0 -13
- package/dist/components/data/table/TableLoadingState.d.ts +0 -13
- package/dist/components/data/table/TableRow.d.ts +0 -13
- package/dist/components/data/table/TableSortIcon.d.ts +0 -14
- package/dist/components/data/table/index.d.ts +0 -17
- package/dist/components/drawer/Drawer.d.ts +0 -41
- package/dist/components/drawer/Drawer.types.d.ts +0 -75
- package/dist/components/drawer/drawer-variants.d.ts +0 -17
- package/dist/components/drawer/index.d.ts +0 -8
- package/dist/components/dropdown/Dropdown.d.ts +0 -38
- package/dist/components/dropdown/Dropdown.types.d.ts +0 -82
- package/dist/components/dropdown/dropdown-variants.d.ts +0 -33
- package/dist/components/feedback/ConsentBanner.d.ts +0 -8
- package/dist/components/feedback/Progress.d.ts +0 -8
- package/dist/components/feedback/Skeleton.d.ts +0 -6
- package/dist/components/filters/DateRangePicker.d.ts +0 -21
- package/dist/components/filters/FilterBar.d.ts +0 -55
- package/dist/components/filters/FilterSelect.d.ts +0 -23
- package/dist/components/filters/PriceRangeSlider.d.ts +0 -27
- package/dist/components/filters/SearchFilters.d.ts +0 -32
- package/dist/components/filters/SearchInput.d.ts +0 -16
- package/dist/components/filters/types.d.ts +0 -48
- package/dist/components/icon/Icon.d.ts +0 -32
- package/dist/components/icon/Icon.types.d.ts +0 -7
- package/dist/components/icon/index.d.ts +0 -4
- package/dist/components/icons/TrendingIcon.d.ts +0 -6
- package/dist/components/image/Image.d.ts +0 -48
- package/dist/components/input/Input.d.ts +0 -20
- package/dist/components/input/Input.types.d.ts +0 -38
- package/dist/components/input/index.d.ts +0 -3
- package/dist/components/input/input-variants.d.ts +0 -14
- package/dist/components/input/legacy/input.d.ts +0 -11
- package/dist/components/layout/Box.d.ts +0 -111
- package/dist/components/layout/Column.d.ts +0 -6
- package/dist/components/layout/Container.d.ts +0 -31
- package/dist/components/layout/Flex.d.ts +0 -50
- package/dist/components/layout/Footer.d.ts +0 -9
- package/dist/components/layout/Grid.d.ts +0 -60
- package/dist/components/layout/ModeHero.d.ts +0 -10
- package/dist/components/layout/Navbar.d.ts +0 -9
- package/dist/components/layout/Row.d.ts +0 -28
- package/dist/components/layout/Section.d.ts +0 -10
- package/dist/components/layout/Stack.d.ts +0 -38
- package/dist/components/layout/Surface.d.ts +0 -21
- package/dist/components/layout/index.d.ts +0 -22
- package/dist/components/layout/layout.types.d.ts +0 -107
- package/dist/components/menus/DropdownMenu.d.ts +0 -27
- package/dist/components/menus/NavigationMenu.d.ts +0 -12
- package/dist/components/menus/Tabs.d.ts +0 -7
- package/dist/components/menus/context-menu/ContextMenuContent.d.ts +0 -22
- package/dist/components/menus/context-menu/ContextMenuGroup.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuItem.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuLabel.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuRoot.d.ts +0 -47
- package/dist/components/menus/context-menu/ContextMenuSeparator.d.ts +0 -14
- package/dist/components/menus/context-menu/ContextMenuTrigger.d.ts +0 -16
- package/dist/components/menus/context-menu/index.d.ts +0 -12
- package/dist/components/menus/dropdown/DropdownMenuCheckItem.d.ts +0 -18
- package/dist/components/menus/dropdown/DropdownMenuContent.d.ts +0 -15
- package/dist/components/menus/dropdown/DropdownMenuGroup.d.ts +0 -12
- package/dist/components/menus/dropdown/DropdownMenuItem.d.ts +0 -30
- package/dist/components/menus/dropdown/DropdownMenuLabel.d.ts +0 -17
- package/dist/components/menus/dropdown/DropdownMenuRadioGroup.d.ts +0 -24
- package/dist/components/menus/dropdown/DropdownMenuRadioItem.d.ts +0 -18
- package/dist/components/menus/dropdown/DropdownMenuRoot.d.ts +0 -33
- package/dist/components/menus/dropdown/DropdownMenuSeparator.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuSub.d.ts +0 -10
- package/dist/components/menus/dropdown/DropdownMenuSubContent.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuSubTrigger.d.ts +0 -13
- package/dist/components/menus/dropdown/DropdownMenuTrigger.d.ts +0 -14
- package/dist/components/menus/dropdown/index.d.ts +0 -18
- package/dist/components/menus/hover-card/HoverCardContent.d.ts +0 -14
- package/dist/components/menus/hover-card/HoverCardRoot.d.ts +0 -20
- package/dist/components/menus/hover-card/HoverCardTrigger.d.ts +0 -13
- package/dist/components/menus/hover-card/index.d.ts +0 -8
- package/dist/components/menus/index.d.ts +0 -9
- package/dist/components/menus/popover/PopoverArrow.d.ts +0 -17
- package/dist/components/menus/popover/PopoverContent.d.ts +0 -24
- package/dist/components/menus/popover/PopoverRoot.d.ts +0 -43
- package/dist/components/menus/popover/PopoverTrigger.d.ts +0 -17
- package/dist/components/menus/popover/index.d.ts +0 -9
- package/dist/components/modal/Modal.d.ts +0 -70
- package/dist/components/modal/modal-variants.d.ts +0 -26
- package/dist/components/modals/ConfirmDialog.d.ts +0 -27
- package/dist/components/modals/CustomDialog.d.ts +0 -10
- package/dist/components/modals/Modal.d.ts +0 -19
- package/dist/components/modals/ModalProvider.d.ts +0 -16
- package/dist/components/modals/SimpleModal.d.ts +0 -11
- package/dist/components/navigation/Breadcrumbs.d.ts +0 -12
- package/dist/components/navigation/Pagination.d.ts +0 -10
- package/dist/components/navigation/breadcrumbs/Breadcrumbs.d.ts +0 -52
- package/dist/components/navigation/breadcrumbs/index.d.ts +0 -5
- package/dist/components/navigation/index.d.ts +0 -10
- package/dist/components/navigation/pagination/Pagination.d.ts +0 -60
- package/dist/components/navigation/pagination/index.d.ts +0 -5
- package/dist/components/navigation/segmented-control/SegmentedControl.d.ts +0 -43
- package/dist/components/navigation/segmented-control/index.d.ts +0 -5
- package/dist/components/navigation/stepper/Stepper.d.ts +0 -129
- package/dist/components/navigation/stepper/index.d.ts +0 -5
- package/dist/components/navigation/tabs/Tabs.d.ts +0 -73
- package/dist/components/navigation/tabs/index.d.ts +0 -5
- package/dist/components/notifications/NotificationCenter.DismissAll.d.ts +0 -21
- package/dist/components/notifications/NotificationCenter.GroupHeader.d.ts +0 -23
- package/dist/components/notifications/NotificationCenter.Item.d.ts +0 -24
- package/dist/components/notifications/NotificationCenter.List.d.ts +0 -22
- package/dist/components/notifications/NotificationCenter.Panel.d.ts +0 -32
- package/dist/components/notifications/NotificationCenter.Provider.d.ts +0 -31
- package/dist/components/notifications/NotificationCenter.Trigger.d.ts +0 -15
- package/dist/components/notifications/NotificationCenter.d.ts +0 -27
- package/dist/components/notifications/NotificationCenter.types.d.ts +0 -89
- package/dist/components/notifications/index.d.ts +0 -23
- package/dist/components/notifications/useNotificationCenter.d.ts +0 -47
- package/dist/components/overlays/Backdrop.d.ts +0 -24
- package/dist/components/overlays/Dialog.d.ts +0 -66
- package/dist/components/overlays/Modal.d.ts +0 -60
- package/dist/components/overlays/OverlayPortal.d.ts +0 -22
- package/dist/components/overlays/Popover.d.ts +0 -30
- package/dist/components/overlays/Portal.d.ts +0 -29
- package/dist/components/overlays/Toast.d.ts +0 -36
- package/dist/components/overlays/ToastProvider.d.ts +0 -58
- package/dist/components/overlays/ToastViewport.d.ts +0 -27
- package/dist/components/overlays/Tooltip.d.ts +0 -28
- package/dist/components/overlays/index.d.ts +0 -13
- package/dist/components/overlays/utils/FocusLock.d.ts +0 -30
- package/dist/components/overlays/utils/ScrollLock.d.ts +0 -11
- package/dist/components/overlays/utils/positioning.d.ts +0 -68
- package/dist/components/primitives/Badge.d.ts +0 -9
- package/dist/components/primitives/Button.d.ts +0 -1
- package/dist/components/primitives/Card.d.ts +0 -1
- package/dist/components/primitives/Divider.d.ts +0 -7
- package/dist/components/primitives/Input.d.ts +0 -4
- package/dist/components/primitives/Label.d.ts +0 -1
- package/dist/components/primitives/Link.d.ts +0 -13
- package/dist/components/primitives/ThemeSwitch.d.ts +0 -9
- package/dist/components/radio/Radio.d.ts +0 -23
- package/dist/components/radio/Radio.types.d.ts +0 -63
- package/dist/components/radio/RadioGroup.d.ts +0 -20
- package/dist/components/radio/RadioGroup.types.d.ts +0 -61
- package/dist/components/radio/index.d.ts +0 -5
- package/dist/components/radio/radio-variants.d.ts +0 -13
- package/dist/components/search/SearchBar.d.ts +0 -10
- package/dist/components/sections/ArticlesSection.d.ts +0 -25
- package/dist/components/sections/CTASection.d.ts +0 -37
- package/dist/components/sections/FeatureSection.d.ts +0 -33
- package/dist/components/sections/HeroSection.d.ts +0 -27
- package/dist/components/sections/TrendingSection.d.ts +0 -28
- package/dist/components/select/Select.d.ts +0 -38
- package/dist/components/select/Select.types.d.ts +0 -107
- package/dist/components/select/index.d.ts +0 -5
- package/dist/components/select/legacy/select.d.ts +0 -11
- package/dist/components/select/select-variants.d.ts +0 -32
- package/dist/components/skeletons/EventCardSkeleton.d.ts +0 -6
- package/dist/components/skeletons/VenueCardSkeleton.d.ts +0 -6
- package/dist/components/switch/Switch.d.ts +0 -24
- package/dist/components/switch/Switch.types.d.ts +0 -53
- package/dist/components/switch/index.d.ts +0 -3
- package/dist/components/switch/switch-variants.d.ts +0 -34
- package/dist/components/textarea/Textarea.d.ts +0 -21
- package/dist/components/textarea/Textarea.types.d.ts +0 -40
- package/dist/components/textarea/index.d.ts +0 -3
- package/dist/components/textarea/legacy/textarea.d.ts +0 -11
- package/dist/components/textarea/textarea-variants.d.ts +0 -14
- package/dist/components/toasts/Toast.d.ts +0 -12
- package/dist/components/toasts/ToastProvider.d.ts +0 -26
- package/dist/components/ui/alert.d.ts +0 -9
- package/dist/components/ui/body.d.ts +0 -12
- package/dist/components/ui/button.d.ts +0 -13
- package/dist/components/ui/caption.d.ts +0 -11
- package/dist/components/ui/card.d.ts +0 -8
- package/dist/components/ui/code.d.ts +0 -11
- package/dist/components/ui/dialog.d.ts +0 -19
- package/dist/components/ui/display.d.ts +0 -12
- package/dist/components/ui/field.d.ts +0 -45
- package/dist/components/ui/heading.d.ts +0 -12
- package/dist/components/ui/label.d.ts +0 -12
- package/dist/components/ui/lead.d.ts +0 -11
- package/dist/components/ui/text.d.ts +0 -18
- package/dist/components/ui/toast.d.ts +0 -15
- package/dist/components/ui/toaster.d.ts +0 -1
- package/dist/components/ui/tooltip.d.ts +0 -7
- package/dist/dark-Cvoy1uFT.js +0 -30
- package/dist/dark-OOhiqt1q.cjs +0 -2
- package/dist/default-BKgH1D9-.js +0 -8
- package/dist/default-Ddg7Haf2.cjs +0 -2
- package/dist/hooks/use-toast.d.ts +0 -44
- package/dist/hooks/useDebounce.d.ts +0 -19
- package/dist/hooks/useModal.d.ts +0 -19
- package/dist/hooks/useToast.d.ts +0 -26
- package/dist/icons/IconArrowRight.d.ts +0 -6
- package/dist/icons/IconCalendar.d.ts +0 -6
- package/dist/icons/IconCheck.d.ts +0 -6
- package/dist/icons/IconChevronDown.d.ts +0 -6
- package/dist/icons/IconChevronRight.d.ts +0 -6
- package/dist/icons/IconClose.d.ts +0 -6
- package/dist/icons/IconError.d.ts +0 -6
- package/dist/icons/IconInfo.d.ts +0 -6
- package/dist/icons/IconLocation.d.ts +0 -6
- package/dist/icons/IconMenu.d.ts +0 -6
- package/dist/icons/IconSearch.d.ts +0 -6
- package/dist/icons/IconSuccess.d.ts +0 -6
- package/dist/icons/IconWarning.d.ts +0 -6
- package/dist/icons/icon.types.d.ts +0 -25
- package/dist/icons/index.d.ts +0 -34
- package/dist/lib/a11y.d.ts +0 -15
- package/dist/lib/responsive-props.d.ts +0 -63
- package/dist/lib/utils.d.ts +0 -8
- package/dist/motion-CzQhSEqk.js +0 -738
- package/dist/motion-DJx1TbXJ.cjs +0 -2
- package/dist/theme/ThemeProvider.d.ts +0 -55
- package/dist/theme/applyMode.d.ts +0 -42
- package/dist/theme/colors.d.ts +0 -6
- package/dist/theme/loader.d.ts +0 -63
- package/dist/theme/motion/gestures.d.ts +0 -76
- package/dist/theme/motion/useReducedMotion.d.ts +0 -11
- package/dist/theme/motion.d.ts +0 -127
- package/dist/theme/registry.d.ts +0 -70
- package/dist/theme/schema.d.ts +0 -124
- package/dist/theme/spacing.d.ts +0 -34
- package/dist/theme/typography.d.ts +0 -45
- package/dist/themes/brand.d.ts +0 -6
- package/dist/themes/brand_engine.d.ts +0 -108
- package/dist/themes/dark.d.ts +0 -6
- package/dist/themes/default.d.ts +0 -6
- package/dist/themes/index.d.ts +0 -24
- package/dist/themes/minimal.d.ts +0 -6
- package/dist/themes/neon.d.ts +0 -6
- package/dist/themes/types.d.ts +0 -278
- package/dist/tokens/components/alert.d.ts +0 -74
- package/dist/tokens/components/button.d.ts +0 -130
- package/dist/tokens/components/card.d.ts +0 -91
- package/dist/tokens/components/checkbox.d.ts +0 -161
- package/dist/tokens/components/data.d.ts +0 -227
- package/dist/tokens/components/domain.d.ts +0 -379
- package/dist/tokens/components/dropdown.d.ts +0 -146
- package/dist/tokens/components/icon.d.ts +0 -57
- package/dist/tokens/components/index.d.ts +0 -31
- package/dist/tokens/components/input.d.ts +0 -284
- package/dist/tokens/components/menu.d.ts +0 -114
- package/dist/tokens/components/motion.d.ts +0 -103
- package/dist/tokens/components/navigation.d.ts +0 -181
- package/dist/tokens/components/notifications.d.ts +0 -159
- package/dist/tokens/components/overlay.d.ts +0 -227
- package/dist/tokens/components/popover.d.ts +0 -84
- package/dist/tokens/components/radio.d.ts +0 -149
- package/dist/tokens/components/section.d.ts +0 -41
- package/dist/tokens/components/surface.d.ts +0 -94
- package/dist/tokens/components/switch.d.ts +0 -208
- package/dist/tokens/components/text.d.ts +0 -68
- package/dist/tokens/components/toast.d.ts +0 -146
- package/dist/tokens/components/tooltip.d.ts +0 -52
- package/dist/tokens/css-variables.d.ts +0 -251
- package/dist/tokens/motion/v2.d.ts +0 -342
- package/dist/tokens/motion.d.ts +0 -485
- package/dist/tokens/opacity.d.ts +0 -22
- package/dist/tokens/radius.d.ts +0 -161
- package/dist/tokens/shadows.d.ts +0 -230
- package/dist/tokens/spacing.d.ts +0 -238
- package/dist/tokens/theme.d.ts +0 -119
- package/dist/tokens/typography.d.ts +0 -460
- package/dist/typography-C-Nb4y0o.cjs +0 -2
- package/dist/typography-DHym9KAP.js +0 -1196
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
|
|
4
|
-
declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
5
|
-
declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
|
|
6
|
-
declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const DialogHeader: {
|
|
10
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
declare const DialogFooter: {
|
|
14
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
18
|
-
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
19
|
-
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const displayVariants: (props?: ({
|
|
4
|
-
size?: "2xl" | "3xl" | "4xl" | "xl" | 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 DisplayProps extends React.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof displayVariants> {
|
|
9
|
-
as?: "h1" | "h2" | "div";
|
|
10
|
-
}
|
|
11
|
-
declare const Display: React.ForwardRefExoticComponent<DisplayProps & React.RefAttributes<HTMLElement>>;
|
|
12
|
-
export { Display, displayVariants };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Label } from './label';
|
|
2
|
-
import { Text } from './text';
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
/**
|
|
5
|
-
* Field Container Component
|
|
6
|
-
* Provides spacing between field elements using Stack
|
|
7
|
-
*/
|
|
8
|
-
export interface FieldProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
9
|
-
}
|
|
10
|
-
declare const Field: React.ForwardRefExoticComponent<FieldProps & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
-
/**
|
|
12
|
-
* Field Label Component
|
|
13
|
-
* Wraps Label component with proper styling
|
|
14
|
-
*/
|
|
15
|
-
export interface FieldLabelProps extends React.ComponentProps<typeof Label> {
|
|
16
|
-
}
|
|
17
|
-
declare const FieldLabel: React.ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
18
|
-
/**
|
|
19
|
-
* Field Control Component
|
|
20
|
-
* Wrapper for input/textarea/select controls
|
|
21
|
-
*/
|
|
22
|
-
export interface FieldControlProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
23
|
-
}
|
|
24
|
-
declare const FieldControl: React.ForwardRefExoticComponent<FieldControlProps & React.RefAttributes<HTMLDivElement>>;
|
|
25
|
-
/**
|
|
26
|
-
* Field Description Component
|
|
27
|
-
* Helper text displayed below the control
|
|
28
|
-
*/
|
|
29
|
-
export interface FieldDescriptionProps extends React.ComponentProps<typeof Text> {
|
|
30
|
-
}
|
|
31
|
-
declare const FieldDescription: React.ForwardRefExoticComponent<Omit<FieldDescriptionProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
32
|
-
/**
|
|
33
|
-
* Field Error Component
|
|
34
|
-
* Error message displayed below the control
|
|
35
|
-
*/
|
|
36
|
-
export interface FieldErrorProps extends React.ComponentProps<typeof Text> {
|
|
37
|
-
}
|
|
38
|
-
declare const FieldError: React.ForwardRefExoticComponent<Omit<FieldErrorProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
39
|
-
declare const FieldRoot: typeof Field & {
|
|
40
|
-
Label: typeof FieldLabel;
|
|
41
|
-
Control: typeof FieldControl;
|
|
42
|
-
Description: typeof FieldDescription;
|
|
43
|
-
Error: typeof FieldError;
|
|
44
|
-
};
|
|
45
|
-
export { FieldRoot as Field };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const headingVariants: (props?: ({
|
|
4
|
-
level?: 1 | 2 | 4 | 6 | 3 | 5 | 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 HeadingProps extends React.HTMLAttributes<HTMLHeadingElement>, VariantProps<typeof headingVariants> {
|
|
9
|
-
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
10
|
-
}
|
|
11
|
-
declare const Heading: React.ForwardRefExoticComponent<HeadingProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
12
|
-
export { Heading, headingVariants };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
declare const labelVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
5
|
-
export interface LabelProps extends React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root>, VariantProps<typeof labelVariants> {
|
|
6
|
-
/**
|
|
7
|
-
* Whether the field is required (shows asterisk)
|
|
8
|
-
*/
|
|
9
|
-
required?: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
|
|
12
|
-
export { Label, labelVariants };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const leadVariants: (props?: ({
|
|
4
|
-
size?: "lg" | "xl" | null | undefined;
|
|
5
|
-
muted?: boolean | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
export interface LeadProps extends React.HTMLAttributes<HTMLParagraphElement>, VariantProps<typeof leadVariants> {
|
|
8
|
-
as?: "p" | "span" | "div";
|
|
9
|
-
}
|
|
10
|
-
declare const Lead: React.ForwardRefExoticComponent<LeadProps & React.RefAttributes<HTMLElement>>;
|
|
11
|
-
export { Lead, leadVariants };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const textVariants: (props?: ({
|
|
4
|
-
size?: "sm" | "md" | "lg" | "xl" | "xs" | null | undefined;
|
|
5
|
-
weight?: "normal" | "medium" | "semibold" | "bold" | null | undefined;
|
|
6
|
-
muted?: boolean | null | undefined;
|
|
7
|
-
variant?: "primary" | "secondary" | "muted" | "accent" | "destructive" | "outline" | "ghost" | "link" | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
-
export interface TextProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof textVariants> {
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Use muted prop or semantic text colors instead
|
|
12
|
-
*/
|
|
13
|
-
variant?: "primary" | "secondary" | "accent" | "outline" | "ghost" | "link" | "destructive" | "muted";
|
|
14
|
-
}
|
|
15
|
-
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLSpanElement>>;
|
|
16
|
-
export type TextSize = VariantProps<typeof textVariants>["size"];
|
|
17
|
-
export type TextWeight = VariantProps<typeof textVariants>["weight"];
|
|
18
|
-
export { Text, textVariants };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as ToastPrimitives from "@radix-ui/react-toast";
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
|
|
5
|
-
declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
|
|
6
|
-
declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
|
|
7
|
-
variant?: "destructive" | "default" | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLLIElement>>;
|
|
9
|
-
declare const ToastAction: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
declare const ToastClose: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastCloseProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
declare const ToastTitle: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastTitleProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
declare const ToastDescription: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastDescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
-
type ToastProps = React.ComponentPropsWithoutRef<typeof Toast>;
|
|
14
|
-
type ToastActionElement = React.ReactElement<typeof ToastAction>;
|
|
15
|
-
export { Toast, ToastAction, type ToastActionElement, ToastClose, ToastDescription, type ToastProps, ToastProvider, ToastTitle, ToastViewport, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function Toaster(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as TooltipPrimitive from "@radix-ui/react-tooltip";
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
|
|
4
|
-
declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
|
|
5
|
-
declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
declare const TooltipContent: React.ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
package/dist/dark-Cvoy1uFT.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
const e = {
|
|
3
|
-
name: "dark",
|
|
4
|
-
description: "Enhanced dark theme with deeper surfaces and higher contrast",
|
|
5
|
-
// Override surface colors for night mode - darker backgrounds
|
|
6
|
-
surfaceColorsNight: {
|
|
7
|
-
base: "240 10% 2%",
|
|
8
|
-
// Even darker base (#050508)
|
|
9
|
-
elevated1: "240 10% 3%",
|
|
10
|
-
// #08080a
|
|
11
|
-
elevated2: "240 10% 4%",
|
|
12
|
-
// #0a0a0c
|
|
13
|
-
elevated3: "240 10% 5%",
|
|
14
|
-
// #0c0c0e
|
|
15
|
-
overlay: "0 0% 0% / 0.85",
|
|
16
|
-
// Darker overlay for better contrast
|
|
17
|
-
glass: "240 10% 5% / 0.95"
|
|
18
|
-
// More opaque glass effect
|
|
19
|
-
},
|
|
20
|
-
// Override base colors for night mode - deeper backgrounds
|
|
21
|
-
baseColorsNight: {
|
|
22
|
-
background: "240 10% 2%",
|
|
23
|
-
// Match surface base
|
|
24
|
-
card: "240 10% 2%",
|
|
25
|
-
popover: "240 10% 3%"
|
|
26
|
-
}
|
|
27
|
-
};
|
|
28
|
-
export {
|
|
29
|
-
e as darkTheme
|
|
30
|
-
};
|
package/dist/dark-OOhiqt1q.cjs
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={name:"dark",description:"Enhanced dark theme with deeper surfaces and higher contrast",surfaceColorsNight:{base:"240 10% 2%",elevated1:"240 10% 3%",elevated2:"240 10% 4%",elevated3:"240 10% 5%",overlay:"0 0% 0% / 0.85",glass:"240 10% 5% / 0.95"},baseColorsNight:{background:"240 10% 2%",card:"240 10% 2%",popover:"240 10% 3%"}};exports.darkTheme=e;
|
package/dist/default-BKgH1D9-.js
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ToastActionElement, ToastProps } from '../components/ui/toast';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
type ToasterToast = ToastProps & {
|
|
4
|
-
id: string;
|
|
5
|
-
title?: React.ReactNode;
|
|
6
|
-
description?: React.ReactNode;
|
|
7
|
-
action?: ToastActionElement;
|
|
8
|
-
};
|
|
9
|
-
declare const _actionTypes: {
|
|
10
|
-
readonly ADD_TOAST: "ADD_TOAST";
|
|
11
|
-
readonly UPDATE_TOAST: "UPDATE_TOAST";
|
|
12
|
-
readonly DISMISS_TOAST: "DISMISS_TOAST";
|
|
13
|
-
readonly REMOVE_TOAST: "REMOVE_TOAST";
|
|
14
|
-
};
|
|
15
|
-
type ActionType = typeof _actionTypes;
|
|
16
|
-
type Action = {
|
|
17
|
-
type: ActionType["ADD_TOAST"];
|
|
18
|
-
toast: ToasterToast;
|
|
19
|
-
} | {
|
|
20
|
-
type: ActionType["UPDATE_TOAST"];
|
|
21
|
-
toast: Partial<ToasterToast>;
|
|
22
|
-
} | {
|
|
23
|
-
type: ActionType["DISMISS_TOAST"];
|
|
24
|
-
toastId?: ToasterToast["id"];
|
|
25
|
-
} | {
|
|
26
|
-
type: ActionType["REMOVE_TOAST"];
|
|
27
|
-
toastId?: ToasterToast["id"];
|
|
28
|
-
};
|
|
29
|
-
interface State {
|
|
30
|
-
toasts: ToasterToast[];
|
|
31
|
-
}
|
|
32
|
-
export declare const reducer: (state: State, action: Action) => State;
|
|
33
|
-
type Toast = Omit<ToasterToast, "id">;
|
|
34
|
-
declare function toast({ ...props }: Toast): {
|
|
35
|
-
id: string;
|
|
36
|
-
dismiss: () => void;
|
|
37
|
-
update: (props: ToasterToast) => void;
|
|
38
|
-
};
|
|
39
|
-
declare function useToast(): {
|
|
40
|
-
toast: typeof toast;
|
|
41
|
-
dismiss: (toastId?: string) => void;
|
|
42
|
-
toasts: ToasterToast[];
|
|
43
|
-
};
|
|
44
|
-
export { toast, useToast };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom hook to debounce a value
|
|
3
|
-
*
|
|
4
|
-
* @param value - The value to debounce
|
|
5
|
-
* @param delay - The delay in milliseconds
|
|
6
|
-
* @returns The debounced value
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* ```tsx
|
|
10
|
-
* const [searchTerm, setSearchTerm] = useState("");
|
|
11
|
-
* const debouncedSearchTerm = useDebounce(searchTerm, 300);
|
|
12
|
-
*
|
|
13
|
-
* useEffect(() => {
|
|
14
|
-
* // This will only run after searchTerm hasn't changed for 300ms
|
|
15
|
-
* performSearch(debouncedSearchTerm);
|
|
16
|
-
* }, [debouncedSearchTerm]);
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare function useDebounce<T>(value: T, delay: number): T;
|
package/dist/hooks/useModal.d.ts
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export interface ModalState {
|
|
2
|
-
isOpen: boolean;
|
|
3
|
-
data?: unknown;
|
|
4
|
-
}
|
|
5
|
-
export interface UseModalReturn {
|
|
6
|
-
isOpen: boolean;
|
|
7
|
-
data: unknown;
|
|
8
|
-
open: (data?: unknown) => void;
|
|
9
|
-
close: () => void;
|
|
10
|
-
toggle: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare function useModal(initialState?: boolean): UseModalReturn;
|
|
13
|
-
export declare function useModalManager(): {
|
|
14
|
-
openModal: (modalId: string, data?: unknown) => void;
|
|
15
|
-
closeModal: (modalId: string) => void;
|
|
16
|
-
toggleModal: (modalId: string) => void;
|
|
17
|
-
isModalOpen: (modalId: string) => boolean;
|
|
18
|
-
getModalData: (modalId: string) => unknown;
|
|
19
|
-
};
|
package/dist/hooks/useToast.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export type ToastType = "success" | "error" | "warning" | "info";
|
|
2
|
-
export interface Toast {
|
|
3
|
-
id: string;
|
|
4
|
-
type: ToastType;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
duration?: number;
|
|
8
|
-
action?: {
|
|
9
|
-
label: string;
|
|
10
|
-
onClick: () => void;
|
|
11
|
-
};
|
|
12
|
-
}
|
|
13
|
-
export interface UseToastReturn {
|
|
14
|
-
toasts: Toast[];
|
|
15
|
-
toast: (toast: Omit<Toast, "id">) => string;
|
|
16
|
-
dismiss: (toastId: string) => void;
|
|
17
|
-
dismissAll: () => void;
|
|
18
|
-
}
|
|
19
|
-
export declare function useToast(): UseToastReturn;
|
|
20
|
-
export declare function useToastManager(): {
|
|
21
|
-
toasts: Toast[];
|
|
22
|
-
toast: (toastData: Omit<Toast, "id">) => string;
|
|
23
|
-
dismiss: (toastId: string) => void;
|
|
24
|
-
dismissAll: () => void;
|
|
25
|
-
updateToast: (toastId: string, updates: Partial<Toast>) => void;
|
|
26
|
-
};
|
package/dist/icons/IconInfo.d.ts
DELETED
package/dist/icons/IconMenu.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Icon Props Interface
|
|
3
|
-
*
|
|
4
|
-
* Shared props interface for all icon components.
|
|
5
|
-
* Ensures consistent API across all icons in the registry.
|
|
6
|
-
*/
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
/**
|
|
9
|
-
* Base props for all icon components
|
|
10
|
-
*/
|
|
11
|
-
export interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
12
|
-
/**
|
|
13
|
-
* Additional CSS classes
|
|
14
|
-
*/
|
|
15
|
-
className?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Hide icon from screen readers
|
|
18
|
-
* @default true
|
|
19
|
-
*/
|
|
20
|
-
"aria-hidden"?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Accessible label for the icon
|
|
23
|
-
*/
|
|
24
|
-
"aria-label"?: string;
|
|
25
|
-
}
|
package/dist/icons/index.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { IconProps } from './icon.types';
|
|
2
|
-
/**
|
|
3
|
-
* Icon Registry
|
|
4
|
-
*
|
|
5
|
-
* Central registry for all icon components.
|
|
6
|
-
* Supports tree-shaking through individual named exports.
|
|
7
|
-
*/
|
|
8
|
-
import * as React from "react";
|
|
9
|
-
export { IconArrowRight } from './IconArrowRight';
|
|
10
|
-
export { IconCalendar } from './IconCalendar';
|
|
11
|
-
export { IconCheck } from './IconCheck';
|
|
12
|
-
export { IconChevronDown } from './IconChevronDown';
|
|
13
|
-
export { IconChevronRight } from './IconChevronRight';
|
|
14
|
-
export { IconClose } from './IconClose';
|
|
15
|
-
export { IconError } from './IconError';
|
|
16
|
-
export { IconInfo } from './IconInfo';
|
|
17
|
-
export { IconLocation } from './IconLocation';
|
|
18
|
-
export { IconMenu } from './IconMenu';
|
|
19
|
-
export { IconSearch } from './IconSearch';
|
|
20
|
-
export { IconSuccess } from './IconSuccess';
|
|
21
|
-
export { IconWarning } from './IconWarning';
|
|
22
|
-
/**
|
|
23
|
-
* Icons map for registry lookup
|
|
24
|
-
* Used by Icon component to resolve icon by name
|
|
25
|
-
*/
|
|
26
|
-
export declare const ICONS_MAP: Record<string, React.FC<IconProps>>;
|
|
27
|
-
/**
|
|
28
|
-
* Icon name type - union of all available icon names
|
|
29
|
-
*/
|
|
30
|
-
export type IconName = keyof typeof ICONS_MAP;
|
|
31
|
-
/**
|
|
32
|
-
* Re-export IconProps for convenience
|
|
33
|
-
*/
|
|
34
|
-
export type { IconProps } from './icon.types';
|
package/dist/lib/a11y.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shared accessibility helpers.
|
|
3
|
-
*
|
|
4
|
-
* Centralizing focus ring styles keeps our keyboard indicators consistent
|
|
5
|
-
* and ensures they inherit the tokenized ring + background colors.
|
|
6
|
-
*/
|
|
7
|
-
export declare const focusRing = "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background transition-shadow";
|
|
8
|
-
/**
|
|
9
|
-
* Utility to combine default button props with common accessibility attributes.
|
|
10
|
-
* Currently used for pagination/toolbar buttons to keep aria-* annotations consistent.
|
|
11
|
-
*/
|
|
12
|
-
export declare const interactiveButtonBase: {
|
|
13
|
-
type: "button";
|
|
14
|
-
role: "button";
|
|
15
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Responsive Props Utilities
|
|
3
|
-
*
|
|
4
|
-
* Utilities for handling responsive values in layout primitives.
|
|
5
|
-
* Supports CSS custom properties with media queries for efficient responsive styling.
|
|
6
|
-
*/
|
|
7
|
-
/**
|
|
8
|
-
* Breakpoint values matching Tailwind defaults
|
|
9
|
-
*/
|
|
10
|
-
export declare const breakpoints: {
|
|
11
|
-
readonly sm: "640px";
|
|
12
|
-
readonly md: "768px";
|
|
13
|
-
readonly lg: "1024px";
|
|
14
|
-
readonly xl: "1280px";
|
|
15
|
-
readonly "2xl": "1536px";
|
|
16
|
-
};
|
|
17
|
-
export type Breakpoint = keyof typeof breakpoints;
|
|
18
|
-
/**
|
|
19
|
-
* Responsive value type - can be a single value or an object with breakpoint keys
|
|
20
|
-
*/
|
|
21
|
-
export type ResponsiveValue<T> = T | {
|
|
22
|
-
base?: T;
|
|
23
|
-
sm?: T;
|
|
24
|
-
md?: T;
|
|
25
|
-
lg?: T;
|
|
26
|
-
xl?: T;
|
|
27
|
-
"2xl"?: T;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Check if a value is a responsive object
|
|
31
|
-
*/
|
|
32
|
-
export declare function isResponsiveValue<T>(value: ResponsiveValue<T>): value is Exclude<ResponsiveValue<T>, T>;
|
|
33
|
-
/**
|
|
34
|
-
* Get base value from responsive value
|
|
35
|
-
*/
|
|
36
|
-
export declare function getBaseValue<T>(value: ResponsiveValue<T> | undefined): T | undefined;
|
|
37
|
-
/**
|
|
38
|
-
* Convert spacing token key to CSS variable name
|
|
39
|
-
*/
|
|
40
|
-
export declare function getSpacingCSSVar(key: string | number): string;
|
|
41
|
-
/**
|
|
42
|
-
* Convert radius token key to CSS variable name
|
|
43
|
-
*/
|
|
44
|
-
export declare function getRadiusCSSVar(key: string): string;
|
|
45
|
-
/**
|
|
46
|
-
* Convert color token key to CSS variable name
|
|
47
|
-
*/
|
|
48
|
-
export declare function getColorCSSVar(key: string): string;
|
|
49
|
-
/**
|
|
50
|
-
* Generate CSS custom properties for responsive values
|
|
51
|
-
* Returns an object with CSS variables that can be used in inline styles
|
|
52
|
-
*/
|
|
53
|
-
export declare function getResponsiveCSSVars<T>(propName: string, value: ResponsiveValue<T>, tokenMapper: (val: T) => string): Record<string, string>;
|
|
54
|
-
/**
|
|
55
|
-
* Generate inline styles for responsive CSS properties
|
|
56
|
-
* Uses CSS custom properties with media queries approach
|
|
57
|
-
*/
|
|
58
|
-
export declare function getResponsiveStyles<T>(propName: string, value: ResponsiveValue<T>, tokenMapper: (val: T) => string, cssProperty: string): React.CSSProperties;
|
|
59
|
-
/**
|
|
60
|
-
* Generate className for responsive spacing
|
|
61
|
-
* Uses Tailwind's responsive classes when possible, falls back to CSS variables
|
|
62
|
-
*/
|
|
63
|
-
export declare function getResponsiveSpacingClass(prop: string, value: ResponsiveValue<string | number>): string;
|
package/dist/lib/utils.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ClassValue } from 'clsx';
|
|
2
|
-
export declare function cn(...inputs: ClassValue[]): string;
|
|
3
|
-
export declare function formatDate(date: Date | string | number): string;
|
|
4
|
-
export declare function formatTime(date: Date | string | number): string;
|
|
5
|
-
export declare function formatDateTime(date: Date | string | number): string;
|
|
6
|
-
export declare function generateId(): string;
|
|
7
|
-
export declare function debounce<T extends (...args: any[]) => any>(func: T, wait: number): (...args: Parameters<T>) => void;
|
|
8
|
-
export declare function throttle<T extends (...args: any[]) => any>(func: T, limit: number): (...args: Parameters<T>) => void;
|