@databricks/design-system 1.10.2 → 1.12.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.
Files changed (108) hide show
  1. package/dist/common-1fb3eeb9.js +35 -0
  2. package/dist/common-1fb3eeb9.js.map +1 -0
  3. package/dist/common-819b45d4.js +15 -0
  4. package/dist/common-819b45d4.js.map +1 -0
  5. package/dist/design-system/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -1
  6. package/dist/design-system/DialogCombobox/DialogCombobox.d.ts +10 -0
  7. package/dist/design-system/DialogCombobox/DialogCombobox.d.ts.map +1 -0
  8. package/dist/design-system/DialogCombobox/DialogComboboxButtonContainer.d.ts +2 -0
  9. package/dist/design-system/DialogCombobox/DialogComboboxButtonContainer.d.ts.map +1 -0
  10. package/dist/design-system/DialogCombobox/DialogComboboxContent.d.ts +14 -0
  11. package/dist/design-system/DialogCombobox/DialogComboboxContent.d.ts.map +1 -0
  12. package/dist/design-system/DialogCombobox/DialogComboboxCountBadge.d.ts +2 -0
  13. package/dist/design-system/DialogCombobox/DialogComboboxCountBadge.d.ts.map +1 -0
  14. package/dist/design-system/DialogCombobox/DialogComboboxLoadingSpinner.d.ts +2 -0
  15. package/dist/design-system/DialogCombobox/DialogComboboxLoadingSpinner.d.ts.map +1 -0
  16. package/dist/design-system/DialogCombobox/DialogComboboxOptionControlledList.d.ts +9 -0
  17. package/dist/design-system/DialogCombobox/DialogComboboxOptionControlledList.d.ts.map +1 -0
  18. package/dist/design-system/DialogCombobox/DialogComboboxOptionList.d.ts +10 -0
  19. package/dist/design-system/DialogCombobox/DialogComboboxOptionList.d.ts.map +1 -0
  20. package/dist/design-system/DialogCombobox/DialogComboboxOptionListCheckboxItem.d.ts +11 -0
  21. package/dist/design-system/DialogCombobox/DialogComboboxOptionListCheckboxItem.d.ts.map +1 -0
  22. package/dist/design-system/DialogCombobox/DialogComboboxOptionListSearch.d.ts +7 -0
  23. package/dist/design-system/DialogCombobox/DialogComboboxOptionListSearch.d.ts.map +1 -0
  24. package/dist/design-system/DialogCombobox/DialogComboboxOptionListSelectItem.d.ts +10 -0
  25. package/dist/design-system/DialogCombobox/DialogComboboxOptionListSelectItem.d.ts.map +1 -0
  26. package/dist/design-system/DialogCombobox/DialogComboboxSectionHeader.d.ts +2 -0
  27. package/dist/design-system/DialogCombobox/DialogComboboxSectionHeader.d.ts.map +1 -0
  28. package/dist/design-system/DialogCombobox/DialogComboboxSeparator.d.ts +2 -0
  29. package/dist/design-system/DialogCombobox/DialogComboboxSeparator.d.ts.map +1 -0
  30. package/dist/design-system/DialogCombobox/DialogComboboxTrigger.d.ts +15 -0
  31. package/dist/design-system/DialogCombobox/DialogComboboxTrigger.d.ts.map +1 -0
  32. package/dist/design-system/DialogCombobox/hooks/useDialogComboboxContext.d.ts +2 -0
  33. package/dist/design-system/DialogCombobox/hooks/useDialogComboboxContext.d.ts.map +1 -0
  34. package/dist/design-system/DialogCombobox/hooks/useDialogComboboxOptionListContext.d.ts +2 -0
  35. package/dist/design-system/DialogCombobox/hooks/useDialogComboboxOptionListContext.d.ts.map +1 -0
  36. package/dist/design-system/DialogCombobox/index.d.ts +14 -0
  37. package/dist/design-system/DialogCombobox/index.d.ts.map +1 -0
  38. package/dist/design-system/DialogCombobox/providers/DialogComboboxContext.d.ts +15 -0
  39. package/dist/design-system/DialogCombobox/providers/DialogComboboxContext.d.ts.map +1 -0
  40. package/dist/design-system/DialogCombobox/providers/DialogComboboxOptionListContext.d.ts +10 -0
  41. package/dist/design-system/DialogCombobox/providers/DialogComboboxOptionListContext.d.ts.map +1 -0
  42. package/dist/design-system/DialogCombobox/shared.d.ts +3 -0
  43. package/dist/design-system/DialogCombobox/shared.d.ts.map +1 -0
  44. package/dist/design-system/DialogCombobox/tests/DialogCombobox.test.d.ts +2 -0
  45. package/dist/design-system/DialogCombobox/tests/DialogCombobox.test.d.ts.map +1 -0
  46. package/dist/design-system/DialogCombobox/tests/DialogComboboxButtonContainer.test.d.ts +2 -0
  47. package/dist/design-system/DialogCombobox/tests/DialogComboboxButtonContainer.test.d.ts.map +1 -0
  48. package/dist/design-system/DialogCombobox/tests/DialogComboboxContent.test.d.ts +2 -0
  49. package/dist/design-system/DialogCombobox/tests/DialogComboboxContent.test.d.ts.map +1 -0
  50. package/dist/design-system/DialogCombobox/tests/DialogComboboxOptionList.test.d.ts +2 -0
  51. package/dist/design-system/DialogCombobox/tests/DialogComboboxOptionList.test.d.ts.map +1 -0
  52. package/dist/design-system/DialogCombobox/tests/DialogComboboxOptionListCheckboxItem.test.d.ts +2 -0
  53. package/dist/design-system/DialogCombobox/tests/DialogComboboxOptionListCheckboxItem.test.d.ts.map +1 -0
  54. package/dist/design-system/DialogCombobox/tests/DialogComboboxOptionListSelectItem.test.d.ts +2 -0
  55. package/dist/design-system/DialogCombobox/tests/DialogComboboxOptionListSelectItem.test.d.ts.map +1 -0
  56. package/dist/design-system/DialogCombobox/tests/DialogComboboxTrigger.test.d.ts +2 -0
  57. package/dist/design-system/DialogCombobox/tests/DialogComboboxTrigger.test.d.ts.map +1 -0
  58. package/dist/design-system/Drawer/Drawer.d.ts +6 -1
  59. package/dist/design-system/Drawer/Drawer.d.ts.map +1 -1
  60. package/dist/design-system/LegacyTable/LegacyTable.d.ts +0 -48
  61. package/dist/design-system/LegacyTable/LegacyTable.d.ts.map +1 -1
  62. package/dist/design-system/Notification/Notification.d.ts +1 -0
  63. package/dist/design-system/Notification/Notification.d.ts.map +1 -1
  64. package/dist/design-system/NotificationV2/NotificationV2.d.ts +1 -0
  65. package/dist/design-system/NotificationV2/NotificationV2.d.ts.map +1 -1
  66. package/dist/design-system/Sidebar/Sidebar.d.ts +3 -1
  67. package/dist/design-system/Sidebar/Sidebar.d.ts.map +1 -1
  68. package/dist/design-system/TableUI/TableUI.test.d.ts +2 -0
  69. package/dist/design-system/TableUI/TableUI.test.d.ts.map +1 -0
  70. package/dist/design-system/TableUI/index.d.ts +101 -0
  71. package/dist/design-system/TableUI/index.d.ts.map +1 -0
  72. package/dist/design-system/index.d.ts +2 -0
  73. package/dist/design-system/index.d.ts.map +1 -1
  74. package/dist/development/index.d.ts +0 -2
  75. package/dist/development/index.d.ts.map +1 -1
  76. package/dist/development.js +5 -1311
  77. package/dist/development.js.map +1 -1
  78. package/dist/index.js +4098 -534
  79. package/dist/index.js.map +1 -1
  80. package/dist/test-utils/common.d.ts +17 -0
  81. package/dist/test-utils/common.d.ts.map +1 -1
  82. package/dist/test-utils/enzyme/index.d.ts +1 -0
  83. package/dist/test-utils/enzyme/index.d.ts.map +1 -1
  84. package/dist/test-utils/enzyme/table.d.ts +49 -0
  85. package/dist/test-utils/enzyme/table.d.ts.map +1 -0
  86. package/dist/test-utils/enzyme/table.test.d.ts +2 -0
  87. package/dist/test-utils/enzyme/table.test.d.ts.map +1 -0
  88. package/dist/test-utils/enzyme/utils.d.ts +6 -0
  89. package/dist/test-utils/enzyme/utils.d.ts.map +1 -1
  90. package/dist/test-utils/enzyme.js +123 -18
  91. package/dist/test-utils/enzyme.js.map +1 -1
  92. package/dist/test-utils/rtl/index.d.ts +1 -0
  93. package/dist/test-utils/rtl/index.d.ts.map +1 -1
  94. package/dist/test-utils/rtl/table.d.ts +50 -0
  95. package/dist/test-utils/rtl/table.d.ts.map +1 -0
  96. package/dist/test-utils/rtl/table.test.d.ts +2 -0
  97. package/dist/test-utils/rtl/table.test.d.ts.map +1 -0
  98. package/dist/test-utils/rtl.js +110 -20
  99. package/dist/test-utils/rtl.js.map +1 -1
  100. package/dist/theme/colorList.d.ts +0 -1
  101. package/dist/theme/colorList.d.ts.map +1 -1
  102. package/dist/theme/colors.d.ts +0 -1
  103. package/dist/theme/colors.d.ts.map +1 -1
  104. package/dist/useDesignSystemTheme-6e6f5867.js +441 -0
  105. package/dist/useDesignSystemTheme-6e6f5867.js.map +1 -0
  106. package/dist/useDesignSystemTheme-ac536b0f.js +443 -0
  107. package/dist/useDesignSystemTheme-ac536b0f.js.map +1 -0
  108. package/package.json +3 -3
