@praxiis/ui 0.0.1 → 0.0.3

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 (37) hide show
  1. package/dist/index.d.mts +3 -111
  2. package/dist/index.d.ts +3 -111
  3. package/dist/index.js +6 -200
  4. package/dist/index.mjs +6 -192
  5. package/package.json +11 -12
  6. package/src/README.md +688 -0
  7. package/src/components/CalendarStrip/CalendarStrip.a11y.ts +51 -0
  8. package/src/components/CalendarStrip/DayCard/DayCard.a11y.ts +52 -0
  9. package/src/components/EmptyState/EmptyState.a11y.ts +53 -0
  10. package/src/components/Header/Header.a11y.ts +82 -0
  11. package/src/components/ScheduleItem/ScheduleItem/ScheduleItem.a11y.ts +15 -0
  12. package/src/core/index.ts +1 -1
  13. package/src/core/restyle/index.ts +1 -1
  14. package/src/core/restyle/restylePresetRegistry.ts +7 -7
  15. package/src/index.tsx +2 -11
  16. package/src/primitives/actions/Button/Button.a11y.ts +38 -0
  17. package/src/primitives/actions/IconButton/IconButton.a11y.ts +55 -0
  18. package/src/primitives/content/Avatar/Avatar.a11y.ts +50 -0
  19. package/src/primitives/content/Badge/Badge.a11y.ts +83 -0
  20. package/src/primitives/content/Card/Card.a11y.ts +60 -0
  21. package/src/primitives/content/Chip/Chip.a11y.ts +101 -0
  22. package/src/primitives/content/Icon/Icon.a11y.ts +43 -0
  23. package/src/primitives/feedback/ProgressBar/ProgressBar.a11y.ts +68 -0
  24. package/src/primitives/feedback/Skeleton/Skeleton.a11y.ts +46 -0
  25. package/src/primitives/feedback/Spinner/Spinner.a11y.ts +47 -0
  26. package/src/primitives/feedback/Toast/Toast.a11y.ts +75 -0
  27. package/src/primitives/inputs/Checkbox/Checkbox.a11y.ts +47 -0
  28. package/src/primitives/inputs/RadioButton/RadioButton.a11y.ts +48 -0
  29. package/src/primitives/inputs/SegmentedControl/SegmentedControl.a11y.ts +59 -0
  30. package/src/primitives/inputs/SelectSheet/SelectSheet.a11y.ts +117 -0
  31. package/src/primitives/inputs/Switch/Switch.a11y.ts +29 -0
  32. package/src/primitives/inputs/TextInput/TextInput.a11y.ts +77 -0
  33. package/src/primitives/layout/Divider/Divider.a11y.ts +55 -0
  34. package/src/primitives/overlays/Modal/Modal.a11y.ts +64 -0
  35. package/src/providers/ThemeProvider/index.ts +0 -12
  36. package/src/providers/index.ts +0 -8
  37. package/src/providers/ThemeProvider/createTheme.ts +0 -304
package/dist/index.d.mts CHANGED
@@ -4758,11 +4758,11 @@ type RestyleThemePair = {
4758
4758
  dark: typeof restyleDarkTheme;
4759
4759
  };
4760
4760
  /**
4761
- * Build light + dark Restyle themes from ThemeColors overrides.
4761
+ * Create light + dark Restyle themes from ThemeColors overrides.
4762
4762
  * The most convenient way to create a custom theme pair — only specify
4763
4763
  * what differs from the default semantic colors.
4764
4764
  */
4765
- declare function buildPair(lightOverrides: DeepPartial<ThemeColors>, darkOverrides: DeepPartial<ThemeColors>): RestyleThemePair;
4765
+ declare function createThemePair(lightOverrides: DeepPartial<ThemeColors>, darkOverrides: DeepPartial<ThemeColors>): RestyleThemePair;
4766
4766
  /**
4767
4767
  * Map of all preset Restyle themes, keyed by preset name.
4768
4768
  */
@@ -5009,114 +5009,6 @@ declare const lightTheme: Theme;
5009
5009
  declare const darkTheme: Theme;
5010
5010
  declare const defaultTheme: Theme;
5011
5011
 
