@ovotech/element-native 3.2.3 → 3.3.0-canary-876541b-129

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 (267) hide show
  1. package/dist/components/Accordion/styles.d.ts +27 -27
  2. package/dist/components/Accordion/styles.js +1 -1
  3. package/dist/components/ActionList/styled.d.ts +45 -45
  4. package/dist/components/ActionList/styled.js +1 -1
  5. package/dist/components/Badge/Badge.d.ts +9 -9
  6. package/dist/components/Card/Card.d.ts +9 -9
  7. package/dist/components/Checkbox/Checkbox.js +4 -5
  8. package/dist/components/DataTable/styles.d.ts +99 -99
  9. package/dist/components/DescriptionList/styled.d.ts +9 -9
  10. package/dist/components/ErrorText/ErrorText.d.ts +9 -9
  11. package/dist/components/Field/Field.js +1 -3
  12. package/dist/components/Grid/Col.d.ts +9 -9
  13. package/dist/components/Grid/Row.d.ts +9 -9
  14. package/dist/components/HintText/HintText.d.ts +9 -9
  15. package/dist/components/Input/PasswordInput.styled.d.ts +9 -9
  16. package/dist/components/LabelText/LabelText.d.ts +9 -9
  17. package/dist/components/List/List.d.ts +19 -270
  18. package/dist/components/List/List.js +2 -55
  19. package/dist/components/List/index.d.ts +1 -1
  20. package/dist/components/List/index.js +1 -4
  21. package/dist/components/Margin/Margin.d.ts +11 -11
  22. package/dist/components/Notification/Notification.d.ts +18 -18
  23. package/dist/components/SelectField/Select.d.ts +9 -9
  24. package/dist/components/SkeletonLoading/Skeleton.d.ts +9 -9
  25. package/dist/components/Stack/Stack.d.ts +2 -2
  26. package/dist/components/SubLabelText/SubLabelText.d.ts +9 -9
  27. package/dist/components/Text/Text.d.ts +45 -45
  28. package/dist/components/TextLink/TextLink.js +6 -3
  29. package/dist/components/index.d.ts +0 -1
  30. package/dist/components/index.js +0 -1
  31. package/dist/esm/components/Accordion/styles.js +1 -1
  32. package/dist/esm/components/ActionList/styled.js +1 -1
  33. package/dist/esm/components/Checkbox/Checkbox.js +4 -5
  34. package/dist/esm/components/Field/Field.js +2 -4
  35. package/dist/esm/components/List/List.js +2 -52
  36. package/dist/esm/components/List/index.js +1 -1
  37. package/dist/esm/components/TextLink/TextLink.js +8 -5
  38. package/dist/esm/components/index.js +0 -1
  39. package/dist/esm/index.js +0 -1
  40. package/dist/esm/providers/IconsProvider.js +46 -3
  41. package/dist/esm/providers/icons/Address.js +14 -0
  42. package/dist/esm/providers/icons/Advice.js +14 -0
  43. package/dist/esm/providers/icons/Archive.js +14 -0
  44. package/dist/esm/providers/icons/ArrowDown.js +2 -2
  45. package/dist/esm/providers/icons/ArrowLeft.js +2 -2
  46. package/dist/esm/providers/icons/ArrowRight.js +2 -2
  47. package/dist/esm/providers/icons/ArrowUp.js +2 -2
  48. package/dist/esm/providers/icons/Award.js +14 -0
  49. package/dist/esm/providers/icons/Battery.js +14 -0
  50. package/dist/esm/providers/icons/Cal.js +14 -0
  51. package/dist/esm/providers/icons/CalBook.js +14 -0
  52. package/dist/esm/providers/icons/CaretDown.js +2 -2
  53. package/dist/esm/providers/icons/CaretLeft.js +2 -2
  54. package/dist/esm/providers/icons/CaretRight.js +2 -2
  55. package/dist/esm/providers/icons/CaretUp.js +2 -2
  56. package/dist/esm/providers/icons/Chart.js +2 -2
  57. package/dist/esm/providers/icons/ChartFilled.js +14 -0
  58. package/dist/esm/providers/icons/Check.js +2 -2
  59. package/dist/esm/providers/icons/CheckCircle.js +14 -0
  60. package/dist/esm/providers/icons/ChevronDown.js +2 -2
  61. package/dist/esm/providers/icons/ChevronLeft.js +2 -2
  62. package/dist/esm/providers/icons/ChevronLeftSmall.js +2 -2
  63. package/dist/esm/providers/icons/ChevronLeftSmallFirst.js +2 -2
  64. package/dist/esm/providers/icons/ChevronRight.js +2 -2
  65. package/dist/esm/providers/icons/ChevronRightSmall.js +2 -2
  66. package/dist/esm/providers/icons/ChevronRightSmallLast.js +2 -2
  67. package/dist/esm/providers/icons/ChevronUp.js +2 -2
  68. package/dist/esm/providers/icons/CloseCircle.js +14 -0
  69. package/dist/esm/providers/icons/Cross.js +2 -2
  70. package/dist/esm/{theme/index.js → providers/icons/Doc.js} +3 -8
  71. package/dist/esm/providers/icons/Dollar.js +2 -2
  72. package/dist/esm/providers/icons/Download.js +2 -2
  73. package/dist/esm/providers/icons/Eco.js +14 -0
  74. package/dist/esm/providers/icons/EcoHome.js +14 -0
  75. package/dist/esm/providers/icons/Edit.js +14 -0
  76. package/dist/esm/providers/icons/ElectricCar.js +14 -0
  77. package/dist/esm/providers/icons/ElectricHome.js +14 -0
  78. package/dist/esm/providers/icons/Electricity.js +2 -2
  79. package/dist/esm/providers/icons/EnergyAdvice.js +14 -0
  80. package/dist/esm/providers/icons/Equals.js +14 -0
  81. package/dist/esm/providers/icons/Euro.js +2 -2
  82. package/dist/esm/providers/icons/Gas.js +3 -3
  83. package/dist/esm/providers/icons/GlobeAddress.js +14 -0
  84. package/dist/esm/providers/icons/Help.js +2 -2
  85. package/dist/esm/providers/icons/Hide.js +2 -2
  86. package/dist/esm/providers/icons/Home.js +2 -2
  87. package/dist/esm/providers/icons/HomeFilled.js +14 -0
  88. package/dist/esm/providers/icons/HydroPower.js +14 -0
  89. package/dist/esm/providers/icons/Info.js +2 -2
  90. package/dist/esm/providers/icons/Link.js +2 -2
  91. package/dist/esm/providers/icons/Mail.js +14 -0
  92. package/dist/esm/providers/icons/MailOpen.js +14 -0
  93. package/dist/esm/providers/icons/Menu.js +14 -0
  94. package/dist/esm/providers/icons/Message.js +14 -0
  95. package/dist/esm/providers/icons/MessageFilled.js +14 -0
  96. package/dist/esm/providers/icons/Minus.js +2 -2
  97. package/dist/esm/providers/icons/Mobile.js +14 -0
  98. package/dist/esm/providers/icons/NewWindow.js +3 -3
  99. package/dist/esm/providers/icons/PaymentCard.js +2 -2
  100. package/dist/esm/providers/icons/Phone.js +14 -0
  101. package/dist/esm/providers/icons/Plus.js +2 -2
  102. package/dist/esm/providers/icons/Pound.js +2 -2
  103. package/dist/esm/providers/icons/Pricing.js +14 -0
  104. package/dist/esm/providers/icons/Search.js +2 -2
  105. package/dist/esm/providers/icons/Security.js +14 -0
  106. package/dist/esm/providers/icons/Show.js +2 -2
  107. package/dist/esm/providers/icons/SmartHome.js +14 -0
  108. package/dist/esm/providers/icons/SmartMeter.js +14 -0
  109. package/dist/esm/providers/icons/Solar.js +14 -0
  110. package/dist/esm/providers/icons/Star.js +14 -0
  111. package/dist/esm/providers/icons/Sun.js +14 -0
  112. package/dist/esm/providers/icons/Trees.js +14 -0
  113. package/dist/esm/providers/icons/Tune.js +2 -2
  114. package/dist/esm/providers/icons/User.js +2 -2
  115. package/dist/esm/providers/icons/UserFilled.js +14 -0
  116. package/dist/esm/providers/icons/Wallet.js +14 -0
  117. package/dist/esm/providers/icons/WalletFilled.js +14 -0
  118. package/dist/esm/providers/icons/WarmHome.js +14 -0
  119. package/dist/esm/providers/icons/Warning.js +14 -0
  120. package/dist/esm/providers/icons/WebAddress.js +14 -0
  121. package/dist/esm/providers/icons/WindPower.js +14 -0
  122. package/dist/esm/providers/icons/index.js +46 -3
  123. package/dist/index.d.ts +0 -1
  124. package/dist/index.js +0 -1
  125. package/dist/providers/IconsProvider.js +45 -2
  126. package/dist/providers/icons/Address.d.ts +2 -0
  127. package/dist/providers/icons/Address.js +41 -0
  128. package/dist/providers/icons/Advice.d.ts +2 -0
  129. package/dist/providers/icons/Advice.js +41 -0
  130. package/dist/providers/icons/Archive.d.ts +2 -0
  131. package/dist/providers/icons/Archive.js +41 -0
  132. package/dist/providers/icons/ArrowDown.js +25 -2
  133. package/dist/providers/icons/ArrowLeft.js +25 -2
  134. package/dist/providers/icons/ArrowRight.js +25 -2
  135. package/dist/providers/icons/ArrowUp.js +25 -2
  136. package/dist/providers/icons/Award.d.ts +2 -0
  137. package/dist/providers/icons/Award.js +41 -0
  138. package/dist/providers/icons/Battery.d.ts +2 -0
  139. package/dist/providers/icons/Battery.js +41 -0
  140. package/dist/providers/icons/Cal.d.ts +2 -0
  141. package/dist/providers/icons/Cal.js +41 -0
  142. package/dist/providers/icons/CalBook.d.ts +2 -0
  143. package/dist/providers/icons/CalBook.js +41 -0
  144. package/dist/providers/icons/CaretDown.js +25 -2
  145. package/dist/providers/icons/CaretLeft.js +25 -2
  146. package/dist/providers/icons/CaretRight.js +25 -2
  147. package/dist/providers/icons/CaretUp.js +25 -2
  148. package/dist/providers/icons/Chart.js +25 -2
  149. package/dist/providers/icons/ChartFilled.d.ts +2 -0
  150. package/dist/providers/icons/ChartFilled.js +41 -0
  151. package/dist/providers/icons/Check.js +25 -2
  152. package/dist/providers/icons/CheckCircle.d.ts +2 -0
  153. package/dist/providers/icons/CheckCircle.js +41 -0
  154. package/dist/providers/icons/ChevronDown.js +25 -2
  155. package/dist/providers/icons/ChevronLeft.js +25 -2
  156. package/dist/providers/icons/ChevronLeftSmall.js +25 -2
  157. package/dist/providers/icons/ChevronLeftSmallFirst.js +25 -2
  158. package/dist/providers/icons/ChevronRight.js +25 -2
  159. package/dist/providers/icons/ChevronRightSmall.js +25 -2
  160. package/dist/providers/icons/ChevronRightSmallLast.js +25 -2
  161. package/dist/providers/icons/ChevronUp.js +25 -2
  162. package/dist/providers/icons/CloseCircle.d.ts +2 -0
  163. package/dist/providers/icons/CloseCircle.js +41 -0
  164. package/dist/providers/icons/Cross.js +25 -2
  165. package/dist/providers/icons/Doc.d.ts +2 -0
  166. package/dist/providers/icons/Doc.js +41 -0
  167. package/dist/providers/icons/Dollar.js +25 -2
  168. package/dist/providers/icons/Download.js +25 -2
  169. package/dist/providers/icons/Eco.d.ts +2 -0
  170. package/dist/providers/icons/Eco.js +41 -0
  171. package/dist/providers/icons/EcoHome.d.ts +2 -0
  172. package/dist/providers/icons/EcoHome.js +41 -0
  173. package/dist/providers/icons/Edit.d.ts +2 -0
  174. package/dist/providers/icons/Edit.js +41 -0
  175. package/dist/providers/icons/ElectricCar.d.ts +2 -0
  176. package/dist/providers/icons/ElectricCar.js +41 -0
  177. package/dist/providers/icons/ElectricHome.d.ts +2 -0
  178. package/dist/providers/icons/ElectricHome.js +41 -0
  179. package/dist/providers/icons/Electricity.js +25 -2
  180. package/dist/providers/icons/EnergyAdvice.d.ts +2 -0
  181. package/dist/providers/icons/EnergyAdvice.js +41 -0
  182. package/dist/providers/icons/Equals.d.ts +2 -0
  183. package/dist/providers/icons/Equals.js +41 -0
  184. package/dist/providers/icons/Euro.js +25 -2
  185. package/dist/providers/icons/Gas.js +25 -2
  186. package/dist/providers/icons/GlobeAddress.d.ts +2 -0
  187. package/dist/providers/icons/GlobeAddress.js +41 -0
  188. package/dist/providers/icons/Help.js +25 -2
  189. package/dist/providers/icons/Hide.js +25 -2
  190. package/dist/providers/icons/Home.js +25 -2
  191. package/dist/providers/icons/HomeFilled.d.ts +2 -0
  192. package/dist/providers/icons/HomeFilled.js +41 -0
  193. package/dist/providers/icons/HydroPower.d.ts +2 -0
  194. package/dist/providers/icons/HydroPower.js +41 -0
  195. package/dist/providers/icons/Info.js +25 -2
  196. package/dist/providers/icons/Link.js +25 -2
  197. package/dist/providers/icons/Mail.d.ts +2 -0
  198. package/dist/providers/icons/Mail.js +41 -0
  199. package/dist/providers/icons/MailOpen.d.ts +2 -0
  200. package/dist/providers/icons/MailOpen.js +41 -0
  201. package/dist/providers/icons/Menu.d.ts +2 -0
  202. package/dist/providers/icons/Menu.js +41 -0
  203. package/dist/providers/icons/Message.d.ts +2 -0
  204. package/dist/providers/icons/Message.js +41 -0
  205. package/dist/providers/icons/MessageFilled.d.ts +2 -0
  206. package/dist/providers/icons/MessageFilled.js +41 -0
  207. package/dist/providers/icons/Minus.js +25 -2
  208. package/dist/providers/icons/Mobile.d.ts +2 -0
  209. package/dist/providers/icons/Mobile.js +41 -0
  210. package/dist/providers/icons/NewWindow.js +25 -2
  211. package/dist/providers/icons/PaymentCard.js +25 -2
  212. package/dist/providers/icons/Phone.d.ts +2 -0
  213. package/dist/providers/icons/Phone.js +41 -0
  214. package/dist/providers/icons/Plus.js +25 -2
  215. package/dist/providers/icons/Pound.js +25 -2
  216. package/dist/providers/icons/Pricing.d.ts +2 -0
  217. package/dist/providers/icons/Pricing.js +41 -0
  218. package/dist/providers/icons/Search.js +25 -2
  219. package/dist/providers/icons/Security.d.ts +2 -0
  220. package/dist/providers/icons/Security.js +41 -0
  221. package/dist/providers/icons/Show.js +25 -2
  222. package/dist/providers/icons/SmartHome.d.ts +2 -0
  223. package/dist/providers/icons/SmartHome.js +41 -0
  224. package/dist/providers/icons/SmartMeter.d.ts +2 -0
  225. package/dist/providers/icons/SmartMeter.js +41 -0
  226. package/dist/providers/icons/Solar.d.ts +2 -0
  227. package/dist/providers/icons/Solar.js +41 -0
  228. package/dist/providers/icons/Star.d.ts +2 -0
  229. package/dist/providers/icons/Star.js +41 -0
  230. package/dist/providers/icons/Sun.d.ts +2 -0
  231. package/dist/providers/icons/Sun.js +41 -0
  232. package/dist/providers/icons/Trees.d.ts +2 -0
  233. package/dist/providers/icons/Trees.js +41 -0
  234. package/dist/providers/icons/Tune.js +25 -2
  235. package/dist/providers/icons/User.js +25 -2
  236. package/dist/providers/icons/UserFilled.d.ts +2 -0
  237. package/dist/providers/icons/UserFilled.js +41 -0
  238. package/dist/providers/icons/Wallet.d.ts +2 -0
  239. package/dist/providers/icons/Wallet.js +41 -0
  240. package/dist/providers/icons/WalletFilled.d.ts +2 -0
  241. package/dist/providers/icons/WalletFilled.js +41 -0
  242. package/dist/providers/icons/WarmHome.d.ts +2 -0
  243. package/dist/providers/icons/WarmHome.js +41 -0
  244. package/dist/providers/icons/Warning.d.ts +2 -0
  245. package/dist/providers/icons/Warning.js +41 -0
  246. package/dist/providers/icons/WebAddress.d.ts +2 -0
  247. package/dist/providers/icons/WebAddress.js +41 -0
  248. package/dist/providers/icons/WindPower.d.ts +2 -0
  249. package/dist/providers/icons/WindPower.js +41 -0
  250. package/dist/providers/icons/index.d.ts +46 -3
  251. package/dist/providers/icons/index.js +46 -3
  252. package/dist/styled.native.d.ts +49 -49
  253. package/package.json +2 -2
  254. package/dist/components/SummaryList/SummaryList.d.ts +0 -14
  255. package/dist/components/SummaryList/SummaryList.js +0 -47
  256. package/dist/components/SummaryList/index.d.ts +0 -1
  257. package/dist/components/SummaryList/index.js +0 -6
  258. package/dist/esm/components/SummaryList/SummaryList.js +0 -43
  259. package/dist/esm/components/SummaryList/index.js +0 -1
  260. package/dist/esm/theme/create-theme.js +0 -330
  261. package/dist/esm/theme/theme.js +0 -1
  262. package/dist/theme/create-theme.d.ts +0 -18
  263. package/dist/theme/create-theme.js +0 -337
  264. package/dist/theme/index.d.ts +0 -231
  265. package/dist/theme/index.js +0 -37
  266. package/dist/theme/theme.d.ts +0 -193
  267. package/dist/theme/theme.js +0 -2
