@pagopa/io-app-design-system 5.12.3 → 6.0.0-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 (54) hide show
  1. package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +68 -2
  2. package/lib/commonjs/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +285 -9
  3. package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +700 -33
  4. package/lib/commonjs/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +490 -40
  5. package/lib/commonjs/components/headers/HeaderFirstLevel.js +1 -1
  6. package/lib/commonjs/components/headers/HeaderFirstLevel.js.map +1 -1
  7. package/lib/commonjs/components/headers/HeaderSecondLevel.js +3 -2
  8. package/lib/commonjs/components/headers/HeaderSecondLevel.js.map +1 -1
  9. package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +925 -41
  10. package/lib/commonjs/components/modules/__test__/__snapshots__/ModuleNavigationAlt.test.tsx.snap +304 -8
  11. package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +430 -32
  12. package/lib/commonjs/components/templates/Dismissable.js +6 -1
  13. package/lib/commonjs/components/templates/Dismissable.js.map +1 -1
  14. package/lib/commonjs/components/templates/ForceScrollDownView.js +5 -4
  15. package/lib/commonjs/components/templates/ForceScrollDownView.js.map +1 -1
  16. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +68 -2
  17. package/lib/module/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +285 -9
  18. package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +700 -33
  19. package/lib/module/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +490 -40
  20. package/lib/module/components/headers/HeaderFirstLevel.js +2 -2
  21. package/lib/module/components/headers/HeaderFirstLevel.js.map +1 -1
  22. package/lib/module/components/headers/HeaderSecondLevel.js +4 -3
  23. package/lib/module/components/headers/HeaderSecondLevel.js.map +1 -1
  24. package/lib/module/components/layout/FooterActions.js.map +1 -1
  25. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +925 -41
  26. package/lib/module/components/modules/__test__/__snapshots__/ModuleNavigationAlt.test.tsx.snap +304 -8
  27. package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +430 -32
  28. package/lib/module/components/templates/Dismissable.js +7 -2
  29. package/lib/module/components/templates/Dismissable.js.map +1 -1
  30. package/lib/module/components/templates/ForceScrollDownView.js +6 -5
  31. package/lib/module/components/templates/ForceScrollDownView.js.map +1 -1
  32. package/lib/typescript/components/headers/HeaderSecondLevel.d.ts.map +1 -1
  33. package/lib/typescript/components/icons/Icon.d.ts +5 -1
  34. package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
  35. package/lib/typescript/components/layout/FooterActions.d.ts +3 -3
  36. package/lib/typescript/components/layout/FooterActions.d.ts.map +1 -1
  37. package/lib/typescript/components/templates/Dismissable.d.ts.map +1 -1
  38. package/lib/typescript/components/templates/ForceScrollDownView.d.ts +1 -1
  39. package/lib/typescript/components/templates/ForceScrollDownView.d.ts.map +1 -1
  40. package/lib/typescript/components/typography/IOText.d.ts +1 -1
  41. package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
  42. package/package.json +7 -5
  43. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +68 -2
  44. package/src/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +285 -9
  45. package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +700 -33
  46. package/src/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +490 -40
  47. package/src/components/headers/HeaderFirstLevel.tsx +2 -2
  48. package/src/components/headers/HeaderSecondLevel.tsx +4 -4
  49. package/src/components/layout/FooterActions.tsx +3 -3
  50. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +925 -41
  51. package/src/components/modules/__test__/__snapshots__/ModuleNavigationAlt.test.tsx.snap +304 -8
  52. package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +430 -32
  53. package/src/components/templates/Dismissable.tsx +5 -2
  54. package/src/components/templates/ForceScrollDownView.tsx +7 -8
@@ -33,6 +33,39 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
33
33
  onStartShouldSetResponder={[Function]}
34
34
  >
35
35
  <View
