@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[`LeadingStatus renders correctly themeLeadingStausIntent archived 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"backgroundColor": "#abacaf",
|
|
9
9
|
"borderRadius": 999,
|
|
10
10
|
"marginRight": 8,
|
|
@@ -20,8 +20,8 @@ exports[`LeadingStatus renders correctly themeLeadingStausIntent archived 1`] =
|
|
|
20
20
|
exports[`LeadingStatus renders correctly themeLeadingStausIntent danger 1`] = `
|
|
21
21
|
<View
|
|
22
22
|
style={
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
[
|
|
24
|
+
{
|
|
25
25
|
"backgroundColor": "#f46363",
|
|
26
26
|
"borderRadius": 999,
|
|
27
27
|
"marginRight": 8,
|
|
@@ -37,8 +37,8 @@ exports[`LeadingStatus renders correctly themeLeadingStausIntent danger 1`] = `
|
|
|
37
37
|
exports[`LeadingStatus renders correctly themeLeadingStausIntent info 1`] = `
|
|
38
38
|
<View
|
|
39
39
|
style={
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
[
|
|
41
|
+
{
|
|
42
42
|
"backgroundColor": "#b5c3fd",
|
|
43
43
|
"borderRadius": 999,
|
|
44
44
|
"marginRight": 8,
|
|
@@ -54,8 +54,8 @@ exports[`LeadingStatus renders correctly themeLeadingStausIntent info 1`] = `
|
|
|
54
54
|
exports[`LeadingStatus renders correctly themeLeadingStausIntent success 1`] = `
|
|
55
55
|
<View
|
|
56
56
|
style={
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
[
|
|
58
|
+
{
|
|
59
59
|
"backgroundColor": "#5ace7d",
|
|
60
60
|
"borderRadius": 999,
|
|
61
61
|
"marginRight": 8,
|
|
@@ -71,8 +71,8 @@ exports[`LeadingStatus renders correctly themeLeadingStausIntent success 1`] = `
|
|
|
71
71
|
exports[`LeadingStatus renders correctly themeLeadingStausIntent warning 1`] = `
|
|
72
72
|
<View
|
|
73
73
|
style={
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
[
|
|
75
|
+
{
|
|
76
76
|
"backgroundColor": "#ffbe71",
|
|
77
77
|
"borderRadius": 999,
|
|
78
78
|
"marginRight": 8,
|
|
@@ -97,8 +97,8 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant ca
|
|
|
97
97
|
onResponderTerminationRequest={[Function]}
|
|
98
98
|
onStartShouldSetResponder={[Function]}
|
|
99
99
|
style={
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
[
|
|
101
|
+
{
|
|
102
102
|
"alignItems": "center",
|
|
103
103
|
"backgroundColor": "#ffffff",
|
|
104
104
|
"borderRadius": 8,
|
|
@@ -106,7 +106,7 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant ca
|
|
|
106
106
|
"flexDirection": "row",
|
|
107
107
|
"padding": 16,
|
|
108
108
|
"shadowColor": "#001f23",
|
|
109
|
-
"shadowOffset":
|
|
109
|
+
"shadowOffset": {
|
|
110
110
|
"height": 2,
|
|
111
111
|
"width": 0,
|
|
112
112
|
},
|
|
@@ -120,8 +120,8 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant ca
|
|
|
120
120
|
<Text
|
|
121
121
|
allowFontScaling={false}
|
|
122
122
|
style={
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
[
|
|
124
|
+
{
|
|
125
125
|
"color": "#001f23",
|
|
126
126
|
"fontFamily": "BeVietnamPro-Regular",
|
|
127
127
|
"fontSize": 14,
|
|
@@ -152,8 +152,8 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant fu
|
|
|
152
152
|
onResponderTerminationRequest={[Function]}
|
|
153
153
|
onStartShouldSetResponder={[Function]}
|
|
154
154
|
style={
|
|
155
|
-
|
|
156
|
-
|
|
155
|
+
[
|
|
156
|
+
{
|
|
157
157
|
"backgroundColor": "#ffffff",
|
|
158
158
|
"borderRadius": 8,
|
|
159
159
|
"flexDirection": "row",
|
|
@@ -166,8 +166,8 @@ exports[`ListItemContainer renders correctly themeSelected false themeVariant fu
|
|
|
166
166
|
<Text
|
|
167
167
|
allowFontScaling={false}
|
|
168
168
|
style={
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
[
|
|
170
|
+
{
|
|
171
171
|
"color": "#001f23",
|
|
172
172
|
"fontFamily": "BeVietnamPro-Regular",
|
|
173
173
|
"fontSize": 14,
|
|
@@ -198,8 +198,8 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
|
|
|
198
198
|
onResponderTerminationRequest={[Function]}
|
|
199
199
|
onStartShouldSetResponder={[Function]}
|
|
200
200
|
style={
|
|
201
|
-
|
|
202
|
-
|
|
201
|
+
[
|
|
202
|
+
{
|
|
203
203
|
"alignItems": "center",
|
|
204
204
|
"backgroundColor": "#ece8ef",
|
|
205
205
|
"borderRadius": 8,
|
|
@@ -207,7 +207,7 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
|
|
|
207
207
|
"flexDirection": "row",
|
|
208
208
|
"padding": 16,
|
|
209
209
|
"shadowColor": "#001f23",
|
|
210
|
-
"shadowOffset":
|
|
210
|
+
"shadowOffset": {
|
|
211
211
|
"height": 2,
|
|
212
212
|
"width": 0,
|
|
213
213
|
},
|
|
@@ -221,8 +221,8 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
|
|
|
221
221
|
<Text
|
|
222
222
|
allowFontScaling={false}
|
|
223
223
|
style={
|
|
224
|
-
|
|
225
|
-
|
|
224
|
+
[
|
|
225
|
+
{
|
|
226
226
|
"color": "#001f23",
|
|
227
227
|
"fontFamily": "BeVietnamPro-Regular",
|
|
228
228
|
"fontSize": 14,
|
|
@@ -253,8 +253,8 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant ful
|
|
|
253
253
|
onResponderTerminationRequest={[Function]}
|
|
254
254
|
onStartShouldSetResponder={[Function]}
|
|
255
255
|
style={
|
|
256
|
-
|
|
257
|
-
|
|
256
|
+
[
|
|
257
|
+
{
|
|
258
258
|
"backgroundColor": "#ece8ef",
|
|
259
259
|
"borderRadius": 8,
|
|
260
260
|
"flexDirection": "row",
|
|
@@ -267,8 +267,8 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant ful
|
|
|
267
267
|
<Text
|
|
268
268
|
allowFontScaling={false}
|
|
269
269
|
style={
|
|
270
|
-
|
|
271
|
-
|
|
270
|
+
[
|
|
271
|
+
{
|
|
272
272
|
"color": "#001f23",
|
|
273
273
|
"fontFamily": "BeVietnamPro-Regular",
|
|
274
274
|
"fontSize": 14,
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`RefreshControl renders correctly 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"alignItems": "center",
|
|
9
9
|
"flexDirection": "row",
|
|
10
10
|
},
|
|
@@ -15,7 +15,7 @@ exports[`RefreshControl renders correctly 1`] = `
|
|
|
15
15
|
<View
|
|
16
16
|
collapsable={false}
|
|
17
17
|
style={
|
|
18
|
-
|
|
18
|
+
{
|
|
19
19
|
"backgroundColor": "#401960",
|
|
20
20
|
"borderRadius": 999,
|
|
21
21
|
"height": 8,
|
|
@@ -29,7 +29,7 @@ exports[`RefreshControl renders correctly 1`] = `
|
|
|
29
29
|
<View
|
|
30
30
|
collapsable={false}
|
|
31
31
|
style={
|
|
32
|
-
|
|
32
|
+
{
|
|
33
33
|
"backgroundColor": "#401960",
|
|
34
34
|
"borderRadius": 999,
|
|
35
35
|
"height": 8,
|
|
@@ -43,7 +43,7 @@ exports[`RefreshControl renders correctly 1`] = `
|
|
|
43
43
|
<View
|
|
44
44
|
collapsable={false}
|
|
45
45
|
style={
|
|
46
|
-
|
|
46
|
+
{
|
|
47
47
|
"backgroundColor": "#401960",
|
|
48
48
|
"borderRadius": 999,
|
|
49
49
|
"height": 8,
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`PinCell renders correctly when focused is false, state is default 1`] = `
|
|
4
4
|
<View
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"alignItems": "center",
|
|
9
9
|
"borderColor": "#001f23",
|
|
10
10
|
"borderRadius": 8,
|
|
@@ -22,16 +22,16 @@ exports[`PinCell renders correctly when focused is false, state is default 1`] =
|
|
|
22
22
|
<Text
|
|
23
23
|
allowFontScaling={false}
|
|
24
24
|
style={
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
[
|
|
26
|
+
{
|
|
27
27
|
"color": "#001f23",
|
|
28
28
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
29
29
|
"fontSize": 28,
|
|
30
30
|
"letterSpacing": 0.24,
|
|
31
31
|
"lineHeight": 36,
|
|
32
32
|
},
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
[
|
|
34
|
+
{
|
|
35
35
|
"color": "#001f23",
|
|
36
36
|
},
|
|
37
37
|
undefined,
|
|
@@ -51,8 +51,8 @@ exports[`PinCell renders correctly when focused is false, state is default 1`] =
|
|
|
51
51
|
exports[`PinCell renders correctly when focused is false, state is disabled 1`] = `
|
|
52
52
|
<View
|
|
53
53
|
style={
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
[
|
|
55
|
+
{
|
|
56
56
|
"alignItems": "center",
|
|
57
57
|
"borderColor": "#bfc1c5",
|
|
58
58
|
"borderRadius": 8,
|
|
@@ -70,16 +70,16 @@ exports[`PinCell renders correctly when focused is false, state is disabled 1`]
|
|
|
70
70
|
<Text
|
|
71
71
|
allowFontScaling={false}
|
|
72
72
|
style={
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
[
|
|
74
|
+
{
|
|
75
75
|
"color": "#001f23",
|
|
76
76
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
77
77
|
"fontSize": 28,
|
|
78
78
|
"letterSpacing": 0.24,
|
|
79
79
|
"lineHeight": 36,
|
|
80
80
|
},
|
|
81
|
-
|
|
82
|
-
|
|
81
|
+
[
|
|
82
|
+
{
|
|
83
83
|
"color": "#bfc1c5",
|
|
84
84
|
},
|
|
85
85
|
undefined,
|
|
@@ -99,8 +99,8 @@ exports[`PinCell renders correctly when focused is false, state is disabled 1`]
|
|
|
99
99
|
exports[`PinCell renders correctly when focused is false, state is error 1`] = `
|
|
100
100
|
<View
|
|
101
101
|
style={
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
[
|
|
103
|
+
{
|
|
104
104
|
"alignItems": "center",
|
|
105
105
|
"borderColor": "#cb300a",
|
|
106
106
|
"borderRadius": 8,
|
|
@@ -118,16 +118,16 @@ exports[`PinCell renders correctly when focused is false, state is error 1`] = `
|
|
|
118
118
|
<Text
|
|
119
119
|
allowFontScaling={false}
|
|
120
120
|
style={
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
[
|
|
122
|
+
{
|
|
123
123
|
"color": "#001f23",
|
|
124
124
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
125
125
|
"fontSize": 28,
|
|
126
126
|
"letterSpacing": 0.24,
|
|
127
127
|
"lineHeight": 36,
|
|
128
128
|
},
|
|
129
|
-
|
|
130
|
-
|
|
129
|
+
[
|
|
130
|
+
{
|
|
131
131
|
"color": "#cb300a",
|
|
132
132
|
},
|
|
133
133
|
undefined,
|
|
@@ -147,8 +147,8 @@ exports[`PinCell renders correctly when focused is false, state is error 1`] = `
|
|
|
147
147
|
exports[`PinCell renders correctly when focused is true, state is default 1`] = `
|
|
148
148
|
<View
|
|
149
149
|
style={
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
[
|
|
151
|
+
{
|
|
152
152
|
"alignItems": "center",
|
|
153
153
|
"borderColor": "#001f23",
|
|
154
154
|
"borderRadius": 8,
|
|
@@ -166,16 +166,16 @@ exports[`PinCell renders correctly when focused is true, state is default 1`] =
|
|
|
166
166
|
<Text
|
|
167
167
|
allowFontScaling={false}
|
|
168
168
|
style={
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
[
|
|
170
|
+
{
|
|
171
171
|
"color": "#001f23",
|
|
172
172
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
173
173
|
"fontSize": 28,
|
|
174
174
|
"letterSpacing": 0.24,
|
|
175
175
|
"lineHeight": 36,
|
|
176
176
|
},
|
|
177
|
-
|
|
178
|
-
|
|
177
|
+
[
|
|
178
|
+
{
|
|
179
179
|
"color": "#001f23",
|
|
180
180
|
},
|
|
181
181
|
undefined,
|
|
@@ -195,8 +195,8 @@ exports[`PinCell renders correctly when focused is true, state is default 1`] =
|
|
|
195
195
|
exports[`PinCell renders correctly when focused is true, state is error 1`] = `
|
|
196
196
|
<View
|
|
197
197
|
style={
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
[
|
|
199
|
+
{
|
|
200
200
|
"alignItems": "center",
|
|
201
201
|
"borderColor": "#cb300a",
|
|
202
202
|
"borderRadius": 8,
|
|
@@ -214,16 +214,16 @@ exports[`PinCell renders correctly when focused is true, state is error 1`] = `
|
|
|
214
214
|
<Text
|
|
215
215
|
allowFontScaling={false}
|
|
216
216
|
style={
|
|
217
|
-
|
|
218
|
-
|
|
217
|
+
[
|
|
218
|
+
{
|
|
219
219
|
"color": "#001f23",
|
|
220
220
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
221
221
|
"fontSize": 28,
|
|
222
222
|
"letterSpacing": 0.24,
|
|
223
223
|
"lineHeight": 36,
|
|
224
224
|
},
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
[
|
|
226
|
+
{
|
|
227
227
|
"color": "#cb300a",
|
|
228
228
|
},
|
|
229
229
|
undefined,
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
exports[`StyledHiddenInput has correct width when pin length is 4 1`] = `
|
|
4
4
|
<TextInput
|
|
5
5
|
style={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"height": "100%",
|
|
9
9
|
"left": 0,
|
|
10
10
|
"opacity": 0,
|
|
@@ -22,8 +22,8 @@ exports[`StyledHiddenInput has correct width when pin length is 4 1`] = `
|
|
|
22
22
|
exports[`StyledHiddenInput has correct width when pin length is 6 1`] = `
|
|
23
23
|
<TextInput
|
|
24
24
|
style={
|
|
25
|
-
|
|
26
|
-
|
|
25
|
+
[
|
|
26
|
+
{
|
|
27
27
|
"height": "100%",
|
|
28
28
|
"left": 0,
|
|
29
29
|
"opacity": 0,
|
|
@@ -41,8 +41,8 @@ exports[`StyledHiddenInput has correct width when pin length is 6 1`] = `
|
|
|
41
41
|
exports[`StyledHiddenInput has correct width when pin length is 8 1`] = `
|
|
42
42
|
<TextInput
|
|
43
43
|
style={
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
[
|
|
45
|
+
{
|
|
46
46
|
"height": "100%",
|
|
47
47
|
"left": 0,
|
|
48
48
|
"opacity": 0,
|