@pagopa/io-app-design-system 1.41.0 → 2.0.0-0

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 (659) hide show
  1. package/lib/commonjs/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +8 -32
  2. package/lib/commonjs/components/accordion/AccordionItem.js +1 -10
  3. package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
  4. package/lib/commonjs/components/alert/Alert.js +3 -16
  5. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  6. package/lib/commonjs/components/badge/Badge.js +13 -21
  7. package/lib/commonjs/components/badge/Badge.js.map +1 -1
  8. package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +16 -16
  9. package/lib/commonjs/components/badge/__test__/badge.test.js.map +1 -1
  10. package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +14 -38
  11. package/lib/commonjs/components/buttons/ButtonLink.js +10 -24
  12. package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
  13. package/lib/commonjs/components/buttons/ButtonOutline.js +14 -24
  14. package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
  15. package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +45 -60
  16. package/lib/commonjs/components/featureInfo/FeatureInfo.js +6 -7
  17. package/lib/commonjs/components/featureInfo/FeatureInfo.js.map +1 -1
  18. package/lib/commonjs/components/layout/HeaderSecondLevel.js +10 -15
  19. package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
  20. package/lib/commonjs/components/listitems/ListItemAction.js +18 -52
  21. package/lib/commonjs/components/listitems/ListItemAction.js.map +1 -1
  22. package/lib/commonjs/components/listitems/ListItemAmount.js +2 -5
  23. package/lib/commonjs/components/listitems/ListItemAmount.js.map +1 -1
  24. package/lib/commonjs/components/listitems/ListItemInfoCopy.js +6 -1
  25. package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
  26. package/lib/commonjs/components/listitems/ListItemNavAlert.js +9 -2
  27. package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
  28. package/lib/commonjs/components/listitems/ListItemSwitch.js +2 -2
  29. package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
  30. package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +91 -347
  31. package/lib/commonjs/components/modules/ModuleIDP.js +13 -20
  32. package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -1
  33. package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +30 -150
  34. package/lib/commonjs/components/otpInput/OTPInput.js +18 -1
  35. package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
  36. package/lib/commonjs/components/pictograms/Pictogram.js +0 -108
  37. package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
  38. package/lib/commonjs/components/searchInput/SearchInput.js +2 -4
  39. package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
  40. package/lib/commonjs/components/switch/SwitchLabel.js +7 -29
  41. package/lib/commonjs/components/switch/SwitchLabel.js.map +1 -1
  42. package/lib/commonjs/components/tabs/TabItem.js +3 -2
  43. package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
  44. package/lib/commonjs/components/tag/Tag.js +14 -18
  45. package/lib/commonjs/components/tag/Tag.js.map +1 -1
  46. package/lib/commonjs/components/textInput/TextInputBase.js +4 -6
  47. package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
  48. package/lib/commonjs/components/typography/BaseTypography.js +5 -1
  49. package/lib/commonjs/components/typography/BaseTypography.js.map +1 -1
  50. package/lib/commonjs/components/typography/Body.js +34 -26
  51. package/lib/commonjs/components/typography/Body.js.map +1 -1
  52. package/lib/commonjs/components/typography/BodyMonospace.js +26 -24
  53. package/lib/commonjs/components/typography/BodyMonospace.js.map +1 -1
  54. package/lib/commonjs/components/typography/ButtonText.js +25 -19
  55. package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
  56. package/lib/commonjs/components/typography/Caption.js +29 -19
  57. package/lib/commonjs/components/typography/Caption.js.map +1 -1
  58. package/lib/commonjs/components/typography/Chip.js +24 -21
  59. package/lib/commonjs/components/typography/Chip.js.map +1 -1
  60. package/lib/commonjs/components/typography/Factory.js +1 -0
  61. package/lib/commonjs/components/typography/Factory.js.map +1 -1
  62. package/lib/commonjs/components/typography/H1.js +27 -20
  63. package/lib/commonjs/components/typography/H1.js.map +1 -1
  64. package/lib/commonjs/components/typography/H2.js +27 -20
  65. package/lib/commonjs/components/typography/H2.js.map +1 -1
  66. package/lib/commonjs/components/typography/H3.js +27 -19
  67. package/lib/commonjs/components/typography/H3.js.map +1 -1
  68. package/lib/commonjs/components/typography/H4.js +27 -21
  69. package/lib/commonjs/components/typography/H4.js.map +1 -1
  70. package/lib/commonjs/components/typography/H5.js +26 -22
  71. package/lib/commonjs/components/typography/H5.js.map +1 -1
  72. package/lib/commonjs/components/typography/H6.js +25 -20
  73. package/lib/commonjs/components/typography/H6.js.map +1 -1
  74. package/lib/commonjs/components/typography/Hero.js +25 -17
  75. package/lib/commonjs/components/typography/Hero.js.map +1 -1
  76. package/lib/commonjs/components/typography/IOText.js +104 -0
  77. package/lib/commonjs/components/typography/IOText.js.map +1 -0
  78. package/lib/commonjs/components/typography/Label.js +28 -26
  79. package/lib/commonjs/components/typography/Label.js.map +1 -1
  80. package/lib/commonjs/components/typography/LabelMini.js +45 -0
  81. package/lib/commonjs/components/typography/LabelMini.js.map +1 -0
  82. package/lib/commonjs/components/typography/LabelSmall.js +30 -30
  83. package/lib/commonjs/components/typography/LabelSmall.js.map +1 -1
  84. package/lib/commonjs/components/typography/LabelSmallAlt.js +25 -20
  85. package/lib/commonjs/components/typography/LabelSmallAlt.js.map +1 -1
  86. package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +86 -551
  87. package/lib/commonjs/components/typography/__test__/typography.test.js +6 -25
  88. package/lib/commonjs/components/typography/__test__/typography.test.js.map +1 -1
  89. package/lib/commonjs/components/typography/index.js +15 -37
  90. package/lib/commonjs/components/typography/index.js.map +1 -1
  91. package/lib/commonjs/components/typography/markdown/MdH1.js +27 -16
  92. package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
  93. package/lib/commonjs/components/typography/markdown/MdH2.js +28 -18
  94. package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
  95. package/lib/commonjs/components/typography/markdown/MdH3.js +26 -16
  96. package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
  97. package/lib/commonjs/core/IOColors.js +19 -2
  98. package/lib/commonjs/core/IOColors.js.map +1 -1
  99. package/lib/commonjs/core/IOSpacing.js +6 -7
  100. package/lib/commonjs/core/IOSpacing.js.map +1 -1
  101. package/lib/commonjs/core/IOStyles.js +0 -1
  102. package/lib/commonjs/core/IOStyles.js.map +1 -1
  103. package/lib/commonjs/utils/accessibility.js +24 -1
  104. package/lib/commonjs/utils/accessibility.js.map +1 -1
  105. package/lib/commonjs/utils/fonts.js +72 -40
  106. package/lib/commonjs/utils/fonts.js.map +1 -1
  107. package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +8 -32
  108. package/lib/module/components/accordion/AccordionItem.js +3 -12
  109. package/lib/module/components/accordion/AccordionItem.js.map +1 -1
  110. package/lib/module/components/alert/Alert.js +5 -18
  111. package/lib/module/components/alert/Alert.js.map +1 -1
  112. package/lib/module/components/badge/Badge.js +15 -23
  113. package/lib/module/components/badge/Badge.js.map +1 -1
  114. package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +16 -16
  115. package/lib/module/components/badge/__test__/badge.test.js.map +1 -1
  116. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +14 -38
  117. package/lib/module/components/buttons/ButtonLink.js +12 -26
  118. package/lib/module/components/buttons/ButtonLink.js.map +1 -1
  119. package/lib/module/components/buttons/ButtonOutline.js +15 -25
  120. package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
  121. package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +45 -60
  122. package/lib/module/components/featureInfo/FeatureInfo.js +7 -8
  123. package/lib/module/components/featureInfo/FeatureInfo.js.map +1 -1
  124. package/lib/module/components/layout/HeaderSecondLevel.js +10 -15
  125. package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
  126. package/lib/module/components/listitems/ListItemAction.js +23 -57
  127. package/lib/module/components/listitems/ListItemAction.js.map +1 -1
  128. package/lib/module/components/listitems/ListItemAmount.js +2 -5
  129. package/lib/module/components/listitems/ListItemAmount.js.map +1 -1
  130. package/lib/module/components/listitems/ListItemInfoCopy.js +7 -2
  131. package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
  132. package/lib/module/components/listitems/ListItemNavAlert.js +10 -3
  133. package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
  134. package/lib/module/components/listitems/ListItemSwitch.js +3 -3
  135. package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
  136. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +91 -347
  137. package/lib/module/components/modules/ModuleIDP.js +15 -22
  138. package/lib/module/components/modules/ModuleIDP.js.map +1 -1
  139. package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +30 -150
  140. package/lib/module/components/otpInput/OTPInput.js +19 -2
  141. package/lib/module/components/otpInput/OTPInput.js.map +1 -1
  142. package/lib/module/components/pictograms/Pictogram.js +0 -108
  143. package/lib/module/components/pictograms/Pictogram.js.map +1 -1
  144. package/lib/module/components/searchInput/SearchInput.js +2 -4
  145. package/lib/module/components/searchInput/SearchInput.js.map +1 -1
  146. package/lib/module/components/switch/SwitchLabel.js +9 -31
  147. package/lib/module/components/switch/SwitchLabel.js.map +1 -1
  148. package/lib/module/components/tabs/TabItem.js +3 -2
  149. package/lib/module/components/tabs/TabItem.js.map +1 -1
  150. package/lib/module/components/tag/Tag.js +16 -20
  151. package/lib/module/components/tag/Tag.js.map +1 -1
  152. package/lib/module/components/textInput/TextInputBase.js +4 -6
  153. package/lib/module/components/textInput/TextInputBase.js.map +1 -1
  154. package/lib/module/components/typography/BaseTypography.js +5 -1
  155. package/lib/module/components/typography/BaseTypography.js.map +1 -1
  156. package/lib/module/components/typography/Body.js +31 -22
  157. package/lib/module/components/typography/Body.js.map +1 -1
  158. package/lib/module/components/typography/BodyMonospace.js +25 -23
  159. package/lib/module/components/typography/BodyMonospace.js.map +1 -1
  160. package/lib/module/components/typography/ButtonText.js +24 -19
  161. package/lib/module/components/typography/ButtonText.js.map +1 -1
  162. package/lib/module/components/typography/Caption.js +28 -19
  163. package/lib/module/components/typography/Caption.js.map +1 -1
  164. package/lib/module/components/typography/Chip.js +23 -21
  165. package/lib/module/components/typography/Chip.js.map +1 -1
  166. package/lib/module/components/typography/Factory.js +1 -0
  167. package/lib/module/components/typography/Factory.js.map +1 -1
  168. package/lib/module/components/typography/H1.js +26 -20
  169. package/lib/module/components/typography/H1.js.map +1 -1
  170. package/lib/module/components/typography/H2.js +26 -20
  171. package/lib/module/components/typography/H2.js.map +1 -1
  172. package/lib/module/components/typography/H3.js +26 -19
  173. package/lib/module/components/typography/H3.js.map +1 -1
  174. package/lib/module/components/typography/H4.js +26 -21
  175. package/lib/module/components/typography/H4.js.map +1 -1
  176. package/lib/module/components/typography/H5.js +24 -21
  177. package/lib/module/components/typography/H5.js.map +1 -1
  178. package/lib/module/components/typography/H6.js +24 -21
  179. package/lib/module/components/typography/H6.js.map +1 -1
  180. package/lib/module/components/typography/Hero.js +24 -17
  181. package/lib/module/components/typography/Hero.js.map +1 -1
  182. package/lib/module/components/typography/IOText.js +96 -0
  183. package/lib/module/components/typography/IOText.js.map +1 -0
  184. package/lib/module/components/typography/Label.js +27 -26
  185. package/lib/module/components/typography/Label.js.map +1 -1
  186. package/lib/module/components/typography/LabelMini.js +36 -0
  187. package/lib/module/components/typography/LabelMini.js.map +1 -0
  188. package/lib/module/components/typography/LabelSmall.js +29 -30
  189. package/lib/module/components/typography/LabelSmall.js.map +1 -1
  190. package/lib/module/components/typography/LabelSmallAlt.js +24 -20
  191. package/lib/module/components/typography/LabelSmallAlt.js.map +1 -1
  192. package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +86 -551
  193. package/lib/module/components/typography/__test__/typography.test.js +6 -25
  194. package/lib/module/components/typography/__test__/typography.test.js.map +1 -1
  195. package/lib/module/components/typography/index.js +2 -4
  196. package/lib/module/components/typography/index.js.map +1 -1
  197. package/lib/module/components/typography/markdown/MdH1.js +25 -15
  198. package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
  199. package/lib/module/components/typography/markdown/MdH2.js +26 -17
  200. package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
  201. package/lib/module/components/typography/markdown/MdH3.js +24 -15
  202. package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
  203. package/lib/module/core/IOColors.js +17 -1
  204. package/lib/module/core/IOColors.js.map +1 -1
  205. package/lib/module/core/IOSpacing.js +2 -6
  206. package/lib/module/core/IOSpacing.js.map +1 -1
  207. package/lib/module/core/IOStyles.js +0 -1
  208. package/lib/module/core/IOStyles.js.map +1 -1
  209. package/lib/module/utils/accessibility.js +22 -0
  210. package/lib/module/utils/accessibility.js.map +1 -1
  211. package/lib/module/utils/fonts.js +70 -36
  212. package/lib/module/utils/fonts.js.map +1 -1
  213. package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -1
  214. package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
  215. package/lib/typescript/components/badge/Badge.d.ts.map +1 -1
  216. package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
  217. package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
  218. package/lib/typescript/components/featureInfo/FeatureInfo.d.ts +6 -5
  219. package/lib/typescript/components/featureInfo/FeatureInfo.d.ts.map +1 -1
  220. package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +1 -1
  221. package/lib/typescript/components/listitems/ListItemAction.d.ts +4 -5
  222. package/lib/typescript/components/listitems/ListItemAction.d.ts.map +1 -1
  223. package/lib/typescript/components/listitems/ListItemAmount.d.ts.map +1 -1
  224. package/lib/typescript/components/listitems/ListItemInfoCopy.d.ts +4 -5
  225. package/lib/typescript/components/listitems/ListItemInfoCopy.d.ts.map +1 -1
  226. package/lib/typescript/components/listitems/ListItemNavAlert.d.ts +4 -5
  227. package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
  228. package/lib/typescript/components/modules/ModuleIDP.d.ts.map +1 -1
  229. package/lib/typescript/components/otpInput/OTPInput.d.ts +1 -0
  230. package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -1
  231. package/lib/typescript/components/pictograms/Pictogram.d.ts +0 -54
  232. package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
  233. package/lib/typescript/components/switch/SwitchLabel.d.ts.map +1 -1
  234. package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
  235. package/lib/typescript/components/tag/Tag.d.ts.map +1 -1
  236. package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
  237. package/lib/typescript/components/typography/BaseTypography.d.ts +3 -2
  238. package/lib/typescript/components/typography/BaseTypography.d.ts.map +1 -1
  239. package/lib/typescript/components/typography/Body.d.ts +5 -10
  240. package/lib/typescript/components/typography/Body.d.ts.map +1 -1
  241. package/lib/typescript/components/typography/BodyMonospace.d.ts +7 -7
  242. package/lib/typescript/components/typography/BodyMonospace.d.ts.map +1 -1
  243. package/lib/typescript/components/typography/ButtonText.d.ts +9 -10
  244. package/lib/typescript/components/typography/ButtonText.d.ts.map +1 -1
  245. package/lib/typescript/components/typography/Caption.d.ts +9 -5
  246. package/lib/typescript/components/typography/Caption.d.ts.map +1 -1
  247. package/lib/typescript/components/typography/Chip.d.ts +7 -7
  248. package/lib/typescript/components/typography/Chip.d.ts.map +1 -1
  249. package/lib/typescript/components/typography/Factory.d.ts +1 -0
  250. package/lib/typescript/components/typography/Factory.d.ts.map +1 -1
  251. package/lib/typescript/components/typography/H1.d.ts +9 -8
  252. package/lib/typescript/components/typography/H1.d.ts.map +1 -1
  253. package/lib/typescript/components/typography/H2.d.ts +9 -8
  254. package/lib/typescript/components/typography/H2.d.ts.map +1 -1
  255. package/lib/typescript/components/typography/H3.d.ts +9 -8
  256. package/lib/typescript/components/typography/H3.d.ts.map +1 -1
  257. package/lib/typescript/components/typography/H4.d.ts +9 -8
  258. package/lib/typescript/components/typography/H4.d.ts.map +1 -1
  259. package/lib/typescript/components/typography/H5.d.ts +9 -5
  260. package/lib/typescript/components/typography/H5.d.ts.map +1 -1
  261. package/lib/typescript/components/typography/H6.d.ts +9 -10
  262. package/lib/typescript/components/typography/H6.d.ts.map +1 -1
  263. package/lib/typescript/components/typography/Hero.d.ts +9 -8
  264. package/lib/typescript/components/typography/Hero.d.ts.map +1 -1
  265. package/lib/typescript/components/typography/IOText.d.ts +54 -0
  266. package/lib/typescript/components/typography/IOText.d.ts.map +1 -0
  267. package/lib/typescript/components/typography/Label.d.ts +6 -10
  268. package/lib/typescript/components/typography/Label.d.ts.map +1 -1
  269. package/lib/typescript/components/typography/LabelMini.d.ts +13 -0
  270. package/lib/typescript/components/typography/LabelMini.d.ts.map +1 -0
  271. package/lib/typescript/components/typography/LabelSmall.d.ts +5 -11
  272. package/lib/typescript/components/typography/LabelSmall.d.ts.map +1 -1
  273. package/lib/typescript/components/typography/LabelSmallAlt.d.ts +7 -10
  274. package/lib/typescript/components/typography/LabelSmallAlt.d.ts.map +1 -1
  275. package/lib/typescript/components/typography/index.d.ts +2 -4
  276. package/lib/typescript/components/typography/index.d.ts.map +1 -1
  277. package/lib/typescript/components/typography/markdown/MdH1.d.ts +9 -9
  278. package/lib/typescript/components/typography/markdown/MdH1.d.ts.map +1 -1
  279. package/lib/typescript/components/typography/markdown/MdH2.d.ts +9 -9
  280. package/lib/typescript/components/typography/markdown/MdH2.d.ts.map +1 -1
  281. package/lib/typescript/components/typography/markdown/MdH3.d.ts +9 -9
  282. package/lib/typescript/components/typography/markdown/MdH3.d.ts.map +1 -1
  283. package/lib/typescript/core/IOColors.d.ts +3 -20
  284. package/lib/typescript/core/IOColors.d.ts.map +1 -1
  285. package/lib/typescript/core/IOSpacing.d.ts +8 -7
  286. package/lib/typescript/core/IOSpacing.d.ts.map +1 -1
  287. package/lib/typescript/core/IOStyles.d.ts +6 -9
  288. package/lib/typescript/core/IOStyles.d.ts.map +1 -1
  289. package/lib/typescript/utils/accessibility.d.ts +5 -0
  290. package/lib/typescript/utils/accessibility.d.ts.map +1 -1
  291. package/lib/typescript/utils/fonts.d.ts +17 -25
  292. package/lib/typescript/utils/fonts.d.ts.map +1 -1
  293. package/lib/typescript/utils/hooks/useErrorShakeAnimation.d.ts +0 -1
  294. package/lib/typescript/utils/hooks/useErrorShakeAnimation.d.ts.map +1 -1
  295. package/lib/typescript/utils/hooks/useSpringPressProgressValue.d.ts +1 -2
  296. package/lib/typescript/utils/hooks/useSpringPressProgressValue.d.ts.map +1 -1
  297. package/package.json +2 -2
  298. package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +8 -32
  299. package/src/components/accordion/AccordionItem.tsx +2 -14
  300. package/src/components/alert/Alert.tsx +5 -18
  301. package/src/components/badge/Badge.tsx +15 -28
  302. package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +16 -16
  303. package/src/components/badge/__test__/badge.test.tsx +2 -2
  304. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +14 -38
  305. package/src/components/buttons/ButtonLink.tsx +12 -35
  306. package/src/components/buttons/ButtonOutline.tsx +14 -25
  307. package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +45 -60
  308. package/src/components/featureInfo/FeatureInfo.tsx +13 -13
  309. package/src/components/layout/HeaderSecondLevel.tsx +9 -18
  310. package/src/components/listitems/ListItemAction.tsx +28 -80
  311. package/src/components/listitems/ListItemAmount.tsx +2 -5
  312. package/src/components/listitems/ListItemInfoCopy.tsx +23 -5
  313. package/src/components/listitems/ListItemNavAlert.tsx +32 -5
  314. package/src/components/listitems/ListItemSwitch.tsx +3 -3
  315. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +91 -347
  316. package/src/components/modules/ModuleIDP.tsx +15 -32
  317. package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +30 -150
  318. package/src/components/otpInput/OTPInput.tsx +18 -2
  319. package/src/components/pictograms/Pictogram.tsx +1 -112
  320. package/src/components/searchInput/SearchInput.tsx +14 -6
  321. package/src/components/switch/SwitchLabel.tsx +6 -32
  322. package/src/components/tabs/TabItem.tsx +4 -2
  323. package/src/components/tag/Tag.tsx +22 -24
  324. package/src/components/textInput/TextInputBase.tsx +21 -8
  325. package/src/components/typography/BaseTypography.tsx +13 -4
  326. package/src/components/typography/Body.tsx +43 -38
  327. package/src/components/typography/BodyMonospace.tsx +24 -37
  328. package/src/components/typography/ButtonText.tsx +25 -35
  329. package/src/components/typography/Caption.tsx +31 -33
  330. package/src/components/typography/Chip.tsx +25 -37
  331. package/src/components/typography/Factory.tsx +1 -0
  332. package/src/components/typography/H1.tsx +31 -36
  333. package/src/components/typography/H2.tsx +31 -36
  334. package/src/components/typography/H3.tsx +30 -35
  335. package/src/components/typography/H4.tsx +31 -36
  336. package/src/components/typography/H5.tsx +26 -32
  337. package/src/components/typography/H6.tsx +30 -41
  338. package/src/components/typography/Hero.tsx +30 -33
  339. package/src/components/typography/IOText.tsx +157 -0
  340. package/src/components/typography/Label.tsx +41 -48
  341. package/src/components/typography/LabelMini.tsx +52 -0
  342. package/src/components/typography/LabelSmall.tsx +41 -63
  343. package/src/components/typography/LabelSmallAlt.tsx +28 -48
  344. package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +86 -551
  345. package/src/components/typography/__test__/typography.test.tsx +7 -31
  346. package/src/components/typography/index.tsx +2 -4
  347. package/src/components/typography/markdown/MdH1.tsx +26 -28
  348. package/src/components/typography/markdown/MdH2.tsx +27 -30
  349. package/src/components/typography/markdown/MdH3.tsx +25 -28
  350. package/src/core/IOColors.ts +31 -21
  351. package/src/core/IOSpacing.ts +26 -40
  352. package/src/core/IOStyles.ts +1 -5
  353. package/src/utils/accessibility.ts +31 -0
  354. package/src/utils/fonts.ts +93 -51
  355. package/lib/commonjs/components/pictograms/svg/PictogramAbacus.js +0 -30
  356. package/lib/commonjs/components/pictograms/svg/PictogramAbacus.js.map +0 -1
  357. package/lib/commonjs/components/pictograms/svg/PictogramAirBaloon.js +0 -36
  358. package/lib/commonjs/components/pictograms/svg/PictogramAirBaloon.js.map +0 -1
  359. package/lib/commonjs/components/pictograms/svg/PictogramAirship.js +0 -39
  360. package/lib/commonjs/components/pictograms/svg/PictogramAirship.js.map +0 -1
  361. package/lib/commonjs/components/pictograms/svg/PictogramBaloons.js +0 -41
  362. package/lib/commonjs/components/pictograms/svg/PictogramBaloons.js.map +0 -1
  363. package/lib/commonjs/components/pictograms/svg/PictogramBeerMug.js +0 -32
  364. package/lib/commonjs/components/pictograms/svg/PictogramBeerMug.js.map +0 -1
  365. package/lib/commonjs/components/pictograms/svg/PictogramEmailToValidate.js +0 -32
  366. package/lib/commonjs/components/pictograms/svg/PictogramEmailToValidate.js.map +0 -1
  367. package/lib/commonjs/components/pictograms/svg/PictogramEmailValidation.js +0 -41
  368. package/lib/commonjs/components/pictograms/svg/PictogramEmailValidation.js.map +0 -1
  369. package/lib/commonjs/components/pictograms/svg/PictogramError.js +0 -34
  370. package/lib/commonjs/components/pictograms/svg/PictogramError.js.map +0 -1
  371. package/lib/commonjs/components/pictograms/svg/PictogramFireworks.js +0 -66
  372. package/lib/commonjs/components/pictograms/svg/PictogramFireworks.js.map +0 -1
  373. package/lib/commonjs/components/pictograms/svg/PictogramHeart.js +0 -36
  374. package/lib/commonjs/components/pictograms/svg/PictogramHeart.js.map +0 -1
  375. package/lib/commonjs/components/pictograms/svg/PictogramHourglass.js +0 -39
  376. package/lib/commonjs/components/pictograms/svg/PictogramHourglass.js.map +0 -1
  377. package/lib/commonjs/components/pictograms/svg/PictogramInProgress.js +0 -36
  378. package/lib/commonjs/components/pictograms/svg/PictogramInProgress.js.map +0 -1
  379. package/lib/commonjs/components/pictograms/svg/PictogramInbox.js +0 -32
  380. package/lib/commonjs/components/pictograms/svg/PictogramInbox.js.map +0 -1
  381. package/lib/commonjs/components/pictograms/svg/PictogramMessages.js +0 -31
  382. package/lib/commonjs/components/pictograms/svg/PictogramMessages.js.map +0 -1
  383. package/lib/commonjs/components/pictograms/svg/PictogramNotAvailable.js +0 -45
  384. package/lib/commonjs/components/pictograms/svg/PictogramNotAvailable.js.map +0 -1
  385. package/lib/commonjs/components/pictograms/svg/PictogramPiggyBank.js +0 -41
  386. package/lib/commonjs/components/pictograms/svg/PictogramPiggyBank.js.map +0 -1
  387. package/lib/commonjs/components/pictograms/svg/PictogramPin.js +0 -40
  388. package/lib/commonjs/components/pictograms/svg/PictogramPin.js.map +0 -1
  389. package/lib/commonjs/components/pictograms/svg/PictogramPlaces.js +0 -67
  390. package/lib/commonjs/components/pictograms/svg/PictogramPlaces.js.map +0 -1
  391. package/lib/commonjs/components/pictograms/svg/PictogramPuzzle.js +0 -37
  392. package/lib/commonjs/components/pictograms/svg/PictogramPuzzle.js.map +0 -1
  393. package/lib/commonjs/components/pictograms/svg/PictogramQuestion.js +0 -37
  394. package/lib/commonjs/components/pictograms/svg/PictogramQuestion.js.map +0 -1
  395. package/lib/commonjs/components/pictograms/svg/PictogramSearch.js +0 -42
  396. package/lib/commonjs/components/pictograms/svg/PictogramSearch.js.map +0 -1
  397. package/lib/commonjs/components/pictograms/svg/PictogramSms.js +0 -35
  398. package/lib/commonjs/components/pictograms/svg/PictogramSms.js.map +0 -1
  399. package/lib/commonjs/components/pictograms/svg/PictogramTeaBreak.js +0 -34
  400. package/lib/commonjs/components/pictograms/svg/PictogramTeaBreak.js.map +0 -1
  401. package/lib/commonjs/components/pictograms/svg/PictogramTimeout.js +0 -34
  402. package/lib/commonjs/components/pictograms/svg/PictogramTimeout.js.map +0 -1
  403. package/lib/commonjs/components/pictograms/svg/PictogramUmbrella.js +0 -36
  404. package/lib/commonjs/components/pictograms/svg/PictogramUmbrella.js.map +0 -1
  405. package/lib/commonjs/components/pictograms/svg/PictogramUnrecognized.js +0 -29
  406. package/lib/commonjs/components/pictograms/svg/PictogramUnrecognized.js.map +0 -1
  407. package/lib/commonjs/components/pictograms/svg/PictogramUploadFile.js +0 -32
  408. package/lib/commonjs/components/pictograms/svg/PictogramUploadFile.js.map +0 -1
  409. package/lib/commonjs/components/pictograms/svg/originals/PictogramAbacus.svg +0 -8
  410. package/lib/commonjs/components/pictograms/svg/originals/PictogramAirBaloon.svg +0 -14
  411. package/lib/commonjs/components/pictograms/svg/originals/PictogramAirship.svg +0 -18
  412. package/lib/commonjs/components/pictograms/svg/originals/PictogramBaloons.svg +0 -20
  413. package/lib/commonjs/components/pictograms/svg/originals/PictogramBeerMug.svg +0 -10
  414. package/lib/commonjs/components/pictograms/svg/originals/PictogramEmailToValidate.svg +0 -10
  415. package/lib/commonjs/components/pictograms/svg/originals/PictogramEmailValidation.svg +0 -20
  416. package/lib/commonjs/components/pictograms/svg/originals/PictogramError.svg +0 -12
  417. package/lib/commonjs/components/pictograms/svg/originals/PictogramFireworks.svg +0 -52
  418. package/lib/commonjs/components/pictograms/svg/originals/PictogramHeart.svg +0 -14
  419. package/lib/commonjs/components/pictograms/svg/originals/PictogramHourglass.svg +0 -18
  420. package/lib/commonjs/components/pictograms/svg/originals/PictogramInProgress.svg +0 -14
  421. package/lib/commonjs/components/pictograms/svg/originals/PictogramInbox.svg +0 -10
  422. package/lib/commonjs/components/pictograms/svg/originals/PictogramMessages.svg +0 -8
  423. package/lib/commonjs/components/pictograms/svg/originals/PictogramNotAvailable.svg +0 -26
  424. package/lib/commonjs/components/pictograms/svg/originals/PictogramPiggyBank.svg +0 -20
  425. package/lib/commonjs/components/pictograms/svg/originals/PictogramPin.svg +0 -20
  426. package/lib/commonjs/components/pictograms/svg/originals/PictogramPlaces.svg +0 -45
  427. package/lib/commonjs/components/pictograms/svg/originals/PictogramPuzzle.svg +0 -16
  428. package/lib/commonjs/components/pictograms/svg/originals/PictogramQuestion.svg +0 -16
  429. package/lib/commonjs/components/pictograms/svg/originals/PictogramSearch.svg +0 -22
  430. package/lib/commonjs/components/pictograms/svg/originals/PictogramSms.svg +0 -14
  431. package/lib/commonjs/components/pictograms/svg/originals/PictogramTeaBreak.svg +0 -12
  432. package/lib/commonjs/components/pictograms/svg/originals/PictogramTimeout.svg +0 -12
  433. package/lib/commonjs/components/pictograms/svg/originals/PictogramUmbrella.svg +0 -14
  434. package/lib/commonjs/components/pictograms/svg/originals/PictogramUnrecognized.svg +0 -6
  435. package/lib/commonjs/components/pictograms/svg/originals/PictogramUploadFile.svg +0 -10
  436. package/lib/commonjs/components/typography/LabelHeader.js +0 -44
  437. package/lib/commonjs/components/typography/LabelHeader.js.map +0 -1
  438. package/lib/commonjs/components/typography/LabelLink.js +0 -44
  439. package/lib/commonjs/components/typography/LabelLink.js.map +0 -1
  440. package/lib/commonjs/components/typography/markdown/MdH4.js +0 -30
  441. package/lib/commonjs/components/typography/markdown/MdH4.js.map +0 -1
  442. package/lib/commonjs/components/typography/markdown/MdH5.js +0 -28
  443. package/lib/commonjs/components/typography/markdown/MdH5.js.map +0 -1
  444. package/lib/commonjs/components/typography/markdown/MdH6.js +0 -29
  445. package/lib/commonjs/components/typography/markdown/MdH6.js.map +0 -1
  446. package/lib/module/components/pictograms/svg/PictogramAbacus.js +0 -22
  447. package/lib/module/components/pictograms/svg/PictogramAbacus.js.map +0 -1
  448. package/lib/module/components/pictograms/svg/PictogramAirBaloon.js +0 -28
  449. package/lib/module/components/pictograms/svg/PictogramAirBaloon.js.map +0 -1
  450. package/lib/module/components/pictograms/svg/PictogramAirship.js +0 -31
  451. package/lib/module/components/pictograms/svg/PictogramAirship.js.map +0 -1
  452. package/lib/module/components/pictograms/svg/PictogramBaloons.js +0 -33
  453. package/lib/module/components/pictograms/svg/PictogramBaloons.js.map +0 -1
  454. package/lib/module/components/pictograms/svg/PictogramBeerMug.js +0 -24
  455. package/lib/module/components/pictograms/svg/PictogramBeerMug.js.map +0 -1
  456. package/lib/module/components/pictograms/svg/PictogramEmailToValidate.js +0 -24
  457. package/lib/module/components/pictograms/svg/PictogramEmailToValidate.js.map +0 -1
  458. package/lib/module/components/pictograms/svg/PictogramEmailValidation.js +0 -33
  459. package/lib/module/components/pictograms/svg/PictogramEmailValidation.js.map +0 -1
  460. package/lib/module/components/pictograms/svg/PictogramError.js +0 -26
  461. package/lib/module/components/pictograms/svg/PictogramError.js.map +0 -1
  462. package/lib/module/components/pictograms/svg/PictogramFireworks.js +0 -58
  463. package/lib/module/components/pictograms/svg/PictogramFireworks.js.map +0 -1
  464. package/lib/module/components/pictograms/svg/PictogramHeart.js +0 -28
  465. package/lib/module/components/pictograms/svg/PictogramHeart.js.map +0 -1
  466. package/lib/module/components/pictograms/svg/PictogramHourglass.js +0 -31
  467. package/lib/module/components/pictograms/svg/PictogramHourglass.js.map +0 -1
  468. package/lib/module/components/pictograms/svg/PictogramInProgress.js +0 -28
  469. package/lib/module/components/pictograms/svg/PictogramInProgress.js.map +0 -1
  470. package/lib/module/components/pictograms/svg/PictogramInbox.js +0 -24
  471. package/lib/module/components/pictograms/svg/PictogramInbox.js.map +0 -1
  472. package/lib/module/components/pictograms/svg/PictogramMessages.js +0 -23
  473. package/lib/module/components/pictograms/svg/PictogramMessages.js.map +0 -1
  474. package/lib/module/components/pictograms/svg/PictogramNotAvailable.js +0 -37
  475. package/lib/module/components/pictograms/svg/PictogramNotAvailable.js.map +0 -1
  476. package/lib/module/components/pictograms/svg/PictogramPiggyBank.js +0 -33
  477. package/lib/module/components/pictograms/svg/PictogramPiggyBank.js.map +0 -1
  478. package/lib/module/components/pictograms/svg/PictogramPin.js +0 -32
  479. package/lib/module/components/pictograms/svg/PictogramPin.js.map +0 -1
  480. package/lib/module/components/pictograms/svg/PictogramPlaces.js +0 -59
  481. package/lib/module/components/pictograms/svg/PictogramPlaces.js.map +0 -1
  482. package/lib/module/components/pictograms/svg/PictogramPuzzle.js +0 -29
  483. package/lib/module/components/pictograms/svg/PictogramPuzzle.js.map +0 -1
  484. package/lib/module/components/pictograms/svg/PictogramQuestion.js +0 -29
  485. package/lib/module/components/pictograms/svg/PictogramQuestion.js.map +0 -1
  486. package/lib/module/components/pictograms/svg/PictogramSearch.js +0 -34
  487. package/lib/module/components/pictograms/svg/PictogramSearch.js.map +0 -1
  488. package/lib/module/components/pictograms/svg/PictogramSms.js +0 -27
  489. package/lib/module/components/pictograms/svg/PictogramSms.js.map +0 -1
  490. package/lib/module/components/pictograms/svg/PictogramTeaBreak.js +0 -26
  491. package/lib/module/components/pictograms/svg/PictogramTeaBreak.js.map +0 -1
  492. package/lib/module/components/pictograms/svg/PictogramTimeout.js +0 -26
  493. package/lib/module/components/pictograms/svg/PictogramTimeout.js.map +0 -1
  494. package/lib/module/components/pictograms/svg/PictogramUmbrella.js +0 -28
  495. package/lib/module/components/pictograms/svg/PictogramUmbrella.js.map +0 -1
  496. package/lib/module/components/pictograms/svg/PictogramUnrecognized.js +0 -21
  497. package/lib/module/components/pictograms/svg/PictogramUnrecognized.js.map +0 -1
  498. package/lib/module/components/pictograms/svg/PictogramUploadFile.js +0 -24
  499. package/lib/module/components/pictograms/svg/PictogramUploadFile.js.map +0 -1
  500. package/lib/module/components/pictograms/svg/originals/PictogramAbacus.svg +0 -8
  501. package/lib/module/components/pictograms/svg/originals/PictogramAirBaloon.svg +0 -14
  502. package/lib/module/components/pictograms/svg/originals/PictogramAirship.svg +0 -18
  503. package/lib/module/components/pictograms/svg/originals/PictogramBaloons.svg +0 -20
  504. package/lib/module/components/pictograms/svg/originals/PictogramBeerMug.svg +0 -10
  505. package/lib/module/components/pictograms/svg/originals/PictogramEmailToValidate.svg +0 -10
  506. package/lib/module/components/pictograms/svg/originals/PictogramEmailValidation.svg +0 -20
  507. package/lib/module/components/pictograms/svg/originals/PictogramError.svg +0 -12
  508. package/lib/module/components/pictograms/svg/originals/PictogramFireworks.svg +0 -52
  509. package/lib/module/components/pictograms/svg/originals/PictogramHeart.svg +0 -14
  510. package/lib/module/components/pictograms/svg/originals/PictogramHourglass.svg +0 -18
  511. package/lib/module/components/pictograms/svg/originals/PictogramInProgress.svg +0 -14
  512. package/lib/module/components/pictograms/svg/originals/PictogramInbox.svg +0 -10
  513. package/lib/module/components/pictograms/svg/originals/PictogramMessages.svg +0 -8
  514. package/lib/module/components/pictograms/svg/originals/PictogramNotAvailable.svg +0 -26
  515. package/lib/module/components/pictograms/svg/originals/PictogramPiggyBank.svg +0 -20
  516. package/lib/module/components/pictograms/svg/originals/PictogramPin.svg +0 -20
  517. package/lib/module/components/pictograms/svg/originals/PictogramPlaces.svg +0 -45
  518. package/lib/module/components/pictograms/svg/originals/PictogramPuzzle.svg +0 -16
  519. package/lib/module/components/pictograms/svg/originals/PictogramQuestion.svg +0 -16
  520. package/lib/module/components/pictograms/svg/originals/PictogramSearch.svg +0 -22
  521. package/lib/module/components/pictograms/svg/originals/PictogramSms.svg +0 -14
  522. package/lib/module/components/pictograms/svg/originals/PictogramTeaBreak.svg +0 -12
  523. package/lib/module/components/pictograms/svg/originals/PictogramTimeout.svg +0 -12
  524. package/lib/module/components/pictograms/svg/originals/PictogramUmbrella.svg +0 -14
  525. package/lib/module/components/pictograms/svg/originals/PictogramUnrecognized.svg +0 -6
  526. package/lib/module/components/pictograms/svg/originals/PictogramUploadFile.svg +0 -10
  527. package/lib/module/components/typography/LabelHeader.js +0 -33
  528. package/lib/module/components/typography/LabelHeader.js.map +0 -1
  529. package/lib/module/components/typography/LabelLink.js +0 -33
  530. package/lib/module/components/typography/LabelLink.js.map +0 -1
  531. package/lib/module/components/typography/markdown/MdH4.js +0 -23
  532. package/lib/module/components/typography/markdown/MdH4.js.map +0 -1
  533. package/lib/module/components/typography/markdown/MdH5.js +0 -21
  534. package/lib/module/components/typography/markdown/MdH5.js.map +0 -1
  535. package/lib/module/components/typography/markdown/MdH6.js +0 -22
  536. package/lib/module/components/typography/markdown/MdH6.js.map +0 -1
  537. package/lib/typescript/components/pictograms/svg/PictogramAbacus.d.ts +0 -5
  538. package/lib/typescript/components/pictograms/svg/PictogramAbacus.d.ts.map +0 -1
  539. package/lib/typescript/components/pictograms/svg/PictogramAirBaloon.d.ts +0 -5
  540. package/lib/typescript/components/pictograms/svg/PictogramAirBaloon.d.ts.map +0 -1
  541. package/lib/typescript/components/pictograms/svg/PictogramAirship.d.ts +0 -5
  542. package/lib/typescript/components/pictograms/svg/PictogramAirship.d.ts.map +0 -1
  543. package/lib/typescript/components/pictograms/svg/PictogramBaloons.d.ts +0 -5
  544. package/lib/typescript/components/pictograms/svg/PictogramBaloons.d.ts.map +0 -1
  545. package/lib/typescript/components/pictograms/svg/PictogramBeerMug.d.ts +0 -5
  546. package/lib/typescript/components/pictograms/svg/PictogramBeerMug.d.ts.map +0 -1
  547. package/lib/typescript/components/pictograms/svg/PictogramEmailToValidate.d.ts +0 -5
  548. package/lib/typescript/components/pictograms/svg/PictogramEmailToValidate.d.ts.map +0 -1
  549. package/lib/typescript/components/pictograms/svg/PictogramEmailValidation.d.ts +0 -5
  550. package/lib/typescript/components/pictograms/svg/PictogramEmailValidation.d.ts.map +0 -1
  551. package/lib/typescript/components/pictograms/svg/PictogramError.d.ts +0 -5
  552. package/lib/typescript/components/pictograms/svg/PictogramError.d.ts.map +0 -1
  553. package/lib/typescript/components/pictograms/svg/PictogramFireworks.d.ts +0 -5
  554. package/lib/typescript/components/pictograms/svg/PictogramFireworks.d.ts.map +0 -1
  555. package/lib/typescript/components/pictograms/svg/PictogramHeart.d.ts +0 -5
  556. package/lib/typescript/components/pictograms/svg/PictogramHeart.d.ts.map +0 -1
  557. package/lib/typescript/components/pictograms/svg/PictogramHourglass.d.ts +0 -5
  558. package/lib/typescript/components/pictograms/svg/PictogramHourglass.d.ts.map +0 -1
  559. package/lib/typescript/components/pictograms/svg/PictogramInProgress.d.ts +0 -5
  560. package/lib/typescript/components/pictograms/svg/PictogramInProgress.d.ts.map +0 -1
  561. package/lib/typescript/components/pictograms/svg/PictogramInbox.d.ts +0 -5
  562. package/lib/typescript/components/pictograms/svg/PictogramInbox.d.ts.map +0 -1
  563. package/lib/typescript/components/pictograms/svg/PictogramMessages.d.ts +0 -5
  564. package/lib/typescript/components/pictograms/svg/PictogramMessages.d.ts.map +0 -1
  565. package/lib/typescript/components/pictograms/svg/PictogramNotAvailable.d.ts +0 -5
  566. package/lib/typescript/components/pictograms/svg/PictogramNotAvailable.d.ts.map +0 -1
  567. package/lib/typescript/components/pictograms/svg/PictogramPiggyBank.d.ts +0 -5
  568. package/lib/typescript/components/pictograms/svg/PictogramPiggyBank.d.ts.map +0 -1
  569. package/lib/typescript/components/pictograms/svg/PictogramPin.d.ts +0 -5
  570. package/lib/typescript/components/pictograms/svg/PictogramPin.d.ts.map +0 -1
  571. package/lib/typescript/components/pictograms/svg/PictogramPlaces.d.ts +0 -5
  572. package/lib/typescript/components/pictograms/svg/PictogramPlaces.d.ts.map +0 -1
  573. package/lib/typescript/components/pictograms/svg/PictogramPuzzle.d.ts +0 -5
  574. package/lib/typescript/components/pictograms/svg/PictogramPuzzle.d.ts.map +0 -1
  575. package/lib/typescript/components/pictograms/svg/PictogramQuestion.d.ts +0 -5
  576. package/lib/typescript/components/pictograms/svg/PictogramQuestion.d.ts.map +0 -1
  577. package/lib/typescript/components/pictograms/svg/PictogramSearch.d.ts +0 -5
  578. package/lib/typescript/components/pictograms/svg/PictogramSearch.d.ts.map +0 -1
  579. package/lib/typescript/components/pictograms/svg/PictogramSms.d.ts +0 -5
  580. package/lib/typescript/components/pictograms/svg/PictogramSms.d.ts.map +0 -1
  581. package/lib/typescript/components/pictograms/svg/PictogramTeaBreak.d.ts +0 -5
  582. package/lib/typescript/components/pictograms/svg/PictogramTeaBreak.d.ts.map +0 -1
  583. package/lib/typescript/components/pictograms/svg/PictogramTimeout.d.ts +0 -5
  584. package/lib/typescript/components/pictograms/svg/PictogramTimeout.d.ts.map +0 -1
  585. package/lib/typescript/components/pictograms/svg/PictogramUmbrella.d.ts +0 -5
  586. package/lib/typescript/components/pictograms/svg/PictogramUmbrella.d.ts.map +0 -1
  587. package/lib/typescript/components/pictograms/svg/PictogramUnrecognized.d.ts +0 -5
  588. package/lib/typescript/components/pictograms/svg/PictogramUnrecognized.d.ts.map +0 -1
  589. package/lib/typescript/components/pictograms/svg/PictogramUploadFile.d.ts +0 -5
  590. package/lib/typescript/components/pictograms/svg/PictogramUploadFile.d.ts.map +0 -1
  591. package/lib/typescript/components/typography/LabelHeader.d.ts +0 -18
  592. package/lib/typescript/components/typography/LabelHeader.d.ts.map +0 -1
  593. package/lib/typescript/components/typography/LabelLink.d.ts +0 -20
  594. package/lib/typescript/components/typography/LabelLink.d.ts.map +0 -1
  595. package/lib/typescript/components/typography/markdown/MdH4.d.ts +0 -13
  596. package/lib/typescript/components/typography/markdown/MdH4.d.ts.map +0 -1
  597. package/lib/typescript/components/typography/markdown/MdH5.d.ts +0 -13
  598. package/lib/typescript/components/typography/markdown/MdH5.d.ts.map +0 -1
  599. package/lib/typescript/components/typography/markdown/MdH6.d.ts +0 -13
  600. package/lib/typescript/components/typography/markdown/MdH6.d.ts.map +0 -1
  601. package/src/components/pictograms/svg/PictogramAbacus.tsx +0 -16
  602. package/src/components/pictograms/svg/PictogramAirBaloon.tsx +0 -22
  603. package/src/components/pictograms/svg/PictogramAirship.tsx +0 -26
  604. package/src/components/pictograms/svg/PictogramBaloons.tsx +0 -28
  605. package/src/components/pictograms/svg/PictogramBeerMug.tsx +0 -18
  606. package/src/components/pictograms/svg/PictogramEmailToValidate.tsx +0 -23
  607. package/src/components/pictograms/svg/PictogramEmailValidation.tsx +0 -33
  608. package/src/components/pictograms/svg/PictogramError.tsx +0 -20
  609. package/src/components/pictograms/svg/PictogramFireworks.tsx +0 -60
  610. package/src/components/pictograms/svg/PictogramHeart.tsx +0 -22
  611. package/src/components/pictograms/svg/PictogramHourglass.tsx +0 -26
  612. package/src/components/pictograms/svg/PictogramInProgress.tsx +0 -22
  613. package/src/components/pictograms/svg/PictogramInbox.tsx +0 -18
  614. package/src/components/pictograms/svg/PictogramMessages.tsx +0 -16
  615. package/src/components/pictograms/svg/PictogramNotAvailable.tsx +0 -38
  616. package/src/components/pictograms/svg/PictogramPiggyBank.tsx +0 -29
  617. package/src/components/pictograms/svg/PictogramPin.tsx +0 -28
  618. package/src/components/pictograms/svg/PictogramPlaces.tsx +0 -53
  619. package/src/components/pictograms/svg/PictogramPuzzle.tsx +0 -24
  620. package/src/components/pictograms/svg/PictogramQuestion.tsx +0 -24
  621. package/src/components/pictograms/svg/PictogramSearch.tsx +0 -30
  622. package/src/components/pictograms/svg/PictogramSms.tsx +0 -22
  623. package/src/components/pictograms/svg/PictogramTeaBreak.tsx +0 -20
  624. package/src/components/pictograms/svg/PictogramTimeout.tsx +0 -21
  625. package/src/components/pictograms/svg/PictogramUmbrella.tsx +0 -22
  626. package/src/components/pictograms/svg/PictogramUnrecognized.tsx +0 -14
  627. package/src/components/pictograms/svg/PictogramUploadFile.tsx +0 -18
  628. package/src/components/pictograms/svg/originals/PictogramAbacus.svg +0 -8
  629. package/src/components/pictograms/svg/originals/PictogramAirBaloon.svg +0 -14
  630. package/src/components/pictograms/svg/originals/PictogramAirship.svg +0 -18
  631. package/src/components/pictograms/svg/originals/PictogramBaloons.svg +0 -20
  632. package/src/components/pictograms/svg/originals/PictogramBeerMug.svg +0 -10
  633. package/src/components/pictograms/svg/originals/PictogramEmailToValidate.svg +0 -10
  634. package/src/components/pictograms/svg/originals/PictogramEmailValidation.svg +0 -20
  635. package/src/components/pictograms/svg/originals/PictogramError.svg +0 -12
  636. package/src/components/pictograms/svg/originals/PictogramFireworks.svg +0 -52
  637. package/src/components/pictograms/svg/originals/PictogramHeart.svg +0 -14
  638. package/src/components/pictograms/svg/originals/PictogramHourglass.svg +0 -18
  639. package/src/components/pictograms/svg/originals/PictogramInProgress.svg +0 -14
  640. package/src/components/pictograms/svg/originals/PictogramInbox.svg +0 -10
  641. package/src/components/pictograms/svg/originals/PictogramMessages.svg +0 -8
  642. package/src/components/pictograms/svg/originals/PictogramNotAvailable.svg +0 -26
  643. package/src/components/pictograms/svg/originals/PictogramPiggyBank.svg +0 -20
  644. package/src/components/pictograms/svg/originals/PictogramPin.svg +0 -20
  645. package/src/components/pictograms/svg/originals/PictogramPlaces.svg +0 -45
  646. package/src/components/pictograms/svg/originals/PictogramPuzzle.svg +0 -16
  647. package/src/components/pictograms/svg/originals/PictogramQuestion.svg +0 -16
  648. package/src/components/pictograms/svg/originals/PictogramSearch.svg +0 -22
  649. package/src/components/pictograms/svg/originals/PictogramSms.svg +0 -14
  650. package/src/components/pictograms/svg/originals/PictogramTeaBreak.svg +0 -12
  651. package/src/components/pictograms/svg/originals/PictogramTimeout.svg +0 -12
  652. package/src/components/pictograms/svg/originals/PictogramUmbrella.svg +0 -14
  653. package/src/components/pictograms/svg/originals/PictogramUnrecognized.svg +0 -6
  654. package/src/components/pictograms/svg/originals/PictogramUploadFile.svg +0 -10
  655. package/src/components/typography/LabelHeader.tsx +0 -56
  656. package/src/components/typography/LabelLink.tsx +0 -61
  657. package/src/components/typography/markdown/MdH4.tsx +0 -34
  658. package/src/components/typography/markdown/MdH5.tsx +0 -32
  659. package/src/components/typography/markdown/MdH6.tsx +0 -33
