@ovotech/element-native 2.2.0-canary-668a0ee-91 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (302) hide show
  1. package/dist/components/Accordion/Accordion.d.ts +2 -2
  2. package/dist/components/Accordion/Accordion.js +24 -21
  3. package/dist/components/Accordion/Group.js +32 -10
  4. package/dist/components/Accordion/Icon.js +14 -19
  5. package/dist/components/Accordion/hooks.d.ts +1 -1
  6. package/dist/components/Accordion/hooks.js +26 -3
  7. package/dist/components/Accordion/styles.d.ts +46 -688
  8. package/dist/components/Accordion/styles.js +49 -56
  9. package/dist/components/Badge/Badge.d.ts +46 -54
  10. package/dist/components/Badge/Badge.js +20 -35
  11. package/dist/components/CTAButton/CTAButton.d.ts +12 -7
  12. package/dist/components/CTAButton/CTAButton.js +27 -23
  13. package/dist/components/CTALink/CTALink.d.ts +4 -4
  14. package/dist/components/CTALink/CTALink.js +27 -5
  15. package/dist/components/Card/Card.d.ts +45 -47
  16. package/dist/components/Card/Card.js +25 -5
  17. package/dist/components/Checkbox/Checkbox.d.ts +3 -3
  18. package/dist/components/Checkbox/Checkbox.js +57 -18
  19. package/dist/components/Checkbox/CheckboxField.js +37 -7
  20. package/dist/components/DataTable/DataTable.d.ts +12 -3
  21. package/dist/components/DataTable/DataTable.js +98 -11
  22. package/dist/components/DataTable/index.d.ts +0 -2
  23. package/dist/components/DataTable/index.js +0 -16
  24. package/dist/components/DateField/DateField.d.ts +2 -2
  25. package/dist/components/DateField/DateField.js +28 -9
  26. package/dist/components/DescriptionList/DescriptionList.js +32 -8
  27. package/dist/components/DescriptionList/styled.d.ts +44 -50
  28. package/dist/components/DescriptionList/styled.js +34 -9
  29. package/dist/components/Disclosure/Disclosure.d.ts +3 -3
  30. package/dist/components/Disclosure/Disclosure.js +18 -12
  31. package/dist/components/Divider/Divider.js +7 -4
  32. package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.d.ts +1 -1
  33. package/dist/components/ErrorSummaryNotification/ErrorSummaryNotification.js +28 -6
  34. package/dist/components/ErrorText/ErrorText.d.ts +39 -45
  35. package/dist/components/ErrorText/ErrorText.js +4 -7
  36. package/dist/components/Field/Field.d.ts +2 -2
  37. package/dist/components/Field/Field.js +49 -18
  38. package/dist/components/FormGroup/FormGroup.js +3 -2
  39. package/dist/components/Grid/Col.d.ts +39 -45
  40. package/dist/components/Grid/Col.js +3 -4
  41. package/dist/components/Grid/Row.d.ts +41 -47
  42. package/dist/components/Grid/Row.js +10 -7
  43. package/dist/components/Heading/Heading.js +32 -21
  44. package/dist/components/HintText/HintText.d.ts +39 -45
  45. package/dist/components/HintText/HintText.js +4 -7
  46. package/dist/components/Icon/Icon.d.ts +4 -3
  47. package/dist/components/Icon/Icon.js +27 -5
  48. package/dist/components/Input/CurrencyInput.d.ts +6 -6
  49. package/dist/components/Input/CurrencyInput.js +25 -3
  50. package/dist/components/Input/EmailInput.d.ts +6 -6
  51. package/dist/components/Input/EmailInput.js +25 -3
  52. package/dist/components/Input/Input.d.ts +8 -8
  53. package/dist/components/Input/Input.js +32 -26
  54. package/dist/components/Input/NumberInput.d.ts +6 -6
  55. package/dist/components/Input/NumberInput.js +25 -3
  56. package/dist/components/Input/PasswordInput.d.ts +6 -6
  57. package/dist/components/Input/PasswordInput.js +25 -3
  58. package/dist/components/Input/PasswordInput.styled.d.ts +39 -45
  59. package/dist/components/Input/PasswordInput.styled.js +5 -2
  60. package/dist/components/Input/PasswordVisibilityToggle.js +29 -14
  61. package/dist/components/Input/TelInput.d.ts +10 -0
  62. package/dist/components/Input/TelInput.js +41 -0
  63. package/dist/components/Input/TextInput.d.ts +6 -6
  64. package/dist/components/Input/TextInput.js +25 -3
  65. package/dist/components/Input/TextareaInput.d.ts +6 -6
  66. package/dist/components/Input/TextareaInput.js +10 -13
  67. package/dist/components/Input/index.d.ts +1 -1
  68. package/dist/components/Input/index.js +3 -3
  69. package/dist/components/LabelText/LabelText.d.ts +39 -45
  70. package/dist/components/LabelText/LabelText.js +4 -5
  71. package/dist/components/List/List.d.ts +131 -149
  72. package/dist/components/List/List.js +44 -30
  73. package/dist/components/Margin/Margin.d.ts +39 -45
  74. package/dist/components/Margin/Margin.js +3 -3
  75. package/dist/components/NavHeader/NavHeader.d.ts +1 -1
  76. package/dist/components/NavHeader/NavHeader.js +35 -34
  77. package/dist/components/Notification/Notification.d.ts +100 -104
  78. package/dist/components/Notification/Notification.js +49 -32
  79. package/dist/components/Radio/Radio.d.ts +3 -3
  80. package/dist/components/Radio/Radio.js +61 -16
  81. package/dist/components/Radio/RadioField.js +41 -11
  82. package/dist/components/SkeletonLoading/Skeleton.d.ts +39 -45
  83. package/dist/components/SkeletonLoading/SkeletonAnimation.js +33 -22
  84. package/dist/components/SkeletonLoading/SkeletonCTA.js +5 -4
  85. package/dist/components/SkeletonLoading/SkeletonCircle.js +6 -4
  86. package/dist/components/SkeletonLoading/SkeletonHeading.js +5 -4
  87. package/dist/components/SkeletonLoading/SkeletonText.js +5 -5
  88. package/dist/components/Stack/Stack.js +28 -6
  89. package/dist/components/Stretch/Stretch.js +2 -2
  90. package/dist/components/SubLabelText/SubLabelText.d.ts +39 -45
  91. package/dist/components/SubLabelText/SubLabelText.js +4 -5
  92. package/dist/components/SummaryList/SummaryList.js +32 -8
  93. package/dist/components/Tabs/Tab.d.ts +4 -4
  94. package/dist/components/Tabs/Tab.js +20 -23
  95. package/dist/components/Tabs/TabList.d.ts +222 -11
  96. package/dist/components/Tabs/TabList.js +18 -22
  97. package/dist/components/Tabs/TabPanel.js +10 -33
  98. package/dist/components/Tabs/Tabs.d.ts +227 -8
  99. package/dist/components/Tabs/Tabs.js +23 -26
  100. package/dist/components/Text/Text.d.ts +204 -234
  101. package/dist/components/Text/Text.js +20 -17
  102. package/dist/components/TextField/CurrencyField.d.ts +6 -6
  103. package/dist/components/TextField/CurrencyField.js +26 -3
  104. package/dist/components/TextField/EmailField.d.ts +6 -6
  105. package/dist/components/TextField/EmailField.js +26 -3
  106. package/dist/components/TextField/NumberField.d.ts +6 -6
  107. package/dist/components/TextField/NumberField.js +26 -3
  108. package/dist/components/TextField/PasswordField.d.ts +6 -6
  109. package/dist/components/TextField/PasswordField.js +26 -3
  110. package/dist/components/TextField/TelField.d.ts +6 -10
  111. package/dist/components/TextField/TelField.js +27 -9
  112. package/dist/components/TextField/TextField.d.ts +6 -6
  113. package/dist/components/TextField/TextField.js +26 -3
  114. package/dist/components/TextField/TextareaField.d.ts +6 -6
  115. package/dist/components/TextField/TextareaField.js +26 -3
  116. package/dist/components/TextField/index.d.ts +0 -1
  117. package/dist/components/TextField/index.js +1 -3
  118. package/dist/components/TextLink/TextLink.d.ts +4 -4
  119. package/dist/components/TextLink/TextLink.js +8 -5
  120. package/dist/components/index.d.ts +0 -1
  121. package/dist/components/index.js +0 -1
  122. package/dist/esm/components/Accordion/Accordion.js +26 -23
  123. package/dist/esm/components/Accordion/Group.js +9 -10
  124. package/dist/esm/components/Accordion/Icon.js +12 -20
  125. package/dist/esm/components/Accordion/hooks.js +3 -3
  126. package/dist/esm/components/Accordion/styles.js +48 -29
  127. package/dist/esm/components/Badge/Badge.js +17 -35
  128. package/dist/esm/components/CTAButton/CTAButton.js +28 -24
  129. package/dist/esm/components/CTALink/CTALink.js +4 -5
  130. package/dist/esm/components/Card/Card.js +25 -5
  131. package/dist/esm/components/Checkbox/Checkbox.js +34 -15
  132. package/dist/esm/components/Checkbox/CheckboxField.js +14 -7
  133. package/dist/esm/components/DataTable/DataTable.js +74 -10
  134. package/dist/esm/components/DataTable/index.js +0 -2
  135. package/dist/esm/components/DateField/DateField.js +28 -9
  136. package/dist/esm/components/DescriptionList/DescriptionList.js +9 -8
  137. package/dist/esm/components/DescriptionList/styled.js +31 -9
  138. package/dist/esm/components/Disclosure/Disclosure.js +19 -13
  139. package/dist/esm/components/Divider/Divider.js +4 -4
  140. package/dist/esm/components/ErrorSummaryNotification/ErrorSummaryNotification.js +5 -6
  141. package/dist/esm/components/ErrorText/ErrorText.js +4 -7
  142. package/dist/esm/components/Field/Field.js +26 -18
  143. package/dist/esm/components/FormGroup/FormGroup.js +3 -2
  144. package/dist/esm/components/Grid/Col.js +3 -4
  145. package/dist/esm/components/Grid/Row.js +7 -7
  146. package/dist/esm/components/Heading/Heading.js +29 -21
  147. package/dist/esm/components/HintText/HintText.js +4 -7
  148. package/dist/esm/components/Icon/Icon.js +4 -5
  149. package/dist/esm/components/Input/CurrencyInput.js +2 -3
  150. package/dist/esm/components/Input/EmailInput.js +2 -3
  151. package/dist/esm/components/Input/Input.js +33 -27
  152. package/dist/esm/components/Input/NumberInput.js +2 -3
  153. package/dist/esm/components/Input/PasswordInput.js +2 -3
  154. package/dist/esm/components/Input/PasswordInput.styled.js +5 -2
  155. package/dist/esm/components/Input/PasswordVisibilityToggle.js +7 -15
  156. package/dist/esm/components/Input/{PhoneInput.js → TelInput.js} +3 -4
  157. package/dist/esm/components/Input/TextInput.js +2 -3
  158. package/dist/esm/components/Input/TextareaInput.js +10 -13
  159. package/dist/esm/components/Input/index.js +1 -1
  160. package/dist/esm/components/LabelText/LabelText.js +4 -5
  161. package/dist/esm/components/List/List.js +45 -31
  162. package/dist/esm/components/Margin/Margin.js +3 -3
  163. package/dist/esm/components/NavHeader/NavHeader.js +32 -34
  164. package/dist/esm/components/Notification/Notification.js +50 -33
  165. package/dist/esm/components/Radio/Radio.js +38 -16
  166. package/dist/esm/components/Radio/RadioField.js +18 -11
  167. package/dist/esm/components/SkeletonLoading/SkeletonAnimation.js +11 -23
  168. package/dist/esm/components/SkeletonLoading/SkeletonCTA.js +5 -4
  169. package/dist/esm/components/SkeletonLoading/SkeletonCircle.js +6 -4
  170. package/dist/esm/components/SkeletonLoading/SkeletonHeading.js +5 -4
  171. package/dist/esm/components/SkeletonLoading/SkeletonText.js +5 -5
  172. package/dist/esm/components/Stack/Stack.js +5 -6
  173. package/dist/esm/components/Stretch/Stretch.js +2 -2
  174. package/dist/esm/components/SubLabelText/SubLabelText.js +4 -5
  175. package/dist/esm/components/SummaryList/SummaryList.js +9 -8
  176. package/dist/esm/components/Tabs/Tab.js +17 -23
  177. package/dist/esm/components/Tabs/TabList.js +18 -21
  178. package/dist/esm/components/Tabs/TabPanel.js +7 -10
  179. package/dist/esm/components/Tabs/Tabs.js +23 -25
  180. package/dist/esm/components/Text/Text.js +20 -17
  181. package/dist/esm/components/TextField/CurrencyField.js +3 -3
  182. package/dist/esm/components/TextField/EmailField.js +3 -3
  183. package/dist/esm/components/TextField/NumberField.js +3 -3
  184. package/dist/esm/components/TextField/PasswordField.js +3 -3
  185. package/dist/esm/components/TextField/TelField.js +4 -9
  186. package/dist/esm/components/TextField/TextField.js +3 -3
  187. package/dist/esm/components/TextField/TextareaField.js +3 -3
  188. package/dist/esm/components/TextField/index.js +0 -1
  189. package/dist/esm/components/TextLink/TextLink.js +8 -5
  190. package/dist/esm/components/index.js +0 -1
  191. package/dist/esm/hooks/use-breakpoint.js +4 -4
  192. package/dist/esm/providers/IconsProvider.js +2 -3
  193. package/dist/esm/providers/icons/ArrowDown.js +3 -2
  194. package/dist/esm/providers/icons/ArrowLeft.js +3 -2
  195. package/dist/esm/providers/icons/ArrowRight.js +3 -2
  196. package/dist/esm/providers/icons/ArrowUp.js +3 -2
  197. package/dist/esm/providers/icons/CaretDown.js +3 -2
  198. package/dist/esm/providers/icons/CaretLeft.js +3 -2
  199. package/dist/esm/providers/icons/CaretRight.js +3 -2
  200. package/dist/esm/providers/icons/CaretUp.js +3 -2
  201. package/dist/esm/providers/icons/Chart.js +3 -2
  202. package/dist/esm/providers/icons/Check.js +3 -2
  203. package/dist/esm/providers/icons/ChevronDown.js +3 -2
  204. package/dist/esm/providers/icons/ChevronLeft.js +3 -2
  205. package/dist/esm/providers/icons/ChevronLeftSmall.js +3 -2
  206. package/dist/esm/providers/icons/ChevronLeftSmallFirst.js +3 -2
  207. package/dist/esm/providers/icons/ChevronRight.js +3 -2
  208. package/dist/esm/providers/icons/ChevronRightSmall.js +3 -2
  209. package/dist/esm/providers/icons/ChevronRightSmallLast.js +3 -2
  210. package/dist/esm/providers/icons/ChevronUp.js +3 -2
  211. package/dist/esm/providers/icons/Cross.js +3 -2
  212. package/dist/esm/providers/icons/Dollar.js +3 -2
  213. package/dist/esm/providers/icons/Download.js +3 -2
  214. package/dist/esm/providers/icons/Electricity.js +3 -2
  215. package/dist/esm/providers/icons/Euro.js +3 -2
  216. package/dist/esm/providers/icons/Gas.js +4 -2
  217. package/dist/esm/providers/icons/Help.js +3 -2
  218. package/dist/esm/providers/icons/Hide.js +3 -2
  219. package/dist/esm/providers/icons/Home.js +3 -2
  220. package/dist/esm/providers/icons/Info.js +3 -2
  221. package/dist/esm/providers/icons/Link.js +4 -2
  222. package/dist/esm/providers/icons/Logo.js +4 -3
  223. package/dist/esm/providers/icons/Minus.js +3 -2
  224. package/dist/esm/providers/icons/NewWindow.js +3 -2
  225. package/dist/esm/providers/icons/PaymentCard.js +3 -2
  226. package/dist/esm/providers/icons/Plus.js +3 -2
  227. package/dist/esm/providers/icons/Pound.js +3 -2
  228. package/dist/esm/providers/icons/Search.js +3 -2
  229. package/dist/esm/providers/icons/Show.js +3 -2
  230. package/dist/esm/providers/icons/User.js +3 -2
  231. package/dist/esm/theme/create-theme.js +153 -0
  232. package/dist/esm/utils/utils.js +3 -7
  233. package/dist/hooks/use-breakpoint.js +4 -4
  234. package/dist/providers/IconsProvider.js +25 -3
  235. package/dist/providers/icons/ArrowDown.js +6 -2
  236. package/dist/providers/icons/ArrowLeft.js +6 -2
  237. package/dist/providers/icons/ArrowRight.js +6 -2
  238. package/dist/providers/icons/ArrowUp.js +6 -2
  239. package/dist/providers/icons/CaretDown.js +6 -2
  240. package/dist/providers/icons/CaretLeft.js +6 -2
  241. package/dist/providers/icons/CaretRight.js +6 -2
  242. package/dist/providers/icons/CaretUp.js +6 -2
  243. package/dist/providers/icons/Chart.js +6 -2
  244. package/dist/providers/icons/Check.js +6 -2
  245. package/dist/providers/icons/ChevronDown.js +6 -2
  246. package/dist/providers/icons/ChevronLeft.js +6 -2
  247. package/dist/providers/icons/ChevronLeftSmall.js +6 -2
  248. package/dist/providers/icons/ChevronLeftSmallFirst.js +6 -2
  249. package/dist/providers/icons/ChevronRight.js +6 -2
  250. package/dist/providers/icons/ChevronRightSmall.js +6 -2
  251. package/dist/providers/icons/ChevronRightSmallLast.js +6 -2
  252. package/dist/providers/icons/ChevronUp.js +6 -2
  253. package/dist/providers/icons/Cross.js +6 -2
  254. package/dist/providers/icons/Dollar.js +6 -2
  255. package/dist/providers/icons/Download.js +6 -2
  256. package/dist/providers/icons/Electricity.js +6 -2
  257. package/dist/providers/icons/Euro.js +6 -2
  258. package/dist/providers/icons/Gas.js +7 -2
  259. package/dist/providers/icons/Help.js +6 -2
  260. package/dist/providers/icons/Hide.js +6 -2
  261. package/dist/providers/icons/Home.js +6 -2
  262. package/dist/providers/icons/Info.js +6 -2
  263. package/dist/providers/icons/Link.js +7 -2
  264. package/dist/providers/icons/Logo.js +6 -2
  265. package/dist/providers/icons/Minus.js +6 -2
  266. package/dist/providers/icons/NewWindow.js +6 -2
  267. package/dist/providers/icons/PaymentCard.js +6 -2
  268. package/dist/providers/icons/Plus.js +6 -2
  269. package/dist/providers/icons/Pound.js +6 -2
  270. package/dist/providers/icons/Search.js +6 -2
  271. package/dist/providers/icons/Show.js +6 -2
  272. package/dist/providers/icons/User.js +6 -2
  273. package/dist/styled.native.d.ts +234 -270
  274. package/dist/theme/create-theme.js +153 -0
  275. package/dist/theme/index.d.ts +39 -45
  276. package/dist/theme/theme.d.ts +90 -0
  277. package/dist/utils/utils.d.ts +4 -5
  278. package/dist/utils/utils.js +26 -8
  279. package/package.json +5 -6
  280. package/dist/components/DataTable/TableRow.d.ts +0 -2
  281. package/dist/components/DataTable/TableRow.js +0 -31
  282. package/dist/components/DataTable/styles.d.ts +0 -2517
  283. package/dist/components/DataTable/styles.js +0 -77
  284. package/dist/components/DataTable/types.d.ts +0 -15
  285. package/dist/components/DataTable/types.js +0 -2
  286. package/dist/components/Input/PhoneInput.d.ts +0 -10
  287. package/dist/components/Input/PhoneInput.js +0 -19
  288. package/dist/components/SelectField/Select.d.ts +0 -244
  289. package/dist/components/SelectField/Select.js +0 -102
  290. package/dist/components/SelectField/SelectField.d.ts +0 -7
  291. package/dist/components/SelectField/SelectField.js +0 -33
  292. package/dist/components/SelectField/index.d.ts +0 -1
  293. package/dist/components/SelectField/index.js +0 -5
  294. package/dist/components/TextField/PhoneField.d.ts +0 -10
  295. package/dist/components/TextField/PhoneField.js +0 -33
  296. package/dist/esm/components/DataTable/TableRow.js +0 -27
  297. package/dist/esm/components/DataTable/styles.js +0 -51
  298. package/dist/esm/components/DataTable/types.js +0 -1
  299. package/dist/esm/components/SelectField/Select.js +0 -75
  300. package/dist/esm/components/SelectField/SelectField.js +0 -29
  301. package/dist/esm/components/SelectField/index.js +0 -1
  302. package/dist/esm/components/TextField/PhoneField.js +0 -30
