From c18b7eaa9c2cb604cda7459f7d52390093ae9c6c Mon Sep 17 00:00:00 2001 From: Gautam Singh <5769869+gautamsi@users.noreply.github.com> Date: Mon, 24 Feb 2020 18:53:50 +0530 Subject: [PATCH 1/2] move react exports --- packages/app-admin-ui/client.js | 15 --------------- packages/app-admin-ui/components/index.js | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 15 deletions(-) delete mode 100644 packages/app-admin-ui/client.js diff --git a/packages/app-admin-ui/client.js b/packages/app-admin-ui/client.js deleted file mode 100644 index 6d158fb2f73..00000000000 --- a/packages/app-admin-ui/client.js +++ /dev/null @@ -1,15 +0,0 @@ -export { default as ListData, List, ListLayout } from './client/pages/List/index'; -export { default as ListManage } from './client/pages/List/Management'; -export { default as FieldSelect } from './client/pages/List/FieldSelect'; -export { default as Search } from './client/pages/List/Search'; -export { default as ActiveFilters } from './client/pages/List/Filters/ActiveFilters'; -export { default as Pagination, getPaginationLabel } from './client/pages/List/Pagination'; -export { default as ListTable } from './client/components/ListTable'; -export { default as CreateItemModal } from './client/components/CreateItemModal'; -export { default as DeleteItemModal } from './client/components/DeleteItemModal'; -export { default as DeleteManyItemsModal } from './client/components/DeleteManyItemsModal'; -export { default as PageLoading } from './client/components/PageLoading'; -export { default as ToastContainer } from './client/components/ToastContainer'; -export { default as UpdateManyItemsModal } from './client/components/UpdateManyItemsModal'; -export { Popout } from './client/components/Popout'; -export { useAdminMeta } from './client/providers/AdminMeta'; diff --git a/packages/app-admin-ui/components/index.js b/packages/app-admin-ui/components/index.js index 0e947ee1f12..3fbc95a9b7e 100644 --- a/packages/app-admin-ui/components/index.js +++ b/packages/app-admin-ui/components/index.js @@ -1 +1,16 @@ export { ListProvider, useList } from '../client/providers/List'; +export { default as ListData, List, ListLayout } from '../client/pages/List/index'; +export { default as ListManage } from '../client/pages/List/Management'; +export { default as FieldSelect } from '../client/pages/List/FieldSelect'; +export { default as Search } from '../client/pages/List/Search'; +export { default as ActiveFilters } from '../client/pages/List/Filters/ActiveFilters'; +export { default as Pagination, getPaginationLabel } from '../client/pages/List/Pagination'; +export { default as ListTable } from '../client/components/ListTable'; +export { default as CreateItemModal } from '../client/components/CreateItemModal'; +export { default as DeleteItemModal } from '../client/components/DeleteItemModal'; +export { default as DeleteManyItemsModal } from '../client/components/DeleteManyItemsModal'; +export { default as PageLoading } from '../client/components/PageLoading'; +export { default as ToastContainer } from '../client/components/ToastContainer'; +export { default as UpdateManyItemsModal } from '../client/components/UpdateManyItemsModal'; +export { Popout } from '../client/components/Popout'; +export { useAdminMeta } from '../client/providers/AdminMeta'; From fa0c6efe21f237a71a22ef1321fba68eeb6a545b Mon Sep 17 00:00:00 2001 From: Gautam Singh <5769869+gautamsi@users.noreply.github.com> Date: Mon, 24 Feb 2020 18:56:28 +0530 Subject: [PATCH 2/2] changeset --- .changeset/modern-guests-prove.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/modern-guests-prove.md diff --git a/.changeset/modern-guests-prove.md b/.changeset/modern-guests-prove.md new file mode 100644 index 00000000000..d448830df6e --- /dev/null +++ b/.changeset/modern-guests-prove.md @@ -0,0 +1,5 @@ +--- +'@keystonejs/app-admin-ui': minor +--- + +Moved client components and react related exports from `@keystonejs/app-admin-ui/client` to `@keystonejs/app-admin-ui/components`