diff --git a/package.json b/package.json index cc4fad81be0ca..bab9d90f679a4 100644 --- a/package.json +++ b/package.json @@ -127,8 +127,8 @@ "@elastic/ecs": "^9.0.0", "@elastic/elasticsearch": "9.0.3", "@elastic/ems-client": "8.6.3", - "@elastic/eui": "106.0.0", - "@elastic/eui-amsterdam": "npm:@elastic/eui@106.0.0-amsterdam.0", + "@elastic/eui": "106.1.0", + "@elastic/eui-amsterdam": "npm:@elastic/eui@106.1.0-amsterdam.0", "@elastic/eui-theme-borealis": "3.3.0", "@elastic/filesaver": "1.1.2", "@elastic/monaco-esql": "^3.1.6", @@ -1425,7 +1425,7 @@ "@cypress/debugging-proxy": "2.0.1", "@cypress/grep": "^4.0.1", "@cypress/webpack-preprocessor": "^6.0.2", - "@elastic/eslint-plugin-eui": "2.1.0", + "@elastic/eslint-plugin-eui": "2.2.1", "@elastic/makelogs": "^6.1.1", "@elastic/synthetics": "^1.18.2", "@emotion/babel-preset-css-prop": "^11.11.0", diff --git a/src/core/packages/i18n/browser-internal/src/__snapshots__/i18n_service.test.tsx.snap b/src/core/packages/i18n/browser-internal/src/__snapshots__/i18n_service.test.tsx.snap index ae41190307836..7f08a80e725b1 100644 --- a/src/core/packages/i18n/browser-internal/src/__snapshots__/i18n_service.test.tsx.snap +++ b/src/core/packages/i18n/browser-internal/src/__snapshots__/i18n_service.test.tsx.snap @@ -125,7 +125,7 @@ exports[`#start() returns \`Context\` component 1`] = ` \\"euiFlyoutCloseButton.ariaLabel\\": \\"Close this dialog\\", \\"euiFlyout.screenReaderModalDialog\\": \\"You are in a modal dialog. Press Escape or tap/click outside the dialog on the shadowed overlay to close.\\", \\"euiFlyout.screenReaderNonModalDialog\\": \\"You are in a non-modal dialog. To close the dialog, press Escape.\\", - \\"euiFlyout.screenReaderFixedHeaders\\": \\"You can still continue tabbing through the page headers in addition to the dialog.\\", + \\"euiFlyout.screenReaderFocusTrapShards\\": \\"You can still continue tabbing through other global page landmarks.\\", \\"euiForm.addressFormErrors\\": \\"Please address the highlighted errors.\\", \\"euiFormControlLayoutClearButton.label\\": \\"Clear input\\", \\"euiFormControlLayoutDelimited.delimiterLabel\\": \\"to\\", diff --git a/src/core/packages/i18n/browser-internal/src/i18n_eui_mapping.tsx b/src/core/packages/i18n/browser-internal/src/i18n_eui_mapping.tsx index b6db767af18f8..07fb713c790ab 100644 --- a/src/core/packages/i18n/browser-internal/src/i18n_eui_mapping.tsx +++ b/src/core/packages/i18n/browser-internal/src/i18n_eui_mapping.tsx @@ -787,11 +787,10 @@ export const getEuiContextMapping = (): EuiTokensObject => { defaultMessage: 'You are in a non-modal dialog. To close the dialog, press Escape.', } ), - 'euiFlyout.screenReaderFixedHeaders': i18n.translate( - 'core.euiFlyout.screenReaderFixedHeaders', + 'euiFlyout.screenReaderFocusTrapShards': i18n.translate( + 'core.euiFlyout.screenReaderFocusTrapShards', { - defaultMessage: - 'You can still continue tabbing through the page headers in addition to the dialog.', + defaultMessage: 'You can still continue tabbing through other global page landmarks.', } ), 'euiForm.addressFormErrors': i18n.translate('core.euiForm.addressFormErrors', { diff --git a/x-pack/platform/plugins/private/translations/translations/fr-FR.json b/x-pack/platform/plugins/private/translations/translations/fr-FR.json index 948d8df130f59..b845c060b3fd8 100644 --- a/x-pack/platform/plugins/private/translations/translations/fr-FR.json +++ b/x-pack/platform/plugins/private/translations/translations/fr-FR.json @@ -991,8 +991,6 @@ "core.euiFilePicker.removeSelectedAriaLabel": "Supprimer les fichiers sélectionnés", "core.euiFilterButton.filterBadgeActiveAriaLabel": "{count} filtres actifs", "core.euiFilterButton.filterBadgeAvailableAriaLabel": "{count} filtres disponibles", - "core.euiFlyout.screenReaderFixedHeaders": "Vous pouvez quand même continuer à parcourir les en-têtes de page à l'aide de la touche Tabulation en plus de la boîte de dialogue.", - "core.euiFlyout.screenReaderModalDialog": "Vous êtes dans une boîte de dialogue modale. Pour fermer, appuyez sur Échap ou appuyez/cliquez en dehors de la boîte de dialogue sur la superposition masquée.", "core.euiFlyout.screenReaderNonModalDialog": "Vous êtes dans une boîte de dialogue non modale. Pour fermer la boîte de dialogue, appuyez sur Échap.", "core.euiFlyoutCloseButton.ariaLabel": "Fermer cette boîte de dialogue", "core.euiForm.addressFormErrors": "Veuillez remédier aux erreurs signalées en surbrillance.", diff --git a/x-pack/platform/plugins/private/translations/translations/ja-JP.json b/x-pack/platform/plugins/private/translations/translations/ja-JP.json index e09f869551952..748a999a6a715 100644 --- a/x-pack/platform/plugins/private/translations/translations/ja-JP.json +++ b/x-pack/platform/plugins/private/translations/translations/ja-JP.json @@ -993,7 +993,6 @@ "core.euiFilePicker.removeSelectedAriaLabel": "選択したファイルを削除", "core.euiFilterButton.filterBadgeActiveAriaLabel": "{count}個のアクティブなフィルター", "core.euiFilterButton.filterBadgeAvailableAriaLabel": "{count}個の使用可能なフィルター", - "core.euiFlyout.screenReaderFixedHeaders": "ダイアログに加え、引き続きページヘッダーをTabで移動できます。", "core.euiFlyout.screenReaderModalDialog": "モーダルダイアログで操作しています。Escapeを押すか、影付きのオーバーレイでダイアログの外をタップ/クリックすると、ダイアログが閉じます。", "core.euiFlyout.screenReaderNonModalDialog": "非モーダルダイアログで操作しています。ダイアログを閉じるには、Escapeを押します。", "core.euiFlyoutCloseButton.ariaLabel": "このダイアログを閉じる", diff --git a/x-pack/platform/plugins/private/translations/translations/zh-CN.json b/x-pack/platform/plugins/private/translations/translations/zh-CN.json index 17d7d1b3b27df..f02142a730336 100644 --- a/x-pack/platform/plugins/private/translations/translations/zh-CN.json +++ b/x-pack/platform/plugins/private/translations/translations/zh-CN.json @@ -990,8 +990,6 @@ "core.euiFilePicker.removeSelectedAriaLabel": "移除选定文件", "core.euiFilterButton.filterBadgeActiveAriaLabel": "{count} 个活动筛选", "core.euiFilterButton.filterBadgeAvailableAriaLabel": "{count} 个可用筛选", - "core.euiFlyout.screenReaderFixedHeaders": "除对话框以外,您还可以继续浏览页面标题。", - "core.euiFlyout.screenReaderModalDialog": "您位于模式对话框中。按 Esc 键或点击/单击阴影涂层上的对话框外部可关闭。", "core.euiFlyout.screenReaderNonModalDialog": "您位于非模式对话框中。要关闭对话框,请按 Esc 键。", "core.euiFlyoutCloseButton.ariaLabel": "关闭此对话框", "core.euiForm.addressFormErrors": "请解决突出显示的错误。", diff --git a/x-pack/test/security_solution_cypress/cypress/tasks/common/rule_actions.ts b/x-pack/test/security_solution_cypress/cypress/tasks/common/rule_actions.ts index 6a0783174a5ea..178c3a65915d7 100644 --- a/x-pack/test/security_solution_cypress/cypress/tasks/common/rule_actions.ts +++ b/x-pack/test/security_solution_cypress/cypress/tasks/common/rule_actions.ts @@ -70,7 +70,7 @@ export const createEmailConnector = () => { }; export const fillEmailRuleActionForm = (email: string, subject: string) => { - cy.get(EMAIL_ACTION_TO_INPUT).type(`${email}{enter}`); + cy.get(EMAIL_ACTION_TO_INPUT).type(email); cy.get(EMAIL_ACTION_SUBJECT_INPUT).type(subject); }; diff --git a/x-pack/test/security_solution_cypress/cypress/tasks/rule_details.ts b/x-pack/test/security_solution_cypress/cypress/tasks/rule_details.ts index 412bfef1f3144..aaaf37b9c5afc 100644 --- a/x-pack/test/security_solution_cypress/cypress/tasks/rule_details.ts +++ b/x-pack/test/security_solution_cypress/cypress/tasks/rule_details.ts @@ -131,12 +131,8 @@ export const goToAlertsTab = () => { cy.get(ALERTS_TAB).click(); }; -// TODO remove the `{ force: true }` option -// see https://github.com/elastic/eui/pull/8771 -// https://github.com/orgs/elastic/projects/1079/views/2?pane=issue&itemId=119405120 export const goToExceptionsTab = () => { - // eslint-disable-next-line cypress/no-force - cy.get(EXCEPTIONS_TAB).click({ force: true }); + cy.get(EXCEPTIONS_TAB).click(); }; export const goToExecutionLogTab = () => { diff --git a/yarn.lock b/yarn.lock index 5f9eb54728072..70f4700958a29 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2163,17 +2163,17 @@ semver "^7.6.3" topojson-client "^3.1.0" -"@elastic/eslint-plugin-eui@2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-2.1.0.tgz#20296c12b3f79623217699a42d500e336b7e470f" - integrity sha512-xDTSJTkI7i9+PreDaaMU/I607aoVkWmVSJsXNj29iHhuNDhT+a2nZoE7FFVt51XaJe/LhbGM2xUaLBJeGEg92A== +"@elastic/eslint-plugin-eui@2.2.1": + version "2.2.1" + resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-2.2.1.tgz#91af7c9fba0603211b44d81497c72d0824c7de90" + integrity sha512-pHbdrGzGTL/CWDBzfstjaOhwjZlABXUiqtuOPNmWkpue70zROqsO3fAPB18SvP4ev6J7RrtioknXFKkX8AD3Pw== -"@elastic/eui-amsterdam@npm:@elastic/eui@106.0.0-amsterdam.0": - version "106.0.0-amsterdam.0" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-106.0.0-amsterdam.0.tgz#0ddca35b842baf20931632c4ee3b168a2b84b9a0" - integrity sha512-BiHjVal98pAPom8ldJtmB4gSl4llpYW2ZDoz7W2Va8MWmecmURbKEQauc7IK+Verjxxdvf1VQjVE9HCMGiHQXw== +"@elastic/eui-amsterdam@npm:@elastic/eui@106.1.0-amsterdam.0": + version "106.1.0-amsterdam.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-106.1.0-amsterdam.0.tgz#59ef7470e5fe6670d975b8826abfb8a9fa41e435" + integrity sha512-3Yi0AiNGD7ok+4aaWI8rFC2RVeg+k3ORIOGzA+psC6FhPO3A9lxuma02j0huXFdfF6M67VE7miuPwg78wuYEfA== dependencies: - "@elastic/eui-theme-common" "3.0.0" + "@elastic/eui-theme-common" "3.1.0" "@elastic/prismjs-esql" "^1.1.0" "@hello-pangea/dnd" "^16.6.0" "@types/lodash" "^4.14.202" @@ -2214,21 +2214,21 @@ resolved "https://registry.yarnpkg.com/@elastic/eui-theme-borealis/-/eui-theme-borealis-3.3.0.tgz#c2583fcc068d560bbd6c4cdc830bb6da202e983e" integrity sha512-zWOMUtuWRcOYzN6pVgIRAqtQgUi4AJmjNRRvt1lRIwrivjo41hxGFqfZuiZvGMgrSNM6OFqKMqRZBZV88PMxUA== -"@elastic/eui-theme-common@3.0.0": - version "3.0.0" - resolved "https://registry.yarnpkg.com/@elastic/eui-theme-common/-/eui-theme-common-3.0.0.tgz#662513bdb3da068f8e6095199b0b9db493abc601" - integrity sha512-cgP/nyraf4nypWQymeYg9TWcNIcygwr/IFOxCnlMAJCDoUn8enVoH9DbzuUObwjKNqWdQn5PxGxttctDb+wf4Q== +"@elastic/eui-theme-common@3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@elastic/eui-theme-common/-/eui-theme-common-3.1.0.tgz#e70b881bf4d2801d38f515982a32d702e63a7213" + integrity sha512-hobhxba5v+7fJeO5j6u12KVMoPr47WpqzHi+p9JntMegD2MeyEuz2a8Z204VPJvEbzQuat9Glgjst5nCxN6sKw== dependencies: "@types/lodash" "^4.14.202" chroma-js "^2.4.2" lodash "^4.17.21" -"@elastic/eui@106.0.0": - version "106.0.0" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-106.0.0.tgz#a3006394abeae98ab41d752356f2bf45162cf06e" - integrity sha512-vp/tA8KjmFyAHdfjlHOEjtwOcnkh/jAUF6DAw/rfM/acTbzL7WqCLkrrOEFZ21u4ysSWKcXsB1whI4nC4d0ygA== +"@elastic/eui@106.1.0": + version "106.1.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-106.1.0.tgz#e027aefbfb8938a6f5429d81891448c9c45a179d" + integrity sha512-2uGrfZ5lul3w9v71lzikMS1keEDZeaLP8zYDGO+yp1DAXuF/8wQ574yvyN0kemV9KsESxr6XSNJ/L+68qAznlw== dependencies: - "@elastic/eui-theme-common" "3.0.0" + "@elastic/eui-theme-common" "3.1.0" "@elastic/prismjs-esql" "^1.1.0" "@hello-pangea/dnd" "^16.6.0" "@types/lodash" "^4.14.202"