diff --git a/docs/development/core/public/kibana-plugin-public.chromebreadcrumb._data-test-subj_.md b/docs/development/core/public/kibana-plugin-public.chromebreadcrumb._data-test-subj_.md deleted file mode 100644 index 8cdfafb7c8d91..0000000000000 --- a/docs/development/core/public/kibana-plugin-public.chromebreadcrumb._data-test-subj_.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeBreadcrumb](./kibana-plugin-public.chromebreadcrumb.md) > ["data-test-subj"](./kibana-plugin-public.chromebreadcrumb._data-test-subj_.md) - -## ChromeBreadcrumb."data-test-subj" property - -Signature: - -```typescript -'data-test-subj'?: string; -``` diff --git a/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.href.md b/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.href.md deleted file mode 100644 index b40f19c99f668..0000000000000 --- a/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.href.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeBreadcrumb](./kibana-plugin-public.chromebreadcrumb.md) > [href](./kibana-plugin-public.chromebreadcrumb.href.md) - -## ChromeBreadcrumb.href property - -Signature: - -```typescript -href?: string; -``` diff --git a/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.md b/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.md index 883300f96753a..9350b56ce5f60 100644 --- a/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.md +++ b/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.md @@ -2,21 +2,11 @@ [Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeBreadcrumb](./kibana-plugin-public.chromebreadcrumb.md) -## ChromeBreadcrumb interface +## ChromeBreadcrumb type Signature: ```typescript -export interface ChromeBreadcrumb +export declare type ChromeBreadcrumb = EuiBreadcrumb; ``` - -## Properties - -| Property | Type | Description | -| --- | --- | --- | -| ["data-test-subj"](./kibana-plugin-public.chromebreadcrumb._data-test-subj_.md) | string | | -| [href](./kibana-plugin-public.chromebreadcrumb.href.md) | string | | -| [onClick](./kibana-plugin-public.chromebreadcrumb.onclick.md) | MouseEventHandler<HTMLButtonElement> | | -| [text](./kibana-plugin-public.chromebreadcrumb.text.md) | string | | - diff --git a/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.onclick.md b/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.onclick.md deleted file mode 100644 index 1e0ae36e893a1..0000000000000 --- a/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.onclick.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeBreadcrumb](./kibana-plugin-public.chromebreadcrumb.md) > [onClick](./kibana-plugin-public.chromebreadcrumb.onclick.md) - -## ChromeBreadcrumb.onClick property - -Signature: - -```typescript -onClick?: MouseEventHandler; -``` diff --git a/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.text.md b/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.text.md deleted file mode 100644 index fa7e3804576e3..0000000000000 --- a/docs/development/core/public/kibana-plugin-public.chromebreadcrumb.text.md +++ /dev/null @@ -1,11 +0,0 @@ - - -[Home](./index.md) > [kibana-plugin-public](./kibana-plugin-public.md) > [ChromeBreadcrumb](./kibana-plugin-public.chromebreadcrumb.md) > [text](./kibana-plugin-public.chromebreadcrumb.text.md) - -## ChromeBreadcrumb.text property - -Signature: - -```typescript -text: string; -``` diff --git a/docs/development/core/public/kibana-plugin-public.md b/docs/development/core/public/kibana-plugin-public.md index f55705fb2faef..d5c7ec811baa3 100644 --- a/docs/development/core/public/kibana-plugin-public.md +++ b/docs/development/core/public/kibana-plugin-public.md @@ -34,7 +34,6 @@ The plugin integrates with the core system via lifecycle events: `setup` | [Capabilities](./kibana-plugin-public.capabilities.md) | The read-only set of capabilities available for the current UI session. Capabilities are simple key-value pairs of (string, boolean), where the string denotes the capability ID, and the boolean is a flag indicating if the capability is enabled or disabled. | | [ChromeBadge](./kibana-plugin-public.chromebadge.md) | | | [ChromeBrand](./kibana-plugin-public.chromebrand.md) | | -| [ChromeBreadcrumb](./kibana-plugin-public.chromebreadcrumb.md) | | | [ChromeNavControl](./kibana-plugin-public.chromenavcontrol.md) | | | [ChromeNavControls](./kibana-plugin-public.chromenavcontrols.md) | [APIs](./kibana-plugin-public.chromenavcontrols.md) for registering new controls to be displayed in the navigation bar. | | [ChromeNavLink](./kibana-plugin-public.chromenavlink.md) | | @@ -90,6 +89,7 @@ The plugin integrates with the core system via lifecycle events: `setup` | Type Alias | Description | | --- | --- | | [AppUnmount](./kibana-plugin-public.appunmount.md) | A function called when an application should be unmounted from the page. This function should be synchronous. | +| [ChromeBreadcrumb](./kibana-plugin-public.chromebreadcrumb.md) | | | [ChromeHelpExtension](./kibana-plugin-public.chromehelpextension.md) | | | [ChromeNavLinkUpdateableFields](./kibana-plugin-public.chromenavlinkupdateablefields.md) | | | [HandlerContextType](./kibana-plugin-public.handlercontexttype.md) | Extracts the type of the first argument of a [HandlerFunction](./kibana-plugin-public.handlerfunction.md) to represent the type of the context. | diff --git a/package.json b/package.json index 29410042a865d..b1ba573ffaf5a 100644 --- a/package.json +++ b/package.json @@ -109,7 +109,7 @@ "@elastic/charts": "^13.5.1", "@elastic/datemath": "5.0.2", "@elastic/ems-client": "^1.0.2", - "@elastic/eui": "14.4.0", + "@elastic/eui": "14.5.0", "@elastic/filesaver": "1.1.2", "@elastic/good": "8.1.1-kibana2", "@elastic/numeral": "2.3.3", diff --git a/src/core/public/chrome/chrome_service.tsx b/src/core/public/chrome/chrome_service.tsx index 02195c794d280..71279ad6fed03 100644 --- a/src/core/public/chrome/chrome_service.tsx +++ b/src/core/public/chrome/chrome_service.tsx @@ -17,13 +17,13 @@ * under the License. */ -import React, { MouseEventHandler } from 'react'; +import React from 'react'; import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs'; import { map, takeUntil } from 'rxjs/operators'; import * as Url from 'url'; import { i18n } from '@kbn/i18n'; -import { IconType } from '@elastic/eui'; +import { IconType, Breadcrumb as EuiBreadcrumb } from '@elastic/eui'; import { InjectedMetadataStart } from '../injected_metadata'; import { NotificationsStart } from '../notifications'; @@ -59,12 +59,7 @@ export interface ChromeBrand { } /** @public */ -export interface ChromeBreadcrumb { - text: string; - href?: string; - 'data-test-subj'?: string; - onClick?: MouseEventHandler; -} +export type ChromeBreadcrumb = EuiBreadcrumb; /** @public */ export type ChromeHelpExtension = (element: HTMLDivElement) => () => void; diff --git a/src/core/public/chrome/ui/header/__snapshots__/header_breadcrumbs.test.tsx.snap b/src/core/public/chrome/ui/header/__snapshots__/header_breadcrumbs.test.tsx.snap index 2df1c616b04b3..d089019915686 100644 --- a/src/core/public/chrome/ui/header/__snapshots__/header_breadcrumbs.test.tsx.snap +++ b/src/core/public/chrome/ui/header/__snapshots__/header_breadcrumbs.test.tsx.snap @@ -5,7 +5,6 @@ exports[`HeaderBreadcrumbs renders updates to the breadcrumbs$ observable 1`] = aria-current="page" className="euiBreadcrumb euiBreadcrumb--last" data-test-subj="breadcrumb first last" - title="First" > First @@ -18,7 +17,6 @@ Array [ color="subdued" data-test-subj="breadcrumb first" title="First" - type="button" >
Hide the toolbar when the mouse is not within the Canvas?
"`; +exports[` can navigate Toolbar Settings, closes when activated 2`] = `"
Settings
Hide the toolbar when the mouse is not within the Canvas?
"`; -exports[` can navigate Toolbar Settings, closes when activated 3`] = `"
Settings
Hide the toolbar when the mouse is not within the Canvas?
"`; +exports[` can navigate Toolbar Settings, closes when activated 3`] = `"
Settings
Hide the toolbar when the mouse is not within the Canvas?
"`; diff --git a/x-pack/legacy/plugins/code/public/components/main/__snapshots__/breadcrumb.test.tsx.snap b/x-pack/legacy/plugins/code/public/components/main/__snapshots__/breadcrumb.test.tsx.snap index 0530d5ec0cbd6..05e7cc4639dec 100644 --- a/x-pack/legacy/plugins/code/public/components/main/__snapshots__/breadcrumb.test.tsx.snap +++ b/x-pack/legacy/plugins/code/public/components/main/__snapshots__/breadcrumb.test.tsx.snap @@ -11,7 +11,6 @@ exports[`render correctly 1`] = ` href="#github.com/elastic/TypeScript-Node-Starter/tree/master/src" onClick={[Function]} rel="noreferrer" - title="src" > src @@ -56,7 +55,6 @@ exports[`render correctly 1`] = ` href="#github.com/elastic/TypeScript-Node-Starter/tree/master/src/public/css/lib/bootstrap/mixins" onClick={[Function]} rel="noreferrer" - title="mixins" > mixins @@ -67,7 +65,6 @@ exports[`render correctly 1`] = ` aria-current="page" className="euiBreadcrumb euiBreadcrumb--last" data-test-subj="codeFileBreadcrumb-_alerts.scss" - title="_alerts.scss" > _alerts.scss diff --git a/x-pack/legacy/plugins/code/public/components/main/breadcrumb.tsx b/x-pack/legacy/plugins/code/public/components/main/breadcrumb.tsx index 1f6aa48e569ea..52c5bfa59d536 100644 --- a/x-pack/legacy/plugins/code/public/components/main/breadcrumb.tsx +++ b/x-pack/legacy/plugins/code/public/components/main/breadcrumb.tsx @@ -4,8 +4,7 @@ * you may not use this file except in compliance with the Elastic License. */ -// @ts-ignore -import { EuiBreadcrumbs } from '@elastic/eui'; +import { EuiBreadcrumbs, Breadcrumb as EuiBreadcrumb } from '@elastic/eui'; import React from 'react'; import { MainRouteParams } from '../../common/types'; import { encodeRevisionString } from '../../../common/uri_util'; @@ -20,13 +19,7 @@ export class Breadcrumb extends React.PureComponent { const { resource, org, repo, revision, path } = this.props.routeParams; const repoUri = `${resource}/${org}/${repo}`; - const breadcrumbs: Array<{ - text: string; - href: string; - className?: string; - ['data-test-subj']: string; - onClick?: Function; - }> = []; + const breadcrumbs: EuiBreadcrumb[] = []; const pathSegments = path ? path.split('/') : []; pathSegments.forEach((p, index, array) => { diff --git a/x-pack/legacy/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap b/x-pack/legacy/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap index b400e82bb3f80..a7cc8843140c8 100644 --- a/x-pack/legacy/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap +++ b/x-pack/legacy/plugins/index_lifecycle_management/__jest__/__snapshots__/extend_index_management.test.js.snap @@ -351,9 +351,7 @@ exports[`ilm summary extension should return extension when index has lifecycle className="euiDescriptionList__description" > - + } closePopover={[Function]} display="inlineBlock" @@ -522,9 +518,7 @@ exports[`ilm summary extension should return extension when index has lifecycle className="euiPopover__anchor" > - + `; @@ -94,7 +94,7 @@ exports[`NoData should show text next to the spinner while checking a setting 1`
-
@@ -176,6 +176,6 @@ exports[`NoData should show text next to the spinner while checking a setting 1`
-
+ `; diff --git a/x-pack/legacy/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap b/x-pack/legacy/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap index 7579cad3b8beb..7b468d08e29a6 100644 --- a/x-pack/legacy/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap +++ b/x-pack/legacy/plugins/monitoring/public/components/page_loading/__tests__/__snapshots__/page_loading.test.js.snap @@ -5,7 +5,7 @@ exports[`PageLoading should show a simple page loading component 1`] = ` class="euiPage" style="height:calc(100vh - 50px)" > -
- + `; diff --git a/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap index cdc183cec39b9..517a99583a54d 100644 --- a/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap +++ b/x-pack/legacy/plugins/remote_clusters/public/app/sections/components/remote_cluster_form/__snapshots__/remote_cluster_form.test.js.snap @@ -40,7 +40,6 @@ Array [
- - +

} fullWidth={false} @@ -45,6 +43,7 @@ exports[`it renders without crashing 1`] = ` describedByIds={Array []} display="row" fullWidth={true} + hasChildLabel={true} hasEmptyLabelSpace={true} labelType="label" > @@ -80,19 +79,17 @@ exports[`it renders without crashing 1`] = ` id="xpack.security.management.editRole.elasticSearchPrivileges.howToBeSubmittedOnBehalfOfOtherUsersDescription" values={Object {}} /> - - +

} fullWidth={false} @@ -112,6 +109,7 @@ exports[`it renders without crashing 1`] = ` describedByIds={Array []} display="row" fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={true} labelType="label" > @@ -156,10 +154,8 @@ exports[`it renders without crashing 1`] = ` /> diff --git a/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap index c5572aa626291..37db2e118861e 100644 --- a/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap +++ b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap @@ -29,6 +29,7 @@ exports[` renders without crashing 1`] = ` describedByIds={Array []} display="row" fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={true} labelType="label" > diff --git a/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_space_form.test.tsx.snap b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_space_form.test.tsx.snap index a2768361a270c..c20a391cdb20c 100644 --- a/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_space_form.test.tsx.snap +++ b/x-pack/legacy/plugins/security/public/views/management/edit_role/components/privileges/kibana/space_aware_privilege_section/__snapshots__/privilege_space_form.test.tsx.snap @@ -31,6 +31,7 @@ exports[` renders without crashing 1`] = ` describedByIds={Array []} display="row" fullWidth={true} + hasChildLabel={true} hasEmptyLabelSpace={false} label="Spaces" labelType="label" @@ -163,6 +164,7 @@ exports[` renders without crashing 1`] = ` describedByIds={Array []} display="row" fullWidth={true} + hasChildLabel={true} hasEmptyLabelSpace={false} label="Privilege" labelType="label" diff --git a/x-pack/legacy/plugins/siem/public/components/embeddables/__snapshots__/index_patterns_missing_prompt.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/embeddables/__snapshots__/index_patterns_missing_prompt.test.tsx.snap index f482a864bed6d..1aa3b087ac0d0 100644 --- a/x-pack/legacy/plugins/siem/public/components/embeddables/__snapshots__/index_patterns_missing_prompt.test.tsx.snap +++ b/x-pack/legacy/plugins/siem/public/components/embeddables/__snapshots__/index_patterns_missing_prompt.test.tsx.snap @@ -18,41 +18,33 @@ exports[`IndexPatternsMissingPrompt renders correctly against snapshot 1`] = ` An ECS compliant Kibana index pattern must be configured to view event data on the map. When using beats, you can run the following setup commands to create the required Kibana index patterns, otherwise you can configure them manually within Kibana settings.

- auditbeat-* - + , - filebeat-* - + , - packetbeat-* - + , - winlogbeat-* - +

} diff --git a/x-pack/legacy/plugins/siem/public/components/ml/score/__snapshots__/anomaly_score.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/ml/score/__snapshots__/anomaly_score.test.tsx.snap index 0698653696059..8760dce2b76df 100644 --- a/x-pack/legacy/plugins/siem/public/components/ml/score/__snapshots__/anomaly_score.test.tsx.snap +++ b/x-pack/legacy/plugins/siem/public/components/ml/score/__snapshots__/anomaly_score.test.tsx.snap @@ -125,14 +125,12 @@ exports[`anomaly_scores renders correctly against snapshot 1`] = ` - View in Machine Learning - + , "title": @@ -158,15 +156,13 @@ exports[`anomaly_scores renders correctly against snapshot 1`] = ` - Narrow to this date range - + , "title": "Detected", diff --git a/x-pack/legacy/plugins/siem/public/components/ml/score/__snapshots__/create_descriptions_list.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/ml/score/__snapshots__/create_descriptions_list.test.tsx.snap index 30afaa7bc71f7..0a136eb31fd6d 100644 --- a/x-pack/legacy/plugins/siem/public/components/ml/score/__snapshots__/create_descriptions_list.test.tsx.snap +++ b/x-pack/legacy/plugins/siem/public/components/ml/score/__snapshots__/create_descriptions_list.test.tsx.snap @@ -44,10 +44,8 @@ exports[`create_description_list renders correctly against snapshot 1`] = ` grow={false} > View in Machine Learning @@ -78,11 +76,9 @@ exports[`create_description_list renders correctly against snapshot 1`] = ` grow={false} > Narrow to this date range diff --git a/x-pack/legacy/plugins/siem/public/components/ml_popover/__snapshots__/popover_description.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/ml_popover/__snapshots__/popover_description.test.tsx.snap index 83dc5446de37e..cc766801d6694 100644 --- a/x-pack/legacy/plugins/siem/public/components/ml_popover/__snapshots__/popover_description.test.tsx.snap +++ b/x-pack/legacy/plugins/siem/public/components/ml_popover/__snapshots__/popover_description.test.tsx.snap @@ -9,18 +9,16 @@ exports[`FilterGroup renders correctly against snapshot 1`] = ` id="xpack.siem.components.mlPopup.anomalyDetectionDescription" values={ Object { - "machineLearning": - , + , } } /> diff --git a/x-pack/legacy/plugins/siem/public/components/ml_popover/__snapshots__/upgrade_contents.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/ml_popover/__snapshots__/upgrade_contents.test.tsx.snap index fbad5012f1e5e..4c52fad0ba29c 100644 --- a/x-pack/legacy/plugins/siem/public/components/ml_popover/__snapshots__/upgrade_contents.test.tsx.snap +++ b/x-pack/legacy/plugins/siem/public/components/ml_popover/__snapshots__/upgrade_contents.test.tsx.snap @@ -15,18 +15,16 @@ exports[`FilterGroup renders correctly against snapshot 1`] = ` id="xpack.siem.components.mlPopup.upgradeDescription" values={ Object { - "cloudLink": - , + , } } /> diff --git a/x-pack/legacy/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap index 3aa6cd3497783..82f94f2346ae7 100644 --- a/x-pack/legacy/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap +++ b/x-pack/legacy/plugins/spaces/public/views/management/components/__snapshots__/confirm_delete_modal.test.tsx.snap @@ -49,6 +49,7 @@ exports[`ConfirmDeleteModal renders as expected 1`] = ` display="row" error="Space names do not match." fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={false} isInvalid={false} label="Confirm space name to delete" diff --git a/x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap index 9316ef46b8b61..bce57527cd55a 100644 --- a/x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap +++ b/x-pack/legacy/plugins/spaces/public/views/management/components/secure_space_message/__snapshots__/secure_space_message.test.tsx.snap @@ -14,18 +14,16 @@ exports[`SecureSpaceMessage renders if security is enabled 1`] = ` id="xpack.spaces.management.secureSpaceMessage.howToAssignRoleToSpaceDescription" values={ Object { - "rolesLink": - , + , } } /> diff --git a/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/customize_space_avatar.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/customize_space_avatar.test.tsx.snap index 97e4bae437cfc..24e6bd7516819 100644 --- a/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/customize_space_avatar.test.tsx.snap +++ b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/customize_space_avatar.test.tsx.snap @@ -8,6 +8,7 @@ exports[`renders without crashing 1`] = ` describedByIds={Array []} display="row" fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={false} label="Initials (2 max)" labelType="label" @@ -30,6 +31,7 @@ exports[`renders without crashing 1`] = ` describedByIds={Array []} display="row" fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={false} isInvalid={false} label="Color" @@ -48,6 +50,7 @@ exports[`renders without crashing 1`] = ` describedByIds={Array []} display="row" fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={false} label="Custom image" labelType="label" diff --git a/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/space_identifier.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/space_identifier.test.tsx.snap index bcff2efcebeaf..15fd1ae81a347 100644 --- a/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/space_identifier.test.tsx.snap +++ b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/customize_space/__snapshots__/space_identifier.test.tsx.snap @@ -6,6 +6,7 @@ exports[`renders without crashing 1`] = ` describedByIds={Array []} display="row" fullWidth={true} + hasChildLabel={true} hasEmptyLabelSpace={false} helpText={

- - +

} labelType="label" diff --git a/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/__snapshots__/enabled_features.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/__snapshots__/enabled_features.test.tsx.snap index 6118c68aa9f99..5e91c1bd0e36c 100644 --- a/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/__snapshots__/enabled_features.test.tsx.snap +++ b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/enabled_features/__snapshots__/enabled_features.test.tsx.snap @@ -169,17 +169,15 @@ exports[`EnabledFeatures renders as expected 1`] = ` id="xpack.spaces.management.enabledSpaceFeatures.goToRolesLink" values={ Object { - "rolesLink": - , + , } } /> diff --git a/x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap index 6c13259cdde88..43149d7b3911f 100644 --- a/x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap +++ b/x-pack/legacy/plugins/spaces/public/views/management/edit_space/section_panel/__snapshots__/section_panel.test.tsx.snap @@ -29,10 +29,8 @@ exports[`it renders without blowing up 1`] = ` > hide diff --git a/x-pack/legacy/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap b/x-pack/legacy/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap index 84ed864c36231..722d8908d480b 100644 --- a/x-pack/legacy/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap +++ b/x-pack/legacy/plugins/spaces/public/views/space_selector/__snapshots__/space_selector.test.tsx.snap @@ -7,6 +7,7 @@ exports[`it renders without crashing 1`] = ` restrictWidth={false} >

- - +

- - +

, "type": "boolean", diff --git a/x-pack/legacy/plugins/transform/public/app/sections/create_transform/components/aggregation_list/__snapshots__/popover_form.test.tsx.snap b/x-pack/legacy/plugins/transform/public/app/sections/create_transform/components/aggregation_list/__snapshots__/popover_form.test.tsx.snap index 79fc12a17c929..86d33dfccb0b9 100644 --- a/x-pack/legacy/plugins/transform/public/app/sections/create_transform/components/aggregation_list/__snapshots__/popover_form.test.tsx.snap +++ b/x-pack/legacy/plugins/transform/public/app/sections/create_transform/components/aggregation_list/__snapshots__/popover_form.test.tsx.snap @@ -13,6 +13,7 @@ exports[`Transform: Aggregation Minimal initialization 1`] = ` display="row" error={false} fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={false} helpText="" isInvalid={false} @@ -32,6 +33,7 @@ exports[`Transform: Aggregation Minimal initialization 1`] = ` describedByIds={Array []} display="row" fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={true} labelType="label" > diff --git a/x-pack/legacy/plugins/transform/public/app/sections/create_transform/components/group_by_list/__snapshots__/popover_form.test.tsx.snap b/x-pack/legacy/plugins/transform/public/app/sections/create_transform/components/group_by_list/__snapshots__/popover_form.test.tsx.snap index 927317524803f..01114e3b9cfa3 100644 --- a/x-pack/legacy/plugins/transform/public/app/sections/create_transform/components/group_by_list/__snapshots__/popover_form.test.tsx.snap +++ b/x-pack/legacy/plugins/transform/public/app/sections/create_transform/components/group_by_list/__snapshots__/popover_form.test.tsx.snap @@ -13,6 +13,7 @@ exports[`Transform: Group By Minimal initialization 1`] = ` display="row" error={false} fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={false} helpText="" isInvalid={false} @@ -33,6 +34,7 @@ exports[`Transform: Group By Minimal initialization 1`] = ` display="row" error={false} fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={false} isInvalid={false} label="Interval" @@ -83,6 +85,7 @@ exports[`Transform: Group By Minimal initialization 1`] = ` describedByIds={Array []} display="row" fullWidth={false} + hasChildLabel={true} hasEmptyLabelSpace={true} labelType="label" > diff --git a/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap index 6f92d475ae6c5..4c500b02a0936 100644 --- a/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap +++ b/x-pack/legacy/plugins/upgrade_assistant/public/components/tabs/checkup/__snapshots__/checkup_tab.test.tsx.snap @@ -39,18 +39,16 @@ exports[`CheckupTab render with deprecations 1`] = ` id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.calloutDetail" values={ Object { - "snapshotRestoreDocsButton": - , + , } } /> @@ -325,18 +323,16 @@ exports[`CheckupTab render with error 1`] = ` id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.calloutDetail" values={ Object { - "snapshotRestoreDocsButton": - , + , } } /> @@ -394,18 +390,16 @@ exports[`CheckupTab render without deprecations 1`] = ` id="xpack.upgradeAssistant.checkupTab.backUpCallout.calloutBody.calloutDetail" values={ Object { - "snapshotRestoreDocsButton": - , + , } } /> @@ -440,17 +434,15 @@ exports[`CheckupTab render without deprecations 1`] = ` id="xpack.upgradeAssistant.checkupTab.noIssues.nextStepsDetail" values={ Object { - "overviewTabButton": - , + , } } /> diff --git a/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_link.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_link.test.tsx.snap index 2927e867dec1f..502af2eb91051 100644 --- a/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_link.test.tsx.snap +++ b/x-pack/legacy/plugins/uptime/public/components/functional/__tests__/__snapshots__/integration_link.test.tsx.snap @@ -30,9 +30,7 @@ exports[`IntegrationLink component renders a disabled link when href is undefine exports[`IntegrationLink component renders without errors 1`] = ` - , + , } } /> diff --git a/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap index 4783806340f07..393ab7f1b45e2 100644 --- a/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap +++ b/x-pack/legacy/plugins/uptime/public/components/functional/empty_state/__tests__/__snapshots__/empty_state.test.tsx.snap @@ -152,18 +152,16 @@ exports[`EmptyState component does not render empty state with appropriate base id="xpack.uptime.emptyState.configureHeartbeatToGetStartedMessage" values={ Object { - "configureHeartbeatLink": - , + , } } /> @@ -246,26 +244,22 @@ exports[`EmptyState component does not render empty state with appropriate base id="xpack.uptime.emptyState.configureHeartbeatToGetStartedMessage" values={ Object { - "configureHeartbeatLink": - , + , } } >
- , + , } } /> @@ -716,26 +708,22 @@ exports[`EmptyState component notifies when index does not exist 1`] = ` id="xpack.uptime.emptyState.configureHeartbeatToGetStartedMessage" values={ Object { - "configureHeartbeatLink": - , + , } } > Add location   diff --git a/x-pack/legacy/plugins/uptime/public/lib/adapters/framework/__tests__/__snapshots__/kibana_global_help.test.tsx.snap b/x-pack/legacy/plugins/uptime/public/lib/adapters/framework/__tests__/__snapshots__/kibana_global_help.test.tsx.snap index 9ae847cfc7fb9..b3f749b12d9d1 100644 --- a/x-pack/legacy/plugins/uptime/public/lib/adapters/framework/__tests__/__snapshots__/kibana_global_help.test.tsx.snap +++ b/x-pack/legacy/plugins/uptime/public/lib/adapters/framework/__tests__/__snapshots__/kibana_global_help.test.tsx.snap @@ -27,12 +27,10 @@ exports[`renderUptimeKibanaGlobalHelp renders links with expected urls 1`] = ` /> - - + `; diff --git a/x-pack/package.json b/x-pack/package.json index b0fabd89d20c7..de996ae30bb9a 100644 --- a/x-pack/package.json +++ b/x-pack/package.json @@ -195,7 +195,7 @@ "@elastic/datemath": "5.0.2", "@elastic/ems-client": "1.0.2", "@elastic/filesaver": "1.1.2", - "@elastic/eui": "14.4.0", + "@elastic/eui": "14.5.0", "@elastic/javascript-typescript-langserver": "^0.3.3", "@elastic/lsp-extension": "^0.1.2", "@elastic/maki": "6.1.0", diff --git a/yarn.lock b/yarn.lock index 0a7a6f6d17cc9..8567d135248f8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1153,10 +1153,10 @@ tabbable "^1.1.0" uuid "^3.1.0" -"@elastic/eui@14.4.0": - version "14.4.0" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-14.4.0.tgz#ac09a476798dcdb1005616cccc149eda23ea2a90" - integrity sha512-dR7lYwUaIRXZjlUrJBq8GcGLPh6QfM3waQxUFI8lOnMVayJe3OOMNADCn8Oty6wNYIOrBWzZbW6w4bzInWF6oA== +"@elastic/eui@14.5.0": + version "14.5.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-14.5.0.tgz#1b27559cd644403e2692cab1549082cbd3421dab" + integrity sha512-QpmfO6Unt4evb4P18CyWzassLFrw/4CUPFYZXQK12IChDOs6GrwQ6xZM8f0wjN/NXwjRjlWzMhtCWHYmrI6NGg== dependencies: "@types/lodash" "^4.14.116" "@types/numeral" "^0.0.25"