@hero-design/rn 8.39.0 → 8.39.2
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.
- package/.turbo/turbo-build.log +1 -1
- package/es/index.js +4 -2
- package/lib/index.js +4 -2
- package/package.json +13 -12
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +64 -64
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +4 -4
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +104 -104
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +107 -107
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +17 -17
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +10 -10
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +76 -76
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +8 -8
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +24 -24
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +42 -42
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +10 -10
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +46 -46
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +30 -30
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +42 -42
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +20 -20
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +210 -210
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +214 -214
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +4 -4
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +105 -105
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +35 -35
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +14 -14
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +20 -20
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +2 -2
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +24 -24
- package/src/components/Carousel/CardCarousel.tsx +1 -1
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +88 -88
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +15 -15
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +2 -2
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +342 -342
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +12 -12
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +56 -56
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +3 -3
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +2 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +39 -39
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +90 -90
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +30 -30
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +30 -30
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +71 -71
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +24 -24
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +11 -11
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +23 -23
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +69 -69
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +157 -157
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +16 -16
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +14 -14
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +46 -46
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +11 -11
- package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +34 -34
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +98 -98
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +16 -16
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +28 -28
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +30 -30
- package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +6 -6
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +138 -138
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +136 -136
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +24 -24
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +39 -39
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +78 -78
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +27 -27
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +4 -4
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +72 -72
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +6 -6
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +38 -38
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +12 -12
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +460 -460
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +838 -838
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +7 -7
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +443 -443
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +628 -628
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +98 -98
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +21 -21
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +132 -132
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +25 -25
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +69 -69
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +9 -9
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +26 -26
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +19 -19
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +9 -9
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
- package/src/components/Tabs/SceneView.tsx +5 -2
- package/src/components/Tabs/ScrollableTabs.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +23 -23
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +336 -336
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +80 -80
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +13 -13
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +225 -225
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +58 -58
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +106 -106
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +561 -561
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +60 -60
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +101 -101
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +108 -108
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +8 -8
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +66 -66
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +52 -52
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +32 -32
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +38 -38
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +20 -20
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +26 -26
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +16 -16
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +40 -40
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +40 -40
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +46 -46
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +302 -302
- package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/globalDark.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/swagDark.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +1 -1
- package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +1 -1
- package/types/components/RichTextEditor/EditorEvent.d.ts +1 -0
- package/src/components/Modal/__tests__/ModalContentWrapper.spec.tsx +0 -25
- package/src/components/Modal/__tests__/ModalPresenter.spec.tsx +0 -57
- package/src/components/Modal/__tests__/__snapshots__/ModalContentWrapper.spec.tsx.snap +0 -35
- package/src/components/Modal/__tests__/__snapshots__/ModalPresenter.spec.tsx.snap +0 -55
- package/src/components/Modal/__tests__/index.spec.tsx +0 -50
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`RichTextEditor onMessage recevied event editor-layout should update height 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"marginTop": 8,
|
|
9
9
|
"width": "100%",
|
|
10
10
|
},
|
|
@@ -14,8 +14,8 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
14
14
|
>
|
|
15
15
|
<View
|
|
16
16
|
style={
|
|
17
|
-
|
|
18
|
-
|
|
17
|
+
[
|
|
18
|
+
{
|
|
19
19
|
"alignItems": "center",
|
|
20
20
|
"backgroundColor": "#ffffff",
|
|
21
21
|
"borderRadius": 8,
|
|
@@ -28,8 +28,8 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
28
28
|
>
|
|
29
29
|
<View
|
|
30
30
|
style={
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
[
|
|
32
|
+
{
|
|
33
33
|
"borderColor": "#cb300a",
|
|
34
34
|
"borderRadius": 8,
|
|
35
35
|
"borderWidth": 1,
|
|
@@ -47,8 +47,8 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
47
47
|
/>
|
|
48
48
|
<View
|
|
49
49
|
style={
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
[
|
|
51
|
+
{
|
|
52
52
|
"alignItems": "center",
|
|
53
53
|
"alignSelf": "stretch",
|
|
54
54
|
"flexDirection": "row",
|
|
@@ -62,8 +62,8 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
62
62
|
<View
|
|
63
63
|
pointerEvents="none"
|
|
64
64
|
style={
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
[
|
|
66
|
+
{
|
|
67
67
|
"alignItems": "center",
|
|
68
68
|
"bottom": 0,
|
|
69
69
|
"flexDirection": "row",
|
|
@@ -81,16 +81,16 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
81
81
|
<Text
|
|
82
82
|
allowFontScaling={false}
|
|
83
83
|
style={
|
|
84
|
-
|
|
85
|
-
|
|
84
|
+
[
|
|
85
|
+
{
|
|
86
86
|
"color": "#001f23",
|
|
87
87
|
"fontFamily": "BeVietnamPro-Regular",
|
|
88
88
|
"fontSize": 16,
|
|
89
89
|
"letterSpacing": 0.48,
|
|
90
90
|
"lineHeight": 24,
|
|
91
91
|
},
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
[
|
|
93
|
+
{
|
|
94
94
|
"alignContent": "center",
|
|
95
95
|
"alignItems": "center",
|
|
96
96
|
"color": "#001f23",
|
|
@@ -124,19 +124,19 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
124
124
|
onResponderTerminationRequest={[Function]}
|
|
125
125
|
onStartShouldSetResponder={[Function]}
|
|
126
126
|
originWhitelist={
|
|
127
|
-
|
|
127
|
+
[
|
|
128
128
|
"*",
|
|
129
129
|
]
|
|
130
130
|
}
|
|
131
131
|
scrollEnabled={false}
|
|
132
132
|
source={
|
|
133
|
-
|
|
133
|
+
{
|
|
134
134
|
"html": "
|
|
135
135
|
<!DOCTYPE html>
|
|
136
136
|
<html>
|
|
137
137
|
<head>
|
|
138
|
-
<meta charset
|
|
139
|
-
<meta name
|
|
138
|
+
<meta charset="utf-8">
|
|
139
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
|
|
140
140
|
<style>
|
|
141
141
|
body {
|
|
142
142
|
margin: 0;
|
|
@@ -144,11 +144,11 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
144
144
|
</style>
|
|
145
145
|
</head>
|
|
146
146
|
<body>
|
|
147
|
-
<div id
|
|
147
|
+
<div id="root"></div>
|
|
148
148
|
<script>
|
|
149
149
|
window.__editorConfigs = {
|
|
150
|
-
placeholder:
|
|
151
|
-
initialValue: [{
|
|
150
|
+
placeholder: "",
|
|
151
|
+
initialValue: [{"type":"paragraph","children":[{"text":""}]}],
|
|
152
152
|
isAndroid: false,
|
|
153
153
|
autoFocus: true,
|
|
154
154
|
style: {
|
|
@@ -165,8 +165,8 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
style={
|
|
168
|
-
|
|
169
|
-
|
|
168
|
+
[
|
|
169
|
+
{
|
|
170
170
|
"backgroundColor": "transparent",
|
|
171
171
|
"fontSize": 16,
|
|
172
172
|
"height": 480,
|
|
@@ -174,7 +174,7 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
174
174
|
"minHeight": 24,
|
|
175
175
|
"textAlignVertical": "center",
|
|
176
176
|
},
|
|
177
|
-
|
|
177
|
+
{
|
|
178
178
|
"backgroundColor": "yellow",
|
|
179
179
|
},
|
|
180
180
|
]
|
|
@@ -185,8 +185,8 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
185
185
|
</View>
|
|
186
186
|
<View
|
|
187
187
|
style={
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
[
|
|
189
|
+
{
|
|
190
190
|
"minHeight": 16,
|
|
191
191
|
"paddingLeft": 16,
|
|
192
192
|
"paddingTop": 2,
|
|
@@ -197,8 +197,8 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
197
197
|
>
|
|
198
198
|
<View
|
|
199
199
|
style={
|
|
200
|
-
|
|
201
|
-
|
|
200
|
+
[
|
|
201
|
+
{
|
|
202
202
|
"flexDirection": "row",
|
|
203
203
|
"justifyContent": "space-between",
|
|
204
204
|
},
|
|
@@ -208,8 +208,8 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
208
208
|
>
|
|
209
209
|
<View
|
|
210
210
|
style={
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
[
|
|
212
|
+
{
|
|
213
213
|
"alignItems": "center",
|
|
214
214
|
"flex": 1,
|
|
215
215
|
"flexDirection": "row",
|
|
@@ -223,8 +223,8 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
223
223
|
<HeroIcon
|
|
224
224
|
name="circle-info"
|
|
225
225
|
style={
|
|
226
|
-
|
|
227
|
-
|
|
226
|
+
[
|
|
227
|
+
{
|
|
228
228
|
"color": "#cb300a",
|
|
229
229
|
"fontSize": 16,
|
|
230
230
|
},
|
|
@@ -238,16 +238,16 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
238
238
|
<Text
|
|
239
239
|
allowFontScaling={false}
|
|
240
240
|
style={
|
|
241
|
-
|
|
242
|
-
|
|
241
|
+
[
|
|
242
|
+
{
|
|
243
243
|
"color": "#001f23",
|
|
244
244
|
"fontFamily": "BeVietnamPro-Regular",
|
|
245
245
|
"fontSize": 12,
|
|
246
246
|
"letterSpacing": 0.48,
|
|
247
247
|
"lineHeight": 16,
|
|
248
248
|
},
|
|
249
|
-
|
|
250
|
-
|
|
249
|
+
[
|
|
250
|
+
{
|
|
251
251
|
"color": "#cb300a",
|
|
252
252
|
"marginLeft": 4,
|
|
253
253
|
},
|
|
@@ -270,8 +270,8 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
270
270
|
exports[`RichTextEditor should render correctly 1`] = `
|
|
271
271
|
<View
|
|
272
272
|
style={
|
|
273
|
-
|
|
274
|
-
|
|
273
|
+
[
|
|
274
|
+
{
|
|
275
275
|
"marginTop": 8,
|
|
276
276
|
"width": "100%",
|
|
277
277
|
},
|
|
@@ -281,8 +281,8 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
281
281
|
>
|
|
282
282
|
<View
|
|
283
283
|
style={
|
|
284
|
-
|
|
285
|
-
|
|
284
|
+
[
|
|
285
|
+
{
|
|
286
286
|
"alignItems": "center",
|
|
287
287
|
"backgroundColor": "#ffffff",
|
|
288
288
|
"borderRadius": 8,
|
|
@@ -295,8 +295,8 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
295
295
|
>
|
|
296
296
|
<View
|
|
297
297
|
style={
|
|
298
|
-
|
|
299
|
-
|
|
298
|
+
[
|
|
299
|
+
{
|
|
300
300
|
"borderColor": "#cb300a",
|
|
301
301
|
"borderRadius": 8,
|
|
302
302
|
"borderWidth": 1,
|
|
@@ -314,8 +314,8 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
314
314
|
/>
|
|
315
315
|
<View
|
|
316
316
|
style={
|
|
317
|
-
|
|
318
|
-
|
|
317
|
+
[
|
|
318
|
+
{
|
|
319
319
|
"alignItems": "center",
|
|
320
320
|
"alignSelf": "stretch",
|
|
321
321
|
"flexDirection": "row",
|
|
@@ -329,8 +329,8 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
329
329
|
<View
|
|
330
330
|
pointerEvents="none"
|
|
331
331
|
style={
|
|
332
|
-
|
|
333
|
-
|
|
332
|
+
[
|
|
333
|
+
{
|
|
334
334
|
"alignItems": "center",
|
|
335
335
|
"bottom": 0,
|
|
336
336
|
"flexDirection": "row",
|
|
@@ -348,16 +348,16 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
348
348
|
<Text
|
|
349
349
|
allowFontScaling={false}
|
|
350
350
|
style={
|
|
351
|
-
|
|
352
|
-
|
|
351
|
+
[
|
|
352
|
+
{
|
|
353
353
|
"color": "#001f23",
|
|
354
354
|
"fontFamily": "BeVietnamPro-Regular",
|
|
355
355
|
"fontSize": 16,
|
|
356
356
|
"letterSpacing": 0.48,
|
|
357
357
|
"lineHeight": 24,
|
|
358
358
|
},
|
|
359
|
-
|
|
360
|
-
|
|
359
|
+
[
|
|
360
|
+
{
|
|
361
361
|
"alignContent": "center",
|
|
362
362
|
"alignItems": "center",
|
|
363
363
|
"color": "#001f23",
|
|
@@ -390,19 +390,19 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
390
390
|
onResponderTerminationRequest={[Function]}
|
|
391
391
|
onStartShouldSetResponder={[Function]}
|
|
392
392
|
originWhitelist={
|
|
393
|
-
|
|
393
|
+
[
|
|
394
394
|
"*",
|
|
395
395
|
]
|
|
396
396
|
}
|
|
397
397
|
scrollEnabled={false}
|
|
398
398
|
source={
|
|
399
|
-
|
|
399
|
+
{
|
|
400
400
|
"html": "
|
|
401
401
|
<!DOCTYPE html>
|
|
402
402
|
<html>
|
|
403
403
|
<head>
|
|
404
|
-
<meta charset
|
|
405
|
-
<meta name
|
|
404
|
+
<meta charset="utf-8">
|
|
405
|
+
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
|
|
406
406
|
<style>
|
|
407
407
|
body {
|
|
408
408
|
margin: 0;
|
|
@@ -410,11 +410,11 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
410
410
|
</style>
|
|
411
411
|
</head>
|
|
412
412
|
<body>
|
|
413
|
-
<div id
|
|
413
|
+
<div id="root"></div>
|
|
414
414
|
<script>
|
|
415
415
|
window.__editorConfigs = {
|
|
416
|
-
placeholder:
|
|
417
|
-
initialValue: [{
|
|
416
|
+
placeholder: "",
|
|
417
|
+
initialValue: [{"type":"paragraph","children":[{"text":""}]}],
|
|
418
418
|
isAndroid: false,
|
|
419
419
|
autoFocus: true,
|
|
420
420
|
style: {
|
|
@@ -431,8 +431,8 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
style={
|
|
434
|
-
|
|
435
|
-
|
|
434
|
+
[
|
|
435
|
+
{
|
|
436
436
|
"backgroundColor": "transparent",
|
|
437
437
|
"fontSize": 16,
|
|
438
438
|
"height": undefined,
|
|
@@ -440,7 +440,7 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
440
440
|
"minHeight": 24,
|
|
441
441
|
"textAlignVertical": "center",
|
|
442
442
|
},
|
|
443
|
-
|
|
443
|
+
{
|
|
444
444
|
"backgroundColor": "yellow",
|
|
445
445
|
},
|
|
446
446
|
]
|
|
@@ -451,8 +451,8 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
451
451
|
</View>
|
|
452
452
|
<View
|
|
453
453
|
style={
|
|
454
|
-
|
|
455
|
-
|
|
454
|
+
[
|
|
455
|
+
{
|
|
456
456
|
"minHeight": 16,
|
|
457
457
|
"paddingLeft": 16,
|
|
458
458
|
"paddingTop": 2,
|
|
@@ -463,8 +463,8 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
463
463
|
>
|
|
464
464
|
<View
|
|
465
465
|
style={
|
|
466
|
-
|
|
467
|
-
|
|
466
|
+
[
|
|
467
|
+
{
|
|
468
468
|
"flexDirection": "row",
|
|
469
469
|
"justifyContent": "space-between",
|
|
470
470
|
},
|
|
@@ -474,8 +474,8 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
474
474
|
>
|
|
475
475
|
<View
|
|
476
476
|
style={
|
|
477
|
-
|
|
478
|
-
|
|
477
|
+
[
|
|
478
|
+
{
|
|
479
479
|
"alignItems": "center",
|
|
480
480
|
"flex": 1,
|
|
481
481
|
"flexDirection": "row",
|
|
@@ -489,8 +489,8 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
489
489
|
<HeroIcon
|
|
490
490
|
name="circle-info"
|
|
491
491
|
style={
|
|
492
|
-
|
|
493
|
-
|
|
492
|
+
[
|
|
493
|
+
{
|
|
494
494
|
"color": "#cb300a",
|
|
495
495
|
"fontSize": 16,
|
|
496
496
|
},
|
|
@@ -504,16 +504,16 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
504
504
|
<Text
|
|
505
505
|
allowFontScaling={false}
|
|
506
506
|
style={
|
|
507
|
-
|
|
508
|
-
|
|
507
|
+
[
|
|
508
|
+
{
|
|
509
509
|
"color": "#001f23",
|
|
510
510
|
"fontFamily": "BeVietnamPro-Regular",
|
|
511
511
|
"fontSize": 12,
|
|
512
512
|
"letterSpacing": 0.48,
|
|
513
513
|
"lineHeight": 16,
|
|
514
514
|
},
|
|
515
|
-
|
|
516
|
-
|
|
515
|
+
[
|
|
516
|
+
{
|
|
517
517
|
"color": "#cb300a",
|
|
518
518
|
"marginLeft": 4,
|
|
519
519
|
},
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`StyledHeading renders correct style 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"alignContent": "center",
|
|
9
9
|
"backgroundColor": "#f6f6f7",
|
|
10
10
|
"display": "flex",
|
|
@@ -23,8 +23,8 @@ exports[`StyledHeading renders correct style 1`] = `
|
|
|
23
23
|
exports[`StyledIconWrapper renders correct style 1`] = `
|
|
24
24
|
<View
|
|
25
25
|
style={
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
[
|
|
27
|
+
{
|
|
28
28
|
"marginRight": 8,
|
|
29
29
|
},
|
|
30
30
|
undefined,
|
|
@@ -36,8 +36,8 @@ exports[`StyledIconWrapper renders correct style 1`] = `
|
|
|
36
36
|
exports[`StyledWrapper renders correct style 1`] = `
|
|
37
37
|
<View
|
|
38
38
|
style={
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
[
|
|
40
|
+
{
|
|
41
41
|
"display": "flex",
|
|
42
42
|
"flexDirection": "row",
|
|
43
43
|
},
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`SectionHeading allows to customise the icon 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"alignContent": "center",
|
|
9
9
|
"backgroundColor": "#f6f6f7",
|
|
10
10
|
"display": "flex",
|
|
@@ -20,8 +20,8 @@ exports[`SectionHeading allows to customise the icon 1`] = `
|
|
|
20
20
|
>
|
|
21
21
|
<View
|
|
22
22
|
style={
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
[
|
|
24
|
+
{
|
|
25
25
|
"display": "flex",
|
|
26
26
|
"flexDirection": "row",
|
|
27
27
|
},
|
|
@@ -31,8 +31,8 @@ exports[`SectionHeading allows to customise the icon 1`] = `
|
|
|
31
31
|
>
|
|
32
32
|
<View
|
|
33
33
|
style={
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
[
|
|
35
|
+
{
|
|
36
36
|
"marginRight": 8,
|
|
37
37
|
},
|
|
38
38
|
undefined,
|
|
@@ -42,8 +42,8 @@ exports[`SectionHeading allows to customise the icon 1`] = `
|
|
|
42
42
|
<HeroIcon
|
|
43
43
|
name="home"
|
|
44
44
|
style={
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
[
|
|
46
|
+
{
|
|
47
47
|
"color": "#cb300a",
|
|
48
48
|
"fontSize": 24,
|
|
49
49
|
},
|
|
@@ -57,8 +57,8 @@ exports[`SectionHeading allows to customise the icon 1`] = `
|
|
|
57
57
|
<Text
|
|
58
58
|
allowFontScaling={false}
|
|
59
59
|
style={
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
[
|
|
61
|
+
{
|
|
62
62
|
"color": "#401960",
|
|
63
63
|
"fontFamily": "BeVietnamPro-Regular",
|
|
64
64
|
"fontSize": 16,
|
|
@@ -82,8 +82,8 @@ exports[`SectionHeading allows to customise the icon 1`] = `
|
|
|
82
82
|
exports[`SectionHeading render icon correctly 1`] = `
|
|
83
83
|
<View
|
|
84
84
|
style={
|
|
85
|
-
|
|
86
|
-
|
|
85
|
+
[
|
|
86
|
+
{
|
|
87
87
|
"alignContent": "center",
|
|
88
88
|
"backgroundColor": "#f6f6f7",
|
|
89
89
|
"display": "flex",
|
|
@@ -100,8 +100,8 @@ exports[`SectionHeading render icon correctly 1`] = `
|
|
|
100
100
|
>
|
|
101
101
|
<View
|
|
102
102
|
style={
|
|
103
|
-
|
|
104
|
-
|
|
103
|
+
[
|
|
104
|
+
{
|
|
105
105
|
"display": "flex",
|
|
106
106
|
"flexDirection": "row",
|
|
107
107
|
},
|
|
@@ -111,8 +111,8 @@ exports[`SectionHeading render icon correctly 1`] = `
|
|
|
111
111
|
>
|
|
112
112
|
<View
|
|
113
113
|
style={
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
[
|
|
115
|
+
{
|
|
116
116
|
"marginRight": 8,
|
|
117
117
|
},
|
|
118
118
|
undefined,
|
|
@@ -122,8 +122,8 @@ exports[`SectionHeading render icon correctly 1`] = `
|
|
|
122
122
|
<HeroIcon
|
|
123
123
|
name="document"
|
|
124
124
|
style={
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
[
|
|
126
|
+
{
|
|
127
127
|
"color": "#001f23",
|
|
128
128
|
"fontSize": 24,
|
|
129
129
|
},
|
|
@@ -137,8 +137,8 @@ exports[`SectionHeading render icon correctly 1`] = `
|
|
|
137
137
|
<Text
|
|
138
138
|
allowFontScaling={false}
|
|
139
139
|
style={
|
|
140
|
-
|
|
141
|
-
|
|
140
|
+
[
|
|
141
|
+
{
|
|
142
142
|
"color": "#001f23",
|
|
143
143
|
"fontFamily": "BeVietnamPro-Regular",
|
|
144
144
|
"fontSize": 16,
|
|
@@ -162,8 +162,8 @@ exports[`SectionHeading render icon correctly 1`] = `
|
|
|
162
162
|
exports[`SectionHeading render right children correctly 1`] = `
|
|
163
163
|
<View
|
|
164
164
|
style={
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
[
|
|
166
|
+
{
|
|
167
167
|
"alignContent": "center",
|
|
168
168
|
"backgroundColor": "#f6f6f7",
|
|
169
169
|
"display": "flex",
|
|
@@ -180,8 +180,8 @@ exports[`SectionHeading render right children correctly 1`] = `
|
|
|
180
180
|
>
|
|
181
181
|
<View
|
|
182
182
|
style={
|
|
183
|
-
|
|
184
|
-
|
|
183
|
+
[
|
|
184
|
+
{
|
|
185
185
|
"display": "flex",
|
|
186
186
|
"flexDirection": "row",
|
|
187
187
|
},
|
|
@@ -191,8 +191,8 @@ exports[`SectionHeading render right children correctly 1`] = `
|
|
|
191
191
|
>
|
|
192
192
|
<View
|
|
193
193
|
style={
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
[
|
|
195
|
+
{
|
|
196
196
|
"marginRight": 8,
|
|
197
197
|
},
|
|
198
198
|
undefined,
|
|
@@ -202,8 +202,8 @@ exports[`SectionHeading render right children correctly 1`] = `
|
|
|
202
202
|
<Text
|
|
203
203
|
allowFontScaling={false}
|
|
204
204
|
style={
|
|
205
|
-
|
|
206
|
-
|
|
205
|
+
[
|
|
206
|
+
{
|
|
207
207
|
"color": "#001f23",
|
|
208
208
|
"fontFamily": "BeVietnamPro-Regular",
|
|
209
209
|
"fontSize": 16,
|
|
@@ -224,8 +224,8 @@ exports[`SectionHeading render right children correctly 1`] = `
|
|
|
224
224
|
<Text
|
|
225
225
|
allowFontScaling={false}
|
|
226
226
|
style={
|
|
227
|
-
|
|
228
|
-
|
|
227
|
+
[
|
|
228
|
+
{
|
|
229
229
|
"color": "#001f23",
|
|
230
230
|
"fontFamily": "BeVietnamPro-Regular",
|
|
231
231
|
"fontSize": 14,
|
|
@@ -247,8 +247,8 @@ exports[`SectionHeading render right children correctly 1`] = `
|
|
|
247
247
|
exports[`SectionHeading renders correctly 1`] = `
|
|
248
248
|
<View
|
|
249
249
|
style={
|
|
250
|
-
|
|
251
|
-
|
|
250
|
+
[
|
|
251
|
+
{
|
|
252
252
|
"alignContent": "center",
|
|
253
253
|
"backgroundColor": "#f6f6f7",
|
|
254
254
|
"display": "flex",
|
|
@@ -265,8 +265,8 @@ exports[`SectionHeading renders correctly 1`] = `
|
|
|
265
265
|
>
|
|
266
266
|
<View
|
|
267
267
|
style={
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
[
|
|
269
|
+
{
|
|
270
270
|
"display": "flex",
|
|
271
271
|
"flexDirection": "row",
|
|
272
272
|
},
|
|
@@ -276,8 +276,8 @@ exports[`SectionHeading renders correctly 1`] = `
|
|
|
276
276
|
>
|
|
277
277
|
<View
|
|
278
278
|
style={
|
|
279
|
-
|
|
280
|
-
|
|
279
|
+
[
|
|
280
|
+
{
|
|
281
281
|
"marginRight": 8,
|
|
282
282
|
},
|
|
283
283
|
undefined,
|
|
@@ -287,8 +287,8 @@ exports[`SectionHeading renders correctly 1`] = `
|
|
|
287
287
|
<Text
|
|
288
288
|
allowFontScaling={false}
|
|
289
289
|
style={
|
|
290
|
-
|
|
291
|
-
|
|
290
|
+
[
|
|
291
|
+
{
|
|
292
292
|
"color": "#001f23",
|
|
293
293
|
"fontFamily": "BeVietnamPro-Regular",
|
|
294
294
|
"fontSize": 16,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`Option renders correctly 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
accessibilityState={
|
|
6
|
-
|
|
6
|
+
{
|
|
7
7
|
"disabled": false,
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -17,8 +17,8 @@ exports[`Option renders correctly 1`] = `
|
|
|
17
17
|
onResponderTerminationRequest={[Function]}
|
|
18
18
|
onStartShouldSetResponder={[Function]}
|
|
19
19
|
style={
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
[
|
|
21
|
+
{
|
|
22
22
|
"alignItems": "center",
|
|
23
23
|
"backgroundColor": "#ece8ef",
|
|
24
24
|
"borderRadius": 4,
|
|
@@ -32,8 +32,8 @@ exports[`Option renders correctly 1`] = `
|
|
|
32
32
|
>
|
|
33
33
|
<View
|
|
34
34
|
style={
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
[
|
|
36
|
+
{
|
|
37
37
|
"flex": 1,
|
|
38
38
|
},
|
|
39
39
|
undefined,
|
|
@@ -43,8 +43,8 @@ exports[`Option renders correctly 1`] = `
|
|
|
43
43
|
<Text
|
|
44
44
|
allowFontScaling={false}
|
|
45
45
|
style={
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
[
|
|
47
|
+
{
|
|
48
48
|
"color": "#001f23",
|
|
49
49
|
"fontFamily": "BeVietnamPro-Regular",
|
|
50
50
|
"fontSize": 16,
|
|
@@ -63,8 +63,8 @@ exports[`Option renders correctly 1`] = `
|
|
|
63
63
|
</View>
|
|
64
64
|
<View
|
|
65
65
|
style={
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
[
|
|
67
|
+
{
|
|
68
68
|
"marginLeft": 8,
|
|
69
69
|
},
|
|
70
70
|
undefined,
|
|
@@ -74,12 +74,12 @@ exports[`Option renders correctly 1`] = `
|
|
|
74
74
|
<HeroIcon
|
|
75
75
|
name="checkmark"
|
|
76
76
|
style={
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
[
|
|
78
|
+
{
|
|
79
79
|
"color": "#401960",
|
|
80
80
|
"fontSize": 20,
|
|
81
81
|
},
|
|
82
|
-
|
|
82
|
+
{
|
|
83
83
|
"marginRight": 12,
|
|
84
84
|
},
|
|
85
85
|
]
|