phx-react 1.3.1718 → 1.3.1720

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 (335) hide show
  1. package/dist/cjs/components/BlockStack/BlockStack.d.ts +2 -2
  2. package/dist/cjs/components/BlockStack/BlockStack.js +7 -1
  3. package/dist/cjs/components/BlockStack/BlockStack.js.map +1 -1
  4. package/dist/cjs/components/Box/Box.d.ts +11 -11
  5. package/dist/cjs/components/Box/Box.js +13 -13
  6. package/dist/cjs/components/Box/Box.js.map +1 -1
  7. package/dist/cjs/components/InlineGrid/InlineGrid.d.ts +2 -2
  8. package/dist/cjs/components/InlineGrid/InlineGrid.js +17 -10
  9. package/dist/cjs/components/InlineGrid/InlineGrid.js.map +1 -1
  10. package/dist/cjs/components/TableV3/TableV3.d.ts +1 -1
  11. package/dist/cjs/components/TableV5/TableV5.d.ts +1 -1
  12. package/dist/cjs/components/TableV6/TableV6.d.ts +1 -1
  13. package/dist/cjs/components/TextEditorV2/constants.d.ts +1 -1
  14. package/dist/cjs/components/TextEditorV2/constants.js +15 -0
  15. package/dist/cjs/components/TextEditorV2/constants.js.map +1 -1
  16. package/dist/cjs/components/TextEditorV2/editor.js +10 -58
  17. package/dist/cjs/components/TextEditorV2/editor.js.map +1 -1
  18. package/dist/cjs/components/TextEditorV2/nodes/ImageComponent.js +2 -8
  19. package/dist/cjs/components/TextEditorV2/nodes/ImageComponent.js.map +1 -1
  20. package/dist/cjs/components/TextEditorV2/nodes/InlineImageComponent.js +2 -2
  21. package/dist/cjs/components/TextEditorV2/nodes/InlineImageComponent.js.map +1 -1
  22. package/dist/cjs/components/TextEditorV2/nodes/PlaygroundNodes.js +0 -19
  23. package/dist/cjs/components/TextEditorV2/nodes/PlaygroundNodes.js.map +1 -1
  24. package/dist/cjs/components/TextEditorV2/plugins/FloatingTextFormatToolbarPlugin/index.js +1 -2
  25. package/dist/cjs/components/TextEditorV2/plugins/FloatingTextFormatToolbarPlugin/index.js.map +1 -1
  26. package/dist/cjs/components/TextEditorV2/plugins/SanitizePastePlugin/index.d.ts +1 -0
  27. package/dist/cjs/components/TextEditorV2/plugins/SanitizePastePlugin/index.js +58 -0
  28. package/dist/cjs/components/TextEditorV2/plugins/SanitizePastePlugin/index.js.map +1 -0
  29. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/bold-text.js +2 -0
  30. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/bold-text.js.map +1 -1
  31. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/font-size.js +4 -6
  32. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/font-size.js.map +1 -1
  33. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/heading.d.ts +1 -1
  34. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/heading.js +22 -10
  35. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/heading.js.map +1 -1
  36. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/italic-text.js +2 -0
  37. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/italic-text.js.map +1 -1
  38. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/list-marker-format.d.ts +5 -0
  39. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/list-marker-format.js +27 -0
  40. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/list-marker-format.js.map +1 -0
  41. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/text-color.js +1 -3
  42. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/components/text-color.js.map +1 -1
  43. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/index.js +0 -4
  44. package/dist/cjs/components/TextEditorV2/plugins/ToolbarPlugin/index.js.map +1 -1
  45. package/dist/cjs/components/TextEditorV2/shared/LexicalErrorBoundary.d.ts +13 -0
  46. package/dist/cjs/components/TextEditorV2/shared/LexicalErrorBoundary.js +25 -0
  47. package/dist/cjs/components/TextEditorV2/shared/LexicalErrorBoundary.js.map +1 -0
  48. package/dist/cjs/components/TextEditorV2/style.js +21 -0
  49. package/dist/cjs/components/TextEditorV2/style.js.map +1 -1
  50. package/dist/cjs/components/TextV2/TextV2.d.ts +13 -13
  51. package/dist/cjs/components/TextV2/TextV2.js +24 -24
  52. package/dist/cjs/components/TextV2/TextV2.js.map +1 -1
  53. package/dist/cjs/components/types.d.ts +7 -0
  54. package/dist/cjs/helpers/helpers.d.ts +2 -0
  55. package/dist/cjs/helpers/helpers.js +22 -1
  56. package/dist/cjs/helpers/helpers.js.map +1 -1
  57. package/dist/esm/components/BlockStack/BlockStack.d.ts +2 -2
  58. package/dist/esm/components/BlockStack/BlockStack.js +7 -1
  59. package/dist/esm/components/BlockStack/BlockStack.js.map +1 -1
  60. package/dist/esm/components/Box/Box.d.ts +11 -11
  61. package/dist/esm/components/Box/Box.js +13 -13
  62. package/dist/esm/components/Box/Box.js.map +1 -1
  63. package/dist/esm/components/InlineGrid/InlineGrid.d.ts +2 -2
  64. package/dist/esm/components/InlineGrid/InlineGrid.js +17 -10
  65. package/dist/esm/components/InlineGrid/InlineGrid.js.map +1 -1
  66. package/dist/esm/components/TableV3/TableV3.d.ts +1 -1
  67. package/dist/esm/components/TableV5/TableV5.d.ts +1 -1
  68. package/dist/esm/components/TableV6/TableV6.d.ts +1 -1
  69. package/dist/esm/components/TextEditorV2/constants.d.ts +1 -1
  70. package/dist/esm/components/TextEditorV2/constants.js +15 -0
  71. package/dist/esm/components/TextEditorV2/constants.js.map +1 -1
  72. package/dist/esm/components/TextEditorV2/editor.js +9 -57
  73. package/dist/esm/components/TextEditorV2/editor.js.map +1 -1
  74. package/dist/esm/components/TextEditorV2/nodes/ImageComponent.js +1 -7
  75. package/dist/esm/components/TextEditorV2/nodes/ImageComponent.js.map +1 -1
  76. package/dist/esm/components/TextEditorV2/nodes/InlineImageComponent.js +1 -1
  77. package/dist/esm/components/TextEditorV2/nodes/InlineImageComponent.js.map +1 -1
  78. package/dist/esm/components/TextEditorV2/nodes/PlaygroundNodes.js +0 -19
  79. package/dist/esm/components/TextEditorV2/nodes/PlaygroundNodes.js.map +1 -1
  80. package/dist/esm/components/TextEditorV2/plugins/FloatingTextFormatToolbarPlugin/index.js +1 -2
  81. package/dist/esm/components/TextEditorV2/plugins/FloatingTextFormatToolbarPlugin/index.js.map +1 -1
  82. package/dist/esm/components/TextEditorV2/plugins/SanitizePastePlugin/index.d.ts +1 -0
  83. package/dist/esm/components/TextEditorV2/plugins/SanitizePastePlugin/index.js +55 -0
  84. package/dist/esm/components/TextEditorV2/plugins/SanitizePastePlugin/index.js.map +1 -0
  85. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/bold-text.js +2 -0
  86. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/bold-text.js.map +1 -1
  87. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/font-size.js +5 -7
  88. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/font-size.js.map +1 -1
  89. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/heading.d.ts +1 -1
  90. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/heading.js +23 -11
  91. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/heading.js.map +1 -1
  92. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/italic-text.js +2 -0
  93. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/italic-text.js.map +1 -1
  94. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/list-marker-format.d.ts +5 -0
  95. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/list-marker-format.js +24 -0
  96. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/list-marker-format.js.map +1 -0
  97. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/text-color.js +2 -4
  98. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/components/text-color.js.map +1 -1
  99. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/index.js +0 -4
  100. package/dist/esm/components/TextEditorV2/plugins/ToolbarPlugin/index.js.map +1 -1
  101. package/dist/esm/components/TextEditorV2/shared/LexicalErrorBoundary.d.ts +13 -0
  102. package/dist/esm/components/TextEditorV2/shared/LexicalErrorBoundary.js +21 -0
  103. package/dist/esm/components/TextEditorV2/shared/LexicalErrorBoundary.js.map +1 -0
  104. package/dist/esm/components/TextEditorV2/style.js +21 -0
  105. package/dist/esm/components/TextEditorV2/style.js.map +1 -1
  106. package/dist/esm/components/TextV2/TextV2.d.ts +13 -13
  107. package/dist/esm/components/TextV2/TextV2.js +24 -24
  108. package/dist/esm/components/TextV2/TextV2.js.map +1 -1
  109. package/dist/esm/components/types.d.ts +7 -0
  110. package/dist/esm/helpers/helpers.d.ts +2 -0
  111. package/dist/esm/helpers/helpers.js +20 -0
  112. package/dist/esm/helpers/helpers.js.map +1 -1
  113. package/package.json +9 -7
  114. package/dist/cjs/components/TextEditorV2/nodes/AutocompleteNode.d.ts +0 -25
  115. package/dist/cjs/components/TextEditorV2/nodes/AutocompleteNode.js +0 -60
  116. package/dist/cjs/components/TextEditorV2/nodes/AutocompleteNode.js.map +0 -1
  117. package/dist/cjs/components/TextEditorV2/nodes/EmojiNode.d.ts +0 -18
  118. package/dist/cjs/components/TextEditorV2/nodes/EmojiNode.js +0 -62
  119. package/dist/cjs/components/TextEditorV2/nodes/EmojiNode.js.map +0 -1
  120. package/dist/cjs/components/TextEditorV2/nodes/EquationComponent.d.ts +0 -9
  121. package/dist/cjs/components/TextEditorV2/nodes/EquationComponent.js +0 -70
  122. package/dist/cjs/components/TextEditorV2/nodes/EquationComponent.js.map +0 -1
  123. package/dist/cjs/components/TextEditorV2/nodes/EquationNode.d.ts +0 -26
  124. package/dist/cjs/components/TextEditorV2/nodes/EquationNode.js +0 -121
  125. package/dist/cjs/components/TextEditorV2/nodes/EquationNode.js.map +0 -1
  126. package/dist/cjs/components/TextEditorV2/nodes/PollComponent.d.ts +0 -8
  127. package/dist/cjs/components/TextEditorV2/nodes/PollComponent.js +0 -108
  128. package/dist/cjs/components/TextEditorV2/nodes/PollComponent.js.map +0 -1
  129. package/dist/cjs/components/TextEditorV2/nodes/PollNode.d.ts +0 -33
  130. package/dist/cjs/components/TextEditorV2/nodes/PollNode.js +0 -145
  131. package/dist/cjs/components/TextEditorV2/nodes/PollNode.js.map +0 -1
  132. package/dist/cjs/components/TextEditorV2/nodes/StickyComponent.d.ts +0 -9
  133. package/dist/cjs/components/TextEditorV2/nodes/StickyComponent.js +0 -166
  134. package/dist/cjs/components/TextEditorV2/nodes/StickyComponent.js.map +0 -1
  135. package/dist/cjs/components/TextEditorV2/nodes/StickyNode.d.ts +0 -37
  136. package/dist/cjs/components/TextEditorV2/nodes/StickyNode.js +0 -91
  137. package/dist/cjs/components/TextEditorV2/nodes/StickyNode.js.map +0 -1
  138. package/dist/cjs/components/TextEditorV2/plugins/ActionsPlugin/index.d.ts +0 -2
  139. package/dist/cjs/components/TextEditorV2/plugins/ActionsPlugin/index.js +0 -148
  140. package/dist/cjs/components/TextEditorV2/plugins/ActionsPlugin/index.js.map +0 -1
  141. package/dist/cjs/components/TextEditorV2/plugins/AutoEmbedPlugin/index.d.ts +0 -19
  142. package/dist/cjs/components/TextEditorV2/plugins/AutoEmbedPlugin/index.js +0 -168
  143. package/dist/cjs/components/TextEditorV2/plugins/AutoEmbedPlugin/index.js.map +0 -1
  144. package/dist/cjs/components/TextEditorV2/plugins/AutocompletePlugin/index.d.ts +0 -2
  145. package/dist/cjs/components/TextEditorV2/plugins/AutocompletePlugin/index.js +0 -2459
  146. package/dist/cjs/components/TextEditorV2/plugins/AutocompletePlugin/index.js.map +0 -1
  147. package/dist/cjs/components/TextEditorV2/plugins/CodeHighlightPlugin/index.d.ts +0 -1
  148. package/dist/cjs/components/TextEditorV2/plugins/CodeHighlightPlugin/index.js +0 -12
  149. package/dist/cjs/components/TextEditorV2/plugins/CodeHighlightPlugin/index.js.map +0 -1
  150. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContainerNode.d.ts +0 -23
  151. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContainerNode.js +0 -88
  152. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContainerNode.js.map +0 -1
  153. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContentNode.d.ts +0 -17
  154. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContentNode.js +0 -68
  155. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContentNode.js.map +0 -1
  156. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleTitleNode.d.ts +0 -18
  157. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleTitleNode.js +0 -92
  158. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleTitleNode.js.map +0 -1
  159. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/index.d.ts +0 -3
  160. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/index.js +0 -145
  161. package/dist/cjs/components/TextEditorV2/plugins/CollapsiblePlugin/index.js.map +0 -1
  162. package/dist/cjs/components/TextEditorV2/plugins/ContextMenuPlugin/index.d.ts +0 -11
  163. package/dist/cjs/components/TextEditorV2/plugins/ContextMenuPlugin/index.js +0 -129
  164. package/dist/cjs/components/TextEditorV2/plugins/ContextMenuPlugin/index.js.map +0 -1
  165. package/dist/cjs/components/TextEditorV2/plugins/EmojiPickerPlugin/index.d.ts +0 -2
  166. package/dist/cjs/components/TextEditorV2/plugins/EmojiPickerPlugin/index.js +0 -83
  167. package/dist/cjs/components/TextEditorV2/plugins/EmojiPickerPlugin/index.js.map +0 -1
  168. package/dist/cjs/components/TextEditorV2/plugins/EmojisPlugin/index.d.ts +0 -1
  169. package/dist/cjs/components/TextEditorV2/plugins/EmojisPlugin/index.js +0 -63
  170. package/dist/cjs/components/TextEditorV2/plugins/EmojisPlugin/index.js.map +0 -1
  171. package/dist/cjs/components/TextEditorV2/plugins/EquationsPlugin/index.d.ts +0 -14
  172. package/dist/cjs/components/TextEditorV2/plugins/EquationsPlugin/index.js +0 -41
  173. package/dist/cjs/components/TextEditorV2/plugins/EquationsPlugin/index.js.map +0 -1
  174. package/dist/cjs/components/TextEditorV2/plugins/ExcalidrawPlugin/index.d.ts +0 -3
  175. package/dist/cjs/components/TextEditorV2/plugins/ExcalidrawPlugin/index.js +0 -28
  176. package/dist/cjs/components/TextEditorV2/plugins/ExcalidrawPlugin/index.js.map +0 -1
  177. package/dist/cjs/components/TextEditorV2/plugins/FigmaPlugin/index.d.ts +0 -3
  178. package/dist/cjs/components/TextEditorV2/plugins/FigmaPlugin/index.js +0 -25
  179. package/dist/cjs/components/TextEditorV2/plugins/FigmaPlugin/index.js.map +0 -1
  180. package/dist/cjs/components/TextEditorV2/plugins/KeywordsPlugin/index.d.ts +0 -1
  181. package/dist/cjs/components/TextEditorV2/plugins/KeywordsPlugin/index.js +0 -33
  182. package/dist/cjs/components/TextEditorV2/plugins/KeywordsPlugin/index.js.map +0 -1
  183. package/dist/cjs/components/TextEditorV2/plugins/LayoutPlugin/InsertLayoutDialog.d.ts +0 -6
  184. package/dist/cjs/components/TextEditorV2/plugins/LayoutPlugin/InsertLayoutDialog.js +0 -30
  185. package/dist/cjs/components/TextEditorV2/plugins/LayoutPlugin/InsertLayoutDialog.js.map +0 -1
  186. package/dist/cjs/components/TextEditorV2/plugins/LayoutPlugin/LayoutPlugin.d.ts +0 -7
  187. package/dist/cjs/components/TextEditorV2/plugins/LayoutPlugin/LayoutPlugin.js +0 -85
  188. package/dist/cjs/components/TextEditorV2/plugins/LayoutPlugin/LayoutPlugin.js.map +0 -1
  189. package/dist/cjs/components/TextEditorV2/plugins/MarkdownShortcutPlugin/index.d.ts +0 -2
  190. package/dist/cjs/components/TextEditorV2/plugins/MarkdownShortcutPlugin/index.js +0 -11
  191. package/dist/cjs/components/TextEditorV2/plugins/MarkdownShortcutPlugin/index.js.map +0 -1
  192. package/dist/cjs/components/TextEditorV2/plugins/MarkdownTransformers/index.d.ts +0 -8
  193. package/dist/cjs/components/TextEditorV2/plugins/MarkdownTransformers/index.js +0 -241
  194. package/dist/cjs/components/TextEditorV2/plugins/MarkdownTransformers/index.js.map +0 -1
  195. package/dist/cjs/components/TextEditorV2/plugins/MentionsPlugin/index.d.ts +0 -2
  196. package/dist/cjs/components/TextEditorV2/plugins/MentionsPlugin/index.js +0 -551
  197. package/dist/cjs/components/TextEditorV2/plugins/MentionsPlugin/index.js.map +0 -1
  198. package/dist/cjs/components/TextEditorV2/plugins/PageBreakPlugin/index.d.ts +0 -3
  199. package/dist/cjs/components/TextEditorV2/plugins/PageBreakPlugin/index.js +0 -31
  200. package/dist/cjs/components/TextEditorV2/plugins/PageBreakPlugin/index.js.map +0 -1
  201. package/dist/cjs/components/TextEditorV2/plugins/PollPlugin/index.d.ts +0 -8
  202. package/dist/cjs/components/TextEditorV2/plugins/PollPlugin/index.js +0 -45
  203. package/dist/cjs/components/TextEditorV2/plugins/PollPlugin/index.js.map +0 -1
  204. package/dist/cjs/components/TextEditorV2/plugins/StickyPlugin/index.d.ts +0 -1
  205. package/dist/cjs/components/TextEditorV2/plugins/StickyPlugin/index.js +0 -16
  206. package/dist/cjs/components/TextEditorV2/plugins/StickyPlugin/index.js.map +0 -1
  207. package/dist/cjs/components/TextEditorV2/plugins/TabFocusPlugin/index.d.ts +0 -1
  208. package/dist/cjs/components/TextEditorV2/plugins/TabFocusPlugin/index.js +0 -38
  209. package/dist/cjs/components/TextEditorV2/plugins/TabFocusPlugin/index.js.map +0 -1
  210. package/dist/cjs/components/TextEditorV2/plugins/TableCellResizer/index.d.ts +0 -2
  211. package/dist/cjs/components/TextEditorV2/plugins/TableCellResizer/index.js +0 -248
  212. package/dist/cjs/components/TextEditorV2/plugins/TableCellResizer/index.js.map +0 -1
  213. package/dist/cjs/components/TextEditorV2/plugins/TableOfContentsPlugin/index.d.ts +0 -2
  214. package/dist/cjs/components/TextEditorV2/plugins/TableOfContentsPlugin/index.js +0 -116
  215. package/dist/cjs/components/TextEditorV2/plugins/TableOfContentsPlugin/index.js.map +0 -1
  216. package/dist/cjs/components/TextEditorV2/plugins/TwitterPlugin/index.d.ts +0 -3
  217. package/dist/cjs/components/TextEditorV2/plugins/TwitterPlugin/index.js +0 -25
  218. package/dist/cjs/components/TextEditorV2/plugins/TwitterPlugin/index.js.map +0 -1
  219. package/dist/cjs/components/TextEditorV2/plugins/YouTubePlugin/index.d.ts +0 -3
  220. package/dist/cjs/components/TextEditorV2/plugins/YouTubePlugin/index.js +0 -25
  221. package/dist/cjs/components/TextEditorV2/plugins/YouTubePlugin/index.js.map +0 -1
  222. package/dist/cjs/components/TextEditorV2/ui/KatexEquationAlterer.d.ts +0 -7
  223. package/dist/cjs/components/TextEditorV2/ui/KatexEquationAlterer.js +0 -38
  224. package/dist/cjs/components/TextEditorV2/ui/KatexEquationAlterer.js.map +0 -1
  225. package/dist/esm/components/TextEditorV2/nodes/AutocompleteNode.d.ts +0 -25
  226. package/dist/esm/components/TextEditorV2/nodes/AutocompleteNode.js +0 -54
  227. package/dist/esm/components/TextEditorV2/nodes/AutocompleteNode.js.map +0 -1
  228. package/dist/esm/components/TextEditorV2/nodes/EmojiNode.d.ts +0 -18
  229. package/dist/esm/components/TextEditorV2/nodes/EmojiNode.js +0 -56
  230. package/dist/esm/components/TextEditorV2/nodes/EmojiNode.js.map +0 -1
  231. package/dist/esm/components/TextEditorV2/nodes/EquationComponent.d.ts +0 -9
  232. package/dist/esm/components/TextEditorV2/nodes/EquationComponent.js +0 -66
  233. package/dist/esm/components/TextEditorV2/nodes/EquationComponent.js.map +0 -1
  234. package/dist/esm/components/TextEditorV2/nodes/EquationNode.d.ts +0 -26
  235. package/dist/esm/components/TextEditorV2/nodes/EquationNode.js +0 -114
  236. package/dist/esm/components/TextEditorV2/nodes/EquationNode.js.map +0 -1
  237. package/dist/esm/components/TextEditorV2/nodes/PollComponent.d.ts +0 -8
  238. package/dist/esm/components/TextEditorV2/nodes/PollComponent.js +0 -104
  239. package/dist/esm/components/TextEditorV2/nodes/PollComponent.js.map +0 -1
  240. package/dist/esm/components/TextEditorV2/nodes/PollNode.d.ts +0 -33
  241. package/dist/esm/components/TextEditorV2/nodes/PollNode.js +0 -137
  242. package/dist/esm/components/TextEditorV2/nodes/PollNode.js.map +0 -1
  243. package/dist/esm/components/TextEditorV2/nodes/StickyComponent.d.ts +0 -9
  244. package/dist/esm/components/TextEditorV2/nodes/StickyComponent.js +0 -162
  245. package/dist/esm/components/TextEditorV2/nodes/StickyComponent.js.map +0 -1
  246. package/dist/esm/components/TextEditorV2/nodes/StickyNode.d.ts +0 -37
  247. package/dist/esm/components/TextEditorV2/nodes/StickyNode.js +0 -84
  248. package/dist/esm/components/TextEditorV2/nodes/StickyNode.js.map +0 -1
  249. package/dist/esm/components/TextEditorV2/plugins/ActionsPlugin/index.d.ts +0 -2
  250. package/dist/esm/components/TextEditorV2/plugins/ActionsPlugin/index.js +0 -144
  251. package/dist/esm/components/TextEditorV2/plugins/ActionsPlugin/index.js.map +0 -1
  252. package/dist/esm/components/TextEditorV2/plugins/AutoEmbedPlugin/index.d.ts +0 -19
  253. package/dist/esm/components/TextEditorV2/plugins/AutoEmbedPlugin/index.js +0 -162
  254. package/dist/esm/components/TextEditorV2/plugins/AutoEmbedPlugin/index.js.map +0 -1
  255. package/dist/esm/components/TextEditorV2/plugins/AutocompletePlugin/index.d.ts +0 -2
  256. package/dist/esm/components/TextEditorV2/plugins/AutocompletePlugin/index.js +0 -2455
  257. package/dist/esm/components/TextEditorV2/plugins/AutocompletePlugin/index.js.map +0 -1
  258. package/dist/esm/components/TextEditorV2/plugins/CodeHighlightPlugin/index.d.ts +0 -1
  259. package/dist/esm/components/TextEditorV2/plugins/CodeHighlightPlugin/index.js +0 -9
  260. package/dist/esm/components/TextEditorV2/plugins/CodeHighlightPlugin/index.js.map +0 -1
  261. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContainerNode.d.ts +0 -23
  262. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContainerNode.js +0 -81
  263. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContainerNode.js.map +0 -1
  264. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContentNode.d.ts +0 -17
  265. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContentNode.js +0 -61
  266. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleContentNode.js.map +0 -1
  267. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleTitleNode.d.ts +0 -18
  268. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleTitleNode.js +0 -85
  269. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/CollapsibleTitleNode.js.map +0 -1
  270. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/index.d.ts +0 -3
  271. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/index.js +0 -141
  272. package/dist/esm/components/TextEditorV2/plugins/CollapsiblePlugin/index.js.map +0 -1
  273. package/dist/esm/components/TextEditorV2/plugins/ContextMenuPlugin/index.d.ts +0 -11
  274. package/dist/esm/components/TextEditorV2/plugins/ContextMenuPlugin/index.js +0 -123
  275. package/dist/esm/components/TextEditorV2/plugins/ContextMenuPlugin/index.js.map +0 -1
  276. package/dist/esm/components/TextEditorV2/plugins/EmojiPickerPlugin/index.d.ts +0 -2
  277. package/dist/esm/components/TextEditorV2/plugins/EmojiPickerPlugin/index.js +0 -79
  278. package/dist/esm/components/TextEditorV2/plugins/EmojiPickerPlugin/index.js.map +0 -1
  279. package/dist/esm/components/TextEditorV2/plugins/EmojisPlugin/index.d.ts +0 -1
  280. package/dist/esm/components/TextEditorV2/plugins/EmojisPlugin/index.js +0 -60
  281. package/dist/esm/components/TextEditorV2/plugins/EmojisPlugin/index.js.map +0 -1
  282. package/dist/esm/components/TextEditorV2/plugins/EquationsPlugin/index.d.ts +0 -14
  283. package/dist/esm/components/TextEditorV2/plugins/EquationsPlugin/index.js +0 -35
  284. package/dist/esm/components/TextEditorV2/plugins/EquationsPlugin/index.js.map +0 -1
  285. package/dist/esm/components/TextEditorV2/plugins/ExcalidrawPlugin/index.d.ts +0 -3
  286. package/dist/esm/components/TextEditorV2/plugins/ExcalidrawPlugin/index.js +0 -24
  287. package/dist/esm/components/TextEditorV2/plugins/ExcalidrawPlugin/index.js.map +0 -1
  288. package/dist/esm/components/TextEditorV2/plugins/FigmaPlugin/index.d.ts +0 -3
  289. package/dist/esm/components/TextEditorV2/plugins/FigmaPlugin/index.js +0 -21
  290. package/dist/esm/components/TextEditorV2/plugins/FigmaPlugin/index.js.map +0 -1
  291. package/dist/esm/components/TextEditorV2/plugins/KeywordsPlugin/index.d.ts +0 -1
  292. package/dist/esm/components/TextEditorV2/plugins/KeywordsPlugin/index.js +0 -30
  293. package/dist/esm/components/TextEditorV2/plugins/KeywordsPlugin/index.js.map +0 -1
  294. package/dist/esm/components/TextEditorV2/plugins/LayoutPlugin/InsertLayoutDialog.d.ts +0 -6
  295. package/dist/esm/components/TextEditorV2/plugins/LayoutPlugin/InsertLayoutDialog.js +0 -26
  296. package/dist/esm/components/TextEditorV2/plugins/LayoutPlugin/InsertLayoutDialog.js.map +0 -1
  297. package/dist/esm/components/TextEditorV2/plugins/LayoutPlugin/LayoutPlugin.d.ts +0 -7
  298. package/dist/esm/components/TextEditorV2/plugins/LayoutPlugin/LayoutPlugin.js +0 -81
  299. package/dist/esm/components/TextEditorV2/plugins/LayoutPlugin/LayoutPlugin.js.map +0 -1
  300. package/dist/esm/components/TextEditorV2/plugins/MarkdownShortcutPlugin/index.d.ts +0 -2
  301. package/dist/esm/components/TextEditorV2/plugins/MarkdownShortcutPlugin/index.js +0 -7
  302. package/dist/esm/components/TextEditorV2/plugins/MarkdownShortcutPlugin/index.js.map +0 -1
  303. package/dist/esm/components/TextEditorV2/plugins/MarkdownTransformers/index.d.ts +0 -8
  304. package/dist/esm/components/TextEditorV2/plugins/MarkdownTransformers/index.js +0 -237
  305. package/dist/esm/components/TextEditorV2/plugins/MarkdownTransformers/index.js.map +0 -1
  306. package/dist/esm/components/TextEditorV2/plugins/MentionsPlugin/index.d.ts +0 -2
  307. package/dist/esm/components/TextEditorV2/plugins/MentionsPlugin/index.js +0 -547
  308. package/dist/esm/components/TextEditorV2/plugins/MentionsPlugin/index.js.map +0 -1
  309. package/dist/esm/components/TextEditorV2/plugins/PageBreakPlugin/index.d.ts +0 -3
  310. package/dist/esm/components/TextEditorV2/plugins/PageBreakPlugin/index.js +0 -27
  311. package/dist/esm/components/TextEditorV2/plugins/PageBreakPlugin/index.js.map +0 -1
  312. package/dist/esm/components/TextEditorV2/plugins/PollPlugin/index.d.ts +0 -8
  313. package/dist/esm/components/TextEditorV2/plugins/PollPlugin/index.js +0 -39
  314. package/dist/esm/components/TextEditorV2/plugins/PollPlugin/index.js.map +0 -1
  315. package/dist/esm/components/TextEditorV2/plugins/StickyPlugin/index.d.ts +0 -1
  316. package/dist/esm/components/TextEditorV2/plugins/StickyPlugin/index.js +0 -13
  317. package/dist/esm/components/TextEditorV2/plugins/StickyPlugin/index.js.map +0 -1
  318. package/dist/esm/components/TextEditorV2/plugins/TabFocusPlugin/index.d.ts +0 -1
  319. package/dist/esm/components/TextEditorV2/plugins/TabFocusPlugin/index.js +0 -35
  320. package/dist/esm/components/TextEditorV2/plugins/TabFocusPlugin/index.js.map +0 -1
  321. package/dist/esm/components/TextEditorV2/plugins/TableCellResizer/index.d.ts +0 -2
  322. package/dist/esm/components/TextEditorV2/plugins/TableCellResizer/index.js +0 -244
  323. package/dist/esm/components/TextEditorV2/plugins/TableCellResizer/index.js.map +0 -1
  324. package/dist/esm/components/TextEditorV2/plugins/TableOfContentsPlugin/index.d.ts +0 -2
  325. package/dist/esm/components/TextEditorV2/plugins/TableOfContentsPlugin/index.js +0 -112
  326. package/dist/esm/components/TextEditorV2/plugins/TableOfContentsPlugin/index.js.map +0 -1
  327. package/dist/esm/components/TextEditorV2/plugins/TwitterPlugin/index.d.ts +0 -3
  328. package/dist/esm/components/TextEditorV2/plugins/TwitterPlugin/index.js +0 -21
  329. package/dist/esm/components/TextEditorV2/plugins/TwitterPlugin/index.js.map +0 -1
  330. package/dist/esm/components/TextEditorV2/plugins/YouTubePlugin/index.d.ts +0 -3
  331. package/dist/esm/components/TextEditorV2/plugins/YouTubePlugin/index.js +0 -21
  332. package/dist/esm/components/TextEditorV2/plugins/YouTubePlugin/index.js.map +0 -1
  333. package/dist/esm/components/TextEditorV2/ui/KatexEquationAlterer.d.ts +0 -7
  334. package/dist/esm/components/TextEditorV2/ui/KatexEquationAlterer.js +0 -34
  335. package/dist/esm/components/TextEditorV2/ui/KatexEquationAlterer.js.map +0 -1
