@pagopa/io-app-design-system 1.29.0 → 1.31.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/Advice/__test__/__snapshots__/advice.test.tsx.snap +24 -12
- package/lib/commonjs/components/avatar/Avatar.js +2 -0
- package/lib/commonjs/components/avatar/Avatar.js.map +1 -1
- package/lib/commonjs/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +4 -0
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +92 -18
- package/lib/commonjs/components/buttons/ButtonSolid.js +4 -2
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +96 -50
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js +3 -2
- package/lib/commonjs/components/checkbox/AnimatedCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js +11 -7
- package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
- package/lib/commonjs/components/checkbox/CheckboxLabel.js +5 -0
- package/lib/commonjs/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/commonjs/components/image/Image.js +3 -1
- package/lib/commonjs/components/image/Image.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +2 -1
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadio.js +6 -0
- package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +154 -68
- package/lib/commonjs/components/logos/LogoPaymentCard.js +7 -2
- package/lib/commonjs/components/logos/LogoPaymentCard.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleIDP.js +1 -0
- package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -1
- package/lib/commonjs/components/radio/AnimatedRadio.js +1 -0
- package/lib/commonjs/components/radio/AnimatedRadio.js.map +1 -1
- package/lib/commonjs/components/radio/RadioButtonLabel.js +8 -3
- package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/commonjs/components/switch/AnimatedSwitch.js +3 -2
- package/lib/commonjs/components/switch/AnimatedSwitch.js.map +1 -1
- package/lib/commonjs/components/switch/SwitchLabel.js +7 -2
- package/lib/commonjs/components/switch/SwitchLabel.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js +17 -12
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/core/IOStyles.js +1 -1
- package/lib/commonjs/core/IOStyles.js.map +1 -1
- package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +24 -12
- package/lib/module/components/avatar/Avatar.js +2 -0
- package/lib/module/components/avatar/Avatar.js.map +1 -1
- package/lib/module/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +4 -0
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +92 -18
- package/lib/module/components/buttons/ButtonSolid.js +4 -2
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +96 -50
- package/lib/module/components/checkbox/AnimatedCheckbox.js +3 -2
- package/lib/module/components/checkbox/AnimatedCheckbox.js.map +1 -1
- package/lib/module/components/checkbox/AnimatedMessageCheckbox.js +11 -7
- package/lib/module/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
- package/lib/module/components/checkbox/CheckboxLabel.js +5 -0
- package/lib/module/components/checkbox/CheckboxLabel.js.map +1 -1
- package/lib/module/components/image/Image.js +3 -1
- package/lib/module/components/image/Image.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +2 -1
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadio.js +6 -0
- package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +154 -68
- package/lib/module/components/logos/LogoPaymentCard.js +9 -4
- package/lib/module/components/logos/LogoPaymentCard.js.map +1 -1
- package/lib/module/components/modules/ModuleIDP.js +1 -0
- package/lib/module/components/modules/ModuleIDP.js.map +1 -1
- package/lib/module/components/radio/AnimatedRadio.js +1 -0
- package/lib/module/components/radio/AnimatedRadio.js.map +1 -1
- package/lib/module/components/radio/RadioButtonLabel.js +8 -3
- package/lib/module/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/module/components/switch/AnimatedSwitch.js +5 -4
- package/lib/module/components/switch/AnimatedSwitch.js.map +1 -1
- package/lib/module/components/switch/SwitchLabel.js +7 -2
- package/lib/module/components/switch/SwitchLabel.js.map +1 -1
- package/lib/module/components/textInput/TextInputBase.js +18 -13
- package/lib/module/components/textInput/TextInputBase.js.map +1 -1
- package/lib/module/core/IOStyles.js +1 -1
- package/lib/module/core/IOStyles.js.map +1 -1
- package/lib/typescript/components/avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/AnimatedCheckbox.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/AnimatedMessageCheckbox.d.ts.map +1 -1
- package/lib/typescript/components/checkbox/CheckboxLabel.d.ts.map +1 -1
- package/lib/typescript/components/image/Image.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNav.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadio.d.ts.map +1 -1
- package/lib/typescript/components/logos/LogoPaymentCard.d.ts +5 -3
- package/lib/typescript/components/logos/LogoPaymentCard.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleIDP.d.ts.map +1 -1
- package/lib/typescript/components/radio/AnimatedRadio.d.ts.map +1 -1
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts.map +1 -1
- package/lib/typescript/components/switch/AnimatedSwitch.d.ts.map +1 -1
- package/lib/typescript/components/switch/SwitchLabel.d.ts.map +1 -1
- package/lib/typescript/components/textInput/TextInputBase.d.ts +2 -1
- package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
- package/package.json +4 -3
- package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +24 -12
- package/src/components/avatar/Avatar.tsx +2 -0
- package/src/components/avatar/__test__/__snapshots__/avatar.test.tsx.snap +4 -0
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +92 -18
- package/src/components/buttons/ButtonSolid.tsx +3 -1
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +96 -50
- package/src/components/checkbox/AnimatedCheckbox.tsx +2 -1
- package/src/components/checkbox/AnimatedMessageCheckbox.tsx +9 -7
- package/src/components/checkbox/CheckboxLabel.tsx +5 -0
- package/src/components/image/Image.tsx +6 -1
- package/src/components/listitems/ListItemNav.tsx +2 -1
- package/src/components/listitems/ListItemRadio.tsx +10 -1
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +154 -68
- package/src/components/logos/LogoPaymentCard.tsx +15 -6
- package/src/components/modules/ModuleIDP.tsx +5 -1
- package/src/components/radio/AnimatedRadio.tsx +1 -0
- package/src/components/radio/RadioButtonLabel.tsx +7 -2
- package/src/components/switch/AnimatedSwitch.tsx +9 -8
- package/src/components/switch/SwitchLabel.tsx +6 -1
- package/src/components/textInput/TextInputBase.tsx +20 -14
- package/src/core/IOStyles.ts +1 -1
|
@@ -233,7 +233,7 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
233
233
|
align="xMidYMid"
|
|
234
234
|
bbHeight={80}
|
|
235
235
|
bbWidth={80}
|
|
236
|
-
color=
|
|
236
|
+
color="#00C5CA"
|
|
237
237
|
focusable={false}
|
|
238
238
|
height={80}
|
|
239
239
|
meetOrSlice={0}
|
|
@@ -252,15 +252,27 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
252
252
|
},
|
|
253
253
|
]
|
|
254
254
|
}
|
|
255
|
-
tintColor=
|
|
255
|
+
tintColor="#00C5CA"
|
|
256
256
|
vbHeight={240}
|
|
257
257
|
vbWidth={240}
|
|
258
258
|
width={80}
|
|
259
259
|
>
|
|
260
|
-
<RNSVGGroup
|
|
260
|
+
<RNSVGGroup
|
|
261
|
+
fill={
|
|
262
|
+
{
|
|
263
|
+
"payload": 4278190080,
|
|
264
|
+
"type": 0,
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
>
|
|
261
268
|
<RNSVGPath
|
|
262
269
|
d="M133.46 173.8c-2.88 0-5.61-1.57-7.03-4.28-1.01-1.92-1.2-4.11-.53-6.18.66-2.04 2.07-3.69 3.98-4.64 6.87-3.44 17.93-6.91 24.11-8.73-2.58-2.4-4.34-6.01-4.32-9.54 0-2.68 1.14-9.19 11.43-11.65 16.11-3.86 78.12 18.71 80.75 19.67l-1.37 3.76c-.16-.06-16.14-5.89-33.81-11.18-29.21-8.75-40.4-9.37-44.64-8.36-5.38 1.29-8.35 4.05-8.36 7.77-.01 3.88 3.08 7.55 5.86 8.23.88.22 1.51 1.01 1.52 1.92 0 .91-.6 1.71-1.48 1.95-.18.05-18.53 5.04-27.9 9.73-.94.47-1.64 1.28-1.96 2.29-.33 1.03-.24 2.13.27 3.09.96 1.83 3.13 2.61 5.04 1.82 9.17-3.8 21.12-8.32 26.15-8.25l-.06 4h-.08c-3.38 0-12.29 2.89-24.47 7.94-1.01.42-2.05.62-3.08.62l-.02.02Z"
|
|
263
|
-
fill={
|
|
270
|
+
fill={
|
|
271
|
+
{
|
|
272
|
+
"payload": 4278927075,
|
|
273
|
+
"type": 0,
|
|
274
|
+
}
|
|
275
|
+
}
|
|
264
276
|
propList={
|
|
265
277
|
[
|
|
266
278
|
"fill",
|
|
@@ -269,7 +281,12 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
269
281
|
/>
|
|
270
282
|
<RNSVGPath
|
|
271
283
|
d="M137.37 190.23c-3.78 0-7.45-2.01-9.39-5.54-2.16-3.92-1.62-8.82 1.33-12.19l1.47-1.68 3.01 2.63-1.47 1.68c-1.84 2.11-2.18 5.17-.83 7.63 1.76 3.21 5.81 4.41 9.02 2.67 12.01-6.5 20.08-9.56 23.94-9.11l-.47 3.97c-2.88-.34-10.93 2.9-21.57 8.66-1.6.87-3.33 1.28-5.04 1.28Z"
|
|
272
|
-
fill={
|
|
284
|
+
fill={
|
|
285
|
+
{
|
|
286
|
+
"payload": 4278927075,
|
|
287
|
+
"type": 0,
|
|
288
|
+
}
|
|
289
|
+
}
|
|
273
290
|
propList={
|
|
274
291
|
[
|
|
275
292
|
"fill",
|
|
@@ -278,7 +295,12 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
278
295
|
/>
|
|
279
296
|
<RNSVGPath
|
|
280
297
|
d="M240.29 213.7c-39.81-19.17-81.44-13.87-92.88-10.51-2.82.83-5.84.2-8.1-1.68-2.34-1.95-3.52-5.04-3.07-8.05l.77-5.2 3.96.59-.77 5.2c-.25 1.64.4 3.33 1.67 4.39 1.23 1.03 2.88 1.37 4.41.92 11.83-3.48 54.81-8.97 95.75 10.74l-1.73 3.6h-.01ZM169.508 150.199l-.698 3.939 10.348 1.834.698-3.939-10.348-1.834Z"
|
|
281
|
-
fill={
|
|
298
|
+
fill={
|
|
299
|
+
{
|
|
300
|
+
"payload": 4278927075,
|
|
301
|
+
"type": 0,
|
|
302
|
+
}
|
|
303
|
+
}
|
|
282
304
|
propList={
|
|
283
305
|
[
|
|
284
306
|
"fill",
|
|
@@ -287,7 +309,12 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
287
309
|
/>
|
|
288
310
|
<RNSVGPath
|
|
289
311
|
d="M191.07 170.8c-10.44-5.97-15.77-22.75-15.99-23.46l3.82-1.19c.05.16 5.09 15.99 14.16 21.18l-1.99 3.47ZM163.258 156.644l-3.982.38 2.844 29.854 3.982-.379-2.844-29.855Z"
|
|
290
|
-
fill={
|
|
312
|
+
fill={
|
|
313
|
+
{
|
|
314
|
+
"payload": 4278927075,
|
|
315
|
+
"type": 0,
|
|
316
|
+
}
|
|
317
|
+
}
|
|
291
318
|
propList={
|
|
292
319
|
[
|
|
293
320
|
"fill",
|
|
@@ -296,7 +323,12 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
296
323
|
/>
|
|
297
324
|
<RNSVGPath
|
|
298
325
|
d="M133.75 39.82c-4.15-4.68-9.41-8.27-15.31-10.44-5.9-2.18-12.26-2.88-18.5099-2.03-3.78.51-7.45 1.58-10.89 3.15-4.49 2.05-7.86 5.81-10.65 9.88l-3.1 4.53c-3.74-2.62-7.92-4.57-12.35-5.72-4.86-1.26-9.92-1.56-14.89-.88-4.97.68-9.77 2.33-14.1 4.86-4.33 2.52-8.13 5.87-11.16 9.85-3.04 3.98-5.25 8.52-6.53 13.35-1.28 4.83-1.59 9.87-.91 14.81.68 4.95 2.34 9.71 4.87 14.02 2.53 4.31 5.9 8.08 9.89 11.09L103.6 145.21l26.72-45.64 10.54-20.04c1.85-4.42 3.76-12.92 1.34-23.34-1.41-6.07-4.32-11.7-8.47-16.38l.02.01Z"
|
|
299
|
-
fill={
|
|
326
|
+
fill={
|
|
327
|
+
{
|
|
328
|
+
"payload": 4289392367,
|
|
329
|
+
"type": 0,
|
|
330
|
+
}
|
|
331
|
+
}
|
|
300
332
|
propList={
|
|
301
333
|
[
|
|
302
334
|
"fill",
|
|
@@ -305,7 +337,12 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
305
337
|
/>
|
|
306
338
|
<RNSVGPath
|
|
307
339
|
d="M25.2295 81.79c-.79 0-1.45-.62-1.5-1.42-1.37-25.26 18.17-33.75 28.7-34.71.83-.08 1.55.53 1.63 1.36.08.83-.53 1.55-1.35 1.63-1.12.11-27.54 2.92-25.98 31.56.04.83-.59 1.53-1.42 1.58h-.08Z"
|
|
308
|
-
fill={
|
|
340
|
+
fill={
|
|
341
|
+
{
|
|
342
|
+
"payload": 4278240714,
|
|
343
|
+
"type": 0,
|
|
344
|
+
}
|
|
345
|
+
}
|
|
309
346
|
propList={
|
|
310
347
|
[
|
|
311
348
|
"fill",
|
|
@@ -552,7 +589,7 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
552
589
|
align="xMidYMid"
|
|
553
590
|
bbHeight={80}
|
|
554
591
|
bbWidth={80}
|
|
555
|
-
color=
|
|
592
|
+
color="#00C5CA"
|
|
556
593
|
focusable={false}
|
|
557
594
|
height={80}
|
|
558
595
|
meetOrSlice={0}
|
|
@@ -571,15 +608,27 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
571
608
|
},
|
|
572
609
|
]
|
|
573
610
|
}
|
|
574
|
-
tintColor=
|
|
611
|
+
tintColor="#00C5CA"
|
|
575
612
|
vbHeight={240}
|
|
576
613
|
vbWidth={240}
|
|
577
614
|
width={80}
|
|
578
615
|
>
|
|
579
|
-
<RNSVGGroup
|
|
616
|
+
<RNSVGGroup
|
|
617
|
+
fill={
|
|
618
|
+
{
|
|
619
|
+
"payload": 4278190080,
|
|
620
|
+
"type": 0,
|
|
621
|
+
}
|
|
622
|
+
}
|
|
623
|
+
>
|
|
580
624
|
<RNSVGPath
|
|
581
625
|
d="M133.46 173.8c-2.88 0-5.61-1.57-7.03-4.28-1.01-1.92-1.2-4.11-.53-6.18.66-2.04 2.07-3.69 3.98-4.64 6.87-3.44 17.93-6.91 24.11-8.73-2.58-2.4-4.34-6.01-4.32-9.54 0-2.68 1.14-9.19 11.43-11.65 16.11-3.86 78.12 18.71 80.75 19.67l-1.37 3.76c-.16-.06-16.14-5.89-33.81-11.18-29.21-8.75-40.4-9.37-44.64-8.36-5.38 1.29-8.35 4.05-8.36 7.77-.01 3.88 3.08 7.55 5.86 8.23.88.22 1.51 1.01 1.52 1.92 0 .91-.6 1.71-1.48 1.95-.18.05-18.53 5.04-27.9 9.73-.94.47-1.64 1.28-1.96 2.29-.33 1.03-.24 2.13.27 3.09.96 1.83 3.13 2.61 5.04 1.82 9.17-3.8 21.12-8.32 26.15-8.25l-.06 4h-.08c-3.38 0-12.29 2.89-24.47 7.94-1.01.42-2.05.62-3.08.62l-.02.02Z"
|
|
582
|
-
fill={
|
|
626
|
+
fill={
|
|
627
|
+
{
|
|
628
|
+
"payload": 4278927075,
|
|
629
|
+
"type": 0,
|
|
630
|
+
}
|
|
631
|
+
}
|
|
583
632
|
propList={
|
|
584
633
|
[
|
|
585
634
|
"fill",
|
|
@@ -588,7 +637,12 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
588
637
|
/>
|
|
589
638
|
<RNSVGPath
|
|
590
639
|
d="M137.37 190.23c-3.78 0-7.45-2.01-9.39-5.54-2.16-3.92-1.62-8.82 1.33-12.19l1.47-1.68 3.01 2.63-1.47 1.68c-1.84 2.11-2.18 5.17-.83 7.63 1.76 3.21 5.81 4.41 9.02 2.67 12.01-6.5 20.08-9.56 23.94-9.11l-.47 3.97c-2.88-.34-10.93 2.9-21.57 8.66-1.6.87-3.33 1.28-5.04 1.28Z"
|
|
591
|
-
fill={
|
|
640
|
+
fill={
|
|
641
|
+
{
|
|
642
|
+
"payload": 4278927075,
|
|
643
|
+
"type": 0,
|
|
644
|
+
}
|
|
645
|
+
}
|
|
592
646
|
propList={
|
|
593
647
|
[
|
|
594
648
|
"fill",
|
|
@@ -597,7 +651,12 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
597
651
|
/>
|
|
598
652
|
<RNSVGPath
|
|
599
653
|
d="M240.29 213.7c-39.81-19.17-81.44-13.87-92.88-10.51-2.82.83-5.84.2-8.1-1.68-2.34-1.95-3.52-5.04-3.07-8.05l.77-5.2 3.96.59-.77 5.2c-.25 1.64.4 3.33 1.67 4.39 1.23 1.03 2.88 1.37 4.41.92 11.83-3.48 54.81-8.97 95.75 10.74l-1.73 3.6h-.01ZM169.508 150.199l-.698 3.939 10.348 1.834.698-3.939-10.348-1.834Z"
|
|
600
|
-
fill={
|
|
654
|
+
fill={
|
|
655
|
+
{
|
|
656
|
+
"payload": 4278927075,
|
|
657
|
+
"type": 0,
|
|
658
|
+
}
|
|
659
|
+
}
|
|
601
660
|
propList={
|
|
602
661
|
[
|
|
603
662
|
"fill",
|
|
@@ -606,7 +665,12 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
606
665
|
/>
|
|
607
666
|
<RNSVGPath
|
|
608
667
|
d="M191.07 170.8c-10.44-5.97-15.77-22.75-15.99-23.46l3.82-1.19c.05.16 5.09 15.99 14.16 21.18l-1.99 3.47ZM163.258 156.644l-3.982.38 2.844 29.854 3.982-.379-2.844-29.855Z"
|
|
609
|
-
fill={
|
|
668
|
+
fill={
|
|
669
|
+
{
|
|
670
|
+
"payload": 4278927075,
|
|
671
|
+
"type": 0,
|
|
672
|
+
}
|
|
673
|
+
}
|
|
610
674
|
propList={
|
|
611
675
|
[
|
|
612
676
|
"fill",
|
|
@@ -615,7 +679,12 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
615
679
|
/>
|
|
616
680
|
<RNSVGPath
|
|
617
681
|
d="M133.75 39.82c-4.15-4.68-9.41-8.27-15.31-10.44-5.9-2.18-12.26-2.88-18.5099-2.03-3.78.51-7.45 1.58-10.89 3.15-4.49 2.05-7.86 5.81-10.65 9.88l-3.1 4.53c-3.74-2.62-7.92-4.57-12.35-5.72-4.86-1.26-9.92-1.56-14.89-.88-4.97.68-9.77 2.33-14.1 4.86-4.33 2.52-8.13 5.87-11.16 9.85-3.04 3.98-5.25 8.52-6.53 13.35-1.28 4.83-1.59 9.87-.91 14.81.68 4.95 2.34 9.71 4.87 14.02 2.53 4.31 5.9 8.08 9.89 11.09L103.6 145.21l26.72-45.64 10.54-20.04c1.85-4.42 3.76-12.92 1.34-23.34-1.41-6.07-4.32-11.7-8.47-16.38l.02.01Z"
|
|
618
|
-
fill={
|
|
682
|
+
fill={
|
|
683
|
+
{
|
|
684
|
+
"payload": 4289392367,
|
|
685
|
+
"type": 0,
|
|
686
|
+
}
|
|
687
|
+
}
|
|
619
688
|
propList={
|
|
620
689
|
[
|
|
621
690
|
"fill",
|
|
@@ -624,7 +693,12 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
624
693
|
/>
|
|
625
694
|
<RNSVGPath
|
|
626
695
|
d="M25.2295 81.79c-.79 0-1.45-.62-1.5-1.42-1.37-25.26 18.17-33.75 28.7-34.71.83-.08 1.55.53 1.63 1.36.08.83-.53 1.55-1.35 1.63-1.12.11-27.54 2.92-25.98 31.56.04.83-.59 1.53-1.42 1.58h-.08Z"
|
|
627
|
-
fill={
|
|
696
|
+
fill={
|
|
697
|
+
{
|
|
698
|
+
"payload": 4278240714,
|
|
699
|
+
"type": 0,
|
|
700
|
+
}
|
|
701
|
+
}
|
|
628
702
|
propList={
|
|
629
703
|
[
|
|
630
704
|
"fill",
|
|
@@ -310,7 +310,9 @@ export const ButtonSolid = React.forwardRef<View, ButtonSolidProps>(
|
|
|
310
310
|
entering={
|
|
311
311
|
isMounted.current ? enterTransitionInnerContent : undefined
|
|
312
312
|
}
|
|
313
|
-
exiting
|
|
313
|
+
/* Temporarily disable the exiting transition because it caused
|
|
314
|
+
a weird glitch on page exit */
|
|
315
|
+
// exiting={exitTransitionInnerContent}
|
|
314
316
|
>
|
|
315
317
|
{icon && (
|
|
316
318
|
<>
|
|
@@ -112,7 +112,6 @@ exports[`Test Buttons Components - Experimental Enabled ButtonExtendedOutline Sn
|
|
|
112
112
|
align="xMidYMid"
|
|
113
113
|
bbHeight={24}
|
|
114
114
|
bbWidth={24}
|
|
115
|
-
color={4278219750}
|
|
116
115
|
focusable={false}
|
|
117
116
|
height={24}
|
|
118
117
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -135,19 +134,26 @@ exports[`Test Buttons Components - Experimental Enabled ButtonExtendedOutline Sn
|
|
|
135
134
|
},
|
|
136
135
|
]
|
|
137
136
|
}
|
|
138
|
-
tintColor=
|
|
137
|
+
tintColor="#0073E6"
|
|
139
138
|
vbHeight={24}
|
|
140
139
|
vbWidth={24}
|
|
141
140
|
width={24}
|
|
142
141
|
>
|
|
143
|
-
<RNSVGGroup
|
|
142
|
+
<RNSVGGroup
|
|
143
|
+
fill={
|
|
144
|
+
{
|
|
145
|
+
"payload": 4278190080,
|
|
146
|
+
"type": 0,
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
>
|
|
144
150
|
<RNSVGPath
|
|
145
151
|
clipRule={0}
|
|
146
152
|
d="M0 12C0 5.3726 5.3726 0 12 0s12 5.3726 12 12-5.3726 12-12 12S0 18.6274 0 12Zm2 0C2 6.47717 6.47717 2 12 2c5.5228 0 10 4.47717 10 10 0 5.5228-4.4772 10-10 10-5.52283 0-10-4.4772-10-10Zm10.0281-4.50455c.8439 0 1.5281-.68415 1.5281-1.52809 0-.84394-.6842-1.52809-1.5281-1.52809-.844 0-1.5281.68415-1.5281 1.52809 0 .84394.6841 1.52809 1.5281 1.52809Zm0 1.94382h.0005c.5678 0 1.0281.46029 1.0281 1.02813v8.0045c0 .5678-.4603 1.0281-1.0281 1.0281h-.0005C11.4603 19.5 11 19.0397 11 18.4719v-8.0045c0-.56784.4603-1.02813 1.0281-1.02813Z"
|
|
147
153
|
fill={
|
|
148
|
-
|
|
149
|
-
2,
|
|
150
|
-
|
|
154
|
+
{
|
|
155
|
+
"type": 2,
|
|
156
|
+
}
|
|
151
157
|
}
|
|
152
158
|
fillRule={0}
|
|
153
159
|
propList={
|
|
@@ -448,7 +454,6 @@ exports[`Test Buttons Components - Experimental Enabled ButtonSolid Snapshot 1`]
|
|
|
448
454
|
}
|
|
449
455
|
>
|
|
450
456
|
<View
|
|
451
|
-
exiting={[Function]}
|
|
452
457
|
style={
|
|
453
458
|
[
|
|
454
459
|
{
|
|
@@ -572,7 +577,6 @@ exports[`Test Buttons Components - Experimental Enabled IconButton Snapshot 1`]
|
|
|
572
577
|
}
|
|
573
578
|
bbHeight={24}
|
|
574
579
|
bbWidth={24}
|
|
575
|
-
color={4278927075}
|
|
576
580
|
focusable={false}
|
|
577
581
|
height={24}
|
|
578
582
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -595,19 +599,26 @@ exports[`Test Buttons Components - Experimental Enabled IconButton Snapshot 1`]
|
|
|
595
599
|
},
|
|
596
600
|
]
|
|
597
601
|
}
|
|
598
|
-
tintColor=
|
|
602
|
+
tintColor="#0B3EE3"
|
|
599
603
|
vbHeight={24}
|
|
600
604
|
vbWidth={24}
|
|
601
605
|
width={24}
|
|
602
606
|
>
|
|
603
|
-
<RNSVGGroup
|
|
607
|
+
<RNSVGGroup
|
|
608
|
+
fill={
|
|
609
|
+
{
|
|
610
|
+
"payload": 4278190080,
|
|
611
|
+
"type": 0,
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
>
|
|
604
615
|
<RNSVGPath
|
|
605
616
|
clipRule={0}
|
|
606
617
|
d="M12 24c6.629 0 12-5.371 12-12S18.629 0 12 0C5.375 0 0 5.371 0 12s5.375 12 12 12Zm.033-10.97c-.997 0-1.818-.336-2.463-1.014-.646-.674-.968-1.51-.968-2.507 0-1.001.322-1.83.964-2.492.64-.662 1.458-.992 2.458-.992.997 0 1.81.334 2.435 1.017.625.678.94 1.51.94 2.511 0 .993-.315 1.822-.94 2.484-.625.657-1.43.992-2.426.992Zm-3.431 4.905c0-1.001.322-1.83.96-2.492.64-.662 1.458-.992 2.467-.992.996 0 1.809.335 2.43 1.017.625.682.94 1.515.94 2.512l-6.797-.045Z"
|
|
607
618
|
fill={
|
|
608
|
-
|
|
609
|
-
2,
|
|
610
|
-
|
|
619
|
+
{
|
|
620
|
+
"type": 2,
|
|
621
|
+
}
|
|
611
622
|
}
|
|
612
623
|
fillRule={0}
|
|
613
624
|
propList={
|
|
@@ -698,7 +709,6 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonContained Snap
|
|
|
698
709
|
}
|
|
699
710
|
bbHeight={24}
|
|
700
711
|
bbWidth={24}
|
|
701
|
-
color={4278927075}
|
|
702
712
|
focusable={false}
|
|
703
713
|
height={24}
|
|
704
714
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -721,19 +731,26 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonContained Snap
|
|
|
721
731
|
},
|
|
722
732
|
]
|
|
723
733
|
}
|
|
724
|
-
tintColor=
|
|
734
|
+
tintColor="#0B3EE3"
|
|
725
735
|
vbHeight={24}
|
|
726
736
|
vbWidth={24}
|
|
727
737
|
width={24}
|
|
728
738
|
>
|
|
729
|
-
<RNSVGGroup
|
|
739
|
+
<RNSVGGroup
|
|
740
|
+
fill={
|
|
741
|
+
{
|
|
742
|
+
"payload": 4278190080,
|
|
743
|
+
"type": 0,
|
|
744
|
+
}
|
|
745
|
+
}
|
|
746
|
+
>
|
|
730
747
|
<RNSVGPath
|
|
731
748
|
clipRule={0}
|
|
732
749
|
d="M12 24c6.629 0 12-5.371 12-12S18.629 0 12 0C5.375 0 0 5.371 0 12s5.375 12 12 12Zm.033-10.97c-.997 0-1.818-.336-2.463-1.014-.646-.674-.968-1.51-.968-2.507 0-1.001.322-1.83.964-2.492.64-.662 1.458-.992 2.458-.992.997 0 1.81.334 2.435 1.017.625.678.94 1.51.94 2.511 0 .993-.315 1.822-.94 2.484-.625.657-1.43.992-2.426.992Zm-3.431 4.905c0-1.001.322-1.83.96-2.492.64-.662 1.458-.992 2.467-.992.996 0 1.809.335 2.43 1.017.625.682.94 1.515.94 2.512l-6.797-.045Z"
|
|
733
750
|
fill={
|
|
734
|
-
|
|
735
|
-
2,
|
|
736
|
-
|
|
751
|
+
{
|
|
752
|
+
"type": 2,
|
|
753
|
+
}
|
|
737
754
|
}
|
|
738
755
|
fillRule={0}
|
|
739
756
|
propList={
|
|
@@ -822,7 +839,6 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonSolid Snapshot
|
|
|
822
839
|
align="xMidYMid"
|
|
823
840
|
bbHeight={24}
|
|
824
841
|
bbWidth={24}
|
|
825
|
-
color={4294967295}
|
|
826
842
|
focusable={false}
|
|
827
843
|
height={24}
|
|
828
844
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -845,19 +861,26 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonSolid Snapshot
|
|
|
845
861
|
},
|
|
846
862
|
]
|
|
847
863
|
}
|
|
848
|
-
tintColor=
|
|
864
|
+
tintColor="#FFFFFF"
|
|
849
865
|
vbHeight={24}
|
|
850
866
|
vbWidth={24}
|
|
851
867
|
width={24}
|
|
852
868
|
>
|
|
853
|
-
<RNSVGGroup
|
|
869
|
+
<RNSVGGroup
|
|
870
|
+
fill={
|
|
871
|
+
{
|
|
872
|
+
"payload": 4278190080,
|
|
873
|
+
"type": 0,
|
|
874
|
+
}
|
|
875
|
+
}
|
|
876
|
+
>
|
|
854
877
|
<RNSVGPath
|
|
855
878
|
clipRule={0}
|
|
856
879
|
d="M12 24c6.629 0 12-5.371 12-12S18.629 0 12 0C5.375 0 0 5.371 0 12s5.375 12 12 12Zm.033-10.97c-.997 0-1.818-.336-2.463-1.014-.646-.674-.968-1.51-.968-2.507 0-1.001.322-1.83.964-2.492.64-.662 1.458-.992 2.458-.992.997 0 1.81.334 2.435 1.017.625.678.94 1.51.94 2.511 0 .993-.315 1.822-.94 2.484-.625.657-1.43.992-2.426.992Zm-3.431 4.905c0-1.001.322-1.83.96-2.492.64-.662 1.458-.992 2.467-.992.996 0 1.809.335 2.43 1.017.625.682.94 1.515.94 2.512l-6.797-.045Z"
|
|
857
880
|
fill={
|
|
858
|
-
|
|
859
|
-
2,
|
|
860
|
-
|
|
881
|
+
{
|
|
882
|
+
"type": 2,
|
|
883
|
+
}
|
|
861
884
|
}
|
|
862
885
|
fillRule={0}
|
|
863
886
|
propList={
|
|
@@ -985,7 +1008,6 @@ exports[`Test Buttons Components ButtonExtendedOutline Snapshot 1`] = `
|
|
|
985
1008
|
align="xMidYMid"
|
|
986
1009
|
bbHeight={24}
|
|
987
1010
|
bbWidth={24}
|
|
988
|
-
color={4278219750}
|
|
989
1011
|
focusable={false}
|
|
990
1012
|
height={24}
|
|
991
1013
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -1008,19 +1030,26 @@ exports[`Test Buttons Components ButtonExtendedOutline Snapshot 1`] = `
|
|
|
1008
1030
|
},
|
|
1009
1031
|
]
|
|
1010
1032
|
}
|
|
1011
|
-
tintColor=
|
|
1033
|
+
tintColor="#0073E6"
|
|
1012
1034
|
vbHeight={24}
|
|
1013
1035
|
vbWidth={24}
|
|
1014
1036
|
width={24}
|
|
1015
1037
|
>
|
|
1016
|
-
<RNSVGGroup
|
|
1038
|
+
<RNSVGGroup
|
|
1039
|
+
fill={
|
|
1040
|
+
{
|
|
1041
|
+
"payload": 4278190080,
|
|
1042
|
+
"type": 0,
|
|
1043
|
+
}
|
|
1044
|
+
}
|
|
1045
|
+
>
|
|
1017
1046
|
<RNSVGPath
|
|
1018
1047
|
clipRule={0}
|
|
1019
1048
|
d="M0 12C0 5.3726 5.3726 0 12 0s12 5.3726 12 12-5.3726 12-12 12S0 18.6274 0 12Zm2 0C2 6.47717 6.47717 2 12 2c5.5228 0 10 4.47717 10 10 0 5.5228-4.4772 10-10 10-5.52283 0-10-4.4772-10-10Zm10.0281-4.50455c.8439 0 1.5281-.68415 1.5281-1.52809 0-.84394-.6842-1.52809-1.5281-1.52809-.844 0-1.5281.68415-1.5281 1.52809 0 .84394.6841 1.52809 1.5281 1.52809Zm0 1.94382h.0005c.5678 0 1.0281.46029 1.0281 1.02813v8.0045c0 .5678-.4603 1.0281-1.0281 1.0281h-.0005C11.4603 19.5 11 19.0397 11 18.4719v-8.0045c0-.56784.4603-1.02813 1.0281-1.02813Z"
|
|
1020
1049
|
fill={
|
|
1021
|
-
|
|
1022
|
-
2,
|
|
1023
|
-
|
|
1050
|
+
{
|
|
1051
|
+
"type": 2,
|
|
1052
|
+
}
|
|
1024
1053
|
}
|
|
1025
1054
|
fillRule={0}
|
|
1026
1055
|
propList={
|
|
@@ -1318,7 +1347,6 @@ exports[`Test Buttons Components ButtonSolid Snapshot 1`] = `
|
|
|
1318
1347
|
}
|
|
1319
1348
|
>
|
|
1320
1349
|
<View
|
|
1321
|
-
exiting={[Function]}
|
|
1322
1350
|
style={
|
|
1323
1351
|
[
|
|
1324
1352
|
{
|
|
@@ -1442,7 +1470,6 @@ exports[`Test Buttons Components IconButton Snapshot 1`] = `
|
|
|
1442
1470
|
}
|
|
1443
1471
|
bbHeight={24}
|
|
1444
1472
|
bbWidth={24}
|
|
1445
|
-
color={4278219750}
|
|
1446
1473
|
focusable={false}
|
|
1447
1474
|
height={24}
|
|
1448
1475
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -1465,19 +1492,26 @@ exports[`Test Buttons Components IconButton Snapshot 1`] = `
|
|
|
1465
1492
|
},
|
|
1466
1493
|
]
|
|
1467
1494
|
}
|
|
1468
|
-
tintColor=
|
|
1495
|
+
tintColor="#0073E6"
|
|
1469
1496
|
vbHeight={24}
|
|
1470
1497
|
vbWidth={24}
|
|
1471
1498
|
width={24}
|
|
1472
1499
|
>
|
|
1473
|
-
<RNSVGGroup
|
|
1500
|
+
<RNSVGGroup
|
|
1501
|
+
fill={
|
|
1502
|
+
{
|
|
1503
|
+
"payload": 4278190080,
|
|
1504
|
+
"type": 0,
|
|
1505
|
+
}
|
|
1506
|
+
}
|
|
1507
|
+
>
|
|
1474
1508
|
<RNSVGPath
|
|
1475
1509
|
clipRule={0}
|
|
1476
1510
|
d="M12 24c6.629 0 12-5.371 12-12S18.629 0 12 0C5.375 0 0 5.371 0 12s5.375 12 12 12Zm.033-10.97c-.997 0-1.818-.336-2.463-1.014-.646-.674-.968-1.51-.968-2.507 0-1.001.322-1.83.964-2.492.64-.662 1.458-.992 2.458-.992.997 0 1.81.334 2.435 1.017.625.678.94 1.51.94 2.511 0 .993-.315 1.822-.94 2.484-.625.657-1.43.992-2.426.992Zm-3.431 4.905c0-1.001.322-1.83.96-2.492.64-.662 1.458-.992 2.467-.992.996 0 1.809.335 2.43 1.017.625.682.94 1.515.94 2.512l-6.797-.045Z"
|
|
1477
1511
|
fill={
|
|
1478
|
-
|
|
1479
|
-
2,
|
|
1480
|
-
|
|
1512
|
+
{
|
|
1513
|
+
"type": 2,
|
|
1514
|
+
}
|
|
1481
1515
|
}
|
|
1482
1516
|
fillRule={0}
|
|
1483
1517
|
propList={
|
|
@@ -1568,7 +1602,6 @@ exports[`Test Buttons Components IconButtonContained Snapshot 1`] = `
|
|
|
1568
1602
|
}
|
|
1569
1603
|
bbHeight={24}
|
|
1570
1604
|
bbWidth={24}
|
|
1571
|
-
color={4278219750}
|
|
1572
1605
|
focusable={false}
|
|
1573
1606
|
height={24}
|
|
1574
1607
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -1591,19 +1624,26 @@ exports[`Test Buttons Components IconButtonContained Snapshot 1`] = `
|
|
|
1591
1624
|
},
|
|
1592
1625
|
]
|
|
1593
1626
|
}
|
|
1594
|
-
tintColor=
|
|
1627
|
+
tintColor="#0073E6"
|
|
1595
1628
|
vbHeight={24}
|
|
1596
1629
|
vbWidth={24}
|
|
1597
1630
|
width={24}
|
|
1598
1631
|
>
|
|
1599
|
-
<RNSVGGroup
|
|
1632
|
+
<RNSVGGroup
|
|
1633
|
+
fill={
|
|
1634
|
+
{
|
|
1635
|
+
"payload": 4278190080,
|
|
1636
|
+
"type": 0,
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
>
|
|
1600
1640
|
<RNSVGPath
|
|
1601
1641
|
clipRule={0}
|
|
1602
1642
|
d="M12 24c6.629 0 12-5.371 12-12S18.629 0 12 0C5.375 0 0 5.371 0 12s5.375 12 12 12Zm.033-10.97c-.997 0-1.818-.336-2.463-1.014-.646-.674-.968-1.51-.968-2.507 0-1.001.322-1.83.964-2.492.64-.662 1.458-.992 2.458-.992.997 0 1.81.334 2.435 1.017.625.678.94 1.51.94 2.511 0 .993-.315 1.822-.94 2.484-.625.657-1.43.992-2.426.992Zm-3.431 4.905c0-1.001.322-1.83.96-2.492.64-.662 1.458-.992 2.467-.992.996 0 1.809.335 2.43 1.017.625.682.94 1.515.94 2.512l-6.797-.045Z"
|
|
1603
1643
|
fill={
|
|
1604
|
-
|
|
1605
|
-
2,
|
|
1606
|
-
|
|
1644
|
+
{
|
|
1645
|
+
"type": 2,
|
|
1646
|
+
}
|
|
1607
1647
|
}
|
|
1608
1648
|
fillRule={0}
|
|
1609
1649
|
propList={
|
|
@@ -1692,7 +1732,6 @@ exports[`Test Buttons Components IconButtonSolid Snapshot 1`] = `
|
|
|
1692
1732
|
align="xMidYMid"
|
|
1693
1733
|
bbHeight={24}
|
|
1694
1734
|
bbWidth={24}
|
|
1695
|
-
color={4294967295}
|
|
1696
1735
|
focusable={false}
|
|
1697
1736
|
height={24}
|
|
1698
1737
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -1715,19 +1754,26 @@ exports[`Test Buttons Components IconButtonSolid Snapshot 1`] = `
|
|
|
1715
1754
|
},
|
|
1716
1755
|
]
|
|
1717
1756
|
}
|
|
1718
|
-
tintColor=
|
|
1757
|
+
tintColor="#FFFFFF"
|
|
1719
1758
|
vbHeight={24}
|
|
1720
1759
|
vbWidth={24}
|
|
1721
1760
|
width={24}
|
|
1722
1761
|
>
|
|
1723
|
-
<RNSVGGroup
|
|
1762
|
+
<RNSVGGroup
|
|
1763
|
+
fill={
|
|
1764
|
+
{
|
|
1765
|
+
"payload": 4278190080,
|
|
1766
|
+
"type": 0,
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
>
|
|
1724
1770
|
<RNSVGPath
|
|
1725
1771
|
clipRule={0}
|
|
1726
1772
|
d="M12 24c6.629 0 12-5.371 12-12S18.629 0 12 0C5.375 0 0 5.371 0 12s5.375 12 12 12Zm.033-10.97c-.997 0-1.818-.336-2.463-1.014-.646-.674-.968-1.51-.968-2.507 0-1.001.322-1.83.964-2.492.64-.662 1.458-.992 2.458-.992.997 0 1.81.334 2.435 1.017.625.678.94 1.51.94 2.511 0 .993-.315 1.822-.94 2.484-.625.657-1.43.992-2.426.992Zm-3.431 4.905c0-1.001.322-1.83.96-2.492.64-.662 1.458-.992 2.467-.992.996 0 1.809.335 2.43 1.017.625.682.94 1.515.94 2.512l-6.797-.045Z"
|
|
1727
1773
|
fill={
|
|
1728
|
-
|
|
1729
|
-
2,
|
|
1730
|
-
|
|
1774
|
+
{
|
|
1775
|
+
"type": 2,
|
|
1776
|
+
}
|
|
1731
1777
|
}
|
|
1732
1778
|
fillRule={0}
|
|
1733
1779
|
propList={
|
|
@@ -105,10 +105,11 @@ export const AnimatedCheckbox = ({ checked, onPress, disabled }: OwnProps) => {
|
|
|
105
105
|
|
|
106
106
|
return (
|
|
107
107
|
<Pressable
|
|
108
|
+
accessible={false}
|
|
108
109
|
disabled={disabled}
|
|
109
|
-
testID="AnimatedCheckboxInput"
|
|
110
110
|
onPress={onPress}
|
|
111
111
|
style={styles.checkBoxWrapper}
|
|
112
|
+
testID="AnimatedCheckboxInput"
|
|
112
113
|
>
|
|
113
114
|
<View
|
|
114
115
|
style={[
|
|
@@ -55,7 +55,7 @@ export const AnimatedMessageCheckbox = ({
|
|
|
55
55
|
const isChecked = checked ?? true;
|
|
56
56
|
const { isExperimental } = useIOExperimentalDesign();
|
|
57
57
|
|
|
58
|
-
const
|
|
58
|
+
const shapeAnimationProgress = useSharedValue(checked ? 1 : 0);
|
|
59
59
|
const tickAnimationProgress = useSharedValue(checked ? 1 : 0);
|
|
60
60
|
const backgroundColorOnState =
|
|
61
61
|
IOColors[IOSelectionTickVisualParams.bgColorOnState];
|
|
@@ -68,7 +68,7 @@ export const AnimatedMessageCheckbox = ({
|
|
|
68
68
|
|
|
69
69
|
useEffect(() => {
|
|
70
70
|
// eslint-disable-next-line functional/immutable-data
|
|
71
|
-
|
|
71
|
+
shapeAnimationProgress.value = withSpring(
|
|
72
72
|
checked ? 1 : 0,
|
|
73
73
|
IOSpringValues.selection
|
|
74
74
|
);
|
|
@@ -77,11 +77,11 @@ export const AnimatedMessageCheckbox = ({
|
|
|
77
77
|
duration: 250,
|
|
78
78
|
easing: Easing.out(Easing.cubic)
|
|
79
79
|
});
|
|
80
|
-
}, [checked,
|
|
80
|
+
}, [checked, shapeAnimationProgress, tickAnimationProgress]);
|
|
81
81
|
|
|
82
|
-
const
|
|
83
|
-
const scale = interpolate(
|
|
84
|
-
const opacity =
|
|
82
|
+
const animatedCheckboxShape = useAnimatedStyle(() => {
|
|
83
|
+
const scale = interpolate(shapeAnimationProgress.value, [0, 1], [0.8, 1]);
|
|
84
|
+
const opacity = shapeAnimationProgress.value;
|
|
85
85
|
|
|
86
86
|
return {
|
|
87
87
|
opacity,
|
|
@@ -91,6 +91,8 @@ export const AnimatedMessageCheckbox = ({
|
|
|
91
91
|
|
|
92
92
|
return (
|
|
93
93
|
<Pressable
|
|
94
|
+
accessibilityRole="checkbox"
|
|
95
|
+
accessibilityState={{ checked }}
|
|
94
96
|
testID="AnimatedMessageCheckboxInput"
|
|
95
97
|
onPress={onPress}
|
|
96
98
|
style={styles.checkBoxWrapper}
|
|
@@ -101,7 +103,7 @@ export const AnimatedMessageCheckbox = ({
|
|
|
101
103
|
{
|
|
102
104
|
backgroundColor: backgroundColorProp
|
|
103
105
|
},
|
|
104
|
-
|
|
106
|
+
animatedCheckboxShape
|
|
105
107
|
]}
|
|
106
108
|
/>
|
|
107
109
|
{isChecked && (
|
|
@@ -56,6 +56,11 @@ export const CheckboxLabel = ({
|
|
|
56
56
|
alignSelf: "flex-start",
|
|
57
57
|
opacity: disabled ? DISABLED_OPACITY : 1
|
|
58
58
|
}}
|
|
59
|
+
accessibilityRole="checkbox"
|
|
60
|
+
accessibilityState={{
|
|
61
|
+
checked: checked ?? toggleValue,
|
|
62
|
+
disabled: !!disabled
|
|
63
|
+
}}
|
|
59
64
|
// This is required to avoid opacity
|
|
60
65
|
// inheritance on Android
|
|
61
66
|
needsOffscreenAlphaCompositing={true}
|
|
@@ -44,6 +44,11 @@ export const IOImage = ({
|
|
|
44
44
|
);
|
|
45
45
|
|
|
46
46
|
return (
|
|
47
|
-
<Image
|
|
47
|
+
<Image
|
|
48
|
+
accessibilityIgnoresInvertColors
|
|
49
|
+
{...imageProps}
|
|
50
|
+
style={[styles.image, aspectRatioStyle]}
|
|
51
|
+
alt={alt}
|
|
52
|
+
/>
|
|
48
53
|
);
|
|
49
54
|
};
|
|
@@ -30,9 +30,9 @@ import {
|
|
|
30
30
|
import { WithTestID } from "../../utils/types";
|
|
31
31
|
import { Badge } from "../badge";
|
|
32
32
|
import { IOIcons, Icon } from "../icons";
|
|
33
|
+
import { LoadingSpinner } from "../loadingSpinner";
|
|
33
34
|
import { HSpacer, VSpacer } from "../spacer";
|
|
34
35
|
import { Caption, H6, LabelSmall } from "../typography";
|
|
35
|
-
import { LoadingSpinner } from "../loadingSpinner";
|
|
36
36
|
|
|
37
37
|
type ListItemTopElementProps =
|
|
38
38
|
| {
|
|
@@ -219,6 +219,7 @@ export const ListItemNav = ({
|
|
|
219
219
|
{paymentLogoUri && (
|
|
220
220
|
<View style={{ marginRight: IOListItemVisualParams.iconMargin }}>
|
|
221
221
|
<Image
|
|
222
|
+
accessibilityIgnoresInvertColors
|
|
222
223
|
source={{ uri: paymentLogoUri }}
|
|
223
224
|
style={styles.paymentLogoSize}
|
|
224
225
|
/>
|