chore(richtext-lexical): make feature folders lower-case

This commit is contained in:
Alessio Gravili
2024-02-29 21:36:27 -05:00
parent 8a26dddd08
commit 7771f30270
127 changed files with 108 additions and 108 deletions

View File

@@ -8,7 +8,7 @@ import type { FeatureProviderProviderClient } from '../types'
import { SlashMenuOption } from '../../lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types'
import { BlockquoteIcon } from '../../lexical/ui/icons/Blockquote'
import { TextDropdownSectionWithEntries } from '../common4/floatingSelectToolbarTextDropdownSection'
import { TextDropdownSectionWithEntries } from '../common/floatingSelectToolbarTextDropdownSection'
import { createClientComponent } from '../createClientComponent'
import { MarkdownTransformer } from './markdownTransformer'

View File

@@ -1,9 +1,9 @@
import { QuoteNode, type SerializedQuoteNode } from '@lexical/rich-text'
import type { HTMLConverter } from '../converters5/html/converter/types'
import type { HTMLConverter } from '../converters/html/converter/types'
import type { FeatureProviderProviderServer } from '../types'
import { convertLexicalNodesToHTML } from '../converters5/html/converter'
import { convertLexicalNodesToHTML } from '../converters/html/converter'
import { BlockQuoteFeatureClientComponent } from './feature.client'
import { MarkdownTransformer } from './markdownTransformer'

View File

@@ -15,6 +15,6 @@ export const TestRecorderFeature = (): FeatureProvider => {
props: null,
}
},
key: 'debug-testrecorder',
key: 'testrecorder',
}
}

View File

@@ -15,6 +15,6 @@ export const TreeViewFeature = (): FeatureProvider => {
props: null,
}
},
key: 'debug-treeview',
key: 'treeview',
}
}

View File

@@ -35,6 +35,6 @@ export const InlineCodeTextFeature = (): FeatureProvider => {
props: null,
}
},
key: 'inlineCode',
key: 'inlinecode',
}
}

View File

@@ -4,12 +4,12 @@ import { $createHeadingNode, HeadingNode } from '@lexical/rich-text'
import { $setBlocksType } from '@lexical/selection'
import { $getSelection } from 'lexical'
import type { HTMLConverter } from '../converters5/html/converter/types'
import type { HTMLConverter } from '../converters/html/converter/types'
import type { FeatureProvider } from '../types'
import { SlashMenuOption } from '../../lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types'
import { TextDropdownSectionWithEntries } from '../common4/floatingSelectToolbarTextDropdownSection'
import { convertLexicalNodesToHTML } from '../converters5/html/converter'
import { TextDropdownSectionWithEntries } from '../common/floatingSelectToolbarTextDropdownSection'
import { convertLexicalNodesToHTML } from '../converters/html/converter'
import { MarkdownTransformer } from './markdownTransformer'
const setHeading = (headingSize: HeadingTagType) => {

View File

@@ -9,7 +9,7 @@ import type { LinkFields } from './nodes/types'
import { LinkIcon } from '../../lexical/ui/icons/Link'
import { getSelectedNode } from '../../lexical/utils/getSelectedNode'
import { FeaturesSectionWithEntries } from '../common4/floatingSelectToolbarFeaturesButtonsSection'
import { FeaturesSectionWithEntries } from '../common/floatingSelectToolbarFeaturesButtonsSection'
import { createClientComponent } from '../createClientComponent'
import { AutoLinkNode } from './nodes/AutoLinkNode'
import { $isLinkNode, LinkNode, TOGGLE_LINK_COMMAND } from './nodes/LinkNode'

View File

@@ -6,12 +6,12 @@ import type React from 'react'
import { initI18n } from '@payloadcms/translations'
import { translations } from '@payloadcms/translations/client'
import type { HTMLConverter } from '../converters5/html/converter/types'
import type { HTMLConverter } from '../converters/html/converter/types'
import type { FeatureProviderProviderServer } from '../types'
import type { ClientProps } from './feature.client'
import type { SerializedAutoLinkNode, SerializedLinkNode } from './nodes/types'
import { convertLexicalNodesToHTML } from '../converters5/html/converter'
import { convertLexicalNodesToHTML } from '../converters/html/converter'
import { LinkFeatureClientComponent } from './feature.client'
import { AutoLinkNode } from './nodes/AutoLinkNode'
import { LinkNode } from './nodes/LinkNode'

View File

@@ -3,7 +3,7 @@ import { INSERT_CHECK_LIST_COMMAND, ListItemNode, ListNode } from '@lexical/list
import type { FeatureProvider } from '../../types'
import { SlashMenuOption } from '../../../lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types'
import { TextDropdownSectionWithEntries } from '../../common4/floatingSelectToolbarTextDropdownSection'
import { TextDropdownSectionWithEntries } from '../../common/floatingSelectToolbarTextDropdownSection'
import { ListHTMLConverter, ListItemHTMLConverter } from '../htmlConverter'
import { CHECK_LIST } from './markdownTransformers'
@@ -86,6 +86,6 @@ export const CheckListFeature = (): FeatureProvider => {
},
}
},
key: 'checkList',
key: 'checklist',
}
}

