@wix/ricos 11.20.1 → 11.20.2

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 (1049) hide show
  1. package/css/all-plugins-viewer.css +167 -167
  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/{ricos-common-plugins/font-size/types.js → _shared/format-font-size.js} +11 -3
  57. package/dist/cjs/_shared/format-font-size.js.map +7 -0
  58. package/dist/cjs/_shared/get-px-font-size.js +26 -0
  59. package/dist/cjs/_shared/get-px-font-size.js.map +7 -0
  60. package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js +1 -1
  61. package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
  62. package/dist/cjs/_shared/list-item-select/list-item-select-scss.js +2 -2
  63. package/dist/cjs/_shared/list-item-select/list-item-select-scss.js.map +1 -1
  64. package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js +3 -3
  65. package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
  66. package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js +1 -1
  67. package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
  68. package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +2 -2
  69. package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
  70. package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +2 -2
  71. package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
  72. package/dist/cjs/_shared/pm-node-types.js.map +2 -2
  73. package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +7 -7
  74. package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
  75. package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js +13 -13
  76. package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  77. package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js +8 -8
  78. package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
  79. package/dist/cjs/_shared/resolvers/get-font-size-in-selection.js +28 -34
  80. package/dist/cjs/_shared/resolvers/get-font-size-in-selection.js.map +2 -2
  81. package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js +7 -7
  82. package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
  83. package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js +2 -2
  84. package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
  85. package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js +3 -3
  86. package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
  87. package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js +4 -4
  88. package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js.map +1 -1
  89. package/dist/cjs/editor-common/statics/styles/general-scss.js +18 -18
  90. package/dist/cjs/editor-common/statics/styles/general-scss.js.map +1 -1
  91. package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js +8 -8
  92. package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
  93. package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js +2 -2
  94. package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
  95. package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +1 -1
  96. package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
  97. package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +2 -2
  98. package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
  99. package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +5 -5
  100. package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
  101. package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js +6 -6
  102. package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
  103. package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js +1 -1
  104. package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
  105. package/dist/cjs/plugin-ai/error-message/error-message-scss.js +1 -1
  106. package/dist/cjs/plugin-ai/error-message/error-message-scss.js.map +1 -1
  107. package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js +4 -4
  108. package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  109. package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js +2 -2
  110. package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
  111. package/dist/cjs/plugin-animation/animation-panel-scss.js +9 -9
  112. package/dist/cjs/plugin-animation/animation-panel-scss.js.map +1 -1
  113. package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js +1 -1
  114. package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
  115. package/dist/cjs/plugin-audio/statics/styles/audio-scss.js +21 -21
  116. package/dist/cjs/plugin-audio/statics/styles/audio-scss.js.map +1 -1
  117. package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js +1 -1
  118. package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
  119. package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js +1 -1
  120. package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
  121. package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js +2 -2
  122. package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
  123. package/dist/cjs/plugin-block-drag-handle/styles-scss.js +8 -8
  124. package/dist/cjs/plugin-block-drag-handle/styles-scss.js.map +1 -1
  125. package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js +2 -2
  126. package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
  127. package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js +3 -3
  128. package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
  129. package/dist/cjs/plugin-button/statics/styles/settings-component-scss.js +1 -1
  130. package/dist/cjs/plugin-button/statics/styles/settings-component-scss.js.map +1 -1
  131. package/dist/cjs/plugin-card/card-scss.js +19 -19
  132. package/dist/cjs/plugin-card/card-scss.js.map +1 -1
  133. package/dist/cjs/plugin-card/card-viewer-scss.js +6 -6
  134. package/dist/cjs/plugin-card/card-viewer-scss.js.map +1 -1
  135. package/dist/cjs/plugin-code-block/code-block-converter.js +20 -10
  136. package/dist/cjs/plugin-code-block/code-block-converter.js.map +2 -2
  137. package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js +6 -6
  138. package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
  139. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
  140. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
  141. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
  142. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
  143. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +2 -2
  144. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
  145. package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +3 -3
  146. package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
  147. package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
  148. package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
  149. package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js +1 -1
  150. package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
  151. package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js +1 -1
  152. package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
  153. package/dist/cjs/plugin-figure/tiptap/caption-scss.js +3 -3
  154. package/dist/cjs/plugin-figure/tiptap/caption-scss.js.map +1 -1
  155. package/dist/cjs/plugin-figure/tiptap/figure-scss.js +3 -3
  156. package/dist/cjs/plugin-figure/tiptap/figure-scss.js.map +1 -1
  157. package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
  158. package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
  159. package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +3 -3
  160. package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
  161. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +6 -6
  162. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
  163. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +5 -5
  164. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
  165. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +1 -1
  166. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
  167. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +3 -3
  168. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
  169. package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js +1 -1
  170. package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
  171. package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
  172. package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
  173. package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js +1 -1
  174. package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
  175. package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js +4 -4
  176. package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
  177. package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
  178. package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
  179. package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js +2 -2
  180. package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
  181. package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
  182. package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
  183. package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
  184. package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
  185. package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js +6 -6
  186. package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
  187. package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
  188. package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
  189. package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js +9 -9
  190. package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
  191. package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
  192. package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
  193. package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js +2 -2
  194. package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
  195. package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js +2 -2
  196. package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
  197. package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js +5 -5
  198. package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
  199. package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
  200. package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
  201. package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js +1 -1
  202. package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
  203. package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js +2 -2
  204. package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
  205. package/dist/cjs/plugin-html/tiptap/loader-scss.js +9 -9
  206. package/dist/cjs/plugin-html/tiptap/loader-scss.js.map +1 -1
  207. package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js +2 -2
  208. package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
  209. package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js +4 -4
  210. package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
  211. package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js +1 -1
  212. package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
  213. package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js +14 -14
  214. package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
  215. package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js +20 -20
  216. package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
  217. package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js +1 -1
  218. package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
  219. package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js +4 -4
  220. package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
  221. package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js +10 -10
  222. package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
  223. package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js +1 -1
  224. package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
  225. package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js +4 -4
  226. package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
  227. package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js +3 -3
  228. package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
  229. package/dist/cjs/plugin-inline-ai/modal-scss.js +9 -9
  230. package/dist/cjs/plugin-inline-ai/modal-scss.js.map +1 -1
  231. package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js +12 -12
  232. package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
  233. package/dist/cjs/plugin-inline-ai/spinner-scss.js +2 -2
  234. package/dist/cjs/plugin-inline-ai/spinner-scss.js.map +1 -1
  235. package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js +2 -2
  236. package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
  237. package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +1 -1
  238. package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
  239. package/dist/cjs/plugin-link/statics/link-viewer-scss.js +4 -4
  240. package/dist/cjs/plugin-link/statics/link-viewer-scss.js.map +1 -1
  241. package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js +1 -1
  242. package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
  243. package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js +1 -1
  244. package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
  245. package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
  246. package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
  247. package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js +1 -1
  248. package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
  249. package/dist/cjs/plugin-mentions/statics/mention-list-scss.js +3 -3
  250. package/dist/cjs/plugin-mentions/statics/mention-list-scss.js.map +1 -1
  251. package/dist/cjs/plugin-mentions/statics/mentions-scss.js +4 -4
  252. package/dist/cjs/plugin-mentions/statics/mentions-scss.js.map +1 -1
  253. package/dist/cjs/plugin-paywall/paywall-fallback-scss.js +1 -1
  254. package/dist/cjs/plugin-paywall/paywall-fallback-scss.js.map +1 -1
  255. package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js +22 -22
  256. package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
  257. package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
  258. package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
  259. package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
  260. package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
  261. package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js +20 -20
  262. package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
  263. package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js +7 -7
  264. package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
  265. package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js +1 -1
  266. package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
  267. package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js +50 -50
  268. package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
  269. package/dist/cjs/plugin-smart-block/components/stars-scss.js +8 -8
  270. package/dist/cjs/plugin-smart-block/components/stars-scss.js.map +1 -1
  271. package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js +7 -7
  272. package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
  273. package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js +13 -13
  274. package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
  275. package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
  276. package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
  277. package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js +1 -1
  278. package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
  279. package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
  280. package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
  281. package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js +23 -23
  282. package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
  283. package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
  284. package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
  285. package/dist/cjs/plugin-social-polls/components/poll-scss.js +19 -19
  286. package/dist/cjs/plugin-social-polls/components/poll-scss.js.map +1 -1
  287. package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js +2 -2
  288. package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
  289. package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
  290. package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
  291. package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
  292. package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
  293. package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
  294. package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
  295. package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js +5 -5
  296. package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
  297. package/dist/cjs/plugin-table/statics/styles/cell-scss.js +15 -15
  298. package/dist/cjs/plugin-table/statics/styles/cell-scss.js.map +1 -1
  299. package/dist/cjs/plugin-table/statics/styles/resizer-scss.js +18 -18
  300. package/dist/cjs/plugin-table/statics/styles/resizer-scss.js.map +1 -1
  301. package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js +1 -1
  302. package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
  303. package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js +6 -6
  304. package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
  305. package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js +9 -9
  306. package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
  307. package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js +33 -33
  308. package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
  309. package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js +2 -2
  310. package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
  311. package/dist/cjs/plugin-text-color/text-button-color-scss.js +2 -2
  312. package/dist/cjs/plugin-text-color/text-button-color-scss.js.map +1 -1
  313. package/dist/cjs/plugin-toc/toc-view-scss.js +2 -2
  314. package/dist/cjs/plugin-toc/toc-view-scss.js.map +1 -1
  315. package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
  316. package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
  317. package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js +23 -23
  318. package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
  319. package/dist/cjs/plugin-vertical-embed/components/card-scss.js +19 -19
  320. package/dist/cjs/plugin-vertical-embed/components/card-scss.js.map +1 -1
  321. package/dist/cjs/plugin-vertical-embed/components/description-scss.js +2 -2
  322. package/dist/cjs/plugin-vertical-embed/components/description-scss.js.map +1 -1
  323. package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js +2 -2
  324. package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
  325. package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js +10 -10
  326. package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
  327. package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js +1 -1
  328. package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
  329. package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
  330. package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
  331. package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js +8 -8
  332. package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
  333. package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js +3 -3
  334. package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
  335. package/dist/cjs/plugin-video/toolbar/embed-video-scss.js +1 -1
  336. package/dist/cjs/plugin-video/toolbar/embed-video-scss.js.map +1 -1
  337. package/dist/cjs/ricos-common-plugins/blockquote/blockquote-converter.js +13 -6
  338. package/dist/cjs/ricos-common-plugins/blockquote/blockquote-converter.js.map +2 -2
  339. package/dist/cjs/ricos-common-plugins/decoration-plugins/indentation-styling.js +1 -1
  340. package/dist/cjs/ricos-common-plugins/decoration-plugins/indentation-styling.js.map +2 -2
  341. package/dist/cjs/ricos-common-plugins/decoration-plugins/list-item-sizing.js +14 -11
  342. package/dist/cjs/ricos-common-plugins/decoration-plugins/list-item-sizing.js.map +2 -2
  343. package/dist/cjs/ricos-common-plugins/font-size/block-font-size-plugin.js +130 -0
  344. package/dist/cjs/ricos-common-plugins/font-size/block-font-size-plugin.js.map +7 -0
  345. package/dist/cjs/ricos-common-plugins/font-size/block-font-size.js +67 -0
  346. package/dist/cjs/ricos-common-plugins/font-size/block-font-size.js.map +7 -0
  347. package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +1 -1
  348. package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
  349. package/dist/cjs/ricos-common-plugins/font-size/extension.js +52 -10
  350. package/dist/cjs/ricos-common-plugins/font-size/extension.js.map +3 -3
  351. package/dist/cjs/ricos-common-plugins/font-size/font-size.js.map +2 -2
  352. package/dist/cjs/ricos-common-plugins/font-size/viewer.js +2 -2
  353. package/dist/cjs/ricos-common-plugins/font-size/viewer.js.map +2 -2
  354. package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +8 -8
  355. package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
  356. package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js +33 -33
  357. package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js.map +1 -1
  358. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +2 -2
  359. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
  360. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +4 -4
  361. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
  362. package/dist/cjs/ricos-common-plugins/paragraph/paragraph-converter.js +10 -4
  363. package/dist/cjs/ricos-common-plugins/paragraph/paragraph-converter.js.map +2 -2
  364. package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js +2 -2
  365. package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
  366. package/dist/cjs/ricos-common-plugins/statics/styles-scss.js +18 -18
  367. package/dist/cjs/ricos-common-plugins/statics/styles-scss.js.map +1 -1
  368. package/dist/cjs/ricos-common-plugins/title/heading-converter.js +12 -4
  369. package/dist/cjs/ricos-common-plugins/title/heading-converter.js.map +2 -2
  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-common-plugins/types.js.map +1 -1
  373. package/dist/cjs/ricos-content/converters/html/fromHtml/core/preprocess.js +4 -4
  374. package/dist/cjs/ricos-content/converters/html/fromHtml/core/preprocess.js.map +2 -2
  375. package/dist/cjs/ricos-content/index.js +0 -10
  376. package/dist/cjs/ricos-content/index.js.map +2 -2
  377. package/dist/cjs/ricos-content-query/get-anchorable-nodes-query.js +2 -2
  378. package/dist/cjs/ricos-content-query/get-anchorable-nodes-query.js.map +2 -2
  379. package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js +9 -9
  380. package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
  381. package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js +9 -9
  382. package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
  383. package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js +1 -1
  384. package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
  385. package/dist/cjs/ricos-modals/statics/styles/popper-scss.js +3 -3
  386. package/dist/cjs/ricos-modals/statics/styles/popper-scss.js.map +1 -1
  387. package/dist/cjs/ricos-schema/next-schema/index.js +3 -2
  388. package/dist/cjs/ricos-schema/next-schema/index.js.map +3 -3
  389. package/dist/cjs/ricos-schema/next-schema/version.js +1 -1
  390. package/dist/cjs/ricos-schema/next-schema/version.js.map +1 -1
  391. package/dist/cjs/ricos-shortcuts/keys.js +2 -2
  392. package/dist/cjs/ricos-shortcuts/keys.js.map +2 -2
  393. package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js +4 -4
  394. package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
  395. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
  396. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
  397. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
  398. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
  399. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.js +12 -4
  400. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.js.map +2 -2
  401. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
  402. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
  403. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.js +8 -3
  404. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.js.map +2 -2
  405. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
  406. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
  407. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js +8 -4
  408. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js.map +2 -2
  409. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
  410. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
  411. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
  412. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
  413. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.js +11 -3
  414. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.js.map +2 -2
  415. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
  416. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
  417. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
  418. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
  419. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +12 -12
  420. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
  421. package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js +16 -16
  422. package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
  423. package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js +7 -7
  424. package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
  425. package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
  426. package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
  427. package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js +2 -2
  428. package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
  429. package/dist/cjs/ricos-viewer-next/types.js.map +1 -1
  430. package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +2 -2
  431. package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
  432. package/dist/cjs/tiptap-editor/commands/update-text-node.js +7 -0
  433. package/dist/cjs/tiptap-editor/commands/update-text-node.js.map +2 -2
  434. package/dist/cjs/tiptap-editor/components/RicosTiptapEditor/ricos-tiptap-editor.js +2 -2
  435. package/dist/cjs/tiptap-editor/components/RicosTiptapEditor/ricos-tiptap-editor.js.map +2 -2
  436. package/dist/cjs/tiptap-editor/components/rich-content-adapter.js +9 -2
  437. package/dist/cjs/tiptap-editor/components/rich-content-adapter.js.map +2 -2
  438. package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +13 -13
  439. package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
  440. package/dist/cjs/tiptap-extensions/placeholder-scss.js +1 -1
  441. package/dist/cjs/tiptap-extensions/placeholder-scss.js.map +1 -1
  442. package/dist/cjs/tiptap-extensions/ricos-styles.js +6 -1
  443. package/dist/cjs/tiptap-extensions/ricos-styles.js.map +2 -2
  444. package/dist/cjs/tiptap-extensions/statics/styles-scss.js +4 -4
  445. package/dist/cjs/tiptap-extensions/statics/styles-scss.js.map +1 -1
  446. package/dist/cjs/tiptap-extensions/unique-id.js +1 -1
  447. package/dist/cjs/tiptap-extensions/unique-id.js.map +2 -2
  448. package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +1 -1
  449. package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
  450. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +3 -3
  451. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
  452. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +3 -3
  453. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
  454. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +4 -4
  455. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
  456. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +9 -9
  457. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
  458. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +1 -1
  459. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
  460. package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +1 -1
  461. package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
  462. package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +5 -5
  463. package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
  464. package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +6 -6
  465. package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
  466. package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +1 -1
  467. package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
  468. package/dist/cjs/toolbars-v3/ricos-toolbars/use-is-toolbar-empty.js +2 -2
  469. package/dist/cjs/toolbars-v3/ricos-toolbars/use-is-toolbar-empty.js.map +2 -2
  470. package/dist/cjs/ui-components/Components/Image-scss.js +1 -1
  471. package/dist/cjs/ui-components/Components/Image-scss.js.map +1 -1
  472. package/dist/cjs/ui-components/Components/double-loader-scss.js +4 -4
  473. package/dist/cjs/ui-components/Components/double-loader-scss.js.map +1 -1
  474. package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +2 -2
  475. package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
  476. package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +13 -13
  477. package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
  478. package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +1 -1
  479. package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
  480. package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +2 -2
  481. package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
  482. package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +2 -2
  483. package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
  484. package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +1 -1
  485. package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
  486. package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js +1 -1
  487. package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
  488. package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js +3 -3
  489. package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
  490. package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +1 -1
  491. package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
  492. package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +4 -4
  493. package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
  494. package/dist/cjs/ui-components/panel/panel-scss.js +2 -2
  495. package/dist/cjs/ui-components/panel/panel-scss.js.map +1 -1
  496. package/dist/cjs/ui-components/panel-header/panel-header-scss.js +1 -1
  497. package/dist/cjs/ui-components/panel-header/panel-header-scss.js.map +1 -1
  498. package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +1 -1
  499. package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
  500. package/dist/cjs/ui-components/statics/styles/generic-error-scss.js +1 -1
  501. package/dist/cjs/ui-components/statics/styles/generic-error-scss.js.map +1 -1
  502. package/dist/cjs/ui-components/statics/styles/loaders-scss.js +8 -8
  503. package/dist/cjs/ui-components/statics/styles/loaders-scss.js.map +1 -1
  504. package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js +3 -3
  505. package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
  506. package/dist/cjs/ui-components/statics/styles/slider-scss.js +5 -5
  507. package/dist/cjs/ui-components/statics/styles/slider-scss.js.map +1 -1
  508. package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js +1 -1
  509. package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
  510. package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js +16 -16
  511. package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
  512. package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js +1 -1
  513. package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
  514. package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js +11 -11
  515. package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
  516. package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js +5 -5
  517. package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js.map +1 -1
  518. package/dist/es/_shared/figure/add-caption-button-scss.js +11 -11
  519. package/dist/es/_shared/figure/add-caption-button-scss.js.map +1 -1
  520. package/dist/es/_shared/figure/viewer-caption-scss.js +2 -2
  521. package/dist/es/_shared/figure/viewer-caption-scss.js.map +1 -1
  522. package/dist/es/_shared/figure/viewer-figure-scss.js +1 -1
  523. package/dist/es/_shared/figure/viewer-figure-scss.js.map +1 -1
  524. package/dist/es/_shared/format-font-size.js +5 -0
  525. package/dist/es/_shared/format-font-size.js.map +7 -0
  526. package/dist/es/_shared/get-px-font-size.js +6 -0
  527. package/dist/es/_shared/get-px-font-size.js.map +7 -0
  528. package/dist/es/_shared/list-item-divider/list-item-divider-scss.js +3 -3
  529. package/dist/es/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
  530. package/dist/es/_shared/list-item-select/list-item-select-scss.js +4 -4
  531. package/dist/es/_shared/list-item-select/list-item-select-scss.js.map +1 -1
  532. package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js +5 -5
  533. package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
  534. package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js +3 -3
  535. package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
  536. package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +4 -4
  537. package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
  538. package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +4 -4
  539. package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
  540. package/dist/es/_shared/pm-node-types.js.map +2 -2
  541. package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +9 -9
  542. package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
  543. package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js +15 -15
  544. package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  545. package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js +10 -10
  546. package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
  547. package/dist/es/_shared/resolvers/get-font-size-in-selection.js +28 -34
  548. package/dist/es/_shared/resolvers/get-font-size-in-selection.js.map +2 -2
  549. package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js +9 -9
  550. package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
  551. package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js +4 -4
  552. package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
  553. package/dist/es/_shared/toolbar-button/toolbar-button-scss.js +5 -5
  554. package/dist/es/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
  555. package/dist/es/bundled-dependencies/ai-assistant-avatar.js +6 -6
  556. package/dist/es/bundled-dependencies/ai-assistant-avatar.js.map +1 -1
  557. package/dist/es/editor-common/statics/styles/general-scss.js +20 -20
  558. package/dist/es/editor-common/statics/styles/general-scss.js.map +1 -1
  559. package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js +10 -10
  560. package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
  561. package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js +4 -4
  562. package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
  563. package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +3 -3
  564. package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
  565. package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +4 -4
  566. package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
  567. package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +7 -7
  568. package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
  569. package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js +8 -8
  570. package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
  571. package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js +3 -3
  572. package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
  573. package/dist/es/plugin-ai/error-message/error-message-scss.js +3 -3
  574. package/dist/es/plugin-ai/error-message/error-message-scss.js.map +1 -1
  575. package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js +6 -6
  576. package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  577. package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js +4 -4
  578. package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
  579. package/dist/es/plugin-animation/animation-panel-scss.js +11 -11
  580. package/dist/es/plugin-animation/animation-panel-scss.js.map +1 -1
  581. package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js +3 -3
  582. package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
  583. package/dist/es/plugin-audio/statics/styles/audio-scss.js +21 -21
  584. package/dist/es/plugin-audio/statics/styles/audio-scss.js.map +1 -1
  585. package/dist/es/plugin-audio/statics/styles/icon-button-scss.js +1 -1
  586. package/dist/es/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
  587. package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js +3 -3
  588. package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
  589. package/dist/es/plugin-audio/statics/styles/sound-control-scss.js +2 -2
  590. package/dist/es/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
  591. package/dist/es/plugin-audio/viewer-styles-inject.js +4 -4
  592. package/dist/es/plugin-block-drag-handle/styles-scss.js +10 -10
  593. package/dist/es/plugin-block-drag-handle/styles-scss.js.map +1 -1
  594. package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js +4 -4
  595. package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
  596. package/dist/es/plugin-button/statics/styles/default-styles-scss.js +3 -3
  597. package/dist/es/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
  598. package/dist/es/plugin-button/statics/styles/settings-component-scss.js +3 -3
  599. package/dist/es/plugin-button/statics/styles/settings-component-scss.js.map +1 -1
  600. package/dist/es/plugin-button/viewer-styles-inject.js +2 -2
  601. package/dist/es/plugin-card/card-scss.js +19 -19
  602. package/dist/es/plugin-card/card-scss.js.map +1 -1
  603. package/dist/es/plugin-card/card-viewer-scss.js +6 -6
  604. package/dist/es/plugin-card/card-viewer-scss.js.map +1 -1
  605. package/dist/es/plugin-card/viewer-styles-inject.js +2 -2
  606. package/dist/es/plugin-code-block/code-block-converter.js +23 -10
  607. package/dist/es/plugin-code-block/code-block-converter.js.map +2 -2
  608. package/dist/es/plugin-code-block/statics/styles/code-block-scss.js +8 -8
  609. package/dist/es/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
  610. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
  611. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
  612. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
  613. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
  614. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +4 -4
  615. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
  616. package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +5 -5
  617. package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
  618. package/dist/es/plugin-collapsible-list/viewer-styles-inject.js +2 -2
  619. package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
  620. package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
  621. package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js +3 -3
  622. package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
  623. package/dist/es/plugin-divider/viewer-styles-inject.js +2 -2
  624. package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js +3 -3
  625. package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
  626. package/dist/es/plugin-figure/tiptap/caption-scss.js +5 -5
  627. package/dist/es/plugin-figure/tiptap/caption-scss.js.map +1 -1
  628. package/dist/es/plugin-figure/tiptap/figure-scss.js +5 -5
  629. package/dist/es/plugin-figure/tiptap/figure-scss.js.map +1 -1
  630. package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
  631. package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
  632. package/dist/es/plugin-file-upload/viewer-styles-inject.js +2 -2
  633. package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +5 -5
  634. package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
  635. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +8 -8
  636. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
  637. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +7 -7
  638. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
  639. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +3 -3
  640. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
  641. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +5 -5
  642. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
  643. package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js +3 -3
  644. package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
  645. package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
  646. package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
  647. package/dist/es/plugin-gallery/statics/styles/viewer-scss.js +1 -1
  648. package/dist/es/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
  649. package/dist/es/plugin-gallery/viewer/layout-column-scss.js +4 -4
  650. package/dist/es/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
  651. package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
  652. package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
  653. package/dist/es/plugin-gallery/viewer/layout-grid-scss.js +2 -2
  654. package/dist/es/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
  655. package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
  656. package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
  657. package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
  658. package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
  659. package/dist/es/plugin-gallery/viewer/layout-slider-scss.js +6 -6
  660. package/dist/es/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
  661. package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
  662. package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
  663. package/dist/es/plugin-gallery/viewer-styles-inject.js +2 -2
  664. package/dist/es/plugin-giphy/components/giphy-selector-scss.js +11 -11
  665. package/dist/es/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
  666. package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
  667. package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
  668. package/dist/es/plugin-giphy/viewer/play-icon-scss.js +2 -2
  669. package/dist/es/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
  670. package/dist/es/plugin-giphy/viewer-styles-inject.js +2 -2
  671. package/dist/es/plugin-hashtag/statics/hashtag-scss.js +2 -2
  672. package/dist/es/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
  673. package/dist/es/plugin-hashtag/viewer-styles-inject.js +2 -2
  674. package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js +9 -9
  675. package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
  676. package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
  677. package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
  678. package/dist/es/plugin-html/statics/styles/Iframe-scss.js +1 -1
  679. package/dist/es/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
  680. package/dist/es/plugin-html/tiptap/ai-widget-scss.js +4 -4
  681. package/dist/es/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
  682. package/dist/es/plugin-html/tiptap/loader-scss.js +11 -11
  683. package/dist/es/plugin-html/tiptap/loader-scss.js.map +1 -1
  684. package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js +4 -4
  685. package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
  686. package/dist/es/plugin-html/viewer-styles-inject.js +2 -2
  687. package/dist/es/plugin-image/components/corner-radius-handles-scss.js +6 -6
  688. package/dist/es/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
  689. package/dist/es/plugin-image/components/crop-edge-handles-scss.js +3 -3
  690. package/dist/es/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
  691. package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js +16 -16
  692. package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
  693. package/dist/es/plugin-image/statics/styles/image-viewer-scss.js +20 -20
  694. package/dist/es/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
  695. package/dist/es/plugin-image/statics/styles/settings-modal-scss.js +3 -3
  696. package/dist/es/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
  697. package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js +6 -6
  698. package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
  699. package/dist/es/plugin-image/viewer-styles-inject.js +2 -2
  700. package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js +12 -12
  701. package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
  702. package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js +3 -3
  703. package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
  704. package/dist/es/plugin-inline-ai/aria-surface-row-scss.js +6 -6
  705. package/dist/es/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
  706. package/dist/es/plugin-inline-ai/html-placeholder-scss.js +5 -5
  707. package/dist/es/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
  708. package/dist/es/plugin-inline-ai/modal-scss.js +11 -11
  709. package/dist/es/plugin-inline-ai/modal-scss.js.map +1 -1
  710. package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js +14 -14
  711. package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
  712. package/dist/es/plugin-inline-ai/spinner-scss.js +4 -4
  713. package/dist/es/plugin-inline-ai/spinner-scss.js.map +1 -1
  714. package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js +4 -4
  715. package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
  716. package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +3 -3
  717. package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
  718. package/dist/es/plugin-link/statics/link-viewer-scss.js +4 -4
  719. package/dist/es/plugin-link/statics/link-viewer-scss.js.map +1 -1
  720. package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js +3 -3
  721. package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
  722. package/dist/es/plugin-link/viewer-styles-inject.js +2 -2
  723. package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js +3 -3
  724. package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
  725. package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
  726. package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
  727. package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js +3 -3
  728. package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
  729. package/dist/es/plugin-link-preview/viewer-styles-inject.js +3 -3
  730. package/dist/es/plugin-mentions/statics/mention-list-scss.js +6 -6
  731. package/dist/es/plugin-mentions/statics/mention-list-scss.js.map +1 -1
  732. package/dist/es/plugin-mentions/statics/mentions-scss.js +4 -4
  733. package/dist/es/plugin-mentions/statics/mentions-scss.js.map +1 -1
  734. package/dist/es/plugin-mentions/viewer-styles-inject.js +2 -2
  735. package/dist/es/plugin-paywall/paywall-fallback-scss.js +1 -1
  736. package/dist/es/plugin-paywall/paywall-fallback-scss.js.map +1 -1
  737. package/dist/es/plugin-smart-block/components/cell-accessory-scss.js +22 -22
  738. package/dist/es/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
  739. package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
  740. package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
  741. package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
  742. package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
  743. package/dist/es/plugin-smart-block/components/cell-stat-scss.js +20 -20
  744. package/dist/es/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
  745. package/dist/es/plugin-smart-block/components/circle-donut-scss.js +7 -7
  746. package/dist/es/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
  747. package/dist/es/plugin-smart-block/components/shape-overlay-scss.js +3 -3
  748. package/dist/es/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
  749. package/dist/es/plugin-smart-block/components/smart-block-view-scss.js +50 -50
  750. package/dist/es/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
  751. package/dist/es/plugin-smart-block/components/stars-scss.js +8 -8
  752. package/dist/es/plugin-smart-block/components/stars-scss.js.map +1 -1
  753. package/dist/es/plugin-smart-block/modals/variant-picker-scss.js +9 -9
  754. package/dist/es/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
  755. package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js +15 -15
  756. package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
  757. package/dist/es/plugin-smart-block/viewer-styles-inject.js +2 -2
  758. package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
  759. package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
  760. package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js +3 -3
  761. package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
  762. package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
  763. package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
  764. package/dist/es/plugin-social-polls/components/poll-option/option-scss.js +23 -23
  765. package/dist/es/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
  766. package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
  767. package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
  768. package/dist/es/plugin-social-polls/components/poll-scss.js +19 -19
  769. package/dist/es/plugin-social-polls/components/poll-scss.js.map +1 -1
  770. package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js +4 -4
  771. package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
  772. package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
  773. package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
  774. package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
  775. package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
  776. package/dist/es/plugin-social-polls/viewer-styles-inject.js +2 -2
  777. package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
  778. package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
  779. package/dist/es/plugin-spoiler/viewer-styles-inject.js +2 -2
  780. package/dist/es/plugin-table/modals/table-grid-selector-scss.js +7 -7
  781. package/dist/es/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
  782. package/dist/es/plugin-table/statics/styles/cell-scss.js +15 -15
  783. package/dist/es/plugin-table/statics/styles/cell-scss.js.map +1 -1
  784. package/dist/es/plugin-table/statics/styles/resizer-scss.js +20 -20
  785. package/dist/es/plugin-table/statics/styles/resizer-scss.js.map +1 -1
  786. package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js +3 -3
  787. package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
  788. package/dist/es/plugin-table/statics/styles/table-viewer-scss.js +6 -6
  789. package/dist/es/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
  790. package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js +11 -11
  791. package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
  792. package/dist/es/plugin-table/tiptap/plugins/table-scss.js +35 -35
  793. package/dist/es/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
  794. package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js +4 -4
  795. package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
  796. package/dist/es/plugin-table/viewer-styles-inject.js +4 -4
  797. package/dist/es/plugin-text-color/text-button-color-scss.js +4 -4
  798. package/dist/es/plugin-text-color/text-button-color-scss.js.map +1 -1
  799. package/dist/es/plugin-toc/toc-view-scss.js +2 -2
  800. package/dist/es/plugin-toc/toc-view-scss.js.map +1 -1
  801. package/dist/es/plugin-toc/viewer-styles-inject.js +2 -2
  802. package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
  803. package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
  804. package/dist/es/plugin-vertical-embed/components/card-content-scss.js +23 -23
  805. package/dist/es/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
  806. package/dist/es/plugin-vertical-embed/components/card-scss.js +19 -19
  807. package/dist/es/plugin-vertical-embed/components/card-scss.js.map +1 -1
  808. package/dist/es/plugin-vertical-embed/components/description-scss.js +2 -2
  809. package/dist/es/plugin-vertical-embed/components/description-scss.js.map +1 -1
  810. package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js +4 -4
  811. package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
  812. package/dist/es/plugin-vertical-embed/tiptap/component-scss.js +12 -12
  813. package/dist/es/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
  814. package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js +3 -3
  815. package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
  816. package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
  817. package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
  818. package/dist/es/plugin-vertical-embed/viewer-styles-inject.js +3 -3
  819. package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js +10 -10
  820. package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
  821. package/dist/es/plugin-video/statics/styles/video-viewer-scss.js +3 -3
  822. package/dist/es/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
  823. package/dist/es/plugin-video/toolbar/embed-video-scss.js +3 -3
  824. package/dist/es/plugin-video/toolbar/embed-video-scss.js.map +1 -1
  825. package/dist/es/plugin-video/viewer-styles-inject.js +2 -2
  826. package/dist/es/ricos-common-plugins/blockquote/blockquote-converter.js +13 -6
  827. package/dist/es/ricos-common-plugins/blockquote/blockquote-converter.js.map +2 -2
  828. package/dist/es/ricos-common-plugins/decoration-plugins/indentation-styling.js +1 -1
  829. package/dist/es/ricos-common-plugins/decoration-plugins/indentation-styling.js.map +2 -2
  830. package/dist/es/ricos-common-plugins/decoration-plugins/list-item-sizing.js +14 -11
  831. package/dist/es/ricos-common-plugins/decoration-plugins/list-item-sizing.js.map +2 -2
  832. package/dist/es/ricos-common-plugins/font-size/block-font-size-plugin.js +110 -0
  833. package/dist/es/ricos-common-plugins/font-size/block-font-size-plugin.js.map +7 -0
  834. package/dist/es/ricos-common-plugins/font-size/block-font-size.js +49 -0
  835. package/dist/es/ricos-common-plugins/font-size/block-font-size.js.map +7 -0
  836. package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +3 -3
  837. package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
  838. package/dist/es/ricos-common-plugins/font-size/extension.js +56 -10
  839. package/dist/es/ricos-common-plugins/font-size/extension.js.map +3 -3
  840. package/dist/es/ricos-common-plugins/font-size/font-size.js.map +2 -2
  841. package/dist/es/ricos-common-plugins/font-size/viewer.js +2 -2
  842. package/dist/es/ricos-common-plugins/font-size/viewer.js.map +2 -2
  843. package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +10 -10
  844. package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
  845. package/dist/es/ricos-common-plugins/layout/layouts-scss.js +35 -35
  846. package/dist/es/ricos-common-plugins/layout/layouts-scss.js.map +1 -1
  847. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +4 -4
  848. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
  849. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +6 -6
  850. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
  851. package/dist/es/ricos-common-plugins/paragraph/paragraph-converter.js +10 -4
  852. package/dist/es/ricos-common-plugins/paragraph/paragraph-converter.js.map +2 -2
  853. package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js +4 -4
  854. package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
  855. package/dist/es/ricos-common-plugins/statics/styles-scss.js +20 -20
  856. package/dist/es/ricos-common-plugins/statics/styles-scss.js.map +1 -1
  857. package/dist/es/ricos-common-plugins/title/heading-converter.js +12 -4
  858. package/dist/es/ricos-common-plugins/title/heading-converter.js.map +2 -2
  859. package/dist/es/ricos-common-plugins/title/headings-scss.js +10 -10
  860. package/dist/es/ricos-common-plugins/title/headings-scss.js.map +1 -1
  861. package/dist/es/ricos-content/converters/html/fromHtml/core/preprocess.js +1 -1
  862. package/dist/es/ricos-content/converters/html/fromHtml/core/preprocess.js.map +1 -1
  863. package/dist/es/ricos-content/index.js +0 -20
  864. package/dist/es/ricos-content/index.js.map +2 -2
  865. package/dist/es/ricos-content-query/get-anchorable-nodes-query.js +1 -1
  866. package/dist/es/ricos-content-query/get-anchorable-nodes-query.js.map +1 -1
  867. package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js +11 -11
  868. package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
  869. package/dist/es/ricos-modals/statics/styles/drawer-scss.js +11 -11
  870. package/dist/es/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
  871. package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js +3 -3
  872. package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
  873. package/dist/es/ricos-modals/statics/styles/popper-scss.js +5 -5
  874. package/dist/es/ricos-modals/statics/styles/popper-scss.js.map +1 -1
  875. package/dist/es/ricos-schema/next-schema/index.js +3 -2
  876. package/dist/es/ricos-schema/next-schema/index.js.map +3 -3
  877. package/dist/es/ricos-schema/next-schema/version.js +1 -1
  878. package/dist/es/ricos-schema/next-schema/version.js.map +1 -1
  879. package/dist/es/ricos-shortcuts/keys.js +1 -1
  880. package/dist/es/ricos-shortcuts/keys.js.map +1 -1
  881. package/dist/es/ricos-styles/statics/styles/style-presets-scss.js +8 -8
  882. package/dist/es/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
  883. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
  884. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
  885. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
  886. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
  887. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.js +12 -4
  888. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.js.map +2 -2
  889. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
  890. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
  891. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.js +8 -3
  892. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.js.map +2 -2
  893. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
  894. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
  895. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js +8 -4
  896. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js.map +2 -2
  897. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
  898. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
  899. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
  900. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
  901. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.js +11 -3
  902. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.js.map +2 -2
  903. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
  904. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
  905. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
  906. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
  907. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +14 -14
  908. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
  909. package/dist/es/ricos-viewer-next/statics/alignment-scss.js +16 -16
  910. package/dist/es/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
  911. package/dist/es/ricos-viewer-next/statics/indentation-scss.js +7 -7
  912. package/dist/es/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
  913. package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
  914. package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
  915. package/dist/es/ricos-viewer-next/statics/rtl-scss.js +2 -2
  916. package/dist/es/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
  917. package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +4 -4
  918. package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
  919. package/dist/es/tiptap-editor/commands/update-text-node.js +7 -0
  920. package/dist/es/tiptap-editor/commands/update-text-node.js.map +2 -2
  921. package/dist/es/tiptap-editor/components/RicosTiptapEditor/ricos-tiptap-editor.js +1 -1
  922. package/dist/es/tiptap-editor/components/RicosTiptapEditor/ricos-tiptap-editor.js.map +1 -1
  923. package/dist/es/tiptap-editor/components/rich-content-adapter.js +9 -2
  924. package/dist/es/tiptap-editor/components/rich-content-adapter.js.map +2 -2
  925. package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +15 -15
  926. package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
  927. package/dist/es/tiptap-extensions/placeholder-scss.js +3 -3
  928. package/dist/es/tiptap-extensions/placeholder-scss.js.map +1 -1
  929. package/dist/es/tiptap-extensions/ricos-styles.js +6 -1
  930. package/dist/es/tiptap-extensions/ricos-styles.js.map +2 -2
  931. package/dist/es/tiptap-extensions/statics/styles-scss.js +6 -6
  932. package/dist/es/tiptap-extensions/statics/styles-scss.js.map +1 -1
  933. package/dist/es/tiptap-extensions/unique-id.js +1 -1
  934. package/dist/es/tiptap-extensions/unique-id.js.map +2 -2
  935. package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +3 -3
  936. package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
  937. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +5 -5
  938. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
  939. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +5 -5
  940. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
  941. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +6 -6
  942. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
  943. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +11 -11
  944. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
  945. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +3 -3
  946. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
  947. package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +5 -5
  948. package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
  949. package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +7 -7
  950. package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
  951. package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +8 -8
  952. package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
  953. package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +3 -3
  954. package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
  955. package/dist/es/toolbars-v3/ricos-toolbars/use-is-toolbar-empty.js +1 -1
  956. package/dist/es/toolbars-v3/ricos-toolbars/use-is-toolbar-empty.js.map +1 -1
  957. package/dist/es/ui-components/Components/Image-scss.js +3 -3
  958. package/dist/es/ui-components/Components/Image-scss.js.map +1 -1
  959. package/dist/es/ui-components/Components/double-loader-scss.js +6 -6
  960. package/dist/es/ui-components/Components/double-loader-scss.js.map +1 -1
  961. package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +4 -4
  962. package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
  963. package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +15 -15
  964. package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
  965. package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +3 -3
  966. package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
  967. package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +4 -4
  968. package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
  969. package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +4 -4
  970. package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
  971. package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +3 -3
  972. package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
  973. package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js +3 -3
  974. package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
  975. package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js +5 -5
  976. package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
  977. package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +3 -3
  978. package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
  979. package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +6 -6
  980. package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
  981. package/dist/es/ui-components/panel/panel-scss.js +4 -4
  982. package/dist/es/ui-components/panel/panel-scss.js.map +1 -1
  983. package/dist/es/ui-components/panel-header/panel-header-scss.js +3 -3
  984. package/dist/es/ui-components/panel-header/panel-header-scss.js.map +1 -1
  985. package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +3 -3
  986. package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
  987. package/dist/es/ui-components/statics/styles/generic-error-scss.js +3 -3
  988. package/dist/es/ui-components/statics/styles/generic-error-scss.js.map +1 -1
  989. package/dist/es/ui-components/statics/styles/loaders-scss.js +10 -10
  990. package/dist/es/ui-components/statics/styles/loaders-scss.js.map +1 -1
  991. package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js +5 -5
  992. package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
  993. package/dist/es/ui-components/statics/styles/slider-scss.js +9 -9
  994. package/dist/es/ui-components/statics/styles/slider-scss.js.map +1 -1
  995. package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js +3 -3
  996. package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
  997. package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js +18 -18
  998. package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
  999. package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js +3 -3
  1000. package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
  1001. package/dist/es/wix-rich-content-common/statics/styles/general-scss.js +13 -13
  1002. package/dist/es/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
  1003. package/dist/src/_shared/format-font-size.d.ts +8 -0
  1004. package/dist/src/_shared/format-font-size.d.ts.map +1 -0
  1005. package/dist/src/_shared/get-px-font-size.d.ts +5 -0
  1006. package/dist/src/_shared/get-px-font-size.d.ts.map +1 -0
  1007. package/dist/src/_shared/pm-node-types.d.ts +5 -1
  1008. package/dist/src/_shared/pm-node-types.d.ts.map +1 -1
  1009. package/dist/src/_shared/resolvers/get-font-size-in-selection.d.ts.map +1 -1
  1010. package/dist/src/plugin-code-block/code-block-converter.d.ts.map +1 -1
  1011. package/dist/src/ricos-common-plugins/blockquote/blockquote-converter.d.ts.map +1 -1
  1012. package/dist/src/ricos-common-plugins/decoration-plugins/list-item-sizing.d.ts +1 -1
  1013. package/dist/src/ricos-common-plugins/decoration-plugins/list-item-sizing.d.ts.map +1 -1
  1014. package/dist/src/ricos-common-plugins/font-size/block-font-size-plugin.d.ts +13 -0
  1015. package/dist/src/ricos-common-plugins/font-size/block-font-size-plugin.d.ts.map +1 -0
  1016. package/dist/src/ricos-common-plugins/font-size/block-font-size.d.ts +14 -0
  1017. package/dist/src/ricos-common-plugins/font-size/block-font-size.d.ts.map +1 -0
  1018. package/dist/src/ricos-common-plugins/font-size/extension.d.ts +1 -1
  1019. package/dist/src/ricos-common-plugins/font-size/extension.d.ts.map +1 -1
  1020. package/dist/src/ricos-common-plugins/font-size/font-size.d.ts +1 -1
  1021. package/dist/src/ricos-common-plugins/font-size/font-size.d.ts.map +1 -1
  1022. package/dist/src/ricos-common-plugins/font-size/viewer.d.ts +1 -1
  1023. package/dist/src/ricos-common-plugins/font-size/viewer.d.ts.map +1 -1
  1024. package/dist/src/ricos-common-plugins/paragraph/paragraph-converter.d.ts.map +1 -1
  1025. package/dist/src/ricos-common-plugins/title/heading-converter.d.ts.map +1 -1
  1026. package/dist/src/ricos-common-plugins/types.d.ts +1 -1
  1027. package/dist/src/ricos-common-plugins/types.d.ts.map +1 -1
  1028. package/dist/src/ricos-content/index.d.ts +0 -1
  1029. package/dist/src/ricos-content/index.d.ts.map +1 -1
  1030. package/dist/src/ricos-schema/next-schema/index.d.ts +2 -1
  1031. package/dist/src/ricos-schema/next-schema/index.d.ts.map +1 -1
  1032. package/dist/src/ricos-schema/next-schema/version.d.ts +1 -1
  1033. package/dist/src/ricos-styles/tests/test-cases.d.ts +5 -5
  1034. package/dist/src/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.d.ts.map +1 -1
  1035. package/dist/src/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.d.ts.map +1 -1
  1036. package/dist/src/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.d.ts.map +1 -1
  1037. package/dist/src/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.d.ts.map +1 -1
  1038. package/dist/src/ricos-viewer-next/types.d.ts +1 -1
  1039. package/dist/src/ricos-viewer-next/types.d.ts.map +1 -1
  1040. package/dist/src/tiptap-editor/commands/update-text-node.d.ts.map +1 -1
  1041. package/dist/src/tiptap-editor/components/rich-content-adapter.d.ts.map +1 -1
  1042. package/dist/src/tiptap-extensions/ricos-styles.d.ts.map +1 -1
  1043. package/dist/src/tiptap-extensions/unique-id.d.ts.map +1 -1
  1044. package/package.json +5 -3
  1045. package/dist/cjs/ricos-common-plugins/font-size/types.js.map +0 -7
  1046. package/dist/es/ricos-common-plugins/font-size/types.js +0 -1
  1047. package/dist/es/ricos-common-plugins/font-size/types.js.map +0 -7
  1048. package/dist/src/ricos-common-plugins/font-size/types.d.ts +0 -4
  1049. package/dist/src/ricos-common-plugins/font-size/types.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/tiptap-extensions/placeholder.scss"],
