@elastic/eui 103.1.0 → 104.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/eui_theme_amsterdam_dark.json +13 -15
- package/dist/eui_theme_amsterdam_dark.json.d.ts +12 -14
- package/dist/eui_theme_amsterdam_light.json +14 -16
- package/dist/eui_theme_amsterdam_light.json.d.ts +12 -14
- package/dist/eui_theme_borealis_dark.json +10 -14
- package/dist/eui_theme_borealis_dark.json.d.ts +11 -15
- package/dist/eui_theme_borealis_light.json +10 -14
- package/dist/eui_theme_borealis_light.json.d.ts +11 -15
- package/es/components/copy/copy.js +6 -8
- package/es/components/datagrid/body/cell/data_grid_cell.styles.js +2 -2
- package/es/components/datagrid/data_grid.styles.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -2
- package/es/components/table/table_row.js +1 -1
- package/es/components/tabs/tab.styles.js +1 -4
- package/es/components/tabs/tabs.js +1 -2
- package/es/components/tabs/tabs.styles.js +1 -2
- package/es/services/color/eui_palettes.js +6 -2
- package/es/themes/amsterdam/global_styling/variables/_colors.js +325 -301
- package/es/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +33 -0
- package/es/themes/amsterdam/global_styling/variables/{_colors_vis.js → _colors_vis_light.js} +16 -16
- package/es/themes/amsterdam/global_styling/variables/_components.js +293 -258
- package/es/themes/index.js +3 -1
- package/es/themes/json/eui_theme_amsterdam_dark.json +13 -15
- package/es/themes/json/eui_theme_amsterdam_light.json +14 -16
- package/es/themes/json/eui_theme_borealis_dark.json +10 -14
- package/es/themes/json/eui_theme_borealis_light.json +10 -14
- package/eui.d.ts +66 -67
- package/lib/components/copy/copy.js +6 -8
- package/lib/components/datagrid/body/cell/data_grid_cell.styles.js +2 -2
- package/lib/components/datagrid/data_grid.styles.js +1 -1
- package/lib/components/page/page_header/page_header_content.js +1 -2
- package/lib/components/table/table_row.js +1 -1
- package/lib/components/tabs/tab.styles.js +1 -4
- package/lib/components/tabs/tabs.js +1 -2
- package/lib/components/tabs/tabs.styles.js +1 -2
- package/lib/services/color/eui_palettes.js +6 -2
- package/lib/themes/amsterdam/global_styling/variables/_colors.js +325 -301
- package/lib/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +37 -0
- package/{test-env/themes/amsterdam/global_styling/variables/_colors_vis.js → lib/themes/amsterdam/global_styling/variables/_colors_vis_light.js} +17 -17
- package/lib/themes/amsterdam/global_styling/variables/_components.js +305 -270
- package/lib/themes/index.js +17 -2
- package/lib/themes/json/eui_theme_amsterdam_dark.json +13 -15
- package/lib/themes/json/eui_theme_amsterdam_light.json +14 -16
- package/lib/themes/json/eui_theme_borealis_dark.json +10 -14
- package/lib/themes/json/eui_theme_borealis_light.json +10 -14
- package/optimize/es/components/copy/copy.js +2 -7
- package/optimize/es/components/datagrid/body/cell/data_grid_cell.styles.js +2 -2
- package/optimize/es/components/datagrid/data_grid.styles.js +1 -1
- package/optimize/es/components/page/page_header/page_header_content.js +1 -2
- package/optimize/es/components/table/table_row.js +1 -1
- package/optimize/es/components/tabs/tab.styles.js +1 -4
- package/optimize/es/components/tabs/tabs.js +1 -1
- package/optimize/es/components/tabs/tabs.styles.js +1 -2
- package/optimize/es/services/color/eui_palettes.js +6 -2
- package/optimize/es/themes/amsterdam/global_styling/variables/_colors.js +325 -301
- package/optimize/es/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +30 -0
- package/optimize/es/themes/amsterdam/global_styling/variables/{_colors_vis.js → _colors_vis_light.js} +16 -16
- package/optimize/es/themes/amsterdam/global_styling/variables/_components.js +293 -258
- package/optimize/es/themes/index.js +3 -1
- package/optimize/es/themes/json/eui_theme_amsterdam_dark.json +13 -15
- package/optimize/es/themes/json/eui_theme_amsterdam_light.json +14 -16
- package/optimize/es/themes/json/eui_theme_borealis_dark.json +10 -14
- package/optimize/es/themes/json/eui_theme_borealis_light.json +10 -14
- package/optimize/lib/components/copy/copy.js +2 -7
- package/optimize/lib/components/datagrid/body/cell/data_grid_cell.styles.js +2 -2
- package/optimize/lib/components/datagrid/data_grid.styles.js +1 -1
- package/optimize/lib/components/page/page_header/page_header_content.js +1 -2
- package/optimize/lib/components/table/table_row.js +1 -1
- package/optimize/lib/components/tabs/tab.styles.js +1 -4
- package/optimize/lib/components/tabs/tabs.js +1 -1
- package/optimize/lib/components/tabs/tabs.styles.js +1 -2
- package/optimize/lib/services/color/eui_palettes.js +6 -2
- package/optimize/lib/themes/amsterdam/global_styling/variables/_colors.js +325 -301
- package/optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +35 -0
- package/{lib/themes/amsterdam/global_styling/variables/_colors_vis.js → optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis_light.js} +17 -17
- package/optimize/lib/themes/amsterdam/global_styling/variables/_components.js +305 -270
- package/optimize/lib/themes/index.js +17 -2
- package/optimize/lib/themes/json/eui_theme_amsterdam_dark.json +13 -15
- package/optimize/lib/themes/json/eui_theme_amsterdam_light.json +14 -16
- package/optimize/lib/themes/json/eui_theme_borealis_dark.json +10 -14
- package/optimize/lib/themes/json/eui_theme_borealis_light.json +10 -14
- package/package.json +4 -4
- package/src/themes/amsterdam/_colors_dark.scss +2 -0
- package/src/themes/amsterdam/_colors_light.scss +2 -0
- package/src/themes/amsterdam/global_styling/variables/_colors_vis_dark.scss +14 -0
- package/src/themes/amsterdam/global_styling/variables/_colors_vis_light.scss +14 -0
- package/test-env/components/copy/copy.js +6 -7
- package/test-env/components/datagrid/body/cell/data_grid_cell.styles.js +2 -2
- package/test-env/components/datagrid/data_grid.styles.js +1 -1
- package/test-env/components/page/page_header/page_header_content.js +1 -2
- package/test-env/components/table/table_row.js +1 -1
- package/test-env/components/tabs/tab.styles.js +1 -4
- package/test-env/components/tabs/tabs.js +1 -2
- package/test-env/components/tabs/tabs.styles.js +1 -2
- package/test-env/services/color/eui_palettes.js +6 -2
- package/test-env/themes/amsterdam/global_styling/variables/_colors.js +325 -301
- package/test-env/themes/amsterdam/global_styling/variables/_colors_vis_dark.js +35 -0
- package/{optimize/lib/themes/amsterdam/global_styling/variables/_colors_vis.js → test-env/themes/amsterdam/global_styling/variables/_colors_vis_light.js} +17 -17
- package/test-env/themes/amsterdam/global_styling/variables/_components.js +305 -270
- package/test-env/themes/index.js +17 -2
- package/test-env/themes/json/eui_theme_amsterdam_dark.json +13 -15
- package/test-env/themes/json/eui_theme_amsterdam_light.json +14 -16
- package/test-env/themes/json/eui_theme_borealis_dark.json +10 -14
- package/test-env/themes/json/eui_theme_borealis_light.json +10 -14
package/es/themes/index.js
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* in compliance with, at your election, the Elastic License 2.0 or the Server
|
|
6
6
|
* Side Public License, v 1.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
import { colorVisLight } from './amsterdam/global_styling/variables/_colors_vis_light';
|
|
9
|
+
import { colorVisDark } from './amsterdam/global_styling/variables/_colors_vis_dark';
|
|
10
|
+
export { colorVisLight as colorVis, colorVisLight, colorVisDark };
|
|
9
11
|
export { AMSTERDAM_NAME_KEY, EuiThemeAmsterdam } from './amsterdam/theme';
|
|
10
12
|
export * from './amsterdam';
|
|
@@ -282,20 +282,16 @@
|
|
|
282
282
|
"euiColorVis7_behindText": "#F5A35C",
|
|
283
283
|
"euiColorVis8_behindText": "#C47C6C",
|
|
284
284
|
"euiColorVis9_behindText": "#FF7E62",
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"euiColorVisAsTextDark3": "#F66",
|
|
296
|
-
"euiColorVisAsTextDark4": "#FFCE7A",
|
|
297
|
-
"euiColorVisAsTextDark5": "#1BA9F5",
|
|
298
|
-
"euiColorVisAsTextDark6": "#7DE2D1",
|
|
285
|
+
"euiColorVisText0": "#7DE2D1",
|
|
286
|
+
"euiColorVisText1": "#1BA9F5",
|
|
287
|
+
"euiColorVisText2": "#F990C0",
|
|
288
|
+
"euiColorVisText3": "#BA9FDA",
|
|
289
|
+
"euiColorVisText4": "#E9B8D2",
|
|
290
|
+
"euiColorVisText5": "#F4E08C",
|
|
291
|
+
"euiColorVisText6": "#DBCDB3",
|
|
292
|
+
"euiColorVisText7": "#FFCE7A",
|
|
293
|
+
"euiColorVisText8": "#D09689",
|
|
294
|
+
"euiColorVisText9": "#F66",
|
|
299
295
|
"euiColorVisSuccess0": "#209280",
|
|
300
296
|
"euiColorVisSuccess1": "#54B399",
|
|
301
297
|
"euiColorVisWarning0": "#D6BF57",
|
|
@@ -381,6 +377,7 @@
|
|
|
381
377
|
"euiColorBackgroundBaseFormsControlDisabled": "#535966",
|
|
382
378
|
"euiColorBackgroundBaseInteractiveHover": "rgba(52,55,65,0.2)",
|
|
383
379
|
"euiColorBackgroundBaseInteractiveSelect": "#103148",
|
|
380
|
+
"euiColorBackgroundBaseInteractiveSelectHover": "#164160",
|
|
384
381
|
"euiColorBackgroundBaseInteractiveOverlay": "rgba(0,0,0,0.5)",
|
|
385
382
|
"euiColorBackgroundBaseSkeletonEdge": "#2e3039",
|
|
386
383
|
"euiColorBackgroundBaseSkeletonMiddle": "#282a31",
|
|
@@ -423,5 +420,6 @@
|
|
|
423
420
|
"euiColorBorderStrongSuccess": "#7DDED8",
|
|
424
421
|
"euiColorBorderStrongWarning": "#F3D371",
|
|
425
422
|
"euiColorBorderStrongRisk": "#E1A26A",
|
|
426
|
-
"euiColorBorderStrongDanger": "#F86B63"
|
|
423
|
+
"euiColorBorderStrongDanger": "#F86B63",
|
|
424
|
+
"euiColorBorderStrongText": "#98A2B3"
|
|
427
425
|
}
|
|
@@ -282,20 +282,16 @@
|
|
|
282
282
|
"euiColorVis7_behindText": "#F5A35C",
|
|
283
283
|
"euiColorVis8_behindText": "#C47C6C",
|
|
284
284
|
"euiColorVis9_behindText": "#FF7E62",
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"euiColorVisAsTextDark3": "#F66",
|
|
296
|
-
"euiColorVisAsTextDark4": "#FFCE7A",
|
|
297
|
-
"euiColorVisAsTextDark5": "#1BA9F5",
|
|
298
|
-
"euiColorVisAsTextDark6": "#7DE2D1",
|
|
285
|
+
"euiColorVisText0": "#017D73",
|
|
286
|
+
"euiColorVisText1": "#006BB4",
|
|
287
|
+
"euiColorVisText2": "#DD0A73",
|
|
288
|
+
"euiColorVisText3": "#745A93",
|
|
289
|
+
"euiColorVisText4": "#A2728B",
|
|
290
|
+
"euiColorVisText5": "#AB9946",
|
|
291
|
+
"euiColorVisText6": "#94866D",
|
|
292
|
+
"euiColorVisText7": "#F5A700",
|
|
293
|
+
"euiColorVisText8": "#885145",
|
|
294
|
+
"euiColorVisText9": "#BD271E",
|
|
299
295
|
"euiColorVisSuccess0": "#209280",
|
|
300
296
|
"euiColorVisSuccess1": "#54B399",
|
|
301
297
|
"euiColorVisWarning0": "#D6BF57",
|
|
@@ -380,7 +376,8 @@
|
|
|
380
376
|
"euiColorBackgroundBaseFormsPrepend": "#e9edf3",
|
|
381
377
|
"euiColorBackgroundBaseFormsControlDisabled": "#98A2B3",
|
|
382
378
|
"euiColorBackgroundBaseInteractiveHover": "rgba(211,218,230,0.2)",
|
|
383
|
-
"euiColorBackgroundBaseInteractiveSelect": "#
|
|
379
|
+
"euiColorBackgroundBaseInteractiveSelect": "#f7fbfe",
|
|
380
|
+
"euiColorBackgroundBaseInteractiveSelectHover": "#d7ecfc",
|
|
384
381
|
"euiColorBackgroundBaseInteractiveOverlay": "rgba(0,0,0,0.5)",
|
|
385
382
|
"euiColorBackgroundBaseSkeletonEdge": "#f0f2f6",
|
|
386
383
|
"euiColorBackgroundBaseSkeletonMiddle": "#f6f8fa",
|
|
@@ -423,5 +420,6 @@
|
|
|
423
420
|
"euiColorBorderStrongSuccess": "#00BFB3",
|
|
424
421
|
"euiColorBorderStrongWarning": "#FEC514",
|
|
425
422
|
"euiColorBorderStrongRisk": "#DA8B45",
|
|
426
|
-
"euiColorBorderStrongDanger": "#BD271E"
|
|
423
|
+
"euiColorBorderStrongDanger": "#BD271E",
|
|
424
|
+
"euiColorBorderStrongText": "#69707D"
|
|
427
425
|
}
|
|
@@ -282,20 +282,16 @@
|
|
|
282
282
|
"euiColorVis7_behindText": "#FFC9C2",
|
|
283
283
|
"euiColorVis8_behindText": "#EAAE01",
|
|
284
284
|
"euiColorVis9_behindText": "#FCD883",
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"euiColorVisAsTextDark3": "#F6726A",
|
|
296
|
-
"euiColorVisAsTextDark4": "#EAAE01",
|
|
297
|
-
"euiColorVisAsTextDark5": "#24C292",
|
|
298
|
-
"euiColorVisAsTextDark6": "#B084F5",
|
|
285
|
+
"euiColorVisText0": "#16C5C0",
|
|
286
|
+
"euiColorVisText1": "#A6EDEA",
|
|
287
|
+
"euiColorVisText2": "#61A2FF",
|
|
288
|
+
"euiColorVisText3": "#BFDBFF",
|
|
289
|
+
"euiColorVisText4": "#EE72A6",
|
|
290
|
+
"euiColorVisText5": "#FFC7DB",
|
|
291
|
+
"euiColorVisText6": "#F6726A",
|
|
292
|
+
"euiColorVisText7": "#FFC9C2",
|
|
293
|
+
"euiColorVisText8": "#EAAE01",
|
|
294
|
+
"euiColorVisText9": "#FCD883",
|
|
299
295
|
"euiColorVisSuccess0": "#24C292",
|
|
300
296
|
"euiColorVisSuccess1": "#AEE8D2",
|
|
301
297
|
"euiColorVisWarning0": "#FCD883",
|
|
@@ -282,20 +282,16 @@
|
|
|
282
282
|
"euiColorVis7_behindText": "#FFC9C2",
|
|
283
283
|
"euiColorVis8_behindText": "#EAAE01",
|
|
284
284
|
"euiColorVis9_behindText": "#FCD883",
|
|
285
|
-
"
|
|
286
|
-
"
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
"
|
|
290
|
-
"
|
|
291
|
-
"
|
|
292
|
-
"
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"euiColorVisAsTextDark3": "#F6726A",
|
|
296
|
-
"euiColorVisAsTextDark4": "#EAAE01",
|
|
297
|
-
"euiColorVisAsTextDark5": "#24C292",
|
|
298
|
-
"euiColorVisAsTextDark6": "#B084F5",
|
|
285
|
+
"euiColorVisText0": "#065B58",
|
|
286
|
+
"euiColorVisText1": "#047471",
|
|
287
|
+
"euiColorVisText2": "#154399",
|
|
288
|
+
"euiColorVisText3": "#0B64DD",
|
|
289
|
+
"euiColorVisText4": "#A11262",
|
|
290
|
+
"euiColorVisText5": "#D13680",
|
|
291
|
+
"euiColorVisText6": "#A71627",
|
|
292
|
+
"euiColorVisText7": "#DA3737",
|
|
293
|
+
"euiColorVisText8": "#6A4906",
|
|
294
|
+
"euiColorVisText9": "#966B03",
|
|
299
295
|
"euiColorVisSuccess0": "#24C292",
|
|
300
296
|
"euiColorVisSuccess1": "#AEE8D2",
|
|
301
297
|
"euiColorVisWarning0": "#FCD883",
|
package/eui.d.ts
CHANGED
|
@@ -669,11 +669,15 @@ declare module '@elastic/eui/src/services/color/eui_palettes' {
|
|
|
669
669
|
*/
|
|
670
670
|
export const euiPaletteColorBlindBehindText: (paletteProps?: EuiPaletteColorBlindProps) => string[];
|
|
671
671
|
/**
|
|
672
|
+
* @deprecated - use `euiColorVisText{NUMBER}` tokens directly
|
|
673
|
+
*
|
|
672
674
|
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
673
675
|
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
674
676
|
*/
|
|
675
677
|
export const euiPaletteForLightBackground: ({ colors, }?: EuiPaletteCommonProps) => EuiPalette;
|
|
676
678
|
/**
|
|
679
|
+
* @deprecated - use `euiColorVisText{NUMBER}` tokens directly
|
|
680
|
+
*
|
|
677
681
|
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
678
682
|
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
679
683
|
*/
|
|
@@ -11221,7 +11225,7 @@ declare module '@elastic/eui/src/components/copy/copy' {
|
|
|
11221
11225
|
import React, { Component, ReactElement, ReactNode } from 'react';
|
|
11222
11226
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
11223
11227
|
import { EuiToolTipProps } from '@elastic/eui/src/components/tool_tip';
|
|
11224
|
-
export interface EuiCopyProps extends CommonProps
|
|
11228
|
+
export interface EuiCopyProps extends CommonProps {
|
|
11225
11229
|
/**
|
|
11226
11230
|
* Text that will be copied to clipboard when copy function is executed.
|
|
11227
11231
|
*/
|
|
@@ -11240,6 +11244,10 @@ declare module '@elastic/eui/src/components/copy/copy' {
|
|
|
11240
11244
|
* Use your own logic to create the component that users interact with when triggering copy.
|
|
11241
11245
|
*/
|
|
11242
11246
|
children(copy: () => void): ReactElement;
|
|
11247
|
+
/**
|
|
11248
|
+
* Optional props to pass to the EuiToolTip component.
|
|
11249
|
+
*/
|
|
11250
|
+
tooltipProps?: Partial<Omit<EuiToolTipProps, 'children' | 'content' | 'onMouseOut'>>;
|
|
11243
11251
|
}
|
|
11244
11252
|
interface EuiCopyState {
|
|
11245
11253
|
tooltipText: ReactNode;
|
|
@@ -12555,9 +12563,14 @@ declare module '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav
|
|
|
12555
12563
|
export { EuiCollapsibleNavButton } from '@elastic/eui/src/components/collapsible_nav_beta/collapsible_nav_button/collapsible_nav_button';
|
|
12556
12564
|
|
|
12557
12565
|
}
|
|
12558
|
-
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/
|
|
12566
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light' {
|
|
12559
12567
|
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12560
|
-
export const
|
|
12568
|
+
export const colorVisLight: _EuiThemeVisColors;
|
|
12569
|
+
|
|
12570
|
+
}
|
|
12571
|
+
declare module '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark' {
|
|
12572
|
+
import { _EuiThemeVisColors } from '@elastic/eui-theme-common';
|
|
12573
|
+
export const colorVisDark: _EuiThemeVisColors;
|
|
12561
12574
|
|
|
12562
12575
|
}
|
|
12563
12576
|
declare module '@elastic/eui/src/themes/themes' {
|
|
@@ -12715,7 +12728,9 @@ declare module '@elastic/eui/src/themes/amsterdam' {
|
|
|
12715
12728
|
|
|
12716
12729
|
}
|
|
12717
12730
|
declare module '@elastic/eui/src/themes' {
|
|
12718
|
-
|
|
12731
|
+
import { colorVisLight } from '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_light';
|
|
12732
|
+
import { colorVisDark } from '@elastic/eui/src/themes/amsterdam/global_styling/variables/_colors_vis_dark';
|
|
12733
|
+
export { colorVisLight as colorVis, colorVisLight, colorVisDark };
|
|
12719
12734
|
export type { EUI_THEME } from '@elastic/eui/src/themes/themes';
|
|
12720
12735
|
export { AMSTERDAM_NAME_KEY, EuiThemeAmsterdam } from '@elastic/eui/src/themes/amsterdam/theme';
|
|
12721
12736
|
export * from '@elastic/eui/src/themes/amsterdam';
|
|
@@ -17616,7 +17631,6 @@ declare module '@elastic/eui/src/components/tabs/tab.styles' {
|
|
|
17616
17631
|
s: import("@emotion/react").SerializedStyles;
|
|
17617
17632
|
m: import("@emotion/react").SerializedStyles;
|
|
17618
17633
|
l: import("@emotion/react").SerializedStyles;
|
|
17619
|
-
xl: import("@emotion/react").SerializedStyles;
|
|
17620
17634
|
};
|
|
17621
17635
|
|
|
17622
17636
|
}
|
|
@@ -17628,14 +17642,13 @@ declare module '@elastic/eui/src/components/tabs/tabs.styles' {
|
|
|
17628
17642
|
s: import("@emotion/react").SerializedStyles;
|
|
17629
17643
|
m: import("@emotion/react").SerializedStyles;
|
|
17630
17644
|
l: import("@emotion/react").SerializedStyles;
|
|
17631
|
-
xl: import("@emotion/react").SerializedStyles;
|
|
17632
17645
|
};
|
|
17633
17646
|
|
|
17634
17647
|
}
|
|
17635
17648
|
declare module '@elastic/eui/src/components/tabs/tabs' {
|
|
17636
17649
|
import React, { HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
17637
17650
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
17638
|
-
export const SIZES: readonly ["s", "m", "l"
|
|
17651
|
+
export const SIZES: readonly ["s", "m", "l"];
|
|
17639
17652
|
export type EuiTabsSizes = (typeof SIZES)[number];
|
|
17640
17653
|
export type EuiTabsProps = HTMLAttributes<HTMLDivElement> & PropsWithChildren & CommonProps & {
|
|
17641
17654
|
/**
|
|
@@ -17653,7 +17666,6 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
|
|
|
17653
17666
|
bottomBorder?: boolean;
|
|
17654
17667
|
/**
|
|
17655
17668
|
* Sizes affect both font size and overall size.
|
|
17656
|
-
* Only use the `xl` size when displayed as page titles.
|
|
17657
17669
|
*/
|
|
17658
17670
|
size?: EuiTabsSizes;
|
|
17659
17671
|
};
|
|
@@ -17676,7 +17688,6 @@ declare module '@elastic/eui/src/components/tabs/tabs' {
|
|
|
17676
17688
|
bottomBorder?: boolean;
|
|
17677
17689
|
/**
|
|
17678
17690
|
* Sizes affect both font size and overall size.
|
|
17679
|
-
* Only use the `xl` size when displayed as page titles.
|
|
17680
17691
|
*/
|
|
17681
17692
|
size?: EuiTabsSizes;
|
|
17682
17693
|
} & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -31781,20 +31792,16 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
|
|
|
31781
31792
|
euiColorVis7_behindText: string;
|
|
31782
31793
|
euiColorVis8_behindText: string;
|
|
31783
31794
|
euiColorVis9_behindText: string;
|
|
31784
|
-
|
|
31785
|
-
|
|
31786
|
-
|
|
31787
|
-
|
|
31788
|
-
|
|
31789
|
-
|
|
31790
|
-
|
|
31791
|
-
|
|
31792
|
-
|
|
31793
|
-
|
|
31794
|
-
euiColorVisAsTextDark3: string;
|
|
31795
|
-
euiColorVisAsTextDark4: string;
|
|
31796
|
-
euiColorVisAsTextDark5: string;
|
|
31797
|
-
euiColorVisAsTextDark6: string;
|
|
31795
|
+
euiColorVisText0: string;
|
|
31796
|
+
euiColorVisText1: string;
|
|
31797
|
+
euiColorVisText2: string;
|
|
31798
|
+
euiColorVisText3: string;
|
|
31799
|
+
euiColorVisText4: string;
|
|
31800
|
+
euiColorVisText5: string;
|
|
31801
|
+
euiColorVisText6: string;
|
|
31802
|
+
euiColorVisText7: string;
|
|
31803
|
+
euiColorVisText8: string;
|
|
31804
|
+
euiColorVisText9: string;
|
|
31798
31805
|
euiColorVisSuccess0: string;
|
|
31799
31806
|
euiColorVisSuccess1: string;
|
|
31800
31807
|
euiColorVisWarning0: string;
|
|
@@ -31880,6 +31887,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
|
|
|
31880
31887
|
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
31881
31888
|
euiColorBackgroundBaseInteractiveHover: string;
|
|
31882
31889
|
euiColorBackgroundBaseInteractiveSelect: string;
|
|
31890
|
+
euiColorBackgroundBaseInteractiveSelectHover: string;
|
|
31883
31891
|
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
31884
31892
|
euiColorBackgroundBaseSkeletonEdge: string;
|
|
31885
31893
|
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
@@ -31923,6 +31931,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
|
|
|
31923
31931
|
euiColorBorderStrongWarning: string;
|
|
31924
31932
|
euiColorBorderStrongRisk: string;
|
|
31925
31933
|
euiColorBorderStrongDanger: string;
|
|
31934
|
+
euiColorBorderStrongText: string;
|
|
31926
31935
|
};
|
|
31927
31936
|
export default sassVariables;
|
|
31928
31937
|
}
|
|
@@ -32211,20 +32220,16 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
|
32211
32220
|
euiColorVis7_behindText: string;
|
|
32212
32221
|
euiColorVis8_behindText: string;
|
|
32213
32222
|
euiColorVis9_behindText: string;
|
|
32214
|
-
|
|
32215
|
-
|
|
32216
|
-
|
|
32217
|
-
|
|
32218
|
-
|
|
32219
|
-
|
|
32220
|
-
|
|
32221
|
-
|
|
32222
|
-
|
|
32223
|
-
|
|
32224
|
-
euiColorVisAsTextDark3: string;
|
|
32225
|
-
euiColorVisAsTextDark4: string;
|
|
32226
|
-
euiColorVisAsTextDark5: string;
|
|
32227
|
-
euiColorVisAsTextDark6: string;
|
|
32223
|
+
euiColorVisText0: string;
|
|
32224
|
+
euiColorVisText1: string;
|
|
32225
|
+
euiColorVisText2: string;
|
|
32226
|
+
euiColorVisText3: string;
|
|
32227
|
+
euiColorVisText4: string;
|
|
32228
|
+
euiColorVisText5: string;
|
|
32229
|
+
euiColorVisText6: string;
|
|
32230
|
+
euiColorVisText7: string;
|
|
32231
|
+
euiColorVisText8: string;
|
|
32232
|
+
euiColorVisText9: string;
|
|
32228
32233
|
euiColorVisSuccess0: string;
|
|
32229
32234
|
euiColorVisSuccess1: string;
|
|
32230
32235
|
euiColorVisWarning0: string;
|
|
@@ -32310,6 +32315,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
|
32310
32315
|
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
32311
32316
|
euiColorBackgroundBaseInteractiveHover: string;
|
|
32312
32317
|
euiColorBackgroundBaseInteractiveSelect: string;
|
|
32318
|
+
euiColorBackgroundBaseInteractiveSelectHover: string;
|
|
32313
32319
|
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
32314
32320
|
euiColorBackgroundBaseSkeletonEdge: string;
|
|
32315
32321
|
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
@@ -32353,10 +32359,11 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
|
32353
32359
|
euiColorBorderStrongWarning: string;
|
|
32354
32360
|
euiColorBorderStrongRisk: string;
|
|
32355
32361
|
euiColorBorderStrongDanger: string;
|
|
32362
|
+
euiColorBorderStrongText: string;
|
|
32356
32363
|
};
|
|
32357
32364
|
export default sassVariables;
|
|
32358
32365
|
}
|
|
32359
|
-
declare module '@elastic/eui/
|
|
32366
|
+
declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_dark.json' {
|
|
32360
32367
|
const sassVariables: {
|
|
32361
32368
|
euiZDataGrid: number;
|
|
32362
32369
|
euiZHeaderBelowDataGrid: number;
|
|
@@ -32641,20 +32648,16 @@ declare module '@elastic/eui/dist/eui_theme_borealis_dark.json' {
|
|
|
32641
32648
|
euiColorVis7_behindText: string;
|
|
32642
32649
|
euiColorVis8_behindText: string;
|
|
32643
32650
|
euiColorVis9_behindText: string;
|
|
32644
|
-
|
|
32645
|
-
|
|
32646
|
-
|
|
32647
|
-
|
|
32648
|
-
|
|
32649
|
-
|
|
32650
|
-
|
|
32651
|
-
|
|
32652
|
-
|
|
32653
|
-
|
|
32654
|
-
euiColorVisAsTextDark3: string;
|
|
32655
|
-
euiColorVisAsTextDark4: string;
|
|
32656
|
-
euiColorVisAsTextDark5: string;
|
|
32657
|
-
euiColorVisAsTextDark6: string;
|
|
32651
|
+
euiColorVisText0: string;
|
|
32652
|
+
euiColorVisText1: string;
|
|
32653
|
+
euiColorVisText2: string;
|
|
32654
|
+
euiColorVisText3: string;
|
|
32655
|
+
euiColorVisText4: string;
|
|
32656
|
+
euiColorVisText5: string;
|
|
32657
|
+
euiColorVisText6: string;
|
|
32658
|
+
euiColorVisText7: string;
|
|
32659
|
+
euiColorVisText8: string;
|
|
32660
|
+
euiColorVisText9: string;
|
|
32658
32661
|
euiColorVisSuccess0: string;
|
|
32659
32662
|
euiColorVisSuccess1: string;
|
|
32660
32663
|
euiColorVisWarning0: string;
|
|
@@ -32786,7 +32789,7 @@ declare module '@elastic/eui/dist/eui_theme_borealis_dark.json' {
|
|
|
32786
32789
|
};
|
|
32787
32790
|
export default sassVariables;
|
|
32788
32791
|
}
|
|
32789
|
-
declare module '@elastic/eui/
|
|
32792
|
+
declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_light.json' {
|
|
32790
32793
|
const sassVariables: {
|
|
32791
32794
|
euiZDataGrid: number;
|
|
32792
32795
|
euiZHeaderBelowDataGrid: number;
|
|
@@ -33071,20 +33074,16 @@ declare module '@elastic/eui/dist/eui_theme_borealis_light.json' {
|
|
|
33071
33074
|
euiColorVis7_behindText: string;
|
|
33072
33075
|
euiColorVis8_behindText: string;
|
|
33073
33076
|
euiColorVis9_behindText: string;
|
|
33074
|
-
|
|
33075
|
-
|
|
33076
|
-
|
|
33077
|
-
|
|
33078
|
-
|
|
33079
|
-
|
|
33080
|
-
|
|
33081
|
-
|
|
33082
|
-
|
|
33083
|
-
|
|
33084
|
-
euiColorVisAsTextDark3: string;
|
|
33085
|
-
euiColorVisAsTextDark4: string;
|
|
33086
|
-
euiColorVisAsTextDark5: string;
|
|
33087
|
-
euiColorVisAsTextDark6: string;
|
|
33077
|
+
euiColorVisText0: string;
|
|
33078
|
+
euiColorVisText1: string;
|
|
33079
|
+
euiColorVisText2: string;
|
|
33080
|
+
euiColorVisText3: string;
|
|
33081
|
+
euiColorVisText4: string;
|
|
33082
|
+
euiColorVisText5: string;
|
|
33083
|
+
euiColorVisText6: string;
|
|
33084
|
+
euiColorVisText7: string;
|
|
33085
|
+
euiColorVisText8: string;
|
|
33086
|
+
euiColorVisText9: string;
|
|
33088
33087
|
euiColorVisSuccess0: string;
|
|
33089
33088
|
euiColorVisSuccess1: string;
|
|
33090
33089
|
euiColorVisWarning0: string;
|
|
@@ -9,14 +9,11 @@ var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
|
9
9
|
var _services = require("../../services");
|
|
10
10
|
var _tool_tip = require("../tool_tip");
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
|
-
var _excluded = ["children", "textToCopy", "beforeMessage", "afterMessage"];
|
|
13
12
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
14
13
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
15
14
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
16
15
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
17
16
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
18
|
-
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
19
|
-
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
20
17
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
21
18
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
22
19
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
@@ -65,17 +62,14 @@ var EuiCopy = exports.EuiCopy = /*#__PURE__*/function (_Component) {
|
|
|
65
62
|
value: function render() {
|
|
66
63
|
var _this$props = this.props,
|
|
67
64
|
children = _this$props.children,
|
|
68
|
-
|
|
69
|
-
beforeMessage = _this$props.beforeMessage,
|
|
70
|
-
afterMessage = _this$props.afterMessage,
|
|
71
|
-
rest = _objectWithoutProperties(_this$props, _excluded);
|
|
65
|
+
tooltipProps = _this$props.tooltipProps;
|
|
72
66
|
return (
|
|
73
67
|
// See `src/components/tool_tip/tool_tip.js` for explanation of below eslint-disable
|
|
74
68
|
// eslint-disable-next-line jsx-a11y/mouse-events-have-key-events
|
|
75
69
|
(0, _react2.jsx)(_tool_tip.EuiToolTip, _extends({
|
|
76
70
|
content: this.state.tooltipText,
|
|
77
71
|
onMouseOut: this.resetTooltipText
|
|
78
|
-
},
|
|
72
|
+
}, tooltipProps), children(this.copy))
|
|
79
73
|
);
|
|
80
74
|
}
|
|
81
75
|
}]);
|
|
@@ -102,6 +96,10 @@ EuiCopy.propTypes = {
|
|
|
102
96
|
* Use your own logic to create the component that users interact with when triggering copy.
|
|
103
97
|
*/
|
|
104
98
|
children: _propTypes.default.func.isRequired,
|
|
99
|
+
/**
|
|
100
|
+
* Optional props to pass to the EuiToolTip component.
|
|
101
|
+
*/
|
|
102
|
+
tooltipProps: _propTypes.default.any,
|
|
105
103
|
className: _propTypes.default.string,
|
|
106
104
|
"aria-label": _propTypes.default.string,
|
|
107
105
|
"data-test-subj": _propTypes.default.string,
|
|
@@ -15,8 +15,8 @@ function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringif
|
|
|
15
15
|
*/
|
|
16
16
|
var euiDataGridCellOutlineStyles = exports.euiDataGridCellOutlineStyles = function euiDataGridCellOutlineStyles(_ref2) {
|
|
17
17
|
var euiTheme = _ref2.euiTheme;
|
|
18
|
-
var focusColor = euiTheme.colors.
|
|
19
|
-
var hoverColor = euiTheme.colors.
|
|
18
|
+
var focusColor = euiTheme.colors.borderStrongPrimary;
|
|
19
|
+
var hoverColor = euiTheme.colors.borderStrongText;
|
|
20
20
|
var outlineWidth = euiTheme.border.width.thick;
|
|
21
21
|
var borderRadius = (0, _global_styling.mathWithUnits)(euiTheme.border.radius.medium, function (x) {
|
|
22
22
|
return x / 2;
|
|
@@ -55,7 +55,7 @@ var euiDataGridStyles = exports.euiDataGridStyles = function euiDataGridStyles(e
|
|
|
55
55
|
};
|
|
56
56
|
var border = "".concat(euiTheme.border.width.thin, " solid ").concat(borderColors.default);
|
|
57
57
|
return {
|
|
58
|
-
euiDataGrid: /*#__PURE__*/(0, _react.css)("display:flex;flex-direction:column;align-items:stretch;", (0, _global_styling.logicalCSS)('height', '100%'), " overflow:hidden;*:where(& .euiDataGridRow){background-color:", euiTheme.
|
|
58
|
+
euiDataGrid: /*#__PURE__*/(0, _react.css)("display:flex;flex-direction:column;align-items:stretch;", (0, _global_styling.logicalCSS)('height', '100%'), " overflow:hidden;*:where(& .euiDataGridRow){background-color:", euiTheme.components.dataGridRowBackground, ";}*:where(&.euiDataGrid--rowHoverHighlight .euiDataGridRow:hover){background-color:", euiTheme.components.dataGridRowBackgroundHover, ";}*:where(& .euiDataGridRow--selected){background-color:", euiTheme.components.dataGridRowBackgroundSelect, ";}*:where(\n &.euiDataGrid--rowHoverHighlight .euiDataGridRow--selected:hover\n ){background-color:", euiTheme.components.dataGridRowBackgroundSelectHover, ";}*:where(&.euiDataGrid--stripes .euiDataGridRow){background-color:", euiTheme.components.dataGridRowStripesBackground, ";}*:where(&.euiDataGrid--stripes .euiDataGridRow--striped){background-color:", euiTheme.components.dataGridRowStripesBackgroundStriped, ";}*:where(\n &.euiDataGrid--stripes.euiDataGrid--rowHoverHighlight\n .euiDataGridRow:hover\n ){background-color:", euiTheme.components.dataGridRowStripesBackgroundHover, ";}*:where(\n &.euiDataGrid--stripes.euiDataGrid--rowHoverHighlight\n .euiDataGridRow--striped:hover\n ){background-color:", euiTheme.components.dataGridRowStripesBackgroundStripedHover, ";}*:where(&.euiDataGrid--stripes .euiDataGridRow--selected){background-color:", euiTheme.components.dataGridRowStripesBackgroundSelect, ";}*:where(\n &.euiDataGrid--stripes.euiDataGrid--rowHoverHighlight\n .euiDataGridRow--selected:hover\n ){background-color:", euiTheme.components.dataGridRowStripesBackgroundSelectHover, ";}*:where(&.euiDataGrid--rowHoverHighlight .euiDataGridRow)::before{content:'';position:absolute;z-index:-1;pointer-events:none;inset:0;background-color:", euiTheme.components.dataGridRowBackground, ";};label:euiDataGrid;"),
|
|
59
59
|
cellPadding: {
|
|
60
60
|
cellPadding: function cellPadding(size) {
|
|
61
61
|
return /*#__PURE__*/(0, _react.css)(".euiDataGridHeaderCell,.euiDataGridRowCell__content{padding:", _cellPadding[size], ";}.euiDataGridRowCell__content--lineCountHeight,.euiDataGridRowCell__content--autoBelowLineCountHeight{", (0, _high_contrast.highContrastModeStyles)(euiThemeContext, {
|
|
@@ -136,7 +136,6 @@ var EuiPageHeaderContent = exports.EuiPageHeaderContent = function EuiPageHeader
|
|
|
136
136
|
var tabsNode;
|
|
137
137
|
if (tabs) {
|
|
138
138
|
var _tabs$find;
|
|
139
|
-
var tabsSize = pageTitle ? 'l' : 'xl';
|
|
140
139
|
var renderTabs = function renderTabs() {
|
|
141
140
|
return tabs.map(function (tab, index) {
|
|
142
141
|
var label = tab.label,
|
|
@@ -153,7 +152,7 @@ var EuiPageHeaderContent = exports.EuiPageHeaderContent = function EuiPageHeader
|
|
|
153
152
|
})) === null || _tabs$find === void 0 ? void 0 : _tabs$find.label));
|
|
154
153
|
tabsNode = (0, _react2.jsx)(_react.default.Fragment, null, pageTitleNode && (0, _react2.jsx)(_spacer.EuiSpacer, null), screenReaderPageTitle, (0, _react2.jsx)(_tabs.EuiTabs, _extends({}, tabsProps, {
|
|
155
154
|
bottomBorder: false,
|
|
156
|
-
size:
|
|
155
|
+
size: "l"
|
|
157
156
|
}), renderTabs()));
|
|
158
157
|
}
|
|
159
158
|
var childrenNode = children && (0, _react2.jsx)(_react.default.Fragment, null, (0, _react2.jsx)(_spacer.EuiSpacer, null), children);
|
|
@@ -36,7 +36,7 @@ var EuiTableRow = exports.EuiTableRow = function EuiTableRow(_ref) {
|
|
|
36
36
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
37
37
|
var isResponsive = (0, _responsive_context.useEuiTableIsResponsive)();
|
|
38
38
|
var styles = (0, _services.useEuiMemoizedStyles)(_table_row.euiTableRowStyles);
|
|
39
|
-
var cssStyles = isResponsive ? [styles.euiTableRow, styles.mobile.mobile, isSelected && styles.mobile.selected, isExpandedRow && styles.mobile.expanded, (hasActions === true || isExpandable || isExpandedRow) && styles.mobile.hasRightColumn, hasSelection && styles.mobile.hasLeftColumn] : [styles.euiTableRow, styles.desktop.desktop,
|
|
39
|
+
var cssStyles = isResponsive ? [styles.euiTableRow, styles.mobile.mobile, isSelected && styles.mobile.selected, isExpandedRow && styles.mobile.expanded, (hasActions === true || isExpandable || isExpandedRow) && styles.mobile.hasRightColumn, hasSelection && styles.mobile.hasLeftColumn] : [styles.euiTableRow, styles.desktop.desktop, onClick && styles.desktop.clickable, isSelected && styles.desktop.selected, isExpandedRow && styles.desktop.expanded, isExpandedRow && hasSelection && styles.desktop.checkboxOffset];
|
|
40
40
|
var classes = (0, _classnames.default)('euiTableRow', className, {
|
|
41
41
|
'euiTableRow-isSelectable': isSelectable,
|
|
42
42
|
'euiTableRow-isSelected': isSelected,
|
|
@@ -47,9 +47,6 @@ var euiTabContentStyles = exports.euiTabContentStyles = function euiTabContentSt
|
|
|
47
47
|
m: /*#__PURE__*/(0, _react.css)("font-size:", (0, _global_styling.euiFontSize)(euiThemeContext, 's').fontSize, ";line-height:", euiTheme.size.xxl, ";;label:m;"),
|
|
48
48
|
l: /*#__PURE__*/(0, _react.css)("font-size:", (0, _global_styling.euiFontSize)(euiThemeContext, 'm').fontSize, ";line-height:", (0, _global_styling.mathWithUnits)([euiTheme.size.xl, euiTheme.size.s], function (x, y) {
|
|
49
49
|
return x + y;
|
|
50
|
-
}), ";;label:l;")
|
|
51
|
-
xl: /*#__PURE__*/(0, _react.css)("font-size:", (0, _global_styling.euiFontSize)(euiThemeContext, 'l').fontSize, ";line-height:", (0, _global_styling.mathWithUnits)([euiTheme.size.xxxl, euiTheme.size.s], function (x, y) {
|
|
52
|
-
return x + y;
|
|
53
|
-
}), ";;label:xl;")
|
|
50
|
+
}), ";;label:l;")
|
|
54
51
|
};
|
|
55
52
|
};
|
|
@@ -26,7 +26,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
26
26
|
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
27
27
|
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], t.indexOf(o) >= 0 || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
28
28
|
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
29
|
-
var SIZES = exports.SIZES = ['s', 'm', 'l'
|
|
29
|
+
var SIZES = exports.SIZES = ['s', 'm', 'l'];
|
|
30
30
|
var EuiTabs = exports.EuiTabs = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
31
31
|
var children = _ref.children,
|
|
32
32
|
className = _ref.className,
|
|
@@ -89,7 +89,6 @@ EuiTabs.propTypes = {
|
|
|
89
89
|
bottomBorder: _propTypes.default.bool,
|
|
90
90
|
/**
|
|
91
91
|
* Sizes affect both font size and overall size.
|
|
92
|
-
* Only use the `xl` size when displayed as page titles.
|
|
93
92
|
*/
|
|
94
93
|
size: _propTypes.default.any
|
|
95
94
|
};
|
|
@@ -26,7 +26,6 @@ var euiTabsStyles = exports.euiTabsStyles = function euiTabsStyles(euiThemeConte
|
|
|
26
26
|
// sizes
|
|
27
27
|
s: /*#__PURE__*/(0, _react.css)("gap:", euiTheme.size.m, ";;label:s;"),
|
|
28
28
|
m: /*#__PURE__*/(0, _react.css)("gap:", euiTheme.size.base, ";;label:m;"),
|
|
29
|
-
l: /*#__PURE__*/(0, _react.css)("gap:", euiTheme.size.l, ";;label:l;")
|
|
30
|
-
xl: /*#__PURE__*/(0, _react.css)("gap:", euiTheme.size.xl, ";;label:xl;")
|
|
29
|
+
l: /*#__PURE__*/(0, _react.css)("gap:", euiTheme.size.l, ";;label:l;")
|
|
31
30
|
};
|
|
32
31
|
};
|
|
@@ -128,6 +128,8 @@ var _getVisColorsAsText = function _getVisColorsAsText(visColors, keys) {
|
|
|
128
128
|
};
|
|
129
129
|
|
|
130
130
|
/**
|
|
131
|
+
* @deprecated - use `euiColorVisText{NUMBER}` tokens directly
|
|
132
|
+
*
|
|
131
133
|
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
132
134
|
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
133
135
|
*/
|
|
@@ -136,12 +138,14 @@ var euiPaletteForLightBackground = exports.euiPaletteForLightBackground = functi
|
|
|
136
138
|
colors = _ref3.colors;
|
|
137
139
|
var visColors = colors !== null && colors !== void 0 ? colors : _vis_color_store.EUI_VIS_COLOR_STORE.visColors;
|
|
138
140
|
var visColorsAsTextKeys = Object.keys(visColors).filter(function (color) {
|
|
139
|
-
return color.includes('
|
|
141
|
+
return color.includes('euiColorVisText');
|
|
140
142
|
});
|
|
141
143
|
return _getVisColorsAsText(visColors, visColorsAsTextKeys);
|
|
142
144
|
};
|
|
143
145
|
|
|
144
146
|
/**
|
|
147
|
+
* @deprecated - use `euiColorVisText{NUMBER}` tokens directly
|
|
148
|
+
*
|
|
145
149
|
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
146
150
|
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
147
151
|
*/
|
|
@@ -150,7 +154,7 @@ var euiPaletteForDarkBackground = exports.euiPaletteForDarkBackground = function
|
|
|
150
154
|
colors = _ref4.colors;
|
|
151
155
|
var visColors = colors !== null && colors !== void 0 ? colors : _vis_color_store.EUI_VIS_COLOR_STORE.visColors;
|
|
152
156
|
var visColorsAsTextKeys = Object.keys(visColors).filter(function (color) {
|
|
153
|
-
return color.includes('
|
|
157
|
+
return color.includes('euiColorVisText');
|
|
154
158
|
});
|
|
155
159
|
return _getVisColorsAsText(visColors, visColorsAsTextKeys);
|
|
156
160
|
};
|