@hero-design/rn 8.34.2 → 8.34.4
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 +43 -16
- package/lib/index.js +43 -16
- package/package.json +7 -7
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +3 -3
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -1
- 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__/Button.spec.tsx.snap +4 -4
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +6 -6
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -1
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +4 -4
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +6 -6
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +7 -7
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
- package/src/components/Swipeable/index.tsx +6 -1
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +6 -6
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +2 -2
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +2 -2
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +9 -9
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +7 -7
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +20 -20
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +1 -1
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +1 -1
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +1 -1
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +1 -1
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +3 -3
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +39 -36
- package/src/theme/components/swipeable.ts +5 -1
- package/src/theme/components/typography.ts +2 -2
- package/src/theme/global/colors/__tests__/__snapshots__/eBens.spec.ts.snap +7 -7
- package/src/theme/global/colors/__tests__/__snapshots__/global.spec.ts.snap +5 -5
- package/src/theme/global/colors/__tests__/__snapshots__/jobs.spec.ts.snap +6 -6
- package/src/theme/global/colors/__tests__/__snapshots__/swag.spec.ts.snap +6 -6
- package/src/theme/global/colors/__tests__/__snapshots__/wallet.spec.ts.snap +7 -7
- package/src/theme/global/colors/__tests__/__snapshots__/work.spec.ts.snap +5 -5
- package/src/theme/global/colors/eBens.ts +2 -2
- package/src/theme/global/colors/global.ts +5 -5
- package/src/theme/global/colors/jobs.ts +1 -1
- package/src/theme/global/colors/swag.ts +1 -1
- package/src/theme/global/colors/wallet.ts +2 -2
- package/types/components/Swipeable/index.d.ts +1 -1
- package/types/theme/components/swipeable.d.ts +3 -0
|
@@ -343,7 +343,7 @@ exports[`StyledAsteriskLabel renders correctly with themeState default 1`] = `
|
|
|
343
343
|
},
|
|
344
344
|
Array [
|
|
345
345
|
Object {
|
|
346
|
-
"color": "#
|
|
346
|
+
"color": "#cb300a",
|
|
347
347
|
"lineHeight": 12,
|
|
348
348
|
},
|
|
349
349
|
undefined,
|
|
@@ -401,7 +401,7 @@ exports[`StyledAsteriskLabel renders correctly with themeState error 1`] = `
|
|
|
401
401
|
},
|
|
402
402
|
Array [
|
|
403
403
|
Object {
|
|
404
|
-
"color": "#
|
|
404
|
+
"color": "#cb300a",
|
|
405
405
|
"lineHeight": 12,
|
|
406
406
|
},
|
|
407
407
|
undefined,
|
|
@@ -430,7 +430,7 @@ exports[`StyledAsteriskLabel renders correctly with themeState filled 1`] = `
|
|
|
430
430
|
},
|
|
431
431
|
Array [
|
|
432
432
|
Object {
|
|
433
|
-
"color": "#
|
|
433
|
+
"color": "#cb300a",
|
|
434
434
|
"lineHeight": 12,
|
|
435
435
|
},
|
|
436
436
|
undefined,
|
|
@@ -479,7 +479,7 @@ exports[`StyledBorderBackDrop renders correctly when focused 1`] = `
|
|
|
479
479
|
style={
|
|
480
480
|
Array [
|
|
481
481
|
Object {
|
|
482
|
-
"borderColor": "#
|
|
482
|
+
"borderColor": "#cb300a",
|
|
483
483
|
"borderRadius": 8,
|
|
484
484
|
"borderWidth": 2,
|
|
485
485
|
"bottom": 0,
|
|
@@ -545,7 +545,7 @@ exports[`StyledBorderBackDrop renders correctly with themeState error 1`] = `
|
|
|
545
545
|
style={
|
|
546
546
|
Array [
|
|
547
547
|
Object {
|
|
548
|
-
"borderColor": "#
|
|
548
|
+
"borderColor": "#cb300a",
|
|
549
549
|
"borderRadius": 8,
|
|
550
550
|
"borderWidth": 1,
|
|
551
551
|
"bottom": 0,
|
|
@@ -620,7 +620,7 @@ exports[`StyledErrorMessage renders correctly 1`] = `
|
|
|
620
620
|
},
|
|
621
621
|
Array [
|
|
622
622
|
Object {
|
|
623
|
-
"color": "#
|
|
623
|
+
"color": "#cb300a",
|
|
624
624
|
"marginLeft": 4,
|
|
625
625
|
},
|
|
626
626
|
undefined,
|
|
@@ -763,7 +763,7 @@ exports[`StyledMaxLengthMessage renders correctly with themeState error 1`] = `
|
|
|
763
763
|
Array [
|
|
764
764
|
Object {
|
|
765
765
|
"alignSelf": "flex-end",
|
|
766
|
-
"color": "#
|
|
766
|
+
"color": "#cb300a",
|
|
767
767
|
"flex": 1,
|
|
768
768
|
"flexGrow": 1,
|
|
769
769
|
"marginRight": 4,
|
|
@@ -85,7 +85,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
|
|
|
85
85
|
},
|
|
86
86
|
Array [
|
|
87
87
|
Object {
|
|
88
|
-
"color": "#
|
|
88
|
+
"color": "#cb300a",
|
|
89
89
|
"lineHeight": 12,
|
|
90
90
|
},
|
|
91
91
|
undefined,
|
|
@@ -360,7 +360,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
|
|
|
360
360
|
},
|
|
361
361
|
Array [
|
|
362
362
|
Object {
|
|
363
|
-
"color": "#
|
|
363
|
+
"color": "#cb300a",
|
|
364
364
|
"lineHeight": 12,
|
|
365
365
|
},
|
|
366
366
|
undefined,
|
|
@@ -634,7 +634,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
|
|
|
634
634
|
},
|
|
635
635
|
Array [
|
|
636
636
|
Object {
|
|
637
|
-
"color": "#
|
|
637
|
+
"color": "#cb300a",
|
|
638
638
|
"lineHeight": 12,
|
|
639
639
|
},
|
|
640
640
|
undefined,
|
|
@@ -1062,7 +1062,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1062
1062
|
style={
|
|
1063
1063
|
Array [
|
|
1064
1064
|
Object {
|
|
1065
|
-
"borderColor": "#
|
|
1065
|
+
"borderColor": "#cb300a",
|
|
1066
1066
|
"borderRadius": 8,
|
|
1067
1067
|
"borderWidth": 1,
|
|
1068
1068
|
"bottom": 0,
|
|
@@ -1144,7 +1144,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1144
1144
|
},
|
|
1145
1145
|
Array [
|
|
1146
1146
|
Object {
|
|
1147
|
-
"color": "#
|
|
1147
|
+
"color": "#cb300a",
|
|
1148
1148
|
},
|
|
1149
1149
|
undefined,
|
|
1150
1150
|
],
|
|
@@ -1267,7 +1267,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1267
1267
|
style={
|
|
1268
1268
|
Array [
|
|
1269
1269
|
Object {
|
|
1270
|
-
"color": "#
|
|
1270
|
+
"color": "#cb300a",
|
|
1271
1271
|
"fontSize": 16,
|
|
1272
1272
|
},
|
|
1273
1273
|
undefined,
|
|
@@ -1290,7 +1290,7 @@ exports[`TextInput error renders correctly 1`] = `
|
|
|
1290
1290
|
},
|
|
1291
1291
|
Array [
|
|
1292
1292
|
Object {
|
|
1293
|
-
"color": "#
|
|
1293
|
+
"color": "#cb300a",
|
|
1294
1294
|
"marginLeft": 4,
|
|
1295
1295
|
},
|
|
1296
1296
|
undefined,
|
|
@@ -1632,7 +1632,7 @@ exports[`TextInput helper text renders correctly 1`] = `
|
|
|
1632
1632
|
},
|
|
1633
1633
|
Array [
|
|
1634
1634
|
Object {
|
|
1635
|
-
"color": "#
|
|
1635
|
+
"color": "#cb300a",
|
|
1636
1636
|
},
|
|
1637
1637
|
undefined,
|
|
1638
1638
|
],
|
|
@@ -2086,7 +2086,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
|
|
|
2086
2086
|
},
|
|
2087
2087
|
Array [
|
|
2088
2088
|
Object {
|
|
2089
|
-
"color": "#
|
|
2089
|
+
"color": "#cb300a",
|
|
2090
2090
|
},
|
|
2091
2091
|
undefined,
|
|
2092
2092
|
],
|
|
@@ -2415,7 +2415,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2415
2415
|
style={
|
|
2416
2416
|
Array [
|
|
2417
2417
|
Object {
|
|
2418
|
-
"borderColor": "#
|
|
2418
|
+
"borderColor": "#cb300a",
|
|
2419
2419
|
"borderRadius": 8,
|
|
2420
2420
|
"borderWidth": 1,
|
|
2421
2421
|
"bottom": 0,
|
|
@@ -2469,7 +2469,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2469
2469
|
},
|
|
2470
2470
|
Array [
|
|
2471
2471
|
Object {
|
|
2472
|
-
"color": "#
|
|
2472
|
+
"color": "#cb300a",
|
|
2473
2473
|
"lineHeight": 12,
|
|
2474
2474
|
},
|
|
2475
2475
|
undefined,
|
|
@@ -2607,7 +2607,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2607
2607
|
style={
|
|
2608
2608
|
Array [
|
|
2609
2609
|
Object {
|
|
2610
|
-
"color": "#
|
|
2610
|
+
"color": "#cb300a",
|
|
2611
2611
|
"fontSize": 16,
|
|
2612
2612
|
},
|
|
2613
2613
|
undefined,
|
|
@@ -2630,7 +2630,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2630
2630
|
},
|
|
2631
2631
|
Array [
|
|
2632
2632
|
Object {
|
|
2633
|
-
"color": "#
|
|
2633
|
+
"color": "#cb300a",
|
|
2634
2634
|
"marginLeft": 4,
|
|
2635
2635
|
},
|
|
2636
2636
|
undefined,
|
|
@@ -2658,7 +2658,7 @@ exports[`TextInput max length renders correctly 1`] = `
|
|
|
2658
2658
|
Array [
|
|
2659
2659
|
Object {
|
|
2660
2660
|
"alignSelf": "flex-end",
|
|
2661
|
-
"color": "#
|
|
2661
|
+
"color": "#cb300a",
|
|
2662
2662
|
"flex": 1,
|
|
2663
2663
|
"flexGrow": 1,
|
|
2664
2664
|
"marginRight": 4,
|
|
@@ -2712,7 +2712,7 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
|
|
|
2712
2712
|
style={
|
|
2713
2713
|
Array [
|
|
2714
2714
|
Object {
|
|
2715
|
-
"borderColor": "#
|
|
2715
|
+
"borderColor": "#cb300a",
|
|
2716
2716
|
"borderRadius": 8,
|
|
2717
2717
|
"borderWidth": 1,
|
|
2718
2718
|
"bottom": 0,
|
|
@@ -2766,7 +2766,7 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
|
|
|
2766
2766
|
},
|
|
2767
2767
|
Array [
|
|
2768
2768
|
Object {
|
|
2769
|
-
"color": "#
|
|
2769
|
+
"color": "#cb300a",
|
|
2770
2770
|
"lineHeight": 12,
|
|
2771
2771
|
},
|
|
2772
2772
|
undefined,
|
|
@@ -2904,7 +2904,7 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
|
|
|
2904
2904
|
style={
|
|
2905
2905
|
Array [
|
|
2906
2906
|
Object {
|
|
2907
|
-
"color": "#
|
|
2907
|
+
"color": "#cb300a",
|
|
2908
2908
|
"fontSize": 16,
|
|
2909
2909
|
},
|
|
2910
2910
|
undefined,
|
|
@@ -2927,7 +2927,7 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
|
|
|
2927
2927
|
},
|
|
2928
2928
|
Array [
|
|
2929
2929
|
Object {
|
|
2930
|
-
"color": "#
|
|
2930
|
+
"color": "#cb300a",
|
|
2931
2931
|
"marginLeft": 4,
|
|
2932
2932
|
},
|
|
2933
2933
|
undefined,
|
|
@@ -3059,7 +3059,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
|
|
|
3059
3059
|
},
|
|
3060
3060
|
Array [
|
|
3061
3061
|
Object {
|
|
3062
|
-
"color": "#
|
|
3062
|
+
"color": "#cb300a",
|
|
3063
3063
|
},
|
|
3064
3064
|
undefined,
|
|
3065
3065
|
],
|
|
@@ -3716,7 +3716,7 @@ exports[`TextInput required renders correctly 1`] = `
|
|
|
3716
3716
|
},
|
|
3717
3717
|
Array [
|
|
3718
3718
|
Object {
|
|
3719
|
-
"color": "#
|
|
3719
|
+
"color": "#cb300a",
|
|
3720
3720
|
},
|
|
3721
3721
|
undefined,
|
|
3722
3722
|
],
|
|
@@ -174,7 +174,7 @@ exports[`ToolbarItems renders correctly when intent is info, icon is undefined,
|
|
|
174
174
|
style={
|
|
175
175
|
Array [
|
|
176
176
|
Object {
|
|
177
|
-
"color": "#
|
|
177
|
+
"color": "#355bfb",
|
|
178
178
|
"fontFamily": "BeVietnamPro-SemiBold",
|
|
179
179
|
"fontSize": 16,
|
|
180
180
|
"letterSpacing": 0.24,
|
|
@@ -6,7 +6,7 @@ exports[`Body has archived intent style 1`] = `
|
|
|
6
6
|
style={
|
|
7
7
|
Array [
|
|
8
8
|
Object {
|
|
9
|
-
"color": "#
|
|
9
|
+
"color": "#606065",
|
|
10
10
|
"fontFamily": "BeVietnamPro-Regular",
|
|
11
11
|
"fontSize": 16,
|
|
12
12
|
"letterSpacing": 0.48,
|
|
@@ -98,7 +98,7 @@ exports[`Body has info intent style 1`] = `
|
|
|
98
98
|
style={
|
|
99
99
|
Array [
|
|
100
100
|
Object {
|
|
101
|
-
"color": "#
|
|
101
|
+
"color": "#355bfb",
|
|
102
102
|
"fontFamily": "BeVietnamPro-Regular",
|
|
103
103
|
"fontSize": 16,
|
|
104
104
|
"letterSpacing": 0.48,
|
|
@@ -6,7 +6,7 @@ exports[`Caption has archived intent style 1`] = `
|
|
|
6
6
|
style={
|
|
7
7
|
Array [
|
|
8
8
|
Object {
|
|
9
|
-
"color": "#
|
|
9
|
+
"color": "#606065",
|
|
10
10
|
"fontFamily": "BeVietnamPro-Regular",
|
|
11
11
|
"fontSize": 12,
|
|
12
12
|
"letterSpacing": 0.48,
|
|
@@ -94,7 +94,7 @@ exports[`Caption has info intent style 1`] = `
|
|
|
94
94
|
style={
|
|
95
95
|
Array [
|
|
96
96
|
Object {
|
|
97
|
-
"color": "#
|
|
97
|
+
"color": "#355bfb",
|
|
98
98
|
"fontFamily": "BeVietnamPro-Regular",
|
|
99
99
|
"fontSize": 12,
|
|
100
100
|
"letterSpacing": 0.48,
|
|
@@ -6,7 +6,7 @@ exports[`Label has archived intent style 1`] = `
|
|
|
6
6
|
style={
|
|
7
7
|
Array [
|
|
8
8
|
Object {
|
|
9
|
-
"color": "#
|
|
9
|
+
"color": "#606065",
|
|
10
10
|
"fontSize": 10,
|
|
11
11
|
"letterSpacing": 0,
|
|
12
12
|
"lineHeight": 14,
|
|
@@ -86,7 +86,7 @@ exports[`Label has info intent style 1`] = `
|
|
|
86
86
|
style={
|
|
87
87
|
Array [
|
|
88
88
|
Object {
|
|
89
|
-
"color": "#
|
|
89
|
+
"color": "#355bfb",
|
|
90
90
|
"fontSize": 10,
|
|
91
91
|
"letterSpacing": 0,
|
|
92
92
|
"lineHeight": 14,
|
|
@@ -249,9 +249,9 @@ exports[`StyledTitle has h5 level and playful typeface style 1`] = `
|
|
|
249
249
|
Object {
|
|
250
250
|
"color": "#001f23",
|
|
251
251
|
"fontFamily": "RebondGrotesque-SemiBold",
|
|
252
|
-
"fontSize":
|
|
252
|
+
"fontSize": 18,
|
|
253
253
|
"letterSpacing": 0.24,
|
|
254
|
-
"lineHeight":
|
|
254
|
+
"lineHeight": 26,
|
|
255
255
|
},
|
|
256
256
|
undefined,
|
|
257
257
|
]
|
|
@@ -313,7 +313,7 @@ exports[`StyledTitle has info intent style 1`] = `
|
|
|
313
313
|
style={
|
|
314
314
|
Array [
|
|
315
315
|
Object {
|
|
316
|
-
"color": "#
|
|
316
|
+
"color": "#355bfb",
|
|
317
317
|
"fontFamily": "BeVietnamPro-Regular",
|
|
318
318
|
"fontSize": 18,
|
|
319
319
|
"letterSpacing": 0.48,
|
|
@@ -6,7 +6,7 @@ exports[`Title has archived intent style 1`] = `
|
|
|
6
6
|
style={
|
|
7
7
|
Array [
|
|
8
8
|
Object {
|
|
9
|
-
"color": "#
|
|
9
|
+
"color": "#606065",
|
|
10
10
|
"fontFamily": "BeVietnamPro-Regular",
|
|
11
11
|
"fontSize": 42,
|
|
12
12
|
"letterSpacing": 0,
|
|
@@ -307,9 +307,9 @@ exports[`Title has h5 level and playful typeface style 1`] = `
|
|
|
307
307
|
Object {
|
|
308
308
|
"color": "#001f23",
|
|
309
309
|
"fontFamily": "RebondGrotesque-SemiBold",
|
|
310
|
-
"fontSize":
|
|
310
|
+
"fontSize": 18,
|
|
311
311
|
"letterSpacing": 0.24,
|
|
312
|
-
"lineHeight":
|
|
312
|
+
"lineHeight": 26,
|
|
313
313
|
},
|
|
314
314
|
undefined,
|
|
315
315
|
]
|
|
@@ -374,7 +374,7 @@ exports[`Title has info intent style 1`] = `
|
|
|
374
374
|
style={
|
|
375
375
|
Array [
|
|
376
376
|
Object {
|
|
377
|
-
"color": "#
|
|
377
|
+
"color": "#355bfb",
|
|
378
378
|
"fontFamily": "BeVietnamPro-Regular",
|
|
379
379
|
"fontSize": 42,
|
|
380
380
|
"letterSpacing": 0,
|
|
@@ -108,13 +108,13 @@ Object {
|
|
|
108
108
|
},
|
|
109
109
|
"badge": Object {
|
|
110
110
|
"colors": Object {
|
|
111
|
-
"archived": "#
|
|
112
|
-
"danger": "#
|
|
113
|
-
"info": "#
|
|
111
|
+
"archived": "#606065",
|
|
112
|
+
"danger": "#cb300a",
|
|
113
|
+
"info": "#355bfb",
|
|
114
114
|
"primary": "#401960",
|
|
115
115
|
"success": "#017d6d",
|
|
116
116
|
"text": "#ffffff",
|
|
117
|
-
"warning": "#
|
|
117
|
+
"warning": "#ac5d00",
|
|
118
118
|
},
|
|
119
119
|
"fontSizes": Object {
|
|
120
120
|
"default": 12,
|
|
@@ -192,7 +192,7 @@ Object {
|
|
|
192
192
|
"default": 2,
|
|
193
193
|
},
|
|
194
194
|
"colors": Object {
|
|
195
|
-
"danger": "#
|
|
195
|
+
"danger": "#cb300a",
|
|
196
196
|
"defaultText": "#001f23",
|
|
197
197
|
"disabledBackground": "#bfc1c5",
|
|
198
198
|
"disabledBorder": "#bfc1c5",
|
|
@@ -200,8 +200,8 @@ Object {
|
|
|
200
200
|
"invertedText": "#ffffff",
|
|
201
201
|
"pressedBackground": Object {
|
|
202
202
|
"filledDanger": "#fcebe7",
|
|
203
|
-
"filledPrimary": "#
|
|
204
|
-
"filledSecondary": "#
|
|
203
|
+
"filledPrimary": "#33144d",
|
|
204
|
+
"filledSecondary": "#33144d",
|
|
205
205
|
"outlineDanger": "#fcebe7",
|
|
206
206
|
"outlinedPrimary": "#ece8ef",
|
|
207
207
|
"outlinedSecondary": "#ece8ef",
|
|
@@ -464,12 +464,12 @@ Object {
|
|
|
464
464
|
"fab": Object {
|
|
465
465
|
"colors": Object {
|
|
466
466
|
"actionItemBackground": "#795e90",
|
|
467
|
-
"actionItemPressedBackground": "#
|
|
467
|
+
"actionItemPressedBackground": "#33144d",
|
|
468
468
|
"actionItemText": "#ffffff",
|
|
469
469
|
"backdropBackground": "#000000",
|
|
470
|
-
"buttonActiveBackground": "#
|
|
470
|
+
"buttonActiveBackground": "#33144d",
|
|
471
471
|
"buttonBackground": "#401960",
|
|
472
|
-
"buttonPressedBackground": "#
|
|
472
|
+
"buttonPressedBackground": "#33144d",
|
|
473
473
|
"headerText": "#001f23",
|
|
474
474
|
"icon": "#ffffff",
|
|
475
475
|
"shadow": "#001f23",
|
|
@@ -524,7 +524,7 @@ Object {
|
|
|
524
524
|
},
|
|
525
525
|
"icon": Object {
|
|
526
526
|
"colors": Object {
|
|
527
|
-
"danger": "#
|
|
527
|
+
"danger": "#cb300a",
|
|
528
528
|
"disabledText": "#bfc1c5",
|
|
529
529
|
"info": "#b5c3fd",
|
|
530
530
|
"invertedText": "#ffffff",
|
|
@@ -612,7 +612,7 @@ Object {
|
|
|
612
612
|
"colors": Object {
|
|
613
613
|
"default": "#001f23",
|
|
614
614
|
"disabled": "#bfc1c5",
|
|
615
|
-
"error": "#
|
|
615
|
+
"error": "#cb300a",
|
|
616
616
|
"mask": "#001f23",
|
|
617
617
|
},
|
|
618
618
|
"fontSizes": Object {
|
|
@@ -644,7 +644,7 @@ Object {
|
|
|
644
644
|
"progress": Object {
|
|
645
645
|
"colors": Object {
|
|
646
646
|
"completeness": Object {
|
|
647
|
-
"archived": "#
|
|
647
|
+
"archived": "#606065",
|
|
648
648
|
"archivedInverted": "#ffffff",
|
|
649
649
|
"danger": "#f46363",
|
|
650
650
|
"dangerInverted": "#ffffff",
|
|
@@ -767,10 +767,10 @@ Object {
|
|
|
767
767
|
"skeleton": Object {
|
|
768
768
|
"colors": Object {
|
|
769
769
|
"darkBackground": "#ffffff",
|
|
770
|
-
"darkGradientEnd": "#
|
|
770
|
+
"darkGradientEnd": "#dadbde",
|
|
771
771
|
"darkGradientStart": "#ffffff",
|
|
772
772
|
"lightBackground": "#f6f6f7",
|
|
773
|
-
"lightGradientEnd": "#
|
|
773
|
+
"lightGradientEnd": "#dadbde",
|
|
774
774
|
"lightGradientStart": "#f6f6f7",
|
|
775
775
|
},
|
|
776
776
|
"radii": Object {
|
|
@@ -847,6 +847,9 @@ Object {
|
|
|
847
847
|
"primary": "#401960",
|
|
848
848
|
"success": "#5ace7d",
|
|
849
849
|
},
|
|
850
|
+
"radii": Object {
|
|
851
|
+
"swipeableContainer": 8,
|
|
852
|
+
},
|
|
850
853
|
},
|
|
851
854
|
"switch": Object {
|
|
852
855
|
"colors": Object {
|
|
@@ -916,18 +919,18 @@ Object {
|
|
|
916
919
|
"default": 1,
|
|
917
920
|
},
|
|
918
921
|
"colors": Object {
|
|
919
|
-
"archived": "#
|
|
920
|
-
"archivedBackground": "#
|
|
921
|
-
"danger": "#
|
|
922
|
+
"archived": "#606065",
|
|
923
|
+
"archivedBackground": "#dadbde",
|
|
924
|
+
"danger": "#cb300a",
|
|
922
925
|
"dangerBackground": "#fcebe7",
|
|
923
|
-
"info": "#
|
|
926
|
+
"info": "#355bfb",
|
|
924
927
|
"infoBackground": "#ecf0ff",
|
|
925
928
|
"primary": "#001f23",
|
|
926
929
|
"primaryBackground": undefined,
|
|
927
930
|
"success": "#017d6d",
|
|
928
931
|
"successBackground": "#f0fef4",
|
|
929
932
|
"text": "#001f23",
|
|
930
|
-
"warning": "#
|
|
933
|
+
"warning": "#ac5d00",
|
|
931
934
|
"warningBackground": "#fff6eb",
|
|
932
935
|
},
|
|
933
936
|
"fontSizes": Object {
|
|
@@ -956,21 +959,21 @@ Object {
|
|
|
956
959
|
},
|
|
957
960
|
"colors": Object {
|
|
958
961
|
"asterisks": Object {
|
|
959
|
-
"default": "#
|
|
962
|
+
"default": "#cb300a",
|
|
960
963
|
"disabled": "#bfc1c5",
|
|
961
|
-
"error": "#
|
|
962
|
-
"filled": "#
|
|
964
|
+
"error": "#cb300a",
|
|
965
|
+
"filled": "#cb300a",
|
|
963
966
|
"readonly": "#808f91",
|
|
964
967
|
},
|
|
965
968
|
"borders": Object {
|
|
966
969
|
"default": "#001f23",
|
|
967
970
|
"disabled": "#bfc1c5",
|
|
968
|
-
"error": "#
|
|
971
|
+
"error": "#cb300a",
|
|
969
972
|
"filled": "#001f23",
|
|
970
973
|
"readonly": "#808f91",
|
|
971
974
|
},
|
|
972
975
|
"containerBackground": "#ffffff",
|
|
973
|
-
"error": "#
|
|
976
|
+
"error": "#cb300a",
|
|
974
977
|
"labelBackground": "#ffffff",
|
|
975
978
|
"labels": Object {
|
|
976
979
|
"default": "#001f23",
|
|
@@ -989,7 +992,7 @@ Object {
|
|
|
989
992
|
"maxLengthLabels": Object {
|
|
990
993
|
"default": "#001f23",
|
|
991
994
|
"disabled": "#bfc1c5",
|
|
992
|
-
"error": "#
|
|
995
|
+
"error": "#cb300a",
|
|
993
996
|
"filled": "#001f23",
|
|
994
997
|
"readonly": "#808f91",
|
|
995
998
|
},
|
|
@@ -1107,11 +1110,11 @@ Object {
|
|
|
1107
1110
|
},
|
|
1108
1111
|
"typography": Object {
|
|
1109
1112
|
"colors": Object {
|
|
1110
|
-
"archived": "#
|
|
1113
|
+
"archived": "#606065",
|
|
1111
1114
|
"body": "#001f23",
|
|
1112
1115
|
"danger": "#f46363",
|
|
1113
1116
|
"disabled": "#bfc1c5",
|
|
1114
|
-
"info": "#
|
|
1117
|
+
"info": "#355bfb",
|
|
1115
1118
|
"inverted": "#ffffff",
|
|
1116
1119
|
"primary": "#401960",
|
|
1117
1120
|
"secondary": "#795e90",
|
|
@@ -1151,7 +1154,7 @@ Object {
|
|
|
1151
1154
|
"h2": 32,
|
|
1152
1155
|
"h3": 28,
|
|
1153
1156
|
"h4": 24,
|
|
1154
|
-
"h5":
|
|
1157
|
+
"h5": 18,
|
|
1155
1158
|
"h6": 16,
|
|
1156
1159
|
},
|
|
1157
1160
|
},
|
|
@@ -1267,7 +1270,7 @@ Object {
|
|
|
1267
1270
|
"h2": 40,
|
|
1268
1271
|
"h3": 36,
|
|
1269
1272
|
"h4": 32,
|
|
1270
|
-
"h5":
|
|
1273
|
+
"h5": 26,
|
|
1271
1274
|
"h6": 28,
|
|
1272
1275
|
},
|
|
1273
1276
|
},
|
|
@@ -1285,7 +1288,7 @@ Object {
|
|
|
1285
1288
|
},
|
|
1286
1289
|
"colors": Object {
|
|
1287
1290
|
"archived": "#abacaf",
|
|
1288
|
-
"archivedSurface": "#
|
|
1291
|
+
"archivedSurface": "#dadbde",
|
|
1289
1292
|
"darkGlobalSurface": "#001f23",
|
|
1290
1293
|
"decorativePrimary": "#ffffff",
|
|
1291
1294
|
"decorativePrimarySurface": "#ccd2d3",
|
|
@@ -1307,17 +1310,17 @@ Object {
|
|
|
1307
1310
|
"mutedSuccess": "#7bd897",
|
|
1308
1311
|
"mutedWarning": "#ffcb8d",
|
|
1309
1312
|
"neutralGlobalSurface": "#f6f6f7",
|
|
1310
|
-
"onArchivedSurface": "#
|
|
1313
|
+
"onArchivedSurface": "#606065",
|
|
1311
1314
|
"onDarkGlobalSurface": "#ffffff",
|
|
1312
1315
|
"onDefaultGlobalSurface": "#001f23",
|
|
1313
|
-
"onErrorSurface": "#
|
|
1314
|
-
"onInfoSurface": "#
|
|
1316
|
+
"onErrorSurface": "#cb300a",
|
|
1317
|
+
"onInfoSurface": "#355bfb",
|
|
1315
1318
|
"onPrimary": "#ffffff",
|
|
1316
1319
|
"onSecondary": "#ffffff",
|
|
1317
1320
|
"onSuccessSurface": "#017d6d",
|
|
1318
|
-
"onWarningSurface": "#
|
|
1321
|
+
"onWarningSurface": "#ac5d00",
|
|
1319
1322
|
"overlayGlobalSurface": "#000000",
|
|
1320
|
-
"pressedSurface": "#
|
|
1323
|
+
"pressedSurface": "#33144d",
|
|
1321
1324
|
"primary": "#401960",
|
|
1322
1325
|
"primaryOutline": "#001f23",
|
|
1323
1326
|
"secondary": "#795e90",
|
|
@@ -7,7 +7,11 @@ const getSwipeableTheme = (theme: GlobalTheme) => {
|
|
|
7
7
|
primary: theme.colors.primary,
|
|
8
8
|
};
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
const radii = {
|
|
11
|
+
swipeableContainer: theme.radii.medium,
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
return { colors, radii };
|
|
11
15
|
};
|
|
12
16
|
|
|
13
17
|
export default getSwipeableTheme;
|
|
@@ -42,7 +42,7 @@ const getTypographyTheme = (theme: GlobalTheme) => {
|
|
|
42
42
|
h2: theme.fontSizes.xxxxxlarge,
|
|
43
43
|
h3: theme.fontSizes.xxxxlarge,
|
|
44
44
|
h4: theme.fontSizes.xxxlarge,
|
|
45
|
-
h5: theme.fontSizes.
|
|
45
|
+
h5: theme.fontSizes.xlarge,
|
|
46
46
|
h6: theme.fontSizes.large,
|
|
47
47
|
},
|
|
48
48
|
},
|
|
@@ -85,7 +85,7 @@ const getTypographyTheme = (theme: GlobalTheme) => {
|
|
|
85
85
|
h2: theme.lineHeights.xxxxxlarge,
|
|
86
86
|
h3: theme.lineHeights.xxxxlarge,
|
|
87
87
|
h4: theme.lineHeights.xxxlarge,
|
|
88
|
-
h5: theme.lineHeights.
|
|
88
|
+
h5: theme.lineHeights.xlarge,
|
|
89
89
|
h6: theme.lineHeights.xxlarge,
|
|
90
90
|
},
|
|
91
91
|
},
|