@pagopa/io-app-design-system 2.0.3 → 2.1.0-2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (210) hide show
  1. package/lib/commonjs/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
  2. package/lib/commonjs/components/badge/Badge.js +2 -2
  3. package/lib/commonjs/components/badge/Badge.js.map +1 -1
  4. package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
  5. package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
  6. package/lib/commonjs/components/buttons/ButtonLink.js +2 -2
  7. package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
  8. package/lib/commonjs/components/buttons/ButtonOutline.js +2 -2
  9. package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
  10. package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
  11. package/lib/commonjs/components/layout/HeaderSecondLevel.js +2 -2
  12. package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
  13. package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +3 -3
  14. package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  15. package/lib/commonjs/components/listitems/ListItemTransaction.js +3 -2
  16. package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
  17. package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
  18. package/lib/commonjs/components/modules/ModuleAttachment.js +2 -1
  19. package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
  20. package/lib/commonjs/components/modules/ModuleCredential.js +2 -1
  21. package/lib/commonjs/components/modules/ModuleCredential.js.map +1 -1
  22. package/lib/commonjs/components/modules/ModuleIDP.js +2 -2
  23. package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -1
  24. package/lib/commonjs/components/modules/ModuleNavigation.js +2 -1
  25. package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
  26. package/lib/commonjs/components/modules/ModulePaymentNotice.js +3 -2
  27. package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
  28. package/lib/commonjs/components/searchInput/SearchInput.js +1 -1
  29. package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
  30. package/lib/commonjs/components/tag/Tag.js +2 -2
  31. package/lib/commonjs/components/tag/Tag.js.map +1 -1
  32. package/lib/commonjs/components/textInput/TextInputBase.js +1 -1
  33. package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
  34. package/lib/commonjs/components/typography/Body.js +10 -3
  35. package/lib/commonjs/components/typography/Body.js.map +1 -1
  36. package/lib/commonjs/components/typography/ButtonText.js +2 -2
  37. package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
  38. package/lib/commonjs/components/typography/Caption.js +1 -1
  39. package/lib/commonjs/components/typography/Caption.js.map +1 -1
  40. package/lib/commonjs/components/typography/Chip.js +1 -1
  41. package/lib/commonjs/components/typography/Chip.js.map +1 -1
  42. package/lib/commonjs/components/typography/H1.js +4 -6
  43. package/lib/commonjs/components/typography/H1.js.map +1 -1
  44. package/lib/commonjs/components/typography/H2.js +2 -2
  45. package/lib/commonjs/components/typography/H2.js.map +1 -1
  46. package/lib/commonjs/components/typography/H3.js +2 -2
  47. package/lib/commonjs/components/typography/H3.js.map +1 -1
  48. package/lib/commonjs/components/typography/H4.js +2 -2
  49. package/lib/commonjs/components/typography/H4.js.map +1 -1
  50. package/lib/commonjs/components/typography/H5.js +9 -2
  51. package/lib/commonjs/components/typography/H5.js.map +1 -1
  52. package/lib/commonjs/components/typography/H6.js +5 -7
  53. package/lib/commonjs/components/typography/H6.js.map +1 -1
  54. package/lib/commonjs/components/typography/Hero.js +2 -2
  55. package/lib/commonjs/components/typography/Hero.js.map +1 -1
  56. package/lib/commonjs/components/typography/Label.js +10 -2
  57. package/lib/commonjs/components/typography/Label.js.map +1 -1
  58. package/lib/commonjs/components/typography/LabelMini.js +10 -2
  59. package/lib/commonjs/components/typography/LabelMini.js.map +1 -1
  60. package/lib/commonjs/components/typography/LabelSmall.js +10 -2
  61. package/lib/commonjs/components/typography/LabelSmall.js.map +1 -1
  62. package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +5 -5
  63. package/lib/commonjs/components/typography/index.js +0 -11
  64. package/lib/commonjs/components/typography/index.js.map +1 -1
  65. package/lib/commonjs/components/typography/markdown/MdH1.js +2 -2
  66. package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
  67. package/lib/commonjs/components/typography/markdown/MdH2.js +3 -5
  68. package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
  69. package/lib/commonjs/components/typography/markdown/MdH3.js +2 -2
  70. package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
  71. package/lib/commonjs/utils/fonts.js +10 -8
  72. package/lib/commonjs/utils/fonts.js.map +1 -1
  73. package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
  74. package/lib/module/components/badge/Badge.js +2 -2
  75. package/lib/module/components/badge/Badge.js.map +1 -1
  76. package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
  77. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
  78. package/lib/module/components/buttons/ButtonLink.js +2 -2
  79. package/lib/module/components/buttons/ButtonLink.js.map +1 -1
  80. package/lib/module/components/buttons/ButtonOutline.js +2 -2
  81. package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
  82. package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
  83. package/lib/module/components/layout/HeaderSecondLevel.js +2 -2
  84. package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
  85. package/lib/module/components/listitems/ListItemRadioWithAmount.js +3 -3
  86. package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  87. package/lib/module/components/listitems/ListItemTransaction.js +4 -3
  88. package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
  89. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
  90. package/lib/module/components/modules/ModuleAttachment.js +3 -2
  91. package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
  92. package/lib/module/components/modules/ModuleCredential.js +3 -2
  93. package/lib/module/components/modules/ModuleCredential.js.map +1 -1
  94. package/lib/module/components/modules/ModuleIDP.js +2 -2
  95. package/lib/module/components/modules/ModuleIDP.js.map +1 -1
  96. package/lib/module/components/modules/ModuleNavigation.js +3 -2
  97. package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
  98. package/lib/module/components/modules/ModulePaymentNotice.js +4 -3
  99. package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
  100. package/lib/module/components/searchInput/SearchInput.js +1 -1
  101. package/lib/module/components/searchInput/SearchInput.js.map +1 -1
  102. package/lib/module/components/tag/Tag.js +2 -2
  103. package/lib/module/components/tag/Tag.js.map +1 -1
  104. package/lib/module/components/textInput/TextInputBase.js +1 -1
  105. package/lib/module/components/textInput/TextInputBase.js.map +1 -1
  106. package/lib/module/components/typography/Body.js +10 -3
  107. package/lib/module/components/typography/Body.js.map +1 -1
  108. package/lib/module/components/typography/ButtonText.js +2 -2
  109. package/lib/module/components/typography/ButtonText.js.map +1 -1
  110. package/lib/module/components/typography/Caption.js +1 -1
  111. package/lib/module/components/typography/Caption.js.map +1 -1
  112. package/lib/module/components/typography/Chip.js +1 -1
  113. package/lib/module/components/typography/Chip.js.map +1 -1
  114. package/lib/module/components/typography/H1.js +4 -6
  115. package/lib/module/components/typography/H1.js.map +1 -1
  116. package/lib/module/components/typography/H2.js +2 -2
  117. package/lib/module/components/typography/H2.js.map +1 -1
  118. package/lib/module/components/typography/H3.js +2 -2
  119. package/lib/module/components/typography/H3.js.map +1 -1
  120. package/lib/module/components/typography/H4.js +2 -2
  121. package/lib/module/components/typography/H4.js.map +1 -1
  122. package/lib/module/components/typography/H5.js +10 -3
  123. package/lib/module/components/typography/H5.js.map +1 -1
  124. package/lib/module/components/typography/H6.js +5 -7
  125. package/lib/module/components/typography/H6.js.map +1 -1
  126. package/lib/module/components/typography/Hero.js +2 -2
  127. package/lib/module/components/typography/Hero.js.map +1 -1
  128. package/lib/module/components/typography/Label.js +11 -3
  129. package/lib/module/components/typography/Label.js.map +1 -1
  130. package/lib/module/components/typography/LabelMini.js +11 -3
  131. package/lib/module/components/typography/LabelMini.js.map +1 -1
  132. package/lib/module/components/typography/LabelSmall.js +11 -3
  133. package/lib/module/components/typography/LabelSmall.js.map +1 -1
  134. package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +5 -5
  135. package/lib/module/components/typography/index.js +0 -1
  136. package/lib/module/components/typography/index.js.map +1 -1
  137. package/lib/module/components/typography/markdown/MdH1.js +2 -2
  138. package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
  139. package/lib/module/components/typography/markdown/MdH2.js +3 -5
  140. package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
  141. package/lib/module/components/typography/markdown/MdH3.js +2 -2
  142. package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
  143. package/lib/module/utils/fonts.js +10 -8
  144. package/lib/module/utils/fonts.js.map +1 -1
  145. package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
  146. package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
  147. package/lib/typescript/components/modules/ModuleAttachment.d.ts.map +1 -1
  148. package/lib/typescript/components/modules/ModuleCredential.d.ts.map +1 -1
  149. package/lib/typescript/components/modules/ModuleNavigation.d.ts.map +1 -1
  150. package/lib/typescript/components/modules/ModulePaymentNotice.d.ts.map +1 -1
  151. package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
  152. package/lib/typescript/components/typography/Body.d.ts.map +1 -1
  153. package/lib/typescript/components/typography/H1.d.ts.map +1 -1
  154. package/lib/typescript/components/typography/H5.d.ts.map +1 -1
  155. package/lib/typescript/components/typography/H6.d.ts.map +1 -1
  156. package/lib/typescript/components/typography/Label.d.ts.map +1 -1
  157. package/lib/typescript/components/typography/LabelMini.d.ts.map +1 -1
  158. package/lib/typescript/components/typography/LabelSmall.d.ts.map +1 -1
  159. package/lib/typescript/components/typography/index.d.ts +0 -1
  160. package/lib/typescript/components/typography/index.d.ts.map +1 -1
  161. package/lib/typescript/components/typography/markdown/MdH2.d.ts.map +1 -1
  162. package/lib/typescript/utils/fonts.d.ts +7 -7
  163. package/lib/typescript/utils/fonts.d.ts.map +1 -1
  164. package/package.json +1 -1
  165. package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
  166. package/src/components/badge/Badge.tsx +2 -2
  167. package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
  168. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
  169. package/src/components/buttons/ButtonLink.tsx +2 -2
  170. package/src/components/buttons/ButtonOutline.tsx +2 -2
  171. package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
  172. package/src/components/layout/HeaderSecondLevel.tsx +2 -2
  173. package/src/components/listitems/ListItemRadioWithAmount.tsx +7 -4
  174. package/src/components/listitems/ListItemTransaction.tsx +4 -3
  175. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
  176. package/src/components/modules/ModuleAttachment.tsx +4 -3
  177. package/src/components/modules/ModuleCredential.tsx +4 -3
  178. package/src/components/modules/ModuleIDP.tsx +2 -2
  179. package/src/components/modules/ModuleNavigation.tsx +4 -3
  180. package/src/components/modules/ModulePaymentNotice.tsx +4 -3
  181. package/src/components/searchInput/SearchInput.tsx +1 -1
  182. package/src/components/tag/Tag.tsx +2 -2
  183. package/src/components/textInput/TextInputBase.tsx +1 -6
  184. package/src/components/typography/Body.tsx +15 -4
  185. package/src/components/typography/ButtonText.tsx +2 -2
  186. package/src/components/typography/Caption.tsx +1 -1
  187. package/src/components/typography/Chip.tsx +1 -1
  188. package/src/components/typography/H1.tsx +4 -6
  189. package/src/components/typography/H2.tsx +2 -2
  190. package/src/components/typography/H3.tsx +2 -2
  191. package/src/components/typography/H4.tsx +2 -2
  192. package/src/components/typography/H5.tsx +11 -4
  193. package/src/components/typography/H6.tsx +5 -7
  194. package/src/components/typography/Hero.tsx +2 -2
  195. package/src/components/typography/Label.tsx +15 -4
  196. package/src/components/typography/LabelMini.tsx +15 -4
  197. package/src/components/typography/LabelSmall.tsx +15 -4
  198. package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +5 -5
  199. package/src/components/typography/index.tsx +0 -1
  200. package/src/components/typography/markdown/MdH1.tsx +2 -2
  201. package/src/components/typography/markdown/MdH2.tsx +3 -5
  202. package/src/components/typography/markdown/MdH3.tsx +2 -2
  203. package/src/utils/fonts.ts +20 -10
  204. package/lib/commonjs/components/typography/LabelSmallAlt.js +0 -48
  205. package/lib/commonjs/components/typography/LabelSmallAlt.js.map +0 -1
  206. package/lib/module/components/typography/LabelSmallAlt.js +0 -39
  207. package/lib/module/components/typography/LabelSmallAlt.js.map +0 -1
  208. package/lib/typescript/components/typography/LabelSmallAlt.d.ts +0 -13
  209. package/lib/typescript/components/typography/LabelSmallAlt.d.ts.map +0 -1
  210. package/src/components/typography/LabelSmallAlt.tsx +0 -41
