@elastic/eui-theme-borealis 3.1.0 → 3.3.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 (31) hide show
  1. package/lib/cjs/index.js +2 -1
  2. package/lib/cjs/variables/_components.js +158 -135
  3. package/lib/cjs/variables/_forms.d.ts +14 -0
  4. package/lib/cjs/variables/_forms.js +60 -30
  5. package/lib/cjs/variables/_overrides.js +7 -1
  6. package/lib/cjs/variables/colors/_colors_dark.js +2 -0
  7. package/lib/cjs/variables/colors/_colors_light.js +12 -10
  8. package/lib/cjs/variables/colors/_colors_severity_hcm.d.ts +8 -0
  9. package/lib/cjs/variables/colors/_colors_severity_hcm.js +23 -0
  10. package/lib/cjs/variables/colors/_colors_vis_hcm.d.ts +2 -0
  11. package/lib/cjs/variables/colors/_colors_vis_hcm.js +77 -0
  12. package/lib/cjs/variables/colors/index.js +4 -3
  13. package/lib/esm/index.js +1 -0
  14. package/lib/esm/variables/_components.js +11 -0
  15. package/lib/esm/variables/_forms.d.ts +14 -0
  16. package/lib/esm/variables/_forms.js +10 -1
  17. package/lib/esm/variables/_overrides.js +6 -0
  18. package/lib/esm/variables/colors/_colors_dark.js +2 -0
  19. package/lib/esm/variables/colors/_colors_light.js +12 -10
  20. package/lib/esm/variables/colors/_colors_severity_hcm.d.ts +8 -0
  21. package/lib/esm/variables/colors/_colors_severity_hcm.js +16 -0
  22. package/lib/esm/variables/colors/_colors_vis_hcm.d.ts +2 -0
  23. package/lib/esm/variables/colors/_colors_vis_hcm.js +67 -0
  24. package/lib/esm/variables/colors/index.js +2 -1
  25. package/lib/eui_theme_borealis_dark.json +2 -0
  26. package/lib/eui_theme_borealis_dark.json.d.ts +2 -0
  27. package/lib/eui_theme_borealis_light.json +10 -8
  28. package/lib/eui_theme_borealis_light.json.d.ts +2 -0
  29. package/package.json +2 -2
  30. package/src/variables/colors/_colors_dark.scss +3 -0
  31. package/src/variables/colors/_colors_light.scss +14 -10
package/lib/cjs/index.js CHANGED
@@ -59,7 +59,8 @@ var euiThemeBorealis = exports.euiThemeBorealis = {
59
59
  flags: {
60
60
  hasGlobalFocusColor: true,
61
61
  hasVisColorAdjustment: false,
62
- buttonVariant: 'refresh'
62
+ buttonVariant: 'refresh',
63
+ formVariant: 'refresh'
63
64
  },
64
65
  overrides: _overrides.overrides
65
66
  };
@@ -153,235 +153,254 @@ var component_colors = {
153
153
  backgroundBaseInteractiveSelectHover = _ref40[0];
154
154
  return backgroundBaseInteractiveSelectHover;
155
155
  }, ['colors.backgroundBaseInteractiveSelectHover']),
156
- dataGridRowStripesBackground: (0, _euiThemeCommon.computed)(function (_ref41) {
156
+ dataGridRowBackgroundMarked: _semantic_colors.SEMANTIC_COLORS.warning10,
157
+ dataGridRowBackgroundMarkedHover: _semantic_colors.SEMANTIC_COLORS.warning20,
158
+ dataGridRowBorderActive: (0, _euiThemeCommon.computed)(function (_ref41) {
157
159
  var _ref42 = _slicedToArray(_ref41, 1),
158
- backgroundBasePlain = _ref42[0];
160
+ borderStrongPrimary = _ref42[0];
161
+ return borderStrongPrimary;
162
+ }, ['colors.borderStrongPrimary']),
163
+ dataGridRowBorderHover: (0, _euiThemeCommon.computed)(function (_ref43) {
164
+ var _ref44 = _slicedToArray(_ref43, 1),
165
+ borderStrongText = _ref44[0];
166
+ return borderStrongText;
167
+ }, ['colors.borderStrongText']),
168
+ dataGridRowBorderMarked: (0, _euiThemeCommon.computed)(function (_ref45) {
169
+ var _ref46 = _slicedToArray(_ref45, 1),
170
+ borderStrongWarning = _ref46[0];
171
+ return borderStrongWarning;
172
+ }, ['colors.borderStrongWarning']),
173
+ dataGridRowStripesBackground: (0, _euiThemeCommon.computed)(function (_ref47) {
174
+ var _ref48 = _slicedToArray(_ref47, 1),
175
+ backgroundBasePlain = _ref48[0];
159
176
  return backgroundBasePlain;
160
177
  }, ['colors.backgroundBasePlain']),
161
- dataGridRowStripesBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref43) {
162
- var _ref44 = _slicedToArray(_ref43, 1),
163
- backgroundBasePlain = _ref44[0];
178
+ dataGridRowStripesBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref49) {
179
+ var _ref50 = _slicedToArray(_ref49, 1),
180
+ backgroundBasePlain = _ref50[0];
164
181
  return backgroundBasePlain;
165
182
  }, ['colors.backgroundBasePlain']),