@@ -1,16 +1,15 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { IOColors } from "../../core/IOColors";
4
- import { IOFontWeight } from "../../utils/fonts";
5
- import { TypographyProps } from "./common";
6
- export type ButtonTextAllowedColors = IOColors;
7
- type AllowedWeight = Extract<IOFontWeight, "Semibold" | "Regular" | "Bold">;
8
- export declare const buttonTextFontSize = 16;
3
+ import { IOFontSize } from "../../utils/fonts";
4
+ import { IOTextProps } from "./IOText";
5
+ export declare const buttonTextFontSize: IOFontSize;
9
6
  /**
10
7
  * `ButtonText` typographic style
11
8
  */
12
- export declare const ButtonText: React.ForwardRefExoticComponent<Omit<Omit<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, "style"> & TypographyProps<AllowedWeight, "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight"> & {
13
- style?: import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">> | import("react-native").RecursiveArray<import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">>>;
14
- }, "ref"> & React.RefAttributes<View>>;
15
- export {};
9
+ export declare const ButtonText: React.ForwardRefExoticComponent<Omit<IOTextProps, "style" | "size" | "color" | "font" | "fontStyle" | "lineHeight" | "weight"> & {
10
+ textStyle?: import("./IOText").IOTextStyle | undefined;
11
+ style?: import("./IOText").IOTextStyle | undefined;
12
+ } & {
13
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight" | undefined;
14
+ } & React.RefAttributes<View>>;
16
15
  //# sourceMappingURL=ButtonText.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonText.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/ButtonText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,EAAgB,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG/D,OAAO,EAA2B,eAAe,EAAE,MAAM,UAAU,CAAC;AAEpE,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;AAC/C,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,UAAU,GAAG,SAAS,GAAG,MAAM,CAAC,CAAC;AAM5E,eAAO,MAAM,kBAAkB,KAAK,CAAC;AAWrC;;GAEG;AACH,eAAO,MAAM,UAAU;;sCAqBtB,CAAC"}
