@tactics/toddle-styleguide 5.3.1 → 5.3.3

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 (178) hide show
  1. package/App.tsx +0 -19
  2. package/app.json +8 -4
  3. package/index.tsx +0 -4
  4. package/package.json +55 -27
  5. package/src/components/atoms/calendar/calendar.component.tsx +10 -6
  6. package/src/components/atoms/calendar/calendar.preview.tsx +4 -3
  7. package/src/components/molecules/amount/amount.component.tsx +5 -4
  8. package/src/components/molecules/calendar-select/calendar-select.component.d.ts +4 -4
  9. package/src/components/molecules/calendar-select/calendar-select.component.tsx +17 -16
  10. package/src/components/molecules/calendar-select/calendar-select.preview.tsx +16 -5
  11. package/src/components/molecules/date-input/date-input.component.d.ts +2 -2
  12. package/src/components/molecules/date-input/date-input.component.tsx +3 -3
  13. package/src/components/molecules/date-input/date-input.preview.tsx +5 -5
  14. package/src/components/molecules/day/day.component.d.ts +3 -3
  15. package/src/components/molecules/day/day.component.tsx +22 -17
  16. package/src/components/molecules/selectable-list-item/selectable-list-item.component.tsx +12 -7
  17. package/src/components/molecules/timestamp/timestamp.component.d.ts +2 -2
  18. package/src/components/molecules/timestamp/timestamp.component.tsx +12 -5
  19. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.d.ts +2 -2
  20. package/src/components/organisms/journal-entry/components/journal-entry-type/journal-entry-type.component.tsx +5 -5
  21. package/src/components/organisms/journal-entry/journal-entry.component.d.ts +3 -3
  22. package/src/components/organisms/journal-entry/journal-entry.component.tsx +7 -3
  23. package/src/components/organisms/journal-entry/journal-entry.preview.tsx +7 -3
  24. package/src/components/organisms/text-bubble/text-bubble.component.d.ts +2 -2
  25. package/src/components/organisms/text-bubble/text-bubble.component.tsx +6 -3
  26. package/src/components/organisms/text-bubble/text-bubble.preview.tsx +19 -7
  27. package/src/components/templates/popover-action/popover-action.component.tsx +9 -8
  28. package/src/icons/solid/cloud-download/cloud-download.icon.tsx +1 -1
  29. package/src/icons/solid/refresh/refresh-solid.icon.tsx +2 -2
  30. package/src/utilities/datetime/clock.class.tsx +14 -0
  31. package/src/utilities/datetime/dateonly.class.tsx +287 -0
  32. package/src/utilities/datetime/datetime.class.tsx +288 -0
  33. package/src/utilities/datetime/day.class.tsx +48 -0
  34. package/src/utilities/datetime/dayjs-config.ts +96 -0
  35. package/src/utilities/datetime/dayoftheweek.class.tsx +242 -0
  36. package/src/utilities/datetime/hour.class.tsx +60 -0
  37. package/src/utilities/datetime/locale.tsx +6 -0
  38. package/src/utilities/datetime/millisecond.class.tsx +48 -0
  39. package/src/utilities/datetime/minute.class.tsx +55 -0
  40. package/src/utilities/datetime/month.class.tsx +74 -0
  41. package/src/utilities/datetime/second.class.tsx +52 -0
  42. package/src/utilities/datetime/time.class.tsx +190 -0
  43. package/src/utilities/datetime/timezone.class.tsx +36 -0
  44. package/src/utilities/datetime/year.class.tsx +78 -0
  45. package/src/utilities/datetime/yearandmonth.class.tsx +80 -0
  46. package/src/components/atoms/background-gradient/__snapshots__/background-gradient.test.js.snap +0 -40
  47. package/src/components/atoms/background-gradient/background-gradient.test.js +0 -10
  48. package/src/components/atoms/calendar/__snapshots__/calendar.test.js.snap +0 -6817
  49. package/src/components/atoms/calendar/calendar.test.js +0 -35
  50. package/src/components/atoms/check-switch/__snapshots__/check-switch.test.js.snap +0 -84
  51. package/src/components/atoms/check-switch/check-switch.test.js +0 -13
  52. package/src/components/atoms/heading-components/all-caps-heading/__snapshots__/all-caps-heading.test.js.snap +0 -113
  53. package/src/components/atoms/heading-components/all-caps-heading/all-caps-heading.test.js +0 -44
  54. package/src/components/atoms/heading-components/heading1/__snapshots__/heading1.test.js.snap +0 -121
  55. package/src/components/atoms/heading-components/heading1/heading1.test.js +0 -51
  56. package/src/components/atoms/heading-components/heading2/__snapshots__/heading2.test.js.snap +0 -121
  57. package/src/components/atoms/heading-components/heading2/heading2.test.js +0 -51
  58. package/src/components/atoms/heading-components/heading3/__snapshots__/heading3.test.js.snap +0 -121
  59. package/src/components/atoms/heading-components/heading3/heading3.test.js +0 -51
  60. package/src/components/atoms/heading-components/heading4/__snapshots__/heading4.test.js.snap +0 -121
  61. package/src/components/atoms/heading-components/heading4/heading4.test.js +0 -51
  62. package/src/components/atoms/image-bubble/__snapshots__/image-bubble.test.js.snap +0 -67
  63. package/src/components/atoms/image-bubble/image-bubble.test.js +0 -20
  64. package/src/components/atoms/increment-input/__snapshots__/increment-input.test.js.snap +0 -269
  65. package/src/components/atoms/increment-input/increment-input.test.js +0 -14
  66. package/src/components/atoms/logo/__snapshots__/logo.test.js.snap +0 -113
  67. package/src/components/atoms/logo/logo.test.js +0 -16
  68. package/src/components/atoms/paragraph-components/paragraph/__snapshots__/paragraph.test.js.snap +0 -121
  69. package/src/components/atoms/paragraph-components/paragraph/paragraph.test.js +0 -76
  70. package/src/components/atoms/paragraph-components/small-text/__snapshots__/small-text.test.js.snap +0 -121
  71. package/src/components/atoms/paragraph-components/small-text/small-text.test.js +0 -76
  72. package/src/components/atoms/paragraph-components/tiny-text/__snapshots__/tiny-text.test.js.snap +0 -121
  73. package/src/components/atoms/paragraph-components/tiny-text/tiny-text.test.js +0 -76
  74. package/src/components/atoms/quick-message/__snapshots__/quick-message.test.js.snap +0 -143
  75. package/src/components/atoms/quick-message/quick-message.test.js +0 -58
  76. package/src/components/atoms/split-container/__snapshots__/split-container.test.js.snap +0 -333
  77. package/src/components/atoms/split-container/split-container.test.js +0 -45
  78. package/src/components/atoms/text-input/__snapshots__/text-input.test.js.snap +0 -123
  79. package/src/components/atoms/text-input/text-input.test.js +0 -59
  80. package/src/components/molecules/avatar/__snapshots__/avatar.test.js.snap +0 -97
  81. package/src/components/molecules/avatar/avatar.test.js +0 -22
  82. package/src/components/molecules/blocked-message/__snapshots__/blocked-message.test.js.snap +0 -107
  83. package/src/components/molecules/blocked-message/blocked-message.test.js +0 -12
  84. package/src/components/molecules/button/__snapshots__/button.test.js.snap +0 -652
  85. package/src/components/molecules/button/button.test.js +0 -56
  86. package/src/components/molecules/calendar-select/__snapshots__/calendar-select.test.js.snap +0 -343
  87. package/src/components/molecules/calendar-select/calendar-select.test.js +0 -20
  88. package/src/components/molecules/cancel-link/__snapshots__/cancel-link.test.js.snap +0 -139
  89. package/src/components/molecules/cancel-link/cancel-link.test.js +0 -28
  90. package/src/components/molecules/checkbox/__snapshots__/checkbox.test.js.snap +0 -176
  91. package/src/components/molecules/checkbox/checkbox.test.js +0 -30
  92. package/src/components/molecules/contact-address/__snapshots__/contact-address.test.js.snap +0 -113
  93. package/src/components/molecules/contact-address/contact-address.test.js +0 -18
  94. package/src/components/molecules/contact-role/__snapshots__/contact-role.test.js.snap +0 -113
  95. package/src/components/molecules/contact-role/contact-role.test.js +0 -18
  96. package/src/components/molecules/date-input/__snapshots__/date-input.test.js.snap +0 -140
  97. package/src/components/molecules/date-input/date-input.test.js +0 -23
  98. package/src/components/molecules/day/__snapshots__/day.test.js.snap +0 -263
  99. package/src/components/molecules/day/day.test.js +0 -37
  100. package/src/components/molecules/default-select/__snapshots__/default-select.test.js.snap +0 -140
  101. package/src/components/molecules/default-select/default-select.test.js +0 -17
  102. package/src/components/molecules/department_logo/__snapshots__/department-logo.test.js.snap +0 -27
  103. package/src/components/molecules/department_logo/department-logo.test.js +0 -12
  104. package/src/components/molecules/failed-to-send/__snapshots__/failed-bubble.test.js.snap +0 -386
  105. package/src/components/molecules/failed-to-send/failed-bubble.test.js +0 -75
  106. package/src/components/molecules/filter-range/__snapshots__/filter-range.test.js.snap +0 -208
  107. package/src/components/molecules/filter-range/filter-range.test.js +0 -20
  108. package/src/components/molecules/filter-tab/__snapshots__/filter-tab.test.js.snap +0 -536
  109. package/src/components/molecules/filter-tab/filter-tab.test.js +0 -42
  110. package/src/components/molecules/info/__snapshots__/info.test.js.snap +0 -64
  111. package/src/components/molecules/info/info.test.js +0 -18
  112. package/src/components/molecules/language-button/__snapshots__/language-button.test.js.snap +0 -129
  113. package/src/components/molecules/language-button/language-button.test.js +0 -29
  114. package/src/components/molecules/message-input/__snapshots__/message-input.test.js.snap +0 -611
  115. package/src/components/molecules/message-input/message-input.test.js +0 -63
  116. package/src/components/molecules/more-info-button/__snapshots__/more-info-button.test.js.snap +0 -133
  117. package/src/components/molecules/more-info-button/more-info-button.test.js +0 -29
  118. package/src/components/molecules/password-input/__snapshots__/password-input.test.js.snap +0 -504
  119. package/src/components/molecules/password-input/password-input.test.js +0 -46
  120. package/src/components/molecules/pill/__snapshots__/pill.test.js.snap +0 -226
  121. package/src/components/molecules/pill/pill.test.js +0 -42
  122. package/src/components/molecules/pressable-icon/__snapshots__/pressable-icon.test.js.snap +0 -460
  123. package/src/components/molecules/pressable-icon/pressable-icon.test.js +0 -51
  124. package/src/components/molecules/quick-filter/__snapshots__/quick-filter.test.js.snap +0 -557
  125. package/src/components/molecules/quick-filter/quick-filter.test.js +0 -134
  126. package/src/components/molecules/search-input/__snapshots__/search.test.js.snap +0 -145
  127. package/src/components/molecules/search-input/search.test.js +0 -22
  128. package/src/components/molecules/select-link/__snapshots__/select-link.test.js.snap +0 -70
  129. package/src/components/molecules/select-link/select-link.test.js +0 -17
  130. package/src/components/molecules/select-list-item/__snapshots__/select-list-item.test.js.snap +0 -762
  131. package/src/components/molecules/select-list-item/select-list-item.test.js +0 -38
  132. package/src/components/molecules/select-picker/__snapshots__/select-picker.test.js.snap +0 -407
  133. package/src/components/molecules/select-picker/select-picker.test.js +0 -31
  134. package/src/components/molecules/send-bubble/__snapshots__/send-text-bubble.test.js.snap +0 -1979
  135. package/src/components/molecules/send-bubble/send-text-bubble.test.js +0 -156
  136. package/src/components/molecules/snackbar/__snapshots__/snackbar.test.js.snap +0 -557
  137. package/src/components/molecules/snackbar/snackbar.test.js +0 -35
  138. package/src/components/molecules/swipe/__snapshots__/swipe.test.js.snap +0 -340
  139. package/src/components/molecules/swipe/swipe.test.js +0 -46
  140. package/src/components/molecules/tag/__snapshots__/tag.test.js.snap +0 -139
  141. package/src/components/molecules/tag/tag.test.js +0 -34
  142. package/src/components/molecules/time-picker/__snapshots__/time-picker.test.js.snap +0 -2221
  143. package/src/components/molecules/time-picker/time-picker.test.js +0 -18
  144. package/src/components/molecules/time-tracker/__snapshots__/time-tracker.test.js.snap +0 -266
  145. package/src/components/molecules/time-tracker/time-tracker.test.js +0 -36
  146. package/src/components/molecules/timeline/__snapshots__/timeline.test.js.snap +0 -257
  147. package/src/components/molecules/timeline/timeline.test.js +0 -18
  148. package/src/components/molecules/timestamp/__snapshots__/timestamp.test.js.snap +0 -28
  149. package/src/components/molecules/timestamp/timestamp.test.js +0 -16
  150. package/src/components/molecules/wave-background/__snapshots__/wave.test.js.snap +0 -173
  151. package/src/components/molecules/wave-background/wave.test.js +0 -25
  152. package/src/components/molecules/wide-button/__snapshots__/wide-button.test.js.snap +0 -269
  153. package/src/components/molecules/wide-button/wide-button.test.js +0 -30
  154. package/src/components/organisms/child-list-item/__snapshots__/child-list-item.test.js.snap +0 -1040
  155. package/src/components/organisms/child-list-item/child-list-item.test.js +0 -75
  156. package/src/components/organisms/contact-item/__snapshots__/contact-item.test.js.snap +0 -404
  157. package/src/components/organisms/contact-item/contact-item.test.js +0 -22
  158. package/src/components/organisms/loading-indicator/__snapshots__/loading-indicator.test.js.snap +0 -474
  159. package/src/components/organisms/loading-indicator/loading-indicator.test.js +0 -41
  160. package/src/components/organisms/my-child-list-item/__snapshots__/my-child-list-item.test.js.snap +0 -293
  161. package/src/components/organisms/my-child-list-item/my-child-list-item.test.js +0 -23
  162. package/src/components/organisms/person-info-card/__snapshots__/person-info-card.test.js.snap +0 -709
  163. package/src/components/organisms/person-info-card/person-info-card.test.js +0 -85
  164. package/src/components/organisms/text-bubble/__snapshots__/text-bubble.test.js.snap +0 -3046
  165. package/src/components/organisms/text-bubble/text-bubble.test.js +0 -144
  166. package/src/utilities/toddle-datetime/interfaces/duration.interface.d.ts +0 -22
  167. package/src/utilities/toddle-datetime/interfaces/duration.interface.tsx +0 -23
  168. package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.d.ts +0 -22
  169. package/src/utilities/toddle-datetime/interfaces/toddle-datetime.interface.tsx +0 -25
  170. package/src/utilities/toddle-datetime/toddle-datetime.class.d.ts +0 -50
  171. package/src/utilities/toddle-datetime/toddle-datetime.class.tsx +0 -206
  172. package/src/utilities/toddle-datetime/toddle-datetime.preview.d.ts +0 -2
  173. package/src/utilities/toddle-datetime/toddle-datetime.preview.tsx +0 -160
  174. package/src/utilities/toddle-datetime/toddle-datetime.test.js +0 -127
  175. package/src/utilities/toddle-datetime/types/duration.type.d.ts +0 -4
  176. package/src/utilities/toddle-datetime/types/duration.type.tsx +0 -6
  177. package/src/utilities/toddle-datetime/types/toddle-datetime.type.d.ts +0 -5
  178. package/src/utilities/toddle-datetime/types/toddle-datetime.type.tsx +0 -23
