expo-router 7.0.0-canary-20251031-b135dff → 7.0.0-canary-20251118-8f7ee64
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/build/Route.d.ts +2 -0
- package/build/Route.d.ts.map +1 -1
- package/build/Route.js.map +1 -1
- package/build/color/android.attr.types.d.ts +142 -0
- package/build/color/android.attr.types.d.ts.map +1 -0
- package/build/color/android.attr.types.js +3 -0
- package/build/color/android.attr.types.js.map +1 -0
- package/build/color/android.color.types.d.ts +1278 -0
- package/build/color/android.color.types.d.ts.map +1 -0
- package/build/color/android.color.types.js +3 -0
- package/build/color/android.color.types.js.map +1 -0
- package/build/color/android.dynamic.types.d.ts +384 -0
- package/build/color/android.dynamic.types.d.ts.map +1 -0
- package/build/color/android.dynamic.types.js +3 -0
- package/build/color/android.dynamic.types.js.map +1 -0
- package/build/color/android.material.types.d.ts +291 -0
- package/build/color/android.material.types.d.ts.map +1 -0
- package/build/color/android.material.types.js +3 -0
- package/build/color/android.material.types.js.map +1 -0
- package/build/color/index.d.ts +35 -0
- package/build/color/index.d.ts.map +1 -0
- package/build/color/index.js +71 -0
- package/build/color/index.js.map +1 -0
- package/build/color/ios.types.d.ts +156 -0
- package/build/color/ios.types.d.ts.map +1 -0
- package/build/color/ios.types.js +3 -0
- package/build/color/ios.types.js.map +1 -0
- package/build/color/materialColor.android.d.ts +4 -0
- package/build/color/materialColor.android.d.ts.map +1 -0
- package/build/color/materialColor.android.js +28 -0
- package/build/color/materialColor.android.js.map +1 -0
- package/build/color/materialColor.d.ts +4 -0
- package/build/color/materialColor.d.ts.map +1 -0
- package/build/color/materialColor.js +11 -0
- package/build/color/materialColor.js.map +1 -0
- package/build/exports.d.ts +2 -0
- package/build/exports.d.ts.map +1 -1
- package/build/exports.js +7 -1
- package/build/exports.js.map +1 -1
- package/build/layouts/DrawerClient.d.ts +4 -2
- package/build/layouts/DrawerClient.d.ts.map +1 -1
- package/build/layouts/Stack.d.ts.map +1 -1
- package/build/layouts/Stack.js +3 -2
- package/build/layouts/Stack.js.map +1 -1
- package/build/layouts/Stack.web.d.ts.map +1 -1
- package/build/layouts/Stack.web.js +3 -2
- package/build/layouts/Stack.web.js.map +1 -1
- package/build/layouts/StackClient.d.ts +18 -10
- package/build/layouts/StackClient.d.ts.map +1 -1
- package/build/layouts/StackClient.js +95 -5
- package/build/layouts/StackClient.js.map +1 -1
- package/build/layouts/TabsClient.d.ts +6 -3
- package/build/layouts/TabsClient.d.ts.map +1 -1
- package/build/layouts/stack-utils/StackHeaderBackButton.d.ts +14 -0
- package/build/layouts/stack-utils/StackHeaderBackButton.d.ts.map +1 -0
- package/build/layouts/stack-utils/StackHeaderBackButton.js +19 -0
- package/build/layouts/stack-utils/StackHeaderBackButton.js.map +1 -0
- package/build/layouts/stack-utils/StackHeaderComponent.d.ts +22 -0
- package/build/layouts/stack-utils/StackHeaderComponent.d.ts.map +1 -0
- package/build/layouts/stack-utils/StackHeaderComponent.js +67 -0
- package/build/layouts/stack-utils/StackHeaderComponent.js.map +1 -0
- package/build/layouts/stack-utils/StackHeaderLeft.d.ts +9 -0
- package/build/layouts/stack-utils/StackHeaderLeft.d.ts.map +1 -0
- package/build/layouts/stack-utils/StackHeaderLeft.js +17 -0
- package/build/layouts/stack-utils/StackHeaderLeft.js.map +1 -0
- package/build/layouts/stack-utils/StackHeaderRight.d.ts +9 -0
- package/build/layouts/stack-utils/StackHeaderRight.d.ts.map +1 -0
- package/build/layouts/stack-utils/StackHeaderRight.js +17 -0
- package/build/layouts/stack-utils/StackHeaderRight.js.map +1 -0
- package/build/layouts/stack-utils/StackHeaderSearchBar.d.ts +7 -0
- package/build/layouts/stack-utils/StackHeaderSearchBar.d.ts.map +1 -0
- package/build/layouts/stack-utils/StackHeaderSearchBar.js +16 -0
- package/build/layouts/stack-utils/StackHeaderSearchBar.js.map +1 -0
- package/build/layouts/stack-utils/StackHeaderTitle.d.ts +22 -0
- package/build/layouts/stack-utils/StackHeaderTitle.d.ts.map +1 -0
- package/build/layouts/stack-utils/StackHeaderTitle.js +41 -0
- package/build/layouts/stack-utils/StackHeaderTitle.js.map +1 -0
- package/build/layouts/stack-utils/StackScreen.d.ts +9 -0
- package/build/layouts/stack-utils/StackScreen.d.ts.map +1 -0
- package/build/layouts/stack-utils/StackScreen.js +34 -0
- package/build/layouts/stack-utils/StackScreen.js.map +1 -0
- package/build/layouts/stack-utils/index.d.ts +17 -0
- package/build/layouts/stack-utils/index.d.ts.map +1 -0
- package/build/layouts/stack-utils/index.js +28 -0
- package/build/layouts/stack-utils/index.js.map +1 -0
- package/build/layouts/stack-utils/utils.d.ts +3 -0
- package/build/layouts/stack-utils/utils.d.ts.map +1 -0
- package/build/layouts/stack-utils/utils.js +8 -0
- package/build/layouts/stack-utils/utils.js.map +1 -0
- package/build/layouts/withLayoutContext.js +1 -1
- package/build/layouts/withLayoutContext.js.map +1 -1
- package/build/loaders/utils.d.ts +9 -0
- package/build/loaders/utils.d.ts.map +1 -1
- package/build/loaders/utils.js +16 -2
- package/build/loaders/utils.js.map +1 -1
- package/build/native-tabs/NativeBottomTabsNavigator.d.ts.map +1 -1
- package/build/native-tabs/NativeBottomTabsNavigator.js.map +1 -1
- package/build/native-tabs/NativeTabTrigger.d.ts +9 -7
- package/build/native-tabs/NativeTabTrigger.d.ts.map +1 -1
- package/build/native-tabs/NativeTabTrigger.js +25 -64
- package/build/native-tabs/NativeTabTrigger.js.map +1 -1
- package/build/native-tabs/NativeTabs.d.ts +4 -1
- package/build/native-tabs/NativeTabs.d.ts.map +1 -1
- package/build/native-tabs/NativeTabsView.d.ts.map +1 -1
- package/build/native-tabs/NativeTabsView.js +8 -3
- package/build/native-tabs/NativeTabsView.js.map +1 -1
- package/build/native-tabs/common/elements.d.ts +28 -90
- package/build/native-tabs/common/elements.d.ts.map +1 -1
- package/build/native-tabs/common/elements.js +16 -18
- package/build/native-tabs/common/elements.js.map +1 -1
- package/build/native-tabs/index.d.ts +1 -2
- package/build/native-tabs/index.d.ts.map +1 -1
- package/build/native-tabs/index.js +1 -3
- package/build/native-tabs/index.js.map +1 -1
- package/build/native-tabs/types.d.ts +20 -170
- package/build/native-tabs/types.d.ts.map +1 -1
- package/build/native-tabs/types.js.map +1 -1
- package/build/native-tabs/utils/icon.d.ts +3 -3
- package/build/native-tabs/utils/icon.d.ts.map +1 -1
- package/build/native-tabs/utils/icon.js +22 -13
- package/build/native-tabs/utils/icon.js.map +1 -1
- package/build/primitives/elements.d.ts +18 -0
- package/build/primitives/elements.d.ts.map +1 -0
- package/build/primitives/elements.js +31 -0
- package/build/primitives/elements.js.map +1 -0
- package/build/primitives/index.d.ts +5 -0
- package/build/primitives/index.d.ts.map +1 -0
- package/build/primitives/index.js +26 -0
- package/build/primitives/index.js.map +1 -0
- package/build/primitives/menu.d.ts +12 -0
- package/build/primitives/menu.d.ts.map +1 -0
- package/build/primitives/menu.js +28 -0
- package/build/primitives/menu.js.map +1 -0
- package/build/{primitives.d.ts → primitives/navigation.d.ts} +1 -1
- package/build/primitives/navigation.d.ts.map +1 -0
- package/build/{primitives.js → primitives/navigation.js} +1 -1
- package/build/primitives/navigation.js.map +1 -0
- package/build/primitives/types.d.ts +26 -0
- package/build/primitives/types.d.ts.map +1 -0
- package/build/primitives/types.js +3 -0
- package/build/primitives/types.js.map +1 -0
- package/build/split-view/elements.js +4 -4
- package/build/split-view/elements.js.map +1 -1
- package/build/split-view/split-view.d.ts +1 -1
- package/build/split-view/split-view.d.ts.map +1 -1
- package/build/split-view/split-view.js +5 -5
- package/build/split-view/split-view.js.map +1 -1
- package/expo-module.config.json +10 -1
- package/ios/{ExpoHead.podspec → ExpoRouter.podspec} +1 -1
- package/package.json +14 -14
- package/build/native-tabs/NativeTabsTriggerTabBar.d.ts +0 -24
- package/build/native-tabs/NativeTabsTriggerTabBar.d.ts.map +0 -1
- package/build/native-tabs/NativeTabsTriggerTabBar.js +0 -28
- package/build/native-tabs/NativeTabsTriggerTabBar.js.map +0 -1
- package/build/primitives.d.ts.map +0 -1
- package/build/primitives.js.map +0 -1
- package/node/getExpoConstantsManifest.js +0 -163
|
@@ -0,0 +1,291 @@
|
|
|
1
|
+
import type { ColorValue } from 'react-native';
|
|
2
|
+
/**
|
|
3
|
+
* [Android Static Material Colors](https://m3.material.io/styles/color/static/baseline)
|
|
4
|
+
*
|
|
5
|
+
* You can find out more about color roles @link https://m3.material.io/styles/color/roles
|
|
6
|
+
*
|
|
7
|
+
* You can read about about difference between dynamic and static colors @link https://m3.material.io/styles/color/choosing-a-scheme
|
|
8
|
+
*
|
|
9
|
+
* For detailed definition of each color role, see @link https://github.com/material-components/material-components-android/blob/master/docs/theming/Color.md
|
|
10
|
+
*/
|
|
11
|
+
export interface AndroidStaticMaterialColorType {
|
|
12
|
+
/**
|
|
13
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
14
|
+
*
|
|
15
|
+
* [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)
|
|
16
|
+
*/
|
|
17
|
+
primary: ColorValue;
|
|
18
|
+
/**
|
|
19
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
20
|
+
*
|
|
21
|
+
* [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)
|
|
22
|
+
*/
|
|
23
|
+
onPrimary: ColorValue;
|
|
24
|
+
/**
|
|
25
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
26
|
+
*
|
|
27
|
+
* [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)
|
|
28
|
+
*/
|
|
29
|
+
primaryContainer: ColorValue;
|
|
30
|
+
/**
|
|
31
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
32
|
+
*
|
|
33
|
+
* [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)
|
|
34
|
+
*/
|
|
35
|
+
onPrimaryContainer: ColorValue;
|
|
36
|
+
/**
|
|
37
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
38
|
+
*
|
|
39
|
+
* [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)
|
|
40
|
+
*
|
|
41
|
+
* [Read more about Inverse colors](https://m3.material.io/styles/color/roles#7fc6b47e-db22-4e98-8359-7649a099e4a1)
|
|
42
|
+
*/
|
|
43
|
+
primaryInverse: ColorValue;
|
|
44
|
+
/**
|
|
45
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
46
|
+
*
|
|
47
|
+
* [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)
|
|
48
|
+
*/
|
|
49
|
+
primaryFixed: ColorValue;
|
|
50
|
+
/**
|
|
51
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
52
|
+
*
|
|
53
|
+
* [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)
|
|
54
|
+
*/
|
|
55
|
+
primaryFixedDim: ColorValue;
|
|
56
|
+
/**
|
|
57
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
58
|
+
*
|
|
59
|
+
* [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)
|
|
60
|
+
*/
|
|
61
|
+
onPrimaryFixed: ColorValue;
|
|
62
|
+
/**
|
|
63
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
64
|
+
*
|
|
65
|
+
* [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)
|
|
66
|
+
*/
|
|
67
|
+
onPrimaryFixedVariant: ColorValue;
|
|
68
|
+
/**
|
|
69
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
70
|
+
*
|
|
71
|
+
* [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)
|
|
72
|
+
*/
|
|
73
|
+
secondary: ColorValue;
|
|
74
|
+
/**
|
|
75
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
76
|
+
*
|
|
77
|
+
* [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)
|
|
78
|
+
*/
|
|
79
|
+
onSecondary: ColorValue;
|
|
80
|
+
/**
|
|
81
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
82
|
+
*
|
|
83
|
+
* [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)
|
|
84
|
+
*/
|
|
85
|
+
secondaryContainer: ColorValue;
|
|
86
|
+
/**
|
|
87
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
88
|
+
*
|
|
89
|
+
* [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)
|
|
90
|
+
*/
|
|
91
|
+
onSecondaryContainer: ColorValue;
|
|
92
|
+
/**
|
|
93
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
94
|
+
*
|
|
95
|
+
* [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)
|
|
96
|
+
*/
|
|
97
|
+
secondaryFixed: ColorValue;
|
|
98
|
+
/**
|
|
99
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
100
|
+
*
|
|
101
|
+
* [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)
|
|
102
|
+
*/
|
|
103
|
+
secondaryFixedDim: ColorValue;
|
|
104
|
+
/**
|
|
105
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
106
|
+
*
|
|
107
|
+
* [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)
|
|
108
|
+
*/
|
|
109
|
+
onSecondaryFixed: ColorValue;
|
|
110
|
+
/**
|
|
111
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
112
|
+
*
|
|
113
|
+
* [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)
|
|
114
|
+
*/
|
|
115
|
+
onSecondaryFixedVariant: ColorValue;
|
|
116
|
+
/**
|
|
117
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
118
|
+
*
|
|
119
|
+
* [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)
|
|
120
|
+
*/
|
|
121
|
+
tertiary: ColorValue;
|
|
122
|
+
/**
|
|
123
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
124
|
+
*
|
|
125
|
+
* [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)
|
|
126
|
+
*/
|
|
127
|
+
onTertiary: ColorValue;
|
|
128
|
+
/**
|
|
129
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
130
|
+
*
|
|
131
|
+
* [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)
|
|
132
|
+
*/
|
|
133
|
+
tertiaryContainer: ColorValue;
|
|
134
|
+
/**
|
|
135
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
136
|
+
*
|
|
137
|
+
* [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)
|
|
138
|
+
*/
|
|
139
|
+
onTertiaryContainer: ColorValue;
|
|
140
|
+
/**
|
|
141
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
142
|
+
*
|
|
143
|
+
* [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)
|
|
144
|
+
*/
|
|
145
|
+
tertiaryFixed: ColorValue;
|
|
146
|
+
/**
|
|
147
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
148
|
+
*
|
|
149
|
+
* [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)
|
|
150
|
+
*/
|
|
151
|
+
tertiaryFixedDim: ColorValue;
|
|
152
|
+
/**
|
|
153
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
154
|
+
*
|
|
155
|
+
* [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)
|
|
156
|
+
*/
|
|
157
|
+
onTertiaryFixed: ColorValue;
|
|
158
|
+
/**
|
|
159
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
160
|
+
*
|
|
161
|
+
* [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)
|
|
162
|
+
*/
|
|
163
|
+
onTertiaryFixedVariant: ColorValue;
|
|
164
|
+
/**
|
|
165
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
166
|
+
*
|
|
167
|
+
* [Read more about Error color role](https://m3.material.io/styles/color/roles#47a25970-8a80-43be-8307-c12e0f7a2b43)
|
|
168
|
+
*/
|
|
169
|
+
error: ColorValue;
|
|
170
|
+
/**
|
|
171
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
172
|
+
*
|
|
173
|
+
* [Read more about Error color role](https://m3.material.io/styles/color/roles#47a25970-8a80-43be-8307-c12e0f7a2b43)
|
|
174
|
+
*/
|
|
175
|
+
onError: ColorValue;
|
|
176
|
+
/**
|
|
177
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
178
|
+
*
|
|
179
|
+
* [Read more about Error color role](https://m3.material.io/styles/color/roles#47a25970-8a80-43be-8307-c12e0f7a2b43)
|
|
180
|
+
*/
|
|
181
|
+
errorContainer: ColorValue;
|
|
182
|
+
/**
|
|
183
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
184
|
+
*
|
|
185
|
+
* [Read more about Error color role](https://m3.material.io/styles/color/roles#47a25970-8a80-43be-8307-c12e0f7a2b43)
|
|
186
|
+
*/
|
|
187
|
+
onErrorContainer: ColorValue;
|
|
188
|
+
/**
|
|
189
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
190
|
+
*
|
|
191
|
+
* [Read more about Outline color role](https://m3.material.io/styles/color/roles#e7d72e44-72e2-4ce9-a18d-df07b1433d18)
|
|
192
|
+
*/
|
|
193
|
+
outline: ColorValue;
|
|
194
|
+
/**
|
|
195
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
196
|
+
*
|
|
197
|
+
* [Read more about Outline color role](https://m3.material.io/styles/color/roles#e7d72e44-72e2-4ce9-a18d-df07b1433d18)
|
|
198
|
+
*/
|
|
199
|
+
outlineVariant: ColorValue;
|
|
200
|
+
/**
|
|
201
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
202
|
+
*/
|
|
203
|
+
background: ColorValue;
|
|
204
|
+
/**
|
|
205
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
206
|
+
*/
|
|
207
|
+
onBackground: ColorValue;
|
|
208
|
+
/**
|
|
209
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
210
|
+
*
|
|
211
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
212
|
+
*/
|
|
213
|
+
surface: ColorValue;
|
|
214
|
+
/**
|
|
215
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
216
|
+
*
|
|
217
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
218
|
+
*/
|
|
219
|
+
onSurface: ColorValue;
|
|
220
|
+
/**
|
|
221
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
222
|
+
*
|
|
223
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
224
|
+
*/
|
|
225
|
+
surfaceVariant: ColorValue;
|
|
226
|
+
/**
|
|
227
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
228
|
+
*
|
|
229
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
230
|
+
*/
|
|
231
|
+
onSurfaceVariant: ColorValue;
|
|
232
|
+
/**
|
|
233
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
234
|
+
*
|
|
235
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
236
|
+
*
|
|
237
|
+
* [Read more about Inverse colors](https://m3.material.io/styles/color/roles#7fc6b47e-db22-4e98-8359-7649a099e4a1)
|
|
238
|
+
*/
|
|
239
|
+
surfaceInverse: ColorValue;
|
|
240
|
+
/**
|
|
241
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
242
|
+
*
|
|
243
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
244
|
+
*
|
|
245
|
+
* [Read more about Inverse colors](https://m3.material.io/styles/color/roles#7fc6b47e-db22-4e98-8359-7649a099e4a1)
|
|
246
|
+
*/
|
|
247
|
+
onSurfaceInverse: ColorValue;
|
|
248
|
+
/**
|
|
249
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
250
|
+
*
|
|
251
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
252
|
+
*/
|
|
253
|
+
surfaceBright: ColorValue;
|
|
254
|
+
/**
|
|
255
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
256
|
+
*
|
|
257
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
258
|
+
*/
|
|
259
|
+
surfaceDim: ColorValue;
|
|
260
|
+
/**
|
|
261
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
262
|
+
*
|
|
263
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
264
|
+
*/
|
|
265
|
+
surfaceContainer: ColorValue;
|
|
266
|
+
/**
|
|
267
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
268
|
+
*
|
|
269
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
270
|
+
*/
|
|
271
|
+
surfaceContainerLow: ColorValue;
|
|
272
|
+
/**
|
|
273
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
274
|
+
*
|
|
275
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
276
|
+
*/
|
|
277
|
+
surfaceContainerLowest: ColorValue;
|
|
278
|
+
/**
|
|
279
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
280
|
+
*
|
|
281
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
282
|
+
*/
|
|
283
|
+
surfaceContainerHigh: ColorValue;
|
|
284
|
+
/**
|
|
285
|
+
* [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)
|
|
286
|
+
*
|
|
287
|
+
* [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)
|
|
288
|
+
*/
|
|
289
|
+
surfaceContainerHighest: ColorValue;
|
|
290
|
+
}
|
|
291
|
+
//# sourceMappingURL=android.material.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"android.material.types.d.ts","sourceRoot":"","sources":["../../src/color/android.material.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C;;;;;;;;GAQG;AACH,MAAM,WAAW,8BAA8B;IAC7C;;;;OAIG;IACH,OAAO,EAAE,UAAU,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,UAAU,CAAC;IACtB;;;;OAIG;IACH,gBAAgB,EAAE,UAAU,CAAC;IAC7B;;;;OAIG;IACH,kBAAkB,EAAE,UAAU,CAAC;IAC/B;;;;;;OAMG;IACH,cAAc,EAAE,UAAU,CAAC;IAC3B;;;;OAIG;IACH,YAAY,EAAE,UAAU,CAAC;IACzB;;;;OAIG;IACH,eAAe,EAAE,UAAU,CAAC;IAC5B;;;;OAIG;IACH,cAAc,EAAE,UAAU,CAAC;IAC3B;;;;OAIG;IACH,qBAAqB,EAAE,UAAU,CAAC;IAClC;;;;OAIG;IACH,SAAS,EAAE,UAAU,CAAC;IACtB;;;;OAIG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;;;OAIG;IACH,kBAAkB,EAAE,UAAU,CAAC;IAC/B;;;;OAIG;IACH,oBAAoB,EAAE,UAAU,CAAC;IACjC;;;;OAIG;IACH,cAAc,EAAE,UAAU,CAAC;IAC3B;;;;OAIG;IACH,iBAAiB,EAAE,UAAU,CAAC;IAC9B;;;;OAIG;IACH,gBAAgB,EAAE,UAAU,CAAC;IAC7B;;;;OAIG;IACH,uBAAuB,EAAE,UAAU,CAAC;IACpC;;;;OAIG;IACH,QAAQ,EAAE,UAAU,CAAC;IACrB;;;;OAIG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;;;OAIG;IACH,iBAAiB,EAAE,UAAU,CAAC;IAC9B;;;;OAIG;IACH,mBAAmB,EAAE,UAAU,CAAC;IAChC;;;;OAIG;IACH,aAAa,EAAE,UAAU,CAAC;IAC1B;;;;OAIG;IACH,gBAAgB,EAAE,UAAU,CAAC;IAC7B;;;;OAIG;IACH,eAAe,EAAE,UAAU,CAAC;IAC5B;;;;OAIG;IACH,sBAAsB,EAAE,UAAU,CAAC;IACnC;;;;OAIG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;;;OAIG;IACH,OAAO,EAAE,UAAU,CAAC;IACpB;;;;OAIG;IACH,cAAc,EAAE,UAAU,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,EAAE,UAAU,CAAC;IAC7B;;;;OAIG;IACH,OAAO,EAAE,UAAU,CAAC;IACpB;;;;OAIG;IACH,cAAc,EAAE,UAAU,CAAC;IAC3B;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,UAAU,CAAC;IACzB;;;;OAIG;IACH,OAAO,EAAE,UAAU,CAAC;IACpB;;;;OAIG;IACH,SAAS,EAAE,UAAU,CAAC;IACtB;;;;OAIG;IACH,cAAc,EAAE,UAAU,CAAC;IAC3B;;;;OAIG;IACH,gBAAgB,EAAE,UAAU,CAAC;IAC7B;;;;;;OAMG;IACH,cAAc,EAAE,UAAU,CAAC;IAC3B;;;;;;OAMG;IACH,gBAAgB,EAAE,UAAU,CAAC;IAC7B;;;;OAIG;IACH,aAAa,EAAE,UAAU,CAAC;IAC1B;;;;OAIG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;;;OAIG;IACH,gBAAgB,EAAE,UAAU,CAAC;IAC7B;;;;OAIG;IACH,mBAAmB,EAAE,UAAU,CAAC;IAChC;;;;OAIG;IACH,sBAAsB,EAAE,UAAU,CAAC;IACnC;;;;OAIG;IACH,oBAAoB,EAAE,UAAU,CAAC;IACjC;;;;OAIG;IACH,uBAAuB,EAAE,UAAU,CAAC;CACrC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"android.material.types.js","sourceRoot":"","sources":["../../src/color/android.material.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ColorValue } from 'react-native';\n\n/**\n * [Android Static Material Colors](https://m3.material.io/styles/color/static/baseline)\n *\n * You can find out more about color roles @link https://m3.material.io/styles/color/roles\n *\n * You can read about about difference between dynamic and static colors @link https://m3.material.io/styles/color/choosing-a-scheme\n *\n * For detailed definition of each color role, see @link https://github.com/material-components/material-components-android/blob/master/docs/theming/Color.md\n */\nexport interface AndroidStaticMaterialColorType {\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)\n */\n primary: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)\n */\n onPrimary: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)\n */\n primaryContainer: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)\n */\n onPrimaryContainer: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)\n *\n * [Read more about Inverse colors](https://m3.material.io/styles/color/roles#7fc6b47e-db22-4e98-8359-7649a099e4a1)\n */\n primaryInverse: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)\n */\n primaryFixed: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)\n */\n primaryFixedDim: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)\n */\n onPrimaryFixed: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Primary color role](https://m3.material.io/styles/color/roles#41f55188-5c63-4107-ac41-822ebca8ae1b)\n */\n onPrimaryFixedVariant: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)\n */\n secondary: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)\n */\n onSecondary: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)\n */\n secondaryContainer: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)\n */\n onSecondaryContainer: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)\n */\n secondaryFixed: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)\n */\n secondaryFixedDim: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)\n */\n onSecondaryFixed: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Secondary color role](https://m3.material.io/styles/color/roles#290bcc49-b728-414c-8cc5-04336c1c799c)\n */\n onSecondaryFixedVariant: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)\n */\n tertiary: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)\n */\n onTertiary: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)\n */\n tertiaryContainer: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)\n */\n onTertiaryContainer: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)\n */\n tertiaryFixed: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)\n */\n tertiaryFixedDim: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)\n */\n onTertiaryFixed: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Tertiary color role](https://m3.material.io/styles/color/roles#727a0bf8-c95f-4f83-bc43-290d20f24e8e)\n */\n onTertiaryFixedVariant: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Error color role](https://m3.material.io/styles/color/roles#47a25970-8a80-43be-8307-c12e0f7a2b43)\n */\n error: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Error color role](https://m3.material.io/styles/color/roles#47a25970-8a80-43be-8307-c12e0f7a2b43)\n */\n onError: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Error color role](https://m3.material.io/styles/color/roles#47a25970-8a80-43be-8307-c12e0f7a2b43)\n */\n errorContainer: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Error color role](https://m3.material.io/styles/color/roles#47a25970-8a80-43be-8307-c12e0f7a2b43)\n */\n onErrorContainer: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Outline color role](https://m3.material.io/styles/color/roles#e7d72e44-72e2-4ce9-a18d-df07b1433d18)\n */\n outline: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Outline color role](https://m3.material.io/styles/color/roles#e7d72e44-72e2-4ce9-a18d-df07b1433d18)\n */\n outlineVariant: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n */\n background: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n */\n onBackground: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n surface: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n onSurface: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n surfaceVariant: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n onSurfaceVariant: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n *\n * [Read more about Inverse colors](https://m3.material.io/styles/color/roles#7fc6b47e-db22-4e98-8359-7649a099e4a1)\n */\n surfaceInverse: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n *\n * [Read more about Inverse colors](https://m3.material.io/styles/color/roles#7fc6b47e-db22-4e98-8359-7649a099e4a1)\n */\n onSurfaceInverse: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n surfaceBright: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n surfaceDim: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n surfaceContainer: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n surfaceContainerLow: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n surfaceContainerLowest: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n surfaceContainerHigh: ColorValue;\n /**\n * [Android Static Material Color](https://m3.material.io/styles/color/static/baseline)\n *\n * [Read more about Surface color role](https://m3.material.io/styles/color/roles#89f972b1-e372-494c-aabc-69aea34ed591)\n */\n surfaceContainerHighest: ColorValue;\n}\n"]}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { type ColorValue } from 'react-native';
|
|
2
|
+
import type { AndroidColorAttrSDK1, AndroidColorAttrSDK5, AndroidColorAttrSDK14, AndroidColorAttrSDK21, AndroidColorAttrSDK23, AndroidColorAttrSDK25, AndroidColorAttrSDK26 } from './android.attr.types';
|
|
3
|
+
import type { AndroidBaseColorSDK1, AndroidBaseColorSDK14, AndroidBaseColorSDK31, AndroidBaseColorSDK34, AndroidBaseColorSDK35, AndroidDeprecatedColor } from './android.color.types';
|
|
4
|
+
import type { AndroidDynamicMaterialColorType } from './android.dynamic.types';
|
|
5
|
+
import type { AndroidStaticMaterialColorType } from './android.material.types';
|
|
6
|
+
import type { IOSBaseColor } from './ios.types';
|
|
7
|
+
export * from './android.color.types';
|
|
8
|
+
export * from './android.attr.types';
|
|
9
|
+
export * from './android.dynamic.types';
|
|
10
|
+
export * from './android.material.types';
|
|
11
|
+
export * from './ios.types';
|
|
12
|
+
export type AndroidBaseColor = AndroidBaseColorSDK1 & AndroidBaseColorSDK14 & AndroidBaseColorSDK31 & AndroidBaseColorSDK34 & AndroidBaseColorSDK35 & AndroidDeprecatedColor & {
|
|
13
|
+
[key: string]: ColorValue;
|
|
14
|
+
};
|
|
15
|
+
export type AndroidBaseColorAttr = AndroidColorAttrSDK1 & AndroidColorAttrSDK5 & AndroidColorAttrSDK14 & AndroidColorAttrSDK21 & AndroidColorAttrSDK23 & AndroidColorAttrSDK25 & AndroidColorAttrSDK26 & {
|
|
16
|
+
[key: string]: ColorValue;
|
|
17
|
+
};
|
|
18
|
+
export type AndroidMaterialColor = AndroidStaticMaterialColorType & {
|
|
19
|
+
[key: string]: ColorValue;
|
|
20
|
+
};
|
|
21
|
+
export type AndroidDynamicMaterialColor = AndroidDynamicMaterialColorType & {
|
|
22
|
+
[key: string]: ColorValue;
|
|
23
|
+
};
|
|
24
|
+
export interface ColorType {
|
|
25
|
+
ios: IOSBaseColor & {
|
|
26
|
+
[key: string]: ColorValue;
|
|
27
|
+
};
|
|
28
|
+
android: AndroidBaseColor & {
|
|
29
|
+
attr: AndroidBaseColorAttr;
|
|
30
|
+
material: AndroidMaterialColor;
|
|
31
|
+
dynamic: AndroidDynamicMaterialColor;
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export declare const Color: ColorType;
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/color/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,KAAK,EACV,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EACV,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,yBAAyB,CAAC;AAC/E,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,0BAA0B,CAAC;AAC/E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAGhD,cAAc,uBAAuB,CAAC;AACtC,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,aAAa,CAAC;AAE5B,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GACjD,qBAAqB,GACrB,qBAAqB,GACrB,qBAAqB,GACrB,qBAAqB,GACrB,sBAAsB,GAAG;IACvB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC;CAC3B,CAAC;AAEJ,MAAM,MAAM,oBAAoB,GAAG,oBAAoB,GACrD,oBAAoB,GACpB,qBAAqB,GACrB,qBAAqB,GACrB,qBAAqB,GACrB,qBAAqB,GACrB,qBAAqB,GAAG;IACtB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC;CAC3B,CAAC;AAEJ,MAAM,MAAM,oBAAoB,GAAG,8BAA8B,GAAG;IAClE,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,+BAA+B,GAAG;IAC1E,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC;CAC3B,CAAC;AAEF,MAAM,WAAW,SAAS;IACxB,GAAG,EAAE,YAAY,GAAG;QAClB,CAAC,GAAG,EAAE,MAAM,GAAG,UAAU,CAAC;KAC3B,CAAC;IACF,OAAO,EAAE,gBAAgB,GAAG;QAC1B,IAAI,EAAE,oBAAoB,CAAC;QAC3B,QAAQ,EAAE,oBAAoB,CAAC;QAC/B,OAAO,EAAE,2BAA2B,CAAC;KACtC,CAAC;CACH;AAgDD,eAAO,MAAM,KAAK,EAAE,SAOnB,CAAC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.Color = void 0;
|
|
18
|
+
const react_native_1 = require("react-native");
|
|
19
|
+
const materialColor_1 = require("./materialColor");
|
|
20
|
+
__exportStar(require("./android.color.types"), exports);
|
|
21
|
+
__exportStar(require("./android.attr.types"), exports);
|
|
22
|
+
__exportStar(require("./android.dynamic.types"), exports);
|
|
23
|
+
__exportStar(require("./android.material.types"), exports);
|
|
24
|
+
__exportStar(require("./ios.types"), exports);
|
|
25
|
+
const iosColor = new Proxy({}, {
|
|
26
|
+
get(_, prop) {
|
|
27
|
+
return (0, react_native_1.PlatformColor)(prop);
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
const androidAttrColor = new Proxy({}, {
|
|
31
|
+
get(_, prop) {
|
|
32
|
+
return (0, react_native_1.PlatformColor)('?attr/' + prop);
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
const androidMaterialColor = new Proxy({}, {
|
|
36
|
+
get(_, prop) {
|
|
37
|
+
return (0, materialColor_1.Material3Color)(prop);
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
const androidDynamicColor = new Proxy({}, {
|
|
41
|
+
get(_, prop) {
|
|
42
|
+
return (0, materialColor_1.Material3DynamicColor)(prop);
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
const androidColor = new Proxy({
|
|
46
|
+
get attr() {
|
|
47
|
+
return androidAttrColor;
|
|
48
|
+
},
|
|
49
|
+
get material() {
|
|
50
|
+
return androidMaterialColor;
|
|
51
|
+
},
|
|
52
|
+
get dynamic() {
|
|
53
|
+
return androidDynamicColor;
|
|
54
|
+
},
|
|
55
|
+
}, {
|
|
56
|
+
get(target, prop) {
|
|
57
|
+
if (prop in target) {
|
|
58
|
+
return target[prop];
|
|
59
|
+
}
|
|
60
|
+
return (0, react_native_1.PlatformColor)('@android:color/' + prop);
|
|
61
|
+
},
|
|
62
|
+
});
|
|
63
|
+
exports.Color = {
|
|
64
|
+
get ios() {
|
|
65
|
+
return iosColor;
|
|
66
|
+
},
|
|
67
|
+
get android() {
|
|
68
|
+
return androidColor;
|
|
69
|
+
},
|
|
70
|
+
};
|
|
71
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/color/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,+CAA8D;AAsB9D,mDAAwE;AAExE,wDAAsC;AACtC,uDAAqC;AACrC,0DAAwC;AACxC,2DAAyC;AACzC,8CAA4B;AAwC5B,MAAM,QAAQ,GAAG,IAAI,KAAK,CAAC,EAAsB,EAAE;IACjD,GAAG,CAAC,CAAC,EAAE,IAAY;QACjB,OAAO,IAAA,4BAAa,EAAC,IAAI,CAAC,CAAC;IAC7B,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,gBAAgB,GAAG,IAAI,KAAK,CAAC,EAAkC,EAAE;IACrE,GAAG,CAAC,CAAC,EAAE,IAAY;QACjB,OAAO,IAAA,4BAAa,EAAC,QAAQ,GAAG,IAAI,CAAC,CAAC;IACxC,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAG,IAAI,KAAK,CAAC,EAAsC,EAAE;IAC7E,GAAG,CAAC,CAAC,EAAE,IAAY;QACjB,OAAO,IAAA,8BAAc,EAAC,IAAI,CAAC,CAAC;IAC9B,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,mBAAmB,GAAG,IAAI,KAAK,CAAC,EAAqC,EAAE;IAC3E,GAAG,CAAC,CAAC,EAAE,IAAY;QACjB,OAAO,IAAA,qCAAqB,EAAC,IAAI,CAAC,CAAC;IACrC,CAAC;CACF,CAAC,CAAC;AAEH,MAAM,YAAY,GAAG,IAAI,KAAK,CAC5B;IACE,IAAI,IAAI;QACN,OAAO,gBAAgB,CAAC;IAC1B,CAAC;IACD,IAAI,QAAQ;QACV,OAAO,oBAAoB,CAAC;IAC9B,CAAC;IACD,IAAI,OAAO;QACT,OAAO,mBAAmB,CAAC;IAC7B,CAAC;CACsB,EACzB;IACE,GAAG,CAAC,MAAM,EAAE,IAAY;QACtB,IAAI,IAAI,IAAI,MAAM,EAAE,CAAC;YACnB,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC;QACtB,CAAC;QACD,OAAO,IAAA,4BAAa,EAAC,iBAAiB,GAAG,IAAI,CAAC,CAAC;IACjD,CAAC;CACF,CACF,CAAC;AAEW,QAAA,KAAK,GAAc;IAC9B,IAAI,GAAG;QACL,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,IAAI,OAAO;QACT,OAAO,YAAY,CAAC;IACtB,CAAC;CACF,CAAC","sourcesContent":["import { PlatformColor, type ColorValue } from 'react-native';\n\nimport type {\n AndroidColorAttrSDK1,\n AndroidColorAttrSDK5,\n AndroidColorAttrSDK14,\n AndroidColorAttrSDK21,\n AndroidColorAttrSDK23,\n AndroidColorAttrSDK25,\n AndroidColorAttrSDK26,\n} from './android.attr.types';\nimport type {\n AndroidBaseColorSDK1,\n AndroidBaseColorSDK14,\n AndroidBaseColorSDK31,\n AndroidBaseColorSDK34,\n AndroidBaseColorSDK35,\n AndroidDeprecatedColor,\n} from './android.color.types';\nimport type { AndroidDynamicMaterialColorType } from './android.dynamic.types';\nimport type { AndroidStaticMaterialColorType } from './android.material.types';\nimport type { IOSBaseColor } from './ios.types';\nimport { Material3Color, Material3DynamicColor } from './materialColor';\n\nexport * from './android.color.types';\nexport * from './android.attr.types';\nexport * from './android.dynamic.types';\nexport * from './android.material.types';\nexport * from './ios.types';\n\nexport type AndroidBaseColor = AndroidBaseColorSDK1 &\n AndroidBaseColorSDK14 &\n AndroidBaseColorSDK31 &\n AndroidBaseColorSDK34 &\n AndroidBaseColorSDK35 &\n AndroidDeprecatedColor & {\n [key: string]: ColorValue;\n };\n\nexport type AndroidBaseColorAttr = AndroidColorAttrSDK1 &\n AndroidColorAttrSDK5 &\n AndroidColorAttrSDK14 &\n AndroidColorAttrSDK21 &\n AndroidColorAttrSDK23 &\n AndroidColorAttrSDK25 &\n AndroidColorAttrSDK26 & {\n [key: string]: ColorValue;\n };\n\nexport type AndroidMaterialColor = AndroidStaticMaterialColorType & {\n [key: string]: ColorValue;\n};\n\nexport type AndroidDynamicMaterialColor = AndroidDynamicMaterialColorType & {\n [key: string]: ColorValue;\n};\n\nexport interface ColorType {\n ios: IOSBaseColor & {\n [key: string]: ColorValue;\n };\n android: AndroidBaseColor & {\n attr: AndroidBaseColorAttr;\n material: AndroidMaterialColor;\n dynamic: AndroidDynamicMaterialColor;\n };\n}\n\nconst iosColor = new Proxy({} as ColorType['ios'], {\n get(_, prop: string) {\n return PlatformColor(prop);\n },\n});\n\nconst androidAttrColor = new Proxy({} as ColorType['android']['attr'], {\n get(_, prop: string) {\n return PlatformColor('?attr/' + prop);\n },\n});\n\nconst androidMaterialColor = new Proxy({} as ColorType['android']['material'], {\n get(_, prop: string) {\n return Material3Color(prop);\n },\n});\n\nconst androidDynamicColor = new Proxy({} as ColorType['android']['dynamic'], {\n get(_, prop: string) {\n return Material3DynamicColor(prop);\n },\n});\n\nconst androidColor = new Proxy(\n {\n get attr() {\n return androidAttrColor;\n },\n get material() {\n return androidMaterialColor;\n },\n get dynamic() {\n return androidDynamicColor;\n },\n } as ColorType['android'],\n {\n get(target, prop: string) {\n if (prop in target) {\n return target[prop];\n }\n return PlatformColor('@android:color/' + prop);\n },\n }\n);\n\nexport const Color: ColorType = {\n get ios() {\n return iosColor;\n },\n get android() {\n return androidColor;\n },\n};\n"]}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { ColorValue } from 'react-native';
|
|
2
|
+
export interface IOSBaseColor {
|
|
3
|
+
/**
|
|
4
|
+
* PlatformColor("systemBlue")
|
|
5
|
+
*/
|
|
6
|
+
systemBlue: ColorValue;
|
|
7
|
+
/**
|
|
8
|
+
* PlatformColor("systemBrown")
|
|
9
|
+
*/
|
|
10
|
+
systemBrown: ColorValue;
|
|
11
|
+
/**
|
|
12
|
+
* PlatformColor("systemCyan")
|
|
13
|
+
*/
|
|
14
|
+
systemCyan: ColorValue;
|
|
15
|
+
/**
|
|
16
|
+
* PlatformColor("systemGreen")
|
|
17
|
+
*/
|
|
18
|
+
systemGreen: ColorValue;
|
|
19
|
+
/**
|
|
20
|
+
* PlatformColor("systemIndigo")
|
|
21
|
+
*/
|
|
22
|
+
systemIndigo: ColorValue;
|
|
23
|
+
/**
|
|
24
|
+
* PlatformColor("systemMint")
|
|
25
|
+
*/
|
|
26
|
+
systemMint: ColorValue;
|
|
27
|
+
/**
|
|
28
|
+
* PlatformColor("systemOrange")
|
|
29
|
+
*/
|
|
30
|
+
systemOrange: ColorValue;
|
|
31
|
+
/**
|
|
32
|
+
* PlatformColor("systemPink")
|
|
33
|
+
*/
|
|
34
|
+
systemPink: ColorValue;
|
|
35
|
+
/**
|
|
36
|
+
* PlatformColor("systemPurple")
|
|
37
|
+
*/
|
|
38
|
+
systemPurple: ColorValue;
|
|
39
|
+
/**
|
|
40
|
+
* PlatformColor("systemRed")
|
|
41
|
+
*/
|
|
42
|
+
systemRed: ColorValue;
|
|
43
|
+
/**
|
|
44
|
+
* PlatformColor("systemTeal")
|
|
45
|
+
*/
|
|
46
|
+
systemTeal: ColorValue;
|
|
47
|
+
/**
|
|
48
|
+
* PlatformColor("systemYellow")
|
|
49
|
+
*/
|
|
50
|
+
systemYellow: ColorValue;
|
|
51
|
+
/**
|
|
52
|
+
* PlatformColor("systemGray")
|
|
53
|
+
*/
|
|
54
|
+
systemGray: ColorValue;
|
|
55
|
+
/**
|
|
56
|
+
* PlatformColor("systemGray2")
|
|
57
|
+
*/
|
|
58
|
+
systemGray2: ColorValue;
|
|
59
|
+
/**
|
|
60
|
+
* PlatformColor("systemGray3")
|
|
61
|
+
*/
|
|
62
|
+
systemGray3: ColorValue;
|
|
63
|
+
/**
|
|
64
|
+
* PlatformColor("systemGray4")
|
|
65
|
+
*/
|
|
66
|
+
systemGray4: ColorValue;
|
|
67
|
+
/**
|
|
68
|
+
* PlatformColor("systemGray5")
|
|
69
|
+
*/
|
|
70
|
+
systemGray5: ColorValue;
|
|
71
|
+
/**
|
|
72
|
+
* PlatformColor("systemGray6")
|
|
73
|
+
*/
|
|
74
|
+
systemGray6: ColorValue;
|
|
75
|
+
/**
|
|
76
|
+
* PlatformColor("label")
|
|
77
|
+
*/
|
|
78
|
+
label: ColorValue;
|
|
79
|
+
/**
|
|
80
|
+
* PlatformColor("secondaryLabel")
|
|
81
|
+
*/
|
|
82
|
+
secondaryLabel: ColorValue;
|
|
83
|
+
/**
|
|
84
|
+
* PlatformColor("tertiaryLabel")
|
|
85
|
+
*/
|
|
86
|
+
tertiaryLabel: ColorValue;
|
|
87
|
+
/**
|
|
88
|
+
* PlatformColor("quaternaryLabel")
|
|
89
|
+
*/
|
|
90
|
+
quaternaryLabel: ColorValue;
|
|
91
|
+
/**
|
|
92
|
+
* PlatformColor("systemFill")
|
|
93
|
+
*/
|
|
94
|
+
systemFill: ColorValue;
|
|
95
|
+
/**
|
|
96
|
+
* PlatformColor("secondarySystemFill")
|
|
97
|
+
*/
|
|
98
|
+
secondarySystemFill: ColorValue;
|
|
99
|
+
/**
|
|
100
|
+
* PlatformColor("tertiarySystemFill")
|
|
101
|
+
*/
|
|
102
|
+
tertiarySystemFill: ColorValue;
|
|
103
|
+
/**
|
|
104
|
+
* PlatformColor("quaternarySystemFill")
|
|
105
|
+
*/
|
|
106
|
+
quaternarySystemFill: ColorValue;
|
|
107
|
+
/**
|
|
108
|
+
* PlatformColor("placeholderText")
|
|
109
|
+
*/
|
|
110
|
+
placeholderText: ColorValue;
|
|
111
|
+
/**
|
|
112
|
+
* PlatformColor("systemBackground")
|
|
113
|
+
*/
|
|
114
|
+
systemBackground: ColorValue;
|
|
115
|
+
/**
|
|
116
|
+
* PlatformColor("secondarySystemBackground")
|
|
117
|
+
*/
|
|
118
|
+
secondarySystemBackground: ColorValue;
|
|
119
|
+
/**
|
|
120
|
+
* PlatformColor("tertiarySystemBackground")
|
|
121
|
+
*/
|
|
122
|
+
tertiarySystemBackground: ColorValue;
|
|
123
|
+
/**
|
|
124
|
+
* PlatformColor("systemGroupedBackground")
|
|
125
|
+
*/
|
|
126
|
+
systemGroupedBackground: ColorValue;
|
|
127
|
+
/**
|
|
128
|
+
* PlatformColor("secondarySystemGroupedBackground")
|
|
129
|
+
*/
|
|
130
|
+
secondarySystemGroupedBackground: ColorValue;
|
|
131
|
+
/**
|
|
132
|
+
* PlatformColor("tertiarySystemGroupedBackground")
|
|
133
|
+
*/
|
|
134
|
+
tertiarySystemGroupedBackground: ColorValue;
|
|
135
|
+
/**
|
|
136
|
+
* PlatformColor("separator")
|
|
137
|
+
*/
|
|
138
|
+
separator: ColorValue;
|
|
139
|
+
/**
|
|
140
|
+
* PlatformColor("opaqueSeparator")
|
|
141
|
+
*/
|
|
142
|
+
opaqueSeparator: ColorValue;
|
|
143
|
+
/**
|
|
144
|
+
* PlatformColor("link")
|
|
145
|
+
*/
|
|
146
|
+
link: ColorValue;
|
|
147
|
+
/**
|
|
148
|
+
* PlatformColor("darkText")
|
|
149
|
+
*/
|
|
150
|
+
darkText: ColorValue;
|
|
151
|
+
/**
|
|
152
|
+
* PlatformColor("lightText")
|
|
153
|
+
*/
|
|
154
|
+
lightText: ColorValue;
|
|
155
|
+
}
|
|
156
|
+
//# sourceMappingURL=ios.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ios.types.d.ts","sourceRoot":"","sources":["../../src/color/ios.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,YAAY,EAAE,UAAU,CAAC;IACzB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,UAAU,CAAC;IACzB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,UAAU,CAAC;IACzB;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC;IACtB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,YAAY,EAAE,UAAU,CAAC;IACzB;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,WAAW,EAAE,UAAU,CAAC;IACxB;;OAEG;IACH,KAAK,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,UAAU,CAAC;IAC3B;;OAEG;IACH,aAAa,EAAE,UAAU,CAAC;IAC1B;;OAEG;IACH,eAAe,EAAE,UAAU,CAAC;IAC5B;;OAEG;IACH,UAAU,EAAE,UAAU,CAAC;IACvB;;OAEG;IACH,mBAAmB,EAAE,UAAU,CAAC;IAChC;;OAEG;IACH,kBAAkB,EAAE,UAAU,CAAC;IAC/B;;OAEG;IACH,oBAAoB,EAAE,UAAU,CAAC;IACjC;;OAEG;IACH,eAAe,EAAE,UAAU,CAAC;IAC5B;;OAEG;IACH,gBAAgB,EAAE,UAAU,CAAC;IAC7B;;OAEG;IACH,yBAAyB,EAAE,UAAU,CAAC;IACtC;;OAEG;IACH,wBAAwB,EAAE,UAAU,CAAC;IACrC;;OAEG;IACH,uBAAuB,EAAE,UAAU,CAAC;IACpC;;OAEG;IACH,gCAAgC,EAAE,UAAU,CAAC;IAC7C;;OAEG;IACH,+BAA+B,EAAE,UAAU,CAAC;IAC5C;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC;IACtB;;OAEG;IACH,eAAe,EAAE,UAAU,CAAC;IAC5B;;OAEG;IACH,IAAI,EAAE,UAAU,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,UAAU,CAAC;IACrB;;OAEG;IACH,SAAS,EAAE,UAAU,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ios.types.js","sourceRoot":"","sources":["../../src/color/ios.types.ts"],"names":[],"mappings":"","sourcesContent":["import type { ColorValue } from 'react-native';\n\nexport interface IOSBaseColor {\n /**\n * PlatformColor(\"systemBlue\")\n */\n systemBlue: ColorValue;\n /**\n * PlatformColor(\"systemBrown\")\n */\n systemBrown: ColorValue;\n /**\n * PlatformColor(\"systemCyan\")\n */\n systemCyan: ColorValue;\n /**\n * PlatformColor(\"systemGreen\")\n */\n systemGreen: ColorValue;\n /**\n * PlatformColor(\"systemIndigo\")\n */\n systemIndigo: ColorValue;\n /**\n * PlatformColor(\"systemMint\")\n */\n systemMint: ColorValue;\n /**\n * PlatformColor(\"systemOrange\")\n */\n systemOrange: ColorValue;\n /**\n * PlatformColor(\"systemPink\")\n */\n systemPink: ColorValue;\n /**\n * PlatformColor(\"systemPurple\")\n */\n systemPurple: ColorValue;\n /**\n * PlatformColor(\"systemRed\")\n */\n systemRed: ColorValue;\n /**\n * PlatformColor(\"systemTeal\")\n */\n systemTeal: ColorValue;\n /**\n * PlatformColor(\"systemYellow\")\n */\n systemYellow: ColorValue;\n /**\n * PlatformColor(\"systemGray\")\n */\n systemGray: ColorValue;\n /**\n * PlatformColor(\"systemGray2\")\n */\n systemGray2: ColorValue;\n /**\n * PlatformColor(\"systemGray3\")\n */\n systemGray3: ColorValue;\n /**\n * PlatformColor(\"systemGray4\")\n */\n systemGray4: ColorValue;\n /**\n * PlatformColor(\"systemGray5\")\n */\n systemGray5: ColorValue;\n /**\n * PlatformColor(\"systemGray6\")\n */\n systemGray6: ColorValue;\n /**\n * PlatformColor(\"label\")\n */\n label: ColorValue;\n /**\n * PlatformColor(\"secondaryLabel\")\n */\n secondaryLabel: ColorValue;\n /**\n * PlatformColor(\"tertiaryLabel\")\n */\n tertiaryLabel: ColorValue;\n /**\n * PlatformColor(\"quaternaryLabel\")\n */\n quaternaryLabel: ColorValue;\n /**\n * PlatformColor(\"systemFill\")\n */\n systemFill: ColorValue;\n /**\n * PlatformColor(\"secondarySystemFill\")\n */\n secondarySystemFill: ColorValue;\n /**\n * PlatformColor(\"tertiarySystemFill\")\n */\n tertiarySystemFill: ColorValue;\n /**\n * PlatformColor(\"quaternarySystemFill\")\n */\n quaternarySystemFill: ColorValue;\n /**\n * PlatformColor(\"placeholderText\")\n */\n placeholderText: ColorValue;\n /**\n * PlatformColor(\"systemBackground\")\n */\n systemBackground: ColorValue;\n /**\n * PlatformColor(\"secondarySystemBackground\")\n */\n secondarySystemBackground: ColorValue;\n /**\n * PlatformColor(\"tertiarySystemBackground\")\n */\n tertiarySystemBackground: ColorValue;\n /**\n * PlatformColor(\"systemGroupedBackground\")\n */\n systemGroupedBackground: ColorValue;\n /**\n * PlatformColor(\"secondarySystemGroupedBackground\")\n */\n secondarySystemGroupedBackground: ColorValue;\n /**\n * PlatformColor(\"tertiarySystemGroupedBackground\")\n */\n tertiarySystemGroupedBackground: ColorValue;\n /**\n * PlatformColor(\"separator\")\n */\n separator: ColorValue;\n /**\n * PlatformColor(\"opaqueSeparator\")\n */\n opaqueSeparator: ColorValue;\n /**\n * PlatformColor(\"link\")\n */\n link: ColorValue;\n /**\n * PlatformColor(\"darkText\")\n */\n darkText: ColorValue;\n /**\n * PlatformColor(\"lightText\")\n */\n lightText: ColorValue;\n}\n"]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type AndroidMaterialColorName = 'primary' | 'onPrimary' | 'primaryContainer' | 'onPrimaryContainer' | 'primaryInverse' | 'primaryFixed' | 'primaryFixedDim' | 'onPrimaryFixed' | 'onPrimaryFixedVariant' | 'secondary' | 'onSecondary' | 'secondaryContainer' | 'onSecondaryContainer' | 'secondaryFixed' | 'secondaryFixedDim' | 'onSecondaryFixed' | 'onSecondaryFixedVariant' | 'tertiary' | 'onTertiary' | 'tertiaryContainer' | 'onTertiaryContainer' | 'tertiaryFixed' | 'tertiaryFixedDim' | 'onTertiaryFixed' | 'onTertiaryFixedVariant' | 'error' | 'onError' | 'errorContainer' | 'onErrorContainer' | 'outline' | 'outlineVariant' | 'onBackground' | 'surface' | 'onSurface' | 'surfaceVariant' | 'onSurfaceVariant' | 'surfaceInverse' | 'onSurfaceInverse' | 'surfaceBright' | 'surfaceDim' | 'surfaceContainer' | 'surfaceContainerLow' | 'surfaceContainerLowest' | 'surfaceContainerHigh' | 'surfaceContainerHighest';
|
|
2
|
+
export declare function Material3DynamicColor(name: string): string | null;
|
|
3
|
+
export declare function Material3Color(name: string): string | null;
|
|
4
|
+
//# sourceMappingURL=materialColor.android.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"materialColor.android.d.ts","sourceRoot":"","sources":["../../src/color/materialColor.android.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,wBAAwB,GAChC,SAAS,GACT,WAAW,GACX,kBAAkB,GAClB,oBAAoB,GACpB,gBAAgB,GAChB,cAAc,GACd,iBAAiB,GACjB,gBAAgB,GAChB,uBAAuB,GACvB,WAAW,GACX,aAAa,GACb,oBAAoB,GACpB,sBAAsB,GACtB,gBAAgB,GAChB,mBAAmB,GACnB,kBAAkB,GAClB,yBAAyB,GACzB,UAAU,GACV,YAAY,GACZ,mBAAmB,GACnB,qBAAqB,GACrB,eAAe,GACf,kBAAkB,GAClB,iBAAiB,GACjB,wBAAwB,GACxB,OAAO,GACP,SAAS,GACT,gBAAgB,GAChB,kBAAkB,GAClB,SAAS,GACT,gBAAgB,GAChB,cAAc,GACd,SAAS,GACT,WAAW,GACX,gBAAgB,GAChB,kBAAkB,GAClB,gBAAgB,GAChB,kBAAkB,GAClB,eAAe,GACf,YAAY,GACZ,kBAAkB,GAClB,qBAAqB,GACrB,wBAAwB,GACxB,sBAAsB,GACtB,yBAAyB,CAAC;AAyB9B,wBAAgB,qBAAqB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAGjE;AAED,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG1D"}
|