@pagopa/io-app-design-system 1.39.6 → 1.40.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/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +0 -344
- package/lib/commonjs/components/buttons/__test__/button.test.js +0 -15
- package/lib/commonjs/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/commonjs/components/buttons/index.js +0 -11
- package/lib/commonjs/components/buttons/index.js.map +1 -1
- package/lib/commonjs/components/icons/Icon.js +23 -73
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/icons/svg/{IconDriverLicense.js → IconBonusFilled.js} +4 -4
- package/lib/commonjs/components/icons/svg/{IconHearthEmpty.js.map → IconBonusFilled.js.map} +1 -1
- package/lib/commonjs/components/icons/svg/IconCreditCardFilled.js +36 -0
- package/lib/commonjs/components/icons/svg/IconCreditCardFilled.js.map +1 -0
- package/lib/commonjs/components/icons/svg/{IconHearthEmpty.js → IconHeartEmpty.js} +3 -3
- package/lib/commonjs/components/icons/svg/IconHeartEmpty.js.map +1 -0
- package/lib/commonjs/components/icons/svg/{IconHearthFilled.js → IconHeartFilled.js} +3 -3
- package/lib/commonjs/components/icons/svg/IconHeartFilled.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconHeartOff.js +31 -0
- package/lib/commonjs/components/icons/svg/IconHeartOff.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconStarOff.js +31 -0
- package/lib/commonjs/components/icons/svg/IconStarOff.js.map +1 -0
- package/lib/commonjs/components/icons/svg/originals/IconBonusFilled.svg +8 -0
- package/lib/commonjs/components/icons/svg/originals/IconCreditCardFilled.svg +14 -0
- package/lib/commonjs/components/icons/svg/originals/IconHeartOff.svg +1 -0
- package/lib/commonjs/components/icons/svg/originals/IconStarOff.svg +1 -0
- package/lib/commonjs/components/layout/BlockButtons.js +1 -0
- package/lib/commonjs/components/layout/BlockButtons.js.map +1 -1
- package/lib/commonjs/components/layout/FooterWithButtons.js +1 -0
- package/lib/commonjs/components/layout/FooterWithButtons.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleSummary.js +45 -0
- package/lib/commonjs/components/modules/ModuleSummary.js.map +1 -0
- package/lib/commonjs/components/modules/index.js +11 -0
- package/lib/commonjs/components/modules/index.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +0 -344
- package/lib/module/components/buttons/__test__/button.test.js +0 -15
- package/lib/module/components/buttons/__test__/button.test.js.map +1 -1
- package/lib/module/components/buttons/index.js +0 -1
- package/lib/module/components/buttons/index.js.map +1 -1
- package/lib/module/components/icons/Icon.js +23 -73
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/icons/svg/IconBonusFilled.js +23 -0
- package/lib/module/components/icons/svg/{IconHearthEmpty.js.map → IconBonusFilled.js.map} +1 -1
- package/lib/module/components/icons/svg/IconCreditCardFilled.js +28 -0
- package/lib/module/components/icons/svg/IconCreditCardFilled.js.map +1 -0
- package/lib/module/components/icons/svg/{IconHearthEmpty.js → IconHeartEmpty.js} +3 -3
- package/lib/module/components/icons/svg/IconHeartEmpty.js.map +1 -0
- package/lib/module/components/icons/svg/{IconHearthFilled.js → IconHeartFilled.js} +3 -3
- package/lib/module/components/icons/svg/IconHeartFilled.js.map +1 -0
- package/lib/module/components/icons/svg/IconHeartOff.js +23 -0
- package/lib/module/components/icons/svg/IconHeartOff.js.map +1 -0
- package/lib/module/components/icons/svg/IconStarOff.js +23 -0
- package/lib/module/components/icons/svg/IconStarOff.js.map +1 -0
- package/lib/module/components/icons/svg/originals/IconBonusFilled.svg +8 -0
- package/lib/module/components/icons/svg/originals/IconCreditCardFilled.svg +14 -0
- package/lib/module/components/icons/svg/originals/IconHeartOff.svg +1 -0
- package/lib/module/components/icons/svg/originals/IconStarOff.svg +1 -0
- package/lib/module/components/layout/BlockButtons.js +1 -0
- package/lib/module/components/layout/BlockButtons.js.map +1 -1
- package/lib/module/components/layout/FooterWithButtons.js +1 -0
- package/lib/module/components/layout/FooterWithButtons.js.map +1 -1
- package/lib/module/components/modules/ModuleSummary.js +37 -0
- package/lib/module/components/modules/ModuleSummary.js.map +1 -0
- package/lib/module/components/modules/index.js +1 -0
- package/lib/module/components/modules/index.js.map +1 -1
- package/lib/typescript/components/buttons/ButtonLink.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts +1 -1
- package/lib/typescript/components/buttons/index.d.ts +0 -1
- package/lib/typescript/components/buttons/index.d.ts.map +1 -1
- package/lib/typescript/components/icons/Icon.d.ts +13 -38
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconBonusFilled.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconBonusFilled.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconCreditCardFilled.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconCreditCardFilled.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconHeartEmpty.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconHeartEmpty.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconHeartFilled.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconHeartFilled.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconHeartOff.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconHeartOff.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconStarOff.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconStarOff.d.ts.map +1 -0
- package/lib/typescript/components/layout/BlockButtons.d.ts +1 -0
- package/lib/typescript/components/layout/BlockButtons.d.ts.map +1 -1
- package/lib/typescript/components/layout/FooterWithButtons.d.ts +1 -0
- package/lib/typescript/components/layout/FooterWithButtons.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleSummary.d.ts +12 -0
- package/lib/typescript/components/modules/ModuleSummary.d.ts.map +1 -0
- package/lib/typescript/components/modules/index.d.ts +1 -0
- package/lib/typescript/components/modules/index.d.ts.map +1 -1
- package/lib/typescript/components/typography/Label.d.ts +1 -1
- package/lib/typescript/components/typography/Label.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +0 -344
- package/src/components/buttons/__test__/button.test.tsx +0 -22
- package/src/components/buttons/index.tsx +0 -1
- package/src/components/icons/Icon.tsx +20 -75
- package/src/components/icons/svg/IconBonusFilled.tsx +16 -0
- package/src/components/icons/svg/IconCreditCardFilled.tsx +22 -0
- package/src/components/icons/svg/{IconHearthEmpty.tsx → IconHeartEmpty.tsx} +2 -2
- package/src/components/icons/svg/{IconHearthFilled.tsx → IconHeartFilled.tsx} +2 -2
- package/src/components/icons/svg/IconHeartOff.tsx +16 -0
- package/src/components/icons/svg/IconStarOff.tsx +16 -0
- package/src/components/icons/svg/originals/IconBonusFilled.svg +8 -0
- package/src/components/icons/svg/originals/IconCreditCardFilled.svg +14 -0
- package/src/components/icons/svg/originals/IconHeartOff.svg +1 -0
- package/src/components/icons/svg/originals/IconStarOff.svg +1 -0
- package/src/components/layout/BlockButtons.tsx +1 -0
- package/src/components/layout/FooterWithButtons.tsx +1 -0
- package/src/components/modules/ModuleSummary.tsx +41 -0
- package/src/components/modules/index.tsx +1 -0
- package/src/components/typography/Label.tsx +1 -1
- package/lib/commonjs/components/buttons/ButtonExtendedOutline.js +0 -88
- package/lib/commonjs/components/buttons/ButtonExtendedOutline.js.map +0 -1
- package/lib/commonjs/components/icons/svg/IconDisabilityCard.js +0 -31
- package/lib/commonjs/components/icons/svg/IconDisabilityCard.js.map +0 -1
- package/lib/commonjs/components/icons/svg/IconDriverLicense.js.map +0 -1
- package/lib/commonjs/components/icons/svg/IconHearthFilled.js.map +0 -1
- package/lib/commonjs/components/icons/svg/originals/IconDisabilityCard.svg +0 -7
- package/lib/commonjs/components/icons/svg/originals/IconDriverLicense.svg +0 -8
- package/lib/module/components/buttons/ButtonExtendedOutline.js +0 -78
- package/lib/module/components/buttons/ButtonExtendedOutline.js.map +0 -1
- package/lib/module/components/icons/svg/IconDisabilityCard.js +0 -23
- package/lib/module/components/icons/svg/IconDisabilityCard.js.map +0 -1
- package/lib/module/components/icons/svg/IconDriverLicense.js +0 -23
- package/lib/module/components/icons/svg/IconDriverLicense.js.map +0 -1
- package/lib/module/components/icons/svg/IconHearthFilled.js.map +0 -1
- package/lib/module/components/icons/svg/originals/IconDisabilityCard.svg +0 -7
- package/lib/module/components/icons/svg/originals/IconDriverLicense.svg +0 -8
- package/lib/typescript/components/buttons/ButtonExtendedOutline.d.ts +0 -12
- package/lib/typescript/components/buttons/ButtonExtendedOutline.d.ts.map +0 -1
- package/lib/typescript/components/icons/svg/IconDisabilityCard.d.ts +0 -5
- package/lib/typescript/components/icons/svg/IconDisabilityCard.d.ts.map +0 -1
- package/lib/typescript/components/icons/svg/IconDriverLicense.d.ts +0 -5
- package/lib/typescript/components/icons/svg/IconDriverLicense.d.ts.map +0 -1
- package/lib/typescript/components/icons/svg/IconHearthEmpty.d.ts +0 -5
- package/lib/typescript/components/icons/svg/IconHearthEmpty.d.ts.map +0 -1
- package/lib/typescript/components/icons/svg/IconHearthFilled.d.ts +0 -5
- package/lib/typescript/components/icons/svg/IconHearthFilled.d.ts.map +0 -1
- package/src/components/buttons/ButtonExtendedOutline.tsx +0 -107
- package/src/components/icons/svg/IconDisabilityCard.tsx +0 -16
- package/src/components/icons/svg/IconDriverLicense.tsx +0 -16
- package/src/components/icons/svg/originals/IconDisabilityCard.svg +0 -7
- package/src/components/icons/svg/originals/IconDriverLicense.svg +0 -8
|
@@ -1,177 +1,5 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
|
-
exports[`Test Buttons Components - Experimental Enabled ButtonExtendedOutline Snapshot 1`] = `
|
|
4
|
-
<View
|
|
5
|
-
accessibilityRole="button"
|
|
6
|
-
accessibilityState={
|
|
7
|
-
{
|
|
8
|
-
"busy": undefined,
|
|
9
|
-
"checked": undefined,
|
|
10
|
-
"disabled": undefined,
|
|
11
|
-
"expanded": undefined,
|
|
12
|
-
"selected": undefined,
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
accessibilityValue={
|
|
16
|
-
{
|
|
17
|
-
"max": undefined,
|
|
18
|
-
"min": undefined,
|
|
19
|
-
"now": undefined,
|
|
20
|
-
"text": undefined,
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
accessible={true}
|
|
24
|
-
collapsable={false}
|
|
25
|
-
focusable={true}
|
|
26
|
-
onBlur={[Function]}
|
|
27
|
-
onClick={[Function]}
|
|
28
|
-
onFocus={[Function]}
|
|
29
|
-
onResponderGrant={[Function]}
|
|
30
|
-
onResponderMove={[Function]}
|
|
31
|
-
onResponderRelease={[Function]}
|
|
32
|
-
onResponderTerminate={[Function]}
|
|
33
|
-
onResponderTerminationRequest={[Function]}
|
|
34
|
-
onStartShouldSetResponder={[Function]}
|
|
35
|
-
>
|
|
36
|
-
<View
|
|
37
|
-
style={
|
|
38
|
-
[
|
|
39
|
-
{
|
|
40
|
-
"alignItems": "center",
|
|
41
|
-
"backgroundColor": "#FFFFFF",
|
|
42
|
-
"borderColor": "#E8EBF1",
|
|
43
|
-
"borderCurve": "continuous",
|
|
44
|
-
"borderRadius": 8,
|
|
45
|
-
"borderStyle": "solid",
|
|
46
|
-
"borderWidth": 1,
|
|
47
|
-
"flex": 1,
|
|
48
|
-
"flexDirection": "row",
|
|
49
|
-
"justifyContent": "space-between",
|
|
50
|
-
"paddingHorizontal": 16,
|
|
51
|
-
"paddingVertical": 16,
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"transform": [
|
|
55
|
-
{
|
|
56
|
-
"scale": undefined,
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
]
|
|
61
|
-
}
|
|
62
|
-
>
|
|
63
|
-
<View
|
|
64
|
-
style={
|
|
65
|
-
{
|
|
66
|
-
"flex": 1,
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
>
|
|
70
|
-
<Text
|
|
71
|
-
allowFontScaling={true}
|
|
72
|
-
color="black"
|
|
73
|
-
defaultColor="black"
|
|
74
|
-
defaultWeight="Regular"
|
|
75
|
-
dynamicTypeRamp="headline"
|
|
76
|
-
font="ReadexPro"
|
|
77
|
-
fontStyle={
|
|
78
|
-
{
|
|
79
|
-
"fontSize": 16,
|
|
80
|
-
"lineHeight": 24,
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
maxFontSizeMultiplier={1.25}
|
|
84
|
-
style={
|
|
85
|
-
[
|
|
86
|
-
{
|
|
87
|
-
"fontSize": 16,
|
|
88
|
-
"lineHeight": 24,
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"color": "#0E0F13",
|
|
92
|
-
"fontFamily": "Readex Pro",
|
|
93
|
-
"fontStyle": "normal",
|
|
94
|
-
"fontWeight": "400",
|
|
95
|
-
},
|
|
96
|
-
]
|
|
97
|
-
}
|
|
98
|
-
weight="Regular"
|
|
99
|
-
>
|
|
100
|
-
label
|
|
101
|
-
</Text>
|
|
102
|
-
</View>
|
|
103
|
-
<View
|
|
104
|
-
style={
|
|
105
|
-
{
|
|
106
|
-
"marginLeft": 8,
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
>
|
|
110
|
-
<RNSVGSvgView
|
|
111
|
-
accessibilityElementsHidden={true}
|
|
112
|
-
accessibilityLabel=""
|
|
113
|
-
accessible={false}
|
|
114
|
-
align="xMidYMid"
|
|
115
|
-
bbHeight={24}
|
|
116
|
-
bbWidth={24}
|
|
117
|
-
focusable={false}
|
|
118
|
-
height={24}
|
|
119
|
-
importantForAccessibility="no-hide-descendants"
|
|
120
|
-
meetOrSlice={0}
|
|
121
|
-
minX={0}
|
|
122
|
-
minY={0}
|
|
123
|
-
style={
|
|
124
|
-
[
|
|
125
|
-
{
|
|
126
|
-
"backgroundColor": "transparent",
|
|
127
|
-
"borderWidth": 0,
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
"color": "#0073E6",
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"flex": 0,
|
|
134
|
-
"height": 24,
|
|
135
|
-
"width": 24,
|
|
136
|
-
},
|
|
137
|
-
]
|
|
138
|
-
}
|
|
139
|
-
tintColor="#0073E6"
|
|
140
|
-
vbHeight={24}
|
|
141
|
-
vbWidth={24}
|
|
142
|
-
width={24}
|
|
143
|
-
>
|
|
144
|
-
<RNSVGGroup
|
|
145
|
-
fill={
|
|
146
|
-
{
|
|
147
|
-
"payload": 4278190080,
|
|
148
|
-
"type": 0,
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
>
|
|
152
|
-
<RNSVGPath
|
|
153
|
-
clipRule={0}
|
|
154
|
-
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"
|
|
155
|
-
fill={
|
|
156
|
-
{
|
|
157
|
-
"type": 2,
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
fillRule={0}
|
|
161
|
-
propList={
|
|
162
|
-
[
|
|
163
|
-
"fill",
|
|
164
|
-
"fillRule",
|
|
165
|
-
]
|
|
166
|
-
}
|
|
167
|
-
/>
|
|
168
|
-
</RNSVGGroup>
|
|
169
|
-
</RNSVGSvgView>
|
|
170
|
-
</View>
|
|
171
|
-
</View>
|
|
172
|
-
</View>
|
|
173
|
-
`;
|
|
174
|
-
|
|
175
3
|
exports[`Test Buttons Components - Experimental Enabled ButtonLink Snapshot 1`] = `
|
|
176
4
|
<View
|
|
177
5
|
accessibilityLabel="label"
|
|
@@ -899,178 +727,6 @@ exports[`Test Buttons Components - Experimental Enabled IconButtonSolid Snapshot
|
|
|
899
727
|
</View>
|
|
900
728
|
`;
|
|
901
729
|
|
|
902
|
-
exports[`Test Buttons Components ButtonExtendedOutline Snapshot 1`] = `
|
|
903
|
-
<View
|
|
904
|
-
accessibilityRole="button"
|
|
905
|
-
accessibilityState={
|
|
906
|
-
{
|
|
907
|
-
"busy": undefined,
|
|
908
|
-
"checked": undefined,
|
|
909
|
-
"disabled": undefined,
|
|
910
|
-
"expanded": undefined,
|
|
911
|
-
"selected": undefined,
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
accessibilityValue={
|
|
915
|
-
{
|
|
916
|
-
"max": undefined,
|
|
917
|
-
"min": undefined,
|
|
918
|
-
"now": undefined,
|
|
919
|
-
"text": undefined,
|
|
920
|
-
}
|
|
921
|
-
}
|
|
922
|
-
accessible={true}
|
|
923
|
-
collapsable={false}
|
|
924
|
-
focusable={true}
|
|
925
|
-
onBlur={[Function]}
|
|
926
|
-
onClick={[Function]}
|
|
927
|
-
onFocus={[Function]}
|
|
928
|
-
onResponderGrant={[Function]}
|
|
929
|
-
onResponderMove={[Function]}
|
|
930
|
-
onResponderRelease={[Function]}
|
|
931
|
-
onResponderTerminate={[Function]}
|
|
932
|
-
onResponderTerminationRequest={[Function]}
|
|
933
|
-
onStartShouldSetResponder={[Function]}
|
|
934
|
-
>
|
|
935
|
-
<View
|
|
936
|
-
style={
|
|
937
|
-
[
|
|
938
|
-
{
|
|
939
|
-
"alignItems": "center",
|
|
940
|
-
"backgroundColor": "#FFFFFF",
|
|
941
|
-
"borderColor": "#E8EBF1",
|
|
942
|
-
"borderCurve": "continuous",
|
|
943
|
-
"borderRadius": 8,
|
|
944
|
-
"borderStyle": "solid",
|
|
945
|
-
"borderWidth": 1,
|
|
946
|
-
"flex": 1,
|
|
947
|
-
"flexDirection": "row",
|
|
948
|
-
"justifyContent": "space-between",
|
|
949
|
-
"paddingHorizontal": 16,
|
|
950
|
-
"paddingVertical": 16,
|
|
951
|
-
},
|
|
952
|
-
{
|
|
953
|
-
"transform": [
|
|
954
|
-
{
|
|
955
|
-
"scale": undefined,
|
|
956
|
-
},
|
|
957
|
-
],
|
|
958
|
-
},
|
|
959
|
-
]
|
|
960
|
-
}
|
|
961
|
-
>
|
|
962
|
-
<View
|
|
963
|
-
style={
|
|
964
|
-
{
|
|
965
|
-
"flex": 1,
|
|
966
|
-
}
|
|
967
|
-
}
|
|
968
|
-
>
|
|
969
|
-
<Text
|
|
970
|
-
allowFontScaling={false}
|
|
971
|
-
color="black"
|
|
972
|
-
defaultColor="black"
|
|
973
|
-
defaultWeight="Semibold"
|
|
974
|
-
dynamicTypeRamp="headline"
|
|
975
|
-
font="TitilliumSansPro"
|
|
976
|
-
fontStyle={
|
|
977
|
-
{
|
|
978
|
-
"fontSize": 18,
|
|
979
|
-
"lineHeight": 25,
|
|
980
|
-
}
|
|
981
|
-
}
|
|
982
|
-
maxFontSizeMultiplier={1.25}
|
|
983
|
-
style={
|
|
984
|
-
[
|
|
985
|
-
{
|
|
986
|
-
"fontSize": 18,
|
|
987
|
-
"lineHeight": 25,
|
|
988
|
-
},
|
|
989
|
-
{
|
|
990
|
-
"color": "#0E0F13",
|
|
991
|
-
"fontFamily": "Titillium Sans Pro",
|
|
992
|
-
"fontStyle": "normal",
|
|
993
|
-
"fontWeight": "600",
|
|
994
|
-
},
|
|
995
|
-
]
|
|
996
|
-
}
|
|
997
|
-
weight="Semibold"
|
|
998
|
-
>
|
|
999
|
-
label
|
|
1000
|
-
</Text>
|
|
1001
|
-
</View>
|
|
1002
|
-
<View
|
|
1003
|
-
style={
|
|
1004
|
-
{
|
|
1005
|
-
"marginLeft": 8,
|
|
1006
|
-
}
|
|
1007
|
-
}
|
|
1008
|
-
>
|
|
1009
|
-
<RNSVGSvgView
|
|
1010
|
-
accessibilityElementsHidden={true}
|
|
1011
|
-
accessibilityLabel=""
|
|
1012
|
-
accessible={false}
|
|
1013
|
-
align="xMidYMid"
|
|
1014
|
-
bbHeight={24}
|
|
1015
|
-
bbWidth={24}
|
|
1016
|
-
focusable={false}
|
|
1017
|
-
height={24}
|
|
1018
|
-
importantForAccessibility="no-hide-descendants"
|
|
1019
|
-
meetOrSlice={0}
|
|
1020
|
-
minX={0}
|
|
1021
|
-
minY={0}
|
|
1022
|
-
style={
|
|
1023
|
-
[
|
|
1024
|
-
{
|
|
1025
|
-
"backgroundColor": "transparent",
|
|
1026
|
-
"borderWidth": 0,
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
"color": "#0073E6",
|
|
1030
|
-
},
|
|
1031
|
-
{
|
|
1032
|
-
"flex": 0,
|
|
1033
|
-
"height": 24,
|
|
1034
|
-
"width": 24,
|
|
1035
|
-
},
|
|
1036
|
-
]
|
|
1037
|
-
}
|
|
1038
|
-
tintColor="#0073E6"
|
|
1039
|
-
vbHeight={24}
|
|
1040
|
-
vbWidth={24}
|
|
1041
|
-
width={24}
|
|
1042
|
-
>
|
|
1043
|
-
<RNSVGGroup
|
|
1044
|
-
fill={
|
|
1045
|
-
{
|
|
1046
|
-
"payload": 4278190080,
|
|
1047
|
-
"type": 0,
|
|
1048
|
-
}
|
|
1049
|
-
}
|
|
1050
|
-
>
|
|
1051
|
-
<RNSVGPath
|
|
1052
|
-
clipRule={0}
|
|
1053
|
-
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"
|
|
1054
|
-
fill={
|
|
1055
|
-
{
|
|
1056
|
-
"type": 2,
|
|
1057
|
-
}
|
|
1058
|
-
}
|
|
1059
|
-
fillRule={0}
|
|
1060
|
-
propList={
|
|
1061
|
-
[
|
|
1062
|
-
"fill",
|
|
1063
|
-
"fillRule",
|
|
1064
|
-
]
|
|
1065
|
-
}
|
|
1066
|
-
/>
|
|
1067
|
-
</RNSVGGroup>
|
|
1068
|
-
</RNSVGSvgView>
|
|
1069
|
-
</View>
|
|
1070
|
-
</View>
|
|
1071
|
-
</View>
|
|
1072
|
-
`;
|
|
1073
|
-
|
|
1074
730
|
exports[`Test Buttons Components ButtonLink Snapshot 1`] = `
|
|
1075
731
|
<View
|
|
1076
732
|
accessibilityLabel="label"
|
|
@@ -4,7 +4,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
4
4
|
var _reactNative = require("react-native");
|
|
5
5
|
var TestRenderer = _interopRequireWildcard(require("react-test-renderer"));
|
|
6
6
|
var _testing = require("../../../utils/testing");
|
|
7
|
-
var _ButtonExtendedOutline = _interopRequireDefault(require("../ButtonExtendedOutline"));
|
|
8
7
|
var _ButtonLink = _interopRequireDefault(require("../ButtonLink"));
|
|
9
8
|
var _ButtonOutline = _interopRequireDefault(require("../ButtonOutline"));
|
|
10
9
|
var _ButtonSolid = _interopRequireDefault(require("../ButtonSolid"));
|
|
@@ -41,13 +40,6 @@ describe("Test Buttons Components", () => {
|
|
|
41
40
|
})).toJSON();
|
|
42
41
|
expect(buttonOutline).toMatchSnapshot();
|
|
43
42
|
});
|
|
44
|
-
it("ButtonExtendedOutline Snapshot", () => {
|
|
45
|
-
const buttonExtendedOutline = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_ButtonExtendedOutline.default, {
|
|
46
|
-
label: "label",
|
|
47
|
-
onPress: onButtonPress
|
|
48
|
-
})).toJSON();
|
|
49
|
-
expect(buttonExtendedOutline).toMatchSnapshot();
|
|
50
|
-
});
|
|
51
43
|
it("IconButtonSolid Snapshot", () => {
|
|
52
44
|
const iconButtonSolid = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_IconButtonSolid.default, {
|
|
53
45
|
onPress: onButtonPress,
|
|
@@ -97,13 +89,6 @@ describe("Test Buttons Components - Experimental Enabled", () => {
|
|
|
97
89
|
})).toJSON();
|
|
98
90
|
expect(buttonOutline).toMatchSnapshot();
|
|
99
91
|
});
|
|
100
|
-
it("ButtonExtendedOutline Snapshot", () => {
|
|
101
|
-
const buttonExtendedOutline = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_ButtonExtendedOutline.default, {
|
|
102
|
-
label: "label",
|
|
103
|
-
onPress: onButtonPress
|
|
104
|
-
})).toJSON();
|
|
105
|
-
expect(buttonExtendedOutline).toMatchSnapshot();
|
|
106
|
-
});
|
|
107
92
|
it("IconButtonSolid Snapshot", () => {
|
|
108
93
|
const iconButtonSolid = (0, _testing.TestRendererWithExperimentalEnabledContextProvider)( /*#__PURE__*/_react.default.createElement(_IconButtonSolid.default, {
|
|
109
94
|
onPress: onButtonPress,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","TestRenderer","_interopRequireWildcard","_testing","
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","TestRenderer","_interopRequireWildcard","_testing","_ButtonLink","_ButtonOutline","_ButtonSolid","_IconButton","_IconButtonContained","_IconButtonSolid","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","onButtonPress","Alert","alert","describe","it","buttonSolid","create","createElement","label","accessibilityLabel","onPress","toJSON","expect","toMatchSnapshot","buttonLink","buttonOutline","iconButtonSolid","icon","iconButton","iconButtonContained","TestRendererWithExperimentalEnabledContextProvider"],"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,IAAAO,YAAA,GAAAR,sBAAA,CAAAC,OAAA;AACA,IAAAQ,WAAA,GAAAT,sBAAA,CAAAC,OAAA;AACA,IAAAS,oBAAA,GAAAV,sBAAA,CAAAC,OAAA;AACA,IAAAU,gBAAA,GAAAX,sBAAA,CAAAC,OAAA;AAAiD,SAAAW,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAT,wBAAAa,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAA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AAO;MACbR,kBAAkB,EAAE;IAAqB,CACrB,CACxB,CAAC,CAACE,MAAM,CAAC,CAAC;IACZC,MAAM,CAACO,mBAAmB,CAAC,CAACN,eAAe,CAAC,CAAC;EAC/C,CAAC,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -3,17 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
var _ButtonExtendedOutline = require("./ButtonExtendedOutline");
|
|
7
|
-
Object.keys(_ButtonExtendedOutline).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _ButtonExtendedOutline[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function () {
|
|
13
|
-
return _ButtonExtendedOutline[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
17
6
|
var _ButtonLink = require("./ButtonLink");
|
|
18
7
|
Object.keys(_ButtonLink).forEach(function (key) {
|
|
19
8
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["_ButtonLink","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_ButtonOutline","_ButtonSolid","_IconButtonContained","_IconButtonSolid","_IconButton"],"sourceRoot":"../../../../src","sources":["components/buttons/index.tsx"],"mappings":";;;;;AAAA,IAAAA,WAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,WAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,WAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CA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AC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAQ,gBAAA,CAAAR,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAI,gBAAA,CAAAR,GAAA;IAAA;EAAA;AAAA;AACA,IAAAS,WAAA,GAAAb,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAW,WAAA,EAAAV,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAS,WAAA,CAAAT,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAK,WAAA,CAAAT,GAAA;IAAA;EAAA;AAAA"}
|
|
@@ -27,6 +27,7 @@ var _IconBell = _interopRequireDefault(require("./svg/IconBell"));
|
|
|
27
27
|
var _IconBiomFaceID = _interopRequireDefault(require("./svg/IconBiomFaceID"));
|
|
28
28
|
var _IconBiomFingerprint = _interopRequireDefault(require("./svg/IconBiomFingerprint"));
|
|
29
29
|
var _IconBonus = _interopRequireDefault(require("./svg/IconBonus"));
|
|
30
|
+
var _IconBonusFilled = _interopRequireDefault(require("./svg/IconBonusFilled"));
|
|
30
31
|
var _IconCalendar = _interopRequireDefault(require("./svg/IconCalendar"));
|
|
31
32
|
var _IconCancel = _interopRequireDefault(require("./svg/IconCancel"));
|
|
32
33
|
var _IconCanceled = _interopRequireDefault(require("./svg/IconCanceled"));
|
|
@@ -62,17 +63,16 @@ var _IconCompare = _interopRequireDefault(require("./svg/IconCompare"));
|
|
|
62
63
|
var _IconContactless = _interopRequireDefault(require("./svg/IconContactless"));
|
|
63
64
|
var _IconCopy = _interopRequireDefault(require("./svg/IconCopy"));
|
|
64
65
|
var _IconCreditCard = _interopRequireDefault(require("./svg/IconCreditCard"));
|
|
66
|
+
var _IconCreditCardFilled = _interopRequireDefault(require("./svg/IconCreditCardFilled"));
|
|
65
67
|
var _IconCreditCardOff = _interopRequireDefault(require("./svg/IconCreditCardOff"));
|
|
66
68
|
var _IconDevice = _interopRequireDefault(require("./svg/IconDevice"));
|
|
67
69
|
var _IconDeviceVibration = _interopRequireDefault(require("./svg/IconDeviceVibration"));
|
|
68
|
-
var _IconDisabilityCard = _interopRequireDefault(require("./svg/IconDisabilityCard"));
|
|
69
70
|
var _IconDocGiacenza = _interopRequireDefault(require("./svg/IconDocGiacenza"));
|
|
70
71
|
var _IconDocPaymentCode = _interopRequireDefault(require("./svg/IconDocPaymentCode"));
|
|
71
72
|
var _IconDocPaymentTitle = _interopRequireDefault(require("./svg/IconDocPaymentTitle"));
|
|
72
73
|
var _IconDocumentAttachment = _interopRequireDefault(require("./svg/IconDocumentAttachment"));
|
|
73
74
|
var _IconDocumentAttachmentPDF = _interopRequireDefault(require("./svg/IconDocumentAttachmentPDF"));
|
|
74
75
|
var _IconDotMenu = _interopRequireDefault(require("./svg/IconDotMenu"));
|
|
75
|
-
var _IconDriverLicense = _interopRequireDefault(require("./svg/IconDriverLicense"));
|
|
76
76
|
var _IconEdit = _interopRequireDefault(require("./svg/IconEdit"));
|
|
77
77
|
var _IconEmail = _interopRequireDefault(require("./svg/IconEmail"));
|
|
78
78
|
var _IconEmailFill = _interopRequireDefault(require("./svg/IconEmailFill"));
|
|
@@ -95,8 +95,9 @@ var _IconFornitori = _interopRequireDefault(require("./svg/IconFornitori"));
|
|
|
95
95
|
var _IconForward = _interopRequireDefault(require("./svg/IconForward"));
|
|
96
96
|
var _IconGallery = _interopRequireDefault(require("./svg/IconGallery"));
|
|
97
97
|
var _IconHealthCard = _interopRequireDefault(require("./svg/IconHealthCard"));
|
|
98
|
-
var
|
|
99
|
-
var
|
|
98
|
+
var _IconHeartEmpty = _interopRequireDefault(require("./svg/IconHeartEmpty"));
|
|
99
|
+
var _IconHeartFilled = _interopRequireDefault(require("./svg/IconHeartFilled"));
|
|
100
|
+
var _IconHeartOff = _interopRequireDefault(require("./svg/IconHeartOff"));
|
|
100
101
|
var _IconHistory = _interopRequireDefault(require("./svg/IconHistory"));
|
|
101
102
|
var _IconHome = _interopRequireDefault(require("./svg/IconHome"));
|
|
102
103
|
var _IconHomeFill = _interopRequireDefault(require("./svg/IconHomeFill"));
|
|
@@ -172,6 +173,7 @@ var _IconSparkles = _interopRequireDefault(require("./svg/IconSparkles"));
|
|
|
172
173
|
var _IconSpid = _interopRequireDefault(require("./svg/IconSpid"));
|
|
173
174
|
var _IconStarEmpty = _interopRequireDefault(require("./svg/IconStarEmpty"));
|
|
174
175
|
var _IconStarFilled = _interopRequireDefault(require("./svg/IconStarFilled"));
|
|
176
|
+
var _IconStarOff = _interopRequireDefault(require("./svg/IconStarOff"));
|
|
175
177
|
var _IconSuccess = _interopRequireDefault(require("./svg/IconSuccess"));
|
|
176
178
|
var _IconSwitchOff = _interopRequireDefault(require("./svg/IconSwitchOff"));
|
|
177
179
|
var _IconSystemAppsAndroid = _interopRequireDefault(require("./svg/IconSystemAppsAndroid"));
|
|
@@ -202,8 +204,6 @@ var _LegIconRadioOn = _interopRequireDefault(require("./svg/LegIconRadioOn"));
|
|
|
202
204
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
203
205
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } /* Icons */
|
|
204
206
|
const IOIcons = {
|
|
205
|
-
accessibility: _IconAccessibility.default,
|
|
206
|
-
car: _IconCar.default,
|
|
207
207
|
spid: _IconSpid.default,
|
|
208
208
|
cie: _IconCie.default /* io-cie */,
|
|
209
209
|
qrCode: _IconQrCode.default,
|
|
@@ -266,7 +266,9 @@ const IOIcons = {
|
|
|
266
266
|
entityCode: _IconEntityCode.default,
|
|
267
267
|
creditCard: _IconCreditCard.default,
|
|
268
268
|
creditCardOff: _IconCreditCardOff.default,
|
|
269
|
+
creditCardFilled: _IconCreditCardFilled.default,
|
|
269
270
|
bonus: _IconBonus.default,
|
|
271
|
+
bonusFilled: _IconBonusFilled.default,
|
|
270
272
|
transactionsBoxed: _IconTransactionsBoxed.default,
|
|
271
273
|
transactions: _IconTransactions.default,
|
|
272
274
|
amount: _IconAmount.default,
|
|
@@ -297,10 +299,12 @@ const IOIcons = {
|
|
|
297
299
|
lightbulb: _IconLightbulb.default,
|
|
298
300
|
magicWand: _IconMagicWand.default,
|
|
299
301
|
sparkles: _IconSparkles.default,
|
|
300
|
-
starFilled: _IconStarFilled.default,
|
|
301
302
|
starEmpty: _IconStarEmpty.default,
|
|
302
|
-
|
|
303
|
-
|
|
303
|
+
starFilled: _IconStarFilled.default,
|
|
304
|
+
starOff: _IconStarOff.default,
|
|
305
|
+
heartEmpty: _IconHeartEmpty.default,
|
|
306
|
+
heartFilled: _IconHeartFilled.default,
|
|
307
|
+
heartOff: _IconHeartOff.default,
|
|
304
308
|
switchOff: _IconSwitchOff.default,
|
|
305
309
|
fingerprint: _IconFingerprint.default,
|
|
306
310
|
touch: _IconTouch.default,
|
|
@@ -328,8 +332,8 @@ const IOIcons = {
|
|
|
328
332
|
terms: _IconTerms.default,
|
|
329
333
|
help: _IconQuestion.default,
|
|
330
334
|
search: _IconSearch.default,
|
|
331
|
-
|
|
332
|
-
|
|
335
|
+
accessibility: _IconAccessibility.default,
|
|
336
|
+
car: _IconCar.default,
|
|
333
337
|
healthCard: _IconHealthCard.default,
|
|
334
338
|
chevronRight: _IconChevronRight.default,
|
|
335
339
|
chevronLeft: _IconChevronLeft.default,
|
|
@@ -477,70 +481,16 @@ class IconClassComponent extends _react.default.Component {
|
|
|
477
481
|
/* New icons */
|
|
478
482
|
exports.IconClassComponent = IconClassComponent;
|
|
479
483
|
const {
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
inbox,
|
|
485
|
-
inboxFilled,
|
|
486
|
-
docGiacenza,
|
|
487
|
-
docPaymentTitle,
|
|
488
|
-
folder,
|
|
489
|
-
receiptOn,
|
|
490
|
-
receiptOff,
|
|
491
|
-
print,
|
|
492
|
-
addSmall,
|
|
493
|
-
creditCardOff,
|
|
494
|
-
mapPin,
|
|
495
|
-
noticePlain,
|
|
496
|
-
familySharing,
|
|
497
|
-
hearthEmpty,
|
|
498
|
-
hearthFilled,
|
|
499
|
-
fingerprint,
|
|
500
|
-
touch,
|
|
501
|
-
deviceVibration,
|
|
502
|
-
signal,
|
|
503
|
-
keyboardDown,
|
|
504
|
-
externalLinkSmall,
|
|
505
|
-
forward,
|
|
506
|
-
compare,
|
|
507
|
-
instruction,
|
|
508
|
-
terms,
|
|
509
|
-
read,
|
|
510
|
-
code
|
|
484
|
+
bonusFilled,
|
|
485
|
+
creditCardFilled,
|
|
486
|
+
heartOff,
|
|
487
|
+
starOff
|
|
511
488
|
} = IOIcons;
|
|
512
489
|
const IOIconsNew = {
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
inbox,
|
|
518
|
-
inboxFilled,
|
|
519
|
-
docGiacenza,
|
|
520
|
-
docPaymentTitle,
|
|
521
|
-
folder,
|
|
522
|
-
receiptOn,
|
|
523
|
-
receiptOff,
|
|
524
|
-
print,
|
|
525
|
-
addSmall,
|
|
526
|
-
creditCardOff,
|
|
527
|
-
mapPin,
|
|
528
|
-
noticePlain,
|
|
529
|
-
familySharing,
|
|
530
|
-
hearthEmpty,
|
|
531
|
-
hearthFilled,
|
|
532
|
-
fingerprint,
|
|
533
|
-
touch,
|
|
534
|
-
deviceVibration,
|
|
535
|
-
signal,
|
|
536
|
-
keyboardDown,
|
|
537
|
-
externalLinkSmall,
|
|
538
|
-
forward,
|
|
539
|
-
compare,
|
|
540
|
-
instruction,
|
|
541
|
-
terms,
|
|
542
|
-
read,
|
|
543
|
-
code
|
|
490
|
+
bonusFilled,
|
|
491
|
+
creditCardFilled,
|
|
492
|
+
heartOff,
|
|
493
|
+
starOff
|
|
544
494
|
};
|
|
545
495
|
|
|
546
496
|
/* Navigation */
|