diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ff34e407e3b11..b72fc4c3a8a96 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -869,56 +869,56 @@ packages/kbn-set-map @elastic/kibana-operations examples/share_examples @elastic/appex-sharedux src/platform/plugins/shared/share @elastic/appex-sharedux src/platform/packages/shared/kbn-shared-svg @elastic/obs-ux-infra_services-team -packages/shared-ux/avatar/solution @elastic/appex-sharedux -packages/shared-ux/button/exit_full_screen @elastic/appex-sharedux -packages/shared-ux/button_toolbar @elastic/appex-sharedux -packages/shared-ux/card/no_data/impl @elastic/appex-sharedux -packages/shared-ux/card/no_data/mocks @elastic/appex-sharedux -packages/shared-ux/card/no_data/types @elastic/appex-sharedux -packages/shared-ux/chrome/navigation @elastic/appex-sharedux -packages/shared-ux/error_boundary @elastic/appex-sharedux -packages/shared-ux/file/context @elastic/appex-sharedux -packages/shared-ux/file/image/impl @elastic/appex-sharedux -packages/shared-ux/file/image/mocks @elastic/appex-sharedux -packages/shared-ux/file/mocks @elastic/appex-sharedux -packages/shared-ux/file/file_picker/impl @elastic/appex-sharedux -packages/shared-ux/file/types @elastic/appex-sharedux -packages/shared-ux/file/file_upload/impl @elastic/appex-sharedux -packages/shared-ux/file/util @elastic/appex-sharedux -packages/shared-ux/link/redirect_app/impl @elastic/appex-sharedux -packages/shared-ux/link/redirect_app/mocks @elastic/appex-sharedux -packages/shared-ux/link/redirect_app/types @elastic/appex-sharedux -packages/shared-ux/markdown/impl @elastic/appex-sharedux -packages/shared-ux/markdown/mocks @elastic/appex-sharedux -packages/shared-ux/markdown/types @elastic/appex-sharedux -packages/shared-ux/page/analytics_no_data/impl @elastic/appex-sharedux -packages/shared-ux/page/analytics_no_data/mocks @elastic/appex-sharedux -packages/shared-ux/page/analytics_no_data/types @elastic/appex-sharedux -packages/shared-ux/page/kibana_no_data/impl @elastic/appex-sharedux -packages/shared-ux/page/kibana_no_data/mocks @elastic/appex-sharedux -packages/shared-ux/page/kibana_no_data/types @elastic/appex-sharedux -packages/shared-ux/page/kibana_template/impl @elastic/appex-sharedux -packages/shared-ux/page/kibana_template/mocks @elastic/appex-sharedux -packages/shared-ux/page/kibana_template/types @elastic/appex-sharedux -packages/shared-ux/page/no_data/impl @elastic/appex-sharedux -packages/shared-ux/page/no_data_config/impl @elastic/appex-sharedux -packages/shared-ux/page/no_data_config/mocks @elastic/appex-sharedux -packages/shared-ux/page/no_data_config/types @elastic/appex-sharedux -packages/shared-ux/page/no_data/mocks @elastic/appex-sharedux -packages/shared-ux/page/no_data/types @elastic/appex-sharedux -packages/shared-ux/page/solution_nav @elastic/appex-sharedux -packages/shared-ux/prompt/no_data_views/impl @elastic/appex-sharedux -packages/shared-ux/prompt/no_data_views/mocks @elastic/appex-sharedux -packages/shared-ux/prompt/no_data_views/types @elastic/appex-sharedux -packages/shared-ux/prompt/not_found @elastic/appex-sharedux -packages/shared-ux/router/impl @elastic/appex-sharedux -packages/shared-ux/router/mocks @elastic/appex-sharedux -packages/shared-ux/router/types @elastic/appex-sharedux -packages/shared-ux/storybook/config @elastic/appex-sharedux -packages/shared-ux/storybook/mock @elastic/appex-sharedux -packages/shared-ux/modal/tabbed @elastic/appex-sharedux -packages/shared-ux/table_persist @elastic/appex-sharedux -packages/kbn-shared-ux-utility @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/avatar/solution @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/button/exit_full_screen @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/button_toolbar @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/card/no_data/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/card/no_data/mocks @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/card/no_data/types @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/chrome/navigation @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/error_boundary @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/file/context @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/file/image/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/file/image/mocks @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/file/mocks @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/file/file_picker/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/file/types @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/file/file_upload/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/file/util @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/link/redirect_app/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/link/redirect_app/mocks @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/link/redirect_app/types @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/markdown/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/markdown/mocks @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/markdown/types @elastic/appex-sharedux +src/platform/packages/private/shared-ux/page/analytics_no_data/impl @elastic/appex-sharedux +src/platform/packages/private/shared-ux/page/analytics_no_data/mocks @elastic/appex-sharedux +src/platform/packages/private/shared-ux/page/analytics_no_data/types @elastic/appex-sharedux +src/platform/packages/private/shared-ux/page/kibana_no_data/impl @elastic/appex-sharedux +src/platform/packages/private/shared-ux/page/kibana_no_data/mocks @elastic/appex-sharedux +src/platform/packages/private/shared-ux/page/kibana_no_data/types @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/page/kibana_template/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/page/kibana_template/mocks @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/page/kibana_template/types @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/page/no_data/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/page/no_data_config/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/page/no_data_config/mocks @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/page/no_data_config/types @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/page/no_data/mocks @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/page/no_data/types @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/page/solution_nav @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/prompt/no_data_views/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/prompt/no_data_views/types @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/prompt/not_found @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/router/impl @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/router/mocks @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/router/types @elastic/appex-sharedux +src/platform/packages/private/shared-ux/storybook/config @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/storybook/mock @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/modal/tabbed @elastic/appex-sharedux +src/platform/packages/shared/shared-ux/table_persist @elastic/appex-sharedux +src/platform/packages/shared/kbn-shared-ux-utility @elastic/appex-sharedux x-pack/solutions/observability/plugins/slo @elastic/obs-ux-management-team x-pack/platform/packages/shared/kbn-slo-schema @elastic/obs-ux-management-team x-pack/platform/plugins/private/snapshot_restore @elastic/kibana-management diff --git a/.i18nrc.json b/.i18nrc.json index b45d3737fd07b..2a7ffc676d97d 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -112,7 +112,7 @@ "searchConnectorsPlugin": "x-pack/solutions/search/plugins/search_connectors", "server": "src/legacy/server", "share": ["src/platform/plugins/shared/share", "packages/kbn-reporting-share"], - "sharedUXPackages": "packages/shared-ux", + "sharedUXPackages": ["packages/shared-ux", "src/platform/packages/shared/shared-ux", "src/platform/packages/private/shared-ux/"], "searchApiKeysComponents": "x-pack/solutions/search/packages/kbn-search-api-keys-components", "searchApiPanels": "src/platform/packages/shared/kbn-search-api-panels/", "searchErrors": "src/platform/packages/shared/kbn-search-errors", diff --git a/dev_docs/key_concepts/navigation.mdx b/dev_docs/key_concepts/navigation.mdx index def5e224d05cc..9232a8aa193b4 100644 --- a/dev_docs/key_concepts/navigation.mdx +++ b/dev_docs/key_concepts/navigation.mdx @@ -116,7 +116,7 @@ const MySPALink = () => ``` As it would be too much boilerplate to do this for each link in your app, there is a handy wrapper that helps with it: -[RedirectAppLinks](https://github.com/elastic/kibana/blob/main/packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.tsx). +[RedirectAppLinks](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.tsx). ```jsx const MyApp = () => diff --git a/dev_docs/key_concepts/performance/case_studies/case_study_top_level_imports.mdx b/dev_docs/key_concepts/performance/case_studies/case_study_top_level_imports.mdx index 3799f9085f595..9a84fb3bfea70 100644 --- a/dev_docs/key_concepts/performance/case_studies/case_study_top_level_imports.mdx +++ b/dev_docs/key_concepts/performance/case_studies/case_study_top_level_imports.mdx @@ -99,7 +99,7 @@ By converting each page to an async import, we were able to load each page async ### Other optimizations - Registration of some `start` services were conditional, and contain their own async calls. I removed those from the register helper, (which itself was a brute-force offload of code from the plugin, but still loaded every time), and loaded them async if the conditions apply. -- I moved flyouts, modals, expanding rows, and other conditionally-rendered components to `React.lazy` async modules, (using [`dynamic`](https://github.com/elastic/kibana/tree/main/packages/kbn-shared-ux-utility/src/dynamic) from [@kbn/shared-ux-utility](https://github.com/elastic/kibana/tree/main/packages/kbn-shared-ux-utility)). +- I moved flyouts, modals, expanding rows, and other conditionally-rendered components to `React.lazy` async modules, (using `dynamic` from `@kbn/shared-ux-utility`). - A lot of `export * from ...` exports were obscuring what code was actually being consumed. For example, [`public/shared.ts`](https://github.com/elastic/kibana/blob/bfc91b0cb035b39916a5efc64ace31e88a230ec5/x-pack/plugins/ml/public/shared.ts) was exporting everything from a lot of `common` files. - By [refactoring these exports](https://github.com/clintandrewhall/kibana/blob/c4790b6315662b940d0794faca0ddafd8b6faedc/x-pack/plugins/ml/public/shared.ts) to accurately reflect what is being consumed outside the `ml` plugin, we are able to track their consumption, (and also reduce the size of _that_ bundle). diff --git a/docs/developer/best-practices/navigation.asciidoc b/docs/developer/best-practices/navigation.asciidoc index d3584437bd759..0715dd7341fcf 100644 --- a/docs/developer/best-practices/navigation.asciidoc +++ b/docs/developer/best-practices/navigation.asciidoc @@ -120,7 +120,7 @@ const MySPALink = () => ---- As it would be too much boilerplate to do this for each {kib} link in your app, there is a handy wrapper that helps with it: -{kib-repo}tree/{branch}/packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.tsx[RedirectAppLinks]. +{kib-repo}tree/{branch}/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.tsx[RedirectAppLinks]. [source,typescript jsx] ---- diff --git a/package.json b/package.json index 3c3f8d2feb3ab..f7ab4c5f8f632 100644 --- a/package.json +++ b/package.json @@ -876,56 +876,56 @@ "@kbn/share-examples-plugin": "link:examples/share_examples", "@kbn/share-plugin": "link:src/platform/plugins/shared/share", "@kbn/shared-svg": "link:src/platform/packages/shared/kbn-shared-svg", - "@kbn/shared-ux-avatar-solution": "link:packages/shared-ux/avatar/solution", - "@kbn/shared-ux-button-exit-full-screen": "link:packages/shared-ux/button/exit_full_screen", - "@kbn/shared-ux-button-toolbar": "link:packages/shared-ux/button_toolbar", - "@kbn/shared-ux-card-no-data": "link:packages/shared-ux/card/no_data/impl", - "@kbn/shared-ux-card-no-data-mocks": "link:packages/shared-ux/card/no_data/mocks", - "@kbn/shared-ux-card-no-data-types": "link:packages/shared-ux/card/no_data/types", - "@kbn/shared-ux-chrome-navigation": "link:packages/shared-ux/chrome/navigation", - "@kbn/shared-ux-error-boundary": "link:packages/shared-ux/error_boundary", - "@kbn/shared-ux-file-context": "link:packages/shared-ux/file/context", - "@kbn/shared-ux-file-image": "link:packages/shared-ux/file/image/impl", - "@kbn/shared-ux-file-image-mocks": "link:packages/shared-ux/file/image/mocks", - "@kbn/shared-ux-file-mocks": "link:packages/shared-ux/file/mocks", - "@kbn/shared-ux-file-picker": "link:packages/shared-ux/file/file_picker/impl", - "@kbn/shared-ux-file-types": "link:packages/shared-ux/file/types", - "@kbn/shared-ux-file-upload": "link:packages/shared-ux/file/file_upload/impl", - "@kbn/shared-ux-file-util": "link:packages/shared-ux/file/util", - "@kbn/shared-ux-link-redirect-app": "link:packages/shared-ux/link/redirect_app/impl", - "@kbn/shared-ux-link-redirect-app-mocks": "link:packages/shared-ux/link/redirect_app/mocks", - "@kbn/shared-ux-link-redirect-app-types": "link:packages/shared-ux/link/redirect_app/types", - "@kbn/shared-ux-markdown": "link:packages/shared-ux/markdown/impl", - "@kbn/shared-ux-markdown-mocks": "link:packages/shared-ux/markdown/mocks", - "@kbn/shared-ux-markdown-types": "link:packages/shared-ux/markdown/types", - "@kbn/shared-ux-page-analytics-no-data": "link:packages/shared-ux/page/analytics_no_data/impl", - "@kbn/shared-ux-page-analytics-no-data-mocks": "link:packages/shared-ux/page/analytics_no_data/mocks", - "@kbn/shared-ux-page-analytics-no-data-types": "link:packages/shared-ux/page/analytics_no_data/types", - "@kbn/shared-ux-page-kibana-no-data": "link:packages/shared-ux/page/kibana_no_data/impl", - "@kbn/shared-ux-page-kibana-no-data-mocks": "link:packages/shared-ux/page/kibana_no_data/mocks", - "@kbn/shared-ux-page-kibana-no-data-types": "link:packages/shared-ux/page/kibana_no_data/types", - "@kbn/shared-ux-page-kibana-template": "link:packages/shared-ux/page/kibana_template/impl", - "@kbn/shared-ux-page-kibana-template-mocks": "link:packages/shared-ux/page/kibana_template/mocks", - "@kbn/shared-ux-page-kibana-template-types": "link:packages/shared-ux/page/kibana_template/types", - "@kbn/shared-ux-page-no-data": "link:packages/shared-ux/page/no_data/impl", - "@kbn/shared-ux-page-no-data-config": "link:packages/shared-ux/page/no_data_config/impl", - "@kbn/shared-ux-page-no-data-config-mocks": "link:packages/shared-ux/page/no_data_config/mocks", - "@kbn/shared-ux-page-no-data-config-types": "link:packages/shared-ux/page/no_data_config/types", - "@kbn/shared-ux-page-no-data-mocks": "link:packages/shared-ux/page/no_data/mocks", - "@kbn/shared-ux-page-no-data-types": "link:packages/shared-ux/page/no_data/types", - "@kbn/shared-ux-page-solution-nav": "link:packages/shared-ux/page/solution_nav", - "@kbn/shared-ux-prompt-no-data-views": "link:packages/shared-ux/prompt/no_data_views/impl", - "@kbn/shared-ux-prompt-no-data-views-mocks": "link:packages/shared-ux/prompt/no_data_views/mocks", - "@kbn/shared-ux-prompt-no-data-views-types": "link:packages/shared-ux/prompt/no_data_views/types", - "@kbn/shared-ux-prompt-not-found": "link:packages/shared-ux/prompt/not_found", - "@kbn/shared-ux-router": "link:packages/shared-ux/router/impl", - "@kbn/shared-ux-router-mocks": "link:packages/shared-ux/router/mocks", - "@kbn/shared-ux-router-types": "link:packages/shared-ux/router/types", - "@kbn/shared-ux-storybook-config": "link:packages/shared-ux/storybook/config", - "@kbn/shared-ux-storybook-mock": "link:packages/shared-ux/storybook/mock", - "@kbn/shared-ux-tabbed-modal": "link:packages/shared-ux/modal/tabbed", - "@kbn/shared-ux-table-persist": "link:packages/shared-ux/table_persist", - "@kbn/shared-ux-utility": "link:packages/kbn-shared-ux-utility", + "@kbn/shared-ux-avatar-solution": "link:src/platform/packages/shared/shared-ux/avatar/solution", + "@kbn/shared-ux-button-exit-full-screen": "link:src/platform/packages/shared/shared-ux/button/exit_full_screen", + "@kbn/shared-ux-button-toolbar": "link:src/platform/packages/shared/shared-ux/button_toolbar", + "@kbn/shared-ux-card-no-data": "link:src/platform/packages/shared/shared-ux/card/no_data/impl", + "@kbn/shared-ux-card-no-data-mocks": "link:src/platform/packages/shared/shared-ux/card/no_data/mocks", + "@kbn/shared-ux-card-no-data-types": "link:src/platform/packages/shared/shared-ux/card/no_data/types", + "@kbn/shared-ux-chrome-navigation": "link:src/platform/packages/shared/shared-ux/chrome/navigation", + "@kbn/shared-ux-error-boundary": "link:src/platform/packages/shared/shared-ux/error_boundary", + "@kbn/shared-ux-file-context": "link:src/platform/packages/shared/shared-ux/file/context", + "@kbn/shared-ux-file-image": "link:src/platform/packages/shared/shared-ux/file/image/impl", + "@kbn/shared-ux-file-image-mocks": "link:src/platform/packages/shared/shared-ux/file/image/mocks", + "@kbn/shared-ux-file-mocks": "link:src/platform/packages/shared/shared-ux/file/mocks", + "@kbn/shared-ux-file-picker": "link:src/platform/packages/shared/shared-ux/file/file_picker/impl", + "@kbn/shared-ux-file-types": "link:src/platform/packages/shared/shared-ux/file/types", + "@kbn/shared-ux-file-upload": "link:src/platform/packages/shared/shared-ux/file/file_upload/impl", + "@kbn/shared-ux-file-util": "link:src/platform/packages/shared/shared-ux/file/util", + "@kbn/shared-ux-link-redirect-app": "link:src/platform/packages/shared/shared-ux/link/redirect_app/impl", + "@kbn/shared-ux-link-redirect-app-mocks": "link:src/platform/packages/shared/shared-ux/link/redirect_app/mocks", + "@kbn/shared-ux-link-redirect-app-types": "link:src/platform/packages/shared/shared-ux/link/redirect_app/types", + "@kbn/shared-ux-markdown": "link:src/platform/packages/shared/shared-ux/markdown/impl", + "@kbn/shared-ux-markdown-mocks": "link:src/platform/packages/shared/shared-ux/markdown/mocks", + "@kbn/shared-ux-markdown-types": "link:src/platform/packages/shared/shared-ux/markdown/types", + "@kbn/shared-ux-page-analytics-no-data": "link:src/platform/packages/private/shared-ux/page/analytics_no_data/impl", + "@kbn/shared-ux-page-analytics-no-data-mocks": "link:src/platform/packages/private/shared-ux/page/analytics_no_data/mocks", + "@kbn/shared-ux-page-analytics-no-data-types": "link:src/platform/packages/private/shared-ux/page/analytics_no_data/types", + "@kbn/shared-ux-page-kibana-no-data": "link:src/platform/packages/private/shared-ux/page/kibana_no_data/impl", + "@kbn/shared-ux-page-kibana-no-data-mocks": "link:src/platform/packages/private/shared-ux/page/kibana_no_data/mocks", + "@kbn/shared-ux-page-kibana-no-data-types": "link:src/platform/packages/private/shared-ux/page/kibana_no_data/types", + "@kbn/shared-ux-page-kibana-template": "link:src/platform/packages/shared/shared-ux/page/kibana_template/impl", + "@kbn/shared-ux-page-kibana-template-mocks": "link:src/platform/packages/shared/shared-ux/page/kibana_template/mocks", + "@kbn/shared-ux-page-kibana-template-types": "link:src/platform/packages/shared/shared-ux/page/kibana_template/types", + "@kbn/shared-ux-page-no-data": "link:src/platform/packages/shared/shared-ux/page/no_data/impl", + "@kbn/shared-ux-page-no-data-config": "link:src/platform/packages/shared/shared-ux/page/no_data_config/impl", + "@kbn/shared-ux-page-no-data-config-mocks": "link:src/platform/packages/shared/shared-ux/page/no_data_config/mocks", + "@kbn/shared-ux-page-no-data-config-types": "link:src/platform/packages/shared/shared-ux/page/no_data_config/types", + "@kbn/shared-ux-page-no-data-mocks": "link:src/platform/packages/shared/shared-ux/page/no_data/mocks", + "@kbn/shared-ux-page-no-data-types": "link:src/platform/packages/shared/shared-ux/page/no_data/types", + "@kbn/shared-ux-page-solution-nav": "link:src/platform/packages/shared/shared-ux/page/solution_nav", + "@kbn/shared-ux-prompt-no-data-views": "link:src/platform/packages/shared/shared-ux/prompt/no_data_views/impl", + "@kbn/shared-ux-prompt-no-data-views-mocks": "link:src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks", + "@kbn/shared-ux-prompt-no-data-views-types": "link:src/platform/packages/shared/shared-ux/prompt/no_data_views/types", + "@kbn/shared-ux-prompt-not-found": "link:src/platform/packages/shared/shared-ux/prompt/not_found", + "@kbn/shared-ux-router": "link:src/platform/packages/shared/shared-ux/router/impl", + "@kbn/shared-ux-router-mocks": "link:src/platform/packages/shared/shared-ux/router/mocks", + "@kbn/shared-ux-router-types": "link:src/platform/packages/shared/shared-ux/router/types", + "@kbn/shared-ux-storybook-config": "link:src/platform/packages/private/shared-ux/storybook/config", + "@kbn/shared-ux-storybook-mock": "link:src/platform/packages/shared/shared-ux/storybook/mock", + "@kbn/shared-ux-tabbed-modal": "link:src/platform/packages/shared/shared-ux/modal/tabbed", + "@kbn/shared-ux-table-persist": "link:src/platform/packages/shared/shared-ux/table_persist", + "@kbn/shared-ux-utility": "link:src/platform/packages/shared/kbn-shared-ux-utility", "@kbn/slo-plugin": "link:x-pack/solutions/observability/plugins/slo", "@kbn/slo-schema": "link:x-pack/platform/packages/shared/kbn-slo-schema", "@kbn/snapshot-restore-plugin": "link:x-pack/platform/plugins/private/snapshot_restore", diff --git a/packages/react/kibana_context/root/BUILD.bazel b/packages/react/kibana_context/root/BUILD.bazel index e78f513deeac6..3402818fef685 100644 --- a/packages/react/kibana_context/root/BUILD.bazel +++ b/packages/react/kibana_context/root/BUILD.bazel @@ -26,7 +26,7 @@ DEPS = [ "@npm//tslib", "@npm//@elastic/eui", "//src/core/packages/base/common:core-base-common", - "//packages/shared-ux/router/impl:shared-ux-router", + "//src/platform/packages/shared/shared-ux/router/impl:shared-ux-router", ] js_library( diff --git a/packages/shared-ux/chrome/navigation/jest.config.js b/packages/shared-ux/chrome/navigation/jest.config.js deleted file mode 100644 index d119e24827eff..0000000000000 --- a/packages/shared-ux/chrome/navigation/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/shared-ux/chrome/navigation'], -}; diff --git a/packages/shared-ux/error_boundary/jest.config.js b/packages/shared-ux/error_boundary/jest.config.js deleted file mode 100644 index f016ddddbe096..0000000000000 --- a/packages/shared-ux/error_boundary/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/shared-ux/error_boundary'], -}; diff --git a/packages/shared-ux/file/file_upload/impl/jest.config.js b/packages/shared-ux/file/file_upload/impl/jest.config.js deleted file mode 100644 index 1a5db6bfdd472..0000000000000 --- a/packages/shared-ux/file/file_upload/impl/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/packages/shared-ux/file/file_upload/impl'], -}; diff --git a/packages/shared-ux/markdown/impl/jest.config.js b/packages/shared-ux/markdown/impl/jest.config.js deleted file mode 100644 index cb422578fef01..0000000000000 --- a/packages/shared-ux/markdown/impl/jest.config.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/shared-ux/markdown/impl'], - setupFilesAfterEnv: ['/packages/shared-ux/markdown/impl/setup_tests.ts'], -}; diff --git a/packages/shared-ux/modal/tabbed/jest.config.js b/packages/shared-ux/modal/tabbed/jest.config.js deleted file mode 100644 index 5ed8a8311d328..0000000000000 --- a/packages/shared-ux/modal/tabbed/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/shared-ux/modal/tabbed'], -}; diff --git a/packages/shared-ux/page/analytics_no_data/impl/jest.config.js b/packages/shared-ux/page/analytics_no_data/impl/jest.config.js deleted file mode 100644 index 9b3052f23672a..0000000000000 --- a/packages/shared-ux/page/analytics_no_data/impl/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/packages/shared-ux/page/analytics_no_data'], -}; diff --git a/packages/shared-ux/page/kibana_no_data/impl/jest.config.js b/packages/shared-ux/page/kibana_no_data/impl/jest.config.js deleted file mode 100644 index 696f32a28a4e9..0000000000000 --- a/packages/shared-ux/page/kibana_no_data/impl/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/packages/shared-ux/page/kibana_no_data'], -}; diff --git a/packages/shared-ux/page/kibana_template/impl/jest.config.js b/packages/shared-ux/page/kibana_template/impl/jest.config.js deleted file mode 100644 index 486b3f38a39fa..0000000000000 --- a/packages/shared-ux/page/kibana_template/impl/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/packages/shared-ux/page/kibana_template/impl'], -}; diff --git a/packages/shared-ux/page/no_data/impl/jest.config.js b/packages/shared-ux/page/no_data/impl/jest.config.js deleted file mode 100644 index b395326a60e66..0000000000000 --- a/packages/shared-ux/page/no_data/impl/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/packages/shared-ux/page/no_data/impl'], -}; diff --git a/packages/shared-ux/page/no_data_config/impl/jest.config.js b/packages/shared-ux/page/no_data_config/impl/jest.config.js deleted file mode 100644 index f207186b17d4f..0000000000000 --- a/packages/shared-ux/page/no_data_config/impl/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/packages/shared-ux/page/no_data_config/impl'], -}; diff --git a/packages/shared-ux/page/solution_nav/jest.config.js b/packages/shared-ux/page/solution_nav/jest.config.js deleted file mode 100644 index 3344c7b72f667..0000000000000 --- a/packages/shared-ux/page/solution_nav/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/shared-ux/page/solution_nav'], -}; diff --git a/packages/shared-ux/prompt/no_data_views/impl/jest.config.js b/packages/shared-ux/prompt/no_data_views/impl/jest.config.js deleted file mode 100644 index 4734ad0798904..0000000000000 --- a/packages/shared-ux/prompt/no_data_views/impl/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/packages/shared-ux/prompt/no_data_views'], -}; diff --git a/packages/shared-ux/prompt/not_found/jest.config.js b/packages/shared-ux/prompt/not_found/jest.config.js deleted file mode 100644 index 74a19c2b8c223..0000000000000 --- a/packages/shared-ux/prompt/not_found/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/shared-ux/prompt/not_found'], -}; diff --git a/packages/shared-ux/router/impl/jest.config.js b/packages/shared-ux/router/impl/jest.config.js deleted file mode 100644 index 31007b3305152..0000000000000 --- a/packages/shared-ux/router/impl/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/shared-ux/router/impl'], -}; diff --git a/packages/shared-ux/router/mocks/jest.config.js b/packages/shared-ux/router/mocks/jest.config.js deleted file mode 100644 index 137f15a0bfdbf..0000000000000 --- a/packages/shared-ux/router/mocks/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/shared-ux/router/mocks'], -}; diff --git a/packages/shared-ux/table_persist/jest.config.js b/packages/shared-ux/table_persist/jest.config.js deleted file mode 100644 index 0c5cf60724bac..0000000000000 --- a/packages/shared-ux/table_persist/jest.config.js +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the "Elastic License - * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side - * Public License v 1"; you may not use this file except in compliance with, at - * your election, the "Elastic License 2.0", the "GNU Affero General Public - * License v3.0 only", or the "Server Side Public License, v 1". - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/shared-ux/table_persist'], -}; diff --git a/src/dev/storybook/aliases.ts b/src/dev/storybook/aliases.ts index ab5664257c606..67ea3e1f38564 100644 --- a/src/dev/storybook/aliases.ts +++ b/src/dev/storybook/aliases.ts @@ -67,7 +67,7 @@ export const storybookAliases = { security_solution: 'x-pack/solutions/security/plugins/security_solution/.storybook', security_solution_packages: 'x-pack/solutions/security/packages/storybook/config', serverless: 'packages/serverless/storybook/config', - shared_ux: 'packages/shared-ux/storybook/config', + shared_ux: 'src/platform/packages/private/shared-ux/storybook/config', threat_intelligence: 'x-pack/solutions/security/plugins/threat_intelligence/.storybook', triggers_actions_ui: 'x-pack/platform/plugins/shared/triggers_actions_ui/.storybook', ui_actions_enhanced: 'src/platform/plugins/shared/ui_actions_enhanced/.storybook', diff --git a/src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel b/src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel index 612f7974f89f1..9224edbaba984 100644 --- a/src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel +++ b/src/platform/packages/private/kbn-ui-shared-deps-src/BUILD.bazel @@ -36,14 +36,14 @@ webpack_cli( "//src/platform/packages/shared/kbn-safer-lodash-set", "//packages/kbn-peggy", "//packages/kbn-peggy-loader", - "//packages/shared-ux/error_boundary", + "//src/platform/packages/shared/shared-ux/error_boundary", "//src/platform/packages/shared/kbn-rison", "//packages/shared-ux/code_editor/impl:code_editor", "//packages/react/kibana_context/common", "//packages/react/kibana_context/root", "//packages/react/kibana_context/render", "//packages/react/kibana_context/theme", - "//packages/shared-ux/router/impl:shared-ux-router", + "//src/platform/packages/shared/shared-ux/router/impl:shared-ux-router", ], output_dir = True, args = [ diff --git a/packages/shared-ux/page/analytics_no_data/impl/README.mdx b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/README.mdx similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/README.mdx rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/README.mdx diff --git a/packages/shared-ux/page/analytics_no_data/impl/index.ts b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/index.ts similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/index.ts rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/index.ts diff --git a/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/jest.config.js b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/jest.config.js new file mode 100644 index 0000000000000..8da1258aa1a57 --- /dev/null +++ b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: ['/src/platform/packages/private/shared-ux/page/analytics_no_data'], +}; diff --git a/packages/shared-ux/page/analytics_no_data/impl/kibana.jsonc b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/kibana.jsonc rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/kibana.jsonc diff --git a/packages/shared-ux/page/analytics_no_data/impl/lib/get_has_api_keys.test.ts b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/lib/get_has_api_keys.test.ts similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/lib/get_has_api_keys.test.ts rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/lib/get_has_api_keys.test.ts diff --git a/packages/shared-ux/page/analytics_no_data/impl/lib/get_has_api_keys.ts b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/lib/get_has_api_keys.ts similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/lib/get_has_api_keys.ts rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/lib/get_has_api_keys.ts diff --git a/packages/shared-ux/page/analytics_no_data/impl/package.json b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/package.json similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/package.json rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/package.json diff --git a/packages/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.component.test.tsx b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.component.test.tsx similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.component.test.tsx rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.component.test.tsx diff --git a/packages/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.component.tsx b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.component.tsx similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.component.tsx rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.component.tsx diff --git a/packages/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.stories.tsx b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.stories.tsx similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.stories.tsx rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.stories.tsx diff --git a/packages/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.test.tsx b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.test.tsx similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.test.tsx rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.test.tsx diff --git a/packages/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.tsx b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.tsx similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.tsx rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/analytics_no_data_page.tsx diff --git a/packages/shared-ux/page/analytics_no_data/impl/src/services.tsx b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/services.tsx similarity index 100% rename from packages/shared-ux/page/analytics_no_data/impl/src/services.tsx rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/src/services.tsx diff --git a/packages/shared-ux/page/analytics_no_data/impl/tsconfig.json b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/tsconfig.json similarity index 91% rename from packages/shared-ux/page/analytics_no_data/impl/tsconfig.json rename to src/platform/packages/private/shared-ux/page/analytics_no_data/impl/tsconfig.json index ba872e1ecd761..f2a33656d737e 100644 --- a/packages/shared-ux/page/analytics_no_data/impl/tsconfig.json +++ b/src/platform/packages/private/shared-ux/page/analytics_no_data/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/page/analytics_no_data/mocks/README.md b/src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/README.md similarity index 100% rename from packages/shared-ux/page/analytics_no_data/mocks/README.md rename to src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/README.md diff --git a/packages/shared-ux/page/analytics_no_data/mocks/index.ts b/src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/index.ts similarity index 100% rename from packages/shared-ux/page/analytics_no_data/mocks/index.ts rename to src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/index.ts diff --git a/packages/shared-ux/page/analytics_no_data/mocks/kibana.jsonc b/src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/analytics_no_data/mocks/kibana.jsonc rename to src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/kibana.jsonc diff --git a/packages/shared-ux/page/analytics_no_data/mocks/package.json b/src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/package.json similarity index 100% rename from packages/shared-ux/page/analytics_no_data/mocks/package.json rename to src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/package.json diff --git a/packages/shared-ux/page/analytics_no_data/mocks/src/jest.ts b/src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/src/jest.ts similarity index 100% rename from packages/shared-ux/page/analytics_no_data/mocks/src/jest.ts rename to src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/src/jest.ts diff --git a/packages/shared-ux/page/analytics_no_data/mocks/src/storybook.ts b/src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/src/storybook.ts similarity index 100% rename from packages/shared-ux/page/analytics_no_data/mocks/src/storybook.ts rename to src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/src/storybook.ts diff --git a/packages/shared-ux/page/analytics_no_data/mocks/tsconfig.json b/src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/tsconfig.json similarity index 85% rename from packages/shared-ux/page/analytics_no_data/mocks/tsconfig.json rename to src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/tsconfig.json index 7b0f91bbb706c..87eab59ad2004 100644 --- a/packages/shared-ux/page/analytics_no_data/mocks/tsconfig.json +++ b/src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/page/analytics_no_data/types/README.md b/src/platform/packages/private/shared-ux/page/analytics_no_data/types/README.md similarity index 100% rename from packages/shared-ux/page/analytics_no_data/types/README.md rename to src/platform/packages/private/shared-ux/page/analytics_no_data/types/README.md diff --git a/packages/shared-ux/page/analytics_no_data/types/index.d.ts b/src/platform/packages/private/shared-ux/page/analytics_no_data/types/index.d.ts similarity index 100% rename from packages/shared-ux/page/analytics_no_data/types/index.d.ts rename to src/platform/packages/private/shared-ux/page/analytics_no_data/types/index.d.ts diff --git a/packages/shared-ux/page/analytics_no_data/types/kibana.jsonc b/src/platform/packages/private/shared-ux/page/analytics_no_data/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/analytics_no_data/types/kibana.jsonc rename to src/platform/packages/private/shared-ux/page/analytics_no_data/types/kibana.jsonc diff --git a/packages/shared-ux/page/analytics_no_data/types/package.json b/src/platform/packages/private/shared-ux/page/analytics_no_data/types/package.json similarity index 100% rename from packages/shared-ux/page/analytics_no_data/types/package.json rename to src/platform/packages/private/shared-ux/page/analytics_no_data/types/package.json diff --git a/packages/shared-ux/page/analytics_no_data/types/tsconfig.json b/src/platform/packages/private/shared-ux/page/analytics_no_data/types/tsconfig.json similarity index 81% rename from packages/shared-ux/page/analytics_no_data/types/tsconfig.json rename to src/platform/packages/private/shared-ux/page/analytics_no_data/types/tsconfig.json index e46f95f52599b..3d44092ac061f 100644 --- a/packages/shared-ux/page/analytics_no_data/types/tsconfig.json +++ b/src/platform/packages/private/shared-ux/page/analytics_no_data/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/packages/shared-ux/page/kibana_no_data/impl/README.mdx b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/README.mdx similarity index 100% rename from packages/shared-ux/page/kibana_no_data/impl/README.mdx rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/README.mdx diff --git a/packages/shared-ux/page/kibana_no_data/impl/index.ts b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/index.ts similarity index 100% rename from packages/shared-ux/page/kibana_no_data/impl/index.ts rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/index.ts diff --git a/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/jest.config.js b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/jest.config.js new file mode 100644 index 0000000000000..7acce78f3264c --- /dev/null +++ b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: ['/src/platform/packages/private/shared-ux/page/kibana_no_data'], +}; diff --git a/packages/shared-ux/page/kibana_no_data/impl/kibana.jsonc b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/kibana_no_data/impl/kibana.jsonc rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/kibana.jsonc diff --git a/packages/shared-ux/page/kibana_no_data/impl/package.json b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/package.json similarity index 100% rename from packages/shared-ux/page/kibana_no_data/impl/package.json rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/package.json diff --git a/packages/shared-ux/page/kibana_no_data/impl/src/assets/data_view_illustration.tsx b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/assets/data_view_illustration.tsx similarity index 100% rename from packages/shared-ux/page/kibana_no_data/impl/src/assets/data_view_illustration.tsx rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/assets/data_view_illustration.tsx diff --git a/packages/shared-ux/page/kibana_no_data/impl/src/assets/index.ts b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/assets/index.ts similarity index 100% rename from packages/shared-ux/page/kibana_no_data/impl/src/assets/index.ts rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/assets/index.ts diff --git a/packages/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.stories.tsx b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.stories.tsx similarity index 100% rename from packages/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.stories.tsx rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.stories.tsx diff --git a/packages/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.test.tsx b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.test.tsx similarity index 100% rename from packages/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.test.tsx rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.test.tsx diff --git a/packages/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.tsx b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.tsx similarity index 100% rename from packages/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.tsx rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/kibana_no_data_page.tsx diff --git a/packages/shared-ux/page/kibana_no_data/impl/src/services.tsx b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/services.tsx similarity index 100% rename from packages/shared-ux/page/kibana_no_data/impl/src/services.tsx rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/src/services.tsx diff --git a/packages/shared-ux/page/kibana_no_data/impl/tsconfig.json b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/tsconfig.json similarity index 90% rename from packages/shared-ux/page/kibana_no_data/impl/tsconfig.json rename to src/platform/packages/private/shared-ux/page/kibana_no_data/impl/tsconfig.json index 8de16912b9e35..7559d42c20432 100644 --- a/packages/shared-ux/page/kibana_no_data/impl/tsconfig.json +++ b/src/platform/packages/private/shared-ux/page/kibana_no_data/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/page/kibana_no_data/mocks/README.md b/src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/README.md similarity index 100% rename from packages/shared-ux/page/kibana_no_data/mocks/README.md rename to src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/README.md diff --git a/packages/shared-ux/page/kibana_no_data/mocks/index.ts b/src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/index.ts similarity index 100% rename from packages/shared-ux/page/kibana_no_data/mocks/index.ts rename to src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/index.ts diff --git a/packages/shared-ux/page/kibana_no_data/mocks/kibana.jsonc b/src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/kibana_no_data/mocks/kibana.jsonc rename to src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/kibana.jsonc diff --git a/packages/shared-ux/page/kibana_no_data/mocks/package.json b/src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/package.json similarity index 100% rename from packages/shared-ux/page/kibana_no_data/mocks/package.json rename to src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/package.json diff --git a/packages/shared-ux/page/kibana_no_data/mocks/src/jest.ts b/src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/src/jest.ts similarity index 100% rename from packages/shared-ux/page/kibana_no_data/mocks/src/jest.ts rename to src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/src/jest.ts diff --git a/packages/shared-ux/page/kibana_no_data/mocks/src/storybook.ts b/src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/src/storybook.ts similarity index 100% rename from packages/shared-ux/page/kibana_no_data/mocks/src/storybook.ts rename to src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/src/storybook.ts diff --git a/packages/shared-ux/page/kibana_no_data/mocks/tsconfig.json b/src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/tsconfig.json similarity index 88% rename from packages/shared-ux/page/kibana_no_data/mocks/tsconfig.json rename to src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/tsconfig.json index 012849eca8ae5..867c824f86488 100644 --- a/packages/shared-ux/page/kibana_no_data/mocks/tsconfig.json +++ b/src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/page/kibana_no_data/types/README.md b/src/platform/packages/private/shared-ux/page/kibana_no_data/types/README.md similarity index 100% rename from packages/shared-ux/page/kibana_no_data/types/README.md rename to src/platform/packages/private/shared-ux/page/kibana_no_data/types/README.md diff --git a/packages/shared-ux/page/kibana_no_data/types/index.d.ts b/src/platform/packages/private/shared-ux/page/kibana_no_data/types/index.d.ts similarity index 100% rename from packages/shared-ux/page/kibana_no_data/types/index.d.ts rename to src/platform/packages/private/shared-ux/page/kibana_no_data/types/index.d.ts diff --git a/packages/shared-ux/page/kibana_no_data/types/kibana.jsonc b/src/platform/packages/private/shared-ux/page/kibana_no_data/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/kibana_no_data/types/kibana.jsonc rename to src/platform/packages/private/shared-ux/page/kibana_no_data/types/kibana.jsonc diff --git a/packages/shared-ux/page/kibana_no_data/types/package.json b/src/platform/packages/private/shared-ux/page/kibana_no_data/types/package.json similarity index 100% rename from packages/shared-ux/page/kibana_no_data/types/package.json rename to src/platform/packages/private/shared-ux/page/kibana_no_data/types/package.json diff --git a/packages/shared-ux/page/kibana_no_data/types/tsconfig.json b/src/platform/packages/private/shared-ux/page/kibana_no_data/types/tsconfig.json similarity index 83% rename from packages/shared-ux/page/kibana_no_data/types/tsconfig.json rename to src/platform/packages/private/shared-ux/page/kibana_no_data/types/tsconfig.json index f51e9bf3496fd..260d9bf5d2143 100644 --- a/packages/shared-ux/page/kibana_no_data/types/tsconfig.json +++ b/src/platform/packages/private/shared-ux/page/kibana_no_data/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/packages/shared-ux/storybook/config/README.mdx b/src/platform/packages/private/shared-ux/storybook/config/README.mdx similarity index 100% rename from packages/shared-ux/storybook/config/README.mdx rename to src/platform/packages/private/shared-ux/storybook/config/README.mdx diff --git a/packages/shared-ux/storybook/config/constants.ts b/src/platform/packages/private/shared-ux/storybook/config/constants.ts similarity index 100% rename from packages/shared-ux/storybook/config/constants.ts rename to src/platform/packages/private/shared-ux/storybook/config/constants.ts diff --git a/packages/shared-ux/storybook/config/index.ts b/src/platform/packages/private/shared-ux/storybook/config/index.ts similarity index 100% rename from packages/shared-ux/storybook/config/index.ts rename to src/platform/packages/private/shared-ux/storybook/config/index.ts diff --git a/packages/shared-ux/storybook/config/kibana.jsonc b/src/platform/packages/private/shared-ux/storybook/config/kibana.jsonc similarity index 100% rename from packages/shared-ux/storybook/config/kibana.jsonc rename to src/platform/packages/private/shared-ux/storybook/config/kibana.jsonc diff --git a/packages/shared-ux/storybook/config/main.ts b/src/platform/packages/private/shared-ux/storybook/config/main.ts similarity index 91% rename from packages/shared-ux/storybook/config/main.ts rename to src/platform/packages/private/shared-ux/storybook/config/main.ts index 5f521974bb959..7d145943c881d 100644 --- a/packages/shared-ux/storybook/config/main.ts +++ b/src/platform/packages/private/shared-ux/storybook/config/main.ts @@ -11,7 +11,7 @@ import { defaultConfig } from '@kbn/storybook'; module.exports = { ...defaultConfig, - stories: ['../../**/*.stories.+(tsx|mdx)'], + stories: ['../../../../../**/*.stories.+(tsx|mdx)'], reactOptions: { strictMode: true, }, diff --git a/packages/shared-ux/storybook/config/manager.ts b/src/platform/packages/private/shared-ux/storybook/config/manager.ts similarity index 100% rename from packages/shared-ux/storybook/config/manager.ts rename to src/platform/packages/private/shared-ux/storybook/config/manager.ts diff --git a/packages/shared-ux/storybook/config/package.json b/src/platform/packages/private/shared-ux/storybook/config/package.json similarity index 100% rename from packages/shared-ux/storybook/config/package.json rename to src/platform/packages/private/shared-ux/storybook/config/package.json diff --git a/packages/shared-ux/storybook/config/preview.ts b/src/platform/packages/private/shared-ux/storybook/config/preview.ts similarity index 100% rename from packages/shared-ux/storybook/config/preview.ts rename to src/platform/packages/private/shared-ux/storybook/config/preview.ts diff --git a/packages/shared-ux/storybook/config/tsconfig.json b/src/platform/packages/private/shared-ux/storybook/config/tsconfig.json similarity index 82% rename from packages/shared-ux/storybook/config/tsconfig.json rename to src/platform/packages/private/shared-ux/storybook/config/tsconfig.json index 7b41c512d4ef0..000520f05b0f0 100644 --- a/packages/shared-ux/storybook/config/tsconfig.json +++ b/src/platform/packages/private/shared-ux/storybook/config/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/kbn-shared-ux-utility/README.mdx b/src/platform/packages/shared/kbn-shared-ux-utility/README.mdx similarity index 100% rename from packages/kbn-shared-ux-utility/README.mdx rename to src/platform/packages/shared/kbn-shared-ux-utility/README.mdx diff --git a/packages/kbn-shared-ux-utility/index.ts b/src/platform/packages/shared/kbn-shared-ux-utility/index.ts similarity index 100% rename from packages/kbn-shared-ux-utility/index.ts rename to src/platform/packages/shared/kbn-shared-ux-utility/index.ts diff --git a/packages/shared-ux/file/file_picker/impl/jest.config.js b/src/platform/packages/shared/kbn-shared-ux-utility/jest.config.js similarity index 74% rename from packages/shared-ux/file/file_picker/impl/jest.config.js rename to src/platform/packages/shared/kbn-shared-ux-utility/jest.config.js index 84320266ff749..080b3b63cc859 100644 --- a/packages/shared-ux/file/file_picker/impl/jest.config.js +++ b/src/platform/packages/shared/kbn-shared-ux-utility/jest.config.js @@ -10,5 +10,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../..', - roots: ['/packages/shared-ux/file/file_picker/impl'], + roots: ['/src/platform/packages/shared/kbn-shared-ux-utility'], + setupFilesAfterEnv: [ + '/src/platform/packages/shared/kbn-shared-ux-utility/setup_tests.ts', + ], }; diff --git a/packages/kbn-shared-ux-utility/kibana.jsonc b/src/platform/packages/shared/kbn-shared-ux-utility/kibana.jsonc similarity index 100% rename from packages/kbn-shared-ux-utility/kibana.jsonc rename to src/platform/packages/shared/kbn-shared-ux-utility/kibana.jsonc diff --git a/packages/kbn-shared-ux-utility/package.json b/src/platform/packages/shared/kbn-shared-ux-utility/package.json similarity index 100% rename from packages/kbn-shared-ux-utility/package.json rename to src/platform/packages/shared/kbn-shared-ux-utility/package.json diff --git a/packages/kbn-shared-ux-utility/setup_tests.ts b/src/platform/packages/shared/kbn-shared-ux-utility/setup_tests.ts similarity index 100% rename from packages/kbn-shared-ux-utility/setup_tests.ts rename to src/platform/packages/shared/kbn-shared-ux-utility/setup_tests.ts diff --git a/packages/kbn-shared-ux-utility/src/dynamic/README.md b/src/platform/packages/shared/kbn-shared-ux-utility/src/dynamic/README.md similarity index 100% rename from packages/kbn-shared-ux-utility/src/dynamic/README.md rename to src/platform/packages/shared/kbn-shared-ux-utility/src/dynamic/README.md diff --git a/packages/kbn-shared-ux-utility/src/dynamic/dynamic.test.tsx b/src/platform/packages/shared/kbn-shared-ux-utility/src/dynamic/dynamic.test.tsx similarity index 100% rename from packages/kbn-shared-ux-utility/src/dynamic/dynamic.test.tsx rename to src/platform/packages/shared/kbn-shared-ux-utility/src/dynamic/dynamic.test.tsx diff --git a/packages/kbn-shared-ux-utility/src/dynamic/dynamic.tsx b/src/platform/packages/shared/kbn-shared-ux-utility/src/dynamic/dynamic.tsx similarity index 100% rename from packages/kbn-shared-ux-utility/src/dynamic/dynamic.tsx rename to src/platform/packages/shared/kbn-shared-ux-utility/src/dynamic/dynamic.tsx diff --git a/packages/kbn-shared-ux-utility/src/dynamic/index.ts b/src/platform/packages/shared/kbn-shared-ux-utility/src/dynamic/index.ts similarity index 100% rename from packages/kbn-shared-ux-utility/src/dynamic/index.ts rename to src/platform/packages/shared/kbn-shared-ux-utility/src/dynamic/index.ts diff --git a/packages/kbn-shared-ux-utility/src/dynamic/test_component.tsx b/src/platform/packages/shared/kbn-shared-ux-utility/src/dynamic/test_component.tsx similarity index 100% rename from packages/kbn-shared-ux-utility/src/dynamic/test_component.tsx rename to src/platform/packages/shared/kbn-shared-ux-utility/src/dynamic/test_component.tsx diff --git a/packages/kbn-shared-ux-utility/src/fallback.tsx b/src/platform/packages/shared/kbn-shared-ux-utility/src/fallback.tsx similarity index 100% rename from packages/kbn-shared-ux-utility/src/fallback.tsx rename to src/platform/packages/shared/kbn-shared-ux-utility/src/fallback.tsx diff --git a/packages/kbn-shared-ux-utility/src/utils.test.ts b/src/platform/packages/shared/kbn-shared-ux-utility/src/utils.test.ts similarity index 100% rename from packages/kbn-shared-ux-utility/src/utils.test.ts rename to src/platform/packages/shared/kbn-shared-ux-utility/src/utils.test.ts diff --git a/packages/kbn-shared-ux-utility/src/utils.ts b/src/platform/packages/shared/kbn-shared-ux-utility/src/utils.ts similarity index 100% rename from packages/kbn-shared-ux-utility/src/utils.ts rename to src/platform/packages/shared/kbn-shared-ux-utility/src/utils.ts diff --git a/packages/kbn-shared-ux-utility/src/with_suspense.tsx b/src/platform/packages/shared/kbn-shared-ux-utility/src/with_suspense.tsx similarity index 100% rename from packages/kbn-shared-ux-utility/src/with_suspense.tsx rename to src/platform/packages/shared/kbn-shared-ux-utility/src/with_suspense.tsx diff --git a/packages/kbn-shared-ux-utility/tsconfig.json b/src/platform/packages/shared/kbn-shared-ux-utility/tsconfig.json similarity index 87% rename from packages/kbn-shared-ux-utility/tsconfig.json rename to src/platform/packages/shared/kbn-shared-ux-utility/tsconfig.json index cd8716bf04d9b..deeb6e2973dc7 100644 --- a/packages/kbn-shared-ux-utility/tsconfig.json +++ b/src/platform/packages/shared/kbn-shared-ux-utility/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/avatar/solution/README.mdx b/src/platform/packages/shared/shared-ux/avatar/solution/README.mdx similarity index 100% rename from packages/shared-ux/avatar/solution/README.mdx rename to src/platform/packages/shared/shared-ux/avatar/solution/README.mdx diff --git a/packages/shared-ux/avatar/solution/index.tsx b/src/platform/packages/shared/shared-ux/avatar/solution/index.tsx similarity index 100% rename from packages/shared-ux/avatar/solution/index.tsx rename to src/platform/packages/shared/shared-ux/avatar/solution/index.tsx diff --git a/src/platform/packages/shared/shared-ux/avatar/solution/jest.config.js b/src/platform/packages/shared/shared-ux/avatar/solution/jest.config.js new file mode 100644 index 0000000000000..8bea7f4e1d4fb --- /dev/null +++ b/src/platform/packages/shared/shared-ux/avatar/solution/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/avatar/solution'], +}; diff --git a/packages/shared-ux/avatar/solution/kibana.jsonc b/src/platform/packages/shared/shared-ux/avatar/solution/kibana.jsonc similarity index 100% rename from packages/shared-ux/avatar/solution/kibana.jsonc rename to src/platform/packages/shared/shared-ux/avatar/solution/kibana.jsonc diff --git a/packages/shared-ux/avatar/solution/package.json b/src/platform/packages/shared/shared-ux/avatar/solution/package.json similarity index 100% rename from packages/shared-ux/avatar/solution/package.json rename to src/platform/packages/shared/shared-ux/avatar/solution/package.json diff --git a/packages/shared-ux/avatar/solution/src/__snapshots__/solution_avatar.test.tsx.snap b/src/platform/packages/shared/shared-ux/avatar/solution/src/__snapshots__/solution_avatar.test.tsx.snap similarity index 100% rename from packages/shared-ux/avatar/solution/src/__snapshots__/solution_avatar.test.tsx.snap rename to src/platform/packages/shared/shared-ux/avatar/solution/src/__snapshots__/solution_avatar.test.tsx.snap diff --git a/packages/shared-ux/avatar/solution/src/assets/texture.svg b/src/platform/packages/shared/shared-ux/avatar/solution/src/assets/texture.svg similarity index 100% rename from packages/shared-ux/avatar/solution/src/assets/texture.svg rename to src/platform/packages/shared/shared-ux/avatar/solution/src/assets/texture.svg diff --git a/packages/shared-ux/avatar/solution/src/solution_avatar.scss b/src/platform/packages/shared/shared-ux/avatar/solution/src/solution_avatar.scss similarity index 100% rename from packages/shared-ux/avatar/solution/src/solution_avatar.scss rename to src/platform/packages/shared/shared-ux/avatar/solution/src/solution_avatar.scss diff --git a/packages/shared-ux/avatar/solution/src/solution_avatar.stories.tsx b/src/platform/packages/shared/shared-ux/avatar/solution/src/solution_avatar.stories.tsx similarity index 100% rename from packages/shared-ux/avatar/solution/src/solution_avatar.stories.tsx rename to src/platform/packages/shared/shared-ux/avatar/solution/src/solution_avatar.stories.tsx diff --git a/packages/shared-ux/avatar/solution/src/solution_avatar.test.tsx b/src/platform/packages/shared/shared-ux/avatar/solution/src/solution_avatar.test.tsx similarity index 100% rename from packages/shared-ux/avatar/solution/src/solution_avatar.test.tsx rename to src/platform/packages/shared/shared-ux/avatar/solution/src/solution_avatar.test.tsx diff --git a/packages/shared-ux/avatar/solution/src/solution_avatar.tsx b/src/platform/packages/shared/shared-ux/avatar/solution/src/solution_avatar.tsx similarity index 100% rename from packages/shared-ux/avatar/solution/src/solution_avatar.tsx rename to src/platform/packages/shared/shared-ux/avatar/solution/src/solution_avatar.tsx diff --git a/packages/shared-ux/avatar/solution/src/types.ts b/src/platform/packages/shared/shared-ux/avatar/solution/src/types.ts similarity index 100% rename from packages/shared-ux/avatar/solution/src/types.ts rename to src/platform/packages/shared/shared-ux/avatar/solution/src/types.ts diff --git a/packages/shared-ux/avatar/solution/tsconfig.json b/src/platform/packages/shared/shared-ux/avatar/solution/tsconfig.json similarity index 82% rename from packages/shared-ux/avatar/solution/tsconfig.json rename to src/platform/packages/shared/shared-ux/avatar/solution/tsconfig.json index eecf3ed8f5afc..6a84ce65c2567 100644 --- a/packages/shared-ux/avatar/solution/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/avatar/solution/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/button/exit_full_screen/README.mdx b/src/platform/packages/shared/shared-ux/button/exit_full_screen/README.mdx similarity index 100% rename from packages/shared-ux/button/exit_full_screen/README.mdx rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/README.mdx diff --git a/packages/shared-ux/button/exit_full_screen/index.tsx b/src/platform/packages/shared/shared-ux/button/exit_full_screen/index.tsx similarity index 100% rename from packages/shared-ux/button/exit_full_screen/index.tsx rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/index.tsx diff --git a/src/platform/packages/shared/shared-ux/button/exit_full_screen/jest.config.js b/src/platform/packages/shared/shared-ux/button/exit_full_screen/jest.config.js new file mode 100644 index 0000000000000..3a1f3dbfb7029 --- /dev/null +++ b/src/platform/packages/shared/shared-ux/button/exit_full_screen/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/button/exit_full_screen'], +}; diff --git a/packages/shared-ux/button/exit_full_screen/kibana.jsonc b/src/platform/packages/shared/shared-ux/button/exit_full_screen/kibana.jsonc similarity index 84% rename from packages/shared-ux/button/exit_full_screen/kibana.jsonc rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/kibana.jsonc index c1878fd3ddc0a..f6a07dbcc7b0b 100644 --- a/packages/shared-ux/button/exit_full_screen/kibana.jsonc +++ b/src/platform/packages/shared/shared-ux/button/exit_full_screen/kibana.jsonc @@ -5,5 +5,5 @@ "@elastic/appex-sharedux" ], "group": "platform", - "visibility": "private" -} \ No newline at end of file + "visibility": "shared" +} diff --git a/packages/shared-ux/button/exit_full_screen/mocks/index.ts b/src/platform/packages/shared/shared-ux/button/exit_full_screen/mocks/index.ts similarity index 100% rename from packages/shared-ux/button/exit_full_screen/mocks/index.ts rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/mocks/index.ts diff --git a/packages/shared-ux/button/exit_full_screen/mocks/jest.ts b/src/platform/packages/shared/shared-ux/button/exit_full_screen/mocks/jest.ts similarity index 100% rename from packages/shared-ux/button/exit_full_screen/mocks/jest.ts rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/mocks/jest.ts diff --git a/packages/shared-ux/button/exit_full_screen/mocks/storybook.ts b/src/platform/packages/shared/shared-ux/button/exit_full_screen/mocks/storybook.ts similarity index 100% rename from packages/shared-ux/button/exit_full_screen/mocks/storybook.ts rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/mocks/storybook.ts diff --git a/packages/shared-ux/button/exit_full_screen/package.json b/src/platform/packages/shared/shared-ux/button/exit_full_screen/package.json similarity index 100% rename from packages/shared-ux/button/exit_full_screen/package.json rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/package.json diff --git a/packages/shared-ux/button/exit_full_screen/src/__snapshots__/exit_full_screen_button.test.tsx.snap b/src/platform/packages/shared/shared-ux/button/exit_full_screen/src/__snapshots__/exit_full_screen_button.test.tsx.snap similarity index 100% rename from packages/shared-ux/button/exit_full_screen/src/__snapshots__/exit_full_screen_button.test.tsx.snap rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/src/__snapshots__/exit_full_screen_button.test.tsx.snap diff --git a/packages/shared-ux/button/exit_full_screen/src/exit_full_screen_button.component.tsx b/src/platform/packages/shared/shared-ux/button/exit_full_screen/src/exit_full_screen_button.component.tsx similarity index 100% rename from packages/shared-ux/button/exit_full_screen/src/exit_full_screen_button.component.tsx rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/src/exit_full_screen_button.component.tsx diff --git a/packages/shared-ux/button/exit_full_screen/src/exit_full_screen_button.stories.tsx b/src/platform/packages/shared/shared-ux/button/exit_full_screen/src/exit_full_screen_button.stories.tsx similarity index 100% rename from packages/shared-ux/button/exit_full_screen/src/exit_full_screen_button.stories.tsx rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/src/exit_full_screen_button.stories.tsx diff --git a/packages/shared-ux/button/exit_full_screen/src/exit_full_screen_button.test.tsx b/src/platform/packages/shared/shared-ux/button/exit_full_screen/src/exit_full_screen_button.test.tsx similarity index 100% rename from packages/shared-ux/button/exit_full_screen/src/exit_full_screen_button.test.tsx rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/src/exit_full_screen_button.test.tsx diff --git a/packages/shared-ux/button/exit_full_screen/src/exit_full_screen_button.tsx b/src/platform/packages/shared/shared-ux/button/exit_full_screen/src/exit_full_screen_button.tsx similarity index 100% rename from packages/shared-ux/button/exit_full_screen/src/exit_full_screen_button.tsx rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/src/exit_full_screen_button.tsx diff --git a/packages/shared-ux/button/exit_full_screen/src/services.tsx b/src/platform/packages/shared/shared-ux/button/exit_full_screen/src/services.tsx similarity index 100% rename from packages/shared-ux/button/exit_full_screen/src/services.tsx rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/src/services.tsx diff --git a/packages/shared-ux/button/exit_full_screen/tsconfig.json b/src/platform/packages/shared/shared-ux/button/exit_full_screen/tsconfig.json similarity index 87% rename from packages/shared-ux/button/exit_full_screen/tsconfig.json rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/tsconfig.json index 0590172c5b3f1..ac3a271fc0e51 100644 --- a/packages/shared-ux/button/exit_full_screen/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/button/exit_full_screen/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/button/exit_full_screen/types.ts b/src/platform/packages/shared/shared-ux/button/exit_full_screen/types.ts similarity index 100% rename from packages/shared-ux/button/exit_full_screen/types.ts rename to src/platform/packages/shared/shared-ux/button/exit_full_screen/types.ts diff --git a/packages/shared-ux/button_toolbar/README.mdx b/src/platform/packages/shared/shared-ux/button_toolbar/README.mdx similarity index 100% rename from packages/shared-ux/button_toolbar/README.mdx rename to src/platform/packages/shared/shared-ux/button_toolbar/README.mdx diff --git a/packages/shared-ux/button_toolbar/index.ts b/src/platform/packages/shared/shared-ux/button_toolbar/index.ts similarity index 100% rename from packages/shared-ux/button_toolbar/index.ts rename to src/platform/packages/shared/shared-ux/button_toolbar/index.ts diff --git a/packages/shared-ux/button/exit_full_screen/jest.config.js b/src/platform/packages/shared/shared-ux/button_toolbar/jest.config.js similarity index 82% rename from packages/shared-ux/button/exit_full_screen/jest.config.js rename to src/platform/packages/shared/shared-ux/button_toolbar/jest.config.js index 6614b642a2d11..d0f0f82fab86e 100644 --- a/packages/shared-ux/button/exit_full_screen/jest.config.js +++ b/src/platform/packages/shared/shared-ux/button_toolbar/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/shared-ux/button/exit_full_screen'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/button_toolbar'], }; diff --git a/packages/shared-ux/button_toolbar/kibana.jsonc b/src/platform/packages/shared/shared-ux/button_toolbar/kibana.jsonc similarity index 100% rename from packages/shared-ux/button_toolbar/kibana.jsonc rename to src/platform/packages/shared/shared-ux/button_toolbar/kibana.jsonc diff --git a/packages/shared-ux/button_toolbar/package.json b/src/platform/packages/shared/shared-ux/button_toolbar/package.json similarity index 100% rename from packages/shared-ux/button_toolbar/package.json rename to src/platform/packages/shared/shared-ux/button_toolbar/package.json diff --git a/packages/shared-ux/button_toolbar/src/buttons/add_from_library/__snapshots__/add_from_library.test.tsx.snap b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/add_from_library/__snapshots__/add_from_library.test.tsx.snap similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/add_from_library/__snapshots__/add_from_library.test.tsx.snap rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/add_from_library/__snapshots__/add_from_library.test.tsx.snap diff --git a/packages/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.stories.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.stories.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.stories.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.stories.tsx diff --git a/packages/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.test.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.test.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.test.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.test.tsx diff --git a/packages/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/add_from_library/add_from_library.tsx diff --git a/packages/shared-ux/button_toolbar/src/buttons/add_from_library/index.ts b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/add_from_library/index.ts similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/add_from_library/index.ts rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/add_from_library/index.ts diff --git a/packages/shared-ux/button_toolbar/src/buttons/icon_button_group/__snapshots__/icon_button_group.test.tsx.snap b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/__snapshots__/icon_button_group.test.tsx.snap similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/icon_button_group/__snapshots__/icon_button_group.test.tsx.snap rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/__snapshots__/icon_button_group.test.tsx.snap diff --git a/packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.stories.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.stories.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.stories.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.stories.tsx diff --git a/packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.styles.ts b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.styles.ts similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.styles.ts rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.styles.ts diff --git a/packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.test.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.test.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.test.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.test.tsx diff --git a/packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/icon_button_group.tsx diff --git a/packages/shared-ux/button_toolbar/src/buttons/icon_button_group/index.ts b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/index.ts similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/icon_button_group/index.ts rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/icon_button_group/index.ts diff --git a/packages/shared-ux/button_toolbar/src/buttons/index.ts b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/index.ts similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/index.ts rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/index.ts diff --git a/packages/shared-ux/button_toolbar/src/buttons/toolbar_button/__snapshots__/toolbar_button.test.tsx.snap b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/__snapshots__/toolbar_button.test.tsx.snap similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/toolbar_button/__snapshots__/toolbar_button.test.tsx.snap rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/__snapshots__/toolbar_button.test.tsx.snap diff --git a/packages/shared-ux/button_toolbar/src/buttons/toolbar_button/index.ts b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/index.ts similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/toolbar_button/index.ts rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/index.ts diff --git a/packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.stories.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.stories.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.stories.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.stories.tsx diff --git a/packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.styles.ts b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.styles.ts similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.styles.ts rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.styles.ts diff --git a/packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.test.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.test.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.test.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.test.tsx diff --git a/packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/buttons/toolbar_button/toolbar_button.tsx diff --git a/packages/shared-ux/button_toolbar/src/popover/__snapshots__/popover.test.tsx.snap b/src/platform/packages/shared/shared-ux/button_toolbar/src/popover/__snapshots__/popover.test.tsx.snap similarity index 100% rename from packages/shared-ux/button_toolbar/src/popover/__snapshots__/popover.test.tsx.snap rename to src/platform/packages/shared/shared-ux/button_toolbar/src/popover/__snapshots__/popover.test.tsx.snap diff --git a/packages/shared-ux/button_toolbar/src/popover/index.ts b/src/platform/packages/shared/shared-ux/button_toolbar/src/popover/index.ts similarity index 100% rename from packages/shared-ux/button_toolbar/src/popover/index.ts rename to src/platform/packages/shared/shared-ux/button_toolbar/src/popover/index.ts diff --git a/packages/shared-ux/button_toolbar/src/popover/popover.mdx b/src/platform/packages/shared/shared-ux/button_toolbar/src/popover/popover.mdx similarity index 100% rename from packages/shared-ux/button_toolbar/src/popover/popover.mdx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/popover/popover.mdx diff --git a/packages/shared-ux/button_toolbar/src/popover/popover.stories.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/popover/popover.stories.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/popover/popover.stories.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/popover/popover.stories.tsx diff --git a/packages/shared-ux/button_toolbar/src/popover/popover.test.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/popover/popover.test.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/popover/popover.test.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/popover/popover.test.tsx diff --git a/packages/shared-ux/button_toolbar/src/popover/popover.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/popover/popover.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/popover/popover.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/popover/popover.tsx diff --git a/packages/shared-ux/button_toolbar/src/toolbar/__snapshots__/toolbar.test.tsx.snap b/src/platform/packages/shared/shared-ux/button_toolbar/src/toolbar/__snapshots__/toolbar.test.tsx.snap similarity index 100% rename from packages/shared-ux/button_toolbar/src/toolbar/__snapshots__/toolbar.test.tsx.snap rename to src/platform/packages/shared/shared-ux/button_toolbar/src/toolbar/__snapshots__/toolbar.test.tsx.snap diff --git a/packages/shared-ux/button_toolbar/src/toolbar/index.ts b/src/platform/packages/shared/shared-ux/button_toolbar/src/toolbar/index.ts similarity index 100% rename from packages/shared-ux/button_toolbar/src/toolbar/index.ts rename to src/platform/packages/shared/shared-ux/button_toolbar/src/toolbar/index.ts diff --git a/packages/shared-ux/button_toolbar/src/toolbar/toolbar.stories.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/toolbar/toolbar.stories.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/toolbar/toolbar.stories.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/toolbar/toolbar.stories.tsx diff --git a/packages/shared-ux/button_toolbar/src/toolbar/toolbar.test.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/toolbar/toolbar.test.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/toolbar/toolbar.test.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/toolbar/toolbar.test.tsx diff --git a/packages/shared-ux/button_toolbar/src/toolbar/toolbar.tsx b/src/platform/packages/shared/shared-ux/button_toolbar/src/toolbar/toolbar.tsx similarity index 100% rename from packages/shared-ux/button_toolbar/src/toolbar/toolbar.tsx rename to src/platform/packages/shared/shared-ux/button_toolbar/src/toolbar/toolbar.tsx diff --git a/packages/shared-ux/button_toolbar/tsconfig.json b/src/platform/packages/shared/shared-ux/button_toolbar/tsconfig.json similarity index 85% rename from packages/shared-ux/button_toolbar/tsconfig.json rename to src/platform/packages/shared/shared-ux/button_toolbar/tsconfig.json index 49ed962217ce3..2e25cbc2b680e 100644 --- a/packages/shared-ux/button_toolbar/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/button_toolbar/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/card/no_data/impl/README.mdx b/src/platform/packages/shared/shared-ux/card/no_data/impl/README.mdx similarity index 100% rename from packages/shared-ux/card/no_data/impl/README.mdx rename to src/platform/packages/shared/shared-ux/card/no_data/impl/README.mdx diff --git a/packages/shared-ux/card/no_data/impl/index.ts b/src/platform/packages/shared/shared-ux/card/no_data/impl/index.ts similarity index 100% rename from packages/shared-ux/card/no_data/impl/index.ts rename to src/platform/packages/shared/shared-ux/card/no_data/impl/index.ts diff --git a/src/platform/packages/shared/shared-ux/card/no_data/impl/jest.config.js b/src/platform/packages/shared/shared-ux/card/no_data/impl/jest.config.js new file mode 100644 index 0000000000000..7d0248fdd4a4d --- /dev/null +++ b/src/platform/packages/shared/shared-ux/card/no_data/impl/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/card/no_data'], +}; diff --git a/packages/shared-ux/card/no_data/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/card/no_data/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/card/no_data/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/card/no_data/impl/kibana.jsonc diff --git a/packages/shared-ux/card/no_data/impl/package.json b/src/platform/packages/shared/shared-ux/card/no_data/impl/package.json similarity index 100% rename from packages/shared-ux/card/no_data/impl/package.json rename to src/platform/packages/shared/shared-ux/card/no_data/impl/package.json diff --git a/packages/shared-ux/card/no_data/impl/src/__snapshots__/no_data_card.component.test.tsx.snap b/src/platform/packages/shared/shared-ux/card/no_data/impl/src/__snapshots__/no_data_card.component.test.tsx.snap similarity index 100% rename from packages/shared-ux/card/no_data/impl/src/__snapshots__/no_data_card.component.test.tsx.snap rename to src/platform/packages/shared/shared-ux/card/no_data/impl/src/__snapshots__/no_data_card.component.test.tsx.snap diff --git a/packages/shared-ux/card/no_data/impl/src/__snapshots__/no_data_card.test.tsx.snap b/src/platform/packages/shared/shared-ux/card/no_data/impl/src/__snapshots__/no_data_card.test.tsx.snap similarity index 100% rename from packages/shared-ux/card/no_data/impl/src/__snapshots__/no_data_card.test.tsx.snap rename to src/platform/packages/shared/shared-ux/card/no_data/impl/src/__snapshots__/no_data_card.test.tsx.snap diff --git a/packages/shared-ux/card/no_data/impl/src/assets/elastic_agent_card.svg b/src/platform/packages/shared/shared-ux/card/no_data/impl/src/assets/elastic_agent_card.svg similarity index 100% rename from packages/shared-ux/card/no_data/impl/src/assets/elastic_agent_card.svg rename to src/platform/packages/shared/shared-ux/card/no_data/impl/src/assets/elastic_agent_card.svg diff --git a/packages/shared-ux/card/no_data/impl/src/no_data_card.component.test.tsx b/src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.component.test.tsx similarity index 100% rename from packages/shared-ux/card/no_data/impl/src/no_data_card.component.test.tsx rename to src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.component.test.tsx diff --git a/packages/shared-ux/card/no_data/impl/src/no_data_card.component.tsx b/src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.component.tsx similarity index 100% rename from packages/shared-ux/card/no_data/impl/src/no_data_card.component.tsx rename to src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.component.tsx diff --git a/packages/shared-ux/card/no_data/impl/src/no_data_card.stories.tsx b/src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.stories.tsx similarity index 100% rename from packages/shared-ux/card/no_data/impl/src/no_data_card.stories.tsx rename to src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.stories.tsx diff --git a/packages/shared-ux/card/no_data/impl/src/no_data_card.styles.ts b/src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.styles.ts similarity index 100% rename from packages/shared-ux/card/no_data/impl/src/no_data_card.styles.ts rename to src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.styles.ts diff --git a/packages/shared-ux/card/no_data/impl/src/no_data_card.test.tsx b/src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.test.tsx similarity index 100% rename from packages/shared-ux/card/no_data/impl/src/no_data_card.test.tsx rename to src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.test.tsx diff --git a/packages/shared-ux/card/no_data/impl/src/no_data_card.tsx b/src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.tsx similarity index 100% rename from packages/shared-ux/card/no_data/impl/src/no_data_card.tsx rename to src/platform/packages/shared/shared-ux/card/no_data/impl/src/no_data_card.tsx diff --git a/packages/shared-ux/card/no_data/impl/src/services.tsx b/src/platform/packages/shared/shared-ux/card/no_data/impl/src/services.tsx similarity index 100% rename from packages/shared-ux/card/no_data/impl/src/services.tsx rename to src/platform/packages/shared/shared-ux/card/no_data/impl/src/services.tsx diff --git a/packages/shared-ux/card/no_data/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/card/no_data/impl/tsconfig.json similarity index 88% rename from packages/shared-ux/card/no_data/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/card/no_data/impl/tsconfig.json index cd9e401f45b02..13e89d6938d5d 100644 --- a/packages/shared-ux/card/no_data/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/card/no_data/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/card/no_data/mocks/README.md b/src/platform/packages/shared/shared-ux/card/no_data/mocks/README.md similarity index 100% rename from packages/shared-ux/card/no_data/mocks/README.md rename to src/platform/packages/shared/shared-ux/card/no_data/mocks/README.md diff --git a/packages/shared-ux/card/no_data/mocks/index.ts b/src/platform/packages/shared/shared-ux/card/no_data/mocks/index.ts similarity index 100% rename from packages/shared-ux/card/no_data/mocks/index.ts rename to src/platform/packages/shared/shared-ux/card/no_data/mocks/index.ts diff --git a/packages/shared-ux/card/no_data/mocks/kibana.jsonc b/src/platform/packages/shared/shared-ux/card/no_data/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/card/no_data/mocks/kibana.jsonc rename to src/platform/packages/shared/shared-ux/card/no_data/mocks/kibana.jsonc diff --git a/packages/shared-ux/card/no_data/mocks/package.json b/src/platform/packages/shared/shared-ux/card/no_data/mocks/package.json similarity index 100% rename from packages/shared-ux/card/no_data/mocks/package.json rename to src/platform/packages/shared/shared-ux/card/no_data/mocks/package.json diff --git a/packages/shared-ux/card/no_data/mocks/src/jest.ts b/src/platform/packages/shared/shared-ux/card/no_data/mocks/src/jest.ts similarity index 100% rename from packages/shared-ux/card/no_data/mocks/src/jest.ts rename to src/platform/packages/shared/shared-ux/card/no_data/mocks/src/jest.ts diff --git a/packages/shared-ux/card/no_data/mocks/src/storybook.ts b/src/platform/packages/shared/shared-ux/card/no_data/mocks/src/storybook.ts similarity index 100% rename from packages/shared-ux/card/no_data/mocks/src/storybook.ts rename to src/platform/packages/shared/shared-ux/card/no_data/mocks/src/storybook.ts diff --git a/packages/shared-ux/card/no_data/mocks/tsconfig.json b/src/platform/packages/shared/shared-ux/card/no_data/mocks/tsconfig.json similarity index 85% rename from packages/shared-ux/card/no_data/mocks/tsconfig.json rename to src/platform/packages/shared/shared-ux/card/no_data/mocks/tsconfig.json index 605636c685b22..c77f0782e6e10 100644 --- a/packages/shared-ux/card/no_data/mocks/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/card/no_data/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/card/no_data/types/README.md b/src/platform/packages/shared/shared-ux/card/no_data/types/README.md similarity index 100% rename from packages/shared-ux/card/no_data/types/README.md rename to src/platform/packages/shared/shared-ux/card/no_data/types/README.md diff --git a/packages/shared-ux/card/no_data/types/index.d.ts b/src/platform/packages/shared/shared-ux/card/no_data/types/index.d.ts similarity index 100% rename from packages/shared-ux/card/no_data/types/index.d.ts rename to src/platform/packages/shared/shared-ux/card/no_data/types/index.d.ts diff --git a/packages/shared-ux/card/no_data/types/kibana.jsonc b/src/platform/packages/shared/shared-ux/card/no_data/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/card/no_data/types/kibana.jsonc rename to src/platform/packages/shared/shared-ux/card/no_data/types/kibana.jsonc diff --git a/packages/shared-ux/card/no_data/types/package.json b/src/platform/packages/shared/shared-ux/card/no_data/types/package.json similarity index 100% rename from packages/shared-ux/card/no_data/types/package.json rename to src/platform/packages/shared/shared-ux/card/no_data/types/package.json diff --git a/packages/shared-ux/card/no_data/types/tsconfig.json b/src/platform/packages/shared/shared-ux/card/no_data/types/tsconfig.json similarity index 79% rename from packages/shared-ux/card/no_data/types/tsconfig.json rename to src/platform/packages/shared/shared-ux/card/no_data/types/tsconfig.json index 73edcc63080a5..fea147629e8db 100644 --- a/packages/shared-ux/card/no_data/types/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/card/no_data/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/packages/shared-ux/chrome/navigation/README.mdx b/src/platform/packages/shared/shared-ux/chrome/navigation/README.mdx similarity index 100% rename from packages/shared-ux/chrome/navigation/README.mdx rename to src/platform/packages/shared/shared-ux/chrome/navigation/README.mdx diff --git a/packages/shared-ux/chrome/navigation/__jest__/active_node.test.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/__jest__/active_node.test.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/__jest__/active_node.test.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/__jest__/active_node.test.tsx diff --git a/packages/shared-ux/chrome/navigation/__jest__/build_nav_tree.test.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/__jest__/build_nav_tree.test.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/__jest__/build_nav_tree.test.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/__jest__/build_nav_tree.test.tsx diff --git a/packages/shared-ux/chrome/navigation/__jest__/panel.test.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/__jest__/panel.test.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/__jest__/panel.test.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/__jest__/panel.test.tsx diff --git a/packages/shared-ux/chrome/navigation/__jest__/setup_jest_mocks.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/__jest__/setup_jest_mocks.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/__jest__/setup_jest_mocks.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/__jest__/setup_jest_mocks.ts diff --git a/packages/shared-ux/chrome/navigation/__jest__/utils.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/__jest__/utils.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/__jest__/utils.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/__jest__/utils.tsx diff --git a/packages/shared-ux/chrome/navigation/index.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/index.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/index.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/index.ts diff --git a/src/platform/packages/shared/shared-ux/chrome/navigation/jest.config.js b/src/platform/packages/shared/shared-ux/chrome/navigation/jest.config.js new file mode 100644 index 0000000000000..c8ca993f9377f --- /dev/null +++ b/src/platform/packages/shared/shared-ux/chrome/navigation/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/chrome/navigation'], +}; diff --git a/packages/shared-ux/chrome/navigation/kibana.jsonc b/src/platform/packages/shared/shared-ux/chrome/navigation/kibana.jsonc similarity index 100% rename from packages/shared-ux/chrome/navigation/kibana.jsonc rename to src/platform/packages/shared/shared-ux/chrome/navigation/kibana.jsonc diff --git a/packages/shared-ux/chrome/navigation/mocks/index.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/mocks/index.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/mocks/index.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/mocks/index.ts diff --git a/packages/shared-ux/chrome/navigation/mocks/storybook.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/mocks/storybook.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/mocks/storybook.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/mocks/storybook.ts diff --git a/packages/shared-ux/chrome/navigation/package.json b/src/platform/packages/shared/shared-ux/chrome/navigation/package.json similarity index 100% rename from packages/shared-ux/chrome/navigation/package.json rename to src/platform/packages/shared/shared-ux/chrome/navigation/package.json diff --git a/packages/shared-ux/chrome/navigation/src/analytics/event_tracker.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/analytics/event_tracker.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/analytics/event_tracker.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/analytics/event_tracker.ts diff --git a/packages/shared-ux/chrome/navigation/src/analytics/index.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/analytics/index.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/analytics/index.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/analytics/index.ts diff --git a/packages/shared-ux/chrome/navigation/src/services.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/services.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/services.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/services.tsx diff --git a/packages/shared-ux/chrome/navigation/src/types.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/types.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/types.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/types.ts diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/feedback_btn.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/feedback_btn.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/feedback_btn.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/feedback_btn.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/index.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/index.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/index.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/index.ts diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/navigation_item_open_panel.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/navigation_item_open_panel.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/navigation_item_open_panel.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/navigation_item_open_panel.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/navigation_section_ui.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/navigation_section_ui.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/navigation_section_ui.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/navigation_section_ui.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/panel/context.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/context.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/panel/context.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/context.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/panel/default_content.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/default_content.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/panel/default_content.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/default_content.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/panel/index.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/index.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/panel/index.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/index.ts diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/panel/label_badge.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/label_badge.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/panel/label_badge.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/label_badge.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/panel/navigation_panel.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/navigation_panel.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/panel/navigation_panel.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/navigation_panel.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/panel/panel_group.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/panel_group.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/panel/panel_group.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/panel_group.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/panel/panel_nav_item.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/panel_nav_item.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/panel/panel_nav_item.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/panel_nav_item.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/panel/panel_nav_item_label.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/panel_nav_item_label.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/panel/panel_nav_item_label.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/panel_nav_item_label.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/panel/styles.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/styles.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/panel/styles.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/styles.ts diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/panel/types.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/types.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/panel/types.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/panel/types.ts diff --git a/packages/shared-ux/chrome/navigation/src/ui/components/recently_accessed.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/recently_accessed.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/components/recently_accessed.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/components/recently_accessed.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/constants.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/constants.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/constants.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/constants.ts diff --git a/packages/shared-ux/chrome/navigation/src/ui/elastic_mark.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/elastic_mark.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/elastic_mark.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/elastic_mark.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/hooks/index.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/hooks/index.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/hooks/index.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/hooks/index.ts diff --git a/packages/shared-ux/chrome/navigation/src/ui/hooks/use_accordion_state.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/hooks/use_accordion_state.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/hooks/use_accordion_state.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/hooks/use_accordion_state.ts diff --git a/packages/shared-ux/chrome/navigation/src/ui/i18n_strings.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/i18n_strings.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/i18n_strings.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/i18n_strings.ts diff --git a/packages/shared-ux/chrome/navigation/src/ui/index.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/index.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/index.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/index.ts diff --git a/packages/shared-ux/chrome/navigation/src/ui/navigation.stories.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/navigation.stories.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/navigation.stories.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/navigation.stories.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/navigation.tsx b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/navigation.tsx similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/navigation.tsx rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/navigation.tsx diff --git a/packages/shared-ux/chrome/navigation/src/ui/types.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/types.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/ui/types.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/ui/types.ts diff --git a/packages/shared-ux/chrome/navigation/src/utils.test.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/utils.test.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/utils.test.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/utils.test.ts diff --git a/packages/shared-ux/chrome/navigation/src/utils.ts b/src/platform/packages/shared/shared-ux/chrome/navigation/src/utils.ts similarity index 100% rename from packages/shared-ux/chrome/navigation/src/utils.ts rename to src/platform/packages/shared/shared-ux/chrome/navigation/src/utils.ts diff --git a/packages/shared-ux/chrome/navigation/tsconfig.json b/src/platform/packages/shared/shared-ux/chrome/navigation/tsconfig.json similarity index 90% rename from packages/shared-ux/chrome/navigation/tsconfig.json rename to src/platform/packages/shared/shared-ux/chrome/navigation/tsconfig.json index 9936cc9f1b892..4fb4d92829f87 100644 --- a/packages/shared-ux/chrome/navigation/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/chrome/navigation/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/error_boundary/BUILD.bazel b/src/platform/packages/shared/shared-ux/error_boundary/BUILD.bazel similarity index 100% rename from packages/shared-ux/error_boundary/BUILD.bazel rename to src/platform/packages/shared/shared-ux/error_boundary/BUILD.bazel diff --git a/packages/shared-ux/error_boundary/README.mdx b/src/platform/packages/shared/shared-ux/error_boundary/README.mdx similarity index 100% rename from packages/shared-ux/error_boundary/README.mdx rename to src/platform/packages/shared/shared-ux/error_boundary/README.mdx diff --git a/packages/shared-ux/error_boundary/index.ts b/src/platform/packages/shared/shared-ux/error_boundary/index.ts similarity index 100% rename from packages/shared-ux/error_boundary/index.ts rename to src/platform/packages/shared/shared-ux/error_boundary/index.ts diff --git a/packages/shared-ux/avatar/solution/jest.config.js b/src/platform/packages/shared/shared-ux/error_boundary/jest.config.js similarity index 82% rename from packages/shared-ux/avatar/solution/jest.config.js rename to src/platform/packages/shared/shared-ux/error_boundary/jest.config.js index e8f11ad738a74..fe492bcc6cad7 100644 --- a/packages/shared-ux/avatar/solution/jest.config.js +++ b/src/platform/packages/shared/shared-ux/error_boundary/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/shared-ux/avatar/solution'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/error_boundary'], }; diff --git a/packages/shared-ux/error_boundary/kibana.jsonc b/src/platform/packages/shared/shared-ux/error_boundary/kibana.jsonc similarity index 100% rename from packages/shared-ux/error_boundary/kibana.jsonc rename to src/platform/packages/shared/shared-ux/error_boundary/kibana.jsonc diff --git a/packages/shared-ux/error_boundary/lib/telemetry_events.ts b/src/platform/packages/shared/shared-ux/error_boundary/lib/telemetry_events.ts similarity index 100% rename from packages/shared-ux/error_boundary/lib/telemetry_events.ts rename to src/platform/packages/shared/shared-ux/error_boundary/lib/telemetry_events.ts diff --git a/packages/shared-ux/error_boundary/mocks/index.ts b/src/platform/packages/shared/shared-ux/error_boundary/mocks/index.ts similarity index 100% rename from packages/shared-ux/error_boundary/mocks/index.ts rename to src/platform/packages/shared/shared-ux/error_boundary/mocks/index.ts diff --git a/packages/shared-ux/error_boundary/mocks/src/bad_component.tsx b/src/platform/packages/shared/shared-ux/error_boundary/mocks/src/bad_component.tsx similarity index 100% rename from packages/shared-ux/error_boundary/mocks/src/bad_component.tsx rename to src/platform/packages/shared/shared-ux/error_boundary/mocks/src/bad_component.tsx diff --git a/packages/shared-ux/error_boundary/mocks/src/chunk_load_error_component.tsx b/src/platform/packages/shared/shared-ux/error_boundary/mocks/src/chunk_load_error_component.tsx similarity index 100% rename from packages/shared-ux/error_boundary/mocks/src/chunk_load_error_component.tsx rename to src/platform/packages/shared/shared-ux/error_boundary/mocks/src/chunk_load_error_component.tsx diff --git a/packages/shared-ux/error_boundary/mocks/src/jest.ts b/src/platform/packages/shared/shared-ux/error_boundary/mocks/src/jest.ts similarity index 100% rename from packages/shared-ux/error_boundary/mocks/src/jest.ts rename to src/platform/packages/shared/shared-ux/error_boundary/mocks/src/jest.ts diff --git a/packages/shared-ux/error_boundary/mocks/src/storybook.ts b/src/platform/packages/shared/shared-ux/error_boundary/mocks/src/storybook.ts similarity index 100% rename from packages/shared-ux/error_boundary/mocks/src/storybook.ts rename to src/platform/packages/shared/shared-ux/error_boundary/mocks/src/storybook.ts diff --git a/packages/shared-ux/error_boundary/mocks/src/storybook_template.tsx b/src/platform/packages/shared/shared-ux/error_boundary/mocks/src/storybook_template.tsx similarity index 100% rename from packages/shared-ux/error_boundary/mocks/src/storybook_template.tsx rename to src/platform/packages/shared/shared-ux/error_boundary/mocks/src/storybook_template.tsx diff --git a/packages/shared-ux/error_boundary/package.json b/src/platform/packages/shared/shared-ux/error_boundary/package.json similarity index 100% rename from packages/shared-ux/error_boundary/package.json rename to src/platform/packages/shared/shared-ux/error_boundary/package.json diff --git a/packages/shared-ux/error_boundary/src/services/error_boundary_services.test.tsx b/src/platform/packages/shared/shared-ux/error_boundary/src/services/error_boundary_services.test.tsx similarity index 100% rename from packages/shared-ux/error_boundary/src/services/error_boundary_services.test.tsx rename to src/platform/packages/shared/shared-ux/error_boundary/src/services/error_boundary_services.test.tsx diff --git a/packages/shared-ux/error_boundary/src/services/error_boundary_services.tsx b/src/platform/packages/shared/shared-ux/error_boundary/src/services/error_boundary_services.tsx similarity index 100% rename from packages/shared-ux/error_boundary/src/services/error_boundary_services.tsx rename to src/platform/packages/shared/shared-ux/error_boundary/src/services/error_boundary_services.tsx diff --git a/packages/shared-ux/error_boundary/src/services/error_service.test.ts b/src/platform/packages/shared/shared-ux/error_boundary/src/services/error_service.test.ts similarity index 100% rename from packages/shared-ux/error_boundary/src/services/error_service.test.ts rename to src/platform/packages/shared/shared-ux/error_boundary/src/services/error_service.test.ts diff --git a/packages/shared-ux/error_boundary/src/services/error_service.ts b/src/platform/packages/shared/shared-ux/error_boundary/src/services/error_service.ts similarity index 100% rename from packages/shared-ux/error_boundary/src/services/error_service.ts rename to src/platform/packages/shared/shared-ux/error_boundary/src/services/error_service.ts diff --git a/packages/shared-ux/error_boundary/src/ui/error_boundary.fatal.stories.tsx b/src/platform/packages/shared/shared-ux/error_boundary/src/ui/error_boundary.fatal.stories.tsx similarity index 100% rename from packages/shared-ux/error_boundary/src/ui/error_boundary.fatal.stories.tsx rename to src/platform/packages/shared/shared-ux/error_boundary/src/ui/error_boundary.fatal.stories.tsx diff --git a/packages/shared-ux/error_boundary/src/ui/error_boundary.recoverable.stories.tsx b/src/platform/packages/shared/shared-ux/error_boundary/src/ui/error_boundary.recoverable.stories.tsx similarity index 100% rename from packages/shared-ux/error_boundary/src/ui/error_boundary.recoverable.stories.tsx rename to src/platform/packages/shared/shared-ux/error_boundary/src/ui/error_boundary.recoverable.stories.tsx diff --git a/packages/shared-ux/error_boundary/src/ui/error_boundary.test.tsx b/src/platform/packages/shared/shared-ux/error_boundary/src/ui/error_boundary.test.tsx similarity index 100% rename from packages/shared-ux/error_boundary/src/ui/error_boundary.test.tsx rename to src/platform/packages/shared/shared-ux/error_boundary/src/ui/error_boundary.test.tsx diff --git a/packages/shared-ux/error_boundary/src/ui/error_boundary.tsx b/src/platform/packages/shared/shared-ux/error_boundary/src/ui/error_boundary.tsx similarity index 100% rename from packages/shared-ux/error_boundary/src/ui/error_boundary.tsx rename to src/platform/packages/shared/shared-ux/error_boundary/src/ui/error_boundary.tsx diff --git a/packages/shared-ux/error_boundary/src/ui/message_components.tsx b/src/platform/packages/shared/shared-ux/error_boundary/src/ui/message_components.tsx similarity index 100% rename from packages/shared-ux/error_boundary/src/ui/message_components.tsx rename to src/platform/packages/shared/shared-ux/error_boundary/src/ui/message_components.tsx diff --git a/packages/shared-ux/error_boundary/src/ui/message_strings.ts b/src/platform/packages/shared/shared-ux/error_boundary/src/ui/message_strings.ts similarity index 100% rename from packages/shared-ux/error_boundary/src/ui/message_strings.ts rename to src/platform/packages/shared/shared-ux/error_boundary/src/ui/message_strings.ts diff --git a/packages/shared-ux/error_boundary/src/ui/throw_if_error.ts b/src/platform/packages/shared/shared-ux/error_boundary/src/ui/throw_if_error.ts similarity index 100% rename from packages/shared-ux/error_boundary/src/ui/throw_if_error.ts rename to src/platform/packages/shared/shared-ux/error_boundary/src/ui/throw_if_error.ts diff --git a/packages/shared-ux/error_boundary/tsconfig.json b/src/platform/packages/shared/shared-ux/error_boundary/tsconfig.json similarity index 89% rename from packages/shared-ux/error_boundary/tsconfig.json rename to src/platform/packages/shared/shared-ux/error_boundary/tsconfig.json index 74d3241c147fa..dcd42c82d16c7 100644 --- a/packages/shared-ux/error_boundary/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/error_boundary/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/error_boundary/types.ts b/src/platform/packages/shared/shared-ux/error_boundary/types.ts similarity index 100% rename from packages/shared-ux/error_boundary/types.ts rename to src/platform/packages/shared/shared-ux/error_boundary/types.ts diff --git a/packages/shared-ux/file/context/README.mdx b/src/platform/packages/shared/shared-ux/file/context/README.mdx similarity index 100% rename from packages/shared-ux/file/context/README.mdx rename to src/platform/packages/shared/shared-ux/file/context/README.mdx diff --git a/packages/shared-ux/file/context/index.ts b/src/platform/packages/shared/shared-ux/file/context/index.ts similarity index 100% rename from packages/shared-ux/file/context/index.ts rename to src/platform/packages/shared/shared-ux/file/context/index.ts diff --git a/packages/shared-ux/file/context/kibana.jsonc b/src/platform/packages/shared/shared-ux/file/context/kibana.jsonc similarity index 100% rename from packages/shared-ux/file/context/kibana.jsonc rename to src/platform/packages/shared/shared-ux/file/context/kibana.jsonc diff --git a/packages/shared-ux/file/context/package.json b/src/platform/packages/shared/shared-ux/file/context/package.json similarity index 100% rename from packages/shared-ux/file/context/package.json rename to src/platform/packages/shared/shared-ux/file/context/package.json diff --git a/packages/shared-ux/file/context/src/index.tsx b/src/platform/packages/shared/shared-ux/file/context/src/index.tsx similarity index 100% rename from packages/shared-ux/file/context/src/index.tsx rename to src/platform/packages/shared/shared-ux/file/context/src/index.tsx diff --git a/packages/shared-ux/file/context/tsconfig.json b/src/platform/packages/shared/shared-ux/file/context/tsconfig.json similarity index 80% rename from packages/shared-ux/file/context/tsconfig.json rename to src/platform/packages/shared/shared-ux/file/context/tsconfig.json index 3f5374f1300ff..521dfa3cc7d37 100644 --- a/packages/shared-ux/file/context/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/file/context/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ ] diff --git a/packages/shared-ux/file/file_picker/impl/README.mdx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/README.mdx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/README.mdx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/README.mdx diff --git a/packages/shared-ux/file/file_picker/impl/index.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/index.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/index.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/index.tsx diff --git a/src/platform/packages/shared/shared-ux/file/file_picker/impl/jest.config.js b/src/platform/packages/shared/shared-ux/file/file_picker/impl/jest.config.js new file mode 100644 index 0000000000000..9ede9fa3cd9e6 --- /dev/null +++ b/src/platform/packages/shared/shared-ux/file/file_picker/impl/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/file/file_picker/impl'], +}; diff --git a/packages/shared-ux/file/file_picker/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/file/file_picker/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/file/file_picker/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/kibana.jsonc diff --git a/packages/shared-ux/file/file_picker/impl/package.json b/src/platform/packages/shared/shared-ux/file/file_picker/impl/package.json similarity index 100% rename from packages/shared-ux/file/file_picker/impl/package.json rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/package.json diff --git a/packages/shared-ux/file/file_picker/impl/src/components/clear_filter_button.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/clear_filter_button.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/clear_filter_button.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/clear_filter_button.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/components/delete_prompt/delete_prompt.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/delete_prompt/delete_prompt.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/delete_prompt/delete_prompt.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/delete_prompt/delete_prompt.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/components/empty_prompt.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/empty_prompt.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/empty_prompt.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/empty_prompt.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/components/error_content.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/error_content.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/error_content.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/error_content.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/components/file_card.scss b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/file_card.scss similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/file_card.scss rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/file_card.scss diff --git a/packages/shared-ux/file/file_picker/impl/src/components/file_card.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/file_card.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/file_card.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/file_card.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/components/file_grid.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/file_grid.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/file_grid.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/file_grid.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/components/modal_footer.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/modal_footer.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/modal_footer.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/modal_footer.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/components/pagination.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/pagination.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/pagination.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/pagination.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/components/search_field.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/search_field.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/search_field.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/search_field.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/components/select_button.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/select_button.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/select_button.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/select_button.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/components/title.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/title.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/components/title.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/components/title.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/context.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/context.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/context.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/context.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/file_picker.stories.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/file_picker.stories.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/file_picker.stories.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/file_picker.stories.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/file_picker.test.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/file_picker.test.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/file_picker.test.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/file_picker.test.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/file_picker.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/file_picker.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/file_picker.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/file_picker.tsx diff --git a/packages/shared-ux/file/file_picker/impl/src/file_picker_state.test.ts b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/file_picker_state.test.ts similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/file_picker_state.test.ts rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/file_picker_state.test.ts diff --git a/packages/shared-ux/file/file_picker/impl/src/file_picker_state.ts b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/file_picker_state.ts similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/file_picker_state.ts rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/file_picker_state.ts diff --git a/packages/shared-ux/file/file_picker/impl/src/i18n_texts.ts b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/i18n_texts.ts similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/i18n_texts.ts rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/i18n_texts.ts diff --git a/packages/shared-ux/file/file_picker/impl/src/index.tsx b/src/platform/packages/shared/shared-ux/file/file_picker/impl/src/index.tsx similarity index 100% rename from packages/shared-ux/file/file_picker/impl/src/index.tsx rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/src/index.tsx diff --git a/packages/shared-ux/file/file_picker/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/file/file_picker/impl/tsconfig.json similarity index 90% rename from packages/shared-ux/file/file_picker/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/file/file_picker/impl/tsconfig.json index f9e92a6065f39..48f500ac09a6b 100644 --- a/packages/shared-ux/file/file_picker/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/file/file_picker/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/file/file_upload/impl/README.mdx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/README.mdx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/README.mdx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/README.mdx diff --git a/packages/shared-ux/file/file_upload/impl/index.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/index.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/index.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/index.tsx diff --git a/src/platform/packages/shared/shared-ux/file/file_upload/impl/jest.config.js b/src/platform/packages/shared/shared-ux/file/file_upload/impl/jest.config.js new file mode 100644 index 0000000000000..05ba3837f6e41 --- /dev/null +++ b/src/platform/packages/shared/shared-ux/file/file_upload/impl/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/file/file_upload/impl'], +}; diff --git a/packages/shared-ux/file/file_upload/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/file/file_upload/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/file/file_upload/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/kibana.jsonc diff --git a/packages/shared-ux/file/file_upload/impl/package.json b/src/platform/packages/shared/shared-ux/file/file_upload/impl/package.json similarity index 100% rename from packages/shared-ux/file/file_upload/impl/package.json rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/package.json diff --git a/packages/shared-ux/file/file_upload/impl/src/components/cancel_button.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/cancel_button.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/components/cancel_button.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/cancel_button.tsx diff --git a/packages/shared-ux/file/file_upload/impl/src/components/clear_button.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/clear_button.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/components/clear_button.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/clear_button.tsx diff --git a/packages/shared-ux/file/file_upload/impl/src/components/control_button.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/control_button.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/components/control_button.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/control_button.tsx diff --git a/packages/shared-ux/file/file_upload/impl/src/components/index.ts b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/index.ts similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/components/index.ts rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/index.ts diff --git a/packages/shared-ux/file/file_upload/impl/src/components/retry_button.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/retry_button.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/components/retry_button.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/retry_button.tsx diff --git a/packages/shared-ux/file/file_upload/impl/src/components/upload_button.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/upload_button.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/components/upload_button.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/components/upload_button.tsx diff --git a/packages/shared-ux/file/file_upload/impl/src/context.ts b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/context.ts similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/context.ts rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/context.ts diff --git a/packages/shared-ux/file/file_upload/impl/src/file_upload.component.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/file_upload.component.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/file_upload.component.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/file_upload.component.tsx diff --git a/packages/shared-ux/file/file_upload/impl/src/file_upload.stories.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/file_upload.stories.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/file_upload.stories.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/file_upload.stories.tsx diff --git a/packages/shared-ux/file/file_upload/impl/src/file_upload.test.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/file_upload.test.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/file_upload.test.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/file_upload.test.tsx diff --git a/packages/shared-ux/file/file_upload/impl/src/file_upload.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/file_upload.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/file_upload.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/file_upload.tsx diff --git a/packages/shared-ux/file/file_upload/impl/src/i18n_texts.ts b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/i18n_texts.ts similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/i18n_texts.ts rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/i18n_texts.ts diff --git a/packages/shared-ux/file/file_upload/impl/src/index.tsx b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/index.tsx similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/index.tsx rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/index.tsx diff --git a/packages/shared-ux/file/file_upload/impl/src/upload_state.test.ts b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/upload_state.test.ts similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/upload_state.test.ts rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/upload_state.test.ts diff --git a/packages/shared-ux/file/file_upload/impl/src/upload_state.ts b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/upload_state.ts similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/upload_state.ts rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/upload_state.ts diff --git a/packages/shared-ux/file/file_upload/impl/src/util/index.ts b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/util/index.ts similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/util/index.ts rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/util/index.ts diff --git a/packages/shared-ux/file/file_upload/impl/src/util/parse_file_name.test.ts b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/util/parse_file_name.test.ts similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/util/parse_file_name.test.ts rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/util/parse_file_name.test.ts diff --git a/packages/shared-ux/file/file_upload/impl/src/util/parse_file_name.ts b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/util/parse_file_name.ts similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/util/parse_file_name.ts rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/util/parse_file_name.ts diff --git a/packages/shared-ux/file/file_upload/impl/src/util/simple_state_subject.ts b/src/platform/packages/shared/shared-ux/file/file_upload/impl/src/util/simple_state_subject.ts similarity index 100% rename from packages/shared-ux/file/file_upload/impl/src/util/simple_state_subject.ts rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/src/util/simple_state_subject.ts diff --git a/packages/shared-ux/file/file_upload/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/file/file_upload/impl/tsconfig.json similarity index 89% rename from packages/shared-ux/file/file_upload/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/file/file_upload/impl/tsconfig.json index 81d7704f03f7b..e14ee2b1a0654 100644 --- a/packages/shared-ux/file/file_upload/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/file/file_upload/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/file/image/impl/README.mdx b/src/platform/packages/shared/shared-ux/file/image/impl/README.mdx similarity index 100% rename from packages/shared-ux/file/image/impl/README.mdx rename to src/platform/packages/shared/shared-ux/file/image/impl/README.mdx diff --git a/packages/shared-ux/file/image/impl/index.tsx b/src/platform/packages/shared/shared-ux/file/image/impl/index.tsx similarity index 100% rename from packages/shared-ux/file/image/impl/index.tsx rename to src/platform/packages/shared/shared-ux/file/image/impl/index.tsx diff --git a/packages/shared-ux/file/image/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/file/image/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/file/image/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/file/image/impl/kibana.jsonc diff --git a/packages/shared-ux/file/image/impl/package.json b/src/platform/packages/shared/shared-ux/file/image/impl/package.json similarity index 100% rename from packages/shared-ux/file/image/impl/package.json rename to src/platform/packages/shared/shared-ux/file/image/impl/package.json diff --git a/packages/shared-ux/file/image/impl/src/image.stories.tsx b/src/platform/packages/shared/shared-ux/file/image/impl/src/image.stories.tsx similarity index 100% rename from packages/shared-ux/file/image/impl/src/image.stories.tsx rename to src/platform/packages/shared/shared-ux/file/image/impl/src/image.stories.tsx diff --git a/packages/shared-ux/file/image/impl/src/image.tsx b/src/platform/packages/shared/shared-ux/file/image/impl/src/image.tsx similarity index 100% rename from packages/shared-ux/file/image/impl/src/image.tsx rename to src/platform/packages/shared/shared-ux/file/image/impl/src/image.tsx diff --git a/packages/shared-ux/file/image/impl/src/index.ts b/src/platform/packages/shared/shared-ux/file/image/impl/src/index.ts similarity index 100% rename from packages/shared-ux/file/image/impl/src/index.ts rename to src/platform/packages/shared/shared-ux/file/image/impl/src/index.ts diff --git a/packages/shared-ux/file/image/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/file/image/impl/tsconfig.json similarity index 85% rename from packages/shared-ux/file/image/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/file/image/impl/tsconfig.json index 5404f62040f0d..d464fb5126079 100644 --- a/packages/shared-ux/file/image/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/file/image/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/file/image/mocks/README.md b/src/platform/packages/shared/shared-ux/file/image/mocks/README.md similarity index 100% rename from packages/shared-ux/file/image/mocks/README.md rename to src/platform/packages/shared/shared-ux/file/image/mocks/README.md diff --git a/packages/shared-ux/file/image/mocks/index.ts b/src/platform/packages/shared/shared-ux/file/image/mocks/index.ts similarity index 100% rename from packages/shared-ux/file/image/mocks/index.ts rename to src/platform/packages/shared/shared-ux/file/image/mocks/index.ts diff --git a/packages/shared-ux/file/image/mocks/kibana.jsonc b/src/platform/packages/shared/shared-ux/file/image/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/file/image/mocks/kibana.jsonc rename to src/platform/packages/shared/shared-ux/file/image/mocks/kibana.jsonc diff --git a/packages/shared-ux/file/image/mocks/package.json b/src/platform/packages/shared/shared-ux/file/image/mocks/package.json similarity index 100% rename from packages/shared-ux/file/image/mocks/package.json rename to src/platform/packages/shared/shared-ux/file/image/mocks/package.json diff --git a/packages/shared-ux/file/image/mocks/src/index.ts b/src/platform/packages/shared/shared-ux/file/image/mocks/src/index.ts similarity index 100% rename from packages/shared-ux/file/image/mocks/src/index.ts rename to src/platform/packages/shared/shared-ux/file/image/mocks/src/index.ts diff --git a/packages/shared-ux/file/image/mocks/tsconfig.json b/src/platform/packages/shared/shared-ux/file/image/mocks/tsconfig.json similarity index 74% rename from packages/shared-ux/file/image/mocks/tsconfig.json rename to src/platform/packages/shared/shared-ux/file/image/mocks/tsconfig.json index db7f0738c6cfe..c7095560ca583 100644 --- a/packages/shared-ux/file/image/mocks/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/file/image/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/file/mocks/README.md b/src/platform/packages/shared/shared-ux/file/mocks/README.md similarity index 100% rename from packages/shared-ux/file/mocks/README.md rename to src/platform/packages/shared/shared-ux/file/mocks/README.md diff --git a/packages/shared-ux/file/mocks/index.ts b/src/platform/packages/shared/shared-ux/file/mocks/index.ts similarity index 100% rename from packages/shared-ux/file/mocks/index.ts rename to src/platform/packages/shared/shared-ux/file/mocks/index.ts diff --git a/packages/shared-ux/file/mocks/kibana.jsonc b/src/platform/packages/shared/shared-ux/file/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/file/mocks/kibana.jsonc rename to src/platform/packages/shared/shared-ux/file/mocks/kibana.jsonc diff --git a/packages/shared-ux/file/mocks/package.json b/src/platform/packages/shared/shared-ux/file/mocks/package.json similarity index 100% rename from packages/shared-ux/file/mocks/package.json rename to src/platform/packages/shared/shared-ux/file/mocks/package.json diff --git a/packages/shared-ux/file/mocks/tsconfig.json b/src/platform/packages/shared/shared-ux/file/mocks/tsconfig.json similarity index 81% rename from packages/shared-ux/file/mocks/tsconfig.json rename to src/platform/packages/shared/shared-ux/file/mocks/tsconfig.json index 677b4a7a9e2ae..0ce8d97ebb972 100644 --- a/packages/shared-ux/file/mocks/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/file/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ ] diff --git a/packages/shared-ux/file/types/README.md b/src/platform/packages/shared/shared-ux/file/types/README.md similarity index 100% rename from packages/shared-ux/file/types/README.md rename to src/platform/packages/shared/shared-ux/file/types/README.md diff --git a/packages/shared-ux/file/types/base_file_client.ts b/src/platform/packages/shared/shared-ux/file/types/base_file_client.ts similarity index 100% rename from packages/shared-ux/file/types/base_file_client.ts rename to src/platform/packages/shared/shared-ux/file/types/base_file_client.ts diff --git a/packages/shared-ux/file/types/index.ts b/src/platform/packages/shared/shared-ux/file/types/index.ts similarity index 100% rename from packages/shared-ux/file/types/index.ts rename to src/platform/packages/shared/shared-ux/file/types/index.ts diff --git a/packages/shared-ux/file/types/kibana.jsonc b/src/platform/packages/shared/shared-ux/file/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/file/types/kibana.jsonc rename to src/platform/packages/shared/shared-ux/file/types/kibana.jsonc diff --git a/packages/shared-ux/file/types/package.json b/src/platform/packages/shared/shared-ux/file/types/package.json similarity index 100% rename from packages/shared-ux/file/types/package.json rename to src/platform/packages/shared/shared-ux/file/types/package.json diff --git a/packages/shared-ux/file/types/sharing.ts b/src/platform/packages/shared/shared-ux/file/types/sharing.ts similarity index 100% rename from packages/shared-ux/file/types/sharing.ts rename to src/platform/packages/shared/shared-ux/file/types/sharing.ts diff --git a/packages/shared-ux/file/types/tsconfig.json b/src/platform/packages/shared/shared-ux/file/types/tsconfig.json similarity index 74% rename from packages/shared-ux/file/types/tsconfig.json rename to src/platform/packages/shared/shared-ux/file/types/tsconfig.json index fef75d832cab6..feeb09c03c64e 100644 --- a/packages/shared-ux/file/types/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/file/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/file/util/README.mdx b/src/platform/packages/shared/shared-ux/file/util/README.mdx similarity index 100% rename from packages/shared-ux/file/util/README.mdx rename to src/platform/packages/shared/shared-ux/file/util/README.mdx diff --git a/packages/shared-ux/file/util/index.ts b/src/platform/packages/shared/shared-ux/file/util/index.ts similarity index 100% rename from packages/shared-ux/file/util/index.ts rename to src/platform/packages/shared/shared-ux/file/util/index.ts diff --git a/packages/shared-ux/file/util/jest.config.js b/src/platform/packages/shared/shared-ux/file/util/jest.config.js similarity index 83% rename from packages/shared-ux/file/util/jest.config.js rename to src/platform/packages/shared/shared-ux/file/util/jest.config.js index c41058a208c07..03f2adc5da1d8 100644 --- a/packages/shared-ux/file/util/jest.config.js +++ b/src/platform/packages/shared/shared-ux/file/util/jest.config.js @@ -9,7 +9,7 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../..', - roots: ['/packages/shared-ux/file/util'], + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/file/util'], verbose: true, }; diff --git a/packages/shared-ux/file/util/kibana.jsonc b/src/platform/packages/shared/shared-ux/file/util/kibana.jsonc similarity index 100% rename from packages/shared-ux/file/util/kibana.jsonc rename to src/platform/packages/shared/shared-ux/file/util/kibana.jsonc diff --git a/packages/shared-ux/file/util/package.json b/src/platform/packages/shared/shared-ux/file/util/package.json similarity index 100% rename from packages/shared-ux/file/util/package.json rename to src/platform/packages/shared/shared-ux/file/util/package.json diff --git a/packages/shared-ux/file/util/src/image_metadata.test.ts b/src/platform/packages/shared/shared-ux/file/util/src/image_metadata.test.ts similarity index 100% rename from packages/shared-ux/file/util/src/image_metadata.test.ts rename to src/platform/packages/shared/shared-ux/file/util/src/image_metadata.test.ts diff --git a/packages/shared-ux/file/util/src/image_metadata.ts b/src/platform/packages/shared/shared-ux/file/util/src/image_metadata.ts similarity index 100% rename from packages/shared-ux/file/util/src/image_metadata.ts rename to src/platform/packages/shared/shared-ux/file/util/src/image_metadata.ts diff --git a/packages/shared-ux/file/util/src/index.ts b/src/platform/packages/shared/shared-ux/file/util/src/index.ts similarity index 100% rename from packages/shared-ux/file/util/src/index.ts rename to src/platform/packages/shared/shared-ux/file/util/src/index.ts diff --git a/packages/shared-ux/file/util/src/use_behavior_subject.ts b/src/platform/packages/shared/shared-ux/file/util/src/use_behavior_subject.ts similarity index 100% rename from packages/shared-ux/file/util/src/use_behavior_subject.ts rename to src/platform/packages/shared/shared-ux/file/util/src/use_behavior_subject.ts diff --git a/packages/shared-ux/file/util/tsconfig.json b/src/platform/packages/shared/shared-ux/file/util/tsconfig.json similarity index 82% rename from packages/shared-ux/file/util/tsconfig.json rename to src/platform/packages/shared/shared-ux/file/util/tsconfig.json index dd3e7075a6a89..dfc5f4bc76e03 100644 --- a/packages/shared-ux/file/util/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/file/util/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/link/redirect_app/impl/README.mdx b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/README.mdx similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/README.mdx rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/README.mdx diff --git a/packages/shared-ux/link/redirect_app/impl/index.tsx b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/index.tsx similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/index.tsx rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/index.tsx diff --git a/packages/shared-ux/link/redirect_app/impl/jest.config.js b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/jest.config.js similarity index 81% rename from packages/shared-ux/link/redirect_app/impl/jest.config.js rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/jest.config.js index a74c2e7a9845e..187a4e6feedbc 100644 --- a/packages/shared-ux/link/redirect_app/impl/jest.config.js +++ b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/jest.config.js @@ -9,7 +9,7 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/packages/shared-ux/link/redirect_app'], + rootDir: '../../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/link/redirect_app'], verbose: true, }; diff --git a/packages/shared-ux/link/redirect_app/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/kibana.jsonc diff --git a/packages/shared-ux/link/redirect_app/impl/package.json b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/package.json similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/package.json rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/package.json diff --git a/packages/shared-ux/link/redirect_app/impl/src/click_handler.test.ts b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/click_handler.test.ts similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/src/click_handler.test.ts rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/click_handler.test.ts diff --git a/packages/shared-ux/link/redirect_app/impl/src/click_handler.ts b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/click_handler.ts similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/src/click_handler.ts rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/click_handler.ts diff --git a/packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.component.tsx b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.component.tsx similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.component.tsx rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.component.tsx diff --git a/packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.container.tsx b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.container.tsx similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.container.tsx rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.container.tsx diff --git a/packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.stories.tsx b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.stories.tsx similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.stories.tsx rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.stories.tsx diff --git a/packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.styles.ts b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.styles.ts similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.styles.ts rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.styles.ts diff --git a/packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.test.tsx b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.test.tsx similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.test.tsx rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.test.tsx diff --git a/packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.tsx b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.tsx similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/src/redirect_app_links.tsx rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/redirect_app_links.tsx diff --git a/packages/shared-ux/link/redirect_app/impl/src/services.tsx b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/services.tsx similarity index 100% rename from packages/shared-ux/link/redirect_app/impl/src/services.tsx rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/src/services.tsx diff --git a/packages/shared-ux/link/redirect_app/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/tsconfig.json similarity index 88% rename from packages/shared-ux/link/redirect_app/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/link/redirect_app/impl/tsconfig.json index 0b564979c2b9e..c3d9da4d0db41 100644 --- a/packages/shared-ux/link/redirect_app/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/link/redirect_app/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/link/redirect_app/mocks/README.md b/src/platform/packages/shared/shared-ux/link/redirect_app/mocks/README.md similarity index 100% rename from packages/shared-ux/link/redirect_app/mocks/README.md rename to src/platform/packages/shared/shared-ux/link/redirect_app/mocks/README.md diff --git a/packages/shared-ux/link/redirect_app/mocks/index.ts b/src/platform/packages/shared/shared-ux/link/redirect_app/mocks/index.ts similarity index 100% rename from packages/shared-ux/link/redirect_app/mocks/index.ts rename to src/platform/packages/shared/shared-ux/link/redirect_app/mocks/index.ts diff --git a/packages/shared-ux/link/redirect_app/mocks/kibana.jsonc b/src/platform/packages/shared/shared-ux/link/redirect_app/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/link/redirect_app/mocks/kibana.jsonc rename to src/platform/packages/shared/shared-ux/link/redirect_app/mocks/kibana.jsonc diff --git a/packages/shared-ux/link/redirect_app/mocks/package.json b/src/platform/packages/shared/shared-ux/link/redirect_app/mocks/package.json similarity index 100% rename from packages/shared-ux/link/redirect_app/mocks/package.json rename to src/platform/packages/shared/shared-ux/link/redirect_app/mocks/package.json diff --git a/packages/shared-ux/link/redirect_app/mocks/src/jest.ts b/src/platform/packages/shared/shared-ux/link/redirect_app/mocks/src/jest.ts similarity index 100% rename from packages/shared-ux/link/redirect_app/mocks/src/jest.ts rename to src/platform/packages/shared/shared-ux/link/redirect_app/mocks/src/jest.ts diff --git a/packages/shared-ux/link/redirect_app/mocks/src/storybook.ts b/src/platform/packages/shared/shared-ux/link/redirect_app/mocks/src/storybook.ts similarity index 100% rename from packages/shared-ux/link/redirect_app/mocks/src/storybook.ts rename to src/platform/packages/shared/shared-ux/link/redirect_app/mocks/src/storybook.ts diff --git a/packages/shared-ux/link/redirect_app/mocks/tsconfig.json b/src/platform/packages/shared/shared-ux/link/redirect_app/mocks/tsconfig.json similarity index 83% rename from packages/shared-ux/link/redirect_app/mocks/tsconfig.json rename to src/platform/packages/shared/shared-ux/link/redirect_app/mocks/tsconfig.json index e1d633ba8896a..4b06abddaf81a 100644 --- a/packages/shared-ux/link/redirect_app/mocks/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/link/redirect_app/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/link/redirect_app/types/README.md b/src/platform/packages/shared/shared-ux/link/redirect_app/types/README.md similarity index 100% rename from packages/shared-ux/link/redirect_app/types/README.md rename to src/platform/packages/shared/shared-ux/link/redirect_app/types/README.md diff --git a/packages/shared-ux/link/redirect_app/types/index.d.ts b/src/platform/packages/shared/shared-ux/link/redirect_app/types/index.d.ts similarity index 100% rename from packages/shared-ux/link/redirect_app/types/index.d.ts rename to src/platform/packages/shared/shared-ux/link/redirect_app/types/index.d.ts diff --git a/packages/shared-ux/link/redirect_app/types/kibana.jsonc b/src/platform/packages/shared/shared-ux/link/redirect_app/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/link/redirect_app/types/kibana.jsonc rename to src/platform/packages/shared/shared-ux/link/redirect_app/types/kibana.jsonc diff --git a/packages/shared-ux/link/redirect_app/types/package.json b/src/platform/packages/shared/shared-ux/link/redirect_app/types/package.json similarity index 100% rename from packages/shared-ux/link/redirect_app/types/package.json rename to src/platform/packages/shared/shared-ux/link/redirect_app/types/package.json diff --git a/packages/shared-ux/link/redirect_app/types/tsconfig.json b/src/platform/packages/shared/shared-ux/link/redirect_app/types/tsconfig.json similarity index 76% rename from packages/shared-ux/link/redirect_app/types/tsconfig.json rename to src/platform/packages/shared/shared-ux/link/redirect_app/types/tsconfig.json index fc981ba49dd7e..670963293a3ee 100644 --- a/packages/shared-ux/link/redirect_app/types/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/link/redirect_app/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/markdown/impl/README.mdx b/src/platform/packages/shared/shared-ux/markdown/impl/README.mdx similarity index 100% rename from packages/shared-ux/markdown/impl/README.mdx rename to src/platform/packages/shared/shared-ux/markdown/impl/README.mdx diff --git a/packages/shared-ux/markdown/impl/index.ts b/src/platform/packages/shared/shared-ux/markdown/impl/index.ts similarity index 100% rename from packages/shared-ux/markdown/impl/index.ts rename to src/platform/packages/shared/shared-ux/markdown/impl/index.ts diff --git a/packages/kbn-shared-ux-utility/jest.config.js b/src/platform/packages/shared/shared-ux/markdown/impl/jest.config.js similarity index 69% rename from packages/kbn-shared-ux-utility/jest.config.js rename to src/platform/packages/shared/shared-ux/markdown/impl/jest.config.js index 96e07429cae5e..4955a9b45dcfe 100644 --- a/packages/kbn-shared-ux-utility/jest.config.js +++ b/src/platform/packages/shared/shared-ux/markdown/impl/jest.config.js @@ -9,7 +9,9 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-shared-ux-utility'], - setupFilesAfterEnv: ['/packages/kbn-shared-ux-utility/setup_tests.ts'], + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/markdown/impl'], + setupFilesAfterEnv: [ + '/src/platform/packages/shared/shared-ux/markdown/impl/setup_tests.ts', + ], }; diff --git a/packages/shared-ux/markdown/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/markdown/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/markdown/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/markdown/impl/kibana.jsonc diff --git a/packages/shared-ux/markdown/impl/markdown.test.tsx b/src/platform/packages/shared/shared-ux/markdown/impl/markdown.test.tsx similarity index 100% rename from packages/shared-ux/markdown/impl/markdown.test.tsx rename to src/platform/packages/shared/shared-ux/markdown/impl/markdown.test.tsx diff --git a/packages/shared-ux/markdown/impl/markdown.tsx b/src/platform/packages/shared/shared-ux/markdown/impl/markdown.tsx similarity index 100% rename from packages/shared-ux/markdown/impl/markdown.tsx rename to src/platform/packages/shared/shared-ux/markdown/impl/markdown.tsx diff --git a/packages/shared-ux/markdown/impl/markdown_editor.stories.tsx b/src/platform/packages/shared/shared-ux/markdown/impl/markdown_editor.stories.tsx similarity index 100% rename from packages/shared-ux/markdown/impl/markdown_editor.stories.tsx rename to src/platform/packages/shared/shared-ux/markdown/impl/markdown_editor.stories.tsx diff --git a/packages/shared-ux/markdown/impl/markdown_format.stories.tsx b/src/platform/packages/shared/shared-ux/markdown/impl/markdown_format.stories.tsx similarity index 100% rename from packages/shared-ux/markdown/impl/markdown_format.stories.tsx rename to src/platform/packages/shared/shared-ux/markdown/impl/markdown_format.stories.tsx diff --git a/packages/shared-ux/markdown/impl/package.json b/src/platform/packages/shared/shared-ux/markdown/impl/package.json similarity index 100% rename from packages/shared-ux/markdown/impl/package.json rename to src/platform/packages/shared/shared-ux/markdown/impl/package.json diff --git a/packages/shared-ux/markdown/impl/setup_tests.ts b/src/platform/packages/shared/shared-ux/markdown/impl/setup_tests.ts similarity index 100% rename from packages/shared-ux/markdown/impl/setup_tests.ts rename to src/platform/packages/shared/shared-ux/markdown/impl/setup_tests.ts diff --git a/packages/shared-ux/markdown/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/markdown/impl/tsconfig.json similarity index 84% rename from packages/shared-ux/markdown/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/markdown/impl/tsconfig.json index a17b7a69317e1..0fc80db983460 100644 --- a/packages/shared-ux/markdown/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/markdown/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/markdown/mocks/README.md b/src/platform/packages/shared/shared-ux/markdown/mocks/README.md similarity index 100% rename from packages/shared-ux/markdown/mocks/README.md rename to src/platform/packages/shared/shared-ux/markdown/mocks/README.md diff --git a/packages/shared-ux/markdown/mocks/index.ts b/src/platform/packages/shared/shared-ux/markdown/mocks/index.ts similarity index 100% rename from packages/shared-ux/markdown/mocks/index.ts rename to src/platform/packages/shared/shared-ux/markdown/mocks/index.ts diff --git a/packages/shared-ux/markdown/mocks/kibana.jsonc b/src/platform/packages/shared/shared-ux/markdown/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/markdown/mocks/kibana.jsonc rename to src/platform/packages/shared/shared-ux/markdown/mocks/kibana.jsonc diff --git a/packages/shared-ux/markdown/mocks/package.json b/src/platform/packages/shared/shared-ux/markdown/mocks/package.json similarity index 100% rename from packages/shared-ux/markdown/mocks/package.json rename to src/platform/packages/shared/shared-ux/markdown/mocks/package.json diff --git a/packages/shared-ux/markdown/mocks/storybook.ts b/src/platform/packages/shared/shared-ux/markdown/mocks/storybook.ts similarity index 100% rename from packages/shared-ux/markdown/mocks/storybook.ts rename to src/platform/packages/shared/shared-ux/markdown/mocks/storybook.ts diff --git a/packages/shared-ux/markdown/mocks/tsconfig.json b/src/platform/packages/shared/shared-ux/markdown/mocks/tsconfig.json similarity index 83% rename from packages/shared-ux/markdown/mocks/tsconfig.json rename to src/platform/packages/shared/shared-ux/markdown/mocks/tsconfig.json index 2fe699abba9f1..5f0286a339bd7 100644 --- a/packages/shared-ux/markdown/mocks/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/markdown/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/markdown/types/README.md b/src/platform/packages/shared/shared-ux/markdown/types/README.md similarity index 100% rename from packages/shared-ux/markdown/types/README.md rename to src/platform/packages/shared/shared-ux/markdown/types/README.md diff --git a/packages/shared-ux/markdown/types/index.d.ts b/src/platform/packages/shared/shared-ux/markdown/types/index.d.ts similarity index 100% rename from packages/shared-ux/markdown/types/index.d.ts rename to src/platform/packages/shared/shared-ux/markdown/types/index.d.ts diff --git a/packages/shared-ux/markdown/types/kibana.jsonc b/src/platform/packages/shared/shared-ux/markdown/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/markdown/types/kibana.jsonc rename to src/platform/packages/shared/shared-ux/markdown/types/kibana.jsonc diff --git a/packages/shared-ux/markdown/types/package.json b/src/platform/packages/shared/shared-ux/markdown/types/package.json similarity index 100% rename from packages/shared-ux/markdown/types/package.json rename to src/platform/packages/shared/shared-ux/markdown/types/package.json diff --git a/packages/shared-ux/markdown/types/tsconfig.json b/src/platform/packages/shared/shared-ux/markdown/types/tsconfig.json similarity index 77% rename from packages/shared-ux/markdown/types/tsconfig.json rename to src/platform/packages/shared/shared-ux/markdown/types/tsconfig.json index 078865843e593..64ec4df40c82e 100644 --- a/packages/shared-ux/markdown/types/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/markdown/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/modal/tabbed/README.mdx b/src/platform/packages/shared/shared-ux/modal/tabbed/README.mdx similarity index 100% rename from packages/shared-ux/modal/tabbed/README.mdx rename to src/platform/packages/shared/shared-ux/modal/tabbed/README.mdx diff --git a/packages/shared-ux/modal/tabbed/index.tsx b/src/platform/packages/shared/shared-ux/modal/tabbed/index.tsx similarity index 100% rename from packages/shared-ux/modal/tabbed/index.tsx rename to src/platform/packages/shared/shared-ux/modal/tabbed/index.tsx diff --git a/src/platform/packages/shared/shared-ux/modal/tabbed/jest.config.js b/src/platform/packages/shared/shared-ux/modal/tabbed/jest.config.js new file mode 100644 index 0000000000000..ba6cf69faad7e --- /dev/null +++ b/src/platform/packages/shared/shared-ux/modal/tabbed/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/modal/tabbed'], +}; diff --git a/packages/shared-ux/modal/tabbed/kibana.jsonc b/src/platform/packages/shared/shared-ux/modal/tabbed/kibana.jsonc similarity index 83% rename from packages/shared-ux/modal/tabbed/kibana.jsonc rename to src/platform/packages/shared/shared-ux/modal/tabbed/kibana.jsonc index a81399f0f8a2e..3e44e48d95067 100644 --- a/packages/shared-ux/modal/tabbed/kibana.jsonc +++ b/src/platform/packages/shared/shared-ux/modal/tabbed/kibana.jsonc @@ -5,5 +5,5 @@ "@elastic/appex-sharedux" ], "group": "platform", - "visibility": "private" -} \ No newline at end of file + "visibility": "shared" +} diff --git a/packages/shared-ux/modal/tabbed/package.json b/src/platform/packages/shared/shared-ux/modal/tabbed/package.json similarity index 100% rename from packages/shared-ux/modal/tabbed/package.json rename to src/platform/packages/shared/shared-ux/modal/tabbed/package.json diff --git a/packages/shared-ux/modal/tabbed/src/context/index.test.tsx b/src/platform/packages/shared/shared-ux/modal/tabbed/src/context/index.test.tsx similarity index 100% rename from packages/shared-ux/modal/tabbed/src/context/index.test.tsx rename to src/platform/packages/shared/shared-ux/modal/tabbed/src/context/index.test.tsx diff --git a/packages/shared-ux/modal/tabbed/src/context/index.tsx b/src/platform/packages/shared/shared-ux/modal/tabbed/src/context/index.tsx similarity index 100% rename from packages/shared-ux/modal/tabbed/src/context/index.tsx rename to src/platform/packages/shared/shared-ux/modal/tabbed/src/context/index.tsx diff --git a/packages/shared-ux/modal/tabbed/src/tabbed_modal.stories.tsx b/src/platform/packages/shared/shared-ux/modal/tabbed/src/tabbed_modal.stories.tsx similarity index 100% rename from packages/shared-ux/modal/tabbed/src/tabbed_modal.stories.tsx rename to src/platform/packages/shared/shared-ux/modal/tabbed/src/tabbed_modal.stories.tsx diff --git a/packages/shared-ux/modal/tabbed/src/tabbed_modal.test.tsx b/src/platform/packages/shared/shared-ux/modal/tabbed/src/tabbed_modal.test.tsx similarity index 100% rename from packages/shared-ux/modal/tabbed/src/tabbed_modal.test.tsx rename to src/platform/packages/shared/shared-ux/modal/tabbed/src/tabbed_modal.test.tsx diff --git a/packages/shared-ux/modal/tabbed/src/tabbed_modal.tsx b/src/platform/packages/shared/shared-ux/modal/tabbed/src/tabbed_modal.tsx similarity index 100% rename from packages/shared-ux/modal/tabbed/src/tabbed_modal.tsx rename to src/platform/packages/shared/shared-ux/modal/tabbed/src/tabbed_modal.tsx diff --git a/packages/shared-ux/modal/tabbed/storybook/setup.ts b/src/platform/packages/shared/shared-ux/modal/tabbed/storybook/setup.ts similarity index 100% rename from packages/shared-ux/modal/tabbed/storybook/setup.ts rename to src/platform/packages/shared/shared-ux/modal/tabbed/storybook/setup.ts diff --git a/packages/shared-ux/modal/tabbed/tsconfig.json b/src/platform/packages/shared/shared-ux/modal/tabbed/tsconfig.json similarity index 79% rename from packages/shared-ux/modal/tabbed/tsconfig.json rename to src/platform/packages/shared/shared-ux/modal/tabbed/tsconfig.json index ecd52b154a2b4..e20a19c2dd168 100644 --- a/packages/shared-ux/modal/tabbed/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/modal/tabbed/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", }, diff --git a/packages/shared-ux/page/kibana_template/impl/README.mdx b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/README.mdx similarity index 98% rename from packages/shared-ux/page/kibana_template/impl/README.mdx rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/README.mdx index 6d8151cbe882c..4405f0259aec1 100644 --- a/packages/shared-ux/page/kibana_template/impl/README.mdx +++ b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/README.mdx @@ -124,7 +124,7 @@ Increases the consistency in messaging across all the solutions during the getti This is a built-in configuration that displays a very specific UI and requires very specific keys. It will also ignore all other configurations of the template including `pageHeader` and `children`, with the exception of continuing to show `solutionNav`. -The `noDataConfig` is of type [`NoDataPageProps`](https://github.com/elastic/kibana/blob/main/packages/shared-ux/page/no_data/types/index.d.ts): +The `noDataConfig` is of type [`NoDataPageProps`](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/shared-ux/card/no_data/types/index.d.ts): 1. `solution: string`: Single name for the current solution, used to auto-generate the title, logo, and description *(required)* 2. `docsLink: string`: Required to set the docs link for the whole solution *(required)* diff --git a/packages/shared-ux/page/kibana_template/impl/index.ts b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/index.ts similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/index.ts rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/index.ts diff --git a/src/platform/packages/shared/shared-ux/page/kibana_template/impl/jest.config.js b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/jest.config.js new file mode 100644 index 0000000000000..e9d10068f6a15 --- /dev/null +++ b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/page/kibana_template/impl'], +}; diff --git a/packages/shared-ux/page/kibana_template/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/kibana.jsonc diff --git a/packages/shared-ux/page/kibana_template/impl/package.json b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/package.json similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/package.json rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/package.json diff --git a/packages/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template.test.tsx.snap b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template.test.tsx.snap similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template.test.tsx.snap rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template.test.tsx.snap diff --git a/packages/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template_inner.test.tsx.snap b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template_inner.test.tsx.snap similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template_inner.test.tsx.snap rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/__snapshots__/page_template_inner.test.tsx.snap diff --git a/packages/shared-ux/page/kibana_template/impl/src/page_template.stories.tsx b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/page_template.stories.tsx similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/src/page_template.stories.tsx rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/page_template.stories.tsx diff --git a/packages/shared-ux/page/kibana_template/impl/src/page_template.test.tsx b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/page_template.test.tsx similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/src/page_template.test.tsx rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/page_template.test.tsx diff --git a/packages/shared-ux/page/kibana_template/impl/src/page_template.tsx b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/page_template.tsx similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/src/page_template.tsx rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/page_template.tsx diff --git a/packages/shared-ux/page/kibana_template/impl/src/page_template_inner.test.tsx b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/page_template_inner.test.tsx similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/src/page_template_inner.test.tsx rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/page_template_inner.test.tsx diff --git a/packages/shared-ux/page/kibana_template/impl/src/page_template_inner.tsx b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/page_template_inner.tsx similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/src/page_template_inner.tsx rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/page_template_inner.tsx diff --git a/packages/shared-ux/page/kibana_template/impl/src/services.tsx b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/services.tsx similarity index 100% rename from packages/shared-ux/page/kibana_template/impl/src/services.tsx rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/src/services.tsx diff --git a/packages/shared-ux/page/kibana_template/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/tsconfig.json similarity index 89% rename from packages/shared-ux/page/kibana_template/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/page/kibana_template/impl/tsconfig.json index d4b2c3e87f593..d861c72d9b107 100644 --- a/packages/shared-ux/page/kibana_template/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/page/kibana_template/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/page/kibana_template/mocks/README.mdx b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/README.mdx similarity index 100% rename from packages/shared-ux/page/kibana_template/mocks/README.mdx rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/README.mdx diff --git a/packages/shared-ux/page/kibana_template/mocks/index.ts b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/index.ts similarity index 100% rename from packages/shared-ux/page/kibana_template/mocks/index.ts rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/index.ts diff --git a/packages/shared-ux/page/kibana_template/mocks/kibana.jsonc b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/kibana_template/mocks/kibana.jsonc rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/kibana.jsonc diff --git a/packages/shared-ux/page/kibana_template/mocks/package.json b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/package.json similarity index 100% rename from packages/shared-ux/page/kibana_template/mocks/package.json rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/package.json diff --git a/packages/shared-ux/page/kibana_template/mocks/src/jest.ts b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/jest.ts similarity index 100% rename from packages/shared-ux/page/kibana_template/mocks/src/jest.ts rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/jest.ts diff --git a/packages/shared-ux/page/kibana_template/mocks/src/storybook/all.ts b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/storybook/all.ts similarity index 100% rename from packages/shared-ux/page/kibana_template/mocks/src/storybook/all.ts rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/storybook/all.ts diff --git a/packages/shared-ux/page/kibana_template/mocks/src/storybook/index.ts b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/storybook/index.ts similarity index 100% rename from packages/shared-ux/page/kibana_template/mocks/src/storybook/index.ts rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/storybook/index.ts diff --git a/packages/shared-ux/page/kibana_template/mocks/src/storybook/inner.tsx b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/storybook/inner.tsx similarity index 100% rename from packages/shared-ux/page/kibana_template/mocks/src/storybook/inner.tsx rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/storybook/inner.tsx diff --git a/packages/shared-ux/page/kibana_template/mocks/src/storybook/no_data_config.ts b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/storybook/no_data_config.ts similarity index 100% rename from packages/shared-ux/page/kibana_template/mocks/src/storybook/no_data_config.ts rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/storybook/no_data_config.ts diff --git a/packages/shared-ux/page/kibana_template/mocks/src/storybook/solution_nav.ts b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/storybook/solution_nav.ts similarity index 100% rename from packages/shared-ux/page/kibana_template/mocks/src/storybook/solution_nav.ts rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/src/storybook/solution_nav.ts diff --git a/packages/shared-ux/page/kibana_template/mocks/tsconfig.json b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/tsconfig.json similarity index 87% rename from packages/shared-ux/page/kibana_template/mocks/tsconfig.json rename to src/platform/packages/shared/shared-ux/page/kibana_template/mocks/tsconfig.json index 6a11b6ecad992..ff8275b11fe3e 100644 --- a/packages/shared-ux/page/kibana_template/mocks/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/page/kibana_template/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/page/kibana_template/types/README.mdx b/src/platform/packages/shared/shared-ux/page/kibana_template/types/README.mdx similarity index 100% rename from packages/shared-ux/page/kibana_template/types/README.mdx rename to src/platform/packages/shared/shared-ux/page/kibana_template/types/README.mdx diff --git a/packages/shared-ux/page/kibana_template/types/index.d.ts b/src/platform/packages/shared/shared-ux/page/kibana_template/types/index.d.ts similarity index 100% rename from packages/shared-ux/page/kibana_template/types/index.d.ts rename to src/platform/packages/shared/shared-ux/page/kibana_template/types/index.d.ts diff --git a/packages/shared-ux/page/kibana_template/types/kibana.jsonc b/src/platform/packages/shared/shared-ux/page/kibana_template/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/kibana_template/types/kibana.jsonc rename to src/platform/packages/shared/shared-ux/page/kibana_template/types/kibana.jsonc diff --git a/packages/shared-ux/page/kibana_template/types/package.json b/src/platform/packages/shared/shared-ux/page/kibana_template/types/package.json similarity index 100% rename from packages/shared-ux/page/kibana_template/types/package.json rename to src/platform/packages/shared/shared-ux/page/kibana_template/types/package.json diff --git a/packages/shared-ux/page/kibana_template/types/tsconfig.json b/src/platform/packages/shared/shared-ux/page/kibana_template/types/tsconfig.json similarity index 81% rename from packages/shared-ux/page/kibana_template/types/tsconfig.json rename to src/platform/packages/shared/shared-ux/page/kibana_template/types/tsconfig.json index 8559d1570106c..2bcd7c9877d22 100644 --- a/packages/shared-ux/page/kibana_template/types/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/page/kibana_template/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/packages/shared-ux/page/no_data/impl/README.mdx b/src/platform/packages/shared/shared-ux/page/no_data/impl/README.mdx similarity index 100% rename from packages/shared-ux/page/no_data/impl/README.mdx rename to src/platform/packages/shared/shared-ux/page/no_data/impl/README.mdx diff --git a/packages/shared-ux/page/no_data/impl/index.ts b/src/platform/packages/shared/shared-ux/page/no_data/impl/index.ts similarity index 100% rename from packages/shared-ux/page/no_data/impl/index.ts rename to src/platform/packages/shared/shared-ux/page/no_data/impl/index.ts diff --git a/src/platform/packages/shared/shared-ux/page/no_data/impl/jest.config.js b/src/platform/packages/shared/shared-ux/page/no_data/impl/jest.config.js new file mode 100644 index 0000000000000..7c6e79f5a920a --- /dev/null +++ b/src/platform/packages/shared/shared-ux/page/no_data/impl/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/page/no_data/impl'], +}; diff --git a/packages/shared-ux/page/no_data/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/page/no_data/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/no_data/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/page/no_data/impl/kibana.jsonc diff --git a/packages/shared-ux/page/no_data/impl/package.json b/src/platform/packages/shared/shared-ux/page/no_data/impl/package.json similarity index 100% rename from packages/shared-ux/page/no_data/impl/package.json rename to src/platform/packages/shared/shared-ux/page/no_data/impl/package.json diff --git a/packages/shared-ux/page/no_data/impl/src/action_card.tsx b/src/platform/packages/shared/shared-ux/page/no_data/impl/src/action_card.tsx similarity index 100% rename from packages/shared-ux/page/no_data/impl/src/action_card.tsx rename to src/platform/packages/shared/shared-ux/page/no_data/impl/src/action_card.tsx diff --git a/packages/shared-ux/page/no_data/impl/src/no_data_page.stories.tsx b/src/platform/packages/shared/shared-ux/page/no_data/impl/src/no_data_page.stories.tsx similarity index 100% rename from packages/shared-ux/page/no_data/impl/src/no_data_page.stories.tsx rename to src/platform/packages/shared/shared-ux/page/no_data/impl/src/no_data_page.stories.tsx diff --git a/packages/shared-ux/page/no_data/impl/src/no_data_page.test.tsx b/src/platform/packages/shared/shared-ux/page/no_data/impl/src/no_data_page.test.tsx similarity index 100% rename from packages/shared-ux/page/no_data/impl/src/no_data_page.test.tsx rename to src/platform/packages/shared/shared-ux/page/no_data/impl/src/no_data_page.test.tsx diff --git a/packages/shared-ux/page/no_data/impl/src/no_data_page.tsx b/src/platform/packages/shared/shared-ux/page/no_data/impl/src/no_data_page.tsx similarity index 100% rename from packages/shared-ux/page/no_data/impl/src/no_data_page.tsx rename to src/platform/packages/shared/shared-ux/page/no_data/impl/src/no_data_page.tsx diff --git a/packages/shared-ux/page/no_data/impl/src/services.tsx b/src/platform/packages/shared/shared-ux/page/no_data/impl/src/services.tsx similarity index 100% rename from packages/shared-ux/page/no_data/impl/src/services.tsx rename to src/platform/packages/shared/shared-ux/page/no_data/impl/src/services.tsx diff --git a/packages/shared-ux/page/no_data/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/page/no_data/impl/tsconfig.json similarity index 89% rename from packages/shared-ux/page/no_data/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/page/no_data/impl/tsconfig.json index d36c0c9a9ff95..e2cf4cc1ba6e2 100644 --- a/packages/shared-ux/page/no_data/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/page/no_data/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/page/no_data/mocks/README.md b/src/platform/packages/shared/shared-ux/page/no_data/mocks/README.md similarity index 100% rename from packages/shared-ux/page/no_data/mocks/README.md rename to src/platform/packages/shared/shared-ux/page/no_data/mocks/README.md diff --git a/packages/shared-ux/page/no_data/mocks/index.ts b/src/platform/packages/shared/shared-ux/page/no_data/mocks/index.ts similarity index 100% rename from packages/shared-ux/page/no_data/mocks/index.ts rename to src/platform/packages/shared/shared-ux/page/no_data/mocks/index.ts diff --git a/packages/shared-ux/page/no_data/mocks/kibana.jsonc b/src/platform/packages/shared/shared-ux/page/no_data/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/no_data/mocks/kibana.jsonc rename to src/platform/packages/shared/shared-ux/page/no_data/mocks/kibana.jsonc diff --git a/packages/shared-ux/page/no_data/mocks/package.json b/src/platform/packages/shared/shared-ux/page/no_data/mocks/package.json similarity index 100% rename from packages/shared-ux/page/no_data/mocks/package.json rename to src/platform/packages/shared/shared-ux/page/no_data/mocks/package.json diff --git a/packages/shared-ux/page/no_data/mocks/src/jest.ts b/src/platform/packages/shared/shared-ux/page/no_data/mocks/src/jest.ts similarity index 100% rename from packages/shared-ux/page/no_data/mocks/src/jest.ts rename to src/platform/packages/shared/shared-ux/page/no_data/mocks/src/jest.ts diff --git a/packages/shared-ux/page/no_data/mocks/src/storybook.ts b/src/platform/packages/shared/shared-ux/page/no_data/mocks/src/storybook.ts similarity index 100% rename from packages/shared-ux/page/no_data/mocks/src/storybook.ts rename to src/platform/packages/shared/shared-ux/page/no_data/mocks/src/storybook.ts diff --git a/packages/shared-ux/page/no_data/mocks/tsconfig.json b/src/platform/packages/shared/shared-ux/page/no_data/mocks/tsconfig.json similarity index 85% rename from packages/shared-ux/page/no_data/mocks/tsconfig.json rename to src/platform/packages/shared/shared-ux/page/no_data/mocks/tsconfig.json index a7ff059474ecd..69df96b6cc570 100644 --- a/packages/shared-ux/page/no_data/mocks/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/page/no_data/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/page/no_data/types/README.mdx b/src/platform/packages/shared/shared-ux/page/no_data/types/README.mdx similarity index 100% rename from packages/shared-ux/page/no_data/types/README.mdx rename to src/platform/packages/shared/shared-ux/page/no_data/types/README.mdx diff --git a/packages/shared-ux/page/no_data/types/index.d.ts b/src/platform/packages/shared/shared-ux/page/no_data/types/index.d.ts similarity index 100% rename from packages/shared-ux/page/no_data/types/index.d.ts rename to src/platform/packages/shared/shared-ux/page/no_data/types/index.d.ts diff --git a/packages/shared-ux/page/no_data/types/kibana.jsonc b/src/platform/packages/shared/shared-ux/page/no_data/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/no_data/types/kibana.jsonc rename to src/platform/packages/shared/shared-ux/page/no_data/types/kibana.jsonc diff --git a/packages/shared-ux/page/no_data/types/package.json b/src/platform/packages/shared/shared-ux/page/no_data/types/package.json similarity index 100% rename from packages/shared-ux/page/no_data/types/package.json rename to src/platform/packages/shared/shared-ux/page/no_data/types/package.json diff --git a/packages/shared-ux/page/no_data/types/tsconfig.json b/src/platform/packages/shared/shared-ux/page/no_data/types/tsconfig.json similarity index 78% rename from packages/shared-ux/page/no_data/types/tsconfig.json rename to src/platform/packages/shared/shared-ux/page/no_data/types/tsconfig.json index cb496086a1a06..6a4a6cc7d8fea 100644 --- a/packages/shared-ux/page/no_data/types/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/page/no_data/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/packages/shared-ux/page/no_data_config/impl/README.mdx b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/README.mdx similarity index 100% rename from packages/shared-ux/page/no_data_config/impl/README.mdx rename to src/platform/packages/shared/shared-ux/page/no_data_config/impl/README.mdx diff --git a/packages/shared-ux/page/no_data_config/impl/index.ts b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/index.ts similarity index 100% rename from packages/shared-ux/page/no_data_config/impl/index.ts rename to src/platform/packages/shared/shared-ux/page/no_data_config/impl/index.ts diff --git a/src/platform/packages/shared/shared-ux/page/no_data_config/impl/jest.config.js b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/jest.config.js new file mode 100644 index 0000000000000..f01bdb06630d3 --- /dev/null +++ b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/page/no_data_config/impl'], +}; diff --git a/packages/shared-ux/page/no_data_config/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/no_data_config/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/page/no_data_config/impl/kibana.jsonc diff --git a/packages/shared-ux/page/no_data_config/impl/package.json b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/package.json similarity index 100% rename from packages/shared-ux/page/no_data_config/impl/package.json rename to src/platform/packages/shared/shared-ux/page/no_data_config/impl/package.json diff --git a/packages/shared-ux/page/no_data_config/impl/src/constants.ts b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/src/constants.ts similarity index 100% rename from packages/shared-ux/page/no_data_config/impl/src/constants.ts rename to src/platform/packages/shared/shared-ux/page/no_data_config/impl/src/constants.ts diff --git a/packages/shared-ux/page/no_data_config/impl/src/no_data_config_page.stories.tsx b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/src/no_data_config_page.stories.tsx similarity index 100% rename from packages/shared-ux/page/no_data_config/impl/src/no_data_config_page.stories.tsx rename to src/platform/packages/shared/shared-ux/page/no_data_config/impl/src/no_data_config_page.stories.tsx diff --git a/packages/shared-ux/page/no_data_config/impl/src/no_data_config_page.test.tsx b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/src/no_data_config_page.test.tsx similarity index 100% rename from packages/shared-ux/page/no_data_config/impl/src/no_data_config_page.test.tsx rename to src/platform/packages/shared/shared-ux/page/no_data_config/impl/src/no_data_config_page.test.tsx diff --git a/packages/shared-ux/page/no_data_config/impl/src/no_data_config_page.tsx b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/src/no_data_config_page.tsx similarity index 100% rename from packages/shared-ux/page/no_data_config/impl/src/no_data_config_page.tsx rename to src/platform/packages/shared/shared-ux/page/no_data_config/impl/src/no_data_config_page.tsx diff --git a/packages/shared-ux/page/no_data_config/impl/src/services.tsx b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/src/services.tsx similarity index 100% rename from packages/shared-ux/page/no_data_config/impl/src/services.tsx rename to src/platform/packages/shared/shared-ux/page/no_data_config/impl/src/services.tsx diff --git a/packages/shared-ux/page/no_data_config/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/tsconfig.json similarity index 88% rename from packages/shared-ux/page/no_data_config/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/page/no_data_config/impl/tsconfig.json index f30535d1df3e0..1096d93de1a0c 100644 --- a/packages/shared-ux/page/no_data_config/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/page/no_data_config/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/page/no_data_config/mocks/README.md b/src/platform/packages/shared/shared-ux/page/no_data_config/mocks/README.md similarity index 100% rename from packages/shared-ux/page/no_data_config/mocks/README.md rename to src/platform/packages/shared/shared-ux/page/no_data_config/mocks/README.md diff --git a/packages/shared-ux/page/no_data_config/mocks/index.ts b/src/platform/packages/shared/shared-ux/page/no_data_config/mocks/index.ts similarity index 100% rename from packages/shared-ux/page/no_data_config/mocks/index.ts rename to src/platform/packages/shared/shared-ux/page/no_data_config/mocks/index.ts diff --git a/packages/shared-ux/page/no_data_config/mocks/kibana.jsonc b/src/platform/packages/shared/shared-ux/page/no_data_config/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/no_data_config/mocks/kibana.jsonc rename to src/platform/packages/shared/shared-ux/page/no_data_config/mocks/kibana.jsonc diff --git a/packages/shared-ux/page/no_data_config/mocks/package.json b/src/platform/packages/shared/shared-ux/page/no_data_config/mocks/package.json similarity index 100% rename from packages/shared-ux/page/no_data_config/mocks/package.json rename to src/platform/packages/shared/shared-ux/page/no_data_config/mocks/package.json diff --git a/packages/shared-ux/page/no_data_config/mocks/src/jest.ts b/src/platform/packages/shared/shared-ux/page/no_data_config/mocks/src/jest.ts similarity index 100% rename from packages/shared-ux/page/no_data_config/mocks/src/jest.ts rename to src/platform/packages/shared/shared-ux/page/no_data_config/mocks/src/jest.ts diff --git a/packages/shared-ux/page/no_data_config/mocks/src/storybook.ts b/src/platform/packages/shared/shared-ux/page/no_data_config/mocks/src/storybook.ts similarity index 100% rename from packages/shared-ux/page/no_data_config/mocks/src/storybook.ts rename to src/platform/packages/shared/shared-ux/page/no_data_config/mocks/src/storybook.ts diff --git a/packages/shared-ux/page/no_data_config/mocks/tsconfig.json b/src/platform/packages/shared/shared-ux/page/no_data_config/mocks/tsconfig.json similarity index 85% rename from packages/shared-ux/page/no_data_config/mocks/tsconfig.json rename to src/platform/packages/shared/shared-ux/page/no_data_config/mocks/tsconfig.json index 8512e6c9fe15c..6884ffe40e8df 100644 --- a/packages/shared-ux/page/no_data_config/mocks/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/page/no_data_config/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/page/no_data_config/types/README.md b/src/platform/packages/shared/shared-ux/page/no_data_config/types/README.md similarity index 100% rename from packages/shared-ux/page/no_data_config/types/README.md rename to src/platform/packages/shared/shared-ux/page/no_data_config/types/README.md diff --git a/packages/shared-ux/page/no_data_config/types/index.d.ts b/src/platform/packages/shared/shared-ux/page/no_data_config/types/index.d.ts similarity index 100% rename from packages/shared-ux/page/no_data_config/types/index.d.ts rename to src/platform/packages/shared/shared-ux/page/no_data_config/types/index.d.ts diff --git a/packages/shared-ux/page/no_data_config/types/kibana.jsonc b/src/platform/packages/shared/shared-ux/page/no_data_config/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/no_data_config/types/kibana.jsonc rename to src/platform/packages/shared/shared-ux/page/no_data_config/types/kibana.jsonc diff --git a/packages/shared-ux/page/no_data_config/types/package.json b/src/platform/packages/shared/shared-ux/page/no_data_config/types/package.json similarity index 100% rename from packages/shared-ux/page/no_data_config/types/package.json rename to src/platform/packages/shared/shared-ux/page/no_data_config/types/package.json diff --git a/packages/shared-ux/page/no_data_config/types/tsconfig.json b/src/platform/packages/shared/shared-ux/page/no_data_config/types/tsconfig.json similarity index 78% rename from packages/shared-ux/page/no_data_config/types/tsconfig.json rename to src/platform/packages/shared/shared-ux/page/no_data_config/types/tsconfig.json index 0a4ee6d632cc4..be3cb03df3949 100644 --- a/packages/shared-ux/page/no_data_config/types/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/page/no_data_config/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/packages/shared-ux/page/solution_nav/README.mdx b/src/platform/packages/shared/shared-ux/page/solution_nav/README.mdx similarity index 100% rename from packages/shared-ux/page/solution_nav/README.mdx rename to src/platform/packages/shared/shared-ux/page/solution_nav/README.mdx diff --git a/packages/shared-ux/page/solution_nav/index.ts b/src/platform/packages/shared/shared-ux/page/solution_nav/index.ts similarity index 100% rename from packages/shared-ux/page/solution_nav/index.ts rename to src/platform/packages/shared/shared-ux/page/solution_nav/index.ts diff --git a/src/platform/packages/shared/shared-ux/page/solution_nav/jest.config.js b/src/platform/packages/shared/shared-ux/page/solution_nav/jest.config.js new file mode 100644 index 0000000000000..3071dea06fdc1 --- /dev/null +++ b/src/platform/packages/shared/shared-ux/page/solution_nav/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/page/solution_nav'], +}; diff --git a/packages/shared-ux/page/solution_nav/kibana.jsonc b/src/platform/packages/shared/shared-ux/page/solution_nav/kibana.jsonc similarity index 100% rename from packages/shared-ux/page/solution_nav/kibana.jsonc rename to src/platform/packages/shared/shared-ux/page/solution_nav/kibana.jsonc diff --git a/packages/shared-ux/page/solution_nav/package.json b/src/platform/packages/shared/shared-ux/page/solution_nav/package.json similarity index 100% rename from packages/shared-ux/page/solution_nav/package.json rename to src/platform/packages/shared/shared-ux/page/solution_nav/package.json diff --git a/packages/shared-ux/page/solution_nav/src/__snapshots__/collapse_button.test.tsx.snap b/src/platform/packages/shared/shared-ux/page/solution_nav/src/__snapshots__/collapse_button.test.tsx.snap similarity index 100% rename from packages/shared-ux/page/solution_nav/src/__snapshots__/collapse_button.test.tsx.snap rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/__snapshots__/collapse_button.test.tsx.snap diff --git a/packages/shared-ux/page/solution_nav/src/__snapshots__/solution_nav.test.tsx.snap b/src/platform/packages/shared/shared-ux/page/solution_nav/src/__snapshots__/solution_nav.test.tsx.snap similarity index 100% rename from packages/shared-ux/page/solution_nav/src/__snapshots__/solution_nav.test.tsx.snap rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/__snapshots__/solution_nav.test.tsx.snap diff --git a/packages/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 similarity index 100% rename from packages/shared-ux/page/solution_nav/src/__snapshots__/with_solution_nav.test.tsx.snap rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/__snapshots__/with_solution_nav.test.tsx.snap diff --git a/packages/shared-ux/page/solution_nav/src/_variables.scss b/src/platform/packages/shared/shared-ux/page/solution_nav/src/_variables.scss similarity index 100% rename from packages/shared-ux/page/solution_nav/src/_variables.scss rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/_variables.scss diff --git a/packages/shared-ux/page/solution_nav/src/collapse_button.scss b/src/platform/packages/shared/shared-ux/page/solution_nav/src/collapse_button.scss similarity index 100% rename from packages/shared-ux/page/solution_nav/src/collapse_button.scss rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/collapse_button.scss diff --git a/packages/shared-ux/page/solution_nav/src/collapse_button.test.tsx b/src/platform/packages/shared/shared-ux/page/solution_nav/src/collapse_button.test.tsx similarity index 100% rename from packages/shared-ux/page/solution_nav/src/collapse_button.test.tsx rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/collapse_button.test.tsx diff --git a/packages/shared-ux/page/solution_nav/src/collapse_button.tsx b/src/platform/packages/shared/shared-ux/page/solution_nav/src/collapse_button.tsx similarity index 100% rename from packages/shared-ux/page/solution_nav/src/collapse_button.tsx rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/collapse_button.tsx diff --git a/packages/shared-ux/page/solution_nav/src/solution_nav.scss b/src/platform/packages/shared/shared-ux/page/solution_nav/src/solution_nav.scss similarity index 100% rename from packages/shared-ux/page/solution_nav/src/solution_nav.scss rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/solution_nav.scss diff --git a/packages/shared-ux/page/solution_nav/src/solution_nav.stories.tsx b/src/platform/packages/shared/shared-ux/page/solution_nav/src/solution_nav.stories.tsx similarity index 100% rename from packages/shared-ux/page/solution_nav/src/solution_nav.stories.tsx rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/solution_nav.stories.tsx diff --git a/packages/shared-ux/page/solution_nav/src/solution_nav.test.tsx b/src/platform/packages/shared/shared-ux/page/solution_nav/src/solution_nav.test.tsx similarity index 100% rename from packages/shared-ux/page/solution_nav/src/solution_nav.test.tsx rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/solution_nav.test.tsx diff --git a/packages/shared-ux/page/solution_nav/src/solution_nav.tsx b/src/platform/packages/shared/shared-ux/page/solution_nav/src/solution_nav.tsx similarity index 100% rename from packages/shared-ux/page/solution_nav/src/solution_nav.tsx rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/solution_nav.tsx diff --git a/packages/shared-ux/page/solution_nav/src/with_solution_nav.styles.ts b/src/platform/packages/shared/shared-ux/page/solution_nav/src/with_solution_nav.styles.ts similarity index 100% rename from packages/shared-ux/page/solution_nav/src/with_solution_nav.styles.ts rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/with_solution_nav.styles.ts diff --git a/packages/shared-ux/page/solution_nav/src/with_solution_nav.test.tsx b/src/platform/packages/shared/shared-ux/page/solution_nav/src/with_solution_nav.test.tsx similarity index 100% rename from packages/shared-ux/page/solution_nav/src/with_solution_nav.test.tsx rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/with_solution_nav.test.tsx diff --git a/packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx b/src/platform/packages/shared/shared-ux/page/solution_nav/src/with_solution_nav.tsx similarity index 100% rename from packages/shared-ux/page/solution_nav/src/with_solution_nav.tsx rename to src/platform/packages/shared/shared-ux/page/solution_nav/src/with_solution_nav.tsx diff --git a/packages/shared-ux/page/solution_nav/tsconfig.json b/src/platform/packages/shared/shared-ux/page/solution_nav/tsconfig.json similarity index 86% rename from packages/shared-ux/page/solution_nav/tsconfig.json rename to src/platform/packages/shared/shared-ux/page/solution_nav/tsconfig.json index dde4935440f75..37e7246b7a449 100644 --- a/packages/shared-ux/page/solution_nav/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/page/solution_nav/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/prompt/no_data_views/impl/README.mdx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/README.mdx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/README.mdx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/README.mdx diff --git a/packages/shared-ux/prompt/no_data_views/impl/index.ts b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/index.ts similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/index.ts rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/index.ts diff --git a/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/jest.config.js b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/jest.config.js new file mode 100644 index 0000000000000..9b72021ba2258 --- /dev/null +++ b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/prompt/no_data_views'], +}; diff --git a/packages/shared-ux/prompt/no_data_views/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/kibana.jsonc similarity index 84% rename from packages/shared-ux/prompt/no_data_views/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/kibana.jsonc index 8f2ad49cf2d7c..e5cd8a0ec9bb1 100644 --- a/packages/shared-ux/prompt/no_data_views/impl/kibana.jsonc +++ b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/kibana.jsonc @@ -5,5 +5,5 @@ "@elastic/appex-sharedux" ], "group": "platform", - "visibility": "private" -} \ No newline at end of file + "visibility": "shared" +} diff --git a/packages/shared-ux/prompt/no_data_views/impl/package.json b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/package.json similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/package.json rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/package.json diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/__snapshots__/documentation_link.test.tsx.snap b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/__snapshots__/documentation_link.test.tsx.snap similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/__snapshots__/documentation_link.test.tsx.snap rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/__snapshots__/documentation_link.test.tsx.snap diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/data_view_illustration.svg b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/data_view_illustration.svg similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/data_view_illustration.svg rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/data_view_illustration.svg diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/data_view_illustration.tsx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/data_view_illustration.tsx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/data_view_illustration.tsx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/data_view_illustration.tsx diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/documentation_link.test.tsx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/documentation_link.test.tsx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/documentation_link.test.tsx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/documentation_link.test.tsx diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/documentation_link.tsx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/documentation_link.tsx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/documentation_link.tsx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/documentation_link.tsx diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/esql_illustration.svg b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/esql_illustration.svg similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/esql_illustration.svg rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/esql_illustration.svg diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/esql_illustration.tsx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/esql_illustration.tsx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/esql_illustration.tsx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/esql_illustration.tsx diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/hooks/index.ts b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/hooks/index.ts similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/hooks/index.ts rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/hooks/index.ts diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/hooks/use_on_try_esql.ts b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/hooks/use_on_try_esql.ts similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/hooks/use_on_try_esql.ts rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/hooks/use_on_try_esql.ts diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/no_data_views.component.test.tsx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/no_data_views.component.test.tsx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/no_data_views.component.test.tsx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/no_data_views.component.test.tsx diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/no_data_views.component.tsx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/no_data_views.component.tsx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/no_data_views.component.tsx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/no_data_views.component.tsx diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/no_data_views.stories.tsx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/no_data_views.stories.tsx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/no_data_views.stories.tsx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/no_data_views.stories.tsx diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/no_data_views.test.tsx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/no_data_views.test.tsx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/no_data_views.test.tsx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/no_data_views.test.tsx diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/no_data_views.tsx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/no_data_views.tsx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/no_data_views.tsx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/no_data_views.tsx diff --git a/packages/shared-ux/prompt/no_data_views/impl/src/services.tsx b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/services.tsx similarity index 100% rename from packages/shared-ux/prompt/no_data_views/impl/src/services.tsx rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/src/services.tsx diff --git a/packages/shared-ux/prompt/no_data_views/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/tsconfig.json similarity index 89% rename from packages/shared-ux/prompt/no_data_views/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/tsconfig.json index 2af357080c07c..9da3c8ba59ca7 100644 --- a/packages/shared-ux/prompt/no_data_views/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/prompt/no_data_views/mocks/README.md b/src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/README.md similarity index 100% rename from packages/shared-ux/prompt/no_data_views/mocks/README.md rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/README.md diff --git a/packages/shared-ux/prompt/no_data_views/mocks/index.ts b/src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/index.ts similarity index 100% rename from packages/shared-ux/prompt/no_data_views/mocks/index.ts rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/index.ts diff --git a/packages/shared-ux/prompt/no_data_views/mocks/kibana.jsonc b/src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/kibana.jsonc similarity index 85% rename from packages/shared-ux/prompt/no_data_views/mocks/kibana.jsonc rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/kibana.jsonc index 2fdec6e9814c8..226a0324a793f 100644 --- a/packages/shared-ux/prompt/no_data_views/mocks/kibana.jsonc +++ b/src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/kibana.jsonc @@ -5,5 +5,5 @@ "@elastic/appex-sharedux" ], "group": "platform", - "visibility": "private" -} \ No newline at end of file + "visibility": "shared" +} diff --git a/packages/shared-ux/prompt/no_data_views/mocks/package.json b/src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/package.json similarity index 100% rename from packages/shared-ux/prompt/no_data_views/mocks/package.json rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/package.json diff --git a/packages/shared-ux/prompt/no_data_views/mocks/src/jest.ts b/src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/src/jest.ts similarity index 100% rename from packages/shared-ux/prompt/no_data_views/mocks/src/jest.ts rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/src/jest.ts diff --git a/packages/shared-ux/prompt/no_data_views/mocks/src/storybook.ts b/src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/src/storybook.ts similarity index 100% rename from packages/shared-ux/prompt/no_data_views/mocks/src/storybook.ts rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/src/storybook.ts diff --git a/packages/shared-ux/prompt/no_data_views/mocks/tsconfig.json b/src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/tsconfig.json similarity index 83% rename from packages/shared-ux/prompt/no_data_views/mocks/tsconfig.json rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/tsconfig.json index 8445aacb692ba..36a0811ad3c8c 100644 --- a/packages/shared-ux/prompt/no_data_views/mocks/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/prompt/no_data_views/types/README.md b/src/platform/packages/shared/shared-ux/prompt/no_data_views/types/README.md similarity index 100% rename from packages/shared-ux/prompt/no_data_views/types/README.md rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/types/README.md diff --git a/packages/shared-ux/prompt/no_data_views/types/index.d.ts b/src/platform/packages/shared/shared-ux/prompt/no_data_views/types/index.d.ts similarity index 100% rename from packages/shared-ux/prompt/no_data_views/types/index.d.ts rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/types/index.d.ts diff --git a/packages/shared-ux/prompt/no_data_views/types/kibana.jsonc b/src/platform/packages/shared/shared-ux/prompt/no_data_views/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/prompt/no_data_views/types/kibana.jsonc rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/types/kibana.jsonc diff --git a/packages/shared-ux/prompt/no_data_views/types/package.json b/src/platform/packages/shared/shared-ux/prompt/no_data_views/types/package.json similarity index 100% rename from packages/shared-ux/prompt/no_data_views/types/package.json rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/types/package.json diff --git a/packages/shared-ux/prompt/no_data_views/types/tsconfig.json b/src/platform/packages/shared/shared-ux/prompt/no_data_views/types/tsconfig.json similarity index 77% rename from packages/shared-ux/prompt/no_data_views/types/tsconfig.json rename to src/platform/packages/shared/shared-ux/prompt/no_data_views/types/tsconfig.json index b82ab394b8afc..c62dfd95e1205 100644 --- a/packages/shared-ux/prompt/no_data_views/types/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/prompt/no_data_views/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../../tsconfig.base.json", + "extends": "../../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/packages/shared-ux/prompt/not_found/README.mdx b/src/platform/packages/shared/shared-ux/prompt/not_found/README.mdx similarity index 100% rename from packages/shared-ux/prompt/not_found/README.mdx rename to src/platform/packages/shared/shared-ux/prompt/not_found/README.mdx diff --git a/packages/shared-ux/prompt/not_found/index.ts b/src/platform/packages/shared/shared-ux/prompt/not_found/index.ts similarity index 100% rename from packages/shared-ux/prompt/not_found/index.ts rename to src/platform/packages/shared/shared-ux/prompt/not_found/index.ts diff --git a/src/platform/packages/shared/shared-ux/prompt/not_found/jest.config.js b/src/platform/packages/shared/shared-ux/prompt/not_found/jest.config.js new file mode 100644 index 0000000000000..5448ec2ad25ab --- /dev/null +++ b/src/platform/packages/shared/shared-ux/prompt/not_found/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/prompt/not_found'], +}; diff --git a/packages/shared-ux/prompt/not_found/kibana.jsonc b/src/platform/packages/shared/shared-ux/prompt/not_found/kibana.jsonc similarity index 100% rename from packages/shared-ux/prompt/not_found/kibana.jsonc rename to src/platform/packages/shared/shared-ux/prompt/not_found/kibana.jsonc diff --git a/packages/shared-ux/prompt/not_found/package.json b/src/platform/packages/shared/shared-ux/prompt/not_found/package.json similarity index 100% rename from packages/shared-ux/prompt/not_found/package.json rename to src/platform/packages/shared/shared-ux/prompt/not_found/package.json diff --git a/packages/shared-ux/prompt/not_found/src/assets/404_astronaut_dark.png b/src/platform/packages/shared/shared-ux/prompt/not_found/src/assets/404_astronaut_dark.png similarity index 100% rename from packages/shared-ux/prompt/not_found/src/assets/404_astronaut_dark.png rename to src/platform/packages/shared/shared-ux/prompt/not_found/src/assets/404_astronaut_dark.png diff --git a/packages/shared-ux/prompt/not_found/src/assets/404_astronaut_light.png b/src/platform/packages/shared/shared-ux/prompt/not_found/src/assets/404_astronaut_light.png similarity index 100% rename from packages/shared-ux/prompt/not_found/src/assets/404_astronaut_light.png rename to src/platform/packages/shared/shared-ux/prompt/not_found/src/assets/404_astronaut_light.png diff --git a/packages/shared-ux/prompt/not_found/src/not_found_prompt.stories.tsx b/src/platform/packages/shared/shared-ux/prompt/not_found/src/not_found_prompt.stories.tsx similarity index 100% rename from packages/shared-ux/prompt/not_found/src/not_found_prompt.stories.tsx rename to src/platform/packages/shared/shared-ux/prompt/not_found/src/not_found_prompt.stories.tsx diff --git a/packages/shared-ux/prompt/not_found/src/not_found_prompt.test.tsx b/src/platform/packages/shared/shared-ux/prompt/not_found/src/not_found_prompt.test.tsx similarity index 100% rename from packages/shared-ux/prompt/not_found/src/not_found_prompt.test.tsx rename to src/platform/packages/shared/shared-ux/prompt/not_found/src/not_found_prompt.test.tsx diff --git a/packages/shared-ux/prompt/not_found/src/not_found_prompt.tsx b/src/platform/packages/shared/shared-ux/prompt/not_found/src/not_found_prompt.tsx similarity index 100% rename from packages/shared-ux/prompt/not_found/src/not_found_prompt.tsx rename to src/platform/packages/shared/shared-ux/prompt/not_found/src/not_found_prompt.tsx diff --git a/packages/shared-ux/prompt/not_found/tsconfig.json b/src/platform/packages/shared/shared-ux/prompt/not_found/tsconfig.json similarity index 81% rename from packages/shared-ux/prompt/not_found/tsconfig.json rename to src/platform/packages/shared/shared-ux/prompt/not_found/tsconfig.json index 6b098efdfa673..6f0d25a86d961 100644 --- a/packages/shared-ux/prompt/not_found/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/prompt/not_found/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": ["jest", "node", "react", "@kbn/ambient-ui-types"] diff --git a/packages/shared-ux/router/impl/BUILD.bazel b/src/platform/packages/shared/shared-ux/router/impl/BUILD.bazel similarity index 100% rename from packages/shared-ux/router/impl/BUILD.bazel rename to src/platform/packages/shared/shared-ux/router/impl/BUILD.bazel diff --git a/packages/shared-ux/router/impl/README.mdx b/src/platform/packages/shared/shared-ux/router/impl/README.mdx similarity index 100% rename from packages/shared-ux/router/impl/README.mdx rename to src/platform/packages/shared/shared-ux/router/impl/README.mdx diff --git a/packages/shared-ux/router/impl/__snapshots__/route.test.tsx.snap b/src/platform/packages/shared/shared-ux/router/impl/__snapshots__/route.test.tsx.snap similarity index 100% rename from packages/shared-ux/router/impl/__snapshots__/route.test.tsx.snap rename to src/platform/packages/shared/shared-ux/router/impl/__snapshots__/route.test.tsx.snap diff --git a/packages/shared-ux/router/impl/index.ts b/src/platform/packages/shared/shared-ux/router/impl/index.ts similarity index 100% rename from packages/shared-ux/router/impl/index.ts rename to src/platform/packages/shared/shared-ux/router/impl/index.ts diff --git a/packages/shared-ux/button_toolbar/jest.config.js b/src/platform/packages/shared/shared-ux/router/impl/jest.config.js similarity index 82% rename from packages/shared-ux/button_toolbar/jest.config.js rename to src/platform/packages/shared/shared-ux/router/impl/jest.config.js index 3a3c40d16294a..fad5f9e8d0aaa 100644 --- a/packages/shared-ux/button_toolbar/jest.config.js +++ b/src/platform/packages/shared/shared-ux/router/impl/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../..', - roots: ['/packages/shared-ux/button_toolbar'], + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/router/impl'], }; diff --git a/packages/shared-ux/router/impl/kibana.jsonc b/src/platform/packages/shared/shared-ux/router/impl/kibana.jsonc similarity index 100% rename from packages/shared-ux/router/impl/kibana.jsonc rename to src/platform/packages/shared/shared-ux/router/impl/kibana.jsonc diff --git a/packages/shared-ux/router/impl/package.json b/src/platform/packages/shared/shared-ux/router/impl/package.json similarity index 100% rename from packages/shared-ux/router/impl/package.json rename to src/platform/packages/shared/shared-ux/router/impl/package.json diff --git a/packages/shared-ux/router/impl/route.test.tsx b/src/platform/packages/shared/shared-ux/router/impl/route.test.tsx similarity index 100% rename from packages/shared-ux/router/impl/route.test.tsx rename to src/platform/packages/shared/shared-ux/router/impl/route.test.tsx diff --git a/packages/shared-ux/router/impl/route.tsx b/src/platform/packages/shared/shared-ux/router/impl/route.tsx similarity index 100% rename from packages/shared-ux/router/impl/route.tsx rename to src/platform/packages/shared/shared-ux/router/impl/route.tsx diff --git a/packages/shared-ux/router/impl/router.tsx b/src/platform/packages/shared/shared-ux/router/impl/router.tsx similarity index 100% rename from packages/shared-ux/router/impl/router.tsx rename to src/platform/packages/shared/shared-ux/router/impl/router.tsx diff --git a/packages/shared-ux/router/impl/routes.tsx b/src/platform/packages/shared/shared-ux/router/impl/routes.tsx similarity index 100% rename from packages/shared-ux/router/impl/routes.tsx rename to src/platform/packages/shared/shared-ux/router/impl/routes.tsx diff --git a/packages/shared-ux/router/impl/routes_context.ts b/src/platform/packages/shared/shared-ux/router/impl/routes_context.ts similarity index 100% rename from packages/shared-ux/router/impl/routes_context.ts rename to src/platform/packages/shared/shared-ux/router/impl/routes_context.ts diff --git a/packages/shared-ux/router/impl/services.ts b/src/platform/packages/shared/shared-ux/router/impl/services.ts similarity index 100% rename from packages/shared-ux/router/impl/services.ts rename to src/platform/packages/shared/shared-ux/router/impl/services.ts diff --git a/packages/shared-ux/router/impl/tsconfig.json b/src/platform/packages/shared/shared-ux/router/impl/tsconfig.json similarity index 81% rename from packages/shared-ux/router/impl/tsconfig.json rename to src/platform/packages/shared/shared-ux/router/impl/tsconfig.json index 13e290e2dea0b..c556285229b32 100644 --- a/packages/shared-ux/router/impl/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/router/impl/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/router/impl/types.ts b/src/platform/packages/shared/shared-ux/router/impl/types.ts similarity index 100% rename from packages/shared-ux/router/impl/types.ts rename to src/platform/packages/shared/shared-ux/router/impl/types.ts diff --git a/packages/shared-ux/router/impl/use_execution_context.ts b/src/platform/packages/shared/shared-ux/router/impl/use_execution_context.ts similarity index 100% rename from packages/shared-ux/router/impl/use_execution_context.ts rename to src/platform/packages/shared/shared-ux/router/impl/use_execution_context.ts diff --git a/packages/shared-ux/router/mocks/README.md b/src/platform/packages/shared/shared-ux/router/mocks/README.md similarity index 100% rename from packages/shared-ux/router/mocks/README.md rename to src/platform/packages/shared/shared-ux/router/mocks/README.md diff --git a/packages/shared-ux/router/mocks/index.ts b/src/platform/packages/shared/shared-ux/router/mocks/index.ts similarity index 100% rename from packages/shared-ux/router/mocks/index.ts rename to src/platform/packages/shared/shared-ux/router/mocks/index.ts diff --git a/src/platform/packages/shared/shared-ux/router/mocks/jest.config.js b/src/platform/packages/shared/shared-ux/router/mocks/jest.config.js new file mode 100644 index 0000000000000..ffc2ca2fbaa15 --- /dev/null +++ b/src/platform/packages/shared/shared-ux/router/mocks/jest.config.js @@ -0,0 +1,14 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the "Elastic License + * 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side + * Public License v 1"; you may not use this file except in compliance with, at + * your election, the "Elastic License 2.0", the "GNU Affero General Public + * License v3.0 only", or the "Server Side Public License, v 1". + */ + +module.exports = { + preset: '@kbn/test', + rootDir: '../../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/router/mocks'], +}; diff --git a/packages/shared-ux/router/mocks/kibana.jsonc b/src/platform/packages/shared/shared-ux/router/mocks/kibana.jsonc similarity index 100% rename from packages/shared-ux/router/mocks/kibana.jsonc rename to src/platform/packages/shared/shared-ux/router/mocks/kibana.jsonc diff --git a/packages/shared-ux/router/mocks/package.json b/src/platform/packages/shared/shared-ux/router/mocks/package.json similarity index 100% rename from packages/shared-ux/router/mocks/package.json rename to src/platform/packages/shared/shared-ux/router/mocks/package.json diff --git a/packages/shared-ux/router/mocks/src/index.ts b/src/platform/packages/shared/shared-ux/router/mocks/src/index.ts similarity index 100% rename from packages/shared-ux/router/mocks/src/index.ts rename to src/platform/packages/shared/shared-ux/router/mocks/src/index.ts diff --git a/packages/shared-ux/router/mocks/src/storybook.ts b/src/platform/packages/shared/shared-ux/router/mocks/src/storybook.ts similarity index 100% rename from packages/shared-ux/router/mocks/src/storybook.ts rename to src/platform/packages/shared/shared-ux/router/mocks/src/storybook.ts diff --git a/packages/shared-ux/router/mocks/tsconfig.json b/src/platform/packages/shared/shared-ux/router/mocks/tsconfig.json similarity index 79% rename from packages/shared-ux/router/mocks/tsconfig.json rename to src/platform/packages/shared/shared-ux/router/mocks/tsconfig.json index 693d1ee9ce31e..5a89e075e3210 100644 --- a/packages/shared-ux/router/mocks/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/router/mocks/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/router/types/README.md b/src/platform/packages/shared/shared-ux/router/types/README.md similarity index 100% rename from packages/shared-ux/router/types/README.md rename to src/platform/packages/shared/shared-ux/router/types/README.md diff --git a/packages/shared-ux/router/types/index.d.ts b/src/platform/packages/shared/shared-ux/router/types/index.d.ts similarity index 100% rename from packages/shared-ux/router/types/index.d.ts rename to src/platform/packages/shared/shared-ux/router/types/index.d.ts diff --git a/packages/shared-ux/router/types/kibana.jsonc b/src/platform/packages/shared/shared-ux/router/types/kibana.jsonc similarity index 100% rename from packages/shared-ux/router/types/kibana.jsonc rename to src/platform/packages/shared/shared-ux/router/types/kibana.jsonc diff --git a/packages/shared-ux/router/types/package.json b/src/platform/packages/shared/shared-ux/router/types/package.json similarity index 100% rename from packages/shared-ux/router/types/package.json rename to src/platform/packages/shared/shared-ux/router/types/package.json diff --git a/packages/shared-ux/router/types/tsconfig.json b/src/platform/packages/shared/shared-ux/router/types/tsconfig.json similarity index 72% rename from packages/shared-ux/router/types/tsconfig.json rename to src/platform/packages/shared/shared-ux/router/types/tsconfig.json index cf858a91253d4..77fa209b4ba88 100644 --- a/packages/shared-ux/router/types/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/router/types/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [] diff --git a/packages/shared-ux/storybook/mock/README.mdx b/src/platform/packages/shared/shared-ux/storybook/mock/README.mdx similarity index 100% rename from packages/shared-ux/storybook/mock/README.mdx rename to src/platform/packages/shared/shared-ux/storybook/mock/README.mdx diff --git a/packages/shared-ux/storybook/mock/index.ts b/src/platform/packages/shared/shared-ux/storybook/mock/index.ts similarity index 100% rename from packages/shared-ux/storybook/mock/index.ts rename to src/platform/packages/shared/shared-ux/storybook/mock/index.ts diff --git a/packages/shared-ux/storybook/mock/kibana.jsonc b/src/platform/packages/shared/shared-ux/storybook/mock/kibana.jsonc similarity index 100% rename from packages/shared-ux/storybook/mock/kibana.jsonc rename to src/platform/packages/shared/shared-ux/storybook/mock/kibana.jsonc diff --git a/packages/shared-ux/storybook/mock/package.json b/src/platform/packages/shared/shared-ux/storybook/mock/package.json similarity index 100% rename from packages/shared-ux/storybook/mock/package.json rename to src/platform/packages/shared/shared-ux/storybook/mock/package.json diff --git a/packages/shared-ux/storybook/mock/src/mocks.ts b/src/platform/packages/shared/shared-ux/storybook/mock/src/mocks.ts similarity index 100% rename from packages/shared-ux/storybook/mock/src/mocks.ts rename to src/platform/packages/shared/shared-ux/storybook/mock/src/mocks.ts diff --git a/packages/shared-ux/storybook/mock/tsconfig.json b/src/platform/packages/shared/shared-ux/storybook/mock/tsconfig.json similarity index 77% rename from packages/shared-ux/storybook/mock/tsconfig.json rename to src/platform/packages/shared/shared-ux/storybook/mock/tsconfig.json index 0f16c2b9311d8..985b163edb9b5 100644 --- a/packages/shared-ux/storybook/mock/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/storybook/mock/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../../tsconfig.base.json", + "extends": "../../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/packages/shared-ux/table_persist/README.md b/src/platform/packages/shared/shared-ux/table_persist/README.md similarity index 100% rename from packages/shared-ux/table_persist/README.md rename to src/platform/packages/shared/shared-ux/table_persist/README.md diff --git a/packages/shared-ux/table_persist/index.ts b/src/platform/packages/shared/shared-ux/table_persist/index.ts similarity index 100% rename from packages/shared-ux/table_persist/index.ts rename to src/platform/packages/shared/shared-ux/table_persist/index.ts diff --git a/packages/shared-ux/card/no_data/impl/jest.config.js b/src/platform/packages/shared/shared-ux/table_persist/jest.config.js similarity index 82% rename from packages/shared-ux/card/no_data/impl/jest.config.js rename to src/platform/packages/shared/shared-ux/table_persist/jest.config.js index 29400c16c5cc2..86b4caf2e209c 100644 --- a/packages/shared-ux/card/no_data/impl/jest.config.js +++ b/src/platform/packages/shared/shared-ux/table_persist/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../../../../..', - roots: ['/packages/shared-ux/card/no_data'], + rootDir: '../../../../../..', + roots: ['/src/platform/packages/shared/shared-ux/table_persist'], }; diff --git a/packages/shared-ux/table_persist/kibana.jsonc b/src/platform/packages/shared/shared-ux/table_persist/kibana.jsonc similarity index 83% rename from packages/shared-ux/table_persist/kibana.jsonc rename to src/platform/packages/shared/shared-ux/table_persist/kibana.jsonc index 1885d24038200..9e20cfeb183f5 100644 --- a/packages/shared-ux/table_persist/kibana.jsonc +++ b/src/platform/packages/shared/shared-ux/table_persist/kibana.jsonc @@ -5,5 +5,5 @@ "@elastic/appex-sharedux" ], "group": "platform", - "visibility": "private" -} \ No newline at end of file + "visibility": "shared" +} diff --git a/packages/shared-ux/table_persist/package.json b/src/platform/packages/shared/shared-ux/table_persist/package.json similarity index 100% rename from packages/shared-ux/table_persist/package.json rename to src/platform/packages/shared/shared-ux/table_persist/package.json diff --git a/packages/shared-ux/table_persist/src/constants.ts b/src/platform/packages/shared/shared-ux/table_persist/src/constants.ts similarity index 100% rename from packages/shared-ux/table_persist/src/constants.ts rename to src/platform/packages/shared/shared-ux/table_persist/src/constants.ts diff --git a/packages/shared-ux/table_persist/src/index.ts b/src/platform/packages/shared/shared-ux/table_persist/src/index.ts similarity index 100% rename from packages/shared-ux/table_persist/src/index.ts rename to src/platform/packages/shared/shared-ux/table_persist/src/index.ts diff --git a/packages/shared-ux/table_persist/src/storage.ts b/src/platform/packages/shared/shared-ux/table_persist/src/storage.ts similarity index 100% rename from packages/shared-ux/table_persist/src/storage.ts rename to src/platform/packages/shared/shared-ux/table_persist/src/storage.ts diff --git a/packages/shared-ux/table_persist/src/table_persist_hoc.test.tsx b/src/platform/packages/shared/shared-ux/table_persist/src/table_persist_hoc.test.tsx similarity index 100% rename from packages/shared-ux/table_persist/src/table_persist_hoc.test.tsx rename to src/platform/packages/shared/shared-ux/table_persist/src/table_persist_hoc.test.tsx diff --git a/packages/shared-ux/table_persist/src/table_persist_hoc.tsx b/src/platform/packages/shared/shared-ux/table_persist/src/table_persist_hoc.tsx similarity index 100% rename from packages/shared-ux/table_persist/src/table_persist_hoc.tsx rename to src/platform/packages/shared/shared-ux/table_persist/src/table_persist_hoc.tsx diff --git a/packages/shared-ux/table_persist/src/types.ts b/src/platform/packages/shared/shared-ux/table_persist/src/types.ts similarity index 100% rename from packages/shared-ux/table_persist/src/types.ts rename to src/platform/packages/shared/shared-ux/table_persist/src/types.ts diff --git a/packages/shared-ux/table_persist/src/use_table_persist.test.ts b/src/platform/packages/shared/shared-ux/table_persist/src/use_table_persist.test.ts similarity index 100% rename from packages/shared-ux/table_persist/src/use_table_persist.test.ts rename to src/platform/packages/shared/shared-ux/table_persist/src/use_table_persist.test.ts diff --git a/packages/shared-ux/table_persist/src/use_table_persist.ts b/src/platform/packages/shared/shared-ux/table_persist/src/use_table_persist.ts similarity index 100% rename from packages/shared-ux/table_persist/src/use_table_persist.ts rename to src/platform/packages/shared/shared-ux/table_persist/src/use_table_persist.ts diff --git a/packages/shared-ux/table_persist/src/validate_persist_data.ts b/src/platform/packages/shared/shared-ux/table_persist/src/validate_persist_data.ts similarity index 100% rename from packages/shared-ux/table_persist/src/validate_persist_data.ts rename to src/platform/packages/shared/shared-ux/table_persist/src/validate_persist_data.ts diff --git a/packages/shared-ux/table_persist/src/validate_persist_date.test.ts b/src/platform/packages/shared/shared-ux/table_persist/src/validate_persist_date.test.ts similarity index 100% rename from packages/shared-ux/table_persist/src/validate_persist_date.test.ts rename to src/platform/packages/shared/shared-ux/table_persist/src/validate_persist_date.test.ts diff --git a/packages/shared-ux/table_persist/tsconfig.json b/src/platform/packages/shared/shared-ux/table_persist/tsconfig.json similarity index 81% rename from packages/shared-ux/table_persist/tsconfig.json rename to src/platform/packages/shared/shared-ux/table_persist/tsconfig.json index 60e639fea37e0..01174e136eb6a 100644 --- a/packages/shared-ux/table_persist/tsconfig.json +++ b/src/platform/packages/shared/shared-ux/table_persist/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../../tsconfig.base.json", + "extends": "../../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index 9dddd8d5c1d8a..6f2aa8940c7ee 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1732,106 +1732,106 @@ "@kbn/share-plugin/*": ["src/platform/plugins/shared/share/*"], "@kbn/shared-svg": ["src/platform/packages/shared/kbn-shared-svg"], "@kbn/shared-svg/*": ["src/platform/packages/shared/kbn-shared-svg/*"], - "@kbn/shared-ux-avatar-solution": ["packages/shared-ux/avatar/solution"], - "@kbn/shared-ux-avatar-solution/*": ["packages/shared-ux/avatar/solution/*"], - "@kbn/shared-ux-button-exit-full-screen": ["packages/shared-ux/button/exit_full_screen"], - "@kbn/shared-ux-button-exit-full-screen/*": ["packages/shared-ux/button/exit_full_screen/*"], - "@kbn/shared-ux-button-toolbar": ["packages/shared-ux/button_toolbar"], - "@kbn/shared-ux-button-toolbar/*": ["packages/shared-ux/button_toolbar/*"], - "@kbn/shared-ux-card-no-data": ["packages/shared-ux/card/no_data/impl"], - "@kbn/shared-ux-card-no-data/*": ["packages/shared-ux/card/no_data/impl/*"], - "@kbn/shared-ux-card-no-data-mocks": ["packages/shared-ux/card/no_data/mocks"], - "@kbn/shared-ux-card-no-data-mocks/*": ["packages/shared-ux/card/no_data/mocks/*"], - "@kbn/shared-ux-card-no-data-types": ["packages/shared-ux/card/no_data/types"], - "@kbn/shared-ux-card-no-data-types/*": ["packages/shared-ux/card/no_data/types/*"], - "@kbn/shared-ux-chrome-navigation": ["packages/shared-ux/chrome/navigation"], - "@kbn/shared-ux-chrome-navigation/*": ["packages/shared-ux/chrome/navigation/*"], - "@kbn/shared-ux-error-boundary": ["packages/shared-ux/error_boundary"], - "@kbn/shared-ux-error-boundary/*": ["packages/shared-ux/error_boundary/*"], - "@kbn/shared-ux-file-context": ["packages/shared-ux/file/context"], - "@kbn/shared-ux-file-context/*": ["packages/shared-ux/file/context/*"], - "@kbn/shared-ux-file-image": ["packages/shared-ux/file/image/impl"], - "@kbn/shared-ux-file-image/*": ["packages/shared-ux/file/image/impl/*"], - "@kbn/shared-ux-file-image-mocks": ["packages/shared-ux/file/image/mocks"], - "@kbn/shared-ux-file-image-mocks/*": ["packages/shared-ux/file/image/mocks/*"], - "@kbn/shared-ux-file-mocks": ["packages/shared-ux/file/mocks"], - "@kbn/shared-ux-file-mocks/*": ["packages/shared-ux/file/mocks/*"], - "@kbn/shared-ux-file-picker": ["packages/shared-ux/file/file_picker/impl"], - "@kbn/shared-ux-file-picker/*": ["packages/shared-ux/file/file_picker/impl/*"], - "@kbn/shared-ux-file-types": ["packages/shared-ux/file/types"], - "@kbn/shared-ux-file-types/*": ["packages/shared-ux/file/types/*"], - "@kbn/shared-ux-file-upload": ["packages/shared-ux/file/file_upload/impl"], - "@kbn/shared-ux-file-upload/*": ["packages/shared-ux/file/file_upload/impl/*"], - "@kbn/shared-ux-file-util": ["packages/shared-ux/file/util"], - "@kbn/shared-ux-file-util/*": ["packages/shared-ux/file/util/*"], - "@kbn/shared-ux-link-redirect-app": ["packages/shared-ux/link/redirect_app/impl"], - "@kbn/shared-ux-link-redirect-app/*": ["packages/shared-ux/link/redirect_app/impl/*"], - "@kbn/shared-ux-link-redirect-app-mocks": ["packages/shared-ux/link/redirect_app/mocks"], - "@kbn/shared-ux-link-redirect-app-mocks/*": ["packages/shared-ux/link/redirect_app/mocks/*"], - "@kbn/shared-ux-link-redirect-app-types": ["packages/shared-ux/link/redirect_app/types"], - "@kbn/shared-ux-link-redirect-app-types/*": ["packages/shared-ux/link/redirect_app/types/*"], - "@kbn/shared-ux-markdown": ["packages/shared-ux/markdown/impl"], - "@kbn/shared-ux-markdown/*": ["packages/shared-ux/markdown/impl/*"], - "@kbn/shared-ux-markdown-mocks": ["packages/shared-ux/markdown/mocks"], - "@kbn/shared-ux-markdown-mocks/*": ["packages/shared-ux/markdown/mocks/*"], - "@kbn/shared-ux-markdown-types": ["packages/shared-ux/markdown/types"], - "@kbn/shared-ux-markdown-types/*": ["packages/shared-ux/markdown/types/*"], - "@kbn/shared-ux-page-analytics-no-data": ["packages/shared-ux/page/analytics_no_data/impl"], - "@kbn/shared-ux-page-analytics-no-data/*": ["packages/shared-ux/page/analytics_no_data/impl/*"], - "@kbn/shared-ux-page-analytics-no-data-mocks": ["packages/shared-ux/page/analytics_no_data/mocks"], - "@kbn/shared-ux-page-analytics-no-data-mocks/*": ["packages/shared-ux/page/analytics_no_data/mocks/*"], - "@kbn/shared-ux-page-analytics-no-data-types": ["packages/shared-ux/page/analytics_no_data/types"], - "@kbn/shared-ux-page-analytics-no-data-types/*": ["packages/shared-ux/page/analytics_no_data/types/*"], - "@kbn/shared-ux-page-kibana-no-data": ["packages/shared-ux/page/kibana_no_data/impl"], - "@kbn/shared-ux-page-kibana-no-data/*": ["packages/shared-ux/page/kibana_no_data/impl/*"], - "@kbn/shared-ux-page-kibana-no-data-mocks": ["packages/shared-ux/page/kibana_no_data/mocks"], - "@kbn/shared-ux-page-kibana-no-data-mocks/*": ["packages/shared-ux/page/kibana_no_data/mocks/*"], - "@kbn/shared-ux-page-kibana-no-data-types": ["packages/shared-ux/page/kibana_no_data/types"], - "@kbn/shared-ux-page-kibana-no-data-types/*": ["packages/shared-ux/page/kibana_no_data/types/*"], - "@kbn/shared-ux-page-kibana-template": ["packages/shared-ux/page/kibana_template/impl"], - "@kbn/shared-ux-page-kibana-template/*": ["packages/shared-ux/page/kibana_template/impl/*"], - "@kbn/shared-ux-page-kibana-template-mocks": ["packages/shared-ux/page/kibana_template/mocks"], - "@kbn/shared-ux-page-kibana-template-mocks/*": ["packages/shared-ux/page/kibana_template/mocks/*"], - "@kbn/shared-ux-page-kibana-template-types": ["packages/shared-ux/page/kibana_template/types"], - "@kbn/shared-ux-page-kibana-template-types/*": ["packages/shared-ux/page/kibana_template/types/*"], - "@kbn/shared-ux-page-no-data": ["packages/shared-ux/page/no_data/impl"], - "@kbn/shared-ux-page-no-data/*": ["packages/shared-ux/page/no_data/impl/*"], - "@kbn/shared-ux-page-no-data-config": ["packages/shared-ux/page/no_data_config/impl"], - "@kbn/shared-ux-page-no-data-config/*": ["packages/shared-ux/page/no_data_config/impl/*"], - "@kbn/shared-ux-page-no-data-config-mocks": ["packages/shared-ux/page/no_data_config/mocks"], - "@kbn/shared-ux-page-no-data-config-mocks/*": ["packages/shared-ux/page/no_data_config/mocks/*"], - "@kbn/shared-ux-page-no-data-config-types": ["packages/shared-ux/page/no_data_config/types"], - "@kbn/shared-ux-page-no-data-config-types/*": ["packages/shared-ux/page/no_data_config/types/*"], - "@kbn/shared-ux-page-no-data-mocks": ["packages/shared-ux/page/no_data/mocks"], - "@kbn/shared-ux-page-no-data-mocks/*": ["packages/shared-ux/page/no_data/mocks/*"], - "@kbn/shared-ux-page-no-data-types": ["packages/shared-ux/page/no_data/types"], - "@kbn/shared-ux-page-no-data-types/*": ["packages/shared-ux/page/no_data/types/*"], - "@kbn/shared-ux-page-solution-nav": ["packages/shared-ux/page/solution_nav"], - "@kbn/shared-ux-page-solution-nav/*": ["packages/shared-ux/page/solution_nav/*"], - "@kbn/shared-ux-prompt-no-data-views": ["packages/shared-ux/prompt/no_data_views/impl"], - "@kbn/shared-ux-prompt-no-data-views/*": ["packages/shared-ux/prompt/no_data_views/impl/*"], - "@kbn/shared-ux-prompt-no-data-views-mocks": ["packages/shared-ux/prompt/no_data_views/mocks"], - "@kbn/shared-ux-prompt-no-data-views-mocks/*": ["packages/shared-ux/prompt/no_data_views/mocks/*"], - "@kbn/shared-ux-prompt-no-data-views-types": ["packages/shared-ux/prompt/no_data_views/types"], - "@kbn/shared-ux-prompt-no-data-views-types/*": ["packages/shared-ux/prompt/no_data_views/types/*"], - "@kbn/shared-ux-prompt-not-found": ["packages/shared-ux/prompt/not_found"], - "@kbn/shared-ux-prompt-not-found/*": ["packages/shared-ux/prompt/not_found/*"], - "@kbn/shared-ux-router": ["packages/shared-ux/router/impl"], - "@kbn/shared-ux-router/*": ["packages/shared-ux/router/impl/*"], - "@kbn/shared-ux-router-mocks": ["packages/shared-ux/router/mocks"], - "@kbn/shared-ux-router-mocks/*": ["packages/shared-ux/router/mocks/*"], - "@kbn/shared-ux-router-types": ["packages/shared-ux/router/types"], - "@kbn/shared-ux-router-types/*": ["packages/shared-ux/router/types/*"], - "@kbn/shared-ux-storybook-config": ["packages/shared-ux/storybook/config"], - "@kbn/shared-ux-storybook-config/*": ["packages/shared-ux/storybook/config/*"], - "@kbn/shared-ux-storybook-mock": ["packages/shared-ux/storybook/mock"], - "@kbn/shared-ux-storybook-mock/*": ["packages/shared-ux/storybook/mock/*"], - "@kbn/shared-ux-tabbed-modal": ["packages/shared-ux/modal/tabbed"], - "@kbn/shared-ux-tabbed-modal/*": ["packages/shared-ux/modal/tabbed/*"], - "@kbn/shared-ux-table-persist": ["packages/shared-ux/table_persist"], - "@kbn/shared-ux-table-persist/*": ["packages/shared-ux/table_persist/*"], - "@kbn/shared-ux-utility": ["packages/kbn-shared-ux-utility"], - "@kbn/shared-ux-utility/*": ["packages/kbn-shared-ux-utility/*"], + "@kbn/shared-ux-avatar-solution": ["src/platform/packages/shared/shared-ux/avatar/solution"], + "@kbn/shared-ux-avatar-solution/*": ["src/platform/packages/shared/shared-ux/avatar/solution/*"], + "@kbn/shared-ux-button-exit-full-screen": ["src/platform/packages/shared/shared-ux/button/exit_full_screen"], + "@kbn/shared-ux-button-exit-full-screen/*": ["src/platform/packages/shared/shared-ux/button/exit_full_screen/*"], + "@kbn/shared-ux-button-toolbar": ["src/platform/packages/shared/shared-ux/button_toolbar"], + "@kbn/shared-ux-button-toolbar/*": ["src/platform/packages/shared/shared-ux/button_toolbar/*"], + "@kbn/shared-ux-card-no-data": ["src/platform/packages/shared/shared-ux/card/no_data/impl"], + "@kbn/shared-ux-card-no-data/*": ["src/platform/packages/shared/shared-ux/card/no_data/impl/*"], + "@kbn/shared-ux-card-no-data-mocks": ["src/platform/packages/shared/shared-ux/card/no_data/mocks"], + "@kbn/shared-ux-card-no-data-mocks/*": ["src/platform/packages/shared/shared-ux/card/no_data/mocks/*"], + "@kbn/shared-ux-card-no-data-types": ["src/platform/packages/shared/shared-ux/card/no_data/types"], + "@kbn/shared-ux-card-no-data-types/*": ["src/platform/packages/shared/shared-ux/card/no_data/types/*"], + "@kbn/shared-ux-chrome-navigation": ["src/platform/packages/shared/shared-ux/chrome/navigation"], + "@kbn/shared-ux-chrome-navigation/*": ["src/platform/packages/shared/shared-ux/chrome/navigation/*"], + "@kbn/shared-ux-error-boundary": ["src/platform/packages/shared/shared-ux/error_boundary"], + "@kbn/shared-ux-error-boundary/*": ["src/platform/packages/shared/shared-ux/error_boundary/*"], + "@kbn/shared-ux-file-context": ["src/platform/packages/shared/shared-ux/file/context"], + "@kbn/shared-ux-file-context/*": ["src/platform/packages/shared/shared-ux/file/context/*"], + "@kbn/shared-ux-file-image": ["src/platform/packages/shared/shared-ux/file/image/impl"], + "@kbn/shared-ux-file-image/*": ["src/platform/packages/shared/shared-ux/file/image/impl/*"], + "@kbn/shared-ux-file-image-mocks": ["src/platform/packages/shared/shared-ux/file/image/mocks"], + "@kbn/shared-ux-file-image-mocks/*": ["src/platform/packages/shared/shared-ux/file/image/mocks/*"], + "@kbn/shared-ux-file-mocks": ["src/platform/packages/shared/shared-ux/file/mocks"], + "@kbn/shared-ux-file-mocks/*": ["src/platform/packages/shared/shared-ux/file/mocks/*"], + "@kbn/shared-ux-file-picker": ["src/platform/packages/shared/shared-ux/file/file_picker/impl"], + "@kbn/shared-ux-file-picker/*": ["src/platform/packages/shared/shared-ux/file/file_picker/impl/*"], + "@kbn/shared-ux-file-types": ["src/platform/packages/shared/shared-ux/file/types"], + "@kbn/shared-ux-file-types/*": ["src/platform/packages/shared/shared-ux/file/types/*"], + "@kbn/shared-ux-file-upload": ["src/platform/packages/shared/shared-ux/file/file_upload/impl"], + "@kbn/shared-ux-file-upload/*": ["src/platform/packages/shared/shared-ux/file/file_upload/impl/*"], + "@kbn/shared-ux-file-util": ["src/platform/packages/shared/shared-ux/file/util"], + "@kbn/shared-ux-file-util/*": ["src/platform/packages/shared/shared-ux/file/util/*"], + "@kbn/shared-ux-link-redirect-app": ["src/platform/packages/shared/shared-ux/link/redirect_app/impl"], + "@kbn/shared-ux-link-redirect-app/*": ["src/platform/packages/shared/shared-ux/link/redirect_app/impl/*"], + "@kbn/shared-ux-link-redirect-app-mocks": ["src/platform/packages/shared/shared-ux/link/redirect_app/mocks"], + "@kbn/shared-ux-link-redirect-app-mocks/*": ["src/platform/packages/shared/shared-ux/link/redirect_app/mocks/*"], + "@kbn/shared-ux-link-redirect-app-types": ["src/platform/packages/shared/shared-ux/link/redirect_app/types"], + "@kbn/shared-ux-link-redirect-app-types/*": ["src/platform/packages/shared/shared-ux/link/redirect_app/types/*"], + "@kbn/shared-ux-markdown": ["src/platform/packages/shared/shared-ux/markdown/impl"], + "@kbn/shared-ux-markdown/*": ["src/platform/packages/shared/shared-ux/markdown/impl/*"], + "@kbn/shared-ux-markdown-mocks": ["src/platform/packages/shared/shared-ux/markdown/mocks"], + "@kbn/shared-ux-markdown-mocks/*": ["src/platform/packages/shared/shared-ux/markdown/mocks/*"], + "@kbn/shared-ux-markdown-types": ["src/platform/packages/shared/shared-ux/markdown/types"], + "@kbn/shared-ux-markdown-types/*": ["src/platform/packages/shared/shared-ux/markdown/types/*"], + "@kbn/shared-ux-page-analytics-no-data": ["src/platform/packages/private/shared-ux/page/analytics_no_data/impl"], + "@kbn/shared-ux-page-analytics-no-data/*": ["src/platform/packages/private/shared-ux/page/analytics_no_data/impl/*"], + "@kbn/shared-ux-page-analytics-no-data-mocks": ["src/platform/packages/private/shared-ux/page/analytics_no_data/mocks"], + "@kbn/shared-ux-page-analytics-no-data-mocks/*": ["src/platform/packages/private/shared-ux/page/analytics_no_data/mocks/*"], + "@kbn/shared-ux-page-analytics-no-data-types": ["src/platform/packages/private/shared-ux/page/analytics_no_data/types"], + "@kbn/shared-ux-page-analytics-no-data-types/*": ["src/platform/packages/private/shared-ux/page/analytics_no_data/types/*"], + "@kbn/shared-ux-page-kibana-no-data": ["src/platform/packages/private/shared-ux/page/kibana_no_data/impl"], + "@kbn/shared-ux-page-kibana-no-data/*": ["src/platform/packages/private/shared-ux/page/kibana_no_data/impl/*"], + "@kbn/shared-ux-page-kibana-no-data-mocks": ["src/platform/packages/private/shared-ux/page/kibana_no_data/mocks"], + "@kbn/shared-ux-page-kibana-no-data-mocks/*": ["src/platform/packages/private/shared-ux/page/kibana_no_data/mocks/*"], + "@kbn/shared-ux-page-kibana-no-data-types": ["src/platform/packages/private/shared-ux/page/kibana_no_data/types"], + "@kbn/shared-ux-page-kibana-no-data-types/*": ["src/platform/packages/private/shared-ux/page/kibana_no_data/types/*"], + "@kbn/shared-ux-page-kibana-template": ["src/platform/packages/shared/shared-ux/page/kibana_template/impl"], + "@kbn/shared-ux-page-kibana-template/*": ["src/platform/packages/shared/shared-ux/page/kibana_template/impl/*"], + "@kbn/shared-ux-page-kibana-template-mocks": ["src/platform/packages/shared/shared-ux/page/kibana_template/mocks"], + "@kbn/shared-ux-page-kibana-template-mocks/*": ["src/platform/packages/shared/shared-ux/page/kibana_template/mocks/*"], + "@kbn/shared-ux-page-kibana-template-types": ["src/platform/packages/shared/shared-ux/page/kibana_template/types"], + "@kbn/shared-ux-page-kibana-template-types/*": ["src/platform/packages/shared/shared-ux/page/kibana_template/types/*"], + "@kbn/shared-ux-page-no-data": ["src/platform/packages/shared/shared-ux/page/no_data/impl"], + "@kbn/shared-ux-page-no-data/*": ["src/platform/packages/shared/shared-ux/page/no_data/impl/*"], + "@kbn/shared-ux-page-no-data-config": ["src/platform/packages/shared/shared-ux/page/no_data_config/impl"], + "@kbn/shared-ux-page-no-data-config/*": ["src/platform/packages/shared/shared-ux/page/no_data_config/impl/*"], + "@kbn/shared-ux-page-no-data-config-mocks": ["src/platform/packages/shared/shared-ux/page/no_data_config/mocks"], + "@kbn/shared-ux-page-no-data-config-mocks/*": ["src/platform/packages/shared/shared-ux/page/no_data_config/mocks/*"], + "@kbn/shared-ux-page-no-data-config-types": ["src/platform/packages/shared/shared-ux/page/no_data_config/types"], + "@kbn/shared-ux-page-no-data-config-types/*": ["src/platform/packages/shared/shared-ux/page/no_data_config/types/*"], + "@kbn/shared-ux-page-no-data-mocks": ["src/platform/packages/shared/shared-ux/page/no_data/mocks"], + "@kbn/shared-ux-page-no-data-mocks/*": ["src/platform/packages/shared/shared-ux/page/no_data/mocks/*"], + "@kbn/shared-ux-page-no-data-types": ["src/platform/packages/shared/shared-ux/page/no_data/types"], + "@kbn/shared-ux-page-no-data-types/*": ["src/platform/packages/shared/shared-ux/page/no_data/types/*"], + "@kbn/shared-ux-page-solution-nav": ["src/platform/packages/shared/shared-ux/page/solution_nav"], + "@kbn/shared-ux-page-solution-nav/*": ["src/platform/packages/shared/shared-ux/page/solution_nav/*"], + "@kbn/shared-ux-prompt-no-data-views": ["src/platform/packages/shared/shared-ux/prompt/no_data_views/impl"], + "@kbn/shared-ux-prompt-no-data-views/*": ["src/platform/packages/shared/shared-ux/prompt/no_data_views/impl/*"], + "@kbn/shared-ux-prompt-no-data-views-mocks": ["src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks"], + "@kbn/shared-ux-prompt-no-data-views-mocks/*": ["src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks/*"], + "@kbn/shared-ux-prompt-no-data-views-types": ["src/platform/packages/shared/shared-ux/prompt/no_data_views/types"], + "@kbn/shared-ux-prompt-no-data-views-types/*": ["src/platform/packages/shared/shared-ux/prompt/no_data_views/types/*"], + "@kbn/shared-ux-prompt-not-found": ["src/platform/packages/shared/shared-ux/prompt/not_found"], + "@kbn/shared-ux-prompt-not-found/*": ["src/platform/packages/shared/shared-ux/prompt/not_found/*"], + "@kbn/shared-ux-router": ["src/platform/packages/shared/shared-ux/router/impl"], + "@kbn/shared-ux-router/*": ["src/platform/packages/shared/shared-ux/router/impl/*"], + "@kbn/shared-ux-router-mocks": ["src/platform/packages/shared/shared-ux/router/mocks"], + "@kbn/shared-ux-router-mocks/*": ["src/platform/packages/shared/shared-ux/router/mocks/*"], + "@kbn/shared-ux-router-types": ["src/platform/packages/shared/shared-ux/router/types"], + "@kbn/shared-ux-router-types/*": ["src/platform/packages/shared/shared-ux/router/types/*"], + "@kbn/shared-ux-storybook-config": ["src/platform/packages/private/shared-ux/storybook/config"], + "@kbn/shared-ux-storybook-config/*": ["src/platform/packages/private/shared-ux/storybook/config/*"], + "@kbn/shared-ux-storybook-mock": ["src/platform/packages/shared/shared-ux/storybook/mock"], + "@kbn/shared-ux-storybook-mock/*": ["src/platform/packages/shared/shared-ux/storybook/mock/*"], + "@kbn/shared-ux-tabbed-modal": ["src/platform/packages/shared/shared-ux/modal/tabbed"], + "@kbn/shared-ux-tabbed-modal/*": ["src/platform/packages/shared/shared-ux/modal/tabbed/*"], + "@kbn/shared-ux-table-persist": ["src/platform/packages/shared/shared-ux/table_persist"], + "@kbn/shared-ux-table-persist/*": ["src/platform/packages/shared/shared-ux/table_persist/*"], + "@kbn/shared-ux-utility": ["src/platform/packages/shared/kbn-shared-ux-utility"], + "@kbn/shared-ux-utility/*": ["src/platform/packages/shared/kbn-shared-ux-utility/*"], "@kbn/slo-plugin": ["x-pack/solutions/observability/plugins/slo"], "@kbn/slo-plugin/*": ["x-pack/solutions/observability/plugins/slo/*"], "@kbn/slo-schema": ["x-pack/platform/packages/shared/kbn-slo-schema"], diff --git a/yarn.lock b/yarn.lock index 51c8d5dc5e55f..c0b4f270262f8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7307,203 +7307,203 @@ version "0.0.0" uid "" -"@kbn/shared-ux-avatar-solution@link:packages/shared-ux/avatar/solution": +"@kbn/shared-ux-avatar-solution@link:src/platform/packages/shared/shared-ux/avatar/solution": version "0.0.0" uid "" -"@kbn/shared-ux-button-exit-full-screen@link:packages/shared-ux/button/exit_full_screen": +"@kbn/shared-ux-button-exit-full-screen@link:src/platform/packages/shared/shared-ux/button/exit_full_screen": version "0.0.0" uid "" -"@kbn/shared-ux-button-toolbar@link:packages/shared-ux/button_toolbar": +"@kbn/shared-ux-button-toolbar@link:src/platform/packages/shared/shared-ux/button_toolbar": version "0.0.0" uid "" -"@kbn/shared-ux-card-no-data-mocks@link:packages/shared-ux/card/no_data/mocks": +"@kbn/shared-ux-card-no-data-mocks@link:src/platform/packages/shared/shared-ux/card/no_data/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-card-no-data-types@link:packages/shared-ux/card/no_data/types": +"@kbn/shared-ux-card-no-data-types@link:src/platform/packages/shared/shared-ux/card/no_data/types": version "0.0.0" uid "" -"@kbn/shared-ux-card-no-data@link:packages/shared-ux/card/no_data/impl": +"@kbn/shared-ux-card-no-data@link:src/platform/packages/shared/shared-ux/card/no_data/impl": version "0.0.0" uid "" -"@kbn/shared-ux-chrome-navigation@link:packages/shared-ux/chrome/navigation": +"@kbn/shared-ux-chrome-navigation@link:src/platform/packages/shared/shared-ux/chrome/navigation": version "0.0.0" uid "" -"@kbn/shared-ux-error-boundary@link:packages/shared-ux/error_boundary": +"@kbn/shared-ux-error-boundary@link:src/platform/packages/shared/shared-ux/error_boundary": version "0.0.0" uid "" -"@kbn/shared-ux-file-context@link:packages/shared-ux/file/context": +"@kbn/shared-ux-file-context@link:src/platform/packages/shared/shared-ux/file/context": version "0.0.0" uid "" -"@kbn/shared-ux-file-image-mocks@link:packages/shared-ux/file/image/mocks": +"@kbn/shared-ux-file-image-mocks@link:src/platform/packages/shared/shared-ux/file/image/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-file-image@link:packages/shared-ux/file/image/impl": +"@kbn/shared-ux-file-image@link:src/platform/packages/shared/shared-ux/file/image/impl": version "0.0.0" uid "" -"@kbn/shared-ux-file-mocks@link:packages/shared-ux/file/mocks": +"@kbn/shared-ux-file-mocks@link:src/platform/packages/shared/shared-ux/file/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-file-picker@link:packages/shared-ux/file/file_picker/impl": +"@kbn/shared-ux-file-picker@link:src/platform/packages/shared/shared-ux/file/file_picker/impl": version "0.0.0" uid "" -"@kbn/shared-ux-file-types@link:packages/shared-ux/file/types": +"@kbn/shared-ux-file-types@link:src/platform/packages/shared/shared-ux/file/types": version "0.0.0" uid "" -"@kbn/shared-ux-file-upload@link:packages/shared-ux/file/file_upload/impl": +"@kbn/shared-ux-file-upload@link:src/platform/packages/shared/shared-ux/file/file_upload/impl": version "0.0.0" uid "" -"@kbn/shared-ux-file-util@link:packages/shared-ux/file/util": +"@kbn/shared-ux-file-util@link:src/platform/packages/shared/shared-ux/file/util": version "0.0.0" uid "" -"@kbn/shared-ux-link-redirect-app-mocks@link:packages/shared-ux/link/redirect_app/mocks": +"@kbn/shared-ux-link-redirect-app-mocks@link:src/platform/packages/shared/shared-ux/link/redirect_app/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-link-redirect-app-types@link:packages/shared-ux/link/redirect_app/types": +"@kbn/shared-ux-link-redirect-app-types@link:src/platform/packages/shared/shared-ux/link/redirect_app/types": version "0.0.0" uid "" -"@kbn/shared-ux-link-redirect-app@link:packages/shared-ux/link/redirect_app/impl": +"@kbn/shared-ux-link-redirect-app@link:src/platform/packages/shared/shared-ux/link/redirect_app/impl": version "0.0.0" uid "" -"@kbn/shared-ux-markdown-mocks@link:packages/shared-ux/markdown/mocks": +"@kbn/shared-ux-markdown-mocks@link:src/platform/packages/shared/shared-ux/markdown/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-markdown-types@link:packages/shared-ux/markdown/types": +"@kbn/shared-ux-markdown-types@link:src/platform/packages/shared/shared-ux/markdown/types": version "0.0.0" uid "" -"@kbn/shared-ux-markdown@link:packages/shared-ux/markdown/impl": +"@kbn/shared-ux-markdown@link:src/platform/packages/shared/shared-ux/markdown/impl": version "0.0.0" uid "" -"@kbn/shared-ux-page-analytics-no-data-mocks@link:packages/shared-ux/page/analytics_no_data/mocks": +"@kbn/shared-ux-page-analytics-no-data-mocks@link:src/platform/packages/private/shared-ux/page/analytics_no_data/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-page-analytics-no-data-types@link:packages/shared-ux/page/analytics_no_data/types": +"@kbn/shared-ux-page-analytics-no-data-types@link:src/platform/packages/private/shared-ux/page/analytics_no_data/types": version "0.0.0" uid "" -"@kbn/shared-ux-page-analytics-no-data@link:packages/shared-ux/page/analytics_no_data/impl": +"@kbn/shared-ux-page-analytics-no-data@link:src/platform/packages/private/shared-ux/page/analytics_no_data/impl": version "0.0.0" uid "" -"@kbn/shared-ux-page-kibana-no-data-mocks@link:packages/shared-ux/page/kibana_no_data/mocks": +"@kbn/shared-ux-page-kibana-no-data-mocks@link:src/platform/packages/private/shared-ux/page/kibana_no_data/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-page-kibana-no-data-types@link:packages/shared-ux/page/kibana_no_data/types": +"@kbn/shared-ux-page-kibana-no-data-types@link:src/platform/packages/private/shared-ux/page/kibana_no_data/types": version "0.0.0" uid "" -"@kbn/shared-ux-page-kibana-no-data@link:packages/shared-ux/page/kibana_no_data/impl": +"@kbn/shared-ux-page-kibana-no-data@link:src/platform/packages/private/shared-ux/page/kibana_no_data/impl": version "0.0.0" uid "" -"@kbn/shared-ux-page-kibana-template-mocks@link:packages/shared-ux/page/kibana_template/mocks": +"@kbn/shared-ux-page-kibana-template-mocks@link:src/platform/packages/shared/shared-ux/page/kibana_template/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-page-kibana-template-types@link:packages/shared-ux/page/kibana_template/types": +"@kbn/shared-ux-page-kibana-template-types@link:src/platform/packages/shared/shared-ux/page/kibana_template/types": version "0.0.0" uid "" -"@kbn/shared-ux-page-kibana-template@link:packages/shared-ux/page/kibana_template/impl": +"@kbn/shared-ux-page-kibana-template@link:src/platform/packages/shared/shared-ux/page/kibana_template/impl": version "0.0.0" uid "" -"@kbn/shared-ux-page-no-data-config-mocks@link:packages/shared-ux/page/no_data_config/mocks": +"@kbn/shared-ux-page-no-data-config-mocks@link:src/platform/packages/shared/shared-ux/page/no_data_config/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-page-no-data-config-types@link:packages/shared-ux/page/no_data_config/types": +"@kbn/shared-ux-page-no-data-config-types@link:src/platform/packages/shared/shared-ux/page/no_data_config/types": version "0.0.0" uid "" -"@kbn/shared-ux-page-no-data-config@link:packages/shared-ux/page/no_data_config/impl": +"@kbn/shared-ux-page-no-data-config@link:src/platform/packages/shared/shared-ux/page/no_data_config/impl": version "0.0.0" uid "" -"@kbn/shared-ux-page-no-data-mocks@link:packages/shared-ux/page/no_data/mocks": +"@kbn/shared-ux-page-no-data-mocks@link:src/platform/packages/shared/shared-ux/page/no_data/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-page-no-data-types@link:packages/shared-ux/page/no_data/types": +"@kbn/shared-ux-page-no-data-types@link:src/platform/packages/shared/shared-ux/page/no_data/types": version "0.0.0" uid "" -"@kbn/shared-ux-page-no-data@link:packages/shared-ux/page/no_data/impl": +"@kbn/shared-ux-page-no-data@link:src/platform/packages/shared/shared-ux/page/no_data/impl": version "0.0.0" uid "" -"@kbn/shared-ux-page-solution-nav@link:packages/shared-ux/page/solution_nav": +"@kbn/shared-ux-page-solution-nav@link:src/platform/packages/shared/shared-ux/page/solution_nav": version "0.0.0" uid "" -"@kbn/shared-ux-prompt-no-data-views-mocks@link:packages/shared-ux/prompt/no_data_views/mocks": +"@kbn/shared-ux-prompt-no-data-views-mocks@link:src/platform/packages/shared/shared-ux/prompt/no_data_views/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-prompt-no-data-views-types@link:packages/shared-ux/prompt/no_data_views/types": +"@kbn/shared-ux-prompt-no-data-views-types@link:src/platform/packages/shared/shared-ux/prompt/no_data_views/types": version "0.0.0" uid "" -"@kbn/shared-ux-prompt-no-data-views@link:packages/shared-ux/prompt/no_data_views/impl": +"@kbn/shared-ux-prompt-no-data-views@link:src/platform/packages/shared/shared-ux/prompt/no_data_views/impl": version "0.0.0" uid "" -"@kbn/shared-ux-prompt-not-found@link:packages/shared-ux/prompt/not_found": +"@kbn/shared-ux-prompt-not-found@link:src/platform/packages/shared/shared-ux/prompt/not_found": version "0.0.0" uid "" -"@kbn/shared-ux-router-mocks@link:packages/shared-ux/router/mocks": +"@kbn/shared-ux-router-mocks@link:src/platform/packages/shared/shared-ux/router/mocks": version "0.0.0" uid "" -"@kbn/shared-ux-router-types@link:packages/shared-ux/router/types": +"@kbn/shared-ux-router-types@link:src/platform/packages/shared/shared-ux/router/types": version "0.0.0" uid "" -"@kbn/shared-ux-router@link:packages/shared-ux/router/impl": +"@kbn/shared-ux-router@link:src/platform/packages/shared/shared-ux/router/impl": version "0.0.0" uid "" -"@kbn/shared-ux-storybook-config@link:packages/shared-ux/storybook/config": +"@kbn/shared-ux-storybook-config@link:src/platform/packages/private/shared-ux/storybook/config": version "0.0.0" uid "" -"@kbn/shared-ux-storybook-mock@link:packages/shared-ux/storybook/mock": +"@kbn/shared-ux-storybook-mock@link:src/platform/packages/shared/shared-ux/storybook/mock": version "0.0.0" uid "" -"@kbn/shared-ux-tabbed-modal@link:packages/shared-ux/modal/tabbed": +"@kbn/shared-ux-tabbed-modal@link:src/platform/packages/shared/shared-ux/modal/tabbed": version "0.0.0" uid "" -"@kbn/shared-ux-table-persist@link:packages/shared-ux/table_persist": +"@kbn/shared-ux-table-persist@link:src/platform/packages/shared/shared-ux/table_persist": version "0.0.0" uid "" -"@kbn/shared-ux-utility@link:packages/kbn-shared-ux-utility": +"@kbn/shared-ux-utility@link:src/platform/packages/shared/kbn-shared-ux-utility": version "0.0.0" uid ""