@elastic/eui 102.1.0 → 102.2.0-amsterdam.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/es/components/basic_table/basic_table.js +10 -9
- package/es/components/basic_table/in_memory_table.js +18 -16
- package/es/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/es/components/breadcrumbs/breadcrumbs.js +3 -3
- package/es/components/button/button_group/button_group.js +1 -1
- package/es/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/es/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/es/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/es/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/es/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/es/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/es/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/es/components/comment_list/comment_list.js +1 -1
- package/es/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/es/components/datagrid/body/data_grid_body.js +14 -9
- package/es/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/es/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/es/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/es/components/datagrid/body/header/draggable_columns.js +1 -1
- package/es/components/datagrid/controls/column_sorting.js +6 -6
- package/es/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/es/components/datagrid/utils/in_memory.js +3 -3
- package/es/components/datagrid/utils/scrolling.js +3 -1
- package/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/es/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/es/components/form/range/dual_range.js +1 -1
- package/es/components/form/range/range.js +1 -1
- package/es/components/form/range/range_track.js +1 -1
- package/es/components/form/select/select.js +1 -1
- package/es/components/header/header.js +10 -10
- package/es/components/header/header_breadcrumbs/header_breadcrumbs.js +3 -3
- package/es/components/header/header_links/header_links.js +1 -1
- package/es/components/icon/assets/logo_elastic.js +23 -17
- package/es/components/icon/icon.styles.js +1 -1
- package/es/components/key_pad_menu/key_pad_menu.js +1 -1
- package/es/components/list_group/list_group.js +2 -2
- package/es/components/list_group/list_group_item.js +1 -1
- package/es/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/es/components/loading/loading_elastic.styles.js +2 -2
- package/es/components/loading/loading_spinner.js +1 -1
- package/es/components/page/page_header/page_header_content.js +1 -1
- package/es/components/popover/popover.js +1 -1
- package/es/components/provider/provider.js +2 -2
- package/es/components/responsive/hide_for.js +1 -1
- package/es/components/responsive/show_for.js +1 -1
- package/es/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/es/components/search_bar/filters/field_value_toggle_group_filter.js +1 -1
- package/es/components/search_bar/search_bar.js +3 -3
- package/es/components/search_bar/search_filters.js +2 -2
- package/es/components/selectable/selectable.js +13 -12
- package/es/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/es/components/side_nav/side_nav.js +2 -2
- package/es/components/table/table_row_cell.js +1 -1
- package/es/components/timeline/timeline.js +1 -1
- package/es/components/toast/global_toast_list.js +27 -20
- package/es/components/tour/tour_step.js +1 -1
- package/es/services/color/vis_color_store.js +1 -1
- package/es/services/theme/context.js +2 -2
- package/es/services/theme/hooks.js +11 -0
- package/es/services/theme/index.js +1 -1
- package/es/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/es/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/es/themes/json/eui_theme_borealis_dark.json +427 -0
- package/es/themes/json/eui_theme_borealis_light.json +427 -0
- package/eui.d.ts +2175 -423
- package/lib/components/basic_table/basic_table.js +10 -9
- package/lib/components/basic_table/in_memory_table.js +18 -16
- package/lib/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/lib/components/breadcrumbs/breadcrumbs.js +2 -2
- package/lib/components/button/button_group/button_group.js +1 -1
- package/lib/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/lib/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/lib/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/lib/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/lib/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/lib/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/lib/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/lib/components/comment_list/comment_list.js +1 -1
- package/lib/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/lib/components/datagrid/body/data_grid_body.js +14 -9
- package/lib/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/lib/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/lib/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/lib/components/datagrid/body/header/draggable_columns.js +1 -1
- package/lib/components/datagrid/controls/column_sorting.js +6 -6
- package/lib/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/lib/components/datagrid/utils/in_memory.js +3 -3
- package/lib/components/datagrid/utils/scrolling.js +3 -1
- package/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/lib/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/lib/components/empty_prompt/images/illustration.svg +939 -0
- package/lib/components/form/range/dual_range.js +1 -1
- package/lib/components/form/range/range.js +1 -1
- package/lib/components/form/range/range_track.js +1 -1
- package/lib/components/form/select/select.js +1 -1
- package/lib/components/header/header.js +10 -10
- package/lib/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -2
- package/lib/components/icon/assets/logo_elastic.js +23 -17
- package/lib/components/icon/icon.styles.js +1 -1
- package/lib/components/icon/svgs/logo_elastic.svg +7 -9
- package/lib/components/key_pad_menu/key_pad_menu.js +1 -1
- package/lib/components/list_group/list_group.js +2 -2
- package/lib/components/list_group/list_group_item.js +1 -1
- package/lib/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/lib/components/loading/loading_elastic.styles.js +2 -2
- package/lib/components/loading/loading_spinner.js +1 -1
- package/lib/components/popover/popover.js +1 -1
- package/lib/components/provider/provider.js +2 -2
- package/lib/components/responsive/hide_for.js +1 -1
- package/lib/components/responsive/show_for.js +1 -1
- package/lib/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/lib/components/search_bar/filters/field_value_toggle_group_filter.js +1 -1
- package/lib/components/search_bar/search_bar.js +3 -3
- package/lib/components/search_bar/search_filters.js +2 -2
- package/lib/components/selectable/selectable.js +13 -12
- package/lib/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/lib/components/side_nav/side_nav.js +2 -2
- package/lib/components/table/table_row_cell.js +1 -1
- package/lib/components/timeline/timeline.js +1 -1
- package/lib/components/toast/global_toast_list.js +27 -20
- package/lib/services/color/vis_color_store.js +2 -2
- package/lib/services/theme/context.js +2 -2
- package/lib/services/theme/hooks.js +12 -1
- package/lib/services/theme/index.js +6 -0
- package/lib/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/lib/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/lib/themes/json/eui_theme_borealis_dark.json +427 -0
- package/lib/themes/json/eui_theme_borealis_light.json +427 -0
- package/optimize/es/components/datagrid/body/data_grid_body_virtualized.js +44 -1
- package/optimize/es/components/datagrid/utils/scrolling.js +3 -1
- package/optimize/es/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/optimize/es/components/form/select/select.js +1 -1
- package/optimize/es/components/icon/assets/logo_elastic.js +23 -17
- package/optimize/es/components/icon/icon.styles.js +1 -1
- package/optimize/es/components/loading/loading_elastic.styles.js +2 -2
- package/optimize/es/components/provider/provider.js +2 -2
- package/optimize/es/components/selectable/selectable.js +10 -9
- package/optimize/es/components/toast/global_toast_list.js +24 -20
- package/optimize/es/services/color/vis_color_store.js +1 -1
- package/optimize/es/services/theme/context.js +2 -2
- package/optimize/es/services/theme/hooks.js +11 -0
- package/optimize/es/services/theme/index.js +1 -1
- package/optimize/es/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/optimize/es/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/optimize/es/themes/json/eui_theme_borealis_dark.json +427 -0
- package/optimize/es/themes/json/eui_theme_borealis_light.json +427 -0
- package/optimize/lib/components/datagrid/body/data_grid_body_virtualized.js +44 -1
- package/optimize/lib/components/datagrid/utils/scrolling.js +3 -1
- package/optimize/lib/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/optimize/lib/components/empty_prompt/images/illustration.svg +939 -0
- package/optimize/lib/components/form/select/select.js +1 -1
- package/optimize/lib/components/icon/assets/logo_elastic.js +23 -17
- package/optimize/lib/components/icon/icon.styles.js +1 -1
- package/optimize/lib/components/icon/svgs/logo_elastic.svg +7 -9
- package/optimize/lib/components/loading/loading_elastic.styles.js +2 -2
- package/optimize/lib/components/provider/provider.js +2 -2
- package/optimize/lib/components/selectable/selectable.js +10 -9
- package/optimize/lib/components/toast/global_toast_list.js +24 -20
- package/optimize/lib/services/color/vis_color_store.js +2 -2
- package/optimize/lib/services/theme/context.js +2 -2
- package/optimize/lib/services/theme/hooks.js +12 -1
- package/optimize/lib/services/theme/index.js +6 -0
- package/optimize/lib/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/optimize/lib/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/optimize/lib/themes/json/eui_theme_borealis_dark.json +427 -0
- package/optimize/lib/themes/json/eui_theme_borealis_light.json +427 -0
- package/package.json +3 -5
- package/test-env/components/basic_table/basic_table.js +10 -9
- package/test-env/components/basic_table/in_memory_table.js +18 -16
- package/test-env/components/breadcrumbs/_breadcrumb_content.js +1 -1
- package/test-env/components/breadcrumbs/breadcrumbs.js +2 -2
- package/test-env/components/button/button_group/button_group.js +1 -1
- package/test-env/components/collapsible_nav_beta/_kibana_solution/collapsible_nav_kibana_solution.js +1 -1
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_item.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsed/collapsed_nav_popover.js +2 -2
- package/test-env/components/collapsible_nav_beta/collapsible_nav_item/collapsible_nav_item.js +4 -4
- package/test-env/components/color_picker/color_palette_display/color_palette_display.js +2 -2
- package/test-env/components/color_picker/color_palette_display/color_palette_display_fixed.js +1 -1
- package/test-env/components/color_picker/color_palette_display/color_palette_display_gradient.js +1 -1
- package/test-env/components/color_picker/color_palette_picker/color_palette_picker.js +4 -4
- package/test-env/components/combo_box/combo_box_options_list/combo_box_options_list.js +1 -1
- package/test-env/components/comment_list/comment_list.js +1 -1
- package/test-env/components/datagrid/body/cell/data_grid_cell.js +9 -9
- package/test-env/components/datagrid/body/data_grid_body.js +14 -9
- package/test-env/components/datagrid/body/data_grid_body_custom.js +14 -9
- package/test-env/components/datagrid/body/data_grid_body_virtualized.js +58 -10
- package/test-env/components/datagrid/body/header/data_grid_header_cell.js +3 -3
- package/test-env/components/datagrid/body/header/draggable_columns.js +1 -1
- package/test-env/components/datagrid/controls/column_sorting.js +6 -6
- package/test-env/components/datagrid/controls/column_sorting_draggable.js +3 -3
- package/test-env/components/datagrid/utils/in_memory.js +3 -3
- package/test-env/components/datagrid/utils/scrolling.js +3 -1
- package/test-env/components/date_picker/super_date_picker/quick_select_popover/quick_select.js +4 -2
- package/test-env/components/date_picker/super_date_picker/super_date_picker.js +4 -4
- package/test-env/components/form/range/dual_range.js +1 -1
- package/test-env/components/form/range/range.js +1 -1
- package/test-env/components/form/range/range_track.js +1 -1
- package/test-env/components/form/select/select.js +1 -1
- package/test-env/components/header/header.js +10 -10
- package/test-env/components/header/header_breadcrumbs/header_breadcrumbs.js +2 -2
- package/test-env/components/icon/assets/logo_elastic.js +23 -17
- package/test-env/components/icon/icon.styles.js +1 -1
- package/test-env/components/key_pad_menu/key_pad_menu.js +1 -1
- package/test-env/components/list_group/list_group.js +2 -2
- package/test-env/components/list_group/list_group_item.js +1 -1
- package/test-env/components/list_group/pinnable_list_group/pinnable_list_group.js +4 -4
- package/test-env/components/loading/loading_elastic.styles.js +2 -2
- package/test-env/components/loading/loading_spinner.js +1 -1
- package/test-env/components/popover/popover.js +1 -1
- package/test-env/components/provider/provider.js +2 -2
- package/test-env/components/responsive/hide_for.js +1 -1
- package/test-env/components/responsive/show_for.js +1 -1
- package/test-env/components/search_bar/filters/field_value_selection_filter.js +1 -1
- package/test-env/components/search_bar/filters/field_value_toggle_group_filter.js +1 -1
- package/test-env/components/search_bar/search_bar.js +3 -3
- package/test-env/components/search_bar/search_filters.js +2 -2
- package/test-env/components/selectable/selectable.js +13 -12
- package/test-env/components/selectable/selectable_templates/selectable_template_sitewide.js +3 -3
- package/test-env/components/side_nav/side_nav.js +2 -2
- package/test-env/components/table/table_row_cell.js +1 -1
- package/test-env/components/timeline/timeline.js +1 -1
- package/test-env/components/toast/global_toast_list.js +24 -20
- package/test-env/services/color/vis_color_store.js +2 -2
- package/test-env/services/theme/context.js +2 -2
- package/test-env/services/theme/hooks.js +12 -1
- package/test-env/services/theme/index.js +6 -0
- package/test-env/themes/json/eui_theme_amsterdam_dark.json +427 -0
- package/test-env/themes/json/eui_theme_amsterdam_light.json +427 -0
- package/test-env/themes/json/eui_theme_borealis_dark.json +427 -0
- package/test-env/themes/json/eui_theme_borealis_light.json +427 -0
|
@@ -227,8 +227,8 @@ var EuiSelectableTemplateSitewide = exports.EuiSelectableTemplateSitewide = func
|
|
|
227
227
|
};
|
|
228
228
|
EuiSelectableTemplateSitewide.propTypes = {
|
|
229
229
|
/**
|
|
230
|
-
* Extends the typical
|
|
231
|
-
* such as `icon`, `avatar`and `meta`
|
|
230
|
+
* Extends the typical EuiSelectable {@link EuiSelectableTemplateSitewideOption} with the addition of pre-composed elements
|
|
231
|
+
* such as `icon`, `avatar` and `meta`
|
|
232
232
|
*/
|
|
233
233
|
options: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
234
234
|
/**
|
|
@@ -326,7 +326,7 @@ EuiSelectableTemplateSitewide.propTypes = {
|
|
|
326
326
|
isDisabled: _propTypes.default.bool
|
|
327
327
|
}),
|
|
328
328
|
/**
|
|
329
|
-
* An array of inline
|
|
329
|
+
* An array of inline {@link EuiSelectableTemplateSitewideMetaData} displayed beneath the label and separated by bullets.
|
|
330
330
|
*/
|
|
331
331
|
meta: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
332
332
|
/**
|
|
@@ -201,7 +201,7 @@ EuiSideNavClass.propTypes = {
|
|
|
201
201
|
*/
|
|
202
202
|
heading: _propTypes.default.node,
|
|
203
203
|
/**
|
|
204
|
-
* Adds a couple extra
|
|
204
|
+
* Adds a couple extra {@link EuiSideNavHeading} props and extends the props of EuiTitle that wraps the `heading`
|
|
205
205
|
*/
|
|
206
206
|
headingProps: _propTypes.default.any,
|
|
207
207
|
/**
|
|
@@ -222,7 +222,7 @@ EuiSideNavClass.propTypes = {
|
|
|
222
222
|
*/
|
|
223
223
|
mobileBreakpoints: _propTypes.default.arrayOf(_propTypes.default.any.isRequired),
|
|
224
224
|
/**
|
|
225
|
-
* An array of
|
|
225
|
+
* An array of {@link EuiSideNavItem} objects. Lists navigation menu items.
|
|
226
226
|
*/
|
|
227
227
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
228
228
|
/**
|
|
@@ -121,7 +121,7 @@ EuiTableRowCell.propTypes = {
|
|
|
121
121
|
isExpander: _propTypes.default.bool,
|
|
122
122
|
/**
|
|
123
123
|
* Mobile options for displaying differently at small screens;
|
|
124
|
-
* See
|
|
124
|
+
* See {@link EuiTableRowCellMobileOptionsShape}
|
|
125
125
|
*/
|
|
126
126
|
mobileOptions: _propTypes.default.shape({
|
|
127
127
|
/**
|
|
@@ -50,7 +50,7 @@ var EuiTimeline = exports.EuiTimeline = function EuiTimeline(_ref) {
|
|
|
50
50
|
};
|
|
51
51
|
EuiTimeline.propTypes = {
|
|
52
52
|
/**
|
|
53
|
-
* List of timeline items to render. See
|
|
53
|
+
* List of timeline items to render. See {@link EuiTimelineItem}
|
|
54
54
|
*/
|
|
55
55
|
items: _propTypes.default.arrayOf(_propTypes.default.shape({
|
|
56
56
|
/**
|
|
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.TOAST_FADE_OUT_MS = exports.SIDES = exports.EuiGlobalToastList = exports.CLEAR_ALL_TOASTS_THRESHOLD_DEFAULT = void 0;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
11
|
+
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
11
12
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
12
13
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
13
14
|
var _react = _interopRequireWildcard(require("react"));
|
|
@@ -58,10 +59,10 @@ var EuiGlobalToastList = exports.EuiGlobalToastList = function EuiGlobalToastLis
|
|
|
58
59
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
|
59
60
|
toastIdToDismissedMap = _useState2[0],
|
|
60
61
|
setToastIdToDismissedMap = _useState2[1];
|
|
61
|
-
var _useState3 = (0, _react.useState)(),
|
|
62
|
+
var _useState3 = (0, _react.useState)([]),
|
|
62
63
|
_useState4 = (0, _slicedToArray2.default)(_useState3, 2),
|
|
63
|
-
|
|
64
|
-
|
|
64
|
+
toastsToDismiss = _useState4[0],
|
|
65
|
+
setToastsToDismiss = _useState4[1];
|
|
65
66
|
var prevToasts = (0, _react.useRef)([]);
|
|
66
67
|
var dismissTimeoutIds = (0, _react.useRef)([]);
|
|
67
68
|
var toastIdToTimerMap = (0, _react.useRef)({});
|
|
@@ -135,7 +136,9 @@ var EuiGlobalToastList = exports.EuiGlobalToastList = function EuiGlobalToastLis
|
|
|
135
136
|
var dismissToast = (0, _react.useCallback)(function (toast) {
|
|
136
137
|
// Remove the toast after it's done fading out.
|
|
137
138
|
dismissTimeoutIds.current.push(window.setTimeout(function () {
|
|
138
|
-
|
|
139
|
+
setToastsToDismiss(function (toasts) {
|
|
140
|
+
return [].concat((0, _toConsumableArray2.default)(toasts), [toast]);
|
|
141
|
+
});
|
|
139
142
|
}, TOAST_FADE_OUT_MS));
|
|
140
143
|
setToastIdToDismissedMap(function (prev) {
|
|
141
144
|
return _objectSpread(_objectSpread({}, prev), {}, (0, _defineProperty2.default)({}, toast.id, true));
|
|
@@ -205,22 +208,23 @@ var EuiGlobalToastList = exports.EuiGlobalToastList = function EuiGlobalToastLis
|
|
|
205
208
|
// Toast dismissal side effect
|
|
206
209
|
// Ensure the callback has correct state by not enclosing it in `setTimeout`
|
|
207
210
|
(0, _react.useEffect)(function () {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
211
|
+
toastsToDismiss.forEach(function (toast) {
|
|
212
|
+
// Because this is triggered by a setTimeout, and because React does not guarantee when
|
|
213
|
+
// state updates happen, it is possible to double-dismiss a toast
|
|
214
|
+
// including by double-clicking the "x" button on the toast
|
|
215
|
+
// so, first check to make sure we haven't already dismissed this toast
|
|
216
|
+
if (toast && toastIdToTimerMap.current.hasOwnProperty(toast.id)) {
|
|
217
|
+
dismissToastProp(toast);
|
|
218
|
+
toastIdToTimerMap.current[toast.id].clear();
|
|
219
|
+
delete toastIdToTimerMap.current[toast.id];
|
|
220
|
+
setToastIdToDismissedMap(function (prev) {
|
|
221
|
+
var toastIdToDismissedMap = _objectSpread({}, prev);
|
|
222
|
+
delete toastIdToDismissedMap[toast.id];
|
|
223
|
+
return toastIdToDismissedMap;
|
|
224
|
+
});
|
|
225
|
+
}
|
|
226
|
+
});
|
|
227
|
+
}, [toastsToDismiss, dismissToastProp]);
|
|
224
228
|
var renderedToasts = (0, _react.useMemo)(function () {
|
|
225
229
|
return toasts.map(function (toast) {
|
|
226
230
|
var text = toast.text,
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.EUI_VIS_COLOR_STORE = void 0;
|
|
7
7
|
var _euiThemeCommon = require("@elastic/eui-theme-common");
|
|
8
|
-
var
|
|
8
|
+
var _colors_vis = require("../../themes/amsterdam/global_styling/variables/_colors_vis");
|
|
9
9
|
/*
|
|
10
10
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
11
11
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
@@ -15,4 +15,4 @@ var _euiThemeBorealis = require("@elastic/eui-theme-borealis");
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
// initialsetup of Vis color storage with default colors
|
|
18
|
-
var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(
|
|
18
|
+
var EUI_VIS_COLOR_STORE = exports.EUI_VIS_COLOR_STORE = _euiThemeCommon.EuiVisColorStore.getInstance(_colors_vis.colorVis, true);
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.defaultComputedTheme = exports.EuiThemeContext = exports.EuiSystemContext = exports.EuiNestedThemeContext = exports.EuiModificationsContext = exports.EuiHighContrastModeContext = exports.EuiColorModeContext = exports.DEFAULTS = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
|
-
var
|
|
8
|
+
var _theme = require("../../themes/amsterdam/theme");
|
|
9
9
|
var _utils = require("./utils");
|
|
10
10
|
/*
|
|
11
11
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
@@ -16,7 +16,7 @@ var _utils = require("./utils");
|
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
18
|
var DEFAULTS = exports.DEFAULTS = {
|
|
19
|
-
system:
|
|
19
|
+
system: _theme.EuiThemeAmsterdam,
|
|
20
20
|
modifications: {},
|
|
21
21
|
colorMode: _utils.DEFAULT_COLOR_MODE,
|
|
22
22
|
highContrastMode: false
|
|
@@ -5,9 +5,10 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
5
5
|
Object.defineProperty(exports, "__esModule", {
|
|
6
6
|
value: true
|
|
7
7
|
});
|
|
8
|
-
exports.withEuiTheme = exports.useEuiThemeCSSVariables = exports.useEuiTheme = exports.RenderWithEuiTheme = void 0;
|
|
8
|
+
exports.withEuiTheme = exports.useIsDarkMode = exports.useEuiThemeCSSVariables = exports.useEuiTheme = exports.RenderWithEuiTheme = void 0;
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _react = _interopRequireWildcard(require("react"));
|
|
11
|
+
var _euiThemeCommon = require("@elastic/eui-theme-common");
|
|
11
12
|
var _context = require("./context");
|
|
12
13
|
var _warning = require("./warning");
|
|
13
14
|
var _react2 = require("@emotion/react");
|
|
@@ -93,4 +94,14 @@ var useEuiThemeCSSVariables = exports.useEuiThemeCSSVariables = function useEuiT
|
|
|
93
94
|
setNearestThemeCSSVariables: setNearestThemeCSSVariables,
|
|
94
95
|
themeCSSVariables: themeCSSVariables
|
|
95
96
|
};
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Checks whether the current active `colorMode` is set to `DARK`;
|
|
101
|
+
* In case of nested providers this returns the value of the nearest provider context.
|
|
102
|
+
*/
|
|
103
|
+
var useIsDarkMode = exports.useIsDarkMode = function useIsDarkMode() {
|
|
104
|
+
var _useEuiTheme = useEuiTheme(),
|
|
105
|
+
colorMode = _useEuiTheme.colorMode;
|
|
106
|
+
return colorMode === _euiThemeCommon.COLOR_MODES_STANDARD.dark;
|
|
96
107
|
};
|
|
@@ -147,6 +147,12 @@ Object.defineProperty(exports, "useEuiThemeCSSVariables", {
|
|
|
147
147
|
return _hooks.useEuiThemeCSSVariables;
|
|
148
148
|
}
|
|
149
149
|
});
|
|
150
|
+
Object.defineProperty(exports, "useIsDarkMode", {
|
|
151
|
+
enumerable: true,
|
|
152
|
+
get: function get() {
|
|
153
|
+
return _hooks.useIsDarkMode;
|
|
154
|
+
}
|
|
155
|
+
});
|
|
150
156
|
Object.defineProperty(exports, "withEuiStylesMemoizer", {
|
|
151
157
|
enumerable: true,
|
|
152
158
|
get: function get() {
|
|
@@ -0,0 +1,427 @@
|
|
|
1
|
+
{
|
|
2
|
+
"euiZDataGrid": 999,
|
|
3
|
+
"euiZHeaderBelowDataGrid": 998,
|
|
4
|
+
"euiZDataGridCellPopover": 1000,
|
|
5
|
+
"euiDataGridCellPaddingS": "4px",
|
|
6
|
+
"euiDataGridCellPaddingM": "6px",
|
|
7
|
+
"euiDataGridCellPaddingL": "8px",
|
|
8
|
+
"euiTableHoverColor": "#1e1e25",
|
|
9
|
+
"euiTableSelectedColor": "rgba(54, 162, 239, 0.19999999999999996)",
|
|
10
|
+
"euiTableHoverSelectedColor": "rgba(27, 81, 120, 0.27999999999999997)",
|
|
11
|
+
"euiTableActionsBorderColor": "rgba(83, 89, 102, 0.09999999999999998)",
|
|
12
|
+
"euiTableHoverClickableColor": "rgba(54, 162, 239, 0.050000000000000044)",
|
|
13
|
+
"euiTableFocusClickableColor": "rgba(54, 162, 239, 0.09999999999999998)",
|
|
14
|
+
"euiContrastRatioText": 4.5,
|
|
15
|
+
"euiContrastRatioGraphic": 3,
|
|
16
|
+
"euiContrastRatioDisabled": 2,
|
|
17
|
+
"euiAnimSlightBounce": "cubic-bezier(0.34, 1.61, 0.7, 1)",
|
|
18
|
+
"euiAnimSlightResistance": "cubic-bezier(0.694, 0.0482, 0.335, 1)",
|
|
19
|
+
"euiAnimSpeedExtraFast": "90ms",
|
|
20
|
+
"euiAnimSpeedFast": "150ms",
|
|
21
|
+
"euiAnimSpeedNormal": "250ms",
|
|
22
|
+
"euiAnimSpeedSlow": "350ms",
|
|
23
|
+
"euiAnimSpeedExtraSlow": "500ms",
|
|
24
|
+
"euiBorderWidthThin": "1px",
|
|
25
|
+
"euiBorderWidthThick": "2px",
|
|
26
|
+
"euiBorderColor": "#343741",
|
|
27
|
+
"euiBorderRadius": "6px",
|
|
28
|
+
"euiBorderRadiusSmall": "4px",
|
|
29
|
+
"euiBorderThick": "2px solid #343741",
|
|
30
|
+
"euiBorderThin": "1px solid #343741",
|
|
31
|
+
"euiBorderEditable": "2px dotted #343741",
|
|
32
|
+
"euiButtonHeight": "40px",
|
|
33
|
+
"euiButtonHeightSmall": "32px",
|
|
34
|
+
"euiButtonHeightXSmall": "24px",
|
|
35
|
+
"euiButtonColorDisabled": "#515761",
|
|
36
|
+
"euiButtonColorDisabledText": "#515761",
|
|
37
|
+
"euiButtonColorGhostDisabled": "#343741",
|
|
38
|
+
"euiButtonTypes": {
|
|
39
|
+
"primary": "#36a2ef",
|
|
40
|
+
"accent": "#f68fbe",
|
|
41
|
+
"accentSecondary": "#7dded8",
|
|
42
|
+
"neutral": "#becfe3",
|
|
43
|
+
"success": "#7dded8",
|
|
44
|
+
"warning": "#f3d371",
|
|
45
|
+
"risk": "#da8b45",
|
|
46
|
+
"danger": "#f86b63",
|
|
47
|
+
"ghost": "#ffffff",
|
|
48
|
+
"text": "#98a2b3"
|
|
49
|
+
},
|
|
50
|
+
"euiFontWeightLight": 300,
|
|
51
|
+
"euiFontWeightRegular": 400,
|
|
52
|
+
"euiFontWeightMedium": 500,
|
|
53
|
+
"euiFontWeightSemiBold": 600,
|
|
54
|
+
"euiFontWeightBold": 700,
|
|
55
|
+
"euiCodeFontWeightRegular": 400,
|
|
56
|
+
"euiCodeFontWeightBold": 700,
|
|
57
|
+
"euiFormMaxWidth": "400px",
|
|
58
|
+
"euiFormControlHeight": "40px",
|
|
59
|
+
"euiFormControlCompressedHeight": "32px",
|
|
60
|
+
"euiFormControlPadding": "12px",
|
|
61
|
+
"euiFormControlCompressedPadding": "8px",
|
|
62
|
+
"euiFormControlBorderRadius": "6px",
|
|
63
|
+
"euiFormControlCompressedBorderRadius": "4px",
|
|
64
|
+
"euiRadioSize": "16px",
|
|
65
|
+
"euiCheckBoxSize": "16px",
|
|
66
|
+
"euiCheckboxBorderRadius": "4px",
|
|
67
|
+
"euiSwitchHeight": "20px",
|
|
68
|
+
"euiSwitchWidth": "44px",
|
|
69
|
+
"euiSwitchThumbSize": "20px",
|
|
70
|
+
"euiSwitchIconHeight": "16px",
|
|
71
|
+
"euiSwitchHeightCompressed": "16px",
|
|
72
|
+
"euiSwitchWidthCompressed": "28px",
|
|
73
|
+
"euiSwitchThumbSizeCompressed": "16px",
|
|
74
|
+
"euiSwitchHeightMini": "10px",
|
|
75
|
+
"euiSwitchWidthMini": "22px",
|
|
76
|
+
"euiSwitchThumbSizeMini": "10px",
|
|
77
|
+
"euiFormBackgroundColor": "#16171c",
|
|
78
|
+
"euiFormBackgroundDisabledColor": "#202128",
|
|
79
|
+
"euiFormBackgroundReadOnlyColor": "#1d1e24",
|
|
80
|
+
"euiFormBorderOpaqueColor": "#ffffff",
|
|
81
|
+
"euiFormBorderColor": "rgba(255, 255, 255, 0.09999999999999998)",
|
|
82
|
+
"euiFormBorderDisabledColor": "rgba(255, 255, 255, 0.09999999999999998)",
|
|
83
|
+
"euiFormCustomControlDisabledIconColor": "#a6aab0",
|
|
84
|
+
"euiFormCustomControlBorderColor": "#66676d",
|
|
85
|
+
"euiFormControlDisabledColor": "#535966",
|
|
86
|
+
"euiFormControlBoxShadow": "0 0 rgba(0, 0, 0, 0)",
|
|
87
|
+
"euiFormControlPlaceholderText": "#81858f",
|
|
88
|
+
"euiFormInputGroupLabelBackground": "#2c2f37",
|
|
89
|
+
"euiFormInputGroupBorder": "none",
|
|
90
|
+
"euiSwitchOffColor": "rgba(83, 89, 102, 0.7)",
|
|
91
|
+
"euiFormControlIconSizes": {
|
|
92
|
+
"small": "12px",
|
|
93
|
+
"medium": "16px",
|
|
94
|
+
"large": "24px",
|
|
95
|
+
"xLarge": "32px",
|
|
96
|
+
"xxLarge": "40px"
|
|
97
|
+
},
|
|
98
|
+
"euiFormControlLayoutGroupInputHeight": "38px",
|
|
99
|
+
"euiFormControlLayoutGroupInputCompressedHeight": "30px",
|
|
100
|
+
"euiFormControlLayoutGroupInputCompressedBorderRadius": "2px",
|
|
101
|
+
"euiHeaderBackgroundColor": "#1d1e24",
|
|
102
|
+
"euiHeaderDarkBackgroundColor": "#131317",
|
|
103
|
+
"euiHeaderBorderColor": "#131417",
|
|
104
|
+
"euiHeaderBreadcrumbColor": "#d4dae5",
|
|
105
|
+
"euiHeaderHeight": "48px",
|
|
106
|
+
"euiHeaderChildSize": "40px",
|
|
107
|
+
"euiHeaderHeightCompensation": "48px",
|
|
108
|
+
"euiPageDefaultMaxWidth": "1200px",
|
|
109
|
+
"euiPageSidebarMinWidth": "192px",
|
|
110
|
+
"euiPanelPaddingModifiers": {
|
|
111
|
+
"paddingSmall": "8px",
|
|
112
|
+
"paddingMedium": "16px",
|
|
113
|
+
"paddingLarge": "24px"
|
|
114
|
+
},
|
|
115
|
+
"euiPanelBorderRadiusModifiers": {
|
|
116
|
+
"borderRadiusNone": 0,
|
|
117
|
+
"borderRadiusMedium": "6px"
|
|
118
|
+
},
|
|
119
|
+
"euiPanelBackgroundColorModifiers": {
|
|
120
|
+
"transparent": "rgba(0, 0, 0, 0)",
|
|
121
|
+
"plain": "#1d1e24",
|
|
122
|
+
"subdued": "#141519",
|
|
123
|
+
"accent": "#4a2b39",
|
|
124
|
+
"accentSecondary": "#264341",
|
|
125
|
+
"primary": "#103148",
|
|
126
|
+
"success": "#264341",
|
|
127
|
+
"warning": "#493f22",
|
|
128
|
+
"danger": "#4a201e"
|
|
129
|
+
},
|
|
130
|
+
"euiBreakpoints": {
|
|
131
|
+
"xs": 0,
|
|
132
|
+
"s": "575px",
|
|
133
|
+
"m": "768px",
|
|
134
|
+
"l": "992px",
|
|
135
|
+
"xl": "1200px"
|
|
136
|
+
},
|
|
137
|
+
"euiBreakpointKeys": "'xs', 's', 'm', 'l', 'xl'",
|
|
138
|
+
"euiShadowColor": "#000000",
|
|
139
|
+
"euiSize": "16px",
|
|
140
|
+
"euiSizeXS": "4px",
|
|
141
|
+
"euiSizeS": "8px",
|
|
142
|
+
"euiSizeM": "12px",
|
|
143
|
+
"euiSizeL": "24px",
|
|
144
|
+
"euiSizeXL": "32px",
|
|
145
|
+
"euiSizeXXL": "40px",
|
|
146
|
+
"euiScrollBar": "16px",
|
|
147
|
+
"euiScrollBarCorner": "4px",
|
|
148
|
+
"euiScrollBarCornerThin": "6px",
|
|
149
|
+
"euiFocusRingColor": "#36a2ef",
|
|
150
|
+
"euiFocusRingAnimStartColor": "rgba(54, 162, 239, 0)",
|
|
151
|
+
"euiFocusRingAnimStartSize": "2px",
|
|
152
|
+
"euiFocusRingAnimStartSizeLarge": "10px",
|
|
153
|
+
"euiFocusRingSizeLarge": "4px",
|
|
154
|
+
"euiFocusRingSize": "2px",
|
|
155
|
+
"euiFocusTransparency": 0.8,
|
|
156
|
+
"euiFocusTransparencyPercent": "80%",
|
|
157
|
+
"euiFocusBackgroundColor": "rgba(54, 162, 239, 0.19999999999999996)",
|
|
158
|
+
"euiFontFamily": "'Inter', '-apple-system', 'BlinkMacSystemFont', 'Segoe UI', 'Helvetica', 'Arial', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",
|
|
159
|
+
"euiCodeFontFamily": "'Roboto Mono', 'Consolas', 'Menlo', 'Courier', monospace",
|
|
160
|
+
"euiFontFeatureSettings": "calt 1 kern 1 liga 1",
|
|
161
|
+
"euiTextScale": "2.125 1.6875 1.375 1.125 1 0.875 0.75",
|
|
162
|
+
"euiFontSize": "14px",
|
|
163
|
+
"euiFontSizeXS": "12px",
|
|
164
|
+
"euiFontSizeS": "14px",
|
|
165
|
+
"euiFontSizeM": "16px",
|
|
166
|
+
"euiFontSizeL": "22px",
|
|
167
|
+
"euiFontSizeXL": "27px",
|
|
168
|
+
"euiFontSizeXXL": "34px",
|
|
169
|
+
"euiLineHeight": 1.5,
|
|
170
|
+
"euiBodyLineHeight": 1.142857143,
|
|
171
|
+
"euiTitles": {
|
|
172
|
+
"xxxs": {
|
|
173
|
+
"font-size": "12px",
|
|
174
|
+
"line-height": "1.14286rem",
|
|
175
|
+
"font-weight": 700
|
|
176
|
+
},
|
|
177
|
+
"xxs": {
|
|
178
|
+
"font-size": "14px",
|
|
179
|
+
"line-height": "1.71429rem",
|
|
180
|
+
"font-weight": 700
|
|
181
|
+
},
|
|
182
|
+
"xs": {
|
|
183
|
+
"font-size": "16px",
|
|
184
|
+
"line-height": "1.71429rem",
|
|
185
|
+
"font-weight": 700
|
|
186
|
+
},
|
|
187
|
+
"s": {
|
|
188
|
+
"font-size": "22px",
|
|
189
|
+
"line-height": "2.28571rem",
|
|
190
|
+
"font-weight": 700
|
|
191
|
+
},
|
|
192
|
+
"m": {
|
|
193
|
+
"font-size": "27px",
|
|
194
|
+
"line-height": "2.28571rem",
|
|
195
|
+
"font-weight": 700
|
|
196
|
+
},
|
|
197
|
+
"l": {
|
|
198
|
+
"font-size": "34px",
|
|
199
|
+
"line-height": "2.85714rem",
|
|
200
|
+
"font-weight": 700
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
"euiZLevel0": 0,
|
|
204
|
+
"euiZLevel1": 1000,
|
|
205
|
+
"euiZLevel2": 2000,
|
|
206
|
+
"euiZLevel3": 3000,
|
|
207
|
+
"euiZLevel4": 4000,
|
|
208
|
+
"euiZLevel5": 5000,
|
|
209
|
+
"euiZLevel6": 6000,
|
|
210
|
+
"euiZLevel7": 7000,
|
|
211
|
+
"euiZLevel8": 8000,
|
|
212
|
+
"euiZLevel9": 9000,
|
|
213
|
+
"euiZToastList": 9000,
|
|
214
|
+
"euiZModal": 8000,
|
|
215
|
+
"euiZMask": 6000,
|
|
216
|
+
"euiZNavigation": 6000,
|
|
217
|
+
"euiZContentMenu": 2000,
|
|
218
|
+
"euiZHeader": 1000,
|
|
219
|
+
"euiZFlyout": 1000,
|
|
220
|
+
"euiZMaskBelowHeader": 1000,
|
|
221
|
+
"euiZContent": 0,
|
|
222
|
+
"euiPaletteColorBlind": {
|
|
223
|
+
"euiColorVis0": {
|
|
224
|
+
"graphic": "#54B399",
|
|
225
|
+
"behindText": "#6DCCB1"
|
|
226
|
+
},
|
|
227
|
+
"euiColorVis1": {
|
|
228
|
+
"graphic": "#6092C0",
|
|
229
|
+
"behindText": "#79AAD9"
|
|
230
|
+
},
|
|
231
|
+
"euiColorVis2": {
|
|
232
|
+
"graphic": "#D36086",
|
|
233
|
+
"behindText": "#EE789D"
|
|
234
|
+
},
|
|
235
|
+
"euiColorVis3": {
|
|
236
|
+
"graphic": "#9170B8",
|
|
237
|
+
"behindText": "#A987D1"
|
|
238
|
+
},
|
|
239
|
+
"euiColorVis4": {
|
|
240
|
+
"graphic": "#CA8EAE",
|
|
241
|
+
"behindText": "#E4A6C7"
|
|
242
|
+
},
|
|
243
|
+
"euiColorVis5": {
|
|
244
|
+
"graphic": "#D6BF57",
|
|
245
|
+
"behindText": "#F1D86F"
|
|
246
|
+
},
|
|
247
|
+
"euiColorVis6": {
|
|
248
|
+
"graphic": "#B9A888",
|
|
249
|
+
"behindText": "#D2C0A0"
|
|
250
|
+
},
|
|
251
|
+
"euiColorVis7": {
|
|
252
|
+
"graphic": "#DA8B45",
|
|
253
|
+
"behindText": "#F5A35C"
|
|
254
|
+
},
|
|
255
|
+
"euiColorVis8": {
|
|
256
|
+
"graphic": "#AA6556",
|
|
257
|
+
"behindText": "#C47C6C"
|
|
258
|
+
},
|
|
259
|
+
"euiColorVis9": {
|
|
260
|
+
"graphic": "#E7664C",
|
|
261
|
+
"behindText": "#FF7E62"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"euiPaletteColorBlindKeys": "'euiColorVis0', 'euiColorVis1', 'euiColorVis2', 'euiColorVis3', 'euiColorVis4', 'euiColorVis5', 'euiColorVis6', 'euiColorVis7', 'euiColorVis8', 'euiColorVis9'",
|
|
265
|
+
"euiColorVis0": "#54B399",
|
|
266
|
+
"euiColorVis1": "#6092C0",
|
|
267
|
+
"euiColorVis2": "#D36086",
|
|
268
|
+
"euiColorVis3": "#9170B8",
|
|
269
|
+
"euiColorVis4": "#CA8EAE",
|
|
270
|
+
"euiColorVis5": "#D6BF57",
|
|
271
|
+
"euiColorVis6": "#B9A888",
|
|
272
|
+
"euiColorVis7": "#DA8B45",
|
|
273
|
+
"euiColorVis8": "#AA6556",
|
|
274
|
+
"euiColorVis9": "#E7664C",
|
|
275
|
+
"euiColorVis0_behindText": "#6DCCB1",
|
|
276
|
+
"euiColorVis1_behindText": "#79AAD9",
|
|
277
|
+
"euiColorVis2_behindText": "#EE789D",
|
|
278
|
+
"euiColorVis3_behindText": "#A987D1",
|
|
279
|
+
"euiColorVis4_behindText": "#E4A6C7",
|
|
280
|
+
"euiColorVis5_behindText": "#F1D86F",
|
|
281
|
+
"euiColorVis6_behindText": "#D2C0A0",
|
|
282
|
+
"euiColorVis7_behindText": "#F5A35C",
|
|
283
|
+
"euiColorVis8_behindText": "#C47C6C",
|
|
284
|
+
"euiColorVis9_behindText": "#FF7E62",
|
|
285
|
+
"euiColorVisAsTextLight0": "#006BB4",
|
|
286
|
+
"euiColorVisAsTextLight1": "#017D73",
|
|
287
|
+
"euiColorVisAsTextLight2": "#F5A700",
|
|
288
|
+
"euiColorVisAsTextLight3": "#BD271E",
|
|
289
|
+
"euiColorVisAsTextLight4": "#DD0A73",
|
|
290
|
+
"euiColorVisAsTextLight5": "#006BB4",
|
|
291
|
+
"euiColorVisAsTextLight6": "#017D73",
|
|
292
|
+
"euiColorVisAsTextDark0": "#1BA9F5",
|
|
293
|
+
"euiColorVisAsTextDark1": "#7DE2D1",
|
|
294
|
+
"euiColorVisAsTextDark2": "#F990C0",
|
|
295
|
+
"euiColorVisAsTextDark3": "#F66",
|
|
296
|
+
"euiColorVisAsTextDark4": "#FFCE7A",
|
|
297
|
+
"euiColorVisAsTextDark5": "#1BA9F5",
|
|
298
|
+
"euiColorVisAsTextDark6": "#7DE2D1",
|
|
299
|
+
"euiColorVisSuccess0": "#209280",
|
|
300
|
+
"euiColorVisSuccess1": "#54B399",
|
|
301
|
+
"euiColorVisWarning0": "#D6BF57",
|
|
302
|
+
"euiColorVisDanger0": "#CC5642",
|
|
303
|
+
"euiColorVisDanger1": "#E7664C",
|
|
304
|
+
"euiColorVisNeutral0": "#FFFFFF",
|
|
305
|
+
"euiColorVisGrey0": "#d3dae6",
|
|
306
|
+
"euiColorVisGrey1": "#98a2b3",
|
|
307
|
+
"euiColorVisGrey2": "#69707d",
|
|
308
|
+
"euiColorVisGrey3": "#343741",
|
|
309
|
+
"euiColorVisWarm0": "#FBFBDC",
|
|
310
|
+
"euiColorVisWarm1": "#DA8B45",
|
|
311
|
+
"euiColorVisWarm2": "#E7664C",
|
|
312
|
+
"euiColorVisCool0": "#EBEFF5",
|
|
313
|
+
"euiColorVisCool1": "#6092C0",
|
|
314
|
+
"euiColorVisCool2": "#6092C0",
|
|
315
|
+
"euiColorVisComplementary0": "#6092C0",
|
|
316
|
+
"euiColorVisComplementary1": "#DA8B45",
|
|
317
|
+
"euiColorSeverityUnknown": "#D3DAE6",
|
|
318
|
+
"euiColorSeverityNeutral": "#BECFE3",
|
|
319
|
+
"euiColorSeveritySuccess": "#54B399",
|
|
320
|
+
"euiColorSeverityWarning": "#D6BF57",
|
|
321
|
+
"euiColorSeverityRisk": "#DA8B45",
|
|
322
|
+
"euiColorSeverityDanger": "#E7664C",
|
|
323
|
+
"euiColorChartLines": "#343741",
|
|
324
|
+
"euiColorChartBand": "#2a2b33",
|
|
325
|
+
"euiColorGhost": "#ffffff",
|
|
326
|
+
"euiColorInk": "#000000",
|
|
327
|
+
"euiColorPrimary": "#36a2ef",
|
|
328
|
+
"euiColorAccent": "#f68fbe",
|
|
329
|
+
"euiColorAccentSecondary": "#7dded8",
|
|
330
|
+
"euiColorSuccess": "#7dded8",
|
|
331
|
+
"euiColorWarning": "#f3d371",
|
|
332
|
+
"euiColorDanger": "#f86b63",
|
|
333
|
+
"euiColorEmptyShade": "#1d1e24",
|
|
334
|
+
"euiColorLightestShade": "#25262e",
|
|
335
|
+
"euiColorLightShade": "#343741",
|
|
336
|
+
"euiColorMediumShade": "#535966",
|
|
337
|
+
"euiColorDarkShade": "#98a2b3",
|
|
338
|
+
"euiColorDarkestShade": "#d4dae5",
|
|
339
|
+
"euiColorFullShade": "#ffffff",
|
|
340
|
+
"euiPageBackgroundColor": "#141519",
|
|
341
|
+
"euiColorHighlight": "#2e2d25",
|
|
342
|
+
"euiTextColor": "#dfe5ef",
|
|
343
|
+
"euiTitleColor": "#dfe5ef",
|
|
344
|
+
"euiTextSubduedColor": "#7a7f89",
|
|
345
|
+
"euiColorDisabled": "#515761",
|
|
346
|
+
"euiColorPrimaryText": "#36a2ef",
|
|
347
|
+
"euiColorSuccessText": "#7dded8",
|
|
348
|
+
"euiColorAccentText": "#f68fbe",
|
|
349
|
+
"euiColorWarningText": "#f3d371",
|
|
350
|
+
"euiColorDangerText": "#f86b63",
|
|
351
|
+
"euiColorDisabledText": "#515761",
|
|
352
|
+
"euiLinkColor": "#36a2ef",
|
|
353
|
+
"euiColorPlainLight": "#FFFFFF",
|
|
354
|
+
"euiColorPlainDark": "#000000",
|
|
355
|
+
"euiColorTextPrimary": "#36a2ef",
|
|
356
|
+
"euiColorTextAccent": "#f68fbe",
|
|
357
|
+
"euiColorTextAccentSecondary": "#7dded8",
|
|
358
|
+
"euiColorTextNeutral": "#becfe3",
|
|
359
|
+
"euiColorTextSuccess": "#7dded8",
|
|
360
|
+
"euiColorTextWarning": "#f3d371",
|
|
361
|
+
"euiColorTextRisk": "#da8b45",
|
|
362
|
+
"euiColorTextDanger": "#f86b63",
|
|
363
|
+
"euiColorTextParagraph": "#DFE5EF",
|
|
364
|
+
"euiColorTextHeading": "#DFE5EF",
|
|
365
|
+
"euiColorTextSubdued": "#81858f",
|
|
366
|
+
"euiColorTextDisabled": "#515761",
|
|
367
|
+
"euiColorTextInverse": "#000000",
|
|
368
|
+
"euiColorBackgroundBasePrimary": "#0b2030",
|
|
369
|
+
"euiColorBackgroundBaseAccent": "#311d26",
|
|
370
|
+
"euiColorBackgroundBaseAccentSecondary": "#192c2b",
|
|
371
|
+
"euiColorBackgroundBaseNeutral": "#26292d",
|
|
372
|
+
"euiColorBackgroundBaseSuccess": "#192c2b",
|
|
373
|
+
"euiColorBackgroundBaseWarning": "#312a17",
|
|
374
|
+
"euiColorBackgroundBaseRisk": "#2c1c0e",
|
|
375
|
+
"euiColorBackgroundBaseDanger": "#321514",
|
|
376
|
+
"euiColorBackgroundBaseSubdued": "#141519",
|
|
377
|
+
"euiColorBackgroundBaseDisabled": "#515761",
|
|
378
|
+
"euiColorBackgroundBaseHighlighted": "#141519",
|
|
379
|
+
"euiColorBackgroundBasePlain": "#1D1E24",
|
|
380
|
+
"euiColorBackgroundBaseFormsPrepend": "#2c2f37",
|
|
381
|
+
"euiColorBackgroundBaseFormsControlDisabled": "#535966",
|
|
382
|
+
"euiColorBackgroundBaseInteractiveHover": "rgba(52,55,65,0.2)",
|
|
383
|
+
"euiColorBackgroundBaseInteractiveSelect": "#103148",
|
|
384
|
+
"euiColorBackgroundBaseInteractiveOverlay": "rgba(0,0,0,0.5)",
|
|
385
|
+
"euiColorBackgroundBaseSkeletonEdge": "#2e3039",
|
|
386
|
+
"euiColorBackgroundBaseSkeletonMiddle": "#282a31",
|
|
387
|
+
"euiColorBackgroundLightPrimary": "#103148",
|
|
388
|
+
"euiColorBackgroundLightAccent": "#4a2b39",
|
|
389
|
+
"euiColorBackgroundLightAccentSecondary": "#264341",
|
|
390
|
+
"euiColorBackgroundLightNeutral": "#393e44",
|
|
391
|
+
"euiColorBackgroundLightSuccess": "#264341",
|
|
392
|
+
"euiColorBackgroundLightWarning": "#493f22",
|
|
393
|
+
"euiColorBackgroundLightRisk": "#412a15",
|
|
394
|
+
"euiColorBackgroundLightDanger": "#4a201e",
|
|
395
|
+
"euiColorBackgroundLightText": "#2a2c34",
|
|
396
|
+
"euiColorBackgroundFilledPrimary": "#36A2EF",
|
|
397
|
+
"euiColorBackgroundFilledAccent": "#F68FBE",
|
|
398
|
+
"euiColorBackgroundFilledAccentSecondary": "#7DDED8",
|
|
399
|
+
"euiColorBackgroundFilledNeutral": "#BECFE3",
|
|
400
|
+
"euiColorBackgroundFilledSuccess": "#7DDED8",
|
|
401
|
+
"euiColorBackgroundFilledWarning": "#F3D371",
|
|
402
|
+
"euiColorBackgroundFilledRisk": "#DA8B45",
|
|
403
|
+
"euiColorBackgroundFilledDanger": "#F86B63",
|
|
404
|
+
"euiColorBackgroundFilledText": "#DFE5EF",
|
|
405
|
+
"euiColorBorderBasePrimary": "#164160",
|
|
406
|
+
"euiColorBorderBaseAccent": "#62394c",
|
|
407
|
+
"euiColorBorderBaseAccentSecondary": "#325956",
|
|
408
|
+
"euiColorBorderBaseNeutral": "#4c535b",
|
|
409
|
+
"euiColorBorderBaseSuccess": "#325956",
|
|
410
|
+
"euiColorBorderBaseWarning": "#927f44",
|
|
411
|
+
"euiColorBorderBaseRisk": "#835329",
|
|
412
|
+
"euiColorBorderBaseDanger": "#632b28",
|
|
413
|
+
"euiColorBorderBaseSubdued": "#343741",
|
|
414
|
+
"euiColorBorderBaseDisabled": "rgba(255,255,255,0.1)",
|
|
415
|
+
"euiColorBorderBasePlain": "#343741",
|
|
416
|
+
"euiColorBorderBaseFloating": "transparent",
|
|
417
|
+
"euiColorBorderBaseFormsColorSwatch": "rgba(255,255,255,0.1)",
|
|
418
|
+
"euiColorBorderBaseFormsControl": "#69696f",
|
|
419
|
+
"euiColorBorderStrongPrimary": "#164160",
|
|
420
|
+
"euiColorBorderStrongAccent": "#62394c",
|
|
421
|
+
"euiColorBorderStrongAccentSecondary": "#325956",
|
|
422
|
+
"euiColorBorderStrongNeutral": "#4c535b",
|
|
423
|
+
"euiColorBorderStrongSuccess": "#325956",
|
|
424
|
+
"euiColorBorderStrongWarning": "#927f44",
|
|
425
|
+
"euiColorBorderStrongRisk": "#835329",
|
|
426
|
+
"euiColorBorderStrongDanger": "#632b28"
|
|
427
|
+
}
|