1
+ {"version":3,"file":"ButtonText.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/ButtonText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,OAAO,EAAgB,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,kBAAkB,EAAE,UAAe,CAAC;AAWjD;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;8BAmBtB,CAAC"}
@@ -1,11 +1,15 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { TypographyProps } from "./common";
4
- export declare const captionFontSize = 12;
3
+ import { IOFontSize } from "../../utils/fonts";
4
+ import { IOTextProps } from "./IOText";
5
+ export declare const captionFontSize: IOFontSize;
5
6
  /**
6
7
  * `Caption` typographic style
7
8
  */
8
- export declare const Caption: React.ForwardRefExoticComponent<Omit<Omit<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, "style"> & TypographyProps<"Regular", "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight"> & {
9
- style?: import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">> | import("react-native").RecursiveArray<import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">>>;
10
- }, "ref"> & React.RefAttributes<View>>;
9
+ export declare const Caption: React.ForwardRefExoticComponent<Omit<IOTextProps, "style" | "size" | "color" | "font" | "fontStyle" | "lineHeight" | "weight"> & {
10
+ textStyle?: import("./IOText").IOTextStyle | undefined;
11
+ style?: import("./IOText").IOTextStyle | undefined;
12
+ } & {
13
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight" | undefined;
14
+ } & React.RefAttributes<View>>;
11
15
  //# sourceMappingURL=Caption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Caption.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Caption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIpC,OAAO,EAA2B,eAAe,EAAE,MAAM,UAAU,CAAC;AASpE,eAAO,MAAM,eAAe,KAAK,CAAC;AAQlC;;GAEG;AACH,eAAO,MAAM,OAAO;;sCAmBlB,CAAC"}
