@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
@@ -2,143 +2,202 @@
2
2
 
3
3
  exports[`Chip does not render icon when variant is outlined 1`] = `
4
4
  <View
5
- accessibilityState={
6
- {
7
- "busy": undefined,
8
- "checked": undefined,
9
- "disabled": undefined,
10
- "expanded": undefined,
11
- "selected": undefined,
12
- }
13
- }
14
- accessibilityValue={
15
- {
16
- "max": undefined,
17
- "min": undefined,
18
- "now": undefined,
19
- "text": undefined,
20
- }
21
- }
22
- accessible={true}
23
- collapsable={false}
24
- focusable={true}
25
- onClick={[Function]}
26
- onResponderGrant={[Function]}
27
- onResponderMove={[Function]}
28
- onResponderRelease={[Function]}
29
- onResponderTerminate={[Function]}
30
- onResponderTerminationRequest={[Function]}
31
- onStartShouldSetResponder={[Function]}
32
5
  style={
33
6
  {
34
- "alignItems": "center",
35
- "alignSelf": "flex-start",
36
- "backgroundColor": "transparent",
37
- "borderColor": "#001f23",
38
- "borderRadius": 999,
39
- "borderWidth": 1,
40
- "flexDirection": "row",
41
- "justifyContent": "center",
42
- "opacity": 1,
43
- "paddingHorizontal": 12,
44
- "paddingVertical": 8,
7
+ "flex": 1,
45
8
  }
46
9
  }
47
- testID="chip"
48
10
  >
49
- <Text
50
- allowFontScaling={false}
11
+ <View
12
+ accessibilityState={
13
+ {
14
+ "busy": undefined,
15
+ "checked": undefined,
16
+ "disabled": undefined,
17
+ "expanded": undefined,
18
+ "selected": undefined,
19
+ }
20
+ }
21
+ accessibilityValue={
22
+ {
23
+ "max": undefined,
24
+ "min": undefined,
25
+ "now": undefined,
26
+ "text": undefined,
27
+ }
28
+ }
29
+ accessible={true}
30
+ collapsable={false}
31
+ focusable={true}
32
+ onClick={[Function]}
33
+ onResponderGrant={[Function]}
34
+ onResponderMove={[Function]}
35
+ onResponderRelease={[Function]}
36
+ onResponderTerminate={[Function]}
37
+ onResponderTerminationRequest={[Function]}
38
+ onStartShouldSetResponder={[Function]}
39
+ style={
40
+ {
41
+ "alignItems": "center",
42
+ "alignSelf": "flex-start",
43
+ "backgroundColor": "transparent",
44
+ "borderColor": "#001f23",
45
+ "borderRadius": 999,
46
+ "borderWidth": 1,
47
+ "flexDirection": "row",
48
+ "justifyContent": "center",
49
+ "opacity": 1,
50
+ "paddingHorizontal": 12,
51
+ "paddingVertical": 8,
52
+ }
53
+ }
54
+ testID="chip"
55
+ >
56
+ <Text
57
+ allowFontScaling={false}
58
+ style={
59
+ [
60
+ {
61
+ "color": "#001f23",
62
+ "fontFamily": "BeVietnamPro-Regular",
63
+ "fontSize": 14,
64
+ "letterSpacing": 0.48,
65
+ "lineHeight": 22,
66
+ },
67
+ [
68
+ {},
69
+ undefined,
70
+ ],
71
+ ]
72
+ }
73
+ themeIntent="body"
74
+ themeSelected={false}
75
+ themeTypeface="neutral"
76
+ themeVariant="small"
77
+ >
78
+ Cover my bills
79
+ </Text>
80
+ </View>
81
+ <View
82
+ pointerEvents="box-none"
83
+ position="bottom"
51
84
  style={
52
85
  [
53
86
  {
54
- "color": "#001f23",
55
- "fontFamily": "BeVietnamPro-Regular",
56
- "fontSize": 14,
57
- "letterSpacing": 0.48,
58
- "lineHeight": 22,
87
+ "bottom": 0,
88
+ "elevation": 9999,
89
+ "flexDirection": "column-reverse",
90
+ "left": 0,
91
+ "paddingHorizontal": 24,
92
+ "paddingVertical": 16,
93
+ "position": "absolute",
94
+ "right": 0,
95
+ "top": 0,
59
96
  },
60
- [
61
- {},
62
- undefined,
63
- ],
97
+ undefined,
64
98
  ]
65
99
  }
66
- themeIntent="body"
67
- themeSelected={false}
68
- themeTypeface="neutral"
69
- themeVariant="small"
70
- >
71
- Cover my bills
72
- </Text>
100
+ />
73
101
  </View>
74
102
  `;
75
103
 
76
104
  exports[`Chip does not render icon when variant is outlined 2`] = `
77
105
  <View
78
- accessibilityState={
79
- {
80
- "busy": undefined,
81
- "checked": undefined,
82
- "disabled": undefined,
83
- "expanded": undefined,
84
- "selected": undefined,
85
- }
86
- }
87
- accessibilityValue={
88
- {
89
- "max": undefined,
90
- "min": undefined,
91
- "now": undefined,
92
- "text": undefined,
93
- }
94
- }
95
- accessible={true}
96
- collapsable={false}
97
- focusable={true}
98
- onClick={[Function]}
99
- onResponderGrant={[Function]}
100
- onResponderMove={[Function]}
101
- onResponderRelease={[Function]}
102
- onResponderTerminate={[Function]}
103
- onResponderTerminationRequest={[Function]}
104
- onStartShouldSetResponder={[Function]}
105
106
  style={
106
107
  {
107
- "alignItems": "center",
108
- "alignSelf": "flex-start",
109
- "backgroundColor": "#001f23",
110
- "borderColor": "transparent",
111
- "borderRadius": 999,
112
- "borderWidth": 1,
113
- "flexDirection": "row",
114
- "justifyContent": "center",
115
- "opacity": 1,
116
- "paddingHorizontal": 12,
117
- "paddingVertical": 8,
108
+ "flex": 1,
118
109
  }
119
110
  }
120
- testID="chip"
121
111
  >
122
112
  <View
113
+ accessibilityState={
114
+ {
115
+ "busy": undefined,
116
+ "checked": undefined,
117
+ "disabled": undefined,
118
+ "expanded": undefined,
119
+ "selected": undefined,
120
+ }
121
+ }
122
+ accessibilityValue={
123
+ {
124
+ "max": undefined,
125
+ "min": undefined,
126
+ "now": undefined,
127
+ "text": undefined,
128
+ }
129
+ }
130
+ accessible={true}
131
+ collapsable={false}
132
+ focusable={true}
133
+ onClick={[Function]}
134
+ onResponderGrant={[Function]}
135
+ onResponderMove={[Function]}
136
+ onResponderRelease={[Function]}
137
+ onResponderTerminate={[Function]}
138
+ onResponderTerminationRequest={[Function]}
139
+ onStartShouldSetResponder={[Function]}
123
140
  style={
124
- [
125
- {},
126
- [
127
- {
128
- "marginRight": 8,
129
- },
130
- undefined,
131
- ],
132
- ]
141
+ {
142
+ "alignItems": "center",
143
+ "alignSelf": "flex-start",
144
+ "backgroundColor": "#001f23",
145
+ "borderColor": "transparent",
146
+ "borderRadius": 999,
147
+ "borderWidth": 1,
148
+ "flexDirection": "row",
149
+ "justifyContent": "center",
150
+ "opacity": 1,
151
+ "paddingHorizontal": 12,
152
+ "paddingVertical": 8,
153
+ }
133
154
  }
155
+ testID="chip"
134
156
  >
135
- <HeroIcon
136
- name="checkmark"
157
+ <View
158
+ style={
159
+ [
160
+ {},
161
+ [
162
+ {
163
+ "marginRight": 8,
164
+ },
165
+ undefined,
166
+ ],
167
+ ]
168
+ }
169
+ >
170
+ <HeroIcon
171
+ name="checkmark"
172
+ style={
173
+ [
174
+ {
175
+ "color": "#001f23",
176
+ "fontSize": 16,
177
+ },
178
+ [
179
+ {
180
+ "color": "#ffffff",
181
+ },
182
+ undefined,
183
+ ],
184
+ ]
185
+ }
186
+ testID="chip-icon-checkmark"
187
+ themeIntent="text"
188
+ themeSize="xsmall"
189
+ />
190
+ </View>
191
+ <Text
192
+ allowFontScaling={false}
137
193
  style={
138
194
  [
139
195
  {
140
196
  "color": "#001f23",
141
- "fontSize": 16,
197
+ "fontFamily": "BeVietnamPro-Regular",
198
+ "fontSize": 14,
199
+ "letterSpacing": 0.48,
200
+ "lineHeight": 22,
142
201
  },
143
202
  [
144
203
  {
@@ -148,177 +207,233 @@ exports[`Chip does not render icon when variant is outlined 2`] = `
148
207
  ],
