@hero-design/rn 8.43.1 → 8.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +10 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +366 -359
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +366 -359
  7. package/package.json +1 -1
  8. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -452
  9. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  10. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +790 -706
  11. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -652
  12. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +170 -142
  13. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -82
  14. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -689
  15. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +157 -73
  16. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -189
  17. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
  18. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
  19. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -278
  20. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -233
  21. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  22. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -120
  23. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -810
  24. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -140
  25. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1666 -1218
  26. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +70 -42
  27. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1623 -727
  28. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -415
  29. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  30. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
  31. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  32. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
  33. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -430
  34. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +196 -84
  35. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  36. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1720 -1636
  37. package/src/components/Carousel/__tests__/index.spec.tsx +7 -6
  38. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +400 -176
  39. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -406
  40. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1170 -834
  41. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
  42. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
  43. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
  44. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +421 -337
  45. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -502
  46. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -172
  47. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -164
  48. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -443
  49. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  50. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
  51. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -243
  52. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
  53. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
  54. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +845 -789
  55. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
  56. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +197 -113
  57. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +290 -206
  58. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
  59. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  60. package/src/components/Icon/IconList.ts +2 -0
  61. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
  62. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
  63. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -186
  64. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +761 -649
  65. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +268 -156
  66. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +473 -221
  67. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +60 -8
  68. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +83 -55
  69. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  70. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
  71. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  72. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
  73. package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
  74. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
  75. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
  76. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -132
  77. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +256 -228
  78. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -780
  79. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
  80. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  81. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  82. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +406 -378
  83. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -36
  84. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -315
  85. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
  86. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
  87. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -65
  88. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2402 -2290
  89. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +180 -24
  90. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
  91. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -45
  92. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2309 -2197
  93. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +150 -20
  94. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
  95. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  96. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
  97. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
  98. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
  99. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +323 -213
  100. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -126
  101. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
  102. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
  103. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +145 -117
  104. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
  105. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -76
  106. package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
  107. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
  108. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2214 -2130
  109. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -495
  110. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
  111. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1637 -1553
  112. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
  113. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
  114. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
  115. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -334
  116. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -606
  117. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -675
  118. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  119. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -498
  120. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -459
  121. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
  122. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
  123. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
  124. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
  125. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
  126. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
  127. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  128. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
  129. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
  130. package/src/testHelpers/renderWithTheme.tsx +2 -2
  131. package/types/components/Icon/IconList.d.ts +1 -1
  132. package/types/components/Icon/index.d.ts +1 -1
  133. package/types/components/Icon/utils.d.ts +1 -1
@@ -3,923 +3,1595 @@
3
3
  exports[`StyledSpinnerContainer renders correctly when intent is $themeIntent, and size is $themeSize 1`] = `
4
4
  <View
5
5
  style={
6
- [
7
- {
8
- "alignItems": "center",
9
- "height": "100%",
10
- "justifyContent": "center",
11
- },
12
- undefined,
13
- ]
6
+ {
7
+ "flex": 1,
8
+ }
14
9
  }
15
10
  >
16
11
  <View
17
- collapsable={false}
18
12
  style={
19
- {
20
- "transform": [
21
- {
22
- "rotate": "0deg",
23
- },
24
- ],
25
- }
13
+ [
14
+ {
15
+ "alignItems": "center",
16
+ "height": "100%",
17
+ "justifyContent": "center",
18
+ },
19
+ undefined,
20
+ ]
26
21
  }
27
22
  >
28
23
  <View
29
24
  collapsable={false}
30
25
  style={
31
- [
32
- {
33
- "flexDirection": "row",
34
- "marginBottom": 4,
35
- },
36
- {},
37
- ]
38
- }
39
- themePosition="top"
40
- themeSize="small"
41
- >
42
- <View
43
- collapsable={false}
44
- style={
45
- [
26
+ {
27
+ "transform": [
46
28
  {
47
- "backgroundColor": "#401960",
48
- "borderRadius": 999,
49
- "height": 8,
50
- "opacity": 0.9,
51
- "width": 8,
29
+ "rotate": "0deg",
52
30
  },
53
- {},
54
- ]
31
+ ],
55
32
  }
56
- themeIntent="primary"
57
- themePosition="topLeft"
58
- themeSize="small"
59
- />
60
- <View
61
- collapsable={false}
62
- style={
63
- [
64
- {
65
- "backgroundColor": "#401960",
66
- "borderRadius": 999,
67
- "height": 8,
68
- "marginLeft": 4,
69
- "opacity": 0.675,
70
- "width": 8,
71
- },
72
- {},
73
- ]
74
- }
75
- themeIntent="primary"
76
- themePosition="topRight"
77
- themeSize="small"
78
- />
79
- </View>
80
- <View
81
- collapsable={false}
82
- style={
83
- [
84
- {
85
- "flexDirection": "row",
86
- "marginBottom": 0,
87
- },
88
- {},
89
- ]
90
33
  }
91
- themePosition="bottom"
92
- themeSize="small"
93
34
  >
94
35
  <View
95
36
  collapsable={false}
96
37
  style={
97
38
  [
98
39
  {
99
- "backgroundColor": "#401960",
100
- "borderRadius": 999,
101
- "height": 8,
102
- "opacity": 0.45,
103
- "width": 8,
40
+ "flexDirection": "row",
41
+ "marginBottom": 4,
104
42
  },
105
43
  {},
106
44
  ]
107
45
  }
108
- themeIntent="primary"
109
- themePosition="bottomLeft"
46
+ themePosition="top"
110
47
  themeSize="small"
111
- />
48
+ >
49
+ <View
50
+ collapsable={false}
51
+ style={
52
+ [
53
+ {
54
+ "backgroundColor": "#401960",
55
+ "borderRadius": 999,
56
+ "height": 8,
57
+ "opacity": 0.9,
58
+ "width": 8,
59
+ },
60
+ {},
61
+ ]
62
+ }
63
+ themeIntent="primary"
64
+ themePosition="topLeft"
65
+ themeSize="small"
66
+ />
67
+ <View
68
+ collapsable={false}
69
+ style={
70
+ [
71
+ {
72
+ "backgroundColor": "#401960",
73
+ "borderRadius": 999,
74
+ "height": 8,
75
+ "marginLeft": 4,
76
+ "opacity": 0.675,
77
+ "width": 8,
78
+ },
79
+ {},
80
+ ]
81
+ }
82
+ themeIntent="primary"
83
+ themePosition="topRight"
84
+ themeSize="small"
85
+ />
86
+ </View>
112
87
  <View
113
88
  collapsable={false}
114
89
  style={
115
90
  [
116
91
  {
117
- "backgroundColor": "#401960",
118
- "borderRadius": 999,
119
- "height": 8,
120
- "marginLeft": 4,
121
- "opacity": 0.225,
122
- "width": 8,
92
+ "flexDirection": "row",
93
+ "marginBottom": 0,
123
94
  },
124
95
  {},
125
96
  ]
126
97
  }
127
- themeIntent="primary"
128
- themePosition="bottomRight"
98
+ themePosition="bottom"
129
99
  themeSize="small"
130
- />
100
+ >
101
+ <View
102
+ collapsable={false}
103
+ style={
104
+ [
105
+ {
106
+ "backgroundColor": "#401960",
107
+ "borderRadius": 999,
108
+ "height": 8,
109
+ "opacity": 0.45,
110
+ "width": 8,
111
+ },
112
+ {},
113
+ ]
114
+ }
115
+ themeIntent="primary"
116
+ themePosition="bottomLeft"
117
+ themeSize="small"
118
+ />
119
+ <View
120
+ collapsable={false}
121
+ style={
122
+ [
123
+ {
124
+ "backgroundColor": "#401960",
125
+ "borderRadius": 999,
126
+ "height": 8,
127
+ "marginLeft": 4,
128
+ "opacity": 0.225,
129
+ "width": 8,
130
+ },
131
+ {},
132
+ ]
133
+ }
134
+ themeIntent="primary"
135
+ themePosition="bottomRight"
136
+ themeSize="small"
137
+ />
138
+ </View>
131
139
  </View>
132
140
  </View>
141
+ <View
142
+ pointerEvents="box-none"
143
+ position="bottom"
144
+ style={
145
+ [
146
+ {
147
+ "bottom": 0,
148
+ "elevation": 9999,
149
+ "flexDirection": "column-reverse",
150
+ "left": 0,
151
+ "paddingHorizontal": 24,
152
+ "paddingVertical": 16,
153
+ "position": "absolute",
154
+ "right": 0,
155
+ "top": 0,
156
+ },
157
+ undefined,
158
+ ]
159
+ }
160
+ />
133
161
  </View>
134
162
  `;
