@payloadcms/richtext-lexical 3.0.0-beta.47 → 3.0.0-beta.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/README.md +1 -1
  2. package/dist/cell/index.d.ts +1 -1
  3. package/dist/cell/index.d.ts.map +1 -1
  4. package/dist/cell/index.js +1 -2
  5. package/dist/cell/index.js.map +1 -1
  6. package/dist/exports/client/Component-6AVANNNR.js +2 -0
  7. package/dist/exports/client/Component-6AVANNNR.js.map +7 -0
  8. package/dist/exports/client/Component-SZVAYRJX.js +2 -0
  9. package/dist/exports/client/Component-SZVAYRJX.js.map +7 -0
  10. package/dist/exports/client/Field-U5PHZTST.js +2 -0
  11. package/dist/exports/client/Field-U5PHZTST.js.map +7 -0
  12. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js +2 -0
  13. package/dist/exports/client/RelationshipComponent-FGUPLCD2.js.map +7 -0
  14. package/dist/exports/client/bundled.css +1 -0
  15. package/dist/exports/client/chunk-33ZTAHVL.js +2 -0
  16. package/dist/exports/client/chunk-33ZTAHVL.js.map +7 -0
  17. package/dist/exports/client/chunk-35NZOHAF.js +2 -0
  18. package/dist/exports/client/chunk-35NZOHAF.js.map +7 -0
  19. package/dist/exports/client/chunk-3PZ2ZFQG.js +3 -0
  20. package/dist/exports/client/chunk-3PZ2ZFQG.js.map +7 -0
  21. package/dist/exports/client/chunk-FSTRW2TI.js +2 -0
  22. package/dist/exports/client/chunk-FSTRW2TI.js.map +7 -0
  23. package/dist/exports/client/chunk-Y5455JF3.js +2 -0
  24. package/dist/exports/client/chunk-Y5455JF3.js.map +7 -0
  25. package/dist/exports/client/component-FFLILIUZ.js +2 -0
  26. package/dist/exports/client/component-FFLILIUZ.js.map +7 -0
  27. package/dist/exports/client/component-GR6KYTLO.js +2 -0
  28. package/dist/exports/client/component-GR6KYTLO.js.map +7 -0
  29. package/dist/exports/client/component-RAVN56DE.js +2 -0
  30. package/dist/exports/client/component-RAVN56DE.js.map +7 -0
  31. package/dist/exports/client/index.d.ts +52 -0
  32. package/dist/exports/client/index.d.ts.map +1 -0
  33. package/dist/exports/client/index.js +36 -0
  34. package/dist/exports/client/index.js.map +7 -0
  35. package/dist/field/Field.d.ts +1 -0
  36. package/dist/field/Field.d.ts.map +1 -1
  37. package/dist/field/Field.js +3 -8
  38. package/dist/field/Field.js.map +1 -1
  39. package/dist/field/bundled.css +0 -0
  40. package/dist/field/features/align/feature.server.d.ts.map +1 -1
  41. package/dist/field/features/align/feature.server.js +2 -1
  42. package/dist/field/features/align/feature.server.js.map +1 -1
  43. package/dist/field/features/blockquote/feature.server.d.ts.map +1 -1
  44. package/dist/field/features/blockquote/feature.server.js +2 -1
  45. package/dist/field/features/blockquote/feature.server.js.map +1 -1
  46. package/dist/field/features/blocks/component/BlockContent.js +1 -9
  47. package/dist/field/features/blocks/component/BlockContent.js.map +1 -1
  48. package/dist/field/features/blocks/component/FormSavePlugin.d.ts +1 -2
  49. package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +1 -1
  50. package/dist/field/features/blocks/component/FormSavePlugin.js +2 -2
  51. package/dist/field/features/blocks/component/FormSavePlugin.js.map +1 -1
  52. package/dist/field/features/blocks/component/index.d.ts.map +1 -1
  53. package/dist/field/features/blocks/component/index.js +2 -12
  54. package/dist/field/features/blocks/component/index.js.map +1 -1
  55. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts +1 -1
  56. package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -1
  57. package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +1 -1
  58. package/dist/field/features/blocks/drawer/index.d.ts.map +1 -1
  59. package/dist/field/features/blocks/drawer/index.js +1 -4
  60. package/dist/field/features/blocks/drawer/index.js.map +1 -1
  61. package/dist/field/features/blocks/feature.server.d.ts +1 -1
  62. package/dist/field/features/blocks/feature.server.d.ts.map +1 -1
  63. package/dist/field/features/blocks/feature.server.js +3 -3
  64. package/dist/field/features/blocks/feature.server.js.map +1 -1
  65. package/dist/field/features/converters/html/field/index.d.ts +7 -1
  66. package/dist/field/features/converters/html/field/index.d.ts.map +1 -1
  67. package/dist/field/features/converters/html/field/index.js +62 -53
  68. package/dist/field/features/converters/html/field/index.js.map +1 -1
  69. package/dist/field/features/createFeaturePropComponent.d.ts.map +1 -1
  70. package/dist/field/features/createFeaturePropComponent.js +1 -3
  71. package/dist/field/features/createFeaturePropComponent.js.map +1 -1
  72. package/dist/field/features/debug/testRecorder/feature.server.d.ts.map +1 -1
  73. package/dist/field/features/debug/testRecorder/feature.server.js +2 -1
  74. package/dist/field/features/debug/testRecorder/feature.server.js.map +1 -1
  75. package/dist/field/features/debug/testRecorder/plugin/index.js +0 -1
  76. package/dist/field/features/debug/testRecorder/plugin/index.js.map +1 -1
  77. package/dist/field/features/debug/treeView/feature.server.d.ts.map +1 -1
  78. package/dist/field/features/debug/treeView/feature.server.js +2 -1
  79. package/dist/field/features/debug/treeView/feature.server.js.map +1 -1
  80. package/dist/field/features/debug/treeView/plugin/index.js +0 -1
  81. package/dist/field/features/debug/treeView/plugin/index.js.map +1 -1
  82. package/dist/field/features/format/bold/feature.server.d.ts.map +1 -1
  83. package/dist/field/features/format/bold/feature.server.js +2 -1
  84. package/dist/field/features/format/bold/feature.server.js.map +1 -1
  85. package/dist/field/features/format/inlineCode/feature.server.d.ts.map +1 -1
  86. package/dist/field/features/format/inlineCode/feature.server.js +2 -1
  87. package/dist/field/features/format/inlineCode/feature.server.js.map +1 -1
  88. package/dist/field/features/format/italic/feature.server.d.ts.map +1 -1
  89. package/dist/field/features/format/italic/feature.server.js +2 -1
  90. package/dist/field/features/format/italic/feature.server.js.map +1 -1
  91. package/dist/field/features/format/strikethrough/feature.server.d.ts.map +1 -1
  92. package/dist/field/features/format/strikethrough/feature.server.js +2 -1
  93. package/dist/field/features/format/strikethrough/feature.server.js.map +1 -1
  94. package/dist/field/features/format/subscript/feature.server.d.ts.map +1 -1
  95. package/dist/field/features/format/subscript/feature.server.js +2 -1
  96. package/dist/field/features/format/subscript/feature.server.js.map +1 -1
  97. package/dist/field/features/format/superscript/feature.server.d.ts.map +1 -1
  98. package/dist/field/features/format/superscript/feature.server.js +2 -1
  99. package/dist/field/features/format/superscript/feature.server.js.map +1 -1
  100. package/dist/field/features/format/underline/feature.server.d.ts.map +1 -1
  101. package/dist/field/features/format/underline/feature.server.js +2 -1
  102. package/dist/field/features/format/underline/feature.server.js.map +1 -1
  103. package/dist/field/features/heading/feature.client.d.ts.map +1 -1
  104. package/dist/field/features/heading/feature.client.js +1 -2
  105. package/dist/field/features/heading/feature.client.js.map +1 -1
  106. package/dist/field/features/heading/feature.server.d.ts.map +1 -1
  107. package/dist/field/features/heading/feature.server.js +2 -1
  108. package/dist/field/features/heading/feature.server.js.map +1 -1
  109. package/dist/field/features/horizontalRule/feature.server.d.ts.map +1 -1
  110. package/dist/field/features/horizontalRule/feature.server.js +2 -1
  111. package/dist/field/features/horizontalRule/feature.server.js.map +1 -1
  112. package/dist/field/features/horizontalRule/plugin/index.js +0 -1
  113. package/dist/field/features/horizontalRule/plugin/index.js.map +1 -1
  114. package/dist/field/features/indent/feature.server.d.ts.map +1 -1
  115. package/dist/field/features/indent/feature.server.js +2 -1
  116. package/dist/field/features/indent/feature.server.js.map +1 -1
  117. package/dist/field/features/link/drawer/baseFields.d.ts +1 -2
  118. package/dist/field/features/link/drawer/baseFields.d.ts.map +1 -1
  119. package/dist/field/features/link/drawer/baseFields.js.map +1 -1
  120. package/dist/field/features/link/drawer/index.d.ts.map +1 -1
  121. package/dist/field/features/link/drawer/index.js +2 -10
  122. package/dist/field/features/link/drawer/index.js.map +1 -1
  123. package/dist/field/features/link/drawer/types.d.ts +1 -1
  124. package/dist/field/features/link/drawer/types.d.ts.map +1 -1
  125. package/dist/field/features/link/drawer/types.js.map +1 -1
  126. package/dist/field/features/link/feature.server.d.ts +1 -2
  127. package/dist/field/features/link/feature.server.d.ts.map +1 -1
  128. package/dist/field/features/link/feature.server.js +5 -4
  129. package/dist/field/features/link/feature.server.js.map +1 -1
  130. package/dist/field/features/link/nodes/LinkNode.d.ts.map +1 -1
  131. package/dist/field/features/link/nodes/LinkNode.js.map +1 -1
  132. package/dist/field/features/link/plugins/autoLink/index.js.map +1 -1
  133. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -1
  134. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +3 -8
  135. package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -1
  136. package/dist/field/features/link/plugins/floatingLinkEditor/index.js +0 -1
  137. package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +1 -1
  138. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +1 -2
  139. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -1
  140. package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -1
  141. package/dist/field/features/link/validate.d.ts +1 -1
  142. package/dist/field/features/link/validate.d.ts.map +1 -1
  143. package/dist/field/features/link/validate.js.map +1 -1
  144. package/dist/field/features/lists/checklist/feature.server.d.ts.map +1 -1
  145. package/dist/field/features/lists/checklist/feature.server.js +2 -1
  146. package/dist/field/features/lists/checklist/feature.server.js.map +1 -1
  147. package/dist/field/features/lists/orderedList/feature.server.d.ts.map +1 -1
  148. package/dist/field/features/lists/orderedList/feature.server.js +2 -1
  149. package/dist/field/features/lists/orderedList/feature.server.js.map +1 -1
  150. package/dist/field/features/lists/unorderedList/feature.server.d.ts.map +1 -1
  151. package/dist/field/features/lists/unorderedList/feature.server.js +2 -1
  152. package/dist/field/features/lists/unorderedList/feature.server.js.map +1 -1
  153. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -1
  154. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +2 -1
  155. package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -1
  156. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -1
  157. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -1
  158. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +1 -2
  159. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -1
  160. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -1
  161. package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +1 -1
  162. package/dist/field/features/migrations/slateToLexical/feature.server.js +2 -1
  163. package/dist/field/features/migrations/slateToLexical/feature.server.js.map +1 -1
  164. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -1
  165. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -1
  166. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +1 -2
  167. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -1
  168. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -1
  169. package/dist/field/features/paragraph/feature.server.d.ts.map +1 -1
  170. package/dist/field/features/paragraph/feature.server.js +2 -1
  171. package/dist/field/features/paragraph/feature.server.js.map +1 -1
  172. package/dist/field/features/relationship/drawer/index.js +1 -1
  173. package/dist/field/features/relationship/drawer/index.js.map +1 -1
  174. package/dist/field/features/relationship/feature.server.d.ts.map +1 -1
  175. package/dist/field/features/relationship/feature.server.js +2 -1
  176. package/dist/field/features/relationship/feature.server.js.map +1 -1
  177. package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -1
  178. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +2 -8
  179. package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +1 -1
  180. package/dist/field/features/relationship/plugins/index.d.ts.map +1 -1
  181. package/dist/field/features/relationship/plugins/index.js +2 -3
  182. package/dist/field/features/relationship/plugins/index.js.map +1 -1
  183. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -1
  184. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +1 -3
  185. package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -1
  186. package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -1
  187. package/dist/field/features/toolbars/fixed/Toolbar/index.js +1 -3
  188. package/dist/field/features/toolbars/fixed/Toolbar/index.js.map +1 -1
  189. package/dist/field/features/toolbars/fixed/feature.server.d.ts.map +1 -1
  190. package/dist/field/features/toolbars/fixed/feature.server.js +2 -1
  191. package/dist/field/features/toolbars/fixed/feature.server.js.map +1 -1
  192. package/dist/field/features/toolbars/inline/Toolbar/index.js +0 -1
  193. package/dist/field/features/toolbars/inline/Toolbar/index.js.map +1 -1
  194. package/dist/field/features/toolbars/inline/feature.server.d.ts.map +1 -1
  195. package/dist/field/features/toolbars/inline/feature.server.js +2 -1
  196. package/dist/field/features/toolbars/inline/feature.server.js.map +1 -1
  197. package/dist/field/features/toolbars/shared/ToolbarButton/index.js +0 -1
  198. package/dist/field/features/toolbars/shared/ToolbarButton/index.js.map +1 -1
  199. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts +1 -2
  200. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -1
  201. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js +1 -2
  202. package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -1
  203. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js +1 -2
  204. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -1
  205. package/dist/field/features/types.d.ts +1 -3
  206. package/dist/field/features/types.d.ts.map +1 -1
  207. package/dist/field/features/types.js.map +1 -1
  208. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +1 -1
  209. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +1 -1
  210. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +3 -10
  211. package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +1 -1
  212. package/dist/field/features/upload/component/index.d.ts.map +1 -1
  213. package/dist/field/features/upload/component/index.js +1 -9
  214. package/dist/field/features/upload/component/index.js.map +1 -1
  215. package/dist/field/features/upload/drawer/index.js +1 -1
  216. package/dist/field/features/upload/drawer/index.js.map +1 -1
  217. package/dist/field/features/upload/feature.server.d.ts +1 -1
  218. package/dist/field/features/upload/feature.server.d.ts.map +1 -1
  219. package/dist/field/features/upload/feature.server.js +3 -2
  220. package/dist/field/features/upload/feature.server.js.map +1 -1
  221. package/dist/field/features/upload/nodes/UploadNode.d.ts +1 -2
  222. package/dist/field/features/upload/nodes/UploadNode.d.ts.map +1 -1
  223. package/dist/field/features/upload/nodes/UploadNode.js.map +1 -1
  224. package/dist/field/features/upload/plugin/index.js +1 -1
  225. package/dist/field/features/upload/plugin/index.js.map +1 -1
  226. package/dist/field/features/upload/validate.js +1 -1
  227. package/dist/field/features/upload/validate.js.map +1 -1
  228. package/dist/field/index.d.ts.map +1 -1
  229. package/dist/field/index.js +35 -99
  230. package/dist/field/index.js.map +1 -1
  231. package/dist/field/lexical/LexicalEditor.js +1 -2
  232. package/dist/field/lexical/LexicalEditor.js.map +1 -1
  233. package/dist/field/lexical/LexicalProvider.d.ts +1 -2
  234. package/dist/field/lexical/LexicalProvider.d.ts.map +1 -1
  235. package/dist/field/lexical/LexicalProvider.js +1 -1
  236. package/dist/field/lexical/LexicalProvider.js.map +1 -1
  237. package/dist/field/lexical/config/server/loader.d.ts +1 -1
  238. package/dist/field/lexical/config/server/loader.d.ts.map +1 -1
  239. package/dist/field/lexical/config/server/loader.js.map +1 -1
  240. package/dist/field/lexical/config/server/sanitize.d.ts +1 -1
  241. package/dist/field/lexical/config/server/sanitize.d.ts.map +1 -1
  242. package/dist/field/lexical/config/server/sanitize.js.map +1 -1
  243. package/dist/field/lexical/nodes/index.d.ts.map +1 -1
  244. package/dist/field/lexical/nodes/index.js.map +1 -1
  245. package/dist/field/lexical/plugins/SlashMenu/index.js +2 -3
  246. package/dist/field/lexical/plugins/SlashMenu/index.js.map +1 -1
  247. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js +0 -1
  248. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -1
  249. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -1
  250. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -1
  251. package/dist/field/lexical/theme/EditorTheme.js +0 -1
  252. package/dist/field/lexical/theme/EditorTheme.js.map +1 -1
  253. package/dist/field/lexical/ui/ContentEditable.js +0 -1
  254. package/dist/field/lexical/ui/ContentEditable.js.map +1 -1
  255. package/dist/generateComponentMap.d.ts +1 -1
  256. package/dist/generateComponentMap.d.ts.map +1 -1
  257. package/dist/generateComponentMap.js.map +1 -1
  258. package/dist/generateSchemaMap.d.ts +1 -1
  259. package/dist/generateSchemaMap.d.ts.map +1 -1
  260. package/dist/generateSchemaMap.js.map +1 -1
  261. package/dist/index.d.ts +0 -19
  262. package/dist/index.d.ts.map +1 -1
  263. package/dist/index.js +3 -22
  264. package/dist/index.js.map +1 -1
  265. package/dist/populateGraphQL/populate.d.ts +1 -1
  266. package/dist/populateGraphQL/populate.d.ts.map +1 -1
  267. package/dist/populateGraphQL/populate.js +1 -1
  268. package/dist/populateGraphQL/populate.js.map +1 -1
  269. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +1 -1
  270. package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
  271. package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
  272. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +1 -2
  273. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -1
  274. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js +1 -1
  275. package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -1
  276. package/dist/types.d.ts +1 -3
  277. package/dist/types.d.ts.map +1 -1
  278. package/dist/types.js.map +1 -1
  279. package/dist/useLexicalFeature.d.ts.map +1 -1
  280. package/dist/useLexicalFeature.js +1 -3
  281. package/dist/useLexicalFeature.js.map +1 -1
  282. package/dist/validate/index.d.ts +1 -1
  283. package/dist/validate/index.d.ts.map +1 -1
  284. package/dist/validate/index.js.map +1 -1
  285. package/dist/validate/validateNodes.d.ts +1 -1
  286. package/dist/validate/validateNodes.d.ts.map +1 -1
  287. package/dist/validate/validateNodes.js.map +1 -1
  288. package/package.json +22 -22
  289. package/components.d.ts +0 -6
  290. package/components.js +0 -7
  291. package/dist/exports/components.d.ts +0 -11
  292. package/dist/exports/components.d.ts.map +0 -1
  293. package/dist/exports/components.js +0 -12
  294. package/dist/exports/components.js.map +0 -1
  295. package/dist/field/features/blocks/component/index.scss +0 -149
  296. package/dist/field/features/debug/testRecorder/plugin/index.scss +0 -49
  297. package/dist/field/features/debug/treeView/plugin/index.scss +0 -78
  298. package/dist/field/features/horizontalRule/plugin/index.scss +0 -20
  299. package/dist/field/features/link/drawer/index.scss +0 -50
  300. package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +0 -86
  301. package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  302. package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +0 -14
  303. package/dist/field/features/relationship/nodes/components/index.scss +0 -97
  304. package/dist/field/features/toolbars/fixed/Toolbar/index.scss +0 -119
  305. package/dist/field/features/toolbars/inline/Toolbar/index.scss +0 -53
  306. package/dist/field/features/toolbars/shared/ToolbarButton/index.scss +0 -39
  307. package/dist/field/features/toolbars/shared/ToolbarDropdown/index.scss +0 -112
  308. package/dist/field/features/upload/component/index.scss +0 -152
  309. package/dist/field/index.scss +0 -25
  310. package/dist/field/lexical/LexicalEditor.scss +0 -49
  311. package/dist/field/lexical/plugins/SlashMenu/index.scss +0 -61
  312. package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -31
  313. package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -72
  314. package/dist/field/lexical/theme/EditorTheme.scss +0 -509
  315. package/dist/field/lexical/ui/ContentEditable.scss +0 -76
  316. package/dist/scss/app.scss +0 -208
  317. package/dist/scss/colors.scss +0 -269
  318. package/dist/scss/queries.scss +0 -27
  319. package/dist/scss/resets.scss +0 -17
  320. package/dist/scss/styles.scss +0 -11
  321. package/dist/scss/svg.scss +0 -10
  322. package/dist/scss/toasts.scss +0 -111
  323. package/dist/scss/type.scss +0 -117
  324. package/dist/scss/vars.scss +0 -213
  325. package/dist/scss/z-index.scss +0 -9
