@ovotech/element-native 2.1.0 → 2.2.0-canary-ea79e4d-74

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (147) hide show
  1. package/dist/components/Accordion/Accordion.js +20 -19
  2. package/dist/components/Accordion/Icon.js +7 -10
  3. package/dist/components/Accordion/styles.d.ts +688 -46
  4. package/dist/components/Accordion/styles.js +56 -49
  5. package/dist/components/Badge/Badge.d.ts +237 -8
  6. package/dist/components/Badge/Badge.js +35 -16
  7. package/dist/components/CTAButton/CTAButton.d.ts +7 -12
  8. package/dist/components/CTAButton/CTAButton.js +18 -19
  9. package/dist/components/CTALink/CTALink.d.ts +3 -3
  10. package/dist/components/Card/Card.d.ts +228 -5
  11. package/dist/components/Card/Card.js +5 -25
  12. package/dist/components/Checkbox/Checkbox.js +14 -19
  13. package/dist/components/DataTable/DataTable.d.ts +3 -12
  14. package/dist/components/DataTable/DataTable.js +8 -71
  15. package/dist/components/DataTable/TableRow.d.ts +2 -0
  16. package/dist/components/DataTable/TableRow.js +33 -0
  17. package/dist/components/DataTable/index.d.ts +2 -0
  18. package/dist/components/DataTable/index.js +16 -0
  19. package/dist/components/DataTable/styles.d.ts +2517 -0
  20. package/dist/components/DataTable/styles.js +77 -0
  21. package/dist/components/DataTable/types.d.ts +15 -0
  22. package/dist/components/DataTable/types.js +2 -0
  23. package/dist/components/DateField/DateField.js +9 -9
  24. package/dist/components/DescriptionList/DescriptionList.d.ts +10 -0
  25. package/dist/components/DescriptionList/DescriptionList.js +66 -0
  26. package/dist/components/DescriptionList/index.d.ts +1 -0
  27. package/dist/components/DescriptionList/index.js +6 -0
  28. package/dist/components/DescriptionList/styled.d.ts +241 -0
  29. package/dist/components/DescriptionList/styled.js +88 -0
  30. package/dist/components/Disclosure/Disclosure.js +7 -10
  31. package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.d.ts +1 -1
  32. package/dist/components/ErrorText/ErrorText.d.ts +228 -1
  33. package/dist/components/ErrorText/ErrorText.js +1 -1
  34. package/dist/components/Field/Field.js +3 -3
  35. package/dist/components/Grid/Col.d.ts +228 -1
  36. package/dist/components/Grid/Row.d.ts +228 -1
  37. package/dist/components/Heading/Heading.js +8 -24
  38. package/dist/components/HintText/HintText.d.ts +228 -1
  39. package/dist/components/HintText/HintText.js +1 -1
  40. package/dist/components/Icon/Icon.d.ts +2 -3
  41. package/dist/components/Icon/Icon.js +2 -2
  42. package/dist/components/Input/Input.d.ts +1 -1
  43. package/dist/components/Input/Input.js +13 -16
  44. package/dist/components/Input/PasswordInput.styled.d.ts +228 -1
  45. package/dist/components/Input/PasswordInput.styled.js +2 -5
  46. package/dist/components/Input/PasswordVisibilityToggle.js +2 -5
  47. package/dist/components/Input/{TelInput.d.ts → PhoneInput.d.ts} +2 -2
  48. package/dist/components/Input/{TelInput.js → PhoneInput.js} +3 -3
  49. package/dist/components/Input/TextareaInput.js +11 -9
  50. package/dist/components/Input/index.d.ts +1 -1
  51. package/dist/components/Input/index.js +3 -3
  52. package/dist/components/LabelText/LabelText.d.ts +228 -1
  53. package/dist/components/LabelText/LabelText.js +1 -1
  54. package/dist/components/List/List.d.ts +706 -3
  55. package/dist/components/List/List.js +18 -5
  56. package/dist/components/Margin/Margin.d.ts +228 -1
  57. package/dist/components/NavHeader/NavHeader.js +4 -4
  58. package/dist/components/Notification/Notification.d.ts +466 -20
  59. package/dist/components/Notification/Notification.js +32 -44
  60. package/dist/components/Radio/Radio.js +13 -29
  61. package/dist/components/SelectField/Select.d.ts +244 -0
  62. package/dist/components/SelectField/Select.js +101 -0
  63. package/dist/components/SelectField/SelectField.d.ts +7 -0
  64. package/dist/components/SelectField/SelectField.js +38 -0
  65. package/dist/components/SelectField/index.d.ts +1 -0
  66. package/dist/components/SelectField/index.js +5 -0
  67. package/dist/components/SkeletonLoading/Skeleton.d.ts +228 -1
  68. package/dist/components/SubLabelText/SubLabelText.d.ts +228 -1
  69. package/dist/components/SubLabelText/SubLabelText.js +1 -1
  70. package/dist/components/SummaryList/SummaryList.d.ts +4 -0
  71. package/dist/components/SummaryList/SummaryList.js +5 -0
  72. package/dist/components/Tabs/Tab.js +22 -19
  73. package/dist/components/Tabs/TabList.d.ts +11 -1
  74. package/dist/components/Tabs/TabList.js +19 -16
  75. package/dist/components/Tabs/TabPanel.js +32 -6
  76. package/dist/components/Tabs/Tabs.d.ts +8 -6
  77. package/dist/components/Tabs/Tabs.js +10 -6
  78. package/dist/components/Text/Text.d.ts +1140 -5
  79. package/dist/components/Text/Text.js +6 -10
  80. package/dist/components/TextField/PhoneField.d.ts +10 -0
  81. package/dist/components/TextField/PhoneField.js +56 -0
  82. package/dist/components/TextField/TelField.d.ts +4 -0
  83. package/dist/components/TextField/TelField.js +7 -2
  84. package/dist/components/TextField/index.d.ts +1 -0
  85. package/dist/components/TextField/index.js +3 -1
  86. package/dist/components/TextLink/TextLink.js +2 -2
  87. package/dist/components/index.d.ts +2 -0
  88. package/dist/components/index.js +2 -0
  89. package/dist/esm/components/Accordion/Accordion.js +23 -22
  90. package/dist/esm/components/Accordion/Icon.js +8 -8
  91. package/dist/esm/components/Accordion/styles.js +29 -48
  92. package/dist/esm/components/Badge/Badge.js +35 -16
  93. package/dist/esm/components/CTAButton/CTAButton.js +20 -21
  94. package/dist/esm/components/Card/Card.js +5 -25
  95. package/dist/esm/components/Checkbox/Checkbox.js +12 -20
  96. package/dist/esm/components/DataTable/DataTable.js +3 -66
  97. package/dist/esm/components/DataTable/TableRow.js +26 -0
  98. package/dist/esm/components/DataTable/index.js +2 -0
  99. package/dist/esm/components/DataTable/styles.js +51 -0
  100. package/dist/esm/components/DataTable/types.js +1 -0
  101. package/dist/esm/components/DateField/DateField.js +9 -9
  102. package/dist/esm/components/DescriptionList/DescriptionList.js +39 -0
  103. package/dist/esm/components/DescriptionList/index.js +1 -0
  104. package/dist/esm/components/DescriptionList/styled.js +57 -0
  105. package/dist/esm/components/Disclosure/Disclosure.js +9 -12
  106. package/dist/esm/components/ErrorText/ErrorText.js +1 -1
  107. package/dist/esm/components/Field/Field.js +3 -3
  108. package/dist/esm/components/Heading/Heading.js +8 -24
  109. package/dist/esm/components/HintText/HintText.js +1 -1
  110. package/dist/esm/components/Icon/Icon.js +2 -2
  111. package/dist/esm/components/Input/Input.js +15 -18
  112. package/dist/esm/components/Input/PasswordInput.styled.js +2 -5
  113. package/dist/esm/components/Input/PasswordVisibilityToggle.js +3 -6
  114. package/dist/esm/components/Input/{TelInput.js → PhoneInput.js} +2 -2
  115. package/dist/esm/components/Input/TextareaInput.js +11 -9
  116. package/dist/esm/components/Input/index.js +1 -1
  117. package/dist/esm/components/LabelText/LabelText.js +1 -1
  118. package/dist/esm/components/List/List.js +17 -5
  119. package/dist/esm/components/NavHeader/NavHeader.js +4 -4
  120. package/dist/esm/components/Notification/Notification.js +34 -46
  121. package/dist/esm/components/Radio/Radio.js +13 -29
  122. package/dist/esm/components/SelectField/Select.js +74 -0
  123. package/dist/esm/components/SelectField/SelectField.js +31 -0
  124. package/dist/esm/components/SelectField/index.js +1 -0
  125. package/dist/esm/components/SubLabelText/SubLabelText.js +1 -1
  126. package/dist/esm/components/SummaryList/SummaryList.js +5 -0
  127. package/dist/esm/components/Tabs/Tab.js +22 -16
  128. package/dist/esm/components/Tabs/TabList.js +18 -16
  129. package/dist/esm/components/Tabs/TabPanel.js +9 -6
  130. package/dist/esm/components/Tabs/Tabs.js +9 -6
  131. package/dist/esm/components/Text/Text.js +6 -10
  132. package/dist/esm/components/TextField/PhoneField.js +30 -0
  133. package/dist/esm/components/TextField/TelField.js +7 -2
  134. package/dist/esm/components/TextField/index.js +1 -0
  135. package/dist/esm/components/TextLink/TextLink.js +2 -2
  136. package/dist/esm/components/index.js +2 -0
  137. package/dist/esm/providers/icons/Logo.js +6 -3
  138. package/dist/esm/theme/create-theme.js +2 -176
  139. package/dist/esm/theme/index.js +13 -2
  140. package/dist/providers/icons/Logo.js +5 -2
  141. package/dist/styled.native.d.ts +1363 -1
  142. package/dist/theme/create-theme.d.ts +1 -1
  143. package/dist/theme/create-theme.js +2 -176
  144. package/dist/theme/index.d.ts +228 -2
  145. package/dist/theme/index.js +13 -2
  146. package/dist/theme/theme.d.ts +1 -110
  147. package/package.json +9 -6