@@ -1,11 +1,11 @@
1
1
  import Animated from 'react-native-reanimated';
2
- export declare const StyledAccordion: import("styled-components").StyledComponent<typeof Animated.View, import("../../theme/theme").Theme & {
2
+ export declare const StyledAccordion: import("styled-components").StyledComponent<typeof Animated.View, {
3
3
  core: {
4
4
  radius: Record<"small" | "medium" | "large" | "max", string>;
5
5
  borderWidth: Record<"small" | "medium" | "large", string>;
6
6
  breakpoint: Record<"small" | "medium" | "large", string | number>;
7
7
  mediaQuery: Record<"small" | "medium" | "large", string>;
8
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
8
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
9
9
  transition: Record<"medium" | "slow" | "fast", string>;
10
10
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
11
11
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -19,16 +19,16 @@ export declare const StyledAccordion: import("styled-components").StyledComponen
19
19
  }> & {
20
20
  brand: Record<string, string>;
21
21
  };
22
- fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
22
+ fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
23
23
  native: string;
24
24
  web: string;
25
25
  }>;
26
26
  fontWeight: Record<"bold" | "book" | "black", string | number>;
27
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
27
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
28
28
  small: string | number;
29
29
  large: string | number;
30
30
  }>;
31
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
31
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
32
32
  small: string | number;
