@pagopa/io-app-design-system 5.7.0 → 5.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (711) hide show
  1. package/README.md +65 -25
  2. package/lib/commonjs/components/accordion/AccordionItem.js +2 -1
  3. package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
  4. package/lib/commonjs/components/alert/Alert.js +5 -4
  5. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  6. package/lib/commonjs/components/avatar/Avatar.js +2 -1
  7. package/lib/commonjs/components/avatar/Avatar.js.map +1 -1
  8. package/lib/commonjs/components/badge/Badge.js +3 -14
  9. package/lib/commonjs/components/badge/Badge.js.map +1 -1
  10. package/lib/commonjs/components/banner/Banner.js +6 -5
  11. package/lib/commonjs/components/banner/Banner.js.map +1 -1
  12. package/lib/commonjs/components/banner/BannerErrorState.js +9 -7
  13. package/lib/commonjs/components/banner/BannerErrorState.js.map +1 -1
  14. package/lib/commonjs/components/buttons/ButtonLink.js +3 -2
  15. package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
  16. package/lib/commonjs/components/buttons/ButtonOutline.js +3 -2
  17. package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
  18. package/lib/commonjs/components/buttons/ButtonSolid.js +2 -1
  19. package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
  20. package/lib/commonjs/components/buttons/IOButton/IOButton.js +2 -1
  21. package/lib/commonjs/components/buttons/IOButton/IOButton.js.map +1 -1
  22. package/lib/commonjs/components/buttons/IOButton/styles.js +45 -44
  23. package/lib/commonjs/components/buttons/IOButton/styles.js.map +1 -1
  24. package/lib/commonjs/components/buttons/IconButton.js +2 -1
  25. package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
  26. package/lib/commonjs/components/buttons/IconButtonSolid.js +4 -2
  27. package/lib/commonjs/components/buttons/IconButtonSolid.js.map +1 -1
  28. package/lib/commonjs/components/checkbox/AnimatedCheckbox.js +5 -6
  29. package/lib/commonjs/components/checkbox/AnimatedCheckbox.js.map +1 -1
  30. package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js +2 -2
  31. package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
  32. package/lib/commonjs/components/checkbox/CheckboxLabel.js +4 -4
  33. package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
  34. package/lib/commonjs/components/claimsSelector/ClaimsSelector.js +6 -5
  35. package/lib/commonjs/components/claimsSelector/ClaimsSelector.js.map +1 -1
  36. package/lib/commonjs/components/codeInput/CodeInput.js +12 -11
  37. package/lib/commonjs/components/codeInput/CodeInput.js.map +1 -1
  38. package/lib/commonjs/components/featureInfo/FeatureInfo.js +2 -2
  39. package/lib/commonjs/components/featureInfo/FeatureInfo.js.map +1 -1
  40. package/lib/commonjs/components/{layout → headers}/HeaderFirstLevel.js +4 -4
  41. package/lib/commonjs/components/headers/HeaderFirstLevel.js.map +1 -0
  42. package/lib/commonjs/components/{layout → headers}/HeaderSecondLevel.js +7 -7
  43. package/lib/commonjs/components/headers/HeaderSecondLevel.js.map +1 -0
  44. package/lib/commonjs/components/headers/ModalBSHeader.js.map +1 -0
  45. package/lib/commonjs/components/headers/README.md +10 -0
  46. package/lib/commonjs/components/headers/common.js.map +1 -0
  47. package/lib/commonjs/components/headers/index.js +50 -0
  48. package/lib/commonjs/components/headers/index.js.map +1 -0
  49. package/lib/commonjs/components/index.js +22 -44
  50. package/lib/commonjs/components/index.js.map +1 -1
  51. package/lib/commonjs/components/layout/ContentWrapper.js.map +1 -0
  52. package/lib/commonjs/components/{divider → layout}/Divider.js +4 -3
  53. package/lib/commonjs/components/layout/Divider.js.map +1 -0
  54. package/lib/commonjs/components/layout/FooterActions.js +6 -6
  55. package/lib/commonjs/components/layout/FooterActions.js.map +1 -1
  56. package/lib/commonjs/components/layout/FooterActionsInline.js +5 -4
  57. package/lib/commonjs/components/layout/FooterActionsInline.js.map +1 -1
  58. package/lib/commonjs/components/layout/GradientBottomActions.js +2 -2
  59. package/lib/commonjs/components/layout/GradientBottomActions.js.map +1 -1
  60. package/lib/commonjs/components/layout/README.md +93 -0
  61. package/lib/commonjs/components/{spacer → layout}/Spacer.js.map +1 -1
  62. package/lib/commonjs/components/layout/Stack.js.map +1 -0
  63. package/lib/commonjs/components/layout/index.js +34 -45
  64. package/lib/commonjs/components/layout/index.js.map +1 -1
  65. package/lib/commonjs/components/listitems/ListItemAction.js +2 -1
  66. package/lib/commonjs/components/listitems/ListItemAction.js.map +1 -1
  67. package/lib/commonjs/components/listitems/ListItemAmount.js +2 -1
  68. package/lib/commonjs/components/listitems/ListItemAmount.js.map +1 -1
  69. package/lib/commonjs/components/listitems/ListItemCheckbox.js +5 -4
  70. package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
  71. package/lib/commonjs/components/listitems/ListItemHeader.js +4 -3
  72. package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
  73. package/lib/commonjs/components/listitems/ListItemInfo.js +2 -1
  74. package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
  75. package/lib/commonjs/components/listitems/ListItemInfoCopy.js +2 -1
  76. package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
  77. package/lib/commonjs/components/listitems/ListItemNav.js +9 -8
  78. package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
  79. package/lib/commonjs/components/listitems/ListItemNavAlert.js +2 -1
  80. package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
  81. package/lib/commonjs/components/listitems/ListItemRadio.js +7 -7
  82. package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
  83. package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +7 -7
  84. package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  85. package/lib/commonjs/components/listitems/ListItemSwitch.js +6 -5
  86. package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
  87. package/lib/commonjs/components/listitems/ListItemTransaction.js +6 -5
  88. package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
  89. package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js +4 -3
  90. package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js.map +1 -1
  91. package/lib/commonjs/components/modules/ModuleAttachment.js +6 -5
  92. package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
  93. package/lib/commonjs/components/modules/ModuleCheckout.js +7 -6
  94. package/lib/commonjs/components/modules/ModuleCheckout.js.map +1 -1
  95. package/lib/commonjs/components/modules/ModuleCredential.js +3 -2
  96. package/lib/commonjs/components/modules/ModuleCredential.js.map +1 -1
  97. package/lib/commonjs/components/modules/ModuleIDP.js +4 -3
  98. package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -1
  99. package/lib/commonjs/components/modules/ModuleNavigation.js +7 -6
  100. package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
  101. package/lib/commonjs/components/modules/ModulePaymentNotice.js +7 -6
  102. package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
  103. package/lib/commonjs/components/modules/ModuleStatic.js +6 -5
  104. package/lib/commonjs/components/modules/ModuleStatic.js.map +1 -1
  105. package/lib/commonjs/components/modules/ModuleSummary.js +2 -2
  106. package/lib/commonjs/components/modules/ModuleSummary.js.map +1 -1
  107. package/lib/commonjs/components/modules/PressableModuleBase.js +2 -1
  108. package/lib/commonjs/components/modules/PressableModuleBase.js.map +1 -1
  109. package/lib/commonjs/components/numberpad/NumberButton.js +3 -2
  110. package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
  111. package/lib/commonjs/components/numberpad/NumberPad.js +3 -4
  112. package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
  113. package/lib/commonjs/components/otpInput/BoxedInput.js +7 -7
  114. package/lib/commonjs/components/otpInput/BoxedInput.js.map +1 -1
  115. package/lib/commonjs/components/otpInput/OTPInput.js +4 -4
  116. package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
  117. package/lib/commonjs/components/pictograms/Pictogram.js +16 -15
  118. package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
  119. package/lib/commonjs/components/progressLoader/ProgressLoader.js +2 -2
  120. package/lib/commonjs/components/progressLoader/ProgressLoader.js.map +1 -1
  121. package/lib/commonjs/components/radio/AnimatedRadio.js +2 -2
  122. package/lib/commonjs/components/radio/AnimatedRadio.js.map +1 -1
  123. package/lib/commonjs/components/radio/RadioButtonLabel.js +2 -2
  124. package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -1
  125. package/lib/commonjs/components/radio/RadioGroup.js +3 -3
  126. package/lib/commonjs/components/radio/RadioGroup.js.map +1 -1
  127. package/lib/commonjs/components/searchInput/SearchInput.js +3 -2
  128. package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
  129. package/lib/commonjs/components/skeleton/IOSkeleton.js +2 -1
  130. package/lib/commonjs/components/skeleton/IOSkeleton.js.map +1 -1
  131. package/lib/commonjs/components/stepper/Stepper.js +4 -3
  132. package/lib/commonjs/components/stepper/Stepper.js.map +1 -1
  133. package/lib/commonjs/components/switch/NativeSwitch.js +2 -2
  134. package/lib/commonjs/components/switch/NativeSwitch.js.map +1 -1
  135. package/lib/commonjs/components/tabs/TabItem.js +3 -2
  136. package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
  137. package/lib/commonjs/components/tag/Tag.js +7 -7
  138. package/lib/commonjs/components/tag/Tag.js.map +1 -1
  139. package/lib/commonjs/components/templates/Dismissable.js.map +1 -0
  140. package/lib/commonjs/components/{layout → templates}/ForceScrollDownView.js +3 -4
  141. package/lib/commonjs/components/templates/ForceScrollDownView.js.map +1 -0
  142. package/lib/commonjs/components/templates/README.md +19 -0
  143. package/lib/commonjs/components/templates/__test__/ForceScrollDownView.test.js.map +1 -0
  144. package/lib/commonjs/components/templates/index.js +28 -0
  145. package/lib/commonjs/components/templates/index.js.map +1 -0
  146. package/lib/commonjs/components/textInput/TextInputBase.js +7 -6
  147. package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
  148. package/lib/commonjs/components/textInput/TextInputValidation.js +2 -2
  149. package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -1
  150. package/lib/commonjs/components/toast/ToastNotification.js +4 -3
  151. package/lib/commonjs/components/toast/ToastNotification.js.map +1 -1
  152. package/lib/commonjs/components/toast/ToastProvider.js +2 -2
  153. package/lib/commonjs/components/toast/ToastProvider.js.map +1 -1
  154. package/lib/commonjs/components/tooltip/Tooltip.js +6 -5
  155. package/lib/commonjs/components/tooltip/Tooltip.js.map +1 -1
  156. package/lib/commonjs/components/typography/Body.js +3 -3
  157. package/lib/commonjs/components/typography/Body.js.map +1 -1
  158. package/lib/commonjs/components/typography/BodyMonospace.js +2 -2
  159. package/lib/commonjs/components/typography/BodyMonospace.js.map +1 -1
  160. package/lib/commonjs/components/typography/BodySmall.js +3 -3
  161. package/lib/commonjs/components/typography/BodySmall.js.map +1 -1
  162. package/lib/commonjs/components/typography/ButtonText.js +2 -2
  163. package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
  164. package/lib/commonjs/components/typography/Caption.js +3 -3
  165. package/lib/commonjs/components/typography/Caption.js.map +1 -1
  166. package/lib/commonjs/components/typography/H1.js +3 -3
  167. package/lib/commonjs/components/typography/H1.js.map +1 -1
  168. package/lib/commonjs/components/typography/H2.js +3 -3
  169. package/lib/commonjs/components/typography/H2.js.map +1 -1
  170. package/lib/commonjs/components/typography/H3.js +3 -3
  171. package/lib/commonjs/components/typography/H3.js.map +1 -1
  172. package/lib/commonjs/components/typography/H4.js +3 -3
  173. package/lib/commonjs/components/typography/H4.js.map +1 -1
  174. package/lib/commonjs/components/typography/H5.js +3 -3
  175. package/lib/commonjs/components/typography/H5.js.map +1 -1
  176. package/lib/commonjs/components/typography/H6.js +3 -3
  177. package/lib/commonjs/components/typography/H6.js.map +1 -1
  178. package/lib/commonjs/components/typography/Hero.js +3 -3
  179. package/lib/commonjs/components/typography/Hero.js.map +1 -1
  180. package/lib/commonjs/components/typography/IOText.js +2 -1
  181. package/lib/commonjs/components/typography/IOText.js.map +1 -1
  182. package/lib/commonjs/components/typography/LabelMini.js +3 -3
  183. package/lib/commonjs/components/typography/LabelMini.js.map +1 -1
  184. package/lib/commonjs/components/typography/README.md +13 -4
  185. package/lib/commonjs/components/typography/markdown/MdH1.js +3 -3
  186. package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
  187. package/lib/commonjs/components/typography/markdown/MdH2.js +3 -3
  188. package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
  189. package/lib/commonjs/components/typography/markdown/MdH3.js +3 -3
  190. package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
  191. package/lib/commonjs/context/IODSExperimentalContextProvider.js.map +1 -0
  192. package/lib/commonjs/context/IONewTypefaceContextProvider.js.map +1 -0
  193. package/lib/commonjs/{core → context}/IOThemeContextProvider.js +1 -1
  194. package/lib/commonjs/context/IOThemeContextProvider.js.map +1 -0
  195. package/lib/commonjs/context/README.md +57 -0
  196. package/lib/commonjs/context/index.js +39 -0
  197. package/lib/commonjs/context/index.js.map +1 -0
  198. package/lib/commonjs/core/index.js +0 -33
  199. package/lib/commonjs/core/index.js.map +1 -1
  200. package/lib/commonjs/functions/README.md +15 -0
  201. package/lib/commonjs/hooks/useListItemAnimation.js +2 -1
  202. package/lib/commonjs/hooks/useListItemAnimation.js.map +1 -1
  203. package/lib/commonjs/index.js +11 -0
  204. package/lib/commonjs/index.js.map +1 -1
  205. package/lib/commonjs/utils/testing.js +1 -1
  206. package/lib/commonjs/utils/testing.js.map +1 -1
  207. package/lib/module/components/accordion/AccordionItem.js +2 -1
  208. package/lib/module/components/accordion/AccordionItem.js.map +1 -1
  209. package/lib/module/components/alert/Alert.js +3 -2
  210. package/lib/module/components/alert/Alert.js.map +1 -1
  211. package/lib/module/components/avatar/Avatar.js +2 -1
  212. package/lib/module/components/avatar/Avatar.js.map +1 -1
  213. package/lib/module/components/badge/Badge.js +2 -13
  214. package/lib/module/components/badge/Badge.js.map +1 -1
  215. package/lib/module/components/banner/Banner.js +3 -2
  216. package/lib/module/components/banner/Banner.js.map +1 -1
  217. package/lib/module/components/banner/BannerErrorState.js +6 -4
  218. package/lib/module/components/banner/BannerErrorState.js.map +1 -1
  219. package/lib/module/components/buttons/ButtonLink.js +2 -1
  220. package/lib/module/components/buttons/ButtonLink.js.map +1 -1
  221. package/lib/module/components/buttons/ButtonOutline.js +2 -1
  222. package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
  223. package/lib/module/components/buttons/ButtonSolid.js +2 -1
  224. package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
  225. package/lib/module/components/buttons/IOButton/IOButton.js +2 -1
  226. package/lib/module/components/buttons/IOButton/IOButton.js.map +1 -1
  227. package/lib/module/components/buttons/IOButton/styles.js +2 -1
  228. package/lib/module/components/buttons/IOButton/styles.js.map +1 -1
  229. package/lib/module/components/buttons/IconButton.js +2 -1
  230. package/lib/module/components/buttons/IconButton.js.map +1 -1
  231. package/lib/module/components/buttons/IconButtonSolid.js +3 -2
  232. package/lib/module/components/buttons/IconButtonSolid.js.map +1 -1
  233. package/lib/module/components/checkbox/AnimatedCheckbox.js +3 -4
  234. package/lib/module/components/checkbox/AnimatedCheckbox.js.map +1 -1
  235. package/lib/module/components/checkbox/AnimatedMessageCheckbox.js +1 -1
  236. package/lib/module/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
  237. package/lib/module/components/checkbox/CheckboxLabel.js +4 -4
  238. package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
  239. package/lib/module/components/claimsSelector/ClaimsSelector.js +5 -4
  240. package/lib/module/components/claimsSelector/ClaimsSelector.js.map +1 -1
  241. package/lib/module/components/codeInput/CodeInput.js +3 -2
  242. package/lib/module/components/codeInput/CodeInput.js.map +1 -1
  243. package/lib/module/components/featureInfo/FeatureInfo.js +1 -1
  244. package/lib/module/components/featureInfo/FeatureInfo.js.map +1 -1
  245. package/lib/module/components/{layout → headers}/HeaderFirstLevel.js +4 -4
  246. package/lib/module/components/headers/HeaderFirstLevel.js.map +1 -0
  247. package/lib/module/components/{layout → headers}/HeaderSecondLevel.js +3 -3
  248. package/lib/module/components/headers/HeaderSecondLevel.js.map +1 -0
  249. package/lib/module/components/headers/ModalBSHeader.js.map +1 -0
  250. package/lib/module/components/headers/README.md +10 -0
  251. package/lib/module/components/headers/common.js.map +1 -0
  252. package/lib/module/components/headers/index.js +7 -0
  253. package/lib/module/components/headers/index.js.map +1 -0
  254. package/lib/module/components/index.js +2 -4
  255. package/lib/module/components/index.js.map +1 -1
  256. package/lib/module/components/layout/ContentWrapper.js.map +1 -0
  257. package/lib/module/components/{divider → layout}/Divider.js +3 -2
  258. package/lib/module/components/layout/Divider.js.map +1 -0
  259. package/lib/module/components/layout/FooterActions.js +4 -4
  260. package/lib/module/components/layout/FooterActions.js.map +1 -1
  261. package/lib/module/components/layout/FooterActionsInline.js +3 -2
  262. package/lib/module/components/layout/FooterActionsInline.js.map +1 -1
  263. package/lib/module/components/layout/GradientBottomActions.js +1 -1
  264. package/lib/module/components/layout/GradientBottomActions.js.map +1 -1
  265. package/lib/module/components/layout/README.md +93 -0
  266. package/lib/module/components/{spacer → layout}/Spacer.js.map +1 -1
  267. package/lib/module/components/layout/Stack.js.map +1 -0
  268. package/lib/module/components/layout/index.js +4 -5
  269. package/lib/module/components/layout/index.js.map +1 -1
  270. package/lib/module/components/listitems/ListItemAction.js +2 -1
  271. package/lib/module/components/listitems/ListItemAction.js.map +1 -1
  272. package/lib/module/components/listitems/ListItemAmount.js +2 -1
  273. package/lib/module/components/listitems/ListItemAmount.js.map +1 -1
  274. package/lib/module/components/listitems/ListItemCheckbox.js +3 -2
  275. package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
  276. package/lib/module/components/listitems/ListItemHeader.js +3 -2
  277. package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
  278. package/lib/module/components/listitems/ListItemInfo.js +2 -1
  279. package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
  280. package/lib/module/components/listitems/ListItemInfoCopy.js +2 -1
  281. package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
  282. package/lib/module/components/listitems/ListItemNav.js +3 -2
  283. package/lib/module/components/listitems/ListItemNav.js.map +1 -1
  284. package/lib/module/components/listitems/ListItemNavAlert.js +2 -1
  285. package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
  286. package/lib/module/components/listitems/ListItemRadio.js +3 -3
  287. package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
  288. package/lib/module/components/listitems/ListItemRadioWithAmount.js +4 -3
  289. package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  290. package/lib/module/components/listitems/ListItemSwitch.js +3 -2
  291. package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
  292. package/lib/module/components/listitems/ListItemTransaction.js +3 -2
  293. package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
  294. package/lib/module/components/loadingSpinner/LoadingSpinner.js +2 -1
  295. package/lib/module/components/loadingSpinner/LoadingSpinner.js.map +1 -1
  296. package/lib/module/components/modules/ModuleAttachment.js +3 -2
  297. package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
  298. package/lib/module/components/modules/ModuleCheckout.js +3 -2
  299. package/lib/module/components/modules/ModuleCheckout.js.map +1 -1
  300. package/lib/module/components/modules/ModuleCredential.js +3 -2
  301. package/lib/module/components/modules/ModuleCredential.js.map +1 -1
  302. package/lib/module/components/modules/ModuleIDP.js +2 -1
  303. package/lib/module/components/modules/ModuleIDP.js.map +1 -1
  304. package/lib/module/components/modules/ModuleNavigation.js +3 -2
  305. package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
  306. package/lib/module/components/modules/ModulePaymentNotice.js +4 -3
  307. package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
  308. package/lib/module/components/modules/ModuleStatic.js +4 -3
  309. package/lib/module/components/modules/ModuleStatic.js.map +1 -1
  310. package/lib/module/components/modules/ModuleSummary.js +1 -1
  311. package/lib/module/components/modules/ModuleSummary.js.map +1 -1
  312. package/lib/module/components/modules/PressableModuleBase.js +2 -1
  313. package/lib/module/components/modules/PressableModuleBase.js.map +1 -1
  314. package/lib/module/components/numberpad/NumberButton.js +2 -1
  315. package/lib/module/components/numberpad/NumberButton.js.map +1 -1
  316. package/lib/module/components/numberpad/NumberPad.js +1 -2
  317. package/lib/module/components/numberpad/NumberPad.js.map +1 -1
  318. package/lib/module/components/otpInput/BoxedInput.js +3 -3
  319. package/lib/module/components/otpInput/BoxedInput.js.map +1 -1
  320. package/lib/module/components/otpInput/OTPInput.js +2 -2
  321. package/lib/module/components/otpInput/OTPInput.js.map +1 -1
  322. package/lib/module/components/pictograms/Pictogram.js +2 -1
  323. package/lib/module/components/pictograms/Pictogram.js.map +1 -1
  324. package/lib/module/components/progressLoader/ProgressLoader.js +3 -3
  325. package/lib/module/components/progressLoader/ProgressLoader.js.map +1 -1
  326. package/lib/module/components/radio/AnimatedRadio.js +1 -1
  327. package/lib/module/components/radio/AnimatedRadio.js.map +1 -1
  328. package/lib/module/components/radio/RadioButtonLabel.js +3 -3
  329. package/lib/module/components/radio/RadioButtonLabel.js.map +1 -1
  330. package/lib/module/components/radio/RadioGroup.js +1 -1
  331. package/lib/module/components/radio/RadioGroup.js.map +1 -1
  332. package/lib/module/components/searchInput/SearchInput.js +2 -1
  333. package/lib/module/components/searchInput/SearchInput.js.map +1 -1
  334. package/lib/module/components/skeleton/IOSkeleton.js +2 -1
  335. package/lib/module/components/skeleton/IOSkeleton.js.map +1 -1
  336. package/lib/module/components/stepper/Stepper.js +3 -2
  337. package/lib/module/components/stepper/Stepper.js.map +1 -1
  338. package/lib/module/components/switch/NativeSwitch.js +1 -1
  339. package/lib/module/components/switch/NativeSwitch.js.map +1 -1
  340. package/lib/module/components/tabs/TabItem.js +2 -1
  341. package/lib/module/components/tabs/TabItem.js.map +1 -1
  342. package/lib/module/components/tag/Tag.js +2 -2
  343. package/lib/module/components/tag/Tag.js.map +1 -1
  344. package/lib/module/components/templates/Dismissable.js.map +1 -0
  345. package/lib/module/components/{layout → templates}/ForceScrollDownView.js +1 -2
  346. package/lib/module/components/templates/ForceScrollDownView.js.map +1 -0
  347. package/lib/module/components/templates/README.md +19 -0
  348. package/lib/module/components/templates/__test__/ForceScrollDownView.test.js.map +1 -0
  349. package/lib/module/components/templates/index.js +5 -0
  350. package/lib/module/components/templates/index.js.map +1 -0
  351. package/lib/module/components/textInput/TextInputBase.js +3 -2
  352. package/lib/module/components/textInput/TextInputBase.js.map +1 -1
  353. package/lib/module/components/textInput/TextInputValidation.js +1 -1
  354. package/lib/module/components/textInput/TextInputValidation.js.map +1 -1
  355. package/lib/module/components/toast/ToastNotification.js +3 -2
  356. package/lib/module/components/toast/ToastNotification.js.map +1 -1
  357. package/lib/module/components/toast/ToastProvider.js +1 -1
  358. package/lib/module/components/toast/ToastProvider.js.map +1 -1
  359. package/lib/module/components/tooltip/Tooltip.js +2 -1
  360. package/lib/module/components/tooltip/Tooltip.js.map +1 -1
  361. package/lib/module/components/typography/Body.js +1 -1
  362. package/lib/module/components/typography/Body.js.map +1 -1
  363. package/lib/module/components/typography/BodyMonospace.js +1 -1
  364. package/lib/module/components/typography/BodyMonospace.js.map +1 -1
  365. package/lib/module/components/typography/BodySmall.js +1 -1
  366. package/lib/module/components/typography/BodySmall.js.map +1 -1
  367. package/lib/module/components/typography/ButtonText.js +1 -1
  368. package/lib/module/components/typography/ButtonText.js.map +1 -1
  369. package/lib/module/components/typography/Caption.js +1 -1
  370. package/lib/module/components/typography/Caption.js.map +1 -1
  371. package/lib/module/components/typography/H1.js +1 -1
  372. package/lib/module/components/typography/H1.js.map +1 -1
  373. package/lib/module/components/typography/H2.js +1 -1
  374. package/lib/module/components/typography/H2.js.map +1 -1
  375. package/lib/module/components/typography/H3.js +1 -1
  376. package/lib/module/components/typography/H3.js.map +1 -1
  377. package/lib/module/components/typography/H4.js +1 -1
  378. package/lib/module/components/typography/H4.js.map +1 -1
  379. package/lib/module/components/typography/H5.js +1 -1
  380. package/lib/module/components/typography/H5.js.map +1 -1
  381. package/lib/module/components/typography/H6.js +1 -1
  382. package/lib/module/components/typography/H6.js.map +1 -1
  383. package/lib/module/components/typography/Hero.js +1 -1
  384. package/lib/module/components/typography/Hero.js.map +1 -1
  385. package/lib/module/components/typography/IOText.js +2 -1
  386. package/lib/module/components/typography/IOText.js.map +1 -1
  387. package/lib/module/components/typography/LabelMini.js +1 -1
  388. package/lib/module/components/typography/LabelMini.js.map +1 -1
  389. package/lib/module/components/typography/README.md +13 -4
  390. package/lib/module/components/typography/markdown/MdH1.js +1 -1
  391. package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
  392. package/lib/module/components/typography/markdown/MdH2.js +1 -1
  393. package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
  394. package/lib/module/components/typography/markdown/MdH3.js +1 -1
  395. package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
  396. package/lib/module/context/IODSExperimentalContextProvider.js.map +1 -0
  397. package/lib/module/context/IONewTypefaceContextProvider.js.map +1 -0
  398. package/lib/module/{core → context}/IOThemeContextProvider.js +1 -1
  399. package/lib/module/context/IOThemeContextProvider.js.map +1 -0
  400. package/lib/module/context/README.md +57 -0
  401. package/lib/module/context/index.js +6 -0
  402. package/lib/module/context/index.js.map +1 -0
  403. package/lib/module/core/index.js +0 -3
  404. package/lib/module/core/index.js.map +1 -1
  405. package/lib/module/functions/README.md +15 -0
  406. package/lib/module/hooks/useListItemAnimation.js +2 -1
  407. package/lib/module/hooks/useListItemAnimation.js.map +1 -1
  408. package/lib/module/index.js +1 -0
  409. package/lib/module/index.js.map +1 -1
  410. package/lib/module/utils/testing.js +1 -1
  411. package/lib/module/utils/testing.js.map +1 -1
  412. package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -1
  413. package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
  414. package/lib/typescript/components/badge/Badge.d.ts.map +1 -1
  415. package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
  416. package/lib/typescript/components/banner/BannerErrorState.d.ts.map +1 -1
  417. package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
  418. package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
  419. package/lib/typescript/components/buttons/IOButton/styles.d.ts.map +1 -1
  420. package/lib/typescript/components/buttons/IconButtonSolid.d.ts +1 -1
  421. package/lib/typescript/components/buttons/IconButtonSolid.d.ts.map +1 -1
  422. package/lib/typescript/components/checkbox/AnimatedCheckbox.d.ts.map +1 -1
  423. package/lib/typescript/components/checkbox/CheckboxLabel.d.ts +1 -2
  424. package/lib/typescript/components/checkbox/CheckboxLabel.d.ts.map +1 -1
  425. package/lib/typescript/components/codeInput/CodeInput.d.ts.map +1 -1
  426. package/lib/typescript/components/featureInfo/FeatureInfo.d.ts.map +1 -1
  427. package/lib/typescript/components/{layout → headers}/HeaderFirstLevel.d.ts +1 -1
  428. package/lib/typescript/components/headers/HeaderFirstLevel.d.ts.map +1 -0
  429. package/lib/typescript/components/headers/HeaderSecondLevel.d.ts.map +1 -0
  430. package/lib/typescript/components/headers/ModalBSHeader.d.ts.map +1 -0
  431. package/lib/typescript/components/headers/common.d.ts.map +1 -0
  432. package/lib/typescript/components/headers/index.d.ts +5 -0
  433. package/lib/typescript/components/headers/index.d.ts.map +1 -0
  434. package/lib/typescript/components/index.d.ts +2 -4
  435. package/lib/typescript/components/index.d.ts.map +1 -1
  436. package/lib/typescript/components/layout/ContentWrapper.d.ts.map +1 -0
  437. package/lib/typescript/components/layout/Divider.d.ts.map +1 -0
  438. package/lib/typescript/components/layout/FooterActions.d.ts +1 -2
  439. package/lib/typescript/components/layout/FooterActions.d.ts.map +1 -1
  440. package/lib/typescript/components/layout/FooterActionsInline.d.ts +1 -2
  441. package/lib/typescript/components/layout/FooterActionsInline.d.ts.map +1 -1
  442. package/lib/typescript/components/{spacer → layout}/Spacer.d.ts.map +1 -1
  443. package/lib/typescript/components/layout/Stack.d.ts.map +1 -0
  444. package/lib/typescript/components/layout/index.d.ts +4 -5
  445. package/lib/typescript/components/layout/index.d.ts.map +1 -1
  446. package/lib/typescript/components/listitems/ListItemAction.d.ts.map +1 -1
  447. package/lib/typescript/components/listitems/ListItemInfo.d.ts.map +1 -1
  448. package/lib/typescript/components/listitems/ListItemInfoCopy.d.ts.map +1 -1
  449. package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
  450. package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
  451. package/lib/typescript/components/listitems/ListItemRadio.d.ts.map +1 -1
  452. package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts +1 -1
  453. package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
  454. package/lib/typescript/components/listitems/ListItemSwitch.d.ts.map +1 -1
  455. package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
  456. package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts.map +1 -1
  457. package/lib/typescript/components/modules/ModuleAttachment.d.ts.map +1 -1
  458. package/lib/typescript/components/modules/ModuleCheckout.d.ts.map +1 -1
  459. package/lib/typescript/components/modules/ModuleIDP.d.ts.map +1 -1
  460. package/lib/typescript/components/modules/ModulePaymentNotice.d.ts +1 -1
  461. package/lib/typescript/components/modules/ModulePaymentNotice.d.ts.map +1 -1
  462. package/lib/typescript/components/modules/ModuleStatic.d.ts +1 -1
  463. package/lib/typescript/components/modules/ModuleStatic.d.ts.map +1 -1
  464. package/lib/typescript/components/modules/PressableModuleBase.d.ts.map +1 -1
  465. package/lib/typescript/components/numberpad/NumberButton.d.ts.map +1 -1
  466. package/lib/typescript/components/numberpad/NumberPad.d.ts.map +1 -1
  467. package/lib/typescript/components/otpInput/BoxedInput.d.ts +1 -1
  468. package/lib/typescript/components/otpInput/BoxedInput.d.ts.map +1 -1
  469. package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
  470. package/lib/typescript/components/progressLoader/ProgressLoader.d.ts +1 -1
  471. package/lib/typescript/components/progressLoader/ProgressLoader.d.ts.map +1 -1
  472. package/lib/typescript/components/radio/RadioButtonLabel.d.ts +1 -2
  473. package/lib/typescript/components/radio/RadioButtonLabel.d.ts.map +1 -1
  474. package/lib/typescript/components/searchInput/SearchInput.d.ts.map +1 -1
  475. package/lib/typescript/components/skeleton/IOSkeleton.d.ts.map +1 -1
  476. package/lib/typescript/components/stepper/Stepper.d.ts +1 -1
  477. package/lib/typescript/components/stepper/Stepper.d.ts.map +1 -1
  478. package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
  479. package/lib/typescript/components/tag/Tag.d.ts.map +1 -1
  480. package/lib/typescript/components/templates/Dismissable.d.ts.map +1 -0
  481. package/lib/typescript/components/{layout → templates}/ForceScrollDownView.d.ts +1 -1
  482. package/lib/typescript/components/templates/ForceScrollDownView.d.ts.map +1 -0
  483. package/lib/typescript/components/templates/__test__/ForceScrollDownView.test.d.ts.map +1 -0
  484. package/lib/typescript/components/templates/index.d.ts +3 -0
  485. package/lib/typescript/components/templates/index.d.ts.map +1 -0
  486. package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
  487. package/lib/typescript/components/toast/ToastNotification.d.ts.map +1 -1
  488. package/lib/typescript/components/tooltip/Tooltip.d.ts.map +1 -1
  489. package/lib/typescript/components/typography/ButtonText.d.ts.map +1 -1
  490. package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
  491. package/lib/typescript/context/IODSExperimentalContextProvider.d.ts.map +1 -0
  492. package/lib/typescript/context/IONewTypefaceContextProvider.d.ts.map +1 -0
  493. package/lib/typescript/{core → context}/IOThemeContextProvider.d.ts +1 -1
  494. package/lib/typescript/context/IOThemeContextProvider.d.ts.map +1 -0
  495. package/lib/typescript/context/index.d.ts +4 -0
  496. package/lib/typescript/context/index.d.ts.map +1 -0
  497. package/lib/typescript/core/index.d.ts +0 -3
  498. package/lib/typescript/core/index.d.ts.map +1 -1
  499. package/lib/typescript/hooks/useListItemAnimation.d.ts.map +1 -1
  500. package/lib/typescript/index.d.ts +1 -0
  501. package/lib/typescript/index.d.ts.map +1 -1
  502. package/package.json +1 -23
  503. package/src/components/accordion/AccordionItem.tsx +2 -1
  504. package/src/components/alert/Alert.tsx +4 -3
  505. package/src/components/avatar/Avatar.tsx +2 -2
  506. package/src/components/badge/Badge.tsx +2 -15
  507. package/src/components/banner/Banner.tsx +3 -8
  508. package/src/components/banner/BannerErrorState.tsx +6 -11
  509. package/src/components/buttons/ButtonLink.tsx +2 -3
  510. package/src/components/buttons/ButtonOutline.tsx +2 -7
  511. package/src/components/buttons/ButtonSolid.tsx +2 -2
  512. package/src/components/buttons/IOButton/IOButton.tsx +2 -2
  513. package/src/components/buttons/IOButton/styles.tsx +2 -1
  514. package/src/components/buttons/IconButton.tsx +2 -2
  515. package/src/components/buttons/IconButtonSolid.tsx +3 -2
  516. package/src/components/checkbox/AnimatedCheckbox.tsx +3 -4
  517. package/src/components/checkbox/AnimatedMessageCheckbox.tsx +1 -1
  518. package/src/components/checkbox/CheckboxLabel.tsx +4 -8
  519. package/src/components/claimsSelector/ClaimsSelector.tsx +5 -5
  520. package/src/components/codeInput/CodeInput.tsx +3 -2
  521. package/src/components/featureInfo/FeatureInfo.tsx +2 -1
  522. package/src/components/{layout → headers}/HeaderFirstLevel.tsx +4 -5
  523. package/src/components/{layout → headers}/HeaderSecondLevel.tsx +3 -5
  524. package/src/components/headers/README.md +10 -0
  525. package/src/components/headers/index.tsx +4 -0
  526. package/src/components/index.tsx +2 -4
  527. package/src/components/{divider → layout}/Divider.tsx +3 -2
  528. package/src/components/layout/FooterActions.tsx +4 -5
  529. package/src/components/layout/FooterActionsInline.tsx +3 -5
  530. package/src/components/layout/GradientBottomActions.tsx +1 -1
  531. package/src/components/layout/README.md +93 -0
  532. package/src/components/layout/index.tsx +4 -5
  533. package/src/components/listitems/ListItemAction.tsx +2 -6
  534. package/src/components/listitems/ListItemAmount.tsx +2 -2
  535. package/src/components/listitems/ListItemCheckbox.tsx +3 -3
  536. package/src/components/listitems/ListItemHeader.tsx +3 -3
  537. package/src/components/listitems/ListItemInfo.tsx +2 -5
  538. package/src/components/listitems/ListItemInfoCopy.tsx +2 -5
  539. package/src/components/listitems/ListItemNav.tsx +3 -3
  540. package/src/components/listitems/ListItemNavAlert.tsx +2 -5
  541. package/src/components/listitems/ListItemRadio.tsx +3 -4
  542. package/src/components/listitems/ListItemRadioWithAmount.tsx +4 -3
  543. package/src/components/listitems/ListItemSwitch.tsx +3 -3
  544. package/src/components/listitems/ListItemTransaction.tsx +3 -4
  545. package/src/components/loadingSpinner/LoadingSpinner.tsx +2 -1
  546. package/src/components/modules/ModuleAttachment.tsx +3 -2
  547. package/src/components/modules/ModuleCheckout.tsx +3 -6
  548. package/src/components/modules/ModuleCredential.tsx +3 -3
  549. package/src/components/modules/ModuleIDP.tsx +2 -6
  550. package/src/components/modules/ModuleNavigation.tsx +3 -3
  551. package/src/components/modules/ModulePaymentNotice.tsx +4 -3
  552. package/src/components/modules/ModuleStatic.tsx +4 -3
  553. package/src/components/modules/ModuleSummary.tsx +1 -1
  554. package/src/components/modules/PressableModuleBase.tsx +2 -6
  555. package/src/components/numberpad/NumberButton.tsx +2 -1
  556. package/src/components/numberpad/NumberPad.tsx +1 -2
  557. package/src/components/otpInput/BoxedInput.tsx +3 -3
  558. package/src/components/otpInput/OTPInput.tsx +2 -2
  559. package/src/components/pictograms/Pictogram.tsx +2 -1
  560. package/src/components/progressLoader/ProgressLoader.tsx +3 -3
  561. package/src/components/radio/AnimatedRadio.tsx +1 -1
  562. package/src/components/radio/RadioButtonLabel.tsx +3 -3
  563. package/src/components/radio/RadioGroup.tsx +1 -1
  564. package/src/components/searchInput/SearchInput.tsx +2 -7
  565. package/src/components/skeleton/IOSkeleton.tsx +2 -1
  566. package/src/components/stepper/Stepper.tsx +3 -2
  567. package/src/components/switch/NativeSwitch.tsx +1 -1
  568. package/src/components/tabs/TabItem.tsx +2 -7
  569. package/src/components/tag/Tag.tsx +5 -8
  570. package/src/components/{layout → templates}/ForceScrollDownView.tsx +1 -2
  571. package/src/components/templates/README.md +19 -0
  572. package/src/components/templates/index.tsx +2 -0
  573. package/src/components/textInput/TextInputBase.tsx +3 -8
  574. package/src/components/textInput/TextInputValidation.tsx +1 -1
  575. package/src/components/toast/ToastNotification.tsx +3 -7
  576. package/src/components/toast/ToastProvider.tsx +1 -1
  577. package/src/components/tooltip/Tooltip.tsx +2 -1
  578. package/src/components/typography/Body.tsx +1 -1
  579. package/src/components/typography/BodyMonospace.tsx +1 -1
  580. package/src/components/typography/BodySmall.tsx +1 -1
  581. package/src/components/typography/ButtonText.tsx +2 -1
  582. package/src/components/typography/Caption.tsx +1 -1
  583. package/src/components/typography/H1.tsx +1 -1
  584. package/src/components/typography/H2.tsx +1 -1
  585. package/src/components/typography/H3.tsx +1 -1
  586. package/src/components/typography/H4.tsx +1 -1
  587. package/src/components/typography/H5.tsx +1 -1
  588. package/src/components/typography/H6.tsx +1 -1
  589. package/src/components/typography/Hero.tsx +1 -1
  590. package/src/components/typography/IOText.tsx +2 -1
  591. package/src/components/typography/LabelMini.tsx +1 -1
  592. package/src/components/typography/README.md +13 -4
  593. package/src/components/typography/markdown/MdH1.tsx +1 -1
  594. package/src/components/typography/markdown/MdH2.tsx +1 -1
  595. package/src/components/typography/markdown/MdH3.tsx +1 -1
  596. package/src/{core → context}/IOThemeContextProvider.tsx +1 -1
  597. package/src/context/README.md +57 -0
  598. package/src/context/index.ts +3 -0
  599. package/src/core/index.ts +0 -3
  600. package/src/functions/README.md +15 -0
  601. package/src/hooks/useListItemAnimation.tsx +2 -1
  602. package/src/index.tsx +1 -0
  603. package/src/utils/testing.tsx +1 -1
  604. package/lib/commonjs/components/contentWrapper/ContentWrapper.js.map +0 -1
  605. package/lib/commonjs/components/contentWrapper/index.js +0 -17
  606. package/lib/commonjs/components/contentWrapper/index.js.map +0 -1
  607. package/lib/commonjs/components/divider/Divider.js.map +0 -1
  608. package/lib/commonjs/components/divider/index.js +0 -17
  609. package/lib/commonjs/components/divider/index.js.map +0 -1
  610. package/lib/commonjs/components/layout/Dismissable.js.map +0 -1
  611. package/lib/commonjs/components/layout/ForceScrollDownView.js.map +0 -1
  612. package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +0 -1
  613. package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +0 -1
  614. package/lib/commonjs/components/layout/ModalBSHeader.js.map +0 -1
  615. package/lib/commonjs/components/layout/__test__/ForceScrollDownView.test.js.map +0 -1
  616. package/lib/commonjs/components/layout/common.js.map +0 -1
  617. package/lib/commonjs/components/spacer/index.js +0 -17
  618. package/lib/commonjs/components/spacer/index.js.map +0 -1
  619. package/lib/commonjs/components/stack/Stack.js.map +0 -1
  620. package/lib/commonjs/components/stack/index.js +0 -17
  621. package/lib/commonjs/components/stack/index.js.map +0 -1
  622. package/lib/commonjs/core/IODSExperimentalContextProvider.js.map +0 -1
  623. package/lib/commonjs/core/IONewTypefaceContextProvider.js.map +0 -1
  624. package/lib/commonjs/core/IOThemeContextProvider.js.map +0 -1
  625. package/lib/module/components/contentWrapper/ContentWrapper.js.map +0 -1
  626. package/lib/module/components/contentWrapper/index.js +0 -4
  627. package/lib/module/components/contentWrapper/index.js.map +0 -1
  628. package/lib/module/components/divider/Divider.js.map +0 -1
  629. package/lib/module/components/divider/index.js +0 -4
  630. package/lib/module/components/divider/index.js.map +0 -1
  631. package/lib/module/components/layout/Dismissable.js.map +0 -1
  632. package/lib/module/components/layout/ForceScrollDownView.js.map +0 -1
  633. package/lib/module/components/layout/HeaderFirstLevel.js.map +0 -1
  634. package/lib/module/components/layout/HeaderSecondLevel.js.map +0 -1
  635. package/lib/module/components/layout/ModalBSHeader.js.map +0 -1
  636. package/lib/module/components/layout/__test__/ForceScrollDownView.test.js.map +0 -1
  637. package/lib/module/components/layout/common.js.map +0 -1
  638. package/lib/module/components/spacer/index.js +0 -4
  639. package/lib/module/components/spacer/index.js.map +0 -1
  640. package/lib/module/components/stack/Stack.js.map +0 -1
  641. package/lib/module/components/stack/index.js +0 -4
  642. package/lib/module/components/stack/index.js.map +0 -1
  643. package/lib/module/core/IODSExperimentalContextProvider.js.map +0 -1
  644. package/lib/module/core/IONewTypefaceContextProvider.js.map +0 -1
  645. package/lib/module/core/IOThemeContextProvider.js.map +0 -1
  646. package/lib/typescript/components/contentWrapper/ContentWrapper.d.ts.map +0 -1
  647. package/lib/typescript/components/contentWrapper/index.d.ts +0 -2
  648. package/lib/typescript/components/contentWrapper/index.d.ts.map +0 -1
  649. package/lib/typescript/components/divider/Divider.d.ts.map +0 -1
  650. package/lib/typescript/components/divider/index.d.ts +0 -2
  651. package/lib/typescript/components/divider/index.d.ts.map +0 -1
  652. package/lib/typescript/components/layout/Dismissable.d.ts.map +0 -1
  653. package/lib/typescript/components/layout/ForceScrollDownView.d.ts.map +0 -1
  654. package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +0 -1
  655. package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +0 -1
  656. package/lib/typescript/components/layout/ModalBSHeader.d.ts.map +0 -1
  657. package/lib/typescript/components/layout/__test__/ForceScrollDownView.test.d.ts.map +0 -1
  658. package/lib/typescript/components/layout/common.d.ts.map +0 -1
  659. package/lib/typescript/components/spacer/index.d.ts +0 -2
  660. package/lib/typescript/components/spacer/index.d.ts.map +0 -1
  661. package/lib/typescript/components/stack/Stack.d.ts.map +0 -1
  662. package/lib/typescript/components/stack/index.d.ts +0 -2
  663. package/lib/typescript/components/stack/index.d.ts.map +0 -1
  664. package/lib/typescript/core/IODSExperimentalContextProvider.d.ts.map +0 -1
  665. package/lib/typescript/core/IONewTypefaceContextProvider.d.ts.map +0 -1
  666. package/lib/typescript/core/IOThemeContextProvider.d.ts.map +0 -1
  667. package/src/components/contentWrapper/index.tsx +0 -1
  668. package/src/components/divider/index.tsx +0 -1
  669. package/src/components/spacer/index.tsx +0 -1
  670. package/src/components/stack/index.tsx +0 -1
  671. /package/lib/commonjs/components/{layout → headers}/ModalBSHeader.js +0 -0
  672. /package/lib/commonjs/components/{layout → headers}/common.js +0 -0
  673. /package/lib/commonjs/components/{contentWrapper → layout}/ContentWrapper.js +0 -0
  674. /package/lib/commonjs/components/{spacer → layout}/Spacer.js +0 -0
  675. /package/lib/commonjs/components/{stack → layout}/Stack.js +0 -0
  676. /package/lib/commonjs/components/{layout → templates}/Dismissable.js +0 -0
  677. /package/lib/commonjs/components/{layout → templates}/__test__/ForceScrollDownView.test.js +0 -0
  678. /package/lib/commonjs/components/{layout → templates}/__test__/__snapshots__/ForceScrollDownView.test.tsx.snap +0 -0
  679. /package/lib/commonjs/{core → context}/IODSExperimentalContextProvider.js +0 -0
  680. /package/lib/commonjs/{core → context}/IONewTypefaceContextProvider.js +0 -0
  681. /package/lib/module/components/{layout → headers}/ModalBSHeader.js +0 -0
  682. /package/lib/module/components/{layout → headers}/common.js +0 -0
  683. /package/lib/module/components/{contentWrapper → layout}/ContentWrapper.js +0 -0
  684. /package/lib/module/components/{spacer → layout}/Spacer.js +0 -0
  685. /package/lib/module/components/{stack → layout}/Stack.js +0 -0
  686. /package/lib/module/components/{layout → templates}/Dismissable.js +0 -0
  687. /package/lib/module/components/{layout → templates}/__test__/ForceScrollDownView.test.js +0 -0
  688. /package/lib/module/components/{layout → templates}/__test__/__snapshots__/ForceScrollDownView.test.tsx.snap +0 -0
  689. /package/lib/module/{core → context}/IODSExperimentalContextProvider.js +0 -0
  690. /package/lib/module/{core → context}/IONewTypefaceContextProvider.js +0 -0
  691. /package/lib/typescript/components/{layout → headers}/HeaderSecondLevel.d.ts +0 -0
  692. /package/lib/typescript/components/{layout → headers}/ModalBSHeader.d.ts +0 -0
  693. /package/lib/typescript/components/{layout → headers}/common.d.ts +0 -0
  694. /package/lib/typescript/components/{contentWrapper → layout}/ContentWrapper.d.ts +0 -0
  695. /package/lib/typescript/components/{divider → layout}/Divider.d.ts +0 -0
  696. /package/lib/typescript/components/{spacer → layout}/Spacer.d.ts +0 -0
  697. /package/lib/typescript/components/{stack → layout}/Stack.d.ts +0 -0
  698. /package/lib/typescript/components/{layout → templates}/Dismissable.d.ts +0 -0
  699. /package/lib/typescript/components/{layout → templates}/__test__/ForceScrollDownView.test.d.ts +0 -0
  700. /package/lib/typescript/{core → context}/IODSExperimentalContextProvider.d.ts +0 -0
  701. /package/lib/typescript/{core → context}/IONewTypefaceContextProvider.d.ts +0 -0
  702. /package/src/components/{layout → headers}/ModalBSHeader.tsx +0 -0
  703. /package/src/components/{layout → headers}/common.ts +0 -0
  704. /package/src/components/{contentWrapper → layout}/ContentWrapper.tsx +0 -0
  705. /package/src/components/{spacer → layout}/Spacer.tsx +0 -0
  706. /package/src/components/{stack → layout}/Stack.tsx +0 -0
  707. /package/src/components/{layout → templates}/Dismissable.tsx +0 -0
  708. /package/src/components/{layout → templates}/__test__/ForceScrollDownView.test.tsx +0 -0
  709. /package/src/components/{layout → templates}/__test__/__snapshots__/ForceScrollDownView.test.tsx.snap +0 -0
  710. /package/src/{core → context}/IODSExperimentalContextProvider.tsx +0 -0
  711. /package/src/{core → context}/IONewTypefaceContextProvider.tsx +0 -0
