@wix/ricos 11.20.1 → 11.20.3

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 (1092) hide show
  1. package/css/all-plugins-viewer.css +170 -170
  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/link-modal/open-link-modal/attributes/attributes-desktop.js.map +1 -1
  61. package/dist/cjs/_shared/link-modal/open-link-modal/attributes/attributes-mobile.js.map +1 -1
  62. package/dist/cjs/_shared/link-modal/open-link-modal/attributes/use-attributes.js.map +2 -2
  63. package/dist/cjs/_shared/link-modal/open-link-modal/section/section-desktop.js.map +2 -2
  64. package/dist/cjs/_shared/link-modal/open-link-modal/section/section-mobile.js.map +2 -2
  65. package/dist/cjs/_shared/link-modal/open-link-modal/site-pages/site-pages.js.map +2 -2
  66. package/dist/cjs/_shared/link-modal/open-link-modal/types.js.map +1 -1
  67. package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js +1 -1
  68. package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
  69. package/dist/cjs/_shared/list-item-select/list-item-select-scss.js +2 -2
  70. package/dist/cjs/_shared/list-item-select/list-item-select-scss.js.map +1 -1
  71. package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js +3 -3
  72. package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
  73. package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js +1 -1
  74. package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
  75. package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +2 -2
  76. package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
  77. package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +2 -2
  78. package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
  79. package/dist/cjs/_shared/pm-node-types.js.map +2 -2
  80. package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +7 -7
  81. package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
  82. package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js +13 -13
  83. package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  84. package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js +8 -8
  85. package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
  86. package/dist/cjs/_shared/resolvers/get-font-size-in-selection.js +28 -34
  87. package/dist/cjs/_shared/resolvers/get-font-size-in-selection.js.map +2 -2
  88. package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js +7 -7
  89. package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
  90. package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js +2 -2
  91. package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
  92. package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js +3 -3
  93. package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
  94. package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js +4 -4
  95. package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js.map +1 -1
  96. package/dist/cjs/editor-common/statics/styles/general-scss.js +18 -18
  97. package/dist/cjs/editor-common/statics/styles/general-scss.js.map +1 -1
  98. package/dist/cjs/next/schema.js +9 -0
  99. package/dist/cjs/next/schema.js.map +2 -2
  100. package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js +8 -8
  101. package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
  102. package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js +2 -2
  103. package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
  104. package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +1 -1
  105. package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
  106. package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +2 -2
  107. package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
  108. package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +5 -5
  109. package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
  110. package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js +6 -6
  111. package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
  112. package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js +1 -1
  113. package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
  114. package/dist/cjs/plugin-ai/error-message/error-message-scss.js +1 -1
  115. package/dist/cjs/plugin-ai/error-message/error-message-scss.js.map +1 -1
  116. package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js +4 -4
  117. package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  118. package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js +2 -2
  119. package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
  120. package/dist/cjs/plugin-animation/animation-panel-scss.js +9 -9
  121. package/dist/cjs/plugin-animation/animation-panel-scss.js.map +1 -1
  122. package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js +1 -1
  123. package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
  124. package/dist/cjs/plugin-audio/statics/styles/audio-scss.js +21 -21
  125. package/dist/cjs/plugin-audio/statics/styles/audio-scss.js.map +1 -1
  126. package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js +1 -1
  127. package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
  128. package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js +1 -1
  129. package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
  130. package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js +2 -2
  131. package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
  132. package/dist/cjs/plugin-block-drag-handle/styles-scss.js +8 -8
  133. package/dist/cjs/plugin-block-drag-handle/styles-scss.js.map +1 -1
  134. package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js +2 -2
  135. package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
  136. package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js +3 -3
  137. package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
  138. package/dist/cjs/plugin-button/statics/styles/settings-component-scss.js +1 -1
  139. package/dist/cjs/plugin-button/statics/styles/settings-component-scss.js.map +1 -1
  140. package/dist/cjs/plugin-card/card-scss.js +19 -19
  141. package/dist/cjs/plugin-card/card-scss.js.map +1 -1
  142. package/dist/cjs/plugin-card/card-viewer-scss.js +6 -6
  143. package/dist/cjs/plugin-card/card-viewer-scss.js.map +1 -1
  144. package/dist/cjs/plugin-code-block/code-block-converter.js +20 -10
  145. package/dist/cjs/plugin-code-block/code-block-converter.js.map +2 -2
  146. package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js +6 -6
  147. package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
  148. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
  149. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
  150. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
  151. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
  152. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +2 -2
  153. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
  154. package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +3 -3
  155. package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
  156. package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
  157. package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
  158. package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js +1 -1
  159. package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
  160. package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js +1 -1
  161. package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
  162. package/dist/cjs/plugin-figure/tiptap/caption-scss.js +3 -3
  163. package/dist/cjs/plugin-figure/tiptap/caption-scss.js.map +1 -1
  164. package/dist/cjs/plugin-figure/tiptap/figure-scss.js +3 -3
  165. package/dist/cjs/plugin-figure/tiptap/figure-scss.js.map +1 -1
  166. package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
  167. package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
  168. package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +3 -3
  169. package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
  170. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +6 -6
  171. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
  172. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +5 -5
  173. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
  174. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +1 -1
  175. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
  176. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +3 -3
  177. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
  178. package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js +1 -1
  179. package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
  180. package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
  181. package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
  182. package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js +1 -1
  183. package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
  184. package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js +4 -4
  185. package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
  186. package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
  187. package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
  188. package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js +2 -2
  189. package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
  190. package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
  191. package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
  192. package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
  193. package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
  194. package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js +6 -6
  195. package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
  196. package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
  197. package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
  198. package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js +9 -9
  199. package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
  200. package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
  201. package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
  202. package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js +2 -2
  203. package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
  204. package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js +2 -2
  205. package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
  206. package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js +5 -5
  207. package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
  208. package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
  209. package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
  210. package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js +1 -1
  211. package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
  212. package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js +2 -2
  213. package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
  214. package/dist/cjs/plugin-html/tiptap/loader-scss.js +9 -9
  215. package/dist/cjs/plugin-html/tiptap/loader-scss.js.map +1 -1
  216. package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js +2 -2
  217. package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
  218. package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js +4 -4
  219. package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
  220. package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js +1 -1
  221. package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
  222. package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js +14 -14
  223. package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
  224. package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js +20 -20
  225. package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
  226. package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js +1 -1
  227. package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
  228. package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js +4 -4
  229. package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
  230. package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js +10 -10
  231. package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
  232. package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js +1 -1
  233. package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
  234. package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js +4 -4
  235. package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
  236. package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js +3 -3
  237. package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
  238. package/dist/cjs/plugin-inline-ai/modal-scss.js +9 -9
  239. package/dist/cjs/plugin-inline-ai/modal-scss.js.map +1 -1
  240. package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js +12 -12
  241. package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
  242. package/dist/cjs/plugin-inline-ai/spinner-scss.js +2 -2
  243. package/dist/cjs/plugin-inline-ai/spinner-scss.js.map +1 -1
  244. package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js +2 -2
  245. package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
  246. package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +1 -1
  247. package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
  248. package/dist/cjs/plugin-link/statics/link-viewer-scss.js +4 -4
  249. package/dist/cjs/plugin-link/statics/link-viewer-scss.js.map +1 -1
  250. package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js +1 -1
  251. package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
  252. package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js +1 -1
  253. package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
  254. package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
  255. package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
  256. package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js +1 -1
  257. package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
  258. package/dist/cjs/plugin-mentions/statics/mention-list-scss.js +3 -3
  259. package/dist/cjs/plugin-mentions/statics/mention-list-scss.js.map +1 -1
  260. package/dist/cjs/plugin-mentions/statics/mentions-scss.js +4 -4
  261. package/dist/cjs/plugin-mentions/statics/mentions-scss.js.map +1 -1
  262. package/dist/cjs/plugin-paywall/paywall-fallback-scss.js +1 -1
  263. package/dist/cjs/plugin-paywall/paywall-fallback-scss.js.map +1 -1
  264. package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js +22 -22
  265. package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
  266. package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
  267. package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
  268. package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
  269. package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
  270. package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js +20 -20
  271. package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
  272. package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js +7 -7
  273. package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
  274. package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js +1 -1
  275. package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
  276. package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js +50 -50
  277. package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
  278. package/dist/cjs/plugin-smart-block/components/stars-scss.js +8 -8
  279. package/dist/cjs/plugin-smart-block/components/stars-scss.js.map +1 -1
  280. package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js +7 -7
  281. package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
  282. package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js +13 -13
  283. package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
  284. package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
  285. package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
  286. package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js +1 -1
  287. package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
  288. package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
  289. package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
  290. package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js +23 -23
  291. package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
  292. package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
  293. package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
  294. package/dist/cjs/plugin-social-polls/components/poll-scss.js +19 -19
  295. package/dist/cjs/plugin-social-polls/components/poll-scss.js.map +1 -1
  296. package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js +2 -2
  297. package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
  298. package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
  299. package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
  300. package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
  301. package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
  302. package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
  303. package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
  304. package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js +5 -5
  305. package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
  306. package/dist/cjs/plugin-table/statics/styles/cell-scss.js +15 -15
  307. package/dist/cjs/plugin-table/statics/styles/cell-scss.js.map +1 -1
  308. package/dist/cjs/plugin-table/statics/styles/resizer-scss.js +18 -18
  309. package/dist/cjs/plugin-table/statics/styles/resizer-scss.js.map +1 -1
  310. package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js +1 -1
  311. package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
  312. package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js +6 -6
  313. package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
  314. package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js +9 -9
  315. package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
  316. package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js +33 -33
  317. package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
  318. package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js +2 -2
  319. package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
  320. package/dist/cjs/plugin-text-color/text-button-color-scss.js +2 -2
  321. package/dist/cjs/plugin-text-color/text-button-color-scss.js.map +1 -1
  322. package/dist/cjs/plugin-toc/toc-view-scss.js +2 -2
  323. package/dist/cjs/plugin-toc/toc-view-scss.js.map +1 -1
  324. package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
  325. package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
  326. package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js +23 -23
  327. package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
  328. package/dist/cjs/plugin-vertical-embed/components/card-scss.js +19 -19
  329. package/dist/cjs/plugin-vertical-embed/components/card-scss.js.map +1 -1
  330. package/dist/cjs/plugin-vertical-embed/components/description-scss.js +2 -2
  331. package/dist/cjs/plugin-vertical-embed/components/description-scss.js.map +1 -1
  332. package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js +2 -2
  333. package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
  334. package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js +10 -10
  335. package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
  336. package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js +1 -1
  337. package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
  338. package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
  339. package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
  340. package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js +8 -8
  341. package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
  342. package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js +3 -3
  343. package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
  344. package/dist/cjs/plugin-video/toolbar/embed-video-scss.js +1 -1
  345. package/dist/cjs/plugin-video/toolbar/embed-video-scss.js.map +1 -1
  346. package/dist/cjs/ricos-common-plugins/blockquote/blockquote-converter.js +13 -6
  347. package/dist/cjs/ricos-common-plugins/blockquote/blockquote-converter.js.map +2 -2
  348. package/dist/cjs/ricos-common-plugins/decoration-plugins/indentation-styling.js +1 -1
  349. package/dist/cjs/ricos-common-plugins/decoration-plugins/indentation-styling.js.map +2 -2
  350. package/dist/cjs/ricos-common-plugins/decoration-plugins/list-item-sizing.js +14 -11
  351. package/dist/cjs/ricos-common-plugins/decoration-plugins/list-item-sizing.js.map +2 -2
  352. package/dist/cjs/ricos-common-plugins/font-size/block-font-size-plugin.js +130 -0
  353. package/dist/cjs/ricos-common-plugins/font-size/block-font-size-plugin.js.map +7 -0
  354. package/dist/cjs/ricos-common-plugins/font-size/block-font-size.js +67 -0
  355. package/dist/cjs/ricos-common-plugins/font-size/block-font-size.js.map +7 -0
  356. package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +1 -1
  357. package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
  358. package/dist/cjs/ricos-common-plugins/font-size/extension.js +52 -10
  359. package/dist/cjs/ricos-common-plugins/font-size/extension.js.map +3 -3
  360. package/dist/cjs/ricos-common-plugins/font-size/font-size.js.map +2 -2
  361. package/dist/cjs/ricos-common-plugins/font-size/viewer.js +2 -2
  362. package/dist/cjs/ricos-common-plugins/font-size/viewer.js.map +2 -2
  363. package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +8 -8
  364. package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
  365. package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js +33 -33
  366. package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js.map +1 -1
  367. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +2 -2
  368. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
  369. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +4 -4
  370. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
  371. package/dist/cjs/ricos-common-plugins/paragraph/paragraph-converter.js +10 -4
  372. package/dist/cjs/ricos-common-plugins/paragraph/paragraph-converter.js.map +2 -2
  373. package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js +2 -2
  374. package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
  375. package/dist/cjs/ricos-common-plugins/statics/styles-scss.js +18 -18
  376. package/dist/cjs/ricos-common-plugins/statics/styles-scss.js.map +1 -1
  377. package/dist/cjs/ricos-common-plugins/title/heading-converter.js +12 -4
  378. package/dist/cjs/ricos-common-plugins/title/heading-converter.js.map +2 -2
  379. package/dist/cjs/ricos-common-plugins/title/headings-scss.js +8 -8
  380. package/dist/cjs/ricos-common-plugins/title/headings-scss.js.map +1 -1
  381. package/dist/cjs/ricos-common-plugins/types.js.map +1 -1
  382. package/dist/cjs/ricos-content/converters/html/fromHtml/core/preprocess.js +4 -4
  383. package/dist/cjs/ricos-content/converters/html/fromHtml/core/preprocess.js.map +2 -2
  384. package/dist/cjs/ricos-content/index.js +0 -10
  385. package/dist/cjs/ricos-content/index.js.map +2 -2
  386. package/dist/cjs/ricos-content-query/get-anchorable-nodes-query.js +2 -2
  387. package/dist/cjs/ricos-content-query/get-anchorable-nodes-query.js.map +2 -2
  388. package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js +9 -9
  389. package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
  390. package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js +9 -9
  391. package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
  392. package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js +1 -1
  393. package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
  394. package/dist/cjs/ricos-modals/statics/styles/popper-scss.js +3 -3
  395. package/dist/cjs/ricos-modals/statics/styles/popper-scss.js.map +1 -1
  396. package/dist/cjs/ricos-schema/next-schema/index.js +10 -2
  397. package/dist/cjs/ricos-schema/next-schema/index.js.map +3 -3
  398. package/dist/cjs/ricos-schema/next-schema/version.js +1 -1
  399. package/dist/cjs/ricos-schema/next-schema/version.js.map +1 -1
  400. package/dist/cjs/ricos-shortcuts/keys.js +2 -2
  401. package/dist/cjs/ricos-shortcuts/keys.js.map +2 -2
  402. package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js +4 -4
  403. package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
  404. package/dist/cjs/ricos-types/plugin-exports.js.map +1 -1
  405. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
  406. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
  407. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
  408. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
  409. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.js +12 -4
  410. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.js.map +2 -2
  411. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
  412. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
  413. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.js +8 -3
  414. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.js.map +2 -2
  415. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
  416. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
  417. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js +8 -4
  418. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js.map +2 -2
  419. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
  420. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
  421. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
  422. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
  423. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.js +11 -3
  424. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.js.map +2 -2
  425. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
  426. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
  427. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
  428. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
  429. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +12 -12
  430. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
  431. package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js +16 -16
  432. package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
  433. package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js +7 -7
  434. package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
  435. package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
  436. package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
  437. package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js +2 -2
  438. package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
  439. package/dist/cjs/ricos-viewer-next/types.js.map +1 -1
  440. package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +2 -2
  441. package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
  442. package/dist/cjs/tiptap-editor/commands/update-text-node.js +7 -0
  443. package/dist/cjs/tiptap-editor/commands/update-text-node.js.map +2 -2
  444. package/dist/cjs/tiptap-editor/components/RicosTiptapEditor/ricos-tiptap-editor.js +2 -2
  445. package/dist/cjs/tiptap-editor/components/RicosTiptapEditor/ricos-tiptap-editor.js.map +2 -2
  446. package/dist/cjs/tiptap-editor/components/rich-content-adapter.js +9 -2
  447. package/dist/cjs/tiptap-editor/components/rich-content-adapter.js.map +2 -2
  448. package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +13 -13
  449. package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
  450. package/dist/cjs/tiptap-extensions/placeholder-scss.js +1 -1
  451. package/dist/cjs/tiptap-extensions/placeholder-scss.js.map +1 -1
  452. package/dist/cjs/tiptap-extensions/ricos-styles.js +6 -1
  453. package/dist/cjs/tiptap-extensions/ricos-styles.js.map +2 -2
  454. package/dist/cjs/tiptap-extensions/statics/styles-scss.js +4 -4
  455. package/dist/cjs/tiptap-extensions/statics/styles-scss.js.map +1 -1
  456. package/dist/cjs/tiptap-extensions/unique-id.js +1 -1
  457. package/dist/cjs/tiptap-extensions/unique-id.js.map +2 -2
  458. package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +1 -1
  459. package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
  460. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +3 -3
  461. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
  462. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +3 -3
  463. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
  464. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +4 -4
  465. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
  466. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +9 -9
  467. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
  468. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +1 -1
  469. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
  470. package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +1 -1
  471. package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
  472. package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +5 -5
  473. package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
  474. package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +6 -6
  475. package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
  476. package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +1 -1
  477. package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
  478. package/dist/cjs/toolbars-v3/ricos-toolbars/use-is-toolbar-empty.js +2 -2
  479. package/dist/cjs/toolbars-v3/ricos-toolbars/use-is-toolbar-empty.js.map +2 -2
  480. package/dist/cjs/ui-components/Components/Image-scss.js +1 -1
  481. package/dist/cjs/ui-components/Components/Image-scss.js.map +1 -1
  482. package/dist/cjs/ui-components/Components/double-loader-scss.js +4 -4
  483. package/dist/cjs/ui-components/Components/double-loader-scss.js.map +1 -1
  484. package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +2 -2
  485. package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
  486. package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +13 -13
  487. package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
  488. package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +1 -1
  489. package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
  490. package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +2 -2
  491. package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
  492. package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +2 -2
  493. package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
  494. package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +1 -1
  495. package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
  496. package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js +1 -1
  497. package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
  498. package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js +3 -3
  499. package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
  500. package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +1 -1
  501. package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
  502. package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +4 -4
  503. package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
  504. package/dist/cjs/ui-components/panel/panel-scss.js +2 -2
  505. package/dist/cjs/ui-components/panel/panel-scss.js.map +1 -1
  506. package/dist/cjs/ui-components/panel-header/panel-header-scss.js +1 -1
  507. package/dist/cjs/ui-components/panel-header/panel-header-scss.js.map +1 -1
  508. package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +1 -1
  509. package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
  510. package/dist/cjs/ui-components/statics/styles/generic-error-scss.js +1 -1
  511. package/dist/cjs/ui-components/statics/styles/generic-error-scss.js.map +1 -1
  512. package/dist/cjs/ui-components/statics/styles/loaders-scss.js +8 -8
  513. package/dist/cjs/ui-components/statics/styles/loaders-scss.js.map +1 -1
  514. package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js +3 -3
  515. package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
  516. package/dist/cjs/ui-components/statics/styles/slider-scss.js +5 -5
  517. package/dist/cjs/ui-components/statics/styles/slider-scss.js.map +1 -1
  518. package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js +1 -1
  519. package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
  520. package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js +16 -16
  521. package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
  522. package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js +1 -1
  523. package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
  524. package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js +11 -11
  525. package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
  526. package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js +5 -5
  527. package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js.map +1 -1
  528. package/dist/es/_shared/figure/add-caption-button-scss.js +11 -11
  529. package/dist/es/_shared/figure/add-caption-button-scss.js.map +1 -1
  530. package/dist/es/_shared/figure/viewer-caption-scss.js +2 -2
  531. package/dist/es/_shared/figure/viewer-caption-scss.js.map +1 -1
  532. package/dist/es/_shared/figure/viewer-figure-scss.js +1 -1
  533. package/dist/es/_shared/figure/viewer-figure-scss.js.map +1 -1
  534. package/dist/es/_shared/format-font-size.js +5 -0
  535. package/dist/es/_shared/format-font-size.js.map +7 -0
  536. package/dist/es/_shared/get-px-font-size.js +6 -0
  537. package/dist/es/_shared/get-px-font-size.js.map +7 -0
  538. package/dist/es/_shared/link-modal/open-link-modal/attributes/attributes-desktop.js.map +1 -1
  539. package/dist/es/_shared/link-modal/open-link-modal/attributes/attributes-mobile.js.map +1 -1
  540. package/dist/es/_shared/link-modal/open-link-modal/attributes/use-attributes.js.map +2 -2
  541. package/dist/es/_shared/link-modal/open-link-modal/section/section-desktop.js.map +2 -2
  542. package/dist/es/_shared/link-modal/open-link-modal/section/section-mobile.js.map +2 -2
  543. package/dist/es/_shared/link-modal/open-link-modal/site-pages/site-pages.js.map +2 -2
  544. package/dist/es/_shared/list-item-divider/list-item-divider-scss.js +3 -3
  545. package/dist/es/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
  546. package/dist/es/_shared/list-item-select/list-item-select-scss.js +4 -4
  547. package/dist/es/_shared/list-item-select/list-item-select-scss.js.map +1 -1
  548. package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js +5 -5
  549. package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
  550. package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js +3 -3
  551. package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
  552. package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +4 -4
  553. package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
  554. package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +4 -4
  555. package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
  556. package/dist/es/_shared/pm-node-types.js.map +2 -2
  557. package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +9 -9
  558. package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
  559. package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js +15 -15
  560. package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  561. package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js +10 -10
  562. package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
  563. package/dist/es/_shared/resolvers/get-font-size-in-selection.js +28 -34
  564. package/dist/es/_shared/resolvers/get-font-size-in-selection.js.map +2 -2
  565. package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js +9 -9
  566. package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
  567. package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js +4 -4
  568. package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
  569. package/dist/es/_shared/toolbar-button/toolbar-button-scss.js +5 -5
  570. package/dist/es/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
  571. package/dist/es/bundled-dependencies/ai-assistant-avatar.js +6 -6
  572. package/dist/es/bundled-dependencies/ai-assistant-avatar.js.map +1 -1
  573. package/dist/es/editor-common/statics/styles/general-scss.js +20 -20
  574. package/dist/es/editor-common/statics/styles/general-scss.js.map +1 -1
  575. package/dist/es/next/schema.js +18 -0
  576. package/dist/es/next/schema.js.map +2 -2
  577. package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js +10 -10
  578. package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
  579. package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js +4 -4
  580. package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
  581. package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +3 -3
  582. package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
  583. package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +4 -4
  584. package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
  585. package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +7 -7
  586. package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
  587. package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js +8 -8
  588. package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
  589. package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js +3 -3
  590. package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
  591. package/dist/es/plugin-ai/error-message/error-message-scss.js +3 -3
  592. package/dist/es/plugin-ai/error-message/error-message-scss.js.map +1 -1
  593. package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js +6 -6
  594. package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  595. package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js +4 -4
  596. package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
  597. package/dist/es/plugin-animation/animation-panel-scss.js +11 -11
  598. package/dist/es/plugin-animation/animation-panel-scss.js.map +1 -1
  599. package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js +3 -3
  600. package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
  601. package/dist/es/plugin-audio/statics/styles/audio-scss.js +21 -21
  602. package/dist/es/plugin-audio/statics/styles/audio-scss.js.map +1 -1
  603. package/dist/es/plugin-audio/statics/styles/icon-button-scss.js +1 -1
  604. package/dist/es/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
  605. package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js +3 -3
  606. package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
  607. package/dist/es/plugin-audio/statics/styles/sound-control-scss.js +2 -2
  608. package/dist/es/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
  609. package/dist/es/plugin-audio/viewer-styles-inject.js +4 -4
  610. package/dist/es/plugin-block-drag-handle/styles-scss.js +10 -10
  611. package/dist/es/plugin-block-drag-handle/styles-scss.js.map +1 -1
  612. package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js +4 -4
  613. package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
  614. package/dist/es/plugin-button/statics/styles/default-styles-scss.js +3 -3
  615. package/dist/es/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
  616. package/dist/es/plugin-button/statics/styles/settings-component-scss.js +3 -3
  617. package/dist/es/plugin-button/statics/styles/settings-component-scss.js.map +1 -1
  618. package/dist/es/plugin-button/viewer-styles-inject.js +2 -2
  619. package/dist/es/plugin-card/card-scss.js +19 -19
  620. package/dist/es/plugin-card/card-scss.js.map +1 -1
  621. package/dist/es/plugin-card/card-viewer-scss.js +6 -6
  622. package/dist/es/plugin-card/card-viewer-scss.js.map +1 -1
  623. package/dist/es/plugin-card/viewer-styles-inject.js +2 -2
  624. package/dist/es/plugin-code-block/code-block-converter.js +23 -10
  625. package/dist/es/plugin-code-block/code-block-converter.js.map +2 -2
  626. package/dist/es/plugin-code-block/statics/styles/code-block-scss.js +8 -8
  627. package/dist/es/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
  628. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
  629. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
  630. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
  631. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
  632. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +4 -4
  633. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
  634. package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +5 -5
  635. package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
  636. package/dist/es/plugin-collapsible-list/viewer-styles-inject.js +2 -2
  637. package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
  638. package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
  639. package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js +3 -3
  640. package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
  641. package/dist/es/plugin-divider/viewer-styles-inject.js +2 -2
  642. package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js +3 -3
  643. package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
  644. package/dist/es/plugin-figure/tiptap/caption-scss.js +5 -5
  645. package/dist/es/plugin-figure/tiptap/caption-scss.js.map +1 -1
  646. package/dist/es/plugin-figure/tiptap/figure-scss.js +5 -5
  647. package/dist/es/plugin-figure/tiptap/figure-scss.js.map +1 -1
  648. package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
  649. package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
  650. package/dist/es/plugin-file-upload/viewer-styles-inject.js +2 -2
  651. package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +5 -5
  652. package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
  653. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +8 -8
  654. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
  655. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +7 -7
  656. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
  657. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +3 -3
  658. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
  659. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +5 -5
  660. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
  661. package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js +3 -3
  662. package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
  663. package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
  664. package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
  665. package/dist/es/plugin-gallery/statics/styles/viewer-scss.js +1 -1
  666. package/dist/es/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
  667. package/dist/es/plugin-gallery/viewer/layout-column-scss.js +4 -4
  668. package/dist/es/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
  669. package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
  670. package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
  671. package/dist/es/plugin-gallery/viewer/layout-grid-scss.js +2 -2
  672. package/dist/es/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
  673. package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
  674. package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
  675. package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
  676. package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
  677. package/dist/es/plugin-gallery/viewer/layout-slider-scss.js +6 -6
  678. package/dist/es/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
  679. package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
  680. package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
  681. package/dist/es/plugin-gallery/viewer-styles-inject.js +2 -2
  682. package/dist/es/plugin-giphy/components/giphy-selector-scss.js +11 -11
  683. package/dist/es/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
  684. package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
  685. package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
  686. package/dist/es/plugin-giphy/viewer/play-icon-scss.js +2 -2
  687. package/dist/es/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
  688. package/dist/es/plugin-giphy/viewer-styles-inject.js +2 -2
  689. package/dist/es/plugin-hashtag/statics/hashtag-scss.js +2 -2
  690. package/dist/es/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
  691. package/dist/es/plugin-hashtag/viewer-styles-inject.js +2 -2
  692. package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js +9 -9
  693. package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
  694. package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
  695. package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
  696. package/dist/es/plugin-html/statics/styles/Iframe-scss.js +1 -1
  697. package/dist/es/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
  698. package/dist/es/plugin-html/tiptap/ai-widget-scss.js +4 -4
  699. package/dist/es/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
  700. package/dist/es/plugin-html/tiptap/loader-scss.js +11 -11
  701. package/dist/es/plugin-html/tiptap/loader-scss.js.map +1 -1
  702. package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js +4 -4
  703. package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
  704. package/dist/es/plugin-html/viewer-styles-inject.js +2 -2
  705. package/dist/es/plugin-image/components/corner-radius-handles-scss.js +6 -6
  706. package/dist/es/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
  707. package/dist/es/plugin-image/components/crop-edge-handles-scss.js +3 -3
  708. package/dist/es/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
  709. package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js +16 -16
  710. package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
  711. package/dist/es/plugin-image/statics/styles/image-viewer-scss.js +20 -20
  712. package/dist/es/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
  713. package/dist/es/plugin-image/statics/styles/settings-modal-scss.js +3 -3
  714. package/dist/es/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
  715. package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js +6 -6
  716. package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
  717. package/dist/es/plugin-image/viewer-styles-inject.js +2 -2
  718. package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js +12 -12
  719. package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
  720. package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js +3 -3
  721. package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
  722. package/dist/es/plugin-inline-ai/aria-surface-row-scss.js +6 -6
  723. package/dist/es/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
  724. package/dist/es/plugin-inline-ai/html-placeholder-scss.js +5 -5
  725. package/dist/es/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
  726. package/dist/es/plugin-inline-ai/modal-scss.js +11 -11
  727. package/dist/es/plugin-inline-ai/modal-scss.js.map +1 -1
  728. package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js +14 -14
  729. package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
  730. package/dist/es/plugin-inline-ai/spinner-scss.js +4 -4
  731. package/dist/es/plugin-inline-ai/spinner-scss.js.map +1 -1
  732. package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js +4 -4
  733. package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
  734. package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +3 -3
  735. package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
  736. package/dist/es/plugin-link/statics/link-viewer-scss.js +4 -4
  737. package/dist/es/plugin-link/statics/link-viewer-scss.js.map +1 -1
  738. package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js +3 -3
  739. package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
  740. package/dist/es/plugin-link/viewer-styles-inject.js +2 -2
  741. package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js +3 -3
  742. package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
  743. package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
  744. package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
  745. package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js +3 -3
  746. package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
  747. package/dist/es/plugin-link-preview/viewer-styles-inject.js +3 -3
  748. package/dist/es/plugin-mentions/statics/mention-list-scss.js +6 -6
  749. package/dist/es/plugin-mentions/statics/mention-list-scss.js.map +1 -1
  750. package/dist/es/plugin-mentions/statics/mentions-scss.js +4 -4
  751. package/dist/es/plugin-mentions/statics/mentions-scss.js.map +1 -1
  752. package/dist/es/plugin-mentions/viewer-styles-inject.js +2 -2
  753. package/dist/es/plugin-paywall/paywall-fallback-scss.js +1 -1
  754. package/dist/es/plugin-paywall/paywall-fallback-scss.js.map +1 -1
  755. package/dist/es/plugin-smart-block/components/cell-accessory-scss.js +22 -22
  756. package/dist/es/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
  757. package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
  758. package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
  759. package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
  760. package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
  761. package/dist/es/plugin-smart-block/components/cell-stat-scss.js +20 -20
  762. package/dist/es/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
  763. package/dist/es/plugin-smart-block/components/circle-donut-scss.js +7 -7
  764. package/dist/es/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
  765. package/dist/es/plugin-smart-block/components/shape-overlay-scss.js +3 -3
  766. package/dist/es/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
  767. package/dist/es/plugin-smart-block/components/smart-block-view-scss.js +50 -50
  768. package/dist/es/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
  769. package/dist/es/plugin-smart-block/components/stars-scss.js +8 -8
  770. package/dist/es/plugin-smart-block/components/stars-scss.js.map +1 -1
  771. package/dist/es/plugin-smart-block/modals/variant-picker-scss.js +9 -9
  772. package/dist/es/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
  773. package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js +15 -15
  774. package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
  775. package/dist/es/plugin-smart-block/viewer-styles-inject.js +2 -2
  776. package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
  777. package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
  778. package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js +3 -3
  779. package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
  780. package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
  781. package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
  782. package/dist/es/plugin-social-polls/components/poll-option/option-scss.js +23 -23
  783. package/dist/es/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
  784. package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
  785. package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
  786. package/dist/es/plugin-social-polls/components/poll-scss.js +19 -19
  787. package/dist/es/plugin-social-polls/components/poll-scss.js.map +1 -1
  788. package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js +4 -4
  789. package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
  790. package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
  791. package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
  792. package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
  793. package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
  794. package/dist/es/plugin-social-polls/viewer-styles-inject.js +2 -2
  795. package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
  796. package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
  797. package/dist/es/plugin-spoiler/viewer-styles-inject.js +2 -2
  798. package/dist/es/plugin-table/modals/table-grid-selector-scss.js +7 -7
  799. package/dist/es/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
  800. package/dist/es/plugin-table/statics/styles/cell-scss.js +15 -15
  801. package/dist/es/plugin-table/statics/styles/cell-scss.js.map +1 -1
  802. package/dist/es/plugin-table/statics/styles/resizer-scss.js +20 -20
  803. package/dist/es/plugin-table/statics/styles/resizer-scss.js.map +1 -1
  804. package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js +3 -3
  805. package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
  806. package/dist/es/plugin-table/statics/styles/table-viewer-scss.js +6 -6
  807. package/dist/es/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
  808. package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js +11 -11
  809. package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
  810. package/dist/es/plugin-table/tiptap/plugins/table-scss.js +35 -35
  811. package/dist/es/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
  812. package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js +4 -4
  813. package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
  814. package/dist/es/plugin-table/viewer-styles-inject.js +4 -4
  815. package/dist/es/plugin-text-color/text-button-color-scss.js +4 -4
  816. package/dist/es/plugin-text-color/text-button-color-scss.js.map +1 -1
  817. package/dist/es/plugin-toc/toc-view-scss.js +2 -2
  818. package/dist/es/plugin-toc/toc-view-scss.js.map +1 -1
  819. package/dist/es/plugin-toc/viewer-styles-inject.js +2 -2
  820. package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
  821. package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
  822. package/dist/es/plugin-vertical-embed/components/card-content-scss.js +23 -23
  823. package/dist/es/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
  824. package/dist/es/plugin-vertical-embed/components/card-scss.js +19 -19
  825. package/dist/es/plugin-vertical-embed/components/card-scss.js.map +1 -1
  826. package/dist/es/plugin-vertical-embed/components/description-scss.js +2 -2
  827. package/dist/es/plugin-vertical-embed/components/description-scss.js.map +1 -1
  828. package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js +4 -4
  829. package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
  830. package/dist/es/plugin-vertical-embed/tiptap/component-scss.js +12 -12
  831. package/dist/es/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
  832. package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js +3 -3
  833. package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
  834. package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
  835. package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
  836. package/dist/es/plugin-vertical-embed/viewer-styles-inject.js +3 -3
  837. package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js +10 -10
  838. package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
  839. package/dist/es/plugin-video/statics/styles/video-viewer-scss.js +3 -3
  840. package/dist/es/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
  841. package/dist/es/plugin-video/toolbar/embed-video-scss.js +3 -3
  842. package/dist/es/plugin-video/toolbar/embed-video-scss.js.map +1 -1
  843. package/dist/es/plugin-video/viewer-styles-inject.js +2 -2
  844. package/dist/es/ricos-common-plugins/blockquote/blockquote-converter.js +13 -6
  845. package/dist/es/ricos-common-plugins/blockquote/blockquote-converter.js.map +2 -2
  846. package/dist/es/ricos-common-plugins/decoration-plugins/indentation-styling.js +1 -1
  847. package/dist/es/ricos-common-plugins/decoration-plugins/indentation-styling.js.map +2 -2
  848. package/dist/es/ricos-common-plugins/decoration-plugins/list-item-sizing.js +14 -11
  849. package/dist/es/ricos-common-plugins/decoration-plugins/list-item-sizing.js.map +2 -2
  850. package/dist/es/ricos-common-plugins/font-size/block-font-size-plugin.js +110 -0
  851. package/dist/es/ricos-common-plugins/font-size/block-font-size-plugin.js.map +7 -0
  852. package/dist/es/ricos-common-plugins/font-size/block-font-size.js +49 -0
  853. package/dist/es/ricos-common-plugins/font-size/block-font-size.js.map +7 -0
  854. package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +3 -3
  855. package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
  856. package/dist/es/ricos-common-plugins/font-size/extension.js +56 -10
  857. package/dist/es/ricos-common-plugins/font-size/extension.js.map +3 -3
  858. package/dist/es/ricos-common-plugins/font-size/font-size.js.map +2 -2
  859. package/dist/es/ricos-common-plugins/font-size/viewer.js +2 -2
  860. package/dist/es/ricos-common-plugins/font-size/viewer.js.map +2 -2
  861. package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +10 -10
  862. package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
  863. package/dist/es/ricos-common-plugins/layout/layouts-scss.js +35 -35
  864. package/dist/es/ricos-common-plugins/layout/layouts-scss.js.map +1 -1
  865. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +4 -4
  866. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
  867. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +6 -6
  868. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
  869. package/dist/es/ricos-common-plugins/paragraph/paragraph-converter.js +10 -4
  870. package/dist/es/ricos-common-plugins/paragraph/paragraph-converter.js.map +2 -2
  871. package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js +4 -4
  872. package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
  873. package/dist/es/ricos-common-plugins/statics/styles-scss.js +20 -20
  874. package/dist/es/ricos-common-plugins/statics/styles-scss.js.map +1 -1
  875. package/dist/es/ricos-common-plugins/title/heading-converter.js +12 -4
  876. package/dist/es/ricos-common-plugins/title/heading-converter.js.map +2 -2
  877. package/dist/es/ricos-common-plugins/title/headings-scss.js +10 -10
  878. package/dist/es/ricos-common-plugins/title/headings-scss.js.map +1 -1
  879. package/dist/es/ricos-content/converters/html/fromHtml/core/preprocess.js +1 -1
  880. package/dist/es/ricos-content/converters/html/fromHtml/core/preprocess.js.map +1 -1
  881. package/dist/es/ricos-content/index.js +0 -20
  882. package/dist/es/ricos-content/index.js.map +2 -2
  883. package/dist/es/ricos-content-query/get-anchorable-nodes-query.js +1 -1
  884. package/dist/es/ricos-content-query/get-anchorable-nodes-query.js.map +1 -1
  885. package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js +11 -11
  886. package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
  887. package/dist/es/ricos-modals/statics/styles/drawer-scss.js +11 -11
  888. package/dist/es/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
  889. package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js +3 -3
  890. package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
  891. package/dist/es/ricos-modals/statics/styles/popper-scss.js +5 -5
  892. package/dist/es/ricos-modals/statics/styles/popper-scss.js.map +1 -1
  893. package/dist/es/ricos-schema/next-schema/index.js +17 -2
  894. package/dist/es/ricos-schema/next-schema/index.js.map +3 -3
  895. package/dist/es/ricos-schema/next-schema/version.js +1 -1
  896. package/dist/es/ricos-schema/next-schema/version.js.map +1 -1
  897. package/dist/es/ricos-shortcuts/keys.js +1 -1
  898. package/dist/es/ricos-shortcuts/keys.js.map +1 -1
  899. package/dist/es/ricos-styles/statics/styles/style-presets-scss.js +8 -8
  900. package/dist/es/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
  901. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
  902. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
  903. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
  904. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
  905. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.js +12 -4
  906. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.js.map +2 -2
  907. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
  908. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
  909. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.js +8 -3
  910. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.js.map +2 -2
  911. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
  912. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
  913. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js +8 -4
  914. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js.map +2 -2
  915. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
  916. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
  917. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
  918. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
  919. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.js +11 -3
  920. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.js.map +2 -2
  921. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
  922. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
  923. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
  924. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
  925. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +14 -14
  926. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
  927. package/dist/es/ricos-viewer-next/statics/alignment-scss.js +16 -16
  928. package/dist/es/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
  929. package/dist/es/ricos-viewer-next/statics/indentation-scss.js +7 -7
  930. package/dist/es/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
  931. package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
  932. package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
  933. package/dist/es/ricos-viewer-next/statics/rtl-scss.js +2 -2
  934. package/dist/es/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
  935. package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +4 -4
  936. package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
  937. package/dist/es/tiptap-editor/commands/update-text-node.js +7 -0
  938. package/dist/es/tiptap-editor/commands/update-text-node.js.map +2 -2
  939. package/dist/es/tiptap-editor/components/RicosTiptapEditor/ricos-tiptap-editor.js +1 -1
  940. package/dist/es/tiptap-editor/components/RicosTiptapEditor/ricos-tiptap-editor.js.map +1 -1
  941. package/dist/es/tiptap-editor/components/rich-content-adapter.js +9 -2
  942. package/dist/es/tiptap-editor/components/rich-content-adapter.js.map +2 -2
  943. package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +15 -15
  944. package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
  945. package/dist/es/tiptap-extensions/placeholder-scss.js +3 -3
  946. package/dist/es/tiptap-extensions/placeholder-scss.js.map +1 -1
  947. package/dist/es/tiptap-extensions/ricos-styles.js +6 -1
  948. package/dist/es/tiptap-extensions/ricos-styles.js.map +2 -2
  949. package/dist/es/tiptap-extensions/statics/styles-scss.js +6 -6
  950. package/dist/es/tiptap-extensions/statics/styles-scss.js.map +1 -1
  951. package/dist/es/tiptap-extensions/unique-id.js +1 -1
  952. package/dist/es/tiptap-extensions/unique-id.js.map +2 -2
  953. package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +3 -3
  954. package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
  955. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +5 -5
  956. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
  957. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +5 -5
  958. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
  959. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +6 -6
  960. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
  961. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +11 -11
  962. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
  963. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +3 -3
  964. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
  965. package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +5 -5
  966. package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
  967. package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +7 -7
  968. package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
  969. package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +8 -8
  970. package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
  971. package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +3 -3
  972. package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
  973. package/dist/es/toolbars-v3/ricos-toolbars/use-is-toolbar-empty.js +1 -1
  974. package/dist/es/toolbars-v3/ricos-toolbars/use-is-toolbar-empty.js.map +1 -1
  975. package/dist/es/ui-components/Components/Image-scss.js +3 -3
  976. package/dist/es/ui-components/Components/Image-scss.js.map +1 -1
  977. package/dist/es/ui-components/Components/double-loader-scss.js +6 -6
  978. package/dist/es/ui-components/Components/double-loader-scss.js.map +1 -1
  979. package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +4 -4
  980. package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
  981. package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +15 -15
  982. package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
  983. package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +3 -3
  984. package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
  985. package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +4 -4
  986. package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
  987. package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +4 -4
  988. package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
  989. package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +3 -3
  990. package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
  991. package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js +3 -3
  992. package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
  993. package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js +5 -5
  994. package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
  995. package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +3 -3
  996. package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
  997. package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +6 -6
  998. package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
  999. package/dist/es/ui-components/panel/panel-scss.js +4 -4
  1000. package/dist/es/ui-components/panel/panel-scss.js.map +1 -1
  1001. package/dist/es/ui-components/panel-header/panel-header-scss.js +3 -3
  1002. package/dist/es/ui-components/panel-header/panel-header-scss.js.map +1 -1
  1003. package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +3 -3
  1004. package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
  1005. package/dist/es/ui-components/statics/styles/generic-error-scss.js +3 -3
  1006. package/dist/es/ui-components/statics/styles/generic-error-scss.js.map +1 -1
  1007. package/dist/es/ui-components/statics/styles/loaders-scss.js +10 -10
  1008. package/dist/es/ui-components/statics/styles/loaders-scss.js.map +1 -1
  1009. package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js +5 -5
  1010. package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
  1011. package/dist/es/ui-components/statics/styles/slider-scss.js +9 -9
  1012. package/dist/es/ui-components/statics/styles/slider-scss.js.map +1 -1
  1013. package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js +3 -3
  1014. package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
  1015. package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js +18 -18
  1016. package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
  1017. package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js +3 -3
  1018. package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
  1019. package/dist/es/wix-rich-content-common/statics/styles/general-scss.js +13 -13
  1020. package/dist/es/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
  1021. package/dist/src/_shared/format-font-size.d.ts +8 -0
  1022. package/dist/src/_shared/format-font-size.d.ts.map +1 -0
  1023. package/dist/src/_shared/get-px-font-size.d.ts +5 -0
  1024. package/dist/src/_shared/get-px-font-size.d.ts.map +1 -0
  1025. package/dist/src/_shared/link-modal/open-link-modal/attributes/attributes-desktop.d.ts +1 -1
  1026. package/dist/src/_shared/link-modal/open-link-modal/attributes/attributes-desktop.d.ts.map +1 -1
  1027. package/dist/src/_shared/link-modal/open-link-modal/attributes/attributes-mobile.d.ts +1 -1
  1028. package/dist/src/_shared/link-modal/open-link-modal/attributes/attributes-mobile.d.ts.map +1 -1
  1029. package/dist/src/_shared/link-modal/open-link-modal/attributes/use-attributes.d.ts +9 -1
  1030. package/dist/src/_shared/link-modal/open-link-modal/attributes/use-attributes.d.ts.map +1 -1
  1031. package/dist/src/_shared/link-modal/open-link-modal/section/section-desktop.d.ts.map +1 -1
  1032. package/dist/src/_shared/link-modal/open-link-modal/section/section-mobile.d.ts.map +1 -1
  1033. package/dist/src/_shared/link-modal/open-link-modal/site-pages/site-pages.d.ts.map +1 -1
  1034. package/dist/src/_shared/link-modal/open-link-modal/types.d.ts +0 -9
  1035. package/dist/src/_shared/link-modal/open-link-modal/types.d.ts.map +1 -1
  1036. package/dist/src/_shared/pm-node-types.d.ts +5 -1
  1037. package/dist/src/_shared/pm-node-types.d.ts.map +1 -1
  1038. package/dist/src/_shared/resolvers/get-font-size-in-selection.d.ts.map +1 -1
  1039. package/dist/src/content.d.ts +1 -1
  1040. package/dist/src/legacy.d.ts +2 -1
  1041. package/dist/src/next/schema.d.ts +2 -2
  1042. package/dist/src/next/schema.d.ts.map +1 -1
  1043. package/dist/src/plugin-code-block/code-block-converter.d.ts.map +1 -1
  1044. package/dist/src/ricos-common-plugins/blockquote/blockquote-converter.d.ts.map +1 -1
  1045. package/dist/src/ricos-common-plugins/decoration-plugins/list-item-sizing.d.ts +1 -1
  1046. package/dist/src/ricos-common-plugins/decoration-plugins/list-item-sizing.d.ts.map +1 -1
  1047. package/dist/src/ricos-common-plugins/font-size/block-font-size-plugin.d.ts +13 -0
  1048. package/dist/src/ricos-common-plugins/font-size/block-font-size-plugin.d.ts.map +1 -0
  1049. package/dist/src/ricos-common-plugins/font-size/block-font-size.d.ts +14 -0
  1050. package/dist/src/ricos-common-plugins/font-size/block-font-size.d.ts.map +1 -0
  1051. package/dist/src/ricos-common-plugins/font-size/extension.d.ts +1 -1
  1052. package/dist/src/ricos-common-plugins/font-size/extension.d.ts.map +1 -1
  1053. package/dist/src/ricos-common-plugins/font-size/font-size.d.ts +1 -1
  1054. package/dist/src/ricos-common-plugins/font-size/font-size.d.ts.map +1 -1
  1055. package/dist/src/ricos-common-plugins/font-size/viewer.d.ts +1 -1
  1056. package/dist/src/ricos-common-plugins/font-size/viewer.d.ts.map +1 -1
  1057. package/dist/src/ricos-common-plugins/layout/layout-fill.d.ts +1 -1
  1058. package/dist/src/ricos-common-plugins/paragraph/paragraph-converter.d.ts.map +1 -1
  1059. package/dist/src/ricos-common-plugins/title/heading-converter.d.ts.map +1 -1
  1060. package/dist/src/ricos-common-plugins/types.d.ts +1 -1
  1061. package/dist/src/ricos-common-plugins/types.d.ts.map +1 -1
  1062. package/dist/src/ricos-content/TranslatableAPI/utils.d.ts +1 -1
  1063. package/dist/src/ricos-content/converters/draft/fromDraft/convert-json-to-struct.d.ts +1 -1
  1064. package/dist/src/ricos-content/converters/draft/struct-refined-types.d.ts +2 -2
  1065. package/dist/src/ricos-content/converters/draft/toDraft/convert-draft-plugin-data-no-inner-rce.d.ts +2 -1
  1066. package/dist/src/ricos-content/converters/draft/toDraft/convert-struct-to-json.d.ts +1 -1
  1067. package/dist/src/ricos-content/index.d.ts +0 -1
  1068. package/dist/src/ricos-content/index.d.ts.map +1 -1
  1069. package/dist/src/ricos-content/types/node-refined-types.d.ts +2 -1
  1070. package/dist/src/ricos-schema/next-schema/index.d.ts +4 -3
  1071. package/dist/src/ricos-schema/next-schema/index.d.ts.map +1 -1
  1072. package/dist/src/ricos-schema/next-schema/version.d.ts +1 -1
  1073. package/dist/src/ricos-styles/tests/test-cases.d.ts +5 -5
  1074. package/dist/src/ricos-types/node-refined-types.d.ts +2 -1
  1075. package/dist/src/ricos-types/plugin-exports.d.ts +1 -2
  1076. package/dist/src/ricos-types/plugin-exports.d.ts.map +1 -1
  1077. package/dist/src/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock.d.ts.map +1 -1
  1078. package/dist/src/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading.d.ts.map +1 -1
  1079. package/dist/src/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.d.ts.map +1 -1
  1080. package/dist/src/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph.d.ts.map +1 -1
  1081. package/dist/src/ricos-viewer-next/types.d.ts +1 -1
  1082. package/dist/src/ricos-viewer-next/types.d.ts.map +1 -1
  1083. package/dist/src/tiptap-editor/commands/update-text-node.d.ts.map +1 -1
  1084. package/dist/src/tiptap-editor/components/rich-content-adapter.d.ts.map +1 -1
  1085. package/dist/src/tiptap-extensions/ricos-styles.d.ts.map +1 -1
  1086. package/dist/src/tiptap-extensions/unique-id.d.ts.map +1 -1
  1087. package/package.json +5 -3
  1088. package/dist/cjs/ricos-common-plugins/font-size/types.js.map +0 -7
  1089. package/dist/es/ricos-common-plugins/font-size/types.js +0 -1
  1090. package/dist/es/ricos-common-plugins/font-size/types.js.map +0 -7
  1091. package/dist/src/ricos-common-plugins/font-size/types.d.ts +0 -4
  1092. 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 = 'dda71c82'; \nexport const injectCss = (() => {\n var css = `.MUSt8{height:100%;position:relative}.MUSt8>[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\": \"MUSt8\"\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": "AAEA,SAAS,iBAAiB;AAE1B,SAAS,iBAAiB,0BAA0B;AAQpD,SAAS,iBAAiB;AAE1B,SAAS,uBAAuB;AAIhC,SAAS,MAAM,kBAAkB;AAGjC,SAAS,sCAAsC;AAE/C,MAAM,YAAY;AAElB,MAAM,wBAAwB;AAAA,EAC5B,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AAAA,EACV,UAAU;AACZ;AAGA,MAAM,uBAAuB,KAAK;AAAA,EAGhC,YACU,KACA,OACR;AACA,UAAM;AAHE;AACA;AAGR,SAAK,MAAM;AACX,SAAK,QAAQ;AAAA,EACf;AAAA,EAEA,IAAI,WAAW;AACb,WAAO;AAAA,EACT;AAAA,EAEA,MAAM,KAAe;AACnB,SAAK,YAAY,IAAI,MAAM,KAAK,GAAG;AAEnC,QAAI,IAAI,UAAU,IAAI,KAAK,cAAc;AACvC,UAAI,QAAQ,OAAO,OAAO,CAAC,GAAG,IAAI,KAAK;AAAA,IACzC;AACA,QAAI,MAAM,KAAK,GAAG,IAAI,KAAK;AAC3B,WAAO,WAAW,GAAG,GAAG;AAAA,EAC1B;AAAA,EAEA,SAAS;AACP,WAAO,IAAI,eAAe,KAAK,KAAK,KAAK,SAAS;AAAA,EACpD;AAAA;AAAA,EAGA,MAAM;AACJ,WAAO;AAAA,EACT;AAAA,EAEA,SAAS;AACP,WAAO;AAAA,MACL,UAAU,KAAK;AAAA,MACf,KAAK,KAAK;AAAA,MACV,OAAO,KAAK;AAAA,IACd;AAAA,EACF;AAAA,EAEA,OAAO,SAAS,QAAkB,MAAgB;AAChD,WAAO,IAAI,eAAe,KAAK,KAAK,KAAK,KAAK;AAAA,EAChD;AAAA,EAEA,OAAO,WAAW;AAChB,QAAI;AACF,WAAK,OAAO,WAAW,cAAc;AAAA,IACvC,SAAS,KAAK;AACZ,UAAK,IAAc,YAAY,iCAAiC,SAAS,IAAI;AAC3E,cAAM;AAAA,MACR;AAAA,IACF;AACA,WAAO;AAAA,EACT;AACF;AAmCO,MAAM,oCAAoC,CAC/C,gBACA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AACF,MACG;AACH,QAAM,EAAE,MAAM,GAAG,IAAI,MAAM;AAC3B,MAAI;AACJ,QAAM,IAAI,aAAa,MAAM,IAAI,cAAY;AAC3C,QAAI,CAAC,UAAU,WAAW,UAAU,OAAO,EAAE,SAAS,UAAU,MAAM,IAAW,GAAG;AAClF,aAAO,aAAa,WAAW,SAAS,OAAO,CAAC;AAChD,aAAO;AAAA,IACT;AAAA,EACF,CAAC;AACD,SAAO,QAAQ,OAAO,cAAc,MAAqC,cAAc;AACzF;AAEO,MAAM,mCAAmC,CAAC;AAAA,EAC/C;AAAA,EACA;AACF,MAGM;AACJ,QAAM,EAAE,OAAO,KAAK,IAAI;AACxB,QAAM,EAAE,MAAM,IAAI,MAAM,IAAI,MAAM;AAElC,QAAM,UAAU,MAAM,QAAQ,IAAI,KAAK,QAAQ,MAAM,OAAO,MAAM,KAAK,CAAC,IAAI;AAE5E,MAAI;AAEJ,QAAM,IAAI,aAAa,MAAM,IAAI,cAAY;AAC3C,QAAI,CAAC,UAAU,WAAW,UAAU,OAAO,EAAE,SAAS,UAAU,MAAM,IAAW,GAAG;AAClF,aAAO,SAAS,OAAO;AACvB,aAAO;AAAA,IACT;AAAA,EACF,CAAC;AAED,SAAO,OAAO,OAAO,sBAAsB,MAAM,OAAsB,IAAI;AAC7E;AAEO,MAAM,cAAc,+BAGxB;AAAA,EACD,MAAM;AAAA,EACN,QAAQ,CAAC;AAAA,EACT,MAAM;AAAA,EACN,aAAa,CACX,QACA,aACA,aACA,WACA,aACG;AACH,WAAO;AAAA,MACL,GAAG;AAAA,MACH,aAAa;AACX,eAAO;AAAA,UACL,QAAQ,SAAS;AAAA,UACjB,YAAY,SAAS;AAAA,QACvB;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,wBAAwB;AACtB,WAAO;AAAA,MACL,MAAM,KAAK;AAAA,MACX,cAAc;AACZ,eAAO;AAAA,UACL,mCACE,CAAC,mBACD,CAAC,EAAE,MAAM,MAAM;AACb,kBAAM,EAAE,MAAM,GAAG,IAAI,MAAM;AAC3B,gBAAI;AACJ,kBAAM,IAAI,aAAa,MAAM,IAAI,cAAY;AAC3C,kBACE,CAAC,UAAU,WAAW,UAAU,OAAO,EAAE,SAAS,UAAU,MAAM,IAAW,GAC7E;AACA,uBAAO,KAAK,QAAQ,WAAW,WAAW,SAAS,OAAO,CAAC;AAC3D,uBAAO;AAAA,cACT;AAAA,YACF,CAAC;AACD,mBACE,QACA,KAAK,QAAQ,OAAO;AAAA,cAClB;AAAA,cACA;AAAA,YACF;AAAA,UAEJ;AAAA,UACF,mCACE,MACA,CAAC,EAAE,OAAO,MAAM,MAAM;AACpB,kBAAM,EAAE,MAAM,GAAG,IAAI,MAAM;AAC3B,gBAAI,MAAwB;AAE5B,kBAAM,IAAI,aAAa,MAAM,IAAI,cAAY;AAC3C,kBACE,CAAC,UAAU,WAAW,UAAU,OAAO,EAAE,SAAS,UAAU,MAAM,IAAW,GAC7E;AACA,uBAAO,KAAK,QAAQ,WAAW,WAAW,SAAS,OAAO,CAAC;AAC3D,4BAAY;AAEZ,uBAAO;AAAA,cACT;AAAA,YACF,CAAC;AACD,gBAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,mBAAmB,oBAAoB,IAAI,GAAG;AACxE,qBAAO;AAAA,YACT;AAEA,kBAAM,sBAAsB,mBAAmB,SAAS,IAAI;AAE5D,mBAAO,MAAM,EACV,MAAM,EACN,oBAAoB,oBAAoB,UAAU,CAAC,EACnD,QAAQ,CAAC,EAAE,OAAAA,QAAO,SAAS,MAAM;AAChC,cAAAA,OAAM,IAAI,YAAY,CAACC,OAAM,QAAQ;AACnC,oBACEA,MAAK,eACLA,MAAK,KAAK,SAAU,UAA8B,KAAK,MACvD;AACA,2BAAS,iCAAiCA,KAAI;AAC9C,2BAAS,iCAAiCA,OAAM,GAAG;AAAA,gBACrD;AAAA,cACF,CAAC;AACD,qBAAO;AAAA,YACT,CAAC,EAEA,IAAI;AAAA,UACT;AAAA,UACF,kCACE,CAAC,SACD,CAAC,EAAE,QAAQ,IAAI,MAAM,MAAM;AACzB,kBAAM,cAAc,SAAS,KAAK,cAAc,mBAAmB,KAAK,MAAM,EAAE,IAAI;AACpF,gBAAI,aAAa;AACf,oBAAM,QAAQ,OAAO,KAAK,SAAS,aAAa,CAAC;AACjD,oBAAM,MAAM,QAAQ,KAAK,QAAQ;AAEjC,8BAAgB,OAAO,KAAK,MAAM,GAAG,EAAE,QAAQ,cAAY;AACzD,oBAAI,sBAAsB,SAAS,SAAS,KAAK,KAAK,IAAI,GAAG;AAC3D,qBAAG,WAAW,OAAO,KAAK,SAAS,IAAI;AAAA,gBACzC;AAAA,cACF,CAAC;AAAA,YACH;AACA,mBAAO;AAAA,UACT;AAAA,UACF,kCACE,CAAC,MAAuB,QACxB,CAAC,EAAE,GAAG,MAAM;AAEV,kBAAM;AAAA,cACJ,OAAO;AAAA,cACP,UAAU;AAAA,cACV;AAAA,cACA,GAAG;AAAA,YACL,IAAI,KAAK;AACT,kBAAM,QACJ,aAAa,OAAO,cAAc,WAC9B;AAAA,cACE,GAAG;AAAA,cACH,YAAY,CAAC,EAAE,YAAY,oBAAoB,GAAG,cAAc,MAC9D,eAAe,SAAS;AAAA,YAC5B,IACA;AACN,eAAG,cAAc,KAAK,QAAW,KAAK;AACtC,mBAAO;AAAA,UACT;AAAA,UACF,8BACE,cACA,CAAC,EAAE,MAAM,MAAM;AACb,kBAAM,uBAAuB,IAAI,mBAAmB,MAAM,IAAI,MAAM,aAAa,EAC9E,WAAW,QAAQ,EACnB,UAAU;AAEb,kBAAM,GAAG,KAAK,IAAI,eAAe,iBAAiB,oBAAoB,CAAC;AACvE,iBAAK,QAAQ,OAAO,iBAAiB,oBAAoB;AACzD,mBAAO;AAAA,UACT;AAAA,UACF,qBACE,CAAC,kBACD,CAAC,EAAE,MAAM,MAAM;AACb,kBAAM,uBAAuB,IAAI,mBAAmB,MAAM,IAAI,MAAM,aAAa,EAC9E,UAAU,aAAa,EACvB,UAAU;AACb,kBAAM,GAAG,KAAK,IAAI,eAAe,iBAAiB,oBAAoB,CAAC;AACvE,iBAAK,QAAQ,OAAO,iBAAiB,oBAAoB;AACzD,mBAAO;AAAA,UACT;AAAA,QACJ;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
6
6
  "names": ["state", "node"]
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "eb38828a";
1
+ var styleDataHash = "44845a10";
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 = `.t39PD{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.cDBYt{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] .cDBYt{font:var(--ricos-custom-link-font)}[data-ricos-font~=link-font-style] .cDBYt{font-style:var(--ricos-custom-link-font-style)}[data-ricos-font~=link-font-weight] .cDBYt{font-weight:var(--ricos-custom-link-font-weight)}[data-ricos-font~=link-font-size] .cDBYt{font-size:var(--ricos-custom-link-font-size)}[data-ricos-font~=link-line-height] .cDBYt{line-height:var(--ricos-custom-link-line-height)}.MADVR:hover{cursor:pointer}.JDi-d{color:var(--ricos-text-color,#212121)}.JDi-d.prosemirror-dropcursor-block:after,.JDi-d.prosemirror-dropcursor-block:before{border:2px solid #116dff;border-radius:50%;content:"";height:2px;position:absolute;top:50%;transform:translateY(-50%);width:2px}.JDi-d.prosemirror-dropcursor-block:before{left:0}.JDi-d.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": "t39PD",
25
+ "link": "cDBYt",
26
+ "linkInViewer": "MADVR",
27
+ "dropcursor": "JDi-d"
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 = '44845a10'; \nexport const injectCss = (() => {\n var css = `.t39PD{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.cDBYt{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] .cDBYt{font:var(--ricos-custom-link-font)}[data-ricos-font~=link-font-style] .cDBYt{font-style:var(--ricos-custom-link-font-style)}[data-ricos-font~=link-font-weight] .cDBYt{font-weight:var(--ricos-custom-link-font-weight)}[data-ricos-font~=link-font-size] .cDBYt{font-size:var(--ricos-custom-link-font-size)}[data-ricos-font~=link-line-height] .cDBYt{line-height:var(--ricos-custom-link-line-height)}.MADVR:hover{cursor:pointer}.JDi-d{color:var(--ricos-text-color,#212121)}.JDi-d.prosemirror-dropcursor-block:after,.JDi-d.prosemirror-dropcursor-block:before{border:2px solid #116dff;border-radius:50%;content:\"\";height:2px;position:absolute;top:50%;transform:translateY(-50%);width:2px}.JDi-d.prosemirror-dropcursor-block:before{left:0}.JDi-d.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\": \"t39PD\",\n \"link\": \"cDBYt\",\n \"linkInViewer\": \"MADVR\",\n \"dropcursor\": \"JDi-d\"\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 = "8c682451";
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 = `.zQvUR{box-sizing:border-box}.zQvUR *,.zQvUR :after,.zQvUR :before{box-sizing:inherit}.zQvUR 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": "zQvUR"
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 = '8c682451'; \nexport const injectCss = (() => {\n var css = `.zQvUR{box-sizing:border-box}.zQvUR *,.zQvUR :after,.zQvUR :before{box-sizing:inherit}.zQvUR 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\": \"zQvUR\"\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 = "ba929bee";
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";.-Rub9{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.UGa4H{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}.MVRnV{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": "-Rub9",
25
+ "moreItems": "UGa4H",
26
+ "overflownItems": "MVRnV"
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 = 'ba929bee'; \nexport const injectCss = (() => {\n var css = `@charset \"UTF-8\";.-Rub9{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.UGa4H{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}.MVRnV{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\": \"-Rub9\",\n \"moreItems\": \"UGa4H\",\n \"overflownItems\": \"MVRnV\"\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 = "6b0f8280";
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 = `.LVq2l{position:relative;width:max-content}.I6cjK{align-items:center;display:flex;gap:3px;width:max-content}._84fwo{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": "LVq2l",
25
+ "visibleItems": "I6cjK",
26
+ "hiddenToolbar": "_84fwo"
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 = '6b0f8280'; \nexport const injectCss = (() => {\n var css = `.LVq2l{position:relative;width:max-content}.I6cjK{align-items:center;display:flex;gap:3px;width:max-content}._84fwo{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\": \"LVq2l\",\n \"visibleItems\": \"I6cjK\",\n \"hiddenToolbar\": \"_84fwo\"\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 = "e77ec4f3";
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";.Osy4E{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.yiztD{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}._7E3f6{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}.oR0XE{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": "Osy4E",
25
+ "toolbar": "yiztD",
26
+ "toolbarFloating": "_7E3f6",
27
+ "toolbarStatic": "oR0XE"
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 = 'e77ec4f3'; \nexport const injectCss = (() => {\n var css = `@charset \"UTF-8\";.Osy4E{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.yiztD{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}._7E3f6{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}.oR0XE{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\": \"Osy4E\",\n \"toolbar\": \"yiztD\",\n \"toolbarFloating\": \"_7E3f6\",\n \"toolbarStatic\": \"oR0XE\"\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 = "c36074cc";
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";.CSChH{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.IxtVD{position:relative;--mobile-toolbar-height:42px}._2HqHS{--border-top:0px;--border-bottom:0px;--border-left:0px;--border-right:0px}._7fs-d{--border-top:1px;--border-bottom:1px;--border-left:1px;--border-right:1px}.qWy9z{--border-top:0px;--border-bottom:1px;--border-left:0px;--border-right:0px}.AlFEl{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%}.AlFEl::-webkit-scrollbar{display:none}.fYHD0{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))}.KweMs{border-bottom:var(--ricos-custom-static-toolbar-border-bottom,solid 1px rgba(51,51,51,.1));position:static}._1MHzN{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": "CSChH",
25
+ "container": "IxtVD",
26
+ "regularContainer": "_2HqHS",
27
+ "floatingContainer": "_7fs-d",
28
+ "staticContainer": "qWy9z",
29
+ "mobileToolbar": "AlFEl",
30
+ "toolbarFloating": "fYHD0",
31
+ "toolbarStatic": "KweMs",
32
+ "buttons": "_1MHzN"
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 = 'c36074cc'; \nexport const injectCss = (() => {\n var css = `@charset \"UTF-8\";.CSChH{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}.IxtVD{position:relative;--mobile-toolbar-height:42px}._2HqHS{--border-top:0px;--border-bottom:0px;--border-left:0px;--border-right:0px}._7fs-d{--border-top:1px;--border-bottom:1px;--border-left:1px;--border-right:1px}.qWy9z{--border-top:0px;--border-bottom:1px;--border-left:0px;--border-right:0px}.AlFEl{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%}.AlFEl::-webkit-scrollbar{display:none}.fYHD0{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))}.KweMs{border-bottom:var(--ricos-custom-static-toolbar-border-bottom,solid 1px rgba(51,51,51,.1));position:static}._1MHzN{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\": \"CSChH\",\n \"container\": \"IxtVD\",\n \"regularContainer\": \"_2HqHS\",\n \"floatingContainer\": \"_7fs-d\",\n \"staticContainer\": \"qWy9z\",\n \"mobileToolbar\": \"AlFEl\",\n \"toolbarFloating\": \"fYHD0\",\n \"toolbarStatic\": \"KweMs\",\n \"buttons\": \"_1MHzN\"\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 = "56a49660";
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 = `.NrB3C: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] .NrB3C: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": "NrB3C"
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 = '56a49660'; \nexport const injectCss = (() => {\n var css = `.NrB3C: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] .NrB3C: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\": \"NrB3C\"\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 = "1efd0425";
2
2
  const injectCss = (() => {
3
- var css = `.sONdH{--wds-toggle-button-label-fill-inverted-default:var(
3
+ var css = `.zvWpW{--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)){.zvWpW{--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
+ )}}.zvWpW 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": "zvWpW"
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 = '1efd0425'; \nexport const injectCss = (() => {\n var css = `.zvWpW{--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)){.zvWpW{--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 )}}.zvWpW 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\": \"zvWpW\"\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 = "c3b9c2df";
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 = `.dXO-m{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)}.dXO-m svg{fill:currentColor}.dXO-m:hover:not(.iUnAJ){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))}.dXO-m.SBkQw{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))}.dXO-m.iUnAJ{color:var(--wds-toggle-button-label-fill-inverted-disabled,var(--wsr-color-D55,#cfd1dc));cursor:default;pointer-events:none}.EizdS{align-items:center;display:flex;gap:var(--wds-space-100,3px);height:var(--wds-button-size-small,30px);justify-content:center;min-width:33px}.SjarB{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": "dXO-m",
25
+ "disabled": "iUnAJ",
26
+ "active": "SBkQw",
27
+ "fontSizeModalButton": "EizdS",
28
+ "fontSizeModalInputButton": "SjarB"
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 = 'c3b9c2df'; \nexport const injectCss = (() => {\n var css = `.dXO-m{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)}.dXO-m svg{fill:currentColor}.dXO-m:hover:not(.iUnAJ){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))}.dXO-m.SBkQw{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))}.dXO-m.iUnAJ{color:var(--wds-toggle-button-label-fill-inverted-disabled,var(--wsr-color-D55,#cfd1dc));cursor:default;pointer-events:none}.EizdS{align-items:center;display:flex;gap:var(--wds-space-100,3px);height:var(--wds-button-size-small,30px);justify-content:center;min-width:33px}.SjarB{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\": \"dXO-m\",\n \"disabled\": \"iUnAJ\",\n \"active\": \"SBkQw\",\n \"fontSizeModalButton\": \"EizdS\",\n \"fontSizeModalInputButton\": \"SjarB\"\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
  }