@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
|
@@ -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
|
}
|
|
@@ -283,20 +283,16 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
|
|
|
283
283
|
euiColorVis7_behindText: string;
|
|
284
284
|
euiColorVis8_behindText: string;
|
|
285
285
|
euiColorVis9_behindText: string;
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
euiColorVisAsTextDark3: string;
|
|
297
|
-
euiColorVisAsTextDark4: string;
|
|
298
|
-
euiColorVisAsTextDark5: string;
|
|
299
|
-
euiColorVisAsTextDark6: string;
|
|
286
|
+
euiColorVisText0: string;
|
|
287
|
+
euiColorVisText1: string;
|
|
288
|
+
euiColorVisText2: string;
|
|
289
|
+
euiColorVisText3: string;
|
|
290
|
+
euiColorVisText4: string;
|
|
291
|
+
euiColorVisText5: string;
|
|
292
|
+
euiColorVisText6: string;
|
|
293
|
+
euiColorVisText7: string;
|
|
294
|
+
euiColorVisText8: string;
|
|
295
|
+
euiColorVisText9: string;
|
|
300
296
|
euiColorVisSuccess0: string;
|
|
301
297
|
euiColorVisSuccess1: string;
|
|
302
298
|
euiColorVisWarning0: string;
|
|
@@ -382,6 +378,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
|
|
|
382
378
|
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
383
379
|
euiColorBackgroundBaseInteractiveHover: string;
|
|
384
380
|
euiColorBackgroundBaseInteractiveSelect: string;
|
|
381
|
+
euiColorBackgroundBaseInteractiveSelectHover: string;
|
|
385
382
|
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
386
383
|
euiColorBackgroundBaseSkeletonEdge: string;
|
|
387
384
|
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
@@ -425,6 +422,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_dark.json' {
|
|
|
425
422
|
euiColorBorderStrongWarning: string;
|
|
426
423
|
euiColorBorderStrongRisk: string;
|
|
427
424
|
euiColorBorderStrongDanger: string;
|
|
425
|
+
euiColorBorderStrongText: string;
|
|
428
426
|
};
|
|
429
427
|
export default sassVariables;
|
|
430
428
|
}
|
|
@@ -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
|
}
|
|
@@ -283,20 +283,16 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
|
283
283
|
euiColorVis7_behindText: string;
|
|
284
284
|
euiColorVis8_behindText: string;
|
|
285
285
|
euiColorVis9_behindText: string;
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
euiColorVisAsTextDark3: string;
|
|
297
|
-
euiColorVisAsTextDark4: string;
|
|
298
|
-
euiColorVisAsTextDark5: string;
|
|
299
|
-
euiColorVisAsTextDark6: string;
|
|
286
|
+
euiColorVisText0: string;
|
|
287
|
+
euiColorVisText1: string;
|
|
288
|
+
euiColorVisText2: string;
|
|
289
|
+
euiColorVisText3: string;
|
|
290
|
+
euiColorVisText4: string;
|
|
291
|
+
euiColorVisText5: string;
|
|
292
|
+
euiColorVisText6: string;
|
|
293
|
+
euiColorVisText7: string;
|
|
294
|
+
euiColorVisText8: string;
|
|
295
|
+
euiColorVisText9: string;
|
|
300
296
|
euiColorVisSuccess0: string;
|
|
301
297
|
euiColorVisSuccess1: string;
|
|
302
298
|
euiColorVisWarning0: string;
|
|
@@ -382,6 +378,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
|
382
378
|
euiColorBackgroundBaseFormsControlDisabled: string;
|
|
383
379
|
euiColorBackgroundBaseInteractiveHover: string;
|
|
384
380
|
euiColorBackgroundBaseInteractiveSelect: string;
|
|
381
|
+
euiColorBackgroundBaseInteractiveSelectHover: string;
|
|
385
382
|
euiColorBackgroundBaseInteractiveOverlay: string;
|
|
386
383
|
euiColorBackgroundBaseSkeletonEdge: string;
|
|
387
384
|
euiColorBackgroundBaseSkeletonMiddle: string;
|
|
@@ -425,6 +422,7 @@ declare module '@elastic/eui/dist/eui_theme_amsterdam_light.json' {
|
|
|
425
422
|
euiColorBorderStrongWarning: string;
|
|
426
423
|
euiColorBorderStrongRisk: string;
|
|
427
424
|
euiColorBorderStrongDanger: string;
|
|
425
|
+
euiColorBorderStrongText: string;
|
|
428
426
|
};
|
|
429
427
|
export default sassVariables;
|
|
430
428
|
}
|
|
@@ -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",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@elastic/eui/
|
|
1
|
+
declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_dark.json' {
|
|
2
2
|
const sassVariables: {
|
|
3
3
|
euiZDataGrid: number;
|
|
4
4
|
euiZHeaderBelowDataGrid: number;
|
|
@@ -283,20 +283,16 @@ declare module '@elastic/eui/dist/eui_theme_borealis_dark.json' {
|
|
|
283
283
|
euiColorVis7_behindText: string;
|
|
284
284
|
euiColorVis8_behindText: string;
|
|
285
285
|
euiColorVis9_behindText: string;
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
euiColorVisAsTextDark3: string;
|
|
297
|
-
euiColorVisAsTextDark4: string;
|
|
298
|
-
euiColorVisAsTextDark5: string;
|
|
299
|
-
euiColorVisAsTextDark6: string;
|
|
286
|
+
euiColorVisText0: string;
|
|
287
|
+
euiColorVisText1: string;
|
|
288
|
+
euiColorVisText2: string;
|
|
289
|
+
euiColorVisText3: string;
|
|
290
|
+
euiColorVisText4: string;
|
|
291
|
+
euiColorVisText5: string;
|
|
292
|
+
euiColorVisText6: string;
|
|
293
|
+
euiColorVisText7: string;
|
|
294
|
+
euiColorVisText8: string;
|
|
295
|
+
euiColorVisText9: string;
|
|
300
296
|
euiColorVisSuccess0: string;
|
|
301
297
|
euiColorVisSuccess1: string;
|
|
302
298
|
euiColorVisWarning0: string;
|
|
@@ -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",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare module '@elastic/eui/
|
|
1
|
+
declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_light.json' {
|
|
2
2
|
const sassVariables: {
|
|
3
3
|
euiZDataGrid: number;
|
|
4
4
|
euiZHeaderBelowDataGrid: number;
|
|
@@ -283,20 +283,16 @@ declare module '@elastic/eui/dist/eui_theme_borealis_light.json' {
|
|
|
283
283
|
euiColorVis7_behindText: string;
|
|
284
284
|
euiColorVis8_behindText: string;
|
|
285
285
|
euiColorVis9_behindText: string;
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
euiColorVisAsTextDark3: string;
|
|
297
|
-
euiColorVisAsTextDark4: string;
|
|
298
|
-
euiColorVisAsTextDark5: string;
|
|
299
|
-
euiColorVisAsTextDark6: string;
|
|
286
|
+
euiColorVisText0: string;
|
|
287
|
+
euiColorVisText1: string;
|
|
288
|
+
euiColorVisText2: string;
|
|
289
|
+
euiColorVisText3: string;
|
|
290
|
+
euiColorVisText4: string;
|
|
291
|
+
euiColorVisText5: string;
|
|
292
|
+
euiColorVisText6: string;
|
|
293
|
+
euiColorVisText7: string;
|
|
294
|
+
euiColorVisText8: string;
|
|
295
|
+
euiColorVisText9: string;
|
|
300
296
|
euiColorVisSuccess0: string;
|
|
301
297
|
euiColorVisSuccess1: string;
|
|
302
298
|
euiColorVisWarning0: string;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
var _excluded = ["children", "textToCopy", "beforeMessage", "afterMessage"];
|
|
2
1
|
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); }
|
|
3
2
|
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); }
|
|
4
|
-
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; }
|
|
5
|
-
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; }
|
|
6
3
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
7
4
|
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); } }
|
|
8
5
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
@@ -58,17 +55,14 @@ export var EuiCopy = /*#__PURE__*/function (_Component) {
|
|
|
58
55
|
value: function render() {
|
|
59
56
|
var _this$props = this.props,
|
|
60
57
|
children = _this$props.children,
|
|
61
|
-
|
|
62
|
-
beforeMessage = _this$props.beforeMessage,
|
|
63
|
-
afterMessage = _this$props.afterMessage,
|
|
64
|
-
rest = _objectWithoutProperties(_this$props, _excluded);
|
|
58
|
+
tooltipProps = _this$props.tooltipProps;
|
|
65
59
|
return (
|
|
66
60
|
// See `src/components/tool_tip/tool_tip.js` for explanation of below eslint-disable
|
|
67
61
|
// eslint-disable-next-line jsx-a11y/mouse-events-have-key-events
|
|
68
62
|
___EmotionJSX(EuiToolTip, _extends({
|
|
69
63
|
content: this.state.tooltipText,
|
|
70
64
|
onMouseOut: this.resetTooltipText
|
|
71
|
-
},
|
|
65
|
+
}, tooltipProps), children(this.copy))
|
|
72
66
|
);
|
|
73
67
|
}
|
|
74
68
|
}]);
|
|
@@ -95,6 +89,10 @@ EuiCopy.propTypes = {
|
|
|
95
89
|
* Use your own logic to create the component that users interact with when triggering copy.
|
|
96
90
|
*/
|
|
97
91
|
children: PropTypes.func.isRequired,
|
|
92
|
+
/**
|
|
93
|
+
* Optional props to pass to the EuiToolTip component.
|
|
94
|
+
*/
|
|
95
|
+
tooltipProps: PropTypes.any,
|
|
98
96
|
className: PropTypes.string,
|
|
99
97
|
"aria-label": PropTypes.string,
|
|
100
98
|
"data-test-subj": PropTypes.string,
|
|
@@ -11,8 +11,8 @@ import { css } from '@emotion/react';
|
|
|
11
11
|
import { logicalCSS, logicalTextAlignCSS, mathWithUnits } from '../../../../global_styling';
|
|
12
12
|
export var euiDataGridCellOutlineStyles = function euiDataGridCellOutlineStyles(_ref2) {
|
|
13
13
|
var euiTheme = _ref2.euiTheme;
|
|
14
|
-
var focusColor = euiTheme.colors.
|
|
15
|
-
var hoverColor = euiTheme.colors.
|
|
14
|
+
var focusColor = euiTheme.colors.borderStrongPrimary;
|
|
15
|
+
var hoverColor = euiTheme.colors.borderStrongText;
|
|
16
16
|
var outlineWidth = euiTheme.border.width.thick;
|
|
17
17
|
var borderRadius = mathWithUnits(euiTheme.border.radius.medium, function (x) {
|
|
18
18
|
return x / 2;
|
|
@@ -49,7 +49,7 @@ export var euiDataGridStyles = function euiDataGridStyles(euiThemeContext) {
|
|
|
49
49
|
};
|
|
50
50
|
var border = "".concat(euiTheme.border.width.thin, " solid ").concat(borderColors.default);
|
|
51
51
|
return {
|
|
52
|
-
euiDataGrid: /*#__PURE__*/css("display:flex;flex-direction:column;align-items:stretch;", logicalCSS('height', '100%'), " overflow:hidden;*:where(& .euiDataGridRow){background-color:", euiTheme.
|
|
52
|
+
euiDataGrid: /*#__PURE__*/css("display:flex;flex-direction:column;align-items:stretch;", 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;"),
|
|
53
53
|
cellPadding: {
|
|
54
54
|
cellPadding: function cellPadding(size) {
|
|
55
55
|
return /*#__PURE__*/css(".euiDataGridHeaderCell,.euiDataGridRowCell__content{padding:", _cellPadding[size], ";}.euiDataGridRowCell__content--lineCountHeight,.euiDataGridRowCell__content--autoBelowLineCountHeight{", highContrastModeStyles(euiThemeContext, {
|
|
@@ -130,7 +130,6 @@ export var EuiPageHeaderContent = function EuiPageHeaderContent(_ref) {
|
|
|
130
130
|
var tabsNode;
|
|
131
131
|
if (tabs) {
|
|
132
132
|
var _tabs$find;
|
|
133
|
-
var tabsSize = pageTitle ? 'l' : 'xl';
|
|
134
133
|
var renderTabs = function renderTabs() {
|
|
135
134
|
return tabs.map(function (tab, index) {
|
|
136
135
|
var label = tab.label,
|
|
@@ -147,7 +146,7 @@ export var EuiPageHeaderContent = function EuiPageHeaderContent(_ref) {
|
|
|
147
146
|
})) === null || _tabs$find === void 0 ? void 0 : _tabs$find.label));
|
|
148
147
|
tabsNode = ___EmotionJSX(React.Fragment, null, pageTitleNode && ___EmotionJSX(EuiSpacer, null), screenReaderPageTitle, ___EmotionJSX(EuiTabs, _extends({}, tabsProps, {
|
|
149
148
|
bottomBorder: false,
|
|
150
|
-
size:
|
|
149
|
+
size: "l"
|
|
151
150
|
}), renderTabs()));
|
|
152
151
|
}
|
|
153
152
|
var childrenNode = children && ___EmotionJSX(React.Fragment, null, ___EmotionJSX(EuiSpacer, null), children);
|
|
@@ -30,7 +30,7 @@ export var EuiTableRow = function EuiTableRow(_ref) {
|
|
|
30
30
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
31
31
|
var isResponsive = useEuiTableIsResponsive();
|
|
32
32
|
var styles = useEuiMemoizedStyles(euiTableRowStyles);
|
|
33
|
-
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,
|
|
33
|
+
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];
|
|
34
34
|
var classes = classNames('euiTableRow', className, {
|
|
35
35
|
'euiTableRow-isSelectable': isSelectable,
|
|
36
36
|
'euiTableRow-isSelected': isSelected,
|
|
@@ -43,9 +43,6 @@ export var euiTabContentStyles = function euiTabContentStyles(euiThemeContext) {
|
|
|
43
43
|
m: /*#__PURE__*/css("font-size:", euiFontSize(euiThemeContext, 's').fontSize, ";line-height:", euiTheme.size.xxl, ";;label:m;"),
|
|
44
44
|
l: /*#__PURE__*/css("font-size:", euiFontSize(euiThemeContext, 'm').fontSize, ";line-height:", mathWithUnits([euiTheme.size.xl, euiTheme.size.s], function (x, y) {
|
|
45
45
|
return x + y;
|
|
46
|
-
}), ";;label:l;")
|
|
47
|
-
xl: /*#__PURE__*/css("font-size:", euiFontSize(euiThemeContext, 'l').fontSize, ";line-height:", mathWithUnits([euiTheme.size.xxxl, euiTheme.size.s], function (x, y) {
|
|
48
|
-
return x + y;
|
|
49
|
-
}), ";;label:xl;")
|
|
46
|
+
}), ";;label:l;")
|
|
50
47
|
};
|
|
51
48
|
};
|
|
@@ -17,7 +17,7 @@ import { keys, useEuiMemoizedStyles } from '../../services';
|
|
|
17
17
|
import { euiTabsStyles } from './tabs.styles';
|
|
18
18
|
import { EuiTabsContext } from './tabs_context';
|
|
19
19
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
20
|
-
export var SIZES = ['s', 'm', 'l'
|
|
20
|
+
export var SIZES = ['s', 'm', 'l'];
|
|
21
21
|
export var EuiTabs = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
22
22
|
var children = _ref.children,
|
|
23
23
|
className = _ref.className,
|
|
@@ -80,7 +80,6 @@ EuiTabs.propTypes = {
|
|
|
80
80
|
bottomBorder: PropTypes.bool,
|
|
81
81
|
/**
|
|
82
82
|
* Sizes affect both font size and overall size.
|
|
83
|
-
* Only use the `xl` size when displayed as page titles.
|
|
84
83
|
*/
|
|
85
84
|
size: PropTypes.any
|
|
86
85
|
};
|
|
@@ -20,7 +20,6 @@ export var euiTabsStyles = function euiTabsStyles(euiThemeContext) {
|
|
|
20
20
|
// sizes
|
|
21
21
|
s: /*#__PURE__*/css("gap:", euiTheme.size.m, ";;label:s;"),
|
|
22
22
|
m: /*#__PURE__*/css("gap:", euiTheme.size.base, ";;label:m;"),
|
|
23
|
-
l: /*#__PURE__*/css("gap:", euiTheme.size.l, ";;label:l;")
|
|
24
|
-
xl: /*#__PURE__*/css("gap:", euiTheme.size.xl, ";;label:xl;")
|
|
23
|
+
l: /*#__PURE__*/css("gap:", euiTheme.size.l, ";;label:l;")
|
|
25
24
|
};
|
|
26
25
|
};
|
|
@@ -123,6 +123,8 @@ var _getVisColorsAsText = function _getVisColorsAsText(visColors, keys) {
|
|
|
123
123
|
};
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
+
* @deprecated - use `euiColorVisText{NUMBER}` tokens directly
|
|
127
|
+
*
|
|
126
128
|
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
127
129
|
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
128
130
|
*/
|
|
@@ -131,12 +133,14 @@ export var euiPaletteForLightBackground = function euiPaletteForLightBackground(
|
|
|
131
133
|
colors = _ref3.colors;
|
|
132
134
|
var visColors = colors !== null && colors !== void 0 ? colors : EUI_VIS_COLOR_STORE.visColors;
|
|
133
135
|
var visColorsAsTextKeys = Object.keys(visColors).filter(function (color) {
|
|
134
|
-
return color.includes('
|
|
136
|
+
return color.includes('euiColorVisText');
|
|
135
137
|
});
|
|
136
138
|
return _getVisColorsAsText(visColors, visColorsAsTextKeys);
|
|
137
139
|
};
|
|
138
140
|
|
|
139
141
|
/**
|
|
142
|
+
* @deprecated - use `euiColorVisText{NUMBER}` tokens directly
|
|
143
|
+
*
|
|
140
144
|
* NOTE: This function is not pure. It relies on `EUI_VIS_COLOR_STORE` which is updated by the
|
|
141
145
|
* EuiProvider on theme change. Ensure to recall the function on theme change or subscribe to the store.
|
|
142
146
|
*/
|
|
@@ -145,7 +149,7 @@ export var euiPaletteForDarkBackground = function euiPaletteForDarkBackground()
|
|
|
145
149
|
colors = _ref4.colors;
|
|
146
150
|
var visColors = colors !== null && colors !== void 0 ? colors : EUI_VIS_COLOR_STORE.visColors;
|
|
147
151
|
var visColorsAsTextKeys = Object.keys(visColors).filter(function (color) {
|
|
148
|
-
return color.includes('
|
|
152
|
+
return color.includes('euiColorVisText');
|
|
149
153
|
});
|
|
150
154
|
return _getVisColorsAsText(visColors, visColorsAsTextKeys);
|
|
151
155
|
};
|