@work-rjkashyap/unified-ui 0.1.0

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.
Files changed (60) hide show
  1. package/CHANGELOG.md +152 -0
  2. package/README.md +365 -0
  3. package/dist/chunk-2JFREULQ.cjs +29 -0
  4. package/dist/chunk-2RGLRX6K.cjs +279 -0
  5. package/dist/chunk-3HHJAYQI.cjs +469 -0
  6. package/dist/chunk-5S5DMH5G.cjs +5983 -0
  7. package/dist/chunk-BIW2RPDU.cjs +73 -0
  8. package/dist/chunk-CWETOWRM.mjs +456 -0
  9. package/dist/chunk-ECIGDEAH.cjs +140 -0
  10. package/dist/chunk-EO4WROWH.mjs +432 -0
  11. package/dist/chunk-EZ2L3XPS.mjs +83 -0
  12. package/dist/chunk-I74E52C5.mjs +271 -0
  13. package/dist/chunk-ITBG42M5.mjs +133 -0
  14. package/dist/chunk-IWJ5VMZ7.mjs +323 -0
  15. package/dist/chunk-KHON2AEM.cjs +342 -0
  16. package/dist/chunk-LSNKPQP7.cjs +58 -0
  17. package/dist/chunk-M2LNQWOB.mjs +63 -0
  18. package/dist/chunk-NMPHV6ZD.mjs +27 -0
  19. package/dist/chunk-QXR4VY7Q.cjs +268 -0
  20. package/dist/chunk-SSGN5QDC.mjs +248 -0
  21. package/dist/chunk-X2WCY4VB.mjs +5836 -0
  22. package/dist/chunk-XCKK6P46.cjs +91 -0
  23. package/dist/chunk-ZBN26FLO.mjs +46 -0
  24. package/dist/chunk-ZPIPKY2J.cjs +478 -0
  25. package/dist/components.cjs +477 -0
  26. package/dist/components.d.cts +3077 -0
  27. package/dist/components.d.ts +3077 -0
  28. package/dist/components.mjs +4 -0
  29. package/dist/index.cjs +1027 -0
  30. package/dist/index.d.cts +30 -0
  31. package/dist/index.d.ts +30 -0
  32. package/dist/index.mjs +17 -0
  33. package/dist/motion-D9wQbcKL.d.cts +80 -0
  34. package/dist/motion-D9wQbcKL.d.ts +80 -0
  35. package/dist/motion.cjs +216 -0
  36. package/dist/motion.d.cts +104 -0
  37. package/dist/motion.d.ts +104 -0
  38. package/dist/motion.mjs +3 -0
  39. package/dist/primitives.cjs +57 -0
  40. package/dist/primitives.d.cts +390 -0
  41. package/dist/primitives.d.ts +390 -0
  42. package/dist/primitives.mjs +4 -0
  43. package/dist/theme.cjs +38 -0
  44. package/dist/theme.d.cts +117 -0
  45. package/dist/theme.d.ts +117 -0
  46. package/dist/theme.mjs +5 -0
  47. package/dist/tokens.cjs +137 -0
  48. package/dist/tokens.d.cts +30 -0
  49. package/dist/tokens.d.ts +30 -0
  50. package/dist/tokens.mjs +4 -0
  51. package/dist/typography-DlvVjEdE.d.cts +146 -0
  52. package/dist/typography-DlvVjEdE.d.ts +146 -0
  53. package/dist/utils.cjs +164 -0
  54. package/dist/utils.d.cts +521 -0
  55. package/dist/utils.d.ts +521 -0
  56. package/dist/utils.mjs +3 -0
  57. package/dist/z-index-B_nTQ3qo.d.cts +422 -0
  58. package/dist/z-index-B_nTQ3qo.d.ts +422 -0
  59. package/package.json +183 -0
  60. package/styles.css +500 -0
