@flipova/foundation 1.11.0 → 1.12.1

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 (158) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/README.md +20 -94
  3. package/dist/chunk-4KNPSB67.js +423 -0
  4. package/dist/chunk-4KNPSB67.js.map +1 -0
  5. package/dist/chunk-4NPMHFKO.mjs +6609 -0
  6. package/dist/chunk-4NPMHFKO.mjs.map +1 -0
  7. package/dist/chunk-5N5HC4ZA.mjs +3 -0
  8. package/dist/{chunk-HS2UOQU4.mjs.map → chunk-5N5HC4ZA.mjs.map} +1 -1
  9. package/dist/chunk-DJP3T7OD.mjs +413 -0
  10. package/dist/chunk-DJP3T7OD.mjs.map +1 -0
  11. package/dist/chunk-DNV5UBNF.mjs +3 -0
  12. package/dist/chunk-DNV5UBNF.mjs.map +1 -0
  13. package/dist/chunk-ETR75HWU.mjs +422 -0
  14. package/dist/chunk-ETR75HWU.mjs.map +1 -0
  15. package/dist/chunk-IJTI6EX4.js +4 -0
  16. package/dist/{chunk-2VLBOYBU.js.map → chunk-IJTI6EX4.js.map} +1 -1
  17. package/dist/chunk-KGMGD6GU.js +7024 -0
  18. package/dist/chunk-KGMGD6GU.js.map +1 -0
  19. package/dist/{chunk-D4QJYQOK.js → chunk-KOKOIY5E.js} +49 -44
  20. package/dist/chunk-KOKOIY5E.js.map +1 -0
  21. package/dist/{chunk-YTD4AWV2.mjs → chunk-MLFQD3PV.mjs} +42 -37
  22. package/dist/chunk-MLFQD3PV.mjs.map +1 -0
  23. package/dist/chunk-O7UP2OZR.js +6705 -0
  24. package/dist/chunk-O7UP2OZR.js.map +1 -0
  25. package/dist/chunk-OXKOGLXE.js +4 -0
  26. package/dist/chunk-OXKOGLXE.js.map +1 -0
  27. package/dist/chunk-RMLLGNWR.js +428 -0
  28. package/dist/chunk-RMLLGNWR.js.map +1 -0
  29. package/dist/chunk-XTYE5PNQ.mjs +6900 -0
  30. package/dist/chunk-XTYE5PNQ.mjs.map +1 -0
  31. package/dist/config/index.d.mts +65 -70
  32. package/dist/config/index.d.ts +65 -70
  33. package/dist/config/index.js +6 -6
  34. package/dist/config/index.mjs +1 -1
  35. package/dist/{index-D4qJw_Et.d.mts → index-CpBqkIpd.d.mts} +25 -2
  36. package/dist/{index-D4qJw_Et.d.ts → index-CpBqkIpd.d.ts} +25 -2
  37. package/dist/index.d.mts +7 -5
  38. package/dist/index.d.ts +7 -5
  39. package/dist/index.js +499 -298
  40. package/dist/index.mjs +5 -4
  41. package/dist/registry/index.d.mts +9693 -0
  42. package/dist/registry/index.d.ts +9693 -0
  43. package/dist/registry/index.js +388 -0
  44. package/dist/registry/index.mjs +3 -0
  45. package/dist/theme/index.d.mts +46 -49
  46. package/dist/theme/index.d.ts +46 -49
  47. package/dist/theme/index.js +7 -39
  48. package/dist/theme/index.mjs +1 -1
  49. package/dist/tokens/index.d.mts +265 -130
  50. package/dist/tokens/index.d.ts +265 -130
  51. package/dist/tokens/index.js +15 -31
  52. package/dist/tokens/index.mjs +1 -1
  53. package/dist/types/index.d.mts +200 -0
  54. package/dist/types/index.d.ts +200 -0
  55. package/dist/types/index.js +4 -0
  56. package/dist/types/index.js.map +1 -0
  57. package/dist/types/index.mjs +3 -0
  58. package/dist/types/index.mjs.map +1 -0
  59. package/dist/ui/index.d.mts +2981 -0
  60. package/dist/ui/index.d.ts +2981 -0
  61. package/dist/ui/index.js +729 -0
  62. package/dist/ui/index.js.map +1 -0
  63. package/dist/ui/index.mjs +4 -0
  64. package/dist/ui/index.mjs.map +1 -0
  65. package/dist/web/index.js +30935 -6072
  66. package/dist/web/index.js.map +1 -1
  67. package/dist/web/index.mjs +30747 -6006
  68. package/dist/web/index.mjs.map +1 -1
  69. package/package.json +66 -32
  70. package/dist/chunk-2VLBOYBU.js +0 -4
  71. package/dist/chunk-32VWREEH.mjs +0 -8256
  72. package/dist/chunk-32VWREEH.mjs.map +0 -1
  73. package/dist/chunk-3RJREGCN.js +0 -8407
  74. package/dist/chunk-3RJREGCN.js.map +0 -1
  75. package/dist/chunk-D4QJYQOK.js.map +0 -1
  76. package/dist/chunk-HS2UOQU4.mjs +0 -3
  77. package/dist/chunk-IKVONTJC.mjs +0 -397
  78. package/dist/chunk-IKVONTJC.mjs.map +0 -1
  79. package/dist/chunk-RRV2Q4SS.mjs +0 -655
  80. package/dist/chunk-RRV2Q4SS.mjs.map +0 -1
  81. package/dist/chunk-RUZBEFDO.js +0 -669
  82. package/dist/chunk-RUZBEFDO.js.map +0 -1
  83. package/dist/chunk-UBZMVSIN.js +0 -412
  84. package/dist/chunk-UBZMVSIN.js.map +0 -1
  85. package/dist/chunk-YTD4AWV2.mjs.map +0 -1
  86. package/dist/layout/index.d.mts +0 -2529
  87. package/dist/layout/index.d.ts +0 -2529
  88. package/dist/layout/index.js +0 -512
  89. package/dist/layout/index.mjs +0 -3
  90. package/dist/spacing-CXUulLF9.d.mts +0 -128
  91. package/dist/spacing-CXUulLF9.d.ts +0 -128
  92. package/dist/sso/index.js +0 -379
  93. package/dist/sso/index.js.map +0 -1
  94. package/dist/sso/index.mjs +0 -374
  95. package/dist/sso/index.mjs.map +0 -1
  96. package/dist/studio-v2/cli/index.js +0 -96
  97. package/studio-v2/apps/web/CHANGELOG.md +0 -7
  98. package/studio-v2/apps/web/LICENSE +0 -21
  99. package/studio-v2/apps/web/README.md +0 -56
  100. package/studio-v2/apps/web/dist/+not-found.html +0 -793
  101. package/studio-v2/apps/web/dist/_expo/.routes.json +0 -3
  102. package/studio-v2/apps/web/dist/_expo/static/css/global-a4717de456877faacb88ee482aa99653.css +0 -1
  103. package/studio-v2/apps/web/dist/_expo/static/js/web/entry-5d96588cc8f2ee5c00754cef9ac6481d.js +0 -15648
  104. package/studio-v2/apps/web/dist/_expo/static/js/web/index-470f33f64d8c4f7b8d8da2632b2959c2.js +0 -4
  105. package/studio-v2/apps/web/dist/_expo/static/js/web/index-f7fcd21ae9d8dacf4c88ea5796614af0.js +0 -3
  106. package/studio-v2/apps/web/dist/_sitemap.html +0 -793
  107. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/AntDesign.3f78af31cca60105799838a1a7a59fbd.ttf +0 -0
  108. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Entypo.31b5ffea3daddc69dd01a1f3d6cf63c5.ttf +0 -0
  109. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/EvilIcons.140c53a7643ea949007aa9a282153849.ttf +0 -0
  110. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Feather.ca4b48e04dc1ce10bfbddb262c8b835f.ttf +0 -0
  111. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome.b06871f281fee6b241d60582ae9369b9.ttf +0 -0
  112. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Brands.3b89dd103490708d19a95adcae52210e.ttf +0 -0
  113. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Regular.1f77739ca9ff2188b539c36f30ffa2be.ttf +0 -0
  114. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome5_Solid.605ed7926cf39a2ad5ec2d1f9d391d3d.ttf +0 -0
  115. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Brands.56c8d80832e37783f12c05db7c8849e2.ttf +0 -0
  116. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Regular.370dd5af19f8364907b6e2c41f45dbbf.ttf +0 -0
  117. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome6_Solid.adec7d6f310bc577f05e8fe06a5daccf.ttf +0 -0
  118. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Fontisto.b49ae8ab2dbccb02c4d11caaacf09eab.ttf +0 -0
  119. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Foundation.e20945d7c929279ef7a6f1db184a4470.ttf +0 -0
  120. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Ionicons.b4eb097d35f44ed943676fd56f6bdc51.ttf +0 -0
  121. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.6e435534bd35da5fef04168860a9b8fa.ttf +0 -0
  122. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialIcons.4e85bc9ebe07e0340c9c4fc2f6c38908.ttf +0 -0
  123. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Octicons.871378c6eab492a3e689a9385dc45a12.ttf +0 -0
  124. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/SimpleLineIcons.d2285965fe34b05465047401b8595dd0.ttf +0 -0
  125. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Zocial.1681f34aaca71b8dfb70756bca331eb2.ttf +0 -0
  126. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/drawer/lib/module/views/assets/toggle-drawer-icon.ae74bb20586a731af545e6b00fe14a09.png +0 -0
  127. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
  128. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
  129. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
  130. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
  131. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
  132. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
  133. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
  134. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
  135. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
  136. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
  137. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
  138. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png +0 -0
  139. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png +0 -0
  140. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png +0 -0
  141. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png +0 -0
  142. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png +0 -0
  143. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
  144. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
  145. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
  146. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
  147. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
  148. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
  149. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
  150. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
  151. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
  152. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
  153. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
  154. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png +0 -0
  155. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png +0 -0
  156. package/studio-v2/apps/web/dist/index.html +0 -793
  157. /package/dist/{layout → registry}/index.js.map +0 -0
  158. /package/dist/{layout → registry}/index.mjs.map +0 -0
