[UnifiedFieldList] Convert from a plugin into a package (#158718)

- Closes https://github.com/elastic/kibana/issues/149336

## Summary

This PR converts `unifiedFieldList` plugin into a new
`@kbn/unified-field-list` package.

Had to also move some deps:
- from `uiActions` plugin to the existing `@kbn/ui-actions-browser`
package
- from `data` plugin to a new `@kbn/data-service` package

Please test that Field Stats from the package are still working on your
pages.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Julia Rechkunova 2023-06-23 14:28:12 +02:00 committed by GitHub
parent 2bf4ed4813
commit 7f0d57d9fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
231 changed files with 406 additions and 362 deletions

View file

@ -13,7 +13,6 @@
"inspector",
"kibanaUtils",
"unifiedSearch",
"unifiedFieldList",
"data",
"dataViews",
"dataViewFieldEditor",

View file

@ -28,7 +28,7 @@ import {
hasQuerySubscriberData,
RenderFieldItemParams,
useQuerySubscriber,
} from '@kbn/unified-field-list-plugin/public';
} from '@kbn/unified-field-list';
import { generateFilters } from '@kbn/data-plugin/public';
import type { CoreStart } from '@kbn/core-lifecycle-browser';
import type { AppPluginStartDependencies } from './types';

View file

@ -26,7 +26,7 @@ import {
useExistingFieldsFetcher,
useGroupedFields,
useQuerySubscriber,
} from '@kbn/unified-field-list-plugin/public';
} from '@kbn/unified-field-list';
import { FieldListItem, FieldListItemProps } from './field_list_item';
export interface FieldListSidebarProps {

View file

@ -58,7 +58,7 @@ export class UnifiedFieldListExamplesPlugin
links: [
{
label: 'README',
href: 'https://github.com/elastic/kibana/tree/main/src/plugins/unified_field_list/README.md',
href: 'https://github.com/elastic/kibana/tree/main/packages/kbn-unified-field-list/README.md',
iconType: 'logoGithub',
target: '_blank',
size: 's',

View file

@ -23,10 +23,10 @@
"@kbn/i18n-react",
"@kbn/i18n",
"@kbn/dom-drag-drop",
"@kbn/unified-field-list-plugin",
"@kbn/core-lifecycle-browser",
"@kbn/charts-plugin",
"@kbn/field-formats-plugin",
"@kbn/data-view-field-editor-plugin",
"@kbn/unified-field-list",
]
}