@@ -1,6 +1,6 @@
1
- import { PropsWithChildren } from 'react';
1
+ import React, { PropsWithChildren } from 'react';
2
2
  import { Text, ViewProps } from 'react-native';
3
- export declare const P: import("react").ForwardRefExoticComponent<Pick<Omit<{
3
+ export declare const P: React.ForwardRefExoticComponent<Pick<Omit<{
4
4
  [x: string]: any;
5
5
  [x: number]: any;
6
6
  [x: symbol]: any;
@@ -11,10 +11,10 @@ export declare const P: import("react").ForwardRefExoticComponent<Pick<Omit<{
11
11
  borderWidth: Record<"small" | "medium" | "large", string>;
12
12
  breakpoint: Record<"small" | "medium" | "large", string | number>;
13
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>;
14
+ space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
15
15
  transition: Record<"medium" | "slow" | "fast", string>;
16
- opacity: Record<"solid" | "transparent" | "translucent", string | number>;
17
- color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
16
+ opacity: Record<"transparent" | "translucent" | "solid", string | number>;
17
+ color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
18
18
  lightest: string;
19
19
  lighter: string;
20
20
  light: string;
@@ -30,53 +30,71 @@ export declare const P: import("react").ForwardRefExoticComponent<Pick<Omit<{
30
30
  web: string;
31
31
  }>;
32
32
  fontWeight: Record<"bold" | "book" | "black", string | number>;
33
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
33
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
34
34
  small: string | number;
35
35
  large: string | number;
36
36
  }>;
37
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
37
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
38
38
  small: string | number;
39
39
  large: string | number;
40
40
  }>;
41
- letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
42
41
  };