@@ -83,10 +83,10 @@ exports[`Test Buttons Components - Experimental Enabled ButtonLink Snapshot 1`]
83
83
  {},
84
84
  {
85
85
  "color": "#0E0F13",
86
- "fontFamily": "Readex Pro",
86
+ "fontFamily": "Titillio",
87
87
  "fontSize": 16,
88
88
  "fontStyle": "normal",
89
- "fontWeight": "400",
89
+ "fontWeight": "600",
90
90
  "lineHeight": undefined,
91
91
  },
92
92
  {
@@ -190,10 +190,10 @@ exports[`Test Buttons Components - Experimental Enabled ButtonOutline Snapshot 1
190
190
  {},
191
191
  {
192
192
  "color": "#0E0F13",
193
- "fontFamily": "Readex Pro",
193
+ "fontFamily": "Titillio",
194
194
  "fontSize": 16,
195
195
  "fontStyle": "normal",
196
- "fontWeight": "400",
196
+ "fontWeight": "600",
197
197
  "lineHeight": undefined,
198
198
  },
199
199
  [
@@ -311,10 +311,10 @@ exports[`Test Buttons Components - Experimental Enabled ButtonSolid Snapshot 1`]
311
311
  {},
312
312
  {
313
313
  "color": "#FFFFFF",
314
- "fontFamily": "Readex Pro",
314
+ "fontFamily": "Titillio",
315
315
  "fontSize": 16,
316
316
  "fontStyle": "normal",
317
- "fontWeight": "400",
317
+ "fontWeight": "600",
318
318
  "lineHeight": 20,
319
319
  },
320
320
  {
@@ -303,8 +303,8 @@ export const HeaderSecondLevel = ({
303
303
  size={14}
304
304
  numberOfLines={1}
305
305
  accessible={false}
306
- font={isExperimental ? "ReadexPro" : "TitilliumSansPro"}
307
- weight={isExperimental ? "Regular" : "Semibold"}
306
+ font={isExperimental ? "Titillio" : "TitilliumSansPro"}
307
+ weight={"Semibold"}
308
308
  style={[
309
309
  { color: titleColor, textAlign: "center" },
310
310
  titleAnimatedStyle
@@ -5,8 +5,7 @@ import { IOColors, useIOTheme } from "../../core";
5
5
  import { Icon } from "../icons";
6
6
  import { AnimatedRadio } from "../radio/AnimatedRadio";
7
7
  import { HSpacer, VSpacer } from "../spacer";
8
- import { H6, LabelSmallAlt } from "../typography";
9
- import { LabelSmall } from "../typography/LabelSmall";
8
+ import { H6, LabelSmall } from "../typography";
10
9
  import { PressableListItemBase } from "./PressableListItemsBase";
11
10
 
12
11
  export type ListItemRadioWithAmountProps = {
@@ -56,9 +55,13 @@ export const ListItemRadioWithAmount = ({
56
55
  }}
57
56
  >
58
57
  <View style={{ flexShrink: 1 }}>
59
- <LabelSmallAlt numberOfLines={1} color={theme["textBody-default"]}>
58
+ <LabelSmall
59
+ weight="Semibold"
60
+ numberOfLines={1}
61
+ color={theme["textBody-default"]}
62
+ >
60
63
  {label}
61
- </LabelSmallAlt>
64
+ </LabelSmall>
62
65
  {isSuggested && (
63
66
  <>
64
67
  <VSpacer size={4} />
@@ -24,7 +24,7 @@ import { LogoPaymentWithFallback } from "../common/LogoPaymentWithFallback";
24
24
  import { IOIconSizeScale, Icon } from "../icons";
25
25
  import { IOLogoPaymentType } from "../logos";
26
26
  import { VSpacer } from "../spacer";
27
- import { H6, LabelSmall, LabelSmallAlt } from "../typography";
27
+ import { H6, LabelSmall } from "../typography";
28
28
  import {
29
29
  PressableBaseProps,
30
30
  PressableListItemBase
@@ -192,12 +192,13 @@ export const ListItemTransaction = ({
192
192
  </View>
193
193
  )}
194
194
  <View style={IOStyles.flex}>
195
- <LabelSmallAlt
195
+ <LabelSmall
196
196
  numberOfLines={numberOfLines}
197
197
  color={theme["textBody-default"]}
198
+ weight="Semibold"
198
199
  >
199
200
  {title}
200
- </LabelSmallAlt>
201
+ </LabelSmall>
201
202
  <LabelSmall weight="Regular" color={theme["textBody-tertiary"]}>
202
203
  {subtitle}
203
204
  </LabelSmall>
@@ -84,10 +84,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemAction Snapsh
84
84
  {},
85
85
  {
86
86
  "color": "#0B3EE3",
87
- "fontFamily": "Readex Pro",
87
+ "fontFamily": "Titillio",
88
88
  "fontSize": 16,
89
89
  "fontStyle": "normal",
90
- "fontWeight": "400",
90
+ "fontWeight": "600",
91
91
  "lineHeight": 20,
92
92
  },
93
93
  ]
@@ -176,10 +176,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemIDP Snapshot
176
176
  },
177
177
  {
178
178
  "color": "#555C70",
179
- "fontFamily": "Readex Pro",
179
+ "fontFamily": "Titillio",
180
180
  "fontSize": 12,
181
181
  "fontStyle": "normal",
182
- "fontWeight": "400",
182
+ "fontWeight": "600",
183
183
  "lineHeight": 16,
184
184
  },
185
185
  ]
@@ -245,7 +245,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfo Snapshot
245
245
  {},
246
246
  {
247
247
  "color": "#555C70",
248
- "fontFamily": "Titillium Sans Pro",
248
+ "fontFamily": "Titillio",
249
249
  "fontSize": 14,
250
250
  "fontStyle": "normal",
251
251
  "fontWeight": "400",
@@ -266,10 +266,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfo Snapshot
266
266
  {},
267
267
  {
268
268
  "color": "#0E0F13",
269
- "fontFamily": "Readex Pro",
270
- "fontSize": 16,
269
+ "fontFamily": "Titillio",
270
+ "fontSize": 18,
271
271
  "fontStyle": "normal",
272
- "fontWeight": "400",
272
+ "fontWeight": "600",
273
273
  "lineHeight": 24,
274
274
  },
275
275
  ]
@@ -367,7 +367,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfoCopy Snap
367
367
  {},
368
368
  {
369
369
  "color": "#555C70",
370
- "fontFamily": "Titillium Sans Pro",
370
+ "fontFamily": "Titillio",
371
371
  "fontSize": 14,
372
372
  "fontStyle": "normal",
373
373
  "fontWeight": "400",
@@ -388,10 +388,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfoCopy Snap
388
388
  {},
389
389
  {
390
390
  "color": "#0B3EE3",
391
- "fontFamily": "Readex Pro",
392
- "fontSize": 16,
391
+ "fontFamily": "Titillio",
392
+ "fontSize": 18,
393
393
  "fontStyle": "normal",
394
- "fontWeight": "400",
394
+ "fontWeight": "600",
395
395
  "lineHeight": 24,
396
396
  },
397
397
  ]
@@ -555,10 +555,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemNav Snapshot
555
555
  {},
556
556
  {
557
557
  "color": "#0E0F13",
558
- "fontFamily": "Readex Pro",
559
- "fontSize": 16,
558
+ "fontFamily": "Titillio",
559
+ "fontSize": 18,
560
560
  "fontStyle": "normal",
561
- "fontWeight": "400",
561
+ "fontWeight": "600",
562
562
  "lineHeight": 24,
563
563
  },
564
564
  ]
@@ -784,10 +784,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemNavAlert Snap
784
784
  {},
785
785
  {
786
786
  "color": "#0E0F13",
787
- "fontFamily": "Readex Pro",
788
- "fontSize": 16,
787
+ "fontFamily": "Titillio",
788
+ "fontSize": 18,
789
789
  "fontStyle": "normal",
790
- "fontWeight": "400",
790
+ "fontWeight": "600",
791
791
  "lineHeight": 24,
792
792
  },
793
793
  ]
@@ -952,10 +952,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
952
952
  {},
953
953
  {
954
954
  "color": "#0E0F13",
955
- "fontFamily": "Readex Pro",
955
+ "fontFamily": "Titillio",
956
956
  "fontSize": 14,
957
957
  "fontStyle": "normal",
958
- "fontWeight": "400",
958
+ "fontWeight": "600",
959
959
  "lineHeight": 21,
960
960
  },
961
961
  ]
@@ -1051,7 +1051,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
1051
1051
  {},
1052
1052
  {
1053
1053
  "color": "#5517E3",
1054
- "fontFamily": "Titillium Sans Pro",
1054
+ "fontFamily": "Titillio",
1055
1055
  "fontSize": 14,
1056
1056
  "fontStyle": "normal",
1057
1057
  "fontWeight": "400",
@@ -1090,10 +1090,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
1090
1090
  {},
1091
1091
  {
1092
1092
  "color": "#0B3EE3",
1093
- "fontFamily": "Readex Pro",
1094
- "fontSize": 16,
1093
+ "fontFamily": "Titillio",
1094
+ "fontSize": 18,
1095
1095
  "fontStyle": "normal",
1096
- "fontWeight": "400",
1096
+ "fontWeight": "600",
1097
1097
  "lineHeight": 24,
1098
1098
  },
1099
1099
  ]
@@ -1340,10 +1340,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
1340
1340
  {},
1341
1341
  {
1342
1342
  "color": "#0E0F13",
1343
- "fontFamily": "Readex Pro",
1343
+ "fontFamily": "Titillio",
1344
1344
  "fontSize": 14,
1345
1345
  "fontStyle": "normal",
1346
- "fontWeight": "400",
1346
+ "fontWeight": "600",
1347
1347
  "lineHeight": 21,
1348
1348
  },
1349
1349
  ]
@@ -1378,10 +1378,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
1378
1378
  {},
1379
1379
  {
1380
1380
  "color": "#0B3EE3",
1381
- "fontFamily": "Readex Pro",
1382
- "fontSize": 16,
1381
+ "fontFamily": "Titillio",
1382
+ "fontSize": 18,
1383
1383
  "fontStyle": "normal",
1384
- "fontWeight": "400",
1384
+ "fontWeight": "600",
1385
1385
  "lineHeight": 24,
1386
1386
  },
1387
1387
  ]
@@ -1967,7 +1967,7 @@ exports[`Test List Item Components ListItemInfo Snapshot 1`] = `
1967
1967
  "fontSize": 18,
1968
1968
  "fontStyle": "normal",
1969
1969
  "fontWeight": "600",
1970
- "lineHeight": 25,
1970
+ "lineHeight": 24,
1971
1971
  },
1972
1972
  ]
