@flipova/foundation 1.10.1 → 1.12.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 (156) hide show
  1. package/CHANGELOG.md +41 -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-5LRV4YZO.js +7024 -0
  8. package/dist/chunk-5LRV4YZO.js.map +1 -0
  9. package/dist/chunk-5N5HC4ZA.mjs +3 -0
  10. package/dist/{chunk-HS2UOQU4.mjs.map → chunk-5N5HC4ZA.mjs.map} +1 -1
  11. package/dist/chunk-CKQBSIBR.mjs +6900 -0
  12. package/dist/chunk-CKQBSIBR.mjs.map +1 -0
  13. package/dist/chunk-DJP3T7OD.mjs +413 -0
  14. package/dist/chunk-DJP3T7OD.mjs.map +1 -0
  15. package/dist/chunk-DNV5UBNF.mjs +3 -0
  16. package/dist/chunk-DNV5UBNF.mjs.map +1 -0
  17. package/dist/chunk-IJTI6EX4.js +4 -0
  18. package/dist/{chunk-2VLBOYBU.js.map → chunk-IJTI6EX4.js.map} +1 -1
  19. package/dist/{chunk-D4QJYQOK.js → chunk-JYGNIQUU.js} +49 -44
  20. package/dist/chunk-JYGNIQUU.js.map +1 -0
  21. package/dist/{chunk-YTD4AWV2.mjs → chunk-NYZH4C27.mjs} +42 -37
  22. package/dist/chunk-NYZH4C27.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-RPO7RKXJ.js +428 -0
  28. package/dist/chunk-RPO7RKXJ.js.map +1 -0
  29. package/dist/chunk-TZUCBWHN.mjs +422 -0
  30. package/dist/chunk-TZUCBWHN.mjs.map +1 -0
  31. package/dist/cli/ds.js +8334 -0
  32. package/dist/cli/flipova.js +5021 -0
  33. package/dist/config/index.d.mts +65 -70
  34. package/dist/config/index.d.ts +65 -70
  35. package/dist/config/index.js +6 -6
  36. package/dist/config/index.mjs +1 -1
  37. package/dist/{index-D4qJw_Et.d.mts → index-CpBqkIpd.d.mts} +25 -2
  38. package/dist/{index-D4qJw_Et.d.ts → index-CpBqkIpd.d.ts} +25 -2
  39. package/dist/index.d.mts +7 -5
  40. package/dist/index.d.ts +7 -5
  41. package/dist/index.js +499 -298
  42. package/dist/index.mjs +5 -4
  43. package/dist/registry/index.d.mts +9693 -0
  44. package/dist/registry/index.d.ts +9693 -0
  45. package/dist/registry/index.js +388 -0
  46. package/dist/registry/index.mjs +3 -0
  47. package/dist/theme/index.d.mts +46 -49
  48. package/dist/theme/index.d.ts +46 -49
  49. package/dist/theme/index.js +7 -39
  50. package/dist/theme/index.mjs +1 -1
  51. package/dist/tokens/index.d.mts +265 -130
  52. package/dist/tokens/index.d.ts +265 -130
  53. package/dist/tokens/index.js +15 -31
  54. package/dist/tokens/index.mjs +1 -1
  55. package/dist/types/index.d.mts +200 -0
  56. package/dist/types/index.d.ts +200 -0
  57. package/dist/types/index.js +4 -0
  58. package/dist/types/index.js.map +1 -0
  59. package/dist/types/index.mjs +3 -0
  60. package/dist/types/index.mjs.map +1 -0
  61. package/dist/ui/index.d.mts +2981 -0
  62. package/dist/ui/index.d.ts +2981 -0
  63. package/dist/ui/index.js +729 -0
  64. package/dist/ui/index.js.map +1 -0
  65. package/dist/ui/index.mjs +4 -0
  66. package/dist/ui/index.mjs.map +1 -0
  67. package/package.json +63 -31
  68. package/dist/chunk-2VLBOYBU.js +0 -4
  69. package/dist/chunk-32VWREEH.mjs +0 -8256
  70. package/dist/chunk-32VWREEH.mjs.map +0 -1
  71. package/dist/chunk-3RJREGCN.js +0 -8407
  72. package/dist/chunk-3RJREGCN.js.map +0 -1
  73. package/dist/chunk-D4QJYQOK.js.map +0 -1
  74. package/dist/chunk-HS2UOQU4.mjs +0 -3
  75. package/dist/chunk-IKVONTJC.mjs +0 -397
  76. package/dist/chunk-IKVONTJC.mjs.map +0 -1
  77. package/dist/chunk-RRV2Q4SS.mjs +0 -655
  78. package/dist/chunk-RRV2Q4SS.mjs.map +0 -1
  79. package/dist/chunk-RUZBEFDO.js +0 -669
  80. package/dist/chunk-RUZBEFDO.js.map +0 -1
  81. package/dist/chunk-UBZMVSIN.js +0 -412
  82. package/dist/chunk-UBZMVSIN.js.map +0 -1
  83. package/dist/chunk-YTD4AWV2.mjs.map +0 -1
  84. package/dist/layout/index.d.mts +0 -2529
  85. package/dist/layout/index.d.ts +0 -2529
  86. package/dist/layout/index.js +0 -512
  87. package/dist/layout/index.mjs +0 -3
  88. package/dist/spacing-CXUulLF9.d.mts +0 -128
  89. package/dist/spacing-CXUulLF9.d.ts +0 -128
  90. package/dist/studio-v2/cli/index.js +0 -96
  91. package/dist/web/index.js +0 -5816
  92. package/dist/web/index.js.map +0 -1
  93. package/dist/web/index.mjs +0 -5708
  94. package/dist/web/index.mjs.map +0 -1
  95. package/studio-v2/apps/web/CHANGELOG.md +0 -7
  96. package/studio-v2/apps/web/LICENSE +0 -21
  97. package/studio-v2/apps/web/README.md +0 -56
  98. package/studio-v2/apps/web/dist/+not-found.html +0 -793
  99. package/studio-v2/apps/web/dist/_expo/.routes.json +0 -3
  100. package/studio-v2/apps/web/dist/_expo/static/css/global-a4717de456877faacb88ee482aa99653.css +0 -1
  101. package/studio-v2/apps/web/dist/_expo/static/js/web/entry-5d96588cc8f2ee5c00754cef9ac6481d.js +0 -15648
  102. package/studio-v2/apps/web/dist/_expo/static/js/web/index-470f33f64d8c4f7b8d8da2632b2959c2.js +0 -4
  103. package/studio-v2/apps/web/dist/_expo/static/js/web/index-f7fcd21ae9d8dacf4c88ea5796614af0.js +0 -3
  104. package/studio-v2/apps/web/dist/_sitemap.html +0 -793
  105. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/AntDesign.3f78af31cca60105799838a1a7a59fbd.ttf +0 -0
  106. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Entypo.31b5ffea3daddc69dd01a1f3d6cf63c5.ttf +0 -0
  107. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/EvilIcons.140c53a7643ea949007aa9a282153849.ttf +0 -0
  108. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Feather.ca4b48e04dc1ce10bfbddb262c8b835f.ttf +0 -0
  109. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome.b06871f281fee6b241d60582ae9369b9.ttf +0 -0
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Fontisto.b49ae8ab2dbccb02c4d11caaacf09eab.ttf +0 -0
  117. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Foundation.e20945d7c929279ef7a6f1db184a4470.ttf +0 -0
  118. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Ionicons.b4eb097d35f44ed943676fd56f6bdc51.ttf +0 -0
  119. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.6e435534bd35da5fef04168860a9b8fa.ttf +0 -0
  120. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialIcons.4e85bc9ebe07e0340c9c4fc2f6c38908.ttf +0 -0
  121. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Octicons.871378c6eab492a3e689a9385dc45a12.ttf +0 -0
  122. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/SimpleLineIcons.d2285965fe34b05465047401b8595dd0.ttf +0 -0
  123. package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Zocial.1681f34aaca71b8dfb70756bca331eb2.ttf +0 -0
  124. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/drawer/lib/module/views/assets/toggle-drawer-icon.ae74bb20586a731af545e6b00fe14a09.png +0 -0
  125. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
  126. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
  127. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
  128. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
  129. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
  130. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
  131. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
  132. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
  133. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
  134. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
  135. package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
  136. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png +0 -0
  137. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png +0 -0
  138. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png +0 -0
  139. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png +0 -0
  140. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png +0 -0
  141. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
  142. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
  143. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
  144. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
  145. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
  146. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
  147. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
  148. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
  149. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
  150. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
  151. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
  152. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png +0 -0
  153. package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png +0 -0
  154. package/studio-v2/apps/web/dist/index.html +0 -793
  155. /package/dist/{layout → registry}/index.js.map +0 -0
  156. /package/dist/{layout → registry}/index.mjs.map +0 -0
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { b as ThemeMode, a as CustomThemeMode, c as ThemeRegistry, C as ColorScheme } from '../index-D4qJw_Et.js';
3
- export { T as ThemeGradients } from '../index-D4qJw_Et.js';
2
+ import { b as ThemeMode, a as CustomThemeMode, d as ThemeRegistry, C as ColorScheme } from '../index-CpBqkIpd.js';
3
+ export { T as ThemeGradients, c as ThemeName, t as themes } from '../index-CpBqkIpd.js';
4
4
 
