@hero-design/rn 8.33.1 → 8.34.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.
- package/.turbo/turbo-build.log +1 -1
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +868 -655
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +871 -656
- package/package.json +8 -7
- package/rollup.config.js +1 -0
- package/src/components/Accordion/AccordionItem.tsx +1 -3
- package/src/components/Accordion/__tests__/AccordionItem.spec.tsx +5 -5
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +26 -34
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +36 -48
- package/src/components/Accordion/__tests__/index.spec.tsx +2 -2
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +26 -39
- package/src/components/Alert/__tests__/index.spec.tsx +8 -2
- package/src/components/Alert/index.tsx +2 -2
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/Attachment/index.tsx +3 -1
- package/src/components/Badge/StyledBadge.tsx +1 -4
- package/src/components/Badge/__tests__/Status.spec.tsx +1 -1
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +18 -48
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -3
- package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -12
- package/src/components/BottomNavigation/index.tsx +0 -1
- package/src/components/BottomSheet/Header.tsx +1 -3
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/Button/Button.tsx +34 -11
- package/src/components/Button/StyledButton.tsx +45 -38
- package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +2 -4
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +8 -14
- package/src/components/Button/__tests__/StyledButton.spec.tsx +12 -6
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +66 -90
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +56 -86
- package/src/components/Calendar/CalendarRowItem.tsx +5 -2
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +10 -15
- package/src/components/Calendar/index.tsx +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +12 -18
- package/src/components/Card/__tests__/index.spec.tsx +1 -1
- package/src/components/Carousel/CardCarousel.tsx +2 -0
- package/src/components/Carousel/CarouselItem.tsx +4 -4
- package/src/components/Carousel/StyledCarousel.tsx +1 -4
- package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +18 -18
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +24 -20
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +99 -165
- package/src/components/Checkbox/StyledCheckbox.tsx +1 -1
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +8 -12
- package/src/components/Checkbox/index.tsx +1 -1
- package/src/components/ContentNavigator/StyledContentNavigator.tsx +1 -6
- package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +1 -9
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +0 -29
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +124 -17
- package/src/components/ContentNavigator/__tests__/index.spec.tsx +16 -0
- package/src/components/ContentNavigator/index.tsx +30 -9
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +12 -18
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +4 -6
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +4 -6
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +13 -18
- package/src/components/Empty/StyledEmpty.tsx +2 -6
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +22 -36
- package/src/components/Empty/index.tsx +4 -2
- package/src/components/Error/StyledError.tsx +2 -8
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +44 -76
- package/src/components/Error/index.tsx +6 -2
- package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +1 -4
- package/src/components/FAB/ActionGroup/StyledActionItem.tsx +1 -5
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +54 -116
- package/src/components/FAB/ActionGroup/index.tsx +1 -1
- package/src/components/FAB/StyledFAB.tsx +1 -4
- package/src/components/FAB/__tests__/StyledFAB.spec.tsx +1 -1
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +2 -3
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +4 -8
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +2 -0
- package/src/components/List/BasicListItem.tsx +2 -6
- package/src/components/List/ListItem.tsx +3 -5
- package/src/components/List/__tests__/ListItem.spec.tsx +4 -4
- package/src/components/List/__tests__/StyledBasicListItem.spec.tsx +3 -1
- package/src/components/List/__tests__/StyledListItem.spec.tsx +3 -1
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -10
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +23 -37
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +8 -12
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +8 -12
- package/src/components/Modal/ModalContentWrapper.tsx +112 -0
- package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +135 -0
- package/src/components/Modal/ModalPresenter/index.tsx +9 -0
- package/src/components/Modal/ModalProvider.tsx +8 -0
- package/src/components/Modal/__tests__/ModalContentWrapper.spec.tsx +25 -0
- package/src/components/Modal/__tests__/ModalPresenter.spec.tsx +57 -0
- package/src/components/Modal/__tests__/__snapshots__/ModalContentWrapper.spec.tsx.snap +35 -0
- package/src/components/Modal/__tests__/__snapshots__/ModalPresenter.spec.tsx.snap +55 -0
- package/src/components/Modal/__tests__/index.spec.tsx +50 -0
- package/src/components/Modal/index.tsx +121 -0
- package/src/components/PageControl/index.tsx +0 -1
- package/src/components/PinInput/PinCell.tsx +3 -1
- package/src/components/PinInput/StyledPinInput.tsx +2 -7
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +25 -45
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +18 -34
- package/src/components/PinInput/index.tsx +2 -0
- package/src/components/Progress/ProgressCircle.tsx +1 -3
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -6
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -4
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -6
- package/src/components/RichTextEditor/RichTextEditor.tsx +7 -11
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +16 -24
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/SectionHeading/__tests__/index.spec.tsx +3 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -24
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +86 -130
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +6 -10
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -24
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +49 -79
- package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +5 -9
- package/src/components/Success/StyledSuccess.tsx +2 -6
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +40 -64
- package/src/components/Success/index.tsx +3 -1
- package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +2 -2
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +6 -9
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
- package/src/components/Swipeable/__tests__/index.spec.tsx +6 -4
- package/src/components/Switch/SelectorSwitch/Option.tsx +1 -1
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -2
- package/src/components/Tabs/ScrollableTabsHeader.tsx +3 -3
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +4 -4
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +6 -9
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +33 -60
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +7 -13
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +3 -8
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +45 -81
- package/src/components/Tabs/index.tsx +3 -3
- package/src/components/Tag/StyledTag.tsx +1 -4
- package/src/components/Tag/__tests__/Tag.spec.tsx +5 -1
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +47 -93
- package/src/components/Tag/index.tsx +5 -1
- package/src/components/TextInput/StyledTextInput.tsx +8 -16
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +72 -134
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +145 -257
- package/src/components/TextInput/index.tsx +2 -3
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +12 -23
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +21 -35
- package/src/components/Toast/Toast.tsx +6 -5
- package/src/components/Toast/ToastContainer.tsx +2 -0
- package/src/components/Toast/__tests__/Toast.spec.tsx +5 -1
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +26 -39
- package/src/components/Toolbar/StyledToolbar.tsx +1 -1
- package/src/components/Toolbar/ToolbarItem.tsx +4 -6
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -18
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +14 -21
- package/src/index.ts +2 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -0
- package/src/theme/components/badge.ts +15 -0
- package/src/theme/components/button.ts +16 -0
- package/src/theme/components/carousel.ts +15 -0
- package/src/theme/components/empty.ts +12 -0
- package/src/theme/components/error.ts +16 -0
- package/src/theme/components/fab.ts +11 -0
- package/src/theme/components/pinInput.ts +15 -0
- package/src/theme/components/success.ts +12 -0
- package/src/theme/components/tag.ts +16 -0
- package/src/theme/components/textInput.ts +1 -0
- package/src/theme/getTheme.ts +18 -18
- package/testUtils/setup.tsx +24 -0
- package/types/components/Badge/StyledBadge.d.ts +1 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +1 -1
- package/types/components/Button/StyledButton.d.ts +12 -5
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +1 -1
- package/types/components/Carousel/StyledCarousel.d.ts +1 -1
- package/types/components/Checkbox/StyledCheckbox.d.ts +1 -1
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +1 -5
- package/types/components/Empty/StyledEmpty.d.ts +2 -2
- package/types/components/Error/StyledError.d.ts +2 -2
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +2 -2
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +1 -1
- package/types/components/FAB/StyledFAB.d.ts +1 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Modal/ModalContentWrapper.d.ts +16 -0
- package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +34 -0
- package/types/components/Modal/ModalPresenter/index.d.ts +3 -0
- package/types/components/Modal/ModalProvider.d.ts +5 -0
- package/types/components/Modal/index.d.ts +33 -0
- package/types/components/PinInput/StyledPinInput.d.ts +2 -2
- package/types/components/RichTextEditor/RichTextEditor.d.ts +2 -2
- package/types/components/Success/StyledSuccess.d.ts +2 -2
- package/types/components/Tag/StyledTag.d.ts +1 -1
- package/types/components/TextInput/StyledTextInput.d.ts +7 -10
- package/types/components/Toolbar/StyledToolbar.d.ts +1 -1
- package/types/index.d.ts +2 -1
- package/types/theme/components/badge.d.ts +15 -0
- package/types/theme/components/button.d.ts +14 -0
- package/types/theme/components/carousel.d.ts +15 -0
- package/types/theme/components/empty.d.ts +11 -0
- package/types/theme/components/error.d.ts +15 -0
- package/types/theme/components/fab.d.ts +11 -0
- package/types/theme/components/pinInput.d.ts +15 -0
- package/types/theme/components/success.d.ts +11 -0
- package/types/theme/components/tag.d.ts +15 -0
- package/types/theme/components/textInput.d.ts +1 -0
- package/types/theme/getTheme.d.ts +18 -18
|
@@ -8,25 +8,22 @@ exports[`Label renders correctly with themeState default 1`] = `
|
|
|
8
8
|
Object {
|
|
9
9
|
"color": "#001f23",
|
|
10
10
|
"fontFamily": "BeVietnamPro-Regular",
|
|
11
|
-
"fontSize":
|
|
12
|
-
"letterSpacing": 0.
|
|
13
|
-
"lineHeight":
|
|
11
|
+
"fontSize": 12,
|
|
12
|
+
"letterSpacing": 0.48,
|
|
13
|
+
"lineHeight": 16,
|
|
14
14
|
},
|
|
15
15
|
Array [
|
|
16
16
|
Object {
|
|
17
17
|
"color": "#001f23",
|
|
18
|
-
"fontSize": 12,
|
|
19
18
|
"lineHeight": 12,
|
|
20
19
|
},
|
|
21
20
|
undefined,
|
|
22
21
|
],
|
|
23
22
|
]
|
|
24
23
|
}
|
|
25
|
-
themeFontSize="medium"
|
|
26
24
|
themeFontWeight="regular"
|
|
27
25
|
themeIntent="body"
|
|
28
26
|
themeState="default"
|
|
29
|
-
themeTypeface="neutral"
|
|
30
27
|
>
|
|
31
28
|
Label
|
|
32
29
|
</Text>
|
|
@@ -40,25 +37,22 @@ exports[`Label renders correctly with themeState disabled 1`] = `
|
|
|
40
37
|
Object {
|
|
41
38
|
"color": "#001f23",
|
|
42
39
|
"fontFamily": "BeVietnamPro-Regular",
|
|
43
|
-
"fontSize":
|
|
44
|
-
"letterSpacing": 0.
|
|
45
|
-
"lineHeight":
|
|
40
|
+
"fontSize": 12,
|
|
41
|
+
"letterSpacing": 0.48,
|
|
42
|
+
"lineHeight": 16,
|
|
46
43
|
},
|
|
47
44
|
Array [
|
|
48
45
|
Object {
|
|
49
46
|
"color": "#bfc1c5",
|
|
50
|
-
"fontSize": 12,
|
|
51
47
|
"lineHeight": 12,
|
|
52
48
|
},
|
|
53
49
|
undefined,
|
|
54
50
|
],
|
|
55
51
|
]
|
|
56
52
|
}
|
|
57
|
-
themeFontSize="medium"
|
|
58
53
|
themeFontWeight="regular"
|
|
59
54
|
themeIntent="body"
|
|
60
55
|
themeState="disabled"
|
|
61
|
-
themeTypeface="neutral"
|
|
62
56
|
>
|
|
63
57
|
Label
|
|
64
58
|
</Text>
|
|
@@ -72,25 +66,22 @@ exports[`Label renders correctly with themeState error 1`] = `
|
|
|
72
66
|
Object {
|
|
73
67
|
"color": "#001f23",
|
|
74
68
|
"fontFamily": "BeVietnamPro-Regular",
|
|
75
|
-
"fontSize":
|
|
76
|
-
"letterSpacing": 0.
|
|
77
|
-
"lineHeight":
|
|
69
|
+
"fontSize": 12,
|
|
70
|
+
"letterSpacing": 0.48,
|
|
71
|
+
"lineHeight": 16,
|
|
78
72
|
},
|
|
79
73
|
Array [
|
|
80
74
|
Object {
|
|
81
75
|
"color": "#001f23",
|
|
82
|
-
"fontSize": 12,
|
|
83
76
|
"lineHeight": 12,
|
|
84
77
|
},
|
|
85
78
|
undefined,
|
|
86
79
|
],
|
|
87
80
|
]
|
|
88
81
|
}
|
|
89
|
-
themeFontSize="medium"
|
|
90
82
|
themeFontWeight="regular"
|
|
91
83
|
themeIntent="body"
|
|
92
84
|
themeState="error"
|
|
93
|
-
themeTypeface="neutral"
|
|
94
85
|
>
|
|
95
86
|
Label
|
|
96
87
|
</Text>
|
|
@@ -104,25 +95,22 @@ exports[`Label renders correctly with themeState filled 1`] = `
|
|
|
104
95
|
Object {
|
|
105
96
|
"color": "#001f23",
|
|
106
97
|
"fontFamily": "BeVietnamPro-Regular",
|
|
107
|
-
"fontSize":
|
|
108
|
-
"letterSpacing": 0.
|
|
109
|
-
"lineHeight":
|
|
98
|
+
"fontSize": 12,
|
|
99
|
+
"letterSpacing": 0.48,
|
|
100
|
+
"lineHeight": 16,
|
|
110
101
|
},
|
|
111
102
|
Array [
|
|
112
103
|
Object {
|
|
113
104
|
"color": "#001f23",
|
|
114
|
-
"fontSize": 12,
|
|
115
105
|
"lineHeight": 12,
|
|
116
106
|
},
|
|
117
107
|
undefined,
|
|
118
108
|
],
|
|
119
109
|
]
|
|
120
110
|
}
|
|
121
|
-
themeFontSize="medium"
|
|
122
111
|
themeFontWeight="regular"
|
|
123
112
|
themeIntent="body"
|
|
124
113
|
themeState="filled"
|
|
125
|
-
themeTypeface="neutral"
|
|
126
114
|
>
|
|
127
115
|
Label
|
|
128
116
|
</Text>
|
|
@@ -136,25 +124,22 @@ exports[`Label renders correctly with themeState readonly 1`] = `
|
|
|
136
124
|
Object {
|
|
137
125
|
"color": "#001f23",
|
|
138
126
|
"fontFamily": "BeVietnamPro-Regular",
|
|
139
|
-
"fontSize":
|
|
140
|
-
"letterSpacing": 0.
|
|
141
|
-
"lineHeight":
|
|
127
|
+
"fontSize": 12,
|
|
128
|
+
"letterSpacing": 0.48,
|
|
129
|
+
"lineHeight": 16,
|
|
142
130
|
},
|
|
143
131
|
Array [
|
|
144
132
|
Object {
|
|
145
133
|
"color": "#808f91",
|
|
146
|
-
"fontSize": 12,
|
|
147
134
|
"lineHeight": 12,
|
|
148
135
|
},
|
|
149
136
|
undefined,
|
|
150
137
|
],
|
|
151
138
|
]
|
|
152
139
|
}
|
|
153
|
-
themeFontSize="medium"
|
|
154
140
|
themeFontWeight="regular"
|
|
155
141
|
themeIntent="body"
|
|
156
142
|
themeState="readonly"
|
|
157
|
-
themeTypeface="neutral"
|
|
158
143
|
>
|
|
159
144
|
Label
|
|
160
145
|
</Text>
|
|
@@ -187,16 +172,15 @@ exports[`LabelInsideTextInput renders correctly with themeState default 1`] = `
|
|
|
187
172
|
Object {
|
|
188
173
|
"color": "#001f23",
|
|
189
174
|
"fontFamily": "BeVietnamPro-Regular",
|
|
190
|
-
"fontSize":
|
|
191
|
-
"letterSpacing": 0.
|
|
192
|
-
"lineHeight":
|
|
175
|
+
"fontSize": 16,
|
|
176
|
+
"letterSpacing": 0.48,
|
|
177
|
+
"lineHeight": 24,
|
|
193
178
|
},
|
|
194
179
|
Array [
|
|
195
180
|
Object {
|
|
196
181
|
"alignContent": "center",
|
|
197
182
|
"alignItems": "center",
|
|
198
183
|
"color": "#001f23",
|
|
199
|
-
"fontSize": 16,
|
|
200
184
|
"marginTop": -2,
|
|
201
185
|
"textAlignVertical": "center",
|
|
202
186
|
},
|
|
@@ -204,11 +188,10 @@ exports[`LabelInsideTextInput renders correctly with themeState default 1`] = `
|
|
|
204
188
|
],
|
|
205
189
|
]
|
|
206
190
|
}
|
|
207
|
-
themeFontSize="medium"
|
|
208
|
-
themeFontWeight="regular"
|
|
209
191
|
themeIntent="body"
|
|
210
192
|
themeState="default"
|
|
211
193
|
themeTypeface="neutral"
|
|
194
|
+
themeVariant="regular"
|
|
212
195
|
>
|
|
213
196
|
Label
|
|
214
197
|
</Text>
|
|
@@ -222,16 +205,15 @@ exports[`LabelInsideTextInput renders correctly with themeState disabled 1`] = `
|
|
|
222
205
|
Object {
|
|
223
206
|
"color": "#001f23",
|
|
224
207
|
"fontFamily": "BeVietnamPro-Regular",
|
|
225
|
-
"fontSize":
|
|
226
|
-
"letterSpacing": 0.
|
|
227
|
-
"lineHeight":
|
|
208
|
+
"fontSize": 16,
|
|
209
|
+
"letterSpacing": 0.48,
|
|
210
|
+
"lineHeight": 24,
|
|
228
211
|
},
|
|
229
212
|
Array [
|
|
230
213
|
Object {
|
|
231
214
|
"alignContent": "center",
|
|
232
215
|
"alignItems": "center",
|
|
233
216
|
"color": "#bfc1c5",
|
|
234
|
-
"fontSize": 16,
|
|
235
217
|
"marginTop": -2,
|
|
236
218
|
"textAlignVertical": "center",
|
|
237
219
|
},
|
|
@@ -239,11 +221,10 @@ exports[`LabelInsideTextInput renders correctly with themeState disabled 1`] = `
|
|
|
239
221
|
],
|
|
240
222
|
]
|
|
241
223
|
}
|
|
242
|
-
themeFontSize="medium"
|
|
243
|
-
themeFontWeight="regular"
|
|
244
224
|
themeIntent="body"
|
|
245
225
|
themeState="disabled"
|
|
246
226
|
themeTypeface="neutral"
|
|
227
|
+
themeVariant="regular"
|
|
247
228
|
>
|
|
248
229
|
Label
|
|
249
230
|
</Text>
|
|
@@ -257,16 +238,15 @@ exports[`LabelInsideTextInput renders correctly with themeState error 1`] = `
|
|
|
257
238
|
Object {
|
|
258
239
|
"color": "#001f23",
|
|
259
240
|
"fontFamily": "BeVietnamPro-Regular",
|
|
260
|
-
"fontSize":
|
|
261
|
-
"letterSpacing": 0.
|
|
262
|
-
"lineHeight":
|
|
241
|
+
"fontSize": 16,
|
|
242
|
+
"letterSpacing": 0.48,
|
|
243
|
+
"lineHeight": 24,
|
|
263
244
|
},
|
|
264
245
|
Array [
|
|
265
246
|
Object {
|
|
266
247
|
"alignContent": "center",
|
|
267
248
|
"alignItems": "center",
|
|
268
249
|
"color": "#001f23",
|
|
269
|
-
"fontSize": 16,
|
|
270
250
|
"marginTop": -2,
|
|
271
251
|
"textAlignVertical": "center",
|
|
272
252
|
},
|
|
@@ -274,11 +254,10 @@ exports[`LabelInsideTextInput renders correctly with themeState error 1`] = `
|
|
|
274
254
|
],
|
|
275
255
|
]
|
|
276
256
|
}
|
|
277
|
-
themeFontSize="medium"
|
|
278
|
-
themeFontWeight="regular"
|
|
279
257
|
themeIntent="body"
|
|
280
258
|
themeState="error"
|
|
281
259
|
themeTypeface="neutral"
|
|
260
|
+
themeVariant="regular"
|
|
282
261
|
>
|
|
283
262
|
Label
|
|
284
263
|
</Text>
|
|
@@ -292,16 +271,15 @@ exports[`LabelInsideTextInput renders correctly with themeState filled 1`] = `
|
|
|
292
271
|
Object {
|
|
293
272
|
"color": "#001f23",
|
|
294
273
|
"fontFamily": "BeVietnamPro-Regular",
|
|
295
|
-
"fontSize":
|
|
296
|
-
"letterSpacing": 0.
|
|
297
|
-
"lineHeight":
|
|
274
|
+
"fontSize": 16,
|
|
275
|
+
"letterSpacing": 0.48,
|
|
276
|
+
"lineHeight": 24,
|
|
298
277
|
},
|
|
299
278
|
Array [
|
|
300
279
|
Object {
|
|
301
280
|
"alignContent": "center",
|
|
302
281
|
"alignItems": "center",
|
|
303
282
|
"color": "#001f23",
|
|
304
|
-
"fontSize": 16,
|
|
305
283
|
"marginTop": -2,
|
|
306
284
|
"textAlignVertical": "center",
|
|
307
285
|
},
|
|
@@ -309,11 +287,10 @@ exports[`LabelInsideTextInput renders correctly with themeState filled 1`] = `
|
|
|
309
287
|
],
|
|
310
288
|
]
|
|
311
289
|
}
|
|
312
|
-
themeFontSize="medium"
|
|
313
|
-
themeFontWeight="regular"
|
|
314
290
|
themeIntent="body"
|
|
315
291
|
themeState="filled"
|
|
316
292
|
themeTypeface="neutral"
|
|
293
|
+
themeVariant="regular"
|
|
317
294
|
>
|
|
318
295
|
Label
|
|
319
296
|
</Text>
|
|
@@ -327,16 +304,15 @@ exports[`LabelInsideTextInput renders correctly with themeState readonly 1`] = `
|
|
|
327
304
|
Object {
|
|
328
305
|
"color": "#001f23",
|
|
329
306
|
"fontFamily": "BeVietnamPro-Regular",
|
|
330
|
-
"fontSize":
|
|
331
|
-
"letterSpacing": 0.
|
|
332
|
-
"lineHeight":
|
|
307
|
+
"fontSize": 16,
|
|
308
|
+
"letterSpacing": 0.48,
|
|
309
|
+
"lineHeight": 24,
|
|
333
310
|
},
|
|
334
311
|
Array [
|
|
335
312
|
Object {
|
|
336
313
|
"alignContent": "center",
|
|
337
314
|
"alignItems": "center",
|
|
338
315
|
"color": "#808f91",
|
|
339
|
-
"fontSize": 16,
|
|
340
316
|
"marginTop": -2,
|
|
341
317
|
"textAlignVertical": "center",
|
|
342
318
|
},
|
|
@@ -344,11 +320,10 @@ exports[`LabelInsideTextInput renders correctly with themeState readonly 1`] = `
|
|
|
344
320
|
],
|
|
345
321
|
]
|
|
346
322
|
}
|
|
347
|
-
themeFontSize="medium"
|
|
348
|
-
themeFontWeight="regular"
|
|
349
323
|
themeIntent="body"
|
|
350
324
|
themeState="readonly"
|
|
351
325
|
themeTypeface="neutral"
|
|
326
|
+
themeVariant="regular"
|
|
352
327
|
>
|
|
353
328
|
Label
|
|
354
329
|
</Text>
|
|
@@ -362,25 +337,22 @@ exports[`StyledAsteriskLabel renders correctly with themeState default 1`] = `
|
|
|
362
337
|
Object {
|
|
363
338
|
"color": "#001f23",
|
|
364
339
|
"fontFamily": "BeVietnamPro-Regular",
|
|
365
|
-
"fontSize":
|
|
366
|
-
"letterSpacing": 0.
|
|
367
|
-
"lineHeight":
|
|
340
|
+
"fontSize": 12,
|
|
341
|
+
"letterSpacing": 0.48,
|
|
342
|
+
"lineHeight": 16,
|
|
368
343
|
},
|
|
369
344
|
Array [
|
|
370
345
|
Object {
|
|
371
346
|
"color": "#de350b",
|
|
372
|
-
"fontSize": 12,
|
|
373
347
|
"lineHeight": 12,
|
|
374
348
|
},
|
|
375
349
|
undefined,
|
|
376
350
|
],
|
|
377
351
|
]
|
|
378
352
|
}
|
|
379
|
-
themeFontSize="medium"
|
|
380
353
|
themeFontWeight="regular"
|
|
381
354
|
themeIntent="body"
|
|
382
355
|
themeState="default"
|
|
383
|
-
themeTypeface="neutral"
|
|
384
356
|
>
|
|
385
357
|
*
|
|
386
358
|
</Text>
|
|
@@ -394,25 +366,22 @@ exports[`StyledAsteriskLabel renders correctly with themeState disabled 1`] = `
|
|
|
394
366
|
Object {
|
|
395
367
|
"color": "#001f23",
|
|
396
368
|
"fontFamily": "BeVietnamPro-Regular",
|
|
397
|
-
"fontSize":
|
|
398
|
-
"letterSpacing": 0.
|
|
399
|
-
"lineHeight":
|
|
369
|
+
"fontSize": 12,
|
|
370
|
+
"letterSpacing": 0.48,
|
|
371
|
+
"lineHeight": 16,
|
|
400
372
|
},
|
|
401
373
|
Array [
|
|
402
374
|
Object {
|
|
403
375
|
"color": "#bfc1c5",
|
|
404
|
-
"fontSize": 12,
|
|
405
376
|
"lineHeight": 12,
|
|
406
377
|
},
|
|
407
378
|
undefined,
|
|
408
379
|
],
|
|
409
380
|
]
|
|
410
381
|
}
|
|
411
|
-
themeFontSize="medium"
|
|
412
382
|
themeFontWeight="regular"
|
|
413
383
|
themeIntent="body"
|
|
414
384
|
themeState="disabled"
|
|
415
|
-
themeTypeface="neutral"
|
|
416
385
|
>
|
|
417
386
|
*
|
|
418
387
|
</Text>
|
|
@@ -426,25 +395,22 @@ exports[`StyledAsteriskLabel renders correctly with themeState error 1`] = `
|
|
|
426
395
|
Object {
|
|
427
396
|
"color": "#001f23",
|
|
428
397
|
"fontFamily": "BeVietnamPro-Regular",
|
|
429
|
-
"fontSize":
|
|
430
|
-
"letterSpacing": 0.
|
|
431
|
-
"lineHeight":
|
|
398
|
+
"fontSize": 12,
|
|
399
|
+
"letterSpacing": 0.48,
|
|
400
|
+
"lineHeight": 16,
|
|
432
401
|
},
|
|
433
402
|
Array [
|
|
434
403
|
Object {
|
|
435
404
|
"color": "#de350b",
|
|
436
|
-
"fontSize": 12,
|
|
437
405
|
"lineHeight": 12,
|
|
438
406
|
},
|
|
439
407
|
undefined,
|
|
440
408
|
],
|
|
441
409
|
]
|
|
442
410
|
}
|
|
443
|
-
themeFontSize="medium"
|
|
444
411
|
themeFontWeight="regular"
|
|
445
412
|
themeIntent="body"
|
|
446
413
|
themeState="error"
|
|
447
|
-
themeTypeface="neutral"
|
|
448
414
|
>
|
|
449
415
|
*
|
|
450
416
|
</Text>
|
|
@@ -458,25 +424,22 @@ exports[`StyledAsteriskLabel renders correctly with themeState filled 1`] = `
|
|
|
458
424
|
Object {
|
|
459
425
|
"color": "#001f23",
|
|
460
426
|
"fontFamily": "BeVietnamPro-Regular",
|
|
461
|
-
"fontSize":
|
|
462
|
-
"letterSpacing": 0.
|
|
463
|
-
"lineHeight":
|
|
427
|
+
"fontSize": 12,
|
|
428
|
+
"letterSpacing": 0.48,
|
|
429
|
+
"lineHeight": 16,
|
|
464
430
|
},
|
|
465
431
|
Array [
|
|
466
432
|
Object {
|
|
467
433
|
"color": "#de350b",
|
|
468
|
-
"fontSize": 12,
|
|
469
434
|
"lineHeight": 12,
|
|
470
435
|
},
|
|
471
436
|
undefined,
|
|
472
437
|
],
|
|
473
438
|
]
|
|
474
439
|
}
|
|
475
|
-
themeFontSize="medium"
|
|
476
440
|
themeFontWeight="regular"
|
|
477
441
|
themeIntent="body"
|
|
478
442
|
themeState="filled"
|
|
479
|
-
themeTypeface="neutral"
|
|
480
443
|
>
|
|
481
444
|
*
|
|
482
445
|
</Text>
|
|
@@ -490,25 +453,22 @@ exports[`StyledAsteriskLabel renders correctly with themeState readonly 1`] = `
|
|
|
490
453
|
Object {
|
|
491
454
|
"color": "#001f23",
|
|
492
455
|
"fontFamily": "BeVietnamPro-Regular",
|
|
493
|
-
"fontSize":
|
|
494
|
-
"letterSpacing": 0.
|
|
495
|
-
"lineHeight":
|
|
456
|
+
"fontSize": 12,
|
|
457
|
+
"letterSpacing": 0.48,
|
|
458
|
+
"lineHeight": 16,
|
|
496
459
|
},
|
|
497
460
|
Array [
|
|
498
461
|
Object {
|
|
499
462
|
"color": "#808f91",
|
|
500
|
-
"fontSize": 12,
|
|
501
463
|
"lineHeight": 12,
|
|
502
464
|
},
|
|
503
465
|
undefined,
|
|
504
466
|
],
|
|
505
467
|
]
|
|
506
468
|
}
|
|
507
|
-
themeFontSize="medium"
|
|
508
469
|
themeFontWeight="regular"
|
|
509
470
|
themeIntent="body"
|
|
510
471
|
themeState="readonly"
|
|
511
|
-
themeTypeface="neutral"
|
|
512
472
|
>
|
|
513
473
|
*
|
|
514
474
|
</Text>
|
|
@@ -654,24 +614,21 @@ exports[`StyledErrorMessage renders correctly 1`] = `
|
|
|
654
614
|
Object {
|
|
655
615
|
"color": "#001f23",
|
|
656
616
|
"fontFamily": "BeVietnamPro-Regular",
|
|
657
|
-
"fontSize":
|
|
658
|
-
"letterSpacing": 0.
|
|
659
|
-
"lineHeight":
|
|
617
|
+
"fontSize": 12,
|
|
618
|
+
"letterSpacing": 0.48,
|
|
619
|
+
"lineHeight": 16,
|
|
660
620
|
},
|
|
661
621
|
Array [
|
|
662
622
|
Object {
|
|
663
623
|
"color": "#de350b",
|
|
664
|
-
"fontSize": 12,
|
|
665
624
|
"marginLeft": 4,
|
|
666
625
|
},
|
|
667
626
|
undefined,
|
|
668
627
|
],
|
|
669
628
|
]
|
|
670
629
|
}
|
|
671
|
-
themeFontSize="medium"
|
|
672
630
|
themeFontWeight="regular"
|
|
673
631
|
themeIntent="body"
|
|
674
|
-
themeTypeface="neutral"
|
|
675
632
|
>
|
|
676
633
|
must not exceed character limit
|
|
677
634
|
</Text>
|
|
@@ -702,16 +659,13 @@ exports[`StyledHelperText renders correctly 1`] = `
|
|
|
702
659
|
Object {
|
|
703
660
|
"color": "#001f23",
|
|
704
661
|
"fontFamily": "BeVietnamPro-Regular",
|
|
705
|
-
"fontSize":
|
|
706
|
-
"letterSpacing": 0
|
|
707
|
-
"lineHeight":
|
|
662
|
+
"fontSize": 42,
|
|
663
|
+
"letterSpacing": 0,
|
|
664
|
+
"lineHeight": 50,
|
|
708
665
|
},
|
|
709
666
|
Array [
|
|
710
667
|
Object {
|
|
711
668
|
"color": "#001f23",
|
|
712
|
-
"fontFamily": "BeVietnamPro-SemiBold",
|
|
713
|
-
"fontSize": 24,
|
|
714
|
-
"lineHeight": 32,
|
|
715
669
|
"marginBottom": 24,
|
|
716
670
|
"marginRight": 24,
|
|
717
671
|
"textAlign": "right",
|
|
@@ -720,9 +674,8 @@ exports[`StyledHelperText renders correctly 1`] = `
|
|
|
720
674
|
],
|
|
721
675
|
]
|
|
722
676
|
}
|
|
723
|
-
themeFontSize="medium"
|
|
724
|
-
themeFontWeight="regular"
|
|
725
677
|
themeIntent="body"
|
|
678
|
+
themeLevel="h1"
|
|
726
679
|
themeTypeface="neutral"
|
|
727
680
|
>
|
|
728
681
|
helper text
|
|
@@ -737,9 +690,9 @@ exports[`StyledMaxLengthMessage renders correctly with themeState default 1`] =
|
|
|
737
690
|
Object {
|
|
738
691
|
"color": "#001f23",
|
|
739
692
|
"fontFamily": "BeVietnamPro-Regular",
|
|
740
|
-
"fontSize":
|
|
741
|
-
"letterSpacing": 0.
|
|
742
|
-
"lineHeight":
|
|
693
|
+
"fontSize": 12,
|
|
694
|
+
"letterSpacing": 0.48,
|
|
695
|
+
"lineHeight": 16,
|
|
743
696
|
},
|
|
744
697
|
Array [
|
|
745
698
|
Object {
|
|
@@ -747,7 +700,6 @@ exports[`StyledMaxLengthMessage renders correctly with themeState default 1`] =
|
|
|
747
700
|
"color": "#001f23",
|
|
748
701
|
"flex": 1,
|
|
749
702
|
"flexGrow": 1,
|
|
750
|
-
"fontSize": 12,
|
|
751
703
|
"marginRight": 4,
|
|
752
704
|
"textAlign": "right",
|
|
753
705
|
},
|
|
@@ -755,11 +707,9 @@ exports[`StyledMaxLengthMessage renders correctly with themeState default 1`] =
|
|
|
755
707
|
],
|
|
756
708
|
]
|
|
757
709
|
}
|
|
758
|
-
themeFontSize="medium"
|
|
759
710
|
themeFontWeight="regular"
|
|
760
711
|
themeIntent="body"
|
|
761
712
|
themeState="default"
|
|
762
|
-
themeTypeface="neutral"
|
|
763
713
|
>
|
|
764
714
|
100/255
|
|
765
715
|
</Text>
|
|
@@ -773,9 +723,9 @@ exports[`StyledMaxLengthMessage renders correctly with themeState disabled 1`] =
|
|
|
773
723
|
Object {
|
|
774
724
|
"color": "#001f23",
|
|
775
725
|
"fontFamily": "BeVietnamPro-Regular",
|
|
776
|
-
"fontSize":
|
|
777
|
-
"letterSpacing": 0.
|
|
778
|
-
"lineHeight":
|
|
726
|
+
"fontSize": 12,
|
|
727
|
+
"letterSpacing": 0.48,
|
|
728
|
+
"lineHeight": 16,
|
|
779
729
|
},
|
|
780
730
|
Array [
|
|
781
731
|
Object {
|
|
@@ -783,7 +733,6 @@ exports[`StyledMaxLengthMessage renders correctly with themeState disabled 1`] =
|
|
|
783
733
|
"color": "#bfc1c5",
|
|
784
734
|
"flex": 1,
|
|
785
735
|
"flexGrow": 1,
|
|
786
|
-
"fontSize": 12,
|
|
787
736
|
"marginRight": 4,
|
|
788
737
|
"textAlign": "right",
|
|
789
738
|
},
|
|
@@ -791,11 +740,9 @@ exports[`StyledMaxLengthMessage renders correctly with themeState disabled 1`] =
|
|
|
791
740
|
],
|
|
792
741
|
]
|
|
793
742
|
}
|
|
794
|
-
themeFontSize="medium"
|
|
795
743
|
themeFontWeight="regular"
|
|
796
744
|
themeIntent="body"
|
|
797
745
|
themeState="disabled"
|
|
798
|
-
themeTypeface="neutral"
|
|
799
746
|
>
|
|
800
747
|
100/255
|
|
801
748
|
</Text>
|
|
@@ -809,9 +756,9 @@ exports[`StyledMaxLengthMessage renders correctly with themeState error 1`] = `
|
|
|
809
756
|
Object {
|
|
810
757
|
"color": "#001f23",
|
|
811
758
|
"fontFamily": "BeVietnamPro-Regular",
|
|
812
|
-
"fontSize":
|
|
813
|
-
"letterSpacing": 0.
|
|
814
|
-
"lineHeight":
|
|
759
|
+
"fontSize": 12,
|
|
760
|
+
"letterSpacing": 0.48,
|
|
761
|
+
"lineHeight": 16,
|
|
815
762
|
},
|
|
816
763
|
Array [
|
|
817
764
|
Object {
|
|
@@ -819,7 +766,6 @@ exports[`StyledMaxLengthMessage renders correctly with themeState error 1`] = `
|
|
|
819
766
|
"color": "#de350b",
|
|
820
767
|
"flex": 1,
|
|
821
768
|
"flexGrow": 1,
|
|
822
|
-
"fontSize": 12,
|
|
823
769
|
"marginRight": 4,
|
|
824
770
|
"textAlign": "right",
|
|
825
771
|
},
|
|
@@ -827,11 +773,9 @@ exports[`StyledMaxLengthMessage renders correctly with themeState error 1`] = `
|
|
|
827
773
|
],
|
|
828
774
|
]
|
|
829
775
|
}
|
|
830
|
-
themeFontSize="medium"
|
|
831
776
|
themeFontWeight="regular"
|
|
832
777
|
themeIntent="body"
|
|
833
778
|
themeState="error"
|
|
834
|
-
themeTypeface="neutral"
|
|
835
779
|
>
|
|
836
780
|
100/255
|
|
837
781
|
</Text>
|
|
@@ -845,9 +789,9 @@ exports[`StyledMaxLengthMessage renders correctly with themeState filled 1`] = `
|
|
|
845
789
|
Object {
|
|
846
790
|
"color": "#001f23",
|
|
847
791
|
"fontFamily": "BeVietnamPro-Regular",
|
|
848
|
-
"fontSize":
|
|
849
|
-
"letterSpacing": 0.
|
|
850
|
-
"lineHeight":
|
|
792
|
+
"fontSize": 12,
|
|
793
|
+
"letterSpacing": 0.48,
|
|
794
|
+
"lineHeight": 16,
|
|
851
795
|
},
|
|
852
796
|
Array [
|
|
853
797
|
Object {
|
|
@@ -855,7 +799,6 @@ exports[`StyledMaxLengthMessage renders correctly with themeState filled 1`] = `
|
|
|
855
799
|
"color": "#001f23",
|
|
856
800
|
"flex": 1,
|
|
857
801
|
"flexGrow": 1,
|
|
858
|
-
"fontSize": 12,
|
|
859
802
|
"marginRight": 4,
|
|
860
803
|
"textAlign": "right",
|
|
861
804
|
},
|
|
@@ -863,11 +806,9 @@ exports[`StyledMaxLengthMessage renders correctly with themeState filled 1`] = `
|
|
|
863
806
|
],
|
|
864
807
|
]
|
|
865
808
|
}
|
|
866
|
-
themeFontSize="medium"
|
|
867
809
|
themeFontWeight="regular"
|
|
868
810
|
themeIntent="body"
|
|
869
811
|
themeState="filled"
|
|
870
|
-
themeTypeface="neutral"
|
|
871
812
|
>
|
|
872
813
|
100/255
|
|
873
814
|
</Text>
|
|
@@ -881,9 +822,9 @@ exports[`StyledMaxLengthMessage renders correctly with themeState readonly 1`] =
|
|
|
881
822
|
Object {
|
|
882
823
|
"color": "#001f23",
|
|
883
824
|
"fontFamily": "BeVietnamPro-Regular",
|
|
884
|
-
"fontSize":
|
|
885
|
-
"letterSpacing": 0.
|
|
886
|
-
"lineHeight":
|
|
825
|
+
"fontSize": 12,
|
|
826
|
+
"letterSpacing": 0.48,
|
|
827
|
+
"lineHeight": 16,
|
|
887
828
|
},
|
|
888
829
|
Array [
|
|
889
830
|
Object {
|
|
@@ -891,7 +832,6 @@ exports[`StyledMaxLengthMessage renders correctly with themeState readonly 1`] =
|
|
|
891
832
|
"color": "#808f91",
|
|
892
833
|
"flex": 1,
|
|
893
834
|
"flexGrow": 1,
|
|
894
|
-
"fontSize": 12,
|
|
895
835
|
"marginRight": 4,
|
|
896
836
|
"textAlign": "right",
|
|
897
837
|
},
|
|
@@ -899,11 +839,9 @@ exports[`StyledMaxLengthMessage renders correctly with themeState readonly 1`] =
|
|
|
899
839
|
],
|
|
900
840
|
]
|
|
901
841
|
}
|
|
902
|
-
themeFontSize="medium"
|
|
903
842
|
themeFontWeight="regular"
|
|
904
843
|
themeIntent="body"
|
|
905
844
|
themeState="readonly"
|
|
906
|
-
themeTypeface="neutral"
|
|
907
845
|
>
|
|
908
846
|
100/255
|
|
909
847
|
</Text>
|