135
163
 
136
164
  exports[`StyledSpinnerContainer renders correctly when intent is $themeIntent, and size is $themeSize 2`] = `
137
165
  <View
138
166
  style={
139
- [
140
- {
141
- "alignItems": "center",
142
- "height": "100%",
143
- "justifyContent": "center",
144
- },
145
- undefined,
146
- ]
167
+ {
168
+ "flex": 1,
169
+ }
147
170
  }
148
171
  >
149
172
  <View
150
- collapsable={false}
151
173
  style={
152
- {
153
- "transform": [
154
- {
155
- "rotate": "0deg",
156
- },
157
- ],
158
- }
174
+ [
175
+ {
176
+ "alignItems": "center",
177
+ "height": "100%",
178
+ "justifyContent": "center",
179
+ },
180
+ undefined,
181
+ ]
159
182
  }
160
183
  >
161
184
  <View
162
185
  collapsable={false}
163
186
  style={
164
- [
165
- {
166
- "flexDirection": "row",
167
- "marginBottom": 4,
168
- },
169
- {},
170
- ]
171
- }
172
- themePosition="top"
173
- themeSize="small"
174
- >
175
- <View
176
- collapsable={false}
177
- style={
178
- [
187
+ {
188
+ "transform": [
179
189
  {
180
- "backgroundColor": "#ffffff",
181
- "borderRadius": 999,
182
- "height": 8,
183
- "opacity": 0.9,
184
- "width": 8,
190
+ "rotate": "0deg",
185
191
  },
186
- {},
187
- ]
188
- }
189
- themeIntent="inverted"
190
- themePosition="topLeft"
191
- themeSize="small"
192
- />
193
- <View
194
- collapsable={false}
195
- style={
196
- [
197
- {
198
- "backgroundColor": "#ffffff",
199
- "borderRadius": 999,
200
- "height": 8,
201
- "marginLeft": 4,
202
- "opacity": 0.675,
203
- "width": 8,
204
- },
205
- {},
206
- ]
192
+ ],
207
193
  }
208
- themeIntent="inverted"
209
- themePosition="topRight"
210
- themeSize="small"
211
- />
212
- </View>
213
- <View
214
- collapsable={false}
215
- style={
216
- [
217
- {
218
- "flexDirection": "row",
219
- "marginBottom": 0,
220
- },
221
- {},
222
- ]
223
194
  }
224
- themePosition="bottom"
225
- themeSize="small"
226
195
  >
227
196
  <View
228
197
  collapsable={false}
229
198
  style={
230
199
  [
231
200
  {
232
- "backgroundColor": "#ffffff",
233
- "borderRadius": 999,
234
- "height": 8,
235
- "opacity": 0.45,
236
- "width": 8,
201
+ "flexDirection": "row",
202
+ "marginBottom": 4,
237
203
  },
238
204
  {},
239
205
  ]
240
206
  }
241
- themeIntent="inverted"
242
- themePosition="bottomLeft"
207
+ themePosition="top"
243
208
  themeSize="small"
244
- />
209
+ >
210
+ <View
211
+ collapsable={false}
212
+ style={
213
+ [
214
+ {
215
+ "backgroundColor": "#ffffff",
216
+ "borderRadius": 999,
217
+ "height": 8,
218
+ "opacity": 0.9,
219
+ "width": 8,
220
+ },
221
+ {},
222
+ ]
223
+ }
224
+ themeIntent="inverted"
225
+ themePosition="topLeft"
226
+ themeSize="small"
227
+ />
228
+ <View
229
+ collapsable={false}
230
+ style={
231
+ [
232
+ {
233
+ "backgroundColor": "#ffffff",
234
+ "borderRadius": 999,
235
+ "height": 8,
236
+ "marginLeft": 4,
237
+ "opacity": 0.675,
238
+ "width": 8,
239
+ },
240
+ {},
241
+ ]
242
+ }
243
+ themeIntent="inverted"
244
+ themePosition="topRight"
245
+ themeSize="small"
246
+ />
247
+ </View>
245
248
  <View
246
249
  collapsable={false}
247
250
  style={
248
251
  [
249
252
  {
250
- "backgroundColor": "#ffffff",
251
- "borderRadius": 999,
252
- "height": 8,
253
- "marginLeft": 4,
254
- "opacity": 0.225,
255
- "width": 8,
253
+ "flexDirection": "row",
254
+ "marginBottom": 0,
256
255
  },
257
256
  {},
258
257
  ]
259
258
  }
260
- themeIntent="inverted"
261
- themePosition="bottomRight"
259
+ themePosition="bottom"
262
260
  themeSize="small"
263
- />
261
+ >
262
+ <View
263
+ collapsable={false}
264
+ style={
265
+ [
266
+ {
267
+ "backgroundColor": "#ffffff",
268
+ "borderRadius": 999,
269
+ "height": 8,
270
+ "opacity": 0.45,
271
+ "width": 8,
272
+ },
273
+ {},
274
+ ]
275
+ }
276
+ themeIntent="inverted"
277
+ themePosition="bottomLeft"
278
+ themeSize="small"
279
+ />
280
+ <View
281
+ collapsable={false}
282
+ style={
283
+ [
284
+ {
285
+ "backgroundColor": "#ffffff",
286
+ "borderRadius": 999,
287
+ "height": 8,
288
+ "marginLeft": 4,
289
+ "opacity": 0.225,
290
+ "width": 8,
291
+ },
292
+ {},
293
+ ]
294
+ }
295
+ themeIntent="inverted"
296
+ themePosition="bottomRight"
297
+ themeSize="small"
298
+ />
299
+ </View>
264
300
  </View>
265
301
  </View>
302
+ <View
303
+ pointerEvents="box-none"
304
+ position="bottom"
305
+ style={
306
+ [
307
+ {
308
+ "bottom": 0,
309
+ "elevation": 9999,
310
+ "flexDirection": "column-reverse",
311
+ "left": 0,
312
+ "paddingHorizontal": 24,
313
+ "paddingVertical": 16,
314
+ "position": "absolute",
315
+ "right": 0,
316
+ "top": 0,
317
+ },
318
+ undefined,
319
+ ]
320
+ }
321
+ />
266
322
  </View>
267
323
  `;
268
324
 
