@pagopa/io-app-design-system 2.0.2 → 2.1.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 (217) 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 +7 -4
  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 +4 -6
  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 +6 -6
  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/core/IOColors.js +3 -1
  72. package/lib/commonjs/core/IOColors.js.map +1 -1
  73. package/lib/commonjs/utils/fonts.js +10 -8
  74. package/lib/commonjs/utils/fonts.js.map +1 -1
  75. package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
  76. package/lib/module/components/badge/Badge.js +2 -2
  77. package/lib/module/components/badge/Badge.js.map +1 -1
  78. package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
  79. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
  80. package/lib/module/components/buttons/ButtonLink.js +2 -2
  81. package/lib/module/components/buttons/ButtonLink.js.map +1 -1
  82. package/lib/module/components/buttons/ButtonOutline.js +2 -2
  83. package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
  84. package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
  85. package/lib/module/components/layout/HeaderSecondLevel.js +2 -2
  86. package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
  87. package/lib/module/components/listitems/ListItemRadioWithAmount.js +3 -3
  88. package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  89. package/lib/module/components/listitems/ListItemTransaction.js +8 -5
  90. package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
  91. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
  92. package/lib/module/components/modules/ModuleAttachment.js +3 -2
  93. package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
  94. package/lib/module/components/modules/ModuleCredential.js +3 -2
  95. package/lib/module/components/modules/ModuleCredential.js.map +1 -1
  96. package/lib/module/components/modules/ModuleIDP.js +2 -2
  97. package/lib/module/components/modules/ModuleIDP.js.map +1 -1
  98. package/lib/module/components/modules/ModuleNavigation.js +3 -2
  99. package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
  100. package/lib/module/components/modules/ModulePaymentNotice.js +4 -3
  101. package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
  102. package/lib/module/components/searchInput/SearchInput.js +1 -1
  103. package/lib/module/components/searchInput/SearchInput.js.map +1 -1
  104. package/lib/module/components/tag/Tag.js +2 -2
  105. package/lib/module/components/tag/Tag.js.map +1 -1
  106. package/lib/module/components/textInput/TextInputBase.js +1 -1
  107. package/lib/module/components/textInput/TextInputBase.js.map +1 -1
  108. package/lib/module/components/typography/Body.js +10 -3
  109. package/lib/module/components/typography/Body.js.map +1 -1
  110. package/lib/module/components/typography/ButtonText.js +2 -2
  111. package/lib/module/components/typography/ButtonText.js.map +1 -1
  112. package/lib/module/components/typography/Caption.js +1 -1
  113. package/lib/module/components/typography/Caption.js.map +1 -1
  114. package/lib/module/components/typography/Chip.js +1 -1
  115. package/lib/module/components/typography/Chip.js.map +1 -1
  116. package/lib/module/components/typography/H1.js +4 -6
  117. package/lib/module/components/typography/H1.js.map +1 -1
  118. package/lib/module/components/typography/H2.js +2 -2
  119. package/lib/module/components/typography/H2.js.map +1 -1
  120. package/lib/module/components/typography/H3.js +2 -2
  121. package/lib/module/components/typography/H3.js.map +1 -1
  122. package/lib/module/components/typography/H4.js +2 -2
  123. package/lib/module/components/typography/H4.js.map +1 -1
  124. package/lib/module/components/typography/H5.js +10 -3
  125. package/lib/module/components/typography/H5.js.map +1 -1
  126. package/lib/module/components/typography/H6.js +4 -6
  127. package/lib/module/components/typography/H6.js.map +1 -1
  128. package/lib/module/components/typography/Hero.js +2 -2
  129. package/lib/module/components/typography/Hero.js.map +1 -1
  130. package/lib/module/components/typography/Label.js +11 -3
  131. package/lib/module/components/typography/Label.js.map +1 -1
  132. package/lib/module/components/typography/LabelMini.js +11 -3
  133. package/lib/module/components/typography/LabelMini.js.map +1 -1
  134. package/lib/module/components/typography/LabelSmall.js +11 -3
  135. package/lib/module/components/typography/LabelSmall.js.map +1 -1
  136. package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +6 -6
  137. package/lib/module/components/typography/index.js +0 -1
  138. package/lib/module/components/typography/index.js.map +1 -1
  139. package/lib/module/components/typography/markdown/MdH1.js +2 -2
  140. package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
  141. package/lib/module/components/typography/markdown/MdH2.js +3 -5
  142. package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
  143. package/lib/module/components/typography/markdown/MdH3.js +2 -2
  144. package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
  145. package/lib/module/core/IOColors.js +3 -1
  146. package/lib/module/core/IOColors.js.map +1 -1
  147. package/lib/module/utils/fonts.js +10 -8
  148. package/lib/module/utils/fonts.js.map +1 -1
  149. package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
  150. package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
  151. package/lib/typescript/components/modules/ModuleAttachment.d.ts.map +1 -1
  152. package/lib/typescript/components/modules/ModuleCredential.d.ts.map +1 -1
  153. package/lib/typescript/components/modules/ModuleNavigation.d.ts.map +1 -1
  154. package/lib/typescript/components/modules/ModulePaymentNotice.d.ts.map +1 -1
  155. package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
  156. package/lib/typescript/components/typography/Body.d.ts.map +1 -1
  157. package/lib/typescript/components/typography/H1.d.ts.map +1 -1
  158. package/lib/typescript/components/typography/H5.d.ts.map +1 -1
  159. package/lib/typescript/components/typography/H6.d.ts.map +1 -1
  160. package/lib/typescript/components/typography/Label.d.ts.map +1 -1
  161. package/lib/typescript/components/typography/LabelMini.d.ts.map +1 -1
  162. package/lib/typescript/components/typography/LabelSmall.d.ts.map +1 -1
  163. package/lib/typescript/components/typography/index.d.ts +0 -1
  164. package/lib/typescript/components/typography/index.d.ts.map +1 -1
  165. package/lib/typescript/components/typography/markdown/MdH2.d.ts.map +1 -1
  166. package/lib/typescript/core/IOColors.d.ts +1 -1
  167. package/lib/typescript/core/IOColors.d.ts.map +1 -1
  168. package/lib/typescript/utils/fonts.d.ts +8 -8
  169. package/lib/typescript/utils/fonts.d.ts.map +1 -1
  170. package/package.json +1 -1
  171. package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
  172. package/src/components/badge/Badge.tsx +2 -2
  173. package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
  174. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
  175. package/src/components/buttons/ButtonLink.tsx +2 -2
  176. package/src/components/buttons/ButtonOutline.tsx +2 -2
  177. package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
  178. package/src/components/layout/HeaderSecondLevel.tsx +2 -2
  179. package/src/components/listitems/ListItemRadioWithAmount.tsx +7 -4
  180. package/src/components/listitems/ListItemTransaction.tsx +9 -5
  181. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
  182. package/src/components/modules/ModuleAttachment.tsx +4 -3
  183. package/src/components/modules/ModuleCredential.tsx +4 -3
  184. package/src/components/modules/ModuleIDP.tsx +2 -2
  185. package/src/components/modules/ModuleNavigation.tsx +4 -3
  186. package/src/components/modules/ModulePaymentNotice.tsx +4 -3
  187. package/src/components/searchInput/SearchInput.tsx +1 -1
  188. package/src/components/tag/Tag.tsx +2 -2
  189. package/src/components/textInput/TextInputBase.tsx +1 -6
  190. package/src/components/typography/Body.tsx +15 -4
  191. package/src/components/typography/ButtonText.tsx +2 -2
  192. package/src/components/typography/Caption.tsx +1 -1
  193. package/src/components/typography/Chip.tsx +1 -1
  194. package/src/components/typography/H1.tsx +4 -6
  195. package/src/components/typography/H2.tsx +2 -2
  196. package/src/components/typography/H3.tsx +2 -2
  197. package/src/components/typography/H4.tsx +2 -2
  198. package/src/components/typography/H5.tsx +11 -4
  199. package/src/components/typography/H6.tsx +4 -6
  200. package/src/components/typography/Hero.tsx +2 -2
  201. package/src/components/typography/Label.tsx +15 -4
  202. package/src/components/typography/LabelMini.tsx +15 -4
  203. package/src/components/typography/LabelSmall.tsx +15 -4
  204. package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +6 -6
  205. package/src/components/typography/index.tsx +0 -1
  206. package/src/components/typography/markdown/MdH1.tsx +2 -2
  207. package/src/components/typography/markdown/MdH2.tsx +3 -5
  208. package/src/components/typography/markdown/MdH3.tsx +2 -2
  209. package/src/core/IOColors.ts +3 -0
  210. package/src/utils/fonts.ts +20 -10
  211. package/lib/commonjs/components/typography/LabelSmallAlt.js +0 -48
  212. package/lib/commonjs/components/typography/LabelSmallAlt.js.map +0 -1
  213. package/lib/module/components/typography/LabelSmallAlt.js +0 -39
  214. package/lib/module/components/typography/LabelSmallAlt.js.map +0 -1
  215. package/lib/typescript/components/typography/LabelSmallAlt.d.ts +0 -13
  216. package/lib/typescript/components/typography/LabelSmallAlt.d.ts.map +0 -1
  217. package/src/components/typography/LabelSmallAlt.tsx +0 -41