43
42
  semantic: {
44
43
  surface: Record<"base" | "cutout" | "elevated", string>;
45
44
  message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
46
45
  border: Record<"graphic" | "differentiated" | "functional", string>;
47
- focus: Record<"surface" | "outline" | "hover", string>;
48
- inverted: Record<"border" | "surface", string> & {
46
+ focus: Record<"outline" | "surface", string>;
47
+ inverted: Record<"surface" | "border", string> & {
49
48
  message: Record<"base" | "link" | "secondary" | "branded", string>;
50
49
  };
51
50
  success: {
52
51
  border: string;
53
52
  surface: string;
54
- surfaceEmphasis: string;
55
- message: string;
56
- messageOnEmphasis: string;
53
+ message: {
54
+ base: string;
55
+ secondary: string;
56
+ };
57
57
  };
58
58
  warning: {
59
59
  border: string;
60
60
  surface: string;
61
- surfaceEmphasis: string;
62
- message: string;
63
- messageOnEmphasis: string;
61
+ message: {
62
+ base: string;
63
+ secondary: string;
64
+ };
64
65
  };
65
66
  error: {
66
67
  border: string;
67
68
  surface: string;
68
- surfaceEmphasis: string;
69
- message: string;
70
- messageOnEmphasis: string;
69
+ message: {
70
+ base: string;
71
+ secondary: string;
72
+ };
71
73
  };
72
74
  info: {
73
75
  border: string;
74
76
  surface: string;
75
- surfaceEmphasis: string;
76
- message: string;
77
- messageOnEmphasis: string;
77
+ message: {
78
+ base: string;
79
+ secondary: string;
80
+ };
81
+ };
82
+ electricity: {
83
+ border: string;
84
+ surface: string;
85
+ message: {
86
+ base: string;
87
+ secondary: string;
88
+ };
89
+ };
90
+ gas: {
91
+ border: string;
92
+ surface: string;
93
+ message: {
94
+ base: string;
95
+ secondary: string;
96
+ };
78
97
  };
79
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
80
98
  };
81
99
  component: {
82
100
  heading1: {
@@ -207,37 +225,13 @@ export declare const P: import("react").ForwardRefExoticComponent<Pick<Omit<{
207
225
  backgroundFocused: string;
208
226
  };
209
227
  };
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
228
  };
235
229
  }) | undefined;