33
33
  large: string | number;
34
34
  }>;
@@ -36,10 +36,10 @@ export declare const StyledAccordion: import("styled-components").StyledComponen
36
36
  };
37
37
  semantic: {
38
38
  surface: Record<"base" | "cutout" | "elevated", string>;
39
- message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
39
+ message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
40
40
  border: Record<"graphic" | "differentiated" | "functional", string>;
41
41
  focus: Record<"surface" | "outline" | "hover", string>;
42
- inverted: Record<"border" | "surface", string> & {
42
+ inverted: Record<"surface" | "border", string> & {
43
43
  message: Record<"base" | "link" | "secondary" | "branded", string>;
44
44
  };
45
45
  success: {
@@ -70,7 +70,7 @@ export declare const StyledAccordion: import("styled-components").StyledComponen
70
70
  message: string;
71
71
  messageOnEmphasis: string;
72
72
  };
73
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
73
+ data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
74
74
  };
75
75
  component: {
76
76
  heading1: {
@@ -226,17 +226,17 @@ export declare const StyledAccordion: import("styled-components").StyledComponen
226
226
  };
227
227
  };
228
228
  };
229
- } & object, {
229
+ }, {
230
230
  first?: boolean | undefined;
231
231
  last?: boolean | undefined;
232
232
  }, never>;
