@carbon/themes 10.33.0 → 10.35.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/es/index.js +110 -28
- package/index.scss +1 -0
- package/lib/index.js +160 -22
- package/package.json +7 -7
- package/scss/generated/_mixins.scss +157 -0
- package/scss/generated/_themes.scss +100 -2
- package/scss/generated/_tokens.scss +126 -2
- package/scss/modules/_tokens.scss +8 -0
- package/scss/modules/generated/_themes.scss +10 -2
- package/scss/modules/generated/_tokens.scss +227 -0
- package/src/g10.js +13 -2
- package/src/g100.js +11 -0
- package/src/g80.js +11 -0
- package/src/g90.js +11 -0
- package/src/tokens.js +4 -0
- package/src/v9.js +13 -1
- package/src/white.js +13 -2
- package/umd/index.js +160 -22
package/umd/index.js
CHANGED
|
@@ -8,29 +8,18 @@
|
|
|
8
8
|
|
|
9
9
|
var Color__default = /*#__PURE__*/_interopDefaultLegacy(Color);
|
|
10
10
|
|
|
11
|
-
function _defineProperty(obj, key, value) {
|
|
12
|
-
if (key in obj) {
|
|
13
|
-
Object.defineProperty(obj, key, {
|
|
14
|
-
value: value,
|
|
15
|
-
enumerable: true,
|
|
16
|
-
configurable: true,
|
|
17
|
-
writable: true
|
|
18
|
-
});
|
|
19
|
-
} else {
|
|
20
|
-
obj[key] = value;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
return obj;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
11
|
function ownKeys(object, enumerableOnly) {
|
|
27
12
|
var keys = Object.keys(object);
|
|
28
13
|
|
|
29
14
|
if (Object.getOwnPropertySymbols) {
|
|
30
15
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
16
|
+
|
|
17
|
+
if (enumerableOnly) {
|
|
18
|
+
symbols = symbols.filter(function (sym) {
|
|
19
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
|
|
34
23
|
keys.push.apply(keys, symbols);
|
|
35
24
|
}
|
|
36
25
|
|
|
@@ -57,6 +46,21 @@
|
|
|
57
46
|
return target;
|
|
58
47
|
}
|
|
59
48
|
|
|
49
|
+
function _defineProperty(obj, key, value) {
|
|
50
|
+
if (key in obj) {
|
|
51
|
+
Object.defineProperty(obj, key, {
|
|
52
|
+
value: value,
|
|
53
|
+
enumerable: true,
|
|
54
|
+
configurable: true,
|
|
55
|
+
writable: true
|
|
56
|
+
});
|
|
57
|
+
} else {
|
|
58
|
+
obj[key] = value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return obj;
|
|
62
|
+
}
|
|
63
|
+
|
|
60
64
|
/**
|
|
61
65
|
* Adjust a given token's lightness by a specified percentage
|
|
62
66
|
* Example: token = hsl(10, 10, 10);
|
|
@@ -107,7 +111,7 @@
|
|
|
107
111
|
var inverse01$5 = colors$1.white;
|
|
108
112
|
var inverse02$5 = colors$1.gray80;
|
|
109
113
|
var support01$5 = colors$1.red60;
|
|
110
|
-
var support02$5 = colors$1.
|
|
114
|
+
var support02$5 = colors$1.green60;
|
|
111
115
|
var support03$5 = colors$1.yellow;
|
|
112
116
|
var support04$5 = colors$1.blue70;
|
|
113
117
|
var inverseSupport01$5 = colors$1.red50;
|
|
@@ -152,6 +156,8 @@
|
|
|
152
156
|
var background$5 = uiBackground$5;
|
|
153
157
|
var layer$5 = ui01$5;
|
|
154
158
|
var layerAccent$5 = ui03$5;
|
|
159
|
+
var layerAccentActive$5 = colors$1.gray40;
|
|
160
|
+
var layerAccentHover$5 = adjustLightness(layerAccent$5, -6);
|
|
155
161
|
var field$5 = field01$5;
|
|
156
162
|
var backgroundInverse$5 = inverse02$5;
|
|
157
163
|
var backgroundBrand$5 = interactive01$5;
|
|
@@ -302,6 +308,8 @@
|
|
|
302
308
|
background: background$5,
|
|
303
309
|
layer: layer$5,
|
|
304
310
|
layerAccent: layerAccent$5,
|
|
311
|
+
layerAccentActive: layerAccentActive$5,
|
|
312
|
+
layerAccentHover: layerAccentHover$5,
|
|
305
313
|
field: field$5,
|
|
306
314
|
backgroundInverse: backgroundInverse$5,
|
|
307
315
|
backgroundBrand: backgroundBrand$5,
|
|
@@ -380,8 +388,11 @@
|
|
|
380
388
|
hoverField: hoverField$5,
|
|
381
389
|
danger: danger$5,
|
|
382
390
|
caption01: type.caption01,
|
|
391
|
+
caption02: type.caption02,
|
|
383
392
|
label01: type.label01,
|
|
393
|
+
label02: type.label02,
|
|
384
394
|
helperText01: type.helperText01,
|
|
395
|
+
helperText02: type.helperText02,
|
|
385
396
|
bodyShort01: type.bodyShort01,
|
|
386
397
|
bodyLong01: type.bodyLong01,
|
|
387
398
|
bodyShort02: type.bodyShort02,
|
|
@@ -439,6 +450,12 @@
|
|
|
439
450
|
container03: layout.container03,
|
|
440
451
|
container04: layout.container04,
|
|
441
452
|
container05: layout.container05,
|
|
453
|
+
sizeXSmall: layout.sizeXSmall,
|
|
454
|
+
sizeSmall: layout.sizeSmall,
|
|
455
|
+
sizeMedium: layout.sizeMedium,
|
|
456
|
+
sizeLarge: layout.sizeLarge,
|
|
457
|
+
sizeXLarge: layout.sizeXLarge,
|
|
458
|
+
size2XLarge: layout.size2XLarge,
|
|
442
459
|
iconSize01: layout.iconSize01,
|
|
443
460
|
iconSize02: layout.iconSize02
|
|
444
461
|
});
|
|
@@ -476,7 +493,7 @@
|
|
|
476
493
|
var inverse01$4 = colors$1.white;
|
|
477
494
|
var inverse02$4 = colors$1.gray80;
|
|
478
495
|
var support01$4 = colors$1.red60;
|
|
479
|
-
var support02$4 = colors$1.
|
|
496
|
+
var support02$4 = colors$1.green60;
|
|
480
497
|
var support03$4 = colors$1.yellow;
|
|
481
498
|
var support04$4 = colors$1.blue70;
|
|
482
499
|
var inverseSupport01$4 = colors$1.red50;
|
|
@@ -521,6 +538,8 @@
|
|
|
521
538
|
var background$4 = uiBackground$4;
|
|
522
539
|
var layer$4 = ui01$4;
|
|
523
540
|
var layerAccent$4 = ui03$4;
|
|
541
|
+
var layerAccentActive$4 = colors$1.gray40;
|
|
542
|
+
var layerAccentHover$4 = adjustLightness(layerAccent$4, -6);
|
|
524
543
|
var field$4 = field01$4;
|
|
525
544
|
var backgroundInverse$4 = inverse02$4;
|
|
526
545
|
var backgroundBrand$4 = interactive01$4;
|
|
@@ -671,6 +690,8 @@
|
|
|
671
690
|
background: background$4,
|
|
672
691
|
layer: layer$4,
|
|
673
692
|
layerAccent: layerAccent$4,
|
|
693
|
+
layerAccentActive: layerAccentActive$4,
|
|
694
|
+
layerAccentHover: layerAccentHover$4,
|
|
674
695
|
field: field$4,
|
|
675
696
|
backgroundInverse: backgroundInverse$4,
|
|
676
697
|
backgroundBrand: backgroundBrand$4,
|
|
@@ -749,8 +770,11 @@
|
|
|
749
770
|
hoverField: hoverField$4,
|
|
750
771
|
danger: danger$4,
|
|
751
772
|
caption01: type.caption01,
|
|
773
|
+
caption02: type.caption02,
|
|
752
774
|
label01: type.label01,
|
|
775
|
+
label02: type.label02,
|
|
753
776
|
helperText01: type.helperText01,
|
|
777
|
+
helperText02: type.helperText02,
|
|
754
778
|
bodyShort01: type.bodyShort01,
|
|
755
779
|
bodyLong01: type.bodyLong01,
|
|
756
780
|
bodyShort02: type.bodyShort02,
|
|
@@ -808,6 +832,12 @@
|
|
|
808
832
|
container03: layout.container03,
|
|
809
833
|
container04: layout.container04,
|
|
810
834
|
container05: layout.container05,
|
|
835
|
+
sizeXSmall: layout.sizeXSmall,
|
|
836
|
+
sizeSmall: layout.sizeSmall,
|
|
837
|
+
sizeMedium: layout.sizeMedium,
|
|
838
|
+
sizeLarge: layout.sizeLarge,
|
|
839
|
+
sizeXLarge: layout.sizeXLarge,
|
|
840
|
+
size2XLarge: layout.size2XLarge,
|
|
811
841
|
iconSize01: layout.iconSize01,
|
|
812
842
|
iconSize02: layout.iconSize02
|
|
813
843
|
});
|
|
@@ -890,6 +920,8 @@
|
|
|
890
920
|
var background$3 = uiBackground$3;
|
|
891
921
|
var layer$3 = ui01$3;
|
|
892
922
|
var layerAccent$3 = ui03$3;
|
|
923
|
+
var layerAccentActive$3 = colors$1.gray60;
|
|
924
|
+
var layerAccentHover$3 = adjustLightness(layerAccent$3, +6);
|
|
893
925
|
var field$3 = field01$3;
|
|
894
926
|
var backgroundInverse$3 = inverse02$3;
|
|
895
927
|
var backgroundBrand$3 = interactive01$3;
|
|
@@ -1040,6 +1072,8 @@
|
|
|
1040
1072
|
background: background$3,
|
|
1041
1073
|
layer: layer$3,
|
|
1042
1074
|
layerAccent: layerAccent$3,
|
|
1075
|
+
layerAccentActive: layerAccentActive$3,
|
|
1076
|
+
layerAccentHover: layerAccentHover$3,
|
|
1043
1077
|
field: field$3,
|
|
1044
1078
|
backgroundInverse: backgroundInverse$3,
|
|
1045
1079
|
backgroundBrand: backgroundBrand$3,
|
|
@@ -1118,8 +1152,11 @@
|
|
|
1118
1152
|
hoverField: hoverField$3,
|
|
1119
1153
|
danger: danger$3,
|
|
1120
1154
|
caption01: type.caption01,
|
|
1155
|
+
caption02: type.caption02,
|
|
1121
1156
|
label01: type.label01,
|
|
1157
|
+
label02: type.label02,
|
|
1122
1158
|
helperText01: type.helperText01,
|
|
1159
|
+
helperText02: type.helperText02,
|
|
1123
1160
|
bodyShort01: type.bodyShort01,
|
|
1124
1161
|
bodyLong01: type.bodyLong01,
|
|
1125
1162
|
bodyShort02: type.bodyShort02,
|
|
@@ -1177,6 +1214,12 @@
|
|
|
1177
1214
|
container03: layout.container03,
|
|
1178
1215
|
container04: layout.container04,
|
|
1179
1216
|
container05: layout.container05,
|
|
1217
|
+
sizeXSmall: layout.sizeXSmall,
|
|
1218
|
+
sizeSmall: layout.sizeSmall,
|
|
1219
|
+
sizeMedium: layout.sizeMedium,
|
|
1220
|
+
sizeLarge: layout.sizeLarge,
|
|
1221
|
+
sizeXLarge: layout.sizeXLarge,
|
|
1222
|
+
size2XLarge: layout.size2XLarge,
|
|
1180
1223
|
iconSize01: layout.iconSize01,
|
|
1181
1224
|
iconSize02: layout.iconSize02
|
|
1182
1225
|
});
|
|
@@ -1192,6 +1235,8 @@
|
|
|
1192
1235
|
var background$2 = colors$1.gray80;
|
|
1193
1236
|
var layer$2 = colors$1.gray70;
|
|
1194
1237
|
var layerAccent$2 = colors$1.gray60;
|
|
1238
|
+
var layerAccentActive$2 = colors$1.gray70;
|
|
1239
|
+
var layerAccentHover$2 = adjustLightness(layerAccent$2, -7);
|
|
1195
1240
|
var field$2 = colors$1.gray70;
|
|
1196
1241
|
var backgroundInverse$2 = colors$1.gray10;
|
|
1197
1242
|
var backgroundBrand$2 = colors$1.blue60;
|
|
@@ -1346,6 +1391,8 @@
|
|
|
1346
1391
|
background: background$2,
|
|
1347
1392
|
layer: layer$2,
|
|
1348
1393
|
layerAccent: layerAccent$2,
|
|
1394
|
+
layerAccentActive: layerAccentActive$2,
|
|
1395
|
+
layerAccentHover: layerAccentHover$2,
|
|
1349
1396
|
field: field$2,
|
|
1350
1397
|
backgroundInverse: backgroundInverse$2,
|
|
1351
1398
|
backgroundBrand: backgroundBrand$2,
|
|
@@ -1490,8 +1537,11 @@
|
|
|
1490
1537
|
hoverField: hoverField$2,
|
|
1491
1538
|
danger: danger$2,
|
|
1492
1539
|
caption01: type.caption01,
|
|
1540
|
+
caption02: type.caption02,
|
|
1493
1541
|
label01: type.label01,
|
|
1542
|
+
label02: type.label02,
|
|
1494
1543
|
helperText01: type.helperText01,
|
|
1544
|
+
helperText02: type.helperText02,
|
|
1495
1545
|
bodyShort01: type.bodyShort01,
|
|
1496
1546
|
bodyLong01: type.bodyLong01,
|
|
1497
1547
|
bodyShort02: type.bodyShort02,
|
|
@@ -1549,6 +1599,12 @@
|
|
|
1549
1599
|
container03: layout.container03,
|
|
1550
1600
|
container04: layout.container04,
|
|
1551
1601
|
container05: layout.container05,
|
|
1602
|
+
sizeXSmall: layout.sizeXSmall,
|
|
1603
|
+
sizeSmall: layout.sizeSmall,
|
|
1604
|
+
sizeMedium: layout.sizeMedium,
|
|
1605
|
+
sizeLarge: layout.sizeLarge,
|
|
1606
|
+
sizeXLarge: layout.sizeXLarge,
|
|
1607
|
+
size2XLarge: layout.size2XLarge,
|
|
1552
1608
|
iconSize01: layout.iconSize01,
|
|
1553
1609
|
iconSize02: layout.iconSize02
|
|
1554
1610
|
});
|
|
@@ -1631,6 +1687,8 @@
|
|
|
1631
1687
|
var background$1 = uiBackground$1;
|
|
1632
1688
|
var layer$1 = ui01$1;
|
|
1633
1689
|
var layerAccent$1 = ui03$1;
|
|
1690
|
+
var layerAccentActive$1 = colors$1.gray50;
|
|
1691
|
+
var layerAccentHover$1 = adjustLightness(layerAccent$1, +7);
|
|
1634
1692
|
var field$1 = field01$1;
|
|
1635
1693
|
var backgroundInverse$1 = inverse02$1;
|
|
1636
1694
|
var backgroundBrand$1 = interactive01$1;
|
|
@@ -1781,6 +1839,8 @@
|
|
|
1781
1839
|
background: background$1,
|
|
1782
1840
|
layer: layer$1,
|
|
1783
1841
|
layerAccent: layerAccent$1,
|
|
1842
|
+
layerAccentActive: layerAccentActive$1,
|
|
1843
|
+
layerAccentHover: layerAccentHover$1,
|
|
1784
1844
|
field: field$1,
|
|
1785
1845
|
backgroundInverse: backgroundInverse$1,
|
|
1786
1846
|
backgroundBrand: backgroundBrand$1,
|
|
@@ -1859,8 +1919,11 @@
|
|
|
1859
1919
|
hoverField: hoverField$1,
|
|
1860
1920
|
danger: danger$1,
|
|
1861
1921
|
caption01: type.caption01,
|
|
1922
|
+
caption02: type.caption02,
|
|
1862
1923
|
label01: type.label01,
|
|
1924
|
+
label02: type.label02,
|
|
1863
1925
|
helperText01: type.helperText01,
|
|
1926
|
+
helperText02: type.helperText02,
|
|
1864
1927
|
bodyShort01: type.bodyShort01,
|
|
1865
1928
|
bodyLong01: type.bodyLong01,
|
|
1866
1929
|
bodyShort02: type.bodyShort02,
|
|
@@ -1918,6 +1981,12 @@
|
|
|
1918
1981
|
container03: layout.container03,
|
|
1919
1982
|
container04: layout.container04,
|
|
1920
1983
|
container05: layout.container05,
|
|
1984
|
+
sizeXSmall: layout.sizeXSmall,
|
|
1985
|
+
sizeSmall: layout.sizeSmall,
|
|
1986
|
+
sizeMedium: layout.sizeMedium,
|
|
1987
|
+
sizeLarge: layout.sizeLarge,
|
|
1988
|
+
sizeXLarge: layout.sizeXLarge,
|
|
1989
|
+
size2XLarge: layout.size2XLarge,
|
|
1921
1990
|
iconSize01: layout.iconSize01,
|
|
1922
1991
|
iconSize02: layout.iconSize02
|
|
1923
1992
|
});
|
|
@@ -2000,6 +2069,8 @@
|
|
|
2000
2069
|
var background = uiBackground;
|
|
2001
2070
|
var layer = ui01;
|
|
2002
2071
|
var layerAccent = ui03;
|
|
2072
|
+
var layerAccentActive = colors$1.gray40;
|
|
2073
|
+
var layerAccentHover = adjustLightness(layerAccent, -6);
|
|
2003
2074
|
var field = field01;
|
|
2004
2075
|
var backgroundInverse = inverse02;
|
|
2005
2076
|
var backgroundBrand = interactive01;
|
|
@@ -2150,6 +2221,8 @@
|
|
|
2150
2221
|
background: background,
|
|
2151
2222
|
layer: layer,
|
|
2152
2223
|
layerAccent: layerAccent,
|
|
2224
|
+
layerAccentActive: layerAccentActive,
|
|
2225
|
+
layerAccentHover: layerAccentHover,
|
|
2153
2226
|
field: field,
|
|
2154
2227
|
backgroundInverse: backgroundInverse,
|
|
2155
2228
|
backgroundBrand: backgroundBrand,
|
|
@@ -2228,8 +2301,11 @@
|
|
|
2228
2301
|
hoverField: hoverField,
|
|
2229
2302
|
danger: danger,
|
|
2230
2303
|
caption01: type.caption01,
|
|
2304
|
+
caption02: type.caption02,
|
|
2231
2305
|
label01: type.label01,
|
|
2306
|
+
label02: type.label02,
|
|
2232
2307
|
helperText01: type.helperText01,
|
|
2308
|
+
helperText02: type.helperText02,
|
|
2233
2309
|
bodyShort01: type.bodyShort01,
|
|
2234
2310
|
bodyLong01: type.bodyLong01,
|
|
2235
2311
|
bodyShort02: type.bodyShort02,
|
|
@@ -2287,6 +2363,12 @@
|
|
|
2287
2363
|
container03: layout.container03,
|
|
2288
2364
|
container04: layout.container04,
|
|
2289
2365
|
container05: layout.container05,
|
|
2366
|
+
sizeXSmall: layout.sizeXSmall,
|
|
2367
|
+
sizeSmall: layout.sizeSmall,
|
|
2368
|
+
sizeMedium: layout.sizeMedium,
|
|
2369
|
+
sizeLarge: layout.sizeLarge,
|
|
2370
|
+
sizeXLarge: layout.sizeXLarge,
|
|
2371
|
+
size2XLarge: layout.size2XLarge,
|
|
2290
2372
|
iconSize01: layout.iconSize01,
|
|
2291
2373
|
iconSize02: layout.iconSize02
|
|
2292
2374
|
});
|
|
@@ -2303,7 +2385,7 @@
|
|
|
2303
2385
|
'interactive01', 'interactive02', 'interactive03', 'interactive04', 'uiBackground', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'icon01', 'icon02', 'icon03', 'link01', 'link02', 'inverseLink', 'field01', 'field02', 'inverse01', 'inverse02', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', 'danger01', 'danger02', // Interactive states
|
|
2304
2386
|
'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'hoverLightUI', 'hoverSelectedUI', 'activeUI', 'activeLightUI', 'selectedUI', 'selectedLightUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'decorative01', 'buttonSeparator', 'skeleton01', 'skeleton02', // New color tokens
|
|
2305
2387
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
2306
|
-
'background', 'layer', 'layerAccent', 'field', 'backgroundInverse', 'backgroundBrand', 'interactive', 'borderSubtle', 'borderStrong', 'borderInverse', 'borderInteractive', 'textPrimary', 'textSecondary', 'textPlaceholder', 'textHelper', 'textOnColor', 'textInverse', 'linkPrimary', 'linkSecondary', 'linkVisited', 'linkInverse', 'iconPrimary', 'iconSecondary', 'iconOnColor', 'iconInverse', 'supportError', 'supportSuccess', 'supportWarning', 'supportInfo', 'supportErrorInverse', 'supportSuccessInverse', 'supportWarningInverse', 'supportInfoInverse', 'overlay', 'toggleOff', 'buttonPrimary', 'buttonSecondary', 'buttonTertiary', 'buttonDangerPrimary', 'buttonDangerSecondary', 'backgroundActive', 'layerActive', 'buttonDangerActive', 'buttonPrimaryActive', 'buttonSecondaryActive', 'buttonTertiaryActive', 'focusInset', 'focusInverse', 'backgroundHover', 'layerHover', 'fieldHover', 'backgroundInverseHover', 'linkPrimaryHover', 'buttonDangerHover', 'buttonPrimaryHover', 'buttonSecondaryHover', 'buttonTertiaryHover', 'backgroundSelected', 'backgroundSelectedHover', 'layerSelected', 'layerSelectedHover', 'layerSelectedInverse', 'borderSubtleSelected', 'layerDisabled', 'fieldDisabled', 'borderDisabled', 'textDisabled', 'buttonDisabled', 'iconDisabled', 'textOnColorDisabled', 'iconOnColorDisabled', 'layerSelectedDisabled', 'skeletonBackground', 'skeletonElement', // Deprecated
|
|
2388
|
+
'background', 'layer', 'layerAccent', 'layerAccentHover', 'layerAccentActive', 'field', 'backgroundInverse', 'backgroundBrand', 'interactive', 'borderSubtle', 'borderStrong', 'borderInverse', 'borderInteractive', 'textPrimary', 'textSecondary', 'textPlaceholder', 'textHelper', 'textOnColor', 'textInverse', 'linkPrimary', 'linkSecondary', 'linkVisited', 'linkInverse', 'iconPrimary', 'iconSecondary', 'iconOnColor', 'iconInverse', 'supportError', 'supportSuccess', 'supportWarning', 'supportInfo', 'supportErrorInverse', 'supportSuccessInverse', 'supportWarningInverse', 'supportInfoInverse', 'overlay', 'toggleOff', 'buttonPrimary', 'buttonSecondary', 'buttonTertiary', 'buttonDangerPrimary', 'buttonDangerSecondary', 'backgroundActive', 'layerActive', 'buttonDangerActive', 'buttonPrimaryActive', 'buttonSecondaryActive', 'buttonTertiaryActive', 'focusInset', 'focusInverse', 'backgroundHover', 'layerHover', 'fieldHover', 'backgroundInverseHover', 'linkPrimaryHover', 'buttonDangerHover', 'buttonPrimaryHover', 'buttonSecondaryHover', 'buttonTertiaryHover', 'backgroundSelected', 'backgroundSelectedHover', 'layerSelected', 'layerSelectedHover', 'layerSelectedInverse', 'borderSubtleSelected', 'layerDisabled', 'fieldDisabled', 'borderDisabled', 'textDisabled', 'buttonDisabled', 'iconDisabled', 'textOnColorDisabled', 'iconOnColorDisabled', 'layerSelectedDisabled', 'skeletonBackground', 'skeletonElement', // Deprecated
|
|
2307
2389
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
2308
2390
|
var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
|
2309
2391
|
/**
|
|
@@ -2353,7 +2435,7 @@
|
|
|
2353
2435
|
colors: [{
|
|
2354
2436
|
type: 'core',
|
|
2355
2437
|
tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'danger', 'danger01', 'danger02', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'link01', 'link02', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', //new tokens
|
|
2356
|
-
'background', 'layer', 'layerAccent', 'field', 'backgroundInverse', 'backgroundBrand', 'interactive', 'borderSubtle', 'borderStrong', 'borderInverse', 'borderInteractive', 'textPrimary', 'textSecondary', 'textPlaceholder', 'textHelper', 'textOnColor', 'textInverse', 'linkPrimary', 'linkSecondary', 'linkVisited', 'linkInverse', 'iconPrimary', 'iconSecondary', 'iconOnColor', 'iconInverse', 'supportError', 'supportSuccess', 'supportWarning', 'supportInfo', 'supportErrorInverse', 'supportSuccessInverse', 'supportWarningInverse', 'supportInfoInverse', 'overlay', 'toggleOff', 'buttonPrimary', 'buttonSecondary', 'buttonTertiary', 'buttonDangerPrimary', 'buttonDangerSecondary']
|
|
2438
|
+
'background', 'layer', 'layerAccent', 'layerAccentHover', 'layerAccentActive', 'field', 'backgroundInverse', 'backgroundBrand', 'interactive', 'borderSubtle', 'borderStrong', 'borderInverse', 'borderInteractive', 'textPrimary', 'textSecondary', 'textPlaceholder', 'textHelper', 'textOnColor', 'textInverse', 'linkPrimary', 'linkSecondary', 'linkVisited', 'linkInverse', 'iconPrimary', 'iconSecondary', 'iconOnColor', 'iconInverse', 'supportError', 'supportSuccess', 'supportWarning', 'supportInfo', 'supportErrorInverse', 'supportSuccessInverse', 'supportWarningInverse', 'supportInfoInverse', 'overlay', 'toggleOff', 'buttonPrimary', 'buttonSecondary', 'buttonTertiary', 'buttonDangerPrimary', 'buttonDangerSecondary']
|
|
2357
2439
|
}, {
|
|
2358
2440
|
type: 'interactive',
|
|
2359
2441
|
tokens: ['focus', 'inverseFocusUi', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverLightUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeLightUI', 'activeDanger', 'selectedUI', 'selectedLightUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField', 'decorative01', 'buttonSeparator', // new tokens
|
|
@@ -2407,6 +2489,12 @@
|
|
|
2407
2489
|
return type.caption01;
|
|
2408
2490
|
}
|
|
2409
2491
|
});
|
|
2492
|
+
Object.defineProperty(exports, 'caption02', {
|
|
2493
|
+
enumerable: true,
|
|
2494
|
+
get: function () {
|
|
2495
|
+
return type.caption02;
|
|
2496
|
+
}
|
|
2497
|
+
});
|
|
2410
2498
|
Object.defineProperty(exports, 'code01', {
|
|
2411
2499
|
enumerable: true,
|
|
2412
2500
|
get: function () {
|
|
@@ -2503,12 +2591,24 @@
|
|
|
2503
2591
|
return type.helperText01;
|
|
2504
2592
|
}
|
|
2505
2593
|
});
|
|
2594
|
+
Object.defineProperty(exports, 'helperText02', {
|
|
2595
|
+
enumerable: true,
|
|
2596
|
+
get: function () {
|
|
2597
|
+
return type.helperText02;
|
|
2598
|
+
}
|
|
2599
|
+
});
|
|
2506
2600
|
Object.defineProperty(exports, 'label01', {
|
|
2507
2601
|
enumerable: true,
|
|
2508
2602
|
get: function () {
|
|
2509
2603
|
return type.label01;
|
|
2510
2604
|
}
|
|
2511
2605
|
});
|
|
2606
|
+
Object.defineProperty(exports, 'label02', {
|
|
2607
|
+
enumerable: true,
|
|
2608
|
+
get: function () {
|
|
2609
|
+
return type.label02;
|
|
2610
|
+
}
|
|
2611
|
+
});
|
|
2512
2612
|
Object.defineProperty(exports, 'productiveHeading01', {
|
|
2513
2613
|
enumerable: true,
|
|
2514
2614
|
get: function () {
|
|
@@ -2671,6 +2771,42 @@
|
|
|
2671
2771
|
return layout.layout07;
|
|
2672
2772
|
}
|
|
2673
2773
|
});
|
|
2774
|
+
Object.defineProperty(exports, 'size2XLarge', {
|
|
2775
|
+
enumerable: true,
|
|
2776
|
+
get: function () {
|
|
2777
|
+
return layout.size2XLarge;
|
|
2778
|
+
}
|
|
2779
|
+
});
|
|
2780
|
+
Object.defineProperty(exports, 'sizeLarge', {
|
|
2781
|
+
enumerable: true,
|
|
2782
|
+
get: function () {
|
|
2783
|
+
return layout.sizeLarge;
|
|
2784
|
+
}
|
|
2785
|
+
});
|
|
2786
|
+
Object.defineProperty(exports, 'sizeMedium', {
|
|
2787
|
+
enumerable: true,
|
|
2788
|
+
get: function () {
|
|
2789
|
+
return layout.sizeMedium;
|
|
2790
|
+
}
|
|
2791
|
+
});
|
|
2792
|
+
Object.defineProperty(exports, 'sizeSmall', {
|
|
2793
|
+
enumerable: true,
|
|
2794
|
+
get: function () {
|
|
2795
|
+
return layout.sizeSmall;
|
|
2796
|
+
}
|
|
2797
|
+
});
|
|
2798
|
+
Object.defineProperty(exports, 'sizeXLarge', {
|
|
2799
|
+
enumerable: true,
|
|
2800
|
+
get: function () {
|
|
2801
|
+
return layout.sizeXLarge;
|
|
2802
|
+
}
|
|
2803
|
+
});
|
|
2804
|
+
Object.defineProperty(exports, 'sizeXSmall', {
|
|
2805
|
+
enumerable: true,
|
|
2806
|
+
get: function () {
|
|
2807
|
+
return layout.sizeXSmall;
|
|
2808
|
+
}
|
|
2809
|
+
});
|
|
2674
2810
|
Object.defineProperty(exports, 'spacing01', {
|
|
2675
2811
|
enumerable: true,
|
|
2676
2812
|
get: function () {
|
|
@@ -2844,6 +2980,8 @@
|
|
|
2844
2980
|
exports.inverseSupport04 = inverseSupport04$5;
|
|
2845
2981
|
exports.layer = layer$5;
|
|
2846
2982
|
exports.layerAccent = layerAccent$5;
|
|
2983
|
+
exports.layerAccentActive = layerAccentActive$5;
|
|
2984
|
+
exports.layerAccentHover = layerAccentHover$5;
|
|
2847
2985
|
exports.layerActive = layerActive$5;
|
|
2848
2986
|
exports.layerDisabled = layerDisabled$5;
|
|
2849
2987
|
exports.layerHover = layerHover$5;
|