5
5
  /**
6
6
  * Defines the shape of the theme context value.
@@ -17,41 +17,45 @@ interface ThemeContextType {
17
17
  availableThemes: ThemeRegistry;
18
18
  }
19
19
  /**
20
- * Hook for accessing the theme context.
20
+ * Hook pour accéder au contexte du thème.
21
21
  *
22
- * @param customTheme - Optional custom theme mode to use instead of the current context theme
23
- * @returns The theme context value with current theme, mode, setter, and available themes
24
- * @throws Error if used outside of a ThemeProvider
22
+ * @param customTheme - (Optionnel) Mode de thème personnalisé à utiliser au lieu du thème du contexte actuel.
23
+ * @returns La valeur du contexte du thème avec le thème actuel, le mode, la fonction pour le modifier et les thèmes disponibles.
24
+ * @throws Erreur s'il est utilisé en dehors d'un ThemeProvider.
25
25
  *
26
26
  * @example
27
27
  * ```tsx
28
- * // Basic usage
28
+ * // Utilisation de base
29
29
  * const { theme, mode, setTheme } = useTheme();
30
30
  *
31
- * // With custom theme
31
+ * // Avec un thème personnalisé
32
32
  * const { theme } = useTheme('neon');
33
33
  * ```
34
34
  */