269
325
  exports[`StyledSpinnerContainer renders correctly when intent is $themeIntent, and size is $themeSize 3`] = `
270
326
  <View
271
327
  style={
272
- [
273
- {
274
- "alignItems": "center",
275
- "height": "100%",
276
- "justifyContent": "center",
277
- },
278
- undefined,
279
- ]
328
+ {
329
+ "flex": 1,
330
+ }
280
331
  }
281
332
  >
282
333
  <View
283
- collapsable={false}
284
334
  style={
285
- {
286
- "transform": [
287
- {
288
- "rotate": "0deg",
289
- },
290
- ],
291
- }
335
+ [
336
+ {
337
+ "alignItems": "center",
338
+ "height": "100%",
339
+ "justifyContent": "center",
340
+ },
341
+ undefined,
342
+ ]
292
343
  }
293
344
  >
294
345
  <View
295
346
  collapsable={false}
296
347
  style={
297
- [
298
- {
299
- "flexDirection": "row",
300
- "marginBottom": 8,
301
- },
302
- {},
303
- ]
304
- }
305
- themePosition="top"
306
- themeSize="medium"
307
- >
308
- <View
309
- collapsable={false}
310
- style={
311
- [
312
- {
313
- "backgroundColor": "#401960",
314
- "borderRadius": 999,
315
- "height": 16,
316
- "opacity": 0.9,
317
- "width": 16,
318
- },
319
- {},
320
- ]
321
- }
322
- themeIntent="primary"
323
- themePosition="topLeft"
324
- themeSize="medium"
325
- />
326
- <View
327
- collapsable={false}
328
- style={
329
- [
348
+ {
349
+ "transform": [
330
350
  {
331
- "backgroundColor": "#401960",
332
- "borderRadius": 999,
333
- "height": 16,
334
- "marginLeft": 8,
335
- "opacity": 0.675,
336
- "width": 16,
351
+ "rotate": "0deg",
337
352
  },
338
- {},
339
- ]
353
+ ],
340
354
  }
341
- themeIntent="primary"
342
- themePosition="topRight"
343
- themeSize="medium"
344
- />
345
- </View>
346
- <View
347
- collapsable={false}
348
- style={
349
- [
350
- {
351
- "flexDirection": "row",
352
- "marginBottom": 0,
353
- },
354
- {},
355
- ]
356
355
  }
357
- themePosition="bottom"
358
- themeSize="medium"
359
356
  >
360
357
  <View
361
358
  collapsable={false}
362
359
  style={
363
360
  [
364
361
  {
365
- "backgroundColor": "#401960",
366
- "borderRadius": 999,
367
- "height": 16,
368
- "opacity": 0.45,
369
- "width": 16,
362
+ "flexDirection": "row",
363
+ "marginBottom": 8,
370
364
  },
371
365
  {},
372
366
  ]
373
367
  }
374
- themeIntent="primary"
375
- themePosition="bottomLeft"
368
+ themePosition="top"
376
369
  themeSize="medium"
377
- />
370
+ >
371
+ <View
372
+ collapsable={false}
373
+ style={
374
+ [
375
+ {
376
+ "backgroundColor": "#401960",
377
+ "borderRadius": 999,
378
+ "height": 16,
379
+ "opacity": 0.9,
380
+ "width": 16,
381
+ },
382
+ {},
383
+ ]
384
+ }
385
+ themeIntent="primary"
386
+ themePosition="topLeft"
387
+ themeSize="medium"
388
+ />
389
+ <View
390
+ collapsable={false}
391
+ style={
392
+ [
393
+ {
394
+ "backgroundColor": "#401960",
395
+ "borderRadius": 999,
396
+ "height": 16,
397
+ "marginLeft": 8,
398
+ "opacity": 0.675,
399
+ "width": 16,
400
+ },
401
+ {},
402
+ ]
403
+ }
404
+ themeIntent="primary"
405
+ themePosition="topRight"
406
+ themeSize="medium"
407
+ />
408
+ </View>
378
409
  <View
379
410
  collapsable={false}
380
411
  style={
381
412
  [
382
413
  {
383
- "backgroundColor": "#401960",
384
- "borderRadius": 999,
385
- "height": 16,
386
- "marginLeft": 8,
387
- "opacity": 0.225,
388
- "width": 16,
414
+ "flexDirection": "row",
415
+ "marginBottom": 0,
389
416
  },
390
417
  {},
391
418
  ]
392
419
  }
393
- themeIntent="primary"
394
- themePosition="bottomRight"
420
+ themePosition="bottom"
395
421
  themeSize="medium"
396
- />
422
+ >
423
+ <View
424
+ collapsable={false}
425
+ style={
426
+ [
427
+ {
428
+ "backgroundColor": "#401960",
429
+ "borderRadius": 999,
430
+ "height": 16,
431
+ "opacity": 0.45,
432
+ "width": 16,
433
+ },
434
+ {},
435
+ ]
436
+ }
437
+ themeIntent="primary"
438
+ themePosition="bottomLeft"
439
+ themeSize="medium"
440
+ />
441
+ <View
442
+ collapsable={false}
443
+ style={
444
+ [
445
+ {
446
+ "backgroundColor": "#401960",
447
+ "borderRadius": 999,
448
+ "height": 16,
449
+ "marginLeft": 8,
450
+ "opacity": 0.225,
451
+ "width": 16,
452
+ },
453
+ {},
454
+ ]
455
+ }
456
+ themeIntent="primary"
457
+ themePosition="bottomRight"
458
+ themeSize="medium"
459
+ />
460
+ </View>
397
461
  </View>
398
462
  </View>
463
+ <View
464
+ pointerEvents="box-none"
465
+ position="bottom"
466
+ style={
467
+ [
468
+ {
469
+ "bottom": 0,
470
+ "elevation": 9999,
471
+ "flexDirection": "column-reverse",
472
+ "left": 0,
473
+ "paddingHorizontal": 24,
474
+ "paddingVertical": 16,
475
+ "position": "absolute",
476
+ "right": 0,
477
+ "top": 0,
478
+ },
479
+ undefined,
480
+ ]
481
+ }
482
+ />
399
483
  </View>
400
484
  `;
401
485
 
