@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,1040 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`test child list item component arrow appears when selectable is false 1`] = `
4
- <View
5
- style={
6
- {
7
- "backgroundColor": "#FFFFFF",
8
- "borderBottomLeftRadius": 32,
9
- "borderBottomRightRadius": 24,
10
- "borderTopLeftRadius": 32,
11
- "borderTopRightRadius": 24,
12
- "flexDirection": "column",
13
- "width": "100%",
14
- }
15
- }
16
- >
17
- <View
18
- style={
19
- {
20
- "alignItems": "center",
21
- "flex": 1,
22
- "flexDirection": "row",
23
- }
24
- }
25
- >
26
- <View
27
- accessibilityState={
28
- {
29
- "busy": undefined,
30
- "checked": undefined,
31
- "disabled": undefined,
32
- "expanded": undefined,
33
- "selected": undefined,
34
- }
35
- }
36
- accessibilityValue={
37
- {
38
- "max": undefined,
39
- "min": undefined,
40
- "now": undefined,
41
- "text": undefined,
42
- }
43
- }
44
- accessible={true}
45
- collapsable={false}
46
- focusable={true}
47
- onBlur={[Function]}
48
- onClick={[Function]}
49
- onFocus={[Function]}
50
- onResponderGrant={[Function]}
51
- onResponderMove={[Function]}
52
- onResponderRelease={[Function]}
53
- onResponderTerminate={[Function]}
54
- onResponderTerminationRequest={[Function]}
55
- onStartShouldSetResponder={[Function]}
56
- style={
57
- {
58
- "alignItems": "center",
59
- "borderBottomLeftRadius": 48,
60
- "borderBottomRightRadius": 24,
61
- "borderTopLeftRadius": 48,
62
- "borderTopRightRadius": 24,
63
- "flex": 1,
64
- "flexDirection": "row",
65
- "padding": 8,
66
- }
67
- }
68
- >
69
- <View
70
- style={null}
71
- >
72
- <View
73
- style={
74
- [
75
- {
76
- "alignItems": "center",
77
- "backgroundColor": "#647ACB",
78
- "justifyContent": "center",
79
- "overflow": "hidden",
80
- },
81
- false,
82
- {
83
- "borderRadius": 36,
84
- "height": 72,
85
- "width": 72,
86
- },
87
- false,
88
- ]
89
- }
90
- >
91
- <ViewManagerAdapter_ExpoLinearGradient
92
- colors={
93
- [
94
- 4281681564,
95
- 4284775115,
96
- 4292481661,
97
- ]
98
- }
99
- endPoint={
100
- [
101
- 0.9,
102
- 0.9,
103
- ]
104
- }
105
- locations={
106
- [
107
- 0,
108
- 0.55,
109
- 1,
110
- ]
111
- }
112
- startPoint={
113
- [
114
- 0.1,
115
- 0.1,
116
- ]
117
- }
118
- style={
119
- [
120
- {
121
- "height": "100%",
122
- "width": "100%",
123
- },
124
- ]
125
- }
126
- />
127
- <Image
128
- source={1}
129
- style={
130
- [
131
- {
132
- "borderRadius": 50,
133
- "height": "90%",
134
- "position": "absolute",
135
- "width": "90%",
136
- },
137
- ]
138
- }
139
- />
140
- </View>
141
- </View>
142
- <View
143
- style={
144
- {
145
- "flex": 1,
146
- "marginLeft": 24,
147
- }
148
- }
149
- >
150
- <View
151
- style={
152
- {
153
- "alignItems": "center",
154
- "flexDirection": "row",
155
- }
156
- }
157
- >
158
- <View
159
- style={
160
- {
161
- "alignItems": "center",
162
- "flexDirection": "row",
163
- }
164
- }
165
- >
166
- <View
167
- style={
168
- [
169
- {
170
- "borderRadius": 6,
171
- "height": 12,
172
- "marginRight": 4,
173
- "width": 12,
174
- },
175
- false,
176
- {
177
- "backgroundColor": "#83D56C",
178
- },
179
- false,
180
- false,
181
- ]
182
- }
183
- />
184
- <View>
185
- <Text
186
- style={
187
- [
188
- [
189
- {
190
- "fontFamily": "Montserrat",
191
- "fontSize": 11,
192
- "lineHeight": 17.9,
193
- },
194
- ],
195
- {
196
- "color": "#1F2933",
197
- "textAlign": undefined,
198
- "width": "100%",
199
- },
200
- undefined,
201
- ]
202
- }
203
- >
204
- time tracker
205
- </Text>
206
- </View>
207
- </View>
208
- </View>
209
- <View>
210
- <Text
211
- ellipsizeMode="tail"
212
- numberOfLines={1}
213
- style={
214
- [
215
- [
216
- {
217
- "fontFamily": "SourceSansProBold",
218
- "fontSize": 24,
219
- "lineHeight": 30.2,
220
- },
221
- ],
222
- {
223
- "color": "#1F2933",
224
- "textAlign": undefined,
225
- "width": "100%",
226
- },
227
- undefined,
228
- ]
229
- }
230
- >
231
- Jean-Paul Janssens-Peeters
232
- </Text>
233
- <Text
234
- style={
235
- [
236
- [
237
- {
238
- "fontFamily": "Montserrat",
239
- "fontSize": 13,
240
- "lineHeight": 20.4,
241
- },
242
- ],
243
- {
244
- "color": "#1F2933",
245
- "textAlign": undefined,
246
- "width": "100%",
247
- },
248
- undefined,
249
- ]
250
- }
251
- >
252
- De Teddybeertjes
253
- </Text>
254
- </View>
255
- </View>
256
- </View>
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": "flex-end",
290
- "borderBottomRightRadius": 24,
291
- "borderTopRightRadius": 24,
292
- "justifyContent": "center",
293
- "paddingRight": 8,
294
- "width": 48,
295
- }
296
- }
297
- >
298
- <RNSVGSvgView
299
- align="xMidYMid"
300
- bbHeight="20"
301
- bbWidth="20"
302
- fill="none"
303
- focusable={false}
304
- height={20}
305
- meetOrSlice={0}
306
- minX={0}
307
- minY={0}
308
- style={
309
- [
310
- {
311
- "backgroundColor": "transparent",
312
- "borderWidth": 0,
313
- },
314
- {
315
- "flex": 0,
316
- "height": 20,
317
- "width": 20,
318
- },
319
- ]
320
- }
321
- vbHeight={19}
322
- vbWidth={11}
323
- width={20}
324
- >
325
- <RNSVGGroup
326
- fill={null}
327
- propList={
328
- [
329
- "fill",
330
- ]
331
- }
332
- >
333
- <RNSVGPath
334
- d="M1.75 1.625L9.33333 9.5L1.75 17.375"
335
- fill={
336
- {
337
- "payload": 4278190080,
338
- "type": 0,
339
- }
340
- }
341
- propList={
342
- [
343
- "stroke",
344
- "strokeWidth",
345
- "strokeLinecap",
346
- "strokeLinejoin",
347
- ]
348
- }
349
- stroke={
350
- {
351
- "payload": 4280232243,
352
- "type": 0,
353
- }
354
- }
355
- strokeLinecap={1}
356
- strokeLinejoin={1}
357
- strokeWidth="2"
358
- />
359
- </RNSVGGroup>
360
- </RNSVGSvgView>
361
- </View>
362
- </View>
363
- <View
364
- style={
365
- {
366
- "flexDirection": "row",
367
- "flexWrap": "wrap",
368
- "gap": 12,
369
- "marginBottom": 8,
370
- "marginLeft": 96,
371
- }
372
- }
373
- >
374
- <View
375
- style={
376
- {
377
- "backgroundColor": "#E5E8EB",
378
- "borderRadius": 50,
379
- "paddingBottom": 4,
380
- "paddingLeft": 12,
381
- "paddingRight": 12,
382
- "paddingTop": 4,
383
- }
384
- }
385
- >
386
- <Text
387
- style={
388
- [
389
- [
390
- {
391
- "fontFamily": "Montserrat",
392
- "fontSize": 11,
393
- "lineHeight": 17.9,
394
- },
395
- ],
396
- {
397
- "color": "#515F6C",
398
- "textAlign": "center",
399
- "width": "100%",
400
- },
401
- undefined,
402
- ]
403
- }
404
- >
405
- tag1
406
- </Text>
407
- </View>
408
- <View
409
- style={
410
- {
411
- "backgroundColor": "#E5E8EB",
412
- "borderRadius": 50,
413
- "paddingBottom": 4,
414
- "paddingLeft": 12,
415
- "paddingRight": 12,
416
- "paddingTop": 4,
417
- }
418
- }
419
- >
420
- <Text
421
- style={
422
- [
423
- [
424
- {
425
- "fontFamily": "Montserrat",
426
- "fontSize": 11,
427
- "lineHeight": 17.9,
428
- },
429
- ],
430
- {
431
- "color": "#515F6C",
432
- "textAlign": "center",
433
- "width": "100%",
434
- },
435
- undefined,
436
- ]
437
- }
438
- >
439
- tag2
440
- </Text>
441
- </View>
442
- </View>
443
- </View>
444
- `;
445
-
446
- exports[`test child list item component background is blue and text is white when isSelected is true 1`] = `
447
- <View
448
- style={
449
- {
450
- "backgroundColor": "#7B93DB",
451
- "borderBottomLeftRadius": 32,
452
- "borderBottomRightRadius": 24,
453
- "borderTopLeftRadius": 32,
454
- "borderTopRightRadius": 24,
455
- "flexDirection": "column",
456
- "width": "100%",
457
- }
458
- }
459
- >
460
- <View
461
- style={
462
- {
463
- "alignItems": "center",
464
- "flex": 1,
465
- "flexDirection": "row",
466
- }
467
- }
468
- >
469
- <View
470
- accessibilityState={
471
- {
472
- "busy": undefined,
473
- "checked": undefined,
474
- "disabled": undefined,
475
- "expanded": undefined,
476
- "selected": undefined,
477
- }
478
- }
479
- accessibilityValue={
480
- {
481
- "max": undefined,
482
- "min": undefined,
483
- "now": undefined,
484
- "text": undefined,
485
- }
486
- }
487
- accessible={true}
488
- collapsable={false}
489
- focusable={true}
490
- onBlur={[Function]}
491
- onClick={[Function]}
492
- onFocus={[Function]}
493
- onResponderGrant={[Function]}
494
- onResponderMove={[Function]}
495
- onResponderRelease={[Function]}
496
- onResponderTerminate={[Function]}
497
- onResponderTerminationRequest={[Function]}
498
- onStartShouldSetResponder={[Function]}
499
- style={
500
- {
501
- "alignItems": "center",
502
- "borderBottomLeftRadius": 48,
503
- "borderBottomRightRadius": 24,
504
- "borderTopLeftRadius": 48,
505
- "borderTopRightRadius": 24,
506
- "flex": 1,
507
- "flexDirection": "row",
508
- "padding": 8,
509
- }
510
- }
511
- >
512
- <View
513
- style={null}
514
- >
515
- <View
516
- style={
517
- [
518
- {
519
- "alignItems": "center",
520
- "backgroundColor": "#647ACB",
521
- "justifyContent": "center",
522
- "overflow": "hidden",
523
- },
524
- false,
525
- {
526
- "borderRadius": 36,
527
- "height": 72,
528
- "width": 72,
529
- },
530
- false,
531
- ]
532
- }
533
- >
534
- <ViewManagerAdapter_ExpoLinearGradient
535
- colors={
536
- [
537
- 4281681564,
538
- 4284775115,
539
- 4292481661,
540
- ]
541
- }
542
- endPoint={
543
- [
544
- 0.9,
545
- 0.9,
546
- ]
547
- }
548
- locations={
549
- [
550
- 0,
551
- 0.55,
552
- 1,
553
- ]
554
- }
555
- startPoint={
556
- [
557
- 0.1,
558
- 0.1,
559
- ]
560
- }
561
- style={
562
- [
563
- {
564
- "height": "100%",
565
- "width": "100%",
566
- },
567
- ]
568
- }
569
- />
570
- <Image
571
- source={1}
572
- style={
573
- [
574
- {
575
- "borderRadius": 50,
576
- "height": "90%",
577
- "position": "absolute",
578
- "width": "90%",
579
- },
580
- ]
581
- }
582
- />
583
- </View>
584
- </View>
585
- <View
586
- style={
587
- {
588
- "flex": 1,
589
- "marginLeft": 24,
590
- }
591
- }
592
- >
593
- <View
594
- style={
595
- {
596
- "alignItems": "center",
597
- "flexDirection": "row",
598
- }
599
- }
600
- >
601
- <View
602
- style={
603
- {
604
- "alignItems": "center",
605
- "flexDirection": "row",
606
- }
607
- }
608
- >
609
- <View
610
- style={
611
- [
612
- {
613
- "borderRadius": 6,
614
- "height": 12,
615
- "marginRight": 4,
616
- "width": 12,
617
- },
618
- false,
619
- {
620
- "backgroundColor": "#83D56C",
621
- },
622
- false,
623
- false,
624
- ]
625
- }
626
- />
627
- <View>
628
- <Text
629
- style={
630
- [
631
- [
632
- {
633
- "fontFamily": "Montserrat",
634
- "fontSize": 11,
635
- "lineHeight": 17.9,
636
- },
637
- ],
638
- {
639
- "color": "#FFFFFF",
640
- "textAlign": undefined,
641
- "width": "100%",
642
- },
643
- undefined,
644
- ]
645
- }
646
- >
647
- time tracker
648
- </Text>
649
- </View>
650
- </View>
651
- </View>
652
- <View>
653
- <Text
654
- ellipsizeMode="tail"
655
- numberOfLines={1}
656
- style={
657
- [
658
- [
659
- {
660
- "fontFamily": "SourceSansProBold",
661
- "fontSize": 24,
662
- "lineHeight": 30.2,
663
- },
664
- ],
665
- {
666
- "color": "#FFFFFF",
667
- "textAlign": undefined,
668
- "width": "100%",
669
- },
670
- undefined,
671
- ]
672
- }
673
- >
674
- Jean-Paul Janssens-Peeters
675
- </Text>
676
- <Text
677
- style={
678
- [
679
- [
680
- {
681
- "fontFamily": "Montserrat",
682
- "fontSize": 13,
683
- "lineHeight": 20.4,
684
- },
685
- ],
686
- {
687
- "color": "#FFFFFF",
688
- "textAlign": undefined,
689
- "width": "100%",
690
- },
691
- undefined,
692
- ]
693
- }
694
- >
695
- De Teddybeertjes
696
- </Text>
697
- </View>
698
- </View>
699
- </View>
700
- </View>
701
- </View>
702
- `;
703
-
704
- exports[`test child list item component make text that is too long end in ... and has tags 1`] = `
705
- <View
706
- style={
707
- {
708
- "backgroundColor": "#FFFFFF",
709
- "borderBottomLeftRadius": 32,
710
- "borderBottomRightRadius": 24,
711
- "borderTopLeftRadius": 32,
712
- "borderTopRightRadius": 24,
713
- "flexDirection": "column",
714
- "width": "100%",
715
- }
716
- }
717
- >
718
- <View
719
- style={
720
- {
721
- "alignItems": "center",
722
- "flex": 1,
723
- "flexDirection": "row",
724
- }
725
- }
726
- >
727
- <View
728
- accessibilityState={
729
- {
730
- "busy": undefined,
731
- "checked": undefined,
732
- "disabled": undefined,
733
- "expanded": undefined,
734
- "selected": undefined,
735
- }
736
- }
737
- accessibilityValue={
738
- {
739
- "max": undefined,
740
- "min": undefined,
741
- "now": undefined,
742
- "text": undefined,
743
- }
744
- }
745
- accessible={true}
746
- collapsable={false}
747
- focusable={true}
748
- onBlur={[Function]}
749
- onClick={[Function]}
750
- onFocus={[Function]}
751
- onResponderGrant={[Function]}
752
- onResponderMove={[Function]}
753
- onResponderRelease={[Function]}
754
- onResponderTerminate={[Function]}
755
- onResponderTerminationRequest={[Function]}
756
- onStartShouldSetResponder={[Function]}
757
- style={
758
- {
759
- "alignItems": "center",
760
- "borderBottomLeftRadius": 48,
761
- "borderBottomRightRadius": 24,
762
- "borderTopLeftRadius": 48,
763
- "borderTopRightRadius": 24,
764
- "flex": 1,
765
- "flexDirection": "row",
766
- "padding": 8,
767
- }
768
- }
769
- >
770
- <View
771
- style={null}
772
- >
773
- <View
774
- style={
775
- [
776
- {
777
- "alignItems": "center",
778
- "backgroundColor": "#647ACB",
779
- "justifyContent": "center",
780
- "overflow": "hidden",
781
- },
782
- false,
783
- {
784
- "borderRadius": 36,
785
- "height": 72,
786
- "width": 72,
787
- },
788
- false,
789
- ]
790
- }
791
- >
792
- <ViewManagerAdapter_ExpoLinearGradient
793
- colors={
794
- [
795
- 4281681564,
796
- 4284775115,
797
- 4292481661,
798
- ]
799
- }
800
- endPoint={
801
- [
802
- 0.9,
803
- 0.9,
804
- ]
805
- }
806
- locations={
807
- [
808
- 0,
809
- 0.55,
810
- 1,
811
- ]
812
- }
813
- startPoint={
814
- [
815
- 0.1,
816
- 0.1,
817
- ]
818
- }
819
- style={
820
- [
821
- {
822
- "height": "100%",
823
- "width": "100%",
824
- },
825
- ]
826
- }
827
- />
828
- <Image
829
- source={1}
830
- style={
831
- [
832
- {
833
- "borderRadius": 50,
834
- "height": "90%",
835
- "position": "absolute",
836
- "width": "90%",
837
- },
838
- ]
839
- }
840
- />
841
- </View>
842
- </View>
843
- <View
844
- style={
845
- {
846
- "flex": 1,
847
- "marginLeft": 24,
848
- }
849
- }
850
- >
851
- <View
852
- style={
853
- {
854
- "alignItems": "center",
855
- "flexDirection": "row",
856
- }
857
- }
858
- >
859
- <View
860
- style={
861
- {
862
- "alignItems": "center",
863
- "flexDirection": "row",
864
- }
865
- }
866
- >
867
- <View
868
- style={
869
- [
870
- {
871
- "borderRadius": 6,
872
- "height": 12,
873
- "marginRight": 4,
874
- "width": 12,
875
- },
876
- false,
877
- {
878
- "backgroundColor": "#83D56C",
879
- },
880
- false,
881
- false,
882
- ]
883
- }
884
- />
885
- <View>
886
- <Text
887
- style={
888
- [
889
- [
890
- {
891
- "fontFamily": "Montserrat",
892
- "fontSize": 11,
893
- "lineHeight": 17.9,
894
- },
895
- ],
896
- {
897
- "color": "#1F2933",
898
- "textAlign": undefined,
899
- "width": "100%",
900
- },
901
- undefined,
902
- ]
903
- }
904
- >
905
- time tracker
906
- </Text>
907
- </View>
908
- </View>
909
- </View>
910
- <View>
911
- <Text
912
- ellipsizeMode="tail"
913
- numberOfLines={1}
914
- style={
915
- [
916
- [
917
- {
918
- "fontFamily": "SourceSansProBold",
919
- "fontSize": 24,
920
- "lineHeight": 30.2,
921
- },
922
- ],
923
- {
924
- "color": "#1F2933",
925
- "textAlign": undefined,
926
- "width": "100%",
927
- },
928
- undefined,
929
- ]
930
- }
931
- >
932
- Jean-Paul Janssens-Peeters
933
- </Text>
934
- <Text
935
- style={
936
- [
937
- [
938
- {
939
- "fontFamily": "Montserrat",
940
- "fontSize": 13,
941
- "lineHeight": 20.4,
942
- },
943
- ],
944
- {
945
- "color": "#1F2933",
946
- "textAlign": undefined,
947
- "width": "100%",
948
- },
949
- undefined,
950
- ]
951
- }
952
- >
953
- De Teddybeertjes
954
- </Text>
955
- </View>
956
- </View>
957
- </View>
958
- </View>
959
- <View
960
- style={
961
- {
962
- "flexDirection": "row",
963
- "flexWrap": "wrap",
964
- "gap": 12,
965
- "marginBottom": 8,
966
- "marginLeft": 96,
967
- }
968
- }
969
- >
970
- <View
971
- style={
972
- {
973
- "backgroundColor": "#E5E8EB",
974
- "borderRadius": 50,
975
- "paddingBottom": 4,
976
- "paddingLeft": 12,
977
- "paddingRight": 12,
978
- "paddingTop": 4,
979
- }
980
- }
981
- >
982
- <Text
983
- style={
984
- [
985
- [
986
- {
987
- "fontFamily": "Montserrat",
988
- "fontSize": 11,
989
- "lineHeight": 17.9,
990
- },
991
- ],
992
- {
993
- "color": "#515F6C",
994
- "textAlign": "center",
995
- "width": "100%",
996
- },
997
- undefined,
998
- ]
999
- }
1000
- >
1001
- tag1
1002
- </Text>
1003
- </View>
1004
- <View
1005
- style={
1006
- {
1007
- "backgroundColor": "#E5E8EB",
1008
- "borderRadius": 50,
1009
- "paddingBottom": 4,
1010
- "paddingLeft": 12,
1011
- "paddingRight": 12,
1012
- "paddingTop": 4,
1013
- }
1014
- }
1015
- >
1016
- <Text
1017
- style={
1018
- [
1019
- [
1020
- {
1021
- "fontFamily": "Montserrat",
1022
- "fontSize": 11,
1023
- "lineHeight": 17.9,
1024
- },
1025
- ],
1026
- {
1027
- "color": "#515F6C",
1028
- "textAlign": "center",
1029
- "width": "100%",
1030
- },
1031
- undefined,
1032
- ]
1033
- }
1034
- >
1035
- tag2
1036
- </Text>
1037
- </View>
1038
- </View>
1039
- </View>
1040
- `;