35
35
  declare const useTheme: (customTheme?: ThemeMode | CustomThemeMode) => ThemeContextType;
36
36
  /**
37
- * Props for the ThemeProvider component.
37
+ * Propriétés (props) pour le composant ThemeProvider.
38
38
  */
39
39
  interface ThemeProviderProps {
40
- /** Child components that will have access to the theme context */
40
+ /** Composants enfants qui auront accès au contexte du thème */
41
41
  children: React.ReactNode;
42
- /** Default theme to use when no theme is stored in state */
42
+ /** Thème par défaut à utiliser lorsqu'aucun thème n'est stocké dans l'état */
43
43
  defaultTheme?: ThemeMode | CustomThemeMode;
44
- /** Additional custom themes to merge with built-in themes */
44
+ /** Thèmes personnalisés supplémentaires à fusionner avec les thèmes intégrés */
45
45
  customThemes?: Partial<ThemeRegistry>;
46
46
  }
47
47
  /**
48
- * Provides theme context to child components.
48
+ * Fournit le contexte du thème aux composants enfants.
49
+ *
50
+ * Gère l'état du thème actuel et permet d'accéder à la fonctionnalité de changement de thème.
51
+ * Prend en charge les thèmes intégrés (clair, sombre, néon) et les thèmes personnalisés.
52
+ * Provides the theme context to child components.
49
53
  *
50
- * Manages the current theme state and provides access to theme switching functionality.
54
+ * Manages the current theme state and provides access to theme changing functionality.
51
55
  * Supports built-in themes (light, dark, neon) and custom themes.
52
56
  *
53
- * @param props - The theme provider props
54
- * @returns A context provider component
57
+ * @param props - The theme provider properties.
58
+ * @returns A context provider component.
55
59
  *
56
60
  * @example
57
61
  * ```tsx
@@ -68,40 +72,26 @@ interface ThemeProviderProps {
68
72
  */
69
73
  declare const ThemeProvider: React.FC<ThemeProviderProps>;
70
74
 