233
- export declare const StyledAccordionHeader: import("styled-components").StyledComponent<typeof import("react-native").TouchableOpacity, import("../../theme/theme").Theme & {
233
+ export declare const StyledAccordionHeader: import("styled-components").StyledComponent<typeof import("react-native").TouchableOpacity, {
234
234
  core: {
235
235
  radius: Record<"small" | "medium" | "large" | "max", string>;
236
236
  borderWidth: Record<"small" | "medium" | "large", string>;
237
237
  breakpoint: Record<"small" | "medium" | "large", string | number>;
238
238
  mediaQuery: Record<"small" | "medium" | "large", string>;
239
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
239
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
240
240
  transition: Record<"medium" | "slow" | "fast", string>;
241
241
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
242
242
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -250,16 +250,16 @@ export declare const StyledAccordionHeader: import("styled-components").StyledCo
250
250
  }> & {
251
251
  brand: Record<string, string>;
252
252
  };
253
- fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
253
+ fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
254
254
  native: string;
255
255
  web: string;
256
256
  }>;
257
257
  fontWeight: Record<"bold" | "book" | "black", string | number>;
258
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
258
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
259
259
  small: string | number;
260
260
  large: string | number;
261
261
  }>;
262
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
262
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
263
263
  small: string | number;
264
264
  large: string | number;