@@ -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
- IOVisualCostants,
14
- useIOTheme
14
+ IOVisualCostants
15
15
  } from "../../core";
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 {
@@ -1,11 +1,12 @@
1
- import * as React from "react";
1
+ import React from "react";
2
2
  import { GestureResponderEvent, StyleSheet, View } from "react-native";
3
- import { IOListItemVisualParams, IOSpacer, useIOTheme } from "../../core";
3
+ import { useIOTheme } from "../../context";
4
+ import { IOListItemVisualParams, IOSpacer } from "../../core";
4
5
  import { WithTestID } from "../../utils/types";
5
6
  import { Badge } from "../badge";
6
7
  import { Icon } from "../icons";
8
+ import { HStack, VStack } from "../layout";
7
9
  import { IOSkeleton } from "../skeleton";
8
- import { HStack, VStack } from "../stack";
9
10
  import { Body, BodySmall, H6 } from "../typography";
10
11
  import { ModuleStatic } from "./ModuleStatic";
11
12
  import { PressableModuleBase } from "./PressableModuleBase";
@@ -1,7 +1,8 @@
1
- import * as React from "react";
1
+ import React from "react";
2
2
  import { PressableProps, View, ViewProps } from "react-native";
3
- import { IOColors, IOModuleStyles, useIOTheme } from "../../core";
4
- import { HStack } from "../stack";
3
+ import { useIOTheme } from "../../context";
4
+ import { IOColors, IOModuleStyles } from "../../core";
5
+ import { HStack } from "../layout";
5
6
 
6
7
  type ModuleStaticProps = Pick<
7
8
  ViewProps,
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { useIOTheme } from "../../core";
3
+ import { useIOTheme } from "../../context";
4
4
  import { IOIcons, Icon } from "../icons";
5
5
  import { H6, BodySmall } from "../typography";
6
6
  import {
@@ -3,12 +3,8 @@ import { PropsWithChildren, useCallback } from "react";
3
3
  import { GestureResponderEvent, Pressable } from "react-native";
4
4
  import ReactNativeHapticFeedback from "react-native-haptic-feedback";
5
5
  import Animated, { useReducedMotion } from "react-native-reanimated";
6
- import {
7
- IOColors,
8
- IOModuleIDPSavedVSpacing,
9
- IOModuleStyles,
10
- useIOTheme
11
- } from "../../core";
6
+ import { IOColors, IOModuleIDPSavedVSpacing, IOModuleStyles } from "../../core";
7
+ import { useIOTheme } from "../../context";
12
8
  import { useScaleAnimation } from "../../hooks";
13
9
  import { WithTestID } from "../../utils/types";
14
10
 
@@ -6,7 +6,8 @@ import Animated, {
6
6
  useAnimatedStyle,
7
7
  useReducedMotion
8
8
  } from "react-native-reanimated";
9
- import { hexToRgba, IOColors, useIONewTypeface, useIOTheme } from "../../core";
9
+ import { useIONewTypeface, useIOTheme } from "../../context";
10
+ import { hexToRgba, IOColors } from "../../core";
10
11
  import { useScaleAnimation } from "../../hooks";
11
12
  import { IOText } from "../typography";
12
13
 
@@ -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 =
@@ -1,7 +1,7 @@
1
- import * as React from "react";
2
- import { useMemo } from "react";
1
+ import React, { useMemo } from "react";
3
2
  import { StyleSheet, View, ViewStyle } from "react-native";
4
- import { hexToRgba, IOColors, useIOTheme } from "../../core";
3
+ import { useIOTheme } from "../../context";
4
+ import { hexToRgba, IOColors } from "../../core/IOColors";
5
5
  import { H6, IOText } from "../typography";
6
6
 
7
7
  type Props = {
@@ -9,10 +9,10 @@ import {
9
9
  View
10
10
  } from "react-native";
11
11
  import Animated from "react-native-reanimated";
12
- import { useIOTheme } from "../../core";
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,6 +1,7 @@
1
1
  import React, { JSX, useMemo } from "react";
2
2
  import { ColorValue } from "react-native";
3
- import { IOColors, IOThemeDark, IOThemeLight, useIOTheme } from "../../core";
3
+ import { useIOTheme } from "../../context";
4
+ import { IOColors, IOThemeDark, IOThemeLight } from "../../core/IOColors";
4
5
  import { useIOFontDynamicScale } from "../../utils/accessibility";
5
6
 
6
7
  import PictogramAccessDenied from "./svg/PictogramAccessDenied";
@@ -1,12 +1,12 @@
1
- import * as React from "react";
2
- import { useEffect, useState } from "react";
1
+ import React, { useEffect, useState } from "react";
3
2
  import { View } from "react-native";
4
3
  import Animated, {
5
4
  useAnimatedStyle,
6
5
  useSharedValue,
7
6
  withSpring
8
7
  } from "react-native-reanimated";
9
- import { IOColors, IOSpringValues, useIOTheme } from "../../core";
8
+ import { useIOTheme } from "../../context";
9
+ import { IOColors, IOSpringValues } from "../../core";
10
10
 
11
11
  export type ProgressLoader = {
12
12
  progress: number;
@@ -14,7 +14,7 @@ import Animated, {
14
14
  withSpring,
15
15
  withTiming
16
16
  } from "react-native-reanimated";
17
- import { useIOTheme } from "../../core";
17
+ import { useIOTheme } from "../../context";
18
18
  import { IOSpringValues } from "../../core/IOAnimations";
19
19
  import { IOColors } from "../../core/IOColors";
20
20
  import { IOSelectionTickVisualParams } from "../../core/IOStyles";
@@ -1,7 +1,7 @@
1
- import * as React from "react";
2
- import { ComponentProps, useState } from "react";
1
+ import React, { ComponentProps, useState } from "react";
3
2
  import { Pressable, View } from "react-native";
4
- import { IOSelectionTickVisualParams, useIOTheme } from "../../core";
3
+ import { useIOTheme } from "../../context";
4
+ import { IOSelectionTickVisualParams } from "../../core";
5
5
  import { triggerHaptic } from "../../functions/haptic-feedback/hapticFeedback";
6
6
  import { useIOFontDynamicScale } from "../../utils/accessibility";
7
7
  import { H6 } from "../typography/H6";
@@ -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> = {
@@ -29,13 +29,8 @@ import Animated, {
29
29
  withTiming
30
30
  } from "react-native-reanimated";
31
31
  import { WithTestID } from "src/utils/types";
32
- import {
33
- IOColors,
34
- IOSpacingScale,
35
- IOVisualCostants,
36
- useIONewTypeface,
37
- useIOTheme
38
- } from "../../core";
32
+ import { useIONewTypeface, useIOTheme } from "../../context";
33
+ import { IOColors, IOSpacingScale, IOVisualCostants } from "../../core";
39
34
  import {
40
35
  IOFontSize,
41
36
  IOMaxFontSizeMultiplier,
@@ -7,7 +7,8 @@ import {
7
7
  ViewStyle
8
8
  } from "react-native";
9
9
  import { useReducedMotion } from "react-native-reanimated";
10
- import { IOColors, useIOTheme } from "../../core";
10
+ import { useIOTheme } from "../../context";
11
+ import { IOColors } from "../../core";
11
12
  import { WithTestID } from "../../utils/types";
12
13
 
13
14
  const ANIMATION_DURATION = 1250;
@@ -1,6 +1,7 @@
1
- import * as React from "react";
1
+ import React from "react";
2
2
  import { ColorValue, View } from "react-native";
3
- import { IOColors, IOSpacer, IOVisualCostants, useIOTheme } from "../../core";
3
+ import { useIOTheme } from "../../context";
4
+ import { IOColors, IOSpacer, IOVisualCostants } from "../../core";
4
5
 
5
6
  type StepperProps = {
6
7
  steps: number;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import { Switch, SwitchProps } from "react-native";
3
- import { useIOTheme } from "../../core";
3
+ import { useIOTheme } from "../../context";
4
4
  import { IOColors } from "../../core/IOColors";
5
5
 
6
6
  type OwnProps = Pick<
@@ -13,13 +13,8 @@ import Animated, {
13
13
  useReducedMotion,
14
14
  withSpring
15
15
  } from "react-native-reanimated";
16
- import {
17
- IOColors,
18
- IOSpringValues,
19
- hexToRgba,
20
- useIONewTypeface,
21
- useIOTheme
22
- } from "../../core";
16
+ import { useIONewTypeface, useIOTheme } from "../../context";
17
+ import { IOColors, IOSpringValues, hexToRgba } from "../../core";
23
18
  import { useScaleAnimation } from "../../hooks";
24
19
  import { WithTestID } from "../../utils/types";
25
20
  import { IOIcons, Icon } from "../icons";
@@ -1,18 +1,15 @@
1
1
  import React from "react";
2
2
  import { Platform, StyleSheet, View, ViewStyle } from "react-native";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
3
4
  import {
4
5
  IOColors,
6
+ IOSpacingScale,
7
+ IOTagHSpacing,
5
8
  IOTagRadius,
9
+ IOTagVSpacing,
6
10
  IOTheme,
7
- IOThemeLight,
8
- useIONewTypeface,
9
- useIOTheme
11
+ IOThemeLight
10
12
  } from "../../core";
11
- import {
12
- IOSpacingScale,
13
- IOTagHSpacing,
14
- IOTagVSpacing
15
- } from "../../core/IOSpacing";
16
13
  import { useIOFontDynamicScale } from "../../utils/accessibility";
17
14
  import { WithTestID } from "../../utils/types";
18
15
  import { IOIconSizeScale, IOIcons, Icon } from "../icons";
@@ -18,8 +18,7 @@ import {
18
18
  import { IOSpringValues, IOVisualCostants } from "../../core";
19
19
  import { IconButtonSolid } from "../buttons";
20
20
  import { ScaleInOutAnimation } from "../common/ScaleInOutAnimation";
21
- import { FooterActions } from "./FooterActions";
22
- import { useFooterActionsInlineMeasurements } from "./hooks";
21
+ import { FooterActions, useFooterActionsInlineMeasurements } from "../layout";
23
22
 
24
23
  type ForceScrollDownViewActions = {
25
24
  /**
@@ -0,0 +1,19 @@
1
+ # Templates
2
+
3
+ Although these templates do not provide specific instructions on how to build your screens, they offer a range of built-in features that can be easily integrated.
4
+
5
+ ## `ForceScrollDownView`
6
+
7
+ A special `ScrollView` that includes a button which forces the page to scroll to the bottom.
8
+
9
+ ### Usage
10
+
11
+ ```jsx
12
+ import { ForceScrollDownView } from "@pagopa/io-app-design-system";
13
+
14
+ const SpecialPage = () => (
15
+ <ForceScrollDownView>
16
+ { /* [Screen content] */}
17
+ </ForceScrollDownView>
18
+ );
19
+ ```
@@ -0,0 +1,2 @@
1
+ export * from "./Dismissable";
2
+ export * from "./ForceScrollDownView";
@@ -27,13 +27,8 @@ import Animated, {
27
27
  useSharedValue,
28
28
  withTiming
29
29
  } from "react-native-reanimated";
30
- import {
31
- IOColors,
32
- IOSpacingScale,
33
- hexToRgba,
34
- useIONewTypeface,
35
- useIOTheme
36
- } from "../../core";
30
+ import { useIONewTypeface, useIOTheme } from "../../context";
31
+ import { IOColors, IOSpacingScale, hexToRgba } from "../../core";
37
32
  import { useIOFontDynamicScale } from "../../utils/accessibility";
38
33
  import {
39
34
  IOFontSize,
@@ -43,7 +38,7 @@ import {
43
38
  import { RNTextInputProps, getInputPropsByType } from "../../utils/textInput";
44
39
  import { InputType, WithTestID } from "../../utils/types";
45
40
  import { IOIconSizeScale, IOIcons, Icon } from "../icons";
46
- import { HSpacer } from "../spacer";
41
+ import { HSpacer } from "../layout";
47
42
  import { BodySmall } from "../typography";
48
43
 
49
44
  type InputStatus = "initial" | "focused" | "disabled" | "error";
@@ -9,7 +9,7 @@ import {
9
9
  import { AccessibilityInfo, View } from "react-native";
10
10
  import Animated from "react-native-reanimated";
11
11
  import { TextInputValidationRefProps } from "../../utils/types";
12
- import { useIOTheme } from "../../core";
12
+ import { useIOTheme } from "../../context";
13
13
  import { IOColors } from "../../core/IOColors";
14
14
  import {
15
15
  enterTransitionInputIcon,
@@ -1,13 +1,9 @@
1
1
  import React, { useMemo } from "react";
2
2
  import { StyleSheet, View, ViewStyle } from "react-native";
3
- import {
4
- hexToRgba,
5
- IOAlertRadius,
6
- IOColors,
7
- useIOThemeContext
8
- } from "../../core";
3
+ import { useIOThemeContext } from "../../context";
4
+ import { IOAlertRadius, IOColors, hexToRgba } from "../../core";
9
5
  import { Icon } from "../icons";
10
- import { HSpacer } from "../spacer";
6
+ import { HSpacer } from "../layout";
11
7
  import { ButtonText } from "../typography";
12
8
  import { Toast, ToastVariant } from "./types";
13
9
 
@@ -14,7 +14,7 @@ import Animated, {
14
14
  } from "react-native-reanimated";
15
15
  import { IOVisualCostants } from "../../core";
16
16
  import { triggerHaptic } from "../../functions";
17
- import { Dismissable } from "../layout/Dismissable";
17
+ import { Dismissable } from "../templates";
18
18
  import { ToastNotification } from "./ToastNotification";
19
19
  import { ToastContext } from "./context";
20
20
  import { Toast } from "./types";
@@ -19,7 +19,8 @@ import {
19
19
  } from "react-native";
20
20
  import Animated, { Easing, FadeIn, FadeOut } from "react-native-reanimated";
21
21
  import { useSafeAreaInsets } from "react-native-safe-area-context";
22
- import { IOColors, useIOTheme, useIOThemeContext } from "../../core";
22
+ import { useIOTheme, useIOThemeContext } from "../../context";
23
+ import { IOColors } from "../../core/IOColors";
23
24
  import { IconButton } from "../buttons";
24
25
  import { Body, H6 } from "../typography";
25
26
  import { BottomArrow, LeftArrow, RightArrow, TopArrow } from "./Arrows";
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontFamily, IOFontWeight } from "../../utils/fonts";
5
5
  import {
6
6
  IOText,
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIOTheme } from "../../core";
3
+ import { useIOTheme } from "../../context";
4
4
  import { bodyFontSize, bodyLineHeight } from "./Body";
5
5
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontFamily, IOFontWeight } from "../../utils/fonts";
5
5
  import {
6
6
  IOText,
@@ -1,6 +1,7 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { IOColors, useIONewTypeface } from "../../core";
3
+ import { useIONewTypeface } from "../../context";
4
+ import { IOColors } from "../../core";
4
5
  import { IOFontFamily, IOFontSize } from "../../utils/fonts";
5
6
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
7
 
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontSize } from "../../utils/fonts";
5
5
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontSize } from "../../utils/fonts";
5
5
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontSize, IOFontWeight } from "../../utils/fonts";
5
5
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontSize } from "../../utils/fonts";
5
5
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontSize } from "../../utils/fonts";
5
5
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontSize } from "../../utils/fonts";
5
5
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontSize } from "../../utils/fonts";
5
5
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
6
 
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontSize } from "../../utils/fonts";
5
5
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
6
 
@@ -8,7 +8,8 @@ import {
8
8
  View
9
9
  } from "react-native";
10
10
  import Animated from "react-native-reanimated";
11
- import { IOColors, useIOTheme } from "../../core";
11
+ import { IOColors } from "../../core";
12
+ import { useIOTheme } from "../../context";
12
13
  import { useBoldTextEnabled } from "../../utils/accessibility";
13
14
  import {
14
15
  IOFontFamily,
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../context";
4
4
  import { IOFontFamily, IOFontWeight } from "../../utils/fonts";
5
5
  import {
6
6
  IOText,
@@ -2,11 +2,11 @@
2
2
 
3
3
  ## Handling font files
4
4
 
5
- The application uses the font _Titillium Sans Pro_. Fonts are handled differently than Android and iOS. To use the font, `TitilliumSansPro-Semibold` example, you must apply the following properties for Android:
5
+ Fonts are handled differently than Android and iOS. To use the font, `Titillio-Semibold` example, you must apply the following properties for Android:
6
6
 
7
7
  ```css
8
8
  {
9
- fontFamily: 'TitilliumSansPro-Semibold'
9
+ fontFamily: 'Titillio-Semibold'
10
10
  }
11
11
  ```
12
12
 
@@ -14,9 +14,18 @@ while in iOS the code to be applied is:
14
14
 
15
15
  ```css
16
16
  {
17
- fontFamily: 'Titillium Sans Pro',
17
+ fontFamily: 'Titillio',
18
18
  fontWeight: '600',
19
19
  }
20
20
  ```
21
+ The different font handling is managed by the `makeFontFamilyName` function. It's included in the [fonts.ts](../../utils/fonts.ts) file, which contains many other utility functions that simplify font management.
21
22
 
22
- To manage fonts and variants more easily, we have created utility functions within the file [fonts.ts](../../utils/fonts.ts).
23
+ ## `IOText`
24
+
25
+ This library already offers a range of predefined typographic styles, such as `H1`, `H2`, and so on. However, there may be times when you need to add a specific typographic style with visual attributes that are not included in any of the predefined styles.
26
+
27
+ In this case, you can define a custom typographic style using the `IOText` component, which is specifically designed to replace the native `Text` component.
28
+
29
+ It has some useful features:
30
+ - Built-in support for bold text, if set by the user (iOS only)
31
+ - Based on the new `IOFontSize` scale
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../../context";
4
4
  import { IOText, IOTextProps, TypographicStyleProps } from "../IOText";
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../../context";
4
4
  import { IOText, IOTextProps, TypographicStyleProps } from "../IOText";
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIONewTypeface, useIOTheme } from "../../../core";
3
+ import { useIONewTypeface, useIOTheme } from "../../../context";
4
4
  import { IOText, IOTextProps, TypographicStyleProps } from "../IOText";
5
5
 
6
6
  /**
@@ -6,7 +6,7 @@ import React, {
6
6
  useState
7
7
  } from "react";
8
8
  import { Appearance, ColorSchemeName } from "react-native";
9
- import { IOTheme, IOThemeDark, IOThemeLight } from "./IOColors";
9
+ import { IOTheme, IOThemeDark, IOThemeLight } from "../core/IOColors";
10
10
 
11
11
  export const IOThemes = { light: IOThemeLight, dark: IOThemeDark };
12
12