1
+ {"version":3,"file":"Caption.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Caption.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAgB,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAItE,eAAO,MAAM,eAAe,EAAE,UAAe,CAAC;AAO9C;;GAEG;AACH,eAAO,MAAM,OAAO;;;;;8BAwBnB,CAAC"}
@@ -1,13 +1,13 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { IOFontWeight } from "../../utils/fonts";
4
- import { TypographyProps } from "./common";
5
- type AllowedWeight = Extract<IOFontWeight, "Semibold" | "Regular">;
3
+ import { IOTextProps } from "./IOText";
6
4
  /**
7
5
  * `Chip` typographic style
8
6
  */
9
- export declare const Chip: React.ForwardRefExoticComponent<Omit<Omit<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, "style"> & TypographyProps<AllowedWeight, "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight"> & {
10
- style?: import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">> | import("react-native").RecursiveArray<import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">>>;
11
- }, "ref"> & React.RefAttributes<View>>;
12
- export {};
7
+ export declare const Chip: React.ForwardRefExoticComponent<Omit<IOTextProps, "style" | "size" | "color" | "font" | "fontStyle" | "lineHeight" | "weight"> & {
8
+ textStyle?: import("./IOText").IOTextStyle | undefined;
9
+ style?: import("./IOText").IOTextStyle | undefined;
10
+ } & {
11
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight" | undefined;
12
+ } & React.RefAttributes<View>>;
13
13
  //# sourceMappingURL=Chip.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAMpC,OAAO,EAAc,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAA2B,eAAe,EAAE,MAAM,UAAU,CAAC;AAGpE,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAanE;;GAEG;AACH,eAAO,MAAM,IAAI;;sCAgBf,CAAC"}