236
230
  } & {
237
- as?: string | import("react").ComponentType<any> | undefined;
238
- forwardedAs?: string | import("react").ComponentType<any> | undefined;
239
- }, import("../../hooks").BreakpointNames>, string | number | symbol> & import("react").RefAttributes<Text>>;
240
- export declare const Small: import("react").ForwardRefExoticComponent<Pick<Omit<{
231
+ as?: string | React.ComponentType<any> | undefined;
232
+ forwardedAs?: string | React.ComponentType<any> | undefined;
233
+ }, import("../../hooks").BreakpointNames>, string | number | symbol> & React.RefAttributes<Text>>;
234
+ export declare const Small: React.ForwardRefExoticComponent<Pick<Omit<{
241
235
  [x: string]: any;
242
236
  [x: number]: any;
243
237
  [x: symbol]: any;
@@ -248,10 +242,10 @@ export declare const Small: import("react").ForwardRefExoticComponent<Pick<Omit<
248
242
  borderWidth: Record<"small" | "medium" | "large", string>;
249
243
  breakpoint: Record<"small" | "medium" | "large", string | number>;
250
244
  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>;
245
+ space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
252
246
  transition: Record<"medium" | "slow" | "fast", string>;
253
- opacity: Record<"solid" | "transparent" | "translucent", string | number>;
254
- color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
247
+ opacity: Record<"transparent" | "translucent" | "solid", string | number>;
248
+ color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
255
249
  lightest: string;
256
250
  lighter: string;
257
251
  light: string;
@@ -267,53 +261,71 @@ export declare const Small: import("react").ForwardRefExoticComponent<Pick<Omit<
267
261
  web: string;
268
262
  }>;