265
265
  }>;
@@ -267,10 +267,10 @@ export declare const StyledAccordionHeader: import("styled-components").StyledCo
267
267
  };
268
268
  semantic: {
269
269
  surface: Record<"base" | "cutout" | "elevated", string>;
270
- message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
270
+ message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
271
271
  border: Record<"graphic" | "differentiated" | "functional", string>;
272
272
  focus: Record<"surface" | "outline" | "hover", string>;
273
- inverted: Record<"border" | "surface", string> & {
273
+ inverted: Record<"surface" | "border", string> & {
274
274
  message: Record<"base" | "link" | "secondary" | "branded", string>;
275
275
  };
276
276
  success: {
@@ -301,7 +301,7 @@ export declare const StyledAccordionHeader: import("styled-components").StyledCo
301
301
  message: string;
302
302
  messageOnEmphasis: string;
303
303
  };
304
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
304
+ data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
305
305
  };
306
306
  component: {
307
307
  heading1: {
@@ -457,14 +457,14 @@ export declare const StyledAccordionHeader: import("styled-components").StyledCo
457
457
  };
458
458
  };
459
459
  };
460
- } & object, {}, never>;
461
- export declare const StyledContainer: import("styled-components").StyledComponent<typeof import("react-native").View, import("../../theme/theme").Theme & {
460
+ }, {}, never>;
461
+ export declare const StyledContainer: import("styled-components").StyledComponent<typeof import("react-native").View, {
462
462
  core: {
463
463
  radius: Record<"small" | "medium" | "large" | "max", string>;
464
464
  borderWidth: Record<"small" | "medium" | "large", string>;
465
465
  breakpoint: Record<"small" | "medium" | "large", string | number>;
466
466
  mediaQuery: Record<"small" | "medium" | "large", string>;
467
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
467
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
468
468
  transition: Record<"medium" | "slow" | "fast", string>;
469
469
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
470
470
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -478,16 +478,16 @@ export declare const StyledContainer: import("styled-components").StyledComponen
478
478
  }> & {
479
479
  brand: Record<string, string>;
480
480
  };
481
- fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
481
+ fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
482
482
  native: string;
483
483
  web: string;
484
484
  }>;
485
485
  fontWeight: Record<"bold" | "book" | "black", string | number>;
486
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
486
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
487
487
  small: string | number;
488
488
  large: string | number;
489
489
  }>;
490
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
490
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
491
491
  small: string | number;
492
492
  large: string | number;
493
493
  }>;
@@ -495,10 +495,10 @@ export declare const StyledContainer: import("styled-components").StyledComponen
495
495
  };
496
496
  semantic: {
497
497
  surface: Record<"base" | "cutout" | "elevated", string>;
498
- message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
498
+ message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
499
499
  border: Record<"graphic" | "differentiated" | "functional", string>;
500
500
  focus: Record<"surface" | "outline" | "hover", string>;
501
- inverted: Record<"border" | "surface", string> & {
501
+ inverted: Record<"surface" | "border", string> & {
502
502
  message: Record<"base" | "link" | "secondary" | "branded", string>;
503
503
  };
504
504
  success: {
@@ -529,7 +529,7 @@ export declare const StyledContainer: import("styled-components").StyledComponen
529
529
  message: string;
530
530
  messageOnEmphasis: string;
531
531
  };
532
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
532
+ data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
533
533
  };
534
534
  component: {
535
535
  heading1: {
@@ -685,4 +685,4 @@ export declare const StyledContainer: import("styled-components").StyledComponen
685
685
  };
686
686
  };
687
687
  };
688
- } & object, {}, never>;
688
+ }, {}, never>;
@@ -50,7 +50,7 @@ exports.StyledAccordion = (0, styled_native_1.default)(react_native_reanimated_1
50
50
  });