402
486
  exports[`StyledSpinnerContainer renders correctly when intent is $themeIntent, and size is $themeSize 4`] = `
403
487
  <View
404
488
  style={
405
- [
406
- {
407
- "alignItems": "center",
408
- "height": "100%",
409
- "justifyContent": "center",
410
- },
411
- undefined,
412
- ]
489
+ {
490
+ "flex": 1,
491
+ }
413
492
  }
414
493
  >
415
494
  <View
416
- collapsable={false}
417
495
  style={
418
- {
419
- "transform": [
420
- {
421
- "rotate": "0deg",
422
- },
423
- ],
424
- }
496
+ [
497
+ {
498
+ "alignItems": "center",
499
+ "height": "100%",
500
+ "justifyContent": "center",
501
+ },
502
+ undefined,
503
+ ]
425
504
  }
426
505
  >
427
506
  <View
428
507
  collapsable={false}
429
508
  style={
430
- [
431
- {
432
- "flexDirection": "row",
433
- "marginBottom": 8,
434
- },
435
- {},
436
- ]
437
- }
438
- themePosition="top"
439
- themeSize="medium"
440
- >
441
- <View
442
- collapsable={false}
443
- style={
444
- [
509
+ {
510
+ "transform": [
445
511
  {
446
- "backgroundColor": "#ffffff",
447
- "borderRadius": 999,
448
- "height": 16,
449
- "opacity": 0.9,
450
- "width": 16,
512
+ "rotate": "0deg",
451
513
  },
452
- {},
453
- ]
454
- }
455
- themeIntent="inverted"
456
- themePosition="topLeft"
457
- themeSize="medium"
458
- />
459
- <View
460
- collapsable={false}
461
- style={
462
- [
463
- {
464
- "backgroundColor": "#ffffff",
465
- "borderRadius": 999,
466
- "height": 16,
467
- "marginLeft": 8,
468
- "opacity": 0.675,
469
- "width": 16,
470
- },
471
- {},
472
- ]
514
+ ],
473
515
  }
474
- themeIntent="inverted"
475
- themePosition="topRight"
476
- themeSize="medium"
477
- />
478
- </View>
479
- <View
480
- collapsable={false}
481
- style={
482
- [
483
- {
484
- "flexDirection": "row",
485
- "marginBottom": 0,
486
- },
487
- {},
488
- ]
489
516
  }
490
- themePosition="bottom"
491
- themeSize="medium"
492
517
  >
493
518
  <View
494
519
  collapsable={false}
495
520
  style={
496
521
  [
497
522
  {
498
- "backgroundColor": "#ffffff",
499
- "borderRadius": 999,
500
- "height": 16,
501
- "opacity": 0.45,
502
- "width": 16,
523
+ "flexDirection": "row",
524
+ "marginBottom": 8,
503
525
  },
504
526
  {},
505
527
  ]
506
528
  }
507
- themeIntent="inverted"
508
- themePosition="bottomLeft"
529
+ themePosition="top"
509
530
  themeSize="medium"
510
- />
531
+ >
532
+ <View
533
+ collapsable={false}
534
+ style={
535
+ [
536
+ {
537
+ "backgroundColor": "#ffffff",
538
+ "borderRadius": 999,
539
+ "height": 16,
540
+ "opacity": 0.9,
541
+ "width": 16,
542
+ },
543
+ {},
544
+ ]
545
+ }
546
+ themeIntent="inverted"
547
+ themePosition="topLeft"
548
+ themeSize="medium"
549
+ />
550
+ <View
551
+ collapsable={false}
552
+ style={
553
+ [
554
+ {
555
+ "backgroundColor": "#ffffff",
556
+ "borderRadius": 999,
557
+ "height": 16,
558
+ "marginLeft": 8,
559
+ "opacity": 0.675,
560
+ "width": 16,
561
+ },
562
+ {},
563
+ ]
564
+ }
565
+ themeIntent="inverted"
566
+ themePosition="topRight"
567
+ themeSize="medium"
568
+ />
569
+ </View>
511
570
  <View
512
571
  collapsable={false}
513
572
  style={
514
573
  [
515
574
  {
516
- "backgroundColor": "#ffffff",
517
- "borderRadius": 999,
518
- "height": 16,
519
- "marginLeft": 8,
520
- "opacity": 0.225,
521
- "width": 16,
575
+ "flexDirection": "row",
576
+ "marginBottom": 0,
522
577
  },
523
578
  {},
524
579
  ]
525
580
  }
526
- themeIntent="inverted"
527
- themePosition="bottomRight"
581
+ themePosition="bottom"
528
582
  themeSize="medium"
529
- />
583
+ >
584
+ <View
585
+ collapsable={false}
586
+ style={
587
+ [
588
+ {
589
+ "backgroundColor": "#ffffff",
590
+ "borderRadius": 999,
591
+ "height": 16,
592
+ "opacity": 0.45,
593
+ "width": 16,
594
+ },
595
+ {},
596
+ ]
597
+ }
598
+ themeIntent="inverted"
599
+ themePosition="bottomLeft"
600
+ themeSize="medium"
601
+ />
602
+ <View
603
+ collapsable={false}
604
+ style={
605
+ [
606
+ {
607
+ "backgroundColor": "#ffffff",
608
+ "borderRadius": 999,
609
+ "height": 16,
610
+ "marginLeft": 8,
611
+ "opacity": 0.225,
612
+ "width": 16,
613
+ },
614
+ {},
615
+ ]
616
+ }
617
+ themeIntent="inverted"
618
+ themePosition="bottomRight"
619
+ themeSize="medium"
620
+ />
621
+ </View>
530
622
  </View>
531
623
  </View>
624
+ <View
625
+ pointerEvents="box-none"
626
+ position="bottom"
627
+ style={
628
+ [
629
+ {
630
+ "bottom": 0,
631
+ "elevation": 9999,
632
+ "flexDirection": "column-reverse",
633
+ "left": 0,
634
+ "paddingHorizontal": 24,
635
+ "paddingVertical": 16,
636
+ "position": "absolute",
637
+ "right": 0,
638
+ "top": 0,
639
+ },
640
+ undefined,
641
+ ]
642
+ }
643
+ />
532
644
  </View>
533
645
  `;
534
646
 
535
647
  exports[`StyledSpinnerDot renders correctly when position is bottomLeft, size is medium, intent is inverted 1`] = `
536
648
  <View
537
649
  style={
538
- [
539
- {
540
- "backgroundColor": "#ffffff",
541
- "borderRadius": 999,
542
- "height": 16,
543
- "opacity": 0.45,
544
- "width": 16,
545
- },
546
- undefined,
547
- ]
650
+ {
651
+ "flex": 1,
652
+ }
548
653
  }
549
- themeIntent="inverted"
550
- themePosition="bottomLeft"
551
- themeSize="medium"
552
- />
654
+ >
655
+ <View
656
+ style={
657
+ [
658
+ {
659
+ "backgroundColor": "#ffffff",
660
+ "borderRadius": 999,
661
+ "height": 16,
662
+ "opacity": 0.45,
663
+ "width": 16,
664
+ },
665
+ undefined,
666
+ ]
667
+ }
668
+ themeIntent="inverted"
669
+ themePosition="bottomLeft"
670
+ themeSize="medium"
671
+ />
672
+ <View
673
+ pointerEvents="box-none"
674
+ position="bottom"
675
+ style={
676
+ [
677
+ {
678
+ "bottom": 0,
679
+ "elevation": 9999,
680
+ "flexDirection": "column-reverse",
681
+ "left": 0,
682
+ "paddingHorizontal": 24,
683
+ "paddingVertical": 16,
684
+ "position": "absolute",
685
+ "right": 0,
686
+ "top": 0,
687
+ },
688
+ undefined,
689
+ ]
690
+ }
691
+ />
692
+ </View>
553
693
  `;
554
694
 
555
695
  exports[`StyledSpinnerDot renders correctly when position is bottomLeft, size is medium, intent is primary 1`] = `
556
696
  <View
557
697
  style={
558
- [
559
- {
560
- "backgroundColor": "#401960",
561
- "borderRadius": 999,
562
- "height": 16,
563
- "opacity": 0.45,
564
- "width": 16,
565
- },
566
- undefined,
567
- ]
698
+ {
699
+ "flex": 1,
700
+ }
568
701
  }
569
- themeIntent="primary"
570
- themePosition="bottomLeft"
571
- themeSize="medium"
572
- />
702
+ >
703
+ <View
704
+ style={
705
+ [
706
+ {
707
+ "backgroundColor": "#401960",
708
+ "borderRadius": 999,
709
+ "height": 16,
710
+ "opacity": 0.45,
711
+ "width": 16,
712
+ },
713
+ undefined,
714
+ ]
715
+ }
716
+ themeIntent="primary"
717
+ themePosition="bottomLeft"
718
+ themeSize="medium"
719
+ />
720
+ <View
721
+ pointerEvents="box-none"
722
+ position="bottom"
723
+ style={
724
+ [
725
+ {
726
+ "bottom": 0,
727
+ "elevation": 9999,
728
+ "flexDirection": "column-reverse",
729
+ "left": 0,
730
+ "paddingHorizontal": 24,
731
+ "paddingVertical": 16,
732
+ "position": "absolute",
733
+ "right": 0,
734
+ "top": 0,
735
+ },
736
+ undefined,
737
+ ]
738
+ }
739
+ />
740
+ </View>
573
741
  `;
