@pagopa/io-app-design-system 5.12.1 → 6.0.0-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/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +68 -2
- package/lib/commonjs/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +285 -9
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +700 -33
- package/lib/commonjs/components/claimsSelector/ClaimsSelector.js +41 -23
- package/lib/commonjs/components/claimsSelector/ClaimsSelector.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +554 -188
- package/lib/commonjs/components/headers/HeaderFirstLevel.js +1 -1
- package/lib/commonjs/components/headers/HeaderFirstLevel.js.map +1 -1
- package/lib/commonjs/components/headers/HeaderSecondLevel.js +3 -2
- package/lib/commonjs/components/headers/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +925 -41
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js +14 -18
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js.map +1 -1
- package/lib/commonjs/components/modules/__test__/__snapshots__/ModuleNavigationAlt.test.tsx.snap +304 -8
- package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +430 -32
- package/lib/commonjs/components/templates/Dismissable.js +6 -1
- package/lib/commonjs/components/templates/Dismissable.js.map +1 -1
- package/lib/commonjs/components/templates/ForceScrollDownView.js +5 -4
- package/lib/commonjs/components/templates/ForceScrollDownView.js.map +1 -1
- package/lib/commonjs/hooks/useAccordionAnimation.js +9 -1
- package/lib/commonjs/hooks/useAccordionAnimation.js.map +1 -1
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +68 -2
- package/lib/module/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +285 -9
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +700 -33
- package/lib/module/components/claimsSelector/ClaimsSelector.js +42 -24
- package/lib/module/components/claimsSelector/ClaimsSelector.js.map +1 -1
- package/lib/module/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +554 -188
- package/lib/module/components/headers/HeaderFirstLevel.js +2 -2
- package/lib/module/components/headers/HeaderFirstLevel.js.map +1 -1
- package/lib/module/components/headers/HeaderSecondLevel.js +4 -3
- package/lib/module/components/headers/HeaderSecondLevel.js.map +1 -1
- package/lib/module/components/layout/FooterActions.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +925 -41
- package/lib/module/components/loadingSpinner/LoadingSpinner.js +15 -19
- package/lib/module/components/loadingSpinner/LoadingSpinner.js.map +1 -1
- package/lib/module/components/modules/__test__/__snapshots__/ModuleNavigationAlt.test.tsx.snap +304 -8
- package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +430 -32
- package/lib/module/components/templates/Dismissable.js +7 -2
- package/lib/module/components/templates/Dismissable.js.map +1 -1
- package/lib/module/components/templates/ForceScrollDownView.js +6 -5
- package/lib/module/components/templates/ForceScrollDownView.js.map +1 -1
- package/lib/module/hooks/useAccordionAnimation.js +10 -2
- package/lib/module/hooks/useAccordionAnimation.js.map +1 -1
- package/lib/typescript/components/claimsSelector/ClaimsSelector.d.ts +7 -1
- package/lib/typescript/components/claimsSelector/ClaimsSelector.d.ts.map +1 -1
- package/lib/typescript/components/headers/HeaderSecondLevel.d.ts.map +1 -1
- package/lib/typescript/components/icons/Icon.d.ts +5 -1
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/layout/FooterActions.d.ts +3 -3
- package/lib/typescript/components/layout/FooterActions.d.ts.map +1 -1
- package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts.map +1 -1
- package/lib/typescript/components/templates/Dismissable.d.ts.map +1 -1
- package/lib/typescript/components/templates/ForceScrollDownView.d.ts +1 -1
- package/lib/typescript/components/templates/ForceScrollDownView.d.ts.map +1 -1
- package/lib/typescript/components/typography/IOText.d.ts +1 -1
- package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
- package/lib/typescript/hooks/useAccordionAnimation.d.ts +4 -0
- package/lib/typescript/hooks/useAccordionAnimation.d.ts.map +1 -1
- package/package.json +7 -5
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +68 -2
- package/src/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +285 -9
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +700 -33
- package/src/components/claimsSelector/ClaimsSelector.tsx +56 -37
- package/src/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +554 -188
- package/src/components/headers/HeaderFirstLevel.tsx +2 -2
- package/src/components/headers/HeaderSecondLevel.tsx +4 -4
- package/src/components/layout/FooterActions.tsx +3 -3
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +925 -41
- package/src/components/loadingSpinner/LoadingSpinner.tsx +20 -24
- package/src/components/modules/__test__/__snapshots__/ModuleNavigationAlt.test.tsx.snap +304 -8
- package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +430 -32
- package/src/components/templates/Dismissable.tsx +5 -2
- package/src/components/templates/ForceScrollDownView.tsx +7 -8
- package/src/hooks/useAccordionAnimation.tsx +13 -1
|
@@ -60,6 +60,38 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
60
60
|
onStartShouldSetResponder={[Function]}
|
|
61
61
|
>
|
|
62
62
|
<View
|
|
63
|
+
collapsable={false}
|
|
64
|
+
jestAnimatedProps={
|
|
65
|
+
{
|
|
66
|
+
"value": {},
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
jestAnimatedStyle={
|
|
70
|
+
{
|
|
71
|
+
"value": {
|
|
72
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
73
|
+
"transform": [
|
|
74
|
+
{
|
|
75
|
+
"scale": 1,
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
},
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
jestInlineStyle={
|
|
82
|
+
[
|
|
83
|
+
{
|
|
84
|
+
"alignItems": "center",
|
|
85
|
+
"borderRadius": 28,
|
|
86
|
+
"justifyContent": "center",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"height": 56,
|
|
90
|
+
"width": 56,
|
|
91
|
+
},
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
nativeID="0"
|
|
63
95
|
style={
|
|
64
96
|
[
|
|
65
97
|
{
|
|
@@ -72,12 +104,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
72
104
|
"width": 56,
|
|
73
105
|
},
|
|
74
106
|
{
|
|
75
|
-
"backgroundColor":
|
|
107
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
76
108
|
},
|
|
77
109
|
{
|
|
78
110
|
"transform": [
|
|
79
111
|
{
|
|
80
|
-
"scale":
|
|
112
|
+
"scale": 1,
|
|
81
113
|
},
|
|
82
114
|
],
|
|
83
115
|
},
|
|
@@ -141,6 +173,38 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
141
173
|
onStartShouldSetResponder={[Function]}
|
|
142
174
|
>
|
|
143
175
|
<View
|
|
176
|
+
collapsable={false}
|
|
177
|
+
jestAnimatedProps={
|
|
178
|
+
{
|
|
179
|
+
"value": {},
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
jestAnimatedStyle={
|
|
183
|
+
{
|
|
184
|
+
"value": {
|
|
185
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
186
|
+
"transform": [
|
|
187
|
+
{
|
|
188
|
+
"scale": 1,
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
},
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
jestInlineStyle={
|
|
195
|
+
[
|
|
196
|
+
{
|
|
197
|
+
"alignItems": "center",
|
|
198
|
+
"borderRadius": 28,
|
|
199
|
+
"justifyContent": "center",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"height": 56,
|
|
203
|
+
"width": 56,
|
|
204
|
+
},
|
|
205
|
+
]
|
|
206
|
+
}
|
|
207
|
+
nativeID="1"
|
|
144
208
|
style={
|
|
145
209
|
[
|
|
146
210
|
{
|
|
@@ -153,12 +217,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
153
217
|
"width": 56,
|
|
154
218
|
},
|
|
155
219
|
{
|
|
156
|
-
"backgroundColor":
|
|
220
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
157
221
|
},
|
|
158
222
|
{
|
|
159
223
|
"transform": [
|
|
160
224
|
{
|
|
161
|
-
"scale":
|
|
225
|
+
"scale": 1,
|
|
162
226
|
},
|
|
163
227
|
],
|
|
164
228
|
},
|
|
@@ -222,6 +286,38 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
222
286
|
onStartShouldSetResponder={[Function]}
|
|
223
287
|
>
|
|
224
288
|
<View
|
|
289
|
+
collapsable={false}
|
|
290
|
+
jestAnimatedProps={
|
|
291
|
+
{
|
|
292
|
+
"value": {},
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
jestAnimatedStyle={
|
|
296
|
+
{
|
|
297
|
+
"value": {
|
|
298
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
299
|
+
"transform": [
|
|
300
|
+
{
|
|
301
|
+
"scale": 1,
|
|
302
|
+
},
|
|
303
|
+
],
|
|
304
|
+
},
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
jestInlineStyle={
|
|
308
|
+
[
|
|
309
|
+
{
|
|
310
|
+
"alignItems": "center",
|
|
311
|
+
"borderRadius": 28,
|
|
312
|
+
"justifyContent": "center",
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"height": 56,
|
|
316
|
+
"width": 56,
|
|
317
|
+
},
|
|
318
|
+
]
|
|
319
|
+
}
|
|
320
|
+
nativeID="2"
|
|
225
321
|
style={
|
|
226
322
|
[
|
|
227
323
|
{
|
|
@@ -234,12 +330,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
234
330
|
"width": 56,
|
|
235
331
|
},
|
|
236
332
|
{
|
|
237
|
-
"backgroundColor":
|
|
333
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
238
334
|
},
|
|
239
335
|
{
|
|
240
336
|
"transform": [
|
|
241
337
|
{
|
|
242
|
-
"scale":
|
|
338
|
+
"scale": 1,
|
|
243
339
|
},
|
|
244
340
|
],
|
|
245
341
|
},
|
|
@@ -314,6 +410,38 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
314
410
|
onStartShouldSetResponder={[Function]}
|
|
315
411
|
>
|
|
316
412
|
<View
|
|
413
|
+
collapsable={false}
|
|
414
|
+
jestAnimatedProps={
|
|
415
|
+
{
|
|
416
|
+
"value": {},
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
jestAnimatedStyle={
|
|
420
|
+
{
|
|
421
|
+
"value": {
|
|
422
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
423
|
+
"transform": [
|
|
424
|
+
{
|
|
425
|
+
"scale": 1,
|
|
426
|
+
},
|
|
427
|
+
],
|
|
428
|
+
},
|
|
429
|
+
}
|
|
430
|
+
}
|
|
431
|
+
jestInlineStyle={
|
|
432
|
+
[
|
|
433
|
+
{
|
|
434
|
+
"alignItems": "center",
|
|
435
|
+
"borderRadius": 28,
|
|
436
|
+
"justifyContent": "center",
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"height": 56,
|
|
440
|
+
"width": 56,
|
|
441
|
+
},
|
|
442
|
+
]
|
|
443
|
+
}
|
|
444
|
+
nativeID="3"
|
|
317
445
|
style={
|
|
318
446
|
[
|
|
319
447
|
{
|
|
@@ -326,12 +454,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
326
454
|
"width": 56,
|
|
327
455
|
},
|
|
328
456
|
{
|
|
329
|
-
"backgroundColor":
|
|
457
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
330
458
|
},
|
|
331
459
|
{
|
|
332
460
|
"transform": [
|
|
333
461
|
{
|
|
334
|
-
"scale":
|
|
462
|
+
"scale": 1,
|
|
335
463
|
},
|
|
336
464
|
],
|
|
337
465
|
},
|
|
@@ -395,6 +523,38 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
395
523
|
onStartShouldSetResponder={[Function]}
|
|
396
524
|
>
|
|
397
525
|
<View
|
|
526
|
+
collapsable={false}
|
|
527
|
+
jestAnimatedProps={
|
|
528
|
+
{
|
|
529
|
+
"value": {},
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
jestAnimatedStyle={
|
|
533
|
+
{
|
|
534
|
+
"value": {
|
|
535
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
536
|
+
"transform": [
|
|
537
|
+
{
|
|
538
|
+
"scale": 1,
|
|
539
|
+
},
|
|
540
|
+
],
|
|
541
|
+
},
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
jestInlineStyle={
|
|
545
|
+
[
|
|
546
|
+
{
|
|
547
|
+
"alignItems": "center",
|
|
548
|
+
"borderRadius": 28,
|
|
549
|
+
"justifyContent": "center",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"height": 56,
|
|
553
|
+
"width": 56,
|
|
554
|
+
},
|
|
555
|
+
]
|
|
556
|
+
}
|
|
557
|
+
nativeID="4"
|
|
398
558
|
style={
|
|
399
559
|
[
|
|
400
560
|
{
|
|
@@ -407,12 +567,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
407
567
|
"width": 56,
|
|
408
568
|
},
|
|
409
569
|
{
|
|
410
|
-
"backgroundColor":
|
|
570
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
411
571
|
},
|
|
412
572
|
{
|
|
413
573
|
"transform": [
|
|
414
574
|
{
|
|
415
|
-
"scale":
|
|
575
|
+
"scale": 1,
|
|
416
576
|
},
|
|
417
577
|
],
|
|
418
578
|
},
|
|
@@ -476,6 +636,38 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
476
636
|
onStartShouldSetResponder={[Function]}
|
|
477
637
|
>
|
|
478
638
|
<View
|
|
639
|
+
collapsable={false}
|
|
640
|
+
jestAnimatedProps={
|
|
641
|
+
{
|
|
642
|
+
"value": {},
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
jestAnimatedStyle={
|
|
646
|
+
{
|
|
647
|
+
"value": {
|
|
648
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
649
|
+
"transform": [
|
|
650
|
+
{
|
|
651
|
+
"scale": 1,
|
|
652
|
+
},
|
|
653
|
+
],
|
|
654
|
+
},
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
jestInlineStyle={
|
|
658
|
+
[
|
|
659
|
+
{
|
|
660
|
+
"alignItems": "center",
|
|
661
|
+
"borderRadius": 28,
|
|
662
|
+
"justifyContent": "center",
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"height": 56,
|
|
666
|
+
"width": 56,
|
|
667
|
+
},
|
|
668
|
+
]
|
|
669
|
+
}
|
|
670
|
+
nativeID="5"
|
|
479
671
|
style={
|
|
480
672
|
[
|
|
481
673
|
{
|
|
@@ -488,12 +680,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
488
680
|
"width": 56,
|
|
489
681
|
},
|
|
490
682
|
{
|
|
491
|
-
"backgroundColor":
|
|
683
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
492
684
|
},
|
|
493
685
|
{
|
|
494
686
|
"transform": [
|
|
495
687
|
{
|
|
496
|
-
"scale":
|
|
688
|
+
"scale": 1,
|
|
497
689
|
},
|
|
498
690
|
],
|
|
499
691
|
},
|
|
@@ -568,6 +760,38 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
568
760
|
onStartShouldSetResponder={[Function]}
|
|
569
761
|
>
|
|
570
762
|
<View
|
|
763
|
+
collapsable={false}
|
|
764
|
+
jestAnimatedProps={
|
|
765
|
+
{
|
|
766
|
+
"value": {},
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
jestAnimatedStyle={
|
|
770
|
+
{
|
|
771
|
+
"value": {
|
|
772
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
773
|
+
"transform": [
|
|
774
|
+
{
|
|
775
|
+
"scale": 1,
|
|
776
|
+
},
|
|
777
|
+
],
|
|
778
|
+
},
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
jestInlineStyle={
|
|
782
|
+
[
|
|
783
|
+
{
|
|
784
|
+
"alignItems": "center",
|
|
785
|
+
"borderRadius": 28,
|
|
786
|
+
"justifyContent": "center",
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"height": 56,
|
|
790
|
+
"width": 56,
|
|
791
|
+
},
|
|
792
|
+
]
|
|
793
|
+
}
|
|
794
|
+
nativeID="6"
|
|
571
795
|
style={
|
|
572
796
|
[
|
|
573
797
|
{
|
|
@@ -580,12 +804,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
580
804
|
"width": 56,
|
|
581
805
|
},
|
|
582
806
|
{
|
|
583
|
-
"backgroundColor":
|
|
807
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
584
808
|
},
|
|
585
809
|
{
|
|
586
810
|
"transform": [
|
|
587
811
|
{
|
|
588
|
-
"scale":
|
|
812
|
+
"scale": 1,
|
|
589
813
|
},
|
|
590
814
|
],
|
|
591
815
|
},
|
|
@@ -649,6 +873,38 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
649
873
|
onStartShouldSetResponder={[Function]}
|
|
650
874
|
>
|
|
651
875
|
<View
|
|
876
|
+
collapsable={false}
|
|
877
|
+
jestAnimatedProps={
|
|
878
|
+
{
|
|
879
|
+
"value": {},
|
|
880
|
+
}
|
|
881
|
+
}
|
|
882
|
+
jestAnimatedStyle={
|
|
883
|
+
{
|
|
884
|
+
"value": {
|
|
885
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
886
|
+
"transform": [
|
|
887
|
+
{
|
|
888
|
+
"scale": 1,
|
|
889
|
+
},
|
|
890
|
+
],
|
|
891
|
+
},
|
|
892
|
+
}
|
|
893
|
+
}
|
|
894
|
+
jestInlineStyle={
|
|
895
|
+
[
|
|
896
|
+
{
|
|
897
|
+
"alignItems": "center",
|
|
898
|
+
"borderRadius": 28,
|
|
899
|
+
"justifyContent": "center",
|
|
900
|
+
},
|
|
901
|
+
{
|
|
902
|
+
"height": 56,
|
|
903
|
+
"width": 56,
|
|
904
|
+
},
|
|
905
|
+
]
|
|
906
|
+
}
|
|
907
|
+
nativeID="7"
|
|
652
908
|
style={
|
|
653
909
|
[
|
|
654
910
|
{
|
|
@@ -661,12 +917,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
661
917
|
"width": 56,
|
|
662
918
|
},
|
|
663
919
|
{
|
|
664
|
-
"backgroundColor":
|
|
920
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
665
921
|
},
|
|
666
922
|
{
|
|
667
923
|
"transform": [
|
|
668
924
|
{
|
|
669
|
-
"scale":
|
|
925
|
+
"scale": 1,
|
|
670
926
|
},
|
|
671
927
|
],
|
|
672
928
|
},
|
|
@@ -730,6 +986,38 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
730
986
|
onStartShouldSetResponder={[Function]}
|
|
731
987
|
>
|
|
732
988
|
<View
|
|
989
|
+
collapsable={false}
|
|
990
|
+
jestAnimatedProps={
|
|
991
|
+
{
|
|
992
|
+
"value": {},
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
jestAnimatedStyle={
|
|
996
|
+
{
|
|
997
|
+
"value": {
|
|
998
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
999
|
+
"transform": [
|
|
1000
|
+
{
|
|
1001
|
+
"scale": 1,
|
|
1002
|
+
},
|
|
1003
|
+
],
|
|
1004
|
+
},
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
jestInlineStyle={
|
|
1008
|
+
[
|
|
1009
|
+
{
|
|
1010
|
+
"alignItems": "center",
|
|
1011
|
+
"borderRadius": 28,
|
|
1012
|
+
"justifyContent": "center",
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
"height": 56,
|
|
1016
|
+
"width": 56,
|
|
1017
|
+
},
|
|
1018
|
+
]
|
|
1019
|
+
}
|
|
1020
|
+
nativeID="8"
|
|
733
1021
|
style={
|
|
734
1022
|
[
|
|
735
1023
|
{
|
|
@@ -742,12 +1030,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
742
1030
|
"width": 56,
|
|
743
1031
|
},
|
|
744
1032
|
{
|
|
745
|
-
"backgroundColor":
|
|
1033
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
746
1034
|
},
|
|
747
1035
|
{
|
|
748
1036
|
"transform": [
|
|
749
1037
|
{
|
|
750
|
-
"scale":
|
|
1038
|
+
"scale": 1,
|
|
751
1039
|
},
|
|
752
1040
|
],
|
|
753
1041
|
},
|
|
@@ -838,6 +1126,36 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
838
1126
|
onStartShouldSetResponder={[Function]}
|
|
839
1127
|
>
|
|
840
1128
|
<View
|
|
1129
|
+
collapsable={false}
|
|
1130
|
+
jestAnimatedProps={
|
|
1131
|
+
{
|
|
1132
|
+
"value": {},
|
|
1133
|
+
}
|
|
1134
|
+
}
|
|
1135
|
+
jestAnimatedStyle={
|
|
1136
|
+
{
|
|
1137
|
+
"value": {
|
|
1138
|
+
"transform": [
|
|
1139
|
+
{
|
|
1140
|
+
"scale": 1,
|
|
1141
|
+
},
|
|
1142
|
+
],
|
|
1143
|
+
},
|
|
1144
|
+
}
|
|
1145
|
+
}
|
|
1146
|
+
jestInlineStyle={
|
|
1147
|
+
[
|
|
1148
|
+
{
|
|
1149
|
+
"alignItems": "center",
|
|
1150
|
+
"justifyContent": "center",
|
|
1151
|
+
},
|
|
1152
|
+
{
|
|
1153
|
+
"height": 24,
|
|
1154
|
+
"width": 24,
|
|
1155
|
+
},
|
|
1156
|
+
]
|
|
1157
|
+
}
|
|
1158
|
+
nativeID="9"
|
|
841
1159
|
style={
|
|
842
1160
|
[
|
|
843
1161
|
{
|
|
@@ -851,7 +1169,7 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
851
1169
|
{
|
|
852
1170
|
"transform": [
|
|
853
1171
|
{
|
|
854
|
-
"scale":
|
|
1172
|
+
"scale": 1,
|
|
855
1173
|
},
|
|
856
1174
|
],
|
|
857
1175
|
},
|
|
@@ -863,20 +1181,29 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
863
1181
|
accessibilityLabel=""
|
|
864
1182
|
accessible={false}
|
|
865
1183
|
align="xMidYMid"
|
|
866
|
-
animatedProps={
|
|
867
|
-
{
|
|
868
|
-
"color": undefined,
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
1184
|
bbHeight={24}
|
|
872
1185
|
bbWidth={24}
|
|
1186
|
+
collapsable={false}
|
|
873
1187
|
color="#FFFFFF"
|
|
874
1188
|
focusable={false}
|
|
875
1189
|
height={24}
|
|
876
1190
|
importantForAccessibility="no-hide-descendants"
|
|
1191
|
+
jestAnimatedProps={
|
|
1192
|
+
{
|
|
1193
|
+
"value": {
|
|
1194
|
+
"color": "rgba(255, 255, 255, 1)",
|
|
1195
|
+
},
|
|
1196
|
+
}
|
|
1197
|
+
}
|
|
1198
|
+
jestAnimatedStyle={
|
|
1199
|
+
{
|
|
1200
|
+
"value": {},
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
877
1203
|
meetOrSlice={0}
|
|
878
1204
|
minX={0}
|
|
879
1205
|
minY={0}
|
|
1206
|
+
nativeID="10"
|
|
880
1207
|
style={
|
|
881
1208
|
[
|
|
882
1209
|
{
|
|
@@ -956,6 +1283,38 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
956
1283
|
onStartShouldSetResponder={[Function]}
|
|
957
1284
|
>
|
|
958
1285
|
<View
|
|
1286
|
+
collapsable={false}
|
|
1287
|
+
jestAnimatedProps={
|
|
1288
|
+
{
|
|
1289
|
+
"value": {},
|
|
1290
|
+
}
|
|
1291
|
+
}
|
|
1292
|
+
jestAnimatedStyle={
|
|
1293
|
+
{
|
|
1294
|
+
"value": {
|
|
1295
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
1296
|
+
"transform": [
|
|
1297
|
+
{
|
|
1298
|
+
"scale": 1,
|
|
1299
|
+
},
|
|
1300
|
+
],
|
|
1301
|
+
},
|
|
1302
|
+
}
|
|
1303
|
+
}
|
|
1304
|
+
jestInlineStyle={
|
|
1305
|
+
[
|
|
1306
|
+
{
|
|
1307
|
+
"alignItems": "center",
|
|
1308
|
+
"borderRadius": 28,
|
|
1309
|
+
"justifyContent": "center",
|
|
1310
|
+
},
|
|
1311
|
+
{
|
|
1312
|
+
"height": 56,
|
|
1313
|
+
"width": 56,
|
|
1314
|
+
},
|
|
1315
|
+
]
|
|
1316
|
+
}
|
|
1317
|
+
nativeID="11"
|
|
959
1318
|
style={
|
|
960
1319
|
[
|
|
961
1320
|
{
|
|
@@ -968,12 +1327,12 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
968
1327
|
"width": 56,
|
|
969
1328
|
},
|
|
970
1329
|
{
|
|
971
|
-
"backgroundColor":
|
|
1330
|
+
"backgroundColor": "rgba(255, 255, 255, 0.149)",
|
|
972
1331
|
},
|
|
973
1332
|
{
|
|
974
1333
|
"transform": [
|
|
975
1334
|
{
|
|
976
|
-
"scale":
|
|
1335
|
+
"scale": 1,
|
|
977
1336
|
},
|
|
978
1337
|
],
|
|
979
1338
|
},
|
|
@@ -1053,6 +1412,36 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1053
1412
|
onStartShouldSetResponder={[Function]}
|
|
1054
1413
|
>
|
|
1055
1414
|
<View
|
|
1415
|
+
collapsable={false}
|
|
1416
|
+
jestAnimatedProps={
|
|
1417
|
+
{
|
|
1418
|
+
"value": {},
|
|
1419
|
+
}
|
|
1420
|
+
}
|
|
1421
|
+
jestAnimatedStyle={
|
|
1422
|
+
{
|
|
1423
|
+
"value": {
|
|
1424
|
+
"transform": [
|
|
1425
|
+
{
|
|
1426
|
+
"scale": 1,
|
|
1427
|
+
},
|
|
1428
|
+
],
|
|
1429
|
+
},
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1432
|
+
jestInlineStyle={
|
|
1433
|
+
[
|
|
1434
|
+
{
|
|
1435
|
+
"alignItems": "center",
|
|
1436
|
+
"justifyContent": "center",
|
|
1437
|
+
},
|
|
1438
|
+
{
|
|
1439
|
+
"height": 24,
|
|
1440
|
+
"width": 24,
|
|
1441
|
+
},
|
|
1442
|
+
]
|
|
1443
|
+
}
|
|
1444
|
+
nativeID="12"
|
|
1056
1445
|
style={
|
|
1057
1446
|
[
|
|
1058
1447
|
{
|
|
@@ -1066,7 +1455,7 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1066
1455
|
{
|
|
1067
1456
|
"transform": [
|
|
1068
1457
|
{
|
|
1069
|
-
"scale":
|
|
1458
|
+
"scale": 1,
|
|
1070
1459
|
},
|
|
1071
1460
|
],
|
|
1072
1461
|
},
|
|
@@ -1078,20 +1467,29 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1078
1467
|
accessibilityLabel=""
|
|
1079
1468
|
accessible={false}
|
|
1080
1469
|
align="xMidYMid"
|
|
1081
|
-
animatedProps={
|
|
1082
|
-
{
|
|
1083
|
-
"color": undefined,
|
|
1084
|
-
}
|
|
1085
|
-
}
|
|
1086
1470
|
bbHeight={24}
|
|
1087
1471
|
bbWidth={24}
|
|
1472
|
+
collapsable={false}
|
|
1088
1473
|
color="#FFFFFF"
|
|
1089
1474
|
focusable={false}
|
|
1090
1475
|
height={24}
|
|
1091
1476
|
importantForAccessibility="no-hide-descendants"
|
|
1477
|
+
jestAnimatedProps={
|
|
1478
|
+
{
|
|
1479
|
+
"value": {
|
|
1480
|
+
"color": "rgba(255, 255, 255, 1)",
|
|
1481
|
+
},
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
jestAnimatedStyle={
|
|
1485
|
+
{
|
|
1486
|
+
"value": {},
|
|
1487
|
+
}
|
|
1488
|
+
}
|
|
1092
1489
|
meetOrSlice={0}
|
|
1093
1490
|
minX={0}
|
|
1094
1491
|
minY={0}
|
|
1492
|
+
nativeID="13"
|
|
1095
1493
|
style={
|
|
1096
1494
|
[
|
|
1097
1495
|
{
|
|
@@ -8,6 +8,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
9
|
var _reactNativeGestureHandler = require("react-native-gesture-handler");
|
|
10
10
|
var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
|
|
11
|
+
var _reactNativeWorklets = require("react-native-worklets");
|
|
11
12
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
12
13
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
|
|
13
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
@@ -41,7 +42,11 @@ const Dismissable = ({
|
|
|
41
42
|
translateX.value = (0, _reactNativeReanimated.withTiming)(windowWidth * Math.sign(event.translationX), {
|
|
42
43
|
duration: 300,
|
|
43
44
|
easing: _reactNativeReanimated.Easing.inOut(_reactNativeReanimated.Easing.exp)
|
|
44
|
-
}, (
|
|
45
|
+
}, () => {
|
|
46
|
+
"worklet";
|
|
47
|
+
|
|
48
|
+
(0, _reactNativeWorklets.scheduleOnRN)(onDismiss);
|
|
49
|
+
});
|
|
45
50
|
} else {
|
|
46
51
|
// eslint-disable-next-line functional/immutable-data
|
|
47
52
|
translateX.value = (0, _reactNativeReanimated.withSpring)(0, {
|