71
- declare const createTheme: (overrides?: Partial<ColorScheme>) => ColorScheme;
72
-
73
- declare const autumnTheme: ColorScheme;
74
-
75
- declare const christmasTheme: ColorScheme;
76
-
77
- declare const darkTheme: ColorScheme;
78
-
79
- declare const halloweenTheme: ColorScheme;
80
-
81
- declare const lightTheme: ColorScheme;
82
-
83
- declare const neonTheme: ColorScheme;
84
-
85
- declare const springTheme: ColorScheme;
86
-
87
- declare const summerTheme: ColorScheme;
88
-
89
- declare const winterTheme: ColorScheme;
90
-
91
75
  /**
92
- * Hook for managing theme color scheme in the application.
76
+ * Hook pour gérer le schéma de couleurs du thème dans l'application.
93
77
  *
94
- * This hook provides a unified way to handle theme selection by:
95
- * - Using the explicitly provided theme mode if specified
96
- * - Falling back to the device's native color scheme (light/dark) when no theme is provided
97
- * - Defaulting to 'light' theme when the native scheme is unavailable
78
+ * Ce hook fournit une manière unifiée de gérer la sélection du thème :
79
+ * - Utilisation du mode de thème fourni explicitement s'il est spécifié.
80
+ * - Utilisation du schéma de couleurs natif de l'appareil (clair/sombre) par défaut.
81
+ * - Utilisation du thème clair par défaut si le schéma natif n'est pas disponible.
82
+ * Hook to manage the theme color scheme in the application.
98
83
  *
99
- * @param theme - Optional explicit theme mode to use instead of device preference
100
- * @returns The resolved theme mode ('light' | 'dark')
84
+ * This hook provides a unified way to manage theme selection:
85
+ * - Uses the explicitly provided theme mode if specified.
86
+ * - Uses the device's native color scheme (light/dark) by default.
87
+ * - Defaults to light theme if the native scheme is unavailable.
88
+ *
89
+ * @param theme - (Optional) Explicit theme mode to use instead of the device preference.
90
+ * @returns The resolved theme mode ('light' or 'dark').
101
91
  *
102
92
  * @example
103
93
  * ```typescript
104
- * // Use device's native color scheme
94
+ * // Use the device's native color scheme
105
95
  * const theme = useColorScheme();
106
96
  *
107
97
  * // Force light theme regardless of device preference
@@ -112,11 +102,18 @@ declare const winterTheme: ColorScheme;
112
102
  * ```
113
103
  *
114
104
  * @remarks
115
- * - The hook leverages React Native's built-in `useColorScheme` hook
116
- * - On platforms where color scheme detection is not available, defaults to 'light'
117
- * - This is typically used in conjunction with the ThemeProvider to ensure
118
- * consistent theming across the entire application
105
+ * - The hook leverages the built-in `useColorScheme` hook from React Native.
106
+ * - On platforms where color scheme detection is not available, it defaults to 'light'.
107
+ * - This is typically used with the ThemeProvider to ensure consistent theming throughout the application.
119
108
  */
120
109
  declare function useColorScheme(theme?: 'light' | 'dark'): 'light' | 'dark';
121
110
 
122
- export { ColorScheme, CustomThemeMode, ThemeMode, ThemeProvider, ThemeRegistry, autumnTheme, christmasTheme, createTheme, darkTheme, halloweenTheme, lightTheme, neonTheme, springTheme, summerTheme, useColorScheme, useTheme, winterTheme };
111
+ /**
112
+ * Crée un schéma de couleurs de thème en fusionnant les valeurs par défaut avec les surcharges (overrides).
113
+ *
114
+ * @param overrides - (Optionnel) Objet contenant les valeurs de couleurs à surcharger.
115
+ * @returns Le schéma de couleurs complet du thème généré.
116
+ */
117
+ declare const createTheme: (overrides?: Partial<ColorScheme>) => ColorScheme;
118
+
119
+ export { ColorScheme, CustomThemeMode, ThemeMode, ThemeProvider, ThemeRegistry, createTheme, useColorScheme, useTheme };
@@ -1,60 +1,28 @@
1
1
  'use strict';
2
2
 
3
- var chunkRUZBEFDO_js = require('../chunk-RUZBEFDO.js');
3
+ var chunkRPO7RKXJ_js = require('../chunk-RPO7RKXJ.js');
4
4
 
5
5
 
6
6
 
7
7
  Object.defineProperty(exports, "ThemeProvider", {
8
8
  enumerable: true,
9
- get: function () { return chunkRUZBEFDO_js.ThemeProvider; }
10
- });
11
- Object.defineProperty(exports, "autumnTheme", {
12
- enumerable: true,
13
- get: function () { return chunkRUZBEFDO_js.autumnTheme; }
14
- });
15
- Object.defineProperty(exports, "christmasTheme", {
16
- enumerable: true,
17
- get: function () { return chunkRUZBEFDO_js.christmasTheme; }
9
+ get: function () { return chunkRPO7RKXJ_js.ThemeProvider; }
18
10
  });
19
11
  Object.defineProperty(exports, "createTheme", {
20
12
  enumerable: true,
21
- get: function () { return chunkRUZBEFDO_js.createTheme; }
22
- });
23
- Object.defineProperty(exports, "darkTheme", {
24
- enumerable: true,
25
- get: function () { return chunkRUZBEFDO_js.darkTheme; }
26
- });
27
- Object.defineProperty(exports, "halloweenTheme", {
28
- enumerable: true,
29
- get: function () { return chunkRUZBEFDO_js.halloweenTheme; }
13
+ get: function () { return chunkRPO7RKXJ_js.createTheme; }
30
14
  });
