@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,
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import React, { forwardRef, useMemo } from "react";
|
|
4
4
|
import { Text } from "react-native";
|
|
5
|
+
import Animated from "react-native-reanimated";
|
|
5
6
|
import { IOColors, useIOTheme } from "../../core";
|
|
6
7
|
import { useBoldTextEnabled } from "../../utils/accessibility";
|
|
7
8
|
import { IOMaxFontSizeMultiplier, makeFontStyleObject } from "../../utils/fonts";
|
|
@@ -90,4 +91,5 @@ export const IOText = /*#__PURE__*/forwardRef(({
|
|
|
90
91
|
children: children
|
|
91
92
|
});
|
|
92
93
|
});
|
|
94
|
+
export const AnimatedIOText = Animated.createAnimatedComponent(IOText);
|
|
93
95
|
//# sourceMappingURL=IOText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","forwardRef","useMemo","Text","IOColors","useIOTheme","useBoldTextEnabled","IOMaxFontSizeMultiplier","makeFontStyleObject","jsx","_jsx","calculateTextStyle","color","args","IOText","size","font","lineHeight","weight","fontStyle","textStyle","style","children","allowFontScaling","maxFontSizeMultiplier","props","ref","theme","boldEnabled","computedStyleObj","fontStyleObj","styleObj","accessibleFontSizeProps"],"sourceRoot":"../../../../src","sources":["components/typography/IOText.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAoBC,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAClE,SAIEC,IAAI,QAGC,cAAc;AACrB,SAASC,QAAQ,EAAEC,UAAU,QAAQ,YAAY;AACjD,SAASC,kBAAkB,QAAQ,2BAA2B;AAC9D,SAGEC,uBAAuB,EACvBC,mBAAmB,QACd,mBAAmB;;AAE1B;AACA;AACA;AACA;AACA;;AAaA;AACA;AACA;AACA;;AAgBA;AACA;AACA;AACA;AAHA,SAAAC,GAAA,IAAAC,IAAA;AAaA;AACA;AACA;AACA;AACA;AACA,MAAMC,kBAAkB,GAAGA,CACzBC,KAAe,EACf,GAAGC,IAA4C,MAC3C;EACJ,GAAGL,mBAAmB,CAAC,GAAGK,IAAI,CAAC;EAC/BD,KAAK,EAAER,QAAQ,CAACQ,KAAK;AACvB,CAAC,CAAC;;AAEF;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAME,MAAM,
|
|
1
|
+
{"version":3,"names":["React","forwardRef","useMemo","Text","Animated","IOColors","useIOTheme","useBoldTextEnabled","IOMaxFontSizeMultiplier","makeFontStyleObject","jsx","_jsx","calculateTextStyle","color","args","IOText","size","font","lineHeight","weight","fontStyle","textStyle","style","children","allowFontScaling","maxFontSizeMultiplier","props","ref","theme","boldEnabled","computedStyleObj","fontStyleObj","styleObj","accessibleFontSizeProps","AnimatedIOText","createAnimatedComponent"],"sourceRoot":"../../../../src","sources":["components/typography/IOText.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAoBC,UAAU,EAAEC,OAAO,QAAQ,OAAO;AAClE,SAIEC,IAAI,QAGC,cAAc;AACrB,OAAOC,QAAQ,MAAM,yBAAyB;AAC9C,SAASC,QAAQ,EAAEC,UAAU,QAAQ,YAAY;AACjD,SAASC,kBAAkB,QAAQ,2BAA2B;AAC9D,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ACA;AACA;AACA;EACI,MAAME,QAAQ,GAAGV,KAAK,GAClB,CAACD,SAAS,IAAI,CAAC,CAAC,EAAEU,YAAY,IAAI,CAAC,CAAC,EAAET,KAAK,CAAC,GAC5C,CAACD,SAAS,IAAI,CAAC,CAAC,EAAEU,YAAY,IAAI,CAAC,CAAC,CAAC;;EAEzC;EACA,MAAME,uBAAoD,GAAG;IAC3DT,gBAAgB;IAChBC,qBAAqB,EAAEA,qBAAqB,IAAIjB;EAClD,CAAC;EAED,oBACEG,IAAA,CAACR,IAAI;IAACwB,GAAG,EAAEA,GAAI;IAACL,KAAK,EAAEU,QAAS;IAAA,GAAKN,KAAK;IAAA,GAAMO,uBAAuB;IAAAV,QAAA,EACpEA;EAAQ,CACL,CAAC;AAEX,CACF,CAAC;AAED,OAAO,MAAMW,cAAc,GAAG9B,QAAQ,CAAC+B,uBAAuB,CAACpB,MAAM,CAAC","ignoreList":[]}
|
|
@@ -91,11 +91,11 @@ export const buttonSolidHeight = btnSizeDefault;
|
|
|
91
91
|
|
|
92
92
|
// TODO: Replace the number type with the new IOIconSizeScale
|
|
93
93
|
export const iconBtnSizeSmall = 24;
|
|
94
|
-
export const numberPadBtnSize = 56;
|
|
95
94
|
export const IOButtonStyles = StyleSheet.create({
|
|
96
95
|
/* BaseButton, used in the:
|
|
97
96
|
ButtonSolid, ButtonOutline
|
|
98
97
|
*/
|
|
98
|
+
/* DELETE THIS, ONCE WE REMOVE `ButtonSolid`, `ButtonOutline` COMPONENTS */
|
|
99
99
|
button: {
|
|
100
100
|
flexDirection: "row",
|
|
101
101
|
alignItems: "center",
|
|
@@ -171,21 +171,6 @@ export const IOIconButtonStyles = StyleSheet.create({
|
|
|
171
171
|
borderRadius: btnSizeLarge
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
|
-
export const IONumberPadButtonStyles = StyleSheet.create({
|
|
175
|
-
/* IconButton */
|
|
176
|
-
button: {
|
|
177
|
-
alignItems: "center",
|
|
178
|
-
justifyContent: "center"
|
|
179
|
-
},
|
|
180
|
-
circularShape: {
|
|
181
|
-
// Circular shape
|
|
182
|
-
borderRadius: 100
|
|
183
|
-
},
|
|
184
|
-
buttonSize: {
|
|
185
|
-
width: numberPadBtnSize,
|
|
186
|
-
height: numberPadBtnSize
|
|
187
|
-
}
|
|
188
|
-
});
|
|
189
174
|
|
|
190
175
|
/**
|
|
191
176
|
* LIST ITEM STYLES
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Platform","StyleSheet","IOColors","IOModuleIDPRadius","IOModuleIDPHSpacing","IOModuleIDPVSpacing","IOVisualCostants","appMarginDefault","headerHeight","avatarSizeSmall","avatarSizeMedium","avatarRadiusSizeSmall","avatarRadiusSizeMedium","iconContainedSizeDefault","scrollDownButtonRight","scrollDownButtonBottom","iconMargin","IOStyles","create","flex","selfCenter","alignSelf","alignCenter","alignItems","horizontalContentPadding","paddingHorizontal","row","flexDirection","column","rowSpaceBetween","justifyContent","centerJustified","footer","backgroundColor","white","paddingBottom","paddingTop","shadowColor","black","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","bgWhite","topListBorderBelowTabsStyle","borderTopWidth","OS","undefined","btnSizeLarge","btnBorderRadius","btnSizeDefault","buttonSolidHeight","iconBtnSizeSmall","
|
|
1
|
+
{"version":3,"names":["Platform","StyleSheet","IOColors","IOModuleIDPRadius","IOModuleIDPHSpacing","IOModuleIDPVSpacing","IOVisualCostants","appMarginDefault","headerHeight","avatarSizeSmall","avatarSizeMedium","avatarRadiusSizeSmall","avatarRadiusSizeMedium","iconContainedSizeDefault","scrollDownButtonRight","scrollDownButtonBottom","iconMargin","IOStyles","create","flex","selfCenter","alignSelf","alignCenter","alignItems","horizontalContentPadding","paddingHorizontal","row","flexDirection","column","rowSpaceBetween","justifyContent","centerJustified","footer","backgroundColor","white","paddingBottom","paddingTop","shadowColor","black","shadowOffset","width","height","shadowOpacity","shadowRadius","elevation","bgWhite","topListBorderBelowTabsStyle","borderTopWidth","OS","undefined","btnSizeLarge","btnBorderRadius","btnSizeDefault","buttonSolidHeight","iconBtnSizeSmall","IOButtonStyles","button","textAlignVertical","borderRadius","borderCurve","buttonInner","buttonLink","label","labelSizeDefault","fontSize","labelSizeSmall","buttonSizeDefault","buttonSizeSmall","IOIconButtonStyles","buttonSizeLarge","IOListItemVisualParams","paddingVertical","actionMargin","iconSize","chevronSize","IOListItemStyles","listItem","marginHorizontal","listItemInner","IOModuleStyles","borderWidth","borderColor","IOSelectionTickVisualParams","size","IOSelectionListItemVisualParams","descriptionMargin","IOSelectionListItemStyles"],"sourceRoot":"../../../src","sources":["core/IOStyles.ts"],"mappings":";;AAAA,SAASA,QAAQ,EAAEC,UAAU,QAAQ,cAAc;AAEnD,SAASC,QAAQ,QAAQ,YAAY;AACrC,SAASC,iBAAiB,QAAQ,YAAY;AAC9C,SAEEC,mBAAmB,EACnBC,mBAAmB,QAGd,aAAa;;AAEpB;AACA;AACA;;AAiBA,OAAO,MAAMC,gBAAkC,GAAG;EAChDC,gBAAgB,EAAE,EAAE;EACpBC,YAAY,EAAE,EAAE;EAChBC,eAAe,EAAE,EAAE;EACnBC,gBAAgB,EAAE,EAAE;EACpBC,qBAAqB,EAAE,CAAC;EACxBC,sBAAsB,EAAE,EAAE;EAC1BC,wBAAwB,EAAE,EAAE;EAC5BC,qBAAqB,EAAE,EAAE;EACzBC,sBAAsB,EAAE,EAAE;EAC1BC,UAAU,EAAE;AACd,CAAC;AAED,OAAO,MAAMC,QAAQ,GAAGhB,UAAU,CAACiB,MAAM,CAAC;EACxCC,IAAI,EAAE;IACJA,IAAI,EAAE;EACR,CAAC;EACDC,UAAU,EAAE;IACVC,SAAS,EAAE;EACb,CAAC;EACDC,WAAW,EAAE;IACXC,UAAU,EAAE;EACd,CAAC;EACDC,wBAAwB,EAAE;IACxBC,iBAAiB,EAAEnB,gBAAgB,CAACC;EACtC,CAAC;EACDmB,GAAG,EAAE;IACHC,aAAa,EAAE;EACjB,CAAC;EACDC,MAAM,EAAE;IACND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BAAyB,GAAGrF,UAAU,CAACiB,MAAM,CAAC;EACzD0D,QAAQ,EAAE;IACRL,eAAe,EAAED,sBAAsB,CAACC,eAAe;IACvD9C,iBAAiB,EAAE6C,sBAAsB,CAAC7C,iBAAiB;IAC3DoD,gBAAgB,EAAE,CAACP,sBAAsB,CAAC7C;EAC5C,CAAC;EACDqD,aAAa,EAAE;IACbnD,aAAa,EAAE,KAAK;IACpBJ,UAAU,EAAE,YAAY;IACxBO,cAAc,EAAE;EAClB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -16,6 +16,9 @@ export type ButtonLinkProps = WithTestID<{
|
|
|
16
16
|
textAlign?: TextStyle["textAlign"];
|
|
17
17
|
onPress: (event: GestureResponderEvent) => void;
|
|
18
18
|
}>;
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated Use `Button` with variant `link` instead
|
|
21
|
+
*/
|
|
19
22
|
export declare const ButtonLink: React.ForwardRefExoticComponent<{
|
|
20
23
|
color?: ColorButtonLink;
|
|
21
24
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EAErB,SAAS,EACT,IAAI,EACL,MAAM,cAAc,CAAC;AAgBtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"ButtonLink.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonLink.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAC1C,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EAErB,SAAS,EACT,IAAI,EACL,MAAM,cAAc,CAAC;AAgBtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAIL,OAAO,EACR,MAAM,UAAU,CAAC;AAOlB,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,UAAU,CAAC;AAErD,MAAM,MAAM,eAAe,GAAG,UAAU,CAAC;IACvC,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAE/B,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,iBAAiB,CAAC,EAAE,OAAO,CAAC,iBAAiB,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAC;IAClE,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IAEnC,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AAaH;;GAEG;AACH,eAAO,MAAM,UAAU;YA9Bb,eAAe;WAChB,MAAM;eACF,OAAO;WAEX,OAAO;mBACC,OAAO,GAAG,KAAK;yBAET,MAAM;wBACP,OAAO,CAAC,iBAAiB,EAAE,QAAQ,GAAG,MAAM,CAAC;wBAC7C,MAAM;oBACV,MAAM;gBACV,SAAS,CAAC,WAAW,CAAC;aAEzB,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI;mEAwKhD,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -11,6 +11,9 @@ export type ButtonOutline = WithTestID<{
|
|
|
11
11
|
iconPosition?: "start" | "end";
|
|
12
12
|
onPress: (event: GestureResponderEvent) => void;
|
|
13
13
|
} & Pick<ComponentProps<typeof Pressable>, "disabled" | "accessibilityLabel" | "accessibilityHint">>;
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated Use `Button` with variant `outline` instead
|
|
16
|
+
*/
|
|
14
17
|
export declare const ButtonOutline: React.ForwardRefExoticComponent<{
|
|
15
18
|
color?: ColorButtonOutline;
|
|
16
19
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonOutline.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonOutline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAC1D,OAAO,EACL,qBAAqB,EACrB,SAAS,EAET,IAAI,EACL,MAAM,cAAc,CAAC;AAetB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"ButtonOutline.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonOutline.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,cAAc,EAAc,MAAM,OAAO,CAAC;AAC1D,OAAO,EACL,qBAAqB,EACrB,SAAS,EAET,IAAI,EACL,MAAM,cAAc,CAAC;AAetB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAIL,OAAO,EACR,MAAM,UAAU,CAAC;AAGlB,KAAK,kBAAkB,GAAG,SAAS,GAAG,UAAU,CAAC;AACjD,MAAM,MAAM,aAAa,GAAG,UAAU,CACpC;IACE,KAAK,CAAC,EAAE,kBAAkB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,GAAG,KAAK,CAAC;IAE/B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,GAAG,IAAI,CACN,cAAc,CAAC,OAAO,SAAS,CAAC,EAChC,UAAU,GAAG,oBAAoB,GAAG,mBAAmB,CACxD,CACF,CAAC;AA2BF;;GAEG;AACH,eAAO,MAAM,aAAa;YA1Cd,kBAAkB;WACnB,MAAM;gBACD,OAAO;WAEZ,OAAO;mBACC,OAAO,GAAG,KAAK;aAErB,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI;sMA+NlD,CAAC;AAEF,eAAe,aAAa,CAAC"}
|
|
@@ -24,6 +24,9 @@ export type ButtonSolidProps = WithTestID<{
|
|
|
24
24
|
iconPosition?: "start" | "end";
|
|
25
25
|
onPress: (event: GestureResponderEvent) => void;
|
|
26
26
|
} & Pick<ComponentProps<typeof Pressable>, "disabled" | "accessibilityLabel" | "accessibilityHint">>;
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated Use `Button` with variant `solid` instead
|
|
29
|
+
*/
|
|
27
30
|
export declare const ButtonSolid: React.ForwardRefExoticComponent<{
|
|
28
31
|
/**
|
|
29
32
|
* @default primary
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonSolid.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/ButtonSolid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,cAAc,EAKf,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,qBAAqB,EACrB,SAAS,EACT,IAAI,EACL,MAAM,cAAc,CAAC;AAgBtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAmB,OAAO,EAAQ,MAAM,UAAU,CAAC;AAI1D,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAoBjE,MAAM,MAAM,gBAAgB,GAAG,UAAU,CACvC;IACE;;OAEG;IACH,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;OAEG;IACH,YAAY,CAAC,EA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OAEG;cACO,OAAO;WACV,OAAO;IACd;;OAEG;mBACY,OAAO,GAAG,KAAK;aACrB,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI;sMAiNlD,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import React, { ComponentProps } from "react";
|
|
2
|
+
import { AccessibilityRole, GestureResponderEvent, Pressable, TextProps, TextStyle, View } from "react-native";
|
|
3
|
+
import { WithTestID } from "../../../utils/types";
|
|
4
|
+
import { IOIcons } from "../../icons";
|
|
5
|
+
export type IOButtonColor = "primary" | "danger" | "contrast";
|
|
6
|
+
export type IOButtonVariant = "solid" | "outline" | "link";
|
|
7
|
+
export type IOButtonBlockSpecificProps = Omit<ComponentProps<typeof IOButton>, "numberOfLines" | "textAlign">;
|
|
8
|
+
export type IOButtonLinkSpecificProps = Omit<ComponentProps<typeof IOButton>, "fullWidth" | "loading">;
|
|
9
|
+
type IOButtonSpecificProps = {
|
|
10
|
+
variant?: "link";
|
|
11
|
+
numberOfLines?: TextProps["numberOfLines"];
|
|
12
|
+
textAlign?: TextStyle["textAlign"];
|
|
13
|
+
fullWidth?: never;
|
|
14
|
+
loading?: never;
|
|
15
|
+
} | {
|
|
16
|
+
variant?: "solid" | "outline";
|
|
17
|
+
fullWidth?: boolean;
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
numberOfLines?: never;
|
|
20
|
+
textAlign?: never;
|
|
21
|
+
};
|
|
22
|
+
export type IOButtonProps = WithTestID<IOButtonSpecificProps & {
|
|
23
|
+
/**
|
|
24
|
+
* @default primary
|
|
25
|
+
*/
|
|
26
|
+
color?: IOButtonColor;
|
|
27
|
+
label: string;
|
|
28
|
+
icon?: IOIcons;
|
|
29
|
+
/**
|
|
30
|
+
* @default false
|
|
31
|
+
*/
|
|
32
|
+
fullWidth?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* @default false
|
|
35
|
+
*/
|
|
36
|
+
loading?: boolean;
|
|
37
|
+
/**
|
|
38
|
+
* @default start
|
|
39
|
+
*/
|
|
40
|
+
iconPosition?: "start" | "end";
|
|
41
|
+
/**
|
|
42
|
+
* @default 1
|
|
43
|
+
*/
|
|
44
|
+
numberOfLines?: number;
|
|
45
|
+
/**
|
|
46
|
+
* @default auto
|
|
47
|
+
*/
|
|
48
|
+
textAlign?: TextStyle["textAlign"];
|
|
49
|
+
onPress: (event: GestureResponderEvent) => void;
|
|
50
|
+
/**
|
|
51
|
+
* @default button
|
|
52
|
+
*/
|
|
53
|
+
accessibilityRole?: Extract<AccessibilityRole, "button" | "link">;
|
|
54
|
+
} & Pick<ComponentProps<typeof Pressable>, "disabled" | "accessibilityLabel" | "accessibilityHint">>;
|
|
55
|
+
export declare const IOButton: React.ForwardRefExoticComponent<IOButtonProps & React.RefAttributes<View>>;
|
|
56
|
+
export default IOButton;
|
|
57
|
+
//# sourceMappingURL=IOButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IOButton.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/IOButton/IOButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,cAAc,EAKf,MAAM,OAAO,CAAC;AACf,OAAO,EACL,iBAAiB,EAEjB,qBAAqB,EACrB,SAAS,EAGT,SAAS,EACT,SAAS,EACT,IAAI,EAEL,MAAM,cAAc,CAAC;AAUtB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAIL,OAAO,EACR,MAAM,aAAa,CAAC;AASrB,MAAM,MAAM,aAAa,GAAG,SAAS,GAAG,QAAQ,GAAG,UAAU,CAAC;AAC9D,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;AAE3D,MAAM,MAAM,0BAA0B,GAAG,IAAI,CAC3C,cAAc,CAAC,OAAO,QAAQ,CAAC,EAC/B,eAAe,GAAG,WAAW,CAC9B,CAAC;AAEF,MAAM,MAAM,yBA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AAG,mBAAmB,CACxD,CACJ,CAAC;AAEF,eAAO,MAAM,QAAQ,4EAwOpB,CAAC;AAmBF,eAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IOButton.test.d.ts","sourceRoot":"","sources":["../../../../../../src/components/buttons/IOButton/__test__/IOButton.test.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/IOButton/index.tsx"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { SharedValue } from "react-native-reanimated";
|
|
2
|
+
import { IOButtonColor, IOButtonVariant } from "./IOButton";
|
|
3
|
+
type ColorStates = {
|
|
4
|
+
background: {
|
|
5
|
+
default: string;
|
|
6
|
+
pressed: string;
|
|
7
|
+
disabled: string;
|
|
8
|
+
};
|
|
9
|
+
foreground: {
|
|
10
|
+
default: string;
|
|
11
|
+
pressed: string;
|
|
12
|
+
disabled: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
export declare const useButtonColorMap: (variant: IOButtonVariant) => Record<NonNullable<IOButtonColor | undefined>, ColorStates>;
|
|
16
|
+
export declare const useButtonAnimatedStyles: (variant: IOButtonVariant, color: IOButtonColor, progress: SharedValue<number>) => {
|
|
17
|
+
buttonAnimatedStyle: {
|
|
18
|
+
backgroundColor?: undefined;
|
|
19
|
+
borderColor?: undefined;
|
|
20
|
+
} | {
|
|
21
|
+
backgroundColor: string;
|
|
22
|
+
borderColor: string;
|
|
23
|
+
} | {
|
|
24
|
+
backgroundColor: string;
|
|
25
|
+
borderColor?: undefined;
|
|
26
|
+
};
|
|
27
|
+
labelAnimatedStyle: {
|
|
28
|
+
color: string;
|
|
29
|
+
};
|
|
30
|
+
iconColorAnimatedStyle: Partial<{
|
|
31
|
+
color: string;
|
|
32
|
+
}>;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
35
|
+
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/IOButton/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,WAAW,EAGZ,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,aAAa,EAAiB,eAAe,EAAE,MAAM,YAAY,CAAC;AAE3E,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE;QACV,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,UAAU,EAAE;QACV,OAAO,EAAE,MAAM,CAAC;QAChB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAAI,SAAS,eAAe,gEA2IzD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAClC,SAAS,eAAe,EACxB,OAAO,aAAa,EACpB,UAAU,WAAW,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;CA6D9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAehE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,
|
|
1
|
+
{"version":3,"file":"IconButton.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAehE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAGL,eAAe,EACf,OAAO,EACR,MAAM,UAAU,CAAC;AAElB,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC;IAClC,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAChD,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC,CAAC;AAUH,eAAO,MAAM,UAAU,GAAI,kHAUxB,UAAU,sBAkGZ,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IconButtonContained.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButtonContained.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAOhE,OAAO,
|
|
1
|
+
{"version":3,"file":"IconButtonContained.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/IconButtonContained.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,qBAAqB,EAAa,MAAM,cAAc,CAAC;AAOhE,OAAO,EAGL,OAAO,EACR,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAE/C,MAAM,MAAM,mBAAmB,GAAG,UAAU,CAAC;IAC3C,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,UAAU,CAAC;IAC3C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC,CAAC;AA4DH,eAAO,MAAM,mBAAmB,GAAI,mFAQjC,mBAAmB,sBA8DrB,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/index.tsx"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/buttons/index.tsx"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC"}
|
|
@@ -226,10 +226,7 @@ type IOAnimatedIconsProps = {
|
|
|
226
226
|
allowFontScaling?: boolean;
|
|
227
227
|
};
|
|
228
228
|
export declare const AnimatedIcon: ({ name, color, size, accessible, allowFontScaling, ...props }: IOAnimatedIconsProps) => React.JSX.Element;
|
|
229
|
-
export declare
|
|
230
|
-
constructor(props: IOAnimatedIconsProps);
|
|
231
|
-
render(): React.JSX.Element;
|
|
232
|
-
}
|
|
229
|
+
export declare const AnimatedIconWithColorTransition: React.ComponentClass<import("react-native-reanimated").AnimateProps<IOAnimatedIconsProps>, any>;
|
|
233
230
|
export declare const IOIconsNew: {
|
|
234
231
|
sparkles: ({ size, style, ...props }: import("./types").SVGIconProps) => React.JSX.Element;
|
|
235
232
|
profileRegistered: ({ size, style, ...props }: import("./types").SVGIconProps) => React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AA8M/C,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2MV,CAAC;AAEX,MAAM,MAAM,OAAO,GAAG,MAAM,OAAO,OAAO,CAAC;AAE3C,MAAM,MAAM,eAAe,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC;AAErD,MAAM,MAAM,uBAAuB,GAAG,EAAE,GAAG,EAAE,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,eAAe,GAAG,uBAAuB,GAAG,MAAM,CAAC;IAC1D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAMF,eAAO,MAAM,IAAI,GAAI,mFAQlB,YAAY,sBAqBd,CAAC;AAOF,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,OAAO,CAAC;IACd,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,IAAI,CAAC,EAAE,eAAe,GAAG,MAAM,CAAC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,+DAO1B,oBAAoB,sBAoBtB,CAAC;AAkBF,eAAO,MAAM,+BAA+B,iGAE3C,CAAC;AASF,eAAO,MAAM,UAAU;;;CAGtB,CAAC;AAiBF,eAAO,MAAM,UAAU;;;;;;;;;;;;CAYb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,UAAU,CAAC;AAKjD,eAAO,MAAM,gBAAgB;;;CAGnB,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAkB7D,eAAO,MAAM,eAAe;;;;;;;;;;;;;CAalB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,MAAM,OAAO,eAAe,CAAC;AAK3D,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX,MAAM,MAAM,cAAc,GAAG,MAAM,OAAO,cAAc,CAAC;AAmBzD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;CAchB,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,MAAM,OAAO,aAAa,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { StyleProp } from "react-native";
|
|
1
|
+
import { ColorValue, StyleProp } from "react-native";
|
|
2
2
|
export type SVGIconProps = {
|
|
3
3
|
size: number | "100%";
|
|
4
|
-
style
|
|
4
|
+
style?: StyleProp<any>;
|
|
5
|
+
color: ColorValue;
|
|
5
6
|
accessible: boolean;
|
|
6
7
|
accessibilityElementsHidden: boolean;
|
|
7
8
|
accessibilityLabel: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/icons/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAErD,MAAM,MAAM,YAAY,GAAG;IACzB,IAAI,EAAE,MAAM,GAAG,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC;IACvB,KAAK,EAAE,UAAU,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,2BAA2B,EAAE,OAAO,CAAC;IACrC,kBAAkB,EAAE,MAAM,CAAC;IAC3B,yBAAyB,EACrB,MAAM,GACN,KAAK,GACL,IAAI,GACJ,qBAAqB,GACrB,SAAS,CAAC;CACf,CAAC"}
|