@pagopa/io-app-design-system 4.5.5 → 4.5.6

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 (104) hide show
  1. package/lib/commonjs/components/banner/Banner.js +3 -2
  2. package/lib/commonjs/components/banner/Banner.js.map +1 -1
  3. package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +56 -0
  4. package/lib/commonjs/components/buttons/ButtonLink.js +1 -1
  5. package/lib/commonjs/components/buttons/ButtonSolid.js +1 -1
  6. package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
  7. package/lib/commonjs/components/checkbox/AnimatedCheckbox.js +8 -5
  8. package/lib/commonjs/components/checkbox/AnimatedCheckbox.js.map +1 -1
  9. package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js +4 -2
  10. package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
  11. package/lib/commonjs/components/listitems/ListItemCheckbox.js +1 -1
  12. package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
  13. package/lib/commonjs/components/listitems/ListItemRadio.js +1 -1
  14. package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
  15. package/lib/commonjs/components/listitems/ListItemSwitch.js +1 -1
  16. package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
  17. package/lib/commonjs/components/radio/AnimatedRadio.js +8 -5
  18. package/lib/commonjs/components/radio/AnimatedRadio.js.map +1 -1
  19. package/lib/commonjs/components/switch/NativeSwitch.js +5 -5
  20. package/lib/commonjs/components/switch/NativeSwitch.js.map +1 -1
  21. package/lib/commonjs/components/switch/index.js +0 -22
  22. package/lib/commonjs/components/switch/index.js.map +1 -1
  23. package/lib/commonjs/core/IOColors.js +27 -5
  24. package/lib/commonjs/core/IOColors.js.map +1 -1
  25. package/lib/commonjs/core/IOStyles.js +2 -16
  26. package/lib/commonjs/core/IOStyles.js.map +1 -1
  27. package/lib/module/components/banner/Banner.js +3 -2
  28. package/lib/module/components/banner/Banner.js.map +1 -1
  29. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +56 -0
  30. package/lib/module/components/buttons/ButtonLink.js +1 -1
  31. package/lib/module/components/buttons/ButtonSolid.js +1 -1
  32. package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
  33. package/lib/module/components/checkbox/AnimatedCheckbox.js +9 -6
  34. package/lib/module/components/checkbox/AnimatedCheckbox.js.map +1 -1
  35. package/lib/module/components/checkbox/AnimatedMessageCheckbox.js +6 -4
  36. package/lib/module/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
  37. package/lib/module/components/listitems/ListItemCheckbox.js +1 -1
  38. package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
  39. package/lib/module/components/listitems/ListItemRadio.js +1 -1
  40. package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
  41. package/lib/module/components/listitems/ListItemSwitch.js +1 -1
  42. package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
  43. package/lib/module/components/radio/AnimatedRadio.js +9 -6
  44. package/lib/module/components/radio/AnimatedRadio.js.map +1 -1
  45. package/lib/module/components/switch/NativeSwitch.js +6 -6
  46. package/lib/module/components/switch/NativeSwitch.js.map +1 -1
  47. package/lib/module/components/switch/index.js +0 -2
  48. package/lib/module/components/switch/index.js.map +1 -1
  49. package/lib/module/core/IOColors.js +27 -5
  50. package/lib/module/core/IOColors.js.map +1 -1
  51. package/lib/module/core/IOStyles.js +1 -14
  52. package/lib/module/core/IOStyles.js.map +1 -1
  53. package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
  54. package/lib/typescript/components/checkbox/AnimatedCheckbox.d.ts.map +1 -1
  55. package/lib/typescript/components/checkbox/AnimatedMessageCheckbox.d.ts.map +1 -1
  56. package/lib/typescript/components/switch/NativeSwitch.d.ts.map +1 -1
  57. package/lib/typescript/components/switch/index.d.ts +0 -2
  58. package/lib/typescript/components/switch/index.d.ts.map +1 -1
  59. package/lib/typescript/components/typography/BodyMonospace.d.ts +1 -1
  60. package/lib/typescript/components/typography/ButtonText.d.ts +1 -1
  61. package/lib/typescript/components/typography/Caption.d.ts +1 -1
  62. package/lib/typescript/components/typography/H1.d.ts +1 -1
  63. package/lib/typescript/components/typography/H2.d.ts +1 -1
  64. package/lib/typescript/components/typography/H3.d.ts +1 -1
  65. package/lib/typescript/components/typography/H4.d.ts +1 -1
  66. package/lib/typescript/components/typography/H5.d.ts +1 -1
  67. package/lib/typescript/components/typography/H6.d.ts +1 -1
  68. package/lib/typescript/components/typography/Hero.d.ts +1 -1
  69. package/lib/typescript/components/typography/markdown/MdH1.d.ts +1 -1
  70. package/lib/typescript/components/typography/markdown/MdH2.d.ts +1 -1
  71. package/lib/typescript/components/typography/markdown/MdH3.d.ts +1 -1
  72. package/lib/typescript/core/IOColors.d.ts +4 -1
  73. package/lib/typescript/core/IOColors.d.ts.map +1 -1
  74. package/lib/typescript/core/IOStyles.d.ts +0 -13
  75. package/lib/typescript/core/IOStyles.d.ts.map +1 -1
  76. package/package.json +1 -1
  77. package/src/components/banner/Banner.tsx +3 -2
  78. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +56 -0
  79. package/src/components/buttons/ButtonLink.tsx +1 -1
  80. package/src/components/buttons/ButtonSolid.tsx +1 -1
  81. package/src/components/checkbox/AnimatedCheckbox.tsx +9 -10
  82. package/src/components/checkbox/AnimatedMessageCheckbox.tsx +5 -5
  83. package/src/components/listitems/ListItemCheckbox.tsx +1 -1
  84. package/src/components/listitems/ListItemRadio.tsx +1 -1
  85. package/src/components/listitems/ListItemSwitch.tsx +1 -1
  86. package/src/components/radio/AnimatedRadio.tsx +10 -10
  87. package/src/components/switch/NativeSwitch.tsx +6 -6
  88. package/src/components/switch/index.tsx +0 -2
  89. package/src/core/IOColors.ts +32 -4
  90. package/src/core/IOStyles.ts +1 -28
  91. package/lib/commonjs/components/switch/AnimatedSwitch.js +0 -94
  92. package/lib/commonjs/components/switch/AnimatedSwitch.js.map +0 -1
  93. package/lib/commonjs/components/switch/SwitchLabel.js +0 -76
  94. package/lib/commonjs/components/switch/SwitchLabel.js.map +0 -1
  95. package/lib/module/components/switch/AnimatedSwitch.js +0 -85
  96. package/lib/module/components/switch/AnimatedSwitch.js.map +0 -1
  97. package/lib/module/components/switch/SwitchLabel.js +0 -68
  98. package/lib/module/components/switch/SwitchLabel.js.map +0 -1
  99. package/lib/typescript/components/switch/AnimatedSwitch.d.ts +0 -13
  100. package/lib/typescript/components/switch/AnimatedSwitch.d.ts.map +0 -1
  101. package/lib/typescript/components/switch/SwitchLabel.d.ts +0 -18
  102. package/lib/typescript/components/switch/SwitchLabel.d.ts.map +0 -1
  103. package/src/components/switch/AnimatedSwitch.tsx +0 -126
  104. package/src/components/switch/SwitchLabel.tsx +0 -80