@@ -0,0 +1,30 @@
1
+ export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionMultipleProps, AccordionProps, AccordionSingleProps, AccordionSize, AccordionTrigger, AccordionTriggerProps, AccordionVariant, Alert, AlertProps, AlertVariant, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, AvatarShape, AvatarSize, AvatarStatus, Badge, BadgeProps, BadgeSize, BadgeVariant, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbNav, BreadcrumbNavItem, BreadcrumbNavProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps, Button, ButtonProps, ButtonSize, ButtonVariant, Card, CardBody, CardBodyProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardVariant, Checkbox, CheckboxGroup, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, CheckboxSize, Dialog, DialogBody, DialogBodyProps, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogSize, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuItemVariant, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Input, InputProps, InputSize, InputVariant, Pagination, PaginationProps, PaginationSize, PaginationVariant, Popover, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverContentProps, PopoverProps, PopoverTrigger, PopoverTriggerProps, RadioCard, RadioCardProps, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps, RadioOrientation, RadioSize, Select, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectSeparator, SelectSeparatorProps, SelectSize, SelectVariant, Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetSide, SheetSize, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps, Skeleton, SkeletonCircle, SkeletonCircleProps, SkeletonProps, SkeletonRect, SkeletonRectProps, SkeletonSize, SkeletonText, SkeletonTextProps, SkeletonTextSize, Switch, SwitchLabelPosition, SwitchProps, SwitchSize, Table, TableAlign, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableDensity, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, TableSortDirection, Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsOrientation, TabsProps, TabsSize, TabsTrigger, TabsTriggerProps, TabsVariant, Textarea, TextareaProps, TextareaSize, TextareaVariant, ToastAPI, ToastAction, ToastData, ToastItem, ToastItemProps, ToastOptions, ToastPosition, ToastProvider, ToastProviderProps, ToastVariant, Tooltip, TooltipAlign, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipSide, accordionRootVariants, accordionTriggerVariants, alertVariants, avatarVariants, badgeVariants, buttonVariants, cardVariants, checkboxVariants, dialogContentVariants, inputVariants, paginationButtonVariants, radioCardVariants, radioGroupVariants, radioIndicatorVariants, selectTriggerVariants, sheetContentVariants, skeletonVariants, switchThumbVariants, switchTrackVariants, tableRootVariants, tabsListVariants, tabsTriggerVariants, textareaVariants, toastVariants, useCheckboxGroupContext, useToast } from './components.cjs';
2
+ export { D as Duration, E as Easing, S as Spring, a as Stagger, d as duration, b as durationCSS, c as durationSeconds, e as easing, f as easingCSS, s as spring, g as stagger } from './motion-D9wQbcKL.cjs';
3
+ export { MotionPreset, MotionPropsResult, MotionSafe, MotionSafeProps, SpringConfig, blurIn, blurInSubtle, expandHeight, expandHeightSlow, fadeIn, fadeInFast, fadeInSlow, hoverLift, hoverScale, modalContent, modalContentSpring, motionProps, overlayBackdrop, pop, popSubtle, press, pulse, reduceMotion, scaleIn, scaleInLg, scaleInSpring, slideDown, slideDownSm, slideInFromBottom, slideInFromLeft, slideInFromRight, slideLeft, slideRight, slideUp, slideUpLg, slideUpSm, slideUpSpring, spin, staggerContainer, staggerContainerFast, staggerContainerSlow, tapScale, toastSlideIn, toastSlideUp, useMotion, useMotionProps, useMotionSpringConfig, useReducedMotion, withReducedMotion } from './motion.cjs';
4
+ export { Body, BodyProps, Caption, CaptionProps, Container, ContainerPadding, ContainerProps, ContainerSize, Divider, DividerProps, Grid, GridProps, Heading, HeadingComponentProps, HeadingProps, InlineCode, InlineCodeProps, Label, LabelProps, Overline, OverlineProps, Stack, StackAlign, StackDirection, StackJustify, StackProps, Subheading, SubheadingProps, Typography, TypographyAlign, TypographyColor, TypographyFont, TypographyOwnProps, TypographyProps, TypographyVariant } from './primitives.cjs';
5
+ export { ColorVarName, DSThemeContextValue, DSThemeProvider, DSThemeProviderProps, DurationVarName, EasingVarName, FontFamilyVarName, RadiusVarName, ResolvedTheme, ShadowVarName, ThemeMode, ThemeVars, ZIndexVarName, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, contract, cssVar, useDSTheme } from './theme.cjs';
6
+ export { C as ColorScale, R as Radius, a as RadiusValue, S as SemanticColorKey, b as SemanticColors, c as Shadow, d as ShadowValue, Z as ZIndex, e as ZIndexValue, f as amber, g as blue, h as brand, i as gray, j as green, n as neutral, p as palettes, k as pure, r as radius, l as red, s as semanticDark, m as semanticLight, o as shadow, q as shadowDark, t as slate, u as teal, z as zIndex, v as zinc } from './z-index-B_nTQ3qo.cjs';
7
+ export { spacing } from './tokens.cjs';
8
+ export { F as FontFamily, a as FontFamilyKey, b as FontSize, c as FontWeight, L as LetterSpacing, d as LineHeight, T as TypographyPreset, e as TypographyVariantToken, f as fontFamily, g as fontSize, h as fontWeight, l as letterSpacing, i as lineHeight, t as typographyVariants } from './typography-DlvVjEdE.cjs';
9
+ export { AsProp, AuditResult, ChildrenProps, ColorPair, ComponentIntent, ComponentSize, ContrastResult, DS_DARK_CRITICAL_PAIRS, DS_LIGHT_CRITICAL_PAIRS, FocusRingVariant, OptionalChildrenProps, PolymorphicProps, PolymorphicPropsWithRef, PolymorphicRef, RGB, SlotClasses, SlotConfig, Slots, TextSize, WCAG_AAA_LARGE, WCAG_AAA_NORMAL, WCAG_AA_LARGE, WCAG_AA_NORMAL, WCAG_NON_TEXT_AA, auditContrast, checkDSContrast, checkHexContrast, cn, composeRefs, contrastRatio, dsAttr, dsColorVar, dsDataAttrs, dsStateAttr, dsVar, focusRingClassList, focusRingClasses, focusRingCompactClassList, focusRingCompactClasses, focusRingGroupRingClasses, focusRingGroupTriggerClasses, focusRingInsetClassList, focusRingInsetClasses, focusRingVariantOverrides, focusWithinRingClassList, focusWithinRingClasses, meetsAA, meetsAAA, meetsNonTextAA, mergeSlots, noop, parseHex, parseRGBString, relativeLuminance, toRGBString, typedKeys } from './utils.cjs';
10
+ import 'react';
11
+ import 'class-variance-authority/types';
12
+ import '@radix-ui/react-accordion';
13
+ import 'class-variance-authority';
14
+ import 'react/jsx-runtime';
15
+ import '@radix-ui/react-checkbox';
16
+ import '@radix-ui/react-dialog';
17
+ import '@radix-ui/react-dropdown-menu';
18
+ import '@radix-ui/react-popover';
19
+ import '@radix-ui/react-radio-group';
20
+ import '@radix-ui/react-select';
21
+ import '@radix-ui/react-switch';
22
+ import '@radix-ui/react-tabs';
23
+ import '@radix-ui/react-tooltip';
24
+ import 'framer-motion';
25
+ import 'clsx';
26
+
27
+ /** Current version of the Unified UI design system. */
28
+ declare const UNIFIED_UI_VERSION: "0.1.0";
29
+
30
+ export { UNIFIED_UI_VERSION };
@@ -0,0 +1,30 @@
1
+ export { Accordion, AccordionContent, AccordionContentProps, AccordionItem, AccordionItemProps, AccordionMultipleProps, AccordionProps, AccordionSingleProps, AccordionSize, AccordionTrigger, AccordionTriggerProps, AccordionVariant, Alert, AlertProps, AlertVariant, Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, AvatarShape, AvatarSize, AvatarStatus, Badge, BadgeProps, BadgeSize, BadgeVariant, Breadcrumb, BreadcrumbEllipsis, BreadcrumbEllipsisProps, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbLink, BreadcrumbLinkProps, BreadcrumbList, BreadcrumbListProps, BreadcrumbNav, BreadcrumbNavItem, BreadcrumbNavProps, BreadcrumbPage, BreadcrumbPageProps, BreadcrumbProps, BreadcrumbSeparator, BreadcrumbSeparatorProps, Button, ButtonProps, ButtonSize, ButtonVariant, Card, CardBody, CardBodyProps, CardFooter, CardFooterProps, CardHeader, CardHeaderProps, CardProps, CardVariant, Checkbox, CheckboxGroup, CheckboxGroupOrientation, CheckboxGroupProps, CheckboxProps, CheckboxSize, Dialog, DialogBody, DialogBodyProps, DialogClose, DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogDescriptionProps, DialogFooter, DialogFooterProps, DialogHeader, DialogHeaderProps, DialogProps, DialogSize, DialogTitle, DialogTitleProps, DialogTrigger, DialogTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuContentProps, DropdownMenuGroup, DropdownMenuGroupProps, DropdownMenuItem, DropdownMenuItemProps, DropdownMenuItemVariant, DropdownMenuLabel, DropdownMenuLabelProps, DropdownMenuProps, DropdownMenuRadioGroup, DropdownMenuRadioGroupProps, DropdownMenuRadioItem, DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuSeparatorProps, DropdownMenuShortcut, DropdownMenuShortcutProps, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubContentProps, DropdownMenuSubProps, DropdownMenuSubTrigger, DropdownMenuSubTriggerProps, DropdownMenuTrigger, DropdownMenuTriggerProps, Input, InputProps, InputSize, InputVariant, Pagination, PaginationProps, PaginationSize, PaginationVariant, Popover, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseProps, PopoverContent, PopoverContentProps, PopoverProps, PopoverTrigger, PopoverTriggerProps, RadioCard, RadioCardProps, RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupProps, RadioOrientation, RadioSize, Select, SelectGroup, SelectGroupProps, SelectItem, SelectItemProps, SelectLabel, SelectLabelProps, SelectProps, SelectSeparator, SelectSeparatorProps, SelectSize, SelectVariant, Sheet, SheetClose, SheetCloseProps, SheetContent, SheetContentProps, SheetDescription, SheetDescriptionProps, SheetFooter, SheetFooterProps, SheetHeader, SheetHeaderProps, SheetProps, SheetSide, SheetSize, SheetTitle, SheetTitleProps, SheetTrigger, SheetTriggerProps, Skeleton, SkeletonCircle, SkeletonCircleProps, SkeletonProps, SkeletonRect, SkeletonRectProps, SkeletonSize, SkeletonText, SkeletonTextProps, SkeletonTextSize, Switch, SwitchLabelPosition, SwitchProps, SwitchSize, Table, TableAlign, TableBody, TableBodyProps, TableCaption, TableCaptionProps, TableCell, TableCellProps, TableDensity, TableFooter, TableFooterProps, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, TableSortDirection, Tabs, TabsContent, TabsContentProps, TabsList, TabsListProps, TabsOrientation, TabsProps, TabsSize, TabsTrigger, TabsTriggerProps, TabsVariant, Textarea, TextareaProps, TextareaSize, TextareaVariant, ToastAPI, ToastAction, ToastData, ToastItem, ToastItemProps, ToastOptions, ToastPosition, ToastProvider, ToastProviderProps, ToastVariant, Tooltip, TooltipAlign, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipSide, accordionRootVariants, accordionTriggerVariants, alertVariants, avatarVariants, badgeVariants, buttonVariants, cardVariants, checkboxVariants, dialogContentVariants, inputVariants, paginationButtonVariants, radioCardVariants, radioGroupVariants, radioIndicatorVariants, selectTriggerVariants, sheetContentVariants, skeletonVariants, switchThumbVariants, switchTrackVariants, tableRootVariants, tabsListVariants, tabsTriggerVariants, textareaVariants, toastVariants, useCheckboxGroupContext, useToast } from './components.js';
2
+ export { D as Duration, E as Easing, S as Spring, a as Stagger, d as duration, b as durationCSS, c as durationSeconds, e as easing, f as easingCSS, s as spring, g as stagger } from './motion-D9wQbcKL.js';
3
+ export { MotionPreset, MotionPropsResult, MotionSafe, MotionSafeProps, SpringConfig, blurIn, blurInSubtle, expandHeight, expandHeightSlow, fadeIn, fadeInFast, fadeInSlow, hoverLift, hoverScale, modalContent, modalContentSpring, motionProps, overlayBackdrop, pop, popSubtle, press, pulse, reduceMotion, scaleIn, scaleInLg, scaleInSpring, slideDown, slideDownSm, slideInFromBottom, slideInFromLeft, slideInFromRight, slideLeft, slideRight, slideUp, slideUpLg, slideUpSm, slideUpSpring, spin, staggerContainer, staggerContainerFast, staggerContainerSlow, tapScale, toastSlideIn, toastSlideUp, useMotion, useMotionProps, useMotionSpringConfig, useReducedMotion, withReducedMotion } from './motion.js';
4
+ export { Body, BodyProps, Caption, CaptionProps, Container, ContainerPadding, ContainerProps, ContainerSize, Divider, DividerProps, Grid, GridProps, Heading, HeadingComponentProps, HeadingProps, InlineCode, InlineCodeProps, Label, LabelProps, Overline, OverlineProps, Stack, StackAlign, StackDirection, StackJustify, StackProps, Subheading, SubheadingProps, Typography, TypographyAlign, TypographyColor, TypographyFont, TypographyOwnProps, TypographyProps, TypographyVariant } from './primitives.js';
5
+ export { ColorVarName, DSThemeContextValue, DSThemeProvider, DSThemeProviderProps, DurationVarName, EasingVarName, FontFamilyVarName, RadiusVarName, ResolvedTheme, ShadowVarName, ThemeMode, ThemeVars, ZIndexVarName, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, contract, cssVar, useDSTheme } from './theme.js';
6
+ export { C as ColorScale, R as Radius, a as RadiusValue, S as SemanticColorKey, b as SemanticColors, c as Shadow, d as ShadowValue, Z as ZIndex, e as ZIndexValue, f as amber, g as blue, h as brand, i as gray, j as green, n as neutral, p as palettes, k as pure, r as radius, l as red, s as semanticDark, m as semanticLight, o as shadow, q as shadowDark, t as slate, u as teal, z as zIndex, v as zinc } from './z-index-B_nTQ3qo.js';
7
+ export { spacing } from './tokens.js';
8
+ export { F as FontFamily, a as FontFamilyKey, b as FontSize, c as FontWeight, L as LetterSpacing, d as LineHeight, T as TypographyPreset, e as TypographyVariantToken, f as fontFamily, g as fontSize, h as fontWeight, l as letterSpacing, i as lineHeight, t as typographyVariants } from './typography-DlvVjEdE.js';
9
+ export { AsProp, AuditResult, ChildrenProps, ColorPair, ComponentIntent, ComponentSize, ContrastResult, DS_DARK_CRITICAL_PAIRS, DS_LIGHT_CRITICAL_PAIRS, FocusRingVariant, OptionalChildrenProps, PolymorphicProps, PolymorphicPropsWithRef, PolymorphicRef, RGB, SlotClasses, SlotConfig, Slots, TextSize, WCAG_AAA_LARGE, WCAG_AAA_NORMAL, WCAG_AA_LARGE, WCAG_AA_NORMAL, WCAG_NON_TEXT_AA, auditContrast, checkDSContrast, checkHexContrast, cn, composeRefs, contrastRatio, dsAttr, dsColorVar, dsDataAttrs, dsStateAttr, dsVar, focusRingClassList, focusRingClasses, focusRingCompactClassList, focusRingCompactClasses, focusRingGroupRingClasses, focusRingGroupTriggerClasses, focusRingInsetClassList, focusRingInsetClasses, focusRingVariantOverrides, focusWithinRingClassList, focusWithinRingClasses, meetsAA, meetsAAA, meetsNonTextAA, mergeSlots, noop, parseHex, parseRGBString, relativeLuminance, toRGBString, typedKeys } from './utils.js';
10
+ import 'react';
11
+ import 'class-variance-authority/types';
12
+ import '@radix-ui/react-accordion';
13
+ import 'class-variance-authority';
14
+ import 'react/jsx-runtime';
15
+ import '@radix-ui/react-checkbox';
16
+ import '@radix-ui/react-dialog';
17
+ import '@radix-ui/react-dropdown-menu';
18
+ import '@radix-ui/react-popover';
19
+ import '@radix-ui/react-radio-group';
20
+ import '@radix-ui/react-select';
21
+ import '@radix-ui/react-switch';
22
+ import '@radix-ui/react-tabs';
23
+ import '@radix-ui/react-tooltip';
24
+ import 'framer-motion';
25
+ import 'clsx';
26
+
27
+ /** Current version of the Unified UI design system. */
28
+ declare const UNIFIED_UI_VERSION: "0.1.0";
29
+
30
+ export { UNIFIED_UI_VERSION };
package/dist/index.mjs ADDED
@@ -0,0 +1,17 @@
1
+ "use client";
2
+ export { spacing } from './chunk-NMPHV6ZD.mjs';
3
+ export { DSThemeProvider, buildDarkThemeVars, buildLightThemeVars, buildThemeCSS, contract, cssVar, useDSTheme } from './chunk-I74E52C5.mjs';
4
+ export { amber, blue, brand, gray, green, neutral, palettes, pure, radius, red, semanticDark, semanticLight, shadow, shadowDark, slate, teal, zIndex, zinc } from './chunk-IWJ5VMZ7.mjs';
5
+ export { Body, Caption, Container, Divider, Grid, Heading, InlineCode, Label, Overline, Stack, Subheading, Typography } from './chunk-CWETOWRM.mjs';
6
+ export { fontFamily, fontSize, fontWeight, letterSpacing, lineHeight, typographyVariants } from './chunk-ITBG42M5.mjs';
7
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, Avatar, AvatarGroup, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbNav, BreadcrumbPage, BreadcrumbSeparator, Button, Card, CardBody, CardFooter, CardHeader, Checkbox, CheckboxGroup, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Input, Pagination, Popover, PopoverArrow, PopoverClose, PopoverContent, PopoverTrigger, RadioCard, RadioGroup, RadioGroupItem, Select, SelectGroup, SelectItem, SelectLabel, SelectSeparator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, Skeleton, SkeletonCircle, SkeletonRect, SkeletonText, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ToastItem, ToastProvider, Tooltip, TooltipProvider, accordionRootVariants, accordionTriggerVariants, alertVariants, avatarVariants, badgeVariants, buttonVariants, cardVariants, checkboxVariants, dialogContentVariants, inputVariants, paginationButtonVariants, radioCardVariants, radioGroupVariants, radioIndicatorVariants, selectTriggerVariants, sheetContentVariants, skeletonVariants, switchThumbVariants, switchTrackVariants, tableRootVariants, tabsListVariants, tabsTriggerVariants, textareaVariants, toastVariants, useCheckboxGroupContext, useToast } from './chunk-X2WCY4VB.mjs';
8
+ export { MotionSafe, blurIn, blurInSubtle, expandHeight, expandHeightSlow, fadeIn, fadeInFast, fadeInSlow, hoverLift, hoverScale, modalContent, modalContentSpring, motionProps, overlayBackdrop, pop, popSubtle, press, pulse, reduceMotion, scaleIn, scaleInLg, scaleInSpring, slideDown, slideDownSm, slideInFromBottom, slideInFromLeft, slideInFromRight, slideLeft, slideRight, slideUp, slideUpLg, slideUpSm, slideUpSpring, spin, staggerContainer, staggerContainerFast, staggerContainerSlow, tapScale, toastSlideIn, toastSlideUp, useMotion, useMotionProps, useMotionSpringConfig, useReducedMotion, withReducedMotion } from './chunk-EO4WROWH.mjs';
9
+ export { duration, durationCSS, durationSeconds, easing, easingCSS, spring, stagger } from './chunk-EZ2L3XPS.mjs';
10
+ export { DS_DARK_CRITICAL_PAIRS, DS_LIGHT_CRITICAL_PAIRS, WCAG_AAA_LARGE, WCAG_AAA_NORMAL, WCAG_AA_LARGE, WCAG_AA_NORMAL, WCAG_NON_TEXT_AA, auditContrast, checkDSContrast, checkHexContrast, contrastRatio, dsDataAttrs, meetsAA, meetsAAA, meetsNonTextAA, parseHex, parseRGBString, relativeLuminance, toRGBString } from './chunk-SSGN5QDC.mjs';
11
+ export { focusRingClassList, focusRingClasses, focusRingCompactClassList, focusRingCompactClasses, focusRingGroupRingClasses, focusRingGroupTriggerClasses, focusRingInsetClassList, focusRingInsetClasses, focusRingVariantOverrides, focusWithinRingClassList, focusWithinRingClasses } from './chunk-ZBN26FLO.mjs';
12
+ export { cn, composeRefs, dsAttr, dsColorVar, dsStateAttr, dsVar, mergeSlots, noop, typedKeys } from './chunk-M2LNQWOB.mjs';
13
+
14
+ // src/index.ts
15
+ var UNIFIED_UI_VERSION = "0.1.0";
16
+
17
+ export { UNIFIED_UI_VERSION };
@@ -0,0 +1,80 @@
1
+ declare const duration: {
2
+ /** Instant feedback — hover states, color changes */
3
+ readonly instant: 0;
4
+ /** Micro-interactions — focus rings, icon swaps */
5
+ readonly fast: 100;
6
+ /** Snappy transitions — tooltips, small toggles */
7
+ readonly moderate: 150;
8
+ /** Standard transitions — dropdowns, accordions, tabs */
9
+ readonly normal: 200;
10
+ /** Emphasis transitions — modals, drawers, slide-ins */
11
+ readonly slow: 300;
12
+ /** Complex orchestrated animations — page transitions */
13
+ readonly slower: 400;
14
+ /** Long-form animations — skeleton loaders, progress */
15
+ readonly slowest: 500;
16
+ };
17
+ /** CSS-ready duration strings (e.g. "200ms") */
18
+ declare const durationCSS: Record<keyof typeof duration, string>;
19
+ /** Framer Motion-ready duration values in seconds */
20
+ declare const durationSeconds: Record<keyof typeof duration, number>;
21
+ declare const easing: {
22
+ /** General-purpose — equal acceleration and deceleration */
23
+ readonly standard: readonly [0.2, 0, 0.38, 0.9];
24
+ /** Enter animations — element arriving on screen */
25
+ readonly decelerate: readonly [0, 0, 0.2, 1];
26
+ /** Exit animations — element leaving the screen */
27
+ readonly accelerate: readonly [0.4, 0, 1, 1];
28
+ /** Attention / emphasis — overshoots slightly for impact */
29
+ readonly emphasize: readonly [0, 0, 0.15, 1];
30
+ /** Constant rate — spinners, progress bars */
31
+ readonly linear: readonly [0, 0, 1, 1];
32
+ /** Spring-like snap — toggle switches, checkboxes */
33
+ readonly snap: readonly [0.2, 0, 0, 1];
34
+ };
35
+ /** CSS-ready cubic-bezier strings */
36
+ declare const easingCSS: Record<keyof typeof easing, string>;
37
+ declare const spring: {
38
+ /** Gentle — tooltips, small popovers */
39
+ readonly gentle: {
40
+ readonly type: "spring";
41
+ readonly stiffness: 150;
42
+ readonly damping: 20;
43
+ readonly mass: 1;
44
+ };
45
+ /** Snappy — buttons, toggles, micro-interactions */
46
+ readonly snappy: {
47
+ readonly type: "spring";
48
+ readonly stiffness: 300;
49
+ readonly damping: 25;
50
+ readonly mass: 0.8;
51
+ };
52
+ /** Bouncy — playful emphasis, celebrations */
53
+ readonly bouncy: {
54
+ readonly type: "spring";
55
+ readonly stiffness: 400;
56
+ readonly damping: 15;
57
+ readonly mass: 0.8;
58
+ };
59
+ /** Stiff — immediate, no overshoot (dialogs, drawers) */
60
+ readonly stiff: {
61
+ readonly type: "spring";
62
+ readonly stiffness: 500;
63
+ readonly damping: 35;
64
+ readonly mass: 1;
65
+ };
66
+ };
67
+ declare const stagger: {
68
+ /** Rapid list items — 30ms between each */
69
+ readonly fast: 0.03;
70
+ /** Standard stagger — 50ms between each */
71
+ readonly normal: 0.05;
72
+ /** Deliberate reveal — 80ms between each */
73
+ readonly slow: 0.08;
74
+ };
75
+ type Duration = keyof typeof duration;
76
+ type Easing = keyof typeof easing;
77
+ type Spring = keyof typeof spring;
78
+ type Stagger = keyof typeof stagger;
79
+
80
+ export { type Duration as D, type Easing as E, type Spring as S, type Stagger as a, durationCSS as b, durationSeconds as c, duration as d, easing as e, easingCSS as f, stagger as g, spring as s };
@@ -0,0 +1,80 @@
1
+ declare const duration: {
2
+ /** Instant feedback — hover states, color changes */
3
+ readonly instant: 0;
4
+ /** Micro-interactions — focus rings, icon swaps */
5
+ readonly fast: 100;
6
+ /** Snappy transitions — tooltips, small toggles */
7
+ readonly moderate: 150;
8
+ /** Standard transitions — dropdowns, accordions, tabs */
9
+ readonly normal: 200;
10
+ /** Emphasis transitions — modals, drawers, slide-ins */
11
+ readonly slow: 300;
12
+ /** Complex orchestrated animations — page transitions */
13
+ readonly slower: 400;
14
+ /** Long-form animations — skeleton loaders, progress */
15
+ readonly slowest: 500;
16
+ };
17
+ /** CSS-ready duration strings (e.g. "200ms") */
18
+ declare const durationCSS: Record<keyof typeof duration, string>;
19
+ /** Framer Motion-ready duration values in seconds */
20
+ declare const durationSeconds: Record<keyof typeof duration, number>;
21
+ declare const easing: {
22
+ /** General-purpose — equal acceleration and deceleration */
23
+ readonly standard: readonly [0.2, 0, 0.38, 0.9];
24
+ /** Enter animations — element arriving on screen */
25
+ readonly decelerate: readonly [0, 0, 0.2, 1];
26
+ /** Exit animations — element leaving the screen */
27
+ readonly accelerate: readonly [0.4, 0, 1, 1];
28
+ /** Attention / emphasis — overshoots slightly for impact */
29
+ readonly emphasize: readonly [0, 0, 0.15, 1];
30
+ /** Constant rate — spinners, progress bars */
31
+ readonly linear: readonly [0, 0, 1, 1];
32
+ /** Spring-like snap — toggle switches, checkboxes */
33
+ readonly snap: readonly [0.2, 0, 0, 1];
34
+ };
35
+ /** CSS-ready cubic-bezier strings */
36
+ declare const easingCSS: Record<keyof typeof easing, string>;
37
+ declare const spring: {
38
+ /** Gentle — tooltips, small popovers */
39
+ readonly gentle: {
40
+ readonly type: "spring";
41
+ readonly stiffness: 150;
42
+ readonly damping: 20;
43
+ readonly mass: 1;
44
+ };
45
+ /** Snappy — buttons, toggles, micro-interactions */
46
+ readonly snappy: {
47
+ readonly type: "spring";
48
+ readonly stiffness: 300;
49
+ readonly damping: 25;
50
+ readonly mass: 0.8;
51
+ };
52
+ /** Bouncy — playful emphasis, celebrations */
53
+ readonly bouncy: {
54
+ readonly type: "spring";
55
+ readonly stiffness: 400;
56
+ readonly damping: 15;
57
+ readonly mass: 0.8;
58
+ };
59
+ /** Stiff — immediate, no overshoot (dialogs, drawers) */
60
+ readonly stiff: {
61
+ readonly type: "spring";
62
+ readonly stiffness: 500;
63
+ readonly damping: 35;
64
+ readonly mass: 1;
65
+ };
66
+ };
67
+ declare const stagger: {
68
+ /** Rapid list items — 30ms between each */
69
+ readonly fast: 0.03;
70
+ /** Standard stagger — 50ms between each */
71
+ readonly normal: 0.05;
72
+ /** Deliberate reveal — 80ms between each */
73
+ readonly slow: 0.08;
74
+ };
75
+ type Duration = keyof typeof duration;
76
+ type Easing = keyof typeof easing;
77
+ type Spring = keyof typeof spring;
78
+ type Stagger = keyof typeof stagger;
79
+
80
+ export { type Duration as D, type Easing as E, type Spring as S, type Stagger as a, durationCSS as b, durationSeconds as c, duration as d, easing as e, easingCSS as f, stagger as g, spring as s };
@@ -0,0 +1,216 @@
1
+ "use client";
2
+ 'use strict';
3
+
4
+ var chunkZPIPKY2J_cjs = require('./chunk-ZPIPKY2J.cjs');
5
+ var chunkXCKK6P46_cjs = require('./chunk-XCKK6P46.cjs');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, "MotionSafe", {
10
+ enumerable: true,
11
+ get: function () { return chunkZPIPKY2J_cjs.MotionSafe; }
12
+ });
13
+ Object.defineProperty(exports, "blurIn", {
14
+ enumerable: true,
15
+ get: function () { return chunkZPIPKY2J_cjs.blurIn; }
16
+ });
17
+ Object.defineProperty(exports, "blurInSubtle", {
18
+ enumerable: true,
19
+ get: function () { return chunkZPIPKY2J_cjs.blurInSubtle; }
20
+ });
21
+ Object.defineProperty(exports, "expandHeight", {
22
+ enumerable: true,
23
+ get: function () { return chunkZPIPKY2J_cjs.expandHeight; }
24
+ });
25
+ Object.defineProperty(exports, "expandHeightSlow", {
26
+ enumerable: true,
27
+ get: function () { return chunkZPIPKY2J_cjs.expandHeightSlow; }
28
+ });
29
+ Object.defineProperty(exports, "fadeIn", {
30
+ enumerable: true,
31
+ get: function () { return chunkZPIPKY2J_cjs.fadeIn; }
32
+ });
33
+ Object.defineProperty(exports, "fadeInFast", {
34
+ enumerable: true,
35
+ get: function () { return chunkZPIPKY2J_cjs.fadeInFast; }
36
+ });
37
+ Object.defineProperty(exports, "fadeInSlow", {
38
+ enumerable: true,
39
+ get: function () { return chunkZPIPKY2J_cjs.fadeInSlow; }
40
+ });
41
+ Object.defineProperty(exports, "hoverLift", {
42
+ enumerable: true,
43
+ get: function () { return chunkZPIPKY2J_cjs.hoverLift; }
44
+ });
45
+ Object.defineProperty(exports, "hoverScale", {
46
+ enumerable: true,
47
+ get: function () { return chunkZPIPKY2J_cjs.hoverScale; }
48
+ });
49
+ Object.defineProperty(exports, "modalContent", {
50
+ enumerable: true,
51
+ get: function () { return chunkZPIPKY2J_cjs.modalContent; }
52
+ });
53
+ Object.defineProperty(exports, "modalContentSpring", {
54
+ enumerable: true,
55
+ get: function () { return chunkZPIPKY2J_cjs.modalContentSpring; }
56
+ });
57
+ Object.defineProperty(exports, "motionProps", {
58
+ enumerable: true,
59
+ get: function () { return chunkZPIPKY2J_cjs.motionProps; }
60
+ });
61
+ Object.defineProperty(exports, "overlayBackdrop", {
62
+ enumerable: true,
63
+ get: function () { return chunkZPIPKY2J_cjs.overlayBackdrop; }
64
+ });
65
+ Object.defineProperty(exports, "pop", {
66
+ enumerable: true,
67
+ get: function () { return chunkZPIPKY2J_cjs.pop; }
68
+ });
69
+ Object.defineProperty(exports, "popSubtle", {
70
+ enumerable: true,
71
+ get: function () { return chunkZPIPKY2J_cjs.popSubtle; }
72
+ });
73
+ Object.defineProperty(exports, "press", {
74
+ enumerable: true,
75
+ get: function () { return chunkZPIPKY2J_cjs.press; }
76
+ });
77
+ Object.defineProperty(exports, "pulse", {
78
+ enumerable: true,
79
+ get: function () { return chunkZPIPKY2J_cjs.pulse; }
80
+ });
81
+ Object.defineProperty(exports, "reduceMotion", {
82
+ enumerable: true,
83
+ get: function () { return chunkZPIPKY2J_cjs.reduceMotion; }
84
+ });
85
+ Object.defineProperty(exports, "scaleIn", {
86
+ enumerable: true,
87
+ get: function () { return chunkZPIPKY2J_cjs.scaleIn; }
88
+ });
89
+ Object.defineProperty(exports, "scaleInLg", {
90
+ enumerable: true,
91
+ get: function () { return chunkZPIPKY2J_cjs.scaleInLg; }
92
+ });
93
+ Object.defineProperty(exports, "scaleInSpring", {
94
+ enumerable: true,
95
+ get: function () { return chunkZPIPKY2J_cjs.scaleInSpring; }
96
+ });
97
+ Object.defineProperty(exports, "slideDown", {
98
+ enumerable: true,
99
+ get: function () { return chunkZPIPKY2J_cjs.slideDown; }
100
+ });
101
+ Object.defineProperty(exports, "slideDownSm", {
102
+ enumerable: true,
103
+ get: function () { return chunkZPIPKY2J_cjs.slideDownSm; }
104
+ });
105
+ Object.defineProperty(exports, "slideInFromBottom", {
106
+ enumerable: true,
107
+ get: function () { return chunkZPIPKY2J_cjs.slideInFromBottom; }
108
+ });
109
+ Object.defineProperty(exports, "slideInFromLeft", {
110
+ enumerable: true,
111
+ get: function () { return chunkZPIPKY2J_cjs.slideInFromLeft; }
112
+ });
113
+ Object.defineProperty(exports, "slideInFromRight", {
114
+ enumerable: true,
115
+ get: function () { return chunkZPIPKY2J_cjs.slideInFromRight; }
116
+ });
117
+ Object.defineProperty(exports, "slideLeft", {
118
+ enumerable: true,
119
+ get: function () { return chunkZPIPKY2J_cjs.slideLeft; }
120
+ });
121
+ Object.defineProperty(exports, "slideRight", {
122
+ enumerable: true,
123
+ get: function () { return chunkZPIPKY2J_cjs.slideRight; }
124
+ });
125
+ Object.defineProperty(exports, "slideUp", {
126
+ enumerable: true,
127
+ get: function () { return chunkZPIPKY2J_cjs.slideUp; }
128
+ });
129
+ Object.defineProperty(exports, "slideUpLg", {
130
+ enumerable: true,
131
+ get: function () { return chunkZPIPKY2J_cjs.slideUpLg; }
132
+ });
133
+ Object.defineProperty(exports, "slideUpSm", {
134
+ enumerable: true,
135
+ get: function () { return chunkZPIPKY2J_cjs.slideUpSm; }
136
+ });
137
+ Object.defineProperty(exports, "slideUpSpring", {
138
+ enumerable: true,
139
+ get: function () { return chunkZPIPKY2J_cjs.slideUpSpring; }
140
+ });
141
+ Object.defineProperty(exports, "spin", {
142
+ enumerable: true,
143
+ get: function () { return chunkZPIPKY2J_cjs.spin; }
144
+ });
145
+ Object.defineProperty(exports, "staggerContainer", {
146
+ enumerable: true,
147
+ get: function () { return chunkZPIPKY2J_cjs.staggerContainer; }
148
+ });
149
+ Object.defineProperty(exports, "staggerContainerFast", {
150
+ enumerable: true,
151
+ get: function () { return chunkZPIPKY2J_cjs.staggerContainerFast; }
152
+ });
153
+ Object.defineProperty(exports, "staggerContainerSlow", {
154
+ enumerable: true,
155
+ get: function () { return chunkZPIPKY2J_cjs.staggerContainerSlow; }
156
+ });
157
+ Object.defineProperty(exports, "tapScale", {
158
+ enumerable: true,
159
+ get: function () { return chunkZPIPKY2J_cjs.tapScale; }
160
+ });
161
+ Object.defineProperty(exports, "toastSlideIn", {
162
+ enumerable: true,
163
+ get: function () { return chunkZPIPKY2J_cjs.toastSlideIn; }
164
+ });
165
+ Object.defineProperty(exports, "toastSlideUp", {
166
+ enumerable: true,
167
+ get: function () { return chunkZPIPKY2J_cjs.toastSlideUp; }
168
+ });
169
+ Object.defineProperty(exports, "useMotion", {
170
+ enumerable: true,
171
+ get: function () { return chunkZPIPKY2J_cjs.useMotion; }
172
+ });
173
+ Object.defineProperty(exports, "useMotionProps", {
174
+ enumerable: true,
175
+ get: function () { return chunkZPIPKY2J_cjs.useMotionProps; }
176
+ });
177
+ Object.defineProperty(exports, "useMotionSpringConfig", {
178
+ enumerable: true,
179
+ get: function () { return chunkZPIPKY2J_cjs.useMotionSpringConfig; }
180
+ });
181
+ Object.defineProperty(exports, "useReducedMotion", {
182
+ enumerable: true,
183
+ get: function () { return chunkZPIPKY2J_cjs.useReducedMotion; }
184
+ });
185
+ Object.defineProperty(exports, "withReducedMotion", {
186
+ enumerable: true,
187
+ get: function () { return chunkZPIPKY2J_cjs.withReducedMotion; }
188
+ });
189
+ Object.defineProperty(exports, "duration", {
190
+ enumerable: true,
191
+ get: function () { return chunkXCKK6P46_cjs.duration; }
192
+ });
193
+ Object.defineProperty(exports, "durationCSS", {
194
+ enumerable: true,
195
+ get: function () { return chunkXCKK6P46_cjs.durationCSS; }
196
+ });
197
+ Object.defineProperty(exports, "durationSeconds", {
198
+ enumerable: true,
199
+ get: function () { return chunkXCKK6P46_cjs.durationSeconds; }
200
+ });
201
+ Object.defineProperty(exports, "easing", {
202
+ enumerable: true,
203
+ get: function () { return chunkXCKK6P46_cjs.easing; }
204
+ });
205
+ Object.defineProperty(exports, "easingCSS", {
206
+ enumerable: true,
207
+ get: function () { return chunkXCKK6P46_cjs.easingCSS; }
208
+ });
209
+ Object.defineProperty(exports, "spring", {
210
+ enumerable: true,
211
+ get: function () { return chunkXCKK6P46_cjs.spring; }
212
+ });
213
+ Object.defineProperty(exports, "stagger", {
214
+ enumerable: true,
215
+ get: function () { return chunkXCKK6P46_cjs.stagger; }
216
+ });
@@ -0,0 +1,104 @@
1
+ export { D as Duration, E as Easing, S as Spring, a as Stagger, d as duration, b as durationCSS, c as durationSeconds, e as easing, f as easingCSS, s as spring, g as stagger } from './motion-D9wQbcKL.cjs';
2
+ import { ReactNode } from 'react';
3
+ import { Variants, Transition, TargetAndTransition } from 'framer-motion';
4
+
5
+ interface MotionPreset {
6
+ variants: Variants;
7
+ transition: Transition;
8
+ }
9
+ interface MotionPropsResult {
10
+ variants: Variants;
11
+ initial: string;
12
+ animate: string;
13
+ exit: string;
14
+ }
15
+ declare function motionProps(preset: MotionPreset): MotionPropsResult;
16
+ declare const fadeIn: MotionPreset;
17
+ declare const fadeInSlow: MotionPreset;
18
+ declare const fadeInFast: MotionPreset;
19
+ declare const scaleIn: MotionPreset;
20
+ declare const scaleInSpring: MotionPreset;
21
+ declare const scaleInLg: MotionPreset;
22
+ declare const slideUp: MotionPreset;
23
+ declare const slideUpSm: MotionPreset;
24
+ declare const slideUpLg: MotionPreset;
25
+ declare const slideUpSpring: MotionPreset;
26
+ declare const slideDown: MotionPreset;
27
+ declare const slideDownSm: MotionPreset;
28
+ declare const slideLeft: MotionPreset;
29
+ declare const slideRight: MotionPreset;
30
+ declare const slideInFromRight: MotionPreset;
31
+ declare const slideInFromLeft: MotionPreset;
32
+ declare const slideInFromBottom: MotionPreset;
33
+ declare const expandHeight: MotionPreset;
34
+ declare const expandHeightSlow: MotionPreset;
35
+ declare const pop: MotionPreset;
36
+ declare const popSubtle: MotionPreset;
37
+ declare const blurIn: MotionPreset;
38
+ declare const blurInSubtle: MotionPreset;
39
+ declare const staggerContainer: MotionPreset;
40
+ declare const staggerContainerFast: MotionPreset;
41
+ declare const staggerContainerSlow: MotionPreset;
42
+ declare const overlayBackdrop: MotionPreset;
43
+ declare const modalContent: MotionPreset;
44
+ declare const modalContentSpring: MotionPreset;
45
+ declare const toastSlideIn: MotionPreset;
46
+ declare const toastSlideUp: MotionPreset;
47
+ /** Subtle press-down effect for buttons */
48
+ declare const press: MotionPreset;
49
+ /** Tap animation target — use with whileTap */
50
+ declare const tapScale: TargetAndTransition;
51
+ /** Hover animation target — use with whileHover */
52
+ declare const hoverScale: TargetAndTransition;
53
+ /** Hover lift effect — use with whileHover for cards */
54
+ declare const hoverLift: TargetAndTransition;
55
+ declare const pulse: MotionPreset;
56
+ declare const spin: MotionPreset;
57
+ /**
58
+ * Returns a preset that only uses opacity (no transform) for users who
59
+ * prefer reduced motion. Falls back to the original preset otherwise.
60
+ *
61
+ * @param preset - The original motion preset
62
+ * @returns A reduced-motion-safe version of the preset
63
+ */
64
+ declare function reduceMotion(preset: MotionPreset): MotionPreset;
65
+ /**
66
+ * Conditionally returns the full or reduced preset based on a boolean flag.
67
+ * Use with Framer Motion's `useReducedMotion()` hook.
68
+ *
69
+ * @example
70
+ * ```tsx
71
+ * const shouldReduce = useReducedMotion();
72
+ * const animation = withReducedMotion(slideUp, shouldReduce);
73
+ * ```
74
+ */
75
+ declare function withReducedMotion(preset: MotionPreset, prefersReduced: boolean | null): MotionPreset;
76
+
77
+ declare function useReducedMotion(): boolean;
78
+ declare function useMotion(preset: MotionPreset): MotionPreset;
79
+ declare function useMotionProps(preset: MotionPreset): MotionPropsResult;
80
+ interface SpringConfig {
81
+ stiffness?: number;
82
+ damping?: number;
83
+ mass?: number;
84
+ duration?: number;
85
+ }
86
+ declare function useMotionSpringConfig(config: SpringConfig): SpringConfig;
87
+ interface MotionSafeProps {
88
+ /**
89
+ * Content to render when motion is allowed.
90
+ * Can be a ReactNode or a render function that receives the
91
+ * `prefersReduced` boolean.
92
+ */
93
+ children: ReactNode | ((prefersReduced: boolean) => ReactNode);
94
+ /**
95
+ * Content to render when the user prefers reduced motion.
96
+ * Only used when `children` is a ReactNode (not a render function).
97
+ * If not provided and children is a ReactNode, children are rendered
98
+ * regardless (you should use `useMotion` inside instead).
99
+ */
100
+ fallback?: ReactNode;
101
+ }
102
+ declare function MotionSafe({ children, fallback }: MotionSafeProps): ReactNode;
103
+
104
+ export { type MotionPreset, type MotionPropsResult, MotionSafe, type MotionSafeProps, type SpringConfig, blurIn, blurInSubtle, expandHeight, expandHeightSlow, fadeIn, fadeInFast, fadeInSlow, hoverLift, hoverScale, modalContent, modalContentSpring, motionProps, overlayBackdrop, pop, popSubtle, press, pulse, reduceMotion, scaleIn, scaleInLg, scaleInSpring, slideDown, slideDownSm, slideInFromBottom, slideInFromLeft, slideInFromRight, slideLeft, slideRight, slideUp, slideUpLg, slideUpSm, slideUpSpring, spin, staggerContainer, staggerContainerFast, staggerContainerSlow, tapScale, toastSlideIn, toastSlideUp, useMotion, useMotionProps, useMotionSpringConfig, useReducedMotion, withReducedMotion };