1
+ {"version":3,"file":"Chip.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Chip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAKtE;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;8BAoBhB,CAAC"}
@@ -36,6 +36,7 @@ type FactoryProps<WeightPropsType, ColorsPropsType> = TypographyProps<WeightProp
36
36
  * The default values can be calculated specifying some fallback values using {@link DefaultArgumentProps}
37
37
  * or with a factory function to define some custom behaviour using {@link DefaultFactoryProps}
38
38
  * @param props
39
+ * @deprecated Use `IOText` instead. Or use the new typographic styles that use it.
39
40
  */
40
41
  export declare function useTypographyFactory<WeightPropsType extends IOFontWeight, ColorsPropsType extends IOColors>(props: FactoryProps<WeightPropsType, ColorsPropsType>, ref?: React.ForwardedRef<View>): React.JSX.Element;
41
42
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"Factory.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Factory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAEL,uBAAuB,EACvB,eAAe,EAChB,MAAM,UAAU,CAAC;AAElB;;;GAGG;AACH,KAAK,oBAAoB,CAAC,eAAe,EAAE,eAAe,IAAI;IAC5D,aAAa,EAAE,eAAe,CAAC;IAC/B,YAAY,EAAE,eAAe,CAAC;CAC/B,CAAC;AAEF;;;GAGG;AACH,KAAK,mBAAmB,CAAC,eAAe,EAAE,eAAe,IAAI;IAC3D,kBAAkB,EAAE,CAClB,MAAM,CAAC,EAAE,eAAe,EACxB,KAAK,CAAC,EAAE,eAAe,KACpB,uBAAuB,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;CAChE,CAAC;AAEF;;GAEG;AACH,KAAK,YAAY,CAAC,eAAe,EAAE,eAAe,IAAI,GAAG,CACvD,oBAAoB,CAAC,eAAe,EAAE,eAAe,CAAC,EACtD,mBAAmB,CAAC,eAAe,EAAE,eAAe,CAAC,CACtD,CAAC;AAEF;;;;;GAKG;AACH,KAAK,YAAY,CAAC,eAAe,EAAE,eAAe,IAAI,eAAe,CACnE,eAAe,EACf,eAAe,CAChB,GACC,YAAY,CAAC,eAAe,EAAE,eAAe,CAAC,GAC9C,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAC;AAiBxE;;;;;GAKG;AACH,wBAAgB,oBAAoB,CAClC,eAAe,SAAS,YAAY,EACpC,eAAe,SAAS,QAAQ,EAEhC,KAAK,EAAE,YAAY,CAAC,eAAe,EAAE,eAAe,CAAC,EACrD,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,qBAiB/B"}
1
+ {"version":3,"file":"Factory.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Factory.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAEL,uBAAuB,EACvB,eAAe,EAChB,MAAM,UAAU,CAAC;AAElB;;;GAGG;AACH,KAAK,oBAAoB,CAAC,eAAe,EAAE,eAAe,IAAI;IAC5D,aAAa,EAAE,eAAe,CAAC;IAC/B,YAAY,EAAE,eAAe,CAAC;CAC/B,CAAC;AAEF;;;GAGG;AACH,KAAK,mBAAmB,CAAC,eAAe,EAAE,eAAe,IAAI;IAC3D,kBAAkB,EAAE,CAClB,MAAM,CAAC,EAAE,eAAe,EACxB,KAAK,CAAC,EAAE,eAAe,KACpB,uBAAuB,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;CAChE,CAAC;AAEF;;GAEG;AACH,KAAK,YAAY,CAAC,eAAe,EAAE,eAAe,IAAI,GAAG,CACvD,oBAAoB,CAAC,eAAe,EAAE,eAAe,CAAC,EACtD,mBAAmB,CAAC,eAAe,EAAE,eAAe,CAAC,CACtD,CAAC;AAEF;;;;;GAKG;AACH,KAAK,YAAY,CAAC,eAAe,EAAE,eAAe,IAAI,eAAe,CACnE,eAAe,EACf,eAAe,CAChB,GACC,YAAY,CAAC,eAAe,EAAE,eAAe,CAAC,GAC9C,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAC,CAAC;AAiBxE;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAClC,eAAe,SAAS,YAAY,EACpC,eAAe,SAAS,QAAQ,EAEhC,KAAK,EAAE,YAAY,CAAC,eAAe,EAAE,eAAe,CAAC,EACrD,GAAG,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC,IAAI,CAAC,qBAiB/B"}
@@ -1,15 +1,16 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { IOFontWeight } from "../../utils/fonts";
4
- import { TypographyProps } from "./common";
5
- type AllowedWeight = Extract<IOFontWeight, "Regular" | "Semibold">;
6
- export declare const h1FontSize = 28;
3
+ import { IOFontSize } from "../../utils/fonts";
4
+ import { IOTextProps } from "./IOText";
5
+ export declare const h1FontSize: IOFontSize;
7
6
  export declare const h1LineHeight = 42;