5012
- /**
5013
- * El Sendero Design System - Theme Factory
5014
- *
5015
- * Create custom themes by extending the base theme with overrides.
5016
- *
5017
- * @example
5018
- * const myTheme = createTheme(defaultTheme, {
5019
- * colors: {
5020
- * accent: {
5021
- * primary: '#8B5CF6', // Purple accent
5022
- * }
5023
- * }
5024
- * });
5025
- */
5026
-
5027
- /**
5028
- * Create a custom theme by extending a base theme with overrides.
5029
- *
5030
- * @param baseTheme - The theme to extend (usually defaultTheme)
5031
- * @param overrides - Partial theme object with your customizations
5032
- * @returns A complete Theme object with your overrides applied
5033
- *
5034
- * @example
5035
- * // Create a sage-accented theme
5036
- * const sageTheme = createTheme(defaultTheme, {
5037
- * name: 'Sage',
5038
- * colors: {
5039
- * accent: {
5040
- * primary: '#6B8F6B',
5041
- * primaryHover: '#557255',
5042
- * primaryPressed: '#445944',
5043
- * }
5044
- * }
5045
- * });
5046
- *
5047
- * @example
5048
- * // Create a more rounded theme
5049
- * const softTheme = createTheme(defaultTheme, {
5050
- * radii: {
5051
- * md: 16,
5052
- * lg: 24,
5053
- * xl: 32,
5054
- * }
5055
- * });
5056
- */
5057
- declare function createTheme(baseTheme: Theme, overrides: ThemeOverrides): Theme;
5058
- /**
5059
- * Create both light and dark versions of a custom theme.
5060
- *
5061
- * @param overrides - Overrides to apply to both light and dark themes
5062
- * @param lightOverrides - Additional overrides for light theme only
5063
- * @param darkOverrides - Additional overrides for dark theme only
5064
- * @returns Object with light and dark theme variants
5065
- *
5066
- * @example
5067
- * const { light, dark } = createThemePair(
5068
- * { name: 'MyBrand' },
5069
- * { colors: { accent: { primary: '#A68B6A' } } }, // Light-specific
5070
- * { colors: { accent: { primary: '#C4A285' } } } // Dark-specific
5071
- * );
5072
- */
5073
- declare function createThemePair(overrides?: ThemeOverrides, lightOverrides?: ThemeOverrides, darkOverrides?: ThemeOverrides): {
5074
- light: Theme;
5075
- dark: Theme;
5076
- };
5077
- /**
5078
- * Horizon Default - Blue with a calming feel
5079
- */
5080
- declare const horizonTheme: {
5081
- light: Theme;
5082
- dark: Theme;
5083
- };
5084
- /**
5085
- * Sage Theme - Green-focused for hope and growth
5086
- */
5087
- declare const sageTheme: {
5088
- light: Theme;
5089
- dark: Theme;
5090
- };
5091
- /**
5092
- * Sunset Theme - Warm coral/peach for energy and comfort
5093
- */
5094
- declare const sunsetTheme: {
5095
- light: Theme;
5096
- dark: Theme;
5097
- };
5098
- /**
5099
- * Ocean Theme - Teal/cyan accents, calming water vibes
5100
- */
5101
- declare const oceanTheme: {
5102
- light: Theme;
5103
- dark: Theme;
5104
- };
5105
- /**
5106
- * Lavender Theme - Soft purple accents, relaxing and spiritual
5107
- */
5108
- declare const lavenderTheme: {
5109
- light: Theme;
5110
- dark: Theme;
5111
- };
5112
- /**
5113
- * Rose Theme - Warm pink/rose accents, gentle and nurturing
5114
- */
5115
- declare const roseTheme: {
5116
- light: Theme;
5117
- dark: Theme;
5118
- };
5119
-
5120
5012
  /**
5121
5013
  * StayEasy Design System - Reduced Motion Hook
5122
5014
  *
@@ -52553,4 +52445,4 @@ interface ScheduleItemProps extends Omit<BaseScheduleItemProps, "style"> {
52553
52445
  declare function ScheduleItemComponent({ task, onPress, size, testID, ...rest }: ScheduleItemProps): react_jsx_runtime.JSX.Element;
52554
52446
  declare const ScheduleItem: React__default.MemoExoticComponent<typeof ScheduleItemComponent>;
52555
52447
 
52556
- export { AnimatedBox, type AppThemeColors, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, type BaseColors, type BaseThemeColor, Box, type BoxRestyleProps, Button, type ButtonProps, type ButtonRef, type ButtonSize, type ButtonVariant, CalendarStrip, type CalendarStripProps, type CalendarStripSize, Card, type CardProps, type CardVariant, Checkbox, type CheckboxProps, type CheckboxRef, type CheckboxSize, Chip, type ChipProps, type ChipSize, type ChipVariant, DayCard, type DayCardProps, type DeepPartial, type DesignSystemLabels, type DesignSystemLabelsOverride, type DesignSystemLanguage, DesignSystemProvider, type DesignSystemProviderProps, Divider, type DividerColor, type DividerOrientation, type DividerProps, type DividerSpacing, type DividerThickness, type Duration, type DurationKey, type Easing, type EasingKey, type Elevation, type ElevationKey, EmptyState, type EmptyStateProps, type EmptyStateVariant, type EntranceAnimationConfig, type EntranceAnimationResult, FlatList, type FlatListProps, type FlatListRef, type FlatListRestyleProps, type FontFamily, type FontSize, type FontWeight, HStack, type HStackProps, Header, type HeaderProps, HeaderRightItems, type HeaderRightItemsProps, type HeaderSize, type HeaderVariant, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconName, type IconProps, type IconSize$1 as IconSize, type IconSizeKey, MIN_TOUCH_TARGET, type MaterialIconName, Modal, type ModalAction, type ModalPosition, type ModalProps, type Opacity, Pressable, type PressableProps, type PressableRestyleProps, ProgressBar, type ProgressBarProps, type ProgressBarSize, type PulseAnimationConfig, type Radii, type RadiiKey, RadioButton, type RadioButtonProps, type RadioButtonRef, type RadioButtonSize, type RestyleColor, type RestyleTheme, type RestyleThemePair, ScheduleItem, type ScheduleItemData, type ScheduleItemProps, type ScheduleItemSize, ScrollView, type ScrollViewProps, type ScrollViewRef, type ScrollViewRestyleProps, type SegmentOption, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, type SegmentedControlVariant, SelectSheet, type SelectSheetIndicatorPosition, type SelectSheetMode, type SelectSheetOption, type SelectSheetPosition, type SelectSheetProps, type SemanticColors, type SemanticColorsInput, type SemanticSpacing, type ShadowStyle, type ShowToastOptions, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonSize, type SkeletonVariant, type Spacing, type SpacingKey, Spinner, type SpinnerProps, type SpinnerSize, type SpringConfig, Switch, type SwitchProps, type SwitchRef, type SwitchSize, Text, TextInput, type TextInputProps, type TextInputRef, type TextInputSize, type TextInputVariant, type Theme, type ThemeColors, type ThemeElevation, type ThemeMode, type ThemeMotion, type ThemeOverrides, type ThemeTypography, Toast, type ToastAction, type ToastConfig, type ToastContainerProps, ToastContext, type ToastContextValue, type ToastPosition, type ToastProps, ToastProvider, type ToastVariant, type TypographyPresets, type TypographyStyle, type TypographyVariant, VStack, type VStackProps, type ZIndex, a11yRoles, a11yState, androidOnly, baseColors, buildPair, buildRestyleTheme, buildRestyleThemeFromThemeColors, buttonA11yProps, checkboxA11yProps, createTheme, createThemePair, darkSemanticColors, darkTheme, defaultTheme, duration, easing, elevation, en, es, fontFamily, fontSize, fontWeight, generateToastId, getContrastRatio, getStatusBarHeight, headingA11yProps, hitSlop, horizonTheme, iconSize, imageA11yProps, iosOnly, isAndroid, isIOS, lavenderTheme, letterSpacing, lightSemanticColors, lightTheme, lineHeight, lineHeightValues, meetsContrastAA, meetsContrastAALarge, oceanTheme, opacity, platformSelect, radii, restyleDarkTheme, restyleLightTheme, restylePresetThemes, restyleTheme, roseTheme, sageTheme, semanticElevation, semanticMotion, semanticRadii, semanticSpacing, spacing, springConfig, sunsetTheme, touchTarget, typographyPresets, useAnimatedValue, useDesignSystem, useEntranceAnimation, useMotionSafeDuration, usePulseAnimation, useReducedMotion, useRestyleTheme, useToast, zIndex };
52448
+ export { AnimatedBox, type AppThemeColors, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, type BaseColors, type BaseThemeColor, Box, type BoxRestyleProps, Button, type ButtonProps, type ButtonRef, type ButtonSize, type ButtonVariant, CalendarStrip, type CalendarStripProps, type CalendarStripSize, Card, type CardProps, type CardVariant, Checkbox, type CheckboxProps, type CheckboxRef, type CheckboxSize, Chip, type ChipProps, type ChipSize, type ChipVariant, DayCard, type DayCardProps, type DeepPartial, type DesignSystemLabels, type DesignSystemLabelsOverride, type DesignSystemLanguage, DesignSystemProvider, type DesignSystemProviderProps, Divider, type DividerColor, type DividerOrientation, type DividerProps, type DividerSpacing, type DividerThickness, type Duration, type DurationKey, type Easing, type EasingKey, type Elevation, type ElevationKey, EmptyState, type EmptyStateProps, type EmptyStateVariant, type EntranceAnimationConfig, type EntranceAnimationResult, FlatList, type FlatListProps, type FlatListRef, type FlatListRestyleProps, type FontFamily, type FontSize, type FontWeight, HStack, type HStackProps, Header, type HeaderProps, HeaderRightItems, type HeaderRightItemsProps, type HeaderSize, type HeaderVariant, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconName, type IconProps, type IconSize$1 as IconSize, type IconSizeKey, MIN_TOUCH_TARGET, type MaterialIconName, Modal, type ModalAction, type ModalPosition, type ModalProps, type Opacity, Pressable, type PressableProps, type PressableRestyleProps, ProgressBar, type ProgressBarProps, type ProgressBarSize, type PulseAnimationConfig, type Radii, type RadiiKey, RadioButton, type RadioButtonProps, type RadioButtonRef, type RadioButtonSize, type RestyleColor, type RestyleTheme, type RestyleThemePair, ScheduleItem, type ScheduleItemData, type ScheduleItemProps, type ScheduleItemSize, ScrollView, type ScrollViewProps, type ScrollViewRef, type ScrollViewRestyleProps, type SegmentOption, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, type SegmentedControlVariant, SelectSheet, type SelectSheetIndicatorPosition, type SelectSheetMode, type SelectSheetOption, type SelectSheetPosition, type SelectSheetProps, type SemanticColors, type SemanticColorsInput, type SemanticSpacing, type ShadowStyle, type ShowToastOptions, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonSize, type SkeletonVariant, type Spacing, type SpacingKey, Spinner, type SpinnerProps, type SpinnerSize, type SpringConfig, Switch, type SwitchProps, type SwitchRef, type SwitchSize, Text, TextInput, type TextInputProps, type TextInputRef, type TextInputSize, type TextInputVariant, type Theme, type ThemeColors, type ThemeElevation, type ThemeMode, type ThemeMotion, type ThemeOverrides, type ThemeTypography, Toast, type ToastAction, type ToastConfig, type ToastContainerProps, ToastContext, type ToastContextValue, type ToastPosition, type ToastProps, ToastProvider, type ToastVariant, type TypographyPresets, type TypographyStyle, type TypographyVariant, VStack, type VStackProps, type ZIndex, a11yRoles, a11yState, androidOnly, baseColors, buildRestyleTheme, buildRestyleThemeFromThemeColors, buttonA11yProps, checkboxA11yProps, createThemePair, darkSemanticColors, darkTheme, defaultTheme, duration, easing, elevation, en, es, fontFamily, fontSize, fontWeight, generateToastId, getContrastRatio, getStatusBarHeight, headingA11yProps, hitSlop, iconSize, imageA11yProps, iosOnly, isAndroid, isIOS, letterSpacing, lightSemanticColors, lightTheme, lineHeight, lineHeightValues, meetsContrastAA, meetsContrastAALarge, opacity, platformSelect, radii, restyleDarkTheme, restyleLightTheme, restylePresetThemes, restyleTheme, semanticElevation, semanticMotion, semanticRadii, semanticSpacing, spacing, springConfig, touchTarget, typographyPresets, useAnimatedValue, useDesignSystem, useEntranceAnimation, useMotionSafeDuration, usePulseAnimation, useReducedMotion, useRestyleTheme, useToast, zIndex };
package/dist/index.d.ts CHANGED
@@ -4758,11 +4758,11 @@ type RestyleThemePair = {
4758
4758
  dark: typeof restyleDarkTheme;
4759
4759
  };
4760
4760
  /**
4761
- * Build light + dark Restyle themes from ThemeColors overrides.
4761
+ * Create light + dark Restyle themes from ThemeColors overrides.
4762
4762
  * The most convenient way to create a custom theme pair — only specify
4763
4763
  * what differs from the default semantic colors.
4764
4764
  */