31
- Object.defineProperty(exports, "lightTheme", {
15
+ Object.defineProperty(exports, "themes", {
32
16
  enumerable: true,
33
- get: function () { return chunkRUZBEFDO_js.lightTheme; }
34
- });
35
- Object.defineProperty(exports, "neonTheme", {
36
- enumerable: true,
37
- get: function () { return chunkRUZBEFDO_js.neonTheme; }
38
- });
39
- Object.defineProperty(exports, "springTheme", {
40
- enumerable: true,
41
- get: function () { return chunkRUZBEFDO_js.springTheme; }
42
- });
43
- Object.defineProperty(exports, "summerTheme", {
44
- enumerable: true,
45
- get: function () { return chunkRUZBEFDO_js.summerTheme; }
17
+ get: function () { return chunkRPO7RKXJ_js.themes; }
46
18
  });
47
19
  Object.defineProperty(exports, "useColorScheme", {
48
20
  enumerable: true,
49
- get: function () { return chunkRUZBEFDO_js.useColorScheme; }
21
+ get: function () { return chunkRPO7RKXJ_js.useColorScheme; }
50
22
  });
51
23
  Object.defineProperty(exports, "useTheme", {
52
24
  enumerable: true,
53
- get: function () { return chunkRUZBEFDO_js.useTheme; }
54
- });
55
- Object.defineProperty(exports, "winterTheme", {
56
- enumerable: true,
57
- get: function () { return chunkRUZBEFDO_js.winterTheme; }
25
+ get: function () { return chunkRPO7RKXJ_js.useTheme; }
58
26
  });
59
27
  //# sourceMappingURL=index.js.map
60
28
  //# sourceMappingURL=index.js.map
@@ -1,3 +1,3 @@
1
- export { ThemeProvider, autumnTheme, christmasTheme, createTheme, darkTheme, halloweenTheme, lightTheme, neonTheme, springTheme, summerTheme, useColorScheme, useTheme, winterTheme } from '../chunk-RRV2Q4SS.mjs';
1
+ export { ThemeProvider, createTheme, themes, useColorScheme, useTheme } from '../chunk-TZUCBWHN.mjs';
2
2
  //# sourceMappingURL=index.mjs.map
3
3
  //# sourceMappingURL=index.mjs.map
@@ -1,60 +1,72 @@
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
-
3
1
  declare const colors: {
4
2
  readonly white: "#FFFFFF";
5
3
  readonly black: "#000000";
6
- readonly gray50: "#F9FAFB";
7
- readonly gray100: "#F3F4F6";
8
- readonly gray200: "#E5E7EB";
9
- readonly gray300: "#D1D5DB";
10
- readonly gray400: "#9CA3AF";
11
- readonly gray500: "#6B7280";
12
- readonly gray600: "#4B5563";
13
- readonly gray700: "#374151";
14
- readonly gray800: "#1F2937";
15
- readonly gray900: "#111827";
16
- readonly primary50: "#E5E5F4";
17
- readonly primary100: "#CCCCE9";
18
- readonly primary200: "#9999D3";
19
- readonly primary300: "#6666BD";
20
- readonly primary400: "#3333A7";
21
- readonly primary500: "#000091";
22
- readonly primary600: "#000082";
23
- readonly primary700: "#00006D";
24
- readonly primary800: "#000055";
25
- readonly primary900: "#00003D";
4
+ readonly gray: {
5
+ readonly "50": "#F9FAFB";
6
+ readonly "100": "#F3F4F6";
7
+ readonly "200": "#E5E7EB";
8
+ readonly "300": "#D1D5DB";
9
+ readonly "400": "#9CA3AF";
10
+ readonly "500": "#6B7280";
11
+ readonly "600": "#4B5563";
12
+ readonly "700": "#374151";
13
+ readonly "800": "#1F2937";
14
+ readonly "900": "#111827";
15
+ };
16
+ readonly primary: {
17
+ readonly "50": "#E5E5F4";
18
+ readonly "100": "#CCCCE9";
19
+ readonly "200": "#9999D3";
20
+ readonly "300": "#6666BD";
21
+ readonly "400": "#3333A7";
22
+ readonly "500": "#000091";
23
+ readonly "600": "#000082";
24
+ readonly "700": "#00006D";
25
+ readonly "800": "#000055";
26
+ readonly "900": "#00003D";
27
+ };
26
28
  readonly primaryForeground: "#FFFFFF";
27
- readonly secondary50: "#E7E7FF";
28
- readonly secondary100: "#CFCFFF";
29
- readonly secondary200: "#9F9FFF";
30
- readonly secondary300: "#6F6FFF";
31
- readonly secondary400: "#3F3FFF";
32
- readonly secondary500: "#0D0EFF";
33
- readonly secondary600: "#0B0CD6";
34
- readonly secondary700: "#0809AD";
35
- readonly secondary800: "#060685";
36
- readonly secondary900: "#03035C";
29
+ readonly secondary: {
30
+ readonly "50": "#E7E7FF";
31
+ readonly "100": "#CFCFFF";
32
+ readonly "200": "#9F9FFF";
33
+ readonly "300": "#6F6FFF";
34
+ readonly "400": "#3F3FFF";
35
+ readonly "500": "#0D0EFF";
36
+ readonly "600": "#0B0CD6";
37
+ readonly "700": "#0809AD";
38
+ readonly "800": "#060685";
39
+ readonly "900": "#03035C";
40
+ };
37
41
  readonly secondaryForeground: "#FFFFFF";
38
- readonly success50: "#F0FDF4";
39
- readonly success100: "#DCFCE7";
40
- readonly success500: "#22C55E";
41
- readonly success600: "#16A34A";
42
- readonly success700: "#15803D";
43
- readonly warning50: "#FFFBEB";
44
- readonly warning100: "#FEF3C7";
45
- readonly warning500: "#F59E0B";
46
- readonly warning600: "#D97706";
47
- readonly warning700: "#B45309";
48
- readonly error50: "#FEF2F2";
49
- readonly error100: "#FEE2E2";
50
- readonly error500: "#EF4444";
51
- readonly error600: "#DC2626";
52
- readonly error700: "#B91C1C";
53
- readonly info50: "#EFF6FF";
54
- readonly info100: "#DBEAFE";
55
- readonly info500: "#3B82F6";
56
- readonly info600: "#2563EB";
57
- readonly info700: "#1D4ED8";
42
+ readonly success: {
43
+ readonly "50": "#F0FDF4";
44
+ readonly "100": "#DCFCE7";
45
+ readonly "500": "#22C55E";
46
+ readonly "600": "#16A34A";
47
+ readonly "700": "#15803D";
48
+ };
49
+ readonly warning: {
50
+ readonly "50": "#FFFBEB";
51
+ readonly "100": "#FEF3C7";
52
+ readonly "500": "#F59E0B";
53
+ readonly "600": "#D97706";
54
+ readonly "700": "#B45309";
55
+ };
56
+ readonly error: {
57
+ readonly "50": "#FEF2F2";
58
+ readonly "100": "#FEE2E2";
59
+ readonly "500": "#EF4444";
60
+ readonly "600": "#DC2626";
61
+ readonly "700": "#B91C1C";
62
+ };
63
+ readonly info: {
64
+ readonly "50": "#EFF6FF";
65
+ readonly "100": "#DBEAFE";
66
+ readonly "500": "#3B82F6";
67
+ readonly "600": "#2563EB";
68
+ readonly "700": "#1D4ED8";
69
+ };
58
70
  readonly neon: {
59
71
  readonly background: "#1A0033";
60
72
  readonly surface: "#2D0047";
@@ -190,89 +202,200 @@ declare const colors: {
190
202
  };
191
203
  readonly transparent: "transparent";
192
204
  };
193
- type ColorToken = keyof typeof colors;
194
-
195
- declare const durations: {
196
- readonly instant: 0;
197
- readonly fast: 150;
198
- readonly base: 250;
199
- readonly slow: 350;
200
- readonly slower: 500;
205
+ declare const spacing: {
206
+ readonly "0": 0;
207
+ readonly "1": 4;
208
+ readonly "2": 8;
209
+ readonly "3": 12;
210
+ readonly "4": 16;
211
+ readonly "5": 20;
212
+ readonly "6": 24;
213
+ readonly "7": 28;
214
+ readonly "8": 32;
215
+ readonly "10": 40;
216
+ readonly "12": 48;
217
+ readonly "14": 56;
218
+ readonly "16": 64;
219
+ readonly "20": 80;
220
+ readonly "24": 96;
221
+ readonly "28": 112;
222
+ readonly "32": 128;
223
+ readonly "36": 144;
224
+ readonly "40": 160;
225
+ readonly "44": 176;
226
+ readonly "48": 192;
227
+ readonly "52": 208;
228
+ readonly "56": 224;
229
+ readonly "60": 240;
230
+ readonly "64": 256;
201
231
  };
202
- declare const easings: {
203
- readonly linear: "linear";
204
- readonly easeIn: "ease-in";
205
- readonly easeOut: "ease-out";
206
- readonly easeInOut: "ease-in-out";
232
+ declare const typography: {
233
+ readonly fontSizes: {
234
+ readonly xs: 12;
235
+ readonly sm: 14;
236
+ readonly base: 16;
237
+ readonly lg: 18;
238
+ readonly xl: 20;
239
+ readonly "2xl": 24;
240
+ readonly "3xl": 30;
241
+ readonly "4xl": 36;
242
+ readonly "5xl": 48;
243
+ readonly "6xl": 60;
244
+ readonly "7xl": 72;
245
+ };
246
+ readonly fontWeights: {
247
+ readonly thin: "100";
248
+ readonly extralight: "200";
249
+ readonly light: "300";
250
+ readonly normal: "400";
251
+ readonly medium: "500";
252
+ readonly semibold: "600";
253
+ readonly bold: "700";
254
+ readonly extrabold: "800";
255
+ readonly black: "900";
256
+ };
257
+ readonly lineHeights: {
258
+ readonly none: 1;
259
+ readonly tight: 1.25;
260
+ readonly snug: 1.375;
261
+ readonly normal: 1.5;
262
+ readonly relaxed: 1.625;
263
+ readonly loose: 2;
264
+ };
265
+ readonly letterSpacings: {
266
+ readonly tighter: -0.8;
267
+ readonly tight: -0.4;
268
+ readonly normal: 0;
269
+ readonly wide: 0.4;
270
+ readonly wider: 0.8;
271
+ readonly widest: 1.6;
272
+ };
207
273
  };
208
- type DurationToken = keyof typeof durations;
209
- type EasingToken = keyof typeof easings;
210
-
211
- declare const opacity: {
212
- readonly 0: 0;
213
- readonly 5: 0.05;
214
- readonly 10: 0.1;
215
- readonly 20: 0.2;
216
- readonly 25: 0.25;
217
- readonly 30: 0.3;
218
- readonly 40: 0.4;
219
- readonly 50: 0.5;
220
- readonly 60: 0.6;
221
- readonly 70: 0.7;
222
- readonly 75: 0.75;
223
- readonly 80: 0.8;
224
- readonly 90: 0.9;
225
- readonly 95: 0.95;
226
- readonly 100: 1;
274
+ declare const breakpoints: {
275
+ readonly xs: 0;
276
+ readonly sm: 576;
277
+ readonly md: 768;
278
+ readonly lg: 992;
279
+ readonly xl: 1200;
280
+ readonly "2xl": 1440;
227
281
  };
228
- type OpacityToken = keyof typeof opacity;
229
-
230
- declare const fontSizes: {
231
- readonly xs: 12;
232
- readonly sm: 14;
233
- readonly base: 16;
234
- readonly lg: 18;
235
- readonly xl: 20;
236
- readonly "2xl": 24;
237
- readonly "3xl": 30;
238
- readonly "4xl": 36;
239
- readonly "5xl": 48;
240
- readonly "6xl": 60;
241
- readonly "7xl": 72;
282
+ declare const opacity: {
283
+ readonly "0": 0;
284
+ readonly "5": 0.05;
285
+ readonly "10": 0.1;
286
+ readonly "20": 0.2;
287
+ readonly "25": 0.25;
288
+ readonly "30": 0.3;
289
+ readonly "40": 0.4;
290
+ readonly "50": 0.5;
291
+ readonly "60": 0.6;
292
+ readonly "70": 0.7;
293
+ readonly "75": 0.75;
294
+ readonly "80": 0.8;
295
+ readonly "90": 0.9;
296
+ readonly "95": 0.95;
297
+ readonly "100": 1;
242
298
  };
243
- declare const fontWeights: {
244
- readonly thin: "100";
245
- readonly extralight: "200";
246
- readonly light: "300";
247
- readonly normal: "400";
248
- readonly medium: "500";
249
- readonly semibold: "600";
250
- readonly bold: "700";
251
- readonly extrabold: "800";
252
- readonly black: "900";
299
+ declare const motion: {
300
+ readonly durations: {
301
+ readonly instant: 0;
302
+ readonly fast: 150;
303
+ readonly base: 250;
304
+ readonly slow: 350;
305
+ readonly slower: 500;
306
+ };
307
+ readonly easings: {
308
+ readonly linear: "linear";
309
+ readonly easeIn: "ease-in";
310
+ readonly easeOut: "ease-out";
311
+ readonly easeInOut: "ease-in-out";
312
+ };
253
313
  };
254
- declare const lineHeights: {
255
- readonly none: 1;
256
- readonly tight: 1.25;
257
- readonly snug: 1.375;
258
- readonly normal: 1.5;
259
- readonly relaxed: 1.625;
260
- readonly loose: 2;
314
+ declare const radii: {
315
+ readonly none: 0;
316
+ readonly xs: 2;
317
+ readonly sm: 4;
318
+ readonly base: 6;
319
+ readonly md: 8;
320
+ readonly lg: 12;
321
+ readonly xl: 16;
322
+ readonly "2xl": 20;
323
+ readonly "3xl": 24;
324
+ readonly full: 9999;
261
325
  };
262
- declare const letterSpacings: {
263
- readonly tighter: -0.8;
264
- readonly tight: -0.4;
265
- readonly normal: 0;
266
- readonly wide: 0.4;
267
- readonly wider: 0.8;
268
- readonly widest: 1.6;
326
+ declare const shadows: {
327
+ readonly none: {
328
+ readonly shadowColor: "#000";
329
+ readonly shadowOffset: {
330
+ readonly width: 0;
331
+ readonly height: 0;
332
+ };
333
+ readonly shadowOpacity: 0;
334
+ readonly shadowRadius: 0;
335
+ readonly elevation: 0;
336
+ };
337
+ readonly sm: {
338
+ readonly shadowColor: "#000";
339
+ readonly shadowOffset: {
340
+ readonly width: 0;
341
+ readonly height: 1;
342
+ };
343
+ readonly shadowOpacity: 0.05;
344
+ readonly shadowRadius: 2;
345
+ readonly elevation: 2;
346
+ };
347
+ readonly base: {
348
+ readonly shadowColor: "#000";
349
+ readonly shadowOffset: {
350
+ readonly width: 0;
351
+ readonly height: 2;
352
+ };
353
+ readonly shadowOpacity: 0.1;
354
+ readonly shadowRadius: 4;
355
+ readonly elevation: 3;
356
+ };
357
+ readonly md: {
358
+ readonly shadowColor: "#000";
359
+ readonly shadowOffset: {
360
+ readonly width: 0;
361
+ readonly height: 4;
362
+ };
363
+ readonly shadowOpacity: 0.15;
364
+ readonly shadowRadius: 8;
365
+ readonly elevation: 5;
366
+ };
367
+ readonly lg: {
368
+ readonly shadowColor: "#000";
369
+ readonly shadowOffset: {
370
+ readonly width: 0;
371
+ readonly height: 8;
372
+ };
373
+ readonly shadowOpacity: 0.2;
374
+ readonly shadowRadius: 16;
375
+ readonly elevation: 8;
376
+ };
377
+ readonly xl: {
378
+ readonly shadowColor: "#000";
379
+ readonly shadowOffset: {
380
+ readonly width: 0;
381
+ readonly height: 12;
382
+ };
383
+ readonly shadowOpacity: 0.25;
384
+ readonly shadowRadius: 24;
385
+ readonly elevation: 12;
386
+ };
387
+ readonly "2xl": {
388
+ readonly shadowColor: "#000";
389
+ readonly shadowOffset: {
390
+ readonly width: 0;
391
+ readonly height: 16;
392
+ };
393
+ readonly shadowOpacity: 0.3;
394
+ readonly shadowRadius: 32;
395
+ readonly elevation: 16;
396
+ };
269
397
  };
270
- type FontSizeToken = keyof typeof fontSizes;
271
- type FontWeightToken = keyof typeof fontWeights;
272
- type LineHeightToken = keyof typeof lineHeights;
273
- type LetterSpacingToken = keyof typeof letterSpacings;
274
-
275
- declare const zIndices: {
398
+ declare const zIndex: {
276
399
  readonly base: 0;
277
400
  readonly dropdown: 1000;
278
401
  readonly sticky: 1100;
@@ -283,6 +406,18 @@ declare const zIndices: {
283
406
  readonly toast: 1600;
284
407
  readonly tooltip: 1700;
285
408
  };
286
- type ZIndexToken = keyof typeof zIndices;
409
+ type ColorToken = keyof typeof colors;
410
+ type SpacingToken = keyof typeof spacing;
411
+ type RadiusToken = keyof typeof radii;
412
+ type ShadowToken = keyof typeof shadows;
413
+ type Breakpoint = keyof typeof breakpoints;
414
+ type OpacityToken = keyof typeof opacity;
415
+ type ZIndexToken = keyof typeof zIndex;
416
+ type FontSizeToken = keyof typeof typography.fontSizes;
417
+ type FontWeightToken = keyof typeof typography.fontWeights;
418
+ type LineHeightToken = keyof typeof typography.lineHeights;
419
+ type LetterSpacingToken = keyof typeof typography.letterSpacings;
420
+ type DurationToken = keyof typeof motion.durations;
421
+ type EasingToken = keyof typeof motion.easings;
287
422
 
288
- export { type ColorToken, type DurationToken, type EasingToken, type FontSizeToken, type FontWeightToken, type LetterSpacingToken, type LineHeightToken, type OpacityToken, type ZIndexToken, colors, durations, easings, fontSizes, fontWeights, letterSpacings, lineHeights, opacity, zIndices };
423
+ export { type Breakpoint, type ColorToken, type DurationToken, type EasingToken, type FontSizeToken, type FontWeightToken, type LetterSpacingToken, type LineHeightToken, type OpacityToken, type RadiusToken, type ShadowToken, type SpacingToken, type ZIndexToken, breakpoints, colors, motion, opacity, radii, shadows, spacing, typography, zIndex };