View File

@@ -2,9 +2,9 @@ import type { SerializedListItemNode, SerializedListNode } from '@lexical/list'
import { ListItemNode, ListNode } from '@lexical/list'
import type { HTMLConverter } from '../converters5/html/converter/types'
import type { HTMLConverter } from '../converters/html/converter/types'
import { convertLexicalNodesToHTML } from '../converters5/html/converter'
import { convertLexicalNodesToHTML } from '../converters/html/converter'
export const ListHTMLConverter: HTMLConverter<SerializedListNode> = {
converter: async ({ converters, node, parent }) => {

View File

@@ -3,7 +3,7 @@ import { INSERT_ORDERED_LIST_COMMAND, ListItemNode, ListNode } from '@lexical/li
import type { FeatureProvider } from '../../types'
import { SlashMenuOption } from '../../../lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types'
import { TextDropdownSectionWithEntries } from '../../common4/floatingSelectToolbarTextDropdownSection'
import { TextDropdownSectionWithEntries } from '../../common/floatingSelectToolbarTextDropdownSection'
import { ListHTMLConverter, ListItemHTMLConverter } from '../htmlConverter'
import { ORDERED_LIST } from './markdownTransformer'
@@ -85,6 +85,6 @@ export const OrderedListFeature = (): FeatureProvider => {
},
}
},
key: 'orderedList',
key: 'orderedlist',
}
}

View File

@@ -3,7 +3,7 @@ import { INSERT_UNORDERED_LIST_COMMAND, ListItemNode, ListNode } from '@lexical/
import type { FeatureProvider } from '../../types'
import { SlashMenuOption } from '../../../lexical/plugins/SlashMenu/LexicalTypeaheadMenuPlugin/types'
import { TextDropdownSectionWithEntries } from '../../common4/floatingSelectToolbarTextDropdownSection'
import { TextDropdownSectionWithEntries } from '../../common/floatingSelectToolbarTextDropdownSection'
import { ListHTMLConverter, ListItemHTMLConverter } from '../htmlConverter'
import { UNORDERED_LIST } from './markdownTransformer'
@@ -81,6 +81,6 @@ export const UnorderedListFeature = (): FeatureProvider => {
},
}
},
key: 'unorderedList',
key: 'unorderedlist',
}
}

View File

@@ -1,5 +1,5 @@
/* eslint-disable @typescript-eslint/no-explicit-any */
import type { SerializedLinkNode } from '../../../../link1/nodes/LinkNode'
import type { SerializedLinkNode } from '../../../../link/nodes/LinkNode'
import type { LexicalPluginNodeConverter } from '../types'
import { convertLexicalPluginNodesToLexical } from '..'

View File

@@ -1,4 +1,4 @@
import type { SerializedLinkNode } from '../../../../link1/nodes/LinkNode'
import type { SerializedLinkNode } from '../../../../link/nodes/LinkNode'
import type { SlateNodeConverter } from '../types'
import { convertSlateNodesToLexical } from '..'

Some files were not shown because too many files have changed in this diff Show More