51
51
  exports.StyledAccordionHeader = styled_native_1.default.TouchableOpacity(function (_a) {
52
52
  var core = _a.theme.core;
53
- return (0, styled_native_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding-top: ", "\n padding-left: ", "\n padding-right: 18px;\n padding-bottom: 18px;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n "], ["\n padding-top: ", "\n padding-left: ", "\n padding-right: 18px;\n padding-bottom: 18px;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n "])), core.space[5], core.space[3]);
53
+ return (0, styled_native_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding-top: ", ";\n padding-left: ", ";\n padding-right: 18px;\n padding-bottom: 18px;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n "], ["\n padding-top: ", ";\n padding-left: ", ";\n padding-right: 18px;\n padding-bottom: 18px;\n flex-direction: row;\n align-items: flex-start;\n justify-content: space-between;\n "])), core.space[5], core.space[3]);
54
54
  });
55
55
  exports.StyledContainer = styled_native_1.default.View(function (_a) {
56
56
  var core = _a.theme.core;
@@ -2,13 +2,13 @@ import { Theme } from '@ovotech/element-core';
2
2
  import { FullWidthOptions } from '../../hooks';
3
3
  import { ListWrapper } from '../List/List';
4
4
  export declare const StyledActionList: typeof ListWrapper;
5
- export declare const StyledActionWrapper: import("styled-components").StyledComponent<typeof import("react-native").View, import("../../theme/theme").Theme & {
5
+ export declare const StyledActionWrapper: import("styled-components").StyledComponent<typeof import("react-native").View, {
6
6
  core: {
7
7
  radius: Record<"small" | "medium" | "large" | "max", string>;
8
8
  borderWidth: Record<"small" | "medium" | "large", string>;
9
9
  breakpoint: Record<"small" | "medium" | "large", string | number>;
10
10
  mediaQuery: Record<"small" | "medium" | "large", string>;
11
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
11
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
12
12
  transition: Record<"medium" | "slow" | "fast", string>;
13
13
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
14
14
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -22,16 +22,16 @@ export declare const StyledActionWrapper: import("styled-components").StyledComp
22
22
  }> & {
23
23
  brand: Record<string, string>;
24
24
  };
25
- fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
25
+ fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
26
26
  native: string;
27
27
  web: string;
28
28
  }>;
29
29
  fontWeight: Record<"bold" | "book" | "black", string | number>;
30
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
30
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
31
31
  small: string | number;
32
32
  large: string | number;
33
33
  }>;
34
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
34
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
35
35
  small: string | number;
36
36
  large: string | number;
37
37
  }>;
@@ -39,10 +39,10 @@ export declare const StyledActionWrapper: import("styled-components").StyledComp
39
39
  };
40
40
  semantic: {
41
41
  surface: Record<"base" | "cutout" | "elevated", string>;
42
- message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
42
+ message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
43
43
  border: Record<"graphic" | "differentiated" | "functional", string>;
44
44
  focus: Record<"surface" | "outline" | "hover", string>;
45
- inverted: Record<"border" | "surface", string> & {
45
+ inverted: Record<"surface" | "border", string> & {
46
46
  message: Record<"base" | "link" | "secondary" | "branded", string>;
47
47
  };
48
48
  success: {
@@ -73,7 +73,7 @@ export declare const StyledActionWrapper: import("styled-components").StyledComp
73
73
  message: string;
74
74
  messageOnEmphasis: string;
75
75
  };
76
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
76
+ data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
77
77
  };
78
78
  component: {
79
79
  heading1: {
@@ -229,17 +229,17 @@ export declare const StyledActionWrapper: import("styled-components").StyledComp
229
229
  };
230
230
  };
231
231
  };
232
- } & object, {
232
+ }, {
233
233
  hasBorder?: boolean | undefined;
234
234
  inverted?: boolean | undefined;
235
235
  }, never>;
236
- export declare const StyledActionInner: import("styled-components").StyledComponent<typeof import("react-native").View, import("../../theme/theme").Theme & {
236
+ export declare const StyledActionInner: import("styled-components").StyledComponent<typeof import("react-native").View, {
237
237
  core: {
238
238
  radius: Record<"small" | "medium" | "large" | "max", string>;
239
239
  borderWidth: Record<"small" | "medium" | "large", string>;
240
240
  breakpoint: Record<"small" | "medium" | "large", string | number>;
241
241
  mediaQuery: Record<"small" | "medium" | "large", string>;
242
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
242
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
243
243
  transition: Record<"medium" | "slow" | "fast", string>;
244
244
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
245
245
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -253,16 +253,16 @@ export declare const StyledActionInner: import("styled-components").StyledCompon
253
253
  }> & {
254
254
  brand: Record<string, string>;
255
255
  };
256
- fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
256
+ fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
257
257
  native: string;
258
258
  web: string;
259
259
  }>;
260
260
  fontWeight: Record<"bold" | "book" | "black", string | number>;
261
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
261
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
262
262
  small: string | number;
263
263
  large: string | number;
264
264
  }>;
265
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
265
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
266
266
  small: string | number;
267
267
  large: string | number;
268
268
  }>;
@@ -270,10 +270,10 @@ export declare const StyledActionInner: import("styled-components").StyledCompon
270
270
  };
271
271
  semantic: {
272
272
  surface: Record<"base" | "cutout" | "elevated", string>;
273
- message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
273
+ message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
274
274
  border: Record<"graphic" | "differentiated" | "functional", string>;
275
275
  focus: Record<"surface" | "outline" | "hover", string>;
276
- inverted: Record<"border" | "surface", string> & {
276
+ inverted: Record<"surface" | "border", string> & {
277
277
  message: Record<"base" | "link" | "secondary" | "branded", string>;
278
278
  };
279
279
  success: {
@@ -304,7 +304,7 @@ export declare const StyledActionInner: import("styled-components").StyledCompon
304
304
  message: string;
305
305
  messageOnEmphasis: string;
306
306
  };
307
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
307
+ data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
308
308
  };
309
309
  component: {
310
310
  heading1: {
@@ -460,16 +460,16 @@ export declare const StyledActionInner: import("styled-components").StyledCompon
460
460
  };
461
461
  };
462
462
  };
463
- } & object, {
463
+ }, {
464
464
  fullWidth?: FullWidthOptions | undefined;
465
465
  }, never>;
466
- export declare const StyledActionText: import("styled-components").StyledComponent<typeof import("react-native").Text, import("../../theme/theme").Theme & {
466
+ export declare const StyledActionText: import("styled-components").StyledComponent<typeof import("react-native").Text, {
467
467
  core: {
468
468
  radius: Record<"small" | "medium" | "large" | "max", string>;
469
469
  borderWidth: Record<"small" | "medium" | "large", string>;
470
470
  breakpoint: Record<"small" | "medium" | "large", string | number>;
471
471
  mediaQuery: Record<"small" | "medium" | "large", string>;
472
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
472
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
473
473
  transition: Record<"medium" | "slow" | "fast", string>;
474
474
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
475
475
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -483,16 +483,16 @@ export declare const StyledActionText: import("styled-components").StyledCompone
483
483
  }> & {
484
484
  brand: Record<string, string>;
485
485
  };
486
- fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
486
+ fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
487
487
  native: string;
488
488
  web: string;
489
489
  }>;
490
490
  fontWeight: Record<"bold" | "book" | "black", string | number>;
491
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
491
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
492
492
  small: string | number;
493
493
  large: string | number;
494
494
  }>;