149
208
  ]
150
209
  }
151
- testID="chip-icon-checkmark"
152
- themeIntent="text"
153
- themeSize="xsmall"
154
- />
210
+ themeIntent="body"
211
+ themeSelected={true}
212
+ themeTypeface="neutral"
213
+ themeVariant="small"
214
+ >
215
+ Cover my bills
216
+ </Text>
155
217
  </View>
156
- <Text
157
- allowFontScaling={false}
218
+ <View
219
+ pointerEvents="box-none"
220
+ position="bottom"
158
221
  style={
159
222
  [
160
223
  {
161
- "color": "#001f23",
162
- "fontFamily": "BeVietnamPro-Regular",
163
- "fontSize": 14,
164
- "letterSpacing": 0.48,
165
- "lineHeight": 22,
224
+ "bottom": 0,
225
+ "elevation": 9999,
226
+ "flexDirection": "column-reverse",
227
+ "left": 0,
228
+ "paddingHorizontal": 24,
229
+ "paddingVertical": 16,
230
+ "position": "absolute",
231
+ "right": 0,
232
+ "top": 0,
166
233
  },
167
- [
168
- {
169
- "color": "#ffffff",
170
- },
171
- undefined,
172
- ],
234
+ undefined,
173
235
  ]
174
236
  }
175
- themeIntent="body"
176
- themeSelected={true}
177
- themeTypeface="neutral"
178
- themeVariant="small"
179
- >
180
- Cover my bills
181
- </Text>
237
+ />
182
238
  </View>
183
239
  `;
184
240
 
185
241
  exports[`Chip renders correctly when selected is false 1`] = `
186
242
  <View
187
- accessibilityState={
188
- {
189
- "busy": undefined,
190
- "checked": undefined,
191
- "disabled": undefined,
192
- "expanded": undefined,
193
- "selected": undefined,
194
- }
195
- }
196
- accessibilityValue={
197
- {
198
- "max": undefined,
199
- "min": undefined,
200
- "now": undefined,
201
- "text": undefined,
202
- }
203
- }
204
- accessible={true}
205
- collapsable={false}
206
- focusable={false}
207
- onClick={[Function]}
208
- onResponderGrant={[Function]}
209
- onResponderMove={[Function]}
210
- onResponderRelease={[Function]}
211
- onResponderTerminate={[Function]}
212
- onResponderTerminationRequest={[Function]}
213
- onStartShouldSetResponder={[Function]}
214
243
  style={
215
244
  {
216
- "alignItems": "center",
217
- "alignSelf": "flex-start",
218
- "backgroundColor": "transparent",
219
- "borderColor": "#001f23",
220
- "borderRadius": 999,
221
- "borderWidth": 1,
222
- "flexDirection": "row",
223
- "justifyContent": "center",
224
- "opacity": 1,
225
- "paddingHorizontal": 12,
226
- "paddingVertical": 8,
245
+ "flex": 1,
227
246
  }
228
247
  }
229
248
  >
230
- <Text
231
- allowFontScaling={false}
249
+ <View
250
+ accessibilityState={
251
+ {
252
+ "busy": undefined,
253
+ "checked": undefined,
254
+ "disabled": undefined,
255
+ "expanded": undefined,
256
+ "selected": undefined,
257
+ }
258
+ }
259
+ accessibilityValue={
260
+ {
261
+ "max": undefined,
262
+ "min": undefined,
263
+ "now": undefined,
264
+ "text": undefined,
265
+ }
266
+ }
267
+ accessible={true}
268
+ collapsable={false}
269
+ focusable={false}
270
+ onClick={[Function]}
271
+ onResponderGrant={[Function]}
272
+ onResponderMove={[Function]}
273
+ onResponderRelease={[Function]}
274
+ onResponderTerminate={[Function]}
275
+ onResponderTerminationRequest={[Function]}
276
+ onStartShouldSetResponder={[Function]}
277
+ style={
278
+ {
279
+ "alignItems": "center",
280
+ "alignSelf": "flex-start",
281
+ "backgroundColor": "transparent",
282
+ "borderColor": "#001f23",
283
+ "borderRadius": 999,
284
+ "borderWidth": 1,
285
+ "flexDirection": "row",
286
+ "justifyContent": "center",
287
+ "opacity": 1,
288
+ "paddingHorizontal": 12,
289
+ "paddingVertical": 8,
290
+ }
291
+ }
292
+ >
293
+ <Text
294
+ allowFontScaling={false}
295
+ style={
296
+ [
297
+ {
298
+ "color": "#001f23",
299
+ "fontFamily": "BeVietnamPro-Regular",
300
+ "fontSize": 14,
301
+ "letterSpacing": 0.48,
302
+ "lineHeight": 22,
303
+ },
304
+ [
305
+ {},
306
+ undefined,
307
+ ],
308
+ ]
309
+ }
310
+ themeIntent="body"
311
+ themeSelected={false}
312
+ themeTypeface="neutral"
313
+ themeVariant="small"
314
+ >
315
+ Cover my bills
316
+ </Text>
317
+ </View>
318
+ <View
319
+ pointerEvents="box-none"
320
+ position="bottom"
232
321
  style={
233
322
  [
234
323
  {
235
- "color": "#001f23",
236
- "fontFamily": "BeVietnamPro-Regular",
237
- "fontSize": 14,
238
- "letterSpacing": 0.48,
239
- "lineHeight": 22,
324
+ "bottom": 0,
325
+ "elevation": 9999,
326
+ "flexDirection": "column-reverse",
327
+ "left": 0,
328
+ "paddingHorizontal": 24,
329
+ "paddingVertical": 16,
330
+ "position": "absolute",
331
+ "right": 0,
332
+ "top": 0,
240
333
  },
241
- [
242
- {},
243
- undefined,
244
- ],
334
+ undefined,
245
335
  ]
246
336
  }
247
- themeIntent="body"
248
- themeSelected={false}
249
- themeTypeface="neutral"
250
- themeVariant="small"
251
- >
252
- Cover my bills
253
- </Text>
337
+ />
254
338
  </View>
255
339
  `;
256
340
 
257
341
  exports[`Chip renders correctly when selected is true 1`] = `
258
342
  <View
259
- accessibilityState={
260
- {
261
- "busy": undefined,
262
- "checked": undefined,
263
- "disabled": undefined,
264
- "expanded": undefined,
265
- "selected": undefined,
266
- }
267
- }
268
- accessibilityValue={
269
- {
270
- "max": undefined,
271
- "min": undefined,
272
- "now": undefined,
273
- "text": undefined,
274
- }
275
- }
276
- accessible={true}
277
- collapsable={false}
278
- focusable={false}
279
- onClick={[Function]}
280
- onResponderGrant={[Function]}
281
- onResponderMove={[Function]}
282
- onResponderRelease={[Function]}
283
- onResponderTerminate={[Function]}
284
- onResponderTerminationRequest={[Function]}
285
- onStartShouldSetResponder={[Function]}
286
343
  style={
287
344
  {
288
- "alignItems": "center",
289
- "alignSelf": "flex-start",
290
- "backgroundColor": "#001f23",
291
- "borderColor": "transparent",
292
- "borderRadius": 999,
293
- "borderWidth": 1,
294
- "flexDirection": "row",
295
- "justifyContent": "center",
296
- "opacity": 1,
297
- "paddingHorizontal": 12,
298
- "paddingVertical": 8,
345
+ "flex": 1,
299
346
  }
300
347
  }
301
348
  >
302
349
  <View