4765
- declare function buildPair(lightOverrides: DeepPartial<ThemeColors>, darkOverrides: DeepPartial<ThemeColors>): RestyleThemePair;
4765
+ declare function createThemePair(lightOverrides: DeepPartial<ThemeColors>, darkOverrides: DeepPartial<ThemeColors>): RestyleThemePair;
4766
4766
  /**
4767
4767
  * Map of all preset Restyle themes, keyed by preset name.
4768
4768
  */
@@ -5009,114 +5009,6 @@ declare const lightTheme: Theme;
5009
5009
  declare const darkTheme: Theme;
5010
5010
  declare const defaultTheme: Theme;
5011
5011
 
5012
- /**
5013
- * El Sendero Design System - Theme Factory
5014
- *
5015
- * Create custom themes by extending the base theme with overrides.
5016
- *
5017
- * @example
5018
- * const myTheme = createTheme(defaultTheme, {
5019
- * colors: {
5020
- * accent: {
5021
- * primary: '#8B5CF6', // Purple accent
5022
- * }
5023
- * }
5024
- * });
5025
- */
5026
-
5027
- /**
5028
- * Create a custom theme by extending a base theme with overrides.
5029
- *
5030
- * @param baseTheme - The theme to extend (usually defaultTheme)
5031
- * @param overrides - Partial theme object with your customizations
5032
- * @returns A complete Theme object with your overrides applied
5033
- *
5034
- * @example
5035
- * // Create a sage-accented theme
5036
- * const sageTheme = createTheme(defaultTheme, {
5037
- * name: 'Sage',
5038
- * colors: {
5039
- * accent: {
5040
- * primary: '#6B8F6B',
5041
- * primaryHover: '#557255',
5042
- * primaryPressed: '#445944',
5043
- * }
5044
- * }
5045
- * });
5046
- *
5047
- * @example
5048
- * // Create a more rounded theme
5049
- * const softTheme = createTheme(defaultTheme, {
5050
- * radii: {
5051
- * md: 16,
5052
- * lg: 24,
5053
- * xl: 32,
5054
- * }
5055
- * });
5056
- */
5057
- declare function createTheme(baseTheme: Theme, overrides: ThemeOverrides): Theme;
5058
- /**
5059
- * Create both light and dark versions of a custom theme.
5060
- *
5061
- * @param overrides - Overrides to apply to both light and dark themes
5062
- * @param lightOverrides - Additional overrides for light theme only
5063
- * @param darkOverrides - Additional overrides for dark theme only
5064
- * @returns Object with light and dark theme variants
5065
- *
5066
- * @example
5067
- * const { light, dark } = createThemePair(
5068
- * { name: 'MyBrand' },
5069
- * { colors: { accent: { primary: '#A68B6A' } } }, // Light-specific
5070
- * { colors: { accent: { primary: '#C4A285' } } } // Dark-specific
5071
- * );
5072
- */
5073
- declare function createThemePair(overrides?: ThemeOverrides, lightOverrides?: ThemeOverrides, darkOverrides?: ThemeOverrides): {
5074
- light: Theme;
5075
- dark: Theme;
5076
- };
5077
- /**
5078
- * Horizon Default - Blue with a calming feel
5079
- */
5080
- declare const horizonTheme: {
5081
- light: Theme;
5082
- dark: Theme;
5083
- };
5084
- /**
5085
- * Sage Theme - Green-focused for hope and growth
5086
- */
5087
- declare const sageTheme: {
5088
- light: Theme;
5089
- dark: Theme;
5090
- };
5091
- /**
5092
- * Sunset Theme - Warm coral/peach for energy and comfort
5093
- */
5094
- declare const sunsetTheme: {
5095
- light: Theme;
5096
- dark: Theme;
5097
- };
5098
- /**
5099
- * Ocean Theme - Teal/cyan accents, calming water vibes
5100
- */
5101
- declare const oceanTheme: {
5102
- light: Theme;
5103
- dark: Theme;
5104
- };
5105
- /**
5106
- * Lavender Theme - Soft purple accents, relaxing and spiritual
5107
- */
5108
- declare const lavenderTheme: {
5109
- light: Theme;
5110
- dark: Theme;
5111
- };
5112
- /**
5113
- * Rose Theme - Warm pink/rose accents, gentle and nurturing
5114
- */
5115
- declare const roseTheme: {
5116
- light: Theme;
5117
- dark: Theme;
5118
- };
5119
-
5120
5012
  /**
5121
5013
  * StayEasy Design System - Reduced Motion Hook
5122
5014
  *
@@ -52553,4 +52445,4 @@ interface ScheduleItemProps extends Omit<BaseScheduleItemProps, "style"> {
52553
52445
  declare function ScheduleItemComponent({ task, onPress, size, testID, ...rest }: ScheduleItemProps): react_jsx_runtime.JSX.Element;
52554
52446
  declare const ScheduleItem: React__default.MemoExoticComponent<typeof ScheduleItemComponent>;
52555
52447
 
52556
- export { AnimatedBox, type AppThemeColors, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, type BaseColors, type BaseThemeColor, Box, type BoxRestyleProps, Button, type ButtonProps, type ButtonRef, type ButtonSize, type ButtonVariant, CalendarStrip, type CalendarStripProps, type CalendarStripSize, Card, type CardProps, type CardVariant, Checkbox, type CheckboxProps, type CheckboxRef, type CheckboxSize, Chip, type ChipProps, type ChipSize, type ChipVariant, DayCard, type DayCardProps, type DeepPartial, type DesignSystemLabels, type DesignSystemLabelsOverride, type DesignSystemLanguage, DesignSystemProvider, type DesignSystemProviderProps, Divider, type DividerColor, type DividerOrientation, type DividerProps, type DividerSpacing, type DividerThickness, type Duration, type DurationKey, type Easing, type EasingKey, type Elevation, type ElevationKey, EmptyState, type EmptyStateProps, type EmptyStateVariant, type EntranceAnimationConfig, type EntranceAnimationResult, FlatList, type FlatListProps, type FlatListRef, type FlatListRestyleProps, type FontFamily, type FontSize, type FontWeight, HStack, type HStackProps, Header, type HeaderProps, HeaderRightItems, type HeaderRightItemsProps, type HeaderSize, type HeaderVariant, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconName, type IconProps, type IconSize$1 as IconSize, type IconSizeKey, MIN_TOUCH_TARGET, type MaterialIconName, Modal, type ModalAction, type ModalPosition, type ModalProps, type Opacity, Pressable, type PressableProps, type PressableRestyleProps, ProgressBar, type ProgressBarProps, type ProgressBarSize, type PulseAnimationConfig, type Radii, type RadiiKey, RadioButton, type RadioButtonProps, type RadioButtonRef, type RadioButtonSize, type RestyleColor, type RestyleTheme, type RestyleThemePair, ScheduleItem, type ScheduleItemData, type ScheduleItemProps, type ScheduleItemSize, ScrollView, type ScrollViewProps, type ScrollViewRef, type ScrollViewRestyleProps, type SegmentOption, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, type SegmentedControlVariant, SelectSheet, type SelectSheetIndicatorPosition, type SelectSheetMode, type SelectSheetOption, type SelectSheetPosition, type SelectSheetProps, type SemanticColors, type SemanticColorsInput, type SemanticSpacing, type ShadowStyle, type ShowToastOptions, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonSize, type SkeletonVariant, type Spacing, type SpacingKey, Spinner, type SpinnerProps, type SpinnerSize, type SpringConfig, Switch, type SwitchProps, type SwitchRef, type SwitchSize, Text, TextInput, type TextInputProps, type TextInputRef, type TextInputSize, type TextInputVariant, type Theme, type ThemeColors, type ThemeElevation, type ThemeMode, type ThemeMotion, type ThemeOverrides, type ThemeTypography, Toast, type ToastAction, type ToastConfig, type ToastContainerProps, ToastContext, type ToastContextValue, type ToastPosition, type ToastProps, ToastProvider, type ToastVariant, type TypographyPresets, type TypographyStyle, type TypographyVariant, VStack, type VStackProps, type ZIndex, a11yRoles, a11yState, androidOnly, baseColors, buildPair, buildRestyleTheme, buildRestyleThemeFromThemeColors, buttonA11yProps, checkboxA11yProps, createTheme, createThemePair, darkSemanticColors, darkTheme, defaultTheme, duration, easing, elevation, en, es, fontFamily, fontSize, fontWeight, generateToastId, getContrastRatio, getStatusBarHeight, headingA11yProps, hitSlop, horizonTheme, iconSize, imageA11yProps, iosOnly, isAndroid, isIOS, lavenderTheme, letterSpacing, lightSemanticColors, lightTheme, lineHeight, lineHeightValues, meetsContrastAA, meetsContrastAALarge, oceanTheme, opacity, platformSelect, radii, restyleDarkTheme, restyleLightTheme, restylePresetThemes, restyleTheme, roseTheme, sageTheme, semanticElevation, semanticMotion, semanticRadii, semanticSpacing, spacing, springConfig, sunsetTheme, touchTarget, typographyPresets, useAnimatedValue, useDesignSystem, useEntranceAnimation, useMotionSafeDuration, usePulseAnimation, useReducedMotion, useRestyleTheme, useToast, zIndex };
52448
+ export { AnimatedBox, type AppThemeColors, Avatar, type AvatarProps, type AvatarSize, type AvatarStatus, Badge, type BadgeProps, type BadgeSize, type BadgeVariant, type BaseColors, type BaseThemeColor, Box, type BoxRestyleProps, Button, type ButtonProps, type ButtonRef, type ButtonSize, type ButtonVariant, CalendarStrip, type CalendarStripProps, type CalendarStripSize, Card, type CardProps, type CardVariant, Checkbox, type CheckboxProps, type CheckboxRef, type CheckboxSize, Chip, type ChipProps, type ChipSize, type ChipVariant, DayCard, type DayCardProps, type DeepPartial, type DesignSystemLabels, type DesignSystemLabelsOverride, type DesignSystemLanguage, DesignSystemProvider, type DesignSystemProviderProps, Divider, type DividerColor, type DividerOrientation, type DividerProps, type DividerSpacing, type DividerThickness, type Duration, type DurationKey, type Easing, type EasingKey, type Elevation, type ElevationKey, EmptyState, type EmptyStateProps, type EmptyStateVariant, type EntranceAnimationConfig, type EntranceAnimationResult, FlatList, type FlatListProps, type FlatListRef, type FlatListRestyleProps, type FontFamily, type FontSize, type FontWeight, HStack, type HStackProps, Header, type HeaderProps, HeaderRightItems, type HeaderRightItemsProps, type HeaderSize, type HeaderVariant, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconName, type IconProps, type IconSize$1 as IconSize, type IconSizeKey, MIN_TOUCH_TARGET, type MaterialIconName, Modal, type ModalAction, type ModalPosition, type ModalProps, type Opacity, Pressable, type PressableProps, type PressableRestyleProps, ProgressBar, type ProgressBarProps, type ProgressBarSize, type PulseAnimationConfig, type Radii, type RadiiKey, RadioButton, type RadioButtonProps, type RadioButtonRef, type RadioButtonSize, type RestyleColor, type RestyleTheme, type RestyleThemePair, ScheduleItem, type ScheduleItemData, type ScheduleItemProps, type ScheduleItemSize, ScrollView, type ScrollViewProps, type ScrollViewRef, type ScrollViewRestyleProps, type SegmentOption, SegmentedControl, type SegmentedControlProps, type SegmentedControlSize, type SegmentedControlVariant, SelectSheet, type SelectSheetIndicatorPosition, type SelectSheetMode, type SelectSheetOption, type SelectSheetPosition, type SelectSheetProps, type SemanticColors, type SemanticColorsInput, type SemanticSpacing, type ShadowStyle, type ShowToastOptions, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonSize, type SkeletonVariant, type Spacing, type SpacingKey, Spinner, type SpinnerProps, type SpinnerSize, type SpringConfig, Switch, type SwitchProps, type SwitchRef, type SwitchSize, Text, TextInput, type TextInputProps, type TextInputRef, type TextInputSize, type TextInputVariant, type Theme, type ThemeColors, type ThemeElevation, type ThemeMode, type ThemeMotion, type ThemeOverrides, type ThemeTypography, Toast, type ToastAction, type ToastConfig, type ToastContainerProps, ToastContext, type ToastContextValue, type ToastPosition, type ToastProps, ToastProvider, type ToastVariant, type TypographyPresets, type TypographyStyle, type TypographyVariant, VStack, type VStackProps, type ZIndex, a11yRoles, a11yState, androidOnly, baseColors, buildRestyleTheme, buildRestyleThemeFromThemeColors, buttonA11yProps, checkboxA11yProps, createThemePair, darkSemanticColors, darkTheme, defaultTheme, duration, easing, elevation, en, es, fontFamily, fontSize, fontWeight, generateToastId, getContrastRatio, getStatusBarHeight, headingA11yProps, hitSlop, iconSize, imageA11yProps, iosOnly, isAndroid, isIOS, letterSpacing, lightSemanticColors, lightTheme, lineHeight, lineHeightValues, meetsContrastAA, meetsContrastAALarge, opacity, platformSelect, radii, restyleDarkTheme, restyleLightTheme, restylePresetThemes, restyleTheme, semanticElevation, semanticMotion, semanticRadii, semanticSpacing, spacing, springConfig, touchTarget, typographyPresets, useAnimatedValue, useDesignSystem, useEntranceAnimation, useMotionSafeDuration, usePulseAnimation, useReducedMotion, useRestyleTheme, useToast, zIndex };
package/dist/index.js CHANGED
@@ -72,12 +72,10 @@ __export(index_exports, {
72
72
  a11yState: () => a11yState,
73
73
  androidOnly: () => androidOnly,
74
74
  baseColors: () => baseColors,
75
- buildPair: () => buildPair,
76
75
  buildRestyleTheme: () => buildRestyleTheme,
77
76
  buildRestyleThemeFromThemeColors: () => buildRestyleThemeFromThemeColors,
78
77
  buttonA11yProps: () => buttonA11yProps,
79
78
  checkboxA11yProps: () => checkboxA11yProps,
80
- createTheme: () => createTheme2,
81
79
  createThemePair: () => createThemePair,
82
80
  darkSemanticColors: () => darkSemanticColors,
83
81
  darkTheme: () => darkTheme,
@@ -95,13 +93,11 @@ __export(index_exports, {
95
93
  getStatusBarHeight: () => getStatusBarHeight,
96
94
  headingA11yProps: () => headingA11yProps,
97
95
  hitSlop: () => hitSlop,
98
- horizonTheme: () => horizonTheme,
99
96
  iconSize: () => iconSize,
100
97
  imageA11yProps: () => imageA11yProps,
101
98
  iosOnly: () => iosOnly,
102
99
  isAndroid: () => isAndroid,
103
100
  isIOS: () => isIOS,
104
- lavenderTheme: () => lavenderTheme,
105
101
  letterSpacing: () => letterSpacing,
106
102
  lightSemanticColors: () => lightSemanticColors,
107
103
  lightTheme: () => lightTheme,
@@ -109,7 +105,6 @@ __export(index_exports, {
109
105
  lineHeightValues: () => lineHeightValues,
110
106
  meetsContrastAA: () => meetsContrastAA,
111
107
  meetsContrastAALarge: () => meetsContrastAALarge,
112
- oceanTheme: () => oceanTheme,
113
108
  opacity: () => opacity,
114
109
  platformSelect: () => platformSelect,
115
110
  radii: () => radii,
@@ -117,15 +112,12 @@ __export(index_exports, {
117
112
  restyleLightTheme: () => restyleLightTheme,
118
113
  restylePresetThemes: () => restylePresetThemes,
119
114
  restyleTheme: () => restyleTheme,
120
- roseTheme: () => roseTheme,
121
- sageTheme: () => sageTheme,
122
115
  semanticElevation: () => semanticElevation,
123
116
  semanticMotion: () => semanticMotion,
124
117
  semanticRadii: () => semanticRadii,
125
118
  semanticSpacing: () => semanticSpacing,
126
119
  spacing: () => spacing,
127
120
  springConfig: () => springConfig,
128
- sunsetTheme: () => sunsetTheme,
129
121
  touchTarget: () => touchTarget,
130
122
  typographyPresets: () => typographyPresets,
131
123
  useAnimatedValue: () => useAnimatedValue,
@@ -2443,7 +2435,7 @@ var import_restyle2 = require("@shopify/restyle");
2443
2435
  var useRestyleTheme = () => (0, import_restyle2.useTheme)();
2444
2436
 
2445
2437
  // src/core/restyle/restylePresetRegistry.ts
2446
- function buildPair(lightOverrides, darkOverrides) {
2438
+ function createThemePair(lightOverrides, darkOverrides) {
2447
2439
  return {
2448
2440
  light: buildRestyleThemeFromThemeColors(lightSemanticColors, lightOverrides),
2449
2441
  dark: buildRestyleThemeFromThemeColors(darkSemanticColors, darkOverrides)
@@ -2453,7 +2445,7 @@ var horizon = {
2453
2445
  light: restyleLightTheme,
2454
2446
  dark: restyleDarkTheme
2455
2447
  };
2456
- var sage = buildPair(
2448
+ var sage = createThemePair(
2457
2449
  {
2458
2450
  accent: {
2459
2451
  primary: "#6B8F6B",
@@ -2479,7 +2471,7 @@ var sage = buildPair(
2479
2471
  border: { focus: "#8FAF8F" }
2480
2472
  }
2481
2473
  );
2482
- var sunset = buildPair(
2474
+ var sunset = createThemePair(
2483
2475
  {
2484
2476
  accent: {
2485
2477
  primary: "#E8836B",
@@ -2505,7 +2497,7 @@ var sunset = buildPair(
2505
2497
  border: { focus: "#FF9B85" }
2506
2498
  }
2507
2499
  );
2508
- var ocean = buildPair(
2500
+ var ocean = createThemePair(
2509
2501
  {
2510
2502
  accent: {
2511
2503
  primary: "#0E9AA5",
@@ -2531,7 +2523,7 @@ var ocean = buildPair(
2531
2523
  border: { focus: "#2DD4BF" }
2532
2524
  }
2533
2525
  );
2534
- var lavender = buildPair(
2526
+ var lavender = createThemePair(
2535
2527
  {
2536
2528
  accent: {
2537
2529
  primary: "#8B5CF6",
@@ -2557,7 +2549,7 @@ var lavender = buildPair(
2557
2549
  border: { focus: "#A78BFA" }
2558
2550
  }
2559
2551
  );
2560
- var rose = buildPair(
2552
+ var rose = createThemePair(
2561
2553
  {
2562
2554
  accent: {
2563
2555
  primary: "#E11D6C",
@@ -2923,184 +2915,6 @@ var darkTheme = {
2923
2915
  };
2924
2916
  var defaultTheme = lightTheme;
2925
2917
 
2926
- // src/providers/ThemeProvider/createTheme.ts
2927
- function deepMerge2(target, source) {
2928
- const result = { ...target };
2929
- for (const key in source) {
2930
- if (Object.prototype.hasOwnProperty.call(source, key)) {
2931
- const sourceValue = source[key];
2932
- const targetValue = target[key];
2933
- if (sourceValue !== null && typeof sourceValue === "object" && !Array.isArray(sourceValue) && targetValue !== null && typeof targetValue === "object" && !Array.isArray(targetValue)) {
2934
- result[key] = deepMerge2(
2935
- targetValue,
2936
- sourceValue
2937
- );
2938
- } else if (sourceValue !== void 0) {
2939
- result[key] = sourceValue;
2940
- }
2941
- }
2942
- }
2943
- return result;
2944
- }
2945
- function createTheme2(baseTheme, overrides) {
2946
- return deepMerge2(baseTheme, overrides);
2947
- }
2948
- function createThemePair(overrides = {}, lightOverrides = {}, darkOverrides = {}) {
2949
- return {
2950
- light: createTheme2(
2951
- createTheme2(lightTheme, overrides),
2952
- lightOverrides
2953
- ),
2954
- dark: createTheme2(
2955
- createTheme2(darkTheme, overrides),
2956
- darkOverrides
2957
- )
2958
- };
2959
- }
2960
- var horizonTheme = createThemePair({
2961
- name: "Horizon"
2962
- });
2963
- var sageTheme = createThemePair(
2964
- { name: "Sage" },
2965
- {
2966
- colors: {
2967
- accent: {
2968
- primary: "#6B8F6B",
2969
- primaryHover: "#557255",
2970
- primaryPressed: "#445944"
2971
- },
2972
- text: {
2973
- link: "#6B8F6B"
2974
- },
2975
- border: {
2976
- focus: "#6B8F6B"
2977
- }
2978
- }
2979
- },
2980
- {
2981
- colors: {
2982
- accent: {
2983
- primary: "#8FAF8F",
2984
- primaryHover: "#B3C7B3",
2985
- primaryPressed: "#6B8F6B"
2986
- },
2987
- text: {
2988
- link: "#8FAF8F"
2989
- },
2990
- border: {
2991
- focus: "#8FAF8F"
2992
- }
2993
- }
2994
- }
2995
- );
2996
- var sunsetTheme = createThemePair(
2997
- { name: "Sunset" },
2998
- {
2999
- colors: {
3000
- accent: {
3001
- primary: "#E8836B",
3002
- primaryHover: "#CC6B55",
3003
- primaryPressed: "#A85545"
3004
- },
3005
- text: {
3006
- link: "#E8836B"
3007
- },
3008
- border: {
3009
- focus: "#E8836B"
3010
- }
3011
- }
3012
- },
3013
- {
3014
- colors: {
3015
- accent: {
3016
- primary: "#FF9B85",
3017
- primaryHover: "#FFBAA8",
3018
- primaryPressed: "#E8836B"
3019
- },
3020
- text: {
3021
- link: "#FF9B85"
3022
- },
3023
- border: {
3024
- focus: "#FF9B85"
3025
- }
3026
- }
3027
- }
3028
- );
3029
- var oceanTheme = createThemePair(
3030
- {
3031
- colors: {
3032
- accent: {
3033
- primary: "#0E9AA5",
3034
- primaryHover: "#0B7E87",
3035
- primaryPressed: "#086269"
3036
- },
3037
- text: { link: "#0E9AA5" },
3038
- border: { focus: "#0E9AA5" }
3039
- }
3040
- },
3041
- {
3042
- colors: {
3043
- accent: {
3044
- primary: "#2DD4BF",
3045
- primaryHover: "#5EEAD4",
3046
- primaryPressed: "#0E9AA5"
3047
- },
3048
- text: { link: "#2DD4BF" },
3049
- border: { focus: "#2DD4BF" }
3050
- }
3051
- }
3052
- );
3053
- var lavenderTheme = createThemePair(
3054
- { name: "Lavender" },
3055
- {
3056
- colors: {
3057
- accent: {
3058
- primary: "#8B5CF6",
3059
- primaryHover: "#7C3AED",
3060
- primaryPressed: "#6D28D9"
3061
- },
3062
- text: { link: "#8B5CF6" },
3063
- border: { focus: "#8B5CF6" }
3064
- }
3065
- },
3066
- {
3067
- colors: {
3068
- accent: {
3069
- primary: "#A78BFA",
3070
- primaryHover: "#C4B5FD",
3071
- primaryPressed: "#8B5CF6"
3072
- },
3073
- text: { link: "#A78BFA" },
3074
- border: { focus: "#A78BFA" }
3075
- }
3076
- }
3077
- );
3078
- var roseTheme = createThemePair(
3079
- { name: "Rose" },
3080
- {
3081
- colors: {
3082
- accent: {
3083
- primary: "#E11D6C",
3084
- primaryHover: "#BE185D",
3085
- primaryPressed: "#9D174D"
3086
- },
3087
- text: { link: "#E11D6C" },
3088
- border: { focus: "#E11D6C" }
3089
- }
3090
- },
3091
- {
3092
- colors: {
3093
- accent: {
3094
- primary: "#F472B6",
3095
- primaryHover: "#F9A8D4",
3096
- primaryPressed: "#E11D6C"
3097
- },
3098
- text: { link: "#F472B6" },
3099
- border: { focus: "#F472B6" }
3100
- }
3101
- }
3102
- );
3103
-
3104
2918
  // src/hooks/useReducedMotion.ts
3105
2919
  var import_react3 = require("react");
3106
2920
  var import_react_native4 = require("react-native");
@@ -8684,12 +8498,10 @@ ScheduleItem.displayName = "ScheduleItem";
8684
8498
  a11yState,
8685
8499
  androidOnly,
8686
8500
  baseColors,
8687
- buildPair,
8688
8501
  buildRestyleTheme,
8689
8502
  buildRestyleThemeFromThemeColors,
8690
8503
  buttonA11yProps,
8691
8504
  checkboxA11yProps,
8692
- createTheme,
8693
8505
  createThemePair,
8694
8506
  darkSemanticColors,
8695
8507
  darkTheme,
@@ -8707,13 +8519,11 @@ ScheduleItem.displayName = "ScheduleItem";
8707
8519
  getStatusBarHeight,
8708
8520
  headingA11yProps,
8709
8521
  hitSlop,
8710
- horizonTheme,
8711
8522
  iconSize,
8712
8523
  imageA11yProps,
8713
8524
  iosOnly,
8714
8525
  isAndroid,
8715
8526
  isIOS,
8716
- lavenderTheme,
8717
8527
  letterSpacing,
8718
8528
  lightSemanticColors,
8719
8529
  lightTheme,
@@ -8721,7 +8531,6 @@ ScheduleItem.displayName = "ScheduleItem";
8721
8531
  lineHeightValues,
8722
8532
  meetsContrastAA,
8723
8533
  meetsContrastAALarge,
8724
- oceanTheme,
8725
8534
  opacity,
8726
8535
  platformSelect,
8727
8536
  radii,
@@ -8729,15 +8538,12 @@ ScheduleItem.displayName = "ScheduleItem";
8729
8538
  restyleLightTheme,
8730
8539
  restylePresetThemes,
8731
8540
  restyleTheme,
8732
- roseTheme,
8733
- sageTheme,
8734
8541
  semanticElevation,
8735
8542
  semanticMotion,
8736
8543
  semanticRadii,
8737
8544
  semanticSpacing,
8738
8545
  spacing,
8739
8546
  springConfig,
8740
- sunsetTheme,
8741
8547
  touchTarget,
8742
8548
  typographyPresets,
8743
8549
  useAnimatedValue,