574
742
 
575
743
  exports[`StyledSpinnerDot renders correctly when position is bottomLeft, size is small, intent is inverted 1`] = `
576
744
  <View
577
745
  style={
578
- [
579
- {
580
- "backgroundColor": "#ffffff",
581
- "borderRadius": 999,
582
- "height": 8,
583
- "opacity": 0.45,
584
- "width": 8,
585
- },
586
- undefined,
587
- ]
746
+ {
747
+ "flex": 1,
748
+ }
588
749
  }
589
- themeIntent="inverted"
590
- themePosition="bottomLeft"
591
- themeSize="small"
592
- />
750
+ >
751
+ <View
752
+ style={
753
+ [
754
+ {
755
+ "backgroundColor": "#ffffff",
756
+ "borderRadius": 999,
757
+ "height": 8,
758
+ "opacity": 0.45,
759
+ "width": 8,
760
+ },
761
+ undefined,
762
+ ]
763
+ }
764
+ themeIntent="inverted"
765
+ themePosition="bottomLeft"
766
+ themeSize="small"
767
+ />
768
+ <View
769
+ pointerEvents="box-none"
770
+ position="bottom"
771
+ style={
772
+ [
773
+ {
774
+ "bottom": 0,
775
+ "elevation": 9999,
776
+ "flexDirection": "column-reverse",
777
+ "left": 0,
778
+ "paddingHorizontal": 24,
779
+ "paddingVertical": 16,
780
+ "position": "absolute",
781
+ "right": 0,
782
+ "top": 0,
783
+ },
784
+ undefined,
785
+ ]
786
+ }
787
+ />
788
+ </View>
593
789
  `;
594
790
 
595
791
  exports[`StyledSpinnerDot renders correctly when position is bottomLeft, size is small, intent is primary 1`] = `
596
792
  <View
597
793
  style={
598
- [
599
- {
600
- "backgroundColor": "#401960",
601
- "borderRadius": 999,
602
- "height": 8,
603
- "opacity": 0.45,
604
- "width": 8,
605
- },
606
- undefined,
607
- ]
794
+ {
795
+ "flex": 1,
796
+ }
608
797
  }
609
- themeIntent="primary"
610
- themePosition="bottomLeft"
611
- themeSize="small"
612
- />
798
+ >
799
+ <View
800
+ style={
801
+ [
802
+ {
803
+ "backgroundColor": "#401960",
804
+ "borderRadius": 999,
805
+ "height": 8,
806
+ "opacity": 0.45,
807
+ "width": 8,
808
+ },
809
+ undefined,
810
+ ]
811
+ }
812
+ themeIntent="primary"
813
+ themePosition="bottomLeft"
814
+ themeSize="small"
815
+ />
816
+ <View
817
+ pointerEvents="box-none"
818
+ position="bottom"
819
+ style={
820
+ [
821
+ {
822
+ "bottom": 0,
823
+ "elevation": 9999,
824
+ "flexDirection": "column-reverse",
825
+ "left": 0,
826
+ "paddingHorizontal": 24,
827
+ "paddingVertical": 16,
828
+ "position": "absolute",
829
+ "right": 0,
830
+ "top": 0,
831
+ },
832
+ undefined,
833
+ ]
834
+ }
835
+ />
836
+ </View>
613
837
  `;
614
838
 
615
839
  exports[`StyledSpinnerDot renders correctly when position is bottomRight, size is medium, intent is inverted 1`] = `
616
840
  <View
617
841
  style={
618
- [
619
- {
620
- "backgroundColor": "#ffffff",
621
- "borderRadius": 999,
622
- "height": 16,
623
- "marginLeft": 8,
624
- "opacity": 0.225,
625
- "width": 16,
626
- },
627
- undefined,
628
- ]
842
+ {
843
+ "flex": 1,
844
+ }
629
845
  }
630
- themeIntent="inverted"
631
- themePosition="bottomRight"
632
- themeSize="medium"
633
- />
846
+ >
847
+ <View
848
+ style={
849
+ [
850
+ {
851
+ "backgroundColor": "#ffffff",
852
+ "borderRadius": 999,
853
+ "height": 16,
854
+ "marginLeft": 8,
855
+ "opacity": 0.225,
856
+ "width": 16,
857
+ },
858
+ undefined,
859
+ ]
860
+ }
861
+ themeIntent="inverted"
862
+ themePosition="bottomRight"
863
+ themeSize="medium"
864
+ />
865
+ <View
866
+ pointerEvents="box-none"
867
+ position="bottom"
868
+ style={
869
+ [
870
+ {
871
+ "bottom": 0,
872
+ "elevation": 9999,
873
+ "flexDirection": "column-reverse",
874
+ "left": 0,
875
+ "paddingHorizontal": 24,
876
+ "paddingVertical": 16,
877
+ "position": "absolute",
878
+ "right": 0,
879
+ "top": 0,
880
+ },
881
+ undefined,
882
+ ]
883
+ }
884
+ />
885
+ </View>
634
886
  `;
635
887
 
636
888
  exports[`StyledSpinnerDot renders correctly when position is bottomRight, size is medium, intent is primary 1`] = `
637
889
  <View
638
890
  style={
639
- [
640
- {
641
- "backgroundColor": "#401960",
642
- "borderRadius": 999,
643
- "height": 16,
644
- "marginLeft": 8,
645
- "opacity": 0.225,
646
- "width": 16,
647
- },
648
- undefined,
649
- ]
891
+ {
892
+ "flex": 1,
893
+ }
650
894
  }
651
- themeIntent="primary"
652
- themePosition="bottomRight"
653
- themeSize="medium"
654
- />
895
+ >
896
+ <View
897
+ style={
898
+ [
899
+ {
900
+ "backgroundColor": "#401960",
901
+ "borderRadius": 999,
902
+ "height": 16,
903
+ "marginLeft": 8,
904
+ "opacity": 0.225,
905
+ "width": 16,
906
+ },
907
+ undefined,
908
+ ]
909
+ }
910
+ themeIntent="primary"
911
+ themePosition="bottomRight"
912
+ themeSize="medium"
913
+ />
914
+ <View
915
+ pointerEvents="box-none"
916
+ position="bottom"
917
+ style={
918
+ [
919
+ {
920
+ "bottom": 0,
921
+ "elevation": 9999,
922
+ "flexDirection": "column-reverse",
923
+ "left": 0,
924
+ "paddingHorizontal": 24,
925
+ "paddingVertical": 16,
926
+ "position": "absolute",
927
+ "right": 0,
928
+ "top": 0,
929
+ },
930
+ undefined,
931
+ ]
932
+ }
933
+ />
934
+ </View>
655
935
  `;
656
936
 