269
263
  fontWeight: Record<"bold" | "book" | "black", string | number>;
270
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
264
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
271
265
  small: string | number;
272
266
  large: string | number;
273
267
  }>;
274
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
268
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
275
269
  small: string | number;
276
270
  large: string | number;
277
271
  }>;
278
- letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
279
272
  };
280
273
  semantic: {
281
274
  surface: Record<"base" | "cutout" | "elevated", string>;
282
275
  message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
283
276
  border: Record<"graphic" | "differentiated" | "functional", string>;
284
- focus: Record<"surface" | "outline" | "hover", string>;
285
- inverted: Record<"border" | "surface", string> & {
277
+ focus: Record<"outline" | "surface", string>;
278
+ inverted: Record<"surface" | "border", string> & {
286
279
  message: Record<"base" | "link" | "secondary" | "branded", string>;
287
280
  };
288
281
  success: {
289
282
  border: string;
290
283
  surface: string;
291
- surfaceEmphasis: string;
292
- message: string;
293
- messageOnEmphasis: string;
284
+ message: {
285
+ base: string;
286
+ secondary: string;
287
+ };
294
288
  };
295
289
  warning: {
296
290
  border: string;
297
291
  surface: string;
298
- surfaceEmphasis: string;
299
- message: string;
300
- messageOnEmphasis: string;
292
+ message: {
293
+ base: string;
294
+ secondary: string;
295
+ };
301
296
  };
302
297
  error: {
303
298
  border: string;
304
299
  surface: string;
305
- surfaceEmphasis: string;
306
- message: string;
307
- messageOnEmphasis: string;
300
+ message: {
301
+ base: string;
302
+ secondary: string;
303
+ };
308
304
  };
309
305
  info: {
310
306
  border: string;
311
307
  surface: string;
312
- surfaceEmphasis: string;
313
- message: string;
314
- messageOnEmphasis: string;
308
+ message: {
309
+ base: string;
310
+ secondary: string;
311
+ };
312
+ };
313
+ electricity: {
314
+ border: string;
315
+ surface: string;
316
+ message: {
317
+ base: string;
318
+ secondary: string;
319
+ };
320
+ };
321
+ gas: {
322
+ border: string;
323
+ surface: string;
324
+ message: {
325
+ base: string;
326
+ secondary: string;
327
+ };
315
328
  };
316
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
317
329
  };
318
330
  component: {
319
331
  heading1: {
@@ -444,46 +456,22 @@ export declare const Small: import("react").ForwardRefExoticComponent<Pick<Omit<
444
456
  backgroundFocused: string;
445
457
  };
446
458
  };
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
459
  };
