@flipova/foundation 1.11.0 → 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.
- package/CHANGELOG.md +6 -0
- package/README.md +20 -94
- package/dist/chunk-4KNPSB67.js +423 -0
- package/dist/chunk-4KNPSB67.js.map +1 -0
- package/dist/chunk-4NPMHFKO.mjs +6609 -0
- package/dist/chunk-4NPMHFKO.mjs.map +1 -0
- package/dist/chunk-5LRV4YZO.js +7024 -0
- package/dist/chunk-5LRV4YZO.js.map +1 -0
- package/dist/chunk-5N5HC4ZA.mjs +3 -0
- package/dist/{chunk-HS2UOQU4.mjs.map → chunk-5N5HC4ZA.mjs.map} +1 -1
- package/dist/chunk-CKQBSIBR.mjs +6900 -0
- package/dist/chunk-CKQBSIBR.mjs.map +1 -0
- package/dist/chunk-DJP3T7OD.mjs +413 -0
- package/dist/chunk-DJP3T7OD.mjs.map +1 -0
- package/dist/chunk-DNV5UBNF.mjs +3 -0
- package/dist/chunk-DNV5UBNF.mjs.map +1 -0
- package/dist/chunk-IJTI6EX4.js +4 -0
- package/dist/{chunk-2VLBOYBU.js.map → chunk-IJTI6EX4.js.map} +1 -1
- package/dist/{chunk-D4QJYQOK.js → chunk-JYGNIQUU.js} +49 -44
- package/dist/chunk-JYGNIQUU.js.map +1 -0
- package/dist/{chunk-YTD4AWV2.mjs → chunk-NYZH4C27.mjs} +42 -37
- package/dist/chunk-NYZH4C27.mjs.map +1 -0
- package/dist/chunk-O7UP2OZR.js +6705 -0
- package/dist/chunk-O7UP2OZR.js.map +1 -0
- package/dist/chunk-OXKOGLXE.js +4 -0
- package/dist/chunk-OXKOGLXE.js.map +1 -0
- package/dist/chunk-RPO7RKXJ.js +428 -0
- package/dist/chunk-RPO7RKXJ.js.map +1 -0
- package/dist/chunk-TZUCBWHN.mjs +422 -0
- package/dist/chunk-TZUCBWHN.mjs.map +1 -0
- package/dist/cli/ds.js +8334 -0
- package/dist/cli/flipova.js +5021 -0
- package/dist/config/index.d.mts +65 -70
- package/dist/config/index.d.ts +65 -70
- package/dist/config/index.js +6 -6
- package/dist/config/index.mjs +1 -1
- package/dist/{index-D4qJw_Et.d.mts → index-CpBqkIpd.d.mts} +25 -2
- package/dist/{index-D4qJw_Et.d.ts → index-CpBqkIpd.d.ts} +25 -2
- package/dist/index.d.mts +7 -5
- package/dist/index.d.ts +7 -5
- package/dist/index.js +499 -298
- package/dist/index.mjs +5 -4
- package/dist/registry/index.d.mts +9693 -0
- package/dist/registry/index.d.ts +9693 -0
- package/dist/registry/index.js +388 -0
- package/dist/registry/index.mjs +3 -0
- package/dist/theme/index.d.mts +46 -49
- package/dist/theme/index.d.ts +46 -49
- package/dist/theme/index.js +7 -39
- package/dist/theme/index.mjs +1 -1
- package/dist/tokens/index.d.mts +265 -130
- package/dist/tokens/index.d.ts +265 -130
- package/dist/tokens/index.js +15 -31
- package/dist/tokens/index.mjs +1 -1
- package/dist/types/index.d.mts +200 -0
- package/dist/types/index.d.ts +200 -0
- package/dist/types/index.js +4 -0
- package/dist/types/index.js.map +1 -0
- package/dist/types/index.mjs +3 -0
- package/dist/types/index.mjs.map +1 -0
- package/dist/ui/index.d.mts +2981 -0
- package/dist/ui/index.d.ts +2981 -0
- package/dist/ui/index.js +729 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ui/index.mjs +4 -0
- package/dist/ui/index.mjs.map +1 -0
- package/package.json +62 -33
- package/dist/chunk-2VLBOYBU.js +0 -4
- package/dist/chunk-32VWREEH.mjs +0 -8256
- package/dist/chunk-32VWREEH.mjs.map +0 -1
- package/dist/chunk-3RJREGCN.js +0 -8407
- package/dist/chunk-3RJREGCN.js.map +0 -1
- package/dist/chunk-D4QJYQOK.js.map +0 -1
- package/dist/chunk-HS2UOQU4.mjs +0 -3
- package/dist/chunk-IKVONTJC.mjs +0 -397
- package/dist/chunk-IKVONTJC.mjs.map +0 -1
- package/dist/chunk-RRV2Q4SS.mjs +0 -655
- package/dist/chunk-RRV2Q4SS.mjs.map +0 -1
- package/dist/chunk-RUZBEFDO.js +0 -669
- package/dist/chunk-RUZBEFDO.js.map +0 -1
- package/dist/chunk-UBZMVSIN.js +0 -412
- package/dist/chunk-UBZMVSIN.js.map +0 -1
- package/dist/chunk-YTD4AWV2.mjs.map +0 -1
- package/dist/layout/index.d.mts +0 -2529
- package/dist/layout/index.d.ts +0 -2529
- package/dist/layout/index.js +0 -512
- package/dist/layout/index.mjs +0 -3
- package/dist/spacing-CXUulLF9.d.mts +0 -128
- package/dist/spacing-CXUulLF9.d.ts +0 -128
- package/dist/sso/index.js +0 -379
- package/dist/sso/index.js.map +0 -1
- package/dist/sso/index.mjs +0 -374
- package/dist/sso/index.mjs.map +0 -1
- package/dist/studio-v2/cli/index.js +0 -96
- package/dist/web/index.js +0 -6310
- package/dist/web/index.js.map +0 -1
- package/dist/web/index.mjs +0 -6201
- package/dist/web/index.mjs.map +0 -1
- package/studio-v2/apps/web/CHANGELOG.md +0 -7
- package/studio-v2/apps/web/LICENSE +0 -21
- package/studio-v2/apps/web/README.md +0 -56
- package/studio-v2/apps/web/dist/+not-found.html +0 -793
- package/studio-v2/apps/web/dist/_expo/.routes.json +0 -3
- package/studio-v2/apps/web/dist/_expo/static/css/global-a4717de456877faacb88ee482aa99653.css +0 -1
- package/studio-v2/apps/web/dist/_expo/static/js/web/entry-5d96588cc8f2ee5c00754cef9ac6481d.js +0 -15648
- package/studio-v2/apps/web/dist/_expo/static/js/web/index-470f33f64d8c4f7b8d8da2632b2959c2.js +0 -4
- package/studio-v2/apps/web/dist/_expo/static/js/web/index-f7fcd21ae9d8dacf4c88ea5796614af0.js +0 -3
- package/studio-v2/apps/web/dist/_sitemap.html +0 -793
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/AntDesign.3f78af31cca60105799838a1a7a59fbd.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Entypo.31b5ffea3daddc69dd01a1f3d6cf63c5.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/EvilIcons.140c53a7643ea949007aa9a282153849.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Feather.ca4b48e04dc1ce10bfbddb262c8b835f.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/FontAwesome.b06871f281fee6b241d60582ae9369b9.ttf +0 -0
- 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
- 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
- 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
- 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
- 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
- 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
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Fontisto.b49ae8ab2dbccb02c4d11caaacf09eab.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Foundation.e20945d7c929279ef7a6f1db184a4470.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Ionicons.b4eb097d35f44ed943676fd56f6bdc51.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialCommunityIcons.6e435534bd35da5fef04168860a9b8fa.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/MaterialIcons.4e85bc9ebe07e0340c9c4fc2f6c38908.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Octicons.871378c6eab492a3e689a9385dc45a12.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/SimpleLineIcons.d2285965fe34b05465047401b8595dd0.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@expo/vector-icons/build/vendor/react-native-vector-icons/Fonts/Zocial.1681f34aaca71b8dfb70756bca331eb2.ttf +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/drawer/lib/module/views/assets/toggle-drawer-icon.ae74bb20586a731af545e6b00fe14a09.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/@react-navigation/elements/lib/module/assets/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png +0 -0
- package/studio-v2/apps/web/dist/assets/___node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png +0 -0
- package/studio-v2/apps/web/dist/index.html +0 -793
- /package/dist/{layout → registry}/index.js.map +0 -0
- /package/dist/{layout → registry}/index.mjs.map +0 -0
|
@@ -0,0 +1,388 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkO7UP2OZR_js = require('../chunk-O7UP2OZR.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "AccordionMeta", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkO7UP2OZR_js.AccordionMeta; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "AudioMeta", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkO7UP2OZR_js.AudioMeta; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "AuthLayoutMeta", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkO7UP2OZR_js.AuthLayoutMeta; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "AvatarMeta", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkO7UP2OZR_js.AvatarMeta; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "AvatarPickerMeta", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkO7UP2OZR_js.AvatarPickerMeta; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "BadgeMeta", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkO7UP2OZR_js.BadgeMeta; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "BadgeWrapperMeta", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkO7UP2OZR_js.BadgeWrapperMeta; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "BentoLayoutMeta", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkO7UP2OZR_js.BentoLayoutMeta; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "BlurViewMeta", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkO7UP2OZR_js.BlurViewMeta; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "BlurWrapperMeta", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkO7UP2OZR_js.BlurWrapperMeta; }
|
|
46
|
+
});
|
|
47
|
+
Object.defineProperty(exports, "BottomDrawerLayoutMeta", {
|
|
48
|
+
enumerable: true,
|
|
49
|
+
get: function () { return chunkO7UP2OZR_js.BottomDrawerLayoutMeta; }
|
|
50
|
+
});
|
|
51
|
+
Object.defineProperty(exports, "BoxMeta", {
|
|
52
|
+
enumerable: true,
|
|
53
|
+
get: function () { return chunkO7UP2OZR_js.BoxMeta; }
|
|
54
|
+
});
|
|
55
|
+
Object.defineProperty(exports, "ButtonMeta", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function () { return chunkO7UP2OZR_js.ButtonMeta; }
|
|
58
|
+
});
|
|
59
|
+
Object.defineProperty(exports, "CameraMeta", {
|
|
60
|
+
enumerable: true,
|
|
61
|
+
get: function () { return chunkO7UP2OZR_js.CameraMeta; }
|
|
62
|
+
});
|
|
63
|
+
Object.defineProperty(exports, "CardMeta", {
|
|
64
|
+
enumerable: true,
|
|
65
|
+
get: function () { return chunkO7UP2OZR_js.CardMeta; }
|
|
66
|
+
});
|
|
67
|
+
Object.defineProperty(exports, "CenterMeta", {
|
|
68
|
+
enumerable: true,
|
|
69
|
+
get: function () { return chunkO7UP2OZR_js.CenterMeta; }
|
|
70
|
+
});
|
|
71
|
+
Object.defineProperty(exports, "CenteredLayoutMeta", {
|
|
72
|
+
enumerable: true,
|
|
73
|
+
get: function () { return chunkO7UP2OZR_js.CenteredLayoutMeta; }
|
|
74
|
+
});
|
|
75
|
+
Object.defineProperty(exports, "CheckboxMeta", {
|
|
76
|
+
enumerable: true,
|
|
77
|
+
get: function () { return chunkO7UP2OZR_js.CheckboxMeta; }
|
|
78
|
+
});
|
|
79
|
+
Object.defineProperty(exports, "ChipMeta", {
|
|
80
|
+
enumerable: true,
|
|
81
|
+
get: function () { return chunkO7UP2OZR_js.ChipMeta; }
|
|
82
|
+
});
|
|
83
|
+
Object.defineProperty(exports, "CollapsibleWrapperMeta", {
|
|
84
|
+
enumerable: true,
|
|
85
|
+
get: function () { return chunkO7UP2OZR_js.CollapsibleWrapperMeta; }
|
|
86
|
+
});
|
|
87
|
+
Object.defineProperty(exports, "ColorPickerMeta", {
|
|
88
|
+
enumerable: true,
|
|
89
|
+
get: function () { return chunkO7UP2OZR_js.ColorPickerMeta; }
|
|
90
|
+
});
|
|
91
|
+
Object.defineProperty(exports, "DashboardLayoutMeta", {
|
|
92
|
+
enumerable: true,
|
|
93
|
+
get: function () { return chunkO7UP2OZR_js.DashboardLayoutMeta; }
|
|
94
|
+
});
|
|
95
|
+
Object.defineProperty(exports, "DatePickerMeta", {
|
|
96
|
+
enumerable: true,
|
|
97
|
+
get: function () { return chunkO7UP2OZR_js.DatePickerMeta; }
|
|
98
|
+
});
|
|
99
|
+
Object.defineProperty(exports, "DeckLayoutMeta", {
|
|
100
|
+
enumerable: true,
|
|
101
|
+
get: function () { return chunkO7UP2OZR_js.DeckLayoutMeta; }
|
|
102
|
+
});
|
|
103
|
+
Object.defineProperty(exports, "DividerMeta", {
|
|
104
|
+
enumerable: true,
|
|
105
|
+
get: function () { return chunkO7UP2OZR_js.DividerMeta; }
|
|
106
|
+
});
|
|
107
|
+
Object.defineProperty(exports, "EmojiPickerMeta", {
|
|
108
|
+
enumerable: true,
|
|
109
|
+
get: function () { return chunkO7UP2OZR_js.EmojiPickerMeta; }
|
|
110
|
+
});
|
|
111
|
+
Object.defineProperty(exports, "FadeInWrapperMeta", {
|
|
112
|
+
enumerable: true,
|
|
113
|
+
get: function () { return chunkO7UP2OZR_js.FadeInWrapperMeta; }
|
|
114
|
+
});
|
|
115
|
+
Object.defineProperty(exports, "FilePickerMeta", {
|
|
116
|
+
enumerable: true,
|
|
117
|
+
get: function () { return chunkO7UP2OZR_js.FilePickerMeta; }
|
|
118
|
+
});
|
|
119
|
+
Object.defineProperty(exports, "FlatListMeta", {
|
|
120
|
+
enumerable: true,
|
|
121
|
+
get: function () { return chunkO7UP2OZR_js.FlatListMeta; }
|
|
122
|
+
});
|
|
123
|
+
Object.defineProperty(exports, "FlexLayoutMeta", {
|
|
124
|
+
enumerable: true,
|
|
125
|
+
get: function () { return chunkO7UP2OZR_js.FlexLayoutMeta; }
|
|
126
|
+
});
|
|
127
|
+
Object.defineProperty(exports, "FlipLayoutMeta", {
|
|
128
|
+
enumerable: true,
|
|
129
|
+
get: function () { return chunkO7UP2OZR_js.FlipLayoutMeta; }
|
|
130
|
+
});
|
|
131
|
+
Object.defineProperty(exports, "FooterLayoutMeta", {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () { return chunkO7UP2OZR_js.FooterLayoutMeta; }
|
|
134
|
+
});
|
|
135
|
+
Object.defineProperty(exports, "GifPickerMeta", {
|
|
136
|
+
enumerable: true,
|
|
137
|
+
get: function () { return chunkO7UP2OZR_js.GifPickerMeta; }
|
|
138
|
+
});
|
|
139
|
+
Object.defineProperty(exports, "GradientMeta", {
|
|
140
|
+
enumerable: true,
|
|
141
|
+
get: function () { return chunkO7UP2OZR_js.GradientMeta; }
|
|
142
|
+
});
|
|
143
|
+
Object.defineProperty(exports, "GridLayoutMeta", {
|
|
144
|
+
enumerable: true,
|
|
145
|
+
get: function () { return chunkO7UP2OZR_js.GridLayoutMeta; }
|
|
146
|
+
});
|
|
147
|
+
Object.defineProperty(exports, "HeaderContentLayoutMeta", {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () { return chunkO7UP2OZR_js.HeaderContentLayoutMeta; }
|
|
150
|
+
});
|
|
151
|
+
Object.defineProperty(exports, "IconButtonMeta", {
|
|
152
|
+
enumerable: true,
|
|
153
|
+
get: function () { return chunkO7UP2OZR_js.IconButtonMeta; }
|
|
154
|
+
});
|
|
155
|
+
Object.defineProperty(exports, "IconMeta", {
|
|
156
|
+
enumerable: true,
|
|
157
|
+
get: function () { return chunkO7UP2OZR_js.IconMeta; }
|
|
158
|
+
});
|
|
159
|
+
Object.defineProperty(exports, "IconPickerMeta", {
|
|
160
|
+
enumerable: true,
|
|
161
|
+
get: function () { return chunkO7UP2OZR_js.IconPickerMeta; }
|
|
162
|
+
});
|
|
163
|
+
Object.defineProperty(exports, "ImageMeta", {
|
|
164
|
+
enumerable: true,
|
|
165
|
+
get: function () { return chunkO7UP2OZR_js.ImageMeta; }
|
|
166
|
+
});
|
|
167
|
+
Object.defineProperty(exports, "InlineMeta", {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
get: function () { return chunkO7UP2OZR_js.InlineMeta; }
|
|
170
|
+
});
|
|
171
|
+
Object.defineProperty(exports, "KeyboardAvoidWrapperMeta", {
|
|
172
|
+
enumerable: true,
|
|
173
|
+
get: function () { return chunkO7UP2OZR_js.KeyboardAvoidWrapperMeta; }
|
|
174
|
+
});
|
|
175
|
+
Object.defineProperty(exports, "LeftDrawerLayoutMeta", {
|
|
176
|
+
enumerable: true,
|
|
177
|
+
get: function () { return chunkO7UP2OZR_js.LeftDrawerLayoutMeta; }
|
|
178
|
+
});
|
|
179
|
+
Object.defineProperty(exports, "LottieAnimationMeta", {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
get: function () { return chunkO7UP2OZR_js.LottieAnimationMeta; }
|
|
182
|
+
});
|
|
183
|
+
Object.defineProperty(exports, "MapViewMeta", {
|
|
184
|
+
enumerable: true,
|
|
185
|
+
get: function () { return chunkO7UP2OZR_js.MapViewMeta; }
|
|
186
|
+
});
|
|
187
|
+
Object.defineProperty(exports, "MasonryLayoutMeta", {
|
|
188
|
+
enumerable: true,
|
|
189
|
+
get: function () { return chunkO7UP2OZR_js.MasonryLayoutMeta; }
|
|
190
|
+
});
|
|
191
|
+
Object.defineProperty(exports, "NumberInputMeta", {
|
|
192
|
+
enumerable: true,
|
|
193
|
+
get: function () { return chunkO7UP2OZR_js.NumberInputMeta; }
|
|
194
|
+
});
|
|
195
|
+
Object.defineProperty(exports, "OTPInputMeta", {
|
|
196
|
+
enumerable: true,
|
|
197
|
+
get: function () { return chunkO7UP2OZR_js.OTPInputMeta; }
|
|
198
|
+
});
|
|
199
|
+
Object.defineProperty(exports, "ParallaxLayoutMeta", {
|
|
200
|
+
enumerable: true,
|
|
201
|
+
get: function () { return chunkO7UP2OZR_js.ParallaxLayoutMeta; }
|
|
202
|
+
});
|
|
203
|
+
Object.defineProperty(exports, "PasswordInputMeta", {
|
|
204
|
+
enumerable: true,
|
|
205
|
+
get: function () { return chunkO7UP2OZR_js.PasswordInputMeta; }
|
|
206
|
+
});
|
|
207
|
+
Object.defineProperty(exports, "PressableMeta", {
|
|
208
|
+
enumerable: true,
|
|
209
|
+
get: function () { return chunkO7UP2OZR_js.PressableMeta; }
|
|
210
|
+
});
|
|
211
|
+
Object.defineProperty(exports, "ProgressBarMeta", {
|
|
212
|
+
enumerable: true,
|
|
213
|
+
get: function () { return chunkO7UP2OZR_js.ProgressBarMeta; }
|
|
214
|
+
});
|
|
215
|
+
Object.defineProperty(exports, "RadioGroupMeta", {
|
|
216
|
+
enumerable: true,
|
|
217
|
+
get: function () { return chunkO7UP2OZR_js.RadioGroupMeta; }
|
|
218
|
+
});
|
|
219
|
+
Object.defineProperty(exports, "ResponsiveLayoutMeta", {
|
|
220
|
+
enumerable: true,
|
|
221
|
+
get: function () { return chunkO7UP2OZR_js.ResponsiveLayoutMeta; }
|
|
222
|
+
});
|
|
223
|
+
Object.defineProperty(exports, "RootLayoutMeta", {
|
|
224
|
+
enumerable: true,
|
|
225
|
+
get: function () { return chunkO7UP2OZR_js.RootLayoutMeta; }
|
|
226
|
+
});
|
|
227
|
+
Object.defineProperty(exports, "SafeAreaWrapperMeta", {
|
|
228
|
+
enumerable: true,
|
|
229
|
+
get: function () { return chunkO7UP2OZR_js.SafeAreaWrapperMeta; }
|
|
230
|
+
});
|
|
231
|
+
Object.defineProperty(exports, "ScalePressWrapperMeta", {
|
|
232
|
+
enumerable: true,
|
|
233
|
+
get: function () { return chunkO7UP2OZR_js.ScalePressWrapperMeta; }
|
|
234
|
+
});
|
|
235
|
+
Object.defineProperty(exports, "ScrollLayoutMeta", {
|
|
236
|
+
enumerable: true,
|
|
237
|
+
get: function () { return chunkO7UP2OZR_js.ScrollLayoutMeta; }
|
|
238
|
+
});
|
|
239
|
+
Object.defineProperty(exports, "ScrollMeta", {
|
|
240
|
+
enumerable: true,
|
|
241
|
+
get: function () { return chunkO7UP2OZR_js.ScrollMeta; }
|
|
242
|
+
});
|
|
243
|
+
Object.defineProperty(exports, "SearchInputMeta", {
|
|
244
|
+
enumerable: true,
|
|
245
|
+
get: function () { return chunkO7UP2OZR_js.SearchInputMeta; }
|
|
246
|
+
});
|
|
247
|
+
Object.defineProperty(exports, "SelectMeta", {
|
|
248
|
+
enumerable: true,
|
|
249
|
+
get: function () { return chunkO7UP2OZR_js.SelectMeta; }
|
|
250
|
+
});
|
|
251
|
+
Object.defineProperty(exports, "SeparatorMeta", {
|
|
252
|
+
enumerable: true,
|
|
253
|
+
get: function () { return chunkO7UP2OZR_js.SeparatorMeta; }
|
|
254
|
+
});
|
|
255
|
+
Object.defineProperty(exports, "ShimmerWrapperMeta", {
|
|
256
|
+
enumerable: true,
|
|
257
|
+
get: function () { return chunkO7UP2OZR_js.ShimmerWrapperMeta; }
|
|
258
|
+
});
|
|
259
|
+
Object.defineProperty(exports, "SidebarLayoutMeta", {
|
|
260
|
+
enumerable: true,
|
|
261
|
+
get: function () { return chunkO7UP2OZR_js.SidebarLayoutMeta; }
|
|
262
|
+
});
|
|
263
|
+
Object.defineProperty(exports, "SkeletonWrapperMeta", {
|
|
264
|
+
enumerable: true,
|
|
265
|
+
get: function () { return chunkO7UP2OZR_js.SkeletonWrapperMeta; }
|
|
266
|
+
});
|
|
267
|
+
Object.defineProperty(exports, "SketchLayoutMeta", {
|
|
268
|
+
enumerable: true,
|
|
269
|
+
get: function () { return chunkO7UP2OZR_js.SketchLayoutMeta; }
|
|
270
|
+
});
|
|
271
|
+
Object.defineProperty(exports, "SlideUpWrapperMeta", {
|
|
272
|
+
enumerable: true,
|
|
273
|
+
get: function () { return chunkO7UP2OZR_js.SlideUpWrapperMeta; }
|
|
274
|
+
});
|
|
275
|
+
Object.defineProperty(exports, "SliderMeta", {
|
|
276
|
+
enumerable: true,
|
|
277
|
+
get: function () { return chunkO7UP2OZR_js.SliderMeta; }
|
|
278
|
+
});
|
|
279
|
+
Object.defineProperty(exports, "SortableGridLayoutMeta", {
|
|
280
|
+
enumerable: true,
|
|
281
|
+
get: function () { return chunkO7UP2OZR_js.SortableGridLayoutMeta; }
|
|
282
|
+
});
|
|
283
|
+
Object.defineProperty(exports, "SpinnerMeta", {
|
|
284
|
+
enumerable: true,
|
|
285
|
+
get: function () { return chunkO7UP2OZR_js.SpinnerMeta; }
|
|
286
|
+
});
|
|
287
|
+
Object.defineProperty(exports, "SplitLayoutMeta", {
|
|
288
|
+
enumerable: true,
|
|
289
|
+
get: function () { return chunkO7UP2OZR_js.SplitLayoutMeta; }
|
|
290
|
+
});
|
|
291
|
+
Object.defineProperty(exports, "StackMeta", {
|
|
292
|
+
enumerable: true,
|
|
293
|
+
get: function () { return chunkO7UP2OZR_js.StackMeta; }
|
|
294
|
+
});
|
|
295
|
+
Object.defineProperty(exports, "Swipe2ScreenLayoutMeta", {
|
|
296
|
+
enumerable: true,
|
|
297
|
+
get: function () { return chunkO7UP2OZR_js.Swipe2ScreenLayoutMeta; }
|
|
298
|
+
});
|
|
299
|
+
Object.defineProperty(exports, "SwiperLayoutMeta", {
|
|
300
|
+
enumerable: true,
|
|
301
|
+
get: function () { return chunkO7UP2OZR_js.SwiperLayoutMeta; }
|
|
302
|
+
});
|
|
303
|
+
Object.defineProperty(exports, "SwitchMeta", {
|
|
304
|
+
enumerable: true,
|
|
305
|
+
get: function () { return chunkO7UP2OZR_js.SwitchMeta; }
|
|
306
|
+
});
|
|
307
|
+
Object.defineProperty(exports, "SystemLayoutMeta", {
|
|
308
|
+
enumerable: true,
|
|
309
|
+
get: function () { return chunkO7UP2OZR_js.SystemLayoutMeta; }
|
|
310
|
+
});
|
|
311
|
+
Object.defineProperty(exports, "TabsMeta", {
|
|
312
|
+
enumerable: true,
|
|
313
|
+
get: function () { return chunkO7UP2OZR_js.TabsMeta; }
|
|
314
|
+
});
|
|
315
|
+
Object.defineProperty(exports, "TextAreaMeta", {
|
|
316
|
+
enumerable: true,
|
|
317
|
+
get: function () { return chunkO7UP2OZR_js.TextAreaMeta; }
|
|
318
|
+
});
|
|
319
|
+
Object.defineProperty(exports, "TextInputMeta", {
|
|
320
|
+
enumerable: true,
|
|
321
|
+
get: function () { return chunkO7UP2OZR_js.TextInputMeta; }
|
|
322
|
+
});
|
|
323
|
+
Object.defineProperty(exports, "TextMeta", {
|
|
324
|
+
enumerable: true,
|
|
325
|
+
get: function () { return chunkO7UP2OZR_js.TextMeta; }
|
|
326
|
+
});
|
|
327
|
+
Object.defineProperty(exports, "TooltipWrapperMeta", {
|
|
328
|
+
enumerable: true,
|
|
329
|
+
get: function () { return chunkO7UP2OZR_js.TooltipWrapperMeta; }
|
|
330
|
+
});
|
|
331
|
+
Object.defineProperty(exports, "TopDrawerLayoutMeta", {
|
|
332
|
+
enumerable: true,
|
|
333
|
+
get: function () { return chunkO7UP2OZR_js.TopDrawerLayoutMeta; }
|
|
334
|
+
});
|
|
335
|
+
Object.defineProperty(exports, "TutoLayoutMeta", {
|
|
336
|
+
enumerable: true,
|
|
337
|
+
get: function () { return chunkO7UP2OZR_js.TutoLayoutMeta; }
|
|
338
|
+
});
|
|
339
|
+
Object.defineProperty(exports, "VideoMeta", {
|
|
340
|
+
enumerable: true,
|
|
341
|
+
get: function () { return chunkO7UP2OZR_js.VideoMeta; }
|
|
342
|
+
});
|
|
343
|
+
Object.defineProperty(exports, "VoidLayoutMeta", {
|
|
344
|
+
enumerable: true,
|
|
345
|
+
get: function () { return chunkO7UP2OZR_js.VoidLayoutMeta; }
|
|
346
|
+
});
|
|
347
|
+
Object.defineProperty(exports, "WebViewMeta", {
|
|
348
|
+
enumerable: true,
|
|
349
|
+
get: function () { return chunkO7UP2OZR_js.WebViewMeta; }
|
|
350
|
+
});
|
|
351
|
+
Object.defineProperty(exports, "WheelPickerMeta", {
|
|
352
|
+
enumerable: true,
|
|
353
|
+
get: function () { return chunkO7UP2OZR_js.WheelPickerMeta; }
|
|
354
|
+
});
|
|
355
|
+
Object.defineProperty(exports, "blockRegistry", {
|
|
356
|
+
enumerable: true,
|
|
357
|
+
get: function () { return chunkO7UP2OZR_js.blockRegistry; }
|
|
358
|
+
});
|
|
359
|
+
Object.defineProperty(exports, "componentRegistry", {
|
|
360
|
+
enumerable: true,
|
|
361
|
+
get: function () { return chunkO7UP2OZR_js.componentRegistry; }
|
|
362
|
+
});
|
|
363
|
+
Object.defineProperty(exports, "getBlockMeta", {
|
|
364
|
+
enumerable: true,
|
|
365
|
+
get: function () { return chunkO7UP2OZR_js.getBlockMeta; }
|
|
366
|
+
});
|
|
367
|
+
Object.defineProperty(exports, "getComponentMeta", {
|
|
368
|
+
enumerable: true,
|
|
369
|
+
get: function () { return chunkO7UP2OZR_js.getComponentMeta; }
|
|
370
|
+
});
|
|
371
|
+
Object.defineProperty(exports, "getLayoutMeta", {
|
|
372
|
+
enumerable: true,
|
|
373
|
+
get: function () { return chunkO7UP2OZR_js.getLayoutMeta; }
|
|
374
|
+
});
|
|
375
|
+
Object.defineProperty(exports, "getPrimitiveMeta", {
|
|
376
|
+
enumerable: true,
|
|
377
|
+
get: function () { return chunkO7UP2OZR_js.getPrimitiveMeta; }
|
|
378
|
+
});
|
|
379
|
+
Object.defineProperty(exports, "layoutRegistry", {
|
|
380
|
+
enumerable: true,
|
|
381
|
+
get: function () { return chunkO7UP2OZR_js.layoutRegistry; }
|
|
382
|
+
});
|
|
383
|
+
Object.defineProperty(exports, "primitiveRegistry", {
|
|
384
|
+
enumerable: true,
|
|
385
|
+
get: function () { return chunkO7UP2OZR_js.primitiveRegistry; }
|
|
386
|
+
});
|
|
387
|
+
//# sourceMappingURL=index.js.map
|
|
388
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
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 '../chunk-4NPMHFKO.mjs';
|
|
2
|
+
//# sourceMappingURL=index.mjs.map
|
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
package/dist/theme/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { b as ThemeMode, a as CustomThemeMode,
|
|
3
|
-
export { T as ThemeGradients } from '../index-
|
|
2
|
+
import { b as ThemeMode, a as CustomThemeMode, d as ThemeRegistry, C as ColorScheme } from '../index-CpBqkIpd.mjs';
|
|
3
|
+
export { T as ThemeGradients, c as ThemeName, t as themes } from '../index-CpBqkIpd.mjs';
|
|
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
|
|
20
|
+
* Hook pour accéder au contexte du thème.
|
|
21
21
|
*
|
|
22
|
-
* @param customTheme -
|
|
23
|
-
* @returns
|
|
24
|
-
* @throws
|
|
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
|
-
* //
|
|
28
|
+
* // Utilisation de base
|
|
29
29
|
* const { theme, mode, setTheme } = useTheme();
|
|
30
30
|
*
|
|
31
|
-
* //
|
|
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
|
-
*
|
|
37
|
+
* Propriétés (props) pour le composant ThemeProvider.
|
|
38
38
|
*/
|
|
39
39
|
interface ThemeProviderProps {
|
|
40
|
-
/**
|
|
40
|
+
/** Composants enfants qui auront accès au contexte du thème */
|
|
41
41
|
children: React.ReactNode;
|
|
42
|
-
/**
|
|
42
|
+
/** Thème par défaut à utiliser lorsqu'aucun thème n'est stocké dans l'état */
|
|
43
43
|
defaultTheme?: ThemeMode | CustomThemeMode;
|
|
44
|
-
/**
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
76
|
+
* Hook pour gérer le schéma de couleurs du thème dans l'application.
|
|
93
77
|
*
|
|
94
|
-
*
|
|
95
|
-
* -
|
|
96
|
-
* -
|
|
97
|
-
* -
|
|
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
|
-
*
|
|
100
|
-
*
|
|
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
|
|
116
|
-
* - On platforms where color scheme detection is not available, defaults to 'light'
|
|
117
|
-
* - This is typically used
|
|
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
|
-
|
|
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 };
|