@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
@@ -53,12 +53,12 @@ exports.Accordion = exports.withAnimated = void 0;
53
53
  var jsx_runtime_1 = require("react/jsx-runtime");
54
54
  var react_1 = require("react");
55
55
  var react_native_reanimated_1 = __importStar(require("react-native-reanimated"));
56
- var use_layout_1 = require("../../hooks/use-layout");
57
56
  var styled_native_1 = require("../../styled.native");
58
57
  var utils_1 = require("../../utils");
59
- var Heading4_1 = require("../Heading4");
58
+ var Heading_1 = require("../Heading");
60
59
  var Group_1 = require("./Group");
61
60
  var Icon_1 = require("./Icon");
61
+ var hooks_1 = require("./hooks");
62
62
  var styles_1 = require("./styles");
63
63
  function withAnimated(WrappedComponent) {
64
64
  var displayName = WrappedComponent.displayName || WrappedComponent.name || 'Component';
@@ -81,11 +81,11 @@ var Accordion = function (_a) {
81
81
  var _b = _a.expanded, expanded = _b === void 0 ? false : _b, first = _a.first, last = _a.last, title = _a.title, children = _a.children, onToggle = _a.onToggle;
82
82
  var _c = (0, react_1.useContext)(styled_native_1.ThemeContext), core = _c.core, semantic = _c.semantic;
83
83
  var Header = (0, react_1.useContext)(Group_1.AccordionGroupContext).Header;
84
- var AccordionHeading = Header !== null && Header !== void 0 ? Header : Heading4_1.Heading4;
84
+ var AccordionHeading = Header !== null && Header !== void 0 ? Header : Heading_1.Heading4;
85
85
  var AnimatedHeading = (0, react_1.useMemo)(function () { return withAnimated(AccordionHeading); }, [
86
86
  AccordionHeading,
87
87
  ]);
88
- var _d = (0, use_layout_1.useLayout)(0), layout = _d[0], onLayout = _d[1];
88
+ var _d = (0, hooks_1.useLayout)(0), layout = _d[0], onLayout = _d[1];
89
89
  var _e = (0, react_1.useState)(expanded), open = _e[0], setOpen = _e[1];
90
90
  var handleHeightContent = (0, react_1.useMemo)(function () { return layout.height || 100; }, [
91
91
  layout.height,
@@ -125,7 +125,7 @@ var Accordion = function (_a) {
125
125
  var headerStyle = (0, react_native_reanimated_1.useAnimatedStyle)(function () { return ({
126
126
  color: (0, react_native_reanimated_1.interpolateColor)(progress.value, [0, 1], [semantic.message.branded, semantic.message.base]),
127
127
  }); });
128
- return ((0, jsx_runtime_1.jsxs)(styles_1.StyledAccordion, __assign({ first: first, last: last, isExpanded: open }, { children: [(0, jsx_runtime_1.jsxs)(styles_1.StyledAccordionHeader, __assign({ accessibilityState: { expanded: open }, onPress: toggleOpen, testID: "accordionTitle" }, { children: [(0, jsx_runtime_1.jsx)(AnimatedHeading, __assign({ style: [
128
+ return ((0, jsx_runtime_1.jsxs)(styles_1.StyledAccordion, __assign({ first: first, last: last }, { children: [(0, jsx_runtime_1.jsxs)(styles_1.StyledAccordionHeader, __assign({ accessibilityState: { expanded: open }, onPress: toggleOpen, testID: "accordionTitle" }, { children: [(0, jsx_runtime_1.jsx)(AnimatedHeading, __assign({ style: [
129
129
  headerStyle,
130
130
  {
131
131
  paddingTop: (0, utils_1.pxToNumber)(core.space[1]),
@@ -5,7 +5,7 @@ export declare const StyledAccordion: import("styled-components").StyledComponen
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 | 10 | 6 | 7 | 8 | 9 | 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", {
@@ -229,7 +229,6 @@ export declare const StyledAccordion: import("styled-components").StyledComponen
229
229
  }, {
230
230
  first?: boolean | undefined;
231
231
  last?: boolean | undefined;
232
- isExpanded: boolean;
233
232
  }, never>;
234
233
  export declare const StyledAccordionHeader: import("styled-components").StyledComponent<typeof import("react-native").TouchableOpacity, {
235
234
  core: {
@@ -237,7 +236,7 @@ export declare const StyledAccordionHeader: import("styled-components").StyledCo
237
236
  borderWidth: Record<"small" | "medium" | "large", string>;
238
237
  breakpoint: Record<"small" | "medium" | "large", string | number>;
239
238
  mediaQuery: Record<"small" | "medium" | "large", string>;
240
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 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>;
241
240
  transition: Record<"medium" | "slow" | "fast", string>;
242
241
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
243
242
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -465,7 +464,7 @@ export declare const StyledContainer: import("styled-components").StyledComponen
465
464
  borderWidth: Record<"small" | "medium" | "large", string>;
466
465
  breakpoint: Record<"small" | "medium" | "large", string | number>;
467
466
  mediaQuery: Record<"small" | "medium" | "large", string>;
468
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 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>;
469
468
  transition: Record<"medium" | "slow" | "fast", string>;
470
469
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
471
470
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -34,8 +34,8 @@ exports.StyledContainer = exports.StyledAccordionHeader = exports.StyledAccordio
34
34
  var react_native_reanimated_1 = __importDefault(require("react-native-reanimated"));
35
35
  var styled_native_1 = __importStar(require("../../styled.native"));
36
36
  exports.StyledAccordion = (0, styled_native_1.default)(react_native_reanimated_1.default.View)(function (_a) {
37
- var _b = _a.theme, semantic = _b.semantic, core = _b.core, first = _a.first, last = _a.last, isExpanded = _a.isExpanded;
38
- return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n border-width: ", ";\n border-color: ", ";\n border-bottom-width: 0;\n background-color: ", ";\n transition: background-color ", ";\n\n ", "\n\n ", "\n "], ["\n width: 100%;\n border-width: ", ";\n border-color: ", ";\n border-bottom-width: 0;\n background-color: ", ";\n transition: background-color ", ";\n\n ", "\n\n ", "\n "])), core.borderWidth.small, semantic.border.differentiated, isExpanded ? core.color.brand.white : 'transparent', core.transition.fast, first
37
+ var _b = _a.theme, semantic = _b.semantic, core = _b.core, first = _a.first, last = _a.last;
38
+ return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n border-width: ", ";\n border-color: ", ";\n border-bottom-width: 0;\n\n ", "\n\n ", "\n "], ["\n width: 100%;\n border-width: ", ";\n border-color: ", ";\n border-bottom-width: 0;\n\n ", "\n\n ", "\n "])), core.borderWidth.small, semantic.border.differentiated, first
39
39
  ? {
40
40
  borderTopLeftRadius: core.radius.small,
41
41
  borderTopRightRadius: core.radius.small,
@@ -8,7 +8,7 @@ export declare const StyledActionWrapper: import("styled-components").StyledComp
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 | 10 | 6 | 7 | 8 | 9 | 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", {
@@ -239,7 +239,7 @@ export declare const StyledActionInner: import("styled-components").StyledCompon
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 | 10 | 6 | 7 | 8 | 9 | 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", {
@@ -469,7 +469,7 @@ export declare const StyledActionText: import("styled-components").StyledCompone
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 | 10 | 6 | 7 | 8 | 9 | 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", {
@@ -701,7 +701,7 @@ export declare const StyledRightIcon: import("styled-components").StyledComponen
701
701
  borderWidth: Record<"small" | "medium" | "large", string>;
702
702
  breakpoint: Record<"small" | "medium" | "large", string | number>;
703
703
  mediaQuery: Record<"small" | "medium" | "large", string>;
704
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
704
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
705
705
  transition: Record<"medium" | "slow" | "fast", string>;
706
706
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
707
707
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -932,7 +932,7 @@ export declare const StyledLeftIcon: import("styled-components").StyledComponent
932
932
  borderWidth: Record<"small" | "medium" | "large", string>;
933
933
  breakpoint: Record<"small" | "medium" | "large", string | number>;
934
934
  mediaQuery: Record<"small" | "medium" | "large", string>;
935
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
935
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
936
936
  transition: Record<"medium" | "slow" | "fast", string>;
937
937
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
938
938
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -8,7 +8,7 @@ declare const StyledBadge: import("styled-components").StyledComponent<typeof im
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 | 10 | 6 | 7 | 8 | 9 | 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", {
@@ -4,7 +4,7 @@ export declare const Card: import("styled-components").StyledComponent<typeof im
4
4
  borderWidth: Record<"small" | "medium" | "large", string>;
5
5
  breakpoint: Record<"small" | "medium" | "large", string | number>;
6
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>;
7
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
8
8
  transition: Record<"medium" | "slow" | "fast", string>;
9
9
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
10
10
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -5,7 +5,7 @@ export declare const StyledTableContainer: import("styled-components").StyledCom
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 | 10 | 6 | 7 | 8 | 9 | 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", {
@@ -233,7 +233,7 @@ export declare const TableHeader: import("styled-components").StyledComponent<ty
233
233
  borderWidth: Record<"small" | "medium" | "large", string>;
234
234
  breakpoint: Record<"small" | "medium" | "large", string | number>;
235
235
  mediaQuery: Record<"small" | "medium" | "large", string>;
236
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
236
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
237
237
  transition: Record<"medium" | "slow" | "fast", string>;
238
238
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
239
239
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -463,7 +463,7 @@ export declare const TableHeaderText: import("styled-components").StyledComponen
463
463
  borderWidth: Record<"small" | "medium" | "large", string>;
464
464
  breakpoint: Record<"small" | "medium" | "large", string | number>;
465
465
  mediaQuery: Record<"small" | "medium" | "large", string>;
466
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
466
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
467
467
  transition: Record<"medium" | "slow" | "fast", string>;
468
468
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
469
469
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -691,7 +691,7 @@ export declare const TableCaptionText: import("styled-components").StyledCompone
691
691
  borderWidth: Record<"small" | "medium" | "large", string>;
692
692
  breakpoint: Record<"small" | "medium" | "large", string | number>;
693
693
  mediaQuery: Record<"small" | "medium" | "large", string>;
694
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
694
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
695
695
  transition: Record<"medium" | "slow" | "fast", string>;
696
696
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
697
697
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -919,7 +919,7 @@ export declare const CellText: import("styled-components").StyledComponent<typeo
919
919
  borderWidth: Record<"small" | "medium" | "large", string>;
920
920
  breakpoint: Record<"small" | "medium" | "large", string | number>;
921
921
  mediaQuery: Record<"small" | "medium" | "large", string>;
922
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
922
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
923
923
  transition: Record<"medium" | "slow" | "fast", string>;
924
924
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
925
925
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -1147,7 +1147,7 @@ export declare const TableCaption: import("styled-components").StyledComponent<t
1147
1147
  borderWidth: Record<"small" | "medium" | "large", string>;
1148
1148
  breakpoint: Record<"small" | "medium" | "large", string | number>;
1149
1149
  mediaQuery: Record<"small" | "medium" | "large", string>;
1150
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
1150
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
1151
1151
  transition: Record<"medium" | "slow" | "fast", string>;
1152
1152
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
1153
1153
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -1375,7 +1375,7 @@ export declare const TableRow: import("styled-components").StyledComponent<typeo
1375
1375
  borderWidth: Record<"small" | "medium" | "large", string>;
1376
1376
  breakpoint: Record<"small" | "medium" | "large", string | number>;
1377
1377
  mediaQuery: Record<"small" | "medium" | "large", string>;
1378
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
1378
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
1379
1379
  transition: Record<"medium" | "slow" | "fast", string>;
1380
1380
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
1381
1381
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -1605,7 +1605,7 @@ export declare const TableRowHeading: import("styled-components").StyledComponen
1605
1605
  borderWidth: Record<"small" | "medium" | "large", string>;
1606
1606
  breakpoint: Record<"small" | "medium" | "large", string | number>;
1607
1607
  mediaQuery: Record<"small" | "medium" | "large", string>;
1608
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
1608
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
1609
1609
  transition: Record<"medium" | "slow" | "fast", string>;
1610
1610
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
1611
1611
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -1833,7 +1833,7 @@ export declare const TableBody: import("styled-components").StyledComponent<type
1833
1833
  borderWidth: Record<"small" | "medium" | "large", string>;
1834
1834
  breakpoint: Record<"small" | "medium" | "large", string | number>;
1835
1835
  mediaQuery: Record<"small" | "medium" | "large", string>;
1836
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
1836
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
1837
1837
  transition: Record<"medium" | "slow" | "fast", string>;
1838
1838
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
1839
1839
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -2061,7 +2061,7 @@ export declare const TableCell: import("styled-components").StyledComponent<type
2061
2061
  borderWidth: Record<"small" | "medium" | "large", string>;
2062
2062
  breakpoint: Record<"small" | "medium" | "large", string | number>;
2063
2063
  mediaQuery: Record<"small" | "medium" | "large", string>;
2064
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
2064
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
2065
2065
  transition: Record<"medium" | "slow" | "fast", string>;
2066
2066
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
2067
2067
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -2291,7 +2291,7 @@ export declare const RowHeading: import("styled-components").StyledComponent<typ
2291
2291
  borderWidth: Record<"small" | "medium" | "large", string>;
2292
2292
  breakpoint: Record<"small" | "medium" | "large", string | number>;
2293
2293
  mediaQuery: Record<"small" | "medium" | "large", string>;
2294
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
2294
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
2295
2295
  transition: Record<"medium" | "slow" | "fast", string>;
2296
2296
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
2297
2297
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -48,7 +48,7 @@ var utils_1 = require("../../utils");
48
48
  var ErrorText_1 = require("../ErrorText");
49
49
  var FormGroup_1 = require("../FormGroup");
50
50
  var HintText_1 = require("../HintText");
51
- var NumberInput_1 = require("../NumberInput");
51
+ var Input_1 = require("../Input");
52
52
  var LabelText_1 = require("../LabelText");
53
53
  var Stack_1 = require("../Stack");
54
54
  var SubLabelText_1 = require("../SubLabelText");
@@ -85,6 +85,6 @@ exports.DateField = (0, react_1.forwardRef)(function (_a, ref) {
85
85
  internalRef.current.focus();
86
86
  }
87
87
  }; };
88
- return ((0, jsx_runtime_1.jsx)(FormGroup_1.FormGroup, __assign({ error: hasError }, { children: (0, jsx_runtime_1.jsxs)(Stack_1.Stack, __assign({ spaceBetween: 1 }, { children: [(0, jsx_runtime_1.jsxs)(react_native_1.View, { children: [(0, jsx_runtime_1.jsxs)(LabelText_1.LabelText, { children: [label, optional ? ' (optional)' : null] }), hint ? (0, jsx_runtime_1.jsx)(HintText_1.HintText, { children: hint }) : null, error ? (0, jsx_runtime_1.jsx)(ErrorText_1.ErrorText, { children: error }) : null] }), (0, jsx_runtime_1.jsxs)(InlineFields, __assign({ stretch: stretch }, { children: [(0, jsx_runtime_1.jsxs)(DayField, __assign({ spaceBetween: 1 }, { children: [(0, jsx_runtime_1.jsx)(react_native_1.TouchableWithoutFeedback, __assign({ onPress: focusRef(dayRef), accessible: false }, { children: (0, jsx_runtime_1.jsx)(SubLabelText_1.SubLabelText, { children: "Day" }) })), (0, jsx_runtime_1.jsx)(NumberInput_1.NumberInput, { ref: (0, utils_1.mergeRefs)(dayRef, ref), accessibilityLabel: accessibilityLabel('Day'), invalid: hasError, value: value.day, onChangeText: handleChange('day'), testID: testID, stretch: true, editable: editable })] })), (0, jsx_runtime_1.jsxs)(MonthField, __assign({ spaceBetween: 1 }, { children: [(0, jsx_runtime_1.jsx)(react_native_1.TouchableWithoutFeedback, __assign({ onPress: focusRef(monthRef), accessible: false }, { children: (0, jsx_runtime_1.jsx)(SubLabelText_1.SubLabelText, { children: "Month" }) })), (0, jsx_runtime_1.jsx)(NumberInput_1.NumberInput, { ref: monthRef, accessibilityLabel: accessibilityLabel('Month'), invalid: hasError, value: value.month, onChangeText: handleChange('month'), testID: "".concat(testID, "-month"), stretch: true, editable: editable })] })), (0, jsx_runtime_1.jsxs)(YearField, __assign({ spaceBetween: 1 }, { children: [(0, jsx_runtime_1.jsx)(react_native_1.TouchableWithoutFeedback, __assign({ onPress: focusRef(yearRef), accessible: false }, { children: (0, jsx_runtime_1.jsx)(SubLabelText_1.SubLabelText, { children: "Year" }) })), (0, jsx_runtime_1.jsx)(NumberInput_1.NumberInput, { ref: yearRef, accessibilityLabel: accessibilityLabel('Year'), invalid: hasError, value: value.year, onChangeText: handleChange('year'), testID: "".concat(testID, "-year"), stretch: true, editable: editable })] }))] }))] })) })));
88
+ return ((0, jsx_runtime_1.jsx)(FormGroup_1.FormGroup, __assign({ error: hasError }, { children: (0, jsx_runtime_1.jsxs)(Stack_1.Stack, __assign({ spaceBetween: 1 }, { children: [(0, jsx_runtime_1.jsxs)(react_native_1.View, { children: [(0, jsx_runtime_1.jsxs)(LabelText_1.LabelText, { children: [label, optional ? ' (optional)' : null] }), hint ? (0, jsx_runtime_1.jsx)(HintText_1.HintText, { children: hint }) : null, error ? (0, jsx_runtime_1.jsx)(ErrorText_1.ErrorText, { children: error }) : null] }), (0, jsx_runtime_1.jsxs)(InlineFields, __assign({ stretch: stretch }, { children: [(0, jsx_runtime_1.jsxs)(DayField, __assign({ spaceBetween: 1 }, { children: [(0, jsx_runtime_1.jsx)(react_native_1.TouchableWithoutFeedback, __assign({ onPress: focusRef(dayRef), accessible: false }, { children: (0, jsx_runtime_1.jsx)(SubLabelText_1.SubLabelText, { children: "Day" }) })), (0, jsx_runtime_1.jsx)(Input_1.NumberInput, { ref: (0, utils_1.mergeRefs)(dayRef, ref), accessibilityLabel: accessibilityLabel('Day'), invalid: hasError, value: value.day, onChangeText: handleChange('day'), testID: testID, stretch: true, editable: editable })] })), (0, jsx_runtime_1.jsxs)(MonthField, __assign({ spaceBetween: 1 }, { children: [(0, jsx_runtime_1.jsx)(react_native_1.TouchableWithoutFeedback, __assign({ onPress: focusRef(monthRef), accessible: false }, { children: (0, jsx_runtime_1.jsx)(SubLabelText_1.SubLabelText, { children: "Month" }) })), (0, jsx_runtime_1.jsx)(Input_1.NumberInput, { ref: monthRef, accessibilityLabel: accessibilityLabel('Month'), invalid: hasError, value: value.month, onChangeText: handleChange('month'), testID: "".concat(testID, "-month"), stretch: true, editable: editable })] })), (0, jsx_runtime_1.jsxs)(YearField, __assign({ spaceBetween: 1 }, { children: [(0, jsx_runtime_1.jsx)(react_native_1.TouchableWithoutFeedback, __assign({ onPress: focusRef(yearRef), accessible: false }, { children: (0, jsx_runtime_1.jsx)(SubLabelText_1.SubLabelText, { children: "Year" }) })), (0, jsx_runtime_1.jsx)(Input_1.NumberInput, { ref: yearRef, accessibilityLabel: accessibilityLabel('Year'), invalid: hasError, value: value.year, onChangeText: handleChange('year'), testID: "".concat(testID, "-year"), stretch: true, editable: editable })] }))] }))] })) })));
89
89
  });
90
90
  var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
@@ -11,7 +11,7 @@ export declare const Dl: 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 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
14
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
15
15
  transition: Record<"medium" | "slow" | "fast", string>;
16
16
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
17
17
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -11,7 +11,7 @@ declare const ErrorText: 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 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
14
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
15
15
  transition: Record<"medium" | "slow" | "fast", string>;
16
16
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
17
17
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -10,7 +10,7 @@ declare const Col: import("react").ForwardRefExoticComponent<Pick<Omit<{
10
10
  borderWidth: Record<"small" | "medium" | "large", string>;
11
11
  breakpoint: Record<"small" | "medium" | "large", string | number>;
12
12
  mediaQuery: Record<"small" | "medium" | "large", string>;
13
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
13
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
14
14
  transition: Record<"medium" | "slow" | "fast", string>;
15
15
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
16
16
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -6,7 +6,7 @@ declare const StyledRow: import("styled-components").StyledComponent<typeof impo
6
6
  borderWidth: Record<"small" | "medium" | "large", string>;
7
7
  breakpoint: Record<"small" | "medium" | "large", string | number>;
8
8
  mediaQuery: Record<"small" | "medium" | "large", string>;
9
- space: Record<0 | 2 | 1 | 3 | 4 | 5 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
9
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
10
10
  transition: Record<"medium" | "slow" | "fast", string>;
11
11
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
12
12
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -0,0 +1,6 @@
1
+ import { PropsWithChildren } from 'react';
2
+ import { TextProps } from 'react-native';
3
+ export declare const Heading1: ({ accessibilityRole, ...rest }: PropsWithChildren<TextProps>) => JSX.Element;
4
+ export declare const Heading2: ({ accessibilityRole, ...rest }: PropsWithChildren<TextProps>) => JSX.Element;
5
+ export declare const Heading3: ({ accessibilityRole, ...rest }: PropsWithChildren<TextProps>) => JSX.Element;
6
+ export declare const Heading4: ({ accessibilityRole, ...rest }: PropsWithChildren<TextProps>) => JSX.Element;
@@ -49,7 +49,7 @@ var __rest = (this && this.__rest) || function (s, e) {
49
49
  return t;
50
50
  };
51
51
  Object.defineProperty(exports, "__esModule", { value: true });
52
- exports.Heading1 = void 0;
52
+ exports.Heading4 = exports.Heading3 = exports.Heading2 = exports.Heading1 = void 0;
53
53
  var jsx_runtime_1 = require("react/jsx-runtime");
54
54
  var hooks_1 = require("../../hooks");
55
55
  var styled_native_1 = __importStar(require("../../styled.native"));
@@ -68,4 +68,37 @@ var Heading1 = function (_a) {
68
68
  return ((0, jsx_runtime_1.jsx)(StyledHeading1, __assign({ accessibilityRole: accessibilityRole }, breakpoints, rest)));
69
69
  };
70
70
  exports.Heading1 = Heading1;
71
- var templateObject_1;
71
+ var StyledHeading2 = styled_native_1.default.Text(function (_a) {
72
+ var _b = _a.theme, core = _b.core, semantic = _b.semantic, smallAndUp = _a.smallAndUp;
73
+ var fontSize = core.fontSize.heading2[smallAndUp ? 'large' : 'small'];
74
+ return (0, styled_native_1.css)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "])), core.fontFamily.heading.native, fontSize, core.lineHeight.heading2[smallAndUp ? 'large' : 'small'], calculateLetterSpacing(fontSize, core.letterSpacing.extraCompressed), semantic.message.branded);
75
+ });
76
+ var Heading2 = function (_a) {
77
+ var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
78
+ var breakpoints = (0, hooks_1.useBreakpoint)();
79
+ return ((0, jsx_runtime_1.jsx)(StyledHeading2, __assign({ accessibilityRole: accessibilityRole }, breakpoints, rest)));
80
+ };
81
+ exports.Heading2 = Heading2;
82
+ var StyledHeading3 = styled_native_1.default.Text(function (_a) {
83
+ var _b = _a.theme, core = _b.core, semantic = _b.semantic, smallAndUp = _a.smallAndUp;
84
+ var fontSize = core.fontSize.heading3[smallAndUp ? 'large' : 'small'];
85
+ return (0, styled_native_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "])), core.fontFamily.bodyBold.native, fontSize, core.lineHeight.heading3[smallAndUp ? 'large' : 'small'], calculateLetterSpacing(fontSize, core.letterSpacing.compressed), semantic.message.branded);
86
+ });
87
+ var Heading3 = function (_a) {
88
+ var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
89
+ var breakpoints = (0, hooks_1.useBreakpoint)();
90
+ return ((0, jsx_runtime_1.jsx)(StyledHeading3, __assign({ accessibilityRole: accessibilityRole }, breakpoints, rest)));
91
+ };
92
+ exports.Heading3 = Heading3;
93
+ var StyledHeading4 = styled_native_1.default.Text(function (_a) {
94
+ var _b = _a.theme, core = _b.core, semantic = _b.semantic, smallAndUp = _a.smallAndUp;
95
+ var fontSize = core.fontSize.heading4[smallAndUp ? 'large' : 'small'];
96
+ return (0, styled_native_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "], ["\n font-family: ", ";\n font-size: ", ";\n line-height: ", ";\n letter-spacing: ", ";\n color: ", ";\n "])), core.fontFamily.bodyBold.native, fontSize, core.lineHeight.heading4[smallAndUp ? 'large' : 'small'], calculateLetterSpacing(fontSize, core.letterSpacing.compressed), semantic.message.branded);
97
+ });
98
+ var Heading4 = function (_a) {
99
+ var _b = _a.accessibilityRole, accessibilityRole = _b === void 0 ? 'header' : _b, rest = __rest(_a, ["accessibilityRole"]);
100
+ var breakpoints = (0, hooks_1.useBreakpoint)();
101
+ return ((0, jsx_runtime_1.jsx)(StyledHeading4, __assign({ accessibilityRole: accessibilityRole }, breakpoints, rest)));
102
+ };
103
+ exports.Heading4 = Heading4;
104
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
@@ -0,0 +1 @@
1
+ export { Heading1, Heading2, Heading3, Heading4 } from './Heading';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Heading4 = exports.Heading3 = exports.Heading2 = exports.Heading1 = void 0;
4
+ var Heading_1 = require("./Heading");
5
+ Object.defineProperty(exports, "Heading1", { enumerable: true, get: function () { return Heading_1.Heading1; } });
6
+ Object.defineProperty(exports, "Heading2", { enumerable: true, get: function () { return Heading_1.Heading2; } });
7
+ Object.defineProperty(exports, "Heading3", { enumerable: true, get: function () { return Heading_1.Heading3; } });
8
+ Object.defineProperty(exports, "Heading4", { enumerable: true, get: function () { return Heading_1.Heading4; } });
@@ -11,7 +11,7 @@ declare const HintText: 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 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
14
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
15
15
  transition: Record<"medium" | "slow" | "fast", string>;
16
16
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
17
17
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { TextInput } from 'react-native';
3
- import { InputProps } from '../Input/Input';
3
+ import { InputProps } from './Input';
4
4
  export declare type CurrencyInputProps = InputProps & {
5
5
  currency?: 'GBP' | 'EUR' | 'AUD' | 'USD';
6
6
  };
@@ -26,7 +26,7 @@ exports.CurrencyInput = void 0;
26
26
  var jsx_runtime_1 = require("react/jsx-runtime");
27
27
  var react_1 = require("react");
28
28
  var utils_1 = require("../../utils");
29
- var NumberInput_1 = require("../NumberInput");
29
+ var NumberInput_1 = require("./NumberInput");
30
30
  var CurrencyInput = (0, react_1.forwardRef)(function (_a, ref) {
31
31
  var _b = _a.currency, currency = _b === void 0 ? 'GBP' : _b, invalid = _a.invalid, _c = _a.accessibilityLabel, accessibilityLabel = _c === void 0 ? '' : _c, rest = __rest(_a, ["currency", "invalid", "accessibilityLabel"]);
32
32
  var inputRef = (0, react_1.createRef)();
@@ -14,6 +14,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.EmailInput = void 0;
15
15
  var jsx_runtime_1 = require("react/jsx-runtime");
16
16
  var react_1 = require("react");
17
- var Input_1 = require("../Input/Input");
17
+ var Input_1 = require("./Input");
18
18
  var EmailInput = (0, react_1.forwardRef)(function (props, ref) { return ((0, jsx_runtime_1.jsx)(Input_1.Input, __assign({}, props, { keyboardType: "email-address", autoCapitalize: "none", autoCorrect: false, ref: ref }))); });
19
19
  exports.EmailInput = EmailInput;
@@ -14,6 +14,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.NumberInput = void 0;
15
15
  var jsx_runtime_1 = require("react/jsx-runtime");
16
16
  var react_1 = require("react");
17
- var Input_1 = require("../Input/Input");
17
+ var Input_1 = require("./Input");
18
18
  var NumberInput = (0, react_1.forwardRef)(function (props, ref) { return ((0, jsx_runtime_1.jsx)(Input_1.Input, __assign({}, props, { keyboardType: "numeric", autoCapitalize: "none", autoCorrect: false, ref: ref }))); });
19
19
  exports.NumberInput = NumberInput;
@@ -25,7 +25,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
25
25
  exports.PasswordInput = void 0;
26
26
  var jsx_runtime_1 = require("react/jsx-runtime");
27
27
  var react_1 = require("react");
28
- var Input_1 = require("../Input/Input");
28
+ var Input_1 = require("./Input");
29
29
  var PasswordVisibilityToggle_1 = require("./PasswordVisibilityToggle");
30
30
  var PasswordInput = (0, react_1.forwardRef)(function (_a, ref) {
31
31
  var props = __rest(_a, []);
@@ -5,7 +5,7 @@ export declare const StyledPressable: import("styled-components").StyledComponen
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 | 10 | 6 | 7 | 8 | 9 | 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", {
@@ -1,9 +1,10 @@
1
1
  /// <reference types="react" />
2
2
  import { TextInput } from 'react-native';
3
- export declare const PhoneInput: import("react").ForwardRefExoticComponent<import("react-native/types").TextInputProps & {
3
+ declare const PhoneInput: import("react").ForwardRefExoticComponent<import("react-native/types").TextInputProps & {
4
4
  invalid?: boolean | undefined;
5
5
  stretch?: boolean | undefined;
6
6
  iconLeft?: string | undefined;
7
7
  iconRight?: string | undefined;
8
8
  rightSlot?: import("react").ReactNode;
9
9
  } & import("react").RefAttributes<TextInput>>;
10
+ export { PhoneInput };
@@ -14,5 +14,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.PhoneInput = void 0;
15
15
  var jsx_runtime_1 = require("react/jsx-runtime");
16
16
  var react_1 = require("react");
17
- var Input_1 = require("../Input/Input");
18
- exports.PhoneInput = (0, react_1.forwardRef)(function (props, ref) { return ((0, jsx_runtime_1.jsx)(Input_1.Input, __assign({}, props, { keyboardType: "phone-pad", autoCapitalize: "none", autoCorrect: false, ref: ref }))); });
17
+ var Input_1 = require("./Input");
18
+ var PhoneInput = (0, react_1.forwardRef)(function (props, ref) { return ((0, jsx_runtime_1.jsx)(Input_1.Input, __assign({}, props, { keyboardType: "phone-pad", autoCapitalize: "none", autoCorrect: false, ref: ref }))); });
19
+ exports.PhoneInput = PhoneInput;
@@ -14,6 +14,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.TextInput = void 0;
15
15
  var jsx_runtime_1 = require("react/jsx-runtime");
16
16
  var react_1 = require("react");
17
- var Input_1 = require("../Input/Input");
17
+ var Input_1 = require("./Input");
18
18
  var TextInput = (0, react_1.forwardRef)(function (props, ref) { return ((0, jsx_runtime_1.jsx)(Input_1.Input, __assign({}, props, { keyboardType: "default", ref: ref }))); });
19
19
  exports.TextInput = TextInput;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { TextInput as RNTextInput } from 'react-native';
3
- import { InputProps } from '../Input/Input';
3
+ import { InputProps } from './Input';
4
4
  declare type TextareaInputProps = InputProps & {
5
5
  rows?: number;
6
6
  };
@@ -54,7 +54,7 @@ var jsx_runtime_1 = require("react/jsx-runtime");
54
54
  var react_1 = require("react");
55
55
  var styled_native_1 = __importStar(require("../../styled.native"));
56
56
  var utils_1 = require("../../utils");
57
- var Input_1 = require("../Input/Input");
57
+ var Input_1 = require("./Input");
58
58
  var StyledInput = (0, styled_native_1.default)(Input_1.Input)(function (_a) {
59
59
  var core = _a.theme.core, rows = _a.rows;
60
60
  return (0, styled_native_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: ", " ", " ", " ", ";\n height: ", "px;\n "], ["\n padding: ", " ", " ", " ", ";\n height: ", "px;\n "])), core.space[3], core.space[2], core.space[2], core.space[2], (0, utils_1.pxToNumber)(core.space[8]) * rows);
@@ -0,0 +1,7 @@
1
+ export { CurrencyInput } from './CurrencyInput';
2
+ export { EmailInput } from './EmailInput';
3
+ export { NumberInput } from './NumberInput';
4
+ export { PhoneInput } from './PhoneInput';
5
+ export { TextInput } from './TextInput';
6
+ export { PasswordInput } from './PasswordInput';
7
+ export { TextareaInput } from './TextareaInput';
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TextareaInput = exports.PasswordInput = exports.TextInput = exports.PhoneInput = exports.NumberInput = exports.EmailInput = exports.CurrencyInput = void 0;
4
+ var CurrencyInput_1 = require("./CurrencyInput");
5
+ Object.defineProperty(exports, "CurrencyInput", { enumerable: true, get: function () { return CurrencyInput_1.CurrencyInput; } });
6
+ var EmailInput_1 = require("./EmailInput");
7
+ Object.defineProperty(exports, "EmailInput", { enumerable: true, get: function () { return EmailInput_1.EmailInput; } });
8
+ var NumberInput_1 = require("./NumberInput");
9
+ Object.defineProperty(exports, "NumberInput", { enumerable: true, get: function () { return NumberInput_1.NumberInput; } });
10
+ var PhoneInput_1 = require("./PhoneInput");
11
+ Object.defineProperty(exports, "PhoneInput", { enumerable: true, get: function () { return PhoneInput_1.PhoneInput; } });
12
+ var TextInput_1 = require("./TextInput");
13
+ Object.defineProperty(exports, "TextInput", { enumerable: true, get: function () { return TextInput_1.TextInput; } });
14
+ var PasswordInput_1 = require("./PasswordInput");
15
+ Object.defineProperty(exports, "PasswordInput", { enumerable: true, get: function () { return PasswordInput_1.PasswordInput; } });
16
+ var TextareaInput_1 = require("./TextareaInput");
17
+ Object.defineProperty(exports, "TextareaInput", { enumerable: true, get: function () { return TextareaInput_1.TextareaInput; } });
@@ -11,7 +11,7 @@ declare const LabelText: 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 | 10 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
14
+ space: Record<0 | 2 | 1 | 3 | 4 | 10 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15, string>;
15
15
  transition: Record<"medium" | "slow" | "fast", string>;
16
16
  opacity: Record<"solid" | "transparent" | "translucent", string | number>;
17
17
  color: Record<"neutral" | "red" | "orange" | "yellow" | "green" | "blue", {