@elastic/eui 63.0.1 → 63.0.2
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_charts_theme.js +330 -330
- package/dist/eui_charts_theme.js.map +1 -1
- package/es/components/description_list/description_list_description.js +2 -1
- package/es/components/description_list/description_list_title.js +2 -1
- package/eui.d.ts +2 -144
- package/optimize/es/components/description_list/description_list_description.js +2 -1
- package/optimize/es/components/description_list/description_list_title.js +2 -1
- package/package.json +1 -1
|
@@ -30,7 +30,8 @@ import PropTypes from "prop-types";
|
|
|
30
30
|
import classNames from 'classnames';
|
|
31
31
|
import { useEuiTheme } from '../../services';
|
|
32
32
|
import { euiDescriptionListDescriptionStyles } from './description_list_description.styles';
|
|
33
|
-
import { EuiDescriptionListContext } from './description_list_context';
|
|
33
|
+
import { EuiDescriptionListContext } from './description_list_context'; // Export required for correct inference by HOCs
|
|
34
|
+
|
|
34
35
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
35
36
|
export var EuiDescriptionListDescription = function EuiDescriptionListDescription(_ref) {
|
|
36
37
|
var children = _ref.children,
|
|
@@ -30,7 +30,8 @@ import PropTypes from "prop-types";
|
|
|
30
30
|
import classNames from 'classnames';
|
|
31
31
|
import { useEuiTheme } from '../../services';
|
|
32
32
|
import { euiDescriptionListTitleStyles } from './description_list_title.styles';
|
|
33
|
-
import { EuiDescriptionListContext } from './description_list_context';
|
|
33
|
+
import { EuiDescriptionListContext } from './description_list_context'; // Export required for correct inference by HOCs
|
|
34
|
+
|
|
34
35
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
35
36
|
export var EuiDescriptionListTitle = function EuiDescriptionListTitle(_ref) {
|
|
36
37
|
var children = _ref.children,
|
package/eui.d.ts
CHANGED
|
@@ -13009,10 +13009,9 @@ declare module '@elastic/eui/src/components/description_list/description_list_co
|
|
|
13009
13009
|
declare module '@elastic/eui/src/components/description_list/description_list_title' {
|
|
13010
13010
|
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
13011
13011
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
13012
|
-
interface EuiDescriptionListTitleProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
13012
|
+
export interface EuiDescriptionListTitleProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
13013
13013
|
}
|
|
13014
13014
|
export const EuiDescriptionListTitle: FunctionComponent<EuiDescriptionListTitleProps>;
|
|
13015
|
-
export {};
|
|
13016
13015
|
|
|
13017
13016
|
}
|
|
13018
13017
|
declare module '@elastic/eui/src/components/description_list/description_list_description.styles' {
|
|
@@ -13039,10 +13038,9 @@ declare module '@elastic/eui/src/components/description_list/description_list_de
|
|
|
13039
13038
|
declare module '@elastic/eui/src/components/description_list/description_list_description' {
|
|
13040
13039
|
import { HTMLAttributes, FunctionComponent } from 'react';
|
|
13041
13040
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
13042
|
-
interface EuiDescriptionListDescriptionProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
13041
|
+
export interface EuiDescriptionListDescriptionProps extends CommonProps, HTMLAttributes<HTMLElement> {
|
|
13043
13042
|
}
|
|
13044
13043
|
export const EuiDescriptionListDescription: FunctionComponent<EuiDescriptionListDescriptionProps>;
|
|
13045
|
-
export {};
|
|
13046
13044
|
|
|
13047
13045
|
}
|
|
13048
13046
|
declare module '@elastic/eui/src/components/description_list/description_list.styles' {
|
|
@@ -19442,56 +19440,6 @@ declare module '@elastic/eui' {
|
|
|
19442
19440
|
export * from '@elastic/eui/src/themes';
|
|
19443
19441
|
export * from '@elastic/eui/src/global_styling';
|
|
19444
19442
|
|
|
19445
|
-
}
|
|
19446
|
-
declare module '@elastic/eui/src/test/internal/render_with_styles' {
|
|
19447
|
-
import { ReactElement } from 'react';
|
|
19448
|
-
/**
|
|
19449
|
-
* Use this function to add the `@emotion` Jest serializer to a single test.
|
|
19450
|
-
* The resulting snapshot will include the styles of elements in the component that use `@emotion` for styling.
|
|
19451
|
-
*
|
|
19452
|
-
* This function must be run outside of a `test` block:
|
|
19453
|
-
|
|
19454
|
-
```
|
|
19455
|
-
describe('EuiMark', () => {
|
|
19456
|
-
renderWithStyles(<EuiMark>Marked</EuiMark>);
|
|
19457
|
-
|
|
19458
|
-
test('is rendered', () => {});
|
|
19459
|
-
});
|
|
19460
|
-
```
|
|
19461
|
-
*/
|
|
19462
|
-
export const renderWithStyles: (component: ReactElement) => never;
|
|
19463
|
-
|
|
19464
|
-
}
|
|
19465
|
-
declare module '@elastic/eui/src/test/internal/render_custom_styles' {
|
|
19466
|
-
import { ReactElement } from 'react';
|
|
19467
|
-
/**
|
|
19468
|
-
* Use this test helper to quickly check that the component supports custom
|
|
19469
|
-
* `className`, `css`, and `style` properties.
|
|
19470
|
-
*
|
|
19471
|
-
* Example usage:
|
|
19472
|
-
*
|
|
19473
|
-
* shouldRenderCustomStyles(<EuiMark {...requiredProps} />Marked</EuiMark>);
|
|
19474
|
-
*/
|
|
19475
|
-
export const shouldRenderCustomStyles: (component: ReactElement) => void;
|
|
19476
|
-
|
|
19477
|
-
}
|
|
19478
|
-
declare module '@elastic/eui/src/test/internal/test_custom_hook' {
|
|
19479
|
-
|
|
19480
|
-
export const HookWrapper: (props: {
|
|
19481
|
-
hook?: Function;
|
|
19482
|
-
}) => JSX.Element;
|
|
19483
|
-
export const testCustomHook: <T>(hook?: Function | undefined, args?: unknown) => {
|
|
19484
|
-
return: T;
|
|
19485
|
-
getUpdatedState: () => T;
|
|
19486
|
-
updateHookArgs: (args: unknown) => void;
|
|
19487
|
-
};
|
|
19488
|
-
|
|
19489
|
-
}
|
|
19490
|
-
declare module '@elastic/eui/src/test/internal' {
|
|
19491
|
-
export * from '@elastic/eui/src/test/internal/render_with_styles';
|
|
19492
|
-
export * from '@elastic/eui/src/test/internal/render_custom_styles';
|
|
19493
|
-
export * from '@elastic/eui/src/test/internal/test_custom_hook';
|
|
19494
|
-
|
|
19495
19443
|
}
|
|
19496
19444
|
declare module '@elastic/eui/src/components/icon/assets/videoPlayer' {
|
|
19497
19445
|
import * as React from 'react';
|
|
@@ -24036,96 +23984,6 @@ declare module 'mdast-util-to-hast/lib/all' {
|
|
|
24036
23984
|
const all: (h: H, node: Node) => Node[];
|
|
24037
23985
|
export = all;
|
|
24038
23986
|
}
|
|
24039
|
-
declare module '@elastic/eui/src/test/rtl/component_helpers' {
|
|
24040
|
-
import '@testing-library/jest-dom';
|
|
24041
|
-
/**
|
|
24042
|
-
* Ensure the EuiPopover being tested is open/closed before continuing
|
|
24043
|
-
* Note: Because EuiPopover is portalled, we want to query `document`
|
|
24044
|
-
* instead of the `container` returned by RTL's render()
|
|
24045
|
-
*/
|
|
24046
|
-
export const waitForEuiPopoverOpen: () => Promise<void>;
|
|
24047
|
-
export const waitForEuiPopoverClose: () => Promise<void>;
|
|
24048
|
-
/**
|
|
24049
|
-
* Ensure the EuiToolTip being tested is open and visible before continuing
|
|
24050
|
-
*/
|
|
24051
|
-
export const waitForEuiToolTipVisible: () => Promise<void>;
|
|
24052
|
-
export const waitForEuiToolTipHidden: () => Promise<void>;
|
|
24053
|
-
|
|
24054
|
-
}
|
|
24055
|
-
declare module '@elastic/eui/src/test/rtl/data_test_subj_queries' {
|
|
24056
|
-
import { queryHelpers, Matcher, MatcherOptions } from '@testing-library/react'; const queryAllByTestSubject: (container: HTMLElement, id: Matcher, options?: MatcherOptions | undefined) => HTMLElement[]; const queryByTestSubject: queryHelpers.QueryBy<[Matcher]>, getAllByTestSubject: queryHelpers.GetAllBy<[Matcher]>, getByTestSubject: queryHelpers.GetBy<[Matcher]>, findAllByTestSubject: queryHelpers.FindAllBy<[Matcher]>, findByTestSubject: queryHelpers.FindBy<[Matcher]>;
|
|
24057
|
-
export { queryByTestSubject, queryAllByTestSubject, getByTestSubject, getAllByTestSubject, findAllByTestSubject, findByTestSubject, };
|
|
24058
|
-
|
|
24059
|
-
}
|
|
24060
|
-
declare module '@elastic/eui/src/test/rtl/custom_render' {
|
|
24061
|
-
import { ReactElement } from 'react';
|
|
24062
|
-
import { queries, RenderOptions, Screen } from '@testing-library/react';
|
|
24063
|
-
import * as dataTestSubjQueries from '@elastic/eui/src/test/rtl/data_test_subj_queries'; const customRender: (ui: ReactElement, { queries: renderQueries, ...options }?: RenderOptions) => import("@testing-library/react").RenderResult<{
|
|
24064
|
-
getByLabelText: typeof queries.getByLabelText;
|
|
24065
|
-
getAllByLabelText: typeof queries.getAllByLabelText;
|
|
24066
|
-
queryByLabelText: typeof queries.queryByLabelText;
|
|
24067
|
-
queryAllByLabelText: typeof queries.queryAllByLabelText;
|
|
24068
|
-
findByLabelText: typeof queries.findByLabelText;
|
|
24069
|
-
findAllByLabelText: typeof queries.findAllByLabelText;
|
|
24070
|
-
getByPlaceholderText: typeof queries.getByPlaceholderText;
|
|
24071
|
-
getAllByPlaceholderText: typeof queries.getAllByPlaceholderText;
|
|
24072
|
-
queryByPlaceholderText: typeof queries.queryByPlaceholderText;
|
|
24073
|
-
queryAllByPlaceholderText: typeof queries.queryAllByPlaceholderText;
|
|
24074
|
-
findByPlaceholderText: typeof queries.findByPlaceholderText;
|
|
24075
|
-
findAllByPlaceholderText: typeof queries.findAllByPlaceholderText;
|
|
24076
|
-
getByText: typeof queries.getByText;
|
|
24077
|
-
getAllByText: typeof queries.getAllByText;
|
|
24078
|
-
queryByText: typeof queries.queryByText;
|
|
24079
|
-
queryAllByText: typeof queries.queryAllByText;
|
|
24080
|
-
findByText: typeof queries.findByText;
|
|
24081
|
-
findAllByText: typeof queries.findAllByText;
|
|
24082
|
-
getByAltText: typeof queries.getByAltText;
|
|
24083
|
-
getAllByAltText: typeof queries.getAllByAltText;
|
|
24084
|
-
queryByAltText: typeof queries.queryByAltText;
|
|
24085
|
-
queryAllByAltText: typeof queries.queryAllByAltText;
|
|
24086
|
-
findByAltText: typeof queries.findByAltText;
|
|
24087
|
-
findAllByAltText: typeof queries.findAllByAltText;
|
|
24088
|
-
getByTitle: typeof queries.getByTitle;
|
|
24089
|
-
getAllByTitle: typeof queries.getAllByTitle;
|
|
24090
|
-
queryByTitle: typeof queries.queryByTitle;
|
|
24091
|
-
queryAllByTitle: typeof queries.queryAllByTitle;
|
|
24092
|
-
findByTitle: typeof queries.findByTitle;
|
|
24093
|
-
findAllByTitle: typeof queries.findAllByTitle;
|
|
24094
|
-
getByDisplayValue: typeof queries.getByDisplayValue;
|
|
24095
|
-
getAllByDisplayValue: typeof queries.getAllByDisplayValue;
|
|
24096
|
-
queryByDisplayValue: typeof queries.queryByDisplayValue;
|
|
24097
|
-
queryAllByDisplayValue: typeof queries.queryAllByDisplayValue;
|
|
24098
|
-
findByDisplayValue: typeof queries.findByDisplayValue;
|
|
24099
|
-
findAllByDisplayValue: typeof queries.findAllByDisplayValue;
|
|
24100
|
-
getByRole: typeof queries.getByRole;
|
|
24101
|
-
getAllByRole: typeof queries.getAllByRole;
|
|
24102
|
-
queryByRole: typeof queries.queryByRole;
|
|
24103
|
-
queryAllByRole: typeof queries.queryAllByRole;
|
|
24104
|
-
findByRole: typeof queries.findByRole;
|
|
24105
|
-
findAllByRole: typeof queries.findAllByRole;
|
|
24106
|
-
getByTestId: typeof queries.getByTestId;
|
|
24107
|
-
getAllByTestId: typeof queries.getAllByTestId;
|
|
24108
|
-
queryByTestId: typeof queries.queryByTestId;
|
|
24109
|
-
queryAllByTestId: typeof queries.queryAllByTestId;
|
|
24110
|
-
findByTestId: typeof queries.findByTestId;
|
|
24111
|
-
findAllByTestId: typeof queries.findAllByTestId;
|
|
24112
|
-
queryByTestSubject: import("@testing-library/react").QueryBy<[import("@testing-library/react").Matcher]>;
|
|
24113
|
-
queryAllByTestSubject: (container: HTMLElement, id: import("@testing-library/react").Matcher, options?: import("@testing-library/react").MatcherOptions | undefined) => HTMLElement[];
|
|
24114
|
-
getByTestSubject: import("@testing-library/react").GetBy<[import("@testing-library/react").Matcher]>;
|
|
24115
|
-
getAllByTestSubject: import("@testing-library/react").GetAllBy<[import("@testing-library/react").Matcher]>;
|
|
24116
|
-
findAllByTestSubject: import("@testing-library/react").FindAllBy<[import("@testing-library/react").Matcher]>;
|
|
24117
|
-
findByTestSubject: import("@testing-library/react").FindBy<[import("@testing-library/react").Matcher]>;
|
|
24118
|
-
}, HTMLElement, HTMLElement>;
|
|
24119
|
-
export { customRender as render }; const customScreen: Screen<typeof queries & typeof dataTestSubjQueries>;
|
|
24120
|
-
export { customScreen as screen };
|
|
24121
|
-
|
|
24122
|
-
}
|
|
24123
|
-
declare module '@elastic/eui/src/test/rtl' {
|
|
24124
|
-
export * from '@elastic/eui/src/test/rtl/component_helpers';
|
|
24125
|
-
export { queryByTestSubject, queryAllByTestSubject, getByTestSubject, getAllByTestSubject, findAllByTestSubject, findByTestSubject, } from '@elastic/eui/src/test/rtl/data_test_subj_queries';
|
|
24126
|
-
export { render, screen } from '@elastic/eui/src/test/rtl/custom_render';
|
|
24127
|
-
|
|
24128
|
-
}
|
|
24129
23987
|
declare module '@elastic/eui/src/components/table/mobile' {
|
|
24130
23988
|
export { EuiTableHeaderMobile } from '@elastic/eui/src/components/table/mobile/table_header_mobile';
|
|
24131
23989
|
export type { EuiTableSortMobileProps } from '@elastic/eui/src/components/table/mobile/table_sort_mobile';
|
|
@@ -14,7 +14,8 @@ import React, { useContext } from 'react';
|
|
|
14
14
|
import classNames from 'classnames';
|
|
15
15
|
import { useEuiTheme } from '../../services';
|
|
16
16
|
import { euiDescriptionListDescriptionStyles } from './description_list_description.styles';
|
|
17
|
-
import { EuiDescriptionListContext } from './description_list_context';
|
|
17
|
+
import { EuiDescriptionListContext } from './description_list_context'; // Export required for correct inference by HOCs
|
|
18
|
+
|
|
18
19
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
19
20
|
export var EuiDescriptionListDescription = function EuiDescriptionListDescription(_ref) {
|
|
20
21
|
var children = _ref.children,
|
|
@@ -14,7 +14,8 @@ import React, { useContext } from 'react';
|
|
|
14
14
|
import classNames from 'classnames';
|
|
15
15
|
import { useEuiTheme } from '../../services';
|
|
16
16
|
import { euiDescriptionListTitleStyles } from './description_list_title.styles';
|
|
17
|
-
import { EuiDescriptionListContext } from './description_list_context';
|
|
17
|
+
import { EuiDescriptionListContext } from './description_list_context'; // Export required for correct inference by HOCs
|
|
18
|
+
|
|
18
19
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
19
20
|
export var EuiDescriptionListTitle = function EuiDescriptionListTitle(_ref) {
|
|
20
21
|
var children = _ref.children,
|