@@ -8,6 +8,6 @@ export declare const BodyMonospace: React.ForwardRefExoticComponent<Omit<IOTextP
8
8
  textStyle?: import("./IOText").IOTextStyle | undefined;
9
9
  style?: import("./IOText").IOTextStyle | undefined;
10
10
  } & {
11
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
11
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
12
12
  } & React.RefAttributes<View>>;
13
13
  //# sourceMappingURL=BodyMonospace.d.ts.map
@@ -11,6 +11,6 @@ export declare const ButtonText: React.ForwardRefExoticComponent<Omit<IOTextProp
11
11
  textStyle?: import("./IOText").IOTextStyle | undefined;
12
12
  style?: import("./IOText").IOTextStyle | undefined;
13
13
  } & {
14
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
15
15
  } & React.RefAttributes<View>>;
16
16
  //# sourceMappingURL=ButtonText.d.ts.map
@@ -10,6 +10,6 @@ export declare const Caption: React.ForwardRefExoticComponent<Omit<IOTextProps,
10
10
  textStyle?: import("./IOText").IOTextStyle | undefined;
11
11
  style?: import("./IOText").IOTextStyle | undefined;
12
12
  } & {
13
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
13
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
14
14
  } & React.RefAttributes<View>>;
15
15
  //# sourceMappingURL=Caption.d.ts.map