@@ -1,762 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`test button component should render a select-list-item component with 1 line of white text (bold) and a dark icon in a light circle 1`] = `
4
- <View
5
- accessibilityState={
6
- {
7
- "busy": undefined,
8
- "checked": undefined,
9
- "disabled": undefined,
10
- "expanded": undefined,
11
- "selected": undefined,
12
- }
13
- }
14
- accessibilityValue={
15
- {
16
- "max": undefined,
17
- "min": undefined,
18
- "now": undefined,
19
- "text": undefined,
20
- }
21
- }
22
- accessible={true}
23
- collapsable={false}
24
- focusable={true}
25
- onBlur={[Function]}
26
- onClick={[Function]}
27
- onFocus={[Function]}
28
- onResponderGrant={[Function]}
29
- onResponderMove={[Function]}
30
- onResponderRelease={[Function]}
31
- onResponderTerminate={[Function]}
32
- onResponderTerminationRequest={[Function]}
33
- onStartShouldSetResponder={[Function]}
34
- style={
35
- {
36
- "alignItems": "center",
37
- "flexDirection": "row",
38
- "width": "100%",
39
- }
40
- }
41
- >
42
- <View
43
- style={
44
- {
45
- "alignItems": "center",
46
- "backgroundColor": "#7B93DB",
47
- "borderRadius": 31,
48
- "height": 62,
49
- "justifyContent": "center",
50
- "marginRight": 16,
51
- "width": 62,
52
- }
53
- }
54
- >
55
- <View>
56
- <RNSVGSvgView
57
- align="xMidYMid"
58
- bbHeight="24"
59
- bbWidth="24"
60
- fill="none"
61
- focusable={false}
62
- height={24}
63
- meetOrSlice={0}
64
- minX={0}
65
- minY={0}
66
- style={
67
- [
68
- {
69
- "backgroundColor": "transparent",
70
- "borderWidth": 0,
71
- },
72
- {
73
- "flex": 0,
74
- "height": 24,
75
- "width": 24,
76
- },
77
- ]
78
- }
79
- vbHeight={22}
80
- vbWidth={22}
81
- width={24}
82
- >
83
- <RNSVGGroup
84
- fill={null}
85
- propList={
86
- [
87
- "fill",
88
- ]
89
- }
90
- >
91
- <RNSVGPath
92
- d="M1.25 2.25C1.25 1.69772 1.69772 1.25 2.25 1.25H19.75C20.3023 1.25 20.75 1.69772 20.75 2.25V5.16912C20.75 5.43434 20.6446 5.68869 20.4571 5.87623L13.4596 12.8738C13.272 13.0613 13.1667 13.3157 13.1667 13.5809V16.4167L8.83333 20.75V13.5809C8.83333 13.3157 8.72798 13.0613 8.54044 12.8738L1.54289 5.87623C1.35536 5.68869 1.25 5.43434 1.25 5.16912V2.25Z"
93
- fill={
94
- {
95
- "payload": 4278190080,
96
- "type": 0,
97
- }
98
- }
99
- propList={
100
- [
101
- "stroke",
102
- "strokeWidth",
103
- "strokeLinecap",
104
- "strokeLinejoin",
105
- ]
106
- }
107
- stroke={
108
- {
109
- "payload": 4279837036,
110
- "type": 0,
111
- }
112
- }
113
- strokeLinecap={1}
114
- strokeLinejoin={1}
115
- strokeWidth="2"
116
- />
117
- </RNSVGGroup>
118
- </RNSVGSvgView>
119
- </View>
120
- </View>
121
- <View
122
- style={
123
- {
124
- "flex": 1,
125
- "flexDirection": "column",
126
- "justifyContent": "center",
127
- "paddingBottom": 2,
128
- "paddingTop": 2,
129
- }
130
- }
131
- >
132
- <View>
133
- <Text
134
- ellipsizeMode="tail"
135
- numberOfLines={2}
136
- style={
137
- [
138
- [
139
- {
140
- "fontFamily": "SourceSansProBold",
141
- "fontSize": 24,
142
- "lineHeight": 30.2,
143
- },
144
- ],
145
- {
146
- "color": "#FFFFFF",
147
- "textAlign": undefined,
148
- "width": "100%",
149
- },
150
- undefined,
151
- ]
152
- }
153
- >
154
- Vlindertjes
155
- </Text>
156
- </View>
157
- <View>
158
- <Text
159
- style={
160
- [
161
- [
162
- {
163
- "fontFamily": "Montserrat",
164
- "fontSize": 14,
165
- "lineHeight": 22.4,
166
- },
167
- ],
168
- {
169
- "color": "#E5E8EB",
170
- "textAlign": undefined,
171
- "width": "100%",
172
- },
173
- undefined,
174
- ]
175
- }
176
- />
177
- </View>
178
- </View>
179
- <View
180
- style={
181
- {
182
- "alignItems": "center",
183
- "justifyContent": "center",
184
- "marginLeft": 16,
185
- "marginRight": 16,
186
- }
187
- }
188
- >
189
- <RNSVGSvgView
190
- align="xMidYMid"
191
- bbHeight="20"
192
- bbWidth="20"
193
- fill="none"
194
- focusable={false}
195
- height={20}
196
- meetOrSlice={0}
197
- minX={0}
198
- minY={0}
199
- style={
200
- [
201
- {
202
- "backgroundColor": "transparent",
203
- "borderWidth": 0,
204
- },
205
- {
206
- "flex": 0,
207
- "height": 20,
208
- "width": 20,
209
- },
210
- ]
211
- }
212
- vbHeight={19}
213
- vbWidth={11}
214
- width={20}
215
- >
216
- <RNSVGGroup
217
- fill={null}
218
- propList={
219
- [
220
- "fill",
221
- ]
222
- }
223
- >
224
- <RNSVGPath
225
- d="M1.75 1.625L9.33333 9.5L1.75 17.375"
226
- fill={
227
- {
228
- "payload": 4278190080,
229
- "type": 0,
230
- }
231
- }
232
- propList={
233
- [
234
- "stroke",
235
- "strokeWidth",
236
- "strokeLinecap",
237
- "strokeLinejoin",
238
- ]
239
- }
240
- stroke={
241
- {
242
- "payload": 4294967295,
243
- "type": 0,
244
- }
245
- }
246
- strokeLinecap={1}
247
- strokeLinejoin={1}
248
- strokeWidth="2"
249
- />
250
- </RNSVGGroup>
251
- </RNSVGSvgView>
252
- </View>
253
- </View>
254
- `;
255
-
256
- exports[`test button component should render a select-list-item component with 1 line of white text (bold) and a light icon in a dark circle 1`] = `
257
- <View
258
- accessibilityState={
259
- {
260
- "busy": undefined,
261
- "checked": undefined,
262
- "disabled": undefined,
263
- "expanded": undefined,
264
- "selected": undefined,
265
- }
266
- }
267
- accessibilityValue={
268
- {
269
- "max": undefined,
270
- "min": undefined,
271
- "now": undefined,
272
- "text": undefined,
273
- }
274
- }
275
- accessible={true}
276
- collapsable={false}
277
- focusable={true}
278
- onBlur={[Function]}
279
- onClick={[Function]}
280
- onFocus={[Function]}
281
- onResponderGrant={[Function]}
282
- onResponderMove={[Function]}
283
- onResponderRelease={[Function]}
284
- onResponderTerminate={[Function]}
285
- onResponderTerminationRequest={[Function]}
286
- onStartShouldSetResponder={[Function]}
287
- style={
288
- {
289
- "alignItems": "center",
290
- "flexDirection": "row",
291
- "width": "100%",
292
- }
293
- }
294
- >
295
- <View
296
- style={
297
- {
298
- "alignItems": "center",
299
- "backgroundColor": "#4055A8",
300
- "borderRadius": 31,
301
- "height": 62,
302
- "justifyContent": "center",
303
- "marginRight": 16,
304
- "width": 62,
305
- }
306
- }
307
- >
308
- <View>
309
- <RNSVGSvgView
310
- align="xMidYMid"
311
- bbHeight="24"
312
- bbWidth="24"
313
- fill="none"
314
- focusable={false}
315
- height={24}
316
- meetOrSlice={0}
317
- minX={0}
318
- minY={0}
319
- style={
320
- [
321
- {
322
- "backgroundColor": "transparent",
323
- "borderWidth": 0,
324
- },
325
- {
326
- "flex": 0,
327
- "height": 24,
328
- "width": 24,
329
- },
330
- ]
331
- }
332
- vbHeight={23}
333
- vbWidth={23}
334
- width={24}
335
- >
336
- <RNSVGGroup
337
- fill={null}
338
- propList={
339
- [
340
- "fill",
341
- ]
342
- }
343
- >
344
- <RNSVGPath
345
- d="M19.375 21.625V3.625C19.375 2.38236 18.3676 1.375 17.125 1.375H5.875C4.63236 1.375 3.625 2.38236 3.625 3.625V21.625M19.375 21.625L21.625 21.625M19.375 21.625H13.75M3.625 21.625L1.375 21.625M3.625 21.625H9.25M8.125 5.87497H9.25M8.125 10.375H9.25M13.75 5.87497H14.875M13.75 10.375H14.875M9.25 21.625V16C9.25 15.3787 9.75368 14.875 10.375 14.875H12.625C13.2463 14.875 13.75 15.3787 13.75 16V21.625M9.25 21.625H13.75"
346
- fill={
347
- {
348
- "payload": 4278190080,
349
- "type": 0,
350
- }
351
- }
352
- propList={
353
- [
354
- "stroke",
355
- "strokeWidth",
356
- "strokeLinecap",
357
- "strokeLinejoin",
358
- ]
359
- }
360
- stroke={
361
- {
362
- "payload": 4286288859,
363
- "type": 0,
364
- }
365
- }
366
- strokeLinecap={1}
367
- strokeLinejoin={1}
368
- strokeWidth="2"
369
- />
370
- </RNSVGGroup>
371
- </RNSVGSvgView>
372
- </View>
373
- </View>
374
- <View
375
- style={
376
- {
377
- "flex": 1,
378
- "flexDirection": "column",
379
- "justifyContent": "center",
380
- "paddingBottom": 2,
381
- "paddingTop": 2,
382
- }
383
- }
384
- >
385
- <View>
386
- <Text
387
- ellipsizeMode="tail"
388
- numberOfLines={2}
389
- style={
390
- [
391
- [
392
- {
393
- "fontFamily": "SourceSansProBold",
394
- "fontSize": 24,
395
- "lineHeight": 30.2,
396
- },
397
- ],
398
- {
399
- "color": "#FFFFFF",
400
- "textAlign": undefined,
401
- "width": "100%",
402
- },
403
- undefined,
404
- ]
405
- }
406
- >
407
- lindertjes
408
- </Text>
409
- </View>
410
- <View>
411
- <Text
412
- style={
413
- [
414
- [
415
- {
416
- "fontFamily": "Montserrat",
417
- "fontSize": 14,
418
- "lineHeight": 22.4,
419
- },
420
- ],
421
- {
422
- "color": "#E5E8EB",
423
- "textAlign": undefined,
424
- "width": "100%",
425
- },
426
- undefined,
427
- ]
428
- }
429
- />
430
- </View>
431
- </View>
432
- <View
433
- style={
434
- {
435
- "alignItems": "center",
436
- "justifyContent": "center",
437
- "marginLeft": 16,
438
- "marginRight": 16,
439
- }
440
- }
441
- >
442
- <RNSVGSvgView
443
- align="xMidYMid"
444
- bbHeight="20"
445
- bbWidth="20"
446
- fill="none"
447
- focusable={false}
448
- height={20}
449
- meetOrSlice={0}
450
- minX={0}
451
- minY={0}
452
- style={
453
- [
454
- {
455
- "backgroundColor": "transparent",
456
- "borderWidth": 0,
457
- },
458
- {
459
- "flex": 0,
460
- "height": 20,
461
- "width": 20,
462
- },
463
- ]
464
- }
465
- vbHeight={19}
466
- vbWidth={11}
467
- width={20}
468
- >
469
- <RNSVGGroup
470
- fill={null}
471
- propList={
472
- [
473
- "fill",
474
- ]
475
- }
476
- >
477
- <RNSVGPath
478
- d="M1.75 1.625L9.33333 9.5L1.75 17.375"
479
- fill={
480
- {
481
- "payload": 4278190080,
482
- "type": 0,
483
- }
484
- }
485
- propList={
486
- [
487
- "stroke",
488
- "strokeWidth",
489
- "strokeLinecap",
490
- "strokeLinejoin",
491
- ]
492
- }
493
- stroke={
494
- {
495
- "payload": 4294967295,
496
- "type": 0,
497
- }
498
- }
499
- strokeLinecap={1}
500
- strokeLinejoin={1}
501
- strokeWidth="2"
502
- />
503
- </RNSVGGroup>
504
- </RNSVGSvgView>
505
- </View>
506
- </View>
507
- `;
508
-
509
- exports[`test button component should render a select-list-item component with 2 LINES of text and a dark icon in a light circle 1`] = `
510
- <View
511
- accessibilityState={
512
- {
513
- "busy": undefined,
514
- "checked": undefined,
515
- "disabled": undefined,
516
- "expanded": undefined,
517
- "selected": undefined,
518
- }
519
- }
520
- accessibilityValue={
521
- {
522
- "max": undefined,
523
- "min": undefined,
524
- "now": undefined,
525
- "text": undefined,
526
- }
527
- }
528
- accessible={true}
529
- collapsable={false}
530
- focusable={true}
531
- onBlur={[Function]}
532
- onClick={[Function]}
533
- onFocus={[Function]}
534
- onResponderGrant={[Function]}
535
- onResponderMove={[Function]}
536
- onResponderRelease={[Function]}
537
- onResponderTerminate={[Function]}
538
- onResponderTerminationRequest={[Function]}
539
- onStartShouldSetResponder={[Function]}
540
- style={
541
- {
542
- "alignItems": "center",
543
- "flexDirection": "row",
544
- "width": "100%",
545
- }
546
- }
547
- >
548
- <View
549
- style={
550
- {
551
- "alignItems": "center",
552
- "backgroundColor": "#7B93DB",
553
- "borderRadius": 31,
554
- "height": 62,
555
- "justifyContent": "center",
556
- "marginRight": 16,
557
- "width": 62,
558
- }
559
- }
560
- >
561
- <View>
562
- <RNSVGSvgView
563
- align="xMidYMid"
564
- bbHeight="24"
565
- bbWidth="24"
566
- fill="none"
567
- focusable={false}
568
- height={24}
569
- meetOrSlice={0}
570
- minX={0}
571
- minY={0}
572
- style={
573
- [
574
- {
575
- "backgroundColor": "transparent",
576
- "borderWidth": 0,
577
- },
578
- {
579
- "flex": 0,
580
- "height": 24,
581
- "width": 24,
582
- },
583
- ]
584
- }
585
- vbHeight={22}
586
- vbWidth={22}
587
- width={24}
588
- >
589
- <RNSVGGroup
590
- fill={null}
591
- propList={
592
- [
593
- "fill",
594
- ]
595
- }
596
- >
597
- <RNSVGPath
598
- d="M1.25 2.25C1.25 1.69772 1.69772 1.25 2.25 1.25H19.75C20.3023 1.25 20.75 1.69772 20.75 2.25V5.16912C20.75 5.43434 20.6446 5.68869 20.4571 5.87623L13.4596 12.8738C13.272 13.0613 13.1667 13.3157 13.1667 13.5809V16.4167L8.83333 20.75V13.5809C8.83333 13.3157 8.72798 13.0613 8.54044 12.8738L1.54289 5.87623C1.35536 5.68869 1.25 5.43434 1.25 5.16912V2.25Z"
599
- fill={
600
- {
601
- "payload": 4278190080,
602
- "type": 0,
603
- }
604
- }
605
- propList={
606
- [
607
- "stroke",
608
- "strokeWidth",
609
- "strokeLinecap",
610
- "strokeLinejoin",
611
- ]
612
- }
613
- stroke={
614
- {
615
- "payload": 4279837036,
616
- "type": 0,
617
- }
618
- }
619
- strokeLinecap={1}
620
- strokeLinejoin={1}
621
- strokeWidth="2"
622
- />
623
- </RNSVGGroup>
624
- </RNSVGSvgView>
625
- </View>
626
- </View>
627
- <View
628
- style={
629
- {
630
- "flex": 1,
631
- "flexDirection": "column",
632
- "justifyContent": "center",
633
- "paddingBottom": 2,
634
- "paddingTop": 2,
635
- }
636
- }
637
- >
638
- <View>
639
- <Text
640
- ellipsizeMode="tail"
641
- numberOfLines={2}
642
- style={
643
- [
644
- [
645
- {
646
- "fontFamily": "SourceSansProBold",
647
- "fontSize": 24,
648
- "lineHeight": 30.2,
649
- },
650
- ],
651
- {
652
- "color": "#FFFFFF",
653
- "textAlign": undefined,
654
- "width": "100%",
655
- },
656
- undefined,
657
- ]
658
- }
659
- >
660
- Vlindertjes
661
- </Text>
662
- </View>
663
- <View>
664
- <Text
665
- style={
666
- [
667
- [
668
- {
669
- "fontFamily": "Montserrat",
670
- "fontSize": 14,
671
- "lineHeight": 22.4,
672
- },
673
- ],
674
- {
675
- "color": "#E5E8EB",
676
- "textAlign": undefined,
677
- "width": "100%",
678
- },
679
- undefined,
680
- ]
681
- }
682
- >
683
- Leeftijd 2 tot 4 jaar
684
- </Text>
685
- </View>
686
- </View>
687
- <View
688
- style={
689
- {
690
- "alignItems": "center",
691
- "justifyContent": "center",
692
- "marginLeft": 16,
693
- "marginRight": 16,
694
- }
695
- }
696
- >
697
- <RNSVGSvgView
698
- align="xMidYMid"
699
- bbHeight="20"
700
- bbWidth="20"
701
- fill="none"
702
- focusable={false}
703
- height={20}
704
- meetOrSlice={0}
705
- minX={0}
706
- minY={0}
707
- style={
708
- [
709
- {
710
- "backgroundColor": "transparent",
711
- "borderWidth": 0,
712
- },
713
- {
714
- "flex": 0,
715
- "height": 20,
716
- "width": 20,
717
- },
718
- ]
719
- }
720
- vbHeight={19}
721
- vbWidth={11}
722
- width={20}
723
- >
724
- <RNSVGGroup
725
- fill={null}
726
- propList={
727
- [
728
- "fill",
729
- ]
730
- }
731
- >
732
- <RNSVGPath
733
- d="M1.75 1.625L9.33333 9.5L1.75 17.375"
734
- fill={
735
- {
736
- "payload": 4278190080,
737
- "type": 0,
738
- }
739
- }
740
- propList={
741
- [
742
- "stroke",
743
- "strokeWidth",
744
- "strokeLinecap",
745
- "strokeLinejoin",
746
- ]
747
- }
748
- stroke={
749
- {
750
- "payload": 4294967295,
751
- "type": 0,
752
- }
753
- }
754
- strokeLinecap={1}
755
- strokeLinejoin={1}
756
- strokeWidth="2"
757
- />
758
- </RNSVGGroup>
759
- </RNSVGSvgView>
760
- </View>
761
- </View>
762
- `;