@pagopa/io-app-design-system 5.7.1 → 5.7.3

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 (236) hide show
  1. package/README.md +46 -7
  2. package/lib/commonjs/components/alert/Alert.js +3 -3
  3. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  4. package/lib/commonjs/components/badge/Badge.js +0 -12
  5. package/lib/commonjs/components/badge/Badge.js.map +1 -1
  6. package/lib/commonjs/components/banner/Banner.js +9 -10
  7. package/lib/commonjs/components/banner/Banner.js.map +1 -1
  8. package/lib/commonjs/components/banner/BannerErrorState.js +4 -4
  9. package/lib/commonjs/components/banner/BannerErrorState.js.map +1 -1
  10. package/lib/commonjs/components/checkbox/CheckboxLabel.js +2 -2
  11. package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
  12. package/lib/commonjs/components/claimsSelector/ClaimsSelector.js +2 -2
  13. package/lib/commonjs/components/claimsSelector/ClaimsSelector.js.map +1 -1
  14. package/lib/commonjs/components/codeInput/CodeInput.js +2 -2
  15. package/lib/commonjs/components/codeInput/CodeInput.js.map +1 -1
  16. package/lib/commonjs/components/headers/HeaderFirstLevel.js +2 -2
  17. package/lib/commonjs/components/headers/HeaderFirstLevel.js.map +1 -1
  18. package/lib/commonjs/components/headers/HeaderSecondLevel.js +4 -5
  19. package/lib/commonjs/components/headers/HeaderSecondLevel.js.map +1 -1
  20. package/lib/commonjs/components/index.js +0 -44
  21. package/lib/commonjs/components/index.js.map +1 -1
  22. package/lib/commonjs/components/layout/ContentWrapper.js.map +1 -0
  23. package/lib/commonjs/components/layout/Divider.js.map +1 -0
  24. package/lib/commonjs/components/layout/FooterActions.js +4 -4
  25. package/lib/commonjs/components/layout/FooterActions.js.map +1 -1
  26. package/lib/commonjs/components/layout/GradientBottomActions.js +2 -2
  27. package/lib/commonjs/components/layout/GradientBottomActions.js.map +1 -1
  28. package/lib/commonjs/components/layout/README.md +34 -5
  29. package/lib/commonjs/components/{spacer → layout}/Spacer.js.map +1 -1
  30. package/lib/commonjs/components/layout/Stack.js.map +1 -0
  31. package/lib/commonjs/components/layout/index.js +44 -0
  32. package/lib/commonjs/components/layout/index.js.map +1 -1
  33. package/lib/commonjs/components/listitems/ListItemCheckbox.js +4 -4
  34. package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
  35. package/lib/commonjs/components/listitems/ListItemHeader.js +3 -3
  36. package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
  37. package/lib/commonjs/components/listitems/ListItemNav.js +8 -8
  38. package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
  39. package/lib/commonjs/components/listitems/ListItemRadio.js +6 -7
  40. package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
  41. package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +3 -3
  42. package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  43. package/lib/commonjs/components/listitems/ListItemSwitch.js +5 -5
  44. package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
  45. package/lib/commonjs/components/listitems/ListItemTransaction.js +5 -5
  46. package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
  47. package/lib/commonjs/components/modules/ModuleAttachment.js +4 -4
  48. package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
  49. package/lib/commonjs/components/modules/ModuleCheckout.js +6 -6
  50. package/lib/commonjs/components/modules/ModuleCheckout.js.map +1 -1
  51. package/lib/commonjs/components/modules/ModuleCredential.js +1 -1
  52. package/lib/commonjs/components/modules/ModuleNavigation.js +6 -6
  53. package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
  54. package/lib/commonjs/components/modules/ModulePaymentNotice.js +3 -3
  55. package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
  56. package/lib/commonjs/components/modules/ModuleStatic.js +2 -2
  57. package/lib/commonjs/components/modules/ModuleStatic.js.map +1 -1
  58. package/lib/commonjs/components/numberpad/NumberPad.js +3 -4
  59. package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
  60. package/lib/commonjs/components/otpInput/OTPInput.js +2 -2
  61. package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
  62. package/lib/commonjs/components/radio/RadioGroup.js +3 -3
  63. package/lib/commonjs/components/radio/RadioGroup.js.map +1 -1
  64. package/lib/commonjs/components/textInput/TextInputBase.js +3 -3
  65. package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
  66. package/lib/commonjs/components/toast/ToastNotification.js +2 -2
  67. package/lib/commonjs/components/toast/ToastNotification.js.map +1 -1
  68. package/lib/module/components/alert/Alert.js +1 -1
  69. package/lib/module/components/alert/Alert.js.map +1 -1
  70. package/lib/module/components/badge/Badge.js +0 -12
  71. package/lib/module/components/badge/Badge.js.map +1 -1
  72. package/lib/module/components/banner/Banner.js +7 -8
  73. package/lib/module/components/banner/Banner.js.map +1 -1
  74. package/lib/module/components/banner/BannerErrorState.js +3 -3
  75. package/lib/module/components/banner/BannerErrorState.js.map +1 -1
  76. package/lib/module/components/checkbox/CheckboxLabel.js +1 -1
  77. package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
  78. package/lib/module/components/claimsSelector/ClaimsSelector.js +1 -1
  79. package/lib/module/components/claimsSelector/ClaimsSelector.js.map +1 -1
  80. package/lib/module/components/codeInput/CodeInput.js +1 -1
  81. package/lib/module/components/codeInput/CodeInput.js.map +1 -1
  82. package/lib/module/components/headers/HeaderFirstLevel.js +1 -1
  83. package/lib/module/components/headers/HeaderFirstLevel.js.map +1 -1
  84. package/lib/module/components/headers/HeaderSecondLevel.js +1 -2
  85. package/lib/module/components/headers/HeaderSecondLevel.js.map +1 -1
  86. package/lib/module/components/index.js +0 -4
  87. package/lib/module/components/index.js.map +1 -1
  88. package/lib/module/components/layout/ContentWrapper.js.map +1 -0
  89. package/lib/module/components/layout/Divider.js.map +1 -0
  90. package/lib/module/components/layout/FooterActions.js +1 -1
  91. package/lib/module/components/layout/FooterActions.js.map +1 -1
  92. package/lib/module/components/layout/GradientBottomActions.js +1 -1
  93. package/lib/module/components/layout/GradientBottomActions.js.map +1 -1
  94. package/lib/module/components/layout/README.md +34 -5
  95. package/lib/module/components/{spacer → layout}/Spacer.js.map +1 -1
  96. package/lib/module/components/layout/Stack.js.map +1 -0
  97. package/lib/module/components/layout/index.js +4 -0
  98. package/lib/module/components/layout/index.js.map +1 -1
  99. package/lib/module/components/listitems/ListItemCheckbox.js +2 -2
  100. package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
  101. package/lib/module/components/listitems/ListItemHeader.js +2 -2
  102. package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
  103. package/lib/module/components/listitems/ListItemNav.js +2 -2
  104. package/lib/module/components/listitems/ListItemNav.js.map +1 -1
  105. package/lib/module/components/listitems/ListItemRadio.js +2 -3
  106. package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
  107. package/lib/module/components/listitems/ListItemRadioWithAmount.js +1 -1
  108. package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  109. package/lib/module/components/listitems/ListItemSwitch.js +2 -2
  110. package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
  111. package/lib/module/components/listitems/ListItemTransaction.js +2 -2
  112. package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
  113. package/lib/module/components/modules/ModuleAttachment.js +1 -1
  114. package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
  115. package/lib/module/components/modules/ModuleCheckout.js +2 -2
  116. package/lib/module/components/modules/ModuleCheckout.js.map +1 -1
  117. package/lib/module/components/modules/ModuleCredential.js +1 -1
  118. package/lib/module/components/modules/ModuleCredential.js.map +1 -1
  119. package/lib/module/components/modules/ModuleNavigation.js +2 -2
  120. package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
  121. package/lib/module/components/modules/ModulePaymentNotice.js +1 -1
  122. package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
  123. package/lib/module/components/modules/ModuleStatic.js +1 -1
  124. package/lib/module/components/modules/ModuleStatic.js.map +1 -1
  125. package/lib/module/components/numberpad/NumberPad.js +1 -2
  126. package/lib/module/components/numberpad/NumberPad.js.map +1 -1
  127. package/lib/module/components/otpInput/OTPInput.js +1 -1
  128. package/lib/module/components/radio/RadioGroup.js +1 -1
  129. package/lib/module/components/radio/RadioGroup.js.map +1 -1
  130. package/lib/module/components/textInput/TextInputBase.js +1 -1
  131. package/lib/module/components/toast/ToastNotification.js +1 -1
  132. package/lib/typescript/components/badge/Badge.d.ts.map +1 -1
  133. package/lib/typescript/components/banner/Banner.d.ts +1 -2
  134. package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
  135. package/lib/typescript/components/banner/BannerErrorState.d.ts.map +1 -1
  136. package/lib/typescript/components/headers/HeaderSecondLevel.d.ts.map +1 -1
  137. package/lib/typescript/components/index.d.ts +0 -4
  138. package/lib/typescript/components/index.d.ts.map +1 -1
  139. package/lib/typescript/components/layout/ContentWrapper.d.ts.map +1 -0
  140. package/lib/typescript/components/layout/Divider.d.ts.map +1 -0
  141. package/lib/typescript/components/{spacer → layout}/Spacer.d.ts.map +1 -1
  142. package/lib/typescript/components/layout/Stack.d.ts.map +1 -0
  143. package/lib/typescript/components/layout/index.d.ts +4 -0
  144. package/lib/typescript/components/layout/index.d.ts.map +1 -1
  145. package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
  146. package/lib/typescript/components/listitems/ListItemRadio.d.ts.map +1 -1
  147. package/lib/typescript/components/listitems/ListItemSwitch.d.ts.map +1 -1
  148. package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
  149. package/lib/typescript/components/modules/ModuleCheckout.d.ts.map +1 -1
  150. package/lib/typescript/components/numberpad/NumberPad.d.ts.map +1 -1
  151. package/package.json +1 -1
  152. package/src/components/alert/Alert.tsx +2 -2
  153. package/src/components/badge/Badge.tsx +0 -12
  154. package/src/components/banner/Banner.tsx +128 -124
  155. package/src/components/banner/BannerErrorState.tsx +3 -3
  156. package/src/components/checkbox/CheckboxLabel.tsx +1 -1
  157. package/src/components/claimsSelector/ClaimsSelector.tsx +1 -1
  158. package/src/components/codeInput/CodeInput.tsx +1 -1
  159. package/src/components/headers/HeaderFirstLevel.tsx +1 -1
  160. package/src/components/headers/HeaderSecondLevel.tsx +1 -2
  161. package/src/components/index.tsx +0 -4
  162. package/src/components/layout/FooterActions.tsx +1 -1
  163. package/src/components/layout/GradientBottomActions.tsx +1 -1
  164. package/src/components/layout/README.md +34 -5
  165. package/src/components/layout/index.tsx +4 -0
  166. package/src/components/listitems/ListItemCheckbox.tsx +2 -2
  167. package/src/components/listitems/ListItemHeader.tsx +2 -2
  168. package/src/components/listitems/ListItemNav.tsx +2 -2
  169. package/src/components/listitems/ListItemRadio.tsx +2 -3
  170. package/src/components/listitems/ListItemRadioWithAmount.tsx +1 -1
  171. package/src/components/listitems/ListItemSwitch.tsx +2 -2
  172. package/src/components/listitems/ListItemTransaction.tsx +2 -2
  173. package/src/components/modules/ModuleAttachment.tsx +1 -1
  174. package/src/components/modules/ModuleCheckout.tsx +2 -2
  175. package/src/components/modules/ModuleCredential.tsx +1 -1
  176. package/src/components/modules/ModuleNavigation.tsx +2 -2
  177. package/src/components/modules/ModulePaymentNotice.tsx +1 -1
  178. package/src/components/modules/ModuleStatic.tsx +1 -1
  179. package/src/components/numberpad/NumberPad.tsx +1 -2
  180. package/src/components/otpInput/OTPInput.tsx +1 -1
  181. package/src/components/radio/RadioGroup.tsx +1 -1
  182. package/src/components/textInput/TextInputBase.tsx +1 -1
  183. package/src/components/toast/ToastNotification.tsx +1 -1
  184. package/lib/commonjs/components/contentWrapper/ContentWrapper.js.map +0 -1
  185. package/lib/commonjs/components/contentWrapper/index.js +0 -17
  186. package/lib/commonjs/components/contentWrapper/index.js.map +0 -1
  187. package/lib/commonjs/components/divider/Divider.js.map +0 -1
  188. package/lib/commonjs/components/divider/index.js +0 -17
  189. package/lib/commonjs/components/divider/index.js.map +0 -1
  190. package/lib/commonjs/components/spacer/index.js +0 -17
  191. package/lib/commonjs/components/spacer/index.js.map +0 -1
  192. package/lib/commonjs/components/stack/Stack.js.map +0 -1
  193. package/lib/commonjs/components/stack/index.js +0 -17
  194. package/lib/commonjs/components/stack/index.js.map +0 -1
  195. package/lib/module/components/contentWrapper/ContentWrapper.js.map +0 -1
  196. package/lib/module/components/contentWrapper/index.js +0 -4
  197. package/lib/module/components/contentWrapper/index.js.map +0 -1
  198. package/lib/module/components/divider/Divider.js.map +0 -1
  199. package/lib/module/components/divider/index.js +0 -4
  200. package/lib/module/components/divider/index.js.map +0 -1
  201. package/lib/module/components/spacer/index.js +0 -4
  202. package/lib/module/components/spacer/index.js.map +0 -1
  203. package/lib/module/components/stack/Stack.js.map +0 -1
  204. package/lib/module/components/stack/index.js +0 -4
  205. package/lib/module/components/stack/index.js.map +0 -1
  206. package/lib/typescript/components/contentWrapper/ContentWrapper.d.ts.map +0 -1
  207. package/lib/typescript/components/contentWrapper/index.d.ts +0 -2
  208. package/lib/typescript/components/contentWrapper/index.d.ts.map +0 -1
  209. package/lib/typescript/components/divider/Divider.d.ts.map +0 -1
  210. package/lib/typescript/components/divider/index.d.ts +0 -2
  211. package/lib/typescript/components/divider/index.d.ts.map +0 -1
  212. package/lib/typescript/components/spacer/index.d.ts +0 -2
  213. package/lib/typescript/components/spacer/index.d.ts.map +0 -1
  214. package/lib/typescript/components/stack/Stack.d.ts.map +0 -1
  215. package/lib/typescript/components/stack/index.d.ts +0 -2
  216. package/lib/typescript/components/stack/index.d.ts.map +0 -1
  217. package/src/components/contentWrapper/index.tsx +0 -1
  218. package/src/components/divider/index.tsx +0 -1
  219. package/src/components/spacer/index.tsx +0 -1
  220. package/src/components/stack/index.tsx +0 -1
  221. /package/lib/commonjs/components/{contentWrapper → layout}/ContentWrapper.js +0 -0
  222. /package/lib/commonjs/components/{divider → layout}/Divider.js +0 -0
  223. /package/lib/commonjs/components/{spacer → layout}/Spacer.js +0 -0
  224. /package/lib/commonjs/components/{stack → layout}/Stack.js +0 -0
  225. /package/lib/module/components/{contentWrapper → layout}/ContentWrapper.js +0 -0
  226. /package/lib/module/components/{divider → layout}/Divider.js +0 -0
  227. /package/lib/module/components/{spacer → layout}/Spacer.js +0 -0
  228. /package/lib/module/components/{stack → layout}/Stack.js +0 -0
  229. /package/lib/typescript/components/{contentWrapper → layout}/ContentWrapper.d.ts +0 -0
  230. /package/lib/typescript/components/{divider → layout}/Divider.d.ts +0 -0
  231. /package/lib/typescript/components/{spacer → layout}/Spacer.d.ts +0 -0
  232. /package/lib/typescript/components/{stack → layout}/Stack.d.ts +0 -0
  233. /package/src/components/{contentWrapper → layout}/ContentWrapper.tsx +0 -0
  234. /package/src/components/{divider → layout}/Divider.tsx +0 -0
  235. /package/src/components/{spacer → layout}/Spacer.tsx +0 -0
  236. /package/src/components/{stack → layout}/Stack.tsx +0 -0
