feat!: rename @payloadcms/ui/client to @payloadcms/ui, and other auto-suggestion & exports improvements (#6848)

**BREAKING:** All `@payloadcms/ui/client` exports have been renamed to
`@payloadcms/ui`. A simple find & replace across your entire project
will be enough to migrate. This change greatly improves import
auto-completions in IDEs which lack proper support for package.json
exports, like Webstorm.
This commit is contained in:
Alessio Gravili
2024-06-19 12:36:00 -04:00
committed by GitHub
parent 317bc070e4
commit bc98567f41
131 changed files with 520 additions and 483 deletions

View File

@@ -2,7 +2,7 @@ import type { groupNavItems } from '@payloadcms/ui/shared'
import type { Permissions, ServerProps, VisibleEntities } from 'payload'
import { getTranslation } from '@payloadcms/translations'
import { Button, Card, Gutter, SetStepNav, SetViewActions } from '@payloadcms/ui/client'
import { Button, Card, Gutter, SetStepNav, SetViewActions } from '@payloadcms/ui'
import { EntityType, WithServerSideProps } from '@payloadcms/ui/shared'
import React, { Fragment } from 'react'