657
937
  exports[`StyledSpinnerDot renders correctly when position is bottomRight, size is small, intent is inverted 1`] = `
658
938
  <View
659
939
  style={
660
- [
661
- {
662
- "backgroundColor": "#ffffff",
663
- "borderRadius": 999,
664
- "height": 8,
665
- "marginLeft": 4,
666
- "opacity": 0.225,
667
- "width": 8,
668
- },
669
- undefined,
670
- ]
940
+ {
941
+ "flex": 1,
942
+ }
671
943
  }
672
- themeIntent="inverted"
673
- themePosition="bottomRight"
674
- themeSize="small"
675
- />
944
+ >
945
+ <View
946
+ style={
947
+ [
948
+ {
949
+ "backgroundColor": "#ffffff",
950
+ "borderRadius": 999,
951
+ "height": 8,
952
+ "marginLeft": 4,
953
+ "opacity": 0.225,
954
+ "width": 8,
955
+ },
956
+ undefined,
957
+ ]
958
+ }
959
+ themeIntent="inverted"
960
+ themePosition="bottomRight"
961
+ themeSize="small"
962
+ />
963
+ <View
964
+ pointerEvents="box-none"
965
+ position="bottom"
966
+ style={
967
+ [
968
+ {
969
+ "bottom": 0,
970
+ "elevation": 9999,
971
+ "flexDirection": "column-reverse",
972
+ "left": 0,
973
+ "paddingHorizontal": 24,
974
+ "paddingVertical": 16,
975
+ "position": "absolute",
976
+ "right": 0,
977
+ "top": 0,
978
+ },
979
+ undefined,
980
+ ]
981
+ }
982
+ />
983
+ </View>
676
984
  `;
677
985
 
678
986
  exports[`StyledSpinnerDot renders correctly when position is bottomRight, size is small, intent is primary 1`] = `
679
987
  <View
680
988
  style={
681
- [
682
- {
683
- "backgroundColor": "#401960",
684
- "borderRadius": 999,
685
- "height": 8,
686
- "marginLeft": 4,
687
- "opacity": 0.225,
688
- "width": 8,
689
- },
690
- undefined,
691
- ]
989
+ {
990
+ "flex": 1,
991
+ }
692
992
  }
693
- themeIntent="primary"
694
- themePosition="bottomRight"
695
- themeSize="small"
696
- />
993
+ >
994
+ <View
995
+ style={
996
+ [
997
+ {
998
+ "backgroundColor": "#401960",
999
+ "borderRadius": 999,
1000
+ "height": 8,
1001
+ "marginLeft": 4,
1002
+ "opacity": 0.225,
1003
+ "width": 8,
1004
+ },
1005
+ undefined,
1006
+ ]
1007
+ }
1008
+ themeIntent="primary"
1009
+ themePosition="bottomRight"
1010
+ themeSize="small"
1011
+ />
1012
+ <View
1013
+ pointerEvents="box-none"
1014
+ position="bottom"
1015
+ style={
1016
+ [
1017
+ {
1018
+ "bottom": 0,
1019
+ "elevation": 9999,
1020
+ "flexDirection": "column-reverse",
1021
+ "left": 0,
1022
+ "paddingHorizontal": 24,
1023
+ "paddingVertical": 16,
1024
+ "position": "absolute",
1025
+ "right": 0,
1026
+ "top": 0,
1027
+ },
1028
+ undefined,
1029
+ ]
1030
+ }
1031
+ />
1032
+ </View>
697
1033
  `;
698
1034
 
699
1035
  exports[`StyledSpinnerDot renders correctly when position is topLeft, size is medium, intent is inverted 1`] = `
700
1036
  <View
701
1037
  style={
702
- [
703
- {
704
- "backgroundColor": "#ffffff",
705
- "borderRadius": 999,
706
- "height": 16,
707
- "opacity": 0.9,
708
- "width": 16,
709
- },
710
- undefined,
711
- ]
1038
+ {
1039
+ "flex": 1,
1040
+ }
712
1041
  }
713
- themeIntent="inverted"
714
- themePosition="topLeft"
715
- themeSize="medium"
716
- />
1042
+ >
1043
+ <View
1044
+ style={
1045
+ [
1046
+ {
1047
+ "backgroundColor": "#ffffff",
1048
+ "borderRadius": 999,
1049
+ "height": 16,
1050
+ "opacity": 0.9,
1051
+ "width": 16,
1052
+ },
1053
+ undefined,
1054
+ ]
1055
+ }
1056
+ themeIntent="inverted"
1057
+ themePosition="topLeft"
1058
+ themeSize="medium"
1059
+ />
1060
+ <View
1061
+ pointerEvents="box-none"
1062
+ position="bottom"
1063
+ style={
1064
+ [
1065
+ {
1066
+ "bottom": 0,
1067
+ "elevation": 9999,
1068
+ "flexDirection": "column-reverse",
1069
+ "left": 0,
1070
+ "paddingHorizontal": 24,
1071
+ "paddingVertical": 16,
1072
+ "position": "absolute",
1073
+ "right": 0,
1074
+ "top": 0,
1075
+ },
1076
+ undefined,
1077
+ ]
1078
+ }
1079
+ />
1080
+ </View>
717
1081
  `;
718
1082
 
719
1083
  exports[`StyledSpinnerDot renders correctly when position is topLeft, size is medium, intent is primary 1`] = `
720
1084
  <View
721
1085
  style={
722
- [
723
- {
724
- "backgroundColor": "#401960",
725
- "borderRadius": 999,
726
- "height": 16,
727
- "opacity": 0.9,
728
- "width": 16,
729
- },
730
- undefined,
731
- ]
1086
+ {
1087
+ "flex": 1,
1088
+ }
732
1089
  }
733
- themeIntent="primary"
734
- themePosition="topLeft"
735
- themeSize="medium"
736
- />
1090
+ >
1091
+ <View
1092
+ style={
1093
+ [
1094
+ {
1095
+ "backgroundColor": "#401960",
1096
+ "borderRadius": 999,
1097
+ "height": 16,
1098
+ "opacity": 0.9,
1099
+ "width": 16,
1100
+ },
1101
+ undefined,
1102
+ ]
1103
+ }
1104
+ themeIntent="primary"
1105
+ themePosition="topLeft"
1106
+ themeSize="medium"
1107
+ />
1108
+ <View
1109
+ pointerEvents="box-none"
1110
+ position="bottom"
1111
+ style={
1112
+ [
1113
+ {
1114
+ "bottom": 0,
1115
+ "elevation": 9999,
1116
+ "flexDirection": "column-reverse",
1117
+ "left": 0,
1118
+ "paddingHorizontal": 24,
1119
+ "paddingVertical": 16,
1120
+ "position": "absolute",
1121
+ "right": 0,
1122
+ "top": 0,
1123
+ },
1124
+ undefined,
1125
+ ]
1126
+ }
1127
+ />
1128
+ </View>
737
1129
  `;
738
1130
 
739
1131
  exports[`StyledSpinnerDot renders correctly when position is topLeft, size is small, intent is inverted 1`] = `
740
1132
  <View
741
1133
  style={
742
- [
743
- {
744
- "backgroundColor": "#ffffff",
745
- "borderRadius": 999,
746
- "height": 8,
747
- "opacity": 0.9,
748
- "width": 8,
749
- },
750
- undefined,
751
- ]
1134
+ {
1135
+ "flex": 1,
1136
+ }
752
1137
  }
753
- themeIntent="inverted"
754
- themePosition="topLeft"
755
- themeSize="small"
756
- />
1138
+ >
1139
+ <View
1140
+ style={
1141
+ [
1142
+ {
1143
+ "backgroundColor": "#ffffff",
1144
+ "borderRadius": 999,
1145
+ "height": 8,
1146
+ "opacity": 0.9,
1147
+ "width": 8,
1148
+ },
1149
+ undefined,
1150
+ ]
1151
+ }
1152
+ themeIntent="inverted"
1153
+ themePosition="topLeft"
1154
+ themeSize="small"
1155
+ />
1156
+ <View
1157
+ pointerEvents="box-none"
1158
+ position="bottom"
1159
+ style={
1160
+ [
1161
+ {
1162
+ "bottom": 0,
1163
+ "elevation": 9999,
1164
+ "flexDirection": "column-reverse",
1165
+ "left": 0,
1166
+ "paddingHorizontal": 24,
1167
+ "paddingVertical": 16,
1168
+ "position": "absolute",
1169
+ "right": 0,
1170
+ "top": 0,
1171
+ },
1172
+ undefined,
1173
+ ]
1174
+ }
1175
+ />
1176
+ </View>
757
1177
  `;
