@wix/ricos 11.20.4 → 11.20.6

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 (969) hide show
  1. package/css/all-plugins-viewer.css +161 -158
  2. package/css/plugin-audio-viewer.global.css +3 -3
  3. package/css/plugin-audio-viewer.global.inject.mjs +4 -4
  4. package/css/plugin-button-viewer.global.css +1 -1
  5. package/css/plugin-button-viewer.global.inject.mjs +2 -2
  6. package/css/plugin-card-viewer.global.css +1 -1
  7. package/css/plugin-card-viewer.global.inject.mjs +2 -2
  8. package/css/plugin-collapsible-list-viewer.global.css +1 -1
  9. package/css/plugin-collapsible-list-viewer.global.inject.mjs +2 -2
  10. package/css/plugin-divider-viewer.global.css +1 -1
  11. package/css/plugin-divider-viewer.global.inject.mjs +2 -2
  12. package/css/plugin-file-upload-viewer.global.css +1 -1
  13. package/css/plugin-file-upload-viewer.global.inject.mjs +2 -2
  14. package/css/plugin-gallery-viewer.global.css +1 -1
  15. package/css/plugin-gallery-viewer.global.inject.mjs +2 -2
  16. package/css/plugin-giphy-viewer.global.css +1 -1
  17. package/css/plugin-giphy-viewer.global.inject.mjs +2 -2
  18. package/css/plugin-hashtag-viewer.global.css +1 -1
  19. package/css/plugin-hashtag-viewer.global.inject.mjs +2 -2
  20. package/css/plugin-html-viewer.global.css +1 -1
  21. package/css/plugin-html-viewer.global.inject.mjs +2 -2
  22. package/css/plugin-image-viewer.global.css +1 -1
  23. package/css/plugin-image-viewer.global.inject.mjs +2 -2
  24. package/css/plugin-link-preview-viewer.global.css +2 -2
  25. package/css/plugin-link-preview-viewer.global.inject.mjs +3 -3
  26. package/css/plugin-link-viewer.global.css +1 -1
  27. package/css/plugin-link-viewer.global.inject.mjs +2 -2
  28. package/css/plugin-mentions-viewer.global.css +1 -1
  29. package/css/plugin-mentions-viewer.global.inject.mjs +2 -2
  30. package/css/plugin-paywall-viewer.global.css +1 -1
  31. package/css/plugin-paywall-viewer.global.inject.mjs +2 -2
  32. package/css/plugin-smart-block-viewer.global.css +1 -1
  33. package/css/plugin-smart-block-viewer.global.inject.mjs +2 -2
  34. package/css/plugin-social-polls-viewer.global.css +1 -1
  35. package/css/plugin-social-polls-viewer.global.inject.mjs +2 -2
  36. package/css/plugin-spoiler-viewer.global.css +1 -1
  37. package/css/plugin-spoiler-viewer.global.inject.mjs +2 -2
  38. package/css/plugin-table-viewer.global.css +3 -3
  39. package/css/plugin-table-viewer.global.inject.mjs +4 -4
  40. package/css/plugin-toc-viewer.global.css +1 -1
  41. package/css/plugin-toc-viewer.global.inject.mjs +2 -2
  42. package/css/plugin-vertical-embed-viewer.global.css +2 -2
  43. package/css/plugin-vertical-embed-viewer.global.inject.mjs +3 -3
  44. package/css/plugin-video-viewer.global.css +1 -1
  45. package/css/plugin-video-viewer.global.inject.mjs +2 -2
  46. package/css/ricos-viewer.global.css +1 -1
  47. package/css/ricos-viewer.global.inject.mjs +2 -2
  48. package/dist/cjs/_shared/dropdown-modal/dropdown-modal-scss.js +2 -2
  49. package/dist/cjs/_shared/dropdown-modal/dropdown-modal-scss.js.map +1 -1
  50. package/dist/cjs/_shared/figure/add-caption-button-scss.js +9 -9
  51. package/dist/cjs/_shared/figure/add-caption-button-scss.js.map +1 -1
  52. package/dist/cjs/_shared/figure/viewer-caption-scss.js +2 -2
  53. package/dist/cjs/_shared/figure/viewer-caption-scss.js.map +1 -1
  54. package/dist/cjs/_shared/figure/viewer-figure-scss.js +1 -1
  55. package/dist/cjs/_shared/figure/viewer-figure-scss.js.map +1 -1
  56. package/dist/cjs/_shared/get-lock-icon.js +25 -0
  57. package/dist/cjs/_shared/get-lock-icon.js.map +7 -0
  58. package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js +1 -1
  59. package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
  60. package/dist/cjs/_shared/list-item-select/list-item-select-scss.js +2 -2
  61. package/dist/cjs/_shared/list-item-select/list-item-select-scss.js.map +1 -1
  62. package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js +3 -3
  63. package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
  64. package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js +1 -1
  65. package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
  66. package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +2 -2
  67. package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
  68. package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +2 -2
  69. package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
  70. package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +7 -7
  71. package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
  72. package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js +13 -13
  73. package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  74. package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js +8 -8
  75. package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
  76. package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js +7 -7
  77. package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
  78. package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js +2 -2
  79. package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
  80. package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js +3 -3
  81. package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
  82. package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js +4 -4
  83. package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js.map +1 -1
  84. package/dist/cjs/editor-common/statics/styles/general-scss.js +18 -18
  85. package/dist/cjs/editor-common/statics/styles/general-scss.js.map +1 -1
  86. package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js +8 -8
  87. package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
  88. package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js +2 -2
  89. package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
  90. package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +1 -1
  91. package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
  92. package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +2 -2
  93. package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
  94. package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +5 -5
  95. package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
  96. package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js +6 -6
  97. package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
  98. package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js +1 -1
  99. package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
  100. package/dist/cjs/plugin-ai/error-message/error-message-scss.js +1 -1
  101. package/dist/cjs/plugin-ai/error-message/error-message-scss.js.map +1 -1
  102. package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js +4 -4
  103. package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  104. package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js +2 -2
  105. package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
  106. package/dist/cjs/plugin-animation/animation-panel-scss.js +9 -9
  107. package/dist/cjs/plugin-animation/animation-panel-scss.js.map +1 -1
  108. package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js +1 -1
  109. package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
  110. package/dist/cjs/plugin-audio/statics/styles/audio-scss.js +21 -21
  111. package/dist/cjs/plugin-audio/statics/styles/audio-scss.js.map +1 -1
  112. package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js +1 -1
  113. package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
  114. package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js +1 -1
  115. package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
  116. package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js +2 -2
  117. package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
  118. package/dist/cjs/plugin-block-drag-handle/styles-scss.js +8 -8
  119. package/dist/cjs/plugin-block-drag-handle/styles-scss.js.map +1 -1
  120. package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js +2 -2
  121. package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
  122. package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js +3 -3
  123. package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
  124. package/dist/cjs/plugin-button/statics/styles/settings-component-scss.js +1 -1
  125. package/dist/cjs/plugin-button/statics/styles/settings-component-scss.js.map +1 -1
  126. package/dist/cjs/plugin-card/card-scss.js +19 -19
  127. package/dist/cjs/plugin-card/card-scss.js.map +1 -1
  128. package/dist/cjs/plugin-card/card-viewer-scss.js +6 -6
  129. package/dist/cjs/plugin-card/card-viewer-scss.js.map +1 -1
  130. package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js +6 -6
  131. package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
  132. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
  133. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
  134. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
  135. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
  136. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +2 -2
  137. package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
  138. package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +3 -3
  139. package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
  140. package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
  141. package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
  142. package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js +1 -1
  143. package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
  144. package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js +1 -1
  145. package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
  146. package/dist/cjs/plugin-figure/tiptap/caption-scss.js +3 -3
  147. package/dist/cjs/plugin-figure/tiptap/caption-scss.js.map +1 -1
  148. package/dist/cjs/plugin-figure/tiptap/figure-scss.js +3 -3
  149. package/dist/cjs/plugin-figure/tiptap/figure-scss.js.map +1 -1
  150. package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
  151. package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
  152. package/dist/cjs/plugin-gallery/media/create-gallery-media-url.js +4 -1
  153. package/dist/cjs/plugin-gallery/media/create-gallery-media-url.js.map +2 -2
  154. package/dist/cjs/plugin-gallery/media/normalize-gallery-items.js +6 -0
  155. package/dist/cjs/plugin-gallery/media/normalize-gallery-items.js.map +2 -2
  156. package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +3 -3
  157. package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
  158. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/canonicalize-masonry-settings.js +3 -3
  159. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/canonicalize-masonry-settings.js.map +2 -2
  160. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +6 -6
  161. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
  162. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/layout-controls-section.js.map +2 -2
  163. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +5 -5
  164. package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
  165. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +1 -1
  166. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
  167. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +3 -3
  168. package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
  169. package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js +1 -1
  170. package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
  171. package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
  172. package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
  173. package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js +1 -1
  174. package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
  175. package/dist/cjs/plugin-gallery/viewer/collage-groups.js +147 -0
  176. package/dist/cjs/plugin-gallery/viewer/collage-groups.js.map +7 -0
  177. package/dist/cjs/plugin-gallery/viewer/collage-rows.js +361 -0
  178. package/dist/cjs/plugin-gallery/viewer/collage-rows.js.map +7 -0
  179. package/dist/cjs/plugin-gallery/viewer/collage-styles.js +73 -0
  180. package/dist/cjs/plugin-gallery/viewer/collage-styles.js.map +7 -0
  181. package/dist/cjs/plugin-gallery/viewer/gallery-renderer.js +3 -1
  182. package/dist/cjs/plugin-gallery/viewer/gallery-renderer.js.map +2 -2
  183. package/dist/cjs/plugin-gallery/viewer/layout-collage-scss.js +31 -0
  184. package/dist/cjs/plugin-gallery/viewer/layout-collage-scss.js.map +7 -0
  185. package/dist/cjs/plugin-gallery/viewer/layout-collage.js +265 -0
  186. package/dist/cjs/plugin-gallery/viewer/layout-collage.js.map +7 -0
  187. package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js +4 -4
  188. package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
  189. package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
  190. package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
  191. package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js +2 -2
  192. package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
  193. package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
  194. package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
  195. package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
  196. package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
  197. package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js +6 -6
  198. package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
  199. package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
  200. package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
  201. package/dist/cjs/plugin-gallery/viewer/resolve-gallery-layout.js +14 -4
  202. package/dist/cjs/plugin-gallery/viewer/resolve-gallery-layout.js.map +2 -2
  203. package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js +9 -9
  204. package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
  205. package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
  206. package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
  207. package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js +2 -2
  208. package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
  209. package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js +2 -2
  210. package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
  211. package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js +5 -5
  212. package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
  213. package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
  214. package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
  215. package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js +1 -1
  216. package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
  217. package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js +2 -2
  218. package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
  219. package/dist/cjs/plugin-html/tiptap/loader-scss.js +9 -9
  220. package/dist/cjs/plugin-html/tiptap/loader-scss.js.map +1 -1
  221. package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js +2 -2
  222. package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
  223. package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js +4 -4
  224. package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
  225. package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js +1 -1
  226. package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
  227. package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js +14 -14
  228. package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
  229. package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js +20 -20
  230. package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
  231. package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js +1 -1
  232. package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
  233. package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js +4 -4
  234. package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
  235. package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js +10 -10
  236. package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
  237. package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js +1 -1
  238. package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
  239. package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js +4 -4
  240. package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
  241. package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js +3 -3
  242. package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
  243. package/dist/cjs/plugin-inline-ai/modal-scss.js +9 -9
  244. package/dist/cjs/plugin-inline-ai/modal-scss.js.map +1 -1
  245. package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js +12 -12
  246. package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
  247. package/dist/cjs/plugin-inline-ai/spinner-scss.js +2 -2
  248. package/dist/cjs/plugin-inline-ai/spinner-scss.js.map +1 -1
  249. package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js +2 -2
  250. package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
  251. package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +1 -1
  252. package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
  253. package/dist/cjs/plugin-link/statics/link-viewer-scss.js +4 -4
  254. package/dist/cjs/plugin-link/statics/link-viewer-scss.js.map +1 -1
  255. package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js +1 -1
  256. package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
  257. package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js +1 -1
  258. package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
  259. package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
  260. package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
  261. package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js +1 -1
  262. package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
  263. package/dist/cjs/plugin-mentions/statics/mention-list-scss.js +3 -3
  264. package/dist/cjs/plugin-mentions/statics/mention-list-scss.js.map +1 -1
  265. package/dist/cjs/plugin-mentions/statics/mentions-scss.js +4 -4
  266. package/dist/cjs/plugin-mentions/statics/mentions-scss.js.map +1 -1
  267. package/dist/cjs/plugin-paywall/paywall-fallback-scss.js +1 -1
  268. package/dist/cjs/plugin-paywall/paywall-fallback-scss.js.map +1 -1
  269. package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js +22 -22
  270. package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
  271. package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
  272. package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
  273. package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
  274. package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
  275. package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js +20 -20
  276. package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
  277. package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js +7 -7
  278. package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
  279. package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js +1 -1
  280. package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
  281. package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js +50 -50
  282. package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
  283. package/dist/cjs/plugin-smart-block/components/stars-scss.js +8 -8
  284. package/dist/cjs/plugin-smart-block/components/stars-scss.js.map +1 -1
  285. package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js +7 -7
  286. package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
  287. package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js +13 -13
  288. package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
  289. package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
  290. package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
  291. package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js +1 -1
  292. package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
  293. package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
  294. package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
  295. package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js +23 -23
  296. package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
  297. package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
  298. package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
  299. package/dist/cjs/plugin-social-polls/components/poll-scss.js +19 -19
  300. package/dist/cjs/plugin-social-polls/components/poll-scss.js.map +1 -1
  301. package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js +2 -2
  302. package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
  303. package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
  304. package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
  305. package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
  306. package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
  307. package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
  308. package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
  309. package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js +5 -5
  310. package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
  311. package/dist/cjs/plugin-table/statics/styles/cell-scss.js +15 -15
  312. package/dist/cjs/plugin-table/statics/styles/cell-scss.js.map +1 -1
  313. package/dist/cjs/plugin-table/statics/styles/resizer-scss.js +18 -18
  314. package/dist/cjs/plugin-table/statics/styles/resizer-scss.js.map +1 -1
  315. package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js +1 -1
  316. package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
  317. package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js +6 -6
  318. package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
  319. package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js +9 -9
  320. package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
  321. package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js +33 -33
  322. package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
  323. package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js +2 -2
  324. package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
  325. package/dist/cjs/plugin-text-color/text-button-color-scss.js +2 -2
  326. package/dist/cjs/plugin-text-color/text-button-color-scss.js.map +1 -1
  327. package/dist/cjs/plugin-toc/toc-view-scss.js +2 -2
  328. package/dist/cjs/plugin-toc/toc-view-scss.js.map +1 -1
  329. package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
  330. package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
  331. package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js +23 -23
  332. package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
  333. package/dist/cjs/plugin-vertical-embed/components/card-scss.js +19 -19
  334. package/dist/cjs/plugin-vertical-embed/components/card-scss.js.map +1 -1
  335. package/dist/cjs/plugin-vertical-embed/components/description-scss.js +2 -2
  336. package/dist/cjs/plugin-vertical-embed/components/description-scss.js.map +1 -1
  337. package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js +2 -2
  338. package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
  339. package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js +10 -10
  340. package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
  341. package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js +1 -1
  342. package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
  343. package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
  344. package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
  345. package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js +8 -8
  346. package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
  347. package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js +3 -3
  348. package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
  349. package/dist/cjs/plugin-video/toolbar/embed-video-scss.js +1 -1
  350. package/dist/cjs/plugin-video/toolbar/embed-video-scss.js.map +1 -1
  351. package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +1 -1
  352. package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
  353. package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +8 -8
  354. package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
  355. package/dist/cjs/ricos-common-plugins/layout/layout-node-view.js +3 -13
  356. package/dist/cjs/ricos-common-plugins/layout/layout-node-view.js.map +2 -2
  357. package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js +33 -33
  358. package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js.map +2 -2
  359. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +2 -2
  360. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
  361. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +4 -4
  362. package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
  363. package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js +2 -2
  364. package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
  365. package/dist/cjs/ricos-common-plugins/statics/styles-scss.js +18 -18
  366. package/dist/cjs/ricos-common-plugins/statics/styles-scss.js.map +1 -1
  367. package/dist/cjs/ricos-common-plugins/title/headings-scss.js +8 -8
  368. package/dist/cjs/ricos-common-plugins/title/headings-scss.js.map +1 -1
  369. package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js +9 -9
  370. package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
  371. package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js +9 -9
  372. package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
  373. package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js +1 -1
  374. package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
  375. package/dist/cjs/ricos-modals/statics/styles/popper-scss.js +3 -3
  376. package/dist/cjs/ricos-modals/statics/styles/popper-scss.js.map +1 -1
  377. package/dist/cjs/ricos-schema/next-schema/version.js +1 -1
  378. package/dist/cjs/ricos-schema/next-schema/version.js.map +1 -1
  379. package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js +4 -4
  380. package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
  381. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
  382. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
  383. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
  384. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
  385. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
  386. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
  387. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
  388. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
  389. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
  390. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
  391. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
  392. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
  393. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
  394. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
  395. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
  396. package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
  397. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-carousel.js +2 -1
  398. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-carousel.js.map +2 -2
  399. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +12 -12
  400. package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
  401. package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js +16 -16
  402. package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
  403. package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js +7 -7
  404. package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
  405. package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
  406. package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
  407. package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js +2 -2
  408. package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
  409. package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +2 -2
  410. package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
  411. package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +13 -13
  412. package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
  413. package/dist/cjs/tiptap-extensions/placeholder-scss.js +1 -1
  414. package/dist/cjs/tiptap-extensions/placeholder-scss.js.map +1 -1
  415. package/dist/cjs/tiptap-extensions/statics/styles-scss.js +4 -4
  416. package/dist/cjs/tiptap-extensions/statics/styles-scss.js.map +1 -1
  417. package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +1 -1
  418. package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
  419. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +3 -3
  420. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
  421. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +3 -3
  422. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
  423. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +4 -4
  424. package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
  425. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +9 -9
  426. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
  427. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +1 -1
  428. package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
  429. package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +1 -1
  430. package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
  431. package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +5 -5
  432. package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
  433. package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +6 -6
  434. package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
  435. package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +1 -1
  436. package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
  437. package/dist/cjs/ui-components/Components/Image-scss.js +1 -1
  438. package/dist/cjs/ui-components/Components/Image-scss.js.map +1 -1
  439. package/dist/cjs/ui-components/Components/double-loader-scss.js +4 -4
  440. package/dist/cjs/ui-components/Components/double-loader-scss.js.map +1 -1
  441. package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +2 -2
  442. package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
  443. package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +13 -13
  444. package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
  445. package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +1 -1
  446. package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
  447. package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +2 -2
  448. package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
  449. package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +2 -2
  450. package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
  451. package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +1 -1
  452. package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
  453. package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js +1 -1
  454. package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
  455. package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js +3 -3
  456. package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
  457. package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +1 -1
  458. package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
  459. package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +4 -4
  460. package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
  461. package/dist/cjs/ui-components/panel/panel-scss.js +2 -2
  462. package/dist/cjs/ui-components/panel/panel-scss.js.map +1 -1
  463. package/dist/cjs/ui-components/panel-header/panel-header-scss.js +1 -1
  464. package/dist/cjs/ui-components/panel-header/panel-header-scss.js.map +1 -1
  465. package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +1 -1
  466. package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
  467. package/dist/cjs/ui-components/statics/styles/generic-error-scss.js +1 -1
  468. package/dist/cjs/ui-components/statics/styles/generic-error-scss.js.map +1 -1
  469. package/dist/cjs/ui-components/statics/styles/loaders-scss.js +8 -8
  470. package/dist/cjs/ui-components/statics/styles/loaders-scss.js.map +1 -1
  471. package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js +3 -3
  472. package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
  473. package/dist/cjs/ui-components/statics/styles/slider-scss.js +5 -5
  474. package/dist/cjs/ui-components/statics/styles/slider-scss.js.map +1 -1
  475. package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js +1 -1
  476. package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
  477. package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js +16 -16
  478. package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
  479. package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js +1 -1
  480. package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
  481. package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js +11 -11
  482. package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
  483. package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js +5 -5
  484. package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js.map +1 -1
  485. package/dist/es/_shared/figure/add-caption-button-scss.js +11 -11
  486. package/dist/es/_shared/figure/add-caption-button-scss.js.map +1 -1
  487. package/dist/es/_shared/figure/viewer-caption-scss.js +2 -2
  488. package/dist/es/_shared/figure/viewer-caption-scss.js.map +1 -1
  489. package/dist/es/_shared/figure/viewer-figure-scss.js +1 -1
  490. package/dist/es/_shared/figure/viewer-figure-scss.js.map +1 -1
  491. package/dist/es/_shared/get-lock-icon.js +5 -0
  492. package/dist/es/_shared/get-lock-icon.js.map +7 -0
  493. package/dist/es/_shared/list-item-divider/list-item-divider-scss.js +3 -3
  494. package/dist/es/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
  495. package/dist/es/_shared/list-item-select/list-item-select-scss.js +4 -4
  496. package/dist/es/_shared/list-item-select/list-item-select-scss.js.map +1 -1
  497. package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js +5 -5
  498. package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
  499. package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js +3 -3
  500. package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
  501. package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +4 -4
  502. package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
  503. package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +4 -4
  504. package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
  505. package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +9 -9
  506. package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
  507. package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js +15 -15
  508. package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  509. package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js +10 -10
  510. package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
  511. package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js +9 -9
  512. package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
  513. package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js +4 -4
  514. package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
  515. package/dist/es/_shared/toolbar-button/toolbar-button-scss.js +5 -5
  516. package/dist/es/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
  517. package/dist/es/bundled-dependencies/ai-assistant-avatar.js +6 -6
  518. package/dist/es/bundled-dependencies/ai-assistant-avatar.js.map +1 -1
  519. package/dist/es/editor-common/statics/styles/general-scss.js +20 -20
  520. package/dist/es/editor-common/statics/styles/general-scss.js.map +1 -1
  521. package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js +10 -10
  522. package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
  523. package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js +4 -4
  524. package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
  525. package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +3 -3
  526. package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
  527. package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +4 -4
  528. package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
  529. package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +7 -7
  530. package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
  531. package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js +8 -8
  532. package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
  533. package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js +3 -3
  534. package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
  535. package/dist/es/plugin-ai/error-message/error-message-scss.js +3 -3
  536. package/dist/es/plugin-ai/error-message/error-message-scss.js.map +1 -1
  537. package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js +6 -6
  538. package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
  539. package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js +4 -4
  540. package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
  541. package/dist/es/plugin-animation/animation-panel-scss.js +11 -11
  542. package/dist/es/plugin-animation/animation-panel-scss.js.map +1 -1
  543. package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js +3 -3
  544. package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
  545. package/dist/es/plugin-audio/statics/styles/audio-scss.js +21 -21
  546. package/dist/es/plugin-audio/statics/styles/audio-scss.js.map +1 -1
  547. package/dist/es/plugin-audio/statics/styles/icon-button-scss.js +1 -1
  548. package/dist/es/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
  549. package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js +3 -3
  550. package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
  551. package/dist/es/plugin-audio/statics/styles/sound-control-scss.js +2 -2
  552. package/dist/es/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
  553. package/dist/es/plugin-audio/viewer-styles-inject.js +4 -4
  554. package/dist/es/plugin-block-drag-handle/styles-scss.js +10 -10
  555. package/dist/es/plugin-block-drag-handle/styles-scss.js.map +1 -1
  556. package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js +4 -4
  557. package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
  558. package/dist/es/plugin-button/statics/styles/default-styles-scss.js +3 -3
  559. package/dist/es/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
  560. package/dist/es/plugin-button/statics/styles/settings-component-scss.js +3 -3
  561. package/dist/es/plugin-button/statics/styles/settings-component-scss.js.map +1 -1
  562. package/dist/es/plugin-button/viewer-styles-inject.js +2 -2
  563. package/dist/es/plugin-card/card-scss.js +19 -19
  564. package/dist/es/plugin-card/card-scss.js.map +1 -1
  565. package/dist/es/plugin-card/card-viewer-scss.js +6 -6
  566. package/dist/es/plugin-card/card-viewer-scss.js.map +1 -1
  567. package/dist/es/plugin-card/viewer-styles-inject.js +2 -2
  568. package/dist/es/plugin-code-block/statics/styles/code-block-scss.js +8 -8
  569. package/dist/es/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
  570. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
  571. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
  572. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
  573. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
  574. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +4 -4
  575. package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
  576. package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +5 -5
  577. package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
  578. package/dist/es/plugin-collapsible-list/viewer-styles-inject.js +2 -2
  579. package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
  580. package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
  581. package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js +3 -3
  582. package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
  583. package/dist/es/plugin-divider/viewer-styles-inject.js +2 -2
  584. package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js +3 -3
  585. package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
  586. package/dist/es/plugin-figure/tiptap/caption-scss.js +5 -5
  587. package/dist/es/plugin-figure/tiptap/caption-scss.js.map +1 -1
  588. package/dist/es/plugin-figure/tiptap/figure-scss.js +5 -5
  589. package/dist/es/plugin-figure/tiptap/figure-scss.js.map +1 -1
  590. package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
  591. package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
  592. package/dist/es/plugin-file-upload/viewer-styles-inject.js +2 -2
  593. package/dist/es/plugin-gallery/media/create-gallery-media-url.js +4 -1
  594. package/dist/es/plugin-gallery/media/create-gallery-media-url.js.map +2 -2
  595. package/dist/es/plugin-gallery/media/normalize-gallery-items.js +6 -0
  596. package/dist/es/plugin-gallery/media/normalize-gallery-items.js.map +2 -2
  597. package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +5 -5
  598. package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
  599. package/dist/es/plugin-gallery/modals/settings/layout-settings/canonicalize-masonry-settings.js +7 -4
  600. package/dist/es/plugin-gallery/modals/settings/layout-settings/canonicalize-masonry-settings.js.map +2 -2
  601. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +8 -8
  602. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
  603. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/layout-controls-section.js.map +2 -2
  604. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +7 -7
  605. package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
  606. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +3 -3
  607. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
  608. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +5 -5
  609. package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
  610. package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js +3 -3
  611. package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
  612. package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
  613. package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
  614. package/dist/es/plugin-gallery/statics/styles/viewer-scss.js +1 -1
  615. package/dist/es/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
  616. package/dist/es/plugin-gallery/viewer/collage-groups.js +127 -0
  617. package/dist/es/plugin-gallery/viewer/collage-groups.js.map +7 -0
  618. package/dist/es/plugin-gallery/viewer/collage-rows.js +341 -0
  619. package/dist/es/plugin-gallery/viewer/collage-rows.js.map +7 -0
  620. package/dist/es/plugin-gallery/viewer/collage-styles.js +53 -0
  621. package/dist/es/plugin-gallery/viewer/collage-styles.js.map +7 -0
  622. package/dist/es/plugin-gallery/viewer/gallery-renderer.js +3 -1
  623. package/dist/es/plugin-gallery/viewer/gallery-renderer.js.map +2 -2
  624. package/dist/es/plugin-gallery/viewer/layout-collage-scss.js +11 -0
  625. package/dist/es/plugin-gallery/viewer/layout-collage-scss.js.map +7 -0
  626. package/dist/es/plugin-gallery/viewer/layout-collage.js +235 -0
  627. package/dist/es/plugin-gallery/viewer/layout-collage.js.map +7 -0
  628. package/dist/es/plugin-gallery/viewer/layout-column-scss.js +4 -4
  629. package/dist/es/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
  630. package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
  631. package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
  632. package/dist/es/plugin-gallery/viewer/layout-grid-scss.js +2 -2
  633. package/dist/es/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
  634. package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
  635. package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
  636. package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
  637. package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
  638. package/dist/es/plugin-gallery/viewer/layout-slider-scss.js +6 -6
  639. package/dist/es/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
  640. package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
  641. package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
  642. package/dist/es/plugin-gallery/viewer/resolve-gallery-layout.js +14 -4
  643. package/dist/es/plugin-gallery/viewer/resolve-gallery-layout.js.map +2 -2
  644. package/dist/es/plugin-gallery/viewer-styles-inject.js +2 -2
  645. package/dist/es/plugin-giphy/components/giphy-selector-scss.js +11 -11
  646. package/dist/es/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
  647. package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
  648. package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
  649. package/dist/es/plugin-giphy/viewer/play-icon-scss.js +2 -2
  650. package/dist/es/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
  651. package/dist/es/plugin-giphy/viewer-styles-inject.js +2 -2
  652. package/dist/es/plugin-hashtag/statics/hashtag-scss.js +2 -2
  653. package/dist/es/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
  654. package/dist/es/plugin-hashtag/viewer-styles-inject.js +2 -2
  655. package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js +9 -9
  656. package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
  657. package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
  658. package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
  659. package/dist/es/plugin-html/statics/styles/Iframe-scss.js +1 -1
  660. package/dist/es/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
  661. package/dist/es/plugin-html/tiptap/ai-widget-scss.js +4 -4
  662. package/dist/es/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
  663. package/dist/es/plugin-html/tiptap/loader-scss.js +11 -11
  664. package/dist/es/plugin-html/tiptap/loader-scss.js.map +1 -1
  665. package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js +4 -4
  666. package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
  667. package/dist/es/plugin-html/viewer-styles-inject.js +2 -2
  668. package/dist/es/plugin-image/components/corner-radius-handles-scss.js +6 -6
  669. package/dist/es/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
  670. package/dist/es/plugin-image/components/crop-edge-handles-scss.js +3 -3
  671. package/dist/es/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
  672. package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js +16 -16
  673. package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
  674. package/dist/es/plugin-image/statics/styles/image-viewer-scss.js +20 -20
  675. package/dist/es/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
  676. package/dist/es/plugin-image/statics/styles/settings-modal-scss.js +3 -3
  677. package/dist/es/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
  678. package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js +6 -6
  679. package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
  680. package/dist/es/plugin-image/viewer-styles-inject.js +2 -2
  681. package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js +12 -12
  682. package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
  683. package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js +3 -3
  684. package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
  685. package/dist/es/plugin-inline-ai/aria-surface-row-scss.js +6 -6
  686. package/dist/es/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
  687. package/dist/es/plugin-inline-ai/html-placeholder-scss.js +5 -5
  688. package/dist/es/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
  689. package/dist/es/plugin-inline-ai/modal-scss.js +11 -11
  690. package/dist/es/plugin-inline-ai/modal-scss.js.map +1 -1
  691. package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js +14 -14
  692. package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
  693. package/dist/es/plugin-inline-ai/spinner-scss.js +4 -4
  694. package/dist/es/plugin-inline-ai/spinner-scss.js.map +1 -1
  695. package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js +4 -4
  696. package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
  697. package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +3 -3
  698. package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
  699. package/dist/es/plugin-link/statics/link-viewer-scss.js +4 -4
  700. package/dist/es/plugin-link/statics/link-viewer-scss.js.map +1 -1
  701. package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js +3 -3
  702. package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
  703. package/dist/es/plugin-link/viewer-styles-inject.js +2 -2
  704. package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js +3 -3
  705. package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
  706. package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
  707. package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
  708. package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js +3 -3
  709. package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
  710. package/dist/es/plugin-link-preview/viewer-styles-inject.js +3 -3
  711. package/dist/es/plugin-mentions/statics/mention-list-scss.js +6 -6
  712. package/dist/es/plugin-mentions/statics/mention-list-scss.js.map +1 -1
  713. package/dist/es/plugin-mentions/statics/mentions-scss.js +4 -4
  714. package/dist/es/plugin-mentions/statics/mentions-scss.js.map +1 -1
  715. package/dist/es/plugin-mentions/viewer-styles-inject.js +2 -2
  716. package/dist/es/plugin-paywall/paywall-fallback-scss.js +1 -1
  717. package/dist/es/plugin-paywall/paywall-fallback-scss.js.map +1 -1
  718. package/dist/es/plugin-smart-block/components/cell-accessory-scss.js +22 -22
  719. package/dist/es/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
  720. package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
  721. package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
  722. package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
  723. package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
  724. package/dist/es/plugin-smart-block/components/cell-stat-scss.js +20 -20
  725. package/dist/es/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
  726. package/dist/es/plugin-smart-block/components/circle-donut-scss.js +7 -7
  727. package/dist/es/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
  728. package/dist/es/plugin-smart-block/components/shape-overlay-scss.js +3 -3
  729. package/dist/es/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
  730. package/dist/es/plugin-smart-block/components/smart-block-view-scss.js +50 -50
  731. package/dist/es/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
  732. package/dist/es/plugin-smart-block/components/stars-scss.js +8 -8
  733. package/dist/es/plugin-smart-block/components/stars-scss.js.map +1 -1
  734. package/dist/es/plugin-smart-block/modals/variant-picker-scss.js +9 -9
  735. package/dist/es/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
  736. package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js +15 -15
  737. package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
  738. package/dist/es/plugin-smart-block/viewer-styles-inject.js +2 -2
  739. package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
  740. package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
  741. package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js +3 -3
  742. package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
  743. package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
  744. package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
  745. package/dist/es/plugin-social-polls/components/poll-option/option-scss.js +23 -23
  746. package/dist/es/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
  747. package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
  748. package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
  749. package/dist/es/plugin-social-polls/components/poll-scss.js +19 -19
  750. package/dist/es/plugin-social-polls/components/poll-scss.js.map +1 -1
  751. package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js +4 -4
  752. package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
  753. package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
  754. package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
  755. package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
  756. package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
  757. package/dist/es/plugin-social-polls/viewer-styles-inject.js +2 -2
  758. package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
  759. package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
  760. package/dist/es/plugin-spoiler/viewer-styles-inject.js +2 -2
  761. package/dist/es/plugin-table/modals/table-grid-selector-scss.js +7 -7
  762. package/dist/es/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
  763. package/dist/es/plugin-table/statics/styles/cell-scss.js +15 -15
  764. package/dist/es/plugin-table/statics/styles/cell-scss.js.map +1 -1
  765. package/dist/es/plugin-table/statics/styles/resizer-scss.js +20 -20
  766. package/dist/es/plugin-table/statics/styles/resizer-scss.js.map +1 -1
  767. package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js +3 -3
  768. package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
  769. package/dist/es/plugin-table/statics/styles/table-viewer-scss.js +6 -6
  770. package/dist/es/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
  771. package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js +11 -11
  772. package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
  773. package/dist/es/plugin-table/tiptap/plugins/table-scss.js +35 -35
  774. package/dist/es/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
  775. package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js +4 -4
  776. package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
  777. package/dist/es/plugin-table/viewer-styles-inject.js +4 -4
  778. package/dist/es/plugin-text-color/text-button-color-scss.js +4 -4
  779. package/dist/es/plugin-text-color/text-button-color-scss.js.map +1 -1
  780. package/dist/es/plugin-toc/toc-view-scss.js +2 -2
  781. package/dist/es/plugin-toc/toc-view-scss.js.map +1 -1
  782. package/dist/es/plugin-toc/viewer-styles-inject.js +2 -2
  783. package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
  784. package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
  785. package/dist/es/plugin-vertical-embed/components/card-content-scss.js +23 -23
  786. package/dist/es/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
  787. package/dist/es/plugin-vertical-embed/components/card-scss.js +19 -19
  788. package/dist/es/plugin-vertical-embed/components/card-scss.js.map +1 -1
  789. package/dist/es/plugin-vertical-embed/components/description-scss.js +2 -2
  790. package/dist/es/plugin-vertical-embed/components/description-scss.js.map +1 -1
  791. package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js +4 -4
  792. package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
  793. package/dist/es/plugin-vertical-embed/tiptap/component-scss.js +12 -12
  794. package/dist/es/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
  795. package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js +3 -3
  796. package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
  797. package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
  798. package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
  799. package/dist/es/plugin-vertical-embed/viewer-styles-inject.js +3 -3
  800. package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js +10 -10
  801. package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
  802. package/dist/es/plugin-video/statics/styles/video-viewer-scss.js +3 -3
  803. package/dist/es/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
  804. package/dist/es/plugin-video/toolbar/embed-video-scss.js +3 -3
  805. package/dist/es/plugin-video/toolbar/embed-video-scss.js.map +1 -1
  806. package/dist/es/plugin-video/viewer-styles-inject.js +2 -2
  807. package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +3 -3
  808. package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
  809. package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +10 -10
  810. package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
  811. package/dist/es/ricos-common-plugins/layout/layout-node-view.js +3 -13
  812. package/dist/es/ricos-common-plugins/layout/layout-node-view.js.map +2 -2
  813. package/dist/es/ricos-common-plugins/layout/layouts-scss.js +35 -35
  814. package/dist/es/ricos-common-plugins/layout/layouts-scss.js.map +2 -2
  815. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +4 -4
  816. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
  817. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +6 -6
  818. package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
  819. package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js +4 -4
  820. package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
  821. package/dist/es/ricos-common-plugins/statics/styles-scss.js +20 -20
  822. package/dist/es/ricos-common-plugins/statics/styles-scss.js.map +1 -1
  823. package/dist/es/ricos-common-plugins/title/headings-scss.js +10 -10
  824. package/dist/es/ricos-common-plugins/title/headings-scss.js.map +1 -1
  825. package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js +11 -11
  826. package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
  827. package/dist/es/ricos-modals/statics/styles/drawer-scss.js +11 -11
  828. package/dist/es/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
  829. package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js +3 -3
  830. package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
  831. package/dist/es/ricos-modals/statics/styles/popper-scss.js +5 -5
  832. package/dist/es/ricos-modals/statics/styles/popper-scss.js.map +1 -1
  833. package/dist/es/ricos-schema/next-schema/version.js +1 -1
  834. package/dist/es/ricos-schema/next-schema/version.js.map +1 -1
  835. package/dist/es/ricos-styles/statics/styles/style-presets-scss.js +8 -8
  836. package/dist/es/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
  837. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
  838. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
  839. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
  840. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
  841. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
  842. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
  843. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
  844. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
  845. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
  846. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
  847. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
  848. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
  849. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
  850. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
  851. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
  852. package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
  853. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-carousel.js +2 -1
  854. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-carousel.js.map +2 -2
  855. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +14 -14
  856. package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
  857. package/dist/es/ricos-viewer-next/statics/alignment-scss.js +16 -16
  858. package/dist/es/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
  859. package/dist/es/ricos-viewer-next/statics/indentation-scss.js +7 -7
  860. package/dist/es/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
  861. package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
  862. package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
  863. package/dist/es/ricos-viewer-next/statics/rtl-scss.js +2 -2
  864. package/dist/es/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
  865. package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +4 -4
  866. package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
  867. package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +15 -15
  868. package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
  869. package/dist/es/tiptap-extensions/placeholder-scss.js +3 -3
  870. package/dist/es/tiptap-extensions/placeholder-scss.js.map +1 -1
  871. package/dist/es/tiptap-extensions/statics/styles-scss.js +6 -6
  872. package/dist/es/tiptap-extensions/statics/styles-scss.js.map +1 -1
  873. package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +3 -3
  874. package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
  875. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +5 -5
  876. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
  877. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +5 -5
  878. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
  879. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +6 -6
  880. package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
  881. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +11 -11
  882. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
  883. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +3 -3
  884. package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
  885. package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +5 -5
  886. package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
  887. package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +7 -7
  888. package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
  889. package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +8 -8
  890. package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
  891. package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +3 -3
  892. package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
  893. package/dist/es/ui-components/Components/Image-scss.js +3 -3
  894. package/dist/es/ui-components/Components/Image-scss.js.map +1 -1
  895. package/dist/es/ui-components/Components/double-loader-scss.js +6 -6
  896. package/dist/es/ui-components/Components/double-loader-scss.js.map +1 -1
  897. package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +4 -4
  898. package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
  899. package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +15 -15
  900. package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
  901. package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +3 -3
  902. package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
  903. package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +4 -4
  904. package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
  905. package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +4 -4
  906. package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
  907. package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +3 -3
  908. package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
  909. package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js +3 -3
  910. package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
  911. package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js +5 -5
  912. package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
  913. package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +3 -3
  914. package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
  915. package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +6 -6
  916. package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
  917. package/dist/es/ui-components/panel/panel-scss.js +4 -4
  918. package/dist/es/ui-components/panel/panel-scss.js.map +1 -1
  919. package/dist/es/ui-components/panel-header/panel-header-scss.js +3 -3
  920. package/dist/es/ui-components/panel-header/panel-header-scss.js.map +1 -1
  921. package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +3 -3
  922. package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
  923. package/dist/es/ui-components/statics/styles/generic-error-scss.js +3 -3
  924. package/dist/es/ui-components/statics/styles/generic-error-scss.js.map +1 -1
  925. package/dist/es/ui-components/statics/styles/loaders-scss.js +10 -10
  926. package/dist/es/ui-components/statics/styles/loaders-scss.js.map +1 -1
  927. package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js +5 -5
  928. package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
  929. package/dist/es/ui-components/statics/styles/slider-scss.js +9 -9
  930. package/dist/es/ui-components/statics/styles/slider-scss.js.map +1 -1
  931. package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js +3 -3
  932. package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
  933. package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js +18 -18
  934. package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
  935. package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js +3 -3
  936. package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
  937. package/dist/es/wix-rich-content-common/statics/styles/general-scss.js +13 -13
  938. package/dist/es/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
  939. package/dist/src/_shared/get-lock-icon.d.ts +2 -0
  940. package/dist/src/_shared/get-lock-icon.d.ts.map +1 -0
  941. package/dist/src/plugin-gallery/media/create-gallery-media-url.d.ts.map +1 -1
  942. package/dist/src/plugin-gallery/media/normalize-gallery-items.d.ts +6 -0
  943. package/dist/src/plugin-gallery/media/normalize-gallery-items.d.ts.map +1 -1
  944. package/dist/src/plugin-gallery/modals/settings/layout-settings/canonicalize-masonry-settings.d.ts.map +1 -1
  945. package/dist/src/plugin-gallery/modals/settings/layout-settings/layout-controls-section/layout-controls-section.d.ts.map +1 -1
  946. package/dist/src/plugin-gallery/viewer/collage-groups.d.ts +19 -0
  947. package/dist/src/plugin-gallery/viewer/collage-groups.d.ts.map +1 -0
  948. package/dist/src/plugin-gallery/viewer/collage-groups.spec.d.ts +2 -0
  949. package/dist/src/plugin-gallery/viewer/collage-groups.spec.d.ts.map +1 -0
  950. package/dist/src/plugin-gallery/viewer/collage-rows.d.ts +34 -0
  951. package/dist/src/plugin-gallery/viewer/collage-rows.d.ts.map +1 -0
  952. package/dist/src/plugin-gallery/viewer/collage-rows.spec.d.ts +2 -0
  953. package/dist/src/plugin-gallery/viewer/collage-rows.spec.d.ts.map +1 -0
  954. package/dist/src/plugin-gallery/viewer/collage-styles.d.ts +23 -0
  955. package/dist/src/plugin-gallery/viewer/collage-styles.d.ts.map +1 -0
  956. package/dist/src/plugin-gallery/viewer/collage-styles.spec.d.ts +2 -0
  957. package/dist/src/plugin-gallery/viewer/collage-styles.spec.d.ts.map +1 -0
  958. package/dist/src/plugin-gallery/viewer/gallery-renderer.d.ts.map +1 -1
  959. package/dist/src/plugin-gallery/viewer/layout-collage.d.ts +16 -0
  960. package/dist/src/plugin-gallery/viewer/layout-collage.d.ts.map +1 -0
  961. package/dist/src/plugin-gallery/viewer/layout-collage.spec.d.ts +2 -0
  962. package/dist/src/plugin-gallery/viewer/layout-collage.spec.d.ts.map +1 -0
  963. package/dist/src/plugin-gallery/viewer/resolve-gallery-layout.d.ts +6 -0
  964. package/dist/src/plugin-gallery/viewer/resolve-gallery-layout.d.ts.map +1 -1
  965. package/dist/src/ricos-common-plugins/layout/layout-node-view.d.ts.map +1 -1
  966. package/dist/src/ricos-schema/next-schema/version.d.ts +1 -1
  967. package/dist/src/ricos-styles/tests/test-cases.d.ts +5 -5
  968. package/dist/src/ricos-viewer-next/modals/fullscreen/fullscreen-carousel.d.ts.map +1 -1
  969. package/package.json +3 -3
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/plugin-gallery/viewer/collage-rows.ts"],
4
+ "sourcesContent": ["import type { NormalizedGalleryItem } from '../media/normalize-gallery-items.js';\n\n// A port of ProGallery's Rows Collage layout (pro-layouts 5, MIT): groups of\n// up to three items fill strips across the gallery, each strip justified to\n// the gallery width unless it is the last one and would grow too tall.\n//\n// Within a range of gallery widths where the strips and groups stay the same,\n// every item's position and size are linear in the gallery width, so\n// `layout-collage.scss` can lay them out exactly from coefficients alone.\n\n/** `value = a × gallery + b` in px, `gallery` being the width plus spacing. */\nexport type LinearSize = [a: number, b: number];\n\nexport type RowsRect = { x: LinearSize; y: LinearSize; width: LinearSize; height: LinearSize };\n\n/** A layout from a gallery width (plus spacing) up, until the next regime's. */\nexport type RowsRegime = { minGallery: number; rects: RowsRect[] };\n\ntype GroupType = '1' | '2h' | '2v' | '3t' | '3b';\n\n// ProGallery's group types for Rows by the orientations of the next three\n// items, without the types its Collage did not allow.\nconst ROWS_GROUP_TYPES: Record<string, GroupType[]> = {\n lll: ['1', '2v', '3t', '3b'],\n llp: ['1', '2v', '3t'],\n lpl: ['1', '2v', '3t', '3b'],\n pll: ['1', '2v', '3b'],\n lpp: ['1', '2v', '3t'],\n plp: ['1', '2v'],\n ppl: ['1', '3b'],\n ppp: ['1', '2h'],\n};\n\nconst GROUP_SIZE: Record<GroupType, number> = { '1': 1, '2h': 2, '2v': 2, '3t': 3, '3b': 3 };\n\nconst LANDSCAPE_MIN_RATIO = 0.999;\nconst MIN_ITEM_SIZE = 120;\n// Floating-point headroom, so an item exactly at the minimum keeps fitting.\nconst SIZE_TOLERANCE = 1e-6;\n\n// A last strip may stay narrower than the gallery once justifying it would\n// make it taller than this many times the target row height.\nconst INCOMPLETE_STRIP_STRETCH = 1.5;\n\n// Justifying a strip resizes groups that fit at the target row height; one\n// whose item would shrink below this size is split into singles instead.\n// ProGallery let such items collapse to 1px.\nconst MIN_JUSTIFIED_SIZE = 30;\n\n// Gallery widths, plus spacing, probed for regimes, each this factor apart,\n// and the precision each change between two probes is then narrowed down to.\n// A regime narrower than the probes' spacing can go unnoticed.\nconst MIN_GALLERY = 160;\nconst MAX_GALLERY = 4000;\n// Far enough that every gallery is a single strip kept at the target row\n// height, whose layout no longer changes with the width: the last probe, so\n// the widest regime holds at any width.\nconst FAR_GALLERY = 1e9;\nconst PROBE_FACTOR = 1.1;\nconst REGIME_PRECISION = 0.25;\n\n// Widths most worth keeping exact when a gallery has more regimes than the\n// layout can switch between, most important first: content columns, phones\n// and wide pages.\nconst PREFERRED_GALLERIES = [740, 360, 1000, 1300, 1700];\n\ntype Rect = [x: number, y: number, width: number, height: number];\n\ntype Group = { type: GroupType; first: number; ratios: number[]; ratio: number };\n\nconst ratioOf = (item: NormalizedGalleryItem) => item.width / item.height;\n\n// The group's width at a given height, by ProGallery's Group formulas.\nconst getGroupWidth = (type: GroupType, [a, b, c]: number[], height: number, spacing: number) => {\n switch (type) {\n case '1':\n return height * a + spacing * (1 - a);\n case '2h':\n return height * (a + b) + spacing * (2 - a - b);\n case '2v': {\n const ratio = 1 / (1 / a + 1 / b);\n return height * ratio + spacing * (1 - 2 * ratio);\n }\n case '3t':\n case '3b': {\n const pair = type === '3t' ? b + c : a + b;\n const large = type === '3t' ? a : c;\n const ratio = 1 / (1 / pair + 1 / large);\n return height * ratio + spacing * (2 / pair + 1 / large - 2) * ratio;\n }\n }\n};\n\n// Item rects within a group `height` tall, as ProGallery sized and pinned\n// them: at the group's natural width for that height, then stretched to\n// `width` (the remainder of a justified strip), which only widens items.\nconst getItemRects = (\n type: GroupType,\n ratios: number[],\n width: number,\n height: number,\n spacing: number\n): Rect[] => {\n const [a, b, c] = ratios;\n const natural = getGroupWidth(type, ratios, height, spacing);\n switch (type) {\n case '1':\n return [[0, 0, width - spacing, height - spacing]];\n case '2v': {\n const bottomHeight = (natural - spacing) / b;\n return [\n [0, 0, width - spacing, height - bottomHeight - 2 * spacing],\n [0, height - bottomHeight - spacing, width - spacing, bottomHeight],\n ];\n }\n case '2h': {\n const itemHeight = height - spacing;\n const rightWidth = itemHeight * b;\n return [\n [0, 0, width - rightWidth - 2 * spacing, itemHeight],\n [width - rightWidth - spacing, 0, rightWidth, itemHeight],\n ];\n }\n case '3t': {\n const topHeight = (natural - spacing) / a;\n const pairHeight = height - topHeight - 2 * spacing;\n const rightWidth = pairHeight * c;\n return [\n [0, 0, width - spacing, topHeight],\n [0, height - pairHeight - spacing, width - rightWidth - 2 * spacing, pairHeight],\n [width - rightWidth - spacing, height - pairHeight - spacing, rightWidth, pairHeight],\n ];\n }\n case '3b': {\n const bottomHeight = (natural - spacing) / c;\n const pairHeight = height - bottomHeight - 2 * spacing;\n const rightWidth = pairHeight * b;\n return [\n [0, 0, width - rightWidth - 2 * spacing, pairHeight],\n [width - rightWidth - spacing, 0, rightWidth, pairHeight],\n [0, height - bottomHeight - spacing, width - spacing, bottomHeight],\n ];\n }\n }\n};\n\nconst getGroupType = (\n items: NormalizedGalleryItem[],\n first: number,\n forcedSize: number,\n seed: number\n): GroupType => {\n if (forcedSize === 1) {\n return '1';\n }\n const orientations = items\n .slice(first, first + 3)\n .map(item => (ratioOf(item) < LANDSCAPE_MIN_RATIO ? 'p' : 'l'))\n .join('');\n const types: GroupType[] = forcedSize === 2 ? ['1', '2v'] : ROWS_GROUP_TYPES[orientations];\n // ProGallery's 0.8 collage density dropped singles wherever a group of three\n // was possible.\n const dense = types[types.length - 1].startsWith('3') ? types.slice(1) : types;\n return dense[seed % dense.length];\n};\n\n// ProGallery's Rows group from `first`, sized at the target row height: picked\n// by its position in the strip and broken up into fewer items while any item\n// would fall below MIN_ITEM_SIZE. `singles` start groups of one regardless.\nconst getGroup = (\n items: NormalizedGalleryItem[],\n first: number,\n seed: number,\n rowHeight: number,\n spacing: number,\n singles: Set<number>\n): Group => {\n const maxSize = singles.has(first) ? 1 : Math.min(3, items.length - first);\n for (let forcedSize = maxSize; forcedSize > 1; forcedSize--) {\n const type = getGroupType(items, first, forcedSize, seed);\n const ratios = items.slice(first, first + GROUP_SIZE[type]).map(ratioOf);\n const width = getGroupWidth(type, ratios, rowHeight, spacing);\n const fits =\n type === '1' ||\n getItemRects(type, ratios, width, rowHeight, spacing).every(\n ([, , itemWidth, itemHeight]) =>\n Math.min(itemWidth, itemHeight) >= MIN_ITEM_SIZE - SIZE_TOLERANCE\n );\n if (fits) {\n return { type, first, ratios, ratio: width / rowHeight };\n }\n }\n const ratios = [ratioOf(items[first])];\n return {\n type: '1',\n first,\n ratios,\n ratio: getGroupWidth('1', ratios, rowHeight, spacing) / rowHeight,\n };\n};\n\n// Whether a strip should close before taking `group`: once it is shorter than\n// the target, or would end closer to it without the group than with it. The\n// gallery's last group joins a strip that is already too short unless it\n// ends closer to the target without it.\nconst isStripFull = (\n stripRatio: number,\n groupRatio: number,\n isLastGroup: boolean,\n gallery: number,\n rowHeight: number\n) => {\n if (stripRatio === 0) {\n return false;\n }\n const withGroup = gallery / (stripRatio + groupRatio) - rowHeight;\n const withoutGroup = gallery / stripRatio - rowHeight;\n const endsCloserWithout = Math.abs(withoutGroup) < Math.abs(withGroup);\n const isFull = withoutGroup < 0 || (withGroup < 0 && endsCloserWithout);\n return isFull && (!isLastGroup || endsCloserWithout);\n};\n\n/**\n * ProGallery's Rows Collage for a gallery `gallery` wide, one spacing\n * included: item rects and a key that changes whenever the strips do.\n */\nexport const layoutRows = (\n items: NormalizedGalleryItem[],\n gallery: number,\n spacing: number,\n targetSize: number\n) => {\n // ProGallery's target row height, which counts one spacing in.\n const rowHeight = Math.floor(targetSize) + Math.ceil(spacing);\n const rects: Rect[] = [];\n const keys: string[] = [];\n // Where justifying a strip would collapse an item, these change how it is\n // rebuilt: groups of one from `singles`, and new strips from `breaks`.\n const singles = new Set<number>();\n const breaks = new Set<number>();\n let top = 0;\n let strip: Group[] = [];\n let stripRatio = 0;\n let stripFirst = 0;\n let first = 0;\n\n // Places the strip's items, or adds the constraint that keeps an item from\n // collapsing and reports that the strip needs rebuilding.\n const placeStrip = (height: number, justified: boolean) => {\n let left = 0;\n for (let index = 0; index < strip.length; index++) {\n const group = strip[index];\n const isLast = index === strip.length - 1;\n const width =\n isLast && justified\n ? gallery - left\n : getGroupWidth(group.type, group.ratios, height, spacing);\n const groupRects = getItemRects(group.type, group.ratios, width, height, spacing);\n const collapses =\n justified &&\n groupRects.some(\n ([, , itemWidth, itemHeight]) => Math.min(itemWidth, itemHeight) < MIN_JUSTIFIED_SIZE\n );\n if (collapses && group.type !== '1') {\n singles.add(group.first);\n return false;\n }\n // A single shrinks in a strip holding too many groups, so the strip\n // breaks before it, or after it when it comes first.\n const breakAt = index > 0 ? group.first : strip[index + 1]?.first;\n if (collapses && breakAt !== undefined && !breaks.has(breakAt)) {\n breaks.add(breakAt);\n return false;\n }\n // Alone, it can still collapse where ProGallery's strip ratio, which\n // counts spacing in, outweighs the item's own: it then keeps its own.\n if (collapses && strip.length === 1) {\n const itemWidth = gallery - spacing;\n rects[group.first] = [0, top, itemWidth, itemWidth / group.ratios[0]];\n keys.push(`=${group.first}`);\n top += itemWidth / group.ratios[0] + spacing;\n return true;\n }\n groupRects.forEach(([x, y, itemWidth, itemHeight], offset) => {\n rects[group.first + offset] = [left + x, top + y, itemWidth, itemHeight];\n });\n left += width;\n }\n keys.push(`${strip.map(group => `${group.type}${group.first}`).join()}${justified ? '' : '!'}`);\n top += height;\n return true;\n };\n\n // Each rebuild adds a new single or break, so a strip is rebuilt at most\n // twice per item in it.\n const closeStrip = (height: number, justified: boolean) => {\n if (!placeStrip(height, justified)) {\n first = stripFirst;\n }\n strip = [];\n stripRatio = 0;\n stripFirst = first;\n };\n\n while (first < items.length) {\n // ProGallery seeded a Rows group by its strip and its place in that strip.\n const seed = keys.length + 1 + strip.length + 1;\n const group = getGroup(items, first, seed, rowHeight, spacing, singles);\n const isLastGroup = first + GROUP_SIZE[group.type] >= items.length;\n if (\n strip.length > 0 &&\n (breaks.has(first) || isStripFull(stripRatio, group.ratio, isLastGroup, gallery, rowHeight))\n ) {\n closeStrip(gallery / stripRatio, true);\n continue;\n }\n strip.push(group);\n stripRatio += group.ratio;\n first += GROUP_SIZE[group.type];\n if (first >= items.length) {\n const justifiedHeight = gallery / stripRatio;\n const isIncomplete = rowHeight * INCOMPLETE_STRIP_STRETCH < justifiedHeight;\n closeStrip(isIncomplete ? rowHeight : justifiedHeight, !isIncomplete);\n }\n }\n return { rects, key: keys.join('|') };\n};\n\nconst toLinear = (atLow: number, atHigh: number, low: number, high: number): LinearSize => {\n const a = (atHigh - atLow) / (high - low);\n return [a, atLow - a * low];\n};\n\nconst valueAt = ([a, b]: LinearSize, gallery: number) => a * gallery + b;\n\nconst getProbes = () => {\n const probes: number[] = [];\n for (let gallery = MIN_GALLERY; gallery < MAX_GALLERY; gallery *= PROBE_FACTOR) {\n probes.push(gallery);\n }\n return [...probes, MAX_GALLERY, FAR_GALLERY];\n};\n\ntype Run = { key: string; first: number; last: number };\n\ntype Regime = { start: number; end: number; rects: RowsRect[] };\n\n// Regimes added where a kept layout would otherwise stretch over widths where\n// it no longer fits; past these, the remaining such widths are stacked.\nconst MAX_REPAIRS = 4;\n\n// Each item on a strip of its own, which fits at any width: the last resort\n// for widths no few layouts can cover.\nconst getStackedRects = (items: NormalizedGalleryItem[], spacing: number): RowsRect[] => {\n let y: LinearSize = [0, 0];\n return items.map(item => {\n const ratio = ratioOf(item);\n const height: LinearSize = [1 / ratio, -spacing / ratio];\n const rect = { x: [0, 0] as LinearSize, y, width: [1, -spacing] as LinearSize, height };\n y = [y[0] + height[0], y[1] + height[1] + spacing];\n return rect;\n });\n};\n\n/**\n * The Collage's Rows layouts by gallery width (plus spacing), narrowest first.\n * Past `maxRegimes`, the narrowest and widest are kept, then those around\n * PREFERRED_GALLERIES, each stretching over the widths up to the next — and\n * more are kept where a stretched layout would shrink an item or overflow.\n * Below the first regime's `minGallery`, 0 unless the narrowest layout would\n * overflow there, the items stack.\n */\nexport const getRowsRegimes = (\n items: NormalizedGalleryItem[],\n spacing: number,\n targetSize: number,\n maxRegimes: number\n): RowsRegime[] => {\n const keyAt = (gallery: number) => layoutRows(items, gallery, spacing, targetSize).key;\n // Between a width laid out otherwise and a width laid out as `key`, the\n // width laid out as `key` closest to the former.\n const narrowDown = (outside: number, inside: number, key: string) => {\n if (keyAt(outside) === key) {\n return outside;\n }\n let [low, high] = [outside, inside];\n while (Math.abs(high - low) > REGIME_PRECISION) {\n const middle = (low + high) / 2;\n if (keyAt(middle) === key) {\n high = middle;\n } else {\n low = middle;\n }\n }\n return high;\n };\n\n // The regime laid out like `gallery`, found between two widths outside it.\n const regimeAround = (gallery: number, below: number, above: number): Regime => {\n const key = keyAt(gallery);\n const start = narrowDown(below, gallery, key);\n const end = narrowDown(above, gallery, key);\n // Sampled strictly inside the regime, where its own layout holds.\n const margin = Math.min(REGIME_PRECISION, (end - start) / 4);\n const [low, high] = end - start > 0 ? [start + margin, end - margin] : [start, start];\n const atLow = layoutRows(items, low, spacing, targetSize).rects;\n const atHigh = high > low ? layoutRows(items, high, spacing, targetSize).rects : atLow;\n return {\n start,\n end,\n rects: atLow.map((rect, item) => {\n const [x, y, width, height] = rect.map(\n (value, coordinate): LinearSize =>\n high > low ? toLinear(value, atHigh[item][coordinate], low, high) : [0, value]\n );\n return { x, y, width, height };\n }),\n };\n };\n\n // Every condition is linear in the width, so a layout that fits at both\n // ends of a range fits throughout: no item shrinks below what it has at\n // the regime's own ends (or MIN_JUSTIFIED_SIZE), and none overflows.\n const fitsOver = ({ start, end, rects }: Regime, to: number) =>\n rects.every(({ x, width, height }) =>\n [start, to].every(gallery => {\n const floorOf = (size: LinearSize) =>\n Math.min(MIN_JUSTIFIED_SIZE, valueAt(size, start), valueAt(size, end)) - REGIME_PRECISION;\n return (\n valueAt(width, gallery) >= floorOf(width) &&\n valueAt(height, gallery) >= floorOf(height) &&\n valueAt(x, gallery) + valueAt(width, gallery) <= gallery - spacing + REGIME_PRECISION\n );\n })\n );\n\n const probes = getProbes();\n const runs = probes.reduce<Run[]>((found, gallery, index) => {\n const key = keyAt(gallery);\n const last = found[found.length - 1];\n if (last?.key === key) {\n last.last = index;\n } else {\n found.push({ key, first: index, last: index });\n }\n return found;\n }, []);\n const regimeOfRun = (index: number) => {\n const run = runs[index];\n return regimeAround(\n probes[run.first],\n probes[Math.max(0, run.first - 1)],\n probes[Math.min(probes.length - 1, run.last + 1)]\n );\n };\n\n const runAt = (gallery: number) =>\n Math.max(\n 0,\n runs.findIndex(run => probes[run.last] >= gallery)\n );\n const keptRuns = new Set([0, runs.length - 1]);\n // A widest regime that begins only past the probed widths takes no slot.\n const slots = maxRegimes + (runs[runs.length - 1].first === probes.length - 1 ? 1 : 0);\n PREFERRED_GALLERIES.map(runAt).forEach(index => {\n if (keptRuns.size < slots) {\n keptRuns.add(index);\n }\n });\n const kept = [...keptRuns].sort((a, b) => a - b).map(regimeOfRun);\n const stacked = getStackedRects(items, spacing);\n let repairs = 0;\n\n // Where a kept layout no longer fits up to the next, the layout midway\n // into the widths past its own takes over there.\n for (let index = 0; index < kept.length - 1; ) {\n const [regime, next] = [kept[index], kept[index + 1]];\n if (\n fitsOver(regime, next.start - REGIME_PRECISION) ||\n next.start - regime.end < 2 * REGIME_PRECISION\n ) {\n index++;\n continue;\n }\n // Past the budget, the widths the layout no longer fits are stacked,\n // which fits anywhere, while every other width keeps its own layout.\n if (repairs >= MAX_REPAIRS) {\n kept.splice(index + 1, 0, { start: regime.end, end: next.start, rects: stacked });\n index += 2;\n continue;\n }\n repairs++;\n kept.splice(index + 1, 0, regimeAround((regime.end + next.start) / 2, regime.end, next.start));\n }\n // The widest regime extends indefinitely, so it must not shrink or overflow\n // anything as the width grows.\n const widest = kept[kept.length - 1];\n const holdsBeyond = widest.rects.every(\n ({ x, width, height }) =>\n width[0] >= -SIZE_TOLERANCE &&\n height[0] >= -SIZE_TOLERANCE &&\n x[0] + width[0] <= 1 + SIZE_TOLERANCE\n );\n if (!holdsBeyond || !fitsOver(widest, widest.end)) {\n kept.push({ start: widest.end, end: Infinity, rects: stacked });\n }\n // The narrowest regime, sampled from MIN_GALLERY only, holds below it unless\n // shrinking turns an item negative or overflows it; below where it would,\n // the items stack. Narrower than MIN_JUSTIFIED_SIZE, even stacked items are\n // slivers, so the check ends there.\n const narrowest = kept[0];\n const narrowestChecked = Math.min(spacing + MIN_JUSTIFIED_SIZE, narrowest.start);\n const holdsAt = (gallery: number) =>\n narrowest.rects.every(\n ({ x, width, height }) =>\n valueAt(width, gallery) >= -REGIME_PRECISION &&\n valueAt(height, gallery) >= -REGIME_PRECISION &&\n valueAt(x, gallery) + valueAt(width, gallery) <= gallery - spacing + REGIME_PRECISION\n );\n let stackedBelow = 0;\n if (!holdsAt(narrowestChecked)) {\n let [low, high] = [narrowestChecked, narrowest.start];\n while (high - low > REGIME_PRECISION) {\n const middle = (low + high) / 2;\n [low, high] = holdsAt(middle) ? [low, middle] : [middle, high];\n }\n stackedBelow = high;\n }\n return kept.map((regime, position) => ({\n minGallery: position === 0 ? stackedBelow : regime.start,\n rects: regime.rects,\n }));\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAsBA,MAAM,mBAAgD;AAAA,EACpD,KAAK,CAAC,KAAK,MAAM,MAAM,IAAI;AAAA,EAC3B,KAAK,CAAC,KAAK,MAAM,IAAI;AAAA,EACrB,KAAK,CAAC,KAAK,MAAM,MAAM,IAAI;AAAA,EAC3B,KAAK,CAAC,KAAK,MAAM,IAAI;AAAA,EACrB,KAAK,CAAC,KAAK,MAAM,IAAI;AAAA,EACrB,KAAK,C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A,QAAM,YAAY,KAAK,CAAC;AACxB,QAAM,mBAAmB,KAAK,IAAI,UAAU,oBAAoB,UAAU,KAAK;AAC/E,QAAM,UAAU,CAAC,YACf,UAAU,MAAM;AAAA,IACd,CAAC,EAAE,GAAG,OAAO,OAAO,MAClB,QAAQ,OAAO,OAAO,KAAK,CAAC,oBAC5B,QAAQ,QAAQ,OAAO,KAAK,CAAC,oBAC7B,QAAQ,GAAG,OAAO,IAAI,QAAQ,OAAO,OAAO,KAAK,UAAU,UAAU;AAAA,EACzE;AACF,MAAI,eAAe;AACnB,MAAI,CAAC,QAAQ,gBAAgB,GAAG;AAC9B,QAAI,CAAC,KAAK,IAAI,IAAI,CAAC,kBAAkB,UAAU,KAAK;AACpD,WAAO,OAAO,MAAM,kBAAkB;AACpC,YAAM,UAAU,MAAM,QAAQ;AAC9B,OAAC,KAAK,IAAI,IAAI,QAAQ,MAAM,IAAI,CAAC,KAAK,MAAM,IAAI,CAAC,QAAQ,IAAI;AAAA,IAC/D;AACA,mBAAe;AAAA,EACjB;AACA,SAAO,KAAK,IAAI,CAAC,QAAQ,cAAc;AAAA,IACrC,YAAY,aAAa,IAAI,eAAe,OAAO;AAAA,IACnD,OAAO,OAAO;AAAA,EAChB,EAAE;AACJ;",
6
+ "names": ["ratios"]
7
+ }
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var collage_styles_exports = {};
20
+ __export(collage_styles_exports, {
21
+ COLLAGE_SCOPE_ATTRIBUTE: () => COLLAGE_SCOPE_ATTRIBUTE,
22
+ getCollageStyles: () => getCollageStyles
23
+ });
24
+ module.exports = __toCommonJS(collage_styles_exports);
25
+ var import_build_responsive_css = require("./../../_shared/build-responsive-css.js");
26
+ var import_gallery_image_sizes = require("./gallery-image-sizes.js");
27
+ const COLLAGE_SCOPE_ATTRIBUTE = "data-ricos-collage";
28
+ const FALLBACK_WIDTH = 760;
29
+ const toDeclarations = (declarations) => Object.entries(declarations).map(([property, value]) => `${property}: ${value};`).join(" ");
30
+ const toQuery = (minWidth, nextMinWidth) => [
31
+ minWidth > 0 && `(min-width: ${(0, import_gallery_image_sizes.roundCssNumber)(minWidth)}px)`,
32
+ nextMinWidth !== void 0 && `(not (min-width: ${(0, import_gallery_image_sizes.roundCssNumber)(nextMinWidth)}px))`
33
+ ].filter(Boolean).join(" and ");
34
+ const toScope = (text) => {
35
+ let hash = 2166136261;
36
+ for (let index = 0; index < text.length; index++) {
37
+ hash = Math.imul(hash ^ text.charCodeAt(index), 16777619) >>> 0;
38
+ }
39
+ return `c${hash.toString(36)}`;
40
+ };
41
+ const mergeRanges = (ranges) => [...ranges].sort((a, b) => a.minWidth - b.minWidth).reduce((merged, range) => {
42
+ const last = merged[merged.length - 1];
43
+ if (!last || toDeclarations(last.declarations) !== toDeclarations(range.declarations)) {
44
+ merged.push(range);
45
+ }
46
+ return merged;
47
+ }, []);
48
+ const getCollageStyles = (targets) => {
49
+ const merged = targets.map(({ className, ranges }) => ({
50
+ className,
51
+ ranges: mergeRanges(ranges)
52
+ }));
53
+ const scope = toScope(JSON.stringify(merged));
54
+ const css = merged.flatMap(({ className, ranges }) => {
55
+ if (ranges.length === 0) {
56
+ return [];
57
+ }
58
+ const selector = `[${COLLAGE_SCOPE_ATTRIBUTE}=${scope}] .${className}`;
59
+ const base = ranges.reduce(
60
+ (found, range) => range.minWidth <= FALLBACK_WIDTH ? range : found
61
+ );
62
+ return [
63
+ `${selector} {${toDeclarations(base.declarations)}}`,
64
+ ...ranges.length > 1 ? ranges.map(
65
+ (range, index) => (0, import_build_responsive_css.buildResponsiveCss)(toQuery(range.minWidth, ranges[index + 1]?.minWidth), [
66
+ { selector, declarations: toDeclarations(range.declarations) }
67
+ ])
68
+ ) : []
69
+ ];
70
+ }).join("\n");
71
+ return { scope, css };
72
+ };
73
+ //# sourceMappingURL=collage-styles.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/plugin-gallery/viewer/collage-styles.ts"],
4
+ "sourcesContent": ["import { buildResponsiveCss } from './../../_shared/build-responsive-css.js';\n\nimport { roundCssNumber } from './gallery-image-sizes.js';\n\ntype Declarations = Record<string, string>;\n\n/** Declarations from a gallery width up, until the next range's. */\nexport type CollageRange = { minWidth: number; declarations: Declarations };\n\n/** Ranges for the Collage's list and for its cells, by class name. */\nexport type CollageTargets = { className: string; ranges: CollageRange[] }[];\n\n// The scope attribute's value is a hash of the rules, so two galleries share a\n// scope only when their rules are identical and style both alike.\nexport const COLLAGE_SCOPE_ATTRIBUTE = 'data-ricos-collage';\n\n// The base layout, which also serves browsers without size container queries,\n// is that of a typical content width.\nconst FALLBACK_WIDTH = 760;\n\n// Rendered as a `<style>` text child, which the server renderer escapes, so the\n// rules must not contain `\"`, `'`, `<`, `>` or `&` (see `node-animations.tsx`).\nconst toDeclarations = (declarations: Declarations) =>\n Object.entries(declarations)\n .map(([property, value]) => `${property}: ${value};`)\n .join(' ');\n\n// A range ends exactly where the next begins, at any fractional width, by\n// negating the next one's condition (range syntax would need `<`).\nconst toQuery = (minWidth: number, nextMinWidth?: number) =>\n [\n minWidth > 0 && `(min-width: ${roundCssNumber(minWidth)}px)`,\n nextMinWidth !== undefined && `(not (min-width: ${roundCssNumber(nextMinWidth)}px))`,\n ]\n .filter(Boolean)\n .join(' and ');\n\n// FNV-1a, in base 36. An attribute selector's unquoted value must not start\n// with a digit, hence the prefix.\nconst toScope = (text: string) => {\n let hash = 0x811c9dc5;\n for (let index = 0; index < text.length; index++) {\n hash = Math.imul(hash ^ text.charCodeAt(index), 0x01000193) >>> 0;\n }\n return `c${hash.toString(36)}`;\n};\n\n// Sorts the ranges and merges neighbours of the same declarations.\nconst mergeRanges = (ranges: CollageRange[]) =>\n [...ranges]\n .sort((a, b) => a.minWidth - b.minWidth)\n .reduce<CollageRange[]>((merged, range) => {\n const last = merged[merged.length - 1];\n if (!last || toDeclarations(last.declarations) !== toDeclarations(range.declarations)) {\n merged.push(range);\n }\n return merged;\n }, []);\n\n/**\n * The Collage's own breakpoints as scoped rules: each target's base\n * declarations, then a responsive rule per range of widths, which queries the\n * Collage root in container mode and the viewport in viewport mode.\n */\nexport const getCollageStyles = (targets: CollageTargets) => {\n const merged = targets.map(({ className, ranges }) => ({\n className,\n ranges: mergeRanges(ranges),\n }));\n const scope = toScope(JSON.stringify(merged));\n const css = merged\n .flatMap(({ className, ranges }) => {\n if (ranges.length === 0) {\n return [];\n }\n const selector = `[${COLLAGE_SCOPE_ATTRIBUTE}=${scope}] .${className}`;\n const base = ranges.reduce((found, range) =>\n range.minWidth <= FALLBACK_WIDTH ? range : found\n );\n return [\n `${selector} {${toDeclarations(base.declarations)}}`,\n ...(ranges.length > 1\n ? ranges.map((range, index) =>\n buildResponsiveCss(toQuery(range.minWidth, ranges[index + 1]?.minWidth), [\n { selector, declarations: toDeclarations(range.declarations) },\n ])\n )\n : []),\n ];\n })\n .join('\\n');\n return { scope, css };\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kCAAmC;AAEnC,iCAA+B;AAYxB,MAAM,0BAA0B;AAIvC,MAAM,iBAAiB;AAIvB,MAAM,iBAAiB,CAAC,iBACtB,O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M,OAAO,OAAO;AAAA,MAAO,CAAC,OAAO,UACjC,MAAM,YAAY,iBAAiB,QAAQ;AAAA,IAC7C;AACA,WAAO;AAAA,MACL,GAAG,QAAQ,KAAK,eAAe,KAAK,YAAY,CAAC;AAAA,MACjD,GAAI,OAAO,SAAS,IAChB,OAAO;AAAA,QAAI,CAAC,OAAO,cACjB,gDAAmB,QAAQ,MAAM,UAAU,OAAO,QAAQ,CAAC,GAAG,QAAQ,GAAG;AAAA,UACvE,EAAE,UAAU,cAAc,eAAe,MAAM,YAAY,EAAE;AAAA,QAC/D,CAAC;AAAA,MACH,IACA,CAAC;AAAA,IACP;AAAA,EACF,CAAC,EACA,KAAK,IAAI;AACZ,SAAO,EAAE,OAAO,IAAI;AACtB;",
6
+ "names": []
7
+ }
@@ -33,6 +33,7 @@ __export(gallery_renderer_exports, {
33
33
  module.exports = __toCommonJS(gallery_renderer_exports);
34
34
  var import_react = __toESM(require("react"));
35
35
  var import_normalize_gallery_items = require("../media/normalize-gallery-items.js");
36
+ var import_layout_collage = require("./layout-collage.js");
36
37
  var import_layout_column = require("./layout-column.js");
37
38
  var import_layout_fullsize = require("./layout-fullsize.js");
38
39
  var import_layout_grid = require("./layout-grid.js");
@@ -49,7 +50,8 @@ const DEFAULT_GALLERY_LAYOUTS = {
49
50
  SLIDER: (props) => /* @__PURE__ */ import_react.default.createElement(import_layout_slider.LayoutSlider, { ...props }),
50
51
  COLUMN: (props) => /* @__PURE__ */ import_react.default.createElement(import_layout_column.LayoutColumn, { ...props }),
51
52
  THUMBNAIL: (props) => /* @__PURE__ */ import_react.default.createElement(import_layout_thumbnail.LayoutThumbnail, { ...props }),
52
- MASONRY: (props) => /* @__PURE__ */ import_react.default.createElement(import_layout_masonry.LayoutMasonry, { ...props })
53
+ MASONRY: (props) => /* @__PURE__ */ import_react.default.createElement(import_layout_masonry.LayoutMasonry, { ...props }),
54
+ COLLAGE: (props) => /* @__PURE__ */ import_react.default.createElement(import_layout_collage.LayoutCollage, { ...props })
53
55
  };
54
56
  const GalleryRenderer = ({
55
57
  data,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/plugin-gallery/viewer/gallery-renderer.tsx"],
4
- "sourcesContent": ["import type { ReactElement } from 'react';\nimport React from 'react';\n\nimport type { GalleryData } from './../../ricos-schema/legacy/wix/rich_content/v1/index.js';\n\nimport {\n normalizeGalleryItems,\n type NormalizedGalleryItem,\n} from '../media/normalize-gallery-items.js';\nimport { LayoutColumn } from './layout-column.js';\nimport { LayoutFullsize } from './layout-fullsize.js';\nimport { LayoutGrid } from './layout-grid.js';\nimport { LayoutMasonry } from './layout-masonry.js';\nimport { LayoutPanorama } from './layout-panorama.js';\nimport { LayoutSlider } from './layout-slider.js';\nimport { LayoutThumbnail } from './layout-thumbnail.js';\nimport type { GalleryRendererRuntime } from './native-gallery-types.js';\nimport { resolveGalleryLayout, type ResolvedGalleryLayout } from './resolve-gallery-layout.js';\n\ntype LayoutProps<Layout extends ResolvedGalleryLayout> = {\n items: NormalizedGalleryItem[];\n layout: Layout;\n nodeId: string;\n runtime: GalleryRendererRuntime;\n};\n\ntype LayoutOf<Type extends ResolvedGalleryLayout['type']> = Extract<\n ResolvedGalleryLayout,\n { type: Type }\n>;\n\ntype LayoutRenderer<Type extends ResolvedGalleryLayout['type']> = (\n props: LayoutProps<LayoutOf<Type>>\n) => ReactElement;\n\nexport type GalleryLayoutComponents = {\n [Type in ResolvedGalleryLayout['type']]: LayoutRenderer<Type>;\n};\n\nconst callLayout = <Type extends ResolvedGalleryLayout['type']>(\n layouts: GalleryLayoutComponents,\n type: Type,\n props: LayoutProps<LayoutOf<Type>>\n) => layouts[type](props);\n\nconst DEFAULT_GALLERY_LAYOUTS: GalleryLayoutComponents = {\n PANORAMA: props => <LayoutPanorama {...props} />,\n GRID: props => <LayoutGrid {...props} />,\n FULLSIZE: props => <LayoutFullsize {...props} />,\n SLIDER: props => <LayoutSlider {...props} />,\n COLUMN: props => <LayoutColumn {...props} />,\n THUMBNAIL: props => <LayoutThumbnail {...props} />,\n MASONRY: props => <LayoutMasonry {...props} />,\n};\n\ntype GalleryRendererProps = {\n data: GalleryData;\n nodeId: string;\n isMobile: boolean;\n runtime: GalleryRendererRuntime;\n /** Override layout components in tests. Production uses `DEFAULT_GALLERY_LAYOUTS`. */\n layouts?: GalleryLayoutComponents;\n};\n\nexport const GalleryRenderer = ({\n data,\n nodeId,\n isMobile,\n runtime,\n layouts = DEFAULT_GALLERY_LAYOUTS,\n}: GalleryRendererProps) => {\n const items = normalizeGalleryItems({\n items: data.items || [],\n nodeId,\n disableDownload: data.disableDownload,\n relValue: runtime.relValue,\n anchorTarget: runtime.anchorTarget,\n baseUrl: runtime.baseUrl,\n });\n const layout = resolveGalleryLayout({ options: data.options, isMobile });\n const rendererRuntime = {\n ...runtime,\n disableExpand: data.disableExpand || runtime.disableExpand,\n };\n\n if (items.length === 0) {\n return (\n <div\n data-hook=\"native-gallery-renderer\"\n data-layout={layout.type}\n data-gallery-empty=\"true\"\n />\n );\n }\n\n const content = callLayout(layouts, layout.type, {\n items,\n nodeId,\n runtime: rendererRuntime,\n layout,\n });\n\n return (\n <div data-hook=\"native-gallery-renderer\" data-layout={layout.type}>\n {content}\n </div>\n );\n};\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,mBAAkB;AAIlB,qCAGO;AACP,2BAA6B;AAC7B,6BAA+B;AAC/B,yBAA2B;AAC3B,4BAA8B;AAC9B,6BAA+B;AAC/B,2BAA6B;AAC7B,8BAAgC;AAEhC,oCAAiE;AAsBjE,MAAM,aAAa,CACjB,SACA,MACA,UACG,QAAQ,IAAI,EAAE,KAAK;AAExB,MAAM,0BAAmD;AAAA,EACvD,UAAU,WAAS,6BAAAA,QAAA,cAAC,yCAAgB,GAAG,OAAO;AAAA,EAC9C,MAAM,WAAS,6BAAAA,QAAA,cAAC,iCAAY,GAAG,OAAO;AAAA,EACtC,UAAU,WAAS,6BAAAA,QAAA,cAAC,yCAAgB,GAAG,OAAO;AAAA,EAC9C,QAAQ,WAAS,6BAAAA,QAAA,cAAC,qCAAc,GAAG,OAAO;AAAA,EAC1C,QAAQ,WAAS,6BAAAA,QAAA,cAAC,qCAAc,GAAG,OAAO;AAAA,EAC1C,WAAW,WAAS,6BAAAA,QAAA,cAAC,2CAAiB,GAAG,OAAO;AAAA,EAChD,SAAS,WAAS,6BAAAA,QAAA,cAAC,uCAAe,GAAG,OAAO;AAC9C;AAWO,MAAM,kBAAkB,CAAC;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU;AACZ,MAA4B;AAC1B,QAAM,YAAQ,sDAAsB;AAAA,IAClC,OAAO,KAAK,SAAS,CAAC;AAAA,IACtB;AAAA,IACA,iBAAiB,KAAK;AAAA,IACtB,UAAU,QAAQ;AAAA,IAClB,cAAc,QAAQ;AAAA,IACtB,SAAS,QAAQ;AAAA,EACnB,CAAC;AACD,QAAM,aAAS,oDAAqB,EAAE,SAAS,KAAK,SAAS,SAAS,CAAC;AACvE,QAAM,kBAAkB;AAAA,IACtB,GAAG;AAAA,IACH,eAAe,KAAK,iBAAiB,QAAQ;AAAA,EAC/C;AAEA,MAAI,MAAM,WAAW,GAAG;AACtB,WACE,6BAAAA,QAAA;AAAA,MAAC;AAAA;AAAA,QACC,aAAU;AAAA,QACV,eAAa,OAAO;AAAA,QACpB,sBAAmB;AAAA;AAAA,IACrB;AAAA,EAEJ;AAEA,QAAM,UAAU,WAAW,SAAS,OAAO,MAAM;AAAA,IAC/C;AAAA,IACA;AAAA,IACA,SAAS;AAAA,IACT;AAAA,EACF,CAAC;AAED,SACE,6BAAAA,QAAA,cAAC,SAAI,aAAU,2BAA0B,eAAa,OAAO,QAC1D,OACH;AAEJ;",
4
+ "sourcesContent": ["import type { ReactElement } from 'react';\nimport React from 'react';\n\nimport type { GalleryData } from './../../ricos-schema/legacy/wix/rich_content/v1/index.js';\n\nimport {\n normalizeGalleryItems,\n type NormalizedGalleryItem,\n} from '../media/normalize-gallery-items.js';\nimport { LayoutCollage } from './layout-collage.js';\nimport { LayoutColumn } from './layout-column.js';\nimport { LayoutFullsize } from './layout-fullsize.js';\nimport { LayoutGrid } from './layout-grid.js';\nimport { LayoutMasonry } from './layout-masonry.js';\nimport { LayoutPanorama } from './layout-panorama.js';\nimport { LayoutSlider } from './layout-slider.js';\nimport { LayoutThumbnail } from './layout-thumbnail.js';\nimport type { GalleryRendererRuntime } from './native-gallery-types.js';\nimport { resolveGalleryLayout, type ResolvedGalleryLayout } from './resolve-gallery-layout.js';\n\ntype LayoutProps<Layout extends ResolvedGalleryLayout> = {\n items: NormalizedGalleryItem[];\n layout: Layout;\n nodeId: string;\n runtime: GalleryRendererRuntime;\n};\n\ntype LayoutOf<Type extends ResolvedGalleryLayout['type']> = Extract<\n ResolvedGalleryLayout,\n { type: Type }\n>;\n\ntype LayoutRenderer<Type extends ResolvedGalleryLayout['type']> = (\n props: LayoutProps<LayoutOf<Type>>\n) => ReactElement;\n\nexport type GalleryLayoutComponents = {\n [Type in ResolvedGalleryLayout['type']]: LayoutRenderer<Type>;\n};\n\nconst callLayout = <Type extends ResolvedGalleryLayout['type']>(\n layouts: GalleryLayoutComponents,\n type: Type,\n props: LayoutProps<LayoutOf<Type>>\n) => layouts[type](props);\n\nconst DEFAULT_GALLERY_LAYOUTS: GalleryLayoutComponents = {\n PANORAMA: props => <LayoutPanorama {...props} />,\n GRID: props => <LayoutGrid {...props} />,\n FULLSIZE: props => <LayoutFullsize {...props} />,\n SLIDER: props => <LayoutSlider {...props} />,\n COLUMN: props => <LayoutColumn {...props} />,\n THUMBNAIL: props => <LayoutThumbnail {...props} />,\n MASONRY: props => <LayoutMasonry {...props} />,\n COLLAGE: props => <LayoutCollage {...props} />,\n};\n\ntype GalleryRendererProps = {\n data: GalleryData;\n nodeId: string;\n isMobile: boolean;\n runtime: GalleryRendererRuntime;\n /** Override layout components in tests. Production uses `DEFAULT_GALLERY_LAYOUTS`. */\n layouts?: GalleryLayoutComponents;\n};\n\nexport const GalleryRenderer = ({\n data,\n nodeId,\n isMobile,\n runtime,\n layouts = DEFAULT_GALLERY_LAYOUTS,\n}: GalleryRendererProps) => {\n const items = normalizeGalleryItems({\n items: data.items || [],\n nodeId,\n disableDownload: data.disableDownload,\n relValue: runtime.relValue,\n anchorTarget: runtime.anchorTarget,\n baseUrl: runtime.baseUrl,\n });\n const layout = resolveGalleryLayout({ options: data.options, isMobile });\n const rendererRuntime = {\n ...runtime,\n disableExpand: data.disableExpand || runtime.disableExpand,\n };\n\n if (items.length === 0) {\n return (\n <div\n data-hook=\"native-gallery-renderer\"\n data-layout={layout.type}\n data-gallery-empty=\"true\"\n />\n );\n }\n\n const content = callLayout(layouts, layout.type, {\n items,\n nodeId,\n runtime: rendererRuntime,\n layout,\n });\n\n return (\n <div data-hook=\"native-gallery-renderer\" data-layout={layout.type}>\n {content}\n </div>\n );\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,mBAAkB;AAIlB,qCAGO;AACP,4BAA8B;AAC9B,2BAA6B;AAC7B,6BAA+B;AAC/B,yBAA2B;AAC3B,4BAA8B;AAC9B,6BAA+B;AAC/B,2BAA6B;AAC7B,8BAAgC;AAEhC,oCAAiE;AAsBjE,MAAM,aAAa,CACjB,SACA,MACA,UACG,QAAQ,IAAI,EAAE,KAAK;AAExB,MAAM,0BAAmD;AAAA,EACvD,UAAU,WAAS,6BAAAA,QAAA,cAAC,yCAAgB,GAAG,OAAO;AAAA,EAC9C,MAAM,WAAS,6BAAAA,QAAA,cAAC,iCAAY,GAAG,OAAO;AAAA,EACtC,UAAU,WAAS,6BAAAA,QAAA,cAAC,yCAAgB,GAAG,OAAO;AAAA,EAC9C,QAAQ,WAAS,6BAAAA,QAAA,cAAC,qCAAc,GAAG,OAAO;AAAA,EAC1C,QAAQ,WAAS,6BAAAA,QAAA,cAAC,qCAAc,GAAG,OAAO;AAAA,EAC1C,WAAW,WAAS,6BAAAA,QAAA,cAAC,2CAAiB,GAAG,OAAO;AAAA,EAChD,SAAS,WAAS,6BAAAA,QAAA,cAAC,uCAAe,GAAG,OAAO;AAAA,EAC5C,SAAS,WAAS,6BAAAA,QAAA,cAAC,uCAAe,GAAG,OAAO;AAC9C;AAWO,MAAM,kBAAkB,CAAC;AAAA,EAC9B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,UAAU;AACZ,MAA4B;AAC1B,QAAM,YAAQ,sDAAsB;AAAA,IAClC,OAAO,KAAK,SAAS,CAAC;AAAA,IACtB;AAAA,IACA,iBAAiB,KAAK;AAAA,IACtB,UAAU,QAAQ;AAAA,IAClB,cAAc,QAAQ;AAAA,IACtB,SAAS,QAAQ;AAAA,EACnB,CAAC;AACD,QAAM,aAAS,oDAAqB,EAAE,SAAS,KAAK,SAAS,SAAS,CAAC;AACvE,QAAM,kBAAkB;AAAA,IACtB,GAAG;AAAA,IACH,eAAe,KAAK,iBAAiB,QAAQ;AAAA,EAC/C;AAEA,MAAI,MAAM,WAAW,GAAG;AACtB,WACE,6BAAAA,QAAA;AAAA,MAAC;AAAA;AAAA,QACC,aAAU;AAAA,QACV,eAAa,OAAO;AAAA,QACpB,sBAAmB;AAAA;AAAA,IACrB;AAAA,EAEJ;AAEA,QAAM,UAAU,WAAW,SAAS,OAAO,MAAM;AAAA,IAC/C;AAAA,IACA;AAAA,IACA,SAAS;AAAA,IACT;AAAA,EACF,CAAC;AAED,SACE,6BAAAA,QAAA,cAAC,SAAI,aAAU,2BAA0B,eAAa,OAAO,QAC1D,OACH;AAEJ;",
6
6
  "names": ["React"]
7
7
  }
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var layout_collage_exports = {};
20
+ __export(layout_collage_exports, {
21
+ default: () => layout_collage_default
22
+ });
23
+ module.exports = __toCommonJS(layout_collage_exports);
24
+ var layout_collage_default = {
25
+ "collageRoot": "IEMDS",
26
+ "collage": "z9eJ2",
27
+ "collageCell": "zR9Cz",
28
+ "fine": "ZRIiy",
29
+ "rows": "xZ7UR"
30
+ };
31
+ //# sourceMappingURL=layout-collage-scss.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/plugin-gallery/viewer/layout-collage.scss"],
4
+ "sourcesContent": ["export default {\n \"collageRoot\": \"IEMDS\",\n \"collage\": \"z9eJ2\",\n \"collageCell\": \"zR9Cz\",\n \"fine\": \"ZRIiy\",\n \"rows\": \"xZ7UR\"\n};"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAO,yBAAQ;AAAA,EACb,eAAe;AAAA,EACf,WAAW;AAAA,EACX,eAAe;AAAA,EACf,QAAQ;AAAA,EACR,QAAQ;AACV;",
6
+ "names": []
7
+ }
@@ -0,0 +1,265 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var layout_collage_exports = {};
30
+ __export(layout_collage_exports, {
31
+ LayoutCollage: () => LayoutCollage
32
+ });
33
+ module.exports = __toCommonJS(layout_collage_exports);
34
+ var import_classnames = __toESM(require("classnames"));
35
+ var import_react = __toESM(require("react"));
36
+ var import_collage_groups = require("./collage-groups.js");
37
+ var import_collage_rows = require("./collage-rows.js");
38
+ var import_collage_styles = require("./collage-styles.js");
39
+ var import_gallery_image_sizes = require("./gallery-image-sizes.js");
40
+ var import_layout_collage_scss = __toESM(require("./layout-collage-scss.js"));
41
+ var import_media_cell = require("./media-cell.js");
42
+ const REGIMES = 4;
43
+ const MAX_COLUMNS = 6;
44
+ const UNIFORM_RATIO_TOLERANCE = 0.01;
45
+ const MIN_CELL_RATIO = 3 / 4;
46
+ const MAX_CELL_RATIO = 16 / 9;
47
+ const COLUMN_TRACKS = 12;
48
+ const COLUMN_ROWS = 100;
49
+ const BREAKPOINT_MARGIN = 1e-3;
50
+ const ratioOf = (item) => item.width / item.height;
51
+ const median = (values) => {
52
+ const sorted = [...values].sort((a, b) => a - b);
53
+ const middle = Math.floor(sorted.length / 2);
54
+ return sorted.length % 2 ? sorted[middle] : (sorted[middle - 1] + sorted[middle]) / 2;
55
+ };
56
+ const padRegimes = (regimes) => [
57
+ ...regimes,
58
+ ...Array.from(
59
+ { length: Math.max(0, REGIMES - regimes.length) },
60
+ () => regimes[regimes.length - 1]
61
+ )
62
+ ];
63
+ const collageVariable = (name) => `--ricos-internal-gallery-collage-${name}`;
64
+ const nextColumnAt = (columns) => 2 * columns * (columns + 1) / (2 * columns + 1);
65
+ const getColumnCount = (width, column, spacing) => {
66
+ let columns = 1;
67
+ while (columns < MAX_COLUMNS && width + spacing >= nextColumnAt(columns) * (column + spacing)) {
68
+ columns++;
69
+ }
70
+ return columns;
71
+ };
72
+ const toRows = (height, column, spacing) => Math.max(1, Math.round(COLUMN_ROWS * (height + spacing) / (column + spacing)));
73
+ const getFineSpans = (items, shapes, column, spacing) => {
74
+ const spans = items.map((item) => ({
75
+ columns: COLUMN_TRACKS,
76
+ rows: toRows(column / ratioOf(item), column, spacing)
77
+ }));
78
+ (0, import_collage_groups.getPairs)(shapes).forEach(([first, second]) => {
79
+ const ratios = [ratioOf(items[first]), ratioOf(items[second])];
80
+ const rows = toRows((column - spacing) / (ratios[0] + ratios[1]), column, spacing);
81
+ const firstColumns = Math.min(
82
+ COLUMN_TRACKS - 1,
83
+ Math.max(1, Math.round(COLUMN_TRACKS * ratios[0] / (ratios[0] + ratios[1])))
84
+ );
85
+ spans[first] = { columns: firstColumns, rows };
86
+ spans[second] = { columns: COLUMN_TRACKS - firstColumns, rows };
87
+ });
88
+ return spans;
89
+ };
90
+ const getCellSpans = (shapes) => shapes.map((shape) => shape === "big" ? { columns: 2, rows: 2 } : { columns: 1, rows: 1 });
91
+ const toLength = ([a, b], spacing) => `calc(${(0, import_gallery_image_sizes.roundCssNumber)(a * 100)}% + ${(0, import_gallery_image_sizes.roundCssNumber)(a * spacing + b)}px)`;
92
+ const getColumnsView = (items, { targetSize: column, spacing }) => {
93
+ const cellRatio = Math.min(MAX_CELL_RATIO, Math.max(MIN_CELL_RATIO, median(items.map(ratioOf))));
94
+ const isUniform = items.every(
95
+ (item) => Math.abs(ratioOf(item) / cellRatio - 1) <= UNIFORM_RATIO_TOLERANCE
96
+ );
97
+ const regimes = padRegimes((0, import_collage_groups.getCollageRegimes)(items, spacing, REGIMES));
98
+ const upperColumn = (index) => regimes.slice(index + 1).find((later) => later.minColumn > regimes[index].minColumn)?.minColumn ?? Infinity;
99
+ const spans = regimes.map(
100
+ ({ shapes, minColumn }, index) => isUniform ? getCellSpans(shapes) : getFineSpans(
101
+ items,
102
+ shapes,
103
+ Math.min(upperColumn(index), Math.max(minColumn, column + spacing)) - spacing,
104
+ spacing
105
+ )
106
+ );
107
+ const tracks = isUniform ? 2 : COLUMN_TRACKS;
108
+ const columnBreakpoints = Array.from(
109
+ { length: MAX_COLUMNS },
110
+ (_, index) => nextColumnAt(index) * (column + spacing) - spacing
111
+ ).filter((width) => width >= 0);
112
+ const regimeBreakpoints = Array.from(
113
+ { length: MAX_COLUMNS },
114
+ (_, index) => regimes.map((regime) => (index + 1) * regime.minColumn - spacing)
115
+ ).flat();
116
+ const toRanges = (breakpoints, toDeclarations) => [.../* @__PURE__ */ new Set([0, ...breakpoints.filter((width) => width > 0)])].map((minWidth) => ({
117
+ minWidth,
118
+ declarations: toDeclarations(minWidth + BREAKPOINT_MARGIN)
119
+ }));
120
+ const list = toRanges(columnBreakpoints, (width) => {
121
+ const columns = getColumnCount(width, column, spacing);
122
+ return {
123
+ "grid-template-columns": `repeat(${tracks * columns}, minmax(0, 1fr))`,
124
+ // Each row is 1 / COLUMN_ROWS of a column plus spacing.
125
+ ...!isUniform && {
126
+ "grid-auto-rows": `calc((100 * var(${collageVariable("unit")}) + ${spacing}px) / ${COLUMN_ROWS * columns})`
127
+ }
128
+ };
129
+ });
130
+ const cell = toRanges([...columnBreakpoints, ...regimeBreakpoints], (width) => {
131
+ const columns = getColumnCount(width, column, spacing);
132
+ const regime = regimes.reduce(
133
+ (found, { minColumn }, index) => (width + spacing) / columns >= minColumn ? index : found,
134
+ 0
135
+ );
136
+ return { "grid-area": `var(${collageVariable(`r${regime}`)})` };
137
+ });
138
+ const widestColumn = 4 / 3 * (column + spacing);
139
+ return {
140
+ className: (0, import_classnames.default)(!isUniform && import_layout_collage_scss.default.fine),
141
+ rootStyle: {
142
+ [collageVariable("spacing")]: `${spacing}px`,
143
+ [collageVariable("cell-ratio")]: cellRatio
144
+ },
145
+ list,
146
+ cell,
147
+ getCellStyle: (index) => Object.fromEntries(
148
+ spans.map((regimeSpans, regime) => {
149
+ const { rows, columns } = regimeSpans[index];
150
+ return [collageVariable(`r${regime}`), `auto / auto / span ${rows} / span ${columns}`];
151
+ })
152
+ ),
153
+ getSizes: (index) => {
154
+ const shareOf = (regime) => spans[regime][index].columns / tracks;
155
+ const widest = Math.max(
156
+ ...regimes.map(
157
+ (_, regime) => shareOf(regime) * Math.min(widestColumn, upperColumn(regime)) - spacing
158
+ )
159
+ );
160
+ const widening = Math.max(
161
+ ...regimes.map((_, regime) => upperColumn(regime) > widestColumn ? shareOf(regime) : 0)
162
+ );
163
+ return `min(100vw, max(${(0, import_gallery_image_sizes.roundCssNumber)(widest)}px, calc(${(0, import_gallery_image_sizes.roundCssNumber)(widening * 100 / MAX_COLUMNS)}vw + ${(0, import_gallery_image_sizes.roundCssNumber)(widening * spacing / MAX_COLUMNS - spacing)}px)))`;
164
+ }
165
+ };
166
+ };
167
+ const getRowsView = (items, { targetSize, spacing }) => {
168
+ const regimes = padRegimes((0, import_collage_rows.getRowsRegimes)(items, spacing, targetSize, REGIMES));
169
+ const coordinates = ["x", "y", "width", "height"];
170
+ const stackedBelow = Math.max(0, regimes[0].minGallery - spacing);
171
+ return {
172
+ className: import_layout_collage_scss.default.rows,
173
+ rootStyle: { [collageVariable("spacing")]: `${spacing}px` },
174
+ list: [],
175
+ cell: [
176
+ // Below the first regime, each item takes a grid row of its own, at its
177
+ // own ratio.
178
+ ...stackedBelow > 0 ? [
179
+ {
180
+ minWidth: 0,
181
+ declarations: {
182
+ "grid-area": "auto",
183
+ "margin-inline-start": "0px",
184
+ "margin-block-start": "0px",
185
+ "inline-size": "100%",
186
+ "padding-block-end": `calc(100% / var(${collageVariable("item-ratio")}))`
187
+ }
188
+ }
189
+ ] : [],
190
+ ...regimes.map((regime, index) => ({
191
+ minWidth: Math.max(0, regime.minGallery - spacing),
192
+ declarations: {
193
+ "grid-area": "1 / 1",
194
+ "margin-inline-start": `var(${collageVariable(`r${index}-x`)})`,
195
+ "margin-block-start": `var(${collageVariable(`r${index}-y`)})`,
196
+ "inline-size": `var(${collageVariable(`r${index}-width`)})`,
197
+ "padding-block-end": `var(${collageVariable(`r${index}-height`)})`
198
+ }
199
+ }))
200
+ ],
201
+ getCellStyle: (index) => Object.fromEntries(
202
+ regimes.flatMap(
203
+ (regime, position) => coordinates.map((coordinate) => [
204
+ collageVariable(`r${position}-${coordinate}`),
205
+ toLength(regime.rects[index][coordinate], spacing)
206
+ ])
207
+ )
208
+ ),
209
+ // Within each regime an item's width is linear in the gallery's, so it is
210
+ // widest at one end of the regime's widths; the last regime is open-ended
211
+ // and grows with the viewport at most. A stacked item is the gallery's
212
+ // width.
213
+ getSizes: (index) => {
214
+ let widest = stackedBelow;
215
+ let rate = 0;
216
+ let offset = 0;
217
+ regimes.forEach((regime, position) => {
218
+ const [a, b] = regime.rects[index].width;
219
+ const widthAt = (gallery) => a * Math.max(0, gallery - spacing) + a * spacing + b;
220
+ const next = regimes.slice(position + 1).find((later) => later.minGallery > regime.minGallery);
221
+ if (next) {
222
+ widest = Math.max(widest, widthAt(regime.minGallery), widthAt(next.minGallery));
223
+ } else {
224
+ rate = a;
225
+ offset = a * spacing + b;
226
+ }
227
+ });
228
+ return rate > 0 ? `min(100vw, max(${(0, import_gallery_image_sizes.roundCssNumber)(widest)}px, calc(${(0, import_gallery_image_sizes.roundCssNumber)(rate * 100)}vw + ${(0, import_gallery_image_sizes.roundCssNumber)(offset)}px)))` : (0, import_gallery_image_sizes.cappedViewportSizes)({ maxWidth: Math.max(widest, offset) });
229
+ }
230
+ };
231
+ };
232
+ const LayoutCollage = ({ items, layout, nodeId, runtime }) => {
233
+ const view = layout.orientation === "ROWS" ? getRowsView(items, layout) : getColumnsView(items, layout);
234
+ const { scope, css } = (0, import_collage_styles.getCollageStyles)([
235
+ { className: import_layout_collage_scss.default.collage, ranges: view.list },
236
+ { className: import_layout_collage_scss.default.collageCell, ranges: view.cell }
237
+ ]);
238
+ return /* @__PURE__ */ import_react.default.createElement(
239
+ "div",
240
+ {
241
+ className: import_layout_collage_scss.default.collageRoot,
242
+ style: view.rootStyle,
243
+ ...{ [import_collage_styles.COLLAGE_SCOPE_ATTRIBUTE]: scope }
244
+ },
245
+ /* @__PURE__ */ import_react.default.createElement("style", null, css),
246
+ /* @__PURE__ */ import_react.default.createElement("ul", { className: (0, import_classnames.default)(import_layout_collage_scss.default.collage, view.className), "data-hook": "gallery-collage" }, items.map((item, index) => /* @__PURE__ */ import_react.default.createElement(
247
+ import_media_cell.MediaCell,
248
+ {
249
+ key: item.id,
250
+ item,
251
+ nodeId,
252
+ presentation: "fill",
253
+ sizes: view.getSizes(index),
254
+ eager: runtime.lazyLoading === false || index === 0,
255
+ runtime,
256
+ className: import_layout_collage_scss.default.collageCell,
257
+ style: {
258
+ [collageVariable("item-ratio")]: ratioOf(item),
259
+ ...view.getCellStyle(index)
260
+ }
261
+ }
262
+ )))
263
+ );
264
+ };
265
+ //# sourceMappingURL=layout-collage.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/plugin-gallery/viewer/layout-collage.tsx"],
4
+ "sourcesContent": ["import classNames from 'classnames';\nimport React from 'react';\n\nimport type { NormalizedGalleryItem } from '../media/normalize-gallery-items.js';\nimport { type CellShape, getCollageRegimes, getPairs } from './collage-groups.js';\nimport { getRowsRegimes, type LinearSize } from './collage-rows.js';\nimport { COLLAGE_SCOPE_ATTRIBUTE, type CollageRange, getCollageStyles } from './collage-styles.js';\nimport { cappedViewportSizes, roundCssNumber } from './gallery-image-sizes.js';\nimport classes from './layout-collage-scss.js';\nimport { MediaCell } from './media-cell.js';\nimport type { GalleryRendererRuntime } from './native-gallery-types.js';\nimport type { ResolvedGalleryLayout } from './resolve-gallery-layout.js';\n\ntype LayoutCollageResolved = Extract<ResolvedGalleryLayout, { type: 'COLLAGE' }>;\n\ntype LayoutCollageProps = {\n items: NormalizedGalleryItem[];\n layout: LayoutCollageResolved;\n nodeId: string;\n runtime: GalleryRendererRuntime;\n};\n\n// ProGallery's Collage layout changes at gallery widths of its own, so each\n// item carries its placement for every regime of widths, and a scoped style\n// switches between them at this gallery's breakpoints (see `collage-styles.ts`).\n//\n// Columns stack groups into the shortest column: a single item as wide as the\n// column, or a pair side by side at one height (see `collage-groups.ts`), laid\n// out on a grid whose dense flow places each at the top of the shortest\n// column, as ProGallery did. Rows fill strips (see `collage-rows.ts`), whose\n// items are positioned from coefficients of the gallery width.\nconst REGIMES = 4;\n\n// Column counts stop here, unlike ProGallery's, so a gallery needs few rules;\n// past it, the columns widen with the gallery.\nconst MAX_COLUMNS = 6;\n\n// Ratios within this of their median lay out on cells of that one ratio,\n// which keeps spacing exact. Other galleries lay out on finer tracks and rows,\n// which keep every item's own ratio instead.\nconst UNIFORM_RATIO_TOLERANCE = 0.01;\n\n// Bounds for the shared cell ratio, so one outlier cannot turn every cell into\n// a sliver: 3:4 to 16:9.\nconst MIN_CELL_RATIO = 3 / 4;\nconst MAX_CELL_RATIO = 16 / 9;\n\n// Grid units per column on the finer grid: tracks across, for pairs to split\n// a column by their ratios, and rows down per column width plus spacing, for\n// each item's height.\nconst COLUMN_TRACKS = 12;\nconst COLUMN_ROWS = 100;\n\n// Rounding headroom for a width exactly at a breakpoint.\nconst BREAKPOINT_MARGIN = 0.001;\n\nconst ratioOf = (item: NormalizedGalleryItem) => item.width / item.height;\n\nconst median = (values: number[]) => {\n const sorted = [...values].sort((a, b) => a - b);\n const middle = Math.floor(sorted.length / 2);\n return sorted.length % 2 ? sorted[middle] : (sorted[middle - 1] + sorted[middle]) / 2;\n};\n\n// Pads to REGIMES with the widest one, so every item has spans for each.\nconst padRegimes = <Regime,>(regimes: Regime[]) => [\n ...regimes,\n ...Array.from(\n { length: Math.max(0, REGIMES - regimes.length) },\n () => regimes[regimes.length - 1]\n ),\n];\n\nconst collageVariable = (name: string) => `--ricos-internal-gallery-collage-${name}`;\n\n// ProGallery chose between rounding `(width + spacing) / (column + spacing)`\n// down and up by which resulting column width came closer to `column` plus\n// spacing, so it moved from n to n + 1 columns once that quotient reached this.\nconst nextColumnAt = (columns: number) => (2 * columns * (columns + 1)) / (2 * columns + 1);\n\nconst getColumnCount = (width: number, column: number, spacing: number) => {\n let columns = 1;\n while (columns < MAX_COLUMNS && width + spacing >= nextColumnAt(columns) * (column + spacing)) {\n columns++;\n }\n return columns;\n};\n\ntype Span = { columns: number; rows: number };\n\nconst toRows = (height: number, column: number, spacing: number) =>\n Math.max(1, Math.round((COLUMN_ROWS * (height + spacing)) / (column + spacing)));\n\n// Spans on the finer grid, derived at the column's own width: a single takes\n// a whole column at its own ratio, and a pair shares one height and splits the\n// column by the two ratios.\nconst getFineSpans = (\n items: NormalizedGalleryItem[],\n shapes: CellShape[],\n column: number,\n spacing: number\n) => {\n const spans: Span[] = items.map(item => ({\n columns: COLUMN_TRACKS,\n rows: toRows(column / ratioOf(item), column, spacing),\n }));\n getPairs(shapes).forEach(([first, second]) => {\n const ratios = [ratioOf(items[first]), ratioOf(items[second])];\n const rows = toRows((column - spacing) / (ratios[0] + ratios[1]), column, spacing);\n const firstColumns = Math.min(\n COLUMN_TRACKS - 1,\n Math.max(1, Math.round((COLUMN_TRACKS * ratios[0]) / (ratios[0] + ratios[1])))\n );\n spans[first] = { columns: firstColumns, rows };\n spans[second] = { columns: COLUMN_TRACKS - firstColumns, rows };\n });\n return spans;\n};\n\n// Spans on cells of one ratio: a pair item takes one, a single two by two.\nconst getCellSpans = (shapes: CellShape[]) =>\n shapes.map(shape => (shape === 'big' ? { columns: 2, rows: 2 } : { columns: 1, rows: 1 }));\n\n// A Rows coefficient pair as a length of the gallery's own width, which is the\n// gallery width plus spacing less one spacing.\nconst toLength = ([a, b]: LinearSize, spacing: number) =>\n `calc(${roundCssNumber(a * 100)}% + ${roundCssNumber(a * spacing + b)}px)`;\n\ntype Declarations = Record<string, string>;\n\ntype CollageView = {\n className?: string;\n rootStyle: React.CSSProperties;\n list: CollageRange[];\n cell: CollageRange[];\n getCellStyle: (index: number) => Record<string, string | number>;\n getSizes: (index: number) => string;\n};\n\nconst getColumnsView = (\n items: NormalizedGalleryItem[],\n { targetSize: column, spacing }: LayoutCollageResolved\n): CollageView => {\n const cellRatio = Math.min(MAX_CELL_RATIO, Math.max(MIN_CELL_RATIO, median(items.map(ratioOf))));\n const isUniform = items.every(\n item => Math.abs(ratioOf(item) / cellRatio - 1) <= UNIFORM_RATIO_TOLERANCE\n );\n const regimes = padRegimes(getCollageRegimes(items, spacing, REGIMES));\n // The column width, one spacing included, where the next regime begins.\n const upperColumn = (index: number) =>\n regimes.slice(index + 1).find(later => later.minColumn > regimes[index].minColumn)?.minColumn ??\n Infinity;\n // Fine spans hold exactly at one column width: for each regime, the one of\n // its own closest to `column`, so no pair is sized in a column too narrow\n // for it.\n const spans = regimes.map(({ shapes, minColumn }, index) =>\n isUniform\n ? getCellSpans(shapes)\n : getFineSpans(\n items,\n shapes,\n Math.min(upperColumn(index), Math.max(minColumn, column + spacing)) - spacing,\n spacing\n )\n );\n const tracks = isUniform ? 2 : COLUMN_TRACKS;\n\n // Widths where the column count changes, and where a column, one spacing\n // included, reaches each regime's threshold at each column count.\n const columnBreakpoints = Array.from(\n { length: MAX_COLUMNS },\n (_, index) => nextColumnAt(index) * (column + spacing) - spacing\n ).filter(width => width >= 0);\n const regimeBreakpoints = Array.from({ length: MAX_COLUMNS }, (_, index) =>\n regimes.map(regime => (index + 1) * regime.minColumn - spacing)\n ).flat();\n const toRanges = (breakpoints: number[], toDeclarations: (width: number) => Declarations) =>\n [...new Set([0, ...breakpoints.filter(width => width > 0)])].map(minWidth => ({\n minWidth,\n declarations: toDeclarations(minWidth + BREAKPOINT_MARGIN),\n }));\n const list = toRanges(columnBreakpoints, width => {\n const columns = getColumnCount(width, column, spacing);\n return {\n 'grid-template-columns': `repeat(${tracks * columns}, minmax(0, 1fr))`,\n // Each row is 1 / COLUMN_ROWS of a column plus spacing.\n ...(!isUniform && {\n 'grid-auto-rows': `calc((100 * var(${collageVariable('unit')}) + ${spacing}px) / ${COLUMN_ROWS * columns})`,\n }),\n };\n });\n const cell = toRanges([...columnBreakpoints, ...regimeBreakpoints], width => {\n const columns = getColumnCount(width, column, spacing);\n const regime = regimes.reduce(\n (found, { minColumn }, index) => ((width + spacing) / columns >= minColumn ? index : found),\n 0\n );\n return { 'grid-area': `var(${collageVariable(`r${regime}`)})` };\n });\n\n // Bounds for `sizes`. ProGallery added a column once that brought the column\n // width closer to `column`, which keeps a column, one spacing included,\n // below 4/3 of `column` plus spacing, the widest with a single column, until\n // MAX_COLUMNS, past which columns widen with the gallery and so with the\n // viewport at most. Within a regime, an item takes its share of a column no\n // wider than where the next regime begins.\n const widestColumn = (4 / 3) * (column + spacing);\n\n return {\n className: classNames(!isUniform && classes.fine),\n rootStyle: {\n [collageVariable('spacing')]: `${spacing}px`,\n [collageVariable('cell-ratio')]: cellRatio,\n } as React.CSSProperties,\n list,\n cell,\n getCellStyle: index =>\n Object.fromEntries(\n spans.map((regimeSpans, regime) => {\n const { rows, columns } = regimeSpans[index];\n return [collageVariable(`r${regime}`), `auto / auto / span ${rows} / span ${columns}`];\n })\n ),\n getSizes: index => {\n const shareOf = (regime: number) => spans[regime][index].columns / tracks;\n const widest = Math.max(\n ...regimes.map(\n (_, regime) => shareOf(regime) * Math.min(widestColumn, upperColumn(regime)) - spacing\n )\n );\n // The widest share of a regime that holds past `widestColumn`, as the\n // last always does.\n const widening = Math.max(\n ...regimes.map((_, regime) => (upperColumn(regime) > widestColumn ? shareOf(regime) : 0))\n );\n return `min(100vw, max(${roundCssNumber(widest)}px, calc(${roundCssNumber((widening * 100) / MAX_COLUMNS)}vw + ${roundCssNumber((widening * spacing) / MAX_COLUMNS - spacing)}px)))`;\n },\n };\n};\n\nconst getRowsView = (\n items: NormalizedGalleryItem[],\n { targetSize, spacing }: LayoutCollageResolved\n): CollageView => {\n const regimes = padRegimes(getRowsRegimes(items, spacing, targetSize, REGIMES));\n const coordinates = ['x', 'y', 'width', 'height'] as const;\n // Regimes start at a gallery width plus spacing.\n const stackedBelow = Math.max(0, regimes[0].minGallery - spacing);\n\n return {\n className: classes.rows,\n rootStyle: { [collageVariable('spacing')]: `${spacing}px` } as React.CSSProperties,\n list: [],\n cell: [\n // Below the first regime, each item takes a grid row of its own, at its\n // own ratio.\n ...(stackedBelow > 0\n ? [\n {\n minWidth: 0,\n declarations: {\n 'grid-area': 'auto',\n 'margin-inline-start': '0px',\n 'margin-block-start': '0px',\n 'inline-size': '100%',\n 'padding-block-end': `calc(100% / var(${collageVariable('item-ratio')}))`,\n },\n },\n ]\n : []),\n ...regimes.map((regime, index) => ({\n minWidth: Math.max(0, regime.minGallery - spacing),\n declarations: {\n 'grid-area': '1 / 1',\n 'margin-inline-start': `var(${collageVariable(`r${index}-x`)})`,\n 'margin-block-start': `var(${collageVariable(`r${index}-y`)})`,\n 'inline-size': `var(${collageVariable(`r${index}-width`)})`,\n 'padding-block-end': `var(${collageVariable(`r${index}-height`)})`,\n },\n })),\n ],\n getCellStyle: index =>\n Object.fromEntries(\n regimes.flatMap((regime, position) =>\n coordinates.map(coordinate => [\n collageVariable(`r${position}-${coordinate}`),\n toLength(regime.rects[index][coordinate], spacing),\n ])\n )\n ),\n // Within each regime an item's width is linear in the gallery's, so it is\n // widest at one end of the regime's widths; the last regime is open-ended\n // and grows with the viewport at most. A stacked item is the gallery's\n // width.\n getSizes: index => {\n let widest = stackedBelow;\n let rate = 0;\n let offset = 0;\n regimes.forEach((regime, position) => {\n const [a, b] = regime.rects[index].width;\n const widthAt = (gallery: number) => a * Math.max(0, gallery - spacing) + a * spacing + b;\n const next = regimes\n .slice(position + 1)\n .find(later => later.minGallery > regime.minGallery);\n if (next) {\n widest = Math.max(widest, widthAt(regime.minGallery), widthAt(next.minGallery));\n } else {\n rate = a;\n offset = a * spacing + b;\n }\n });\n return rate > 0\n ? `min(100vw, max(${roundCssNumber(widest)}px, calc(${roundCssNumber(rate * 100)}vw + ${roundCssNumber(offset)}px)))`\n : cappedViewportSizes({ maxWidth: Math.max(widest, offset) });\n },\n };\n};\n\nexport const LayoutCollage = ({ items, layout, nodeId, runtime }: LayoutCollageProps) => {\n const view =\n layout.orientation === 'ROWS' ? getRowsView(items, layout) : getColumnsView(items, layout);\n const { scope, css } = getCollageStyles([\n { className: classes.collage, ranges: view.list },\n { className: classes.collageCell, ranges: view.cell },\n ]);\n\n return (\n <div\n className={classes.collageRoot}\n style={view.rootStyle}\n {...{ [COLLAGE_SCOPE_ATTRIBUTE]: scope }}\n >\n <style>{css}</style>\n <ul className={classNames(classes.collage, view.className)} data-hook=\"gallery-collage\">\n {items.map((item, index) => (\n <MediaCell\n key={item.id}\n item={item}\n nodeId={nodeId}\n presentation=\"fill\"\n sizes={view.getSizes(index)}\n eager={runtime.lazyLoading === false || index === 0}\n runtime={runtime}\n className={classes.collageCell}\n style={\n {\n [collageVariable('item-ratio')]: ratioOf(item),\n ...view.getCellStyle(index),\n } as React.CSSProperties\n }\n />\n ))}\n </ul>\n </div>\n );\n};\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAuB;AACvB,mBAAkB;AAGlB,4BAA4D;AAC5D,0BAAgD;AAChD,4BAA6E;AAC7E,i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,QAAQ,KAAK,KAAK;AAAA,EACtD,CAAC;AAED,SACE,6BAAAC,QAAA;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,2BAAAD,QAAQ;AAAA,MACnB,OAAO,KAAK;AAAA,MACX,GAAG,EAAE,CAAC,6CAAuB,GAAG,MAAM;AAAA;AAAA,IAEvC,6BAAAC,QAAA,cAAC,eAAO,GAAI;AAAA,IACZ,6BAAAA,QAAA,cAAC,QAAG,eAAW,kBAAAF,SAAW,2BAAAC,QAAQ,SAAS,KAAK,SAAS,GAAG,aAAU,qBACnE,MAAM,IAAI,CAAC,MAAM,UAChB,6BAAAC,QAAA;AAAA,MAAC;AAAA;AAAA,QACC,KAAK,KAAK;AAAA,QACV;AAAA,QACA;AAAA,QACA,cAAa;AAAA,QACb,OAAO,KAAK,SAAS,KAAK;AAAA,QAC1B,OAAO,QAAQ,gBAAgB,SAAS,UAAU;AAAA,QAClD;AAAA,QACA,WAAW,2BAAAD,QAAQ;AAAA,QACnB,OACE;AAAA,UACE,CAAC,gBAAgB,YAAY,CAAC,GAAG,QAAQ,IAAI;AAAA,UAC7C,GAAG,KAAK,aAAa,KAAK;AAAA,QAC5B;AAAA;AAAA,IAEJ,CACD,CACH;AAAA,EACF;AAEJ;",
6
+ "names": ["classNames", "classes", "React"]
7
+ }
@@ -22,9 +22,9 @@ __export(layout_column_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(layout_column_exports);
24
24
  var layout_column_default = {
25
- "column": "JCWCz",
26
- "columnViewport": "Aa-fF",
27
- "columnTrack": "-Maoi",
28
- "columnCell": "XIZIG"
25
+ "column": "Cp5GD",
26
+ "columnViewport": "-MlI2",
27
+ "columnTrack": "TOYYV",
28
+ "columnCell": "-nVn7"
29
29
  };
30
30
  //# sourceMappingURL=layout-column-scss.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/plugin-gallery/viewer/layout-column.scss"],
4
- "sourcesContent": ["export default {\n \"column\": \"JCWCz\",\n \"columnViewport\": \"Aa-fF\",\n \"columnTrack\": \"-Maoi\",\n \"columnCell\": \"XIZIG\"\n};"],
4
+ "sourcesContent": ["export default {\n \"column\": \"Cp5GD\",\n \"columnViewport\": \"-MlI2\",\n \"columnTrack\": \"TOYYV\",\n \"columnCell\": \"-nVn7\"\n};"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAO,wBAAQ;AAAA,EACb,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,eAAe;AAAA,EACf,cAAc;AAChB;",
6
6
  "names": []
7
7
  }
@@ -22,9 +22,9 @@ __export(layout_fullsize_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(layout_fullsize_exports);
24
24
  var layout_fullsize_default = {
25
- "fullsize": "h7FNr",
26
- "fullsizeViewport": "ehJKi",
27
- "fullsizeTrack": "XH9xz",
28
- "fullsizeCell": "_2v6hz"
25
+ "fullsize": "MhX--",
26
+ "fullsizeViewport": "_--I63",
27
+ "fullsizeTrack": "b-5Up",
28
+ "fullsizeCell": "DH0tF"
29
29
  };
30
30
  //# sourceMappingURL=layout-fullsize-scss.js.map