@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.
- package/lib/commonjs/components/listitems/ListItemTransaction.js +4 -2
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/typography/ComposedBodyFromArray.js +26 -0
- package/lib/commonjs/components/typography/ComposedBodyFromArray.js.map +1 -0
- package/lib/commonjs/components/typography/__test__/ComposedBodyFromArray.test.js +107 -0
- package/lib/commonjs/components/typography/__test__/ComposedBodyFromArray.test.js.map +1 -0
- package/lib/commonjs/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +895 -0
- package/lib/commonjs/components/typography/index.js +11 -0
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/core/IOColors.js +3 -1
- package/lib/commonjs/core/IOColors.js.map +1 -1
- package/lib/module/components/featureInfo/FeatureInfo.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +4 -2
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/typography/ComposedBodyFromArray.js +18 -0
- package/lib/module/components/typography/ComposedBodyFromArray.js.map +1 -0
- package/lib/module/components/typography/__test__/ComposedBodyFromArray.test.js +104 -0
- package/lib/module/components/typography/__test__/ComposedBodyFromArray.test.js.map +1 -0
- package/lib/module/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +895 -0
- package/lib/module/components/typography/index.js +1 -0
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/core/IOColors.js +3 -1
- package/lib/module/core/IOColors.js.map +1 -1
- package/lib/typescript/components/featureInfo/FeatureInfo.d.ts +2 -2
- package/lib/typescript/components/featureInfo/FeatureInfo.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
- package/lib/typescript/components/typography/ComposedBodyFromArray.d.ts +13 -0
- package/lib/typescript/components/typography/ComposedBodyFromArray.d.ts.map +1 -0
- package/lib/typescript/components/typography/__test__/ComposedBodyFromArray.test.d.ts +2 -0
- package/lib/typescript/components/typography/__test__/ComposedBodyFromArray.test.d.ts.map +1 -0
- package/lib/typescript/components/typography/index.d.ts +1 -0
- package/lib/typescript/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/core/IOColors.d.ts +1 -1
- package/lib/typescript/core/IOColors.d.ts.map +1 -1
- package/lib/typescript/utils/fonts.d.ts +2 -2
- package/package.json +1 -1
- package/src/components/featureInfo/FeatureInfo.tsx +2 -2
- package/src/components/listitems/ListItemTransaction.tsx +5 -2
- package/src/components/typography/ComposedBodyFromArray.tsx +25 -0
- package/src/components/typography/__test__/ComposedBodyFromArray.test.tsx +99 -0
- package/src/components/typography/__test__/__snapshots__/ComposedBodyFromArray.test.tsx.snap +895 -0
- package/src/components/typography/index.tsx +1 -0
- package/src/core/IOColors.ts +3 -0
package/src/core/IOColors.ts
CHANGED
|
@@ -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",
|