@hero-design/rn 7.22.2 → 7.22.3
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 +2 -2
- package/es/index.js +271 -242
- package/lib/index.js +271 -242
- package/package.json +4 -4
- package/src/components/Accordion/AccordionItem.tsx +1 -1
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -8
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +2 -2
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +24 -24
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +6 -6
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +3 -3
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +2 -2
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +1 -1
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
- package/src/components/Icon/HeroIcon/index.tsx +2 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Icon/index.tsx +1 -0
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +12 -12
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +4 -4
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -5
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +1 -1
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1 -1
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +1 -1
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +4 -4
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +13 -9
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -8
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Spinner/StyledSpinner.tsx +8 -4
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +8 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -16
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +8 -4
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +3 -3
- package/src/components/Tabs/ScrollableTabs.tsx +2 -5
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +1 -1
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +10 -10
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +14 -14
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -1
- package/src/components/Toast/ToastProvider.tsx +2 -4
- package/src/components/Toast/__tests__/index.spec.tsx +138 -0
- package/src/components/Toolbar/ToolbarItem.tsx +1 -1
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
- package/src/components/Typography/Text/StyledText.tsx +1 -0
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +3 -3
- package/src/components/Typography/Text/index.tsx +1 -0
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +92 -85
- package/src/theme/components/accordion.ts +1 -1
- package/src/theme/components/alert.ts +4 -4
- package/src/theme/components/avatar.ts +2 -2
- package/src/theme/components/badge.ts +6 -6
- package/src/theme/components/bottomNavigation.ts +2 -2
- package/src/theme/components/bottomSheet.ts +3 -3
- package/src/theme/components/button.ts +20 -20
- package/src/theme/components/calendar.ts +4 -4
- package/src/theme/components/card.ts +5 -5
- package/src/theme/components/checkbox.ts +1 -1
- package/src/theme/components/divider.ts +1 -1
- package/src/theme/components/drawer.ts +4 -4
- package/src/theme/components/empty.ts +3 -4
- package/src/theme/components/fab.ts +7 -7
- package/src/theme/components/icon.ts +4 -3
- package/src/theme/components/list.ts +6 -7
- package/src/theme/components/pinInput.ts +4 -4
- package/src/theme/components/progress.ts +3 -3
- package/src/theme/components/richTextEditor.ts +3 -3
- package/src/theme/components/sectionHeading.ts +1 -1
- package/src/theme/components/select.ts +1 -1
- package/src/theme/components/slider.ts +3 -3
- package/src/theme/components/spinner.ts +1 -4
- package/src/theme/components/switch.ts +7 -7
- package/src/theme/components/tabs.ts +5 -5
- package/src/theme/components/tag.ts +12 -12
- package/src/theme/components/textInput.ts +38 -38
- package/src/theme/components/toast.ts +6 -6
- package/src/theme/components/toolbar.ts +3 -2
- package/src/theme/components/typography.ts +4 -3
- package/src/theme/global/colors/global.ts +32 -0
- package/src/theme/global/colors/legacySystemPalette.ts +53 -0
- package/src/theme/global/colors/swag.ts +21 -35
- package/src/theme/global/colors/types.ts +46 -27
- package/src/theme/global/colors/work.ts +10 -9
- package/types/components/Icon/HeroIcon/index.d.ts +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Toast/__tests__/index.spec.d.ts +1 -0
- package/types/components/Toolbar/ToolbarItem.d.ts +1 -1
- package/types/components/Typography/Text/StyledText.d.ts +1 -1
- package/types/components/Typography/Text/index.d.ts +1 -1
- package/types/theme/components/empty.d.ts +0 -1
- package/types/theme/components/icon.d.ts +1 -0
- package/types/theme/components/spinner.d.ts +1 -4
- package/types/theme/components/toolbar.d.ts +1 -0
- package/types/theme/components/typography.d.ts +1 -0
- package/types/theme/global/colors/global.d.ts +3 -0
- package/types/theme/global/colors/legacySystemPalette.d.ts +3 -0
- package/types/theme/global/colors/types.d.ts +41 -21
- package/types/theme/global/index.d.ts +28 -20
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "7.22.
|
|
3
|
+
"version": "7.22.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@emotion/native": "^11.9.3",
|
|
22
22
|
"@emotion/react": "^11.9.3",
|
|
23
|
-
"@hero-design/colors": "7.22.
|
|
23
|
+
"@hero-design/colors": "7.22.3",
|
|
24
24
|
"date-fns": "^2.16.1",
|
|
25
25
|
"events": "^3.2.0",
|
|
26
26
|
"hero-editor": "^1.9.9"
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"@types/react-native": "^0.67.7",
|
|
58
58
|
"@types/react-native-vector-icons": "^6.4.10",
|
|
59
59
|
"babel-plugin-inline-import": "^3.0.0",
|
|
60
|
-
"eslint-config-hd": "7.22.
|
|
60
|
+
"eslint-config-hd": "7.22.3",
|
|
61
61
|
"jest": "^27.3.1",
|
|
62
62
|
"react": "17.0.2",
|
|
63
63
|
"react-native": "0.65.1",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"rollup-plugin-copy": "^3.4.0",
|
|
71
71
|
"rollup-plugin-flow": "^1.1.1",
|
|
72
72
|
"ts-jest": "^27.0.7",
|
|
73
|
-
"prettier-config-hd": "7.22.
|
|
73
|
+
"prettier-config-hd": "7.22.3"
|
|
74
74
|
},
|
|
75
75
|
"prettier": "prettier-config-hd"
|
|
76
76
|
}
|
|
@@ -58,13 +58,13 @@ exports[`AccordionItem renders correctly when header is an element 1`] = `
|
|
|
58
58
|
style={
|
|
59
59
|
Array [
|
|
60
60
|
Object {
|
|
61
|
-
"color": "#
|
|
61
|
+
"color": "#401960",
|
|
62
62
|
"fontSize": 20,
|
|
63
63
|
},
|
|
64
64
|
undefined,
|
|
65
65
|
]
|
|
66
66
|
}
|
|
67
|
-
themeIntent="
|
|
67
|
+
themeIntent="secondary"
|
|
68
68
|
themeSize="small"
|
|
69
69
|
/>
|
|
70
70
|
</View>
|
|
@@ -190,13 +190,13 @@ exports[`AccordionItem renders correctly when header is string 1`] = `
|
|
|
190
190
|
style={
|
|
191
191
|
Array [
|
|
192
192
|
Object {
|
|
193
|
-
"color": "#
|
|
193
|
+
"color": "#401960",
|
|
194
194
|
"fontSize": 20,
|
|
195
195
|
},
|
|
196
196
|
undefined,
|
|
197
197
|
]
|
|
198
198
|
}
|
|
199
|
-
themeIntent="
|
|
199
|
+
themeIntent="secondary"
|
|
200
200
|
themeSize="small"
|
|
201
201
|
/>
|
|
202
202
|
</View>
|
|
@@ -322,13 +322,13 @@ exports[`AccordionItem renders correctly when open 1`] = `
|
|
|
322
322
|
style={
|
|
323
323
|
Array [
|
|
324
324
|
Object {
|
|
325
|
-
"color": "#
|
|
325
|
+
"color": "#401960",
|
|
326
326
|
"fontSize": 20,
|
|
327
327
|
},
|
|
328
328
|
undefined,
|
|
329
329
|
]
|
|
330
330
|
}
|
|
331
|
-
themeIntent="
|
|
331
|
+
themeIntent="secondary"
|
|
332
332
|
themeSize="small"
|
|
333
333
|
/>
|
|
334
334
|
</View>
|
|
@@ -454,13 +454,13 @@ exports[`AccordionItem renders correctly when variant is card 1`] = `
|
|
|
454
454
|
style={
|
|
455
455
|
Array [
|
|
456
456
|
Object {
|
|
457
|
-
"color": "#
|
|
457
|
+
"color": "#401960",
|
|
458
458
|
"fontSize": 20,
|
|
459
459
|
},
|
|
460
460
|
undefined,
|
|
461
461
|
]
|
|
462
462
|
}
|
|
463
|
-
themeIntent="
|
|
463
|
+
themeIntent="secondary"
|
|
464
464
|
themeSize="small"
|
|
465
465
|
/>
|
|
466
466
|
</View>
|
|
@@ -66,13 +66,13 @@ exports[`Accordion allows fully controlled 1`] = `
|
|
|
66
66
|
style={
|
|
67
67
|
Array [
|
|
68
68
|
Object {
|
|
69
|
-
"color": "#
|
|
69
|
+
"color": "#401960",
|
|
70
70
|
"fontSize": 20,
|
|
71
71
|
},
|
|
72
72
|
undefined,
|
|
73
73
|
]
|
|
74
74
|
}
|
|
75
|
-
themeIntent="
|
|
75
|
+
themeIntent="secondary"
|
|
76
76
|
themeSize="small"
|
|
77
77
|
/>
|
|
78
78
|
</View>
|
|
@@ -195,13 +195,13 @@ exports[`Accordion allows fully controlled 1`] = `
|
|
|
195
195
|
style={
|
|
196
196
|
Array [
|
|
197
197
|
Object {
|
|
198
|
-
"color": "#
|
|
198
|
+
"color": "#401960",
|
|
199
199
|
"fontSize": 20,
|
|
200
200
|
},
|
|
201
201
|
undefined,
|
|
202
202
|
]
|
|
203
203
|
}
|
|
204
|
-
themeIntent="
|
|
204
|
+
themeIntent="secondary"
|
|
205
205
|
themeSize="small"
|
|
206
206
|
/>
|
|
207
207
|
</View>
|
|
@@ -336,13 +336,13 @@ exports[`Accordion renders correctly 1`] = `
|
|
|
336
336
|
style={
|
|
337
337
|
Array [
|
|
338
338
|
Object {
|
|
339
|
-
"color": "#
|
|
339
|
+
"color": "#401960",
|
|
340
340
|
"fontSize": 20,
|
|
341
341
|
},
|
|
342
342
|
undefined,
|
|
343
343
|
]
|
|
344
344
|
}
|
|
345
|
-
themeIntent="
|
|
345
|
+
themeIntent="secondary"
|
|
346
346
|
themeSize="small"
|
|
347
347
|
/>
|
|
348
348
|
</View>
|
|
@@ -465,13 +465,13 @@ exports[`Accordion renders correctly 1`] = `
|
|
|
465
465
|
style={
|
|
466
466
|
Array [
|
|
467
467
|
Object {
|
|
468
|
-
"color": "#
|
|
468
|
+
"color": "#401960",
|
|
469
469
|
"fontSize": 20,
|
|
470
470
|
},
|
|
471
471
|
undefined,
|
|
472
472
|
]
|
|
473
473
|
}
|
|
474
|
-
themeIntent="
|
|
474
|
+
themeIntent="secondary"
|
|
475
475
|
themeSize="small"
|
|
476
476
|
/>
|
|
477
477
|
</View>
|
|
@@ -606,13 +606,13 @@ exports[`Accordion renders correctly when variant is card 1`] = `
|
|
|
606
606
|
style={
|
|
607
607
|
Array [
|
|
608
608
|
Object {
|
|
609
|
-
"color": "#
|
|
609
|
+
"color": "#401960",
|
|
610
610
|
"fontSize": 20,
|
|
611
611
|
},
|
|
612
612
|
undefined,
|
|
613
613
|
]
|
|
614
614
|
}
|
|
615
|
-
themeIntent="
|
|
615
|
+
themeIntent="secondary"
|
|
616
616
|
themeSize="small"
|
|
617
617
|
/>
|
|
618
618
|
</View>
|
|
@@ -746,13 +746,13 @@ exports[`Accordion renders correctly when variant is card 1`] = `
|
|
|
746
746
|
style={
|
|
747
747
|
Array [
|
|
748
748
|
Object {
|
|
749
|
-
"color": "#
|
|
749
|
+
"color": "#401960",
|
|
750
750
|
"fontSize": 20,
|
|
751
751
|
},
|
|
752
752
|
undefined,
|
|
753
753
|
]
|
|
754
754
|
}
|
|
755
|
-
themeIntent="
|
|
755
|
+
themeIntent="secondary"
|
|
756
756
|
themeSize="small"
|
|
757
757
|
/>
|
|
758
758
|
</View>
|
|
@@ -35,7 +35,7 @@ exports[`StyledPressable renders correct style 1`] = `
|
|
|
35
35
|
onStartShouldSetResponder={[Function]}
|
|
36
36
|
style={
|
|
37
37
|
Object {
|
|
38
|
-
"borderColor": "#
|
|
38
|
+
"borderColor": "#001f23",
|
|
39
39
|
"borderRadius": 999,
|
|
40
40
|
"borderWidth": 1,
|
|
41
41
|
"height": 32,
|
|
@@ -52,7 +52,7 @@ exports[`StyledText renders correct style 1`] = `
|
|
|
52
52
|
style={
|
|
53
53
|
Array [
|
|
54
54
|
Object {
|
|
55
|
-
"color": "#
|
|
55
|
+
"color": "#001f23",
|
|
56
56
|
"fontSize": 16,
|
|
57
57
|
"overflow": "hidden",
|
|
58
58
|
},
|
|
@@ -71,7 +71,7 @@ exports[`StyledView renders correct style 1`] = `
|
|
|
71
71
|
style={
|
|
72
72
|
Array [
|
|
73
73
|
Object {
|
|
74
|
-
"borderColor": "#
|
|
74
|
+
"borderColor": "#001f23",
|
|
75
75
|
"borderRadius": 999,
|
|
76
76
|
"borderWidth": 1,
|
|
77
77
|
"height": 32,
|
|
@@ -5,7 +5,7 @@ exports[`Avatar renders correctly 1`] = `
|
|
|
5
5
|
style={
|
|
6
6
|
Array [
|
|
7
7
|
Object {
|
|
8
|
-
"borderColor": "#
|
|
8
|
+
"borderColor": "#001f23",
|
|
9
9
|
"borderRadius": 999,
|
|
10
10
|
"borderWidth": 1,
|
|
11
11
|
"height": 32,
|
|
@@ -55,7 +55,7 @@ exports[`Avatar trigger press function correctly 1`] = `
|
|
|
55
55
|
onStartShouldSetResponder={[Function]}
|
|
56
56
|
style={
|
|
57
57
|
Object {
|
|
58
|
-
"borderColor": "#
|
|
58
|
+
"borderColor": "#001f23",
|
|
59
59
|
"borderRadius": 999,
|
|
60
60
|
"borderWidth": 1,
|
|
61
61
|
"height": 32,
|
|
@@ -123,7 +123,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
123
123
|
style={
|
|
124
124
|
Array [
|
|
125
125
|
Object {
|
|
126
|
-
"color": "#
|
|
126
|
+
"color": "#001f23",
|
|
127
127
|
"fontSize": 24,
|
|
128
128
|
},
|
|
129
129
|
undefined,
|
|
@@ -138,7 +138,7 @@ exports[`BottomNavigation renders correctly 1`] = `
|
|
|
138
138
|
style={
|
|
139
139
|
Array [
|
|
140
140
|
Object {
|
|
141
|
-
"color": "#
|
|
141
|
+
"color": "#001f23",
|
|
142
142
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
143
143
|
"fontSize": 12,
|
|
144
144
|
"letterSpacing": 0.36,
|
|
@@ -125,7 +125,7 @@ exports[`StyledLoadingIndicator has outlined-secondary style 1`] = `
|
|
|
125
125
|
style={
|
|
126
126
|
Array [
|
|
127
127
|
Object {
|
|
128
|
-
"backgroundColor": "#
|
|
128
|
+
"backgroundColor": "#401960",
|
|
129
129
|
"borderRadius": 8,
|
|
130
130
|
"height": 12,
|
|
131
131
|
"marginBottom": 4,
|
|
@@ -185,7 +185,7 @@ exports[`StyledLoadingIndicator has text-secondary style 1`] = `
|
|
|
185
185
|
style={
|
|
186
186
|
Array [
|
|
187
187
|
Object {
|
|
188
|
-
"backgroundColor": "#
|
|
188
|
+
"backgroundColor": "#401960",
|
|
189
189
|
"borderRadius": 8,
|
|
190
190
|
"height": 12,
|
|
191
191
|
"marginBottom": 4,
|
|
@@ -762,7 +762,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-second
|
|
|
762
762
|
style={
|
|
763
763
|
Array [
|
|
764
764
|
Object {
|
|
765
|
-
"backgroundColor": "#
|
|
765
|
+
"backgroundColor": "#401960",
|
|
766
766
|
"borderRadius": 8,
|
|
767
767
|
"height": 12,
|
|
768
768
|
"marginBottom": 4,
|
|
@@ -796,7 +796,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-second
|
|
|
796
796
|
style={
|
|
797
797
|
Array [
|
|
798
798
|
Object {
|
|
799
|
-
"backgroundColor": "#
|
|
799
|
+
"backgroundColor": "#401960",
|
|
800
800
|
"borderRadius": 8,
|
|
801
801
|
"height": 12,
|
|
802
802
|
"marginBottom": 4,
|
|
@@ -830,7 +830,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is outlined-second
|
|
|
830
830
|
style={
|
|
831
831
|
Array [
|
|
832
832
|
Object {
|
|
833
|
-
"backgroundColor": "#
|
|
833
|
+
"backgroundColor": "#401960",
|
|
834
834
|
"borderRadius": 8,
|
|
835
835
|
"height": 12,
|
|
836
836
|
"marginBottom": 4,
|
|
@@ -1125,7 +1125,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-secondary
|
|
|
1125
1125
|
style={
|
|
1126
1126
|
Array [
|
|
1127
1127
|
Object {
|
|
1128
|
-
"backgroundColor": "#
|
|
1128
|
+
"backgroundColor": "#401960",
|
|
1129
1129
|
"borderRadius": 8,
|
|
1130
1130
|
"height": 12,
|
|
1131
1131
|
"marginBottom": 4,
|
|
@@ -1159,7 +1159,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-secondary
|
|
|
1159
1159
|
style={
|
|
1160
1160
|
Array [
|
|
1161
1161
|
Object {
|
|
1162
|
-
"backgroundColor": "#
|
|
1162
|
+
"backgroundColor": "#401960",
|
|
1163
1163
|
"borderRadius": 8,
|
|
1164
1164
|
"height": 12,
|
|
1165
1165
|
"marginBottom": 4,
|
|
@@ -1193,7 +1193,7 @@ exports[`LoadingIndicator renders correctly when themeVariant is text-secondary
|
|
|
1193
1193
|
style={
|
|
1194
1194
|
Array [
|
|
1195
1195
|
Object {
|
|
1196
|
-
"backgroundColor": "#
|
|
1196
|
+
"backgroundColor": "#401960",
|
|
1197
1197
|
"borderRadius": 8,
|
|
1198
1198
|
"height": 12,
|
|
1199
1199
|
"marginBottom": 4,
|
|
@@ -115,7 +115,7 @@ exports[`StyledButtonContainer has filled-secondary style 1`] = `
|
|
|
115
115
|
Object {
|
|
116
116
|
"alignItems": "center",
|
|
117
117
|
"alignSelf": "stretch",
|
|
118
|
-
"backgroundColor": "#
|
|
118
|
+
"backgroundColor": "#401960",
|
|
119
119
|
"borderRadius": 32,
|
|
120
120
|
"flexDirection": "row",
|
|
121
121
|
"justifyContent": "center",
|
|
@@ -216,7 +216,7 @@ exports[`StyledButtonContainer has outlined-secondary style 1`] = `
|
|
|
216
216
|
"alignItems": "center",
|
|
217
217
|
"alignSelf": "stretch",
|
|
218
218
|
"backgroundColor": "transparent",
|
|
219
|
-
"borderColor": "#
|
|
219
|
+
"borderColor": "#401960",
|
|
220
220
|
"borderRadius": 32,
|
|
221
221
|
"borderWidth": 2,
|
|
222
222
|
"flexDirection": "row",
|
|
@@ -284,7 +284,7 @@ exports[`StyledButtonContainer has pressed with the correct variant filled-dange
|
|
|
284
284
|
Object {
|
|
285
285
|
"alignItems": "center",
|
|
286
286
|
"alignSelf": "stretch",
|
|
287
|
-
"backgroundColor": "#
|
|
287
|
+
"backgroundColor": "#de350b",
|
|
288
288
|
"borderRadius": 32,
|
|
289
289
|
"flexDirection": "row",
|
|
290
290
|
"justifyContent": "center",
|
|
@@ -316,7 +316,7 @@ exports[`StyledButtonContainer has pressed with the correct variant filled-prima
|
|
|
316
316
|
Object {
|
|
317
317
|
"alignItems": "center",
|
|
318
318
|
"alignSelf": "stretch",
|
|
319
|
-
"backgroundColor": "#
|
|
319
|
+
"backgroundColor": "#4d6265",
|
|
320
320
|
"borderRadius": 32,
|
|
321
321
|
"flexDirection": "row",
|
|
322
322
|
"justifyContent": "center",
|
|
@@ -348,7 +348,7 @@ exports[`StyledButtonContainer has pressed with the correct variant filled-secon
|
|
|
348
348
|
Object {
|
|
349
349
|
"alignItems": "center",
|
|
350
350
|
"alignSelf": "stretch",
|
|
351
|
-
"backgroundColor": "#
|
|
351
|
+
"backgroundColor": "#401960",
|
|
352
352
|
"borderRadius": 32,
|
|
353
353
|
"flexDirection": "row",
|
|
354
354
|
"justifyContent": "center",
|
|
@@ -381,7 +381,7 @@ exports[`StyledButtonContainer has pressed with the correct variant outlined-dan
|
|
|
381
381
|
"alignItems": "center",
|
|
382
382
|
"alignSelf": "stretch",
|
|
383
383
|
"backgroundColor": "transparent",
|
|
384
|
-
"borderColor": "#
|
|
384
|
+
"borderColor": "#de350b",
|
|
385
385
|
"borderRadius": 32,
|
|
386
386
|
"borderWidth": 2,
|
|
387
387
|
"flexDirection": "row",
|
|
@@ -415,7 +415,7 @@ exports[`StyledButtonContainer has pressed with the correct variant outlined-pri
|
|
|
415
415
|
"alignItems": "center",
|
|
416
416
|
"alignSelf": "stretch",
|
|
417
417
|
"backgroundColor": "transparent",
|
|
418
|
-
"borderColor": "#
|
|
418
|
+
"borderColor": "#4d6265",
|
|
419
419
|
"borderRadius": 32,
|
|
420
420
|
"borderWidth": 2,
|
|
421
421
|
"flexDirection": "row",
|
|
@@ -449,7 +449,7 @@ exports[`StyledButtonContainer has pressed with the correct variant outlined-sec
|
|
|
449
449
|
"alignItems": "center",
|
|
450
450
|
"alignSelf": "stretch",
|
|
451
451
|
"backgroundColor": "transparent",
|
|
452
|
-
"borderColor": "#
|
|
452
|
+
"borderColor": "#401960",
|
|
453
453
|
"borderRadius": 32,
|
|
454
454
|
"borderWidth": 2,
|
|
455
455
|
"flexDirection": "row",
|
|
@@ -834,7 +834,7 @@ exports[`StyledButtonIcon has outlined-secondary style 1`] = `
|
|
|
834
834
|
},
|
|
835
835
|
Array [
|
|
836
836
|
Object {
|
|
837
|
-
"color": "#
|
|
837
|
+
"color": "#401960",
|
|
838
838
|
"fontSize": 18,
|
|
839
839
|
"lineHeight": 24,
|
|
840
840
|
},
|
|
@@ -950,7 +950,7 @@ exports[`StyledButtonIcon has pressed with the correct variant outlined-danger s
|
|
|
950
950
|
},
|
|
951
951
|
Array [
|
|
952
952
|
Object {
|
|
953
|
-
"color": "#
|
|
953
|
+
"color": "#de350b",
|
|
954
954
|
"fontSize": 18,
|
|
955
955
|
"lineHeight": 24,
|
|
956
956
|
},
|
|
@@ -974,7 +974,7 @@ exports[`StyledButtonIcon has pressed with the correct variant outlined-primary
|
|
|
974
974
|
},
|
|
975
975
|
Array [
|
|
976
976
|
Object {
|
|
977
|
-
"color": "#
|
|
977
|
+
"color": "#4d6265",
|
|
978
978
|
"fontSize": 18,
|
|
979
979
|
"lineHeight": 24,
|
|
980
980
|
},
|
|
@@ -998,7 +998,7 @@ exports[`StyledButtonIcon has pressed with the correct variant outlined-secondar
|
|
|
998
998
|
},
|
|
999
999
|
Array [
|
|
1000
1000
|
Object {
|
|
1001
|
-
"color": "#
|
|
1001
|
+
"color": "#401960",
|
|
1002
1002
|
"fontSize": 18,
|
|
1003
1003
|
"lineHeight": 24,
|
|
1004
1004
|
},
|
|
@@ -1022,7 +1022,7 @@ exports[`StyledButtonIcon has pressed with the correct variant text-danger style
|
|
|
1022
1022
|
},
|
|
1023
1023
|
Array [
|
|
1024
1024
|
Object {
|
|
1025
|
-
"color": "#
|
|
1025
|
+
"color": "#de350b",
|
|
1026
1026
|
"fontSize": 16,
|
|
1027
1027
|
"lineHeight": 24,
|
|
1028
1028
|
},
|
|
@@ -1046,7 +1046,7 @@ exports[`StyledButtonIcon has pressed with the correct variant text-primary styl
|
|
|
1046
1046
|
},
|
|
1047
1047
|
Array [
|
|
1048
1048
|
Object {
|
|
1049
|
-
"color": "#
|
|
1049
|
+
"color": "#4d6265",
|
|
1050
1050
|
"fontSize": 16,
|
|
1051
1051
|
"lineHeight": 24,
|
|
1052
1052
|
},
|
|
@@ -1070,7 +1070,7 @@ exports[`StyledButtonIcon has pressed with the correct variant text-secondary st
|
|
|
1070
1070
|
},
|
|
1071
1071
|
Array [
|
|
1072
1072
|
Object {
|
|
1073
|
-
"color": "#
|
|
1073
|
+
"color": "#401960",
|
|
1074
1074
|
"fontSize": 16,
|
|
1075
1075
|
"lineHeight": 24,
|
|
1076
1076
|
},
|
|
@@ -1142,7 +1142,7 @@ exports[`StyledButtonIcon has text-secondary style 1`] = `
|
|
|
1142
1142
|
},
|
|
1143
1143
|
Array [
|
|
1144
1144
|
Object {
|
|
1145
|
-
"color": "#
|
|
1145
|
+
"color": "#401960",
|
|
1146
1146
|
"fontSize": 16,
|
|
1147
1147
|
"lineHeight": 24,
|
|
1148
1148
|
},
|
|
@@ -1417,7 +1417,7 @@ exports[`StyledButtonText has outlined-secondary style 1`] = `
|
|
|
1417
1417
|
},
|
|
1418
1418
|
Array [
|
|
1419
1419
|
Object {
|
|
1420
|
-
"color": "#
|
|
1420
|
+
"color": "#401960",
|
|
1421
1421
|
"flexShrink": 1,
|
|
1422
1422
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1423
1423
|
"fontSize": 18,
|
|
@@ -1587,7 +1587,7 @@ exports[`StyledButtonText has pressed with the correct variant outlined-danger s
|
|
|
1587
1587
|
},
|
|
1588
1588
|
Array [
|
|
1589
1589
|
Object {
|
|
1590
|
-
"color": "#
|
|
1590
|
+
"color": "#de350b",
|
|
1591
1591
|
"flexShrink": 1,
|
|
1592
1592
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1593
1593
|
"fontSize": 18,
|
|
@@ -1621,7 +1621,7 @@ exports[`StyledButtonText has pressed with the correct variant outlined-primary
|
|
|
1621
1621
|
},
|
|
1622
1622
|
Array [
|
|
1623
1623
|
Object {
|
|
1624
|
-
"color": "#
|
|
1624
|
+
"color": "#4d6265",
|
|
1625
1625
|
"flexShrink": 1,
|
|
1626
1626
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1627
1627
|
"fontSize": 18,
|
|
@@ -1655,7 +1655,7 @@ exports[`StyledButtonText has pressed with the correct variant outlined-secondar
|
|
|
1655
1655
|
},
|
|
1656
1656
|
Array [
|
|
1657
1657
|
Object {
|
|
1658
|
-
"color": "#
|
|
1658
|
+
"color": "#401960",
|
|
1659
1659
|
"flexShrink": 1,
|
|
1660
1660
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1661
1661
|
"fontSize": 18,
|
|
@@ -1689,7 +1689,7 @@ exports[`StyledButtonText has pressed with the correct variant text-danger style
|
|
|
1689
1689
|
},
|
|
1690
1690
|
Array [
|
|
1691
1691
|
Object {
|
|
1692
|
-
"color": "#
|
|
1692
|
+
"color": "#de350b",
|
|
1693
1693
|
"flexShrink": 1,
|
|
1694
1694
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1695
1695
|
"fontSize": 16,
|
|
@@ -1723,7 +1723,7 @@ exports[`StyledButtonText has pressed with the correct variant text-primary styl
|
|
|
1723
1723
|
},
|
|
1724
1724
|
Array [
|
|
1725
1725
|
Object {
|
|
1726
|
-
"color": "#
|
|
1726
|
+
"color": "#4d6265",
|
|
1727
1727
|
"flexShrink": 1,
|
|
1728
1728
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1729
1729
|
"fontSize": 16,
|
|
@@ -1757,7 +1757,7 @@ exports[`StyledButtonText has pressed with the correct variant text-secondary st
|
|
|
1757
1757
|
},
|
|
1758
1758
|
Array [
|
|
1759
1759
|
Object {
|
|
1760
|
-
"color": "#
|
|
1760
|
+
"color": "#401960",
|
|
1761
1761
|
"flexShrink": 1,
|
|
1762
1762
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1763
1763
|
"fontSize": 16,
|
|
@@ -1856,7 +1856,7 @@ exports[`StyledButtonText has text-secondary style 1`] = `
|
|
|
1856
1856
|
},
|
|
1857
1857
|
Array [
|
|
1858
1858
|
Object {
|
|
1859
|
-
"color": "#
|
|
1859
|
+
"color": "#401960",
|
|
1860
1860
|
"flexShrink": 1,
|
|
1861
1861
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
1862
1862
|
"fontSize": 16,
|
|
@@ -65,7 +65,7 @@ exports[`CalendarRowItem renders correctly 1`] = `
|
|
|
65
65
|
style={
|
|
66
66
|
Array [
|
|
67
67
|
Object {
|
|
68
|
-
"backgroundColor": "#
|
|
68
|
+
"backgroundColor": "#001f23",
|
|
69
69
|
"borderRadius": 999,
|
|
70
70
|
"bottom": "10%",
|
|
71
71
|
"height": 4,
|
|
@@ -128,7 +128,7 @@ exports[`CalendarRowItem renders correctly 2`] = `
|
|
|
128
128
|
style={
|
|
129
129
|
Array [
|
|
130
130
|
Object {
|
|
131
|
-
"color": "#
|
|
131
|
+
"color": "#4d6265",
|
|
132
132
|
"fontFamily": "BeVietnamPro-Regular",
|
|
133
133
|
"fontSize": 14,
|
|
134
134
|
"letterSpacing": 0.42,
|
|
@@ -147,7 +147,7 @@ exports[`CalendarRowItem renders correctly 2`] = `
|
|
|
147
147
|
style={
|
|
148
148
|
Array [
|
|
149
149
|
Object {
|
|
150
|
-
"backgroundColor": "#
|
|
150
|
+
"backgroundColor": "#001f23",
|
|
151
151
|
"borderRadius": 999,
|
|
152
152
|
"bottom": "10%",
|
|
153
153
|
"height": 4,
|
|
@@ -195,7 +195,7 @@ exports[`CalendarRowItem renders correctly when is current date 1`] = `
|
|
|
195
195
|
style={
|
|
196
196
|
Object {
|
|
197
197
|
"alignItems": "center",
|
|
198
|
-
"backgroundColor": "#
|
|
198
|
+
"backgroundColor": "#001f23",
|
|
199
199
|
"borderColor": "#001f23",
|
|
200
200
|
"borderRadius": 999,
|
|
201
201
|
"borderWidth": 0,
|
|
@@ -277,7 +277,7 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
277
277
|
style={
|
|
278
278
|
Object {
|
|
279
279
|
"alignItems": "center",
|
|
280
|
-
"backgroundColor": "#
|
|
280
|
+
"backgroundColor": "#001f23",
|
|
281
281
|
"borderColor": "#001f23",
|
|
282
282
|
"borderRadius": 999,
|
|
283
283
|
"borderWidth": 0,
|
|
@@ -359,7 +359,7 @@ exports[`CalendarRowItem renders correctly when selected, and is current date eq
|
|
|
359
359
|
style={
|
|
360
360
|
Object {
|
|
361
361
|
"alignItems": "center",
|
|
362
|
-
"backgroundColor": "#
|
|
362
|
+
"backgroundColor": "#001f23",
|
|
363
363
|
"borderColor": "#001f23",
|
|
364
364
|
"borderRadius": 999,
|
|
365
365
|
"borderWidth": 0,
|
|
@@ -5,7 +5,7 @@ exports[`Indicator renders correctly when intent is archived 1`] = `
|
|
|
5
5
|
style={
|
|
6
6
|
Array [
|
|
7
7
|
Object {
|
|
8
|
-
"backgroundColor": "#
|
|
8
|
+
"backgroundColor": "#ccced1",
|
|
9
9
|
"height": "100%",
|
|
10
10
|
"width": 16,
|
|
11
11
|
},
|
|
@@ -21,7 +21,7 @@ exports[`Indicator renders correctly when intent is danger 1`] = `
|
|
|
21
21
|
style={
|
|
22
22
|
Array [
|
|
23
23
|
Object {
|
|
24
|
-
"backgroundColor": "#
|
|
24
|
+
"backgroundColor": "#f46363",
|
|
25
25
|
"height": "100%",
|
|
26
26
|
"width": 16,
|
|
27
27
|
},
|
|
@@ -53,7 +53,7 @@ exports[`Indicator renders correctly when intent is primary 1`] = `
|
|
|
53
53
|
style={
|
|
54
54
|
Array [
|
|
55
55
|
Object {
|
|
56
|
-
"backgroundColor": "#
|
|
56
|
+
"backgroundColor": "#001f23",
|
|
57
57
|
"height": "100%",
|
|
58
58
|
"width": 16,
|
|
59
59
|
},
|
|
@@ -17,7 +17,7 @@ exports[`DataCard renders correctly when intent is archived 1`] = `
|
|
|
17
17
|
style={
|
|
18
18
|
Array [
|
|
19
19
|
Object {
|
|
20
|
-
"backgroundColor": "#
|
|
20
|
+
"backgroundColor": "#ccced1",
|
|
21
21
|
"height": "100%",
|
|
22
22
|
"width": 16,
|
|
23
23
|
},
|
|
@@ -47,7 +47,7 @@ exports[`DataCard renders correctly when intent is danger 1`] = `
|
|
|
47
47
|
style={
|
|
48
48
|
Array [
|
|
49
49
|
Object {
|
|
50
|
-
"backgroundColor": "#
|
|
50
|
+
"backgroundColor": "#f46363",
|
|
51
51
|
"height": "100%",
|
|
52
52
|
"width": 16,
|
|
53
53
|
},
|