@@ -1 +1 @@
1
- {"version":3,"file":"MdH2.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/markdown/MdH2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAU,WAAW,EAAyB,MAAM,WAAW,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;8BAsBhB,CAAC"}
1
+ {"version":3,"file":"MdH2.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/markdown/MdH2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAU,WAAW,EAAyB,MAAM,WAAW,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;8BAoBhB,CAAC"}
@@ -180,7 +180,7 @@ export declare const IOColorsExtra: {
180
180
  "blue-50": string;
181
181
  };
182
182
  export type IOColorsExtra = keyof typeof IOColorsExtra;
183
- declare const themeKeys: readonly ["appBackground-primary", "appBackground-secondary", "appBackground-tertiary", "appBackground-accent", "interactiveElem-default", "interactiveElem-pressed", "listItem-pressed", "textHeading-default", "textHeading-secondary", "textHeading-tertiary", "textBody-default", "textBody-secondary", "textBody-tertiary", "cardBorder-default", "icon-default", "icon-decorative", "divider-header", "divider-default", "divider-bottomBar", "errorIcon", "errorText", "pictogram-hands", "pictogram-tint-main", "pictogram-tint-secondary", "pictogram-tint-tertiary"];
183
+ declare const themeKeys: readonly ["appBackground-primary", "appBackground-secondary", "appBackground-tertiary", "appBackground-accent", "interactiveElem-default", "interactiveElem-pressed", "listItem-pressed", "textHeading-default", "textHeading-secondary", "textHeading-tertiary", "textBody-default", "textBody-secondary", "textBody-tertiary", "cardBorder-default", "icon-default", "icon-decorative", "divider-header", "divider-default", "divider-bottomBar", "errorIcon", "errorText", "successText", "pictogram-hands", "pictogram-tint-main", "pictogram-tint-secondary", "pictogram-tint-tertiary"];
184
184
  export type IOTheme = {
185
185
  [K in (typeof themeKeys)[number]]: IOColors;
186
186
  };