472
460
  }) | undefined;
473
461
  } & {
474
- as?: string | import("react").ComponentType<any> | undefined;
475
- forwardedAs?: string | import("react").ComponentType<any> | undefined;
476
- }, import("../../hooks").BreakpointNames>, string | number | symbol> & import("react").RefAttributes<Text>>;
462
+ as?: string | React.ComponentType<any> | undefined;
463
+ forwardedAs?: string | React.ComponentType<any> | undefined;
464
+ }, import("../../hooks").BreakpointNames>, string | number | symbol> & React.RefAttributes<Text>>;
477
465
  export declare const Strong: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme & {
478
466
  core: {
479
467
  radius: Record<"small" | "medium" | "large" | "max", string>;
480
468
  borderWidth: Record<"small" | "medium" | "large", string>;
481
469
  breakpoint: Record<"small" | "medium" | "large", string | number>;
482
470
  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>;
471
+ space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
484
472
  transition: Record<"medium" | "slow" | "fast", string>;
485
- opacity: Record<"solid" | "transparent" | "translucent", string | number>;
486
- color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
473
+ opacity: Record<"transparent" | "translucent" | "solid", string | number>;
474
+ color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
487
475
  lightest: string;
488
476
  lighter: string;
489
477
  light: string;
@@ -499,53 +487,71 @@ export declare const Strong: import("styled-components").StyledComponent<typeof
499
487
  web: string;
500
488
  }>;
501
489
  fontWeight: Record<"bold" | "book" | "black", string | number>;
502
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
490
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
503
491
  small: string | number;
504
492
  large: string | number;
505
493
  }>;