@@ -5,7 +5,234 @@ export declare const P: React.ForwardRefExoticComponent<Pick<Omit<{
5
5
  [x: number]: any;
6
6
  [x: symbol]: any;
7
7
  } & {
8
- theme?: import("../../theme/theme").Theme | undefined;
8
+ theme?: (import("../../theme/theme").Theme & {
9
+ core: {
10
+ radius: Record<"small" | "medium" | "large" | "max", string>;
11
+ borderWidth: Record<"small" | "medium" | "large", string>;
12
+ breakpoint: Record<"small" | "medium" | "large", string | number>;
13
+ mediaQuery: Record<"small" | "medium" | "large", string>;
14
+ space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
15
+ transition: Record<"medium" | "slow" | "fast", string>;
16
+ opacity: Record<"solid" | "transparent" | "translucent", string | number>;
17
+ color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
18
+ lightest: string;
19
+ lighter: string;
20
+ light: string;
21
+ base: string;
22
+ dark: string;
23
+ darker: string;
24
+ darkest: string;
25
+ }> & {
26
+ brand: Record<string, string>;
27
+ };
28
+ fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
29
+ native: string;
30
+ web: string;
31
+ }>;
32
+ fontWeight: Record<"bold" | "book" | "black", string | number>;
33
+ fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
34
+ small: string | number;
35
+ large: string | number;
36
+ }>;
37
+ lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
38
+ small: string | number;
39
+ large: string | number;
40
+ }>;
41
+ letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
42
+ };
43
+ semantic: {
44
+ surface: Record<"base" | "cutout" | "elevated", string>;
45
+ message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
46
+ border: Record<"graphic" | "differentiated" | "functional", string>;
47
+ focus: Record<"surface" | "outline" | "hover", string>;
48
+ inverted: Record<"border" | "surface", string> & {
49
+ message: Record<"base" | "link" | "secondary" | "branded", string>;
50
+ };
51
+ success: {
52
+ border: string;
53
+ surface: string;
54
+ surfaceEmphasis: string;
55
+ message: string;
56
+ messageOnEmphasis: string;
57
+ };
58
+ warning: {
59
+ border: string;
60
+ surface: string;
61
+ surfaceEmphasis: string;
62
+ message: string;
63
+ messageOnEmphasis: string;
64
+ };
65
+ error: {
66
+ border: string;
67
+ surface: string;
68
+ surfaceEmphasis: string;
69
+ message: string;
70
+ messageOnEmphasis: string;
71
+ };
72
+ info: {
73
+ border: string;
74
+ surface: string;
75
+ surfaceEmphasis: string;
76
+ message: string;
77
+ messageOnEmphasis: string;
78
+ };
79
+ data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
80
+ };
81
+ component: {
82
+ heading1: {
83
+ fontFamily: string;
84
+ fontWeight: string | number;
85
+ fontSize: {
86
+ small: string | number;
87
+ large: string | number;
88
+ };
89
+ lineHeight: {
90
+ small: string | number;
91
+ large: string | number;
92
+ };
93
+ };
94
+ heading2: {
95
+ fontFamily: string;
96
+ fontWeight: string | number;
97
+ fontSize: {
98
+ small: string | number;
99
+ large: string | number;
100
+ };
101
+ lineHeight: {
102
+ small: string | number;
103
+ large: string | number;
104
+ };
105
+ };
106
+ heading3: {
107
+ fontFamily: string;
108
+ fontWeight: string | number;
109
+ fontSize: {
110
+ small: string | number;
111
+ large: string | number;
112
+ };
113
+ lineHeight: {
114
+ small: string | number;
115
+ large: string | number;
116
+ };
117
+ };
118
+ heading4: {
119
+ fontFamily: string;
120
+ fontWeight: string | number;
121
+ fontSize: {
122
+ small: string | number;
123
+ large: string | number;
124
+ };
125
+ lineHeight: {
126
+ small: string | number;
127
+ large: string | number;
128
+ };
129
+ };
130
+ lead: {
131
+ fontFamily: string;
132
+ fontWeight: string | number;
133
+ fontSize: {
134
+ small: string | number;
135
+ large: string | number;
136
+ };
137
+ lineHeight: {
138
+ small: string | number;
139
+ large: string | number;
140
+ };
141
+ };
142
+ body: {
143
+ fontFamily: string;
144
+ fontWeight: string | number;
145
+ fontSize: {
146
+ small: string | number;
147
+ large: string | number;
148
+ };
149
+ lineHeight: {
150
+ small: string | number;
151
+ large: string | number;
152
+ };
153
+ };
154
+ small: {
155
+ fontFamily: string;
156
+ fontWeight: string | number;
157
+ fontSize: {
158
+ small: string | number;
159
+ large: string | number;
160
+ };
161
+ lineHeight: {
162
+ small: string | number;
163
+ large: string | number;
164
+ };
165
+ };
166
+ label: {
167
+ fontFamily: string;
168
+ fontWeight: string | number;
169
+ fontSize: {
170
+ small: string | number;
171
+ large: string | number;
172
+ };
173
+ lineHeight: {
174
+ small: string | number;
175
+ large: string | number;
176
+ };
177
+ };
178
+ cta: {
179
+ primary: {
180
+ message: string;
181
+ surface: string;
182
+ messageHover: string;
183
+ surfaceHover: string;
184
+ messageFocused: string;
185
+ surfaceFocused: string;
186
+ outlineFocused: string;
187
+ backgroundFocused: string;
188
+ };
189
+ secondary: {
190
+ message: string;
191
+ surface: string;
192
+ messageHover: string;
193
+ surfaceHover: string;
194
+ messageFocused: string;
195
+ surfaceFocused: string;
196
+ outlineFocused: string;
197
+ backgroundFocused: string;
198
+ };
199
+ destructive: {
200
+ message: string;
201
+ surface: string;
202
+ messageHover: string;
203
+ surfaceHover: string;
204
+ messageFocused: string;
205
+ surfaceFocused: string;
206
+ outlineFocused: string;
207
+ backgroundFocused: string;
208
+ };
209
+ };
210
+ badge: {
211
+ variants: {
212
+ red: {
213
+ foreground: string;
214
+ background: string;
215
+ };
216
+ orange: {
217
+ foreground: string;
218
+ background: string;
219
+ };
220
+ yellow: {
221
+ foreground: string;
222
+ background: string;
223
+ };
224
+ green: {
225
+ foreground: string;
226
+ background: string;
227
+ };
228
+ blue: {
229
+ foreground: string;
230
+ background: string;
231
+ };
232
+ };
233
+ };
234
+ };
235
+ }) | undefined;
9
236
  } & {
10
237
  as?: string | React.ComponentType<any> | undefined;
11
238
  forwardedAs?: string | React.ComponentType<any> | undefined;
@@ -15,12 +242,920 @@ export declare const Small: React.ForwardRefExoticComponent<Pick<Omit<{
15
242
  [x: number]: any;
16
243
  [x: symbol]: any;
17
244
  } & {
18
- theme?: import("../../theme/theme").Theme | undefined;
245
+ theme?: (import("../../theme/theme").Theme & {
246
+ core: {
247
+ radius: Record<"small" | "medium" | "large" | "max", string>;
248
+ borderWidth: Record<"small" | "medium" | "large", string>;
249
+ breakpoint: Record<"small" | "medium" | "large", string | number>;
250
+ mediaQuery: Record<"small" | "medium" | "large", string>;
251
+ space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
252
+ transition: Record<"medium" | "slow" | "fast", string>;
253
+ opacity: Record<"solid" | "transparent" | "translucent", string | number>;
254
+ color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
255
+ lightest: string;
256
+ lighter: string;
257
+ light: string;
258
+ base: string;
259
+ dark: string;
260
+ darker: string;
261
+ darkest: string;
262
+ }> & {
263
+ brand: Record<string, string>;
264
+ };
265
+ fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
266
+ native: string;
267
+ web: string;
268
+ }>;
269
+ fontWeight: Record<"bold" | "book" | "black", string | number>;
270
+ fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
271
+ small: string | number;
272
+ large: string | number;
273
+ }>;
274
+ lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
275
+ small: string | number;
276
+ large: string | number;
277
+ }>;
278
+ letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
279
+ };
280
+ semantic: {
281
+ surface: Record<"base" | "cutout" | "elevated", string>;
282
+ message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
283
+ border: Record<"graphic" | "differentiated" | "functional", string>;
284
+ focus: Record<"surface" | "outline" | "hover", string>;
285
+ inverted: Record<"border" | "surface", string> & {
286
+ message: Record<"base" | "link" | "secondary" | "branded", string>;
287
+ };
288
+ success: {
289
+ border: string;
290
+ surface: string;
291
+ surfaceEmphasis: string;
292
+ message: string;
293
+ messageOnEmphasis: string;
294
+ };
295
+ warning: {
296
+ border: string;
297
+ surface: string;
298
+ surfaceEmphasis: string;
299
+ message: string;
300
+ messageOnEmphasis: string;
301
+ };
302
+ error: {
303
+ border: string;
304
+ surface: string;
305
+ surfaceEmphasis: string;
306
+ message: string;
307
+ messageOnEmphasis: string;
308
+ };
309
+ info: {
310
+ border: string;
311
+ surface: string;
312
+ surfaceEmphasis: string;
313
+ message: string;
314
+ messageOnEmphasis: string;
315
+ };
316
+ data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
317
+ };
318
+ component: {
319
+ heading1: {
320
+ fontFamily: string;
321
+ fontWeight: string | number;
322
+ fontSize: {
323
+ small: string | number;
324
+ large: string | number;
325
+ };
326
+ lineHeight: {
327
+ small: string | number;
328
+ large: string | number;
329
+ };
330
+ };
331
+ heading2: {
332
+ fontFamily: string;
333
+ fontWeight: string | number;
334
+ fontSize: {
335
+ small: string | number;
336
+ large: string | number;
337
+ };
338
+ lineHeight: {
339
+ small: string | number;
340
+ large: string | number;
341
+ };
342
+ };
343
+ heading3: {
344
+ fontFamily: string;
345
+ fontWeight: string | number;
346
+ fontSize: {
347
+ small: string | number;
348
+ large: string | number;
349
+ };
350
+ lineHeight: {
351
+ small: string | number;
352
+ large: string | number;
353
+ };
354
+ };
355
+ heading4: {
356
+ fontFamily: string;
357
+ fontWeight: string | number;
358
+ fontSize: {
359
+ small: string | number;
360
+ large: string | number;
361
+ };
362
+ lineHeight: {
363
+ small: string | number;
364
+ large: string | number;
365
+ };
366
+ };
367
+ lead: {
368
+ fontFamily: string;
369
+ fontWeight: string | number;
370
+ fontSize: {
371
+ small: string | number;
372
+ large: string | number;
373
+ };
374
+ lineHeight: {
375
+ small: string | number;
376
+ large: string | number;
377
+ };
378
+ };
379
+ body: {
380
+ fontFamily: string;
381
+ fontWeight: string | number;
382
+ fontSize: {
383
+ small: string | number;
384
+ large: string | number;
385
+ };
386
+ lineHeight: {
387
+ small: string | number;
388
+ large: string | number;
389
+ };
390
+ };
391
+ small: {
392
+ fontFamily: string;
393
+ fontWeight: string | number;
394
+ fontSize: {
395
+ small: string | number;
396
+ large: string | number;
397
+ };
398
+ lineHeight: {
399
+ small: string | number;
400
+ large: string | number;
401
+ };
402
+ };
403
+ label: {
404
+ fontFamily: string;
405
+ fontWeight: string | number;
406
+ fontSize: {
407
+ small: string | number;
408
+ large: string | number;
409
+ };
410
+ lineHeight: {
411
+ small: string | number;
412
+ large: string | number;
413
+ };
414
+ };
415
+ cta: {
416
+ primary: {
417
+ message: string;
418
+ surface: string;
419
+ messageHover: string;
420
+ surfaceHover: string;
421
+ messageFocused: string;
422
+ surfaceFocused: string;
423
+ outlineFocused: string;
424
+ backgroundFocused: string;
425
+ };
426
+ secondary: {
427
+ message: string;
428
+ surface: string;
429
+ messageHover: string;
430
+ surfaceHover: string;
431
+ messageFocused: string;
432
+ surfaceFocused: string;
433
+ outlineFocused: string;
434
+ backgroundFocused: string;
435
+ };
436
+ destructive: {
437
+ message: string;
438
+ surface: string;
439
+ messageHover: string;
440
+ surfaceHover: string;
441
+ messageFocused: string;
442
+ surfaceFocused: string;
443
+ outlineFocused: string;
444
+ backgroundFocused: string;
445
+ };
446
+ };
447
+ badge: {
448
+ variants: {
449
+ red: {
450
+ foreground: string;
451
+ background: string;
452
+ };
453
+ orange: {
454
+ foreground: string;
455
+ background: string;
456
+ };
457
+ yellow: {
458
+ foreground: string;
459
+ background: string;
460
+ };
461
+ green: {
462
+ foreground: string;
463
+ background: string;
464
+ };
465
+ blue: {
466
+ foreground: string;
467
+ background: string;
468
+ };
469
+ };
470
+ };
471
+ };
472
+ }) | undefined;
19
473
  } & {
20
474
  as?: string | React.ComponentType<any> | undefined;
21
475
  forwardedAs?: string | React.ComponentType<any> | undefined;
22
476
  }, import("../../hooks").BreakpointNames>, string | number | symbol> & React.RefAttributes<Text>>;