8
7
  /**
9
8
  * `H1` typographic style
10
9
  */
11
- export declare const H1: React.ForwardRefExoticComponent<Omit<Omit<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, "style"> & TypographyProps<AllowedWeight, "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight"> & {
12
- style?: import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">> | import("react-native").RecursiveArray<import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">>>;
13
- }, "ref"> & React.RefAttributes<View>>;
14
- export {};
10
+ export declare const H1: React.ForwardRefExoticComponent<Omit<IOTextProps, "style" | "size" | "color" | "font" | "fontStyle" | "lineHeight" | "weight"> & {
11
+ textStyle?: import("./IOText").IOTextStyle | undefined;
12
+ style?: import("./IOText").IOTextStyle | undefined;
13
+ } & {
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight" | undefined;
15
+ } & React.RefAttributes<View>>;
15
16
  //# sourceMappingURL=H1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H1.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H1.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAc,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAA2B,eAAe,EAAE,MAAM,UAAU,CAAC;AAGpE,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC;AAMnE,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,YAAY,KAAK,CAAC;AAW/B;;GAEG;AACH,eAAO,MAAM,EAAE;;sCAmBb,CAAC"}
1
+ {"version":3,"file":"H1.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H1.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAgB,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAItE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAU/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;8BAqBd,CAAC"}
@@ -1,15 +1,16 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { IOFontWeight } from "../../utils/fonts";
4
- import { TypographyProps } from "./common";
5
- type AllowedWeight = Extract<IOFontWeight, "Semibold" | "Regular">;
6
- export declare const h2FontSize = 26;
3
+ import { IOFontSize } from "../../utils/fonts";
4
+ import { IOTextProps } from "./IOText";
5
+ export declare const h2FontSize: IOFontSize;
7
6
  export declare const h2LineHeight = 39;
8
7
  /**
9
8
  * `H2` typographic style
10
9
  */
11
- export declare const H2: React.ForwardRefExoticComponent<Omit<Omit<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, "style"> & TypographyProps<AllowedWeight, "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight"> & {
12
- style?: import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">> | import("react-native").RecursiveArray<import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">>>;
13
- }, "ref"> & React.RefAttributes<View>>;
14
- export {};
10
+ export declare const H2: React.ForwardRefExoticComponent<Omit<IOTextProps, "style" | "size" | "color" | "font" | "fontStyle" | "lineHeight" | "weight"> & {
11
+ textStyle?: import("./IOText").IOTextStyle | undefined;
12
+ style?: import("./IOText").IOTextStyle | undefined;
13
+ } & {
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight" | undefined;
15
+ } & React.RefAttributes<View>>;
15
16
  //# sourceMappingURL=H2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H2.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAc,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAA2B,eAAe,EAAE,MAAM,UAAU,CAAC;AAGpE,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAMnE,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,YAAY,KAAK,CAAC;AAW/B;;GAEG;AACH,eAAO,MAAM,EAAE;;sCAmBb,CAAC"}
