@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/es/index.js
CHANGED
|
@@ -1,33 +1,22 @@
|
|
|
1
1
|
import Color from 'color';
|
|
2
|
-
import { blue60, gray80, white as white$1, gray10, gray20, gray50, gray100, gray70, gray40, gray60, red60, blue70, blue40,
|
|
3
|
-
import { caption01, label01, helperText01, bodyShort01, bodyLong01, bodyShort02, bodyLong02, code01, code02, heading01, productiveHeading01, heading02, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, quotation01, quotation02, display01, display02, display03, display04, unstable_tokens } from '@carbon/type';
|
|
4
|
-
export { bodyLong01, bodyLong02, bodyShort01, bodyShort02, caption01, code01, code02, display01, display02, display03, display04, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, heading01, heading02, helperText01, label01, productiveHeading01, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, quotation01, quotation02 } from '@carbon/type';
|
|
5
|
-
import { spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing13, fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04, layout01, layout02, layout03, layout04, layout05, layout06, layout07, container01, container02, container03, container04, container05, iconSize01, iconSize02, unstable_tokens as unstable_tokens$1 } from '@carbon/layout';
|
|
6
|
-
export { container01, container02, container03, container04, container05, fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04, iconSize01, iconSize02, layout01, layout02, layout03, layout04, layout05, layout06, layout07, spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing13 } from '@carbon/layout';
|
|
7
|
-
|
|
8
|
-
function _defineProperty(obj, key, value) {
|
|
9
|
-
if (key in obj) {
|
|
10
|
-
Object.defineProperty(obj, key, {
|
|
11
|
-
value: value,
|
|
12
|
-
enumerable: true,
|
|
13
|
-
configurable: true,
|
|
14
|
-
writable: true
|
|
15
|
-
});
|
|
16
|
-
} else {
|
|
17
|
-
obj[key] = value;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
return obj;
|
|
21
|
-
}
|
|
2
|
+
import { blue60, gray80, white as white$1, gray10, gray20, gray50, gray100, gray70, gray40, gray60, red60, blue70, blue40, green60, yellow, red50, green40, blue50, rgba, blue80, gray30, red80, purple60, blue20, gray90, red40, blue30, green50, purple40, red30, yellow30 } from '@carbon/colors';
|
|
3
|
+
import { caption01, caption02, label01, label02, helperText01, helperText02, bodyShort01, bodyLong01, bodyShort02, bodyLong02, code01, code02, heading01, productiveHeading01, heading02, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, quotation01, quotation02, display01, display02, display03, display04, unstable_tokens } from '@carbon/type';
|
|
4
|
+
export { bodyLong01, bodyLong02, bodyShort01, bodyShort02, caption01, caption02, code01, code02, display01, display02, display03, display04, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, heading01, heading02, helperText01, helperText02, label01, label02, productiveHeading01, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, quotation01, quotation02 } from '@carbon/type';
|
|
5
|
+
import { spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing13, fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04, layout01, layout02, layout03, layout04, layout05, layout06, layout07, container01, container02, container03, container04, container05, sizeXSmall, sizeSmall, sizeMedium, sizeLarge, sizeXLarge, size2XLarge, iconSize01, iconSize02, unstable_tokens as unstable_tokens$1 } from '@carbon/layout';
|
|
6
|
+
export { container01, container02, container03, container04, container05, fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04, iconSize01, iconSize02, layout01, layout02, layout03, layout04, layout05, layout06, layout07, size2XLarge, sizeLarge, sizeMedium, sizeSmall, sizeXLarge, sizeXSmall, spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing13 } from '@carbon/layout';
|
|
22
7
|
|
|
23
8
|
function ownKeys(object, enumerableOnly) {
|
|
24
9
|
var keys = Object.keys(object);
|
|
25
10
|
|
|
26
11
|
if (Object.getOwnPropertySymbols) {
|
|
27
12
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
13
|
+
|
|
14
|
+
if (enumerableOnly) {
|
|
15
|
+
symbols = symbols.filter(function (sym) {
|
|
16
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
|
|
31
20
|
keys.push.apply(keys, symbols);
|
|
32
21
|
}
|
|
33
22
|
|
|
@@ -54,6 +43,21 @@ function _objectSpread2(target) {
|
|
|
54
43
|
return target;
|
|
55
44
|
}
|
|
56
45
|
|
|
46
|
+
function _defineProperty(obj, key, value) {
|
|
47
|
+
if (key in obj) {
|
|
48
|
+
Object.defineProperty(obj, key, {
|
|
49
|
+
value: value,
|
|
50
|
+
enumerable: true,
|
|
51
|
+
configurable: true,
|
|
52
|
+
writable: true
|
|
53
|
+
});
|
|
54
|
+
} else {
|
|
55
|
+
obj[key] = value;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
return obj;
|
|
59
|
+
}
|
|
60
|
+
|
|
57
61
|
/**
|
|
58
62
|
* Adjust a given token's lightness by a specified percentage
|
|
59
63
|
* Example: token = hsl(10, 10, 10);
|
|
@@ -104,7 +108,7 @@ var field02$5 = white$1;
|
|
|
104
108
|
var inverse01$5 = white$1;
|
|
105
109
|
var inverse02$5 = gray80;
|
|
106
110
|
var support01$5 = red60;
|
|
107
|
-
var support02$5 =
|
|
111
|
+
var support02$5 = green60;
|
|
108
112
|
var support03$5 = yellow;
|
|
109
113
|
var support04$5 = blue70;
|
|
110
114
|
var inverseSupport01$5 = red50;
|
|
@@ -149,6 +153,8 @@ var skeleton02$5 = gray30; // New color tokens
|
|
|
149
153
|
var background$5 = uiBackground$5;
|
|
150
154
|
var layer$5 = ui01$5;
|
|
151
155
|
var layerAccent$5 = ui03$5;
|
|
156
|
+
var layerAccentActive$5 = gray40;
|
|
157
|
+
var layerAccentHover$5 = adjustLightness(layerAccent$5, -6);
|
|
152
158
|
var field$5 = field01$5;
|
|
153
159
|
var backgroundInverse$5 = inverse02$5;
|
|
154
160
|
var backgroundBrand$5 = interactive01$5;
|
|
@@ -299,6 +305,8 @@ var white = /*#__PURE__*/Object.freeze({
|
|
|
299
305
|
background: background$5,
|
|
300
306
|
layer: layer$5,
|
|
301
307
|
layerAccent: layerAccent$5,
|
|
308
|
+
layerAccentActive: layerAccentActive$5,
|
|
309
|
+
layerAccentHover: layerAccentHover$5,
|
|
302
310
|
field: field$5,
|
|
303
311
|
backgroundInverse: backgroundInverse$5,
|
|
304
312
|
backgroundBrand: backgroundBrand$5,
|
|
@@ -377,8 +385,11 @@ var white = /*#__PURE__*/Object.freeze({
|
|
|
377
385
|
hoverField: hoverField$5,
|
|
378
386
|
danger: danger$5,
|
|
379
387
|
caption01: caption01,
|
|
388
|
+
caption02: caption02,
|
|
380
389
|
label01: label01,
|
|
390
|
+
label02: label02,
|
|
381
391
|
helperText01: helperText01,
|
|
392
|
+
helperText02: helperText02,
|
|
382
393
|
bodyShort01: bodyShort01,
|
|
383
394
|
bodyLong01: bodyLong01,
|
|
384
395
|
bodyShort02: bodyShort02,
|
|
@@ -436,6 +447,12 @@ var white = /*#__PURE__*/Object.freeze({
|
|
|
436
447
|
container03: container03,
|
|
437
448
|
container04: container04,
|
|
438
449
|
container05: container05,
|
|
450
|
+
sizeXSmall: sizeXSmall,
|
|
451
|
+
sizeSmall: sizeSmall,
|
|
452
|
+
sizeMedium: sizeMedium,
|
|
453
|
+
sizeLarge: sizeLarge,
|
|
454
|
+
sizeXLarge: sizeXLarge,
|
|
455
|
+
size2XLarge: size2XLarge,
|
|
439
456
|
iconSize01: iconSize01,
|
|
440
457
|
iconSize02: iconSize02
|
|
441
458
|
});
|
|
@@ -473,7 +490,7 @@ var field02$4 = gray10;
|
|
|
473
490
|
var inverse01$4 = white$1;
|
|
474
491
|
var inverse02$4 = gray80;
|
|
475
492
|
var support01$4 = red60;
|
|
476
|
-
var support02$4 =
|
|
493
|
+
var support02$4 = green60;
|
|
477
494
|
var support03$4 = yellow;
|
|
478
495
|
var support04$4 = blue70;
|
|
479
496
|
var inverseSupport01$4 = red50;
|
|
@@ -518,6 +535,8 @@ var skeleton02$4 = gray30; // New color tokens
|
|
|
518
535
|
var background$4 = uiBackground$4;
|
|
519
536
|
var layer$4 = ui01$4;
|
|
520
537
|
var layerAccent$4 = ui03$4;
|
|
538
|
+
var layerAccentActive$4 = gray40;
|
|
539
|
+
var layerAccentHover$4 = adjustLightness(layerAccent$4, -6);
|
|
521
540
|
var field$4 = field01$4;
|
|
522
541
|
var backgroundInverse$4 = inverse02$4;
|
|
523
542
|
var backgroundBrand$4 = interactive01$4;
|
|
@@ -668,6 +687,8 @@ var g10 = /*#__PURE__*/Object.freeze({
|
|
|
668
687
|
background: background$4,
|
|
669
688
|
layer: layer$4,
|
|
670
689
|
layerAccent: layerAccent$4,
|
|
690
|
+
layerAccentActive: layerAccentActive$4,
|
|
691
|
+
layerAccentHover: layerAccentHover$4,
|
|
671
692
|
field: field$4,
|
|
672
693
|
backgroundInverse: backgroundInverse$4,
|
|
673
694
|
backgroundBrand: backgroundBrand$4,
|
|
@@ -746,8 +767,11 @@ var g10 = /*#__PURE__*/Object.freeze({
|
|
|
746
767
|
hoverField: hoverField$4,
|
|
747
768
|
danger: danger$4,
|
|
748
769
|
caption01: caption01,
|
|
770
|
+
caption02: caption02,
|
|
749
771
|
label01: label01,
|
|
772
|
+
label02: label02,
|
|
750
773
|
helperText01: helperText01,
|
|
774
|
+
helperText02: helperText02,
|
|
751
775
|
bodyShort01: bodyShort01,
|
|
752
776
|
bodyLong01: bodyLong01,
|
|
753
777
|
bodyShort02: bodyShort02,
|
|
@@ -805,6 +829,12 @@ var g10 = /*#__PURE__*/Object.freeze({
|
|
|
805
829
|
container03: container03,
|
|
806
830
|
container04: container04,
|
|
807
831
|
container05: container05,
|
|
832
|
+
sizeXSmall: sizeXSmall,
|
|
833
|
+
sizeSmall: sizeSmall,
|
|
834
|
+
sizeMedium: sizeMedium,
|
|
835
|
+
sizeLarge: sizeLarge,
|
|
836
|
+
sizeXLarge: sizeXLarge,
|
|
837
|
+
size2XLarge: size2XLarge,
|
|
808
838
|
iconSize01: iconSize01,
|
|
809
839
|
iconSize02: iconSize02
|
|
810
840
|
});
|
|
@@ -887,6 +917,8 @@ var skeleton02$3 = gray70; // New color tokens
|
|
|
887
917
|
var background$3 = uiBackground$3;
|
|
888
918
|
var layer$3 = ui01$3;
|
|
889
919
|
var layerAccent$3 = ui03$3;
|
|
920
|
+
var layerAccentActive$3 = gray60;
|
|
921
|
+
var layerAccentHover$3 = adjustLightness(layerAccent$3, +6);
|
|
890
922
|
var field$3 = field01$3;
|
|
891
923
|
var backgroundInverse$3 = inverse02$3;
|
|
892
924
|
var backgroundBrand$3 = interactive01$3;
|
|
@@ -1037,6 +1069,8 @@ var g100 = /*#__PURE__*/Object.freeze({
|
|
|
1037
1069
|
background: background$3,
|
|
1038
1070
|
layer: layer$3,
|
|
1039
1071
|
layerAccent: layerAccent$3,
|
|
1072
|
+
layerAccentActive: layerAccentActive$3,
|
|
1073
|
+
layerAccentHover: layerAccentHover$3,
|
|
1040
1074
|
field: field$3,
|
|
1041
1075
|
backgroundInverse: backgroundInverse$3,
|
|
1042
1076
|
backgroundBrand: backgroundBrand$3,
|
|
@@ -1115,8 +1149,11 @@ var g100 = /*#__PURE__*/Object.freeze({
|
|
|
1115
1149
|
hoverField: hoverField$3,
|
|
1116
1150
|
danger: danger$3,
|
|
1117
1151
|
caption01: caption01,
|
|
1152
|
+
caption02: caption02,
|
|
1118
1153
|
label01: label01,
|
|
1154
|
+
label02: label02,
|
|
1119
1155
|
helperText01: helperText01,
|
|
1156
|
+
helperText02: helperText02,
|
|
1120
1157
|
bodyShort01: bodyShort01,
|
|
1121
1158
|
bodyLong01: bodyLong01,
|
|
1122
1159
|
bodyShort02: bodyShort02,
|
|
@@ -1174,6 +1211,12 @@ var g100 = /*#__PURE__*/Object.freeze({
|
|
|
1174
1211
|
container03: container03,
|
|
1175
1212
|
container04: container04,
|
|
1176
1213
|
container05: container05,
|
|
1214
|
+
sizeXSmall: sizeXSmall,
|
|
1215
|
+
sizeSmall: sizeSmall,
|
|
1216
|
+
sizeMedium: sizeMedium,
|
|
1217
|
+
sizeLarge: sizeLarge,
|
|
1218
|
+
sizeXLarge: sizeXLarge,
|
|
1219
|
+
size2XLarge: size2XLarge,
|
|
1177
1220
|
iconSize01: iconSize01,
|
|
1178
1221
|
iconSize02: iconSize02
|
|
1179
1222
|
});
|
|
@@ -1189,6 +1232,8 @@ var g100 = /*#__PURE__*/Object.freeze({
|
|
|
1189
1232
|
var background$2 = gray80;
|
|
1190
1233
|
var layer$2 = gray70;
|
|
1191
1234
|
var layerAccent$2 = gray60;
|
|
1235
|
+
var layerAccentActive$2 = gray70;
|
|
1236
|
+
var layerAccentHover$2 = adjustLightness(layerAccent$2, -7);
|
|
1192
1237
|
var field$2 = gray70;
|
|
1193
1238
|
var backgroundInverse$2 = gray10;
|
|
1194
1239
|
var backgroundBrand$2 = blue60;
|
|
@@ -1343,6 +1388,8 @@ var g80 = /*#__PURE__*/Object.freeze({
|
|
|
1343
1388
|
background: background$2,
|
|
1344
1389
|
layer: layer$2,
|
|
1345
1390
|
layerAccent: layerAccent$2,
|
|
1391
|
+
layerAccentActive: layerAccentActive$2,
|
|
1392
|
+
layerAccentHover: layerAccentHover$2,
|
|
1346
1393
|
field: field$2,
|
|
1347
1394
|
backgroundInverse: backgroundInverse$2,
|
|
1348
1395
|
backgroundBrand: backgroundBrand$2,
|
|
@@ -1487,8 +1534,11 @@ var g80 = /*#__PURE__*/Object.freeze({
|
|
|
1487
1534
|
hoverField: hoverField$2,
|
|
1488
1535
|
danger: danger$2,
|
|
1489
1536
|
caption01: caption01,
|
|
1537
|
+
caption02: caption02,
|
|
1490
1538
|
label01: label01,
|
|
1539
|
+
label02: label02,
|
|
1491
1540
|
helperText01: helperText01,
|
|
1541
|
+
helperText02: helperText02,
|
|
1492
1542
|
bodyShort01: bodyShort01,
|
|
1493
1543
|
bodyLong01: bodyLong01,
|
|
1494
1544
|
bodyShort02: bodyShort02,
|
|
@@ -1546,6 +1596,12 @@ var g80 = /*#__PURE__*/Object.freeze({
|
|
|
1546
1596
|
container03: container03,
|
|
1547
1597
|
container04: container04,
|
|
1548
1598
|
container05: container05,
|
|
1599
|
+
sizeXSmall: sizeXSmall,
|
|
1600
|
+
sizeSmall: sizeSmall,
|
|
1601
|
+
sizeMedium: sizeMedium,
|
|
1602
|
+
sizeLarge: sizeLarge,
|
|
1603
|
+
sizeXLarge: sizeXLarge,
|
|
1604
|
+
size2XLarge: size2XLarge,
|
|
1549
1605
|
iconSize01: iconSize01,
|
|
1550
1606
|
iconSize02: iconSize02
|
|
1551
1607
|
});
|
|
@@ -1628,6 +1684,8 @@ var skeleton02$1 = gray70; // New color tokens
|
|
|
1628
1684
|
var background$1 = uiBackground$1;
|
|
1629
1685
|
var layer$1 = ui01$1;
|
|
1630
1686
|
var layerAccent$1 = ui03$1;
|
|
1687
|
+
var layerAccentActive$1 = gray50;
|
|
1688
|
+
var layerAccentHover$1 = adjustLightness(layerAccent$1, +7);
|
|
1631
1689
|
var field$1 = field01$1;
|
|
1632
1690
|
var backgroundInverse$1 = inverse02$1;
|
|
1633
1691
|
var backgroundBrand$1 = interactive01$1;
|
|
@@ -1778,6 +1836,8 @@ var g90 = /*#__PURE__*/Object.freeze({
|
|
|
1778
1836
|
background: background$1,
|
|
1779
1837
|
layer: layer$1,
|
|
1780
1838
|
layerAccent: layerAccent$1,
|
|
1839
|
+
layerAccentActive: layerAccentActive$1,
|
|
1840
|
+
layerAccentHover: layerAccentHover$1,
|
|
1781
1841
|
field: field$1,
|
|
1782
1842
|
backgroundInverse: backgroundInverse$1,
|
|
1783
1843
|
backgroundBrand: backgroundBrand$1,
|
|
@@ -1856,8 +1916,11 @@ var g90 = /*#__PURE__*/Object.freeze({
|
|
|
1856
1916
|
hoverField: hoverField$1,
|
|
1857
1917
|
danger: danger$1,
|
|
1858
1918
|
caption01: caption01,
|
|
1919
|
+
caption02: caption02,
|
|
1859
1920
|
label01: label01,
|
|
1921
|
+
label02: label02,
|
|
1860
1922
|
helperText01: helperText01,
|
|
1923
|
+
helperText02: helperText02,
|
|
1861
1924
|
bodyShort01: bodyShort01,
|
|
1862
1925
|
bodyLong01: bodyLong01,
|
|
1863
1926
|
bodyShort02: bodyShort02,
|
|
@@ -1915,6 +1978,12 @@ var g90 = /*#__PURE__*/Object.freeze({
|
|
|
1915
1978
|
container03: container03,
|
|
1916
1979
|
container04: container04,
|
|
1917
1980
|
container05: container05,
|
|
1981
|
+
sizeXSmall: sizeXSmall,
|
|
1982
|
+
sizeSmall: sizeSmall,
|
|
1983
|
+
sizeMedium: sizeMedium,
|
|
1984
|
+
sizeLarge: sizeLarge,
|
|
1985
|
+
sizeXLarge: sizeXLarge,
|
|
1986
|
+
size2XLarge: size2XLarge,
|
|
1918
1987
|
iconSize01: iconSize01,
|
|
1919
1988
|
iconSize02: iconSize02
|
|
1920
1989
|
});
|
|
@@ -1997,6 +2066,8 @@ var skeleton02 = 'rgba(61, 112, 178, .1)'; // New color tokens
|
|
|
1997
2066
|
var background = uiBackground;
|
|
1998
2067
|
var layer = ui01;
|
|
1999
2068
|
var layerAccent = ui03;
|
|
2069
|
+
var layerAccentActive = gray40;
|
|
2070
|
+
var layerAccentHover = adjustLightness(layerAccent, -6);
|
|
2000
2071
|
var field = field01;
|
|
2001
2072
|
var backgroundInverse = inverse02;
|
|
2002
2073
|
var backgroundBrand = interactive01;
|
|
@@ -2147,6 +2218,8 @@ var v9 = /*#__PURE__*/Object.freeze({
|
|
|
2147
2218
|
background: background,
|
|
2148
2219
|
layer: layer,
|
|
2149
2220
|
layerAccent: layerAccent,
|
|
2221
|
+
layerAccentActive: layerAccentActive,
|
|
2222
|
+
layerAccentHover: layerAccentHover,
|
|
2150
2223
|
field: field,
|
|
2151
2224
|
backgroundInverse: backgroundInverse,
|
|
2152
2225
|
backgroundBrand: backgroundBrand,
|
|
@@ -2225,8 +2298,11 @@ var v9 = /*#__PURE__*/Object.freeze({
|
|
|
2225
2298
|
hoverField: hoverField,
|
|
2226
2299
|
danger: danger,
|
|
2227
2300
|
caption01: caption01,
|
|
2301
|
+
caption02: caption02,
|
|
2228
2302
|
label01: label01,
|
|
2303
|
+
label02: label02,
|
|
2229
2304
|
helperText01: helperText01,
|
|
2305
|
+
helperText02: helperText02,
|
|
2230
2306
|
bodyShort01: bodyShort01,
|
|
2231
2307
|
bodyLong01: bodyLong01,
|
|
2232
2308
|
bodyShort02: bodyShort02,
|
|
@@ -2284,6 +2360,12 @@ var v9 = /*#__PURE__*/Object.freeze({
|
|
|
2284
2360
|
container03: container03,
|
|
2285
2361
|
container04: container04,
|
|
2286
2362
|
container05: container05,
|
|
2363
|
+
sizeXSmall: sizeXSmall,
|
|
2364
|
+
sizeSmall: sizeSmall,
|
|
2365
|
+
sizeMedium: sizeMedium,
|
|
2366
|
+
sizeLarge: sizeLarge,
|
|
2367
|
+
sizeXLarge: sizeXLarge,
|
|
2368
|
+
size2XLarge: size2XLarge,
|
|
2287
2369
|
iconSize01: iconSize01,
|
|
2288
2370
|
iconSize02: iconSize02
|
|
2289
2371
|
});
|
|
@@ -2300,7 +2382,7 @@ var colors = [// Core
|
|
|
2300
2382
|
'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
|
|
2301
2383
|
'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
|
|
2302
2384
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
2303
|
-
'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
|
|
2385
|
+
'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
|
|
2304
2386
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
2305
2387
|
var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
|
2306
2388
|
/**
|
|
@@ -2350,7 +2432,7 @@ var unstable__meta = {
|
|
|
2350
2432
|
colors: [{
|
|
2351
2433
|
type: 'core',
|
|
2352
2434
|
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
|
|
2353
|
-
'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']
|
|
2435
|
+
'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']
|
|
2354
2436
|
}, {
|
|
2355
2437
|
type: 'interactive',
|
|
2356
2438
|
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
|
|
@@ -2374,4 +2456,4 @@ var themes = {
|
|
|
2374
2456
|
v9: v9
|
|
2375
2457
|
};
|
|
2376
2458
|
|
|
2377
|
-
export { active01$5 as active01, activeDanger$5 as activeDanger, activeLightUI$5 as activeLightUI, activePrimary$5 as activePrimary, activeSecondary$5 as activeSecondary, activeTertiary$5 as activeTertiary, activeUI$5 as activeUI, background$5 as background, backgroundActive$5 as backgroundActive, backgroundBrand$5 as backgroundBrand, backgroundHover$5 as backgroundHover, backgroundInverse$5 as backgroundInverse, backgroundInverseHover$5 as backgroundInverseHover, backgroundSelected$5 as backgroundSelected, backgroundSelectedHover$5 as backgroundSelectedHover, borderDisabled$5 as borderDisabled, borderInteractive$5 as borderInteractive, borderInverse$5 as borderInverse, borderStrong$5 as borderStrong, borderSubtle$5 as borderSubtle, borderSubtleSelected$5 as borderSubtleSelected, brand01$5 as brand01, brand02$5 as brand02, brand03$5 as brand03, buttonDangerActive$5 as buttonDangerActive, buttonDangerHover$5 as buttonDangerHover, buttonDangerPrimary$5 as buttonDangerPrimary, buttonDangerSecondary$5 as buttonDangerSecondary, buttonDisabled$5 as buttonDisabled, buttonPrimary$5 as buttonPrimary, buttonPrimaryActive$5 as buttonPrimaryActive, buttonPrimaryHover$5 as buttonPrimaryHover, buttonSecondary$5 as buttonSecondary, buttonSecondaryActive$5 as buttonSecondaryActive, buttonSecondaryHover$5 as buttonSecondaryHover, buttonSeparator$5 as buttonSeparator, buttonTertiary$5 as buttonTertiary, buttonTertiaryActive$5 as buttonTertiaryActive, buttonTertiaryHover$5 as buttonTertiaryHover, danger$5 as danger, danger01$5 as danger01, danger02$5 as danger02, decorative01$5 as decorative01, disabled01$5 as disabled01, disabled02$5 as disabled02, disabled03$5 as disabled03, field$5 as field, field01$5 as field01, field02$5 as field02, fieldDisabled$5 as fieldDisabled, fieldHover$5 as fieldHover, focus$5 as focus, focusInset$5 as focusInset, focusInverse$5 as focusInverse, formatTokenName, g10, g100, g80, g90, highlight$5 as highlight, hoverDanger$5 as hoverDanger, hoverField$5 as hoverField, hoverLightUI$5 as hoverLightUI, hoverPrimary$5 as hoverPrimary, hoverPrimaryText$5 as hoverPrimaryText, hoverRow$5 as hoverRow, hoverSecondary$5 as hoverSecondary, hoverSelectedUI$5 as hoverSelectedUI, hoverTertiary$5 as hoverTertiary, hoverUI$5 as hoverUI, icon01$5 as icon01, icon02$5 as icon02, icon03$5 as icon03, iconDisabled$5 as iconDisabled, iconInverse$5 as iconInverse, iconOnColor$5 as iconOnColor, iconOnColorDisabled$5 as iconOnColorDisabled, iconPrimary$5 as iconPrimary, iconSecondary$5 as iconSecondary, interactive$5 as interactive, interactive01$5 as interactive01, interactive02$5 as interactive02, interactive03$5 as interactive03, interactive04$5 as interactive04, inverse01$5 as inverse01, inverse02$5 as inverse02, inverseFocusUi$5 as inverseFocusUi, inverseHoverUI$5 as inverseHoverUI, inverseLink$5 as inverseLink, inverseSupport01$5 as inverseSupport01, inverseSupport02$5 as inverseSupport02, inverseSupport03$5 as inverseSupport03, inverseSupport04$5 as inverseSupport04, layer$5 as layer, layerAccent$5 as layerAccent, layerActive$5 as layerActive, layerDisabled$5 as layerDisabled, layerHover$5 as layerHover, layerSelected$5 as layerSelected, layerSelectedDisabled$5 as layerSelectedDisabled, layerSelectedHover$5 as layerSelectedHover, layerSelectedInverse$5 as layerSelectedInverse, link01$5 as link01, link02$5 as link02, linkInverse$5 as linkInverse, linkPrimary$5 as linkPrimary, linkPrimaryHover$5 as linkPrimaryHover, linkSecondary$5 as linkSecondary, linkVisited$5 as linkVisited, overlay$5 as overlay, overlay01$5 as overlay01, selectedLightUI$5 as selectedLightUI, selectedUI$5 as selectedUI, skeleton01$5 as skeleton01, skeleton02$5 as skeleton02, skeletonBackground$5 as skeletonBackground, skeletonElement$5 as skeletonElement, support01$5 as support01, support02$5 as support02, support03$5 as support03, support04$5 as support04, supportError$5 as supportError, supportErrorInverse$5 as supportErrorInverse, supportInfo$5 as supportInfo, supportInfoInverse$5 as supportInfoInverse, supportSuccess$5 as supportSuccess, supportSuccessInverse$5 as supportSuccessInverse, supportWarning$5 as supportWarning, supportWarningInverse$5 as supportWarningInverse, text01$5 as text01, text02$5 as text02, text03$5 as text03, text04$5 as text04, text05$5 as text05, textDisabled$5 as textDisabled, textError$5 as textError, textHelper$5 as textHelper, textInverse$5 as textInverse, textOnColor$5 as textOnColor, textOnColorDisabled$5 as textOnColorDisabled, textPlaceholder$5 as textPlaceholder, textPrimary$5 as textPrimary, textSecondary$5 as textSecondary, themes, toggleOff$5 as toggleOff, tokens, ui01$5 as ui01, ui02$5 as ui02, ui03$5 as ui03, ui04$5 as ui04, ui05$5 as ui05, uiBackground$5 as uiBackground, unstable__meta, v9, visitedLink$5 as visitedLink, white };
|
|
2459
|
+
export { active01$5 as active01, activeDanger$5 as activeDanger, activeLightUI$5 as activeLightUI, activePrimary$5 as activePrimary, activeSecondary$5 as activeSecondary, activeTertiary$5 as activeTertiary, activeUI$5 as activeUI, background$5 as background, backgroundActive$5 as backgroundActive, backgroundBrand$5 as backgroundBrand, backgroundHover$5 as backgroundHover, backgroundInverse$5 as backgroundInverse, backgroundInverseHover$5 as backgroundInverseHover, backgroundSelected$5 as backgroundSelected, backgroundSelectedHover$5 as backgroundSelectedHover, borderDisabled$5 as borderDisabled, borderInteractive$5 as borderInteractive, borderInverse$5 as borderInverse, borderStrong$5 as borderStrong, borderSubtle$5 as borderSubtle, borderSubtleSelected$5 as borderSubtleSelected, brand01$5 as brand01, brand02$5 as brand02, brand03$5 as brand03, buttonDangerActive$5 as buttonDangerActive, buttonDangerHover$5 as buttonDangerHover, buttonDangerPrimary$5 as buttonDangerPrimary, buttonDangerSecondary$5 as buttonDangerSecondary, buttonDisabled$5 as buttonDisabled, buttonPrimary$5 as buttonPrimary, buttonPrimaryActive$5 as buttonPrimaryActive, buttonPrimaryHover$5 as buttonPrimaryHover, buttonSecondary$5 as buttonSecondary, buttonSecondaryActive$5 as buttonSecondaryActive, buttonSecondaryHover$5 as buttonSecondaryHover, buttonSeparator$5 as buttonSeparator, buttonTertiary$5 as buttonTertiary, buttonTertiaryActive$5 as buttonTertiaryActive, buttonTertiaryHover$5 as buttonTertiaryHover, danger$5 as danger, danger01$5 as danger01, danger02$5 as danger02, decorative01$5 as decorative01, disabled01$5 as disabled01, disabled02$5 as disabled02, disabled03$5 as disabled03, field$5 as field, field01$5 as field01, field02$5 as field02, fieldDisabled$5 as fieldDisabled, fieldHover$5 as fieldHover, focus$5 as focus, focusInset$5 as focusInset, focusInverse$5 as focusInverse, formatTokenName, g10, g100, g80, g90, highlight$5 as highlight, hoverDanger$5 as hoverDanger, hoverField$5 as hoverField, hoverLightUI$5 as hoverLightUI, hoverPrimary$5 as hoverPrimary, hoverPrimaryText$5 as hoverPrimaryText, hoverRow$5 as hoverRow, hoverSecondary$5 as hoverSecondary, hoverSelectedUI$5 as hoverSelectedUI, hoverTertiary$5 as hoverTertiary, hoverUI$5 as hoverUI, icon01$5 as icon01, icon02$5 as icon02, icon03$5 as icon03, iconDisabled$5 as iconDisabled, iconInverse$5 as iconInverse, iconOnColor$5 as iconOnColor, iconOnColorDisabled$5 as iconOnColorDisabled, iconPrimary$5 as iconPrimary, iconSecondary$5 as iconSecondary, interactive$5 as interactive, interactive01$5 as interactive01, interactive02$5 as interactive02, interactive03$5 as interactive03, interactive04$5 as interactive04, inverse01$5 as inverse01, inverse02$5 as inverse02, inverseFocusUi$5 as inverseFocusUi, inverseHoverUI$5 as inverseHoverUI, inverseLink$5 as inverseLink, inverseSupport01$5 as inverseSupport01, inverseSupport02$5 as inverseSupport02, inverseSupport03$5 as inverseSupport03, inverseSupport04$5 as inverseSupport04, layer$5 as layer, layerAccent$5 as layerAccent, layerAccentActive$5 as layerAccentActive, layerAccentHover$5 as layerAccentHover, layerActive$5 as layerActive, layerDisabled$5 as layerDisabled, layerHover$5 as layerHover, layerSelected$5 as layerSelected, layerSelectedDisabled$5 as layerSelectedDisabled, layerSelectedHover$5 as layerSelectedHover, layerSelectedInverse$5 as layerSelectedInverse, link01$5 as link01, link02$5 as link02, linkInverse$5 as linkInverse, linkPrimary$5 as linkPrimary, linkPrimaryHover$5 as linkPrimaryHover, linkSecondary$5 as linkSecondary, linkVisited$5 as linkVisited, overlay$5 as overlay, overlay01$5 as overlay01, selectedLightUI$5 as selectedLightUI, selectedUI$5 as selectedUI, skeleton01$5 as skeleton01, skeleton02$5 as skeleton02, skeletonBackground$5 as skeletonBackground, skeletonElement$5 as skeletonElement, support01$5 as support01, support02$5 as support02, support03$5 as support03, support04$5 as support04, supportError$5 as supportError, supportErrorInverse$5 as supportErrorInverse, supportInfo$5 as supportInfo, supportInfoInverse$5 as supportInfoInverse, supportSuccess$5 as supportSuccess, supportSuccessInverse$5 as supportSuccessInverse, supportWarning$5 as supportWarning, supportWarningInverse$5 as supportWarningInverse, text01$5 as text01, text02$5 as text02, text03$5 as text03, text04$5 as text04, text05$5 as text05, textDisabled$5 as textDisabled, textError$5 as textError, textHelper$5 as textHelper, textInverse$5 as textInverse, textOnColor$5 as textOnColor, textOnColorDisabled$5 as textOnColorDisabled, textPlaceholder$5 as textPlaceholder, textPrimary$5 as textPrimary, textSecondary$5 as textSecondary, themes, toggleOff$5 as toggleOff, tokens, ui01$5 as ui01, ui02$5 as ui02, ui03$5 as ui03, ui04$5 as ui04, ui05$5 as ui05, uiBackground$5 as uiBackground, unstable__meta, v9, visitedLink$5 as visitedLink, white };
|
package/index.scss
CHANGED