@@ -11,6 +11,6 @@ export declare const H1: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
11
11
  textStyle?: import("./IOText").IOTextStyle | undefined;
12
12
  style?: import("./IOText").IOTextStyle | undefined;
13
13
  } & {
14
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
15
15
  } & React.RefAttributes<View>>;
16
16
  //# sourceMappingURL=H1.d.ts.map
@@ -14,6 +14,6 @@ export declare const H2: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
14
14
  textStyle?: import("./IOText").IOTextStyle | undefined;
15
15
  style?: import("./IOText").IOTextStyle | undefined;
16
16
  } & {
17
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
17
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
18
18
  } & React.RefAttributes<View>>;
19
19
  //# sourceMappingURL=H2.d.ts.map
@@ -11,7 +11,7 @@ export declare const H3: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
11
11
  textStyle?: import("./IOText").IOTextStyle | undefined;
12
12
  style?: import("./IOText").IOTextStyle | undefined;
13
13
  } & {
14
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
15
15
  } & {
16
16
  weight?: "Semibold" | "Bold" | undefined;
17
17
  } & React.RefAttributes<View>>;
@@ -11,6 +11,6 @@ export declare const H4: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
11
11
  textStyle?: import("./IOText").IOTextStyle | undefined;
12
12
  style?: import("./IOText").IOTextStyle | undefined;
13
13
  } & {
14
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
15
15
  } & React.RefAttributes<View>>;
16
16
  //# sourceMappingURL=H4.d.ts.map
@@ -11,6 +11,6 @@ export declare const H5: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
11
11
  textStyle?: import("./IOText").IOTextStyle | undefined;
12
12
  style?: import("./IOText").IOTextStyle | undefined;
13
13
  } & {
14
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
15
15
  } & React.RefAttributes<View>>;
16
16
  //# sourceMappingURL=H5.d.ts.map
@@ -11,6 +11,6 @@ export declare const H6: React.ForwardRefExoticComponent<Omit<IOTextProps, "styl
11
11
  textStyle?: import("./IOText").IOTextStyle | undefined;
12
12
  style?: import("./IOText").IOTextStyle | undefined;
13
13
  } & {
14
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
15
15
  } & React.RefAttributes<View>>;
16
16
  //# sourceMappingURL=H6.d.ts.map
@@ -11,6 +11,6 @@ export declare const Hero: React.ForwardRefExoticComponent<Omit<IOTextProps, "st
11
11
  textStyle?: import("./IOText").IOTextStyle | undefined;
12
12
  style?: import("./IOText").IOTextStyle | undefined;
13
13
  } & {
14
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
14
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
15
15
  } & React.RefAttributes<View>>;
16
16
  //# sourceMappingURL=Hero.d.ts.map
@@ -8,6 +8,6 @@ export declare const MdH1: React.ForwardRefExoticComponent<Omit<IOTextProps, "st
8
8
  textStyle?: import("../IOText").IOTextStyle | undefined;
9
9
  style?: import("../IOText").IOTextStyle | undefined;
10
10
  } & {
11
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
11
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
12
12
  } & React.RefAttributes<View>>;
13
13
  //# sourceMappingURL=MdH1.d.ts.map
@@ -8,6 +8,6 @@ export declare const MdH2: React.ForwardRefExoticComponent<Omit<IOTextProps, "st
8
8
  textStyle?: import("../IOText").IOTextStyle | undefined;
9
9
  style?: import("../IOText").IOTextStyle | undefined;
10
10
  } & {
11
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
11
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
12
12
  } & React.RefAttributes<View>>;