@@ -1,168 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EmbedConfigs = exports.FigmaEmbedConfig = exports.TwitterEmbedConfig = exports.YoutubeEmbedConfig = void 0;
4
- exports.AutoEmbedDialog = AutoEmbedDialog;
5
- exports.default = AutoEmbedPlugin;
6
- const tslib_1 = require("tslib");
7
- const LexicalAutoEmbedPlugin_1 = require("@lexical/react/LexicalAutoEmbedPlugin");
8
- const LexicalComposerContext_1 = require("@lexical/react/LexicalComposerContext");
9
- const react_1 = require("react");
10
- const React = tslib_1.__importStar(require("react"));
11
- const ReactDOM = tslib_1.__importStar(require("react-dom"));
12
- const useModal_1 = tslib_1.__importDefault(require("../../hooks/useModal"));
13
- const Button_1 = tslib_1.__importDefault(require("../../ui/Button"));
14
- const Dialog_1 = require("../../ui/Dialog");
15
- const FigmaPlugin_1 = require("../FigmaPlugin");
16
- const TwitterPlugin_1 = require("../TwitterPlugin");
17
- const YouTubePlugin_1 = require("../YouTubePlugin");
18
- exports.YoutubeEmbedConfig = {
19
- contentName: 'Youtube Video',
20
- exampleUrl: 'https://www.youtube.com/watch?v=jNQXAC9IVRw',
21
- // Icon for display.
22
- icon: React.createElement("i", { className: 'icon youtube' }),
23
- insertNode: (editor, result) => {
24
- editor.dispatchCommand(YouTubePlugin_1.INSERT_YOUTUBE_COMMAND, result.id);
25
- },
26
- keywords: ['youtube', 'video'],
27
- // Determine if a given URL is a match and return url data.
28
- parseUrl: async (url) => {
29
- const match = /^.*(youtu\.be\/|v\/|u\/\w\/|embed\/|watch\?v=|&v=)([^#&?]*).*/.exec(url);
30
- const id = match ? ((match === null || match === void 0 ? void 0 : match[2].length) === 11 ? match[2] : null) : null;
31
- if (id != null) {
32
- return {
33
- id,
34
- url,
35
- };
36
- }
37
- return null;
38
- },
39
- type: 'youtube-video',
40
- };
41
- exports.TwitterEmbedConfig = {
42
- // e.g. Tweet or Google Map.
43
- contentName: 'Tweet',
44
- exampleUrl: 'https://twitter.com/jack/status/20',
45
- // Icon for display.
46
- icon: React.createElement("i", { className: 'icon tweet' }),
47
- // Create the Lexical embed node from the url data.
48
- insertNode: (editor, result) => {
49
- editor.dispatchCommand(TwitterPlugin_1.INSERT_TWEET_COMMAND, result.id);
50
- },
51
- // For extra searching.
52
- keywords: ['tweet', 'twitter'],
53
- // Determine if a given URL is a match and return url data.
54
- parseUrl: (text) => {
55
- const match = /^https:\/\/(twitter|x)\.com\/(#!\/)?(\w+)\/status(es)*\/(\d+)/.exec(text);
56
- if (match != null) {
57
- return {
58
- id: match[5],
59
- url: match[1],
60
- };
61
- }
62
- return null;
63
- },
64
- type: 'tweet',
65
- };
66
- exports.FigmaEmbedConfig = {
67
- contentName: 'Figma Document',
68
- exampleUrl: 'https://www.figma.com/file/LKQ4FJ4bTnCSjedbRpk931/Sample-File',
69
- icon: React.createElement("i", { className: 'icon figma' }),
70
- insertNode: (editor, result) => {
71
- editor.dispatchCommand(FigmaPlugin_1.INSERT_FIGMA_COMMAND, result.id);
72
- },
73
- keywords: ['figma', 'figma.com', 'mock-up'],
74
- // Determine if a given URL is a match and return url data.
75
- parseUrl: (text) => {
76
- const match = /https:\/\/([\w.-]+\.)?figma.com\/(file|proto)\/([0-9a-zA-Z]{22,128})(?:\/.*)?$/.exec(text);
77
- if (match != null) {
78
- return {
79
- id: match[3],
80
- url: match[0],
81
- };
82
- }
83
- return null;
84
- },
85
- type: 'figma',
86
- };
87
- exports.EmbedConfigs = [exports.TwitterEmbedConfig, exports.YoutubeEmbedConfig, exports.FigmaEmbedConfig];
88
- function AutoEmbedMenuItem({ index, isSelected, onClick, onMouseEnter, option, }) {
89
- let className = 'item';
90
- if (isSelected) {
91
- className += ' selected';
92
- }
93
- return (React.createElement("li", { key: option.key, ref: option.setRefElement, "aria-selected": isSelected, className: className, id: 'typeahead-item-' + index, onClick: onClick, onMouseEnter: onMouseEnter, role: 'option', tabIndex: -1 },
94
- React.createElement("span", { className: 'text' }, option.title)));
95
- }
96
- function AutoEmbedMenu({ onOptionClick, onOptionMouseEnter, options, selectedItemIndex, }) {
97
- return (React.createElement("div", { className: 'typeahead-popover' },
98
- React.createElement("ul", null, options.map((option, i) => (React.createElement(AutoEmbedMenuItem, { key: option.key, index: i, isSelected: selectedItemIndex === i, onClick: () => onOptionClick(option, i), onMouseEnter: () => onOptionMouseEnter(i), option: option }))))));
99
- }
100
- const debounce = (callback, delay) => {
101
- let timeoutId;
102
- return (text) => {
103
- window.clearTimeout(timeoutId);
104
- timeoutId = window.setTimeout(() => {
105
- callback(text);
106
- }, delay);
107
- };
108
- };
109
- function AutoEmbedDialog({ embedConfig, onClose, }) {
110
- const [text, setText] = (0, react_1.useState)('');
111
- const [editor] = (0, LexicalComposerContext_1.useLexicalComposerContext)();
112
- const [embedResult, setEmbedResult] = (0, react_1.useState)(null);
113
- const validateText = (0, react_1.useMemo)(() => debounce((inputText) => {
114
- const urlMatch = LexicalAutoEmbedPlugin_1.URL_MATCHER.exec(inputText);
115
- if (embedConfig != null && inputText != null && urlMatch != null) {
116
- Promise.resolve(embedConfig.parseUrl(inputText)).then((parseResult) => {
117
- setEmbedResult(parseResult);
118
- });
119
- }
120
- else if (embedResult != null) {
121
- setEmbedResult(null);
122
- }
123
- }, 200), [embedConfig, embedResult]);
124
- const onClick = () => {
125
- if (embedResult != null) {
126
- embedConfig.insertNode(editor, embedResult);
127
- onClose();
128
- }
129
- };
130
- return (React.createElement("div", { style: { width: '600px' } },
131
- React.createElement("div", { className: 'Input__wrapper' },
132
- React.createElement("input", { className: 'Input__input', "data-test-id": `${embedConfig.type}-embed-modal-url`, onChange: (e) => {
133
- const { value } = e.target;
134
- setText(value);
135
- validateText(value);
136
- }, placeholder: embedConfig.exampleUrl, type: 'text', value: text })),
137
- React.createElement(Dialog_1.DialogActions, null,
138
- React.createElement(Button_1.default, { "data-test-id": `${embedConfig.type}-embed-modal-submit-btn`, disabled: !embedResult, onClick: onClick }, "Embed"))));
139
- }
140
- function AutoEmbedPlugin() {
141
- const [modal, showModal] = (0, useModal_1.default)();
142
- const openEmbedModal = (embedConfig) => {
143
- showModal(`Embed ${embedConfig.contentName}`, (onClose) => (React.createElement(AutoEmbedDialog, { embedConfig: embedConfig, onClose: onClose })));
144
- };
145
- const getMenuOptions = (activeEmbedConfig, embedFn, dismissFn) => [
146
- new LexicalAutoEmbedPlugin_1.AutoEmbedOption('Dismiss', {
147
- onSelect: dismissFn,
148
- }),
149
- new LexicalAutoEmbedPlugin_1.AutoEmbedOption(`Embed ${activeEmbedConfig.contentName}`, {
150
- onSelect: embedFn,
151
- }),
152
- ];
153
- return (React.createElement(React.Fragment, null,
154
- modal,
155
- React.createElement(LexicalAutoEmbedPlugin_1.LexicalAutoEmbedPlugin, { embedConfigs: exports.EmbedConfigs, getMenuOptions: getMenuOptions, menuRenderFn: (anchorElementRef, { options, selectOptionAndCleanUp, selectedIndex, setHighlightedIndex }) => anchorElementRef.current
156
- ? ReactDOM.createPortal(React.createElement("div", { className: 'typeahead-popover auto-embed-menu', style: {
157
- marginLeft: anchorElementRef.current.style.width,
158
- width: 200,
159
- } },
160
- React.createElement(AutoEmbedMenu, { onOptionClick: (option, index) => {
161
- setHighlightedIndex(index);
162
- selectOptionAndCleanUp(option);
163
- }, onOptionMouseEnter: (index) => {
164
- setHighlightedIndex(index);
165
- }, options: options, selectedItemIndex: selectedIndex })), anchorElementRef.current)
166
- : null, onOpenEmbedModalForConfig: openEmbedModal })));
167
- }
168
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/TextEditorV2/plugins/AutoEmbedPlugin/index.tsx"],"names":[],"mappings":";;;AAgNA,0CAwDC;AAED,kCAsDC;;AAhUD,kFAM8C;AAC9C,kFAAiF;AAEjF,iCAAyC;AACzC,qDAA8B;AAC9B,4DAAqC;AACrC,4EAA2C;AAC3C,qEAAoC;AACpC,4CAA+C;AAC/C,gDAAqD;AACrD,oDAAuD;AACvD,oDAAyD;AAmB5C,QAAA,kBAAkB,GAA0B;IACvD,WAAW,EAAE,eAAe;IAE5B,UAAU,EAAE,6CAA6C;IAEzD,oBAAoB;IACpB,IAAI,EAAE,2BAAG,SAAS,EAAC,cAAc,GAAG;IAEpC,UAAU,EAAE,CAAC,MAAqB,EAAE,MAAwB,EAAE,EAAE;QAC9D,MAAM,CAAC,eAAe,CAAC,sCAAsB,EAAE,MAAM,CAAC,EAAE,CAAC,CAAA;IAC3D,CAAC;IAED,QAAQ,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;IAE9B,2DAA2D;IAC3D,QAAQ,EAAE,KAAK,EAAE,GAAW,EAAE,EAAE;QAC9B,MAAM,KAAK,GAAG,+DAA+D,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;QAEvF,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAA,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