diff --git a/package.json b/package.json index 4676515b4f889..05b09aa56196c 100644 --- a/package.json +++ b/package.json @@ -105,7 +105,7 @@ "@elastic/datemath": "5.0.3", "@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@8.9.1-canary.1", "@elastic/ems-client": "8.5.1", - "@elastic/eui": "92.2.1", + "@elastic/eui": "93.0.0", "@elastic/filesaver": "1.1.2", "@elastic/node-crypto": "1.2.1", "@elastic/numeral": "^2.5.1", diff --git a/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap b/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap index 78bb5d5d7ea71..50b4b74b0f3e5 100644 --- a/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap +++ b/packages/core/i18n/core-i18n-browser-internal/src/__snapshots__/i18n_service.test.tsx.snap @@ -376,9 +376,9 @@ exports[`#start() returns \`Context\` component 1`] = ` "euiToast.dismissToast": "Dismiss toast", "euiToast.newNotification": "A new notification appears", "euiToast.notification": "Notification", - "euiTourStep.closeTour": "Close tour", - "euiTourStep.endTour": "End tour", - "euiTourStep.skipTour": "Skip tour", + "euiTourFooter.closeTour": "Close tour", + "euiTourFooter.endTour": "End tour", + "euiTourFooter.skipTour": "Skip tour", "euiTourStepIndicator.ariaLabel": [Function], "euiTourStepIndicator.isActive": "active", "euiTourStepIndicator.isComplete": "complete", diff --git a/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx b/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx index 8710a8640d747..a8c4db74ba406 100644 --- a/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx +++ b/packages/core/i18n/core-i18n-browser-internal/src/i18n_eui_mapping.tsx @@ -1710,13 +1710,13 @@ export const getEuiContextMapping = (): EuiTokensObject => { defaultMessage: 'Notification', description: 'ARIA label on an element containing a notification', }), - 'euiTourStep.endTour': i18n.translate('core.euiTourStep.endTour', { + 'euiTourFooter.endTour': i18n.translate('core.euiTourFooter.endTour', { defaultMessage: 'End tour', }), - 'euiTourStep.skipTour': i18n.translate('core.euiTourStep.skipTour', { + 'euiTourFooter.skipTour': i18n.translate('core.euiTourFooter.skipTour', { defaultMessage: 'Skip tour', }), - 'euiTourStep.closeTour': i18n.translate('core.euiTourStep.closeTour', { + 'euiTourFooter.closeTour': i18n.translate('core.euiTourFooter.closeTour', { defaultMessage: 'Close tour', }), 'euiTourStepIndicator.isActive': i18n.translate('core.euiTourStepIndicator.isActive', { diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index 436fc25abf955..6b1be5c45934a 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -85,7 +85,7 @@ export const LICENSE_OVERRIDES = { 'jsts@1.6.2': ['Eclipse Distribution License - v 1.0'], // cf. https://github.com/bjornharrtell/jsts '@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint '@elastic/ems-client@8.5.1': ['Elastic License 2.0'], - '@elastic/eui@92.2.1': ['SSPL-1.0 OR Elastic License 2.0'], + '@elastic/eui@93.0.0': ['SSPL-1.0 OR Elastic License 2.0'], 'language-subtag-registry@0.3.21': ['CC-BY-4.0'], // retired ODC‑By license https://github.com/mattcg/language-subtag-registry 'buffers@0.1.1': ['MIT'], // license in importing module https://www.npmjs.com/package/binary '@bufbuild/protobuf@1.2.1': ['Apache-2.0'], // license (Apache-2.0 AND BSD-3-Clause) diff --git a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap b/src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap index 6863540ad4a71..d478b18ef2ddb 100644 --- a/src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap +++ b/src/plugins/dashboard/public/dashboard_container/component/empty_screen/__snapshots__/dashboard_empty_screen.test.tsx.snap @@ -20,13 +20,13 @@ exports[`DashboardEmptyScreen renders correctly with edit mode 1`] = ` class="emotion-euiPageSection__content-l-center" >
+

+ This dashboard is empty. Let’s fill it up! +

+
-

- This dashboard is empty. Let’s fill it up! -

-
-
- - Create a visualization of your data, or add one from the library. - -
+ + Create a visualization of your data, or add one from the library. +
+
+
+
-
-
- -
-
+ +
+
+ -
+ +
@@ -145,13 +141,13 @@ exports[`DashboardEmptyScreen renders correctly with readonly and edit mode 1`] class="emotion-euiPageSection__content-l-center" >
+

+ This dashboard is empty. +

+
-

- This dashboard is empty. -