13
13
  //# sourceMappingURL=MdH2.d.ts.map
@@ -8,6 +8,6 @@ export declare const MdH3: React.ForwardRefExoticComponent<Omit<IOTextProps, "st
8
8
  textStyle?: import("../IOText").IOTextStyle | undefined;
9
9
  style?: import("../IOText").IOTextStyle | undefined;
10
10
  } & {
11
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
11
+ color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-100" | "blueItalia-50" | "blue-600" | "blue-500" | "blue-50" | undefined;
12
12
  } & React.RefAttributes<View>>;
13
13
  //# sourceMappingURL=MdH3.d.ts.map
@@ -16,6 +16,7 @@ export declare const IOColors: {
16
16
  "blueIO-600": string;
17
17
  "blueIO-500": string;
18
18
  "blueIO-400": string;
19
+ "blueIO-300": string;
19
20
  "blueIO-200": string;
20
21
  "blueIO-150": string;
21
22
  "blueIO-100": string;
@@ -104,6 +105,8 @@ export declare const IOColorsTints: {
104
105
  "blueIO-850": string;
105
106
  "blueIO-600": string;
106
107
  "blueIO-500": string;
108
+ "blueIO-400": string;
109
+ "blueIO-300": string;
107
110
  "blueIO-200": string;
108
111
  "blueIO-150": string;
109
112
  "blueIO-100": string;
@@ -149,7 +152,7 @@ export declare const IOColorsExtra: {
149
152
  "blueItalia-50": string;
150
153
  };
151
154
  export type IOColorsExtra = keyof typeof IOColorsExtra;
152
- declare const themeKeys: readonly ["appBackground-primary", "appBackground-secondary", "appBackground-tertiary", "appBackground-accent", "interactiveElem-default", "interactiveElem-pressed", "interactiveElem-disabled", "interactiveOutline-disabled", "neutralButton-default", "neutralButton-pressed", "neutralButton-disabled", "buttonText-default", "buttonText-disabled", "listItem-pressed", "textHeading-default", "textHeading-secondary", "textHeading-tertiary", "textBody-default", "textBody-secondary", "textBody-tertiary", "cardBorder-default", "textInputBorder-default", "icon-default", "icon-decorative", "textInputBorder-default", "textInputLabel-default", "textInputValue-default", "textInputValue-disabled", "divider-header", "divider-default", "divider-bottomBar", "pdfViewer-background", "tab-item-border-default", "tab-item-foreground-default", "tab-item-foreground-selected", "tab-item-background-selected", "errorIcon", "errorText", "successIcon", "successText", "warningIcon", "infoIcon", "pictogram-hands", "pictogram-tint-main", "pictogram-tint-secondary", "pictogram-tint-tertiary"];
155
+ declare const themeKeys: readonly ["appBackground-primary", "appBackground-secondary", "appBackground-tertiary", "appBackground-accent", "interactiveElem-default", "interactiveElem-pressed", "interactiveElem-disabled", "interactiveOutline-disabled", "neutralButton-default", "neutralButton-pressed", "neutralButton-disabled", "buttonText-default", "buttonText-danger", "buttonText-disabled", "listItem-pressed", "textHeading-default", "textHeading-secondary", "textHeading-tertiary", "textBody-default", "textBody-secondary", "textBody-tertiary", "cardBorder-default", "textInputBorder-default", "icon-default", "icon-decorative", "textInputBorder-default", "textInputLabel-default", "textInputValue-default", "textInputValue-disabled", "switch-background-off", "switch-background-on", "switch-thumb-color", "selection-border-off", "selection-background-on", "selection-tick", "divider-header", "divider-default", "divider-bottomBar", "pdfViewer-background", "tab-item-border-default", "tab-item-foreground-default", "tab-item-foreground-selected", "tab-item-background-selected", "errorIcon", "errorText", "successIcon", "successText", "warningIcon", "infoIcon", "pictogram-hands", "pictogram-tint-main", "pictogram-tint-secondary", "pictogram-tint-tertiary"];
153
156
  export type IOTheme = {
154
157
  [K in (typeof themeKeys)[number]]: IOColors;
155
158
  };
@@ -1 +1 @@
1
- {"version":3,"file":"IOColors.d.ts","sourceRoot":"","sources":["../../../src/core/IOColors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,cAAc,MAAM,8BAA8B,CAAC;AAyB/D,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;CAgB3B,C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,CAAC;AAEvD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;CAqBzB,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,cAAc,CAAC;AAEzD,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,cAAc,EACd,WAAW,GAAG,aAAa,GAAG,UAAU,GAAG,aAAa,CACzD,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC5C,cAAc,EACd,WAAW,GAAG,aAAa,GAAG,UAAU,GAAG,aAAa,CACzD,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;CAMzB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,aAAa,CAAC;AAMvD,QAAA,MAAM,SAAS,qtCAgEL,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG;KACnB,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,CAAC,GAAG,QAAQ;CAC5C,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,OA8D1B,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,OAMhC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OA4DzB,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;CAiBrC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GACpC,MAAM,OAAO,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"}
@@ -212,25 +212,12 @@ export declare const IOModuleStyles: {
212
212
  interface IOSelectionTickVisualParams {
213
213
  size: IOIconSizeScale;
214
214
  borderWidth: number;
215
- borderColorOffState: IOColors;
216
- bgColorOnState: IOColors;
217
- tickColor: IOColors;
218
- }
219
- interface IOSwitchVisualParams {
220
- width: number;
221
- height: number;
222
- bgColorOffState: IOColors;
223
- bgColorOnState: IOColors;
224
- tickColor: IOColors;
225
- bgCircle: IOColors;
226
- padding: number;
227
215
  }
228
216
  interface IOSelectionTickLegacyVisualParams {
229
217
  borderColorOffState: IOColors;
230
218
  bgColorOnState: IOColors;
231
219
  }
232
220
  export declare const IOSelectionTickVisualParams: IOSelectionTickVisualParams;
233
- export declare const IOSwitchVisualParams: IOSwitchVisualParams;
234
221
  export declare const IOSelectionTickLegacyVisualParams: IOSelectionTickLegacyVisualParams;
235
222
  interface IOSelectionListItemVisualParams {
236
223
  paddingVertical: IOSpacingScale;
@@ -1 +1 @@
1
- {"version":3,"file":"IOStyles.d.ts","sourceRoot":"","sources":["../../../src/core/IOStyles.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAEtC,OAAO,EACL,WAAW,EAGX,QAAQ,EACR,cAAc,EACf,MAAM,aAAa,CAAC;AAErB;;GAEG;AAEH,UAAU,gBAAgB;IACxB,gBAAgB,EAAE,WAAW,CAAC;IAE9B,YAAY,EAAE,MAAM,CAAC;IAErB,eAAe,EAAE,MAAM,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,wBAAwB,EAAE,MAAM,CAAC;IACjC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,sBAAsB,EAAE,MAAM,CAAC;IAC/B,UAAU,EAAE,cAAc,CAAC;CAC5B;AAED,eAAO,MAAM,gBAAgB,EAAE,gBAW9B,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoDnB,CAAC;AAeH,eAAO,MAAM,iB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c,CAAC;IAC3B,YAAY,EAAE,QAAQ,CAAC;IACvB,QAAQ,EAAE,eAAe,CAAC;IAC1B,iBAAiB,EAAE,QAAQ,CAAC;CAC7B;AAED,eAAO,MAAM,+BAA+B,EAAE,+BAQ3C,CAAC;AAEJ,eAAO,MAAM,yBAAyB;;;;;;;;;;;CAWpC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagopa/io-app-design-system",
3
- "version": "4.5.5",
3
+ "version": "4.5.6",
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",
@@ -206,13 +206,14 @@ export const Banner = ({
206
206
  {action && (
207
207
  /* Disable pointer events to avoid
208
208
  pressed state on the button */
209
- <View
209
+ <Pressable
210
210
  pointerEvents="none"
211
211
  importantForAccessibility="no-hide-descendants"
212
212
  accessible={true}
213
213
  accessibilityElementsHidden
214
214
  accessibilityLabel={action}
215
215
  accessibilityRole="button"
216
+ onPress={onPress}
216
217
  >
217
218
  <VSpacer size={4} />
218
219
  <IOText
@@ -229,7 +230,7 @@ export const Banner = ({
229
230
  >
230
231
  {action}
231
232
  </IOText>
232
- </View>
233
+ </Pressable>
233
234
  )}
234
235
  </View>
235
236
  <View style={[styles.bleedPictogram, IOStyles.selfCenter]}>
@@ -103,8 +103,36 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
103
103
  accessibilityElementsHidden={true}
104
104
  accessibilityLabel="Action text"
105
105
  accessibilityRole="button"
106
+ accessibilityState={
107
+ {
108
+ "busy": undefined,
109
+ "checked": undefined,
110
+ "disabled": undefined,
111
+ "expanded": undefined,
112
+ "selected": undefined,
113
+ }
114
+ }
115
+ accessibilityValue={
116
+ {
117
+ "max": undefined,
118
+ "min": undefined,
119
+ "now": undefined,
120
+ "text": undefined,
121
+ }
122
+ }
106
123
  accessible={true}
124
+ collapsable={false}
125
+ focusable={true}
107
126
  importantForAccessibility="no-hide-descendants"
127
+ onBlur={[Function]}
128
+ onClick={[Function]}
129
+ onFocus={[Function]}
130
+ onResponderGrant={[Function]}
131
+ onResponderMove={[Function]}
132
+ onResponderRelease={[Function]}
133
+ onResponderTerminate={[Function]}
134
+ onResponderTerminationRequest={[Function]}
135
+ onStartShouldSetResponder={[Function]}
108
136
  pointerEvents="none"
109
137
  >
110
138
  <View
@@ -380,8 +408,36 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
380
408
  accessibilityElementsHidden={true}
381
409
  accessibilityLabel="Action text"
382
410
  accessibilityRole="button"
411
+ accessibilityState={
412
+ {
413
+ "busy": undefined,
414
+ "checked": undefined,
415
+ "disabled": undefined,
416
+ "expanded": undefined,
417
+ "selected": undefined,
418
+ }
419
+ }
420
+ accessibilityValue={
421
+ {
422
+ "max": undefined,
423
+ "min": undefined,
424
+ "now": undefined,
425
+ "text": undefined,
426
+ }
427
+ }
383
428
  accessible={true}
429
+ collapsable={false}
430
+ focusable={true}
384
431
  importantForAccessibility="no-hide-descendants"
432
+ onBlur={[Function]}
433
+ onClick={[Function]}
434
+ onFocus={[Function]}
435
+ onResponderGrant={[Function]}
436
+ onResponderMove={[Function]}
437
+ onResponderRelease={[Function]}
438
+ onResponderTerminate={[Function]}
439
+ onResponderTerminationRequest={[Function]}
440
+ onStartShouldSetResponder={[Function]}
385
441
  pointerEvents="none"
386
442
  >
387
443
  <View
@@ -117,7 +117,7 @@ export const ButtonLink = forwardRef<View, ButtonLinkProps>(
117
117
  pressed: IOColors[theme["interactiveElem-pressed"]],
118
118
  disabled: hexToRgba(
119
119
  IOColors[theme["interactiveElem-default"]],
120
- 0.75
120
+ 0.85
121
121
  )
122
122
  }
123
123
  },
@@ -171,7 +171,7 @@ export const ButtonSolid = forwardRef<View, ButtonSolidProps>(
171
171
  disabled: IOColors[theme["interactiveElem-disabled"]]
172
172
  },
173
173
  foreground: {
174
- default: theme["buttonText-default"],
174
+ default: theme["buttonText-danger"],
175
175
  disabled: theme["buttonText-disabled"]
176
176
  }
177
177
  },
@@ -15,7 +15,7 @@ import Animated, {
15
15
  withTiming
16
16
  } from "react-native-reanimated";
17
17
  import { useIOFontDynamicScale } from "../../utils/accessibility";
18
- import { useIOExperimentalDesign } from "../../core";
18
+ import { useIOExperimentalDesign, useIOTheme } from "../../core";
19
19
  import { IOSpringValues } from "../../core/IOAnimations";
20
20
  import { IOColors } from "../../core/IOColors";
21
21
  import {
@@ -59,12 +59,13 @@ export const AnimatedCheckbox = ({
59
59
  onPress,
60
60
  disabled
61
61
  }: OwnProps) => {
62
+ const theme = useIOTheme();
62
63
  const { dynamicFontScale } = useIOFontDynamicScale();
63
64
  const isChecked = checked ?? false;
64
65
 
65
66
  const { isExperimental } = useIOExperimentalDesign();
66
- const borderColorOffState =
67
- IOColors[IOSelectionTickVisualParams.borderColorOffState];
67
+ const borderColorOffState = IOColors[theme["selection-border-off"]];
68
+
68
69
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
69
70
  const legacyBorderColorOffState =
70
71
  IOColors[IOSelectionTickLegacyVisualParams.borderColorOffState];
@@ -72,12 +73,12 @@ export const AnimatedCheckbox = ({
72
73
  ? borderColorOffState
73
74
  : legacyBorderColorOffState;
74
75
 
75
- const backgroundColorOnState =
76
- IOColors[IOSelectionTickVisualParams.bgColorOnState];
76
+ const backgroundColorOnState = IOColors[theme["selection-background-on"]];
77
+
77
78
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
78
79
  const legacyBackgroundColorOnState =
79
80
  IOColors[IOSelectionTickLegacyVisualParams.bgColorOnState];
80
- const backgroundColorProp = isExperimental
81
+ const backgroundColor = isExperimental
81
82
  ? backgroundColorOnState
82
83
  : legacyBackgroundColorOnState;
83
84
 
@@ -139,9 +140,7 @@ export const AnimatedCheckbox = ({
139
140
  style={[
140
141
  styles.checkBoxSquare,
141
142
  checkboxSizeStyle,
142
- {
143
- backgroundColor: backgroundColorProp
144
- },
143
+ { backgroundColor },
145
144
  animatedCheckboxSquare
146
145
  ]}
147
146
  />
@@ -150,7 +149,7 @@ export const AnimatedCheckbox = ({
150
149
  <AnimatedTick
151
150
  size={size}
152
151
  progress={tickAnimationProgress}
153
- stroke={IOColors[IOSelectionTickVisualParams.tickColor]}
152
+ stroke={IOColors[theme["selection-tick"]]}
154
153
  />
155
154
  </View>
156
155
  )}
@@ -8,13 +8,12 @@ import Animated, {
8
8
  withSpring,
9
9
  withTiming
10
10
  } from "react-native-reanimated";
11
- import { useIOExperimentalDesign } from "../../core";
11
+ import { useIOExperimentalDesign, useIOTheme } from "../../core";
12
12
  import { IOSpringValues } from "../../core/IOAnimations";
13
13
  import { IOColors } from "../../core/IOColors";
14
14
  import { IOSpacingScale } from "../../core/IOSpacing";
15
15
  import {
16
16
  IOSelectionTickLegacyVisualParams,
17
- IOSelectionTickVisualParams,
18
17
  IOVisualCostants
19
18
  } from "../../core/IOStyles";
20
19
  import { AnimatedTick } from "../common/AnimatedTick";
@@ -52,13 +51,14 @@ export const AnimatedMessageCheckbox = ({
52
51
  checked,
53
52
  onPress
54
53
  }: AnimatedMessageCheckbox) => {
54
+ const theme = useIOTheme();
55
55
  const isChecked = !!checked;
56
56
  const { isExperimental } = useIOExperimentalDesign();
57
57
 
58
58
  const shapeAnimationProgress = useSharedValue(checked ? 1 : 0);
59
59
  const tickAnimationProgress = useSharedValue(checked ? 1 : 0);
60
- const backgroundColorOnState =
61
- IOColors[IOSelectionTickVisualParams.bgColorOnState];
60
+ const backgroundColorOnState = IOColors[theme["selection-background-on"]];
61
+
62
62
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
63
63
  const legacyBackgroundColorOnState =
64
64
  IOColors[IOSelectionTickLegacyVisualParams.bgColorOnState];
@@ -110,7 +110,7 @@ export const AnimatedMessageCheckbox = ({
110
110
  <AnimatedTick
111
111
  progress={tickAnimationProgress}
112
112
  strokeWidth={1.5}
113
- stroke={IOColors[IOSelectionTickVisualParams.tickColor]}
113
+ stroke={IOColors[theme["selection-tick"]]}
114
114
  />
115
115
  )}
116
116
  </Pressable>
@@ -119,7 +119,7 @@ export const ListItemCheckbox = ({
119
119
  <Icon
120
120
  allowFontScaling
121
121
  name={icon}
122
- color="grey-300"
122
+ color={theme["icon-decorative"]}
123
123
  size={IOSelectionListItemVisualParams.iconSize}
124
124
  />
125
125
  )}
@@ -198,7 +198,7 @@ export const ListItemRadio = ({
198
198
  <Icon
199
199
  allowFontScaling
200
200
  name={startImage.icon}
201
- color="grey-300"
201
+ color={theme["icon-decorative"]}
202
202
  size={IOSelectionListItemVisualParams.iconSize}
203
203
  />
204
204
  )}
@@ -115,7 +115,7 @@ export const ListItemSwitch = React.memo(
115
115
  <Icon
116
116
  allowFontScaling
117
117
  name={icon}
118
- color="grey-300"
118
+ color={theme["icon-decorative"]}
119
119
  size={IOSelectionListItemVisualParams.iconSize}
120
120
  />
121
121
  )}
@@ -14,7 +14,7 @@ import Animated, {
14
14
  withSpring,
15
15
  withTiming
16
16
  } from "react-native-reanimated";
17
- import { useIOExperimentalDesign } from "../../core";
17
+ import { useIOExperimentalDesign, useIOTheme } from "../../core";
18
18
  import { IOSpringValues } from "../../core/IOAnimations";
19
19
  import { IOColors } from "../../core/IOColors";
20
20
  import {
@@ -54,11 +54,12 @@ export const AnimatedRadio = ({
54
54
  onPress,
55
55
  disabled
56
56
  }: OwnProps) => {
57
+ const theme = useIOTheme();
57
58
  const isChecked = checked ?? false;
58
59
 
59
60
  const { isExperimental } = useIOExperimentalDesign();
60
- const borderColorOffState =
61
- IOColors[IOSelectionTickVisualParams.borderColorOffState];
61
+ const borderColorOffState = IOColors[theme["selection-border-off"]];
62
+
62
63
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
63
64
  const legacyBorderColorOffState =
64
65
  IOColors[IOSelectionTickLegacyVisualParams.borderColorOffState];
@@ -66,12 +67,13 @@ export const AnimatedRadio = ({
66
67
  ? borderColorOffState
67
68
  : legacyBorderColorOffState;
68
69
 
69
- const backgroundColorOnState =
70
- IOColors[IOSelectionTickVisualParams.bgColorOnState];
70
+ const backgroundColorOnState = IOColors[theme["selection-background-on"]];
71
+
71
72
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
72
73
  const legacyBackgroundColorOnState =
73
74
  IOColors[IOSelectionTickLegacyVisualParams.bgColorOnState];
74
- const backgroundColorProp = isExperimental
75
+
76
+ const backgroundColor = isExperimental
75
77
  ? backgroundColorOnState
76
78
  : legacyBackgroundColorOnState;
77
79
 
@@ -133,9 +135,7 @@ export const AnimatedRadio = ({
133
135
  style={[
134
136
  styles.radioCircle,
135
137
  radioButtonSizeStyle,
136
- {
137
- backgroundColor: backgroundColorProp
138
- },
138
+ { backgroundColor },
139
139
  animatedCheckboxSquare
140
140
  ]}
141
141
  />
@@ -144,7 +144,7 @@ export const AnimatedRadio = ({
144
144
  <AnimatedTick
145
145
  size={size}
146
146
  progress={tickAnimationProgress}
147
- stroke={IOColors[IOSelectionTickVisualParams.tickColor]}
147
+ stroke={IOColors[theme["selection-tick"]]}
148
148
  />
149
149
  </View>
150
150
  )}