@pagopa/io-app-design-system 5.3.9 → 5.4.1

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 (253) hide show
  1. package/README.md +3 -2
  2. package/lib/commonjs/components/accordion/AccordionItem.js +4 -2
  3. package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
  4. package/lib/commonjs/components/alert/Alert.js +5 -11
  5. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  6. package/lib/commonjs/components/alert/AlertEdgeToEdge.js +3 -2
  7. package/lib/commonjs/components/alert/AlertEdgeToEdge.js.map +1 -1
  8. package/lib/commonjs/components/alert/AlertEdgeToEdgeWrapper.js +3 -2
  9. package/lib/commonjs/components/alert/AlertEdgeToEdgeWrapper.js.map +1 -1
  10. package/lib/commonjs/components/buttons/ButtonLink.js +5 -2
  11. package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
  12. package/lib/commonjs/components/buttons/ButtonOutline.js +20 -15
  13. package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
  14. package/lib/commonjs/components/buttons/ButtonSolid.js +4 -1
  15. package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
  16. package/lib/commonjs/components/buttons/IOButton/IOButton.js +230 -0
  17. package/lib/commonjs/components/buttons/IOButton/IOButton.js.map +1 -0
  18. package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js +43 -0
  19. package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js.map +1 -0
  20. package/lib/commonjs/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
  21. package/lib/commonjs/components/buttons/IOButton/index.js +17 -0
  22. package/lib/commonjs/components/buttons/IOButton/index.js.map +1 -0
  23. package/lib/commonjs/components/buttons/IOButton/styles.js +166 -0
  24. package/lib/commonjs/components/buttons/IOButton/styles.js.map +1 -0
  25. package/lib/commonjs/components/buttons/IconButton.js +2 -3
  26. package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
  27. package/lib/commonjs/components/buttons/IconButtonContained.js +1 -2
  28. package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
  29. package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -402
  30. package/lib/commonjs/components/buttons/__test__/button.test.js +0 -24
  31. package/lib/commonjs/components/buttons/__test__/button.test.js.map +1 -1
  32. package/lib/commonjs/components/buttons/index.js +11 -0
  33. package/lib/commonjs/components/buttons/index.js.map +1 -1
  34. package/lib/commonjs/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +13 -30
  35. package/lib/commonjs/components/icons/Icon.js +11 -9
  36. package/lib/commonjs/components/icons/Icon.js.map +1 -1
  37. package/lib/commonjs/components/layout/FooterActions.js +10 -9
  38. package/lib/commonjs/components/layout/FooterActions.js.map +1 -1
  39. package/lib/commonjs/components/layout/FooterActionsInline.js +8 -8
  40. package/lib/commonjs/components/layout/FooterActionsInline.js.map +1 -1
  41. package/lib/commonjs/components/layout/GradientBottomActions.js +8 -8
  42. package/lib/commonjs/components/layout/GradientBottomActions.js.map +1 -1
  43. package/lib/commonjs/components/layout/GradientScrollView.js.map +1 -1
  44. package/lib/commonjs/components/layout/ModalBSHeader.js +3 -1
  45. package/lib/commonjs/components/layout/ModalBSHeader.js.map +1 -1
  46. package/lib/commonjs/components/listitems/ListItemAmount.js +3 -1
  47. package/lib/commonjs/components/listitems/ListItemAmount.js.map +1 -1
  48. package/lib/commonjs/components/listitems/ListItemCheckbox.js +3 -2
  49. package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
  50. package/lib/commonjs/components/listitems/ListItemHeader.js +4 -2
  51. package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
  52. package/lib/commonjs/components/listitems/ListItemInfo.js +3 -1
  53. package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
  54. package/lib/commonjs/components/listitems/ListItemInfoCopy.js +3 -1
  55. package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
  56. package/lib/commonjs/components/listitems/ListItemNav.js +1 -1
  57. package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
  58. package/lib/commonjs/components/listitems/ListItemNavAlert.js +3 -1
  59. package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
  60. package/lib/commonjs/components/listitems/ListItemRadio.js +10 -2
  61. package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
  62. package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
  63. package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js +6 -6
  64. package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js.map +1 -1
  65. package/lib/commonjs/components/numberpad/NumberButton.js +15 -2
  66. package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
  67. package/lib/commonjs/components/numberpad/NumberPad.js +9 -6
  68. package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
  69. package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +42 -96
  70. package/lib/commonjs/components/otpInput/OTPInput.js +3 -3
  71. package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
  72. package/lib/commonjs/components/radio/RadioButtonLabel.js +3 -3
  73. package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -1
  74. package/lib/commonjs/components/stepper/Stepper.js +5 -2
  75. package/lib/commonjs/components/stepper/Stepper.js.map +1 -1
  76. package/lib/commonjs/components/typography/IOText.js +4 -1
  77. package/lib/commonjs/components/typography/IOText.js.map +1 -1
  78. package/lib/commonjs/core/IOStyles.js +3 -53
  79. package/lib/commonjs/core/IOStyles.js.map +1 -1
  80. package/lib/module/components/accordion/AccordionItem.js +5 -3
  81. package/lib/module/components/accordion/AccordionItem.js.map +1 -1
  82. package/lib/module/components/alert/Alert.js +6 -12
  83. package/lib/module/components/alert/Alert.js.map +1 -1
  84. package/lib/module/components/alert/AlertEdgeToEdge.js +3 -2
  85. package/lib/module/components/alert/AlertEdgeToEdge.js.map +1 -1
  86. package/lib/module/components/alert/AlertEdgeToEdgeWrapper.js +3 -2
  87. package/lib/module/components/alert/AlertEdgeToEdgeWrapper.js.map +1 -1
  88. package/lib/module/components/buttons/ButtonLink.js +6 -3
  89. package/lib/module/components/buttons/ButtonLink.js.map +1 -1
  90. package/lib/module/components/buttons/ButtonOutline.js +21 -16
  91. package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
  92. package/lib/module/components/buttons/ButtonSolid.js +4 -1
  93. package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
  94. package/lib/module/components/buttons/IOButton/IOButton.js +223 -0
  95. package/lib/module/components/buttons/IOButton/IOButton.js.map +1 -0
  96. package/lib/module/components/buttons/IOButton/__test__/IOButton.test.js +40 -0
  97. package/lib/module/components/buttons/IOButton/__test__/IOButton.test.js.map +1 -0
  98. package/lib/module/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
  99. package/lib/module/components/buttons/IOButton/index.js +4 -0
  100. package/lib/module/components/buttons/IOButton/index.js.map +1 -0
  101. package/lib/module/components/buttons/IOButton/styles.js +160 -0
  102. package/lib/module/components/buttons/IOButton/styles.js.map +1 -0
  103. package/lib/module/components/buttons/IconButton.js +4 -5
  104. package/lib/module/components/buttons/IconButton.js.map +1 -1
  105. package/lib/module/components/buttons/IconButtonContained.js +2 -3
  106. package/lib/module/components/buttons/IconButtonContained.js.map +1 -1
  107. package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -402
  108. package/lib/module/components/buttons/__test__/button.test.js +0 -24
  109. package/lib/module/components/buttons/__test__/button.test.js.map +1 -1
  110. package/lib/module/components/buttons/index.js +1 -0
  111. package/lib/module/components/buttons/index.js.map +1 -1
  112. package/lib/module/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +13 -30
  113. package/lib/module/components/icons/Icon.js +10 -7
  114. package/lib/module/components/icons/Icon.js.map +1 -1
  115. package/lib/module/components/layout/FooterActions.js +11 -10
  116. package/lib/module/components/layout/FooterActions.js.map +1 -1
  117. package/lib/module/components/layout/FooterActionsInline.js +9 -9
  118. package/lib/module/components/layout/FooterActionsInline.js.map +1 -1
  119. package/lib/module/components/layout/GradientBottomActions.js +9 -9
  120. package/lib/module/components/layout/GradientBottomActions.js.map +1 -1
  121. package/lib/module/components/layout/GradientScrollView.js.map +1 -1
  122. package/lib/module/components/layout/ModalBSHeader.js +4 -2
  123. package/lib/module/components/layout/ModalBSHeader.js.map +1 -1
  124. package/lib/module/components/listitems/ListItemAmount.js +4 -2
  125. package/lib/module/components/listitems/ListItemAmount.js.map +1 -1
  126. package/lib/module/components/listitems/ListItemCheckbox.js +4 -3
  127. package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
  128. package/lib/module/components/listitems/ListItemHeader.js +5 -3
  129. package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
  130. package/lib/module/components/listitems/ListItemInfo.js +4 -2
  131. package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
  132. package/lib/module/components/listitems/ListItemInfoCopy.js +4 -2
  133. package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
  134. package/lib/module/components/listitems/ListItemNav.js +2 -2
  135. package/lib/module/components/listitems/ListItemNav.js.map +1 -1
  136. package/lib/module/components/listitems/ListItemNavAlert.js +4 -2
  137. package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
  138. package/lib/module/components/listitems/ListItemRadio.js +11 -3
  139. package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
  140. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
  141. package/lib/module/components/loadingSpinner/LoadingSpinner.js +6 -6
  142. package/lib/module/components/loadingSpinner/LoadingSpinner.js.map +1 -1
  143. package/lib/module/components/numberpad/NumberButton.js +16 -3
  144. package/lib/module/components/numberpad/NumberButton.js.map +1 -1
  145. package/lib/module/components/numberpad/NumberPad.js +10 -7
  146. package/lib/module/components/numberpad/NumberPad.js.map +1 -1
  147. package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +42 -96
  148. package/lib/module/components/otpInput/OTPInput.js +3 -3
  149. package/lib/module/components/otpInput/OTPInput.js.map +1 -1
  150. package/lib/module/components/radio/RadioButtonLabel.js +3 -3
  151. package/lib/module/components/radio/RadioButtonLabel.js.map +1 -1
  152. package/lib/module/components/stepper/Stepper.js +6 -3
  153. package/lib/module/components/stepper/Stepper.js.map +1 -1
  154. package/lib/module/components/typography/IOText.js +2 -0
  155. package/lib/module/components/typography/IOText.js.map +1 -1
  156. package/lib/module/core/IOStyles.js +3 -53
  157. package/lib/module/core/IOStyles.js.map +1 -1
  158. package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -1
  159. package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
  160. package/lib/typescript/components/alert/AlertEdgeToEdge.d.ts.map +1 -1
  161. package/lib/typescript/components/alert/AlertEdgeToEdgeWrapper.d.ts.map +1 -1
  162. package/lib/typescript/components/buttons/ButtonLink.d.ts +3 -0
  163. package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
  164. package/lib/typescript/components/buttons/ButtonOutline.d.ts +3 -0
  165. package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
  166. package/lib/typescript/components/buttons/ButtonSolid.d.ts +3 -0
  167. package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
  168. package/lib/typescript/components/buttons/IOButton/IOButton.d.ts +57 -0
  169. package/lib/typescript/components/buttons/IOButton/IOButton.d.ts.map +1 -0
  170. package/lib/typescript/components/buttons/IOButton/__test__/IOButton.test.d.ts +2 -0
  171. package/lib/typescript/components/buttons/IOButton/__test__/IOButton.test.d.ts.map +1 -0
  172. package/lib/typescript/components/buttons/IOButton/index.d.ts +2 -0
  173. package/lib/typescript/components/buttons/IOButton/index.d.ts.map +1 -0
  174. package/lib/typescript/components/buttons/IOButton/styles.d.ts +35 -0
  175. package/lib/typescript/components/buttons/IOButton/styles.d.ts.map +1 -0
  176. package/lib/typescript/components/buttons/IconButton.d.ts.map +1 -1
  177. package/lib/typescript/components/buttons/IconButtonContained.d.ts.map +1 -1
  178. package/lib/typescript/components/buttons/index.d.ts +1 -0
  179. package/lib/typescript/components/buttons/index.d.ts.map +1 -1
  180. package/lib/typescript/components/icons/Icon.d.ts +1 -4
  181. package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
  182. package/lib/typescript/components/icons/types.d.ts +3 -2
  183. package/lib/typescript/components/icons/types.d.ts.map +1 -1
  184. package/lib/typescript/components/layout/FooterActions.d.ts +10 -8
  185. package/lib/typescript/components/layout/FooterActions.d.ts.map +1 -1
  186. package/lib/typescript/components/layout/FooterActionsInline.d.ts +5 -4
  187. package/lib/typescript/components/layout/FooterActionsInline.d.ts.map +1 -1
  188. package/lib/typescript/components/layout/GradientBottomActions.d.ts +12 -6
  189. package/lib/typescript/components/layout/GradientBottomActions.d.ts.map +1 -1
  190. package/lib/typescript/components/layout/GradientScrollView.d.ts.map +1 -1
  191. package/lib/typescript/components/listitems/ListItemAmount.d.ts.map +1 -1
  192. package/lib/typescript/components/listitems/ListItemCheckbox.d.ts.map +1 -1
  193. package/lib/typescript/components/listitems/ListItemHeader.d.ts.map +1 -1
  194. package/lib/typescript/components/listitems/ListItemInfo.d.ts.map +1 -1
  195. package/lib/typescript/components/listitems/ListItemInfoCopy.d.ts.map +1 -1
  196. package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
  197. package/lib/typescript/components/listitems/ListItemRadio.d.ts.map +1 -1
  198. package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts +2 -2
  199. package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts.map +1 -1
  200. package/lib/typescript/components/numberpad/NumberButton.d.ts +11 -0
  201. package/lib/typescript/components/numberpad/NumberButton.d.ts.map +1 -1
  202. package/lib/typescript/components/numberpad/NumberPad.d.ts.map +1 -1
  203. package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -1
  204. package/lib/typescript/components/radio/RadioButtonLabel.d.ts.map +1 -1
  205. package/lib/typescript/components/stepper/Stepper.d.ts.map +1 -1
  206. package/lib/typescript/components/typography/IOText.d.ts +1 -0
  207. package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
  208. package/lib/typescript/core/IOStyles.d.ts +0 -47
  209. package/lib/typescript/core/IOStyles.d.ts.map +1 -1
  210. package/package.json +1 -1
  211. package/src/components/accordion/AccordionItem.tsx +7 -14
  212. package/src/components/alert/Alert.tsx +7 -21
  213. package/src/components/alert/AlertEdgeToEdge.tsx +1 -2
  214. package/src/components/alert/AlertEdgeToEdgeWrapper.tsx +1 -2
  215. package/src/components/buttons/ButtonLink.tsx +6 -6
  216. package/src/components/buttons/ButtonOutline.tsx +21 -21
  217. package/src/components/buttons/ButtonSolid.tsx +4 -1
  218. package/src/components/buttons/IOButton/IOButton.tsx +363 -0
  219. package/src/components/buttons/IOButton/__test__/IOButton.test.tsx +46 -0
  220. package/src/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
  221. package/src/components/buttons/IOButton/index.tsx +1 -0
  222. package/src/components/buttons/IOButton/styles.tsx +228 -0
  223. package/src/components/buttons/IconButton.tsx +4 -9
  224. package/src/components/buttons/IconButtonContained.tsx +3 -6
  225. package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -402
  226. package/src/components/buttons/__test__/button.test.tsx +1 -33
  227. package/src/components/buttons/index.tsx +1 -0
  228. package/src/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +13 -30
  229. package/src/components/icons/Icon.tsx +12 -3
  230. package/src/components/icons/types.ts +3 -2
  231. package/src/components/layout/FooterActions.tsx +26 -14
  232. package/src/components/layout/FooterActionsInline.tsx +19 -12
  233. package/src/components/layout/GradientBottomActions.tsx +17 -18
  234. package/src/components/layout/GradientScrollView.tsx +2 -1
  235. package/src/components/layout/ModalBSHeader.tsx +2 -2
  236. package/src/components/listitems/ListItemAmount.tsx +1 -2
  237. package/src/components/listitems/ListItemCheckbox.tsx +8 -11
  238. package/src/components/listitems/ListItemHeader.tsx +2 -3
  239. package/src/components/listitems/ListItemInfo.tsx +1 -2
  240. package/src/components/listitems/ListItemInfoCopy.tsx +1 -2
  241. package/src/components/listitems/ListItemNav.tsx +1 -1
  242. package/src/components/listitems/ListItemNavAlert.tsx +1 -2
  243. package/src/components/listitems/ListItemRadio.tsx +7 -7
  244. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
  245. package/src/components/loadingSpinner/LoadingSpinner.tsx +8 -8
  246. package/src/components/numberpad/NumberButton.tsx +18 -11
  247. package/src/components/numberpad/NumberPad.tsx +8 -10
  248. package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +42 -96
  249. package/src/components/otpInput/OTPInput.tsx +1 -2
  250. package/src/components/radio/RadioButtonLabel.tsx +7 -10
  251. package/src/components/stepper/Stepper.tsx +7 -12
  252. package/src/components/typography/IOText.tsx +3 -0
  253. package/src/core/IOStyles.ts +3 -55