4
- "sourcesContent": ["var styleDataHash = 'e26da9f4'; \nexport const injectCss = (() => {\n var css = `.cbUL4{height:100%;position:relative}.cbUL4>[data-placeholder]{float:none;height:0;justify-content:center;left:0;position:absolute;right:0;top:30%}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"alignCenter\": \"cbUL4\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = '7a173473'; \nexport const injectCss = (() => {\n var css = `._7Aahh{height:100%;position:relative}._7Aahh>[data-placeholder]{float:none;height:0;justify-content:center;left:0;position:absolute;right:0;top:30%}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"alignCenter\": \"_7Aahh\"\n};"],
5
5
  "mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,sBAAQ;AAAA,EACb,eAAe;AACjB;",
6
6
  "names": []
7
7
  }
@@ -162,7 +162,12 @@ const ricosStyles = createRicosFunctionalExtension({
162
162
  return true;
163
163
  },
164
164
  unsetAllDocumentStyleAttrsByNode: (node, pos) => ({ tr }) => {
165
- const { style: _removedStyle, textStyle, ...restAttrs } = node.attrs;
165
+ const {
166
+ style: _removedStyle,
167
+ fontSize: _removedFontSize,
168
+ textStyle,
169
+ ...restAttrs
170
+ } = node.attrs;
166
171
  const attrs = textStyle && typeof textStyle === "object" ? {
167
172
  ...restAttrs,
168
173
  textStyle: (({ lineHeight: _removedLineHeight, ...textStyleRest }) => textStyleRest)(textStyle)
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/tiptap-extensions/ricos-styles.ts"],
4
- "sourcesContent": ["import type { PmConverters } from './../pm-converters/collect.js';\nimport type { Decoration, Decoration_Type, DocumentStyle, Node } from './../ricos-schema/legacy/wix/rich_content/v1/index.js';\nimport { Node_Type } from './../ricos-schema/legacy/wix/rich_content/v1/index.js';\nimport type { TextBlockNodeType } from './../ricos-styles/index.js';\nimport { DocumentStyle as RicosDocumentStyle } from './../ricos-styles/index.js';\nimport type {\n AmbientStyles,\n ExtensionProps,\n HeadingNode,\n ParagraphNode,\n RicosExtension,\n} from './../ricos-types/index.js';\nimport { Mark_Type } from './../ricos-types/index.js';\nimport type { PmHeadingNode, PmParagraphNode } from './../_shared/pm-node-types.js';\nimport { getMarksBetween } from './../tiptap/index.js';\nimport type { CommandProps, Editor, ExtensionConfig } from './../tiptap/core/index.js';\nimport type { Node as ProseMirrorNode } from './../tiptap/pm/model.js';\nimport type { EditorState } from './../tiptap/pm/state.js';\nimport { Step, StepResult } from './../tiptap/pm/transform.js';\nimport type { TiptapAdapterServices } from './../tiptap-editor/initialize-tiptap-adapter.js';\n\nimport { createRicosFunctionalExtension } from './create-ricos-extension/index.js';\n\nconst STEP_TYPE = 'setDocAttr';\n\nconst DOCUMENT_STYLES_MARKS = [\n Mark_Type.BOLD,\n Mark_Type.ITALIC,\n Mark_Type.COLOR_BACKGROUND,\n Mark_Type.COLOR_FOREGROUND,\n Mark_Type.FONT_SIZE,\n] as string[];\n\n// adapted from https://discuss.prosemirror.net/t/changing-doc-attrs/784\nclass SetDocAttrStep extends Step {\n private prevValue: $TSFixMe;\n\n constructor(\n private key: string,\n private value: $TSFixMe\n ) {\n super();\n this.key = key;\n this.value = value;\n }\n\n get stepType() {\n return STEP_TYPE;\n }\n\n apply(doc: $TSFixMe) {\n this.prevValue = doc.attrs[this.key];\n // avoid clobbering doc.type.defaultAttrs\n if (doc.attrs === doc.type.defaultAttrs) {\n doc.attrs = Object.assign({}, doc.attrs);\n }\n doc.attrs[this.key] = this.value;\n return StepResult.ok(doc);\n }\n\n invert() {\n return new SetDocAttrStep(this.key, this.prevValue);\n }\n\n // position never changes so map should always return same step\n map() {\n return this;\n }\n\n toJSON() {\n return {\n stepType: this.stepType,\n key: this.key,\n value: this.value,\n };\n }\n\n static fromJSON(schema: $TSFixMe, json: $TSFixMe) {\n return new SetDocAttrStep(json.key, json.value);\n }\n\n static register() {\n try {\n Step.jsonID(STEP_TYPE, SetDocAttrStep);\n } catch (err) {\n if ((err as Error).message !== `Duplicate use of step JSON ID ${STEP_TYPE}`) {\n throw err;\n }\n }\n return true;\n }\n}\n\ndeclare module './../tiptap/core' {\n interface Commands<ReturnType> {\n styles: {\n /**\n * returns decoration object from selected node according to ricos-styles\n */\n getStylesDecorationBySelectedNode: (\n decorationType: Decoration_Type\n ) => (props: CommandProps) => Decoration | undefined;\n /**\n * updates the document style\n */\n updateDocumentStyle: (documentStyle: DocumentStyle) => ReturnType;\n /**\n * updates the document style according to the selected node\n */\n updateDocumentStyleBySelectedNode: () => ReturnType;\n /**\n * remove all marks that are defined in the document style (bold, italic, color, font size)\n */\n unsetAllDocumentStyleMarksByNode: (node: ProseMirrorNode) => ReturnType;\n /**\n * remove all attibutes that are defined in the document style (paddingTop,paddingBottom,lineHeight)\n */\n unsetAllDocumentStyleAttrsByNode: (node: ProseMirrorNode, pos: number) => ReturnType;\n /**\n * reset the document style of a given nodeType\n */\n resetDocumentStyleByNodeType: (nodeType: TextBlockNodeType) => ReturnType;\n };\n }\n}\n\nexport const getStylesDecorationBySelectedNode = (\n decorationType: Decoration_Type,\n {\n state,\n styles,\n pmConverters,\n }: { state: EditorState; styles: AmbientStyles; pmConverters: PmConverters }\n) => {\n const { from, to } = state.selection;\n let node: Node | undefined;\n state.doc.nodesBetween(from, to, currNode => {\n if ([Node_Type.PARAGRAPH, Node_Type.HEADING].includes(currNode?.type?.name as any)) {\n node = pmConverters.fromPmNode(currNode.toJSON()) as unknown as Node;\n return false;\n }\n });\n return node && styles.getDecoration(node as ParagraphNode | HeadingNode, decorationType);\n};\n\nexport const getLineHeightStyleBySelectedNode = ({\n tiptapEditor,\n styles,\n}: {\n tiptapEditor: Editor;\n styles: AmbientStyles;\n}) => {\n const { state, view } = tiptapEditor;\n const { from, to, $from } = state.selection;\n\n const domNode = $from.depth > 0 ? view.nodeDOM($from.before($from.depth)) : null;\n\n let node: PmParagraphNode | PmHeadingNode | undefined;\n\n state.doc.nodesBetween(from, to, currNode => {\n if ([Node_Type.PARAGRAPH, Node_Type.HEADING].includes(currNode?.type?.name as any)) {\n node = currNode.toJSON() as PmParagraphNode | PmHeadingNode;\n return false;\n }\n });\n\n return node ? styles.getComputedLineHeight(node, domNode as HTMLElement) : undefined;\n};\n\nexport const ricosStyles = createRicosFunctionalExtension<{\n styles: AmbientStyles;\n converters: PmConverters;\n}>({\n type: 'extension',\n groups: [],\n name: 'ricos-styles-commands',\n reconfigure: (\n config: ExtensionConfig,\n _extensions: RicosExtension[],\n _ricosProps: ExtensionProps,\n _settings: Record<string, unknown>,\n services: TiptapAdapterServices\n ) => {\n return {\n ...config,\n addOptions() {\n return {\n styles: services.styles,\n converters: services.converters,\n };\n },\n };\n },\n createExtensionConfig() {\n return {\n name: this.name,\n addCommands() {\n return {\n getStylesDecorationBySelectedNode:\n (decorationType: Decoration_Type) =>\n ({ state }) => {\n const { from, to } = state.selection;\n let node: Node | undefined;\n state.doc.nodesBetween(from, to, currNode => {\n if (\n [Node_Type.PARAGRAPH, Node_Type.HEADING].includes(currNode?.type?.name as any)\n ) {\n node = this.options.converters.fromPmNode(currNode.toJSON()) as unknown as Node;\n return false;\n }\n });\n return (\n node &&\n this.options.styles.getDecoration(\n node as ParagraphNode | HeadingNode,\n decorationType\n )\n );\n },\n updateDocumentStyleBySelectedNode:\n () =>\n ({ state, chain }) => {\n const { from, to } = state.selection;\n let node: Node | undefined, proseNode: ProseMirrorNode | undefined;\n\n state.doc.nodesBetween(from, to, currNode => {\n if (\n [Node_Type.PARAGRAPH, Node_Type.HEADING].includes(currNode?.type?.name as any)\n ) {\n node = this.options.converters.fromPmNode(currNode.toJSON()) as unknown as Node;\n proseNode = currNode;\n\n return false;\n }\n });\n if (!proseNode || !node || !RicosDocumentStyle.isNodeTransformable(node)) {\n return false;\n }\n\n const documentStyleEntity = RicosDocumentStyle.fromNode(node);\n\n return chain()\n .focus()\n .updateDocumentStyle(documentStyleEntity.toContent())\n .command(({ state, commands }) => {\n state.doc.descendants((node, pos) => {\n if (\n node.isTextblock &&\n node.type.name === (proseNode as ProseMirrorNode).type.name\n ) {\n commands.unsetAllDocumentStyleMarksByNode(node);\n commands.unsetAllDocumentStyleAttrsByNode(node, pos);\n }\n });\n return true;\n })\n\n .run();\n },\n unsetAllDocumentStyleMarksByNode:\n (node: ProseMirrorNode) =>\n ({ editor, tr, state }) => {\n const nodeElement = document.body.querySelector(`[data-ricos-id=\"${node.attrs.id}\"]`);\n if (nodeElement) {\n const start = editor.view.posAtDOM(nodeElement, 0);\n const end = start + node.content.size;\n\n getMarksBetween(start, end, state.doc).forEach(markRang => {\n if (DOCUMENT_STYLES_MARKS.includes(markRang.mark.type.name)) {\n tr.removeMark(start, end, markRang.mark);\n }\n });\n }\n return true;\n },\n unsetAllDocumentStyleAttrsByNode:\n (node: ProseMirrorNode, pos: number) =>\n ({ tr }) => {\n const { style: _removedStyle, textStyle, ...restAttrs } = node.attrs;\n const attrs =\n textStyle && typeof textStyle === 'object'\n ? {\n ...restAttrs,\n textStyle: (({ lineHeight: _removedLineHeight, ...textStyleRest }) =>\n textStyleRest)(textStyle),\n }\n : restAttrs;\n tr.setNodeMarkup(pos, undefined, attrs);\n return true;\n },\n resetDocumentStyleByNodeType:\n nodeType =>\n ({ state }) => {\n const updatedDocumentStyle = new RicosDocumentStyle(state.doc.attrs.documentStyle)\n .resetStyle(nodeType)\n .toContent();\n\n state.tr.step(new SetDocAttrStep('documentStyle', updatedDocumentStyle));\n this.options.styles.setDocumentStyle(updatedDocumentStyle);\n return true;\n },\n updateDocumentStyle:\n (documentStyle: DocumentStyle) =>\n ({ state }) => {\n const updatedDocumentStyle = new RicosDocumentStyle(state.doc.attrs.documentStyle)\n .mergeWith(documentStyle)\n .toContent();\n state.tr.step(new SetDocAttrStep('documentStyle', updatedDocumentStyle));\n this.options.styles.setDocumentStyle(updatedDocumentStyle);\n return true;\n },\n };\n },\n };\n },\n});\n"],
5
- "mappings": "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",
4
+ "sourcesContent": ["import type { PmConverters } from './../pm-converters/collect.js';\nimport type { Decoration, Decoration_Type, DocumentStyle, Node } from './../ricos-schema/legacy/wix/rich_content/v1/index.js';\nimport { Node_Type } from './../ricos-schema/legacy/wix/rich_content/v1/index.js';\nimport type { TextBlockNodeType } from './../ricos-styles/index.js';\nimport { DocumentStyle as RicosDocumentStyle } from './../ricos-styles/index.js';\nimport type {\n AmbientStyles,\n ExtensionProps,\n HeadingNode,\n ParagraphNode,\n RicosExtension,\n} from './../ricos-types/index.js';\nimport { Mark_Type } from './../ricos-types/index.js';\nimport type { PmHeadingNode, PmParagraphNode } from './../_shared/pm-node-types.js';\nimport { getMarksBetween } from './../tiptap/index.js';\nimport type { CommandProps, Editor, ExtensionConfig } from './../tiptap/core/index.js';\nimport type { Node as ProseMirrorNode } from './../tiptap/pm/model.js';\nimport type { EditorState } from './../tiptap/pm/state.js';\nimport { Step, StepResult } from './../tiptap/pm/transform.js';\nimport type { TiptapAdapterServices } from './../tiptap-editor/initialize-tiptap-adapter.js';\n\nimport { createRicosFunctionalExtension } from './create-ricos-extension/index.js';\n\nconst STEP_TYPE = 'setDocAttr';\n\nconst DOCUMENT_STYLES_MARKS = [\n Mark_Type.BOLD,\n Mark_Type.ITALIC,\n Mark_Type.COLOR_BACKGROUND,\n Mark_Type.COLOR_FOREGROUND,\n Mark_Type.FONT_SIZE,\n] as string[];\n\n// adapted from https://discuss.prosemirror.net/t/changing-doc-attrs/784\nclass SetDocAttrStep extends Step {\n private prevValue: $TSFixMe;\n\n constructor(\n private key: string,\n private value: $TSFixMe\n ) {\n super();\n this.key = key;\n this.value = value;\n }\n\n get stepType() {\n return STEP_TYPE;\n }\n\n apply(doc: $TSFixMe) {\n this.prevValue = doc.attrs[this.key];\n // avoid clobbering doc.type.defaultAttrs\n if (doc.attrs === doc.type.defaultAttrs) {\n doc.attrs = Object.assign({}, doc.attrs);\n }\n doc.attrs[this.key] = this.value;\n return StepResult.ok(doc);\n }\n\n invert() {\n return new SetDocAttrStep(this.key, this.prevValue);\n }\n\n // position never changes so map should always return same step\n map() {\n return this;\n }\n\n toJSON() {\n return {\n stepType: this.stepType,\n key: this.key,\n value: this.value,\n };\n }\n\n static fromJSON(schema: $TSFixMe, json: $TSFixMe) {\n return new SetDocAttrStep(json.key, json.value);\n }\n\n static register() {\n try {\n Step.jsonID(STEP_TYPE, SetDocAttrStep);\n } catch (err) {\n if ((err as Error).message !== `Duplicate use of step JSON ID ${STEP_TYPE}`) {\n throw err;\n }\n }\n return true;\n }\n}\n\ndeclare module './../tiptap/core' {\n interface Commands<ReturnType> {\n styles: {\n /**\n * returns decoration object from selected node according to ricos-styles\n */\n getStylesDecorationBySelectedNode: (\n decorationType: Decoration_Type\n ) => (props: CommandProps) => Decoration | undefined;\n /**\n * updates the document style\n */\n updateDocumentStyle: (documentStyle: DocumentStyle) => ReturnType;\n /**\n * updates the document style according to the selected node\n */\n updateDocumentStyleBySelectedNode: () => ReturnType;\n /**\n * remove all marks that are defined in the document style (bold, italic, color, font size)\n */\n unsetAllDocumentStyleMarksByNode: (node: ProseMirrorNode) => ReturnType;\n /**\n * remove all attibutes that are defined in the document style (paddingTop,paddingBottom,lineHeight)\n */\n unsetAllDocumentStyleAttrsByNode: (node: ProseMirrorNode, pos: number) => ReturnType;\n /**\n * reset the document style of a given nodeType\n */\n resetDocumentStyleByNodeType: (nodeType: TextBlockNodeType) => ReturnType;\n };\n }\n}\n\nexport const getStylesDecorationBySelectedNode = (\n decorationType: Decoration_Type,\n {\n state,\n styles,\n pmConverters,\n }: { state: EditorState; styles: AmbientStyles; pmConverters: PmConverters }\n) => {\n const { from, to } = state.selection;\n let node: Node | undefined;\n state.doc.nodesBetween(from, to, currNode => {\n if ([Node_Type.PARAGRAPH, Node_Type.HEADING].includes(currNode?.type?.name as any)) {\n node = pmConverters.fromPmNode(currNode.toJSON()) as unknown as Node;\n return false;\n }\n });\n return node && styles.getDecoration(node as ParagraphNode | HeadingNode, decorationType);\n};\n\nexport const getLineHeightStyleBySelectedNode = ({\n tiptapEditor,\n styles,\n}: {\n tiptapEditor: Editor;\n styles: AmbientStyles;\n}) => {\n const { state, view } = tiptapEditor;\n const { from, to, $from } = state.selection;\n\n const domNode = $from.depth > 0 ? view.nodeDOM($from.before($from.depth)) : null;\n\n let node: PmParagraphNode | PmHeadingNode | undefined;\n\n state.doc.nodesBetween(from, to, currNode => {\n if ([Node_Type.PARAGRAPH, Node_Type.HEADING].includes(currNode?.type?.name as any)) {\n node = currNode.toJSON() as PmParagraphNode | PmHeadingNode;\n return false;\n }\n });\n\n return node ? styles.getComputedLineHeight(node, domNode as HTMLElement) : undefined;\n};\n\nexport const ricosStyles = createRicosFunctionalExtension<{\n styles: AmbientStyles;\n converters: PmConverters;\n}>({\n type: 'extension',\n groups: [],\n name: 'ricos-styles-commands',\n reconfigure: (\n config: ExtensionConfig,\n _extensions: RicosExtension[],\n _ricosProps: ExtensionProps,\n _settings: Record<string, unknown>,\n services: TiptapAdapterServices\n ) => {\n return {\n ...config,\n addOptions() {\n return {\n styles: services.styles,\n converters: services.converters,\n };\n },\n };\n },\n createExtensionConfig() {\n return {\n name: this.name,\n addCommands() {\n return {\n getStylesDecorationBySelectedNode:\n (decorationType: Decoration_Type) =>\n ({ state }) => {\n const { from, to } = state.selection;\n let node: Node | undefined;\n state.doc.nodesBetween(from, to, currNode => {\n if (\n [Node_Type.PARAGRAPH, Node_Type.HEADING].includes(currNode?.type?.name as any)\n ) {\n node = this.options.converters.fromPmNode(currNode.toJSON()) as unknown as Node;\n return false;\n }\n });\n return (\n node &&\n this.options.styles.getDecoration(\n node as ParagraphNode | HeadingNode,\n decorationType\n )\n );\n },\n updateDocumentStyleBySelectedNode:\n () =>\n ({ state, chain }) => {\n const { from, to } = state.selection;\n let node: Node | undefined, proseNode: ProseMirrorNode | undefined;\n\n state.doc.nodesBetween(from, to, currNode => {\n if (\n [Node_Type.PARAGRAPH, Node_Type.HEADING].includes(currNode?.type?.name as any)\n ) {\n node = this.options.converters.fromPmNode(currNode.toJSON()) as unknown as Node;\n proseNode = currNode;\n\n return false;\n }\n });\n if (!proseNode || !node || !RicosDocumentStyle.isNodeTransformable(node)) {\n return false;\n }\n\n const documentStyleEntity = RicosDocumentStyle.fromNode(node);\n\n return chain()\n .focus()\n .updateDocumentStyle(documentStyleEntity.toContent())\n .command(({ state, commands }) => {\n state.doc.descendants((node, pos) => {\n if (\n node.isTextblock &&\n node.type.name === (proseNode as ProseMirrorNode).type.name\n ) {\n commands.unsetAllDocumentStyleMarksByNode(node);\n commands.unsetAllDocumentStyleAttrsByNode(node, pos);\n }\n });\n return true;\n })\n\n .run();\n },\n unsetAllDocumentStyleMarksByNode:\n (node: ProseMirrorNode) =>\n ({ editor, tr, state }) => {\n const nodeElement = document.body.querySelector(`[data-ricos-id=\"${node.attrs.id}\"]`);\n if (nodeElement) {\n const start = editor.view.posAtDOM(nodeElement, 0);\n const end = start + node.content.size;\n\n getMarksBetween(start, end, state.doc).forEach(markRang => {\n if (DOCUMENT_STYLES_MARKS.includes(markRang.mark.type.name)) {\n tr.removeMark(start, end, markRang.mark);\n }\n });\n }\n return true;\n },\n unsetAllDocumentStyleAttrsByNode:\n (node: ProseMirrorNode, pos: number) =>\n ({ tr }) => {\n // `fontSize` is `textStyle.fontSize` kept as its own attribute (see font-size extension)\n const {\n style: _removedStyle,\n fontSize: _removedFontSize,\n textStyle,\n ...restAttrs\n } = node.attrs;\n const attrs =\n textStyle && typeof textStyle === 'object'\n ? {\n ...restAttrs,\n textStyle: (({ lineHeight: _removedLineHeight, ...textStyleRest }) =>\n textStyleRest)(textStyle),\n }\n : restAttrs;\n tr.setNodeMarkup(pos, undefined, attrs);\n return true;\n },\n resetDocumentStyleByNodeType:\n nodeType =>\n ({ state }) => {\n const updatedDocumentStyle = new RicosDocumentStyle(state.doc.attrs.documentStyle)\n .resetStyle(nodeType)\n .toContent();\n\n state.tr.step(new SetDocAttrStep('documentStyle', updatedDocumentStyle));\n this.options.styles.setDocumentStyle(updatedDocumentStyle);\n return true;\n },\n updateDocumentStyle:\n (documentStyle: DocumentStyle) =>\n ({ state }) => {\n const updatedDocumentStyle = new RicosDocumentStyle(state.doc.attrs.documentStyle)\n .mergeWith(documentStyle)\n .toContent();\n state.tr.step(new SetDocAttrStep('documentStyle', updatedDocumentStyle));\n this.options.styles.setDocumentStyle(updatedDocumentStyle);\n return true;\n },\n };\n },\n };\n },\n});\n"],
5
+ "mappings": "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",
6
6
  "names": ["state", "node"]
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "eb38828a";
1
+ var styleDataHash = "8fe4be39";
2
2
  const injectCss = (() => {
3
- var css = `._4mFMm{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}._58DKk{color:var(--ricos-custom-link-color,var(--ricos-action-color,#116dff));font-family:var(--ricos-custom-link-font-family,unset);font-size:var(--ricos-custom-link-font-size,unset);font-style:var(--ricos-custom-link-font-style,unset);font-weight:var(--ricos-custom-link-font-weight,unset);letter-spacing:var(--ricos-custom-link-letter-spacing,unset);line-height:var(--ricos-custom-link-line-height,unset);min-height:var(--ricos-custom-link-min-height,unset);text-decoration:var(--ricos-custom-link-text-decoration,none)}[data-ricos-font~=link] ._58DKk{font:var(--ricos-custom-link-font)}[data-ricos-font~=link-font-style] ._58DKk{font-style:var(--ricos-custom-link-font-style)}[data-ricos-font~=link-font-weight] ._58DKk{font-weight:var(--ricos-custom-link-font-weight)}[data-ricos-font~=link-font-size] ._58DKk{font-size:var(--ricos-custom-link-font-size)}[data-ricos-font~=link-line-height] ._58DKk{line-height:var(--ricos-custom-link-line-height)}.CJd-E:hover{cursor:pointer}.vS4fa{color:var(--ricos-text-color,#212121)}.vS4fa.prosemirror-dropcursor-block:after,.vS4fa.prosemirror-dropcursor-block:before{border:2px solid #116dff;border-radius:50%;content:"";height:2px;position:absolute;top:50%;transform:translateY(-50%);width:2px}.vS4fa.prosemirror-dropcursor-block:before{left:0}.vS4fa.prosemirror-dropcursor-block:after{right:0}`;
3
+ var css = `.HQGdg{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.rbczJ{color:var(--ricos-custom-link-color,var(--ricos-action-color,#116dff));font-family:var(--ricos-custom-link-font-family,unset);font-size:var(--ricos-custom-link-font-size,unset);font-style:var(--ricos-custom-link-font-style,unset);font-weight:var(--ricos-custom-link-font-weight,unset);letter-spacing:var(--ricos-custom-link-letter-spacing,unset);line-height:var(--ricos-custom-link-line-height,unset);min-height:var(--ricos-custom-link-min-height,unset);text-decoration:var(--ricos-custom-link-text-decoration,none)}[data-ricos-font~=link] .rbczJ{font:var(--ricos-custom-link-font)}[data-ricos-font~=link-font-style] .rbczJ{font-style:var(--ricos-custom-link-font-style)}[data-ricos-font~=link-font-weight] .rbczJ{font-weight:var(--ricos-custom-link-font-weight)}[data-ricos-font~=link-font-size] .rbczJ{font-size:var(--ricos-custom-link-font-size)}[data-ricos-font~=link-line-height] .rbczJ{line-height:var(--ricos-custom-link-line-height)}.FC7ag:hover{cursor:pointer}.v-7J7{color:var(--ricos-text-color,#212121)}.v-7J7.prosemirror-dropcursor-block:after,.v-7J7.prosemirror-dropcursor-block:before{border:2px solid #116dff;border-radius:50%;content:"";height:2px;position:absolute;top:50%;transform:translateY(-50%);width:2px}.v-7J7.prosemirror-dropcursor-block:before{left:0}.v-7J7.prosemirror-dropcursor-block:after{right:0}`;
4
4
  var isTest = typeof process !== "undefined" && process.env && false;
5
5
  if (isTest || !css || typeof document === "undefined") {
6
6
  return;
@@ -21,10 +21,10 @@ const injectCss = (() => {
21
21
  });
22
22
  injectCss();
23
23
  var styles_default = {
24
- "fontElementMap": "_4mFMm",
25
- "link": "_58DKk",
26
- "linkInViewer": "CJd-E",
27
- "dropcursor": "vS4fa"
24
+ "fontElementMap": "HQGdg",
25
+ "link": "rbczJ",
26
+ "linkInViewer": "FC7ag",
27
+ "dropcursor": "v-7J7"
28
28
  };
29
29
  export {
30
30
  styles_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/tiptap-extensions/statics/styles.scss"],
4
- "sourcesContent": ["var styleDataHash = 'eb38828a'; \nexport const injectCss = (() => {\n var css = `._4mFMm{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}._58DKk{color:var(--ricos-custom-link-color,var(--ricos-action-color,#116dff));font-family:var(--ricos-custom-link-font-family,unset);font-size:var(--ricos-custom-link-font-size,unset);font-style:var(--ricos-custom-link-font-style,unset);font-weight:var(--ricos-custom-link-font-weight,unset);letter-spacing:var(--ricos-custom-link-letter-spacing,unset);line-height:var(--ricos-custom-link-line-height,unset);min-height:var(--ricos-custom-link-min-height,unset);text-decoration:var(--ricos-custom-link-text-decoration,none)}[data-ricos-font~=link] ._58DKk{font:var(--ricos-custom-link-font)}[data-ricos-font~=link-font-style] ._58DKk{font-style:var(--ricos-custom-link-font-style)}[data-ricos-font~=link-font-weight] ._58DKk{font-weight:var(--ricos-custom-link-font-weight)}[data-ricos-font~=link-font-size] ._58DKk{font-size:var(--ricos-custom-link-font-size)}[data-ricos-font~=link-line-height] ._58DKk{line-height:var(--ricos-custom-link-line-height)}.CJd-E:hover{cursor:pointer}.vS4fa{color:var(--ricos-text-color,#212121)}.vS4fa.prosemirror-dropcursor-block:after,.vS4fa.prosemirror-dropcursor-block:before{border:2px solid #116dff;border-radius:50%;content:\"\";height:2px;position:absolute;top:50%;transform:translateY(-50%);width:2px}.vS4fa.prosemirror-dropcursor-block:before{left:0}.vS4fa.prosemirror-dropcursor-block:after{right:0}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontElementMap\": \"_4mFMm\",\n \"link\": \"_58DKk\",\n \"linkInViewer\": \"CJd-E\",\n \"dropcursor\": \"vS4fa\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = '8fe4be39'; \nexport const injectCss = (() => {\n var css = `.HQGdg{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.rbczJ{color:var(--ricos-custom-link-color,var(--ricos-action-color,#116dff));font-family:var(--ricos-custom-link-font-family,unset);font-size:var(--ricos-custom-link-font-size,unset);font-style:var(--ricos-custom-link-font-style,unset);font-weight:var(--ricos-custom-link-font-weight,unset);letter-spacing:var(--ricos-custom-link-letter-spacing,unset);line-height:var(--ricos-custom-link-line-height,unset);min-height:var(--ricos-custom-link-min-height,unset);text-decoration:var(--ricos-custom-link-text-decoration,none)}[data-ricos-font~=link] .rbczJ{font:var(--ricos-custom-link-font)}[data-ricos-font~=link-font-style] .rbczJ{font-style:var(--ricos-custom-link-font-style)}[data-ricos-font~=link-font-weight] .rbczJ{font-weight:var(--ricos-custom-link-font-weight)}[data-ricos-font~=link-font-size] .rbczJ{font-size:var(--ricos-custom-link-font-size)}[data-ricos-font~=link-line-height] .rbczJ{line-height:var(--ricos-custom-link-line-height)}.FC7ag:hover{cursor:pointer}.v-7J7{color:var(--ricos-text-color,#212121)}.v-7J7.prosemirror-dropcursor-block:after,.v-7J7.prosemirror-dropcursor-block:before{border:2px solid #116dff;border-radius:50%;content:\"\";height:2px;position:absolute;top:50%;transform:translateY(-50%);width:2px}.v-7J7.prosemirror-dropcursor-block:before{left:0}.v-7J7.prosemirror-dropcursor-block:after{right:0}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontElementMap\": \"HQGdg\",\n \"link\": \"rbczJ\",\n \"linkInViewer\": \"FC7ag\",\n \"dropcursor\": \"v-7J7\"\n};"],
5
5
  "mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,iBAAQ;AAAA,EACb,kBAAkB;AAAA,EAClB,QAAQ;AAAA,EACR,gBAAgB;AAAA,EAChB,cAAc;AAChB;",
6
6
  "names": []
7
7
  }
@@ -67,7 +67,7 @@ const uniqueId = createRicosFunctionalExtension({
67
67
  const tr = newState.tr;
68
68
  const usedIds = {};
69
69
  const { selection } = oldState;
70
- const marks = selection.$to.parentOffset && selection.$from.marks();
70
+ const marks = newState.storedMarks ?? (selection.$to.parentOffset && selection.$from.marks());
71
71
  newState.doc.descendants((node, pos) => {
72
72
  const nodeId = node.attrs.id;
73
73
  const id = nodeId && !usedIds[nodeId] ? nodeId : generateId();
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/tiptap-extensions/unique-id.tsx"],
4
- "sourcesContent": ["import { generateId } from './../ricos-content/index.js';\nimport { Node_Type } from './../ricos-schema/legacy/wix/rich_content/v1/index.js';\nimport type { RicosExtension, RicosExtensionConfig } from './../ricos-types/index.js';\nimport type { Node as ProseMirrorNode } from './../tiptap/pm/model.js';\nimport type { Transaction } from './../tiptap/pm/state.js';\nimport { Plugin, PluginKey, TextSelection } from './../tiptap/pm/state.js';\nimport { browser } from './../editor-common/index.js';\n\nimport { createRicosFunctionalExtension } from './create-ricos-extension/index.js';\nimport { nodeElementStyleToTiptapTextStyle } from './text-style-converters.js';\n\nfunction minMax(value = 0, min = 0, max = 0): number {\n return Math.min(Math.max(value, min), max);\n}\n\n/*\n This fix a bug with Android when using setNodeType in appendTransaction.\n The bug is that the cursor is not positioned correctly after the transaction\n so we have to manually set the cursor position.\n*/\nconst handleAndroidEnterBug = (tr: Transaction, pos: number) => {\n const { doc } = tr;\n const { from, to } = { from: pos + 1, to: pos + 1 };\n\n const minPos = TextSelection.atStart(doc).from;\n const maxPos = TextSelection.atEnd(doc).to;\n const resolvedFrom = minMax(from, minPos, maxPos);\n const resolvedEnd = minMax(to, minPos, maxPos);\n const selection = TextSelection.create(doc, resolvedFrom, resolvedEnd);\n tr.setSelection(selection);\n};\n\nconst handleBlockquoteParagraphId = (node: ProseMirrorNode, usedIds: Record<string, boolean>) => {\n let paragraphId: string | undefined;\n let nodeParagraphId: string | undefined;\n let shouldUpdateBlockquoteParagraphId = false;\n if (node.type.name === Node_Type.BLOCKQUOTE) {\n nodeParagraphId = node.attrs.paragraphId;\n paragraphId = nodeParagraphId && !usedIds[nodeParagraphId] ? nodeParagraphId : generateId();\n\n shouldUpdateBlockquoteParagraphId = nodeParagraphId !== paragraphId;\n }\n return { paragraphId, shouldUpdateBlockquoteParagraphId };\n};\n\nexport const uniqueId = createRicosFunctionalExtension({\n type: 'extension',\n groups: [],\n name: 'unique-id',\n reconfigure(config: RicosExtensionConfig, extensions: RicosExtension[]) {\n return {\n ...config,\n addGlobalAttributes() {\n return [\n {\n types: extensions\n .filter(\n extension =>\n (extension.type === 'react-node' || extension.type === 'html-node') &&\n !extension.groups.includes('text')\n )\n .map(({ name }) => name),\n attributes: {\n id: {\n default: null,\n },\n },\n },\n ];\n },\n };\n },\n createExtensionConfig() {\n return {\n name: this.name,\n priority: 2, // should be before contentDiff\n addProseMirrorPlugins() {\n return [\n new Plugin({\n key: new PluginKey('unique-id'),\n appendTransaction: (_transactions, oldState, newState) => {\n if (newState.doc === oldState.doc) {\n return;\n }\n const tr = newState.tr;\n const usedIds: Record<string, boolean> = {};\n\n const { selection } = oldState;\n const marks = selection.$to.parentOffset && selection.$from.marks();\n\n newState.doc.descendants((node, pos) => {\n const nodeId: string = node.attrs.id;\n const id = nodeId && !usedIds[nodeId] ? nodeId : generateId();\n usedIds[id] = true;\n const shouldUpdate = nodeId !== id;\n\n const { paragraphId, shouldUpdateBlockquoteParagraphId } =\n handleBlockquoteParagraphId(node, usedIds);\n if (paragraphId) {\n usedIds[paragraphId] = true;\n }\n\n if (node.isBlock && (shouldUpdate || shouldUpdateBlockquoteParagraphId)) {\n /*\n Fix bug in Android when textStyle is not preserved in new lines.\n The styles arrived in node.attrs.style as string so we need to manually\n create the textStyle object.\n */\n if (browser.android && node.attrs.style) {\n const { style, textStyle } = nodeElementStyleToTiptapTextStyle(\n node.attrs.style\n );\n tr.setNodeMarkup(pos, undefined, {\n ...node.attrs,\n id,\n marks,\n style,\n textStyle,\n ...(paragraphId ? { paragraphId } : {}),\n });\n } else {\n tr.setNodeMarkup(pos, undefined, {\n ...node.attrs,\n id,\n marks,\n ...(paragraphId ? { paragraphId } : {}),\n });\n }\n tr.setMeta('unique-id', true); // do not remove this meta, it's used in content-diff\n\n // this should run before ensureMarks becasuse it resets the marks\n // also ignore tralingNode insertion\n if (browser.android && !tr.getMeta('trailingNodeInsertion')) {\n handleAndroidEnterBug(tr, pos);\n }\n\n marks && tr.ensureMarks(marks);\n }\n });\n\n return tr;\n },\n }),\n ];\n },\n };\n },\n});\n"],
5
- "mappings": "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",
4
+ "sourcesContent": ["import { generateId } from './../ricos-content/index.js';\nimport { Node_Type } from './../ricos-schema/legacy/wix/rich_content/v1/index.js';\nimport type { RicosExtension, RicosExtensionConfig } from './../ricos-types/index.js';\nimport type { Node as ProseMirrorNode } from './../tiptap/pm/model.js';\nimport type { Transaction } from './../tiptap/pm/state.js';\nimport { Plugin, PluginKey, TextSelection } from './../tiptap/pm/state.js';\nimport { browser } from './../editor-common/index.js';\n\nimport { createRicosFunctionalExtension } from './create-ricos-extension/index.js';\nimport { nodeElementStyleToTiptapTextStyle } from './text-style-converters.js';\n\nfunction minMax(value = 0, min = 0, max = 0): number {\n return Math.min(Math.max(value, min), max);\n}\n\n/*\n This fix a bug with Android when using setNodeType in appendTransaction.\n The bug is that the cursor is not positioned correctly after the transaction\n so we have to manually set the cursor position.\n*/\nconst handleAndroidEnterBug = (tr: Transaction, pos: number) => {\n const { doc } = tr;\n const { from, to } = { from: pos + 1, to: pos + 1 };\n\n const minPos = TextSelection.atStart(doc).from;\n const maxPos = TextSelection.atEnd(doc).to;\n const resolvedFrom = minMax(from, minPos, maxPos);\n const resolvedEnd = minMax(to, minPos, maxPos);\n const selection = TextSelection.create(doc, resolvedFrom, resolvedEnd);\n tr.setSelection(selection);\n};\n\nconst handleBlockquoteParagraphId = (node: ProseMirrorNode, usedIds: Record<string, boolean>) => {\n let paragraphId: string | undefined;\n let nodeParagraphId: string | undefined;\n let shouldUpdateBlockquoteParagraphId = false;\n if (node.type.name === Node_Type.BLOCKQUOTE) {\n nodeParagraphId = node.attrs.paragraphId;\n paragraphId = nodeParagraphId && !usedIds[nodeParagraphId] ? nodeParagraphId : generateId();\n\n shouldUpdateBlockquoteParagraphId = nodeParagraphId !== paragraphId;\n }\n return { paragraphId, shouldUpdateBlockquoteParagraphId };\n};\n\nexport const uniqueId = createRicosFunctionalExtension({\n type: 'extension',\n groups: [],\n name: 'unique-id',\n reconfigure(config: RicosExtensionConfig, extensions: RicosExtension[]) {\n return {\n ...config,\n addGlobalAttributes() {\n return [\n {\n types: extensions\n .filter(\n extension =>\n (extension.type === 'react-node' || extension.type === 'html-node') &&\n !extension.groups.includes('text')\n )\n .map(({ name }) => name),\n attributes: {\n id: {\n default: null,\n },\n },\n },\n ];\n },\n };\n },\n createExtensionConfig() {\n return {\n name: this.name,\n priority: 2, // should be before contentDiff\n addProseMirrorPlugins() {\n return [\n new Plugin({\n key: new PluginKey('unique-id'),\n appendTransaction: (_transactions, oldState, newState) => {\n if (newState.doc === oldState.doc) {\n return;\n }\n const tr = newState.tr;\n const usedIds: Record<string, boolean> = {};\n\n const { selection } = oldState;\n const marks =\n newState.storedMarks ?? (selection.$to.parentOffset && selection.$from.marks());\n\n newState.doc.descendants((node, pos) => {\n const nodeId: string = node.attrs.id;\n const id = nodeId && !usedIds[nodeId] ? nodeId : generateId();\n usedIds[id] = true;\n const shouldUpdate = nodeId !== id;\n\n const { paragraphId, shouldUpdateBlockquoteParagraphId } =\n handleBlockquoteParagraphId(node, usedIds);\n if (paragraphId) {\n usedIds[paragraphId] = true;\n }\n\n if (node.isBlock && (shouldUpdate || shouldUpdateBlockquoteParagraphId)) {\n /*\n Fix bug in Android when textStyle is not preserved in new lines.\n The styles arrived in node.attrs.style as string so we need to manually\n create the textStyle object.\n */\n if (browser.android && node.attrs.style) {\n const { style, textStyle } = nodeElementStyleToTiptapTextStyle(\n node.attrs.style\n );\n tr.setNodeMarkup(pos, undefined, {\n ...node.attrs,\n id,\n marks,\n style,\n textStyle,\n ...(paragraphId ? { paragraphId } : {}),\n });\n } else {\n tr.setNodeMarkup(pos, undefined, {\n ...node.attrs,\n id,\n marks,\n ...(paragraphId ? { paragraphId } : {}),\n });\n }\n tr.setMeta('unique-id', true); // do not remove this meta, it's used in content-diff\n\n // this should run before ensureMarks becasuse it resets the marks\n // also ignore tralingNode insertion\n if (browser.android && !tr.getMeta('trailingNodeInsertion')) {\n handleAndroidEnterBug(tr, pos);\n }\n\n marks && tr.ensureMarks(marks);\n }\n });\n\n return tr;\n },\n }),\n ];\n },\n };\n },\n});\n"],
5
+ "mappings": "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",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "ad019b16";
1
+ var styleDataHash = "153fedbe";
2
2
  const injectCss = (() => {
3
- var css = `.aGj4M{box-sizing:border-box}.aGj4M *,.aGj4M :after,.aGj4M :before{box-sizing:inherit}.aGj4M input{box-sizing:border-box}`;
3
+ var css = `.k63rl{box-sizing:border-box}.k63rl *,.k63rl :after,.k63rl :before{box-sizing:inherit}.k63rl input{box-sizing:border-box}`;
4
4
  var isTest = typeof process !== "undefined" && process.env && false;
5
5
  if (isTest || !css || typeof document === "undefined") {
6
6
  return;
@@ -21,7 +21,7 @@ const injectCss = (() => {
21
21
  });
22
22
  injectCss();
23
23
  var insert_plugin_toolbar_default = {
24
- "wrapper": "aGj4M"
24
+ "wrapper": "k63rl"
25
25
  };
26
26
  export {
27
27
  insert_plugin_toolbar_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar.scss"],
4
- "sourcesContent": ["var styleDataHash = 'ad019b16'; \nexport const injectCss = (() => {\n var css = `.aGj4M{box-sizing:border-box}.aGj4M *,.aGj4M :after,.aGj4M :before{box-sizing:inherit}.aGj4M input{box-sizing:border-box}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"wrapper\": \"aGj4M\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = '153fedbe'; \nexport const injectCss = (() => {\n var css = `.k63rl{box-sizing:border-box}.k63rl *,.k63rl :after,.k63rl :before{box-sizing:inherit}.k63rl input{box-sizing:border-box}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"wrapper\": \"k63rl\"\n};"],
5
5
  "mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,gCAAQ;AAAA,EACb,WAAW;AACb;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "c82754a5";
1
+ var styleDataHash = "8b42d115";
2
2
  const injectCss = (() => {
3
- var css = `@charset "UTF-8";.Smhj9{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.aDxXR{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border:1px solid rgba(51,51,51,.1);border-radius:var(--ricos-internal-toolbar-floating-border-radius,8px);box-shadow:none;box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,メイリオ,meiryo,"ヒラギノ角ゴ pro w3","hiragino kaku gothic pro",sans-serif);height:fit-content;padding:3px;width:min-content;z-index:10}.IC6OK{align-items:center;display:flex;gap:3px;width:max-content}`;
3
+ var css = `@charset "UTF-8";.HJTaY{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.FchFZ{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border:1px solid rgba(51,51,51,.1);border-radius:var(--ricos-internal-toolbar-floating-border-radius,8px);box-shadow:none;box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,メイリオ,meiryo,"ヒラギノ角ゴ pro w3","hiragino kaku gothic pro",sans-serif);height:fit-content;padding:3px;width:min-content;z-index:10}.C3-LT{align-items:center;display:flex;gap:3px;width:max-content}`;
4
4
  var isTest = typeof process !== "undefined" && process.env && false;
5
5
  if (isTest || !css || typeof document === "undefined") {
6
6
  return;
@@ -21,9 +21,9 @@ const injectCss = (() => {
21
21
  });
22
22
  injectCss();
23
23
  var OverflownButtons_default = {
24
- "fontElementMap": "Smhj9",
25
- "moreItems": "aDxXR",
26
- "overflownItems": "IC6OK"
24
+ "fontElementMap": "HJTaY",
25
+ "moreItems": "FchFZ",
26
+ "overflownItems": "C3-LT"
27
27
  };
28
28
  export {
29
29
  OverflownButtons_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons.scss"],
4
- "sourcesContent": ["var styleDataHash = 'c82754a5'; \nexport const injectCss = (() => {\n var css = `@charset \"UTF-8\";.Smhj9{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.aDxXR{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border:1px solid rgba(51,51,51,.1);border-radius:var(--ricos-internal-toolbar-floating-border-radius,8px);box-shadow:none;box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Madefor,\"Helvetica Neue\",Helvetica,Arial,メイリオ,meiryo,\"ヒラギノ角ゴ pro w3\",\"hiragino kaku gothic pro\",sans-serif);height:fit-content;padding:3px;width:min-content;z-index:10}.IC6OK{align-items:center;display:flex;gap:3px;width:max-content}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontElementMap\": \"Smhj9\",\n \"moreItems\": \"aDxXR\",\n \"overflownItems\": \"IC6OK\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = '8b42d115'; \nexport const injectCss = (() => {\n var css = `@charset \"UTF-8\";.HJTaY{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.FchFZ{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border:1px solid rgba(51,51,51,.1);border-radius:var(--ricos-internal-toolbar-floating-border-radius,8px);box-shadow:none;box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Madefor,\"Helvetica Neue\",Helvetica,Arial,メイリオ,meiryo,\"ヒラギノ角ゴ pro w3\",\"hiragino kaku gothic pro\",sans-serif);height:fit-content;padding:3px;width:min-content;z-index:10}.C3-LT{align-items:center;display:flex;gap:3px;width:max-content}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontElementMap\": \"HJTaY\",\n \"moreItems\": \"FchFZ\",\n \"overflownItems\": \"C3-LT\"\n};"],
5
5
  "mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,2BAAQ;AAAA,EACb,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,kBAAkB;AACpB;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "903e1d35";
1
+ var styleDataHash = "75306c3f";
2
2
  const injectCss = (() => {
3
- var css = `.R2JAR{position:relative;width:max-content}.LB5CZ{align-items:center;display:flex;gap:3px;width:max-content}.DcXjr{display:none}`;
3
+ var css = `.nNQU8{position:relative;width:max-content}.Fi5CZ{align-items:center;display:flex;gap:3px;width:max-content}.xRzV1{display:none}`;
4
4
  var isTest = typeof process !== "undefined" && process.env && false;
5
5
  if (isTest || !css || typeof document === "undefined") {
6
6
  return;
@@ -21,9 +21,9 @@ const injectCss = (() => {
21
21
  });
22
22
  injectCss();
23
23
  var RicosDesktopToolbar_default = {
24
- "toolbarVisible": "R2JAR",
25
- "visibleItems": "LB5CZ",
26
- "hiddenToolbar": "DcXjr"
24
+ "toolbarVisible": "nNQU8",
25
+ "visibleItems": "Fi5CZ",
26
+ "hiddenToolbar": "xRzV1"
27
27
  };
28
28
  export {
29
29
  RicosDesktopToolbar_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar.scss"],
4
- "sourcesContent": ["var styleDataHash = '903e1d35'; \nexport const injectCss = (() => {\n var css = `.R2JAR{position:relative;width:max-content}.LB5CZ{align-items:center;display:flex;gap:3px;width:max-content}.DcXjr{display:none}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"toolbarVisible\": \"R2JAR\",\n \"visibleItems\": \"LB5CZ\",\n \"hiddenToolbar\": \"DcXjr\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = '75306c3f'; \nexport const injectCss = (() => {\n var css = `.nNQU8{position:relative;width:max-content}.Fi5CZ{align-items:center;display:flex;gap:3px;width:max-content}.xRzV1{display:none}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"toolbarVisible\": \"nNQU8\",\n \"visibleItems\": \"Fi5CZ\",\n \"hiddenToolbar\": \"xRzV1\"\n};"],
5
5
  "mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,8BAAQ;AAAA,EACb,kBAAkB;AAAA,EAClB,gBAAgB;AAAA,EAChB,iBAAiB;AACnB;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "5b31b528";
1
+ var styleDataHash = "a4c4b1cd";
2
2
  const injectCss = (() => {
3
- var css = `@charset "UTF-8";.Zg-U3{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.bfP94{border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,メイリオ,meiryo,"ヒラギノ角ゴ pro w3","hiragino kaku gothic pro",sans-serif);font-size:14px;font-weight:500;padding:3px}.lrvi4{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border-radius:var(--ricos-settings-whitebox-border-radius,var(--wds-border-radius-surface-overlay,8px));box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);display:flex;position:relative}.OHdEH{border-bottom:var(--ricos-custom-static-toolbar-border-bottom,solid 1px rgba(51,51,51,.1));position:static}`;
3
+ var css = `@charset "UTF-8";.h-tCd{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.LEwYO{border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,メイリオ,meiryo,"ヒラギノ角ゴ pro w3","hiragino kaku gothic pro",sans-serif);font-size:14px;font-weight:500;padding:3px}.nchAQ{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border-radius:var(--ricos-settings-whitebox-border-radius,var(--wds-border-radius-surface-overlay,8px));box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);display:flex;position:relative}.lQsG7{border-bottom:var(--ricos-custom-static-toolbar-border-bottom,solid 1px rgba(51,51,51,.1));position:static}`;
4
4
  var isTest = typeof process !== "undefined" && process.env && false;
5
5
  if (isTest || !css || typeof document === "undefined") {
6
6
  return;
@@ -21,10 +21,10 @@ const injectCss = (() => {
21
21
  });
22
22
  injectCss();
23
23
  var RicosDesktopToolbarWrapper_default = {
24
- "fontElementMap": "Zg-U3",
25
- "toolbar": "bfP94",
26
- "toolbarFloating": "lrvi4",
27
- "toolbarStatic": "OHdEH"
24
+ "fontElementMap": "h-tCd",
25
+ "toolbar": "LEwYO",
26
+ "toolbarFloating": "nchAQ",
27
+ "toolbarStatic": "lQsG7"
28
28
  };
29
29
  export {
30
30
  RicosDesktopToolbarWrapper_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper.scss"],
4
- "sourcesContent": ["var styleDataHash = '5b31b528'; \nexport const injectCss = (() => {\n var css = `@charset \"UTF-8\";.Zg-U3{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.bfP94{border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Madefor,\"Helvetica Neue\",Helvetica,Arial,メイリオ,meiryo,\"ヒラギノ角ゴ pro w3\",\"hiragino kaku gothic pro\",sans-serif);font-size:14px;font-weight:500;padding:3px}.lrvi4{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border-radius:var(--ricos-settings-whitebox-border-radius,var(--wds-border-radius-surface-overlay,8px));box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);display:flex;position:relative}.OHdEH{border-bottom:var(--ricos-custom-static-toolbar-border-bottom,solid 1px rgba(51,51,51,.1));position:static}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontElementMap\": \"Zg-U3\",\n \"toolbar\": \"bfP94\",\n \"toolbarFloating\": \"lrvi4\",\n \"toolbarStatic\": \"OHdEH\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = 'a4c4b1cd'; \nexport const injectCss = (() => {\n var css = `@charset \"UTF-8\";.h-tCd{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.LEwYO{border-radius:var(--ricos-settings-whitebox-border-radius,2px);box-sizing:border-box;font-family:var(--ricos-settings-text-font-family,Madefor,\"Helvetica Neue\",Helvetica,Arial,メイリオ,meiryo,\"ヒラギノ角ゴ pro w3\",\"hiragino kaku gothic pro\",sans-serif);font-size:14px;font-weight:500;padding:3px}.nchAQ{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border-radius:var(--ricos-settings-whitebox-border-radius,var(--wds-border-radius-surface-overlay,8px));box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);display:flex;position:relative}.lQsG7{border-bottom:var(--ricos-custom-static-toolbar-border-bottom,solid 1px rgba(51,51,51,.1));position:static}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontElementMap\": \"h-tCd\",\n \"toolbar\": \"LEwYO\",\n \"toolbarFloating\": \"nchAQ\",\n \"toolbarStatic\": \"lQsG7\"\n};"],
5
5
  "mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,qCAAQ;AAAA,EACb,kBAAkB;AAAA,EAClB,WAAW;AAAA,EACX,mBAAmB;AAAA,EACnB,iBAAiB;AACnB;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "b0c43cb9";
1
+ var styleDataHash = "fb22b7a4";
2
2
  const injectCss = (() => {
3
- var css = `@charset "UTF-8";.izSvn{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.Ft6UN{position:relative;--mobile-toolbar-height:42px}.cdyh4{--border-top:0px;--border-bottom:0px;--border-left:0px;--border-right:0px}.ZaAY2{--border-top:1px;--border-bottom:1px;--border-left:1px;--border-right:1px}._8Phvq{--border-top:0px;--border-bottom:1px;--border-left:0px;--border-right:0px}._4HDlj{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border:none;border-radius:var(--ricos-settings-whitebox-border-radius,0);box-shadow:0 4px 8px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,メイリオ,meiryo,"ヒラギノ角ゴ pro w3","hiragino kaku gothic pro",sans-serif);font-size:14px;font-weight:500;height:var(--mobile-toolbar-height);min-width:100%;overflow-x:scroll;overflow-y:clip;padding:3px;position:relative;width:100%}._4HDlj::-webkit-scrollbar{display:none}.ds8Nx{border-radius:var(--ricos-settings-whitebox-border-radius,8px);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07))}.KEVoX{border-bottom:var(--ricos-custom-static-toolbar-border-bottom,solid 1px rgba(51,51,51,.1));position:static}.p0CUd{align-items:center;display:flex;gap:3px;width:max-content}`;
3
+ var css = `@charset "UTF-8";.z2gtd{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.jlUZT{position:relative;--mobile-toolbar-height:42px}.lz-bg{--border-top:0px;--border-bottom:0px;--border-left:0px;--border-right:0px}._--P37{--border-top:1px;--border-bottom:1px;--border-left:1px;--border-right:1px}.gu6TP{--border-top:0px;--border-bottom:1px;--border-left:0px;--border-right:0px}.I4Vbz{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border:none;border-radius:var(--ricos-settings-whitebox-border-radius,0);box-shadow:0 4px 8px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,メイリオ,meiryo,"ヒラギノ角ゴ pro w3","hiragino kaku gothic pro",sans-serif);font-size:14px;font-weight:500;height:var(--mobile-toolbar-height);min-width:100%;overflow-x:scroll;overflow-y:clip;padding:3px;position:relative;width:100%}.I4Vbz::-webkit-scrollbar{display:none}.AIYR2{border-radius:var(--ricos-settings-whitebox-border-radius,8px);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07))}.OtA1N{border-bottom:var(--ricos-custom-static-toolbar-border-bottom,solid 1px rgba(51,51,51,.1));position:static}.VPYor{align-items:center;display:flex;gap:3px;width:max-content}`;
4
4
  var isTest = typeof process !== "undefined" && process.env && false;
5
5
  if (isTest || !css || typeof document === "undefined") {
6
6
  return;
@@ -21,15 +21,15 @@ const injectCss = (() => {
21
21
  });
22
22
  injectCss();
23
23
  var RicosMobileToolbar_default = {
24
- "fontElementMap": "izSvn",
25
- "container": "Ft6UN",
26
- "regularContainer": "cdyh4",
27
- "floatingContainer": "ZaAY2",
28
- "staticContainer": "_8Phvq",
29
- "mobileToolbar": "_4HDlj",
30
- "toolbarFloating": "ds8Nx",
31
- "toolbarStatic": "KEVoX",
32
- "buttons": "p0CUd"
24
+ "fontElementMap": "z2gtd",
25
+ "container": "jlUZT",
26
+ "regularContainer": "lz-bg",
27
+ "floatingContainer": "_--P37",
28
+ "staticContainer": "gu6TP",
29
+ "mobileToolbar": "I4Vbz",
30
+ "toolbarFloating": "AIYR2",
31
+ "toolbarStatic": "OtA1N",
32
+ "buttons": "VPYor"
33
33
  };
34
34
  export {
35
35
  RicosMobileToolbar_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar.scss"],
4
- "sourcesContent": ["var styleDataHash = 'b0c43cb9'; \nexport const injectCss = (() => {\n var css = `@charset \"UTF-8\";.izSvn{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.Ft6UN{position:relative;--mobile-toolbar-height:42px}.cdyh4{--border-top:0px;--border-bottom:0px;--border-left:0px;--border-right:0px}.ZaAY2{--border-top:1px;--border-bottom:1px;--border-left:1px;--border-right:1px}._8Phvq{--border-top:0px;--border-bottom:1px;--border-left:0px;--border-right:0px}._4HDlj{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border:none;border-radius:var(--ricos-settings-whitebox-border-radius,0);box-shadow:0 4px 8px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Madefor,\"Helvetica Neue\",Helvetica,Arial,メイリオ,meiryo,\"ヒラギノ角ゴ pro w3\",\"hiragino kaku gothic pro\",sans-serif);font-size:14px;font-weight:500;height:var(--mobile-toolbar-height);min-width:100%;overflow-x:scroll;overflow-y:clip;padding:3px;position:relative;width:100%}._4HDlj::-webkit-scrollbar{display:none}.ds8Nx{border-radius:var(--ricos-settings-whitebox-border-radius,8px);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07))}.KEVoX{border-bottom:var(--ricos-custom-static-toolbar-border-bottom,solid 1px rgba(51,51,51,.1));position:static}.p0CUd{align-items:center;display:flex;gap:3px;width:max-content}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontElementMap\": \"izSvn\",\n \"container\": \"Ft6UN\",\n \"regularContainer\": \"cdyh4\",\n \"floatingContainer\": \"ZaAY2\",\n \"staticContainer\": \"_8Phvq\",\n \"mobileToolbar\": \"_4HDlj\",\n \"toolbarFloating\": \"ds8Nx\",\n \"toolbarStatic\": \"KEVoX\",\n \"buttons\": \"p0CUd\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = 'fb22b7a4'; \nexport const injectCss = (() => {\n var css = `@charset \"UTF-8\";.z2gtd{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.jlUZT{position:relative;--mobile-toolbar-height:42px}.lz-bg{--border-top:0px;--border-bottom:0px;--border-left:0px;--border-right:0px}._--P37{--border-top:1px;--border-bottom:1px;--border-left:1px;--border-right:1px}.gu6TP{--border-top:0px;--border-bottom:1px;--border-left:0px;--border-right:0px}.I4Vbz{align-items:center;background-color:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));border:none;border-radius:var(--ricos-settings-whitebox-border-radius,0);box-shadow:0 4px 8px 0 rgba(0,0,0,.1);box-sizing:border-box;display:flex;font-family:var(--ricos-settings-text-font-family,Madefor,\"Helvetica Neue\",Helvetica,Arial,メイリオ,meiryo,\"ヒラギノ角ゴ pro w3\",\"hiragino kaku gothic pro\",sans-serif);font-size:14px;font-weight:500;height:var(--mobile-toolbar-height);min-width:100%;overflow-x:scroll;overflow-y:clip;padding:3px;position:relative;width:100%}.I4Vbz::-webkit-scrollbar{display:none}.AIYR2{border-radius:var(--ricos-settings-whitebox-border-radius,8px);box-shadow:var(--ricos-settings-whitebox-box-shadow,0 4px 8px 0 rgba(0,0,0,.07))}.OtA1N{border-bottom:var(--ricos-custom-static-toolbar-border-bottom,solid 1px rgba(51,51,51,.1));position:static}.VPYor{align-items:center;display:flex;gap:3px;width:max-content}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontElementMap\": \"z2gtd\",\n \"container\": \"jlUZT\",\n \"regularContainer\": \"lz-bg\",\n \"floatingContainer\": \"_--P37\",\n \"staticContainer\": \"gu6TP\",\n \"mobileToolbar\": \"I4Vbz\",\n \"toolbarFloating\": \"AIYR2\",\n \"toolbarStatic\": \"OtA1N\",\n \"buttons\": \"VPYor\"\n};"],
5
5
  "mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,6BAAQ;AAAA,EACb,kBAAkB;AAAA,EAClB,aAAa;AAAA,EACb,oBAAoB;AAAA,EACpB,qBAAqB;AAAA,EACrB,mBAAmB;AAAA,EACnB,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,iBAAiB;AAAA,EACjB,WAAW;AACb;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "51024bbd";
1
+ var styleDataHash = "7871fd24";
2
2
  const injectCss = (() => {
3
- var css = `.tUvl6:after{--mobile-toolbar-surface:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));background:linear-gradient(90deg,var(--mobile-toolbar-surface) 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),var(--mobile-toolbar-surface) 100%);content:"";height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));inset-inline-start:var(--border-left);pointer-events:none;position:absolute;top:var(--border-top);width:calc(var(--mobile-toolbar-width, 0)*1px - var(--border-left) - var(--border-right))}[data-hook=mobile-toolbar][dir=rtl] .tUvl6:after{background:linear-gradient(-90deg,var(--mobile-toolbar-surface) 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),var(--mobile-toolbar-surface) 100%)}`;
3
+ var css = `._0D5O1:after{--mobile-toolbar-surface:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));background:linear-gradient(90deg,var(--mobile-toolbar-surface) 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),var(--mobile-toolbar-surface) 100%);content:"";height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));inset-inline-start:var(--border-left);pointer-events:none;position:absolute;top:var(--border-top);width:calc(var(--mobile-toolbar-width, 0)*1px - var(--border-left) - var(--border-right))}[data-hook=mobile-toolbar][dir=rtl] ._0D5O1:after{background:linear-gradient(-90deg,var(--mobile-toolbar-surface) 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),var(--mobile-toolbar-surface) 100%)}`;
4
4
  var isTest = typeof process !== "undefined" && process.env && false;
5
5
  if (isTest || !css || typeof document === "undefined") {
6
6
  return;
@@ -21,7 +21,7 @@ const injectCss = (() => {
21
21
  });
22
22
  injectCss();
23
23
  var mobile_toolbar_overlay_default = {
24
- "mobileToolbarOverlay": "tUvl6"
24
+ "mobileToolbarOverlay": "_0D5O1"
25
25
  };
26
26
  export {
27
27
  mobile_toolbar_overlay_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay.scss"],
4
- "sourcesContent": ["var styleDataHash = '51024bbd'; \nexport const injectCss = (() => {\n var css = `.tUvl6:after{--mobile-toolbar-surface:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));background:linear-gradient(90deg,var(--mobile-toolbar-surface) 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),var(--mobile-toolbar-surface) 100%);content:\"\";height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));inset-inline-start:var(--border-left);pointer-events:none;position:absolute;top:var(--border-top);width:calc(var(--mobile-toolbar-width, 0)*1px - var(--border-left) - var(--border-right))}[data-hook=mobile-toolbar][dir=rtl] .tUvl6:after{background:linear-gradient(-90deg,var(--mobile-toolbar-surface) 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),var(--mobile-toolbar-surface) 100%)}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"mobileToolbarOverlay\": \"tUvl6\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = '7871fd24'; \nexport const injectCss = (() => {\n var css = `._0D5O1:after{--mobile-toolbar-surface:var(--wds-color-fill-surface-overlay,var(--wsr-color-D80,#fff));background:linear-gradient(90deg,var(--mobile-toolbar-surface) 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),var(--mobile-toolbar-surface) 100%);content:\"\";height:calc(var(--mobile-toolbar-height) - var(--border-top) - var(--border-bottom));inset-inline-start:var(--border-left);pointer-events:none;position:absolute;top:var(--border-top);width:calc(var(--mobile-toolbar-width, 0)*1px - var(--border-left) - var(--border-right))}[data-hook=mobile-toolbar][dir=rtl] ._0D5O1:after{background:linear-gradient(-90deg,var(--mobile-toolbar-surface) 0,hsla(0,0%,100%,0) calc(var(--left-gradient-end, 0)*1%),hsla(0,0%,100%,0) calc(var(--right-gradient-start, 100)*1%),var(--mobile-toolbar-surface) 100%)}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"mobileToolbarOverlay\": \"_0D5O1\"\n};"],
5
5
  "mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,iCAAQ;AAAA,EACb,wBAAwB;AAC1B;",
6
6
  "names": []
7
7
  }
@@ -1,10 +1,10 @@
1
- var styleDataHash = "182070a8";
1
+ var styleDataHash = "e3bdeb3f";
2
2
  const injectCss = (() => {
3
- var css = `.sONdH{--wds-toggle-button-label-fill-inverted-default:var(
3
+ var css = `.OXtdH{--wds-toggle-button-label-fill-inverted-default:var(
4
4
  --ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff)
5
- )}@supports (color:rgb(from #000 r g b/0.1)){.sONdH{--wds-toggle-button-label-fill-inverted-default:var(
5
+ )}@supports (color:rgb(from #000 r g b/0.1)){.OXtdH{--wds-toggle-button-label-fill-inverted-default:var(
6
6
  --ricos-settings-text-color,rgb(from var(--ricos-action-color,#116dff) min(r,150) min(g,150) min(b,150))
7
- )}}.sONdH svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}`;
7
+ )}}.OXtdH svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}`;
8
8
  var isTest = typeof process !== "undefined" && process.env && false;
9
9
  if (isTest || !css || typeof document === "undefined") {
10
10
  return;
@@ -25,7 +25,7 @@ const injectCss = (() => {
25
25
  });
26
26
  injectCss();
27
27
  var AddPluginMenuMobileButton_default = {
28
- "toggleButton": "sONdH"
28
+ "toggleButton": "OXtdH"
29
29
  };
30
30
  export {
31
31
  AddPluginMenuMobileButton_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton.scss"],
4
- "sourcesContent": ["var styleDataHash = '182070a8'; \nexport const injectCss = (() => {\n var css = `.sONdH{--wds-toggle-button-label-fill-inverted-default:var(\n --ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff)\n )}@supports (color:rgb(from #000 r g b/0.1)){.sONdH{--wds-toggle-button-label-fill-inverted-default:var(\n --ricos-settings-text-color,rgb(from var(--ricos-action-color,#116dff) min(r,150) min(g,150) min(b,150))\n )}}.sONdH svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"toggleButton\": \"sONdH\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = 'e3bdeb3f'; \nexport const injectCss = (() => {\n var css = `.OXtdH{--wds-toggle-button-label-fill-inverted-default:var(\n --ricos-settings-text-color,var(--ricos-action-color-fallback,#116dff)\n )}@supports (color:rgb(from #000 r g b/0.1)){.OXtdH{--wds-toggle-button-label-fill-inverted-default:var(\n --ricos-settings-text-color,rgb(from var(--ricos-action-color,#116dff) min(r,150) min(g,150) min(b,150))\n )}}.OXtdH svg{fill:var(--ricos-settings-icons-color,currentColor);color:var(--ricos-settings-icons-color,currentColor)}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"toggleButton\": \"OXtdH\"\n};"],
5
5
  "mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AAAA;AAAA;AAAA;AAAA;AAKV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,oCAAQ;AAAA,EACb,gBAAgB;AAClB;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "e302d240";
1
+ var styleDataHash = "dc968c8a";
2
2
  const injectCss = (() => {
3
- var css = `.lV1C9{align-items:center;background:var(--wds-toggle-button-fill-inverted,transparent);border-radius:var(--wds-toggle-button-border-radius-square-small,4px);color:var(--wds-toggle-button-label-fill-inverted-default,var(--wsr-color-D10,#000624));cursor:pointer;display:flex;font-size:var(--wds-toggle-button-square-label-font-size-small,var(--wsr-text-font-size-tiny,12px));height:var(--wds-button-size-small,30px);justify-content:center;min-width:var(--wds-button-size-small,30px)}.lV1C9 svg{fill:currentColor}.lV1C9:hover:not(.wEI8S){background-color:var(--wds-toggle-button-fill-inverted-hover,var(--wsr-color-B50,#e7f0ff));color:var(--wds-toggle-button-label-fill-inverted-hover,var(--wsr-color-B10,#116dff))}.lV1C9.YAwnV{background-color:var(--wds-toggle-button-fill-inverted-selected,var(--wsr-color-B10,#116dff));color:var(--wds-toggle-button-label-fill-inverted-selected,var(--wsr-color-D80,#fff))}.lV1C9.wEI8S{color:var(--wds-toggle-button-label-fill-inverted-disabled,var(--wsr-color-D55,#cfd1dc));cursor:default;pointer-events:none}.HjzHV{align-items:center;display:flex;gap:var(--wds-space-100,3px);height:var(--wds-button-size-small,30px);justify-content:center;min-width:33px}.rvNBD{background-color:transparent;border:none;box-sizing:border-box;color:inherit;font-family:inherit;font-size:inherit;width:22px}`;
3
+ var css = `.kvtgW{align-items:center;background:var(--wds-toggle-button-fill-inverted,transparent);border-radius:var(--wds-toggle-button-border-radius-square-small,4px);color:var(--wds-toggle-button-label-fill-inverted-default,var(--wsr-color-D10,#000624));cursor:pointer;display:flex;font-size:var(--wds-toggle-button-square-label-font-size-small,var(--wsr-text-font-size-tiny,12px));height:var(--wds-button-size-small,30px);justify-content:center;min-width:var(--wds-button-size-small,30px)}.kvtgW svg{fill:currentColor}.kvtgW:hover:not(._34bXD){background-color:var(--wds-toggle-button-fill-inverted-hover,var(--wsr-color-B50,#e7f0ff));color:var(--wds-toggle-button-label-fill-inverted-hover,var(--wsr-color-B10,#116dff))}.kvtgW.oyf43{background-color:var(--wds-toggle-button-fill-inverted-selected,var(--wsr-color-B10,#116dff));color:var(--wds-toggle-button-label-fill-inverted-selected,var(--wsr-color-D80,#fff))}.kvtgW._34bXD{color:var(--wds-toggle-button-label-fill-inverted-disabled,var(--wsr-color-D55,#cfd1dc));cursor:default;pointer-events:none}.-k0L6{align-items:center;display:flex;gap:var(--wds-space-100,3px);height:var(--wds-button-size-small,30px);justify-content:center;min-width:33px}.HbGgN{background-color:transparent;border:none;box-sizing:border-box;color:inherit;font-family:inherit;font-size:inherit;width:22px}`;
4
4
  var isTest = typeof process !== "undefined" && process.env && false;
5
5
  if (isTest || !css || typeof document === "undefined") {
6
6
  return;
@@ -21,11 +21,11 @@ const injectCss = (() => {
21
21
  });
22
22
  injectCss();
23
23
  var FontSizeButton_default = {
24
- "fontSizeButton": "lV1C9",
25
- "disabled": "wEI8S",
26
- "active": "YAwnV",
27
- "fontSizeModalButton": "HjzHV",
28
- "fontSizeModalInputButton": "rvNBD"
24
+ "fontSizeButton": "kvtgW",
25
+ "disabled": "_34bXD",
26
+ "active": "oyf43",
27
+ "fontSizeModalButton": "-k0L6",
28
+ "fontSizeModalInputButton": "HbGgN"
29
29
  };
30
30
  export {
31
31
  FontSizeButton_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton.scss"],
4
- "sourcesContent": ["var styleDataHash = 'e302d240'; \nexport const injectCss = (() => {\n var css = `.lV1C9{align-items:center;background:var(--wds-toggle-button-fill-inverted,transparent);border-radius:var(--wds-toggle-button-border-radius-square-small,4px);color:var(--wds-toggle-button-label-fill-inverted-default,var(--wsr-color-D10,#000624));cursor:pointer;display:flex;font-size:var(--wds-toggle-button-square-label-font-size-small,var(--wsr-text-font-size-tiny,12px));height:var(--wds-button-size-small,30px);justify-content:center;min-width:var(--wds-button-size-small,30px)}.lV1C9 svg{fill:currentColor}.lV1C9:hover:not(.wEI8S){background-color:var(--wds-toggle-button-fill-inverted-hover,var(--wsr-color-B50,#e7f0ff));color:var(--wds-toggle-button-label-fill-inverted-hover,var(--wsr-color-B10,#116dff))}.lV1C9.YAwnV{background-color:var(--wds-toggle-button-fill-inverted-selected,var(--wsr-color-B10,#116dff));color:var(--wds-toggle-button-label-fill-inverted-selected,var(--wsr-color-D80,#fff))}.lV1C9.wEI8S{color:var(--wds-toggle-button-label-fill-inverted-disabled,var(--wsr-color-D55,#cfd1dc));cursor:default;pointer-events:none}.HjzHV{align-items:center;display:flex;gap:var(--wds-space-100,3px);height:var(--wds-button-size-small,30px);justify-content:center;min-width:33px}.rvNBD{background-color:transparent;border:none;box-sizing:border-box;color:inherit;font-family:inherit;font-size:inherit;width:22px}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontSizeButton\": \"lV1C9\",\n \"disabled\": \"wEI8S\",\n \"active\": \"YAwnV\",\n \"fontSizeModalButton\": \"HjzHV\",\n \"fontSizeModalInputButton\": \"rvNBD\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = 'dc968c8a'; \nexport const injectCss = (() => {\n var css = `.kvtgW{align-items:center;background:var(--wds-toggle-button-fill-inverted,transparent);border-radius:var(--wds-toggle-button-border-radius-square-small,4px);color:var(--wds-toggle-button-label-fill-inverted-default,var(--wsr-color-D10,#000624));cursor:pointer;display:flex;font-size:var(--wds-toggle-button-square-label-font-size-small,var(--wsr-text-font-size-tiny,12px));height:var(--wds-button-size-small,30px);justify-content:center;min-width:var(--wds-button-size-small,30px)}.kvtgW svg{fill:currentColor}.kvtgW:hover:not(._34bXD){background-color:var(--wds-toggle-button-fill-inverted-hover,var(--wsr-color-B50,#e7f0ff));color:var(--wds-toggle-button-label-fill-inverted-hover,var(--wsr-color-B10,#116dff))}.kvtgW.oyf43{background-color:var(--wds-toggle-button-fill-inverted-selected,var(--wsr-color-B10,#116dff));color:var(--wds-toggle-button-label-fill-inverted-selected,var(--wsr-color-D80,#fff))}.kvtgW._34bXD{color:var(--wds-toggle-button-label-fill-inverted-disabled,var(--wsr-color-D55,#cfd1dc));cursor:default;pointer-events:none}.-k0L6{align-items:center;display:flex;gap:var(--wds-space-100,3px);height:var(--wds-button-size-small,30px);justify-content:center;min-width:33px}.HbGgN{background-color:transparent;border:none;box-sizing:border-box;color:inherit;font-family:inherit;font-size:inherit;width:22px}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontSizeButton\": \"kvtgW\",\n \"disabled\": \"_34bXD\",\n \"active\": \"oyf43\",\n \"fontSizeModalButton\": \"-k0L6\",\n \"fontSizeModalInputButton\": \"HbGgN\"\n};"],
5
5
  "mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,yBAAQ;AAAA,EACb,kBAAkB;AAAA,EAClB,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,uBAAuB;AAAA,EACvB,4BAA4B;AAC9B;",
6
6
  "names": []
7
7
  }