495
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
495
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
496
496
  small: string | number;
497
497
  large: string | number;
498
498
  }>;
@@ -500,10 +500,10 @@ export declare const StyledActionText: import("styled-components").StyledCompone
500
500
  };
501
501
  semantic: {
502
502
  surface: Record<"base" | "cutout" | "elevated", string>;
503
- message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
503
+ message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
504
504
  border: Record<"graphic" | "differentiated" | "functional", string>;
505
505
  focus: Record<"surface" | "outline" | "hover", string>;
506
- inverted: Record<"border" | "surface", string> & {
506
+ inverted: Record<"surface" | "border", string> & {
507
507
  message: Record<"base" | "link" | "secondary" | "branded", string>;
508
508
  };
509
509
  success: {
@@ -534,7 +534,7 @@ export declare const StyledActionText: import("styled-components").StyledCompone
534
534
  message: string;
535
535
  messageOnEmphasis: string;
536
536
  };
537
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
537
+ data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
538
538
  };
539
539
  component: {
540
540
  heading1: {
@@ -690,17 +690,17 @@ export declare const StyledActionText: import("styled-components").StyledCompone
690
690
  };
691
691
  };
692
692
  };
693
- } & object, {
693
+ }, {
694
694
  smallAndUp: boolean;
695
695
  inverted?: boolean | undefined;
696
696
  }, never>;
697
- export declare const StyledRightIcon: import("styled-components").StyledComponent<({ name, size, color, testID, ...rest }: import("../Icon/Icon").IconProps) => JSX.Element | null, import("../../theme/theme").Theme & {
697
+ export declare const StyledRightIcon: import("styled-components").StyledComponent<({ name, size, color, testID, ...rest }: import("../Icon/Icon").IconProps) => JSX.Element | null, {
698
698
  core: {
699
699
  radius: Record<"small" | "medium" | "large" | "max", string>;
700
700
  borderWidth: Record<"small" | "medium" | "large", string>;
701
701
  breakpoint: Record<"small" | "medium" | "large", string | number>;
702
702
  mediaQuery: Record<"small" | "medium" | "large", string>;
703
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
703
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
704
704
  transition: Record<"medium" | "slow" | "fast", string>;
705
705
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
706
706
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -714,16 +714,16 @@ export declare const StyledRightIcon: import("styled-components").StyledComponen
714
714
  }> & {
715
715
  brand: Record<string, string>;
716
716
  };
717
- fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
717
+ fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
718
718
  native: string;
719
719
  web: string;
720
720
  }>;
721
721
  fontWeight: Record<"bold" | "book" | "black", string | number>;
722
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
722
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
723
723
  small: string | number;
724
724
  large: string | number;
725
725
  }>;
726
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
726
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
727
727
  small: string | number;
728
728
  large: string | number;
729
729
  }>;
@@ -731,10 +731,10 @@ export declare const StyledRightIcon: import("styled-components").StyledComponen
731
731
  };
732
732
  semantic: {
733
733
  surface: Record<"base" | "cutout" | "elevated", string>;
734
- message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
734
+ message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
735
735
  border: Record<"graphic" | "differentiated" | "functional", string>;
736
736
  focus: Record<"surface" | "outline" | "hover", string>;
737
- inverted: Record<"border" | "surface", string> & {
737
+ inverted: Record<"surface" | "border", string> & {
738
738
  message: Record<"base" | "link" | "secondary" | "branded", string>;
739
739
  };
740
740
  success: {
@@ -765,7 +765,7 @@ export declare const StyledRightIcon: import("styled-components").StyledComponen
765
765
  message: string;
766
766
  messageOnEmphasis: string;
767
767
  };
768
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
768
+ data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
769
769
  };
770
770
  component: {
771
771
  heading1: {
@@ -921,17 +921,17 @@ export declare const StyledRightIcon: import("styled-components").StyledComponen
921
921
  };
922
922
  };
923
923
  };
924
- } & object, {
924
+ }, {
925
925
  inverted?: boolean | undefined;
926
926
  marginTop: keyof Theme['core']['space'];
927
927
  }, never>;
928
- export declare const StyledLeftIcon: import("styled-components").StyledComponent<({ name, size, color, testID, ...rest }: import("../Icon/Icon").IconProps) => JSX.Element | null, import("../../theme/theme").Theme & {
928
+ export declare const StyledLeftIcon: import("styled-components").StyledComponent<({ name, size, color, testID, ...rest }: import("../Icon/Icon").IconProps) => JSX.Element | null, {
929
929
  core: {
930
930
  radius: Record<"small" | "medium" | "large" | "max", string>;
931
931
  borderWidth: Record<"small" | "medium" | "large", string>;
932
932
  breakpoint: Record<"small" | "medium" | "large", string | number>;
933
933
  mediaQuery: Record<"small" | "medium" | "large", string>;
934
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
934
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
935
935
  transition: Record<"medium" | "slow" | "fast", string>;
936
936
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
937
937
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -945,16 +945,16 @@ export declare const StyledLeftIcon: import("styled-components").StyledComponent
945
945
  }> & {
946
946
  brand: Record<string, string>;
947
947
  };
948
- fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
948
+ fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
949
949
  native: string;
950
950
  web: string;
951
951
  }>;
952
952
  fontWeight: Record<"bold" | "book" | "black", string | number>;
953
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
953
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
954
954
  small: string | number;
955
955
  large: string | number;
956
956
  }>;
957
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
957
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
958
958
  small: string | number;
959
959
  large: string | number;
960
960
  }>;
