@carbon/themes 11.52.0-rc.0 → 11.53.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 +97 -16
- package/lib/index.js +105 -20
- package/package.json +6 -6
- package/scss/_component-tokens.scss +2 -1
- package/scss/generated/_content-switcher-tokens.scss +30 -0
- package/scss/generated/_themes.scss +12 -0
- package/scss/generated/_tokens.scss +9 -0
- package/src/component-tokens/content-switcher/index.js +7 -0
- package/src/component-tokens/content-switcher/tokens.js +29 -0
- package/src/g10.js +3 -0
- package/src/g100.js +3 -0
- package/src/g90.js +3 -0
- package/src/index.js +2 -0
- package/src/tokens/components.js +10 -0
- package/src/tokens/v11TokenGroup.js +9 -0
- package/src/tokens/v11TokenSet.js +3 -0
- package/src/white.js +3 -0
- package/umd/index.js +105 -20
package/src/g90.js
CHANGED
|
@@ -66,6 +66,7 @@ export const backgroundSelectedHover = adjustAlpha(gray50, 0.32);
|
|
|
66
66
|
// layer-01
|
|
67
67
|
export const layer01 = gray80;
|
|
68
68
|
export const layerActive01 = gray60;
|
|
69
|
+
export const layerBackground01 = gray90;
|
|
69
70
|
export const layerHover01 = gray80Hover;
|
|
70
71
|
export const layerSelected01 = gray70;
|
|
71
72
|
export const layerSelectedHover01 = gray70Hover;
|
|
@@ -73,6 +74,7 @@ export const layerSelectedHover01 = gray70Hover;
|
|
|
73
74
|
// layer-02
|
|
74
75
|
export const layer02 = gray70;
|
|
75
76
|
export const layerActive02 = gray50;
|
|
77
|
+
export const layerBackground02 = gray80;
|
|
76
78
|
export const layerHover02 = gray70Hover;
|
|
77
79
|
export const layerSelected02 = gray60;
|
|
78
80
|
export const layerSelectedHover02 = gray60Hover;
|
|
@@ -80,6 +82,7 @@ export const layerSelectedHover02 = gray60Hover;
|
|
|
80
82
|
// layer-03
|
|
81
83
|
export const layer03 = gray60;
|
|
82
84
|
export const layerActive03 = gray80;
|
|
85
|
+
export const layerBackground03 = gray70;
|
|
83
86
|
export const layerHover03 = gray60Hover;
|
|
84
87
|
export const layerSelected03 = gray70;
|
|
85
88
|
export const layerSelectedHover03 = gray70Hover;
|
package/src/index.js
CHANGED
|
@@ -14,6 +14,7 @@ import * as buttonTokens from './component-tokens/button';
|
|
|
14
14
|
import * as tagTokens from './component-tokens/tag';
|
|
15
15
|
import * as notificationTokens from './component-tokens/notification';
|
|
16
16
|
import * as statusTokens from './component-tokens/status';
|
|
17
|
+
import * as contentSwitcherTokens from './component-tokens/content-switcher';
|
|
17
18
|
import { formatTokenName } from './tools';
|
|
18
19
|
import { unstable_metadata } from './tokens';
|
|
19
20
|
|
|
@@ -36,6 +37,7 @@ export {
|
|
|
36
37
|
tagTokens,
|
|
37
38
|
notificationTokens,
|
|
38
39
|
statusTokens,
|
|
40
|
+
contentSwitcherTokens,
|
|
39
41
|
unstable_metadata,
|
|
40
42
|
formatTokenName,
|
|
41
43
|
};
|
package/src/tokens/components.js
CHANGED
|
@@ -108,3 +108,13 @@ export const status = TokenGroup.create({
|
|
|
108
108
|
'status-gray',
|
|
109
109
|
],
|
|
110
110
|
});
|
|
111
|
+
|
|
112
|
+
export const contentSwitcher = TokenGroup.create({
|
|
113
|
+
name: 'Content Switcher',
|
|
114
|
+
properties: [],
|
|
115
|
+
tokens: [
|
|
116
|
+
'content-switcher-selected',
|
|
117
|
+
'content-switcher-background',
|
|
118
|
+
'content-switcher-background-hover',
|
|
119
|
+
],
|
|
120
|
+
});
|
|
@@ -48,6 +48,9 @@ export const layer = TokenGroup.create({
|
|
|
48
48
|
state: 'active',
|
|
49
49
|
name: 'layer-active-01',
|
|
50
50
|
},
|
|
51
|
+
{
|
|
52
|
+
name: 'layer-background-01',
|
|
53
|
+
},
|
|
51
54
|
{
|
|
52
55
|
state: 'hover',
|
|
53
56
|
name: 'layer-hover-01',
|
|
@@ -67,6 +70,9 @@ export const layer = TokenGroup.create({
|
|
|
67
70
|
state: 'active',
|
|
68
71
|
name: 'layer-active-02',
|
|
69
72
|
},
|
|
73
|
+
{
|
|
74
|
+
name: 'layer-background-02',
|
|
75
|
+
},
|
|
70
76
|
{
|
|
71
77
|
state: 'hover',
|
|
72
78
|
name: 'layer-hover-02',
|
|
@@ -86,6 +92,9 @@ export const layer = TokenGroup.create({
|
|
|
86
92
|
state: 'active',
|
|
87
93
|
name: 'layer-active-03',
|
|
88
94
|
},
|
|
95
|
+
{
|
|
96
|
+
name: 'layer-background-03',
|
|
97
|
+
},
|
|
89
98
|
{
|
|
90
99
|
state: 'hover',
|
|
91
100
|
name: 'layer-hover-03',
|
|
@@ -26,6 +26,7 @@ export const set = TokenSet.create({
|
|
|
26
26
|
tokens: [
|
|
27
27
|
layer.getToken('layer-01'),
|
|
28
28
|
layer.getToken('layer-active-01'),
|
|
29
|
+
layer.getToken('layer-background-01'),
|
|
29
30
|
layer.getToken('layer-hover-01'),
|
|
30
31
|
layer.getToken('layer-selected-hover-01'),
|
|
31
32
|
layer.getToken('layer-accent-01'),
|
|
@@ -48,6 +49,7 @@ export const set = TokenSet.create({
|
|
|
48
49
|
tokens: [
|
|
49
50
|
layer.getToken('layer-02'),
|
|
50
51
|
layer.getToken('layer-active-02'),
|
|
52
|
+
layer.getToken('layer-background-02'),
|
|
51
53
|
layer.getToken('layer-hover-02'),
|
|
52
54
|
layer.getToken('layer-selected-hover-02'),
|
|
53
55
|
layer.getToken('layer-accent-02'),
|
|
@@ -70,6 +72,7 @@ export const set = TokenSet.create({
|
|
|
70
72
|
tokens: [
|
|
71
73
|
layer.getToken('layer-03'),
|
|
72
74
|
layer.getToken('layer-active-03'),
|
|
75
|
+
layer.getToken('layer-background-03'),
|
|
73
76
|
layer.getToken('layer-hover-03'),
|
|
74
77
|
layer.getToken('layer-selected-hover-03'),
|
|
75
78
|
layer.getToken('layer-accent-03'),
|
package/src/white.js
CHANGED
|
@@ -62,6 +62,7 @@ export const backgroundSelectedHover = adjustAlpha(gray50, 0.32);
|
|
|
62
62
|
// layer-01
|
|
63
63
|
export const layer01 = gray10;
|
|
64
64
|
export const layerActive01 = gray30;
|
|
65
|
+
export const layerBackground01 = white;
|
|
65
66
|
export const layerHover01 = gray10Hover;
|
|
66
67
|
export const layerSelected01 = gray20;
|
|
67
68
|
export const layerSelectedHover01 = gray20Hover;
|
|
@@ -69,6 +70,7 @@ export const layerSelectedHover01 = gray20Hover;
|
|
|
69
70
|
// layer-02
|
|
70
71
|
export const layer02 = white;
|
|
71
72
|
export const layerActive02 = gray30;
|
|
73
|
+
export const layerBackground02 = gray10;
|
|
72
74
|
export const layerHover02 = whiteHover;
|
|
73
75
|
export const layerSelected02 = gray20;
|
|
74
76
|
export const layerSelectedHover02 = gray20Hover;
|
|
@@ -76,6 +78,7 @@ export const layerSelectedHover02 = gray20Hover;
|
|
|
76
78
|
// layer-03
|
|
77
79
|
export const layer03 = gray10;
|
|
78
80
|
export const layerActive03 = gray30;
|
|
81
|
+
export const layerBackground03 = white;
|
|
79
82
|
export const layerHover03 = gray10Hover;
|
|
80
83
|
export const layerSelected03 = gray20;
|
|
81
84
|
export const layerSelectedHover03 = gray20Hover;
|
package/umd/index.js
CHANGED
|
@@ -525,6 +525,7 @@
|
|
|
525
525
|
// layer-01
|
|
526
526
|
var layer01$3 = colors$1.gray10;
|
|
527
527
|
var layerActive01$3 = colors$1.gray30;
|
|
528
|
+
var layerBackground01$3 = colors$1.white;
|
|
528
529
|
var layerHover01$3 = colors$1.gray10Hover;
|
|
529
530
|
var layerSelected01$3 = colors$1.gray20;
|
|
530
531
|
var layerSelectedHover01$3 = colors$1.gray20Hover;
|
|
@@ -532,6 +533,7 @@
|
|
|
532
533
|
// layer-02
|
|
533
534
|
var layer02$3 = colors$1.white;
|
|
534
535
|
var layerActive02$3 = colors$1.gray30;
|
|
536
|
+
var layerBackground02$3 = colors$1.gray10;
|
|
535
537
|
var layerHover02$3 = colors$1.whiteHover;
|
|
536
538
|
var layerSelected02$3 = colors$1.gray20;
|
|
537
539
|
var layerSelectedHover02$3 = colors$1.gray20Hover;
|
|
@@ -539,6 +541,7 @@
|
|
|
539
541
|
// layer-03
|
|
540
542
|
var layer03$3 = colors$1.gray10;
|
|
541
543
|
var layerActive03$3 = colors$1.gray30;
|
|
544
|
+
var layerBackground03$3 = colors$1.white;
|
|
542
545
|
var layerHover03$3 = colors$1.gray10Hover;
|
|
543
546
|
var layerSelected03$3 = colors$1.gray20;
|
|
544
547
|
var layerSelectedHover03$3 = colors$1.gray20Hover;
|
|
@@ -735,16 +738,19 @@
|
|
|
735
738
|
backgroundSelectedHover: backgroundSelectedHover$7,
|
|
736
739
|
layer01: layer01$3,
|
|
737
740
|
layerActive01: layerActive01$3,
|
|
741
|
+
layerBackground01: layerBackground01$3,
|
|
738
742
|
layerHover01: layerHover01$3,
|
|
739
743
|
layerSelected01: layerSelected01$3,
|
|
740
744
|
layerSelectedHover01: layerSelectedHover01$3,
|
|
741
745
|
layer02: layer02$3,
|
|
742
746
|
layerActive02: layerActive02$3,
|
|
747
|
+
layerBackground02: layerBackground02$3,
|
|
743
748
|
layerHover02: layerHover02$3,
|
|
744
749
|
layerSelected02: layerSelected02$3,
|
|
745
750
|
layerSelectedHover02: layerSelectedHover02$3,
|
|
746
751
|
layer03: layer03$3,
|
|
747
752
|
layerActive03: layerActive03$3,
|
|
753
|
+
layerBackground03: layerBackground03$3,
|
|
748
754
|
layerHover03: layerHover03$3,
|
|
749
755
|
layerSelected03: layerSelected03$3,
|
|
750
756
|
layerSelectedHover03: layerSelectedHover03$3,
|
|
@@ -958,6 +964,7 @@
|
|
|
958
964
|
// layer-01
|
|
959
965
|
var layer01$2 = colors$1.white;
|
|
960
966
|
var layerActive01$2 = colors$1.gray30;
|
|
967
|
+
var layerBackground01$2 = colors$1.gray10;
|
|
961
968
|
var layerHover01$2 = colors$1.whiteHover;
|
|
962
969
|
var layerSelected01$2 = colors$1.gray20;
|
|
963
970
|
var layerSelectedHover01$2 = colors$1.gray20Hover;
|
|
@@ -965,6 +972,7 @@
|
|
|
965
972
|
// layer-02
|
|
966
973
|
var layer02$2 = colors$1.gray10;
|
|
967
974
|
var layerActive02$2 = colors$1.gray30;
|
|
975
|
+
var layerBackground02$2 = colors$1.white;
|
|
968
976
|
var layerHover02$2 = colors$1.gray10Hover;
|
|
969
977
|
var layerSelected02$2 = colors$1.gray20;
|
|
970
978
|
var layerSelectedHover02$2 = colors$1.gray20Hover;
|
|
@@ -972,6 +980,7 @@
|
|
|
972
980
|
// layer-03
|
|
973
981
|
var layer03$2 = colors$1.white;
|
|
974
982
|
var layerActive03$2 = colors$1.gray30;
|
|
983
|
+
var layerBackground03$2 = colors$1.gray10;
|
|
975
984
|
var layerHover03$2 = colors$1.whiteHover;
|
|
976
985
|
var layerSelected03$2 = colors$1.gray20;
|
|
977
986
|
var layerSelectedHover03$2 = colors$1.gray20Hover;
|
|
@@ -1168,16 +1177,19 @@
|
|
|
1168
1177
|
backgroundSelectedHover: backgroundSelectedHover$6,
|
|
1169
1178
|
layer01: layer01$2,
|
|
1170
1179
|
layerActive01: layerActive01$2,
|
|
1180
|
+
layerBackground01: layerBackground01$2,
|
|
1171
1181
|
layerHover01: layerHover01$2,
|
|
1172
1182
|
layerSelected01: layerSelected01$2,
|
|
1173
1183
|
layerSelectedHover01: layerSelectedHover01$2,
|
|
1174
1184
|
layer02: layer02$2,
|
|
1175
1185
|
layerActive02: layerActive02$2,
|
|
1186
|
+
layerBackground02: layerBackground02$2,
|
|
1176
1187
|
layerHover02: layerHover02$2,
|
|
1177
1188
|
layerSelected02: layerSelected02$2,
|
|
1178
1189
|
layerSelectedHover02: layerSelectedHover02$2,
|
|
1179
1190
|
layer03: layer03$2,
|
|
1180
1191
|
layerActive03: layerActive03$2,
|
|
1192
|
+
layerBackground03: layerBackground03$2,
|
|
1181
1193
|
layerHover03: layerHover03$2,
|
|
1182
1194
|
layerSelected03: layerSelected03$2,
|
|
1183
1195
|
layerSelectedHover03: layerSelectedHover03$2,
|
|
@@ -1391,6 +1403,7 @@
|
|
|
1391
1403
|
// layer-01
|
|
1392
1404
|
var layer01$1 = colors$1.gray80;
|
|
1393
1405
|
var layerActive01$1 = colors$1.gray60;
|
|
1406
|
+
var layerBackground01$1 = colors$1.gray90;
|
|
1394
1407
|
var layerHover01$1 = colors$1.gray80Hover;
|
|
1395
1408
|
var layerSelected01$1 = colors$1.gray70;
|
|
1396
1409
|
var layerSelectedHover01$1 = colors$1.gray70Hover;
|
|
@@ -1398,6 +1411,7 @@
|
|
|
1398
1411
|
// layer-02
|
|
1399
1412
|
var layer02$1 = colors$1.gray70;
|
|
1400
1413
|
var layerActive02$1 = colors$1.gray50;
|
|
1414
|
+
var layerBackground02$1 = colors$1.gray80;
|
|
1401
1415
|
var layerHover02$1 = colors$1.gray70Hover;
|
|
1402
1416
|
var layerSelected02$1 = colors$1.gray60;
|
|
1403
1417
|
var layerSelectedHover02$1 = colors$1.gray60Hover;
|
|
@@ -1405,6 +1419,7 @@
|
|
|
1405
1419
|
// layer-03
|
|
1406
1420
|
var layer03$1 = colors$1.gray60;
|
|
1407
1421
|
var layerActive03$1 = colors$1.gray80;
|
|
1422
|
+
var layerBackground03$1 = colors$1.gray70;
|
|
1408
1423
|
var layerHover03$1 = colors$1.gray60Hover;
|
|
1409
1424
|
var layerSelected03$1 = colors$1.gray70;
|
|
1410
1425
|
var layerSelectedHover03$1 = colors$1.gray70Hover;
|
|
@@ -1601,16 +1616,19 @@
|
|
|
1601
1616
|
backgroundSelectedHover: backgroundSelectedHover$5,
|
|
1602
1617
|
layer01: layer01$1,
|
|
1603
1618
|
layerActive01: layerActive01$1,
|
|
1619
|
+
layerBackground01: layerBackground01$1,
|
|
1604
1620
|
layerHover01: layerHover01$1,
|
|
1605
1621
|
layerSelected01: layerSelected01$1,
|
|
1606
1622
|
layerSelectedHover01: layerSelectedHover01$1,
|
|
1607
1623
|
layer02: layer02$1,
|
|
1608
1624
|
layerActive02: layerActive02$1,
|
|
1625
|
+
layerBackground02: layerBackground02$1,
|
|
1609
1626
|
layerHover02: layerHover02$1,
|
|
1610
1627
|
layerSelected02: layerSelected02$1,
|
|
1611
1628
|
layerSelectedHover02: layerSelectedHover02$1,
|
|
1612
1629
|
layer03: layer03$1,
|
|
1613
1630
|
layerActive03: layerActive03$1,
|
|
1631
|
+
layerBackground03: layerBackground03$1,
|
|
1614
1632
|
layerHover03: layerHover03$1,
|
|
1615
1633
|
layerSelected03: layerSelected03$1,
|
|
1616
1634
|
layerSelectedHover03: layerSelectedHover03$1,
|
|
@@ -1824,6 +1842,7 @@
|
|
|
1824
1842
|
// layer-01
|
|
1825
1843
|
var layer01 = colors$1.gray90;
|
|
1826
1844
|
var layerActive01 = colors$1.gray70;
|
|
1845
|
+
var layerBackground01 = colors$1.gray100;
|
|
1827
1846
|
var layerHover01 = colors$1.gray90Hover;
|
|
1828
1847
|
var layerSelected01 = colors$1.gray80;
|
|
1829
1848
|
var layerSelectedHover01 = colors$1.gray80Hover;
|
|
@@ -1831,6 +1850,7 @@
|
|
|
1831
1850
|
// layer-02
|
|
1832
1851
|
var layer02 = colors$1.gray80;
|
|
1833
1852
|
var layerActive02 = colors$1.gray60;
|
|
1853
|
+
var layerBackground02 = colors$1.gray90;
|
|
1834
1854
|
var layerHover02 = colors$1.gray80Hover;
|
|
1835
1855
|
var layerSelected02 = colors$1.gray70;
|
|
1836
1856
|
var layerSelectedHover02 = colors$1.gray70Hover;
|
|
@@ -1838,6 +1858,7 @@
|
|
|
1838
1858
|
// layer-03
|
|
1839
1859
|
var layer03 = colors$1.gray70;
|
|
1840
1860
|
var layerActive03 = colors$1.gray50;
|
|
1861
|
+
var layerBackground03 = colors$1.gray80;
|
|
1841
1862
|
var layerHover03 = colors$1.gray70Hover;
|
|
1842
1863
|
var layerSelected03 = colors$1.gray60;
|
|
1843
1864
|
var layerSelectedHover03 = colors$1.gray60Hover;
|
|
@@ -2034,16 +2055,19 @@
|
|
|
2034
2055
|
backgroundSelectedHover: backgroundSelectedHover$4,
|
|
2035
2056
|
layer01: layer01,
|
|
2036
2057
|
layerActive01: layerActive01,
|
|
2058
|
+
layerBackground01: layerBackground01,
|
|
2037
2059
|
layerHover01: layerHover01,
|
|
2038
2060
|
layerSelected01: layerSelected01,
|
|
2039
2061
|
layerSelectedHover01: layerSelectedHover01,
|
|
2040
2062
|
layer02: layer02,
|
|
2041
2063
|
layerActive02: layerActive02,
|
|
2064
|
+
layerBackground02: layerBackground02,
|
|
2042
2065
|
layerHover02: layerHover02,
|
|
2043
2066
|
layerSelected02: layerSelected02,
|
|
2044
2067
|
layerSelectedHover02: layerSelectedHover02,
|
|
2045
2068
|
layer03: layer03,
|
|
2046
2069
|
layerActive03: layerActive03,
|
|
2070
|
+
layerBackground03: layerBackground03,
|
|
2047
2071
|
layerHover03: layerHover03,
|
|
2048
2072
|
layerSelected03: layerSelected03,
|
|
2049
2073
|
layerSelectedHover03: layerSelectedHover03,
|
|
@@ -3883,7 +3907,7 @@
|
|
|
3883
3907
|
'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', 'shadow', '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', 'borderDisabled', 'textDisabled', 'buttonDisabled', 'iconDisabled', 'textOnColorDisabled', 'iconOnColorDisabled', 'layerSelectedDisabled', 'skeletonBackground', 'skeletonElement',
|
|
3884
3908
|
// Deprecated
|
|
3885
3909
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
3886
|
-
var tokens$
|
|
3910
|
+
var tokens$5 = {
|
|
3887
3911
|
colors: colors,
|
|
3888
3912
|
type: type$2.unstable_tokens,
|
|
3889
3913
|
layout: layout$2.unstable_tokens
|
|
@@ -3902,14 +3926,14 @@
|
|
|
3902
3926
|
g100: g100
|
|
3903
3927
|
};
|
|
3904
3928
|
|
|
3905
|
-
var index$
|
|
3929
|
+
var index$5 = /*#__PURE__*/Object.freeze({
|
|
3906
3930
|
__proto__: null,
|
|
3907
3931
|
white: white,
|
|
3908
3932
|
g10: g10,
|
|
3909
3933
|
g90: g90,
|
|
3910
3934
|
g100: g100,
|
|
3911
3935
|
themes: themes$1,
|
|
3912
|
-
tokens: tokens$
|
|
3936
|
+
tokens: tokens$5,
|
|
3913
3937
|
caption01: type$2.caption01,
|
|
3914
3938
|
caption02: type$2.caption02,
|
|
3915
3939
|
label01: type$2.label01,
|
|
@@ -4253,7 +4277,7 @@
|
|
|
4253
4277
|
g100: 'rgb(141 141 141 / 30%)'
|
|
4254
4278
|
};
|
|
4255
4279
|
|
|
4256
|
-
var tokens$
|
|
4280
|
+
var tokens$4 = /*#__PURE__*/Object.freeze({
|
|
4257
4281
|
__proto__: null,
|
|
4258
4282
|
buttonSeparator: buttonSeparator,
|
|
4259
4283
|
buttonPrimary: buttonPrimary,
|
|
@@ -4279,9 +4303,9 @@
|
|
|
4279
4303
|
* LICENSE file in the root directory of this source tree.
|
|
4280
4304
|
*/
|
|
4281
4305
|
|
|
4282
|
-
var index$
|
|
4306
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
4283
4307
|
__proto__: null,
|
|
4284
|
-
buttonTokens: tokens$
|
|
4308
|
+
buttonTokens: tokens$4
|
|
4285
4309
|
});
|
|
4286
4310
|
|
|
4287
4311
|
/**
|
|
@@ -4531,7 +4555,7 @@
|
|
|
4531
4555
|
g100: colors$1.warmGray50
|
|
4532
4556
|
};
|
|
4533
4557
|
|
|
4534
|
-
var tokens$
|
|
4558
|
+
var tokens$3 = /*#__PURE__*/Object.freeze({
|
|
4535
4559
|
__proto__: null,
|
|
4536
4560
|
tagBackgroundRed: tagBackgroundRed,
|
|
4537
4561
|
tagColorRed: tagColorRed,
|
|
@@ -4582,9 +4606,9 @@
|
|
|
4582
4606
|
* LICENSE file in the root directory of this source tree.
|
|
4583
4607
|
*/
|
|
4584
4608
|
|
|
4585
|
-
var index$
|
|
4609
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
4586
4610
|
__proto__: null,
|
|
4587
|
-
tagTokens: tokens$
|
|
4611
|
+
tagTokens: tokens$3
|
|
4588
4612
|
});
|
|
4589
4613
|
|
|
4590
4614
|
/**
|
|
@@ -4652,7 +4676,7 @@
|
|
|
4652
4676
|
g100: textOnColorDisabled$7
|
|
4653
4677
|
};
|
|
4654
4678
|
|
|
4655
|
-
var tokens$
|
|
4679
|
+
var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
4656
4680
|
__proto__: null,
|
|
4657
4681
|
notificationBackgroundError: notificationBackgroundError,
|
|
4658
4682
|
notificationBackgroundSuccess: notificationBackgroundSuccess,
|
|
@@ -4673,9 +4697,9 @@
|
|
|
4673
4697
|
* LICENSE file in the root directory of this source tree.
|
|
4674
4698
|
*/
|
|
4675
4699
|
|
|
4676
|
-
var index$
|
|
4700
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
4677
4701
|
__proto__: null,
|
|
4678
|
-
notificationTokens: tokens$
|
|
4702
|
+
notificationTokens: tokens$2
|
|
4679
4703
|
});
|
|
4680
4704
|
|
|
4681
4705
|
/**
|
|
@@ -4741,7 +4765,7 @@
|
|
|
4741
4765
|
g100: colors$1.gray100
|
|
4742
4766
|
};
|
|
4743
4767
|
|
|
4744
|
-
var tokens = /*#__PURE__*/Object.freeze({
|
|
4768
|
+
var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
4745
4769
|
__proto__: null,
|
|
4746
4770
|
statusRed: statusRed,
|
|
4747
4771
|
statusOrange: statusOrange,
|
|
@@ -4755,6 +4779,51 @@
|
|
|
4755
4779
|
statusAccessibilityBackground: statusAccessibilityBackground
|
|
4756
4780
|
});
|
|
4757
4781
|
|
|
4782
|
+
/**
|
|
4783
|
+
* Copyright IBM Corp. 2025
|
|
4784
|
+
*
|
|
4785
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
4786
|
+
* LICENSE file in the root directory of this source tree.
|
|
4787
|
+
*/
|
|
4788
|
+
|
|
4789
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
4790
|
+
__proto__: null,
|
|
4791
|
+
statusTokens: tokens$1
|
|
4792
|
+
});
|
|
4793
|
+
|
|
4794
|
+
/**
|
|
4795
|
+
* Copyright IBM Corp. 2025
|
|
4796
|
+
*
|
|
4797
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
4798
|
+
* LICENSE file in the root directory of this source tree.
|
|
4799
|
+
*/
|
|
4800
|
+
var transparent = 'rgba(0, 0, 0, 0)';
|
|
4801
|
+
var contentSwitcherSelected = {
|
|
4802
|
+
whiteTheme: colors$1.white,
|
|
4803
|
+
g10: colors$1.white,
|
|
4804
|
+
g90: colors$1.rgba(colors$1.gray50, 0.24),
|
|
4805
|
+
g100: colors$1.rgba(colors$1.gray50, 0.24)
|
|
4806
|
+
};
|
|
4807
|
+
var contentSwitcherBackground = {
|
|
4808
|
+
whiteTheme: colors$1.gray20,
|
|
4809
|
+
g10: colors$1.gray20,
|
|
4810
|
+
g90: transparent,
|
|
4811
|
+
g100: transparent
|
|
4812
|
+
};
|
|
4813
|
+
var contentSwitcherBackgroundHover = {
|
|
4814
|
+
whiteTheme: colors$1.gray20Hover,
|
|
4815
|
+
g10: colors$1.gray20Hover,
|
|
4816
|
+
g90: colors$1.rgba(colors$1.gray50, 0.12),
|
|
4817
|
+
g100: colors$1.rgba(colors$1.gray50, 0.12)
|
|
4818
|
+
};
|
|
4819
|
+
|
|
4820
|
+
var tokens = /*#__PURE__*/Object.freeze({
|
|
4821
|
+
__proto__: null,
|
|
4822
|
+
contentSwitcherSelected: contentSwitcherSelected,
|
|
4823
|
+
contentSwitcherBackground: contentSwitcherBackground,
|
|
4824
|
+
contentSwitcherBackgroundHover: contentSwitcherBackgroundHover
|
|
4825
|
+
});
|
|
4826
|
+
|
|
4758
4827
|
/**
|
|
4759
4828
|
* Copyright IBM Corp. 2025
|
|
4760
4829
|
*
|
|
@@ -4764,7 +4833,7 @@
|
|
|
4764
4833
|
|
|
4765
4834
|
var index = /*#__PURE__*/Object.freeze({
|
|
4766
4835
|
__proto__: null,
|
|
4767
|
-
|
|
4836
|
+
contentSwitcherTokens: tokens
|
|
4768
4837
|
});
|
|
4769
4838
|
|
|
4770
4839
|
/**
|
|
@@ -5068,6 +5137,8 @@
|
|
|
5068
5137
|
}, {
|
|
5069
5138
|
state: 'active',
|
|
5070
5139
|
name: 'layer-active-01'
|
|
5140
|
+
}, {
|
|
5141
|
+
name: 'layer-background-01'
|
|
5071
5142
|
}, {
|
|
5072
5143
|
state: 'hover',
|
|
5073
5144
|
name: 'layer-hover-01'
|
|
@@ -5082,6 +5153,8 @@
|
|
|
5082
5153
|
}, {
|
|
5083
5154
|
state: 'active',
|
|
5084
5155
|
name: 'layer-active-02'
|
|
5156
|
+
}, {
|
|
5157
|
+
name: 'layer-background-02'
|
|
5085
5158
|
}, {
|
|
5086
5159
|
state: 'hover',
|
|
5087
5160
|
name: 'layer-hover-02'
|
|
@@ -5096,6 +5169,8 @@
|
|
|
5096
5169
|
}, {
|
|
5097
5170
|
state: 'active',
|
|
5098
5171
|
name: 'layer-active-03'
|
|
5172
|
+
}, {
|
|
5173
|
+
name: 'layer-background-03'
|
|
5099
5174
|
}, {
|
|
5100
5175
|
state: 'hover',
|
|
5101
5176
|
name: 'layer-hover-03'
|
|
@@ -5310,13 +5385,19 @@
|
|
|
5310
5385
|
properties: [],
|
|
5311
5386
|
tokens: ['status-red', 'status-orange', 'status-orange-outline', 'status-yellow', 'status-yellow-outline', 'status-purple', 'status-green', 'status-blue', 'status-gray']
|
|
5312
5387
|
});
|
|
5388
|
+
var contentSwitcher = TokenGroup.create({
|
|
5389
|
+
name: 'Content Switcher',
|
|
5390
|
+
properties: [],
|
|
5391
|
+
tokens: ['content-switcher-selected', 'content-switcher-background', 'content-switcher-background-hover']
|
|
5392
|
+
});
|
|
5313
5393
|
|
|
5314
5394
|
var components = /*#__PURE__*/Object.freeze({
|
|
5315
5395
|
__proto__: null,
|
|
5316
5396
|
button: button,
|
|
5317
5397
|
notification: notification,
|
|
5318
5398
|
tag: tag,
|
|
5319
|
-
status: status
|
|
5399
|
+
status: status,
|
|
5400
|
+
contentSwitcher: contentSwitcher
|
|
5320
5401
|
});
|
|
5321
5402
|
|
|
5322
5403
|
/**
|
|
@@ -5752,7 +5833,7 @@
|
|
|
5752
5833
|
exports.borderTile01 = borderTile01$3;
|
|
5753
5834
|
exports.borderTile02 = borderTile02$3;
|
|
5754
5835
|
exports.borderTile03 = borderTile03$3;
|
|
5755
|
-
exports.buttonTokens = index$
|
|
5836
|
+
exports.buttonTokens = index$4;
|
|
5756
5837
|
exports.chatAvatarAgent = chatAvatarAgent$3;
|
|
5757
5838
|
exports.chatAvatarBot = chatAvatarBot$3;
|
|
5758
5839
|
exports.chatAvatarUser = chatAvatarUser$3;
|
|
@@ -5770,6 +5851,7 @@
|
|
|
5770
5851
|
exports.chatPromptBorderEnd = chatPromptBorderEnd$3;
|
|
5771
5852
|
exports.chatPromptBorderStart = chatPromptBorderStart$3;
|
|
5772
5853
|
exports.chatShellBackground = chatShellBackground$3;
|
|
5854
|
+
exports.contentSwitcherTokens = index;
|
|
5773
5855
|
exports.field01 = field01$7;
|
|
5774
5856
|
exports.field02 = field02$7;
|
|
5775
5857
|
exports.field03 = field03$3;
|
|
@@ -5807,6 +5889,9 @@
|
|
|
5807
5889
|
exports.layerActive01 = layerActive01$3;
|
|
5808
5890
|
exports.layerActive02 = layerActive02$3;
|
|
5809
5891
|
exports.layerActive03 = layerActive03$3;
|
|
5892
|
+
exports.layerBackground01 = layerBackground01$3;
|
|
5893
|
+
exports.layerBackground02 = layerBackground02$3;
|
|
5894
|
+
exports.layerBackground03 = layerBackground03$3;
|
|
5810
5895
|
exports.layerHover01 = layerHover01$3;
|
|
5811
5896
|
exports.layerHover02 = layerHover02$3;
|
|
5812
5897
|
exports.layerHover03 = layerHover03$3;
|
|
@@ -5826,12 +5911,12 @@
|
|
|
5826
5911
|
exports.linkPrimaryHover = linkPrimaryHover$7;
|
|
5827
5912
|
exports.linkSecondary = linkSecondary$7;
|
|
5828
5913
|
exports.linkVisited = linkVisited$7;
|
|
5829
|
-
exports.notificationTokens = index$
|
|
5914
|
+
exports.notificationTokens = index$2;
|
|
5830
5915
|
exports.overlay = overlay$7;
|
|
5831
5916
|
exports.shadow = shadow$7;
|
|
5832
5917
|
exports.skeletonBackground = skeletonBackground$7;
|
|
5833
5918
|
exports.skeletonElement = skeletonElement$7;
|
|
5834
|
-
exports.statusTokens = index;
|
|
5919
|
+
exports.statusTokens = index$1;
|
|
5835
5920
|
exports.supportCautionMajor = supportCautionMajor$3;
|
|
5836
5921
|
exports.supportCautionMinor = supportCautionMinor$3;
|
|
5837
5922
|
exports.supportCautionUndefined = supportCautionUndefined$3;
|
|
@@ -5843,7 +5928,7 @@
|
|
|
5843
5928
|
exports.supportSuccessInverse = supportSuccessInverse$7;
|
|
5844
5929
|
exports.supportWarning = supportWarning$7;
|
|
5845
5930
|
exports.supportWarningInverse = supportWarningInverse$7;
|
|
5846
|
-
exports.tagTokens = index$
|
|
5931
|
+
exports.tagTokens = index$3;
|
|
5847
5932
|
exports.textDisabled = textDisabled$7;
|
|
5848
5933
|
exports.textError = textError$7;
|
|
5849
5934
|
exports.textHelper = textHelper$7;
|
|
@@ -5856,7 +5941,7 @@
|
|
|
5856
5941
|
exports.themes = themes;
|
|
5857
5942
|
exports.toggleOff = toggleOff$7;
|
|
5858
5943
|
exports.unstable_metadata = unstable_metadata;
|
|
5859
|
-
exports.v10 = index$
|
|
5944
|
+
exports.v10 = index$5;
|
|
5860
5945
|
exports.white = white$1;
|
|
5861
5946
|
|
|
5862
5947
|
Object.defineProperty(exports, '__esModule', { value: true });
|