@pagopa/io-app-design-system 4.5.5 → 4.6.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.
Files changed (182) hide show
  1. package/lib/commonjs/components/accordion/AccordionItem.js +20 -56
  2. package/lib/commonjs/components/accordion/AccordionItem.js.map +1 -1
  3. package/lib/commonjs/components/banner/Banner.js +3 -2
  4. package/lib/commonjs/components/banner/Banner.js.map +1 -1
  5. package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +56 -0
  6. package/lib/commonjs/components/buttons/ButtonLink.js +1 -1
  7. package/lib/commonjs/components/buttons/ButtonSolid.js +1 -1
  8. package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
  9. package/lib/commonjs/components/checkbox/AnimatedCheckbox.js +8 -5
  10. package/lib/commonjs/components/checkbox/AnimatedCheckbox.js.map +1 -1
  11. package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js +4 -2
  12. package/lib/commonjs/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
  13. package/lib/commonjs/components/claimsSelector/ClaimsSelector.js +119 -0
  14. package/lib/commonjs/components/claimsSelector/ClaimsSelector.js.map +1 -0
  15. package/lib/commonjs/components/claimsSelector/__test__/ClaimsSelector.test.js +46 -0
  16. package/lib/commonjs/components/claimsSelector/__test__/ClaimsSelector.test.js.map +1 -0
  17. package/lib/commonjs/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +1270 -0
  18. package/lib/commonjs/components/claimsSelector/index.js +17 -0
  19. package/lib/commonjs/components/claimsSelector/index.js.map +1 -0
  20. package/lib/commonjs/components/index.js +11 -0
  21. package/lib/commonjs/components/index.js.map +1 -1
  22. package/lib/commonjs/components/listitems/ListItemCheckbox.js +1 -1
  23. package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
  24. package/lib/commonjs/components/listitems/ListItemInfo.js +6 -2
  25. package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
  26. package/lib/commonjs/components/listitems/ListItemRadio.js +1 -1
  27. package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
  28. package/lib/commonjs/components/listitems/ListItemSwitch.js +1 -1
  29. package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
  30. package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -0
  31. package/lib/commonjs/components/radio/AnimatedRadio.js +8 -5
  32. package/lib/commonjs/components/radio/AnimatedRadio.js.map +1 -1
  33. package/lib/commonjs/components/switch/NativeSwitch.js +5 -5
  34. package/lib/commonjs/components/switch/NativeSwitch.js.map +1 -1
  35. package/lib/commonjs/components/switch/index.js +0 -22
  36. package/lib/commonjs/components/switch/index.js.map +1 -1
  37. package/lib/commonjs/components/textInput/TextInputValidation.js +19 -7
  38. package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -1
  39. package/lib/commonjs/components/typography/markdown/MdH1.js +1 -2
  40. package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
  41. package/lib/commonjs/components/typography/markdown/MdH2.js +2 -2
  42. package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
  43. package/lib/commonjs/components/typography/markdown/MdH3.js +2 -2
  44. package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
  45. package/lib/commonjs/core/IOColors.js +28 -6
  46. package/lib/commonjs/core/IOColors.js.map +1 -1
  47. package/lib/commonjs/core/IOStyles.js +2 -16
  48. package/lib/commonjs/core/IOStyles.js.map +1 -1
  49. package/lib/commonjs/hooks/useAccordionAnimation.js +83 -0
  50. package/lib/commonjs/hooks/useAccordionAnimation.js.map +1 -0
  51. package/lib/module/components/accordion/AccordionItem.js +19 -52
  52. package/lib/module/components/accordion/AccordionItem.js.map +1 -1
  53. package/lib/module/components/banner/Banner.js +3 -2
  54. package/lib/module/components/banner/Banner.js.map +1 -1
  55. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +56 -0
  56. package/lib/module/components/buttons/ButtonLink.js +1 -1
  57. package/lib/module/components/buttons/ButtonSolid.js +1 -1
  58. package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
  59. package/lib/module/components/checkbox/AnimatedCheckbox.js +9 -6
  60. package/lib/module/components/checkbox/AnimatedCheckbox.js.map +1 -1
  61. package/lib/module/components/checkbox/AnimatedMessageCheckbox.js +6 -4
  62. package/lib/module/components/checkbox/AnimatedMessageCheckbox.js.map +1 -1
  63. package/lib/module/components/claimsSelector/ClaimsSelector.js +109 -0
  64. package/lib/module/components/claimsSelector/ClaimsSelector.js.map +1 -0
  65. package/lib/module/components/claimsSelector/__test__/ClaimsSelector.test.js +41 -0
  66. package/lib/module/components/claimsSelector/__test__/ClaimsSelector.test.js.map +1 -0
  67. package/lib/module/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +1270 -0
  68. package/lib/module/components/claimsSelector/index.js +2 -0
  69. package/lib/module/components/claimsSelector/index.js.map +1 -0
  70. package/lib/module/components/index.js +1 -0
  71. package/lib/module/components/index.js.map +1 -1
  72. package/lib/module/components/listitems/ListItemCheckbox.js +1 -1
  73. package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
  74. package/lib/module/components/listitems/ListItemInfo.js +6 -2
  75. package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
  76. package/lib/module/components/listitems/ListItemRadio.js +1 -1
  77. package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
  78. package/lib/module/components/listitems/ListItemSwitch.js +1 -1
  79. package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
  80. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -0
  81. package/lib/module/components/radio/AnimatedRadio.js +9 -6
  82. package/lib/module/components/radio/AnimatedRadio.js.map +1 -1
  83. package/lib/module/components/switch/NativeSwitch.js +6 -6
  84. package/lib/module/components/switch/NativeSwitch.js.map +1 -1
  85. package/lib/module/components/switch/index.js +0 -2
  86. package/lib/module/components/switch/index.js.map +1 -1
  87. package/lib/module/components/textInput/TextInputValidation.js +20 -8
  88. package/lib/module/components/textInput/TextInputValidation.js.map +1 -1
  89. package/lib/module/components/typography/markdown/MdH1.js +1 -2
  90. package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
  91. package/lib/module/components/typography/markdown/MdH2.js +2 -2
  92. package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
  93. package/lib/module/components/typography/markdown/MdH3.js +2 -2
  94. package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
  95. package/lib/module/core/IOColors.js +28 -6
  96. package/lib/module/core/IOColors.js.map +1 -1
  97. package/lib/module/core/IOStyles.js +1 -14
  98. package/lib/module/core/IOStyles.js.map +1 -1
  99. package/lib/module/hooks/useAccordionAnimation.js +76 -0
  100. package/lib/module/hooks/useAccordionAnimation.js.map +1 -0
  101. package/lib/typescript/components/accordion/AccordionItem.d.ts +0 -6
  102. package/lib/typescript/components/accordion/AccordionItem.d.ts.map +1 -1
  103. package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
  104. package/lib/typescript/components/checkbox/AnimatedCheckbox.d.ts.map +1 -1
  105. package/lib/typescript/components/checkbox/AnimatedMessageCheckbox.d.ts.map +1 -1
  106. package/lib/typescript/components/claimsSelector/ClaimsSelector.d.ts +42 -0
  107. package/lib/typescript/components/claimsSelector/ClaimsSelector.d.ts.map +1 -0
  108. package/lib/typescript/components/claimsSelector/__test__/ClaimsSelector.test.d.ts +2 -0
  109. package/lib/typescript/components/claimsSelector/__test__/ClaimsSelector.test.d.ts.map +1 -0
  110. package/lib/typescript/components/claimsSelector/index.d.ts +2 -0
  111. package/lib/typescript/components/claimsSelector/index.d.ts.map +1 -0
  112. package/lib/typescript/components/index.d.ts +1 -0
  113. package/lib/typescript/components/index.d.ts.map +1 -1
  114. package/lib/typescript/components/listitems/ListItemInfo.d.ts +2 -1
  115. package/lib/typescript/components/listitems/ListItemInfo.d.ts.map +1 -1
  116. package/lib/typescript/components/switch/NativeSwitch.d.ts.map +1 -1
  117. package/lib/typescript/components/switch/index.d.ts +0 -2
  118. package/lib/typescript/components/switch/index.d.ts.map +1 -1
  119. package/lib/typescript/components/textInput/TextInputValidation.d.ts +31 -4
  120. package/lib/typescript/components/textInput/TextInputValidation.d.ts.map +1 -1
  121. package/lib/typescript/components/typography/BodyMonospace.d.ts +1 -1
  122. package/lib/typescript/components/typography/ButtonText.d.ts +1 -1
  123. package/lib/typescript/components/typography/Caption.d.ts +1 -1
  124. package/lib/typescript/components/typography/H1.d.ts +1 -1
  125. package/lib/typescript/components/typography/H2.d.ts +1 -1
  126. package/lib/typescript/components/typography/H3.d.ts +1 -1
  127. package/lib/typescript/components/typography/H4.d.ts +1 -1
  128. package/lib/typescript/components/typography/H5.d.ts +1 -1
  129. package/lib/typescript/components/typography/H6.d.ts +1 -1
  130. package/lib/typescript/components/typography/Hero.d.ts +1 -1
  131. package/lib/typescript/components/typography/markdown/MdH1.d.ts +1 -1
  132. package/lib/typescript/components/typography/markdown/MdH1.d.ts.map +1 -1
  133. package/lib/typescript/components/typography/markdown/MdH2.d.ts +1 -1
  134. package/lib/typescript/components/typography/markdown/MdH3.d.ts +1 -1
  135. package/lib/typescript/core/IOColors.d.ts +4 -1
  136. package/lib/typescript/core/IOColors.d.ts.map +1 -1
  137. package/lib/typescript/core/IOStyles.d.ts +0 -13
  138. package/lib/typescript/core/IOStyles.d.ts.map +1 -1
  139. package/lib/typescript/hooks/useAccordionAnimation.d.ts +41 -0
  140. package/lib/typescript/hooks/useAccordionAnimation.d.ts.map +1 -0
  141. package/package.json +1 -1
  142. package/src/components/accordion/AccordionItem.tsx +21 -82
  143. package/src/components/banner/Banner.tsx +3 -2
  144. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +56 -0
  145. package/src/components/buttons/ButtonLink.tsx +1 -1
  146. package/src/components/buttons/ButtonSolid.tsx +1 -1
  147. package/src/components/checkbox/AnimatedCheckbox.tsx +9 -10
  148. package/src/components/checkbox/AnimatedMessageCheckbox.tsx +5 -5
  149. package/src/components/claimsSelector/ClaimsSelector.tsx +185 -0
  150. package/src/components/claimsSelector/__test__/ClaimsSelector.test.tsx +55 -0
  151. package/src/components/claimsSelector/__test__/__snapshots__/ClaimsSelector.test.tsx.snap +1270 -0
  152. package/src/components/claimsSelector/index.tsx +1 -0
  153. package/src/components/index.tsx +1 -0
  154. package/src/components/listitems/ListItemCheckbox.tsx +1 -1
  155. package/src/components/listitems/ListItemInfo.tsx +7 -2
  156. package/src/components/listitems/ListItemRadio.tsx +1 -1
  157. package/src/components/listitems/ListItemSwitch.tsx +1 -1
  158. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +10 -0
  159. package/src/components/radio/AnimatedRadio.tsx +10 -10
  160. package/src/components/switch/NativeSwitch.tsx +6 -6
  161. package/src/components/switch/index.tsx +0 -2
  162. package/src/components/textInput/TextInputValidation.tsx +140 -97
  163. package/src/components/typography/markdown/MdH1.tsx +1 -2
  164. package/src/components/typography/markdown/MdH2.tsx +2 -2
  165. package/src/components/typography/markdown/MdH3.tsx +2 -2
  166. package/src/core/IOColors.ts +33 -5
  167. package/src/core/IOStyles.ts +1 -28
  168. package/src/hooks/useAccordionAnimation.tsx +106 -0
  169. package/lib/commonjs/components/switch/AnimatedSwitch.js +0 -94
  170. package/lib/commonjs/components/switch/AnimatedSwitch.js.map +0 -1
  171. package/lib/commonjs/components/switch/SwitchLabel.js +0 -76
  172. package/lib/commonjs/components/switch/SwitchLabel.js.map +0 -1
  173. package/lib/module/components/switch/AnimatedSwitch.js +0 -85
  174. package/lib/module/components/switch/AnimatedSwitch.js.map +0 -1
  175. package/lib/module/components/switch/SwitchLabel.js +0 -68
  176. package/lib/module/components/switch/SwitchLabel.js.map +0 -1
  177. package/lib/typescript/components/switch/AnimatedSwitch.d.ts +0 -13
  178. package/lib/typescript/components/switch/AnimatedSwitch.d.ts.map +0 -1
  179. package/lib/typescript/components/switch/SwitchLabel.d.ts +0 -18
  180. package/lib/typescript/components/switch/SwitchLabel.d.ts.map +0 -1
  181. package/src/components/switch/AnimatedSwitch.tsx +0 -126
  182. package/src/components/switch/SwitchLabel.tsx +0 -80