758
1178
 
759
1179
  exports[`StyledSpinnerDot renders correctly when position is topLeft, size is small, intent is primary 1`] = `
760
1180
  <View
761
1181
  style={
762
- [
763
- {
764
- "backgroundColor": "#401960",
765
- "borderRadius": 999,
766
- "height": 8,
767
- "opacity": 0.9,
768
- "width": 8,
769
- },
770
- undefined,
771
- ]
1182
+ {
1183
+ "flex": 1,
1184
+ }
772
1185
  }
773
- themeIntent="primary"
774
- themePosition="topLeft"
775
- themeSize="small"
776
- />
1186
+ >
1187
+ <View
1188
+ style={
1189
+ [
1190
+ {
1191
+ "backgroundColor": "#401960",
1192
+ "borderRadius": 999,
1193
+ "height": 8,
1194
+ "opacity": 0.9,
1195
+ "width": 8,
1196
+ },
1197
+ undefined,
1198
+ ]
1199
+ }
1200
+ themeIntent="primary"
1201
+ themePosition="topLeft"
1202
+ themeSize="small"
1203
+ />
1204
+ <View
1205
+ pointerEvents="box-none"
1206
+ position="bottom"
1207
+ style={
1208
+ [
1209
+ {
1210
+ "bottom": 0,
1211
+ "elevation": 9999,
1212
+ "flexDirection": "column-reverse",
1213
+ "left": 0,
1214
+ "paddingHorizontal": 24,
1215
+ "paddingVertical": 16,
1216
+ "position": "absolute",
1217
+ "right": 0,
1218
+ "top": 0,
1219
+ },
1220
+ undefined,
1221
+ ]
1222
+ }
1223
+ />
1224
+ </View>
777
1225
  `;
778
1226
 
779
1227
  exports[`StyledSpinnerDot renders correctly when position is topRight, size is medium, intent is inverted 1`] = `
780
1228
  <View
781
1229
  style={
782
- [
783
- {
784
- "backgroundColor": "#ffffff",
785
- "borderRadius": 999,
786
- "height": 16,
787
- "marginLeft": 8,
788
- "opacity": 0.675,
789
- "width": 16,
790
- },
791
- undefined,
792
- ]
1230
+ {
1231
+ "flex": 1,
1232
+ }
793
1233
  }
794
- themeIntent="inverted"
795
- themePosition="topRight"
796
- themeSize="medium"
797
- />
1234
+ >
1235
+ <View
1236
+ style={
1237
+ [
1238
+ {
1239
+ "backgroundColor": "#ffffff",
1240
+ "borderRadius": 999,
1241
+ "height": 16,
1242
+ "marginLeft": 8,
1243
+ "opacity": 0.675,
1244
+ "width": 16,
1245
+ },
1246
+ undefined,
1247
+ ]
1248
+ }
1249
+ themeIntent="inverted"
1250
+ themePosition="topRight"
1251
+ themeSize="medium"
1252
+ />
1253
+ <View
1254
+ pointerEvents="box-none"
1255
+ position="bottom"
1256
+ style={
1257
+ [
1258
+ {
1259
+ "bottom": 0,
1260
+ "elevation": 9999,
1261
+ "flexDirection": "column-reverse",
1262
+ "left": 0,
1263
+ "paddingHorizontal": 24,
1264
+ "paddingVertical": 16,
1265
+ "position": "absolute",
1266
+ "right": 0,
1267
+ "top": 0,
1268
+ },
1269
+ undefined,
1270
+ ]
1271
+ }
1272
+ />
1273
+ </View>
798
1274
  `;
799
1275
 
800
1276
  exports[`StyledSpinnerDot renders correctly when position is topRight, size is medium, intent is primary 1`] = `
801
1277
  <View
802
1278
  style={
803
- [
804
- {
805
- "backgroundColor": "#401960",
806
- "borderRadius": 999,
807
- "height": 16,
808
- "marginLeft": 8,
809
- "opacity": 0.675,
810
- "width": 16,
811
- },
812
- undefined,
813
- ]
1279
+ {
1280
+ "flex": 1,
1281
+ }
814
1282
  }
815
- themeIntent="primary"
816
- themePosition="topRight"
817
- themeSize="medium"
818
- />
1283
+ >
1284
+ <View
1285
+ style={
1286
+ [
1287
+ {
1288
+ "backgroundColor": "#401960",
1289
+ "borderRadius": 999,
1290
+ "height": 16,
1291
+ "marginLeft": 8,
1292
+ "opacity": 0.675,
1293
+ "width": 16,
1294
+ },
1295
+ undefined,
1296
+ ]
1297
+ }
1298
+ themeIntent="primary"
1299
+ themePosition="topRight"
1300
+ themeSize="medium"
1301
+ />
1302
+ <View
1303
+ pointerEvents="box-none"
1304
+ position="bottom"
1305
+ style={
1306
+ [
1307
+ {
1308
+ "bottom": 0,
1309
+ "elevation": 9999,
1310
+ "flexDirection": "column-reverse",
1311
+ "left": 0,
1312
+ "paddingHorizontal": 24,
1313
+ "paddingVertical": 16,
1314
+ "position": "absolute",
1315
+ "right": 0,
1316
+ "top": 0,
1317
+ },
1318
+ undefined,
1319
+ ]
1320
+ }
1321
+ />
1322
+ </View>
819
1323
  `;
820
1324
 
821
1325
  exports[`StyledSpinnerDot renders correctly when position is topRight, size is small, intent is inverted 1`] = `
822
1326
  <View
823
1327
  style={
824
- [
825
- {
826
- "backgroundColor": "#ffffff",
827
- "borderRadius": 999,
828
- "height": 8,
829
- "marginLeft": 4,
830
- "opacity": 0.675,
831
- "width": 8,
832
- },
833
- undefined,
834
- ]
1328
+ {
1329
+ "flex": 1,
1330
+ }
835
1331
  }
836
- themeIntent="inverted"
837
- themePosition="topRight"
838
- themeSize="small"
839
- />
1332
+ >
1333
+ <View
1334
+ style={
1335
+ [
1336
+ {
1337
+ "backgroundColor": "#ffffff",
1338
+ "borderRadius": 999,
1339
+ "height": 8,
1340
+ "marginLeft": 4,
1341
+ "opacity": 0.675,
1342
+ "width": 8,
1343
+ },
1344
+ undefined,
1345
+ ]
1346
+ }
1347
+ themeIntent="inverted"
1348
+ themePosition="topRight"
1349
+ themeSize="small"
1350
+ />
1351
+ <View
1352
+ pointerEvents="box-none"
1353
+ position="bottom"
1354
+ style={
1355
+ [
1356
+ {
1357
+ "bottom": 0,
1358
+ "elevation": 9999,
1359
+ "flexDirection": "column-reverse",
1360
+ "left": 0,
1361
+ "paddingHorizontal": 24,
1362
+ "paddingVertical": 16,
1363
+ "position": "absolute",
1364
+ "right": 0,
1365
+ "top": 0,
1366
+ },
1367
+ undefined,
1368
+ ]
1369
+ }
1370
+ />
1371
+ </View>
840
1372
  `;
