@ovotech/element-native 3.3.1 → 3.3.2-canary-51af19f-615

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.
@@ -0,0 +1,193 @@
1
+ declare type Shadow = {
2
+ color: string;
3
+ offset: string;
4
+ opacity: number;
5
+ radius: string;
6
+ elevation: number;
7
+ };
8
+ declare type FontNames = 'body' | 'small' | 'label' | 'level1' | 'level2' | 'level3' | 'level4' | 'lead';
9
+ export declare type Theme = {
10
+ space: Record<1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12, string>;
11
+ colors: Record<'primary' | 'primaryAlt' | 'primaryContrast' | 'primaryMuted' | 'error' | 'errorAlt' | 'errorContrast' | 'errorMuted' | 'info' | 'infoAlt' | 'infoContrast' | 'infoMuted' | 'warning' | 'warningAlt' | 'warningContrast' | 'warningMuted' | 'success' | 'successAlt' | 'successContrast' | 'successMuted' | 'focus' | 'focusMuted' | 'body' | 'heading' | 'border' | 'borderMuted' | 'canvas' | 'canvasMuted' | 'mission' | 'missionMuted' | 'missionAlt' | 'missionContrast', string> & {
12
+ brand: Record<string, Record<string, string>>;
13
+ };
14
+ fonts: Record<'body' | 'bold' | 'heading', string>;
15
+ lineHeights: Record<'standard', number>;
16
+ fontSizes: string[];
17
+ responsiveFontSizes: Record<FontNames, string[]>;
18
+ responsiveLineHeights: Record<FontNames, string[]>;
19
+ breakpoints: Record<'small' | 'medium' | 'large', number>;
20
+ radii: Record<'small' | 'medium' | 'large', string>;
21
+ shadows: Record<'standard', Shadow>;
22
+ borderWidths: Record<'standard' | 'heavy' | 'heavier', string>;
23
+ text: {
24
+ fontFamily: string;
25
+ lineHeight: number;
26
+ color: string;
27
+ p: {
28
+ fontSize: string[];
29
+ lineHeight: string[];
30
+ marginTop: string[];
31
+ marginBottom: string[];
32
+ };
33
+ small: {
34
+ fontSize: string[];
35
+ lineHeight: string[];
36
+ };
37
+ strong: {
38
+ fontFamily: string;
39
+ };
40
+ };
41
+ list: {
42
+ marginTop: string[];
43
+ marginBottom: string[];
44
+ marginLeft: string;
45
+ listItem: {
46
+ fontSize: string[];
47
+ lineHeight: string[];
48
+ marginVertical: keyof Theme['space'];
49
+ bulletGap: string;
50
+ bulletWidth: string;
51
+ };
52
+ descriptionTerm: {
53
+ fontFamily: string;
54
+ color: string;
55
+ marginTop: string[];
56
+ marginBottom: string[];
57
+ };
58
+ };
59
+ textLink: {
60
+ fontFamily: string;
61
+ color: string;
62
+ };
63
+ heading: {
64
+ fontFamily: string;
65
+ color: string;
66
+ heading1: {
67
+ fontSize: string[];
68
+ lineHeight: string[];
69
+ marginTop: string[];
70
+ marginBottom: string[];
71
+ };
72
+ heading2: {
73
+ fontSize: string[];
74
+ lineHeight: string[];
75
+ marginTop: string[];
76
+ marginBottom: string[];
77
+ };
78
+ heading3: {
79
+ fontSize: string[];
80
+ lineHeight: string[];
81
+ marginTop: string[];
82
+ marginBottom: string[];
83
+ };
84
+ heading4: {
85
+ fontSize: string[];
86
+ lineHeight: string[];
87
+ marginTop: string[];
88
+ marginBottom: string[];
89
+ };
90
+ };
91
+ radio: {
92
+ touchSize: string;
93
+ size: string;
94
+ dotSize: string;
95
+ gap: string;
96
+ paddingTop: string;
97
+ borderWidth: string;
98
+ borderColor: string;
99
+ background: string;
100
+ dotColor: string;
101
+ checkedBackground: string;
102
+ errorColor: string;
103
+ };
104
+ checkbox: {
105
+ touchSize: string;
106
+ size: string;
107
+ checkSize: string;
108
+ gap: string;
109
+ paddingTop: string;
110
+ borderWidth: string;
111
+ borderColor: string;
112
+ borderRadius: string;
113
+ background: string;
114
+ checkedBackground: string;
115
+ checkColor: string;
116
+ errorColor: string;
117
+ };
118
+ input: {
119
+ fontFamily: string;
120
+ fontSize: string[];
121
+ color: string;
122
+ lineHeight: number;
123
+ height: string;
124
+ borderColor: string;
125
+ borderWidth: string;
126
+ background: string;
127
+ borderRadius: string;
128
+ padding: string;
129
+ error: {
130
+ borderWidth: string;
131
+ color: string;
132
+ };
133
+ icon: {
134
+ size: string;
135
+ };
136
+ };
137
+ focusRing: {
138
+ color: string;
139
+ width: string;
140
+ distance: string;
141
+ };
142
+ field: {
143
+ fontFamily: string;
144
+ fontSize: string[];
145
+ lineHeight: number;
146
+ dateWidth: string;
147
+ gap: string;
148
+ error: {
149
+ fontFamily: string;
150
+ color: string;
151
+ };
152
+ hint: {
153
+ color: string;
154
+ };
155
+ label: {
156
+ fontFamily: string;
157
+ color: string;
158
+ };
159
+ subLabel: {
160
+ color: string;
161
+ };
162
+ legend: {
163
+ marginBottom: string;
164
+ };
165
+ errorIndent: {
166
+ borderWidth: string;
167
+ borderRadius: string;
168
+ };
169
+ };
170
+ card: {
171
+ background: string;
172
+ borderWidth: string;
173
+ borderColor: string;
174
+ padding: string[];
175
+ };
176
+ disclosure: {
177
+ iconGap: string[];
178
+ panelGap: string[];
179
+ };
180
+ grid: {
181
+ maxWidth: string;
182
+ gutter: string[];
183
+ };
184
+ accordion: {
185
+ header: {
186
+ color: string;
187
+ iconSize: string;
188
+ iconGap: string;
189
+ paddingVertical: string[];
190
+ };
191
+ };
192
+ };
193
+ export {};
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ovotech/element-native",
3
- "version": "3.3.1",
3
+ "version": "3.3.2-canary-51af19f-615",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -60,6 +60,7 @@
60
60
  "build": "tsc --project tsconfig.build.json && tsc --project tsconfig.build.json --module ES6 --outDir dist/esm --declaration false",
61
61
  "quickbuild": "tsc --project tsconfig.build.json --module ES6 --outDir dist/esm --declaration false",
62
62
  "test": "jest --maxWorkers 4",
63
- "typecheck": "tsc --noEmit"
63
+ "typecheck": "tsc --noEmit",
64
+ "publish:local": "yalc publish"
64
65
  }
65
66
  }