506
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
494
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
507
495
  small: string | number;
508
496
  large: string | number;
509
497
  }>;
510
- letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
511
498
  };
512
499
  semantic: {
513
500
  surface: Record<"base" | "cutout" | "elevated", string>;
514
501
  message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
515
502
  border: Record<"graphic" | "differentiated" | "functional", string>;
516
- focus: Record<"surface" | "outline" | "hover", string>;
517
- inverted: Record<"border" | "surface", string> & {
503
+ focus: Record<"outline" | "surface", string>;
504
+ inverted: Record<"surface" | "border", string> & {
518
505
  message: Record<"base" | "link" | "secondary" | "branded", string>;
519
506
  };
520
507
  success: {
521
508
  border: string;
522
509
  surface: string;
523
- surfaceEmphasis: string;
524
- message: string;
525
- messageOnEmphasis: string;
510
+ message: {
511
+ base: string;
512
+ secondary: string;
513
+ };
526
514
  };
527
515
  warning: {
528
516
  border: string;
529
517
  surface: string;
530
- surfaceEmphasis: string;
531
- message: string;
532
- messageOnEmphasis: string;
518
+ message: {
519
+ base: string;
520
+ secondary: string;
521
+ };
533
522
  };
534
523
  error: {
535
524
  border: string;
536
525
  surface: string;
537
- surfaceEmphasis: string;
538
- message: string;
539
- messageOnEmphasis: string;
526
+ message: {
527
+ base: string;
528
+ secondary: string;
529
+ };
540
530
  };
541
531
  info: {
542
532
  border: string;
543
533
  surface: string;
544
- surfaceEmphasis: string;
545
- message: string;
546
- messageOnEmphasis: string;
534
+ message: {
535
+ base: string;
536
+ secondary: string;
537
+ };
538
+ };
539
+ electricity: {
540
+ border: string;
541
+ surface: string;
542
+ message: {
543
+ base: string;
544
+ secondary: string;
545
+ };
546
+ };
547
+ gas: {
548
+ border: string;
549
+ surface: string;
550
+ message: {
551
+ base: string;
552
+ secondary: string;
553
+ };
547
554
  };
548
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
549
555
  };
550
556
  component: {
551
557
  heading1: {
@@ -676,30 +682,6 @@ export declare const Strong: import("styled-components").StyledComponent<typeof
676
682
  backgroundFocused: string;
677
683
  };
678
684
  };
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
685
  };
704
686
  }, {}, never>;
705
687
  export declare const Em: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme & {
@@ -708,10 +690,10 @@ export declare const Em: import("styled-components").StyledComponent<typeof impo
708
690
  borderWidth: Record<"small" | "medium" | "large", string>;
709
691
  breakpoint: Record<"small" | "medium" | "large", string | number>;
710
692
  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>;
693
+ space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
712
694
  transition: Record<"medium" | "slow" | "fast", string>;
713
- opacity: Record<"solid" | "transparent" | "translucent", string | number>;
714
- color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
695
+ opacity: Record<"transparent" | "translucent" | "solid", string | number>;
696
+ color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
715
697
  lightest: string;
716
698
  lighter: string;
717
699
  light: string;
@@ -727,53 +709,71 @@ export declare const Em: import("styled-components").StyledComponent<typeof impo
727
709
  web: string;
728
710
  }>;
729
711
  fontWeight: Record<"bold" | "book" | "black", string | number>;
730
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
712
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
731
713
  small: string | number;
732
714
  large: string | number;
733
715
  }>;
734
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
716
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
735
717
  small: string | number;
736
718
  large: string | number;
737
719
  }>;
738
- letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
739
720
  };