@@ -19,17 +19,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
19
19
  >
20
20
  <View
21
21
  style={
22
- [
23
- {
24
- "flexDirection": "row",
25
- "justifyContent": "space-between",
26
- },
27
- {
28
- "alignItems": "center",
29
- "flexGrow": 1,
30
- "justifyContent": "space-between",
31
- },
32
- ]
22
+ {
23
+ "alignItems": "center",
24
+ "flexDirection": "row",
25
+ "flexGrow": 1,
26
+ "justifyContent": "space-between",
27
+ }
33
28
  }
34
29
  >
35
30
  <View
@@ -69,11 +64,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
69
64
  [
70
65
  {
71
66
  "alignItems": "center",
67
+ "borderRadius": 28,
72
68
  "justifyContent": "center",
73
69
  },
74
- {
75
- "borderRadius": 100,
76
- },
77
70
  {
78
71
  "height": 56,
79
72
  "width": 56,
@@ -152,11 +145,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
152
145
  [
153
146
  {
154
147
  "alignItems": "center",
148
+ "borderRadius": 28,
155
149
  "justifyContent": "center",
156
150
  },
157
- {
158
- "borderRadius": 100,
159
- },
160
151
  {
161
152
  "height": 56,
162
153
  "width": 56,
@@ -235,11 +226,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
235
226
  [
236
227
  {
237
228
  "alignItems": "center",
229
+ "borderRadius": 28,
238
230
  "justifyContent": "center",
239
231
  },
240
- {
241
- "borderRadius": 100,
242
- },
243
232
  {
244
233
  "height": 56,
245
234
  "width": 56,
@@ -284,17 +273,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
284
273
  </View>
285
274
  <View
286
275
  style={
287
- [
288
- {
289
- "flexDirection": "row",
290
- "justifyContent": "space-between",
291
- },
292
- {
293
- "alignItems": "center",
294
- "flexGrow": 1,
295
- "justifyContent": "space-between",
296
- },
297
- ]
276
+ {
277
+ "alignItems": "center",
278
+ "flexDirection": "row",
279
+ "flexGrow": 1,
280
+ "justifyContent": "space-between",
281
+ }
298
282
  }
299
283
  >
300
284
  <View
@@ -334,11 +318,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
334
318
  [
335
319
  {
336
320
  "alignItems": "center",
321
+ "borderRadius": 28,
337
322
  "justifyContent": "center",
338
323
  },
339
- {
340
- "borderRadius": 100,
341
- },
342
324
  {
343
325
  "height": 56,
344
326
  "width": 56,
@@ -417,11 +399,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
417
399
  [
418
400
  {
419
401
  "alignItems": "center",
402
+ "borderRadius": 28,
420
403
  "justifyContent": "center",
421
404
  },
422
- {
423
- "borderRadius": 100,
424
- },
425
405
  {
426
406
  "height": 56,
427
407
  "width": 56,
@@ -500,11 +480,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
500
480
  [
501
481
  {
502
482
  "alignItems": "center",
483
+ "borderRadius": 28,
503
484
  "justifyContent": "center",
504
485
  },
505
- {
506
- "borderRadius": 100,
507
- },
508
486
  {
509
487
  "height": 56,
510
488
  "width": 56,
@@ -549,17 +527,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
549
527
  </View>
550
528
  <View
551
529
  style={
552
- [
553
- {
554
- "flexDirection": "row",
555
- "justifyContent": "space-between",
556
- },
557
- {
558
- "alignItems": "center",
559
- "flexGrow": 1,
560
- "justifyContent": "space-between",
561
- },
562
- ]
530
+ {
531
+ "alignItems": "center",
532
+ "flexDirection": "row",
533
+ "flexGrow": 1,
534
+ "justifyContent": "space-between",
535
+ }
563
536
  }
564
537
  >
565
538
  <View
@@ -599,11 +572,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
599
572
  [
600
573
  {
601
574
  "alignItems": "center",
575
+ "borderRadius": 28,
602
576
  "justifyContent": "center",
603
577
  },
604
- {
605
- "borderRadius": 100,
606
- },
607
578
  {
608
579
  "height": 56,
609
580
  "width": 56,
@@ -682,11 +653,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
682
653
  [
683
654
  {
684
655
  "alignItems": "center",
656
+ "borderRadius": 28,
685
657
  "justifyContent": "center",
686
658
  },
687
- {
688
- "borderRadius": 100,
689
- },
690
659
  {
691
660
  "height": 56,
692
661
  "width": 56,
@@ -765,11 +734,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
765
734
  [
766
735
  {
767
736
  "alignItems": "center",
737
+ "borderRadius": 28,
768
738
  "justifyContent": "center",
769
739
  },
770
- {
771
- "borderRadius": 100,
772
- },
773
740
  {
774
741
  "height": 56,
775
742
  "width": 56,
@@ -814,17 +781,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
814
781
  </View>
815
782
  <View
816
783
  style={
817
- [
818
- {
819
- "flexDirection": "row",
820
- "justifyContent": "space-between",
821
- },
822
- {
823
- "alignItems": "center",
824
- "flexGrow": 1,
825
- "justifyContent": "space-between",
826
- },
827
- ]
784
+ {
785
+ "alignItems": "center",
786
+ "flexDirection": "row",
787
+ "flexGrow": 1,
788
+ "justifyContent": "space-between",
789
+ }
828
790
  }
829
791
  >
830
792
  <View
@@ -836,8 +798,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
836
798
  },
837
799
  {
838
800
  "alignItems": "center",
839
- },
840
- {
841
801
  "justifyContent": "center",
842
802
  },
843
803
  ]
@@ -880,15 +840,13 @@ exports[`NumberPad Should match the snapshot 1`] = `
880
840
  <View
881
841
  style={
882
842
  [
883
- {
884
- "height": 24,
885
- "width": 24,
886
- },
887
843
  {
888
844
  "alignItems": "center",
845
+ "justifyContent": "center",
889
846
  },
890
847
  {
891
- "justifyContent": "center",
848
+ "height": 24,
849
+ "width": 24,
892
850
  },
893
851
  {
894
852
  "transform": [
@@ -907,6 +865,7 @@ exports[`NumberPad Should match the snapshot 1`] = `
907
865
  align="xMidYMid"
908
866
  bbHeight={24}
909
867
  bbWidth={24}
868
+ color="#FFFFFF"
910
869
  focusable={false}
911
870
  height={24}
912
871
  importantForAccessibility="no-hide-descendants"
@@ -919,9 +878,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
919
878
  "backgroundColor": "transparent",
920
879
  "borderWidth": 0,
921
880
  },
922
- {
923
- "color": "#FFFFFF",
924
- },
925
881
  {
926
882
  "flex": 0,
927
883
  "height": 24,
@@ -934,7 +890,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
934
890
  width={24}
935
891
  >
936
892
  <RNSVGGroup
937
- color="#FFFFFF"
938
893
  fill={
939
894
  {
940
895
  "payload": 4278190080,
@@ -1000,11 +955,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
1000
955
  [
1001
956
  {
1002
957
  "alignItems": "center",
958
+ "borderRadius": 28,
1003
959
  "justifyContent": "center",
1004
960
  },
1005
- {
1006
- "borderRadius": 100,
1007
- },
1008
961
  {
1009
962
  "height": 56,
1010
963
  "width": 56,
@@ -1055,8 +1008,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
1055
1008
  },
1056
1009
  {
1057
1010
  "alignItems": "center",
1058
- },
1059
- {
1060
1011
  "justifyContent": "center",
1061
1012
  },
1062
1013
  ]
@@ -1099,15 +1050,13 @@ exports[`NumberPad Should match the snapshot 1`] = `
1099
1050
  <View
1100
1051
  style={
1101
1052
  [
1102
- {
1103
- "height": 24,
1104
- "width": 24,
1105
- },
1106
1053
  {
1107
1054
  "alignItems": "center",
1055
+ "justifyContent": "center",
1108
1056
  },
1109
1057
  {
1110
- "justifyContent": "center",
1058
+ "height": 24,
1059
+ "width": 24,
1111
1060
  },
1112
1061
  {
1113
1062
  "transform": [
@@ -1126,6 +1075,7 @@ exports[`NumberPad Should match the snapshot 1`] = `
1126
1075
  align="xMidYMid"
1127
1076
  bbHeight={24}
1128
1077
  bbWidth={24}
1078
+ color="#FFFFFF"
1129
1079
  focusable={false}
1130
1080
  height={24}
1131
1081
  importantForAccessibility="no-hide-descendants"
@@ -1138,9 +1088,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
1138
1088
  "backgroundColor": "transparent",
1139
1089
  "borderWidth": 0,
1140
1090
  },
1141
- {
1142
- "color": "#FFFFFF",
1143
- },
1144
1091
  {
1145
1092
  "flex": 0,
1146
1093
  "height": 24,
@@ -1153,7 +1100,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
1153
1100
  width={24}
1154
1101
  >
1155
1102
  <RNSVGGroup
1156
- color="#FFFFFF"
1157
1103
  fill={
1158
1104
  {
1159
1105
  "payload": 4278190080,
@@ -9,7 +9,6 @@ import {
9
9
  View
10
10
  } from "react-native";
11
11
  import Animated from "react-native-reanimated";
12
- import { IOStyles } from "../../core/IOStyles";
13
12
  import { useIOTheme } from "../../core";
14
13
  import { triggerHaptic } from "../../functions";
15
14
  import { useErrorShakeAnimation } from "../../utils/hooks/useErrorShakeAnimation";
@@ -138,7 +137,7 @@ export const OTPInput = forwardRef<View, Props>(
138
137
  setHasFocus(true);
139
138
  }}
140
139
  ref={ref}
141
- style={[IOStyles.row, { justifyContent: "space-around" }]}
140
+ style={{ flexDirection: "row", justifyContent: "space-around" }}
142
141
  accessible={true}
143
142
  accessibilityLabel={accessibilityLabel}
144
143
  accessibilityHint={accessibilityHint}
@@ -2,7 +2,6 @@ import * as React from "react";
2
2
  import { ComponentProps, useState } from "react";
3
3
  import { Pressable, View } from "react-native";
4
4
  import { IOSelectionTickVisualParams, useIOTheme } from "../../core";
5
- import { IOStyles } from "../../core/IOStyles";
6
5
  import { triggerHaptic } from "../../functions/haptic-feedback/hapticFeedback";
7
6
  import { useIOFontDynamicScale } from "../../utils/accessibility";
8
7
  import { H6 } from "../typography/H6";
@@ -69,15 +68,13 @@ export const RadioButtonLabel = ({
69
68
  testID="AnimatedRadioButton"
70
69
  >
71
70
  <View
72
- style={[
73
- IOStyles.row,
74
- {
75
- alignItems: "flex-start",
76
- flexShrink: 1,
77
- width: "100%",
78
- columnGap: 8 * dynamicFontScale * spacingScaleMultiplier
79
- }
80
- ]}
71
+ style={{
72
+ flexDirection: "row",
73
+ alignItems: "flex-start",
74
+ flexShrink: 1,
75
+ width: "100%",
76
+ columnGap: 8 * dynamicFontScale * spacingScaleMultiplier
77
+ }}
81
78
  >
82
79
  <View
83
80
  pointerEvents="none"
@@ -1,12 +1,6 @@
1
1
  import * as React from "react";
2
2
  import { ColorValue, View } from "react-native";
3
- import {
4
- IOColors,
5
- IOSpacer,
6
- IOStyles,
7
- IOVisualCostants,
8
- useIOTheme
9
- } from "../../core";
3
+ import { IOColors, IOSpacer, IOVisualCostants, useIOTheme } from "../../core";
10
4
 
11
5
  type StepperProps = {
12
6
  steps: number;
@@ -26,11 +20,12 @@ export const Stepper = ({ steps, currentStep }: StepperProps) => {
26
20
  return (
27
21
  <View style={{ paddingHorizontal: IOVisualCostants.appMarginDefault }}>
28
22
  <View
29
- style={[
30
- IOStyles.flex,
31
- IOStyles.rowSpaceBetween,
32
- { gap: STEPPER_SPACE }
33
- ]}
23
+ style={{
24
+ flex: 1,
25
+ flexDirection: "row",
26
+ justifyContent: "space-between",
27
+ gap: STEPPER_SPACE
28
+ }}
34
29
  >
35
30
  {[...Array(steps)].map((_, i) => (
36
31
  <View
@@ -7,6 +7,7 @@ import {
7
7
  TextStyle,
8
8
  View
9
9
  } from "react-native";
10
+ import Animated from "react-native-reanimated";
10
11
  import { IOColors, useIOTheme } from "../../core";
11
12
  import { useBoldTextEnabled } from "../../utils/accessibility";
12
13
  import {
@@ -154,3 +155,5 @@ export const IOText = forwardRef<View, IOTextProps>(
154
155
  );
155
156
  }
156
157
  );
158
+
159
+ export const AnimatedIOText = Animated.createAnimatedComponent(IOText);
@@ -1,4 +1,4 @@
1
- import { Platform, StyleSheet } from "react-native";
1
+ import { StyleSheet } from "react-native";
2
2
  import { IOIconSizeScale } from "../components/icons";
3
3
  import { IOColors } from "./IOColors";
4
4
  import { IOModuleIDPRadius } from "./IOShapes";
@@ -43,31 +43,6 @@ export const IOVisualCostants: IOVisualCostants = {
43
43
  };
44
44
 
45
45
  export const IOStyles = StyleSheet.create({
46
- flex: {
47
- flex: 1
48
- },
49
- selfCenter: {
50
- alignSelf: "center"
51
- },
52
- alignCenter: {
53
- alignItems: "center"
54
- },
55
- horizontalContentPadding: {
56
- paddingHorizontal: IOVisualCostants.appMarginDefault
57
- },
58
- row: {
59
- flexDirection: "row"
60
- },
61
- column: {
62
- flexDirection: "column"
63
- },
64
- rowSpaceBetween: {
65
- flexDirection: "row",
66
- justifyContent: "space-between"
67
- },
68
- centerJustified: {
69
- justifyContent: "center"
70
- },
71
46
  // The following styles come from the original
72
47
  // NativeBase's `View`. They are moved here to
73
48
  // prevent UI regressions.
@@ -85,14 +60,6 @@ export const IOStyles = StyleSheet.create({
85
60
  shadowOpacity: 0.5,
86
61
  shadowRadius: 37,
87
62
  elevation: 20 // Prop supported on Android only
88
- },
89
- bgWhite: {
90
- backgroundColor: IOColors.white
91
- // https://github.com/pagopa/io-app/pull/4387
92
- },
93
- topListBorderBelowTabsStyle: {
94
- borderTopWidth: Platform.OS === "android" ? 0.1 : undefined,
95
- elevation: 0.1
96
63
  }
97
64
  });
98
65
 
@@ -113,12 +80,11 @@ export const buttonSolidHeight: number = btnSizeDefault;
113
80
  // TODO: Replace the number type with the new IOIconSizeScale
114
81
  export const iconBtnSizeSmall: number = 24;
115
82
 
116
- export const numberPadBtnSize: number = 56;
117
-
118
83
  export const IOButtonStyles = StyleSheet.create({
119
84
  /* BaseButton, used in the:
120
85
  ButtonSolid, ButtonOutline
121
86
  */
87
+ /* DELETE THIS, ONCE WE REMOVE `ButtonSolid`, `ButtonOutline` COMPONENTS */
122
88
  button: {
123
89
  flexDirection: "row",
124
90
  alignItems: "center",
@@ -174,9 +140,7 @@ export const IOIconButtonStyles = StyleSheet.create({
174
140
  /* IconButton */
175
141
  button: {
176
142
  alignItems: "center",
177
- justifyContent: "center",
178
- // Reset default visual parameters
179
- elevation: 0
143
+ justifyContent: "center"
180
144
  },
181
145
  buttonSizeSmall: {
182
146
  width: iconBtnSizeSmall,
@@ -194,22 +158,6 @@ export const IOIconButtonStyles = StyleSheet.create({
194
158
  }
195
159
  });
196
160
 
197
- export const IONumberPadButtonStyles = StyleSheet.create({
198
- /* IconButton */
199
- button: {
200
- alignItems: "center",
201
- justifyContent: "center"
202
- },
203
- circularShape: {
204
- // Circular shape
205
- borderRadius: 100
206
- },
207
- buttonSize: {
208
- width: numberPadBtnSize,
209
- height: numberPadBtnSize
210
- }
211
- });
212
-
213
161
  /**
214
162
  * LIST ITEM STYLES
215
163
  */