@pagopa/io-app-design-system 5.3.9 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/lib/commonjs/components/buttons/ButtonLink.js +5 -2
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +20 -15
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +4 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/IOButton.js +230 -0
- package/lib/commonjs/components/buttons/IOButton/IOButton.js.map +1 -0
- package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js +43 -0
- package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js.map +1 -0
- package/lib/commonjs/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
- package/lib/commonjs/components/buttons/IOButton/index.js +17 -0
- package/lib/commonjs/components/buttons/IOButton/index.js.map +1 -0
- package/lib/commonjs/components/buttons/IOButton/styles.js +166 -0
- package/lib/commonjs/components/buttons/IOButton/styles.js.map +1 -0
- package/lib/commonjs/components/buttons/IconButton.js +1 -2
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonContained.js +1 -2
- package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -395
- package/lib/commonjs/components/buttons/__test__/button.test.js +0 -24
- package/lib/commonjs/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/commonjs/components/buttons/index.js +11 -0
- package/lib/commonjs/components/buttons/index.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +3 -12
- package/lib/commonjs/components/icons/Icon.js +11 -9
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/layout/FooterActions.js +10 -9
- package/lib/commonjs/components/layout/FooterActions.js.map +1 -1
- package/lib/commonjs/components/layout/FooterActionsInline.js +8 -8
- package/lib/commonjs/components/layout/FooterActionsInline.js.map +1 -1
- package/lib/commonjs/components/layout/GradientBottomActions.js +8 -8
- package/lib/commonjs/components/layout/GradientBottomActions.js.map +1 -1
- package/lib/commonjs/components/layout/GradientScrollView.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js +6 -6
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberButton.js +15 -2
- package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberPad.js +9 -6
- package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
- package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +36 -86
- package/lib/commonjs/components/typography/IOText.js +4 -1
- package/lib/commonjs/components/typography/IOText.js.map +1 -1
- package/lib/commonjs/core/IOStyles.js +2 -17
- package/lib/commonjs/core/IOStyles.js.map +1 -1
- package/lib/module/components/buttons/ButtonLink.js +6 -3
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +21 -16
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +4 -1
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/IOButton/IOButton.js +223 -0
- package/lib/module/components/buttons/IOButton/IOButton.js.map +1 -0
- package/lib/module/components/buttons/IOButton/__test__/IOButton.test.js +40 -0
- package/lib/module/components/buttons/IOButton/__test__/IOButton.test.js.map +1 -0
- package/lib/module/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
- package/lib/module/components/buttons/IOButton/index.js +4 -0
- package/lib/module/components/buttons/IOButton/index.js.map +1 -0
- package/lib/module/components/buttons/IOButton/styles.js +160 -0
- package/lib/module/components/buttons/IOButton/styles.js.map +1 -0
- package/lib/module/components/buttons/IconButton.js +2 -3
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/IconButtonContained.js +2 -3
- package/lib/module/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -395
- package/lib/module/components/buttons/__test__/button.test.js +0 -24
- package/lib/module/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/module/components/buttons/index.js +1 -0
- package/lib/module/components/buttons/index.js.map +1 -1
- package/lib/module/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +3 -12
- package/lib/module/components/icons/Icon.js +10 -7
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/layout/FooterActions.js +11 -10
- package/lib/module/components/layout/FooterActions.js.map +1 -1
- package/lib/module/components/layout/FooterActionsInline.js +9 -9
- package/lib/module/components/layout/FooterActionsInline.js.map +1 -1
- package/lib/module/components/layout/GradientBottomActions.js +9 -9
- package/lib/module/components/layout/GradientBottomActions.js.map +1 -1
- package/lib/module/components/layout/GradientScrollView.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +2 -2
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
- package/lib/module/components/loadingSpinner/LoadingSpinner.js +6 -6
- package/lib/module/components/loadingSpinner/LoadingSpinner.js.map +1 -1
- package/lib/module/components/numberpad/NumberButton.js +16 -3
- package/lib/module/components/numberpad/NumberButton.js.map +1 -1
- package/lib/module/components/numberpad/NumberPad.js +10 -7
- package/lib/module/components/numberpad/NumberPad.js.map +1 -1
- package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +36 -86
- package/lib/module/components/typography/IOText.js +2 -0
- package/lib/module/components/typography/IOText.js.map +1 -1
- package/lib/module/core/IOStyles.js +1 -16
- package/lib/module/core/IOStyles.js.map +1 -1
- package/lib/typescript/components/buttons/ButtonLink.d.ts +3 -0
- package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts +3 -0
- package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts +3 -0
- package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IOButton/IOButton.d.ts +57 -0
- package/lib/typescript/components/buttons/IOButton/IOButton.d.ts.map +1 -0
- package/lib/typescript/components/buttons/IOButton/__test__/IOButton.test.d.ts +2 -0
- package/lib/typescript/components/buttons/IOButton/__test__/IOButton.test.d.ts.map +1 -0
- package/lib/typescript/components/buttons/IOButton/index.d.ts +2 -0
- package/lib/typescript/components/buttons/IOButton/index.d.ts.map +1 -0
- package/lib/typescript/components/buttons/IOButton/styles.d.ts +35 -0
- package/lib/typescript/components/buttons/IOButton/styles.d.ts.map +1 -0
- package/lib/typescript/components/buttons/IconButton.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButtonContained.d.ts.map +1 -1
- package/lib/typescript/components/buttons/index.d.ts +1 -0
- package/lib/typescript/components/buttons/index.d.ts.map +1 -1
- package/lib/typescript/components/icons/Icon.d.ts +1 -4
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/icons/types.d.ts +3 -2
- package/lib/typescript/components/icons/types.d.ts.map +1 -1
- package/lib/typescript/components/layout/FooterActions.d.ts +10 -8
- package/lib/typescript/components/layout/FooterActions.d.ts.map +1 -1
- package/lib/typescript/components/layout/FooterActionsInline.d.ts +5 -4
- package/lib/typescript/components/layout/FooterActionsInline.d.ts.map +1 -1
- package/lib/typescript/components/layout/GradientBottomActions.d.ts +12 -6
- package/lib/typescript/components/layout/GradientBottomActions.d.ts.map +1 -1
- package/lib/typescript/components/layout/GradientScrollView.d.ts.map +1 -1
- package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts +2 -2
- package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts.map +1 -1
- package/lib/typescript/components/numberpad/NumberButton.d.ts +11 -0
- package/lib/typescript/components/numberpad/NumberButton.d.ts.map +1 -1
- package/lib/typescript/components/numberpad/NumberPad.d.ts.map +1 -1
- package/lib/typescript/components/typography/IOText.d.ts +1 -0
- package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
- package/lib/typescript/core/IOStyles.d.ts +0 -14
- package/lib/typescript/core/IOStyles.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/buttons/ButtonLink.tsx +6 -6
- package/src/components/buttons/ButtonOutline.tsx +21 -21
- package/src/components/buttons/ButtonSolid.tsx +4 -1
- package/src/components/buttons/IOButton/IOButton.tsx +363 -0
- package/src/components/buttons/IOButton/__test__/IOButton.test.tsx +46 -0
- package/src/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
- package/src/components/buttons/IOButton/index.tsx +1 -0
- package/src/components/buttons/IOButton/styles.tsx +228 -0
- package/src/components/buttons/IconButton.tsx +3 -6
- package/src/components/buttons/IconButtonContained.tsx +3 -6
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -395
- package/src/components/buttons/__test__/button.test.tsx +1 -33
- package/src/components/buttons/index.tsx +1 -0
- package/src/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +3 -12
- package/src/components/icons/Icon.tsx +12 -3
- package/src/components/icons/types.ts +3 -2
- package/src/components/layout/FooterActions.tsx +26 -14
- package/src/components/layout/FooterActionsInline.tsx +19 -12
- package/src/components/layout/GradientBottomActions.tsx +17 -18
- package/src/components/layout/GradientScrollView.tsx +2 -1
- package/src/components/listitems/ListItemNav.tsx +1 -1
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
- package/src/components/loadingSpinner/LoadingSpinner.tsx +8 -8
- package/src/components/numberpad/NumberButton.tsx +18 -11
- package/src/components/numberpad/NumberPad.tsx +8 -10
- package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +36 -86
- package/src/components/typography/IOText.tsx +3 -0
- package/src/core/IOStyles.ts +1 -18
|
@@ -19,17 +19,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
19
19
|
>
|
|
20
20
|
<View
|
|
21
21
|
style={
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
|
|
290
|
-
|
|
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
|
-
|
|
555
|
-
|
|
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
|
-
|
|
820
|
-
|
|
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
|
]
|
|
@@ -907,6 +867,7 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
907
867
|
align="xMidYMid"
|
|
908
868
|
bbHeight={24}
|
|
909
869
|
bbWidth={24}
|
|
870
|
+
color="#FFFFFF"
|
|
910
871
|
focusable={false}
|
|
911
872
|
height={24}
|
|
912
873
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -919,9 +880,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
919
880
|
"backgroundColor": "transparent",
|
|
920
881
|
"borderWidth": 0,
|
|
921
882
|
},
|
|
922
|
-
{
|
|
923
|
-
"color": "#FFFFFF",
|
|
924
|
-
},
|
|
925
883
|
{
|
|
926
884
|
"flex": 0,
|
|
927
885
|
"height": 24,
|
|
@@ -934,7 +892,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
934
892
|
width={24}
|
|
935
893
|
>
|
|
936
894
|
<RNSVGGroup
|
|
937
|
-
color="#FFFFFF"
|
|
938
895
|
fill={
|
|
939
896
|
{
|
|
940
897
|
"payload": 4278190080,
|
|
@@ -1000,11 +957,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1000
957
|
[
|
|
1001
958
|
{
|
|
1002
959
|
"alignItems": "center",
|
|
960
|
+
"borderRadius": 28,
|
|
1003
961
|
"justifyContent": "center",
|
|
1004
962
|
},
|
|
1005
|
-
{
|
|
1006
|
-
"borderRadius": 100,
|
|
1007
|
-
},
|
|
1008
963
|
{
|
|
1009
964
|
"height": 56,
|
|
1010
965
|
"width": 56,
|
|
@@ -1055,8 +1010,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1055
1010
|
},
|
|
1056
1011
|
{
|
|
1057
1012
|
"alignItems": "center",
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
1013
|
"justifyContent": "center",
|
|
1061
1014
|
},
|
|
1062
1015
|
]
|
|
@@ -1126,6 +1079,7 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1126
1079
|
align="xMidYMid"
|
|
1127
1080
|
bbHeight={24}
|
|
1128
1081
|
bbWidth={24}
|
|
1082
|
+
color="#FFFFFF"
|
|
1129
1083
|
focusable={false}
|
|
1130
1084
|
height={24}
|
|
1131
1085
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -1138,9 +1092,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1138
1092
|
"backgroundColor": "transparent",
|
|
1139
1093
|
"borderWidth": 0,
|
|
1140
1094
|
},
|
|
1141
|
-
{
|
|
1142
|
-
"color": "#FFFFFF",
|
|
1143
|
-
},
|
|
1144
1095
|
{
|
|
1145
1096
|
"flex": 0,
|
|
1146
1097
|
"height": 24,
|
|
@@ -1153,7 +1104,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1153
1104
|
width={24}
|
|
1154
1105
|
>
|
|
1155
1106
|
<RNSVGGroup
|
|
1156
|
-
color="#FFFFFF"
|
|
1157
1107
|
fill={
|
|
1158
1108
|
{
|
|
1159
1109
|
"payload": 4278190080,
|
|
@@ -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);
|
package/src/core/IOStyles.ts
CHANGED
|
@@ -113,12 +113,11 @@ export const buttonSolidHeight: number = btnSizeDefault;
|
|
|
113
113
|
// TODO: Replace the number type with the new IOIconSizeScale
|
|
114
114
|
export const iconBtnSizeSmall: number = 24;
|
|
115
115
|
|
|
116
|
-
export const numberPadBtnSize: number = 56;
|
|
117
|
-
|
|
118
116
|
export const IOButtonStyles = StyleSheet.create({
|
|
119
117
|
/* BaseButton, used in the:
|
|
120
118
|
ButtonSolid, ButtonOutline
|
|
121
119
|
*/
|
|
120
|
+
/* DELETE THIS, ONCE WE REMOVE `ButtonSolid`, `ButtonOutline` COMPONENTS */
|
|
122
121
|
button: {
|
|
123
122
|
flexDirection: "row",
|
|
124
123
|
alignItems: "center",
|
|
@@ -194,22 +193,6 @@ export const IOIconButtonStyles = StyleSheet.create({
|
|
|
194
193
|
}
|
|
195
194
|
});
|
|
196
195
|
|
|
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
196
|
/**
|
|
214
197
|
* LIST ITEM STYLES
|
|
215
198
|
*/
|