740
721
  semantic: {
741
722
  surface: Record<"base" | "cutout" | "elevated", string>;
742
723
  message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
743
724
  border: Record<"graphic" | "differentiated" | "functional", string>;
744
- focus: Record<"surface" | "outline" | "hover", string>;
745
- inverted: Record<"border" | "surface", string> & {
725
+ focus: Record<"outline" | "surface", string>;
726
+ inverted: Record<"surface" | "border", string> & {
746
727
  message: Record<"base" | "link" | "secondary" | "branded", string>;
747
728
  };
748
729
  success: {
749
730
  border: string;
750
731
  surface: string;
751
- surfaceEmphasis: string;
752
- message: string;
753
- messageOnEmphasis: string;
732
+ message: {
733
+ base: string;
734
+ secondary: string;
735
+ };
754
736
  };
755
737
  warning: {
756
738
  border: string;
757
739
  surface: string;
758
- surfaceEmphasis: string;
759
- message: string;
760
- messageOnEmphasis: string;
740
+ message: {
741
+ base: string;
742
+ secondary: string;
743
+ };
761
744
  };
762
745
  error: {
763
746
  border: string;
764
747
  surface: string;
765
- surfaceEmphasis: string;
766
- message: string;
767
- messageOnEmphasis: string;
748
+ message: {
749
+ base: string;
750
+ secondary: string;
751
+ };
768
752
  };
769
753
  info: {
770
754
  border: string;
771
755
  surface: string;
772
- surfaceEmphasis: string;
773
- message: string;
774
- messageOnEmphasis: string;
756
+ message: {
757
+ base: string;
758
+ secondary: string;
759
+ };
760
+ };
761
+ electricity: {
762
+ border: string;
763
+ surface: string;
764
+ message: {
765
+ base: string;
766
+ secondary: string;
767
+ };
768
+ };
769
+ gas: {
770
+ border: string;
771
+ surface: string;
772
+ message: {
773
+ base: string;
774
+ secondary: string;
775
+ };
775
776
  };
776
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
777
777
  };
778
778
  component: {
779
779
  heading1: {
@@ -904,30 +904,6 @@ export declare const Em: import("styled-components").StyledComponent<typeof impo
904
904
  backgroundFocused: string;
905
905
  };
906
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
907
  };
932
908
  }, {}, never>;
933
909
  export declare const LineThrough: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme & {
@@ -936,10 +912,10 @@ export declare const LineThrough: import("styled-components").StyledComponent<ty
936
912
  borderWidth: Record<"small" | "medium" | "large", string>;
937
913
  breakpoint: Record<"small" | "medium" | "large", string | number>;
938
914
  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>;
915
+ space: Record<0 | 2 | 1 | 10 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
940
916
  transition: Record<"medium" | "slow" | "fast", string>;
941
- opacity: Record<"solid" | "transparent" | "translucent", string | number>;
942
- color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
917
+ opacity: Record<"transparent" | "translucent" | "solid", string | number>;
918
+ color: Record<"sand" | "red" | "orange" | "yellow" | "lime" | "green" | "teal" | "blue" | "purple", {
943
919
  lightest: string;
944
920
  lighter: string;
945
921
  light: string;
@@ -955,53 +931,71 @@ export declare const LineThrough: import("styled-components").StyledComponent<ty
955
931
  web: string;
956
932
  }>;
957
933
  fontWeight: Record<"bold" | "book" | "black", string | number>;
958
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
934
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
959
935
  small: string | number;
960
936
  large: string | number;
961
937
  }>;
962
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
938
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
963
939
  small: string | number;
964
940
  large: string | number;
965
941
  }>;
966
- letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
967
942
  };
968
943
  semantic: {
969
944
  surface: Record<"base" | "cutout" | "elevated", string>;
970
945
  message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
971
946
  border: Record<"graphic" | "differentiated" | "functional", string>;
972
- focus: Record<"surface" | "outline" | "hover", string>;
973
- inverted: Record<"border" | "surface", string> & {
947
+ focus: Record<"outline" | "surface", string>;
948
+ inverted: Record<"surface" | "border", string> & {
974
949
  message: Record<"base" | "link" | "secondary" | "branded", string>;
975
950
  };
976
951
  success: {
977
952
  border: string;
978
953
  surface: string;
979
- surfaceEmphasis: string;
980
- message: string;
981
- messageOnEmphasis: string;
954
+ message: {
955
+ base: string;
956
+ secondary: string;
957
+ };
982
958
  };
983
959
  warning: {
984
960
  border: string;
985
961
  surface: string;
986
- surfaceEmphasis: string;
987
- message: string;
988
- messageOnEmphasis: string;
962
+ message: {
963
+ base: string;
964
+ secondary: string;
965
+ };
989
966
  };
990
967
  error: {
991
968
  border: string;
992
969
  surface: string;
993
- surfaceEmphasis: string;
994
- message: string;
995
- messageOnEmphasis: string;
970
+ message: {
971
+ base: string;
972
+ secondary: string;
973
+ };
996
974
  };
997
975
  info: {
998
976
  border: string;
999
977
  surface: string;
1000
- surfaceEmphasis: string;
1001
- message: string;
1002
- messageOnEmphasis: string;
978
+ message: {
979
+ base: string;
980
+ secondary: string;
981
+ };
982
+ };
983
+ electricity: {
984
+ border: string;
985
+ surface: string;
986
+ message: {
987
+ base: string;
988
+ secondary: string;
989
+ };
990
+ };
991
+ gas: {
992
+ border: string;
993
+ surface: string;
994
+ message: {
995
+ base: string;
996
+ secondary: string;
997
+ };
1003
998
  };
1004
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
1005
999
  };
1006
1000
  component: {
1007
1001
  heading1: {
@@ -1132,30 +1126,6 @@ export declare const LineThrough: import("styled-components").StyledComponent<ty
1132
1126
  backgroundFocused: string;
1133
1127
  };
1134
1128
  };
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
1129
  };
1160
1130
  }, {}, never>;
1161
1131
  export declare const TextGroup: ({ children, ...rest }: PropsWithChildren<ViewProps>) => JSX.Element;