@pagopa/io-app-design-system 1.3.2 → 1.5.1

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 (306) hide show
  1. package/README.md +11 -0
  2. package/lib/commonjs/components/accordion/AccordionItem.js +137 -0
  3. package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -0
  4. package/lib/commonjs/components/accordion/index.js +4 -4
  5. package/lib/commonjs/components/accordion/index.js.map +1 -1
  6. package/lib/commonjs/components/alert/Alert.js +1 -1
  7. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  8. package/lib/commonjs/components/banner/Banner.js +1 -1
  9. package/lib/commonjs/components/banner/Banner.js.map +1 -1
  10. package/lib/commonjs/components/buttons/ButtonExtendedOutline.js +1 -1
  11. package/lib/commonjs/components/buttons/ButtonExtendedOutline.js.map +1 -1
  12. package/lib/commonjs/components/buttons/ButtonLink.js +6 -6
  13. package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
  14. package/lib/commonjs/components/buttons/ButtonOutline.js +10 -10
  15. package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
  16. package/lib/commonjs/components/buttons/ButtonSolid.js +5 -5
  17. package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
  18. package/lib/commonjs/components/buttons/IconButton.js +4 -4
  19. package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
  20. package/lib/commonjs/components/buttons/IconButtonContained.js +4 -4
  21. package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
  22. package/lib/commonjs/components/buttons/IconButtonSolid.js +5 -5
  23. package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
  24. package/lib/commonjs/components/common/LogoPaymentWithFallback.js +49 -0
  25. package/lib/commonjs/components/common/LogoPaymentWithFallback.js.map +1 -0
  26. package/lib/commonjs/components/index.js +22 -0
  27. package/lib/commonjs/components/index.js.map +1 -1
  28. package/lib/commonjs/components/layout/BlockButtons.js +82 -0
  29. package/lib/commonjs/components/layout/BlockButtons.js.map +1 -0
  30. package/lib/commonjs/components/layout/FooterWithButtons.js +41 -0
  31. package/lib/commonjs/components/layout/FooterWithButtons.js.map +1 -0
  32. package/lib/commonjs/components/layout/index.js +11 -0
  33. package/lib/commonjs/components/layout/index.js.map +1 -1
  34. package/lib/commonjs/components/listitems/ListItemAction.js +1 -1
  35. package/lib/commonjs/components/listitems/ListItemAction.js.map +1 -1
  36. package/lib/commonjs/components/listitems/ListItemCheckbox.js +1 -1
  37. package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
  38. package/lib/commonjs/components/listitems/ListItemIDP.js +1 -1
  39. package/lib/commonjs/components/listitems/ListItemIDP.js.map +1 -1
  40. package/lib/commonjs/components/listitems/ListItemInfoCopy.js +1 -1
  41. package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
  42. package/lib/commonjs/components/listitems/ListItemNav.js +1 -1
  43. package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
  44. package/lib/commonjs/components/listitems/ListItemNavAlert.js +1 -1
  45. package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
  46. package/lib/commonjs/components/listitems/ListItemRadio.js +1 -1
  47. package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
  48. package/lib/commonjs/components/listitems/ListItemTransaction.js +47 -29
  49. package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
  50. package/lib/commonjs/components/listitems/hooks/useListItemSpringAnimation.js +1 -1
  51. package/lib/commonjs/components/listitems/hooks/useListItemSpringAnimation.js.map +1 -1
  52. package/lib/commonjs/components/tabs/TabItem.js +1 -1
  53. package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
  54. package/lib/commonjs/components/tabs/TabNavigation.js +2 -2
  55. package/lib/commonjs/components/tabs/TabNavigation.js.map +1 -1
  56. package/lib/commonjs/components/{accordion/IOAccordion.js → textInput/TextInput.js} +5 -27
  57. package/lib/commonjs/components/textInput/TextInput.js.map +1 -0
  58. package/lib/commonjs/components/textInput/TextInputBase.js +233 -0
  59. package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -0
  60. package/lib/commonjs/components/textInput/TextInputPassword.js +36 -0
  61. package/lib/commonjs/components/textInput/TextInputPassword.js.map +1 -0
  62. package/lib/commonjs/components/textInput/TextInputValidation.js +57 -0
  63. package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -0
  64. package/lib/commonjs/components/textInput/index.js +39 -0
  65. package/lib/commonjs/components/textInput/index.js.map +1 -0
  66. package/lib/commonjs/core/IOAnimations.js +5 -0
  67. package/lib/commonjs/core/IOAnimations.js.map +1 -1
  68. package/lib/commonjs/core/IOShapes.js +3 -1
  69. package/lib/commonjs/core/IOShapes.js.map +1 -1
  70. package/lib/commonjs/stories/ButtonDS.stories.js +34 -0
  71. package/lib/commonjs/stories/ButtonDS.stories.js.map +1 -0
  72. package/lib/commonjs/stories/H1.stories.js +33 -0
  73. package/lib/commonjs/stories/H1.stories.js.map +1 -0
  74. package/lib/commonjs/stories/H2.stories.js +33 -0
  75. package/lib/commonjs/stories/H2.stories.js.map +1 -0
  76. package/lib/commonjs/stories/H3.stories.js +33 -0
  77. package/lib/commonjs/stories/H3.stories.js.map +1 -0
  78. package/lib/commonjs/stories/H4.stories.js +33 -0
  79. package/lib/commonjs/stories/H4.stories.js.map +1 -0
  80. package/lib/commonjs/stories/H5.stories.js +33 -0
  81. package/lib/commonjs/stories/H5.stories.js.map +1 -0
  82. package/lib/commonjs/stories/H6.stories.js +33 -0
  83. package/lib/commonjs/stories/H6.stories.js.map +1 -0
  84. package/lib/commonjs/stories/Label.stories.js +33 -0
  85. package/lib/commonjs/stories/Label.stories.js.map +1 -0
  86. package/lib/commonjs/stories/LabelSmall.stories.js +33 -0
  87. package/lib/commonjs/stories/LabelSmall.stories.js.map +1 -0
  88. package/lib/commonjs/stories/Link.stories.js +33 -0
  89. package/lib/commonjs/stories/Link.stories.js.map +1 -0
  90. package/lib/commonjs/stories/Monospace.stories.js +33 -0
  91. package/lib/commonjs/stories/Monospace.stories.js.map +1 -0
  92. package/lib/commonjs/utils/accessibility.js +19 -0
  93. package/lib/commonjs/utils/accessibility.js.map +1 -0
  94. package/lib/commonjs/utils/fonts.js +13 -4
  95. package/lib/commonjs/utils/fonts.js.map +1 -1
  96. package/lib/commonjs/utils/object.js +16 -0
  97. package/lib/commonjs/utils/object.js.map +1 -0
  98. package/lib/commonjs/utils/textInput/index.js +24 -0
  99. package/lib/commonjs/utils/textInput/index.js.map +1 -0
  100. package/lib/commonjs/utils/url.js +14 -0
  101. package/lib/commonjs/utils/url.js.map +1 -0
  102. package/lib/module/components/accordion/AccordionItem.js +126 -0
  103. package/lib/module/components/accordion/AccordionItem.js.map +1 -0
  104. package/lib/module/components/accordion/index.js +1 -1
  105. package/lib/module/components/accordion/index.js.map +1 -1
  106. package/lib/module/components/alert/Alert.js +1 -1
  107. package/lib/module/components/alert/Alert.js.map +1 -1
  108. package/lib/module/components/banner/Banner.js +1 -1
  109. package/lib/module/components/banner/Banner.js.map +1 -1
  110. package/lib/module/components/buttons/ButtonExtendedOutline.js +1 -1
  111. package/lib/module/components/buttons/ButtonExtendedOutline.js.map +1 -1
  112. package/lib/module/components/buttons/ButtonLink.js +6 -6
  113. package/lib/module/components/buttons/ButtonLink.js.map +1 -1
  114. package/lib/module/components/buttons/ButtonOutline.js +10 -10
  115. package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
  116. package/lib/module/components/buttons/ButtonSolid.js +5 -5
  117. package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
  118. package/lib/module/components/buttons/IconButton.js +4 -4
  119. package/lib/module/components/buttons/IconButton.js.map +1 -1
  120. package/lib/module/components/buttons/IconButtonContained.js +4 -4
  121. package/lib/module/components/buttons/IconButtonContained.js.map +1 -1
  122. package/lib/module/components/buttons/IconButtonSolid.js +5 -5
  123. package/lib/module/components/buttons/IconButtonSolid.js.map +1 -1
  124. package/lib/module/components/common/LogoPaymentWithFallback.js +40 -0
  125. package/lib/module/components/common/LogoPaymentWithFallback.js.map +1 -0
  126. package/lib/module/components/index.js +2 -0
  127. package/lib/module/components/index.js.map +1 -1
  128. package/lib/module/components/layout/BlockButtons.js +73 -0
  129. package/lib/module/components/layout/BlockButtons.js.map +1 -0
  130. package/lib/module/components/layout/FooterWithButtons.js +32 -0
  131. package/lib/module/components/layout/FooterWithButtons.js.map +1 -0
  132. package/lib/module/components/layout/index.js +1 -0
  133. package/lib/module/components/layout/index.js.map +1 -1
  134. package/lib/module/components/listitems/ListItemAction.js +1 -1
  135. package/lib/module/components/listitems/ListItemAction.js.map +1 -1
  136. package/lib/module/components/listitems/ListItemCheckbox.js +1 -1
  137. package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
  138. package/lib/module/components/listitems/ListItemIDP.js +1 -1
  139. package/lib/module/components/listitems/ListItemIDP.js.map +1 -1
  140. package/lib/module/components/listitems/ListItemInfoCopy.js +1 -1
  141. package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
  142. package/lib/module/components/listitems/ListItemNav.js +1 -1
  143. package/lib/module/components/listitems/ListItemNav.js.map +1 -1
  144. package/lib/module/components/listitems/ListItemNavAlert.js +1 -1
  145. package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
  146. package/lib/module/components/listitems/ListItemRadio.js +1 -1
  147. package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
  148. package/lib/module/components/listitems/ListItemTransaction.js +48 -30
  149. package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
  150. package/lib/module/components/listitems/hooks/useListItemSpringAnimation.js +1 -1
  151. package/lib/module/components/listitems/hooks/useListItemSpringAnimation.js.map +1 -1
  152. package/lib/module/components/tabs/TabItem.js +1 -1
  153. package/lib/module/components/tabs/TabItem.js.map +1 -1
  154. package/lib/module/components/tabs/TabNavigation.js +2 -2
  155. package/lib/module/components/tabs/TabNavigation.js.map +1 -1
  156. package/lib/module/components/textInput/TextInput.js +4 -0
  157. package/lib/module/components/textInput/TextInput.js.map +1 -0
  158. package/lib/module/components/textInput/TextInputBase.js +225 -0
  159. package/lib/module/components/textInput/TextInputBase.js.map +1 -0
  160. package/lib/module/components/textInput/TextInputPassword.js +27 -0
  161. package/lib/module/components/textInput/TextInputPassword.js.map +1 -0
  162. package/lib/module/components/textInput/TextInputValidation.js +47 -0
  163. package/lib/module/components/textInput/TextInputValidation.js.map +1 -0
  164. package/lib/module/components/textInput/index.js +4 -0
  165. package/lib/module/components/textInput/index.js.map +1 -0
  166. package/lib/module/core/IOAnimations.js +5 -0
  167. package/lib/module/core/IOAnimations.js.map +1 -1
  168. package/lib/module/core/IOShapes.js +1 -0
  169. package/lib/module/core/IOShapes.js.map +1 -1
  170. package/lib/module/stories/ButtonDS.stories.js +27 -0
  171. package/lib/module/stories/ButtonDS.stories.js.map +1 -0
  172. package/lib/module/stories/H1.stories.js +26 -0
  173. package/lib/module/stories/H1.stories.js.map +1 -0
  174. package/lib/module/stories/H2.stories.js +26 -0
  175. package/lib/module/stories/H2.stories.js.map +1 -0
  176. package/lib/module/stories/H3.stories.js +26 -0
  177. package/lib/module/stories/H3.stories.js.map +1 -0
  178. package/lib/module/stories/H4.stories.js +26 -0
  179. package/lib/module/stories/H4.stories.js.map +1 -0
  180. package/lib/module/stories/H5.stories.js +26 -0
  181. package/lib/module/stories/H5.stories.js.map +1 -0
  182. package/lib/module/stories/H6.stories.js +26 -0
  183. package/lib/module/stories/H6.stories.js.map +1 -0
  184. package/lib/module/stories/Label.stories.js +26 -0
  185. package/lib/module/stories/Label.stories.js.map +1 -0
  186. package/lib/module/stories/LabelSmall.stories.js +26 -0
  187. package/lib/module/stories/LabelSmall.stories.js.map +1 -0
  188. package/lib/module/stories/Link.stories.js +26 -0
  189. package/lib/module/stories/Link.stories.js.map +1 -0
  190. package/lib/module/stories/Monospace.stories.js +26 -0
  191. package/lib/module/stories/Monospace.stories.js.map +1 -0
  192. package/lib/module/utils/accessibility.js +10 -0
  193. package/lib/module/utils/accessibility.js.map +1 -0
  194. package/lib/module/utils/fonts.js +13 -4
  195. package/lib/module/utils/fonts.js.map +1 -1
  196. package/lib/module/utils/object.js +7 -0
  197. package/lib/module/utils/object.js.map +1 -0
  198. package/lib/module/utils/textInput/index.js +17 -0
  199. package/lib/module/utils/textInput/index.js.map +1 -0
  200. package/lib/module/utils/url.js +7 -0
  201. package/lib/module/utils/url.js.map +1 -0
  202. package/lib/typescript/components/accordion/AccordionItem.d.ts +14 -0
  203. package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -0
  204. package/lib/typescript/components/accordion/index.d.ts +1 -1
  205. package/lib/typescript/components/accordion/index.d.ts.map +1 -1
  206. package/lib/typescript/components/buttons/ButtonSolid.d.ts +16 -0
  207. package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
  208. package/lib/typescript/components/common/LogoPaymentWithFallback.d.ts +27 -0
  209. package/lib/typescript/components/common/LogoPaymentWithFallback.d.ts.map +1 -0
  210. package/lib/typescript/components/index.d.ts +2 -0
  211. package/lib/typescript/components/index.d.ts.map +1 -1
  212. package/lib/typescript/components/layout/BlockButtons.d.ts +53 -0
  213. package/lib/typescript/components/layout/BlockButtons.d.ts.map +1 -0
  214. package/lib/typescript/components/layout/FooterWithButtons.d.ts +9 -0
  215. package/lib/typescript/components/layout/FooterWithButtons.d.ts.map +1 -0
  216. package/lib/typescript/components/layout/index.d.ts +1 -0
  217. package/lib/typescript/components/layout/index.d.ts.map +1 -1
  218. package/lib/typescript/components/listitems/ListItemTransaction.d.ts +13 -5
  219. package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
  220. package/lib/typescript/components/textInput/TextInput.d.ts +6 -0
  221. package/lib/typescript/components/textInput/TextInput.d.ts.map +1 -0
  222. package/lib/typescript/components/textInput/TextInputBase.d.ts +28 -0
  223. package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -0
  224. package/lib/typescript/components/textInput/TextInputPassword.d.ts +6 -0
  225. package/lib/typescript/components/textInput/TextInputPassword.d.ts.map +1 -0
  226. package/lib/typescript/components/textInput/TextInputValidation.d.ts +9 -0
  227. package/lib/typescript/components/textInput/TextInputValidation.d.ts.map +1 -0
  228. package/lib/typescript/components/textInput/index.d.ts +4 -0
  229. package/lib/typescript/components/textInput/index.d.ts.map +1 -0
  230. package/lib/typescript/core/IOAnimations.d.ts +5 -0
  231. package/lib/typescript/core/IOAnimations.d.ts.map +1 -1
  232. package/lib/typescript/core/IOShapes.d.ts +1 -0
  233. package/lib/typescript/core/IOShapes.d.ts.map +1 -1
  234. package/lib/typescript/stories/ButtonDS.stories.d.ts +14 -0
  235. package/lib/typescript/stories/ButtonDS.stories.d.ts.map +1 -0
  236. package/lib/typescript/stories/H1.stories.d.ts +19 -0
  237. package/lib/typescript/stories/H1.stories.d.ts.map +1 -0
  238. package/lib/typescript/stories/H2.stories.d.ts +19 -0
  239. package/lib/typescript/stories/H2.stories.d.ts.map +1 -0
  240. package/lib/typescript/stories/H3.stories.d.ts +19 -0
  241. package/lib/typescript/stories/H3.stories.d.ts.map +1 -0
  242. package/lib/typescript/stories/H4.stories.d.ts +19 -0
  243. package/lib/typescript/stories/H4.stories.d.ts.map +1 -0
  244. package/lib/typescript/stories/H5.stories.d.ts +27 -0
  245. package/lib/typescript/stories/H5.stories.d.ts.map +1 -0
  246. package/lib/typescript/stories/H6.stories.d.ts +19 -0
  247. package/lib/typescript/stories/H6.stories.d.ts.map +1 -0
  248. package/lib/typescript/stories/Label.stories.d.ts +19 -0
  249. package/lib/typescript/stories/Label.stories.d.ts.map +1 -0
  250. package/lib/typescript/stories/LabelSmall.stories.d.ts +21 -0
  251. package/lib/typescript/stories/LabelSmall.stories.d.ts.map +1 -0
  252. package/lib/typescript/stories/Link.stories.d.ts +21 -0
  253. package/lib/typescript/stories/Link.stories.d.ts.map +1 -0
  254. package/lib/typescript/stories/Monospace.stories.d.ts +19 -0
  255. package/lib/typescript/stories/Monospace.stories.d.ts.map +1 -0
  256. package/lib/typescript/utils/accessibility.d.ts +6 -0
  257. package/lib/typescript/utils/accessibility.d.ts.map +1 -0
  258. package/lib/typescript/utils/fonts.d.ts.map +1 -1
  259. package/lib/typescript/utils/object.d.ts +5 -0
  260. package/lib/typescript/utils/object.d.ts.map +1 -0
  261. package/lib/typescript/utils/textInput/index.d.ts +9 -0
  262. package/lib/typescript/utils/textInput/index.d.ts.map +1 -0
  263. package/lib/typescript/utils/types.d.ts +1 -0
  264. package/lib/typescript/utils/types.d.ts.map +1 -1
  265. package/lib/typescript/utils/url.d.ts +8 -0
  266. package/lib/typescript/utils/url.d.ts.map +1 -0
  267. package/package.json +25 -4
  268. package/src/components/accordion/AccordionItem.tsx +165 -0
  269. package/src/components/accordion/index.tsx +1 -1
  270. package/src/components/buttons/ButtonSolid.tsx +16 -0
  271. package/src/components/common/LogoPaymentWithFallback.tsx +60 -0
  272. package/src/components/index.tsx +2 -0
  273. package/src/components/layout/BlockButtons.tsx +142 -0
  274. package/src/components/layout/FooterWithButtons.tsx +37 -0
  275. package/src/components/layout/index.tsx +1 -0
  276. package/src/components/listitems/ListItemTransaction.tsx +86 -39
  277. package/src/components/textInput/TextInput.tsx +15 -0
  278. package/src/components/textInput/TextInputBase.tsx +327 -0
  279. package/src/components/textInput/TextInputPassword.tsx +36 -0
  280. package/src/components/textInput/TextInputValidation.tsx +71 -0
  281. package/src/components/textInput/index.tsx +3 -0
  282. package/src/core/IOAnimations.ts +5 -0
  283. package/src/core/IOShapes.ts +1 -0
  284. package/src/stories/ButtonDS.stories.ts +31 -0
  285. package/src/stories/H1.stories.ts +28 -0
  286. package/src/stories/H2.stories.ts +28 -0
  287. package/src/stories/H3.stories.ts +28 -0
  288. package/src/stories/H4.stories.ts +28 -0
  289. package/src/stories/H5.stories.ts +28 -0
  290. package/src/stories/H6.stories.ts +28 -0
  291. package/src/stories/Label.stories.ts +28 -0
  292. package/src/stories/LabelSmall.stories.ts +28 -0
  293. package/src/stories/Link.stories.ts +28 -0
  294. package/src/stories/Monospace.stories.ts +28 -0
  295. package/src/utils/accessibility.ts +17 -0
  296. package/src/utils/fonts.ts +12 -5
  297. package/src/utils/object.ts +12 -0
  298. package/src/utils/textInput/index.ts +29 -0
  299. package/src/utils/types.ts +2 -0
  300. package/src/utils/url.ts +9 -0
  301. package/lib/commonjs/components/accordion/IOAccordion.js.map +0 -1
  302. package/lib/module/components/accordion/IOAccordion.js +0 -26
  303. package/lib/module/components/accordion/IOAccordion.js.map +0 -1
  304. package/lib/typescript/components/accordion/IOAccordion.d.ts +0 -13
  305. package/lib/typescript/components/accordion/IOAccordion.d.ts.map +0 -1
  306. package/src/components/accordion/IOAccordion.tsx +0 -35
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Primary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _components = require("../components");
9
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ const meta = {
11
+ title: "Example/H1",
12
+ component: _components.H1,
13
+ parameters: {
14
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
15
+ layout: "centered",
16
+ actions: {
17
+ argTypesRegex: "^on.*"
18
+ }
19
+ },
20
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
21
+ tags: ["autodocs"]
22
+ };
23
+ var _default = meta;
24
+ exports.default = _default;
25
+ const Primary = {
26
+ args: {
27
+ accessibilityLabel: "Tap to trigger test alert",
28
+ onPress: () => _reactNative.Alert.alert("Alert", "Action triggered"),
29
+ children: "Hello World"
30
+ }
31
+ };
32
+ exports.Primary = Primary;
33
+ //# sourceMappingURL=H1.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_components","meta","title","component","H1","parameters","layout","actions","argTypesRegex","tags","_default","exports","default","Primary","args","accessibilityLabel","onPress","Alert","alert","children"],"sourceRoot":"../../../src","sources":["stories/H1.stories.ts"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA;AACA,MAAME,IAAI,GAAG;EACXC,KAAK,EAAE,YAAY;EACnBC,SAAS,EAAEC,cAAE;EACbC,UAAU,EAAE;IACV;IACAC,MAAM,EAAE,UAAU;IAClBC,OAAO,EAAE;MAAEC,aAAa,EAAE;IAAQ;EACpC,CAAC;EACD;EACAC,IAAI,EAAE,CAAC,UAAU;AACnB,CAA2B;AAAC,IAAAC,QAAA,GAEbT,IAAI;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA;AAGZ,MAAMG,OAAc,GAAG;EAC5BC,IAAI,EAAE;IACJC,kBAAkB,EAAE,2BAA2B;IAC/CC,OAAO,EAAEA,CAAA,KAAMC,kBAAK,CAACC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACvDC,QAAQ,EAAE;EACZ;AACF,CAAC;AAACR,OAAA,CAAAE,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Primary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _components = require("../components");
9
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ const meta = {
11
+ title: "Example/H2",
12
+ component: _components.H2,
13
+ parameters: {
14
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
15
+ layout: "centered",
16
+ actions: {
17
+ argTypesRegex: "^on.*"
18
+ }
19
+ },
20
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
21
+ tags: ["autodocs"]
22
+ };
23
+ var _default = meta;
24
+ exports.default = _default;
25
+ const Primary = {
26
+ args: {
27
+ accessibilityLabel: "Tap to trigger test alert",
28
+ onPress: () => _reactNative.Alert.alert("Alert", "Action triggered"),
29
+ children: "Hello World"
30
+ }
31
+ };
32
+ exports.Primary = Primary;
33
+ //# sourceMappingURL=H2.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_components","meta","title","component","H2","parameters","layout","actions","argTypesRegex","tags","_default","exports","default","Primary","args","accessibilityLabel","onPress","Alert","alert","children"],"sourceRoot":"../../../src","sources":["stories/H2.stories.ts"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA;AACA,MAAME,IAAI,GAAG;EACXC,KAAK,EAAE,YAAY;EACnBC,SAAS,EAAEC,cAAE;EACbC,UAAU,EAAE;IACV;IACAC,MAAM,EAAE,UAAU;IAClBC,OAAO,EAAE;MAAEC,aAAa,EAAE;IAAQ;EACpC,CAAC;EACD;EACAC,IAAI,EAAE,CAAC,UAAU;AACnB,CAA2B;AAAC,IAAAC,QAAA,GAEbT,IAAI;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA;AAGZ,MAAMG,OAAc,GAAG;EAC5BC,IAAI,EAAE;IACJC,kBAAkB,EAAE,2BAA2B;IAC/CC,OAAO,EAAEA,CAAA,KAAMC,kBAAK,CAACC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACvDC,QAAQ,EAAE;EACZ;AACF,CAAC;AAACR,OAAA,CAAAE,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Primary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _components = require("../components");
9
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ const meta = {
11
+ title: "Example/H3",
12
+ component: _components.H3,
13
+ parameters: {
14
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
15
+ layout: "centered",
16
+ actions: {
17
+ argTypesRegex: "^on.*"
18
+ }
19
+ },
20
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
21
+ tags: ["autodocs"]
22
+ };
23
+ var _default = meta;
24
+ exports.default = _default;
25
+ const Primary = {
26
+ args: {
27
+ accessibilityLabel: "Tap to trigger test alert",
28
+ onPress: () => _reactNative.Alert.alert("Alert", "Action triggered"),
29
+ children: "Hello World"
30
+ }
31
+ };
32
+ exports.Primary = Primary;
33
+ //# sourceMappingURL=H3.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_components","meta","title","component","H3","parameters","layout","actions","argTypesRegex","tags","_default","exports","default","Primary","args","accessibilityLabel","onPress","Alert","alert","children"],"sourceRoot":"../../../src","sources":["stories/H3.stories.ts"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA;AACA,MAAME,IAAI,GAAG;EACXC,KAAK,EAAE,YAAY;EACnBC,SAAS,EAAEC,cAAE;EACbC,UAAU,EAAE;IACV;IACAC,MAAM,EAAE,UAAU;IAClBC,OAAO,EAAE;MAAEC,aAAa,EAAE;IAAQ;EACpC,CAAC;EACD;EACAC,IAAI,EAAE,CAAC,UAAU;AACnB,CAA2B;AAAC,IAAAC,QAAA,GAEbT,IAAI;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA;AAGZ,MAAMG,OAAc,GAAG;EAC5BC,IAAI,EAAE;IACJC,kBAAkB,EAAE,2BAA2B;IAC/CC,OAAO,EAAEA,CAAA,KAAMC,kBAAK,CAACC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACvDC,QAAQ,EAAE;EACZ;AACF,CAAC;AAACR,OAAA,CAAAE,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Primary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _components = require("../components");
9
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ const meta = {
11
+ title: "Example/H4",
12
+ component: _components.H4,
13
+ parameters: {
14
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
15
+ layout: "centered",
16
+ actions: {
17
+ argTypesRegex: "^on.*"
18
+ }
19
+ },
20
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
21
+ tags: ["autodocs"]
22
+ };
23
+ var _default = meta;
24
+ exports.default = _default;
25
+ const Primary = {
26
+ args: {
27
+ accessibilityLabel: "Tap to trigger test alert",
28
+ onPress: () => _reactNative.Alert.alert("Alert", "Action triggered"),
29
+ children: "Hello World"
30
+ }
31
+ };
32
+ exports.Primary = Primary;
33
+ //# sourceMappingURL=H4.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_components","meta","title","component","H4","parameters","layout","actions","argTypesRegex","tags","_default","exports","default","Primary","args","accessibilityLabel","onPress","Alert","alert","children"],"sourceRoot":"../../../src","sources":["stories/H4.stories.ts"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA;AACA,MAAME,IAAI,GAAG;EACXC,KAAK,EAAE,YAAY;EACnBC,SAAS,EAAEC,cAAE;EACbC,UAAU,EAAE;IACV;IACAC,MAAM,EAAE,UAAU;IAClBC,OAAO,EAAE;MAAEC,aAAa,EAAE;IAAQ;EACpC,CAAC;EACD;EACAC,IAAI,EAAE,CAAC,UAAU;AACnB,CAA2B;AAAC,IAAAC,QAAA,GAEbT,IAAI;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA;AAGZ,MAAMG,OAAc,GAAG;EAC5BC,IAAI,EAAE;IACJC,kBAAkB,EAAE,2BAA2B;IAC/CC,OAAO,EAAEA,CAAA,KAAMC,kBAAK,CAACC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACvDC,QAAQ,EAAE;EACZ;AACF,CAAC;AAACR,OAAA,CAAAE,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Primary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _components = require("../components");
9
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ const meta = {
11
+ title: "Example/H5",
12
+ component: _components.H5,
13
+ parameters: {
14
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
15
+ layout: "centered",
16
+ actions: {
17
+ argTypesRegex: "^on.*"
18
+ }
19
+ },
20
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
21
+ tags: ["autodocs"]
22
+ };
23
+ var _default = meta;
24
+ exports.default = _default;
25
+ const Primary = {
26
+ args: {
27
+ accessibilityLabel: "Tap to trigger test alert",
28
+ onPress: () => _reactNative.Alert.alert("Alert", "Action triggered"),
29
+ children: "Hello World"
30
+ }
31
+ };
32
+ exports.Primary = Primary;
33
+ //# sourceMappingURL=H5.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_components","meta","title","component","H5","parameters","layout","actions","argTypesRegex","tags","_default","exports","default","Primary","args","accessibilityLabel","onPress","Alert","alert","children"],"sourceRoot":"../../../src","sources":["stories/H5.stories.ts"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA;AACA,MAAME,IAAI,GAAG;EACXC,KAAK,EAAE,YAAY;EACnBC,SAAS,EAAEC,cAAE;EACbC,UAAU,EAAE;IACV;IACAC,MAAM,EAAE,UAAU;IAClBC,OAAO,EAAE;MAAEC,aAAa,EAAE;IAAQ;EACpC,CAAC;EACD;EACAC,IAAI,EAAE,CAAC,UAAU;AACnB,CAA2B;AAAC,IAAAC,QAAA,GAEbT,IAAI;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA;AAGZ,MAAMG,OAAc,GAAG;EAC5BC,IAAI,EAAE;IACJC,kBAAkB,EAAE,2BAA2B;IAC/CC,OAAO,EAAEA,CAAA,KAAMC,kBAAK,CAACC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACvDC,QAAQ,EAAE;EACZ;AACF,CAAC;AAACR,OAAA,CAAAE,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Primary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _components = require("../components");
9
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ const meta = {
11
+ title: "Example/H6",
12
+ component: _components.H6,
13
+ parameters: {
14
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
15
+ layout: "centered",
16
+ actions: {
17
+ argTypesRegex: "^on.*"
18
+ }
19
+ },
20
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
21
+ tags: ["autodocs"]
22
+ };
23
+ var _default = meta;
24
+ exports.default = _default;
25
+ const Primary = {
26
+ args: {
27
+ accessibilityLabel: "Tap to trigger test alert",
28
+ onPress: () => _reactNative.Alert.alert("Alert", "Action triggered"),
29
+ children: "Hello World"
30
+ }
31
+ };
32
+ exports.Primary = Primary;
33
+ //# sourceMappingURL=H6.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_components","meta","title","component","H6","parameters","layout","actions","argTypesRegex","tags","_default","exports","default","Primary","args","accessibilityLabel","onPress","Alert","alert","children"],"sourceRoot":"../../../src","sources":["stories/H6.stories.ts"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA;AACA,MAAME,IAAI,GAAG;EACXC,KAAK,EAAE,YAAY;EACnBC,SAAS,EAAEC,cAAE;EACbC,UAAU,EAAE;IACV;IACAC,MAAM,EAAE,UAAU;IAClBC,OAAO,EAAE;MAAEC,aAAa,EAAE;IAAQ;EACpC,CAAC;EACD;EACAC,IAAI,EAAE,CAAC,UAAU;AACnB,CAA2B;AAAC,IAAAC,QAAA,GAEbT,IAAI;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA;AAGZ,MAAMG,OAAc,GAAG;EAC5BC,IAAI,EAAE;IACJC,kBAAkB,EAAE,2BAA2B;IAC/CC,OAAO,EAAEA,CAAA,KAAMC,kBAAK,CAACC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACvDC,QAAQ,EAAE;EACZ;AACF,CAAC;AAACR,OAAA,CAAAE,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Primary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _components = require("../components");
9
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ const meta = {
11
+ title: "Example/Label",
12
+ component: _components.Label,
13
+ parameters: {
14
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
15
+ layout: "centered",
16
+ actions: {
17
+ argTypesRegex: "^on.*"
18
+ }
19
+ },
20
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
21
+ tags: ["autodocs"]
22
+ };
23
+ var _default = meta;
24
+ exports.default = _default;
25
+ const Primary = {
26
+ args: {
27
+ accessibilityLabel: "Tap to trigger test alert",
28
+ onPress: () => _reactNative.Alert.alert("Alert", "Action triggered"),
29
+ children: "Hello World"
30
+ }
31
+ };
32
+ exports.Primary = Primary;
33
+ //# sourceMappingURL=Label.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_components","meta","title","component","Label","parameters","layout","actions","argTypesRegex","tags","_default","exports","default","Primary","args","accessibilityLabel","onPress","Alert","alert","children"],"sourceRoot":"../../../src","sources":["stories/Label.stories.ts"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA;AACA,MAAME,IAAI,GAAG;EACXC,KAAK,EAAE,eAAe;EACtBC,SAAS,EAAEC,iBAAK;EAChBC,UAAU,EAAE;IACV;IACAC,MAAM,EAAE,UAAU;IAClBC,OAAO,EAAE;MAAEC,aAAa,EAAE;IAAQ;EACpC,CAAC;EACD;EACAC,IAAI,EAAE,CAAC,UAAU;AACnB,CAA8B;AAAC,IAAAC,QAAA,GAEhBT,IAAI;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA;AAGZ,MAAMG,OAAc,GAAG;EAC5BC,IAAI,EAAE;IACJC,kBAAkB,EAAE,2BAA2B;IAC/CC,OAAO,EAAEA,CAAA,KAAMC,kBAAK,CAACC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACvDC,QAAQ,EAAE;EACZ;AACF,CAAC;AAACR,OAAA,CAAAE,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Primary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _components = require("../components");
9
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ const meta = {
11
+ title: "Example/LabelSmall",
12
+ component: _components.LabelSmall,
13
+ parameters: {
14
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
15
+ layout: "centered",
16
+ actions: {
17
+ argTypesRegex: "^on.*"
18
+ }
19
+ },
20
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
21
+ tags: ["autodocs"]
22
+ };
23
+ var _default = meta;
24
+ exports.default = _default;
25
+ const Primary = {
26
+ args: {
27
+ accessibilityLabel: "Tap to trigger test alert",
28
+ onPress: () => _reactNative.Alert.alert("Alert", "Action triggered"),
29
+ children: "Hello World"
30
+ }
31
+ };
32
+ exports.Primary = Primary;
33
+ //# sourceMappingURL=LabelSmall.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_components","meta","title","component","LabelSmall","parameters","layout","actions","argTypesRegex","tags","_default","exports","default","Primary","args","accessibilityLabel","onPress","Alert","alert","children"],"sourceRoot":"../../../src","sources":["stories/LabelSmall.stories.ts"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA;AACA,MAAME,IAAI,GAAG;EACXC,KAAK,EAAE,oBAAoB;EAC3BC,SAAS,EAAEC,sBAAU;EACrBC,UAAU,EAAE;IACV;IACAC,MAAM,EAAE,UAAU;IAClBC,OAAO,EAAE;MAAEC,aAAa,EAAE;IAAQ;EACpC,CAAC;EACD;EACAC,IAAI,EAAE,CAAC,UAAU;AACnB,CAAmC;AAAC,IAAAC,QAAA,GAErBT,IAAI;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA;AAGZ,MAAMG,OAAc,GAAG;EAC5BC,IAAI,EAAE;IACJC,kBAAkB,EAAE,2BAA2B;IAC/CC,OAAO,EAAEA,CAAA,KAAMC,kBAAK,CAACC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACvDC,QAAQ,EAAE;EACZ;AACF,CAAC;AAACR,OAAA,CAAAE,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Primary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _components = require("../components");
9
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ const meta = {
11
+ title: "Example/Link",
12
+ component: _components.Link,
13
+ parameters: {
14
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
15
+ layout: "centered",
16
+ actions: {
17
+ argTypesRegex: "^on.*"
18
+ }
19
+ },
20
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
21
+ tags: ["autodocs"]
22
+ };
23
+ var _default = meta;
24
+ exports.default = _default;
25
+ const Primary = {
26
+ args: {
27
+ accessibilityLabel: "Tap to trigger test alert",
28
+ onPress: () => _reactNative.Alert.alert("Alert", "Action triggered"),
29
+ children: "Hello World"
30
+ }
31
+ };
32
+ exports.Primary = Primary;
33
+ //# sourceMappingURL=Link.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_components","meta","title","component","Link","parameters","layout","actions","argTypesRegex","tags","_default","exports","default","Primary","args","accessibilityLabel","onPress","Alert","alert","children"],"sourceRoot":"../../../src","sources":["stories/Link.stories.ts"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA;AACA,MAAME,IAAI,GAAG;EACXC,KAAK,EAAE,cAAc;EACrBC,SAAS,EAAEC,gBAAI;EACfC,UAAU,EAAE;IACV;IACAC,MAAM,EAAE,UAAU;IAClBC,OAAO,EAAE;MAAEC,aAAa,EAAE;IAAQ;EACpC,CAAC;EACD;EACAC,IAAI,EAAE,CAAC,UAAU;AACnB,CAA6B;AAAC,IAAAC,QAAA,GAEfT,IAAI;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA;AAGZ,MAAMG,OAAc,GAAG;EAC5BC,IAAI,EAAE;IACJC,kBAAkB,EAAE,2BAA2B;IAC/CC,OAAO,EAAEA,CAAA,KAAMC,kBAAK,CAACC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACvDC,QAAQ,EAAE;EACZ;AACF,CAAC;AAACR,OAAA,CAAAE,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = exports.Primary = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _components = require("../components");
9
+ // More on how to set up stories at: https://storybook.js.org/docs/react/writing-stories/introduction#default-export
10
+ const meta = {
11
+ title: "Example/Monospace",
12
+ component: _components.Monospace,
13
+ parameters: {
14
+ // Optional parameter to center the component in the Canvas. More info: https://storybook.js.org/docs/react/configure/story-layout
15
+ layout: "centered",
16
+ actions: {
17
+ argTypesRegex: "^on.*"
18
+ }
19
+ },
20
+ // This component will have an automatically generated Autodocs entry: https://storybook.js.org/docs/react/writing-docs/autodocs
21
+ tags: ["autodocs"]
22
+ };
23
+ var _default = meta;
24
+ exports.default = _default;
25
+ const Primary = {
26
+ args: {
27
+ accessibilityLabel: "Tap to trigger test alert",
28
+ onPress: () => _reactNative.Alert.alert("Alert", "Action triggered"),
29
+ children: "Hello World"
30
+ }
31
+ };
32
+ exports.Primary = Primary;
33
+ //# sourceMappingURL=Monospace.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_components","meta","title","component","Monospace","parameters","layout","actions","argTypesRegex","tags","_default","exports","default","Primary","args","accessibilityLabel","onPress","Alert","alert","children"],"sourceRoot":"../../../src","sources":["stories/Monospace.stories.ts"],"mappings":";;;;;;AAEA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,WAAA,GAAAD,OAAA;AAEA;AACA,MAAME,IAAI,GAAG;EACXC,KAAK,EAAE,mBAAmB;EAC1BC,SAAS,EAAEC,qBAAS;EACpBC,UAAU,EAAE;IACV;IACAC,MAAM,EAAE,UAAU;IAClBC,OAAO,EAAE;MAAEC,aAAa,EAAE;IAAQ;EACpC,CAAC;EACD;EACAC,IAAI,EAAE,CAAC,UAAU;AACnB,CAAkC;AAAC,IAAAC,QAAA,GAEpBT,IAAI;AAAAU,OAAA,CAAAC,OAAA,GAAAF,QAAA;AAGZ,MAAMG,OAAc,GAAG;EAC5BC,IAAI,EAAE;IACJC,kBAAkB,EAAE,2BAA2B;IAC/CC,OAAO,EAAEA,CAAA,KAAMC,kBAAK,CAACC,KAAK,CAAC,OAAO,EAAE,kBAAkB,CAAC;IACvDC,QAAQ,EAAE;EACZ;AACF,CAAC;AAACR,OAAA,CAAAE,OAAA,GAAAA,OAAA"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getAccessibleAmountText = void 0;
7
+ var _function = require("fp-ts/lib/function");
8
+ var O = _interopRequireWildcard(require("fp-ts/lib/Option"));
9
+ var _i18nJs = _interopRequireDefault(require("i18n-js"));
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
12
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
13
+ /**
14
+ * This function is used to get the text that will be read by the screen reader
15
+ * with the correct minus symbol pronunciation.
16
+ */
17
+ const getAccessibleAmountText = amount => (0, _function.pipe)(amount, O.fromNullable, O.map(amount => amount.replace("-", _i18nJs.default.t("global.accessibility.minusSymbol"))), O.getOrElseW(() => undefined));
18
+ exports.getAccessibleAmountText = getAccessibleAmountText;
19
+ //# sourceMappingURL=accessibility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_function","require","O","_interopRequireWildcard","_i18nJs","_interopRequireDefault","obj","__esModule","default","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","getAccessibleAmountText","amount","pipe","fromNullable","map","replace","I18n","t","getOrElseW","undefined","exports"],"sourceRoot":"../../../src","sources":["utils/accessibility.ts"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,CAAA,GAAAC,uBAAA,CAAAF,OAAA;AACA,IAAAG,OAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAA2B,SAAAI,uBAAAC,GAAA,WAAAA,GAAA,IAAAA,GAAA,CAAAC,UAAA,GAAAD,GAAA,KAAAE,OAAA,EAAAF,GAAA;AAAA,SAAAG,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAP,wBAAAG,GAAA,EAAAI,WAAA,SAAAA,WAAA,IAAAJ,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAQ,KAAA,GAAAL,wBAAA,CAAAC,WAAA,OAAAI,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAT,GAAA,YAAAQ,KAAA,CAAAE,GAAA,CAAAV,GAAA,SAAAW,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAhB,GAAA,QAAAgB,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAnB,GAAA,EAAAgB,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAf,GAAA,EAAAgB,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAhB,GAAA,CAAAgB,GAAA,SAAAL,MAAA,CAAAT,OAAA,GAAAF,GAAA,MAAAQ,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAArB,GAAA,EAAAW,MAAA,YAAAA,MAAA;AAE3B;AACA;AACA;AACA;AACO,MAAMW,uBAAuB,GAAIC,MAAe,IACrD,IAAAC,cAAI,EACFD,MAAM,EACN3B,CAAC,CAAC6B,YAAY,EACd7B,CAAC,CAAC8B,GAAG,CAACH,MAAM,IACVA,MAAM,CAACI,OAAO,CAAC,GAAG,EAAEC,eAAI,CAACC,CAAC,CAAC,kCAAkC,CAAC,CAChE,CAAC,EACDjC,CAAC,CAACkC,UAAU,CAAC,MAAMC,SAAS,CAC9B,CAAC;AAACC,OAAA,CAAAV,uBAAA,GAAAA,uBAAA"}
@@ -19,14 +19,17 @@ const weightValues = ["300", "400", "600", "700"];
19
19
  const fonts = {
20
20
  TitilliumWeb: _reactNative.Platform.select({
21
21
  android: "TitilliumWeb",
22
+ web: "TitilliumWeb",
22
23
  ios: "Titillium Web"
23
24
  }),
24
25
  ReadexPro: _reactNative.Platform.select({
25
26
  android: "ReadexPro",
27
+ web: "ReadexPro",
26
28
  ios: "Readex Pro"
27
29
  }),
28
30
  RobotoMono: _reactNative.Platform.select({
29
31
  android: "RobotoMono",
32
+ web: "RobotoMono",
30
33
  ios: "Roboto Mono"
31
34
  })
32
35
  };
