@wix/ricos 11.24.0 → 11.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/all-plugins-viewer.css +151 -151
- package/css/plugin-audio-viewer.global.css +3 -3
- package/css/plugin-audio-viewer.global.inject.mjs +4 -4
- package/css/plugin-button-viewer.global.css +1 -1
- package/css/plugin-button-viewer.global.inject.mjs +2 -2
- package/css/plugin-card-viewer.global.css +1 -1
- package/css/plugin-card-viewer.global.inject.mjs +2 -2
- package/css/plugin-collapsible-list-viewer.global.css +1 -1
- package/css/plugin-collapsible-list-viewer.global.inject.mjs +2 -2
- package/css/plugin-divider-viewer.global.css +1 -1
- package/css/plugin-divider-viewer.global.inject.mjs +2 -2
- package/css/plugin-file-upload-viewer.global.css +1 -1
- package/css/plugin-file-upload-viewer.global.inject.mjs +2 -2
- package/css/plugin-gallery-viewer.global.css +1 -1
- package/css/plugin-gallery-viewer.global.inject.mjs +2 -2
- package/css/plugin-giphy-viewer.global.css +1 -1
- package/css/plugin-giphy-viewer.global.inject.mjs +2 -2
- package/css/plugin-hashtag-viewer.global.css +1 -1
- package/css/plugin-hashtag-viewer.global.inject.mjs +2 -2
- package/css/plugin-html-viewer.global.css +1 -1
- package/css/plugin-html-viewer.global.inject.mjs +2 -2
- package/css/plugin-image-viewer.global.css +1 -1
- package/css/plugin-image-viewer.global.inject.mjs +2 -2
- package/css/plugin-link-preview-viewer.global.css +2 -2
- package/css/plugin-link-preview-viewer.global.inject.mjs +3 -3
- package/css/plugin-link-viewer.global.css +1 -1
- package/css/plugin-link-viewer.global.inject.mjs +2 -2
- package/css/plugin-mentions-viewer.global.css +1 -1
- package/css/plugin-mentions-viewer.global.inject.mjs +2 -2
- package/css/plugin-paywall-viewer.global.css +1 -1
- package/css/plugin-paywall-viewer.global.inject.mjs +2 -2
- package/css/plugin-smart-block-viewer.global.css +1 -1
- package/css/plugin-smart-block-viewer.global.inject.mjs +2 -2
- package/css/plugin-social-polls-viewer.global.css +1 -1
- package/css/plugin-social-polls-viewer.global.inject.mjs +2 -2
- package/css/plugin-spoiler-viewer.global.css +1 -1
- package/css/plugin-spoiler-viewer.global.inject.mjs +2 -2
- package/css/plugin-table-viewer.global.css +3 -3
- package/css/plugin-table-viewer.global.inject.mjs +4 -4
- package/css/plugin-toc-viewer.global.css +1 -1
- package/css/plugin-toc-viewer.global.inject.mjs +2 -2
- package/css/plugin-vertical-embed-viewer.global.css +2 -2
- package/css/plugin-vertical-embed-viewer.global.inject.mjs +3 -3
- package/css/plugin-video-viewer.global.css +1 -1
- package/css/plugin-video-viewer.global.inject.mjs +2 -2
- package/css/ricos-viewer.global.css +1 -1
- package/css/ricos-viewer.global.inject.mjs +2 -2
- package/dist/cjs/_shared/dropdown-modal/dropdown-modal-scss.js +2 -2
- package/dist/cjs/_shared/dropdown-modal/dropdown-modal-scss.js.map +1 -1
- package/dist/cjs/_shared/figure/add-caption-button-scss.js +9 -9
- package/dist/cjs/_shared/figure/add-caption-button-scss.js.map +1 -1
- package/dist/cjs/_shared/figure/viewer-caption-scss.js +2 -2
- package/dist/cjs/_shared/figure/viewer-caption-scss.js.map +1 -1
- package/dist/cjs/_shared/figure/viewer-figure-scss.js +1 -1
- package/dist/cjs/_shared/figure/viewer-figure-scss.js.map +1 -1
- package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js +1 -1
- package/dist/cjs/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
- package/dist/cjs/_shared/list-item-select/list-item-select-scss.js +2 -2
- package/dist/cjs/_shared/list-item-select/list-item-select-scss.js.map +1 -1
- package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js +3 -3
- package/dist/cjs/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
- package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js +1 -1
- package/dist/cjs/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
- package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +2 -2
- package/dist/cjs/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
- package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +2 -2
- package/dist/cjs/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
- package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +7 -7
- package/dist/cjs/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
- package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js +13 -13
- package/dist/cjs/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
- package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js +8 -8
- package/dist/cjs/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
- package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js +7 -7
- package/dist/cjs/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
- package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js +2 -2
- package/dist/cjs/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
- package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js +3 -3
- package/dist/cjs/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
- package/dist/cjs/api-docs-gen/scripts/api-doc-to-md-script.js +1 -1
- package/dist/cjs/api-docs-gen/scripts/api-doc-to-md-script.js.map +1 -1
- package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js +18 -18
- package/dist/cjs/bundled-dependencies/ai-assistant-avatar.js.map +2 -2
- package/dist/cjs/bundled-dependencies/id3js.js +9 -9
- package/dist/cjs/bundled-dependencies/id3js.js.map +1 -1
- package/dist/cjs/bundled-dependencies/wix-bi-logger-rich-editor.js +1 -1
- package/dist/cjs/bundled-dependencies/wix-bi-logger-rich-editor.js.map +1 -1
- package/dist/cjs/bundled-dependencies/wix-image.css +2 -2
- package/dist/cjs/bundled-dependencies/wix-image.css.map +1 -1
- package/dist/cjs/bundled-dependencies/wix-image.js +8 -8
- package/dist/cjs/bundled-dependencies/wix-image.js.map +1 -1
- package/dist/cjs/bundled-dependencies/wix-web-bi-logger.js +60 -60
- package/dist/cjs/bundled-dependencies/wix-web-bi-logger.js.map +3 -3
- package/dist/cjs/editor-common/statics/styles/general-scss.js +18 -18
- package/dist/cjs/editor-common/statics/styles/general-scss.js.map +1 -1
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/legacy.js.map +2 -2
- package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js +8 -8
- package/dist/cjs/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-ai/ai-content-modal/disclaimer/disclaimer.js +1 -1
- package/dist/cjs/plugin-ai/ai-content-modal/disclaimer/disclaimer.js.map +2 -2
- package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js +2 -2
- package/dist/cjs/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
- package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +1 -1
- package/dist/cjs/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
- package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +2 -2
- package/dist/cjs/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
- package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +5 -5
- package/dist/cjs/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
- package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js +6 -6
- package/dist/cjs/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-ai/ai-image-modal/slice/types.js.map +1 -1
- package/dist/cjs/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.js +62 -7
- package/dist/cjs/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.js.map +3 -3
- package/dist/cjs/plugin-ai/ai-image-modal/slice/use-ai-image-modal-reducer.js +9 -3
- package/dist/cjs/plugin-ai/ai-image-modal/slice/use-ai-image-modal-reducer.js.map +2 -2
- package/dist/cjs/plugin-ai/ai-image-modal/use-ai-image-modal-api.js +12 -3
- package/dist/cjs/plugin-ai/ai-image-modal/use-ai-image-modal-api.js.map +2 -2
- package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js +1 -1
- package/dist/cjs/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
- package/dist/cjs/plugin-ai/error-message/error-message-scss.js +1 -1
- package/dist/cjs/plugin-ai/error-message/error-message-scss.js.map +1 -1
- package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js +4 -4
- package/dist/cjs/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
- package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js +2 -2
- package/dist/cjs/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
- package/dist/cjs/plugin-ai/types.js.map +2 -2
- package/dist/cjs/plugin-animation/animation-panel-scss.js +9 -9
- package/dist/cjs/plugin-animation/animation-panel-scss.js.map +1 -1
- package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js +1 -1
- package/dist/cjs/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
- package/dist/cjs/plugin-audio/statics/styles/audio-scss.js +21 -21
- package/dist/cjs/plugin-audio/statics/styles/audio-scss.js.map +1 -1
- package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js +1 -1
- package/dist/cjs/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
- package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js +1 -1
- package/dist/cjs/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js +2 -2
- package/dist/cjs/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
- package/dist/cjs/plugin-block-drag-handle/styles-scss.js +8 -8
- package/dist/cjs/plugin-block-drag-handle/styles-scss.js.map +1 -1
- package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js +2 -2
- package/dist/cjs/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-button/statics/styles/button-text-field-scss.js +1 -1
- package/dist/cjs/plugin-button/statics/styles/button-text-field-scss.js.map +1 -1
- package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js +5 -5
- package/dist/cjs/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
- package/dist/cjs/plugin-card/card-scss.js +20 -20
- package/dist/cjs/plugin-card/card-scss.js.map +1 -1
- package/dist/cjs/plugin-card/card-viewer-scss.js +6 -6
- package/dist/cjs/plugin-card/card-viewer-scss.js.map +1 -1
- package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js +6 -6
- package/dist/cjs/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
- package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
- package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
- package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
- package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
- package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +2 -2
- package/dist/cjs/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
- package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +3 -3
- package/dist/cjs/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
- package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
- package/dist/cjs/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
- package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js +1 -1
- package/dist/cjs/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
- package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js +1 -1
- package/dist/cjs/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-figure/tiptap/caption-scss.js +3 -3
- package/dist/cjs/plugin-figure/tiptap/caption-scss.js.map +1 -1
- package/dist/cjs/plugin-figure/tiptap/figure-scss.js +3 -3
- package/dist/cjs/plugin-figure/tiptap/figure-scss.js.map +1 -1
- package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
- package/dist/cjs/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +3 -3
- package/dist/cjs/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +6 -6
- package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +5 -5
- package/dist/cjs/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +1 -1
- package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +3 -3
- package/dist/cjs/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js +1 -1
- package/dist/cjs/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
- package/dist/cjs/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js +1 -1
- package/dist/cjs/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/viewer/layout-collage-scss.js +5 -5
- package/dist/cjs/plugin-gallery/viewer/layout-collage-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js +4 -4
- package/dist/cjs/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
- package/dist/cjs/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js +2 -2
- package/dist/cjs/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
- package/dist/cjs/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
- package/dist/cjs/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js +6 -6
- package/dist/cjs/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
- package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
- package/dist/cjs/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
- package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js +9 -9
- package/dist/cjs/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
- package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
- package/dist/cjs/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
- package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js +2 -2
- package/dist/cjs/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
- package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js +2 -2
- package/dist/cjs/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
- package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js +5 -5
- package/dist/cjs/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
- package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
- package/dist/cjs/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
- package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js +1 -1
- package/dist/cjs/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
- package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js +2 -2
- package/dist/cjs/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
- package/dist/cjs/plugin-html/tiptap/loader-scss.js +9 -9
- package/dist/cjs/plugin-html/tiptap/loader-scss.js.map +1 -1
- package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js +2 -2
- package/dist/cjs/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
- package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js +4 -4
- package/dist/cjs/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
- package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js +1 -1
- package/dist/cjs/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
- package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js +14 -14
- package/dist/cjs/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
- package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js +20 -20
- package/dist/cjs/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
- package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js +1 -1
- package/dist/cjs/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-image/tiptap/image-tiptap-extension.js +18 -14
- package/dist/cjs/plugin-image/tiptap/image-tiptap-extension.js.map +2 -2
- package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js +4 -4
- package/dist/cjs/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js +10 -10
- package/dist/cjs/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
- package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js +1 -1
- package/dist/cjs/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
- package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js +4 -4
- package/dist/cjs/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
- package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js +3 -3
- package/dist/cjs/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
- package/dist/cjs/plugin-inline-ai/modal-scss.js +9 -9
- package/dist/cjs/plugin-inline-ai/modal-scss.js.map +1 -1
- package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js +12 -12
- package/dist/cjs/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
- package/dist/cjs/plugin-inline-ai/spinner-scss.js +2 -2
- package/dist/cjs/plugin-inline-ai/spinner-scss.js.map +1 -1
- package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js +2 -2
- package/dist/cjs/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
- package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +1 -1
- package/dist/cjs/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-link/statics/link-viewer-scss.js +4 -4
- package/dist/cjs/plugin-link/statics/link-viewer-scss.js.map +1 -1
- package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js +1 -1
- package/dist/cjs/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
- package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js +1 -1
- package/dist/cjs/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
- package/dist/cjs/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
- package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js +1 -1
- package/dist/cjs/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-mentions/statics/mention-list-scss.js +3 -3
- package/dist/cjs/plugin-mentions/statics/mention-list-scss.js.map +1 -1
- package/dist/cjs/plugin-mentions/statics/mentions-scss.js +4 -4
- package/dist/cjs/plugin-mentions/statics/mentions-scss.js.map +1 -1
- package/dist/cjs/plugin-paywall/paywall-fallback-scss.js +1 -1
- package/dist/cjs/plugin-paywall/paywall-fallback-scss.js.map +1 -1
- package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js +22 -22
- package/dist/cjs/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
- package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
- package/dist/cjs/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
- package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
- package/dist/cjs/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
- package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js +20 -20
- package/dist/cjs/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
- package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js +7 -7
- package/dist/cjs/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
- package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js +1 -1
- package/dist/cjs/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
- package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js +50 -50
- package/dist/cjs/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
- package/dist/cjs/plugin-smart-block/components/stars-scss.js +8 -8
- package/dist/cjs/plugin-smart-block/components/stars-scss.js.map +1 -1
- package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js +7 -7
- package/dist/cjs/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
- package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js +13 -13
- package/dist/cjs/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
- package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
- package/dist/cjs/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
- package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js +1 -1
- package/dist/cjs/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-social-polls/components/poll-context/poll-context.js +6 -1
- package/dist/cjs/plugin-social-polls/components/poll-context/poll-context.js.map +2 -2
- package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
- package/dist/cjs/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
- package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js +23 -23
- package/dist/cjs/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
- package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
- package/dist/cjs/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
- package/dist/cjs/plugin-social-polls/components/poll-scss.js +19 -19
- package/dist/cjs/plugin-social-polls/components/poll-scss.js.map +1 -1
- package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js +2 -2
- package/dist/cjs/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
- package/dist/cjs/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
- package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
- package/dist/cjs/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
- package/dist/cjs/plugin-social-polls/services/polls-service.js +22 -29
- package/dist/cjs/plugin-social-polls/services/polls-service.js.map +2 -2
- package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
- package/dist/cjs/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
- package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js +5 -5
- package/dist/cjs/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
- package/dist/cjs/plugin-table/statics/styles/cell-scss.js +15 -15
- package/dist/cjs/plugin-table/statics/styles/cell-scss.js.map +1 -1
- package/dist/cjs/plugin-table/statics/styles/resizer-scss.js +18 -18
- package/dist/cjs/plugin-table/statics/styles/resizer-scss.js.map +1 -1
- package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js +1 -1
- package/dist/cjs/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js +6 -6
- package/dist/cjs/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
- package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js +9 -9
- package/dist/cjs/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
- package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js +33 -33
- package/dist/cjs/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
- package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js +2 -2
- package/dist/cjs/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
- package/dist/cjs/plugin-text-color/text-button-color-scss.js +2 -2
- package/dist/cjs/plugin-text-color/text-button-color-scss.js.map +1 -1
- package/dist/cjs/plugin-toc/toc-view-scss.js +2 -2
- package/dist/cjs/plugin-toc/toc-view-scss.js.map +1 -1
- package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
- package/dist/cjs/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
- package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js +23 -23
- package/dist/cjs/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
- package/dist/cjs/plugin-vertical-embed/components/card-scss.js +19 -19
- package/dist/cjs/plugin-vertical-embed/components/card-scss.js.map +1 -1
- package/dist/cjs/plugin-vertical-embed/components/description-scss.js +2 -2
- package/dist/cjs/plugin-vertical-embed/components/description-scss.js.map +1 -1
- package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js +2 -2
- package/dist/cjs/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
- package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js +10 -10
- package/dist/cjs/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
- package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js +1 -1
- package/dist/cjs/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
- package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
- package/dist/cjs/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
- package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js +8 -8
- package/dist/cjs/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
- package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js +3 -3
- package/dist/cjs/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
- package/dist/cjs/plugin-video/toolbar/embed-video-scss.js +1 -1
- package/dist/cjs/plugin-video/toolbar/embed-video-scss.js.map +1 -1
- package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +1 -1
- package/dist/cjs/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
- package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +8 -8
- package/dist/cjs/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
- package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js +33 -33
- package/dist/cjs/ricos-common-plugins/layout/layouts-scss.js.map +1 -1
- package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +2 -2
- package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
- package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +4 -4
- package/dist/cjs/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
- package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js +2 -2
- package/dist/cjs/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
- package/dist/cjs/ricos-common-plugins/statics/styles-scss.js +18 -18
- package/dist/cjs/ricos-common-plugins/statics/styles-scss.js.map +1 -1
- package/dist/cjs/ricos-common-plugins/title/headings-scss.js +8 -8
- package/dist/cjs/ricos-common-plugins/title/headings-scss.js.map +1 -1
- package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js +9 -9
- package/dist/cjs/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
- package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js +9 -9
- package/dist/cjs/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
- package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js +1 -1
- package/dist/cjs/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
- package/dist/cjs/ricos-modals/statics/styles/popper-scss.js +3 -3
- package/dist/cjs/ricos-modals/statics/styles/popper-scss.js.map +1 -1
- package/dist/cjs/ricos-schema/next-schema/version.js +1 -1
- package/dist/cjs/ricos-schema/next-schema/version.js.map +1 -1
- package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js +4 -4
- package/dist/cjs/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
- package/dist/cjs/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +12 -12
- package/dist/cjs/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js +16 -16
- package/dist/cjs/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js +7 -7
- package/dist/cjs/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
- package/dist/cjs/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
- package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js +2 -2
- package/dist/cjs/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
- package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +2 -2
- package/dist/cjs/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
- package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +13 -13
- package/dist/cjs/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
- package/dist/cjs/tiptap-extensions/placeholder-scss.js +1 -1
- package/dist/cjs/tiptap-extensions/placeholder-scss.js.map +1 -1
- package/dist/cjs/tiptap-extensions/statics/styles-scss.js +4 -4
- package/dist/cjs/tiptap-extensions/statics/styles-scss.js.map +1 -1
- package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +1 -1
- package/dist/cjs/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
- package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +3 -3
- package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
- package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +3 -3
- package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
- package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +4 -4
- package/dist/cjs/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
- package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +9 -9
- package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
- package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +1 -1
- package/dist/cjs/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
- package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +1 -1
- package/dist/cjs/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
- package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +5 -5
- package/dist/cjs/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
- package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +6 -6
- package/dist/cjs/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
- package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +1 -1
- package/dist/cjs/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
- package/dist/cjs/ui-components/Components/Image-scss.js +1 -1
- package/dist/cjs/ui-components/Components/Image-scss.js.map +1 -1
- package/dist/cjs/ui-components/Components/double-loader-scss.js +4 -4
- package/dist/cjs/ui-components/Components/double-loader-scss.js.map +1 -1
- package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +2 -2
- package/dist/cjs/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
- package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +13 -13
- package/dist/cjs/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
- package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +1 -1
- package/dist/cjs/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
- package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +2 -2
- package/dist/cjs/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
- package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +2 -2
- package/dist/cjs/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
- package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +1 -1
- package/dist/cjs/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
- package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js +1 -1
- package/dist/cjs/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
- package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js +3 -3
- package/dist/cjs/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
- package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +1 -1
- package/dist/cjs/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
- package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +4 -4
- package/dist/cjs/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
- package/dist/cjs/ui-components/panel/panel-scss.js +2 -2
- package/dist/cjs/ui-components/panel/panel-scss.js.map +1 -1
- package/dist/cjs/ui-components/panel-header/panel-header-scss.js +1 -1
- package/dist/cjs/ui-components/panel-header/panel-header-scss.js.map +1 -1
- package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +1 -1
- package/dist/cjs/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
- package/dist/cjs/ui-components/statics/styles/generic-error-scss.js +1 -1
- package/dist/cjs/ui-components/statics/styles/generic-error-scss.js.map +1 -1
- package/dist/cjs/ui-components/statics/styles/loaders-scss.js +8 -8
- package/dist/cjs/ui-components/statics/styles/loaders-scss.js.map +1 -1
- package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js +3 -3
- package/dist/cjs/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
- package/dist/cjs/ui-components/statics/styles/slider-scss.js +5 -5
- package/dist/cjs/ui-components/statics/styles/slider-scss.js.map +1 -1
- package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js +1 -1
- package/dist/cjs/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
- package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js +16 -16
- package/dist/cjs/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
- package/dist/cjs/wix-rich-content-common/devTools/tabs/overrides.js +2 -2
- package/dist/cjs/wix-rich-content-common/devTools/tabs/overrides.js.map +2 -2
- package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js +1 -1
- package/dist/cjs/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
- package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js +11 -11
- package/dist/cjs/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
- package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js +5 -5
- package/dist/es/_shared/dropdown-modal/dropdown-modal-scss.js.map +1 -1
- package/dist/es/_shared/figure/add-caption-button-scss.js +11 -11
- package/dist/es/_shared/figure/add-caption-button-scss.js.map +1 -1
- package/dist/es/_shared/figure/viewer-caption-scss.js +2 -2
- package/dist/es/_shared/figure/viewer-caption-scss.js.map +1 -1
- package/dist/es/_shared/figure/viewer-figure-scss.js +1 -1
- package/dist/es/_shared/figure/viewer-figure-scss.js.map +1 -1
- package/dist/es/_shared/list-item-divider/list-item-divider-scss.js +3 -3
- package/dist/es/_shared/list-item-divider/list-item-divider-scss.js.map +1 -1
- package/dist/es/_shared/list-item-select/list-item-select-scss.js +4 -4
- package/dist/es/_shared/list-item-select/list-item-select-scss.js.map +1 -1
- package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js +5 -5
- package/dist/es/_shared/list-item-toggle/list-item-toggle-scss.js.map +1 -1
- package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js +3 -3
- package/dist/es/_shared/overlay-hoc/overlay-hoc-scss.js.map +1 -1
- package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js +4 -4
- package/dist/es/_shared/plugin-toolbar/separator/toolbar-button-separator-scss.js.map +1 -1
- package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js +4 -4
- package/dist/es/_shared/plugin-toolbar/url-link-button/url-link-button-scss.js.map +1 -1
- package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js +9 -9
- package/dist/es/_shared/prompt-input-area/attachment-bar/attachment-bar-scss.js.map +1 -1
- package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js +15 -15
- package/dist/es/_shared/prompt-input-area/prompt-input-area-scss.js.map +1 -1
- package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js +10 -10
- package/dist/es/_shared/prompt-input-area/widget-prompt-input-area-scss.js.map +1 -1
- package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js +9 -9
- package/dist/es/_shared/shape-select-modal/shape-select-modal-content-scss.js.map +1 -1
- package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js +4 -4
- package/dist/es/_shared/shape-view-renderer/shape-view-renderer-scss.js.map +1 -1
- package/dist/es/_shared/toolbar-button/toolbar-button-scss.js +5 -5
- package/dist/es/_shared/toolbar-button/toolbar-button-scss.js.map +1 -1
- package/dist/es/api-docs-gen/scripts/api-doc-to-md-script.js +1 -1
- package/dist/es/api-docs-gen/scripts/api-doc-to-md-script.js.map +1 -1
- package/dist/es/bundled-dependencies/ai-assistant-avatar.js +20 -20
- package/dist/es/bundled-dependencies/ai-assistant-avatar.js.map +2 -2
- package/dist/es/bundled-dependencies/id3js.js +9 -9
- package/dist/es/bundled-dependencies/id3js.js.map +1 -1
- package/dist/es/bundled-dependencies/wix-bi-logger-rich-editor.js +1 -1
- package/dist/es/bundled-dependencies/wix-bi-logger-rich-editor.js.map +1 -1
- package/dist/es/bundled-dependencies/wix-image.css +2 -2
- package/dist/es/bundled-dependencies/wix-image.css.map +1 -1
- package/dist/es/bundled-dependencies/wix-image.js +8 -8
- package/dist/es/bundled-dependencies/wix-image.js.map +1 -1
- package/dist/es/bundled-dependencies/wix-web-bi-logger.js +60 -60
- package/dist/es/bundled-dependencies/wix-web-bi-logger.js.map +3 -3
- package/dist/es/editor-common/statics/styles/general-scss.js +20 -20
- package/dist/es/editor-common/statics/styles/general-scss.js.map +1 -1
- package/dist/es/index.js.map +2 -2
- package/dist/es/legacy.js.map +2 -2
- package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js +10 -10
- package/dist/es/plugin-ai/ai-content-modal/ai-content-modal-scss.js.map +1 -1
- package/dist/es/plugin-ai/ai-content-modal/disclaimer/disclaimer.js +1 -1
- package/dist/es/plugin-ai/ai-content-modal/disclaimer/disclaimer.js.map +2 -2
- package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js +4 -4
- package/dist/es/plugin-ai/ai-content-modal/feed/feed-scss.js.map +1 -1
- package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js +3 -3
- package/dist/es/plugin-ai/ai-content-modal/no-selection-message/no-selection-message-scss.js.map +1 -1
- package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js +4 -4
- package/dist/es/plugin-ai/ai-content-modal/text-cursor/text-cursor-scss.js.map +1 -1
- package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js +7 -7
- package/dist/es/plugin-ai/ai-content-modal/textual-prompt-input-area/textual-prompt-input-area-scss.js.map +1 -1
- package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js +8 -8
- package/dist/es/plugin-ai/ai-image-modal/ai-image-modal-scss.js.map +1 -1
- package/dist/es/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.js +62 -7
- package/dist/es/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.js.map +3 -3
- package/dist/es/plugin-ai/ai-image-modal/slice/use-ai-image-modal-reducer.js +9 -3
- package/dist/es/plugin-ai/ai-image-modal/slice/use-ai-image-modal-reducer.js.map +2 -2
- package/dist/es/plugin-ai/ai-image-modal/use-ai-image-modal-api.js +12 -3
- package/dist/es/plugin-ai/ai-image-modal/use-ai-image-modal-api.js.map +2 -2
- package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js +3 -3
- package/dist/es/plugin-ai/ai-plus-button/ai-plus-button-scss.js.map +1 -1
- package/dist/es/plugin-ai/error-message/error-message-scss.js +3 -3
- package/dist/es/plugin-ai/error-message/error-message-scss.js.map +1 -1
- package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js +6 -6
- package/dist/es/plugin-ai/prompt-input-area/prompt-input-area-scss.js.map +1 -1
- package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js +4 -4
- package/dist/es/plugin-ai/toolbar/toolbar-button-scss.js.map +1 -1
- package/dist/es/plugin-ai/types.js.map +2 -2
- package/dist/es/plugin-animation/animation-panel-scss.js +11 -11
- package/dist/es/plugin-animation/animation-panel-scss.js.map +1 -1
- package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js +3 -3
- package/dist/es/plugin-audio/statics/styles/audio-embed-scss.js.map +1 -1
- package/dist/es/plugin-audio/statics/styles/audio-scss.js +21 -21
- package/dist/es/plugin-audio/statics/styles/audio-scss.js.map +1 -1
- package/dist/es/plugin-audio/statics/styles/icon-button-scss.js +1 -1
- package/dist/es/plugin-audio/statics/styles/icon-button-scss.js.map +1 -1
- package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js +3 -3
- package/dist/es/plugin-audio/statics/styles/settings-modal-scss.js.map +1 -1
- package/dist/es/plugin-audio/statics/styles/sound-control-scss.js +2 -2
- package/dist/es/plugin-audio/statics/styles/sound-control-scss.js.map +1 -1
- package/dist/es/plugin-audio/viewer-styles-inject.js +4 -4
- package/dist/es/plugin-block-drag-handle/styles-scss.js +10 -10
- package/dist/es/plugin-block-drag-handle/styles-scss.js.map +1 -1
- package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js +4 -4
- package/dist/es/plugin-button/statics/styles/button-input-modal-scss.js.map +1 -1
- package/dist/es/plugin-button/statics/styles/button-text-field-scss.js +3 -3
- package/dist/es/plugin-button/statics/styles/button-text-field-scss.js.map +1 -1
- package/dist/es/plugin-button/statics/styles/default-styles-scss.js +5 -5
- package/dist/es/plugin-button/statics/styles/default-styles-scss.js.map +1 -1
- package/dist/es/plugin-button/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-card/card-scss.js +20 -20
- package/dist/es/plugin-card/card-scss.js.map +1 -1
- package/dist/es/plugin-card/card-viewer-scss.js +6 -6
- package/dist/es/plugin-card/card-viewer-scss.js.map +1 -1
- package/dist/es/plugin-card/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-code-block/statics/styles/code-block-scss.js +8 -8
- package/dist/es/plugin-code-block/statics/styles/code-block-scss.js.map +1 -1
- package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js +6 -6
- package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-component-scss.js.map +1 -1
- package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js +18 -18
- package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-pair-scss.js.map +1 -1
- package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js +4 -4
- package/dist/es/plugin-collapsible-list/statics/styles/collapsible-list-settings-scss.js.map +1 -1
- package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js +5 -5
- package/dist/es/plugin-collapsible-list/statics/styles/new-pair-button-scss.js.map +1 -1
- package/dist/es/plugin-collapsible-list/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js +13 -13
- package/dist/es/plugin-divider/statics/styles/divider-viewer-scss.js.map +1 -1
- package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js +3 -3
- package/dist/es/plugin-divider/toolbar/modals/divider-design-panel-scss.js.map +1 -1
- package/dist/es/plugin-divider/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js +3 -3
- package/dist/es/plugin-emoji/modals/emoji-suggestions-modal-scss.js.map +1 -1
- package/dist/es/plugin-figure/tiptap/caption-scss.js +5 -5
- package/dist/es/plugin-figure/tiptap/caption-scss.js.map +1 -1
- package/dist/es/plugin-figure/tiptap/figure-scss.js +5 -5
- package/dist/es/plugin-figure/tiptap/figure-scss.js.map +1 -1
- package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js +15 -15
- package/dist/es/plugin-file-upload/statics/styles/file-upload-viewer-scss.js.map +1 -1
- package/dist/es/plugin-file-upload/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js +5 -5
- package/dist/es/plugin-gallery/modals/settings/gallery-settings-modal-scss.js.map +1 -1
- package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js +8 -8
- package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/image-ratio-control-scss.js.map +1 -1
- package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js +7 -7
- package/dist/es/plugin-gallery/modals/settings/layout-settings/layout-controls-section/thumbnail-alignment-control-scss.js.map +1 -1
- package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js +3 -3
- package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-item-scss.js.map +1 -1
- package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js +5 -5
- package/dist/es/plugin-gallery/modals/settings/media-settings/media-list/sortable-list-scss.js.map +1 -1
- package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js +3 -3
- package/dist/es/plugin-gallery/statics/styles/gallery-component-scss.js.map +1 -1
- package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js +21 -21
- package/dist/es/plugin-gallery/statics/styles/gallery-media-scss.js.map +1 -1
- package/dist/es/plugin-gallery/statics/styles/viewer-scss.js +1 -1
- package/dist/es/plugin-gallery/statics/styles/viewer-scss.js.map +1 -1
- package/dist/es/plugin-gallery/viewer/layout-collage-scss.js +5 -5
- package/dist/es/plugin-gallery/viewer/layout-collage-scss.js.map +1 -1
- package/dist/es/plugin-gallery/viewer/layout-column-scss.js +4 -4
- package/dist/es/plugin-gallery/viewer/layout-column-scss.js.map +1 -1
- package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js +4 -4
- package/dist/es/plugin-gallery/viewer/layout-fullsize-scss.js.map +1 -1
- package/dist/es/plugin-gallery/viewer/layout-grid-scss.js +2 -2
- package/dist/es/plugin-gallery/viewer/layout-grid-scss.js.map +1 -1
- package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js +7 -7
- package/dist/es/plugin-gallery/viewer/layout-masonry-scss.js.map +1 -1
- package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js +1 -1
- package/dist/es/plugin-gallery/viewer/layout-panorama-scss.js.map +1 -1
- package/dist/es/plugin-gallery/viewer/layout-slider-scss.js +6 -6
- package/dist/es/plugin-gallery/viewer/layout-slider-scss.js.map +1 -1
- package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js +11 -11
- package/dist/es/plugin-gallery/viewer/layout-thumbnail-scss.js.map +1 -1
- package/dist/es/plugin-gallery/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-giphy/components/giphy-selector-scss.js +11 -11
- package/dist/es/plugin-giphy/components/giphy-selector-scss.js.map +1 -1
- package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js +4 -4
- package/dist/es/plugin-giphy/viewer/giphy-viewer-scss.js.map +1 -1
- package/dist/es/plugin-giphy/viewer/play-icon-scss.js +2 -2
- package/dist/es/plugin-giphy/viewer/play-icon-scss.js.map +1 -1
- package/dist/es/plugin-giphy/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-hashtag/statics/hashtag-scss.js +2 -2
- package/dist/es/plugin-hashtag/statics/hashtag-scss.js.map +1 -1
- package/dist/es/plugin-hashtag/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js +9 -9
- package/dist/es/plugin-headings/dropdown/headings-dropdown-scss.js.map +1 -1
- package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js +2 -2
- package/dist/es/plugin-html/statics/styles/HtmlComponent-scss.js.map +1 -1
- package/dist/es/plugin-html/statics/styles/Iframe-scss.js +1 -1
- package/dist/es/plugin-html/statics/styles/Iframe-scss.js.map +1 -1
- package/dist/es/plugin-html/tiptap/ai-widget-scss.js +4 -4
- package/dist/es/plugin-html/tiptap/ai-widget-scss.js.map +1 -1
- package/dist/es/plugin-html/tiptap/loader-scss.js +11 -11
- package/dist/es/plugin-html/tiptap/loader-scss.js.map +1 -1
- package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js +4 -4
- package/dist/es/plugin-html/tiptap/preset-bar/preset-bar-scss.js.map +1 -1
- package/dist/es/plugin-html/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-image/components/corner-radius-handles-scss.js +6 -6
- package/dist/es/plugin-image/components/corner-radius-handles-scss.js.map +1 -1
- package/dist/es/plugin-image/components/crop-edge-handles-scss.js +3 -3
- package/dist/es/plugin-image/components/crop-edge-handles-scss.js.map +1 -1
- package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js +16 -16
- package/dist/es/plugin-image/crop-overlay/crop-overlay-scss.js.map +1 -1
- package/dist/es/plugin-image/statics/styles/image-viewer-scss.js +20 -20
- package/dist/es/plugin-image/statics/styles/image-viewer-scss.js.map +1 -1
- package/dist/es/plugin-image/statics/styles/settings-modal-scss.js +3 -3
- package/dist/es/plugin-image/statics/styles/settings-modal-scss.js.map +1 -1
- package/dist/es/plugin-image/tiptap/image-tiptap-extension.js +19 -15
- package/dist/es/plugin-image/tiptap/image-tiptap-extension.js.map +2 -2
- package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js +6 -6
- package/dist/es/plugin-image/toolbar/shape-crop-modal-scss.js.map +1 -1
- package/dist/es/plugin-image/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js +12 -12
- package/dist/es/plugin-inline-ai/ai-selection-tooltip-scss.js.map +1 -1
- package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js +3 -3
- package/dist/es/plugin-inline-ai/aria-avatar-row-scss.js.map +1 -1
- package/dist/es/plugin-inline-ai/aria-surface-row-scss.js +6 -6
- package/dist/es/plugin-inline-ai/aria-surface-row-scss.js.map +1 -1
- package/dist/es/plugin-inline-ai/html-placeholder-scss.js +5 -5
- package/dist/es/plugin-inline-ai/html-placeholder-scss.js.map +1 -1
- package/dist/es/plugin-inline-ai/modal-scss.js +11 -11
- package/dist/es/plugin-inline-ai/modal-scss.js.map +1 -1
- package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js +14 -14
- package/dist/es/plugin-inline-ai/pending-widget-placeholder-scss.js.map +1 -1
- package/dist/es/plugin-inline-ai/spinner-scss.js +4 -4
- package/dist/es/plugin-inline-ai/spinner-scss.js.map +1 -1
- package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js +4 -4
- package/dist/es/plugin-inline-ai/toolbar/toolbar-button-scss.js.map +1 -1
- package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js +3 -3
- package/dist/es/plugin-line-spacing/custom-spacing-editor-modal/custom-spacing-editor-modal-scss.js.map +1 -1
- package/dist/es/plugin-link/statics/link-viewer-scss.js +4 -4
- package/dist/es/plugin-link/statics/link-viewer-scss.js.map +1 -1
- package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js +3 -3
- package/dist/es/plugin-link/toolbar/anchor-link-button-scss.js.map +1 -1
- package/dist/es/plugin-link/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js +3 -3
- package/dist/es/plugin-link-preview/statics/styles/insert-modal-scss.js.map +1 -1
- package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js +18 -18
- package/dist/es/plugin-link-preview/statics/styles/link-preview-scss.js.map +1 -1
- package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js +3 -3
- package/dist/es/plugin-link-preview/statics/styles/settings-modal-scss.js.map +1 -1
- package/dist/es/plugin-link-preview/viewer-styles-inject.js +3 -3
- package/dist/es/plugin-mentions/statics/mention-list-scss.js +6 -6
- package/dist/es/plugin-mentions/statics/mention-list-scss.js.map +1 -1
- package/dist/es/plugin-mentions/statics/mentions-scss.js +4 -4
- package/dist/es/plugin-mentions/statics/mentions-scss.js.map +1 -1
- package/dist/es/plugin-mentions/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-paywall/paywall-fallback-scss.js +1 -1
- package/dist/es/plugin-paywall/paywall-fallback-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/components/cell-accessory-scss.js +22 -22
- package/dist/es/plugin-smart-block/components/cell-accessory-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js +3 -3
- package/dist/es/plugin-smart-block/components/cell-quote-glyph-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js +4 -4
- package/dist/es/plugin-smart-block/components/cell-star-rating-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/components/cell-stat-scss.js +20 -20
- package/dist/es/plugin-smart-block/components/cell-stat-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/components/circle-donut-scss.js +7 -7
- package/dist/es/plugin-smart-block/components/circle-donut-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/components/shape-overlay-scss.js +3 -3
- package/dist/es/plugin-smart-block/components/shape-overlay-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/components/smart-block-view-scss.js +50 -50
- package/dist/es/plugin-smart-block/components/smart-block-view-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/components/stars-scss.js +8 -8
- package/dist/es/plugin-smart-block/components/stars-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/modals/variant-picker-scss.js +9 -9
- package/dist/es/plugin-smart-block/modals/variant-picker-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js +15 -15
- package/dist/es/plugin-smart-block/tiptap/smart-block-editor-scss.js.map +1 -1
- package/dist/es/plugin-smart-block/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js +9 -9
- package/dist/es/plugin-social-polls/components/image-upload/image-upload-scss.js.map +1 -1
- package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js +3 -3
- package/dist/es/plugin-social-polls/components/insert-modal/insert-modal-scss.js.map +1 -1
- package/dist/es/plugin-social-polls/components/poll-context/poll-context.js +6 -1
- package/dist/es/plugin-social-polls/components/poll-context/poll-context.js.map +2 -2
- package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js +3 -3
- package/dist/es/plugin-social-polls/components/poll-header/poll-header-scss.js.map +1 -1
- package/dist/es/plugin-social-polls/components/poll-option/option-scss.js +23 -23
- package/dist/es/plugin-social-polls/components/poll-option/option-scss.js.map +1 -1
- package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js +24 -24
- package/dist/es/plugin-social-polls/components/poll-option/webview/option-webview-scss.js.map +1 -1
- package/dist/es/plugin-social-polls/components/poll-scss.js +19 -19
- package/dist/es/plugin-social-polls/components/poll-scss.js.map +1 -1
- package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js +4 -4
- package/dist/es/plugin-social-polls/components/settings-modal/settings-modal-scss.js.map +1 -1
- package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js +12 -12
- package/dist/es/plugin-social-polls/components/text-field/text-field-scss.js.map +1 -1
- package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js +20 -20
- package/dist/es/plugin-social-polls/components/voted-users/voted-users-scss.js.map +1 -1
- package/dist/es/plugin-social-polls/services/polls-service.js +22 -29
- package/dist/es/plugin-social-polls/services/polls-service.js.map +2 -2
- package/dist/es/plugin-social-polls/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js +18 -18
- package/dist/es/plugin-spoiler/statics/styles/spoiler-scss.js.map +1 -1
- package/dist/es/plugin-spoiler/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-table/modals/table-grid-selector-scss.js +7 -7
- package/dist/es/plugin-table/modals/table-grid-selector-scss.js.map +1 -1
- package/dist/es/plugin-table/statics/styles/cell-scss.js +15 -15
- package/dist/es/plugin-table/statics/styles/cell-scss.js.map +1 -1
- package/dist/es/plugin-table/statics/styles/resizer-scss.js +20 -20
- package/dist/es/plugin-table/statics/styles/resizer-scss.js.map +1 -1
- package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js +3 -3
- package/dist/es/plugin-table/statics/styles/table-settings-modal-scss.js.map +1 -1
- package/dist/es/plugin-table/statics/styles/table-viewer-scss.js +6 -6
- package/dist/es/plugin-table/statics/styles/table-viewer-scss.js.map +1 -1
- package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js +11 -11
- package/dist/es/plugin-table/tiptap/decorations/tableHandles-scss.js.map +1 -1
- package/dist/es/plugin-table/tiptap/plugins/table-scss.js +35 -35
- package/dist/es/plugin-table/tiptap/plugins/table-scss.js.map +1 -1
- package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js +4 -4
- package/dist/es/plugin-table/toolbar/modals/border-scope-selector-scss.js.map +1 -1
- package/dist/es/plugin-table/viewer-styles-inject.js +4 -4
- package/dist/es/plugin-text-color/text-button-color-scss.js +4 -4
- package/dist/es/plugin-text-color/text-button-color-scss.js.map +1 -1
- package/dist/es/plugin-toc/toc-view-scss.js +2 -2
- package/dist/es/plugin-toc/toc-view-scss.js.map +1 -1
- package/dist/es/plugin-toc/viewer-styles-inject.js +2 -2
- package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js +3 -3
- package/dist/es/plugin-vertical-embed/components/Ribbon-scss.js.map +1 -1
- package/dist/es/plugin-vertical-embed/components/card-content-scss.js +23 -23
- package/dist/es/plugin-vertical-embed/components/card-content-scss.js.map +1 -1
- package/dist/es/plugin-vertical-embed/components/card-scss.js +19 -19
- package/dist/es/plugin-vertical-embed/components/card-scss.js.map +1 -1
- package/dist/es/plugin-vertical-embed/components/description-scss.js +2 -2
- package/dist/es/plugin-vertical-embed/components/description-scss.js.map +1 -1
- package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js +4 -4
- package/dist/es/plugin-vertical-embed/modals/settings-modal-scss.js.map +1 -1
- package/dist/es/plugin-vertical-embed/tiptap/component-scss.js +12 -12
- package/dist/es/plugin-vertical-embed/tiptap/component-scss.js.map +1 -1
- package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js +3 -3
- package/dist/es/plugin-vertical-embed/toolbar/items-list-scss.js.map +1 -1
- package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js +6 -6
- package/dist/es/plugin-vertical-embed/viewer/vertical-embed-viewer-scss.js.map +1 -1
- package/dist/es/plugin-vertical-embed/viewer-styles-inject.js +3 -3
- package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js +10 -10
- package/dist/es/plugin-video/statics/styles/default-video-styles-scss.js.map +1 -1
- package/dist/es/plugin-video/statics/styles/video-viewer-scss.js +3 -3
- package/dist/es/plugin-video/statics/styles/video-viewer-scss.js.map +1 -1
- package/dist/es/plugin-video/toolbar/embed-video-scss.js +3 -3
- package/dist/es/plugin-video/toolbar/embed-video-scss.js.map +1 -1
- package/dist/es/plugin-video/viewer-styles-inject.js +2 -2
- package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js +3 -3
- package/dist/es/ricos-common-plugins/font-size/dropdown/font-size-dropdown-scss.js.map +1 -1
- package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js +10 -10
- package/dist/es/ricos-common-plugins/gap-spacer/gap-spacer-component/gap-spacer-styles-scss.js.map +1 -1
- package/dist/es/ricos-common-plugins/layout/layouts-scss.js +35 -35
- package/dist/es/ricos-common-plugins/layout/layouts-scss.js.map +1 -1
- package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js +4 -4
- package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-panel-scss.js.map +1 -1
- package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js +6 -6
- package/dist/es/ricos-common-plugins/layout/section-dividers/section-dividers-scss.js.map +1 -1
- package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js +4 -4
- package/dist/es/ricos-common-plugins/quick-actions/modal/modal-scss.js.map +1 -1
- package/dist/es/ricos-common-plugins/statics/styles-scss.js +20 -20
- package/dist/es/ricos-common-plugins/statics/styles-scss.js.map +1 -1
- package/dist/es/ricos-common-plugins/title/headings-scss.js +10 -10
- package/dist/es/ricos-common-plugins/title/headings-scss.js.map +1 -1
- package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js +11 -11
- package/dist/es/ricos-editor/statics/styles/editor-styles-scss.js.map +1 -1
- package/dist/es/ricos-modals/statics/styles/drawer-scss.js +11 -11
- package/dist/es/ricos-modals/statics/styles/drawer-scss.js.map +1 -1
- package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js +3 -3
- package/dist/es/ricos-modals/statics/styles/fullscreen-scss.js.map +1 -1
- package/dist/es/ricos-modals/statics/styles/popper-scss.js +5 -5
- package/dist/es/ricos-modals/statics/styles/popper-scss.js.map +1 -1
- package/dist/es/ricos-schema/next-schema/version.js +1 -1
- package/dist/es/ricos-schema/next-schema/version.js.map +1 -1
- package/dist/es/ricos-styles/statics/styles/style-presets-scss.js +8 -8
- package/dist/es/ricos-styles/statics/styles/style-presets-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js +3 -3
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/blockquote/blockquote-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js +3 -3
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/codeblock/codeblock-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js +9 -9
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/heading/heading-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js +10 -10
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/layout/layout-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js +6 -6
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/lists/lists-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js +4 -4
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/paragraph/paragraph-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js +2 -2
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/link-viewer-wrapper-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js +15 -15
- package/dist/es/ricos-viewer-next/ContentViewer/rericos/renderers/plugins/plugin-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js +14 -14
- package/dist/es/ricos-viewer-next/modals/fullscreen/fullscreen-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/statics/alignment-scss.js +16 -16
- package/dist/es/ricos-viewer-next/statics/alignment-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/statics/indentation-scss.js +7 -7
- package/dist/es/ricos-viewer-next/statics/indentation-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js +9 -9
- package/dist/es/ricos-viewer-next/statics/rich-content-viewer-scss.js.map +1 -1
- package/dist/es/ricos-viewer-next/statics/rtl-scss.js +2 -2
- package/dist/es/ricos-viewer-next/statics/rtl-scss.js.map +1 -1
- package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js +4 -4
- package/dist/es/text-selection-toolbar/statics/styles/viewer-inline-toolbar-scss.js.map +1 -1
- package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js +15 -15
- package/dist/es/tiptap-editor/statics/styles/tiptap-editor-styles-scss.js.map +1 -1
- package/dist/es/tiptap-extensions/placeholder-scss.js +3 -3
- package/dist/es/tiptap-extensions/placeholder-scss.js.map +1 -1
- package/dist/es/tiptap-extensions/statics/styles-scss.js +6 -6
- package/dist/es/tiptap-extensions/statics/styles-scss.js.map +1 -1
- package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js +3 -3
- package/dist/es/toolbars-v3/components/InsertPluginToolbar/insert-plugin-toolbar-scss.js.map +1 -1
- package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js +5 -5
- package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/OverflownButtons-scss.js.map +1 -1
- package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js +5 -5
- package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbar-scss.js.map +1 -1
- package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js +6 -6
- package/dist/es/toolbars-v3/components/Toolbar/RicosDesktopToolbar/RicosDesktopToolbarWrapper-scss.js.map +1 -1
- package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js +11 -11
- package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/RicosMobileToolbar-scss.js.map +1 -1
- package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js +3 -3
- package/dist/es/toolbars-v3/components/Toolbar/RicosMobileToolbar/mobile-toolbar-overlay/mobile-toolbar-overlay-scss.js.map +1 -1
- package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js +5 -5
- package/dist/es/toolbars-v3/components/buttons/AddPluginMenuButtons/AddPluginMenuMobileButton-scss.js.map +1 -1
- package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js +7 -7
- package/dist/es/toolbars-v3/components/buttons/FontSizeButton/FontSizeButton-scss.js.map +1 -1
- package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js +8 -8
- package/dist/es/toolbars-v3/modals/FloatingPluginMenu/styles/floating-add-plugin-menu-scss.js.map +1 -1
- package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js +3 -3
- package/dist/es/toolbars-v3/ricos-toolbars/footer/FooterToolbar-scss.js.map +1 -1
- package/dist/es/ui-components/Components/Image-scss.js +3 -3
- package/dist/es/ui-components/Components/Image-scss.js.map +1 -1
- package/dist/es/ui-components/Components/double-loader-scss.js +6 -6
- package/dist/es/ui-components/Components/double-loader-scss.js.map +1 -1
- package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js +4 -4
- package/dist/es/ui-components/color-picker/button-color-swatches/button-color-swatches-scss.js.map +1 -1
- package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js +15 -15
- package/dist/es/ui-components/color-picker/new-color-picker/components/gradient-picker/gradient-picker-scss.js.map +1 -1
- package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js +3 -3
- package/dist/es/ui-components/color-picker/new-color-picker/components/new-color-swatches/new-color-swatches-scss.js.map +1 -1
- package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js +4 -4
- package/dist/es/ui-components/color-picker/new-color-picker/components/simple-color-picker/simple-color-picker-scss.js.map +1 -1
- package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js +4 -4
- package/dist/es/ui-components/color-picker/new-color-picker/components/single-color-swatch/single-color-swatch-scss.js.map +1 -1
- package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js +3 -3
- package/dist/es/ui-components/color-picker/new-color-picker/new-color-picker-scss.js.map +1 -1
- package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js +3 -3
- package/dist/es/ui-components/input-with-slider/input-with-slider-scss.js.map +1 -1
- package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js +5 -5
- package/dist/es/ui-components/layout-background-loader/layout-background-loader-scss.js.map +1 -1
- package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js +3 -3
- package/dist/es/ui-components/modal-layout/floating-layout/floating-desktop-layout-scss.js.map +1 -1
- package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js +6 -6
- package/dist/es/ui-components/modal-layout/fullscreen-mobile-layout/fullscreen-mobile-layout-scss.js.map +1 -1
- package/dist/es/ui-components/panel/panel-scss.js +4 -4
- package/dist/es/ui-components/panel/panel-scss.js.map +1 -1
- package/dist/es/ui-components/panel-header/panel-header-scss.js +3 -3
- package/dist/es/ui-components/panel-header/panel-header-scss.js.map +1 -1
- package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js +3 -3
- package/dist/es/ui-components/settings-panel-discard-modal/settings-panel-discard-modal-scss.js.map +1 -1
- package/dist/es/ui-components/statics/styles/generic-error-scss.js +3 -3
- package/dist/es/ui-components/statics/styles/generic-error-scss.js.map +1 -1
- package/dist/es/ui-components/statics/styles/loaders-scss.js +10 -10
- package/dist/es/ui-components/statics/styles/loaders-scss.js.map +1 -1
- package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js +5 -5
- package/dist/es/ui-components/statics/styles/media-item-error-msg-scss.js.map +1 -1
- package/dist/es/ui-components/statics/styles/slider-scss.js +9 -9
- package/dist/es/ui-components/statics/styles/slider-scss.js.map +1 -1
- package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js +3 -3
- package/dist/es/ui-components/thumbnail-picker/thumbnail-picker-scss.js.map +1 -1
- package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js +18 -18
- package/dist/es/ui-components/wixel-assistant/assistant-timeline-scss.js.map +1 -1
- package/dist/es/wix-rich-content-common/devTools/tabs/overrides.js +2 -2
- package/dist/es/wix-rich-content-common/devTools/tabs/overrides.js.map +2 -2
- package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js +3 -3
- package/dist/es/wix-rich-content-common/statics/styles/fonts-scss.js.map +1 -1
- package/dist/es/wix-rich-content-common/statics/styles/general-scss.js +13 -13
- package/dist/es/wix-rich-content-common/statics/styles/general-scss.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/legacy.d.ts +1 -0
- package/dist/src/plugin-ai/ai-image-modal/slice/types.d.ts +5 -2
- package/dist/src/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.d.ts +3 -2
- package/dist/src/plugin-ai/ai-image-modal/slice/use-ai-image-modal-actions.spec.d.ts +1 -0
- package/dist/src/plugin-ai/ai-image-modal/slice/use-ai-image-modal-reducer.d.ts +1 -0
- package/dist/src/plugin-ai/ai-image-modal/use-ai-image-modal-api.d.ts +1 -1
- package/dist/src/plugin-ai/types.d.ts +18 -0
- package/dist/src/plugin-gallery/__tests__/mock-horizontal-viewport.d.ts +2 -1
- package/dist/src/plugin-gallery/__tests__/mock-intersection-observer.d.ts +3 -2
- package/dist/src/plugin-image/tiptap/image-tiptap-extension.d.ts +2 -0
- package/dist/src/plugin-social-polls/components/poll-context/poll-context.spec.d.ts +1 -0
- package/dist/src/ricos-content/normalization/Fixtures/text-wrap-content-state.d.ts +1 -1
- package/dist/src/ricos-schema/next-schema/version.d.ts +1 -1
- package/dist/src/ricos-styles/tests/test-cases.d.ts +5 -5
- package/dist/src/wix-rich-content-common/devTools/tabs/ricos-content-editor/code-mirror-theme.d.ts +2 -2
- package/generated/public.d.ts +35 -0
- package/package.json +26 -15
|
@@ -245,7 +245,7 @@ const OverridesTab = () => {
|
|
|
245
245
|
const visibleVersions = showAllVersions ? filteredVersions : filteredVersions.slice(0, VERSIONS_INITIAL_VISIBLE);
|
|
246
246
|
const trimmedManualInput = manualInput.trim();
|
|
247
247
|
const isManualInputApplyable = trimmedManualInput.length > 0 && trimmedManualInput !== currentOverride;
|
|
248
|
-
return /* @__PURE__ */ React.createElement("div", { style: { padding: "12px 16px", color: mainTheme.text } }, /* @__PURE__ */ React.createElement("div", { style: SECTION_HEADER_ROW_STYLE }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { style: SECTION_TITLE_STYLE }, "@wix/ricos overrides"), /* @__PURE__ */ React.createElement("div", { style: SECTION_DESCRIPTION_STYLE }, "Load a different ", /* @__PURE__ */ React.createElement("code", null, "@wix/ricos"), " build into this page via", " ", /* @__PURE__ */ React.createElement("code", null, OVERRIDE_QUERY_KEY), ". Pick a local dev server, a published version, or paste an arbitrary value."), /* @__PURE__ */ React.createElement("div", { style: { marginTop: 8, fontSize: 12, color: mainTheme.white60 } }, "Current override:", " ", currentOverride ? /* @__PURE__ */ React.createElement("span", { style: { color: jsonTreeTheme.base0B, fontFamily: "monospace" } }, currentOverride) : /* @__PURE__ */ React.createElement("span", null, "none"))), /* @__PURE__ */ React.createElement(Button, { onClick: handleClearOverride, disabled: !currentOverride }, "Clear override")), /* @__PURE__ */ React.createElement("div", { style: { marginTop: 24 } }, /* @__PURE__ */ React.createElement("div", { style: SECTION_HEADER_ROW_STYLE }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { style: SECTION_TITLE_STYLE }, "Local dev servers"), /* @__PURE__ */ React.createElement("div", { style: SECTION_DESCRIPTION_STYLE }, "Running ", /* @__PURE__ */ React.createElement("code", null, "
|
|
248
|
+
return /* @__PURE__ */ React.createElement("div", { style: { padding: "12px 16px", color: mainTheme.text } }, /* @__PURE__ */ React.createElement("div", { style: SECTION_HEADER_ROW_STYLE }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { style: SECTION_TITLE_STYLE }, "@wix/ricos overrides"), /* @__PURE__ */ React.createElement("div", { style: SECTION_DESCRIPTION_STYLE }, "Load a different ", /* @__PURE__ */ React.createElement("code", null, "@wix/ricos"), " build into this page via", " ", /* @__PURE__ */ React.createElement("code", null, OVERRIDE_QUERY_KEY), ". Pick a local dev server, a published version, or paste an arbitrary value."), /* @__PURE__ */ React.createElement("div", { style: { marginTop: 8, fontSize: 12, color: mainTheme.white60 } }, "Current override:", " ", currentOverride ? /* @__PURE__ */ React.createElement("span", { style: { color: jsonTreeTheme.base0B, fontFamily: "monospace" } }, currentOverride) : /* @__PURE__ */ React.createElement("span", null, "none"))), /* @__PURE__ */ React.createElement(Button, { onClick: handleClearOverride, disabled: !currentOverride }, "Clear override")), /* @__PURE__ */ React.createElement("div", { style: { marginTop: 24 } }, /* @__PURE__ */ React.createElement("div", { style: SECTION_HEADER_ROW_STYLE }, /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement("div", { style: SECTION_TITLE_STYLE }, "Local dev servers"), /* @__PURE__ */ React.createElement("div", { style: SECTION_DESCRIPTION_STYLE }, "Running ", /* @__PURE__ */ React.createElement("code", null, "pnpm --filter @wix/ricos watch"), " servers on", " ", /* @__PURE__ */ React.createElement("code", null, "https://localhost:", SCAN_PORT_START, "–", SCAN_PORT_END), ".")), /* @__PURE__ */ React.createElement(Button, { onClick: runScan, disabled: scanning }, scanning ? "Scanning…" : "Rescan")), /* @__PURE__ */ React.createElement(
|
|
249
249
|
"div",
|
|
250
250
|
{
|
|
251
251
|
style: {
|
|
@@ -254,7 +254,7 @@ const OverridesTab = () => {
|
|
|
254
254
|
transition: "opacity .15s"
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
|
-
servers === null ? /* @__PURE__ */ React.createElement("div", { style: { color: mainTheme.white60 } }, "Scanning…") : servers.length === 0 ? /* @__PURE__ */ React.createElement("div", { style: { color: mainTheme.white60, fontSize: 12 } }, "No local servers found. Start one with", " ", /* @__PURE__ */ React.createElement("code", { style: { background: mainTheme.white10, padding: "2px 4px", borderRadius: 2 } }, "
|
|
257
|
+
servers === null ? /* @__PURE__ */ React.createElement("div", { style: { color: mainTheme.white60 } }, "Scanning…") : servers.length === 0 ? /* @__PURE__ */ React.createElement("div", { style: { color: mainTheme.white60, fontSize: 12 } }, "No local servers found. Start one with", " ", /* @__PURE__ */ React.createElement("code", { style: { background: mainTheme.white10, padding: "2px 4px", borderRadius: 2 } }, "pnpm --filter @wix/ricos watch"), ", then visit", " ", /* @__PURE__ */ React.createElement(
|
|
258
258
|
"a",
|
|
259
259
|
{
|
|
260
260
|
href: `https://localhost:${SCAN_PORT_START}/local-servers`,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/wix-rich-content-common/devTools/tabs/overrides.tsx"],
|
|
4
|
-
"sourcesContent": ["import React from 'react';\n\nimport { getOverrideValue } from './../../lib/statics-url.js';\n\nimport { Button } from '../components/button.js';\nimport { jsonTreeTheme, mainTheme } from '../theme.js';\n\n// ---------------------------------------------------------------------------\n// Constants\n// ---------------------------------------------------------------------------\n\n// One-ricos dev servers register themselves on this port range (see\n// scripts/dev-ports.ts: ONE_RICOS_DEV_PORT = 52000 + offset). Multiple\n// worktrees can run simultaneously on adjacent ports.\nconst SCAN_PORT_START = 52000;\nconst SCAN_PORT_END = 52005;\nconst FETCH_TIMEOUT_MS = 500;\n\n// `wix-ricos-override` is the query/cookie name read by `lib/statics-url.ts`\n// to load the `dist/bundles` statics from an alternate URL.\nconst OVERRIDE_QUERY_KEY = 'wix-ricos-override';\n// Same cookie name `lib/statics-url.ts` reads. We clear the `wix-ricos` entry\n// inside it (cookie value format: `artifact#value|artifact#value|...`).\nconst STATIC_OVERRIDES_COOKIE = 'wixStaticsVersions';\nconst STATIC_OVERRIDES_ARTIFACT_ID = 'wix-ricos';\n\n// jsDelivr is CORS-enabled (Access-Control-Allow-Origin: *) and uses CDN\n// infrastructure independent of npmjs.org, so it works from any embedding\n// Wix product page even when npmjs.org is blocked on corporate VPN.\nconst JSDELIVR_PACKAGE_URL = 'https://data.jsdelivr.com/v1/packages/npm/@wix/ricos';\n// Versions before this don't work well with the modern build — same cutoff\n// the playground uses (see infra/docs-playground/src/app/version-search.tsx).\nconst VERSION_CUTOFF = '10.93.0';\nconst VERSIONS_INITIAL_VISIBLE = 15;\n\n// ---------------------------------------------------------------------------\n// Types\n// ---------------------------------------------------------------------------\n\ntype ServerEntry = {\n port: number;\n branch: string;\n startedAt: number;\n};\n\ntype ServerRegistry = Record<string, { branch: string; startedAt: number }>;\n\ntype PublishedVersion = {\n version: string;\n isLatest: boolean;\n};\n\ntype JsDelivrPackageResponse = {\n tags?: { latest?: string };\n versions?: { version: string }[];\n};\n\n// ---------------------------------------------------------------------------\n// Local-server discovery\n// ---------------------------------------------------------------------------\n\nconst fetchRegistryWithTimeout = async (\n url: string,\n timeoutMs: number\n): Promise<ServerRegistry | null> => {\n const controller = new AbortController();\n const timeoutId = setTimeout(() => controller.abort(), timeoutMs);\n try {\n const res = await fetch(url, { signal: controller.signal });\n if (res.ok) {\n return (await res.json()) as ServerRegistry;\n }\n } catch {\n // Server not responding / blocked by browser / not running\n } finally {\n clearTimeout(timeoutId);\n }\n return null;\n};\n\nconst probePort = async (port: number): Promise<ServerEntry[] | null> => {\n const registry = await fetchRegistryWithTimeout(\n `https://localhost:${port}/local-servers`,\n FETCH_TIMEOUT_MS\n );\n if (!registry) {\n return null;\n }\n return Object.entries(registry).map(([portStr, info]) => ({\n port: Number(portStr),\n branch: info.branch,\n startedAt: info.startedAt,\n }));\n};\n\n// Each one-ricos server returns the full one-ricos registry, so we only\n// need a single successful probe in the range to discover everything.\nconst discoverServers = async (): Promise<ServerEntry[]> => {\n const ports: number[] = [];\n for (let p = SCAN_PORT_START; p <= SCAN_PORT_END; p++) {\n ports.push(p);\n }\n const results = await Promise.all(ports.map(probePort));\n for (const servers of results) {\n if (servers && servers.length > 0) {\n return servers.sort((a, b) => a.port - b.port);\n }\n }\n return [];\n};\n\n// ---------------------------------------------------------------------------\n// Published versions (jsDelivr)\n// ---------------------------------------------------------------------------\n\nconst compareSemver = (a: string, b: string): number => {\n const pa = a.split('.').map(Number);\n const pb = b.split('.').map(Number);\n for (let i = 0; i < 3; i++) {\n if (pa[i] !== pb[i]) {\n return pa[i] - pb[i];\n }\n }\n return 0;\n};\n\nconst loadPublishedVersions = async (): Promise<PublishedVersion[]> => {\n const res = await fetch(JSDELIVR_PACKAGE_URL);\n if (!res.ok) {\n throw new Error(`jsDelivr returned HTTP ${res.status}`);\n }\n const data = (await res.json()) as JsDelivrPackageResponse;\n const latest = data.tags?.latest;\n // jsDelivr already returns versions newest-first; we only filter to the\n // cutoff and tag the `latest` dist-tag.\n return (data.versions || [])\n .map(v => v.version)\n .filter(v => /^\\d+\\.\\d+\\.\\d+$/.test(v))\n .filter(v => compareSemver(v, VERSION_CUTOFF) >= 0)\n .map(v => ({ version: v, isLatest: v === latest }));\n};\n\n// ---------------------------------------------------------------------------\n// Shared helpers\n// ---------------------------------------------------------------------------\n\nconst buildOverrideQuery = (value: string): string =>\n `${OVERRIDE_QUERY_KEY}=${encodeURIComponent(value)}`;\n\nconst buildOverrideHref = (value: string): string => {\n const url = new URL(window.location.href);\n url.searchParams.set(OVERRIDE_QUERY_KEY, value);\n return url.toString();\n};\n\nconst OPEN_LINK_TITLE = 'Open with this override (Shift/Cmd-click for new tab)';\n\nconst isLocalhostUrl = (value: string): boolean =>\n value.startsWith('http://localhost') || value.startsWith('https://localhost');\n\nconst portFromLocalhostUrl = (value: string): number | null => {\n try {\n return Number(new URL(value).port) || null;\n } catch {\n return null;\n }\n};\n\nconst formatTimestampAgo = (epoch: number): string => {\n if (!epoch) {\n return '';\n }\n const diffSeconds = Math.floor((Date.now() - epoch) / 1000);\n if (diffSeconds < 60) {\n return `${diffSeconds}s ago`;\n }\n const diffMinutes = Math.floor(diffSeconds / 60);\n if (diffMinutes < 60) {\n return `${diffMinutes}m ago`;\n }\n const diffHours = Math.floor(diffMinutes / 60);\n if (diffHours < 24) {\n return `${diffHours}h ago`;\n }\n return `${Math.floor(diffHours / 24)}d ago`;\n};\n\n// Removes only the `wix-ricos#...` entry from the shared statics-overrides\n// cookie, preserving any other artifact overrides. Best-effort: clears the\n// cookie on the current host and the eTLD+1 (e.g. `.wix.com`) so the\n// override is gone wherever a Wix product set it.\nconst clearWixRicosFromStaticsCookie = (): void => {\n if (typeof document === 'undefined') {\n return;\n }\n const raw = document.cookie.split('; ').find(c => c.startsWith(`${STATIC_OVERRIDES_COOKIE}=`));\n if (!raw) {\n return;\n }\n const value = raw.slice(STATIC_OVERRIDES_COOKIE.length + 1);\n const remaining = value\n .split('|')\n .filter(entry => !entry.startsWith(`${STATIC_OVERRIDES_ARTIFACT_ID}#`))\n .join('|');\n\n const hostParts = window.location.hostname.split('.');\n const parentDomain = hostParts.length > 1 ? `.${hostParts.slice(-2).join('.')}` : undefined;\n const domains: (string | undefined)[] = [undefined, parentDomain];\n\n for (const domain of domains) {\n const domainAttr = domain ? `; domain=${domain}` : '';\n if (remaining) {\n document.cookie = `${STATIC_OVERRIDES_COOKIE}=${remaining}; path=/${domainAttr}`;\n } else {\n document.cookie = `${STATIC_OVERRIDES_COOKIE}=; path=/${domainAttr}; expires=Thu, 01 Jan 1970 00:00:00 GMT`;\n }\n }\n};\n\nconst copyToClipboard = async (text: string): Promise<boolean> => {\n try {\n await navigator.clipboard.writeText(text);\n return true;\n } catch {\n return false;\n }\n};\n\n// ---------------------------------------------------------------------------\n// Styles\n// ---------------------------------------------------------------------------\n\nconst SECTION_TITLE_STYLE: React.CSSProperties = {\n fontWeight: 600,\n marginBottom: 4,\n};\n\nconst SECTION_DESCRIPTION_STYLE: React.CSSProperties = {\n fontSize: 12,\n color: mainTheme.white60,\n};\n\nconst SECTION_HEADER_ROW_STYLE: React.CSSProperties = {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'flex-start',\n gap: 12,\n};\n\nconst TABLE_STYLE: React.CSSProperties = {\n width: '100%',\n borderCollapse: 'collapse',\n fontSize: 13,\n};\n\nconst TABLE_HEADER_ROW_STYLE: React.CSSProperties = {\n textAlign: 'left',\n color: mainTheme.white60,\n};\n\nconst TABLE_HEADER_CELL_STYLE: React.CSSProperties = {\n padding: '4px 8px',\n fontWeight: 500,\n};\n\nconst TABLE_ROW_STYLE: React.CSSProperties = {\n borderTop: `1px solid ${mainTheme.white10}`,\n};\n\nconst ACTIVE_BADGE_STYLE: React.CSSProperties = {\n marginLeft: 6,\n fontSize: 10,\n padding: '1px 5px',\n borderRadius: 2,\n background: jsonTreeTheme.base0B,\n color: mainTheme.mainBg,\n};\n\nconst INPUT_STYLE: React.CSSProperties = {\n background: 'transparent',\n color: mainTheme.text,\n padding: '4px 8px',\n border: `1px solid ${mainTheme.white20}`,\n borderRadius: 2,\n fontSize: 13,\n fontFamily: 'monospace',\n};\n\n// ---------------------------------------------------------------------------\n// Component\n// ---------------------------------------------------------------------------\n\nexport const OverridesTab: React.FC = () => {\n const [servers, setServers] = React.useState<ServerEntry[] | null>(null);\n const [scanning, setScanning] = React.useState(false);\n\n const [publishedVersions, setPublishedVersions] = React.useState<PublishedVersion[] | null>(null);\n const [versionsLoading, setVersionsLoading] = React.useState(false);\n const [versionsError, setVersionsError] = React.useState<string | null>(null);\n const [versionFilter, setVersionFilter] = React.useState('');\n const [showAllVersions, setShowAllVersions] = React.useState(false);\n\n const [copiedValue, setCopiedValue] = React.useState<string | null>(null);\n const [manualInput, setManualInput] = React.useState('');\n\n const currentOverride = React.useMemo(() => getOverrideValue(), []);\n\n // -------------------- Local servers --------------------\n const runScan = React.useCallback(async () => {\n setScanning(true);\n // Enforce a minimum visible \"Scanning…\" state — a parallel probe of 6\n // ports with a 500ms timeout often returns in well under 100ms, which\n // makes the Rescan button look like it did nothing.\n const MIN_SCANNING_MS = 400;\n const minDelay = new Promise(resolve => setTimeout(resolve, MIN_SCANNING_MS));\n try {\n const [results] = await Promise.all([discoverServers(), minDelay]);\n setServers(results);\n } finally {\n setScanning(false);\n }\n }, []);\n\n React.useEffect(() => {\n void runScan();\n }, [runScan]);\n\n // -------------------- Published versions --------------------\n const loadVersions = React.useCallback(async () => {\n setVersionsLoading(true);\n setVersionsError(null);\n try {\n setPublishedVersions(await loadPublishedVersions());\n } catch (e) {\n setVersionsError(e instanceof Error ? e.message : String(e));\n } finally {\n setVersionsLoading(false);\n }\n }, []);\n\n React.useEffect(() => {\n void loadVersions();\n }, [loadVersions]);\n\n // -------------------- Common handlers --------------------\n const handleCopy = async (value: string) => {\n if (await copyToClipboard(buildOverrideQuery(value))) {\n setCopiedValue(value);\n setTimeout(() => setCopiedValue(prev => (prev === value ? null : prev)), 1500);\n }\n };\n\n const handleApply = (value: string) => {\n const url = new URL(window.location.href);\n url.searchParams.set(OVERRIDE_QUERY_KEY, value);\n window.location.assign(url.toString());\n };\n\n const handleClearOverride = () => {\n const url = new URL(window.location.href);\n url.searchParams.delete(OVERRIDE_QUERY_KEY);\n clearWixRicosFromStaticsCookie();\n window.location.assign(url.toString());\n };\n\n // The current override matches a server row if its URL points at the same\n // localhost port. We accept either protocol because the same one-ricos\n // server can be reached via both during cert-trust flows.\n const isServerActive = (port: number): boolean =>\n currentOverride !== null &&\n isLocalhostUrl(currentOverride) &&\n portFromLocalhostUrl(currentOverride) === port;\n\n const isVersionActive = (version: string): boolean => currentOverride === version;\n\n const filteredVersions = (publishedVersions || []).filter(\n v => versionFilter === '' || v.version.includes(versionFilter)\n );\n const visibleVersions = showAllVersions\n ? filteredVersions\n : filteredVersions.slice(0, VERSIONS_INITIAL_VISIBLE);\n\n const trimmedManualInput = manualInput.trim();\n const isManualInputApplyable =\n trimmedManualInput.length > 0 && trimmedManualInput !== currentOverride;\n\n return (\n <div style={{ padding: '12px 16px', color: mainTheme.text }}>\n {/* Top status row */}\n <div style={SECTION_HEADER_ROW_STYLE}>\n <div>\n <div style={SECTION_TITLE_STYLE}>@wix/ricos overrides</div>\n <div style={SECTION_DESCRIPTION_STYLE}>\n Load a different <code>@wix/ricos</code> build into this page via{' '}\n <code>{OVERRIDE_QUERY_KEY}</code>. Pick a local dev server, a published version, or\n paste an arbitrary value.\n </div>\n <div style={{ marginTop: 8, fontSize: 12, color: mainTheme.white60 }}>\n Current override:{' '}\n {currentOverride ? (\n <span style={{ color: jsonTreeTheme.base0B, fontFamily: 'monospace' }}>\n {currentOverride}\n </span>\n ) : (\n <span>none</span>\n )}\n </div>\n </div>\n <Button onClick={handleClearOverride} disabled={!currentOverride}>\n Clear override\n </Button>\n </div>\n\n {/* Local dev servers */}\n <div style={{ marginTop: 24 }}>\n <div style={SECTION_HEADER_ROW_STYLE}>\n <div>\n <div style={SECTION_TITLE_STYLE}>Local dev servers</div>\n <div style={SECTION_DESCRIPTION_STYLE}>\n Running <code>yarn workspace @wix/ricos watch</code> servers on{' '}\n <code>\n https://localhost:{SCAN_PORT_START}–{SCAN_PORT_END}\n </code>\n .\n </div>\n </div>\n <Button onClick={runScan} disabled={scanning}>\n {scanning ? 'Scanning…' : 'Rescan'}\n </Button>\n </div>\n\n <div\n style={{\n marginTop: 12,\n opacity: scanning && servers !== null ? 0.4 : 1,\n transition: 'opacity .15s',\n }}\n >\n {servers === null ? (\n <div style={{ color: mainTheme.white60 }}>Scanning…</div>\n ) : servers.length === 0 ? (\n <div style={{ color: mainTheme.white60, fontSize: 12 }}>\n No local servers found. Start one with{' '}\n <code style={{ background: mainTheme.white10, padding: '2px 4px', borderRadius: 2 }}>\n yarn workspace @wix/ricos watch\n </code>\n , then visit{' '}\n <a\n href={`https://localhost:${SCAN_PORT_START}/local-servers`}\n target=\"_blank\"\n rel=\"noreferrer\"\n style={{ color: jsonTreeTheme.base0D }}\n >\n https://localhost:{SCAN_PORT_START}\n </a>{' '}\n once to accept the self-signed certificate.\n </div>\n ) : (\n <table style={TABLE_STYLE}>\n <thead>\n <tr style={TABLE_HEADER_ROW_STYLE}>\n <th style={TABLE_HEADER_CELL_STYLE}>Port</th>\n <th style={TABLE_HEADER_CELL_STYLE}>Branch</th>\n <th style={TABLE_HEADER_CELL_STYLE}>Started</th>\n <th style={TABLE_HEADER_CELL_STYLE} />\n </tr>\n </thead>\n <tbody>\n {servers.map(server => {\n const overrideValue = `https://localhost:${server.port}`;\n const isCurrent = isServerActive(server.port);\n return (\n <tr key={server.port} style={TABLE_ROW_STYLE}>\n <td style={{ padding: '6px 8px', fontFamily: 'monospace' }}>\n {server.port}\n {isCurrent && <span style={ACTIVE_BADGE_STYLE}>active</span>}\n </td>\n <td style={{ padding: '6px 8px', fontFamily: 'monospace' }}>\n {server.branch || 'unknown'}\n </td>\n <td style={{ padding: '6px 8px', color: mainTheme.white60 }}>\n {formatTimestampAgo(server.startedAt)}\n </td>\n <td style={{ padding: '6px 8px', textAlign: 'right', whiteSpace: 'nowrap' }}>\n <Button onClick={() => handleCopy(overrideValue)}>\n {copiedValue === overrideValue ? 'Copied' : 'Copy'}\n </Button>\n <Button onClick={() => handleApply(overrideValue)} disabled={isCurrent}>\n Apply & reload\n </Button>\n <Button href={buildOverrideHref(overrideValue)} title={OPEN_LINK_TITLE}>\n ↗\n </Button>\n </td>\n </tr>\n );\n })}\n </tbody>\n </table>\n )}\n </div>\n </div>\n\n {/* Custom override — kept above the versions list so the input\n remains visible without scrolling past 15+ versions. */}\n <div style={{ marginTop: 24 }}>\n <div style={SECTION_TITLE_STYLE}>Custom override</div>\n <div style={SECTION_DESCRIPTION_STYLE}>\n Any semver (e.g. <code>11.0.1</code>), CI fingerprint hash, or{' '}\n <code>https://localhost:PORT</code> URL.\n </div>\n <form\n onSubmit={e => {\n e.preventDefault();\n if (isManualInputApplyable) {\n handleApply(trimmedManualInput);\n }\n }}\n style={{ marginTop: 8, display: 'flex', alignItems: 'center', gap: 8 }}\n >\n <input\n type=\"text\"\n placeholder=\"11.0.1 / hex hash / https://localhost:52000\"\n value={manualInput}\n onChange={e => setManualInput(e.currentTarget.value)}\n style={{ ...INPUT_STYLE, flex: 1, minWidth: 240 }}\n />\n <Button\n type=\"button\"\n onClick={() => handleCopy(trimmedManualInput)}\n disabled={trimmedManualInput.length === 0}\n >\n {copiedValue === trimmedManualInput && trimmedManualInput ? 'Copied' : 'Copy'}\n </Button>\n <Button type=\"submit\" disabled={!isManualInputApplyable}>\n Apply & reload\n </Button>\n <Button\n href={isManualInputApplyable ? buildOverrideHref(trimmedManualInput) : ''}\n disabled={!isManualInputApplyable}\n title={OPEN_LINK_TITLE}\n >\n ↗\n </Button>\n </form>\n </div>\n\n {/* Published versions */}\n <div style={{ marginTop: 24 }}>\n <div style={SECTION_HEADER_ROW_STYLE}>\n <div>\n <div style={SECTION_TITLE_STYLE}>Published versions</div>\n <div style={SECTION_DESCRIPTION_STYLE}>\n From jsDelivr (<code>data.jsdelivr.com</code>), filtered to {VERSION_CUTOFF}+.\n </div>\n </div>\n <div style={{ display: 'flex', alignItems: 'center', gap: 8 }}>\n {publishedVersions !== null && (\n <input\n type=\"text\"\n placeholder=\"Filter…\"\n value={versionFilter}\n onChange={e => {\n setVersionFilter(e.currentTarget.value);\n setShowAllVersions(false);\n }}\n style={{ ...INPUT_STYLE, width: 140 }}\n />\n )}\n <Button onClick={loadVersions} disabled={versionsLoading}>\n {versionsLoading ? 'Loading…' : 'Reload'}\n </Button>\n </div>\n </div>\n\n <div style={{ marginTop: 12 }}>\n {versionsError ? (\n <div style={{ color: jsonTreeTheme.base08, fontSize: 12 }}>\n Failed to load versions: {versionsError}\n </div>\n ) : publishedVersions === null ? (\n <div style={{ color: mainTheme.white60 }}>Loading…</div>\n ) : (\n <>\n <table style={TABLE_STYLE}>\n <tbody>\n {visibleVersions.map(entry => {\n const isCurrent = isVersionActive(entry.version);\n return (\n <tr key={entry.version} style={TABLE_ROW_STYLE}>\n <td style={{ padding: '6px 8px', fontFamily: 'monospace' }}>\n {entry.version}\n {entry.isLatest && (\n <span\n style={{\n ...ACTIVE_BADGE_STYLE,\n background: mainTheme.white20,\n color: mainTheme.text,\n }}\n >\n latest\n </span>\n )}\n {isCurrent && <span style={ACTIVE_BADGE_STYLE}>active</span>}\n </td>\n <td\n style={{ padding: '6px 8px', textAlign: 'right', whiteSpace: 'nowrap' }}\n >\n <Button onClick={() => handleCopy(entry.version)}>\n {copiedValue === entry.version ? 'Copied' : 'Copy'}\n </Button>\n <Button onClick={() => handleApply(entry.version)} disabled={isCurrent}>\n Apply & reload\n </Button>\n <Button href={buildOverrideHref(entry.version)} title={OPEN_LINK_TITLE}>\n ↗\n </Button>\n </td>\n </tr>\n );\n })}\n </tbody>\n </table>\n {!showAllVersions && filteredVersions.length > visibleVersions.length && (\n <div style={{ marginTop: 8, textAlign: 'center' }}>\n <Button onClick={() => setShowAllVersions(true)}>\n Show all ({filteredVersions.length - visibleVersions.length} more)\n </Button>\n </div>\n )}\n {filteredVersions.length === 0 && (\n <div style={{ color: mainTheme.white60, fontSize: 12, padding: '8px 0' }}>\n No versions match the filter.\n </div>\n )}\n </>\n )}\n </div>\n </div>\n </div>\n );\n};\n"],
|
|
5
|
-
"mappings": "AAAA,OAAO,WAAW;AAElB,SAAS,wBAAwB;AAEjC,SAAS,cAAc;AACvB,SAAS,eAAe,iBAAiB;AASzC,MAAM,kBAAkB;AACxB,MAAM,gBAAgB;AACtB,MAAM,mBAAmB;AAIzB,MAAM,qBAAqB;AAG3B,MAAM,0BAA0B;AAChC,MAAM,+BAA+B;AAKrC,MAAM,uBAAuB;AAG7B,MAAM,iBAAiB;AACvB,MAAM,2BAA2B;AA4BjC,MAAM,2BAA2B,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url.js';\n\nimport { Button } from '../components/button.js';\nimport { jsonTreeTheme, mainTheme } from '../theme.js';\n\n// ---------------------------------------------------------------------------\n// Constants\n// ---------------------------------------------------------------------------\n\n// One-ricos dev servers register themselves on this port range (see\n// scripts/dev-ports.ts: ONE_RICOS_DEV_PORT = 52000 + offset). Multiple\n// worktrees can run simultaneously on adjacent ports.\nconst SCAN_PORT_START = 52000;\nconst SCAN_PORT_END = 52005;\nconst FETCH_TIMEOUT_MS = 500;\n\n// `wix-ricos-override` is the query/cookie name read by `lib/statics-url.ts`\n// to load the `dist/bundles` statics from an alternate URL.\nconst OVERRIDE_QUERY_KEY = 'wix-ricos-override';\n// Same cookie name `lib/statics-url.ts` reads. We clear the `wix-ricos` entry\n// inside it (cookie value format: `artifact#value|artifact#value|...`).\nconst STATIC_OVERRIDES_COOKIE = 'wixStaticsVersions';\nconst STATIC_OVERRIDES_ARTIFACT_ID = 'wix-ricos';\n\n// jsDelivr is CORS-enabled (Access-Control-Allow-Origin: *) and uses CDN\n// infrastructure independent of npmjs.org, so it works from any embedding\n// Wix product page even when npmjs.org is blocked on corporate VPN.\nconst JSDELIVR_PACKAGE_URL = 'https://data.jsdelivr.com/v1/packages/npm/@wix/ricos';\n// Versions before this don't work well with the modern build — same cutoff\n// the playground uses (see infra/docs-playground/src/app/version-search.tsx).\nconst VERSION_CUTOFF = '10.93.0';\nconst VERSIONS_INITIAL_VISIBLE = 15;\n\n// ---------------------------------------------------------------------------\n// Types\n// ---------------------------------------------------------------------------\n\ntype ServerEntry = {\n port: number;\n branch: string;\n startedAt: number;\n};\n\ntype ServerRegistry = Record<string, { branch: string; startedAt: number }>;\n\ntype PublishedVersion = {\n version: string;\n isLatest: boolean;\n};\n\ntype JsDelivrPackageResponse = {\n tags?: { latest?: string };\n versions?: { version: string }[];\n};\n\n// ---------------------------------------------------------------------------\n// Local-server discovery\n// ---------------------------------------------------------------------------\n\nconst fetchRegistryWithTimeout = async (\n url: string,\n timeoutMs: number\n): Promise<ServerRegistry | null> => {\n const controller = new AbortController();\n const timeoutId = setTimeout(() => controller.abort(), timeoutMs);\n try {\n const res = await fetch(url, { signal: controller.signal });\n if (res.ok) {\n return (await res.json()) as ServerRegistry;\n }\n } catch {\n // Server not responding / blocked by browser / not running\n } finally {\n clearTimeout(timeoutId);\n }\n return null;\n};\n\nconst probePort = async (port: number): Promise<ServerEntry[] | null> => {\n const registry = await fetchRegistryWithTimeout(\n `https://localhost:${port}/local-servers`,\n FETCH_TIMEOUT_MS\n );\n if (!registry) {\n return null;\n }\n return Object.entries(registry).map(([portStr, info]) => ({\n port: Number(portStr),\n branch: info.branch,\n startedAt: info.startedAt,\n }));\n};\n\n// Each one-ricos server returns the full one-ricos registry, so we only\n// need a single successful probe in the range to discover everything.\nconst discoverServers = async (): Promise<ServerEntry[]> => {\n const ports: number[] = [];\n for (let p = SCAN_PORT_START; p <= SCAN_PORT_END; p++) {\n ports.push(p);\n }\n const results = await Promise.all(ports.map(probePort));\n for (const servers of results) {\n if (servers && servers.length > 0) {\n return servers.sort((a, b) => a.port - b.port);\n }\n }\n return [];\n};\n\n// ---------------------------------------------------------------------------\n// Published versions (jsDelivr)\n// ---------------------------------------------------------------------------\n\nconst compareSemver = (a: string, b: string): number => {\n const pa = a.split('.').map(Number);\n const pb = b.split('.').map(Number);\n for (let i = 0; i < 3; i++) {\n if (pa[i] !== pb[i]) {\n return pa[i] - pb[i];\n }\n }\n return 0;\n};\n\nconst loadPublishedVersions = async (): Promise<PublishedVersion[]> => {\n const res = await fetch(JSDELIVR_PACKAGE_URL);\n if (!res.ok) {\n throw new Error(`jsDelivr returned HTTP ${res.status}`);\n }\n const data = (await res.json()) as JsDelivrPackageResponse;\n const latest = data.tags?.latest;\n // jsDelivr already returns versions newest-first; we only filter to the\n // cutoff and tag the `latest` dist-tag.\n return (data.versions || [])\n .map(v => v.version)\n .filter(v => /^\\d+\\.\\d+\\.\\d+$/.test(v))\n .filter(v => compareSemver(v, VERSION_CUTOFF) >= 0)\n .map(v => ({ version: v, isLatest: v === latest }));\n};\n\n// ---------------------------------------------------------------------------\n// Shared helpers\n// ---------------------------------------------------------------------------\n\nconst buildOverrideQuery = (value: string): string =>\n `${OVERRIDE_QUERY_KEY}=${encodeURIComponent(value)}`;\n\nconst buildOverrideHref = (value: string): string => {\n const url = new URL(window.location.href);\n url.searchParams.set(OVERRIDE_QUERY_KEY, value);\n return url.toString();\n};\n\nconst OPEN_LINK_TITLE = 'Open with this override (Shift/Cmd-click for new tab)';\n\nconst isLocalhostUrl = (value: string): boolean =>\n value.startsWith('http://localhost') || value.startsWith('https://localhost');\n\nconst portFromLocalhostUrl = (value: string): number | null => {\n try {\n return Number(new URL(value).port) || null;\n } catch {\n return null;\n }\n};\n\nconst formatTimestampAgo = (epoch: number): string => {\n if (!epoch) {\n return '';\n }\n const diffSeconds = Math.floor((Date.now() - epoch) / 1000);\n if (diffSeconds < 60) {\n return `${diffSeconds}s ago`;\n }\n const diffMinutes = Math.floor(diffSeconds / 60);\n if (diffMinutes < 60) {\n return `${diffMinutes}m ago`;\n }\n const diffHours = Math.floor(diffMinutes / 60);\n if (diffHours < 24) {\n return `${diffHours}h ago`;\n }\n return `${Math.floor(diffHours / 24)}d ago`;\n};\n\n// Removes only the `wix-ricos#...` entry from the shared statics-overrides\n// cookie, preserving any other artifact overrides. Best-effort: clears the\n// cookie on the current host and the eTLD+1 (e.g. `.wix.com`) so the\n// override is gone wherever a Wix product set it.\nconst clearWixRicosFromStaticsCookie = (): void => {\n if (typeof document === 'undefined') {\n return;\n }\n const raw = document.cookie.split('; ').find(c => c.startsWith(`${STATIC_OVERRIDES_COOKIE}=`));\n if (!raw) {\n return;\n }\n const value = raw.slice(STATIC_OVERRIDES_COOKIE.length + 1);\n const remaining = value\n .split('|')\n .filter(entry => !entry.startsWith(`${STATIC_OVERRIDES_ARTIFACT_ID}#`))\n .join('|');\n\n const hostParts = window.location.hostname.split('.');\n const parentDomain = hostParts.length > 1 ? `.${hostParts.slice(-2).join('.')}` : undefined;\n const domains: (string | undefined)[] = [undefined, parentDomain];\n\n for (const domain of domains) {\n const domainAttr = domain ? `; domain=${domain}` : '';\n if (remaining) {\n document.cookie = `${STATIC_OVERRIDES_COOKIE}=${remaining}; path=/${domainAttr}`;\n } else {\n document.cookie = `${STATIC_OVERRIDES_COOKIE}=; path=/${domainAttr}; expires=Thu, 01 Jan 1970 00:00:00 GMT`;\n }\n }\n};\n\nconst copyToClipboard = async (text: string): Promise<boolean> => {\n try {\n await navigator.clipboard.writeText(text);\n return true;\n } catch {\n return false;\n }\n};\n\n// ---------------------------------------------------------------------------\n// Styles\n// ---------------------------------------------------------------------------\n\nconst SECTION_TITLE_STYLE: React.CSSProperties = {\n fontWeight: 600,\n marginBottom: 4,\n};\n\nconst SECTION_DESCRIPTION_STYLE: React.CSSProperties = {\n fontSize: 12,\n color: mainTheme.white60,\n};\n\nconst SECTION_HEADER_ROW_STYLE: React.CSSProperties = {\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'flex-start',\n gap: 12,\n};\n\nconst TABLE_STYLE: React.CSSProperties = {\n width: '100%',\n borderCollapse: 'collapse',\n fontSize: 13,\n};\n\nconst TABLE_HEADER_ROW_STYLE: React.CSSProperties = {\n textAlign: 'left',\n color: mainTheme.white60,\n};\n\nconst TABLE_HEADER_CELL_STYLE: React.CSSProperties = {\n padding: '4px 8px',\n fontWeight: 500,\n};\n\nconst TABLE_ROW_STYLE: React.CSSProperties = {\n borderTop: `1px solid ${mainTheme.white10}`,\n};\n\nconst ACTIVE_BADGE_STYLE: React.CSSProperties = {\n marginLeft: 6,\n fontSize: 10,\n padding: '1px 5px',\n borderRadius: 2,\n background: jsonTreeTheme.base0B,\n color: mainTheme.mainBg,\n};\n\nconst INPUT_STYLE: React.CSSProperties = {\n background: 'transparent',\n color: mainTheme.text,\n padding: '4px 8px',\n border: `1px solid ${mainTheme.white20}`,\n borderRadius: 2,\n fontSize: 13,\n fontFamily: 'monospace',\n};\n\n// ---------------------------------------------------------------------------\n// Component\n// ---------------------------------------------------------------------------\n\nexport const OverridesTab: React.FC = () => {\n const [servers, setServers] = React.useState<ServerEntry[] | null>(null);\n const [scanning, setScanning] = React.useState(false);\n\n const [publishedVersions, setPublishedVersions] = React.useState<PublishedVersion[] | null>(null);\n const [versionsLoading, setVersionsLoading] = React.useState(false);\n const [versionsError, setVersionsError] = React.useState<string | null>(null);\n const [versionFilter, setVersionFilter] = React.useState('');\n const [showAllVersions, setShowAllVersions] = React.useState(false);\n\n const [copiedValue, setCopiedValue] = React.useState<string | null>(null);\n const [manualInput, setManualInput] = React.useState('');\n\n const currentOverride = React.useMemo(() => getOverrideValue(), []);\n\n // -------------------- Local servers --------------------\n const runScan = React.useCallback(async () => {\n setScanning(true);\n // Enforce a minimum visible \"Scanning…\" state — a parallel probe of 6\n // ports with a 500ms timeout often returns in well under 100ms, which\n // makes the Rescan button look like it did nothing.\n const MIN_SCANNING_MS = 400;\n const minDelay = new Promise(resolve => setTimeout(resolve, MIN_SCANNING_MS));\n try {\n const [results] = await Promise.all([discoverServers(), minDelay]);\n setServers(results);\n } finally {\n setScanning(false);\n }\n }, []);\n\n React.useEffect(() => {\n void runScan();\n }, [runScan]);\n\n // -------------------- Published versions --------------------\n const loadVersions = React.useCallback(async () => {\n setVersionsLoading(true);\n setVersionsError(null);\n try {\n setPublishedVersions(await loadPublishedVersions());\n } catch (e) {\n setVersionsError(e instanceof Error ? e.message : String(e));\n } finally {\n setVersionsLoading(false);\n }\n }, []);\n\n React.useEffect(() => {\n void loadVersions();\n }, [loadVersions]);\n\n // -------------------- Common handlers --------------------\n const handleCopy = async (value: string) => {\n if (await copyToClipboard(buildOverrideQuery(value))) {\n setCopiedValue(value);\n setTimeout(() => setCopiedValue(prev => (prev === value ? null : prev)), 1500);\n }\n };\n\n const handleApply = (value: string) => {\n const url = new URL(window.location.href);\n url.searchParams.set(OVERRIDE_QUERY_KEY, value);\n window.location.assign(url.toString());\n };\n\n const handleClearOverride = () => {\n const url = new URL(window.location.href);\n url.searchParams.delete(OVERRIDE_QUERY_KEY);\n clearWixRicosFromStaticsCookie();\n window.location.assign(url.toString());\n };\n\n // The current override matches a server row if its URL points at the same\n // localhost port. We accept either protocol because the same one-ricos\n // server can be reached via both during cert-trust flows.\n const isServerActive = (port: number): boolean =>\n currentOverride !== null &&\n isLocalhostUrl(currentOverride) &&\n portFromLocalhostUrl(currentOverride) === port;\n\n const isVersionActive = (version: string): boolean => currentOverride === version;\n\n const filteredVersions = (publishedVersions || []).filter(\n v => versionFilter === '' || v.version.includes(versionFilter)\n );\n const visibleVersions = showAllVersions\n ? filteredVersions\n : filteredVersions.slice(0, VERSIONS_INITIAL_VISIBLE);\n\n const trimmedManualInput = manualInput.trim();\n const isManualInputApplyable =\n trimmedManualInput.length > 0 && trimmedManualInput !== currentOverride;\n\n return (\n <div style={{ padding: '12px 16px', color: mainTheme.text }}>\n {/* Top status row */}\n <div style={SECTION_HEADER_ROW_STYLE}>\n <div>\n <div style={SECTION_TITLE_STYLE}>@wix/ricos overrides</div>\n <div style={SECTION_DESCRIPTION_STYLE}>\n Load a different <code>@wix/ricos</code> build into this page via{' '}\n <code>{OVERRIDE_QUERY_KEY}</code>. Pick a local dev server, a published version, or\n paste an arbitrary value.\n </div>\n <div style={{ marginTop: 8, fontSize: 12, color: mainTheme.white60 }}>\n Current override:{' '}\n {currentOverride ? (\n <span style={{ color: jsonTreeTheme.base0B, fontFamily: 'monospace' }}>\n {currentOverride}\n </span>\n ) : (\n <span>none</span>\n )}\n </div>\n </div>\n <Button onClick={handleClearOverride} disabled={!currentOverride}>\n Clear override\n </Button>\n </div>\n\n {/* Local dev servers */}\n <div style={{ marginTop: 24 }}>\n <div style={SECTION_HEADER_ROW_STYLE}>\n <div>\n <div style={SECTION_TITLE_STYLE}>Local dev servers</div>\n <div style={SECTION_DESCRIPTION_STYLE}>\n Running <code>pnpm --filter @wix/ricos watch</code> servers on{' '}\n <code>\n https://localhost:{SCAN_PORT_START}–{SCAN_PORT_END}\n </code>\n .\n </div>\n </div>\n <Button onClick={runScan} disabled={scanning}>\n {scanning ? 'Scanning…' : 'Rescan'}\n </Button>\n </div>\n\n <div\n style={{\n marginTop: 12,\n opacity: scanning && servers !== null ? 0.4 : 1,\n transition: 'opacity .15s',\n }}\n >\n {servers === null ? (\n <div style={{ color: mainTheme.white60 }}>Scanning…</div>\n ) : servers.length === 0 ? (\n <div style={{ color: mainTheme.white60, fontSize: 12 }}>\n No local servers found. Start one with{' '}\n <code style={{ background: mainTheme.white10, padding: '2px 4px', borderRadius: 2 }}>\n pnpm --filter @wix/ricos watch\n </code>\n , then visit{' '}\n <a\n href={`https://localhost:${SCAN_PORT_START}/local-servers`}\n target=\"_blank\"\n rel=\"noreferrer\"\n style={{ color: jsonTreeTheme.base0D }}\n >\n https://localhost:{SCAN_PORT_START}\n </a>{' '}\n once to accept the self-signed certificate.\n </div>\n ) : (\n <table style={TABLE_STYLE}>\n <thead>\n <tr style={TABLE_HEADER_ROW_STYLE}>\n <th style={TABLE_HEADER_CELL_STYLE}>Port</th>\n <th style={TABLE_HEADER_CELL_STYLE}>Branch</th>\n <th style={TABLE_HEADER_CELL_STYLE}>Started</th>\n <th style={TABLE_HEADER_CELL_STYLE} />\n </tr>\n </thead>\n <tbody>\n {servers.map(server => {\n const overrideValue = `https://localhost:${server.port}`;\n const isCurrent = isServerActive(server.port);\n return (\n <tr key={server.port} style={TABLE_ROW_STYLE}>\n <td style={{ padding: '6px 8px', fontFamily: 'monospace' }}>\n {server.port}\n {isCurrent && <span style={ACTIVE_BADGE_STYLE}>active</span>}\n </td>\n <td style={{ padding: '6px 8px', fontFamily: 'monospace' }}>\n {server.branch || 'unknown'}\n </td>\n <td style={{ padding: '6px 8px', color: mainTheme.white60 }}>\n {formatTimestampAgo(server.startedAt)}\n </td>\n <td style={{ padding: '6px 8px', textAlign: 'right', whiteSpace: 'nowrap' }}>\n <Button onClick={() => handleCopy(overrideValue)}>\n {copiedValue === overrideValue ? 'Copied' : 'Copy'}\n </Button>\n <Button onClick={() => handleApply(overrideValue)} disabled={isCurrent}>\n Apply & reload\n </Button>\n <Button href={buildOverrideHref(overrideValue)} title={OPEN_LINK_TITLE}>\n ↗\n </Button>\n </td>\n </tr>\n );\n })}\n </tbody>\n </table>\n )}\n </div>\n </div>\n\n {/* Custom override — kept above the versions list so the input\n remains visible without scrolling past 15+ versions. */}\n <div style={{ marginTop: 24 }}>\n <div style={SECTION_TITLE_STYLE}>Custom override</div>\n <div style={SECTION_DESCRIPTION_STYLE}>\n Any semver (e.g. <code>11.0.1</code>), CI fingerprint hash, or{' '}\n <code>https://localhost:PORT</code> URL.\n </div>\n <form\n onSubmit={e => {\n e.preventDefault();\n if (isManualInputApplyable) {\n handleApply(trimmedManualInput);\n }\n }}\n style={{ marginTop: 8, display: 'flex', alignItems: 'center', gap: 8 }}\n >\n <input\n type=\"text\"\n placeholder=\"11.0.1 / hex hash / https://localhost:52000\"\n value={manualInput}\n onChange={e => setManualInput(e.currentTarget.value)}\n style={{ ...INPUT_STYLE, flex: 1, minWidth: 240 }}\n />\n <Button\n type=\"button\"\n onClick={() => handleCopy(trimmedManualInput)}\n disabled={trimmedManualInput.length === 0}\n >\n {copiedValue === trimmedManualInput && trimmedManualInput ? 'Copied' : 'Copy'}\n </Button>\n <Button type=\"submit\" disabled={!isManualInputApplyable}>\n Apply & reload\n </Button>\n <Button\n href={isManualInputApplyable ? buildOverrideHref(trimmedManualInput) : ''}\n disabled={!isManualInputApplyable}\n title={OPEN_LINK_TITLE}\n >\n ↗\n </Button>\n </form>\n </div>\n\n {/* Published versions */}\n <div style={{ marginTop: 24 }}>\n <div style={SECTION_HEADER_ROW_STYLE}>\n <div>\n <div style={SECTION_TITLE_STYLE}>Published versions</div>\n <div style={SECTION_DESCRIPTION_STYLE}>\n From jsDelivr (<code>data.jsdelivr.com</code>), filtered to {VERSION_CUTOFF}+.\n </div>\n </div>\n <div style={{ display: 'flex', alignItems: 'center', gap: 8 }}>\n {publishedVersions !== null && (\n <input\n type=\"text\"\n placeholder=\"Filter…\"\n value={versionFilter}\n onChange={e => {\n setVersionFilter(e.currentTarget.value);\n setShowAllVersions(false);\n }}\n style={{ ...INPUT_STYLE, width: 140 }}\n />\n )}\n <Button onClick={loadVersions} disabled={versionsLoading}>\n {versionsLoading ? 'Loading…' : 'Reload'}\n </Button>\n </div>\n </div>\n\n <div style={{ marginTop: 12 }}>\n {versionsError ? (\n <div style={{ color: jsonTreeTheme.base08, fontSize: 12 }}>\n Failed to load versions: {versionsError}\n </div>\n ) : publishedVersions === null ? (\n <div style={{ color: mainTheme.white60 }}>Loading…</div>\n ) : (\n <>\n <table style={TABLE_STYLE}>\n <tbody>\n {visibleVersions.map(entry => {\n const isCurrent = isVersionActive(entry.version);\n return (\n <tr key={entry.version} style={TABLE_ROW_STYLE}>\n <td style={{ padding: '6px 8px', fontFamily: 'monospace' }}>\n {entry.version}\n {entry.isLatest && (\n <span\n style={{\n ...ACTIVE_BADGE_STYLE,\n background: mainTheme.white20,\n color: mainTheme.text,\n }}\n >\n latest\n </span>\n )}\n {isCurrent && <span style={ACTIVE_BADGE_STYLE}>active</span>}\n </td>\n <td\n style={{ padding: '6px 8px', textAlign: 'right', whiteSpace: 'nowrap' }}\n >\n <Button onClick={() => handleCopy(entry.version)}>\n {copiedValue === entry.version ? 'Copied' : 'Copy'}\n </Button>\n <Button onClick={() => handleApply(entry.version)} disabled={isCurrent}>\n Apply & reload\n </Button>\n <Button href={buildOverrideHref(entry.version)} title={OPEN_LINK_TITLE}>\n ↗\n </Button>\n </td>\n </tr>\n );\n })}\n </tbody>\n </table>\n {!showAllVersions && filteredVersions.length > visibleVersions.length && (\n <div style={{ marginTop: 8, textAlign: 'center' }}>\n <Button onClick={() => setShowAllVersions(true)}>\n Show all ({filteredVersions.length - visibleVersions.length} more)\n </Button>\n </div>\n )}\n {filteredVersions.length === 0 && (\n <div style={{ color: mainTheme.white60, fontSize: 12, padding: '8px 0' }}>\n No versions match the filter.\n </div>\n )}\n </>\n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C,SAAI,OAAO,EAAE,WAAW,GAAG,WAAW,SAAS,KAC9C,oCAAC,UAAO,SAAS,MAAM,mBAAmB,IAAI,KAAG,cACpC,iBAAiB,SAAS,gBAAgB,QAAO,QAC9D,CACF,GAED,iBAAiB,WAAW,KAC3B,oCAAC,SAAI,OAAO,EAAE,OAAO,UAAU,SAAS,UAAU,IAAI,SAAS,QAAQ,KAAG,+BAE1E,CAEJ,CAEJ,CACF,CACF;AAEJ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var styleDataHash = "
|
|
1
|
+
var styleDataHash = "d473e8a5";
|
|
2
2
|
const injectCss = (() => {
|
|
3
|
-
var css = `.
|
|
3
|
+
var css = `._-20yV{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}`;
|
|
4
4
|
var isTest = typeof process !== "undefined" && process.env && false;
|
|
5
5
|
if (isTest || !css || typeof document === "undefined") {
|
|
6
6
|
return;
|
|
@@ -21,7 +21,7 @@ const injectCss = (() => {
|
|
|
21
21
|
});
|
|
22
22
|
injectCss();
|
|
23
23
|
var fonts_default = {
|
|
24
|
-
"fontElementMap": "
|
|
24
|
+
"fontElementMap": "_-20yV"
|
|
25
25
|
};
|
|
26
26
|
export {
|
|
27
27
|
fonts_default as default,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/wix-rich-content-common/statics/styles/fonts.scss"],
|
|
4
|
-
"sourcesContent": ["var styleDataHash = '
|
|
4
|
+
"sourcesContent": ["var styleDataHash = 'd473e8a5'; \nexport const injectCss = (() => {\n var css = `._-20yV{font-family:var(--ricos-font-family,unset)}.glob_fontElementMap{font-family:var(--ricos-font-family,unset)}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"fontElementMap\": \"_-20yV\"\n};"],
|
|
5
5
|
"mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,gBAAQ;AAAA,EACb,kBAAkB;AACpB;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var styleDataHash = "
|
|
1
|
+
var styleDataHash = "da8c162b";
|
|
2
2
|
const injectCss = (() => {
|
|
3
|
-
var css = `.
|
|
3
|
+
var css = `.Qk9L-{margin-left:0;margin-right:auto;z-index:1}.Qk9L-:not(._2C6c6){float:left;margin-right:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){.Qk9L-:not(._2C6c6){float:none;margin-right:auto}}}@container (width < 480px){.Qk9L-:not(._2C6c6):where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){float:none;margin-right:auto}}@media (width < 480px){.Qk9L-:not(._2C6c6):where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .Qk9L-:not(._2C6c6){float:none;margin-right:auto}}._1UeUw{margin-left:auto;margin-right:0;z-index:1}._1UeUw:not(._2C6c6){float:right;margin-left:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){._1UeUw:not(._2C6c6){float:none;margin-left:auto}}}@container (width < 480px){._1UeUw:not(._2C6c6):where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){float:none;margin-left:auto}}@media (width < 480px){._1UeUw:not(._2C6c6):where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) ._1UeUw:not(._2C6c6){float:none;margin-left:auto}}.eyxld{clear:both;display:block}.eyxld:not(.-kjEW){margin-left:auto;margin-right:auto;max-width:100%}.-kjEW,._2C6c6{width:100%}._19nSg .-kjEW,._19nSg ._2C6c6{margin:0 -8px;width:auto}.AVGWu{width:fit-content}.KJrtX{margin-left:auto;margin-right:auto;max-width:100%}.XGWTv{width:min(350px,100%)!important}._19nSg .XGWTv{width:50%}.McgkN{margin-left:auto;margin-right:auto}._19nSg .McgkN{width:150px}.zaqww{display:flex}`;
|
|
4
4
|
var isTest = typeof process !== "undefined" && process.env && false;
|
|
5
5
|
if (isTest || !css || typeof document === "undefined") {
|
|
6
6
|
return;
|
|
@@ -21,17 +21,17 @@ const injectCss = (() => {
|
|
|
21
21
|
});
|
|
22
22
|
injectCss();
|
|
23
23
|
var general_default = {
|
|
24
|
-
"alignLeft": "
|
|
25
|
-
"textWrapNowrap": "
|
|
26
|
-
"alignRight": "
|
|
27
|
-
"alignCenter": "
|
|
28
|
-
"sizeFullWidth": "
|
|
29
|
-
"renderedInTable": "
|
|
30
|
-
"sizeOriginal": "
|
|
31
|
-
"sizeContent": "
|
|
32
|
-
"sizeSmall": "
|
|
33
|
-
"sizeSmallCenter": "
|
|
34
|
-
"flex": "
|
|
24
|
+
"alignLeft": "Qk9L-",
|
|
25
|
+
"textWrapNowrap": "_2C6c6",
|
|
26
|
+
"alignRight": "_1UeUw",
|
|
27
|
+
"alignCenter": "eyxld",
|
|
28
|
+
"sizeFullWidth": "-kjEW",
|
|
29
|
+
"renderedInTable": "_19nSg",
|
|
30
|
+
"sizeOriginal": "AVGWu",
|
|
31
|
+
"sizeContent": "KJrtX",
|
|
32
|
+
"sizeSmall": "XGWTv",
|
|
33
|
+
"sizeSmallCenter": "McgkN",
|
|
34
|
+
"flex": "zaqww"
|
|
35
35
|
};
|
|
36
36
|
export {
|
|
37
37
|
general_default as default,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../../../src/wix-rich-content-common/statics/styles/general.scss"],
|
|
4
|
-
"sourcesContent": ["var styleDataHash = '
|
|
4
|
+
"sourcesContent": ["var styleDataHash = 'da8c162b'; \nexport const injectCss = (() => {\n var css = `.Qk9L-{margin-left:0;margin-right:auto;z-index:1}.Qk9L-:not(._2C6c6){float:left;margin-right:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){.Qk9L-:not(._2C6c6){float:none;margin-right:auto}}}@container (width < 480px){.Qk9L-:not(._2C6c6):where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){float:none;margin-right:auto}}@media (width < 480px){.Qk9L-:not(._2C6c6):where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) .Qk9L-:not(._2C6c6){float:none;margin-right:auto}}._1UeUw{margin-left:auto;margin-right:0;z-index:1}._1UeUw:not(._2C6c6){float:right;margin-left:40px}@supports not (contain:inline-size){@media only screen and (max-width:480px){._1UeUw:not(._2C6c6){float:none;margin-left:auto}}}@container (width < 480px){._1UeUw:not(._2C6c6):where(:not([data-ricos-responsive=viewport],[data-ricos-responsive=viewport] *)){float:none;margin-left:auto}}@media (width < 480px){._1UeUw:not(._2C6c6):where([data-ricos-responsive=viewport]),:where([data-ricos-responsive=viewport]) ._1UeUw:not(._2C6c6){float:none;margin-left:auto}}.eyxld{clear:both;display:block}.eyxld:not(.-kjEW){margin-left:auto;margin-right:auto;max-width:100%}.-kjEW,._2C6c6{width:100%}._19nSg .-kjEW,._19nSg ._2C6c6{margin:0 -8px;width:auto}.AVGWu{width:fit-content}.KJrtX{margin-left:auto;margin-right:auto;max-width:100%}.XGWTv{width:min(350px,100%)!important}._19nSg .XGWTv{width:50%}.McgkN{margin-left:auto;margin-right:auto}._19nSg .McgkN{width:150px}.zaqww{display:flex}`;\n var isTest = typeof process !== 'undefined' && process.env && process.env['NODE_ENV'] === 'test';\n\n if (isTest || !css || typeof document === 'undefined') { return; }\n if (document.querySelector('style[data-ricos-style-hash=\"' + styleDataHash + '\"]')) { return; }\n\n var head = document.head || document.getElementsByTagName('head')[0];\n var style = document.createElement('style');\n style.setAttribute('data-ricos-style-hash', styleDataHash);\n style.type = 'text/css';\n\n head.appendChild(style);\n\n if (style.styleSheet) {\n style.styleSheet.cssText = css;\n } else {\n style.appendChild(document.createTextNode(css));\n }\n});\n\ninjectCss();\n\n\n\nexport default {\n \"alignLeft\": \"Qk9L-\",\n \"textWrapNowrap\": \"_2C6c6\",\n \"alignRight\": \"_1UeUw\",\n \"alignCenter\": \"eyxld\",\n \"sizeFullWidth\": \"-kjEW\",\n \"renderedInTable\": \"_19nSg\",\n \"sizeOriginal\": \"AVGWu\",\n \"sizeContent\": \"KJrtX\",\n \"sizeSmall\": \"XGWTv\",\n \"sizeSmallCenter\": \"McgkN\",\n \"flex\": \"zaqww\"\n};"],
|
|
5
5
|
"mappings": "AAAA,IAAI,gBAAgB;AACb,MAAM,aAAa,MAAM;AAC9B,MAAI,MAAM;AACV,MAAI,SAAS,OAAO,YAAY,eAAe,QAAQ,OAAO;AAE9D,MAAI,UAAU,CAAC,OAAO,OAAO,aAAa,aAAa;AAAE;AAAA,EAAQ;AACjE,MAAI,SAAS,cAAc,kCAAkC,gBAAgB,IAAI,GAAG;AAAE;AAAA,EAAQ;AAE9F,MAAI,OAAO,SAAS,QAAQ,SAAS,qBAAqB,MAAM,EAAE,CAAC;AACnE,MAAI,QAAQ,SAAS,cAAc,OAAO;AAC1C,QAAM,aAAa,yBAAyB,aAAa;AACzD,QAAM,OAAO;AAEb,OAAK,YAAY,KAAK;AAEtB,MAAI,MAAM,YAAY;AACpB,UAAM,WAAW,UAAU;AAAA,EAC7B,OAAO;AACL,UAAM,YAAY,SAAS,eAAe,GAAG,CAAC;AAAA,EAChD;AACF;AAEA,UAAU;AAIV,IAAO,kBAAQ;AAAA,EACb,aAAa;AAAA,EACb,kBAAkB;AAAA,EAClB,cAAc;AAAA,EACd,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,mBAAmB;AAAA,EACnB,gBAAgB;AAAA,EAChB,eAAe;AAAA,EACf,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,QAAQ;AACV;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -876,6 +876,7 @@ export { pluginBlockDragHandle } from './plugin-block-drag-handle/options.js';
|
|
|
876
876
|
export type { BlockDragHandlePluginEditorConfig } from './plugin-block-drag-handle/types.js';
|
|
877
877
|
export { pluginCollab } from './plugin-collab/options.js';
|
|
878
878
|
export { pluginAi } from './plugin-ai/index.js';
|
|
879
|
+
export type { AiGeneratedImage, AiImageGeneration } from './plugin-ai/types.js';
|
|
879
880
|
/** The available audio source button types for the toolbar insert menu. */
|
|
880
881
|
export { audioButtonsTypes } from './plugin-audio/index.js';
|
|
881
882
|
/** Audio source button type: `'audio'` (file upload), `'soundCloud'`, or `'spotify'`. */
|
package/dist/src/legacy.d.ts
CHANGED
|
@@ -64,6 +64,7 @@ export { EditorEvents, EditorEventsContext, type EditorEventsProps, EditorEvents
|
|
|
64
64
|
export { RicosEditorApiContext, RicosEditorApiProvider, useRicosEditorApi, withRicosEditorApi, } from './_shared/ricos-editor-api-context/ricos-editor-api-context.js';
|
|
65
65
|
export { BUTTON_TYPES, FORMATTING_BUTTONS, INSERT_PLUGIN_BUTTONS, } from './editor-common/index.js';
|
|
66
66
|
export { pluginAi } from './plugin-ai/index.js';
|
|
67
|
+
export type { AiGeneratedImage, AiImageGeneration } from './plugin-ai/types.js';
|
|
67
68
|
export { pluginPaywallViewer } from './plugin-paywall/plugin-paywall-viewer.js';
|
|
68
69
|
export { pluginPaywall, type PaywallPluginEditorConfig, type PaywallToolbarButton, type PaywallToolbarContext, } from './plugin-paywall/plugin-paywall.js';
|
|
69
70
|
export { audioButtonsTypes, type AudioPluginEditorConfig, pluginAudio, } from './plugin-audio/index.js';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AiGeneratedImage } from '../../types.js';
|
|
1
2
|
import type { IMAGE_STYLES } from '../consts.js';
|
|
2
3
|
export type ImageStyle = keyof typeof IMAGE_STYLES;
|
|
3
4
|
export type InsertPosition = 'above' | 'below';
|
|
@@ -6,7 +7,8 @@ export type Entry = {
|
|
|
6
7
|
} | {
|
|
7
8
|
type: 'GENERATED';
|
|
8
9
|
url: string;
|
|
9
|
-
file
|
|
10
|
+
file?: File;
|
|
11
|
+
image?: AiGeneratedImage;
|
|
10
12
|
};
|
|
11
13
|
type InitializingState = {
|
|
12
14
|
type: 'INITIALIZING';
|
|
@@ -80,7 +82,8 @@ type SubmitPrompt = {
|
|
|
80
82
|
type FinishLoading = {
|
|
81
83
|
type: 'FINISH_LOADING';
|
|
82
84
|
payload: {
|
|
83
|
-
file
|
|
85
|
+
file?: File;
|
|
86
|
+
image?: AiGeneratedImage;
|
|
84
87
|
result: string;
|
|
85
88
|
requestId: string;
|
|
86
89
|
};
|
|
@@ -9,8 +9,9 @@ type UseImageModalActionsProps = {
|
|
|
9
9
|
savedConvertedPromptHelperValue: boolean;
|
|
10
10
|
setConvertedPromptHelperVisible: (value: boolean) => void;
|
|
11
11
|
publishModalAction: (action: string, value?: string, imageStyle?: string) => void;
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
selection: string;
|
|
13
|
+
} & Pick<AiPluginEditorConfig, 'getGatewayBaseUrl' | 'appDefId' | 'imageGeneration'>;
|
|
14
|
+
export declare const useAiImageModalActions: ({ state, dispatch, getGatewayBaseUrl, appDefId, focusInputArea, saveImageStyle, savedConvertedPromptHelperValue, setConvertedPromptHelperVisible, publishModalAction, selection, imageGeneration, }: UseImageModalActionsProps) => {
|
|
14
15
|
setPromptValue: (value: string) => void;
|
|
15
16
|
tryConvertingSelectionToPrompt: (selection: string) => Promise<void>;
|
|
16
17
|
setImageStyleValue: (value: ImageStyle) => void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -3,6 +3,7 @@ import type { AiImageModalAction, AiImageModalState, ImageStyle } from './types.
|
|
|
3
3
|
export declare const useAiImageModalReducer: (options: {
|
|
4
4
|
imageStyle: ImageStyle;
|
|
5
5
|
convertSelectionToPrompt?: boolean;
|
|
6
|
+
initialPrompt?: string;
|
|
6
7
|
}) => {
|
|
7
8
|
state: AiImageModalState;
|
|
8
9
|
dispatch: React.Dispatch<AiImageModalAction>;
|
|
@@ -12,7 +12,7 @@ type UseAiImageModalProps = {
|
|
|
12
12
|
convertSelectionToPrompt?: boolean;
|
|
13
13
|
publishModalAction: (action: string, value?: string) => void;
|
|
14
14
|
} & AiPluginEditorConfig;
|
|
15
|
-
export declare const useAiImageModalApi: ({ closeModal, openDiscardModal, focusInputArea, modalRef, getGatewayBaseUrl, appDefId, convertSelectionToPrompt, publishModalAction, }: UseAiImageModalProps) => {
|
|
15
|
+
export declare const useAiImageModalApi: ({ closeModal, openDiscardModal, focusInputArea, modalRef, getGatewayBaseUrl, appDefId, convertSelectionToPrompt, publishModalAction, selection, imageGeneration, }: UseAiImageModalProps) => {
|
|
16
16
|
tryCloseModal: () => Promise<boolean | undefined>;
|
|
17
17
|
isDiscardModalOpen: boolean;
|
|
18
18
|
closeOptimisedPromptHelper: () => Promise<void>;
|
|
@@ -2,6 +2,7 @@ import type { IconComponent } from '@wix/wix-ui-icons-common/core';
|
|
|
2
2
|
import type { ModalService } from '../ricos-modals/index.js';
|
|
3
3
|
import type { EditorPluginConfig } from '../ricos-types/index.js';
|
|
4
4
|
import type { JSONContent } from '../tiptap/core/index';
|
|
5
|
+
import type { ImageStyle } from './ai-image-modal/slice/types.js';
|
|
5
6
|
import type { DiscardPayload } from './discard-confirmation-modal/discard-confirmation-modal.js';
|
|
6
7
|
export declare const AI_TYPE = "wix-rich-content-plugin-ai";
|
|
7
8
|
export declare const AI_MODAL_ID = "wix-rich-content-plugin-ai.modal";
|
|
@@ -9,6 +10,22 @@ export declare const AI_DISCARD_MODAL_ID = "wix-rich-content-plugin-ai.discardMo
|
|
|
9
10
|
export declare const AI_ACTIONS_MODAL_ID = "wix-rich-content-plugin-ai.actionsModal";
|
|
10
11
|
export declare const AI_FLOW_SELECTION_MODAL_ID = "wix-rich-content-plugin-ai.flowSelectionModal";
|
|
11
12
|
export declare const AI_IMAGE_MODAL_ID = "wix-rich-content-plugin-ai.imageModal";
|
|
13
|
+
export type AiGeneratedImage = {
|
|
14
|
+
url: string;
|
|
15
|
+
id: string;
|
|
16
|
+
altText?: string;
|
|
17
|
+
width?: number;
|
|
18
|
+
height?: number;
|
|
19
|
+
};
|
|
20
|
+
export type AiImageGeneration = {
|
|
21
|
+
getInitialPrompt?: (selection: string) => string;
|
|
22
|
+
generateImage: (options: {
|
|
23
|
+
prompt: string;
|
|
24
|
+
selection: string;
|
|
25
|
+
imageStyle: ImageStyle;
|
|
26
|
+
signal: AbortSignal;
|
|
27
|
+
}) => Promise<AiGeneratedImage>;
|
|
28
|
+
};
|
|
12
29
|
export interface AiPluginEditorConfig extends EditorPluginConfig {
|
|
13
30
|
type: 'ai';
|
|
14
31
|
configurePrompts?: (prompts: PromptsConfiguration) => PromptsConfiguration;
|
|
@@ -19,6 +36,7 @@ export interface AiPluginEditorConfig extends EditorPluginConfig {
|
|
|
19
36
|
enableImageAltTextExport?: boolean;
|
|
20
37
|
showToolbarButtonText?: boolean;
|
|
21
38
|
enableImageGeneration?: boolean;
|
|
39
|
+
imageGeneration?: AiImageGeneration;
|
|
22
40
|
selectParentNodeOnToolbarClick?: boolean;
|
|
23
41
|
}
|
|
24
42
|
export type Prompt = {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type Mock } from 'vitest';
|
|
1
2
|
export declare const getHorizontalViewport: (selector?: string) => HTMLElement;
|
|
2
3
|
type ViewportGeometry = {
|
|
3
4
|
clientWidth?: number;
|
|
@@ -11,7 +12,7 @@ type ViewportGeometry = {
|
|
|
11
12
|
*/
|
|
12
13
|
export declare const stubViewportGeometry: ({ clientWidth, scrollWidth, scrollLeft }?: ViewportGeometry, viewport?: HTMLElement) => {
|
|
13
14
|
viewport: HTMLElement;
|
|
14
|
-
scrollBy:
|
|
15
|
+
scrollBy: Mock;
|
|
15
16
|
/** Moves the stubbed scroll position and lets the edge listener re-measure. */
|
|
16
17
|
scrollTo: (position: number) => void;
|
|
17
18
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { type Mock } from 'vitest';
|
|
1
2
|
export declare class MockIntersectionObserver {
|
|
2
3
|
private readonly callback;
|
|
3
4
|
readonly options?: IntersectionObserverInit | undefined;
|
|
4
5
|
static latest?: MockIntersectionObserver;
|
|
5
|
-
readonly observe:
|
|
6
|
-
readonly disconnect:
|
|
6
|
+
readonly observe: Mock;
|
|
7
|
+
readonly disconnect: Mock;
|
|
7
8
|
constructor(callback: IntersectionObserverCallback, options?: IntersectionObserverInit | undefined);
|
|
8
9
|
/**
|
|
9
10
|
* The gallery shrinks the observer root to the viewport's centre line, so a
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { ImageData } from '../../ricos-schema/next-schema/index.js';
|
|
1
2
|
import type { PublicCommands } from '../../ricos-types/index.js';
|
|
2
3
|
declare module '../../tiptap/core/index' {
|
|
3
4
|
interface Commands<ReturnType> {
|
|
@@ -14,6 +15,7 @@ declare module '../../tiptap/core/index' {
|
|
|
14
15
|
* Save image from file
|
|
15
16
|
*/
|
|
16
17
|
insertImageFromFile: (file: File, position: 'above' | 'below', publicCommands: PublicCommands) => ReturnType;
|
|
18
|
+
insertImageFromMedia: (imageData: Pick<ImageData, 'image' | 'altText'>, position: 'above' | 'below', publicCommands: PublicCommands) => ReturnType;
|
|
17
19
|
};
|
|
18
20
|
}
|
|
19
21
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const RICOS_VERSION = "11.
|
|
1
|
+
export declare const RICOS_VERSION = "11.25.0";
|
|
@@ -9,24 +9,24 @@ export declare const decorations: ({
|
|
|
9
9
|
background: string;
|
|
10
10
|
};
|
|
11
11
|
} | {
|
|
12
|
-
colorData?: {};
|
|
13
12
|
italicData?: undefined;
|
|
14
13
|
fontSizeData?: undefined;
|
|
14
|
+
colorData?: undefined;
|
|
15
15
|
type: Decoration_Type;
|
|
16
16
|
fontWeightValue: number;
|
|
17
17
|
} | {
|
|
18
|
-
colorData?: {};
|
|
19
18
|
fontWeightValue?: undefined;
|
|
20
19
|
italicData?: undefined;
|
|
20
|
+
colorData?: undefined;
|
|
21
21
|
type: Decoration_Type;
|
|
22
22
|
fontSizeData: {
|
|
23
23
|
unit: FontSizeData_fontType;
|
|
24
24
|
value: number;
|
|
25
25
|
};
|
|
26
26
|
} | {
|
|
27
|
-
colorData?: {};
|
|
28
27
|
fontWeightValue?: undefined;
|
|
29
28
|
fontSizeData?: undefined;
|
|
29
|
+
colorData?: undefined;
|
|
30
30
|
type: Decoration_Type;
|
|
31
31
|
italicData: boolean;
|
|
32
32
|
})[];
|
|
@@ -88,7 +88,7 @@ export declare const headingNode: {
|
|
|
88
88
|
foreground: string;
|
|
89
89
|
};
|
|
90
90
|
} | {
|
|
91
|
-
colorData?:
|
|
91
|
+
colorData?: undefined;
|
|
92
92
|
type: string;
|
|
93
93
|
fontWeightValue: number;
|
|
94
94
|
})[];
|
|
@@ -116,7 +116,7 @@ export declare const complexHeadingNode: {
|
|
|
116
116
|
textData: {
|
|
117
117
|
text: string;
|
|
118
118
|
decorations: ({
|
|
119
|
-
colorData?:
|
|
119
|
+
colorData?: undefined;
|
|
120
120
|
type: string;
|
|
121
121
|
fontWeightValue: number;
|
|
122
122
|
} | {
|
package/dist/src/wix-rich-content-common/devTools/tabs/ricos-content-editor/code-mirror-theme.d.ts
CHANGED
|
@@ -26,5 +26,5 @@ export declare const config: {
|
|
|
26
26
|
tag: string;
|
|
27
27
|
};
|
|
28
28
|
export declare const defaultSettingsSolarizedDark: CreateThemeOptions['settings'];
|
|
29
|
-
export declare const solarizedDarkInit: (options?: Partial<CreateThemeOptions>) => import("@codemirror
|
|
30
|
-
export declare const wixDocsCodeTheme: import("@codemirror
|
|
29
|
+
export declare const solarizedDarkInit: (options?: Partial<CreateThemeOptions>) => import("@uiw/react-codemirror").Extension;
|
|
30
|
+
export declare const wixDocsCodeTheme: import("@uiw/react-codemirror").Extension;
|
package/generated/public.d.ts
CHANGED
|
@@ -168,6 +168,24 @@ declare type AddTextMethod<T> = {
|
|
|
168
168
|
}) => RichContent_2;
|
|
169
169
|
};
|
|
170
170
|
|
|
171
|
+
export declare type AiGeneratedImage = {
|
|
172
|
+
url: string;
|
|
173
|
+
id: string;
|
|
174
|
+
altText?: string;
|
|
175
|
+
width?: number;
|
|
176
|
+
height?: number;
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
export declare type AiImageGeneration = {
|
|
180
|
+
getInitialPrompt?: (selection: string) => string;
|
|
181
|
+
generateImage: (options: {
|
|
182
|
+
prompt: string;
|
|
183
|
+
selection: string;
|
|
184
|
+
imageStyle: ImageStyle;
|
|
185
|
+
signal: AbortSignal;
|
|
186
|
+
}) => Promise<AiGeneratedImage>;
|
|
187
|
+
};
|
|
188
|
+
|
|
171
189
|
declare interface AiPluginEditorConfig extends EditorPluginConfig {
|
|
172
190
|
type: 'ai';
|
|
173
191
|
configurePrompts?: (prompts: PromptsConfiguration) => PromptsConfiguration;
|
|
@@ -178,6 +196,7 @@ declare interface AiPluginEditorConfig extends EditorPluginConfig {
|
|
|
178
196
|
enableImageAltTextExport?: boolean;
|
|
179
197
|
showToolbarButtonText?: boolean;
|
|
180
198
|
enableImageGeneration?: boolean;
|
|
199
|
+
imageGeneration?: AiImageGeneration;
|
|
181
200
|
selectParentNodeOnToolbarClick?: boolean;
|
|
182
201
|
}
|
|
183
202
|
|
|
@@ -5192,6 +5211,20 @@ declare type IdOrUrl = {
|
|
|
5192
5211
|
url: string;
|
|
5193
5212
|
};
|
|
5194
5213
|
|
|
5214
|
+
declare const IMAGE_STYLES: {
|
|
5215
|
+
NONE: string;
|
|
5216
|
+
DIGITAL_ART: string;
|
|
5217
|
+
REALISM: string;
|
|
5218
|
+
ANIME: string;
|
|
5219
|
+
CINEMATIC: string;
|
|
5220
|
+
THREE_DIMENSIONAL: string;
|
|
5221
|
+
CARTOON: string;
|
|
5222
|
+
PACKSHOT_STUDIO: string;
|
|
5223
|
+
NEON: string;
|
|
5224
|
+
COMICS: string;
|
|
5225
|
+
BLACK_AND_WHITE_DRAWING: string;
|
|
5226
|
+
};
|
|
5227
|
+
|
|
5195
5228
|
export declare const IMAGE_TYPE = "wix-draft-plugin-image";
|
|
5196
5229
|
|
|
5197
5230
|
declare const IMAGE_TYPE_LEGACY = "IMAGE";
|
|
@@ -5467,6 +5500,8 @@ declare const ImageScaling: {
|
|
|
5467
5500
|
readonly COVER: 'COVER';
|
|
5468
5501
|
};
|
|
5469
5502
|
|
|
5503
|
+
declare type ImageStyle = keyof typeof IMAGE_STYLES;
|
|
5504
|
+
|
|
5470
5505
|
export declare const INDENT_TYPE = "wix-rich-content-plugin-indent";
|
|
5471
5506
|
|
|
5472
5507
|
declare interface IndentPluginEditorConfig extends EditorPluginConfig {
|