diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 63b6baa31a01b..0c956b95c305b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -812,7 +812,7 @@ x-pack/solutions/search/plugins/search_solution/search_navigation @elastic/searc x-pack/solutions/search/plugins/search_notebooks @elastic/search-kibana x-pack/solutions/search/plugins/search_playground @elastic/search-kibana src/platform/packages/shared/kbn-search-response-warnings @elastic/kibana-data-discovery -x-pack/solutions/search/packages/shared_ui @elastic/search-kibana +x-pack/solutions/search/packages/shared-ui @elastic/search-kibana x-pack/solutions/search/plugins/search_synonyms @elastic/search-kibana src/platform/packages/shared/kbn-search-types @elastic/kibana-data-discovery x-pack/platform/plugins/shared/searchprofiler @elastic/kibana-management diff --git a/package.json b/package.json index 7417c610f7be9..c6b6a25e46a35 100644 --- a/package.json +++ b/package.json @@ -814,7 +814,7 @@ "@kbn/search-notebooks": "link:x-pack/solutions/search/plugins/search_notebooks", "@kbn/search-playground": "link:x-pack/solutions/search/plugins/search_playground", "@kbn/search-response-warnings": "link:src/platform/packages/shared/kbn-search-response-warnings", - "@kbn/search-shared-ui": "link:x-pack/solutions/search/packages/shared_ui", + "@kbn/search-shared-ui": "link:x-pack/solutions/search/packages/shared-ui", "@kbn/search-synonyms": "link:x-pack/solutions/search/plugins/search_synonyms", "@kbn/search-types": "link:src/platform/packages/shared/kbn-search-types", "@kbn/searchprofiler-plugin": "link:x-pack/platform/plugins/shared/searchprofiler", diff --git a/tsconfig.base.json b/tsconfig.base.json index 794bff4a6bc7b..f47b779f81457 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1618,8 +1618,8 @@ "@kbn/search-playground/*": ["x-pack/solutions/search/plugins/search_playground/*"], "@kbn/search-response-warnings": ["src/platform/packages/shared/kbn-search-response-warnings"], "@kbn/search-response-warnings/*": ["src/platform/packages/shared/kbn-search-response-warnings/*"], - "@kbn/search-shared-ui": ["x-pack/solutions/search/packages/shared_ui"], - "@kbn/search-shared-ui/*": ["x-pack/solutions/search/packages/shared_ui/*"], + "@kbn/search-shared-ui": ["x-pack/solutions/search/packages/shared-ui"], + "@kbn/search-shared-ui/*": ["x-pack/solutions/search/packages/shared-ui/*"], "@kbn/search-synonyms": ["x-pack/solutions/search/plugins/search_synonyms"], "@kbn/search-synonyms/*": ["x-pack/solutions/search/plugins/search_synonyms/*"], "@kbn/search-types": ["src/platform/packages/shared/kbn-search-types"], diff --git a/x-pack/.i18nrc.json b/x-pack/.i18nrc.json index 5005910903ac4..16bac61cca4df 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -128,7 +128,7 @@ ], "xpack.runtimeFields": "platform/plugins/private/runtime_fields", "xpack.screenshotting": "platform/plugins/shared/screenshotting", - "xpack.searchSharedUI": "solutions/search/packages/shared_ui", + "xpack.searchSharedUI": "solutions/search/packages/shared-ui", "xpack.searchHomepage": "solutions/search/plugins/search_homepage", "xpack.searchIndices": "solutions/search/plugins/search_indices", "xpack.searchNavigation": "solutions/search/plugins/search_solution/search_navigation", diff --git a/x-pack/solutions/search/packages/shared_ui/README.md b/x-pack/solutions/search/packages/shared-ui/README.md similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/README.md rename to x-pack/solutions/search/packages/shared-ui/README.md diff --git a/x-pack/solutions/search/packages/shared_ui/index.ts b/x-pack/solutions/search/packages/shared-ui/index.ts similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/index.ts rename to x-pack/solutions/search/packages/shared-ui/index.ts diff --git a/x-pack/solutions/search/packages/shared_ui/jest.config.js b/x-pack/solutions/search/packages/shared-ui/jest.config.js similarity index 81% rename from x-pack/solutions/search/packages/shared_ui/jest.config.js rename to x-pack/solutions/search/packages/shared-ui/jest.config.js index b18e5ba2e0965..9783c5c4d3937 100644 --- a/x-pack/solutions/search/packages/shared_ui/jest.config.js +++ b/x-pack/solutions/search/packages/shared-ui/jest.config.js @@ -7,10 +7,10 @@ module.exports = { coverageDirectory: - '/target/kibana-coverage/jest/x-pack/solutions/search/packages/shared_ui', + '/target/kibana-coverage/jest/x-pack/solutions/search/packages/shared-ui', coverageReporters: ['text', 'html'], - collectCoverageFrom: ['/x-pack/solutions/search/packages/shared_ui/**/*.{ts,tsx}'], + collectCoverageFrom: ['/x-pack/solutions/search/packages/shared-ui/**/*.{ts,tsx}'], preset: '@kbn/test', rootDir: '../../../../..', - roots: ['/x-pack/solutions/search/packages/shared_ui'], + roots: ['/x-pack/solutions/search/packages/shared-ui'], }; diff --git a/x-pack/solutions/search/packages/shared_ui/kibana.jsonc b/x-pack/solutions/search/packages/shared-ui/kibana.jsonc similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/kibana.jsonc rename to x-pack/solutions/search/packages/shared-ui/kibana.jsonc diff --git a/x-pack/solutions/search/packages/shared_ui/package.json b/x-pack/solutions/search/packages/shared-ui/package.json similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/package.json rename to x-pack/solutions/search/packages/shared-ui/package.json diff --git a/x-pack/solutions/search/packages/shared_ui/src/form_info_field/form_info_field.tsx b/x-pack/solutions/search/packages/shared-ui/src/form_info_field/form_info_field.tsx similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/src/form_info_field/form_info_field.tsx rename to x-pack/solutions/search/packages/shared-ui/src/form_info_field/form_info_field.tsx diff --git a/x-pack/solutions/search/packages/shared_ui/tsconfig.json b/x-pack/solutions/search/packages/shared-ui/tsconfig.json similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/tsconfig.json rename to x-pack/solutions/search/packages/shared-ui/tsconfig.json diff --git a/yarn.lock b/yarn.lock index 5dce01082adbb..b702fd24982d7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7101,7 +7101,7 @@ version "0.0.0" uid "" -"@kbn/search-shared-ui@link:x-pack/solutions/search/packages/shared_ui": +"@kbn/search-shared-ui@link:x-pack/solutions/search/packages/shared-ui": version "0.0.0" uid ""