@wix/ricos 11.22.0 → 11.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1142) hide show
  1. package/css/all-plugins-viewer.css +176 -176
  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/editor-base-url/editor-base-url-context.js +14 -13
  51. package/dist/cjs/_shared/editor-base-url/editor-base-url-context.js.map +3 -3
  52. package/dist/cjs/_shared/figure/add-caption-button-scss.js +9 -9
  53. package/dist/cjs/_shared/figure/add-caption-button-scss.js.map +1 -1
  54. package/dist/cjs/_shared/figure/viewer-caption-scss.js +2 -2
  55. package/dist/cjs/_shared/figure/viewer-caption-scss.js.map +1 -1
  56. package/dist/cjs/_shared/figure/viewer-figure-scss.js +1 -1
  57. package/dist/cjs/_shared/figure/viewer-figure-scss.js.map +1 -1
  58. package/dist/cjs/_shared/font-weight.js +27 -0
  59. package/dist/cjs/_shared/font-weight.js.map +7 -0
  60. package/dist/cjs/_shared/get-common-marker-style.js +35 -0
  61. package/dist/cjs/_shared/get-common-marker-style.js.map +7 -0
  62. package/dist/cjs/_shared/get-decorations-marker-style.js +58 -0
  63. package/dist/cjs/_shared/get-decorations-marker-style.js.map +7 -0
  64. package/dist/cjs/_shared/get-list-marker-style.js +43 -0
  65. package/dist/cjs/_shared/get-list-marker-style.js.map +7 -0
  66. package/dist/cjs/_shared/link-modal/open-link-modal/site-pages/site-pages.js +2 -4
  67. package/dist/cjs/_shared/link-modal/open-link-modal/site-pages/site-pages.js.map +2 -2
  68. package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js +1 -1
  69. package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
  70. package/dist/cjs/_shared/list-item-select/list-item-select-scss.js +2 -2
  71. package/dist/cjs/_shared/list-item-select/list-item-select-scss.js.map +1 -1
  72. package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js +3 -3
  73. package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
  74. package/dist/cjs/_shared/{site-pages/serverless-types/serverless-types.js → list-marker-style-scss.js} +11 -3
  75. package/dist/cjs/_shared/list-marker-style-scss.js.map +7 -0
  76. package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js +1 -1
  77. package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
  78. package/dist/cjs/_shared/plugin-toolbar/create-settings-button.js +7 -1
  79. package/dist/cjs/_shared/plugin-toolbar/create-settings-button.js.map +2 -2
  80. package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +2 -2
  81. package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
  82. package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +2 -2
  83. package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
  84. package/dist/cjs/_shared/pm-node-types.js.map +2 -2
  85. package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +7 -7
  86. package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
  87. package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js +13 -13
  88. package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  89. package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js +8 -8
  90. package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
  91. package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js +7 -7
  92. package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
  93. package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js +2 -2
  94. package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
  95. package/dist/cjs/_shared/site-pages/site-pages-fetch-context/use-fetch-site-pages.js +93 -27
  96. package/dist/cjs/_shared/site-pages/site-pages-fetch-context/use-fetch-site-pages.js.map +3 -3
  97. package/dist/cjs/_shared/site-pages/site-pages-fetch-context.js +2 -6
  98. package/dist/cjs/_shared/site-pages/site-pages-fetch-context.js.map +2 -2
  99. package/dist/cjs/_shared/site-pages/types.js.map +2 -2
  100. package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js +3 -3
  101. package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
  102. package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js +4 -4
  103. package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js.map +1 -1
  104. package/dist/cjs/editor-common/statics/styles/general-scss.js +18 -18
  105. package/dist/cjs/editor-common/statics/styles/general-scss.js.map +1 -1
  106. package/dist/cjs/index.js.map +2 -2
  107. package/dist/cjs/internal.js.map +2 -2
  108. package/dist/cjs/legacy.js.map +2 -2
  109. package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js +8 -8
  110. package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
  111. package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js +2 -2
  112. package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
  113. package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +1 -1
  114. package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
  115. package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +2 -2
  116. package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
  117. package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +5 -5
  118. package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
  119. package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js +6 -6
  120. package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
  121. package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js +1 -1
  122. package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
  123. package/dist/cjs/plugin-ai/error-message/error-message-scss.js +1 -1
  124. package/dist/cjs/plugin-ai/error-message/error-message-scss.js.map +1 -1
  125. package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js +4 -4
  126. package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  127. package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js +2 -2
  128. package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
  129. package/dist/cjs/plugin-animation/animation-panel-scss.js +9 -9
  130. package/dist/cjs/plugin-animation/animation-panel-scss.js.map +1 -1
  131. package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js +1 -1
  132. package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
  133. package/dist/cjs/plugin-audio/statics/styles/audio-scss.js +21 -21
  134. package/dist/cjs/plugin-audio/statics/styles/audio-scss.js.map +1 -1
  135. package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js +1 -1
  136. package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
  137. package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js +1 -1
  138. package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
  139. package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js +2 -2
  140. package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
  141. package/dist/cjs/plugin-block-drag-handle/box-select.js +1 -0
  142. package/dist/cjs/plugin-block-drag-handle/box-select.js.map +2 -2
  143. package/dist/cjs/plugin-block-drag-handle/dom.js +20 -8
  144. package/dist/cjs/plugin-block-drag-handle/dom.js.map +2 -2
  145. package/dist/cjs/plugin-block-drag-handle/plugin.js +35 -4
  146. package/dist/cjs/plugin-block-drag-handle/plugin.js.map +2 -2
  147. package/dist/cjs/plugin-block-drag-handle/styles-scss.js +8 -8
  148. package/dist/cjs/plugin-block-drag-handle/styles-scss.js.map +1 -1
  149. package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js +2 -2
  150. package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
  151. package/dist/cjs/plugin-button/statics/styles/button-text-field-scss.js +1 -1
  152. package/dist/cjs/plugin-button/statics/styles/button-text-field-scss.js.map +1 -1
  153. package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js +5 -5
  154. package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
  155. package/dist/cjs/plugin-card/card-node-view.js +39 -35
  156. package/dist/cjs/plugin-card/card-node-view.js.map +2 -2
  157. package/dist/cjs/plugin-card/card-scss.js +20 -19
  158. package/dist/cjs/plugin-card/card-scss.js.map +2 -2
  159. package/dist/cjs/plugin-card/card-viewer-scss.js +6 -6
  160. package/dist/cjs/plugin-card/card-viewer-scss.js.map +1 -1
  161. package/dist/cjs/plugin-card/extension.js +3 -1
  162. package/dist/cjs/plugin-card/extension.js.map +2 -2
  163. package/dist/cjs/plugin-card/index.js.map +1 -1
  164. package/dist/cjs/plugin-card/page-gap.js +3 -1
  165. package/dist/cjs/plugin-card/page-gap.js.map +2 -2
  166. package/dist/cjs/plugin-card/types-next.js.map +1 -1
  167. package/dist/cjs/plugin-card/types.js.map +1 -1
  168. package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js +6 -6
  169. package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
  170. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
  171. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
  172. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
  173. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
  174. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +2 -2
  175. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
  176. package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +3 -3
  177. package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
  178. package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
  179. package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
  180. package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js +1 -1
  181. package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
  182. package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js +1 -1
  183. package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
  184. package/dist/cjs/plugin-figure/tiptap/caption-scss.js +3 -3
  185. package/dist/cjs/plugin-figure/tiptap/caption-scss.js.map +1 -1
  186. package/dist/cjs/plugin-figure/tiptap/figure-scss.js +3 -3
  187. package/dist/cjs/plugin-figure/tiptap/figure-scss.js.map +1 -1
  188. package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
  189. package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
  190. package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +3 -3
  191. package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
  192. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +6 -6
  193. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
  194. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +5 -5
  195. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
  196. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +1 -1
  197. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
  198. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +3 -3
  199. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
  200. package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js +1 -1
  201. package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
  202. package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
  203. package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
  204. package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js +1 -1
  205. package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
  206. package/dist/cjs/plugin-gallery/viewer/layout-collage-scss.js +5 -5
  207. package/dist/cjs/plugin-gallery/viewer/layout-collage-scss.js.map +1 -1
  208. package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js +4 -4
  209. package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
  210. package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
  211. package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
  212. package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js +2 -2
  213. package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
  214. package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
  215. package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
  216. package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
  217. package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
  218. package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js +6 -6
  219. package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
  220. package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
  221. package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
  222. package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js +9 -9
  223. package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
  224. package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
  225. package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
  226. package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js +2 -2
  227. package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
  228. package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js +2 -2
  229. package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
  230. package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js +5 -5
  231. package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
  232. package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
  233. package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
  234. package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js +1 -1
  235. package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
  236. package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js +2 -2
  237. package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
  238. package/dist/cjs/plugin-html/tiptap/loader-scss.js +9 -9
  239. package/dist/cjs/plugin-html/tiptap/loader-scss.js.map +1 -1
  240. package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js +2 -2
  241. package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
  242. package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js +4 -4
  243. package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
  244. package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js +1 -1
  245. package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
  246. package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js +14 -14
  247. package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
  248. package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js +20 -20
  249. package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
  250. package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js +1 -1
  251. package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
  252. package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js +4 -4
  253. package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
  254. package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js +10 -10
  255. package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
  256. package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js +1 -1
  257. package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
  258. package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js +4 -4
  259. package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
  260. package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js +3 -3
  261. package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
  262. package/dist/cjs/plugin-inline-ai/modal-scss.js +9 -9
  263. package/dist/cjs/plugin-inline-ai/modal-scss.js.map +1 -1
  264. package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js +12 -12
  265. package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
  266. package/dist/cjs/plugin-inline-ai/spinner-scss.js +2 -2
  267. package/dist/cjs/plugin-inline-ai/spinner-scss.js.map +1 -1
  268. package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js +2 -2
  269. package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
  270. package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +1 -1
  271. package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
  272. package/dist/cjs/plugin-link/editor.js +2 -2
  273. package/dist/cjs/plugin-link/editor.js.map +2 -2
  274. package/dist/cjs/plugin-link/statics/link-viewer-scss.js +4 -4
  275. package/dist/cjs/plugin-link/statics/link-viewer-scss.js.map +1 -1
  276. package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js +1 -1
  277. package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
  278. package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js +1 -1
  279. package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
  280. package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
  281. package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
  282. package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js +1 -1
  283. package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
  284. package/dist/cjs/plugin-mentions/statics/mention-list-scss.js +3 -3
  285. package/dist/cjs/plugin-mentions/statics/mention-list-scss.js.map +1 -1
  286. package/dist/cjs/plugin-mentions/statics/mentions-scss.js +4 -4
  287. package/dist/cjs/plugin-mentions/statics/mentions-scss.js.map +1 -1
  288. package/dist/cjs/plugin-paywall/paywall-fallback-scss.js +1 -1
  289. package/dist/cjs/plugin-paywall/paywall-fallback-scss.js.map +1 -1
  290. package/dist/cjs/plugin-paywall/plugin-paywall.js.map +2 -2
  291. package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js +22 -22
  292. package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
  293. package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
  294. package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
  295. package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
  296. package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
  297. package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js +20 -20
  298. package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
  299. package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js +7 -7
  300. package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
  301. package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js +1 -1
  302. package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
  303. package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js +50 -50
  304. package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
  305. package/dist/cjs/plugin-smart-block/components/stars-scss.js +8 -8
  306. package/dist/cjs/plugin-smart-block/components/stars-scss.js.map +1 -1
  307. package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js +7 -7
  308. package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
  309. package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js +13 -13
  310. package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
  311. package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
  312. package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
  313. package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js +1 -1
  314. package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
  315. package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
  316. package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
  317. package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js +23 -23
  318. package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
  319. package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
  320. package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
  321. package/dist/cjs/plugin-social-polls/components/poll-scss.js +19 -19
  322. package/dist/cjs/plugin-social-polls/components/poll-scss.js.map +1 -1
  323. package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js +2 -2
  324. package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
  325. package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
  326. package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
  327. package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
  328. package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
  329. package/dist/cjs/plugin-spoiler/get-text-buttons.js +2 -2
  330. package/dist/cjs/plugin-spoiler/get-text-buttons.js.map +2 -2
  331. package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
  332. package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
  333. package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js +5 -5
  334. package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
  335. package/dist/cjs/plugin-table/statics/styles/cell-scss.js +15 -15
  336. package/dist/cjs/plugin-table/statics/styles/cell-scss.js.map +1 -1
  337. package/dist/cjs/plugin-table/statics/styles/resizer-scss.js +18 -18
  338. package/dist/cjs/plugin-table/statics/styles/resizer-scss.js.map +1 -1
  339. package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js +1 -1
  340. package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
  341. package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js +6 -6
  342. package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
  343. package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js +9 -9
  344. package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
  345. package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js +33 -33
  346. package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
  347. package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js +2 -2
  348. package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
  349. package/dist/cjs/plugin-text-color/sketch/text-highlight-button.js +2 -2
  350. package/dist/cjs/plugin-text-color/sketch/text-highlight-button.js.map +2 -2
  351. package/dist/cjs/plugin-text-color/text-button-color-scss.js +2 -2
  352. package/dist/cjs/plugin-text-color/text-button-color-scss.js.map +1 -1
  353. package/dist/cjs/plugin-toc/toc-view-scss.js +2 -2
  354. package/dist/cjs/plugin-toc/toc-view-scss.js.map +1 -1
  355. package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
  356. package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
  357. package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js +23 -23
  358. package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
  359. package/dist/cjs/plugin-vertical-embed/components/card-scss.js +19 -19
  360. package/dist/cjs/plugin-vertical-embed/components/card-scss.js.map +1 -1
  361. package/dist/cjs/plugin-vertical-embed/components/description-scss.js +2 -2
  362. package/dist/cjs/plugin-vertical-embed/components/description-scss.js.map +1 -1
  363. package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js +2 -2
  364. package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
  365. package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js +10 -10
  366. package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
  367. package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js +1 -1
  368. package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
  369. package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
  370. package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
  371. package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js +8 -8
  372. package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
  373. package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js +3 -3
  374. package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
  375. package/dist/cjs/plugin-video/toolbar/embed-video-scss.js +1 -1
  376. package/dist/cjs/plugin-video/toolbar/embed-video-scss.js.map +1 -1
  377. package/dist/cjs/ricos-common-plugins/bold/extension.js +4 -5
  378. package/dist/cjs/ricos-common-plugins/bold/extension.js.map +2 -2
  379. package/dist/cjs/ricos-common-plugins/decoration-plugins/list-item-sizing.js +13 -1
  380. package/dist/cjs/ricos-common-plugins/decoration-plugins/list-item-sizing.js.map +2 -2
  381. package/dist/cjs/ricos-common-plugins/font-size/block-font-size-plugin.js +2 -1
  382. package/dist/cjs/ricos-common-plugins/font-size/block-font-size-plugin.js.map +2 -2
  383. package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +1 -1
  384. package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
  385. package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +8 -8
  386. package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
  387. package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js +33 -33
  388. package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js.map +1 -1
  389. package/dist/cjs/ricos-common-plugins/layout/paywall-toolbar-button.js +100 -0
  390. package/dist/cjs/ricos-common-plugins/layout/paywall-toolbar-button.js.map +7 -0
  391. package/dist/cjs/ricos-common-plugins/layout/plugin-layout.js +178 -173
  392. package/dist/cjs/ricos-common-plugins/layout/plugin-layout.js.map +2 -2
  393. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +2 -2
  394. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
  395. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +4 -4
  396. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
  397. package/dist/cjs/ricos-common-plugins/list-item/extension.js +9 -0
  398. package/dist/cjs/ricos-common-plugins/list-item/extension.js.map +2 -2
  399. package/dist/cjs/ricos-common-plugins/list-item/list-converters.js +5 -3
  400. package/dist/cjs/ricos-common-plugins/list-item/list-converters.js.map +2 -2
  401. package/dist/cjs/ricos-common-plugins/list-item/list-marker-selection.js +291 -0
  402. package/dist/cjs/ricos-common-plugins/list-item/list-marker-selection.js.map +7 -0
  403. package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js +2 -2
  404. package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
  405. package/dist/cjs/ricos-common-plugins/statics/styles-scss.js +18 -18
  406. package/dist/cjs/ricos-common-plugins/statics/styles-scss.js.map +1 -1
  407. package/dist/cjs/ricos-common-plugins/strikethrough/strikethrough.js +2 -2
  408. package/dist/cjs/ricos-common-plugins/strikethrough/strikethrough.js.map +2 -2
  409. package/dist/cjs/ricos-common-plugins/strikethrough/strikethrough.testkit.js +1 -0
  410. package/dist/cjs/ricos-common-plugins/strikethrough/strikethrough.testkit.js.map +2 -2
  411. package/dist/cjs/ricos-common-plugins/title/headings-scss.js +8 -8
  412. package/dist/cjs/ricos-common-plugins/title/headings-scss.js.map +1 -1
  413. package/dist/cjs/ricos-common-plugins/underline/underline.js +2 -2
  414. package/dist/cjs/ricos-common-plugins/underline/underline.js.map +2 -2
  415. package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js +9 -9
  416. package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
  417. package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js +9 -9
  418. package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
  419. package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js +1 -1
  420. package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
  421. package/dist/cjs/ricos-modals/statics/styles/popper-scss.js +3 -3
  422. package/dist/cjs/ricos-modals/statics/styles/popper-scss.js.map +1 -1
  423. package/dist/cjs/ricos-schema/next-schema/version.js +1 -1
  424. package/dist/cjs/ricos-schema/next-schema/version.js.map +1 -1
  425. package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js +4 -4
  426. package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
  427. package/dist/cjs/ricos-types/next/ricos-types.js.map +1 -1
  428. package/dist/cjs/ricos-types/ricos-types.js.map +1 -1
  429. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
  430. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
  431. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
  432. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
  433. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
  434. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
  435. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
  436. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
  437. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js +10 -1
  438. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js.map +2 -2
  439. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
  440. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
  441. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
  442. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
  443. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
  444. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
  445. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
  446. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
  447. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +12 -12
  448. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
  449. package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js +16 -16
  450. package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
  451. package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js +7 -7
  452. package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
  453. package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
  454. package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
  455. package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js +2 -2
  456. package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
  457. package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +2 -2
  458. package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
  459. package/dist/cjs/tiptap/core/editor.js +5 -2
  460. package/dist/cjs/tiptap/core/editor.js.map +2 -2
  461. package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +13 -13
  462. package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
  463. package/dist/cjs/tiptap-extensions/placeholder-scss.js +1 -1
  464. package/dist/cjs/tiptap-extensions/placeholder-scss.js.map +1 -1
  465. package/dist/cjs/tiptap-extensions/statics/styles-scss.js +4 -4
  466. package/dist/cjs/tiptap-extensions/statics/styles-scss.js.map +1 -1
  467. package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +1 -1
  468. package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
  469. package/dist/cjs/toolbars-v3/components/MaxWidthCalculationWrapper/max-width-calculation-wrapper.js +2 -1
  470. package/dist/cjs/toolbars-v3/components/MaxWidthCalculationWrapper/max-width-calculation-wrapper.js.map +2 -2
  471. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +3 -3
  472. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
  473. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +3 -3
  474. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
  475. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +4 -4
  476. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
  477. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +9 -9
  478. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
  479. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +1 -1
  480. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
  481. package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +1 -1
  482. package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
  483. package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +5 -5
  484. package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
  485. package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +6 -6
  486. package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
  487. package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +1 -1
  488. package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
  489. package/dist/cjs/toolbars-v3/ricos-toolbars/formatting/use-is-visible.js +4 -0
  490. package/dist/cjs/toolbars-v3/ricos-toolbars/formatting/use-is-visible.js.map +2 -2
  491. package/dist/cjs/ui-components/Components/Image-scss.js +1 -1
  492. package/dist/cjs/ui-components/Components/Image-scss.js.map +1 -1
  493. package/dist/cjs/ui-components/Components/double-loader-scss.js +4 -4
  494. package/dist/cjs/ui-components/Components/double-loader-scss.js.map +1 -1
  495. package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +2 -2
  496. package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
  497. package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +13 -13
  498. package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
  499. package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +1 -1
  500. package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
  501. package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +2 -2
  502. package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
  503. package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +2 -2
  504. package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
  505. package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +1 -1
  506. package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
  507. package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js +1 -1
  508. package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
  509. package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js +3 -3
  510. package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
  511. package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +1 -1
  512. package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
  513. package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +4 -4
  514. package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
  515. package/dist/cjs/ui-components/panel/panel-scss.js +2 -2
  516. package/dist/cjs/ui-components/panel/panel-scss.js.map +1 -1
  517. package/dist/cjs/ui-components/panel-header/panel-header-scss.js +1 -1
  518. package/dist/cjs/ui-components/panel-header/panel-header-scss.js.map +1 -1
  519. package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +1 -1
  520. package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
  521. package/dist/cjs/ui-components/statics/styles/generic-error-scss.js +1 -1
  522. package/dist/cjs/ui-components/statics/styles/generic-error-scss.js.map +1 -1
  523. package/dist/cjs/ui-components/statics/styles/loaders-scss.js +8 -8
  524. package/dist/cjs/ui-components/statics/styles/loaders-scss.js.map +1 -1
  525. package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js +3 -3
  526. package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
  527. package/dist/cjs/ui-components/statics/styles/slider-scss.js +5 -5
  528. package/dist/cjs/ui-components/statics/styles/slider-scss.js.map +1 -1
  529. package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js +1 -1
  530. package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
  531. package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js +16 -16
  532. package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
  533. package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js +1 -1
  534. package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
  535. package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js +11 -11
  536. package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
  537. package/dist/docs/api-docs-reference.cjs +1 -1
  538. package/dist/docs/api-docs-reference.js +1 -1
  539. package/dist/docs/api-docs.md +2 -2
  540. package/dist/docs/sections/editor.md +2 -2
  541. package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js +5 -5
  542. package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js.map +1 -1
  543. package/dist/es/_shared/editor-base-url/editor-base-url-context.js +13 -12
  544. package/dist/es/_shared/editor-base-url/editor-base-url-context.js.map +2 -2
  545. package/dist/es/_shared/figure/add-caption-button-scss.js +11 -11
  546. package/dist/es/_shared/figure/add-caption-button-scss.js.map +1 -1
  547. package/dist/es/_shared/figure/viewer-caption-scss.js +2 -2
  548. package/dist/es/_shared/figure/viewer-caption-scss.js.map +1 -1
  549. package/dist/es/_shared/figure/viewer-figure-scss.js +1 -1
  550. package/dist/es/_shared/figure/viewer-figure-scss.js.map +1 -1
  551. package/dist/es/_shared/font-weight.js +7 -0
  552. package/dist/es/_shared/font-weight.js.map +7 -0
  553. package/dist/es/_shared/get-common-marker-style.js +15 -0
  554. package/dist/es/_shared/get-common-marker-style.js.map +7 -0
  555. package/dist/es/_shared/get-decorations-marker-style.js +41 -0
  556. package/dist/es/_shared/get-decorations-marker-style.js.map +7 -0
  557. package/dist/es/_shared/get-list-marker-style.js +23 -0
  558. package/dist/es/_shared/get-list-marker-style.js.map +7 -0
  559. package/dist/es/_shared/link-modal/open-link-modal/site-pages/site-pages.js +2 -4
  560. package/dist/es/_shared/link-modal/open-link-modal/site-pages/site-pages.js.map +2 -2
  561. package/dist/es/_shared/list-item-divider/list-item-divider-scss.js +3 -3
  562. package/dist/es/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
  563. package/dist/es/_shared/list-item-select/list-item-select-scss.js +4 -4
  564. package/dist/es/_shared/list-item-select/list-item-select-scss.js.map +1 -1
  565. package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js +5 -5
  566. package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
  567. package/dist/es/_shared/list-marker-style-scss.js +28 -0
  568. package/dist/es/_shared/list-marker-style-scss.js.map +7 -0
  569. package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js +3 -3
  570. package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
  571. package/dist/es/_shared/plugin-toolbar/create-settings-button.js +7 -1
  572. package/dist/es/_shared/plugin-toolbar/create-settings-button.js.map +2 -2
  573. package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +4 -4
  574. package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
  575. package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +4 -4
  576. package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
  577. package/dist/es/_shared/pm-node-types.js.map +2 -2
  578. package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +9 -9
  579. package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
  580. package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js +15 -15
  581. package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  582. package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js +10 -10
  583. package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
  584. package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js +9 -9
  585. package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
  586. package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js +4 -4
  587. package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
  588. package/dist/es/_shared/site-pages/site-pages-fetch-context/use-fetch-site-pages.js +82 -26
  589. package/dist/es/_shared/site-pages/site-pages-fetch-context/use-fetch-site-pages.js.map +3 -3
  590. package/dist/es/_shared/site-pages/site-pages-fetch-context.js +2 -6
  591. package/dist/es/_shared/site-pages/site-pages-fetch-context.js.map +2 -2
  592. package/dist/es/_shared/site-pages/types.js.map +2 -2
  593. package/dist/es/_shared/toolbar-button/toolbar-button-scss.js +5 -5
  594. package/dist/es/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
  595. package/dist/es/bundled-dependencies/ai-assistant-avatar.js +6 -6
  596. package/dist/es/bundled-dependencies/ai-assistant-avatar.js.map +1 -1
  597. package/dist/es/editor-common/statics/styles/general-scss.js +20 -20
  598. package/dist/es/editor-common/statics/styles/general-scss.js.map +1 -1
  599. package/dist/es/index.js.map +2 -2
  600. package/dist/es/internal.js.map +2 -2
  601. package/dist/es/legacy.js +3 -1
  602. package/dist/es/legacy.js.map +2 -2
  603. package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js +10 -10
  604. package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
  605. package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js +4 -4
  606. package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
  607. package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +3 -3
  608. package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
  609. package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +4 -4
  610. package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
  611. package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +7 -7
  612. package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
  613. package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js +8 -8
  614. package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
  615. package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js +3 -3
  616. package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
  617. package/dist/es/plugin-ai/error-message/error-message-scss.js +3 -3
  618. package/dist/es/plugin-ai/error-message/error-message-scss.js.map +1 -1
  619. package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js +6 -6
  620. package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  621. package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js +4 -4
  622. package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
  623. package/dist/es/plugin-animation/animation-panel-scss.js +11 -11
  624. package/dist/es/plugin-animation/animation-panel-scss.js.map +1 -1
  625. package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js +3 -3
  626. package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
  627. package/dist/es/plugin-audio/statics/styles/audio-scss.js +21 -21
  628. package/dist/es/plugin-audio/statics/styles/audio-scss.js.map +1 -1
  629. package/dist/es/plugin-audio/statics/styles/icon-button-scss.js +1 -1
  630. package/dist/es/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
  631. package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js +3 -3
  632. package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
  633. package/dist/es/plugin-audio/statics/styles/sound-control-scss.js +2 -2
  634. package/dist/es/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
  635. package/dist/es/plugin-audio/viewer-styles-inject.js +4 -4
  636. package/dist/es/plugin-block-drag-handle/box-select.js +1 -0
  637. package/dist/es/plugin-block-drag-handle/box-select.js.map +2 -2
  638. package/dist/es/plugin-block-drag-handle/dom.js +20 -8
  639. package/dist/es/plugin-block-drag-handle/dom.js.map +2 -2
  640. package/dist/es/plugin-block-drag-handle/plugin.js +37 -5
  641. package/dist/es/plugin-block-drag-handle/plugin.js.map +2 -2
  642. package/dist/es/plugin-block-drag-handle/styles-scss.js +10 -10
  643. package/dist/es/plugin-block-drag-handle/styles-scss.js.map +1 -1
  644. package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js +4 -4
  645. package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
  646. package/dist/es/plugin-button/statics/styles/button-text-field-scss.js +3 -3
  647. package/dist/es/plugin-button/statics/styles/button-text-field-scss.js.map +1 -1
  648. package/dist/es/plugin-button/statics/styles/default-styles-scss.js +5 -5
  649. package/dist/es/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
  650. package/dist/es/plugin-button/viewer-styles-inject.js +2 -2
  651. package/dist/es/plugin-card/card-node-view.js +39 -35
  652. package/dist/es/plugin-card/card-node-view.js.map +2 -2
  653. package/dist/es/plugin-card/card-scss.js +20 -19
  654. package/dist/es/plugin-card/card-scss.js.map +2 -2
  655. package/dist/es/plugin-card/card-viewer-scss.js +6 -6
  656. package/dist/es/plugin-card/card-viewer-scss.js.map +1 -1
  657. package/dist/es/plugin-card/extension.js +3 -1
  658. package/dist/es/plugin-card/extension.js.map +2 -2
  659. package/dist/es/plugin-card/index.js.map +1 -1
  660. package/dist/es/plugin-card/page-gap.js +3 -1
  661. package/dist/es/plugin-card/page-gap.js.map +2 -2
  662. package/dist/es/plugin-card/viewer-styles-inject.js +2 -2
  663. package/dist/es/plugin-code-block/statics/styles/code-block-scss.js +8 -8
  664. package/dist/es/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
  665. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
  666. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
  667. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
  668. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
  669. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +4 -4
  670. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
  671. package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +5 -5
  672. package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
  673. package/dist/es/plugin-collapsible-list/viewer-styles-inject.js +2 -2
  674. package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
  675. package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
  676. package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js +3 -3
  677. package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
  678. package/dist/es/plugin-divider/viewer-styles-inject.js +2 -2
  679. package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js +3 -3
  680. package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
  681. package/dist/es/plugin-figure/tiptap/caption-scss.js +5 -5
  682. package/dist/es/plugin-figure/tiptap/caption-scss.js.map +1 -1
  683. package/dist/es/plugin-figure/tiptap/figure-scss.js +5 -5
  684. package/dist/es/plugin-figure/tiptap/figure-scss.js.map +1 -1
  685. package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
  686. package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
  687. package/dist/es/plugin-file-upload/viewer-styles-inject.js +2 -2
  688. package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +5 -5
  689. package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
  690. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +8 -8
  691. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
  692. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +7 -7
  693. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
  694. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +3 -3
  695. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
  696. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +5 -5
  697. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
  698. package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js +3 -3
  699. package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
  700. package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
  701. package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
  702. package/dist/es/plugin-gallery/statics/styles/viewer-scss.js +1 -1
  703. package/dist/es/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
  704. package/dist/es/plugin-gallery/viewer/layout-collage-scss.js +5 -5
  705. package/dist/es/plugin-gallery/viewer/layout-collage-scss.js.map +1 -1
  706. package/dist/es/plugin-gallery/viewer/layout-column-scss.js +4 -4
  707. package/dist/es/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
  708. package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
  709. package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
  710. package/dist/es/plugin-gallery/viewer/layout-grid-scss.js +2 -2
  711. package/dist/es/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
  712. package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
  713. package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
  714. package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
  715. package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
  716. package/dist/es/plugin-gallery/viewer/layout-slider-scss.js +6 -6
  717. package/dist/es/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
  718. package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
  719. package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
  720. package/dist/es/plugin-gallery/viewer-styles-inject.js +2 -2
  721. package/dist/es/plugin-giphy/components/giphy-selector-scss.js +11 -11
  722. package/dist/es/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
  723. package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
  724. package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
  725. package/dist/es/plugin-giphy/viewer/play-icon-scss.js +2 -2
  726. package/dist/es/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
  727. package/dist/es/plugin-giphy/viewer-styles-inject.js +2 -2
  728. package/dist/es/plugin-hashtag/statics/hashtag-scss.js +2 -2
  729. package/dist/es/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
  730. package/dist/es/plugin-hashtag/viewer-styles-inject.js +2 -2
  731. package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js +9 -9
  732. package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
  733. package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
  734. package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
  735. package/dist/es/plugin-html/statics/styles/Iframe-scss.js +1 -1
  736. package/dist/es/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
  737. package/dist/es/plugin-html/tiptap/ai-widget-scss.js +4 -4
  738. package/dist/es/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
  739. package/dist/es/plugin-html/tiptap/loader-scss.js +11 -11
  740. package/dist/es/plugin-html/tiptap/loader-scss.js.map +1 -1
  741. package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js +4 -4
  742. package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
  743. package/dist/es/plugin-html/viewer-styles-inject.js +2 -2
  744. package/dist/es/plugin-image/components/corner-radius-handles-scss.js +6 -6
  745. package/dist/es/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
  746. package/dist/es/plugin-image/components/crop-edge-handles-scss.js +3 -3
  747. package/dist/es/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
  748. package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js +16 -16
  749. package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
  750. package/dist/es/plugin-image/statics/styles/image-viewer-scss.js +20 -20
  751. package/dist/es/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
  752. package/dist/es/plugin-image/statics/styles/settings-modal-scss.js +3 -3
  753. package/dist/es/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
  754. package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js +6 -6
  755. package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
  756. package/dist/es/plugin-image/viewer-styles-inject.js +2 -2
  757. package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js +12 -12
  758. package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
  759. package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js +3 -3
  760. package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
  761. package/dist/es/plugin-inline-ai/aria-surface-row-scss.js +6 -6
  762. package/dist/es/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
  763. package/dist/es/plugin-inline-ai/html-placeholder-scss.js +5 -5
  764. package/dist/es/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
  765. package/dist/es/plugin-inline-ai/modal-scss.js +11 -11
  766. package/dist/es/plugin-inline-ai/modal-scss.js.map +1 -1
  767. package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js +14 -14
  768. package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
  769. package/dist/es/plugin-inline-ai/spinner-scss.js +4 -4
  770. package/dist/es/plugin-inline-ai/spinner-scss.js.map +1 -1
  771. package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js +4 -4
  772. package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
  773. package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +3 -3
  774. package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
  775. package/dist/es/plugin-link/editor.js +2 -2
  776. package/dist/es/plugin-link/editor.js.map +2 -2
  777. package/dist/es/plugin-link/statics/link-viewer-scss.js +4 -4
  778. package/dist/es/plugin-link/statics/link-viewer-scss.js.map +1 -1
  779. package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js +3 -3
  780. package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
  781. package/dist/es/plugin-link/viewer-styles-inject.js +2 -2
  782. package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js +3 -3
  783. package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
  784. package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
  785. package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
  786. package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js +3 -3
  787. package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
  788. package/dist/es/plugin-link-preview/viewer-styles-inject.js +3 -3
  789. package/dist/es/plugin-mentions/statics/mention-list-scss.js +6 -6
  790. package/dist/es/plugin-mentions/statics/mention-list-scss.js.map +1 -1
  791. package/dist/es/plugin-mentions/statics/mentions-scss.js +4 -4
  792. package/dist/es/plugin-mentions/statics/mentions-scss.js.map +1 -1
  793. package/dist/es/plugin-mentions/viewer-styles-inject.js +2 -2
  794. package/dist/es/plugin-paywall/paywall-fallback-scss.js +1 -1
  795. package/dist/es/plugin-paywall/paywall-fallback-scss.js.map +1 -1
  796. package/dist/es/plugin-paywall/plugin-paywall.js.map +2 -2
  797. package/dist/es/plugin-smart-block/components/cell-accessory-scss.js +22 -22
  798. package/dist/es/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
  799. package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
  800. package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
  801. package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
  802. package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
  803. package/dist/es/plugin-smart-block/components/cell-stat-scss.js +20 -20
  804. package/dist/es/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
  805. package/dist/es/plugin-smart-block/components/circle-donut-scss.js +7 -7
  806. package/dist/es/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
  807. package/dist/es/plugin-smart-block/components/shape-overlay-scss.js +3 -3
  808. package/dist/es/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
  809. package/dist/es/plugin-smart-block/components/smart-block-view-scss.js +50 -50
  810. package/dist/es/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
  811. package/dist/es/plugin-smart-block/components/stars-scss.js +8 -8
  812. package/dist/es/plugin-smart-block/components/stars-scss.js.map +1 -1
  813. package/dist/es/plugin-smart-block/modals/variant-picker-scss.js +9 -9
  814. package/dist/es/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
  815. package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js +15 -15
  816. package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
  817. package/dist/es/plugin-smart-block/viewer-styles-inject.js +2 -2
  818. package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
  819. package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
  820. package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js +3 -3
  821. package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
  822. package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
  823. package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
  824. package/dist/es/plugin-social-polls/components/poll-option/option-scss.js +23 -23
  825. package/dist/es/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
  826. package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
  827. package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
  828. package/dist/es/plugin-social-polls/components/poll-scss.js +19 -19
  829. package/dist/es/plugin-social-polls/components/poll-scss.js.map +1 -1
  830. package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js +4 -4
  831. package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
  832. package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
  833. package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
  834. package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
  835. package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
  836. package/dist/es/plugin-social-polls/viewer-styles-inject.js +2 -2
  837. package/dist/es/plugin-spoiler/get-text-buttons.js +2 -2
  838. package/dist/es/plugin-spoiler/get-text-buttons.js.map +2 -2
  839. package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
  840. package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
  841. package/dist/es/plugin-spoiler/viewer-styles-inject.js +2 -2
  842. package/dist/es/plugin-table/modals/table-grid-selector-scss.js +7 -7
  843. package/dist/es/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
  844. package/dist/es/plugin-table/statics/styles/cell-scss.js +15 -15
  845. package/dist/es/plugin-table/statics/styles/cell-scss.js.map +1 -1
  846. package/dist/es/plugin-table/statics/styles/resizer-scss.js +20 -20
  847. package/dist/es/plugin-table/statics/styles/resizer-scss.js.map +1 -1
  848. package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js +3 -3
  849. package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
  850. package/dist/es/plugin-table/statics/styles/table-viewer-scss.js +6 -6
  851. package/dist/es/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
  852. package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js +11 -11
  853. package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
  854. package/dist/es/plugin-table/tiptap/plugins/table-scss.js +35 -35
  855. package/dist/es/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
  856. package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js +4 -4
  857. package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
  858. package/dist/es/plugin-table/viewer-styles-inject.js +4 -4
  859. package/dist/es/plugin-text-color/sketch/text-highlight-button.js +2 -2
  860. package/dist/es/plugin-text-color/sketch/text-highlight-button.js.map +2 -2
  861. package/dist/es/plugin-text-color/text-button-color-scss.js +4 -4
  862. package/dist/es/plugin-text-color/text-button-color-scss.js.map +1 -1
  863. package/dist/es/plugin-toc/toc-view-scss.js +2 -2
  864. package/dist/es/plugin-toc/toc-view-scss.js.map +1 -1
  865. package/dist/es/plugin-toc/viewer-styles-inject.js +2 -2
  866. package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
  867. package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
  868. package/dist/es/plugin-vertical-embed/components/card-content-scss.js +23 -23
  869. package/dist/es/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
  870. package/dist/es/plugin-vertical-embed/components/card-scss.js +19 -19
  871. package/dist/es/plugin-vertical-embed/components/card-scss.js.map +1 -1
  872. package/dist/es/plugin-vertical-embed/components/description-scss.js +2 -2
  873. package/dist/es/plugin-vertical-embed/components/description-scss.js.map +1 -1
  874. package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js +4 -4
  875. package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
  876. package/dist/es/plugin-vertical-embed/tiptap/component-scss.js +12 -12
  877. package/dist/es/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
  878. package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js +3 -3
  879. package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
  880. package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
  881. package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
  882. package/dist/es/plugin-vertical-embed/viewer-styles-inject.js +3 -3
  883. package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js +10 -10
  884. package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
  885. package/dist/es/plugin-video/statics/styles/video-viewer-scss.js +3 -3
  886. package/dist/es/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
  887. package/dist/es/plugin-video/toolbar/embed-video-scss.js +3 -3
  888. package/dist/es/plugin-video/toolbar/embed-video-scss.js.map +1 -1
  889. package/dist/es/plugin-video/viewer-styles-inject.js +2 -2
  890. package/dist/es/ricos-common-plugins/bold/extension.js +1 -2
  891. package/dist/es/ricos-common-plugins/bold/extension.js.map +2 -2
  892. package/dist/es/ricos-common-plugins/decoration-plugins/list-item-sizing.js +13 -1
  893. package/dist/es/ricos-common-plugins/decoration-plugins/list-item-sizing.js.map +2 -2
  894. package/dist/es/ricos-common-plugins/font-size/block-font-size-plugin.js +2 -1
  895. package/dist/es/ricos-common-plugins/font-size/block-font-size-plugin.js.map +2 -2
  896. package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +3 -3
  897. package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
  898. package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +10 -10
  899. package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
  900. package/dist/es/ricos-common-plugins/layout/layouts-scss.js +35 -35
  901. package/dist/es/ricos-common-plugins/layout/layouts-scss.js.map +1 -1
  902. package/dist/es/ricos-common-plugins/layout/paywall-toolbar-button.js +74 -0
  903. package/dist/es/ricos-common-plugins/layout/paywall-toolbar-button.js.map +7 -0
  904. package/dist/es/ricos-common-plugins/layout/plugin-layout.js +178 -173
  905. package/dist/es/ricos-common-plugins/layout/plugin-layout.js.map +2 -2
  906. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +4 -4
  907. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
  908. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +6 -6
  909. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
  910. package/dist/es/ricos-common-plugins/list-item/extension.js +9 -0
  911. package/dist/es/ricos-common-plugins/list-item/extension.js.map +2 -2
  912. package/dist/es/ricos-common-plugins/list-item/list-converters.js +5 -3
  913. package/dist/es/ricos-common-plugins/list-item/list-converters.js.map +2 -2
  914. package/dist/es/ricos-common-plugins/list-item/list-marker-selection.js +274 -0
  915. package/dist/es/ricos-common-plugins/list-item/list-marker-selection.js.map +7 -0
  916. package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js +4 -4
  917. package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
  918. package/dist/es/ricos-common-plugins/statics/styles-scss.js +20 -20
  919. package/dist/es/ricos-common-plugins/statics/styles-scss.js.map +1 -1
  920. package/dist/es/ricos-common-plugins/strikethrough/strikethrough.js +2 -2
  921. package/dist/es/ricos-common-plugins/strikethrough/strikethrough.js.map +2 -2
  922. package/dist/es/ricos-common-plugins/strikethrough/strikethrough.testkit.js +1 -0
  923. package/dist/es/ricos-common-plugins/strikethrough/strikethrough.testkit.js.map +2 -2
  924. package/dist/es/ricos-common-plugins/title/headings-scss.js +10 -10
  925. package/dist/es/ricos-common-plugins/title/headings-scss.js.map +1 -1
  926. package/dist/es/ricos-common-plugins/underline/underline.js +2 -2
  927. package/dist/es/ricos-common-plugins/underline/underline.js.map +2 -2
  928. package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js +11 -11
  929. package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
  930. package/dist/es/ricos-modals/statics/styles/drawer-scss.js +11 -11
  931. package/dist/es/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
  932. package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js +3 -3
  933. package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
  934. package/dist/es/ricos-modals/statics/styles/popper-scss.js +5 -5
  935. package/dist/es/ricos-modals/statics/styles/popper-scss.js.map +1 -1
  936. package/dist/es/ricos-schema/next-schema/version.js +1 -1
  937. package/dist/es/ricos-schema/next-schema/version.js.map +1 -1
  938. package/dist/es/ricos-styles/statics/styles/style-presets-scss.js +8 -8
  939. package/dist/es/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
  940. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
  941. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
  942. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
  943. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
  944. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
  945. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
  946. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
  947. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
  948. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js +10 -1
  949. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.js.map +2 -2
  950. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
  951. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
  952. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
  953. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
  954. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
  955. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
  956. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
  957. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
  958. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +14 -14
  959. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
  960. package/dist/es/ricos-viewer-next/statics/alignment-scss.js +16 -16
  961. package/dist/es/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
  962. package/dist/es/ricos-viewer-next/statics/indentation-scss.js +7 -7
  963. package/dist/es/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
  964. package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
  965. package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
  966. package/dist/es/ricos-viewer-next/statics/rtl-scss.js +2 -2
  967. package/dist/es/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
  968. package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +4 -4
  969. package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
  970. package/dist/es/tiptap/core/editor.js +5 -2
  971. package/dist/es/tiptap/core/editor.js.map +2 -2
  972. package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +15 -15
  973. package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
  974. package/dist/es/tiptap-extensions/placeholder-scss.js +3 -3
  975. package/dist/es/tiptap-extensions/placeholder-scss.js.map +1 -1
  976. package/dist/es/tiptap-extensions/statics/styles-scss.js +6 -6
  977. package/dist/es/tiptap-extensions/statics/styles-scss.js.map +1 -1
  978. package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +3 -3
  979. package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
  980. package/dist/es/toolbars-v3/components/MaxWidthCalculationWrapper/max-width-calculation-wrapper.js +2 -1
  981. package/dist/es/toolbars-v3/components/MaxWidthCalculationWrapper/max-width-calculation-wrapper.js.map +2 -2
  982. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +5 -5
  983. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
  984. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +5 -5
  985. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
  986. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +6 -6
  987. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
  988. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +11 -11
  989. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
  990. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +3 -3
  991. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
  992. package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +5 -5
  993. package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
  994. package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +7 -7
  995. package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
  996. package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +8 -8
  997. package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
  998. package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +3 -3
  999. package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
  1000. package/dist/es/toolbars-v3/ricos-toolbars/formatting/use-is-visible.js +4 -0
  1001. package/dist/es/toolbars-v3/ricos-toolbars/formatting/use-is-visible.js.map +2 -2
  1002. package/dist/es/ui-components/Components/Image-scss.js +3 -3
  1003. package/dist/es/ui-components/Components/Image-scss.js.map +1 -1
  1004. package/dist/es/ui-components/Components/double-loader-scss.js +6 -6
  1005. package/dist/es/ui-components/Components/double-loader-scss.js.map +1 -1
  1006. package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +4 -4
  1007. package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
  1008. package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +15 -15
  1009. package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
  1010. package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +3 -3
  1011. package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
  1012. package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +4 -4
  1013. package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
  1014. package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +4 -4
  1015. package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
  1016. package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +3 -3
  1017. package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
  1018. package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js +3 -3
  1019. package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
  1020. package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js +5 -5
  1021. package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
  1022. package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +3 -3
  1023. package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
  1024. package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +6 -6
  1025. package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
  1026. package/dist/es/ui-components/panel/panel-scss.js +4 -4
  1027. package/dist/es/ui-components/panel/panel-scss.js.map +1 -1
  1028. package/dist/es/ui-components/panel-header/panel-header-scss.js +3 -3
  1029. package/dist/es/ui-components/panel-header/panel-header-scss.js.map +1 -1
  1030. package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +3 -3
  1031. package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
  1032. package/dist/es/ui-components/statics/styles/generic-error-scss.js +3 -3
  1033. package/dist/es/ui-components/statics/styles/generic-error-scss.js.map +1 -1
  1034. package/dist/es/ui-components/statics/styles/loaders-scss.js +10 -10
  1035. package/dist/es/ui-components/statics/styles/loaders-scss.js.map +1 -1
  1036. package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js +5 -5
  1037. package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
  1038. package/dist/es/ui-components/statics/styles/slider-scss.js +9 -9
  1039. package/dist/es/ui-components/statics/styles/slider-scss.js.map +1 -1
  1040. package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js +3 -3
  1041. package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
  1042. package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js +18 -18
  1043. package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
  1044. package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js +3 -3
  1045. package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
  1046. package/dist/es/wix-rich-content-common/statics/styles/general-scss.js +13 -13
  1047. package/dist/es/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
  1048. package/dist/src/_shared/editor-base-url/editor-base-url-context.d.ts.map +1 -1
  1049. package/dist/src/_shared/font-weight.d.ts +3 -0
  1050. package/dist/src/_shared/font-weight.d.ts.map +1 -0
  1051. package/dist/src/_shared/get-all-plugin-testkits.d.ts +1 -0
  1052. package/dist/src/_shared/get-all-plugin-testkits.d.ts.map +1 -1
  1053. package/dist/src/_shared/get-common-marker-style.d.ts +3 -0
  1054. package/dist/src/_shared/get-common-marker-style.d.ts.map +1 -0
  1055. package/dist/src/_shared/get-common-marker-style.spec.d.ts +2 -0
  1056. package/dist/src/_shared/get-common-marker-style.spec.d.ts.map +1 -0
  1057. package/dist/src/_shared/get-decorations-marker-style.d.ts +4 -0
  1058. package/dist/src/_shared/get-decorations-marker-style.d.ts.map +1 -0
  1059. package/dist/src/_shared/get-decorations-marker-style.spec.d.ts +2 -0
  1060. package/dist/src/_shared/get-decorations-marker-style.spec.d.ts.map +1 -0
  1061. package/dist/src/_shared/get-list-marker-style.d.ts +3 -0
  1062. package/dist/src/_shared/get-list-marker-style.d.ts.map +1 -0
  1063. package/dist/src/_shared/get-list-marker-style.spec.d.ts +2 -0
  1064. package/dist/src/_shared/get-list-marker-style.spec.d.ts.map +1 -0
  1065. package/dist/src/_shared/plugin-toolbar/create-settings-button.d.ts +2 -2
  1066. package/dist/src/_shared/plugin-toolbar/create-settings-button.d.ts.map +1 -1
  1067. package/dist/src/_shared/pm-node-types.d.ts +2 -1
  1068. package/dist/src/_shared/pm-node-types.d.ts.map +1 -1
  1069. package/dist/src/_shared/site-pages/site-pages-fetch-context/use-fetch-site-pages.d.ts +2 -0
  1070. package/dist/src/_shared/site-pages/site-pages-fetch-context/use-fetch-site-pages.d.ts.map +1 -1
  1071. package/dist/src/_shared/site-pages/site-pages-fetch-context/use-fetch-site-pages.spec.d.ts +2 -0
  1072. package/dist/src/_shared/site-pages/site-pages-fetch-context/use-fetch-site-pages.spec.d.ts.map +1 -0
  1073. package/dist/src/_shared/site-pages/site-pages-fetch-context.d.ts.map +1 -1
  1074. package/dist/src/_shared/site-pages/types.d.ts +24 -2
  1075. package/dist/src/_shared/site-pages/types.d.ts.map +1 -1
  1076. package/dist/src/index.d.ts +3 -2
  1077. package/dist/src/index.d.ts.map +1 -1
  1078. package/dist/src/internal.d.ts +1 -1
  1079. package/dist/src/internal.d.ts.map +1 -1
  1080. package/dist/src/legacy.d.ts +1 -1
  1081. package/dist/src/legacy.d.ts.map +1 -1
  1082. package/dist/src/plugin-block-drag-handle/box-select.d.ts +1 -0
  1083. package/dist/src/plugin-block-drag-handle/box-select.d.ts.map +1 -1
  1084. package/dist/src/plugin-block-drag-handle/dom.d.ts +1 -0
  1085. package/dist/src/plugin-block-drag-handle/dom.d.ts.map +1 -1
  1086. package/dist/src/plugin-block-drag-handle/plugin.d.ts.map +1 -1
  1087. package/dist/src/plugin-card/card-node-view.d.ts +3 -1
  1088. package/dist/src/plugin-card/card-node-view.d.ts.map +1 -1
  1089. package/dist/src/plugin-card/card-node-view.spec.d.ts +3 -0
  1090. package/dist/src/plugin-card/card-node-view.spec.d.ts.map +1 -0
  1091. package/dist/src/plugin-card/extension.d.ts.map +1 -1
  1092. package/dist/src/plugin-card/index.d.ts +1 -1
  1093. package/dist/src/plugin-card/index.d.ts.map +1 -1
  1094. package/dist/src/plugin-card/page-gap.d.ts +3 -0
  1095. package/dist/src/plugin-card/page-gap.d.ts.map +1 -1
  1096. package/dist/src/plugin-card/types-next.d.ts +12 -0
  1097. package/dist/src/plugin-card/types-next.d.ts.map +1 -1
  1098. package/dist/src/plugin-card/types.d.ts +12 -0
  1099. package/dist/src/plugin-card/types.d.ts.map +1 -1
  1100. package/dist/src/plugin-link/editor.d.ts.map +1 -1
  1101. package/dist/src/plugin-paywall/plugin-paywall.d.ts +27 -0
  1102. package/dist/src/plugin-paywall/plugin-paywall.d.ts.map +1 -1
  1103. package/dist/src/plugin-spoiler/get-text-buttons.d.ts.map +1 -1
  1104. package/dist/src/plugin-text-color/sketch/text-highlight-button.d.ts.map +1 -1
  1105. package/dist/src/ricos-common-plugins/bold/extension.d.ts.map +1 -1
  1106. package/dist/src/ricos-common-plugins/decoration-plugins/list-item-sizing.d.ts +9 -7
  1107. package/dist/src/ricos-common-plugins/decoration-plugins/list-item-sizing.d.ts.map +1 -1
  1108. package/dist/src/ricos-common-plugins/font-size/block-font-size-plugin.d.ts.map +1 -1
  1109. package/dist/src/ricos-common-plugins/layout/paywall-toolbar-button.d.ts +6 -0
  1110. package/dist/src/ricos-common-plugins/layout/paywall-toolbar-button.d.ts.map +1 -0
  1111. package/dist/src/ricos-common-plugins/layout/paywall-toolbar-button.spec.d.ts +2 -0
  1112. package/dist/src/ricos-common-plugins/layout/paywall-toolbar-button.spec.d.ts.map +1 -0
  1113. package/dist/src/ricos-common-plugins/layout/plugin-layout.d.ts.map +1 -1
  1114. package/dist/src/ricos-common-plugins/list-item/extension.d.ts.map +1 -1
  1115. package/dist/src/ricos-common-plugins/list-item/list-converters.d.ts.map +1 -1
  1116. package/dist/src/ricos-common-plugins/list-item/list-marker-selection.d.ts +25 -0
  1117. package/dist/src/ricos-common-plugins/list-item/list-marker-selection.d.ts.map +1 -0
  1118. package/dist/src/ricos-common-plugins/list-item/list-marker-selection.spec.d.ts +2 -0
  1119. package/dist/src/ricos-common-plugins/list-item/list-marker-selection.spec.d.ts.map +1 -0
  1120. package/dist/src/ricos-common-plugins/strikethrough/strikethrough.testkit.d.ts +1 -0
  1121. package/dist/src/ricos-common-plugins/strikethrough/strikethrough.testkit.d.ts.map +1 -1
  1122. package/dist/src/ricos-common-plugins/testkit.d.ts +1 -0
  1123. package/dist/src/ricos-common-plugins/testkit.d.ts.map +1 -1
  1124. package/dist/src/ricos-schema/next-schema/version.d.ts +1 -1
  1125. package/dist/src/ricos-styles/tests/test-cases.d.ts +3 -3
  1126. package/dist/src/ricos-types/next/ricos-types.d.ts +1 -1
  1127. package/dist/src/ricos-types/ricos-types.d.ts +1 -1
  1128. package/dist/src/ricos-viewer-next/ContentViewer/rericos/renderers/lists/list-item.d.ts.map +1 -1
  1129. package/dist/src/testkit.d.ts +2 -0
  1130. package/dist/src/testkit.d.ts.map +1 -1
  1131. package/dist/src/tiptap/core/editor.d.ts.map +1 -1
  1132. package/dist/src/toolbars-v3/components/MaxWidthCalculationWrapper/max-width-calculation-wrapper.d.ts.map +1 -1
  1133. package/dist/src/toolbars-v3/components/MaxWidthCalculationWrapper/max-width-calculation-wrapper.spec.d.ts +2 -0
  1134. package/dist/src/toolbars-v3/components/MaxWidthCalculationWrapper/max-width-calculation-wrapper.spec.d.ts.map +1 -0
  1135. package/dist/src/toolbars-v3/ricos-toolbars/formatting/use-is-visible.d.ts.map +1 -1
  1136. package/generated/public.d.ts +54 -1
  1137. package/package.json +6 -6
  1138. package/dist/cjs/_shared/site-pages/serverless-types/serverless-types.js.map +0 -7
  1139. package/dist/es/_shared/site-pages/serverless-types/serverless-types.js +0 -1
  1140. package/dist/es/_shared/site-pages/serverless-types/serverless-types.js.map +0 -7
  1141. package/dist/src/_shared/site-pages/serverless-types/serverless-types.d.ts +0 -27
  1142. package/dist/src/_shared/site-pages/serverless-types/serverless-types.d.ts.map +0 -1
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/ricos-common-plugins/decoration-plugins/list-item-sizing.ts"],
4
- "sourcesContent": ["import { Node_Type } from './../../ricos-schema/legacy/wix/rich_content/v1/index.js';\nimport { getPxFontSize } from './../../_shared/get-px-font-size.js';\nimport { getBlockDefaultFontSize } from './../../_shared/list-checkbox/get-block-default-font-size.js';\nimport type { Node as ProseMirrorNode } from './../../tiptap/pm/model.js';\nimport { Plugin, PluginKey } from './../../tiptap/pm/state.js';\nimport { Decoration, DecorationSet } from './../../tiptap/pm/view.js';\n\nimport { toBlockFontSize } from '../font-size/block-font-size.js';\nimport type { Level } from '../title/extension.js';\nimport { HEADER_NAMES } from '../title/header-names.js';\nimport { onlyChangesUnrelatedAttrs } from '../transaction-predicates/only-changes-unrelated-attrs.js';\n\n// Reads heading `attrs.level` and the block `attrs.fontSize` on the list\n// item's first child. Marks (font-size) come through `Add/RemoveMarkStep` —\n// non-attr — and correctly defeat the predicate without needing to be listed here.\nconst RELEVANT_ATTRS: ReadonlySet<string> = new Set(['level', 'fontSize']);\n\n/**\n * Adds, depending on the list item's first child:\n * - a font-size (so the list marker and paddings size with the text),\n * - a `data-child-font-fit` flag when that font-size is smaller than the block's\n * own default, so the child paragraph/heading shrinks its font to match (see\n * `list-checkbox.scss`),\n * - and/or a `data-heading-level` attribute (so a heading-first list item gets\n * heading styles).\n *\n * No `reuseWhen`: the decoration value depends on the first child's first\n * text node's marks / type, which inline-text edits can change (pasting\n * marked text in front of an unmarked first character, typing that changes\n * the first mark, etc.). Cache is still used across selection-only\n * transactions.\n */\nexport const createListItemSizingDecorationPlugin = () => {\n const key = new PluginKey<DecorationSet>('list-item-sizing');\n\n return new Plugin<DecorationSet>({\n key,\n state: {\n init: (_config, state) => buildListItemSizingDecorations(state.doc),\n // No `reuseWhen` predicate — see plugin docstring for why.\n apply: (tr, prev) => {\n if (!tr.docChanged) {\n return prev;\n }\n if (onlyChangesUnrelatedAttrs(tr, RELEVANT_ATTRS)) {\n return prev;\n }\n return buildListItemSizingDecorations(tr.doc);\n },\n },\n props: {\n decorations(state) {\n return key.getState(state);\n },\n },\n });\n};\n\n// An empty block sizes the item with its own font size, a block with text with its first text node's.\n// Only an absolute size can size the item: a relative one would compound with the same size on the\n// block inside it, which is relative to the item.\nconst getChildFontSize = (blockNode: ProseMirrorNode | null): number => {\n if (!blockNode) {\n return 0;\n }\n return (\n (blockNode.content.size\n ? toBlockFontSize(blockNode.firstChild?.marks)?.value\n : getPxFontSize(blockNode.attrs.fontSize)) ?? 0\n );\n};\n\nconst buildListItemSizingDecorations = (doc: ProseMirrorNode): DecorationSet => {\n const decorations: Decoration[] = [];\n\n doc.descendants((node, pos) => {\n // Text blocks (paragraph, heading, blockquote) cannot contain list items,\n // so skipping their subtree avoids visiting every text/mark node.\n // We cannot prune at LIST_ITEM because it may contain nested lists via\n // `listItemSecondChildContent`, and those nested list items still need\n // decorations.\n if (node.isTextblock) {\n return false;\n }\n\n if (node.type.name !== Node_Type.LIST_ITEM) {\n return;\n }\n\n const firstChildOfListItem = node.firstChild;\n const headingLevel: Level | undefined =\n firstChildOfListItem?.type.name === Node_Type.HEADING\n ? firstChildOfListItem?.attrs.level || 1\n : undefined;\n\n // Apply the child block's font-size to the list item as a decoration so\n // the list marker matches the text font-size.\n const childFontSize = getChildFontSize(firstChildOfListItem);\n if (childFontSize) {\n // When the chosen font is smaller than the block's own default, the\n // block's strut keeps the line (and marker) oversized; flag the item\n // so the child paragraph/heading shrinks its font to match — see\n // `list-checkbox.scss`.\n const childFontFit = childFontSize < getBlockDefaultFontSize(headingLevel);\n decorations.push(\n Decoration.node(pos, pos + node.nodeSize, {\n // No trailing `;` — see indentation-styling.ts.\n style: `font-size: ${childFontSize}px`,\n ...(childFontFit ? { 'data-child-font-fit': 'true' } : {}),\n })\n );\n }\n\n if (headingLevel !== undefined) {\n decorations.push(\n Decoration.node(pos, pos + node.nodeSize, {\n 'data-heading-level': `header${HEADER_NAMES[headingLevel - 1]}`,\n })\n );\n }\n });\n\n return DecorationSet.create(doc, decorations);\n};\n"],
5
- "mappings": "AAAA,SAAS,iBAAiB;AAC1B,SAAS,qBAAqB;AAC9B,SAAS,+BAA+B;AAExC,SAAS,QAAQ,iBAAiB;AAClC,SAAS,YAAY,qBAAqB;AAE1C,SAAS,uBAAuB;AAEhC,SAAS,oBAAoB;AAC7B,SAAS,iCAAiC;AAK1C,MAAM,iBAAsC,oBAAI,IAAI,CAAC,SAAS,UAAU,CAAC;AAiBlE,MAAM,uCAAuC,MAAM;AACxD,QAAM,MAAM,IAAI,UAAyB,kBAAkB;AAE3D,SAAO,IAAI,OAAsB;AAAA,IAC/B;AAAA,IACA,OAAO;AAAA,MACL,MAAM,CAAC,SAAS,UAAU,+BAA+B,MAAM,GAAG;AAAA;AAAA,MAElE,OAAO,CAAC,IAAI,SAAS;AACnB,YAAI,CAAC,GAAG,YAAY;AAClB,iBAAO;AAAA,QACT;AACA,YAAI,0BAA0B,IAAI,cAAc,GAAG;AACjD,iBAAO;AAAA,QACT;AACA,eAAO,+BAA+B,GAAG,GAAG;AAAA,MAC9C;AAAA,IACF;AAAA,IACA,OAAO;AAAA,MACL,YAAY,OAAO;AACjB,eAAO,IAAI,SAAS,KAAK;AAAA,MAC3B;AAAA,IACF;AAAA,EACF,CAAC;AACH;AAKA,MAAM,mBAAmB,CAAC,cAA8C;AACtE,MAAI,CAAC,WAAW;AACd,WAAO;AAAA,EACT;AACA,UACG,UAAU,QAAQ,OACf,gBAAgB,UAAU,YAAY,KAAK,GAAG,QAC9C,cAAc,UAAU,MAAM,QAAQ,MAAM;AAEpD;AAEA,MAAM,iCAAiC,CAAC,QAAwC;AAC9E,QAAM,cAA4B,CAAC;AAEnC,MAAI,YAAY,CAAC,MAAM,QAAQ;AAM7B,QAAI,KAAK,aAAa;AACpB,aAAO;AAAA,IACT;AAEA,QAAI,KAAK,KAAK,SAAS,UAAU,WAAW;AAC1C;AAAA,IACF;AAEA,UAAM,uBAAuB,KAAK;AAClC,UAAM,eACJ,sBAAsB,KAAK,SAAS,UAAU,UAC1C,sBAAsB,MAAM,SAAS,IACrC;AAIN,UAAM,gBAAgB,iBAAiB,oBAAoB;AAC3D,QAAI,eAAe;AAKjB,YAAM,eAAe,gBAAgB,wBAAwB,YAAY;AACzE,kBAAY;AAAA,QACV,WAAW,KAAK,KAAK,MAAM,KAAK,UAAU;AAAA;AAAA,UAExC,OAAO,cAAc,aAAa;AAAA,UAClC,GAAI,eAAe,EAAE,uBAAuB,OAAO,IAAI,CAAC;AAAA,QAC1D,CAAC;AAAA,MACH;AAAA,IACF;AAEA,QAAI,iBAAiB,QAAW;AAC9B,kBAAY;AAAA,QACV,WAAW,KAAK,KAAK,MAAM,KAAK,UAAU;AAAA,UACxC,sBAAsB,SAAS,aAAa,eAAe,CAAC,CAAC;AAAA,QAC/D,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF,CAAC;AAED,SAAO,cAAc,OAAO,KAAK,WAAW;AAC9C;",
4
+ "sourcesContent": ["import { Node_Type } from './../../ricos-schema/legacy/wix/rich_content/v1/index.js';\nimport { getListMarkerStyle } from './../../_shared/get-list-marker-style.js';\nimport { getPxFontSize } from './../../_shared/get-px-font-size.js';\nimport { getBlockDefaultFontSize } from './../../_shared/list-checkbox/get-block-default-font-size.js';\nimport type { Node as ProseMirrorNode } from './../../tiptap/pm/model.js';\nimport { Plugin, PluginKey } from './../../tiptap/pm/state.js';\nimport { Decoration, DecorationSet } from './../../tiptap/pm/view.js';\n\nimport { toBlockFontSize } from '../font-size/block-font-size.js';\nimport { getContentMarkerStyle } from '../list-item/list-marker-selection.js';\nimport type { Level } from '../title/extension.js';\nimport { HEADER_NAMES } from '../title/header-names.js';\nimport { onlyChangesUnrelatedAttrs } from '../transaction-predicates/only-changes-unrelated-attrs.js';\n\n// Reads the list item's `attrs.markerStyle`, and heading `attrs.level` and the\n// block `attrs.fontSize` on its first child. Marks (font-size) come through `Add/RemoveMarkStep` —\n// non-attr — and correctly defeat the predicate without needing to be listed here.\nconst RELEVANT_ATTRS: ReadonlySet<string> = new Set(['level', 'fontSize', 'markerStyle']);\n\n/**\n * Adds, depending on the list item's first child:\n * - a font-size (so the list marker and paddings size with the text),\n * - a `data-child-font-fit` flag when that font-size is smaller than the block's\n * own default, so the child paragraph/heading shrinks its font to match (see\n * `list-checkbox.scss`),\n * - a `data-heading-level` attribute (so a heading-first list item gets\n * heading styles),\n * - and/or the marker's style: its own over the style its whole text shares (see\n * `getListMarkerStyle`).\n *\n * No `reuseWhen`: the decoration value depends on the first child's type and\n * its text nodes' marks, which inline-text edits can change (pasting marked\n * text in front of an unmarked first character, typing that changes the first\n * mark, styling the whole text, etc.). Cache is still used across\n * selection-only transactions.\n */\nexport const createListItemSizingDecorationPlugin = () => {\n const key = new PluginKey<DecorationSet>('list-item-sizing');\n\n return new Plugin<DecorationSet>({\n key,\n state: {\n init: (_config, state) => buildListItemSizingDecorations(state.doc),\n // No `reuseWhen` predicate — see plugin docstring for why.\n apply: (tr, prev) => {\n if (!tr.docChanged) {\n return prev;\n }\n if (onlyChangesUnrelatedAttrs(tr, RELEVANT_ATTRS)) {\n return prev;\n }\n return buildListItemSizingDecorations(tr.doc);\n },\n },\n props: {\n decorations(state) {\n return key.getState(state);\n },\n },\n });\n};\n\n// An empty block sizes the item with its own font size, a block with text with its first text node's.\n// Only an absolute size can size the item: a relative one would compound with the same size on the\n// block inside it, which is relative to the item.\nconst getChildFontSize = (blockNode: ProseMirrorNode | null): number => {\n if (!blockNode) {\n return 0;\n }\n return (\n (blockNode.content.size\n ? toBlockFontSize(blockNode.firstChild?.marks)?.value\n : getPxFontSize(blockNode.attrs.fontSize)) ?? 0\n );\n};\n\nconst buildListItemSizingDecorations = (doc: ProseMirrorNode): DecorationSet => {\n const decorations: Decoration[] = [];\n\n doc.descendants((node, pos) => {\n // Text blocks (paragraph, heading, blockquote) cannot contain list items,\n // so skipping their subtree avoids visiting every text/mark node.\n // We cannot prune at LIST_ITEM because it may contain nested lists via\n // `listItemSecondChildContent`, and those nested list items still need\n // decorations.\n if (node.isTextblock) {\n return false;\n }\n\n if (node.type.name !== Node_Type.LIST_ITEM) {\n return;\n }\n\n const firstChildOfListItem = node.firstChild;\n const headingLevel: Level | undefined =\n firstChildOfListItem?.type.name === Node_Type.HEADING\n ? firstChildOfListItem?.attrs.level || 1\n : undefined;\n\n // Apply the child block's font-size to the list item as a decoration so\n // the list marker matches the text font-size.\n const childFontSize = getChildFontSize(firstChildOfListItem);\n if (childFontSize) {\n // When the chosen font is smaller than the block's own default, the\n // block's strut keeps the line (and marker) oversized; flag the item\n // so the child paragraph/heading shrinks its font to match — see\n // `list-checkbox.scss`.\n const childFontFit = childFontSize < getBlockDefaultFontSize(headingLevel);\n decorations.push(\n Decoration.node(pos, pos + node.nodeSize, {\n // No trailing `;` — see indentation-styling.ts.\n style: `font-size: ${childFontSize}px`,\n ...(childFontFit ? { 'data-child-font-fit': 'true' } : {}),\n })\n );\n }\n\n if (headingLevel !== undefined) {\n decorations.push(\n Decoration.node(pos, pos + node.nodeSize, {\n 'data-heading-level': `header${HEADER_NAMES[headingLevel - 1]}`,\n })\n );\n }\n\n const markerStyle = Object.entries(\n getListMarkerStyle({ ...getContentMarkerStyle(node), ...node.attrs.markerStyle })\n );\n if (markerStyle.length) {\n decorations.push(\n Decoration.node(pos, pos + node.nodeSize, {\n style: markerStyle.map(([property, value]) => `${property}: ${value}`).join('; '),\n })\n );\n }\n });\n\n return DecorationSet.create(doc, decorations);\n};\n"],
5
+ "mappings": "AAAA,SAAS,iBAAiB;AAC1B,SAAS,0BAA0B;AACnC,SAAS,qBAAqB;AAC9B,SAAS,+BAA+B;AAExC,SAAS,QAAQ,iBAAiB;AAClC,SAAS,YAAY,qBAAqB;AAE1C,SAAS,uBAAuB;AAChC,SAAS,6BAA6B;AAEtC,SAAS,oBAAoB;AAC7B,SAAS,iCAAiC;AAK1C,MAAM,iBAAsC,oBAAI,IAAI,CAAC,SAAS,YAAY,aAAa,CAAC;AAmBjF,MAAM,uCAAuC,MAAM;AACxD,QAAM,MAAM,IAAI,UAAyB,kBAAkB;AAE3D,SAAO,IAAI,OAAsB;AAAA,IAC/B;AAAA,IACA,OAAO;AAAA,MACL,MAAM,CAAC,SAAS,UAAU,+BAA+B,MAAM,GAAG;AAAA;AAAA,MAElE,OAAO,CAAC,IAAI,SAAS;AACnB,YAAI,CAAC,GAAG,YAAY;AAClB,iBAAO;AAAA,QACT;AACA,YAAI,0BAA0B,IAAI,cAAc,GAAG;AACjD,iBAAO;AAAA,QACT;AACA,eAAO,+BAA+B,GAAG,GAAG;AAAA,MAC9C;AAAA,IACF;AAAA,IACA,OAAO;AAAA,MACL,YAAY,OAAO;AACjB,eAAO,IAAI,SAAS,KAAK;AAAA,MAC3B;AAAA,IACF;AAAA,EACF,CAAC;AACH;AAKA,MAAM,mBAAmB,CAAC,cAA8C;AACtE,MAAI,CAAC,WAAW;AACd,WAAO;AAAA,EACT;AACA,UACG,UAAU,QAAQ,OACf,gBAAgB,UAAU,YAAY,KAAK,GAAG,QAC9C,cAAc,UAAU,MAAM,QAAQ,MAAM;AAEpD;AAEA,MAAM,iCAAiC,CAAC,QAAwC;AAC9E,QAAM,cAA4B,CAAC;AAEnC,MAAI,YAAY,CAAC,MAAM,QAAQ;AAM7B,QAAI,KAAK,aAAa;AACpB,aAAO;AAAA,IACT;AAEA,QAAI,KAAK,KAAK,SAAS,UAAU,WAAW;AAC1C;AAAA,IACF;AAEA,UAAM,uBAAuB,KAAK;AAClC,UAAM,eACJ,sBAAsB,KAAK,SAAS,UAAU,UAC1C,sBAAsB,MAAM,SAAS,IACrC;AAIN,UAAM,gBAAgB,iBAAiB,oBAAoB;AAC3D,QAAI,eAAe;AAKjB,YAAM,eAAe,gBAAgB,wBAAwB,YAAY;AACzE,kBAAY;AAAA,QACV,WAAW,KAAK,KAAK,MAAM,KAAK,UAAU;AAAA;AAAA,UAExC,OAAO,cAAc,aAAa;AAAA,UAClC,GAAI,eAAe,EAAE,uBAAuB,OAAO,IAAI,CAAC;AAAA,QAC1D,CAAC;AAAA,MACH;AAAA,IACF;AAEA,QAAI,iBAAiB,QAAW;AAC9B,kBAAY;AAAA,QACV,WAAW,KAAK,KAAK,MAAM,KAAK,UAAU;AAAA,UACxC,sBAAsB,SAAS,aAAa,eAAe,CAAC,CAAC;AAAA,QAC/D,CAAC;AAAA,MACH;AAAA,IACF;AAEA,UAAM,cAAc,OAAO;AAAA,MACzB,mBAAmB,EAAE,GAAG,sBAAsB,IAAI,GAAG,GAAG,KAAK,MAAM,YAAY,CAAC;AAAA,IAClF;AACA,QAAI,YAAY,QAAQ;AACtB,kBAAY;AAAA,QACV,WAAW,KAAK,KAAK,MAAM,KAAK,UAAU;AAAA,UACxC,OAAO,YAAY,IAAI,CAAC,CAAC,UAAU,KAAK,MAAM,GAAG,QAAQ,KAAK,KAAK,EAAE,EAAE,KAAK,IAAI;AAAA,QAClF,CAAC;AAAA,MACH;AAAA,IACF;AAAA,EACF,CAAC;AAED,SAAO,cAAc,OAAO,KAAK,WAAW;AAC9C;",
6
6
  "names": []