@@ -1,11 +1,71 @@
1
- import { C as ColorScheme, T as ThemeGradients } from '../index-D4qJw_Et.mjs';
1
+ import { C as ColorScheme, T as ThemeGradients } from '../index-CpBqkIpd.mjs';
2
2
  import React from 'react';
3
3
 
4
4
  /**
5
- * Foundation configuration types.
5
+ * FoundationProvider
6
+ *
7
+ * Wraps the app with resolved config (tokens + themes).
8
+ * Replaces the standalone ThemeProvider — this is the single entry point.
9
+ *
10
+ * Usage:
11
+ * ```tsx
12
+ * import { FoundationProvider } from "@flipova/foundation/config";
13
+ * import config from "./flipova.config";
14
+ *
15
+ * export default function App() {
16
+ * return (
17
+ * <FoundationProvider config={config}>
18
+ * <MyApp />
19
+ * </FoundationProvider>
20
+ * );
21
+ * }
22
+ * ```
23
+ */
24
+
25
+ /**
26
+ * Hook pour obtenir la configuration résolue de Foundation.
6
27
  *
7
- * Used by flipova.config.ts to override tokens, themes, and behavior.
28
+ * @returns La configuration résolue.
29
+ * @throws Erreur s'il est utilisé en dehors d'un FoundationProvider.
30
+ */
31
+ declare function useFoundationConfig(): ResolvedConfig;
32
+ /**
33
+ * Hook pour obtenir les tokens résolus.
34
+ *
35
+ * @returns Les tokens résolus.
36
+ */
37
+ declare function useTokens(): ResolvedConfig["tokens"];
38
+ /**
39
+ * Propriétés du FoundationProvider.
40
+ */
41
+ interface FoundationProviderProps {
42
+ children?: React.ReactNode;
43
+ config?: FoundationConfig;
44
+ }
45
+ /**
46
+ * Fournisseur principal de Foundation.
47
+ *
48
+ * Enveloppe l'application avec la configuration résolue (tokens et thèmes).
49
+ * Remplace le ThemeProvider autonome et sert de point d'entrée unique.
50
+ *
51
+ * @param props - Les propriétés du fournisseur de configuration.
52
+ * @returns Le composant fournisseur encapsulant les enfants avec le contexte.
53
+ *
54
+ * @example
55
+ * ```tsx
56
+ * import { FoundationProvider } from "@flipova/foundation/config";
57
+ * import config from "./flipova.config";
58
+ *
59
+ * export default function App() {
60
+ * return (
61
+ * <FoundationProvider config={config}>
62
+ * <MyApp />
63
+ * </FoundationProvider>
64
+ * );
65
+ * }
66
+ * ```
8
67
  */