23
- export declare const Strong: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme, {}, never>;
24
- export declare const Em: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme, {}, never>;
25
- export declare const LineThrough: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme, {}, never>;
477
+ export declare const Strong: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme & {
478
+ core: {
479
+ radius: Record<"small" | "medium" | "large" | "max", string>;
480
+ borderWidth: Record<"small" | "medium" | "large", string>;
481
+ breakpoint: Record<"small" | "medium" | "large", string | number>;
482
+ mediaQuery: Record<"small" | "medium" | "large", string>;
483
+ space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
484
+ transition: Record<"medium" | "slow" | "fast", string>;
485
+ opacity: Record<"solid" | "transparent" | "translucent", string | number>;
486
+ color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
487
+ lightest: string;
488
+ lighter: string;
489
+ light: string;
490
+ base: string;
491
+ dark: string;
492
+ darker: string;
493
+ darkest: string;
494
+ }> & {
495
+ brand: Record<string, string>;
496
+ };
497
+ fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
498
+ native: string;
499
+ web: string;
500
+ }>;
501
+ fontWeight: Record<"bold" | "book" | "black", string | number>;
502
+ fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
503
+ small: string | number;
504
+ large: string | number;
505
+ }>;
506
+ lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
507
+ small: string | number;
508
+ large: string | number;
509
+ }>;
510
+ letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
511
+ };
512
+ semantic: {
513
+ surface: Record<"base" | "cutout" | "elevated", string>;
514
+ message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
515
+ border: Record<"graphic" | "differentiated" | "functional", string>;
516
+ focus: Record<"surface" | "outline" | "hover", string>;
517
+ inverted: Record<"border" | "surface", string> & {
518
+ message: Record<"base" | "link" | "secondary" | "branded", string>;
519
+ };
520
+ success: {
521
+ border: string;
522
+ surface: string;
523
+ surfaceEmphasis: string;
524
+ message: string;
525
+ messageOnEmphasis: string;
526
+ };
527
+ warning: {
528
+ border: string;
529
+ surface: string;
530
+ surfaceEmphasis: string;
531
+ message: string;
532
+ messageOnEmphasis: string;
533
+ };
534
+ error: {
535
+ border: string;
536
+ surface: string;
537
+ surfaceEmphasis: string;
538
+ message: string;
539
+ messageOnEmphasis: string;
540
+ };
541
+ info: {
542
+ border: string;
543
+ surface: string;
544
+ surfaceEmphasis: string;
545
+ message: string;
546
+ messageOnEmphasis: string;
547
+ };
548
+ data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
549
+ };
550
+ component: {
551
+ heading1: {
552
+ fontFamily: string;
553
+ fontWeight: string | number;
554
+ fontSize: {
555
+ small: string | number;
556
+ large: string | number;
557
+ };
558
+ lineHeight: {
559
+ small: string | number;
560
+ large: string | number;
561
+ };
562
+ };
563
+ heading2: {
564
+ fontFamily: string;
565
+ fontWeight: string | number;
566
+ fontSize: {
567
+ small: string | number;
568
+ large: string | number;
569
+ };
570
+ lineHeight: {
571
+ small: string | number;
572
+ large: string | number;
573
+ };
574
+ };
575
+ heading3: {
576
+ fontFamily: string;
577
+ fontWeight: string | number;
578
+ fontSize: {
579
+ small: string | number;
580
+ large: string | number;
581
+ };
582
+ lineHeight: {
583
+ small: string | number;
584
+ large: string | number;
585
+ };
586
+ };
587
+ heading4: {
588
+ fontFamily: string;
589
+ fontWeight: string | number;
590
+ fontSize: {
591
+ small: string | number;
592
+ large: string | number;
593
+ };
594
+ lineHeight: {
595
+ small: string | number;
596
+ large: string | number;
597
+ };
598
+ };
599
+ lead: {
600
+ fontFamily: string;
601
+ fontWeight: string | number;
602
+ fontSize: {
603
+ small: string | number;
604
+ large: string | number;
605
+ };
606
+ lineHeight: {
607
+ small: string | number;
608
+ large: string | number;
609
+ };
610
+ };
611
+ body: {
612
+ fontFamily: string;
613
+ fontWeight: string | number;
614
+ fontSize: {
615
+ small: string | number;
616
+ large: string | number;
617
+ };
618
+ lineHeight: {
619
+ small: string | number;
620
+ large: string | number;
621
+ };
622
+ };
623
+ small: {
624
+ fontFamily: string;
625
+ fontWeight: string | number;
626
+ fontSize: {
627
+ small: string | number;
628
+ large: string | number;
629
+ };
630
+ lineHeight: {
631
+ small: string | number;
632
+ large: string | number;
633
+ };
634
+ };
635
+ label: {
636
+ fontFamily: string;
637
+ fontWeight: string | number;
638
+ fontSize: {
639
+ small: string | number;
640
+ large: string | number;
641
+ };
642
+ lineHeight: {
643
+ small: string | number;
644
+ large: string | number;
645
+ };
646
+ };
647
+ cta: {
648
+ primary: {
649
+ message: string;
650
+ surface: string;
651
+ messageHover: string;
652
+ surfaceHover: string;
653
+ messageFocused: string;
654
+ surfaceFocused: string;
655
+ outlineFocused: string;
656
+ backgroundFocused: string;
657
+ };
658
+ secondary: {
659
+ message: string;
660
+ surface: string;
661
+ messageHover: string;
662
+ surfaceHover: string;
663
+ messageFocused: string;
664
+ surfaceFocused: string;
665
+ outlineFocused: string;
666
+ backgroundFocused: string;
667
+ };
668
+ destructive: {
669
+ message: string;
670
+ surface: string;
671
+ messageHover: string;
672
+ surfaceHover: string;
673
+ messageFocused: string;
674
+ surfaceFocused: string;
675
+ outlineFocused: string;
676
+ backgroundFocused: string;
677
+ };
678
+ };
679
+ badge: {
680
+ variants: {
681
+ red: {
682
+ foreground: string;
683
+ background: string;
684
+ };
685
+ orange: {
686
+ foreground: string;
687
+ background: string;
688
+ };
689
+ yellow: {
690
+ foreground: string;
691
+ background: string;
692
+ };
693
+ green: {
694
+ foreground: string;
695
+ background: string;
696
+ };
697
+ blue: {
698
+ foreground: string;
699
+ background: string;
700
+ };
701
+ };
702
+ };
703
+ };
704
+ }, {}, never>;
705
+ export declare const Em: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme & {
706
+ core: {
707
+ radius: Record<"small" | "medium" | "large" | "max", string>;
708
+ borderWidth: Record<"small" | "medium" | "large", string>;
709
+ breakpoint: Record<"small" | "medium" | "large", string | number>;
710
+ mediaQuery: Record<"small" | "medium" | "large", string>;
711
+ space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
712
+ transition: Record<"medium" | "slow" | "fast", string>;
713
+ opacity: Record<"solid" | "transparent" | "translucent", string | number>;
714
+ color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
715
+ lightest: string;
716
+ lighter: string;
717
+ light: string;
718
+ base: string;
719
+ dark: string;
720
+ darker: string;
721
+ darkest: string;
722
+ }> & {
723
+ brand: Record<string, string>;
724
+ };
725
+ fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
726
+ native: string;
727
+ web: string;
728
+ }>;
729
+ fontWeight: Record<"bold" | "book" | "black", string | number>;
730
+ fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
731
+ small: string | number;
732
+ large: string | number;
733
+ }>;
734
+ lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
735
+ small: string | number;
736
+ large: string | number;
737
+ }>;
738
+ letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
739
+ };
740
+ semantic: {
741
+ surface: Record<"base" | "cutout" | "elevated", string>;
742
+ message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
743
+ border: Record<"graphic" | "differentiated" | "functional", string>;
744
+ focus: Record<"surface" | "outline" | "hover", string>;
745
+ inverted: Record<"border" | "surface", string> & {
746
+ message: Record<"base" | "link" | "secondary" | "branded", string>;
747
+ };
748
+ success: {
749
+ border: string;
750
+ surface: string;
751
+ surfaceEmphasis: string;
752
+ message: string;
753
+ messageOnEmphasis: string;
754
+ };
755
+ warning: {
756
+ border: string;
757
+ surface: string;
758
+ surfaceEmphasis: string;
759
+ message: string;
760
+ messageOnEmphasis: string;
761
+ };
762
+ error: {
763
+ border: string;
764
+ surface: string;
765
+ surfaceEmphasis: string;
766
+ message: string;
767
+ messageOnEmphasis: string;
768
+ };
769
+ info: {
770
+ border: string;
771
+ surface: string;
772
+ surfaceEmphasis: string;
773
+ message: string;
774
+ messageOnEmphasis: string;
775
+ };
776
+ data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
777
+ };
778
+ component: {
779
+ heading1: {
780
+ fontFamily: string;
781
+ fontWeight: string | number;
782
+ fontSize: {
783
+ small: string | number;
784
+ large: string | number;
785
+ };
786
+ lineHeight: {
787
+ small: string | number;
788
+ large: string | number;
789
+ };
790
+ };
791
+ heading2: {
792
+ fontFamily: string;
793
+ fontWeight: string | number;
794
+ fontSize: {
795
+ small: string | number;
796
+ large: string | number;
797
+ };
798
+ lineHeight: {
799
+ small: string | number;
800
+ large: string | number;
801
+ };
802
+ };
803
+ heading3: {
804
+ fontFamily: string;
805
+ fontWeight: string | number;
806
+ fontSize: {
807
+ small: string | number;
808
+ large: string | number;
809
+ };
810
+ lineHeight: {
811
+ small: string | number;
812
+ large: string | number;
813
+ };
814
+ };
815
+ heading4: {
816
+ fontFamily: string;
817
+ fontWeight: string | number;
818
+ fontSize: {
819
+ small: string | number;
820
+ large: string | number;
821
+ };
822
+ lineHeight: {
823
+ small: string | number;
824
+ large: string | number;
825
+ };
826
+ };
827
+ lead: {
828
+ fontFamily: string;
829
+ fontWeight: string | number;
830
+ fontSize: {
831
+ small: string | number;
832
+ large: string | number;
833
+ };
834
+ lineHeight: {
835
+ small: string | number;
836
+ large: string | number;
837
+ };
838
+ };
839
+ body: {
840
+ fontFamily: string;
841
+ fontWeight: string | number;
842
+ fontSize: {
843
+ small: string | number;
844
+ large: string | number;
845
+ };
846
+ lineHeight: {
847
+ small: string | number;
848
+ large: string | number;
849
+ };
850
+ };
851
+ small: {
852
+ fontFamily: string;
853
+ fontWeight: string | number;
854
+ fontSize: {
855
+ small: string | number;
856
+ large: string | number;
857
+ };
858
+ lineHeight: {
859
+ small: string | number;
860
+ large: string | number;
861
+ };
862
+ };
863
+ label: {
864
+ fontFamily: string;
865
+ fontWeight: string | number;
866
+ fontSize: {
867
+ small: string | number;
868
+ large: string | number;
869
+ };
870
+ lineHeight: {
871
+ small: string | number;
872
+ large: string | number;
873
+ };
874
+ };
875
+ cta: {
876
+ primary: {
877
+ message: string;
878
+ surface: string;
879
+ messageHover: string;
880
+ surfaceHover: string;
881
+ messageFocused: string;
882
+ surfaceFocused: string;
883
+ outlineFocused: string;
884
+ backgroundFocused: string;
885
+ };
886
+ secondary: {
887
+ message: string;
888
+ surface: string;
889
+ messageHover: string;
890
+ surfaceHover: string;
891
+ messageFocused: string;
892
+ surfaceFocused: string;
893
+ outlineFocused: string;
894
+ backgroundFocused: string;
895
+ };
896
+ destructive: {
897
+ message: string;
898
+ surface: string;
899
+ messageHover: string;
900
+ surfaceHover: string;
901
+ messageFocused: string;
902
+ surfaceFocused: string;
903
+ outlineFocused: string;
904
+ backgroundFocused: string;
905
+ };
906
+ };
907
+ badge: {
908
+ variants: {
909
+ red: {
910
+ foreground: string;
911
+ background: string;
912
+ };
913
+ orange: {
914
+ foreground: string;
915
+ background: string;
916
+ };
917
+ yellow: {
918
+ foreground: string;
919
+ background: string;
920
+ };
921
+ green: {
922
+ foreground: string;
923
+ background: string;
924
+ };
925
+ blue: {
926
+ foreground: string;
927
+ background: string;
928
+ };
929
+ };
930
+ };
931
+ };
932
+ }, {}, never>;
933
+ export declare const LineThrough: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme & {
934
+ core: {
935
+ radius: Record<"small" | "medium" | "large" | "max", string>;
936
+ borderWidth: Record<"small" | "medium" | "large", string>;
937
+ breakpoint: Record<"small" | "medium" | "large", string | number>;
938
+ mediaQuery: Record<"small" | "medium" | "large", string>;
939
+ space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
940
+ transition: Record<"medium" | "slow" | "fast", string>;
941
+ opacity: Record<"solid" | "transparent" | "translucent", string | number>;
942
+ color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
943
+ lightest: string;
944
+ lighter: string;
945
+ light: string;
946
+ base: string;
947
+ dark: string;
948
+ darker: string;
949
+ darkest: string;
950
+ }> & {
951
+ brand: Record<string, string>;
952
+ };
953
+ fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
954
+ native: string;
955
+ web: string;
956
+ }>;
957
+ fontWeight: Record<"bold" | "book" | "black", string | number>;
958
+ fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
959
+ small: string | number;
960
+ large: string | number;
961
+ }>;
962
+ lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
963
+ small: string | number;
964
+ large: string | number;
965
+ }>;
966
+ letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
967
+ };
968
+ semantic: {
969
+ surface: Record<"base" | "cutout" | "elevated", string>;
970
+ message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
971
+ border: Record<"graphic" | "differentiated" | "functional", string>;
972
+ focus: Record<"surface" | "outline" | "hover", string>;
973
+ inverted: Record<"border" | "surface", string> & {
974
+ message: Record<"base" | "link" | "secondary" | "branded", string>;
975
+ };
976
+ success: {
977
+ border: string;
978
+ surface: string;
979
+ surfaceEmphasis: string;
980
+ message: string;
981
+ messageOnEmphasis: string;
982
+ };
983
+ warning: {
984
+ border: string;
985
+ surface: string;
986
+ surfaceEmphasis: string;
987
+ message: string;
988
+ messageOnEmphasis: string;
989
+ };
990
+ error: {
991
+ border: string;
992
+ surface: string;
993
+ surfaceEmphasis: string;
994
+ message: string;
995
+ messageOnEmphasis: string;
996
+ };
997
+ info: {
998
+ border: string;
999
+ surface: string;
1000
+ surfaceEmphasis: string;
1001
+ message: string;
1002
+ messageOnEmphasis: string;
1003
+ };
1004
+ data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
1005
+ };
1006
+ component: {
1007
+ heading1: {
1008
+ fontFamily: string;
1009
+ fontWeight: string | number;
1010
+ fontSize: {
1011
+ small: string | number;
1012
+ large: string | number;
1013
+ };
1014
+ lineHeight: {
1015
+ small: string | number;
1016
+ large: string | number;
1017
+ };
1018
+ };
1019
+ heading2: {
1020
+ fontFamily: string;
1021
+ fontWeight: string | number;
1022
+ fontSize: {
1023
+ small: string | number;
1024
+ large: string | number;
1025
+ };
1026
+ lineHeight: {
1027
+ small: string | number;
1028
+ large: string | number;
1029
+ };
1030
+ };
1031
+ heading3: {
1032
+ fontFamily: string;
1033
+ fontWeight: string | number;
1034
+ fontSize: {
1035
+ small: string | number;
1036
+ large: string | number;
1037
+ };
1038
+ lineHeight: {
1039
+ small: string | number;
1040
+ large: string | number;
1041
+ };
1042
+ };
1043
+ heading4: {
1044
+ fontFamily: string;
1045
+ fontWeight: string | number;
1046
+ fontSize: {
1047
+ small: string | number;
1048
+ large: string | number;
1049
+ };
1050
+ lineHeight: {
1051
+ small: string | number;
1052
+ large: string | number;
1053
+ };
1054
+ };
1055
+ lead: {
1056
+ fontFamily: string;
1057
+ fontWeight: string | number;
1058
+ fontSize: {
1059
+ small: string | number;
1060
+ large: string | number;
1061
+ };
1062
+ lineHeight: {
1063
+ small: string | number;
1064
+ large: string | number;
1065
+ };
1066
+ };
1067
+ body: {
1068
+ fontFamily: string;
1069
+ fontWeight: string | number;
1070
+ fontSize: {
1071
+ small: string | number;
1072
+ large: string | number;
1073
+ };
1074
+ lineHeight: {
1075
+ small: string | number;
1076
+ large: string | number;
1077
+ };
1078
+ };
1079
+ small: {
1080
+ fontFamily: string;
1081
+ fontWeight: string | number;
1082
+ fontSize: {
1083
+ small: string | number;
1084
+ large: string | number;
1085
+ };
1086
+ lineHeight: {
1087
+ small: string | number;
1088
+ large: string | number;
1089
+ };
1090
+ };
1091
+ label: {
1092
+ fontFamily: string;
1093
+ fontWeight: string | number;
1094
+ fontSize: {
1095
+ small: string | number;
1096
+ large: string | number;
1097
+ };
1098
+ lineHeight: {
1099
+ small: string | number;
1100
+ large: string | number;
1101
+ };
1102
+ };
1103
+ cta: {
1104
+ primary: {
1105
+ message: string;
1106
+ surface: string;
1107
+ messageHover: string;
1108
+ surfaceHover: string;
1109
+ messageFocused: string;
1110
+ surfaceFocused: string;
1111
+ outlineFocused: string;
1112
+ backgroundFocused: string;
1113
+ };
1114
+ secondary: {
1115
+ message: string;
1116
+ surface: string;
1117
+ messageHover: string;
1118
+ surfaceHover: string;
1119
+ messageFocused: string;
1120
+ surfaceFocused: string;
1121
+ outlineFocused: string;
1122
+ backgroundFocused: string;
1123
+ };
1124
+ destructive: {
1125
+ message: string;
1126
+ surface: string;
1127
+ messageHover: string;
1128
+ surfaceHover: string;
1129
+ messageFocused: string;
1130
+ surfaceFocused: string;
1131
+ outlineFocused: string;
1132
+ backgroundFocused: string;
1133
+ };
1134
+ };
1135
+ badge: {
1136
+ variants: {
1137
+ red: {
1138
+ foreground: string;
1139
+ background: string;
1140
+ };
1141
+ orange: {
1142
+ foreground: string;
1143
+ background: string;
1144
+ };
1145
+ yellow: {
1146
+ foreground: string;
1147
+ background: string;
1148
+ };
1149
+ green: {
1150
+ foreground: string;
1151
+ background: string;
1152
+ };
1153
+ blue: {
1154
+ foreground: string;
1155
+ background: string;
1156
+ };
1157
+ };
1158
+ };
1159
+ };
1160
+ }, {}, never>;
26
1161
  export declare const TextGroup: ({ children, ...rest }: PropsWithChildren<ViewProps>) => JSX.Element;