@@ -0,0 +1,443 @@
1
+ import { useTheme } from '@emotion/react';
2
+ import 'react';
3
+ import chroma from 'chroma-js';
4
+ import { jsx } from '@emotion/react/jsx-runtime';
5
+
6
+ // Border variables
7
+ const borders = {
8
+ borderRadiusMd: 4
9
+ };
10
+
11
+ // eslint-disable-next-line import/no-anonymous-default-export
12
+ var borders$1 = {
13
+ ...borders
14
+ };
15
+
16
+ // Exported from go/designsystem/colorsheet
17
+ const colorPalettePrimary = {
18
+ primary: '#2272B4',
19
+ blue100: '#F0F8FF',
20
+ blue200: '#D7EDFE',
21
+ blue300: '#BAE1FC',
22
+ blue400: '#8ACAFF',
23
+ blue500: '#4299E0',
24
+ blue600: '#2272B4',
25
+ blue700: '#0E538B',
26
+ blue800: '#04355D',
27
+ green100: '#F3FCF6',
28
+ green200: '#D4F7DF',
29
+ green300: '#B1ECC5',
30
+ green400: '#8DDDA8',
31
+ green500: '#3CAA60',
32
+ green600: '#277C43',
33
+ green700: '#115026',
34
+ green800: '#093919',
35
+ white: '#FFFFFF',
36
+ grey100: '#F2F5F7',
37
+ grey200: '#E4ECF1',
38
+ grey300: '#CDDAE5',
39
+ grey400: '#BDCDDB',
40
+ grey500: '#8196A7',
41
+ grey600: '#5D7283',
42
+ grey700: '#44535F',
43
+ grey800: '#1F272D',
44
+ red100: '#FFF5F7',
45
+ red200: '#FDE2E8',
46
+ red300: '#FBD0D8',
47
+ red400: '#F792A6',
48
+ red500: '#E65B77',
49
+ red600: '#C82D4C',
50
+ red700: '#9E102C',
51
+ red800: '#630316',
52
+ yellow100: '#FFF9EB',
53
+ yellow200: '#FCEACA',
54
+ yellow300: '#F8D4A5',
55
+ yellow400: '#F2BE88',
56
+ yellow500: '#DE7921',
57
+ yellow600: '#BE501E',
58
+ yellow700: '#93320B',
59
+ yellow800: '#5F1B02'
60
+ };
61
+ const colorPaletteSecondary = {
62
+ brown: '#A6630C',
63
+ coral: '#C83243',
64
+ charcoal: '#5D7283',
65
+ indigo: '#434A93',
66
+ lemon: '#FACB66',
67
+ lime: '#308613',
68
+ pink: '#B45091',
69
+ purple: '#8A63BF',
70
+ teal: '#04867D',
71
+ turquoise: '#157CBC'
72
+ };
73
+ const lightColorList = {
74
+ backgroundPrimary: colorPalettePrimary.white,
75
+ actionDangerPrimaryBackgroundDefault: colorPalettePrimary.red600,
76
+ actionDangerPrimaryBackgroundHover: colorPalettePrimary.red700,
77
+ actionDangerPrimaryBackgroundPress: colorPalettePrimary.red800,
78
+ actionDangerDefaultBackgroundDefault: chroma(colorPalettePrimary.red600).alpha(0).hex(),
79
+ actionDangerDefaultBackgroundHover: chroma(colorPalettePrimary.red600).alpha(0.08).hex(),
80
+ actionDangerDefaultBackgroundPress: chroma(colorPalettePrimary.red600).alpha(0.16).hex(),
81
+ actionDangerDefaultBorderDefault: colorPalettePrimary.red600,
82
+ actionDangerDefaultBorderHover: colorPalettePrimary.red700,
83
+ actionDangerDefaultBorderPress: colorPalettePrimary.red800,
84
+ actionDangerDefaultTextDefault: colorPalettePrimary.red600,
85
+ actionDangerDefaultTextHover: colorPalettePrimary.red700,
86
+ actionDangerDefaultTextPress: colorPalettePrimary.red800,
87
+ actionDefaultBackgroundDefault: chroma(colorPalettePrimary.blue800).alpha(0).hex(),
88
+ actionDefaultBackgroundHover: chroma(colorPalettePrimary.blue600).alpha(0.08).hex(),
89
+ actionDefaultBackgroundPress: chroma(colorPalettePrimary.blue600).alpha(0.16).hex(),
90
+ actionDefaultBorderDefault: colorPalettePrimary.grey300,
91
+ actionDefaultBorderFocus: colorPalettePrimary.blue600,
92
+ actionDefaultBorderHover: colorPalettePrimary.blue700,
93
+ actionDefaultBorderPress: colorPalettePrimary.blue800,
94
+ actionDefaultTextDefault: colorPalettePrimary.grey800,
95
+ actionDefaultTextHover: colorPalettePrimary.blue700,
96
+ actionDefaultTextPress: colorPalettePrimary.blue800,
97
+ actionDisabledBackground: colorPalettePrimary.grey200,
98
+ actionDisabledText: colorPalettePrimary.grey400,
99
+ actionPrimaryBackgroundDefault: colorPalettePrimary.blue600,
100
+ actionPrimaryBackgroundHover: colorPalettePrimary.blue700,
101
+ actionPrimaryBackgroundPress: colorPalettePrimary.blue800,
102
+ actionPrimaryTextDefault: colorPalettePrimary.white,
103
+ actionPrimaryTextHover: colorPalettePrimary.white,
104
+ actionPrimaryTextPress: colorPalettePrimary.white,
105
+ actionTertiaryBackgroundDefault: chroma(colorPalettePrimary.blue600).alpha(0).hex(),
106
+ actionTertiaryBackgroundHover: chroma(colorPalettePrimary.blue600).alpha(0.08).hex(),
107
+ actionTertiaryBackgroundPress: chroma(colorPalettePrimary.blue600).alpha(0.16).hex(),
108
+ actionTertiaryTextDefault: colorPalettePrimary.blue600,
109
+ actionTertiaryTextHover: colorPalettePrimary.blue700,
110
+ actionTertiaryTextPress: colorPalettePrimary.blue800,
111
+ backgroundDanger: chroma(colorPalettePrimary.red100).alpha(0.08).hex(),
112
+ backgroundSecondary: colorPalettePrimary.grey100,
113
+ backgroundWarning: chroma(colorPalettePrimary.yellow100).alpha(0.08).hex(),
114
+ backgroundValidationDanger: colorPalettePrimary.red100,
115
+ backgroundValidationSuccess: colorPalettePrimary.blue100,
116
+ backgroundValidationWarning: colorPalettePrimary.yellow100,
117
+ border: colorPalettePrimary.grey300,
118
+ borderDecorative: colorPalettePrimary.grey300,
119
+ borderValidationDanger: colorPalettePrimary.red300,
120
+ borderValidationWarning: colorPalettePrimary.yellow300,
121
+ textPrimary: colorPalettePrimary.grey800,
122
+ textSecondary: colorPalettePrimary.grey600,
123
+ textPlaceholder: colorPalettePrimary.grey400,
124
+ textValidationDanger: colorPalettePrimary.red600,
125
+ textValidationSuccess: colorPalettePrimary.green600,
126
+ textValidationWarning: colorPalettePrimary.yellow600,
127
+ textValidationInfo: colorPalettePrimary.grey600,
128
+ overlayOverlay: chroma(colorPalettePrimary.grey100).alpha(0.72).hex(),
129
+ // Tags
130
+ tagDefault: chroma(colorPalettePrimary.grey600).alpha(0.08).hex(),
131
+ tagBrown: colorPaletteSecondary.brown,
132
+ tagCoral: colorPaletteSecondary.coral,
133
+ tagCharcoal: colorPalettePrimary.grey600,
134
+ tagIndigo: colorPaletteSecondary.indigo,
135
+ tagLemon: colorPaletteSecondary.lemon,
136
+ tagLime: colorPaletteSecondary.lime,
137
+ tagPink: colorPaletteSecondary.pink,
138
+ tagPurple: colorPaletteSecondary.purple,
139
+ tagTeal: colorPaletteSecondary.teal,
140
+ tagTurquoise: colorPaletteSecondary.turquoise,
141
+ tagText: colorPalettePrimary.white,
142
+ tagHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),
143
+ tagPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),
144
+ tagIconHover: chroma(colorPalettePrimary.white).alpha(0.8).hex(),
145
+ tagIconPress: chroma(colorPalettePrimary.white).alpha(0.76).hex(),
146
+ // Typography
147
+ typographyCodeBg: chroma(colorPalettePrimary.grey600).alpha(0.08).hex(),
148
+ // Table
149
+ tableSeparatorColor: colorPalettePrimary.grey200,
150
+ tableRowHover: chroma(colorPalettePrimary.grey600).alpha(0.04).hex(),
151
+ tooltipBackgroundTooltip: colorPalettePrimary.grey800
152
+ };
153
+ const darkColorList = {
154
+ actionDangerPrimaryBackgroundDefault: chroma(colorPalettePrimary.red400).alpha(0.84).hex(),
155
+ actionDangerPrimaryBackgroundHover: chroma(colorPalettePrimary.red400).alpha(0.72).hex(),
156
+ actionDangerPrimaryBackgroundPress: chroma(colorPalettePrimary.red400).alpha(0.6).hex(),
157
+ actionDangerDefaultBackgroundDefault: chroma(colorPalettePrimary.red400).alpha(0).hex(),
158
+ actionDangerDefaultBackgroundHover: chroma(colorPalettePrimary.red400).alpha(0.08).hex(),
159
+ actionDangerDefaultBackgroundPress: chroma(colorPalettePrimary.red400).alpha(0.16).hex(),
160
+ actionDangerDefaultBorderDefault: colorPalettePrimary.red400,
161
+ actionDangerDefaultBorderHover: chroma(colorPalettePrimary.red400).alpha(0.72).hex(),
162
+ actionDangerDefaultBorderPress: chroma(colorPalettePrimary.red400).alpha(0.6).hex(),
163
+ actionDangerDefaultTextDefault: colorPalettePrimary.red400,
164
+ actionDangerDefaultTextHover: chroma(colorPalettePrimary.red400).alpha(0.72).hex(),
165
+ actionDangerDefaultTextPress: chroma(colorPalettePrimary.red400).alpha(0.6).hex(),
166
+ actionDefaultBackgroundDefault: chroma(colorPalettePrimary.blue400).alpha(0).hex(),
167
+ actionDefaultBackgroundHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),
168
+ actionDefaultBackgroundPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),
169
+ actionDefaultBorderDefault: chroma(colorPalettePrimary.white).alpha(0.6).hex(),
170
+ actionDefaultBorderFocus: chroma(colorPalettePrimary.blue400).alpha(0.84).hex(),
171
+ actionDefaultBorderHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),
172
+ actionDefaultBorderPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),
173
+ actionDefaultTextDefault: chroma(colorPalettePrimary.white).alpha(0.84).hex(),
174
+ actionDefaultTextHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),
175
+ actionDefaultTextPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),
176
+ actionDisabledBackground: chroma(colorPalettePrimary.white).alpha(0.24).hex(),
177
+ actionDisabledText: chroma(colorPalettePrimary.white).alpha(0.4).hex(),
178
+ actionPrimaryBackgroundDefault: chroma(colorPalettePrimary.blue400).alpha(0.84).hex(),
179
+ actionPrimaryBackgroundHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),
180
+ actionPrimaryBackgroundPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),
181
+ actionPrimaryTextDefault: colorPalettePrimary.grey800,
182
+ actionPrimaryTextHover: colorPalettePrimary.grey800,
183
+ actionPrimaryTextPress: colorPalettePrimary.grey800,
184
+ actionTertiaryBackgroundDefault: chroma(colorPalettePrimary.blue400).alpha(0).hex(),
185
+ actionTertiaryBackgroundHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),
186
+ actionTertiaryBackgroundPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),
187
+ actionTertiaryTextDefault: chroma(colorPalettePrimary.blue400).alpha(0.84).hex(),
188
+ actionTertiaryTextHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),
189
+ actionTertiaryTextPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),
190
+ backgroundPrimary: colorPalettePrimary.grey800,
191
+ backgroundSecondary: '#283035',
192
+ backgroundValidationDanger: 'transparent',
193
+ backgroundValidationSuccess: 'transparent',
194
+ backgroundValidationWarning: 'transparent',
195
+ border: chroma(colorPalettePrimary.white).alpha(0.48).hex(),
196
+ borderDecorative: chroma(colorPalettePrimary.white).alpha(0.24).hex(),
197
+ borderValidationDanger: colorPalettePrimary.red300,
198
+ borderValidationWarning: colorPalettePrimary.yellow300,
199
+ textPrimary: chroma(colorPalettePrimary.white).alpha(0.84).hex(),
200
+ textSecondary: chroma(colorPalettePrimary.white).alpha(0.6).hex(),
201
+ textPlaceholder: chroma(colorPalettePrimary.grey400).alpha(0.84).hex(),
202
+ textValidationDanger: chroma(colorPalettePrimary.red400).alpha(0.84).hex(),
203
+ textValidationSuccess: chroma(colorPalettePrimary.green400).alpha(0.84).hex(),
204
+ textValidationWarning: chroma(colorPalettePrimary.yellow400).alpha(0.84).hex(),
205
+ textValidationInfo: chroma(colorPalettePrimary.white).alpha(0.6).hex(),
206
+ overlayOverlay: chroma(colorPalettePrimary.grey800).alpha(0.72).hex(),
207
+ // Tags
208
+ tagDefault: chroma(colorPalettePrimary.white).alpha(0.16).hex(),
209
+ tagBrown: chroma(colorPaletteSecondary.brown).alpha(0.84).hex(),
210
+ tagCoral: chroma(colorPaletteSecondary.coral).alpha(0.84).hex(),
211
+ tagCharcoal: chroma(colorPalettePrimary.grey600).alpha(0.84).hex(),
212
+ tagIndigo: chroma(colorPaletteSecondary.indigo).alpha(0.84).hex(),
213
+ tagLemon: chroma(colorPaletteSecondary.lemon).alpha(0.84).hex(),
214
+ tagLime: chroma(colorPaletteSecondary.lime).alpha(0.84).hex(),
215
+ tagPink: chroma(colorPaletteSecondary.pink).alpha(0.84).hex(),
216
+ tagPurple: chroma(colorPaletteSecondary.purple).alpha(0.84).hex(),
217
+ tagTeal: chroma(colorPaletteSecondary.teal).alpha(0.84).hex(),
218
+ tagTurquoise: chroma(colorPaletteSecondary.turquoise).alpha(0.84).hex(),
219
+ tagText: chroma(colorPalettePrimary.white).alpha(0.84).hex(),
220
+ tagHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),
221
+ tagPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),
222
+ tagIconHover: chroma(colorPalettePrimary.white).alpha(0.8).hex(),
223
+ tagIconPress: chroma(colorPalettePrimary.white).alpha(0.76).hex(),
224
+ // Typography
225
+ typographyCodeBg: chroma(colorPalettePrimary.white).alpha(0.16).hex(),
226
+ // Table
227
+ tableSeparatorColor: chroma(colorPalettePrimary.white).alpha(0.24).hex(),
228
+ tableRowHover: chroma(colorPalettePrimary.white).alpha(0.16).hex(),
229
+ tooltipBackgroundTooltip: chroma(colorPalettePrimary.white).alpha(0.6).hex(),
230
+ // Missing in list
231
+ backgroundDanger: 'rgba(200,45,76,0.08)',
232
+ backgroundWarning: 'rgba(222,121,33,0.08)'
233
+ };
234
+
235
+ const darkColors = {
236
+ ...darkColorList,
237
+ ...colorPalettePrimary,
238
+ ...colorPaletteSecondary
239
+ };
240
+ const lightColors = {
241
+ ...lightColorList,
242
+ ...colorPalettePrimary,
243
+ ...colorPaletteSecondary
244
+ };
245
+ function getSemanticColors(isDarkMode) {
246
+ return isDarkMode ? darkColors : lightColors;
247
+ }
248
+
249
+ // TODO (FEINF-1674): Remove when removing USE_NEW_RADIO_STYLES
250
+ /*
251
+ Colors that need to be replaced by semantic colors.
252
+ */
253
+ const deprecatedColors = {
254
+ // Radio Colors
255
+ radioInteractiveAvailable: colorPalettePrimary.primary,
256
+ radioInteractiveHover: '#186099',
257
+ radioInteractivePress: '#0D4F85',
258
+ radioDisabled: '#A2AEB8',
259
+ radioDefaultBorder: '#64727D',
260
+ radioDefaultBackground: '#FFFFFF',
261
+ radioInteractiveHoverSecondary: 'rgba(34, 115, 181, 0.08)',
262
+ // Fade of Interactive Available
263
+ radioInteractivePressSecondary: 'rgba(34, 115, 181, 0.16)' // Fade of Interactive Available
264
+ };
265
+
266
+ function getColors(isDarkMode) {
267
+ return {
268
+ ...deprecatedColors,
269
+ ...getSemanticColors(isDarkMode)
270
+ };
271
+ }
272
+
273
+ // eslint-disable-next-line import/no-anonymous-default-export
274
+ var antdVars = {
275
+ // IMPORTANT: Do not read this directly from components. Use `React.useContext`.
276
+ 'ant-prefix': 'du-bois'
277
+ };
278
+
279
+ const DEFAULT_SPACING_UNIT = 8;
280
+ const MODAL_PADDING = 40;
281
+ const spacing = {
282
+ xs: DEFAULT_SPACING_UNIT / 2,
283
+ sm: DEFAULT_SPACING_UNIT,
284
+ md: DEFAULT_SPACING_UNIT * 2,
285
+ lg: DEFAULT_SPACING_UNIT * 3
286
+ };
287
+
288
+ // Less variables that are used by AntD
289
+ ({
290
+ defaultPaddingLg: spacing.lg,
291
+ defaultPaddingMd: spacing.md,
292
+ defaultPaddingSm: spacing.sm,
293
+ defaultPaddingXs: spacing.sm,
294
+ defaultPaddingXss: spacing.xs,
295
+ paddingLg: spacing.md,
296
+ // TODO: Check if there is a better alternative with team
297
+ paddingMd: spacing.sm,
298
+ paddingSm: spacing.sm,
299
+ paddingXs: spacing.xs,
300
+ paddingXss: 0,
301
+ marginSm: 12,
302
+ marginLg: spacing.lg,
303
+ // Button
304
+ btnPaddingHorizontalBase: DEFAULT_SPACING_UNIT * 2,
305
+ btnPaddingHorizontalLg: DEFAULT_SPACING_UNIT * 2,
306
+ btnPaddingHorizontalSm: DEFAULT_SPACING_UNIT * 2,
307
+ // Input
308
+ inputPaddingHorizontal: DEFAULT_SPACING_UNIT * 1.5,
309
+ inputPaddingHorizontalBase: DEFAULT_SPACING_UNIT * 1.5,
310
+ inputPaddingHorizontalSm: DEFAULT_SPACING_UNIT * 1.5,
311
+ inputPaddingHorizontalLg: DEFAULT_SPACING_UNIT * 1.5,
312
+ inputPaddingVertical: spacing.xs + 1,
313
+ inputPaddingVerticalBase: spacing.xs + 1,
314
+ inputPaddingVerticalSm: spacing.xs + 1,
315
+ inputPaddingVerticalLg: spacing.xs + 1,
316
+ // Modal
317
+ modalPadding: MODAL_PADDING,
318
+ modalLessPadding: MODAL_PADDING - 20,
319
+ modalHeaderPadding: `${MODAL_PADDING}px ${MODAL_PADDING}px ${MODAL_PADDING - 20}px`,
320
+ modalHeaderCloseSize: MODAL_PADDING * 2 + 22,
321
+ modalHeaderBorderWidth: 0,
322
+ modalBodyPadding: `0 ${MODAL_PADDING}px`,
323
+ modalFooterPaddingVertical: 0,
324
+ modalFooterPaddingHorizontal: 0,
325
+ modalFooterBorderWidth: 0,
326
+ // Switch
327
+ switchPadding: 0,
328
+ switchHeight: 16,
329
+ switchMinWidth: 28,
330
+ switchPinSize: 14
331
+ });
332
+ var spacing$1 = spacing;
333
+
334
+ const heightBase = 40;
335
+ const borderWidth = 1;
336
+ const antdGeneralVariables = {
337
+ classnamePrefix: antdVars['ant-prefix'],
338
+ iconfontCssPrefix: 'anticon',
339
+ borderRadiusBase: 4,
340
+ borderWidth: borderWidth,
341
+ heightSm: 32,
342
+ heightBase: heightBase,
343
+ iconSize: 24,
344
+ // TODO (FEINF-1545): Update with icon overhaul to 16px
345
+ iconFontSize: 13,
346
+ iconFontSizeNew: 16,
347
+ buttonHeight: heightBase,
348
+ // Height available within button (for label and icon). Same for middle and small buttons.
349
+ buttonInnerHeight: heightBase - spacing$1.sm * 2 - borderWidth * 2
350
+ };
351
+ const getShadowVariables = isDarkMode => {
352
+ if (isDarkMode) {
353
+ return {
354
+ shadowLow: '0px 4px 16px rgba(0, 0, 0, 0.12)',
355
+ shadowHigh: '0px 8px 24px rgba(0, 0, 0, 0.2);'
356
+ };
357
+ } else {
358
+ return {
359
+ shadowLow: '0px 4px 16px rgba(31, 39, 45, 0.12)',
360
+ shadowHigh: '0px 8px 24px rgba(31, 39, 45, 0.2)'
361
+ };
362
+ }
363
+ };
364
+ var generalVariables = antdGeneralVariables;
365
+
366
+ const FONT_SIZE_BASE = 13;
367
+
368
+ // Less variables that are used by AntD
369
+ const antdTypography = {
370
+ fontSizeSm: 12,
371
+ fontSizeBase: FONT_SIZE_BASE,
372
+ fontSizeMd: FONT_SIZE_BASE,
373
+ fontSizeLg: 18,
374
+ fontSizeXl: 22,
375
+ fontSizeXxl: 32,
376
+ lineHeightSm: '16px',
377
+ lineHeightBase: '20px',
378
+ lineHeightMd: '20px',
379
+ lineHeightLg: '24px',
380
+ lineHeightXl: '28px',
381
+ lineHeightXxl: '40px',
382
+ typographyBoldFontWeight: 600
383
+ };
384
+
385
+ // eslint-disable-next-line import/no-anonymous-default-export
386
+ var typography = {
387
+ ...antdTypography
388
+ };
389
+
390
+ const defaultOptions = {
391
+ enableAnimation: false,
392
+ zIndexBase: 1000
393
+ };
394
+
395
+ // Function to get variables for a certain theme.
396
+ // End users should use useDesignSystemTheme instead.
397
+ function getTheme(isDarkMode) {
398
+ let options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : defaultOptions;
399
+ return {
400
+ colors: getColors(isDarkMode),
401
+ spacing: spacing$1,
402
+ general: {
403
+ ...generalVariables,
404
+ ...getShadowVariables(isDarkMode)
405
+ },
406
+ typography,
407
+ borders: borders$1,
408
+ isDarkMode,
409
+ themeName: isDarkMode ? 'dark' : 'default',
410
+ options
411
+ };
412
+ }
413
+
414
+ function getClassNamePrefix(theme) {
415
+ const antdThemeName = theme.isDarkMode ? 'dark' : 'light';
416
+ return `${theme.general.classnamePrefix}-${antdThemeName}`;
417
+ }
418
+ function getPrefixedClassNameFromTheme(theme, className) {
419
+ return [getClassNamePrefix(theme), className].filter(Boolean).join('-');
420
+ }
421
+ function useDesignSystemTheme() {
422
+ const emotionTheme = useTheme();
423
+ // Graceful fallback to default theme in case a test or developer forgot context.
424
+ const theme = emotionTheme && emotionTheme.general ? emotionTheme : getTheme(false);
425
+ return {
426
+ theme: theme,
427
+ classNamePrefix: getClassNamePrefix(theme),
428
+ getPrefixedClassName: className => getPrefixedClassNameFromTheme(theme, className)
429
+ };
430
+ }
431
+ // This is a simple typed HOC wrapper around the useDesignSystemTheme hook, for use in older react components.
432
+ function WithDesignSystemThemeHoc(Component) {
433
+ return function WrappedWithDesignSystemTheme(props) {
434
+ const themeValues = useDesignSystemTheme();
435
+ return jsx(Component, {
436
+ ...props,
437
+ designSystemThemeApi: themeValues
438
+ });
439
+ };
440
+ }
441
+
442
+ export { WithDesignSystemThemeHoc as W, getClassNamePrefix as a, getPrefixedClassNameFromTheme as b, getTheme as g, lightColorList as l, useDesignSystemTheme as u };
443
+ //# sourceMappingURL=useDesignSystemTheme-ac536b0f.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useDesignSystemTheme-ac536b0f.js","sources":["../src/theme/borders.ts","../src/theme/colorList.ts","../src/theme/colors.ts","../src/antd-vars.ts","../src/theme/spacing.ts","../src/theme/generalVariables.ts","../src/theme/typography.ts","../src/theme/index.ts","../src/design-system/Hooks/useDesignSystemTheme.tsx"],"sourcesContent":["// Border variables\nexport const borders = {\n borderRadiusMd: 4,\n};\n\n// eslint-disable-next-line import/no-anonymous-default-export\nexport default {\n ...borders,\n};\n","import chroma from 'chroma-js';\n\nexport type ColorName = 'blue' | 'green' | 'grey' | 'red' | 'yellow';\n\nexport type ColorWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800;\n\nexport type PrimaryColorToken = `${ColorName}${ColorWeight}` | 'primary' | 'white';\n\nexport type SecondaryColorToken =\n | 'brown'\n | 'coral'\n | 'charcoal'\n | 'indigo'\n | 'lemon'\n | 'lime'\n | 'pink'\n | 'purple'\n | 'teal'\n | 'turquoise';\n\nexport type TagColorToken = `tag${Capitalize<SecondaryColorToken>}` | 'tagDefault';\n\ntype ColorPalettePrimary = Record<PrimaryColorToken, string>;\n\ntype ColorPaletteSecondary = Record<SecondaryColorToken, string>;\n\n// Exported from go/designsystem/colorsheet\nexport const colorPalettePrimary: ColorPalettePrimary = {\n primary: '#2272B4',\n blue100: '#F0F8FF',\n blue200: '#D7EDFE',\n blue300: '#BAE1FC',\n blue400: '#8ACAFF',\n blue500: '#4299E0',\n blue600: '#2272B4',\n blue700: '#0E538B',\n blue800: '#04355D',\n green100: '#F3FCF6',\n green200: '#D4F7DF',\n green300: '#B1ECC5',\n green400: '#8DDDA8',\n green500: '#3CAA60',\n green600: '#277C43',\n green700: '#115026',\n green800: '#093919',\n white: '#FFFFFF',\n grey100: '#F2F5F7',\n grey200: '#E4ECF1',\n grey300: '#CDDAE5',\n grey400: '#BDCDDB',\n grey500: '#8196A7',\n grey600: '#5D7283',\n grey700: '#44535F',\n grey800: '#1F272D',\n red100: '#FFF5F7',\n red200: '#FDE2E8',\n red300: '#FBD0D8',\n red400: '#F792A6',\n red500: '#E65B77',\n red600: '#C82D4C',\n red700: '#9E102C',\n red800: '#630316',\n yellow100: '#FFF9EB',\n yellow200: '#FCEACA',\n yellow300: '#F8D4A5',\n yellow400: '#F2BE88',\n yellow500: '#DE7921',\n yellow600: '#BE501E',\n yellow700: '#93320B',\n yellow800: '#5F1B02',\n};\n\nexport const colorPaletteSecondary: ColorPaletteSecondary = {\n brown: '#A6630C',\n coral: '#C83243',\n charcoal: '#5D7283',\n indigo: '#434A93',\n lemon: '#FACB66',\n lime: '#308613',\n pink: '#B45091',\n purple: '#8A63BF',\n teal: '#04867D',\n turquoise: '#157CBC',\n};\n\nexport const lightColorList = {\n backgroundPrimary: colorPalettePrimary.white,\n\n actionDangerPrimaryBackgroundDefault: colorPalettePrimary.red600,\n actionDangerPrimaryBackgroundHover: colorPalettePrimary.red700,\n actionDangerPrimaryBackgroundPress: colorPalettePrimary.red800,\n\n actionDangerDefaultBackgroundDefault: chroma(colorPalettePrimary.red600).alpha(0).hex(),\n actionDangerDefaultBackgroundHover: chroma(colorPalettePrimary.red600).alpha(0.08).hex(),\n actionDangerDefaultBackgroundPress: chroma(colorPalettePrimary.red600).alpha(0.16).hex(),\n\n actionDangerDefaultBorderDefault: colorPalettePrimary.red600,\n actionDangerDefaultBorderHover: colorPalettePrimary.red700,\n actionDangerDefaultBorderPress: colorPalettePrimary.red800,\n\n actionDangerDefaultTextDefault: colorPalettePrimary.red600,\n actionDangerDefaultTextHover: colorPalettePrimary.red700,\n actionDangerDefaultTextPress: colorPalettePrimary.red800,\n\n actionDefaultBackgroundDefault: chroma(colorPalettePrimary.blue800).alpha(0).hex(),\n actionDefaultBackgroundHover: chroma(colorPalettePrimary.blue600).alpha(0.08).hex(),\n actionDefaultBackgroundPress: chroma(colorPalettePrimary.blue600).alpha(0.16).hex(),\n\n actionDefaultBorderDefault: colorPalettePrimary.grey300,\n actionDefaultBorderFocus: colorPalettePrimary.blue600,\n actionDefaultBorderHover: colorPalettePrimary.blue700,\n actionDefaultBorderPress: colorPalettePrimary.blue800,\n\n actionDefaultTextDefault: colorPalettePrimary.grey800,\n actionDefaultTextHover: colorPalettePrimary.blue700,\n actionDefaultTextPress: colorPalettePrimary.blue800,\n\n actionDisabledBackground: colorPalettePrimary.grey200,\n actionDisabledText: colorPalettePrimary.grey400,\n\n actionPrimaryBackgroundDefault: colorPalettePrimary.blue600,\n actionPrimaryBackgroundHover: colorPalettePrimary.blue700,\n actionPrimaryBackgroundPress: colorPalettePrimary.blue800,\n\n actionPrimaryTextDefault: colorPalettePrimary.white,\n actionPrimaryTextHover: colorPalettePrimary.white,\n actionPrimaryTextPress: colorPalettePrimary.white,\n\n actionTertiaryBackgroundDefault: chroma(colorPalettePrimary.blue600).alpha(0).hex(),\n actionTertiaryBackgroundHover: chroma(colorPalettePrimary.blue600).alpha(0.08).hex(),\n actionTertiaryBackgroundPress: chroma(colorPalettePrimary.blue600).alpha(0.16).hex(),\n\n actionTertiaryTextDefault: colorPalettePrimary.blue600,\n actionTertiaryTextHover: colorPalettePrimary.blue700,\n actionTertiaryTextPress: colorPalettePrimary.blue800,\n\n backgroundDanger: chroma(colorPalettePrimary.red100).alpha(0.08).hex(),\n backgroundSecondary: colorPalettePrimary.grey100,\n backgroundWarning: chroma(colorPalettePrimary.yellow100).alpha(0.08).hex(),\n\n backgroundValidationDanger: colorPalettePrimary.red100,\n backgroundValidationSuccess: colorPalettePrimary.blue100,\n backgroundValidationWarning: colorPalettePrimary.yellow100,\n\n border: colorPalettePrimary.grey300,\n borderDecorative: colorPalettePrimary.grey300,\n\n borderValidationDanger: colorPalettePrimary.red300,\n borderValidationWarning: colorPalettePrimary.yellow300,\n\n textPrimary: colorPalettePrimary.grey800,\n textSecondary: colorPalettePrimary.grey600,\n textPlaceholder: colorPalettePrimary.grey400,\n\n textValidationDanger: colorPalettePrimary.red600,\n textValidationSuccess: colorPalettePrimary.green600,\n textValidationWarning: colorPalettePrimary.yellow600,\n textValidationInfo: colorPalettePrimary.grey600,\n\n overlayOverlay: chroma(colorPalettePrimary.grey100).alpha(0.72).hex(),\n\n // Tags\n tagDefault: chroma(colorPalettePrimary.grey600).alpha(0.08).hex(),\n tagBrown: colorPaletteSecondary.brown,\n tagCoral: colorPaletteSecondary.coral,\n tagCharcoal: colorPalettePrimary.grey600,\n tagIndigo: colorPaletteSecondary.indigo,\n tagLemon: colorPaletteSecondary.lemon,\n tagLime: colorPaletteSecondary.lime,\n tagPink: colorPaletteSecondary.pink,\n tagPurple: colorPaletteSecondary.purple,\n tagTeal: colorPaletteSecondary.teal,\n tagTurquoise: colorPaletteSecondary.turquoise,\n tagText: colorPalettePrimary.white,\n tagHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),\n tagPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),\n tagIconHover: chroma(colorPalettePrimary.white).alpha(0.8).hex(),\n tagIconPress: chroma(colorPalettePrimary.white).alpha(0.76).hex(),\n\n // Typography\n typographyCodeBg: chroma(colorPalettePrimary.grey600).alpha(0.08).hex(),\n\n // Table\n tableSeparatorColor: colorPalettePrimary.grey200,\n tableRowHover: chroma(colorPalettePrimary.grey600).alpha(0.04).hex(),\n\n tooltipBackgroundTooltip: colorPalettePrimary.grey800,\n};\n\nexport const darkColorList: typeof lightColorList = {\n actionDangerPrimaryBackgroundDefault: chroma(colorPalettePrimary.red400).alpha(0.84).hex(),\n actionDangerPrimaryBackgroundHover: chroma(colorPalettePrimary.red400).alpha(0.72).hex(),\n actionDangerPrimaryBackgroundPress: chroma(colorPalettePrimary.red400).alpha(0.6).hex(),\n\n actionDangerDefaultBackgroundDefault: chroma(colorPalettePrimary.red400).alpha(0).hex(),\n actionDangerDefaultBackgroundHover: chroma(colorPalettePrimary.red400).alpha(0.08).hex(),\n actionDangerDefaultBackgroundPress: chroma(colorPalettePrimary.red400).alpha(0.16).hex(),\n\n actionDangerDefaultBorderDefault: colorPalettePrimary.red400,\n actionDangerDefaultBorderHover: chroma(colorPalettePrimary.red400).alpha(0.72).hex(),\n actionDangerDefaultBorderPress: chroma(colorPalettePrimary.red400).alpha(0.6).hex(),\n\n actionDangerDefaultTextDefault: colorPalettePrimary.red400,\n actionDangerDefaultTextHover: chroma(colorPalettePrimary.red400).alpha(0.72).hex(),\n actionDangerDefaultTextPress: chroma(colorPalettePrimary.red400).alpha(0.6).hex(),\n\n actionDefaultBackgroundDefault: chroma(colorPalettePrimary.blue400).alpha(0).hex(),\n actionDefaultBackgroundHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),\n actionDefaultBackgroundPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),\n\n actionDefaultBorderDefault: chroma(colorPalettePrimary.white).alpha(0.6).hex(),\n actionDefaultBorderFocus: chroma(colorPalettePrimary.blue400).alpha(0.84).hex(),\n actionDefaultBorderHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),\n actionDefaultBorderPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),\n\n actionDefaultTextDefault: chroma(colorPalettePrimary.white).alpha(0.84).hex(),\n actionDefaultTextHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),\n actionDefaultTextPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),\n\n actionDisabledBackground: chroma(colorPalettePrimary.white).alpha(0.24).hex(),\n actionDisabledText: chroma(colorPalettePrimary.white).alpha(0.4).hex(),\n\n actionPrimaryBackgroundDefault: chroma(colorPalettePrimary.blue400).alpha(0.84).hex(),\n actionPrimaryBackgroundHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),\n actionPrimaryBackgroundPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),\n\n actionPrimaryTextDefault: colorPalettePrimary.grey800,\n actionPrimaryTextHover: colorPalettePrimary.grey800,\n actionPrimaryTextPress: colorPalettePrimary.grey800,\n\n actionTertiaryBackgroundDefault: chroma(colorPalettePrimary.blue400).alpha(0).hex(),\n actionTertiaryBackgroundHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),\n actionTertiaryBackgroundPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),\n\n actionTertiaryTextDefault: chroma(colorPalettePrimary.blue400).alpha(0.84).hex(),\n actionTertiaryTextHover: chroma(colorPalettePrimary.blue400).alpha(0.8).hex(),\n actionTertiaryTextPress: chroma(colorPalettePrimary.blue400).alpha(0.76).hex(),\n\n backgroundPrimary: colorPalettePrimary.grey800,\n backgroundSecondary: '#283035',\n\n backgroundValidationDanger: 'transparent',\n backgroundValidationSuccess: 'transparent',\n backgroundValidationWarning: 'transparent',\n\n border: chroma(colorPalettePrimary.white).alpha(0.48).hex(),\n borderDecorative: chroma(colorPalettePrimary.white).alpha(0.24).hex(),\n\n borderValidationDanger: colorPalettePrimary.red300,\n borderValidationWarning: colorPalettePrimary.yellow300,\n\n textPrimary: chroma(colorPalettePrimary.white).alpha(0.84).hex(),\n textSecondary: chroma(colorPalettePrimary.white).alpha(0.6).hex(),\n textPlaceholder: chroma(colorPalettePrimary.grey400).alpha(0.84).hex(),\n\n textValidationDanger: chroma(colorPalettePrimary.red400).alpha(0.84).hex(),\n textValidationSuccess: chroma(colorPalettePrimary.green400).alpha(0.84).hex(),\n textValidationWarning: chroma(colorPalettePrimary.yellow400).alpha(0.84).hex(),\n textValidationInfo: chroma(colorPalettePrimary.white).alpha(0.6).hex(),\n\n overlayOverlay: chroma(colorPalettePrimary.grey800).alpha(0.72).hex(),\n\n // Tags\n tagDefault: chroma(colorPalettePrimary.white).alpha(0.16).hex(),\n tagBrown: chroma(colorPaletteSecondary.brown).alpha(0.84).hex(),\n tagCoral: chroma(colorPaletteSecondary.coral).alpha(0.84).hex(),\n tagCharcoal: chroma(colorPalettePrimary.grey600).alpha(0.84).hex(),\n tagIndigo: chroma(colorPaletteSecondary.indigo).alpha(0.84).hex(),\n tagLemon: chroma(colorPaletteSecondary.lemon).alpha(0.84).hex(),\n tagLime: chroma(colorPaletteSecondary.lime).alpha(0.84).hex(),\n tagPink: chroma(colorPaletteSecondary.pink).alpha(0.84).hex(),\n tagPurple: chroma(colorPaletteSecondary.purple).alpha(0.84).hex(),\n tagTeal: chroma(colorPaletteSecondary.teal).alpha(0.84).hex(),\n tagTurquoise: chroma(colorPaletteSecondary.turquoise).alpha(0.84).hex(),\n tagText: chroma(colorPalettePrimary.white).alpha(0.84).hex(),\n tagHover: chroma(colorPalettePrimary.blue400).alpha(0.08).hex(),\n tagPress: chroma(colorPalettePrimary.blue400).alpha(0.16).hex(),\n tagIconHover: chroma(colorPalettePrimary.white).alpha(0.8).hex(),\n tagIconPress: chroma(colorPalettePrimary.white).alpha(0.76).hex(),\n\n // Typography\n typographyCodeBg: chroma(colorPalettePrimary.white).alpha(0.16).hex(),\n\n // Table\n tableSeparatorColor: chroma(colorPalettePrimary.white).alpha(0.24).hex(),\n tableRowHover: chroma(colorPalettePrimary.white).alpha(0.16).hex(),\n\n tooltipBackgroundTooltip: chroma(colorPalettePrimary.white).alpha(0.6).hex(),\n // Missing in list\n backgroundDanger: 'rgba(200,45,76,0.08)',\n backgroundWarning: 'rgba(222,121,33,0.08)',\n};\n","import { colorPalettePrimary, colorPaletteSecondary, darkColorList, lightColorList } from './colorList';\n\nconst darkColors = { ...darkColorList, ...colorPalettePrimary, ...colorPaletteSecondary };\nconst lightColors = { ...lightColorList, ...colorPalettePrimary, ...colorPaletteSecondary };\ntype DesignSystemColors = typeof lightColors;\n\nfunction getSemanticColors(isDarkMode: boolean): DesignSystemColors {\n return isDarkMode ? darkColors : lightColors;\n}\n\nexport interface AntdColors {\n bodyBackground: string;\n textColor: string;\n textColorSecondary: string;\n primaryColor: string;\n infoColor: string;\n errorColor: string;\n successColor: string;\n warningColor: string;\n borderColorBase: string;\n\n alertErrorTextColor: string;\n alertErrorBgColor: string;\n alertErrorIconColor: string;\n alertErrorBorderColor: string;\n\n alertInfoBgColor: string;\n alertInfoIconColor: string;\n alertInfoTextColor: string;\n alertInfoBorderColor: string;\n\n alertWarningTextColor: string;\n alertWarningBorderColor: string;\n alertWarningBgColor: string;\n alertWarningIconColor: string;\n\n alertTextColor: string;\n alertMessageColor: string;\n\n spinDotDefault: string;\n}\n\n// Maps Dubois colors to AntD names\nexport function getAntdColors(isDarkMode: boolean): AntdColors {\n const semanticColors = getSemanticColors(isDarkMode);\n return {\n bodyBackground: semanticColors.backgroundPrimary,\n textColor: semanticColors.textPrimary,\n textColorSecondary: semanticColors.textSecondary,\n primaryColor: semanticColors.primary,\n infoColor: '#64727D',\n errorColor: semanticColors.actionDangerPrimaryBackgroundDefault,\n successColor: '#34824F',\n warningColor: '#AF5B23',\n borderColorBase: semanticColors.border,\n\n // Alert colors (AntD variables)\n alertErrorTextColor: semanticColors.textValidationDanger,\n alertErrorBorderColor: semanticColors.red300,\n alertErrorBgColor: semanticColors.red100,\n alertErrorIconColor: semanticColors.textValidationDanger,\n\n alertInfoTextColor: semanticColors.textPrimary,\n alertInfoBorderColor: semanticColors.borderDecorative,\n alertInfoBgColor: semanticColors.backgroundSecondary,\n alertInfoIconColor: semanticColors.textSecondary,\n\n alertWarningTextColor: semanticColors.textValidationWarning,\n alertWarningBorderColor: semanticColors.yellow300,\n alertWarningBgColor: semanticColors.yellow100,\n alertWarningIconColor: semanticColors.textValidationWarning,\n\n ...(isDarkMode && {\n alertErrorBgColor: 'transparent',\n alertInfoBgColor: 'transparent',\n alertWarningBgColor: 'transparent',\n }),\n\n alertTextColor: 'inherit',\n alertMessageColor: 'inherit',\n\n spinDotDefault: semanticColors.textSecondary,\n };\n}\n\n// TODO (FEINF-1674): Remove when removing USE_NEW_RADIO_STYLES\n/*\nColors that need to be replaced by semantic colors.\n */\nconst deprecatedColors = {\n // Radio Colors\n radioInteractiveAvailable: colorPalettePrimary.primary,\n radioInteractiveHover: '#186099',\n radioInteractivePress: '#0D4F85',\n radioDisabled: '#A2AEB8',\n radioDefaultBorder: '#64727D',\n radioDefaultBackground: '#FFFFFF',\n radioInteractiveHoverSecondary: 'rgba(34, 115, 181, 0.08)', // Fade of Interactive Available\n radioInteractivePressSecondary: 'rgba(34, 115, 181, 0.16)', // Fade of Interactive Available\n};\n\nexport function getColors(isDarkMode: boolean): typeof deprecatedColors & DesignSystemColors {\n return {\n ...deprecatedColors,\n ...getSemanticColors(isDarkMode),\n };\n}\n","// eslint-disable-next-line import/no-anonymous-default-export\nexport default {\n // IMPORTANT: Do not read this directly from components. Use `React.useContext`.\n 'ant-prefix': 'du-bois',\n};\n","const DEFAULT_SPACING_UNIT = 8;\nexport const MODAL_PADDING = 40;\n\nconst spacing = {\n xs: DEFAULT_SPACING_UNIT / 2,\n sm: DEFAULT_SPACING_UNIT,\n md: DEFAULT_SPACING_UNIT * 2,\n lg: DEFAULT_SPACING_UNIT * 3,\n};\n\n// Less variables that are used by AntD\nexport const antdSpacing = {\n defaultPaddingLg: spacing.lg,\n defaultPaddingMd: spacing.md,\n defaultPaddingSm: spacing.sm,\n defaultPaddingXs: spacing.sm,\n defaultPaddingXss: spacing.xs,\n paddingLg: spacing.md,\n // TODO: Check if there is a better alternative with team\n paddingMd: spacing.sm,\n paddingSm: spacing.sm,\n paddingXs: spacing.xs,\n paddingXss: 0,\n marginSm: 12,\n marginLg: spacing.lg,\n\n // Button\n btnPaddingHorizontalBase: DEFAULT_SPACING_UNIT * 2,\n btnPaddingHorizontalLg: DEFAULT_SPACING_UNIT * 2,\n btnPaddingHorizontalSm: DEFAULT_SPACING_UNIT * 2,\n\n // Input\n inputPaddingHorizontal: DEFAULT_SPACING_UNIT * 1.5,\n inputPaddingHorizontalBase: DEFAULT_SPACING_UNIT * 1.5,\n inputPaddingHorizontalSm: DEFAULT_SPACING_UNIT * 1.5,\n inputPaddingHorizontalLg: DEFAULT_SPACING_UNIT * 1.5,\n\n inputPaddingVertical: spacing.xs + 1,\n inputPaddingVerticalBase: spacing.xs + 1,\n inputPaddingVerticalSm: spacing.xs + 1,\n inputPaddingVerticalLg: spacing.xs + 1,\n\n // Modal\n modalPadding: MODAL_PADDING,\n modalLessPadding: MODAL_PADDING - 20,\n modalHeaderPadding: `${MODAL_PADDING}px ${MODAL_PADDING}px ${MODAL_PADDING - 20}px`,\n modalHeaderCloseSize: MODAL_PADDING * 2 + 22,\n modalHeaderBorderWidth: 0,\n modalBodyPadding: `0 ${MODAL_PADDING}px`,\n modalFooterPaddingVertical: 0,\n modalFooterPaddingHorizontal: 0,\n modalFooterBorderWidth: 0,\n\n // Switch\n switchPadding: 0,\n switchHeight: 16,\n switchMinWidth: 28,\n switchPinSize: 14,\n};\n\nexport default spacing;\n","import antdVars from '../antd-vars';\nimport spacing from './spacing';\n\nconst heightBase = 40;\nconst borderWidth = 1;\n\nconst antdGeneralVariables = {\n classnamePrefix: antdVars['ant-prefix'],\n iconfontCssPrefix: 'anticon',\n borderRadiusBase: 4,\n borderWidth: borderWidth,\n heightSm: 32,\n heightBase: heightBase,\n iconSize: 24,\n // TODO (FEINF-1545): Update with icon overhaul to 16px\n iconFontSize: 13,\n iconFontSizeNew: 16,\n buttonHeight: heightBase,\n // Height available within button (for label and icon). Same for middle and small buttons.\n buttonInnerHeight: heightBase - spacing.sm * 2 - borderWidth * 2,\n};\n\nexport const getShadowVariables = (isDarkMode: boolean) => {\n if (isDarkMode) {\n return {\n shadowLow: '0px 4px 16px rgba(0, 0, 0, 0.12)',\n shadowHigh: '0px 8px 24px rgba(0, 0, 0, 0.2);',\n };\n } else {\n return {\n shadowLow: '0px 4px 16px rgba(31, 39, 45, 0.12)',\n shadowHigh: '0px 8px 24px rgba(31, 39, 45, 0.2)',\n };\n }\n};\n\nexport default antdGeneralVariables;\n","const FONT_SIZE_BASE = 13;\n\n// Less variables that are used by AntD\nexport const antdTypography = {\n fontSizeSm: 12,\n fontSizeBase: FONT_SIZE_BASE,\n fontSizeMd: FONT_SIZE_BASE,\n fontSizeLg: 18,\n fontSizeXl: 22,\n fontSizeXxl: 32,\n lineHeightSm: '16px',\n lineHeightBase: '20px',\n lineHeightMd: '20px',\n lineHeightLg: '24px',\n lineHeightXl: '28px',\n lineHeightXxl: '40px',\n typographyBoldFontWeight: 600,\n};\n\n// eslint-disable-next-line import/no-anonymous-default-export\nexport default {\n ...antdTypography,\n};\n","import borders from './borders';\nimport { getColors } from './colors';\nimport generalVariables, { getShadowVariables } from './generalVariables';\nimport spacing from './spacing';\nimport typography from './typography';\n\nexport type ThemeName = 'default' | 'dark';\nexport type ComponentTheme = ReturnType<typeof getTheme>;\n\nexport interface ThemeOptions {\n enableAnimation: boolean;\n zIndexBase: number;\n}\n\nexport interface Theme {\n colors: ReturnType<typeof getColors>;\n spacing: typeof spacing;\n general: typeof generalVariables & ReturnType<typeof getShadowVariables>;\n typography: typeof typography;\n borders: typeof borders;\n /**\n * Deprecated. Use `isDarkMode` instead.\n */\n themeName: ThemeName;\n isDarkMode: boolean;\n options: ThemeOptions;\n}\n\nconst defaultOptions: ThemeOptions = {\n enableAnimation: false,\n zIndexBase: 1000,\n};\n\n// Function to get variables for a certain theme.\n// End users should use useDesignSystemTheme instead.\nexport function getTheme(isDarkMode: boolean, options: ThemeOptions = defaultOptions): Theme {\n return {\n colors: getColors(isDarkMode),\n spacing,\n general: {\n ...generalVariables,\n ...getShadowVariables(isDarkMode),\n },\n typography,\n borders,\n isDarkMode,\n themeName: isDarkMode ? 'dark' : 'default',\n options,\n };\n}\n","import { useTheme as useEmotionTheme } from '@emotion/react';\nimport type { ReactElement } from 'react';\nimport React from 'react';\n\nimport type { Theme } from '../../theme';\nimport { getTheme } from '../../theme';\n\nexport interface DesignSystemThemeInterface {\n /** Theme object that contains colors, spacing, themeName and other variables **/\n theme: Theme;\n /** Prefix that is used in front of each className. **/\n classNamePrefix: string;\n /** Helper method that use be used to construct the full className of an underlying AntD className.\n * Use with caution and prefer emotion.js when possible **/\n getPrefixedClassName: (className: string) => string;\n}\n\nexport function getClassNamePrefix(theme: Theme): string {\n const antdThemeName = theme.isDarkMode ? 'dark' : 'light';\n return `${theme.general.classnamePrefix}-${antdThemeName}`;\n}\n\nexport function getPrefixedClassNameFromTheme(theme: Theme, className: string | null | undefined): string {\n return [getClassNamePrefix(theme), className].filter(Boolean).join('-');\n}\n\nexport function useDesignSystemTheme(): DesignSystemThemeInterface {\n const emotionTheme = useEmotionTheme() as Theme;\n // Graceful fallback to default theme in case a test or developer forgot context.\n const theme = emotionTheme && emotionTheme.general ? emotionTheme : getTheme(false);\n\n return {\n theme: theme,\n classNamePrefix: getClassNamePrefix(theme),\n getPrefixedClassName: (className: string) => getPrefixedClassNameFromTheme(theme, className),\n };\n}\n\nexport type DesignSystemHocProps = { designSystemThemeApi: DesignSystemThemeInterface };\n\n// This is a simple typed HOC wrapper around the useDesignSystemTheme hook, for use in older react components.\nexport function WithDesignSystemThemeHoc<P>(Component: React.ComponentType<P & DesignSystemHocProps>) {\n return function WrappedWithDesignSystemTheme(props: P): ReactElement {\n const themeValues = useDesignSystemTheme();\n\n return <Component {...props} designSystemThemeApi={themeValues} />;\n };\n}\n"],"names":["borders","borderRadiusMd","colorPalettePrimary","primary","blue100","blue200","blue300","blue400","blue500","blue600","blue700","blue800","green100","green200","green300","green400","green500","green600","green700","green800","white","grey100","grey200","grey300","grey400","grey500","grey600","grey700","grey800","red100","red200","red300","red400","red500","red600","red700","red800","yellow100","yellow200","yellow300","yellow400","yellow500","yellow600","yellow700","yellow800","colorPaletteSecondary","brown","coral","charcoal","indigo","lemon","lime","pink","purple","teal","turquoise","lightColorList","backgroundPrimary","actionDangerPrimaryBackgroundDefault","actionDangerPrimaryBackgroundHover","actionDangerPrimaryBackgroundPress","actionDangerDefaultBackgroundDefault","chroma","alpha","hex","actionDangerDefaultBackgroundHover","actionDangerDefaultBackgroundPress","actionDangerDefaultBorderDefault","actionDangerDefaultBorderHover","actionDangerDefaultBorderPress","actionDangerDefaultTextDefault","actionDangerDefaultTextHover","actionDangerDefaultTextPress","actionDefaultBackgroundDefault","actionDefaultBackgroundHover","actionDefaultBackgroundPress","actionDefaultBorderDefault","actionDefaultBorderFocus","actionDefaultBorderHover","actionDefaultBorderPress","actionDefaultTextDefault","actionDefaultTextHover","actionDefaultTextPress","actionDisabledBackground","actionDisabledText","actionPrimaryBackgroundDefault","actionPrimaryBackgroundHover","actionPrimaryBackgroundPress","actionPrimaryTextDefault","actionPrimaryTextHover","actionPrimaryTextPress","actionTertiaryBackgroundDefault","actionTertiaryBackgroundHover","actionTertiaryBackgroundPress","actionTertiaryTextDefault","actionTertiaryTextHover","actionTertiaryTextPress","backgroundDanger","backgroundSecondary","backgroundWarning","backgroundValidationDanger","backgroundValidationSuccess","backgroundValidationWarning","border","borderDecorative","borderValidationDanger","borderValidationWarning","textPrimary","textSecondary","textPlaceholder","textValidationDanger","textValidationSuccess","textValidationWarning","textValidationInfo","overlayOverlay","tagDefault","tagBrown","tagCoral","tagCharcoal","tagIndigo","tagLemon","tagLime","tagPink","tagPurple","tagTeal","tagTurquoise","tagText","tagHover","tagPress","tagIconHover","tagIconPress","typographyCodeBg","tableSeparatorColor","tableRowHover","tooltipBackgroundTooltip","darkColorList","darkColors","lightColors","getSemanticColors","isDarkMode","deprecatedColors","radioInteractiveAvailable","radioInteractiveHover","radioInteractivePress","radioDisabled","radioDefaultBorder","radioDefaultBackground","radioInteractiveHoverSecondary","radioInteractivePressSecondary","getColors","DEFAULT_SPACING_UNIT","MODAL_PADDING","spacing","xs","sm","md","lg","defaultPaddingLg","defaultPaddingMd","defaultPaddingSm","defaultPaddingXs","defaultPaddingXss","paddingLg","paddingMd","paddingSm","paddingXs","paddingXss","marginSm","marginLg","btnPaddingHorizontalBase","btnPaddingHorizontalLg","btnPaddingHorizontalSm","inputPaddingHorizontal","inputPaddingHorizontalBase","inputPaddingHorizontalSm","inputPaddingHorizontalLg","inputPaddingVertical","inputPaddingVerticalBase","inputPaddingVerticalSm","inputPaddingVerticalLg","modalPadding","modalLessPadding","modalHeaderPadding","modalHeaderCloseSize","modalHeaderBorderWidth","modalBodyPadding","modalFooterPaddingVertical","modalFooterPaddingHorizontal","modalFooterBorderWidth","switchPadding","switchHeight","switchMinWidth","switchPinSize","heightBase","borderWidth","antdGeneralVariables","classnamePrefix","antdVars","iconfontCssPrefix","borderRadiusBase","heightSm","iconSize","iconFontSize","iconFontSizeNew","buttonHeight","buttonInnerHeight","getShadowVariables","shadowLow","shadowHigh","FONT_SIZE_BASE","antdTypography","fontSizeSm","fontSizeBase","fontSizeMd","fontSizeLg","fontSizeXl","fontSizeXxl","lineHeightSm","lineHeightBase","lineHeightMd","lineHeightLg","lineHeightXl","lineHeightXxl","typographyBoldFontWeight","defaultOptions","enableAnimation","zIndexBase","getTheme","options","colors","general","generalVariables","typography","themeName","getClassNamePrefix","theme","antdThemeName","getPrefixedClassNameFromTheme","className","filter","Boolean","join","useDesignSystemTheme","emotionTheme","useEmotionTheme","classNamePrefix","getPrefixedClassName","WithDesignSystemThemeHoc","Component","WrappedWithDesignSystemTheme","props","themeValues","_jsx"],"mappings":";;;;;AAAA;AACO,MAAMA,OAAO,GAAG;EACrBC,cAAc,EAAE;AAClB,CAAC;;AAED;AACA,gBAAe;EACb,GA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E/C,MAAMT,KAAK,GAAGQ,YAAY,IAAIA,YAAY,CAACb,OAAO,GAAGa,YAAY,GAAGhB,QAAQ,CAAC,KAAK,CAAC;EAEnF,OAAO;IACLQ,KAAK,EAAEA,KAAK;IACZU,eAAe,EAAEX,kBAAkB,CAACC,KAAK,CAAC;IAC1CW,oBAAoB,EAAGR,SAAiB,IAAKD,6BAA6B,CAACF,KAAK,EAAEG,SAAS;GAC5F;AACH;AAIA;AACO,SAASS,wBAAwB,CAAIC,SAAwD,EAAE;EACpG,OAAO,SAASC,4BAA4B,CAACC,KAAQ,EAAgB;IACnE,MAAMC,WAAW,GAAGT,oBAAoB,EAAE;IAE1C,OAAOU,IAAC,SAAS;MAAA,GAAKF,KAAK;MAAE,oBAAoB,EAAEC;MAAe;GACnE;AACH;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@databricks/design-system",
3
- "version": "1.10.2",
3
+ "version": "1.12.0",
4
4
  "description": "DuBois Design System",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -35,7 +35,7 @@
35
35
  "build:styles:mfe": "BUILD_FOR_MFE=true npm-run-all --parallel build:styles-default-theme build:styles-dark-theme",
36
36
  "build:styles-default-theme": "rollup --configPlugin typescript -c ./src/rollup.styles.config.ts",
37
37
  "build:styles-dark-theme": "BUILD_DARK_MODE=true rollup --configPlugin typescript -c ./src/rollup.styles.config.ts",
38
- "watch": "yarn build:js:base -w",
38
+ "watch": "yarn build:js:base --watch",
39
39
  "storybook-build": "yarn build:storybook",
40
40
  "build:storybook": "yarn build && TS_NODE_PROJECT=.storybook/tsconfig.json yarn databricks-build-storybook -c storybook",
41
41
  "storybook": "yarn build:styles && yarn start:storybook",
@@ -128,7 +128,7 @@
128
128
  "ts-node": "^10.9.1",
129
129
  "tsconfig-paths": "^3.9.0",
130
130
  "typescript": "^4.9.3",
131
- "webpack": "^5.64.1",
131
+ "webpack": "^5.75.0",
132
132
  "webpack-merge": "^5.8.0"
133
133
  },
134
134
  "peerDependencies": {