From a7b1161d5b9c60407f2bd8a46222ebf4c78122d6 Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Tue, 2 Dec 2025 09:27:18 +0100 Subject: [PATCH 01/15] chore: update eui packages --- package.json | 2 +- src/dev/license_checker/config.ts | 2 +- yarn.lock | 53 ++++++------------------------- 3 files changed, 11 insertions(+), 46 deletions(-) diff --git a/package.json b/package.json index 213c02a9bc877..03c0bc1ecb6b6 100644 --- a/package.json +++ b/package.json @@ -130,7 +130,7 @@ "@elastic/ecs": "^9.0.0", "@elastic/elasticsearch": "9.1.1", "@elastic/ems-client": "8.6.3", - "@elastic/eui": "109.2.0", + "@elastic/eui": "110.0.0", "@elastic/eui-theme-borealis": "5.1.0", "@elastic/filesaver": "1.1.2", "@elastic/kibana-d3-color": "npm:@elastic/kibana-d3-color@2.0.1", diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index 22128f70ec8f0..3f68475b7e50a 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -92,7 +92,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.6.3': ['Elastic License 2.0'], - '@elastic/eui@109.2.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], + '@elastic/eui@110.0.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.0'], '@elastic/eui-theme-borealis@5.1.0': ['Elastic License 2.0 OR AGPL-3.0-only OR SSPL-1.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 diff --git a/yarn.lock b/yarn.lock index 20380ae5e12a9..c43f81c3377f0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2660,10 +2660,10 @@ chroma-js "^2.4.2" lodash "^4.17.21" -"@elastic/eui@109.2.0": - version "109.2.0" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-109.2.0.tgz#94c57ef1a9256b59e66befc4291db20b8196b92d" - integrity sha512-DEFfZhORKJeLoVAAAwvXNHTQYo3ts5F//q6N9ODSQK0Rv7z6VTQLfmvvzSobOS6EZ49qeZnda6zlpu+AmWTVSg== +"@elastic/eui@110.0.0": + version "110.0.0" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-110.0.0.tgz#2baeb804e5124b1c88577d7b9b03fdbbcfcdf7a8" + integrity sha512-mzq9NTrJNkkTp7d+zV8wX8NeiqivczwfthZlV/dIjW2qCTH1eU3B7gT5c28qrymynvD9Jp6zy/EtK8MnEzB4ng== dependencies: "@elastic/eui-theme-common" "7.1.0" "@elastic/prismjs-esql" "^1.1.2" @@ -2706,7 +2706,7 @@ resolved "https://registry.yarnpkg.com/@elastic/filesaver/-/filesaver-1.1.2.tgz#1998ffb3cd89c9da4ec12a7793bfcae10e30c77a" integrity sha512-YZbSufYFBhAj+S2cJgiKALoxIJevqXN2MSr6Yqr42rJdaPuM31cj6pUDwflkql1oDjupqD9la+MfxPFjXI1JFQ== -"@elastic/kibana-d3-color@npm:@elastic/kibana-d3-color@2.0.1": +"@elastic/kibana-d3-color@npm:@elastic/kibana-d3-color@2.0.1", "d3-color@1 - 2", "d3-color@npm:@elastic/kibana-d3-color@2.0.1": version "2.0.1" resolved "https://registry.yarnpkg.com/@elastic/kibana-d3-color/-/kibana-d3-color-2.0.1.tgz#f83b9c2fea09273a918659de04d5e8098c82f65c" integrity sha512-YZ8hV2bWNyYi833Yj3UWczmTxdHzmo/Xc2IVkNXr/ZqtkrTDlTLysCyJm7SfAt9iBy6EVRGWTn8cPz8QOY6Ixw== @@ -18522,11 +18522,6 @@ d3-collection@^1.0.7: resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.7.tgz#349bd2aa9977db071091c13144d5e4f16b5b310e" integrity sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A== -"d3-color@1 - 2", "d3-color@npm:@elastic/kibana-d3-color@2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@elastic/kibana-d3-color/-/kibana-d3-color-2.0.1.tgz#f83b9c2fea09273a918659de04d5e8098c82f65c" - integrity sha512-YZ8hV2bWNyYi833Yj3UWczmTxdHzmo/Xc2IVkNXr/ZqtkrTDlTLysCyJm7SfAt9iBy6EVRGWTn8cPz8QOY6Ixw== - "d3-color@1 - 3", d3-color@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-3.1.0.tgz#395b2833dfac71507f12ac2f7af23bf819de24e2" @@ -31666,7 +31661,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0": +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -31684,15 +31679,6 @@ string-width@^1.0.1: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: - version "4.2.3" - resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" - integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== - dependencies: - emoji-regex "^8.0.0" - is-fullwidth-code-point "^3.0.0" - strip-ansi "^6.0.1" - string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -31785,7 +31771,7 @@ stringify-object@^3.2.1: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1": +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -31799,13 +31785,6 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1: dependencies: ansi-regex "^2.0.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" - integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== - dependencies: - ansi-regex "^5.0.1" - strip-ansi@^7.0.1, strip-ansi@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -34591,7 +34570,7 @@ workerpool@^6.5.1: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544" integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -34617,15 +34596,6 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== - dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" - wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" @@ -34748,7 +34718,7 @@ xpath@^0.0.33: resolved "https://registry.yarnpkg.com/xpath/-/xpath-0.0.33.tgz#5136b6094227c5df92002e7c3a13516a5074eb07" integrity sha512-NNXnzrkDrAzalLhIUc01jO2mOzXGXh1JwPgkihcLLzw98c0WgYDmmjSh1Kl3wzaxSVWMuA+fe0WTWOBDWCBmNA== -"xstate5@npm:xstate@^5.19.2": +"xstate5@npm:xstate@^5.19.2", xstate@^5.19.2: version "5.19.2" resolved "https://registry.yarnpkg.com/xstate/-/xstate-5.19.2.tgz#db3f1ee614bbb6a49ad3f0c96ddbf98562d456ba" integrity sha512-B8fL2aP0ogn5aviAXFzI5oZseAMqN00fg/TeDa3ZtatyDcViYLIfuQl4y8qmHCiKZgGEzmnTyNtNQL9oeJE2gw== @@ -34758,11 +34728,6 @@ xstate@^4.38.3: resolved "https://registry.yarnpkg.com/xstate/-/xstate-4.38.3.tgz#4e15e7ad3aa0ca1eea2010548a5379966d8f1075" integrity sha512-SH7nAaaPQx57dx6qvfcIgqKRXIh4L0A1iYEqim4s1u7c9VoCgzZc+63FY90AKU4ZzOC2cfJzTnpO4zK7fCUzzw== -xstate@^5.19.2: - version "5.19.2" - resolved "https://registry.yarnpkg.com/xstate/-/xstate-5.19.2.tgz#db3f1ee614bbb6a49ad3f0c96ddbf98562d456ba" - integrity sha512-B8fL2aP0ogn5aviAXFzI5oZseAMqN00fg/TeDa3ZtatyDcViYLIfuQl4y8qmHCiKZgGEzmnTyNtNQL9oeJE2gw== - "xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0, xtend@^4.0.1, xtend@^4.0.2, xtend@~4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" From 9e5eef9a18a7d6294791f25121fc9d913013c333 Mon Sep 17 00:00:00 2001 From: Weronika Olejniczak Date: Mon, 24 Nov 2025 13:39:11 +0100 Subject: [PATCH 02/15] chore(eui): use noItemsMessage prop in EuiInMemoryTable --- .../table_list_view_table/src/components/table.tsx | 2 +- .../public/finder/saved_object_finder.tsx | 2 +- .../components/home/my_workpads/workpad_table.component.tsx | 2 +- .../components/stats_table/data_visualizer_stats_table.tsx | 2 +- .../application/data_drift/data_drift_overview_table.tsx | 2 +- .../application/components/pipeline_list/pipelines_table.js | 2 +- .../crud_app/sections/components/field_list/field_list.js | 2 +- .../application/sections/watch_list_page/watch_list_page.tsx | 2 +- .../watch_status_page/components/action_statuses_panel.tsx | 2 +- .../watch_status_page/components/execution_history_panel.tsx | 4 ++-- .../components/change_point_detection/change_points_table.tsx | 2 +- .../fleet/sections/data_stream/list_page/index.tsx | 2 +- .../data_stream_list/data_stream_table/data_stream_table.tsx | 2 +- .../legacy_templates/template_table/template_table.tsx | 2 +- .../home/template_list/template_table/template_table.tsx | 2 +- .../role_mappings_grid/role_mappings_grid_page.tsx | 2 +- .../spaces/public/management/spaces_grid/spaces_grid_page.tsx | 2 +- .../agent_instances/agent_instances_details/index.tsx | 2 +- .../components/app/storage_explorer/services_table/index.tsx | 2 +- .../services_table/index_stats_per_service.tsx | 2 +- .../public/components/asset_details/tabs/metadata/table.tsx | 2 +- .../components/settings/global_params/params_list.tsx | 2 +- .../components/flyout_components/add_to_lists_table/index.tsx | 2 +- .../components/flyout_components/add_to_rules_table/index.tsx | 2 +- .../components/flyout_components/linked_to_list/index.tsx | 2 +- .../flyout/document_details/left/components/host_details.tsx | 2 +- .../document_details/left/components/prevalence_details.tsx | 2 +- .../flyout/document_details/left/components/related_cases.tsx | 2 +- .../flyout/document_details/left/components/user_details.tsx | 2 +- .../document_details/right/components/highlighted_fields.tsx | 2 +- 30 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/platform/packages/shared/content-management/table_list_view_table/src/components/table.tsx b/src/platform/packages/shared/content-management/table_list_view_table/src/components/table.tsx index b6c592313dbfd..6c19078ba36e1 100644 --- a/src/platform/packages/shared/content-management/table_list_view_table/src/components/table.tsx +++ b/src/platform/packages/shared/content-management/table_list_view_table/src/components/table.tsx @@ -390,7 +390,7 @@ export function Table({ columns={tableColumns} pagination={pagination} loading={isFetchingItems} - message={noItemsMessage} + noItemsMessage={noItemsMessage} selection={selection} search={search} executeQueryOptions={{ enabled: false }} diff --git a/src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.tsx b/src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.tsx index 57814ddb50a9e..17938842ba0ec 100644 --- a/src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.tsx +++ b/src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.tsx @@ -406,7 +406,7 @@ class SavedObjectFinderUiClass extends React.Component< items={this.state.items} columns={columns} data-test-subj="savedObjectsFinderTable" - message={this.props.noItemsMessage} + noItemsMessage={this.props.noItemsMessage} search={search} pagination={pagination} sorting={!!this.state.query?.text ? undefined : sorting} diff --git a/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.component.tsx b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.component.tsx index 04c3f06334fc3..a7331c4d1214f 100644 --- a/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.component.tsx +++ b/x-pack/platform/plugins/private/canvas/public/components/home/my_workpads/workpad_table.component.tsx @@ -140,7 +140,7 @@ export const WorkpadTable = ({ itemId="id" items={workpads} columns={columns} - message={strings.getNoWorkpadsFoundMessage()} + noItemsMessage={strings.getNoWorkpadsFoundMessage()} search={search} sorting={{ sort: { diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx index e075e851850b2..2d434a5189671 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/common/components/stats_table/data_visualizer_stats_table.tsx @@ -493,7 +493,7 @@ const UnmemoizedDataVisualizerTable = ({ data-shared-item="" // TODO: Remove data-shared-item as part of https://github.com/elastic/kibana/issues/179376 > - message={message} + noItemsMessage={message} css={dvTableCss} items={items} itemId={FIELD_NAME} diff --git a/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx index 6e1dbf894de9a..509cbf63cae6d 100644 --- a/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx +++ b/x-pack/platform/plugins/private/data_visualizer/public/application/data_drift/data_drift_overview_table.tsx @@ -291,7 +291,7 @@ export const DataDriftOverviewTable = ({ onChange={onTableChange} pagination={pagination} loading={status === FETCH_STATUS.LOADING} - message={tableMessage} + noItemsMessage={tableMessage} /> ); }; diff --git a/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.js b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.js index 46c9dbdca6210..f693b4404844a 100644 --- a/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.js +++ b/x-pack/platform/plugins/private/logstash/public/application/components/pipeline_list/pipelines_table.js @@ -188,7 +188,7 @@ function PipelinesTableUi({ data-test-subj="pipelineTable" itemId="id" items={pipelines} - message={message} + noItemsMessage={message} pagination={pagination} search={search} selection={selectionOptions} diff --git a/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/field_list.js b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/field_list.js index 7d9fee6a0ef02..5cd271e324c63 100644 --- a/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/field_list.js +++ b/x-pack/platform/plugins/private/rollup/public/crud_app/sections/components/field_list/field_list.js @@ -67,7 +67,7 @@ export const FieldList = ({ search={search} pagination={pagination} sorting={true} - message={message} + noItemsMessage={message} data-test-subj={dataTestSubj} /> ); diff --git a/x-pack/platform/plugins/private/watcher/public/application/sections/watch_list_page/watch_list_page.tsx b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_list_page/watch_list_page.tsx index add4bcb58fba5..a56208837a551 100644 --- a/x-pack/platform/plugins/private/watcher/public/application/sections/watch_list_page/watch_list_page.tsx +++ b/x-pack/platform/plugins/private/watcher/public/application/sections/watch_list_page/watch_list_page.tsx @@ -534,7 +534,7 @@ export const WatchListPage = () => { ) } - message={ + noItemsMessage={ { pagination={PAGINATION} sorting={true} data-test-subj="watchActionStatusTable" - message={ + noItemsMessage={ { items={(watchHistoryDetails.watchStatus as any).actionStatuses} itemId="id" columns={detailColumns} - message={ + noItemsMessage={ { sorting={true} loading={isLoading} data-test-subj="watchHistoryTable" - message={ + noItemsMessage={ = ({ rowProps={(item) => ({ 'data-test-subj': `aiopsChangePointResultsTableRow row-${item.id}`, })} - message={ + noItemsMessage={ isLoading ? ( = () => { = ({ 'data-test-subj': 'cell', })} data-test-subj="dataStreamTable" - message={ + noItemsMessage={ = ({ 'data-test-subj': 'cell', })} data-test-subj="legacyTemplateTable" - message={ + noItemsMessage={ = ({ 'data-test-subj': 'cell', })} data-test-subj="templateTable" - message={ + noItemsMessage={ { } pagination={pagination} loading={loadState === 'loadingTable'} - message={message} + noItemsMessage={message} rowProps={() => { return { 'data-test-subj': 'roleMappingRow', diff --git a/x-pack/platform/plugins/shared/spaces/public/management/spaces_grid/spaces_grid_page.tsx b/x-pack/platform/plugins/shared/spaces/public/management/spaces_grid/spaces_grid_page.tsx index 16076eeb97c0d..34a77c66f071e 100644 --- a/x-pack/platform/plugins/shared/spaces/public/management/spaces_grid/spaces_grid_page.tsx +++ b/x-pack/platform/plugins/shared/spaces/public/management/spaces_grid/spaces_grid_page.tsx @@ -182,7 +182,7 @@ export class SpacesGridPage extends Component { }, }} loading={this.state.loading} - message={ + noItemsMessage={ this.state.loading ? ( {LOADING} ) : ( diff --git a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/settings/global_params/params_list.tsx b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/settings/global_params/params_list.tsx index 76f590f595376..14f4ce954ed1e 100644 --- a/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/settings/global_params/params_list.tsx +++ b/x-pack/solutions/observability/plugins/synthetics/public/apps/synthetics/components/settings/global_params/params_list.tsx @@ -293,7 +293,7 @@ export const ParamsList = () => { }, ], }} - message={isLoading ? LOADING_TEXT : undefined} + noItemsMessage={isLoading ? LOADING_TEXT : undefined} /> {isDeleteModalVisible && deleteParam && ( diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/index.tsx index 2267843413ff6..89ba64f3fe214 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_lists_table/index.tsx @@ -41,7 +41,7 @@ const ExceptionsAddToListsComponent: React.FC ) : undefined diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_rules_table/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_rules_table/index.tsx index 2a2e7559ee9c9..236ded621f608 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_rules_table/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/add_to_rules_table/index.tsx @@ -47,7 +47,7 @@ const ExceptionsAddToRulesTableComponent: React.FC ) : undefined diff --git a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/linked_to_list/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/linked_to_list/index.tsx index 87a735e442855..e260a0265b9d9 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/linked_to_list/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/detection_engine/rule_exceptions/components/flyout_components/linked_to_list/index.tsx @@ -56,7 +56,7 @@ const ExceptionsLinkedToListsComponent: React.FC tableCaption="Table of exception lists" itemId="id" - message={message} + noItemsMessage={message} loading={isLoadingReferences} items={listAndReferences} error={error} diff --git a/x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/left/components/host_details.tsx b/x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/left/components/host_details.tsx index f38f4bc007016..7db3d593d9b73 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/left/components/host_details.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/flyout/document_details/left/components/host_details.tsx @@ -465,7 +465,7 @@ export const HostDetails: React.FC = ({ hostName, timestamp, s loading={isRelatedUsersLoading} data-test-subj={HOST_DETAILS_RELATED_USERS_TABLE_TEST_ID} pagination={pagination} - message={ + noItemsMessage={ { columns={columns} loading={loading} data-test-subj={PREVALENCE_DETAILS_TABLE_TEST_ID} - message={ + noItemsMessage={ = ({ eventId }) => { items={data} columns={columns} pagination={true} - message={ + noItemsMessage={ = ({ userName, timestamp, s loading={isRelatedHostLoading} data-test-subj={USER_DETAILS_RELATED_HOSTS_TABLE_TEST_ID} pagination={pagination} - message={ + noItemsMessage={ Date: Tue, 2 Dec 2025 10:13:34 +0100 Subject: [PATCH 03/15] refactor: update message prop --- .../components/package_policies/package_policies_table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx index 78481b0f7d3a7..954ab5eac3046 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/details_page/components/package_policies/package_policies_table.tsx @@ -51,7 +51,7 @@ interface Props { agentPolicy: AgentPolicy; // Pass through props to InMemoryTable loading?: EuiInMemoryTableProps['loading']; - message?: EuiInMemoryTableProps['message']; + noItemsMessage?: EuiInMemoryTableProps['noItemsMessage']; refreshAgentPolicy: () => void; } From de57b6aa8198c16250f4d3a684d9d435f3eb1ed3 Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Tue, 2 Dec 2025 10:16:03 +0100 Subject: [PATCH 04/15] refactor: remove obsolete color prop --- .../search_query_rules/public/components/overview/overview.tsx | 1 - .../components/query_ruleset_detail/query_ruleset_detail.tsx | 1 - .../search_synonyms/public/components/overview/overview.tsx | 1 - .../components/synonyms_set_detail/synonyms_set_detail.tsx | 2 -- 4 files changed, 5 deletions(-) diff --git a/x-pack/solutions/search/plugins/search_query_rules/public/components/overview/overview.tsx b/x-pack/solutions/search/plugins/search_query_rules/public/components/overview/overview.tsx index 33d0128185b4a..ed86f9c15dc16 100644 --- a/x-pack/solutions/search/plugins/search_query_rules/public/components/overview/overview.tsx +++ b/x-pack/solutions/search/plugins/search_query_rules/public/components/overview/overview.tsx @@ -63,7 +63,6 @@ export const QueryRulesOverview = () => { diff --git a/x-pack/solutions/search/plugins/search_query_rules/public/components/query_ruleset_detail/query_ruleset_detail.tsx b/x-pack/solutions/search/plugins/search_query_rules/public/components/query_ruleset_detail/query_ruleset_detail.tsx index d343ed09e896f..be02efb41c04a 100644 --- a/x-pack/solutions/search/plugins/search_query_rules/public/components/query_ruleset_detail/query_ruleset_detail.tsx +++ b/x-pack/solutions/search/plugins/search_query_rules/public/components/query_ruleset_detail/query_ruleset_detail.tsx @@ -256,7 +256,6 @@ export const QueryRulesetDetail: React.FC = ({ createMo }, ]} restrictWidth - color="primary" data-test-subj="queryRulesetDetailHeader" rightSideItems={[ { diff --git a/x-pack/solutions/search/plugins/search_synonyms/public/components/synonyms_set_detail/synonyms_set_detail.tsx b/x-pack/solutions/search/plugins/search_synonyms/public/components/synonyms_set_detail/synonyms_set_detail.tsx index 954868734539f..251164db713c6 100644 --- a/x-pack/solutions/search/plugins/search_synonyms/public/components/synonyms_set_detail/synonyms_set_detail.tsx +++ b/x-pack/solutions/search/plugins/search_synonyms/public/components/synonyms_set_detail/synonyms_set_detail.tsx @@ -38,12 +38,10 @@ export const SynonymsSetDetail = () => { grow={false} data-test-subj="searchSynonymsSetDetailPage" solutionNav={searchNavigation?.useClassicNavigation(history)} - color="primary" > Date: Tue, 2 Dec 2025 10:48:57 +0100 Subject: [PATCH 05/15] refactor: check for available query arg - EUI updated the type and the query might be null for text searches --- .../requests/components/details/clusters_view/clusters_view.tsx | 2 +- .../management/api_keys/api_keys_grid/api_keys_grid_page.tsx | 2 +- .../public/management/roles/roles_grid/roles_grid_page.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx index 4d178ccede9cc..f1c7db43c7213 100644 --- a/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx +++ b/src/platform/plugins/shared/inspector/public/views/requests/components/details/clusters_view/clusters_view.tsx @@ -39,7 +39,7 @@ export class ClustersView extends Component { } _onSearchChange = ({ query, error }: EuiSearchBarOnChangeArgs) => { - if (!error) { + if (!error && query) { this.setState({ clusters: findClusters(this.props.request, query) }); } }; diff --git a/x-pack/platform/plugins/shared/security/public/management/api_keys/api_keys_grid/api_keys_grid_page.tsx b/x-pack/platform/plugins/shared/security/public/management/api_keys/api_keys_grid/api_keys_grid_page.tsx index 6404f0eeef245..5a7fcbe1dbfb3 100644 --- a/x-pack/platform/plugins/shared/security/public/management/api_keys/api_keys_grid/api_keys_grid_page.tsx +++ b/x-pack/platform/plugins/shared/security/public/management/api_keys/api_keys_grid/api_keys_grid_page.tsx @@ -135,7 +135,7 @@ export const APIKeysGridPage: FunctionComponent = () => { }; const onSearchChange = (args: EuiSearchBarOnChangeArgs) => { - if (!args.error) { + if (!args.error && args.query) { const newState = { ...tableState, query: args.query, diff --git a/x-pack/platform/plugins/shared/security/public/management/roles/roles_grid/roles_grid_page.tsx b/x-pack/platform/plugins/shared/security/public/management/roles/roles_grid/roles_grid_page.tsx index 77c1f861f2a52..d39d3a4c8c681 100644 --- a/x-pack/platform/plugins/shared/security/public/management/roles/roles_grid/roles_grid_page.tsx +++ b/x-pack/platform/plugins/shared/security/public/management/roles/roles_grid/roles_grid_page.tsx @@ -258,7 +258,7 @@ export const RolesGridPage: FC = ({ }; const onSearchChange = (args: EuiSearchBarOnChangeArgs) => { - if (!args.error) { + if (!args.error && args.query) { const newState = { ...tableState, query: args.query, From 1f72d79453c79bc0b2a3dea041f151831394d3e5 Mon Sep 17 00:00:00 2001 From: Jorge Oliveira Date: Mon, 24 Nov 2025 17:32:19 +0000 Subject: [PATCH 06/15] Update test to reflect role change of search input from "searchbox" to "combobox" in DataView list component --- .../public/dataview_picker/dataview_list.test.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/platform/plugins/shared/unified_search/public/dataview_picker/dataview_list.test.tsx b/src/platform/plugins/shared/unified_search/public/dataview_picker/dataview_list.test.tsx index 75befddaffd53..3e2efb18a5127 100644 --- a/src/platform/plugins/shared/unified_search/public/dataview_picker/dataview_list.test.tsx +++ b/src/platform/plugins/shared/unified_search/public/dataview_picker/dataview_list.test.tsx @@ -194,7 +194,8 @@ describe('DataView list component', () => { expect(screen.getByRole('option', { name: 'dataview-2' })).toBeInTheDocument(); }); - const searchInput = screen.getByRole('searchbox'); + // When the list has items, the input has role "combobox" (not "searchbox") + const searchInput = screen.getByRole('combobox'); // Clear and type to filter options await user.clear(searchInput); From deb9a03d61185e74d70dcebb6f32c6810f69f44b Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Tue, 2 Dec 2025 13:04:14 +0100 Subject: [PATCH 07/15] test: use noItemsMessage prop --- .../public/finder/saved_object_finder.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.test.tsx b/src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.test.tsx index c6c663e5f293d..f847f7afbe77c 100644 --- a/src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.test.tsx +++ b/src/platform/plugins/shared/saved_objects_finder/public/finder/saved_object_finder.test.tsx @@ -727,7 +727,7 @@ describe('SavedObjectsFinder', () => { wrapper.instance().componentDidMount!(); await nextTick(); - expect(wrapper.find(EuiInMemoryTable).prop('message')).toEqual(noItemsMessage); + expect(wrapper.find(EuiInMemoryTable).prop('noItemsMessage')).toEqual(noItemsMessage); }); describe('pagination', () => { From 710a7ac732a8564fd3bec110623385ef7f6e7013 Mon Sep 17 00:00:00 2001 From: Lene Gadewoll Date: Tue, 2 Dec 2025 13:04:30 +0100 Subject: [PATCH 08/15] test: update snapshots --- .../object_view/components/__snapshots__/header.test.tsx.snap | 2 +- .../pipeline_list/__snapshots__/pipelines_table.test.js.snap | 2 +- .../components/no_data/__snapshots__/no_data.test.js.snap | 4 ++-- .../page_loading/__snapshots__/page_loading.test.js.snap | 2 +- .../__jest__/__snapshots__/license_page_header.test.js.snap | 4 ++-- .../security/server/__snapshots__/prompt_page.test.tsx.snap | 4 ++-- .../__snapshots__/unauthenticated_page.test.tsx.snap | 4 ++-- .../__snapshots__/reset_session_page.test.tsx.snap | 4 ++-- .../components/header_page/__snapshots__/index.test.tsx.snap | 2 +- 9 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap index 1c18f93985625..38dba79b97357 100644 --- a/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap +++ b/src/platform/plugins/shared/saved_objects_management/public/management_section/object_view/components/__snapshots__/header.test.tsx.snap @@ -2,7 +2,7 @@ exports[`Intro component renders correctly 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/platform/plugins/shared/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap b/x-pack/platform/plugins/shared/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap index 0cde94a34cb23..2bba2665421b3 100644 --- a/x-pack/platform/plugins/shared/security/server/authentication/__snapshots__/unauthenticated_page.test.tsx.snap +++ b/x-pack/platform/plugins/shared/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/platform/plugins/shared/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap b/x-pack/platform/plugins/shared/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap index 156f0034c486e..316089caf5bee 100644 --- a/x-pack/platform/plugins/shared/security/server/authorization/__snapshots__/reset_session_page.test.tsx.snap +++ b/x-pack/platform/plugins/shared/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/solutions/security/plugins/security_solution/public/common/components/header_page/__snapshots__/index.test.tsx.snap b/x-pack/solutions/security/plugins/security_solution/public/common/components/header_page/__snapshots__/index.test.tsx.snap index 73da535951017..f495a100eaeb4 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/common/components/header_page/__snapshots__/index.test.tsx.snap +++ b/x-pack/solutions/security/plugins/security_solution/public/common/components/header_page/__snapshots__/index.test.tsx.snap @@ -32,7 +32,7 @@ exports[`HeaderPage it renders 1`] = ` data-test-subj="header-page" >
Date: Wed, 29 Oct 2025 15:29:51 +0100 Subject: [PATCH 09/15] fix: update EuiFlyout `ref` usage to not use string refs --- .../src/components/flyout/hooks/use_flyout_a11y.tsx | 2 +- .../components/doc_viewer_flyout/use_flyout_a11y.tsx | 2 +- .../impl/assistant/assistant_overlay/index.tsx | 4 ++-- .../list_page/components/create_agent_policy.tsx | 8 +++++++- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/platform/packages/shared/kbn-unified-metrics-grid/src/components/flyout/hooks/use_flyout_a11y.tsx b/src/platform/packages/shared/kbn-unified-metrics-grid/src/components/flyout/hooks/use_flyout_a11y.tsx index 8117876d639e6..11f8c863aaffa 100644 --- a/src/platform/packages/shared/kbn-unified-metrics-grid/src/components/flyout/hooks/use_flyout_a11y.tsx +++ b/src/platform/packages/shared/kbn-unified-metrics-grid/src/components/flyout/hooks/use_flyout_a11y.tsx @@ -15,7 +15,7 @@ import useUnmount from 'react-use/lib/useUnmount'; export const useFlyoutA11y = ({ isXlScreen }: { isXlScreen: boolean }) => { const descriptionId = useGeneratedHtmlId(); const [triggerEl] = useState(document.activeElement); - const [flyoutEl, setFlyoutEl] = useState(); + const [flyoutEl, setFlyoutEl] = useState(null); // Auto-focus push flyout on open or when switching to XL screen useEffect(() => { diff --git a/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout/use_flyout_a11y.tsx b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout/use_flyout_a11y.tsx index 18cc98fb94b89..503ee836bfa93 100644 --- a/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout/use_flyout_a11y.tsx +++ b/src/platform/plugins/shared/unified_doc_viewer/public/components/doc_viewer_flyout/use_flyout_a11y.tsx @@ -15,7 +15,7 @@ import useUnmount from 'react-use/lib/useUnmount'; export const useFlyoutA11y = ({ isXlScreen }: { isXlScreen: boolean }) => { const descriptionId = useGeneratedHtmlId(); const [triggerEl] = useState(document.activeElement); - const [flyoutEl, setFlyoutEl] = useState(); + const [flyoutEl, setFlyoutEl] = useState(null); // Auto-focus push flyout on open or when switching to XL screen useEffect(() => { diff --git a/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/assistant_overlay/index.tsx b/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/assistant_overlay/index.tsx index afd7c7f683ffa..d1a515878c43f 100644 --- a/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/assistant_overlay/index.tsx +++ b/x-pack/platform/packages/shared/kbn-elastic-assistant/impl/assistant/assistant_overlay/index.tsx @@ -118,6 +118,8 @@ export const AssistantOverlay = React.memo(() => { ); useEvent('keydown', onKeyDown); + const flyoutRef = useRef(null); + // Modal control functions const cleanupAndCloseModal = useCallback(() => { setIsModalVisible(false); @@ -144,8 +146,6 @@ export const AssistantOverlay = React.memo(() => { }); }, []); - const flyoutRef = useRef(); - if (!isModalVisible) return null; return ( diff --git a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx index f7a6246643401..3acfddbfe5b13 100644 --- a/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx +++ b/x-pack/platform/plugins/shared/fleet/public/applications/fleet/sections/agent_policy/list_page/components/create_agent_policy.tsx @@ -199,8 +199,14 @@ export const CreateAgentPolicyFlyout: React.FunctionComponent = ({ ); + // ref={null} is needed to fix styled-components' ref prop type return ( - onClose()} {...restOfProps} maxWidth={MAX_FLYOUT_WIDTH}> + onClose()} + {...restOfProps} + maxWidth={MAX_FLYOUT_WIDTH} + ref={null} + > {header} {body} {footer} From db23ded93305bf0c6992cf951070163aead2b519 Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Wed, 3 Dec 2025 20:26:44 +0100 Subject: [PATCH 10/15] chore: update `@elastic/eui` to the latest flyout system snapshot release --- package.json | 4 +-- yarn.lock | 79 +++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 62 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 5e4c3e4c804ab..eb0a7b5638a4c 100644 --- a/package.json +++ b/package.json @@ -130,8 +130,8 @@ "@elastic/ecs": "^9.0.0", "@elastic/elasticsearch": "9.1.1", "@elastic/ems-client": "8.6.3", - "@elastic/eui": "110.0.0", - "@elastic/eui-theme-borealis": "5.1.0", + "@elastic/eui": "110.0.0-snapshot.1764783610243", + "@elastic/eui-theme-borealis": "5.1.0-snapshot.1764783610243", "@elastic/filesaver": "1.1.2", "@elastic/kibana-d3-color": "npm:@elastic/kibana-d3-color@2.0.1", "@elastic/monaco-esql": "^3.1.11", diff --git a/yarn.lock b/yarn.lock index ad6f555c7cf24..6023ed3e54210 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2643,29 +2643,29 @@ resolved "https://registry.yarnpkg.com/@elastic/eslint-plugin-eui/-/eslint-plugin-eui-2.6.0.tgz#e1d72f3969049dd07ca96736119c08e7ac24f748" integrity sha512-XWCgM8TkpMDcX8OX8v0ocm0zI2cuxbRrGVtMcSFqLN8VWP/7JjVuw8Dg1Jo3cvMqXK/2YbfcREgzuCqvPD28+w== -"@elastic/eui-theme-borealis@5.1.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@elastic/eui-theme-borealis/-/eui-theme-borealis-5.1.0.tgz#43fed047fd2770622a72987b74f0c2e020d21046" - integrity sha512-M+J7AkruSLrjWyNYTmU2rpZ4g1h93tdQ1DANq3K/SD+xR76NLufuJOOhi6ELHWo1FiHWVM4GsnndrbW5aJrD5A== +"@elastic/eui-theme-borealis@5.1.0-snapshot.1764783610243": + version "5.1.0-snapshot.1764783610243" + resolved "https://registry.yarnpkg.com/@elastic/eui-theme-borealis/-/eui-theme-borealis-5.1.0-snapshot.1764783610243.tgz#28286462675a70b17c82e9360166d0c322ea356a" + integrity sha512-im4gqIS0DrnXbUp63y1S2dVowgiuZLDEBF5mivO7VLWH7dGVaOu6jp29v8HXt2nfJA9SdATsh0ZnpwUZTSOVgw== dependencies: - "@elastic/eui-theme-common" "7.1.0" + "@elastic/eui-theme-common" "7.1.0-snapshot.1764783610243" chroma-js "^2.4.2" -"@elastic/eui-theme-common@7.1.0": - version "7.1.0" - resolved "https://registry.yarnpkg.com/@elastic/eui-theme-common/-/eui-theme-common-7.1.0.tgz#d349389f4b14d8a666c9352ec85a5a17c9771e6d" - integrity sha512-o5h3ph8N3izD+tQOu/KM2kB0jRfzb8+nZwKWnCKkpA9jmm2hBf8QCC51MWtj69pUpsJah3YFSz6WlYVAOuF+iA== +"@elastic/eui-theme-common@7.1.0-snapshot.1764783610243": + version "7.1.0-snapshot.1764783610243" + resolved "https://registry.yarnpkg.com/@elastic/eui-theme-common/-/eui-theme-common-7.1.0-snapshot.1764783610243.tgz#ac543dd1803b4aa53624e16fcdbefe18603a2452" + integrity sha512-JAvLRCTgvi69HHPu/GoWy20gjZzfdol0MJGtUADCIwQSN0bgzzf7QvZTg3uxiTFW+k70Nm9+W8ekt7ICE3jLlg== dependencies: "@types/lodash" "^4.14.202" chroma-js "^2.4.2" lodash "^4.17.21" -"@elastic/eui@110.0.0": - version "110.0.0" - resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-110.0.0.tgz#2baeb804e5124b1c88577d7b9b03fdbbcfcdf7a8" - integrity sha512-mzq9NTrJNkkTp7d+zV8wX8NeiqivczwfthZlV/dIjW2qCTH1eU3B7gT5c28qrymynvD9Jp6zy/EtK8MnEzB4ng== +"@elastic/eui@110.0.0-snapshot.1764783610243": + version "110.0.0-snapshot.1764783610243" + resolved "https://registry.yarnpkg.com/@elastic/eui/-/eui-110.0.0-snapshot.1764783610243.tgz#a34f04721c3e98624540a9798318423ba9489edb" + integrity sha512-cu1XvN9uON8JdUivHDlGXq0pSWwMi4MHitEKsFLjBGPLBoQiM8XyVQtKrNvG2FME6K/V7vO0dosNJPSRYCAKdQ== dependencies: - "@elastic/eui-theme-common" "7.1.0" + "@elastic/eui-theme-common" "7.1.0-snapshot.1764783610243" "@elastic/prismjs-esql" "^1.1.2" "@hello-pangea/dnd" "^16.6.0" "@types/lodash" "^4.14.202" @@ -2698,6 +2698,7 @@ unified "^9.2.2" unist-util-visit "^2.0.3" url-parse "^1.5.10" + use-sync-external-store "^1.6.0" uuid "^8.3.0" vfile "^4.2.1" @@ -2706,7 +2707,7 @@ resolved "https://registry.yarnpkg.com/@elastic/filesaver/-/filesaver-1.1.2.tgz#1998ffb3cd89c9da4ec12a7793bfcae10e30c77a" integrity sha512-YZbSufYFBhAj+S2cJgiKALoxIJevqXN2MSr6Yqr42rJdaPuM31cj6pUDwflkql1oDjupqD9la+MfxPFjXI1JFQ== -"@elastic/kibana-d3-color@npm:@elastic/kibana-d3-color@2.0.1", "d3-color@1 - 2", "d3-color@npm:@elastic/kibana-d3-color@2.0.1": +"@elastic/kibana-d3-color@npm:@elastic/kibana-d3-color@2.0.1": version "2.0.1" resolved "https://registry.yarnpkg.com/@elastic/kibana-d3-color/-/kibana-d3-color-2.0.1.tgz#f83b9c2fea09273a918659de04d5e8098c82f65c" integrity sha512-YZ8hV2bWNyYi833Yj3UWczmTxdHzmo/Xc2IVkNXr/ZqtkrTDlTLysCyJm7SfAt9iBy6EVRGWTn8cPz8QOY6Ixw== @@ -18530,6 +18531,11 @@ d3-collection@^1.0.7: resolved "https://registry.yarnpkg.com/d3-collection/-/d3-collection-1.0.7.tgz#349bd2aa9977db071091c13144d5e4f16b5b310e" integrity sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A== +"d3-color@1 - 2", "d3-color@npm:@elastic/kibana-d3-color@2.0.1": + version "2.0.1" + resolved "https://registry.yarnpkg.com/@elastic/kibana-d3-color/-/kibana-d3-color-2.0.1.tgz#f83b9c2fea09273a918659de04d5e8098c82f65c" + integrity sha512-YZ8hV2bWNyYi833Yj3UWczmTxdHzmo/Xc2IVkNXr/ZqtkrTDlTLysCyJm7SfAt9iBy6EVRGWTn8cPz8QOY6Ixw== + "d3-color@1 - 3", d3-color@^3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/d3-color/-/d3-color-3.1.0.tgz#395b2833dfac71507f12ac2f7af23bf819de24e2" @@ -31669,7 +31675,7 @@ string-length@^4.0.1: char-regex "^1.0.2" strip-ansi "^6.0.0" -"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0": version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -31687,6 +31693,15 @@ string-width@^1.0.1: is-fullwidth-code-point "^1.0.0" strip-ansi "^3.0.0" +string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + string-width@^5.0.1, string-width@^5.1.2: version "5.1.2" resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" @@ -31779,7 +31794,7 @@ stringify-object@^3.2.1: is-obj "^1.0.1" is-regexp "^1.0.0" -"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1": version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -31793,6 +31808,13 @@ strip-ansi@^3.0.0, strip-ansi@^3.0.1: dependencies: ansi-regex "^2.0.0" +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + strip-ansi@^7.0.1, strip-ansi@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45" @@ -33461,6 +33483,11 @@ use-sync-external-store@^1.0.0, use-sync-external-store@^1.2.0, use-sync-externa resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.4.0.tgz#adbc795d8eeb47029963016cefdf89dc799fcebc" integrity sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw== +use-sync-external-store@^1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz#b174bfa65cb2b526732d9f2ac0a408027876f32d" + integrity sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w== + use@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/use/-/use-2.0.2.tgz#ae28a0d72f93bf22422a18a2e379993112dec8e8" @@ -34578,7 +34605,7 @@ workerpool@^6.5.1: resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.5.1.tgz#060f73b39d0caf97c6db64da004cd01b4c099544" integrity sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA== -"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0": version "7.0.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== @@ -34604,6 +34631,15 @@ wrap-ansi@^6.0.1, wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^8.1.0: version "8.1.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" @@ -34726,7 +34762,7 @@ xpath@^0.0.33: resolved "https://registry.yarnpkg.com/xpath/-/xpath-0.0.33.tgz#5136b6094227c5df92002e7c3a13516a5074eb07" integrity sha512-NNXnzrkDrAzalLhIUc01jO2mOzXGXh1JwPgkihcLLzw98c0WgYDmmjSh1Kl3wzaxSVWMuA+fe0WTWOBDWCBmNA== -"xstate5@npm:xstate@^5.19.2", xstate@^5.19.2: +"xstate5@npm:xstate@^5.19.2": version "5.19.2" resolved "https://registry.yarnpkg.com/xstate/-/xstate-5.19.2.tgz#db3f1ee614bbb6a49ad3f0c96ddbf98562d456ba" integrity sha512-B8fL2aP0ogn5aviAXFzI5oZseAMqN00fg/TeDa3ZtatyDcViYLIfuQl4y8qmHCiKZgGEzmnTyNtNQL9oeJE2gw== @@ -34736,6 +34772,11 @@ xstate@^4.38.3: resolved "https://registry.yarnpkg.com/xstate/-/xstate-4.38.3.tgz#4e15e7ad3aa0ca1eea2010548a5379966d8f1075" integrity sha512-SH7nAaaPQx57dx6qvfcIgqKRXIh4L0A1iYEqim4s1u7c9VoCgzZc+63FY90AKU4ZzOC2cfJzTnpO4zK7fCUzzw== +xstate@^5.19.2: + version "5.19.2" + resolved "https://registry.yarnpkg.com/xstate/-/xstate-5.19.2.tgz#db3f1ee614bbb6a49ad3f0c96ddbf98562d456ba" + integrity sha512-B8fL2aP0ogn5aviAXFzI5oZseAMqN00fg/TeDa3ZtatyDcViYLIfuQl4y8qmHCiKZgGEzmnTyNtNQL9oeJE2gw== + "xtend@>=4.0.0 <4.1.0-0", xtend@^4.0.0, xtend@^4.0.1, xtend@^4.0.2, xtend@~4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" From faef1546183aed6c051d73e89f108ee37be6e32e Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Wed, 26 Nov 2025 23:54:23 +0100 Subject: [PATCH 11/15] chore: update i18n mapping --- .../src/__snapshots__/i18n_service.test.tsx.snap | 3 +++ .../i18n/browser-internal/src/i18n_eui_mapping.tsx | 9 +++++++++ 2 files changed, 12 insertions(+) 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 a47e473c4a186..654590e3be03c 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 @@ -127,6 +127,9 @@ exports[`#start() returns \`Context\` component 1`] = ` \\"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.screenReaderFocusTrapShards\\": \\"You can still continue tabbing through other global page landmarks.\\", + \\"euiFlyoutMenu.back\\": \\"Back\\", + \\"euiFlyoutMenu.history\\": \\"History\\", + \\"euiFlyoutManaged.defaultTitle\\": \\"Unknown Flyout\\", \\"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 17c186b8f44a2..39e7577d70acb 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 @@ -799,6 +799,15 @@ export const getEuiContextMapping = (): EuiTokensObject => { defaultMessage: 'You can still continue tabbing through other global page landmarks.', } ), + 'euiFlyoutMenu.back': i18n.translate('core.euiFlyoutMenu.back', { + defaultMessage: 'Back', + }), + 'euiFlyoutMenu.history': i18n.translate('core.euiFlyoutMenu.history', { + defaultMessage: 'History', + }), + 'euiFlyoutManaged.defaultTitle': i18n.translate('core.euiFlyoutManaged.defaultTitle', { + defaultMessage: 'Unknown Flyout', + }), 'euiForm.addressFormErrors': i18n.translate('core.euiForm.addressFormErrors', { defaultMessage: 'Please address the highlighted errors.', }), From f2da354609792be14ed03a1eb553bee22baa87eb Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Thu, 27 Nov 2025 00:02:23 +0100 Subject: [PATCH 12/15] test: update snapshots in src/platform/packages/shared/shared-ux/page/solution_nav/jest.config.js --- .../src/__snapshots__/with_solution_nav.test.tsx.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/packages/shared/shared-ux/page/solution_nav/src/__snapshots__/with_solution_nav.test.tsx.snap b/src/platform/packages/shared/shared-ux/page/solution_nav/src/__snapshots__/with_solution_nav.test.tsx.snap index 709d05bb228c3..d627ed9b22938 100644 --- a/src/platform/packages/shared/shared-ux/page/solution_nav/src/__snapshots__/with_solution_nav.test.tsx.snap +++ b/src/platform/packages/shared/shared-ux/page/solution_nav/src/__snapshots__/with_solution_nav.test.tsx.snap @@ -52,7 +52,7 @@ exports[`WithSolutionNav renders wrapped component 1`] = ` } pageSideBarProps={ Object { - "className": "kbnSolutionNav__sidebar css-ausb9j-WithSolutionNavStyles", + "className": "kbnSolutionNav__sidebar css-2s1djh-WithSolutionNavStyles", "hasEmbellish": true, "minWidth": undefined, "paddingSize": "none", @@ -113,7 +113,7 @@ exports[`WithSolutionNav with children 1`] = ` } pageSideBarProps={ Object { - "className": "kbnSolutionNav__sidebar css-ausb9j-WithSolutionNavStyles", + "className": "kbnSolutionNav__sidebar css-2s1djh-WithSolutionNavStyles", "hasEmbellish": true, "minWidth": undefined, "paddingSize": "none", From 94d3ab72a15ac0787f016e35dd40362cf48af02e Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Thu, 27 Nov 2025 00:06:48 +0100 Subject: [PATCH 13/15] test: update snapshots in src/platform/plugins/private/vis_types/vislib/jest.config.js --- .../components/legend/__snapshots__/legend.test.tsx.snap | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/__snapshots__/legend.test.tsx.snap b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/__snapshots__/legend.test.tsx.snap index 08abcc7e20f36..bb6b6594b7339 100644 --- a/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/__snapshots__/legend.test.tsx.snap +++ b/src/platform/plugins/private/vis_types/vislib/public/vislib/components/legend/__snapshots__/legend.test.tsx.snap @@ -1,5 +1,5 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`VisLegend Component Legend closed should match the snapshot 1`] = `"
"`; +exports[`VisLegend Component Legend closed should match the snapshot 1`] = `"
"`; -exports[`VisLegend Component Legend open should match the snapshot 1`] = `"
"`; +exports[`VisLegend Component Legend open should match the snapshot 1`] = `"
"`; From d2da38ee73fd151a50aa672de0082b8546faa778 Mon Sep 17 00:00:00 2001 From: Tomasz Kajtoch Date: Thu, 27 Nov 2025 00:08:06 +0100 Subject: [PATCH 14/15] test: update snapshots in x-pack/platform/plugins/shared/security/jest.config.js --- .../__snapshots__/login_page.test.tsx.snap | 4 +- .../__snapshots__/login_form.test.tsx.snap | 130 ++++---- .../overwritten_session_page.test.tsx.snap | 2 +- .../collapsible_panel.test.tsx.snap | 20 +- .../simple_privilege_section.test.tsx.snap | 306 +++++++++--------- 5 files changed, 234 insertions(+), 228 deletions(-) diff --git a/x-pack/platform/plugins/shared/security/public/authentication/login/__snapshots__/login_page.test.tsx.snap b/x-pack/platform/plugins/shared/security/public/authentication/login/__snapshots__/login_page.test.tsx.snap index 1f8791771d0cb..4b12b65950756 100644 --- a/x-pack/platform/plugins/shared/security/public/authentication/login/__snapshots__/login_page.test.tsx.snap +++ b/x-pack/platform/plugins/shared/security/public/authentication/login/__snapshots__/login_page.test.tsx.snap @@ -295,7 +295,7 @@ exports[`LoginPage enabled form state renders as expected when loginHelp is set exports[`LoginPage page renders as expected 1`] = `
- + + /> + diff --git a/x-pack/platform/plugins/shared/security/public/authentication/overwritten_session/__snapshots__/overwritten_session_page.test.tsx.snap b/x-pack/platform/plugins/shared/security/public/authentication/overwritten_session/__snapshots__/overwritten_session_page.test.tsx.snap index 086f00d5162d8..be6d92b517a2c 100644 --- a/x-pack/platform/plugins/shared/security/public/authentication/overwritten_session/__snapshots__/overwritten_session_page.test.tsx.snap +++ b/x-pack/platform/plugins/shared/security/public/authentication/overwritten_session/__snapshots__/overwritten_session_page.test.tsx.snap @@ -2,7 +2,7 @@ exports[`OverwrittenSessionPage renders as expected 1`] = `
- -

- child -

-
+ + +

+ child +

+
+
diff --git a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap index 54429a13515e2..9d048dd543701 100644 --- a/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap +++ b/x-pack/platform/plugins/shared/security/public/management/roles/edit_role/privileges/kibana/simple_privilege_section/__snapshots__/simple_privilege_section.test.tsx.snap @@ -37,7 +37,7 @@ exports[` renders without crashing 1`] = ` "extraSlow": "500ms", "fast": "150ms", "normal": "250ms", - "resistance": "cubic-bezier(.694, .0482, .335, 1)", + "resistance": "cubic-bezier(.32, .72, 0, 1)", "slow": "350ms", }, "base": 16, @@ -2456,133 +2456,13 @@ exports[` renders without crashing 1`] = ` - SecuredFeature { + + renders without crashing 1`] = ` ], "primaryFeaturePrivileges": Array [ PrimaryFeaturePrivilege { - "actions": Array [ - "*", - ], + "actions": Array [], "config": Object { "app": Array [ "app", @@ -2680,9 +2558,7 @@ exports[` renders without crashing 1`] = ` "id": "all", }, PrimaryFeaturePrivilege { - "actions": Array [ - "read", - ], + "actions": Array [], "config": Object { "app": Array [ "app", @@ -2702,26 +2578,152 @@ exports[` renders without crashing 1`] = ` "subFeaturePrivileges": Array [], "subFeatures": Array [], }, - }, - "global": Map {}, - "spaces": Map {}, + ] + } + kibanaPrivileges={ + KibanaPrivileges { + "feature": Map { + "feature1" => SecuredFeature { + "config": Object { + "app": Array [ + "app", + ], + "category": Object { + "id": "foo", + "label": "foo", + }, + "id": "feature1", + "name": "Feature 1", + "privileges": Object { + "all": Object { + "app": Array [ + "app", + ], + "savedObject": Object { + "all": Array [ + "foo", + ], + "read": Array [], + }, + "ui": Array [ + "app-ui", + ], + }, + "read": Object { + "app": Array [ + "app", + ], + "savedObject": Object { + "all": Array [], + "read": Array [], + }, + "ui": Array [ + "app-ui", + ], + }, + }, + }, + "minimalPrimaryFeaturePrivileges": Array [ + PrimaryFeaturePrivilege { + "actions": Array [], + "config": Object { + "app": Array [ + "app", + ], + "savedObject": Object { + "all": Array [ + "foo", + ], + "read": Array [], + }, + "ui": Array [ + "app-ui", + ], + }, + "id": "minimal_all", + }, + PrimaryFeaturePrivilege { + "actions": Array [], + "config": Object { + "app": Array [ + "app", + ], + "savedObject": Object { + "all": Array [], + "read": Array [], + }, + "ui": Array [ + "app-ui", + ], + }, + "id": "minimal_read", + }, + ], + "primaryFeaturePrivileges": Array [ + PrimaryFeaturePrivilege { + "actions": Array [ + "*", + ], + "config": Object { + "app": Array [ + "app", + ], + "savedObject": Object { + "all": Array [ + "foo", + ], + "read": Array [], + }, + "ui": Array [ + "app-ui", + ], + }, + "id": "all", + }, + PrimaryFeaturePrivilege { + "actions": Array [ + "read", + ], + "config": Object { + "app": Array [ + "app", + ], + "savedObject": Object { + "all": Array [], + "read": Array [], + }, + "ui": Array [ + "app-ui", + ], + }, + "id": "read", + }, + ], + "securedSubFeatures": Array [], + "subFeaturePrivileges": Array [], + "subFeatures": Array [], + }, + }, + "global": Map {}, + "spaces": Map {}, + } } - } - onChange={[MockFunction]} - role={ - Object { - "elasticsearch": Object { - "cluster": Array [ - "manage", - ], - "indices": Array [], - "run_as": Array [], - }, - "kibana": Array [], - "name": "", + onChange={[MockFunction]} + role={ + Object { + "elasticsearch": Object { + "cluster": Array [ + "manage", + ], + "indices": Array [], + "run_as": Array [], + }, + "kibana": Array [], + "name": "", + } } - } - /> + /> + From cadfb668cd9cdeea71072064124df81ef4b77f3f Mon Sep 17 00:00:00 2001 From: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Date: Wed, 3 Dec 2025 19:56:47 +0000 Subject: [PATCH 15/15] TO FIX: Run node 'scripts/yarn_deduplicate && yarn kbn bootstrap' locally, or add an exception to src/dev/yarn_deduplicate/index.ts and then commit the changes and push to your branch --- yarn.lock | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6023ed3e54210..5591661c18a4b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -33478,12 +33478,7 @@ use-sync-external-store@1.2.2: resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.2.2.tgz#c3b6390f3a30eba13200d2302dcdf1e7b57b2ef9" integrity sha512-PElTlVMwpblvbNqQ82d2n6RjStvdSoNe9FG28kNfz3WiXilJm4DdNkEzRhCZuIDwY8U08WVihhGR5iRqAwfDiw== -use-sync-external-store@^1.0.0, use-sync-external-store@^1.2.0, use-sync-external-store@^1.4.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.4.0.tgz#adbc795d8eeb47029963016cefdf89dc799fcebc" - integrity sha512-9WXSPC5fMv61vaupRkCKCxsPxBocVnwakBEkMIHHpkTTg6icbJtg6jzgtLDm4bl3cSHAca52rYWih0k4K3PfHw== - -use-sync-external-store@^1.6.0: +use-sync-external-store@^1.0.0, use-sync-external-store@^1.2.0, use-sync-external-store@^1.4.0, use-sync-external-store@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/use-sync-external-store/-/use-sync-external-store-1.6.0.tgz#b174bfa65cb2b526732d9f2ac0a408027876f32d" integrity sha512-Pp6GSwGP/NrPIrxVFAIkOQeyw8lFenOHijQWkUTrDvrF4ALqylP2C/KCkeS9dpUM3KvYRQhna5vt7IL95+ZQ9w==