@@ -962,10 +962,10 @@ export declare const StyledLeftIcon: import("styled-components").StyledComponent
962
962
  };
963
963
  semantic: {
964
964
  surface: Record<"base" | "cutout" | "elevated", string>;
965
- message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
965
+ message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
966
966
  border: Record<"graphic" | "differentiated" | "functional", string>;
967
967
  focus: Record<"surface" | "outline" | "hover", string>;
968
- inverted: Record<"border" | "surface", string> & {
968
+ inverted: Record<"surface" | "border", string> & {
969
969
  message: Record<"base" | "link" | "secondary" | "branded", string>;
970
970
  };
971
971
  success: {
@@ -996,7 +996,7 @@ export declare const StyledLeftIcon: import("styled-components").StyledComponent
996
996
  message: string;
997
997
  messageOnEmphasis: string;
998
998
  };
999
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
999
+ data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
1000
1000
  };
1001
1001
  component: {
1002
1002
  heading1: {
@@ -1152,6 +1152,6 @@ export declare const StyledLeftIcon: import("styled-components").StyledComponent
1152
1152
  };
1153
1153
  };
1154
1154
  };
1155
- } & object, {
1155
+ }, {
1156
1156
  inverted?: boolean | undefined;
1157
1157
  }, never>;
@@ -45,7 +45,7 @@ exports.StyledActionText = styled_native_1.default.Text(function (_a) {
45
45
  var fontSize = smallAndUp
46
46
  ? core.fontSize.body.large
47
47
  : core.fontSize.body.small;
48
- return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n "], ["\n color: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n "])), inverted ? semantic.inverted.message.base : semantic.message.base, core.fontFamily.bodyBold.native, fontSize, core.lineHeight.body.small);
48
+ return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n flex: 1;\n "], ["\n color: ", ";\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n flex: 1;\n "])), inverted ? semantic.inverted.message.base : semantic.message.base, core.fontFamily.bodyBold.native, fontSize, core.lineHeight.body.small);
49
49
  });
50
50
  exports.StyledRightIcon = (0, styled_native_1.default)(Icon_1.Icon)(function (_a) {
51
51
  var _b = _a.theme, core = _b.core, semantic = _b.semantic, inverted = _a.inverted, marginTop = _a.marginTop;
@@ -2,13 +2,13 @@ import { Theme, BadgeColors } from '@ovotech/element-core';
2
2
  import { ComponentProps } from 'react';
3
3
  export declare type SemanticVariants = Exclude<keyof Theme['semantic'], 'surface' | 'message' | 'border' | 'focus' | 'inverted' | 'data'>;
4
4
  export declare type BadgeVariantName = BadgeColors | SemanticVariants;
5
- declare const StyledBadge: import("styled-components").StyledComponent<typeof import("react-native").View, import("../../theme/theme").Theme & {
5
+ declare const StyledBadge: import("styled-components").StyledComponent<typeof import("react-native").View, {
6
6
  core: {
7
7
  radius: Record<"small" | "medium" | "large" | "max", string>;
8
8
  borderWidth: Record<"small" | "medium" | "large", string>;
9
9
  breakpoint: Record<"small" | "medium" | "large", string | number>;
10
10
  mediaQuery: Record<"small" | "medium" | "large", string>;
11
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15, string>;
11
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
12
12
  transition: Record<"medium" | "slow" | "fast", string>;
13
13
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
14
14
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -22,16 +22,16 @@ declare const StyledBadge: import("styled-components").StyledComponent<typeof im
22
22
  }> & {
23
23
  brand: Record<string, string>;
24
24
  };
25
- fontFamily: Record<"heading" | "body" | "mono" | "bodyBold", {
25
+ fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
26
26
  native: string;
27
27
  web: string;
28
28
  }>;
29
29
  fontWeight: Record<"bold" | "book" | "black", string | number>;
30
- fontSize: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
30
+ fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
31
31
  small: string | number;
32
32
  large: string | number;
33
33
  }>;
34
- lineHeight: Record<"small" | "body" | "label" | "lead" | "heading1" | "heading2" | "heading3" | "heading4", {
34
+ lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
35
35
  small: string | number;
36
36
  large: string | number;
37
37
  }>;
@@ -39,10 +39,10 @@ declare const StyledBadge: import("styled-components").StyledComponent<typeof im
39
39
  };
40
40
  semantic: {
41
41
  surface: Record<"base" | "cutout" | "elevated", string>;
42
- message: Record<"base" | "link" | "error" | "secondary" | "branded", string>;
42
+ message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
43
43
  border: Record<"graphic" | "differentiated" | "functional", string>;
44
44
  focus: Record<"surface" | "outline" | "hover", string>;
45
- inverted: Record<"border" | "surface", string> & {
45
+ inverted: Record<"surface" | "border", string> & {
46
46
  message: Record<"base" | "link" | "secondary" | "branded", string>;
47
47
  };
48
48
  success: {
@@ -73,7 +73,7 @@ declare const StyledBadge: import("styled-components").StyledComponent<typeof im
73
73
  message: string;
74
74
  messageOnEmphasis: string;
75
75
  };
76
- data: Record<"gas" | "branded" | "electric", Record<2 | 1 | 3 | 4, string>>;
76
+ data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
77
77
  };
78
78
  component: {
79
79
  heading1: {
@@ -229,7 +229,7 @@ declare const StyledBadge: import("styled-components").StyledComponent<typeof im
229
229
  };
230
230
  };
231
231
  };
232
- } & object, {
232
+ }, {
233
233
  customVariant?: {
234
234
  backgroundColor: string;
235
235
  foregroundColor: string;