@carbon/themes 11.10.0 → 11.11.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 +598 -140
- package/index.scss +1 -0
- package/lib/index.js +601 -139
- package/package.json +4 -4
- package/scss/_component-tokens.scss +10 -0
- package/scss/generated/_button-tokens.scss +115 -0
- package/scss/generated/_notification-tokens.scss +88 -0
- package/scss/generated/_tag-tokens.scss +219 -0
- package/src/component-tokens/button/index.js +1 -0
- package/src/component-tokens/button/tokens.js +123 -0
- package/src/component-tokens/notification/index.js +1 -0
- package/src/component-tokens/notification/tokens.js +103 -0
- package/src/component-tokens/tag/index.js +1 -0
- package/src/component-tokens/tag/tokens.js +260 -0
- package/src/index.js +17 -1
- package/src/tools.js +40 -0
- package/src/v10/tokens.js +0 -40
- package/umd/index.js +601 -139
package/umd/index.js
CHANGED
|
@@ -537,6 +537,45 @@
|
|
|
537
537
|
function adjustAlpha(token, alpha) {
|
|
538
538
|
return Color__default["default"](token).rgb().alpha(alpha).string();
|
|
539
539
|
}
|
|
540
|
+
var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
|
541
|
+
/**
|
|
542
|
+
* Format a given token into the format expected in CSS/SCSS-based projects.
|
|
543
|
+
* @param {string} token
|
|
544
|
+
* @returns {string}
|
|
545
|
+
*/
|
|
546
|
+
|
|
547
|
+
function formatTokenName(token) {
|
|
548
|
+
var string = '';
|
|
549
|
+
|
|
550
|
+
for (var i = 0; i < token.length; i++) {
|
|
551
|
+
// If we run into a number, we hit the scale step at the end of a token name
|
|
552
|
+
// and can safely truncate the rest of the token
|
|
553
|
+
if (numbers.indexOf(token[i]) !== -1) {
|
|
554
|
+
string += '-' + token.slice(i);
|
|
555
|
+
break;
|
|
556
|
+
} // When encountering an uppercase name, we will want to start adding `-`
|
|
557
|
+
// between words
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
if (token[i] === token[i].toUpperCase()) {
|
|
561
|
+
// Check backwards to see if previous letter was also capitalized, if so
|
|
562
|
+
// we are in a special case like UI where each piece should be connected
|
|
563
|
+
if (token[i - 1] && token[i - 1] === token[i - 1].toUpperCase()) {
|
|
564
|
+
string += token[i].toLowerCase();
|
|
565
|
+
continue;
|
|
566
|
+
} // Otherwise, just concatenate this new part on to the existing string
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
string += '-' + token[i].toLowerCase();
|
|
570
|
+
continue;
|
|
571
|
+
} // By default, we add the current character to the output string
|
|
572
|
+
|
|
573
|
+
|
|
574
|
+
string += token[i];
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
return string;
|
|
578
|
+
}
|
|
540
579
|
|
|
541
580
|
/**
|
|
542
581
|
* Copyright IBM Corp. 2018, 2018
|
|
@@ -1792,7 +1831,7 @@
|
|
|
1792
1831
|
var disabled03$3 = colors$1.gray50;
|
|
1793
1832
|
var highlight$3 = colors$1.blue20;
|
|
1794
1833
|
var decorative01$3 = colors$1.gray20;
|
|
1795
|
-
var buttonSeparator$
|
|
1834
|
+
var buttonSeparator$4 = '#e0e0e0';
|
|
1796
1835
|
var skeleton01$3 = '#e5e5e5';
|
|
1797
1836
|
var skeleton02$3 = colors$1.gray30; // New color tokens
|
|
1798
1837
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
@@ -1835,17 +1874,17 @@
|
|
|
1835
1874
|
var overlay$3 = overlay01$3;
|
|
1836
1875
|
var toggleOff$3 = ui04$3;
|
|
1837
1876
|
var shadow$3 = colors$1.rgba(colors$1.black, 0.3);
|
|
1838
|
-
var buttonPrimary$
|
|
1839
|
-
var buttonSecondary$
|
|
1840
|
-
var buttonTertiary$
|
|
1841
|
-
var buttonDangerPrimary$
|
|
1842
|
-
var buttonDangerSecondary$
|
|
1877
|
+
var buttonPrimary$4 = interactive01$3;
|
|
1878
|
+
var buttonSecondary$4 = interactive02$3;
|
|
1879
|
+
var buttonTertiary$4 = interactive03$3;
|
|
1880
|
+
var buttonDangerPrimary$4 = danger01$3;
|
|
1881
|
+
var buttonDangerSecondary$4 = danger02$3;
|
|
1843
1882
|
var backgroundActive$3 = activeUI$3;
|
|
1844
1883
|
var layerActive$3 = activeUI$3;
|
|
1845
|
-
var buttonDangerActive$
|
|
1846
|
-
var buttonPrimaryActive$
|
|
1847
|
-
var buttonSecondaryActive$
|
|
1848
|
-
var buttonTertiaryActive$
|
|
1884
|
+
var buttonDangerActive$4 = activeDanger$3;
|
|
1885
|
+
var buttonPrimaryActive$4 = activePrimary$3;
|
|
1886
|
+
var buttonSecondaryActive$4 = activeSecondary$3;
|
|
1887
|
+
var buttonTertiaryActive$4 = activeTertiary$3;
|
|
1849
1888
|
var focusInset$3 = inverse01$3;
|
|
1850
1889
|
var focusInverse$3 = inverseFocusUi$3;
|
|
1851
1890
|
var backgroundHover$3 = hoverUI$3;
|
|
@@ -1853,10 +1892,10 @@
|
|
|
1853
1892
|
var fieldHover$3 = hoverUI$3;
|
|
1854
1893
|
var backgroundInverseHover$3 = inverseHoverUI$3;
|
|
1855
1894
|
var linkPrimaryHover$3 = hoverPrimaryText$3;
|
|
1856
|
-
var buttonDangerHover$
|
|
1857
|
-
var buttonPrimaryHover$
|
|
1858
|
-
var buttonSecondaryHover$
|
|
1859
|
-
var buttonTertiaryHover$
|
|
1895
|
+
var buttonDangerHover$4 = hoverDanger$3;
|
|
1896
|
+
var buttonPrimaryHover$4 = hoverPrimary$3;
|
|
1897
|
+
var buttonSecondaryHover$4 = hoverSecondary$3;
|
|
1898
|
+
var buttonTertiaryHover$4 = hoverTertiary$3;
|
|
1860
1899
|
var backgroundSelected$3 = selectedUI$3;
|
|
1861
1900
|
var backgroundSelectedHover$3 = hoverSelectedUI$3;
|
|
1862
1901
|
var layerSelected$3 = selectedUI$3;
|
|
@@ -1865,7 +1904,7 @@
|
|
|
1865
1904
|
var borderSubtleSelected$3 = activeUI$3;
|
|
1866
1905
|
var borderDisabled$3 = disabled01$3;
|
|
1867
1906
|
var textDisabled$3 = disabled02$3;
|
|
1868
|
-
var buttonDisabled$
|
|
1907
|
+
var buttonDisabled$4 = disabled02$3;
|
|
1869
1908
|
var iconDisabled$3 = disabled02$3;
|
|
1870
1909
|
var textOnColorDisabled$3 = disabled03$3;
|
|
1871
1910
|
var iconOnColorDisabled$3 = disabled03$3;
|
|
@@ -1945,7 +1984,7 @@
|
|
|
1945
1984
|
disabled03: disabled03$3,
|
|
1946
1985
|
highlight: highlight$3,
|
|
1947
1986
|
decorative01: decorative01$3,
|
|
1948
|
-
buttonSeparator: buttonSeparator$
|
|
1987
|
+
buttonSeparator: buttonSeparator$4,
|
|
1949
1988
|
skeleton01: skeleton01$3,
|
|
1950
1989
|
skeleton02: skeleton02$3,
|
|
1951
1990
|
background: background$4,
|
|
@@ -1986,17 +2025,17 @@
|
|
|
1986
2025
|
overlay: overlay$3,
|
|
1987
2026
|
toggleOff: toggleOff$3,
|
|
1988
2027
|
shadow: shadow$3,
|
|
1989
|
-
buttonPrimary: buttonPrimary$
|
|
1990
|
-
buttonSecondary: buttonSecondary$
|
|
1991
|
-
buttonTertiary: buttonTertiary$
|
|
1992
|
-
buttonDangerPrimary: buttonDangerPrimary$
|
|
1993
|
-
buttonDangerSecondary: buttonDangerSecondary$
|
|
2028
|
+
buttonPrimary: buttonPrimary$4,
|
|
2029
|
+
buttonSecondary: buttonSecondary$4,
|
|
2030
|
+
buttonTertiary: buttonTertiary$4,
|
|
2031
|
+
buttonDangerPrimary: buttonDangerPrimary$4,
|
|
2032
|
+
buttonDangerSecondary: buttonDangerSecondary$4,
|
|
1994
2033
|
backgroundActive: backgroundActive$3,
|
|
1995
2034
|
layerActive: layerActive$3,
|
|
1996
|
-
buttonDangerActive: buttonDangerActive$
|
|
1997
|
-
buttonPrimaryActive: buttonPrimaryActive$
|
|
1998
|
-
buttonSecondaryActive: buttonSecondaryActive$
|
|
1999
|
-
buttonTertiaryActive: buttonTertiaryActive$
|
|
2035
|
+
buttonDangerActive: buttonDangerActive$4,
|
|
2036
|
+
buttonPrimaryActive: buttonPrimaryActive$4,
|
|
2037
|
+
buttonSecondaryActive: buttonSecondaryActive$4,
|
|
2038
|
+
buttonTertiaryActive: buttonTertiaryActive$4,
|
|
2000
2039
|
focusInset: focusInset$3,
|
|
2001
2040
|
focusInverse: focusInverse$3,
|
|
2002
2041
|
backgroundHover: backgroundHover$3,
|
|
@@ -2004,10 +2043,10 @@
|
|
|
2004
2043
|
fieldHover: fieldHover$3,
|
|
2005
2044
|
backgroundInverseHover: backgroundInverseHover$3,
|
|
2006
2045
|
linkPrimaryHover: linkPrimaryHover$3,
|
|
2007
|
-
buttonDangerHover: buttonDangerHover$
|
|
2008
|
-
buttonPrimaryHover: buttonPrimaryHover$
|
|
2009
|
-
buttonSecondaryHover: buttonSecondaryHover$
|
|
2010
|
-
buttonTertiaryHover: buttonTertiaryHover$
|
|
2046
|
+
buttonDangerHover: buttonDangerHover$4,
|
|
2047
|
+
buttonPrimaryHover: buttonPrimaryHover$4,
|
|
2048
|
+
buttonSecondaryHover: buttonSecondaryHover$4,
|
|
2049
|
+
buttonTertiaryHover: buttonTertiaryHover$4,
|
|
2011
2050
|
backgroundSelected: backgroundSelected$3,
|
|
2012
2051
|
backgroundSelectedHover: backgroundSelectedHover$3,
|
|
2013
2052
|
layerSelected: layerSelected$3,
|
|
@@ -2016,7 +2055,7 @@
|
|
|
2016
2055
|
borderSubtleSelected: borderSubtleSelected$3,
|
|
2017
2056
|
borderDisabled: borderDisabled$3,
|
|
2018
2057
|
textDisabled: textDisabled$3,
|
|
2019
|
-
buttonDisabled: buttonDisabled$
|
|
2058
|
+
buttonDisabled: buttonDisabled$4,
|
|
2020
2059
|
iconDisabled: iconDisabled$3,
|
|
2021
2060
|
textOnColorDisabled: textOnColorDisabled$3,
|
|
2022
2061
|
iconOnColorDisabled: iconOnColorDisabled$3,
|
|
@@ -2189,7 +2228,7 @@
|
|
|
2189
2228
|
var disabled03$2 = colors$1.gray50;
|
|
2190
2229
|
var highlight$2 = colors$1.blue20;
|
|
2191
2230
|
var decorative01$2 = colors$1.gray20;
|
|
2192
|
-
var buttonSeparator$
|
|
2231
|
+
var buttonSeparator$3 = '#e0e0e0';
|
|
2193
2232
|
var skeleton01$2 = '#e5e5e5';
|
|
2194
2233
|
var skeleton02$2 = colors$1.gray30; // New color tokens
|
|
2195
2234
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
@@ -2232,17 +2271,17 @@
|
|
|
2232
2271
|
var overlay$2 = overlay01$2;
|
|
2233
2272
|
var toggleOff$2 = ui04$2;
|
|
2234
2273
|
var shadow$2 = colors$1.rgba(colors$1.black, 0.3);
|
|
2235
|
-
var buttonPrimary$
|
|
2236
|
-
var buttonSecondary$
|
|
2237
|
-
var buttonTertiary$
|
|
2238
|
-
var buttonDangerPrimary$
|
|
2239
|
-
var buttonDangerSecondary$
|
|
2274
|
+
var buttonPrimary$3 = interactive01$2;
|
|
2275
|
+
var buttonSecondary$3 = interactive02$2;
|
|
2276
|
+
var buttonTertiary$3 = interactive03$2;
|
|
2277
|
+
var buttonDangerPrimary$3 = danger01$2;
|
|
2278
|
+
var buttonDangerSecondary$3 = danger02$2;
|
|
2240
2279
|
var backgroundActive$2 = activeUI$2;
|
|
2241
2280
|
var layerActive$2 = activeUI$2;
|
|
2242
|
-
var buttonDangerActive$
|
|
2243
|
-
var buttonPrimaryActive$
|
|
2244
|
-
var buttonSecondaryActive$
|
|
2245
|
-
var buttonTertiaryActive$
|
|
2281
|
+
var buttonDangerActive$3 = activeDanger$2;
|
|
2282
|
+
var buttonPrimaryActive$3 = activePrimary$2;
|
|
2283
|
+
var buttonSecondaryActive$3 = activeSecondary$2;
|
|
2284
|
+
var buttonTertiaryActive$3 = activeTertiary$2;
|
|
2246
2285
|
var focusInset$2 = inverse01$2;
|
|
2247
2286
|
var focusInverse$2 = inverseFocusUi$2;
|
|
2248
2287
|
var backgroundHover$2 = hoverUI$2;
|
|
@@ -2250,10 +2289,10 @@
|
|
|
2250
2289
|
var fieldHover$2 = hoverUI$2;
|
|
2251
2290
|
var backgroundInverseHover$2 = inverseHoverUI$2;
|
|
2252
2291
|
var linkPrimaryHover$2 = hoverPrimaryText$2;
|
|
2253
|
-
var buttonDangerHover$
|
|
2254
|
-
var buttonPrimaryHover$
|
|
2255
|
-
var buttonSecondaryHover$
|
|
2256
|
-
var buttonTertiaryHover$
|
|
2292
|
+
var buttonDangerHover$3 = hoverDanger$2;
|
|
2293
|
+
var buttonPrimaryHover$3 = hoverPrimary$2;
|
|
2294
|
+
var buttonSecondaryHover$3 = hoverSecondary$2;
|
|
2295
|
+
var buttonTertiaryHover$3 = hoverTertiary$2;
|
|
2257
2296
|
var backgroundSelected$2 = selectedUI$2;
|
|
2258
2297
|
var backgroundSelectedHover$2 = hoverSelectedUI$2;
|
|
2259
2298
|
var layerSelected$2 = selectedUI$2;
|
|
@@ -2262,7 +2301,7 @@
|
|
|
2262
2301
|
var borderSubtleSelected$2 = activeUI$2;
|
|
2263
2302
|
var borderDisabled$2 = disabled01$2;
|
|
2264
2303
|
var textDisabled$2 = disabled02$2;
|
|
2265
|
-
var buttonDisabled$
|
|
2304
|
+
var buttonDisabled$3 = disabled02$2;
|
|
2266
2305
|
var iconDisabled$2 = disabled02$2;
|
|
2267
2306
|
var textOnColorDisabled$2 = disabled03$2;
|
|
2268
2307
|
var iconOnColorDisabled$2 = disabled03$2;
|
|
@@ -2342,7 +2381,7 @@
|
|
|
2342
2381
|
disabled03: disabled03$2,
|
|
2343
2382
|
highlight: highlight$2,
|
|
2344
2383
|
decorative01: decorative01$2,
|
|
2345
|
-
buttonSeparator: buttonSeparator$
|
|
2384
|
+
buttonSeparator: buttonSeparator$3,
|
|
2346
2385
|
skeleton01: skeleton01$2,
|
|
2347
2386
|
skeleton02: skeleton02$2,
|
|
2348
2387
|
background: background$3,
|
|
@@ -2383,17 +2422,17 @@
|
|
|
2383
2422
|
overlay: overlay$2,
|
|
2384
2423
|
toggleOff: toggleOff$2,
|
|
2385
2424
|
shadow: shadow$2,
|
|
2386
|
-
buttonPrimary: buttonPrimary$
|
|
2387
|
-
buttonSecondary: buttonSecondary$
|
|
2388
|
-
buttonTertiary: buttonTertiary$
|
|
2389
|
-
buttonDangerPrimary: buttonDangerPrimary$
|
|
2390
|
-
buttonDangerSecondary: buttonDangerSecondary$
|
|
2425
|
+
buttonPrimary: buttonPrimary$3,
|
|
2426
|
+
buttonSecondary: buttonSecondary$3,
|
|
2427
|
+
buttonTertiary: buttonTertiary$3,
|
|
2428
|
+
buttonDangerPrimary: buttonDangerPrimary$3,
|
|
2429
|
+
buttonDangerSecondary: buttonDangerSecondary$3,
|
|
2391
2430
|
backgroundActive: backgroundActive$2,
|
|
2392
2431
|
layerActive: layerActive$2,
|
|
2393
|
-
buttonDangerActive: buttonDangerActive$
|
|
2394
|
-
buttonPrimaryActive: buttonPrimaryActive$
|
|
2395
|
-
buttonSecondaryActive: buttonSecondaryActive$
|
|
2396
|
-
buttonTertiaryActive: buttonTertiaryActive$
|
|
2432
|
+
buttonDangerActive: buttonDangerActive$3,
|
|
2433
|
+
buttonPrimaryActive: buttonPrimaryActive$3,
|
|
2434
|
+
buttonSecondaryActive: buttonSecondaryActive$3,
|
|
2435
|
+
buttonTertiaryActive: buttonTertiaryActive$3,
|
|
2397
2436
|
focusInset: focusInset$2,
|
|
2398
2437
|
focusInverse: focusInverse$2,
|
|
2399
2438
|
backgroundHover: backgroundHover$2,
|
|
@@ -2401,10 +2440,10 @@
|
|
|
2401
2440
|
fieldHover: fieldHover$2,
|
|
2402
2441
|
backgroundInverseHover: backgroundInverseHover$2,
|
|
2403
2442
|
linkPrimaryHover: linkPrimaryHover$2,
|
|
2404
|
-
buttonDangerHover: buttonDangerHover$
|
|
2405
|
-
buttonPrimaryHover: buttonPrimaryHover$
|
|
2406
|
-
buttonSecondaryHover: buttonSecondaryHover$
|
|
2407
|
-
buttonTertiaryHover: buttonTertiaryHover$
|
|
2443
|
+
buttonDangerHover: buttonDangerHover$3,
|
|
2444
|
+
buttonPrimaryHover: buttonPrimaryHover$3,
|
|
2445
|
+
buttonSecondaryHover: buttonSecondaryHover$3,
|
|
2446
|
+
buttonTertiaryHover: buttonTertiaryHover$3,
|
|
2408
2447
|
backgroundSelected: backgroundSelected$2,
|
|
2409
2448
|
backgroundSelectedHover: backgroundSelectedHover$2,
|
|
2410
2449
|
layerSelected: layerSelected$2,
|
|
@@ -2413,7 +2452,7 @@
|
|
|
2413
2452
|
borderSubtleSelected: borderSubtleSelected$2,
|
|
2414
2453
|
borderDisabled: borderDisabled$2,
|
|
2415
2454
|
textDisabled: textDisabled$2,
|
|
2416
|
-
buttonDisabled: buttonDisabled$
|
|
2455
|
+
buttonDisabled: buttonDisabled$3,
|
|
2417
2456
|
iconDisabled: iconDisabled$2,
|
|
2418
2457
|
textOnColorDisabled: textOnColorDisabled$2,
|
|
2419
2458
|
iconOnColorDisabled: iconOnColorDisabled$2,
|
|
@@ -2586,7 +2625,7 @@
|
|
|
2586
2625
|
var disabled03$1 = colors$1.gray40;
|
|
2587
2626
|
var highlight$1 = colors$1.blue70;
|
|
2588
2627
|
var decorative01$1 = colors$1.gray60;
|
|
2589
|
-
var buttonSeparator$
|
|
2628
|
+
var buttonSeparator$2 = '#161616';
|
|
2590
2629
|
var skeleton01$1 = '#353535';
|
|
2591
2630
|
var skeleton02$1 = colors$1.gray70; // New color tokens
|
|
2592
2631
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
@@ -2629,17 +2668,17 @@
|
|
|
2629
2668
|
var overlay$1 = overlay01$1;
|
|
2630
2669
|
var toggleOff$1 = ui04$1;
|
|
2631
2670
|
var shadow$1 = colors$1.rgba(colors$1.black, 0.8);
|
|
2632
|
-
var buttonPrimary$
|
|
2633
|
-
var buttonSecondary$
|
|
2634
|
-
var buttonTertiary$
|
|
2635
|
-
var buttonDangerPrimary$
|
|
2636
|
-
var buttonDangerSecondary$
|
|
2671
|
+
var buttonPrimary$2 = interactive01$1;
|
|
2672
|
+
var buttonSecondary$2 = interactive02$1;
|
|
2673
|
+
var buttonTertiary$2 = interactive03$1;
|
|
2674
|
+
var buttonDangerPrimary$2 = danger01$1;
|
|
2675
|
+
var buttonDangerSecondary$2 = danger02$1;
|
|
2637
2676
|
var backgroundActive$1 = activeUI$1;
|
|
2638
2677
|
var layerActive$1 = activeUI$1;
|
|
2639
|
-
var buttonDangerActive$
|
|
2640
|
-
var buttonPrimaryActive$
|
|
2641
|
-
var buttonSecondaryActive$
|
|
2642
|
-
var buttonTertiaryActive$
|
|
2678
|
+
var buttonDangerActive$2 = activeDanger$1;
|
|
2679
|
+
var buttonPrimaryActive$2 = activePrimary$1;
|
|
2680
|
+
var buttonSecondaryActive$2 = activeSecondary$1;
|
|
2681
|
+
var buttonTertiaryActive$2 = activeTertiary$1;
|
|
2643
2682
|
var focusInset$1 = inverse01$1;
|
|
2644
2683
|
var focusInverse$1 = inverseFocusUi$1;
|
|
2645
2684
|
var backgroundHover$1 = hoverUI$1;
|
|
@@ -2647,10 +2686,10 @@
|
|
|
2647
2686
|
var fieldHover$1 = hoverUI$1;
|
|
2648
2687
|
var backgroundInverseHover$1 = inverseHoverUI$1;
|
|
2649
2688
|
var linkPrimaryHover$1 = hoverPrimaryText$1;
|
|
2650
|
-
var buttonDangerHover$
|
|
2651
|
-
var buttonPrimaryHover$
|
|
2652
|
-
var buttonSecondaryHover$
|
|
2653
|
-
var buttonTertiaryHover$
|
|
2689
|
+
var buttonDangerHover$2 = hoverDanger$1;
|
|
2690
|
+
var buttonPrimaryHover$2 = hoverPrimary$1;
|
|
2691
|
+
var buttonSecondaryHover$2 = hoverSecondary$1;
|
|
2692
|
+
var buttonTertiaryHover$2 = hoverTertiary$1;
|
|
2654
2693
|
var backgroundSelected$1 = selectedUI$1;
|
|
2655
2694
|
var backgroundSelectedHover$1 = hoverSelectedUI$1;
|
|
2656
2695
|
var layerSelected$1 = selectedUI$1;
|
|
@@ -2659,7 +2698,7 @@
|
|
|
2659
2698
|
var borderSubtleSelected$1 = activeUI$1;
|
|
2660
2699
|
var borderDisabled$1 = disabled01$1;
|
|
2661
2700
|
var textDisabled$1 = disabled02$1;
|
|
2662
|
-
var buttonDisabled$
|
|
2701
|
+
var buttonDisabled$2 = disabled02$1;
|
|
2663
2702
|
var iconDisabled$1 = disabled02$1;
|
|
2664
2703
|
var textOnColorDisabled$1 = disabled03$1;
|
|
2665
2704
|
var iconOnColorDisabled$1 = disabled03$1;
|
|
@@ -2739,7 +2778,7 @@
|
|
|
2739
2778
|
disabled03: disabled03$1,
|
|
2740
2779
|
highlight: highlight$1,
|
|
2741
2780
|
decorative01: decorative01$1,
|
|
2742
|
-
buttonSeparator: buttonSeparator$
|
|
2781
|
+
buttonSeparator: buttonSeparator$2,
|
|
2743
2782
|
skeleton01: skeleton01$1,
|
|
2744
2783
|
skeleton02: skeleton02$1,
|
|
2745
2784
|
background: background$2,
|
|
@@ -2780,17 +2819,17 @@
|
|
|
2780
2819
|
overlay: overlay$1,
|
|
2781
2820
|
toggleOff: toggleOff$1,
|
|
2782
2821
|
shadow: shadow$1,
|
|
2783
|
-
buttonPrimary: buttonPrimary$
|
|
2784
|
-
buttonSecondary: buttonSecondary$
|
|
2785
|
-
buttonTertiary: buttonTertiary$
|
|
2786
|
-
buttonDangerPrimary: buttonDangerPrimary$
|
|
2787
|
-
buttonDangerSecondary: buttonDangerSecondary$
|
|
2822
|
+
buttonPrimary: buttonPrimary$2,
|
|
2823
|
+
buttonSecondary: buttonSecondary$2,
|
|
2824
|
+
buttonTertiary: buttonTertiary$2,
|
|
2825
|
+
buttonDangerPrimary: buttonDangerPrimary$2,
|
|
2826
|
+
buttonDangerSecondary: buttonDangerSecondary$2,
|
|
2788
2827
|
backgroundActive: backgroundActive$1,
|
|
2789
2828
|
layerActive: layerActive$1,
|
|
2790
|
-
buttonDangerActive: buttonDangerActive$
|
|
2791
|
-
buttonPrimaryActive: buttonPrimaryActive$
|
|
2792
|
-
buttonSecondaryActive: buttonSecondaryActive$
|
|
2793
|
-
buttonTertiaryActive: buttonTertiaryActive$
|
|
2829
|
+
buttonDangerActive: buttonDangerActive$2,
|
|
2830
|
+
buttonPrimaryActive: buttonPrimaryActive$2,
|
|
2831
|
+
buttonSecondaryActive: buttonSecondaryActive$2,
|
|
2832
|
+
buttonTertiaryActive: buttonTertiaryActive$2,
|
|
2794
2833
|
focusInset: focusInset$1,
|
|
2795
2834
|
focusInverse: focusInverse$1,
|
|
2796
2835
|
backgroundHover: backgroundHover$1,
|
|
@@ -2798,10 +2837,10 @@
|
|
|
2798
2837
|
fieldHover: fieldHover$1,
|
|
2799
2838
|
backgroundInverseHover: backgroundInverseHover$1,
|
|
2800
2839
|
linkPrimaryHover: linkPrimaryHover$1,
|
|
2801
|
-
buttonDangerHover: buttonDangerHover$
|
|
2802
|
-
buttonPrimaryHover: buttonPrimaryHover$
|
|
2803
|
-
buttonSecondaryHover: buttonSecondaryHover$
|
|
2804
|
-
buttonTertiaryHover: buttonTertiaryHover$
|
|
2840
|
+
buttonDangerHover: buttonDangerHover$2,
|
|
2841
|
+
buttonPrimaryHover: buttonPrimaryHover$2,
|
|
2842
|
+
buttonSecondaryHover: buttonSecondaryHover$2,
|
|
2843
|
+
buttonTertiaryHover: buttonTertiaryHover$2,
|
|
2805
2844
|
backgroundSelected: backgroundSelected$1,
|
|
2806
2845
|
backgroundSelectedHover: backgroundSelectedHover$1,
|
|
2807
2846
|
layerSelected: layerSelected$1,
|
|
@@ -2810,7 +2849,7 @@
|
|
|
2810
2849
|
borderSubtleSelected: borderSubtleSelected$1,
|
|
2811
2850
|
borderDisabled: borderDisabled$1,
|
|
2812
2851
|
textDisabled: textDisabled$1,
|
|
2813
|
-
buttonDisabled: buttonDisabled$
|
|
2852
|
+
buttonDisabled: buttonDisabled$2,
|
|
2814
2853
|
iconDisabled: iconDisabled$1,
|
|
2815
2854
|
textOnColorDisabled: textOnColorDisabled$1,
|
|
2816
2855
|
iconOnColorDisabled: iconOnColorDisabled$1,
|
|
@@ -2983,7 +3022,7 @@
|
|
|
2983
3022
|
var disabled03 = colors$1.gray50;
|
|
2984
3023
|
var highlight = colors$1.blue80;
|
|
2985
3024
|
var decorative01 = colors$1.gray70;
|
|
2986
|
-
var buttonSeparator = '#161616';
|
|
3025
|
+
var buttonSeparator$1 = '#161616';
|
|
2987
3026
|
var skeleton01 = '#353535';
|
|
2988
3027
|
var skeleton02 = colors$1.gray70; // New color tokens
|
|
2989
3028
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
@@ -3026,17 +3065,17 @@
|
|
|
3026
3065
|
var overlay = overlay01;
|
|
3027
3066
|
var toggleOff = ui04;
|
|
3028
3067
|
var shadow = colors$1.rgba(colors$1.black, 0.8);
|
|
3029
|
-
var buttonPrimary = interactive01;
|
|
3030
|
-
var buttonSecondary = interactive02;
|
|
3031
|
-
var buttonTertiary = interactive03;
|
|
3032
|
-
var buttonDangerPrimary = danger01;
|
|
3033
|
-
var buttonDangerSecondary = danger02;
|
|
3068
|
+
var buttonPrimary$1 = interactive01;
|
|
3069
|
+
var buttonSecondary$1 = interactive02;
|
|
3070
|
+
var buttonTertiary$1 = interactive03;
|
|
3071
|
+
var buttonDangerPrimary$1 = danger01;
|
|
3072
|
+
var buttonDangerSecondary$1 = danger02;
|
|
3034
3073
|
var backgroundActive = activeUI;
|
|
3035
3074
|
var layerActive = activeUI;
|
|
3036
|
-
var buttonDangerActive = activeDanger;
|
|
3037
|
-
var buttonPrimaryActive = activePrimary;
|
|
3038
|
-
var buttonSecondaryActive = activeSecondary;
|
|
3039
|
-
var buttonTertiaryActive = activeTertiary;
|
|
3075
|
+
var buttonDangerActive$1 = activeDanger;
|
|
3076
|
+
var buttonPrimaryActive$1 = activePrimary;
|
|
3077
|
+
var buttonSecondaryActive$1 = activeSecondary;
|
|
3078
|
+
var buttonTertiaryActive$1 = activeTertiary;
|
|
3040
3079
|
var focusInset = inverse01;
|
|
3041
3080
|
var focusInverse = inverseFocusUi;
|
|
3042
3081
|
var backgroundHover = hoverUI;
|
|
@@ -3044,10 +3083,10 @@
|
|
|
3044
3083
|
var fieldHover = hoverUI;
|
|
3045
3084
|
var backgroundInverseHover = inverseHoverUI;
|
|
3046
3085
|
var linkPrimaryHover = hoverPrimaryText;
|
|
3047
|
-
var buttonDangerHover = hoverDanger;
|
|
3048
|
-
var buttonPrimaryHover = hoverPrimary;
|
|
3049
|
-
var buttonSecondaryHover = hoverSecondary;
|
|
3050
|
-
var buttonTertiaryHover = hoverTertiary;
|
|
3086
|
+
var buttonDangerHover$1 = hoverDanger;
|
|
3087
|
+
var buttonPrimaryHover$1 = hoverPrimary;
|
|
3088
|
+
var buttonSecondaryHover$1 = hoverSecondary;
|
|
3089
|
+
var buttonTertiaryHover$1 = hoverTertiary;
|
|
3051
3090
|
var backgroundSelected = selectedUI;
|
|
3052
3091
|
var backgroundSelectedHover = hoverSelectedUI;
|
|
3053
3092
|
var layerSelected = selectedUI;
|
|
@@ -3056,7 +3095,7 @@
|
|
|
3056
3095
|
var borderSubtleSelected = activeUI;
|
|
3057
3096
|
var borderDisabled = disabled01;
|
|
3058
3097
|
var textDisabled = disabled02;
|
|
3059
|
-
var buttonDisabled = disabled02;
|
|
3098
|
+
var buttonDisabled$1 = disabled02;
|
|
3060
3099
|
var iconDisabled = disabled02;
|
|
3061
3100
|
var textOnColorDisabled = disabled03;
|
|
3062
3101
|
var iconOnColorDisabled = disabled03;
|
|
@@ -3136,7 +3175,7 @@
|
|
|
3136
3175
|
disabled03: disabled03,
|
|
3137
3176
|
highlight: highlight,
|
|
3138
3177
|
decorative01: decorative01,
|
|
3139
|
-
buttonSeparator: buttonSeparator,
|
|
3178
|
+
buttonSeparator: buttonSeparator$1,
|
|
3140
3179
|
skeleton01: skeleton01,
|
|
3141
3180
|
skeleton02: skeleton02,
|
|
3142
3181
|
background: background$1,
|
|
@@ -3177,17 +3216,17 @@
|
|
|
3177
3216
|
overlay: overlay,
|
|
3178
3217
|
toggleOff: toggleOff,
|
|
3179
3218
|
shadow: shadow,
|
|
3180
|
-
buttonPrimary: buttonPrimary,
|
|
3181
|
-
buttonSecondary: buttonSecondary,
|
|
3182
|
-
buttonTertiary: buttonTertiary,
|
|
3183
|
-
buttonDangerPrimary: buttonDangerPrimary,
|
|
3184
|
-
buttonDangerSecondary: buttonDangerSecondary,
|
|
3219
|
+
buttonPrimary: buttonPrimary$1,
|
|
3220
|
+
buttonSecondary: buttonSecondary$1,
|
|
3221
|
+
buttonTertiary: buttonTertiary$1,
|
|
3222
|
+
buttonDangerPrimary: buttonDangerPrimary$1,
|
|
3223
|
+
buttonDangerSecondary: buttonDangerSecondary$1,
|
|
3185
3224
|
backgroundActive: backgroundActive,
|
|
3186
3225
|
layerActive: layerActive,
|
|
3187
|
-
buttonDangerActive: buttonDangerActive,
|
|
3188
|
-
buttonPrimaryActive: buttonPrimaryActive,
|
|
3189
|
-
buttonSecondaryActive: buttonSecondaryActive,
|
|
3190
|
-
buttonTertiaryActive: buttonTertiaryActive,
|
|
3226
|
+
buttonDangerActive: buttonDangerActive$1,
|
|
3227
|
+
buttonPrimaryActive: buttonPrimaryActive$1,
|
|
3228
|
+
buttonSecondaryActive: buttonSecondaryActive$1,
|
|
3229
|
+
buttonTertiaryActive: buttonTertiaryActive$1,
|
|
3191
3230
|
focusInset: focusInset,
|
|
3192
3231
|
focusInverse: focusInverse,
|
|
3193
3232
|
backgroundHover: backgroundHover,
|
|
@@ -3195,10 +3234,10 @@
|
|
|
3195
3234
|
fieldHover: fieldHover,
|
|
3196
3235
|
backgroundInverseHover: backgroundInverseHover,
|
|
3197
3236
|
linkPrimaryHover: linkPrimaryHover,
|
|
3198
|
-
buttonDangerHover: buttonDangerHover,
|
|
3199
|
-
buttonPrimaryHover: buttonPrimaryHover,
|
|
3200
|
-
buttonSecondaryHover: buttonSecondaryHover,
|
|
3201
|
-
buttonTertiaryHover: buttonTertiaryHover,
|
|
3237
|
+
buttonDangerHover: buttonDangerHover$1,
|
|
3238
|
+
buttonPrimaryHover: buttonPrimaryHover$1,
|
|
3239
|
+
buttonSecondaryHover: buttonSecondaryHover$1,
|
|
3240
|
+
buttonTertiaryHover: buttonTertiaryHover$1,
|
|
3202
3241
|
backgroundSelected: backgroundSelected,
|
|
3203
3242
|
backgroundSelectedHover: backgroundSelectedHover,
|
|
3204
3243
|
layerSelected: layerSelected,
|
|
@@ -3207,7 +3246,7 @@
|
|
|
3207
3246
|
borderSubtleSelected: borderSubtleSelected,
|
|
3208
3247
|
borderDisabled: borderDisabled,
|
|
3209
3248
|
textDisabled: textDisabled,
|
|
3210
|
-
buttonDisabled: buttonDisabled,
|
|
3249
|
+
buttonDisabled: buttonDisabled$1,
|
|
3211
3250
|
iconDisabled: iconDisabled,
|
|
3212
3251
|
textOnColorDisabled: textOnColorDisabled,
|
|
3213
3252
|
iconOnColorDisabled: iconOnColorDisabled,
|
|
@@ -3324,7 +3363,7 @@
|
|
|
3324
3363
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
3325
3364
|
'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', // Deprecated
|
|
3326
3365
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
3327
|
-
var tokens = {
|
|
3366
|
+
var tokens$3 = {
|
|
3328
3367
|
colors: colors,
|
|
3329
3368
|
type: type$2.unstable_tokens,
|
|
3330
3369
|
layout: layout$2.unstable_tokens
|
|
@@ -3343,14 +3382,14 @@
|
|
|
3343
3382
|
g100: g100
|
|
3344
3383
|
};
|
|
3345
3384
|
|
|
3346
|
-
var index = /*#__PURE__*/Object.freeze({
|
|
3385
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
3347
3386
|
__proto__: null,
|
|
3348
3387
|
white: white,
|
|
3349
3388
|
g10: g10,
|
|
3350
3389
|
g90: g90,
|
|
3351
3390
|
g100: g100,
|
|
3352
3391
|
themes: themes$1,
|
|
3353
|
-
tokens: tokens,
|
|
3392
|
+
tokens: tokens$3,
|
|
3354
3393
|
caption01: type$2.caption01,
|
|
3355
3394
|
caption02: type$2.caption02,
|
|
3356
3395
|
label01: type$2.label01,
|
|
@@ -3502,7 +3541,7 @@
|
|
|
3502
3541
|
disabled03: disabled03$3,
|
|
3503
3542
|
highlight: highlight$3,
|
|
3504
3543
|
decorative01: decorative01$3,
|
|
3505
|
-
buttonSeparator: buttonSeparator$
|
|
3544
|
+
buttonSeparator: buttonSeparator$4,
|
|
3506
3545
|
skeleton01: skeleton01$3,
|
|
3507
3546
|
skeleton02: skeleton02$3,
|
|
3508
3547
|
background: background$4,
|
|
@@ -3543,17 +3582,17 @@
|
|
|
3543
3582
|
overlay: overlay$3,
|
|
3544
3583
|
toggleOff: toggleOff$3,
|
|
3545
3584
|
shadow: shadow$3,
|
|
3546
|
-
buttonPrimary: buttonPrimary$
|
|
3547
|
-
buttonSecondary: buttonSecondary$
|
|
3548
|
-
buttonTertiary: buttonTertiary$
|
|
3549
|
-
buttonDangerPrimary: buttonDangerPrimary$
|
|
3550
|
-
buttonDangerSecondary: buttonDangerSecondary$
|
|
3585
|
+
buttonPrimary: buttonPrimary$4,
|
|
3586
|
+
buttonSecondary: buttonSecondary$4,
|
|
3587
|
+
buttonTertiary: buttonTertiary$4,
|
|
3588
|
+
buttonDangerPrimary: buttonDangerPrimary$4,
|
|
3589
|
+
buttonDangerSecondary: buttonDangerSecondary$4,
|
|
3551
3590
|
backgroundActive: backgroundActive$3,
|
|
3552
3591
|
layerActive: layerActive$3,
|
|
3553
|
-
buttonDangerActive: buttonDangerActive$
|
|
3554
|
-
buttonPrimaryActive: buttonPrimaryActive$
|
|
3555
|
-
buttonSecondaryActive: buttonSecondaryActive$
|
|
3556
|
-
buttonTertiaryActive: buttonTertiaryActive$
|
|
3592
|
+
buttonDangerActive: buttonDangerActive$4,
|
|
3593
|
+
buttonPrimaryActive: buttonPrimaryActive$4,
|
|
3594
|
+
buttonSecondaryActive: buttonSecondaryActive$4,
|
|
3595
|
+
buttonTertiaryActive: buttonTertiaryActive$4,
|
|
3557
3596
|
focusInset: focusInset$3,
|
|
3558
3597
|
focusInverse: focusInverse$3,
|
|
3559
3598
|
backgroundHover: backgroundHover$3,
|
|
@@ -3561,10 +3600,10 @@
|
|
|
3561
3600
|
fieldHover: fieldHover$3,
|
|
3562
3601
|
backgroundInverseHover: backgroundInverseHover$3,
|
|
3563
3602
|
linkPrimaryHover: linkPrimaryHover$3,
|
|
3564
|
-
buttonDangerHover: buttonDangerHover$
|
|
3565
|
-
buttonPrimaryHover: buttonPrimaryHover$
|
|
3566
|
-
buttonSecondaryHover: buttonSecondaryHover$
|
|
3567
|
-
buttonTertiaryHover: buttonTertiaryHover$
|
|
3603
|
+
buttonDangerHover: buttonDangerHover$4,
|
|
3604
|
+
buttonPrimaryHover: buttonPrimaryHover$4,
|
|
3605
|
+
buttonSecondaryHover: buttonSecondaryHover$4,
|
|
3606
|
+
buttonTertiaryHover: buttonTertiaryHover$4,
|
|
3568
3607
|
backgroundSelected: backgroundSelected$3,
|
|
3569
3608
|
backgroundSelectedHover: backgroundSelectedHover$3,
|
|
3570
3609
|
layerSelected: layerSelected$3,
|
|
@@ -3573,7 +3612,7 @@
|
|
|
3573
3612
|
borderSubtleSelected: borderSubtleSelected$3,
|
|
3574
3613
|
borderDisabled: borderDisabled$3,
|
|
3575
3614
|
textDisabled: textDisabled$3,
|
|
3576
|
-
buttonDisabled: buttonDisabled$
|
|
3615
|
+
buttonDisabled: buttonDisabled$4,
|
|
3577
3616
|
iconDisabled: iconDisabled$3,
|
|
3578
3617
|
textOnColorDisabled: textOnColorDisabled$3,
|
|
3579
3618
|
iconOnColorDisabled: iconOnColorDisabled$3,
|
|
@@ -3588,6 +3627,425 @@
|
|
|
3588
3627
|
danger: danger$3
|
|
3589
3628
|
});
|
|
3590
3629
|
|
|
3630
|
+
var buttonSeparator = {
|
|
3631
|
+
fallback: '#e0e0e0',
|
|
3632
|
+
whiteTheme: '#e0e0e0',
|
|
3633
|
+
g10: '#e0e0e0',
|
|
3634
|
+
g90: '#161616',
|
|
3635
|
+
g100: '#161616'
|
|
3636
|
+
};
|
|
3637
|
+
var buttonPrimary = {
|
|
3638
|
+
whiteTheme: '#0f62fe',
|
|
3639
|
+
g10: '#0f62fe',
|
|
3640
|
+
g90: '#0f62fe',
|
|
3641
|
+
g100: '#0f62fe'
|
|
3642
|
+
};
|
|
3643
|
+
var buttonSecondary = {
|
|
3644
|
+
whiteTheme: '#393939',
|
|
3645
|
+
g10: '#393939',
|
|
3646
|
+
g90: '#6f6f6f',
|
|
3647
|
+
g100: '#6f6f6f'
|
|
3648
|
+
};
|
|
3649
|
+
var buttonTertiary = {
|
|
3650
|
+
whiteTheme: '#0f62fe',
|
|
3651
|
+
g10: '#0f62fe',
|
|
3652
|
+
g90: '#ffffff',
|
|
3653
|
+
g100: '#ffffff'
|
|
3654
|
+
};
|
|
3655
|
+
var buttonDangerPrimary = {
|
|
3656
|
+
whiteTheme: '#da1e28',
|
|
3657
|
+
g10: '#da1e28',
|
|
3658
|
+
g90: '#da1e28',
|
|
3659
|
+
g100: '#da1e28'
|
|
3660
|
+
};
|
|
3661
|
+
var buttonDangerSecondary = {
|
|
3662
|
+
whiteTheme: '#da1e28',
|
|
3663
|
+
g10: '#da1e28',
|
|
3664
|
+
g90: '#ff8389',
|
|
3665
|
+
g100: '#fa4d56'
|
|
3666
|
+
};
|
|
3667
|
+
var buttonDangerActive = {
|
|
3668
|
+
whiteTheme: '#750e13',
|
|
3669
|
+
g10: '#750e13',
|
|
3670
|
+
g90: '#750e13',
|
|
3671
|
+
g100: '#750e13'
|
|
3672
|
+
};
|
|
3673
|
+
var buttonPrimaryActive = {
|
|
3674
|
+
whiteTheme: '#002d9c',
|
|
3675
|
+
g10: '#002d9c',
|
|
3676
|
+
g90: '#002d9c',
|
|
3677
|
+
g100: '#002d9c'
|
|
3678
|
+
};
|
|
3679
|
+
var buttonSecondaryActive = {
|
|
3680
|
+
whiteTheme: '#6f6f6f',
|
|
3681
|
+
g10: '#6f6f6f',
|
|
3682
|
+
g90: '#393939',
|
|
3683
|
+
g100: '#393939'
|
|
3684
|
+
};
|
|
3685
|
+
var buttonTertiaryActive = {
|
|
3686
|
+
whiteTheme: '#002d9c',
|
|
3687
|
+
g10: '#002d9c',
|
|
3688
|
+
g90: '#c6c6c6',
|
|
3689
|
+
g100: '#c6c6c6'
|
|
3690
|
+
};
|
|
3691
|
+
var buttonDangerHover = {
|
|
3692
|
+
whiteTheme: '#b81921',
|
|
3693
|
+
g10: '#b81921',
|
|
3694
|
+
g90: '#b81921',
|
|
3695
|
+
g100: '#b81921'
|
|
3696
|
+
};
|
|
3697
|
+
var buttonPrimaryHover = {
|
|
3698
|
+
whiteTheme: '#0050e6',
|
|
3699
|
+
g10: '#0050e6',
|
|
3700
|
+
g90: '#0050e6',
|
|
3701
|
+
g100: '#0050e6'
|
|
3702
|
+
};
|
|
3703
|
+
var buttonSecondaryHover = {
|
|
3704
|
+
whiteTheme: '#474747',
|
|
3705
|
+
g10: '#474747',
|
|
3706
|
+
g90: '#5e5e5e',
|
|
3707
|
+
g100: '#5e5e5e'
|
|
3708
|
+
};
|
|
3709
|
+
var buttonTertiaryHover = {
|
|
3710
|
+
whiteTheme: '#0050e6',
|
|
3711
|
+
g10: '#0050e6',
|
|
3712
|
+
g90: '#f4f4f4',
|
|
3713
|
+
g100: '#f4f4f4'
|
|
3714
|
+
};
|
|
3715
|
+
var buttonDisabled = {
|
|
3716
|
+
whiteTheme: '#c6c6c6',
|
|
3717
|
+
g10: '#c6c6c6',
|
|
3718
|
+
g90: 'rgb(141 141 141 / 30%)',
|
|
3719
|
+
g100: 'rgb(141 141 141 / 30%)'
|
|
3720
|
+
};
|
|
3721
|
+
|
|
3722
|
+
var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
3723
|
+
__proto__: null,
|
|
3724
|
+
buttonSeparator: buttonSeparator,
|
|
3725
|
+
buttonPrimary: buttonPrimary,
|
|
3726
|
+
buttonSecondary: buttonSecondary,
|
|
3727
|
+
buttonTertiary: buttonTertiary,
|
|
3728
|
+
buttonDangerPrimary: buttonDangerPrimary,
|
|
3729
|
+
buttonDangerSecondary: buttonDangerSecondary,
|
|
3730
|
+
buttonDangerActive: buttonDangerActive,
|
|
3731
|
+
buttonPrimaryActive: buttonPrimaryActive,
|
|
3732
|
+
buttonSecondaryActive: buttonSecondaryActive,
|
|
3733
|
+
buttonTertiaryActive: buttonTertiaryActive,
|
|
3734
|
+
buttonDangerHover: buttonDangerHover,
|
|
3735
|
+
buttonPrimaryHover: buttonPrimaryHover,
|
|
3736
|
+
buttonSecondaryHover: buttonSecondaryHover,
|
|
3737
|
+
buttonTertiaryHover: buttonTertiaryHover,
|
|
3738
|
+
buttonDisabled: buttonDisabled
|
|
3739
|
+
});
|
|
3740
|
+
|
|
3741
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
3742
|
+
__proto__: null,
|
|
3743
|
+
buttonTokens: tokens$2
|
|
3744
|
+
});
|
|
3745
|
+
|
|
3746
|
+
var tagBackgroundRed = {
|
|
3747
|
+
whiteTheme: colors$1.red20,
|
|
3748
|
+
g10: colors$1.red20,
|
|
3749
|
+
g90: colors$1.red70,
|
|
3750
|
+
g100: colors$1.red70
|
|
3751
|
+
};
|
|
3752
|
+
var tagColorRed = {
|
|
3753
|
+
whiteTheme: colors$1.red80,
|
|
3754
|
+
g10: colors$1.red80,
|
|
3755
|
+
g90: colors$1.red20,
|
|
3756
|
+
g100: colors$1.red20
|
|
3757
|
+
};
|
|
3758
|
+
var tagHoverRed = {
|
|
3759
|
+
whiteTheme: colors$1.red30,
|
|
3760
|
+
g10: colors$1.red30,
|
|
3761
|
+
g90: colors$1.red70Hover,
|
|
3762
|
+
g100: colors$1.red70Hover
|
|
3763
|
+
};
|
|
3764
|
+
var tagBackgroundMagenta = {
|
|
3765
|
+
whiteTheme: colors$1.magenta20,
|
|
3766
|
+
g10: colors$1.magenta20,
|
|
3767
|
+
g90: colors$1.magenta70,
|
|
3768
|
+
g100: colors$1.magenta70
|
|
3769
|
+
};
|
|
3770
|
+
var tagColorMagenta = {
|
|
3771
|
+
whiteTheme: colors$1.magenta80,
|
|
3772
|
+
g10: colors$1.magenta80,
|
|
3773
|
+
g90: colors$1.magenta20,
|
|
3774
|
+
g100: colors$1.magenta20
|
|
3775
|
+
};
|
|
3776
|
+
var tagHoverMagenta = {
|
|
3777
|
+
whiteTheme: colors$1.magenta30,
|
|
3778
|
+
g10: colors$1.magenta30,
|
|
3779
|
+
g90: colors$1.magenta70Hover,
|
|
3780
|
+
g100: colors$1.magenta70Hover
|
|
3781
|
+
};
|
|
3782
|
+
var tagBackgroundPurple = {
|
|
3783
|
+
whiteTheme: colors$1.purple20,
|
|
3784
|
+
g10: colors$1.purple20,
|
|
3785
|
+
g90: colors$1.purple70,
|
|
3786
|
+
g100: colors$1.purple70
|
|
3787
|
+
};
|
|
3788
|
+
var tagColorPurple = {
|
|
3789
|
+
whiteTheme: colors$1.purple80,
|
|
3790
|
+
g10: colors$1.purple80,
|
|
3791
|
+
g90: colors$1.purple20,
|
|
3792
|
+
g100: colors$1.purple20
|
|
3793
|
+
};
|
|
3794
|
+
var tagHoverPurple = {
|
|
3795
|
+
whiteTheme: colors$1.purple30,
|
|
3796
|
+
g10: colors$1.purple30,
|
|
3797
|
+
g90: colors$1.purple70Hover,
|
|
3798
|
+
g100: colors$1.purple70Hover
|
|
3799
|
+
};
|
|
3800
|
+
var tagBackgroundBlue = {
|
|
3801
|
+
whiteTheme: colors$1.blue20,
|
|
3802
|
+
g10: colors$1.blue20,
|
|
3803
|
+
g90: colors$1.blue70,
|
|
3804
|
+
g100: colors$1.blue70
|
|
3805
|
+
};
|
|
3806
|
+
var tagColorBlue = {
|
|
3807
|
+
whiteTheme: colors$1.blue80,
|
|
3808
|
+
g10: colors$1.blue80,
|
|
3809
|
+
g90: colors$1.blue20,
|
|
3810
|
+
g100: colors$1.blue20
|
|
3811
|
+
};
|
|
3812
|
+
var tagHoverBlue = {
|
|
3813
|
+
whiteTheme: colors$1.blue30,
|
|
3814
|
+
g10: colors$1.blue30,
|
|
3815
|
+
g90: colors$1.blue70Hover,
|
|
3816
|
+
g100: colors$1.blue70Hover
|
|
3817
|
+
};
|
|
3818
|
+
var tagBackgroundCyan = {
|
|
3819
|
+
whiteTheme: colors$1.cyan20,
|
|
3820
|
+
g10: colors$1.cyan20,
|
|
3821
|
+
g90: colors$1.cyan70,
|
|
3822
|
+
g100: colors$1.cyan70
|
|
3823
|
+
};
|
|
3824
|
+
var tagColorCyan = {
|
|
3825
|
+
whiteTheme: colors$1.cyan80,
|
|
3826
|
+
g10: colors$1.cyan80,
|
|
3827
|
+
g90: colors$1.cyan20,
|
|
3828
|
+
g100: colors$1.cyan20
|
|
3829
|
+
};
|
|
3830
|
+
var tagHoverCyan = {
|
|
3831
|
+
whiteTheme: colors$1.cyan30,
|
|
3832
|
+
g10: colors$1.cyan30,
|
|
3833
|
+
g90: colors$1.cyan70Hover,
|
|
3834
|
+
g100: colors$1.cyan70Hover
|
|
3835
|
+
};
|
|
3836
|
+
var tagBackgroundTeal = {
|
|
3837
|
+
whiteTheme: colors$1.teal20,
|
|
3838
|
+
g10: colors$1.teal20,
|
|
3839
|
+
g90: colors$1.teal70,
|
|
3840
|
+
g100: colors$1.teal70
|
|
3841
|
+
};
|
|
3842
|
+
var tagColorTeal = {
|
|
3843
|
+
whiteTheme: colors$1.teal80,
|
|
3844
|
+
g10: colors$1.teal80,
|
|
3845
|
+
g90: colors$1.teal20,
|
|
3846
|
+
g100: colors$1.teal20
|
|
3847
|
+
};
|
|
3848
|
+
var tagHoverTeal = {
|
|
3849
|
+
whiteTheme: colors$1.teal30,
|
|
3850
|
+
g10: colors$1.teal30,
|
|
3851
|
+
g90: colors$1.teal70Hover,
|
|
3852
|
+
g100: colors$1.teal70Hover
|
|
3853
|
+
};
|
|
3854
|
+
var tagBackgroundGreen = {
|
|
3855
|
+
whiteTheme: colors$1.green20,
|
|
3856
|
+
g10: colors$1.green20,
|
|
3857
|
+
g90: colors$1.green70,
|
|
3858
|
+
g100: colors$1.green70
|
|
3859
|
+
};
|
|
3860
|
+
var tagColorGreen = {
|
|
3861
|
+
whiteTheme: colors$1.green80,
|
|
3862
|
+
g10: colors$1.green80,
|
|
3863
|
+
g90: colors$1.green20,
|
|
3864
|
+
g100: colors$1.green20
|
|
3865
|
+
};
|
|
3866
|
+
var tagHoverGreen = {
|
|
3867
|
+
whiteTheme: colors$1.green30,
|
|
3868
|
+
g10: colors$1.green30,
|
|
3869
|
+
g90: colors$1.green70Hover,
|
|
3870
|
+
g100: colors$1.green70Hover
|
|
3871
|
+
};
|
|
3872
|
+
var tagBackgroundGray = {
|
|
3873
|
+
whiteTheme: colors$1.gray20,
|
|
3874
|
+
g10: colors$1.gray20,
|
|
3875
|
+
g90: colors$1.gray70,
|
|
3876
|
+
g100: colors$1.gray70
|
|
3877
|
+
};
|
|
3878
|
+
var tagColorGray = {
|
|
3879
|
+
whiteTheme: colors$1.gray80,
|
|
3880
|
+
g10: colors$1.gray80,
|
|
3881
|
+
g90: colors$1.gray20,
|
|
3882
|
+
g100: colors$1.gray20
|
|
3883
|
+
};
|
|
3884
|
+
var tagHoverGray = {
|
|
3885
|
+
whiteTheme: colors$1.gray30,
|
|
3886
|
+
g10: colors$1.gray30,
|
|
3887
|
+
g90: colors$1.gray70Hover,
|
|
3888
|
+
g100: colors$1.gray70Hover
|
|
3889
|
+
};
|
|
3890
|
+
var tagBackgroundCoolGray = {
|
|
3891
|
+
whiteTheme: colors$1.coolGray20,
|
|
3892
|
+
g10: colors$1.coolGray20,
|
|
3893
|
+
g90: colors$1.coolGray70,
|
|
3894
|
+
g100: colors$1.coolGray70
|
|
3895
|
+
};
|
|
3896
|
+
var tagColorCoolGray = {
|
|
3897
|
+
whiteTheme: colors$1.coolGray80,
|
|
3898
|
+
g10: colors$1.coolGray80,
|
|
3899
|
+
g90: colors$1.coolGray20,
|
|
3900
|
+
g100: colors$1.coolGray20
|
|
3901
|
+
};
|
|
3902
|
+
var tagHoverCoolGray = {
|
|
3903
|
+
whiteTheme: colors$1.coolGray30,
|
|
3904
|
+
g10: colors$1.coolGray30,
|
|
3905
|
+
g90: colors$1.coolGray70Hover,
|
|
3906
|
+
g100: colors$1.coolGray70Hover
|
|
3907
|
+
};
|
|
3908
|
+
var tagBackgroundWarmGray = {
|
|
3909
|
+
whiteTheme: colors$1.warmGray20,
|
|
3910
|
+
g10: colors$1.warmGray20,
|
|
3911
|
+
g90: colors$1.warmGray70,
|
|
3912
|
+
g100: colors$1.warmGray70
|
|
3913
|
+
};
|
|
3914
|
+
var tagColorWarmGray = {
|
|
3915
|
+
whiteTheme: colors$1.warmGray80,
|
|
3916
|
+
g10: colors$1.warmGray80,
|
|
3917
|
+
g90: colors$1.warmGray20,
|
|
3918
|
+
g100: colors$1.warmGray20
|
|
3919
|
+
};
|
|
3920
|
+
var tagHoverWarmGray = {
|
|
3921
|
+
whiteTheme: colors$1.warmGray30,
|
|
3922
|
+
g10: colors$1.warmGray30,
|
|
3923
|
+
g90: colors$1.warmGray70Hover,
|
|
3924
|
+
g100: colors$1.warmGray70Hover
|
|
3925
|
+
};
|
|
3926
|
+
|
|
3927
|
+
var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
3928
|
+
__proto__: null,
|
|
3929
|
+
tagBackgroundRed: tagBackgroundRed,
|
|
3930
|
+
tagColorRed: tagColorRed,
|
|
3931
|
+
tagHoverRed: tagHoverRed,
|
|
3932
|
+
tagBackgroundMagenta: tagBackgroundMagenta,
|
|
3933
|
+
tagColorMagenta: tagColorMagenta,
|
|
3934
|
+
tagHoverMagenta: tagHoverMagenta,
|
|
3935
|
+
tagBackgroundPurple: tagBackgroundPurple,
|
|
3936
|
+
tagColorPurple: tagColorPurple,
|
|
3937
|
+
tagHoverPurple: tagHoverPurple,
|
|
3938
|
+
tagBackgroundBlue: tagBackgroundBlue,
|
|
3939
|
+
tagColorBlue: tagColorBlue,
|
|
3940
|
+
tagHoverBlue: tagHoverBlue,
|
|
3941
|
+
tagBackgroundCyan: tagBackgroundCyan,
|
|
3942
|
+
tagColorCyan: tagColorCyan,
|
|
3943
|
+
tagHoverCyan: tagHoverCyan,
|
|
3944
|
+
tagBackgroundTeal: tagBackgroundTeal,
|
|
3945
|
+
tagColorTeal: tagColorTeal,
|
|
3946
|
+
tagHoverTeal: tagHoverTeal,
|
|
3947
|
+
tagBackgroundGreen: tagBackgroundGreen,
|
|
3948
|
+
tagColorGreen: tagColorGreen,
|
|
3949
|
+
tagHoverGreen: tagHoverGreen,
|
|
3950
|
+
tagBackgroundGray: tagBackgroundGray,
|
|
3951
|
+
tagColorGray: tagColorGray,
|
|
3952
|
+
tagHoverGray: tagHoverGray,
|
|
3953
|
+
tagBackgroundCoolGray: tagBackgroundCoolGray,
|
|
3954
|
+
tagColorCoolGray: tagColorCoolGray,
|
|
3955
|
+
tagHoverCoolGray: tagHoverCoolGray,
|
|
3956
|
+
tagBackgroundWarmGray: tagBackgroundWarmGray,
|
|
3957
|
+
tagColorWarmGray: tagColorWarmGray,
|
|
3958
|
+
tagHoverWarmGray: tagHoverWarmGray
|
|
3959
|
+
});
|
|
3960
|
+
|
|
3961
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
3962
|
+
__proto__: null,
|
|
3963
|
+
tagTokens: tokens$1
|
|
3964
|
+
});
|
|
3965
|
+
|
|
3966
|
+
var notificationBackgroundError = {
|
|
3967
|
+
whiteTheme: colors$1.red10,
|
|
3968
|
+
g10: colors$1.red10,
|
|
3969
|
+
g90: colors$1.gray80,
|
|
3970
|
+
g100: colors$1.gray90
|
|
3971
|
+
};
|
|
3972
|
+
var notificationBackgroundSuccess = {
|
|
3973
|
+
whiteTheme: colors$1.green10,
|
|
3974
|
+
g10: colors$1.green10,
|
|
3975
|
+
g90: colors$1.gray80,
|
|
3976
|
+
g100: colors$1.gray90
|
|
3977
|
+
};
|
|
3978
|
+
var notificationBackgroundInfo = {
|
|
3979
|
+
whiteTheme: colors$1.blue10,
|
|
3980
|
+
g10: colors$1.blue10,
|
|
3981
|
+
g90: colors$1.gray80,
|
|
3982
|
+
g100: colors$1.gray90
|
|
3983
|
+
};
|
|
3984
|
+
var colorMap = {
|
|
3985
|
+
yellow30: colors$1.yellow30,
|
|
3986
|
+
white0: colors$1.white0
|
|
3987
|
+
};
|
|
3988
|
+
var notificationBackgroundWarning = {
|
|
3989
|
+
whiteTheme: colorMap,
|
|
3990
|
+
g10: colorMap,
|
|
3991
|
+
g90: colors$1.gray80,
|
|
3992
|
+
g100: colors$1.gray90
|
|
3993
|
+
};
|
|
3994
|
+
var notificationActionHover = {
|
|
3995
|
+
whiteTheme: colors$1.white0,
|
|
3996
|
+
g10: colors$1.white0
|
|
3997
|
+
};
|
|
3998
|
+
var notificationActionTertiaryInverse = {
|
|
3999
|
+
whiteTheme: buttonTertiary.g100,
|
|
4000
|
+
g10: buttonTertiary.g90,
|
|
4001
|
+
g90: buttonTertiary.g10,
|
|
4002
|
+
g100: buttonTertiary.whiteTheme
|
|
4003
|
+
};
|
|
4004
|
+
var notificationActionTertiaryInverseActive = {
|
|
4005
|
+
whiteTheme: buttonTertiaryActive.g100,
|
|
4006
|
+
g10: buttonTertiaryActive.g90,
|
|
4007
|
+
g90: buttonTertiaryActive.g10,
|
|
4008
|
+
g100: buttonTertiaryActive.whiteTheme
|
|
4009
|
+
};
|
|
4010
|
+
var notificationActionTertiaryInverseHover = {
|
|
4011
|
+
whiteTheme: buttonTertiaryHover.g100,
|
|
4012
|
+
g10: buttonTertiaryHover.g90,
|
|
4013
|
+
g90: buttonTertiaryHover.g10,
|
|
4014
|
+
g100: buttonTertiaryHover.whiteTheme
|
|
4015
|
+
};
|
|
4016
|
+
var notificationActionTertiaryInverseText = {
|
|
4017
|
+
whiteTheme: textInverse$4,
|
|
4018
|
+
g10: textInverse$5,
|
|
4019
|
+
g90: textInverse$6,
|
|
4020
|
+
g100: textInverse$7
|
|
4021
|
+
};
|
|
4022
|
+
var notificationActionTertiaryInverseTextOnColorDisabled = {
|
|
4023
|
+
whiteTheme: textOnColorDisabled$4,
|
|
4024
|
+
g10: textOnColorDisabled$5,
|
|
4025
|
+
g90: textOnColorDisabled$6,
|
|
4026
|
+
g100: textOnColorDisabled$7
|
|
4027
|
+
};
|
|
4028
|
+
|
|
4029
|
+
var tokens = /*#__PURE__*/Object.freeze({
|
|
4030
|
+
__proto__: null,
|
|
4031
|
+
notificationBackgroundError: notificationBackgroundError,
|
|
4032
|
+
notificationBackgroundSuccess: notificationBackgroundSuccess,
|
|
4033
|
+
notificationBackgroundInfo: notificationBackgroundInfo,
|
|
4034
|
+
colorMap: colorMap,
|
|
4035
|
+
notificationBackgroundWarning: notificationBackgroundWarning,
|
|
4036
|
+
notificationActionHover: notificationActionHover,
|
|
4037
|
+
notificationActionTertiaryInverse: notificationActionTertiaryInverse,
|
|
4038
|
+
notificationActionTertiaryInverseActive: notificationActionTertiaryInverseActive,
|
|
4039
|
+
notificationActionTertiaryInverseHover: notificationActionTertiaryInverseHover,
|
|
4040
|
+
notificationActionTertiaryInverseText: notificationActionTertiaryInverseText,
|
|
4041
|
+
notificationActionTertiaryInverseTextOnColorDisabled: notificationActionTertiaryInverseTextOnColorDisabled
|
|
4042
|
+
});
|
|
4043
|
+
|
|
4044
|
+
var index = /*#__PURE__*/Object.freeze({
|
|
4045
|
+
__proto__: null,
|
|
4046
|
+
notificationTokens: tokens
|
|
4047
|
+
});
|
|
4048
|
+
|
|
3591
4049
|
/**
|
|
3592
4050
|
* Copyright IBM Corp. 2018, 2018
|
|
3593
4051
|
*
|
|
@@ -4551,6 +5009,7 @@
|
|
|
4551
5009
|
exports.borderSubtleSelected01 = borderSubtleSelected01$3;
|
|
4552
5010
|
exports.borderSubtleSelected02 = borderSubtleSelected02$3;
|
|
4553
5011
|
exports.borderSubtleSelected03 = borderSubtleSelected03$3;
|
|
5012
|
+
exports.buttonTokens = index$2;
|
|
4554
5013
|
exports.field01 = field01$7;
|
|
4555
5014
|
exports.field02 = field02$7;
|
|
4556
5015
|
exports.field03 = field03$3;
|
|
@@ -4560,6 +5019,7 @@
|
|
|
4560
5019
|
exports.focus = focus$8;
|
|
4561
5020
|
exports.focusInset = focusInset$7;
|
|
4562
5021
|
exports.focusInverse = focusInverse$7;
|
|
5022
|
+
exports.formatTokenName = formatTokenName;
|
|
4563
5023
|
exports.g10 = g10$1;
|
|
4564
5024
|
exports.g100 = g100$1;
|
|
4565
5025
|
exports.g90 = g90$1;
|
|
@@ -4604,6 +5064,7 @@
|
|
|
4604
5064
|
exports.linkPrimaryHover = linkPrimaryHover$7;
|
|
4605
5065
|
exports.linkSecondary = linkSecondary$7;
|
|
4606
5066
|
exports.linkVisited = linkVisited$7;
|
|
5067
|
+
exports.notificationTokens = index;
|
|
4607
5068
|
exports.overlay = overlay$7;
|
|
4608
5069
|
exports.shadow = shadow$7;
|
|
4609
5070
|
exports.skeletonBackground = skeletonBackground$7;
|
|
@@ -4619,6 +5080,7 @@
|
|
|
4619
5080
|
exports.supportSuccessInverse = supportSuccessInverse$7;
|
|
4620
5081
|
exports.supportWarning = supportWarning$7;
|
|
4621
5082
|
exports.supportWarningInverse = supportWarningInverse$7;
|
|
5083
|
+
exports.tagTokens = index$1;
|
|
4622
5084
|
exports.textDisabled = textDisabled$7;
|
|
4623
5085
|
exports.textError = textError$7;
|
|
4624
5086
|
exports.textHelper = textHelper$7;
|
|
@@ -4631,7 +5093,7 @@
|
|
|
4631
5093
|
exports.themes = themes;
|
|
4632
5094
|
exports.toggleOff = toggleOff$7;
|
|
4633
5095
|
exports.unstable_metadata = unstable_metadata;
|
|
4634
|
-
exports.v10 = index;
|
|
5096
|
+
exports.v10 = index$3;
|
|
4635
5097
|
exports.white = white$1;
|
|
4636
5098
|
|
|
4637
5099
|
Object.defineProperty(exports, '__esModule', { value: true });
|