166
- dataGridRowStripesBackgroundStriped: (0, _euiThemeCommon.computed)(function (_ref45) {
167
- var _ref46 = _slicedToArray(_ref45, 1),
168
- backgroundBaseSubdued = _ref46[0];
183
+ dataGridRowStripesBackgroundStriped: (0, _euiThemeCommon.computed)(function (_ref51) {
184
+ var _ref52 = _slicedToArray(_ref51, 1),
185
+ backgroundBaseSubdued = _ref52[0];
169
186
  return backgroundBaseSubdued;
170
187
  }, ['colors.backgroundBaseSubdued']),
171
- dataGridRowStripesBackgroundStripedHover: (0, _euiThemeCommon.computed)(function (_ref47) {
172
- var _ref48 = _slicedToArray(_ref47, 1),
173
- backgroundBaseSubdued = _ref48[0];
188
+ dataGridRowStripesBackgroundStripedHover: (0, _euiThemeCommon.computed)(function (_ref53) {
189
+ var _ref54 = _slicedToArray(_ref53, 1),
190
+ backgroundBaseSubdued = _ref54[0];
174
191
  return backgroundBaseSubdued;
175
192
  }, ['colors.backgroundBaseSubdued']),
176
- dataGridRowStripesBackgroundSelect: (0, _euiThemeCommon.computed)(function (_ref49) {
177
- var _ref50 = _slicedToArray(_ref49, 1),
178
- backgroundBaseInteractiveSelect = _ref50[0];
193
+ dataGridRowStripesBackgroundSelect: (0, _euiThemeCommon.computed)(function (_ref55) {
194
+ var _ref56 = _slicedToArray(_ref55, 1),
195
+ backgroundBaseInteractiveSelect = _ref56[0];
179
196
  return backgroundBaseInteractiveSelect;
180
197
  }, ['colors.backgroundBaseInteractiveSelect']),
181
- dataGridRowStripesBackgroundSelectHover: (0, _euiThemeCommon.computed)(function (_ref51) {
182
- var _ref52 = _slicedToArray(_ref51, 1),
183
- backgroundBaseInteractiveSelect = _ref52[0];
198
+ dataGridRowStripesBackgroundSelectHover: (0, _euiThemeCommon.computed)(function (_ref57) {
199
+ var _ref58 = _slicedToArray(_ref57, 1),
200
+ backgroundBaseInteractiveSelect = _ref58[0];
184
201
  return backgroundBaseInteractiveSelect;
185
202
  }, ['colors.backgroundBaseInteractiveSelect']),
186
- dragDropDraggingBackground: (0, _euiThemeCommon.computed)(function (_ref53) {
187
- var _ref54 = _slicedToArray(_ref53, 1),
188
- backgroundBaseSuccess = _ref54[0];
203
+ dragDropDraggingBackground: (0, _euiThemeCommon.computed)(function (_ref59) {
204
+ var _ref60 = _slicedToArray(_ref59, 1),
205
+ backgroundBaseSuccess = _ref60[0];
189
206
  return backgroundBaseSuccess;
190
207
  }, ['colors.backgroundBaseSuccess']),
191
- dragDropDraggingOverBackground: (0, _euiThemeCommon.computed)(function (_ref55) {
192
- var _ref56 = _slicedToArray(_ref55, 1),
193
- backgroundLightSuccess = _ref56[0];
208
+ dragDropDraggingOverBackground: (0, _euiThemeCommon.computed)(function (_ref61) {
209
+ var _ref62 = _slicedToArray(_ref61, 1),
210
+ backgroundLightSuccess = _ref62[0];
194
211
  return backgroundLightSuccess;
195
212
  }, ['colors.backgroundLightSuccess']),
196
213
  filterButtonBadgeBackgroundHover: _semantic_colors.SEMANTIC_COLORS.shade25,
197
- filterSelectItemBackgroundFocusDisabled: (0, _euiThemeCommon.computed)(function (_ref57) {
198
- var _ref58 = _slicedToArray(_ref57, 1),
199
- backgroundBaseDisabled = _ref58[0];
214
+ filterSelectItemBackgroundFocusDisabled: (0, _euiThemeCommon.computed)(function (_ref63) {
215
+ var _ref64 = _slicedToArray(_ref63, 1),
216
+ backgroundBaseDisabled = _ref64[0];
200
217
  return backgroundBaseDisabled;
201
218
  }, ['colors.backgroundBaseDisabled']),
202
- flyoutFooterBackground: (0, _euiThemeCommon.computed)(function (_ref59) {
203
- var _ref60 = _slicedToArray(_ref59, 1),
204
- backgroundBaseHighlighted = _ref60[0];
219
+ flyoutFooterBackground: (0, _euiThemeCommon.computed)(function (_ref65) {
220
+ var _ref66 = _slicedToArray(_ref65, 1),
221
+ backgroundBaseHighlighted = _ref66[0];
205
222
  return backgroundBaseHighlighted;
206
223
  }, ['colors.backgroundBaseHighlighted']),
207
- flyoutCloseButtonInsideBackground: (0, _euiThemeCommon.computed)(function (_ref61) {
208
- var _ref62 = _slicedToArray(_ref61, 1),
209
- backgroundBasePlain = _ref62[0];
224
+ flyoutCloseButtonInsideBackground: (0, _euiThemeCommon.computed)(function (_ref67) {
225
+ var _ref68 = _slicedToArray(_ref67, 1),
226
+ backgroundBasePlain = _ref68[0];
210
227
  return backgroundBasePlain;
211
228
  }, ['colors.backgroundBasePlain']),
212
- headerBackground: (0, _euiThemeCommon.computed)(function (_ref63) {
213
- var _ref64 = _slicedToArray(_ref63, 1),
214
- backgroundBasePlain = _ref64[0];
229
+ headerBackground: (0, _euiThemeCommon.computed)(function (_ref69) {
230
+ var _ref70 = _slicedToArray(_ref69, 1),
231
+ backgroundBasePlain = _ref70[0];
215
232
  return backgroundBasePlain;
216
233
  }, ['colors.backgroundBasePlain']),
217
234
  headerDarkBackground: _colors_dark.dark_background_colors.backgroundBasePlain,
218
235
  headerDarkSearchBorderColor: _colors_dark.dark_border_colors.borderBasePlain,
219
236
  headerDarkSectionItemBackgroundFocus: _colors_dark.dark_background_colors.backgroundBasePrimary,
220
- keyPadMenuItemBackgroundDisabledSelect: (0, _euiThemeCommon.computed)(function (_ref65) {
221
- var _ref66 = _slicedToArray(_ref65, 1),
222
- backgroundBaseDisabled = _ref66[0];
237
+ keyPadMenuItemBackgroundDisabledSelect: (0, _euiThemeCommon.computed)(function (_ref71) {
238
+ var _ref72 = _slicedToArray(_ref71, 1),
239
+ backgroundBaseDisabled = _ref72[0];
223
240
  return backgroundBaseDisabled;
224
241
  }, ['colors.backgroundBaseDisabled']),
225
- listGroupItemBackgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref67) {
226
- var _ref68 = _slicedToArray(_ref67, 1),
227
- backgroundBaseInteractiveSelect = _ref68[0];
242
+ listGroupItemBackgroundPrimaryActive: (0, _euiThemeCommon.computed)(function (_ref73) {
243
+ var _ref74 = _slicedToArray(_ref73, 1),
244
+ backgroundBaseInteractiveSelect = _ref74[0];
228
245
  return backgroundBaseInteractiveSelect;
229
246
  }, ['colors.backgroundBaseInteractiveSelect']),
230
- listGroupItemBackgroundSubduedActive: (0, _euiThemeCommon.computed)(function (_ref69) {
231
- var _ref70 = _slicedToArray(_ref69, 1),
232
- backgroundBaseInteractiveSelect = _ref70[0];
247
+ listGroupItemBackgroundSubduedActive: (0, _euiThemeCommon.computed)(function (_ref75) {
248
+ var _ref76 = _slicedToArray(_ref75, 1),
249
+ backgroundBaseInteractiveSelect = _ref76[0];
233
250
  return backgroundBaseInteractiveSelect;
234
251
  }, ['colors.backgroundBaseInteractiveSelect']),
235
- listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref71) {
236
- var _ref72 = _slicedToArray(_ref71, 1),
237
- backgroundBaseInteractiveHover = _ref72[0];
252
+ listGroupItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref77) {
253
+ var _ref78 = _slicedToArray(_ref77, 1),
254
+ backgroundBaseInteractiveHover = _ref78[0];
238
255
  return backgroundBaseInteractiveHover;
239
256
  }, ['colors.backgroundBaseInteractiveHover']),
240
- listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref73) {
241
- var _ref74 = _slicedToArray(_ref73, 1),
242
- backgroundBaseInteractiveHover = _ref74[0];
257
+ listGroupItemBackgroundPrimaryHover: (0, _euiThemeCommon.computed)(function (_ref79) {
258
+ var _ref80 = _slicedToArray(_ref79, 1),
259
+ backgroundBaseInteractiveHover = _ref80[0];
243
260
  return backgroundBaseInteractiveHover;
244
261
  }, ['colors.backgroundBaseInteractiveHover']),
245
262
  // we don't want to inherit overrides (e.g. HCM)
246
263
  loadingSpinnerBorder: _colors_light.border_colors.borderBasePlain,
247
- loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (_ref75) {
248
- var _ref76 = _slicedToArray(_ref75, 1),
249
- borderStrongPrimary = _ref76[0];
264
+ loadingSpinnerHighlight: (0, _euiThemeCommon.computed)(function (_ref81) {
265
+ var _ref82 = _slicedToArray(_ref81, 1),
266
+ borderStrongPrimary = _ref82[0];
250
267
  return borderStrongPrimary;
251
268
  }, ['colors.borderStrongPrimary']),
252
269
  loadingChartMonoBackground0: _semantic_colors.SEMANTIC_COLORS.shade20,
253
270
  loadingChartMonoBackground1: _semantic_colors.SEMANTIC_COLORS.shade30,
254
271
  loadingChartMonoBackground2: _semantic_colors.SEMANTIC_COLORS.shade40,
255
272
  loadingChartMonoBackground3: _semantic_colors.SEMANTIC_COLORS.shade50,
256
- markBackground: (0, _euiThemeCommon.computed)(function (_ref77) {
257
- var _ref78 = _slicedToArray(_ref77, 1),
258
- backgroundLightPrimary = _ref78[0];
273
+ markBackground: (0, _euiThemeCommon.computed)(function (_ref83) {
274
+ var _ref84 = _slicedToArray(_ref83, 1),
275
+ backgroundLightPrimary = _ref84[0];
259
276
  return backgroundLightPrimary;
260
277
  }, ['colors.backgroundLightPrimary']),
261
- markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (_ref79) {
262
- var _ref80 = _slicedToArray(_ref79, 1),
263
- borderBasePlain = _ref80[0];
278
+ markdownFormatTableBorderColor: (0, _euiThemeCommon.computed)(function (_ref85) {
279
+ var _ref86 = _slicedToArray(_ref85, 1),
280
+ borderBasePlain = _ref86[0];
264
281
  return borderBasePlain;
265
282
  }, ['colors.borderBasePlain']),
266
- overlayMaskBackground: (0, _euiThemeCommon.computed)(function (_ref81) {
267
- var _ref82 = _slicedToArray(_ref81, 1),
268
- backgroundBaseInteractiveOverlay = _ref82[0];
283
+ overlayMaskBackground: (0, _euiThemeCommon.computed)(function (_ref87) {
284
+ var _ref88 = _slicedToArray(_ref87, 1),
285
+ backgroundBaseInteractiveOverlay = _ref88[0];
269
286
  return backgroundBaseInteractiveOverlay;
270
287
  }, ['colors.backgroundBaseInteractiveOverlay']),
271
288
  overlayMaskBackgroundHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade140RGB, ", 0.9)"),
272
- popoverPanelBackground: (0, _euiThemeCommon.computed)(function (_ref83) {
273
- var _ref84 = _slicedToArray(_ref83, 1),
274
- backgroundBasePlain = _ref84[0];
289
+ popoverPanelBackground: (0, _euiThemeCommon.computed)(function (_ref89) {
290
+ var _ref90 = _slicedToArray(_ref89, 1),
291
+ backgroundBasePlain = _ref90[0];
275
292
  return backgroundBasePlain;
276
293
  }, ['colors.backgroundBasePlain']),
277
- popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (_ref85) {
278
- var _ref86 = _slicedToArray(_ref85, 1),
279
- borderBaseSubdued = _ref86[0];
294
+ popoverFooterBorderColor: (0, _euiThemeCommon.computed)(function (_ref91) {
295
+ var _ref92 = _slicedToArray(_ref91, 1),
296
+ borderBaseSubdued = _ref92[0];
280
297
  return borderBaseSubdued;
281
298
  }, ['colors.borderBaseSubdued']),
282
299
  scrollbarTrackColor: _semantic_colors.SEMANTIC_COLORS.shade15,
283
- sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (_ref87) {
284
- var _ref88 = _slicedToArray(_ref87, 1),
285
- backgroundBaseInteractiveSelect = _ref88[0];
300
+ sideNavItemEmphasizedBackground: (0, _euiThemeCommon.computed)(function (_ref93) {
301
+ var _ref94 = _slicedToArray(_ref93, 1),
302
+ backgroundBaseInteractiveSelect = _ref94[0];
286
303
  return backgroundBaseInteractiveSelect;
287
304
  }, ['colors.backgroundBaseInteractiveSelect']),
288
- selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (_ref89) {
289
- var _ref90 = _slicedToArray(_ref89, 1),
290
- borderBaseSubdued = _ref90[0];
305
+ selectableListItemBorderColor: (0, _euiThemeCommon.computed)(function (_ref95) {
306
+ var _ref96 = _slicedToArray(_ref95, 1),
307
+ borderBaseSubdued = _ref96[0];
291
308
  return borderBaseSubdued;
292
309
  }, ['colors.borderBaseSubdued']),
293
310
  skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.shade100RGB, ", 0.04)"),
294
- superDatePickerBackgroundSuccees: (0, _euiThemeCommon.computed)(function (_ref91) {
295
- var _ref92 = _slicedToArray(_ref91, 1),
296
- backgroundBaseSuccess = _ref92[0];
311
+ superDatePickerBackgroundSuccees: (0, _euiThemeCommon.computed)(function (_ref97) {
312
+ var _ref98 = _slicedToArray(_ref97, 1),
313
+ backgroundBaseSuccess = _ref98[0];
297
314
  return backgroundBaseSuccess;
298
315
  }, ['colors.backgroundBaseSuccess']),
299
- switchBackgroundOn: (0, _euiThemeCommon.computed)(function (_ref93) {
300
- var _ref94 = _slicedToArray(_ref93, 1),
301
- backgroundFilledPrimary = _ref94[0];
316
+ switchBackgroundOn: (0, _euiThemeCommon.computed)(function (_ref99) {
317
+ var _ref100 = _slicedToArray(_ref99, 1),
318
+ backgroundFilledPrimary = _ref100[0];
302
319
  return backgroundFilledPrimary;
303
320
  }, ['colors.backgroundFilledPrimary']),
304
- switchBackgroundOff: (0, _euiThemeCommon.computed)(function (_ref95) {
305
- var _ref96 = _slicedToArray(_ref95, 1),
306
- backgroundFilledText = _ref96[0];
321
+ switchBackgroundOff: (0, _euiThemeCommon.computed)(function (_ref101) {
322
+ var _ref102 = _slicedToArray(_ref101, 1),
323
+ backgroundFilledText = _ref102[0];
307
324
  return backgroundFilledText;
308
325
  }, ['colors.backgroundFilledText']),
309
- switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref97) {
310
- var _ref98 = _slicedToArray(_ref97, 1),
311
- backgroundBaseFormsControlDisabled = _ref98[0];
326
+ switchUncompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref103) {
327
+ var _ref104 = _slicedToArray(_ref103, 1),
328
+ backgroundBaseFormsControlDisabled = _ref104[0];
312
329
  return backgroundBaseFormsControlDisabled;
313
330
  }, ['colors.backgroundBaseFormsControlDisabled']),
314
- switchCompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref99) {
315
- var _ref100 = _slicedToArray(_ref99, 1),
316
- backgroundBaseFormsControlDisabled = _ref100[0];
331
+ switchCompressedBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref105) {
332
+ var _ref106 = _slicedToArray(_ref105, 1),
333
+ backgroundBaseFormsControlDisabled = _ref106[0];
317
334
  return backgroundBaseFormsControlDisabled;
318
335
  }, ['colors.backgroundBaseFormsControlDisabled']),
319
- switchMiniBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref101) {
320
- var _ref102 = _slicedToArray(_ref101, 1),
321
- backgroundBaseFormsControlDisabled = _ref102[0];
336
+ switchMiniBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref107) {
337
+ var _ref108 = _slicedToArray(_ref107, 1),
338
+ backgroundBaseFormsControlDisabled = _ref108[0];
322
339
  return backgroundBaseFormsControlDisabled;
323
340
  }, ['colors.backgroundBaseFormsControlDisabled']),
324
- switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref103) {
325
- var _ref104 = _slicedToArray(_ref103, 1),
326
- backgroundBasePlain = _ref104[0];
341
+ switchThumbBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref109) {
342
+ var _ref110 = _slicedToArray(_ref109, 1),
343
+ backgroundBasePlain = _ref110[0];
327
344
  return backgroundBasePlain;
328
345
  }, ['colors.backgroundBasePlain']),
329
- switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (_ref105) {
330
- var _ref106 = _slicedToArray(_ref105, 1),
331
- backgroundFilledPrimary = _ref106[0];
346
+ switchThumbBorderOn: (0, _euiThemeCommon.computed)(function (_ref111) {
347
+ var _ref112 = _slicedToArray(_ref111, 1),
348
+ backgroundFilledPrimary = _ref112[0];
332
349
  return backgroundFilledPrimary;
333
350
  }, ['colors.backgroundFilledPrimary']),
334
- switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (_ref107) {
335
- var _ref108 = _slicedToArray(_ref107, 1),
336
- backgroundFilledText = _ref108[0];
351
+ switchThumbBorderOff: (0, _euiThemeCommon.computed)(function (_ref113) {
352
+ var _ref114 = _slicedToArray(_ref113, 1),
353
+ backgroundFilledText = _ref114[0];
337
354
  return backgroundFilledText;
338
355
  }, ['colors.backgroundFilledText']),
339
356
  switchIconDisabled: _forms.forms.LIGHT.iconDisabled,
340
- tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref109) {
341
- var _ref110 = _slicedToArray(_ref109, 1),
342
- backgroundBaseInteractiveHover = _ref110[0];
357
+ tableRowBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref115) {
358
+ var _ref116 = _slicedToArray(_ref115, 1),
359
+ backgroundBaseInteractiveHover = _ref116[0];
343
360
  return backgroundBaseInteractiveHover;
344
361
  }, ['colors.backgroundBaseInteractiveHover']),
345
- tableRowBackgroundSelected: (0, _euiThemeCommon.computed)(function (_ref111) {
346
- var _ref112 = _slicedToArray(_ref111, 1),
347
- backgroundBaseInteractiveSelect = _ref112[0];
362
+ tableRowBackgroundSelected: (0, _euiThemeCommon.computed)(function (_ref117) {
363
+ var _ref118 = _slicedToArray(_ref117, 1),
364
+ backgroundBaseInteractiveSelect = _ref118[0];
348
365
  return backgroundBaseInteractiveSelect;
349
366
  }, ['colors.backgroundBaseInteractiveSelect']),
350
- tableRowBackgroundSelectedHover: (0, _euiThemeCommon.computed)(function (_ref113) {
351
- var _ref114 = _slicedToArray(_ref113, 1),
352
- backgroundBaseInteractiveSelectHover = _ref114[0];
367
+ tableRowBackgroundSelectedHover: (0, _euiThemeCommon.computed)(function (_ref119) {
368
+ var _ref120 = _slicedToArray(_ref119, 1),
369
+ backgroundBaseInteractiveSelectHover = _ref120[0];
353
370
  return backgroundBaseInteractiveSelectHover;
354
371
  }, ['colors.backgroundBaseInteractiveSelectHover']),
355
- tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref115) {
356
- var _ref116 = _slicedToArray(_ref115, 1),
357
- backgroundBaseInteractiveSelect = _ref116[0];
372
+ tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref121) {
373
+ var _ref122 = _slicedToArray(_ref121, 1),
374
+ backgroundBaseInteractiveSelect = _ref122[0];
358
375
  return backgroundBaseInteractiveSelect;
359
376
  }, ['colors.backgroundBaseInteractiveSelect']),
360
- tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref117) {
361
- var _ref118 = _slicedToArray(_ref117, 1),
362
- backgroundBaseInteractiveHover = _ref118[0];
377
+ tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref123) {
378
+ var _ref124 = _slicedToArray(_ref123, 1),
379
+ backgroundBaseInteractiveHover = _ref124[0];
363
380
  return backgroundBaseInteractiveHover;
364
381
  }, ['colors.backgroundBaseInteractiveHover']),
365
- tableCellSortableIconColor: (0, _euiThemeCommon.computed)(function (_ref119) {
366
- var _ref120 = _slicedToArray(_ref119, 1),
367
- backgroundFilledText = _ref120[0];
382
+ tableRowBackgroundMarked: _semantic_colors.SEMANTIC_COLORS.warning10,
383
+ tableRowBackgroundMarkedHover: _semantic_colors.SEMANTIC_COLORS.warning20,
384
+ tableCellSortableIconColor: (0, _euiThemeCommon.computed)(function (_ref125) {
385
+ var _ref126 = _slicedToArray(_ref125, 1),
386
+ backgroundFilledText = _ref126[0];
368
387
  return backgroundFilledText;
369
388
  }, ['colors.backgroundFilledText']),
370
389
  tooltipBackground: _colors_dark.dark_background_colors.backgroundBaseSubdued,
371
390
  tooltipBorder: _colors_dark.dark_border_colors.borderBaseSubdued,
372
- tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (_ref121) {
373
- var _ref122 = _slicedToArray(_ref121, 1),
374
- borderBaseFloating = _ref122[0];
391
+ tooltipBorderFloating: (0, _euiThemeCommon.computed)(function (_ref127) {
392
+ var _ref128 = _slicedToArray(_ref127, 1),
393
+ borderBaseFloating = _ref128[0];
375
394
  return borderBaseFloating;
376
395
  }, ['colors.borderBaseFloating']),
377
- tourFooterBackground: (0, _euiThemeCommon.computed)(function (_ref123) {
378
- var _ref124 = _slicedToArray(_ref123, 1),
379
- backgroundBaseHighlighted = _ref124[0];
396
+ tourFooterBackground: (0, _euiThemeCommon.computed)(function (_ref129) {
397
+ var _ref130 = _slicedToArray(_ref129, 1),
398
+ backgroundBaseHighlighted = _ref130[0];
380
399
  return backgroundBaseHighlighted;
381
400
  }, ['colors.backgroundBaseHighlighted']),
382
- treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref125) {
383
- var _ref126 = _slicedToArray(_ref125, 1),
384
- backgroundBaseInteractiveHover = _ref126[0];
401
+ treeViewItemBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref131) {
402
+ var _ref132 = _slicedToArray(_ref131, 1),
403
+ backgroundBaseInteractiveHover = _ref132[0];
385
404
  return backgroundBaseInteractiveHover;
386
405
  }, ['colors.backgroundBaseInteractiveHover'])
387
406
  };
@@ -391,6 +410,8 @@ var components = exports.components = {
391
410
  LIGHT: component_colors,
392
411
  DARK: _objectSpread(_objectSpread({}, component_colors), {}, {
393
412
  buttonGroupFocusColor: _semantic_colors.SEMANTIC_COLORS.plainLight,
413
+ dataGridRowBackgroundMarked: _semantic_colors.SEMANTIC_COLORS.warning140,
414
+ dataGridRowBackgroundMarkedHover: _semantic_colors.SEMANTIC_COLORS.warning130,
394
415
  codeInlineBackground: _semantic_colors.SEMANTIC_COLORS.shade135,
395
416
  codeInlineColor: _semantic_colors.SEMANTIC_COLORS.assistance60,
396
417
  codeStringColor: _semantic_colors.SEMANTIC_COLORS.accent60,
@@ -416,15 +437,17 @@ var components = exports.components = {
416
437
  skeletonBackgroundSkeletonMiddleHighContrast: "rgba(".concat(_semantic_colors.SEMANTIC_COLORS.plainLightRGB, ", 0.3)"),
417
438
  switchIconDisabled: _forms.forms.DARK.iconDisabled,
418
439
  // TODO: align table hover states
419
- tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref127) {
420
- var _ref128 = _slicedToArray(_ref127, 1),
421
- backgroundBaseInteractiveHover = _ref128[0];
440
+ tableRowInteractiveBackgroundHover: (0, _euiThemeCommon.computed)(function (_ref133) {
441
+ var _ref134 = _slicedToArray(_ref133, 1),
442
+ backgroundBaseInteractiveHover = _ref134[0];
422
443
  return backgroundBaseInteractiveHover;
423
444
  }, ['colors.backgroundBaseInteractiveHover']),
424
- tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref129) {
425
- var _ref130 = _slicedToArray(_ref129, 1),
426
- backgroundBaseInteractiveHover = _ref130[0];
445
+ tableRowInteractiveBackgroundFocus: (0, _euiThemeCommon.computed)(function (_ref135) {
446
+ var _ref136 = _slicedToArray(_ref135, 1),
447
+ backgroundBaseInteractiveHover = _ref136[0];
427
448
  return backgroundBaseInteractiveHover;
428
- }, ['colors.backgroundBaseInteractiveHover'])
449
+ }, ['colors.backgroundBaseInteractiveHover']),
450
+ tableRowBackgroundMarked: _semantic_colors.SEMANTIC_COLORS.warning140,
451
+ tableRowBackgroundMarkedHover: _semantic_colors.SEMANTIC_COLORS.warning130
429
452
  })
430
453
  };
@@ -6,10 +6,17 @@ export declare const forms: {
6
6
  backgroundReadOnly: any;
7
7
  backgroundFocused: any;
8
8
  backgroundAutofilled: any;
9
+ backgroundDropping: string;
9
10
  prependBackground: any;
10
11
  border: any;
11
12
  borderDisabled: any;
13
+ borderFocused: any;
14
+ borderInvalid: any;
15
+ borderHovered: any;
16
+ borderInvalidHovered: any;
12
17
  borderAutofilled: any;
18
+ borderAutofilledHovered: any;
19
+ clearButtonBackground: string;
13
20
  controlBorder: any;
14
21
  controlBorderSelected: any;
15
22
  controlBorderDisabled: any;
@@ -20,15 +27,22 @@ export declare const forms: {
20
27
  iconDisabled: any;
21
28
  };
22
29
  DARK: {
30
+ clearButtonBackground: string;
23
31
  background: any;
24
32
  backgroundDisabled: any;
25
33
  backgroundReadOnly: any;
26
34
  backgroundFocused: any;
27
35
  backgroundAutofilled: any;
36
+ backgroundDropping: string;
28
37
  prependBackground: any;
29
38
  border: any;
30
39
  borderDisabled: any;
40
+ borderFocused: any;
41
+ borderInvalid: any;
42
+ borderHovered: any;
43
+ borderInvalidHovered: any;
31
44
  borderAutofilled: any;
45
+ borderAutofilledHovered: any;
32
46
  controlBorder: any;
33
47
  controlBorderSelected: any;
34
48
  controlBorderDisabled: any;
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  });
7
7
  exports.forms = void 0;
8
8
  var _euiThemeCommon = require("@elastic/eui-theme-common");
9
+ var _semantic_colors = require("./colors/_semantic_colors");
9
10
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10
11
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
11
12
  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
@@ -36,9 +37,9 @@ var _forms = {
36
37
  }, ['colors.backgroundBaseDisabled']),
37
38
  backgroundReadOnly: (0, _euiThemeCommon.computed)(function (_ref5) {
38
39
  var _ref6 = _slicedToArray(_ref5, 1),
39
- backgroundBasePlain = _ref6[0];
40
- return backgroundBasePlain;
41
- }, ['colors.backgroundBasePlain']),
40
+ backgroundBaseDisabled = _ref6[0];
41
+ return backgroundBaseDisabled;
42
+ }, ['colors.backgroundBaseDisabled']),
42
43
  backgroundFocused: (0, _euiThemeCommon.computed)(function (_ref7) {
43
44
  var _ref8 = _slicedToArray(_ref7, 1),
44
45
  backgroundBasePlain = _ref8[0];
@@ -49,6 +50,7 @@ var _forms = {
49
50
  backgroundBasePrimary = _ref10[0];
50
51
  return backgroundBasePrimary;
51
52
  }, ['colors.backgroundBasePrimary']),
53
+ backgroundDropping: _semantic_colors.SEMANTIC_COLORS.success70Alpha16,
52
54
  prependBackground: (0, _euiThemeCommon.computed)(function (_ref11) {
53
55
  var _ref12 = _slicedToArray(_ref11, 1),
54
56
  backgroundBaseFormsPrepend = _ref12[0];
@@ -64,53 +66,81 @@ var _forms = {
64
66
  borderBaseDisabled = _ref16[0];
65
67
  return borderBaseDisabled;
66
68
  }, ['colors.borderBaseDisabled']),
67
- borderAutofilled: (0, _euiThemeCommon.computed)(function (_ref17) {
69
+ borderFocused: (0, _euiThemeCommon.computed)(function (_ref17) {
68
70
  var _ref18 = _slicedToArray(_ref17, 1),
69
- borderBasePrimary = _ref18[0];
71
+ borderStrongPrimary = _ref18[0];
72
+ return borderStrongPrimary;
73
+ }, ['colors.borderStrongPrimary']),
74
+ borderInvalid: (0, _euiThemeCommon.computed)(function (_ref19) {
75
+ var _ref20 = _slicedToArray(_ref19, 1),
76
+ borderStrongDanger = _ref20[0];
77
+ return borderStrongDanger;
78
+ }, ['colors.borderStrongDanger']),
79
+ borderHovered: (0, _euiThemeCommon.computed)(function (_ref21) {
80
+ var _ref22 = _slicedToArray(_ref21, 1),
81
+ borderInteractiveFormsHoverPlain = _ref22[0];
82
+ return borderInteractiveFormsHoverPlain;
83
+ }, ['colors.borderInteractiveFormsHoverPlain']),
84
+ borderInvalidHovered: (0, _euiThemeCommon.computed)(function (_ref23) {
85
+ var _ref24 = _slicedToArray(_ref23, 1),
86
+ borderInteractiveFormsHoverDanger = _ref24[0];
87
+ return borderInteractiveFormsHoverDanger;
88
+ }, ['colors.borderInteractiveFormsHoverDanger']),
89
+ borderAutofilled: (0, _euiThemeCommon.computed)(function (_ref25) {
90
+ var _ref26 = _slicedToArray(_ref25, 1),
91
+ borderBasePrimary = _ref26[0];
70
92
  return borderBasePrimary;
71
93
  }, ['colors.borderBasePrimary']),
72
- controlBorder: (0, _euiThemeCommon.computed)(function (_ref19) {
73
- var _ref20 = _slicedToArray(_ref19, 1),
74
- borderBaseFormsControl = _ref20[0];
94
+ borderAutofilledHovered: (0, _euiThemeCommon.computed)(function (_ref27) {
95
+ var _ref28 = _slicedToArray(_ref27, 1),
96
+ borderStrongPrimary = _ref28[0];
97
+ return borderStrongPrimary;
98
+ }, ['colors.borderStrongPrimary']),
99
+ clearButtonBackground: _semantic_colors.SEMANTIC_COLORS.shade60,
100
+ controlBorder: (0, _euiThemeCommon.computed)(function (_ref29) {
101
+ var _ref30 = _slicedToArray(_ref29, 1),
102
+ borderBaseFormsControl = _ref30[0];
75
103
  return borderBaseFormsControl;
76
104
  }, ['colors.borderBaseFormsControl']),
77
- controlBorderSelected: (0, _euiThemeCommon.computed)(function (_ref21) {
78
- var _ref22 = _slicedToArray(_ref21, 1),
79
- borderStrongPrimary = _ref22[0];
105
+ controlBorderSelected: (0, _euiThemeCommon.computed)(function (_ref31) {
106
+ var _ref32 = _slicedToArray(_ref31, 1),
107
+ borderStrongPrimary = _ref32[0];
80
108
  return borderStrongPrimary;
81
109
  }, ['colors.borderStrongPrimary']),
82
- controlBorderDisabled: (0, _euiThemeCommon.computed)(function (_ref23) {
83
- var _ref24 = _slicedToArray(_ref23, 1),
84
- borderBaseDisabled = _ref24[0];
110
+ controlBorderDisabled: (0, _euiThemeCommon.computed)(function (_ref33) {
111
+ var _ref34 = _slicedToArray(_ref33, 1),
112
+ borderBaseDisabled = _ref34[0];
85
113
  return borderBaseDisabled;
86
114
  }, ['colors.borderBaseDisabled']),
87
115
  controlBackgroundUnselected: 'transparent',
88
- controlBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref25) {
89
- var _ref26 = _slicedToArray(_ref25, 1),
90
- backgroundBaseFormsControlDisabled = _ref26[0];
116
+ controlBackgroundDisabled: (0, _euiThemeCommon.computed)(function (_ref35) {
117
+ var _ref36 = _slicedToArray(_ref35, 1),
118
+ backgroundBaseFormsControlDisabled = _ref36[0];
91
119
  return backgroundBaseFormsControlDisabled;
92
120
  }, ['colors.backgroundBaseFormsControlDisabled']),
93
- colorHasPlaceholder: (0, _euiThemeCommon.computed)(function (_ref27) {
94
- var _ref28 = _slicedToArray(_ref27, 1),
95
- textSubdued = _ref28[0];
121
+ colorHasPlaceholder: (0, _euiThemeCommon.computed)(function (_ref37) {
122
+ var _ref38 = _slicedToArray(_ref37, 1),
123
+ textSubdued = _ref38[0];
96
124
  return textSubdued;
97
125
  }, ['colors.textSubdued']),
98
- colorDisabled: (0, _euiThemeCommon.computed)(function (_ref29) {
99
- var _ref30 = _slicedToArray(_ref29, 1),
100
- textDisabled = _ref30[0];
126
+ colorDisabled: (0, _euiThemeCommon.computed)(function (_ref39) {
127
+ var _ref40 = _slicedToArray(_ref39, 1),
128
+ textDisabled = _ref40[0];
101
129
  return textDisabled;
102
130
  }, ['colors.textDisabled']),
103
- iconDisabled: (0, _euiThemeCommon.computed)(function (_ref31) {
104
- var _ref32 = _slicedToArray(_ref31, 1),
105
- textDisabled = _ref32[0];
131
+ iconDisabled: (0, _euiThemeCommon.computed)(function (_ref41) {
132
+ var _ref42 = _slicedToArray(_ref41, 1),
133
+ textDisabled = _ref42[0];
106
134
  return textDisabled;
107
135
  }, ['colors.textDisabled'])
108
136
  };
109
- var _dark_forms = _objectSpread({}, _forms);
137
+ var _dark_forms = _objectSpread(_objectSpread({}, _forms), {}, {
138
+ clearButtonBackground: _semantic_colors.SEMANTIC_COLORS.shade90
139
+ });
110
140
  var forms = exports.forms = {
111
- maxWidth: (0, _euiThemeCommon.computed)(function (_ref33) {
112
- var _ref34 = _slicedToArray(_ref33, 1),
113
- base = _ref34[0];
141
+ maxWidth: (0, _euiThemeCommon.computed)(function (_ref43) {
142
+ var _ref44 = _slicedToArray(_ref43, 1),
143
+ base = _ref44[0];
114
144
  return (0, _euiThemeCommon.mathWithUnits)(base, function (x) {
115
145
  return x * 25;
116
146
  });
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.overrides = void 0;
7
7
  var _primitive_colors = require("./colors/_primitive_colors");
8
+ var _colors_vis_hcm = require("./colors/_colors_vis_hcm");
9
+ var _colors_severity_hcm = require("./colors/_colors_severity_hcm");
8
10
  /*
9
11
  * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
10
12
  * or more contributor license agreements. Licensed under the Elastic License
@@ -17,7 +19,11 @@ var overrides = exports.overrides = {
17
19
  HCM: {
18
20
  colors: {
19
21
  ink: _primitive_colors.PRIMITIVE_COLORS.black,
20
- ghost: _primitive_colors.PRIMITIVE_COLORS.white
22
+ ghost: _primitive_colors.PRIMITIVE_COLORS.white,
23
+ LIGHT: {
24
+ vis: _colors_vis_hcm.visColorsLightHighContrast,
25
+ severity: _colors_severity_hcm.severityColorsLightHighContrast
26
+ }
21
27
  }
22
28
  }
23
29
  };
@@ -144,6 +144,8 @@ var dark_border_colors = exports.dark_border_colors = {
144
144
  borderBaseFloating: _semantic_colors.SEMANTIC_COLORS.shade120,
145
145
  borderBaseFormsColorSwatch: _semantic_colors.SEMANTIC_COLORS.plainLightAlpha32,
146
146
  borderBaseFormsControl: _semantic_colors.SEMANTIC_COLORS.shade80,
147
+ borderInteractiveFormsHoverPlain: _semantic_colors.SEMANTIC_COLORS.shade90,
148
+ borderInteractiveFormsHoverDanger: _semantic_colors.SEMANTIC_COLORS.danger70,
147
149
  borderStrongPrimary: _semantic_colors.SEMANTIC_COLORS.primary60,
148
150
  borderStrongAccent: _semantic_colors.SEMANTIC_COLORS.accent60,
149
151
  borderStrongAccentSecondary: _semantic_colors.SEMANTIC_COLORS.accentSecondary60,