@wix/ricos 11.24.1 → 11.25.0

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 (959) hide show
  1. package/css/all-plugins-viewer.css +175 -175
  2. package/css/plugin-audio-viewer.global.css +3 -3
  3. package/css/plugin-audio-viewer.global.inject.mjs +4 -4
  4. package/css/plugin-button-viewer.global.css +1 -1
  5. package/css/plugin-button-viewer.global.inject.mjs +2 -2
  6. package/css/plugin-card-viewer.global.css +1 -1
  7. package/css/plugin-card-viewer.global.inject.mjs +2 -2
  8. package/css/plugin-collapsible-list-viewer.global.css +1 -1
  9. package/css/plugin-collapsible-list-viewer.global.inject.mjs +2 -2
  10. package/css/plugin-divider-viewer.global.css +1 -1
  11. package/css/plugin-divider-viewer.global.inject.mjs +2 -2
  12. package/css/plugin-file-upload-viewer.global.css +1 -1
  13. package/css/plugin-file-upload-viewer.global.inject.mjs +2 -2
  14. package/css/plugin-gallery-viewer.global.css +1 -1
  15. package/css/plugin-gallery-viewer.global.inject.mjs +2 -2
  16. package/css/plugin-giphy-viewer.global.css +1 -1
  17. package/css/plugin-giphy-viewer.global.inject.mjs +2 -2
  18. package/css/plugin-hashtag-viewer.global.css +1 -1
  19. package/css/plugin-hashtag-viewer.global.inject.mjs +2 -2
  20. package/css/plugin-html-viewer.global.css +1 -1
  21. package/css/plugin-html-viewer.global.inject.mjs +2 -2
  22. package/css/plugin-image-viewer.global.css +1 -1
  23. package/css/plugin-image-viewer.global.inject.mjs +2 -2
  24. package/css/plugin-link-preview-viewer.global.css +2 -2
  25. package/css/plugin-link-preview-viewer.global.inject.mjs +3 -3
  26. package/css/plugin-link-viewer.global.css +1 -1
  27. package/css/plugin-link-viewer.global.inject.mjs +2 -2
  28. package/css/plugin-mentions-viewer.global.css +1 -1
  29. package/css/plugin-mentions-viewer.global.inject.mjs +2 -2
  30. package/css/plugin-paywall-viewer.global.css +1 -1
  31. package/css/plugin-paywall-viewer.global.inject.mjs +2 -2
  32. package/css/plugin-smart-block-viewer.global.css +1 -1
  33. package/css/plugin-smart-block-viewer.global.inject.mjs +2 -2
  34. package/css/plugin-social-polls-viewer.global.css +1 -1
  35. package/css/plugin-social-polls-viewer.global.inject.mjs +2 -2
  36. package/css/plugin-spoiler-viewer.global.css +1 -1
  37. package/css/plugin-spoiler-viewer.global.inject.mjs +2 -2
  38. package/css/plugin-table-viewer.global.css +3 -3
  39. package/css/plugin-table-viewer.global.inject.mjs +4 -4
  40. package/css/plugin-toc-viewer.global.css +1 -1
  41. package/css/plugin-toc-viewer.global.inject.mjs +2 -2
  42. package/css/plugin-vertical-embed-viewer.global.css +2 -2
  43. package/css/plugin-vertical-embed-viewer.global.inject.mjs +3 -3
  44. package/css/plugin-video-viewer.global.css +1 -1
  45. package/css/plugin-video-viewer.global.inject.mjs +2 -2
  46. package/css/ricos-viewer.global.css +1 -1
  47. package/css/ricos-viewer.global.inject.mjs +2 -2
  48. package/dist/cjs/_shared/dropdown-modal/dropdown-modal-scss.js +2 -2
  49. package/dist/cjs/_shared/dropdown-modal/dropdown-modal-scss.js.map +1 -1
  50. package/dist/cjs/_shared/figure/add-caption-button-scss.js +9 -9
  51. package/dist/cjs/_shared/figure/add-caption-button-scss.js.map +1 -1
  52. package/dist/cjs/_shared/figure/viewer-caption-scss.js +2 -2
  53. package/dist/cjs/_shared/figure/viewer-caption-scss.js.map +1 -1
  54. package/dist/cjs/_shared/figure/viewer-figure-scss.js +1 -1
  55. package/dist/cjs/_shared/figure/viewer-figure-scss.js.map +1 -1
  56. package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js +1 -1
  57. package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
  58. package/dist/cjs/_shared/list-item-select/list-item-select-scss.js +2 -2
  59. package/dist/cjs/_shared/list-item-select/list-item-select-scss.js.map +1 -1
  60. package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js +3 -3
  61. package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
  62. package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js +1 -1
  63. package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
  64. package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +2 -2
  65. package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
  66. package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +2 -2
  67. package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
  68. package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +7 -7
  69. package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
  70. package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js +13 -13
  71. package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  72. package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js +8 -8
  73. package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
  74. package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js +7 -7
  75. package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
  76. package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js +2 -2
  77. package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
  78. package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js +3 -3
  79. package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
  80. package/dist/cjs/api-docs-gen/scripts/api-doc-to-md-script.js +1 -1
  81. package/dist/cjs/api-docs-gen/scripts/api-doc-to-md-script.js.map +1 -1
  82. package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js +18 -18
  83. package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js.map +2 -2
  84. package/dist/cjs/bundled-dependencies/id3js.js +9 -9
  85. package/dist/cjs/bundled-dependencies/id3js.js.map +1 -1
  86. package/dist/cjs/bundled-dependencies/wix-bi-logger-rich-editor.js +1 -1
  87. package/dist/cjs/bundled-dependencies/wix-bi-logger-rich-editor.js.map +1 -1
  88. package/dist/cjs/bundled-dependencies/wix-image.css +2 -2
  89. package/dist/cjs/bundled-dependencies/wix-image.css.map +1 -1
  90. package/dist/cjs/bundled-dependencies/wix-image.js +8 -8
  91. package/dist/cjs/bundled-dependencies/wix-image.js.map +1 -1
  92. package/dist/cjs/bundled-dependencies/wix-web-bi-logger.js +60 -60
  93. package/dist/cjs/bundled-dependencies/wix-web-bi-logger.js.map +2 -2
  94. package/dist/cjs/editor-common/statics/styles/general-scss.js +18 -18
  95. package/dist/cjs/editor-common/statics/styles/general-scss.js.map +1 -1
  96. package/dist/cjs/index.js.map +2 -2
  97. package/dist/cjs/legacy.js.map +2 -2
  98. package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js +8 -8
  99. package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
  100. package/dist/cjs/plugin-ai/ai-content-modal/disclaimer/disclaimer.js +1 -1
  101. package/dist/cjs/plugin-ai/ai-content-modal/disclaimer/disclaimer.js.map +2 -2
  102. package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js +2 -2
  103. package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
  104. package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +1 -1
  105. package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
  106. package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +2 -2
  107. package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
  108. package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +5 -5
  109. package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
  110. package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js +6 -6
  111. package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
  112. package/dist/cjs/plugin-ai/ai-image-modal/slice/types.js.map +1 -1
  113. package/dist/cjs/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.js +62 -7
  114. package/dist/cjs/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.js.map +3 -3
  115. package/dist/cjs/plugin-ai/ai-image-modal/slice/use-ai-image-modal-reducer.js +9 -3
  116. package/dist/cjs/plugin-ai/ai-image-modal/slice/use-ai-image-modal-reducer.js.map +2 -2
  117. package/dist/cjs/plugin-ai/ai-image-modal/use-ai-image-modal-api.js +12 -3
  118. package/dist/cjs/plugin-ai/ai-image-modal/use-ai-image-modal-api.js.map +2 -2
  119. package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js +1 -1
  120. package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
  121. package/dist/cjs/plugin-ai/error-message/error-message-scss.js +1 -1
  122. package/dist/cjs/plugin-ai/error-message/error-message-scss.js.map +1 -1
  123. package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js +4 -4
  124. package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  125. package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js +2 -2
  126. package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
  127. package/dist/cjs/plugin-ai/types.js.map +2 -2
  128. package/dist/cjs/plugin-animation/animation-panel-scss.js +9 -9
  129. package/dist/cjs/plugin-animation/animation-panel-scss.js.map +1 -1
  130. package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js +1 -1
  131. package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
  132. package/dist/cjs/plugin-audio/statics/styles/audio-scss.js +21 -21
  133. package/dist/cjs/plugin-audio/statics/styles/audio-scss.js.map +1 -1
  134. package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js +1 -1
  135. package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
  136. package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js +1 -1
  137. package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
  138. package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js +2 -2
  139. package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
  140. package/dist/cjs/plugin-block-drag-handle/styles-scss.js +8 -8
  141. package/dist/cjs/plugin-block-drag-handle/styles-scss.js.map +1 -1
  142. package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js +2 -2
  143. package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
  144. package/dist/cjs/plugin-button/statics/styles/button-text-field-scss.js +1 -1
  145. package/dist/cjs/plugin-button/statics/styles/button-text-field-scss.js.map +1 -1
  146. package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js +5 -5
  147. package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
  148. package/dist/cjs/plugin-card/card-scss.js +20 -20
  149. package/dist/cjs/plugin-card/card-scss.js.map +1 -1
  150. package/dist/cjs/plugin-card/card-viewer-scss.js +6 -6
  151. package/dist/cjs/plugin-card/card-viewer-scss.js.map +1 -1
  152. package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js +6 -6
  153. package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
  154. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
  155. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
  156. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
  157. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
  158. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +2 -2
  159. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
  160. package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +3 -3
  161. package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
  162. package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
  163. package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
  164. package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js +1 -1
  165. package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
  166. package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js +1 -1
  167. package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
  168. package/dist/cjs/plugin-figure/tiptap/caption-scss.js +3 -3
  169. package/dist/cjs/plugin-figure/tiptap/caption-scss.js.map +1 -1
  170. package/dist/cjs/plugin-figure/tiptap/figure-scss.js +3 -3
  171. package/dist/cjs/plugin-figure/tiptap/figure-scss.js.map +1 -1
  172. package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
  173. package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
  174. package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +3 -3
  175. package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
  176. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +6 -6
  177. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
  178. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +5 -5
  179. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
  180. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +1 -1
  181. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
  182. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +3 -3
  183. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
  184. package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js +1 -1
  185. package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
  186. package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
  187. package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
  188. package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js +1 -1
  189. package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
  190. package/dist/cjs/plugin-gallery/viewer/layout-collage-scss.js +5 -5
  191. package/dist/cjs/plugin-gallery/viewer/layout-collage-scss.js.map +1 -1
  192. package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js +4 -4
  193. package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
  194. package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
  195. package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
  196. package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js +2 -2
  197. package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
  198. package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
  199. package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
  200. package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
  201. package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
  202. package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js +6 -6
  203. package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
  204. package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
  205. package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
  206. package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js +9 -9
  207. package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
  208. package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
  209. package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
  210. package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js +2 -2
  211. package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
  212. package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js +2 -2
  213. package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
  214. package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js +5 -5
  215. package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
  216. package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
  217. package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
  218. package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js +1 -1
  219. package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
  220. package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js +2 -2
  221. package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
  222. package/dist/cjs/plugin-html/tiptap/loader-scss.js +9 -9
  223. package/dist/cjs/plugin-html/tiptap/loader-scss.js.map +1 -1
  224. package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js +2 -2
  225. package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
  226. package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js +4 -4
  227. package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
  228. package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js +1 -1
  229. package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
  230. package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js +14 -14
  231. package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
  232. package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js +20 -20
  233. package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
  234. package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js +1 -1
  235. package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
  236. package/dist/cjs/plugin-image/tiptap/image-tiptap-extension.js +18 -14
  237. package/dist/cjs/plugin-image/tiptap/image-tiptap-extension.js.map +2 -2
  238. package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js +4 -4
  239. package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
  240. package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js +10 -10
  241. package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
  242. package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js +1 -1
  243. package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
  244. package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js +4 -4
  245. package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
  246. package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js +3 -3
  247. package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
  248. package/dist/cjs/plugin-inline-ai/modal-scss.js +9 -9
  249. package/dist/cjs/plugin-inline-ai/modal-scss.js.map +1 -1
  250. package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js +12 -12
  251. package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
  252. package/dist/cjs/plugin-inline-ai/spinner-scss.js +2 -2
  253. package/dist/cjs/plugin-inline-ai/spinner-scss.js.map +1 -1
  254. package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js +2 -2
  255. package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
  256. package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +1 -1
  257. package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
  258. package/dist/cjs/plugin-link/statics/link-viewer-scss.js +4 -4
  259. package/dist/cjs/plugin-link/statics/link-viewer-scss.js.map +1 -1
  260. package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js +1 -1
  261. package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
  262. package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js +1 -1
  263. package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
  264. package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
  265. package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
  266. package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js +1 -1
  267. package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
  268. package/dist/cjs/plugin-mentions/statics/mention-list-scss.js +3 -3
  269. package/dist/cjs/plugin-mentions/statics/mention-list-scss.js.map +1 -1
  270. package/dist/cjs/plugin-mentions/statics/mentions-scss.js +4 -4
  271. package/dist/cjs/plugin-mentions/statics/mentions-scss.js.map +1 -1
  272. package/dist/cjs/plugin-paywall/paywall-fallback-scss.js +1 -1
  273. package/dist/cjs/plugin-paywall/paywall-fallback-scss.js.map +1 -1
  274. package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js +22 -22
  275. package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
  276. package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
  277. package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
  278. package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
  279. package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
  280. package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js +20 -20
  281. package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
  282. package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js +7 -7
  283. package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
  284. package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js +1 -1
  285. package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
  286. package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js +50 -50
  287. package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
  288. package/dist/cjs/plugin-smart-block/components/stars-scss.js +8 -8
  289. package/dist/cjs/plugin-smart-block/components/stars-scss.js.map +1 -1
  290. package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js +7 -7
  291. package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
  292. package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js +13 -13
  293. package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
  294. package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
  295. package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
  296. package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js +1 -1
  297. package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
  298. package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
  299. package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
  300. package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js +23 -23
  301. package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
  302. package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
  303. package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
  304. package/dist/cjs/plugin-social-polls/components/poll-scss.js +19 -19
  305. package/dist/cjs/plugin-social-polls/components/poll-scss.js.map +1 -1
  306. package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js +2 -2
  307. package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
  308. package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
  309. package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
  310. package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
  311. package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
  312. package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
  313. package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
  314. package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js +5 -5
  315. package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
  316. package/dist/cjs/plugin-table/statics/styles/cell-scss.js +15 -15
  317. package/dist/cjs/plugin-table/statics/styles/cell-scss.js.map +1 -1
  318. package/dist/cjs/plugin-table/statics/styles/resizer-scss.js +18 -18
  319. package/dist/cjs/plugin-table/statics/styles/resizer-scss.js.map +1 -1
  320. package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js +1 -1
  321. package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
  322. package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js +6 -6
  323. package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
  324. package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js +9 -9
  325. package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
  326. package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js +33 -33
  327. package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
  328. package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js +2 -2
  329. package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
  330. package/dist/cjs/plugin-text-color/text-button-color-scss.js +2 -2
  331. package/dist/cjs/plugin-text-color/text-button-color-scss.js.map +1 -1
  332. package/dist/cjs/plugin-toc/toc-view-scss.js +2 -2
  333. package/dist/cjs/plugin-toc/toc-view-scss.js.map +1 -1
  334. package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
  335. package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
  336. package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js +23 -23
  337. package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
  338. package/dist/cjs/plugin-vertical-embed/components/card-scss.js +19 -19
  339. package/dist/cjs/plugin-vertical-embed/components/card-scss.js.map +1 -1
  340. package/dist/cjs/plugin-vertical-embed/components/description-scss.js +2 -2
  341. package/dist/cjs/plugin-vertical-embed/components/description-scss.js.map +1 -1
  342. package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js +2 -2
  343. package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
  344. package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js +10 -10
  345. package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
  346. package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js +1 -1
  347. package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
  348. package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
  349. package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
  350. package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js +8 -8
  351. package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
  352. package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js +3 -3
  353. package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
  354. package/dist/cjs/plugin-video/toolbar/embed-video-scss.js +1 -1
  355. package/dist/cjs/plugin-video/toolbar/embed-video-scss.js.map +1 -1
  356. package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +1 -1
  357. package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
  358. package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +8 -8
  359. package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
  360. package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js +33 -33
  361. package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js.map +1 -1
  362. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +2 -2
  363. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
  364. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +4 -4
  365. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
  366. package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js +2 -2
  367. package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
  368. package/dist/cjs/ricos-common-plugins/statics/styles-scss.js +18 -18
  369. package/dist/cjs/ricos-common-plugins/statics/styles-scss.js.map +1 -1
  370. package/dist/cjs/ricos-common-plugins/title/headings-scss.js +8 -8
  371. package/dist/cjs/ricos-common-plugins/title/headings-scss.js.map +1 -1
  372. package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js +9 -9
  373. package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
  374. package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js +9 -9
  375. package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
  376. package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js +1 -1
  377. package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
  378. package/dist/cjs/ricos-modals/statics/styles/popper-scss.js +3 -3
  379. package/dist/cjs/ricos-modals/statics/styles/popper-scss.js.map +1 -1
  380. package/dist/cjs/ricos-schema/next-schema/version.js +1 -1
  381. package/dist/cjs/ricos-schema/next-schema/version.js.map +1 -1
  382. package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js +4 -4
  383. package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
  384. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
  385. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
  386. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
  387. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
  388. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
  389. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
  390. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
  391. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
  392. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
  393. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
  394. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
  395. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
  396. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
  397. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
  398. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
  399. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
  400. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +12 -12
  401. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
  402. package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js +16 -16
  403. package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
  404. package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js +7 -7
  405. package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
  406. package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
  407. package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
  408. package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js +2 -2
  409. package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
  410. package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +2 -2
  411. package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
  412. package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +13 -13
  413. package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
  414. package/dist/cjs/tiptap-extensions/placeholder-scss.js +1 -1
  415. package/dist/cjs/tiptap-extensions/placeholder-scss.js.map +1 -1
  416. package/dist/cjs/tiptap-extensions/statics/styles-scss.js +4 -4
  417. package/dist/cjs/tiptap-extensions/statics/styles-scss.js.map +1 -1
  418. package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +1 -1
  419. package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
  420. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +3 -3
  421. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
  422. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +3 -3
  423. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
  424. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +4 -4
  425. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
  426. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +9 -9
  427. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
  428. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +1 -1
  429. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
  430. package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +1 -1
  431. package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
  432. package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +5 -5
  433. package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
  434. package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +6 -6
  435. package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
  436. package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +1 -1
  437. package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
  438. package/dist/cjs/ui-components/Components/Image-scss.js +1 -1
  439. package/dist/cjs/ui-components/Components/Image-scss.js.map +1 -1
  440. package/dist/cjs/ui-components/Components/double-loader-scss.js +4 -4
  441. package/dist/cjs/ui-components/Components/double-loader-scss.js.map +1 -1
  442. package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +2 -2
  443. package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
  444. package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +13 -13
  445. package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
  446. package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +1 -1
  447. package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
  448. package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +2 -2
  449. package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
  450. package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +2 -2
  451. package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
  452. package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +1 -1
  453. package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
  454. package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js +1 -1
  455. package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
  456. package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js +3 -3
  457. package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
  458. package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +1 -1
  459. package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
  460. package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +4 -4
  461. package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
  462. package/dist/cjs/ui-components/panel/panel-scss.js +2 -2
  463. package/dist/cjs/ui-components/panel/panel-scss.js.map +1 -1
  464. package/dist/cjs/ui-components/panel-header/panel-header-scss.js +1 -1
  465. package/dist/cjs/ui-components/panel-header/panel-header-scss.js.map +1 -1
  466. package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +1 -1
  467. package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
  468. package/dist/cjs/ui-components/statics/styles/generic-error-scss.js +1 -1
  469. package/dist/cjs/ui-components/statics/styles/generic-error-scss.js.map +1 -1
  470. package/dist/cjs/ui-components/statics/styles/loaders-scss.js +8 -8
  471. package/dist/cjs/ui-components/statics/styles/loaders-scss.js.map +1 -1
  472. package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js +3 -3
  473. package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
  474. package/dist/cjs/ui-components/statics/styles/slider-scss.js +5 -5
  475. package/dist/cjs/ui-components/statics/styles/slider-scss.js.map +1 -1
  476. package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js +1 -1
  477. package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
  478. package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js +16 -16
  479. package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
  480. package/dist/cjs/wix-rich-content-common/devTools/tabs/overrides.js +2 -2
  481. package/dist/cjs/wix-rich-content-common/devTools/tabs/overrides.js.map +2 -2
  482. package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js +1 -1
  483. package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
  484. package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js +11 -11
  485. package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
  486. package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js +5 -5
  487. package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js.map +1 -1
  488. package/dist/es/_shared/figure/add-caption-button-scss.js +11 -11
  489. package/dist/es/_shared/figure/add-caption-button-scss.js.map +1 -1
  490. package/dist/es/_shared/figure/viewer-caption-scss.js +2 -2
  491. package/dist/es/_shared/figure/viewer-caption-scss.js.map +1 -1
  492. package/dist/es/_shared/figure/viewer-figure-scss.js +1 -1
  493. package/dist/es/_shared/figure/viewer-figure-scss.js.map +1 -1
  494. package/dist/es/_shared/list-item-divider/list-item-divider-scss.js +3 -3
  495. package/dist/es/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
  496. package/dist/es/_shared/list-item-select/list-item-select-scss.js +4 -4
  497. package/dist/es/_shared/list-item-select/list-item-select-scss.js.map +1 -1
  498. package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js +5 -5
  499. package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
  500. package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js +3 -3
  501. package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
  502. package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +4 -4
  503. package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
  504. package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +4 -4
  505. package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
  506. package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +9 -9
  507. package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
  508. package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js +15 -15
  509. package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  510. package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js +10 -10
  511. package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
  512. package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js +9 -9
  513. package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
  514. package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js +4 -4
  515. package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
  516. package/dist/es/_shared/toolbar-button/toolbar-button-scss.js +5 -5
  517. package/dist/es/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
  518. package/dist/es/api-docs-gen/scripts/api-doc-to-md-script.js +1 -1
  519. package/dist/es/api-docs-gen/scripts/api-doc-to-md-script.js.map +1 -1
  520. package/dist/es/bundled-dependencies/ai-assistant-avatar.js +20 -20
  521. package/dist/es/bundled-dependencies/ai-assistant-avatar.js.map +2 -2
  522. package/dist/es/bundled-dependencies/id3js.js +9 -9
  523. package/dist/es/bundled-dependencies/id3js.js.map +1 -1
  524. package/dist/es/bundled-dependencies/wix-bi-logger-rich-editor.js +1 -1
  525. package/dist/es/bundled-dependencies/wix-bi-logger-rich-editor.js.map +1 -1
  526. package/dist/es/bundled-dependencies/wix-image.css +2 -2
  527. package/dist/es/bundled-dependencies/wix-image.css.map +1 -1
  528. package/dist/es/bundled-dependencies/wix-image.js +8 -8
  529. package/dist/es/bundled-dependencies/wix-image.js.map +1 -1
  530. package/dist/es/bundled-dependencies/wix-web-bi-logger.js +60 -60
  531. package/dist/es/bundled-dependencies/wix-web-bi-logger.js.map +1 -1
  532. package/dist/es/editor-common/statics/styles/general-scss.js +20 -20
  533. package/dist/es/editor-common/statics/styles/general-scss.js.map +1 -1
  534. package/dist/es/index.js.map +2 -2
  535. package/dist/es/legacy.js.map +2 -2
  536. package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js +10 -10
  537. package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
  538. package/dist/es/plugin-ai/ai-content-modal/disclaimer/disclaimer.js +1 -1
  539. package/dist/es/plugin-ai/ai-content-modal/disclaimer/disclaimer.js.map +2 -2
  540. package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js +4 -4
  541. package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
  542. package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +3 -3
  543. package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
  544. package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +4 -4
  545. package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
  546. package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +7 -7
  547. package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
  548. package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js +8 -8
  549. package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
  550. package/dist/es/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.js +62 -7
  551. package/dist/es/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.js.map +3 -3
  552. package/dist/es/plugin-ai/ai-image-modal/slice/use-ai-image-modal-reducer.js +9 -3
  553. package/dist/es/plugin-ai/ai-image-modal/slice/use-ai-image-modal-reducer.js.map +2 -2
  554. package/dist/es/plugin-ai/ai-image-modal/use-ai-image-modal-api.js +12 -3
  555. package/dist/es/plugin-ai/ai-image-modal/use-ai-image-modal-api.js.map +2 -2
  556. package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js +3 -3
  557. package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
  558. package/dist/es/plugin-ai/error-message/error-message-scss.js +3 -3
  559. package/dist/es/plugin-ai/error-message/error-message-scss.js.map +1 -1
  560. package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js +6 -6
  561. package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  562. package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js +4 -4
  563. package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
  564. package/dist/es/plugin-ai/types.js.map +2 -2
  565. package/dist/es/plugin-animation/animation-panel-scss.js +11 -11
  566. package/dist/es/plugin-animation/animation-panel-scss.js.map +1 -1
  567. package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js +3 -3
  568. package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
  569. package/dist/es/plugin-audio/statics/styles/audio-scss.js +21 -21
  570. package/dist/es/plugin-audio/statics/styles/audio-scss.js.map +1 -1
  571. package/dist/es/plugin-audio/statics/styles/icon-button-scss.js +1 -1
  572. package/dist/es/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
  573. package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js +3 -3
  574. package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
  575. package/dist/es/plugin-audio/statics/styles/sound-control-scss.js +2 -2
  576. package/dist/es/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
  577. package/dist/es/plugin-audio/viewer-styles-inject.js +4 -4
  578. package/dist/es/plugin-block-drag-handle/styles-scss.js +10 -10
  579. package/dist/es/plugin-block-drag-handle/styles-scss.js.map +1 -1
  580. package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js +4 -4
  581. package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
  582. package/dist/es/plugin-button/statics/styles/button-text-field-scss.js +3 -3
  583. package/dist/es/plugin-button/statics/styles/button-text-field-scss.js.map +1 -1
  584. package/dist/es/plugin-button/statics/styles/default-styles-scss.js +5 -5
  585. package/dist/es/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
  586. package/dist/es/plugin-button/viewer-styles-inject.js +2 -2
  587. package/dist/es/plugin-card/card-scss.js +20 -20
  588. package/dist/es/plugin-card/card-scss.js.map +1 -1
  589. package/dist/es/plugin-card/card-viewer-scss.js +6 -6
  590. package/dist/es/plugin-card/card-viewer-scss.js.map +1 -1
  591. package/dist/es/plugin-card/viewer-styles-inject.js +2 -2
  592. package/dist/es/plugin-code-block/statics/styles/code-block-scss.js +8 -8
  593. package/dist/es/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
  594. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
  595. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
  596. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
  597. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
  598. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +4 -4
  599. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
  600. package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +5 -5
  601. package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
  602. package/dist/es/plugin-collapsible-list/viewer-styles-inject.js +2 -2
  603. package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
  604. package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
  605. package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js +3 -3
  606. package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
  607. package/dist/es/plugin-divider/viewer-styles-inject.js +2 -2
  608. package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js +3 -3
  609. package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
  610. package/dist/es/plugin-figure/tiptap/caption-scss.js +5 -5
  611. package/dist/es/plugin-figure/tiptap/caption-scss.js.map +1 -1
  612. package/dist/es/plugin-figure/tiptap/figure-scss.js +5 -5
  613. package/dist/es/plugin-figure/tiptap/figure-scss.js.map +1 -1
  614. package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
  615. package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
  616. package/dist/es/plugin-file-upload/viewer-styles-inject.js +2 -2
  617. package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +5 -5
  618. package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
  619. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +8 -8
  620. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
  621. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +7 -7
  622. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
  623. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +3 -3
  624. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
  625. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +5 -5
  626. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
  627. package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js +3 -3
  628. package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
  629. package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
  630. package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
  631. package/dist/es/plugin-gallery/statics/styles/viewer-scss.js +1 -1
  632. package/dist/es/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
  633. package/dist/es/plugin-gallery/viewer/layout-collage-scss.js +5 -5
  634. package/dist/es/plugin-gallery/viewer/layout-collage-scss.js.map +1 -1
  635. package/dist/es/plugin-gallery/viewer/layout-column-scss.js +4 -4
  636. package/dist/es/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
  637. package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
  638. package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
  639. package/dist/es/plugin-gallery/viewer/layout-grid-scss.js +2 -2
  640. package/dist/es/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
  641. package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
  642. package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
  643. package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
  644. package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
  645. package/dist/es/plugin-gallery/viewer/layout-slider-scss.js +6 -6
  646. package/dist/es/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
  647. package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
  648. package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
  649. package/dist/es/plugin-gallery/viewer-styles-inject.js +2 -2
  650. package/dist/es/plugin-giphy/components/giphy-selector-scss.js +11 -11
  651. package/dist/es/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
  652. package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
  653. package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
  654. package/dist/es/plugin-giphy/viewer/play-icon-scss.js +2 -2
  655. package/dist/es/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
  656. package/dist/es/plugin-giphy/viewer-styles-inject.js +2 -2
  657. package/dist/es/plugin-hashtag/statics/hashtag-scss.js +2 -2
  658. package/dist/es/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
  659. package/dist/es/plugin-hashtag/viewer-styles-inject.js +2 -2
  660. package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js +9 -9
  661. package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
  662. package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
  663. package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
  664. package/dist/es/plugin-html/statics/styles/Iframe-scss.js +1 -1
  665. package/dist/es/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
  666. package/dist/es/plugin-html/tiptap/ai-widget-scss.js +4 -4
  667. package/dist/es/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
  668. package/dist/es/plugin-html/tiptap/loader-scss.js +11 -11
  669. package/dist/es/plugin-html/tiptap/loader-scss.js.map +1 -1
  670. package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js +4 -4
  671. package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
  672. package/dist/es/plugin-html/viewer-styles-inject.js +2 -2
  673. package/dist/es/plugin-image/components/corner-radius-handles-scss.js +6 -6
  674. package/dist/es/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
  675. package/dist/es/plugin-image/components/crop-edge-handles-scss.js +3 -3
  676. package/dist/es/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
  677. package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js +16 -16
  678. package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
  679. package/dist/es/plugin-image/statics/styles/image-viewer-scss.js +20 -20
  680. package/dist/es/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
  681. package/dist/es/plugin-image/statics/styles/settings-modal-scss.js +3 -3
  682. package/dist/es/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
  683. package/dist/es/plugin-image/tiptap/image-tiptap-extension.js +19 -15
  684. package/dist/es/plugin-image/tiptap/image-tiptap-extension.js.map +2 -2
  685. package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js +6 -6
  686. package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
  687. package/dist/es/plugin-image/viewer-styles-inject.js +2 -2
  688. package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js +12 -12
  689. package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
  690. package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js +3 -3
  691. package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
  692. package/dist/es/plugin-inline-ai/aria-surface-row-scss.js +6 -6
  693. package/dist/es/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
  694. package/dist/es/plugin-inline-ai/html-placeholder-scss.js +5 -5
  695. package/dist/es/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
  696. package/dist/es/plugin-inline-ai/modal-scss.js +11 -11
  697. package/dist/es/plugin-inline-ai/modal-scss.js.map +1 -1
  698. package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js +14 -14
  699. package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
  700. package/dist/es/plugin-inline-ai/spinner-scss.js +4 -4
  701. package/dist/es/plugin-inline-ai/spinner-scss.js.map +1 -1
  702. package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js +4 -4
  703. package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
  704. package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +3 -3
  705. package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
  706. package/dist/es/plugin-link/statics/link-viewer-scss.js +4 -4
  707. package/dist/es/plugin-link/statics/link-viewer-scss.js.map +1 -1
  708. package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js +3 -3
  709. package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
  710. package/dist/es/plugin-link/viewer-styles-inject.js +2 -2
  711. package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js +3 -3
  712. package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
  713. package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
  714. package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
  715. package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js +3 -3
  716. package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
  717. package/dist/es/plugin-link-preview/viewer-styles-inject.js +3 -3
  718. package/dist/es/plugin-mentions/statics/mention-list-scss.js +6 -6
  719. package/dist/es/plugin-mentions/statics/mention-list-scss.js.map +1 -1
  720. package/dist/es/plugin-mentions/statics/mentions-scss.js +4 -4
  721. package/dist/es/plugin-mentions/statics/mentions-scss.js.map +1 -1
  722. package/dist/es/plugin-mentions/viewer-styles-inject.js +2 -2
  723. package/dist/es/plugin-paywall/paywall-fallback-scss.js +1 -1
  724. package/dist/es/plugin-paywall/paywall-fallback-scss.js.map +1 -1
  725. package/dist/es/plugin-smart-block/components/cell-accessory-scss.js +22 -22
  726. package/dist/es/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
  727. package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
  728. package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
  729. package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
  730. package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
  731. package/dist/es/plugin-smart-block/components/cell-stat-scss.js +20 -20
  732. package/dist/es/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
  733. package/dist/es/plugin-smart-block/components/circle-donut-scss.js +7 -7
  734. package/dist/es/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
  735. package/dist/es/plugin-smart-block/components/shape-overlay-scss.js +3 -3
  736. package/dist/es/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
  737. package/dist/es/plugin-smart-block/components/smart-block-view-scss.js +50 -50
  738. package/dist/es/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
  739. package/dist/es/plugin-smart-block/components/stars-scss.js +8 -8
  740. package/dist/es/plugin-smart-block/components/stars-scss.js.map +1 -1
  741. package/dist/es/plugin-smart-block/modals/variant-picker-scss.js +9 -9
  742. package/dist/es/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
  743. package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js +15 -15
  744. package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
  745. package/dist/es/plugin-smart-block/viewer-styles-inject.js +2 -2
  746. package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
  747. package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
  748. package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js +3 -3
  749. package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
  750. package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
  751. package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
  752. package/dist/es/plugin-social-polls/components/poll-option/option-scss.js +23 -23
  753. package/dist/es/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
  754. package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
  755. package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
  756. package/dist/es/plugin-social-polls/components/poll-scss.js +19 -19
  757. package/dist/es/plugin-social-polls/components/poll-scss.js.map +1 -1
  758. package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js +4 -4
  759. package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
  760. package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
  761. package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
  762. package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
  763. package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
  764. package/dist/es/plugin-social-polls/viewer-styles-inject.js +2 -2
  765. package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
  766. package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
  767. package/dist/es/plugin-spoiler/viewer-styles-inject.js +2 -2
  768. package/dist/es/plugin-table/modals/table-grid-selector-scss.js +7 -7
  769. package/dist/es/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
  770. package/dist/es/plugin-table/statics/styles/cell-scss.js +15 -15
  771. package/dist/es/plugin-table/statics/styles/cell-scss.js.map +1 -1
  772. package/dist/es/plugin-table/statics/styles/resizer-scss.js +20 -20
  773. package/dist/es/plugin-table/statics/styles/resizer-scss.js.map +1 -1
  774. package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js +3 -3
  775. package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
  776. package/dist/es/plugin-table/statics/styles/table-viewer-scss.js +6 -6
  777. package/dist/es/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
  778. package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js +11 -11
  779. package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
  780. package/dist/es/plugin-table/tiptap/plugins/table-scss.js +35 -35
  781. package/dist/es/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
  782. package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js +4 -4
  783. package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
  784. package/dist/es/plugin-table/viewer-styles-inject.js +4 -4
  785. package/dist/es/plugin-text-color/text-button-color-scss.js +4 -4
  786. package/dist/es/plugin-text-color/text-button-color-scss.js.map +1 -1
  787. package/dist/es/plugin-toc/toc-view-scss.js +2 -2
  788. package/dist/es/plugin-toc/toc-view-scss.js.map +1 -1
  789. package/dist/es/plugin-toc/viewer-styles-inject.js +2 -2
  790. package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
  791. package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
  792. package/dist/es/plugin-vertical-embed/components/card-content-scss.js +23 -23
  793. package/dist/es/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
  794. package/dist/es/plugin-vertical-embed/components/card-scss.js +19 -19
  795. package/dist/es/plugin-vertical-embed/components/card-scss.js.map +1 -1
  796. package/dist/es/plugin-vertical-embed/components/description-scss.js +2 -2
  797. package/dist/es/plugin-vertical-embed/components/description-scss.js.map +1 -1
  798. package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js +4 -4
  799. package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
  800. package/dist/es/plugin-vertical-embed/tiptap/component-scss.js +12 -12
  801. package/dist/es/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
  802. package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js +3 -3
  803. package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
  804. package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
  805. package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
  806. package/dist/es/plugin-vertical-embed/viewer-styles-inject.js +3 -3
  807. package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js +10 -10
  808. package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
  809. package/dist/es/plugin-video/statics/styles/video-viewer-scss.js +3 -3
  810. package/dist/es/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
  811. package/dist/es/plugin-video/toolbar/embed-video-scss.js +3 -3
  812. package/dist/es/plugin-video/toolbar/embed-video-scss.js.map +1 -1
  813. package/dist/es/plugin-video/viewer-styles-inject.js +2 -2
  814. package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +3 -3
  815. package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
  816. package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +10 -10
  817. package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
  818. package/dist/es/ricos-common-plugins/layout/layouts-scss.js +35 -35
  819. package/dist/es/ricos-common-plugins/layout/layouts-scss.js.map +1 -1
  820. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +4 -4
  821. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
  822. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +6 -6
  823. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
  824. package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js +4 -4
  825. package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
  826. package/dist/es/ricos-common-plugins/statics/styles-scss.js +20 -20
  827. package/dist/es/ricos-common-plugins/statics/styles-scss.js.map +1 -1
  828. package/dist/es/ricos-common-plugins/title/headings-scss.js +10 -10
  829. package/dist/es/ricos-common-plugins/title/headings-scss.js.map +1 -1
  830. package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js +11 -11
  831. package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
  832. package/dist/es/ricos-modals/statics/styles/drawer-scss.js +11 -11
  833. package/dist/es/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
  834. package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js +3 -3
  835. package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
  836. package/dist/es/ricos-modals/statics/styles/popper-scss.js +5 -5
  837. package/dist/es/ricos-modals/statics/styles/popper-scss.js.map +1 -1
  838. package/dist/es/ricos-schema/next-schema/version.js +1 -1
  839. package/dist/es/ricos-schema/next-schema/version.js.map +1 -1
  840. package/dist/es/ricos-styles/statics/styles/style-presets-scss.js +8 -8
  841. package/dist/es/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
  842. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
  843. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
  844. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
  845. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
  846. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
  847. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
  848. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
  849. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
  850. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
  851. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
  852. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
  853. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
  854. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
  855. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
  856. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
  857. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
  858. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +14 -14
  859. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
  860. package/dist/es/ricos-viewer-next/statics/alignment-scss.js +16 -16
  861. package/dist/es/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
  862. package/dist/es/ricos-viewer-next/statics/indentation-scss.js +7 -7
  863. package/dist/es/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
  864. package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
  865. package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
  866. package/dist/es/ricos-viewer-next/statics/rtl-scss.js +2 -2
  867. package/dist/es/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
  868. package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +4 -4
  869. package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
  870. package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +15 -15
  871. package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
  872. package/dist/es/tiptap-extensions/placeholder-scss.js +3 -3
  873. package/dist/es/tiptap-extensions/placeholder-scss.js.map +1 -1
  874. package/dist/es/tiptap-extensions/statics/styles-scss.js +6 -6
  875. package/dist/es/tiptap-extensions/statics/styles-scss.js.map +1 -1
  876. package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +3 -3
  877. package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
  878. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +5 -5
  879. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
  880. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +5 -5
  881. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
  882. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +6 -6
  883. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
  884. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +11 -11
  885. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
  886. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +3 -3
  887. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
  888. package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +5 -5
  889. package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
  890. package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +7 -7
  891. package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
  892. package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +8 -8
  893. package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
  894. package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +3 -3
  895. package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
  896. package/dist/es/ui-components/Components/Image-scss.js +3 -3
  897. package/dist/es/ui-components/Components/Image-scss.js.map +1 -1
  898. package/dist/es/ui-components/Components/double-loader-scss.js +6 -6
  899. package/dist/es/ui-components/Components/double-loader-scss.js.map +1 -1
  900. package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +4 -4
  901. package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
  902. package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +15 -15
  903. package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
  904. package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +3 -3
  905. package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
  906. package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +4 -4
  907. package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
  908. package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +4 -4
  909. package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
  910. package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +3 -3
  911. package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
  912. package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js +3 -3
  913. package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
  914. package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js +5 -5
  915. package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
  916. package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +3 -3
  917. package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
  918. package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +6 -6
  919. package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
  920. package/dist/es/ui-components/panel/panel-scss.js +4 -4
  921. package/dist/es/ui-components/panel/panel-scss.js.map +1 -1
  922. package/dist/es/ui-components/panel-header/panel-header-scss.js +3 -3
  923. package/dist/es/ui-components/panel-header/panel-header-scss.js.map +1 -1
  924. package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +3 -3
  925. package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
  926. package/dist/es/ui-components/statics/styles/generic-error-scss.js +3 -3
  927. package/dist/es/ui-components/statics/styles/generic-error-scss.js.map +1 -1
  928. package/dist/es/ui-components/statics/styles/loaders-scss.js +10 -10
  929. package/dist/es/ui-components/statics/styles/loaders-scss.js.map +1 -1
  930. package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js +5 -5
  931. package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
  932. package/dist/es/ui-components/statics/styles/slider-scss.js +9 -9
  933. package/dist/es/ui-components/statics/styles/slider-scss.js.map +1 -1
  934. package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js +3 -3
  935. package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
  936. package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js +18 -18
  937. package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
  938. package/dist/es/wix-rich-content-common/devTools/tabs/overrides.js +2 -2
  939. package/dist/es/wix-rich-content-common/devTools/tabs/overrides.js.map +2 -2
  940. package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js +3 -3
  941. package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
  942. package/dist/es/wix-rich-content-common/statics/styles/general-scss.js +13 -13
  943. package/dist/es/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
  944. package/dist/src/index.d.ts +1 -0
  945. package/dist/src/legacy.d.ts +1 -0
  946. package/dist/src/plugin-ai/ai-image-modal/slice/types.d.ts +5 -2
  947. package/dist/src/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.d.ts +3 -2
  948. package/dist/src/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.spec.d.ts +1 -0
  949. package/dist/src/plugin-ai/ai-image-modal/slice/use-ai-image-modal-reducer.d.ts +1 -0
  950. package/dist/src/plugin-ai/ai-image-modal/use-ai-image-modal-api.d.ts +1 -1
  951. package/dist/src/plugin-ai/types.d.ts +18 -0
  952. package/dist/src/plugin-image/tiptap/image-tiptap-extension.d.ts +2 -0
  953. package/dist/src/ricos-content/normalization/Fixtures/text-wrap-content-state-expected.d.ts +1 -1
  954. package/dist/src/ricos-content/normalization/Fixtures/text-wrap-content-state.d.ts +1 -1
  955. package/dist/src/ricos-schema/next-schema/version.d.ts +1 -1
  956. package/dist/src/ricos-styles/tests/test-cases.d.ts +2 -2
  957. package/dist/src/wix-rich-content-common/devTools/tabs/ricos-content-editor/code-mirror-theme.d.ts +2 -2
  958. package/generated/public.d.ts +35 -0
  959. package/package.json +13 -13
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "sourcesContent": ["/**\n * @wix/ricos/next — forward-looking entry point with RicosDocument (JTD) types.\n *\n * Same runtime as @wix/ricos, but typed with the JTD schema (RicosDocument, RicosDocumentNode)\n * instead of the proto schema (RichContent, Node).\n *\n * Draft-related APIs are excluded — they will be removed in the next major version.\n */\nimport type { WixClient } from '@wix/sdk/client';\nimport type { CSSProperties, FC, Component } from 'react';\n\nimport {\n pluginPaywallViewer as _pluginPaywallViewer,\n type PaywallPluginViewerConfig as _PaywallViewerConfig,\n} from './plugin-paywall/plugin-paywall-viewer.js';\nimport {\n pluginPaywall as _pluginPaywall,\n type PaywallPluginEditorConfig as _PaywallConfig,\n type PaywallToolbarButton,\n type PaywallToolbarContext,\n} from './plugin-paywall/plugin-paywall.js';\nimport type { BISettings, VisitorUploads as _VisitorUploads } from './ricos-common/ricos-types.js';\nimport { getAnchorableNodesQuery as _getAnchorableNodesQuery } from './ricos-content-query/index.js';\nimport type { Extractor } from './ricos-content/extractor-infra.js';\nimport {\n isRichContent as _isRichContent,\n isRichContentEmpty as _isRichContentEmpty,\n} from './ricos-content/index.js';\nimport {\n getPluginData as _getPluginData,\n getText as _getText,\n} from './ricos-content/lib/content-application.js';\nimport { setupContentBuilder as _setupContentBuilder } from './ricos-content/lib/content.js';\nimport {\n fromPlainText as _fromPlainText,\n toPlainText as _toPlainText,\n} from './ricos-content/lib/converters.js';\nimport { createEmptyContent as _createEmptyContent } from './ricos-content/lib/create-empty-content.js';\nimport { extract as _extract } from './ricos-content/lib/extract.js';\nimport { getContentLength as _getContentLength } from './ricos-content/lib/get-content-length.js';\nimport { isRichContentEqual as _isRichContentEqual } from './ricos-content/lib/is-rich-content-equal.js';\nimport { ensureContentId as _ensureContentId } from './ricos-content/lib/metadata-utils.js';\nimport { modify as _modify } from './ricos-content/lib/modify.js';\nimport {\n createParagraphNode as _createParagraphNode,\n createTextNode as _createTextNode,\n initializeMetadata as _initializeMetadata,\n} from './ricos-content/lib/node-utils.js';\nimport {\n fromCKEditorHtml as _fromCKEditorHtml,\n fromRichTextHtml as _fromRichTextHtml,\n toHtml as _toHtml,\n} from './ricos-content/lib/server-side-converters.js';\nimport { toPlainTextSync as _toPlainTextSync } from './ricos-content/lib/to-plain-text-sync.js';\nimport {\n translateContent as _translateContent,\n toTranslatables as _toTranslatables,\n} from './ricos-content/lib/translate.js';\nimport {\n getCountableNodes as _getCountableNodes,\n truncateContent as _truncateContent,\n} from './ricos-content/lib/truncate-content.js';\nimport { truncateRichContent as _truncateRichContent } from './ricos-content/lib/truncate-rich-content.js';\nimport type { ImageMedia, VideoMedia } from './ricos-content/RicosContentAPI/get-media-data.js';\nimport { getMediaData as _getMediaData } from './ricos-content/RicosContentAPI/get-media-data.js';\nimport type { Translatable } from './ricos-content/TranslatableAPI/types.js';\nimport type { TruncateOptions } from './ricos-content/truncateContent/ricos-truncate.js';\nimport type { ContentBuilder as _ContentBuilder } from './ricos-content/types/index.js';\nimport type {\n RicosDocument,\n RicosDocumentNode,\n Decoration,\n Node_Type as RicosDocumentNodeType_Type,\n TextData as _TextData,\n ParagraphData as _ParagraphData,\n NodeStyle as _NodeStyle,\n Metadata as _Metadata,\n GalleryData_Item as _GalleryData_Item,\n} from './ricos-schema/next-schema/index.js';\nimport type {\n FocusPosition,\n TextAlignment,\n ToolbarsConfig,\n ViewerPlugin,\n EditorPluginOptions,\n AvailableExperiments,\n ColorPaletteManager,\n DebugMode,\n Environment,\n LinkSettings,\n ResponsiveBehavior,\n MediaSettings,\n onAtomicBlockFocus,\n RicosPalette,\n RicosTypography,\n RicosCustomStyles,\n RicosSettingsStyles,\n RicosNativeStyles,\n ModalSettings,\n ToolbarButtonProps,\n ToolbarPropsResult,\n ToolbarType,\n UseToolbarPropsType,\n} from './ricos-types/next/index.js';\nimport type { GeneralLinkSettings, HistorySettings } from './ricos-types/next/plugin-types.js';\nimport { getInitialLinkData as _getInitialLinkData } from './_shared/link/get-initial-link-data.js';\nimport type { PublicPickMedia as _PublicPickMedia } from './_shared/media/public-pick-media.js';\nimport {\n RicosEditorApiContext as _RicosEditorApiContext,\n RicosEditorApiProvider as _RicosEditorApiProvider,\n useRicosEditorApi as _useRicosEditorApi,\n withRicosEditorApi as _withRicosEditorApi,\n} from './_shared/ricos-editor-api-context/ricos-editor-api-context.js';\nimport { pluginAnimationViewer as _pluginAnimationViewer } from './plugin-animation/viewer.js';\nimport type { AnimationPluginViewerConfig as _AnimationViewerConfig } from './plugin-animation/viewer.js';\nimport {\n pluginAudio as _pluginAudio,\n type AudioPluginEditorConfig as _AudioConfig,\n} from './plugin-audio/index.js';\n// Viewer plugin imports — cast to ViewerPlugin to avoid proto type leakage\nimport {\n pluginAudio as _pluginAudioViewer,\n type AudioPluginViewerConfig as _AudioViewerConfig,\n} from './plugin-audio/viewer.js';\nimport {\n pluginLinkButton as _pluginLinkButton,\n pluginActionButton as _pluginActionButton,\n} from './plugin-button/index.js';\nimport type {\n LinkButtonPluginEditorConfig as _LinkButtonConfig,\n ActionButtonPluginEditorConfig as _ActionButtonConfig,\n ActionButtonPluginViewerConfig as _ActionButtonViewerConfig,\n} from './plugin-button/types.js';\nimport {\n pluginActionButton as _pluginActionButtonViewer,\n pluginLinkButton as _pluginLinkButtonViewer,\n} from './plugin-button/viewer.js';\nimport { pluginCodeBlock as _pluginCodeBlockViewer } from './plugin-code-block/viewer.js';\nimport { pluginCollapsibleList as _pluginCollapsibleListViewer } from './plugin-collapsible-list/viewer.js';\nimport {\n pluginDivider as _pluginDivider,\n type DividerPluginEditorConfig as _DividerConfig,\n} from './plugin-divider/index.js';\nimport {\n pluginDivider as _pluginDividerViewer,\n type DividerPluginViewerConfig as _DividerViewerConfig,\n} from './plugin-divider/viewer.js';\nimport {\n pluginEmoji as _pluginEmoji,\n type EmojiPluginEditorConfig as _EmojiConfig,\n} from './plugin-emoji/index.js';\nimport { pluginEmoji as _pluginEmojiViewer } from './plugin-emoji/viewer.js';\nimport { pluginFileUpload as _pluginFileUploadViewer } from './plugin-file-upload/viewer.js';\nimport { pluginFontFamily as _pluginFontFamilyViewer } from './plugin-font-family/viewer.js';\nimport { convertItemData as _convertItemData } from './plugin-gallery/convert-item-data-compat.js';\nimport type { GalleryPluginViewerConfig as _GalleryViewerConfig } from './plugin-gallery/types.js';\nimport { pluginGallery as _pluginGalleryViewer } from './plugin-gallery/viewer.js';\nimport {\n pluginGiphy as _pluginGiphy,\n type GiphyPluginEditorConfig as _GiphyConfig,\n} from './plugin-giphy/index.js';\nimport { pluginGiphy as _pluginGiphyViewer } from './plugin-giphy/viewer.js';\nimport {\n pluginHashtag as _pluginHashtag,\n type HashtagPluginEditorConfig as _HashtagConfig,\n} from './plugin-hashtag/index.js';\nimport {\n pluginHashtag as _pluginHashtagViewer,\n type HashtagPluginViewerConfig as _HashtagViewerConfig,\n} from './plugin-hashtag/viewer.js';\nimport {\n pluginHeadings as _pluginHeadings,\n type HeadingsPluginEditorConfig as _HeadingsConfig,\n} from './plugin-headings/index.js';\nimport { pluginHtml as _pluginHtmlViewer } from './plugin-html/viewer.js';\nimport { pluginImage as _pluginImage } from './plugin-image/index.js';\nimport type { ImagePluginEditorConfig as _ImageConfig } from './plugin-image/types.js';\nimport { pluginImage as _pluginImageViewer } from './plugin-image/viewer.js';\nimport { pluginIndent as _pluginIndentViewer } from './plugin-indent/viewer.js';\nimport { pluginLineSpacing as _pluginLineSpacingViewer } from './plugin-line-spacing/viewer.js';\nimport { pluginLinkPreview as _pluginLinkPreview } from './plugin-link-preview/index.js';\nimport type { LinkPreviewPluginEditorConfig as _LinkPreviewConfig } from './plugin-link-preview/types.js';\nimport { pluginLinkPreview as _pluginLinkPreviewViewer } from './plugin-link-preview/viewer.js';\nimport { pluginLink as _pluginLinkViewer } from './plugin-link/viewer.js';\nimport { pluginMentions as _pluginMentionsViewer } from './plugin-mentions/viewer.js';\nimport { pluginShape as _pluginShapeViewer } from './plugin-shape/viewer.js';\nimport type { SlotPluginViewerConfig } from './plugin-slot/index.js';\nimport { pluginSlot as _pluginSlotViewer } from './plugin-slot/viewer.js';\nimport { pluginSmartBlock as _pluginSmartBlockViewer } from './plugin-smart-block/viewer.js';\nimport { pluginPoll as _pluginPollViewer } from './plugin-social-polls/viewer.js';\nimport {\n initSpoilersContentState as _initSpoilersContentState,\n pluginSpoiler as _pluginSpoilerViewer,\n SpoilerViewerWrapper as _SpoilerViewerWrapper,\n} from './plugin-spoiler/viewer.js';\nimport {\n pluginTable as _pluginTable,\n type TablePluginEditorConfig as _TableConfig,\n} from './plugin-table/index.js';\nimport {\n pluginTable as _pluginTableViewer,\n type TablePluginViewerConfig as _TableViewerConfig,\n} from './plugin-table/viewer.js';\nimport {\n pluginTextColor as _pluginTextColor,\n pluginTextHighlight as _pluginTextHighlight,\n} from './plugin-text-color/index.js';\nimport type {\n TextColorPluginEditorConfig as _TextColorConfig,\n TextHighlightPluginEditorConfig as _TextHighlightConfig,\n} from './plugin-text-color/types.js';\nimport {\n pluginTextColor as _pluginTextColorViewer,\n pluginTextHighlight as _pluginTextHighlightViewer,\n} from './plugin-text-color/viewer.js';\nimport { pluginToc as _pluginTocViewer } from './plugin-toc/viewer.js';\nimport { pluginVerticalEmbed as _pluginVerticalEmbedViewer } from './plugin-vertical-embed/viewer.js';\nimport { pluginVideo as _pluginVideoViewer } from './plugin-video/viewer.js';\n\nimport { RicosEditor as _RicosEditor } from './next-runtime.js';\n// ━━━ Schema types (JTD) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n// Re-exported through the wrapper barrel to avoid api-extractor isExternal conflicts.\n// Direct re-exports from @wix/ricos/next/schema cause api-extractor to crash because\n// the same symbols end up both internal (re-exported) and external (referenced by wrappers).\n\nexport type {\n RicosDocument,\n RicosDocumentNode,\n Decoration,\n AppEmbedData,\n AudioData,\n BulletedListData,\n ButtonData,\n CollapsibleListData,\n FileData,\n GalleryData,\n GalleryData_Item,\n GIF,\n GIFData,\n HeadingData,\n HTMLData,\n ImageData,\n LayoutCellData,\n LayoutData,\n Link,\n Link_Rel,\n SchemaLinkPreviewData as LinkPreviewData,\n Media,\n MentionData,\n Node,\n OrderedListData,\n ParagraphData,\n PluginContainerData_Spoiler,\n PollData,\n ShapeData,\n ShapeNode,\n SmartBlockData,\n SlotData,\n SlotNode,\n TextData,\n VideoData,\n ValidationError,\n} from './ricos-types/next/index.js';\nexport {\n SchemaDecoration_Type as Decoration_Type,\n RichContent,\n RicosDocumentNodeType as Node_Type,\n AppEmbedData_AppType,\n ButtonData_Type,\n CollapsibleListData_Direction,\n CollapsibleListData_InitialExpandedItems,\n DividerData_Alignment,\n DividerData_LineStyle,\n DividerData_Width,\n FontSizeData_fontType,\n GalleryOptions_ItemStyle_Crop,\n GalleryOptions_Layout_Orientation,\n GalleryOptions_Layout_Type,\n GalleryOptions_Thumbnails_Alignment,\n GIFData_GIFType,\n HTMLData_Source,\n LayoutData_ResponsivenessBehaviour,\n LayoutData_DesignTarget,\n Link_Target,\n PluginContainerData_Alignment,\n PluginContainerData_Width_Type,\n PollData_Design_PollDesign_Background_Type,\n PollData_Layout_PollLayout_Direction,\n PollData_Layout_PollLayout_Type,\n PollData_Poll_Settings_Permissions_ViewRole,\n PollData_Poll_Settings_Permissions_VoteRole,\n SmartBlockData_ColumnSize,\n SmartBlockData_Orientation,\n SmartBlockData_Type,\n SmartBlockCellData_Type,\n TextStyle_TextAlignment,\n TocData_Indentation,\n TocData_ListStyle,\n VerticalAlignment as LayoutData_VerticalAlignment_Alignment,\n LayoutData_BannerPosition as LayoutData_Banner_Position,\n LayoutData_BannerOrigin as LayoutData_Banner_Origin,\n validateRicosDocument,\n} from './ricos-types/next/index.js';\n\nexport {\n type AnchorDecoration,\n type AppEmbedNode,\n type AudioNode,\n type BlockquoteNode,\n type BulletedListNode,\n type ButtonNode,\n type CaptionNode,\n type CodeBlockNode,\n type CollapsibleItemBodyNode,\n type CollapsibleItemNode,\n type CollapsibleItemTitleNode,\n type CollapsibleListNode,\n type ColorPaletteManager,\n type SetColors,\n type CustomTextualStyle,\n type DebugMode,\n type Environment,\n type ResponsiveBehavior,\n type FocusPosition,\n type TextAlignment,\n type DividerNode,\n type EmbedNode,\n type FileNode,\n type GalleryNode,\n type GifNode,\n type HeadingNode,\n type HtmlNode,\n type ImageNode,\n type LinkDecoration,\n type LinkPreviewNode,\n type LinkSettings,\n type ListItemNode,\n type onAtomicBlockFocus,\n type onKeyboardShortcutActionArgs,\n type onToolbarButtonClickArgs,\n type OrderedListNode,\n type ParagraphNode,\n type PollNode,\n type RefinedNode,\n type RicosCustomStyles,\n type RicosNativeStyles,\n type RicosPalette,\n type RicosSettingsStyles,\n type RicosTypography,\n RICOS_CSS_VARS,\n type RicosCssVar,\n type TableCellNode,\n type TableNode,\n type TableRowNode,\n type TextDirection,\n type TextGroupButtons,\n type TextNode,\n type ToolbarSettingsFunctions,\n type VideoNode,\n type EditorPluginOptions,\n type EditorPluginOptionCreator,\n ToolbarType,\n RicosPluginToolbarNames,\n type RicosPluginToolbarNamesValues,\n type ToolbarButtonProps,\n type ToolbarsConfig,\n type QuickActionsConfig,\n type TextButtonId,\n type InsertButtonId,\n type PluginButtonId,\n type ActionButton,\n type ActionOption,\n type ButtonClickContext,\n type CustomButton,\n type DropdownButton,\n type DropdownOption,\n type ExternalToolbarButton,\n type SeparatorButton,\n type ToolbarPropsResult,\n type UseToolbarPropsType,\n} from './ricos-types/next/index.js';\nexport type { GeneralLinkSettings, HistorySettings } from './ricos-types/next/plugin-types.js';\n/** @deprecated Use EditorPluginOptions */\nexport type { EditorPluginOptions as EditorPlugin } from './ricos-types/next/index.js';\n\n/**\n * Theme input for `RicosEditor` and `RicosViewer`. Values flow into CSS variables\n * consumed by every plugin, the toolbars, and the settings panels — prefer this\n * over wrapping Ricos with external CSS, because external CSS only reaches the\n * editable area, not the chrome. Pair `colorPalette` (broad colors) with\n * `customStyles` (per-element overrides) for full control.\n */\nexport interface RicosTheme {\n /**\n * Global color tokens shared across all plugins, toolbars, and settings panels.\n * @example\n * ```tsx\n * import { fromPlainText, pluginHashtag, RicosEditor } from '@wix/ricos';\n * import React from 'react';\n *\n * export default () => {\n * // @essential-start\n * return (\n * <div style={{ background: '#C9C9C9' }}>\n * <RicosEditor\n * initialContent={fromPlainText('This is a #hashtag, see it has a unique color.')}\n * placeholder=\"Type here!\"\n * theme={{\n * colorPalette: {\n * format: 'color',\n * bgColor: '#0E092B',\n * textColor: '#FFFFFF',\n * accent1: '#D6FF00',\n * },\n * }}\n * plugins={[pluginHashtag()]}\n * />\n * </div>\n * );\n * // @essential-end\n * };\n * ```\n */\n colorPalette?: RicosPalette;\n /** Typography tokens. `fontFamily` cascades to every text node unless a `customStyles.<element>.fontFamily` overrides it. */\n typography?: RicosTypography;\n /**\n * Per-element style overrides for headings, paragraphs, quotes, plugin cards, and the editor container itself.\n * @example\n * ```tsx\n * import { fromPlainText, RicosEditor } from '@wix/ricos';\n * import React from 'react';\n *\n * export default () => {\n * // @essential-start\n * const theme = {\n * customStyles: {\n * h2: {\n * fontFamily: 'Times',\n * fontSize: '26px',\n * color: 'orange',\n * fontStyle: 'italic',\n * textDecoration: 'underline',\n * },\n * h3: {\n * fontFamily: 'Tahoma',\n * fontSize: '20px',\n * color: 'purple',\n * textDecoration: 'none',\n * },\n * quote: {\n * lineHeight: '24px',\n * fontWeight: 'bold',\n * color: 'brown',\n * },\n * },\n * };\n *\n * return (\n * <RicosEditor\n * initialContent={fromPlainText('Apply heading 2 or 3 from the toolbar to see the styles.')}\n * placeholder=\"Type here!\"\n * theme={theme}\n * />\n * );\n * // @essential-end\n * };\n * ```\n */\n customStyles?: RicosCustomStyles;\n /** Style overrides for settings modals (z-index layering). Most fields are deprecated — only `modals` is supported going forward. */\n settingsStyles?: RicosSettingsStyles;\n /** React-Native-flavoured style overrides; only consumed when `useNativeStyles` is `true`. */\n nativeStyle?: RicosNativeStyles;\n /** When `true`, applies the Wix Studio default theme on top of the supplied values. */\n useWixStyles?: boolean;\n /** When `true`, switches the renderer to consume `nativeStyle` instead of CSS overrides — used by mobile builds. */\n useNativeStyles?: boolean;\n /**\n * Breakout layout: lets specific nodes flow beyond the content column to viewport edges.\n * `rule` is called once per node at layout time; return `'fullWidth'` for the chosen nodes\n * (typically images and galleries) and `'normal'` for everything else. `fullWidthPadding`\n * overrides `normalPadding` for the `'fullWidth'` case.\n */\n breakout?: {\n rule: ({ node }: { node: RicosDocumentNode }) => 'fullWidth' | 'normal';\n normalPadding: {\n start: CSSProperties['paddingInlineStart'];\n end: CSSProperties['paddingInlineEnd'];\n };\n fullWidthPadding?: {\n start: CSSProperties['paddingInlineStart'];\n end: CSSProperties['paddingInlineEnd'];\n };\n };\n}\n\n// ━━━ Copied types with RichContent → RicosDocument ━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nexport type OnContentChangeFunction = (content: RicosDocument) => void;\nexport type OnSelectionChangeFunction = (content: RicosDocument) => void;\n\n/**\n * Imperative API for controlling a mounted `RicosEditor`. Accessed via a\n * React ref — `const editorRef = useRef<RicosEditorType>(null)` — and read\n * inside event handlers (publish flows, programmatic content swaps,\n * focus/undo/redo controls). For UI that needs to react to editor state in\n * render — toolbar enable/disable, undo-stack indicators — prefer the\n * reactive hooks (`useToolbarProps`, `useUndoState`) over polling these\n * methods.\n */\nexport interface RicosEditorAPI {\n /** Focuses the editor. Optionally moves the cursor to `focusPosition`. */\n focus(focusPosition?: FocusPosition): void;\n /** Removes focus from the editor. */\n blur(): void;\n /** Undoes the last editor action. */\n undo(): void;\n /** Redoes the last undone action. */\n redo(): void;\n /** Returns the current content as a `RicosDocument`. Resolves after any pending async operations. */\n getContent(\n postId?: string,\n forPublish?: boolean,\n shouldRemoveErrorBlocks?: boolean\n ): Promise<RicosDocument>;\n /**\n * Returns a promise of the current content.\n * `publishId` — used for BI (`onPublish` event), set it when called before publishing.\n * `flush` — triggers editor blur to force pending changes (e.g., Android composition mode) before reading content.\n */\n getContentPromise(\n props: { flush?: boolean; publishId?: string } | undefined\n ): Promise<RicosDocument>;\n /** Returns content traits: whether the editor is empty, content has changed, and the last change was an edit. */\n getContentTraits(): { isEmpty: boolean; isContentChanged: boolean; isLastChangeEdit: boolean };\n /** Replaces the editor content. Imperative replacement for the removed `injectedContent` prop. */\n setContent(content: RicosDocument): void;\n /** Inserts the nodes at the cursor, replacing the selection if there is one. */\n insertContent(content: { nodes: RicosDocumentNode[] }): void;\n /**\n * @internal\n * @deprecated Reserved for internal Wix consumers (e.g. React Native app). General consumers\n * should use the top-level editor methods (`undo`, `redo`, `prePublish`) and reactive hooks\n * (`useToolbarProps`, `useUndoState`) instead — `PublicCommands` shape can change without warning.\n */\n getEditorCommands(): PublicCommands;\n /** Returns the DOM element wrapping the editor's content-editable, if mounted. */\n getEditorContainer(): HTMLElement | undefined;\n /** Opens a built-in modal (AI image generation, inline AI, keyboard shortcuts sheet, or AI widget). */\n openModal: (options: {\n type: 'AI_IMAGE' | 'INLINE_AI' | 'SHORTCUTS_SHEET' | 'AI_WIDGET';\n }) => void;\n /**\n * Subscribe to the reactive button list for a toolbar. Re-runs on selection\n * and content changes, so consumers rendering a custom toolbar stay in sync\n * automatically. Must be called inside a React component.\n *\n * @param type - which toolbar's buttons to read:\n * - `'text'` — text formatting buttons (bold, italic, link, headings, …)\n * - `'insert'` — insert-plugin buttons (image, video, divider, …)\n * - `'plugin'` — context-specific buttons for the currently-selected\n * plugin node or decoration. Empty list when nothing is\n * selected.\n * - `'auto'` — whichever of `'plugin'` / `'text'` is currently relevant\n * for the selection (plugin takes priority). Use this for\n * a single toolbar that adapts to context; consumers that\n * need to branch on which toolbar resolved should call\n * the specific variant directly.\n */\n useToolbarProps(type: UseToolbarPropsType): ToolbarPropsResult;\n /**\n * @internal Wixel-only. Combined toolbar buttons + focus signal for the wixel\n * asset-header. Shape may change without warning. Not for general consumers.\n */\n useToolbarWixelProps: () => {\n buttons: Record<string, ToolbarButtonProps>;\n toolbarType: ToolbarType;\n isEditorOrPortalFocused: () => boolean;\n };\n useInlineAiState: (invocationId: string) => unknown;\n /** Runs plugin pre-publish hooks (e.g. poll sync) and returns the content. */\n prePublish(): Promise<RicosDocument>;\n /** Reactive undo/redo state. Must be called inside a React component. */\n useUndoState: () => {\n isUndoStackEmpty: boolean;\n isRedoStackEmpty: boolean;\n };\n}\n\n/**\n * Programmatic commands for manipulating editor content, selection, and state.\n * Accessed via `editorRef.getEditorCommands()`.\n * @internal\n */\nexport interface PublicCommands {\n /**\n * @internal\n * Alpha API. Triggers the inline AI plugin's prompt flow programmatically.\n * Subject to change without warning — internal Wix consumers only.\n */\n triggerInlineAi: (args: {\n invocationId: string;\n prompt: string;\n headless: boolean;\n files?: { fileUrl: string; mimeType: string; fileName: string }[];\n traceParams?: Record<string, string>;\n }) => void;\n /** Returns the current editor content. */\n getContent: () => RicosDocument;\n /** Replaces the editor content. */\n setContent: (content: RicosDocument, options?: { skipHistory?: boolean }) => void;\n /** Returns the current selection state. */\n getSelection: () => any;\n /** Returns a slice of content corresponding to the current selection. */\n getSelectionSlice: () => any;\n /** Toggles AI suggestions visibility in the editor. */\n toggleAiSuggestions: (visible: boolean) => void;\n /** Returns blocks that can be targeted by anchor links. */\n getAnchorableBlocks: () => { anchorableBlocks: any[]; pluginsIncluded: string[] };\n /** Returns the document-level style configuration. */\n getDocumentStyle: () => any;\n /** Returns the active color of the given type (e.g., text color, highlight). */\n getColor: (colorType: any) => string | undefined;\n /** Returns the font size at the current cursor position. */\n getFontSize: () => string | undefined;\n /** Returns the font family at the current cursor position. */\n getFontFamily: () => string | undefined;\n /** Returns the text alignment at the current cursor position. */\n getTextAlignment: () => TextAlignment;\n /** Returns inline styles applied to the anchor block. */\n getAnchorBlockInlineStyles: () => Record<string, string>;\n /** Returns all inline styles in the current selection. */\n getInlineStylesInSelection: () => Record<string, string>;\n /** Checks if a specific inline style is active in the selection. */\n hasInlineStyle: (style: any) => boolean;\n /** Checks if a specific block type is selected. */\n isBlockTypeSelected: (type: any) => boolean;\n /** Returns `true` if there are no undo actions available. */\n isUndoStackEmpty: () => boolean;\n /** Returns `true` if there are no redo actions available. */\n isRedoStackEmpty: () => boolean;\n /** Checks if the current selection contains a link. */\n hasLinkInSelection: (options?: { inclusive?: boolean }) => boolean;\n /** Returns link data for the link in the current selection. */\n getLinkDataInSelection: (options?: { inclusive?: boolean }) => any;\n /** Selects a link decoration by its identifier. */\n selectLinkDecoration: (decoration: string, options?: { inclusive?: boolean }) => void;\n /** Returns data about the currently selected content. */\n getSelectedData: () => any;\n /** Returns a list of plugins present in the document. */\n getPluginsList: (settings?: { isRicosSchema?: boolean }) => any;\n /** Scrolls the editor viewport to a specific block. */\n scrollToBlock: (blockKey: string) => void;\n /** Checks if a block with the given key exists in the document. */\n isBlockInContent: (blockKey: string) => boolean;\n /** Toggles the overlay on a specific block (e.g., for selection highlight). */\n toggleBlockOverlay: (blockKey: string) => void;\n /** Returns the current block spacing configuration. */\n getBlockSpacing: () => any;\n /** Saves the current editor state for later restoration. */\n saveEditorState: () => void;\n /** Restores a previously saved editor state. */\n loadEditorState: () => void;\n /** Saves the current selection state for later restoration. */\n saveSelectionState: () => void;\n /** Restores a previously saved selection state. */\n loadSelectionState: () => void;\n /** Inserts a text decoration (e.g., link, color, bold) at the current selection. */\n insertDecoration: (type: string, data?: any, settings?: any) => void;\n /** Triggers an existing decoration (e.g., toggles bold). */\n triggerDecoration: (type: string) => void;\n /** Removes a decoration from the current selection. */\n deleteDecoration: (type: string) => void;\n /** Inserts multiple anchor decorations at once. */\n insertMultipleAnchors: (anchors: any[]) => void;\n /** Inserts a new block (plugin node) into the document. Returns the block key. */\n insertBlock: (type: string, data?: any, settings?: any) => string;\n /** Inserts a new block with blank lines before and after. Returns the block key. */\n insertBlockWithBlankLines: (type: string, data?: any, settings?: any) => string;\n /** Replaces a block's type and data. */\n setBlock: (blockKey: string, type: string, data?: any, settings?: any) => void;\n /** Updates a block's plugin data. Returns `true` if the block was found and updated. */\n updateBlock: (blockKey: string, pluginType: string, data: any) => boolean;\n /** Deletes a block from the document. */\n deleteBlock: (blockKey: string) => void;\n /** Undoes the last editor action. */\n undo: () => void;\n /** Redoes the last undone action. */\n redo: () => void;\n /** Toggles an inline style (e.g., bold, italic) on the current selection. */\n toggleInlineStyle: (inlineStyle: any) => void;\n /** Sets the block type at the current cursor position (e.g., heading, paragraph). */\n setBlockType: (type: any) => void;\n /** Sets the text alignment for the current block. */\n setTextAlignment: (textAlignment: TextAlignment) => void;\n /** @internal Sets the selection to a specific position in a block. */\n _setSelection: (blockKey: string, selection: any) => void;\n /** Resets document-level styles for a specific node type to defaults. */\n resetDocumentStyleByNodeType: (type: any) => void;\n /** Updates the document-level style configuration. */\n updateDocumentStyle: (documentStyle: any) => void;\n /** Clears all inline styles from selected blocks, optionally excluding specific styles. */\n clearSelectedBlocksInlineStyles: (exclude?: string[]) => void;\n /** Returns the wired (resolved) font styles from the theme. */\n getWiredFontStyles: () => Record<string, string> | undefined;\n /** Checks if an atomic (plugin) block is currently selected. */\n isAtomicBlockInSelection: () => boolean;\n /** Checks if a text block is currently selected. */\n isTextBlockInSelection: () => boolean;\n /** Returns the type of the block at the current cursor position. */\n getAnchorBlockType: () => string;\n /** Returns all block keys in the document. */\n getAllBlocksKeys: () => string[];\n /** Focuses the editor, optionally at a specific position. */\n focus: (focusPosition?: FocusPosition) => void;\n /** Returns the component data for a specific block. */\n getBlockComponentData: (blockKey: string) => any;\n /** Inserts text at the current cursor position. Returns `true` if successful. */\n insertText: (text: string, options?: { preventAutolink?: boolean }) => boolean;\n /** Returns the heading level at the current cursor position. */\n getCurrentHeading: () => any;\n /** Inserts a soft line break (shift+enter). */\n softNewLine: () => void;\n /** Clears all editor content. Set `triggerUpdate` to fire onChange. */\n clearEditorContent: (triggerUpdate: boolean) => void;\n}\n\nexport interface TiptapAdapter {\n getEditorCommands: RicosEditorAPI['getEditorCommands'];\n openModal: RicosEditorAPI['openModal'];\n focus: RicosEditorAPI['focus'];\n blur: RicosEditorAPI['blur'];\n tiptapEditor: any;\n getDocumentStyle: () => any;\n setTiptapContent: (content: any) => void;\n useToolbarProps: RicosEditorAPI['useToolbarProps'];\n useInlineAiState: RicosEditorAPI['useInlineAiState'];\n useUndoState: RicosEditorAPI['useUndoState'];\n}\n\n// ━━━ Component types ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nexport interface RicosEditorProps {\n // ── Editor-specific ────────────────────────────────────────────────────────\n /** Array of editor plugins to enable. Each plugin adds editing capabilities (e.g., image, video, table). */\n plugins?: EditorPluginOptions[];\n /** Fires only when document content changes (not on selection changes). */\n onChange?: OnContentChangeFunction;\n /** Fires when the selection/cursor position changes (including during edits). */\n onSelectionChange?: OnSelectionChangeFunction;\n /**\n * Placeholder text displayed when the editor is empty.\n * @example\n * ```tsx\n * import { RicosEditor } from '@wix/ricos';\n * import React from 'react';\n *\n * export default () => {\n * // @essential-start\n * return <RicosEditor placeholder={'Type here!'} />;\n * // @essential-end\n * };\n * ```\n */\n placeholder?: string;\n /**\n * Toolbars configuration — controls the text formatting toolbar, insert\n * plugin toolbars, plugin context toolbars and the quick-actions menu.\n */\n toolbars?: ToolbarsConfig;\n /** Callback fired when the editor transitions between busy and idle states (e.g., during media uploads). */\n onBusyChange?: (isBusy: boolean) => void;\n /** Maximum number of text characters allowed in the editor. When the limit is reached, further text input is ignored and paste actions are canceled if the result would exceed the limit. */\n maxTextLength?: number;\n /** A React component rendered as a side block alongside the editor content. Receives the block `id` as a prop. */\n sideBlockComponent?: FC<{ id: string }>;\n /** Custom commands to register with the editor. */\n commands?: any[];\n /** Settings for undo/redo history. */\n historySettings?: HistorySettings;\n /** Callback fired when the editor finishes loading and is ready for interaction. */\n onLoad?: (editor: any) => void;\n /** Controls initial cursor/focus position when the editor mounts. */\n autofocus?: FocusPosition;\n /** HTML element or factory function that returns the container element for rendering editor popovers and modals. */\n container?: HTMLElement | (() => HTMLElement | null);\n /** Initial content for the editor. Only used during initialization — not a controlled value. */\n initialContent?: RicosDocument;\n /** Custom keyboard shortcuts to register with the editor. */\n keyboardShortcuts?: any[];\n /** The placeholder to be displayed while the editor is loading. */\n loadingPlaceholder?: React.ReactNode;\n /**\n * Controls focus behavior when tabbing into the editor:\n * - `'edit'`: (default) Immediately enables typing when editor receives keyboard focus.\n * - `'container'`: Shows focus ring but requires Enter/key press to start editing.\n * @defaultValue 'edit'\n */\n tabFocusBehavior?: 'edit' | 'container';\n /** Unified color manager for sharing custom colors across all plugins. */\n colorManager?: ColorPaletteManager;\n modalSettings?: ModalSettings;\n /** Pick media implementation used by media-related plugins (e.g., image, gallery). */\n pickMedia?: _PublicPickMedia;\n /** Visitor upload settings used by file-upload-capable plugins. */\n visitorUploads?: _VisitorUploads;\n /** Maximum file size limit (in bytes) for uploads. */\n fileUploadSizeLimit?: number;\n /** HTML attributes applied to the editor's content-editable element. */\n htmlAttributes?: {\n autoCapitalize?: string;\n spellCheck?: boolean;\n autoComplete?: string;\n autoCorrect?: string;\n tabIndex?: number;\n ariaLabel?: string;\n };\n\n // ── Common ─────────────────────────────────────────────────────────────────\n /** When `true`, renders in mobile-optimized mode. */\n isMobile?: boolean;\n /** Link settings applied globally to all linkable plugins. */\n generalLinkSettings?: GeneralLinkSettings;\n /** Two-letter locale code (e.g., `'en'`, `'he'`). Determines the language and text direction of modals and settings. */\n locale?: string;\n /** Locale for content, when different from UI locale. If not defined, `locale` is used. */\n localeContent?: string;\n /** Callback fired when an error occurs in a Ricos component. */\n onError?: (error: string) => void;\n /** Theme configuration for colors, fonts, and custom styles. */\n theme?: RicosTheme;\n /** Default text alignment direction. */\n textAlignment?: TextAlignment;\n /** Callback fired when an atomic block (plugin) receives focus. */\n onAtomicBlockFocus?: onAtomicBlockFocus;\n /** Domain used to render UGC source code in an isolated sandboxed iframe. */\n iframeSandboxDomain?: string;\n /** When `true`, wraps text around left/right-aligned plugins. */\n textWrap?: boolean;\n /**\n * What responsive styles (narrow layouts, stacked columns, smaller paddings) respond to:\n * - `'container'`: (default) the editor or viewer width, through CSS container queries.\n * - `'viewport'`: the window width, through media queries. Ricos then declares no CSS\n * containers, so `cqw` units in host styles (such as site theme fonts) resolve against the\n * host's own containers.\n * @defaultValue 'container'\n */\n responsiveBehavior?: ResponsiveBehavior;\n /** Debug mode flags for enabling development-time diagnostics. */\n debugMode?: DebugMode[];\n /**\n * Theme variant to apply:\n * - `'businessManager'`: BM theme is applied and cannot be overridden.\n * - `'liveSite'`: liveSite theme is applied and can be overridden via `theme`.\n * @default 'liveSite'\n */\n environment?: Environment;\n /**\n * Base URL of the site, used to resolve page-relative URLs.\n * Used by links, buttons, gallery items, and vertical embeds to construct full hrefs\n * from relative paths (e.g., `/my-page` → `https://example.com/my-site/my-page`).\n *\n * If not provided, fetched automatically with `ricosSiteContext.getSiteUrl()` of `@wix/rich-content`.\n *\n * @example 'https://www.example.com/my-site'\n */\n baseUrl?: string;\n /** Business intelligence configuration for analytics and tracking. */\n biSettings?: BISettings;\n /**\n * Authenticated `WixClient` from `@wix/sdk`. When provided, takes priority over\n * `instance` for authorizing every request the editor makes (media uploads,\n * link previews, etc.). Use this in headless apps where you own the React tree.\n */\n wixClient?: WixClient;\n /**\n * Per-session Wix instance token. Used when no `wixClient` is provided — Ricos\n * builds an internal client from it. Typically set by Wix-served host pages.\n */\n instance?: string;\n /**\n * Metasite ID. Scopes storage and CDN traffic to the owning site when no\n * `wixClient` is given.\n */\n msid?: string;\n /**\n * When `true`, normalises rich content via `normalizeRicosDocument` before\n * rendering. Set to `false` to skip normalisation when content is already\n * known to be valid.\n * @default true\n */\n shouldNormalizeRichContent?: boolean;\n /** Media-upload, capture, and resolution settings shared across media plugins. */\n mediaSettings?: MediaSettings;\n /** @deprecated Use `generalLinkSettings` instead. */\n linkSettings?: LinkSettings;\n /**\n * Keep the editor's DOM alive across a transient React unmount instead of\n * tearing it down and rebuilding it on remount. Lets the host preserve editor\n * state (and avoid flicker) when the editor is briefly unmounted/remounted.\n * @default false\n */\n preserveDomOnUnmount?: boolean;\n /** @deprecated Not used at runtime. */\n experiments?: AvailableExperiments;\n}\n\n/** @deprecated Use RicosEditorProps */\nexport type WixRicosEditorProps = RicosEditorProps;\n/** @deprecated Use RicosTheme directly */\nexport type { RicosTheme as WixRicosTheme } from './ricos-types/next/index.js';\n\nexport interface RicosViewerProps {\n // ── Viewer-specific ────────────────────────────────────────────────────────\n /** Optional child element to render inside the viewer. */\n children?: React.ReactElement;\n /** Array of viewer plugins to enable. Each plugin adds rendering capabilities for specific content types. */\n plugins?: (ViewerPlugin | any)[];\n /** SEO settings for server-side rendering. When `true`, enables default SEO mode. */\n seoSettings?: boolean | any;\n /** When `true`, shows a floating toolbar when the user selects text in the viewer. */\n textSelectionToolbar?: boolean;\n /** The rich content to display. Required for the viewer to render anything. */\n content?: RicosDocument;\n /** When `true`, adds anchor elements to content blocks for deep linking. Pass a string to use as a prefix for generated anchor IDs. */\n addAnchors?: boolean | string;\n /** Callback fired when a user clicks on a content node in the viewer. */\n onNodeClick?: ({ node }: { node: any }) => void;\n /** When `true`, renders in jsdom-compatible mode for server-side rendering environments. */\n jsdomMode?: boolean;\n /** When `true`, renders in print-optimized mode (e.g., for `window.print()`). */\n isPrint?: boolean;\n /** Callback fired once, after the viewer first renders. Lazily loaded plugins may still be loading. */\n onLoad?: () => void;\n /**\n * Number of leading top-level nodes to treat as being in the first fold. Images among them\n * render their full-quality source during SSR, with a `srcset` and `fetchpriority=\"high\"`,\n * instead of the blurred placeholder that is only swapped for the real image after hydration.\n * Nested images (inside a card, table, collapsible list, etc.) never qualify.\n * @default 0 - every image keeps the placeholder behaviour\n */\n firstFoldNodeCount?: number;\n\n // ── Common ─────────────────────────────────────────────────────────────────\n /** When `true`, renders in mobile-optimized mode. */\n isMobile?: boolean;\n /** Link settings applied globally to all linkable plugins. */\n generalLinkSettings?: GeneralLinkSettings;\n /** Two-letter locale code (e.g., `'en'`, `'he'`). Determines the language and text direction of modals and settings. */\n locale?: string;\n /** Locale for content, when different from UI locale. If not defined, `locale` is used. */\n localeContent?: string;\n /** Callback fired when an error occurs in a Ricos component. */\n onError?: (error: string) => void;\n /** Theme configuration for colors, fonts, and custom styles. */\n theme?: RicosTheme;\n /** Default text alignment direction. */\n textAlignment?: TextAlignment;\n /** Callback fired when an atomic block (plugin) receives focus. */\n onAtomicBlockFocus?: onAtomicBlockFocus;\n /** Domain used to render UGC source code in an isolated sandboxed iframe. */\n iframeSandboxDomain?: string;\n /** When `true`, wraps text around left/right-aligned plugins. */\n textWrap?: boolean;\n /**\n * What responsive styles (narrow layouts, stacked columns, smaller paddings) respond to:\n * - `'container'`: (default) the editor or viewer width, through CSS container queries.\n * - `'viewport'`: the window width, through media queries. Ricos then declares no CSS\n * containers, so `cqw` units in host styles (such as site theme fonts) resolve against the\n * host's own containers.\n * @defaultValue 'container'\n */\n responsiveBehavior?: ResponsiveBehavior;\n /** Debug mode flags for enabling development-time diagnostics. */\n debugMode?: DebugMode[];\n /**\n * Theme variant to apply:\n * - `'businessManager'`: BM theme is applied and cannot be overridden.\n * - `'liveSite'`: liveSite theme is applied and can be overridden via `theme`.\n * @default 'liveSite'\n */\n environment?: Environment;\n /**\n * Base URL of the site, used to resolve page-relative URLs.\n * Must be provided explicitly. If missing, page links will render as relative paths without the site domain.\n *\n * @example 'https://www.example.com/my-site'\n */\n baseUrl?: string;\n /** Business intelligence configuration for analytics and tracking. */\n biSettings?: BISettings;\n /**\n * Authenticated `WixClient` from `@wix/sdk`. When provided, takes priority over\n * `instance` for authorizing every request the viewer makes. Use this in\n * headless apps where you own the React tree.\n */\n wixClient?: WixClient;\n /**\n * Per-session Wix instance token. Used when no `wixClient` is provided — Ricos\n * builds an internal client from it.\n */\n instance?: string;\n /**\n * Metasite ID. Scopes storage and CDN traffic to the owning site when no\n * `wixClient` is given.\n */\n msid?: string;\n /**\n * When `true`, normalises rich content via `normalizeRicosDocument` before\n * rendering. Set to `false` to skip normalisation when content is already\n * known to be valid.\n * @default true\n */\n shouldNormalizeRichContent?: boolean;\n /** Media-upload, capture, and resolution settings shared across media plugins. */\n mediaSettings?: MediaSettings;\n /** @deprecated Use `generalLinkSettings` instead. */\n linkSettings?: LinkSettings;\n /** @deprecated Not used at runtime. */\n experiments?: AvailableExperiments;\n}\n\n// ━━━ Components ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nexport const RicosEditor = _RicosEditor as unknown as React.ComponentType<\n RicosEditorProps & { ref?: React.Ref<RicosEditorAPI> }\n>;\n// Copied from editor types — uses our RicosEditorAPI and RicosEditorProps\nexport interface RicosEditorType extends Component<RicosEditorProps>, RicosEditorAPI {}\n\nexport { RicosViewer } from './ricos-viewer-next/index.js';\n\n// ━━━ RicosEditorApiContext (retyped against next RicosEditorAPI) ━━━━━━━━━━━━\n\n/**\n * Context for sharing the imperative `RicosEditorAPI` with descendants.\n * The wrapped `<RicosEditor>` self-registers into this slot on mount;\n * call `useRicosEditorApi()` inside any descendant to read it.\n *\n * **The provider must wrap exactly one `<RicosEditor>` underneath. Two or\n * more editors race on the shared slot — last to mount wins. Or the sky\n * will fall.**\n */\nexport const RicosEditorApiContext = _RicosEditorApiContext as unknown as {\n Provider: React.ComponentType<{\n value: {\n ricosEditorApi: RicosEditorAPI | null;\n setRicosEditorApi: (api: RicosEditorAPI | null) => void;\n };\n children: React.ReactNode;\n }>;\n displayName?: string;\n};\n\nexport const RicosEditorApiProvider = _RicosEditorApiProvider;\n\n/**\n * Returns the current `RicosEditorAPI` from the nearest `RicosEditorApiProvider`,\n * or `null` if no provider is mounted or the editor has not finished mounting.\n */\nexport const useRicosEditorApi: () => RicosEditorAPI | null =\n _useRicosEditorApi as unknown as () => RicosEditorAPI | null;\n\n/**\n * HOC that injects the current `RicosEditorAPI` (or `null`) as an `editor`\n * prop. Useful when migrating class components off the legacy\n * `withEditorContext` HOC.\n */\nexport const withRicosEditorApi = _withRicosEditorApi as unknown as <P extends object>(\n Component: React.ComponentType<P & { editor: RicosEditorAPI | null }>\n) => React.FC<P>;\n\n// ━━━ Content functions (override with RicosDocument) ━━━━━━━━━━━━━━━━━━━━━━━━\n\ntype ContentLimits = { nodeCount: number } | { wordCount: number } | { maxPlugins: number };\ntype MediaUrlResolvers = {\n image?: (fileId: string) => string;\n video?: (fileId: string) => string;\n thumbnail?: (fileId: string) => string;\n};\n\nexport const createEmptyContent: (metadata?: {\n version?: number;\n id?: string;\n createdTimestamp?: Date;\n updatedTimestamp?: Date;\n}) => RicosDocument = _createEmptyContent as any;\nexport const ensureContentId: (content?: RicosDocument) => RicosDocument = _ensureContentId as any;\nexport const fromPlainText: (text: string) => RicosDocument = _fromPlainText as any;\nexport const fromCKEditorHtml: (s: string, interceptorFn?: any) => RicosDocument =\n _fromCKEditorHtml as any;\nexport const fromRichTextHtml: (s: string, interceptor?: any) => RicosDocument =\n _fromRichTextHtml as any;\nexport const translateContent: (\n content: RicosDocument,\n translatables: Translatable[]\n) => RicosDocument = _translateContent as any;\nexport const truncateRichContent: (\n content: RicosDocument,\n limits: ContentLimits,\n options?: TruncateOptions\n) => RicosDocument = _truncateRichContent as any;\n/**\n * Truncate a `RicosDocument` by node count, word count, or plugin count, returning\n * the (possibly) truncated document and a flag indicating whether anything was cut.\n */\nexport const truncateContent: (\n content: RicosDocument,\n limits: { blocksCount?: number; wordsCount?: number; maxPlugins?: number },\n options?: TruncateOptions\n) => { content: RicosDocument; isTruncated: boolean } = _truncateContent as any;\nexport const getContentLength: (content: RicosDocument) => number = _getContentLength as any;\nexport const getMediaData: (\n content: RicosDocument,\n mediaUrlResolvers?: MediaUrlResolvers\n) => (ImageMedia | VideoMedia)[] = _getMediaData as any;\nexport const getPluginData: <T>(content: RicosDocument, type: RicosDocumentNodeType_Type) => T[] =\n _getPluginData as any;\nexport const getText: (content: RicosDocument) => string[] = _getText as any;\nexport const toHtml: (\n content: RicosDocumentNode[] | RicosDocument,\n interceptorFn?: any,\n separator?: string\n) => string = _toHtml as any;\nexport type InterceptorToHtml = (context: {\n node: RicosDocumentNode;\n result: string | string[];\n}) => string | string[];\nexport const toPlainText: (\n content: RicosDocument,\n options?: {\n urlShortener?: (url: string) => Promise<string>;\n getVideoUrl?: (fileId: string) => Promise<string>;\n getVideoEmbeddedUrl?: (url: string) => Promise<string>;\n getAudioUrl?: (fileId: string) => Promise<string>;\n getGifUrl?: (url: string) => Promise<string>;\n delimiter?: string;\n addLinksToText?: boolean;\n }\n) => Promise<string> = _toPlainText as any;\nexport const toPlainTextSync: (\n content: RicosDocument,\n options?: {\n urlShortener?: (url: string) => string;\n getVideoUrl?: (fileId: string) => string;\n getVideoEmbeddedUrl?: (url: string) => string;\n getAudioUrl?: (fileId: string) => string;\n getGifUrl?: (url: string) => string;\n delimiter?: string;\n addLinksToText?: boolean;\n }\n) => string = _toPlainTextSync as any;\nexport const toTranslatables: (content: Pick<RicosDocument, 'nodes'>) => Translatable[] =\n _toTranslatables as any;\n\n// oxlint-disable-next-line @typescript-oxlint/no-explicit-any\nexport function isRichContent(content: any): content is RicosDocument {\n return _isRichContent(content);\n}\nexport const isRichContentEmpty: (contentState: RicosDocument) => boolean =\n _isRichContentEmpty as any;\nexport const isRichContentEqual: (\n a: RicosDocument | undefined,\n b: RicosDocument | undefined\n) => boolean = _isRichContentEqual as any;\n\nexport const modify: (content: RicosDocument) => {\n filter: (predicate: (node: RicosDocumentNode) => boolean) => {\n filter: (predicate: (node: RicosDocumentNode) => boolean) => any;\n set: (\n setter: (node: RicosDocumentNode) => RicosDocumentNode | RicosDocumentNode[]\n ) => RicosDocument;\n };\n set: (\n setter: (node: RicosDocumentNode) => RicosDocumentNode | RicosDocumentNode[]\n ) => RicosDocument;\n} = _modify as any;\n\n// Re-export y-adapter directly so the CJS emit produces a pure `__export`\n// getter (`() => require(\"./plugin-collab/y-adapter.js\").readYXmlFragment`)\n// instead of a module-scope `const readYXmlFragment = …` assignment. The\n// standalone assignment would load yjs + lib0 at module-init time, which\n// breaks Jest consumers that can't transform lib0's ESM source. Typing\n// already matches: y-adapter declares these against `RichContent`, which is\n// the RicosDocument alias re-exported from `next-schema`.\nexport {\n readYXmlFragment,\n writeYXmlFragment,\n patchYXmlFragment,\n type PatchYXmlFragmentResult,\n} from './plugin-collab/y-adapter.js';\n\n// ━━━ Content utilities (no RichContent in signatures) ━━━━━━━━━━━━━━━━━━━━━━━\n\nexport {\n ACTION_BUTTON_TYPE,\n AUDIO_TYPE,\n CODE_BLOCK_TYPE,\n COLLAPSIBLE_LIST_TYPE,\n compare,\n createContent,\n DIVIDER_TYPE,\n EMBED_TYPE,\n EMOJI_TYPE,\n EXTERNAL_MENTIONS_TYPE,\n FILE_UPLOAD_TYPE,\n GALLERY_TYPE,\n getTextDirection,\n GIPHY_TYPE,\n HASHTAG_TYPE,\n HEADINGS_DROPDOWN_TYPE,\n HTML_TYPE,\n IMAGE_TYPE,\n type ImageMedia,\n INDENT_TYPE,\n isContentStateEmpty,\n LINE_SPACING_TYPE,\n LINK_BUTTON_TYPE,\n LINK_PREVIEW_TYPE,\n LINK_TYPE,\n MENTION_TYPE,\n POLL_TYPE,\n RICOS_ANCHOR_TYPE,\n RICOS_CAPTION_TYPE,\n RICOS_DIVIDER_TYPE,\n RICOS_FILE_TYPE,\n RICOS_GALLERY_TYPE,\n RICOS_GIPHY_TYPE,\n RICOS_IMAGE_TYPE,\n RICOS_LINK_BUTTON_TYPE,\n RICOS_LINK_PREVIEW_TYPE,\n RICOS_LINK_TYPE,\n RICOS_MENTION_TYPE,\n RICOS_POLL_TYPE,\n RICOS_SHAPE_TYPE,\n RICOS_VERTICAL_EMBED_TYPE,\n RICOS_VIDEO_TYPE,\n SHAPE_TYPE,\n SPOILER_TYPE,\n TABLE_TYPE,\n TOC_TYPE,\n TEXT_COLOR_TYPE,\n TEXT_HIGHLIGHT_TYPE,\n TIPTAP_SHAPE_TYPE,\n Version,\n VERTICAL_EMBED_TYPE,\n VIDEO_TYPE,\n type VideoMedia,\n} from './ricos-content/index.js';\n\nexport type ListItemData = {\n text: _TextData[];\n data: _ParagraphData;\n};\n\nexport { extractMedia } from './ricos-content/lib/extract-media.js';\n\nexport type { Extractor } from './ricos-content/extractor-infra.js';\nexport const extract: (\n nodes: RicosDocumentNode | RicosDocumentNode[]\n) => Extractor<RicosDocumentNode> = _extract as any;\nexport const createParagraphNode: (\n nodes?: RicosDocumentNode[],\n data?: _ParagraphData,\n style?: _NodeStyle\n) => RicosDocumentNode = _createParagraphNode as any;\nexport const createTextNode: (text: string, decorations?: Decoration[]) => RicosDocumentNode =\n _createTextNode as any;\nexport const initializeMetadata: (metadata?: {\n version?: number;\n id?: string;\n createdTimestamp?: Date;\n updatedTimestamp?: Date;\n}) => _Metadata = _initializeMetadata as any;\n\n/**\n * Imperative content builder. Each `add*` method returns a `RicosDocument` whose `nodes`\n * include the newly-added node(s). Pass a `generateId` callback to produce unique node IDs.\n */\nexport type RicosContentBuilder = {\n [K in keyof _ContentBuilder]: _ContentBuilder[K] extends (arg: infer A) => unknown\n ? (arg: A) => RicosDocument\n : _ContentBuilder[K];\n};\nexport const setupContentBuilder: (generateId: () => string) => RicosContentBuilder =\n _setupContentBuilder as any;\n/** Context passed to `getCountableNodes` filter fn — the node's ancestors and previous sibling at visit time. */\nexport type NodeFilterContext = {\n parents: RicosDocumentNode[];\n previousSibling: RicosDocumentNode | undefined;\n};\nexport const getCountableNodes: (\n filterFn: (node: RicosDocumentNode, context: NodeFilterContext) => boolean\n) => (container: RicosDocumentNode | RicosDocument) => RicosDocumentNode[] =\n _getCountableNodes as any;\n\n// ━━━ Non-content utilities ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nexport { type BISettings } from './ricos-common/ricos-types.js';\nexport { extractUoUParams } from './_shared/extract-uou-params.js';\nexport { parseInstance } from './_shared/request-service-provider/parse-instance.js';\n\n/**\n * Returns a default `Link` shaped for `/next`. Same runtime as the legacy\n * `getInitialLinkData`; the loose return type defers to the consumer's\n * destination shape (typically `ButtonData['link']`).\n */\nexport const getInitialLinkData: (options?: {\n target?: string;\n nofollow?: boolean;\n sponsored?: boolean;\n noreferrer?: boolean;\n}) => any = _getInitialLinkData as any;\nexport { resolveFileUrl } from './ricos-media/index.js';\nexport const getAnchorableNodesQuery: (\n contentExtractor: Extractor<RicosDocumentNode>,\n selectedNodeId: any\n) => RicosDocumentNode[] = _getAnchorableNodesQuery as any;\n/** @deprecated Legacy ProGallery-shaped item converter. Kept for existing consumers; avoid in new code. */\nexport const convertItemData: (args: {\n items: _GalleryData_Item[];\n nodeId?: string;\n relValue?: string;\n anchorTarget?: string;\n baseUrl?: string;\n}) => any[] = _convertItemData as any;\nexport { getAbsoluteUrl } from './_shared/media/get-absolute-url.js';\nexport { PLUGIN_TOOLBAR_BUTTON_ID } from './_shared/plugin-toolbar/plugin-toolbar-buttons-ids.js';\nexport { quickStartViewerPlugins } from './_shared/quick-start-viewer-plugins/quick-start-viewer-plugins.js';\nexport { generateKey, isHexColor } from './wix-rich-content-common/index.js';\nexport { Tooltip, type TooltipPlace, type TooltipProps } from './_shared/tooltip/tooltip.js';\nexport {\n RicosWidget,\n type RicosWidgetProps,\n} from './ui-components/wixel-assistant/ricos-assistant-widget.js';\n\n// ━━━ Editor events ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nexport {\n BUTTON_TYPES,\n FORMATTING_BUTTONS,\n INSERT_PLUGIN_BUTTONS,\n} from './editor-common/index.js';\n\n// ━━━ Plugins ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n// Deprecated color callback props — stripped from plugin configs in next.\n// Consumers should use the top-level `colorManager` prop instead.\ntype _DeprecatedColorCallbacks =\n | 'onColorAdded'\n | 'getUserColors'\n | 'onTextColorAdded'\n | 'onBackgroundColorAdded'\n | 'onBorderColorAdded'\n | 'getTextColors'\n | 'getBorderColors'\n | 'getBackgroundColors'\n | 'onTitleColorAdded'\n | 'onSubtitleColorAdded'\n | 'onLinkColorAdded'\n | 'getTitleColors'\n | 'getSubtitleColors'\n | 'getLinkColors';\ntype _PluginFactory<C extends { type: string }> = (config?: Omit<C, 'type'>) => C;\ntype _Clean<T> = Omit<T, _DeprecatedColorCallbacks>;\n\nexport { pluginAiSuggestions } from './plugin-ai-suggestions/options.js';\nexport { pluginBlockDragHandle } from './plugin-block-drag-handle/options.js';\nexport type { BlockDragHandlePluginEditorConfig } from './plugin-block-drag-handle/types.js';\nexport { pluginCollab } from './plugin-collab/options.js';\nexport { pluginAi } from './plugin-ai/index.js';\n/** The available audio source button types for the toolbar insert menu. */\nexport { audioButtonsTypes } from './plugin-audio/index.js';\n/** Audio source button type: `'audio'` (file upload), `'soundCloud'`, or `'spotify'`. */\nexport type AudioButton = 'audio' | 'soundCloud' | 'spotify';\n/** Configuration for the Audio editor plugin. Pass to `pluginAudio()`. */\nexport interface AudioPluginEditorConfig {\n /**\n * Controls which audio source buttons appear in the toolbar insert menu.\n * By default, only the file-upload (`'audio'`) button is shown.\n * Add `'soundCloud'` and `'spotify'` to enable embedding from those services.\n * @defaultValue `['audio']`\n */\n exposeButtons?: AudioButton[];\n /**\n * When `true`, disables the download button on newly inserted audio blocks.\n * @defaultValue true\n */\n disableDownload?: boolean;\n /**\n * Resolves an audio file ID to a full playback URL.\n * Called when rendering audio nodes that store a relative source (e.g. Wix Media).\n * If not provided, a default Wix Media resolver is used.\n */\n getAudioUrl?: (src: { id: string }) => string;\n}\n/** Configuration for the Audio viewer plugin. Pass to `pluginAudioViewer()`. */\nexport interface AudioPluginViewerConfig {\n /**\n * Resolves an audio file ID to a full playback URL.\n * Called when rendering audio nodes that store a relative source (e.g. Wix Media).\n * If not provided, a default Wix Media resolver is used.\n */\n getAudioUrl?: (src: { id: string }) => string;\n}\n\ntype _ViewerPluginFactory<C = any> = (config?: C) => ViewerPlugin;\n\nexport const pluginAudio: (config?: AudioPluginEditorConfig) => _AudioConfig = _pluginAudio as any;\nexport const pluginAudioViewer: _ViewerPluginFactory<AudioPluginViewerConfig> =\n _pluginAudioViewer as any;\nexport type LinkButtonPluginEditorConfig = _Clean<_LinkButtonConfig>;\nexport const pluginLinkButton: _PluginFactory<_Clean<_LinkButtonConfig>> = _pluginLinkButton as any;\nexport const pluginActionButton: _PluginFactory<_Clean<_ActionButtonConfig>> =\n _pluginActionButton as any;\nexport const pluginActionButtonViewer: _ViewerPluginFactory<_ActionButtonViewerConfig> =\n _pluginActionButtonViewer as any;\n\n/**\n * Configuration for the Paywall editor plugin. Opt-in: without `getTemplate` the plugin\n * registers its rules with nothing to offer.\n */\nexport type PaywallPluginEditorConfig = _Clean<_PaywallConfig>;\nexport type { PaywallToolbarButton, PaywallToolbarContext };\nexport const pluginPaywallViewer: _ViewerPluginFactory<_PaywallViewerConfig> =\n _pluginPaywallViewer as any;\n\nexport const pluginPaywall: _PluginFactory<_Clean<_PaywallConfig>> = _pluginPaywall as any;\nexport const pluginLinkButtonViewer: _ViewerPluginFactory = _pluginLinkButtonViewer as any;\n/**\n * Configuration for the Code Block editor plugin. Currently has no options — pass none.\n *\n * Note: There is no `pluginCodeBlockViewer` — code blocks render natively without a viewer plugin.\n */\nexport interface CodeBlockPluginEditorConfig {}\nexport { pluginCodeBlock } from './plugin-code-block/index.js';\nexport const pluginCodeBlockViewer: _ViewerPluginFactory = _pluginCodeBlockViewer as any;\nexport type { CollapsibleListComponentData } from './plugin-collapsible-list/types-next.js';\nexport { pluginCollapsibleList } from './plugin-collapsible-list/index.js';\nexport const pluginCollapsibleListViewer: _ViewerPluginFactory =\n _pluginCollapsibleListViewer as any;\n/** Configuration for the Divider editor plugin. Currently has no options — pass none. */\nexport interface DividerPluginEditorConfig {}\n/** Configuration for the Divider viewer plugin. Currently has no options — pass none. */\nexport interface DividerPluginViewerConfig {}\nexport { DIVIDER_BUTTONS } from './plugin-divider/index.js';\nexport const pluginDivider: (config?: DividerPluginEditorConfig) => _DividerConfig =\n _pluginDivider as any;\nexport const pluginDividerViewer: _ViewerPluginFactory<DividerPluginViewerConfig> =\n _pluginDividerViewer as any;\n/**\n * Configuration for the Emoji editor plugin. Currently has no options — pass none.\n *\n * Note: There is no corresponding `pluginEmojiViewer` — emojis are stored as plain Unicode\n * text in the document and render naturally without any viewer plugin.\n */\nexport interface EmojiPluginEditorConfig {}\nexport const pluginEmoji: (config?: EmojiPluginEditorConfig) => _EmojiConfig = _pluginEmoji as any;\nexport const pluginEmojiViewer: _ViewerPluginFactory = _pluginEmojiViewer as any;\nexport {\n type FilePluginEditorConfig,\n pluginFileUpload,\n} from './plugin-file-upload/index.js';\nexport {\n fileExtensionToType,\n FileTypes,\n} from './plugin-file-upload/lib/file-extension-to-type.js';\nexport const pluginFileUploadViewer: _ViewerPluginFactory = _pluginFileUploadViewer as any;\nexport { pluginFontFamily } from './plugin-font-family/index.js';\nexport const pluginFontFamilyViewer: _ViewerPluginFactory = _pluginFontFamilyViewer as any;\nexport {\n type GalleryPluginEditorConfig,\n pluginGallery,\n} from './plugin-gallery/index.js';\nexport const pluginGalleryViewer: _ViewerPluginFactory<_GalleryViewerConfig> =\n _pluginGalleryViewer as any;\n/** Configuration for the Giphy editor plugin. Pass to `pluginGiphy()`. */\nexport interface GiphyPluginEditorConfig {\n /**\n * Override the Giphy proxy URL. Called with `'search'` or `'trending'` to get the endpoint URL\n * for the corresponding Giphy API operation. Return `undefined` to fall back to the default proxy.\n *\n * @example\n * getGiphyUrl: (path) => `https://my-proxy.com/giphy/${path}`\n */\n getGiphyUrl?: (path: 'search' | 'trending') => string | undefined;\n}\n/** Configuration for the Giphy viewer plugin. Currently has no options — pass none. */\nexport interface GiphyPluginViewerConfig {}\nexport const pluginGiphy: (config?: GiphyPluginEditorConfig) => _GiphyConfig = _pluginGiphy as any;\nexport const pluginGiphyViewer: _ViewerPluginFactory = _pluginGiphyViewer as any;\n/** Configuration for the Hashtag editor plugin. Currently has no options — pass none. */\nexport interface HashtagPluginEditorConfig {}\n/** Configuration for the Hashtag viewer plugin. Pass to `pluginHashtagViewer()`. */\nexport interface HashtagPluginViewerConfig {\n /**\n * Converts hashtag text to a URL. When provided, hashtags are rendered as anchor links.\n * Receives the hashtag text without the `#` prefix.\n *\n * @example\n * createHref: (text) => `/search?q=${encodeURIComponent('#' + text)}`\n */\n createHref?: (text: string) => string;\n /**\n * Callback fired when a user clicks (or presses Enter/Space on) a hashtag in the viewer.\n * Receives the click event and the hashtag text.\n */\n onClick?: (\n event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>,\n text: string\n ) => void;\n}\nexport const pluginHashtag: (config?: HashtagPluginEditorConfig) => _HashtagConfig =\n _pluginHashtag as any;\nexport const pluginHashtagViewer: _ViewerPluginFactory<HashtagPluginViewerConfig> =\n _pluginHashtagViewer as any;\n/** Heading levels that can appear in the headings dropdown. `'P'` represents paragraph (no heading). */\nexport type HeadingType = 'P' | 'H1' | 'H2' | 'H3' | 'H4' | 'H5' | 'H6';\n/** Configuration for the Headings editor plugin. Pass to `pluginHeadings()`. */\nexport interface HeadingsPluginEditorConfig {\n /**\n * Restricts which heading levels appear in the headings dropdown.\n * @defaultValue All headings are shown: `['H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'P']`\n */\n customHeadings?: HeadingType[];\n /**\n * When `true`, each heading entry in the dropdown shows a preview of its current\n * font size and family (resolved from the theme), and clicking opens a sub-panel\n * for in-content style customization.\n * @defaultValue false\n */\n allowHeadingCustomization?: boolean;\n}\nexport const pluginHeadings: (config?: HeadingsPluginEditorConfig) => _HeadingsConfig =\n _pluginHeadings as any;\nexport { htmlButtonsTypes, pluginHtml } from './plugin-html/index.js';\nexport const pluginHtmlViewer: _ViewerPluginFactory = _pluginHtmlViewer as any;\nexport const pluginImage: _PluginFactory<_Clean<_ImageConfig>> = _pluginImage as any;\nexport const pluginImageViewer: _ViewerPluginFactory = _pluginImageViewer as any;\nexport { pluginIndent } from './plugin-indent/index.js';\nexport const pluginIndentViewer: _ViewerPluginFactory = _pluginIndentViewer as any;\nexport type { AnimationPluginEditorConfig } from './plugin-animation/index.js';\nexport { pluginAnimation } from './plugin-animation/index.js';\nexport type { AnimationPluginViewerConfig } from './plugin-animation/viewer.js';\nexport const pluginAnimationViewer: _ViewerPluginFactory<_AnimationViewerConfig> =\n _pluginAnimationViewer as _ViewerPluginFactory<_AnimationViewerConfig>;\nexport { pluginInlineAi } from './plugin-inline-ai/index.js';\nexport { pluginLineSpacing } from './plugin-line-spacing/index.js';\nexport const pluginLineSpacingViewer: _ViewerPluginFactory = _pluginLineSpacingViewer as any;\nexport { pluginLink } from './plugin-link/index.js';\nexport const pluginLinkViewer: _ViewerPluginFactory = _pluginLinkViewer as any;\nexport { LinkPreviewProviders } from './plugin-link-preview/index.js';\nexport type LinkPreviewPluginEditorConfig = _Clean<_LinkPreviewConfig>;\nexport const pluginLinkPreview: _PluginFactory<_Clean<_LinkPreviewConfig>> =\n _pluginLinkPreview as any;\nexport const pluginLinkPreviewViewer: _ViewerPluginFactory = _pluginLinkPreviewViewer as any;\nexport {\n type MentionsPluginEditorConfig,\n pluginMentions,\n} from './plugin-mentions/index.js';\nexport const pluginMentionsViewer: _ViewerPluginFactory = _pluginMentionsViewer as any;\nexport { pluginShape, SHAPE_RICOS_DEFAULTS } from './plugin-shape/index.js';\nexport const pluginShapeViewer: _ViewerPluginFactory = _pluginShapeViewer as any;\nexport { pluginSmartBlock } from './plugin-smart-block/index.js';\nexport const pluginSmartBlockViewer: _ViewerPluginFactory = _pluginSmartBlockViewer as any;\nexport {\n pluginSlot,\n SLOT_TYPE,\n type ResolvedSlotDesign,\n type SlotAddButton,\n type SlotColorPickerOptions,\n type SlotContext,\n type SlotDataPatch,\n type SlotDesignPatch,\n type SlotEditorComponentProps,\n type SlotEditorIntegration,\n type SlotErrorContext,\n type SlotErrorHandler,\n type SlotPanelConfig,\n type SlotPanelPositioning,\n type SlotToolbarButton,\n type SlotToolbarContext,\n type SlotViewerComponentProps,\n type SlotViewerIntegration,\n} from './plugin-slot/index.js';\nexport const pluginSlotViewer: _ViewerPluginFactory<SlotPluginViewerConfig> =\n _pluginSlotViewer as any;\nexport {\n pluginPoll,\n type PollPluginEditorConfig,\n} from './plugin-social-polls/index.js';\nexport const pluginPollViewer: _ViewerPluginFactory = _pluginPollViewer as any;\n/** Configuration for the Spoiler editor plugin. Currently has no options — pass none. */\nexport interface SpoilerPluginEditorConfig {}\n/** Configuration for the Spoiler viewer plugin. Currently has no options — pass none. */\nexport interface SpoilerPluginViewerConfig {}\nexport { pluginSpoiler, SpoilerEditorWrapper } from './plugin-spoiler/index.js';\nexport const initSpoilersContentState = _initSpoilersContentState;\nexport const pluginSpoilerViewer: _ViewerPluginFactory = _pluginSpoilerViewer as any;\nexport const SpoilerViewerWrapper = _SpoilerViewerWrapper;\n/** Configuration for the Table editor plugin. Currently has no options — pass none. */\nexport interface TablePluginEditorConfig {}\n/** Configuration for the Table viewer plugin. Currently has no options — pass none. */\nexport interface TablePluginViewerConfig {}\nexport { TABLE_BUTTONS } from './plugin-table/index.js';\nexport const pluginTable: (config?: TablePluginEditorConfig) => _TableConfig = _pluginTable as any;\nexport const pluginTableViewer: _ViewerPluginFactory<TablePluginViewerConfig> =\n _pluginTableViewer as any;\nexport { pluginToc } from './plugin-toc/index.js';\nexport const pluginTocViewer: _ViewerPluginFactory = _pluginTocViewer as any;\nexport const pluginTextColor: _PluginFactory<_Clean<_TextColorConfig>> = _pluginTextColor as any;\nexport const pluginTextHighlight: _PluginFactory<_Clean<_TextHighlightConfig>> =\n _pluginTextHighlight as any;\nexport const pluginTextColorViewer: _ViewerPluginFactory = _pluginTextColorViewer as any;\nexport const pluginTextHighlightViewer: _ViewerPluginFactory = _pluginTextHighlightViewer as any;\nexport {\n pluginVerticalEmbed,\n verticalEmbedProviders,\n} from './plugin-vertical-embed/index.js';\nexport const pluginVerticalEmbedViewer: _ViewerPluginFactory = _pluginVerticalEmbedViewer as any;\nexport {\n pluginVideo,\n videoButtonsTypes,\n type VideoPluginEditorConfig,\n} from './plugin-video/index.js';\nexport const pluginVideoViewer: _ViewerPluginFactory = _pluginVideoViewer as any;\nexport {\n TextSelectionToolbar,\n TwitterButton,\n} from './text-selection-toolbar/index.js';\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,mCAGO;AACP,4BAKO;AAEP,iCAAoE;AAEpE,2BAGO;AACP,iCAGO;AACP,qBAA4D;AAC5D,wBAGO;AACP,kCAA0D;AAC1D,qBAAoC;AACpC,gCAAsD;AACtD,mCAA0D;AAC1D,4BAAoD;AACpD,oBAAkC;AAClC,wBAIO;AACP,oCAIO;AACP,gCAAoD;AACpD,uBAGO;AACP,8BAGO;AACP,mCAA4D;AAE5D,4BAA8C;AAyC9C,mCAA0D;AAE1D,sCAKO;AACP,oBAAgE;AAEhE,0BAGO;AAEP,IAAAA,iBAGO;AACP,2BAGO;AAMP,IAAAA,iBAGO;AACP,IAAAA,iBAA0D;AAC1D,IAAAA,iBAAsE;AACtE,4BAGO;AACP,IAAAA,iBAGO;AACP,0BAGO;AACP,IAAAA,iBAAkD;AAClD,IAAAA,iBAA4D;AAC5D,IAAAA,iBAA4D;AAC5D,sCAAoD;AAEpD,IAAAA,kBAAsD;AACtD,0BAGO;AACP,IAAAA,kBAAkD;AAClD,4BAGO;AACP,IAAAA,kBAGO;AACP,6BAGO;AACP,IAAAA,kBAAgD;AAChD,0BAA4C;AAE5C,IAAAA,kBAAkD;AAClD,IAAAA,kBAAoD;AACpD,IAAAA,kBAA8D;AAC9D,iCAAwD;AAExD,IAAAA,kBAA8D;AAC9D,IAAAA,kBAAgD;AAChD,IAAAA,kBAAwD;AACxD,IAAAA,kBAAkD;AAElD,IAAAA,kBAAgD;AAChD,IAAAA,kBAA4D;AAC5D,IAAAA,kBAAgD;AAChD,IAAAA,kBAIO;AACP,0BAGO;AACP,IAAAA,kBAGO;AACP,+BAGO;AAKP,IAAAA,kBAGO;AACP,IAAAA,kBAA8C;AAC9C,IAAAA,kBAAkE;AAClE,IAAAA,kBAAkD;AAElD,0BAA4C;AA4C5C,kBAuCO;AAEP,IAAAC,eA4EO;AA2oBP,+BAA4B;AA2J5B,uBAKO;AAIP,IAAAC,wBAsDO;AAOP,2BAA6B;AA4C7B,gCAAiC;AACjC,4BAA8B;AAa9B,yBAA+B;AAa/B,8BAA+B;AAC/B,wCAAyC;AACzC,wCAAwC;AACxC,qCAAwC;AACxC,qBAA8D;AAC9D,oCAGO;AAIP,2BAIO;AAwBP,qBAAoC;AACpC,IAAAC,kBAAsC;AAEtC,IAAAA,kBAA6B;AAC7B,uBAAyB;AAEzB,IAAAC,uBAAkC;AA+DlC,+BAAgC;AAGhC,qCAAsC;AAOtC,IAAAC,yBAAgC;AAchC,gCAGO;AACP,oCAGO;AAEP,gCAAiC;AAEjC,4BAGO;AA8DP,yBAA6C;AAI7C,2BAA6B;AAG7B,8BAAgC;AAIhC,8BAA+B;AAC/B,iCAAkC;AAElC,yBAA2B;AAE3B,IAAAC,8BAAqC;AAKrC,6BAGO;AAEP,0BAAkD;AAElD,gCAAiC;AAEjC,yBAmBO;AAGP,iCAGO;AAMP,4BAAoD;AAQpD,IAAAC,uBAA8B;AAI9B,wBAA0B;AAO1B,mCAGO;AAEP,0BAIO;AAEP,oCAGO;AA7lBA,MAAM,cAAc,oBAAAC;AAmBpB,MAAM,wBAAwB,gCAAAC;AAW9B,MAAM,yBAAyB,gCAAAC;AAM/B,MAAM,oBACX,gCAAAC;AAOK,MAAM,qBAAqB,gCAAAC;AAa3B,MAAM,qBAKS,4BAAAC;AACf,MAAM,kBAA8D,sBAAAC;AACpE,MAAM,gBAAiD,kBAAAC;AACvD,MAAM,mBACX,8BAAAC;AACK,MAAM,mBACX,8BAAAC;AACK,MAAM,mBAGQ,iBAAAC;AACd,MAAM,sBAIQ,6BAAAC;AAKd,MAAM,kBAI2C,wBAAAC;AACjD,MAAM,mBAAuD,0BAAAC;AAC7D,MAAM,eAGsB,sBAAAC;AAC5B,MAAM,gBACX,2BAAAC;AACK,MAAM,UAAgD,2BAAAC;AACtD,MAAM,SAIC,8BAAAC;AAKP,MAAM,cAWU,kBAAAC;AAChB,MAAM,kBAWC,0BAAAC;AACP,MAAM,kBACX,iBAAAC;AAGK,SAAS,cAAc,SAAwC;AACpE,aAAO,qBAAAC,eAAe,OAAO;AAC/B;AACO,MAAM,qBACX,qBAAAC;AACK,MAAM,qBAGE,6BAAAC;AAER,MAAM,SAUT,cAAAC;AAkFG,MAAM,UAEuB,eAAAC;AAC7B,MAAM,sBAIY,kBAAAC;AAClB,MAAM,iBACX,kBAAAC;AACK,MAAM,qBAKK,kBAAAC;AAWX,MAAM,sBACX,eAAAC;AAMK,MAAM,oBAGX,wBAAAC;AAaK,MAAM,qBAKD,6BAAAC;AAEL,MAAM,0BAGc,2BAAAC;AAEpB,MAAM,kBAMC,gCAAAC;AAmFP,MAAM,cAAkE,oBAAAC;AACxE,MAAM,oBACX,eAAAC;AAEK,MAAM,mBAA8D,qBAAAC;AACpE,MAAM,qBACX,qBAAAC;AACK,MAAM,2BACX,eAAAC;AAQK,MAAM,sBACX,6BAAAC;AAEK,MAAM,gBAAwD,sBAAAC;AAC9D,MAAM,yBAA+C,eAAAC;AAQrD,MAAM,wBAA8C,eAAAC;AAGpD,MAAM,8BACX,eAAAC;AAMK,MAAM,gBACX,sBAAAC;AACK,MAAM,sBACX,eAAAC;AAQK,MAAM,cAAkE,oBAAAC;AACxE,MAAM,oBAA0C,eAAAC;AAShD,MAAM,yBAA+C,eAAAC;AAErD,MAAM,yBAA+C,eAAAC;AAKrD,MAAM,sBACX,gBAAAC;AAcK,MAAM,cAAkE,oBAAAC;AACxE,MAAM,oBAA0C,gBAAAC;AAsBhD,MAAM,gBACX,sBAAAC;AACK,MAAM,sBACX,gBAAAC;AAkBK,MAAM,iBACX,uBAAAC;AAEK,MAAM,mBAAyC,gBAAAC;AAC/C,MAAM,cAAoD,oBAAAC;AAC1D,MAAM,oBAA0C,gBAAAC;AAEhD,MAAM,qBAA2C,gBAAAC;AAIjD,MAAM,wBACX,cAAAC;AAGK,MAAM,0BAAgD,gBAAAC;AAEtD,MAAM,mBAAyC,gBAAAC;AAG/C,MAAM,oBACX,2BAAAC;AACK,MAAM,0BAAgD,gBAAAC;AAKtD,MAAM,uBAA6C,gBAAAC;AAEnD,MAAM,oBAA0C,gBAAAC;AAEhD,MAAM,yBAA+C,gBAAAC;AAqBrD,MAAM,mBACX,gBAAAC;AAKK,MAAM,mBAAyC,gBAAAC;AAM/C,MAAM,2BAA2B,gBAAAC;AACjC,MAAM,sBAA4C,gBAAAC;AAClD,MAAM,uBAAuB,gBAAAC;AAM7B,MAAM,cAAkE,oBAAAC;AACxE,MAAM,oBACX,gBAAAC;AAEK,MAAM,kBAAwC,gBAAAC;AAC9C,MAAM,kBAA4D,yBAAAC;AAClE,MAAM,sBACX,yBAAAC;AACK,MAAM,wBAA8C,gBAAAC;AACpD,MAAM,4BAAkD,gBAAAC;AAKxD,MAAM,4BAAkD,gBAAAC;AAMxD,MAAM,oBAA0C,gBAAAC;",
4
+ "sourcesContent": ["/**\n * @wix/ricos/next — forward-looking entry point with RicosDocument (JTD) types.\n *\n * Same runtime as @wix/ricos, but typed with the JTD schema (RicosDocument, RicosDocumentNode)\n * instead of the proto schema (RichContent, Node).\n *\n * Draft-related APIs are excluded — they will be removed in the next major version.\n */\nimport type { WixClient } from '@wix/sdk/client';\nimport type { CSSProperties, FC, Component } from 'react';\n\nimport {\n pluginPaywallViewer as _pluginPaywallViewer,\n type PaywallPluginViewerConfig as _PaywallViewerConfig,\n} from './plugin-paywall/plugin-paywall-viewer.js';\nimport {\n pluginPaywall as _pluginPaywall,\n type PaywallPluginEditorConfig as _PaywallConfig,\n type PaywallToolbarButton,\n type PaywallToolbarContext,\n} from './plugin-paywall/plugin-paywall.js';\nimport type { BISettings, VisitorUploads as _VisitorUploads } from './ricos-common/ricos-types.js';\nimport { getAnchorableNodesQuery as _getAnchorableNodesQuery } from './ricos-content-query/index.js';\nimport type { Extractor } from './ricos-content/extractor-infra.js';\nimport {\n isRichContent as _isRichContent,\n isRichContentEmpty as _isRichContentEmpty,\n} from './ricos-content/index.js';\nimport {\n getPluginData as _getPluginData,\n getText as _getText,\n} from './ricos-content/lib/content-application.js';\nimport { setupContentBuilder as _setupContentBuilder } from './ricos-content/lib/content.js';\nimport {\n fromPlainText as _fromPlainText,\n toPlainText as _toPlainText,\n} from './ricos-content/lib/converters.js';\nimport { createEmptyContent as _createEmptyContent } from './ricos-content/lib/create-empty-content.js';\nimport { extract as _extract } from './ricos-content/lib/extract.js';\nimport { getContentLength as _getContentLength } from './ricos-content/lib/get-content-length.js';\nimport { isRichContentEqual as _isRichContentEqual } from './ricos-content/lib/is-rich-content-equal.js';\nimport { ensureContentId as _ensureContentId } from './ricos-content/lib/metadata-utils.js';\nimport { modify as _modify } from './ricos-content/lib/modify.js';\nimport {\n createParagraphNode as _createParagraphNode,\n createTextNode as _createTextNode,\n initializeMetadata as _initializeMetadata,\n} from './ricos-content/lib/node-utils.js';\nimport {\n fromCKEditorHtml as _fromCKEditorHtml,\n fromRichTextHtml as _fromRichTextHtml,\n toHtml as _toHtml,\n} from './ricos-content/lib/server-side-converters.js';\nimport { toPlainTextSync as _toPlainTextSync } from './ricos-content/lib/to-plain-text-sync.js';\nimport {\n translateContent as _translateContent,\n toTranslatables as _toTranslatables,\n} from './ricos-content/lib/translate.js';\nimport {\n getCountableNodes as _getCountableNodes,\n truncateContent as _truncateContent,\n} from './ricos-content/lib/truncate-content.js';\nimport { truncateRichContent as _truncateRichContent } from './ricos-content/lib/truncate-rich-content.js';\nimport type { ImageMedia, VideoMedia } from './ricos-content/RicosContentAPI/get-media-data.js';\nimport { getMediaData as _getMediaData } from './ricos-content/RicosContentAPI/get-media-data.js';\nimport type { Translatable } from './ricos-content/TranslatableAPI/types.js';\nimport type { TruncateOptions } from './ricos-content/truncateContent/ricos-truncate.js';\nimport type { ContentBuilder as _ContentBuilder } from './ricos-content/types/index.js';\nimport type {\n RicosDocument,\n RicosDocumentNode,\n Decoration,\n Node_Type as RicosDocumentNodeType_Type,\n TextData as _TextData,\n ParagraphData as _ParagraphData,\n NodeStyle as _NodeStyle,\n Metadata as _Metadata,\n GalleryData_Item as _GalleryData_Item,\n} from './ricos-schema/next-schema/index.js';\nimport type {\n FocusPosition,\n TextAlignment,\n ToolbarsConfig,\n ViewerPlugin,\n EditorPluginOptions,\n AvailableExperiments,\n ColorPaletteManager,\n DebugMode,\n Environment,\n LinkSettings,\n ResponsiveBehavior,\n MediaSettings,\n onAtomicBlockFocus,\n RicosPalette,\n RicosTypography,\n RicosCustomStyles,\n RicosSettingsStyles,\n RicosNativeStyles,\n ModalSettings,\n ToolbarButtonProps,\n ToolbarPropsResult,\n ToolbarType,\n UseToolbarPropsType,\n} from './ricos-types/next/index.js';\nimport type { GeneralLinkSettings, HistorySettings } from './ricos-types/next/plugin-types.js';\nimport { getInitialLinkData as _getInitialLinkData } from './_shared/link/get-initial-link-data.js';\nimport type { PublicPickMedia as _PublicPickMedia } from './_shared/media/public-pick-media.js';\nimport {\n RicosEditorApiContext as _RicosEditorApiContext,\n RicosEditorApiProvider as _RicosEditorApiProvider,\n useRicosEditorApi as _useRicosEditorApi,\n withRicosEditorApi as _withRicosEditorApi,\n} from './_shared/ricos-editor-api-context/ricos-editor-api-context.js';\nimport { pluginAnimationViewer as _pluginAnimationViewer } from './plugin-animation/viewer.js';\nimport type { AnimationPluginViewerConfig as _AnimationViewerConfig } from './plugin-animation/viewer.js';\nimport {\n pluginAudio as _pluginAudio,\n type AudioPluginEditorConfig as _AudioConfig,\n} from './plugin-audio/index.js';\n// Viewer plugin imports — cast to ViewerPlugin to avoid proto type leakage\nimport {\n pluginAudio as _pluginAudioViewer,\n type AudioPluginViewerConfig as _AudioViewerConfig,\n} from './plugin-audio/viewer.js';\nimport {\n pluginLinkButton as _pluginLinkButton,\n pluginActionButton as _pluginActionButton,\n} from './plugin-button/index.js';\nimport type {\n LinkButtonPluginEditorConfig as _LinkButtonConfig,\n ActionButtonPluginEditorConfig as _ActionButtonConfig,\n ActionButtonPluginViewerConfig as _ActionButtonViewerConfig,\n} from './plugin-button/types.js';\nimport {\n pluginActionButton as _pluginActionButtonViewer,\n pluginLinkButton as _pluginLinkButtonViewer,\n} from './plugin-button/viewer.js';\nimport { pluginCodeBlock as _pluginCodeBlockViewer } from './plugin-code-block/viewer.js';\nimport { pluginCollapsibleList as _pluginCollapsibleListViewer } from './plugin-collapsible-list/viewer.js';\nimport {\n pluginDivider as _pluginDivider,\n type DividerPluginEditorConfig as _DividerConfig,\n} from './plugin-divider/index.js';\nimport {\n pluginDivider as _pluginDividerViewer,\n type DividerPluginViewerConfig as _DividerViewerConfig,\n} from './plugin-divider/viewer.js';\nimport {\n pluginEmoji as _pluginEmoji,\n type EmojiPluginEditorConfig as _EmojiConfig,\n} from './plugin-emoji/index.js';\nimport { pluginEmoji as _pluginEmojiViewer } from './plugin-emoji/viewer.js';\nimport { pluginFileUpload as _pluginFileUploadViewer } from './plugin-file-upload/viewer.js';\nimport { pluginFontFamily as _pluginFontFamilyViewer } from './plugin-font-family/viewer.js';\nimport { convertItemData as _convertItemData } from './plugin-gallery/convert-item-data-compat.js';\nimport type { GalleryPluginViewerConfig as _GalleryViewerConfig } from './plugin-gallery/types.js';\nimport { pluginGallery as _pluginGalleryViewer } from './plugin-gallery/viewer.js';\nimport {\n pluginGiphy as _pluginGiphy,\n type GiphyPluginEditorConfig as _GiphyConfig,\n} from './plugin-giphy/index.js';\nimport { pluginGiphy as _pluginGiphyViewer } from './plugin-giphy/viewer.js';\nimport {\n pluginHashtag as _pluginHashtag,\n type HashtagPluginEditorConfig as _HashtagConfig,\n} from './plugin-hashtag/index.js';\nimport {\n pluginHashtag as _pluginHashtagViewer,\n type HashtagPluginViewerConfig as _HashtagViewerConfig,\n} from './plugin-hashtag/viewer.js';\nimport {\n pluginHeadings as _pluginHeadings,\n type HeadingsPluginEditorConfig as _HeadingsConfig,\n} from './plugin-headings/index.js';\nimport { pluginHtml as _pluginHtmlViewer } from './plugin-html/viewer.js';\nimport { pluginImage as _pluginImage } from './plugin-image/index.js';\nimport type { ImagePluginEditorConfig as _ImageConfig } from './plugin-image/types.js';\nimport { pluginImage as _pluginImageViewer } from './plugin-image/viewer.js';\nimport { pluginIndent as _pluginIndentViewer } from './plugin-indent/viewer.js';\nimport { pluginLineSpacing as _pluginLineSpacingViewer } from './plugin-line-spacing/viewer.js';\nimport { pluginLinkPreview as _pluginLinkPreview } from './plugin-link-preview/index.js';\nimport type { LinkPreviewPluginEditorConfig as _LinkPreviewConfig } from './plugin-link-preview/types.js';\nimport { pluginLinkPreview as _pluginLinkPreviewViewer } from './plugin-link-preview/viewer.js';\nimport { pluginLink as _pluginLinkViewer } from './plugin-link/viewer.js';\nimport { pluginMentions as _pluginMentionsViewer } from './plugin-mentions/viewer.js';\nimport { pluginShape as _pluginShapeViewer } from './plugin-shape/viewer.js';\nimport type { SlotPluginViewerConfig } from './plugin-slot/index.js';\nimport { pluginSlot as _pluginSlotViewer } from './plugin-slot/viewer.js';\nimport { pluginSmartBlock as _pluginSmartBlockViewer } from './plugin-smart-block/viewer.js';\nimport { pluginPoll as _pluginPollViewer } from './plugin-social-polls/viewer.js';\nimport {\n initSpoilersContentState as _initSpoilersContentState,\n pluginSpoiler as _pluginSpoilerViewer,\n SpoilerViewerWrapper as _SpoilerViewerWrapper,\n} from './plugin-spoiler/viewer.js';\nimport {\n pluginTable as _pluginTable,\n type TablePluginEditorConfig as _TableConfig,\n} from './plugin-table/index.js';\nimport {\n pluginTable as _pluginTableViewer,\n type TablePluginViewerConfig as _TableViewerConfig,\n} from './plugin-table/viewer.js';\nimport {\n pluginTextColor as _pluginTextColor,\n pluginTextHighlight as _pluginTextHighlight,\n} from './plugin-text-color/index.js';\nimport type {\n TextColorPluginEditorConfig as _TextColorConfig,\n TextHighlightPluginEditorConfig as _TextHighlightConfig,\n} from './plugin-text-color/types.js';\nimport {\n pluginTextColor as _pluginTextColorViewer,\n pluginTextHighlight as _pluginTextHighlightViewer,\n} from './plugin-text-color/viewer.js';\nimport { pluginToc as _pluginTocViewer } from './plugin-toc/viewer.js';\nimport { pluginVerticalEmbed as _pluginVerticalEmbedViewer } from './plugin-vertical-embed/viewer.js';\nimport { pluginVideo as _pluginVideoViewer } from './plugin-video/viewer.js';\n\nimport { RicosEditor as _RicosEditor } from './next-runtime.js';\n// ━━━ Schema types (JTD) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n// Re-exported through the wrapper barrel to avoid api-extractor isExternal conflicts.\n// Direct re-exports from @wix/ricos/next/schema cause api-extractor to crash because\n// the same symbols end up both internal (re-exported) and external (referenced by wrappers).\n\nexport type {\n RicosDocument,\n RicosDocumentNode,\n Decoration,\n AppEmbedData,\n AudioData,\n BulletedListData,\n ButtonData,\n CollapsibleListData,\n FileData,\n GalleryData,\n GalleryData_Item,\n GIF,\n GIFData,\n HeadingData,\n HTMLData,\n ImageData,\n LayoutCellData,\n LayoutData,\n Link,\n Link_Rel,\n SchemaLinkPreviewData as LinkPreviewData,\n Media,\n MentionData,\n Node,\n OrderedListData,\n ParagraphData,\n PluginContainerData_Spoiler,\n PollData,\n ShapeData,\n ShapeNode,\n SmartBlockData,\n SlotData,\n SlotNode,\n TextData,\n VideoData,\n ValidationError,\n} from './ricos-types/next/index.js';\nexport {\n SchemaDecoration_Type as Decoration_Type,\n RichContent,\n RicosDocumentNodeType as Node_Type,\n AppEmbedData_AppType,\n ButtonData_Type,\n CollapsibleListData_Direction,\n CollapsibleListData_InitialExpandedItems,\n DividerData_Alignment,\n DividerData_LineStyle,\n DividerData_Width,\n FontSizeData_fontType,\n GalleryOptions_ItemStyle_Crop,\n GalleryOptions_Layout_Orientation,\n GalleryOptions_Layout_Type,\n GalleryOptions_Thumbnails_Alignment,\n GIFData_GIFType,\n HTMLData_Source,\n LayoutData_ResponsivenessBehaviour,\n LayoutData_DesignTarget,\n Link_Target,\n PluginContainerData_Alignment,\n PluginContainerData_Width_Type,\n PollData_Design_PollDesign_Background_Type,\n PollData_Layout_PollLayout_Direction,\n PollData_Layout_PollLayout_Type,\n PollData_Poll_Settings_Permissions_ViewRole,\n PollData_Poll_Settings_Permissions_VoteRole,\n SmartBlockData_ColumnSize,\n SmartBlockData_Orientation,\n SmartBlockData_Type,\n SmartBlockCellData_Type,\n TextStyle_TextAlignment,\n TocData_Indentation,\n TocData_ListStyle,\n VerticalAlignment as LayoutData_VerticalAlignment_Alignment,\n LayoutData_BannerPosition as LayoutData_Banner_Position,\n LayoutData_BannerOrigin as LayoutData_Banner_Origin,\n validateRicosDocument,\n} from './ricos-types/next/index.js';\n\nexport {\n type AnchorDecoration,\n type AppEmbedNode,\n type AudioNode,\n type BlockquoteNode,\n type BulletedListNode,\n type ButtonNode,\n type CaptionNode,\n type CodeBlockNode,\n type CollapsibleItemBodyNode,\n type CollapsibleItemNode,\n type CollapsibleItemTitleNode,\n type CollapsibleListNode,\n type ColorPaletteManager,\n type SetColors,\n type CustomTextualStyle,\n type DebugMode,\n type Environment,\n type ResponsiveBehavior,\n type FocusPosition,\n type TextAlignment,\n type DividerNode,\n type EmbedNode,\n type FileNode,\n type GalleryNode,\n type GifNode,\n type HeadingNode,\n type HtmlNode,\n type ImageNode,\n type LinkDecoration,\n type LinkPreviewNode,\n type LinkSettings,\n type ListItemNode,\n type onAtomicBlockFocus,\n type onKeyboardShortcutActionArgs,\n type onToolbarButtonClickArgs,\n type OrderedListNode,\n type ParagraphNode,\n type PollNode,\n type RefinedNode,\n type RicosCustomStyles,\n type RicosNativeStyles,\n type RicosPalette,\n type RicosSettingsStyles,\n type RicosTypography,\n RICOS_CSS_VARS,\n type RicosCssVar,\n type TableCellNode,\n type TableNode,\n type TableRowNode,\n type TextDirection,\n type TextGroupButtons,\n type TextNode,\n type ToolbarSettingsFunctions,\n type VideoNode,\n type EditorPluginOptions,\n type EditorPluginOptionCreator,\n ToolbarType,\n RicosPluginToolbarNames,\n type RicosPluginToolbarNamesValues,\n type ToolbarButtonProps,\n type ToolbarsConfig,\n type QuickActionsConfig,\n type TextButtonId,\n type InsertButtonId,\n type PluginButtonId,\n type ActionButton,\n type ActionOption,\n type ButtonClickContext,\n type CustomButton,\n type DropdownButton,\n type DropdownOption,\n type ExternalToolbarButton,\n type SeparatorButton,\n type ToolbarPropsResult,\n type UseToolbarPropsType,\n} from './ricos-types/next/index.js';\nexport type { GeneralLinkSettings, HistorySettings } from './ricos-types/next/plugin-types.js';\n/** @deprecated Use EditorPluginOptions */\nexport type { EditorPluginOptions as EditorPlugin } from './ricos-types/next/index.js';\n\n/**\n * Theme input for `RicosEditor` and `RicosViewer`. Values flow into CSS variables\n * consumed by every plugin, the toolbars, and the settings panels — prefer this\n * over wrapping Ricos with external CSS, because external CSS only reaches the\n * editable area, not the chrome. Pair `colorPalette` (broad colors) with\n * `customStyles` (per-element overrides) for full control.\n */\nexport interface RicosTheme {\n /**\n * Global color tokens shared across all plugins, toolbars, and settings panels.\n * @example\n * ```tsx\n * import { fromPlainText, pluginHashtag, RicosEditor } from '@wix/ricos';\n * import React from 'react';\n *\n * export default () => {\n * // @essential-start\n * return (\n * <div style={{ background: '#C9C9C9' }}>\n * <RicosEditor\n * initialContent={fromPlainText('This is a #hashtag, see it has a unique color.')}\n * placeholder=\"Type here!\"\n * theme={{\n * colorPalette: {\n * format: 'color',\n * bgColor: '#0E092B',\n * textColor: '#FFFFFF',\n * accent1: '#D6FF00',\n * },\n * }}\n * plugins={[pluginHashtag()]}\n * />\n * </div>\n * );\n * // @essential-end\n * };\n * ```\n */\n colorPalette?: RicosPalette;\n /** Typography tokens. `fontFamily` cascades to every text node unless a `customStyles.<element>.fontFamily` overrides it. */\n typography?: RicosTypography;\n /**\n * Per-element style overrides for headings, paragraphs, quotes, plugin cards, and the editor container itself.\n * @example\n * ```tsx\n * import { fromPlainText, RicosEditor } from '@wix/ricos';\n * import React from 'react';\n *\n * export default () => {\n * // @essential-start\n * const theme = {\n * customStyles: {\n * h2: {\n * fontFamily: 'Times',\n * fontSize: '26px',\n * color: 'orange',\n * fontStyle: 'italic',\n * textDecoration: 'underline',\n * },\n * h3: {\n * fontFamily: 'Tahoma',\n * fontSize: '20px',\n * color: 'purple',\n * textDecoration: 'none',\n * },\n * quote: {\n * lineHeight: '24px',\n * fontWeight: 'bold',\n * color: 'brown',\n * },\n * },\n * };\n *\n * return (\n * <RicosEditor\n * initialContent={fromPlainText('Apply heading 2 or 3 from the toolbar to see the styles.')}\n * placeholder=\"Type here!\"\n * theme={theme}\n * />\n * );\n * // @essential-end\n * };\n * ```\n */\n customStyles?: RicosCustomStyles;\n /** Style overrides for settings modals (z-index layering). Most fields are deprecated — only `modals` is supported going forward. */\n settingsStyles?: RicosSettingsStyles;\n /** React-Native-flavoured style overrides; only consumed when `useNativeStyles` is `true`. */\n nativeStyle?: RicosNativeStyles;\n /** When `true`, applies the Wix Studio default theme on top of the supplied values. */\n useWixStyles?: boolean;\n /** When `true`, switches the renderer to consume `nativeStyle` instead of CSS overrides — used by mobile builds. */\n useNativeStyles?: boolean;\n /**\n * Breakout layout: lets specific nodes flow beyond the content column to viewport edges.\n * `rule` is called once per node at layout time; return `'fullWidth'` for the chosen nodes\n * (typically images and galleries) and `'normal'` for everything else. `fullWidthPadding`\n * overrides `normalPadding` for the `'fullWidth'` case.\n */\n breakout?: {\n rule: ({ node }: { node: RicosDocumentNode }) => 'fullWidth' | 'normal';\n normalPadding: {\n start: CSSProperties['paddingInlineStart'];\n end: CSSProperties['paddingInlineEnd'];\n };\n fullWidthPadding?: {\n start: CSSProperties['paddingInlineStart'];\n end: CSSProperties['paddingInlineEnd'];\n };\n };\n}\n\n// ━━━ Copied types with RichContent → RicosDocument ━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nexport type OnContentChangeFunction = (content: RicosDocument) => void;\nexport type OnSelectionChangeFunction = (content: RicosDocument) => void;\n\n/**\n * Imperative API for controlling a mounted `RicosEditor`. Accessed via a\n * React ref — `const editorRef = useRef<RicosEditorType>(null)` — and read\n * inside event handlers (publish flows, programmatic content swaps,\n * focus/undo/redo controls). For UI that needs to react to editor state in\n * render — toolbar enable/disable, undo-stack indicators — prefer the\n * reactive hooks (`useToolbarProps`, `useUndoState`) over polling these\n * methods.\n */\nexport interface RicosEditorAPI {\n /** Focuses the editor. Optionally moves the cursor to `focusPosition`. */\n focus(focusPosition?: FocusPosition): void;\n /** Removes focus from the editor. */\n blur(): void;\n /** Undoes the last editor action. */\n undo(): void;\n /** Redoes the last undone action. */\n redo(): void;\n /** Returns the current content as a `RicosDocument`. Resolves after any pending async operations. */\n getContent(\n postId?: string,\n forPublish?: boolean,\n shouldRemoveErrorBlocks?: boolean\n ): Promise<RicosDocument>;\n /**\n * Returns a promise of the current content.\n * `publishId` — used for BI (`onPublish` event), set it when called before publishing.\n * `flush` — triggers editor blur to force pending changes (e.g., Android composition mode) before reading content.\n */\n getContentPromise(\n props: { flush?: boolean; publishId?: string } | undefined\n ): Promise<RicosDocument>;\n /** Returns content traits: whether the editor is empty, content has changed, and the last change was an edit. */\n getContentTraits(): { isEmpty: boolean; isContentChanged: boolean; isLastChangeEdit: boolean };\n /** Replaces the editor content. Imperative replacement for the removed `injectedContent` prop. */\n setContent(content: RicosDocument): void;\n /** Inserts the nodes at the cursor, replacing the selection if there is one. */\n insertContent(content: { nodes: RicosDocumentNode[] }): void;\n /**\n * @internal\n * @deprecated Reserved for internal Wix consumers (e.g. React Native app). General consumers\n * should use the top-level editor methods (`undo`, `redo`, `prePublish`) and reactive hooks\n * (`useToolbarProps`, `useUndoState`) instead — `PublicCommands` shape can change without warning.\n */\n getEditorCommands(): PublicCommands;\n /** Returns the DOM element wrapping the editor's content-editable, if mounted. */\n getEditorContainer(): HTMLElement | undefined;\n /** Opens a built-in modal (AI image generation, inline AI, keyboard shortcuts sheet, or AI widget). */\n openModal: (options: {\n type: 'AI_IMAGE' | 'INLINE_AI' | 'SHORTCUTS_SHEET' | 'AI_WIDGET';\n }) => void;\n /**\n * Subscribe to the reactive button list for a toolbar. Re-runs on selection\n * and content changes, so consumers rendering a custom toolbar stay in sync\n * automatically. Must be called inside a React component.\n *\n * @param type - which toolbar's buttons to read:\n * - `'text'` — text formatting buttons (bold, italic, link, headings, …)\n * - `'insert'` — insert-plugin buttons (image, video, divider, …)\n * - `'plugin'` — context-specific buttons for the currently-selected\n * plugin node or decoration. Empty list when nothing is\n * selected.\n * - `'auto'` — whichever of `'plugin'` / `'text'` is currently relevant\n * for the selection (plugin takes priority). Use this for\n * a single toolbar that adapts to context; consumers that\n * need to branch on which toolbar resolved should call\n * the specific variant directly.\n */\n useToolbarProps(type: UseToolbarPropsType): ToolbarPropsResult;\n /**\n * @internal Wixel-only. Combined toolbar buttons + focus signal for the wixel\n * asset-header. Shape may change without warning. Not for general consumers.\n */\n useToolbarWixelProps: () => {\n buttons: Record<string, ToolbarButtonProps>;\n toolbarType: ToolbarType;\n isEditorOrPortalFocused: () => boolean;\n };\n useInlineAiState: (invocationId: string) => unknown;\n /** Runs plugin pre-publish hooks (e.g. poll sync) and returns the content. */\n prePublish(): Promise<RicosDocument>;\n /** Reactive undo/redo state. Must be called inside a React component. */\n useUndoState: () => {\n isUndoStackEmpty: boolean;\n isRedoStackEmpty: boolean;\n };\n}\n\n/**\n * Programmatic commands for manipulating editor content, selection, and state.\n * Accessed via `editorRef.getEditorCommands()`.\n * @internal\n */\nexport interface PublicCommands {\n /**\n * @internal\n * Alpha API. Triggers the inline AI plugin's prompt flow programmatically.\n * Subject to change without warning — internal Wix consumers only.\n */\n triggerInlineAi: (args: {\n invocationId: string;\n prompt: string;\n headless: boolean;\n files?: { fileUrl: string; mimeType: string; fileName: string }[];\n traceParams?: Record<string, string>;\n }) => void;\n /** Returns the current editor content. */\n getContent: () => RicosDocument;\n /** Replaces the editor content. */\n setContent: (content: RicosDocument, options?: { skipHistory?: boolean }) => void;\n /** Returns the current selection state. */\n getSelection: () => any;\n /** Returns a slice of content corresponding to the current selection. */\n getSelectionSlice: () => any;\n /** Toggles AI suggestions visibility in the editor. */\n toggleAiSuggestions: (visible: boolean) => void;\n /** Returns blocks that can be targeted by anchor links. */\n getAnchorableBlocks: () => { anchorableBlocks: any[]; pluginsIncluded: string[] };\n /** Returns the document-level style configuration. */\n getDocumentStyle: () => any;\n /** Returns the active color of the given type (e.g., text color, highlight). */\n getColor: (colorType: any) => string | undefined;\n /** Returns the font size at the current cursor position. */\n getFontSize: () => string | undefined;\n /** Returns the font family at the current cursor position. */\n getFontFamily: () => string | undefined;\n /** Returns the text alignment at the current cursor position. */\n getTextAlignment: () => TextAlignment;\n /** Returns inline styles applied to the anchor block. */\n getAnchorBlockInlineStyles: () => Record<string, string>;\n /** Returns all inline styles in the current selection. */\n getInlineStylesInSelection: () => Record<string, string>;\n /** Checks if a specific inline style is active in the selection. */\n hasInlineStyle: (style: any) => boolean;\n /** Checks if a specific block type is selected. */\n isBlockTypeSelected: (type: any) => boolean;\n /** Returns `true` if there are no undo actions available. */\n isUndoStackEmpty: () => boolean;\n /** Returns `true` if there are no redo actions available. */\n isRedoStackEmpty: () => boolean;\n /** Checks if the current selection contains a link. */\n hasLinkInSelection: (options?: { inclusive?: boolean }) => boolean;\n /** Returns link data for the link in the current selection. */\n getLinkDataInSelection: (options?: { inclusive?: boolean }) => any;\n /** Selects a link decoration by its identifier. */\n selectLinkDecoration: (decoration: string, options?: { inclusive?: boolean }) => void;\n /** Returns data about the currently selected content. */\n getSelectedData: () => any;\n /** Returns a list of plugins present in the document. */\n getPluginsList: (settings?: { isRicosSchema?: boolean }) => any;\n /** Scrolls the editor viewport to a specific block. */\n scrollToBlock: (blockKey: string) => void;\n /** Checks if a block with the given key exists in the document. */\n isBlockInContent: (blockKey: string) => boolean;\n /** Toggles the overlay on a specific block (e.g., for selection highlight). */\n toggleBlockOverlay: (blockKey: string) => void;\n /** Returns the current block spacing configuration. */\n getBlockSpacing: () => any;\n /** Saves the current editor state for later restoration. */\n saveEditorState: () => void;\n /** Restores a previously saved editor state. */\n loadEditorState: () => void;\n /** Saves the current selection state for later restoration. */\n saveSelectionState: () => void;\n /** Restores a previously saved selection state. */\n loadSelectionState: () => void;\n /** Inserts a text decoration (e.g., link, color, bold) at the current selection. */\n insertDecoration: (type: string, data?: any, settings?: any) => void;\n /** Triggers an existing decoration (e.g., toggles bold). */\n triggerDecoration: (type: string) => void;\n /** Removes a decoration from the current selection. */\n deleteDecoration: (type: string) => void;\n /** Inserts multiple anchor decorations at once. */\n insertMultipleAnchors: (anchors: any[]) => void;\n /** Inserts a new block (plugin node) into the document. Returns the block key. */\n insertBlock: (type: string, data?: any, settings?: any) => string;\n /** Inserts a new block with blank lines before and after. Returns the block key. */\n insertBlockWithBlankLines: (type: string, data?: any, settings?: any) => string;\n /** Replaces a block's type and data. */\n setBlock: (blockKey: string, type: string, data?: any, settings?: any) => void;\n /** Updates a block's plugin data. Returns `true` if the block was found and updated. */\n updateBlock: (blockKey: string, pluginType: string, data: any) => boolean;\n /** Deletes a block from the document. */\n deleteBlock: (blockKey: string) => void;\n /** Undoes the last editor action. */\n undo: () => void;\n /** Redoes the last undone action. */\n redo: () => void;\n /** Toggles an inline style (e.g., bold, italic) on the current selection. */\n toggleInlineStyle: (inlineStyle: any) => void;\n /** Sets the block type at the current cursor position (e.g., heading, paragraph). */\n setBlockType: (type: any) => void;\n /** Sets the text alignment for the current block. */\n setTextAlignment: (textAlignment: TextAlignment) => void;\n /** @internal Sets the selection to a specific position in a block. */\n _setSelection: (blockKey: string, selection: any) => void;\n /** Resets document-level styles for a specific node type to defaults. */\n resetDocumentStyleByNodeType: (type: any) => void;\n /** Updates the document-level style configuration. */\n updateDocumentStyle: (documentStyle: any) => void;\n /** Clears all inline styles from selected blocks, optionally excluding specific styles. */\n clearSelectedBlocksInlineStyles: (exclude?: string[]) => void;\n /** Returns the wired (resolved) font styles from the theme. */\n getWiredFontStyles: () => Record<string, string> | undefined;\n /** Checks if an atomic (plugin) block is currently selected. */\n isAtomicBlockInSelection: () => boolean;\n /** Checks if a text block is currently selected. */\n isTextBlockInSelection: () => boolean;\n /** Returns the type of the block at the current cursor position. */\n getAnchorBlockType: () => string;\n /** Returns all block keys in the document. */\n getAllBlocksKeys: () => string[];\n /** Focuses the editor, optionally at a specific position. */\n focus: (focusPosition?: FocusPosition) => void;\n /** Returns the component data for a specific block. */\n getBlockComponentData: (blockKey: string) => any;\n /** Inserts text at the current cursor position. Returns `true` if successful. */\n insertText: (text: string, options?: { preventAutolink?: boolean }) => boolean;\n /** Returns the heading level at the current cursor position. */\n getCurrentHeading: () => any;\n /** Inserts a soft line break (shift+enter). */\n softNewLine: () => void;\n /** Clears all editor content. Set `triggerUpdate` to fire onChange. */\n clearEditorContent: (triggerUpdate: boolean) => void;\n}\n\nexport interface TiptapAdapter {\n getEditorCommands: RicosEditorAPI['getEditorCommands'];\n openModal: RicosEditorAPI['openModal'];\n focus: RicosEditorAPI['focus'];\n blur: RicosEditorAPI['blur'];\n tiptapEditor: any;\n getDocumentStyle: () => any;\n setTiptapContent: (content: any) => void;\n useToolbarProps: RicosEditorAPI['useToolbarProps'];\n useInlineAiState: RicosEditorAPI['useInlineAiState'];\n useUndoState: RicosEditorAPI['useUndoState'];\n}\n\n// ━━━ Component types ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nexport interface RicosEditorProps {\n // ── Editor-specific ────────────────────────────────────────────────────────\n /** Array of editor plugins to enable. Each plugin adds editing capabilities (e.g., image, video, table). */\n plugins?: EditorPluginOptions[];\n /** Fires only when document content changes (not on selection changes). */\n onChange?: OnContentChangeFunction;\n /** Fires when the selection/cursor position changes (including during edits). */\n onSelectionChange?: OnSelectionChangeFunction;\n /**\n * Placeholder text displayed when the editor is empty.\n * @example\n * ```tsx\n * import { RicosEditor } from '@wix/ricos';\n * import React from 'react';\n *\n * export default () => {\n * // @essential-start\n * return <RicosEditor placeholder={'Type here!'} />;\n * // @essential-end\n * };\n * ```\n */\n placeholder?: string;\n /**\n * Toolbars configuration — controls the text formatting toolbar, insert\n * plugin toolbars, plugin context toolbars and the quick-actions menu.\n */\n toolbars?: ToolbarsConfig;\n /** Callback fired when the editor transitions between busy and idle states (e.g., during media uploads). */\n onBusyChange?: (isBusy: boolean) => void;\n /** Maximum number of text characters allowed in the editor. When the limit is reached, further text input is ignored and paste actions are canceled if the result would exceed the limit. */\n maxTextLength?: number;\n /** A React component rendered as a side block alongside the editor content. Receives the block `id` as a prop. */\n sideBlockComponent?: FC<{ id: string }>;\n /** Custom commands to register with the editor. */\n commands?: any[];\n /** Settings for undo/redo history. */\n historySettings?: HistorySettings;\n /** Callback fired when the editor finishes loading and is ready for interaction. */\n onLoad?: (editor: any) => void;\n /** Controls initial cursor/focus position when the editor mounts. */\n autofocus?: FocusPosition;\n /** HTML element or factory function that returns the container element for rendering editor popovers and modals. */\n container?: HTMLElement | (() => HTMLElement | null);\n /** Initial content for the editor. Only used during initialization — not a controlled value. */\n initialContent?: RicosDocument;\n /** Custom keyboard shortcuts to register with the editor. */\n keyboardShortcuts?: any[];\n /** The placeholder to be displayed while the editor is loading. */\n loadingPlaceholder?: React.ReactNode;\n /**\n * Controls focus behavior when tabbing into the editor:\n * - `'edit'`: (default) Immediately enables typing when editor receives keyboard focus.\n * - `'container'`: Shows focus ring but requires Enter/key press to start editing.\n * @defaultValue 'edit'\n */\n tabFocusBehavior?: 'edit' | 'container';\n /** Unified color manager for sharing custom colors across all plugins. */\n colorManager?: ColorPaletteManager;\n modalSettings?: ModalSettings;\n /** Pick media implementation used by media-related plugins (e.g., image, gallery). */\n pickMedia?: _PublicPickMedia;\n /** Visitor upload settings used by file-upload-capable plugins. */\n visitorUploads?: _VisitorUploads;\n /** Maximum file size limit (in bytes) for uploads. */\n fileUploadSizeLimit?: number;\n /** HTML attributes applied to the editor's content-editable element. */\n htmlAttributes?: {\n autoCapitalize?: string;\n spellCheck?: boolean;\n autoComplete?: string;\n autoCorrect?: string;\n tabIndex?: number;\n ariaLabel?: string;\n };\n\n // ── Common ─────────────────────────────────────────────────────────────────\n /** When `true`, renders in mobile-optimized mode. */\n isMobile?: boolean;\n /** Link settings applied globally to all linkable plugins. */\n generalLinkSettings?: GeneralLinkSettings;\n /** Two-letter locale code (e.g., `'en'`, `'he'`). Determines the language and text direction of modals and settings. */\n locale?: string;\n /** Locale for content, when different from UI locale. If not defined, `locale` is used. */\n localeContent?: string;\n /** Callback fired when an error occurs in a Ricos component. */\n onError?: (error: string) => void;\n /** Theme configuration for colors, fonts, and custom styles. */\n theme?: RicosTheme;\n /** Default text alignment direction. */\n textAlignment?: TextAlignment;\n /** Callback fired when an atomic block (plugin) receives focus. */\n onAtomicBlockFocus?: onAtomicBlockFocus;\n /** Domain used to render UGC source code in an isolated sandboxed iframe. */\n iframeSandboxDomain?: string;\n /** When `true`, wraps text around left/right-aligned plugins. */\n textWrap?: boolean;\n /**\n * What responsive styles (narrow layouts, stacked columns, smaller paddings) respond to:\n * - `'container'`: (default) the editor or viewer width, through CSS container queries.\n * - `'viewport'`: the window width, through media queries. Ricos then declares no CSS\n * containers, so `cqw` units in host styles (such as site theme fonts) resolve against the\n * host's own containers.\n * @defaultValue 'container'\n */\n responsiveBehavior?: ResponsiveBehavior;\n /** Debug mode flags for enabling development-time diagnostics. */\n debugMode?: DebugMode[];\n /**\n * Theme variant to apply:\n * - `'businessManager'`: BM theme is applied and cannot be overridden.\n * - `'liveSite'`: liveSite theme is applied and can be overridden via `theme`.\n * @default 'liveSite'\n */\n environment?: Environment;\n /**\n * Base URL of the site, used to resolve page-relative URLs.\n * Used by links, buttons, gallery items, and vertical embeds to construct full hrefs\n * from relative paths (e.g., `/my-page` → `https://example.com/my-site/my-page`).\n *\n * If not provided, fetched automatically with `ricosSiteContext.getSiteUrl()` of `@wix/rich-content`.\n *\n * @example 'https://www.example.com/my-site'\n */\n baseUrl?: string;\n /** Business intelligence configuration for analytics and tracking. */\n biSettings?: BISettings;\n /**\n * Authenticated `WixClient` from `@wix/sdk`. When provided, takes priority over\n * `instance` for authorizing every request the editor makes (media uploads,\n * link previews, etc.). Use this in headless apps where you own the React tree.\n */\n wixClient?: WixClient;\n /**\n * Per-session Wix instance token. Used when no `wixClient` is provided — Ricos\n * builds an internal client from it. Typically set by Wix-served host pages.\n */\n instance?: string;\n /**\n * Metasite ID. Scopes storage and CDN traffic to the owning site when no\n * `wixClient` is given.\n */\n msid?: string;\n /**\n * When `true`, normalises rich content via `normalizeRicosDocument` before\n * rendering. Set to `false` to skip normalisation when content is already\n * known to be valid.\n * @default true\n */\n shouldNormalizeRichContent?: boolean;\n /** Media-upload, capture, and resolution settings shared across media plugins. */\n mediaSettings?: MediaSettings;\n /** @deprecated Use `generalLinkSettings` instead. */\n linkSettings?: LinkSettings;\n /**\n * Keep the editor's DOM alive across a transient React unmount instead of\n * tearing it down and rebuilding it on remount. Lets the host preserve editor\n * state (and avoid flicker) when the editor is briefly unmounted/remounted.\n * @default false\n */\n preserveDomOnUnmount?: boolean;\n /** @deprecated Not used at runtime. */\n experiments?: AvailableExperiments;\n}\n\n/** @deprecated Use RicosEditorProps */\nexport type WixRicosEditorProps = RicosEditorProps;\n/** @deprecated Use RicosTheme directly */\nexport type { RicosTheme as WixRicosTheme } from './ricos-types/next/index.js';\n\nexport interface RicosViewerProps {\n // ── Viewer-specific ────────────────────────────────────────────────────────\n /** Optional child element to render inside the viewer. */\n children?: React.ReactElement;\n /** Array of viewer plugins to enable. Each plugin adds rendering capabilities for specific content types. */\n plugins?: (ViewerPlugin | any)[];\n /** SEO settings for server-side rendering. When `true`, enables default SEO mode. */\n seoSettings?: boolean | any;\n /** When `true`, shows a floating toolbar when the user selects text in the viewer. */\n textSelectionToolbar?: boolean;\n /** The rich content to display. Required for the viewer to render anything. */\n content?: RicosDocument;\n /** When `true`, adds anchor elements to content blocks for deep linking. Pass a string to use as a prefix for generated anchor IDs. */\n addAnchors?: boolean | string;\n /** Callback fired when a user clicks on a content node in the viewer. */\n onNodeClick?: ({ node }: { node: any }) => void;\n /** When `true`, renders in jsdom-compatible mode for server-side rendering environments. */\n jsdomMode?: boolean;\n /** When `true`, renders in print-optimized mode (e.g., for `window.print()`). */\n isPrint?: boolean;\n /** Callback fired once, after the viewer first renders. Lazily loaded plugins may still be loading. */\n onLoad?: () => void;\n /**\n * Number of leading top-level nodes to treat as being in the first fold. Images among them\n * render their full-quality source during SSR, with a `srcset` and `fetchpriority=\"high\"`,\n * instead of the blurred placeholder that is only swapped for the real image after hydration.\n * Nested images (inside a card, table, collapsible list, etc.) never qualify.\n * @default 0 - every image keeps the placeholder behaviour\n */\n firstFoldNodeCount?: number;\n\n // ── Common ─────────────────────────────────────────────────────────────────\n /** When `true`, renders in mobile-optimized mode. */\n isMobile?: boolean;\n /** Link settings applied globally to all linkable plugins. */\n generalLinkSettings?: GeneralLinkSettings;\n /** Two-letter locale code (e.g., `'en'`, `'he'`). Determines the language and text direction of modals and settings. */\n locale?: string;\n /** Locale for content, when different from UI locale. If not defined, `locale` is used. */\n localeContent?: string;\n /** Callback fired when an error occurs in a Ricos component. */\n onError?: (error: string) => void;\n /** Theme configuration for colors, fonts, and custom styles. */\n theme?: RicosTheme;\n /** Default text alignment direction. */\n textAlignment?: TextAlignment;\n /** Callback fired when an atomic block (plugin) receives focus. */\n onAtomicBlockFocus?: onAtomicBlockFocus;\n /** Domain used to render UGC source code in an isolated sandboxed iframe. */\n iframeSandboxDomain?: string;\n /** When `true`, wraps text around left/right-aligned plugins. */\n textWrap?: boolean;\n /**\n * What responsive styles (narrow layouts, stacked columns, smaller paddings) respond to:\n * - `'container'`: (default) the editor or viewer width, through CSS container queries.\n * - `'viewport'`: the window width, through media queries. Ricos then declares no CSS\n * containers, so `cqw` units in host styles (such as site theme fonts) resolve against the\n * host's own containers.\n * @defaultValue 'container'\n */\n responsiveBehavior?: ResponsiveBehavior;\n /** Debug mode flags for enabling development-time diagnostics. */\n debugMode?: DebugMode[];\n /**\n * Theme variant to apply:\n * - `'businessManager'`: BM theme is applied and cannot be overridden.\n * - `'liveSite'`: liveSite theme is applied and can be overridden via `theme`.\n * @default 'liveSite'\n */\n environment?: Environment;\n /**\n * Base URL of the site, used to resolve page-relative URLs.\n * Must be provided explicitly. If missing, page links will render as relative paths without the site domain.\n *\n * @example 'https://www.example.com/my-site'\n */\n baseUrl?: string;\n /** Business intelligence configuration for analytics and tracking. */\n biSettings?: BISettings;\n /**\n * Authenticated `WixClient` from `@wix/sdk`. When provided, takes priority over\n * `instance` for authorizing every request the viewer makes. Use this in\n * headless apps where you own the React tree.\n */\n wixClient?: WixClient;\n /**\n * Per-session Wix instance token. Used when no `wixClient` is provided — Ricos\n * builds an internal client from it.\n */\n instance?: string;\n /**\n * Metasite ID. Scopes storage and CDN traffic to the owning site when no\n * `wixClient` is given.\n */\n msid?: string;\n /**\n * When `true`, normalises rich content via `normalizeRicosDocument` before\n * rendering. Set to `false` to skip normalisation when content is already\n * known to be valid.\n * @default true\n */\n shouldNormalizeRichContent?: boolean;\n /** Media-upload, capture, and resolution settings shared across media plugins. */\n mediaSettings?: MediaSettings;\n /** @deprecated Use `generalLinkSettings` instead. */\n linkSettings?: LinkSettings;\n /** @deprecated Not used at runtime. */\n experiments?: AvailableExperiments;\n}\n\n// ━━━ Components ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nexport const RicosEditor = _RicosEditor as unknown as React.ComponentType<\n RicosEditorProps & { ref?: React.Ref<RicosEditorAPI> }\n>;\n// Copied from editor types — uses our RicosEditorAPI and RicosEditorProps\nexport interface RicosEditorType extends Component<RicosEditorProps>, RicosEditorAPI {}\n\nexport { RicosViewer } from './ricos-viewer-next/index.js';\n\n// ━━━ RicosEditorApiContext (retyped against next RicosEditorAPI) ━━━━━━━━━━━━\n\n/**\n * Context for sharing the imperative `RicosEditorAPI` with descendants.\n * The wrapped `<RicosEditor>` self-registers into this slot on mount;\n * call `useRicosEditorApi()` inside any descendant to read it.\n *\n * **The provider must wrap exactly one `<RicosEditor>` underneath. Two or\n * more editors race on the shared slot — last to mount wins. Or the sky\n * will fall.**\n */\nexport const RicosEditorApiContext = _RicosEditorApiContext as unknown as {\n Provider: React.ComponentType<{\n value: {\n ricosEditorApi: RicosEditorAPI | null;\n setRicosEditorApi: (api: RicosEditorAPI | null) => void;\n };\n children: React.ReactNode;\n }>;\n displayName?: string;\n};\n\nexport const RicosEditorApiProvider = _RicosEditorApiProvider;\n\n/**\n * Returns the current `RicosEditorAPI` from the nearest `RicosEditorApiProvider`,\n * or `null` if no provider is mounted or the editor has not finished mounting.\n */\nexport const useRicosEditorApi: () => RicosEditorAPI | null =\n _useRicosEditorApi as unknown as () => RicosEditorAPI | null;\n\n/**\n * HOC that injects the current `RicosEditorAPI` (or `null`) as an `editor`\n * prop. Useful when migrating class components off the legacy\n * `withEditorContext` HOC.\n */\nexport const withRicosEditorApi = _withRicosEditorApi as unknown as <P extends object>(\n Component: React.ComponentType<P & { editor: RicosEditorAPI | null }>\n) => React.FC<P>;\n\n// ━━━ Content functions (override with RicosDocument) ━━━━━━━━━━━━━━━━━━━━━━━━\n\ntype ContentLimits = { nodeCount: number } | { wordCount: number } | { maxPlugins: number };\ntype MediaUrlResolvers = {\n image?: (fileId: string) => string;\n video?: (fileId: string) => string;\n thumbnail?: (fileId: string) => string;\n};\n\nexport const createEmptyContent: (metadata?: {\n version?: number;\n id?: string;\n createdTimestamp?: Date;\n updatedTimestamp?: Date;\n}) => RicosDocument = _createEmptyContent as any;\nexport const ensureContentId: (content?: RicosDocument) => RicosDocument = _ensureContentId as any;\nexport const fromPlainText: (text: string) => RicosDocument = _fromPlainText as any;\nexport const fromCKEditorHtml: (s: string, interceptorFn?: any) => RicosDocument =\n _fromCKEditorHtml as any;\nexport const fromRichTextHtml: (s: string, interceptor?: any) => RicosDocument =\n _fromRichTextHtml as any;\nexport const translateContent: (\n content: RicosDocument,\n translatables: Translatable[]\n) => RicosDocument = _translateContent as any;\nexport const truncateRichContent: (\n content: RicosDocument,\n limits: ContentLimits,\n options?: TruncateOptions\n) => RicosDocument = _truncateRichContent as any;\n/**\n * Truncate a `RicosDocument` by node count, word count, or plugin count, returning\n * the (possibly) truncated document and a flag indicating whether anything was cut.\n */\nexport const truncateContent: (\n content: RicosDocument,\n limits: { blocksCount?: number; wordsCount?: number; maxPlugins?: number },\n options?: TruncateOptions\n) => { content: RicosDocument; isTruncated: boolean } = _truncateContent as any;\nexport const getContentLength: (content: RicosDocument) => number = _getContentLength as any;\nexport const getMediaData: (\n content: RicosDocument,\n mediaUrlResolvers?: MediaUrlResolvers\n) => (ImageMedia | VideoMedia)[] = _getMediaData as any;\nexport const getPluginData: <T>(content: RicosDocument, type: RicosDocumentNodeType_Type) => T[] =\n _getPluginData as any;\nexport const getText: (content: RicosDocument) => string[] = _getText as any;\nexport const toHtml: (\n content: RicosDocumentNode[] | RicosDocument,\n interceptorFn?: any,\n separator?: string\n) => string = _toHtml as any;\nexport type InterceptorToHtml = (context: {\n node: RicosDocumentNode;\n result: string | string[];\n}) => string | string[];\nexport const toPlainText: (\n content: RicosDocument,\n options?: {\n urlShortener?: (url: string) => Promise<string>;\n getVideoUrl?: (fileId: string) => Promise<string>;\n getVideoEmbeddedUrl?: (url: string) => Promise<string>;\n getAudioUrl?: (fileId: string) => Promise<string>;\n getGifUrl?: (url: string) => Promise<string>;\n delimiter?: string;\n addLinksToText?: boolean;\n }\n) => Promise<string> = _toPlainText as any;\nexport const toPlainTextSync: (\n content: RicosDocument,\n options?: {\n urlShortener?: (url: string) => string;\n getVideoUrl?: (fileId: string) => string;\n getVideoEmbeddedUrl?: (url: string) => string;\n getAudioUrl?: (fileId: string) => string;\n getGifUrl?: (url: string) => string;\n delimiter?: string;\n addLinksToText?: boolean;\n }\n) => string = _toPlainTextSync as any;\nexport const toTranslatables: (content: Pick<RicosDocument, 'nodes'>) => Translatable[] =\n _toTranslatables as any;\n\n// oxlint-disable-next-line @typescript-oxlint/no-explicit-any\nexport function isRichContent(content: any): content is RicosDocument {\n return _isRichContent(content);\n}\nexport const isRichContentEmpty: (contentState: RicosDocument) => boolean =\n _isRichContentEmpty as any;\nexport const isRichContentEqual: (\n a: RicosDocument | undefined,\n b: RicosDocument | undefined\n) => boolean = _isRichContentEqual as any;\n\nexport const modify: (content: RicosDocument) => {\n filter: (predicate: (node: RicosDocumentNode) => boolean) => {\n filter: (predicate: (node: RicosDocumentNode) => boolean) => any;\n set: (\n setter: (node: RicosDocumentNode) => RicosDocumentNode | RicosDocumentNode[]\n ) => RicosDocument;\n };\n set: (\n setter: (node: RicosDocumentNode) => RicosDocumentNode | RicosDocumentNode[]\n ) => RicosDocument;\n} = _modify as any;\n\n// Re-export y-adapter directly so the CJS emit produces a pure `__export`\n// getter (`() => require(\"./plugin-collab/y-adapter.js\").readYXmlFragment`)\n// instead of a module-scope `const readYXmlFragment = …` assignment. The\n// standalone assignment would load yjs + lib0 at module-init time, which\n// breaks Jest consumers that can't transform lib0's ESM source. Typing\n// already matches: y-adapter declares these against `RichContent`, which is\n// the RicosDocument alias re-exported from `next-schema`.\nexport {\n readYXmlFragment,\n writeYXmlFragment,\n patchYXmlFragment,\n type PatchYXmlFragmentResult,\n} from './plugin-collab/y-adapter.js';\n\n// ━━━ Content utilities (no RichContent in signatures) ━━━━━━━━━━━━━━━━━━━━━━━\n\nexport {\n ACTION_BUTTON_TYPE,\n AUDIO_TYPE,\n CODE_BLOCK_TYPE,\n COLLAPSIBLE_LIST_TYPE,\n compare,\n createContent,\n DIVIDER_TYPE,\n EMBED_TYPE,\n EMOJI_TYPE,\n EXTERNAL_MENTIONS_TYPE,\n FILE_UPLOAD_TYPE,\n GALLERY_TYPE,\n getTextDirection,\n GIPHY_TYPE,\n HASHTAG_TYPE,\n HEADINGS_DROPDOWN_TYPE,\n HTML_TYPE,\n IMAGE_TYPE,\n type ImageMedia,\n INDENT_TYPE,\n isContentStateEmpty,\n LINE_SPACING_TYPE,\n LINK_BUTTON_TYPE,\n LINK_PREVIEW_TYPE,\n LINK_TYPE,\n MENTION_TYPE,\n POLL_TYPE,\n RICOS_ANCHOR_TYPE,\n RICOS_CAPTION_TYPE,\n RICOS_DIVIDER_TYPE,\n RICOS_FILE_TYPE,\n RICOS_GALLERY_TYPE,\n RICOS_GIPHY_TYPE,\n RICOS_IMAGE_TYPE,\n RICOS_LINK_BUTTON_TYPE,\n RICOS_LINK_PREVIEW_TYPE,\n RICOS_LINK_TYPE,\n RICOS_MENTION_TYPE,\n RICOS_POLL_TYPE,\n RICOS_SHAPE_TYPE,\n RICOS_VERTICAL_EMBED_TYPE,\n RICOS_VIDEO_TYPE,\n SHAPE_TYPE,\n SPOILER_TYPE,\n TABLE_TYPE,\n TOC_TYPE,\n TEXT_COLOR_TYPE,\n TEXT_HIGHLIGHT_TYPE,\n TIPTAP_SHAPE_TYPE,\n Version,\n VERTICAL_EMBED_TYPE,\n VIDEO_TYPE,\n type VideoMedia,\n} from './ricos-content/index.js';\n\nexport type ListItemData = {\n text: _TextData[];\n data: _ParagraphData;\n};\n\nexport { extractMedia } from './ricos-content/lib/extract-media.js';\n\nexport type { Extractor } from './ricos-content/extractor-infra.js';\nexport const extract: (\n nodes: RicosDocumentNode | RicosDocumentNode[]\n) => Extractor<RicosDocumentNode> = _extract as any;\nexport const createParagraphNode: (\n nodes?: RicosDocumentNode[],\n data?: _ParagraphData,\n style?: _NodeStyle\n) => RicosDocumentNode = _createParagraphNode as any;\nexport const createTextNode: (text: string, decorations?: Decoration[]) => RicosDocumentNode =\n _createTextNode as any;\nexport const initializeMetadata: (metadata?: {\n version?: number;\n id?: string;\n createdTimestamp?: Date;\n updatedTimestamp?: Date;\n}) => _Metadata = _initializeMetadata as any;\n\n/**\n * Imperative content builder. Each `add*` method returns a `RicosDocument` whose `nodes`\n * include the newly-added node(s). Pass a `generateId` callback to produce unique node IDs.\n */\nexport type RicosContentBuilder = {\n [K in keyof _ContentBuilder]: _ContentBuilder[K] extends (arg: infer A) => unknown\n ? (arg: A) => RicosDocument\n : _ContentBuilder[K];\n};\nexport const setupContentBuilder: (generateId: () => string) => RicosContentBuilder =\n _setupContentBuilder as any;\n/** Context passed to `getCountableNodes` filter fn — the node's ancestors and previous sibling at visit time. */\nexport type NodeFilterContext = {\n parents: RicosDocumentNode[];\n previousSibling: RicosDocumentNode | undefined;\n};\nexport const getCountableNodes: (\n filterFn: (node: RicosDocumentNode, context: NodeFilterContext) => boolean\n) => (container: RicosDocumentNode | RicosDocument) => RicosDocumentNode[] =\n _getCountableNodes as any;\n\n// ━━━ Non-content utilities ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nexport { type BISettings } from './ricos-common/ricos-types.js';\nexport { extractUoUParams } from './_shared/extract-uou-params.js';\nexport { parseInstance } from './_shared/request-service-provider/parse-instance.js';\n\n/**\n * Returns a default `Link` shaped for `/next`. Same runtime as the legacy\n * `getInitialLinkData`; the loose return type defers to the consumer's\n * destination shape (typically `ButtonData['link']`).\n */\nexport const getInitialLinkData: (options?: {\n target?: string;\n nofollow?: boolean;\n sponsored?: boolean;\n noreferrer?: boolean;\n}) => any = _getInitialLinkData as any;\nexport { resolveFileUrl } from './ricos-media/index.js';\nexport const getAnchorableNodesQuery: (\n contentExtractor: Extractor<RicosDocumentNode>,\n selectedNodeId: any\n) => RicosDocumentNode[] = _getAnchorableNodesQuery as any;\n/** @deprecated Legacy ProGallery-shaped item converter. Kept for existing consumers; avoid in new code. */\nexport const convertItemData: (args: {\n items: _GalleryData_Item[];\n nodeId?: string;\n relValue?: string;\n anchorTarget?: string;\n baseUrl?: string;\n}) => any[] = _convertItemData as any;\nexport { getAbsoluteUrl } from './_shared/media/get-absolute-url.js';\nexport { PLUGIN_TOOLBAR_BUTTON_ID } from './_shared/plugin-toolbar/plugin-toolbar-buttons-ids.js';\nexport { quickStartViewerPlugins } from './_shared/quick-start-viewer-plugins/quick-start-viewer-plugins.js';\nexport { generateKey, isHexColor } from './wix-rich-content-common/index.js';\nexport { Tooltip, type TooltipPlace, type TooltipProps } from './_shared/tooltip/tooltip.js';\nexport {\n RicosWidget,\n type RicosWidgetProps,\n} from './ui-components/wixel-assistant/ricos-assistant-widget.js';\n\n// ━━━ Editor events ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\nexport {\n BUTTON_TYPES,\n FORMATTING_BUTTONS,\n INSERT_PLUGIN_BUTTONS,\n} from './editor-common/index.js';\n\n// ━━━ Plugins ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\n\n// Deprecated color callback props — stripped from plugin configs in next.\n// Consumers should use the top-level `colorManager` prop instead.\ntype _DeprecatedColorCallbacks =\n | 'onColorAdded'\n | 'getUserColors'\n | 'onTextColorAdded'\n | 'onBackgroundColorAdded'\n | 'onBorderColorAdded'\n | 'getTextColors'\n | 'getBorderColors'\n | 'getBackgroundColors'\n | 'onTitleColorAdded'\n | 'onSubtitleColorAdded'\n | 'onLinkColorAdded'\n | 'getTitleColors'\n | 'getSubtitleColors'\n | 'getLinkColors';\ntype _PluginFactory<C extends { type: string }> = (config?: Omit<C, 'type'>) => C;\ntype _Clean<T> = Omit<T, _DeprecatedColorCallbacks>;\n\nexport { pluginAiSuggestions } from './plugin-ai-suggestions/options.js';\nexport { pluginBlockDragHandle } from './plugin-block-drag-handle/options.js';\nexport type { BlockDragHandlePluginEditorConfig } from './plugin-block-drag-handle/types.js';\nexport { pluginCollab } from './plugin-collab/options.js';\nexport { pluginAi } from './plugin-ai/index.js';\nexport type { AiGeneratedImage, AiImageGeneration } from './plugin-ai/types.js';\n/** The available audio source button types for the toolbar insert menu. */\nexport { audioButtonsTypes } from './plugin-audio/index.js';\n/** Audio source button type: `'audio'` (file upload), `'soundCloud'`, or `'spotify'`. */\nexport type AudioButton = 'audio' | 'soundCloud' | 'spotify';\n/** Configuration for the Audio editor plugin. Pass to `pluginAudio()`. */\nexport interface AudioPluginEditorConfig {\n /**\n * Controls which audio source buttons appear in the toolbar insert menu.\n * By default, only the file-upload (`'audio'`) button is shown.\n * Add `'soundCloud'` and `'spotify'` to enable embedding from those services.\n * @defaultValue `['audio']`\n */\n exposeButtons?: AudioButton[];\n /**\n * When `true`, disables the download button on newly inserted audio blocks.\n * @defaultValue true\n */\n disableDownload?: boolean;\n /**\n * Resolves an audio file ID to a full playback URL.\n * Called when rendering audio nodes that store a relative source (e.g. Wix Media).\n * If not provided, a default Wix Media resolver is used.\n */\n getAudioUrl?: (src: { id: string }) => string;\n}\n/** Configuration for the Audio viewer plugin. Pass to `pluginAudioViewer()`. */\nexport interface AudioPluginViewerConfig {\n /**\n * Resolves an audio file ID to a full playback URL.\n * Called when rendering audio nodes that store a relative source (e.g. Wix Media).\n * If not provided, a default Wix Media resolver is used.\n */\n getAudioUrl?: (src: { id: string }) => string;\n}\n\ntype _ViewerPluginFactory<C = any> = (config?: C) => ViewerPlugin;\n\nexport const pluginAudio: (config?: AudioPluginEditorConfig) => _AudioConfig = _pluginAudio as any;\nexport const pluginAudioViewer: _ViewerPluginFactory<AudioPluginViewerConfig> =\n _pluginAudioViewer as any;\nexport type LinkButtonPluginEditorConfig = _Clean<_LinkButtonConfig>;\nexport const pluginLinkButton: _PluginFactory<_Clean<_LinkButtonConfig>> = _pluginLinkButton as any;\nexport const pluginActionButton: _PluginFactory<_Clean<_ActionButtonConfig>> =\n _pluginActionButton as any;\nexport const pluginActionButtonViewer: _ViewerPluginFactory<_ActionButtonViewerConfig> =\n _pluginActionButtonViewer as any;\n\n/**\n * Configuration for the Paywall editor plugin. Opt-in: without `getTemplate` the plugin\n * registers its rules with nothing to offer.\n */\nexport type PaywallPluginEditorConfig = _Clean<_PaywallConfig>;\nexport type { PaywallToolbarButton, PaywallToolbarContext };\nexport const pluginPaywallViewer: _ViewerPluginFactory<_PaywallViewerConfig> =\n _pluginPaywallViewer as any;\n\nexport const pluginPaywall: _PluginFactory<_Clean<_PaywallConfig>> = _pluginPaywall as any;\nexport const pluginLinkButtonViewer: _ViewerPluginFactory = _pluginLinkButtonViewer as any;\n/**\n * Configuration for the Code Block editor plugin. Currently has no options — pass none.\n *\n * Note: There is no `pluginCodeBlockViewer` — code blocks render natively without a viewer plugin.\n */\nexport interface CodeBlockPluginEditorConfig {}\nexport { pluginCodeBlock } from './plugin-code-block/index.js';\nexport const pluginCodeBlockViewer: _ViewerPluginFactory = _pluginCodeBlockViewer as any;\nexport type { CollapsibleListComponentData } from './plugin-collapsible-list/types-next.js';\nexport { pluginCollapsibleList } from './plugin-collapsible-list/index.js';\nexport const pluginCollapsibleListViewer: _ViewerPluginFactory =\n _pluginCollapsibleListViewer as any;\n/** Configuration for the Divider editor plugin. Currently has no options — pass none. */\nexport interface DividerPluginEditorConfig {}\n/** Configuration for the Divider viewer plugin. Currently has no options — pass none. */\nexport interface DividerPluginViewerConfig {}\nexport { DIVIDER_BUTTONS } from './plugin-divider/index.js';\nexport const pluginDivider: (config?: DividerPluginEditorConfig) => _DividerConfig =\n _pluginDivider as any;\nexport const pluginDividerViewer: _ViewerPluginFactory<DividerPluginViewerConfig> =\n _pluginDividerViewer as any;\n/**\n * Configuration for the Emoji editor plugin. Currently has no options — pass none.\n *\n * Note: There is no corresponding `pluginEmojiViewer` — emojis are stored as plain Unicode\n * text in the document and render naturally without any viewer plugin.\n */\nexport interface EmojiPluginEditorConfig {}\nexport const pluginEmoji: (config?: EmojiPluginEditorConfig) => _EmojiConfig = _pluginEmoji as any;\nexport const pluginEmojiViewer: _ViewerPluginFactory = _pluginEmojiViewer as any;\nexport {\n type FilePluginEditorConfig,\n pluginFileUpload,\n} from './plugin-file-upload/index.js';\nexport {\n fileExtensionToType,\n FileTypes,\n} from './plugin-file-upload/lib/file-extension-to-type.js';\nexport const pluginFileUploadViewer: _ViewerPluginFactory = _pluginFileUploadViewer as any;\nexport { pluginFontFamily } from './plugin-font-family/index.js';\nexport const pluginFontFamilyViewer: _ViewerPluginFactory = _pluginFontFamilyViewer as any;\nexport {\n type GalleryPluginEditorConfig,\n pluginGallery,\n} from './plugin-gallery/index.js';\nexport const pluginGalleryViewer: _ViewerPluginFactory<_GalleryViewerConfig> =\n _pluginGalleryViewer as any;\n/** Configuration for the Giphy editor plugin. Pass to `pluginGiphy()`. */\nexport interface GiphyPluginEditorConfig {\n /**\n * Override the Giphy proxy URL. Called with `'search'` or `'trending'` to get the endpoint URL\n * for the corresponding Giphy API operation. Return `undefined` to fall back to the default proxy.\n *\n * @example\n * getGiphyUrl: (path) => `https://my-proxy.com/giphy/${path}`\n */\n getGiphyUrl?: (path: 'search' | 'trending') => string | undefined;\n}\n/** Configuration for the Giphy viewer plugin. Currently has no options — pass none. */\nexport interface GiphyPluginViewerConfig {}\nexport const pluginGiphy: (config?: GiphyPluginEditorConfig) => _GiphyConfig = _pluginGiphy as any;\nexport const pluginGiphyViewer: _ViewerPluginFactory = _pluginGiphyViewer as any;\n/** Configuration for the Hashtag editor plugin. Currently has no options — pass none. */\nexport interface HashtagPluginEditorConfig {}\n/** Configuration for the Hashtag viewer plugin. Pass to `pluginHashtagViewer()`. */\nexport interface HashtagPluginViewerConfig {\n /**\n * Converts hashtag text to a URL. When provided, hashtags are rendered as anchor links.\n * Receives the hashtag text without the `#` prefix.\n *\n * @example\n * createHref: (text) => `/search?q=${encodeURIComponent('#' + text)}`\n */\n createHref?: (text: string) => string;\n /**\n * Callback fired when a user clicks (or presses Enter/Space on) a hashtag in the viewer.\n * Receives the click event and the hashtag text.\n */\n onClick?: (\n event: React.MouseEvent<HTMLElement> | React.KeyboardEvent<HTMLElement>,\n text: string\n ) => void;\n}\nexport const pluginHashtag: (config?: HashtagPluginEditorConfig) => _HashtagConfig =\n _pluginHashtag as any;\nexport const pluginHashtagViewer: _ViewerPluginFactory<HashtagPluginViewerConfig> =\n _pluginHashtagViewer as any;\n/** Heading levels that can appear in the headings dropdown. `'P'` represents paragraph (no heading). */\nexport type HeadingType = 'P' | 'H1' | 'H2' | 'H3' | 'H4' | 'H5' | 'H6';\n/** Configuration for the Headings editor plugin. Pass to `pluginHeadings()`. */\nexport interface HeadingsPluginEditorConfig {\n /**\n * Restricts which heading levels appear in the headings dropdown.\n * @defaultValue All headings are shown: `['H1', 'H2', 'H3', 'H4', 'H5', 'H6', 'P']`\n */\n customHeadings?: HeadingType[];\n /**\n * When `true`, each heading entry in the dropdown shows a preview of its current\n * font size and family (resolved from the theme), and clicking opens a sub-panel\n * for in-content style customization.\n * @defaultValue false\n */\n allowHeadingCustomization?: boolean;\n}\nexport const pluginHeadings: (config?: HeadingsPluginEditorConfig) => _HeadingsConfig =\n _pluginHeadings as any;\nexport { htmlButtonsTypes, pluginHtml } from './plugin-html/index.js';\nexport const pluginHtmlViewer: _ViewerPluginFactory = _pluginHtmlViewer as any;\nexport const pluginImage: _PluginFactory<_Clean<_ImageConfig>> = _pluginImage as any;\nexport const pluginImageViewer: _ViewerPluginFactory = _pluginImageViewer as any;\nexport { pluginIndent } from './plugin-indent/index.js';\nexport const pluginIndentViewer: _ViewerPluginFactory = _pluginIndentViewer as any;\nexport type { AnimationPluginEditorConfig } from './plugin-animation/index.js';\nexport { pluginAnimation } from './plugin-animation/index.js';\nexport type { AnimationPluginViewerConfig } from './plugin-animation/viewer.js';\nexport const pluginAnimationViewer: _ViewerPluginFactory<_AnimationViewerConfig> =\n _pluginAnimationViewer as _ViewerPluginFactory<_AnimationViewerConfig>;\nexport { pluginInlineAi } from './plugin-inline-ai/index.js';\nexport { pluginLineSpacing } from './plugin-line-spacing/index.js';\nexport const pluginLineSpacingViewer: _ViewerPluginFactory = _pluginLineSpacingViewer as any;\nexport { pluginLink } from './plugin-link/index.js';\nexport const pluginLinkViewer: _ViewerPluginFactory = _pluginLinkViewer as any;\nexport { LinkPreviewProviders } from './plugin-link-preview/index.js';\nexport type LinkPreviewPluginEditorConfig = _Clean<_LinkPreviewConfig>;\nexport const pluginLinkPreview: _PluginFactory<_Clean<_LinkPreviewConfig>> =\n _pluginLinkPreview as any;\nexport const pluginLinkPreviewViewer: _ViewerPluginFactory = _pluginLinkPreviewViewer as any;\nexport {\n type MentionsPluginEditorConfig,\n pluginMentions,\n} from './plugin-mentions/index.js';\nexport const pluginMentionsViewer: _ViewerPluginFactory = _pluginMentionsViewer as any;\nexport { pluginShape, SHAPE_RICOS_DEFAULTS } from './plugin-shape/index.js';\nexport const pluginShapeViewer: _ViewerPluginFactory = _pluginShapeViewer as any;\nexport { pluginSmartBlock } from './plugin-smart-block/index.js';\nexport const pluginSmartBlockViewer: _ViewerPluginFactory = _pluginSmartBlockViewer as any;\nexport {\n pluginSlot,\n SLOT_TYPE,\n type ResolvedSlotDesign,\n type SlotAddButton,\n type SlotColorPickerOptions,\n type SlotContext,\n type SlotDataPatch,\n type SlotDesignPatch,\n type SlotEditorComponentProps,\n type SlotEditorIntegration,\n type SlotErrorContext,\n type SlotErrorHandler,\n type SlotPanelConfig,\n type SlotPanelPositioning,\n type SlotToolbarButton,\n type SlotToolbarContext,\n type SlotViewerComponentProps,\n type SlotViewerIntegration,\n} from './plugin-slot/index.js';\nexport const pluginSlotViewer: _ViewerPluginFactory<SlotPluginViewerConfig> =\n _pluginSlotViewer as any;\nexport {\n pluginPoll,\n type PollPluginEditorConfig,\n} from './plugin-social-polls/index.js';\nexport const pluginPollViewer: _ViewerPluginFactory = _pluginPollViewer as any;\n/** Configuration for the Spoiler editor plugin. Currently has no options — pass none. */\nexport interface SpoilerPluginEditorConfig {}\n/** Configuration for the Spoiler viewer plugin. Currently has no options — pass none. */\nexport interface SpoilerPluginViewerConfig {}\nexport { pluginSpoiler, SpoilerEditorWrapper } from './plugin-spoiler/index.js';\nexport const initSpoilersContentState = _initSpoilersContentState;\nexport const pluginSpoilerViewer: _ViewerPluginFactory = _pluginSpoilerViewer as any;\nexport const SpoilerViewerWrapper = _SpoilerViewerWrapper;\n/** Configuration for the Table editor plugin. Currently has no options — pass none. */\nexport interface TablePluginEditorConfig {}\n/** Configuration for the Table viewer plugin. Currently has no options — pass none. */\nexport interface TablePluginViewerConfig {}\nexport { TABLE_BUTTONS } from './plugin-table/index.js';\nexport const pluginTable: (config?: TablePluginEditorConfig) => _TableConfig = _pluginTable as any;\nexport const pluginTableViewer: _ViewerPluginFactory<TablePluginViewerConfig> =\n _pluginTableViewer as any;\nexport { pluginToc } from './plugin-toc/index.js';\nexport const pluginTocViewer: _ViewerPluginFactory = _pluginTocViewer as any;\nexport const pluginTextColor: _PluginFactory<_Clean<_TextColorConfig>> = _pluginTextColor as any;\nexport const pluginTextHighlight: _PluginFactory<_Clean<_TextHighlightConfig>> =\n _pluginTextHighlight as any;\nexport const pluginTextColorViewer: _ViewerPluginFactory = _pluginTextColorViewer as any;\nexport const pluginTextHighlightViewer: _ViewerPluginFactory = _pluginTextHighlightViewer as any;\nexport {\n pluginVerticalEmbed,\n verticalEmbedProviders,\n} from './plugin-vertical-embed/index.js';\nexport const pluginVerticalEmbedViewer: _ViewerPluginFactory = _pluginVerticalEmbedViewer as any;\nexport {\n pluginVideo,\n videoButtonsTypes,\n type VideoPluginEditorConfig,\n} from './plugin-video/index.js';\nexport const pluginVideoViewer: _ViewerPluginFactory = _pluginVideoViewer as any;\nexport {\n TextSelectionToolbar,\n TwitterButton,\n} from './text-selection-toolbar/index.js';\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,mCAGO;AACP,4BAKO;AAEP,iCAAoE;AAEpE,2BAGO;AACP,iCAGO;AACP,qBAA4D;AAC5D,wBAGO;AACP,kCAA0D;AAC1D,qBAAoC;AACpC,gCAAsD;AACtD,mCAA0D;AAC1D,4BAAoD;AACpD,oBAAkC;AAClC,wBAIO;AACP,oCAIO;AACP,gCAAoD;AACpD,uBAGO;AACP,8BAGO;AACP,mCAA4D;AAE5D,4BAA8C;AAyC9C,mCAA0D;AAE1D,sCAKO;AACP,oBAAgE;AAEhE,0BAGO;AAEP,IAAAA,iBAGO;AACP,2BAGO;AAMP,IAAAA,iBAGO;AACP,IAAAA,iBAA0D;AAC1D,IAAAA,iBAAsE;AACtE,4BAGO;AACP,IAAAA,iBAGO;AACP,0BAGO;AACP,IAAAA,iBAAkD;AAClD,IAAAA,iBAA4D;AAC5D,IAAAA,iBAA4D;AAC5D,sCAAoD;AAEpD,IAAAA,kBAAsD;AACtD,0BAGO;AACP,IAAAA,kBAAkD;AAClD,4BAGO;AACP,IAAAA,kBAGO;AACP,6BAGO;AACP,IAAAA,kBAAgD;AAChD,0BAA4C;AAE5C,IAAAA,kBAAkD;AAClD,IAAAA,kBAAoD;AACpD,IAAAA,kBAA8D;AAC9D,iCAAwD;AAExD,IAAAA,kBAA8D;AAC9D,IAAAA,kBAAgD;AAChD,IAAAA,kBAAwD;AACxD,IAAAA,kBAAkD;AAElD,IAAAA,kBAAgD;AAChD,IAAAA,kBAA4D;AAC5D,IAAAA,kBAAgD;AAChD,IAAAA,kBAIO;AACP,0BAGO;AACP,IAAAA,kBAGO;AACP,+BAGO;AAKP,IAAAA,kBAGO;AACP,IAAAA,kBAA8C;AAC9C,IAAAA,kBAAkE;AAClE,IAAAA,kBAAkD;AAElD,0BAA4C;AA4C5C,kBAuCO;AAEP,IAAAC,eA4EO;AA2oBP,+BAA4B;AA2J5B,uBAKO;AAIP,IAAAC,wBAsDO;AAOP,2BAA6B;AA4C7B,gCAAiC;AACjC,4BAA8B;AAa9B,yBAA+B;AAa/B,8BAA+B;AAC/B,wCAAyC;AACzC,wCAAwC;AACxC,qCAAwC;AACxC,qBAA8D;AAC9D,oCAGO;AAIP,2BAIO;AAwBP,qBAAoC;AACpC,IAAAC,kBAAsC;AAEtC,IAAAA,kBAA6B;AAC7B,uBAAyB;AAGzB,IAAAC,uBAAkC;AA+DlC,+BAAgC;AAGhC,qCAAsC;AAOtC,IAAAC,yBAAgC;AAchC,gCAGO;AACP,oCAGO;AAEP,gCAAiC;AAEjC,4BAGO;AA8DP,yBAA6C;AAI7C,2BAA6B;AAG7B,8BAAgC;AAIhC,8BAA+B;AAC/B,iCAAkC;AAElC,yBAA2B;AAE3B,IAAAC,8BAAqC;AAKrC,6BAGO;AAEP,0BAAkD;AAElD,gCAAiC;AAEjC,yBAmBO;AAGP,iCAGO;AAMP,4BAAoD;AAQpD,IAAAC,uBAA8B;AAI9B,wBAA0B;AAO1B,mCAGO;AAEP,0BAIO;AAEP,oCAGO;AA9lBA,MAAM,cAAc,oBAAAC;AAmBpB,MAAM,wBAAwB,gCAAAC;AAW9B,MAAM,yBAAyB,gCAAAC;AAM/B,MAAM,oBACX,gCAAAC;AAOK,MAAM,qBAAqB,gCAAAC;AAa3B,MAAM,qBAKS,4BAAAC;AACf,MAAM,kBAA8D,sBAAAC;AACpE,MAAM,gBAAiD,kBAAAC;AACvD,MAAM,mBACX,8BAAAC;AACK,MAAM,mBACX,8BAAAC;AACK,MAAM,mBAGQ,iBAAAC;AACd,MAAM,sBAIQ,6BAAAC;AAKd,MAAM,kBAI2C,wBAAAC;AACjD,MAAM,mBAAuD,0BAAAC;AAC7D,MAAM,eAGsB,sBAAAC;AAC5B,MAAM,gBACX,2BAAAC;AACK,MAAM,UAAgD,2BAAAC;AACtD,MAAM,SAIC,8BAAAC;AAKP,MAAM,cAWU,kBAAAC;AAChB,MAAM,kBAWC,0BAAAC;AACP,MAAM,kBACX,iBAAAC;AAGK,SAAS,cAAc,SAAwC;AACpE,aAAO,qBAAAC,eAAe,OAAO;AAC/B;AACO,MAAM,qBACX,qBAAAC;AACK,MAAM,qBAGE,6BAAAC;AAER,MAAM,SAUT,cAAAC;AAkFG,MAAM,UAEuB,eAAAC;AAC7B,MAAM,sBAIY,kBAAAC;AAClB,MAAM,iBACX,kBAAAC;AACK,MAAM,qBAKK,kBAAAC;AAWX,MAAM,sBACX,eAAAC;AAMK,MAAM,oBAGX,wBAAAC;AAaK,MAAM,qBAKD,6BAAAC;AAEL,MAAM,0BAGc,2BAAAC;AAEpB,MAAM,kBAMC,gCAAAC;AAoFP,MAAM,cAAkE,oBAAAC;AACxE,MAAM,oBACX,eAAAC;AAEK,MAAM,mBAA8D,qBAAAC;AACpE,MAAM,qBACX,qBAAAC;AACK,MAAM,2BACX,eAAAC;AAQK,MAAM,sBACX,6BAAAC;AAEK,MAAM,gBAAwD,sBAAAC;AAC9D,MAAM,yBAA+C,eAAAC;AAQrD,MAAM,wBAA8C,eAAAC;AAGpD,MAAM,8BACX,eAAAC;AAMK,MAAM,gBACX,sBAAAC;AACK,MAAM,sBACX,eAAAC;AAQK,MAAM,cAAkE,oBAAAC;AACxE,MAAM,oBAA0C,eAAAC;AAShD,MAAM,yBAA+C,eAAAC;AAErD,MAAM,yBAA+C,eAAAC;AAKrD,MAAM,sBACX,gBAAAC;AAcK,MAAM,cAAkE,oBAAAC;AACxE,MAAM,oBAA0C,gBAAAC;AAsBhD,MAAM,gBACX,sBAAAC;AACK,MAAM,sBACX,gBAAAC;AAkBK,MAAM,iBACX,uBAAAC;AAEK,MAAM,mBAAyC,gBAAAC;AAC/C,MAAM,cAAoD,oBAAAC;AAC1D,MAAM,oBAA0C,gBAAAC;AAEhD,MAAM,qBAA2C,gBAAAC;AAIjD,MAAM,wBACX,cAAAC;AAGK,MAAM,0BAAgD,gBAAAC;AAEtD,MAAM,mBAAyC,gBAAAC;AAG/C,MAAM,oBACX,2BAAAC;AACK,MAAM,0BAAgD,gBAAAC;AAKtD,MAAM,uBAA6C,gBAAAC;AAEnD,MAAM,oBAA0C,gBAAAC;AAEhD,MAAM,yBAA+C,gBAAAC;AAqBrD,MAAM,mBACX,gBAAAC;AAKK,MAAM,mBAAyC,gBAAAC;AAM/C,MAAM,2BAA2B,gBAAAC;AACjC,MAAM,sBAA4C,gBAAAC;AAClD,MAAM,uBAAuB,gBAAAC;AAM7B,MAAM,cAAkE,oBAAAC;AACxE,MAAM,oBACX,gBAAAC;AAEK,MAAM,kBAAwC,gBAAAC;AAC9C,MAAM,kBAA4D,yBAAAC;AAClE,MAAM,sBACX,yBAAAC;AACK,MAAM,wBAA8C,gBAAAC;AACpD,MAAM,4BAAkD,gBAAAC;AAKxD,MAAM,4BAAkD,gBAAAC;AAMxD,MAAM,oBAA0C,gBAAAC;",
6
6
  "names": ["import_viewer", "import_next", "import_ricos_content", "import_options", "import_plugin_audio", "import_plugin_divider", "import_plugin_link_preview", "import_plugin_table", "_RicosEditor", "_RicosEditorApiContext", "_RicosEditorApiProvider", "_useRicosEditorApi", "_withRicosEditorApi", "_createEmptyContent", "_ensureContentId", "_fromPlainText", "_fromCKEditorHtml", "_fromRichTextHtml", "_translateContent", "_truncateRichContent", "_truncateContent", "_getContentLength", "_getMediaData", "_getPluginData", "_getText", "_toHtml", "_toPlainText", "_toPlainTextSync", "_toTranslatables", "_isRichContent", "_isRichContentEmpty", "_isRichContentEqual", "_modify", "_extract", "_createParagraphNode", "_createTextNode", "_initializeMetadata", "_setupContentBuilder", "_getCountableNodes", "_getInitialLinkData", "_getAnchorableNodesQuery", "_convertItemData", "_pluginAudio", "_pluginAudioViewer", "_pluginLinkButton", "_pluginActionButton", "_pluginActionButtonViewer", "_pluginPaywallViewer", "_pluginPaywall", "_pluginLinkButtonViewer", "_pluginCodeBlockViewer", "_pluginCollapsibleListViewer", "_pluginDivider", "_pluginDividerViewer", "_pluginEmoji", "_pluginEmojiViewer", "_pluginFileUploadViewer", "_pluginFontFamilyViewer", "_pluginGalleryViewer", "_pluginGiphy", "_pluginGiphyViewer", "_pluginHashtag", "_pluginHashtagViewer", "_pluginHeadings", "_pluginHtmlViewer", "_pluginImage", "_pluginImageViewer", "_pluginIndentViewer", "_pluginAnimationViewer", "_pluginLineSpacingViewer", "_pluginLinkViewer", "_pluginLinkPreview", "_pluginLinkPreviewViewer", "_pluginMentionsViewer", "_pluginShapeViewer", "_pluginSmartBlockViewer", "_pluginSlotViewer", "_pluginPollViewer", "_initSpoilersContentState", "_pluginSpoilerViewer", "_SpoilerViewerWrapper", "_pluginTable", "_pluginTableViewer", "_pluginTocViewer", "_pluginTextColor", "_pluginTextHighlight", "_pluginTextColorViewer", "_pluginTextHighlightViewer", "_pluginVerticalEmbedViewer", "_pluginVideoViewer"]
7
7
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/legacy.ts"],
4
- "sourcesContent": ["export { pluginAiSuggestions } from './plugin-ai-suggestions/options.js';\nexport { pluginBlockDragHandle } from './plugin-block-drag-handle/options.js';\nexport type { BlockDragHandlePluginEditorConfig } from './plugin-block-drag-handle/types.js';\nexport { pluginCollab } from './plugin-collab/options.js';\nexport {\n readYXmlFragment,\n writeYXmlFragment,\n patchYXmlFragment,\n type PatchYXmlFragmentResult,\n} from './plugin-collab/y-adapter.js';\nexport { type BISettings } from './ricos-common/ricos-types.js';\nexport { extractUoUParams } from './_shared/extract-uou-params.js';\nexport { getInitialLinkData } from './_shared/link/get-initial-link-data.js';\nexport { parseInstance } from './_shared/request-service-provider/parse-instance.js';\n/** @deprecated Use RicosEditorProps directly */\nexport type { RicosEditorProps as WixRicosEditorProps } from './ricos-common/index.js';\n/** @deprecated Use RicosTheme directly */\nexport type { RicosTheme as WixRicosTheme } from './ricos-types/index.js';\n/** @deprecated Use RicosViewerProps directly */\nexport type { RicosViewerProps as WixRicosViewerProps } from './ricos-viewer-next/index.js';\n/** @deprecated Use RicosEditor directly */\nexport { RicosEditor as WixRicosEditor } from './ricos-editor/index.js';\nexport { resolveFileUrl } from './ricos-media/index.js';\n/** @deprecated Use RicosViewer directly */\nexport { RicosViewer as WixRicosViewer } from './ricos-viewer-next/index.js';\nexport { type RicosEditorProps } from './ricos-common/index.js';\nexport {\n type EditorPluginOptions,\n type EditorPluginOptionCreator,\n type EditorPluginOptionCreator as EditorPluginCreator,\n} from './ricos-types/index.js';\n/** @deprecated Use EditorPluginOptions instead */\nexport type { EditorPluginOptions as EditorPlugin } from './ricos-types/index.js';\nexport {\n ACTION_BUTTON_TYPE,\n AUDIO_TYPE,\n CODE_BLOCK_TYPE,\n COLLAPSIBLE_LIST_TYPE,\n compare,\n createContent,\n DIVIDER_TYPE,\n type DraftContent,\n EMBED_TYPE,\n EMOJI_TYPE,\n EXTERNAL_MENTIONS_TYPE,\n FILE_UPLOAD_TYPE,\n GALLERY_TYPE,\n getMediaData,\n getTextDirection,\n GIPHY_TYPE,\n HASHTAG_TYPE,\n HEADINGS_DROPDOWN_TYPE,\n HTML_TYPE,\n IMAGE_TYPE,\n type ImageMedia,\n INDENT_TYPE,\n isContentStateEmpty,\n isDraftContent,\n isRichContent,\n isRichContentEmpty,\n LINE_SPACING_TYPE,\n LINK_BUTTON_TYPE,\n LINK_PREVIEW_TYPE,\n LINK_TYPE,\n type ListItemData,\n MENTION_TYPE,\n normalizeInitialState,\n POLL_TYPE,\n RICOS_ANCHOR_TYPE,\n RICOS_CAPTION_TYPE,\n RICOS_DIVIDER_TYPE,\n RICOS_FILE_TYPE,\n RICOS_GALLERY_TYPE,\n RICOS_GIPHY_TYPE,\n RICOS_IMAGE_TYPE,\n RICOS_LINK_BUTTON_TYPE,\n RICOS_LINK_PREVIEW_TYPE,\n RICOS_LINK_TYPE,\n RICOS_MENTION_TYPE,\n RICOS_POLL_TYPE,\n RICOS_SHAPE_TYPE,\n RICOS_VERTICAL_EMBED_TYPE,\n RICOS_VIDEO_TYPE,\n type RicosContent,\n type RicosContentBlock,\n type RicosEntity,\n type RicosInlineStyleRange,\n SHAPE_TYPE,\n SPOILER_TYPE,\n TABLE_TYPE,\n TOC_TYPE,\n TEXT_COLOR_TYPE,\n TEXT_HIGHLIGHT_TYPE,\n TIPTAP_SHAPE_TYPE,\n Version,\n VERTICAL_EMBED_TYPE,\n VIDEO_TYPE,\n type VideoMedia,\n} from './ricos-content/index.js';\nexport { isContentEqual } from './ricos-content/lib/comapare-draft-content.js';\nexport { setupContentBuilder } from './ricos-content/lib/content.js';\nexport { getPluginData, getText } from './ricos-content/lib/content-application.js';\nexport { fromDraft, fromPlainText, toDraft, toPlainText } from './ricos-content/lib/converters.js';\nexport { createEmptyContent } from './ricos-content/lib/create-empty-content.js';\nexport { ensureDraftContent } from './ricos-content/lib/ensure-draft-content.js';\nexport { ensureRicosContent } from './ricos-content/lib/ensure-ricos-content.js';\nexport { extract } from './ricos-content/lib/extract.js';\nexport { extractMedia } from './ricos-content/lib/extract-media.js';\nexport { getContentLength } from './ricos-content/lib/get-content-length.js';\nexport { isRichContentEqual } from './ricos-content/lib/is-rich-content-equal.js';\nexport { ensureContentId } from './ricos-content/lib/metadata-utils.js';\nexport { modify } from './ricos-content/lib/modify.js';\nexport {\n createParagraphNode,\n createTextNode,\n initializeMetadata,\n} from './ricos-content/lib/node-utils.js';\nexport {\n fromCKEditorHtml,\n fromRichTextHtml,\n type InterceptorToHtml,\n toHtml,\n} from './ricos-content/lib/server-side-converters.js';\nexport { toPlainTextSync } from './ricos-content/lib/to-plain-text-sync.js';\nexport { toTranslatables, translateContent } from './ricos-content/lib/translate.js';\nexport { truncateRichContent } from './ricos-content/lib/truncate-rich-content.js';\nexport { getCountableNodes, truncateContent } from './ricos-content/lib/truncate-content.js';\nexport { getAnchorableNodesQuery } from './ricos-content-query/index.js';\nexport { RicosEditor, type RicosEditorType } from './ricos-editor/index.js';\nexport {\n type AppEmbedData,\n AppEmbedData_AppType,\n type AudioData,\n type BulletedListData,\n type ButtonData,\n ButtonData_Styles_Background_Type,\n ButtonData_Type,\n type CollapsibleListData,\n CollapsibleListData_Direction,\n CollapsibleListData_InitialExpandedItems,\n type Decoration,\n Decoration_Type,\n DividerData_Alignment,\n DividerData_LineStyle,\n DividerData_Width,\n type FileData,\n FontSizeData_fontType,\n type GalleryData,\n type GalleryData_Item,\n GalleryOptions_ItemStyle_Crop,\n GalleryOptions_Layout_Orientation,\n GalleryOptions_Layout_Type,\n GalleryOptions_Thumbnails_Alignment,\n type GIF,\n type GIFData,\n GIFData_GIFType,\n type HeadingData,\n type HTMLData,\n HTMLData_Source,\n ImageData,\n type LayoutCellData,\n type LayoutData,\n LayoutData_Backdrop_Type,\n LayoutData_Background_Type,\n LayoutData_ResponsivenessBehaviour,\n LayoutData_VerticalAlignment_Alignment,\n LayoutData_Banner_Position,\n LayoutData_Banner_Origin,\n LayoutData_DesignTarget,\n type Link,\n type Link_Rel,\n Link_Target,\n type LinkPreviewData,\n type Media,\n type MentionData,\n type Node,\n Node_Type,\n type OrderedListData,\n type ParagraphData,\n PluginContainerData_Alignment,\n type PluginContainerData_Spoiler,\n PluginContainerData_Width_Type,\n type PollData,\n type ShapeData,\n PollData_Design_PollDesign_Background_Type,\n PollData_Layout_PollLayout_Direction,\n PollData_Layout_PollLayout_Type,\n PollData_Poll_Settings_Permissions_ViewRole,\n PollData_Poll_Settings_Permissions_VoteRole,\n RichContent,\n type TextData,\n TextStyle_TextAlignment,\n type VideoData,\n type SmartBlockData,\n type SlotData,\n SmartBlockData_ColumnSize,\n SmartBlockData_Type,\n} from './ricos-schema/legacy/wix/rich_content/v1/index.js';\nexport type { ValidationError } from './ricos-schema/next-schema/index.js';\nexport { validateRicosDocument } from './ricos-schema/next-schema/index.js';\nexport {\n type AnchorDecoration,\n type AppEmbedNode,\n type AudioNode,\n type BlockquoteNode,\n type BulletedListNode,\n type ButtonNode,\n type CaptionNode,\n type CodeBlockNode,\n type CollapsibleItemBodyNode,\n type CollapsibleItemNode,\n type CollapsibleItemTitleNode,\n type CollapsibleListNode,\n type ColorPaletteManager,\n type Gradient,\n type GradientStop,\n type SetColors,\n type SetGradients,\n type CustomTextualStyle,\n type DebugMode,\n type DividerNode,\n type EmbedNode,\n type FileNode,\n type FocusPosition,\n type GalleryNode,\n type GetToolbarSettings,\n type GifNode,\n type HeadingNode,\n type HtmlNode,\n type ImageNode,\n type LinkDecoration,\n type LinkPreviewNode,\n type LinkSettings,\n type ListItemNode,\n type onAtomicBlockFocus,\n type OnContentChangeFunction,\n type onKeyboardShortcutActionArgs,\n type onToolbarButtonClickArgs,\n type OrderedListNode,\n type PaletteRgbColors,\n type ParagraphNode,\n type PollNode,\n type RefinedNode,\n type RicosPalette,\n type ResponsiveBehavior,\n type RicosCustomStyles,\n type RicosEditorAPI,\n type RicosTheme,\n RICOS_CSS_VARS,\n type RicosCssVar,\n type TableCellNode,\n type TableNode,\n type TableRowNode,\n type TextAlignment,\n type TextDirection,\n type TextGroupButtons,\n type TextNode,\n type ToolbarButtonProps,\n type ActionOption,\n type ToolbarSettings,\n type ToolbarSettingsFunctions,\n ToolbarType,\n type VideoNode,\n type ViewerPlugin,\n type ContentChangeMeta,\n type ContentChangeSource,\n} from './ricos-types/index.js';\nexport { type HistorySettings } from './ricos-types/plugin-types.js';\nexport { RicosViewer, type RicosViewerProps } from './ricos-viewer-next/index.js';\n/** @deprecated Legacy ProGallery-shaped item converter. Kept for existing consumers; avoid in new code. */\nexport { convertItemData } from './plugin-gallery/convert-item-data-compat.js';\nexport { getAbsoluteUrl } from './_shared/media/get-absolute-url.js';\nexport { PLUGIN_TOOLBAR_BUTTON_ID } from './_shared/plugin-toolbar/plugin-toolbar-buttons-ids.js';\nexport { quickStartViewerPlugins } from './_shared/quick-start-viewer-plugins/quick-start-viewer-plugins.js';\nexport { generateKey } from './wix-rich-content-common/Utils/generate-key.js';\nexport { isHexColor } from './wix-rich-content-common/Utils/color-utils.js';\nexport { truncateContentState } from './wix-rich-content-common/lib/content-state-services.js';\nexport { Tooltip, type TooltipPlace, type TooltipProps } from './_shared/tooltip/tooltip.js';\nexport {\n EditorEvents,\n EditorEventsContext,\n type EditorEventsProps,\n EditorEventsProvider,\n withEditorContext,\n} from './editor-common/editor-events-context.js';\nexport {\n RicosEditorApiContext,\n RicosEditorApiProvider,\n useRicosEditorApi,\n withRicosEditorApi,\n} from './_shared/ricos-editor-api-context/ricos-editor-api-context.js';\nexport {\n BUTTON_TYPES,\n FORMATTING_BUTTONS,\n INSERT_PLUGIN_BUTTONS,\n // TOOLBARS, // !DEPRECATED use ToolbarType from ricos-types\n} from './editor-common/index.js';\nexport { pluginAi } from './plugin-ai/index.js';\nexport { pluginPaywallViewer } from './plugin-paywall/plugin-paywall-viewer.js';\nexport {\n pluginPaywall,\n type PaywallPluginEditorConfig,\n type PaywallToolbarButton,\n type PaywallToolbarContext,\n} from './plugin-paywall/plugin-paywall.js';\nexport {\n audioButtonsTypes,\n type AudioPluginEditorConfig,\n pluginAudio,\n} from './plugin-audio/index.js';\nexport { pluginAudio as pluginAudioViewer } from './plugin-audio/viewer.js';\nexport {\n type LinkButtonPluginEditorConfig,\n pluginActionButton,\n pluginLinkButton,\n} from './plugin-button/index.js';\nexport {\n pluginActionButton as pluginActionButtonViewer,\n pluginLinkButton as pluginLinkButtonViewer,\n} from './plugin-button/viewer.js';\nexport { pluginCodeBlock } from './plugin-code-block/index.js';\nexport { pluginCodeBlock as pluginCodeBlockViewer } from './plugin-code-block/viewer.js';\nexport {\n type CollapsibleListComponentData,\n pluginCollapsibleList,\n} from './plugin-collapsible-list/index.js';\nexport { pluginCollapsibleList as pluginCollapsibleListViewer } from './plugin-collapsible-list/viewer.js';\nexport { DIVIDER_BUTTONS, pluginDivider } from './plugin-divider/index.js';\nexport { pluginDivider as pluginDividerViewer } from './plugin-divider/viewer.js';\nexport { pluginEmoji } from './plugin-emoji/index.js';\nexport { pluginEmoji as pluginEmojiViewer } from './plugin-emoji/viewer.js';\nexport {\n type FilePluginEditorConfig,\n pluginFileUpload,\n} from './plugin-file-upload/index.js';\nexport {\n fileExtensionToType,\n FileTypes,\n} from './plugin-file-upload/lib/file-extension-to-type.js';\nexport { pluginFileUpload as pluginFileUploadViewer } from './plugin-file-upload/viewer.js';\nexport { pluginFontFamily } from './plugin-font-family/index.js';\nexport { pluginFontFamily as pluginFontFamilyViewer } from './plugin-font-family/viewer.js';\nexport {\n type GalleryPluginEditorConfig,\n pluginGallery,\n} from './plugin-gallery/index.js';\nexport { pluginGallery as pluginGalleryViewer } from './plugin-gallery/viewer.js';\nexport { pluginGiphy } from './plugin-giphy/index.js';\nexport { pluginGiphy as pluginGiphyViewer } from './plugin-giphy/viewer.js';\nexport { pluginHashtag } from './plugin-hashtag/index.js';\nexport { pluginHashtag as pluginHashtagViewer } from './plugin-hashtag/viewer.js';\nexport { pluginHeadings } from './plugin-headings/index.js';\nexport { htmlButtonsTypes, pluginHtml } from './plugin-html/index.js';\nexport { pluginHtml as pluginHtmlViewer } from './plugin-html/viewer.js';\nexport { pluginImage } from './plugin-image/index.js';\nexport { pluginImage as pluginImageViewer } from './plugin-image/viewer.js';\nexport { pluginIndent } from './plugin-indent/index.js';\nexport { pluginIndent as pluginIndentViewer } from './plugin-indent/viewer.js';\nexport type { AnimationPluginEditorConfig } from './plugin-animation/index.js';\nexport { pluginAnimation } from './plugin-animation/index.js';\nexport type { AnimationPluginViewerConfig } from './plugin-animation/viewer.js';\nexport { pluginAnimationViewer } from './plugin-animation/viewer.js';\nexport { pluginInlineAi } from './plugin-inline-ai/index.js';\nexport { pluginLineSpacing } from './plugin-line-spacing/index.js';\nexport { pluginLineSpacing as pluginLineSpacingViewer } from './plugin-line-spacing/viewer.js';\nexport { pluginLink } from './plugin-link/index.js';\nexport { pluginLink as pluginLinkViewer } from './plugin-link/viewer.js';\nexport {\n type LinkPreviewPluginEditorConfig,\n LinkPreviewProviders,\n pluginLinkPreview,\n} from './plugin-link-preview/index.js';\nexport { pluginLinkPreview as pluginLinkPreviewViewer } from './plugin-link-preview/viewer.js';\nexport {\n type MentionsPluginEditorConfig,\n pluginMentions,\n} from './plugin-mentions/index.js';\nexport { pluginMentions as pluginMentionsViewer } from './plugin-mentions/viewer.js';\nexport { pluginShape, SHAPE_RICOS_DEFAULTS } from './plugin-shape/index.js';\nexport { pluginShape as pluginShapeViewer } from './plugin-shape/viewer.js';\nexport { pluginSmartBlock } from './plugin-smart-block/index.js';\nexport { pluginSmartBlock as pluginSmartBlockViewer } from './plugin-smart-block/viewer.js';\nexport {\n pluginSlot,\n SLOT_TYPE,\n type ResolvedSlotDesign,\n type SlotAddButton,\n type SlotColorPickerOptions,\n type SlotContext,\n type SlotDataPatch,\n type SlotDesignPatch,\n type SlotEditorComponentProps,\n type SlotEditorIntegration,\n type SlotErrorContext,\n type SlotErrorHandler,\n type SlotPanelConfig,\n type SlotPanelPositioning,\n type SlotToolbarButton,\n type SlotToolbarContext,\n type SlotViewerComponentProps,\n type SlotViewerIntegration,\n} from './plugin-slot/index.js';\nexport { pluginSlot as pluginSlotViewer } from './plugin-slot/viewer.js';\nexport {\n pluginPoll,\n type PollPluginEditorConfig,\n} from './plugin-social-polls/index.js';\nexport { pluginPoll as pluginPollViewer } from './plugin-social-polls/viewer.js';\nexport { pluginSpoiler, SpoilerEditorWrapper } from './plugin-spoiler/index.js';\nexport {\n initSpoilersContentState,\n pluginSpoiler as pluginSpoilerViewer,\n SpoilerViewerWrapper,\n} from './plugin-spoiler/viewer.js';\nexport { pluginTable, TABLE_BUTTONS } from './plugin-table/index.js';\nexport { pluginTable as pluginTableViewer } from './plugin-table/viewer.js';\nexport { pluginToc } from './plugin-toc/index.js';\nexport { pluginToc as pluginTocViewer } from './plugin-toc/viewer.js';\nexport { pluginTextColor, pluginTextHighlight } from './plugin-text-color/index.js';\nexport {\n pluginTextColor as pluginTextColorViewer,\n pluginTextHighlight as pluginTextHighlightViewer,\n} from './plugin-text-color/viewer.js';\nexport {\n pluginVerticalEmbed,\n verticalEmbedProviders,\n} from './plugin-vertical-embed/index.js';\nexport { pluginVerticalEmbed as pluginVerticalEmbedViewer } from './plugin-vertical-embed/viewer.js';\nexport {\n pluginVideo,\n videoButtonsTypes,\n type VideoPluginEditorConfig,\n} from './plugin-video/index.js';\nexport { pluginVideo as pluginVideoViewer } from './plugin-video/viewer.js';\nexport {\n TextSelectionToolbar,\n TwitterButton,\n} from './text-selection-toolbar/index.js';\nexport type { TiptapAdapter } from './tiptap-editor/components/rich-content-adapter.js';\n\n// Wixel Components\nexport {\n RicosWidget,\n type RicosWidgetProps,\n} from './ui-components/wixel-assistant/ricos-assistant-widget.js';\n\n/** deprecated */\nexport const MAP_TYPE = 'wix-draft-plugin-map';\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAoC;AACpC,IAAAA,kBAAsC;AAEtC,IAAAA,kBAA6B;AAC7B,uBAKO;AAEP,gCAAiC;AACjC,mCAAmC;AACnC,4BAA8B;AAQ9B,0BAA8C;AAC9C,yBAA+B;AAE/B,+BAA8C;AAS9C,2BAiEO;AACP,oCAA+B;AAC/B,qBAAoC;AACpC,iCAAuC;AACvC,wBAA+D;AAC/D,kCAAmC;AACnC,kCAAmC;AACnC,kCAAmC;AACnC,qBAAwB;AACxB,2BAA6B;AAC7B,gCAAiC;AACjC,mCAAmC;AACnC,4BAAgC;AAChC,oBAAuB;AACvB,wBAIO;AACP,oCAKO;AACP,gCAAgC;AAChC,uBAAkD;AAClD,mCAAoC;AACpC,8BAAmD;AACnD,iCAAwC;AACxC,IAAAC,uBAAkD;AAClD,gBAoEO;AAEP,yBAAsC;AACtC,IAAAC,sBAkEO;AAEP,IAAAC,4BAAmD;AAEnD,sCAAgC;AAChC,8BAA+B;AAC/B,wCAAyC;AACzC,wCAAwC;AACxC,0BAA4B;AAC5B,yBAA2B;AAC3B,oCAAqC;AACrC,qBAA8D;AAC9D,mCAMO;AACP,sCAKO;AACP,2BAKO;AACP,uBAAyB;AACzB,mCAAoC;AACpC,4BAKO;AACP,0BAIO;AACP,oBAAiD;AACjD,2BAIO;AACP,IAAAC,iBAGO;AACP,+BAAgC;AAChC,IAAAA,iBAAyD;AACzD,qCAGO;AACP,IAAAA,iBAAqE;AACrE,4BAA+C;AAC/C,IAAAA,iBAAqD;AACrD,0BAA4B;AAC5B,IAAAA,iBAAiD;AACjD,gCAGO;AACP,oCAGO;AACP,IAAAA,iBAA2D;AAC3D,gCAAiC;AACjC,IAAAA,iBAA2D;AAC3D,4BAGO;AACP,IAAAA,iBAAqD;AACrD,0BAA4B;AAC5B,IAAAA,kBAAiD;AACjD,4BAA8B;AAC9B,IAAAA,kBAAqD;AACrD,6BAA+B;AAC/B,yBAA6C;AAC7C,IAAAA,kBAA+C;AAC/C,0BAA4B;AAC5B,IAAAA,kBAAiD;AACjD,2BAA6B;AAC7B,IAAAA,kBAAmD;AAEnD,8BAAgC;AAEhC,IAAAA,kBAAsC;AACtC,8BAA+B;AAC/B,iCAAkC;AAClC,IAAAA,kBAA6D;AAC7D,yBAA2B;AAC3B,IAAAA,kBAA+C;AAC/C,iCAIO;AACP,IAAAA,kBAA6D;AAC7D,6BAGO;AACP,IAAAA,kBAAuD;AACvD,0BAAkD;AAClD,IAAAA,kBAAiD;AACjD,gCAAiC;AACjC,IAAAA,kBAA2D;AAC3D,yBAmBO;AACP,IAAAA,kBAA+C;AAC/C,iCAGO;AACP,IAAAA,kBAA+C;AAC/C,4BAAoD;AACpD,IAAAA,kBAIO;AACP,0BAA2C;AAC3C,IAAAA,kBAAiD;AACjD,wBAA0B;AAC1B,IAAAA,kBAA6C;AAC7C,+BAAqD;AACrD,IAAAA,kBAGO;AACP,mCAGO;AACP,IAAAA,kBAAiE;AACjE,0BAIO;AACP,IAAAA,kBAAiD;AACjD,oCAGO;AAIP,oCAGO;AAGA,MAAM,WAAW;",
4
+ "sourcesContent": ["export { pluginAiSuggestions } from './plugin-ai-suggestions/options.js';\nexport { pluginBlockDragHandle } from './plugin-block-drag-handle/options.js';\nexport type { BlockDragHandlePluginEditorConfig } from './plugin-block-drag-handle/types.js';\nexport { pluginCollab } from './plugin-collab/options.js';\nexport {\n readYXmlFragment,\n writeYXmlFragment,\n patchYXmlFragment,\n type PatchYXmlFragmentResult,\n} from './plugin-collab/y-adapter.js';\nexport { type BISettings } from './ricos-common/ricos-types.js';\nexport { extractUoUParams } from './_shared/extract-uou-params.js';\nexport { getInitialLinkData } from './_shared/link/get-initial-link-data.js';\nexport { parseInstance } from './_shared/request-service-provider/parse-instance.js';\n/** @deprecated Use RicosEditorProps directly */\nexport type { RicosEditorProps as WixRicosEditorProps } from './ricos-common/index.js';\n/** @deprecated Use RicosTheme directly */\nexport type { RicosTheme as WixRicosTheme } from './ricos-types/index.js';\n/** @deprecated Use RicosViewerProps directly */\nexport type { RicosViewerProps as WixRicosViewerProps } from './ricos-viewer-next/index.js';\n/** @deprecated Use RicosEditor directly */\nexport { RicosEditor as WixRicosEditor } from './ricos-editor/index.js';\nexport { resolveFileUrl } from './ricos-media/index.js';\n/** @deprecated Use RicosViewer directly */\nexport { RicosViewer as WixRicosViewer } from './ricos-viewer-next/index.js';\nexport { type RicosEditorProps } from './ricos-common/index.js';\nexport {\n type EditorPluginOptions,\n type EditorPluginOptionCreator,\n type EditorPluginOptionCreator as EditorPluginCreator,\n} from './ricos-types/index.js';\n/** @deprecated Use EditorPluginOptions instead */\nexport type { EditorPluginOptions as EditorPlugin } from './ricos-types/index.js';\nexport {\n ACTION_BUTTON_TYPE,\n AUDIO_TYPE,\n CODE_BLOCK_TYPE,\n COLLAPSIBLE_LIST_TYPE,\n compare,\n createContent,\n DIVIDER_TYPE,\n type DraftContent,\n EMBED_TYPE,\n EMOJI_TYPE,\n EXTERNAL_MENTIONS_TYPE,\n FILE_UPLOAD_TYPE,\n GALLERY_TYPE,\n getMediaData,\n getTextDirection,\n GIPHY_TYPE,\n HASHTAG_TYPE,\n HEADINGS_DROPDOWN_TYPE,\n HTML_TYPE,\n IMAGE_TYPE,\n type ImageMedia,\n INDENT_TYPE,\n isContentStateEmpty,\n isDraftContent,\n isRichContent,\n isRichContentEmpty,\n LINE_SPACING_TYPE,\n LINK_BUTTON_TYPE,\n LINK_PREVIEW_TYPE,\n LINK_TYPE,\n type ListItemData,\n MENTION_TYPE,\n normalizeInitialState,\n POLL_TYPE,\n RICOS_ANCHOR_TYPE,\n RICOS_CAPTION_TYPE,\n RICOS_DIVIDER_TYPE,\n RICOS_FILE_TYPE,\n RICOS_GALLERY_TYPE,\n RICOS_GIPHY_TYPE,\n RICOS_IMAGE_TYPE,\n RICOS_LINK_BUTTON_TYPE,\n RICOS_LINK_PREVIEW_TYPE,\n RICOS_LINK_TYPE,\n RICOS_MENTION_TYPE,\n RICOS_POLL_TYPE,\n RICOS_SHAPE_TYPE,\n RICOS_VERTICAL_EMBED_TYPE,\n RICOS_VIDEO_TYPE,\n type RicosContent,\n type RicosContentBlock,\n type RicosEntity,\n type RicosInlineStyleRange,\n SHAPE_TYPE,\n SPOILER_TYPE,\n TABLE_TYPE,\n TOC_TYPE,\n TEXT_COLOR_TYPE,\n TEXT_HIGHLIGHT_TYPE,\n TIPTAP_SHAPE_TYPE,\n Version,\n VERTICAL_EMBED_TYPE,\n VIDEO_TYPE,\n type VideoMedia,\n} from './ricos-content/index.js';\nexport { isContentEqual } from './ricos-content/lib/comapare-draft-content.js';\nexport { setupContentBuilder } from './ricos-content/lib/content.js';\nexport { getPluginData, getText } from './ricos-content/lib/content-application.js';\nexport { fromDraft, fromPlainText, toDraft, toPlainText } from './ricos-content/lib/converters.js';\nexport { createEmptyContent } from './ricos-content/lib/create-empty-content.js';\nexport { ensureDraftContent } from './ricos-content/lib/ensure-draft-content.js';\nexport { ensureRicosContent } from './ricos-content/lib/ensure-ricos-content.js';\nexport { extract } from './ricos-content/lib/extract.js';\nexport { extractMedia } from './ricos-content/lib/extract-media.js';\nexport { getContentLength } from './ricos-content/lib/get-content-length.js';\nexport { isRichContentEqual } from './ricos-content/lib/is-rich-content-equal.js';\nexport { ensureContentId } from './ricos-content/lib/metadata-utils.js';\nexport { modify } from './ricos-content/lib/modify.js';\nexport {\n createParagraphNode,\n createTextNode,\n initializeMetadata,\n} from './ricos-content/lib/node-utils.js';\nexport {\n fromCKEditorHtml,\n fromRichTextHtml,\n type InterceptorToHtml,\n toHtml,\n} from './ricos-content/lib/server-side-converters.js';\nexport { toPlainTextSync } from './ricos-content/lib/to-plain-text-sync.js';\nexport { toTranslatables, translateContent } from './ricos-content/lib/translate.js';\nexport { truncateRichContent } from './ricos-content/lib/truncate-rich-content.js';\nexport { getCountableNodes, truncateContent } from './ricos-content/lib/truncate-content.js';\nexport { getAnchorableNodesQuery } from './ricos-content-query/index.js';\nexport { RicosEditor, type RicosEditorType } from './ricos-editor/index.js';\nexport {\n type AppEmbedData,\n AppEmbedData_AppType,\n type AudioData,\n type BulletedListData,\n type ButtonData,\n ButtonData_Styles_Background_Type,\n ButtonData_Type,\n type CollapsibleListData,\n CollapsibleListData_Direction,\n CollapsibleListData_InitialExpandedItems,\n type Decoration,\n Decoration_Type,\n DividerData_Alignment,\n DividerData_LineStyle,\n DividerData_Width,\n type FileData,\n FontSizeData_fontType,\n type GalleryData,\n type GalleryData_Item,\n GalleryOptions_ItemStyle_Crop,\n GalleryOptions_Layout_Orientation,\n GalleryOptions_Layout_Type,\n GalleryOptions_Thumbnails_Alignment,\n type GIF,\n type GIFData,\n GIFData_GIFType,\n type HeadingData,\n type HTMLData,\n HTMLData_Source,\n ImageData,\n type LayoutCellData,\n type LayoutData,\n LayoutData_Backdrop_Type,\n LayoutData_Background_Type,\n LayoutData_ResponsivenessBehaviour,\n LayoutData_VerticalAlignment_Alignment,\n LayoutData_Banner_Position,\n LayoutData_Banner_Origin,\n LayoutData_DesignTarget,\n type Link,\n type Link_Rel,\n Link_Target,\n type LinkPreviewData,\n type Media,\n type MentionData,\n type Node,\n Node_Type,\n type OrderedListData,\n type ParagraphData,\n PluginContainerData_Alignment,\n type PluginContainerData_Spoiler,\n PluginContainerData_Width_Type,\n type PollData,\n type ShapeData,\n PollData_Design_PollDesign_Background_Type,\n PollData_Layout_PollLayout_Direction,\n PollData_Layout_PollLayout_Type,\n PollData_Poll_Settings_Permissions_ViewRole,\n PollData_Poll_Settings_Permissions_VoteRole,\n RichContent,\n type TextData,\n TextStyle_TextAlignment,\n type VideoData,\n type SmartBlockData,\n type SlotData,\n SmartBlockData_ColumnSize,\n SmartBlockData_Type,\n} from './ricos-schema/legacy/wix/rich_content/v1/index.js';\nexport type { ValidationError } from './ricos-schema/next-schema/index.js';\nexport { validateRicosDocument } from './ricos-schema/next-schema/index.js';\nexport {\n type AnchorDecoration,\n type AppEmbedNode,\n type AudioNode,\n type BlockquoteNode,\n type BulletedListNode,\n type ButtonNode,\n type CaptionNode,\n type CodeBlockNode,\n type CollapsibleItemBodyNode,\n type CollapsibleItemNode,\n type CollapsibleItemTitleNode,\n type CollapsibleListNode,\n type ColorPaletteManager,\n type Gradient,\n type GradientStop,\n type SetColors,\n type SetGradients,\n type CustomTextualStyle,\n type DebugMode,\n type DividerNode,\n type EmbedNode,\n type FileNode,\n type FocusPosition,\n type GalleryNode,\n type GetToolbarSettings,\n type GifNode,\n type HeadingNode,\n type HtmlNode,\n type ImageNode,\n type LinkDecoration,\n type LinkPreviewNode,\n type LinkSettings,\n type ListItemNode,\n type onAtomicBlockFocus,\n type OnContentChangeFunction,\n type onKeyboardShortcutActionArgs,\n type onToolbarButtonClickArgs,\n type OrderedListNode,\n type PaletteRgbColors,\n type ParagraphNode,\n type PollNode,\n type RefinedNode,\n type RicosPalette,\n type ResponsiveBehavior,\n type RicosCustomStyles,\n type RicosEditorAPI,\n type RicosTheme,\n RICOS_CSS_VARS,\n type RicosCssVar,\n type TableCellNode,\n type TableNode,\n type TableRowNode,\n type TextAlignment,\n type TextDirection,\n type TextGroupButtons,\n type TextNode,\n type ToolbarButtonProps,\n type ActionOption,\n type ToolbarSettings,\n type ToolbarSettingsFunctions,\n ToolbarType,\n type VideoNode,\n type ViewerPlugin,\n type ContentChangeMeta,\n type ContentChangeSource,\n} from './ricos-types/index.js';\nexport { type HistorySettings } from './ricos-types/plugin-types.js';\nexport { RicosViewer, type RicosViewerProps } from './ricos-viewer-next/index.js';\n/** @deprecated Legacy ProGallery-shaped item converter. Kept for existing consumers; avoid in new code. */\nexport { convertItemData } from './plugin-gallery/convert-item-data-compat.js';\nexport { getAbsoluteUrl } from './_shared/media/get-absolute-url.js';\nexport { PLUGIN_TOOLBAR_BUTTON_ID } from './_shared/plugin-toolbar/plugin-toolbar-buttons-ids.js';\nexport { quickStartViewerPlugins } from './_shared/quick-start-viewer-plugins/quick-start-viewer-plugins.js';\nexport { generateKey } from './wix-rich-content-common/Utils/generate-key.js';\nexport { isHexColor } from './wix-rich-content-common/Utils/color-utils.js';\nexport { truncateContentState } from './wix-rich-content-common/lib/content-state-services.js';\nexport { Tooltip, type TooltipPlace, type TooltipProps } from './_shared/tooltip/tooltip.js';\nexport {\n EditorEvents,\n EditorEventsContext,\n type EditorEventsProps,\n EditorEventsProvider,\n withEditorContext,\n} from './editor-common/editor-events-context.js';\nexport {\n RicosEditorApiContext,\n RicosEditorApiProvider,\n useRicosEditorApi,\n withRicosEditorApi,\n} from './_shared/ricos-editor-api-context/ricos-editor-api-context.js';\nexport {\n BUTTON_TYPES,\n FORMATTING_BUTTONS,\n INSERT_PLUGIN_BUTTONS,\n // TOOLBARS, // !DEPRECATED use ToolbarType from ricos-types\n} from './editor-common/index.js';\nexport { pluginAi } from './plugin-ai/index.js';\nexport type { AiGeneratedImage, AiImageGeneration } from './plugin-ai/types.js';\nexport { pluginPaywallViewer } from './plugin-paywall/plugin-paywall-viewer.js';\nexport {\n pluginPaywall,\n type PaywallPluginEditorConfig,\n type PaywallToolbarButton,\n type PaywallToolbarContext,\n} from './plugin-paywall/plugin-paywall.js';\nexport {\n audioButtonsTypes,\n type AudioPluginEditorConfig,\n pluginAudio,\n} from './plugin-audio/index.js';\nexport { pluginAudio as pluginAudioViewer } from './plugin-audio/viewer.js';\nexport {\n type LinkButtonPluginEditorConfig,\n pluginActionButton,\n pluginLinkButton,\n} from './plugin-button/index.js';\nexport {\n pluginActionButton as pluginActionButtonViewer,\n pluginLinkButton as pluginLinkButtonViewer,\n} from './plugin-button/viewer.js';\nexport { pluginCodeBlock } from './plugin-code-block/index.js';\nexport { pluginCodeBlock as pluginCodeBlockViewer } from './plugin-code-block/viewer.js';\nexport {\n type CollapsibleListComponentData,\n pluginCollapsibleList,\n} from './plugin-collapsible-list/index.js';\nexport { pluginCollapsibleList as pluginCollapsibleListViewer } from './plugin-collapsible-list/viewer.js';\nexport { DIVIDER_BUTTONS, pluginDivider } from './plugin-divider/index.js';\nexport { pluginDivider as pluginDividerViewer } from './plugin-divider/viewer.js';\nexport { pluginEmoji } from './plugin-emoji/index.js';\nexport { pluginEmoji as pluginEmojiViewer } from './plugin-emoji/viewer.js';\nexport {\n type FilePluginEditorConfig,\n pluginFileUpload,\n} from './plugin-file-upload/index.js';\nexport {\n fileExtensionToType,\n FileTypes,\n} from './plugin-file-upload/lib/file-extension-to-type.js';\nexport { pluginFileUpload as pluginFileUploadViewer } from './plugin-file-upload/viewer.js';\nexport { pluginFontFamily } from './plugin-font-family/index.js';\nexport { pluginFontFamily as pluginFontFamilyViewer } from './plugin-font-family/viewer.js';\nexport {\n type GalleryPluginEditorConfig,\n pluginGallery,\n} from './plugin-gallery/index.js';\nexport { pluginGallery as pluginGalleryViewer } from './plugin-gallery/viewer.js';\nexport { pluginGiphy } from './plugin-giphy/index.js';\nexport { pluginGiphy as pluginGiphyViewer } from './plugin-giphy/viewer.js';\nexport { pluginHashtag } from './plugin-hashtag/index.js';\nexport { pluginHashtag as pluginHashtagViewer } from './plugin-hashtag/viewer.js';\nexport { pluginHeadings } from './plugin-headings/index.js';\nexport { htmlButtonsTypes, pluginHtml } from './plugin-html/index.js';\nexport { pluginHtml as pluginHtmlViewer } from './plugin-html/viewer.js';\nexport { pluginImage } from './plugin-image/index.js';\nexport { pluginImage as pluginImageViewer } from './plugin-image/viewer.js';\nexport { pluginIndent } from './plugin-indent/index.js';\nexport { pluginIndent as pluginIndentViewer } from './plugin-indent/viewer.js';\nexport type { AnimationPluginEditorConfig } from './plugin-animation/index.js';\nexport { pluginAnimation } from './plugin-animation/index.js';\nexport type { AnimationPluginViewerConfig } from './plugin-animation/viewer.js';\nexport { pluginAnimationViewer } from './plugin-animation/viewer.js';\nexport { pluginInlineAi } from './plugin-inline-ai/index.js';\nexport { pluginLineSpacing } from './plugin-line-spacing/index.js';\nexport { pluginLineSpacing as pluginLineSpacingViewer } from './plugin-line-spacing/viewer.js';\nexport { pluginLink } from './plugin-link/index.js';\nexport { pluginLink as pluginLinkViewer } from './plugin-link/viewer.js';\nexport {\n type LinkPreviewPluginEditorConfig,\n LinkPreviewProviders,\n pluginLinkPreview,\n} from './plugin-link-preview/index.js';\nexport { pluginLinkPreview as pluginLinkPreviewViewer } from './plugin-link-preview/viewer.js';\nexport {\n type MentionsPluginEditorConfig,\n pluginMentions,\n} from './plugin-mentions/index.js';\nexport { pluginMentions as pluginMentionsViewer } from './plugin-mentions/viewer.js';\nexport { pluginShape, SHAPE_RICOS_DEFAULTS } from './plugin-shape/index.js';\nexport { pluginShape as pluginShapeViewer } from './plugin-shape/viewer.js';\nexport { pluginSmartBlock } from './plugin-smart-block/index.js';\nexport { pluginSmartBlock as pluginSmartBlockViewer } from './plugin-smart-block/viewer.js';\nexport {\n pluginSlot,\n SLOT_TYPE,\n type ResolvedSlotDesign,\n type SlotAddButton,\n type SlotColorPickerOptions,\n type SlotContext,\n type SlotDataPatch,\n type SlotDesignPatch,\n type SlotEditorComponentProps,\n type SlotEditorIntegration,\n type SlotErrorContext,\n type SlotErrorHandler,\n type SlotPanelConfig,\n type SlotPanelPositioning,\n type SlotToolbarButton,\n type SlotToolbarContext,\n type SlotViewerComponentProps,\n type SlotViewerIntegration,\n} from './plugin-slot/index.js';\nexport { pluginSlot as pluginSlotViewer } from './plugin-slot/viewer.js';\nexport {\n pluginPoll,\n type PollPluginEditorConfig,\n} from './plugin-social-polls/index.js';\nexport { pluginPoll as pluginPollViewer } from './plugin-social-polls/viewer.js';\nexport { pluginSpoiler, SpoilerEditorWrapper } from './plugin-spoiler/index.js';\nexport {\n initSpoilersContentState,\n pluginSpoiler as pluginSpoilerViewer,\n SpoilerViewerWrapper,\n} from './plugin-spoiler/viewer.js';\nexport { pluginTable, TABLE_BUTTONS } from './plugin-table/index.js';\nexport { pluginTable as pluginTableViewer } from './plugin-table/viewer.js';\nexport { pluginToc } from './plugin-toc/index.js';\nexport { pluginToc as pluginTocViewer } from './plugin-toc/viewer.js';\nexport { pluginTextColor, pluginTextHighlight } from './plugin-text-color/index.js';\nexport {\n pluginTextColor as pluginTextColorViewer,\n pluginTextHighlight as pluginTextHighlightViewer,\n} from './plugin-text-color/viewer.js';\nexport {\n pluginVerticalEmbed,\n verticalEmbedProviders,\n} from './plugin-vertical-embed/index.js';\nexport { pluginVerticalEmbed as pluginVerticalEmbedViewer } from './plugin-vertical-embed/viewer.js';\nexport {\n pluginVideo,\n videoButtonsTypes,\n type VideoPluginEditorConfig,\n} from './plugin-video/index.js';\nexport { pluginVideo as pluginVideoViewer } from './plugin-video/viewer.js';\nexport {\n TextSelectionToolbar,\n TwitterButton,\n} from './text-selection-toolbar/index.js';\nexport type { TiptapAdapter } from './tiptap-editor/components/rich-content-adapter.js';\n\n// Wixel Components\nexport {\n RicosWidget,\n type RicosWidgetProps,\n} from './ui-components/wixel-assistant/ricos-assistant-widget.js';\n\n/** deprecated */\nexport const MAP_TYPE = 'wix-draft-plugin-map';\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAAoC;AACpC,IAAAA,kBAAsC;AAEtC,IAAAA,kBAA6B;AAC7B,uBAKO;AAEP,gCAAiC;AACjC,mCAAmC;AACnC,4BAA8B;AAQ9B,0BAA8C;AAC9C,yBAA+B;AAE/B,+BAA8C;AAS9C,2BAiEO;AACP,oCAA+B;AAC/B,qBAAoC;AACpC,iCAAuC;AACvC,wBAA+D;AAC/D,kCAAmC;AACnC,kCAAmC;AACnC,kCAAmC;AACnC,qBAAwB;AACxB,2BAA6B;AAC7B,gCAAiC;AACjC,mCAAmC;AACnC,4BAAgC;AAChC,oBAAuB;AACvB,wBAIO;AACP,oCAKO;AACP,gCAAgC;AAChC,uBAAkD;AAClD,mCAAoC;AACpC,8BAAmD;AACnD,iCAAwC;AACxC,IAAAC,uBAAkD;AAClD,gBAoEO;AAEP,yBAAsC;AACtC,IAAAC,sBAkEO;AAEP,IAAAC,4BAAmD;AAEnD,sCAAgC;AAChC,8BAA+B;AAC/B,wCAAyC;AACzC,wCAAwC;AACxC,0BAA4B;AAC5B,yBAA2B;AAC3B,oCAAqC;AACrC,qBAA8D;AAC9D,mCAMO;AACP,sCAKO;AACP,2BAKO;AACP,uBAAyB;AAEzB,mCAAoC;AACpC,4BAKO;AACP,0BAIO;AACP,oBAAiD;AACjD,2BAIO;AACP,IAAAC,iBAGO;AACP,+BAAgC;AAChC,IAAAA,iBAAyD;AACzD,qCAGO;AACP,IAAAA,iBAAqE;AACrE,4BAA+C;AAC/C,IAAAA,iBAAqD;AACrD,0BAA4B;AAC5B,IAAAA,iBAAiD;AACjD,gCAGO;AACP,oCAGO;AACP,IAAAA,iBAA2D;AAC3D,gCAAiC;AACjC,IAAAA,iBAA2D;AAC3D,4BAGO;AACP,IAAAA,iBAAqD;AACrD,0BAA4B;AAC5B,IAAAA,kBAAiD;AACjD,4BAA8B;AAC9B,IAAAA,kBAAqD;AACrD,6BAA+B;AAC/B,yBAA6C;AAC7C,IAAAA,kBAA+C;AAC/C,0BAA4B;AAC5B,IAAAA,kBAAiD;AACjD,2BAA6B;AAC7B,IAAAA,kBAAmD;AAEnD,8BAAgC;AAEhC,IAAAA,kBAAsC;AACtC,8BAA+B;AAC/B,iCAAkC;AAClC,IAAAA,kBAA6D;AAC7D,yBAA2B;AAC3B,IAAAA,kBAA+C;AAC/C,iCAIO;AACP,IAAAA,kBAA6D;AAC7D,6BAGO;AACP,IAAAA,kBAAuD;AACvD,0BAAkD;AAClD,IAAAA,kBAAiD;AACjD,gCAAiC;AACjC,IAAAA,kBAA2D;AAC3D,yBAmBO;AACP,IAAAA,kBAA+C;AAC/C,iCAGO;AACP,IAAAA,kBAA+C;AAC/C,4BAAoD;AACpD,IAAAA,kBAIO;AACP,0BAA2C;AAC3C,IAAAA,kBAAiD;AACjD,wBAA0B;AAC1B,IAAAA,kBAA6C;AAC7C,+BAAqD;AACrD,IAAAA,kBAGO;AACP,mCAGO;AACP,IAAAA,kBAAiE;AACjE,0BAIO;AACP,IAAAA,kBAAiD;AACjD,oCAGO;AAIP,oCAGO;AAGA,MAAM,WAAW;",
6
6
  "names": ["import_options", "import_ricos_editor", "import_ricos_types", "import_ricos_viewer_next", "import_viewer"]
7
7
  }
@@ -22,13 +22,13 @@ __export(ai_content_modal_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(ai_content_modal_exports);
24
24
  var ai_content_modal_default = {
25
- "content": "QMPFR",
26
- "contentScrollReverse": "SP9nl",
27
- "label": "fjoMF",
28
- "padded": "WlpWH",
29
- "loading": "Lj-R-",
30
- "listWrapper": "_3dCvB",
31
- "visible": "axebo",
32
- "footer": "xOfJh"
25
+ "content": "mQniY",
26
+ "contentScrollReverse": "uMiLw",
27
+ "label": "_3N5Qm",
28
+ "padded": "_9gapj",
29
+ "loading": "qOGZE",
30
+ "listWrapper": "zyBtk",
31
+ "visible": "Dlhwz",
32
+ "footer": "hJcDe"
33
33
  };
34
34
  //# sourceMappingURL=ai-content-modal-scss.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/plugin-ai/ai-content-modal/ai-content-modal.scss"],
4
- "sourcesContent": ["export default {\n \"content\": \"QMPFR\",\n \"contentScrollReverse\": \"SP9nl\",\n \"label\": \"fjoMF\",\n \"padded\": \"WlpWH\",\n \"loading\": \"Lj-R-\",\n \"listWrapper\": \"_3dCvB\",\n \"visible\": \"axebo\",\n \"footer\": \"xOfJh\"\n};"],
4
+ "sourcesContent": ["export default {\n \"content\": \"mQniY\",\n \"contentScrollReverse\": \"uMiLw\",\n \"label\": \"_3N5Qm\",\n \"padded\": \"_9gapj\",\n \"loading\": \"qOGZE\",\n \"listWrapper\": \"zyBtk\",\n \"visible\": \"Dlhwz\",\n \"footer\": \"hJcDe\"\n};"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAO,2BAAQ;AAAA,EACb,WAAW;AAAA,EACX,wBAAwB;AAAA,EACxB,SAAS;AAAA,EACT,UAAU;AAAA,EACV,WAAW;AAAA,EACX,eAAe;AAAA,EACf,WAAW;AAAA,EACX,UAAU;AACZ;",
6
6
  "names": []
7
7
  }
@@ -36,6 +36,6 @@ var import_react = __toESM(require("react"));
36
36
  var import_ricos_context = require("./../../../ricos-context/index.js");
37
37
  const Disclaimer = () => {
38
38
  const { t } = (0, import_react.useContext)(import_ricos_context.RicosContext);
39
- return /* @__PURE__ */ import_react.default.createElement(import_design_system.Text, { size: "tiny", skin: "disabled" }, t("AIPlugin_ResultsDisclaimer_Text"));
39
+ return /* @__PURE__ */ import_react.default.createElement(import_design_system.Text, { size: "tiny", skin: "standard", secondary: true, light: true }, t("AIPlugin_ResultsDisclaimer_Text"));
40
40
  };
41
41
  //# sourceMappingURL=disclaimer.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/plugin-ai/ai-content-modal/disclaimer/disclaimer.tsx"],
4
- "sourcesContent": ["import { Text } from '@wix/design-system';\nimport React, { useContext } from 'react';\n\nimport { RicosContext } from './../../../ricos-context/index.js';\n\nexport const Disclaimer: React.FC = () => {\n const { t } = useContext(RicosContext);\n return (\n <Text size=\"tiny\" skin=\"disabled\">\n {t('AIPlugin_ResultsDisclaimer_Text')}\n </Text>\n );\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAqB;AACrB,mBAAkC;AAElC,2BAA6B;AAEtB,MAAM,aAAuB,MAAM;AACxC,QAAM,EAAE,EAAE,QAAI,yBAAW,iCAAY;AACrC,SACE,6BAAAA,QAAA,cAAC,6BAAK,MAAK,QAAO,MAAK,cACpB,EAAE,iCAAiC,CACtC;AAEJ;",
4
+ "sourcesContent": ["import { Text } from '@wix/design-system';\nimport React, { useContext } from 'react';\n\nimport { RicosContext } from './../../../ricos-context/index.js';\n\nexport const Disclaimer: React.FC = () => {\n const { t } = useContext(RicosContext);\n return (\n <Text size=\"tiny\" skin=\"standard\" secondary light>\n {t('AIPlugin_ResultsDisclaimer_Text')}\n </Text>\n );\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,2BAAqB;AACrB,mBAAkC;AAElC,2BAA6B;AAEtB,MAAM,aAAuB,MAAM;AACxC,QAAM,EAAE,EAAE,QAAI,yBAAW,iCAAY;AACrC,SACE,6BAAAA,QAAA,cAAC,6BAAK,MAAK,QAAO,MAAK,YAAW,WAAS,MAAC,OAAK,QAC9C,EAAE,iCAAiC,CACtC;AAEJ;",
6
6
  "names": ["React"]
7
7
  }
@@ -22,7 +22,7 @@ __export(feed_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(feed_exports);
24
24
  var feed_default = {
25
- "label": "QUn40",
26
- "entry": "E8PgY"
25
+ "label": "APmu6",
26
+ "entry": "CDcva"
27
27
  };
28
28
  //# sourceMappingURL=feed-scss.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/plugin-ai/ai-content-modal/feed/feed.scss"],
4
- "sourcesContent": ["export default {\n \"label\": \"QUn40\",\n \"entry\": \"E8PgY\"\n};"],
4
+ "sourcesContent": ["export default {\n \"label\": \"APmu6\",\n \"entry\": \"CDcva\"\n};"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAO,eAAQ;AAAA,EACb,SAAS;AAAA,EACT,SAAS;AACX;",
6
6
  "names": []
7
7
  }