@flipova/foundation 1.12.1 → 1.14.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 (91) hide show
  1. package/CHANGELOG.md +9 -4
  2. package/LICENSE +21 -21
  3. package/README.md +215 -197
  4. package/dist/chunk-2XORADW6.js +24552 -0
  5. package/dist/chunk-2XORADW6.js.map +1 -0
  6. package/dist/chunk-52BHHF5M.js +46 -0
  7. package/dist/chunk-52BHHF5M.js.map +1 -0
  8. package/dist/{chunk-MLFQD3PV.mjs → chunk-5647JY7Z.mjs} +4 -4
  9. package/dist/chunk-5647JY7Z.mjs.map +1 -0
  10. package/dist/{chunk-O7UP2OZR.js → chunk-7QFZMGL6.js} +1971 -93
  11. package/dist/chunk-7QFZMGL6.js.map +1 -0
  12. package/dist/{chunk-4KNPSB67.js → chunk-ASZEP37D.js} +2 -2
  13. package/dist/chunk-ASZEP37D.js.map +1 -0
  14. package/dist/chunk-BH5SU2JQ.mjs +8282 -0
  15. package/dist/chunk-BH5SU2JQ.mjs.map +1 -0
  16. package/dist/{chunk-ETR75HWU.mjs → chunk-BO65GO53.mjs} +3 -3
  17. package/dist/chunk-BO65GO53.mjs.map +1 -0
  18. package/dist/{chunk-DJP3T7OD.mjs → chunk-BSVXX52E.mjs} +2 -2
  19. package/dist/chunk-BSVXX52E.mjs.map +1 -0
  20. package/dist/chunk-EDTAMUO2.js +8310 -0
  21. package/dist/chunk-EDTAMUO2.js.map +1 -0
  22. package/dist/chunk-M3YLASM2.js +428 -0
  23. package/dist/chunk-M3YLASM2.js.map +1 -0
  24. package/dist/{chunk-4NPMHFKO.mjs → chunk-RQXQK3ZO.mjs} +1971 -94
  25. package/dist/chunk-RQXQK3ZO.mjs.map +1 -0
  26. package/dist/chunk-SR25V4EA.mjs +40 -0
  27. package/dist/chunk-SR25V4EA.mjs.map +1 -0
  28. package/dist/{chunk-KOKOIY5E.js → chunk-UB34WFEQ.js} +18 -18
  29. package/dist/chunk-UB34WFEQ.js.map +1 -0
  30. package/dist/chunk-ZBRWXKDF.mjs +24431 -0
  31. package/dist/chunk-ZBRWXKDF.mjs.map +1 -0
  32. package/dist/cli/ds.d.mts +1 -0
  33. package/dist/cli/ds.d.ts +1 -0
  34. package/dist/cli/ds.js +602 -0
  35. package/dist/cli/ds.js.map +1 -0
  36. package/dist/cli/ds.mjs +579 -0
  37. package/dist/cli/ds.mjs.map +1 -0
  38. package/dist/cli/flipova.d.mts +1 -0
  39. package/dist/cli/flipova.d.ts +1 -0
  40. package/dist/cli/flipova.js +161 -0
  41. package/dist/cli/flipova.js.map +1 -0
  42. package/dist/cli/flipova.mjs +154 -0
  43. package/dist/cli/flipova.mjs.map +1 -0
  44. package/dist/config/index.d.mts +12 -12
  45. package/dist/config/index.d.ts +12 -12
  46. package/dist/config/index.js +6 -6
  47. package/dist/config/index.mjs +1 -1
  48. package/dist/createTheme-DQeX3s0I.d.mts +78 -0
  49. package/dist/createTheme-Y4jfz4-u.d.ts +78 -0
  50. package/dist/{index-CpBqkIpd.d.mts → index-CuaJA3gM.d.mts} +10 -10
  51. package/dist/{index-CpBqkIpd.d.ts → index-CuaJA3gM.d.ts} +10 -10
  52. package/dist/index.d.mts +4 -3
  53. package/dist/index.d.ts +4 -3
  54. package/dist/index.js +258 -254
  55. package/dist/index.mjs +5 -5
  56. package/dist/registry/index.d.mts +470 -3
  57. package/dist/registry/index.d.ts +470 -3
  58. package/dist/registry/index.js +100 -96
  59. package/dist/registry/index.mjs +1 -1
  60. package/dist/theme/index.d.mts +4 -88
  61. package/dist/theme/index.d.ts +4 -88
  62. package/dist/theme/index.js +6 -6
  63. package/dist/theme/index.mjs +1 -1
  64. package/dist/tokens/index.js +10 -10
  65. package/dist/tokens/index.mjs +1 -1
  66. package/dist/types/index.d.mts +23 -21
  67. package/dist/types/index.d.ts +23 -21
  68. package/dist/ui/index.d.mts +241 -83
  69. package/dist/ui/index.d.ts +241 -83
  70. package/dist/ui/index.js +182 -182
  71. package/dist/ui/index.mjs +2 -2
  72. package/dist/web/index.d.mts +316 -0
  73. package/dist/web/index.d.ts +316 -0
  74. package/dist/web/index.js +1331 -31004
  75. package/dist/web/index.js.map +1 -1
  76. package/dist/web/index.mjs +1245 -30791
  77. package/dist/web/index.mjs.map +1 -1
  78. package/package.json +41 -21
  79. package/dist/chunk-4KNPSB67.js.map +0 -1
  80. package/dist/chunk-4NPMHFKO.mjs.map +0 -1
  81. package/dist/chunk-DJP3T7OD.mjs.map +0 -1
  82. package/dist/chunk-ETR75HWU.mjs.map +0 -1
  83. package/dist/chunk-KGMGD6GU.js +0 -7024
  84. package/dist/chunk-KGMGD6GU.js.map +0 -1
  85. package/dist/chunk-KOKOIY5E.js.map +0 -1
  86. package/dist/chunk-MLFQD3PV.mjs.map +0 -1
  87. package/dist/chunk-O7UP2OZR.js.map +0 -1
  88. package/dist/chunk-RMLLGNWR.js +0 -428
  89. package/dist/chunk-RMLLGNWR.js.map +0 -1
  90. package/dist/chunk-XTYE5PNQ.mjs +0 -6900
  91. package/dist/chunk-XTYE5PNQ.mjs.map +0 -1