@@ -0,0 +1,1270 @@
1
+ // Jest Snapshot v1, https://goo.gl/fbAQLP
2
+
3
+ exports[`ClaimsSelector ClaimsSelector Snapshot (controlled) 1`] = `
4
+ <View
5
+ style={
6
+ [
7
+ {
8
+ "borderCurve": "continuous",
9
+ "borderRadius": 8,
10
+ "borderWidth": 1,
11
+ },
12
+ {
13
+ "backgroundColor": "#F4F5F8",
14
+ "borderColor": "#E8EBF1",
15
+ },
16
+ ]
17
+ }
18
+ >
19
+ <RNGestureHandlerButton
20
+ collapsable={false}
21
+ delayLongPress={600}
22
+ enabled={true}
23
+ exclusive={true}
24
+ handlerTag={1}
25
+ handlerType="NativeViewGestureHandler"
26
+ onGestureEvent={[Function]}
27
+ onGestureHandlerEvent={[Function]}
28
+ onGestureHandlerStateChange={[Function]}
29
+ onHandlerStateChange={[Function]}
30
+ rippleColor={0}
31
+ touchSoundDisabled={false}
32
+ >
33
+ <View
34
+ accessibilityLabel="Patente di guida"
35
+ accessibilityRole="button"
36
+ accessibilityState={
37
+ {
38
+ "expanded": false,
39
+ }
40
+ }
41
+ accessible={true}
42
+ collapsable={false}
43
+ style={{}}
44
+ >
45
+ <View
46
+ style={
47
+ {
48
+ "alignItems": "center",
49
+ "flexDirection": "row",
50
+ "justifyContent": "space-between",
51
+ "padding": 16,
52
+ }
53
+ }
54
+ >
55
+ <Text
56
+ allowFontScaling={true}
57
+ dynamicTypeRamp="headline"
58
+ maxFontSizeMultiplier={1.5}
59
+ style={
60
+ [
61
+ {},
62
+ {
63
+ "color": "#0E0F13",
64
+ "fontFamily": "Titillium Sans Pro",
65
+ "fontSize": 17,
66
+ "fontStyle": "normal",
67
+ "fontWeight": "600",
68
+ "lineHeight": 24,
69
+ },
70
+ ]
71
+ }
72
+ >
73
+ Patente di guida
74
+ </Text>
75
+ <View
76
+ style={
77
+ {
78
+ "transform": [
79
+ {
80
+ "rotate": "0deg",
81
+ },
82
+ ],
83
+ }
84
+ }
85
+ >
86
+ <RNSVGSvgView
87
+ accessibilityElementsHidden={true}
88
+ accessibilityLabel=""
89
+ accessible={false}
90
+ align="xMidYMid"
91
+ bbHeight={24}
92
+ bbWidth={24}
93
+ focusable={false}
94
+ height={24}
95
+ importantForAccessibility="no-hide-descendants"
96
+ meetOrSlice={0}
97
+ minX={0}
98
+ minY={0}
99
+ style={
100
+ [
101
+ {
102
+ "backgroundColor": "transparent",
103
+ "borderWidth": 0,
104
+ },
105
+ {
106
+ "color": "#0B3EE3",
107
+ },
108
+ {
109
+ "flex": 0,
110
+ "height": 24,
111
+ "width": 24,
112
+ },
113
+ ]
114
+ }
115
+ tintColor="#0B3EE3"
116
+ vbHeight={24}
117
+ vbWidth={24}
118
+ width={24}
119
+ >
120
+ <RNSVGGroup
121
+ fill={
122
+ {
123
+ "payload": 4278190080,
124
+ "type": 0,
125
+ }
126
+ }
127
+ >
128
+ <RNSVGPath
129
+ clipRule={0}
130
+ d="M18.7071 8.29289c.3905.39053.3905 1.02369 0 1.41422l-6 5.99999c-.3905.3905-1.0237.3905-1.4142 0L5.29289 9.70711c-.39052-.39053-.39052-1.02369 0-1.41422.39053-.39052 1.02369-.39052 1.41422 0L12 13.5858l5.2929-5.29291c.3905-.39052 1.0237-.39052 1.4142 0Z"
131
+ fill={
132
+ {
133
+ "type": 2,
134
+ }
135
+ }
136
+ fillRule={0}
137
+ propList={
138
+ [
139
+ "fill",
140
+ "fillRule",
141
+ ]
142
+ }
143
+ />
144
+ </RNSVGGroup>
145
+ </RNSVGSvgView>
146
+ </View>
147
+ </View>
148
+ </View>
149
+ </RNGestureHandlerButton>
150
+ <View
151
+ style={
152
+ [
153
+ {
154
+ "height": 0,
155
+ },
156
+ {
157
+ "overflow": "hidden",
158
+ },
159
+ ]
160
+ }
161
+ >
162
+ <View
163
+ onLayout={[Function]}
164
+ style={
165
+ [
166
+ {
167
+ "padding": 16,
168
+ "paddingTop": 0,
169
+ "position": "absolute",
170
+ },
171
+ {
172
+ "width": "100%",
173
+ },
174
+ ]
175
+ }
176
+ >
177
+ <View
178
+ accessibilityLabel="Mario Rossi, Nome e cognome"
179
+ accessibilityRole="checkbox"
180
+ accessibilityState={
181
+ {
182
+ "busy": undefined,
183
+ "checked": true,
184
+ "disabled": false,
185
+ "expanded": undefined,
186
+ "selected": undefined,
187
+ }
188
+ }
189
+ accessibilityValue={
190
+ {
191
+ "max": undefined,
192
+ "min": undefined,
193
+ "now": undefined,
194
+ "text": undefined,
195
+ }
196
+ }
197
+ accessible={true}
198
+ collapsable={false}
199
+ focusable={true}
200
+ onBlur={[Function]}
201
+ onClick={[Function]}
202
+ onFocus={[Function]}
203
+ onResponderGrant={[Function]}
204
+ onResponderMove={[Function]}
205
+ onResponderRelease={[Function]}
206
+ onResponderTerminate={[Function]}
207
+ onResponderTerminationRequest={[Function]}
208
+ onStartShouldSetResponder={[Function]}
209
+ onTouchEnd={[Function]}
210
+ testID="ListItemCheckbox"
211
+ >
212
+ <View
213
+ needsOffscreenAlphaCompositing={true}
214
+ style={
215
+ [
216
+ {
217
+ "marginHorizontal": -24,
218
+ "paddingHorizontal": 24,
219
+ "paddingVertical": 12,
220
+ },
221
+ {
222
+ "backgroundColor": undefined,
223
+ },
224
+ {
225
+ "opacity": 1,
226
+ },
227
+ ]
228
+ }
229
+ >
230
+ <View
231
+ style={
232
+ {
233
+ "transform": [
234
+ {
235
+ "scale": undefined,
236
+ },
237
+ ],
238
+ }
239
+ }
240
+ >
241
+ <View
242
+ style={
243
+ {
244
+ "alignItems": "flex-start",
245
+ "flexDirection": "row",
246
+ "justifyContent": "space-between",
247
+ }
248
+ }
249
+ >
250
+ <View
251
+ style={
252
+ [
253
+ {
254
+ "flexDirection": "row",
255
+ },
256
+ {
257
+ "columnGap": 12,
258
+ "flexShrink": 1,
259
+ },
260
+ ]
261
+ }
262
+ >
263
+ <Text
264
+ allowFontScaling={true}
265
+ dynamicTypeRamp="headline"
266
+ maxFontSizeMultiplier={1.5}
267
+ style={
268
+ [
269
+ {},
270
+ {
271
+ "color": "#0E0F13",
272
+ "fontFamily": "Titillium Sans Pro",
273
+ "fontSize": 17,
274
+ "fontStyle": "normal",
275
+ "fontWeight": "600",
276
+ "lineHeight": 24,
277
+ },
278
+ {
279
+ "flexShrink": 1,
280
+ },
281
+ ]
282
+ }
283
+ >
284
+ Mario Rossi
285
+ </Text>
286
+ </View>
287
+ <View
288
+ style={
289
+ {
290
+ "width": 8,
291
+ }
292
+ }
293
+ />
294
+ <View
295
+ accessibilityElementsHidden={true}
296
+ importantForAccessibility="no-hide-descendants"
297
+ pointerEvents="none"
298
+ >
299
+ <View
300
+ accessibilityState={
301
+ {
302
+ "busy": undefined,
303
+ "checked": undefined,
304
+ "disabled": undefined,
305
+ "expanded": undefined,
306
+ "selected": undefined,
307
+ }
308
+ }
309
+ accessibilityValue={
310
+ {
311
+ "max": undefined,
312
+ "min": undefined,
313
+ "now": undefined,
314
+ "text": undefined,
315
+ }
316
+ }
317
+ accessible={false}
318
+ collapsable={false}
319
+ focusable={true}
320
+ onBlur={[Function]}
321
+ onClick={[Function]}
322
+ onFocus={[Function]}
323
+ onResponderGrant={[Function]}
324
+ onResponderMove={[Function]}
325
+ onResponderRelease={[Function]}
326
+ onResponderTerminate={[Function]}
327
+ onResponderTerminationRequest={[Function]}
328
+ onStartShouldSetResponder={[Function]}
329
+ style={
330
+ {
331
+ "height": 24,
332
+ "width": 24,
333
+ }
334
+ }
335
+ testID="AnimatedCheckboxInput"
336
+ >
337
+ <View
338
+ style={
339
+ [
340
+ {
341
+ "borderCurve": "continuous",
342
+ "borderWidth": 2,
343
+ "left": 0,
344
+ "position": "absolute",
345
+ "top": 0,
346
+ },
347
+ {
348
+ "borderRadius": 5,
349
+ "height": 24,
350
+ "width": 24,
351
+ },
352
+ {
353
+ "borderColor": "#555C70",
354
+ },
355
+ ]
356
+ }
357
+ />
358
+ <View
359
+ style={
360
+ [
361
+ {
362
+ "borderCurve": "continuous",
363
+ "left": 0,
364
+ "position": "absolute",
365
+ "top": 0,
366
+ },
367
+ {
368
+ "borderRadius": 5,
369
+ "height": 24,
370
+ "width": 24,
371
+ },
372
+ {
373
+ "backgroundColor": "#0073E6",
374
+ },
375
+ {
376
+ "opacity": 1,
377
+ "transform": [
378
+ {
379
+ "scale": undefined,
380
+ },
381
+ ],
382
+ },
383
+ ]
384
+ }
385
+ />
386
+ <View
387
+ style={
388
+ {
389
+ "zIndex": 1,
390
+ }
391
+ }
392
+ >
393
+ <RNSVGSvgView
394
+ align="xMidYMid"
395
+ bbHeight={24}
396
+ bbWidth={24}
397
+ focusable={false}
398
+ height={24}
399
+ meetOrSlice={0}
400
+ minX={0}
401
+ minY={0}
402
+ style={
403
+ [
404
+ {
405
+ "backgroundColor": "transparent",
406
+ "borderWidth": 0,
407
+ },
408
+ {
409
+ "flex": 0,
410
+ "height": 24,
411
+ "width": 24,
412
+ },
413
+ ]
414
+ }
415
+ vbHeight={24}
416
+ vbWidth={24}
417
+ width={24}
418
+ >
419
+ <RNSVGGroup
420
+ fill={
421
+ {
422
+ "payload": 4278190080,
423
+ "type": 0,
424
+ }
425
+ }
426
+ >
427
+ <RNSVGPath
428
+ d="m7 12 4 4 7-7"
429
+ fill={null}
430
+ onLayout={[Function]}
431
+ propList={
432
+ [
433
+ "fill",
434
+ "stroke",
435
+ "strokeWidth",
436
+ "strokeDasharray",
437
+ "strokeLinecap",
438
+ "strokeLinejoin",
439
+ ]
440
+ }
441
+ stroke={
442
+ {
443
+ "payload": 4294967295,
444
+ "type": 0,
445
+ }
446
+ }
447
+ strokeDasharray={null}
448
+ strokeLinecap={1}
449
+ strokeLinejoin={1}
450
+ strokeWidth={2}
451
+ />
452
+ </RNSVGGroup>
453
+ </RNSVGSvgView>
454
+ </View>
455
+ </View>
456
+ </View>
457
+ </View>
458
+ <View>
459
+ <View
460
+ style={
461
+ {
462
+ "height": 4,
463
+ }
464
+ }
465
+ />
466
+ <Text
467
+ allowFontScaling={true}
468
+ dynamicTypeRamp="footnote"
469
+ maxFontSizeMultiplier={1.5}
470
+ style={
471
+ [
472
+ {},
473
+ {
474
+ "color": "#555C70",
475
+ "fontFamily": "Titillium Sans Pro",
476
+ "fontSize": 14,
477
+ "fontStyle": "normal",
478
+ "fontWeight": "400",
479
+ "lineHeight": 21,
480
+ },
481
+ ]
482
+ }
483
+ >
484
+ Nome e cognome
485
+ </Text>
486
+ </View>
487
+ </View>
488
+ </View>
489
+ </View>
490
+ </View>
491
+ </View>
492
+ <BVLinearGradient
493
+ colors={
494
+ [
495
+ 16053752,
496
+ 4294243832,
497
+ ]
498
+ }
499
+ endPoint={
500
+ {
501
+ "x": 0.5,
502
+ "y": 1,
503
+ }
504
+ }
505
+ locations={null}
506
+ startPoint={
507
+ {
508
+ "x": 0.5,
509
+ "y": 0,
510
+ }
511
+ }
512
+ style={
513
+ {
514
+ "bottom": 0,
515
+ "height": 16,
516
+ "left": 16,
517
+ "position": "absolute",
518
+ "right": 16,
519
+ }
520
+ }
521
+ />
522
+ </View>
523
+ `;
524
+
525
+ exports[`ClaimsSelector ClaimsSelector Snapshot (uncontrolled) 1`] = `
526
+ <View
527
+ style={
528
+ [
529
+ {
530
+ "borderCurve": "continuous",
531
+ "borderRadius": 8,
532
+ "borderWidth": 1,
533
+ },
534
+ {
535
+ "backgroundColor": "#F4F5F8",
536
+ "borderColor": "#E8EBF1",
537
+ },
538
+ ]
539
+ }
540
+ >
541
+ <RNGestureHandlerButton
542
+ collapsable={false}
543
+ delayLongPress={600}
544
+ enabled={true}
545
+ exclusive={true}
546
+ handlerTag={2}
547
+ handlerType="NativeViewGestureHandler"
548
+ onGestureEvent={[Function]}
549
+ onGestureHandlerEvent={[Function]}
550
+ onGestureHandlerStateChange={[Function]}
551
+ onHandlerStateChange={[Function]}
552
+ rippleColor={0}
553
+ touchSoundDisabled={false}
554
+ >
555
+ <View
556
+ accessibilityLabel="Patente di guida"
557
+ accessibilityRole="button"
558
+ accessibilityState={
559
+ {
560
+ "expanded": false,
561
+ }
562
+ }
563
+ accessible={true}
564
+ collapsable={false}
565
+ style={{}}
566
+ >
567
+ <View
568
+ style={
569
+ {
570
+ "alignItems": "center",
571
+ "flexDirection": "row",
572
+ "justifyContent": "space-between",
573
+ "padding": 16,
574
+ }
575
+ }
576
+ >
577
+ <Text
578
+ allowFontScaling={true}
579
+ dynamicTypeRamp="headline"
580
+ maxFontSizeMultiplier={1.5}
581
+ style={
582
+ [
583
+ {},
584
+ {
585
+ "color": "#0E0F13",
586
+ "fontFamily": "Titillium Sans Pro",
587
+ "fontSize": 17,
588
+ "fontStyle": "normal",
589
+ "fontWeight": "600",
590
+ "lineHeight": 24,
591
+ },
592
+ ]
593
+ }
594
+ >
595
+ Patente di guida
596
+ </Text>
597
+ <View
598
+ style={
599
+ {
600
+ "transform": [
601
+ {
602
+ "rotate": "0deg",
603
+ },
604
+ ],
605
+ }
606
+ }
607
+ >
608
+ <RNSVGSvgView
609
+ accessibilityElementsHidden={true}
610
+ accessibilityLabel=""
611
+ accessible={false}
612
+ align="xMidYMid"
613
+ bbHeight={24}
614
+ bbWidth={24}
615
+ focusable={false}
616
+ height={24}
617
+ importantForAccessibility="no-hide-descendants"
618
+ meetOrSlice={0}
619
+ minX={0}
620
+ minY={0}
621
+ style={
622
+ [
623
+ {
624
+ "backgroundColor": "transparent",
625
+ "borderWidth": 0,
626
+ },
627
+ {
628
+ "color": "#0B3EE3",
629
+ },
630
+ {
631
+ "flex": 0,
632
+ "height": 24,
633
+ "width": 24,
634
+ },
635
+ ]
636
+ }
637
+ tintColor="#0B3EE3"
638
+ vbHeight={24}
639
+ vbWidth={24}
640
+ width={24}
641
+ >
642
+ <RNSVGGroup
643
+ fill={
644
+ {
645
+ "payload": 4278190080,
646
+ "type": 0,
647
+ }
648
+ }
649
+ >
650
+ <RNSVGPath
651
+ clipRule={0}
652
+ d="M18.7071 8.29289c.3905.39053.3905 1.02369 0 1.41422l-6 5.99999c-.3905.3905-1.0237.3905-1.4142 0L5.29289 9.70711c-.39052-.39053-.39052-1.02369 0-1.41422.39053-.39052 1.02369-.39052 1.41422 0L12 13.5858l5.2929-5.29291c.3905-.39052 1.0237-.39052 1.4142 0Z"
653
+ fill={
654
+ {
655
+ "type": 2,
656
+ }
657
+ }
658
+ fillRule={0}
659
+ propList={
660
+ [
661
+ "fill",
662
+ "fillRule",
663
+ ]
664
+ }
665
+ />
666
+ </RNSVGGroup>
667
+ </RNSVGSvgView>
668
+ </View>
669
+ </View>
670
+ </View>
671
+ </RNGestureHandlerButton>
672
+ <View
673
+ style={
674
+ [
675
+ {
676
+ "height": 0,
677
+ },
678
+ {
679
+ "overflow": "hidden",
680
+ },
681
+ ]
682
+ }
683
+ >
684
+ <View
685
+ onLayout={[Function]}
686
+ style={
687
+ [
688
+ {
689
+ "padding": 16,
690
+ "paddingTop": 0,
691
+ "position": "absolute",
692
+ },
693
+ {
694
+ "width": "100%",
695
+ },
696
+ ]
697
+ }
698
+ >
699
+ <View
700
+ accessibilityLabel="Mario Rossi, Nome e cognome"
701
+ accessibilityRole="checkbox"
702
+ accessibilityState={
703
+ {
704
+ "busy": undefined,
705
+ "checked": false,
706
+ "disabled": false,
707
+ "expanded": undefined,
708
+ "selected": undefined,
709
+ }
710
+ }
711
+ accessibilityValue={
712
+ {
713
+ "max": undefined,
714
+ "min": undefined,
715
+ "now": undefined,
716
+ "text": undefined,
717
+ }
718
+ }
719
+ accessible={true}
720
+ collapsable={false}
721
+ focusable={true}
722
+ onBlur={[Function]}
723
+ onClick={[Function]}
724
+ onFocus={[Function]}
725
+ onResponderGrant={[Function]}
726
+ onResponderMove={[Function]}
727
+ onResponderRelease={[Function]}
728
+ onResponderTerminate={[Function]}
729
+ onResponderTerminationRequest={[Function]}
730
+ onStartShouldSetResponder={[Function]}
731
+ onTouchEnd={[Function]}
732
+ testID="ListItemCheckbox"
733
+ >
734
+ <View
735
+ needsOffscreenAlphaCompositing={true}
736
+ style={
737
+ [
738
+ {
739
+ "marginHorizontal": -24,
740
+ "paddingHorizontal": 24,
741
+ "paddingVertical": 12,
742
+ },
743
+ {
744
+ "backgroundColor": undefined,
745
+ },
746
+ {
747
+ "opacity": 1,
748
+ },
749
+ ]
750
+ }
751
+ >
752
+ <View
753
+ style={
754
+ {
755
+ "transform": [
756
+ {
757
+ "scale": undefined,
758
+ },
759
+ ],
760
+ }
761
+ }
762
+ >
763
+ <View
764
+ style={
765
+ {
766
+ "alignItems": "flex-start",
767
+ "flexDirection": "row",
768
+ "justifyContent": "space-between",
769
+ }
770
+ }
771
+ >
772
+ <View
773
+ style={
774
+ [
775
+ {
776
+ "flexDirection": "row",
777
+ },
778
+ {
779
+ "columnGap": 12,
780
+ "flexShrink": 1,
781
+ },
782
+ ]
783
+ }
784
+ >
785
+ <Text
786
+ allowFontScaling={true}
787
+ dynamicTypeRamp="headline"
788
+ maxFontSizeMultiplier={1.5}
789
+ style={
790
+ [
791
+ {},
792
+ {
793
+ "color": "#0E0F13",
794
+ "fontFamily": "Titillium Sans Pro",
795
+ "fontSize": 17,
796
+ "fontStyle": "normal",
797
+ "fontWeight": "600",
798
+ "lineHeight": 24,
799
+ },
800
+ {
801
+ "flexShrink": 1,
802
+ },
803
+ ]
804
+ }
805
+ >
806
+ Mario Rossi
807
+ </Text>
808
+ </View>
809
+ <View
810
+ style={
811
+ {
812
+ "width": 8,
813
+ }
814
+ }
815
+ />
816
+ <View
817
+ accessibilityElementsHidden={true}
818
+ importantForAccessibility="no-hide-descendants"
819
+ pointerEvents="none"
820
+ >
821
+ <View
822
+ accessibilityState={
823
+ {
824
+ "busy": undefined,
825
+ "checked": undefined,
826
+ "disabled": undefined,
827
+ "expanded": undefined,
828
+ "selected": undefined,
829
+ }
830
+ }
831
+ accessibilityValue={
832
+ {
833
+ "max": undefined,
834
+ "min": undefined,
835
+ "now": undefined,
836
+ "text": undefined,
837
+ }
838
+ }
839
+ accessible={false}
840
+ collapsable={false}
841
+ focusable={true}
842
+ onBlur={[Function]}
843
+ onClick={[Function]}
844
+ onFocus={[Function]}
845
+ onResponderGrant={[Function]}
846
+ onResponderMove={[Function]}
847
+ onResponderRelease={[Function]}
848
+ onResponderTerminate={[Function]}
849
+ onResponderTerminationRequest={[Function]}
850
+ onStartShouldSetResponder={[Function]}
851
+ style={
852
+ {
853
+ "height": 24,
854
+ "width": 24,
855
+ }
856
+ }
857
+ testID="AnimatedCheckboxInput"
858
+ >
859
+ <View
860
+ style={
861
+ [
862
+ {
863
+ "borderCurve": "continuous",
864
+ "borderWidth": 2,
865
+ "left": 0,
866
+ "position": "absolute",
867
+ "top": 0,
868
+ },
869
+ {
870
+ "borderRadius": 5,
871
+ "height": 24,
872
+ "width": 24,
873
+ },
874
+ {
875
+ "borderColor": "#555C70",
876
+ },
877
+ ]
878
+ }
879
+ />
880
+ <View
881
+ style={
882
+ [
883
+ {
884
+ "borderCurve": "continuous",
885
+ "left": 0,
886
+ "position": "absolute",
887
+ "top": 0,
888
+ },
889
+ {
890
+ "borderRadius": 5,
891
+ "height": 24,
892
+ "width": 24,
893
+ },
894
+ {
895
+ "backgroundColor": "#0073E6",
896
+ },
897
+ {
898
+ "opacity": 0,
899
+ "transform": [
900
+ {
901
+ "scale": undefined,
902
+ },
903
+ ],
904
+ },
905
+ ]
906
+ }
907
+ />
908
+ </View>
909
+ </View>
910
+ </View>
911
+ <View>
912
+ <View
913
+ style={
914
+ {
915
+ "height": 4,
916
+ }
917
+ }
918
+ />
919
+ <Text
920
+ allowFontScaling={true}
921
+ dynamicTypeRamp="footnote"
922
+ maxFontSizeMultiplier={1.5}
923
+ style={
924
+ [
925
+ {},
926
+ {
927
+ "color": "#555C70",
928
+ "fontFamily": "Titillium Sans Pro",
929
+ "fontSize": 14,
930
+ "fontStyle": "normal",
931
+ "fontWeight": "400",
932
+ "lineHeight": 21,
933
+ },
934
+ ]
935
+ }
936
+ >
937
+ Nome e cognome
938
+ </Text>
939
+ </View>
940
+ </View>
941
+ </View>
942
+ </View>
943
+ </View>
944
+ </View>
945
+ <BVLinearGradient
946
+ colors={
947
+ [
948
+ 16053752,
949
+ 4294243832,
950
+ ]
951
+ }
952
+ endPoint={
953
+ {
954
+ "x": 0.5,
955
+ "y": 1,
956
+ }
957
+ }
958
+ locations={null}
959
+ startPoint={
960
+ {
961
+ "x": 0.5,
962
+ "y": 0,
963
+ }
964
+ }
965
+ style={
966
+ {
967
+ "bottom": 0,
968
+ "height": 16,
969
+ "left": 16,
970
+ "position": "absolute",
971
+ "right": 16,
972
+ }
973
+ }
974
+ />
975
+ </View>
976
+ `;
977
+
978
+ exports[`ClaimsSelector ClaimsSelector Snapshot (unselectable items) 1`] = `
979
+ <View
980
+ style={
981
+ [
982
+ {
983
+ "borderCurve": "continuous",
984
+ "borderRadius": 8,
985
+ "borderWidth": 1,
986
+ },
987
+ {
988
+ "backgroundColor": "#F4F5F8",
989
+ "borderColor": "#E8EBF1",
990
+ },
991
+ ]
992
+ }
993
+ >
994
+ <RNGestureHandlerButton
995
+ collapsable={false}
996
+ delayLongPress={600}
997
+ enabled={true}
998
+ exclusive={true}
999
+ handlerTag={3}
1000
+ handlerType="NativeViewGestureHandler"
1001
+ onGestureEvent={[Function]}
1002
+ onGestureHandlerEvent={[Function]}
1003
+ onGestureHandlerStateChange={[Function]}
1004
+ onHandlerStateChange={[Function]}
1005
+ rippleColor={0}
1006
+ touchSoundDisabled={false}
1007
+ >
1008
+ <View
1009
+ accessibilityLabel="Patente di guida"
1010
+ accessibilityRole="button"
1011
+ accessibilityState={
1012
+ {
1013
+ "expanded": false,
1014
+ }
1015
+ }
1016
+ accessible={true}
1017
+ collapsable={false}
1018
+ style={{}}
1019
+ >
1020
+ <View
1021
+ style={
1022
+ {
1023
+ "alignItems": "center",
1024
+ "flexDirection": "row",
1025
+ "justifyContent": "space-between",
1026
+ "padding": 16,
1027
+ }
1028
+ }
1029
+ >
1030
+ <Text
1031
+ allowFontScaling={true}
1032
+ dynamicTypeRamp="headline"
1033
+ maxFontSizeMultiplier={1.5}
1034
+ style={
1035
+ [
1036
+ {},
1037
+ {
1038
+ "color": "#0E0F13",
1039
+ "fontFamily": "Titillium Sans Pro",
1040
+ "fontSize": 17,
1041
+ "fontStyle": "normal",
1042
+ "fontWeight": "600",
1043
+ "lineHeight": 24,
1044
+ },
1045
+ ]
1046
+ }
1047
+ >
1048
+ Patente di guida
1049
+ </Text>
1050
+ <View
1051
+ style={
1052
+ {
1053
+ "transform": [
1054
+ {
1055
+ "rotate": "0deg",
1056
+ },
1057
+ ],
1058
+ }
1059
+ }
1060
+ >
1061
+ <RNSVGSvgView
1062
+ accessibilityElementsHidden={true}
1063
+ accessibilityLabel=""
1064
+ accessible={false}
1065
+ align="xMidYMid"
1066
+ bbHeight={24}
1067
+ bbWidth={24}
1068
+ focusable={false}
1069
+ height={24}
1070
+ importantForAccessibility="no-hide-descendants"
1071
+ meetOrSlice={0}
1072
+ minX={0}
1073
+ minY={0}
1074
+ style={
1075
+ [
1076
+ {
1077
+ "backgroundColor": "transparent",
1078
+ "borderWidth": 0,
1079
+ },
1080
+ {
1081
+ "color": "#0B3EE3",
1082
+ },
1083
+ {
1084
+ "flex": 0,
1085
+ "height": 24,
1086
+ "width": 24,
1087
+ },
1088
+ ]
1089
+ }
1090
+ tintColor="#0B3EE3"
1091
+ vbHeight={24}
1092
+ vbWidth={24}
1093
+ width={24}
1094
+ >
1095
+ <RNSVGGroup
1096
+ fill={
1097
+ {
1098
+ "payload": 4278190080,
1099
+ "type": 0,
1100
+ }
1101
+ }
1102
+ >
1103
+ <RNSVGPath
1104
+ clipRule={0}
1105
+ d="M18.7071 8.29289c.3905.39053.3905 1.02369 0 1.41422l-6 5.99999c-.3905.3905-1.0237.3905-1.4142 0L5.29289 9.70711c-.39052-.39053-.39052-1.02369 0-1.41422.39053-.39052 1.02369-.39052 1.41422 0L12 13.5858l5.2929-5.29291c.3905-.39052 1.0237-.39052 1.4142 0Z"
1106
+ fill={
1107
+ {
1108
+ "type": 2,
1109
+ }
1110
+ }
1111
+ fillRule={0}
1112
+ propList={
1113
+ [
1114
+ "fill",
1115
+ "fillRule",
1116
+ ]
1117
+ }
1118
+ />
1119
+ </RNSVGGroup>
1120
+ </RNSVGSvgView>
1121
+ </View>
1122
+ </View>
1123
+ </View>
1124
+ </RNGestureHandlerButton>
1125
+ <View
1126
+ style={
1127
+ [
1128
+ {
1129
+ "height": 0,
1130
+ },
1131
+ {
1132
+ "overflow": "hidden",
1133
+ },
1134
+ ]
1135
+ }
1136
+ >
1137
+ <View
1138
+ onLayout={[Function]}
1139
+ style={
1140
+ [
1141
+ {
1142
+ "padding": 16,
1143
+ "paddingTop": 0,
1144
+ "position": "absolute",
1145
+ },
1146
+ {
1147
+ "width": "100%",
1148
+ },
1149
+ ]
1150
+ }
1151
+ >
1152
+ <View
1153
+ accessibilityLabel="Nome e cognome; Mario Rossi"
1154
+ accessible={true}
1155
+ style={
1156
+ {
1157
+ "marginHorizontal": -24,
1158
+ "paddingHorizontal": 24,
1159
+ "paddingVertical": 12,
1160
+ }
1161
+ }
1162
+ >
1163
+ <View
1164
+ style={
1165
+ [
1166
+ {
1167
+ "alignItems": "center",
1168
+ "flexDirection": "row",
1169
+ "justifyContent": "space-between",
1170
+ },
1171
+ {
1172
+ "columnGap": 12,
1173
+ },
1174
+ ]
1175
+ }
1176
+ >
1177
+ <View
1178
+ style={
1179
+ {
1180
+ "flex": 1,
1181
+ }
1182
+ }
1183
+ >
1184
+ <View
1185
+ accessible={true}
1186
+ style={
1187
+ {
1188
+ "flexDirection": "column-reverse",
1189
+ }
1190
+ }
1191
+ >
1192
+ <Text
1193
+ allowFontScaling={true}
1194
+ dynamicTypeRamp="footnote"
1195
+ maxFontSizeMultiplier={1.5}
1196
+ style={
1197
+ [
1198
+ {},
1199
+ {
1200
+ "color": "#555C70",
1201
+ "fontFamily": "Titillium Sans Pro",
1202
+ "fontSize": 14,
1203
+ "fontStyle": "normal",
1204
+ "fontWeight": "400",
1205
+ "lineHeight": 21,
1206
+ },
1207
+ ]
1208
+ }
1209
+ >
1210
+ Nome e cognome
1211
+ </Text>
1212
+ <Text
1213
+ allowFontScaling={true}
1214
+ dynamicTypeRamp="headline"
1215
+ maxFontSizeMultiplier={1.5}
1216
+ numberOfLines={2}
1217
+ style={
1218
+ [
1219
+ {},
1220
+ {
1221
+ "color": "#0E0F13",
1222
+ "fontFamily": "Titillium Sans Pro",
1223
+ "fontSize": 17,
1224
+ "fontStyle": "normal",
1225
+ "fontWeight": "600",
1226
+ "lineHeight": 24,
1227
+ },
1228
+ ]
1229
+ }
1230
+ >
1231
+ Mario Rossi
1232
+ </Text>
1233
+ </View>
1234
+ </View>
1235
+ </View>
1236
+ </View>
1237
+ </View>
1238
+ </View>
1239
+ <BVLinearGradient
1240
+ colors={
1241
+ [
1242
+ 16053752,
1243
+ 4294243832,
1244
+ ]
1245
+ }
1246
+ endPoint={
1247
+ {
1248
+ "x": 0.5,
1249
+ "y": 1,
1250
+ }
1251
+ }
1252
+ locations={null}
1253
+ startPoint={
1254
+ {
1255
+ "x": 0.5,
1256
+ "y": 0,
1257
+ }
1258
+ }
1259
+ style={
1260
+ {
1261
+ "bottom": 0,
1262
+ "height": 16,
1263
+ "left": 16,
1264
+ "position": "absolute",
1265
+ "right": 16,
1266
+ }
1267
+ }
1268
+ />
1269
+ </View>
1270
+ `;