7
7
  }
@@ -3,6 +3,7 @@ import { formatFontSize } from "./../../_shared/format-font-size.js";
3
3
  import { combineTransactionSteps, getChangedRanges } from "./../../tiptap/core/index.js";
4
4
  import { Plugin, PluginKey } from "./../../tiptap/pm/state.js";
5
5
  import { Decoration, DecorationSet } from "./../../tiptap/pm/view.js";
6
+ import { ListMarkerSelection } from "../list-item/list-marker-selection.js";
6
7
  import { isSameBlockFontSize, isSizedTextblock, toBlockFontSize } from "./block-font-size.js";
7
8
  const createBlockFontSizePlugin = (config) => {
8
9
  const key = new PluginKey("block-font-size");
@@ -94,7 +95,7 @@ const leftBlockType = (oldState, cursorBlock, transform) => {
94
95
  const findEmptyCursorBlock = ({
95
96
  selection
96
97
  }) => {
97
- if (!selection.empty) {
98
+ if (!selection.empty || selection instanceof ListMarkerSelection) {
98
99
  return void 0;
99
100
  }
100
101
  const { parent } = selection.$from;
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/ricos-common-plugins/font-size/block-font-size-plugin.ts"],
4
- "sourcesContent": ["import type { FontSizeData } from './../../ricos-schema/next-schema/index.js';\nimport { Mark_Type } from './../../ricos-types/index.js';\nimport { type FontSizeCommonConfig, formatFontSize } from './../../_shared/format-font-size.js';\nimport { combineTransactionSteps, getChangedRanges } from './../../tiptap/core/index.js';\nimport type { Node as ProseMirrorNode } from './../../tiptap/pm/model.js';\nimport type { EditorState, Transaction } from './../../tiptap/pm/state.js';\nimport { Plugin, PluginKey } from './../../tiptap/pm/state.js';\nimport type { Transform } from './../../tiptap/pm/transform.js';\nimport { Decoration, DecorationSet } from './../../tiptap/pm/view.js';\n\nimport { isSameBlockFontSize, isSizedTextblock, toBlockFontSize } from './block-font-size.js';\n\ntype Block = { node: ProseMirrorNode; pos: number };\n\n// Only blocks a transaction touched are visited, so loaded content is never rewritten\nexport const createBlockFontSizePlugin = (config?: FontSizeCommonConfig) => {\n const key = new PluginKey<DecorationSet>('block-font-size');\n\n return new Plugin<DecorationSet>({\n key,\n state: {\n init: (_config, state) => buildEmptyBlockDecorations(state.doc, config),\n apply: (tr, prev) => (tr.docChanged ? buildEmptyBlockDecorations(tr.doc, config) : prev),\n },\n props: {\n decorations(state) {\n return key.getState(state);\n },\n },\n appendTransaction: (transactions, oldState, newState) => {\n const tr = newState.tr;\n const transform = transactions.some(transaction => transaction.docChanged)\n ? combineTransactionSteps(oldState.doc, [...transactions])\n : undefined;\n\n if (transform) {\n sizeEmptiedBlocks(tr, oldState, newState, transform);\n }\n\n const cursorBlock = findEmptyCursorBlock(newState);\n let storedMarks = newState.storedMarks;\n\n if (cursorBlock && transform && leftBlockType(oldState, cursorBlock, transform)) {\n // The marks the new block would type at: the stored ones, or the ones `unique-id` carries\n // over from the old cursor when it ids the block (keep the fallback in sync with it).\n const { $from, $to } = oldState.selection;\n const carriedMarks = storedMarks ?? ($to.parentOffset ? $from.marks() : []);\n if (carriedMarks.some(mark => mark.type.name === Mark_Type.FONT_SIZE)) {\n storedMarks = carriedMarks.filter(mark => mark.type.name !== Mark_Type.FONT_SIZE);\n }\n if (cursorBlock.node.attrs.fontSize) {\n tr.setNodeAttribute(cursorBlock.pos, 'fontSize', null);\n }\n } else if (cursorBlock && transactions.some(transaction => transaction.storedMarksSet)) {\n const storedFontSize = toBlockFontSize(storedMarks);\n if (\n storedFontSize &&\n !isSameBlockFontSize(storedFontSize, cursorBlock.node.attrs.fontSize)\n ) {\n tr.setNodeAttribute(cursorBlock.pos, 'fontSize', storedFontSize);\n }\n }\n\n // Attribute steps keep positions, so the block can be re-read after `sizeEmptiedBlocks`\n const blockFontSize = cursorBlock && tr.doc.nodeAt(cursorBlock.pos)!.attrs.fontSize;\n const fontSizeMarkType = newState.schema.marks[Mark_Type.FONT_SIZE];\n if (blockFontSize && fontSizeMarkType && !fontSizeMarkType.isInSet(storedMarks ?? [])) {\n storedMarks = [...(storedMarks ?? []), fontSizeMarkType.create(blockFontSize)];\n }\n\n // Steps reset the transaction's stored marks; put back the ones the state already had.\n if (storedMarks && (tr.steps.length || storedMarks !== newState.storedMarks)) {\n tr.setStoredMarks(storedMarks);\n }\n\n return tr.steps.length || tr.storedMarksSet ? tr : undefined;\n },\n });\n};\n\n// Text renders at its own sizes, so only an empty block is styled with its own size\nconst buildEmptyBlockDecorations = (\n doc: ProseMirrorNode,\n config?: FontSizeCommonConfig\n): DecorationSet => {\n const decorations: Decoration[] = [];\n doc.descendants((node, pos) => {\n const fontSize: FontSizeData | null = node.attrs.fontSize;\n if (isSizedTextblock(node) && !node.content.size && fontSize) {\n decorations.push(\n Decoration.node(pos, pos + node.nodeSize, {\n // No trailing `;` — see indentation-styling.ts.\n style: `font-size: ${formatFontSize({ value: fontSize.value, unit: fontSize.unit?.toLowerCase() }, config)}`,\n })\n );\n }\n return !node.isTextblock;\n });\n return DecorationSet.create(doc, decorations);\n};\n\n// A block whose text was all deleted keeps the size its first character had; the block is looked up\n// from the old side, since a new empty block can sit where an old one started.\nconst sizeEmptiedBlocks = (\n tr: Transaction,\n oldState: EditorState,\n newState: EditorState,\n transform: Transform\n) => {\n const sized = new Set<number>();\n getChangedRanges(transform).forEach(({ oldRange }) => {\n oldState.doc.nodesBetween(oldRange.from, oldRange.to, (oldNode, oldPos) => {\n if (isSizedTextblock(oldNode) && oldNode.content.size) {\n const pos = transform.mapping.map(oldPos);\n const node = newState.doc.nodeAt(pos);\n if (node?.type === oldNode.type && !node.content.size && !sized.has(pos)) {\n sized.add(pos);\n const fontSize = toBlockFontSize(oldNode.firstChild?.marks);\n if (!isSameBlockFontSize(fontSize, node.attrs.fontSize)) {\n tr.setNodeAttribute(pos, 'fontSize', fontSize);\n }\n }\n }\n return !oldNode.isTextblock;\n });\n });\n};\n\n// Enter into a block of another type (heading → paragraph, blockquote → paragraph) starts at the\n// default size. The block the cursor left maps onto itself, so a toolbar toggle of the same block\n// or a split into the block's own type keeps the size.\nconst leftBlockType = (\n oldState: EditorState,\n cursorBlock: Block,\n transform: Transform\n): boolean => {\n const { $from } = oldState.selection;\n return (\n $from.depth > 0 &&\n transform.mapping.map($from.before()) !== cursorBlock.pos &&\n $from.parent.type !== cursorBlock.node.type\n );\n};\n\nexport const findEmptyCursorBlock = ({\n selection,\n}: Pick<EditorState, 'selection'>): Block | undefined => {\n if (!selection.empty) {\n return undefined;\n }\n const { parent } = selection.$from;\n if (!isSizedTextblock(parent) || parent.content.size !== 0) {\n return undefined;\n }\n return { node: parent, pos: selection.$from.before() };\n};\n"],
5
- "mappings": "AACA,SAAS,iBAAiB;AAC1B,SAAoC,sBAAsB;AAC1D,SAAS,yBAAyB,wBAAwB;AAG1D,SAAS,QAAQ,iBAAiB;AAElC,SAAS,YAAY,qBAAqB;AAE1C,SAAS,qBAAqB,kBAAkB,uBAAuB;AAKhE,MAAM,4BAA4B,CAAC,WAAkC;AAC1E,QAAM,MAAM,IAAI,UAAyB,iBAAiB;AAE1D,SAAO,IAAI,OAAsB;AAAA,IAC/B;AAAA,IACA,OAAO;AAAA,MACL,MAAM,CAAC,SAAS,UAAU,2BAA2B,MAAM,KAAK,MAAM;AAAA,MACtE,OAAO,CAAC,IAAI,SAAU,GAAG,aAAa,2BAA2B,GAAG,KAAK,MAAM,IAAI;AAAA,IACrF;AAAA,IACA,OAAO;AAAA,MACL,YAAY,OAAO;AACjB,eAAO,IAAI,SAAS,KAAK;AAAA,MAC3B;AAAA,IACF;AAAA,IACA,mBAAmB,CAAC,cAAc,UAAU,aAAa;AACvD,YAAM,KAAK,SAAS;AACpB,YAAM,YAAY,aAAa,KAAK,iBAAe,YAAY,UAAU,IACrE,wBAAwB,SAAS,KAAK,CAAC,GAAG,YAAY,CAAC,IACvD;AAEJ,UAAI,WAAW;AACb,0BAAkB,IAAI,UAAU,UAAU,SAAS;AAAA,MACrD;AAEA,YAAM,cAAc,qBAAqB,QAAQ;AACjD,UAAI,cAAc,SAAS;AAE3B,UAAI,eAAe,aAAa,cAAc,UAAU,aAAa,SAAS,GAAG;AAG/E,cAAM,EAAE,OAAO,IAAI,IAAI,SAAS;AAChC,cAAM,eAAe,gBAAgB,IAAI,eAAe,MAAM,MAAM,IAAI,CAAC;AACzE,YAAI,aAAa,KAAK,UAAQ,KAAK,KAAK,SAAS,UAAU,SAAS,GAAG;AACrE,wBAAc,aAAa,OAAO,UAAQ,KAAK,KAAK,SAAS,UAAU,SAAS;AAAA,QAClF;AACA,YAAI,YAAY,KAAK,MAAM,UAAU;AACnC,aAAG,iBAAiB,YAAY,KAAK,YAAY,IAAI;AAAA,QACvD;AAAA,MACF,WAAW,eAAe,aAAa,KAAK,iBAAe,YAAY,cAAc,GAAG;AACtF,cAAM,iBAAiB,gBAAgB,WAAW;AAClD,YACE,kBACA,CAAC,oBAAoB,gBAAgB,YAAY,KAAK,MAAM,QAAQ,GACpE;AACA,aAAG,iBAAiB,YAAY,KAAK,YAAY,cAAc;AAAA,QACjE;AAAA,MACF;AAGA,YAAM,gBAAgB,eAAe,GAAG,IAAI,OAAO,YAAY,GAAG,EAAG,MAAM;AAC3E,YAAM,mBAAmB,SAAS,OAAO,MAAM,UAAU,SAAS;AAClE,UAAI,iBAAiB,oBAAoB,CAAC,iBAAiB,QAAQ,eAAe,CAAC,CAAC,GAAG;AACrF,sBAAc,CAAC,GAAI,eAAe,CAAC,GAAI,iBAAiB,OAAO,aAAa,CAAC;AAAA,MAC/E;AAGA,UAAI,gBAAgB,GAAG,MAAM,UAAU,gBAAgB,SAAS,cAAc;AAC5E,WAAG,eAAe,WAAW;AAAA,MAC/B;AAEA,aAAO,GAAG,MAAM,UAAU,GAAG,iBAAiB,KAAK;AAAA,IACrD;AAAA,EACF,CAAC;AACH;AAGA,MAAM,6BAA6B,CACjC,KACA,WACkB;AAClB,QAAM,cAA4B,CAAC;AACnC,MAAI,YAAY,CAAC,MAAM,QAAQ;AAC7B,UAAM,WAAgC,KAAK,MAAM;AACjD,QAAI,iBAAiB,IAAI,KAAK,CAAC,KAAK,QAAQ,QAAQ,UAAU;AAC5D,kBAAY;AAAA,QACV,WAAW,KAAK,KAAK,MAAM,KAAK,UAAU;AAAA;AAAA,UAExC,OAAO,cAAc,eAAe,EAAE,OAAO,SAAS,OAAO,MAAM,SAAS,MAAM,YAAY,EAAE,GAAG,MAAM,CAAC;AAAA,QAC5G,CAAC;AAAA,MACH;AAAA,IACF;AACA,WAAO,CAAC,KAAK;AAAA,EACf,CAAC;AACD,SAAO,cAAc,OAAO,KAAK,WAAW;AAC9C;AAIA,MAAM,oBAAoB,CACxB,IACA,UACA,UACA,cACG;AACH,QAAM,QAAQ,oBAAI,IAAY;AAC9B,mBAAiB,SAAS,EAAE,QAAQ,CAAC,EAAE,SAAS,MAAM;AACpD,aAAS,IAAI,aAAa,SAAS,MAAM,SAAS,IAAI,CAAC,SAAS,WAAW;AACzE,UAAI,iBAAiB,OAAO,KAAK,QAAQ,QAAQ,MAAM;AACrD,cAAM,MAAM,UAAU,QAAQ,IAAI,MAAM;AACxC,cAAM,OAAO,SAAS,IAAI,OAAO,GAAG;AACpC,YAAI,MAAM,SAAS,QAAQ,QAAQ,CAAC,KAAK,QAAQ,QAAQ,CAAC,MAAM,IAAI,GAAG,GAAG;AACxE,gBAAM,IAAI,GAAG;AACb,gBAAM,WAAW,gBAAgB,QAAQ,YAAY,KAAK;AAC1D,cAAI,CAAC,oBAAoB,UAAU,KAAK,MAAM,QAAQ,GAAG;AACvD,eAAG,iBAAiB,KAAK,YAAY,QAAQ;AAAA,UAC/C;AAAA,QACF;AAAA,MACF;AACA,aAAO,CAAC,QAAQ;AAAA,IAClB,CAAC;AAAA,EACH,CAAC;AACH;AAKA,MAAM,gBAAgB,CACpB,UACA,aACA,cACY;AACZ,QAAM,EAAE,MAAM,IAAI,SAAS;AAC3B,SACE,MAAM,QAAQ,KACd,UAAU,QAAQ,IAAI,MAAM,OAAO,CAAC,MAAM,YAAY,OACtD,MAAM,OAAO,SAAS,YAAY,KAAK;AAE3C;AAEO,MAAM,uBAAuB,CAAC;AAAA,EACnC;AACF,MAAyD;AACvD,MAAI,CAAC,UAAU,OAAO;AACpB,WAAO;AAAA,EACT;AACA,QAAM,EAAE,OAAO,IAAI,UAAU;AAC7B,MAAI,CAAC,iBAAiB,MAAM,KAAK,OAAO,QAAQ,SAAS,GAAG;AAC1D,WAAO;AAAA,EACT;AACA,SAAO,EAAE,MAAM,QAAQ,KAAK,UAAU,MAAM,OAAO,EAAE;AACvD;",
4
+ "sourcesContent": ["import type { FontSizeData } from './../../ricos-schema/next-schema/index.js';\nimport { Mark_Type } from './../../ricos-types/index.js';\nimport { type FontSizeCommonConfig, formatFontSize } from './../../_shared/format-font-size.js';\nimport { combineTransactionSteps, getChangedRanges } from './../../tiptap/core/index.js';\nimport type { Node as ProseMirrorNode } from './../../tiptap/pm/model.js';\nimport type { EditorState, Transaction } from './../../tiptap/pm/state.js';\nimport { Plugin, PluginKey } from './../../tiptap/pm/state.js';\nimport type { Transform } from './../../tiptap/pm/transform.js';\nimport { Decoration, DecorationSet } from './../../tiptap/pm/view.js';\n\nimport { ListMarkerSelection } from '../list-item/list-marker-selection.js';\nimport { isSameBlockFontSize, isSizedTextblock, toBlockFontSize } from './block-font-size.js';\n\ntype Block = { node: ProseMirrorNode; pos: number };\n\n// Only blocks a transaction touched are visited, so loaded content is never rewritten\nexport const createBlockFontSizePlugin = (config?: FontSizeCommonConfig) => {\n const key = new PluginKey<DecorationSet>('block-font-size');\n\n return new Plugin<DecorationSet>({\n key,\n state: {\n init: (_config, state) => buildEmptyBlockDecorations(state.doc, config),\n apply: (tr, prev) => (tr.docChanged ? buildEmptyBlockDecorations(tr.doc, config) : prev),\n },\n props: {\n decorations(state) {\n return key.getState(state);\n },\n },\n appendTransaction: (transactions, oldState, newState) => {\n const tr = newState.tr;\n const transform = transactions.some(transaction => transaction.docChanged)\n ? combineTransactionSteps(oldState.doc, [...transactions])\n : undefined;\n\n if (transform) {\n sizeEmptiedBlocks(tr, oldState, newState, transform);\n }\n\n const cursorBlock = findEmptyCursorBlock(newState);\n let storedMarks = newState.storedMarks;\n\n if (cursorBlock && transform && leftBlockType(oldState, cursorBlock, transform)) {\n // The marks the new block would type at: the stored ones, or the ones `unique-id` carries\n // over from the old cursor when it ids the block (keep the fallback in sync with it).\n const { $from, $to } = oldState.selection;\n const carriedMarks = storedMarks ?? ($to.parentOffset ? $from.marks() : []);\n if (carriedMarks.some(mark => mark.type.name === Mark_Type.FONT_SIZE)) {\n storedMarks = carriedMarks.filter(mark => mark.type.name !== Mark_Type.FONT_SIZE);\n }\n if (cursorBlock.node.attrs.fontSize) {\n tr.setNodeAttribute(cursorBlock.pos, 'fontSize', null);\n }\n } else if (cursorBlock && transactions.some(transaction => transaction.storedMarksSet)) {\n const storedFontSize = toBlockFontSize(storedMarks);\n if (\n storedFontSize &&\n !isSameBlockFontSize(storedFontSize, cursorBlock.node.attrs.fontSize)\n ) {\n tr.setNodeAttribute(cursorBlock.pos, 'fontSize', storedFontSize);\n }\n }\n\n // Attribute steps keep positions, so the block can be re-read after `sizeEmptiedBlocks`\n const blockFontSize = cursorBlock && tr.doc.nodeAt(cursorBlock.pos)!.attrs.fontSize;\n const fontSizeMarkType = newState.schema.marks[Mark_Type.FONT_SIZE];\n if (blockFontSize && fontSizeMarkType && !fontSizeMarkType.isInSet(storedMarks ?? [])) {\n storedMarks = [...(storedMarks ?? []), fontSizeMarkType.create(blockFontSize)];\n }\n\n // Steps reset the transaction's stored marks; put back the ones the state already had.\n if (storedMarks && (tr.steps.length || storedMarks !== newState.storedMarks)) {\n tr.setStoredMarks(storedMarks);\n }\n\n return tr.steps.length || tr.storedMarksSet ? tr : undefined;\n },\n });\n};\n\n// Text renders at its own sizes, so only an empty block is styled with its own size\nconst buildEmptyBlockDecorations = (\n doc: ProseMirrorNode,\n config?: FontSizeCommonConfig\n): DecorationSet => {\n const decorations: Decoration[] = [];\n doc.descendants((node, pos) => {\n const fontSize: FontSizeData | null = node.attrs.fontSize;\n if (isSizedTextblock(node) && !node.content.size && fontSize) {\n decorations.push(\n Decoration.node(pos, pos + node.nodeSize, {\n // No trailing `;` — see indentation-styling.ts.\n style: `font-size: ${formatFontSize({ value: fontSize.value, unit: fontSize.unit?.toLowerCase() }, config)}`,\n })\n );\n }\n return !node.isTextblock;\n });\n return DecorationSet.create(doc, decorations);\n};\n\n// A block whose text was all deleted keeps the size its first character had; the block is looked up\n// from the old side, since a new empty block can sit where an old one started.\nconst sizeEmptiedBlocks = (\n tr: Transaction,\n oldState: EditorState,\n newState: EditorState,\n transform: Transform\n) => {\n const sized = new Set<number>();\n getChangedRanges(transform).forEach(({ oldRange }) => {\n oldState.doc.nodesBetween(oldRange.from, oldRange.to, (oldNode, oldPos) => {\n if (isSizedTextblock(oldNode) && oldNode.content.size) {\n const pos = transform.mapping.map(oldPos);\n const node = newState.doc.nodeAt(pos);\n if (node?.type === oldNode.type && !node.content.size && !sized.has(pos)) {\n sized.add(pos);\n const fontSize = toBlockFontSize(oldNode.firstChild?.marks);\n if (!isSameBlockFontSize(fontSize, node.attrs.fontSize)) {\n tr.setNodeAttribute(pos, 'fontSize', fontSize);\n }\n }\n }\n return !oldNode.isTextblock;\n });\n });\n};\n\n// Enter into a block of another type (heading → paragraph, blockquote → paragraph) starts at the\n// default size. The block the cursor left maps onto itself, so a toolbar toggle of the same block\n// or a split into the block's own type keeps the size.\nconst leftBlockType = (\n oldState: EditorState,\n cursorBlock: Block,\n transform: Transform\n): boolean => {\n const { $from } = oldState.selection;\n return (\n $from.depth > 0 &&\n transform.mapping.map($from.before()) !== cursorBlock.pos &&\n $from.parent.type !== cursorBlock.node.type\n );\n};\n\nexport const findEmptyCursorBlock = ({\n selection,\n}: Pick<EditorState, 'selection'>): Block | undefined => {\n // A marker selection's stored marks are the marker's style, not the block's.\n if (!selection.empty || selection instanceof ListMarkerSelection) {\n return undefined;\n }\n const { parent } = selection.$from;\n if (!isSizedTextblock(parent) || parent.content.size !== 0) {\n return undefined;\n }\n return { node: parent, pos: selection.$from.before() };\n};\n"],
5
+ "mappings": "AACA,SAAS,iBAAiB;AAC1B,SAAoC,sBAAsB;AAC1D,SAAS,yBAAyB,wBAAwB;AAG1D,SAAS,QAAQ,iBAAiB;AAElC,SAAS,YAAY,qBAAqB;AAE1C,SAAS,2BAA2B;AACpC,SAAS,qBAAqB,kBAAkB,uBAAuB;AAKhE,MAAM,4BAA4B,CAAC,WAAkC;AAC1E,QAAM,MAAM,IAAI,UAAyB,iBAAiB;AAE1D,SAAO,IAAI,OAAsB;AAAA,IAC/B;AAAA,IACA,OAAO;AAAA,MACL,MAAM,CAAC,SAAS,UAAU,2BAA2B,MAAM,KAAK,MAAM;AAAA,MACtE,OAAO,CAAC,IAAI,SAAU,GAAG,aAAa,2BAA2B,GAAG,KAAK,MAAM,IAAI;AAAA,IACrF;AAAA,IACA,OAAO;AAAA,MACL,YAAY,OAAO;AACjB,eAAO,IAAI,SAAS,KAAK;AAAA,MAC3B;AAAA,IACF;AAAA,IACA,mBAAmB,CAAC,cAAc,UAAU,aAAa;AACvD,YAAM,KAAK,SAAS;AACpB,YAAM,YAAY,aAAa,KAAK,iBAAe,YAAY,UAAU,IACrE,wBAAwB,SAAS,KAAK,CAAC,GAAG,YAAY,CAAC,IACvD;AAEJ,UAAI,WAAW;AACb,0BAAkB,IAAI,UAAU,UAAU,SAAS;AAAA,MACrD;AAEA,YAAM,cAAc,qBAAqB,QAAQ;AACjD,UAAI,cAAc,SAAS;AAE3B,UAAI,eAAe,aAAa,cAAc,UAAU,aAAa,SAAS,GAAG;AAG/E,cAAM,EAAE,OAAO,IAAI,IAAI,SAAS;AAChC,cAAM,eAAe,gBAAgB,IAAI,eAAe,MAAM,MAAM,IAAI,CAAC;AACzE,YAAI,aAAa,KAAK,UAAQ,KAAK,KAAK,SAAS,UAAU,SAAS,GAAG;AACrE,wBAAc,aAAa,OAAO,UAAQ,KAAK,KAAK,SAAS,UAAU,SAAS;AAAA,QAClF;AACA,YAAI,YAAY,KAAK,MAAM,UAAU;AACnC,aAAG,iBAAiB,YAAY,KAAK,YAAY,IAAI;AAAA,QACvD;AAAA,MACF,WAAW,eAAe,aAAa,KAAK,iBAAe,YAAY,cAAc,GAAG;AACtF,cAAM,iBAAiB,gBAAgB,WAAW;AAClD,YACE,kBACA,CAAC,oBAAoB,gBAAgB,YAAY,KAAK,MAAM,QAAQ,GACpE;AACA,aAAG,iBAAiB,YAAY,KAAK,YAAY,cAAc;AAAA,QACjE;AAAA,MACF;AAGA,YAAM,gBAAgB,eAAe,GAAG,IAAI,OAAO,YAAY,GAAG,EAAG,MAAM;AAC3E,YAAM,mBAAmB,SAAS,OAAO,MAAM,UAAU,SAAS;AAClE,UAAI,iBAAiB,oBAAoB,CAAC,iBAAiB,QAAQ,eAAe,CAAC,CAAC,GAAG;AACrF,sBAAc,CAAC,GAAI,eAAe,CAAC,GAAI,iBAAiB,OAAO,aAAa,CAAC;AAAA,MAC/E;AAGA,UAAI,gBAAgB,GAAG,MAAM,UAAU,gBAAgB,SAAS,cAAc;AAC5E,WAAG,eAAe,WAAW;AAAA,MAC/B;AAEA,aAAO,GAAG,MAAM,UAAU,GAAG,iBAAiB,KAAK;AAAA,IACrD;AAAA,EACF,CAAC;AACH;AAGA,MAAM,6BAA6B,CACjC,KACA,WACkB;AAClB,QAAM,cAA4B,CAAC;AACnC,MAAI,YAAY,CAAC,MAAM,QAAQ;AAC7B,UAAM,WAAgC,KAAK,MAAM;AACjD,QAAI,iBAAiB,IAAI,KAAK,CAAC,KAAK,QAAQ,QAAQ,UAAU;AAC5D,kBAAY;AAAA,QACV,WAAW,KAAK,KAAK,MAAM,KAAK,UAAU;AAAA;AAAA,UAExC,OAAO,cAAc,eAAe,EAAE,OAAO,SAAS,OAAO,MAAM,SAAS,MAAM,YAAY,EAAE,GAAG,MAAM,CAAC;AAAA,QAC5G,CAAC;AAAA,MACH;AAAA,IACF;AACA,WAAO,CAAC,KAAK;AAAA,EACf,CAAC;AACD,SAAO,cAAc,OAAO,KAAK,WAAW;AAC9C;AAIA,MAAM,oBAAoB,CACxB,IACA,UACA,UACA,cACG;AACH,QAAM,QAAQ,oBAAI,IAAY;AAC9B,mBAAiB,SAAS,EAAE,QAAQ,CAAC,EAAE,SAAS,MAAM;AACpD,aAAS,IAAI,aAAa,SAAS,MAAM,SAAS,IAAI,CAAC,SAAS,WAAW;AACzE,UAAI,iBAAiB,OAAO,KAAK,QAAQ,QAAQ,MAAM;AACrD,cAAM,MAAM,UAAU,QAAQ,IAAI,MAAM;AACxC,cAAM,OAAO,SAAS,IAAI,OAAO,GAAG;AACpC,YAAI,MAAM,SAAS,QAAQ,QAAQ,CAAC,KAAK,QAAQ,QAAQ,CAAC,MAAM,IAAI,GAAG,GAAG;AACxE,gBAAM,IAAI,GAAG;AACb,gBAAM,WAAW,gBAAgB,QAAQ,YAAY,KAAK;AAC1D,cAAI,CAAC,oBAAoB,UAAU,KAAK,MAAM,QAAQ,GAAG;AACvD,eAAG,iBAAiB,KAAK,YAAY,QAAQ;AAAA,UAC/C;AAAA,QACF;AAAA,MACF;AACA,aAAO,CAAC,QAAQ;AAAA,IAClB,CAAC;AAAA,EACH,CAAC;AACH;AAKA,MAAM,gBAAgB,CACpB,UACA,aACA,cACY;AACZ,QAAM,EAAE,MAAM,IAAI,SAAS;AAC3B,SACE,MAAM,QAAQ,KACd,UAAU,QAAQ,IAAI,MAAM,OAAO,CAAC,MAAM,YAAY,OACtD,MAAM,OAAO,SAAS,YAAY,KAAK;AAE3C;AAEO,MAAM,uBAAuB,CAAC;AAAA,EACnC;AACF,MAAyD;AAEvD,MAAI,CAAC,UAAU,SAAS,qBAAqB,qBAAqB;AAChE,WAAO;AAAA,EACT;AACA,QAAM,EAAE,OAAO,IAAI,UAAU;AAC7B,MAAI,CAAC,iBAAiB,MAAM,KAAK,OAAO,QAAQ,SAAS,GAAG;AAC1D,WAAO;AAAA,EACT;AACA,SAAO,EAAE,MAAM,QAAQ,KAAK,UAAU,MAAM,OAAO,EAAE;AACvD;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "3693b1df";
1
+ var styleDataHash = "463c7a82";
2
2
  const injectCss = (() => {
3
- var css = `._18KTQ{--wds-list-item-select-padding-horizontal-small:6px;--wds-list-item-select-padding-horizontal-medium:6px;--wds-list-item-select-padding-right-small:6px;--wds-list-item-select-padding-right-medium:6px}`;
3
+ var css = `.ojZvT{--wds-list-item-select-padding-horizontal-small:6px;--wds-list-item-select-padding-horizontal-medium:6px;--wds-list-item-select-padding-right-small:6px;--wds-list-item-select-padding-right-medium:6px}`;
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 font_size_dropdown_default = {
24
- "dropdown": "_18KTQ"
24
+ "dropdown": "ojZvT"
25
25
  };
26
26
  export {
27
27
  font_size_dropdown_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/ricos-common-plugins/font-size/dropdown/font-size-dropdown.scss"],
4
- "sourcesContent": ["var styleDataHash = '3693b1df'; \nexport const injectCss = (() => {\n var css = `._18KTQ{--wds-list-item-select-padding-horizontal-small:6px;--wds-list-item-select-padding-horizontal-medium:6px;--wds-list-item-select-padding-right-small:6px;--wds-list-item-select-padding-right-medium:6px}`;\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 \"dropdown\": \"_18KTQ\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = '463c7a82'; \nexport const injectCss = (() => {\n var css = `.ojZvT{--wds-list-item-select-padding-horizontal-small:6px;--wds-list-item-select-padding-horizontal-medium:6px;--wds-list-item-select-padding-right-small:6px;--wds-list-item-select-padding-right-medium:6px}`;\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 \"dropdown\": \"ojZvT\"\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,YAAY;AACd;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "40cfa778";
1
+ var styleDataHash = "174fc199";
2
2
  const injectCss = (() => {
3
- var css = `.u9tWd,.ufTTK{cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;position:relative;width:100%}.u9tWd:not(.rHRUK):hover .JPYef,.ufTTK:not(.rHRUK):hover .JPYef{opacity:1}.rHRUK.ufTTK,.u9tWd.rHRUK{cursor:auto;height:0;pointer-events:none}.ufTTK{cursor:none;pointer-events:none}._7Z4hq .JPYef{opacity:1}.JPYef{background-color:#116dff;height:2px;opacity:0;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .2s ease;width:100%;z-index:1000000}.JPYef:after,.JPYef:before{background-color:#116dff;content:"";height:3px;left:0;opacity:.3;position:absolute;width:100%}.JPYef:before{top:-3px}.JPYef:after{bottom:-3px}.ZTWYS{background:var(--wds-tooltip-background-fill,var(--wsr-color-D10,#000624));border-radius:var(--wds-tooltip-border-radius,8px);box-shadow:var(--wds-shadow-surface-overlay-dark,var(--wsr-shadow30,0 6px 6px 0 rgba(22,45,61,.06),0 0 18px 0 rgba(22,45,61,.12)));color:var(--wds-tooltip-text-fill,var(--wsr-color-D80,#fff));font-family:var(--wds-font-family-default,var(--wsr-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,"\\30E1\\30A4\\30EA\\30AA","meiryo","\\30D2\\30E9\\30AE\\30CE\\89D2\\30B4 pro w3","hiragino kaku gothic pro",sans-serif));font-size:var(--wds-font-size-body-tiny,var(--wsr-text-font-size-tiny,12px));font-weight:var(--wds-font-weight-regular,var(--wsr-font-weight-regular,400));letter-spacing:var(--wds-font-letter-spacing-0,unset);line-height:var(--wds-font-line-height-body-tiny,var(--wsr-text-line-height-tiny,15px));padding:var(--wds-tooltip-padding-vertical-small,8px) var(--wds-tooltip-padding-horizontal-small,12px) var(--wds-tooltip-padding-vertical-small,7px);position:absolute;word-wrap:break-word;border:none;max-width:180px;opacity:0;pointer-events:none;transform:translateX(-50%) translateY(-100%) scale(.8);transition:opacity .15s ease-out,transform .15s ease-out;word-break:break-word;z-index:1000000}._14CJn{display:none}@supports not (contain:inline-size){@media only screen and (max-width:480px){._14CJn{display:block}}}@container (width < 480px){._14CJn:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){display:block}}@media (width < 480px){._14CJn:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) ._14CJn{display:block}}.mrDgD{margin-top:14px}`;
3
+ var css = `.CmNVL,._85-0d{cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;position:relative;width:100%}.CmNVL:not(.UtkpX):hover .iqtdZ,._85-0d:not(.UtkpX):hover .iqtdZ{opacity:1}.CmNVL.UtkpX,.UtkpX._85-0d{cursor:auto;height:0;pointer-events:none}._85-0d{cursor:none;pointer-events:none}.LXJNd .iqtdZ{opacity:1}.iqtdZ{background-color:#116dff;height:2px;opacity:0;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .2s ease;width:100%;z-index:1000000}.iqtdZ:after,.iqtdZ:before{background-color:#116dff;content:"";height:3px;left:0;opacity:.3;position:absolute;width:100%}.iqtdZ:before{top:-3px}.iqtdZ:after{bottom:-3px}._3lPtz{background:var(--wds-tooltip-background-fill,var(--wsr-color-D10,#000624));border-radius:var(--wds-tooltip-border-radius,8px);box-shadow:var(--wds-shadow-surface-overlay-dark,var(--wsr-shadow30,0 6px 6px 0 rgba(22,45,61,.06),0 0 18px 0 rgba(22,45,61,.12)));color:var(--wds-tooltip-text-fill,var(--wsr-color-D80,#fff));font-family:var(--wds-font-family-default,var(--wsr-font-family,Madefor,"Helvetica Neue",Helvetica,Arial,"\\30E1\\30A4\\30EA\\30AA","meiryo","\\30D2\\30E9\\30AE\\30CE\\89D2\\30B4 pro w3","hiragino kaku gothic pro",sans-serif));font-size:var(--wds-font-size-body-tiny,var(--wsr-text-font-size-tiny,12px));font-weight:var(--wds-font-weight-regular,var(--wsr-font-weight-regular,400));letter-spacing:var(--wds-font-letter-spacing-0,unset);line-height:var(--wds-font-line-height-body-tiny,var(--wsr-text-line-height-tiny,15px));padding:var(--wds-tooltip-padding-vertical-small,8px) var(--wds-tooltip-padding-horizontal-small,12px) var(--wds-tooltip-padding-vertical-small,7px);position:absolute;word-wrap:break-word;border:none;max-width:180px;opacity:0;pointer-events:none;transform:translateX(-50%) translateY(-100%) scale(.8);transition:opacity .15s ease-out,transform .15s ease-out;word-break:break-word;z-index:1000000}.cWG92{display:none}@supports not (contain:inline-size){@media only screen and (max-width:480px){.cWG92{display:block}}}@container (width < 480px){.cWG92:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){display:block}}@media (width < 480px){.cWG92:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .cWG92{display:block}}.Po-BY{margin-top:14px}`;
4
4
  var isTest = typeof process !== "undefined" && process.env && false;
5
5
  if (isTest || !css || typeof document === "undefined") {
6
6
  return;
@@ -21,14 +21,14 @@ const injectCss = (() => {
21
21
  });
22
22
  injectCss();
23
23
  var gap_spacer_styles_default = {
24
- "gapSpacerContainer": "u9tWd",
25
- "gapSpacerViewer": "ufTTK",
26
- "collapsed": "rHRUK",
27
- "gapSpacerLine": "JPYef",
28
- "gapSpacerFocused": "_7Z4hq",
29
- "gapSpacerTooltip": "ZTWYS",
30
- "betweenFloated": "_14CJn",
31
- "withTopMargin": "mrDgD"
24
+ "gapSpacerContainer": "CmNVL",
25
+ "gapSpacerViewer": "_85-0d",
26
+ "collapsed": "UtkpX",
27
+ "gapSpacerLine": "iqtdZ",
28
+ "gapSpacerFocused": "LXJNd",
29
+ "gapSpacerTooltip": "_3lPtz",
30
+ "betweenFloated": "cWG92",
31
+ "withTopMargin": "Po-BY"
32
32
  };
33
33
  export {
34
34
  gap_spacer_styles_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles.scss"],
4
- "sourcesContent": ["var styleDataHash = '40cfa778'; \nexport const injectCss = (() => {\n var css = `.u9tWd,.ufTTK{cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;position:relative;width:100%}.u9tWd:not(.rHRUK):hover .JPYef,.ufTTK:not(.rHRUK):hover .JPYef{opacity:1}.rHRUK.ufTTK,.u9tWd.rHRUK{cursor:auto;height:0;pointer-events:none}.ufTTK{cursor:none;pointer-events:none}._7Z4hq .JPYef{opacity:1}.JPYef{background-color:#116dff;height:2px;opacity:0;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .2s ease;width:100%;z-index:1000000}.JPYef:after,.JPYef:before{background-color:#116dff;content:\"\";height:3px;left:0;opacity:.3;position:absolute;width:100%}.JPYef:before{top:-3px}.JPYef:after{bottom:-3px}.ZTWYS{background:var(--wds-tooltip-background-fill,var(--wsr-color-D10,#000624));border-radius:var(--wds-tooltip-border-radius,8px);box-shadow:var(--wds-shadow-surface-overlay-dark,var(--wsr-shadow30,0 6px 6px 0 rgba(22,45,61,.06),0 0 18px 0 rgba(22,45,61,.12)));color:var(--wds-tooltip-text-fill,var(--wsr-color-D80,#fff));font-family:var(--wds-font-family-default,var(--wsr-font-family,Madefor,\"Helvetica Neue\",Helvetica,Arial,\"\\\\30E1\\\\30A4\\\\30EA\\\\30AA\",\"meiryo\",\"\\\\30D2\\\\30E9\\\\30AE\\\\30CE\\\\89D2\\\\30B4 pro w3\",\"hiragino kaku gothic pro\",sans-serif));font-size:var(--wds-font-size-body-tiny,var(--wsr-text-font-size-tiny,12px));font-weight:var(--wds-font-weight-regular,var(--wsr-font-weight-regular,400));letter-spacing:var(--wds-font-letter-spacing-0,unset);line-height:var(--wds-font-line-height-body-tiny,var(--wsr-text-line-height-tiny,15px));padding:var(--wds-tooltip-padding-vertical-small,8px) var(--wds-tooltip-padding-horizontal-small,12px) var(--wds-tooltip-padding-vertical-small,7px);position:absolute;word-wrap:break-word;border:none;max-width:180px;opacity:0;pointer-events:none;transform:translateX(-50%) translateY(-100%) scale(.8);transition:opacity .15s ease-out,transform .15s ease-out;word-break:break-word;z-index:1000000}._14CJn{display:none}@supports not (contain:inline-size){@media only screen and (max-width:480px){._14CJn{display:block}}}@container (width < 480px){._14CJn:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){display:block}}@media (width < 480px){._14CJn:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) ._14CJn{display:block}}.mrDgD{margin-top:14px}`;\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 \"gapSpacerContainer\": \"u9tWd\",\n \"gapSpacerViewer\": \"ufTTK\",\n \"collapsed\": \"rHRUK\",\n \"gapSpacerLine\": \"JPYef\",\n \"gapSpacerFocused\": \"_7Z4hq\",\n \"gapSpacerTooltip\": \"ZTWYS\",\n \"betweenFloated\": \"_14CJn\",\n \"withTopMargin\": \"mrDgD\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = '174fc199'; \nexport const injectCss = (() => {\n var css = `.CmNVL,._85-0d{cursor:pointer;height:14px;margin:0;padding:0;pointer-events:auto;position:relative;width:100%}.CmNVL:not(.UtkpX):hover .iqtdZ,._85-0d:not(.UtkpX):hover .iqtdZ{opacity:1}.CmNVL.UtkpX,.UtkpX._85-0d{cursor:auto;height:0;pointer-events:none}._85-0d{cursor:none;pointer-events:none}.LXJNd .iqtdZ{opacity:1}.iqtdZ{background-color:#116dff;height:2px;opacity:0;position:absolute;top:50%;transform:translateY(-50%);transition:opacity .2s ease;width:100%;z-index:1000000}.iqtdZ:after,.iqtdZ:before{background-color:#116dff;content:\"\";height:3px;left:0;opacity:.3;position:absolute;width:100%}.iqtdZ:before{top:-3px}.iqtdZ:after{bottom:-3px}._3lPtz{background:var(--wds-tooltip-background-fill,var(--wsr-color-D10,#000624));border-radius:var(--wds-tooltip-border-radius,8px);box-shadow:var(--wds-shadow-surface-overlay-dark,var(--wsr-shadow30,0 6px 6px 0 rgba(22,45,61,.06),0 0 18px 0 rgba(22,45,61,.12)));color:var(--wds-tooltip-text-fill,var(--wsr-color-D80,#fff));font-family:var(--wds-font-family-default,var(--wsr-font-family,Madefor,\"Helvetica Neue\",Helvetica,Arial,\"\\\\30E1\\\\30A4\\\\30EA\\\\30AA\",\"meiryo\",\"\\\\30D2\\\\30E9\\\\30AE\\\\30CE\\\\89D2\\\\30B4 pro w3\",\"hiragino kaku gothic pro\",sans-serif));font-size:var(--wds-font-size-body-tiny,var(--wsr-text-font-size-tiny,12px));font-weight:var(--wds-font-weight-regular,var(--wsr-font-weight-regular,400));letter-spacing:var(--wds-font-letter-spacing-0,unset);line-height:var(--wds-font-line-height-body-tiny,var(--wsr-text-line-height-tiny,15px));padding:var(--wds-tooltip-padding-vertical-small,8px) var(--wds-tooltip-padding-horizontal-small,12px) var(--wds-tooltip-padding-vertical-small,7px);position:absolute;word-wrap:break-word;border:none;max-width:180px;opacity:0;pointer-events:none;transform:translateX(-50%) translateY(-100%) scale(.8);transition:opacity .15s ease-out,transform .15s ease-out;word-break:break-word;z-index:1000000}.cWG92{display:none}@supports not (contain:inline-size){@media only screen and (max-width:480px){.cWG92{display:block}}}@container (width < 480px){.cWG92:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){display:block}}@media (width < 480px){.cWG92:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .cWG92{display:block}}.Po-BY{margin-top:14px}`;\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 \"gapSpacerContainer\": \"CmNVL\",\n \"gapSpacerViewer\": \"_85-0d\",\n \"collapsed\": \"UtkpX\",\n \"gapSpacerLine\": \"iqtdZ\",\n \"gapSpacerFocused\": \"LXJNd\",\n \"gapSpacerTooltip\": \"_3lPtz\",\n \"betweenFloated\": \"cWG92\",\n \"withTopMargin\": \"Po-BY\"\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,4BAAQ;AAAA,EACb,sBAAsB;AAAA,EACtB,mBAAmB;AAAA,EACnB,aAAa;AAAA,EACb,iBAAiB;AAAA,EACjB,oBAAoB;AAAA,EACpB,oBAAoB;AAAA,EACpB,kBAAkB;AAAA,EAClB,iBAAiB;AACnB;",
6
6
  "names": []
7
7
  }
@@ -1,6 +1,6 @@
1
- var styleDataHash = "06f4c060";
1
+ var styleDataHash = "f2a38c0d";
2
2
  const injectCss = (() => {
3
- var css = `.fGySc{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:1}.gJbC5{left:0;pointer-events:none;position:absolute;right:0}.ZlH1B{background-color:var(--ricos-internal-layout-top-divider-color,currentColor);top:0;transform:scale(var(--ricos-internal-layout-top-divider-flip,1),-1)}.mbQfT{background-color:var(--ricos-internal-layout-bottom-divider-color,currentColor);bottom:0;transform:scaleX(var(--ricos-internal-layout-bottom-divider-flip,1))}._2hEBU{--ricos-internal-layout-cell-outline-color:#a8caff;background:var(--ricos-internal-layout-backdrop-gradient,var(--ricos-internal-layout-backdrop-color,transparent));outline:1.5px solid transparent;padding-bottom:var(--ricos-internal-layout-backdrop-padding-bottom,0);padding-top:var(--ricos-internal-layout-backdrop-padding-top,0);position:relative}._2hEBU.dyS04,._2hEBU:hover{outline-color:var(--ricos-internal-layout-cell-outline-color)}._2hEBU:hover .hIoPS ._1RZ4g{outline-color:var(--ricos-internal-layout-cell-outline-color)}._2hEBU:before{background-image:var(--ricos-internal-layout-backdrop-image-src);background-position:var(--ricos-internal-layout-backdrop-image-position);background-repeat:no-repeat;background-size:var(--ricos-internal-layout-backdrop-image-scaling);bottom:0;clip-path:inset(0);content:"";filter:var(--ricos-internal-layout-backdrop-image-blur,none);left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:0}._2hEBU:after{background:var(--ricos-internal-layout-backdrop-overlay,transparent);bottom:0;clip-path:inset(0);content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1}._2hEBU.Op-26{margin:0}*+._2hEBU{margin-top:20px}._2hEBU ._6JmnB{display:none}._2hEBU .k8eQt:has(.-kglS.E9VVp)+._6JmnB,._2hEBU .k8eQt:has(.-kglS.KUC93)+._6JmnB,._2hEBU .k8eQt:has(.-kglS.NC-1P)+._6JmnB,._2hEBU .k8eQt:has(.-kglS.OCcYb)+._6JmnB{display:block}._2hEBU ._1yrFl{align-items:center;background:#fff;border:1px solid #dfe5eb;border-radius:50%;bottom:-12px;box-shadow:0 2px 4px 0 rgba(23,25,28,.1);cursor:grab;display:flex;height:24px;justify-content:center;left:50%;padding:0;position:absolute;transform:translate(-50%,100%);width:24px;z-index:4}._2hEBU ._1yrFl:active{cursor:grabbing}._2hEBU.kQ1lV{margin-top:0}._2hEBU .hGb5r{background:#116dff;bottom:0;left:calc(var(--ricos-internal-layout-drop-cursor-position) - 1px);position:absolute;top:0;width:2px;z-index:5}._2hEBU .hGb5r:before{border:2px solid #116dff;border-radius:50%;content:"";height:6px;left:-2px;position:absolute;top:-5px;width:6px}._2hEBU.P9adx{outline-color:transparent!important}._2hEBU.P9adx:hover,._2hEBU.P9adx:hover .hIoPS ._1RZ4g{outline-color:transparent!important}._2hEBU.P9adx .TKPSi,._2hEBU.P9adx ._4Mqcv,._2hEBU.P9adx ._6JmnB{display:none!important}._2hEBU.AsoHU:has(.Oca1l){margin-bottom:40px}._2hEBU.AsoHU[data-breakout=normal]{--ricos-internal-paywall-divider-outer-start:var(--ricos-breakout-normal-padding-start,0);--ricos-internal-paywall-divider-outer-end:var(--ricos-breakout-normal-padding-end,0)}._2hEBU.AsoHU[data-breakout=fullWidth]{--ricos-internal-paywall-divider-outer-start:var(--ricos-breakout-full-width-padding-start,0);--ricos-internal-paywall-divider-outer-end:var(--ricos-breakout-full-width-padding-end,0)}._2hEBU.AsoHU .Oca1l{align-items:center;color:var(--ricos-text-color-low,#646464);display:flex;font-size:12px;font-weight:500;gap:6px;inset-inline-end:var(--ricos-internal-paywall-divider-outer-end,0);inset-inline-start:var(--ricos-internal-paywall-divider-outer-start,0);line-height:18px;margin-top:12px;padding-inline-end:var(--ricos-breakout-normal-padding-end,0);padding-inline-start:var(--ricos-breakout-normal-padding-start,0);pointer-events:none;position:absolute;text-transform:uppercase;top:100%;user-select:none}._2hEBU.AsoHU .Oca1l:after,._2hEBU.AsoHU .Oca1l:before{background:rgba(var(--ricos-text-color-tuple,33,33,33),.15);content:"";flex:1;height:1px}._2hEBU.AsoHU .z7g2X{align-items:center;display:flex;gap:3px;padding-inline-end:6px;white-space:nowrap}._2hEBU.AsoHU .I0xKQ{flex-shrink:0}.k8eQt{--ricos-internal-layout-display:grid;--ricos-internal-layout-handler-cursor:col-resize;--ricos-internal-layout-handler-color:#116dff;clear:both;margin:0 auto;position:relative;width:min(100%,var(--ricos-internal-resize-width,var(--ricos-internal-layout-width,initial)));z-index:2}.-kglS{display:var(--ricos-internal-layout-display,grid);flex-wrap:wrap;gap:var(--ricos-internal-layout-gap,20px);grid-template-columns:var(--ricos-internal-layout-grid-template,var(--ricos-internal-layout-column-template));justify-content:var(--ricos-internal-layout-justify-content,auto);position:relative;transition:grid-template-columns .1s ease-out;width:100%;will-change:grid-template-columns;z-index:2}[data-layout-banner] .-kglS{grid-template-columns:var(--ricos-internal-layout-column-template)!important}[data-layout-banner] .-kglS.KUC93{transition:none!important}.-kglS.L2WbI,.-kglS._37Xd6 .hIoPS{background:var(--ricos-internal-layout-background-gradient,var(--ricos-internal-layout-background-color,transparent));border:var(--ricos-internal-layout-border-width,0) solid var(--ricos-internal-layout-border-color);border-radius:var(--ricos-internal-layout-border-radius,0)}.-kglS.L2WbI:before,.-kglS._37Xd6 .hIoPS:before{background-image:var(--ricos-internal-layout-background-image-src);background-position:var(--ricos-internal-layout-background-image-position);background-repeat:no-repeat;background-size:var(--ricos-internal-layout-background-image-scaling);bottom:0;clip-path:inset(0 round var(--ricos-internal-layout-border-radius,0));content:"";filter:var(--ricos-internal-layout-background-image-blur,none);left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:0}.-kglS.L2WbI:after,.-kglS._37Xd6 .hIoPS:after{background:var(--ricos-internal-layout-background-overlay,transparent);bottom:0;clip-path:inset(0 round var(--ricos-internal-layout-border-radius,0));content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1}@supports not (contain:inline-size){@media only screen and (max-width:480px){.-kglS{gap:min(20px,var(--ricos-internal-layout-gap,20px))}}}@container (width < 480px){.-kglS:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){gap:min(20px,var(--ricos-internal-layout-gap,20px))}}@media (width < 480px){.-kglS:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .-kglS{gap:min(20px,var(--ricos-internal-layout-gap,20px))}}.-kglS.BVCHR{--ricos-internal-layout-display:flex;--ricos-internal-layout-justify-content:center;--ricos-internal-layout-cell-min-width:100%;--ricos-internal-layout-cell-height:auto}.-kglS.BVCHR .TKPSi{display:none}.-kglS.KUC93{transition:none!important}.-kglS.KUC93,.-kglS.KUC93 *{user-select:none!important}.-kglS.a227I{--ricos-layout-handler-color:#e62214;--ricos-layout-handler-cursor:e-resize}.-kglS.dJ3l8{--ricos-layout-handler-color:#e62214;--ricos-layout-handler-cursor:w-resize}.-kglS.KUC93 .hIoPS ._1RZ4g,.-kglS.NC-1P .hIoPS ._1RZ4g,.-kglS.OCcYb .hIoPS ._1RZ4g,.-kglS.ke7NY .hIoPS ._1RZ4g,.-kglS:focus .hIoPS ._1RZ4g,.-kglS:hover .hIoPS ._1RZ4g{outline-color:var(--ricos-internal-layout-cell-outline-color)}.-kglS .hIoPS{display:flex;flex-direction:column;height:var(--ricos-internal-layout-cell-height,100%);max-width:var(--ricos-internal-layout-cell-min-width,auto);min-width:min(100%,var(--ricos-internal-layout-cell-min-width,0));position:relative;z-index:3}.-kglS .hIoPS ._1RZ4g{display:flex;flex-direction:column;flex-grow:1;justify-content:var(--ricos-internal-layout-cell-vertical-alignment);outline:1.5px solid transparent;padding:var(--ricos-internal-layout-cell-padding-top,12px) var(--ricos-internal-layout-cell-padding-right,0) var(--ricos-internal-layout-cell-padding-bottom,12px) var(--ricos-internal-layout-cell-padding-left,0);position:relative;z-index:2}@supports not (contain:inline-size){@media only screen and (max-width:480px){.-kglS .hIoPS ._1RZ4g{padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}}@container (width < 480px){.-kglS .hIoPS ._1RZ4g:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}@media (width < 480px){.-kglS .hIoPS ._1RZ4g:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .-kglS .hIoPS ._1RZ4g{padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}.-kglS .hIoPS ._4Mqcv{align-items:center;background:#fff;border-radius:18px;box-shadow:0 0 6px rgba(0,6,36,.05);box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#000624;cursor:grab;display:none;height:18px;justify-content:center;left:50%;margin:0;outline:1px solid rgba(0,6,36,.302);padding:0 12px;position:absolute;top:0;transform:translate(-50%,-50%);transition:color .15s ease,background-color .15s ease;width:42px;z-index:3}.-kglS .hIoPS ._4Mqcv:hover{background:#116dff;box-shadow:0 0 0 2px rgba(0,6,36,.1),0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline-color:#fff;outline-width:1.5px}.-kglS .hIoPS ._4Mqcv:active{background:#0f62e6;box-shadow:0 0 0 2px rgba(0,6,36,.1),0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline-color:#fff;outline-width:1.5px}.-kglS .hIoPS ._4Mqcv:active{cursor:grabbing}.-kglS .hIoPS ._4Mqcv:before{bottom:-1px;content:"";height:1px;left:0;position:absolute;right:0}.-kglS.OCcYb:after{background-color:rgba(17,109,255,.1);bottom:0;content:"";left:0;opacity:1;outline:1.5px solid #116dff;pointer-events:none;position:absolute;right:0;top:0;z-index:2}.-kglS.OCcYb .hIoPS ._1RZ4g{outline-color:rgba(17,109,255,.2)}.-kglS.OCcYb .hIoPS ._4Mqcv{display:none}.-kglS .hIoPS.l1-S5{background-color:rgba(17,109,255,.1);z-index:4}.-kglS .hIoPS.l1-S5 ._1RZ4g{outline-color:#116dff}.-kglS .hIoPS.l1-S5 ._4Mqcv{background:#116dff;box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline:none;transition:color .15s ease,background-color .15s ease}.-kglS .hIoPS.l1-S5 ._4Mqcv:hover{background:#0f62e6;color:#fff}.-kglS .hIoPS.l1-S5 ._4Mqcv:active{background:#084ebd;color:#fff}.-kglS .hIoPS.l1-S5 .ricos-selection,.-kglS .hIoPS.l1-S5 ::selection,.-kglS.KUC93 .hIoPS .ricos-selection,.-kglS.KUC93 .hIoPS ::selection,.-kglS.OCcYb .hIoPS .ricos-selection,.-kglS.OCcYb .hIoPS ::selection{background-color:transparent!important}.-kglS.KUC93 .ricos-selection,.-kglS.OCcYb .ricos-selection{background-color:transparent!important}.-kglS.KUC93 ._4Mqcv,.-kglS.NC-1P ._4Mqcv,.-kglS.OCcYb ._4Mqcv,.-kglS.ke7NY ._4Mqcv{display:flex;z-index:4}.TKPSi{--ricos-internal-resize-handler-width:max(15px,var(--ricos-internal-layout-gap,0px));--ricos-internal-resize-handler-background-start:calc(50% - 1px);--ricos-internal-resize-handler-background-end:calc(50% + 1px);bottom:-1px;display:flex;left:calc(var(--ricos-internal-resize-handler-width)/2*-1);position:absolute!important;top:0;transform:translateX(max(-50%,var(--ricos-internal-layout-gap,0px)/2 * -1));width:var(--ricos-internal-resize-handler-width);z-index:3}.-kglS:not(.KUC93) .TKPSi:hover,.TKPSi:active{background:linear-gradient(90deg,transparent,transparent var(--ricos-internal-resize-handler-background-start),var(--ricos-internal-layout-handler-color) var(--ricos-internal-resize-handler-background-start),var(--ricos-internal-layout-handler-color) var(--ricos-internal-resize-handler-background-end),transparent var(--ricos-internal-resize-handler-background-end));cursor:var(--ricos-internal-layout-handler-cursor)}`;
3
+ var css = `._7HZHW{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:1}.JqNJ2{left:0;pointer-events:none;position:absolute;right:0}._6hBcD{background-color:var(--ricos-internal-layout-top-divider-color,currentColor);top:0;transform:scale(var(--ricos-internal-layout-top-divider-flip,1),-1)}.zKNt4{background-color:var(--ricos-internal-layout-bottom-divider-color,currentColor);bottom:0;transform:scaleX(var(--ricos-internal-layout-bottom-divider-flip,1))}._-6HxG{--ricos-internal-layout-cell-outline-color:#a8caff;background:var(--ricos-internal-layout-backdrop-gradient,var(--ricos-internal-layout-backdrop-color,transparent));outline:1.5px solid transparent;padding-bottom:var(--ricos-internal-layout-backdrop-padding-bottom,0);padding-top:var(--ricos-internal-layout-backdrop-padding-top,0);position:relative}._-6HxG.Z0zAT,._-6HxG:hover{outline-color:var(--ricos-internal-layout-cell-outline-color)}._-6HxG:hover ._3ox6k .Gew0m{outline-color:var(--ricos-internal-layout-cell-outline-color)}._-6HxG:before{background-image:var(--ricos-internal-layout-backdrop-image-src);background-position:var(--ricos-internal-layout-backdrop-image-position);background-repeat:no-repeat;background-size:var(--ricos-internal-layout-backdrop-image-scaling);bottom:0;clip-path:inset(0);content:"";filter:var(--ricos-internal-layout-backdrop-image-blur,none);left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:0}._-6HxG:after{background:var(--ricos-internal-layout-backdrop-overlay,transparent);bottom:0;clip-path:inset(0);content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1}._-6HxG.CnxtZ{margin:0}*+._-6HxG{margin-top:20px}._-6HxG .k8uBt{display:none}._-6HxG .-OI6X:has(.ymRo2.AtpCE)+.k8uBt,._-6HxG .-OI6X:has(.ymRo2.S-jIt)+.k8uBt,._-6HxG .-OI6X:has(.ymRo2.qEsBI)+.k8uBt,._-6HxG .-OI6X:has(.ymRo2.sJz83)+.k8uBt{display:block}._-6HxG .MurXI{align-items:center;background:#fff;border:1px solid #dfe5eb;border-radius:50%;bottom:-12px;box-shadow:0 2px 4px 0 rgba(23,25,28,.1);cursor:grab;display:flex;height:24px;justify-content:center;left:50%;padding:0;position:absolute;transform:translate(-50%,100%);width:24px;z-index:4}._-6HxG .MurXI:active{cursor:grabbing}._-6HxG.u9EF-{margin-top:0}._-6HxG .g00wD{background:#116dff;bottom:0;left:calc(var(--ricos-internal-layout-drop-cursor-position) - 1px);position:absolute;top:0;width:2px;z-index:5}._-6HxG .g00wD:before{border:2px solid #116dff;border-radius:50%;content:"";height:6px;left:-2px;position:absolute;top:-5px;width:6px}._-6HxG.ws3vK{outline-color:transparent!important}._-6HxG.ws3vK:hover,._-6HxG.ws3vK:hover ._3ox6k .Gew0m{outline-color:transparent!important}._-6HxG.ws3vK .VNMW-,._-6HxG.ws3vK ._7iJWg,._-6HxG.ws3vK .k8uBt{display:none!important}._-6HxG.kxdM9:has(.dEoY1){margin-bottom:40px}._-6HxG.kxdM9[data-breakout=normal]{--ricos-internal-paywall-divider-outer-start:var(--ricos-breakout-normal-padding-start,0);--ricos-internal-paywall-divider-outer-end:var(--ricos-breakout-normal-padding-end,0)}._-6HxG.kxdM9[data-breakout=fullWidth]{--ricos-internal-paywall-divider-outer-start:var(--ricos-breakout-full-width-padding-start,0);--ricos-internal-paywall-divider-outer-end:var(--ricos-breakout-full-width-padding-end,0)}._-6HxG.kxdM9 .dEoY1{align-items:center;color:var(--ricos-text-color,#212121);display:flex;font-size:12px;font-weight:500;gap:6px;inset-inline-end:var(--ricos-internal-paywall-divider-outer-end,0);inset-inline-start:var(--ricos-internal-paywall-divider-outer-start,0);line-height:18px;margin-top:12px;padding-inline-end:var(--ricos-breakout-normal-padding-end,0);padding-inline-start:var(--ricos-breakout-normal-padding-start,0);pointer-events:none;position:absolute;text-transform:uppercase;top:100%;user-select:none}._-6HxG.kxdM9 .dEoY1:after,._-6HxG.kxdM9 .dEoY1:before{background:rgba(var(--ricos-text-color-tuple,33,33,33),.2);content:"";flex:1;height:1px}@supports (color:rgb(from #000 r g b/0.1)){._-6HxG.kxdM9 .dEoY1:after,._-6HxG.kxdM9 .dEoY1:before{background:rgb(from var(--ricos-text-color,#212121) r g b/.2)}}._-6HxG.kxdM9 .CcWpz{align-items:center;display:flex;gap:3px;padding-inline-end:6px;white-space:nowrap}._-6HxG.kxdM9 ._1Jc1T{flex-shrink:0}.-OI6X{--ricos-internal-layout-display:grid;--ricos-internal-layout-handler-cursor:col-resize;--ricos-internal-layout-handler-color:#116dff;clear:both;margin:0 auto;position:relative;width:min(100%,var(--ricos-internal-resize-width,var(--ricos-internal-layout-width,initial)));z-index:2}.ymRo2{display:var(--ricos-internal-layout-display,grid);flex-wrap:wrap;gap:var(--ricos-internal-layout-gap,20px);grid-template-columns:var(--ricos-internal-layout-grid-template,var(--ricos-internal-layout-column-template));justify-content:var(--ricos-internal-layout-justify-content,auto);position:relative;transition:grid-template-columns .1s ease-out;width:100%;will-change:grid-template-columns;z-index:2}[data-layout-banner] .ymRo2{grid-template-columns:var(--ricos-internal-layout-column-template)!important}[data-layout-banner] .ymRo2.qEsBI{transition:none!important}.ymRo2.KyOFX ._3ox6k,.ymRo2.yLGsI{background:var(--ricos-internal-layout-background-gradient,var(--ricos-internal-layout-background-color,transparent));border:var(--ricos-internal-layout-border-width,0) solid var(--ricos-internal-layout-border-color);border-radius:var(--ricos-internal-layout-border-radius,0)}.ymRo2.KyOFX ._3ox6k:before,.ymRo2.yLGsI:before{background-image:var(--ricos-internal-layout-background-image-src);background-position:var(--ricos-internal-layout-background-image-position);background-repeat:no-repeat;background-size:var(--ricos-internal-layout-background-image-scaling);bottom:0;clip-path:inset(0 round var(--ricos-internal-layout-border-radius,0));content:"";filter:var(--ricos-internal-layout-background-image-blur,none);left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:0}.ymRo2.KyOFX ._3ox6k:after,.ymRo2.yLGsI:after{background:var(--ricos-internal-layout-background-overlay,transparent);bottom:0;clip-path:inset(0 round var(--ricos-internal-layout-border-radius,0));content:"";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1}@supports not (contain:inline-size){@media only screen and (max-width:480px){.ymRo2{gap:min(20px,var(--ricos-internal-layout-gap,20px))}}}@container (width < 480px){.ymRo2:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){gap:min(20px,var(--ricos-internal-layout-gap,20px))}}@media (width < 480px){.ymRo2:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .ymRo2{gap:min(20px,var(--ricos-internal-layout-gap,20px))}}.ymRo2._495KW{--ricos-internal-layout-display:flex;--ricos-internal-layout-justify-content:center;--ricos-internal-layout-cell-min-width:100%;--ricos-internal-layout-cell-height:auto}.ymRo2._495KW .VNMW-{display:none}.ymRo2.qEsBI{transition:none!important}.ymRo2.qEsBI,.ymRo2.qEsBI *{user-select:none!important}.ymRo2.tPfD8{--ricos-layout-handler-color:#e62214;--ricos-layout-handler-cursor:e-resize}.ymRo2.BHHjf{--ricos-layout-handler-color:#e62214;--ricos-layout-handler-cursor:w-resize}.ymRo2.S-jIt ._3ox6k .Gew0m,.ymRo2._14mdi ._3ox6k .Gew0m,.ymRo2.qEsBI ._3ox6k .Gew0m,.ymRo2.sJz83 ._3ox6k .Gew0m,.ymRo2:focus ._3ox6k .Gew0m,.ymRo2:hover ._3ox6k .Gew0m{outline-color:var(--ricos-internal-layout-cell-outline-color)}.ymRo2 ._3ox6k{display:flex;flex-direction:column;height:var(--ricos-internal-layout-cell-height,100%);max-width:var(--ricos-internal-layout-cell-min-width,auto);min-width:min(100%,var(--ricos-internal-layout-cell-min-width,0));position:relative;z-index:3}.ymRo2 ._3ox6k .Gew0m{display:flex;flex-direction:column;flex-grow:1;justify-content:var(--ricos-internal-layout-cell-vertical-alignment);outline:1.5px solid transparent;padding:var(--ricos-internal-layout-cell-padding-top,12px) var(--ricos-internal-layout-cell-padding-right,0) var(--ricos-internal-layout-cell-padding-bottom,12px) var(--ricos-internal-layout-cell-padding-left,0);position:relative;z-index:2}@supports not (contain:inline-size){@media only screen and (max-width:480px){.ymRo2 ._3ox6k .Gew0m{padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}}@container (width < 480px){.ymRo2 ._3ox6k .Gew0m:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}@media (width < 480px){.ymRo2 ._3ox6k .Gew0m:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .ymRo2 ._3ox6k .Gew0m{padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}.ymRo2 ._3ox6k ._7iJWg{align-items:center;background:#fff;border-radius:18px;box-shadow:0 0 6px rgba(0,6,36,.05);box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#000624;cursor:grab;display:none;height:18px;justify-content:center;left:50%;margin:0;outline:1px solid rgba(0,6,36,.302);padding:0 12px;position:absolute;top:0;transform:translate(-50%,-50%);transition:color .15s ease,background-color .15s ease;width:42px;z-index:3}.ymRo2 ._3ox6k ._7iJWg:hover{background:#116dff;box-shadow:0 0 0 2px rgba(0,6,36,.1),0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline-color:#fff;outline-width:1.5px}.ymRo2 ._3ox6k ._7iJWg:active{background:#0f62e6;box-shadow:0 0 0 2px rgba(0,6,36,.1),0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline-color:#fff;outline-width:1.5px}.ymRo2 ._3ox6k ._7iJWg:active{cursor:grabbing}.ymRo2 ._3ox6k ._7iJWg:before{bottom:-1px;content:"";height:1px;left:0;position:absolute;right:0}.ymRo2.S-jIt:after{background-color:rgba(17,109,255,.1);bottom:0;content:"";left:0;opacity:1;outline:1.5px solid #116dff;pointer-events:none;position:absolute;right:0;top:0;z-index:2}.ymRo2.S-jIt ._3ox6k .Gew0m{outline-color:rgba(17,109,255,.2)}.ymRo2.S-jIt ._3ox6k ._7iJWg{display:none}.ymRo2 ._3ox6k.bpRKi{background-color:rgba(17,109,255,.1);z-index:4}.ymRo2 ._3ox6k.bpRKi .Gew0m{outline-color:#116dff}.ymRo2 ._3ox6k.bpRKi ._7iJWg{background:#116dff;box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline:none;transition:color .15s ease,background-color .15s ease}.ymRo2 ._3ox6k.bpRKi ._7iJWg:hover{background:#0f62e6;color:#fff}.ymRo2 ._3ox6k.bpRKi ._7iJWg:active{background:#084ebd;color:#fff}.ymRo2 ._3ox6k.bpRKi .ricos-selection,.ymRo2 ._3ox6k.bpRKi ::selection,.ymRo2.S-jIt ._3ox6k .ricos-selection,.ymRo2.S-jIt ._3ox6k ::selection,.ymRo2.qEsBI ._3ox6k .ricos-selection,.ymRo2.qEsBI ._3ox6k ::selection{background-color:transparent!important}.ymRo2.S-jIt .ricos-selection,.ymRo2.qEsBI .ricos-selection{background-color:transparent!important}.ymRo2.S-jIt ._7iJWg,.ymRo2._14mdi ._7iJWg,.ymRo2.qEsBI ._7iJWg,.ymRo2.sJz83 ._7iJWg{display:flex;z-index:4}.VNMW-{--ricos-internal-resize-handler-width:max(15px,var(--ricos-internal-layout-gap,0px));--ricos-internal-resize-handler-background-start:calc(50% - 1px);--ricos-internal-resize-handler-background-end:calc(50% + 1px);bottom:-1px;display:flex;left:calc(var(--ricos-internal-resize-handler-width)/2*-1);position:absolute!important;top:0;transform:translateX(max(-50%,var(--ricos-internal-layout-gap,0px)/2 * -1));width:var(--ricos-internal-resize-handler-width);z-index:3}.VNMW-:active,.ymRo2:not(.qEsBI) .VNMW-:hover{background:linear-gradient(90deg,transparent,transparent var(--ricos-internal-resize-handler-background-start),var(--ricos-internal-layout-handler-color) var(--ricos-internal-resize-handler-background-start),var(--ricos-internal-layout-handler-color) var(--ricos-internal-resize-handler-background-end),transparent var(--ricos-internal-resize-handler-background-end));cursor:var(--ricos-internal-layout-handler-cursor)}`;
4
4
  var isTest = typeof process !== "undefined" && process.env && false;
5
5
  if (isTest || !css || typeof document === "undefined") {
6
6
  return;
@@ -21,39 +21,39 @@ const injectCss = (() => {
21
21
  });
22
22
  injectCss();
23
23
  var layouts_default = {
24
- "sectionDividerClip": "fGySc",
25
- "sectionDivider": "gJbC5",
26
- "sectionDividerTop": "ZlH1B",
27
- "sectionDividerBottom": "mbQfT",
28
- "layoutWrapper": "_2hEBU",
29
- "withVerticalResize": "dyS04",
30
- "cell": "hIoPS",
31
- "cellContent": "_1RZ4g",
32
- "breakoutMargin": "Op-26",
33
- "layoutHandlerWrapper": "_6JmnB",
34
- "layoutContainer": "k8eQt",
35
- "layout": "-kglS",
36
- "layoutSelected": "OCcYb",
37
- "dragging": "E9VVp",
38
- "resizing": "KUC93",
39
- "inLayout": "NC-1P",
40
- "layoutHandler": "_1yrFl",
41
- "bannerMargin": "kQ1lV",
42
- "dropCursor": "hGb5r",
43
- "disabled": "P9adx",
44
- "resizeHandler": "TKPSi",
45
- "columnHandlerContainer": "_4Mqcv",
46
- "paywall": "AsoHU",
47
- "paywallDivider": "Oca1l",
48
- "paywallDividerLabel": "z7g2X",
49
- "paywallDividerIcon": "I0xKQ",
50
- "designOnLayout": "L2WbI",
51
- "designOnCell": "_37Xd6",
52
- "mobile": "BVCHR",
53
- "invalidLeft": "a227I",
54
- "invalidRight": "dJ3l8",
55
- "draggingOver": "ke7NY",
56
- "cellSelected": "l1-S5"
24
+ "sectionDividerClip": "_7HZHW",
25
+ "sectionDivider": "JqNJ2",
26
+ "sectionDividerTop": "_6hBcD",
27
+ "sectionDividerBottom": "zKNt4",
28
+ "layoutWrapper": "_-6HxG",
29
+ "withVerticalResize": "Z0zAT",
30
+ "cell": "_3ox6k",
31
+ "cellContent": "Gew0m",
32
+ "breakoutMargin": "CnxtZ",
33
+ "layoutHandlerWrapper": "k8uBt",
34
+ "layoutContainer": "-OI6X",
35
+ "layout": "ymRo2",
36
+ "layoutSelected": "S-jIt",
37
+ "dragging": "AtpCE",
38
+ "resizing": "qEsBI",
39
+ "inLayout": "sJz83",
40
+ "layoutHandler": "MurXI",
41
+ "bannerMargin": "u9EF-",
42
+ "dropCursor": "g00wD",
43
+ "disabled": "ws3vK",
44
+ "resizeHandler": "VNMW-",
45
+ "columnHandlerContainer": "_7iJWg",
46
+ "paywall": "kxdM9",
47
+ "paywallDivider": "dEoY1",
48
+ "paywallDividerLabel": "CcWpz",
49
+ "paywallDividerIcon": "_1Jc1T",
50
+ "designOnLayout": "yLGsI",
51
+ "designOnCell": "KyOFX",
52
+ "mobile": "_495KW",
53
+ "invalidLeft": "tPfD8",
54
+ "invalidRight": "BHHjf",
55
+ "draggingOver": "_14mdi",
56
+ "cellSelected": "bpRKi"
57
57
  };
58
58
  export {
59
59
  layouts_default as default,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/ricos-common-plugins/layout/layouts.scss"],
4
- "sourcesContent": ["var styleDataHash = '06f4c060'; \nexport const injectCss = (() => {\n var css = `.fGySc{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:1}.gJbC5{left:0;pointer-events:none;position:absolute;right:0}.ZlH1B{background-color:var(--ricos-internal-layout-top-divider-color,currentColor);top:0;transform:scale(var(--ricos-internal-layout-top-divider-flip,1),-1)}.mbQfT{background-color:var(--ricos-internal-layout-bottom-divider-color,currentColor);bottom:0;transform:scaleX(var(--ricos-internal-layout-bottom-divider-flip,1))}._2hEBU{--ricos-internal-layout-cell-outline-color:#a8caff;background:var(--ricos-internal-layout-backdrop-gradient,var(--ricos-internal-layout-backdrop-color,transparent));outline:1.5px solid transparent;padding-bottom:var(--ricos-internal-layout-backdrop-padding-bottom,0);padding-top:var(--ricos-internal-layout-backdrop-padding-top,0);position:relative}._2hEBU.dyS04,._2hEBU:hover{outline-color:var(--ricos-internal-layout-cell-outline-color)}._2hEBU:hover .hIoPS ._1RZ4g{outline-color:var(--ricos-internal-layout-cell-outline-color)}._2hEBU:before{background-image:var(--ricos-internal-layout-backdrop-image-src);background-position:var(--ricos-internal-layout-backdrop-image-position);background-repeat:no-repeat;background-size:var(--ricos-internal-layout-backdrop-image-scaling);bottom:0;clip-path:inset(0);content:\"\";filter:var(--ricos-internal-layout-backdrop-image-blur,none);left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:0}._2hEBU:after{background:var(--ricos-internal-layout-backdrop-overlay,transparent);bottom:0;clip-path:inset(0);content:\"\";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1}._2hEBU.Op-26{margin:0}*+._2hEBU{margin-top:20px}._2hEBU ._6JmnB{display:none}._2hEBU .k8eQt:has(.-kglS.E9VVp)+._6JmnB,._2hEBU .k8eQt:has(.-kglS.KUC93)+._6JmnB,._2hEBU .k8eQt:has(.-kglS.NC-1P)+._6JmnB,._2hEBU .k8eQt:has(.-kglS.OCcYb)+._6JmnB{display:block}._2hEBU ._1yrFl{align-items:center;background:#fff;border:1px solid #dfe5eb;border-radius:50%;bottom:-12px;box-shadow:0 2px 4px 0 rgba(23,25,28,.1);cursor:grab;display:flex;height:24px;justify-content:center;left:50%;padding:0;position:absolute;transform:translate(-50%,100%);width:24px;z-index:4}._2hEBU ._1yrFl:active{cursor:grabbing}._2hEBU.kQ1lV{margin-top:0}._2hEBU .hGb5r{background:#116dff;bottom:0;left:calc(var(--ricos-internal-layout-drop-cursor-position) - 1px);position:absolute;top:0;width:2px;z-index:5}._2hEBU .hGb5r:before{border:2px solid #116dff;border-radius:50%;content:\"\";height:6px;left:-2px;position:absolute;top:-5px;width:6px}._2hEBU.P9adx{outline-color:transparent!important}._2hEBU.P9adx:hover,._2hEBU.P9adx:hover .hIoPS ._1RZ4g{outline-color:transparent!important}._2hEBU.P9adx .TKPSi,._2hEBU.P9adx ._4Mqcv,._2hEBU.P9adx ._6JmnB{display:none!important}._2hEBU.AsoHU:has(.Oca1l){margin-bottom:40px}._2hEBU.AsoHU[data-breakout=normal]{--ricos-internal-paywall-divider-outer-start:var(--ricos-breakout-normal-padding-start,0);--ricos-internal-paywall-divider-outer-end:var(--ricos-breakout-normal-padding-end,0)}._2hEBU.AsoHU[data-breakout=fullWidth]{--ricos-internal-paywall-divider-outer-start:var(--ricos-breakout-full-width-padding-start,0);--ricos-internal-paywall-divider-outer-end:var(--ricos-breakout-full-width-padding-end,0)}._2hEBU.AsoHU .Oca1l{align-items:center;color:var(--ricos-text-color-low,#646464);display:flex;font-size:12px;font-weight:500;gap:6px;inset-inline-end:var(--ricos-internal-paywall-divider-outer-end,0);inset-inline-start:var(--ricos-internal-paywall-divider-outer-start,0);line-height:18px;margin-top:12px;padding-inline-end:var(--ricos-breakout-normal-padding-end,0);padding-inline-start:var(--ricos-breakout-normal-padding-start,0);pointer-events:none;position:absolute;text-transform:uppercase;top:100%;user-select:none}._2hEBU.AsoHU .Oca1l:after,._2hEBU.AsoHU .Oca1l:before{background:rgba(var(--ricos-text-color-tuple,33,33,33),.15);content:\"\";flex:1;height:1px}._2hEBU.AsoHU .z7g2X{align-items:center;display:flex;gap:3px;padding-inline-end:6px;white-space:nowrap}._2hEBU.AsoHU .I0xKQ{flex-shrink:0}.k8eQt{--ricos-internal-layout-display:grid;--ricos-internal-layout-handler-cursor:col-resize;--ricos-internal-layout-handler-color:#116dff;clear:both;margin:0 auto;position:relative;width:min(100%,var(--ricos-internal-resize-width,var(--ricos-internal-layout-width,initial)));z-index:2}.-kglS{display:var(--ricos-internal-layout-display,grid);flex-wrap:wrap;gap:var(--ricos-internal-layout-gap,20px);grid-template-columns:var(--ricos-internal-layout-grid-template,var(--ricos-internal-layout-column-template));justify-content:var(--ricos-internal-layout-justify-content,auto);position:relative;transition:grid-template-columns .1s ease-out;width:100%;will-change:grid-template-columns;z-index:2}[data-layout-banner] .-kglS{grid-template-columns:var(--ricos-internal-layout-column-template)!important}[data-layout-banner] .-kglS.KUC93{transition:none!important}.-kglS.L2WbI,.-kglS._37Xd6 .hIoPS{background:var(--ricos-internal-layout-background-gradient,var(--ricos-internal-layout-background-color,transparent));border:var(--ricos-internal-layout-border-width,0) solid var(--ricos-internal-layout-border-color);border-radius:var(--ricos-internal-layout-border-radius,0)}.-kglS.L2WbI:before,.-kglS._37Xd6 .hIoPS:before{background-image:var(--ricos-internal-layout-background-image-src);background-position:var(--ricos-internal-layout-background-image-position);background-repeat:no-repeat;background-size:var(--ricos-internal-layout-background-image-scaling);bottom:0;clip-path:inset(0 round var(--ricos-internal-layout-border-radius,0));content:\"\";filter:var(--ricos-internal-layout-background-image-blur,none);left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:0}.-kglS.L2WbI:after,.-kglS._37Xd6 .hIoPS:after{background:var(--ricos-internal-layout-background-overlay,transparent);bottom:0;clip-path:inset(0 round var(--ricos-internal-layout-border-radius,0));content:\"\";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1}@supports not (contain:inline-size){@media only screen and (max-width:480px){.-kglS{gap:min(20px,var(--ricos-internal-layout-gap,20px))}}}@container (width < 480px){.-kglS:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){gap:min(20px,var(--ricos-internal-layout-gap,20px))}}@media (width < 480px){.-kglS:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .-kglS{gap:min(20px,var(--ricos-internal-layout-gap,20px))}}.-kglS.BVCHR{--ricos-internal-layout-display:flex;--ricos-internal-layout-justify-content:center;--ricos-internal-layout-cell-min-width:100%;--ricos-internal-layout-cell-height:auto}.-kglS.BVCHR .TKPSi{display:none}.-kglS.KUC93{transition:none!important}.-kglS.KUC93,.-kglS.KUC93 *{user-select:none!important}.-kglS.a227I{--ricos-layout-handler-color:#e62214;--ricos-layout-handler-cursor:e-resize}.-kglS.dJ3l8{--ricos-layout-handler-color:#e62214;--ricos-layout-handler-cursor:w-resize}.-kglS.KUC93 .hIoPS ._1RZ4g,.-kglS.NC-1P .hIoPS ._1RZ4g,.-kglS.OCcYb .hIoPS ._1RZ4g,.-kglS.ke7NY .hIoPS ._1RZ4g,.-kglS:focus .hIoPS ._1RZ4g,.-kglS:hover .hIoPS ._1RZ4g{outline-color:var(--ricos-internal-layout-cell-outline-color)}.-kglS .hIoPS{display:flex;flex-direction:column;height:var(--ricos-internal-layout-cell-height,100%);max-width:var(--ricos-internal-layout-cell-min-width,auto);min-width:min(100%,var(--ricos-internal-layout-cell-min-width,0));position:relative;z-index:3}.-kglS .hIoPS ._1RZ4g{display:flex;flex-direction:column;flex-grow:1;justify-content:var(--ricos-internal-layout-cell-vertical-alignment);outline:1.5px solid transparent;padding:var(--ricos-internal-layout-cell-padding-top,12px) var(--ricos-internal-layout-cell-padding-right,0) var(--ricos-internal-layout-cell-padding-bottom,12px) var(--ricos-internal-layout-cell-padding-left,0);position:relative;z-index:2}@supports not (contain:inline-size){@media only screen and (max-width:480px){.-kglS .hIoPS ._1RZ4g{padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}}@container (width < 480px){.-kglS .hIoPS ._1RZ4g:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}@media (width < 480px){.-kglS .hIoPS ._1RZ4g:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .-kglS .hIoPS ._1RZ4g{padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}.-kglS .hIoPS ._4Mqcv{align-items:center;background:#fff;border-radius:18px;box-shadow:0 0 6px rgba(0,6,36,.05);box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#000624;cursor:grab;display:none;height:18px;justify-content:center;left:50%;margin:0;outline:1px solid rgba(0,6,36,.302);padding:0 12px;position:absolute;top:0;transform:translate(-50%,-50%);transition:color .15s ease,background-color .15s ease;width:42px;z-index:3}.-kglS .hIoPS ._4Mqcv:hover{background:#116dff;box-shadow:0 0 0 2px rgba(0,6,36,.1),0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline-color:#fff;outline-width:1.5px}.-kglS .hIoPS ._4Mqcv:active{background:#0f62e6;box-shadow:0 0 0 2px rgba(0,6,36,.1),0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline-color:#fff;outline-width:1.5px}.-kglS .hIoPS ._4Mqcv:active{cursor:grabbing}.-kglS .hIoPS ._4Mqcv:before{bottom:-1px;content:\"\";height:1px;left:0;position:absolute;right:0}.-kglS.OCcYb:after{background-color:rgba(17,109,255,.1);bottom:0;content:\"\";left:0;opacity:1;outline:1.5px solid #116dff;pointer-events:none;position:absolute;right:0;top:0;z-index:2}.-kglS.OCcYb .hIoPS ._1RZ4g{outline-color:rgba(17,109,255,.2)}.-kglS.OCcYb .hIoPS ._4Mqcv{display:none}.-kglS .hIoPS.l1-S5{background-color:rgba(17,109,255,.1);z-index:4}.-kglS .hIoPS.l1-S5 ._1RZ4g{outline-color:#116dff}.-kglS .hIoPS.l1-S5 ._4Mqcv{background:#116dff;box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline:none;transition:color .15s ease,background-color .15s ease}.-kglS .hIoPS.l1-S5 ._4Mqcv:hover{background:#0f62e6;color:#fff}.-kglS .hIoPS.l1-S5 ._4Mqcv:active{background:#084ebd;color:#fff}.-kglS .hIoPS.l1-S5 .ricos-selection,.-kglS .hIoPS.l1-S5 ::selection,.-kglS.KUC93 .hIoPS .ricos-selection,.-kglS.KUC93 .hIoPS ::selection,.-kglS.OCcYb .hIoPS .ricos-selection,.-kglS.OCcYb .hIoPS ::selection{background-color:transparent!important}.-kglS.KUC93 .ricos-selection,.-kglS.OCcYb .ricos-selection{background-color:transparent!important}.-kglS.KUC93 ._4Mqcv,.-kglS.NC-1P ._4Mqcv,.-kglS.OCcYb ._4Mqcv,.-kglS.ke7NY ._4Mqcv{display:flex;z-index:4}.TKPSi{--ricos-internal-resize-handler-width:max(15px,var(--ricos-internal-layout-gap,0px));--ricos-internal-resize-handler-background-start:calc(50% - 1px);--ricos-internal-resize-handler-background-end:calc(50% + 1px);bottom:-1px;display:flex;left:calc(var(--ricos-internal-resize-handler-width)/2*-1);position:absolute!important;top:0;transform:translateX(max(-50%,var(--ricos-internal-layout-gap,0px)/2 * -1));width:var(--ricos-internal-resize-handler-width);z-index:3}.-kglS:not(.KUC93) .TKPSi:hover,.TKPSi:active{background:linear-gradient(90deg,transparent,transparent var(--ricos-internal-resize-handler-background-start),var(--ricos-internal-layout-handler-color) var(--ricos-internal-resize-handler-background-start),var(--ricos-internal-layout-handler-color) var(--ricos-internal-resize-handler-background-end),transparent var(--ricos-internal-resize-handler-background-end));cursor:var(--ricos-internal-layout-handler-cursor)}`;\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 \"sectionDividerClip\": \"fGySc\",\n \"sectionDivider\": \"gJbC5\",\n \"sectionDividerTop\": \"ZlH1B\",\n \"sectionDividerBottom\": \"mbQfT\",\n \"layoutWrapper\": \"_2hEBU\",\n \"withVerticalResize\": \"dyS04\",\n \"cell\": \"hIoPS\",\n \"cellContent\": \"_1RZ4g\",\n \"breakoutMargin\": \"Op-26\",\n \"layoutHandlerWrapper\": \"_6JmnB\",\n \"layoutContainer\": \"k8eQt\",\n \"layout\": \"-kglS\",\n \"layoutSelected\": \"OCcYb\",\n \"dragging\": \"E9VVp\",\n \"resizing\": \"KUC93\",\n \"inLayout\": \"NC-1P\",\n \"layoutHandler\": \"_1yrFl\",\n \"bannerMargin\": \"kQ1lV\",\n \"dropCursor\": \"hGb5r\",\n \"disabled\": \"P9adx\",\n \"resizeHandler\": \"TKPSi\",\n \"columnHandlerContainer\": \"_4Mqcv\",\n \"paywall\": \"AsoHU\",\n \"paywallDivider\": \"Oca1l\",\n \"paywallDividerLabel\": \"z7g2X\",\n \"paywallDividerIcon\": \"I0xKQ\",\n \"designOnLayout\": \"L2WbI\",\n \"designOnCell\": \"_37Xd6\",\n \"mobile\": \"BVCHR\",\n \"invalidLeft\": \"a227I\",\n \"invalidRight\": \"dJ3l8\",\n \"draggingOver\": \"ke7NY\",\n \"cellSelected\": \"l1-S5\"\n};"],
4
+ "sourcesContent": ["var styleDataHash = 'f2a38c0d'; \nexport const injectCss = (() => {\n var css = `._7HZHW{inset:0;overflow:hidden;pointer-events:none;position:absolute;z-index:1}.JqNJ2{left:0;pointer-events:none;position:absolute;right:0}._6hBcD{background-color:var(--ricos-internal-layout-top-divider-color,currentColor);top:0;transform:scale(var(--ricos-internal-layout-top-divider-flip,1),-1)}.zKNt4{background-color:var(--ricos-internal-layout-bottom-divider-color,currentColor);bottom:0;transform:scaleX(var(--ricos-internal-layout-bottom-divider-flip,1))}._-6HxG{--ricos-internal-layout-cell-outline-color:#a8caff;background:var(--ricos-internal-layout-backdrop-gradient,var(--ricos-internal-layout-backdrop-color,transparent));outline:1.5px solid transparent;padding-bottom:var(--ricos-internal-layout-backdrop-padding-bottom,0);padding-top:var(--ricos-internal-layout-backdrop-padding-top,0);position:relative}._-6HxG.Z0zAT,._-6HxG:hover{outline-color:var(--ricos-internal-layout-cell-outline-color)}._-6HxG:hover ._3ox6k .Gew0m{outline-color:var(--ricos-internal-layout-cell-outline-color)}._-6HxG:before{background-image:var(--ricos-internal-layout-backdrop-image-src);background-position:var(--ricos-internal-layout-backdrop-image-position);background-repeat:no-repeat;background-size:var(--ricos-internal-layout-backdrop-image-scaling);bottom:0;clip-path:inset(0);content:\"\";filter:var(--ricos-internal-layout-backdrop-image-blur,none);left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:0}._-6HxG:after{background:var(--ricos-internal-layout-backdrop-overlay,transparent);bottom:0;clip-path:inset(0);content:\"\";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1}._-6HxG.CnxtZ{margin:0}*+._-6HxG{margin-top:20px}._-6HxG .k8uBt{display:none}._-6HxG .-OI6X:has(.ymRo2.AtpCE)+.k8uBt,._-6HxG .-OI6X:has(.ymRo2.S-jIt)+.k8uBt,._-6HxG .-OI6X:has(.ymRo2.qEsBI)+.k8uBt,._-6HxG .-OI6X:has(.ymRo2.sJz83)+.k8uBt{display:block}._-6HxG .MurXI{align-items:center;background:#fff;border:1px solid #dfe5eb;border-radius:50%;bottom:-12px;box-shadow:0 2px 4px 0 rgba(23,25,28,.1);cursor:grab;display:flex;height:24px;justify-content:center;left:50%;padding:0;position:absolute;transform:translate(-50%,100%);width:24px;z-index:4}._-6HxG .MurXI:active{cursor:grabbing}._-6HxG.u9EF-{margin-top:0}._-6HxG .g00wD{background:#116dff;bottom:0;left:calc(var(--ricos-internal-layout-drop-cursor-position) - 1px);position:absolute;top:0;width:2px;z-index:5}._-6HxG .g00wD:before{border:2px solid #116dff;border-radius:50%;content:\"\";height:6px;left:-2px;position:absolute;top:-5px;width:6px}._-6HxG.ws3vK{outline-color:transparent!important}._-6HxG.ws3vK:hover,._-6HxG.ws3vK:hover ._3ox6k .Gew0m{outline-color:transparent!important}._-6HxG.ws3vK .VNMW-,._-6HxG.ws3vK ._7iJWg,._-6HxG.ws3vK .k8uBt{display:none!important}._-6HxG.kxdM9:has(.dEoY1){margin-bottom:40px}._-6HxG.kxdM9[data-breakout=normal]{--ricos-internal-paywall-divider-outer-start:var(--ricos-breakout-normal-padding-start,0);--ricos-internal-paywall-divider-outer-end:var(--ricos-breakout-normal-padding-end,0)}._-6HxG.kxdM9[data-breakout=fullWidth]{--ricos-internal-paywall-divider-outer-start:var(--ricos-breakout-full-width-padding-start,0);--ricos-internal-paywall-divider-outer-end:var(--ricos-breakout-full-width-padding-end,0)}._-6HxG.kxdM9 .dEoY1{align-items:center;color:var(--ricos-text-color,#212121);display:flex;font-size:12px;font-weight:500;gap:6px;inset-inline-end:var(--ricos-internal-paywall-divider-outer-end,0);inset-inline-start:var(--ricos-internal-paywall-divider-outer-start,0);line-height:18px;margin-top:12px;padding-inline-end:var(--ricos-breakout-normal-padding-end,0);padding-inline-start:var(--ricos-breakout-normal-padding-start,0);pointer-events:none;position:absolute;text-transform:uppercase;top:100%;user-select:none}._-6HxG.kxdM9 .dEoY1:after,._-6HxG.kxdM9 .dEoY1:before{background:rgba(var(--ricos-text-color-tuple,33,33,33),.2);content:\"\";flex:1;height:1px}@supports (color:rgb(from #000 r g b/0.1)){._-6HxG.kxdM9 .dEoY1:after,._-6HxG.kxdM9 .dEoY1:before{background:rgb(from var(--ricos-text-color,#212121) r g b/.2)}}._-6HxG.kxdM9 .CcWpz{align-items:center;display:flex;gap:3px;padding-inline-end:6px;white-space:nowrap}._-6HxG.kxdM9 ._1Jc1T{flex-shrink:0}.-OI6X{--ricos-internal-layout-display:grid;--ricos-internal-layout-handler-cursor:col-resize;--ricos-internal-layout-handler-color:#116dff;clear:both;margin:0 auto;position:relative;width:min(100%,var(--ricos-internal-resize-width,var(--ricos-internal-layout-width,initial)));z-index:2}.ymRo2{display:var(--ricos-internal-layout-display,grid);flex-wrap:wrap;gap:var(--ricos-internal-layout-gap,20px);grid-template-columns:var(--ricos-internal-layout-grid-template,var(--ricos-internal-layout-column-template));justify-content:var(--ricos-internal-layout-justify-content,auto);position:relative;transition:grid-template-columns .1s ease-out;width:100%;will-change:grid-template-columns;z-index:2}[data-layout-banner] .ymRo2{grid-template-columns:var(--ricos-internal-layout-column-template)!important}[data-layout-banner] .ymRo2.qEsBI{transition:none!important}.ymRo2.KyOFX ._3ox6k,.ymRo2.yLGsI{background:var(--ricos-internal-layout-background-gradient,var(--ricos-internal-layout-background-color,transparent));border:var(--ricos-internal-layout-border-width,0) solid var(--ricos-internal-layout-border-color);border-radius:var(--ricos-internal-layout-border-radius,0)}.ymRo2.KyOFX ._3ox6k:before,.ymRo2.yLGsI:before{background-image:var(--ricos-internal-layout-background-image-src);background-position:var(--ricos-internal-layout-background-image-position);background-repeat:no-repeat;background-size:var(--ricos-internal-layout-background-image-scaling);bottom:0;clip-path:inset(0 round var(--ricos-internal-layout-border-radius,0));content:\"\";filter:var(--ricos-internal-layout-background-image-blur,none);left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:0}.ymRo2.KyOFX ._3ox6k:after,.ymRo2.yLGsI:after{background:var(--ricos-internal-layout-background-overlay,transparent);bottom:0;clip-path:inset(0 round var(--ricos-internal-layout-border-radius,0));content:\"\";left:0;pointer-events:none;position:absolute;right:0;top:0;z-index:1}@supports not (contain:inline-size){@media only screen and (max-width:480px){.ymRo2{gap:min(20px,var(--ricos-internal-layout-gap,20px))}}}@container (width < 480px){.ymRo2:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){gap:min(20px,var(--ricos-internal-layout-gap,20px))}}@media (width < 480px){.ymRo2:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .ymRo2{gap:min(20px,var(--ricos-internal-layout-gap,20px))}}.ymRo2._495KW{--ricos-internal-layout-display:flex;--ricos-internal-layout-justify-content:center;--ricos-internal-layout-cell-min-width:100%;--ricos-internal-layout-cell-height:auto}.ymRo2._495KW .VNMW-{display:none}.ymRo2.qEsBI{transition:none!important}.ymRo2.qEsBI,.ymRo2.qEsBI *{user-select:none!important}.ymRo2.tPfD8{--ricos-layout-handler-color:#e62214;--ricos-layout-handler-cursor:e-resize}.ymRo2.BHHjf{--ricos-layout-handler-color:#e62214;--ricos-layout-handler-cursor:w-resize}.ymRo2.S-jIt ._3ox6k .Gew0m,.ymRo2._14mdi ._3ox6k .Gew0m,.ymRo2.qEsBI ._3ox6k .Gew0m,.ymRo2.sJz83 ._3ox6k .Gew0m,.ymRo2:focus ._3ox6k .Gew0m,.ymRo2:hover ._3ox6k .Gew0m{outline-color:var(--ricos-internal-layout-cell-outline-color)}.ymRo2 ._3ox6k{display:flex;flex-direction:column;height:var(--ricos-internal-layout-cell-height,100%);max-width:var(--ricos-internal-layout-cell-min-width,auto);min-width:min(100%,var(--ricos-internal-layout-cell-min-width,0));position:relative;z-index:3}.ymRo2 ._3ox6k .Gew0m{display:flex;flex-direction:column;flex-grow:1;justify-content:var(--ricos-internal-layout-cell-vertical-alignment);outline:1.5px solid transparent;padding:var(--ricos-internal-layout-cell-padding-top,12px) var(--ricos-internal-layout-cell-padding-right,0) var(--ricos-internal-layout-cell-padding-bottom,12px) var(--ricos-internal-layout-cell-padding-left,0);position:relative;z-index:2}@supports not (contain:inline-size){@media only screen and (max-width:480px){.ymRo2 ._3ox6k .Gew0m{padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}}@container (width < 480px){.ymRo2 ._3ox6k .Gew0m:where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}@media (width < 480px){.ymRo2 ._3ox6k .Gew0m:where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .ymRo2 ._3ox6k .Gew0m{padding:min(16px,var(--ricos-internal-layout-cell-padding-top,16px)) min(16px,var(--ricos-internal-layout-cell-padding-right,16px)) min(16px,var(--ricos-internal-layout-cell-padding-bottom,16px)) min(16px,var(--ricos-internal-layout-cell-padding-left,16px))}}.ymRo2 ._3ox6k ._7iJWg{align-items:center;background:#fff;border-radius:18px;box-shadow:0 0 6px rgba(0,6,36,.05);box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#000624;cursor:grab;display:none;height:18px;justify-content:center;left:50%;margin:0;outline:1px solid rgba(0,6,36,.302);padding:0 12px;position:absolute;top:0;transform:translate(-50%,-50%);transition:color .15s ease,background-color .15s ease;width:42px;z-index:3}.ymRo2 ._3ox6k ._7iJWg:hover{background:#116dff;box-shadow:0 0 0 2px rgba(0,6,36,.1),0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline-color:#fff;outline-width:1.5px}.ymRo2 ._3ox6k ._7iJWg:active{background:#0f62e6;box-shadow:0 0 0 2px rgba(0,6,36,.1),0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline-color:#fff;outline-width:1.5px}.ymRo2 ._3ox6k ._7iJWg:active{cursor:grabbing}.ymRo2 ._3ox6k ._7iJWg:before{bottom:-1px;content:\"\";height:1px;left:0;position:absolute;right:0}.ymRo2.S-jIt:after{background-color:rgba(17,109,255,.1);bottom:0;content:\"\";left:0;opacity:1;outline:1.5px solid #116dff;pointer-events:none;position:absolute;right:0;top:0;z-index:2}.ymRo2.S-jIt ._3ox6k .Gew0m{outline-color:rgba(17,109,255,.2)}.ymRo2.S-jIt ._3ox6k ._7iJWg{display:none}.ymRo2 ._3ox6k.bpRKi{background-color:rgba(17,109,255,.1);z-index:4}.ymRo2 ._3ox6k.bpRKi .Gew0m{outline-color:#116dff}.ymRo2 ._3ox6k.bpRKi ._7iJWg{background:#116dff;box-shadow:0 0 6px 0 rgba(0,6,36,.1),0 2px 4px 0 rgba(0,6,36,.05);color:#fff;outline:none;transition:color .15s ease,background-color .15s ease}.ymRo2 ._3ox6k.bpRKi ._7iJWg:hover{background:#0f62e6;color:#fff}.ymRo2 ._3ox6k.bpRKi ._7iJWg:active{background:#084ebd;color:#fff}.ymRo2 ._3ox6k.bpRKi .ricos-selection,.ymRo2 ._3ox6k.bpRKi ::selection,.ymRo2.S-jIt ._3ox6k .ricos-selection,.ymRo2.S-jIt ._3ox6k ::selection,.ymRo2.qEsBI ._3ox6k .ricos-selection,.ymRo2.qEsBI ._3ox6k ::selection{background-color:transparent!important}.ymRo2.S-jIt .ricos-selection,.ymRo2.qEsBI .ricos-selection{background-color:transparent!important}.ymRo2.S-jIt ._7iJWg,.ymRo2._14mdi ._7iJWg,.ymRo2.qEsBI ._7iJWg,.ymRo2.sJz83 ._7iJWg{display:flex;z-index:4}.VNMW-{--ricos-internal-resize-handler-width:max(15px,var(--ricos-internal-layout-gap,0px));--ricos-internal-resize-handler-background-start:calc(50% - 1px);--ricos-internal-resize-handler-background-end:calc(50% + 1px);bottom:-1px;display:flex;left:calc(var(--ricos-internal-resize-handler-width)/2*-1);position:absolute!important;top:0;transform:translateX(max(-50%,var(--ricos-internal-layout-gap,0px)/2 * -1));width:var(--ricos-internal-resize-handler-width);z-index:3}.VNMW-:active,.ymRo2:not(.qEsBI) .VNMW-:hover{background:linear-gradient(90deg,transparent,transparent var(--ricos-internal-resize-handler-background-start),var(--ricos-internal-layout-handler-color) var(--ricos-internal-resize-handler-background-start),var(--ricos-internal-layout-handler-color) var(--ricos-internal-resize-handler-background-end),transparent var(--ricos-internal-resize-handler-background-end));cursor:var(--ricos-internal-layout-handler-cursor)}`;\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 \"sectionDividerClip\": \"_7HZHW\",\n \"sectionDivider\": \"JqNJ2\",\n \"sectionDividerTop\": \"_6hBcD\",\n \"sectionDividerBottom\": \"zKNt4\",\n \"layoutWrapper\": \"_-6HxG\",\n \"withVerticalResize\": \"Z0zAT\",\n \"cell\": \"_3ox6k\",\n \"cellContent\": \"Gew0m\",\n \"breakoutMargin\": \"CnxtZ\",\n \"layoutHandlerWrapper\": \"k8uBt\",\n \"layoutContainer\": \"-OI6X\",\n \"layout\": \"ymRo2\",\n \"layoutSelected\": \"S-jIt\",\n \"dragging\": \"AtpCE\",\n \"resizing\": \"qEsBI\",\n \"inLayout\": \"sJz83\",\n \"layoutHandler\": \"MurXI\",\n \"bannerMargin\": \"u9EF-\",\n \"dropCursor\": \"g00wD\",\n \"disabled\": \"ws3vK\",\n \"resizeHandler\": \"VNMW-\",\n \"columnHandlerContainer\": \"_7iJWg\",\n \"paywall\": \"kxdM9\",\n \"paywallDivider\": \"dEoY1\",\n \"paywallDividerLabel\": \"CcWpz\",\n \"paywallDividerIcon\": \"_1Jc1T\",\n \"designOnLayout\": \"yLGsI\",\n \"designOnCell\": \"KyOFX\",\n \"mobile\": \"_495KW\",\n \"invalidLeft\": \"tPfD8\",\n \"invalidRight\": \"BHHjf\",\n \"draggingOver\": \"_14mdi\",\n \"cellSelected\": \"bpRKi\"\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,kBAAQ;AAAA,EACb,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,wBAAwB;AAAA,EACxB,iBAAiB;AAAA,EACjB,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,wBAAwB;AAAA,EACxB,mBAAmB;AAAA,EACnB,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,gBAAgB;AAAA,EAChB,cAAc;AAAA,EACd,YAAY;AAAA,EACZ,iBAAiB;AAAA,EACjB,0BAA0B;AAAA,EAC1B,WAAW;AAAA,EACX,kBAAkB;AAAA,EAClB,uBAAuB;AAAA,EACvB,sBAAsB;AAAA,EACtB,kBAAkB;AAAA,EAClB,gBAAgB;AAAA,EAChB,UAAU;AAAA,EACV,eAAe;AAAA,EACf,gBAAgB;AAAA,EAChB,gBAAgB;AAAA,EAChB,gBAAgB;AAClB;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,74 @@
1
+ import React, { useContext, useEffect, useState } from "react";
2
+ import { RicosContext } from "./../../ricos-context/index.js";
3
+ import {
4
+ getIsModalOpen,
5
+ useModalService,
6
+ useModalState
7
+ } from "./../../ricos-modals/modal-service-provider.js";
8
+ import { ToolbarButton as ToolbarButtonComponent } from "./../../_shared/toolbar-button/toolbar-button.js";
9
+ const PAYWALL_TOOLBAR_PANEL_ID = "paywallToolbarPanel";
10
+ const DATA_HOOK = "paywall-toolbar-button";
11
+ const PaywallToolbarButton = ({
12
+ button: { icon, label, onClick },
13
+ toolbarItem
14
+ }) => {
15
+ const { isMobile } = useContext(RicosContext);
16
+ const modalService = useModalService();
17
+ const [referenceElement, setReferenceElement] = useState(null);
18
+ const isOpen = useModalState(getIsModalOpen(PAYWALL_TOOLBAR_PANEL_ID));
19
+ const close = () => modalService.closeModal(PAYWALL_TOOLBAR_PANEL_ID);
20
+ useEffect(
21
+ () => () => {
22
+ modalService.isModalOpen(PAYWALL_TOOLBAR_PANEL_ID) && close();
23
+ },
24
+ [modalService]
25
+ );
26
+ return /* @__PURE__ */ React.createElement(
27
+ ToolbarButtonComponent,
28
+ {
29
+ ref: setReferenceElement,
30
+ prefix: icon,
31
+ label,
32
+ active: isOpen,
33
+ onClick: () => onClick({
34
+ referenceElement,
35
+ isMobile,
36
+ close,
37
+ togglePanel: ({ Component, componentProps }) => isOpen ? close() : modalService.openModal({
38
+ id: PAYWALL_TOOLBAR_PANEL_ID,
39
+ type: "exclusive",
40
+ Component,
41
+ componentProps,
42
+ layout: isMobile ? "drawer" : "floating",
43
+ positioning: {
44
+ referenceElement: referenceElement ?? void 0,
45
+ placement: "bottom"
46
+ }
47
+ })
48
+ }),
49
+ dataHook: DATA_HOOK,
50
+ tabIndex: toolbarItem.presentation.tabIndex
51
+ }
52
+ );
53
+ };
54
+ const getPaywallToolbarButton = (services) => services.plugins.getConfig("PAYWALL").toolbarButton;
55
+ const createPaywallToolbarButton = (services, visible) => ({
56
+ id: "paywallToolbarButton",
57
+ type: "modal",
58
+ icon: () => null,
59
+ tooltip: "",
60
+ dataHook: DATA_HOOK,
61
+ attributes: { visible },
62
+ renderer: (toolbarItem) => {
63
+ const button = getPaywallToolbarButton(services);
64
+ return /* @__PURE__ */ React.createElement(React.Fragment, null, button && /* @__PURE__ */ React.createElement(PaywallToolbarButton, { button, toolbarItem }));
65
+ },
66
+ command: () => {
67
+ }
68
+ });
69
+ export {
70
+ PAYWALL_TOOLBAR_PANEL_ID,
71
+ createPaywallToolbarButton,
72
+ getPaywallToolbarButton
73
+ };
74
+ //# sourceMappingURL=paywall-toolbar-button.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/ricos-common-plugins/layout/paywall-toolbar-button.tsx"],
4
+ "sourcesContent": ["import React, { useContext, useEffect, useState } from 'react';\n\nimport type {\n PaywallPluginEditorConfig,\n PaywallToolbarButton as PaywallToolbarButtonConfig,\n} from './../../plugin-paywall/plugin-paywall.js';\nimport { RicosContext } from './../../ricos-context/index.js';\nimport {\n getIsModalOpen,\n useModalService,\n useModalState,\n} from './../../ricos-modals/modal-service-provider.js';\nimport type { IToolbarItem, Resolver, RicosServices, ToolbarButton } from './../../ricos-types/index.js';\nimport { ToolbarButton as ToolbarButtonComponent } from './../../_shared/toolbar-button/toolbar-button.js';\n\nexport const PAYWALL_TOOLBAR_PANEL_ID = 'paywallToolbarPanel';\nconst DATA_HOOK = 'paywall-toolbar-button';\n\nconst PaywallToolbarButton = ({\n button: { icon, label, onClick },\n toolbarItem,\n}: {\n button: PaywallToolbarButtonConfig;\n toolbarItem: IToolbarItem;\n}) => {\n const { isMobile } = useContext(RicosContext);\n const modalService = useModalService();\n const [referenceElement, setReferenceElement] = useState<HTMLButtonElement | null>(null);\n const isOpen = useModalState(getIsModalOpen(PAYWALL_TOOLBAR_PANEL_ID));\n const close = () => modalService.closeModal(PAYWALL_TOOLBAR_PANEL_ID);\n\n // Floating panels only close on an outside click; when the toolbar goes away for another\n // reason (undo, a programmatic selection change), the panel must not outlive it.\n useEffect(\n () => () => {\n modalService.isModalOpen(PAYWALL_TOOLBAR_PANEL_ID) && close();\n },\n [modalService]\n );\n\n return (\n <ToolbarButtonComponent\n ref={setReferenceElement}\n prefix={icon}\n label={label}\n active={isOpen}\n onClick={() =>\n onClick({\n referenceElement,\n isMobile,\n close,\n togglePanel: ({ Component, componentProps }) =>\n isOpen\n ? close()\n : modalService.openModal({\n id: PAYWALL_TOOLBAR_PANEL_ID,\n type: 'exclusive',\n Component,\n componentProps,\n layout: isMobile ? 'drawer' : 'floating',\n positioning: {\n referenceElement: referenceElement ?? undefined,\n placement: 'bottom',\n },\n }),\n })\n }\n dataHook={DATA_HOOK}\n tabIndex={toolbarItem.presentation.tabIndex}\n />\n );\n};\n\n// Layout registers before the opt-in paywall plugin, so its config is read at render time.\nexport const getPaywallToolbarButton = (services: RicosServices) =>\n (services.plugins.getConfig('PAYWALL') as Partial<PaywallPluginEditorConfig>).toolbarButton;\n\nexport const createPaywallToolbarButton = (\n services: RicosServices,\n visible: Resolver<boolean>\n): ToolbarButton => ({\n id: 'paywallToolbarButton',\n type: 'modal',\n icon: () => null,\n tooltip: '',\n dataHook: DATA_HOOK,\n attributes: { visible },\n renderer: toolbarItem => {\n const button = getPaywallToolbarButton(services);\n return <>{button && <PaywallToolbarButton button={button} toolbarItem={toolbarItem} />}</>;\n },\n command: () => {},\n});\n"],
5
+ "mappings": "AAAA,OAAO,SAAS,YAAY,WAAW,gBAAgB;AAMvD,SAAS,oBAAoB;AAC7B;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AAEP,SAAS,iBAAiB,8BAA8B;AAEjD,MAAM,2BAA2B;AACxC,MAAM,YAAY;AAElB,MAAM,uBAAuB,CAAC;AAAA,EAC5B,QAAQ,EAAE,MAAM,OAAO,QAAQ;AAAA,EAC/B;AACF,MAGM;AACJ,QAAM,EAAE,SAAS,IAAI,WAAW,YAAY;AAC5C,QAAM,eAAe,gBAAgB;AACrC,QAAM,CAAC,kBAAkB,mBAAmB,IAAI,SAAmC,IAAI;AACvF,QAAM,SAAS,cAAc,eAAe,wBAAwB,CAAC;AACrE,QAAM,QAAQ,MAAM,aAAa,WAAW,wBAAwB;AAIpE;AAAA,IACE,MAAM,MAAM;AACV,mBAAa,YAAY,wBAAwB,KAAK,MAAM;AAAA,IAC9D;AAAA,IACA,CAAC,YAAY;AAAA,EACf;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACC,KAAK;AAAA,MACL,QAAQ;AAAA,MACR;AAAA,MACA,QAAQ;AAAA,MACR,SAAS,MACP,QAAQ;AAAA,QACN;AAAA,QACA;AAAA,QACA;AAAA,QACA,aAAa,CAAC,EAAE,WAAW,eAAe,MACxC,SACI,MAAM,IACN,aAAa,UAAU;AAAA,UACrB,IAAI;AAAA,UACJ,MAAM;AAAA,UACN;AAAA,UACA;AAAA,UACA,QAAQ,WAAW,WAAW;AAAA,UAC9B,aAAa;AAAA,YACX,kBAAkB,oBAAoB;AAAA,YACtC,WAAW;AAAA,UACb;AAAA,QACF,CAAC;AAAA,MACT,CAAC;AAAA,MAEH,UAAU;AAAA,MACV,UAAU,YAAY,aAAa;AAAA;AAAA,EACrC;AAEJ;AAGO,MAAM,0BAA0B,CAAC,aACrC,SAAS,QAAQ,UAAU,SAAS,EAAyC;AAEzE,MAAM,6BAA6B,CACxC,UACA,aACmB;AAAA,EACnB,IAAI;AAAA,EACJ,MAAM;AAAA,EACN,MAAM,MAAM;AAAA,EACZ,SAAS;AAAA,EACT,UAAU;AAAA,EACV,YAAY,EAAE,QAAQ;AAAA,EACtB,UAAU,iBAAe;AACvB,UAAM,SAAS,wBAAwB,QAAQ;AAC/C,WAAO,0DAAG,UAAU,oCAAC,wBAAqB,QAAgB,aAA0B,CAAG;AAAA,EACzF;AAAA,EACA,SAAS,MAAM;AAAA,EAAC;AAClB;",
6
+ "names": []
7
+ }