@vitality-ds/system-react-native 4.10.1 → 4.10.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +0 -1
- package/dist/esm/stitches.config.js +1 -1
- package/dist/{packages/system-react-native/src/index.d.ts → index.d.ts} +1 -1
- package/dist/index.js +0 -7
- package/dist/{packages/system-react-native/src/stitches.config.d.ts → stitches.config.d.ts} +383 -383
- package/dist/stitches.config.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{packages/system-react-native/src/types.d.ts → types.d.ts} +2 -2
- package/package.json +3 -3
- package/dist/stitches-rn-vitality/src/internals/theme/constants.d.ts +0 -170
- package/dist/stitches-rn-vitality/src/internals/theme/types.d.ts +0 -22
- /package/dist/{packages/system-react-native/src/Provider → Provider}/index.d.ts +0 -0
- /package/dist/{packages/system-react-native/src/Provider → Provider}/types.d.ts +0 -0
- /package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/constants.d.ts +0 -0
- /package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/hooks/useTheme.d.ts +0 -0
- /package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/index.d.ts +0 -0
- /package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/logic/getSavedTheme.d.ts +0 -0
- /package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/logic/index.d.ts +0 -0
- /package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/logic/setInitialState.d.ts +0 -0
- /package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/logic/setSavedTheme.d.ts +0 -0
- /package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/types.d.ts +0 -0
- /package/dist/{packages/system-react-native/src/exclude-types.d.ts → exclude-types.d.ts} +0 -0
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
import { StoredTheme, ThemeValues } from './types';
|
|
2
|
-
export declare const COLOR_PROPERTIES: {
|
|
3
|
-
backgroundColor: string;
|
|
4
|
-
border: string;
|
|
5
|
-
borderBottomColor: string;
|
|
6
|
-
borderColor: string;
|
|
7
|
-
borderEndColor: string;
|
|
8
|
-
borderLeftColor: string;
|
|
9
|
-
borderRightColor: string;
|
|
10
|
-
borderStartColor: string;
|
|
11
|
-
borderTopColor: string;
|
|
12
|
-
color: string;
|
|
13
|
-
overlayColor: string;
|
|
14
|
-
shadowColor: string;
|
|
15
|
-
textDecoration: string;
|
|
16
|
-
textShadowColor: string;
|
|
17
|
-
tintColor: string;
|
|
18
|
-
};
|
|
19
|
-
export declare const RADII_PROPERTIES: {
|
|
20
|
-
borderBottomLeftRadius: string;
|
|
21
|
-
borderBottomRightRadius: string;
|
|
22
|
-
borderBottomStartRadius: string;
|
|
23
|
-
borderBottomEndRadius: string;
|
|
24
|
-
borderRadius: string;
|
|
25
|
-
borderTopLeftRadius: string;
|
|
26
|
-
borderTopRightRadius: string;
|
|
27
|
-
borderTopStartRadius: string;
|
|
28
|
-
borderTopEndRadius: string;
|
|
29
|
-
};
|
|
30
|
-
export declare const SPACE_PROPERTIES: {
|
|
31
|
-
bottom: string;
|
|
32
|
-
left: string;
|
|
33
|
-
margin: string;
|
|
34
|
-
marginBottom: string;
|
|
35
|
-
marginEnd: string;
|
|
36
|
-
marginHorizontal: string;
|
|
37
|
-
marginLeft: string;
|
|
38
|
-
marginRight: string;
|
|
39
|
-
marginStart: string;
|
|
40
|
-
marginTop: string;
|
|
41
|
-
marginVertical: string;
|
|
42
|
-
padding: string;
|
|
43
|
-
paddingBottom: string;
|
|
44
|
-
paddingEnd: string;
|
|
45
|
-
paddingHorizontal: string;
|
|
46
|
-
paddingLeft: string;
|
|
47
|
-
paddingRight: string;
|
|
48
|
-
paddingStart: string;
|
|
49
|
-
paddingTop: string;
|
|
50
|
-
paddingVertical: string;
|
|
51
|
-
right: string;
|
|
52
|
-
top: string;
|
|
53
|
-
gap: string;
|
|
54
|
-
gapColumn: string;
|
|
55
|
-
gapRow: string;
|
|
56
|
-
};
|
|
57
|
-
export declare const SIZE_PROPERTIES: {
|
|
58
|
-
flexBasis: string;
|
|
59
|
-
height: string;
|
|
60
|
-
maxHeight: string;
|
|
61
|
-
maxWidth: string;
|
|
62
|
-
minHeight: string;
|
|
63
|
-
minWidth: string;
|
|
64
|
-
width: string;
|
|
65
|
-
};
|
|
66
|
-
export declare const FONT_PROPERTIES: {
|
|
67
|
-
fontFamily: string;
|
|
68
|
-
};
|
|
69
|
-
export declare const FONT_SIZE_PROPERTIES: {
|
|
70
|
-
fontSize: string;
|
|
71
|
-
};
|
|
72
|
-
export declare const FONT_WEIGHT_PROPERTIES: {
|
|
73
|
-
fontWeight: string;
|
|
74
|
-
};
|
|
75
|
-
export declare const LINE_HEIGHT_PROPERTIES: {
|
|
76
|
-
lineHeight: string;
|
|
77
|
-
};
|
|
78
|
-
export declare const LETTER_SPACING_PROPERTIES: {
|
|
79
|
-
letterSpacing: string;
|
|
80
|
-
};
|
|
81
|
-
export declare const Z_INDEX_PROPERTIES: {
|
|
82
|
-
zIndex: string;
|
|
83
|
-
};
|
|
84
|
-
export declare const BORDER_WIDTH_PROPERTIES: {
|
|
85
|
-
borderWidth: string;
|
|
86
|
-
borderTopWidth: string;
|
|
87
|
-
borderRightWidth: string;
|
|
88
|
-
borderBottomWidth: string;
|
|
89
|
-
borderLeftWidth: string;
|
|
90
|
-
borderEndWidth: string;
|
|
91
|
-
borderStartWidth: string;
|
|
92
|
-
};
|
|
93
|
-
export declare const BORDER_STYLE_PROPERTIES: {
|
|
94
|
-
borderStyle: string;
|
|
95
|
-
};
|
|
96
|
-
export declare const DEFAULT_THEME_MAP: {
|
|
97
|
-
zIndex: string;
|
|
98
|
-
bottom: string;
|
|
99
|
-
left: string;
|
|
100
|
-
margin: string;
|
|
101
|
-
marginBottom: string;
|
|
102
|
-
marginEnd: string;
|
|
103
|
-
marginHorizontal: string;
|
|
104
|
-
marginLeft: string;
|
|
105
|
-
marginRight: string;
|
|
106
|
-
marginStart: string;
|
|
107
|
-
marginTop: string;
|
|
108
|
-
marginVertical: string;
|
|
109
|
-
padding: string;
|
|
110
|
-
paddingBottom: string;
|
|
111
|
-
paddingEnd: string;
|
|
112
|
-
paddingHorizontal: string;
|
|
113
|
-
paddingLeft: string;
|
|
114
|
-
paddingRight: string;
|
|
115
|
-
paddingStart: string;
|
|
116
|
-
paddingTop: string;
|
|
117
|
-
paddingVertical: string;
|
|
118
|
-
right: string;
|
|
119
|
-
top: string;
|
|
120
|
-
gap: string;
|
|
121
|
-
gapColumn: string;
|
|
122
|
-
gapRow: string;
|
|
123
|
-
flexBasis: string;
|
|
124
|
-
height: string;
|
|
125
|
-
maxHeight: string;
|
|
126
|
-
maxWidth: string;
|
|
127
|
-
minHeight: string;
|
|
128
|
-
minWidth: string;
|
|
129
|
-
width: string;
|
|
130
|
-
borderBottomLeftRadius: string;
|
|
131
|
-
borderBottomRightRadius: string;
|
|
132
|
-
borderBottomStartRadius: string;
|
|
133
|
-
borderBottomEndRadius: string;
|
|
134
|
-
borderRadius: string;
|
|
135
|
-
borderTopLeftRadius: string;
|
|
136
|
-
borderTopRightRadius: string;
|
|
137
|
-
borderTopStartRadius: string;
|
|
138
|
-
borderTopEndRadius: string;
|
|
139
|
-
lineHeight: string;
|
|
140
|
-
letterSpacing: string;
|
|
141
|
-
fontWeight: string;
|
|
142
|
-
fontSize: string;
|
|
143
|
-
fontFamily: string;
|
|
144
|
-
backgroundColor: string;
|
|
145
|
-
border: string;
|
|
146
|
-
borderBottomColor: string;
|
|
147
|
-
borderColor: string;
|
|
148
|
-
borderEndColor: string;
|
|
149
|
-
borderLeftColor: string;
|
|
150
|
-
borderRightColor: string;
|
|
151
|
-
borderStartColor: string;
|
|
152
|
-
borderTopColor: string;
|
|
153
|
-
color: string;
|
|
154
|
-
overlayColor: string;
|
|
155
|
-
shadowColor: string;
|
|
156
|
-
textDecoration: string;
|
|
157
|
-
textShadowColor: string;
|
|
158
|
-
tintColor: string;
|
|
159
|
-
borderWidth: string;
|
|
160
|
-
borderTopWidth: string;
|
|
161
|
-
borderRightWidth: string;
|
|
162
|
-
borderBottomWidth: string;
|
|
163
|
-
borderLeftWidth: string;
|
|
164
|
-
borderEndWidth: string;
|
|
165
|
-
borderStartWidth: string;
|
|
166
|
-
borderStyle: string;
|
|
167
|
-
};
|
|
168
|
-
export declare const THEME_VALUES: ThemeValues;
|
|
169
|
-
export declare const EMPTY_THEME: StoredTheme;
|
|
170
|
-
export declare const THEME_PROVIDER_MISSING_MESSAGE = "Your app should have a ThemeProvider in order to access the theme";
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { DEFAULT_THEME_MAP } from './constants';
|
|
2
|
-
export declare type ThemeValues = {
|
|
3
|
-
borderStyles: null | string | object | number;
|
|
4
|
-
borderWidths: null | string | object | number;
|
|
5
|
-
colors: null | string | object | number;
|
|
6
|
-
fonts: null | string | object | number;
|
|
7
|
-
fontSizes: null | string | object | number;
|
|
8
|
-
fontWeights: null | string | object | number;
|
|
9
|
-
letterSpacings: null | string | object | number;
|
|
10
|
-
lineHeights: null | string | object | number;
|
|
11
|
-
radii: null | string | object | number;
|
|
12
|
-
sizes: null | string | object | number;
|
|
13
|
-
space: null | string | object | number;
|
|
14
|
-
zIndices: null | string | object | number;
|
|
15
|
-
};
|
|
16
|
-
export declare type StoredTheme = {
|
|
17
|
-
definition: {
|
|
18
|
-
__ID__: string;
|
|
19
|
-
} & Partial<ThemeValues>;
|
|
20
|
-
values: Partial<ThemeValues>;
|
|
21
|
-
};
|
|
22
|
-
export declare type ThemeMapType = typeof DEFAULT_THEME_MAP;
|
|
File without changes
|
|
File without changes
|
/package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/constants.d.ts
RENAMED
|
File without changes
|
/package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/hooks/useTheme.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{packages/system-react-native/src/ThemeProvider → ThemeProvider}/logic/index.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|