@carbon/themes 11.11.0-rc.0 → 11.11.1-rc.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 +93 -10
- package/lib/index.js +95 -11
- package/package.json +4 -4
- package/scss/_component-tokens.scss +1 -0
- package/scss/generated/_notification-tokens.scss +88 -0
- package/src/component-tokens/notification/index.js +1 -0
- package/src/component-tokens/notification/tokens.js +103 -0
- package/src/index.js +2 -0
- package/umd/index.js +95 -11
package/es/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { white as white$2, gray80, blue60, gray50, gray80Hover, gray10, gray30, gray10Hover, gray20, gray20Hover, whiteHover, gray100, gray40, gray70, gray60, red60, blue70, blue40, purple60, blue30, green60, yellow30, red50, green40, blue50, orange40, blue20, gray90, gray70Hover, gray60Hover, gray50Hover, red30, purple40, red40, green50, purple50, gray90Hover, rgba, black, blue80, red80, red20, red70, red70Hover, magenta20, magenta70, magenta80, magenta30, magenta70Hover, purple20, purple70, purple80, purple30, purple70Hover, blue70Hover, cyan20, cyan70, cyan80, cyan30, cyan70Hover, teal20, teal70, teal80, teal30, teal70Hover, green20, green70, green80, green30, green70Hover, coolGray20, coolGray70, coolGray80, coolGray30, coolGray70Hover, warmGray20, warmGray70, warmGray80, warmGray30, warmGray70Hover } from '@carbon/colors';
|
|
1
|
+
import { white as white$2, gray80, blue60, gray50, gray80Hover, gray10, gray30, gray10Hover, gray20, gray20Hover, whiteHover, gray100, gray40, gray70, gray60, red60, blue70, blue40, purple60, blue30, green60, yellow30, red50, green40, blue50, orange40, blue20, gray90, gray70Hover, gray60Hover, gray50Hover, red30, purple40, red40, green50, purple50, gray90Hover, rgba, black, blue80, red80, red20, red70, red70Hover, magenta20, magenta70, magenta80, magenta30, magenta70Hover, purple20, purple70, purple80, purple30, purple70Hover, blue70Hover, cyan20, cyan70, cyan80, cyan30, cyan70Hover, teal20, teal70, teal80, teal30, teal70Hover, green20, green70, green80, green30, green70Hover, coolGray20, coolGray70, coolGray80, coolGray30, coolGray70Hover, warmGray20, warmGray70, warmGray80, warmGray30, warmGray70Hover, red10, green10, blue10, white0 } from '@carbon/colors';
|
|
2
2
|
import Color from 'color';
|
|
3
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, legal01, legal02, bodyCompact01, bodyCompact02, body01, body02, headingCompact01, headingCompact02, heading03, heading04, heading05, heading06, heading07, fluidHeading03, fluidHeading04, fluidHeading05, fluidHeading06, fluidParagraph01, fluidQuotation01, fluidQuotation02, fluidDisplay01, fluidDisplay02, fluidDisplay03, fluidDisplay04, unstable_tokens } from '@carbon/type';
|
|
4
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';
|
|
@@ -3360,7 +3360,7 @@ var colors = [// Core
|
|
|
3360
3360
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
3361
3361
|
'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
|
|
3362
3362
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
3363
|
-
var tokens$
|
|
3363
|
+
var tokens$3 = {
|
|
3364
3364
|
colors: colors,
|
|
3365
3365
|
type: unstable_tokens,
|
|
3366
3366
|
layout: unstable_tokens$1
|
|
@@ -3379,14 +3379,14 @@ var themes$1 = {
|
|
|
3379
3379
|
g100: g100
|
|
3380
3380
|
};
|
|
3381
3381
|
|
|
3382
|
-
var index$
|
|
3382
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
3383
3383
|
__proto__: null,
|
|
3384
3384
|
white: white,
|
|
3385
3385
|
g10: g10,
|
|
3386
3386
|
g90: g90,
|
|
3387
3387
|
g100: g100,
|
|
3388
3388
|
themes: themes$1,
|
|
3389
|
-
tokens: tokens$
|
|
3389
|
+
tokens: tokens$3,
|
|
3390
3390
|
caption01: caption01,
|
|
3391
3391
|
caption02: caption02,
|
|
3392
3392
|
label01: label01,
|
|
@@ -3716,7 +3716,7 @@ var buttonDisabled = {
|
|
|
3716
3716
|
g100: 'rgb(141 141 141 / 30%)'
|
|
3717
3717
|
};
|
|
3718
3718
|
|
|
3719
|
-
var tokens$
|
|
3719
|
+
var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
3720
3720
|
__proto__: null,
|
|
3721
3721
|
buttonSeparator: buttonSeparator,
|
|
3722
3722
|
buttonPrimary: buttonPrimary,
|
|
@@ -3735,9 +3735,9 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
3735
3735
|
buttonDisabled: buttonDisabled
|
|
3736
3736
|
});
|
|
3737
3737
|
|
|
3738
|
-
var index$
|
|
3738
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
3739
3739
|
__proto__: null,
|
|
3740
|
-
buttonTokens: tokens$
|
|
3740
|
+
buttonTokens: tokens$2
|
|
3741
3741
|
});
|
|
3742
3742
|
|
|
3743
3743
|
var tagBackgroundRed = {
|
|
@@ -3921,7 +3921,7 @@ var tagHoverWarmGray = {
|
|
|
3921
3921
|
g100: warmGray70Hover
|
|
3922
3922
|
};
|
|
3923
3923
|
|
|
3924
|
-
var tokens = /*#__PURE__*/Object.freeze({
|
|
3924
|
+
var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
3925
3925
|
__proto__: null,
|
|
3926
3926
|
tagBackgroundRed: tagBackgroundRed,
|
|
3927
3927
|
tagColorRed: tagColorRed,
|
|
@@ -3955,9 +3955,92 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
3955
3955
|
tagHoverWarmGray: tagHoverWarmGray
|
|
3956
3956
|
});
|
|
3957
3957
|
|
|
3958
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
3959
|
+
__proto__: null,
|
|
3960
|
+
tagTokens: tokens$1
|
|
3961
|
+
});
|
|
3962
|
+
|
|
3963
|
+
var notificationBackgroundError = {
|
|
3964
|
+
whiteTheme: red10,
|
|
3965
|
+
g10: red10,
|
|
3966
|
+
g90: gray80,
|
|
3967
|
+
g100: gray90
|
|
3968
|
+
};
|
|
3969
|
+
var notificationBackgroundSuccess = {
|
|
3970
|
+
whiteTheme: green10,
|
|
3971
|
+
g10: green10,
|
|
3972
|
+
g90: gray80,
|
|
3973
|
+
g100: gray90
|
|
3974
|
+
};
|
|
3975
|
+
var notificationBackgroundInfo = {
|
|
3976
|
+
whiteTheme: blue10,
|
|
3977
|
+
g10: blue10,
|
|
3978
|
+
g90: gray80,
|
|
3979
|
+
g100: gray90
|
|
3980
|
+
};
|
|
3981
|
+
var colorMap = {
|
|
3982
|
+
yellow30: yellow30,
|
|
3983
|
+
white0: white0
|
|
3984
|
+
};
|
|
3985
|
+
var notificationBackgroundWarning = {
|
|
3986
|
+
whiteTheme: colorMap,
|
|
3987
|
+
g10: colorMap,
|
|
3988
|
+
g90: gray80,
|
|
3989
|
+
g100: gray90
|
|
3990
|
+
};
|
|
3991
|
+
var notificationActionHover = {
|
|
3992
|
+
whiteTheme: white0,
|
|
3993
|
+
g10: white0
|
|
3994
|
+
};
|
|
3995
|
+
var notificationActionTertiaryInverse = {
|
|
3996
|
+
whiteTheme: buttonTertiary.g100,
|
|
3997
|
+
g10: buttonTertiary.g90,
|
|
3998
|
+
g90: buttonTertiary.g10,
|
|
3999
|
+
g100: buttonTertiary.whiteTheme
|
|
4000
|
+
};
|
|
4001
|
+
var notificationActionTertiaryInverseActive = {
|
|
4002
|
+
whiteTheme: buttonTertiaryActive.g100,
|
|
4003
|
+
g10: buttonTertiaryActive.g90,
|
|
4004
|
+
g90: buttonTertiaryActive.g10,
|
|
4005
|
+
g100: buttonTertiaryActive.whiteTheme
|
|
4006
|
+
};
|
|
4007
|
+
var notificationActionTertiaryInverseHover = {
|
|
4008
|
+
whiteTheme: buttonTertiaryHover.g100,
|
|
4009
|
+
g10: buttonTertiaryHover.g90,
|
|
4010
|
+
g90: buttonTertiaryHover.g10,
|
|
4011
|
+
g100: buttonTertiaryHover.whiteTheme
|
|
4012
|
+
};
|
|
4013
|
+
var notificationActionTertiaryInverseText = {
|
|
4014
|
+
whiteTheme: textInverse$4,
|
|
4015
|
+
g10: textInverse$5,
|
|
4016
|
+
g90: textInverse$6,
|
|
4017
|
+
g100: textInverse$7
|
|
4018
|
+
};
|
|
4019
|
+
var notificationActionTertiaryInverseTextOnColorDisabled = {
|
|
4020
|
+
whiteTheme: textOnColorDisabled$4,
|
|
4021
|
+
g10: textOnColorDisabled$5,
|
|
4022
|
+
g90: textOnColorDisabled$6,
|
|
4023
|
+
g100: textOnColorDisabled$7
|
|
4024
|
+
};
|
|
4025
|
+
|
|
4026
|
+
var tokens = /*#__PURE__*/Object.freeze({
|
|
4027
|
+
__proto__: null,
|
|
4028
|
+
notificationBackgroundError: notificationBackgroundError,
|
|
4029
|
+
notificationBackgroundSuccess: notificationBackgroundSuccess,
|
|
4030
|
+
notificationBackgroundInfo: notificationBackgroundInfo,
|
|
4031
|
+
colorMap: colorMap,
|
|
4032
|
+
notificationBackgroundWarning: notificationBackgroundWarning,
|
|
4033
|
+
notificationActionHover: notificationActionHover,
|
|
4034
|
+
notificationActionTertiaryInverse: notificationActionTertiaryInverse,
|
|
4035
|
+
notificationActionTertiaryInverseActive: notificationActionTertiaryInverseActive,
|
|
4036
|
+
notificationActionTertiaryInverseHover: notificationActionTertiaryInverseHover,
|
|
4037
|
+
notificationActionTertiaryInverseText: notificationActionTertiaryInverseText,
|
|
4038
|
+
notificationActionTertiaryInverseTextOnColorDisabled: notificationActionTertiaryInverseTextOnColorDisabled
|
|
4039
|
+
});
|
|
4040
|
+
|
|
3958
4041
|
var index = /*#__PURE__*/Object.freeze({
|
|
3959
4042
|
__proto__: null,
|
|
3960
|
-
|
|
4043
|
+
notificationTokens: tokens
|
|
3961
4044
|
});
|
|
3962
4045
|
|
|
3963
4046
|
/**
|
|
@@ -4646,4 +4729,4 @@ var themes = {
|
|
|
4646
4729
|
g100: g100$1
|
|
4647
4730
|
};
|
|
4648
4731
|
|
|
4649
|
-
export { background$8 as background, backgroundActive$7 as backgroundActive, backgroundBrand$7 as backgroundBrand, backgroundHover$7 as backgroundHover, backgroundInverse$7 as backgroundInverse, backgroundInverseHover$7 as backgroundInverseHover, backgroundSelected$7 as backgroundSelected, backgroundSelectedHover$7 as backgroundSelectedHover, borderDisabled$7 as borderDisabled, borderInteractive$7 as borderInteractive, borderInverse$7 as borderInverse, borderStrong01$3 as borderStrong01, borderStrong02$3 as borderStrong02, borderStrong03$3 as borderStrong03, borderSubtle00$3 as borderSubtle00, borderSubtle01$3 as borderSubtle01, borderSubtle02$3 as borderSubtle02, borderSubtle03$3 as borderSubtle03, borderSubtleSelected01$3 as borderSubtleSelected01, borderSubtleSelected02$3 as borderSubtleSelected02, borderSubtleSelected03$3 as borderSubtleSelected03, index$
|
|
4732
|
+
export { background$8 as background, backgroundActive$7 as backgroundActive, backgroundBrand$7 as backgroundBrand, backgroundHover$7 as backgroundHover, backgroundInverse$7 as backgroundInverse, backgroundInverseHover$7 as backgroundInverseHover, backgroundSelected$7 as backgroundSelected, backgroundSelectedHover$7 as backgroundSelectedHover, borderDisabled$7 as borderDisabled, borderInteractive$7 as borderInteractive, borderInverse$7 as borderInverse, borderStrong01$3 as borderStrong01, borderStrong02$3 as borderStrong02, borderStrong03$3 as borderStrong03, borderSubtle00$3 as borderSubtle00, borderSubtle01$3 as borderSubtle01, borderSubtle02$3 as borderSubtle02, borderSubtle03$3 as borderSubtle03, borderSubtleSelected01$3 as borderSubtleSelected01, borderSubtleSelected02$3 as borderSubtleSelected02, borderSubtleSelected03$3 as borderSubtleSelected03, index$2 as buttonTokens, field01$7 as field01, field02$7 as field02, field03$3 as field03, fieldHover01$3 as fieldHover01, fieldHover02$3 as fieldHover02, fieldHover03$3 as fieldHover03, focus$8 as focus, focusInset$7 as focusInset, focusInverse$7 as focusInverse, formatTokenName, g10$1 as g10, g100$1 as g100, g90$1 as g90, highlight$7 as highlight, iconDisabled$7 as iconDisabled, iconInverse$7 as iconInverse, iconOnColor$7 as iconOnColor, iconOnColorDisabled$7 as iconOnColorDisabled, iconPrimary$7 as iconPrimary, iconSecondary$7 as iconSecondary, interactive$7 as interactive, layer01$3 as layer01, layer02$3 as layer02, layer03$3 as layer03, layerAccent01$3 as layerAccent01, layerAccent02$3 as layerAccent02, layerAccent03$3 as layerAccent03, layerAccentActive01$3 as layerAccentActive01, layerAccentActive02$3 as layerAccentActive02, layerAccentActive03$3 as layerAccentActive03, layerAccentHover01$3 as layerAccentHover01, layerAccentHover02$3 as layerAccentHover02, layerAccentHover03$3 as layerAccentHover03, layerActive01$3 as layerActive01, layerActive02$3 as layerActive02, layerActive03$3 as layerActive03, layerHover01$3 as layerHover01, layerHover02$3 as layerHover02, layerHover03$3 as layerHover03, layerSelected01$3 as layerSelected01, layerSelected02$3 as layerSelected02, layerSelected03$3 as layerSelected03, layerSelectedDisabled$7 as layerSelectedDisabled, layerSelectedHover01$3 as layerSelectedHover01, layerSelectedHover02$3 as layerSelectedHover02, layerSelectedHover03$3 as layerSelectedHover03, layerSelectedInverse$7 as layerSelectedInverse, linkInverse$7 as linkInverse, linkInverseActive$3 as linkInverseActive, linkInverseHover$3 as linkInverseHover, linkPrimary$7 as linkPrimary, linkPrimaryHover$7 as linkPrimaryHover, linkSecondary$7 as linkSecondary, linkVisited$7 as linkVisited, index as notificationTokens, overlay$7 as overlay, shadow$7 as shadow, skeletonBackground$7 as skeletonBackground, skeletonElement$7 as skeletonElement, supportCautionMajor$3 as supportCautionMajor, supportCautionMinor$3 as supportCautionMinor, supportCautionUndefined$3 as supportCautionUndefined, supportError$7 as supportError, supportErrorInverse$7 as supportErrorInverse, supportInfo$7 as supportInfo, supportInfoInverse$7 as supportInfoInverse, supportSuccess$7 as supportSuccess, supportSuccessInverse$7 as supportSuccessInverse, supportWarning$7 as supportWarning, supportWarningInverse$7 as supportWarningInverse, index$1 as tagTokens, textDisabled$7 as textDisabled, textError$7 as textError, textHelper$7 as textHelper, textInverse$7 as textInverse, textOnColor$7 as textOnColor, textOnColorDisabled$7 as textOnColorDisabled, textPlaceholder$7 as textPlaceholder, textPrimary$7 as textPrimary, textSecondary$7 as textSecondary, themes, toggleOff$7 as toggleOff, unstable_metadata, index$3 as v10, white$1 as white };
|
package/lib/index.js
CHANGED
|
@@ -3366,7 +3366,7 @@ var colors = [// Core
|
|
|
3366
3366
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
3367
3367
|
'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
|
|
3368
3368
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
3369
|
-
var tokens$
|
|
3369
|
+
var tokens$3 = {
|
|
3370
3370
|
colors: colors,
|
|
3371
3371
|
type: type$2.unstable_tokens,
|
|
3372
3372
|
layout: layout$2.unstable_tokens
|
|
@@ -3385,14 +3385,14 @@ var themes$1 = {
|
|
|
3385
3385
|
g100: g100
|
|
3386
3386
|
};
|
|
3387
3387
|
|
|
3388
|
-
var index$
|
|
3388
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
3389
3389
|
__proto__: null,
|
|
3390
3390
|
white: white,
|
|
3391
3391
|
g10: g10,
|
|
3392
3392
|
g90: g90,
|
|
3393
3393
|
g100: g100,
|
|
3394
3394
|
themes: themes$1,
|
|
3395
|
-
tokens: tokens$
|
|
3395
|
+
tokens: tokens$3,
|
|
3396
3396
|
caption01: type$2.caption01,
|
|
3397
3397
|
caption02: type$2.caption02,
|
|
3398
3398
|
label01: type$2.label01,
|
|
@@ -3722,7 +3722,7 @@ var buttonDisabled = {
|
|
|
3722
3722
|
g100: 'rgb(141 141 141 / 30%)'
|
|
3723
3723
|
};
|
|
3724
3724
|
|
|
3725
|
-
var tokens$
|
|
3725
|
+
var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
3726
3726
|
__proto__: null,
|
|
3727
3727
|
buttonSeparator: buttonSeparator,
|
|
3728
3728
|
buttonPrimary: buttonPrimary,
|
|
@@ -3741,9 +3741,9 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
3741
3741
|
buttonDisabled: buttonDisabled
|
|
3742
3742
|
});
|
|
3743
3743
|
|
|
3744
|
-
var index$
|
|
3744
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
3745
3745
|
__proto__: null,
|
|
3746
|
-
buttonTokens: tokens$
|
|
3746
|
+
buttonTokens: tokens$2
|
|
3747
3747
|
});
|
|
3748
3748
|
|
|
3749
3749
|
var tagBackgroundRed = {
|
|
@@ -3927,7 +3927,7 @@ var tagHoverWarmGray = {
|
|
|
3927
3927
|
g100: colors$1.warmGray70Hover
|
|
3928
3928
|
};
|
|
3929
3929
|
|
|
3930
|
-
var tokens = /*#__PURE__*/Object.freeze({
|
|
3930
|
+
var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
3931
3931
|
__proto__: null,
|
|
3932
3932
|
tagBackgroundRed: tagBackgroundRed,
|
|
3933
3933
|
tagColorRed: tagColorRed,
|
|
@@ -3961,9 +3961,92 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
3961
3961
|
tagHoverWarmGray: tagHoverWarmGray
|
|
3962
3962
|
});
|
|
3963
3963
|
|
|
3964
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
3965
|
+
__proto__: null,
|
|
3966
|
+
tagTokens: tokens$1
|
|
3967
|
+
});
|
|
3968
|
+
|
|
3969
|
+
var notificationBackgroundError = {
|
|
3970
|
+
whiteTheme: colors$1.red10,
|
|
3971
|
+
g10: colors$1.red10,
|
|
3972
|
+
g90: colors$1.gray80,
|
|
3973
|
+
g100: colors$1.gray90
|
|
3974
|
+
};
|
|
3975
|
+
var notificationBackgroundSuccess = {
|
|
3976
|
+
whiteTheme: colors$1.green10,
|
|
3977
|
+
g10: colors$1.green10,
|
|
3978
|
+
g90: colors$1.gray80,
|
|
3979
|
+
g100: colors$1.gray90
|
|
3980
|
+
};
|
|
3981
|
+
var notificationBackgroundInfo = {
|
|
3982
|
+
whiteTheme: colors$1.blue10,
|
|
3983
|
+
g10: colors$1.blue10,
|
|
3984
|
+
g90: colors$1.gray80,
|
|
3985
|
+
g100: colors$1.gray90
|
|
3986
|
+
};
|
|
3987
|
+
var colorMap = {
|
|
3988
|
+
yellow30: colors$1.yellow30,
|
|
3989
|
+
white0: colors$1.white0
|
|
3990
|
+
};
|
|
3991
|
+
var notificationBackgroundWarning = {
|
|
3992
|
+
whiteTheme: colorMap,
|
|
3993
|
+
g10: colorMap,
|
|
3994
|
+
g90: colors$1.gray80,
|
|
3995
|
+
g100: colors$1.gray90
|
|
3996
|
+
};
|
|
3997
|
+
var notificationActionHover = {
|
|
3998
|
+
whiteTheme: colors$1.white0,
|
|
3999
|
+
g10: colors$1.white0
|
|
4000
|
+
};
|
|
4001
|
+
var notificationActionTertiaryInverse = {
|
|
4002
|
+
whiteTheme: buttonTertiary.g100,
|
|
4003
|
+
g10: buttonTertiary.g90,
|
|
4004
|
+
g90: buttonTertiary.g10,
|
|
4005
|
+
g100: buttonTertiary.whiteTheme
|
|
4006
|
+
};
|
|
4007
|
+
var notificationActionTertiaryInverseActive = {
|
|
4008
|
+
whiteTheme: buttonTertiaryActive.g100,
|
|
4009
|
+
g10: buttonTertiaryActive.g90,
|
|
4010
|
+
g90: buttonTertiaryActive.g10,
|
|
4011
|
+
g100: buttonTertiaryActive.whiteTheme
|
|
4012
|
+
};
|
|
4013
|
+
var notificationActionTertiaryInverseHover = {
|
|
4014
|
+
whiteTheme: buttonTertiaryHover.g100,
|
|
4015
|
+
g10: buttonTertiaryHover.g90,
|
|
4016
|
+
g90: buttonTertiaryHover.g10,
|
|
4017
|
+
g100: buttonTertiaryHover.whiteTheme
|
|
4018
|
+
};
|
|
4019
|
+
var notificationActionTertiaryInverseText = {
|
|
4020
|
+
whiteTheme: textInverse$4,
|
|
4021
|
+
g10: textInverse$5,
|
|
4022
|
+
g90: textInverse$6,
|
|
4023
|
+
g100: textInverse$7
|
|
4024
|
+
};
|
|
4025
|
+
var notificationActionTertiaryInverseTextOnColorDisabled = {
|
|
4026
|
+
whiteTheme: textOnColorDisabled$4,
|
|
4027
|
+
g10: textOnColorDisabled$5,
|
|
4028
|
+
g90: textOnColorDisabled$6,
|
|
4029
|
+
g100: textOnColorDisabled$7
|
|
4030
|
+
};
|
|
4031
|
+
|
|
4032
|
+
var tokens = /*#__PURE__*/Object.freeze({
|
|
4033
|
+
__proto__: null,
|
|
4034
|
+
notificationBackgroundError: notificationBackgroundError,
|
|
4035
|
+
notificationBackgroundSuccess: notificationBackgroundSuccess,
|
|
4036
|
+
notificationBackgroundInfo: notificationBackgroundInfo,
|
|
4037
|
+
colorMap: colorMap,
|
|
4038
|
+
notificationBackgroundWarning: notificationBackgroundWarning,
|
|
4039
|
+
notificationActionHover: notificationActionHover,
|
|
4040
|
+
notificationActionTertiaryInverse: notificationActionTertiaryInverse,
|
|
4041
|
+
notificationActionTertiaryInverseActive: notificationActionTertiaryInverseActive,
|
|
4042
|
+
notificationActionTertiaryInverseHover: notificationActionTertiaryInverseHover,
|
|
4043
|
+
notificationActionTertiaryInverseText: notificationActionTertiaryInverseText,
|
|
4044
|
+
notificationActionTertiaryInverseTextOnColorDisabled: notificationActionTertiaryInverseTextOnColorDisabled
|
|
4045
|
+
});
|
|
4046
|
+
|
|
3964
4047
|
var index = /*#__PURE__*/Object.freeze({
|
|
3965
4048
|
__proto__: null,
|
|
3966
|
-
|
|
4049
|
+
notificationTokens: tokens
|
|
3967
4050
|
});
|
|
3968
4051
|
|
|
3969
4052
|
/**
|
|
@@ -4929,7 +5012,7 @@ exports.borderSubtle03 = borderSubtle03$3;
|
|
|
4929
5012
|
exports.borderSubtleSelected01 = borderSubtleSelected01$3;
|
|
4930
5013
|
exports.borderSubtleSelected02 = borderSubtleSelected02$3;
|
|
4931
5014
|
exports.borderSubtleSelected03 = borderSubtleSelected03$3;
|
|
4932
|
-
exports.buttonTokens = index$
|
|
5015
|
+
exports.buttonTokens = index$2;
|
|
4933
5016
|
exports.field01 = field01$7;
|
|
4934
5017
|
exports.field02 = field02$7;
|
|
4935
5018
|
exports.field03 = field03$3;
|
|
@@ -4984,6 +5067,7 @@ exports.linkPrimary = linkPrimary$7;
|
|
|
4984
5067
|
exports.linkPrimaryHover = linkPrimaryHover$7;
|
|
4985
5068
|
exports.linkSecondary = linkSecondary$7;
|
|
4986
5069
|
exports.linkVisited = linkVisited$7;
|
|
5070
|
+
exports.notificationTokens = index;
|
|
4987
5071
|
exports.overlay = overlay$7;
|
|
4988
5072
|
exports.shadow = shadow$7;
|
|
4989
5073
|
exports.skeletonBackground = skeletonBackground$7;
|
|
@@ -4999,7 +5083,7 @@ exports.supportSuccess = supportSuccess$7;
|
|
|
4999
5083
|
exports.supportSuccessInverse = supportSuccessInverse$7;
|
|
5000
5084
|
exports.supportWarning = supportWarning$7;
|
|
5001
5085
|
exports.supportWarningInverse = supportWarningInverse$7;
|
|
5002
|
-
exports.tagTokens = index;
|
|
5086
|
+
exports.tagTokens = index$1;
|
|
5003
5087
|
exports.textDisabled = textDisabled$7;
|
|
5004
5088
|
exports.textError = textError$7;
|
|
5005
5089
|
exports.textHelper = textHelper$7;
|
|
@@ -5012,5 +5096,5 @@ exports.textSecondary = textSecondary$7;
|
|
|
5012
5096
|
exports.themes = themes;
|
|
5013
5097
|
exports.toggleOff = toggleOff$7;
|
|
5014
5098
|
exports.unstable_metadata = unstable_metadata;
|
|
5015
|
-
exports.v10 = index$
|
|
5099
|
+
exports.v10 = index$3;
|
|
5016
5100
|
exports.white = white$1;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/themes",
|
|
3
3
|
"description": "Themes for applying color in the Carbon Design System",
|
|
4
|
-
"version": "11.11.
|
|
4
|
+
"version": "11.11.1-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"build": "yarn clean && carbon-cli bundle src/index.js --name CarbonThemes && babel-node --presets '@babel/preset-env' tasks/build.js && carbon-cli check \"scss/*.scss\""
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@carbon/colors": "^11.7.
|
|
32
|
+
"@carbon/colors": "^11.7.1-rc.0",
|
|
33
33
|
"@carbon/layout": "^11.7.0",
|
|
34
|
-
"@carbon/type": "^11.11.0
|
|
34
|
+
"@carbon/type": "^11.11.0",
|
|
35
35
|
"color": "^4.0.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"rimraf": "^3.0.0"
|
|
49
49
|
},
|
|
50
50
|
"sideEffects": false,
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "01475a0713de3b5243b747ffe7036f652ae5c22f"
|
|
52
52
|
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
// Code generated by @carbon/themes. DO NOT EDIT.
|
|
2
|
+
//
|
|
3
|
+
// Copyright IBM Corp. 2018, 2019
|
|
4
|
+
//
|
|
5
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
|
6
|
+
// LICENSE file in the root directory of this source tree.
|
|
7
|
+
//
|
|
8
|
+
|
|
9
|
+
@use 'sass:map';
|
|
10
|
+
|
|
11
|
+
$color-map: (
|
|
12
|
+
yellow-30: #f1c21b,
|
|
13
|
+
white-0: #ffffff,
|
|
14
|
+
) !default;
|
|
15
|
+
|
|
16
|
+
$notification-action-hover: (
|
|
17
|
+
white-theme: #ffffff,
|
|
18
|
+
g-10: #ffffff,
|
|
19
|
+
) !default;
|
|
20
|
+
|
|
21
|
+
$notification-action-tertiary-inverse: (
|
|
22
|
+
white-theme: #ffffff,
|
|
23
|
+
g-10: #ffffff,
|
|
24
|
+
g-90: #0f62fe,
|
|
25
|
+
g-100: #0f62fe,
|
|
26
|
+
) !default;
|
|
27
|
+
|
|
28
|
+
$notification-action-tertiary-inverse-active: (
|
|
29
|
+
white-theme: #c6c6c6,
|
|
30
|
+
g-10: #c6c6c6,
|
|
31
|
+
g-90: #002d9c,
|
|
32
|
+
g-100: #002d9c,
|
|
33
|
+
) !default;
|
|
34
|
+
|
|
35
|
+
$notification-action-tertiary-inverse-hover: (
|
|
36
|
+
white-theme: #f4f4f4,
|
|
37
|
+
g-10: #f4f4f4,
|
|
38
|
+
g-90: #0050e6,
|
|
39
|
+
g-100: #0050e6,
|
|
40
|
+
) !default;
|
|
41
|
+
|
|
42
|
+
$notification-action-tertiary-inverse-text: (
|
|
43
|
+
white-theme: #161616,
|
|
44
|
+
g-10: #161616,
|
|
45
|
+
g-90: #ffffff,
|
|
46
|
+
g-100: #ffffff,
|
|
47
|
+
) !default;
|
|
48
|
+
|
|
49
|
+
$notification-action-tertiary-inverse-text-on-color-disabled: (
|
|
50
|
+
white-theme: rgba(255, 255, 255, 0.25),
|
|
51
|
+
g-10: rgba(255, 255, 255, 0.25),
|
|
52
|
+
g-90: #8d8d8d,
|
|
53
|
+
g-100: #8d8d8d,
|
|
54
|
+
) !default;
|
|
55
|
+
|
|
56
|
+
$notification-background-error: (
|
|
57
|
+
white-theme: #fff1f1,
|
|
58
|
+
g-10: #fff1f1,
|
|
59
|
+
g-90: #393939,
|
|
60
|
+
g-100: #262626,
|
|
61
|
+
) !default;
|
|
62
|
+
|
|
63
|
+
$notification-background-info: (
|
|
64
|
+
white-theme: #edf5ff,
|
|
65
|
+
g-10: #edf5ff,
|
|
66
|
+
g-90: #393939,
|
|
67
|
+
g-100: #262626,
|
|
68
|
+
) !default;
|
|
69
|
+
|
|
70
|
+
$notification-background-success: (
|
|
71
|
+
white-theme: #defbe6,
|
|
72
|
+
g-10: #defbe6,
|
|
73
|
+
g-90: #393939,
|
|
74
|
+
g-100: #262626,
|
|
75
|
+
) !default;
|
|
76
|
+
|
|
77
|
+
$notification-background-warning: (
|
|
78
|
+
white-theme: (
|
|
79
|
+
yellow-30: #f1c21b,
|
|
80
|
+
white-0: #ffffff,
|
|
81
|
+
),
|
|
82
|
+
g-10: (
|
|
83
|
+
yellow-30: #f1c21b,
|
|
84
|
+
white-0: #ffffff,
|
|
85
|
+
),
|
|
86
|
+
g-90: #393939,
|
|
87
|
+
g-100: #262626,
|
|
88
|
+
) !default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as notificationTokens from './tokens';
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import {
|
|
2
|
+
red10,
|
|
3
|
+
gray80,
|
|
4
|
+
gray90,
|
|
5
|
+
green10,
|
|
6
|
+
blue10,
|
|
7
|
+
yellow30,
|
|
8
|
+
white0,
|
|
9
|
+
} from '@carbon/colors';
|
|
10
|
+
import {
|
|
11
|
+
textInverse as textInverseWhite,
|
|
12
|
+
textOnColorDisabled as textOnColorDisabledWhite,
|
|
13
|
+
} from '../../white';
|
|
14
|
+
import {
|
|
15
|
+
textInverse as textInverseG10,
|
|
16
|
+
textOnColorDisabled as textOnColorDisabledG10,
|
|
17
|
+
} from '../../g10';
|
|
18
|
+
import {
|
|
19
|
+
textInverse as textInverseG90,
|
|
20
|
+
textOnColorDisabled as textOnColorDisabledG90,
|
|
21
|
+
} from '../../g90';
|
|
22
|
+
import {
|
|
23
|
+
textInverse as textInverseG100,
|
|
24
|
+
textOnColorDisabled as textOnColorDisabledG100,
|
|
25
|
+
} from '../../g100';
|
|
26
|
+
import {
|
|
27
|
+
buttonTertiaryActive,
|
|
28
|
+
buttonTertiaryHover,
|
|
29
|
+
buttonTertiary,
|
|
30
|
+
} from '../button/tokens';
|
|
31
|
+
|
|
32
|
+
export const notificationBackgroundError = {
|
|
33
|
+
whiteTheme: red10,
|
|
34
|
+
g10: red10,
|
|
35
|
+
g90: gray80,
|
|
36
|
+
g100: gray90,
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export const notificationBackgroundSuccess = {
|
|
40
|
+
whiteTheme: green10,
|
|
41
|
+
g10: green10,
|
|
42
|
+
g90: gray80,
|
|
43
|
+
g100: gray90,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const notificationBackgroundInfo = {
|
|
47
|
+
whiteTheme: blue10,
|
|
48
|
+
g10: blue10,
|
|
49
|
+
g90: gray80,
|
|
50
|
+
g100: gray90,
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export const colorMap = {
|
|
54
|
+
yellow30,
|
|
55
|
+
white0,
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export const notificationBackgroundWarning = {
|
|
59
|
+
whiteTheme: colorMap,
|
|
60
|
+
g10: colorMap,
|
|
61
|
+
g90: gray80,
|
|
62
|
+
g100: gray90,
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
export const notificationActionHover = {
|
|
66
|
+
whiteTheme: white0,
|
|
67
|
+
g10: white0,
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export const notificationActionTertiaryInverse = {
|
|
71
|
+
whiteTheme: buttonTertiary.g100,
|
|
72
|
+
g10: buttonTertiary.g90,
|
|
73
|
+
g90: buttonTertiary.g10,
|
|
74
|
+
g100: buttonTertiary.whiteTheme,
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export const notificationActionTertiaryInverseActive = {
|
|
78
|
+
whiteTheme: buttonTertiaryActive.g100,
|
|
79
|
+
g10: buttonTertiaryActive.g90,
|
|
80
|
+
g90: buttonTertiaryActive.g10,
|
|
81
|
+
g100: buttonTertiaryActive.whiteTheme,
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
export const notificationActionTertiaryInverseHover = {
|
|
85
|
+
whiteTheme: buttonTertiaryHover.g100,
|
|
86
|
+
g10: buttonTertiaryHover.g90,
|
|
87
|
+
g90: buttonTertiaryHover.g10,
|
|
88
|
+
g100: buttonTertiaryHover.whiteTheme,
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
export const notificationActionTertiaryInverseText = {
|
|
92
|
+
whiteTheme: textInverseG100,
|
|
93
|
+
g10: textInverseG90,
|
|
94
|
+
g90: textInverseG10,
|
|
95
|
+
g100: textInverseWhite,
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export const notificationActionTertiaryInverseTextOnColorDisabled = {
|
|
99
|
+
whiteTheme: textOnColorDisabledG100,
|
|
100
|
+
g10: textOnColorDisabledG90,
|
|
101
|
+
g90: textOnColorDisabledG10,
|
|
102
|
+
g100: textOnColorDisabledWhite,
|
|
103
|
+
};
|
package/src/index.js
CHANGED
|
@@ -12,6 +12,7 @@ import * as g100 from './g100';
|
|
|
12
12
|
import * as v10 from './v10';
|
|
13
13
|
import * as buttonTokens from './component-tokens/button';
|
|
14
14
|
import * as tagTokens from './component-tokens/tag';
|
|
15
|
+
import * as notificationTokens from './component-tokens/notification';
|
|
15
16
|
import { formatTokenName } from './tools';
|
|
16
17
|
import { unstable_metadata } from './tokens';
|
|
17
18
|
|
|
@@ -32,6 +33,7 @@ export {
|
|
|
32
33
|
v10,
|
|
33
34
|
buttonTokens,
|
|
34
35
|
tagTokens,
|
|
36
|
+
notificationTokens,
|
|
35
37
|
unstable_metadata,
|
|
36
38
|
formatTokenName,
|
|
37
39
|
};
|
package/umd/index.js
CHANGED
|
@@ -3363,7 +3363,7 @@
|
|
|
3363
3363
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
3364
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
|
|
3365
3365
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
3366
|
-
var tokens$
|
|
3366
|
+
var tokens$3 = {
|
|
3367
3367
|
colors: colors,
|
|
3368
3368
|
type: type$2.unstable_tokens,
|
|
3369
3369
|
layout: layout$2.unstable_tokens
|
|
@@ -3382,14 +3382,14 @@
|
|
|
3382
3382
|
g100: g100
|
|
3383
3383
|
};
|
|
3384
3384
|
|
|
3385
|
-
var index$
|
|
3385
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
3386
3386
|
__proto__: null,
|
|
3387
3387
|
white: white,
|
|
3388
3388
|
g10: g10,
|
|
3389
3389
|
g90: g90,
|
|
3390
3390
|
g100: g100,
|
|
3391
3391
|
themes: themes$1,
|
|
3392
|
-
tokens: tokens$
|
|
3392
|
+
tokens: tokens$3,
|
|
3393
3393
|
caption01: type$2.caption01,
|
|
3394
3394
|
caption02: type$2.caption02,
|
|
3395
3395
|
label01: type$2.label01,
|
|
@@ -3719,7 +3719,7 @@
|
|
|
3719
3719
|
g100: 'rgb(141 141 141 / 30%)'
|
|
3720
3720
|
};
|
|
3721
3721
|
|
|
3722
|
-
var tokens$
|
|
3722
|
+
var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
3723
3723
|
__proto__: null,
|
|
3724
3724
|
buttonSeparator: buttonSeparator,
|
|
3725
3725
|
buttonPrimary: buttonPrimary,
|
|
@@ -3738,9 +3738,9 @@
|
|
|
3738
3738
|
buttonDisabled: buttonDisabled
|
|
3739
3739
|
});
|
|
3740
3740
|
|
|
3741
|
-
var index$
|
|
3741
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
3742
3742
|
__proto__: null,
|
|
3743
|
-
buttonTokens: tokens$
|
|
3743
|
+
buttonTokens: tokens$2
|
|
3744
3744
|
});
|
|
3745
3745
|
|
|
3746
3746
|
var tagBackgroundRed = {
|
|
@@ -3924,7 +3924,7 @@
|
|
|
3924
3924
|
g100: colors$1.warmGray70Hover
|
|
3925
3925
|
};
|
|
3926
3926
|
|
|
3927
|
-
var tokens = /*#__PURE__*/Object.freeze({
|
|
3927
|
+
var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
3928
3928
|
__proto__: null,
|
|
3929
3929
|
tagBackgroundRed: tagBackgroundRed,
|
|
3930
3930
|
tagColorRed: tagColorRed,
|
|
@@ -3958,9 +3958,92 @@
|
|
|
3958
3958
|
tagHoverWarmGray: tagHoverWarmGray
|
|
3959
3959
|
});
|
|
3960
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
|
+
|
|
3961
4044
|
var index = /*#__PURE__*/Object.freeze({
|
|
3962
4045
|
__proto__: null,
|
|
3963
|
-
|
|
4046
|
+
notificationTokens: tokens
|
|
3964
4047
|
});
|
|
3965
4048
|
|
|
3966
4049
|
/**
|
|
@@ -4926,7 +5009,7 @@
|
|
|
4926
5009
|
exports.borderSubtleSelected01 = borderSubtleSelected01$3;
|
|
4927
5010
|
exports.borderSubtleSelected02 = borderSubtleSelected02$3;
|
|
4928
5011
|
exports.borderSubtleSelected03 = borderSubtleSelected03$3;
|
|
4929
|
-
exports.buttonTokens = index$
|
|
5012
|
+
exports.buttonTokens = index$2;
|
|
4930
5013
|
exports.field01 = field01$7;
|
|
4931
5014
|
exports.field02 = field02$7;
|
|
4932
5015
|
exports.field03 = field03$3;
|
|
@@ -4981,6 +5064,7 @@
|
|
|
4981
5064
|
exports.linkPrimaryHover = linkPrimaryHover$7;
|
|
4982
5065
|
exports.linkSecondary = linkSecondary$7;
|
|
4983
5066
|
exports.linkVisited = linkVisited$7;
|
|
5067
|
+
exports.notificationTokens = index;
|
|
4984
5068
|
exports.overlay = overlay$7;
|
|
4985
5069
|
exports.shadow = shadow$7;
|
|
4986
5070
|
exports.skeletonBackground = skeletonBackground$7;
|
|
@@ -4996,7 +5080,7 @@
|
|
|
4996
5080
|
exports.supportSuccessInverse = supportSuccessInverse$7;
|
|
4997
5081
|
exports.supportWarning = supportWarning$7;
|
|
4998
5082
|
exports.supportWarningInverse = supportWarningInverse$7;
|
|
4999
|
-
exports.tagTokens = index;
|
|
5083
|
+
exports.tagTokens = index$1;
|
|
5000
5084
|
exports.textDisabled = textDisabled$7;
|
|
5001
5085
|
exports.textError = textError$7;
|
|
5002
5086
|
exports.textHelper = textHelper$7;
|
|
@@ -5009,7 +5093,7 @@
|
|
|
5009
5093
|
exports.themes = themes;
|
|
5010
5094
|
exports.toggleOff = toggleOff$7;
|
|
5011
5095
|
exports.unstable_metadata = unstable_metadata;
|
|
5012
|
-
exports.v10 = index$
|
|
5096
|
+
exports.v10 = index$3;
|
|
5013
5097
|
exports.white = white$1;
|
|
5014
5098
|
|
|
5015
5099
|
Object.defineProperty(exports, '__esModule', { value: true });
|