841
1373
 
842
1374
  exports[`StyledSpinnerDot renders correctly when position is topRight, size is small, intent is primary 1`] = `
843
1375
  <View
844
1376
  style={
845
- [
846
- {
847
- "backgroundColor": "#401960",
848
- "borderRadius": 999,
849
- "height": 8,
850
- "marginLeft": 4,
851
- "opacity": 0.675,
852
- "width": 8,
853
- },
854
- undefined,
855
- ]
1377
+ {
1378
+ "flex": 1,
1379
+ }
856
1380
  }
857
- themeIntent="primary"
858
- themePosition="topRight"
859
- themeSize="small"
860
- />
1381
+ >
1382
+ <View
1383
+ style={
1384
+ [
1385
+ {
1386
+ "backgroundColor": "#401960",
1387
+ "borderRadius": 999,
1388
+ "height": 8,
1389
+ "marginLeft": 4,
1390
+ "opacity": 0.675,
1391
+ "width": 8,
1392
+ },
1393
+ undefined,
1394
+ ]
1395
+ }
1396
+ themeIntent="primary"
1397
+ themePosition="topRight"
1398
+ themeSize="small"
1399
+ />
1400
+ <View
1401
+ pointerEvents="box-none"
1402
+ position="bottom"
1403
+ style={
1404
+ [
1405
+ {
1406
+ "bottom": 0,
1407
+ "elevation": 9999,
1408
+ "flexDirection": "column-reverse",
1409
+ "left": 0,
1410
+ "paddingHorizontal": 24,
1411
+ "paddingVertical": 16,
1412
+ "position": "absolute",
1413
+ "right": 0,
1414
+ "top": 0,
1415
+ },
1416
+ undefined,
1417
+ ]
1418
+ }
1419
+ />
1420
+ </View>
861
1421
  `;
862
1422
 
863
1423
  exports[`StyledSpinnerRow renders correctly when position is bottom, and size is medium 1`] = `
864
1424
  <View
865
1425
  style={
866
- [
867
- {
868
- "flexDirection": "row",
869
- "marginBottom": 0,
870
- },
871
- undefined,
872
- ]
1426
+ {
1427
+ "flex": 1,
1428
+ }
873
1429
  }
874
- themePosition="bottom"
875
- themeSize="medium"
876
- />
1430
+ >
1431
+ <View
1432
+ style={
1433
+ [
1434
+ {
1435
+ "flexDirection": "row",
1436
+ "marginBottom": 0,
1437
+ },
1438
+ undefined,
1439
+ ]
1440
+ }
1441
+ themePosition="bottom"
1442
+ themeSize="medium"
1443
+ />
1444
+ <View
1445
+ pointerEvents="box-none"
1446
+ position="bottom"
1447
+ style={
1448
+ [
1449
+ {
1450
+ "bottom": 0,
1451
+ "elevation": 9999,
1452
+ "flexDirection": "column-reverse",
1453
+ "left": 0,
1454
+ "paddingHorizontal": 24,
1455
+ "paddingVertical": 16,
1456
+ "position": "absolute",
1457
+ "right": 0,
1458
+ "top": 0,
1459
+ },
1460
+ undefined,
1461
+ ]
1462
+ }
1463
+ />
1464
+ </View>
877
1465
  `;
878
1466
 
879
1467
  exports[`StyledSpinnerRow renders correctly when position is bottom, and size is small 1`] = `
880
1468
  <View
881
1469
  style={
882
- [
883
- {
884
- "flexDirection": "row",
885
- "marginBottom": 0,
886
- },
887
- undefined,
888
- ]
1470
+ {
1471
+ "flex": 1,
1472
+ }
889
1473
  }
890
- themePosition="bottom"
891
- themeSize="small"
892
- />
1474
+ >
1475
+ <View
1476
+ style={
1477
+ [
1478
+ {
1479
+ "flexDirection": "row",
1480
+ "marginBottom": 0,
1481
+ },
1482
+ undefined,
1483
+ ]
1484
+ }
1485
+ themePosition="bottom"
1486
+ themeSize="small"
1487
+ />
1488
+ <View
1489
+ pointerEvents="box-none"
1490
+ position="bottom"
1491
+ style={
1492
+ [
1493
+ {
1494
+ "bottom": 0,
1495
+ "elevation": 9999,
1496
+ "flexDirection": "column-reverse",
1497
+ "left": 0,
1498
+ "paddingHorizontal": 24,
1499
+ "paddingVertical": 16,
1500
+ "position": "absolute",
1501
+ "right": 0,
1502
+ "top": 0,
1503
+ },
1504
+ undefined,
1505
+ ]
1506
+ }
1507
+ />
1508
+ </View>
893
1509
  `;
894
1510
 
895
1511
  exports[`StyledSpinnerRow renders correctly when position is top, and size is medium 1`] = `
896
1512
  <View
897
1513
  style={
898
- [
899
- {
900
- "flexDirection": "row",
901
- "marginBottom": 8,
902
- },
903
- undefined,
904
- ]
1514
+ {
1515
+ "flex": 1,
1516
+ }
905
1517
  }
906
- themePosition="top"
907
- themeSize="medium"
908
- />
1518
+ >
1519
+ <View
1520
+ style={
1521
+ [
1522
+ {
1523
+ "flexDirection": "row",
1524
+ "marginBottom": 8,
1525
+ },
1526
+ undefined,
1527
+ ]
1528
+ }
1529
+ themePosition="top"
1530
+ themeSize="medium"
1531
+ />
1532
+ <View
1533
+ pointerEvents="box-none"
1534
+ position="bottom"
1535
+ style={
1536
+ [
1537
+ {
1538
+ "bottom": 0,
1539
+ "elevation": 9999,
1540
+ "flexDirection": "column-reverse",
1541
+ "left": 0,
1542
+ "paddingHorizontal": 24,
1543
+ "paddingVertical": 16,
1544
+ "position": "absolute",
1545
+ "right": 0,
1546
+ "top": 0,
1547
+ },
1548
+ undefined,
1549
+ ]
1550
+ }
1551
+ />
1552
+ </View>
909
1553
  `;
910
1554
 
911
1555
  exports[`StyledSpinnerRow renders correctly when position is top, and size is small 1`] = `
912
1556
  <View
913
1557
  style={
914
- [
915
- {
916
- "flexDirection": "row",
917
- "marginBottom": 4,
918
- },
919
- undefined,
920
- ]
1558
+ {
1559
+ "flex": 1,
1560
+ }
921
1561
  }
922
- themePosition="top"
923
- themeSize="small"
924
- />
1562
+ >
1563
+ <View
1564
+ style={
1565
+ [
1566
+ {
1567
+ "flexDirection": "row",
1568
+ "marginBottom": 4,
1569
+ },
1570
+ undefined,
1571
+ ]
1572
+ }
1573
+ themePosition="top"
1574
+ themeSize="small"
1575
+ />
1576
+ <View
1577
+ pointerEvents="box-none"
1578
+ position="bottom"
1579
+ style={
1580
+ [
1581
+ {
1582
+ "bottom": 0,
1583
+ "elevation": 9999,
1584
+ "flexDirection": "column-reverse",
1585
+ "left": 0,
1586
+ "paddingHorizontal": 24,
1587
+ "paddingVertical": 16,
1588
+ "position": "absolute",
1589
+ "right": 0,
1590
+ "top": 0,
1591
+ },
1592
+ undefined,
1593
+ ]
1594
+ }
1595
+ />
1596
+ </View>
925
1597
  `;