350
+ accessibilityState={
351
+ {
352
+ "busy": undefined,
353
+ "checked": undefined,
354
+ "disabled": undefined,
355
+ "expanded": undefined,
356
+ "selected": undefined,
357
+ }
358
+ }
359
+ accessibilityValue={
360
+ {
361
+ "max": undefined,
362
+ "min": undefined,
363
+ "now": undefined,
364
+ "text": undefined,
365
+ }
366
+ }
367
+ accessible={true}
368
+ collapsable={false}
369
+ focusable={false}
370
+ onClick={[Function]}
371
+ onResponderGrant={[Function]}
372
+ onResponderMove={[Function]}
373
+ onResponderRelease={[Function]}
374
+ onResponderTerminate={[Function]}
375
+ onResponderTerminationRequest={[Function]}
376
+ onStartShouldSetResponder={[Function]}
303
377
  style={
304
- [
305
- {},
306
- [
307
- {
308
- "marginRight": 8,
309
- },
310
- undefined,
311
- ],
312
- ]
378
+ {
379
+ "alignItems": "center",
380
+ "alignSelf": "flex-start",
381
+ "backgroundColor": "#001f23",
382
+ "borderColor": "transparent",
383
+ "borderRadius": 999,
384
+ "borderWidth": 1,
385
+ "flexDirection": "row",
386
+ "justifyContent": "center",
387
+ "opacity": 1,
388
+ "paddingHorizontal": 12,
389
+ "paddingVertical": 8,
390
+ }
313
391
  }
314
392
  >