1
+ {"version":3,"file":"H2.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAgB,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAItE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAU/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;8BAqBd,CAAC"}
@@ -1,15 +1,16 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { IOFontWeight } from "../../utils/fonts";
4
- import { TypographyProps } from "./common";
5
- type AllowedWeight = Extract<IOFontWeight, "Semibold" | "Regular">;
6
- export declare const h3FontSize = 22;
3
+ import { IOFontSize } from "../../utils/fonts";
4
+ import { IOTextProps } from "./IOText";
5
+ export declare const h3FontSize: IOFontSize;
7
6
  export declare const h3LineHeight = 33;
8
7
  /**
9
8
  * `H3` typographic style
10
9
  */
11
- export declare const H3: React.ForwardRefExoticComponent<Omit<Omit<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, "style"> & TypographyProps<AllowedWeight, "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight"> & {
12
- style?: import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">> | import("react-native").RecursiveArray<import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">>>;
13
- }, "ref"> & React.RefAttributes<View>>;
14
- export {};
10
+ export declare const H3: React.ForwardRefExoticComponent<Omit<IOTextProps, "style" | "size" | "color" | "font" | "fontStyle" | "lineHeight" | "weight"> & {
11
+ textStyle?: import("./IOText").IOTextStyle | undefined;
12
+ style?: import("./IOText").IOTextStyle | undefined;
13
+ } & {
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight" | undefined;
15
+ } & React.RefAttributes<View>>;
15
16
  //# sourceMappingURL=H3.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H3.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H3.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAc,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAA2B,eAAe,EAAE,MAAM,UAAU,CAAC;AAGpE,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,UAAU,GAAG,SAAS,CAAC,CAAC;AAOnE,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,YAAY,KAAK,CAAC;AAS/B;;GAEG;AACH,eAAO,MAAM,EAAE;;sCAmBb,CAAC"}
1
+ {"version":3,"file":"H3.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H3.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAgB,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAKtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAQ/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;8BAqBd,CAAC"}
@@ -1,15 +1,16 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { IOFontWeight } from "../../utils/fonts";
4
- import { TypographyProps } from "./common";
5
- type AllowedWeight = Extract<IOFontWeight, "Regular" | "Semibold">;
6
- export declare const h4FontSize = 20;
3
+ import { IOFontSize } from "../../utils/fonts";
4
+ import { IOTextProps } from "./IOText";
5
+ export declare const h4FontSize: IOFontSize;
7
6
  export declare const h4LineHeight = 24;
8
7
  /**
9
8
  * `H4` typographic style
10
9
  */
11
- export declare const H4: React.ForwardRefExoticComponent<Omit<Omit<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, "style"> & TypographyProps<AllowedWeight, "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight"> & {
12
- style?: import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">> | import("react-native").RecursiveArray<import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">>>;
13
- }, "ref"> & React.RefAttributes<View>>;
14
- export {};
10
+ export declare const H4: React.ForwardRefExoticComponent<Omit<IOTextProps, "style" | "size" | "color" | "font" | "fontStyle" | "lineHeight" | "weight"> & {
11
+ textStyle?: import("./IOText").IOTextStyle | undefined;
12
+ style?: import("./IOText").IOTextStyle | undefined;
13
+ } & {
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight" | undefined;
15
+ } & React.RefAttributes<View>>;
15
16
  //# sourceMappingURL=H4.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H4.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H4.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAc,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAA2B,eAAe,EAAE,MAAM,UAAU,CAAC;AAGpE,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC;AAMnE,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,YAAY,KAAK,CAAC;AAU/B;;GAEG;AACH,eAAO,MAAM,EAAE;;sCAkBb,CAAC"}
1
+ {"version":3,"file":"H4.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H4.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAgB,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAItE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAQ/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;8BAqBd,CAAC"}
@@ -1,12 +1,16 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { TypographyProps } from "./common";
4
- export declare const h5FontSize = 14;
3
+ import { IOFontSize } from "../../utils/fonts";
4
+ import { IOTextProps } from "./IOText";
5
+ export declare const h5FontSize: IOFontSize;
5
6
  export declare const h5LineHeight = 16;
6
7
  /**
7
8
  * `H5` typographic style
8
9
  */
9
- export declare const H5: React.ForwardRefExoticComponent<Omit<Omit<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, "style"> & TypographyProps<"Semibold", "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight"> & {
10
- style?: import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">> | import("react-native").RecursiveArray<import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">>>;
11
- }, "ref"> & React.RefAttributes<View>>;
10
+ export declare const H5: React.ForwardRefExoticComponent<Omit<IOTextProps, "style" | "size" | "color" | "font" | "fontStyle" | "lineHeight" | "weight"> & {
11
+ textStyle?: import("./IOText").IOTextStyle | undefined;
12
+ style?: import("./IOText").IOTextStyle | undefined;
13
+ } & {
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight" | undefined;
15
+ } & React.RefAttributes<View>>;
12
16
  //# sourceMappingURL=H5.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H5.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H5.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAIpC,OAAO,EAA2B,eAAe,EAAE,MAAM,UAAU,CAAC;AASpE,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,YAAY,KAAK,CAAC;AAK/B;;GAEG;AACH,eAAO,MAAM,EAAE;;sCAqBb,CAAC"}
1
+ {"version":3,"file":"H5.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H5.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAItE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;8BAwBd,CAAC"}
@@ -1,17 +1,16 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { IOTheme } from "../../core";
4
- import { IOFontWeight } from "../../utils/fonts";
5
- import { TypographyProps } from "./common";
6
- type AllowedColors = IOTheme["textBody-default"] | "blueIO-850";
7
- type AllowedWeight = Extract<IOFontWeight, "Regular" | "Semibold">;
8
- export declare const h6FontSize = 16;
3
+ import { IOFontSize } from "../../utils/fonts";
4
+ import { IOTextProps } from "./IOText";
5
+ export declare const h6FontSize: IOFontSize;
9
6
  export declare const h6LineHeight = 24;
10
7
  /**
11
8
  * `H6` typographic style
12
9
  */
13
- export declare const H6: React.ForwardRefExoticComponent<Omit<Omit<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, "style"> & TypographyProps<AllowedWeight, AllowedColors> & {
14
- style?: import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">> | import("react-native").RecursiveArray<import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">>>;
15
- }, "ref"> & React.RefAttributes<View>>;
16
- export {};
10
+ export declare const H6: React.ForwardRefExoticComponent<Omit<IOTextProps, "style" | "size" | "color" | "font" | "fontStyle" | "lineHeight" | "weight"> & {
11
+ textStyle?: import("./IOText").IOTextStyle | undefined;
12
+ style?: import("./IOText").IOTextStyle | undefined;
13
+ } & {
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight" | undefined;
15
+ } & React.RefAttributes<View>>;
17
16
  //# sourceMappingURL=H6.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H6.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H6.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EACL,OAAO,EAIR,MAAM,YAAY,CAAC;AACpB,OAAO,EAAc,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAA2B,eAAe,EAAE,MAAM,UAAU,CAAC;AAGpE,KAAK,aAAa,GAAG,OAAO,CAAC,kBAAkB,CAAC,GAAG,YAAY,CAAC;AAChE,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC;AAMnE,eAAO,MAAM,UAAU,KAAK,CAAC;AAC7B,eAAO,MAAM,YAAY,KAAK,CAAC;AAW/B;;GAEG;AACH,eAAO,MAAM,EAAE;;sCAmBb,CAAC"}
1
+ {"version":3,"file":"H6.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H6.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAgB,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAItE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAU/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;8BAqBd,CAAC"}
@@ -1,15 +1,16 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { IOFontWeight } from "../../utils/fonts";
4
- import { TypographyProps } from "./common";
5
- type AllowedWeight = Extract<IOFontWeight, "Regular" | "Semibold">;
6
- export declare const heroFontSize = 32;
3
+ import { IOFontSize } from "../../utils/fonts";
4
+ import { IOTextProps } from "./IOText";
5
+ export declare const heroFontSize: IOFontSize;
7
6
  export declare const heroLineHeight = 48;
8
7
  /**
9
8
  * `Hero` typographic style
10
9
  */
11
- export declare const Hero: React.ForwardRefExoticComponent<Omit<Omit<import("react-native").TextProps & React.RefAttributes<import("react-native").Text>, "style"> & TypographyProps<AllowedWeight, "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight"> & {
12
- style?: import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">> | import("react-native").RecursiveArray<import("react-native").Falsy | Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily"> | import("react-native").RegisteredStyle<Omit<import("react-native").TextStyle, "color" | "fontStyle" | "fontWeight" | "fontSize" | "fontFamily">>>;
13
- }, "ref"> & React.RefAttributes<View>>;
14
- export {};
10
+ export declare const Hero: React.ForwardRefExoticComponent<Omit<IOTextProps, "style" | "size" | "color" | "font" | "fontStyle" | "lineHeight" | "weight"> & {
11
+ textStyle?: import("./IOText").IOTextStyle | undefined;
12
+ style?: import("./IOText").IOTextStyle | undefined;
13
+ } & {
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-450" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-50" | "greyUltraLight" | "greyLight" | "bluegreyLight" | "grey" | "bluegrey" | "bluegreyDark" | "blue" | "blueUltraLight" | "aqua" | "aquaUltraLight" | "antiqueFuchsia" | "orange" | "red" | "green" | "greenLight" | undefined;
15
+ } & React.RefAttributes<View>>;
15
16
  //# sourceMappingURL=Hero.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Hero.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Hero.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAc,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAA2B,eAAe,EAAE,MAAM,UAAU,CAAC;AAGpE,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC;AAMnE,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,cAAc,KAAK,CAAC;AAWjC;;GAEG;AACH,eAAO,MAAM,IAAI;;sCAgBf,CAAC"}
