@databricks/design-system 1.12.12 → 1.12.13
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/dist/{DropdownMenu-06a1051f.js → DropdownMenu-dbeef1b7.js} +611 -298
- package/dist/DropdownMenu-dbeef1b7.js.map +1 -0
- package/dist/design-system/Button/Button.d.ts +3 -0
- package/dist/design-system/Button/Button.d.ts.map +1 -1
- package/dist/design-system/DesignSystemEventProvider/DesignSystemEventProvider.d.ts +44 -0
- package/dist/design-system/DesignSystemEventProvider/DesignSystemEventProvider.d.ts.map +1 -0
- package/dist/design-system/DesignSystemEventProvider/index.d.ts +2 -0
- package/dist/design-system/DesignSystemEventProvider/index.d.ts.map +1 -0
- package/dist/design-system/DialogCombobox/DialogComboboxContent.d.ts.map +1 -1
- package/dist/design-system/DialogCombobox/DialogComboboxHintRow.d.ts.map +1 -1
- package/dist/design-system/DialogCombobox/DialogComboboxOptionListCheckboxItem.d.ts.map +1 -1
- package/dist/design-system/DialogCombobox/DialogComboboxOptionListSelectItem.d.ts +9 -0
- package/dist/design-system/DialogCombobox/DialogComboboxOptionListSelectItem.d.ts.map +1 -1
- package/dist/design-system/DialogCombobox/DialogComboboxTrigger.d.ts +7 -0
- package/dist/design-system/DialogCombobox/DialogComboboxTrigger.d.ts.map +1 -1
- package/dist/design-system/FormV2/RHFAdapters.d.ts +6 -0
- package/dist/design-system/FormV2/RHFAdapters.d.ts.map +1 -1
- package/dist/design-system/Icon/Icon.d.ts +1 -1
- package/dist/design-system/Icon/Icon.d.ts.map +1 -1
- package/dist/design-system/Icon/__generated/icons/BarStackedPercentageIcon.d.ts +5 -0
- package/dist/design-system/Icon/__generated/icons/BarStackedPercentageIcon.d.ts.map +1 -0
- package/dist/design-system/Icon/__generated/icons/ErdIcon.d.ts +5 -0
- package/dist/design-system/Icon/__generated/icons/ErdIcon.d.ts.map +1 -0
- package/dist/design-system/Icon/__generated/icons/ListClearIcon.d.ts +5 -0
- package/dist/design-system/Icon/__generated/icons/ListClearIcon.d.ts.map +1 -0
- package/dist/design-system/Icon/__generated/icons/PauseIcon.d.ts +5 -0
- package/dist/design-system/Icon/__generated/icons/PauseIcon.d.ts.map +1 -0
- package/dist/design-system/Icon/__generated/icons/SparkleIcon.d.ts +5 -0
- package/dist/design-system/Icon/__generated/icons/SparkleIcon.d.ts.map +1 -0
- package/dist/design-system/Icon/__generated/icons/StepIntoIcon.d.ts +5 -0
- package/dist/design-system/Icon/__generated/icons/StepIntoIcon.d.ts.map +1 -0
- package/dist/design-system/Icon/__generated/icons/StepOutIcon.d.ts +5 -0
- package/dist/design-system/Icon/__generated/icons/StepOutIcon.d.ts.map +1 -0
- package/dist/design-system/Icon/__generated/icons/StepOverIcon.d.ts +5 -0
- package/dist/design-system/Icon/__generated/icons/StepOverIcon.d.ts.map +1 -0
- package/dist/design-system/Icon/__generated/icons/TableOnlineViewIcon.d.ts +5 -0
- package/dist/design-system/Icon/__generated/icons/TableOnlineViewIcon.d.ts.map +1 -0
- package/dist/design-system/Icon/__generated/icons/index.d.ts +9 -0
- package/dist/design-system/Icon/__generated/icons/index.d.ts.map +1 -1
- package/dist/design-system/Label/Label.d.ts +1 -0
- package/dist/design-system/Label/Label.d.ts.map +1 -1
- package/dist/design-system/Pagination/index.d.ts +1 -0
- package/dist/design-system/Pagination/index.d.ts.map +1 -1
- package/dist/design-system/SegmentedControl/SegmentedControl.d.ts +1 -0
- package/dist/design-system/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/design-system/Select/Select.d.ts.map +1 -1
- package/dist/design-system/Steps/Steps.d.ts +1 -2
- package/dist/design-system/Steps/Steps.d.ts.map +1 -1
- package/dist/design-system/TableUI/Table.d.ts.map +1 -1
- package/dist/design-system/TableUI/TableRow.d.ts.map +1 -1
- package/dist/design-system/Tag/index.d.ts +2 -2
- package/dist/design-system/Tag/index.d.ts.map +1 -1
- package/dist/design-system/Tree/Tree.d.ts +24 -0
- package/dist/design-system/Tree/Tree.d.ts.map +1 -1
- package/dist/design-system/_shared_/Combobox/styles.d.ts +3 -0
- package/dist/design-system/_shared_/Combobox/styles.d.ts.map +1 -1
- package/dist/design-system/constants.d.ts +2 -2
- package/dist/design-system/constants.d.ts.map +1 -1
- package/dist/design-system/index.d.ts +1 -0
- package/dist/design-system/index.d.ts.map +1 -1
- package/dist/development/Banner/Banner.d.ts +1 -2
- package/dist/development/Banner/Banner.d.ts.map +1 -1
- package/dist/development/Toolbar/Toolbar.d.ts +15 -0
- package/dist/development/Toolbar/Toolbar.d.ts.map +1 -0
- package/dist/development/Toolbar/index.d.ts +2 -0
- package/dist/development/Toolbar/index.d.ts.map +1 -0
- package/dist/development/index.d.ts +3 -2
- package/dist/development/index.d.ts.map +1 -1
- package/dist/development.js +379 -249
- package/dist/development.js.map +1 -1
- package/dist/dubois-colors.less +203 -140
- package/dist/flags.d.ts +1 -2
- package/dist/flags.d.ts.map +1 -1
- package/dist/index-dark.css +289 -289
- package/dist/index.css +128 -128
- package/dist/index.js +672 -244
- package/dist/index.js.map +1 -1
- package/dist/rollup/less.d.ts.map +1 -1
- package/dist/test-utils/enzyme/selectEvent.d.ts +5 -0
- package/dist/test-utils/enzyme/selectEvent.d.ts.map +1 -1
- package/dist/test-utils/enzyme/table.d.ts.map +1 -1
- package/dist/test-utils/enzyme/utils.d.ts +6 -0
- package/dist/test-utils/enzyme/utils.d.ts.map +1 -1
- package/dist/test-utils/enzyme.js +34 -15
- package/dist/test-utils/enzyme.js.map +1 -1
- package/dist/test-utils/rtl/selectEvent.d.ts +5 -0
- package/dist/test-utils/rtl/selectEvent.d.ts.map +1 -1
- package/dist/test-utils/rtl.js +16 -1
- package/dist/test-utils/rtl.js.map +1 -1
- package/dist/theme/_generated/PrimitiveColors.d.ts +3 -0
- package/dist/theme/_generated/PrimitiveColors.d.ts.map +1 -0
- package/dist/theme/_generated/SemanticColors-Dark.d.ts +3 -0
- package/dist/theme/_generated/SemanticColors-Dark.d.ts.map +1 -0
- package/dist/theme/_generated/SemanticColors-Light.d.ts +3 -0
- package/dist/theme/_generated/SemanticColors-Light.d.ts.map +1 -0
- package/dist/theme/_generated/ValidPrimitiveColors.d.ts +56 -0
- package/dist/theme/_generated/ValidPrimitiveColors.d.ts.map +1 -0
- package/dist/theme/_generated/ValidSemanticColors.d.ts +99 -0
- package/dist/theme/_generated/ValidSemanticColors.d.ts.map +1 -0
- package/dist/theme/colors.d.ts +62 -141
- package/dist/theme/colors.d.ts.map +1 -1
- package/package.json +13 -15
- package/dist/DropdownMenu-06a1051f.js.map +0 -1
- package/dist/theme/colorList.d.ts +0 -130
- package/dist/theme/colorList.d.ts.map +0 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export declare enum ValidSemanticColors {
|
|
2
|
+
ActionDangerDefaultBackgroundDefault = "actionDangerDefaultBackgroundDefault",
|
|
3
|
+
ActionDangerDefaultBackgroundHover = "actionDangerDefaultBackgroundHover",
|
|
4
|
+
ActionDangerDefaultBackgroundPress = "actionDangerDefaultBackgroundPress",
|
|
5
|
+
ActionDangerDefaultBorderDefault = "actionDangerDefaultBorderDefault",
|
|
6
|
+
ActionDangerDefaultBorderHover = "actionDangerDefaultBorderHover",
|
|
7
|
+
ActionDangerDefaultBorderPress = "actionDangerDefaultBorderPress",
|
|
8
|
+
ActionDangerDefaultTextDefault = "actionDangerDefaultTextDefault",
|
|
9
|
+
ActionDangerDefaultTextHover = "actionDangerDefaultTextHover",
|
|
10
|
+
ActionDangerDefaultTextPress = "actionDangerDefaultTextPress",
|
|
11
|
+
ActionDangerPrimaryBackgroundDefault = "actionDangerPrimaryBackgroundDefault",
|
|
12
|
+
ActionDangerPrimaryBackgroundHover = "actionDangerPrimaryBackgroundHover",
|
|
13
|
+
ActionDangerPrimaryBackgroundPress = "actionDangerPrimaryBackgroundPress",
|
|
14
|
+
ActionDangerPrimaryText = "actionDangerPrimaryText",
|
|
15
|
+
ActionDefaultBackgroundDefault = "actionDefaultBackgroundDefault",
|
|
16
|
+
ActionDefaultBackgroundHover = "actionDefaultBackgroundHover",
|
|
17
|
+
ActionDefaultBackgroundPress = "actionDefaultBackgroundPress",
|
|
18
|
+
ActionDefaultBorderDefault = "actionDefaultBorderDefault",
|
|
19
|
+
ActionDefaultBorderFocus = "actionDefaultBorderFocus",
|
|
20
|
+
ActionDefaultBorderHover = "actionDefaultBorderHover",
|
|
21
|
+
ActionDefaultBorderPress = "actionDefaultBorderPress",
|
|
22
|
+
ActionDefaultIconDefault = "actionDefaultIconDefault",
|
|
23
|
+
ActionDefaultIconHover = "actionDefaultIconHover",
|
|
24
|
+
ActionDefaultIconPress = "actionDefaultIconPress",
|
|
25
|
+
ActionDefaultTextDefault = "actionDefaultTextDefault",
|
|
26
|
+
ActionDefaultTextHover = "actionDefaultTextHover",
|
|
27
|
+
ActionDefaultTextPress = "actionDefaultTextPress",
|
|
28
|
+
ActionDisabledBackground = "actionDisabledBackground",
|
|
29
|
+
ActionDisabledBorder = "actionDisabledBorder",
|
|
30
|
+
ActionDisabledText = "actionDisabledText",
|
|
31
|
+
ActionIconBackgroundDefault = "actionIconBackgroundDefault",
|
|
32
|
+
ActionIconBackgroundHover = "actionIconBackgroundHover",
|
|
33
|
+
ActionIconBackgroundPress = "actionIconBackgroundPress",
|
|
34
|
+
ActionIconIconDefault = "actionIconIconDefault",
|
|
35
|
+
ActionIconIconHover = "actionIconIconHover",
|
|
36
|
+
ActionIconIconPress = "actionIconIconPress",
|
|
37
|
+
ActionLinkDefault = "actionLinkDefault",
|
|
38
|
+
ActionLinkHover = "actionLinkHover",
|
|
39
|
+
ActionLinkPress = "actionLinkPress",
|
|
40
|
+
ActionPrimaryBackgroundDefault = "actionPrimaryBackgroundDefault",
|
|
41
|
+
ActionPrimaryBackgroundHover = "actionPrimaryBackgroundHover",
|
|
42
|
+
ActionPrimaryBackgroundPress = "actionPrimaryBackgroundPress",
|
|
43
|
+
ActionPrimaryIcon = "actionPrimaryIcon",
|
|
44
|
+
ActionPrimaryTextDefault = "actionPrimaryTextDefault",
|
|
45
|
+
ActionPrimaryTextHover = "actionPrimaryTextHover",
|
|
46
|
+
ActionPrimaryTextPress = "actionPrimaryTextPress",
|
|
47
|
+
ActionTertiaryBackgroundDefault = "actionTertiaryBackgroundDefault",
|
|
48
|
+
ActionTertiaryBackgroundHover = "actionTertiaryBackgroundHover",
|
|
49
|
+
ActionTertiaryBackgroundPress = "actionTertiaryBackgroundPress",
|
|
50
|
+
ActionTertiaryIconDefault = "actionTertiaryIconDefault",
|
|
51
|
+
ActionTertiaryIconHover = "actionTertiaryIconHover",
|
|
52
|
+
ActionTertiaryIconPress = "actionTertiaryIconPress",
|
|
53
|
+
ActionTertiaryTextDefault = "actionTertiaryTextDefault",
|
|
54
|
+
ActionTertiaryTextHover = "actionTertiaryTextHover",
|
|
55
|
+
ActionTertiaryTextPress = "actionTertiaryTextPress",
|
|
56
|
+
BackgroundDanger = "backgroundDanger",
|
|
57
|
+
BackgroundInfo = "backgroundInfo",
|
|
58
|
+
BackgroundPrimary = "backgroundPrimary",
|
|
59
|
+
BackgroundSecondary = "backgroundSecondary",
|
|
60
|
+
BackgroundSuccess = "backgroundSuccess",
|
|
61
|
+
BackgroundWarning = "backgroundWarning",
|
|
62
|
+
Border = "border",
|
|
63
|
+
BorderAccessible = "borderAccessible",
|
|
64
|
+
BorderDanger = "borderDanger",
|
|
65
|
+
BorderWarning = "borderWarning",
|
|
66
|
+
CodeBackground = "codeBackground",
|
|
67
|
+
OverlayOverlay = "overlayOverlay",
|
|
68
|
+
Skeleton = "skeleton",
|
|
69
|
+
TableBackgroundSelectedDefault = "tableBackgroundSelectedDefault",
|
|
70
|
+
TableBackgroundSelectedHover = "tableBackgroundSelectedHover",
|
|
71
|
+
TableBackgroundUnselectedDefault = "tableBackgroundUnselectedDefault",
|
|
72
|
+
TableBackgroundUnselectedHover = "tableBackgroundUnselectedHover",
|
|
73
|
+
TagBrown = "tagBrown",
|
|
74
|
+
TagCharcoal = "tagCharcoal",
|
|
75
|
+
TagCoral = "tagCoral",
|
|
76
|
+
TagDefault = "tagDefault",
|
|
77
|
+
TagHover = "tagHover",
|
|
78
|
+
TagIconDefault = "tagIconDefault",
|
|
79
|
+
TagIconHover = "tagIconHover",
|
|
80
|
+
TagIconPress = "tagIconPress",
|
|
81
|
+
TagIndigo = "tagIndigo",
|
|
82
|
+
TagInverse = "tagInverse",
|
|
83
|
+
TagLemon = "tagLemon",
|
|
84
|
+
TagLime = "tagLime",
|
|
85
|
+
TagPink = "tagPink",
|
|
86
|
+
TagPress = "tagPress",
|
|
87
|
+
TagPurple = "tagPurple",
|
|
88
|
+
TagTeal = "tagTeal",
|
|
89
|
+
TagText = "tagText",
|
|
90
|
+
TagTurquoise = "tagTurquoise",
|
|
91
|
+
TextPlaceholder = "textPlaceholder",
|
|
92
|
+
TextPrimary = "textPrimary",
|
|
93
|
+
TextSecondary = "textSecondary",
|
|
94
|
+
TextValidationDanger = "textValidationDanger",
|
|
95
|
+
TextValidationSuccess = "textValidationSuccess",
|
|
96
|
+
TextValidationWarning = "textValidationWarning",
|
|
97
|
+
TooltipBackgroundTooltip = "tooltipBackgroundTooltip"
|
|
98
|
+
}
|
|
99
|
+
//# sourceMappingURL=ValidSemanticColors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ValidSemanticColors.d.ts","sourceRoot":"","sources":["../../../src/theme/_generated/ValidSemanticColors.ts"],"names":[],"mappings":"AAEA,oBAAY,mBAAmB;IAC7B,oCAAoC,yCAAyC;IAC7E,kCAAkC,uCAAuC;IACzE,kCAAkC,uCAAuC;IACzE,gCAAgC,qCAAqC;IACrE,8BAA8B,mCAAmC;IACjE,8BAA8B,mCAAmC;IACjE,8BAA8B,mCAAmC;IACjE,4BAA4B,iCAAiC;IAC7D,4BAA4B,iCAAiC;IAC7D,oCAAoC,yCAAyC;IAC7E,kCAAkC,uCAAuC;IACzE,kCAAkC,uCAAuC;IACzE,uBAAuB,4BAA4B;IACnD,8BAA8B,mCAAm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E,4BAA4B,iCAAiC;IAC7D,gCAAgC,qCAAqC;IACrE,8BAA8B,mCAAmC;IACjE,QAAQ,aAAa;IACrB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,cAAc,mBAAmB;IACjC,YAAY,iBAAiB;IAC7B,YAAY,iBAAiB;IAC7B,SAAS,cAAc;IACvB,UAAU,eAAe;IACzB,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,YAAY,iBAAiB;IAC7B,eAAe,oBAAoB;IACnC,WAAW,gBAAgB;IAC3B,aAAa,kBAAkB;IAC/B,oBAAoB,yBAAyB;IAC7C,qBAAqB,0BAA0B;IAC/C,qBAAqB,0BAA0B;IAC/C,wBAAwB,6BAA6B;CACtD"}
|
package/dist/theme/colors.d.ts
CHANGED
|
@@ -1,133 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
pink: string;
|
|
9
|
-
purple: string;
|
|
10
|
-
teal: string;
|
|
11
|
-
turquoise: string;
|
|
12
|
-
blue100: string;
|
|
13
|
-
blue200: string;
|
|
14
|
-
blue300: string;
|
|
15
|
-
blue400: string;
|
|
16
|
-
blue500: string;
|
|
17
|
-
blue600: string;
|
|
18
|
-
blue700: string;
|
|
19
|
-
blue800: string;
|
|
20
|
-
green100: string;
|
|
21
|
-
green200: string;
|
|
22
|
-
green300: string;
|
|
23
|
-
green400: string;
|
|
24
|
-
green500: string;
|
|
25
|
-
green600: string;
|
|
26
|
-
green700: string;
|
|
27
|
-
green800: string;
|
|
28
|
-
grey100: string;
|
|
29
|
-
grey200: string;
|
|
30
|
-
grey300: string;
|
|
31
|
-
grey400: string;
|
|
32
|
-
grey500: string;
|
|
33
|
-
grey600: string;
|
|
34
|
-
grey700: string;
|
|
35
|
-
grey800: string;
|
|
36
|
-
red100: string;
|
|
37
|
-
red200: string;
|
|
38
|
-
red300: string;
|
|
39
|
-
red400: string;
|
|
40
|
-
red500: string;
|
|
41
|
-
red600: string;
|
|
42
|
-
red700: string;
|
|
43
|
-
red800: string;
|
|
44
|
-
yellow100: string;
|
|
45
|
-
yellow200: string;
|
|
46
|
-
yellow300: string;
|
|
47
|
-
yellow400: string;
|
|
48
|
-
yellow500: string;
|
|
49
|
-
yellow600: string;
|
|
50
|
-
yellow700: string;
|
|
51
|
-
yellow800: string;
|
|
52
|
-
primary: string;
|
|
53
|
-
white: string;
|
|
54
|
-
backgroundPrimary: string;
|
|
55
|
-
actionDangerPrimaryBackgroundDefault: string;
|
|
56
|
-
actionDangerPrimaryBackgroundHover: string;
|
|
57
|
-
actionDangerPrimaryBackgroundPress: string;
|
|
58
|
-
actionDangerDefaultBackgroundDefault: string;
|
|
59
|
-
actionDangerDefaultBackgroundHover: string;
|
|
60
|
-
actionDangerDefaultBackgroundPress: string;
|
|
61
|
-
actionDangerDefaultBorderDefault: string;
|
|
62
|
-
actionDangerDefaultBorderHover: string;
|
|
63
|
-
actionDangerDefaultBorderPress: string;
|
|
64
|
-
actionDangerDefaultTextDefault: string;
|
|
65
|
-
actionDangerDefaultTextHover: string;
|
|
66
|
-
actionDangerDefaultTextPress: string;
|
|
67
|
-
actionDefaultBackgroundDefault: string;
|
|
68
|
-
actionDefaultBackgroundHover: string;
|
|
69
|
-
actionDefaultBackgroundPress: string;
|
|
70
|
-
actionDefaultBorderDefault: string;
|
|
71
|
-
actionDefaultBorderFocus: string;
|
|
72
|
-
actionDefaultBorderHover: string;
|
|
73
|
-
actionDefaultBorderPress: string;
|
|
74
|
-
actionDefaultTextDefault: string;
|
|
75
|
-
actionDefaultTextHover: string;
|
|
76
|
-
actionDefaultTextPress: string;
|
|
77
|
-
actionDisabledBackground: string;
|
|
78
|
-
actionDisabledText: string;
|
|
79
|
-
actionPrimaryBackgroundDefault: string;
|
|
80
|
-
actionPrimaryBackgroundHover: string;
|
|
81
|
-
actionPrimaryBackgroundPress: string;
|
|
82
|
-
actionPrimaryTextDefault: string;
|
|
83
|
-
actionPrimaryTextHover: string;
|
|
84
|
-
actionPrimaryTextPress: string;
|
|
85
|
-
actionTertiaryBackgroundDefault: string;
|
|
86
|
-
actionTertiaryBackgroundHover: string;
|
|
87
|
-
actionTertiaryBackgroundPress: string;
|
|
88
|
-
actionTertiaryTextDefault: string;
|
|
89
|
-
actionTertiaryTextHover: string;
|
|
90
|
-
actionTertiaryTextPress: string;
|
|
91
|
-
backgroundDanger: string;
|
|
92
|
-
backgroundSecondary: string;
|
|
93
|
-
backgroundWarning: string;
|
|
94
|
-
backgroundValidationDanger: string;
|
|
95
|
-
backgroundValidationSuccess: string;
|
|
96
|
-
backgroundValidationWarning: string;
|
|
97
|
-
border: string;
|
|
98
|
-
borderDecorative: string;
|
|
99
|
-
borderValidationDanger: string;
|
|
100
|
-
borderValidationWarning: string;
|
|
101
|
-
textPrimary: string;
|
|
102
|
-
textSecondary: string;
|
|
103
|
-
textPlaceholder: string;
|
|
104
|
-
textValidationDanger: string;
|
|
105
|
-
textValidationSuccess: string;
|
|
106
|
-
textValidationWarning: string;
|
|
107
|
-
textValidationInfo: string;
|
|
108
|
-
overlayOverlay: string;
|
|
109
|
-
tagDefault: string;
|
|
110
|
-
tagBrown: string;
|
|
111
|
-
tagCoral: string;
|
|
112
|
-
tagCharcoal: string;
|
|
113
|
-
tagIndigo: string;
|
|
114
|
-
tagLemon: string;
|
|
115
|
-
tagLime: string;
|
|
116
|
-
tagPink: string;
|
|
117
|
-
tagPurple: string;
|
|
118
|
-
tagTeal: string;
|
|
119
|
-
tagTurquoise: string;
|
|
120
|
-
tagText: string;
|
|
121
|
-
tagHover: string;
|
|
122
|
-
tagPress: string;
|
|
123
|
-
tagIconHover: string;
|
|
124
|
-
tagIconPress: string;
|
|
125
|
-
typographyCodeBg: string;
|
|
126
|
-
tableRowHover: string;
|
|
127
|
-
tooltipBackgroundTooltip: string;
|
|
1
|
+
import { primitiveColors } from './_generated/PrimitiveColors';
|
|
2
|
+
import { lightColorList } from './_generated/SemanticColors-Light';
|
|
3
|
+
declare const branded: {
|
|
4
|
+
/** For AI components, the top-oriented start color of gradient treatments. */
|
|
5
|
+
aiGradientStart: string;
|
|
6
|
+
/** For AI components, the bottom-oriented end color of gradient treatments. */
|
|
7
|
+
aiGradientEnd: string;
|
|
128
8
|
};
|
|
129
|
-
type DesignSystemColors = typeof
|
|
130
|
-
|
|
9
|
+
type DesignSystemColors = typeof lightColorList & typeof primitiveColors & {
|
|
10
|
+
/** These colors represent specific brand interactions and experiences,
|
|
11
|
+
* and should be only be used in specific contexts.
|
|
12
|
+
*/
|
|
13
|
+
branded: typeof branded;
|
|
14
|
+
};
|
|
15
|
+
export declare function getAntdColors(isDarkMode: boolean): {
|
|
16
|
+
alertTextColor: string;
|
|
17
|
+
alertMessageColor: string;
|
|
18
|
+
spinDotDefault: string;
|
|
19
|
+
alertErrorBgColor: string;
|
|
20
|
+
alertInfoBgColor: string;
|
|
21
|
+
alertWarningBgColor: string;
|
|
131
22
|
bodyBackground: string;
|
|
132
23
|
textColor: string;
|
|
133
24
|
textColorSecondary: string;
|
|
@@ -138,32 +29,62 @@ export interface AntdColors {
|
|
|
138
29
|
warningColor: string;
|
|
139
30
|
borderColorBase: string;
|
|
140
31
|
alertErrorTextColor: string;
|
|
141
|
-
alertErrorBgColor: string;
|
|
142
|
-
alertErrorIconColor: string;
|
|
143
32
|
alertErrorBorderColor: string;
|
|
144
|
-
|
|
145
|
-
alertInfoIconColor: string;
|
|
33
|
+
alertErrorIconColor: string;
|
|
146
34
|
alertInfoTextColor: string;
|
|
147
35
|
alertInfoBorderColor: string;
|
|
36
|
+
alertInfoIconColor: string;
|
|
148
37
|
alertWarningTextColor: string;
|
|
149
38
|
alertWarningBorderColor: string;
|
|
150
|
-
alertWarningBgColor: string;
|
|
151
39
|
alertWarningIconColor: string;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
40
|
+
};
|
|
41
|
+
declare const deprecatedPrimitiveColors: {
|
|
42
|
+
/** @deprecated This was an alias to `primitiveColors.blue600`, please use that instead.
|
|
43
|
+
* If possible, please use an appropriate semantic color, such as `actionPrimaryBackgroundDefault`. */
|
|
44
|
+
primary: string;
|
|
45
|
+
/** @deprecated This was an alias to `primitiveColors.grey600`, please use that instead.
|
|
46
|
+
* If possible, please use an appropriate semantic color, such as `actionPrimaryBackgroundHover`. */
|
|
47
|
+
charcoal: string;
|
|
48
|
+
/** @deprecated This color supports legacy radio styles and will be removed in an upcoming release (FEINF-1674). */
|
|
158
49
|
radioInteractiveAvailable: string;
|
|
50
|
+
/** @deprecated This color supports legacy radio styles and will be removed in an upcoming release (FEINF-1674). */
|
|
159
51
|
radioInteractiveHover: string;
|
|
52
|
+
/** @deprecated This color supports legacy radio styles and will be removed in an upcoming release (FEINF-1674). */
|
|
160
53
|
radioInteractivePress: string;
|
|
54
|
+
/** @deprecated This color supports legacy radio styles and will be removed in an upcoming release (FEINF-1674). */
|
|
161
55
|
radioDisabled: string;
|
|
56
|
+
/** @deprecated This color supports legacy radio styles and will be removed in an upcoming release (FEINF-1674). */
|
|
162
57
|
radioDefaultBorder: string;
|
|
58
|
+
/** @deprecated This color supports legacy radio styles and will be removed in an upcoming release (FEINF-1674). */
|
|
163
59
|
radioDefaultBackground: string;
|
|
60
|
+
/** @deprecated This color supports legacy radio styles and will be removed in an upcoming release (FEINF-1674). */
|
|
164
61
|
radioInteractiveHoverSecondary: string;
|
|
62
|
+
/** @deprecated This color supports legacy radio styles and will be removed in an upcoming release (FEINF-1674). */
|
|
165
63
|
radioInteractivePressSecondary: string;
|
|
166
64
|
};
|
|
167
|
-
export declare
|
|
65
|
+
export declare const deprecatedSemanticColorsLight: {
|
|
66
|
+
/** @deprecated Use `backgroundDanger` (FEINF-xxxx) */
|
|
67
|
+
backgroundValidationDanger: string;
|
|
68
|
+
/** @deprecated Use `backgroundSuccess` (FEINF-xxxx) */
|
|
69
|
+
backgroundValidationSuccess: string;
|
|
70
|
+
/** @deprecated Use `backgroundWarning` (FEINF-xxxx) */
|
|
71
|
+
backgroundValidationWarning: string;
|
|
72
|
+
/** @deprecated Use `border` (FEINF-xxxx) */
|
|
73
|
+
borderDecorative: string;
|
|
74
|
+
/** @deprecated Use `borderDanger` (FEINF-xxxx) */
|
|
75
|
+
borderValidationDanger: string;
|
|
76
|
+
/** @deprecated Use `borderWarning` (FEINF-xxxx) */
|
|
77
|
+
borderValidationWarning: string;
|
|
78
|
+
/** @deprecated Use `tableBackgroundUnselectedHover` (FEINF-xxxx) */
|
|
79
|
+
tableRowHover: string;
|
|
80
|
+
/** @deprecated Use `textSecondary` (FEINF-xxxx) */
|
|
81
|
+
textValidationInfo: string;
|
|
82
|
+
/** @deprecated Use `codeBackground` (FEINF-xxxx) */
|
|
83
|
+
typographyCodeBg: string;
|
|
84
|
+
};
|
|
85
|
+
export declare const deprecatedSemanticColorsDark: typeof deprecatedSemanticColorsLight;
|
|
86
|
+
export type SecondaryColorToken = 'brown' | 'coral' | 'indigo' | 'lemon' | 'lime' | 'pink' | 'purple' | 'teal' | 'turquoise';
|
|
87
|
+
export type TagColorToken = `tag${Capitalize<SecondaryColorToken>}` | 'tagDefault';
|
|
88
|
+
export declare function getColors(isDarkMode: boolean): typeof deprecatedPrimitiveColors & typeof deprecatedSemanticColorsLight & DesignSystemColors;
|
|
168
89
|
export {};
|
|
169
90
|
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/theme/colors.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/theme/colors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA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+
"version": "1.12.13",
|
|
4
4
|
"description": "DuBois Design System",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
"build:less-colors": "swc-node ./scripts/less_color_vars_generation.ts",
|
|
33
33
|
"gocx-codegen": "../js/scripts/bin/gocx-codegen",
|
|
34
34
|
"watch": "yarn build:js --watch",
|
|
35
|
-
"storybook-build": "yarn build:storybook",
|
|
36
35
|
"build:storybook": "yarn build && NODE_OPTIONS=${NODE_OPTIONS:-'--max_old_space_size=12288'} TS_NODE_PROJECT=.storybook/tsconfig.json yarn databricks-build-storybook -c storybook",
|
|
37
36
|
"storybook": "yarn start:storybook",
|
|
38
37
|
"storybook:generate-safex-index": "swc-node ./scripts/safex_keys/regenerate.ts",
|
|
@@ -40,6 +39,7 @@
|
|
|
40
39
|
"start:storybook": "NODE_OPTIONS='--max_old_space_size=12288' TS_NODE_PROJECT=.storybook/tsconfig.json BROWSER=none databricks-start-storybook -p 6006 -c storybook",
|
|
41
40
|
"indexes-regenerate": "swc-node ./scripts/index_regeneration/regenerate.ts",
|
|
42
41
|
"indexes-check": "swc-node ./scripts/index_regeneration/check.ts",
|
|
42
|
+
"theme-regenerate": "swc-node ./scripts/theme_regeneration/regenerate_primitive_color_list.ts && swc-node ./scripts/theme_regeneration/regenerate_semantic_color_lists.ts && swc-node ./scripts/theme_regeneration/regenerate_color_validity_enums.ts && databricks-prettier ./src/theme/_generated --write",
|
|
43
43
|
"snapshot": "databricks-percy storybook ./storybook-static -c .percy.storybook.yml --verbose -t750",
|
|
44
44
|
"prettier:fix": "databricks-prettier . --write",
|
|
45
45
|
"prettier:check": "databricks-prettier . --check",
|
|
@@ -120,13 +120,10 @@
|
|
|
120
120
|
"prettier": "^2.8.0",
|
|
121
121
|
"raw-loader": "^4.0.2",
|
|
122
122
|
"rc-menu": "^9.0.14",
|
|
123
|
-
"react": "^
|
|
124
|
-
"react-18": "npm:react@^18.2.0",
|
|
123
|
+
"react": "^18.2.0",
|
|
125
124
|
"react-docgen-typescript": "^1.20.5",
|
|
126
|
-
"react-dom": "^
|
|
127
|
-
"react-dom-18": "npm:react-dom@^18.2.0",
|
|
125
|
+
"react-dom": "^18.2.0",
|
|
128
126
|
"react-shadow-root": "^6.2.0",
|
|
129
|
-
"react-test-renderer-18": "npm:react-test-renderer@^18.2.0",
|
|
130
127
|
"react-virtual": "^2.10.4",
|
|
131
128
|
"resize-observer-polyfill": "^1.5.1",
|
|
132
129
|
"storybook-dark-mode": "^1.0.8",
|
|
@@ -148,15 +145,16 @@
|
|
|
148
145
|
"@babel/runtime": "^7.23.1",
|
|
149
146
|
"@emotion/unitless": "^0.7.5",
|
|
150
147
|
"@floating-ui/react": "^0.24.6",
|
|
151
|
-
"@radix-ui/react-context-menu": "
|
|
152
|
-
"@radix-ui/react-dialog": "1.0.
|
|
153
|
-
"@radix-ui/react-dropdown-menu": "
|
|
154
|
-
"@radix-ui/react-popover": "1.0.
|
|
155
|
-
"@radix-ui/react-slider": "1.1.
|
|
156
|
-
"@radix-ui/react-toast": "1.1.
|
|
157
|
-
"@radix-ui/react-toggle": "1.0.
|
|
148
|
+
"@radix-ui/react-context-menu": "2.1.5",
|
|
149
|
+
"@radix-ui/react-dialog": "1.0.5",
|
|
150
|
+
"@radix-ui/react-dropdown-menu": "2.0.6",
|
|
151
|
+
"@radix-ui/react-popover": "1.0.7",
|
|
152
|
+
"@radix-ui/react-slider": "1.1.2",
|
|
153
|
+
"@radix-ui/react-toast": "1.1.5",
|
|
154
|
+
"@radix-ui/react-toggle": "1.0.3",
|
|
155
|
+
"@radix-ui/react-toolbar": "1.0.4",
|
|
158
156
|
"@testing-library/react": "^12.1.2",
|
|
159
|
-
"@testing-library/user-event": "
|
|
157
|
+
"@testing-library/user-event-14": "npm:@testing-library/user-event@^14.0.0",
|
|
160
158
|
"antd": "4.16.8",
|
|
161
159
|
"chroma-js": "^2.4.2",
|
|
162
160
|
"classnames": "^2.3.1",
|