diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index ac675c16b6e2b..7e77eeabc7cbf 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -960,7 +960,7 @@ x-pack/solutions/search/packages/kbn-ipynb @elastic/search-kibana x-pack/solutions/search/packages/kbn-search-api-keys-components @elastic/search-kibana x-pack/solutions/search/packages/kbn-search-api-keys-server @elastic/search-kibana x-pack/solutions/search/packages/kbn-search-index-documents @elastic/search-kibana -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/enterprise_search @elastic/search-kibana x-pack/solutions/search/plugins/search_assistant @elastic/search-kibana x-pack/solutions/search/plugins/search_connectors @elastic/search-kibana diff --git a/package.json b/package.json index f277ffd91c3d0..90beb2df1d6ca 100644 --- a/package.json +++ b/package.json @@ -812,7 +812,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 313ba20c5d64f..49cf43cacbb28 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1614,8 +1614,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 d617094720c84..a68a35fbf5c50 100644 --- a/x-pack/.i18nrc.json +++ b/x-pack/.i18nrc.json @@ -130,7 +130,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/connector_icon/connector_icon.tsx b/x-pack/solutions/search/packages/shared-ui/src/connector_icon/connector_icon.tsx similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/src/connector_icon/connector_icon.tsx rename to x-pack/solutions/search/packages/shared-ui/src/connector_icon/connector_icon.tsx diff --git a/x-pack/solutions/search/packages/shared_ui/src/connector_icon/index.ts b/x-pack/solutions/search/packages/shared-ui/src/connector_icon/index.ts similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/src/connector_icon/index.ts rename to x-pack/solutions/search/packages/shared-ui/src/connector_icon/index.ts diff --git a/x-pack/solutions/search/packages/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx b/x-pack/solutions/search/packages/shared-ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx rename to x-pack/solutions/search/packages/shared-ui/src/decorative_horizontal_stepper/decorative_horizontal_stepper.tsx diff --git a/x-pack/solutions/search/packages/shared_ui/src/decorative_horizontal_stepper/index.ts b/x-pack/solutions/search/packages/shared-ui/src/decorative_horizontal_stepper/index.ts similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/src/decorative_horizontal_stepper/index.ts rename to x-pack/solutions/search/packages/shared-ui/src/decorative_horizontal_stepper/index.ts 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/src/icons/EuiIconPlugs.tsx b/x-pack/solutions/search/packages/shared-ui/src/icons/EuiIconPlugs.tsx similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/src/icons/EuiIconPlugs.tsx rename to x-pack/solutions/search/packages/shared-ui/src/icons/EuiIconPlugs.tsx diff --git a/x-pack/solutions/search/packages/shared_ui/src/icons/EuiIconWeb.tsx b/x-pack/solutions/search/packages/shared-ui/src/icons/EuiIconWeb.tsx similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/src/icons/EuiIconWeb.tsx rename to x-pack/solutions/search/packages/shared-ui/src/icons/EuiIconWeb.tsx diff --git a/x-pack/solutions/search/packages/shared_ui/src/icons/index.ts b/x-pack/solutions/search/packages/shared-ui/src/icons/index.ts similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/src/icons/index.ts rename to x-pack/solutions/search/packages/shared-ui/src/icons/index.ts diff --git a/x-pack/solutions/search/packages/shared_ui/src/search_empty_prompt/index.ts b/x-pack/solutions/search/packages/shared-ui/src/search_empty_prompt/index.ts similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/src/search_empty_prompt/index.ts rename to x-pack/solutions/search/packages/shared-ui/src/search_empty_prompt/index.ts diff --git a/x-pack/solutions/search/packages/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx b/x-pack/solutions/search/packages/shared-ui/src/search_empty_prompt/search_empty_prompt.tsx similarity index 100% rename from x-pack/solutions/search/packages/shared_ui/src/search_empty_prompt/search_empty_prompt.tsx rename to x-pack/solutions/search/packages/shared-ui/src/search_empty_prompt/search_empty_prompt.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 d4ceeacb79915..9bd02b9c4b182 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7097,7 +7097,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 ""