@@ -11,8 +11,8 @@ import {
11
11
  IOSpacingScale
12
12
  } from "../../core";
13
13
  import { useAccordionAnimation } from "../../hooks/useAccordionAnimation";
14
- import { Divider } from "../divider";
15
14
  import { Icon } from "../icons";
15
+ import { Divider } from "../layout";
16
16
  import { ListItemCheckbox, ListItemInfo } from "../listitems";
17
17
  import { H6 } from "../typography";
18
18
 
@@ -5,7 +5,7 @@ import { useIOThemeContext } from "../../context";
5
5
  import { hexToRgba, IOColors } from "../../core/IOColors";
6
6
  import { triggerHaptic } from "../../functions";
7
7
  import { useErrorShakeAnimation } from "../../utils/hooks/useErrorShakeAnimation";
8
- import { HStack } from "../stack";
8
+ import { HStack } from "../layout";
9
9
 
10
10
  type CodeInputProps = {
11
11
  value: string;
@@ -21,7 +21,7 @@ import {
21
21
  } from "../../core";
22
22
  import { WithTestID } from "../../utils/types";
23
23
  import { IconButton } from "../buttons";
24
- import { HStack } from "../stack";
24
+ import { HStack } from "../layout";
25
25
  import { H2 } from "../typography";
26
26
  import { HeaderActionProps } from "./common";
27
27
 
@@ -37,8 +37,7 @@ import {
37
37
  import type { IOSpacer, IOSpacingScale } from "../../core/IOSpacing";
38
38
  import { WithTestID } from "../../utils/types";
39
39
  import IconButton from "../buttons/IconButton";
40
- import { HSpacer } from "../spacer";
41
- import { HStack } from "../stack";
40
+ import { HSpacer, HStack } from "../layout";
42
41
  import { IOText } from "../typography";
43
42
  import { HeaderActionProps } from "./common";
44
43
 
@@ -7,8 +7,6 @@ export * from "./buttons";
7
7
  export * from "./checkbox";
8
8
  export * from "./claimsSelector";
9
9
  export * from "./codeInput";
10
- export * from "./contentWrapper";
11
- export * from "./divider";
12
10
  export * from "./featureInfo";
13
11
  export * from "./icons";
14
12
  export * from "./image";
@@ -25,8 +23,6 @@ export * from "./progressLoader";
25
23
  export * from "./radio";
26
24
  export * from "./searchInput";
27
25
  export * from "./skeleton";
28
- export * from "./spacer";
29
- export * from "./stack";
30
26
  export * from "./stepper";
31
27
  export * from "./switch";
32
28
  export * from "./tabs";
@@ -24,7 +24,7 @@ import {
24
24
  IOButtonBlockSpecificProps,
25
25
  IOButtonLinkSpecificProps
26
26
  } from "../buttons";
27
- import { VSpacer } from "../spacer";
27
+ import { VSpacer } from "./Spacer";
28
28
  import { useBottomMargins } from "./hooks/useBottomMargins";
29
29
 
30
30
  type IOButtonBlockProps = Omit<
@@ -6,7 +6,7 @@ import Animated, { AnimatedStyle } from "react-native-reanimated";
6
6
  import { IOColors, IOSpacer, IOVisualCostants, hexToRgba } from "../../core";
7
7
  import { WithTestID } from "../../utils/types";
8
8
  import { IOButton, IOButtonProps } from "../buttons";
9
- import { VSpacer } from "../spacer";
9
+ import { VSpacer } from "./Spacer";
10
10
 
11
11
  type PrimaryActionProps = Extract<
12
12
  IOButtonProps,
@@ -2,12 +2,13 @@
2
2
 
3
3
  Different layout components are available to help with screen composition:
4
4
  * **`ContentWrapper`**: a basic `View` component with horizontal spacing applied to all screens by default. It is used to wrap the main content.
5
+ * **Stack**: `VStack` and `HStack` are used to add **uniform** vertical and horizontal spacing between components, respectively. They take advantage of the `flex` properties combined with the new `gap` property.
5
6
  * **Spacer**: `VSpacer` and `HSpacer` are used to add **not-uniform** vertical and horizontal spacing between components, respectively. They are defined as `View` components with a fixed height or width.
6
7
  * **`Divider`**: used to add a divider between screen blocks.
7
8
 
8
9
  ## Usage
9
10
 
10
- ### ContentWrapper
11
+ ### `ContentWrapper`
11
12
 
12
13
  ```jsx
13
14
  import { ContentWrapper } from '@pagopa/io-app-design-system';
@@ -25,7 +26,21 @@ const ComponentWithLargerMargin = () => (
25
26
  );
26
27
  ```
27
28
 
28
- ### Spacer
29
+ ### `VStack` and `HStack`
30
+
31
+ In the example below, the inner components are arranged with an equal uniform vertical space of 16 between them.
32
+
33
+ ```jsx
34
+ import { VStack } from '@pagopa/io-app-design-system';
35
+
36
+ const ComponentWithInnerSpacing = () => (
37
+ <VStack space={16}>
38
+ {/* […] */}
39
+ </VStack>
40
+ );
41
+ ```
42
+
43
+ ### `VSpacer` and `HSpacer`
29
44
 
30
45
  ```jsx
31
46
  import { VSpacer, HSpacer } from '@pagopa/io-app-design-system';
@@ -33,7 +48,9 @@ import { VSpacer, HSpacer } from '@pagopa/io-app-design-system';
33
48
  const Component = () => (
34
49
  <View>
35
50
  {/* […] */}
36
- <VSpacer />
51
+ <VSpacer space={8} />
52
+ {/* […] */}
53
+ <VSpacer space={16} />
37
54
  {/* […] */}
38
55
  </View>
39
56
  );
@@ -49,7 +66,7 @@ const ComponentWithHSpacer = () => (
49
66
  );
50
67
  ```
51
68
 
52
- ### Divider
69
+ ### `Divider`
53
70
 
54
71
  ```jsx
55
72
  import { Divider } from '@pagopa/io-app-design-system';
@@ -61,4 +78,16 @@ const Component = () => (
61
78
  {/* [Second block] */}
62
79
  </Screen>
63
80
  );
64
- ```
81
+ ```
82
+
83
+ ## Frequently Asked Questions
84
+
85
+ ### I need to add space between the components. Should I use `Stack` or `Spacer` components?
86
+
87
+ The `gap` property, on which the `Stack` components are based, is handled directly by React Native's layout engine. This means that:
88
+ - Native-level spacing calculation
89
+ - Better memory efficiency
90
+ - Faster layout computation
91
+
92
+ Unless you need to create a lot of nested `Stack` containers to reflect the design specs, you should probably use `Stack` instead of `Spacer`.
93
+ `Spacer` components are still available because they can be useful in specific edge cases.
@@ -1,5 +1,9 @@
1
+ export * from "./ContentWrapper";
2
+ export * from "./Divider";
1
3
  export * from "./FooterActions";
2
4
  export * from "./FooterActionsInline";
3
5
  export * from "./GradientBottomActions";
4
6
  export * from "./GradientScrollView";
5
7
  export * from "./hooks";
8
+ export * from "./Spacer";
9
+ export * from "./Stack";
@@ -3,17 +3,17 @@ import { useState } from "react";
3
3
  import { Pressable, View } from "react-native";
4
4
  import ReactNativeHapticFeedback from "react-native-haptic-feedback";
5
5
  import Animated from "react-native-reanimated";
6
+ import { useIOTheme } from "../../context";
6
7
  import {
7
8
  IOSelectionListItemStyles,
8
9
  IOSelectionListItemVisualParams,
9
10
  IOSelectionTickVisualParams
10
11
  } from "../../core";
11
- import { useIOTheme } from "../../context";
12
12
  import { useListItemAnimation } from "../../hooks";
13
13
  import { useIOFontDynamicScale } from "../../utils/accessibility";
14
14
  import { AnimatedCheckbox } from "../checkbox/AnimatedCheckbox";
15
15
  import { IOIcons, Icon } from "../icons";
16
- import { HSpacer, VSpacer } from "../spacer";
16
+ import { HSpacer, VSpacer } from "../layout";
17
17
  import { BodySmall, H6 } from "../typography";
18
18
 
19
19
  type Props = {
@@ -1,5 +1,6 @@
1
1
  import React, { ComponentProps, useCallback, useMemo } from "react";
2
2
  import { View } from "react-native";
3
+ import { useIOTheme } from "../../context";
3
4
  import {
4
5
  IOListItemStyles,
5
6
  IOListItemVisualParams,
@@ -7,13 +8,12 @@ import {
7
8
  IOSpacingScale,
8
9
  IOVisualCostants
9
10
  } from "../../core";
10
- import { useIOTheme } from "../../context";
11
11
  import { useIOFontDynamicScale } from "../../utils/accessibility";
12
12
  import { WithTestID } from "../../utils/types";
13
13
  import { Badge } from "../badge";
14
14
  import { ButtonLink, IconButton } from "../buttons";
15
15
  import { IOIcons, Icon } from "../icons";
16
- import { VSpacer } from "../spacer";
16
+ import { VSpacer } from "../layout";
17
17
  import { BodySmall, H6 } from "../typography";
18
18
 
19
19
  type ButtonLinkActionProps = {
@@ -1,6 +1,7 @@
1
1
  import React, { ComponentProps } from "react";
2
2
  import { GestureResponderEvent, Image, Pressable, View } from "react-native";
3
3
  import Animated from "react-native-reanimated";
4
+ import { useIOTheme } from "../../context";
4
5
  import {
5
6
  IOColors,
6
7
  IOListItemStyles,
@@ -9,15 +10,14 @@ import {
9
10
  IOSpacer,
10
11
  IOVisualCostants
11
12
  } from "../../core";
12
- import { useIOTheme } from "../../context";
13
13
  import { useListItemAnimation } from "../../hooks";
14
14
  import { useIOFontDynamicScale } from "../../utils/accessibility";
15
15
  import { WithTestID } from "../../utils/types";
16
16
  import { Avatar } from "../avatar";
17
17
  import { Badge } from "../badge";
18
18
  import { IOIcons, Icon } from "../icons";
19
+ import { HSpacer, VSpacer } from "../layout";
19
20
  import { LoadingSpinner } from "../loadingSpinner";
20
- import { HSpacer, VSpacer } from "../spacer";
21
21
  import { BodySmall, Caption, H6 } from "../typography";
22
22
 
23
23
  type ListItemTopElementProps =
@@ -3,21 +3,20 @@ import { useState } from "react";
3
3
  import { Image, Pressable, StyleSheet, View } from "react-native";
4
4
  import ReactNativeHapticFeedback from "react-native-haptic-feedback";
5
5
  import Animated from "react-native-reanimated";
6
+ import { useIOTheme } from "../../context";
6
7
  import {
7
8
  IOSelectionListItemStyles,
8
9
  IOSelectionListItemVisualParams,
9
10
  IOSelectionTickVisualParams
10
11
  } from "../../core";
11
- import { useIOTheme } from "../../context";
12
12
  import { useListItemAnimation } from "../../hooks";
13
13
  import { useIOFontDynamicScale } from "../../utils/accessibility";
14
14
  import { WithTestID } from "../../utils/types";
15
15
  import { IOIcons, Icon } from "../icons";
16
+ import { HSpacer, VSpacer, VStack } from "../layout";
16
17
  import { IOLogoPaymentType, LogoPayment } from "../logos";
17
18
  import { AnimatedRadio } from "../radio/AnimatedRadio";
18
19
  import { IOSkeleton } from "../skeleton";
19
- import { HSpacer, VSpacer } from "../spacer";
20
- import { VStack } from "../stack";
21
20
  import { BodySmall, H6 } from "../typography";
22
21
 
23
22
  type ListItemRadioGraphicProps =
@@ -5,8 +5,8 @@ import { useIOTheme } from "../../context";
5
5
  import { IOColors, IOSelectionTickVisualParams } from "../../core";
6
6
  import { useIOFontDynamicScale } from "../../utils/accessibility";
7
7
  import { Icon } from "../icons";
8
+ import { HStack } from "../layout";
8
9
  import { AnimatedRadio } from "../radio/AnimatedRadio";
9
- import { HStack } from "../stack";
10
10
  import { BodySmall, H6 } from "../typography";
11
11
  import { PressableListItemBase } from "./PressableListItemBase";
12
12
 
@@ -1,17 +1,17 @@
1
1
  import React, { ComponentProps, useMemo } from "react";
2
2
  import { GestureResponderEvent, Platform, Switch, View } from "react-native";
3
+ import { useIOTheme } from "../../context";
3
4
  import {
4
5
  IOSelectionListItemStyles,
5
6
  IOSelectionListItemVisualParams
6
7
  } from "../../core";
7
- import { useIOTheme } from "../../context";
8
8
  import { useIOFontDynamicScale } from "../../utils/accessibility";
9
9
  import { WithTestID } from "../../utils/types";
10
10
  import { Badge } from "../badge";
11
11
  import { IOIcons, Icon } from "../icons";
12
+ import { HSpacer, VSpacer } from "../layout";
12
13
  import { LoadingSpinner } from "../loadingSpinner";
13
14
  import { IOLogoPaymentType, LogoPayment } from "../logos";
14
- import { HSpacer, VSpacer } from "../spacer";
15
15
  import { NativeSwitch } from "../switch/NativeSwitch";
16
16
  import { BodySmall, H6, LabelMini } from "../typography";
17
17
 
@@ -1,6 +1,7 @@
1
1
  import React, { ReactNode } from "react";
2
2
  import { ImageURISource, View } from "react-native";
3
3
 
4
+ import { useIOTheme } from "../../context";
4
5
  import {
5
6
  IOColors,
6
7
  IOListItemLogoMargin,
@@ -8,16 +9,15 @@ import {
8
9
  IOListItemVisualParams,
9
10
  IOVisualCostants
10
11
  } from "../../core";
11
- import { useIOTheme } from "../../context";
12
12
  import { WithTestID } from "../../utils/types";
13
13
  import { isImageUri } from "../../utils/url";
14
14
  import { Avatar } from "../avatar/Avatar";
15
15
  import { Badge } from "../badge/Badge";
16
16
  import { LogoPaymentWithFallback } from "../common/LogoPaymentWithFallback";
17
17
  import { IOIconSizeScale, Icon } from "../icons";
18
+ import { HStack, VStack } from "../layout";
18
19
  import { IOLogoPaymentType } from "../logos";
19
20
  import { IOSkeleton } from "../skeleton";
20
- import { HStack, VStack } from "../stack";
21
21
  import { BodySmall, H6 } from "../typography";
22
22
  import {
23
23
  PressableBaseProps,
@@ -5,9 +5,9 @@ import { IOListItemVisualParams } from "../../core";
5
5
  import { WithTestID } from "../../utils/types";
6
6
  import { Badge } from "../badge";
7
7
  import { Icon } from "../icons";
8
+ import { HStack, VStack } from "../layout";
8
9
  import { LoadingSpinner } from "../loadingSpinner";
9
10
  import { IOSkeleton } from "../skeleton";
10
- import { HStack, VStack } from "../stack";
11
11
  import { Body } from "../typography";
12
12
  import { ModuleStatic } from "./ModuleStatic";
13
13
  import { PressableModuleBase } from "./PressableModuleBase";
@@ -6,12 +6,12 @@ import {
6
6
  StyleSheet,
7
7
  View
8
8
  } from "react-native";
9
- import { IOSelectionListItemVisualParams, IOSpacingScale } from "../../core";
10
9
  import { useIOTheme } from "../../context";
10
+ import { IOSelectionListItemVisualParams, IOSpacingScale } from "../../core";
11
11
  import { ButtonLink } from "../buttons";
12
+ import { HStack, VStack } from "../layout";
12
13
  import { IOLogoPaymentType, LogoPayment } from "../logos";
13
14
  import { IOSkeleton } from "../skeleton";
14
- import { HStack, VStack } from "../stack";
15
15
  import { BodySmall, H6 } from "../typography";
16
16
  import { ModuleStatic } from "./ModuleStatic";
17
17
  import { PressableModuleBase } from "./PressableModuleBase";
@@ -18,7 +18,7 @@ import { Badge } from "../badge";
18
18
  import { IOIcons, Icon } from "../icons";
19
19
  import { LoadingSpinner } from "../loadingSpinner";
20
20
  import { IOSkeleton } from "../skeleton";
21
- import { HStack } from "../stack/Stack";
21
+ import { HStack } from "../layout/Stack";
22
22
  import { BodySmall } from "../typography";
23
23
  import { ModuleStatic } from "./ModuleStatic";
24
24
  import {
@@ -6,19 +6,19 @@ import {
6
6
  StyleSheet,
7
7
  View
8
8
  } from "react-native";
9
+ import { useIOTheme } from "../../context";
9
10
  import {
10
11
  IOListItemVisualParams,
11
12
  IOSelectionListItemVisualParams,
12
13
  IOSpacer,
13
14
  IOVisualCostants
14
15
  } from "../../core";
15
- import { useIOTheme } from "../../context";
16
16
  import { useIOFontDynamicScale } from "../../utils/accessibility";
17
17
  import { WithTestID } from "../../utils/types";
18
18
  import { Badge } from "../badge";
19
19
  import { IOIcons, Icon } from "../icons";
20
+ import { HStack, VStack } from "../layout";
20
21
  import { IOSkeleton } from "../skeleton";
21
- import { HStack, VStack } from "../stack";
22
22
  import { BodySmall, LabelMini } from "../typography";
23
23
  import { ModuleStatic } from "./ModuleStatic";
24
24
  import {
@@ -5,8 +5,8 @@ import { IOListItemVisualParams, IOSpacer } from "../../core";
5
5
  import { WithTestID } from "../../utils/types";
6
6
  import { Badge } from "../badge";
7
7
  import { Icon } from "../icons";
8
+ import { HStack, VStack } from "../layout";
8
9
  import { IOSkeleton } from "../skeleton";
9
- import { HStack, VStack } from "../stack";
10
10
  import { Body, BodySmall, H6 } from "../typography";
11
11
  import { ModuleStatic } from "./ModuleStatic";
12
12
  import { PressableModuleBase } from "./PressableModuleBase";
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { PressableProps, View, ViewProps } from "react-native";
3
3
  import { useIOTheme } from "../../context";
4
4
  import { IOColors, IOModuleStyles } from "../../core";
5
- import { HStack } from "../stack";
5
+ import { HStack } from "../layout";
6
6
 
7
7
  type ModuleStaticProps = Pick<
8
8
  ViewProps,
@@ -2,9 +2,8 @@ import React, { ComponentProps, JSX, useCallback, useMemo } from "react";
2
2
  import { StyleSheet, View } from "react-native";
3
3
  import { BiometricsValidType, Optional } from "../../utils/types";
4
4
  import { IconButton } from "../buttons";
5
- import { ContentWrapper } from "../contentWrapper";
6
5
  import { IOIconSizeScale, IOIcons } from "../icons";
7
- import { VStack } from "../stack";
6
+ import { ContentWrapper, VStack } from "../layout";
8
7
  import { NumberButton, numberButtonStyles } from "./NumberButton";
9
8
 
10
9
  type BiometricAuthProps =
@@ -12,7 +12,7 @@ import Animated from "react-native-reanimated";
12
12
  import { useIOTheme } from "../../context";
13
13
  import { triggerHaptic } from "../../functions";
14
14
  import { useErrorShakeAnimation } from "../../utils/hooks/useErrorShakeAnimation";
15
- import { VSpacer } from "../spacer";
15
+ import { VSpacer } from "../layout";
16
16
  import { BodySmall } from "../typography";
17
17
  import { BoxedInput } from "./BoxedInput";
18
18
 
@@ -1,5 +1,5 @@
1
1
  import React, { ComponentProps } from "react";
2
- import { Divider } from "../divider";
2
+ import { Divider } from "../layout";
3
3
  import { ListItemRadio, ListItemRadioWithAmount } from "../listitems";
4
4
 
5
5
  export type RadioItem<T> = {
@@ -38,7 +38,7 @@ import {
38
38
  import { RNTextInputProps, getInputPropsByType } from "../../utils/textInput";
39
39
  import { InputType, WithTestID } from "../../utils/types";
40
40
  import { IOIconSizeScale, IOIcons, Icon } from "../icons";
41
- import { HSpacer } from "../spacer";
41
+ import { HSpacer } from "../layout";
42
42
  import { BodySmall } from "../typography";
43
43
 
44
44
  type InputStatus = "initial" | "focused" | "disabled" | "error";
@@ -3,7 +3,7 @@ import { StyleSheet, View, ViewStyle } from "react-native";
3
3
  import { useIOThemeContext } from "../../context";
4
4
  import { IOAlertRadius, IOColors, hexToRgba } from "../../core";
5
5
  import { Icon } from "../icons";
6
- import { HSpacer } from "../spacer";
6
+ import { HSpacer } from "../layout";
7
7
  import { ButtonText } from "../typography";
8
8
  import { Toast, ToastVariant } from "./types";
9
9
 
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_IOStyles","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","ContentWrapper","exports","forwardRef","margin","IOVisualCostants","appMarginDefault","style","children","testID","rest","ref","jsx","View","paddingHorizontal"],"sourceRoot":"../../../../src","sources":["components/contentWrapper/ContentWrapper.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAGA,IAAAE,SAAA,GAAAF,OAAA;AAAuD,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,wBAAAK,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAP,uBAAA,YAAAA,CAAAK,CAAA,EAAAC,CAAA,SAAAA,CAAA,IAAAD,CAAA,IAAAA,CAAA,CAAAK,UAAA,SAAAL,CAAA,MAAAM,CAAA,EAAAC,CAAA,EAAAC,CAAA,KAAAC,SAAA,QAAAC,OAAA,EAAAV,CAAA,iBAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,SAAAQ,CAAA,MAAAF,CAAA,GAAAL,CAAA,GAAAG,CAAA,GAAAD,CAAA,QAAAG,CAAA,CAAAK,GAAA,CAAAX,CAAA,UAAAM,CAAA,CAAAM,GAAA,CAAAZ,CAAA,GAAAM,CAAA,CAAAO,GAAA,CAAAb,CAAA,EAAAQ,CAAA,gBAAAP,CAAA,IAAAD,CAAA,gBAAAC,CAAA,OAAAa,cAAA,CAAAC,IAAA,CAAAf,CAAA,EAAAC,CAAA,OAAAM,CAAA,IAAAD,CAAA,GAAAU,MAAA,CAAAC,cAAA,KAAAD,MAAA,CAAAE,wBAAA,CAAAlB,CAAA,EAAAC,CAAA,OAAAM,CAAA,CAAAK,GAAA,IAAAL,CAAA,CAAAM,GAAA,IAAAP,CAAA,CAAAE,CAAA,EAAAP,CAAA,EAAAM,CAAA,IAAAC,CAAA,CAAAP,CAAA,IAAAD,CAAA,CAAAC,CAAA,WAAAO,CAAA,KAAAR,CAAA,EAAAC,CAAA;AAavD;AACA;AACA;AACA;AACA;AACO,MAAMkB,cAAc,GAAAC,OAAA,CAAAD,cAAA,gBAAG,IAAAE,iBAAU,EACtC,CACE;EACEC,MAAM,GAAGC,0BAAgB,CAACC,gBAAgB;EAC1CC,KAAK;EACLC,QAAQ;EACRC,MAAM;EACN,GAAGC;AACkB,CAAC,EACxBC,GAAG,kBAEH,IAAA9B,WAAA,CAAA+B,GAAA,EAACjC,YAAA,CAAAkC,IAAI;EACHJ,MAAM,EAAEA,MAAO;EACfF,KAAK,EAAE;IACLO,iBAAiB,EAAEV,MAAM;IACzB,GAAGG;EACL,CAAE;EACFI,GAAG,EAAEA,GAAI;EAAA,GACLD,IAAI;EAAAF,QAAA,EAEPA;AAAQ,CACL,CAEV,CAAC","ignoreList":[]}
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _ContentWrapper = require("./ContentWrapper");
7
- Object.keys(_ContentWrapper).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _ContentWrapper[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _ContentWrapper[key];
14
- }
15
- });
16
- });
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_ContentWrapper","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["components/contentWrapper/index.tsx"],"mappings":";;;;;AAAA,IAAAA,eAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,eAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,eAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,eAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_context","_IOColors","_jsxRuntime","e","__esModule","default","DEFAULT_BORDER_SIZE","StyleSheet","hairlineWidth","Divider","theme","useIOTheme","jsx","View","style","backgroundColor","IOColors","height","exports"],"sourceRoot":"../../../../src","sources":["components/divider/Divider.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,QAAA,GAAAF,OAAA;AACA,IAAAG,SAAA,GAAAH,OAAA;AAA+C,IAAAI,WAAA,GAAAJ,OAAA;AAAA,SAAAD,uBAAAM,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAE/C,MAAMG,mBAAmB,GAAGC,uBAAU,CAACC,aAAa;;AAEpD;AACA;AACA;AACO,MAAMC,OAAO,GAAGA,CAAA,KAAM;EAC3B,MAAMC,KAAK,GAAG,IAAAC,mBAAU,EAAC,CAAC;EAE1B,oBACE,IAAAT,WAAA,CAAAU,GAAA,EAACb,YAAA,CAAAc,IAAI;IACHC,KAAK,EAAE;MACLC,eAAe,EAAEC,kBAAQ,CAACN,KAAK,CAAC,iBAAiB,CAAC,CAAC;MACnDO,MAAM,EAAEX;IACV;EAAE,CACH,CAAC;AAEN,CAAC;AAACY,OAAA,CAAAT,OAAA,GAAAA,OAAA","ignoreList":[]}
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _Divider = require("./Divider");
7
- Object.keys(_Divider).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _Divider[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _Divider[key];
14
- }
15
- });
16
- });
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_Divider","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["components/divider/index.tsx"],"mappings":";;;;;AAAA,IAAAA,QAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,QAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,QAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,QAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _Spacer = require("./Spacer");
7
- Object.keys(_Spacer).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _Spacer[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _Spacer[key];
14
- }
15
- });
16
- });
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_Spacer","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["components/spacer/index.tsx"],"mappings":";;;;;AAAA,IAAAA,OAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,OAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,OAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,OAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_accessibility","_jsxRuntime","e","__esModule","default","Stack","space","style","orientation","allowScaleSpacing","children","props","dynamicFontScale","spacingScaleMultiplier","useIOFontDynamicScale","jsx","View","display","flexDirection","gap","HStack","exports","VStack"],"sourceRoot":"../../../../src","sources":["components/stack/Stack.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,cAAA,GAAAF,OAAA;AAAkE,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAD,uBAAAK,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAuBlE;AACA;AACA;AACA;;AAEA,MAAMG,KAAK,GAAGA,CAAC;EACbC,KAAK,GAAG,CAAC;EACTC,KAAK;EACLC,WAAW,GAAG,UAAU;EACxBC,iBAAiB;EACjBC,QAAQ;EACR,GAAGC;AACM,CAAC,KAAK;EACf,MAAM;IAAEC,gBAAgB;IAAEC;EAAuB,CAAC,GAAG,IAAAC,oCAAqB,EAAC,CAAC;EAE5E,oBACE,IAAAb,WAAA,CAAAc,GAAA,EAAChB,YAAA,CAAAiB,IAAI;IAAA,GACCL,KAAK;IACTJ,KAAK,EAAE;MACLU,OAAO,EAAE,MAAM;MACfC,aAAa,EAAEV,WAAW,KAAK,YAAY,GAAG,KAAK,GAAG,QAAQ;MAC9DW,GAAG,EACDV,iBAAiB,IAAIH,KAAK,KAAK,CAAC,GAC5BA,KAAK,GAAGM,gBAAgB,GAAGC,sBAAsB,GACjDP,KAAK;MACX,GAAGC;IACL,CAAE;IAAAG,QAAA,EAEDA;EAAQ,CACL,CAAC;AAEX,CAAC;AAEM,MAAMU,MAAM,GAAGA,CAAC;EAAEV,QAAQ;EAAE,GAAGC;AAAa,CAAC,kBAClD,IAAAV,WAAA,CAAAc,GAAA,EAACV,KAAK;EAACG,WAAW,EAAC,YAAY;EAAA,GAAKG,KAAK;EAAAD,QAAA,EACtCA;AAAQ,CACJ,CACR;;AAED;AACA;AACA;AACA;AAHAW,OAAA,CAAAD,MAAA,GAAAA,MAAA;AAKO,MAAME,MAAM,GAAGA,CAAC;EAAEZ,QAAQ;EAAE,GAAGC;AAAa,CAAC,kBAClD,IAAAV,WAAA,CAAAc,GAAA,EAACV,KAAK;EAACG,WAAW,EAAC,UAAU;EAAA,GAAKG,KAAK;EAAAD,QAAA,EACpCA;AAAQ,CACJ,CACR;AAACW,OAAA,CAAAC,MAAA,GAAAA,MAAA","ignoreList":[]}
@@ -1,17 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- var _Stack = require("./Stack");
7
- Object.keys(_Stack).forEach(function (key) {
8
- if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _Stack[key]) return;
10
- Object.defineProperty(exports, key, {
11
- enumerable: true,
12
- get: function () {
13
- return _Stack[key];
14
- }
15
- });
16
- });
17
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_Stack","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["components/stack/index.tsx"],"mappings":";;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","forwardRef","View","IOVisualCostants","jsx","_jsx","ContentWrapper","margin","appMarginDefault","style","children","testID","rest","ref","paddingHorizontal"],"sourceRoot":"../../../../src","sources":["components/contentWrapper/ContentWrapper.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAmB,OAAO;AACpD,SAASC,IAAI,QAA8B,cAAc;AAGzD,SAASC,gBAAgB,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAavD;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMC,cAAc,gBAAGL,UAAU,CACtC,CACE;EACEM,MAAM,GAAGJ,gBAAgB,CAACK,gBAAgB;EAC1CC,KAAK;EACLC,QAAQ;EACRC,MAAM;EACN,GAAGC;AACkB,CAAC,EACxBC,GAAG,kBAEHR,IAAA,CAACH,IAAI;EACHS,MAAM,EAAEA,MAAO;EACfF,KAAK,EAAE;IACLK,iBAAiB,EAAEP,MAAM;IACzB,GAAGE;EACL,CAAE;EACFI,GAAG,EAAEA,GAAI;EAAA,GACLD,IAAI;EAAAF,QAAA,EAEPA;AAAQ,CACL,CAEV,CAAC","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export * from "./ContentWrapper";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/contentWrapper/index.tsx"],"mappings":";;AAAA,cAAc,kBAAkB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","StyleSheet","View","useIOTheme","IOColors","jsx","_jsx","DEFAULT_BORDER_SIZE","hairlineWidth","Divider","theme","style","backgroundColor","height"],"sourceRoot":"../../../../src","sources":["components/divider/Divider.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAC/C,SAASC,UAAU,QAAQ,eAAe;AAC1C,SAASC,QAAQ,QAAQ,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAE/C,MAAMC,mBAAmB,GAAGN,UAAU,CAACO,aAAa;;AAEpD;AACA;AACA;AACA,OAAO,MAAMC,OAAO,GAAGA,CAAA,KAAM;EAC3B,MAAMC,KAAK,GAAGP,UAAU,CAAC,CAAC;EAE1B,oBACEG,IAAA,CAACJ,IAAI;IACHS,KAAK,EAAE;MACLC,eAAe,EAAER,QAAQ,CAACM,KAAK,CAAC,iBAAiB,CAAC,CAAC;MACnDG,MAAM,EAAEN;IACV;EAAE,CACH,CAAC;AAEN,CAAC","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export * from "./Divider";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/divider/index.tsx"],"mappings":";;AAAA,cAAc,WAAW","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export * from "./Spacer";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/spacer/index.tsx"],"mappings":";;AAAA,cAAc,UAAU","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","useIOFontDynamicScale","jsx","_jsx","Stack","space","style","orientation","allowScaleSpacing","children","props","dynamicFontScale","spacingScaleMultiplier","display","flexDirection","gap","HStack","VStack"],"sourceRoot":"../../../../src","sources":["components/stack/Stack.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAA6B,OAAO;AAChD,SAASC,IAAI,QAA8B,cAAc;AAEzD,SAASC,qBAAqB,QAAQ,2BAA2B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAuBlE;AACA;AACA;AACA;;AAEA,MAAMC,KAAK,GAAGA,CAAC;EACbC,KAAK,GAAG,CAAC;EACTC,KAAK;EACLC,WAAW,GAAG,UAAU;EACxBC,iBAAiB;EACjBC,QAAQ;EACR,GAAGC;AACM,CAAC,KAAK;EACf,MAAM;IAAEC,gBAAgB;IAAEC;EAAuB,CAAC,GAAGX,qBAAqB,CAAC,CAAC;EAE5E,oBACEE,IAAA,CAACH,IAAI;IAAA,GACCU,KAAK;IACTJ,KAAK,EAAE;MACLO,OAAO,EAAE,MAAM;MACfC,aAAa,EAAEP,WAAW,KAAK,YAAY,GAAG,KAAK,GAAG,QAAQ;MAC9DQ,GAAG,EACDP,iBAAiB,IAAIH,KAAK,KAAK,CAAC,GAC5BA,KAAK,GAAGM,gBAAgB,GAAGC,sBAAsB,GACjDP,KAAK;MACX,GAAGC;IACL,CAAE;IAAAG,QAAA,EAEDA;EAAQ,CACL,CAAC;AAEX,CAAC;AAED,OAAO,MAAMO,MAAM,GAAGA,CAAC;EAAEP,QAAQ;EAAE,GAAGC;AAAa,CAAC,kBAClDP,IAAA,CAACC,KAAK;EAACG,WAAW,EAAC,YAAY;EAAA,GAAKG,KAAK;EAAAD,QAAA,EACtCA;AAAQ,CACJ,CACR;;AAED;AACA;AACA;AACA;;AAEA,OAAO,MAAMQ,MAAM,GAAGA,CAAC;EAAER,QAAQ;EAAE,GAAGC;AAAa,CAAC,kBAClDP,IAAA,CAACC,KAAK;EAACG,WAAW,EAAC,UAAU;EAAA,GAAKG,KAAK;EAAAD,QAAA,EACpCA;AAAQ,CACJ,CACR","ignoreList":[]}
@@ -1,4 +0,0 @@
1
- "use strict";
2
-
3
- export * from "./Stack";
4
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/stack/index.tsx"],"mappings":";;AAAA,cAAc,SAAS","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ContentWrapper.d.ts","sourceRoot":"","sources":["../../../../src/components/contentWrapper/ContentWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAc,SAAS,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAc9C;;;;GAIG;AACH,eAAO,MAAM,cAAc;aAdd,WAAW;cACV,SAAS;YACX,IAAI,CACV,SAAS,EACT,mBAAmB,GAAG,aAAa,GAAG,cAAc,CACrD;iEAgCJ,CAAC"}