@pagopa/io-app-design-system 5.3.8 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -2
- package/lib/commonjs/components/buttons/ButtonLink.js +5 -2
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +20 -15
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +4 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/IOButton/IOButton.js +230 -0
- package/lib/commonjs/components/buttons/IOButton/IOButton.js.map +1 -0
- package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js +43 -0
- package/lib/commonjs/components/buttons/IOButton/__test__/IOButton.test.js.map +1 -0
- package/lib/commonjs/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
- package/lib/commonjs/components/buttons/IOButton/index.js +17 -0
- package/lib/commonjs/components/buttons/IOButton/index.js.map +1 -0
- package/lib/commonjs/components/buttons/IOButton/styles.js +166 -0
- package/lib/commonjs/components/buttons/IOButton/styles.js.map +1 -0
- package/lib/commonjs/components/buttons/IconButton.js +1 -2
- package/lib/commonjs/components/buttons/IconButton.js.map +1 -1
- package/lib/commonjs/components/buttons/IconButtonContained.js +1 -2
- package/lib/commonjs/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -395
- package/lib/commonjs/components/buttons/__test__/button.test.js +0 -24
- package/lib/commonjs/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/commonjs/components/buttons/index.js +11 -0
- package/lib/commonjs/components/buttons/index.js.map +1 -1
- package/lib/commonjs/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +3 -12
- package/lib/commonjs/components/contentWrapper/ContentWrapper.js +6 -2
- package/lib/commonjs/components/contentWrapper/ContentWrapper.js.map +1 -1
- package/lib/commonjs/components/icons/Icon.js +11 -9
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/layout/FooterActions.js +10 -9
- package/lib/commonjs/components/layout/FooterActions.js.map +1 -1
- package/lib/commonjs/components/layout/FooterActionsInline.js +8 -8
- package/lib/commonjs/components/layout/FooterActionsInline.js.map +1 -1
- package/lib/commonjs/components/layout/GradientBottomActions.js +8 -8
- package/lib/commonjs/components/layout/GradientBottomActions.js.map +1 -1
- package/lib/commonjs/components/layout/GradientScrollView.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js +1 -1
- package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js +6 -6
- package/lib/commonjs/components/loadingSpinner/LoadingSpinner.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberButton.js +15 -2
- package/lib/commonjs/components/numberpad/NumberButton.js.map +1 -1
- package/lib/commonjs/components/numberpad/NumberPad.js +9 -6
- package/lib/commonjs/components/numberpad/NumberPad.js.map +1 -1
- package/lib/commonjs/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +36 -86
- package/lib/commonjs/components/typography/IOText.js +4 -1
- package/lib/commonjs/components/typography/IOText.js.map +1 -1
- package/lib/commonjs/core/IOStyles.js +2 -17
- package/lib/commonjs/core/IOStyles.js.map +1 -1
- package/lib/module/components/buttons/ButtonLink.js +6 -3
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +21 -16
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +4 -1
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/IOButton/IOButton.js +223 -0
- package/lib/module/components/buttons/IOButton/IOButton.js.map +1 -0
- package/lib/module/components/buttons/IOButton/__test__/IOButton.test.js +40 -0
- package/lib/module/components/buttons/IOButton/__test__/IOButton.test.js.map +1 -0
- package/lib/module/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
- package/lib/module/components/buttons/IOButton/index.js +4 -0
- package/lib/module/components/buttons/IOButton/index.js.map +1 -0
- package/lib/module/components/buttons/IOButton/styles.js +160 -0
- package/lib/module/components/buttons/IOButton/styles.js.map +1 -0
- package/lib/module/components/buttons/IconButton.js +2 -3
- package/lib/module/components/buttons/IconButton.js.map +1 -1
- package/lib/module/components/buttons/IconButtonContained.js +2 -3
- package/lib/module/components/buttons/IconButtonContained.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -395
- package/lib/module/components/buttons/__test__/button.test.js +0 -24
- package/lib/module/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/module/components/buttons/index.js +1 -0
- package/lib/module/components/buttons/index.js.map +1 -1
- package/lib/module/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +3 -12
- package/lib/module/components/contentWrapper/ContentWrapper.js +6 -2
- package/lib/module/components/contentWrapper/ContentWrapper.js.map +1 -1
- package/lib/module/components/icons/Icon.js +10 -7
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/layout/FooterActions.js +11 -10
- package/lib/module/components/layout/FooterActions.js.map +1 -1
- package/lib/module/components/layout/FooterActionsInline.js +9 -9
- package/lib/module/components/layout/FooterActionsInline.js.map +1 -1
- package/lib/module/components/layout/GradientBottomActions.js +9 -9
- package/lib/module/components/layout/GradientBottomActions.js.map +1 -1
- package/lib/module/components/layout/GradientScrollView.js.map +1 -1
- package/lib/module/components/listitems/ListItemNav.js +2 -2
- package/lib/module/components/listitems/ListItemNav.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
- package/lib/module/components/loadingSpinner/LoadingSpinner.js +6 -6
- package/lib/module/components/loadingSpinner/LoadingSpinner.js.map +1 -1
- package/lib/module/components/numberpad/NumberButton.js +16 -3
- package/lib/module/components/numberpad/NumberButton.js.map +1 -1
- package/lib/module/components/numberpad/NumberPad.js +10 -7
- package/lib/module/components/numberpad/NumberPad.js.map +1 -1
- package/lib/module/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +36 -86
- package/lib/module/components/typography/IOText.js +2 -0
- package/lib/module/components/typography/IOText.js.map +1 -1
- package/lib/module/core/IOStyles.js +1 -16
- package/lib/module/core/IOStyles.js.map +1 -1
- package/lib/typescript/components/buttons/ButtonLink.d.ts +3 -0
- package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts +3 -0
- package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts +3 -0
- package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IOButton/IOButton.d.ts +57 -0
- package/lib/typescript/components/buttons/IOButton/IOButton.d.ts.map +1 -0
- package/lib/typescript/components/buttons/IOButton/__test__/IOButton.test.d.ts +2 -0
- package/lib/typescript/components/buttons/IOButton/__test__/IOButton.test.d.ts.map +1 -0
- package/lib/typescript/components/buttons/IOButton/index.d.ts +2 -0
- package/lib/typescript/components/buttons/IOButton/index.d.ts.map +1 -0
- package/lib/typescript/components/buttons/IOButton/styles.d.ts +35 -0
- package/lib/typescript/components/buttons/IOButton/styles.d.ts.map +1 -0
- package/lib/typescript/components/buttons/IconButton.d.ts.map +1 -1
- package/lib/typescript/components/buttons/IconButtonContained.d.ts.map +1 -1
- package/lib/typescript/components/buttons/index.d.ts +1 -0
- package/lib/typescript/components/buttons/index.d.ts.map +1 -1
- package/lib/typescript/components/contentWrapper/ContentWrapper.d.ts +6 -4
- package/lib/typescript/components/contentWrapper/ContentWrapper.d.ts.map +1 -1
- package/lib/typescript/components/icons/Icon.d.ts +1 -4
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/icons/types.d.ts +3 -2
- package/lib/typescript/components/icons/types.d.ts.map +1 -1
- package/lib/typescript/components/layout/FooterActions.d.ts +10 -8
- package/lib/typescript/components/layout/FooterActions.d.ts.map +1 -1
- package/lib/typescript/components/layout/FooterActionsInline.d.ts +5 -4
- package/lib/typescript/components/layout/FooterActionsInline.d.ts.map +1 -1
- package/lib/typescript/components/layout/GradientBottomActions.d.ts +12 -6
- package/lib/typescript/components/layout/GradientBottomActions.d.ts.map +1 -1
- package/lib/typescript/components/layout/GradientScrollView.d.ts.map +1 -1
- package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts +2 -2
- package/lib/typescript/components/loadingSpinner/LoadingSpinner.d.ts.map +1 -1
- package/lib/typescript/components/numberpad/NumberButton.d.ts +11 -0
- package/lib/typescript/components/numberpad/NumberButton.d.ts.map +1 -1
- package/lib/typescript/components/numberpad/NumberPad.d.ts.map +1 -1
- package/lib/typescript/components/typography/IOText.d.ts +1 -0
- package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
- package/lib/typescript/core/IOStyles.d.ts +0 -14
- package/lib/typescript/core/IOStyles.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/buttons/ButtonLink.tsx +6 -6
- package/src/components/buttons/ButtonOutline.tsx +21 -21
- package/src/components/buttons/ButtonSolid.tsx +4 -1
- package/src/components/buttons/IOButton/IOButton.tsx +363 -0
- package/src/components/buttons/IOButton/__test__/IOButton.test.tsx +46 -0
- package/src/components/buttons/IOButton/__test__/__snapshots__/IOButton.test.tsx.snap +391 -0
- package/src/components/buttons/IOButton/index.tsx +1 -0
- package/src/components/buttons/IOButton/styles.tsx +228 -0
- package/src/components/buttons/IconButton.tsx +3 -6
- package/src/components/buttons/IconButtonContained.tsx +3 -6
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -395
- package/src/components/buttons/__test__/button.test.tsx +1 -33
- package/src/components/buttons/index.tsx +1 -0
- package/src/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +3 -12
- package/src/components/contentWrapper/ContentWrapper.tsx +18 -8
- package/src/components/icons/Icon.tsx +12 -3
- package/src/components/icons/types.ts +3 -2
- package/src/components/layout/FooterActions.tsx +26 -14
- package/src/components/layout/FooterActionsInline.tsx +19 -12
- package/src/components/layout/GradientBottomActions.tsx +17 -18
- package/src/components/layout/GradientScrollView.tsx +2 -1
- package/src/components/listitems/ListItemNav.tsx +1 -1
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -40
- package/src/components/loadingSpinner/LoadingSpinner.tsx +8 -8
- package/src/components/numberpad/NumberButton.tsx +18 -11
- package/src/components/numberpad/NumberPad.tsx +8 -10
- package/src/components/numberpad/__test__/__snapshots__/NumberPad.test.tsx.snap +36 -86
- package/src/components/typography/IOText.tsx +3 -0
- package/src/core/IOStyles.ts +1 -18
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_icons","_core","_hooks","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","mapColorStates","primary","background","hexToRgba","IOColors","pressed","disabled","icon","neutral","white","black","contrast","
|
|
1
|
+
{"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_reactNativeReanimated","_icons","_core","_hooks","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","mapColorStates","primary","background","hexToRgba","IOColors","pressed","disabled","icon","neutral","white","black","contrast","IconButtonContained","color","onPress","accessibilityLabel","accessibilityHint","testID","progress","onPressIn","onPressOut","scaleAnimatedStyle","useScaleAnimation","reducedMotion","useReducedMotion","backgroundColorAnimationStyle","useAnimatedStyle","backgroundColor","interpolateColor","value","iconColorAnimationStyle","useAnimatedProps","jsx","Pressable","accessibilityRole","accessibilityState","accessible","style","alignSelf","children","View","IOIconButtonStyles","button","buttonSizeDefault","AnimatedIconWithColorTransition","name","animatedProps","AnimatedIcon","exports","_default"],"sourceRoot":"../../../../src","sources":["components/buttons/IconButtonContained.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,sBAAA,GAAAH,uBAAA,CAAAC,OAAA;AAMA,IAAAG,MAAA,GAAAH,OAAA;AAKA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,MAAA,GAAAL,OAAA;AAAgD,IAAAM,WAAA,GAAAN,OAAA;AAAA,SAAAO,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,SAAAT,wBAAAS,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,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,OAAAC,cAAA,CAAAC,IAAA,CAAAhB,CAAA,EAAAc,CAAA,SAAAG,CAAA,GAAAP,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAA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Ea0B,mBAAmB","ignoreList":[]}
|
|
@@ -417,6 +417,7 @@ exports[`Test Buttons Components - Experimental Enabled IconButton Snapshot 1`]
|
|
|
417
417
|
align="xMidYMid"
|
|
418
418
|
bbHeight={24}
|
|
419
419
|
bbWidth={24}
|
|
420
|
+
color="#0B3EE3"
|
|
420
421
|
focusable={false}
|
|
421
422
|
height={24}
|
|
422
423
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -429,9 +430,6 @@ exports[`Test Buttons Components - Experimental Enabled IconButton Snapshot 1`]
|
|
|
429
430
|
"backgroundColor": "transparent",
|
|
430
431
|
"borderWidth": 0,
|
|
431
432
|
},
|
|
432
|
-
{
|
|
433
|
-
"color": "#0B3EE3",
|
|
434
|
-
},
|
|
435
433
|
{
|
|
436
434
|
"flex": 0,
|
|
437
435
|
"height": 24,
|
|
@@ -444,7 +442,6 @@ exports[`Test Buttons Components - Experimental Enabled IconButton Snapshot 1`]
|
|
|
444
442
|
width={24}
|
|
445
443
|
>
|
|
446
444
|
<RNSVGGroup
|
|
447
|
-
color="#0B3EE3"
|
|
448
445
|
fill={
|
|
449
446
|
{
|
|
450
447
|
"payload": 4278190080,
|
|
@@ -546,6 +543,7 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonContained Snap
|
|
|
546
543
|
align="xMidYMid"
|
|
547
544
|
bbHeight={24}
|
|
548
545
|
bbWidth={24}
|
|
546
|
+
color="#0B3EE3"
|
|
549
547
|
focusable={false}
|
|
550
548
|
height={24}
|
|
551
549
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -558,9 +556,6 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonContained Snap
|
|
|
558
556
|
"backgroundColor": "transparent",
|
|
559
557
|
"borderWidth": 0,
|
|
560
558
|
},
|
|
561
|
-
{
|
|
562
|
-
"color": "#0B3EE3",
|
|
563
|
-
},
|
|
564
559
|
{
|
|
565
560
|
"flex": 0,
|
|
566
561
|
"height": 24,
|
|
@@ -573,7 +568,6 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonContained Snap
|
|
|
573
568
|
width={24}
|
|
574
569
|
>
|
|
575
570
|
<RNSVGGroup
|
|
576
|
-
color="#0B3EE3"
|
|
577
571
|
fill={
|
|
578
572
|
{
|
|
579
573
|
"payload": 4278190080,
|
|
@@ -678,6 +672,7 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonSolid Snapshot
|
|
|
678
672
|
align="xMidYMid"
|
|
679
673
|
bbHeight={24}
|
|
680
674
|
bbWidth={24}
|
|
675
|
+
color="#FFFFFF"
|
|
681
676
|
focusable={false}
|
|
682
677
|
height={24}
|
|
683
678
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -690,9 +685,6 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonSolid Snapshot
|
|
|
690
685
|
"backgroundColor": "transparent",
|
|
691
686
|
"borderWidth": 0,
|
|
692
687
|
},
|
|
693
|
-
{
|
|
694
|
-
"color": "#FFFFFF",
|
|
695
|
-
},
|
|
696
688
|
{
|
|
697
689
|
"flex": 0,
|
|
698
690
|
"height": 24,
|
|
@@ -705,7 +697,6 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonSolid Snapshot
|
|
|
705
697
|
width={24}
|
|
706
698
|
>
|
|
707
699
|
<RNSVGGroup
|
|
708
|
-
color="#FFFFFF"
|
|
709
700
|
fill={
|
|
710
701
|
{
|
|
711
702
|
"payload": 4278190080,
|
|
@@ -1086,386 +1077,3 @@ exports[`Test Buttons Components ButtonSolid Snapshot 1`] = `
|
|
|
1086
1077
|
</View>
|
|
1087
1078
|
</View>
|
|
1088
1079
|
`;
|
|
1089
|
-
|
|
1090
|
-
exports[`Test Buttons Components IconButton Snapshot 1`] = `
|
|
1091
|
-
<View
|
|
1092
|
-
accessibilityLabel="accessibilityLabel"
|
|
1093
|
-
accessibilityRole="button"
|
|
1094
|
-
accessibilityState={
|
|
1095
|
-
{
|
|
1096
|
-
"busy": undefined,
|
|
1097
|
-
"checked": undefined,
|
|
1098
|
-
"disabled": false,
|
|
1099
|
-
"expanded": undefined,
|
|
1100
|
-
"selected": undefined,
|
|
1101
|
-
}
|
|
1102
|
-
}
|
|
1103
|
-
accessibilityValue={
|
|
1104
|
-
{
|
|
1105
|
-
"max": undefined,
|
|
1106
|
-
"min": undefined,
|
|
1107
|
-
"now": undefined,
|
|
1108
|
-
"text": undefined,
|
|
1109
|
-
}
|
|
1110
|
-
}
|
|
1111
|
-
accessible={true}
|
|
1112
|
-
collapsable={false}
|
|
1113
|
-
focusable={true}
|
|
1114
|
-
hitSlop={8}
|
|
1115
|
-
onBlur={[Function]}
|
|
1116
|
-
onClick={[Function]}
|
|
1117
|
-
onFocus={[Function]}
|
|
1118
|
-
onResponderGrant={[Function]}
|
|
1119
|
-
onResponderMove={[Function]}
|
|
1120
|
-
onResponderRelease={[Function]}
|
|
1121
|
-
onResponderTerminate={[Function]}
|
|
1122
|
-
onResponderTerminationRequest={[Function]}
|
|
1123
|
-
onStartShouldSetResponder={[Function]}
|
|
1124
|
-
>
|
|
1125
|
-
<View
|
|
1126
|
-
style={
|
|
1127
|
-
[
|
|
1128
|
-
{
|
|
1129
|
-
"height": 24,
|
|
1130
|
-
"width": 24,
|
|
1131
|
-
},
|
|
1132
|
-
{
|
|
1133
|
-
"alignItems": "center",
|
|
1134
|
-
},
|
|
1135
|
-
{
|
|
1136
|
-
"justifyContent": "center",
|
|
1137
|
-
},
|
|
1138
|
-
{
|
|
1139
|
-
"transform": [
|
|
1140
|
-
{
|
|
1141
|
-
"scale": undefined,
|
|
1142
|
-
},
|
|
1143
|
-
],
|
|
1144
|
-
},
|
|
1145
|
-
]
|
|
1146
|
-
}
|
|
1147
|
-
>
|
|
1148
|
-
<RNSVGSvgView
|
|
1149
|
-
accessibilityElementsHidden={true}
|
|
1150
|
-
accessibilityLabel=""
|
|
1151
|
-
accessible={false}
|
|
1152
|
-
align="xMidYMid"
|
|
1153
|
-
bbHeight={24}
|
|
1154
|
-
bbWidth={24}
|
|
1155
|
-
focusable={false}
|
|
1156
|
-
height={24}
|
|
1157
|
-
importantForAccessibility="no-hide-descendants"
|
|
1158
|
-
meetOrSlice={0}
|
|
1159
|
-
minX={0}
|
|
1160
|
-
minY={0}
|
|
1161
|
-
style={
|
|
1162
|
-
[
|
|
1163
|
-
{
|
|
1164
|
-
"backgroundColor": "transparent",
|
|
1165
|
-
"borderWidth": 0,
|
|
1166
|
-
},
|
|
1167
|
-
{
|
|
1168
|
-
"color": "#0B3EE3",
|
|
1169
|
-
},
|
|
1170
|
-
{
|
|
1171
|
-
"flex": 0,
|
|
1172
|
-
"height": 24,
|
|
1173
|
-
"width": 24,
|
|
1174
|
-
},
|
|
1175
|
-
]
|
|
1176
|
-
}
|
|
1177
|
-
vbHeight={24}
|
|
1178
|
-
vbWidth={24}
|
|
1179
|
-
width={24}
|
|
1180
|
-
>
|
|
1181
|
-
<RNSVGGroup
|
|
1182
|
-
color="#0B3EE3"
|
|
1183
|
-
fill={
|
|
1184
|
-
{
|
|
1185
|
-
"payload": 4278190080,
|
|
1186
|
-
"type": 0,
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
>
|
|
1190
|
-
<RNSVGPath
|
|
1191
|
-
clipRule={0}
|
|
1192
|
-
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"
|
|
1193
|
-
fill={
|
|
1194
|
-
{
|
|
1195
|
-
"type": 2,
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
fillRule={0}
|
|
1199
|
-
propList={
|
|
1200
|
-
[
|
|
1201
|
-
"fill",
|
|
1202
|
-
"fillRule",
|
|
1203
|
-
]
|
|
1204
|
-
}
|
|
1205
|
-
/>
|
|
1206
|
-
</RNSVGGroup>
|
|
1207
|
-
</RNSVGSvgView>
|
|
1208
|
-
</View>
|
|
1209
|
-
</View>
|
|
1210
|
-
`;
|
|
1211
|
-
|
|
1212
|
-
exports[`Test Buttons Components IconButtonContained Snapshot 1`] = `
|
|
1213
|
-
<View
|
|
1214
|
-
accessibilityLabel="accessibilityLabel"
|
|
1215
|
-
accessibilityRole="button"
|
|
1216
|
-
accessibilityState={
|
|
1217
|
-
{
|
|
1218
|
-
"busy": undefined,
|
|
1219
|
-
"checked": undefined,
|
|
1220
|
-
"disabled": false,
|
|
1221
|
-
"expanded": undefined,
|
|
1222
|
-
"selected": undefined,
|
|
1223
|
-
}
|
|
1224
|
-
}
|
|
1225
|
-
accessibilityValue={
|
|
1226
|
-
{
|
|
1227
|
-
"max": undefined,
|
|
1228
|
-
"min": undefined,
|
|
1229
|
-
"now": undefined,
|
|
1230
|
-
"text": undefined,
|
|
1231
|
-
}
|
|
1232
|
-
}
|
|
1233
|
-
accessible={true}
|
|
1234
|
-
collapsable={false}
|
|
1235
|
-
focusable={true}
|
|
1236
|
-
onBlur={[Function]}
|
|
1237
|
-
onClick={[Function]}
|
|
1238
|
-
onFocus={[Function]}
|
|
1239
|
-
onResponderGrant={[Function]}
|
|
1240
|
-
onResponderMove={[Function]}
|
|
1241
|
-
onResponderRelease={[Function]}
|
|
1242
|
-
onResponderTerminate={[Function]}
|
|
1243
|
-
onResponderTerminationRequest={[Function]}
|
|
1244
|
-
onStartShouldSetResponder={[Function]}
|
|
1245
|
-
style={
|
|
1246
|
-
{
|
|
1247
|
-
"alignSelf": "flex-start",
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
>
|
|
1251
|
-
<View
|
|
1252
|
-
style={
|
|
1253
|
-
[
|
|
1254
|
-
{
|
|
1255
|
-
"alignItems": "center",
|
|
1256
|
-
"elevation": 0,
|
|
1257
|
-
"justifyContent": "center",
|
|
1258
|
-
},
|
|
1259
|
-
{
|
|
1260
|
-
"borderRadius": 48,
|
|
1261
|
-
"height": 48,
|
|
1262
|
-
"width": 48,
|
|
1263
|
-
},
|
|
1264
|
-
{
|
|
1265
|
-
"transform": [
|
|
1266
|
-
{
|
|
1267
|
-
"scale": undefined,
|
|
1268
|
-
},
|
|
1269
|
-
],
|
|
1270
|
-
},
|
|
1271
|
-
{
|
|
1272
|
-
"backgroundColor": undefined,
|
|
1273
|
-
},
|
|
1274
|
-
]
|
|
1275
|
-
}
|
|
1276
|
-
>
|
|
1277
|
-
<RNSVGSvgView
|
|
1278
|
-
accessibilityElementsHidden={true}
|
|
1279
|
-
accessibilityLabel=""
|
|
1280
|
-
accessible={false}
|
|
1281
|
-
align="xMidYMid"
|
|
1282
|
-
bbHeight={24}
|
|
1283
|
-
bbWidth={24}
|
|
1284
|
-
focusable={false}
|
|
1285
|
-
height={24}
|
|
1286
|
-
importantForAccessibility="no-hide-descendants"
|
|
1287
|
-
meetOrSlice={0}
|
|
1288
|
-
minX={0}
|
|
1289
|
-
minY={0}
|
|
1290
|
-
style={
|
|
1291
|
-
[
|
|
1292
|
-
{
|
|
1293
|
-
"backgroundColor": "transparent",
|
|
1294
|
-
"borderWidth": 0,
|
|
1295
|
-
},
|
|
1296
|
-
{
|
|
1297
|
-
"color": "#0B3EE3",
|
|
1298
|
-
},
|
|
1299
|
-
{
|
|
1300
|
-
"flex": 0,
|
|
1301
|
-
"height": 24,
|
|
1302
|
-
"width": 24,
|
|
1303
|
-
},
|
|
1304
|
-
]
|
|
1305
|
-
}
|
|
1306
|
-
vbHeight={24}
|
|
1307
|
-
vbWidth={24}
|
|
1308
|
-
width={24}
|
|
1309
|
-
>
|
|
1310
|
-
<RNSVGGroup
|
|
1311
|
-
color="#0B3EE3"
|
|
1312
|
-
fill={
|
|
1313
|
-
{
|
|
1314
|
-
"payload": 4278190080,
|
|
1315
|
-
"type": 0,
|
|
1316
|
-
}
|
|
1317
|
-
}
|
|
1318
|
-
>
|
|
1319
|
-
<RNSVGPath
|
|
1320
|
-
clipRule={0}
|
|
1321
|
-
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"
|
|
1322
|
-
fill={
|
|
1323
|
-
{
|
|
1324
|
-
"type": 2,
|
|
1325
|
-
}
|
|
1326
|
-
}
|
|
1327
|
-
fillRule={0}
|
|
1328
|
-
propList={
|
|
1329
|
-
[
|
|
1330
|
-
"fill",
|
|
1331
|
-
"fillRule",
|
|
1332
|
-
]
|
|
1333
|
-
}
|
|
1334
|
-
/>
|
|
1335
|
-
</RNSVGGroup>
|
|
1336
|
-
</RNSVGSvgView>
|
|
1337
|
-
</View>
|
|
1338
|
-
</View>
|
|
1339
|
-
`;
|
|
1340
|
-
|
|
1341
|
-
exports[`Test Buttons Components IconButtonSolid Snapshot 1`] = `
|
|
1342
|
-
<View
|
|
1343
|
-
accessibilityLabel="accessibilityLabel"
|
|
1344
|
-
accessibilityRole="button"
|
|
1345
|
-
accessibilityState={
|
|
1346
|
-
{
|
|
1347
|
-
"busy": undefined,
|
|
1348
|
-
"checked": undefined,
|
|
1349
|
-
"disabled": false,
|
|
1350
|
-
"expanded": undefined,
|
|
1351
|
-
"selected": undefined,
|
|
1352
|
-
}
|
|
1353
|
-
}
|
|
1354
|
-
accessibilityValue={
|
|
1355
|
-
{
|
|
1356
|
-
"max": undefined,
|
|
1357
|
-
"min": undefined,
|
|
1358
|
-
"now": undefined,
|
|
1359
|
-
"text": undefined,
|
|
1360
|
-
}
|
|
1361
|
-
}
|
|
1362
|
-
accessible={true}
|
|
1363
|
-
collapsable={false}
|
|
1364
|
-
focusable={true}
|
|
1365
|
-
onBlur={[Function]}
|
|
1366
|
-
onClick={[Function]}
|
|
1367
|
-
onFocus={[Function]}
|
|
1368
|
-
onResponderGrant={[Function]}
|
|
1369
|
-
onResponderMove={[Function]}
|
|
1370
|
-
onResponderRelease={[Function]}
|
|
1371
|
-
onResponderTerminate={[Function]}
|
|
1372
|
-
onResponderTerminationRequest={[Function]}
|
|
1373
|
-
onStartShouldSetResponder={[Function]}
|
|
1374
|
-
style={
|
|
1375
|
-
{
|
|
1376
|
-
"alignSelf": "flex-start",
|
|
1377
|
-
}
|
|
1378
|
-
}
|
|
1379
|
-
>
|
|
1380
|
-
<View
|
|
1381
|
-
style={
|
|
1382
|
-
[
|
|
1383
|
-
{
|
|
1384
|
-
"alignItems": "center",
|
|
1385
|
-
"elevation": 0,
|
|
1386
|
-
"justifyContent": "center",
|
|
1387
|
-
},
|
|
1388
|
-
{
|
|
1389
|
-
"borderRadius": 56,
|
|
1390
|
-
"height": 56,
|
|
1391
|
-
"width": 56,
|
|
1392
|
-
},
|
|
1393
|
-
{
|
|
1394
|
-
"transform": [
|
|
1395
|
-
{
|
|
1396
|
-
"scale": undefined,
|
|
1397
|
-
},
|
|
1398
|
-
],
|
|
1399
|
-
},
|
|
1400
|
-
{
|
|
1401
|
-
"backgroundColor": undefined,
|
|
1402
|
-
},
|
|
1403
|
-
{
|
|
1404
|
-
"backgroundColor": "#0B3EE3",
|
|
1405
|
-
},
|
|
1406
|
-
]
|
|
1407
|
-
}
|
|
1408
|
-
>
|
|
1409
|
-
<RNSVGSvgView
|
|
1410
|
-
accessibilityElementsHidden={true}
|
|
1411
|
-
accessibilityLabel=""
|
|
1412
|
-
accessible={false}
|
|
1413
|
-
align="xMidYMid"
|
|
1414
|
-
bbHeight={24}
|
|
1415
|
-
bbWidth={24}
|
|
1416
|
-
focusable={false}
|
|
1417
|
-
height={24}
|
|
1418
|
-
importantForAccessibility="no-hide-descendants"
|
|
1419
|
-
meetOrSlice={0}
|
|
1420
|
-
minX={0}
|
|
1421
|
-
minY={0}
|
|
1422
|
-
style={
|
|
1423
|
-
[
|
|
1424
|
-
{
|
|
1425
|
-
"backgroundColor": "transparent",
|
|
1426
|
-
"borderWidth": 0,
|
|
1427
|
-
},
|
|
1428
|
-
{
|
|
1429
|
-
"color": "#FFFFFF",
|
|
1430
|
-
},
|
|
1431
|
-
{
|
|
1432
|
-
"flex": 0,
|
|
1433
|
-
"height": 24,
|
|
1434
|
-
"width": 24,
|
|
1435
|
-
},
|
|
1436
|
-
]
|
|
1437
|
-
}
|
|
1438
|
-
vbHeight={24}
|
|
1439
|
-
vbWidth={24}
|
|
1440
|
-
width={24}
|
|
1441
|
-
>
|
|
1442
|
-
<RNSVGGroup
|
|
1443
|
-
color="#FFFFFF"
|
|
1444
|
-
fill={
|
|
1445
|
-
{
|
|
1446
|
-
"payload": 4278190080,
|
|
1447
|
-
"type": 0,
|
|
1448
|
-
}
|
|
1449
|
-
}
|
|
1450
|
-
>
|
|
1451
|
-
<RNSVGPath
|
|
1452
|
-
clipRule={0}
|
|
1453
|
-
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"
|
|
1454
|
-
fill={
|
|
1455
|
-
{
|
|
1456
|
-
"type": 2,
|
|
1457
|
-
}
|
|
1458
|
-
}
|
|
1459
|
-
fillRule={0}
|
|
1460
|
-
propList={
|
|
1461
|
-
[
|
|
1462
|
-
"fill",
|
|
1463
|
-
"fillRule",
|
|
1464
|
-
]
|
|
1465
|
-
}
|
|
1466
|
-
/>
|
|
1467
|
-
</RNSVGGroup>
|
|
1468
|
-
</RNSVGSvgView>
|
|
1469
|
-
</View>
|
|
1470
|
-
</View>
|
|
1471
|
-
`;
|
|
@@ -41,30 +41,6 @@ describe("Test Buttons Components", () => {
|
|
|
41
41
|
})).toJSON();
|
|
42
42
|
expect(buttonOutline).toMatchSnapshot();
|
|
43
43
|
});
|
|
44
|
-
it("IconButtonSolid Snapshot", () => {
|
|
45
|
-
const iconButtonSolid = TestRenderer.create(/*#__PURE__*/(0, _jsxRuntime.jsx)(_IconButtonSolid.default, {
|
|
46
|
-
onPress: onButtonPress,
|
|
47
|
-
icon: "spid",
|
|
48
|
-
accessibilityLabel: "accessibilityLabel"
|
|
49
|
-
})).toJSON();
|
|
50
|
-
expect(iconButtonSolid).toMatchSnapshot();
|
|
51
|
-
});
|
|
52
|
-
it("IconButton Snapshot", () => {
|
|
53
|
-
const iconButton = TestRenderer.create(/*#__PURE__*/(0, _jsxRuntime.jsx)(_IconButton.default, {
|
|
54
|
-
onPress: onButtonPress,
|
|
55
|
-
icon: "spid",
|
|
56
|
-
accessibilityLabel: "accessibilityLabel"
|
|
57
|
-
})).toJSON();
|
|
58
|
-
expect(iconButton).toMatchSnapshot();
|
|
59
|
-
});
|
|
60
|
-
it("IconButtonContained Snapshot", () => {
|
|
61
|
-
const iconButtonContained = TestRenderer.create(/*#__PURE__*/(0, _jsxRuntime.jsx)(_IconButtonContained.default, {
|
|
62
|
-
onPress: onButtonPress,
|
|
63
|
-
icon: "spid",
|
|
64
|
-
accessibilityLabel: "accessibilityLabel"
|
|
65
|
-
})).toJSON();
|
|
66
|
-
expect(iconButtonContained).toMatchSnapshot();
|
|
67
|
-
});
|
|
68
44
|
});
|
|
69
45
|
describe("Test Buttons Components - Experimental Enabled", () => {
|
|
70
46
|
it("ButtonSolid Snapshot", () => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","TestRenderer","_interopRequireWildcard","_testing","_ButtonLink","_ButtonOutline","_ButtonSolid","_IconButton","_IconButtonContained","_IconButtonSolid","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","onButtonPress","Alert","alert","describe","it","buttonSolid","create","jsx","label","accessibilityLabel","onPress","toJSON","expect","toMatchSnapshot","buttonLink","buttonOutline","iconButtonSolid","icon","iconButton","iconButtonContained"
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","TestRenderer","_interopRequireWildcard","_testing","_ButtonLink","_ButtonOutline","_ButtonSolid","_IconButton","_IconButtonContained","_IconButtonSolid","_jsxRuntime","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","onButtonPress","Alert","alert","describe","it","buttonSolid","create","jsx","label","accessibilityLabel","onPress","toJSON","expect","toMatchSnapshot","buttonLink","buttonOutline","TestRendererWithExperimentalEnabledContextProvider","iconButtonSolid","icon","iconButton","iconButtonContained"],"sourceRoot":"../../../../../src","sources":["components/buttons/__test__/button.test.tsx"],"mappings":";;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAC,uBAAA,CAAAH,OAAA;AACA,IAAAI,QAAA,GAAAJ,OAAA;AACA,IAAAK,WAAA,GAAAN,sBAAA,CAAAC,OAAA;AACA,IAAAM,cAAA,GAAAP,sBAAA,CAAAC,OAAA;AACA,I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A,CAAA4B,GAAA,EAAC7B,gBAAA,CAAAQ,OAAe;MACdwB,OAAO,EAAEV,aAAc;MACvBkB,IAAI,EAAE,MAAO;MACbT,kBAAkB,EAAE;IAAqB,CACzB,CACpB,CAAC,CAACE,MAAM,CAAC,CAAC;IACVC,MAAM,CAACK,eAAe,CAAC,CAACJ,eAAe,CAAC,CAAC;EAC3C,CAAC,CAAC;EAEFT,EAAE,CAAC,qBAAqB,EAAE,MAAM;IAC9B,MAAMe,UAAU,GAAG,IAAAH,2DAAkD,eACnE,IAAArC,WAAA,CAAA4B,GAAA,EAAC/B,WAAA,CAAAU,OAAU;MACTwB,OAAO,EAAEV,aAAc;MACvBkB,IAAI,EAAE,MAAO;MACbT,kBAAkB,EAAE;IAAqB,CAC9B,CACf,CAAC,CAACE,MAAM,CAAC,CAAC;IACVC,MAAM,CAACO,UAAU,CAAC,CAACN,eAAe,CAAC,CAAC;EACtC,CAAC,CAAC;EAEFT,EAAE,CAAC,8BAA8B,EAAE,MAAM;IACvC,MAAMgB,mBAAmB,GACvB,IAAAJ,2DAAkD,eAChD,IAAArC,WAAA,CAAA4B,GAAA,EAAC9B,oBAAA,CAAAS,OAAmB;MAClBwB,OAAO,EAAEV,aAAc;MACvBkB,IAAI,EAAE,MAAO;MACbT,kBAAkB,EAAE;IAAqB,CACrB,CACxB,CAAC,CAACE,MAAM,CAAC,CAAC;IACZC,MAAM,CAACQ,mBAAmB,CAAC,CAACP,eAAe,CAAC,CAAC;EAC/C,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
|
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
+
var _IOButton = require("./IOButton");
|
|
7
|
+
Object.keys(_IOButton).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _IOButton[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _IOButton[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
6
17
|
var _ButtonLink = require("./ButtonLink");
|
|
7
18
|
Object.keys(_ButtonLink).forEach(function (key) {
|
|
8
19
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_IOButton","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_ButtonLink","_ButtonOutline","_ButtonSolid","_IconButtonContained","_IconButtonSolid","_IconButton"],"sourceRoot":"../../../../src","sources":["components/buttons/index.tsx"],"mappings":";;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,SAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,SAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,SAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,WAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,WAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,WAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,WAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,cAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAA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A,CAAAT,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAK,gBAAA,CAAAT,GAAA;IAAA;EAAA;AAAA;AACA,IAAAU,WAAA,GAAAd,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAY,WAAA,EAAAX,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAU,WAAA,CAAAV,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAM,WAAA,CAAAV,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
|
package/lib/commonjs/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap
CHANGED
|
@@ -97,6 +97,7 @@ exports[`ClaimsSelector ClaimsSelector Snapshot (controlled) 1`] = `
|
|
|
97
97
|
align="xMidYMid"
|
|
98
98
|
bbHeight={24}
|
|
99
99
|
bbWidth={24}
|
|
100
|
+
color="#0B3EE3"
|
|
100
101
|
focusable={false}
|
|
101
102
|
height={24}
|
|
102
103
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -109,9 +110,6 @@ exports[`ClaimsSelector ClaimsSelector Snapshot (controlled) 1`] = `
|
|
|
109
110
|
"backgroundColor": "transparent",
|
|
110
111
|
"borderWidth": 0,
|
|
111
112
|
},
|
|
112
|
-
{
|
|
113
|
-
"color": "#0B3EE3",
|
|
114
|
-
},
|
|
115
113
|
{
|
|
116
114
|
"flex": 0,
|
|
117
115
|
"height": 24,
|
|
@@ -124,7 +122,6 @@ exports[`ClaimsSelector ClaimsSelector Snapshot (controlled) 1`] = `
|
|
|
124
122
|
width={24}
|
|
125
123
|
>
|
|
126
124
|
<RNSVGGroup
|
|
127
|
-
color="#0B3EE3"
|
|
128
125
|
fill={
|
|
129
126
|
{
|
|
130
127
|
"payload": 4278190080,
|
|
@@ -627,6 +624,7 @@ exports[`ClaimsSelector ClaimsSelector Snapshot (uncontrolled) 1`] = `
|
|
|
627
624
|
align="xMidYMid"
|
|
628
625
|
bbHeight={24}
|
|
629
626
|
bbWidth={24}
|
|
627
|
+
color="#0B3EE3"
|
|
630
628
|
focusable={false}
|
|
631
629
|
height={24}
|
|
632
630
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -639,9 +637,6 @@ exports[`ClaimsSelector ClaimsSelector Snapshot (uncontrolled) 1`] = `
|
|
|
639
637
|
"backgroundColor": "transparent",
|
|
640
638
|
"borderWidth": 0,
|
|
641
639
|
},
|
|
642
|
-
{
|
|
643
|
-
"color": "#0B3EE3",
|
|
644
|
-
},
|
|
645
640
|
{
|
|
646
641
|
"flex": 0,
|
|
647
642
|
"height": 24,
|
|
@@ -654,7 +649,6 @@ exports[`ClaimsSelector ClaimsSelector Snapshot (uncontrolled) 1`] = `
|
|
|
654
649
|
width={24}
|
|
655
650
|
>
|
|
656
651
|
<RNSVGGroup
|
|
657
|
-
color="#0B3EE3"
|
|
658
652
|
fill={
|
|
659
653
|
{
|
|
660
654
|
"payload": 4278190080,
|
|
@@ -1088,6 +1082,7 @@ exports[`ClaimsSelector ClaimsSelector Snapshot (unselectable items) 1`] = `
|
|
|
1088
1082
|
align="xMidYMid"
|
|
1089
1083
|
bbHeight={24}
|
|
1090
1084
|
bbWidth={24}
|
|
1085
|
+
color="#0B3EE3"
|
|
1091
1086
|
focusable={false}
|
|
1092
1087
|
height={24}
|
|
1093
1088
|
importantForAccessibility="no-hide-descendants"
|
|
@@ -1100,9 +1095,6 @@ exports[`ClaimsSelector ClaimsSelector Snapshot (unselectable items) 1`] = `
|
|
|
1100
1095
|
"backgroundColor": "transparent",
|
|
1101
1096
|
"borderWidth": 0,
|
|
1102
1097
|
},
|
|
1103
|
-
{
|
|
1104
|
-
"color": "#0B3EE3",
|
|
1105
|
-
},
|
|
1106
1098
|
{
|
|
1107
1099
|
"flex": 0,
|
|
1108
1100
|
"height": 24,
|
|
@@ -1115,7 +1107,6 @@ exports[`ClaimsSelector ClaimsSelector Snapshot (unselectable items) 1`] = `
|
|
|
1115
1107
|
width={24}
|
|
1116
1108
|
>
|
|
1117
1109
|
<RNSVGGroup
|
|
1118
|
-
color="#0B3EE3"
|
|
1119
1110
|
fill={
|
|
1120
1111
|
{
|
|
1121
1112
|
"payload": 4278190080,
|
|
@@ -16,13 +16,17 @@ depending on the size value
|
|
|
16
16
|
*/
|
|
17
17
|
const ContentWrapper = ({
|
|
18
18
|
margin = _IOStyles.IOVisualCostants.appMarginDefault,
|
|
19
|
+
style,
|
|
20
|
+
children,
|
|
19
21
|
testID,
|
|
20
|
-
|
|
22
|
+
...rest
|
|
21
23
|
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
|
|
22
24
|
testID: testID,
|
|
23
25
|
style: {
|
|
24
|
-
paddingHorizontal: margin
|
|
26
|
+
paddingHorizontal: margin,
|
|
27
|
+
...style
|
|
25
28
|
},
|
|
29
|
+
...rest,
|
|
26
30
|
children: children
|
|
27
31
|
});
|
|
28
32
|
exports.ContentWrapper = ContentWrapper;
|