@pagopa/io-app-design-system 5.3.9 → 5.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/lib/commonjs/components/accordion/AccordionItem.js +4 -2
- package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
- package/lib/commonjs/components/alert/Alert.js +5 -11
- package/lib/commonjs/components/alert/Alert.js.map +1 -1
- package/lib/commonjs/components/alert/AlertEdgeToEdge.js +3 -2
- package/lib/commonjs/components/alert/AlertEdgeToEdge.js.map +1 -1
- package/lib/commonjs/components/alert/AlertEdgeToEdgeWrapper.js +3 -2
- package/lib/commonjs/components/alert/AlertEdgeToEdgeWrapper.js.map +1 -1
- 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 +2 -3
- 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 +6 -402
- 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 +13 -30
- 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/layout/ModalBSHeader.js +3 -1
- package/lib/commonjs/components/layout/ModalBSHeader.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemAmount.js +3 -1
- package/lib/commonjs/components/listitems/ListItemAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemCheckbox.js +3 -2
- package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemHeader.js +4 -2
- package/lib/commonjs/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js +3 -1
- package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.js +3 -1
- package/lib/commonjs/components/listitems/ListItemInfoCopy.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/ListItemNavAlert.js +3 -1
- package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadio.js +10 -2
- package/lib/commonjs/components/listitems/ListItemRadio.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 +42 -96
- package/lib/commonjs/components/otpInput/OTPInput.js +3 -3
- package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
- package/lib/commonjs/components/radio/RadioButtonLabel.js +3 -3
- package/lib/commonjs/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/commonjs/components/stepper/Stepper.js +5 -2
- package/lib/commonjs/components/stepper/Stepper.js.map +1 -1
- 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 +3 -53
- package/lib/commonjs/core/IOStyles.js.map +1 -1
- package/lib/module/components/accordion/AccordionItem.js +5 -3
- package/lib/module/components/accordion/AccordionItem.js.map +1 -1
- package/lib/module/components/alert/Alert.js +6 -12
- package/lib/module/components/alert/Alert.js.map +1 -1
- package/lib/module/components/alert/AlertEdgeToEdge.js +3 -2
- package/lib/module/components/alert/AlertEdgeToEdge.js.map +1 -1
- package/lib/module/components/alert/AlertEdgeToEdgeWrapper.js +3 -2
- package/lib/module/components/alert/AlertEdgeToEdgeWrapper.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 +4 -5
- 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 +6 -402
- 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 +13 -30
- 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/layout/ModalBSHeader.js +4 -2
- package/lib/module/components/layout/ModalBSHeader.js.map +1 -1
- package/lib/module/components/listitems/ListItemAmount.js +4 -2
- package/lib/module/components/listitems/ListItemAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemCheckbox.js +4 -3
- package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
- package/lib/module/components/listitems/ListItemHeader.js +5 -3
- package/lib/module/components/listitems/ListItemHeader.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfo.js +4 -2
- package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
- package/lib/module/components/listitems/ListItemInfoCopy.js +4 -2
- package/lib/module/components/listitems/ListItemInfoCopy.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/ListItemNavAlert.js +4 -2
- package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadio.js +11 -3
- package/lib/module/components/listitems/ListItemRadio.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 +42 -96
- package/lib/module/components/otpInput/OTPInput.js +3 -3
- package/lib/module/components/otpInput/OTPInput.js.map +1 -1
- package/lib/module/components/radio/RadioButtonLabel.js +3 -3
- package/lib/module/components/radio/RadioButtonLabel.js.map +1 -1
- package/lib/module/components/stepper/Stepper.js +6 -3
- package/lib/module/components/stepper/Stepper.js.map +1 -1
- 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 +3 -53
- package/lib/module/core/IOStyles.js.map +1 -1
- package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -1
- package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
- package/lib/typescript/components/alert/AlertEdgeToEdge.d.ts.map +1 -1
- package/lib/typescript/components/alert/AlertEdgeToEdgeWrapper.d.ts.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/listitems/ListItemAmount.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemCheckbox.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemHeader.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemInfo.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemInfoCopy.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemNavAlert.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadio.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/otpInput/OTPInput.d.ts.map +1 -1
- package/lib/typescript/components/radio/RadioButtonLabel.d.ts.map +1 -1
- package/lib/typescript/components/stepper/Stepper.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 -47
- package/lib/typescript/core/IOStyles.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/accordion/AccordionItem.tsx +7 -14
- package/src/components/alert/Alert.tsx +7 -21
- package/src/components/alert/AlertEdgeToEdge.tsx +1 -2
- package/src/components/alert/AlertEdgeToEdgeWrapper.tsx +1 -2
- 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 +4 -9
- package/src/components/buttons/IconButtonContained.tsx +3 -6
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -402
- 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 +13 -30
- 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/layout/ModalBSHeader.tsx +2 -2
- package/src/components/listitems/ListItemAmount.tsx +1 -2
- package/src/components/listitems/ListItemCheckbox.tsx +8 -11
- package/src/components/listitems/ListItemHeader.tsx +2 -3
- package/src/components/listitems/ListItemInfo.tsx +1 -2
- package/src/components/listitems/ListItemInfoCopy.tsx +1 -2
- package/src/components/listitems/ListItemNav.tsx +1 -1
- package/src/components/listitems/ListItemNavAlert.tsx +1 -2
- package/src/components/listitems/ListItemRadio.tsx +7 -7
- 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 +42 -96
- package/src/components/otpInput/OTPInput.tsx +1 -2
- package/src/components/radio/RadioButtonLabel.tsx +7 -10
- package/src/components/stepper/Stepper.tsx +7 -12
- package/src/components/typography/IOText.tsx +3 -0
- package/src/core/IOStyles.ts +3 -55
|
@@ -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
|
]
|
|
@@ -880,15 +840,13 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
880
840
|
<View
|
|
881
841
|
style={
|
|
882
842
|
[
|
|
883
|
-
{
|
|
884
|
-
"height": 24,
|
|
885
|
-
"width": 24,
|
|
886
|
-
},
|
|
887
843
|
{
|
|
888
844
|
"alignItems": "center",
|
|
845
|
+
"justifyContent": "center",
|
|
889
846
|
},
|
|
890
847
|
{
|
|
891
|
-
"
|
|
848
|
+
"height": 24,
|
|
849
|
+
"width": 24,
|
|
892
850
|
},
|
|
893
851
|
{
|
|
894
852
|
"transform": [
|
|
@@ -907,6 +865,7 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
907
865
|
align="xMidYMid"
|
|
908
866
|
bbHeight={24}
|
|
909
867
|
bbWidth={24}
|
|
868
|
+
color="#FFFFFF"
|
|
910
869
|
focusable={false}
|
|
911
870
|
height={24}
|
|
912
871
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -919,9 +878,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
919
878
|
"backgroundColor": "transparent",
|
|
920
879
|
"borderWidth": 0,
|
|
921
880
|
},
|
|
922
|
-
{
|
|
923
|
-
"color": "#FFFFFF",
|
|
924
|
-
},
|
|
925
881
|
{
|
|
926
882
|
"flex": 0,
|
|
927
883
|
"height": 24,
|
|
@@ -934,7 +890,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
934
890
|
width={24}
|
|
935
891
|
>
|
|
936
892
|
<RNSVGGroup
|
|
937
|
-
color="#FFFFFF"
|
|
938
893
|
fill={
|
|
939
894
|
{
|
|
940
895
|
"payload": 4278190080,
|
|
@@ -1000,11 +955,9 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1000
955
|
[
|
|
1001
956
|
{
|
|
1002
957
|
"alignItems": "center",
|
|
958
|
+
"borderRadius": 28,
|
|
1003
959
|
"justifyContent": "center",
|
|
1004
960
|
},
|
|
1005
|
-
{
|
|
1006
|
-
"borderRadius": 100,
|
|
1007
|
-
},
|
|
1008
961
|
{
|
|
1009
962
|
"height": 56,
|
|
1010
963
|
"width": 56,
|
|
@@ -1055,8 +1008,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1055
1008
|
},
|
|
1056
1009
|
{
|
|
1057
1010
|
"alignItems": "center",
|
|
1058
|
-
},
|
|
1059
|
-
{
|
|
1060
1011
|
"justifyContent": "center",
|
|
1061
1012
|
},
|
|
1062
1013
|
]
|
|
@@ -1099,15 +1050,13 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1099
1050
|
<View
|
|
1100
1051
|
style={
|
|
1101
1052
|
[
|
|
1102
|
-
{
|
|
1103
|
-
"height": 24,
|
|
1104
|
-
"width": 24,
|
|
1105
|
-
},
|
|
1106
1053
|
{
|
|
1107
1054
|
"alignItems": "center",
|
|
1055
|
+
"justifyContent": "center",
|
|
1108
1056
|
},
|
|
1109
1057
|
{
|
|
1110
|
-
"
|
|
1058
|
+
"height": 24,
|
|
1059
|
+
"width": 24,
|
|
1111
1060
|
},
|
|
1112
1061
|
{
|
|
1113
1062
|
"transform": [
|
|
@@ -1126,6 +1075,7 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1126
1075
|
align="xMidYMid"
|
|
1127
1076
|
bbHeight={24}
|
|
1128
1077
|
bbWidth={24}
|
|
1078
|
+
color="#FFFFFF"
|
|
1129
1079
|
focusable={false}
|
|
1130
1080
|
height={24}
|
|
1131
1081
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -1138,9 +1088,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1138
1088
|
"backgroundColor": "transparent",
|
|
1139
1089
|
"borderWidth": 0,
|
|
1140
1090
|
},
|
|
1141
|
-
{
|
|
1142
|
-
"color": "#FFFFFF",
|
|
1143
|
-
},
|
|
1144
1091
|
{
|
|
1145
1092
|
"flex": 0,
|
|
1146
1093
|
"height": 24,
|
|
@@ -1153,7 +1100,6 @@ exports[`NumberPad Should match the snapshot 1`] = `
|
|
|
1153
1100
|
width={24}
|
|
1154
1101
|
>
|
|
1155
1102
|
<RNSVGGroup
|
|
1156
|
-
color="#FFFFFF"
|
|
1157
1103
|
fill={
|
|
1158
1104
|
{
|
|
1159
1105
|
"payload": 4278190080,
|
|
@@ -8,7 +8,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
8
8
|
var React = _react;
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _reactNativeReanimated = _interopRequireDefault(require("react-native-reanimated"));
|
|
11
|
-
var _IOStyles = require("../../core/IOStyles");
|
|
12
11
|
var _core = require("../../core");
|
|
13
12
|
var _functions = require("../../functions");
|
|
14
13
|
var _useErrorShakeAnimation = require("../../utils/hooks/useErrorShakeAnimation");
|
|
@@ -112,9 +111,10 @@ const OTPInput = exports.OTPInput = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
112
111
|
setHasFocus(true);
|
|
113
112
|
},
|
|
114
113
|
ref: ref,
|
|
115
|
-
style:
|
|
114
|
+
style: {
|
|
115
|
+
flexDirection: "row",
|
|
116
116
|
justifyContent: "space-around"
|
|
117
|
-
}
|
|
117
|
+
},
|
|
118
118
|
accessible: true,
|
|
119
119
|
accessibilityLabel: accessibilityLabel,
|
|
120
120
|
accessibilityHint: accessibilityHint,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","React","_reactNative","_reactNativeReanimated","_interopRequireDefault","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","React","_reactNative","_reactNativeReanimated","_interopRequireDefault","_core","_functions","_useErrorShakeAnimation","_spacer","_typography","_BoxedInput","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","OTPInput","exports","forwardRef","value","onValueChange","length","accessibilityLabel","accessibilityHint","onValidate","errorMessage","secret","autocomplete","inputAccessoryViewID","autoFocus","deleteButtonAccessibilityLabel","ref","hasFocus","setHasFocus","useState","hasError","setHasError","theme","useIOTheme","translate","animatedStyle","shakeAnimation","useErrorShakeAnimation","inputRef","createRef","timerRef","useRef","handleValidate","val","isValid","triggerHaptic","current","clearTimeout","setTimeout","useEffect","handleChange","handleKeyPress","nativeEvent","key","AccessibilityInfo","announceForAccessibility","jsxs","View","style","flexGrow","children","Pressable","onPress","focus","flexDirection","justifyContent","accessible","accessibilityValue","text","jsx","TextInput","onChangeText","onKeyPress","position","opacity","maxLength","onBlur","keyboardType","inputMode","returnKeyType","textContentType","autoComplete","undefined","secureTextEntry","Array","map","_","BoxedInput","status","VSpacer","size","BodySmall","weight","color","errorText","textAlign"],"sourceRoot":"../../../../src","sources":["components/otpInput/OTPInput.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA+B,IAAAC,KAAA,GAAAH,MAAA;AAE/B,IAAAI,YAAA,GAAAF,OAAA;AAQA,IAAAG,sBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,UAAA,GAAAN,OAAA;AACA,IAAAO,uBAAA,GAAAP,OAAA;AACA,IAAAQ,OAAA,GAAAR,OAAA;AACA,IAAAS,WAAA,GAAAT,OAAA;AACA,IAAAU,WAAA,GAAAV,OAAA;AAA0C,IAAAW,WAAA,GAAAX,OAAA;AAAA,SAAAI,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,yBAAAH,CAAA,6BAAAI,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAD,wBAAA,YAAAA,CAAAH,CAAA,WAAAA,CAAA,GAAAM,CAAA,GAAAD,CAAA,KAAAL,CAAA;AAAA,SAAAb,wBAAAa,CAAA,EAAAK,CAAA,SAAAA,CAAA,IAAAL,CAAA,IAAAA,CAAA,CAAAC,UAAA,SAAAD,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAE,OAAA,EAAAF,CAAA,QAAAM,CAAA,GAAAH,wBAAA,CAAAE,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAC,GAAA,CAAAP,CAAA,UAAAM,CAAA,CAAAE,GAAA,CAAAR,CAAA,OAAAS,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,I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AqB;QAC3C2C,UAAU,EAAE,IAAK;QACjB1C,SAAS,EAAEA,SAAU;QACrB2D,eAAe,EAAE;MAAK,CACvB,CAAC,EACD,CAAC,GAAGC,KAAK,CAACpE,MAAM,CAAC,CAAC,CAACqE,GAAG,CAAC,CAACC,CAAC,EAAE7E,CAAC,kBAC3B,IAAAnB,WAAA,CAAA+E,GAAA,EAAChF,WAAA,CAAAkG,UAAU;QAETC,MAAM,EACJ1D,QAAQ,GACJ,OAAO,GACPH,QAAQ,IAAIb,KAAK,CAACE,MAAM,KAAKP,CAAC,GAC9B,OAAO,GACP,SACL;QACDY,MAAM,EAAEA,MAAO;QACfP,KAAK,EAAEA,KAAK,CAACL,CAAC;MAAE,GATXA,CAUN,CACF,CAAC;IAAA,CACO,CAAC,eACZ,IAAAnB,WAAA,CAAA+E,GAAA,EAAClF,OAAA,CAAAsG,OAAO;MAACC,IAAI,EAAE;IAAE,CAAE,CAAC,EACnB5D,QAAQ,IAAIV,YAAY,iBACvB,IAAA9B,WAAA,CAAA+E,GAAA,EAACjF,WAAA,CAAAuG,SAAS;MACRC,MAAM,EAAC,UAAU;MACjBC,KAAK,EAAE7D,KAAK,CAAC8D,SAAU;MACvBpC,KAAK,EAAE;QAAEqC,SAAS,EAAE;MAAS,CAAE;MAAAnC,QAAA,EAE9BxC;IAAY,CACJ,CACZ;EAAA,CACY,CAAC;AAEpB,CACF,CAAC","ignoreList":[]}
|
|
@@ -8,7 +8,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
8
8
|
var React = _react;
|
|
9
9
|
var _reactNative = require("react-native");
|
|
10
10
|
var _core = require("../../core");
|
|
11
|
-
var _IOStyles = require("../../core/IOStyles");
|
|
12
11
|
var _hapticFeedback = require("../../functions/haptic-feedback/hapticFeedback");
|
|
13
12
|
var _accessibility = require("../../utils/accessibility");
|
|
14
13
|
var _H = require("../typography/H6");
|
|
@@ -61,12 +60,13 @@ const RadioButtonLabel = ({
|
|
|
61
60
|
accessibilityHint: accessibilityHint,
|
|
62
61
|
testID: "AnimatedRadioButton",
|
|
63
62
|
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
|
|
64
|
-
style:
|
|
63
|
+
style: {
|
|
64
|
+
flexDirection: "row",
|
|
65
65
|
alignItems: "flex-start",
|
|
66
66
|
flexShrink: 1,
|
|
67
67
|
width: "100%",
|
|
68
68
|
columnGap: 8 * dynamicFontScale * spacingScaleMultiplier
|
|
69
|
-
}
|
|
69
|
+
},
|
|
70
70
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
71
71
|
pointerEvents: "none",
|
|
72
72
|
accessibilityElementsHidden: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","React","_reactNative","_core","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","React","_reactNative","_core","_hapticFeedback","_accessibility","_H","_AnimatedRadio","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","DISABLED_OPACITY","RadioButtonLabel","label","checked","disabled","onValueChange","accessibilityLabel","accessibilityHint","dynamicFontScale","spacingScaleMultiplier","useIOFontDynamicScale","theme","useIOTheme","toggleValue","setToggleValue","useState","toggleRadioButton","triggerHaptic","undefined","jsx","Pressable","onPress","style","alignSelf","opacity","accessibilityRole","accessibilityState","testID","children","jsxs","View","flexDirection","alignItems","flexShrink","width","columnGap","pointerEvents","accessibilityElementsHidden","importantForAccessibility","AnimatedRadio","size","IOSelectionTickVisualParams","H6","color","exports"],"sourceRoot":"../../../../src","sources":["components/radio/RadioButtonLabel.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA+B,IAAAC,KAAA,GAAAH,MAAA;AAE/B,IAAAI,YAAA,GAAAF,OAAA;AACA,IAAAG,KAAA,GAAAH,OAAA;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C,UAAU,EAAE,YAAY;QACxBC,UAAU,EAAE,CAAC;QACbC,KAAK,EAAE,MAAM;QACbC,SAAS,EAAE,CAAC,GAAG3B,gBAAgB,GAAGC;MACpC,CAAE;MAAAmB,QAAA,gBAEF,IAAAjD,WAAA,CAAAwC,GAAA,EAAC9C,YAAA,CAAAyD,IAAI;QACHM,aAAa,EAAC,MAAM;QACpBC,2BAA2B;QAC3BC,yBAAyB,EAAC,qBAAqB;QAAAV,QAAA,eAE/C,IAAAjD,WAAA,CAAAwC,GAAA,EAACzC,cAAA,CAAA6D,aAAa;UACZC,IAAI,EAAEC,iCAA2B,CAACD,IAAI,GAAGhC,gBAAiB;UAC1DL,OAAO,EAAEA,OAAO,IAAIU;QAAY,CACjC;MAAC,CACE,CAAC,eACP,IAAAlC,WAAA,CAAAwC,GAAA,EAAC1C,EAAA,CAAAiE,EAAE;QAACpB,KAAK,EAAE;UAAEW,UAAU,EAAE;QAAE,CAAE;QAACU,KAAK,EAAEhC,KAAK,CAAC,kBAAkB,CAAE;QAAAiB,QAAA,EAC5D1B;MAAK,CACJ,CAAC;IAAA,CACD;EAAC,CACE,CAAC;AAEhB,CAAC;AAAC0C,OAAA,CAAA3C,gBAAA,GAAAA,gBAAA","ignoreList":[]}
|
|
@@ -25,9 +25,12 @@ const Stepper = ({
|
|
|
25
25
|
paddingHorizontal: _core.IOVisualCostants.appMarginDefault
|
|
26
26
|
},
|
|
27
27
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
28
|
-
style:
|
|
28
|
+
style: {
|
|
29
|
+
flex: 1,
|
|
30
|
+
flexDirection: "row",
|
|
31
|
+
justifyContent: "space-between",
|
|
29
32
|
gap: STEPPER_SPACE
|
|
30
|
-
}
|
|
33
|
+
},
|
|
31
34
|
children: [...Array(steps)].map((_, i) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
32
35
|
style: {
|
|
33
36
|
borderRadius: 2,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_core","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Stepper","steps","currentStep","theme","useIOTheme","STEPPER_SPACE","colorMap","IOColors","active","jsx","View","style","paddingHorizontal","IOVisualCostants","appMarginDefault","children","
|
|
1
|
+
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_core","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Stepper","steps","currentStep","theme","useIOTheme","STEPPER_SPACE","colorMap","IOColors","active","jsx","View","style","paddingHorizontal","IOVisualCostants","appMarginDefault","children","flex","flexDirection","justifyContent","gap","Array","map","_","borderRadius","borderCurve","borderBottomColor","borderBottomWidth","exports"],"sourceRoot":"../../../../src","sources":["components/stepper/Stepper.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,KAAA,GAAAF,OAAA;AAA8E,IAAAG,WAAA,GAAAH,OAAA;AAAA,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,C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C,aAAa,EAAE,KAAK;QACpBC,cAAc,EAAE,eAAe;QAC/BC,GAAG,EAAEd;MACP,CAAE;MAAAU,QAAA,EAED,CAAC,GAAGK,KAAK,CAACnB,KAAK,CAAC,CAAC,CAACoB,GAAG,CAAC,CAACC,CAAC,EAAExB,CAAC,kBAC1B,IAAAnB,WAAA,CAAA8B,GAAA,EAAChC,YAAA,CAAAiC,IAAI;QAEHC,KAAK,EAAE;UACLY,YAAY,EAAE,CAAC;UACfC,WAAW,EAAE,YAAY;UACzBC,iBAAiB,EACf3B,CAAC,GAAGI,WAAW,GAAG,CAAC,GAAGI,QAAQ,CAACpB,OAAO,GAAGoB,QAAQ,CAACE,MAAM;UAC1DkB,iBAAiB,EAAE,CAAC;UACpBV,IAAI,EAAE;QACR;MAAE,GARGlB,CASN,CACF;IAAC,CACE;EAAC,CACH,CAAC;AAEX,CAAC;AAAC6B,OAAA,CAAA3B,OAAA,GAAAA,OAAA","ignoreList":[]}
|
|
@@ -3,13 +3,15 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.IOText = void 0;
|
|
6
|
+
exports.IOText = exports.AnimatedIOText = void 0;
|
|
7
7
|
var _react = _interopRequireWildcard(require("react"));
|
|
8
8
|
var _reactNative = require("react-native");
|
|
9
|
+
var _reactNativeReanimated = _interopRequireDefault(require("react-native-reanimated"));
|
|
9
10
|
var _core = require("../../core");
|
|
10
11
|
var _accessibility = require("../../utils/accessibility");
|
|
11
12
|
var _fonts = require("../../utils/fonts");
|
|
12
13
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
14
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
13
15
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
15
17
|
/**
|
|
@@ -96,4 +98,5 @@ const IOText = exports.IOText = /*#__PURE__*/(0, _react.forwardRef)(({
|
|
|
96
98
|
children: children
|
|
97
99
|
});
|
|
98
100
|
});
|
|
101
|
+
const AnimatedIOText = exports.AnimatedIOText = _reactNativeReanimated.default.createAnimatedComponent(IOText);
|
|
99
102
|
//# sourceMappingURL=IOText.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_core","_accessibility","_fonts","_jsxRuntime","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_interopRequireDefault","_core","_accessibility","_fonts","_jsxRuntime","e","__esModule","default","_getRequireWildcardCache","WeakMap","r","t","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","calculateTextStyle","color","args","makeFontStyleObject","IOColors","IOText","exports","forwardRef","size","font","lineHeight","weight","fontStyle","textStyle","style","children","allowFontScaling","maxFontSizeMultiplier","props","ref","theme","useIOTheme","boldEnabled","useBoldTextEnabled","computedStyleObj","useMemo","fontStyleObj","styleObj","accessibleFontSizeProps","IOMaxFontSizeMultiplier","jsx","Text","AnimatedIOText","Animated","createAnimatedComponent"],"sourceRoot":"../../../../src","sources":["components/typography/IOText.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAQA,IAAAE,sBAA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K,EAAEa,KAAK,EAAEb;EAAM,CAAC,CAAC,GAC9CuB,gBAAgB;;EAEpB;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,MAAMG,QAAQ,GAAGb,KAAK,GAClB,CAACD,SAAS,IAAI,CAAC,CAAC,EAAEa,YAAY,IAAI,CAAC,CAAC,EAAEZ,KAAK,CAAC,GAC5C,CAACD,SAAS,IAAI,CAAC,CAAC,EAAEa,YAAY,IAAI,CAAC,CAAC,CAAC;;EAEzC;EACA,MAAME,uBAAoD,GAAG;IAC3DZ,gBAAgB;IAChBC,qBAAqB,EAAEA,qBAAqB,IAAIY;EAClD,CAAC;EAED,oBACE,IAAAlD,WAAA,CAAAmD,GAAA,EAACzD,YAAA,CAAA0D,IAAI;IAACZ,GAAG,EAAEA,GAAI;IAACL,KAAK,EAAEa,QAAS;IAAA,GAAKT,KAAK;IAAA,GAAMU,uBAAuB;IAAAb,QAAA,EACpEA;EAAQ,CACL,CAAC;AAEX,CACF,CAAC;AAEM,MAAMiB,cAAc,GAAA1B,OAAA,CAAA0B,cAAA,GAAGC,8BAAQ,CAACC,uBAAuB,CAAC7B,MAAM,CAAC","ignoreList":[]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.iconBtnSizeSmall = exports.buttonSolidHeight = exports.IOVisualCostants = exports.IOStyles = exports.IOSelectionTickVisualParams = exports.IOSelectionListItemVisualParams = exports.IOSelectionListItemStyles = exports.IOModuleStyles = exports.IOListItemVisualParams = exports.IOListItemStyles = exports.IOIconButtonStyles = exports.IOButtonStyles = void 0;
|
|
7
7
|
var _reactNative = require("react-native");
|
|
8
8
|
var _IOColors = require("./IOColors");
|
|
9
9
|
var _IOShapes = require("./IOShapes");
|
|
@@ -25,31 +25,6 @@ const IOVisualCostants = exports.IOVisualCostants = {
|
|
|
25
25
|
iconMargin: 12
|
|
26
26
|
};
|
|
27
27
|
const IOStyles = exports.IOStyles = _reactNative.StyleSheet.create({
|
|
28
|
-
flex: {
|
|
29
|
-
flex: 1
|
|
30
|
-
},
|
|
31
|
-
selfCenter: {
|
|
32
|
-
alignSelf: "center"
|
|
33
|
-
},
|
|
34
|
-
alignCenter: {
|
|
35
|
-
alignItems: "center"
|
|
36
|
-
},
|
|
37
|
-
horizontalContentPadding: {
|
|
38
|
-
paddingHorizontal: IOVisualCostants.appMarginDefault
|
|
39
|
-
},
|
|
40
|
-
row: {
|
|
41
|
-
flexDirection: "row"
|
|
42
|
-
},
|
|
43
|
-
column: {
|
|
44
|
-
flexDirection: "column"
|
|
45
|
-
},
|
|
46
|
-
rowSpaceBetween: {
|
|
47
|
-
flexDirection: "row",
|
|
48
|
-
justifyContent: "space-between"
|
|
49
|
-
},
|
|
50
|
-
centerJustified: {
|
|
51
|
-
justifyContent: "center"
|
|
52
|
-
},
|
|
53
28
|
// The following styles come from the original
|
|
54
29
|
// NativeBase's `View`. They are moved here to
|
|
55
30
|
// prevent UI regressions.
|
|
@@ -67,14 +42,6 @@ const IOStyles = exports.IOStyles = _reactNative.StyleSheet.create({
|
|
|
67
42
|
shadowOpacity: 0.5,
|
|
68
43
|
shadowRadius: 37,
|
|
69
44
|
elevation: 20 // Prop supported on Android only
|
|
70
|
-
},
|
|
71
|
-
bgWhite: {
|
|
72
|
-
backgroundColor: _IOColors.IOColors.white
|
|
73
|
-
// https://github.com/pagopa/io-app/pull/4387
|
|
74
|
-
},
|
|
75
|
-
topListBorderBelowTabsStyle: {
|
|
76
|
-
borderTopWidth: _reactNative.Platform.OS === "android" ? 0.1 : undefined,
|
|
77
|
-
elevation: 0.1
|
|
78
45
|
}
|
|
79
46
|
});
|
|
80
47
|
|
|
@@ -94,11 +61,11 @@ const buttonSolidHeight = exports.buttonSolidHeight = btnSizeDefault;
|
|
|
94
61
|
|
|
95
62
|
// TODO: Replace the number type with the new IOIconSizeScale
|
|
96
63
|
const iconBtnSizeSmall = exports.iconBtnSizeSmall = 24;
|
|
97
|
-
const numberPadBtnSize = exports.numberPadBtnSize = 56;
|
|
98
64
|
const IOButtonStyles = exports.IOButtonStyles = _reactNative.StyleSheet.create({
|
|
99
65
|
/* BaseButton, used in the:
|
|
100
66
|
ButtonSolid, ButtonOutline
|
|
101
67
|
*/
|
|
68
|
+
/* DELETE THIS, ONCE WE REMOVE `ButtonSolid`, `ButtonOutline` COMPONENTS */
|
|
102
69
|
button: {
|
|
103
70
|
flexDirection: "row",
|
|
104
71
|
alignItems: "center",
|
|
@@ -155,9 +122,7 @@ const IOIconButtonStyles = exports.IOIconButtonStyles = _reactNative.StyleSheet.
|
|
|
155
122
|
/* IconButton */
|
|
156
123
|
button: {
|
|
157
124
|
alignItems: "center",
|
|
158
|
-
justifyContent: "center"
|
|
159
|
-
// Reset default visual parameters
|
|
160
|
-
elevation: 0
|
|
125
|
+
justifyContent: "center"
|
|
161
126
|
},
|
|
162
127
|
buttonSizeSmall: {
|
|
163
128
|
width: iconBtnSizeSmall,
|
|
@@ -174,21 +139,6 @@ const IOIconButtonStyles = exports.IOIconButtonStyles = _reactNative.StyleSheet.
|
|
|
174
139
|
borderRadius: btnSizeLarge
|
|
175
140
|
}
|
|
176
141
|
});
|
|
177
|
-
const IONumberPadButtonStyles = exports.IONumberPadButtonStyles = _reactNative.StyleSheet.create({
|
|
178
|
-
/* IconButton */
|
|
179
|
-
button: {
|
|
180
|
-
alignItems: "center",
|
|
181
|
-
justifyContent: "center"
|
|
182
|
-
},
|
|
183
|
-
circularShape: {
|
|
184
|
-
// Circular shape
|
|
185
|
-
borderRadius: 100
|
|
186
|
-
},
|
|
187
|
-
buttonSize: {
|
|
188
|
-
width: numberPadBtnSize,
|
|
189
|
-
height: numberPadBtnSize
|
|
190
|
-
}
|
|
191
|
-
});
|
|
192
142
|
|
|
193
143
|
/**
|
|
194
144
|
* LIST ITEM STYLES
|