1973
1973
  }
@@ -2089,7 +2089,7 @@ exports[`Test List Item Components ListItemInfoCopy Snapshot 1`] = `
2089
2089
  "fontSize": 18,
2090
2090
  "fontStyle": "normal",
2091
2091
  "fontWeight": "600",
2092
- "lineHeight": 25,
2092
+ "lineHeight": 24,
2093
2093
  },
2094
2094
  ]
2095
2095
  }
@@ -2256,7 +2256,7 @@ exports[`Test List Item Components ListItemNav Snapshot 1`] = `
2256
2256
  "fontSize": 18,
2257
2257
  "fontStyle": "normal",
2258
2258
  "fontWeight": "600",
2259
- "lineHeight": 25,
2259
+ "lineHeight": 24,
2260
2260
  },
2261
2261
  ]
2262
2262
  }
@@ -2485,7 +2485,7 @@ exports[`Test List Item Components ListItemNavAlert Snapshot 1`] = `
2485
2485
  "fontSize": 18,
2486
2486
  "fontStyle": "normal",
2487
2487
  "fontWeight": "600",
2488
- "lineHeight": 25,
2488
+ "lineHeight": 24,
2489
2489
  },
2490
2490
  ]
2491
2491
  }
@@ -2650,7 +2650,7 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 1`] = `
2650
2650
  {
2651
2651
  "color": "#0E0F13",
2652
2652
  "fontFamily": "Titillium Sans Pro",
2653
- "fontSize": 16,
2653
+ "fontSize": 14,
2654
2654
  "fontStyle": "normal",
2655
2655
  "fontWeight": "600",
2656
2656
  "lineHeight": 21,
@@ -2791,7 +2791,7 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 1`] = `
2791
2791
  "fontSize": 18,
2792
2792
  "fontStyle": "normal",
2793
2793
  "fontWeight": "600",
2794
- "lineHeight": 25,
2794
+ "lineHeight": 24,
2795
2795
  },
2796
2796
  ]
2797
2797
  }
@@ -3038,7 +3038,7 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 2`] = `
3038
3038
  {
3039
3039
  "color": "#0E0F13",
3040
3040
  "fontFamily": "Titillium Sans Pro",
3041
- "fontSize": 16,
3041
+ "fontSize": 14,
3042
3042
  "fontStyle": "normal",
3043
3043
  "fontWeight": "600",
3044
3044
  "lineHeight": 21,
@@ -3079,7 +3079,7 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 2`] = `
3079
3079
  "fontSize": 18,
3080
3080
  "fontStyle": "normal",
3081
3081
  "fontWeight": "600",
3082
- "lineHeight": 25,
3082
+ "lineHeight": 24,
3083
3083
  },
3084
3084
  ]
3085
3085
  }
@@ -7,7 +7,7 @@ import { Badge } from "../badge";
7
7
  import { Icon } from "../icons";
8
8
  import { LoadingSpinner } from "../loadingSpinner";
9
9
  import { HStack, VStack } from "../stack";
10
- import { LabelSmallAlt } from "../typography";
10
+ import { LabelSmall } from "../typography";
11
11
  import { ModuleStatic } from "./ModuleStatic";
12
12
  import { PressableModuleBase } from "./PressableModuleBase";
13
13
 
@@ -66,12 +66,13 @@ const ModuleAttachmentContent = ({
66
66
  space={4}
67
67
  style={{ alignItems: "flex-start", flexShrink: 1, flexGrow: 1 }}
68
68
  >
69
- <LabelSmallAlt
69
+ <LabelSmall
70
+ weight="Semibold"
70
71
  numberOfLines={2}
71
72
  color={theme["interactiveElem-default"]}
72
73
  >
73
74
  {title}
74
- </LabelSmallAlt>
75
+ </LabelSmall>
75
76
  <Badge text={format.toUpperCase()} variant="default" />
76
77
  </VStack>
77
78
  <IconOrActivityIndicatorComponent />
@@ -20,7 +20,7 @@ import { Badge } from "../badge";
20
20
  import { IOIcons, Icon } from "../icons";
21
21
  import { LoadingSpinner } from "../loadingSpinner";
22
22
  import { HStack } from "../stack/Stack";
23
- import { LabelSmallAlt } from "../typography";
23
+ import { LabelSmall } from "../typography";
24
24
  import { ModuleStatic } from "./ModuleStatic";
25
25
  import {
26
26
  PressableModuleBase,
@@ -89,14 +89,15 @@ const ModuleCredential = (props: WithTestID<ModuleCredentialProps>) => {
89
89
  {/* Graphical assets */}
90
90
  {iconComponent ?? imageComponent}
91
91
 
92
- <LabelSmallAlt
92
+ <LabelSmall
93
93
  color={theme["interactiveElem-default"]}
94
+ weight="Semibold"
94
95
  numberOfLines={2}
95
96
  lineBreakMode="middle"
96
97
  style={{ flexShrink: 1 }}
97
98
  >
98
99
  {label}
99
- </LabelSmallAlt>
100
+ </LabelSmall>
100
101
  </HStack>
101
102
  <View style={IOStyles.row}>
102
103
  {badge ? (
@@ -59,8 +59,8 @@ export const ModuleIDP = ({
59
59
  withLooseSpacing={withLooseSpacing}
60
60
  >
61
61
  <IOText
62
- font={isExperimental ? "ReadexPro" : "TitilliumSansPro"}
63
- weight={isExperimental ? "Regular" : "Semibold"}
62
+ font={isExperimental ? "Titillio" : "TitilliumSansPro"}
63
+ weight={"Semibold"}
64
64
  size={12}
65
65
  lineHeight={16}
66
66
  color={theme["textBody-tertiary"]}
@@ -18,7 +18,7 @@ import { WithTestID } from "../../utils/types";
18
18
  import { Badge } from "../badge";
19
19
  import { IOIcons, Icon } from "../icons";
20
20
  import { HStack, VStack } from "../stack";
21
- import { Chip, LabelSmallAlt } from "../typography";
21
+ import { Chip, LabelSmall } from "../typography";
22
22
  import { ModuleStatic } from "./ModuleStatic";
23
23
  import {
24
24
  PressableModuleBase,
@@ -79,14 +79,15 @@ export const ModuleNavigation = (props: WithTestID<ModuleNavigationProps>) => {
79
79
  {iconComponent ?? imageComponent}
80
80
 
81
81
  <View style={{ flexShrink: 1 }}>
82
- <LabelSmallAlt
82
+ <LabelSmall
83
83
  color={theme["interactiveElem-default"]}
84
+ weight="Semibold"
84
85
  numberOfLines={2}
85
86
  lineBreakMode="middle"
86
87
  style={{ flexShrink: 1 }}
87
88
  >
88
89
  {title}
89
- </LabelSmallAlt>
90
+ </LabelSmall>
90
91
  {subtitle && (
91
92
  <Chip color={theme["textBody-tertiary"]}>{subtitle}</Chip>
92
93
  )}
@@ -7,7 +7,7 @@ import { WithTestID } from "../../utils/types";
7
7
  import { Badge } from "../badge";
8
8
  import { Icon } from "../icons";
9
9
  import { HStack, VStack } from "../stack";
10
- import { H6, LabelSmall, LabelSmallAlt } from "../typography";
10
+ import { H6, LabelSmall } from "../typography";
11
11
  import { ModuleStatic } from "./ModuleStatic";
12
12
  import { PressableModuleBase } from "./PressableModuleBase";
13
13
 
@@ -98,12 +98,13 @@ const ModulePaymentNoticeContent = ({
98
98
  </LabelSmall>
99
99
  )}
100
100
  {subtitle && (
101
- <LabelSmallAlt
101
+ <LabelSmall
102
102
  color={theme["interactiveElem-default"]}
103
103
  numberOfLines={2}
104
+ weight="Semibold"
104
105
  >
105
106
  {subtitle}
106
- </LabelSmallAlt>
107
+ </LabelSmall>
107
108
  )}
108
109
  </View>
109
110
  <View style={styles.endBlock}>
@@ -326,7 +326,7 @@ const styles = StyleSheet.create({
326
326
  placeholder: {
327
327
  ...makeFontStyleObject(
328
328
  inputFontSizePlaceholder,
329
- "ReadexPro",
329
+ "Titillio",
330
330
  undefined,
331
331
  "Regular"
332
332
  )
@@ -169,8 +169,8 @@ export const Tag = ({
169
169
  {variantProps && text && <View style={styles.spacer} />}
170
170
  {text && (
171
171
  <IOText
172
- font={isExperimental ? "ReadexPro" : "TitilliumSansPro"}
173
- weight={isExperimental ? "Regular" : "Semibold"}
172
+ font={isExperimental ? "Titillio" : "TitilliumSansPro"}
173
+ weight={"Semibold"}
174
174
  size={12}
175
175
  lineHeight={16}
176
176
  color={theme["textBody-tertiary"]}
@@ -107,12 +107,7 @@ const styles = StyleSheet.create({
107
107
  ...(Platform.OS === "android" && { marginLeft: -4 })
108
108
  },
109
109
  textInputStyleFont: {
110
- ...makeFontStyleObject(
111
- inputLabelFontSize,
112
- "ReadexPro",
113
- undefined,
114
- "Regular"
115
- )
110
+ ...makeFontStyleObject(inputLabelFontSize, "Titillio", undefined, "Regular")
116
111
  },
117
112
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
118
113
  textInputStyleLegacyFont: {
@@ -1,7 +1,7 @@
1
1
  import React, { ForwardedRef, forwardRef } from "react";
2
2
  import { View } from "react-native";
3
- import { useIOTheme } from "../../core";
4
- import { IOFontWeight } from "../../utils/fonts";
3
+ import { useIOExperimentalDesign, useIOTheme } from "../../core";
4
+ import { IOFontFamily, IOFontWeight } from "../../utils/fonts";
5
5
  import {
6
6
  IOText,
7
7
  IOTextProps,
@@ -16,6 +16,12 @@ type BodyStyleProps = TypographicStyleProps & {
16
16
  export const bodyFontSize = 16;
17
17
  export const bodyLineHeight = 24;
18
18
 
19
+ const fontName: IOFontFamily = "Titillio";
20
+ const fontWeight: IOFontWeight = "Regular";
21
+
22
+ const legacyFontName: IOFontFamily = "TitilliumSansPro";
23
+ const legacyFontWeight: IOFontWeight = "Regular";
24
+
19
25
  /**
20
26
  * `Body` typographic style
21
27
  */
@@ -25,6 +31,7 @@ export const Body = forwardRef<View, BodyStyleProps>(
25
31
  ref?: ForwardedRef<View>
26
32
  ) => {
27
33
  const theme = useIOTheme();
34
+ const { isExperimental } = useIOExperimentalDesign();
28
35
 
29
36
  const defaultColor = asLink
30
37
  ? theme["interactiveElem-default"]
@@ -33,8 +40,12 @@ export const Body = forwardRef<View, BodyStyleProps>(
33
40
  const BodyProps: IOTextProps = {
34
41
  ...props,
35
42
  dynamicTypeRamp: "body", // iOS only
36
- font: "TitilliumSansPro",
37
- weight: customWeight ?? "Regular",
43
+ font: isExperimental ? fontName : legacyFontName,
44
+ weight: customWeight
45
+ ? customWeight
46
+ : isExperimental
47
+ ? fontWeight
48
+ : legacyFontWeight,
38
49
  size: bodyFontSize,
39
50
  lineHeight: bodyLineHeight,
40
51
  color: customColor ?? defaultColor,
@@ -9,8 +9,8 @@ export const buttonTextFontSize: IOFontSize = 16;
9
9
  /* Needed to render `ButtonOutline` and`ButtonLink` because they use
10
10
  `AnimatedText` for color transition through Reanimated */
11
11
  const defaultColor: IOColors = "white";
12
- const fontName: IOFontFamily = "ReadexPro";
13
- const fontWeight: IOFontWeight = "Regular";
12
+ const fontName: IOFontFamily = "Titillio";
13
+ const fontWeight: IOFontWeight = "Semibold";
14
14
 
15
15
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
16
16
  const legacyFontName: IOFontFamily = "TitilliumSansPro";
@@ -7,7 +7,7 @@ import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
7
7
  const defaultColor: keyof IOTheme = "textBody-default";
8
8
 
9
9
  export const captionFontSize: IOFontSize = 12;
10
- const fontName: IOFontFamily = "ReadexPro";
10
+ const fontName: IOFontFamily = "Titillio";
11
11
  const fontWeight: IOFontWeight = "Regular";
12
12
 
13
13
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
@@ -4,7 +4,7 @@ import { useIOExperimentalDesign, useIOTheme } from "../../core";
4
4
  import { IOFontFamily } from "../../utils/fonts";
5
5
  import { IOText, IOTextProps, TypographicStyleProps } from "./IOText";
6
6
 
7
- const fontName: IOFontFamily = "ReadexPro";
7
+ const fontName: IOFontFamily = "Titillio";
8
8
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
9
9
  const legacyFontName: IOFontFamily = "TitilliumSansPro";
10
10
  /**
@@ -8,12 +8,10 @@ const defaultColor: keyof IOTheme = "textHeading-default";
8
8
 
9
9
  export const h1FontSize: IOFontSize = 28;
10
10
  export const h1LineHeight = 42;
11
- const fontName: IOFontFamily = "ReadexPro";
12
- const fontWeight: IOFontWeight = "Regular";
11
+ const fontName: IOFontFamily = "Titillio";
12
+ const fontWeight: IOFontWeight = "Semibold";
13
13
 
14
14
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
15
- const legacyH1FontSize: IOFontSize = 31;
16
- const legacyH1LineHeight = 43;
17
15
  const legacyFontName: IOFontFamily = "TitilliumSansPro";
18
16
  const legacyFontWeight: IOFontWeight = "Semibold";
19
17
 
@@ -30,8 +28,8 @@ export const H1 = forwardRef<View, TypographicStyleProps>(
30
28
  dynamicTypeRamp: "largeTitle", // iOS only
31
29
  font: isExperimental ? fontName : legacyFontName,
32
30
  weight: isExperimental ? fontWeight : legacyFontWeight,
33
- size: isExperimental ? h1FontSize : legacyH1FontSize,
34
- lineHeight: isExperimental ? h1LineHeight : legacyH1LineHeight,
31
+ size: h1FontSize,
32
+ lineHeight: h1LineHeight,
35
33
  color: customColor ?? theme[defaultColor]
36
34
  };
37
35
 
@@ -8,8 +8,8 @@ const defaultColor: keyof IOTheme = "textHeading-default";
8
8
 
9
9
  export const h2FontSize: IOFontSize = 26;
10
10
  export const h2LineHeight = 39;
11
- const fontName: IOFontFamily = "ReadexPro";
12
- const fontWeight: IOFontWeight = "Regular";
11
+ const fontName: IOFontFamily = "Titillio";
12
+ const fontWeight: IOFontWeight = "Semibold";
13
13
 
14
14
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
15
15
  const legacyH2FontSize: IOFontSize = 28;
@@ -9,8 +9,8 @@ const defaultColor: keyof IOTheme = "textHeading-default";
9
9
  /* Common typographic styles */
10
10
  export const h3FontSize: IOFontSize = 22;
11
11
  export const h3LineHeight = 33;
12
- const fontName: IOFontFamily = "ReadexPro";
13
- const fontWeight: IOFontWeight = "Regular";
12
+ const fontName: IOFontFamily = "Titillio";
13
+ const fontWeight: IOFontWeight = "Semibold";
14
14
 
15
15
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
16
16
  const legacyFontName: IOFontFamily = "TitilliumSansPro";
@@ -8,8 +8,8 @@ const defaultColor: keyof IOTheme = "textHeading-default";
8
8
 
9
9
  export const h4FontSize: IOFontSize = 20;
10
10
  export const h4LineHeight = 24;
11
- const fontName: IOFontFamily = "ReadexPro";
12
- const fontWeight: IOFontWeight = "Regular";
11
+ const fontName: IOFontFamily = "Titillio";
12
+ const fontWeight: IOFontWeight = "Semibold";
13
13
 
14
14
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
15
15
  const legacyFontName: IOFontFamily = "TitilliumSansPro";