315
- <HeroIcon
316
- name="checkmark"
393
+ <View
394
+ style={
395
+ [
396
+ {},
397
+ [
398
+ {
399
+ "marginRight": 8,
400
+ },
401
+ undefined,
402
+ ],
403
+ ]
404
+ }
405
+ >
406
+ <HeroIcon
407
+ name="checkmark"
408
+ style={
409
+ [
410
+ {
411
+ "color": "#001f23",
412
+ "fontSize": 16,
413
+ },
414
+ [
415
+ {
416
+ "color": "#ffffff",
417
+ },
418
+ undefined,
419
+ ],
420
+ ]
421
+ }
422
+ testID="chip-icon-checkmark"
423
+ themeIntent="text"
424
+ themeSize="xsmall"
425
+ />
426
+ </View>
427
+ <Text
428
+ allowFontScaling={false}
317
429
  style={
318
430
  [
319
431
  {
320
432
  "color": "#001f23",
321
- "fontSize": 16,
433
+ "fontFamily": "BeVietnamPro-Regular",
434
+ "fontSize": 14,
435
+ "letterSpacing": 0.48,
436
+ "lineHeight": 22,
322
437
  },
323
438
  [
324
439
  {
@@ -328,114 +443,140 @@ exports[`Chip renders correctly when selected is true 1`] = `
328
443
  ],
329
444
  ]
330
445
  }
331
- testID="chip-icon-checkmark"
332
- themeIntent="text"
333
- themeSize="xsmall"
334
- />
446
+ themeIntent="body"
447
+ themeSelected={true}
448
+ themeTypeface="neutral"
449
+ themeVariant="small"
450
+ >
451
+ Cover my bills
452
+ </Text>
335
453
  </View>
336
- <Text
337
- allowFontScaling={false}
454
+ <View
455
+ pointerEvents="box-none"
456
+ position="bottom"
338
457
  style={
339
458
  [
340
459
  {
341
- "color": "#001f23",
342
- "fontFamily": "BeVietnamPro-Regular",
343
- "fontSize": 14,
344
- "letterSpacing": 0.48,
345
- "lineHeight": 22,
460
+ "bottom": 0,
461
+ "elevation": 9999,
462
+ "flexDirection": "column-reverse",
463
+ "left": 0,
464
+ "paddingHorizontal": 24,
465
+ "paddingVertical": 16,
466
+ "position": "absolute",
467
+ "right": 0,
468
+ "top": 0,
346
469
  },
347
- [
348
- {
349
- "color": "#ffffff",
350
- },
351
- undefined,
352
- ],
470
+ undefined,
353
471
  ]
354
472
  }
355
- themeIntent="body"
356
- themeSelected={true}
357
- themeTypeface="neutral"
358
- themeVariant="small"
359
- >
360
- Cover my bills
361
- </Text>
473
+ />
362
474
  </View>
363
475
  `;
364
476
 
365
477
  exports[`Chip renders correctly with custom icon 1`] = `
366
478
  <View
367
- accessibilityState={
368
- {
369
- "busy": undefined,
370
- "checked": undefined,
371
- "disabled": undefined,
372
- "expanded": undefined,
373
- "selected": undefined,
374
- }
375
- }
376
- accessibilityValue={
377
- {
378
- "max": undefined,
379
- "min": undefined,
380
- "now": undefined,
381
- "text": undefined,
382
- }
383
- }
384
- accessible={true}
385
- collapsable={false}
386
- focusable={true}
387
- onClick={[Function]}
388
- onResponderGrant={[Function]}
389
- onResponderMove={[Function]}
390
- onResponderRelease={[Function]}
391
- onResponderTerminate={[Function]}
392
- onResponderTerminationRequest={[Function]}
393
- onStartShouldSetResponder={[Function]}
394
479
  style={
395
480
  {
396
- "alignItems": "center",
397
- "alignSelf": "flex-start",
398
- "backgroundColor": "#ffffff",
399
- "borderColor": "transparent",
400
- "borderRadius": 999,
401
- "borderWidth": 1,
402
- "elevation": 3,
403
- "flexDirection": "row",
404
- "justifyContent": "center",
405
- "opacity": 1,
406
- "paddingHorizontal": 12,
407
- "paddingVertical": 8,
408
- "shadowColor": "#001f23",
409
- "shadowOffset": {
410
- "height": 2,
411
- "width": 0,
412
- },
413
- "shadowOpacity": 0.12,
414
- "shadowRadius": 4,
481
+ "flex": 1,
415
482
  }
416
483
  }
417
- testID="chip"
418
484
  >
419
485
  <View
486
+ accessibilityState={
487
+ {
488
+ "busy": undefined,
489
+ "checked": undefined,
490
+ "disabled": undefined,
491
+ "expanded": undefined,
492
+ "selected": undefined,
493
+ }
494
+ }
495
+ accessibilityValue={
496
+ {
497
+ "max": undefined,
498
+ "min": undefined,
499
+ "now": undefined,
500
+ "text": undefined,
501
+ }
502
+ }
503
+ accessible={true}
504
+ collapsable={false}
505
+ focusable={true}
506
+ onClick={[Function]}
507
+ onResponderGrant={[Function]}
508
+ onResponderMove={[Function]}
509
+ onResponderRelease={[Function]}
510
+ onResponderTerminate={[Function]}
511
+ onResponderTerminationRequest={[Function]}
512
+ onStartShouldSetResponder={[Function]}
420
513
  style={
421
- [
422
- {},
423
- [
424
- {
425
- "marginRight": 8,
426
- },
427
- undefined,
428
- ],
429
- ]
514
+ {
515
+ "alignItems": "center",
516
+ "alignSelf": "flex-start",
517
+ "backgroundColor": "#ffffff",
518
+ "borderColor": "transparent",
519
+ "borderRadius": 999,
520
+ "borderWidth": 1,
521
+ "elevation": 3,
522
+ "flexDirection": "row",
523
+ "justifyContent": "center",
524
+ "opacity": 1,
525
+ "paddingHorizontal": 12,
526
+ "paddingVertical": 8,
527
+ "shadowColor": "#001f23",
528
+ "shadowOffset": {
529
+ "height": 2,
530
+ "width": 0,
531
+ },
532
+ "shadowOpacity": 0.12,
533
+ "shadowRadius": 4,
534
+ }
430
535
  }
536
+ testID="chip"
431
537
  >
432
- <HeroIcon
433
- name="charging-station-outlined"
538
+ <View
539
+ style={
540
+ [
541
+ {},
542
+ [
543
+ {
544
+ "marginRight": 8,
545
+ },
546
+ undefined,
547
+ ],
548
+ ]
549
+ }
550
+ >
551
+ <HeroIcon
552
+ name="charging-station-outlined"
553
+ style={
554
+ [
555
+ {
556
+ "color": "#001f23",
557
+ "fontSize": 16,
558
+ },
559
+ [
560
+ {},
561
+ undefined,
562
+ ],
563
+ ]
564
+ }
565
+ testID="chip-icon-charging-station-outlined"
566
+ themeIntent="text"
567
+ themeSize="xsmall"
568
+ />
569
+ </View>
570
+ <Text
571
+ allowFontScaling={false}
434
572
  style={
435
573
  [
436
574
  {
437
575
  "color": "#001f23",
438
- "fontSize": 16,
576
+ "fontFamily": "BeVietnamPro-Regular",
577
+ "fontSize": 14,
578
+ "letterSpacing": 0.48,
579
+ "lineHeight": 22,
439
580
  },
440
581
  [
441
582
  {},
@@ -443,112 +584,140 @@ exports[`Chip renders correctly with custom icon 1`] = `
443
584
  ],
444
585
  ]
445
586
  }
446
- testID="chip-icon-charging-station-outlined"
447
- themeIntent="text"
448
- themeSize="xsmall"
449
- />
587
+ themeIntent="body"
588
+ themeSelected={false}
589
+ themeTypeface="neutral"
590
+ themeVariant="small"
591
+ >
592
+ Cover my bills
593
+ </Text>
450
594
  </View>
451
- <Text
452
- allowFontScaling={false}
595
+ <View
596
+ pointerEvents="box-none"
597
+ position="bottom"
453
598
  style={
454
599
  [
455
600
  {
456
- "color": "#001f23",
457
- "fontFamily": "BeVietnamPro-Regular",
458
- "fontSize": 14,
459
- "letterSpacing": 0.48,
460
- "lineHeight": 22,
601
+ "bottom": 0,
602
+ "elevation": 9999,
603
+ "flexDirection": "column-reverse",
604
+ "left": 0,
605
+ "paddingHorizontal": 24,
606
+ "paddingVertical": 16,
607
+ "position": "absolute",
608
+ "right": 0,
609
+ "top": 0,
461
610
  },
462
- [
463
- {},
464
- undefined,
465
- ],
611
+ undefined,
466
612
  ]
467
613
  }
468
- themeIntent="body"
469
- themeSelected={false}
470
- themeTypeface="neutral"
471
- themeVariant="small"
472
- >
473
- Cover my bills
474
- </Text>
614
+ />
475
615
  </View>
476
616
  `;
477
617
 
478
618
  exports[`Chip renders correctly with custom icon 2`] = `
479
619
  <View
480
- accessibilityState={
481
- {
482
- "busy": undefined,
483
- "checked": undefined,
484
- "disabled": undefined,
485
- "expanded": undefined,
486
- "selected": undefined,
487
- }
488
- }
489
- accessibilityValue={
490
- {
491
- "max": undefined,
492
- "min": undefined,
493
- "now": undefined,
494
- "text": undefined,
495
- }
496
- }
497
- accessible={true}
498
- collapsable={false}
499
- focusable={true}
500
- onClick={[Function]}
501
- onResponderGrant={[Function]}
502
- onResponderMove={[Function]}
503
- onResponderRelease={[Function]}
504
- onResponderTerminate={[Function]}
505
- onResponderTerminationRequest={[Function]}
506
- onStartShouldSetResponder={[Function]}
507
620
  style={
508
621
  {
509
- "alignItems": "center",
510
- "alignSelf": "flex-start",
511
- "backgroundColor": "#ece8ef",
512
- "borderColor": "transparent",
513
- "borderRadius": 999,
514
- "borderWidth": 1,
515
- "elevation": 3,
516
- "flexDirection": "row",
517
- "justifyContent": "center",
518
- "opacity": 1,
519
- "paddingHorizontal": 12,
520
- "paddingVertical": 8,
521
- "shadowColor": "#001f23",
522
- "shadowOffset": {
523
- "height": 2,
524
- "width": 0,
525
- },
526
- "shadowOpacity": 0.12,
527
- "shadowRadius": 4,
622
+ "flex": 1,
528
623
  }
529
624
  }
530
- testID="chip"
531
625
  >
532
626
  <View
627
+ accessibilityState={
628
+ {
629
+ "busy": undefined,
630
+ "checked": undefined,
631
+ "disabled": undefined,
632
+ "expanded": undefined,
633
+ "selected": undefined,
634
+ }
635
+ }
636
+ accessibilityValue={
637
+ {
638
+ "max": undefined,
639
+ "min": undefined,
640
+ "now": undefined,
641
+ "text": undefined,
642
+ }
643
+ }
644
+ accessible={true}
645
+ collapsable={false}
646
+ focusable={true}
647
+ onClick={[Function]}
648
+ onResponderGrant={[Function]}
649
+ onResponderMove={[Function]}
650
+ onResponderRelease={[Function]}
651
+ onResponderTerminate={[Function]}
652
+ onResponderTerminationRequest={[Function]}
653
+ onStartShouldSetResponder={[Function]}
533
654
  style={
534
- [
535
- {},
536
- [
537
- {
538
- "marginRight": 8,
539
- },
540
- undefined,
541
- ],
542
- ]
655
+ {
656
+ "alignItems": "center",
657
+ "alignSelf": "flex-start",
658
+ "backgroundColor": "#ece8ef",
659
+ "borderColor": "transparent",
660
+ "borderRadius": 999,
661
+ "borderWidth": 1,
662
+ "elevation": 3,
663
+ "flexDirection": "row",
664
+ "justifyContent": "center",
665
+ "opacity": 1,
666
+ "paddingHorizontal": 12,
667
+ "paddingVertical": 8,
668
+ "shadowColor": "#001f23",
669
+ "shadowOffset": {
670
+ "height": 2,
671
+ "width": 0,
672
+ },
673
+ "shadowOpacity": 0.12,
674
+ "shadowRadius": 4,
675
+ }
543
676
  }
677
+ testID="chip"
544
678
  >
545
- <HeroIcon
546
- name="charging-station-outlined"
679
+ <View
680
+ style={
681
+ [
682
+ {},
683
+ [
684
+ {
685
+ "marginRight": 8,
686
+ },
687
+ undefined,
688
+ ],
689
+ ]
690
+ }
691
+ >
692
+ <HeroIcon
693
+ name="charging-station-outlined"
694
+ style={
695
+ [
696
+ {
697
+ "color": "#001f23",
698
+ "fontSize": 16,
699
+ },
700
+ [
701
+ {},
702
+ undefined,
703
+ ],
704
+ ]
705
+ }
706
+ testID="chip-icon-charging-station-outlined"
707
+ themeIntent="text"
708
+ themeSize="xsmall"
709
+ />
710
+ </View>
711
+ <Text
712
+ allowFontScaling={false}
547
713
  style={
548
714
  [
549
715
  {
550
716
  "color": "#001f23",
551
- "fontSize": 16,
717
+ "fontFamily": "BeVietnamPro-Regular",
718
+ "fontSize": 14,
719
+ "letterSpacing": 0.48,
720
+ "lineHeight": 22,
552
721
  },
553
722
  [
554
723
  {},
@@ -556,177 +725,235 @@ exports[`Chip renders correctly with custom icon 2`] = `
556
725
  ],
557
726
  ]
558
727
  }
559
- testID="chip-icon-charging-station-outlined"
560
- themeIntent="text"
561
- themeSize="xsmall"
562
- />
728
+ themeIntent="body"
729
+ themeSelected={true}
730
+ themeTypeface="neutral"
731
+ themeVariant="small"
732
+ >
733
+ Cover my bills
734
+ </Text>
563
735
  </View>
564
- <Text
565
- allowFontScaling={false}
736
+ <View
737
+ pointerEvents="box-none"
738
+ position="bottom"
566
739
  style={
567
740
  [
568
741
  {
569
- "color": "#001f23",
570
- "fontFamily": "BeVietnamPro-Regular",
571
- "fontSize": 14,
572
- "letterSpacing": 0.48,
573
- "lineHeight": 22,
742
+ "bottom": 0,
743
+ "elevation": 9999,
744
+ "flexDirection": "column-reverse",
745
+ "left": 0,
746
+ "paddingHorizontal": 24,
747
+ "paddingVertical": 16,
748
+ "position": "absolute",
749
+ "right": 0,
750
+ "top": 0,
574
751
  },
575
- [
576
- {},
577
- undefined,
578
- ],
752
+ undefined,
579
753
  ]
580
754
  }
581
- themeIntent="body"
582
- themeSelected={true}
583
- themeTypeface="neutral"
584
- themeVariant="small"
585
- >
586
- Cover my bills
587
- </Text>
755
+ />
588
756
  </View>
589
757
  `;
590
758
 
591
759
  exports[`Chip renders correctly with default icon 1`] = `
592
760
  <View
593
- accessibilityState={
594
- {
595
- "busy": undefined,
596
- "checked": undefined,
597
- "disabled": undefined,
598
- "expanded": undefined,
599
- "selected": undefined,
600
- }
601
- }
602
- accessibilityValue={
603
- {
604
- "max": undefined,
605
- "min": undefined,
606
- "now": undefined,
607
- "text": undefined,
608
- }
609
- }
610
- accessible={true}
611
- collapsable={false}
612
- focusable={true}
613
- onClick={[Function]}
614
- onResponderGrant={[Function]}
615
- onResponderMove={[Function]}
616
- onResponderRelease={[Function]}
617
- onResponderTerminate={[Function]}
618
- onResponderTerminationRequest={[Function]}
619
- onStartShouldSetResponder={[Function]}
620
761
  style={
621
762
  {
622
- "alignItems": "center",
623
- "alignSelf": "flex-start",
624
- "backgroundColor": "transparent",
625
- "borderColor": "#001f23",
626
- "borderRadius": 999,
627
- "borderWidth": 1,
628
- "flexDirection": "row",
629
- "justifyContent": "center",
630
- "opacity": 1,
631
- "paddingHorizontal": 12,
632
- "paddingVertical": 8,
763
+ "flex": 1,
633
764
  }
634
765
  }
635
- testID="chip"
636
766
  >
637
- <Text
638
- allowFontScaling={false}
767
+ <View
768
+ accessibilityState={
769
+ {
770
+ "busy": undefined,
771
+ "checked": undefined,
772
+ "disabled": undefined,
773
+ "expanded": undefined,
774
+ "selected": undefined,
775
+ }
776
+ }
777
+ accessibilityValue={
778
+ {
779
+ "max": undefined,
780
+ "min": undefined,
781
+ "now": undefined,
782
+ "text": undefined,
783
+ }
784
+ }
785
+ accessible={true}
786
+ collapsable={false}
787
+ focusable={true}
788
+ onClick={[Function]}
789
+ onResponderGrant={[Function]}
790
+ onResponderMove={[Function]}
791
+ onResponderRelease={[Function]}
792
+ onResponderTerminate={[Function]}
793
+ onResponderTerminationRequest={[Function]}
794
+ onStartShouldSetResponder={[Function]}
795
+ style={
796
+ {
797
+ "alignItems": "center",
798
+ "alignSelf": "flex-start",
799
+ "backgroundColor": "transparent",
800
+ "borderColor": "#001f23",
801
+ "borderRadius": 999,
802
+ "borderWidth": 1,
803
+ "flexDirection": "row",
804
+ "justifyContent": "center",
805
+ "opacity": 1,
806
+ "paddingHorizontal": 12,
807
+ "paddingVertical": 8,
808
+ }
809
+ }
810
+ testID="chip"
811
+ >
812
+ <Text
813
+ allowFontScaling={false}
814
+ style={
815
+ [
816
+ {
817
+ "color": "#001f23",
818
+ "fontFamily": "BeVietnamPro-Regular",
819
+ "fontSize": 14,
820
+ "letterSpacing": 0.48,
821
+ "lineHeight": 22,
822
+ },
823
+ [
824
+ {},
825
+ undefined,
826
+ ],
827
+ ]
828
+ }
829
+ themeIntent="body"
830
+ themeSelected={false}
831
+ themeTypeface="neutral"
832
+ themeVariant="small"
833
+ >
834
+ Cover my bills
835
+ </Text>
836
+ </View>
837
+ <View
838
+ pointerEvents="box-none"
839
+ position="bottom"
639
840
  style={
640
841
  [
641
842
  {
642
- "color": "#001f23",
643
- "fontFamily": "BeVietnamPro-Regular",
644
- "fontSize": 14,
645
- "letterSpacing": 0.48,
646
- "lineHeight": 22,
843
+ "bottom": 0,
844
+ "elevation": 9999,
845
+ "flexDirection": "column-reverse",
846
+ "left": 0,
847
+ "paddingHorizontal": 24,
848
+ "paddingVertical": 16,
849
+ "position": "absolute",
850
+ "right": 0,
851
+ "top": 0,
647
852
  },
648
- [
649
- {},
650
- undefined,
651
- ],
853
+ undefined,
652
854
  ]
653
855
  }
654
- themeIntent="body"
655
- themeSelected={false}
656
- themeTypeface="neutral"
657
- themeVariant="small"
658
- >
659
- Cover my bills
660
- </Text>
856
+ />
661
857
  </View>
662
858
  `;
663
859
 
664
860
  exports[`Chip renders correctly with default icon 2`] = `
665
861
  <View
666
- accessibilityState={
667
- {
668
- "busy": undefined,
669
- "checked": undefined,
670
- "disabled": undefined,
671
- "expanded": undefined,
672
- "selected": undefined,
673
- }
674
- }
675
- accessibilityValue={
676
- {
677
- "max": undefined,
678
- "min": undefined,
679
- "now": undefined,
680
- "text": undefined,
681
- }
682
- }
683
- accessible={true}
684
- collapsable={false}
685
- focusable={true}
686
- onClick={[Function]}
687
- onResponderGrant={[Function]}
688
- onResponderMove={[Function]}
689
- onResponderRelease={[Function]}
690
- onResponderTerminate={[Function]}
691
- onResponderTerminationRequest={[Function]}
692
- onStartShouldSetResponder={[Function]}
693
862
  style={
694
863
  {
695
- "alignItems": "center",
696
- "alignSelf": "flex-start",
697
- "backgroundColor": "#001f23",
698
- "borderColor": "transparent",
699
- "borderRadius": 999,
700
- "borderWidth": 1,
701
- "flexDirection": "row",
702
- "justifyContent": "center",
703
- "opacity": 1,
704
- "paddingHorizontal": 12,
705
- "paddingVertical": 8,
864
+ "flex": 1,
706
865
  }
707
866
  }
708
- testID="chip"
709
867
  >
710
868
  <View
869
+ accessibilityState={
870
+ {
871
+ "busy": undefined,
872
+ "checked": undefined,
873
+ "disabled": undefined,
874
+ "expanded": undefined,
875
+ "selected": undefined,
876
+ }
877
+ }
878
+ accessibilityValue={
879
+ {
880
+ "max": undefined,
881
+ "min": undefined,
882
+ "now": undefined,
883
+ "text": undefined,
884
+ }
885
+ }
886
+ accessible={true}
887
+ collapsable={false}
888
+ focusable={true}
889
+ onClick={[Function]}
890
+ onResponderGrant={[Function]}
891
+ onResponderMove={[Function]}
892
+ onResponderRelease={[Function]}
893
+ onResponderTerminate={[Function]}
894
+ onResponderTerminationRequest={[Function]}
895
+ onStartShouldSetResponder={[Function]}
711
896
  style={
712
- [
713
- {},
714
- [
715
- {
716
- "marginRight": 8,
717
- },
718
- undefined,
719
- ],
720
- ]
897
+ {
898
+ "alignItems": "center",
899
+ "alignSelf": "flex-start",
900
+ "backgroundColor": "#001f23",
901
+ "borderColor": "transparent",
902
+ "borderRadius": 999,
903
+ "borderWidth": 1,
904
+ "flexDirection": "row",
905
+ "justifyContent": "center",
906
+ "opacity": 1,
907
+ "paddingHorizontal": 12,
908
+ "paddingVertical": 8,
909
+ }
721
910
  }
911
+ testID="chip"
722
912
  >
723
- <HeroIcon
724
- name="checkmark"
913
+ <View
914
+ style={
915
+ [
916
+ {},
917
+ [
918
+ {
919
+ "marginRight": 8,
920
+ },
921
+ undefined,
922
+ ],
923
+ ]
924
+ }
925
+ >
926
+ <HeroIcon
927
+ name="checkmark"
928
+ style={
929
+ [
930
+ {
931
+ "color": "#001f23",
932
+ "fontSize": 16,
933
+ },
934
+ [
935
+ {
936
+ "color": "#ffffff",
937
+ },
938
+ undefined,
939
+ ],
940
+ ]
941
+ }
942
+ testID="chip-icon-checkmark"
943
+ themeIntent="text"
944
+ themeSize="xsmall"
945
+ />
946
+ </View>
947
+ <Text
948
+ allowFontScaling={false}
725
949
  style={
726
950
  [
727
951
  {
728
952
  "color": "#001f23",
729
- "fontSize": 16,
953
+ "fontFamily": "BeVietnamPro-Regular",
954
+ "fontSize": 14,
955
+ "letterSpacing": 0.48,
956
+ "lineHeight": 22,
730
957
  },
731
958
  [
732
959
  {
@@ -736,195 +963,249 @@ exports[`Chip renders correctly with default icon 2`] = `
736
963
  ],
737
964
  ]
738
965
  }
739
- testID="chip-icon-checkmark"
740
- themeIntent="text"
741
- themeSize="xsmall"
742
- />
966
+ themeIntent="body"
967
+ themeSelected={true}
968
+ themeTypeface="neutral"
969
+ themeVariant="small"
970
+ >
971
+ Cover my bills
972
+ </Text>
743
973
  </View>
744
- <Text
745
- allowFontScaling={false}
974
+ <View
975
+ pointerEvents="box-none"
976
+ position="bottom"
746
977
  style={
747
978
  [
748
979
  {
749
- "color": "#001f23",
750
- "fontFamily": "BeVietnamPro-Regular",
751
- "fontSize": 14,
752
- "letterSpacing": 0.48,
753
- "lineHeight": 22,
980
+ "bottom": 0,
981
+ "elevation": 9999,
982
+ "flexDirection": "column-reverse",
983
+ "left": 0,
984
+ "paddingHorizontal": 24,
985
+ "paddingVertical": 16,
986
+ "position": "absolute",
987
+ "right": 0,
988
+ "top": 0,
754
989
  },
755
- [
756
- {
757
- "color": "#ffffff",
758
- },
759
- undefined,
760
- ],
990
+ undefined,
761
991
  ]
762
992
  }
763
- themeIntent="body"
764
- themeSelected={true}
765
- themeTypeface="neutral"
766
- themeVariant="small"
767
- >
768
- Cover my bills
769
- </Text>
993
+ />
770
994
  </View>
771
995
  `;
772
996
 
773
997
  exports[`Chip renders correctly with variant filled and selected false 1`] = `
774
998
  <View
775
- accessibilityState={
776
- {
777
- "busy": undefined,
778
- "checked": undefined,
779
- "disabled": undefined,
780
- "expanded": undefined,
781
- "selected": undefined,
782
- }
783
- }
784
- accessibilityValue={
785
- {
786
- "max": undefined,
787
- "min": undefined,
788
- "now": undefined,
789
- "text": undefined,
790
- }
791
- }
792
- accessible={true}
793
- collapsable={false}
794
- focusable={false}
795
- onClick={[Function]}
796
- onResponderGrant={[Function]}
797
- onResponderMove={[Function]}
798
- onResponderRelease={[Function]}
799
- onResponderTerminate={[Function]}
800
- onResponderTerminationRequest={[Function]}
801
- onStartShouldSetResponder={[Function]}
802
999
  style={
803
1000
  {
804
- "alignItems": "center",
805
- "alignSelf": "flex-start",
806
- "backgroundColor": "#ffffff",
807
- "borderColor": "transparent",
808
- "borderRadius": 999,
809
- "borderWidth": 1,
810
- "elevation": 3,
811
- "flexDirection": "row",
812
- "justifyContent": "center",
813
- "opacity": 1,
814
- "paddingHorizontal": 12,
815
- "paddingVertical": 8,
816
- "shadowColor": "#001f23",
817
- "shadowOffset": {
818
- "height": 2,
819
- "width": 0,
820
- },
821
- "shadowOpacity": 0.12,
822
- "shadowRadius": 4,
1001
+ "flex": 1,
823
1002
  }
824
1003
  }
825
- testID="chip"
826
1004
  >
827
- <Text
828
- allowFontScaling={false}
1005
+ <View
1006
+ accessibilityState={
1007
+ {
1008
+ "busy": undefined,
1009
+ "checked": undefined,
1010
+ "disabled": undefined,
1011
+ "expanded": undefined,
1012
+ "selected": undefined,
1013
+ }
1014
+ }
1015
+ accessibilityValue={
1016
+ {
1017
+ "max": undefined,
1018
+ "min": undefined,
1019
+ "now": undefined,
1020
+ "text": undefined,
1021
+ }
1022
+ }
1023
+ accessible={true}
1024
+ collapsable={false}
1025
+ focusable={false}
1026
+ onClick={[Function]}
1027
+ onResponderGrant={[Function]}
1028
+ onResponderMove={[Function]}
1029
+ onResponderRelease={[Function]}
1030
+ onResponderTerminate={[Function]}
1031
+ onResponderTerminationRequest={[Function]}
1032
+ onStartShouldSetResponder={[Function]}
1033
+ style={
1034
+ {
1035
+ "alignItems": "center",
1036
+ "alignSelf": "flex-start",
1037
+ "backgroundColor": "#ffffff",
1038
+ "borderColor": "transparent",
1039
+ "borderRadius": 999,
1040
+ "borderWidth": 1,
1041
+ "elevation": 3,
1042
+ "flexDirection": "row",
1043
+ "justifyContent": "center",
1044
+ "opacity": 1,
1045
+ "paddingHorizontal": 12,
1046
+ "paddingVertical": 8,
1047
+ "shadowColor": "#001f23",
1048
+ "shadowOffset": {
1049
+ "height": 2,
1050
+ "width": 0,
1051
+ },
1052
+ "shadowOpacity": 0.12,
1053
+ "shadowRadius": 4,
1054
+ }
1055
+ }
1056
+ testID="chip"
1057
+ >
1058
+ <Text
1059
+ allowFontScaling={false}
1060
+ style={
1061
+ [
1062
+ {
1063
+ "color": "#001f23",
1064
+ "fontFamily": "BeVietnamPro-Regular",
1065
+ "fontSize": 14,
1066
+ "letterSpacing": 0.48,
1067
+ "lineHeight": 22,
1068
+ },
1069
+ [
1070
+ {},
1071
+ undefined,
1072
+ ],
1073
+ ]
1074
+ }
1075
+ themeIntent="body"
1076
+ themeSelected={false}
1077
+ themeTypeface="neutral"
1078
+ themeVariant="small"
1079
+ >
1080
+ Cover my bills
1081
+ </Text>
1082
+ </View>
1083
+ <View
1084
+ pointerEvents="box-none"
1085
+ position="bottom"
829
1086
  style={
830
1087
  [
831
1088
  {
832
- "color": "#001f23",
833
- "fontFamily": "BeVietnamPro-Regular",
834
- "fontSize": 14,
835
- "letterSpacing": 0.48,
836
- "lineHeight": 22,
1089
+ "bottom": 0,
1090
+ "elevation": 9999,
1091
+ "flexDirection": "column-reverse",
1092
+ "left": 0,
1093
+ "paddingHorizontal": 24,
1094
+ "paddingVertical": 16,
1095
+ "position": "absolute",
1096
+ "right": 0,
1097
+ "top": 0,
837
1098
  },
838
- [
839
- {},
840
- undefined,
841
- ],
1099
+ undefined,
842
1100
  ]
843
1101
  }
844
- themeIntent="body"
845
- themeSelected={false}
846
- themeTypeface="neutral"
847
- themeVariant="small"
848
- >
849
- Cover my bills
850
- </Text>
1102
+ />
851
1103
  </View>
852
1104
  `;
853
1105
 
854
1106
  exports[`Chip renders correctly with variant filled and selected true 1`] = `
855
1107
  <View
856
- accessibilityState={
857
- {
858
- "busy": undefined,
859
- "checked": undefined,
860
- "disabled": undefined,
861
- "expanded": undefined,
862
- "selected": undefined,
863
- }
864
- }
865
- accessibilityValue={
866
- {
867
- "max": undefined,
868
- "min": undefined,
869
- "now": undefined,
870
- "text": undefined,
871
- }
872
- }
873
- accessible={true}
874
- collapsable={false}
875
- focusable={false}
876
- onClick={[Function]}
877
- onResponderGrant={[Function]}
878
- onResponderMove={[Function]}
879
- onResponderRelease={[Function]}
880
- onResponderTerminate={[Function]}
881
- onResponderTerminationRequest={[Function]}
882
- onStartShouldSetResponder={[Function]}
883
1108
  style={
884
1109
  {
885
- "alignItems": "center",
886
- "alignSelf": "flex-start",
887
- "backgroundColor": "#ece8ef",
888
- "borderColor": "transparent",
889
- "borderRadius": 999,
890
- "borderWidth": 1,
891
- "elevation": 3,
892
- "flexDirection": "row",
893
- "justifyContent": "center",
894
- "opacity": 1,
895
- "paddingHorizontal": 12,
896
- "paddingVertical": 8,
897
- "shadowColor": "#001f23",
898
- "shadowOffset": {
899
- "height": 2,
900
- "width": 0,
901
- },
902
- "shadowOpacity": 0.12,
903
- "shadowRadius": 4,
1110
+ "flex": 1,
904
1111
  }
905
1112
  }
906
- testID="chip"
907
1113
  >
908
1114
  <View
1115
+ accessibilityState={
1116
+ {
1117
+ "busy": undefined,
1118
+ "checked": undefined,
1119
+ "disabled": undefined,
1120
+ "expanded": undefined,
1121
+ "selected": undefined,
1122
+ }
1123
+ }
1124
+ accessibilityValue={
1125
+ {
1126
+ "max": undefined,
1127
+ "min": undefined,
1128
+ "now": undefined,
1129
+ "text": undefined,
1130
+ }
1131
+ }
1132
+ accessible={true}
1133
+ collapsable={false}
1134
+ focusable={false}
1135
+ onClick={[Function]}
1136
+ onResponderGrant={[Function]}
1137
+ onResponderMove={[Function]}
1138
+ onResponderRelease={[Function]}
1139
+ onResponderTerminate={[Function]}
1140
+ onResponderTerminationRequest={[Function]}
1141
+ onStartShouldSetResponder={[Function]}
909
1142
  style={
910
- [
911
- {},
912
- [
913
- {
914
- "marginRight": 8,
915
- },
916
- undefined,
917
- ],
918
- ]
1143
+ {
1144
+ "alignItems": "center",
1145
+ "alignSelf": "flex-start",
1146
+ "backgroundColor": "#ece8ef",
1147
+ "borderColor": "transparent",
1148
+ "borderRadius": 999,
1149
+ "borderWidth": 1,
1150
+ "elevation": 3,
1151
+ "flexDirection": "row",
1152
+ "justifyContent": "center",
1153
+ "opacity": 1,
1154
+ "paddingHorizontal": 12,
1155
+ "paddingVertical": 8,
1156
+ "shadowColor": "#001f23",
1157
+ "shadowOffset": {
1158
+ "height": 2,
1159
+ "width": 0,
1160
+ },
1161
+ "shadowOpacity": 0.12,
1162
+ "shadowRadius": 4,
1163
+ }
919
1164
  }
1165
+ testID="chip"
920
1166
  >
921
- <HeroIcon
922
- name="checkmark"
1167
+ <View
1168
+ style={
1169
+ [
1170
+ {},
1171
+ [
1172
+ {
1173
+ "marginRight": 8,
1174
+ },
1175
+ undefined,
1176
+ ],
1177
+ ]
1178
+ }
1179
+ >
1180
+ <HeroIcon
1181
+ name="checkmark"
1182
+ style={
1183
+ [
1184
+ {
1185
+ "color": "#001f23",
1186
+ "fontSize": 16,
1187
+ },
1188
+ [
1189
+ {},
1190
+ undefined,
1191
+ ],
1192
+ ]
1193
+ }
1194
+ testID="chip-icon-checkmark"
1195
+ themeIntent="text"
1196
+ themeSize="xsmall"
1197
+ />
1198
+ </View>
1199
+ <Text
1200
+ allowFontScaling={false}
923
1201
  style={
924
1202
  [
925
1203
  {
926
1204
  "color": "#001f23",
927
- "fontSize": 16,
1205
+ "fontFamily": "BeVietnamPro-Regular",
1206
+ "fontSize": 14,
1207
+ "letterSpacing": 0.48,
1208
+ "lineHeight": 22,
928
1209
  },
929
1210
  [
930
1211
  {},
@@ -932,177 +1213,235 @@ exports[`Chip renders correctly with variant filled and selected true 1`] = `
932
1213
  ],
933
1214
  ]
934
1215
  }
935
- testID="chip-icon-checkmark"
936
- themeIntent="text"
937
- themeSize="xsmall"
938
- />
1216
+ themeIntent="body"
1217
+ themeSelected={true}
1218
+ themeTypeface="neutral"
1219
+ themeVariant="small"
1220
+ >
1221
+ Cover my bills
1222
+ </Text>
939
1223
  </View>
940
- <Text
941
- allowFontScaling={false}
1224
+ <View
1225
+ pointerEvents="box-none"
1226
+ position="bottom"
942
1227
  style={
943
1228
  [
944
1229
  {
945
- "color": "#001f23",
946
- "fontFamily": "BeVietnamPro-Regular",
947
- "fontSize": 14,
948
- "letterSpacing": 0.48,
949
- "lineHeight": 22,
1230
+ "bottom": 0,
1231
+ "elevation": 9999,
1232
+ "flexDirection": "column-reverse",
1233
+ "left": 0,
1234
+ "paddingHorizontal": 24,
1235
+ "paddingVertical": 16,
1236
+ "position": "absolute",
1237
+ "right": 0,
1238
+ "top": 0,
950
1239
  },
951
- [
952
- {},
953
- undefined,
954
- ],
1240
+ undefined,
955
1241
  ]
956
1242
  }
957
- themeIntent="body"
958
- themeSelected={true}
959
- themeTypeface="neutral"
960
- themeVariant="small"
961
- >
962
- Cover my bills
963
- </Text>
1243
+ />
964
1244
  </View>
965
1245
  `;
966
1246
 
967
1247
  exports[`Chip renders correctly with variant outlined and selected false 1`] = `
968
1248
  <View
969
- accessibilityState={
970
- {
971
- "busy": undefined,
972
- "checked": undefined,
973
- "disabled": undefined,
974
- "expanded": undefined,
975
- "selected": undefined,
976
- }
977
- }
978
- accessibilityValue={
979
- {
980
- "max": undefined,
981
- "min": undefined,
982
- "now": undefined,
983
- "text": undefined,
984
- }
985
- }
986
- accessible={true}
987
- collapsable={false}
988
- focusable={false}
989
- onClick={[Function]}
990
- onResponderGrant={[Function]}
991
- onResponderMove={[Function]}
992
- onResponderRelease={[Function]}
993
- onResponderTerminate={[Function]}
994
- onResponderTerminationRequest={[Function]}
995
- onStartShouldSetResponder={[Function]}
996
1249
  style={
997
1250
  {
998
- "alignItems": "center",
999
- "alignSelf": "flex-start",
1000
- "backgroundColor": "transparent",
1001
- "borderColor": "#001f23",
1002
- "borderRadius": 999,
1003
- "borderWidth": 1,
1004
- "flexDirection": "row",
1005
- "justifyContent": "center",
1006
- "opacity": 1,
1007
- "paddingHorizontal": 12,
1008
- "paddingVertical": 8,
1251
+ "flex": 1,
1009
1252
  }
1010
1253
  }
1011
- testID="chip"
1012
1254
  >
1013
- <Text
1014
- allowFontScaling={false}
1255
+ <View
1256
+ accessibilityState={
1257
+ {
1258
+ "busy": undefined,
1259
+ "checked": undefined,
1260
+ "disabled": undefined,
1261
+ "expanded": undefined,
1262
+ "selected": undefined,
1263
+ }
1264
+ }
1265
+ accessibilityValue={
1266
+ {
1267
+ "max": undefined,
1268
+ "min": undefined,
1269
+ "now": undefined,
1270
+ "text": undefined,
1271
+ }
1272
+ }
1273
+ accessible={true}
1274
+ collapsable={false}
1275
+ focusable={false}
1276
+ onClick={[Function]}
1277
+ onResponderGrant={[Function]}
1278
+ onResponderMove={[Function]}
1279
+ onResponderRelease={[Function]}
1280
+ onResponderTerminate={[Function]}
1281
+ onResponderTerminationRequest={[Function]}
1282
+ onStartShouldSetResponder={[Function]}
1283
+ style={
1284
+ {
1285
+ "alignItems": "center",
1286
+ "alignSelf": "flex-start",
1287
+ "backgroundColor": "transparent",
1288
+ "borderColor": "#001f23",
1289
+ "borderRadius": 999,
1290
+ "borderWidth": 1,
1291
+ "flexDirection": "row",
1292
+ "justifyContent": "center",
1293
+ "opacity": 1,
1294
+ "paddingHorizontal": 12,
1295
+ "paddingVertical": 8,
1296
+ }
1297
+ }
1298
+ testID="chip"
1299
+ >
1300
+ <Text
1301
+ allowFontScaling={false}
1302
+ style={
1303
+ [
1304
+ {
1305
+ "color": "#001f23",
1306
+ "fontFamily": "BeVietnamPro-Regular",
1307
+ "fontSize": 14,
1308
+ "letterSpacing": 0.48,
1309
+ "lineHeight": 22,
1310
+ },
1311
+ [
1312
+ {},
1313
+ undefined,
1314
+ ],
1315
+ ]
1316
+ }
1317
+ themeIntent="body"
1318
+ themeSelected={false}
1319
+ themeTypeface="neutral"
1320
+ themeVariant="small"
1321
+ >
1322
+ Cover my bills
1323
+ </Text>
1324
+ </View>
1325
+ <View
1326
+ pointerEvents="box-none"
1327
+ position="bottom"
1015
1328
  style={
1016
1329
  [
1017
1330
  {
1018
- "color": "#001f23",
1019
- "fontFamily": "BeVietnamPro-Regular",
1020
- "fontSize": 14,
1021
- "letterSpacing": 0.48,
1022
- "lineHeight": 22,
1331
+ "bottom": 0,
1332
+ "elevation": 9999,
1333
+ "flexDirection": "column-reverse",
1334
+ "left": 0,
1335
+ "paddingHorizontal": 24,
1336
+ "paddingVertical": 16,
1337
+ "position": "absolute",
1338
+ "right": 0,
1339
+ "top": 0,
1023
1340
  },
1024
- [
1025
- {},
1026
- undefined,
1027
- ],
1341
+ undefined,
1028
1342
  ]
1029
1343
  }
1030
- themeIntent="body"
1031
- themeSelected={false}
1032
- themeTypeface="neutral"
1033
- themeVariant="small"
1034
- >
1035
- Cover my bills
1036
- </Text>
1344
+ />
1037
1345
  </View>
1038
1346
  `;
1039
1347
 
1040
1348
  exports[`Chip renders correctly with variant outlined and selected true 1`] = `
1041
1349
  <View
1042
- accessibilityState={
1043
- {
1044
- "busy": undefined,
1045
- "checked": undefined,
1046
- "disabled": undefined,
1047
- "expanded": undefined,
1048
- "selected": undefined,
1049
- }
1050
- }
1051
- accessibilityValue={
1052
- {
1053
- "max": undefined,
1054
- "min": undefined,
1055
- "now": undefined,
1056
- "text": undefined,
1057
- }
1058
- }
1059
- accessible={true}
1060
- collapsable={false}
1061
- focusable={false}
1062
- onClick={[Function]}
1063
- onResponderGrant={[Function]}
1064
- onResponderMove={[Function]}
1065
- onResponderRelease={[Function]}
1066
- onResponderTerminate={[Function]}
1067
- onResponderTerminationRequest={[Function]}
1068
- onStartShouldSetResponder={[Function]}
1069
1350
  style={
1070
1351
  {
1071
- "alignItems": "center",
1072
- "alignSelf": "flex-start",
1073
- "backgroundColor": "#001f23",
1074
- "borderColor": "transparent",
1075
- "borderRadius": 999,
1076
- "borderWidth": 1,
1077
- "flexDirection": "row",
1078
- "justifyContent": "center",
1079
- "opacity": 1,
1080
- "paddingHorizontal": 12,
1081
- "paddingVertical": 8,
1352
+ "flex": 1,
1082
1353
  }
1083
1354
  }
1084
- testID="chip"
1085
1355
  >
1086
1356
  <View
1357
+ accessibilityState={
1358
+ {
1359
+ "busy": undefined,
1360
+ "checked": undefined,
1361
+ "disabled": undefined,
1362
+ "expanded": undefined,
1363
+ "selected": undefined,
1364
+ }
1365
+ }
1366
+ accessibilityValue={
1367
+ {
1368
+ "max": undefined,
1369
+ "min": undefined,
1370
+ "now": undefined,
1371
+ "text": undefined,
1372
+ }
1373
+ }
1374
+ accessible={true}
1375
+ collapsable={false}
1376
+ focusable={false}
1377
+ onClick={[Function]}
1378
+ onResponderGrant={[Function]}
1379
+ onResponderMove={[Function]}
1380
+ onResponderRelease={[Function]}
1381
+ onResponderTerminate={[Function]}
1382
+ onResponderTerminationRequest={[Function]}
1383
+ onStartShouldSetResponder={[Function]}
1087
1384
  style={
1088
- [
1089
- {},
1090
- [
1091
- {
1092
- "marginRight": 8,
1093
- },
1094
- undefined,
1095
- ],
1096
- ]
1385
+ {
1386
+ "alignItems": "center",
1387
+ "alignSelf": "flex-start",
1388
+ "backgroundColor": "#001f23",
1389
+ "borderColor": "transparent",
1390
+ "borderRadius": 999,
1391
+ "borderWidth": 1,
1392
+ "flexDirection": "row",
1393
+ "justifyContent": "center",
1394
+ "opacity": 1,
1395
+ "paddingHorizontal": 12,
1396
+ "paddingVertical": 8,
1397
+ }
1097
1398
  }
1399
+ testID="chip"
1098
1400
  >
1099
- <HeroIcon
1100
- name="checkmark"
1401
+ <View
1402
+ style={
1403
+ [
1404
+ {},
1405
+ [
1406
+ {
1407
+ "marginRight": 8,
1408
+ },
1409
+ undefined,
1410
+ ],
1411
+ ]
1412
+ }
1413
+ >
1414
+ <HeroIcon
1415
+ name="checkmark"
1416
+ style={
1417
+ [
1418
+ {
1419
+ "color": "#001f23",
1420
+ "fontSize": 16,
1421
+ },
1422
+ [
1423
+ {
1424
+ "color": "#ffffff",
1425
+ },
1426
+ undefined,
1427
+ ],
1428
+ ]
1429
+ }
1430
+ testID="chip-icon-checkmark"
1431
+ themeIntent="text"
1432
+ themeSize="xsmall"
1433
+ />
1434
+ </View>
1435
+ <Text
1436
+ allowFontScaling={false}
1101
1437
  style={
1102
1438
  [
1103
1439
  {
1104
1440
  "color": "#001f23",
1105
- "fontSize": 16,
1441
+ "fontFamily": "BeVietnamPro-Regular",
1442
+ "fontSize": 14,
1443
+ "letterSpacing": 0.48,
1444
+ "lineHeight": 22,
1106
1445
  },
1107
1446
  [
1108
1447
  {
@@ -1112,36 +1451,33 @@ exports[`Chip renders correctly with variant outlined and selected true 1`] = `
1112
1451
  ],
1113
1452
  ]
1114
1453
  }
1115
- testID="chip-icon-checkmark"
1116
- themeIntent="text"
1117
- themeSize="xsmall"
1118
- />
1454
+ themeIntent="body"
1455
+ themeSelected={true}
1456
+ themeTypeface="neutral"
1457
+ themeVariant="small"
1458
+ >
1459
+ Cover my bills
1460
+ </Text>
1119
1461
  </View>
1120
- <Text
1121
- allowFontScaling={false}
1462
+ <View
1463
+ pointerEvents="box-none"
1464
+ position="bottom"
1122
1465
  style={
1123
1466
  [
1124
1467
  {
1125
- "color": "#001f23",
1126
- "fontFamily": "BeVietnamPro-Regular",
1127
- "fontSize": 14,
1128
- "letterSpacing": 0.48,
1129
- "lineHeight": 22,
1468
+ "bottom": 0,
1469
+ "elevation": 9999,
1470
+ "flexDirection": "column-reverse",
1471
+ "left": 0,
1472
+ "paddingHorizontal": 24,
1473
+ "paddingVertical": 16,
1474
+ "position": "absolute",
1475
+ "right": 0,
1476
+ "top": 0,
1130
1477
  },
1131
- [
1132
- {
1133
- "color": "#ffffff",
1134
- },
1135
- undefined,
1136
- ],
1478
+ undefined,
1137
1479
  ]
1138
1480
  }
1139
- themeIntent="body"
1140
- themeSelected={true}
1141
- themeTypeface="neutral"
1142
- themeVariant="small"
1143
- >
1144
- Cover my bills
1145
- </Text>
1481
+ />
1146
1482
  </View>
1147
1483
  `;