@@ -1 +1 @@
1
- {"version":3,"file":"IOColors.d.ts","sourceRoot":"","sources":["../../../src/core/IOColors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,O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AO,0BAA0B,CAAC;AAE1C,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAC5C,WAAW,CAAC,0BAA0B,CAAC,EACvC,cAAc,CAkBf,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,yBAAyB,CAAC;AAM/E;;;;GAIG;AAEH,eAAO,MAAM,SAAS,YAAa,UAAU,YAAW,MAAM,WAQ7D,CAAC"}
@@ -8,16 +8,16 @@ import { TextStyle } from "react-native";
8
8
  * Choose the font name based on the platform
9
9
  */
10
10
  declare const fonts: {
11
- TitilliumSansPro: string;
12
- ReadexPro: string;
13
- DMMono: string;
11
+ readonly TitilliumSansPro: string;
12
+ readonly Titillio: string;
13
+ readonly DMMono: string;
14
14
  };
15
15
  export type IOFontFamily = keyof typeof fonts;
16
- declare const allFontSizes: (16 | 12 | 20 | 32 | 14 | 18 | 28 | 22 | 26 | 31 | 35)[];
16
+ declare const allFontSizes: (26 | 16 | 12 | 20 | 32 | 14 | 18 | 28 | 22 | 31 | 35)[];
17
17
  export type IOFontSize = (typeof allFontSizes)[number];
18
- declare const weights: readonly ["Light", "Regular", "Medium", "Semibold", "Bold"];
18
+ declare const weights: readonly ["Thin", "Light", "Regular", "Medium", "Semibold", "Bold", "Black"];
19
19
  export type IOFontWeight = (typeof weights)[number];
20
- declare const weightValues: readonly ["300", "400", "500", "600", "700"];
20
+ declare const weightValues: readonly ["200", "300", "400", "500", "600", "700", "900"];
21
21
  export type IOFontWeightNumeric = (typeof weightValues)[number];
22
22
  /**
23
23
  * Mapping between the nominal description of the weight (also the postfix used on Android) and the numeric value
@@ -38,7 +38,7 @@ type FontStyleObject = {
38
38
  * @param weight
39
39
  * @param isItalic
40
40
  */
41
- export declare const makeFontFamilyName: (font: IOFontFamily, weight?: IOFontWeight, fontStyle?: TextStyle["fontStyle"]) => FontStyleObject["fontFamily"];
41
+ export declare const makeFontFamilyName: (font: IOFontFamily, weight?: IOFontWeight, fontStyle?: TextStyle["fontStyle"]) => string;
42
42
  /**
43
43
  * Return a {@link FontStyleObject} with the fields filled based on the platform (iOS or Android).
44
44
  * @param size
@@ -46,6 +46,6 @@ export declare const makeFontFamilyName: (font: IOFontFamily, weight?: IOFontWei
46
46
  * @param weight
47
47
  * @param fontStyle
48
48
  */
49
- export declare const makeFontStyleObject: (size: 16 | 12 | 20 | 32 | 14 | 18 | 28 | 22 | 26 | 31 | 35 | undefined, font: "TitilliumSansPro" | "ReadexPro" | "DMMono" | undefined, lineHeight: TextStyle["lineHeight"], weight?: IOFontWeight, fontStyle?: TextStyle["fontStyle"], boldEnabled?: boolean) => FontStyleObject;
49
+ export declare const makeFontStyleObject: (size: 26 | 16 | 12 | 20 | 32 | 14 | 18 | 28 | 22 | 31 | 35 | undefined, font: "TitilliumSansPro" | "Titillio" | "DMMono" | undefined, lineHeight: TextStyle["lineHeight"], weight?: IOFontWeight, fontStyle?: TextStyle["fontStyle"], boldEnabled?: boolean) => FontStyleObject;
50
50
  export {};
51
51
  //# sourceMappingURL=fonts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../src/utils/fonts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAY,SAAS,EAAE,MAAM,cAAc,CAAC;AAEnD;;GAEG;AACH,QAAA,MAAM,KAAK;;;;CAmBV,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,KAAK,CAAC;AAO9C,QAAA,MAAM,YAAY,0DAAmD,CAAC;AACtE,MAAM,MAAM,UAAU,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAMvD,QAAA,MAAM,OAAO,6DAA8D,CAAC;AAC5E,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;AAEpD,QAAA,MAAM,YAAY,8CAA+C,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,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B,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,WAAW,EAAE,MAAM,CAAC,YAAY,EAAE,mBAAmB,CAQjE,CAAC;AAEF,KAAK,eAAe,GAAG;IACrB,QAAQ,EAAE,UAAU,CAAC;IAGrB,UAAU,EAAE,MAAM,GAAG,YAAY,CAAC;IAClC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC;AAeF;;;;;GAKG;AACH,eAAO,MAAM,kBAAkB,SACvB,YAAY,WACV,YAAY,cACT,SAAS,CAAC,WAAW,CAAC,KAChC,MAQC,CAAC;AASL;;;;;;GAMG;AAEH,eAAO,MAAM,mBAAmB,qJAGlB,SAAS,CAAC,YAAY,CAAC,WAC3B,YAAY,cACT,SAAS,CAAC,WAAW,CAAC,gBACpB,OAAO,KACnB,eAkCF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagopa/io-app-design-system",
3
- "version": "2.0.2",
3
+ "version": "2.1.0-0",
4
4
  "description": "The library defining the core components of the design system of @pagopa/io-app",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -92,7 +92,7 @@ exports[`Test Advice Components - Experimental Enabled Advice Snapshot 1`] = `
92
92
  {},
93
93
  {
94
94
  "color": "#555C70",
95
- "fontFamily": "Titillium Sans Pro",
95
+ "fontFamily": "Titillio",
96
96
  "fontSize": 16,
97
97
  "fontStyle": "normal",
98
98
  "fontWeight": "400",
@@ -164,8 +164,8 @@ export const Badge = ({ text, outline = false, variant, testID }: Badge) => {
164
164
  ]}
165
165
  >
166
166
  <IOText
167
- font={isExperimental ? "ReadexPro" : "TitilliumSansPro"}
168
- weight={isExperimental ? "Regular" : "Semibold"}
167
+ font={isExperimental ? "Titillio" : "TitilliumSansPro"}
168
+ weight={"Semibold"}
169
169
  size={12}
170
170
  lineHeight={16}
171
171
  color={foreground}
@@ -30,10 +30,10 @@ exports[`Test Badge Components - Experimental Enabled Badge Snapshot 1`] = `
30
30
  {},
31
31
  {
32
32
  "color": "#555C70",
33
- "fontFamily": "Readex Pro",
33
+ "fontFamily": "Titillio",
34
34
  "fontSize": 12,
35
35
  "fontStyle": "normal",
36
- "fontWeight": "400",
36
+ "fontWeight": "600",
37
37
  "lineHeight": 16,
38
38
  },
39
39
  {
@@ -80,10 +80,10 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
80
80
  {},
81
81
  {
82
82
  "color": "#031344",
83
- "fontFamily": "Readex Pro",
83
+ "fontFamily": "Titillio",
84
84
  "fontSize": 16,
85
85
  "fontStyle": "normal",
86
- "fontWeight": "400",
86
+ "fontWeight": "600",
87
87
  "lineHeight": 24,
88
88
  },
89
89
  ]
@@ -192,10 +192,10 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
192
192
  {},
193
193
  {
194
194
  "color": "#0E0F13",
195
- "fontFamily": "Readex Pro",
195
+ "fontFamily": "Titillio",
196
196
  "fontSize": 16,
197
197
  "fontStyle": "normal",
198
- "fontWeight": "400",
198
+ "fontWeight": "600",
199
199
  "lineHeight": undefined,
200
200
  },
201
201
  {
@@ -430,10 +430,10 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
430
430
  {
431
431
  "color": "#031344",
432
432
  "fontFamily": "Titillium Sans Pro",
433
- "fontSize": 18,
433
+ "fontSize": 16,
434
434
  "fontStyle": "normal",
435
435
  "fontWeight": "600",
436
- "lineHeight": 25,
436
+ "lineHeight": 24,
437
437
  },
438
438
  ]
439
439
  }