68
+ declare const FoundationProvider: React.FC<FoundationProviderProps>;
9
69
 
10
70
  interface TokenOverrides {
11
71
  spacing?: Record<number, number>;
@@ -37,45 +97,8 @@ interface FoundationConfig {
37
97
  tokens?: TokenOverrides;
38
98
  themes?: Record<string, ThemeDefinition>;
39
99
  defaultTheme?: string;
100
+ typescript?: boolean;
40
101
  }
41
-
42
- /**
43
- * defineConfig — User-facing config helper.
44
- *
45
- * Usage in flipova.config.ts:
46
- *
47
- * ```ts
48
- * import { defineConfig } from "@flipova/foundation/config";
49
- *
50
- * export default defineConfig({
51
- * tokens: {
52
- * spacing: { 0: 0, 1: 2, 2: 4, 3: 8, 4: 12, 5: 16, 6: 20, 8: 32 },
53
- * radii: { none: 0, sm: 2, md: 4, lg: 8, xl: 12, full: 9999 },
54
- * breakpoints: { xs: 0, sm: 480, md: 768, lg: 1024, xl: 1280 },
55
- * },
56
- * themes: {
57
- * brand: {
58
- * colors: {
59
- * primary: "#FF6B00",
60
- * primaryForeground: "#FFFFFF",
61
- * background: "#FAFAFA",
62
- * },
63
- * },
64
- * },
65
- * defaultTheme: "brand",
66
- * });
67
- * ```
68
- */
69
-
70
- declare function defineConfig(config: FoundationConfig): FoundationConfig;
71
-
72
- /**
73
- * Config resolver.
74
- *
75
- * Merges user overrides with built-in token defaults.
76
- * Called once at app startup, not per-render.
77
- */
78
-
79
102
  interface ResolvedTokens {
80
103
  spacing: Record<number, number>;
81
104
  breakpoints: Record<string, number>;
@@ -94,35 +117,7 @@ interface ResolvedConfig {
94
117
  themes: Record<string, ColorScheme>;
95
118
  defaultTheme: string;
96
119
  }
120
+ declare function defineConfig(config: FoundationConfig): FoundationConfig;
97
121
  declare function resolveConfig(userConfig?: FoundationConfig): ResolvedConfig;
98
122
 
99
- /**
100
- * FoundationProvider
101
- *
102
- * Wraps the app with resolved config (tokens + themes).
103
- * Replaces the standalone ThemeProvider — this is the single entry point.
104
- *
105
- * Usage:
106
- * ```tsx
107
- * import { FoundationProvider } from "@flipova/foundation/config";
108
- * import config from "./flipova.config";
109
- *
110
- * export default function App() {
111
- * return (
112
- * <FoundationProvider config={config}>
113
- * <MyApp />
114
- * </FoundationProvider>
115
- * );
116
- * }
117
- * ```
118
- */
119
-
120
- declare function useFoundationConfig(): ResolvedConfig;
121
- declare function useTokens(): ResolvedConfig["tokens"];
122
- interface FoundationProviderProps {
123
- children?: React.ReactNode;
124
- config?: FoundationConfig;
125
- }
126
- declare const FoundationProvider: React.FC<FoundationProviderProps>;
127
-
128
123
  export { type FoundationConfig, FoundationProvider, type ResolvedConfig, type ResolvedTokens, type ThemeDefinition, type TokenOverrides, defineConfig, resolveConfig, useFoundationConfig, useTokens };
@@ -1,11 +1,71 @@
1
- import { C as ColorScheme, T as ThemeGradients } from '../index-D4qJw_Et.js';
1
+ import { C as ColorScheme, T as ThemeGradients } from '../index-CpBqkIpd.js';
2
2
  import React from 'react';
3
3
 
4
4
  /**
5
- * Foundation configuration types.
5
+ * FoundationProvider
6
+ *
7
+ * Wraps the app with resolved config (tokens + themes).
8
+ * Replaces the standalone ThemeProvider — this is the single entry point.
9
+ *
10
+ * Usage:
11
+ * ```tsx
12
+ * import { FoundationProvider } from "@flipova/foundation/config";
13
+ * import config from "./flipova.config";
14
+ *
15
+ * export default function App() {
16
+ * return (
17
+ * <FoundationProvider config={config}>
18
+ * <MyApp />
19
+ * </FoundationProvider>
20
+ * );
21
+ * }
22
+ * ```
23
+ */
24
+
25
+ /**
26
+ * Hook pour obtenir la configuration résolue de Foundation.
6
27
  *
7
- * Used by flipova.config.ts to override tokens, themes, and behavior.
28
+ * @returns La configuration résolue.
29
+ * @throws Erreur s'il est utilisé en dehors d'un FoundationProvider.
30
+ */
31
+ declare function useFoundationConfig(): ResolvedConfig;
32
+ /**
33
+ * Hook pour obtenir les tokens résolus.
34
+ *
35
+ * @returns Les tokens résolus.
36
+ */
37
+ declare function useTokens(): ResolvedConfig["tokens"];
38
+ /**
39
+ * Propriétés du FoundationProvider.
40
+ */
41
+ interface FoundationProviderProps {
42
+ children?: React.ReactNode;
43
+ config?: FoundationConfig;
44
+ }
45
+ /**
46
+ * Fournisseur principal de Foundation.
47
+ *
48
+ * Enveloppe l'application avec la configuration résolue (tokens et thèmes).
49
+ * Remplace le ThemeProvider autonome et sert de point d'entrée unique.
50
+ *
51
+ * @param props - Les propriétés du fournisseur de configuration.
52
+ * @returns Le composant fournisseur encapsulant les enfants avec le contexte.
53
+ *
54
+ * @example
55
+ * ```tsx
56
+ * import { FoundationProvider } from "@flipova/foundation/config";
57
+ * import config from "./flipova.config";
58
+ *
59
+ * export default function App() {
60
+ * return (
61
+ * <FoundationProvider config={config}>
62
+ * <MyApp />
63
+ * </FoundationProvider>
64
+ * );
65
+ * }
66
+ * ```
8
67
  */
68
+ declare const FoundationProvider: React.FC<FoundationProviderProps>;
9
69
 
10
70
  interface TokenOverrides {
11
71
  spacing?: Record<number, number>;
@@ -37,45 +97,8 @@ interface FoundationConfig {
37
97
  tokens?: TokenOverrides;
38
98
  themes?: Record<string, ThemeDefinition>;
39
99
  defaultTheme?: string;
100
+ typescript?: boolean;
40
101
  }
41
-
42
- /**
43
- * defineConfig — User-facing config helper.
44
- *
45
- * Usage in flipova.config.ts:
46
- *
47
- * ```ts
48
- * import { defineConfig } from "@flipova/foundation/config";
49
- *
50
- * export default defineConfig({
51
- * tokens: {
52
- * spacing: { 0: 0, 1: 2, 2: 4, 3: 8, 4: 12, 5: 16, 6: 20, 8: 32 },
53
- * radii: { none: 0, sm: 2, md: 4, lg: 8, xl: 12, full: 9999 },
54
- * breakpoints: { xs: 0, sm: 480, md: 768, lg: 1024, xl: 1280 },
55
- * },
56
- * themes: {
57
- * brand: {
58
- * colors: {
59
- * primary: "#FF6B00",
60
- * primaryForeground: "#FFFFFF",
61
- * background: "#FAFAFA",
62
- * },
63
- * },
64
- * },
65
- * defaultTheme: "brand",
66
- * });
67
- * ```
68
- */
69
-
70
- declare function defineConfig(config: FoundationConfig): FoundationConfig;
71
-
72
- /**
73
- * Config resolver.
74
- *
75
- * Merges user overrides with built-in token defaults.
76
- * Called once at app startup, not per-render.
77
- */
78
-
79
102
  interface ResolvedTokens {
80
103
  spacing: Record<number, number>;
81
104
  breakpoints: Record<string, number>;
@@ -94,35 +117,7 @@ interface ResolvedConfig {
94
117
  themes: Record<string, ColorScheme>;
95
118
  defaultTheme: string;
96
119
  }
120
+ declare function defineConfig(config: FoundationConfig): FoundationConfig;
97
121
  declare function resolveConfig(userConfig?: FoundationConfig): ResolvedConfig;
98
122
 
99
- /**
100
- * FoundationProvider
101
- *
102
- * Wraps the app with resolved config (tokens + themes).
103
- * Replaces the standalone ThemeProvider — this is the single entry point.
104
- *
105
- * Usage:
106
- * ```tsx
107
- * import { FoundationProvider } from "@flipova/foundation/config";
108
- * import config from "./flipova.config";
109
- *
110
- * export default function App() {
111
- * return (
112
- * <FoundationProvider config={config}>
113
- * <MyApp />
114
- * </FoundationProvider>
115
- * );
116
- * }
117
- * ```
118
- */
119
-
120
- declare function useFoundationConfig(): ResolvedConfig;
121
- declare function useTokens(): ResolvedConfig["tokens"];
122
- interface FoundationProviderProps {
123
- children?: React.ReactNode;
124
- config?: FoundationConfig;
125
- }
126
- declare const FoundationProvider: React.FC<FoundationProviderProps>;
127
-
128
123
  export { type FoundationConfig, FoundationProvider, type ResolvedConfig, type ResolvedTokens, type ThemeDefinition, type TokenOverrides, defineConfig, resolveConfig, useFoundationConfig, useTokens };
@@ -1,28 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkD4QJYQOK_js = require('../chunk-D4QJYQOK.js');
3
+ var chunkKOKOIY5E_js = require('../chunk-KOKOIY5E.js');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "FoundationProvider", {
8
8
  enumerable: true,
9
- get: function () { return chunkD4QJYQOK_js.FoundationProvider; }
9
+ get: function () { return chunkKOKOIY5E_js.FoundationProvider; }
10
10
  });
11
11
  Object.defineProperty(exports, "defineConfig", {
12
12
  enumerable: true,
13
- get: function () { return chunkD4QJYQOK_js.defineConfig; }
13
+ get: function () { return chunkKOKOIY5E_js.defineConfig; }
14
14
  });
15
15
  Object.defineProperty(exports, "resolveConfig", {
16
16
  enumerable: true,
17
- get: function () { return chunkD4QJYQOK_js.resolveConfig; }
17
+ get: function () { return chunkKOKOIY5E_js.resolveConfig; }
18
18
  });
19
19
  Object.defineProperty(exports, "useFoundationConfig", {
20
20
  enumerable: true,
21
- get: function () { return chunkD4QJYQOK_js.useFoundationConfig; }
21
+ get: function () { return chunkKOKOIY5E_js.useFoundationConfig; }
22
22
  });
23
23
  Object.defineProperty(exports, "useTokens", {
24
24
  enumerable: true,
25
- get: function () { return chunkD4QJYQOK_js.useTokens; }
25
+ get: function () { return chunkKOKOIY5E_js.useTokens; }
26
26
  });
27
27
  //# sourceMappingURL=index.js.map
28
28
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- export { FoundationProvider, defineConfig, resolveConfig, useFoundationConfig, useTokens } from '../chunk-YTD4AWV2.mjs';
1
+ export { FoundationProvider, defineConfig, resolveConfig, useFoundationConfig, useTokens } from '../chunk-MLFQD3PV.mjs';
2
2
  //# sourceMappingURL=index.mjs.map
3
3
  //# sourceMappingURL=index.mjs.map
@@ -1,4 +1,23 @@
1
- type ThemeMode = 'light' | 'dark';
1
+ declare const themes: {
2
+ readonly autumn: ColorScheme;
3
+ readonly christmas: ColorScheme;
4
+ readonly dark: ColorScheme;
5
+ readonly halloween: ColorScheme;
6
+ readonly light: ColorScheme;
7
+ readonly neon: ColorScheme;
8
+ readonly spring: ColorScheme;
9
+ readonly summer: ColorScheme;
10
+ readonly winter: ColorScheme;
11
+ };
12
+ type ThemeName = keyof typeof themes;
13
+
14
+ /**
15
+ * Type représentant les modes de thème intégrés (clair ou sombre) et générés.
16
+ */
17
+ type ThemeMode = ThemeName | 'light' | 'dark';
18
+ /**
19
+ * Type représentant un mode de thème personnalisé sous forme de chaîne de caractères.
20
+ */
2
21
  type CustomThemeMode = string;
3
22
  /**
4
23
  * Gradients du thème.
@@ -46,10 +65,14 @@ type ColorScheme = {
46
65
  transparent: string;
47
66
  gradients: ThemeGradients;
48
67
  };
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é.
71
+ */
49
72
  type ThemeRegistry = {
50
73
  light: ColorScheme;
51
74
  dark: ColorScheme;
52
75
  [key: string]: ColorScheme;
53
76
  };
54
77
 
55
- export type { ColorScheme as C, ThemeGradients as T, CustomThemeMode as a, ThemeMode as b, ThemeRegistry as c };
78
+ export { type ColorScheme as C, type ThemeGradients as T, type CustomThemeMode as a, type ThemeMode as b, type ThemeName as c, type ThemeRegistry as d, themes as t };
@@ -1,4 +1,23 @@
1
- type ThemeMode = 'light' | 'dark';
1
+ declare const themes: {
2
+ readonly autumn: ColorScheme;
3
+ readonly christmas: ColorScheme;
4
+ readonly dark: ColorScheme;
5
+ readonly halloween: ColorScheme;
6
+ readonly light: ColorScheme;
7
+ readonly neon: ColorScheme;
8
+ readonly spring: ColorScheme;
9
+ readonly summer: ColorScheme;
10
+ readonly winter: ColorScheme;
11
+ };
12
+ type ThemeName = keyof typeof themes;
13
+
14
+ /**
15
+ * Type représentant les modes de thème intégrés (clair ou sombre) et générés.
16
+ */
17
+ type ThemeMode = ThemeName | 'light' | 'dark';
18
+ /**
19
+ * Type représentant un mode de thème personnalisé sous forme de chaîne de caractères.
20
+ */
2
21
  type CustomThemeMode = string;
3
22
  /**
4
23
  * Gradients du thème.
@@ -46,10 +65,14 @@ type ColorScheme = {
46
65
  transparent: string;
47
66
  gradients: ThemeGradients;
48
67
  };
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é.
71
+ */
49
72
  type ThemeRegistry = {
50
73
  light: ColorScheme;
51
74
  dark: ColorScheme;
52
75
  [key: string]: ColorScheme;
53
76
  };
54
77
 
55
- export type { ColorScheme as C, ThemeGradients as T, CustomThemeMode as a, ThemeMode as b, ThemeRegistry as c };
78
+ export { type ColorScheme as C, type ThemeGradients as T, type CustomThemeMode as a, type ThemeMode as b, type ThemeName as c, type ThemeRegistry as d, themes as t };
package/dist/index.d.mts CHANGED
@@ -1,8 +1,10 @@
1
- export { B as Breakpoint, R as RadiusToken, S as ShadowToken, a as SpacingToken, b as breakpoints, r as radii, s as shadows, c as spacing } from './spacing-CXUulLF9.mjs';
2
- export { ColorToken, DurationToken, EasingToken, FontSizeToken, FontWeightToken, LetterSpacingToken, LineHeightToken, OpacityToken, ZIndexToken, colors, durations, easings, fontSizes, fontWeights, letterSpacings, lineHeights, opacity, zIndices } from './tokens/index.mjs';
3
- export { ThemeProvider, autumnTheme, christmasTheme, createTheme, darkTheme, halloweenTheme, lightTheme, neonTheme, springTheme, summerTheme, useColorScheme, useTheme, winterTheme } from './theme/index.mjs';
4
- export { C as ColorScheme, a as CustomThemeMode, T as ThemeGradients, b as ThemeMode, c as ThemeRegistry } from './index-D4qJw_Et.mjs';
5
- export { Accordion, AdaptiveConfig, AnyMeta, AuthFormBlock, AuthLayout, AuthLayoutProps, Avatar, AvatarBlock, AvatarProps, Badge, BadgeProps, BannerBlock, BentoCellConfig, BentoLayout, BentoLayoutProps, BlockCategory, BlockMeta, BottomDrawerLayout, BottomDrawerLayoutProps, Box, BoxProps, BreakpointInfo, Button, ButtonProps, CalendarEventBlock, CameraComp, CardBlock, Center, CenterProps, CenteredLayout, CenteredLayoutProps, ChatBubbleBlock, Checkbox, CheckboxProps, Chip, ChipProps, CommentBlock, ComponentCategory, ComponentMeta, ContactCardBlock, CounterBlock, CrossTabLayout, CrossTabLayoutProps, DashboardLayout, DashboardLayoutProps, DatePicker, DatePickerProps, DeckLayout, DefaultsOf, Divider, DividerProps, EmptyStateBlock, FileItemBlock, FilePicker, FilePickerProps, FlexLayout, FlexLayoutProps, FlipLayout, FlipLayoutProps, FooterLayout, FooterLayoutProps, FormBlock, GradientComp, GradientCompProps, GridLayout, GridLayoutProps, HeaderBlock, HeaderContentLayout, HeaderContentLayoutProps, IconButton, IconButtonProps, IconComp, IconCompProps, ImageComp, ImageCompProps, Inline, InlineProps, LayoutBackground, LayoutCategory, LayoutConstants, LayoutMeta, LayoutPadding, LeftDrawerLayout, LeftDrawerLayoutProps, ListItemBlock, MapPinBlock, MapViewComp, MasonryLayout, MasonryLayoutProps, MediaPickerBlock, ModalBlock, NotificationItemBlock, OTPInputBlock, OnboardingSlideBlock, ParallaxLayout, ParallaxLayoutProps, PasswordStrengthBlock, PlatformInfo, PlatformOverrideProvider, PlatformOverrideValue, PricingCardBlock, ProductCardBlock, ProgressBar, PropDescriptor, PropType, QuoteBlock, RadioGroup, RadioGroupProps, RatingBlock, ResolvedBackground, ResolvedPadding, ResponsiveLayout, ResponsiveLayoutProps, ResponsiveValue, RootLayout, Scroll, ScrollLayout, ScrollLayoutProps, ScrollProps, SearchBarBlock, SegmentedControlBlock, Select, SelectProps, SeparatorComp, SeparatorCompProps, SidebarLayout, SidebarLayoutProps, SketchLayout, Slider, SliderProps, SlotDescriptor, SocialLinksBlock, Spinner, SpinnerProps, SplitLayout, SplitLayoutProps, SpringConfig, Stack, StackProps, StatCardBlock, StepperBlock, Swipe2ScreenLayout, SwiperLayout, SwiperLayoutProps, Switch, SwitchProps, SystemUIWrapper, TagInputBlock, TextArea, TextAreaProps, TextComp, TextCompProps, TextInput, TextInputProps, ThemeColorRole, TimelineBlock, ToastBlock, TopDrawerHandle, TopDrawerLayout, TopDrawerLayoutProps, TransactionItemBlock, TutoGesture, TutoLabelPosition, TutoLayout, TutoLayoutProps, TutoStep, TutoZone, TutoZoneManual, TutoZoneRef, TutoZoneShape, VariantDescriptor, VideoComp, VoidLayout, VoidLayoutProps, WebViewComp, applyDefaults, applyVariant, blockRegistry, componentRegistry, extractDefaults, getBlockMeta, getBreakpoint, getComponentMeta, getConstants, getLayoutMeta, getPrimitiveMeta, getResponsiveValue, hideAt, isAndroid, isIOS, isWeb, layoutRegistry, platformSelect, primitiveRegistry, resolveBackground, resolveLayoutPadding, resolveThemeDefaults, showOnly, spacingToStyle, useAdaptiveValue, useBreakpoint, usePlatformInfo, usePlatformOverride, useResponsiveValue, useSafeArea, useStudioItems, useTutoRef } from './layout/index.mjs';
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';
6
4
  export { FoundationConfig, FoundationProvider, ResolvedConfig, ResolvedTokens, ThemeDefinition, TokenOverrides, defineConfig, resolveConfig, useFoundationConfig, useTokens } from './config/index.mjs';
5
+ 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
+ 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';
7
8
  import 'react';
8
9
  import 'react-native';
10
+ import 'react/jsx-runtime';
package/dist/index.d.ts CHANGED
@@ -1,8 +1,10 @@
1
- export { B as Breakpoint, R as RadiusToken, S as ShadowToken, a as SpacingToken, b as breakpoints, r as radii, s as shadows, c as spacing } from './spacing-CXUulLF9.js';
2
- export { ColorToken, DurationToken, EasingToken, FontSizeToken, FontWeightToken, LetterSpacingToken, LineHeightToken, OpacityToken, ZIndexToken, colors, durations, easings, fontSizes, fontWeights, letterSpacings, lineHeights, opacity, zIndices } from './tokens/index.js';
3
- export { ThemeProvider, autumnTheme, christmasTheme, createTheme, darkTheme, halloweenTheme, lightTheme, neonTheme, springTheme, summerTheme, useColorScheme, useTheme, winterTheme } from './theme/index.js';
4
- export { C as ColorScheme, a as CustomThemeMode, T as ThemeGradients, b as ThemeMode, c as ThemeRegistry } from './index-D4qJw_Et.js';
5
- export { Accordion, AdaptiveConfig, AnyMeta, AuthFormBlock, AuthLayout, AuthLayoutProps, Avatar, AvatarBlock, AvatarProps, Badge, BadgeProps, BannerBlock, BentoCellConfig, BentoLayout, BentoLayoutProps, BlockCategory, BlockMeta, BottomDrawerLayout, BottomDrawerLayoutProps, Box, BoxProps, BreakpointInfo, Button, ButtonProps, CalendarEventBlock, CameraComp, CardBlock, Center, CenterProps, CenteredLayout, CenteredLayoutProps, ChatBubbleBlock, Checkbox, CheckboxProps, Chip, ChipProps, CommentBlock, ComponentCategory, ComponentMeta, ContactCardBlock, CounterBlock, CrossTabLayout, CrossTabLayoutProps, DashboardLayout, DashboardLayoutProps, DatePicker, DatePickerProps, DeckLayout, DefaultsOf, Divider, DividerProps, EmptyStateBlock, FileItemBlock, FilePicker, FilePickerProps, FlexLayout, FlexLayoutProps, FlipLayout, FlipLayoutProps, FooterLayout, FooterLayoutProps, FormBlock, GradientComp, GradientCompProps, GridLayout, GridLayoutProps, HeaderBlock, HeaderContentLayout, HeaderContentLayoutProps, IconButton, IconButtonProps, IconComp, IconCompProps, ImageComp, ImageCompProps, Inline, InlineProps, LayoutBackground, LayoutCategory, LayoutConstants, LayoutMeta, LayoutPadding, LeftDrawerLayout, LeftDrawerLayoutProps, ListItemBlock, MapPinBlock, MapViewComp, MasonryLayout, MasonryLayoutProps, MediaPickerBlock, ModalBlock, NotificationItemBlock, OTPInputBlock, OnboardingSlideBlock, ParallaxLayout, ParallaxLayoutProps, PasswordStrengthBlock, PlatformInfo, PlatformOverrideProvider, PlatformOverrideValue, PricingCardBlock, ProductCardBlock, ProgressBar, PropDescriptor, PropType, QuoteBlock, RadioGroup, RadioGroupProps, RatingBlock, ResolvedBackground, ResolvedPadding, ResponsiveLayout, ResponsiveLayoutProps, ResponsiveValue, RootLayout, Scroll, ScrollLayout, ScrollLayoutProps, ScrollProps, SearchBarBlock, SegmentedControlBlock, Select, SelectProps, SeparatorComp, SeparatorCompProps, SidebarLayout, SidebarLayoutProps, SketchLayout, Slider, SliderProps, SlotDescriptor, SocialLinksBlock, Spinner, SpinnerProps, SplitLayout, SplitLayoutProps, SpringConfig, Stack, StackProps, StatCardBlock, StepperBlock, Swipe2ScreenLayout, SwiperLayout, SwiperLayoutProps, Switch, SwitchProps, SystemUIWrapper, TagInputBlock, TextArea, TextAreaProps, TextComp, TextCompProps, TextInput, TextInputProps, ThemeColorRole, TimelineBlock, ToastBlock, TopDrawerHandle, TopDrawerLayout, TopDrawerLayoutProps, TransactionItemBlock, TutoGesture, TutoLabelPosition, TutoLayout, TutoLayoutProps, TutoStep, TutoZone, TutoZoneManual, TutoZoneRef, TutoZoneShape, VariantDescriptor, VideoComp, VoidLayout, VoidLayoutProps, WebViewComp, applyDefaults, applyVariant, blockRegistry, componentRegistry, extractDefaults, getBlockMeta, getBreakpoint, getComponentMeta, getConstants, getLayoutMeta, getPrimitiveMeta, getResponsiveValue, hideAt, isAndroid, isIOS, isWeb, layoutRegistry, platformSelect, primitiveRegistry, resolveBackground, resolveLayoutPadding, resolveThemeDefaults, showOnly, spacingToStyle, useAdaptiveValue, useBreakpoint, usePlatformInfo, usePlatformOverride, useResponsiveValue, useSafeArea, useStudioItems, useTutoRef } from './layout/index.js';
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';
6
4
  export { FoundationConfig, FoundationProvider, ResolvedConfig, ResolvedTokens, ThemeDefinition, TokenOverrides, defineConfig, resolveConfig, useFoundationConfig, useTokens } from './config/index.js';
5
+ 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
+ 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';
7
8
  import 'react';
8
9
  import 'react-native';
10
+ import 'react/jsx-runtime';