@pagopa/io-app-design-system 2.1.0-2 → 2.1.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 (127) hide show
  1. package/lib/commonjs/components/alert/Alert.js +12 -5
  2. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  3. package/lib/commonjs/components/banner/Banner.js +5 -1
  4. package/lib/commonjs/components/banner/Banner.js.map +1 -1
  5. package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -0
  6. package/lib/commonjs/components/banner/__test__/banner.test.js +4 -2
  7. package/lib/commonjs/components/banner/__test__/banner.test.js.map +1 -1
  8. package/lib/commonjs/components/codeInput/CodeInput.js +1 -1
  9. package/lib/commonjs/components/icons/Icon.js +6 -2
  10. package/lib/commonjs/components/icons/Icon.js.map +1 -1
  11. package/lib/commonjs/components/icons/svg/IconNavQrWallet.js +28 -0
  12. package/lib/commonjs/components/icons/svg/IconNavQrWallet.js.map +1 -0
  13. package/lib/commonjs/components/icons/svg/originals/IconNavQrWallet.svg +1 -0
  14. package/lib/commonjs/components/modules/ModuleAttachment.js +1 -1
  15. package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
  16. package/lib/commonjs/components/modules/ModulePaymentNotice.js +1 -1
  17. package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
  18. package/lib/commonjs/components/otpInput/BoxedInput.js +1 -1
  19. package/lib/commonjs/components/pictograms/Pictogram.js +4 -0
  20. package/lib/commonjs/components/pictograms/Pictogram.js.map +1 -1
  21. package/lib/commonjs/components/pictograms/svg/PictogramEmptyWallet.js +43 -0
  22. package/lib/commonjs/components/pictograms/svg/PictogramEmptyWallet.js.map +1 -0
  23. package/lib/commonjs/components/pictograms/svg/PictogramMeterLimit.js +46 -0
  24. package/lib/commonjs/components/pictograms/svg/PictogramMeterLimit.js.map +1 -0
  25. package/lib/commonjs/components/pictograms/svg/originals/PictogramEmptyWallet.svg +1 -0
  26. package/lib/commonjs/components/pictograms/svg/originals/PictogramMeterLimit.svg +1 -0
  27. package/lib/commonjs/components/typography/ComposedBodyFromArray.js +26 -0
  28. package/lib/commonjs/components/typography/ComposedBodyFromArray.js.map +1 -0
  29. package/lib/commonjs/components/typography/H2.js +2 -2
  30. package/lib/commonjs/components/typography/IOText.js +4 -2
  31. package/lib/commonjs/components/typography/IOText.js.map +1 -1
  32. package/lib/commonjs/components/typography/__test__/ComposedBodyFromArray.test.js +107 -0
  33. package/lib/commonjs/components/typography/__test__/ComposedBodyFromArray.test.js.map +1 -0
  34. package/lib/commonjs/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +895 -0
  35. package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +1 -1
  36. package/lib/commonjs/components/typography/index.js +11 -0
  37. package/lib/commonjs/components/typography/index.js.map +1 -1
  38. package/lib/module/components/alert/Alert.js +14 -7
  39. package/lib/module/components/alert/Alert.js.map +1 -1
  40. package/lib/module/components/banner/Banner.js +5 -1
  41. package/lib/module/components/banner/Banner.js.map +1 -1
  42. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -0
  43. package/lib/module/components/banner/__test__/banner.test.js +4 -2
  44. package/lib/module/components/banner/__test__/banner.test.js.map +1 -1
  45. package/lib/module/components/codeInput/CodeInput.js +1 -1
  46. package/lib/module/components/featureInfo/FeatureInfo.js.map +1 -1
  47. package/lib/module/components/icons/Icon.js +7 -3
  48. package/lib/module/components/icons/Icon.js.map +1 -1
  49. package/lib/module/components/icons/svg/IconNavQrWallet.js +20 -0
  50. package/lib/module/components/icons/svg/IconNavQrWallet.js.map +1 -0
  51. package/lib/module/components/icons/svg/originals/IconNavQrWallet.svg +1 -0
  52. package/lib/module/components/modules/ModuleAttachment.js +2 -2
  53. package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
  54. package/lib/module/components/modules/ModulePaymentNotice.js +2 -2
  55. package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
  56. package/lib/module/components/otpInput/BoxedInput.js +1 -1
  57. package/lib/module/components/pictograms/Pictogram.js +4 -0
  58. package/lib/module/components/pictograms/Pictogram.js.map +1 -1
  59. package/lib/module/components/pictograms/svg/PictogramEmptyWallet.js +35 -0
  60. package/lib/module/components/pictograms/svg/PictogramEmptyWallet.js.map +1 -0
  61. package/lib/module/components/pictograms/svg/PictogramMeterLimit.js +38 -0
  62. package/lib/module/components/pictograms/svg/PictogramMeterLimit.js.map +1 -0
  63. package/lib/module/components/pictograms/svg/originals/PictogramEmptyWallet.svg +1 -0
  64. package/lib/module/components/pictograms/svg/originals/PictogramMeterLimit.svg +1 -0
  65. package/lib/module/components/typography/ComposedBodyFromArray.js +18 -0
  66. package/lib/module/components/typography/ComposedBodyFromArray.js.map +1 -0
  67. package/lib/module/components/typography/H2.js +2 -2
  68. package/lib/module/components/typography/IOText.js +4 -2
  69. package/lib/module/components/typography/IOText.js.map +1 -1
  70. package/lib/module/components/typography/__test__/ComposedBodyFromArray.test.js +104 -0
  71. package/lib/module/components/typography/__test__/ComposedBodyFromArray.test.js.map +1 -0
  72. package/lib/module/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +895 -0
  73. package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +1 -1
  74. package/lib/module/components/typography/index.js +1 -0
  75. package/lib/module/components/typography/index.js.map +1 -1
  76. package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
  77. package/lib/typescript/components/banner/Banner.d.ts +1 -1
  78. package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
  79. package/lib/typescript/components/buttons/ButtonLink.d.ts +1 -1
  80. package/lib/typescript/components/buttons/ButtonOutline.d.ts +1 -1
  81. package/lib/typescript/components/buttons/ButtonSolid.d.ts +1 -1
  82. package/lib/typescript/components/featureInfo/FeatureInfo.d.ts +2 -2
  83. package/lib/typescript/components/featureInfo/FeatureInfo.d.ts.map +1 -1
  84. package/lib/typescript/components/icons/Icon.d.ts +2 -0
  85. package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
  86. package/lib/typescript/components/icons/svg/IconNavQrWallet.d.ts +5 -0
  87. package/lib/typescript/components/icons/svg/IconNavQrWallet.d.ts.map +1 -0
  88. package/lib/typescript/components/pictograms/Pictogram.d.ts +2 -0
  89. package/lib/typescript/components/pictograms/Pictogram.d.ts.map +1 -1
  90. package/lib/typescript/components/pictograms/svg/PictogramEmptyWallet.d.ts +5 -0
  91. package/lib/typescript/components/pictograms/svg/PictogramEmptyWallet.d.ts.map +1 -0
  92. package/lib/typescript/components/pictograms/svg/PictogramMeterLimit.d.ts +5 -0
  93. package/lib/typescript/components/pictograms/svg/PictogramMeterLimit.d.ts.map +1 -0
  94. package/lib/typescript/components/typography/ComposedBodyFromArray.d.ts +13 -0
  95. package/lib/typescript/components/typography/ComposedBodyFromArray.d.ts.map +1 -0
  96. package/lib/typescript/components/typography/H2.d.ts +1 -1
  97. package/lib/typescript/components/typography/IOText.d.ts +1 -1
  98. package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
  99. package/lib/typescript/components/typography/__test__/ComposedBodyFromArray.test.d.ts +2 -0
  100. package/lib/typescript/components/typography/__test__/ComposedBodyFromArray.test.d.ts.map +1 -0
  101. package/lib/typescript/components/typography/index.d.ts +1 -0
  102. package/lib/typescript/components/typography/index.d.ts.map +1 -1
  103. package/package.json +2 -2
  104. package/src/components/alert/Alert.tsx +27 -7
  105. package/src/components/banner/Banner.tsx +6 -2
  106. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -0
  107. package/src/components/banner/__test__/banner.test.tsx +2 -0
  108. package/src/components/codeInput/CodeInput.tsx +1 -1
  109. package/src/components/featureInfo/FeatureInfo.tsx +2 -2
  110. package/src/components/icons/Icon.tsx +7 -3
  111. package/src/components/icons/svg/IconNavQrWallet.tsx +16 -0
  112. package/src/components/icons/svg/originals/IconNavQrWallet.svg +1 -0
  113. package/src/components/modules/ModuleAttachment.tsx +3 -3
  114. package/src/components/modules/ModulePaymentNotice.tsx +3 -3
  115. package/src/components/otpInput/BoxedInput.tsx +1 -1
  116. package/src/components/pictograms/Pictogram.tsx +4 -0
  117. package/src/components/pictograms/svg/PictogramEmptyWallet.tsx +42 -0
  118. package/src/components/pictograms/svg/PictogramMeterLimit.tsx +46 -0
  119. package/src/components/pictograms/svg/originals/PictogramEmptyWallet.svg +1 -0
  120. package/src/components/pictograms/svg/originals/PictogramMeterLimit.svg +1 -0
  121. package/src/components/typography/ComposedBodyFromArray.tsx +25 -0
  122. package/src/components/typography/H2.tsx +2 -2
  123. package/src/components/typography/IOText.tsx +5 -6
  124. package/src/components/typography/__test__/ComposedBodyFromArray.test.tsx +99 -0
  125. package/src/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +895 -0
  126. package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +1 -1
  127. package/src/components/typography/index.tsx +1 -0
@@ -130,7 +130,7 @@ exports[`Test Typography Components H2 Snapshot 1`] = `
130
130
  "fontSize": 28,
131
131
  "fontStyle": "normal",
132
132
  "fontWeight": "600",
133
- "lineHeight": 40,
133
+ "lineHeight": 34,
134
134
  },
135
135
  ]
136
136
  }
@@ -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";