@ovotech/element-native 3.3.2-canary-71b07de-141 → 3.3.2

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 (257) hide show
  1. package/dist/components/Accordion/Accordion.js +5 -5
  2. package/dist/components/Accordion/styles.d.ts +3 -4
  3. package/dist/components/Accordion/styles.js +2 -2
  4. package/dist/components/ActionList/styled.d.ts +5 -5
  5. package/dist/components/Badge/Badge.d.ts +1 -1
  6. package/dist/components/Card/Card.d.ts +1 -1
  7. package/dist/components/DataTable/styles.d.ts +11 -11
  8. package/dist/components/DateField/DateField.js +2 -2
  9. package/dist/components/DescriptionList/styled.d.ts +1 -1
  10. package/dist/components/ErrorText/ErrorText.d.ts +1 -1
  11. package/dist/components/Grid/Col.d.ts +1 -1
  12. package/dist/components/Grid/Row.d.ts +1 -1
  13. package/dist/components/Heading/Heading.d.ts +6 -0
  14. package/dist/components/{Heading1/Heading1.js → Heading/Heading.js} +35 -2
  15. package/dist/components/Heading/index.d.ts +1 -0
  16. package/dist/components/Heading/index.js +8 -0
  17. package/dist/components/HintText/HintText.d.ts +1 -1
  18. package/dist/components/{CurrencyInput → Input}/CurrencyInput.d.ts +1 -1
  19. package/dist/components/{CurrencyInput → Input}/CurrencyInput.js +1 -1
  20. package/dist/components/{EmailInput → Input}/EmailInput.js +1 -1
  21. package/dist/components/{NumberInput → Input}/NumberInput.js +1 -1
  22. package/dist/components/{PasswordInput → Input}/PasswordInput.js +1 -1
  23. package/dist/components/{PasswordInput → Input}/PasswordInput.styled.d.ts +1 -1
  24. package/dist/components/{PhoneInput → Input}/PhoneInput.d.ts +2 -1
  25. package/dist/components/{PhoneInput → Input}/PhoneInput.js +3 -2
  26. package/dist/components/{TextInput → Input}/TextInput.js +1 -1
  27. package/dist/components/{TextareaInput → Input}/TextareaInput.d.ts +1 -1
  28. package/dist/components/{TextareaInput → Input}/TextareaInput.js +1 -1
  29. package/dist/components/Input/index.d.ts +7 -0
  30. package/dist/components/Input/index.js +17 -0
  31. package/dist/components/LabelText/LabelText.d.ts +1 -1
  32. package/dist/components/List/List.d.ts +241 -7
  33. package/dist/components/List/List.js +92 -45
  34. package/dist/components/Margin/Margin.d.ts +1 -1
  35. package/dist/components/NavHeader/NavHeader.d.ts +14 -7
  36. package/dist/components/NavHeader/NavHeader.js +48 -39
  37. package/dist/components/NavHeader/index.d.ts +1 -1
  38. package/dist/components/Notification/Notification.d.ts +2 -2
  39. package/dist/components/SelectField/Select.d.ts +1 -1
  40. package/dist/components/SelectField/Select.js +4 -5
  41. package/dist/components/{Em/Em.d.ts → SkeletonLoading/Skeleton.d.ts} +2 -2
  42. package/dist/components/{LineThrough/LineThrough.js → SkeletonLoading/Skeleton.js} +2 -2
  43. package/dist/components/{SkeletonCTA → SkeletonLoading}/SkeletonCTA.js +5 -4
  44. package/dist/components/{SkeletonCircle → SkeletonLoading}/SkeletonCircle.js +4 -3
  45. package/dist/components/{SkeletonHeading → SkeletonLoading}/SkeletonHeading.js +5 -4
  46. package/dist/components/{SkeletonText → SkeletonLoading}/SkeletonText.js +5 -4
  47. package/dist/components/SkeletonLoading/index.d.ts +5 -0
  48. package/dist/components/SkeletonLoading/index.js +21 -0
  49. package/dist/components/SubLabelText/SubLabelText.d.ts +1 -1
  50. package/dist/components/{List/styled.d.ts → Text/Text.d.ts} +446 -662
  51. package/dist/components/Text/Text.js +93 -0
  52. package/dist/components/Text/index.d.ts +1 -0
  53. package/dist/components/Text/index.js +10 -0
  54. package/dist/components/{CurrencyField → TextField}/CurrencyField.js +1 -1
  55. package/dist/components/{EmailField → TextField}/EmailField.js +1 -1
  56. package/dist/components/{NumberField → TextField}/NumberField.js +1 -1
  57. package/dist/components/{PasswordField → TextField}/PasswordField.js +1 -1
  58. package/dist/components/{PhoneField → TextField}/PhoneField.js +1 -1
  59. package/dist/components/TextField/TelField.d.ts +14 -0
  60. package/dist/components/TextField/TelField.js +38 -0
  61. package/dist/components/TextField/TextField.js +1 -1
  62. package/dist/components/{TextareaField → TextField}/TextareaField.js +1 -1
  63. package/dist/components/TextField/index.d.ts +7 -0
  64. package/dist/components/TextField/index.js +15 -1
  65. package/dist/components/index.d.ts +4 -28
  66. package/dist/components/index.js +4 -28
  67. package/dist/esm/components/Accordion/Accordion.js +3 -3
  68. package/dist/esm/components/Accordion/styles.js +2 -2
  69. package/dist/esm/components/DateField/DateField.js +1 -1
  70. package/dist/esm/components/Heading/Heading.js +74 -0
  71. package/dist/esm/components/Heading/index.js +1 -0
  72. package/dist/esm/components/{CurrencyInput → Input}/CurrencyInput.js +1 -1
  73. package/dist/esm/components/{EmailInput → Input}/EmailInput.js +1 -1
  74. package/dist/esm/components/{NumberInput → Input}/NumberInput.js +1 -1
  75. package/dist/esm/components/{PasswordInput → Input}/PasswordInput.js +1 -1
  76. package/dist/esm/components/{PhoneInput → Input}/PhoneInput.js +3 -2
  77. package/dist/esm/components/{TextInput → Input}/TextInput.js +1 -1
  78. package/dist/esm/components/{TextareaInput → Input}/TextareaInput.js +1 -1
  79. package/dist/esm/components/Input/index.js +7 -0
  80. package/dist/esm/components/List/List.js +65 -41
  81. package/dist/esm/components/NavHeader/NavHeader.js +50 -41
  82. package/dist/esm/components/SelectField/Select.js +1 -2
  83. package/dist/esm/components/{LineThrough/LineThrough.js → SkeletonLoading/Skeleton.js} +1 -1
  84. package/dist/esm/components/{SkeletonCTA → SkeletonLoading}/SkeletonCTA.js +4 -3
  85. package/dist/esm/components/{SkeletonCircle → SkeletonLoading}/SkeletonCircle.js +4 -3
  86. package/dist/esm/components/{SkeletonHeading → SkeletonLoading}/SkeletonHeading.js +4 -3
  87. package/dist/esm/components/{SkeletonText → SkeletonLoading}/SkeletonText.js +4 -3
  88. package/dist/esm/components/SkeletonLoading/index.js +5 -0
  89. package/dist/esm/components/Text/Text.js +66 -0
  90. package/dist/esm/components/Text/index.js +1 -0
  91. package/dist/esm/components/{CurrencyField → TextField}/CurrencyField.js +1 -1
  92. package/dist/esm/components/{EmailField → TextField}/EmailField.js +1 -1
  93. package/dist/esm/components/{NumberField → TextField}/NumberField.js +1 -1
  94. package/dist/esm/components/{PasswordField → TextField}/PasswordField.js +1 -1
  95. package/dist/esm/components/{PhoneField → TextField}/PhoneField.js +1 -1
  96. package/dist/esm/components/TextField/TelField.js +35 -0
  97. package/dist/esm/components/TextField/TextField.js +1 -1
  98. package/dist/esm/components/{TextareaField → TextField}/TextareaField.js +1 -1
  99. package/dist/esm/components/TextField/index.js +7 -0
  100. package/dist/esm/components/index.js +4 -28
  101. package/dist/styled.native.d.ts +6 -6
  102. package/package.json +3 -5
  103. package/dist/components/ActionCard/ActionCard.d.ts +0 -19
  104. package/dist/components/ActionCard/ActionCard.js +0 -115
  105. package/dist/components/ActionCard/CloseIconShape.d.ts +0 -3
  106. package/dist/components/ActionCard/CloseIconShape.js +0 -52
  107. package/dist/components/ActionCard/IndicatorIconShape.d.ts +0 -3
  108. package/dist/components/ActionCard/IndicatorIconShape.js +0 -52
  109. package/dist/components/ActionCard/index.d.ts +0 -1
  110. package/dist/components/ActionCard/index.js +0 -5
  111. package/dist/components/CurrencyField/index.d.ts +0 -1
  112. package/dist/components/CurrencyField/index.js +0 -5
  113. package/dist/components/CurrencyInput/index.d.ts +0 -1
  114. package/dist/components/CurrencyInput/index.js +0 -5
  115. package/dist/components/Em/Em.js +0 -13
  116. package/dist/components/Em/index.d.ts +0 -1
  117. package/dist/components/Em/index.js +0 -5
  118. package/dist/components/EmailField/index.d.ts +0 -1
  119. package/dist/components/EmailField/index.js +0 -5
  120. package/dist/components/EmailInput/index.d.ts +0 -1
  121. package/dist/components/EmailInput/index.js +0 -5
  122. package/dist/components/Heading1/Heading1.d.ts +0 -3
  123. package/dist/components/Heading1/index.d.ts +0 -1
  124. package/dist/components/Heading1/index.js +0 -5
  125. package/dist/components/Heading2/Heading2.d.ts +0 -3
  126. package/dist/components/Heading2/Heading2.js +0 -71
  127. package/dist/components/Heading2/index.d.ts +0 -1
  128. package/dist/components/Heading2/index.js +0 -5
  129. package/dist/components/Heading3/Heading3.d.ts +0 -3
  130. package/dist/components/Heading3/Heading3.js +0 -71
  131. package/dist/components/Heading3/index.d.ts +0 -1
  132. package/dist/components/Heading3/index.js +0 -5
  133. package/dist/components/Heading4/Heading4.d.ts +0 -3
  134. package/dist/components/Heading4/Heading4.js +0 -71
  135. package/dist/components/Heading4/index.d.ts +0 -1
  136. package/dist/components/Heading4/index.js +0 -5
  137. package/dist/components/LineThrough/LineThrough.d.ts +0 -228
  138. package/dist/components/LineThrough/index.d.ts +0 -1
  139. package/dist/components/LineThrough/index.js +0 -5
  140. package/dist/components/List/styled.js +0 -70
  141. package/dist/components/NavHeader/IconButton.d.ts +0 -13
  142. package/dist/components/NavHeader/IconButton.js +0 -31
  143. package/dist/components/NavHeader/NavHeader.styles.d.ts +0 -1833
  144. package/dist/components/NavHeader/NavHeader.styles.js +0 -72
  145. package/dist/components/NumberField/index.d.ts +0 -1
  146. package/dist/components/NumberField/index.js +0 -5
  147. package/dist/components/NumberInput/index.d.ts +0 -1
  148. package/dist/components/NumberInput/index.js +0 -5
  149. package/dist/components/P/P.d.ts +0 -239
  150. package/dist/components/P/P.js +0 -38
  151. package/dist/components/P/index.d.ts +0 -1
  152. package/dist/components/P/index.js +0 -5
  153. package/dist/components/PasswordField/index.d.ts +0 -1
  154. package/dist/components/PasswordField/index.js +0 -5
  155. package/dist/components/PasswordInput/index.d.ts +0 -1
  156. package/dist/components/PasswordInput/index.js +0 -5
  157. package/dist/components/PhoneField/index.d.ts +0 -1
  158. package/dist/components/PhoneField/index.js +0 -5
  159. package/dist/components/PhoneInput/index.d.ts +0 -1
  160. package/dist/components/PhoneInput/index.js +0 -5
  161. package/dist/components/SkeletonAnimation/index.d.ts +0 -1
  162. package/dist/components/SkeletonAnimation/index.js +0 -5
  163. package/dist/components/SkeletonCTA/index.d.ts +0 -1
  164. package/dist/components/SkeletonCTA/index.js +0 -5
  165. package/dist/components/SkeletonCircle/index.d.ts +0 -1
  166. package/dist/components/SkeletonCircle/index.js +0 -5
  167. package/dist/components/SkeletonHeading/index.d.ts +0 -1
  168. package/dist/components/SkeletonHeading/index.js +0 -5
  169. package/dist/components/SkeletonText/index.d.ts +0 -1
  170. package/dist/components/SkeletonText/index.js +0 -5
  171. package/dist/components/Small/Small.d.ts +0 -239
  172. package/dist/components/Small/Small.js +0 -38
  173. package/dist/components/Small/index.d.ts +0 -1
  174. package/dist/components/Small/index.js +0 -5
  175. package/dist/components/Strong/Strong.d.ts +0 -228
  176. package/dist/components/Strong/Strong.js +0 -11
  177. package/dist/components/Strong/index.d.ts +0 -1
  178. package/dist/components/Strong/index.js +0 -5
  179. package/dist/components/TextGroup/TextGroup.d.ts +0 -3
  180. package/dist/components/TextGroup/TextGroup.js +0 -47
  181. package/dist/components/TextGroup/index.d.ts +0 -1
  182. package/dist/components/TextGroup/index.js +0 -5
  183. package/dist/components/TextInput/index.d.ts +0 -1
  184. package/dist/components/TextInput/index.js +0 -5
  185. package/dist/components/TextareaField/index.d.ts +0 -1
  186. package/dist/components/TextareaField/index.js +0 -5
  187. package/dist/components/TextareaInput/index.d.ts +0 -1
  188. package/dist/components/TextareaInput/index.js +0 -5
  189. package/dist/esm/components/ActionCard/ActionCard.js +0 -85
  190. package/dist/esm/components/ActionCard/CloseIconShape.js +0 -22
  191. package/dist/esm/components/ActionCard/IndicatorIconShape.js +0 -22
  192. package/dist/esm/components/ActionCard/index.js +0 -1
  193. package/dist/esm/components/CurrencyField/index.js +0 -1
  194. package/dist/esm/components/CurrencyInput/index.js +0 -1
  195. package/dist/esm/components/Em/Em.js +0 -7
  196. package/dist/esm/components/Em/index.js +0 -1
  197. package/dist/esm/components/EmailField/index.js +0 -1
  198. package/dist/esm/components/EmailInput/index.js +0 -1
  199. package/dist/esm/components/Heading1/Heading1.js +0 -44
  200. package/dist/esm/components/Heading1/index.js +0 -1
  201. package/dist/esm/components/Heading2/Heading2.js +0 -44
  202. package/dist/esm/components/Heading2/index.js +0 -1
  203. package/dist/esm/components/Heading3/Heading3.js +0 -44
  204. package/dist/esm/components/Heading3/index.js +0 -1
  205. package/dist/esm/components/Heading4/Heading4.js +0 -44
  206. package/dist/esm/components/Heading4/index.js +0 -1
  207. package/dist/esm/components/LineThrough/index.js +0 -1
  208. package/dist/esm/components/List/styled.js +0 -44
  209. package/dist/esm/components/NavHeader/IconButton.js +0 -27
  210. package/dist/esm/components/NavHeader/NavHeader.styles.js +0 -43
  211. package/dist/esm/components/NumberField/index.js +0 -1
  212. package/dist/esm/components/NumberInput/index.js +0 -1
  213. package/dist/esm/components/P/P.js +0 -12
  214. package/dist/esm/components/P/index.js +0 -1
  215. package/dist/esm/components/PasswordField/index.js +0 -1
  216. package/dist/esm/components/PasswordInput/index.js +0 -1
  217. package/dist/esm/components/PhoneField/index.js +0 -1
  218. package/dist/esm/components/PhoneInput/index.js +0 -1
  219. package/dist/esm/components/SkeletonAnimation/index.js +0 -1
  220. package/dist/esm/components/SkeletonCTA/index.js +0 -1
  221. package/dist/esm/components/SkeletonCircle/index.js +0 -1
  222. package/dist/esm/components/SkeletonHeading/index.js +0 -1
  223. package/dist/esm/components/SkeletonText/index.js +0 -1
  224. package/dist/esm/components/Small/Small.js +0 -12
  225. package/dist/esm/components/Small/index.js +0 -1
  226. package/dist/esm/components/Strong/Strong.js +0 -5
  227. package/dist/esm/components/Strong/index.js +0 -1
  228. package/dist/esm/components/TextGroup/TextGroup.js +0 -43
  229. package/dist/esm/components/TextGroup/index.js +0 -1
  230. package/dist/esm/components/TextInput/index.js +0 -1
  231. package/dist/esm/components/TextareaField/index.js +0 -1
  232. package/dist/esm/components/TextareaInput/index.js +0 -1
  233. /package/dist/{hooks/use-layout.d.ts → components/Accordion/hooks.d.ts} +0 -0
  234. /package/dist/{hooks/use-layout.js → components/Accordion/hooks.js} +0 -0
  235. /package/dist/components/{EmailInput → Input}/EmailInput.d.ts +0 -0
  236. /package/dist/components/{NumberInput → Input}/NumberInput.d.ts +0 -0
  237. /package/dist/components/{PasswordInput → Input}/PasswordInput.d.ts +0 -0
  238. /package/dist/components/{PasswordInput → Input}/PasswordInput.styled.js +0 -0
  239. /package/dist/components/{PasswordInput → Input}/PasswordVisibilityToggle.d.ts +0 -0
  240. /package/dist/components/{PasswordInput → Input}/PasswordVisibilityToggle.js +0 -0
  241. /package/dist/components/{TextInput → Input}/TextInput.d.ts +0 -0
  242. /package/dist/components/{SkeletonAnimation → SkeletonLoading}/SkeletonAnimation.d.ts +0 -0
  243. /package/dist/components/{SkeletonAnimation → SkeletonLoading}/SkeletonAnimation.js +0 -0
  244. /package/dist/components/{SkeletonCTA → SkeletonLoading}/SkeletonCTA.d.ts +0 -0
  245. /package/dist/components/{SkeletonCircle → SkeletonLoading}/SkeletonCircle.d.ts +0 -0
  246. /package/dist/components/{SkeletonHeading → SkeletonLoading}/SkeletonHeading.d.ts +0 -0
  247. /package/dist/components/{SkeletonText → SkeletonLoading}/SkeletonText.d.ts +0 -0
  248. /package/dist/components/{CurrencyField → TextField}/CurrencyField.d.ts +0 -0
  249. /package/dist/components/{EmailField → TextField}/EmailField.d.ts +0 -0
  250. /package/dist/components/{NumberField → TextField}/NumberField.d.ts +0 -0
  251. /package/dist/components/{PasswordField → TextField}/PasswordField.d.ts +0 -0
  252. /package/dist/components/{PhoneField → TextField}/PhoneField.d.ts +0 -0
  253. /package/dist/components/{TextareaField → TextField}/TextareaField.d.ts +0 -0
  254. /package/dist/esm/{hooks/use-layout.js → components/Accordion/hooks.js} +0 -0
  255. /package/dist/esm/components/{PasswordInput → Input}/PasswordInput.styled.js +0 -0
  256. /package/dist/esm/components/{PasswordInput → Input}/PasswordVisibilityToggle.js +0 -0
  257. /package/dist/esm/components/{SkeletonAnimation → SkeletonLoading}/SkeletonAnimation.js +0 -0
