@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,3046 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`test text-bubble given the bubbleAlignment is SENT return a text-bubble with right-bottom tip 1`] = `
4
- <View
5
- style={
6
- {
7
- "gap": 4,
8
- "width": "100%",
9
- }
10
- }
11
- >
12
- <View
13
- style={
14
- {
15
- "minWidth": "50%",
16
- }
17
- }
18
- >
19
- <View
20
- style={
21
- {
22
- "flexDirection": "row",
23
- "gap": 12,
24
- }
25
- }
26
- >
27
- <View
28
- style={
29
- {
30
- "justifyContent": "center",
31
- "padding": 2,
32
- }
33
- }
34
- >
35
- <RNSVGSvgView
36
- align="xMidYMid"
37
- bbHeight="26"
38
- bbWidth="26"
39
- fill="none"
40
- focusable={false}
41
- height={26}
42
- meetOrSlice={0}
43
- minX={0}
44
- minY={0}
45
- style={
46
- [
47
- {
48
- "backgroundColor": "transparent",
49
- "borderWidth": 0,
50
- },
51
- {
52
- "flex": 0,
53
- "height": 26,
54
- "width": 26,
55
- },
56
- ]
57
- }
58
- vbHeight={23}
59
- vbWidth={22}
60
- width={26}
61
- >
62
- <RNSVGGroup
63
- fill={null}
64
- propList={
65
- [
66
- "fill",
67
- ]
68
- }
69
- >
70
- <RNSVGPath
71
- d="M11 7V11.5M11 16H11.0108M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
72
- fill={
73
- {
74
- "payload": 4278190080,
75
- "type": 0,
76
- }
77
- }
78
- propList={
79
- [
80
- "stroke",
81
- "strokeWidth",
82
- "strokeLinecap",
83
- "strokeLinejoin",
84
- ]
85
- }
86
- stroke={
87
- {
88
- "payload": 4294010984,
89
- "type": 0,
90
- }
91
- }
92
- strokeLinecap={1}
93
- strokeLinejoin={1}
94
- strokeWidth="2"
95
- />
96
- </RNSVGGroup>
97
- </RNSVGSvgView>
98
- </View>
99
- <View
100
- style={
101
- {
102
- "backgroundColor": "#F16868",
103
- "borderBottomLeftRadius": 8,
104
- "borderBottomRightRadius": 32,
105
- "borderTopLeftRadius": 24,
106
- "borderTopRightRadius": 24,
107
- "flex": 1,
108
- "justifyContent": "center",
109
- "paddingBottom": 16,
110
- "paddingLeft": 24,
111
- "paddingRight": 24,
112
- "paddingTop": 16,
113
- }
114
- }
115
- >
116
- <View
117
- collapsable={false}
118
- handlerTag={7}
119
- handlerType="PanGestureHandler"
120
- onGestureHandlerEvent={[Function]}
121
- onGestureHandlerStateChange={[Function]}
122
- onLayout={[Function]}
123
- style={
124
- {
125
- "overflow": "hidden",
126
- }
127
- }
128
- >
129
- <View
130
- collapsable={false}
131
- style={
132
- {
133
- "bottom": 0,
134
- "flexDirection": "row-reverse",
135
- "left": 0,
136
- "position": "absolute",
137
- "right": 0,
138
- "top": 0,
139
- "transform": [
140
- {
141
- "translateX": -10000,
142
- },
143
- ],
144
- }
145
- }
146
- >
147
- <View
148
- style={
149
- {
150
- "alignItems": "center",
151
- "flex": 1,
152
- "flexDirection": "row",
153
- "justifyContent": "space-evenly",
154
- }
155
- }
156
- >
157
- <View
158
- collapsable={false}
159
- style={
160
- {
161
- "alignItems": "center",
162
- "justifyContent": "center",
163
- "opacity": 0,
164
- }
165
- }
166
- >
167
- <View
168
- accessibilityState={
169
- {
170
- "busy": undefined,
171
- "checked": undefined,
172
- "disabled": undefined,
173
- "expanded": undefined,
174
- "selected": undefined,
175
- }
176
- }
177
- accessibilityValue={
178
- {
179
- "max": undefined,
180
- "min": undefined,
181
- "now": undefined,
182
- "text": undefined,
183
- }
184
- }
185
- accessible={true}
186
- collapsable={false}
187
- focusable={true}
188
- onBlur={[Function]}
189
- onClick={[Function]}
190
- onFocus={[Function]}
191
- onResponderGrant={[Function]}
192
- onResponderMove={[Function]}
193
- onResponderRelease={[Function]}
194
- onResponderTerminate={[Function]}
195
- onResponderTerminationRequest={[Function]}
196
- onStartShouldSetResponder={[Function]}
197
- testID="refresh-button"
198
- >
199
- <RNSVGSvgView
200
- align="xMidYMid"
201
- bbHeight="24"
202
- bbWidth="24"
203
- fill="none"
204
- focusable={false}
205
- height={24}
206
- meetOrSlice={0}
207
- minX={0}
208
- minY={0}
209
- style={
210
- [
211
- {
212
- "backgroundColor": "transparent",
213
- "borderWidth": 0,
214
- },
215
- {
216
- "flex": 0,
217
- "height": 24,
218
- "width": 24,
219
- },
220
- ]
221
- }
222
- vbHeight={18}
223
- vbWidth={16}
224
- width={24}
225
- >
226
- <RNSVGGroup
227
- fill={null}
228
- propList={
229
- [
230
- "fill",
231
- ]
232
- }
233
- >
234
- <RNSVGPath
235
- d="M1.40005 0.200012C2.00756 0.200012 2.50005 0.692499 2.50005 1.30001V3.61139C3.89715 2.18539 5.84462 1.30001 8.00005 1.30001C11.3544 1.30001 14.2051 3.44426 15.2616 6.43344C15.4641 7.00623 15.1639 7.63468 14.5911 7.83714C14.0183 8.03959 13.3898 7.73937 13.1874 7.16658C12.4318 5.02891 10.3931 3.50001 8.00005 3.50001C6.20162 3.50001 4.60329 4.36353 3.59934 5.70001H6.90005C7.50756 5.70001 8.00005 6.1925 8.00005 6.80001C8.00005 7.40752 7.50756 7.90001 6.90005 7.90001H1.40005C0.792536 7.90001 0.300049 7.40752 0.300049 6.80001V1.30001C0.300049 0.692499 0.792536 0.200012 1.40005 0.200012ZM1.40903 10.1629C1.98182 9.96044 2.61027 10.2607 2.81273 10.8334C3.56828 12.9711 5.60703 14.5 8.00005 14.5C9.79847 14.5 11.3968 13.6365 12.4008 12.3L9.10005 12.3C8.49254 12.3 8.00005 11.8075 8.00005 11.2C8.00005 10.5925 8.49254 10.1 9.10005 10.1H14.6C14.8918 10.1 15.1716 10.2159 15.3779 10.4222C15.5842 10.6285 15.7 10.9083 15.7 11.2V16.7C15.7 17.3075 15.2076 17.8 14.6 17.8C13.9925 17.8 13.5 17.3075 13.5 16.7V14.3886C12.1029 15.8146 10.1555 16.7 8.00005 16.7C4.6457 16.7 1.795 14.5558 0.738478 11.5666C0.536026 10.9938 0.836243 10.3653 1.40903 10.1629Z"
236
- fill={
237
- {
238
- "payload": 4294695385,
239
- "type": 0,
240
- }
241
- }
242
- propList={
243
- [
244
- "fill",
245
- ]
246
- }
247
- />
248
- </RNSVGGroup>
249
- </RNSVGSvgView>
250
- </View>
251
- </View>
252
- <View
253
- collapsable={false}
254
- style={
255
- {
256
- "alignItems": "center",
257
- "justifyContent": "center",
258
- "opacity": 0,
259
- }
260
- }
261
- >
262
- <View
263
- accessibilityState={
264
- {
265
- "busy": undefined,
266
- "checked": undefined,
267
- "disabled": undefined,
268
- "expanded": undefined,
269
- "selected": undefined,
270
- }
271
- }
272
- accessibilityValue={
273
- {
274
- "max": undefined,
275
- "min": undefined,
276
- "now": undefined,
277
- "text": undefined,
278
- }
279
- }
280
- accessible={true}
281
- collapsable={false}
282
- focusable={true}
283
- onBlur={[Function]}
284
- onClick={[Function]}
285
- onFocus={[Function]}
286
- onResponderGrant={[Function]}
287
- onResponderMove={[Function]}
288
- onResponderRelease={[Function]}
289
- onResponderTerminate={[Function]}
290
- onResponderTerminationRequest={[Function]}
291
- onStartShouldSetResponder={[Function]}
292
- testID="delete-button"
293
- >
294
- <RNSVGSvgView
295
- align="xMidYMid"
296
- bbHeight="24"
297
- bbWidth="24"
298
- fill="none"
299
- focusable={false}
300
- height={24}
301
- meetOrSlice={0}
302
- minX={0}
303
- minY={0}
304
- style={
305
- [
306
- {
307
- "backgroundColor": "transparent",
308
- "borderWidth": 0,
309
- },
310
- {
311
- "flex": 0,
312
- "height": 24,
313
- "width": 24,
314
- },
315
- ]
316
- }
317
- vbHeight={18}
318
- vbWidth={17}
319
- width={24}
320
- >
321
- <RNSVGGroup
322
- fill={null}
323
- propList={
324
- [
325
- "fill",
326
- ]
327
- }
328
- >
329
- <RNSVGPath
330
- clipRule={0}
331
- d="M7.34995 0.200012C6.91436 0.200012 6.51616 0.435415 6.32136 0.808077L5.48921 2.40001H1.59995C0.964824 2.40001 0.449951 2.8925 0.449951 3.50001C0.449951 4.10753 0.964824 4.60001 1.59995 4.60001L1.59995 15.6C1.59995 16.815 2.6297 17.8 3.89995 17.8H13.1C14.3702 17.8 15.4 16.815 15.4 15.6V4.60001C16.0351 4.60001 16.55 4.10753 16.55 3.50001C16.55 2.8925 16.0351 2.40001 15.4 2.40001H11.5107L10.6785 0.808077C10.4837 0.435415 10.0855 0.200012 9.64995 0.200012H7.34995ZM5.04995 6.80001C5.04995 6.1925 5.56482 5.70001 6.19995 5.70001C6.83508 5.70001 7.34995 6.1925 7.34995 6.80001V13.4C7.34995 14.0075 6.83508 14.5 6.19995 14.5C5.56482 14.5 5.04995 14.0075 5.04995 13.4V6.80001ZM10.8 5.70001C10.1648 5.70001 9.64995 6.1925 9.64995 6.80001V13.4C9.64995 14.0075 10.1648 14.5 10.8 14.5C11.4351 14.5 11.95 14.0075 11.95 13.4V6.80001C11.95 6.1925 11.4351 5.70001 10.8 5.70001Z"
332
- fill={
333
- {
334
- "payload": 4294695385,
335
- "type": 0,
336
- }
337
- }
338
- fillRule={0}
339
- propList={
340
- [
341
- "fill",
342
- "fillRule",
343
- ]
344
- }
345
- />
346
- </RNSVGGroup>
347
- </RNSVGSvgView>
348
- </View>
349
- </View>
350
- </View>
351
- <View
352
- onLayout={[Function]}
353
- />
354
- </View>
355
- <View
356
- collapsable={false}
357
- handlerTag={8}
358
- handlerType="TapGestureHandler"
359
- onGestureHandlerEvent={[Function]}
360
- onGestureHandlerStateChange={[Function]}
361
- pointerEvents="auto"
362
- style={
363
- {
364
- "transform": [
365
- {
366
- "translateX": -0,
367
- },
368
- ],
369
- }
370
- }
371
- >
372
- <Text
373
- style={
374
- [
375
- [
376
- {
377
- "fontFamily": "Montserrat",
378
- "fontSize": 13,
379
- "lineHeight": 20.4,
380
- },
381
- ],
382
- {
383
- "color": "#FFFFFF",
384
- "textAlign": undefined,
385
- "width": "100%",
386
- },
387
- {
388
- "backgroundColor": "#F16868",
389
- "minHeight": 30,
390
- "textAlignVertical": "center",
391
- },
392
- ]
393
- }
394
- >
395
- TEST Bubble
396
- </Text>
397
- </View>
398
- </View>
399
- </View>
400
- </View>
401
- </View>
402
- <View
403
- style={
404
- {
405
- "alignSelf": "flex-end",
406
- "marginBottom": 2,
407
- }
408
- }
409
- >
410
- <Text
411
- style={
412
- [
413
- [
414
- {
415
- "fontFamily": "Montserrat",
416
- "fontSize": 13,
417
- "lineHeight": 20.4,
418
- },
419
- ],
420
- {
421
- "color": "#9AA5B1",
422
- "textAlign": "right",
423
- "width": "100%",
424
- },
425
- {
426
- "textAlignVertical": "center",
427
- },
428
- ]
429
- }
430
- >
431
-
432
- 25 May, 9:08
433
- </Text>
434
- </View>
435
- </View>
436
- `;
437
-
438
- exports[`test text-bubble given the visualState is DEFAULT return a light-blue colored text-bubble AND dark green text 1`] = `
439
- <View
440
- style={
441
- {
442
- "gap": 4,
443
- "width": "100%",
444
- }
445
- }
446
- >
447
- <View
448
- style={
449
- {
450
- "minWidth": "50%",
451
- }
452
- }
453
- >
454
- <View
455
- style={
456
- {
457
- "flexDirection": "row",
458
- "gap": 12,
459
- }
460
- }
461
- >
462
- <View
463
- style={
464
- {
465
- "justifyContent": "center",
466
- "padding": 2,
467
- }
468
- }
469
- >
470
- <RNSVGSvgView
471
- align="xMidYMid"
472
- bbHeight="26"
473
- bbWidth="26"
474
- fill="none"
475
- focusable={false}
476
- height={26}
477
- meetOrSlice={0}
478
- minX={0}
479
- minY={0}
480
- style={
481
- [
482
- {
483
- "backgroundColor": "transparent",
484
- "borderWidth": 0,
485
- },
486
- {
487
- "flex": 0,
488
- "height": 26,
489
- "width": 26,
490
- },
491
- ]
492
- }
493
- vbHeight={23}
494
- vbWidth={22}
495
- width={26}
496
- >
497
- <RNSVGGroup
498
- fill={null}
499
- propList={
500
- [
501
- "fill",
502
- ]
503
- }
504
- >
505
- <RNSVGPath
506
- d="M11 7V11.5M11 16H11.0108M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
507
- fill={
508
- {
509
- "payload": 4278190080,
510
- "type": 0,
511
- }
512
- }
513
- propList={
514
- [
515
- "stroke",
516
- "strokeWidth",
517
- "strokeLinecap",
518
- "strokeLinejoin",
519
- ]
520
- }
521
- stroke={
522
- {
523
- "payload": 4294010984,
524
- "type": 0,
525
- }
526
- }
527
- strokeLinecap={1}
528
- strokeLinejoin={1}
529
- strokeWidth="2"
530
- />
531
- </RNSVGGroup>
532
- </RNSVGSvgView>
533
- </View>
534
- <View
535
- style={
536
- {
537
- "backgroundColor": "#F16868",
538
- "borderBottomLeftRadius": 8,
539
- "borderBottomRightRadius": 32,
540
- "borderTopLeftRadius": 24,
541
- "borderTopRightRadius": 24,
542
- "flex": 1,
543
- "justifyContent": "center",
544
- "paddingBottom": 16,
545
- "paddingLeft": 24,
546
- "paddingRight": 24,
547
- "paddingTop": 16,
548
- }
549
- }
550
- >
551
- <View
552
- collapsable={false}
553
- handlerTag={5}
554
- handlerType="PanGestureHandler"
555
- onGestureHandlerEvent={[Function]}
556
- onGestureHandlerStateChange={[Function]}
557
- onLayout={[Function]}
558
- style={
559
- {
560
- "overflow": "hidden",
561
- }
562
- }
563
- >
564
- <View
565
- collapsable={false}
566
- style={
567
- {
568
- "bottom": 0,
569
- "flexDirection": "row-reverse",
570
- "left": 0,
571
- "position": "absolute",
572
- "right": 0,
573
- "top": 0,
574
- "transform": [
575
- {
576
- "translateX": -10000,
577
- },
578
- ],
579
- }
580
- }
581
- >
582
- <View
583
- style={
584
- {
585
- "alignItems": "center",
586
- "flex": 1,
587
- "flexDirection": "row",
588
- "justifyContent": "space-evenly",
589
- }
590
- }
591
- >
592
- <View
593
- collapsable={false}
594
- style={
595
- {
596
- "alignItems": "center",
597
- "justifyContent": "center",
598
- "opacity": 0,
599
- }
600
- }
601
- >
602
- <View
603
- accessibilityState={
604
- {
605
- "busy": undefined,
606
- "checked": undefined,
607
- "disabled": undefined,
608
- "expanded": undefined,
609
- "selected": undefined,
610
- }
611
- }
612
- accessibilityValue={
613
- {
614
- "max": undefined,
615
- "min": undefined,
616
- "now": undefined,
617
- "text": undefined,
618
- }
619
- }
620
- accessible={true}
621
- collapsable={false}
622
- focusable={true}
623
- onBlur={[Function]}
624
- onClick={[Function]}
625
- onFocus={[Function]}
626
- onResponderGrant={[Function]}
627
- onResponderMove={[Function]}
628
- onResponderRelease={[Function]}
629
- onResponderTerminate={[Function]}
630
- onResponderTerminationRequest={[Function]}
631
- onStartShouldSetResponder={[Function]}
632
- testID="refresh-button"
633
- >
634
- <RNSVGSvgView
635
- align="xMidYMid"
636
- bbHeight="24"
637
- bbWidth="24"
638
- fill="none"
639
- focusable={false}
640
- height={24}
641
- meetOrSlice={0}
642
- minX={0}
643
- minY={0}
644
- style={
645
- [
646
- {
647
- "backgroundColor": "transparent",
648
- "borderWidth": 0,
649
- },
650
- {
651
- "flex": 0,
652
- "height": 24,
653
- "width": 24,
654
- },
655
- ]
656
- }
657
- vbHeight={18}
658
- vbWidth={16}
659
- width={24}
660
- >
661
- <RNSVGGroup
662
- fill={null}
663
- propList={
664
- [
665
- "fill",
666
- ]
667
- }
668
- >
669
- <RNSVGPath
670
- d="M1.40005 0.200012C2.00756 0.200012 2.50005 0.692499 2.50005 1.30001V3.61139C3.89715 2.18539 5.84462 1.30001 8.00005 1.30001C11.3544 1.30001 14.2051 3.44426 15.2616 6.43344C15.4641 7.00623 15.1639 7.63468 14.5911 7.83714C14.0183 8.03959 13.3898 7.73937 13.1874 7.16658C12.4318 5.02891 10.3931 3.50001 8.00005 3.50001C6.20162 3.50001 4.60329 4.36353 3.59934 5.70001H6.90005C7.50756 5.70001 8.00005 6.1925 8.00005 6.80001C8.00005 7.40752 7.50756 7.90001 6.90005 7.90001H1.40005C0.792536 7.90001 0.300049 7.40752 0.300049 6.80001V1.30001C0.300049 0.692499 0.792536 0.200012 1.40005 0.200012ZM1.40903 10.1629C1.98182 9.96044 2.61027 10.2607 2.81273 10.8334C3.56828 12.9711 5.60703 14.5 8.00005 14.5C9.79847 14.5 11.3968 13.6365 12.4008 12.3L9.10005 12.3C8.49254 12.3 8.00005 11.8075 8.00005 11.2C8.00005 10.5925 8.49254 10.1 9.10005 10.1H14.6C14.8918 10.1 15.1716 10.2159 15.3779 10.4222C15.5842 10.6285 15.7 10.9083 15.7 11.2V16.7C15.7 17.3075 15.2076 17.8 14.6 17.8C13.9925 17.8 13.5 17.3075 13.5 16.7V14.3886C12.1029 15.8146 10.1555 16.7 8.00005 16.7C4.6457 16.7 1.795 14.5558 0.738478 11.5666C0.536026 10.9938 0.836243 10.3653 1.40903 10.1629Z"
671
- fill={
672
- {
673
- "payload": 4294695385,
674
- "type": 0,
675
- }
676
- }
677
- propList={
678
- [
679
- "fill",
680
- ]
681
- }
682
- />
683
- </RNSVGGroup>
684
- </RNSVGSvgView>
685
- </View>
686
- </View>
687
- <View
688
- collapsable={false}
689
- style={
690
- {
691
- "alignItems": "center",
692
- "justifyContent": "center",
693
- "opacity": 0,
694
- }
695
- }
696
- >
697
- <View
698
- accessibilityState={
699
- {
700
- "busy": undefined,
701
- "checked": undefined,
702
- "disabled": undefined,
703
- "expanded": undefined,
704
- "selected": undefined,
705
- }
706
- }
707
- accessibilityValue={
708
- {
709
- "max": undefined,
710
- "min": undefined,
711
- "now": undefined,
712
- "text": undefined,
713
- }
714
- }
715
- accessible={true}
716
- collapsable={false}
717
- focusable={true}
718
- onBlur={[Function]}
719
- onClick={[Function]}
720
- onFocus={[Function]}
721
- onResponderGrant={[Function]}
722
- onResponderMove={[Function]}
723
- onResponderRelease={[Function]}
724
- onResponderTerminate={[Function]}
725
- onResponderTerminationRequest={[Function]}
726
- onStartShouldSetResponder={[Function]}
727
- testID="delete-button"
728
- >
729
- <RNSVGSvgView
730
- align="xMidYMid"
731
- bbHeight="24"
732
- bbWidth="24"
733
- fill="none"
734
- focusable={false}
735
- height={24}
736
- meetOrSlice={0}
737
- minX={0}
738
- minY={0}
739
- style={
740
- [
741
- {
742
- "backgroundColor": "transparent",
743
- "borderWidth": 0,
744
- },
745
- {
746
- "flex": 0,
747
- "height": 24,
748
- "width": 24,
749
- },
750
- ]
751
- }
752
- vbHeight={18}
753
- vbWidth={17}
754
- width={24}
755
- >
756
- <RNSVGGroup
757
- fill={null}
758
- propList={
759
- [
760
- "fill",
761
- ]
762
- }
763
- >
764
- <RNSVGPath
765
- clipRule={0}
766
- d="M7.34995 0.200012C6.91436 0.200012 6.51616 0.435415 6.32136 0.808077L5.48921 2.40001H1.59995C0.964824 2.40001 0.449951 2.8925 0.449951 3.50001C0.449951 4.10753 0.964824 4.60001 1.59995 4.60001L1.59995 15.6C1.59995 16.815 2.6297 17.8 3.89995 17.8H13.1C14.3702 17.8 15.4 16.815 15.4 15.6V4.60001C16.0351 4.60001 16.55 4.10753 16.55 3.50001C16.55 2.8925 16.0351 2.40001 15.4 2.40001H11.5107L10.6785 0.808077C10.4837 0.435415 10.0855 0.200012 9.64995 0.200012H7.34995ZM5.04995 6.80001C5.04995 6.1925 5.56482 5.70001 6.19995 5.70001C6.83508 5.70001 7.34995 6.1925 7.34995 6.80001V13.4C7.34995 14.0075 6.83508 14.5 6.19995 14.5C5.56482 14.5 5.04995 14.0075 5.04995 13.4V6.80001ZM10.8 5.70001C10.1648 5.70001 9.64995 6.1925 9.64995 6.80001V13.4C9.64995 14.0075 10.1648 14.5 10.8 14.5C11.4351 14.5 11.95 14.0075 11.95 13.4V6.80001C11.95 6.1925 11.4351 5.70001 10.8 5.70001Z"
767
- fill={
768
- {
769
- "payload": 4294695385,
770
- "type": 0,
771
- }
772
- }
773
- fillRule={0}
774
- propList={
775
- [
776
- "fill",
777
- "fillRule",
778
- ]
779
- }
780
- />
781
- </RNSVGGroup>
782
- </RNSVGSvgView>
783
- </View>
784
- </View>
785
- </View>
786
- <View
787
- onLayout={[Function]}
788
- />
789
- </View>
790
- <View
791
- collapsable={false}
792
- handlerTag={6}
793
- handlerType="TapGestureHandler"
794
- onGestureHandlerEvent={[Function]}
795
- onGestureHandlerStateChange={[Function]}
796
- pointerEvents="auto"
797
- style={
798
- {
799
- "transform": [
800
- {
801
- "translateX": -0,
802
- },
803
- ],
804
- }
805
- }
806
- >
807
- <Text
808
- style={
809
- [
810
- [
811
- {
812
- "fontFamily": "Montserrat",
813
- "fontSize": 13,
814
- "lineHeight": 20.4,
815
- },
816
- ],
817
- {
818
- "color": "#FFFFFF",
819
- "textAlign": undefined,
820
- "width": "100%",
821
- },
822
- {
823
- "backgroundColor": "#F16868",
824
- "minHeight": 30,
825
- "textAlignVertical": "center",
826
- },
827
- ]
828
- }
829
- >
830
- TEST color
831
- </Text>
832
- </View>
833
- </View>
834
- </View>
835
- </View>
836
- </View>
837
- <View
838
- style={
839
- {
840
- "alignSelf": "flex-end",
841
- "marginBottom": 2,
842
- }
843
- }
844
- >
845
- <Text
846
- style={
847
- [
848
- [
849
- {
850
- "fontFamily": "Montserrat",
851
- "fontSize": 13,
852
- "lineHeight": 20.4,
853
- },
854
- ],
855
- {
856
- "color": "#9AA5B1",
857
- "textAlign": "right",
858
- "width": "100%",
859
- },
860
- {
861
- "textAlignVertical": "center",
862
- },
863
- ]
864
- }
865
- >
866
-
867
- 25 May, 9:08
868
- </Text>
869
- </View>
870
- </View>
871
- `;
872
-
873
- exports[`test text-bubble given the visualState is ERROR return a red colored text-bubble AND white text 1`] = `
874
- <View
875
- style={
876
- {
877
- "gap": 4,
878
- "width": "100%",
879
- }
880
- }
881
- >
882
- <View
883
- style={
884
- {
885
- "minWidth": "50%",
886
- }
887
- }
888
- >
889
- <View
890
- style={
891
- {
892
- "flexDirection": "row",
893
- "gap": 12,
894
- }
895
- }
896
- >
897
- <View
898
- style={
899
- {
900
- "justifyContent": "center",
901
- "padding": 2,
902
- }
903
- }
904
- >
905
- <RNSVGSvgView
906
- align="xMidYMid"
907
- bbHeight="26"
908
- bbWidth="26"
909
- fill="none"
910
- focusable={false}
911
- height={26}
912
- meetOrSlice={0}
913
- minX={0}
914
- minY={0}
915
- style={
916
- [
917
- {
918
- "backgroundColor": "transparent",
919
- "borderWidth": 0,
920
- },
921
- {
922
- "flex": 0,
923
- "height": 26,
924
- "width": 26,
925
- },
926
- ]
927
- }
928
- vbHeight={23}
929
- vbWidth={22}
930
- width={26}
931
- >
932
- <RNSVGGroup
933
- fill={null}
934
- propList={
935
- [
936
- "fill",
937
- ]
938
- }
939
- >
940
- <RNSVGPath
941
- d="M11 7V11.5M11 16H11.0108M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
942
- fill={
943
- {
944
- "payload": 4278190080,
945
- "type": 0,
946
- }
947
- }
948
- propList={
949
- [
950
- "stroke",
951
- "strokeWidth",
952
- "strokeLinecap",
953
- "strokeLinejoin",
954
- ]
955
- }
956
- stroke={
957
- {
958
- "payload": 4294010984,
959
- "type": 0,
960
- }
961
- }
962
- strokeLinecap={1}
963
- strokeLinejoin={1}
964
- strokeWidth="2"
965
- />
966
- </RNSVGGroup>
967
- </RNSVGSvgView>
968
- </View>
969
- <View
970
- style={
971
- {
972
- "backgroundColor": "#F16868",
973
- "borderBottomLeftRadius": 8,
974
- "borderBottomRightRadius": 32,
975
- "borderTopLeftRadius": 24,
976
- "borderTopRightRadius": 24,
977
- "flex": 1,
978
- "justifyContent": "center",
979
- "paddingBottom": 16,
980
- "paddingLeft": 24,
981
- "paddingRight": 24,
982
- "paddingTop": 16,
983
- }
984
- }
985
- >
986
- <View
987
- collapsable={false}
988
- handlerTag={1}
989
- handlerType="PanGestureHandler"
990
- onGestureHandlerEvent={[Function]}
991
- onGestureHandlerStateChange={[Function]}
992
- onLayout={[Function]}
993
- style={
994
- {
995
- "overflow": "hidden",
996
- }
997
- }
998
- >
999
- <View
1000
- collapsable={false}
1001
- style={
1002
- {
1003
- "bottom": 0,
1004
- "flexDirection": "row-reverse",
1005
- "left": 0,
1006
- "position": "absolute",
1007
- "right": 0,
1008
- "top": 0,
1009
- "transform": [
1010
- {
1011
- "translateX": -10000,
1012
- },
1013
- ],
1014
- }
1015
- }
1016
- >
1017
- <View
1018
- style={
1019
- {
1020
- "alignItems": "center",
1021
- "flex": 1,
1022
- "flexDirection": "row",
1023
- "justifyContent": "space-evenly",
1024
- }
1025
- }
1026
- >
1027
- <View
1028
- collapsable={false}
1029
- style={
1030
- {
1031
- "alignItems": "center",
1032
- "justifyContent": "center",
1033
- "opacity": 0,
1034
- }
1035
- }
1036
- >
1037
- <View
1038
- accessibilityState={
1039
- {
1040
- "busy": undefined,
1041
- "checked": undefined,
1042
- "disabled": undefined,
1043
- "expanded": undefined,
1044
- "selected": undefined,
1045
- }
1046
- }
1047
- accessibilityValue={
1048
- {
1049
- "max": undefined,
1050
- "min": undefined,
1051
- "now": undefined,
1052
- "text": undefined,
1053
- }
1054
- }
1055
- accessible={true}
1056
- collapsable={false}
1057
- focusable={true}
1058
- onBlur={[Function]}
1059
- onClick={[Function]}
1060
- onFocus={[Function]}
1061
- onResponderGrant={[Function]}
1062
- onResponderMove={[Function]}
1063
- onResponderRelease={[Function]}
1064
- onResponderTerminate={[Function]}
1065
- onResponderTerminationRequest={[Function]}
1066
- onStartShouldSetResponder={[Function]}
1067
- testID="refresh-button"
1068
- >
1069
- <RNSVGSvgView
1070
- align="xMidYMid"
1071
- bbHeight="24"
1072
- bbWidth="24"
1073
- fill="none"
1074
- focusable={false}
1075
- height={24}
1076
- meetOrSlice={0}
1077
- minX={0}
1078
- minY={0}
1079
- style={
1080
- [
1081
- {
1082
- "backgroundColor": "transparent",
1083
- "borderWidth": 0,
1084
- },
1085
- {
1086
- "flex": 0,
1087
- "height": 24,
1088
- "width": 24,
1089
- },
1090
- ]
1091
- }
1092
- vbHeight={18}
1093
- vbWidth={16}
1094
- width={24}
1095
- >
1096
- <RNSVGGroup
1097
- fill={null}
1098
- propList={
1099
- [
1100
- "fill",
1101
- ]
1102
- }
1103
- >
1104
- <RNSVGPath
1105
- d="M1.40005 0.200012C2.00756 0.200012 2.50005 0.692499 2.50005 1.30001V3.61139C3.89715 2.18539 5.84462 1.30001 8.00005 1.30001C11.3544 1.30001 14.2051 3.44426 15.2616 6.43344C15.4641 7.00623 15.1639 7.63468 14.5911 7.83714C14.0183 8.03959 13.3898 7.73937 13.1874 7.16658C12.4318 5.02891 10.3931 3.50001 8.00005 3.50001C6.20162 3.50001 4.60329 4.36353 3.59934 5.70001H6.90005C7.50756 5.70001 8.00005 6.1925 8.00005 6.80001C8.00005 7.40752 7.50756 7.90001 6.90005 7.90001H1.40005C0.792536 7.90001 0.300049 7.40752 0.300049 6.80001V1.30001C0.300049 0.692499 0.792536 0.200012 1.40005 0.200012ZM1.40903 10.1629C1.98182 9.96044 2.61027 10.2607 2.81273 10.8334C3.56828 12.9711 5.60703 14.5 8.00005 14.5C9.79847 14.5 11.3968 13.6365 12.4008 12.3L9.10005 12.3C8.49254 12.3 8.00005 11.8075 8.00005 11.2C8.00005 10.5925 8.49254 10.1 9.10005 10.1H14.6C14.8918 10.1 15.1716 10.2159 15.3779 10.4222C15.5842 10.6285 15.7 10.9083 15.7 11.2V16.7C15.7 17.3075 15.2076 17.8 14.6 17.8C13.9925 17.8 13.5 17.3075 13.5 16.7V14.3886C12.1029 15.8146 10.1555 16.7 8.00005 16.7C4.6457 16.7 1.795 14.5558 0.738478 11.5666C0.536026 10.9938 0.836243 10.3653 1.40903 10.1629Z"
1106
- fill={
1107
- {
1108
- "payload": 4294695385,
1109
- "type": 0,
1110
- }
1111
- }
1112
- propList={
1113
- [
1114
- "fill",
1115
- ]
1116
- }
1117
- />
1118
- </RNSVGGroup>
1119
- </RNSVGSvgView>
1120
- </View>
1121
- </View>
1122
- <View
1123
- collapsable={false}
1124
- style={
1125
- {
1126
- "alignItems": "center",
1127
- "justifyContent": "center",
1128
- "opacity": 0,
1129
- }
1130
- }
1131
- >
1132
- <View
1133
- accessibilityState={
1134
- {
1135
- "busy": undefined,
1136
- "checked": undefined,
1137
- "disabled": undefined,
1138
- "expanded": undefined,
1139
- "selected": undefined,
1140
- }
1141
- }
1142
- accessibilityValue={
1143
- {
1144
- "max": undefined,
1145
- "min": undefined,
1146
- "now": undefined,
1147
- "text": undefined,
1148
- }
1149
- }
1150
- accessible={true}
1151
- collapsable={false}
1152
- focusable={true}
1153
- onBlur={[Function]}
1154
- onClick={[Function]}
1155
- onFocus={[Function]}
1156
- onResponderGrant={[Function]}
1157
- onResponderMove={[Function]}
1158
- onResponderRelease={[Function]}
1159
- onResponderTerminate={[Function]}
1160
- onResponderTerminationRequest={[Function]}
1161
- onStartShouldSetResponder={[Function]}
1162
- testID="delete-button"
1163
- >
1164
- <RNSVGSvgView
1165
- align="xMidYMid"
1166
- bbHeight="24"
1167
- bbWidth="24"
1168
- fill="none"
1169
- focusable={false}
1170
- height={24}
1171
- meetOrSlice={0}
1172
- minX={0}
1173
- minY={0}
1174
- style={
1175
- [
1176
- {
1177
- "backgroundColor": "transparent",
1178
- "borderWidth": 0,
1179
- },
1180
- {
1181
- "flex": 0,
1182
- "height": 24,
1183
- "width": 24,
1184
- },
1185
- ]
1186
- }
1187
- vbHeight={18}
1188
- vbWidth={17}
1189
- width={24}
1190
- >
1191
- <RNSVGGroup
1192
- fill={null}
1193
- propList={
1194
- [
1195
- "fill",
1196
- ]
1197
- }
1198
- >
1199
- <RNSVGPath
1200
- clipRule={0}
1201
- d="M7.34995 0.200012C6.91436 0.200012 6.51616 0.435415 6.32136 0.808077L5.48921 2.40001H1.59995C0.964824 2.40001 0.449951 2.8925 0.449951 3.50001C0.449951 4.10753 0.964824 4.60001 1.59995 4.60001L1.59995 15.6C1.59995 16.815 2.6297 17.8 3.89995 17.8H13.1C14.3702 17.8 15.4 16.815 15.4 15.6V4.60001C16.0351 4.60001 16.55 4.10753 16.55 3.50001C16.55 2.8925 16.0351 2.40001 15.4 2.40001H11.5107L10.6785 0.808077C10.4837 0.435415 10.0855 0.200012 9.64995 0.200012H7.34995ZM5.04995 6.80001C5.04995 6.1925 5.56482 5.70001 6.19995 5.70001C6.83508 5.70001 7.34995 6.1925 7.34995 6.80001V13.4C7.34995 14.0075 6.83508 14.5 6.19995 14.5C5.56482 14.5 5.04995 14.0075 5.04995 13.4V6.80001ZM10.8 5.70001C10.1648 5.70001 9.64995 6.1925 9.64995 6.80001V13.4C9.64995 14.0075 10.1648 14.5 10.8 14.5C11.4351 14.5 11.95 14.0075 11.95 13.4V6.80001C11.95 6.1925 11.4351 5.70001 10.8 5.70001Z"
1202
- fill={
1203
- {
1204
- "payload": 4294695385,
1205
- "type": 0,
1206
- }
1207
- }
1208
- fillRule={0}
1209
- propList={
1210
- [
1211
- "fill",
1212
- "fillRule",
1213
- ]
1214
- }
1215
- />
1216
- </RNSVGGroup>
1217
- </RNSVGSvgView>
1218
- </View>
1219
- </View>
1220
- </View>
1221
- <View
1222
- onLayout={[Function]}
1223
- />
1224
- </View>
1225
- <View
1226
- collapsable={false}
1227
- handlerTag={2}
1228
- handlerType="TapGestureHandler"
1229
- onGestureHandlerEvent={[Function]}
1230
- onGestureHandlerStateChange={[Function]}
1231
- pointerEvents="auto"
1232
- style={
1233
- {
1234
- "transform": [
1235
- {
1236
- "translateX": -0,
1237
- },
1238
- ],
1239
- }
1240
- }
1241
- >
1242
- <Text
1243
- style={
1244
- [
1245
- [
1246
- {
1247
- "fontFamily": "Montserrat",
1248
- "fontSize": 13,
1249
- "lineHeight": 20.4,
1250
- },
1251
- ],
1252
- {
1253
- "color": "#FFFFFF",
1254
- "textAlign": undefined,
1255
- "width": "100%",
1256
- },
1257
- {
1258
- "backgroundColor": "#F16868",
1259
- "minHeight": 30,
1260
- "textAlignVertical": "center",
1261
- },
1262
- ]
1263
- }
1264
- >
1265
- TEST color
1266
- </Text>
1267
- </View>
1268
- </View>
1269
- </View>
1270
- </View>
1271
- </View>
1272
- <View
1273
- style={
1274
- {
1275
- "alignSelf": "flex-end",
1276
- "marginBottom": 2,
1277
- }
1278
- }
1279
- >
1280
- <Text
1281
- style={
1282
- [
1283
- [
1284
- {
1285
- "fontFamily": "Montserrat",
1286
- "fontSize": 13,
1287
- "lineHeight": 20.4,
1288
- },
1289
- ],
1290
- {
1291
- "color": "#9AA5B1",
1292
- "textAlign": "right",
1293
- "width": "100%",
1294
- },
1295
- {
1296
- "textAlignVertical": "center",
1297
- },
1298
- ]
1299
- }
1300
- >
1301
-
1302
- 25 May, 9:08
1303
- </Text>
1304
- </View>
1305
- </View>
1306
- `;
1307
-
1308
- exports[`test text-bubble given the visualState is RECEIVE return a text-bubble with left-bottom tip 1`] = `
1309
- <View
1310
- style={
1311
- {
1312
- "gap": 4,
1313
- "width": "100%",
1314
- }
1315
- }
1316
- >
1317
- <View
1318
- style={
1319
- {
1320
- "minWidth": "50%",
1321
- }
1322
- }
1323
- >
1324
- <View
1325
- style={
1326
- {
1327
- "flexDirection": "row",
1328
- "gap": 12,
1329
- }
1330
- }
1331
- >
1332
- <View
1333
- style={
1334
- {
1335
- "justifyContent": "center",
1336
- "padding": 2,
1337
- }
1338
- }
1339
- >
1340
- <RNSVGSvgView
1341
- align="xMidYMid"
1342
- bbHeight="26"
1343
- bbWidth="26"
1344
- fill="none"
1345
- focusable={false}
1346
- height={26}
1347
- meetOrSlice={0}
1348
- minX={0}
1349
- minY={0}
1350
- style={
1351
- [
1352
- {
1353
- "backgroundColor": "transparent",
1354
- "borderWidth": 0,
1355
- },
1356
- {
1357
- "flex": 0,
1358
- "height": 26,
1359
- "width": 26,
1360
- },
1361
- ]
1362
- }
1363
- vbHeight={23}
1364
- vbWidth={22}
1365
- width={26}
1366
- >
1367
- <RNSVGGroup
1368
- fill={null}
1369
- propList={
1370
- [
1371
- "fill",
1372
- ]
1373
- }
1374
- >
1375
- <RNSVGPath
1376
- d="M11 7V11.5M11 16H11.0108M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
1377
- fill={
1378
- {
1379
- "payload": 4278190080,
1380
- "type": 0,
1381
- }
1382
- }
1383
- propList={
1384
- [
1385
- "stroke",
1386
- "strokeWidth",
1387
- "strokeLinecap",
1388
- "strokeLinejoin",
1389
- ]
1390
- }
1391
- stroke={
1392
- {
1393
- "payload": 4294010984,
1394
- "type": 0,
1395
- }
1396
- }
1397
- strokeLinecap={1}
1398
- strokeLinejoin={1}
1399
- strokeWidth="2"
1400
- />
1401
- </RNSVGGroup>
1402
- </RNSVGSvgView>
1403
- </View>
1404
- <View
1405
- style={
1406
- {
1407
- "backgroundColor": "#F16868",
1408
- "borderBottomLeftRadius": 8,
1409
- "borderBottomRightRadius": 32,
1410
- "borderTopLeftRadius": 24,
1411
- "borderTopRightRadius": 24,
1412
- "flex": 1,
1413
- "justifyContent": "center",
1414
- "paddingBottom": 16,
1415
- "paddingLeft": 24,
1416
- "paddingRight": 24,
1417
- "paddingTop": 16,
1418
- }
1419
- }
1420
- >
1421
- <View
1422
- collapsable={false}
1423
- handlerTag={9}
1424
- handlerType="PanGestureHandler"
1425
- onGestureHandlerEvent={[Function]}
1426
- onGestureHandlerStateChange={[Function]}
1427
- onLayout={[Function]}
1428
- style={
1429
- {
1430
- "overflow": "hidden",
1431
- }
1432
- }
1433
- >
1434
- <View
1435
- collapsable={false}
1436
- style={
1437
- {
1438
- "bottom": 0,
1439
- "flexDirection": "row-reverse",
1440
- "left": 0,
1441
- "position": "absolute",
1442
- "right": 0,
1443
- "top": 0,
1444
- "transform": [
1445
- {
1446
- "translateX": -10000,
1447
- },
1448
- ],
1449
- }
1450
- }
1451
- >
1452
- <View
1453
- style={
1454
- {
1455
- "alignItems": "center",
1456
- "flex": 1,
1457
- "flexDirection": "row",
1458
- "justifyContent": "space-evenly",
1459
- }
1460
- }
1461
- >
1462
- <View
1463
- collapsable={false}
1464
- style={
1465
- {
1466
- "alignItems": "center",
1467
- "justifyContent": "center",
1468
- "opacity": 0,
1469
- }
1470
- }
1471
- >
1472
- <View
1473
- accessibilityState={
1474
- {
1475
- "busy": undefined,
1476
- "checked": undefined,
1477
- "disabled": undefined,
1478
- "expanded": undefined,
1479
- "selected": undefined,
1480
- }
1481
- }
1482
- accessibilityValue={
1483
- {
1484
- "max": undefined,
1485
- "min": undefined,
1486
- "now": undefined,
1487
- "text": undefined,
1488
- }
1489
- }
1490
- accessible={true}
1491
- collapsable={false}
1492
- focusable={true}
1493
- onBlur={[Function]}
1494
- onClick={[Function]}
1495
- onFocus={[Function]}
1496
- onResponderGrant={[Function]}
1497
- onResponderMove={[Function]}
1498
- onResponderRelease={[Function]}
1499
- onResponderTerminate={[Function]}
1500
- onResponderTerminationRequest={[Function]}
1501
- onStartShouldSetResponder={[Function]}
1502
- testID="refresh-button"
1503
- >
1504
- <RNSVGSvgView
1505
- align="xMidYMid"
1506
- bbHeight="24"
1507
- bbWidth="24"
1508
- fill="none"
1509
- focusable={false}
1510
- height={24}
1511
- meetOrSlice={0}
1512
- minX={0}
1513
- minY={0}
1514
- style={
1515
- [
1516
- {
1517
- "backgroundColor": "transparent",
1518
- "borderWidth": 0,
1519
- },
1520
- {
1521
- "flex": 0,
1522
- "height": 24,
1523
- "width": 24,
1524
- },
1525
- ]
1526
- }
1527
- vbHeight={18}
1528
- vbWidth={16}
1529
- width={24}
1530
- >
1531
- <RNSVGGroup
1532
- fill={null}
1533
- propList={
1534
- [
1535
- "fill",
1536
- ]
1537
- }
1538
- >
1539
- <RNSVGPath
1540
- d="M1.40005 0.200012C2.00756 0.200012 2.50005 0.692499 2.50005 1.30001V3.61139C3.89715 2.18539 5.84462 1.30001 8.00005 1.30001C11.3544 1.30001 14.2051 3.44426 15.2616 6.43344C15.4641 7.00623 15.1639 7.63468 14.5911 7.83714C14.0183 8.03959 13.3898 7.73937 13.1874 7.16658C12.4318 5.02891 10.3931 3.50001 8.00005 3.50001C6.20162 3.50001 4.60329 4.36353 3.59934 5.70001H6.90005C7.50756 5.70001 8.00005 6.1925 8.00005 6.80001C8.00005 7.40752 7.50756 7.90001 6.90005 7.90001H1.40005C0.792536 7.90001 0.300049 7.40752 0.300049 6.80001V1.30001C0.300049 0.692499 0.792536 0.200012 1.40005 0.200012ZM1.40903 10.1629C1.98182 9.96044 2.61027 10.2607 2.81273 10.8334C3.56828 12.9711 5.60703 14.5 8.00005 14.5C9.79847 14.5 11.3968 13.6365 12.4008 12.3L9.10005 12.3C8.49254 12.3 8.00005 11.8075 8.00005 11.2C8.00005 10.5925 8.49254 10.1 9.10005 10.1H14.6C14.8918 10.1 15.1716 10.2159 15.3779 10.4222C15.5842 10.6285 15.7 10.9083 15.7 11.2V16.7C15.7 17.3075 15.2076 17.8 14.6 17.8C13.9925 17.8 13.5 17.3075 13.5 16.7V14.3886C12.1029 15.8146 10.1555 16.7 8.00005 16.7C4.6457 16.7 1.795 14.5558 0.738478 11.5666C0.536026 10.9938 0.836243 10.3653 1.40903 10.1629Z"
1541
- fill={
1542
- {
1543
- "payload": 4294695385,
1544
- "type": 0,
1545
- }
1546
- }
1547
- propList={
1548
- [
1549
- "fill",
1550
- ]
1551
- }
1552
- />
1553
- </RNSVGGroup>
1554
- </RNSVGSvgView>
1555
- </View>
1556
- </View>
1557
- <View
1558
- collapsable={false}
1559
- style={
1560
- {
1561
- "alignItems": "center",
1562
- "justifyContent": "center",
1563
- "opacity": 0,
1564
- }
1565
- }
1566
- >
1567
- <View
1568
- accessibilityState={
1569
- {
1570
- "busy": undefined,
1571
- "checked": undefined,
1572
- "disabled": undefined,
1573
- "expanded": undefined,
1574
- "selected": undefined,
1575
- }
1576
- }
1577
- accessibilityValue={
1578
- {
1579
- "max": undefined,
1580
- "min": undefined,
1581
- "now": undefined,
1582
- "text": undefined,
1583
- }
1584
- }
1585
- accessible={true}
1586
- collapsable={false}
1587
- focusable={true}
1588
- onBlur={[Function]}
1589
- onClick={[Function]}
1590
- onFocus={[Function]}
1591
- onResponderGrant={[Function]}
1592
- onResponderMove={[Function]}
1593
- onResponderRelease={[Function]}
1594
- onResponderTerminate={[Function]}
1595
- onResponderTerminationRequest={[Function]}
1596
- onStartShouldSetResponder={[Function]}
1597
- testID="delete-button"
1598
- >
1599
- <RNSVGSvgView
1600
- align="xMidYMid"
1601
- bbHeight="24"
1602
- bbWidth="24"
1603
- fill="none"
1604
- focusable={false}
1605
- height={24}
1606
- meetOrSlice={0}
1607
- minX={0}
1608
- minY={0}
1609
- style={
1610
- [
1611
- {
1612
- "backgroundColor": "transparent",
1613
- "borderWidth": 0,
1614
- },
1615
- {
1616
- "flex": 0,
1617
- "height": 24,
1618
- "width": 24,
1619
- },
1620
- ]
1621
- }
1622
- vbHeight={18}
1623
- vbWidth={17}
1624
- width={24}
1625
- >
1626
- <RNSVGGroup
1627
- fill={null}
1628
- propList={
1629
- [
1630
- "fill",
1631
- ]
1632
- }
1633
- >
1634
- <RNSVGPath
1635
- clipRule={0}
1636
- d="M7.34995 0.200012C6.91436 0.200012 6.51616 0.435415 6.32136 0.808077L5.48921 2.40001H1.59995C0.964824 2.40001 0.449951 2.8925 0.449951 3.50001C0.449951 4.10753 0.964824 4.60001 1.59995 4.60001L1.59995 15.6C1.59995 16.815 2.6297 17.8 3.89995 17.8H13.1C14.3702 17.8 15.4 16.815 15.4 15.6V4.60001C16.0351 4.60001 16.55 4.10753 16.55 3.50001C16.55 2.8925 16.0351 2.40001 15.4 2.40001H11.5107L10.6785 0.808077C10.4837 0.435415 10.0855 0.200012 9.64995 0.200012H7.34995ZM5.04995 6.80001C5.04995 6.1925 5.56482 5.70001 6.19995 5.70001C6.83508 5.70001 7.34995 6.1925 7.34995 6.80001V13.4C7.34995 14.0075 6.83508 14.5 6.19995 14.5C5.56482 14.5 5.04995 14.0075 5.04995 13.4V6.80001ZM10.8 5.70001C10.1648 5.70001 9.64995 6.1925 9.64995 6.80001V13.4C9.64995 14.0075 10.1648 14.5 10.8 14.5C11.4351 14.5 11.95 14.0075 11.95 13.4V6.80001C11.95 6.1925 11.4351 5.70001 10.8 5.70001Z"
1637
- fill={
1638
- {
1639
- "payload": 4294695385,
1640
- "type": 0,
1641
- }
1642
- }
1643
- fillRule={0}
1644
- propList={
1645
- [
1646
- "fill",
1647
- "fillRule",
1648
- ]
1649
- }
1650
- />
1651
- </RNSVGGroup>
1652
- </RNSVGSvgView>
1653
- </View>
1654
- </View>
1655
- </View>
1656
- <View
1657
- onLayout={[Function]}
1658
- />
1659
- </View>
1660
- <View
1661
- collapsable={false}
1662
- handlerTag={10}
1663
- handlerType="TapGestureHandler"
1664
- onGestureHandlerEvent={[Function]}
1665
- onGestureHandlerStateChange={[Function]}
1666
- pointerEvents="auto"
1667
- style={
1668
- {
1669
- "transform": [
1670
- {
1671
- "translateX": -0,
1672
- },
1673
- ],
1674
- }
1675
- }
1676
- >
1677
- <Text
1678
- style={
1679
- [
1680
- [
1681
- {
1682
- "fontFamily": "Montserrat",
1683
- "fontSize": 13,
1684
- "lineHeight": 20.4,
1685
- },
1686
- ],
1687
- {
1688
- "color": "#FFFFFF",
1689
- "textAlign": undefined,
1690
- "width": "100%",
1691
- },
1692
- {
1693
- "backgroundColor": "#F16868",
1694
- "minHeight": 30,
1695
- "textAlignVertical": "center",
1696
- },
1697
- ]
1698
- }
1699
- >
1700
- TEST Bubble
1701
- </Text>
1702
- </View>
1703
- </View>
1704
- </View>
1705
- </View>
1706
- </View>
1707
- <View
1708
- style={
1709
- {
1710
- "alignSelf": "flex-end",
1711
- "marginBottom": 2,
1712
- }
1713
- }
1714
- >
1715
- <Text
1716
- style={
1717
- [
1718
- [
1719
- {
1720
- "fontFamily": "Montserrat",
1721
- "fontSize": 13,
1722
- "lineHeight": 20.4,
1723
- },
1724
- ],
1725
- {
1726
- "color": "#9AA5B1",
1727
- "textAlign": "right",
1728
- "width": "100%",
1729
- },
1730
- {
1731
- "textAlignVertical": "center",
1732
- },
1733
- ]
1734
- }
1735
- >
1736
-
1737
- 25 May, 9:08
1738
- </Text>
1739
- </View>
1740
- </View>
1741
- `;
1742
-
1743
- exports[`test text-bubble given the visualState is RECEIVE return a textBubble with left-bottom tip 1`] = `
1744
- <View
1745
- style={
1746
- {
1747
- "gap": 4,
1748
- "width": "100%",
1749
- }
1750
- }
1751
- >
1752
- <View
1753
- style={
1754
- {
1755
- "minWidth": "50%",
1756
- }
1757
- }
1758
- >
1759
- <View
1760
- style={
1761
- {
1762
- "flexDirection": "row",
1763
- "gap": 12,
1764
- }
1765
- }
1766
- >
1767
- <View
1768
- style={
1769
- {
1770
- "justifyContent": "center",
1771
- "padding": 2,
1772
- }
1773
- }
1774
- >
1775
- <RNSVGSvgView
1776
- align="xMidYMid"
1777
- bbHeight="26"
1778
- bbWidth="26"
1779
- fill="none"
1780
- focusable={false}
1781
- height={26}
1782
- meetOrSlice={0}
1783
- minX={0}
1784
- minY={0}
1785
- style={
1786
- [
1787
- {
1788
- "backgroundColor": "transparent",
1789
- "borderWidth": 0,
1790
- },
1791
- {
1792
- "flex": 0,
1793
- "height": 26,
1794
- "width": 26,
1795
- },
1796
- ]
1797
- }
1798
- vbHeight={23}
1799
- vbWidth={22}
1800
- width={26}
1801
- >
1802
- <RNSVGGroup
1803
- fill={null}
1804
- propList={
1805
- [
1806
- "fill",
1807
- ]
1808
- }
1809
- >
1810
- <RNSVGPath
1811
- d="M11 7V11.5M11 16H11.0108M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
1812
- fill={
1813
- {
1814
- "payload": 4278190080,
1815
- "type": 0,
1816
- }
1817
- }
1818
- propList={
1819
- [
1820
- "stroke",
1821
- "strokeWidth",
1822
- "strokeLinecap",
1823
- "strokeLinejoin",
1824
- ]
1825
- }
1826
- stroke={
1827
- {
1828
- "payload": 4294010984,
1829
- "type": 0,
1830
- }
1831
- }
1832
- strokeLinecap={1}
1833
- strokeLinejoin={1}
1834
- strokeWidth="2"
1835
- />
1836
- </RNSVGGroup>
1837
- </RNSVGSvgView>
1838
- </View>
1839
- <View
1840
- style={
1841
- {
1842
- "backgroundColor": "#F16868",
1843
- "borderBottomLeftRadius": 8,
1844
- "borderBottomRightRadius": 32,
1845
- "borderTopLeftRadius": 24,
1846
- "borderTopRightRadius": 24,
1847
- "flex": 1,
1848
- "justifyContent": "center",
1849
- "paddingBottom": 16,
1850
- "paddingLeft": 24,
1851
- "paddingRight": 24,
1852
- "paddingTop": 16,
1853
- }
1854
- }
1855
- >
1856
- <View
1857
- collapsable={false}
1858
- handlerTag={11}
1859
- handlerType="PanGestureHandler"
1860
- onGestureHandlerEvent={[Function]}
1861
- onGestureHandlerStateChange={[Function]}
1862
- onLayout={[Function]}
1863
- style={
1864
- {
1865
- "overflow": "hidden",
1866
- }
1867
- }
1868
- >
1869
- <View
1870
- collapsable={false}
1871
- style={
1872
- {
1873
- "bottom": 0,
1874
- "flexDirection": "row-reverse",
1875
- "left": 0,
1876
- "position": "absolute",
1877
- "right": 0,
1878
- "top": 0,
1879
- "transform": [
1880
- {
1881
- "translateX": -10000,
1882
- },
1883
- ],
1884
- }
1885
- }
1886
- >
1887
- <View
1888
- style={
1889
- {
1890
- "alignItems": "center",
1891
- "flex": 1,
1892
- "flexDirection": "row",
1893
- "justifyContent": "space-evenly",
1894
- }
1895
- }
1896
- >
1897
- <View
1898
- collapsable={false}
1899
- style={
1900
- {
1901
- "alignItems": "center",
1902
- "justifyContent": "center",
1903
- "opacity": 0,
1904
- }
1905
- }
1906
- >
1907
- <View
1908
- accessibilityState={
1909
- {
1910
- "busy": undefined,
1911
- "checked": undefined,
1912
- "disabled": undefined,
1913
- "expanded": undefined,
1914
- "selected": undefined,
1915
- }
1916
- }
1917
- accessibilityValue={
1918
- {
1919
- "max": undefined,
1920
- "min": undefined,
1921
- "now": undefined,
1922
- "text": undefined,
1923
- }
1924
- }
1925
- accessible={true}
1926
- collapsable={false}
1927
- focusable={true}
1928
- onBlur={[Function]}
1929
- onClick={[Function]}
1930
- onFocus={[Function]}
1931
- onResponderGrant={[Function]}
1932
- onResponderMove={[Function]}
1933
- onResponderRelease={[Function]}
1934
- onResponderTerminate={[Function]}
1935
- onResponderTerminationRequest={[Function]}
1936
- onStartShouldSetResponder={[Function]}
1937
- testID="refresh-button"
1938
- >
1939
- <RNSVGSvgView
1940
- align="xMidYMid"
1941
- bbHeight="24"
1942
- bbWidth="24"
1943
- fill="none"
1944
- focusable={false}
1945
- height={24}
1946
- meetOrSlice={0}
1947
- minX={0}
1948
- minY={0}
1949
- style={
1950
- [
1951
- {
1952
- "backgroundColor": "transparent",
1953
- "borderWidth": 0,
1954
- },
1955
- {
1956
- "flex": 0,
1957
- "height": 24,
1958
- "width": 24,
1959
- },
1960
- ]
1961
- }
1962
- vbHeight={18}
1963
- vbWidth={16}
1964
- width={24}
1965
- >
1966
- <RNSVGGroup
1967
- fill={null}
1968
- propList={
1969
- [
1970
- "fill",
1971
- ]
1972
- }
1973
- >
1974
- <RNSVGPath
1975
- d="M1.40005 0.200012C2.00756 0.200012 2.50005 0.692499 2.50005 1.30001V3.61139C3.89715 2.18539 5.84462 1.30001 8.00005 1.30001C11.3544 1.30001 14.2051 3.44426 15.2616 6.43344C15.4641 7.00623 15.1639 7.63468 14.5911 7.83714C14.0183 8.03959 13.3898 7.73937 13.1874 7.16658C12.4318 5.02891 10.3931 3.50001 8.00005 3.50001C6.20162 3.50001 4.60329 4.36353 3.59934 5.70001H6.90005C7.50756 5.70001 8.00005 6.1925 8.00005 6.80001C8.00005 7.40752 7.50756 7.90001 6.90005 7.90001H1.40005C0.792536 7.90001 0.300049 7.40752 0.300049 6.80001V1.30001C0.300049 0.692499 0.792536 0.200012 1.40005 0.200012ZM1.40903 10.1629C1.98182 9.96044 2.61027 10.2607 2.81273 10.8334C3.56828 12.9711 5.60703 14.5 8.00005 14.5C9.79847 14.5 11.3968 13.6365 12.4008 12.3L9.10005 12.3C8.49254 12.3 8.00005 11.8075 8.00005 11.2C8.00005 10.5925 8.49254 10.1 9.10005 10.1H14.6C14.8918 10.1 15.1716 10.2159 15.3779 10.4222C15.5842 10.6285 15.7 10.9083 15.7 11.2V16.7C15.7 17.3075 15.2076 17.8 14.6 17.8C13.9925 17.8 13.5 17.3075 13.5 16.7V14.3886C12.1029 15.8146 10.1555 16.7 8.00005 16.7C4.6457 16.7 1.795 14.5558 0.738478 11.5666C0.536026 10.9938 0.836243 10.3653 1.40903 10.1629Z"
1976
- fill={
1977
- {
1978
- "payload": 4294695385,
1979
- "type": 0,
1980
- }
1981
- }
1982
- propList={
1983
- [
1984
- "fill",
1985
- ]
1986
- }
1987
- />
1988
- </RNSVGGroup>
1989
- </RNSVGSvgView>
1990
- </View>
1991
- </View>
1992
- <View
1993
- collapsable={false}
1994
- style={
1995
- {
1996
- "alignItems": "center",
1997
- "justifyContent": "center",
1998
- "opacity": 0,
1999
- }
2000
- }
2001
- >
2002
- <View
2003
- accessibilityState={
2004
- {
2005
- "busy": undefined,
2006
- "checked": undefined,
2007
- "disabled": undefined,
2008
- "expanded": undefined,
2009
- "selected": undefined,
2010
- }
2011
- }
2012
- accessibilityValue={
2013
- {
2014
- "max": undefined,
2015
- "min": undefined,
2016
- "now": undefined,
2017
- "text": undefined,
2018
- }
2019
- }
2020
- accessible={true}
2021
- collapsable={false}
2022
- focusable={true}
2023
- onBlur={[Function]}
2024
- onClick={[Function]}
2025
- onFocus={[Function]}
2026
- onResponderGrant={[Function]}
2027
- onResponderMove={[Function]}
2028
- onResponderRelease={[Function]}
2029
- onResponderTerminate={[Function]}
2030
- onResponderTerminationRequest={[Function]}
2031
- onStartShouldSetResponder={[Function]}
2032
- testID="delete-button"
2033
- >
2034
- <RNSVGSvgView
2035
- align="xMidYMid"
2036
- bbHeight="24"
2037
- bbWidth="24"
2038
- fill="none"
2039
- focusable={false}
2040
- height={24}
2041
- meetOrSlice={0}
2042
- minX={0}
2043
- minY={0}
2044
- style={
2045
- [
2046
- {
2047
- "backgroundColor": "transparent",
2048
- "borderWidth": 0,
2049
- },
2050
- {
2051
- "flex": 0,
2052
- "height": 24,
2053
- "width": 24,
2054
- },
2055
- ]
2056
- }
2057
- vbHeight={18}
2058
- vbWidth={17}
2059
- width={24}
2060
- >
2061
- <RNSVGGroup
2062
- fill={null}
2063
- propList={
2064
- [
2065
- "fill",
2066
- ]
2067
- }
2068
- >
2069
- <RNSVGPath
2070
- clipRule={0}
2071
- d="M7.34995 0.200012C6.91436 0.200012 6.51616 0.435415 6.32136 0.808077L5.48921 2.40001H1.59995C0.964824 2.40001 0.449951 2.8925 0.449951 3.50001C0.449951 4.10753 0.964824 4.60001 1.59995 4.60001L1.59995 15.6C1.59995 16.815 2.6297 17.8 3.89995 17.8H13.1C14.3702 17.8 15.4 16.815 15.4 15.6V4.60001C16.0351 4.60001 16.55 4.10753 16.55 3.50001C16.55 2.8925 16.0351 2.40001 15.4 2.40001H11.5107L10.6785 0.808077C10.4837 0.435415 10.0855 0.200012 9.64995 0.200012H7.34995ZM5.04995 6.80001C5.04995 6.1925 5.56482 5.70001 6.19995 5.70001C6.83508 5.70001 7.34995 6.1925 7.34995 6.80001V13.4C7.34995 14.0075 6.83508 14.5 6.19995 14.5C5.56482 14.5 5.04995 14.0075 5.04995 13.4V6.80001ZM10.8 5.70001C10.1648 5.70001 9.64995 6.1925 9.64995 6.80001V13.4C9.64995 14.0075 10.1648 14.5 10.8 14.5C11.4351 14.5 11.95 14.0075 11.95 13.4V6.80001C11.95 6.1925 11.4351 5.70001 10.8 5.70001Z"
2072
- fill={
2073
- {
2074
- "payload": 4294695385,
2075
- "type": 0,
2076
- }
2077
- }
2078
- fillRule={0}
2079
- propList={
2080
- [
2081
- "fill",
2082
- "fillRule",
2083
- ]
2084
- }
2085
- />
2086
- </RNSVGGroup>
2087
- </RNSVGSvgView>
2088
- </View>
2089
- </View>
2090
- </View>
2091
- <View
2092
- onLayout={[Function]}
2093
- />
2094
- </View>
2095
- <View
2096
- collapsable={false}
2097
- handlerTag={12}
2098
- handlerType="TapGestureHandler"
2099
- onGestureHandlerEvent={[Function]}
2100
- onGestureHandlerStateChange={[Function]}
2101
- pointerEvents="auto"
2102
- style={
2103
- {
2104
- "transform": [
2105
- {
2106
- "translateX": -0,
2107
- },
2108
- ],
2109
- }
2110
- }
2111
- >
2112
- <Text
2113
- style={
2114
- [
2115
- [
2116
- {
2117
- "fontFamily": "Montserrat",
2118
- "fontSize": 13,
2119
- "lineHeight": 20.4,
2120
- },
2121
- ],
2122
- {
2123
- "color": "#FFFFFF",
2124
- "textAlign": undefined,
2125
- "width": "100%",
2126
- },
2127
- {
2128
- "backgroundColor": "#F16868",
2129
- "minHeight": 30,
2130
- "textAlignVertical": "center",
2131
- },
2132
- ]
2133
- }
2134
- >
2135
- TEST Bubble
2136
- </Text>
2137
- </View>
2138
- </View>
2139
- </View>
2140
- </View>
2141
- </View>
2142
- <View
2143
- style={
2144
- {
2145
- "alignSelf": "flex-end",
2146
- "marginBottom": 2,
2147
- }
2148
- }
2149
- >
2150
- <Text
2151
- style={
2152
- [
2153
- [
2154
- {
2155
- "fontFamily": "Montserrat",
2156
- "fontSize": 13,
2157
- "lineHeight": 20.4,
2158
- },
2159
- ],
2160
- {
2161
- "color": "#9AA5B1",
2162
- "textAlign": "right",
2163
- "width": "100%",
2164
- },
2165
- {
2166
- "textAlignVertical": "center",
2167
- },
2168
- ]
2169
- }
2170
- >
2171
-
2172
- 25 May, 9:08
2173
- </Text>
2174
- </View>
2175
- </View>
2176
- `;
2177
-
2178
- exports[`test text-bubble given the visualState is WARNING return an orange colored text-bubble AND white text 1`] = `
2179
- <View
2180
- style={
2181
- {
2182
- "gap": 4,
2183
- "width": "100%",
2184
- }
2185
- }
2186
- >
2187
- <View
2188
- style={
2189
- {
2190
- "minWidth": "50%",
2191
- }
2192
- }
2193
- >
2194
- <View
2195
- style={
2196
- {
2197
- "flexDirection": "row",
2198
- "gap": 12,
2199
- }
2200
- }
2201
- >
2202
- <View
2203
- style={
2204
- {
2205
- "justifyContent": "center",
2206
- "padding": 2,
2207
- }
2208
- }
2209
- >
2210
- <RNSVGSvgView
2211
- align="xMidYMid"
2212
- bbHeight="26"
2213
- bbWidth="26"
2214
- fill="none"
2215
- focusable={false}
2216
- height={26}
2217
- meetOrSlice={0}
2218
- minX={0}
2219
- minY={0}
2220
- style={
2221
- [
2222
- {
2223
- "backgroundColor": "transparent",
2224
- "borderWidth": 0,
2225
- },
2226
- {
2227
- "flex": 0,
2228
- "height": 26,
2229
- "width": 26,
2230
- },
2231
- ]
2232
- }
2233
- vbHeight={23}
2234
- vbWidth={22}
2235
- width={26}
2236
- >
2237
- <RNSVGGroup
2238
- fill={null}
2239
- propList={
2240
- [
2241
- "fill",
2242
- ]
2243
- }
2244
- >
2245
- <RNSVGPath
2246
- d="M11 7V11.5M11 16H11.0108M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
2247
- fill={
2248
- {
2249
- "payload": 4278190080,
2250
- "type": 0,
2251
- }
2252
- }
2253
- propList={
2254
- [
2255
- "stroke",
2256
- "strokeWidth",
2257
- "strokeLinecap",
2258
- "strokeLinejoin",
2259
- ]
2260
- }
2261
- stroke={
2262
- {
2263
- "payload": 4294010984,
2264
- "type": 0,
2265
- }
2266
- }
2267
- strokeLinecap={1}
2268
- strokeLinejoin={1}
2269
- strokeWidth="2"
2270
- />
2271
- </RNSVGGroup>
2272
- </RNSVGSvgView>
2273
- </View>
2274
- <View
2275
- style={
2276
- {
2277
- "backgroundColor": "#F16868",
2278
- "borderBottomLeftRadius": 8,
2279
- "borderBottomRightRadius": 32,
2280
- "borderTopLeftRadius": 24,
2281
- "borderTopRightRadius": 24,
2282
- "flex": 1,
2283
- "justifyContent": "center",
2284
- "paddingBottom": 16,
2285
- "paddingLeft": 24,
2286
- "paddingRight": 24,
2287
- "paddingTop": 16,
2288
- }
2289
- }
2290
- >
2291
- <View
2292
- collapsable={false}
2293
- handlerTag={3}
2294
- handlerType="PanGestureHandler"
2295
- onGestureHandlerEvent={[Function]}
2296
- onGestureHandlerStateChange={[Function]}
2297
- onLayout={[Function]}
2298
- style={
2299
- {
2300
- "overflow": "hidden",
2301
- }
2302
- }
2303
- >
2304
- <View
2305
- collapsable={false}
2306
- style={
2307
- {
2308
- "bottom": 0,
2309
- "flexDirection": "row-reverse",
2310
- "left": 0,
2311
- "position": "absolute",
2312
- "right": 0,
2313
- "top": 0,
2314
- "transform": [
2315
- {
2316
- "translateX": -10000,
2317
- },
2318
- ],
2319
- }
2320
- }
2321
- >
2322
- <View
2323
- style={
2324
- {
2325
- "alignItems": "center",
2326
- "flex": 1,
2327
- "flexDirection": "row",
2328
- "justifyContent": "space-evenly",
2329
- }
2330
- }
2331
- >
2332
- <View
2333
- collapsable={false}
2334
- style={
2335
- {
2336
- "alignItems": "center",
2337
- "justifyContent": "center",
2338
- "opacity": 0,
2339
- }
2340
- }
2341
- >
2342
- <View
2343
- accessibilityState={
2344
- {
2345
- "busy": undefined,
2346
- "checked": undefined,
2347
- "disabled": undefined,
2348
- "expanded": undefined,
2349
- "selected": undefined,
2350
- }
2351
- }
2352
- accessibilityValue={
2353
- {
2354
- "max": undefined,
2355
- "min": undefined,
2356
- "now": undefined,
2357
- "text": undefined,
2358
- }
2359
- }
2360
- accessible={true}
2361
- collapsable={false}
2362
- focusable={true}
2363
- onBlur={[Function]}
2364
- onClick={[Function]}
2365
- onFocus={[Function]}
2366
- onResponderGrant={[Function]}
2367
- onResponderMove={[Function]}
2368
- onResponderRelease={[Function]}
2369
- onResponderTerminate={[Function]}
2370
- onResponderTerminationRequest={[Function]}
2371
- onStartShouldSetResponder={[Function]}
2372
- testID="refresh-button"
2373
- >
2374
- <RNSVGSvgView
2375
- align="xMidYMid"
2376
- bbHeight="24"
2377
- bbWidth="24"
2378
- fill="none"
2379
- focusable={false}
2380
- height={24}
2381
- meetOrSlice={0}
2382
- minX={0}
2383
- minY={0}
2384
- style={
2385
- [
2386
- {
2387
- "backgroundColor": "transparent",
2388
- "borderWidth": 0,
2389
- },
2390
- {
2391
- "flex": 0,
2392
- "height": 24,
2393
- "width": 24,
2394
- },
2395
- ]
2396
- }
2397
- vbHeight={18}
2398
- vbWidth={16}
2399
- width={24}
2400
- >
2401
- <RNSVGGroup
2402
- fill={null}
2403
- propList={
2404
- [
2405
- "fill",
2406
- ]
2407
- }
2408
- >
2409
- <RNSVGPath
2410
- d="M1.40005 0.200012C2.00756 0.200012 2.50005 0.692499 2.50005 1.30001V3.61139C3.89715 2.18539 5.84462 1.30001 8.00005 1.30001C11.3544 1.30001 14.2051 3.44426 15.2616 6.43344C15.4641 7.00623 15.1639 7.63468 14.5911 7.83714C14.0183 8.03959 13.3898 7.73937 13.1874 7.16658C12.4318 5.02891 10.3931 3.50001 8.00005 3.50001C6.20162 3.50001 4.60329 4.36353 3.59934 5.70001H6.90005C7.50756 5.70001 8.00005 6.1925 8.00005 6.80001C8.00005 7.40752 7.50756 7.90001 6.90005 7.90001H1.40005C0.792536 7.90001 0.300049 7.40752 0.300049 6.80001V1.30001C0.300049 0.692499 0.792536 0.200012 1.40005 0.200012ZM1.40903 10.1629C1.98182 9.96044 2.61027 10.2607 2.81273 10.8334C3.56828 12.9711 5.60703 14.5 8.00005 14.5C9.79847 14.5 11.3968 13.6365 12.4008 12.3L9.10005 12.3C8.49254 12.3 8.00005 11.8075 8.00005 11.2C8.00005 10.5925 8.49254 10.1 9.10005 10.1H14.6C14.8918 10.1 15.1716 10.2159 15.3779 10.4222C15.5842 10.6285 15.7 10.9083 15.7 11.2V16.7C15.7 17.3075 15.2076 17.8 14.6 17.8C13.9925 17.8 13.5 17.3075 13.5 16.7V14.3886C12.1029 15.8146 10.1555 16.7 8.00005 16.7C4.6457 16.7 1.795 14.5558 0.738478 11.5666C0.536026 10.9938 0.836243 10.3653 1.40903 10.1629Z"
2411
- fill={
2412
- {
2413
- "payload": 4294695385,
2414
- "type": 0,
2415
- }
2416
- }
2417
- propList={
2418
- [
2419
- "fill",
2420
- ]
2421
- }
2422
- />
2423
- </RNSVGGroup>
2424
- </RNSVGSvgView>
2425
- </View>
2426
- </View>
2427
- <View
2428
- collapsable={false}
2429
- style={
2430
- {
2431
- "alignItems": "center",
2432
- "justifyContent": "center",
2433
- "opacity": 0,
2434
- }
2435
- }
2436
- >
2437
- <View
2438
- accessibilityState={
2439
- {
2440
- "busy": undefined,
2441
- "checked": undefined,
2442
- "disabled": undefined,
2443
- "expanded": undefined,
2444
- "selected": undefined,
2445
- }
2446
- }
2447
- accessibilityValue={
2448
- {
2449
- "max": undefined,
2450
- "min": undefined,
2451
- "now": undefined,
2452
- "text": undefined,
2453
- }
2454
- }
2455
- accessible={true}
2456
- collapsable={false}
2457
- focusable={true}
2458
- onBlur={[Function]}
2459
- onClick={[Function]}
2460
- onFocus={[Function]}
2461
- onResponderGrant={[Function]}
2462
- onResponderMove={[Function]}
2463
- onResponderRelease={[Function]}
2464
- onResponderTerminate={[Function]}
2465
- onResponderTerminationRequest={[Function]}
2466
- onStartShouldSetResponder={[Function]}
2467
- testID="delete-button"
2468
- >
2469
- <RNSVGSvgView
2470
- align="xMidYMid"
2471
- bbHeight="24"
2472
- bbWidth="24"
2473
- fill="none"
2474
- focusable={false}
2475
- height={24}
2476
- meetOrSlice={0}
2477
- minX={0}
2478
- minY={0}
2479
- style={
2480
- [
2481
- {
2482
- "backgroundColor": "transparent",
2483
- "borderWidth": 0,
2484
- },
2485
- {
2486
- "flex": 0,
2487
- "height": 24,
2488
- "width": 24,
2489
- },
2490
- ]
2491
- }
2492
- vbHeight={18}
2493
- vbWidth={17}
2494
- width={24}
2495
- >
2496
- <RNSVGGroup
2497
- fill={null}
2498
- propList={
2499
- [
2500
- "fill",
2501
- ]
2502
- }
2503
- >
2504
- <RNSVGPath
2505
- clipRule={0}
2506
- d="M7.34995 0.200012C6.91436 0.200012 6.51616 0.435415 6.32136 0.808077L5.48921 2.40001H1.59995C0.964824 2.40001 0.449951 2.8925 0.449951 3.50001C0.449951 4.10753 0.964824 4.60001 1.59995 4.60001L1.59995 15.6C1.59995 16.815 2.6297 17.8 3.89995 17.8H13.1C14.3702 17.8 15.4 16.815 15.4 15.6V4.60001C16.0351 4.60001 16.55 4.10753 16.55 3.50001C16.55 2.8925 16.0351 2.40001 15.4 2.40001H11.5107L10.6785 0.808077C10.4837 0.435415 10.0855 0.200012 9.64995 0.200012H7.34995ZM5.04995 6.80001C5.04995 6.1925 5.56482 5.70001 6.19995 5.70001C6.83508 5.70001 7.34995 6.1925 7.34995 6.80001V13.4C7.34995 14.0075 6.83508 14.5 6.19995 14.5C5.56482 14.5 5.04995 14.0075 5.04995 13.4V6.80001ZM10.8 5.70001C10.1648 5.70001 9.64995 6.1925 9.64995 6.80001V13.4C9.64995 14.0075 10.1648 14.5 10.8 14.5C11.4351 14.5 11.95 14.0075 11.95 13.4V6.80001C11.95 6.1925 11.4351 5.70001 10.8 5.70001Z"
2507
- fill={
2508
- {
2509
- "payload": 4294695385,
2510
- "type": 0,
2511
- }
2512
- }
2513
- fillRule={0}
2514
- propList={
2515
- [
2516
- "fill",
2517
- "fillRule",
2518
- ]
2519
- }
2520
- />
2521
- </RNSVGGroup>
2522
- </RNSVGSvgView>
2523
- </View>
2524
- </View>
2525
- </View>
2526
- <View
2527
- onLayout={[Function]}
2528
- />
2529
- </View>
2530
- <View
2531
- collapsable={false}
2532
- handlerTag={4}
2533
- handlerType="TapGestureHandler"
2534
- onGestureHandlerEvent={[Function]}
2535
- onGestureHandlerStateChange={[Function]}
2536
- pointerEvents="auto"
2537
- style={
2538
- {
2539
- "transform": [
2540
- {
2541
- "translateX": -0,
2542
- },
2543
- ],
2544
- }
2545
- }
2546
- >
2547
- <Text
2548
- style={
2549
- [
2550
- [
2551
- {
2552
- "fontFamily": "Montserrat",
2553
- "fontSize": 13,
2554
- "lineHeight": 20.4,
2555
- },
2556
- ],
2557
- {
2558
- "color": "#FFFFFF",
2559
- "textAlign": undefined,
2560
- "width": "100%",
2561
- },
2562
- {
2563
- "backgroundColor": "#F16868",
2564
- "minHeight": 30,
2565
- "textAlignVertical": "center",
2566
- },
2567
- ]
2568
- }
2569
- >
2570
- TEST color
2571
- </Text>
2572
- </View>
2573
- </View>
2574
- </View>
2575
- </View>
2576
- </View>
2577
- <View
2578
- style={
2579
- {
2580
- "alignSelf": "flex-end",
2581
- "marginBottom": 2,
2582
- }
2583
- }
2584
- >
2585
- <Text
2586
- style={
2587
- [
2588
- [
2589
- {
2590
- "fontFamily": "Montserrat",
2591
- "fontSize": 13,
2592
- "lineHeight": 20.4,
2593
- },
2594
- ],
2595
- {
2596
- "color": "#9AA5B1",
2597
- "textAlign": "right",
2598
- "width": "100%",
2599
- },
2600
- {
2601
- "textAlignVertical": "center",
2602
- },
2603
- ]
2604
- }
2605
- >
2606
-
2607
- 25 May, 9:08
2608
- </Text>
2609
- </View>
2610
- </View>
2611
- `;
2612
-
2613
- exports[`test text-bubble return a text bubble, that will be send, but does not get send due to an error. It will show the failed text bubble 1`] = `
2614
- <View
2615
- style={
2616
- {
2617
- "gap": 4,
2618
- "width": "100%",
2619
- }
2620
- }
2621
- >
2622
- <View
2623
- style={
2624
- {
2625
- "minWidth": "50%",
2626
- }
2627
- }
2628
- >
2629
- <View
2630
- style={
2631
- {
2632
- "flexDirection": "row",
2633
- "gap": 12,
2634
- }
2635
- }
2636
- >
2637
- <View
2638
- style={
2639
- {
2640
- "justifyContent": "center",
2641
- "padding": 2,
2642
- }
2643
- }
2644
- >
2645
- <RNSVGSvgView
2646
- align="xMidYMid"
2647
- bbHeight="26"
2648
- bbWidth="26"
2649
- fill="none"
2650
- focusable={false}
2651
- height={26}
2652
- meetOrSlice={0}
2653
- minX={0}
2654
- minY={0}
2655
- style={
2656
- [
2657
- {
2658
- "backgroundColor": "transparent",
2659
- "borderWidth": 0,
2660
- },
2661
- {
2662
- "flex": 0,
2663
- "height": 26,
2664
- "width": 26,
2665
- },
2666
- ]
2667
- }
2668
- vbHeight={23}
2669
- vbWidth={22}
2670
- width={26}
2671
- >
2672
- <RNSVGGroup
2673
- fill={null}
2674
- propList={
2675
- [
2676
- "fill",
2677
- ]
2678
- }
2679
- >
2680
- <RNSVGPath
2681
- d="M11 7V11.5M11 16H11.0108M20.75 11.5C20.75 17.0919 16.3848 21.625 11 21.625C5.61522 21.625 1.25 17.0919 1.25 11.5C1.25 5.90812 5.61522 1.375 11 1.375C16.3848 1.375 20.75 5.90812 20.75 11.5Z"
2682
- fill={
2683
- {
2684
- "payload": 4278190080,
2685
- "type": 0,
2686
- }
2687
- }
2688
- propList={
2689
- [
2690
- "stroke",
2691
- "strokeWidth",
2692
- "strokeLinecap",
2693
- "strokeLinejoin",
2694
- ]
2695
- }
2696
- stroke={
2697
- {
2698
- "payload": 4294010984,
2699
- "type": 0,
2700
- }
2701
- }
2702
- strokeLinecap={1}
2703
- strokeLinejoin={1}
2704
- strokeWidth="2"
2705
- />
2706
- </RNSVGGroup>
2707
- </RNSVGSvgView>
2708
- </View>
2709
- <View
2710
- style={
2711
- {
2712
- "backgroundColor": "#F16868",
2713
- "borderBottomLeftRadius": 8,
2714
- "borderBottomRightRadius": 32,
2715
- "borderTopLeftRadius": 24,
2716
- "borderTopRightRadius": 24,
2717
- "flex": 1,
2718
- "justifyContent": "center",
2719
- "paddingBottom": 16,
2720
- "paddingLeft": 24,
2721
- "paddingRight": 24,
2722
- "paddingTop": 16,
2723
- }
2724
- }
2725
- >
2726
- <View
2727
- collapsable={false}
2728
- handlerTag={13}
2729
- handlerType="PanGestureHandler"
2730
- onGestureHandlerEvent={[Function]}
2731
- onGestureHandlerStateChange={[Function]}
2732
- onLayout={[Function]}
2733
- style={
2734
- {
2735
- "overflow": "hidden",
2736
- }
2737
- }
2738
- >
2739
- <View
2740
- collapsable={false}
2741
- style={
2742
- {
2743
- "bottom": 0,
2744
- "flexDirection": "row-reverse",
2745
- "left": 0,
2746
- "position": "absolute",
2747
- "right": 0,
2748
- "top": 0,
2749
- "transform": [
2750
- {
2751
- "translateX": -10000,
2752
- },
2753
- ],
2754
- }
2755
- }
2756
- >
2757
- <View
2758
- style={
2759
- {
2760
- "alignItems": "center",
2761
- "flex": 1,
2762
- "flexDirection": "row",
2763
- "justifyContent": "space-evenly",
2764
- }
2765
- }
2766
- >
2767
- <View
2768
- collapsable={false}
2769
- style={
2770
- {
2771
- "alignItems": "center",
2772
- "justifyContent": "center",
2773
- "opacity": 0,
2774
- }
2775
- }
2776
- >
2777
- <View
2778
- accessibilityState={
2779
- {
2780
- "busy": undefined,
2781
- "checked": undefined,
2782
- "disabled": undefined,
2783
- "expanded": undefined,
2784
- "selected": undefined,
2785
- }
2786
- }
2787
- accessibilityValue={
2788
- {
2789
- "max": undefined,
2790
- "min": undefined,
2791
- "now": undefined,
2792
- "text": undefined,
2793
- }
2794
- }
2795
- accessible={true}
2796
- collapsable={false}
2797
- focusable={true}
2798
- onBlur={[Function]}
2799
- onClick={[Function]}
2800
- onFocus={[Function]}
2801
- onResponderGrant={[Function]}
2802
- onResponderMove={[Function]}
2803
- onResponderRelease={[Function]}
2804
- onResponderTerminate={[Function]}
2805
- onResponderTerminationRequest={[Function]}
2806
- onStartShouldSetResponder={[Function]}
2807
- testID="refresh-button"
2808
- >
2809
- <RNSVGSvgView
2810
- align="xMidYMid"
2811
- bbHeight="24"
2812
- bbWidth="24"
2813
- fill="none"
2814
- focusable={false}
2815
- height={24}
2816
- meetOrSlice={0}
2817
- minX={0}
2818
- minY={0}
2819
- style={
2820
- [
2821
- {
2822
- "backgroundColor": "transparent",
2823
- "borderWidth": 0,
2824
- },
2825
- {
2826
- "flex": 0,
2827
- "height": 24,
2828
- "width": 24,
2829
- },
2830
- ]
2831
- }
2832
- vbHeight={18}
2833
- vbWidth={16}
2834
- width={24}
2835
- >
2836
- <RNSVGGroup
2837
- fill={null}
2838
- propList={
2839
- [
2840
- "fill",
2841
- ]
2842
- }
2843
- >
2844
- <RNSVGPath
2845
- d="M1.40005 0.200012C2.00756 0.200012 2.50005 0.692499 2.50005 1.30001V3.61139C3.89715 2.18539 5.84462 1.30001 8.00005 1.30001C11.3544 1.30001 14.2051 3.44426 15.2616 6.43344C15.4641 7.00623 15.1639 7.63468 14.5911 7.83714C14.0183 8.03959 13.3898 7.73937 13.1874 7.16658C12.4318 5.02891 10.3931 3.50001 8.00005 3.50001C6.20162 3.50001 4.60329 4.36353 3.59934 5.70001H6.90005C7.50756 5.70001 8.00005 6.1925 8.00005 6.80001C8.00005 7.40752 7.50756 7.90001 6.90005 7.90001H1.40005C0.792536 7.90001 0.300049 7.40752 0.300049 6.80001V1.30001C0.300049 0.692499 0.792536 0.200012 1.40005 0.200012ZM1.40903 10.1629C1.98182 9.96044 2.61027 10.2607 2.81273 10.8334C3.56828 12.9711 5.60703 14.5 8.00005 14.5C9.79847 14.5 11.3968 13.6365 12.4008 12.3L9.10005 12.3C8.49254 12.3 8.00005 11.8075 8.00005 11.2C8.00005 10.5925 8.49254 10.1 9.10005 10.1H14.6C14.8918 10.1 15.1716 10.2159 15.3779 10.4222C15.5842 10.6285 15.7 10.9083 15.7 11.2V16.7C15.7 17.3075 15.2076 17.8 14.6 17.8C13.9925 17.8 13.5 17.3075 13.5 16.7V14.3886C12.1029 15.8146 10.1555 16.7 8.00005 16.7C4.6457 16.7 1.795 14.5558 0.738478 11.5666C0.536026 10.9938 0.836243 10.3653 1.40903 10.1629Z"
2846
- fill={
2847
- {
2848
- "payload": 4294695385,
2849
- "type": 0,
2850
- }
2851
- }
2852
- propList={
2853
- [
2854
- "fill",
2855
- ]
2856
- }
2857
- />
2858
- </RNSVGGroup>
2859
- </RNSVGSvgView>
2860
- </View>
2861
- </View>
2862
- <View
2863
- collapsable={false}
2864
- style={
2865
- {
2866
- "alignItems": "center",
2867
- "justifyContent": "center",
2868
- "opacity": 0,
2869
- }
2870
- }
2871
- >
2872
- <View
2873
- accessibilityState={
2874
- {
2875
- "busy": undefined,
2876
- "checked": undefined,
2877
- "disabled": undefined,
2878
- "expanded": undefined,
2879
- "selected": undefined,
2880
- }
2881
- }
2882
- accessibilityValue={
2883
- {
2884
- "max": undefined,
2885
- "min": undefined,
2886
- "now": undefined,
2887
- "text": undefined,
2888
- }
2889
- }
2890
- accessible={true}
2891
- collapsable={false}
2892
- focusable={true}
2893
- onBlur={[Function]}
2894
- onClick={[Function]}
2895
- onFocus={[Function]}
2896
- onResponderGrant={[Function]}
2897
- onResponderMove={[Function]}
2898
- onResponderRelease={[Function]}
2899
- onResponderTerminate={[Function]}
2900
- onResponderTerminationRequest={[Function]}
2901
- onStartShouldSetResponder={[Function]}
2902
- testID="delete-button"
2903
- >
2904
- <RNSVGSvgView
2905
- align="xMidYMid"
2906
- bbHeight="24"
2907
- bbWidth="24"
2908
- fill="none"
2909
- focusable={false}
2910
- height={24}
2911
- meetOrSlice={0}
2912
- minX={0}
2913
- minY={0}
2914
- style={
2915
- [
2916
- {
2917
- "backgroundColor": "transparent",
2918
- "borderWidth": 0,
2919
- },
2920
- {
2921
- "flex": 0,
2922
- "height": 24,
2923
- "width": 24,
2924
- },
2925
- ]
2926
- }
2927
- vbHeight={18}
2928
- vbWidth={17}
2929
- width={24}
2930
- >
2931
- <RNSVGGroup
2932
- fill={null}
2933
- propList={
2934
- [
2935
- "fill",
2936
- ]
2937
- }
2938
- >
2939
- <RNSVGPath
2940
- clipRule={0}
2941
- d="M7.34995 0.200012C6.91436 0.200012 6.51616 0.435415 6.32136 0.808077L5.48921 2.40001H1.59995C0.964824 2.40001 0.449951 2.8925 0.449951 3.50001C0.449951 4.10753 0.964824 4.60001 1.59995 4.60001L1.59995 15.6C1.59995 16.815 2.6297 17.8 3.89995 17.8H13.1C14.3702 17.8 15.4 16.815 15.4 15.6V4.60001C16.0351 4.60001 16.55 4.10753 16.55 3.50001C16.55 2.8925 16.0351 2.40001 15.4 2.40001H11.5107L10.6785 0.808077C10.4837 0.435415 10.0855 0.200012 9.64995 0.200012H7.34995ZM5.04995 6.80001C5.04995 6.1925 5.56482 5.70001 6.19995 5.70001C6.83508 5.70001 7.34995 6.1925 7.34995 6.80001V13.4C7.34995 14.0075 6.83508 14.5 6.19995 14.5C5.56482 14.5 5.04995 14.0075 5.04995 13.4V6.80001ZM10.8 5.70001C10.1648 5.70001 9.64995 6.1925 9.64995 6.80001V13.4C9.64995 14.0075 10.1648 14.5 10.8 14.5C11.4351 14.5 11.95 14.0075 11.95 13.4V6.80001C11.95 6.1925 11.4351 5.70001 10.8 5.70001Z"
2942
- fill={
2943
- {
2944
- "payload": 4294695385,
2945
- "type": 0,
2946
- }
2947
- }
2948
- fillRule={0}
2949
- propList={
2950
- [
2951
- "fill",
2952
- "fillRule",
2953
- ]
2954
- }
2955
- />
2956
- </RNSVGGroup>
2957
- </RNSVGSvgView>
2958
- </View>
2959
- </View>
2960
- </View>
2961
- <View
2962
- onLayout={[Function]}
2963
- />
2964
- </View>
2965
- <View
2966
- collapsable={false}
2967
- handlerTag={14}
2968
- handlerType="TapGestureHandler"
2969
- onGestureHandlerEvent={[Function]}
2970
- onGestureHandlerStateChange={[Function]}
2971
- pointerEvents="auto"
2972
- style={
2973
- {
2974
- "transform": [
2975
- {
2976
- "translateX": -0,
2977
- },
2978
- ],
2979
- }
2980
- }
2981
- >
2982
- <Text
2983
- style={
2984
- [
2985
- [
2986
- {
2987
- "fontFamily": "Montserrat",
2988
- "fontSize": 13,
2989
- "lineHeight": 20.4,
2990
- },
2991
- ],
2992
- {
2993
- "color": "#FFFFFF",
2994
- "textAlign": undefined,
2995
- "width": "100%",
2996
- },
2997
- {
2998
- "backgroundColor": "#F16868",
2999
- "minHeight": 30,
3000
- "textAlignVertical": "center",
3001
- },
3002
- ]
3003
- }
3004
- >
3005
- TEST Bubble
3006
- </Text>
3007
- </View>
3008
- </View>
3009
- </View>
3010
- </View>
3011
- </View>
3012
- <View
3013
- style={
3014
- {
3015
- "alignSelf": "flex-end",
3016
- "marginBottom": 2,
3017
- }
3018
- }
3019
- >
3020
- <Text
3021
- style={
3022
- [
3023
- [
3024
- {
3025
- "fontFamily": "Montserrat",
3026
- "fontSize": 13,
3027
- "lineHeight": 20.4,
3028
- },
3029
- ],
3030
- {
3031
- "color": "#9AA5B1",
3032
- "textAlign": "right",
3033
- "width": "100%",
3034
- },
3035
- {
3036
- "textAlignVertical": "center",
3037
- },
3038
- ]
3039
- }
3040
- >
3041
-
3042
- 25 May, 9:08
3043
- </Text>
3044
- </View>
3045
- </View>
3046
- `;