-
-
- - You need additional privileges to edit this dashboard. - -
+ + You need additional privileges to edit this dashboard. +
@@ -219,13 +211,13 @@ exports[`DashboardEmptyScreen renders correctly with readonly mode 1`] = ` class="emotion-euiPageSection__content-l-center" >
+

+ This dashboard is empty. +

+
-

- This dashboard is empty. -

-
-
- - You need additional privileges to edit this dashboard. - -
+ + You need additional privileges to edit this dashboard. +
@@ -293,13 +281,13 @@ exports[`DashboardEmptyScreen renders correctly with view mode 1`] = ` class="emotion-euiPageSection__content-l-center" >
+

+ Add visualizations to your dashboard +

+
-

- Add visualizations to your dashboard -

-
-
- - Enter edit mode, and then start adding your visualizations. - -
+ + Enter edit mode, and then start adding your visualizations. +
-
- -
+ +
diff --git a/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap b/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap index 8bd049df006fc..837cee1a78aff 100644 --- a/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap +++ b/src/plugins/data/public/utils/table_inspector_view/components/__snapshots__/data_view.test.tsx.snap @@ -2,32 +2,28 @@ exports[`Inspector Data View component should render empty state 1`] = `
+

+ No data available +

+
-

- No data available -

-
-
-

- The element did not provide any data. -

-
+

+ The element did not provide any data. +

diff --git a/src/plugins/discover/public/components/discover_tour/discover_tour_provider.tsx b/src/plugins/discover/public/components/discover_tour/discover_tour_provider.tsx index 01aabdba43fc5..45a870fbc2806 100644 --- a/src/plugins/discover/public/components/discover_tour/discover_tour_provider.tsx +++ b/src/plugins/discover/public/components/discover_tour/discover_tour_provider.tsx @@ -295,7 +295,7 @@ export const DiscoverTourStepFooterAction: React.FC<{ onClick={onFinishTour} data-test-subj="discoverTourButtonSkip" > - {EuiI18n({ token: 'core.euiTourStep.skipTour', default: 'Skip tour' })} + {EuiI18n({ token: 'core.euiTourFooter.skipTour', default: 'Skip tour' })} )} @@ -306,7 +306,7 @@ export const DiscoverTourStepFooterAction: React.FC<{ onClick={onFinishTour} data-test-subj="discoverTourButtonEnd" > - {EuiI18n({ token: 'core.euiTourStep.endTour', default: 'End tour' })} + {EuiI18n({ token: 'core.euiTourFooter.endTour', default: 'End tour' })} ) : ( - {EuiI18n({ token: 'core.euiTourStep.nextStep', default: 'Next' })} + {EuiI18n({ token: 'core.euiTourFooter.nextStep', default: 'Next' })} )} diff --git a/src/plugins/visualizations/public/components/__snapshots__/visualization_noresults.test.js.snap b/src/plugins/visualizations/public/components/__snapshots__/visualization_noresults.test.js.snap index fb9bdb537acf3..533cc7d1bba3f 100644 --- a/src/plugins/visualizations/public/components/__snapshots__/visualization_noresults.test.js.snap +++ b/src/plugins/visualizations/public/components/__snapshots__/visualization_noresults.test.js.snap @@ -6,14 +6,14 @@ exports[`VisualizationNoResults should render according to snapshot 1`] = ` data-test-subj="visNoResult" >
-
- No results found -
+ No results found
diff --git a/x-pack/plugins/global_search_bar/public/components/search_bar.tsx b/x-pack/plugins/global_search_bar/public/components/search_bar.tsx index 821a6efad3491..991b7d6af6259 100644 --- a/x-pack/plugins/global_search_bar/public/components/search_bar.tsx +++ b/x-pack/plugins/global_search_bar/public/components/search_bar.tsx @@ -351,7 +351,7 @@ export const SearchBar: FC = (opts) => { 'data-test-subj': 'nav-search-popover', panelClassName: 'navSearch__panel', repositionOnScroll: true, - buttonRef: setButtonRef, + popoverRef: setButtonRef, panelStyle: { marginTop: '6px' }, }} popoverButton={ diff --git a/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/policy_table.test.tsx.snap b/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/policy_table.test.tsx.snap index f9e7a78b3b44c..227f904ba7b57 100644 --- a/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/policy_table.test.tsx.snap +++ b/x-pack/plugins/index_lifecycle_management/__jest__/__snapshots__/policy_table.test.tsx.snap @@ -44,13 +44,13 @@ exports[`policy table shows empty state when there are no policies 1`] = ` class="emotion-euiPageSection__content-l-center" >
+

+ Create your first index lifecycle policy +

+
-

- Create your first index lifecycle policy -

-
-
-

- An index lifecycle policy helps you manage your indices as they age. -

-
-
-
+
+ -
+ color="inherit" + data-euiicon-type="plusInCircle" + /> + Create policy + +
diff --git a/x-pack/plugins/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap b/x-pack/plugins/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap index 500bcfdaaa3f2..2217c13f37ed2 100644 --- a/x-pack/plugins/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/no_data/__snapshots__/no_data.test.js.snap @@ -21,91 +21,87 @@ exports[`NoData should show a default message if reason is unknown 1`] = ` class="emotion-euiPageSection__content-l-center" >
+

+ No monitoring data found +

+
-

- No monitoring data found -

-
-
-

- Have you set up monitoring yet? If so, make sure that the selected time period in the upper right includes monitoring data. -

-

- If you have configured monitoring data to be sent to a dedicated monitoring cluster you should access that data with the Kibana instance attached to the monitoring cluster. -

-
+

+ Have you set up monitoring yet? If so, make sure that the selected time period in the upper right includes monitoring data. +

+

+ If you have configured monitoring data to be sent to a dedicated monitoring cluster you should access that data with the Kibana instance attached to the monitoring cluster. +

+
+
+
-
-
- -
+ Set up monitoring with Metricbeat + +
-
- -
+ +
@@ -136,91 +132,87 @@ exports[`NoData should show text next to the spinner while checking a setting 1` class="emotion-euiPageSection__content-l-center" >
+

+ No monitoring data found +

+
-

- No monitoring data found -

-
-
-

- Have you set up monitoring yet? If so, make sure that the selected time period in the upper right includes monitoring data. -

-

- If you have configured monitoring data to be sent to a dedicated monitoring cluster you should access that data with the Kibana instance attached to the monitoring cluster. -

-
+

+ Have you set up monitoring yet? If so, make sure that the selected time period in the upper right includes monitoring data. +

+

+ If you have configured monitoring data to be sent to a dedicated monitoring cluster you should access that data with the Kibana instance attached to the monitoring cluster. +

+
+
+
-
-
- -
+ Set up monitoring with Metricbeat + +
-
- -
+ +
diff --git a/x-pack/plugins/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap b/x-pack/plugins/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap index e83555e1d5eb3..bfba0e77b29aa 100644 --- a/x-pack/plugins/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap +++ b/x-pack/plugins/monitoring/public/components/page_loading/__snapshots__/page_loading.test.js.snap @@ -15,13 +15,13 @@ exports[`PageLoading should show a simple page loading component 1`] = ` class="emotion-euiPageSection__content-l-center" >
-
- Loading… -
+ Loading…
diff --git a/x-pack/plugins/security/public/management/roles/roles_grid/__snapshots__/roles_grid_page.test.tsx.snap b/x-pack/plugins/security/public/management/roles/roles_grid/__snapshots__/roles_grid_page.test.tsx.snap index f9de5da1a1467..fbf5c14bd351d 100644 --- a/x-pack/plugins/security/public/management/roles/roles_grid/__snapshots__/roles_grid_page.test.tsx.snap +++ b/x-pack/plugins/security/public/management/roles/roles_grid/__snapshots__/roles_grid_page.test.tsx.snap @@ -8,13 +8,13 @@ exports[` renders permission denied if required 1`] = ` class="emotion-euiPageSection__content-l-center" >
renders permission denied if required 1`] = ` />
+

+ You need permission to manage roles +

+
-

- You need permission to manage roles -

-
-
-

- Contact your system administrator. -

-
+ Contact your system administrator. +

diff --git a/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap b/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap index b6bb95e80744b..fe6552fa889af 100644 --- a/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap +++ b/x-pack/plugins/security/server/__snapshots__/prompt_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`PromptPage renders as expected with additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; +exports[`PromptPage renders as expected with additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; -exports[`PromptPage renders as expected without additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; +exports[`PromptPage renders as expected without additional scripts 1`] = `"ElasticMockedFonts

Some Title

Some Body
Action#1
Action#2
"`; diff --git a/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap b/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap index 8b78fb132c3f8..43f406782acc2 100644 --- a/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap +++ b/x-pack/plugins/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`UnauthenticatedPage renders as expected 1`] = `"ElasticMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; +exports[`UnauthenticatedPage renders as expected 1`] = `"ElasticMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; -exports[`UnauthenticatedPage renders as expected with custom title 1`] = `"My Company NameMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; +exports[`UnauthenticatedPage renders as expected with custom title 1`] = `"My Company NameMockedFonts

We hit an authentication error

Try logging in again, and if the problem persists, contact your system administrator.

"`; diff --git a/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap b/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap index a2217e1acf40a..80155b3fde5ac 100644 --- a/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap +++ b/x-pack/plugins/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`ResetSessionPage renders as expected 1`] = `"ElasticMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; +exports[`ResetSessionPage renders as expected 1`] = `"ElasticMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; -exports[`ResetSessionPage renders as expected with custom page title 1`] = `"My Company NameMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; +exports[`ResetSessionPage renders as expected with custom page title 1`] = `"My Company NameMockedFonts

You do not have permission to access the requested page

Either go back to the previous page or log in as a different user.

"`; diff --git a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/toggle_panel.tsx b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/toggle_panel.tsx index 45b18d046a601..43a5ccfdef5a7 100644 --- a/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/toggle_panel.tsx +++ b/x-pack/plugins/security_solution/public/common/components/landing_page/onboarding/toggle_panel.tsx @@ -47,7 +47,7 @@ const TogglePanelComponent: React.FC<{ body={

{i18n.TOGGLE_PANEL_EMPTY_DESCRIPTION}

} css={css` padding: ${euiTheme.base * 5}px 0; - .euiEmptyPrompt__contentInner { + .euiEmptyPrompt__content { max-width: none; } `} diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index da642ec3e02ff..b35f69de50dbd 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -865,9 +865,9 @@ "core.euiToast.dismissToast": "Rejeter le toast", "core.euiToast.newNotification": "Une nouvelle notification apparaît.", "core.euiToast.notification": "Notification", - "core.euiTourStep.closeTour": "Fermer la visite", - "core.euiTourStep.endTour": "Terminer la visite", - "core.euiTourStep.skipTour": "Ignorer la visite", + "core.euiTourFooter.closeTour": "Fermer la visite", + "core.euiTourFooter.endTour": "Terminer la visite", + "core.euiTourFooter.skipTour": "Ignorer la visite", "core.euiTourStepIndicator.isActive": "active", "core.euiTourStepIndicator.isComplete": "terminée", "core.euiTourStepIndicator.isIncomplete": "incomplète", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index a754e68664876..f1ad2adee7dd7 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -879,9 +879,9 @@ "core.euiToast.dismissToast": "トーストを閉じる", "core.euiToast.newNotification": "新しい通知が表示されます", "core.euiToast.notification": "通知", - "core.euiTourStep.closeTour": "ツアーを閉じる", - "core.euiTourStep.endTour": "ツアーを終了", - "core.euiTourStep.skipTour": "ツアーをスキップ", + "core.euiTourFooter.closeTour": "ツアーを閉じる", + "core.euiTourFooter.endTour": "ツアーを終了", + "core.euiTourFooter.skipTour": "ツアーをスキップ", "core.euiTourStepIndicator.isActive": "アクティブ", "core.euiTourStepIndicator.isComplete": "完了", "core.euiTourStepIndicator.isIncomplete": "未完了", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index ab8c10ed3ed97..16c8656569620 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -879,9 +879,9 @@ "core.euiToast.dismissToast": "关闭 Toast", "core.euiToast.newNotification": "新通知出现", "core.euiToast.notification": "通知", - "core.euiTourStep.closeTour": "关闭教程", - "core.euiTourStep.endTour": "结束教程", - "core.euiTourStep.skipTour": "跳过教程", + "core.euiTourFooter.closeTour": "关闭教程", + "core.euiTourFooter.endTour": "结束教程", + "core.euiTourFooter.skipTour": "跳过教程", "core.euiTourStepIndicator.isActive": "活动", "core.euiTourStepIndicator.isComplete": "已完成", "core.euiTourStepIndicator.isIncomplete": "未完成", diff --git a/yarn.lock b/yarn.lock index 9764ec1d778d4..62b6925bfe980 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1739,10 +1739,10 @@ resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-0.0.2.tgz#56b9ef03984a05cc213772ae3713ea8ef47b0314" integrity sha512-IoxURM5zraoQ7C8f+mJb9HYSENiZGgRVcG4tLQxE61yHNNRDXtGDWTZh8N1KIHcsqN1CEPETjuzBXkJYF/fDiQ== -"@elastic/eui@92.2.1": - version "92.2.1" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-92.2.1.tgz#172b5122e1025307bbb8e2c6a115c3feb3a16f42" - integrity sha512-FujsbJtuh8mxG5mbqclQBdPoW1kn9kXd/hpaMXUJa7bb0bmqlJRmagULPTZ+5e60Q6PEQt+e7MFDsaq4elSthQ== +"@elastic/eui@93.0.0": + version "93.0.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-93.0.0.tgz#43ba256d94f3d3acddee23427c9fa5285a43d7e4" + integrity sha512-Q5gY9roWZsB1At0rxG5d9M5P7+J4hfv8fzvuqNHoVjIxbeibHRCSq2TtOQcSUjhKE5Tu/BIZijzuYX8vITGaSQ== dependencies: "@hello-pangea/dnd" "^16.3.0" "@types/lodash" "^4.14.198"