@@ -1,97 +0,0 @@
1
- @import '../../../../../scss/styles.scss';
2
-
3
- .lexical-relationship {
4
- @extend %body;
5
- @include shadow-sm;
6
- padding: calc(var(--base) * 0.75);
7
- display: flex;
8
- align-items: center;
9
- background: var(--theme-input-bg);
10
- border: 1px solid var(--theme-elevation-100);
11
- max-width: calc(var(--base) * 15);
12
- font-family: var(--font-body);
13
- margin: 0 0 1.5em;
14
-
15
- &:hover {
16
- border: 1px solid var(--theme-elevation-150);
17
- }
18
-
19
- &[data-slate-node='element'] {
20
- margin: calc(var(--base) * 0.625) 0;
21
- }
22
-
23
- &__label {
24
- margin-bottom: calc(var(--base) * 0.25);
25
- }
26
-
27
- &__title {
28
- margin: 0;
29
- }
30
-
31
- &__label,
32
- &__title {
33
- white-space: nowrap;
34
- text-overflow: ellipsis;
35
- overflow: hidden;
36
- line-height: 1 !important;
37
- }
38
-
39
- &__title {
40
- font-weight: bold;
41
- }
42
-
43
- &__wrap {
44
- flex-grow: 1;
45
- overflow: hidden;
46
- }
47
-
48
- &--selected {
49
- box-shadow: $focus-box-shadow;
50
- outline: none;
51
- }
52
-
53
- &__doc-drawer-toggler {
54
- text-decoration: underline;
55
- pointer-events: all;
56
- line-height: inherit;
57
- & > * {
58
- margin: 0;
59
- }
60
- }
61
-
62
- &__swapButton.btn {
63
- margin: 0;
64
- }
65
-
66
- &__doc-drawer-toggler,
67
- &__swapButton {
68
- &:disabled {
69
- color: var(--theme-elevation-300);
70
- pointer-events: none;
71
- }
72
- }
73
-
74
- &__actions {
75
- display: flex;
76
- align-items: center;
77
- flex-shrink: 0;
78
- margin-left: calc(var(--base) * 0.5);
79
-
80
- & > *:not(:last-child) {
81
- margin-right: calc(var(--base) * 0.25);
82
- }
83
- }
84
-
85
- &__removeButton.btn {
86
- margin: 0;
87
-
88
- line {
89
- stroke-width: $style-stroke-width-m;
90
- }
91
-
92
- &:disabled {
93
- color: var(--theme-elevation-300);
94
- pointer-events: none;
95
- }
96
- }
97
- }
@@ -1,119 +0,0 @@
1
- @import '../../../../../scss/styles';
2
-
3
- html[data-theme='dark'] {
4
- .fixed-toolbar {
5
- &__dropdown-items {
6
- background: var(--theme-elevation-0);
7
-
8
- .toolbar-popup__dropdown-item {
9
- color: var(--theme-elevation-900);
10
-
11
- &:hover:not([disabled]),
12
- &.active {
13
- background-color: var(--theme-elevation-100);
14
- }
15
-
16
- .icon {
17
- color: var(--theme-elevation-600);
18
- }
19
- }
20
- }
21
-
22
- .toolbar-popup {
23
- &__button {
24
- &.active,
25
- &:hover:not([disabled]) {
26
- background-color: var(--theme-elevation-100);
27
- }
28
- }
29
-
30
- &__dropdown {
31
- &:hover:not([disabled]) {
32
- background-color: var(--theme-elevation-100);
33
- }
34
-
35
- &-caret:after {
36
- filter: invert(1);
37
- }
38
-
39
- &-label {
40
- color: var(--theme-elevation-750);
41
- }
42
- }
43
- }
44
- }
45
- }
46
-
47
- .fixed-toolbar.fixed-toolbar--hide {
48
- visibility: hidden; // Still needs to take up space so content does not jump, thus we cannot use display: none
49
- // make sure you cant interact with it
50
- pointer-events: none;
51
- user-select: none;
52
- }
53
-
54
- .fixed-toolbar {
55
- @include blur-bg(var(--theme-elevation-0));
56
- display: flex;
57
- flex-wrap: wrap;
58
- align-items: center;
59
- padding: calc(var(--base) / 4);
60
- vertical-align: middle;
61
- position: sticky;
62
- z-index: 2;
63
- top: var(--doc-controls-height);
64
- border: $style-stroke-width-s solid var(--theme-elevation-150);
65
- transform: translateY(1px); // aligns with top bar pixel line when stuck
66
-
67
- &__group {
68
- display: flex;
69
- align-items: center;
70
- gap: 2px;
71
- z-index: 1;
72
-
73
- .icon {
74
- min-width: 20px;
75
- height: 20px;
76
- color: var(--theme-elevation-600);
77
- }
78
-
79
- .divider {
80
- width: 1px;
81
- height: 15px;
82
- background-color: var(--theme-elevation-100);
83
- margin: 0 6.25px;
84
- }
85
- }
86
-
87
- .toolbar-popup {
88
- &__dropdown,
89
- &__button {
90
- border-radius: 0;
91
- }
92
- }
93
-
94
- + .editor-container {
95
- > .editor-scroller > .editor {
96
- > .ContentEditable__root {
97
- padding-top: calc(var(--base) * 1.25);
98
- }
99
- }
100
-
101
- > .editor-placeholder {
102
- top: calc(var(--base) * 1.25);
103
- }
104
- }
105
- }
106
-
107
-
108
- .rich-text-lexical--show-gutter {
109
- .fixed-toolbar {
110
- + .editor-container {
111
- > .editor-scroller > .editor {
112
- > .ContentEditable__root::before {
113
- top: calc(var(--base) * 1.25)!important;
114
- height: calc(100% - calc(var(--base) * 1.25) - 8px)!important;
115
- }
116
- }
117
- }
118
- }
119
- }
@@ -1,53 +0,0 @@
1
- @import '../../../../../scss/styles';
2
-
3
- html[data-theme='light'] {
4
- .inline-toolbar-popup {
5
- @include shadow-m;
6
- }
7
- }
8
-
9
- .inline-toolbar-popup {
10
- display: flex;
11
- align-items: center;
12
- background: var(--color-base-0);
13
- padding: 0 3.72px 0 6.25px;
14
- vertical-align: middle;
15
- position: absolute;
16
- top: 0;
17
- left: 0;
18
- z-index: 2;
19
- opacity: 0;
20
- border-radius: 6.25px;
21
- transition: opacity 0.2s;
22
- height: 37.5px;
23
- will-change: transform;
24
-
25
- .caret {
26
- z-index: 93;
27
- position: absolute;
28
- top: calc(100% - 16px);
29
- border: 12px solid transparent;
30
- pointer-events: none;
31
- border-top-color: var(--color-base-0);
32
- }
33
-
34
- &__group {
35
- display: flex;
36
- align-items: center;
37
- gap: 2px;
38
-
39
- .icon {
40
- min-width: 20px;
41
- height: 20px;
42
- color: var(--color-base-600);
43
- }
44
-
45
- .divider {
46
- width: 1px;
47
- height: 15px;
48
- background-color: var(--color-base-100);
49
- margin: 0 6.25px;
50
- }
51
- }
52
-
53
- }
@@ -1,39 +0,0 @@
1
- @import '../../../../../scss/styles';
2
-
3
- .toolbar-popup__button {
4
- display: flex;
5
- align-items: center;
6
- vertical-align: middle;
7
- justify-content: center;
8
- height: 30px;
9
- width: 30px;
10
- border: 0;
11
- background: none;
12
- border-radius: 4px;
13
- cursor: pointer;
14
- padding: 0;
15
-
16
- &.spaced {
17
- margin-right: 2px;
18
- }
19
-
20
- &.active {
21
- background-color: var(--color-base-100);
22
-
23
- .icon {
24
- opacity: 1;
25
- }
26
- }
27
-
28
- &.disabled {
29
- cursor: not-allowed;
30
-
31
- .icon {
32
- opacity: 0.2;
33
- }
34
- }
35
-
36
- &:hover:not([disabled]) {
37
- background-color: var(--color-base-100);
38
- }
39
- }
@@ -1,112 +0,0 @@
1
- @import '../../../../../scss/styles';
2
-
3
- .toolbar-popup__dropdown {
4
- display: flex;
5
- align-items: center;
6
- vertical-align: middle;
7
- justify-content: center;
8
- height: 30px;
9
- border: 0;
10
- background: none;
11
- border-radius: 4px;
12
- cursor: pointer;
13
- position: relative;
14
- padding: 0 10px;
15
-
16
- &-label {
17
- color: var(--color-base-600);
18
- padding: 0 10px;
19
- }
20
-
21
- &:disabled {
22
- cursor: not-allowed;
23
-
24
- .icon {
25
- opacity: 0.2;
26
- }
27
- }
28
-
29
- &:hover:not([disabled]) {
30
- background-color: var(--color-base-100);
31
- }
32
-
33
- .active {
34
- background-color: var(--color-base-100);
35
-
36
- .toolbar-popup__dropdown-caret {
37
- &:after {
38
- transform: rotate(0deg);
39
- }
40
- }
41
- }
42
-
43
- &-caret {
44
- &:after {
45
- transform: rotate(180deg);
46
-
47
- content: ' ';
48
- position: absolute;
49
- top: 13px;
50
-
51
- /* Vector 3 */
52
-
53
- width: 7px;
54
- height: 4px;
55
-
56
- opacity: 0.3;
57
- background-image: url(../../../../lexical/ui/icons/Caret/index.svg);
58
- background-position-y: 0;
59
- background-position-x: 0;
60
- }
61
- }
62
-
63
- &-items {
64
- position: absolute;
65
- background: var(--color-base-0);
66
- border-radius: 4px;
67
- min-width: 132.5px;
68
- max-width: 200px;
69
- z-index: 100;
70
-
71
- .toolbar-popup__dropdown-item {
72
- all: unset; // reset all default button styles
73
- cursor: pointer;
74
- color: var(--color-base-900);
75
-
76
- .text {
77
- overflow: hidden;
78
- white-space: nowrap;
79
- text-overflow: ellipsis;
80
- }
81
-
82
- &:hover:not([disabled]), &.active {
83
- background-color: var(--color-base-100);
84
- }
85
-
86
- padding-left: 6.25px;
87
- padding-right: 6.25px;
88
- width: 100%;
89
- height: 30px;
90
- border-radius: 4px;
91
- box-sizing: border-box;
92
- display: flex;
93
- align-items: center;
94
- gap: 6.25px;
95
-
96
- .icon {
97
- min-width: 20px;
98
- height: 20px;
99
- color: var(--color-base-600);
100
- }
101
- }
102
- }
103
- }
104
-
105
- html[data-theme='light'] {
106
- .toolbar-popup__dropdown {
107
- &-items {
108
- position: absolute;
109
- @include shadow-m;
110
- }
111
- }
112
- }
@@ -1,152 +0,0 @@
1
- @import '../../../../scss/styles.scss';
2
-
3
- .lexical-upload {
4
- @extend %body;
5
- @include shadow-sm;
6
- max-width: calc(var(--base) * 15);
7
- display: flex;
8
- align-items: center;
9
- background: var(--theme-input-bg);
10
- border: 1px solid var(--theme-elevation-100);
11
- position: relative;
12
- font-family: var(--font-body);
13
- margin: 0 0 1.5em;
14
-
15
- .btn {
16
- margin: 0;
17
- }
18
-
19
- &:hover {
20
- border: 1px solid var(--theme-elevation-150);
21
- }
22
-
23
- &[data-slate-node='element'] {
24
- margin: calc(var(--base) * 0.625) 0;
25
- }
26
-
27
- &__card {
28
- @include soft-shadow-bottom;
29
- display: flex;
30
- flex-direction: column;
31
- width: 100%;
32
- }
33
-
34
- &__topRow {
35
- display: flex;
36
- }
37
-
38
- &__thumbnail {
39
- width: calc(var(--base) * 3.25);
40
- height: auto;
41
- position: relative;
42
- overflow: hidden;
43
- flex-shrink: 0;
44
-
45
- img,
46
- svg {
47
- position: absolute;
48
- object-fit: cover;
49
- width: 100%;
50
- height: 100%;
51
- background-color: var(--theme-elevation-800);
52
- }
53
- }
54
-
55
- &__topRowRightPanel {
56
- flex-grow: 1;
57
- display: flex;
58
- align-items: center;
59
- padding: calc(var(--base) * 0.75);
60
- justify-content: space-between;
61
- max-width: calc(100% - #{calc(var(--base) * 3.25)});
62
- }
63
-
64
- &__actions {
65
- display: flex;
66
- align-items: center;
67
- flex-shrink: 0;
68
- margin-left: calc(var(--base) * 0.5);
69
-
70
- .lexical-upload__doc-drawer-toggler {
71
- pointer-events: all;
72
- }
73
-
74
- & > *:not(:last-child) {
75
- margin-right: calc(var(--base) * 0.25);
76
- }
77
- }
78
-
79
- &__removeButton {
80
- margin: 0;
81
-
82
- line {
83
- stroke-width: $style-stroke-width-m;
84
- }
85
-
86
- &:disabled {
87
- color: var(--theme-elevation-300);
88
- pointer-events: none;
89
- }
90
- }
91
-
92
- &__upload-drawer-toggler {
93
- background-color: transparent;
94
- border: none;
95
- padding: 0;
96
- margin: 0;
97
- outline: none;
98
- line-height: inherit;
99
- }
100
-
101
- &__doc-drawer-toggler {
102
- text-decoration: underline;
103
- }
104
-
105
- &__doc-drawer-toggler,
106
- &__list-drawer-toggler,
107
- &__upload-drawer-toggler {
108
- & > * {
109
- margin: 0;
110
- }
111
-
112
- &:disabled {
113
- color: var(--theme-elevation-300);
114
- pointer-events: none;
115
- }
116
- }
117
-
118
- &__collectionLabel {
119
- overflow: hidden;
120
- text-overflow: ellipsis;
121
- white-space: nowrap;
122
- }
123
-
124
- &__bottomRow {
125
- padding: calc(var(--base) * 0.5);
126
- border-top: 1px solid var(--theme-elevation-100);
127
- }
128
-
129
- h5 {
130
- white-space: nowrap;
131
- text-overflow: ellipsis;
132
- overflow: hidden;
133
- }
134
-
135
- &__wrap {
136
- padding: calc(var(--base) * 0.5) calc(var(--base) * 0.5) calc(var(--base) * 0.5) var(--base);
137
- text-align: left;
138
- overflow: hidden;
139
- text-overflow: ellipsis;
140
- }
141
-
142
- &--selected {
143
- box-shadow: $focus-box-shadow;
144
- outline: none;
145
- }
146
-
147
- @include small-break {
148
- &__topRowRightPanel {
149
- padding: calc(var(--base) * 0.75) calc(var(--base) * 0.5);
150
- }
151
- }
152
- }
@@ -1,25 +0,0 @@
1
- @import '../scss/styles.scss';
2
-
3
- .rich-text-lexical {
4
- .errorBoundary {
5
- pre {
6
- text-wrap: unset;
7
- }
8
- }
9
-
10
- &__wrap {
11
- width: 100%;
12
- position: relative;
13
- }
14
-
15
- &--read-only {
16
- .editor-container {
17
- .editor {
18
- background: var(--theme-elevation-200);
19
- color: var(--theme-elevation-450);
20
- padding: calc(var(--base) * 0.5);
21
- }
22
- }
23
- }
24
- }
25
-
@@ -1,49 +0,0 @@
1
- @import '../../scss/styles';
2
-
3
- .rich-text-lexical {
4
- .editor {
5
- position: relative;
6
- }
7
-
8
- .editor-container {
9
- position: relative;
10
-
11
- font-family: var(--font-serif);
12
- font-size: calc(var(--base) * 0.625);
13
-
14
- h1,
15
- h2,
16
- h3,
17
- h4,
18
- h5,
19
- h6 {
20
- font-family: var(--font-body);
21
- line-height: 1.125;
22
- }
23
- }
24
-
25
- &--show-gutter {
26
- > .rich-text-lexical__wrap > .editor-container > .editor-placeholder {
27
- left: 3rem;
28
- }
29
- }
30
-
31
- &:not(&--show-gutter) > .rich-text-lexical__wrap > .editor-container > .editor-placeholder {
32
- left: 0;
33
- }
34
-
35
- .editor-placeholder {
36
- position: absolute;
37
- top: 8px;
38
- font-size: 15px;
39
- color: var(--theme-elevation-500);
40
- /* Prevent text selection */
41
- user-select: none;
42
- -webkit-user-select: none;
43
- -moz-user-select: none;
44
- -ms-user-select: none;
45
-
46
- /* Make it behave more like a background element (no interaction) */
47
- pointer-events: none;
48
- }
49
- }
@@ -1,61 +0,0 @@
1
- @import '../../../../scss/styles.scss';
2
-
3
- html[data-theme='light'] {
4
- .slash-menu-popup {
5
- @include shadow-m;
6
- }
7
- }
8
-
9
- .slash-menu-popup {
10
- background: var(--color-base-0);
11
- width: 200px;
12
- color: var(--color-base-800);
13
- border-radius: 4px;
14
- list-style: none;
15
- font-family: var(--font-body);
16
- max-height: 300px;
17
- overflow-y: auto;
18
- z-index: 10;
19
- position: absolute;
20
-
21
- &__group {
22
- padding-bottom: 8px;
23
- }
24
-
25
- &__group-title {
26
- padding-left: 10px;
27
- color: var(--color-base-600);
28
- font-size: 10px;
29
- }
30
-
31
- &__item {
32
- all: unset;
33
- padding-left: 12px;
34
- font-size: 13px;
35
- box-sizing: border-box;
36
- background: none;
37
- border: none;
38
- color: var(--color-base-900);
39
- display: flex;
40
- align-items: center;
41
- height: 30px;
42
- width: 100%;
43
- cursor: pointer;
44
-
45
- &--selected {
46
- background: var(--color-base-100);
47
- }
48
-
49
- &-text {
50
- margin-left: 6px;
51
- overflow: hidden;
52
- white-space: nowrap;
53
- text-overflow: ellipsis;
54
- }
55
-
56
- .icon {
57
- color: var(--color-base-500);
58
- min-width: fit-content;
59
- }
60
- }
61
- }