1
+ {"version":3,"file":"Hero.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Hero.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAgB,UAAU,EAAgB,MAAM,mBAAmB,CAAC;AAC3E,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAItE,eAAO,MAAM,YAAY,EAAE,UAAe,CAAC;AAC3C,eAAO,MAAM,cAAc,KAAK,CAAC;AAUjC;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;8BAoBhB,CAAC"}
@@ -0,0 +1,54 @@
1
+ import React, { ComponentProps } from "react";
2
+ import { GestureResponderEvent, Text, TextStyle, View } from "react-native";
3
+ import { IOColors } from "../../core";
4
+ import { IOFontFamily, IOFontSize, IOFontWeight } from "../../utils/fonts";
5
+ /**
6
+ * We exclude all of the following props when we define a new
7
+ * typographic style in which all of these visual attributes
8
+ * are already defined.
9
+ */
10
+ export type IOTextStyle = Omit<TextStyle, "fontFamily" | "fontSize" | "fontWeight" | "lineHeight" | "fontStyle">;
11
+ export type TypographicStyleProps = Omit<IOTextProps, "style" | "font" | "size" | "weight" | "color" | "lineHeight" | "fontStyle"> & {
12
+ textStyle?: IOTextStyle;
13
+ style?: IOTextStyle;
14
+ } & {
15
+ color?: IOTextBaseProps["color"];
16
+ };
17
+ /**
18
+ * The specific properties needed to calculate the font style using {@link makeFontStyleObject} (these information
19
+ * cannot be included in the default StyleProp<TextStyle>
20
+ */
21
+ type IOTextBaseProps = {
22
+ size?: IOFontSize;
23
+ weight?: IOFontWeight;
24
+ color?: IOColors;
25
+ font?: IOFontFamily;
26
+ lineHeight?: TextStyle["lineHeight"];
27
+ fontStyle?: TextStyle["fontStyle"];
28
+ textStyle?: IOTextStyle;
29
+ style?: IOTextStyle;
30
+ };
31
+ type IOTextExcludedProps = Omit<ComponentProps<typeof Text>, "allowFontScaling" | "maxFontSizeMultiplier" | "style">;
32
+ export type IOTextProps = IOTextBaseProps & IOTextExcludedProps;
33
+ /**
34
+ * Extend `TypographicStyleProps` with extra props for styles that
35
+ * can be used as links
36
+ */
37
+ export type TypographicStyleAsLinkProps = {
38
+ color?: never;
39
+ asLink: true;
40
+ onPress: (event: GestureResponderEvent) => void;
41
+ } | {
42
+ color?: IOColors;
43
+ asLink?: false;
44
+ };
45
+ /**
46
+ * `IOText` is the core Typography component used to render a text.
47
+ * It accepts all the default text style `StyleProp<TextStyle>` (excluding the ones already applied) in addition with {@link IOTextBaseProps}
48
+ * used to calculate at runtime the platform-dependent styles.
49
+ * @param props
50
+ * @constructor
51
+ */
52
+ export declare const IOText: React.ForwardRefExoticComponent<IOTextBaseProps & IOTextExcludedProps & React.RefAttributes<View>>;
53
+ export {};
54
+ //# sourceMappingURL=IOText.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IOText.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/IOText.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAuB,MAAM,OAAO,CAAC;AACnE,OAAO,EAEL,qBAAqB,EACrB,IAAI,EACJ,SAAS,EACT,IAAI,EACL,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,QAAQ,EAAuC,MAAM,YAAY,CAAC;AAE3E,OAAO,EACL,YAAY,EACZ,UAAU,EACV,YAAY,EAEb,MAAM,mBAAmB,CAAC;AAE3B;;;;GAIG;AACH,MAAM,MAAM,WAAW,GAAG,IAAI,CAC5B,SAAS,EACT,YAAY,GAAG,UAAU,GAAG,YAAY,GAAG,YAAY,GAAG,WAAW,CACtE,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,IAAI,CACtC,WAAW,EACX,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,YAAY,GAAG,WAAW,CAC5E,GAAG;IAAE,SAAS,CAAC,EAAE,WAAW,CAAC;IAAC,KAAK,CAAC,EAAE,WAAW,CAAA;CAAE,GAAG;IACrD,KAAK,CAAC,EAAE,eAAe,CAAC,OAAO,CAAC,CAAC;CAClC,CAAC;AAEF;;;GAGG;AACH,KAAK,eAAe,GAAG;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,KAAK,mBAAmB,GAAG,IAAI,CAC7B,cAAc,CAAC,OAAO,IAAI,CAAC,EAC3B,kBAAkB,GAAG,uBAAuB,GAAG,OAAO,CACvD,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,eAAe,GAAG,mBAAmB,CAAC;AAEhE;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GACnC;IACE,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,MAAM,EAAE,IAAI,CAAC;IACb,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,GACD;IAAE,KAAK,CAAC,EAAE,QAAQ,CAAC;IAAC,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAezC;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,oGAoElB,CAAC"}
@@ -1,17 +1,13 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { IOColors, IOColorsStatusForeground } from "../../core";
4
3
  import { IOFontWeight } from "../../utils/fonts";
5
- import { ExternalTypographyProps, FontSize, TypographyProps } from "./common";
6
- type PartialAllowedColors = Extract<IOColors, "black" | "white" | "grey-700">;
7
- type AllowedColors = PartialAllowedColors | IOColorsStatusForeground;
8
- type AllowedWeight = Extract<IOFontWeight, "Bold" | "Regular" | "Semibold">;
9
- type LabelProps = ExternalTypographyProps<TypographyProps<AllowedWeight, AllowedColors>> & {
10
- fontSize?: FontSize;
11
- };
4
+ import { TypographicStyleAsLinkProps, TypographicStyleProps } from "./IOText";
5
+ type LabelProps = TypographicStyleProps & {
6
+ weight?: Extract<IOFontWeight, "Regular" | "Semibold" | "Bold">;
7
+ } & TypographicStyleAsLinkProps;
12
8
  /**
13
- * `Label` typographic style
9
+ * `LabelSmall` typographic style
14
10
  */
15
- export declare const Label: React.ForwardRefExoticComponent<Omit<LabelProps, "ref"> & React.RefAttributes<View>>;
11
+ export declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<View>>;
16
12
  export {};
17
13
  //# sourceMappingURL=Label.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EACL,QAAQ,EACR,wBAAwB,EAGzB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAc,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EACL,uBAAuB,EACvB,QAAQ,EACR,eAAe,EAGhB,MAAM,UAAU,CAAC;AAElB,KAAK,oBAAoB,GAAG,OAAO,CAAC,QAAQ,EAAE,OAAO,GAAG,OAAO,GAAG,UAAU,CAAC,CAAC;AAC9E,KAAK,aAAa,GAAG,oBAAoB,GAAG,wBAAwB,CAAC;AACrE,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC,CAAC;AAC5E,KAAK,UAAU,GAAG,uBAAuB,CACvC,eAAe,CAAC,aAAa,EAAE,aAAa,CAAC,CAC9C,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC;AAM5B;;GAEG;AACH,eAAO,MAAM,KAAK,sFAyBjB,CAAC"}
1
+ {"version":3,"file":"Label.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Label.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAGL,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAElB,KAAK,UAAU,GAAG,qBAAqB,GAAG;IACxC,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;CACjE,GAAG,2BAA2B,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,KAAK,yEAgCjB,CAAC"}
@@ -0,0 +1,13 @@
1
+ import React from "react";
2
+ import { View } from "react-native";
3
+ import { IOFontWeight } from "../../utils/fonts";
4
+ import { TypographicStyleAsLinkProps, TypographicStyleProps } from "./IOText";
5
+ type LabelMiniProps = TypographicStyleProps & {
6
+ weight?: Extract<IOFontWeight, "Regular" | "Semibold" | "Bold">;
7
+ } & TypographicStyleAsLinkProps;
8
+ /**
9
+ * `LabelMini` typographic style
10
+ */
11
+ export declare const LabelMini: React.ForwardRefExoticComponent<LabelMiniProps & React.RefAttributes<View>>;
12
+ export {};
13
+ //# sourceMappingURL=LabelMini.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LabelMini.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/LabelMini.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAGL,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAElB,KAAK,cAAc,GAAG,qBAAqB,GAAG;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;CACjE,GAAG,2BAA2B,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,SAAS,6EAiCrB,CAAC"}
@@ -1,19 +1,13 @@
1
1
  import React from "react";
2
2
  import { View } from "react-native";
3
- import { IOColors, IOTheme } from "../../core";
4
3
  import { IOFontWeight } from "../../utils/fonts";
5
- import { ExternalTypographyProps, TypographyProps } from "./common";
6
- type PartialAllowedColors = Extract<IOColors, "blue" | "bluegrey" | "red" | "white" | "bluegreyDark" | "grey-700" | "grey-200">;
7
- type AllowedColors = PartialAllowedColors | IOTheme["textBody-tertiary"];
8
- type AllowedWeight = Extract<IOFontWeight, "Bold" | "Regular" | "Semibold">;
9
- type FontSize = "regular" | "small";
10
- type AllowedFontSize = {
11
- fontSize?: FontSize;
12
- };
13
- type LabelSmallProps = ExternalTypographyProps<TypographyProps<AllowedWeight, AllowedColors>> & AllowedFontSize;
4
+ import { TypographicStyleAsLinkProps, TypographicStyleProps } from "./IOText";
5
+ type LabelSmallProps = TypographicStyleProps & {
6
+ weight?: Extract<IOFontWeight, "Regular" | "Semibold" | "Bold">;
7
+ } & TypographicStyleAsLinkProps;
14
8
  /**
15
9
  * `LabelSmall` typographic style
16
10
  */
17
- export declare const LabelSmall: React.ForwardRefExoticComponent<Omit<LabelSmallProps, "ref"> & React.RefAttributes<View>>;
11
+ export declare const LabelSmall: React.ForwardRefExoticComponent<LabelSmallProps & React.RefAttributes<View>>;
18
12
  export {};
19
13
  //# sourceMappingURL=LabelSmall.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LabelSmall.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/LabelSmall.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AACpC,OAAO,EACL,QAAQ,EACR,OAAO,EAGR,MAAM,YAAY,CAAC;AACpB,OAAO,EAAc,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE7D,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAEpE,KAAK,oBAAoB,GAAG,OAAO,CACjC,QAAQ,EACN,MAAM,GACN,UAAU,GACV,KAAK,GACL,OAAO,GACP,cAAc,GACd,UAAU,GACV,UAAU,CACb,CAAC;AACF,KAAK,aAAa,GAAG,oBAAoB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAC;AACzE,KAAK,aAAa,GAAG,OAAO,CAAC,YAAY,EAAE,MAAM,GAAG,SAAS,GAAG,UAAU,CAAC,CAAC;AAE5E,KAAK,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AACpC,KAAK,eAAe,GAAG;IAAE,QAAQ,CAAC,EAAE,QAAQ,CAAA;CAAE,CAAC;AAE/C,KAAK,eAAe,GAAG,uBAAuB,CAC5C,eAAe,CAAC,aAAa,EAAE,aAAa,CAAC,CAC9C,GACC,eAAe,CAAC;AAclB;;GAEG;AACH,eAAO,MAAM,UAAU,2FAyBtB,CAAC"}
1
+ {"version":3,"file":"LabelSmall.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/LabelSmall.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAGL,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAElB,KAAK,eAAe,GAAG,qBAAqB,GAAG;IAC7C,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,GAAG,MAAM,CAAC,CAAC;CACjE,GAAG,2BAA2B,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,UAAU,8EAiCtB,CAAC"}