@carbon/themes 11.44.0 → 11.45.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 +85 -13
- package/lib/index.js +89 -16
- package/package.json +2 -2
- package/scss/_component-tokens.scss +1 -0
- package/scss/generated/_status-tokens.scss +65 -0
- package/src/component-tokens/status/index.js +1 -0
- package/src/component-tokens/status/tokens.js +71 -0
- package/src/index.js +2 -0
- package/src/tokens/components.js +14 -0
- package/umd/index.js +89 -16
package/es/index.js
CHANGED
|
@@ -3880,7 +3880,7 @@ var colors = [
|
|
|
3880
3880
|
'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',
|
|
3881
3881
|
// Deprecated
|
|
3882
3882
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
3883
|
-
var tokens$
|
|
3883
|
+
var tokens$4 = {
|
|
3884
3884
|
colors: colors,
|
|
3885
3885
|
type: unstable_tokens,
|
|
3886
3886
|
layout: unstable_tokens$1
|
|
@@ -3899,14 +3899,14 @@ var themes$1 = {
|
|
|
3899
3899
|
g100: g100
|
|
3900
3900
|
};
|
|
3901
3901
|
|
|
3902
|
-
var index$
|
|
3902
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
3903
3903
|
__proto__: null,
|
|
3904
3904
|
white: white,
|
|
3905
3905
|
g10: g10,
|
|
3906
3906
|
g90: g90,
|
|
3907
3907
|
g100: g100,
|
|
3908
3908
|
themes: themes$1,
|
|
3909
|
-
tokens: tokens$
|
|
3909
|
+
tokens: tokens$4,
|
|
3910
3910
|
caption01: caption01,
|
|
3911
3911
|
caption02: caption02,
|
|
3912
3912
|
label01: label01,
|
|
@@ -4243,7 +4243,7 @@ var buttonDisabled = {
|
|
|
4243
4243
|
g100: 'rgb(141 141 141 / 30%)'
|
|
4244
4244
|
};
|
|
4245
4245
|
|
|
4246
|
-
var tokens$
|
|
4246
|
+
var tokens$3 = /*#__PURE__*/Object.freeze({
|
|
4247
4247
|
__proto__: null,
|
|
4248
4248
|
buttonSeparator: buttonSeparator,
|
|
4249
4249
|
buttonPrimary: buttonPrimary,
|
|
@@ -4262,9 +4262,9 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
|
4262
4262
|
buttonDisabled: buttonDisabled
|
|
4263
4263
|
});
|
|
4264
4264
|
|
|
4265
|
-
var index$
|
|
4265
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
4266
4266
|
__proto__: null,
|
|
4267
|
-
buttonTokens: tokens$
|
|
4267
|
+
buttonTokens: tokens$3
|
|
4268
4268
|
});
|
|
4269
4269
|
|
|
4270
4270
|
var tagBackgroundRed = {
|
|
@@ -4508,7 +4508,7 @@ var tagBorderWarmGray = {
|
|
|
4508
4508
|
g100: warmGray50
|
|
4509
4509
|
};
|
|
4510
4510
|
|
|
4511
|
-
var tokens$
|
|
4511
|
+
var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
4512
4512
|
__proto__: null,
|
|
4513
4513
|
tagBackgroundRed: tagBackgroundRed,
|
|
4514
4514
|
tagColorRed: tagColorRed,
|
|
@@ -4552,9 +4552,9 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
4552
4552
|
tagBorderWarmGray: tagBorderWarmGray
|
|
4553
4553
|
});
|
|
4554
4554
|
|
|
4555
|
-
var index$
|
|
4555
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
4556
4556
|
__proto__: null,
|
|
4557
|
-
tagTokens: tokens$
|
|
4557
|
+
tagTokens: tokens$2
|
|
4558
4558
|
});
|
|
4559
4559
|
|
|
4560
4560
|
var notificationBackgroundError = {
|
|
@@ -4616,7 +4616,7 @@ var notificationActionTertiaryInverseTextOnColorDisabled = {
|
|
|
4616
4616
|
g100: textOnColorDisabled$7
|
|
4617
4617
|
};
|
|
4618
4618
|
|
|
4619
|
-
var tokens = /*#__PURE__*/Object.freeze({
|
|
4619
|
+
var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
4620
4620
|
__proto__: null,
|
|
4621
4621
|
notificationBackgroundError: notificationBackgroundError,
|
|
4622
4622
|
notificationBackgroundSuccess: notificationBackgroundSuccess,
|
|
@@ -4630,9 +4630,75 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
4630
4630
|
notificationActionTertiaryInverseTextOnColorDisabled: notificationActionTertiaryInverseTextOnColorDisabled
|
|
4631
4631
|
});
|
|
4632
4632
|
|
|
4633
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
4634
|
+
__proto__: null,
|
|
4635
|
+
notificationTokens: tokens$1
|
|
4636
|
+
});
|
|
4637
|
+
|
|
4638
|
+
var statusRed = {
|
|
4639
|
+
whiteTheme: red60,
|
|
4640
|
+
g10: red60,
|
|
4641
|
+
g90: red50,
|
|
4642
|
+
g100: red50
|
|
4643
|
+
};
|
|
4644
|
+
var statusOrange = {
|
|
4645
|
+
whiteTheme: orange40,
|
|
4646
|
+
g10: orange40,
|
|
4647
|
+
g90: orange40,
|
|
4648
|
+
g100: orange40
|
|
4649
|
+
};
|
|
4650
|
+
var statusYellow = {
|
|
4651
|
+
whiteTheme: yellow30,
|
|
4652
|
+
g10: yellow30,
|
|
4653
|
+
g90: yellow30,
|
|
4654
|
+
g100: yellow30
|
|
4655
|
+
};
|
|
4656
|
+
var statusPurple = {
|
|
4657
|
+
whiteTheme: purple60,
|
|
4658
|
+
g10: purple60,
|
|
4659
|
+
g90: purple50,
|
|
4660
|
+
g100: purple50
|
|
4661
|
+
};
|
|
4662
|
+
var statusGreen = {
|
|
4663
|
+
whiteTheme: green50,
|
|
4664
|
+
g10: green50,
|
|
4665
|
+
g90: green40,
|
|
4666
|
+
g100: green40
|
|
4667
|
+
};
|
|
4668
|
+
var statusBlue = {
|
|
4669
|
+
whiteTheme: blue70,
|
|
4670
|
+
g10: blue70,
|
|
4671
|
+
g90: blue50,
|
|
4672
|
+
g100: blue50
|
|
4673
|
+
};
|
|
4674
|
+
var statusGray = {
|
|
4675
|
+
whiteTheme: gray60,
|
|
4676
|
+
g10: gray60,
|
|
4677
|
+
g90: gray50,
|
|
4678
|
+
g100: gray50
|
|
4679
|
+
};
|
|
4680
|
+
var statusAccessibilityBackground = {
|
|
4681
|
+
whiteTheme: white$2,
|
|
4682
|
+
g10: white$2,
|
|
4683
|
+
g90: gray100,
|
|
4684
|
+
g100: gray100
|
|
4685
|
+
};
|
|
4686
|
+
|
|
4687
|
+
var tokens = /*#__PURE__*/Object.freeze({
|
|
4688
|
+
__proto__: null,
|
|
4689
|
+
statusRed: statusRed,
|
|
4690
|
+
statusOrange: statusOrange,
|
|
4691
|
+
statusYellow: statusYellow,
|
|
4692
|
+
statusPurple: statusPurple,
|
|
4693
|
+
statusGreen: statusGreen,
|
|
4694
|
+
statusBlue: statusBlue,
|
|
4695
|
+
statusGray: statusGray,
|
|
4696
|
+
statusAccessibilityBackground: statusAccessibilityBackground
|
|
4697
|
+
});
|
|
4698
|
+
|
|
4633
4699
|
var index = /*#__PURE__*/Object.freeze({
|
|
4634
4700
|
__proto__: null,
|
|
4635
|
-
|
|
4701
|
+
statusTokens: tokens
|
|
4636
4702
|
});
|
|
4637
4703
|
|
|
4638
4704
|
/**
|
|
@@ -5173,12 +5239,18 @@ var tag = TokenGroup.create({
|
|
|
5173
5239
|
properties: [],
|
|
5174
5240
|
tokens: ['tag-background-red', 'tag-color-red', 'tag-hover-red', 'tag-background-magenta', 'tag-color-magenta', 'tag-hover-magenta', 'tag-background-purple', 'tag-color-purple', 'tag-hover-purple', 'tag-background-blue', 'tag-color-blue', 'tag-hover-blue', 'tag-background-cyan', 'tag-color-cyan', 'tag-hover-cyan', 'tag-background-teal', 'tag-color-teal', 'tag-hover-teal', 'tag-background-green', 'tag-color-green', 'tag-hover-green', 'tag-background-gray', 'tag-color-gray', 'tag-hover-gray', 'tag-border-red', 'tag-border-blue', 'tag-border-cyan', 'tag-border-teal', 'tag-border-green', 'tag-border-magenta', 'tag-border-purple', 'tag-border-gray', 'tag-border-cool-gray', 'tag-border-warm-gray', 'tag-background-cool-gray', 'tag-color-cool-gray', 'tag-hover-cool-gray', 'tag-background-warm-gray', 'tag-color-warm-gray', 'tag-hover-warm-gray']
|
|
5175
5241
|
});
|
|
5242
|
+
var status = TokenGroup.create({
|
|
5243
|
+
name: 'Status',
|
|
5244
|
+
properties: [],
|
|
5245
|
+
tokens: ['status-red', 'status-orange', 'status-yellow', 'status-purple', 'status-green', 'status-blue', 'status-gray']
|
|
5246
|
+
});
|
|
5176
5247
|
|
|
5177
5248
|
var components = /*#__PURE__*/Object.freeze({
|
|
5178
5249
|
__proto__: null,
|
|
5179
5250
|
button: button,
|
|
5180
5251
|
notification: notification,
|
|
5181
|
-
tag: tag
|
|
5252
|
+
tag: tag,
|
|
5253
|
+
status: status
|
|
5182
5254
|
});
|
|
5183
5255
|
|
|
5184
5256
|
/**
|
|
@@ -5285,4 +5357,4 @@ var themes = {
|
|
|
5285
5357
|
g100: g100$1
|
|
5286
5358
|
};
|
|
5287
5359
|
|
|
5288
|
-
export { aiAuraEnd$3 as aiAuraEnd, aiAuraHoverBackground$3 as aiAuraHoverBackground, aiAuraHoverEnd$3 as aiAuraHoverEnd, aiAuraHoverStart$3 as aiAuraHoverStart, aiAuraStart$3 as aiAuraStart, aiAuraStartSm$3 as aiAuraStartSm, aiBorderEnd$3 as aiBorderEnd, aiBorderStart$3 as aiBorderStart, aiBorderStrong$3 as aiBorderStrong, aiDropShadow$3 as aiDropShadow, aiInnerShadow$3 as aiInnerShadow, aiOverlay$3 as aiOverlay, aiPopoverBackground$3 as aiPopoverBackground, aiPopoverCaretBottom$3 as aiPopoverCaretBottom, aiPopoverCaretBottomBackground$3 as aiPopoverCaretBottomBackground, aiPopoverCaretBottomBackgroundActions$3 as aiPopoverCaretBottomBackgroundActions, aiPopoverCaretCenter$3 as aiPopoverCaretCenter, aiPopoverShadowOuter01$3 as aiPopoverShadowOuter01, aiPopoverShadowOuter02$3 as aiPopoverShadowOuter02, aiSkeletonBackground$3 as aiSkeletonBackground, aiSkeletonElementBackground$3 as aiSkeletonElementBackground, 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, borderTile01$3 as borderTile01, borderTile02$3 as borderTile02, borderTile03$3 as borderTile03, index$
|
|
5360
|
+
export { aiAuraEnd$3 as aiAuraEnd, aiAuraHoverBackground$3 as aiAuraHoverBackground, aiAuraHoverEnd$3 as aiAuraHoverEnd, aiAuraHoverStart$3 as aiAuraHoverStart, aiAuraStart$3 as aiAuraStart, aiAuraStartSm$3 as aiAuraStartSm, aiBorderEnd$3 as aiBorderEnd, aiBorderStart$3 as aiBorderStart, aiBorderStrong$3 as aiBorderStrong, aiDropShadow$3 as aiDropShadow, aiInnerShadow$3 as aiInnerShadow, aiOverlay$3 as aiOverlay, aiPopoverBackground$3 as aiPopoverBackground, aiPopoverCaretBottom$3 as aiPopoverCaretBottom, aiPopoverCaretBottomBackground$3 as aiPopoverCaretBottomBackground, aiPopoverCaretBottomBackgroundActions$3 as aiPopoverCaretBottomBackgroundActions, aiPopoverCaretCenter$3 as aiPopoverCaretCenter, aiPopoverShadowOuter01$3 as aiPopoverShadowOuter01, aiPopoverShadowOuter02$3 as aiPopoverShadowOuter02, aiSkeletonBackground$3 as aiSkeletonBackground, aiSkeletonElementBackground$3 as aiSkeletonElementBackground, 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, borderTile01$3 as borderTile01, borderTile02$3 as borderTile02, borderTile03$3 as borderTile03, index$3 as buttonTokens, chatAvatarAgent$3 as chatAvatarAgent, chatAvatarBot$3 as chatAvatarBot, chatAvatarUser$3 as chatAvatarUser, chatBubbleAgent$3 as chatBubbleAgent, chatBubbleBorder$3 as chatBubbleBorder, chatBubbleUser$3 as chatBubbleUser, chatButton$3 as chatButton, chatButtonActive$3 as chatButtonActive, chatButtonHover$3 as chatButtonHover, chatButtonSelected$3 as chatButtonSelected, chatButtonTextHover$3 as chatButtonTextHover, chatButtonTextSelected$3 as chatButtonTextSelected, chatHeaderBackground$3 as chatHeaderBackground, chatPromptBackground$3 as chatPromptBackground, chatPromptBorderEnd$3 as chatPromptBorderEnd, chatPromptBorderStart$3 as chatPromptBorderStart, chatShellBackground$3 as chatShellBackground, 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, iconInteractive$3 as iconInteractive, 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, linkInverseVisited$3 as linkInverseVisited, linkPrimary$7 as linkPrimary, linkPrimaryHover$7 as linkPrimaryHover, linkSecondary$7 as linkSecondary, linkVisited$7 as linkVisited, index$1 as notificationTokens, overlay$7 as overlay, shadow$7 as shadow, skeletonBackground$7 as skeletonBackground, skeletonElement$7 as skeletonElement, index as statusTokens, 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$2 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$4 as v10, white$1 as white };
|
package/lib/index.js
CHANGED
|
@@ -3886,7 +3886,7 @@ var colors = [
|
|
|
3886
3886
|
'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',
|
|
3887
3887
|
// Deprecated
|
|
3888
3888
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
3889
|
-
var tokens$
|
|
3889
|
+
var tokens$4 = {
|
|
3890
3890
|
colors: colors,
|
|
3891
3891
|
type: type$2.unstable_tokens,
|
|
3892
3892
|
layout: layout$2.unstable_tokens
|
|
@@ -3905,14 +3905,14 @@ var themes$1 = {
|
|
|
3905
3905
|
g100: g100
|
|
3906
3906
|
};
|
|
3907
3907
|
|
|
3908
|
-
var index$
|
|
3908
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
3909
3909
|
__proto__: null,
|
|
3910
3910
|
white: white,
|
|
3911
3911
|
g10: g10,
|
|
3912
3912
|
g90: g90,
|
|
3913
3913
|
g100: g100,
|
|
3914
3914
|
themes: themes$1,
|
|
3915
|
-
tokens: tokens$
|
|
3915
|
+
tokens: tokens$4,
|
|
3916
3916
|
caption01: type$2.caption01,
|
|
3917
3917
|
caption02: type$2.caption02,
|
|
3918
3918
|
label01: type$2.label01,
|
|
@@ -4249,7 +4249,7 @@ var buttonDisabled = {
|
|
|
4249
4249
|
g100: 'rgb(141 141 141 / 30%)'
|
|
4250
4250
|
};
|
|
4251
4251
|
|
|
4252
|
-
var tokens$
|
|
4252
|
+
var tokens$3 = /*#__PURE__*/Object.freeze({
|
|
4253
4253
|
__proto__: null,
|
|
4254
4254
|
buttonSeparator: buttonSeparator,
|
|
4255
4255
|
buttonPrimary: buttonPrimary,
|
|
@@ -4268,9 +4268,9 @@ var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
|
4268
4268
|
buttonDisabled: buttonDisabled
|
|
4269
4269
|
});
|
|
4270
4270
|
|
|
4271
|
-
var index$
|
|
4271
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
4272
4272
|
__proto__: null,
|
|
4273
|
-
buttonTokens: tokens$
|
|
4273
|
+
buttonTokens: tokens$3
|
|
4274
4274
|
});
|
|
4275
4275
|
|
|
4276
4276
|
var tagBackgroundRed = {
|
|
@@ -4514,7 +4514,7 @@ var tagBorderWarmGray = {
|
|
|
4514
4514
|
g100: colors$1.warmGray50
|
|
4515
4515
|
};
|
|
4516
4516
|
|
|
4517
|
-
var tokens$
|
|
4517
|
+
var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
4518
4518
|
__proto__: null,
|
|
4519
4519
|
tagBackgroundRed: tagBackgroundRed,
|
|
4520
4520
|
tagColorRed: tagColorRed,
|
|
@@ -4558,9 +4558,9 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
4558
4558
|
tagBorderWarmGray: tagBorderWarmGray
|
|
4559
4559
|
});
|
|
4560
4560
|
|
|
4561
|
-
var index$
|
|
4561
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
4562
4562
|
__proto__: null,
|
|
4563
|
-
tagTokens: tokens$
|
|
4563
|
+
tagTokens: tokens$2
|
|
4564
4564
|
});
|
|
4565
4565
|
|
|
4566
4566
|
var notificationBackgroundError = {
|
|
@@ -4622,7 +4622,7 @@ var notificationActionTertiaryInverseTextOnColorDisabled = {
|
|
|
4622
4622
|
g100: textOnColorDisabled$7
|
|
4623
4623
|
};
|
|
4624
4624
|
|
|
4625
|
-
var tokens = /*#__PURE__*/Object.freeze({
|
|
4625
|
+
var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
4626
4626
|
__proto__: null,
|
|
4627
4627
|
notificationBackgroundError: notificationBackgroundError,
|
|
4628
4628
|
notificationBackgroundSuccess: notificationBackgroundSuccess,
|
|
@@ -4636,9 +4636,75 @@ var tokens = /*#__PURE__*/Object.freeze({
|
|
|
4636
4636
|
notificationActionTertiaryInverseTextOnColorDisabled: notificationActionTertiaryInverseTextOnColorDisabled
|
|
4637
4637
|
});
|
|
4638
4638
|
|
|
4639
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
4640
|
+
__proto__: null,
|
|
4641
|
+
notificationTokens: tokens$1
|
|
4642
|
+
});
|
|
4643
|
+
|
|
4644
|
+
var statusRed = {
|
|
4645
|
+
whiteTheme: colors$1.red60,
|
|
4646
|
+
g10: colors$1.red60,
|
|
4647
|
+
g90: colors$1.red50,
|
|
4648
|
+
g100: colors$1.red50
|
|
4649
|
+
};
|
|
4650
|
+
var statusOrange = {
|
|
4651
|
+
whiteTheme: colors$1.orange40,
|
|
4652
|
+
g10: colors$1.orange40,
|
|
4653
|
+
g90: colors$1.orange40,
|
|
4654
|
+
g100: colors$1.orange40
|
|
4655
|
+
};
|
|
4656
|
+
var statusYellow = {
|
|
4657
|
+
whiteTheme: colors$1.yellow30,
|
|
4658
|
+
g10: colors$1.yellow30,
|
|
4659
|
+
g90: colors$1.yellow30,
|
|
4660
|
+
g100: colors$1.yellow30
|
|
4661
|
+
};
|
|
4662
|
+
var statusPurple = {
|
|
4663
|
+
whiteTheme: colors$1.purple60,
|
|
4664
|
+
g10: colors$1.purple60,
|
|
4665
|
+
g90: colors$1.purple50,
|
|
4666
|
+
g100: colors$1.purple50
|
|
4667
|
+
};
|
|
4668
|
+
var statusGreen = {
|
|
4669
|
+
whiteTheme: colors$1.green50,
|
|
4670
|
+
g10: colors$1.green50,
|
|
4671
|
+
g90: colors$1.green40,
|
|
4672
|
+
g100: colors$1.green40
|
|
4673
|
+
};
|
|
4674
|
+
var statusBlue = {
|
|
4675
|
+
whiteTheme: colors$1.blue70,
|
|
4676
|
+
g10: colors$1.blue70,
|
|
4677
|
+
g90: colors$1.blue50,
|
|
4678
|
+
g100: colors$1.blue50
|
|
4679
|
+
};
|
|
4680
|
+
var statusGray = {
|
|
4681
|
+
whiteTheme: colors$1.gray60,
|
|
4682
|
+
g10: colors$1.gray60,
|
|
4683
|
+
g90: colors$1.gray50,
|
|
4684
|
+
g100: colors$1.gray50
|
|
4685
|
+
};
|
|
4686
|
+
var statusAccessibilityBackground = {
|
|
4687
|
+
whiteTheme: colors$1.white,
|
|
4688
|
+
g10: colors$1.white,
|
|
4689
|
+
g90: colors$1.gray100,
|
|
4690
|
+
g100: colors$1.gray100
|
|
4691
|
+
};
|
|
4692
|
+
|
|
4693
|
+
var tokens = /*#__PURE__*/Object.freeze({
|
|
4694
|
+
__proto__: null,
|
|
4695
|
+
statusRed: statusRed,
|
|
4696
|
+
statusOrange: statusOrange,
|
|
4697
|
+
statusYellow: statusYellow,
|
|
4698
|
+
statusPurple: statusPurple,
|
|
4699
|
+
statusGreen: statusGreen,
|
|
4700
|
+
statusBlue: statusBlue,
|
|
4701
|
+
statusGray: statusGray,
|
|
4702
|
+
statusAccessibilityBackground: statusAccessibilityBackground
|
|
4703
|
+
});
|
|
4704
|
+
|
|
4639
4705
|
var index = /*#__PURE__*/Object.freeze({
|
|
4640
4706
|
__proto__: null,
|
|
4641
|
-
|
|
4707
|
+
statusTokens: tokens
|
|
4642
4708
|
});
|
|
4643
4709
|
|
|
4644
4710
|
/**
|
|
@@ -5179,12 +5245,18 @@ var tag = TokenGroup.create({
|
|
|
5179
5245
|
properties: [],
|
|
5180
5246
|
tokens: ['tag-background-red', 'tag-color-red', 'tag-hover-red', 'tag-background-magenta', 'tag-color-magenta', 'tag-hover-magenta', 'tag-background-purple', 'tag-color-purple', 'tag-hover-purple', 'tag-background-blue', 'tag-color-blue', 'tag-hover-blue', 'tag-background-cyan', 'tag-color-cyan', 'tag-hover-cyan', 'tag-background-teal', 'tag-color-teal', 'tag-hover-teal', 'tag-background-green', 'tag-color-green', 'tag-hover-green', 'tag-background-gray', 'tag-color-gray', 'tag-hover-gray', 'tag-border-red', 'tag-border-blue', 'tag-border-cyan', 'tag-border-teal', 'tag-border-green', 'tag-border-magenta', 'tag-border-purple', 'tag-border-gray', 'tag-border-cool-gray', 'tag-border-warm-gray', 'tag-background-cool-gray', 'tag-color-cool-gray', 'tag-hover-cool-gray', 'tag-background-warm-gray', 'tag-color-warm-gray', 'tag-hover-warm-gray']
|
|
5181
5247
|
});
|
|
5248
|
+
var status = TokenGroup.create({
|
|
5249
|
+
name: 'Status',
|
|
5250
|
+
properties: [],
|
|
5251
|
+
tokens: ['status-red', 'status-orange', 'status-yellow', 'status-purple', 'status-green', 'status-blue', 'status-gray']
|
|
5252
|
+
});
|
|
5182
5253
|
|
|
5183
5254
|
var components = /*#__PURE__*/Object.freeze({
|
|
5184
5255
|
__proto__: null,
|
|
5185
5256
|
button: button,
|
|
5186
5257
|
notification: notification,
|
|
5187
|
-
tag: tag
|
|
5258
|
+
tag: tag,
|
|
5259
|
+
status: status
|
|
5188
5260
|
});
|
|
5189
5261
|
|
|
5190
5262
|
/**
|
|
@@ -5620,7 +5692,7 @@ exports.borderSubtleSelected03 = borderSubtleSelected03$3;
|
|
|
5620
5692
|
exports.borderTile01 = borderTile01$3;
|
|
5621
5693
|
exports.borderTile02 = borderTile02$3;
|
|
5622
5694
|
exports.borderTile03 = borderTile03$3;
|
|
5623
|
-
exports.buttonTokens = index$
|
|
5695
|
+
exports.buttonTokens = index$3;
|
|
5624
5696
|
exports.chatAvatarAgent = chatAvatarAgent$3;
|
|
5625
5697
|
exports.chatAvatarBot = chatAvatarBot$3;
|
|
5626
5698
|
exports.chatAvatarUser = chatAvatarUser$3;
|
|
@@ -5694,11 +5766,12 @@ exports.linkPrimary = linkPrimary$7;
|
|
|
5694
5766
|
exports.linkPrimaryHover = linkPrimaryHover$7;
|
|
5695
5767
|
exports.linkSecondary = linkSecondary$7;
|
|
5696
5768
|
exports.linkVisited = linkVisited$7;
|
|
5697
|
-
exports.notificationTokens = index;
|
|
5769
|
+
exports.notificationTokens = index$1;
|
|
5698
5770
|
exports.overlay = overlay$7;
|
|
5699
5771
|
exports.shadow = shadow$7;
|
|
5700
5772
|
exports.skeletonBackground = skeletonBackground$7;
|
|
5701
5773
|
exports.skeletonElement = skeletonElement$7;
|
|
5774
|
+
exports.statusTokens = index;
|
|
5702
5775
|
exports.supportCautionMajor = supportCautionMajor$3;
|
|
5703
5776
|
exports.supportCautionMinor = supportCautionMinor$3;
|
|
5704
5777
|
exports.supportCautionUndefined = supportCautionUndefined$3;
|
|
@@ -5710,7 +5783,7 @@ exports.supportSuccess = supportSuccess$7;
|
|
|
5710
5783
|
exports.supportSuccessInverse = supportSuccessInverse$7;
|
|
5711
5784
|
exports.supportWarning = supportWarning$7;
|
|
5712
5785
|
exports.supportWarningInverse = supportWarningInverse$7;
|
|
5713
|
-
exports.tagTokens = index$
|
|
5786
|
+
exports.tagTokens = index$2;
|
|
5714
5787
|
exports.textDisabled = textDisabled$7;
|
|
5715
5788
|
exports.textError = textError$7;
|
|
5716
5789
|
exports.textHelper = textHelper$7;
|
|
@@ -5723,5 +5796,5 @@ exports.textSecondary = textSecondary$7;
|
|
|
5723
5796
|
exports.themes = themes;
|
|
5724
5797
|
exports.toggleOff = toggleOff$7;
|
|
5725
5798
|
exports.unstable_metadata = unstable_metadata;
|
|
5726
|
-
exports.v10 = index$
|
|
5799
|
+
exports.v10 = index$4;
|
|
5727
5800
|
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.
|
|
4
|
+
"version": "11.45.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"rimraf": "^6.0.0"
|
|
52
52
|
},
|
|
53
53
|
"sideEffects": false,
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "1896aed10907f83fb95b18ed87410b6ab2a3f451"
|
|
55
55
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// Code generated by @carbon/themes. DO NOT EDIT.
|
|
2
|
+
//
|
|
3
|
+
// Copyright IBM Corp. 2018, 2023
|
|
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
|
+
$status-accessibility-background: (
|
|
12
|
+
white-theme: #ffffff,
|
|
13
|
+
g-10: #ffffff,
|
|
14
|
+
g-90: #161616,
|
|
15
|
+
g-100: #161616,
|
|
16
|
+
) !default;
|
|
17
|
+
|
|
18
|
+
$status-blue: (
|
|
19
|
+
white-theme: #0043ce,
|
|
20
|
+
g-10: #0043ce,
|
|
21
|
+
g-90: #4589ff,
|
|
22
|
+
g-100: #4589ff,
|
|
23
|
+
) !default;
|
|
24
|
+
|
|
25
|
+
$status-gray: (
|
|
26
|
+
white-theme: #6f6f6f,
|
|
27
|
+
g-10: #6f6f6f,
|
|
28
|
+
g-90: #8d8d8d,
|
|
29
|
+
g-100: #8d8d8d,
|
|
30
|
+
) !default;
|
|
31
|
+
|
|
32
|
+
$status-green: (
|
|
33
|
+
white-theme: #24a148,
|
|
34
|
+
g-10: #24a148,
|
|
35
|
+
g-90: #42be65,
|
|
36
|
+
g-100: #42be65,
|
|
37
|
+
) !default;
|
|
38
|
+
|
|
39
|
+
$status-orange: (
|
|
40
|
+
white-theme: #ff832b,
|
|
41
|
+
g-10: #ff832b,
|
|
42
|
+
g-90: #ff832b,
|
|
43
|
+
g-100: #ff832b,
|
|
44
|
+
) !default;
|
|
45
|
+
|
|
46
|
+
$status-purple: (
|
|
47
|
+
white-theme: #8a3ffc,
|
|
48
|
+
g-10: #8a3ffc,
|
|
49
|
+
g-90: #a56eff,
|
|
50
|
+
g-100: #a56eff,
|
|
51
|
+
) !default;
|
|
52
|
+
|
|
53
|
+
$status-red: (
|
|
54
|
+
white-theme: #da1e28,
|
|
55
|
+
g-10: #da1e28,
|
|
56
|
+
g-90: #fa4d56,
|
|
57
|
+
g-100: #fa4d56,
|
|
58
|
+
) !default;
|
|
59
|
+
|
|
60
|
+
$status-yellow: (
|
|
61
|
+
white-theme: #f1c21b,
|
|
62
|
+
g-10: #f1c21b,
|
|
63
|
+
g-90: #f1c21b,
|
|
64
|
+
g-100: #f1c21b,
|
|
65
|
+
) !default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * as statusTokens from './tokens';
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import {
|
|
2
|
+
red50,
|
|
3
|
+
red60,
|
|
4
|
+
orange40,
|
|
5
|
+
yellow30,
|
|
6
|
+
purple50,
|
|
7
|
+
purple60,
|
|
8
|
+
green40,
|
|
9
|
+
green50,
|
|
10
|
+
blue50,
|
|
11
|
+
blue70,
|
|
12
|
+
gray50,
|
|
13
|
+
gray60,
|
|
14
|
+
white,
|
|
15
|
+
gray100,
|
|
16
|
+
} from '@carbon/colors';
|
|
17
|
+
|
|
18
|
+
export const statusRed = {
|
|
19
|
+
whiteTheme: red60,
|
|
20
|
+
g10: red60,
|
|
21
|
+
g90: red50,
|
|
22
|
+
g100: red50,
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export const statusOrange = {
|
|
26
|
+
whiteTheme: orange40,
|
|
27
|
+
g10: orange40,
|
|
28
|
+
g90: orange40,
|
|
29
|
+
g100: orange40,
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
export const statusYellow = {
|
|
33
|
+
whiteTheme: yellow30,
|
|
34
|
+
g10: yellow30,
|
|
35
|
+
g90: yellow30,
|
|
36
|
+
g100: yellow30,
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
export const statusPurple = {
|
|
40
|
+
whiteTheme: purple60,
|
|
41
|
+
g10: purple60,
|
|
42
|
+
g90: purple50,
|
|
43
|
+
g100: purple50,
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const statusGreen = {
|
|
47
|
+
whiteTheme: green50,
|
|
48
|
+
g10: green50,
|
|
49
|
+
g90: green40,
|
|
50
|
+
g100: green40,
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
export const statusBlue = {
|
|
54
|
+
whiteTheme: blue70,
|
|
55
|
+
g10: blue70,
|
|
56
|
+
g90: blue50,
|
|
57
|
+
g100: blue50,
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export const statusGray = {
|
|
61
|
+
whiteTheme: gray60,
|
|
62
|
+
g10: gray60,
|
|
63
|
+
g90: gray50,
|
|
64
|
+
g100: gray50,
|
|
65
|
+
};
|
|
66
|
+
export const statusAccessibilityBackground = {
|
|
67
|
+
whiteTheme: white,
|
|
68
|
+
g10: white,
|
|
69
|
+
g90: gray100,
|
|
70
|
+
g100: gray100,
|
|
71
|
+
};
|
package/src/index.js
CHANGED
|
@@ -13,6 +13,7 @@ import * as v10 from './v10';
|
|
|
13
13
|
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
|
+
import * as statusTokens from './component-tokens/status';
|
|
16
17
|
import { formatTokenName } from './tools';
|
|
17
18
|
import { unstable_metadata } from './tokens';
|
|
18
19
|
|
|
@@ -34,6 +35,7 @@ export {
|
|
|
34
35
|
buttonTokens,
|
|
35
36
|
tagTokens,
|
|
36
37
|
notificationTokens,
|
|
38
|
+
statusTokens,
|
|
37
39
|
unstable_metadata,
|
|
38
40
|
formatTokenName,
|
|
39
41
|
};
|
package/src/tokens/components.js
CHANGED
|
@@ -92,3 +92,17 @@ export const tag = TokenGroup.create({
|
|
|
92
92
|
'tag-hover-warm-gray',
|
|
93
93
|
],
|
|
94
94
|
});
|
|
95
|
+
|
|
96
|
+
export const status = TokenGroup.create({
|
|
97
|
+
name: 'Status',
|
|
98
|
+
properties: [],
|
|
99
|
+
tokens: [
|
|
100
|
+
'status-red',
|
|
101
|
+
'status-orange',
|
|
102
|
+
'status-yellow',
|
|
103
|
+
'status-purple',
|
|
104
|
+
'status-green',
|
|
105
|
+
'status-blue',
|
|
106
|
+
'status-gray',
|
|
107
|
+
],
|
|
108
|
+
});
|
package/umd/index.js
CHANGED
|
@@ -3883,7 +3883,7 @@
|
|
|
3883
3883
|
'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
3884
|
// Deprecated
|
|
3885
3885
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
3886
|
-
var tokens$
|
|
3886
|
+
var tokens$4 = {
|
|
3887
3887
|
colors: colors,
|
|
3888
3888
|
type: type$2.unstable_tokens,
|
|
3889
3889
|
layout: layout$2.unstable_tokens
|
|
@@ -3902,14 +3902,14 @@
|
|
|
3902
3902
|
g100: g100
|
|
3903
3903
|
};
|
|
3904
3904
|
|
|
3905
|
-
var index$
|
|
3905
|
+
var index$4 = /*#__PURE__*/Object.freeze({
|
|
3906
3906
|
__proto__: null,
|
|
3907
3907
|
white: white,
|
|
3908
3908
|
g10: g10,
|
|
3909
3909
|
g90: g90,
|
|
3910
3910
|
g100: g100,
|
|
3911
3911
|
themes: themes$1,
|
|
3912
|
-
tokens: tokens$
|
|
3912
|
+
tokens: tokens$4,
|
|
3913
3913
|
caption01: type$2.caption01,
|
|
3914
3914
|
caption02: type$2.caption02,
|
|
3915
3915
|
label01: type$2.label01,
|
|
@@ -4246,7 +4246,7 @@
|
|
|
4246
4246
|
g100: 'rgb(141 141 141 / 30%)'
|
|
4247
4247
|
};
|
|
4248
4248
|
|
|
4249
|
-
var tokens$
|
|
4249
|
+
var tokens$3 = /*#__PURE__*/Object.freeze({
|
|
4250
4250
|
__proto__: null,
|
|
4251
4251
|
buttonSeparator: buttonSeparator,
|
|
4252
4252
|
buttonPrimary: buttonPrimary,
|
|
@@ -4265,9 +4265,9 @@
|
|
|
4265
4265
|
buttonDisabled: buttonDisabled
|
|
4266
4266
|
});
|
|
4267
4267
|
|
|
4268
|
-
var index$
|
|
4268
|
+
var index$3 = /*#__PURE__*/Object.freeze({
|
|
4269
4269
|
__proto__: null,
|
|
4270
|
-
buttonTokens: tokens$
|
|
4270
|
+
buttonTokens: tokens$3
|
|
4271
4271
|
});
|
|
4272
4272
|
|
|
4273
4273
|
var tagBackgroundRed = {
|
|
@@ -4511,7 +4511,7 @@
|
|
|
4511
4511
|
g100: colors$1.warmGray50
|
|
4512
4512
|
};
|
|
4513
4513
|
|
|
4514
|
-
var tokens$
|
|
4514
|
+
var tokens$2 = /*#__PURE__*/Object.freeze({
|
|
4515
4515
|
__proto__: null,
|
|
4516
4516
|
tagBackgroundRed: tagBackgroundRed,
|
|
4517
4517
|
tagColorRed: tagColorRed,
|
|
@@ -4555,9 +4555,9 @@
|
|
|
4555
4555
|
tagBorderWarmGray: tagBorderWarmGray
|
|
4556
4556
|
});
|
|
4557
4557
|
|
|
4558
|
-
var index$
|
|
4558
|
+
var index$2 = /*#__PURE__*/Object.freeze({
|
|
4559
4559
|
__proto__: null,
|
|
4560
|
-
tagTokens: tokens$
|
|
4560
|
+
tagTokens: tokens$2
|
|
4561
4561
|
});
|
|
4562
4562
|
|
|
4563
4563
|
var notificationBackgroundError = {
|
|
@@ -4619,7 +4619,7 @@
|
|
|
4619
4619
|
g100: textOnColorDisabled$7
|
|
4620
4620
|
};
|
|
4621
4621
|
|
|
4622
|
-
var tokens = /*#__PURE__*/Object.freeze({
|
|
4622
|
+
var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
4623
4623
|
__proto__: null,
|
|
4624
4624
|
notificationBackgroundError: notificationBackgroundError,
|
|
4625
4625
|
notificationBackgroundSuccess: notificationBackgroundSuccess,
|
|
@@ -4633,9 +4633,75 @@
|
|
|
4633
4633
|
notificationActionTertiaryInverseTextOnColorDisabled: notificationActionTertiaryInverseTextOnColorDisabled
|
|
4634
4634
|
});
|
|
4635
4635
|
|
|
4636
|
+
var index$1 = /*#__PURE__*/Object.freeze({
|
|
4637
|
+
__proto__: null,
|
|
4638
|
+
notificationTokens: tokens$1
|
|
4639
|
+
});
|
|
4640
|
+
|
|
4641
|
+
var statusRed = {
|
|
4642
|
+
whiteTheme: colors$1.red60,
|
|
4643
|
+
g10: colors$1.red60,
|
|
4644
|
+
g90: colors$1.red50,
|
|
4645
|
+
g100: colors$1.red50
|
|
4646
|
+
};
|
|
4647
|
+
var statusOrange = {
|
|
4648
|
+
whiteTheme: colors$1.orange40,
|
|
4649
|
+
g10: colors$1.orange40,
|
|
4650
|
+
g90: colors$1.orange40,
|
|
4651
|
+
g100: colors$1.orange40
|
|
4652
|
+
};
|
|
4653
|
+
var statusYellow = {
|
|
4654
|
+
whiteTheme: colors$1.yellow30,
|
|
4655
|
+
g10: colors$1.yellow30,
|
|
4656
|
+
g90: colors$1.yellow30,
|
|
4657
|
+
g100: colors$1.yellow30
|
|
4658
|
+
};
|
|
4659
|
+
var statusPurple = {
|
|
4660
|
+
whiteTheme: colors$1.purple60,
|
|
4661
|
+
g10: colors$1.purple60,
|
|
4662
|
+
g90: colors$1.purple50,
|
|
4663
|
+
g100: colors$1.purple50
|
|
4664
|
+
};
|
|
4665
|
+
var statusGreen = {
|
|
4666
|
+
whiteTheme: colors$1.green50,
|
|
4667
|
+
g10: colors$1.green50,
|
|
4668
|
+
g90: colors$1.green40,
|
|
4669
|
+
g100: colors$1.green40
|
|
4670
|
+
};
|
|
4671
|
+
var statusBlue = {
|
|
4672
|
+
whiteTheme: colors$1.blue70,
|
|
4673
|
+
g10: colors$1.blue70,
|
|
4674
|
+
g90: colors$1.blue50,
|
|
4675
|
+
g100: colors$1.blue50
|
|
4676
|
+
};
|
|
4677
|
+
var statusGray = {
|
|
4678
|
+
whiteTheme: colors$1.gray60,
|
|
4679
|
+
g10: colors$1.gray60,
|
|
4680
|
+
g90: colors$1.gray50,
|
|
4681
|
+
g100: colors$1.gray50
|
|
4682
|
+
};
|
|
4683
|
+
var statusAccessibilityBackground = {
|
|
4684
|
+
whiteTheme: colors$1.white,
|
|
4685
|
+
g10: colors$1.white,
|
|
4686
|
+
g90: colors$1.gray100,
|
|
4687
|
+
g100: colors$1.gray100
|
|
4688
|
+
};
|
|
4689
|
+
|
|
4690
|
+
var tokens = /*#__PURE__*/Object.freeze({
|
|
4691
|
+
__proto__: null,
|
|
4692
|
+
statusRed: statusRed,
|
|
4693
|
+
statusOrange: statusOrange,
|
|
4694
|
+
statusYellow: statusYellow,
|
|
4695
|
+
statusPurple: statusPurple,
|
|
4696
|
+
statusGreen: statusGreen,
|
|
4697
|
+
statusBlue: statusBlue,
|
|
4698
|
+
statusGray: statusGray,
|
|
4699
|
+
statusAccessibilityBackground: statusAccessibilityBackground
|
|
4700
|
+
});
|
|
4701
|
+
|
|
4636
4702
|
var index = /*#__PURE__*/Object.freeze({
|
|
4637
4703
|
__proto__: null,
|
|
4638
|
-
|
|
4704
|
+
statusTokens: tokens
|
|
4639
4705
|
});
|
|
4640
4706
|
|
|
4641
4707
|
/**
|
|
@@ -5176,12 +5242,18 @@
|
|
|
5176
5242
|
properties: [],
|
|
5177
5243
|
tokens: ['tag-background-red', 'tag-color-red', 'tag-hover-red', 'tag-background-magenta', 'tag-color-magenta', 'tag-hover-magenta', 'tag-background-purple', 'tag-color-purple', 'tag-hover-purple', 'tag-background-blue', 'tag-color-blue', 'tag-hover-blue', 'tag-background-cyan', 'tag-color-cyan', 'tag-hover-cyan', 'tag-background-teal', 'tag-color-teal', 'tag-hover-teal', 'tag-background-green', 'tag-color-green', 'tag-hover-green', 'tag-background-gray', 'tag-color-gray', 'tag-hover-gray', 'tag-border-red', 'tag-border-blue', 'tag-border-cyan', 'tag-border-teal', 'tag-border-green', 'tag-border-magenta', 'tag-border-purple', 'tag-border-gray', 'tag-border-cool-gray', 'tag-border-warm-gray', 'tag-background-cool-gray', 'tag-color-cool-gray', 'tag-hover-cool-gray', 'tag-background-warm-gray', 'tag-color-warm-gray', 'tag-hover-warm-gray']
|
|
5178
5244
|
});
|
|
5245
|
+
var status = TokenGroup.create({
|
|
5246
|
+
name: 'Status',
|
|
5247
|
+
properties: [],
|
|
5248
|
+
tokens: ['status-red', 'status-orange', 'status-yellow', 'status-purple', 'status-green', 'status-blue', 'status-gray']
|
|
5249
|
+
});
|
|
5179
5250
|
|
|
5180
5251
|
var components = /*#__PURE__*/Object.freeze({
|
|
5181
5252
|
__proto__: null,
|
|
5182
5253
|
button: button,
|
|
5183
5254
|
notification: notification,
|
|
5184
|
-
tag: tag
|
|
5255
|
+
tag: tag,
|
|
5256
|
+
status: status
|
|
5185
5257
|
});
|
|
5186
5258
|
|
|
5187
5259
|
/**
|
|
@@ -5617,7 +5689,7 @@
|
|
|
5617
5689
|
exports.borderTile01 = borderTile01$3;
|
|
5618
5690
|
exports.borderTile02 = borderTile02$3;
|
|
5619
5691
|
exports.borderTile03 = borderTile03$3;
|
|
5620
|
-
exports.buttonTokens = index$
|
|
5692
|
+
exports.buttonTokens = index$3;
|
|
5621
5693
|
exports.chatAvatarAgent = chatAvatarAgent$3;
|
|
5622
5694
|
exports.chatAvatarBot = chatAvatarBot$3;
|
|
5623
5695
|
exports.chatAvatarUser = chatAvatarUser$3;
|
|
@@ -5691,11 +5763,12 @@
|
|
|
5691
5763
|
exports.linkPrimaryHover = linkPrimaryHover$7;
|
|
5692
5764
|
exports.linkSecondary = linkSecondary$7;
|
|
5693
5765
|
exports.linkVisited = linkVisited$7;
|
|
5694
|
-
exports.notificationTokens = index;
|
|
5766
|
+
exports.notificationTokens = index$1;
|
|
5695
5767
|
exports.overlay = overlay$7;
|
|
5696
5768
|
exports.shadow = shadow$7;
|
|
5697
5769
|
exports.skeletonBackground = skeletonBackground$7;
|
|
5698
5770
|
exports.skeletonElement = skeletonElement$7;
|
|
5771
|
+
exports.statusTokens = index;
|
|
5699
5772
|
exports.supportCautionMajor = supportCautionMajor$3;
|
|
5700
5773
|
exports.supportCautionMinor = supportCautionMinor$3;
|
|
5701
5774
|
exports.supportCautionUndefined = supportCautionUndefined$3;
|
|
@@ -5707,7 +5780,7 @@
|
|
|
5707
5780
|
exports.supportSuccessInverse = supportSuccessInverse$7;
|
|
5708
5781
|
exports.supportWarning = supportWarning$7;
|
|
5709
5782
|
exports.supportWarningInverse = supportWarningInverse$7;
|
|
5710
|
-
exports.tagTokens = index$
|
|
5783
|
+
exports.tagTokens = index$2;
|
|
5711
5784
|
exports.textDisabled = textDisabled$7;
|
|
5712
5785
|
exports.textError = textError$7;
|
|
5713
5786
|
exports.textHelper = textHelper$7;
|
|
@@ -5720,7 +5793,7 @@
|
|
|
5720
5793
|
exports.themes = themes;
|
|
5721
5794
|
exports.toggleOff = toggleOff$7;
|
|
5722
5795
|
exports.unstable_metadata = unstable_metadata;
|
|
5723
|
-
exports.v10 = index$
|
|
5796
|
+
exports.v10 = index$4;
|
|
5724
5797
|
exports.white = white$1;
|
|
5725
5798
|
|
|
5726
5799
|
Object.defineProperty(exports, '__esModule', { value: true });
|