@drivy/cobalt 0.26.3 → 0.28.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/cjs/tokens/colors.js +13 -1
- package/cjs/tokens/colors.js.map +1 -1
- package/cjs/tokens/palette.js +14 -1
- package/cjs/tokens/palette.js.map +1 -1
- package/cjs/tokens/theme.js +18 -8
- package/cjs/tokens/theme.js.map +1 -1
- package/package.json +4 -4
- package/styles/components/Buttons/index.scss +1 -1
- package/styles/components/Form/Autocomplete/index.scss +1 -3
- package/styles/components/Form/CheckablePill.scss +25 -30
- package/styles/components/Form/Checkmark.scss +19 -34
- package/styles/components/Form/Fieldset.scss +3 -3
- package/styles/components/Form/Hint.scss +4 -7
- package/styles/components/Form/RadioWithDetails.scss +20 -21
- package/styles/components/Form/Select.scss +2 -1
- package/styles/components/Form/Slider.scss +16 -12
- package/styles/components/Form/Stepper.scss +5 -7
- package/styles/components/Form/TextArea.scss +3 -3
- package/styles/components/Form/TextInput.scss +9 -8
- package/styles/components/Form/ToggleSwitch.scss +16 -18
- package/styles/components/Form/field.scss +1 -1
- package/styles/components/Form/form.scss +14 -45
- package/styles/components/Icon/iconColors.scss +8 -8
- package/styles/components/Modal/index.scss +1 -1
- package/styles/core/_colors-map.scss +18 -8
- package/styles/core/palette.scss +13 -0
- package/styles/core/theme.scss +14 -6
- package/styles/core/typography.scss +0 -174
- package/styles/core.scss +0 -1
- package/styles/global.scss +0 -1
- package/tokens/colors.js +10 -2
- package/tokens/colors.js.map +1 -1
- package/tokens/palette.js +14 -2
- package/tokens/palette.js.map +1 -1
- package/tokens/theme.js +18 -8
- package/tokens/theme.js.map +1 -1
- package/types/components/Icon/index.d.ts +1 -1
- package/types/tokens/index.d.ts +31 -6
- package/utilities.css +194 -14
- package/styles/core/card.scss +0 -31
- package/styles/global/typography.scss +0 -78
package/utilities.css
CHANGED
|
@@ -2125,6 +2125,22 @@
|
|
|
2125
2125
|
border-color: #ffd988
|
|
2126
2126
|
}
|
|
2127
2127
|
|
|
2128
|
+
.c-border-deprecatedSeasonLow {
|
|
2129
|
+
border-color: #BDFFAC
|
|
2130
|
+
}
|
|
2131
|
+
|
|
2132
|
+
.c-border-deprecatedSeasonMedium {
|
|
2133
|
+
border-color: #94EA84
|
|
2134
|
+
}
|
|
2135
|
+
|
|
2136
|
+
.c-border-deprecatedSeasonHigh {
|
|
2137
|
+
border-color: #73C865
|
|
2138
|
+
}
|
|
2139
|
+
|
|
2140
|
+
.c-border-deprecatedSeasonVeryHigh {
|
|
2141
|
+
border-color: #54A949
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2128
2144
|
.c-border-current {
|
|
2129
2145
|
border-color: currentColor
|
|
2130
2146
|
}
|
|
@@ -2217,6 +2233,22 @@
|
|
|
2217
2233
|
border-color: #ffd988
|
|
2218
2234
|
}
|
|
2219
2235
|
|
|
2236
|
+
.hover\:c-border-deprecatedSeasonLow:hover {
|
|
2237
|
+
border-color: #BDFFAC
|
|
2238
|
+
}
|
|
2239
|
+
|
|
2240
|
+
.hover\:c-border-deprecatedSeasonMedium:hover {
|
|
2241
|
+
border-color: #94EA84
|
|
2242
|
+
}
|
|
2243
|
+
|
|
2244
|
+
.hover\:c-border-deprecatedSeasonHigh:hover {
|
|
2245
|
+
border-color: #73C865
|
|
2246
|
+
}
|
|
2247
|
+
|
|
2248
|
+
.hover\:c-border-deprecatedSeasonVeryHigh:hover {
|
|
2249
|
+
border-color: #54A949
|
|
2250
|
+
}
|
|
2251
|
+
|
|
2220
2252
|
.hover\:c-border-current:hover {
|
|
2221
2253
|
border-color: currentColor
|
|
2222
2254
|
}
|
|
@@ -2309,6 +2341,22 @@
|
|
|
2309
2341
|
border-color: #ffd988
|
|
2310
2342
|
}
|
|
2311
2343
|
|
|
2344
|
+
.focus\:c-border-deprecatedSeasonLow:focus {
|
|
2345
|
+
border-color: #BDFFAC
|
|
2346
|
+
}
|
|
2347
|
+
|
|
2348
|
+
.focus\:c-border-deprecatedSeasonMedium:focus {
|
|
2349
|
+
border-color: #94EA84
|
|
2350
|
+
}
|
|
2351
|
+
|
|
2352
|
+
.focus\:c-border-deprecatedSeasonHigh:focus {
|
|
2353
|
+
border-color: #73C865
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
.focus\:c-border-deprecatedSeasonVeryHigh:focus {
|
|
2357
|
+
border-color: #54A949
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2312
2360
|
.focus\:c-border-current:focus {
|
|
2313
2361
|
border-color: currentColor
|
|
2314
2362
|
}
|
|
@@ -2401,6 +2449,22 @@
|
|
|
2401
2449
|
background-color: #ffd988
|
|
2402
2450
|
}
|
|
2403
2451
|
|
|
2452
|
+
.c-bg-deprecatedSeasonLow {
|
|
2453
|
+
background-color: #BDFFAC
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
.c-bg-deprecatedSeasonMedium {
|
|
2457
|
+
background-color: #94EA84
|
|
2458
|
+
}
|
|
2459
|
+
|
|
2460
|
+
.c-bg-deprecatedSeasonHigh {
|
|
2461
|
+
background-color: #73C865
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
.c-bg-deprecatedSeasonVeryHigh {
|
|
2465
|
+
background-color: #54A949
|
|
2466
|
+
}
|
|
2467
|
+
|
|
2404
2468
|
.c-bg-current {
|
|
2405
2469
|
background-color: currentColor
|
|
2406
2470
|
}
|
|
@@ -2493,6 +2557,22 @@
|
|
|
2493
2557
|
background-color: #ffd988
|
|
2494
2558
|
}
|
|
2495
2559
|
|
|
2560
|
+
.hover\:c-bg-deprecatedSeasonLow:hover {
|
|
2561
|
+
background-color: #BDFFAC
|
|
2562
|
+
}
|
|
2563
|
+
|
|
2564
|
+
.hover\:c-bg-deprecatedSeasonMedium:hover {
|
|
2565
|
+
background-color: #94EA84
|
|
2566
|
+
}
|
|
2567
|
+
|
|
2568
|
+
.hover\:c-bg-deprecatedSeasonHigh:hover {
|
|
2569
|
+
background-color: #73C865
|
|
2570
|
+
}
|
|
2571
|
+
|
|
2572
|
+
.hover\:c-bg-deprecatedSeasonVeryHigh:hover {
|
|
2573
|
+
background-color: #54A949
|
|
2574
|
+
}
|
|
2575
|
+
|
|
2496
2576
|
.hover\:c-bg-current:hover {
|
|
2497
2577
|
background-color: currentColor
|
|
2498
2578
|
}
|
|
@@ -2585,6 +2665,22 @@
|
|
|
2585
2665
|
background-color: #ffd988
|
|
2586
2666
|
}
|
|
2587
2667
|
|
|
2668
|
+
.focus\:c-bg-deprecatedSeasonLow:focus {
|
|
2669
|
+
background-color: #BDFFAC
|
|
2670
|
+
}
|
|
2671
|
+
|
|
2672
|
+
.focus\:c-bg-deprecatedSeasonMedium:focus {
|
|
2673
|
+
background-color: #94EA84
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
.focus\:c-bg-deprecatedSeasonHigh:focus {
|
|
2677
|
+
background-color: #73C865
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2680
|
+
.focus\:c-bg-deprecatedSeasonVeryHigh:focus {
|
|
2681
|
+
background-color: #54A949
|
|
2682
|
+
}
|
|
2683
|
+
|
|
2588
2684
|
.focus\:c-bg-current:focus {
|
|
2589
2685
|
background-color: currentColor
|
|
2590
2686
|
}
|
|
@@ -3089,6 +3185,22 @@
|
|
|
3089
3185
|
color: #ffd988
|
|
3090
3186
|
}
|
|
3091
3187
|
|
|
3188
|
+
.c-text-deprecatedSeasonLow {
|
|
3189
|
+
color: #BDFFAC
|
|
3190
|
+
}
|
|
3191
|
+
|
|
3192
|
+
.c-text-deprecatedSeasonMedium {
|
|
3193
|
+
color: #94EA84
|
|
3194
|
+
}
|
|
3195
|
+
|
|
3196
|
+
.c-text-deprecatedSeasonHigh {
|
|
3197
|
+
color: #73C865
|
|
3198
|
+
}
|
|
3199
|
+
|
|
3200
|
+
.c-text-deprecatedSeasonVeryHigh {
|
|
3201
|
+
color: #54A949
|
|
3202
|
+
}
|
|
3203
|
+
|
|
3092
3204
|
.c-text-transparent {
|
|
3093
3205
|
color: transparent
|
|
3094
3206
|
}
|
|
@@ -3181,6 +3293,22 @@
|
|
|
3181
3293
|
color: #ffd988
|
|
3182
3294
|
}
|
|
3183
3295
|
|
|
3296
|
+
.hover\:c-text-deprecatedSeasonLow:hover {
|
|
3297
|
+
color: #BDFFAC
|
|
3298
|
+
}
|
|
3299
|
+
|
|
3300
|
+
.hover\:c-text-deprecatedSeasonMedium:hover {
|
|
3301
|
+
color: #94EA84
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
.hover\:c-text-deprecatedSeasonHigh:hover {
|
|
3305
|
+
color: #73C865
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
.hover\:c-text-deprecatedSeasonVeryHigh:hover {
|
|
3309
|
+
color: #54A949
|
|
3310
|
+
}
|
|
3311
|
+
|
|
3184
3312
|
.hover\:c-text-transparent:hover {
|
|
3185
3313
|
color: transparent
|
|
3186
3314
|
}
|
|
@@ -3273,6 +3401,22 @@
|
|
|
3273
3401
|
color: #ffd988
|
|
3274
3402
|
}
|
|
3275
3403
|
|
|
3404
|
+
.focus\:c-text-deprecatedSeasonLow:focus {
|
|
3405
|
+
color: #BDFFAC
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3408
|
+
.focus\:c-text-deprecatedSeasonMedium:focus {
|
|
3409
|
+
color: #94EA84
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3412
|
+
.focus\:c-text-deprecatedSeasonHigh:focus {
|
|
3413
|
+
color: #73C865
|
|
3414
|
+
}
|
|
3415
|
+
|
|
3416
|
+
.focus\:c-text-deprecatedSeasonVeryHigh:focus {
|
|
3417
|
+
color: #54A949
|
|
3418
|
+
}
|
|
3419
|
+
|
|
3276
3420
|
.focus\:c-text-transparent:focus {
|
|
3277
3421
|
color: transparent
|
|
3278
3422
|
}
|
|
@@ -3746,6 +3890,26 @@
|
|
|
3746
3890
|
border-color: #333
|
|
3747
3891
|
}
|
|
3748
3892
|
|
|
3893
|
+
.c-border-strong {
|
|
3894
|
+
border-color: #a49da7
|
|
3895
|
+
}
|
|
3896
|
+
|
|
3897
|
+
.c-border-strongInteractive {
|
|
3898
|
+
border-color: #a49da7
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
.c-border-strongInteractive:hover {
|
|
3902
|
+
border-color: #757575
|
|
3903
|
+
}
|
|
3904
|
+
|
|
3905
|
+
.c-border-strongInteractive:focus {
|
|
3906
|
+
border-color: #757575
|
|
3907
|
+
}
|
|
3908
|
+
|
|
3909
|
+
.c-border-strongInteractive:active {
|
|
3910
|
+
border-color: #333
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3749
3913
|
.c-border-subdued {
|
|
3750
3914
|
border-color: #edebed
|
|
3751
3915
|
}
|
|
@@ -3914,6 +4078,22 @@
|
|
|
3914
4078
|
background-color: #f8f7f8
|
|
3915
4079
|
}
|
|
3916
4080
|
|
|
4081
|
+
.c-bg-seasonLow {
|
|
4082
|
+
background-color: #BDFFAC
|
|
4083
|
+
}
|
|
4084
|
+
|
|
4085
|
+
.c-bg-seasonMedium {
|
|
4086
|
+
background-color: #94EA84
|
|
4087
|
+
}
|
|
4088
|
+
|
|
4089
|
+
.c-bg-seasonHigh {
|
|
4090
|
+
background-color: #73C865
|
|
4091
|
+
}
|
|
4092
|
+
|
|
4093
|
+
.c-bg-seasonVeryHigh {
|
|
4094
|
+
background-color: #54A949
|
|
4095
|
+
}
|
|
4096
|
+
|
|
3917
4097
|
.c-bg-fill-base {
|
|
3918
4098
|
background-color: #333
|
|
3919
4099
|
}
|
|
@@ -3938,22 +4118,22 @@
|
|
|
3938
4118
|
background-color: #ff7378
|
|
3939
4119
|
}
|
|
3940
4120
|
|
|
3941
|
-
.c-bg-fill-success {
|
|
3942
|
-
background-color: #00da94
|
|
3943
|
-
}
|
|
3944
|
-
|
|
3945
4121
|
.c-bg-fill-negative {
|
|
3946
4122
|
background-color: #ff7378
|
|
3947
4123
|
}
|
|
3948
4124
|
|
|
3949
|
-
.c-bg-fill-
|
|
3950
|
-
background-color: #
|
|
4125
|
+
.c-bg-fill-success {
|
|
4126
|
+
background-color: #00da94
|
|
3951
4127
|
}
|
|
3952
4128
|
|
|
3953
4129
|
.c-bg-fill-disabled {
|
|
3954
4130
|
background-color: #a49da7
|
|
3955
4131
|
}
|
|
3956
4132
|
|
|
4133
|
+
.c-bg-fill-neutral {
|
|
4134
|
+
background-color: #f8f7f8
|
|
4135
|
+
}
|
|
4136
|
+
|
|
3957
4137
|
.c-text-base {
|
|
3958
4138
|
color: #333
|
|
3959
4139
|
}
|
|
@@ -4022,6 +4202,10 @@
|
|
|
4022
4202
|
color: #757575
|
|
4023
4203
|
}
|
|
4024
4204
|
|
|
4205
|
+
.c-text-infoAlt {
|
|
4206
|
+
color: #5ecbdd
|
|
4207
|
+
}
|
|
4208
|
+
|
|
4025
4209
|
.c-text-error {
|
|
4026
4210
|
color: #ff7378
|
|
4027
4211
|
}
|
|
@@ -4038,6 +4222,10 @@
|
|
|
4038
4222
|
color: #fff
|
|
4039
4223
|
}
|
|
4040
4224
|
|
|
4225
|
+
.c-text-warning {
|
|
4226
|
+
color: #ffa484
|
|
4227
|
+
}
|
|
4228
|
+
|
|
4041
4229
|
.c-text-connect {
|
|
4042
4230
|
color: #5ecbdd
|
|
4043
4231
|
}
|
|
@@ -4050,14 +4238,6 @@
|
|
|
4050
4238
|
color: #fff
|
|
4051
4239
|
}
|
|
4052
4240
|
|
|
4053
|
-
.c-text-warning {
|
|
4054
|
-
color: #ffa484
|
|
4055
|
-
}
|
|
4056
|
-
|
|
4057
|
-
.c-text-infoAlt {
|
|
4058
|
-
color: #5ecbdd
|
|
4059
|
-
}
|
|
4060
|
-
|
|
4061
4241
|
.c-text-inversed {
|
|
4062
4242
|
color: #fff
|
|
4063
4243
|
}
|
package/styles/core/card.scss
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
$card-strip-width: 3px;
|
|
2
|
-
|
|
3
|
-
// To deprecate
|
|
4
|
-
@mixin card-strip($variant: gradient) {
|
|
5
|
-
position: relative;
|
|
6
|
-
|
|
7
|
-
&:before {
|
|
8
|
-
position: absolute;
|
|
9
|
-
left: 0;
|
|
10
|
-
top: 0;
|
|
11
|
-
bottom: 0;
|
|
12
|
-
|
|
13
|
-
display: block;
|
|
14
|
-
width: $card-strip-width;
|
|
15
|
-
|
|
16
|
-
border-top-left-radius: inherit;
|
|
17
|
-
border-bottom-left-radius: inherit;
|
|
18
|
-
|
|
19
|
-
content: "";
|
|
20
|
-
|
|
21
|
-
@if $variant == turquoise {
|
|
22
|
-
background-color: color(turquoise);
|
|
23
|
-
} @else if $variant == green {
|
|
24
|
-
background-color: color(green);
|
|
25
|
-
} @else if $variant == red {
|
|
26
|
-
background-color: color(red);
|
|
27
|
-
} @else {
|
|
28
|
-
@error "Card strip variant `#{$variant}` not found.";
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
.cobalt- {
|
|
2
|
-
@mixin title-shared-styles {
|
|
3
|
-
&.cobalt-text--subdued {
|
|
4
|
-
@include text-style--titleSubdued;
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin body-shared-styles {
|
|
9
|
-
&.cobalt-text--subdued {
|
|
10
|
-
@include text-style--bodySubdued;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&.cobalt-text--inversed {
|
|
14
|
-
@include text-style--bodyInversed;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
&.cobalt-text--emphasized,
|
|
18
|
-
.cobalt-text--emphasized {
|
|
19
|
-
font-weight: 600;
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&text-heroHeading {
|
|
24
|
-
@include text-style-hero-heading;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&text-heroSubheading {
|
|
28
|
-
@include text-style-hero-subheading;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&text-titleExtraLarge {
|
|
32
|
-
@include text-style-title-extralarge;
|
|
33
|
-
@include title-shared-styles;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&text-titleLarge {
|
|
37
|
-
@include text-style-title-large;
|
|
38
|
-
@include title-shared-styles;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&text-title {
|
|
42
|
-
@include text-style-title;
|
|
43
|
-
@include title-shared-styles;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&text-titleSmall {
|
|
47
|
-
@include text-style-title-small;
|
|
48
|
-
@include title-shared-styles;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&text-titleTiny {
|
|
52
|
-
@include text-style-title-tiny;
|
|
53
|
-
@include title-shared-styles;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&text-bodyLarge {
|
|
57
|
-
@include text-style-body-large;
|
|
58
|
-
@include body-shared-styles;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&text-body {
|
|
62
|
-
@include text-style-body;
|
|
63
|
-
@include body-shared-styles;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&text-bodySmall {
|
|
67
|
-
@include text-style-body-small;
|
|
68
|
-
@include body-shared-styles;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&text-caption {
|
|
72
|
-
@include text-style-caption;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&text-sectionHeader {
|
|
76
|
-
@include c-text-section-heading;
|
|
77
|
-
}
|
|
78
|
-
}
|