@@ -68,9 +71,10 @@ exports.FontStyle = FontStyle;
68
71
  const makeFontFamilyName = function (font, weight) {
69
72
  let isItalic = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
70
73
  return _reactNative.Platform.select({
71
- default: "undefined",
74
+ web: fonts[font],
72
75
  android: `${fonts[font]}-${weight || "Regular"}${isItalic ? "Italic" : ""}`,
73
- ios: fonts[font]
76
+ ios: fonts[font],
77
+ default: "undefined"
74
78
  });
75
79
  };
76
80
 
@@ -86,8 +90,10 @@ const makeFontStyleObject = function () {
86
90
  let isItalic = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
87
91
  let font = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "TitilliumWeb";
88
92
  return _reactNative.Platform.select({
89
- default: {
90
- fontFamily: "undefined"
93
+ web: {
94
+ fontFamily: makeFontFamilyName(font, weight, isItalic),
95
+ fontWeight: weight !== undefined ? fontWeightsMap[weight] : weight,
96
+ fontStyle: isItalic ? FontStyle.italic : FontStyle.normal
91
97
  },
92
98
  android: {
93
99
  fontFamily: makeFontFamilyName(font, weight, isItalic)
@@ -96,6 +102,9 @@ const makeFontStyleObject = function () {
96
102
  fontFamily: makeFontFamilyName(font, weight, isItalic),
97
103
  fontWeight: weight !== undefined ? fontWeightsMap[weight] : weight,
98
104
  fontStyle: isItalic ? FontStyle.italic : FontStyle.normal
105
+ },
106
+ default: {
107
+ fontFamily: "undefined"
99
108
  }
100
109
  });
101
110
  };
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","weights","weightValues","fonts","TitilliumWeb","Platform","select","android","ios","ReadexPro","RobotoMono","fontWeights","Light","Regular","SemiBold","Bold","exports","fontWeightsMap","FontStyle","makeFontFamilyName","font","weight","isItalic","arguments","length","undefined","default","makeFontStyleObject","fontFamily","fontWeight","fontStyle","italic","normal"],"sourceRoot":"../../../src","sources":["utils/fonts.ts"],"mappings":"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"}
1
+ {"version":3,"names":["_reactNative","require","weights","weightValues","fonts","TitilliumWeb","Platform","select","android","web","ios","ReadexPro","RobotoMono","fontWeights","Light","Regular","SemiBold","Bold","exports","fontWeightsMap","FontStyle","makeFontFamilyName","font","weight","isItalic","arguments","length","undefined","default","makeFontStyleObject","fontFamily","fontWeight","fontStyle","italic","normal"],"sourceRoot":"../../../src","sources":["utils/fonts.ts"],"mappings":"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"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.findFirstCaseInsensitive = void 0;
7
+ var A = _interopRequireWildcard(require("fp-ts/Array"));
8
+ var _function = require("fp-ts/lib/function");
9
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
10
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
11
+ const findFirstCaseInsensitive = obj => key => (0, _function.pipe)(obj, Object.entries, A.findFirst(_ref => {
12
+ let [k, _] = _ref;
13
+ return k.toLowerCase() === key.toLowerCase();
14
+ }));
15
+ exports.findFirstCaseInsensitive = findFirstCaseInsensitive;
16
+ //# sourceMappingURL=object.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["A","_interopRequireWildcard","require","_function","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","findFirstCaseInsensitive","pipe","entries","findFirst","_ref","k","_","toLowerCase","exports"],"sourceRoot":"../../../src","sources":["utils/object.ts"],"mappings":";;;;;;AAAA,IAAAA,CAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,SAAA,GAAAD,OAAA;AAA0C,SAAAE,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAJ,wBAAAQ,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV,GAAA,EAAAW,GAAA,cAAAI,IAAA,KAAAA,IAAA,CAAAV,GAAA,IAAAU,IAAA,CAAAC,GAAA,KAAAR,MAAA,CAAAC,cAAA,CAAAH,MAAA,EAAAK,GAAA,EAAAI,IAAA,YAAAT,MAAA,CAAAK,GAAA,IAAAX,GAAA,CAAAW,GAAA,SAAAL,MAAA,CAAAJ,OAAA,GAAAF,GAAA,MAAAG,KAAA,IAAAA,KAAA,CAAAa,GAAA,CAAAhB,GAAA,EAAAM,MAAA,YAAAA,MAAA;AAEnC,MAAMW,wBAAwB,GAC/BjB,GAAyB,IAC5BW,GAAW,IACV,IAAAO,cAAI,EACFlB,GAAG,EACHQ,MAAM,CAACW,OAAO,EACd5B,CAAC,CAAC6B,SAAS,CAACC,IAAA;EAAA,IAAC,CAACC,CAAC,EAAEC,CAAC,CAAC,GAAAF,IAAA;EAAA,OAAKC,CAAC,CAACE,WAAW,CAAC,CAAC,KAAKb,GAAG,CAACa,WAAW,CAAC,CAAC;AAAA,EAC/D,CAAC;AAACC,OAAA,CAAAR,wBAAA,GAAAA,wBAAA"}
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getInputPropsByType = void 0;
7
+ const getInputPropsByType = type => {
8
+ switch (type) {
9
+ case "credit-card":
10
+ return {
11
+ valueFormat: v => v.replace(/\D/g, "").replace(/\d{4}?(?=.)/g, "$& "),
12
+ textInputProps: {
13
+ autoComplete: "cc-number",
14
+ keyboardType: "numeric",
15
+ textContentType: "creditCardNumber",
16
+ inputMode: "numeric"
17
+ }
18
+ };
19
+ default:
20
+ return undefined;
21
+ }
22
+ };
23
+ exports.getInputPropsByType = getInputPropsByType;
24
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["getInputPropsByType","type","valueFormat","v","replace","textInputProps","autoComplete","keyboardType","textContentType","inputMode","undefined","exports"],"sourceRoot":"../../../../src","sources":["utils/textInput/index.ts"],"mappings":";;;;;;AAWO,MAAMA,mBAAmB,GAC9BC,IAAe,IACY;EAC3B,QAAQA,IAAI;IACV,KAAK,aAAa;MAChB,OAAO;QACLC,WAAW,EAAEC,CAAC,IAAIA,CAAC,CAACC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAACA,OAAO,CAAC,cAAc,EAAE,KAAK,CAAC;QACrEC,cAAc,EAAE;UACdC,YAAY,EAAE,WAAW;UACzBC,YAAY,EAAE,SAAS;UACvBC,eAAe,EAAE,kBAAkB;UACnCC,SAAS,EAAE;QACb;MACF,CAAC;IACH;MACE,OAAOC,SAAS;EACpB;AACF,CAAC;AAACC,OAAA,CAAAX,mBAAA,GAAAA,mBAAA"}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.isImageUri = void 0;
7
+ /**
8
+ * type guard to check if a value is an ImageURISource
9
+ * @argument value the value to check, can be anything
10
+ * @returns boolean
11
+ */
12
+ const isImageUri = value => typeof value === "object" && value !== null && "uri" in value;
13
+ exports.isImageUri = isImageUri;
14
+ //# sourceMappingURL=url.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["isImageUri","value","exports"],"sourceRoot":"../../../src","sources":["utils/url.ts"],"mappings":";;;;;;AAEA;AACA;AACA;AACA;AACA;AACO,MAAMA,UAAU,GAAIC,KAAc,IACvC,OAAOA,KAAK,KAAK,QAAQ,IAAIA,KAAK,KAAK,IAAI,IAAI,KAAK,IAAIA,KAAK;AAACC,OAAA,CAAAF,UAAA,GAAAA,UAAA"}