@pagopa/io-app-design-system 2.0.2 → 2.0.4

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 (43) hide show
  1. package/lib/commonjs/components/listitems/ListItemTransaction.js +4 -2
  2. package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
  3. package/lib/commonjs/components/typography/ComposedBodyFromArray.js +26 -0
  4. package/lib/commonjs/components/typography/ComposedBodyFromArray.js.map +1 -0
  5. package/lib/commonjs/components/typography/__test__/ComposedBodyFromArray.test.js +107 -0
  6. package/lib/commonjs/components/typography/__test__/ComposedBodyFromArray.test.js.map +1 -0
  7. package/lib/commonjs/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +895 -0
  8. package/lib/commonjs/components/typography/index.js +11 -0
  9. package/lib/commonjs/components/typography/index.js.map +1 -1
  10. package/lib/commonjs/core/IOColors.js +3 -1
  11. package/lib/commonjs/core/IOColors.js.map +1 -1
  12. package/lib/module/components/featureInfo/FeatureInfo.js.map +1 -1
  13. package/lib/module/components/listitems/ListItemTransaction.js +4 -2
  14. package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
  15. package/lib/module/components/typography/ComposedBodyFromArray.js +18 -0
  16. package/lib/module/components/typography/ComposedBodyFromArray.js.map +1 -0
  17. package/lib/module/components/typography/__test__/ComposedBodyFromArray.test.js +104 -0
  18. package/lib/module/components/typography/__test__/ComposedBodyFromArray.test.js.map +1 -0
  19. package/lib/module/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +895 -0
  20. package/lib/module/components/typography/index.js +1 -0
  21. package/lib/module/components/typography/index.js.map +1 -1
  22. package/lib/module/core/IOColors.js +3 -1
  23. package/lib/module/core/IOColors.js.map +1 -1
  24. package/lib/typescript/components/featureInfo/FeatureInfo.d.ts +2 -2
  25. package/lib/typescript/components/featureInfo/FeatureInfo.d.ts.map +1 -1
  26. package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
  27. package/lib/typescript/components/typography/ComposedBodyFromArray.d.ts +13 -0
  28. package/lib/typescript/components/typography/ComposedBodyFromArray.d.ts.map +1 -0
  29. package/lib/typescript/components/typography/__test__/ComposedBodyFromArray.test.d.ts +2 -0
  30. package/lib/typescript/components/typography/__test__/ComposedBodyFromArray.test.d.ts.map +1 -0
  31. package/lib/typescript/components/typography/index.d.ts +1 -0
  32. package/lib/typescript/components/typography/index.d.ts.map +1 -1
  33. package/lib/typescript/core/IOColors.d.ts +1 -1
  34. package/lib/typescript/core/IOColors.d.ts.map +1 -1
  35. package/lib/typescript/utils/fonts.d.ts +2 -2
  36. package/package.json +1 -1
  37. package/src/components/featureInfo/FeatureInfo.tsx +2 -2
  38. package/src/components/listitems/ListItemTransaction.tsx +5 -2
  39. package/src/components/typography/ComposedBodyFromArray.tsx +25 -0
  40. package/src/components/typography/__test__/ComposedBodyFromArray.test.tsx +99 -0
  41. package/src/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +895 -0
  42. package/src/components/typography/index.tsx +1 -0
  43. package/src/core/IOColors.ts +3 -0
@@ -1,6 +1,7 @@
1
1
  export * from "./BaseTypography";
2
2
  export * from "./IOText";
3
3
  export * from "./Body";
4
+ export * from "./ComposedBodyFromArray";
4
5
  export * from "./Caption";
5
6
  export * from "./Chip";
6
7
  export * from "./ButtonText";
@@ -283,6 +283,7 @@ const themeKeys = [
283
283
  // Status
284
284
  "errorIcon",
285
285
  "errorText",
286
+ "successText",
286
287
  // Pictograms
287
288
  "pictogram-hands",
288
289
  "pictogram-tint-main",
@@ -321,6 +322,7 @@ export const IOThemeLight: IOTheme = {
321
322
  // Status
322
323
  errorIcon: "error-600",
323
324
  errorText: "error-600",
325
+ successText: "success-700",
324
326
  // Pictograms
325
327
  "pictogram-hands": "blueIO-500",
326
328
  "pictogram-tint-main": "turquoise-150",
@@ -361,6 +363,7 @@ export const IOThemeDark: IOTheme = {
361
363
  // Status
362
364
  errorIcon: "error-400",
363
365
  errorText: "error-400",
366
+ successText: "success-400",
364
367
  // Pictograms
365
368
  "pictogram-hands": "white",
366
369
  "pictogram-tint-main": "turquoise-150",