@@ -237,8 +237,8 @@ export const ButtonLink = React.forwardRef<View, ButtonLinkProps>(
237
237
  accessible={false}
238
238
  accessibilityElementsHidden
239
239
  importantForAccessibility="no-hide-descendants"
240
- font={isExperimental ? "ReadexPro" : "TitilliumSansPro"}
241
- weight={isExperimental ? "Regular" : "Bold"}
240
+ font={isExperimental ? "Titillio" : "TitilliumSansPro"}
241
+ weight={isExperimental ? "Semibold" : "Bold"}
242
242
  size={buttonTextFontSize}
243
243
  style={
244
244
  disabled
@@ -374,8 +374,8 @@ export const ButtonOutline = React.forwardRef<View, ButtonOutline>(
374
374
  </>
375
375
  )}
376
376
  <AnimatedIOText
377
- font={isExperimental ? "ReadexPro" : "TitilliumSansPro"}
378
- weight={isExperimental ? "Regular" : "Bold"}
377
+ font={isExperimental ? "Titillio" : "TitilliumSansPro"}
378
+ weight={isExperimental ? "Semibold" : "Bold"}
379
379
  size={buttonTextFontSize}
380
380
  accessible={false}
381
381
  accessibilityElementsHidden
@@ -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
@@ -142,6 +142,9 @@ export const ListItemTransaction = ({
142
142
  ? theme["interactiveElem-default"]
143
143
  : "blue";
144
144
 
145
+ const amountColor: IOColors = theme["textBody-default"];
146
+ const successColor: IOColors = theme.successText;
147
+
145
148
  const ListItemTransactionContent = () => {
146
149
  const TransactionAmountOrBadgeComponent = () => {
147
150
  switch (transactionStatus) {
@@ -149,7 +152,7 @@ export const ListItemTransaction = ({
149
152
  return (
150
153
  <H6
151
154
  accessibilityLabel={getAccessibleAmountText(transactionAmount)}
152
- color={hasChevronRight ? interactiveColor : "black"}
155
+ color={hasChevronRight ? interactiveColor : amountColor}
153
156
  numberOfLines={numberOfLines}
154
157
  >
155
158
  {transactionAmount || ""}
@@ -159,7 +162,7 @@ export const ListItemTransaction = ({
159
162
  return (
160
163
  <H6
161
164
  accessibilityLabel={getAccessibleAmountText(transactionAmount)}
162
- color={hasChevronRight ? interactiveColor : "success-700"}
165
+ color={hasChevronRight ? interactiveColor : successColor}
163
166
  numberOfLines={numberOfLines}
164
167
  >
165
168
  {transactionAmount || ""}
@@ -189,12 +192,13 @@ export const ListItemTransaction = ({
189
192
  </View>
190
193
  )}
191
194
  <View style={IOStyles.flex}>
192
- <LabelSmallAlt
195
+ <LabelSmall
193
196
  numberOfLines={numberOfLines}
194
197
  color={theme["textBody-default"]}
198
+ weight="Semibold"
195
199
  >
196
200
  {title}
197
- </LabelSmallAlt>
201
+ </LabelSmall>
198
202
  <LabelSmall weight="Regular" color={theme["textBody-tertiary"]}>
199
203
  {subtitle}
200
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",
269
+ "fontFamily": "Titillio",
270
270
  "fontSize": 16,
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",
391
+ "fontFamily": "Titillio",
392
392
  "fontSize": 16,
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",
558
+ "fontFamily": "Titillio",
559
559
  "fontSize": 16,
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",
787
+ "fontFamily": "Titillio",
788
788
  "fontSize": 16,
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",
1093
+ "fontFamily": "Titillio",
1094
1094
  "fontSize": 16,
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",
1381
+ "fontFamily": "Titillio",
1382
1382
  "fontSize": 16,
1383
1383
  "fontStyle": "normal",
1384
- "fontWeight": "400",
1384
+ "fontWeight": "600",
1385
1385
  "lineHeight": 24,
1386
1386
  },
1387
1387
  ]
@@ -1964,10 +1964,10 @@ exports[`Test List Item Components ListItemInfo Snapshot 1`] = `
1964
1964
  {
1965
1965
  "color": "#0E0F13",
1966
1966
  "fontFamily": "Titillium Sans Pro",
1967
- "fontSize": 18,
1967
+ "fontSize": 16,
1968
1968
  "fontStyle": "normal",
1969
1969
  "fontWeight": "600",
1970
- "lineHeight": 25,
1970
+ "lineHeight": 24,
1971
1971
  },
1972
1972
  ]
1973
1973
  }
@@ -2086,10 +2086,10 @@ exports[`Test List Item Components ListItemInfoCopy Snapshot 1`] = `
2086
2086
  {
2087
2087
  "color": "#0073E6",
2088
2088
  "fontFamily": "Titillium Sans Pro",
2089
- "fontSize": 18,
2089
+ "fontSize": 16,
2090
2090
  "fontStyle": "normal",
2091
2091
  "fontWeight": "600",
2092
- "lineHeight": 25,
2092
+ "lineHeight": 24,
2093
2093
  },
2094
2094
  ]
2095
2095
  }
@@ -2253,10 +2253,10 @@ exports[`Test List Item Components ListItemNav Snapshot 1`] = `
2253
2253
  {
2254
2254
  "color": "#0E0F13",
2255
2255
  "fontFamily": "Titillium Sans Pro",
2256
- "fontSize": 18,
2256
+ "fontSize": 16,
2257
2257
  "fontStyle": "normal",
2258
2258
  "fontWeight": "600",
2259
- "lineHeight": 25,
2259
+ "lineHeight": 24,
2260
2260
  },
2261
2261
  ]
2262
2262
  }
@@ -2482,10 +2482,10 @@ exports[`Test List Item Components ListItemNavAlert Snapshot 1`] = `
2482
2482
  {
2483
2483
  "color": "#0E0F13",
2484
2484
  "fontFamily": "Titillium Sans Pro",
2485
- "fontSize": 18,
2485
+ "fontSize": 16,
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,
@@ -2788,10 +2788,10 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 1`] = `
2788
2788
  {
2789
2789
  "color": "#0B3EE3",
2790
2790
  "fontFamily": "Titillium Sans Pro",
2791
- "fontSize": 18,
2791
+ "fontSize": 16,
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,
@@ -3076,10 +3076,10 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 2`] = `
3076
3076
  {
3077
3077
  "color": "#0B3EE3",
3078
3078
  "fontFamily": "Titillium Sans Pro",
3079
- "fontSize": 18,
3079
+ "fontSize": 16,
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"]}