@@ -1,239 +0,0 @@
1
- /// <reference types="react" />
2
- import { Text } from 'react-native';
3
- export declare const Small: import("react").ForwardRefExoticComponent<Pick<Omit<{
4
- [x: string]: any;
5
- [x: number]: any;
6
- [x: symbol]: any;
7
- } & {
8
- theme?: {
9
- core: {
10
- radius: Record<"small" | "medium" | "large" | "max", string>;
11
- borderWidth: Record<"small" | "medium" | "large", string>;
12
- breakpoint: Record<"small" | "medium" | "large", string | number>;
13
- mediaQuery: Record<"small" | "medium" | "large", string>;
14
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
15
- transition: Record<"medium" | "slow" | "fast", string>;
16
- opacity: Record<"solid" | "transparent" | "translucent", string | number>;
17
- color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
18
- lightest: string;
19
- lighter: string;
20
- light: string;
21
- base: string;
22
- dark: string;
23
- darker: string;
24
- darkest: string;
25
- }> & {
26
- brand: Record<string, string>;
27
- };
28
- fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
29
- native: string;
30
- web: string;
31
- }>;
32
- fontWeight: Record<"bold" | "book" | "black", string | number>;
33
- fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
34
- small: string | number;
35
- large: string | number;
36
- }>;
37
- lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
38
- small: string | number;
39
- large: string | number;
40
- }>;
41
- letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
42
- };
43
- semantic: {
44
- surface: Record<"base" | "cutout" | "elevated", string>;
45
- message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
46
- border: Record<"graphic" | "differentiated" | "functional", string>;
47
- focus: Record<"surface" | "outline" | "hover", string>;
48
- inverted: Record<"surface" | "border", string> & {
49
- message: Record<"base" | "link" | "secondary" | "branded", string>;
50
- };
51
- success: {
52
- border: string;
53
- surface: string;
54
- surfaceEmphasis: string;
55
- message: string;
56
- messageOnEmphasis: string;
57
- };
58
- warning: {
59
- border: string;
60
- surface: string;
61
- surfaceEmphasis: string;
62
- message: string;
63
- messageOnEmphasis: string;
64
- };
65
- error: {
66
- border: string;
67
- surface: string;
68
- surfaceEmphasis: string;
69
- message: string;
70
- messageOnEmphasis: string;
71
- };
72
- info: {
73
- border: string;
74
- surface: string;
75
- surfaceEmphasis: string;
76
- message: string;
77
- messageOnEmphasis: string;
78
- };
79
- data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
80
- };
81
- component: {
82
- heading1: {
83
- fontFamily: string;
84
- fontWeight: string | number;
85
- fontSize: {
86
- small: string | number;
87
- large: string | number;
88
- };
89
- lineHeight: {
90
- small: string | number;
91
- large: string | number;
92
- };
93
- };
94
- heading2: {
95
- fontFamily: string;
96
- fontWeight: string | number;
97
- fontSize: {
98
- small: string | number;
99
- large: string | number;
100
- };
101
- lineHeight: {
102
- small: string | number;
103
- large: string | number;
104
- };
105
- };
106
- heading3: {
107
- fontFamily: string;
108
- fontWeight: string | number;
109
- fontSize: {
110
- small: string | number;
111
- large: string | number;
112
- };
113
- lineHeight: {
114
- small: string | number;
115
- large: string | number;
116
- };
117
- };
118
- heading4: {
119
- fontFamily: string;
120
- fontWeight: string | number;
121
- fontSize: {
122
- small: string | number;
123
- large: string | number;
124
- };
125
- lineHeight: {
126
- small: string | number;
127
- large: string | number;
128
- };
129
- };
130
- lead: {
131
- fontFamily: string;
132
- fontWeight: string | number;
133
- fontSize: {
134
- small: string | number;
135
- large: string | number;
136
- };
137
- lineHeight: {
138
- small: string | number;
139
- large: string | number;
140
- };
141
- };
142
- body: {
143
- fontFamily: string;
144
- fontWeight: string | number;
145
- fontSize: {
146
- small: string | number;
147
- large: string | number;
148
- };
149
- lineHeight: {
150
- small: string | number;
151
- large: string | number;
152
- };
153
- };
154
- small: {
155
- fontFamily: string;
156
- fontWeight: string | number;
157
- fontSize: {
158
- small: string | number;
159
- large: string | number;
160
- };
161
- lineHeight: {
162
- small: string | number;
163
- large: string | number;
164
- };
165
- };
166
- label: {
167
- fontFamily: string;
168
- fontWeight: string | number;
169
- fontSize: {
170
- small: string | number;
171
- large: string | number;
172
- };
173
- lineHeight: {
174
- small: string | number;
175
- large: string | number;
176
- };
177
- };
178
- cta: {
179
- primary: {
180
- message: string;
181
- surface: string;
182
- messageHover: string;
183
- surfaceHover: string;
184
- messageFocused: string;
185
- surfaceFocused: string;
186
- outlineFocused: string;
187
- backgroundFocused: string;
188
- };
189
- secondary: {
190
- message: string;
191
- surface: string;
192
- messageHover: string;
193
- surfaceHover: string;
194
- messageFocused: string;
195
- surfaceFocused: string;
196
- outlineFocused: string;
197
- backgroundFocused: string;
198
- };
199
- destructive: {
200
- message: string;
201
- surface: string;
202
- messageHover: string;
203
- surfaceHover: string;
204
- messageFocused: string;
205
- surfaceFocused: string;
206
- outlineFocused: string;
207
- backgroundFocused: string;
208
- };
209
- };
210
- badge: {
211
- variants: {
212
- red: {
213
- foreground: string;
214
- background: string;
215
- };
216
- orange: {
217
- foreground: string;
218
- background: string;
219
- };
220
- yellow: {
221
- foreground: string;
222
- background: string;
223
- };
224
- green: {
225
- foreground: string;
226
- background: string;
227
- };
228
- blue: {
229
- foreground: string;
230
- background: string;
231
- };
232
- };
233
- };
234
- };
235
- } | undefined;
236
- } & {
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>>;
@@ -1,38 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- var desc = Object.getOwnPropertyDescriptor(m, k);
9
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
- desc = { enumerable: true, get: function() { return m[k]; } };
11
- }
12
- Object.defineProperty(o, k2, desc);
13
- }) : (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- o[k2] = m[k];
16
- }));
17
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
18
- Object.defineProperty(o, "default", { enumerable: true, value: v });
19
- }) : function(o, v) {
20
- o["default"] = v;
21
- });
22
- var __importStar = (this && this.__importStar) || function (mod) {
23
- if (mod && mod.__esModule) return mod;
24
- var result = {};
25
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
26
- __setModuleDefault(result, mod);
27
- return result;
28
- };
29
- Object.defineProperty(exports, "__esModule", { value: true });
30
- exports.Small = void 0;
31
- var styled_native_1 = __importStar(require("../../styled.native"));
32
- var utils_1 = require("../../utils");
33
- var StyledSmall = styled_native_1.default.Text(function (_a) {
34
- var core = _a.theme.core, smallAndUp = _a.smallAndUp;
35
- return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n font-size: ", ";\n line-height: ", ";\n "], ["\n font-size: ", ";\n line-height: ", ";\n "])), core.fontSize.small[smallAndUp ? 'large' : 'small'], core.lineHeight.small[smallAndUp ? 'large' : 'small']);
36
- });
37
- exports.Small = (0, utils_1.styledComponentWithBreakpoints)(StyledSmall);
38
- var templateObject_1;
@@ -1 +0,0 @@
1
- export { Small } from './Small';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Small = void 0;
4
- var Small_1 = require("./Small");
5
- Object.defineProperty(exports, "Small", { enumerable: true, get: function () { return Small_1.Small; } });
@@ -1,228 +0,0 @@
1
- export declare const Strong: import("styled-components").StyledComponent<typeof import("react-native").Text, {
2
- core: {
3
- radius: Record<"small" | "medium" | "large" | "max", string>;
4
- borderWidth: Record<"small" | "medium" | "large", string>;
5
- breakpoint: Record<"small" | "medium" | "large", string | number>;
6
- mediaQuery: Record<"small" | "medium" | "large", string>;
7
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
8
- transition: Record<"medium" | "slow" | "fast", string>;
9
- opacity: Record<"solid" | "transparent" | "translucent", string | number>;
10
- color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
11
- lightest: string;
12
- lighter: string;
13
- light: string;
14
- base: string;
15
- dark: string;
16
- darker: string;
17
- darkest: string;
18
- }> & {
19
- brand: Record<string, string>;
20
- };
21
- fontFamily: Record<"body" | "mono" | "heading" | "bodyBold", {
22
- native: string;
23
- web: string;
24
- }>;
25
- fontWeight: Record<"bold" | "book" | "black", string | number>;
26
- fontSize: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
27
- small: string | number;
28
- large: string | number;
29
- }>;
30
- lineHeight: Record<"small" | "body" | "label" | "heading1" | "heading2" | "heading3" | "heading4" | "lead", {
31
- small: string | number;
32
- large: string | number;
33
- }>;
34
- letterSpacing: Record<"base" | "compressed" | "extraCompressed", number>;
35
- };
36
- semantic: {
37
- surface: Record<"base" | "cutout" | "elevated", string>;
38
- message: Record<"base" | "link" | "secondary" | "error" | "branded", string>;
39
- border: Record<"graphic" | "differentiated" | "functional", string>;
40
- focus: Record<"surface" | "outline" | "hover", string>;
41
- inverted: Record<"surface" | "border", string> & {
42
- message: Record<"base" | "link" | "secondary" | "branded", string>;
43
- };
44
- success: {
45
- border: string;
46
- surface: string;
47
- surfaceEmphasis: string;
48
- message: string;
49
- messageOnEmphasis: string;
50
- };
51
- warning: {
52
- border: string;
53
- surface: string;
54
- surfaceEmphasis: string;
55
- message: string;
56
- messageOnEmphasis: string;
57
- };
58
- error: {
59
- border: string;
60
- surface: string;
61
- surfaceEmphasis: string;
62
- message: string;
63
- messageOnEmphasis: string;
64
- };
65
- info: {
66
- border: string;
67
- surface: string;
68
- surfaceEmphasis: string;
69
- message: string;
70
- messageOnEmphasis: string;
71
- };
72
- data: Record<"branded" | "gas" | "electric", Record<2 | 1 | 3 | 4, string>>;
73
- };
74
- component: {
75
- heading1: {
76
- fontFamily: string;
77
- fontWeight: string | number;
78
- fontSize: {
79
- small: string | number;
80
- large: string | number;
81
- };
82
- lineHeight: {
83
- small: string | number;
84
- large: string | number;
85
- };
86
- };
87
- heading2: {
88
- fontFamily: string;
89
- fontWeight: string | number;
90
- fontSize: {
91
- small: string | number;
92
- large: string | number;
93
- };
94
- lineHeight: {
95
- small: string | number;
96
- large: string | number;
97
- };
98
- };
99
- heading3: {
100
- fontFamily: string;
101
- fontWeight: string | number;
102
- fontSize: {
103
- small: string | number;
104
- large: string | number;
105
- };
106
- lineHeight: {
107
- small: string | number;
108
- large: string | number;
109
- };
110
- };
111
- heading4: {
112
- fontFamily: string;
113
- fontWeight: string | number;
114
- fontSize: {
115
- small: string | number;
116
- large: string | number;
117
- };
118
- lineHeight: {
119
- small: string | number;
120
- large: string | number;
121
- };
122
- };
123
- lead: {
124
- fontFamily: string;
125
- fontWeight: string | number;
126
- fontSize: {
127
- small: string | number;
128
- large: string | number;
129
- };
130
- lineHeight: {
131
- small: string | number;
132
- large: string | number;
133
- };
134
- };
135
- body: {
136
- fontFamily: string;
137
- fontWeight: string | number;
138
- fontSize: {
139
- small: string | number;
140
- large: string | number;
141
- };
142
- lineHeight: {
143
- small: string | number;
144
- large: string | number;
145
- };
146
- };
147
- small: {
148
- fontFamily: string;
149
- fontWeight: string | number;
150
- fontSize: {
151
- small: string | number;
152
- large: string | number;
153
- };
154
- lineHeight: {
155
- small: string | number;
156
- large: string | number;
157
- };
158
- };
159
- label: {
160
- fontFamily: string;
161
- fontWeight: string | number;
162
- fontSize: {
163
- small: string | number;
164
- large: string | number;
165
- };
166
- lineHeight: {
167
- small: string | number;
168
- large: string | number;
169
- };
170
- };
171
- cta: {
172
- primary: {
173
- message: string;
174
- surface: string;
175
- messageHover: string;
176
- surfaceHover: string;
177
- messageFocused: string;
178
- surfaceFocused: string;
179
- outlineFocused: string;
180
- backgroundFocused: string;
181
- };
182
- secondary: {
183
- message: string;
184
- surface: string;
185
- messageHover: string;
186
- surfaceHover: string;
187
- messageFocused: string;
188
- surfaceFocused: string;
189
- outlineFocused: string;
190
- backgroundFocused: string;
191
- };
192
- destructive: {
193
- message: string;
194
- surface: string;
195
- messageHover: string;
196
- surfaceHover: string;
197
- messageFocused: string;
198
- surfaceFocused: string;
199
- outlineFocused: string;
200
- backgroundFocused: string;
201
- };
202
- };
203
- badge: {
204
- variants: {
205
- red: {
206
- foreground: string;
207
- background: string;
208
- };
209
- orange: {
210
- foreground: string;
211
- background: string;
212
- };
213
- yellow: {
214
- foreground: string;
215
- background: string;
216
- };
217
- green: {
218
- foreground: string;
219
- background: string;
220
- };
221
- blue: {
222
- foreground: string;
223
- background: string;
224
- };
225
- };
226
- };
227
- };
228
- }, {}, never>;
@@ -1,11 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.Strong = void 0;
7
- var styled_native_1 = __importDefault(require("../../styled.native"));
8
- exports.Strong = styled_native_1.default.Text(function (_a) {
9
- var core = _a.theme.core;
10
- return "\n font-family: ".concat(core.fontFamily.bodyBold.native, ";\n ");
11
- });
@@ -1 +0,0 @@
1
- export { Strong } from './Strong';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Strong = void 0;
4
- var Strong_1 = require("./Strong");
5
- Object.defineProperty(exports, "Strong", { enumerable: true, get: function () { return Strong_1.Strong; } });
@@ -1,3 +0,0 @@
1
- import { PropsWithChildren } from 'react';
2
- import { ViewProps } from 'react-native';
3
- export declare const TextGroup: ({ children, ...rest }: PropsWithChildren<ViewProps>) => JSX.Element;
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __rest = (this && this.__rest) || function (s, e) {
14
- var t = {};
15
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
- t[p] = s[p];
17
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
- t[p[i]] = s[p[i]];
21
- }
22
- return t;
23
- };
24
- Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.TextGroup = void 0;
26
- var jsx_runtime_1 = require("react/jsx-runtime");
27
- var react_1 = require("react");
28
- var react_native_1 = require("react-native");
29
- var TextGroup = function (_a) {
30
- var children = _a.children, rest = __rest(_a, ["children"]);
31
- var filteredChildren = [];
32
- react_1.Children.forEach(children, function (child) {
33
- if ((0, react_1.isValidElement)(child)) {
34
- filteredChildren.push(child);
35
- }
36
- });
37
- return ((0, jsx_runtime_1.jsx)(react_native_1.View, __assign({}, rest, { children: react_1.Children.map(filteredChildren, function (child, index) {
38
- if (!(0, react_1.isValidElement)(child)) {
39
- return;
40
- }
41
- var style = __assign(__assign(__assign({}, child.props.style), (index === 0 ? { marginTop: 0 } : {})), { marginBottom: 0 });
42
- return (0, react_1.cloneElement)(child, {
43
- style: style,
44
- });
45
- }) })));
46
- };
47
- exports.TextGroup = TextGroup;
@@ -1 +0,0 @@
1
- export { TextGroup } from './TextGroup';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextGroup = void 0;
4
- var TextGroup_1 = require("./TextGroup");
5
- Object.defineProperty(exports, "TextGroup", { enumerable: true, get: function () { return TextGroup_1.TextGroup; } });
@@ -1 +0,0 @@
1
- export { TextInput } from './TextInput';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextInput = void 0;
4
- var TextInput_1 = require("./TextInput");
5
- Object.defineProperty(exports, "TextInput", { enumerable: true, get: function () { return TextInput_1.TextInput; } });
@@ -1 +0,0 @@
1
- export { TextareaField } from './TextareaField';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextareaField = void 0;
4
- var TextareaField_1 = require("./TextareaField");
5
- Object.defineProperty(exports, "TextareaField", { enumerable: true, get: function () { return TextareaField_1.TextareaField; } });
@@ -1 +0,0 @@
1
- export { TextareaInput, TextareaInputProps } from './TextareaInput';
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TextareaInput = void 0;
4
- var TextareaInput_1 = require("./TextareaInput");
5
- Object.defineProperty(exports, "TextareaInput", { enumerable: true, get: function () { return TextareaInput_1.TextareaInput; } });