36
+ collapsable={false}
37
+ jestAnimatedProps={
38
+ {
39
+ "value": {},
40
+ }
41
+ }
42
+ jestAnimatedStyle={
43
+ {
44
+ "value": {
45
+ "transform": [
46
+ {
47
+ "scale": 1,
48
+ },
49
+ ],
50
+ },
51
+ }
52
+ }
53
+ jestInlineStyle={
54
+ [
55
+ {
56
+ "alignContent": "center",
57
+ "alignItems": "flex-start",
58
+ "borderCurve": "continuous",
59
+ "borderRadius": 8,
60
+ "flexDirection": "row",
61
+ "padding": 16,
62
+ },
63
+ {
64
+ "backgroundColor": "#F4F5F8",
65
+ },
66
+ ]
67
+ }
68
+ nativeID="1"
36
69
  style={
37
70
  [
38
71
  {
@@ -49,7 +82,7 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
49
82
  {
50
83
  "transform": [
51
84
  {
52
- "scale": undefined,
85
+ "scale": 1,
53
86
  },
54
87
  ],
55
88
  },
@@ -327,6 +360,39 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
327
360
  onStartShouldSetResponder={[Function]}
328
361
  >
329
362
  <View
363
+ collapsable={false}
364
+ jestAnimatedProps={
365
+ {
366
+ "value": {},
367
+ }
368
+ }
369
+ jestAnimatedStyle={
370
+ {
371
+ "value": {
372
+ "transform": [
373
+ {
374
+ "scale": 1,
375
+ },
376
+ ],
377
+ },
378
+ }
379
+ }
380
+ jestInlineStyle={
381
+ [
382
+ {
383
+ "alignContent": "center",
384
+ "alignItems": "flex-start",
385
+ "borderCurve": "continuous",
386
+ "borderRadius": 8,
387
+ "flexDirection": "row",
388
+ "padding": 16,
389
+ },
390
+ {
391
+ "backgroundColor": "#F4F5F8",
392
+ },
393
+ ]
394
+ }
395
+ nativeID="0"
330
396
  style={
331
397
  [
332
398
  {
@@ -343,7 +409,7 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
343
409
  {
344
410
  "transform": [
345
411
  {
346
- "scale": undefined,
412
+ "scale": 1,
347
413
  },
348
414
  ],
349
415
  },
@@ -48,6 +48,48 @@ exports[`Test Buttons Components IOButton Snapshot · Link variant 1`] = `
48
48
  }
49
49
  >
50
50
  <View
51
+ collapsable={false}
52
+ jestAnimatedProps={
53
+ {
54
+ "value": {},
55
+ }
56
+ }
57
+ jestAnimatedStyle={
58
+ {
59
+ "value": {
60
+ "transform": [
61
+ {
62
+ "scale": 1,
63
+ },
64
+ ],
65
+ },
66
+ }
67
+ }
68
+ jestInlineStyle={
69
+ [
70
+ {
71
+ "alignItems": "center",
72
+ "borderCurve": "continuous",
73
+ "elevation": 0,
74
+ "flexDirection": "row",
75
+ "justifyContent": "center",
76
+ "overflow": "hidden",
77
+ "textAlignVertical": "center",
78
+ },
79
+ {
80
+ "paddingHorizontal": 0,
81
+ },
82
+ {
83
+ "backgroundColor": "transparent",
84
+ "borderColor": "#0B3EE3",
85
+ "borderRadius": 8,
86
+ "borderWidth": 0,
87
+ "height": undefined,
88
+ },
89
+ {},
90
+ ]
91
+ }
92
+ nativeID="3"
51
93
  style={
52
94
  [
53
95
  {
@@ -62,7 +104,7 @@ exports[`Test Buttons Components IOButton Snapshot · Link variant 1`] = `
62
104
  {
63
105
  "transform": [
64
106
  {
65
- "scale": undefined,
107
+ "scale": 1,
66
108
  },
67
109
  ],
68
110
  },
@@ -82,6 +124,31 @@ exports[`Test Buttons Components IOButton Snapshot · Link variant 1`] = `
82
124
  }
83
125
  >
84
126
  <View
127
+ collapsable={false}
128
+ jestAnimatedProps={
129
+ {
130
+ "value": {},
131
+ }
132
+ }
133
+ jestAnimatedStyle={
134
+ {
135
+ "value": {},
136
+ }
137
+ }
138
+ jestInlineStyle={
139
+ [
140
+ {
141
+ "alignItems": "center",
142
+ "flexDirection": "row",
143
+ "justifyContent": "center",
144
+ },
145
+ {
146
+ "columnGap": 8,
147
+ },
148
+ false,
149
+ ]
150
+ }
151
+ nativeID="4"
85
152
  style={
86
153
  [
87
154
  {
@@ -100,9 +167,33 @@ exports[`Test Buttons Components IOButton Snapshot · Link variant 1`] = `
100
167
  accessibilityElementsHidden={true}
101
168
  accessible={false}
102
169
  allowFontScaling={true}
170
+ collapsable={false}
103
171
  ellipsizeMode="tail"
104
172
  importantForAccessibility="no-hide-descendants"
173
+ jestAnimatedProps={
174
+ {
175
+ "value": {},
176
+ }
177
+ }
178
+ jestAnimatedStyle={
179
+ {
180
+ "value": {
181
+ "color": "rgba(11, 62, 227, 1)",
182
+ },
183
+ }
184
+ }
185
+ jestInlineStyle={
186
+ [
187
+ {
188
+ "textAlign": "auto",
189
+ },
190
+ {
191
+ "color": "#0B3EE3",
192
+ },
193
+ ]
194
+ }
105
195
  maxFontSizeMultiplier={1.5}
196
+ nativeID="5"
106
197
  numberOfLines={1}
107
198
  style={
108
199
  [
@@ -123,7 +214,7 @@ exports[`Test Buttons Components IOButton Snapshot · Link variant 1`] = `
123
214
  "color": "#0B3EE3",
124
215
  },
125
216
  {
126
- "color": undefined,
217
+ "color": "rgba(11, 62, 227, 1)",
127
218
  },
128
219
  ],
129
220
  ]
@@ -177,6 +268,50 @@ exports[`Test Buttons Components IOButton Snapshot · Outline variant 1`] = `
177
268
  }
178
269
  >
179
270
  <View
271
+ collapsable={false}
272
+ jestAnimatedProps={
273
+ {
274
+ "value": {},
275
+ }
276
+ }
277
+ jestAnimatedStyle={
278
+ {
279
+ "value": {
280
+ "backgroundColor": "rgba(9, 50, 182, 0)",
281
+ "borderColor": "rgba(11, 62, 227, 1)",
282
+ "transform": [
283
+ {
284
+ "scale": 1,
285
+ },
286
+ ],
287
+ },
288
+ }
289
+ }
290
+ jestInlineStyle={
291
+ [
292
+ {
293
+ "alignItems": "center",
294
+ "borderCurve": "continuous",
295
+ "elevation": 0,
296
+ "flexDirection": "row",
297
+ "justifyContent": "center",
298
+ "overflow": "hidden",
299
+ "textAlignVertical": "center",
300
+ },
301
+ {
302
+ "paddingHorizontal": 24,
303
+ },
304
+ {
305
+ "backgroundColor": "rgba(9,50,182,0)",
306
+ "borderColor": "#0B3EE3",
307
+ "borderRadius": 8,
308
+ "borderWidth": 2,
309
+ "height": 48,
310
+ },
311
+ {},
312
+ ]
313
+ }
314
+ nativeID="6"
180
315
  style={
181
316
  [
182
317
  {
@@ -191,13 +326,13 @@ exports[`Test Buttons Components IOButton Snapshot · Outline variant 1`] = `
191
326
  {
192
327
  "transform": [
193
328
  {
194
- "scale": undefined,
329
+ "scale": 1,
195
330
  },
196
331
  ],
197
332
  },
198
333
  {
199
- "backgroundColor": undefined,
200
- "borderColor": undefined,
334
+ "backgroundColor": "rgba(9, 50, 182, 0)",
335
+ "borderColor": "rgba(11, 62, 227, 1)",
201
336
  },
202
337
  {
203
338
  "paddingHorizontal": 24,
@@ -214,6 +349,31 @@ exports[`Test Buttons Components IOButton Snapshot · Outline variant 1`] = `
214
349
  }
215
350
  >
216
351
  <View
352
+ collapsable={false}
353
+ jestAnimatedProps={
354
+ {
355
+ "value": {},
356
+ }
357
+ }
358
+ jestAnimatedStyle={
359
+ {
360
+ "value": {},
361
+ }
362
+ }
363
+ jestInlineStyle={
364
+ [
365
+ {
366
+ "alignItems": "center",
367
+ "flexDirection": "row",
368
+ "justifyContent": "center",
369
+ },
370
+ {
371
+ "columnGap": 8,
372
+ },
373
+ false,
374
+ ]
375
+ }
376
+ nativeID="7"
217
377
  style={
218
378
  [
219
379
  {
@@ -232,9 +392,33 @@ exports[`Test Buttons Components IOButton Snapshot · Outline variant 1`] = `
232
392
  accessibilityElementsHidden={true}
233
393
  accessible={false}
234
394
  allowFontScaling={true}
395
+ collapsable={false}
235
396
  ellipsizeMode="tail"
236
397
  importantForAccessibility="no-hide-descendants"
398
+ jestAnimatedProps={
399
+ {
400
+ "value": {},
401
+ }
402
+ }
403
+ jestAnimatedStyle={
404
+ {
405
+ "value": {
406
+ "color": "rgba(11, 62, 227, 1)",
407
+ },
408
+ }
409
+ }
410
+ jestInlineStyle={
411
+ [
412
+ {
413
+ "textAlign": "auto",
414
+ },
415
+ {
416
+ "color": "#0B3EE3",
417
+ },
418
+ ]
419
+ }
237
420
  maxFontSizeMultiplier={1.5}
421
+ nativeID="8"
238
422
  numberOfLines={1}
239
423
  style={
240
424
  [
@@ -255,7 +439,7 @@ exports[`Test Buttons Components IOButton Snapshot · Outline variant 1`] = `
255
439
  "color": "#0B3EE3",
256
440
  },
257
441
  {
258
- "color": undefined,
442
+ "color": "rgba(11, 62, 227, 1)",
259
443
  },
260
444
  ],
261
445
  ]
@@ -309,6 +493,49 @@ exports[`Test Buttons Components IOButton Snapshot · Solid variant 1`] = `
309
493
  }
310
494
  >
311
495
  <View
496
+ collapsable={false}
497
+ jestAnimatedProps={
498
+ {
499
+ "value": {},
500
+ }
501
+ }
502
+ jestAnimatedStyle={
503
+ {
504
+ "value": {
505
+ "backgroundColor": "rgba(11, 62, 227, 1)",
506
+ "transform": [
507
+ {
508
+ "scale": 1,
509
+ },
510
+ ],
511
+ },
512
+ }
513
+ }
514
+ jestInlineStyle={
515
+ [
516
+ {
517
+ "alignItems": "center",
518
+ "borderCurve": "continuous",
519
+ "elevation": 0,
520
+ "flexDirection": "row",
521
+ "justifyContent": "center",
522
+ "overflow": "hidden",
523
+ "textAlignVertical": "center",
524
+ },
525
+ {
526
+ "paddingHorizontal": 24,
527
+ },
528
+ {
529
+ "backgroundColor": "#0B3EE3",
530
+ "borderColor": "#FFFFFF",
531
+ "borderRadius": 8,
532
+ "borderWidth": 0,
533
+ "height": 48,
534
+ },
535
+ {},
536
+ ]
537
+ }
538
+ nativeID="0"
312
539
  style={
313
540
  [
314
541
  {
@@ -323,12 +550,12 @@ exports[`Test Buttons Components IOButton Snapshot · Solid variant 1`] = `
323
550
  {
324
551
  "transform": [
325
552
  {
326
- "scale": undefined,
553
+ "scale": 1,
327
554
  },
328
555
  ],
329
556
  },
330
557
  {
331
- "backgroundColor": undefined,
558
+ "backgroundColor": "rgba(11, 62, 227, 1)",
332
559
  },
333
560
  {
334
561
  "paddingHorizontal": 24,
@@ -345,6 +572,31 @@ exports[`Test Buttons Components IOButton Snapshot · Solid variant 1`] = `
345
572
  }
346
573
  >
347
574
  <View
575
+ collapsable={false}
576
+ jestAnimatedProps={
577
+ {
578
+ "value": {},
579
+ }
580
+ }
581
+ jestAnimatedStyle={
582
+ {
583
+ "value": {},
584
+ }
585
+ }
586
+ jestInlineStyle={
587
+ [
588
+ {
589
+ "alignItems": "center",
590
+ "flexDirection": "row",
591
+ "justifyContent": "center",
592
+ },
593
+ {
594
+ "columnGap": 8,
595
+ },
596
+ false,
597
+ ]
598
+ }
599
+ nativeID="1"
348
600
  style={
349
601
  [
350
602
  {
@@ -363,9 +615,33 @@ exports[`Test Buttons Components IOButton Snapshot · Solid variant 1`] = `
363
615
  accessibilityElementsHidden={true}
364
616
  accessible={false}
365
617
  allowFontScaling={true}
618
+ collapsable={false}
366
619
  ellipsizeMode="tail"
367
620
  importantForAccessibility="no-hide-descendants"
621
+ jestAnimatedProps={
622
+ {
623
+ "value": {},
624
+ }
625
+ }
626
+ jestAnimatedStyle={
627
+ {
628
+ "value": {
629
+ "color": "rgba(255, 255, 255, 1)",
630
+ },
631
+ }
632
+ }
633
+ jestInlineStyle={
634
+ [
635
+ {
636
+ "textAlign": "auto",
637
+ },
638
+ {
639
+ "color": "#FFFFFF",
640
+ },
641
+ ]
642
+ }
368
643
  maxFontSizeMultiplier={1.5}
644
+ nativeID="2"
369
645
  numberOfLines={1}
370
646
  style={
371
647
  [
@@ -386,7 +662,7 @@ exports[`Test Buttons Components IOButton Snapshot · Solid variant 1`] = `
386
662
  "color": "#FFFFFF",
387
663
  },
388
664
  {
389
- "color": undefined,
665
+ "color": "rgba(255, 255, 255, 1)",
390
666
  },
391
667
  ],
392
668
  ]