chore: Update code to new repo
Some checks failed
ci / changes (push) Has been cancelled
ci / lint (push) Has been cancelled
ci / build (push) Has been cancelled
ci / tests-unit (push) Has been cancelled
ci / tests-types (push) Has been cancelled
ci / int-cosmosdb (push) Has been cancelled
ci / int-documentdb (push) Has been cancelled
ci / int-firestore (push) Has been cancelled
ci / int-mongodb (push) Has been cancelled
ci / int-postgres (push) Has been cancelled
ci / int-postgres-custom-schema (push) Has been cancelled
ci / int-postgres-uuid (push) Has been cancelled
ci / int-sqlite (push) Has been cancelled
ci / int-sqlite-uuid (push) Has been cancelled
ci / int-supabase (push) Has been cancelled
ci / e2e-_community (push) Has been cancelled
ci / e2e-access-control (push) Has been cancelled
ci / e2e-admin-bar (push) Has been cancelled
ci / e2e-admin-root (push) Has been cancelled
ci / e2e-admin__e2e__document-view (push) Has been cancelled
ci / e2e-admin__e2e__general (push) Has been cancelled
ci / e2e-admin__e2e__list-view (push) Has been cancelled
ci / e2e-auth (push) Has been cancelled
ci / e2e-auth-basic (push) Has been cancelled
ci / e2e-bulk-edit (push) Has been cancelled
ci / e2e-field-error-states (push) Has been cancelled
ci / e2e-fields-relationship (push) Has been cancelled
ci / e2e-fields__collections__Array (push) Has been cancelled
ci / e2e-fields__collections__Blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-fields__collections__Blocks (push) Has been cancelled
ci / e2e-fields__collections__Checkbox (push) Has been cancelled
ci / e2e-fields__collections__Collapsible (push) Has been cancelled
ci / e2e-fields__collections__ConditionalLogic (push) Has been cancelled
ci / e2e-fields__collections__CustomID (push) Has been cancelled
ci / e2e-fields__collections__Date (push) Has been cancelled
ci / e2e-fields__collections__Email (push) Has been cancelled
ci / e2e-fields__collections__Indexed (push) Has been cancelled
ci / e2e-fields__collections__JSON (push) Has been cancelled
ci / e2e-fields__collections__Number (push) Has been cancelled
ci / e2e-fields__collections__Point (push) Has been cancelled
ci / e2e-fields__collections__Radio (push) Has been cancelled
ci / e2e-fields__collections__Relationship (push) Has been cancelled
ci / e2e-fields__collections__Row (push) Has been cancelled
ci / e2e-fields__collections__Select (push) Has been cancelled
ci / e2e-fields__collections__Tabs (push) Has been cancelled
ci / e2e-fields__collections__Tabs2 (push) Has been cancelled
ci / e2e-fields__collections__Text (push) Has been cancelled
ci / e2e-fields__collections__UI (push) Has been cancelled
ci / e2e-fields__collections__Upload (push) Has been cancelled
ci / e2e-folders (push) Has been cancelled
ci / e2e-form-state (push) Has been cancelled
ci / e2e-group-by (push) Has been cancelled
ci / e2e-hooks (push) Has been cancelled
ci / e2e-i18n (push) Has been cancelled
ci / e2e-joins (push) Has been cancelled
ci / e2e-lexical__collections__LexicalHeadingFeature (push) Has been cancelled
ci / e2e-lexical__collections__LexicalJSXConverter (push) Has been cancelled
ci / e2e-lexical__collections__LexicalLinkFeature (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__blocks (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__main (push) Has been cancelled
ci / e2e-lexical__collections__OnDemandForm (push) Has been cancelled
ci / e2e-lexical__collections__RichText (push) Has been cancelled
ci / e2e-lexical__collections___LexicalFullyFeatured (push) Has been cancelled
ci / e2e-lexical__collections___LexicalFullyFeatured__db (push) Has been cancelled
ci / e2e-live-preview (push) Has been cancelled
ci / e2e-localization (push) Has been cancelled
ci / e2e-locked-documents (push) Has been cancelled
ci / e2e-plugin-cloud-storage (push) Has been cancelled
ci / e2e-plugin-form-builder (push) Has been cancelled
ci / e2e-plugin-import-export (push) Has been cancelled
ci / e2e-plugin-multi-tenant (push) Has been cancelled
ci / e2e-plugin-nested-docs (push) Has been cancelled
ci / e2e-plugin-seo (push) Has been cancelled
ci / e2e-query-presets (push) Has been cancelled
ci / e2e-sort (push) Has been cancelled
ci / e2e-trash (push) Has been cancelled
ci / e2e-uploads (push) Has been cancelled
ci / e2e-versions (push) Has been cancelled
ci / e2e-turbo-_community (push) Has been cancelled
ci / e2e-turbo-access-control (push) Has been cancelled
ci / e2e-turbo-admin-bar (push) Has been cancelled
ci / e2e-turbo-admin-root (push) Has been cancelled
ci / e2e-turbo-admin__e2e__document-view (push) Has been cancelled
ci / e2e-turbo-admin__e2e__general (push) Has been cancelled
ci / e2e-turbo-admin__e2e__list-view (push) Has been cancelled
ci / e2e-turbo-auth (push) Has been cancelled
ci / e2e-turbo-auth-basic (push) Has been cancelled
ci / e2e-turbo-bulk-edit (push) Has been cancelled
ci / e2e-turbo-field-error-states (push) Has been cancelled
ci / e2e-turbo-fields-relationship (push) Has been cancelled
ci / e2e-turbo-fields__collections__Array (push) Has been cancelled
ci / e2e-turbo-fields__collections__Blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-turbo-fields__collections__Blocks (push) Has been cancelled
ci / e2e-turbo-fields__collections__Checkbox (push) Has been cancelled
ci / e2e-turbo-fields__collections__Collapsible (push) Has been cancelled
ci / e2e-turbo-fields__collections__ConditionalLogic (push) Has been cancelled
ci / e2e-turbo-fields__collections__CustomID (push) Has been cancelled
ci / e2e-turbo-fields__collections__Date (push) Has been cancelled
ci / e2e-turbo-fields__collections__Email (push) Has been cancelled
ci / e2e-turbo-fields__collections__Indexed (push) Has been cancelled
ci / e2e-turbo-fields__collections__JSON (push) Has been cancelled
ci / e2e-turbo-fields__collections__Number (push) Has been cancelled
ci / e2e-turbo-fields__collections__Point (push) Has been cancelled
ci / e2e-turbo-fields__collections__Radio (push) Has been cancelled
ci / e2e-turbo-fields__collections__Relationship (push) Has been cancelled
ci / e2e-turbo-fields__collections__Row (push) Has been cancelled
ci / e2e-turbo-fields__collections__Select (push) Has been cancelled
ci / e2e-turbo-fields__collections__Tabs (push) Has been cancelled
ci / e2e-turbo-fields__collections__Tabs2 (push) Has been cancelled
ci / e2e-turbo-fields__collections__Text (push) Has been cancelled
ci / e2e-turbo-fields__collections__UI (push) Has been cancelled
ci / e2e-turbo-fields__collections__Upload (push) Has been cancelled
ci / e2e-turbo-folders (push) Has been cancelled
ci / e2e-turbo-form-state (push) Has been cancelled
ci / e2e-turbo-group-by (push) Has been cancelled
ci / e2e-turbo-hooks (push) Has been cancelled
ci / e2e-turbo-i18n (push) Has been cancelled
ci / e2e-turbo-joins (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalHeadingFeature (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalJSXConverter (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalLinkFeature (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__blocks (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__main (push) Has been cancelled
ci / e2e-turbo-lexical__collections__OnDemandForm (push) Has been cancelled
ci / e2e-turbo-lexical__collections__RichText (push) Has been cancelled
ci / e2e-turbo-lexical__collections___LexicalFullyFeatured (push) Has been cancelled
ci / e2e-turbo-lexical__collections___LexicalFullyFeatured__db (push) Has been cancelled
ci / e2e-turbo-live-preview (push) Has been cancelled
ci / e2e-turbo-localization (push) Has been cancelled
ci / e2e-turbo-locked-documents (push) Has been cancelled
ci / e2e-turbo-plugin-cloud-storage (push) Has been cancelled
ci / e2e-turbo-plugin-form-builder (push) Has been cancelled
ci / e2e-turbo-plugin-import-export (push) Has been cancelled
ci / e2e-turbo-plugin-multi-tenant (push) Has been cancelled
ci / e2e-turbo-plugin-nested-docs (push) Has been cancelled
ci / e2e-turbo-plugin-seo (push) Has been cancelled
ci / e2e-turbo-query-presets (push) Has been cancelled
ci / e2e-turbo-sort (push) Has been cancelled
ci / e2e-turbo-trash (push) Has been cancelled
ci / e2e-turbo-uploads (push) Has been cancelled
ci / e2e-turbo-versions (push) Has been cancelled
ci / build-template-blank-mongodb (push) Has been cancelled
ci / build-template-website-mongodb (push) Has been cancelled
ci / build-template-with-payload-cloud-mongodb (push) Has been cancelled
ci / build-template-with-vercel-mongodb-mongodb (push) Has been cancelled
ci / build-template-plugin- (push) Has been cancelled
ci / build-template-with-postgres-postgres (push) Has been cancelled
ci / build-template-with-vercel-postgres-postgres (push) Has been cancelled
ci / tests-type-generation (push) Has been cancelled
ci / All Green (push) Has been cancelled
ci / Publish Canary (push) Has been cancelled
ci / analyze (push) Has been cancelled
publish-prerelease / publish-prerelease-${{ github.ref_name }}-${{ github.sha }} (push) Has been cancelled
lock-issues / lock_issues (push) Has been cancelled
stale / stale (push) Has been cancelled
audit-dependencies / audit (push) Has been cancelled
activity-notifications / run (push) Has been cancelled
Some checks failed
ci / changes (push) Has been cancelled
ci / lint (push) Has been cancelled
ci / build (push) Has been cancelled
ci / tests-unit (push) Has been cancelled
ci / tests-types (push) Has been cancelled
ci / int-cosmosdb (push) Has been cancelled
ci / int-documentdb (push) Has been cancelled
ci / int-firestore (push) Has been cancelled
ci / int-mongodb (push) Has been cancelled
ci / int-postgres (push) Has been cancelled
ci / int-postgres-custom-schema (push) Has been cancelled
ci / int-postgres-uuid (push) Has been cancelled
ci / int-sqlite (push) Has been cancelled
ci / int-sqlite-uuid (push) Has been cancelled
ci / int-supabase (push) Has been cancelled
ci / e2e-_community (push) Has been cancelled
ci / e2e-access-control (push) Has been cancelled
ci / e2e-admin-bar (push) Has been cancelled
ci / e2e-admin-root (push) Has been cancelled
ci / e2e-admin__e2e__document-view (push) Has been cancelled
ci / e2e-admin__e2e__general (push) Has been cancelled
ci / e2e-admin__e2e__list-view (push) Has been cancelled
ci / e2e-auth (push) Has been cancelled
ci / e2e-auth-basic (push) Has been cancelled
ci / e2e-bulk-edit (push) Has been cancelled
ci / e2e-field-error-states (push) Has been cancelled
ci / e2e-fields-relationship (push) Has been cancelled
ci / e2e-fields__collections__Array (push) Has been cancelled
ci / e2e-fields__collections__Blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-fields__collections__Blocks (push) Has been cancelled
ci / e2e-fields__collections__Checkbox (push) Has been cancelled
ci / e2e-fields__collections__Collapsible (push) Has been cancelled
ci / e2e-fields__collections__ConditionalLogic (push) Has been cancelled
ci / e2e-fields__collections__CustomID (push) Has been cancelled
ci / e2e-fields__collections__Date (push) Has been cancelled
ci / e2e-fields__collections__Email (push) Has been cancelled
ci / e2e-fields__collections__Indexed (push) Has been cancelled
ci / e2e-fields__collections__JSON (push) Has been cancelled
ci / e2e-fields__collections__Number (push) Has been cancelled
ci / e2e-fields__collections__Point (push) Has been cancelled
ci / e2e-fields__collections__Radio (push) Has been cancelled
ci / e2e-fields__collections__Relationship (push) Has been cancelled
ci / e2e-fields__collections__Row (push) Has been cancelled
ci / e2e-fields__collections__Select (push) Has been cancelled
ci / e2e-fields__collections__Tabs (push) Has been cancelled
ci / e2e-fields__collections__Tabs2 (push) Has been cancelled
ci / e2e-fields__collections__Text (push) Has been cancelled
ci / e2e-fields__collections__UI (push) Has been cancelled
ci / e2e-fields__collections__Upload (push) Has been cancelled
ci / e2e-folders (push) Has been cancelled
ci / e2e-form-state (push) Has been cancelled
ci / e2e-group-by (push) Has been cancelled
ci / e2e-hooks (push) Has been cancelled
ci / e2e-i18n (push) Has been cancelled
ci / e2e-joins (push) Has been cancelled
ci / e2e-lexical__collections__LexicalHeadingFeature (push) Has been cancelled
ci / e2e-lexical__collections__LexicalJSXConverter (push) Has been cancelled
ci / e2e-lexical__collections__LexicalLinkFeature (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__blocks (push) Has been cancelled
ci / e2e-lexical__collections__Lexical__e2e__main (push) Has been cancelled
ci / e2e-lexical__collections__OnDemandForm (push) Has been cancelled
ci / e2e-lexical__collections__RichText (push) Has been cancelled
ci / e2e-lexical__collections___LexicalFullyFeatured (push) Has been cancelled
ci / e2e-lexical__collections___LexicalFullyFeatured__db (push) Has been cancelled
ci / e2e-live-preview (push) Has been cancelled
ci / e2e-localization (push) Has been cancelled
ci / e2e-locked-documents (push) Has been cancelled
ci / e2e-plugin-cloud-storage (push) Has been cancelled
ci / e2e-plugin-form-builder (push) Has been cancelled
ci / e2e-plugin-import-export (push) Has been cancelled
ci / e2e-plugin-multi-tenant (push) Has been cancelled
ci / e2e-plugin-nested-docs (push) Has been cancelled
ci / e2e-plugin-seo (push) Has been cancelled
ci / e2e-query-presets (push) Has been cancelled
ci / e2e-sort (push) Has been cancelled
ci / e2e-trash (push) Has been cancelled
ci / e2e-uploads (push) Has been cancelled
ci / e2e-versions (push) Has been cancelled
ci / e2e-turbo-_community (push) Has been cancelled
ci / e2e-turbo-access-control (push) Has been cancelled
ci / e2e-turbo-admin-bar (push) Has been cancelled
ci / e2e-turbo-admin-root (push) Has been cancelled
ci / e2e-turbo-admin__e2e__document-view (push) Has been cancelled
ci / e2e-turbo-admin__e2e__general (push) Has been cancelled
ci / e2e-turbo-admin__e2e__list-view (push) Has been cancelled
ci / e2e-turbo-auth (push) Has been cancelled
ci / e2e-turbo-auth-basic (push) Has been cancelled
ci / e2e-turbo-bulk-edit (push) Has been cancelled
ci / e2e-turbo-field-error-states (push) Has been cancelled
ci / e2e-turbo-fields-relationship (push) Has been cancelled
ci / e2e-turbo-fields__collections__Array (push) Has been cancelled
ci / e2e-turbo-fields__collections__Blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-turbo-fields__collections__Blocks (push) Has been cancelled
ci / e2e-turbo-fields__collections__Checkbox (push) Has been cancelled
ci / e2e-turbo-fields__collections__Collapsible (push) Has been cancelled
ci / e2e-turbo-fields__collections__ConditionalLogic (push) Has been cancelled
ci / e2e-turbo-fields__collections__CustomID (push) Has been cancelled
ci / e2e-turbo-fields__collections__Date (push) Has been cancelled
ci / e2e-turbo-fields__collections__Email (push) Has been cancelled
ci / e2e-turbo-fields__collections__Indexed (push) Has been cancelled
ci / e2e-turbo-fields__collections__JSON (push) Has been cancelled
ci / e2e-turbo-fields__collections__Number (push) Has been cancelled
ci / e2e-turbo-fields__collections__Point (push) Has been cancelled
ci / e2e-turbo-fields__collections__Radio (push) Has been cancelled
ci / e2e-turbo-fields__collections__Relationship (push) Has been cancelled
ci / e2e-turbo-fields__collections__Row (push) Has been cancelled
ci / e2e-turbo-fields__collections__Select (push) Has been cancelled
ci / e2e-turbo-fields__collections__Tabs (push) Has been cancelled
ci / e2e-turbo-fields__collections__Tabs2 (push) Has been cancelled
ci / e2e-turbo-fields__collections__Text (push) Has been cancelled
ci / e2e-turbo-fields__collections__UI (push) Has been cancelled
ci / e2e-turbo-fields__collections__Upload (push) Has been cancelled
ci / e2e-turbo-folders (push) Has been cancelled
ci / e2e-turbo-form-state (push) Has been cancelled
ci / e2e-turbo-group-by (push) Has been cancelled
ci / e2e-turbo-hooks (push) Has been cancelled
ci / e2e-turbo-i18n (push) Has been cancelled
ci / e2e-turbo-joins (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalHeadingFeature (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalJSXConverter (push) Has been cancelled
ci / e2e-turbo-lexical__collections__LexicalLinkFeature (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__blocks#config.blockreferences.ts (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__blocks (push) Has been cancelled
ci / e2e-turbo-lexical__collections__Lexical__e2e__main (push) Has been cancelled
ci / e2e-turbo-lexical__collections__OnDemandForm (push) Has been cancelled
ci / e2e-turbo-lexical__collections__RichText (push) Has been cancelled
ci / e2e-turbo-lexical__collections___LexicalFullyFeatured (push) Has been cancelled
ci / e2e-turbo-lexical__collections___LexicalFullyFeatured__db (push) Has been cancelled
ci / e2e-turbo-live-preview (push) Has been cancelled
ci / e2e-turbo-localization (push) Has been cancelled
ci / e2e-turbo-locked-documents (push) Has been cancelled
ci / e2e-turbo-plugin-cloud-storage (push) Has been cancelled
ci / e2e-turbo-plugin-form-builder (push) Has been cancelled
ci / e2e-turbo-plugin-import-export (push) Has been cancelled
ci / e2e-turbo-plugin-multi-tenant (push) Has been cancelled
ci / e2e-turbo-plugin-nested-docs (push) Has been cancelled
ci / e2e-turbo-plugin-seo (push) Has been cancelled
ci / e2e-turbo-query-presets (push) Has been cancelled
ci / e2e-turbo-sort (push) Has been cancelled
ci / e2e-turbo-trash (push) Has been cancelled
ci / e2e-turbo-uploads (push) Has been cancelled
ci / e2e-turbo-versions (push) Has been cancelled
ci / build-template-blank-mongodb (push) Has been cancelled
ci / build-template-website-mongodb (push) Has been cancelled
ci / build-template-with-payload-cloud-mongodb (push) Has been cancelled
ci / build-template-with-vercel-mongodb-mongodb (push) Has been cancelled
ci / build-template-plugin- (push) Has been cancelled
ci / build-template-with-postgres-postgres (push) Has been cancelled
ci / build-template-with-vercel-postgres-postgres (push) Has been cancelled
ci / tests-type-generation (push) Has been cancelled
ci / All Green (push) Has been cancelled
ci / Publish Canary (push) Has been cancelled
ci / analyze (push) Has been cancelled
publish-prerelease / publish-prerelease-${{ github.ref_name }}-${{ github.sha }} (push) Has been cancelled
lock-issues / lock_issues (push) Has been cancelled
stale / stale (push) Has been cancelled
audit-dependencies / audit (push) Has been cancelled
activity-notifications / run (push) Has been cancelled
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import type { DefaultServerCellComponentProps, Payload } from 'payload'
|
||||
import type { DefaultServerCellComponentProps, Payload } from 'tbsh-cms'
|
||||
|
||||
import { getTranslation, type I18nClient } from '@payloadcms/translations'
|
||||
import { Link } from '@payloadcms/ui'
|
||||
import { formatAdminURL } from 'payload/shared'
|
||||
import { getTranslation, type I18nClient } from '@tabshiftcms/translations'
|
||||
import { Link } from '@tabshiftcms/ui'
|
||||
import { formatAdminURL } from 'tbsh-cms/shared'
|
||||
import React from 'react'
|
||||
|
||||
export const RscEntrySlateCell: React.FC<
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Collection, Field, PayloadRequest, RichTextField, SelectType } from 'payload'
|
||||
import type { Collection, Field, PayloadRequest, RichTextField, SelectType } from 'tbsh-cms'
|
||||
|
||||
import { createDataloaderCacheKey } from 'payload'
|
||||
import { createDataloaderCacheKey } from 'tbsh-cms'
|
||||
|
||||
import type { AdapterArguments } from '../types.js'
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Field, FlattenedBlock, PayloadRequest, PopulateType } from 'payload'
|
||||
import type { Field, FlattenedBlock, PayloadRequest, PopulateType } from 'tbsh-cms'
|
||||
|
||||
import { fieldAffectsData, fieldHasSubFields, fieldIsArrayType, tabHasName } from 'payload/shared'
|
||||
import { fieldAffectsData, fieldHasSubFields, fieldIsArrayType, tabHasName } from 'tbsh-cms/shared'
|
||||
|
||||
import { populate } from './populate.js'
|
||||
import { recurseRichText } from './richTextRelationshipPromise.js'
|
||||
|
||||
@@ -4,7 +4,7 @@ import type {
|
||||
PopulateType,
|
||||
RichTextAdapter,
|
||||
RichTextField,
|
||||
} from 'payload'
|
||||
} from 'tbsh-cms'
|
||||
|
||||
import type { AdapterArguments } from '../types.js'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { RichTextField, Validate } from 'payload'
|
||||
import type { RichTextField, Validate } from 'tbsh-cms'
|
||||
|
||||
import type { AdapterArguments } from '../types.js'
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
'use client'
|
||||
|
||||
import type { PayloadRequest } from 'payload'
|
||||
import type { PayloadRequest } from 'tbsh-cms'
|
||||
import type { BaseEditor, BaseOperation } from 'slate'
|
||||
import type { HistoryEditor } from 'slate-history'
|
||||
import type { ReactEditor } from 'slate-react'
|
||||
|
||||
import { getTranslation } from '@payloadcms/translations'
|
||||
import { getTranslation } from '@tabshiftcms/translations'
|
||||
import {
|
||||
FieldDescription,
|
||||
FieldError,
|
||||
@@ -14,8 +14,8 @@ import {
|
||||
useEditDepth,
|
||||
useField,
|
||||
useTranslation,
|
||||
} from '@payloadcms/ui'
|
||||
import { mergeFieldStyles } from '@payloadcms/ui/shared'
|
||||
} from '@tabshiftcms/ui'
|
||||
import { mergeFieldStyles } from '@tabshiftcms/ui/shared'
|
||||
import { isHotkey } from 'is-hotkey'
|
||||
import React, { useCallback, useEffect, useMemo, useRef } from 'react'
|
||||
import { createEditor, Node, Element as SlateElement, Text, Transforms } from 'slate'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.rich-text__button {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ClientField } from 'payload'
|
||||
import type { ClientField } from 'tbsh-cms'
|
||||
|
||||
import type { EnabledFeatures } from './types.js'
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use client'
|
||||
import type { ElementType } from 'react'
|
||||
|
||||
import { Tooltip } from '@payloadcms/ui'
|
||||
import { Tooltip } from '@tabshiftcms/ui'
|
||||
import React, { useCallback, useState } from 'react'
|
||||
import { useSlate } from 'slate-react'
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
'use client'
|
||||
|
||||
import type { ClientCollectionConfig, ClientUser, VisibleEntities } from 'payload'
|
||||
import type { ClientCollectionConfig, ClientUser, VisibleEntities } from 'tbsh-cms'
|
||||
|
||||
import { useAuth, useConfig, useEntityVisibility } from '@payloadcms/ui'
|
||||
import { useAuth, useConfig, useEntityVisibility } from '@tabshiftcms/ui'
|
||||
import * as React from 'react'
|
||||
|
||||
type Options = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.rich-text-blockquote {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client'
|
||||
|
||||
import type { FormState } from 'payload'
|
||||
import type { FormState } from 'tbsh-cms'
|
||||
|
||||
import {
|
||||
useDocumentInfo,
|
||||
@@ -8,8 +8,8 @@ import {
|
||||
useModal,
|
||||
useServerFunctions,
|
||||
useTranslation,
|
||||
} from '@payloadcms/ui'
|
||||
import { reduceFieldsToValues } from 'payload/shared'
|
||||
} from '@tabshiftcms/ui'
|
||||
import { reduceFieldsToValues } from 'tbsh-cms/shared'
|
||||
import React, { Fragment, useState } from 'react'
|
||||
import { Editor, Range, Transforms } from 'slate'
|
||||
import { ReactEditor, useSlate } from 'slate-react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.rich-text-link {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use client'
|
||||
import type { FormState } from 'payload'
|
||||
import type { FormState } from 'tbsh-cms'
|
||||
|
||||
import { getTranslation } from '@payloadcms/translations'
|
||||
import { getTranslation } from '@tabshiftcms/translations'
|
||||
import {
|
||||
Button,
|
||||
Popup,
|
||||
@@ -13,8 +13,8 @@ import {
|
||||
useModal,
|
||||
useServerFunctions,
|
||||
useTranslation,
|
||||
} from '@payloadcms/ui'
|
||||
import { deepCopyObject, reduceFieldsToValues } from 'payload/shared'
|
||||
} from '@tabshiftcms/ui'
|
||||
import { deepCopyObject, reduceFieldsToValues } from 'tbsh-cms/shared'
|
||||
import { useCallback, useEffect, useState } from 'react'
|
||||
import { Editor, Node, Transforms } from 'slate'
|
||||
import { ReactEditor, useSlate } from 'slate-react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Field, SanitizedConfig, TypedUser } from 'payload'
|
||||
import type { Field, SanitizedConfig, TypedUser } from 'tbsh-cms'
|
||||
|
||||
export const getBaseFields = (config: SanitizedConfig): Field[] => [
|
||||
{
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.rich-text-link-edit-modal {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client'
|
||||
|
||||
import type { FormProps } from '@payloadcms/ui'
|
||||
import type { FormProps } from '@tabshiftcms/ui'
|
||||
|
||||
import {
|
||||
Drawer,
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
useHotkey,
|
||||
useServerFunctions,
|
||||
useTranslation,
|
||||
} from '@payloadcms/ui'
|
||||
} from '@tabshiftcms/ui'
|
||||
import React, { useCallback, useRef } from 'react'
|
||||
|
||||
import type { Props } from './types.js'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { ClientField, FormState } from 'payload'
|
||||
import type { ClientField, FormState } from 'tbsh-cms'
|
||||
|
||||
export type Props = {
|
||||
readonly drawerSlug: string
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Field, SanitizedConfig } from 'payload'
|
||||
import type { Field, SanitizedConfig } from 'tbsh-cms'
|
||||
import type { Editor } from 'slate'
|
||||
|
||||
import { Element, Range, Transforms } from 'slate'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.rich-text-ol {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.relationship-rich-text-button {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
'use client'
|
||||
import type { ListDrawerProps } from '@payloadcms/ui'
|
||||
import type { ListDrawerProps } from '@tabshiftcms/ui'
|
||||
|
||||
import { useListDrawer, useTranslation } from '@payloadcms/ui'
|
||||
import { useListDrawer, useTranslation } from '@tabshiftcms/ui'
|
||||
import React, { Fragment, useCallback, useState } from 'react'
|
||||
import { ReactEditor, useSlate } from 'slate-react'
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.rich-text-relationship {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
'use client'
|
||||
|
||||
import type { ListDrawerProps } from '@payloadcms/ui'
|
||||
import type { ListDrawerProps } from '@tabshiftcms/ui'
|
||||
|
||||
import { getTranslation } from '@payloadcms/translations'
|
||||
import { getTranslation } from '@tabshiftcms/translations'
|
||||
import {
|
||||
Button,
|
||||
useConfig,
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
useListDrawer,
|
||||
usePayloadAPI,
|
||||
useTranslation,
|
||||
} from '@payloadcms/ui'
|
||||
} from '@tabshiftcms/ui'
|
||||
import React, { useCallback, useReducer, useState } from 'react'
|
||||
import { Transforms } from 'slate'
|
||||
import { ReactEditor, useFocused, useSelected, useSlateStatic } from 'slate-react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.rich-text-ul {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.upload-rich-text-button {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
'use client'
|
||||
|
||||
import type { ListDrawerProps } from '@payloadcms/ui'
|
||||
import type { ListDrawerProps } from '@tabshiftcms/ui'
|
||||
|
||||
import { useListDrawer, useTranslation } from '@payloadcms/ui'
|
||||
import { useListDrawer, useTranslation } from '@tabshiftcms/ui'
|
||||
import React, { Fragment, useCallback } from 'react'
|
||||
import { ReactEditor, useSlate } from 'slate-react'
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
'use client'
|
||||
|
||||
import type { FormProps } from '@payloadcms/ui'
|
||||
import type { ClientCollectionConfig } from 'payload'
|
||||
import type { FormProps } from '@tabshiftcms/ui'
|
||||
import type { ClientCollectionConfig } from 'tbsh-cms'
|
||||
|
||||
import { getTranslation } from '@payloadcms/translations'
|
||||
import { getTranslation } from '@tabshiftcms/translations'
|
||||
import {
|
||||
Drawer,
|
||||
EditDepthProvider,
|
||||
@@ -16,8 +16,8 @@ import {
|
||||
useModal,
|
||||
useServerFunctions,
|
||||
useTranslation,
|
||||
} from '@payloadcms/ui'
|
||||
import { deepCopyObject } from 'payload/shared'
|
||||
} from '@tabshiftcms/ui'
|
||||
import { deepCopyObject } from 'tbsh-cms/shared'
|
||||
import React, { useCallback, useEffect, useState } from 'react'
|
||||
import { Transforms } from 'slate'
|
||||
import { ReactEditor, useSlateStatic } from 'slate-react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.rich-text-upload {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
'use client'
|
||||
|
||||
import type { ListDrawerProps } from '@payloadcms/ui'
|
||||
import type { ClientCollectionConfig } from 'payload'
|
||||
import type { ListDrawerProps } from '@tabshiftcms/ui'
|
||||
import type { ClientCollectionConfig } from 'tbsh-cms'
|
||||
|
||||
import { getTranslation } from '@payloadcms/translations'
|
||||
import { getTranslation } from '@tabshiftcms/translations'
|
||||
import {
|
||||
Button,
|
||||
DrawerToggler,
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
useListDrawer,
|
||||
usePayloadAPI,
|
||||
useTranslation,
|
||||
} from '@payloadcms/ui'
|
||||
} from '@tabshiftcms/ui'
|
||||
import React, { useCallback, useReducer, useState } from 'react'
|
||||
import { Transforms } from 'slate'
|
||||
import { ReactEditor, useFocused, useSelected, useSlateStatic } from 'slate-react'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.icon--indent-left {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.icon--indent-right {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.icon--link {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.icon--relationship {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.icon--upload {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
@import '~@payloadcms/ui/scss';
|
||||
@import '~@tabshiftcms/ui/scss';
|
||||
|
||||
@layer payload-default {
|
||||
.rich-text {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
'use client'
|
||||
|
||||
import { ShimmerEffect, useClientFunctions } from '@payloadcms/ui'
|
||||
import { ShimmerEffect, useClientFunctions } from '@tabshiftcms/ui'
|
||||
import React, { lazy, Suspense, useEffect, useState } from 'react'
|
||||
|
||||
import type { RichTextPlugin, SlateFieldProps } from '../types.js'
|
||||
|
||||
@@ -5,10 +5,10 @@ import type {
|
||||
FieldPaths,
|
||||
RichTextFieldClient,
|
||||
ServerComponentProps,
|
||||
} from 'payload'
|
||||
} from 'tbsh-cms'
|
||||
|
||||
import { RenderServerComponent } from '@payloadcms/ui/elements/RenderServerComponent'
|
||||
import { createClientFields } from 'payload'
|
||||
import { RenderServerComponent } from '@tabshiftcms/ui/elements/RenderServerComponent'
|
||||
import { createClientFields } from 'tbsh-cms'
|
||||
import React from 'react'
|
||||
|
||||
import type { AdapterArguments, RichTextCustomElement, RichTextCustomLeaf } from '../types.js'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Field, RichTextAdapter } from 'payload'
|
||||
import type { Field, RichTextAdapter } from 'tbsh-cms'
|
||||
|
||||
import { traverseFields } from '@payloadcms/ui/utilities/buildFieldSchemaMap/traverseFields'
|
||||
import { traverseFields } from '@tabshiftcms/ui/utilities/buildFieldSchemaMap/traverseFields'
|
||||
|
||||
import type { AdapterArguments, RichTextCustomElement } from './types.js'
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Config, RichTextAdapterProvider } from 'payload'
|
||||
import type { Config, RichTextAdapterProvider } from 'tbsh-cms'
|
||||
|
||||
import { sanitizeFields, withNullableJSONSchemaType } from 'payload'
|
||||
import { sanitizeFields, withNullableJSONSchemaType } from 'tbsh-cms'
|
||||
|
||||
import type { AdapterArguments } from './types.js'
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import type {
|
||||
PayloadComponent,
|
||||
RichTextFieldClientProps,
|
||||
SanitizedConfig,
|
||||
} from 'payload'
|
||||
} from 'tbsh-cms'
|
||||
import type { Editor } from 'slate'
|
||||
|
||||
export type TextNode = { [x: string]: unknown; text: string }
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Editor } from 'slate'
|
||||
|
||||
import { useAddClientFunction } from '@payloadcms/ui'
|
||||
import { useAddClientFunction } from '@tabshiftcms/ui'
|
||||
|
||||
import { useSlateProps } from './SlatePropsProvider.js'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user