@@ -0,0 +1,78 @@
1
+ import React from 'react';
2
+ import { b as ThemeMode, a as CustomThemeMode, d as ThemeRegistry, C as ColorScheme } from './index-CuaJA3gM.mjs';
3
+
4
+ /**
5
+ * Defines the shape of the theme context value.
6
+ * Provides access to the current theme, mode, theme setter, and available themes.
7
+ */
8
+ interface ThemeContextType {
9
+ /** The current active color scheme object */
10
+ theme: ColorScheme;
11
+ /** The current theme mode (built-in or custom) */
12
+ mode: ThemeMode | CustomThemeMode;
13
+ /** Function to change the current theme */
14
+ setTheme: (theme: ThemeMode | CustomThemeMode) => void;
15
+ /** Registry of all available themes */
16
+ availableThemes: ThemeRegistry;
17
+ }
18
+ /**
19
+ * Hook to access the theme context.
20
+ *
21
+ * @param customTheme - (Optional) Custom theme mode to use instead of current context theme.
22
+ * @returns Theme context object with current theme, mode, theme setter, and available themes.
23
+ * @throws Error if used outside a ThemeProvider.
24
+ *
25
+ * @example
26
+ * ```tsx
27
+ * // Basic usage
28
+ * const { theme, mode, setTheme } = useTheme();
29
+ *
30
+ * // With a specific custom theme
31
+ * const { theme } = useTheme('neon');
32
+ * ```
33
+ */
34
+ declare const useTheme: (customTheme?: ThemeMode | CustomThemeMode) => ThemeContextType;
35
+ /**
36
+ * Props for the ThemeProvider component.
37
+ */
38
+ interface ThemeProviderProps {
39
+ /** Child components that will have access to theme context */
40
+ children: React.ReactNode;
41
+ /** Default theme to use when no theme is stored in state */
42
+ defaultTheme?: ThemeMode | CustomThemeMode;
43
+ /** Additional custom themes to merge with built-in themes */
44
+ customThemes?: Partial<ThemeRegistry>;
45
+ }
46
+ /**
47
+ * Provides the theme context to child components.
48
+ *
49
+ * Manages the current theme state and provides access to theme changing functionality.
50
+ * Supports built-in themes (light, dark, neon) and custom themes.
51
+ *
52
+ * @param props - The theme provider properties.
53
+ * @returns A context provider component.
54
+ *
55
+ * @example
56
+ * ```tsx
57
+ * // Basic usage
58
+ * <ThemeProvider>
59
+ * <App />
60
+ * </ThemeProvider>
61
+ *
62
+ * // With default theme and custom themes
63
+ * <ThemeProvider defaultTheme="dark" customThemes={{ myTheme: customThemeConfig }}>
64
+ * <App />
65
+ * </ThemeProvider>
66
+ * ```
67
+ */
68
+ declare const ThemeProvider: React.FC<ThemeProviderProps>;
69
+
70
+ /**
71
+ * Creates a theme color scheme by merging default colors with optional overrides.
72
+ *
73
+ * @param overrides - (Optional) Object containing color values to override.
74
+ * @returns The complete generated theme color scheme.
75
+ */
76
+ declare const createTheme: (overrides?: Partial<ColorScheme>) => ColorScheme;
77
+
78
+ export { ThemeProvider as T, createTheme as c, useTheme as u };
@@ -0,0 +1,78 @@
1
+ import React from 'react';
2
+ import { b as ThemeMode, a as CustomThemeMode, d as ThemeRegistry, C as ColorScheme } from './index-CuaJA3gM.js';
3
+
4
+ /**
5
+ * Defines the shape of the theme context value.
6
+ * Provides access to the current theme, mode, theme setter, and available themes.
7
+ */
8
+ interface ThemeContextType {
9
+ /** The current active color scheme object */
10
+ theme: ColorScheme;
11
+ /** The current theme mode (built-in or custom) */
12
+ mode: ThemeMode | CustomThemeMode;
13
+ /** Function to change the current theme */
14
+ setTheme: (theme: ThemeMode | CustomThemeMode) => void;
15
+ /** Registry of all available themes */
16
+ availableThemes: ThemeRegistry;
17
+ }
18
+ /**
19
+ * Hook to access the theme context.
20
+ *
21
+ * @param customTheme - (Optional) Custom theme mode to use instead of current context theme.
22
+ * @returns Theme context object with current theme, mode, theme setter, and available themes.
23
+ * @throws Error if used outside a ThemeProvider.
24
+ *
25
+ * @example
26
+ * ```tsx
27
+ * // Basic usage
28
+ * const { theme, mode, setTheme } = useTheme();
29
+ *
30
+ * // With a specific custom theme
31
+ * const { theme } = useTheme('neon');
32
+ * ```
33
+ */
34
+ declare const useTheme: (customTheme?: ThemeMode | CustomThemeMode) => ThemeContextType;
35
+ /**
36
+ * Props for the ThemeProvider component.
37
+ */
38
+ interface ThemeProviderProps {
39
+ /** Child components that will have access to theme context */
40
+ children: React.ReactNode;
41
+ /** Default theme to use when no theme is stored in state */
42
+ defaultTheme?: ThemeMode | CustomThemeMode;
43
+ /** Additional custom themes to merge with built-in themes */
44
+ customThemes?: Partial<ThemeRegistry>;
45
+ }
46
+ /**
47
+ * Provides the theme context to child components.
48
+ *
49
+ * Manages the current theme state and provides access to theme changing functionality.
50
+ * Supports built-in themes (light, dark, neon) and custom themes.
51
+ *
52
+ * @param props - The theme provider properties.
53
+ * @returns A context provider component.
54
+ *
55
+ * @example
56
+ * ```tsx
57
+ * // Basic usage
58
+ * <ThemeProvider>
59
+ * <App />
60
+ * </ThemeProvider>
61
+ *
62
+ * // With default theme and custom themes
63
+ * <ThemeProvider defaultTheme="dark" customThemes={{ myTheme: customThemeConfig }}>
64
+ * <App />
65
+ * </ThemeProvider>
66
+ * ```
67
+ */
68
+ declare const ThemeProvider: React.FC<ThemeProviderProps>;
69
+
70
+ /**
71
+ * Creates a theme color scheme by merging default colors with optional overrides.
72
+ *
73
+ * @param overrides - (Optional) Object containing color values to override.
74
+ * @returns The complete generated theme color scheme.
75
+ */
76
+ declare const createTheme: (overrides?: Partial<ColorScheme>) => ColorScheme;
77
+
78
+ export { ThemeProvider as T, createTheme as c, useTheme as u };
@@ -12,16 +12,16 @@ declare const themes: {
12
12
  type ThemeName = keyof typeof themes;
13
13
 
14
14
  /**
15
- * Type représentant les modes de thème intégrés (clair ou sombre) et générés.
15
+ * Type representing built-in and generated theme modes.
16
16
  */
17
17
  type ThemeMode = ThemeName | 'light' | 'dark';
18
18
  /**
19
- * Type représentant un mode de thème personnalisé sous forme de chaîne de caractères.
19
+ * Type representing a custom theme mode as a string.
20
20
  */
21
21
  type CustomThemeMode = string;
22
22
  /**
23
- * Gradients du thème.
24
- * Chaque gradient est un tableau de 2+ couleurs hex.
23
+ * Theme gradient color definitions.
24
+ * Each gradient is an array of 2+ color strings.
25
25
  */
26
26
  type ThemeGradients = {
27
27
  primary: string[];
@@ -34,11 +34,11 @@ type ThemeGradients = {
34
34
  vibrant: string[];
35
35
  };
36
36
  /**
37
- * Schéma de couleurs d'un thème.
37
+ * Theme color scheme specification.
38
38
  *
39
- * Contient UNIQUEMENT les couleurs et gradients — les tokens statiques
40
- * (spacing, radii, shadows, typography) sont importés directement
41
- * depuis `foundation/tokens` car ils ne changent pas entre les thèmes.
39
+ * Contains color and gradient tokens — static tokens
40
+ * (spacing, radii, shadows, typography) are imported directly
41
+ * from `foundation/tokens` as they remain constant across themes.
42
42
  */
43
43
  type ColorScheme = {
44
44
  background: string;
@@ -66,8 +66,8 @@ type ColorScheme = {
66
66
  gradients: ThemeGradients;
67
67
  };
68
68
  /**
69
- * Registre des thèmes disponibles dans l'application.
70
- * Contient au minimum les thèmes clair et sombre, plus tout thème personnalisé.
69
+ * Registry of available application themes.
70
+ * Contains light and dark themes, plus any registered custom themes.
71
71
  */
72
72
  type ThemeRegistry = {
73
73
  light: ColorScheme;
@@ -12,16 +12,16 @@ declare const themes: {
12
12
  type ThemeName = keyof typeof themes;
13
13
 
14
14
  /**
15
- * Type représentant les modes de thème intégrés (clair ou sombre) et générés.
15
+ * Type representing built-in and generated theme modes.
16
16
  */
17
17
  type ThemeMode = ThemeName | 'light' | 'dark';
18
18
  /**
19
- * Type représentant un mode de thème personnalisé sous forme de chaîne de caractères.
19
+ * Type representing a custom theme mode as a string.
20
20
  */
21
21
  type CustomThemeMode = string;
22
22
  /**
23
- * Gradients du thème.
24
- * Chaque gradient est un tableau de 2+ couleurs hex.
23
+ * Theme gradient color definitions.
24
+ * Each gradient is an array of 2+ color strings.
25
25
  */
26
26
  type ThemeGradients = {
27
27
  primary: string[];
@@ -34,11 +34,11 @@ type ThemeGradients = {
34
34
  vibrant: string[];
35
35
  };
36
36
  /**
37
- * Schéma de couleurs d'un thème.
37
+ * Theme color scheme specification.
38
38
  *
39
- * Contient UNIQUEMENT les couleurs et gradients — les tokens statiques
40
- * (spacing, radii, shadows, typography) sont importés directement
41
- * depuis `foundation/tokens` car ils ne changent pas entre les thèmes.
39
+ * Contains color and gradient tokens — static tokens
40
+ * (spacing, radii, shadows, typography) are imported directly
41
+ * from `foundation/tokens` as they remain constant across themes.
42
42
  */
43
43
  type ColorScheme = {
44
44
  background: string;
@@ -66,8 +66,8 @@ type ColorScheme = {
66
66
  gradients: ThemeGradients;
67
67
  };
68
68
  /**
69
- * Registre des thèmes disponibles dans l'application.
70
- * Contient au minimum les thèmes clair et sombre, plus tout thème personnalisé.
69
+ * Registry of available application themes.
70
+ * Contains light and dark themes, plus any registered custom themes.
71
71
  */
72
72
  type ThemeRegistry = {
73
73
  light: ColorScheme;
package/dist/index.d.mts CHANGED
@@ -1,10 +1,11 @@
1
1
  export { Breakpoint, ColorToken, DurationToken, EasingToken, FontSizeToken, FontWeightToken, LetterSpacingToken, LineHeightToken, OpacityToken, RadiusToken, ShadowToken, SpacingToken, ZIndexToken, breakpoints, colors, motion, opacity, radii, shadows, spacing, typography, zIndex } from './tokens/index.mjs';
2
- export { ThemeProvider, createTheme, useColorScheme, useTheme } from './theme/index.mjs';
3
- export { C as ColorScheme, a as CustomThemeMode, T as ThemeGradients, b as ThemeMode, c as ThemeName, d as ThemeRegistry, t as themes } from './index-CpBqkIpd.mjs';
2
+ export { T as ThemeProvider, c as createTheme, u as useTheme } from './createTheme-DQeX3s0I.mjs';
3
+ export { C as ColorScheme, a as CustomThemeMode, T as ThemeGradients, b as ThemeMode, c as ThemeName, d as ThemeRegistry, t as themes } from './index-CuaJA3gM.mjs';
4
+ export { useColorScheme } from './theme/index.mjs';
4
5
  export { FoundationConfig, FoundationProvider, ResolvedConfig, ResolvedTokens, ThemeDefinition, TokenOverrides, defineConfig, resolveConfig, useFoundationConfig, useTokens } from './config/index.mjs';
5
6
  export { AnyMeta, BlockCategory, BlockMeta, ComponentCategory, ComponentColorConfig, ComponentMeta, ComponentSizeConfig, DefaultsOf, LayoutBackground, LayoutCategory, LayoutConstants, LayoutMeta, LayoutPadding, PrimitiveMeta, PropDescriptor, PropType, SlotDescriptor, SpringConfig, ThemeColorRole, VariantDescriptor } from './types/index.mjs';
6
7
  export { Accordion, Audio, AuthLayout, Avatar, AvatarPicker, Badge, BadgeWrapper, BentoLayout, BlurView, BlurWrapper, BottomDrawerLayout, Box, Button, Camera, Card, Center, CenteredLayout, Checkbox, Chip, CollapsibleWrapper, ColorPicker, DashboardLayout, DatePicker, DeckLayout, Divider, EmojiPicker, FadeInWrapper, FilePicker, FlatList, FlexLayout, FlipLayout, FooterLayout, GifPicker, Gradient, GridLayout, HeaderContentLayout, Icon, IconButton, IconPicker, Image, Inline, KeyboardAvoidWrapper, LeftDrawerLayout, LottieAnimation, MapView, MasonryLayout, NumberInput, OTPInput, ParallaxLayout, PasswordInput, PlatformOverrideProvider, PlatformOverrideValue, Pressable, ProgressBar, RadioGroup, ResponsiveLayout, ResponsiveValue, RootLayout, SafeAreaWrapper, ScalePressWrapper, Scroll, ScrollLayout, SearchInput, Select, Separator, ShimmerWrapper, SidebarLayout, SkeletonWrapper, SketchLayout, SlideUpWrapper, Slider, SortableGridLayout, Spinner, SplitLayout, Stack, Swipe2ScreenLayout, SwiperLayout, Switch, SystemLayout, Tabs, Text, TextArea, TextInput, TooltipWrapper, TopDrawerLayout, TutoElement, TutoLayout, Video, VoidLayout, WebView, WheelPicker, getBreakpoint, getResponsiveValue, usePlatformOverride, useTutoContext } from './ui/index.mjs';
7
- export { AccordionMeta, AudioMeta, AuthLayoutMeta, AvatarMeta, AvatarPickerMeta, BadgeMeta, BadgeWrapperMeta, BentoLayoutMeta, BlurViewMeta, BlurWrapperMeta, BottomDrawerLayoutMeta, BoxMeta, ButtonMeta, CameraMeta, CardMeta, CenterMeta, CenteredLayoutMeta, CheckboxMeta, ChipMeta, CollapsibleWrapperMeta, ColorPickerMeta, DashboardLayoutMeta, DatePickerMeta, DeckLayoutMeta, DividerMeta, EmojiPickerMeta, FadeInWrapperMeta, FilePickerMeta, FlatListMeta, FlexLayoutMeta, FlipLayoutMeta, FooterLayoutMeta, GifPickerMeta, GradientMeta, GridLayoutMeta, HeaderContentLayoutMeta, IconButtonMeta, IconMeta, IconPickerMeta, ImageMeta, InlineMeta, KeyboardAvoidWrapperMeta, LeftDrawerLayoutMeta, LottieAnimationMeta, MapViewMeta, MasonryLayoutMeta, NumberInputMeta, OTPInputMeta, ParallaxLayoutMeta, PasswordInputMeta, PressableMeta, ProgressBarMeta, RadioGroupMeta, ResponsiveLayoutMeta, RootLayoutMeta, SafeAreaWrapperMeta, ScalePressWrapperMeta, ScrollLayoutMeta, ScrollMeta, SearchInputMeta, SelectMeta, SeparatorMeta, ShimmerWrapperMeta, SidebarLayoutMeta, SkeletonWrapperMeta, SketchLayoutMeta, SlideUpWrapperMeta, SliderMeta, SortableGridLayoutMeta, SpinnerMeta, SplitLayoutMeta, StackMeta, Swipe2ScreenLayoutMeta, SwiperLayoutMeta, SwitchMeta, SystemLayoutMeta, TabsMeta, TextAreaMeta, TextInputMeta, TextMeta, TooltipWrapperMeta, TopDrawerLayoutMeta, TutoLayoutMeta, VideoMeta, VoidLayoutMeta, WebViewMeta, WheelPickerMeta, blockRegistry, componentRegistry, getBlockMeta, getComponentMeta, getLayoutMeta, getPrimitiveMeta, layoutRegistry, primitiveRegistry } from './registry/index.mjs';
8
+ export { AccordionMeta, AudioMeta, AuthLayoutMeta, AvatarMeta, AvatarPickerMeta, BadgeMeta, BadgeWrapperMeta, BentoLayoutMeta, BlurViewMeta, BlurWrapperMeta, BottomDrawerLayoutMeta, BoxMeta, ButtonMeta, CameraMeta, CardMeta, CenterMeta, CenteredLayoutMeta, CheckboxMeta, ChipMeta, CollapsibleWrapperMeta, ColorPickerMeta, DashboardLayoutMeta, DatePickerMeta, DeckLayoutMeta, DividerMeta, EmojiPickerMeta, FadeInWrapperMeta, FilePickerMeta, FlatListMeta, FlexLayoutMeta, FlipLayoutMeta, FooterLayoutMeta, GifPickerMeta, GradientMeta, GridLayoutMeta, HeaderContentLayoutMeta, IconButtonMeta, IconMeta, IconPickerMeta, ImageMeta, InlineMeta, KeyboardAvoidWrapperMeta, LeftDrawerLayoutMeta, LottieAnimationMeta, MapViewMeta, MasonryLayoutMeta, NumberInputMeta, OTPInputMeta, ParallaxLayoutMeta, PasswordInputMeta, PressableMeta, ProgressBarMeta, RadioGroupMeta, ResponsiveLayoutMeta, RootLayoutMeta, SafeAreaWrapperMeta, ScalePressWrapperMeta, ScrollLayoutMeta, ScrollMeta, SearchInputMeta, SelectMeta, SeparatorMeta, ShimmerWrapperMeta, SidebarLayoutMeta, SkeletonWrapperMeta, SketchLayoutMeta, SlideUpWrapperMeta, SliderMeta, SortableGridLayoutMeta, SpinnerMeta, SplitLayoutMeta, StackMeta, Swipe2ScreenLayoutMeta, SwiperLayoutMeta, SwitchMeta, SystemLayoutMeta, TabsMeta, TextAreaMeta, TextInputMeta, TextMeta, TooltipWrapperMeta, TopDrawerLayoutMeta, TutoLayoutMeta, VideoMeta, VoidLayoutMeta, WebViewMeta, WheelPickerMeta, blockRegistry, componentRegistry, getBlockMeta, getComponentMeta, getLayoutMeta, getMeta, getPrimitiveMeta, layoutRegistry, primitiveRegistry } from './registry/index.mjs';
8
9
  import 'react';
9
10
  import 'react-native';
10
11
  import 'react/jsx-runtime';
package/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
1
1
  export { Breakpoint, ColorToken, DurationToken, EasingToken, FontSizeToken, FontWeightToken, LetterSpacingToken, LineHeightToken, OpacityToken, RadiusToken, ShadowToken, SpacingToken, ZIndexToken, breakpoints, colors, motion, opacity, radii, shadows, spacing, typography, zIndex } from './tokens/index.js';
2
- export { ThemeProvider, createTheme, useColorScheme, useTheme } from './theme/index.js';
3
- export { C as ColorScheme, a as CustomThemeMode, T as ThemeGradients, b as ThemeMode, c as ThemeName, d as ThemeRegistry, t as themes } from './index-CpBqkIpd.js';
2
+ export { T as ThemeProvider, c as createTheme, u as useTheme } from './createTheme-Y4jfz4-u.js';
3
+ export { C as ColorScheme, a as CustomThemeMode, T as ThemeGradients, b as ThemeMode, c as ThemeName, d as ThemeRegistry, t as themes } from './index-CuaJA3gM.js';
4
+ export { useColorScheme } from './theme/index.js';
4
5
  export { FoundationConfig, FoundationProvider, ResolvedConfig, ResolvedTokens, ThemeDefinition, TokenOverrides, defineConfig, resolveConfig, useFoundationConfig, useTokens } from './config/index.js';
5
6
  export { AnyMeta, BlockCategory, BlockMeta, ComponentCategory, ComponentColorConfig, ComponentMeta, ComponentSizeConfig, DefaultsOf, LayoutBackground, LayoutCategory, LayoutConstants, LayoutMeta, LayoutPadding, PrimitiveMeta, PropDescriptor, PropType, SlotDescriptor, SpringConfig, ThemeColorRole, VariantDescriptor } from './types/index.js';
6
7
  export { Accordion, Audio, AuthLayout, Avatar, AvatarPicker, Badge, BadgeWrapper, BentoLayout, BlurView, BlurWrapper, BottomDrawerLayout, Box, Button, Camera, Card, Center, CenteredLayout, Checkbox, Chip, CollapsibleWrapper, ColorPicker, DashboardLayout, DatePicker, DeckLayout, Divider, EmojiPicker, FadeInWrapper, FilePicker, FlatList, FlexLayout, FlipLayout, FooterLayout, GifPicker, Gradient, GridLayout, HeaderContentLayout, Icon, IconButton, IconPicker, Image, Inline, KeyboardAvoidWrapper, LeftDrawerLayout, LottieAnimation, MapView, MasonryLayout, NumberInput, OTPInput, ParallaxLayout, PasswordInput, PlatformOverrideProvider, PlatformOverrideValue, Pressable, ProgressBar, RadioGroup, ResponsiveLayout, ResponsiveValue, RootLayout, SafeAreaWrapper, ScalePressWrapper, Scroll, ScrollLayout, SearchInput, Select, Separator, ShimmerWrapper, SidebarLayout, SkeletonWrapper, SketchLayout, SlideUpWrapper, Slider, SortableGridLayout, Spinner, SplitLayout, Stack, Swipe2ScreenLayout, SwiperLayout, Switch, SystemLayout, Tabs, Text, TextArea, TextInput, TooltipWrapper, TopDrawerLayout, TutoElement, TutoLayout, Video, VoidLayout, WebView, WheelPicker, getBreakpoint, getResponsiveValue, usePlatformOverride, useTutoContext } from './ui/index.js';
7
- export { AccordionMeta, AudioMeta, AuthLayoutMeta, AvatarMeta, AvatarPickerMeta, BadgeMeta, BadgeWrapperMeta, BentoLayoutMeta, BlurViewMeta, BlurWrapperMeta, BottomDrawerLayoutMeta, BoxMeta, ButtonMeta, CameraMeta, CardMeta, CenterMeta, CenteredLayoutMeta, CheckboxMeta, ChipMeta, CollapsibleWrapperMeta, ColorPickerMeta, DashboardLayoutMeta, DatePickerMeta, DeckLayoutMeta, DividerMeta, EmojiPickerMeta, FadeInWrapperMeta, FilePickerMeta, FlatListMeta, FlexLayoutMeta, FlipLayoutMeta, FooterLayoutMeta, GifPickerMeta, GradientMeta, GridLayoutMeta, HeaderContentLayoutMeta, IconButtonMeta, IconMeta, IconPickerMeta, ImageMeta, InlineMeta, KeyboardAvoidWrapperMeta, LeftDrawerLayoutMeta, LottieAnimationMeta, MapViewMeta, MasonryLayoutMeta, NumberInputMeta, OTPInputMeta, ParallaxLayoutMeta, PasswordInputMeta, PressableMeta, ProgressBarMeta, RadioGroupMeta, ResponsiveLayoutMeta, RootLayoutMeta, SafeAreaWrapperMeta, ScalePressWrapperMeta, ScrollLayoutMeta, ScrollMeta, SearchInputMeta, SelectMeta, SeparatorMeta, ShimmerWrapperMeta, SidebarLayoutMeta, SkeletonWrapperMeta, SketchLayoutMeta, SlideUpWrapperMeta, SliderMeta, SortableGridLayoutMeta, SpinnerMeta, SplitLayoutMeta, StackMeta, Swipe2ScreenLayoutMeta, SwiperLayoutMeta, SwitchMeta, SystemLayoutMeta, TabsMeta, TextAreaMeta, TextInputMeta, TextMeta, TooltipWrapperMeta, TopDrawerLayoutMeta, TutoLayoutMeta, VideoMeta, VoidLayoutMeta, WebViewMeta, WheelPickerMeta, blockRegistry, componentRegistry, getBlockMeta, getComponentMeta, getLayoutMeta, getPrimitiveMeta, layoutRegistry, primitiveRegistry } from './registry/index.js';
8
+ export { AccordionMeta, AudioMeta, AuthLayoutMeta, AvatarMeta, AvatarPickerMeta, BadgeMeta, BadgeWrapperMeta, BentoLayoutMeta, BlurViewMeta, BlurWrapperMeta, BottomDrawerLayoutMeta, BoxMeta, ButtonMeta, CameraMeta, CardMeta, CenterMeta, CenteredLayoutMeta, CheckboxMeta, ChipMeta, CollapsibleWrapperMeta, ColorPickerMeta, DashboardLayoutMeta, DatePickerMeta, DeckLayoutMeta, DividerMeta, EmojiPickerMeta, FadeInWrapperMeta, FilePickerMeta, FlatListMeta, FlexLayoutMeta, FlipLayoutMeta, FooterLayoutMeta, GifPickerMeta, GradientMeta, GridLayoutMeta, HeaderContentLayoutMeta, IconButtonMeta, IconMeta, IconPickerMeta, ImageMeta, InlineMeta, KeyboardAvoidWrapperMeta, LeftDrawerLayoutMeta, LottieAnimationMeta, MapViewMeta, MasonryLayoutMeta, NumberInputMeta, OTPInputMeta, ParallaxLayoutMeta, PasswordInputMeta, PressableMeta, ProgressBarMeta, RadioGroupMeta, ResponsiveLayoutMeta, RootLayoutMeta, SafeAreaWrapperMeta, ScalePressWrapperMeta, ScrollLayoutMeta, ScrollMeta, SearchInputMeta, SelectMeta, SeparatorMeta, ShimmerWrapperMeta, SidebarLayoutMeta, SkeletonWrapperMeta, SketchLayoutMeta, SlideUpWrapperMeta, SliderMeta, SortableGridLayoutMeta, SpinnerMeta, SplitLayoutMeta, StackMeta, Swipe2ScreenLayoutMeta, SwiperLayoutMeta, SwitchMeta, SystemLayoutMeta, TabsMeta, TextAreaMeta, TextInputMeta, TextMeta, TooltipWrapperMeta, TopDrawerLayoutMeta, TutoLayoutMeta, VideoMeta, VoidLayoutMeta, WebViewMeta, WheelPickerMeta, blockRegistry, componentRegistry, getBlockMeta, getComponentMeta, getLayoutMeta, getMeta, getPrimitiveMeta, layoutRegistry, primitiveRegistry } from './registry/index.js';
8
9
  import 'react';
9
10
  import 'react-native';
10
11
  import 'react/jsx-runtime';