@wix/patterns-fields 1.66.0 → 1.68.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/dist/cjs/auto-field-types/validations.js +9 -13
- package/dist/cjs/auto-field-types/validations.js.map +1 -1
- package/dist/cjs/components/address/input/address-input.st.css.js +3 -3
- package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
- package/dist/cjs/components/color-view/cell-color-view.js +10 -9
- package/dist/cjs/components/color-view/cell-color-view.js.map +1 -1
- package/dist/cjs/components/color-view/cell-color-view.st.css.js +3 -3
- package/dist/cjs/components/color-view/cell-color-view.st.css.js.map +1 -1
- package/dist/cjs/components/color-view/color-view.js +5 -3
- package/dist/cjs/components/color-view/color-view.js.map +1 -1
- package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
- package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
- package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
- package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
- package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
- package/dist/cjs/components/media-gallery/cell-media-gallery-view.js +3 -3
- package/dist/cjs/components/media-gallery/cell-media-gallery-view.js.map +1 -1
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
- package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-loader/media-loader.st.css.js +3 -3
- package/dist/cjs/components/media-loader/media-loader.st.css.js.map +1 -1
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js +3 -3
- package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/cell-multi-document-view.js +1 -1
- package/dist/cjs/components/multi-document/cell-multi-document-view.js.map +1 -1
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
- package/dist/cjs/components/reference/cell-reference-input.st.css.js.map +1 -1
- package/dist/cjs/components/reference/reference-avatar.js +4 -2
- package/dist/cjs/components/reference/reference-avatar.js.map +1 -1
- package/dist/cjs/components/rich-content/cdn/load-ricos.js +135 -0
- package/dist/cjs/components/rich-content/cdn/load-ricos.js.map +1 -0
- package/dist/cjs/components/rich-content/cdn/types.js +4 -0
- package/dist/cjs/components/rich-content/cdn/types.js.map +1 -0
- package/dist/cjs/components/rich-content/cell-rich-content-input.js +3 -3
- package/dist/cjs/components/rich-content/cell-rich-content-input.js.map +1 -1
- package/dist/cjs/components/rich-content/cell-rich-content-view.js +2 -2
- package/dist/cjs/components/rich-content/cell-rich-content-view.js.map +1 -1
- package/dist/cjs/components/rich-content/editor.js.map +1 -1
- package/dist/cjs/components/rich-content/form-rich-content.js +2 -2
- package/dist/cjs/components/rich-content/form-rich-content.js.map +1 -1
- package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js +5 -3
- package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/default-value-read-only-input/rich-content-form-read-only-input.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/hooks.js +7 -8
- package/dist/cjs/components/rich-content/rich-content-input/hooks.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/hooks.js +15 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/hooks.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/types.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/plugins.js +38 -31
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/plugins.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js +27 -22
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +7 -7
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js +10 -9
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +5 -5
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/plugins.js +11 -17
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/plugins.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +47 -15
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/services/rich-content-document-http-service.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/services/types.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/text/text-view.st.css.js +3 -3
- package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
- package/dist/cjs/components/url/url-view.js +10 -9
- package/dist/cjs/components/url/url-view.js.map +1 -1
- package/dist/cjs/exports/ricos-statics-legacy.js +10 -0
- package/dist/cjs/exports/ricos-statics-legacy.js.map +1 -0
- package/dist/cjs/exports/ricos-statics.js +10 -0
- package/dist/cjs/exports/ricos-statics.js.map +1 -0
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/utils/request-idle-callback.js +4 -1
- package/dist/cjs/utils/request-idle-callback.js.map +1 -1
- package/dist/cjs/validations/rich-content.js +26 -6
- package/dist/cjs/validations/rich-content.js.map +1 -1
- package/dist/esm/auto-field-types/validations.js +10 -13
- package/dist/esm/auto-field-types/validations.js.map +1 -1
- package/dist/esm/components/address/input/address-input.st.css.js +2 -2
- package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/esm/components/color-view/cell-color-view.js +4 -3
- package/dist/esm/components/color-view/cell-color-view.js.map +1 -1
- package/dist/esm/components/color-view/cell-color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/color-view.js +3 -2
- package/dist/esm/components/color-view/color-view.js.map +1 -1
- package/dist/esm/components/color-view/color-view.st.css.js +2 -2
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
- package/dist/esm/components/document/form-document-field.st.css.js +2 -2
- package/dist/esm/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/esm/components/exclamation/exclamation.st.css.js +2 -2
- package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
- package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
- package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
- package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
- package/dist/esm/components/media-gallery/cell-media-gallery-view.js +3 -1
- package/dist/esm/components/media-gallery/cell-media-gallery-view.js.map +1 -1
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/esm/components/media-image/media-image.st.css.js +3 -3
- package/dist/esm/components/media-image/media-image.st.css.js.map +1 -1
- package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
- package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
- package/dist/esm/components/media-loader/media-loader.st.css.js.map +1 -1
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js +2 -2
- package/dist/esm/components/multi-document/cell-multi-document-view.js +1 -1
- package/dist/esm/components/multi-document/cell-multi-document-view.js.map +1 -1
- package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
- package/dist/esm/components/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/reference-avatar.js +2 -1
- package/dist/esm/components/reference/reference-avatar.js.map +1 -1
- package/dist/esm/components/rich-content/cdn/load-ricos.js +126 -0
- package/dist/esm/components/rich-content/cdn/load-ricos.js.map +1 -0
- package/dist/esm/components/rich-content/cdn/types.js +2 -0
- package/dist/esm/components/rich-content/cdn/types.js.map +1 -0
- package/dist/esm/components/rich-content/cell-rich-content-input.js +1 -1
- package/dist/esm/components/rich-content/cell-rich-content-input.js.map +1 -1
- package/dist/esm/components/rich-content/cell-rich-content-view.js +1 -1
- package/dist/esm/components/rich-content/cell-rich-content-view.js.map +1 -1
- package/dist/esm/components/rich-content/editor.js +1 -1
- package/dist/esm/components/rich-content/editor.js.map +1 -1
- package/dist/esm/components/rich-content/form-rich-content.js +1 -1
- package/dist/esm/components/rich-content/form-rich-content.js.map +1 -1
- package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js +3 -2
- package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/hooks.js +4 -7
- package/dist/esm/components/rich-content/rich-content-input/hooks.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js +14 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/plugins.js +49 -41
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/plugins.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js +10 -5
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js +3 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/plugins.js +31 -37
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/plugins.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +11 -5
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
- package/dist/esm/components/text/text-view.st.css.js +2 -2
- package/dist/esm/components/text/text-view.st.css.js.map +1 -1
- package/dist/esm/components/url/url-view.js +3 -2
- package/dist/esm/components/url/url-view.js.map +1 -1
- package/dist/esm/exports/ricos-statics-legacy.js +6 -0
- package/dist/esm/exports/ricos-statics-legacy.js.map +1 -0
- package/dist/esm/exports/ricos-statics.js +10 -0
- package/dist/esm/exports/ricos-statics.js.map +1 -0
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/utils/request-idle-callback.js +6 -1
- package/dist/esm/utils/request-idle-callback.js.map +1 -1
- package/dist/esm/validations/rich-content.js +18 -1
- package/dist/esm/validations/rich-content.js.map +1 -1
- package/dist/types/auto-field-types/validations.d.ts +8 -0
- package/dist/types/auto-field-types/validations.d.ts.map +1 -1
- package/dist/types/components/audio/audio-field/form-audio-field.st.css.d.ts.map +1 -1
- package/dist/types/components/color-view/cell-color-view.d.ts.map +1 -1
- package/dist/types/components/color-view/color-view.d.ts.map +1 -1
- package/dist/types/components/document/form-document-field.st.css.d.ts.map +1 -1
- package/dist/types/components/image/thumbnail-replace-overlay.st.css.d.ts.map +1 -1
- package/dist/types/components/media-gallery/cell-media-gallery-view.d.ts.map +1 -1
- package/dist/types/components/media-gallery/form-media-gallery-field.st.css.d.ts.map +1 -1
- package/dist/types/components/media-image/media-image.st.css.d.ts.map +1 -1
- package/dist/types/components/media-loader/media-loader.st.css.d.ts.map +1 -1
- package/dist/types/components/media-tag/web-media-tag/media-tag.st.css.d.ts.map +1 -1
- package/dist/types/components/reference/reference-avatar.d.ts.map +1 -1
- package/dist/types/components/rich-content/cdn/load-ricos.d.ts +11 -0
- package/dist/types/components/rich-content/cdn/load-ricos.d.ts.map +1 -0
- package/dist/types/components/rich-content/cdn/types.d.ts +20 -0
- package/dist/types/components/rich-content/cdn/types.d.ts.map +1 -0
- package/dist/types/components/rich-content/cell-rich-content-input.d.ts +1 -1
- package/dist/types/components/rich-content/cell-rich-content-input.d.ts.map +1 -1
- package/dist/types/components/rich-content/form-rich-content.d.ts +1 -1
- package/dist/types/components/rich-content/form-rich-content.d.ts.map +1 -1
- package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts +1 -1
- package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.d.ts +1 -1
- package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/default-value-read-only-input/rich-content-form-read-only-input.d.ts +1 -1
- package/dist/types/components/rich-content/rich-content-input/default-value-read-only-input/rich-content-form-read-only-input.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-input/rich-content-form-input.d.ts +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-input/rich-content-form-input.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.d.ts +3 -3
- package/dist/types/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.d.ts +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/hooks.d.ts +2 -2
- package/dist/types/components/rich-content/rich-content-input/hooks.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts +11 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/types.d.ts +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/types.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts +7 -2
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts +2 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts +6 -15
- package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts +2 -2
- package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/services/types.d.ts +1 -1
- package/dist/types/components/rich-content/rich-content-input/services/types.d.ts.map +1 -1
- package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
- package/dist/types/components/url/url-view.d.ts.map +1 -1
- package/dist/types/exports/ricos-statics-legacy.d.ts +6 -0
- package/dist/types/exports/ricos-statics-legacy.d.ts.map +1 -0
- package/dist/types/exports/ricos-statics.d.ts +10 -0
- package/dist/types/exports/ricos-statics.d.ts.map +1 -0
- package/dist/types/utils/request-idle-callback.d.ts.map +1 -1
- package/dist/types/validations/rich-content.d.ts +9 -1
- package/dist/types/validations/rich-content.d.ts.map +1 -1
- package/package.json +24 -7
- package/src/__tests__/components/rich-content/form-rich-content.spec.tsx +1 -1
- package/src/__tests__/components/rich-content/load-ricos.spec.ts +17 -0
- package/src/__tests__/components/rich-content-editor.spec.tsx +40 -32
- package/src/__tests__/utils/request-idle-callback.spec.ts +20 -0
- package/src/__tests__/validations/rich-content.spec.ts +1 -1
- package/src/auto-field-types/validations.ts +25 -13
- package/src/components/address/input/address-input.st.css.ts +2 -2
- package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
- package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
- package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
- package/src/components/color-view/cell-color-view.st.css.ts +2 -2
- package/src/components/color-view/cell-color-view.tsx +4 -3
- package/src/components/color-view/color-view.st.css.ts +2 -2
- package/src/components/color-view/color-view.tsx +4 -2
- package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
- package/src/components/document/form-document-field.st.css.ts +2 -2
- package/src/components/exclamation/exclamation.st.css.ts +2 -2
- package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
- package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
- package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
- package/src/components/media-control/paste-url-button.st.css.ts +2 -2
- package/src/components/media-gallery/cell-media-gallery-view.tsx +5 -3
- package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
- package/src/components/media-image/media-image.st.css.ts +3 -3
- package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
- package/src/components/media-loader/media-loader.st.css.ts +2 -2
- package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
- package/src/components/multi-document/cell-multi-document-edit.st.css.ts +2 -2
- package/src/components/multi-document/cell-multi-document-view.tsx +1 -1
- package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
- package/src/components/reference/cell-multi-reference-input.st.css.ts +2 -2
- package/src/components/reference/cell-reference-input.st.css.ts +2 -2
- package/src/components/reference/reference-avatar.tsx +3 -1
- package/src/components/rich-content/cdn/load-ricos.ts +184 -0
- package/src/components/rich-content/cdn/types.ts +21 -0
- package/src/components/rich-content/cell-rich-content-input.tsx +2 -2
- package/src/components/rich-content/cell-rich-content-view.tsx +1 -1
- package/src/components/rich-content/editor.ts +1 -1
- package/src/components/rich-content/form-rich-content.tsx +2 -2
- package/src/components/rich-content/hooks/use-plain-text-rich-content.ts +4 -3
- package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.tsx +1 -1
- package/src/components/rich-content/rich-content-input/default-value-read-only-input/rich-content-form-read-only-input.tsx +1 -1
- package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.tsx +1 -1
- package/src/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.ts +1 -1
- package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.tsx +1 -1
- package/src/components/rich-content/rich-content-input/hooks.ts +5 -8
- package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/hooks.ts +15 -3
- package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/types.ts +1 -1
- package/src/components/rich-content/rich-content-input/rich-content-editor/plugins.ts +59 -72
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.tsx +11 -7
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.tsx +4 -2
- package/src/components/rich-content/rich-content-input/rich-content-viewer/plugins.ts +33 -63
- package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.tsx +26 -10
- package/src/components/rich-content/rich-content-input/services/rich-content-document-http-service.ts +1 -1
- package/src/components/rich-content/rich-content-input/services/types.ts +1 -1
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
- package/src/components/text/text-view.st.css.ts +2 -2
- package/src/components/url/url-view.tsx +3 -2
- package/src/exports/ricos-statics-legacy.ts +5 -0
- package/src/exports/ricos-statics.ts +9 -0
- package/src/styles.global.css +1 -1
- package/src/utils/request-idle-callback.ts +7 -1
- package/src/validations/rich-content.ts +20 -2
- package/utils/@wix/patterns-fields-ricos-statics/legacy/package.json +5 -0
- package/utils/@wix/patterns-fields-ricos-statics/package.json +5 -0
|
@@ -1,68 +1,38 @@
|
|
|
1
1
|
import { useMemo } from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
pluginTextColorViewer as pluginTextColor,
|
|
5
|
-
pluginTextHighlightViewer as pluginTextHighlight,
|
|
6
|
-
pluginLinkViewer as pluginLink,
|
|
7
|
-
pluginLineSpacingViewer as pluginLineSpacing,
|
|
8
|
-
pluginImageViewer as pluginImage,
|
|
9
|
-
pluginVideoViewer as pluginVideo,
|
|
10
|
-
pluginDividerViewer as pluginDivider,
|
|
11
|
-
pluginFileUploadViewer as pluginFileUpload,
|
|
12
|
-
pluginHtmlViewer as pluginHtml,
|
|
13
|
-
pluginLinkPreviewViewer as pluginLinkPreview,
|
|
14
|
-
pluginVerticalEmbedViewer as pluginVerticalEmbed,
|
|
15
|
-
pluginEmojiViewer as pluginEmoji,
|
|
16
|
-
pluginSpoilerViewer as pluginSpoiler,
|
|
17
|
-
pluginGiphyViewer as pluginGiphy,
|
|
18
|
-
pluginCodeBlockViewer as pluginCodeBlock,
|
|
19
|
-
pluginGalleryViewer as pluginGallery,
|
|
20
|
-
pluginCollapsibleListViewer as pluginCollapsibleList,
|
|
21
|
-
pluginTableViewer as pluginTable,
|
|
22
|
-
pluginLinkButtonViewer as pluginLinkButton,
|
|
23
|
-
} from '@wix/ricos';
|
|
24
|
-
|
|
25
|
-
import '@wix/ricos/css/plugin-link-viewer.global.css';
|
|
26
|
-
import '@wix/ricos/css/plugin-image-viewer.global.css';
|
|
27
|
-
import '@wix/ricos/css/plugin-video-viewer.global.css';
|
|
28
|
-
import '@wix/ricos/css/plugin-divider-viewer.global.css';
|
|
29
|
-
import '@wix/ricos/css/plugin-file-upload-viewer.global.css';
|
|
30
|
-
import '@wix/ricos/css/plugin-html-viewer.global.css';
|
|
31
|
-
import '@wix/ricos/css/plugin-link-preview-viewer.global.css';
|
|
32
|
-
import '@wix/ricos/css/plugin-vertical-embed-viewer.global.css';
|
|
33
|
-
import '@wix/ricos/css/plugin-spoiler-viewer.global.css';
|
|
34
|
-
import '@wix/ricos/css/plugin-giphy-viewer.global.css';
|
|
35
|
-
import '@wix/ricos/css/plugin-gallery-viewer.global.css';
|
|
36
|
-
import '@wix/ricos/css/plugin-collapsible-list-viewer.global.css';
|
|
37
|
-
import '@wix/ricos/css/plugin-table-viewer.global.css';
|
|
38
|
-
import '@wix/ricos/css/plugin-button-viewer.global.css';
|
|
39
|
-
|
|
3
|
+
import type { RicosCdnModule, ViewerPlugin } from '../../cdn/types';
|
|
40
4
|
import { isTruthy } from '../../../../utils';
|
|
41
5
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
6
|
+
/**
|
|
7
|
+
* Viewer plugin creators come from the CDN module, so this returns an empty list
|
|
8
|
+
* until it has loaded. The viewer is not rendered before then.
|
|
9
|
+
*/
|
|
10
|
+
export const usePlugins = (ricos: RicosCdnModule | undefined): ViewerPlugin[] => {
|
|
11
|
+
return useMemo<ViewerPlugin[]>(() => {
|
|
12
|
+
if (!ricos) {
|
|
13
|
+
return [];
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
return [
|
|
17
|
+
ricos.pluginTextColorViewer(),
|
|
18
|
+
ricos.pluginTextHighlightViewer(),
|
|
19
|
+
ricos.pluginLineSpacingViewer(),
|
|
20
|
+
ricos.pluginLinkViewer(),
|
|
21
|
+
ricos.pluginImageViewer(),
|
|
22
|
+
ricos.pluginVideoViewer(),
|
|
23
|
+
ricos.pluginGalleryViewer(),
|
|
24
|
+
ricos.pluginDividerViewer(),
|
|
25
|
+
ricos.pluginTableViewer(),
|
|
26
|
+
ricos.pluginFileUploadViewer(),
|
|
27
|
+
ricos.pluginHtmlViewer(),
|
|
28
|
+
ricos.pluginLinkPreviewViewer(),
|
|
29
|
+
ricos.pluginVerticalEmbedViewer(),
|
|
30
|
+
ricos.pluginEmojiViewer(),
|
|
31
|
+
ricos.pluginSpoilerViewer(),
|
|
32
|
+
ricos.pluginGiphyViewer(),
|
|
33
|
+
ricos.pluginCodeBlockViewer(),
|
|
34
|
+
ricos.pluginCollapsibleListViewer(),
|
|
35
|
+
ricos.pluginLinkButtonViewer(),
|
|
36
|
+
].filter(isTruthy);
|
|
37
|
+
}, [ricos]);
|
|
68
38
|
};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "richcontentviewer2955606299";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"richcontentviewer2955606299__root","viewer":"richcontentviewer2955606299__viewer","modalViewer":"richcontentviewer2955606299__modalViewer"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.tsx
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Box, Loader } from '@wix/design-system';
|
|
2
3
|
|
|
3
|
-
import type { RicosDocument
|
|
4
|
-
import {
|
|
5
|
-
import '@wix/
|
|
4
|
+
import type { RicosDocument } from '@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos';
|
|
5
|
+
import { fromPlainText } from '@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos';
|
|
6
|
+
import type { RicosViewerProps } from '@wix/patterns-fields-utils/@wix/patterns-fields-ricos-statics';
|
|
6
7
|
|
|
8
|
+
import { useRicosFromCdn } from '../../cdn/load-ricos';
|
|
7
9
|
import { useOpenState } from '../../../../hooks';
|
|
8
10
|
import { preventEvent } from '../../../../utils';
|
|
9
11
|
import { UserSiteFonts } from '../../../user-site-fonts';
|
|
@@ -39,7 +41,9 @@ const RCV: React.FC<RCVProps> = ({
|
|
|
39
41
|
...ricosProps
|
|
40
42
|
}) => {
|
|
41
43
|
const wixRicosProps = useWixRicosProps();
|
|
42
|
-
const
|
|
44
|
+
const ricos = useRicosFromCdn();
|
|
45
|
+
const plugins = usePlugins(ricos);
|
|
46
|
+
const RicosViewer = ricos?.RicosViewer;
|
|
43
47
|
|
|
44
48
|
return (
|
|
45
49
|
<div
|
|
@@ -53,12 +57,16 @@ const RCV: React.FC<RCVProps> = ({
|
|
|
53
57
|
onToggleFullScreen={onToggleFullscreen}
|
|
54
58
|
/>
|
|
55
59
|
<div data-hook={dataHook} className={classes.viewer}>
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
{RicosViewer ? (
|
|
61
|
+
<RicosViewer
|
|
62
|
+
{...ricosProps}
|
|
63
|
+
{...wixRicosProps}
|
|
64
|
+
plugins={plugins}
|
|
65
|
+
content={content ?? fromPlainText('')}
|
|
66
|
+
/>
|
|
67
|
+
) : (
|
|
68
|
+
<RCVLoader />
|
|
69
|
+
)}
|
|
62
70
|
</div>
|
|
63
71
|
</div>
|
|
64
72
|
);
|
|
@@ -66,6 +74,14 @@ const RCV: React.FC<RCVProps> = ({
|
|
|
66
74
|
|
|
67
75
|
RCV.displayName = 'RCV';
|
|
68
76
|
|
|
77
|
+
/** Shown while the CDN bundle is in flight, matching the editor's RCELoader. */
|
|
78
|
+
const RCVLoader: React.FC = () => (
|
|
79
|
+
<Box align="center" verticalAlign="middle" width="100%">
|
|
80
|
+
<Loader size="small" />
|
|
81
|
+
</Box>
|
|
82
|
+
);
|
|
83
|
+
RCVLoader.displayName = 'RCVLoader';
|
|
84
|
+
|
|
69
85
|
export interface RichContentViewerProps
|
|
70
86
|
extends Omit<RCVProps, 'isFullScreen' | 'onToggleFullscreen'> {
|
|
71
87
|
fullScreenOnly?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { WixPatternsContainer } from '@wix/bex-core';
|
|
2
2
|
import { ricosDocuments } from '@wix/rich-content';
|
|
3
|
-
import type { RichContent } from '@wix/ricos';
|
|
3
|
+
import type { RichContent } from '@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos';
|
|
4
4
|
import { isRicosLikeObject } from '../../../../auto-field-types';
|
|
5
5
|
|
|
6
6
|
import { type RichContentDocumentService } from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { RichContent } from '@wix/ricos';
|
|
1
|
+
import type { RichContent } from '@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos';
|
|
2
2
|
|
|
3
3
|
export interface RichContentDocumentService {
|
|
4
4
|
convertToRichContent(document: unknown): Promise<RichContent | undefined>;
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "richeditor3385767231";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"richeditor3385767231__root","editor":"richeditor3385767231__editor","header-one":"richeditor3385767231__header-one","header-two":"richeditor3385767231__header-two","header-three":"richeditor3385767231__header-three","header-four":"richeditor3385767231__header-four","header-five":"richeditor3385767231__header-five","header-six":"richeditor3385767231__header-six","paragraph-one":"richeditor3385767231__paragraph-one","unstyled":"richeditor3385767231__unstyled","paragraph-three":"richeditor3385767231__paragraph-three","align-left":"richeditor3385767231__align-left","align-right":"richeditor3385767231__align-right","align-center":"richeditor3385767231__align-center","align-justify":"richeditor3385767231__align-justify","withMargin":"richeditor3385767231__withMargin","dir-rtl":"richeditor3385767231__dir-rtl"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "richtexteditor3547387833";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"richtexteditor3547387833__root","nativeInput":"richtexteditor3547387833__nativeInput","editor":"richtexteditor3547387833__editor"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../../stylable-esm-runti
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "toolbar3472201108";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"toolbar3472201108__root","item":"toolbar3472201108__item","separator":"toolbar3472201108__separator","clearFormatting":"toolbar3472201108__clearFormatting","fullScreen":"toolbar3472201108__fullScreen","dropdownItemContent":"toolbar3472201108__dropdownItemContent","dropdownItemTitle":"toolbar3472201108__dropdownItemTitle","dropdownItemSubtitle":"toolbar3472201108__dropdownItemSubtitle","dropdownHeaderOne":"toolbar3472201108__dropdownHeaderOne","dropdownHeaderTwo":"toolbar3472201108__dropdownHeaderTwo","dropdownHeaderThree":"toolbar3472201108__dropdownHeaderThree","dropdownHeaderFour":"toolbar3472201108__dropdownHeaderFour","dropdownHeaderFive":"toolbar3472201108__dropdownHeaderFive","dropdownHeaderSix":"toolbar3472201108__dropdownHeaderSix","dropdownParagraphOne":"toolbar3472201108__dropdownParagraphOne","dropdownNormalText":"toolbar3472201108__dropdownNormalText","dropdownParagraphThree":"toolbar3472201108__dropdownParagraphThree"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "textview91171934";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"textview91171934__root","textView":"textview91171934__textView"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -10,7 +10,8 @@ export interface UrlViewProps {
|
|
|
10
10
|
export const UrlView: React.FC<UrlViewProps> = ({ value }) => {
|
|
11
11
|
const { t } = useTranslations();
|
|
12
12
|
const openLinkLabel = t('auto-patterns.url_view.open_in_new_tab');
|
|
13
|
-
const
|
|
13
|
+
const url = typeof value === 'string' ? value : '';
|
|
14
|
+
const safeHref = /^https?:\/\//i.test(url) ? url : undefined;
|
|
14
15
|
|
|
15
16
|
return (
|
|
16
17
|
<div
|
|
@@ -25,7 +26,7 @@ export const UrlView: React.FC<UrlViewProps> = ({ value }) => {
|
|
|
25
26
|
>
|
|
26
27
|
<div style={{ flex: 1, minWidth: 0, overflow: 'hidden' }}>
|
|
27
28
|
<Text size="small" ellipsis>
|
|
28
|
-
{
|
|
29
|
+
{url}
|
|
29
30
|
</Text>
|
|
30
31
|
</div>
|
|
31
32
|
{safeHref && (
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The ricos surface the CDN artifact exposes, re-exported so consumers reach it
|
|
3
|
+
* through this package instead of depending on `patterns-fields-ricos-statics`
|
|
4
|
+
* themselves.
|
|
5
|
+
*
|
|
6
|
+
* Types only. The values here are the whole editor — importing one puts it in
|
|
7
|
+
* the consumer's graph, which is what the CDN loading exists to prevent.
|
|
8
|
+
*/
|
|
9
|
+
export * from '@wix/patterns-fields-utils/@wix/patterns-fields-ricos-statics';
|
package/src/styles.global.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.addressinput3221247034__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput3221247034__tableAddressInput>div{padding:0!important;width:100%}.addressinput3221247034__tableAddressInput:focus-within{margin-left:2px}.actionsmenu1280508940__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield32432185__addItem{height:120px!important;box-sizing:border-box}.formaudiofield32432185__addItem:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, 8px)}.formaudiofield32432185__addItem.formaudiofield32432185--disabled{pointer-events:auto!important}.formaudiofield32432185__addItem.formaudiofield32432185--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield32432185__mediaTitle{line-height:18px!important}.audioplayer2625614961__root{width:fit-content;z-index:1000;position:fixed!important;bottom:42px;right:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.cellcolorview3753113674__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview3879755634__view{width:100%}.colorview3879755634__fillPreview{flex-shrink:0}.colorview3879755634__view .colorview3879755634__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog3873629624__layout{max-width:510px!important}.formdocumentfield189828330__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield189828330__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield189828330__textWidth{max-width:calc(100% - 196px)}.formdocumentfield189828330__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield189828330__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield189828330__addDocument.formdocumentfield189828330--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield189828330__addItemWrapper:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, calc(2px * 4))}.exclamation1630207575__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation1630207575__exclamation.exclamation1630207575---type-7-warning:not(.exclamation1630207575--customSize),.exclamation1630207575__exclamation.exclamation1630207575---type-5-error:not(.exclamation1630207575--customSize){width:24px;height:24px}.exclamation1630207575__exclamation.exclamation1630207575---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation1630207575__exclamation.exclamation1630207575---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation1630207575__actions{display:flex;flex-direction:column}.exclamation1630207575__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation1630207575__action+.exclamation1630207575__action{margin-top:6px}.exclamation1630207575__action.exclamation1630207575--accented{color:var(--wds-color-blue-100)}.exclamation1630207575__action.exclamation1630207575--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext2238026867__root.highlightedtext2238026867--highlightedBackground{animation:highlightedtext2238026867__highlighted 150ms ease-out 1 forwards}.highlightedtext2238026867__substring.highlightedtext2238026867--isHighlighted{animation:highlightedtext2238026867__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext2238026867__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext2238026867__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay176436874__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay176436874__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell3100626680__root{width:100%;height:100%}.pasteurlbutton2664669787__root{margin-top:6px}.pasteurlbutton2664669787__iconButtonTooltip{height:max-content}.pasteurlbutton2664669787__iconButton{width:24px;height:24px}.formmediagalleryfield622057319__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield622057319__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield622057319__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield622057319__addItem{box-sizing:border-box}.formmediagalleryfield622057319__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield622057319__image.formmediagalleryfield622057319--withMarginRight{margin-right:3px}.formmediagalleryfield622057319__image.formmediagalleryfield622057319--withMarginTop{margin-top:3px}.formmediagalleryfield622057319__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield622057319__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage323379179__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage323379179__root.mediaimage323379179--error{--mediaimage323379179-from:calc(50% - 0.5px);--mediaimage323379179-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage323379179-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage323379179-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage323379179-to),transparent var(--mediaimage323379179-to))}.mediaimage323379179__root.mediaimage323379179--error>*{opacity:0}.overlay2137816035__iconOverlay{position:absolute;color:var(--wds-color-white, var(--wsr-color-D80, #FFFFFF));background-color:transparent;filter:drop-shadow(0 1px 1px rgba(22,45,61,.6));-webkit-filter:drop-shadow(0 1px 1px rgba(22,45,61,.6))}.overlay2137816035__iconOverlay.overlay2137816035---size-5-small{width:20px;height:20px}.overlay2137816035__iconOverlay.overlay2137816035---size-6-medium{width:24px;height:24px}.overlay2137816035__iconOverlay.overlay2137816035---size-5-large{width:28px;height:28px}.overlay2137816035__iconOverlay.overlay2137816035---placement-7-topLeft{top:2px;left:2px}.overlay2137816035__iconOverlay.overlay2137816035---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader1252333309__loader{border-radius:6px}.medialoader1252333309__loader.medialoader1252333309--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader1252333309__loader.medialoader1252333309--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag917270223__root{box-sizing:border-box;padding:3px 6px 3px 3px;border-radius:3px;max-height:24px;min-width:54px;max-width:100%;background-color:var(--wds-color-blue-400, var(--wsr-color-B40))}.cellmultidocumentedit1896878393__chipTrigger{display:flex;align-items:center;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:0 0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}.formmultidocument4263958338__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument4263958338__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument4263958338__viewRoot>div:first-child .formmultidocument4263958338__singleViewWrapper{border-top-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-top-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument4263958338__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument4263958338__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument4263958338__addDocumentButton{border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument4263958338__addDocumentButton:focus-within{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.cellmultireferenceinput2646909186__root{width:100%;box-sizing:border-box;--wds-input-border-color:transparent;--wds-input-border-color-hover:transparent;--wds-input-border-color-focus:transparent;--wds-input-background-fill-default:transparent;--wds-input-background-fill-hover:transparent;--wds-input-shadow-focus-standard:0 0 0 0 transparent}.cellreferenceinput1475045378__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput1475045378__autocomplete{width:100%}.richcontentdefaultvalueinput2838712758__richContentEditorContainer .richcontentdefaultvalueinput2838712758__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput1417751749__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput1417751749__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput1417751749__root .richcontentforminput1417751749__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput1245446135__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput1245446135__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal4273271827__modalContent{display:flex;flex-direction:column;position:relative;height:100%;width:782px;background-color:var(--wds-color-white, var(--wsr-color-D80, #ffffff));border-radius:var(--wds-border-radius-300, var(--wsr-border-radius-06, 6px));margin-top:24px}.publishloader4160359936__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton230730659__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton230730659__root button{border-radius:6px!important}.richcontenteditor2122471442__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor2122471442__root,.richcontenteditor2122471442__toolbarContainer,.richcontenteditor2122471442__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor2122471442__toolbarContainer div{box-sizing:border-box}.richcontenteditor2122471442__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor2122471442__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor2122471442__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor2122471442__modalEditor .richcontenteditor2122471442__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor2122471442__modalEditor .richcontenteditor2122471442__footerToolbarContainer{margin-top:9px}.richcontenteditor2122471442__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor2122471442__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar3048503288__toolbar{border-top:1px solid rgba(51,51,51,.1);z-index:2;margin-right:auto;padding-left:6px;margin-left:auto;position:relative;height:40px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box}.richcontenttoolbar3048503288__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar3048503288__toolbarButton:disabled{color:graytext}.richcontenttoolbar3048503288__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar3048503288__toolbar label{padding:0 8px}.richcontentviewer1598491263__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer1598491263__root.richcontentviewer1598491263--isFullScreen{padding:12px 24px}.richcontentviewer1598491263__root:not(.richcontentviewer1598491263--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer1598491263__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer1598491263__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer1598491263__modalViewer{min-width:592px;overflow:auto}.richtexteditor3801447980__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor3801447980__root.richtexteditor3801447980---border-4-none{border:0}.richtexteditor3801447980__root.richtexteditor3801447980---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor3801447980__root.richtexteditor3801447980---border-8-standard:focus,.richtexteditor3801447980__root.richtexteditor3801447980---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor3801447980__root.richtexteditor3801447980---border-8-standard.richtexteditor3801447980---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor3801447980__root.richtexteditor3801447980---border-8-standard.richtexteditor3801447980---status-5-error:focus,.richtexteditor3801447980__root.richtexteditor3801447980---border-8-standard.richtexteditor3801447980---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor3801447980__root.richtexteditor3801447980---border-8-standard.richtexteditor3801447980---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor3801447980__root.richtexteditor3801447980---border-8-standard.richtexteditor3801447980---status-7-warning:focus,.richtexteditor3801447980__root.richtexteditor3801447980---border-8-standard.richtexteditor3801447980---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor3801447980__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor3801447980__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-border-radius-300)}.richtexteditor3801447980__editor.richtexteditor3801447980--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor3801447980__editor:not(.richtexteditor3801447980--isFullScreen){max-height:80vh}.richtexteditor3801447980__editor>div{flex:1;max-width:100%}.toolbar1298348432__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-color-white, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar1298348432__item{display:flex;margin-right:12px}.toolbar1298348432__item svg,.toolbar1298348432__item svg path,.toolbar1298348432__item svg text{color:inherit;fill:currentColor}.toolbar1298348432__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar1298348432__clearFormatting{margin-left:auto}.toolbar1298348432__fullScreen{margin-right:0}.toolbar1298348432__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar1298348432__dropdownItemContent.toolbar1298348432--selected .toolbar1298348432__dropdownItemTitle,.toolbar1298348432__dropdownItemContent.toolbar1298348432--selected .toolbar1298348432__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar1298348432__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar1298348432__dropdownHeaderOne{font-weight:var(--wds-font-weight-bold)!important;font-size:36px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))!important}.toolbar1298348432__dropdownHeaderTwo{font-weight:var(--wds-font-weight-bold)!important;font-size:32px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar1298348432__dropdownHeaderThree{font-weight:var(--wds-font-weight-medium)!important;font-size:28px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar1298348432__dropdownHeaderFour{font-weight:var(--wds-font-weight-bold)!important;font-size:24px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar1298348432__dropdownHeaderFive{font-weight:var(--wds-font-weight-bold)!important;font-size:22px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar1298348432__dropdownHeaderSix{font-weight:var(--wds-font-weight-medium)!important;font-size:20px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar1298348432__dropdownParagraphOne{font-weight:var(--wds-font-weight-medium)!important;font-size:18px!important;line-height:1.33!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar1298348432__dropdownNormalText{font-weight:var(--wds-font-weight-medium)!important;font-size:var(--wds-font-size-500)!important;line-height:var(--wds-font-line-height-300)!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar1298348432__dropdownParagraphThree{font-weight:var(--wds-font-weight-medium)!important;font-size:14px!important;line-height:1.29!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.textview2782035610__textView::after{content:"";display:block}.richeditor3097845023__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium, 500);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))}.richeditor3097845023__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100, var(--wsr-color-D10, #131720));background:var(--wds-color-black-700, var(--wsr-color-D70, #edeef2))}.richeditor3097845023__editor .DraftEditor-root{width:100%;height:100%}.richeditor3097845023__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor3097845023__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor3097845023__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor3097845023__editor .public-DraftEditor-content ol,.richeditor3097845023__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor3097845023__editor .public-DraftEditor-content a,.richeditor3097845023__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor3097845023__header-one:not(li),.richeditor3097845023__header-two:not(li),.richeditor3097845023__header-three:not(li),.richeditor3097845023__header-four:not(li),.richeditor3097845023__header-five:not(li),.richeditor3097845023__header-six:not(li){margin-block:0;margin:0}.richeditor3097845023__header-one,.richeditor3097845023__editor li.richeditor3097845023__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__header-two,.richeditor3097845023__editor li.richeditor3097845023__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__header-three,.richeditor3097845023__editor li.richeditor3097845023__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__header-four,.richeditor3097845023__editor li.richeditor3097845023__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__header-five,.richeditor3097845023__editor li.richeditor3097845023__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__header-six,.richeditor3097845023__editor li.richeditor3097845023__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__paragraph-one,.richeditor3097845023__editor li.richeditor3097845023__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__unstyled,.richeditor3097845023__editor li.richeditor3097845023__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__paragraph-three,.richeditor3097845023__editor li.richeditor3097845023__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__editor li.richeditor3097845023__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__editor li.richeditor3097845023__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor3097845023__editor li.richeditor3097845023__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__editor li.richeditor3097845023__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor3097845023__editor li.richeditor3097845023__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__editor li.richeditor3097845023__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor3097845023__editor li.richeditor3097845023__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__editor li.richeditor3097845023__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor3097845023__editor li.richeditor3097845023__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__editor li.richeditor3097845023__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor3097845023__editor li.richeditor3097845023__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__editor li.richeditor3097845023__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor3097845023__editor li.richeditor3097845023__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__editor li.richeditor3097845023__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3097845023__editor li.richeditor3097845023__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth0:first-child{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+10){margin-inline-start:3ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+100){margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+1000){margin-inline-start:5ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth1:first-child{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+10){margin-inline-start:5ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+100){margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+1000){margin-inline-start:7ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth2:first-child{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+10){margin-inline-start:7ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+100){margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+1000){margin-inline-start:9ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth3:first-child{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+10){margin-inline-start:9ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+100){margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+1000){margin-inline-start:11ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth4:first-child{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+10){margin-inline-start:11ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+100){margin-inline-start:12ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+1000){margin-inline-start:13ch}.richeditor3097845023__align-left{text-align:left;align-self:flex-start}.richeditor3097845023__align-right{text-align:right;align-self:flex-end}.richeditor3097845023__align-center{text-align:center;align-self:center}.richeditor3097845023__align-justify{text-align:justify;align-self:stretch}.richeditor3097845023__withMargin{display:inline-block}.richeditor3097845023__dir-rtl,.richeditor3097845023__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor3097845023__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
1
|
+
.addressinput2483819239__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput2483819239__tableAddressInput>div{padding:0!important;width:100%}.addressinput2483819239__tableAddressInput:focus-within{margin-left:2px}.actionsmenu1490408158__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield4139509640__addItem{height:120px!important;box-sizing:border-box}.formaudiofield4139509640__addItem:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, 8px)}.formaudiofield4139509640__addItem.formaudiofield4139509640--disabled{pointer-events:auto!important}.formaudiofield4139509640__addItem.formaudiofield4139509640--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield4139509640__mediaTitle{line-height:18px!important}.audioplayer3907523205__root{width:fit-content;z-index:1000;position:fixed!important;bottom:42px;right:48px;box-sizing:border-box;display:flex;align-items:center;justify-content:center}.cellcolorview3987181602__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview3391623245__view{width:100%}.colorview3391623245__fillPreview{flex-shrink:0}.colorview3391623245__view .colorview3391623245__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog4261229259__layout{max-width:510px!important}.formdocumentfield3707111148__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield3707111148__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield3707111148__textWidth{max-width:calc(100% - 196px)}.formdocumentfield3707111148__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield3707111148__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield3707111148__addDocument.formdocumentfield3707111148--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield3707111148__addItemWrapper:focus-within{box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wds-color-blue-300, var(--wsr-color-B30)));border-radius:var(--wds-border-radius-400, calc(2px * 4))}.exclamation1174355168__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation1174355168__exclamation.exclamation1174355168---type-7-warning:not(.exclamation1174355168--customSize),.exclamation1174355168__exclamation.exclamation1174355168---type-5-error:not(.exclamation1174355168--customSize){width:24px;height:24px}.exclamation1174355168__exclamation.exclamation1174355168---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation1174355168__exclamation.exclamation1174355168---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation1174355168__actions{display:flex;flex-direction:column}.exclamation1174355168__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation1174355168__action+.exclamation1174355168__action{margin-top:6px}.exclamation1174355168__action.exclamation1174355168--accented{color:var(--wds-color-blue-100)}.exclamation1174355168__action.exclamation1174355168--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext2637008025__root.highlightedtext2637008025--highlightedBackground{animation:highlightedtext2637008025__highlighted 150ms ease-out 1 forwards}.highlightedtext2637008025__substring.highlightedtext2637008025--isHighlighted{animation:highlightedtext2637008025__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext2637008025__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext2637008025__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay2528832930__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay2528832930__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell1426377695__root{width:100%;height:100%}.pasteurlbutton2984285637__root{margin-top:6px}.pasteurlbutton2984285637__iconButtonTooltip{height:max-content}.pasteurlbutton2984285637__iconButton{width:24px;height:24px}.formmediagalleryfield2595208311__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield2595208311__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield2595208311__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield2595208311__addItem{box-sizing:border-box}.formmediagalleryfield2595208311__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield2595208311__image.formmediagalleryfield2595208311--withMarginRight{margin-right:3px}.formmediagalleryfield2595208311__image.formmediagalleryfield2595208311--withMarginTop{margin-top:3px}.formmediagalleryfield2595208311__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield2595208311__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage3386841427__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage3386841427__root.mediaimage3386841427--error{--mediaimage3386841427-from:calc(50% - 0.5px);--mediaimage3386841427-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage3386841427-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3386841427-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage3386841427-to),transparent var(--mediaimage3386841427-to))}.mediaimage3386841427__root.mediaimage3386841427--error>*{opacity:0}.overlay3948201643__iconOverlay{position:absolute;color:var(--wds-color-white, var(--wsr-color-D80, #FFFFFF));background-color:transparent;filter:drop-shadow(0 1px 1px rgba(22,45,61,.6));-webkit-filter:drop-shadow(0 1px 1px rgba(22,45,61,.6))}.overlay3948201643__iconOverlay.overlay3948201643---size-5-small{width:20px;height:20px}.overlay3948201643__iconOverlay.overlay3948201643---size-6-medium{width:24px;height:24px}.overlay3948201643__iconOverlay.overlay3948201643---size-5-large{width:28px;height:28px}.overlay3948201643__iconOverlay.overlay3948201643---placement-7-topLeft{top:2px;left:2px}.overlay3948201643__iconOverlay.overlay3948201643---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader817014080__loader{border-radius:6px}.medialoader817014080__loader.medialoader817014080--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader817014080__loader.medialoader817014080--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag1026121010__root{box-sizing:border-box;padding:3px 6px 3px 3px;border-radius:3px;max-height:24px;min-width:54px;max-width:100%;background-color:var(--wds-color-blue-400, var(--wsr-color-B40))}.cellmultidocumentedit1856688179__chipTrigger{display:flex;align-items:center;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:0 0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}.formmultidocument4150166092__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument4150166092__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument4150166092__viewRoot>div:first-child .formmultidocument4150166092__singleViewWrapper{border-top-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-top-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument4150166092__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument4150166092__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument4150166092__addDocumentButton{border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.formmultidocument4150166092__addDocumentButton:focus-within{border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:var(--wds-border-radius-300, calc(2px * 3));border-bottom-right-radius:var(--wds-border-radius-300, calc(2px * 3))}.cellmultireferenceinput2044312836__root{width:100%;box-sizing:border-box;--wds-input-border-color:transparent;--wds-input-border-color-hover:transparent;--wds-input-border-color-focus:transparent;--wds-input-background-fill-default:transparent;--wds-input-background-fill-hover:transparent;--wds-input-shadow-focus-standard:0 0 0 0 transparent}.cellreferenceinput1523227364__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput1523227364__autocomplete{width:100%}.richcontentdefaultvalueinput4120834938__richContentEditorContainer .richcontentdefaultvalueinput4120834938__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput393196314__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput393196314__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput393196314__root .richcontentforminput393196314__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput636004872__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput636004872__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal4177253419__modalContent{display:flex;flex-direction:column;position:relative;height:100%;width:782px;background-color:var(--wds-color-white, var(--wsr-color-D80, #ffffff));border-radius:var(--wds-border-radius-300, var(--wsr-border-radius-06, 6px));margin-top:24px}.publishloader2154525844__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton3469017194__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton3469017194__root button{border-radius:6px!important}.richcontenteditor153524713__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor153524713__root,.richcontenteditor153524713__toolbarContainer,.richcontenteditor153524713__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor153524713__toolbarContainer div{box-sizing:border-box}.richcontenteditor153524713__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor153524713__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor153524713__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor153524713__modalEditor .richcontenteditor153524713__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor153524713__modalEditor .richcontenteditor153524713__footerToolbarContainer{margin-top:9px}.richcontenteditor153524713__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor153524713__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar430576850__toolbar{border-top:1px solid rgba(51,51,51,.1);z-index:2;margin-right:auto;padding-left:6px;margin-left:auto;position:relative;height:40px;display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box}.richcontenttoolbar430576850__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar430576850__toolbarButton:disabled{color:graytext}.richcontenttoolbar430576850__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar430576850__toolbar label{padding:0 8px}.richcontentviewer2955606299__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer2955606299__root.richcontentviewer2955606299--isFullScreen{padding:12px 24px}.richcontentviewer2955606299__root:not(.richcontentviewer2955606299--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer2955606299__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer2955606299__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer2955606299__modalViewer{min-width:592px;overflow:auto}.richtexteditor3547387833__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor3547387833__root.richtexteditor3547387833---border-4-none{border:0}.richtexteditor3547387833__root.richtexteditor3547387833---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor3547387833__root.richtexteditor3547387833---border-8-standard:focus,.richtexteditor3547387833__root.richtexteditor3547387833---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor3547387833__root.richtexteditor3547387833---border-8-standard.richtexteditor3547387833---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor3547387833__root.richtexteditor3547387833---border-8-standard.richtexteditor3547387833---status-5-error:focus,.richtexteditor3547387833__root.richtexteditor3547387833---border-8-standard.richtexteditor3547387833---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor3547387833__root.richtexteditor3547387833---border-8-standard.richtexteditor3547387833---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor3547387833__root.richtexteditor3547387833---border-8-standard.richtexteditor3547387833---status-7-warning:focus,.richtexteditor3547387833__root.richtexteditor3547387833---border-8-standard.richtexteditor3547387833---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor3547387833__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor3547387833__editor{height:auto;line-height:auto;display:flex;width:100%;height:100%;min-height:234px;overflow:hidden;box-sizing:border-box;flex-direction:row;border-radius:var(--wds-border-radius-300)}.richtexteditor3547387833__editor.richtexteditor3547387833--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor3547387833__editor:not(.richtexteditor3547387833--isFullScreen){max-height:80vh}.richtexteditor3547387833__editor>div{flex:1;max-width:100%}.toolbar3472201108__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-color-white, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar3472201108__item{display:flex;margin-right:12px}.toolbar3472201108__item svg,.toolbar3472201108__item svg path,.toolbar3472201108__item svg text{color:inherit;fill:currentColor}.toolbar3472201108__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar3472201108__clearFormatting{margin-left:auto}.toolbar3472201108__fullScreen{margin-right:0}.toolbar3472201108__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar3472201108__dropdownItemContent.toolbar3472201108--selected .toolbar3472201108__dropdownItemTitle,.toolbar3472201108__dropdownItemContent.toolbar3472201108--selected .toolbar3472201108__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar3472201108__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar3472201108__dropdownHeaderOne{font-weight:var(--wds-font-weight-bold)!important;font-size:36px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))!important}.toolbar3472201108__dropdownHeaderTwo{font-weight:var(--wds-font-weight-bold)!important;font-size:32px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3472201108__dropdownHeaderThree{font-weight:var(--wds-font-weight-medium)!important;font-size:28px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3472201108__dropdownHeaderFour{font-weight:var(--wds-font-weight-bold)!important;font-size:24px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3472201108__dropdownHeaderFive{font-weight:var(--wds-font-weight-bold)!important;font-size:22px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3472201108__dropdownHeaderSix{font-weight:var(--wds-font-weight-medium)!important;font-size:20px!important;line-height:1.2!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3472201108__dropdownParagraphOne{font-weight:var(--wds-font-weight-medium)!important;font-size:18px!important;line-height:1.33!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3472201108__dropdownNormalText{font-weight:var(--wds-font-weight-medium)!important;font-size:var(--wds-font-size-500)!important;line-height:var(--wds-font-line-height-300)!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.toolbar3472201108__dropdownParagraphThree{font-weight:var(--wds-font-weight-medium)!important;font-size:14px!important;line-height:1.29!important;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)!important}.textview91171934__textView::after{content:"";display:block}.richeditor3385767231__root{display:flex;flex-direction:column;font-weight:var(--wds-font-weight-medium, 500);font-size:var(--wds-font-size-500);line-height:var(--wds-font-line-height-300);font-family:var(--wds-font-family-default, var(--wsr-font-family, Madefor))}.richeditor3385767231__editor{box-sizing:border-box;overflow:auto;display:flex;flex-direction:column;flex:1;cursor:text;color:var(--wds-color-black-100, var(--wsr-color-D10, #131720));background:var(--wds-color-black-700, var(--wsr-color-D70, #edeef2))}.richeditor3385767231__editor .DraftEditor-root{width:100%;height:100%}.richeditor3385767231__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor3385767231__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor3385767231__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor3385767231__editor .public-DraftEditor-content ol,.richeditor3385767231__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor3385767231__editor .public-DraftEditor-content a,.richeditor3385767231__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor3385767231__header-one:not(li),.richeditor3385767231__header-two:not(li),.richeditor3385767231__header-three:not(li),.richeditor3385767231__header-four:not(li),.richeditor3385767231__header-five:not(li),.richeditor3385767231__header-six:not(li){margin-block:0;margin:0}.richeditor3385767231__header-one,.richeditor3385767231__editor li.richeditor3385767231__header-one .public-DraftStyleDefault-block{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__header-two,.richeditor3385767231__editor li.richeditor3385767231__header-two .public-DraftStyleDefault-block{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__header-three,.richeditor3385767231__editor li.richeditor3385767231__header-three .public-DraftStyleDefault-block{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__header-four,.richeditor3385767231__editor li.richeditor3385767231__header-four .public-DraftStyleDefault-block{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__header-five,.richeditor3385767231__editor li.richeditor3385767231__header-five .public-DraftStyleDefault-block{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__header-six,.richeditor3385767231__editor li.richeditor3385767231__header-six .public-DraftStyleDefault-block{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__paragraph-one,.richeditor3385767231__editor li.richeditor3385767231__paragraph-one .public-DraftStyleDefault-block{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__unstyled,.richeditor3385767231__editor li.richeditor3385767231__unstyled .public-DraftStyleDefault-block{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__paragraph-three,.richeditor3385767231__editor li.richeditor3385767231__paragraph-three .public-DraftStyleDefault-block{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__editor li.richeditor3385767231__header-one:first-child~li{font:var(--rt-h1-fontStyle, normal) var(--rt-h1-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h1-fontSize, 72px)/var(--rt-h1-lineHeight, 1.33) var(--rt-h1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__editor li.richeditor3385767231__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor3385767231__editor li.richeditor3385767231__header-two:first-child~li{font:var(--rt-h2-fontStyle, normal) var(--rt-h2-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h2-fontSize, 42px)/var(--rt-h2-lineHeight, 1.2) var(--rt-h2-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__editor li.richeditor3385767231__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor3385767231__editor li.richeditor3385767231__header-three:first-child~li{font:var(--rt-h3-fontStyle, normal) var(--rt-h3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h3-fontSize, 38px)/var(--rt-h3-lineHeight, 1.2) var(--rt-h3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__editor li.richeditor3385767231__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor3385767231__editor li.richeditor3385767231__header-four:first-child~li{font:var(--rt-h4-fontStyle, normal) var(--rt-h4-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h4-fontSize, 34px)/var(--rt-h4-lineHeight, 1.2) var(--rt-h4-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__editor li.richeditor3385767231__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor3385767231__editor li.richeditor3385767231__header-five:first-child~li{font:var(--rt-h5-fontStyle, normal) var(--rt-h5-fontWeight, var(--wds-font-weight-bold, 700)) var(--rt-h5-fontSize, 28px)/var(--rt-h5-lineHeight, 1.2) var(--rt-h5-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__editor li.richeditor3385767231__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor3385767231__editor li.richeditor3385767231__header-six:first-child~li{font:var(--rt-h6-fontStyle, normal) var(--rt-h6-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-h6-fontSize, 22px)/var(--rt-h6-lineHeight, 1.2) var(--rt-h6-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__editor li.richeditor3385767231__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor3385767231__editor li.richeditor3385767231__paragraph-one:first-child~li{font:var(--rt-p1-fontStyle, normal) var(--rt-p1-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p1-fontSize, 18px)/var(--rt-p1-lineHeight, 24px) var(--rt-p1-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__editor li.richeditor3385767231__unstyled:first-child~li{font:var(--rt-unstyled-fontStyle, normal) var(--rt-unstyled-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-unstyled-fontSize, 16px)/var(--rt-unstyled-lineHeight, 24px) var(--rt-unstyled-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.richeditor3385767231__editor li.richeditor3385767231__paragraph-three:first-child~li{font:var(--rt-p3-fontStyle, normal) var(--rt-p3-fontWeight, var(--wds-font-weight-medium, 500)) var(--rt-p3-fontSize, 14px)/var(--rt-p3-lineHeight, 18px) var(--rt-p3-fontFamily, var(--wds-font-family-default, var(--wsr-font-family, Madefor)))}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ul .public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth0:first-child{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0{margin-inline-start:2ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+10){margin-inline-start:3ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+100){margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth0:nth-child(n+1000){margin-inline-start:5ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth1:first-child{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1{margin-inline-start:4ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+10){margin-inline-start:5ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+100){margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth1:nth-child(n+1000){margin-inline-start:7ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth2:first-child{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2{margin-inline-start:6ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+10){margin-inline-start:7ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+100){margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth2:nth-child(n+1000){margin-inline-start:9ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth3:first-child{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3{margin-inline-start:8ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+10){margin-inline-start:9ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+100){margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth3:nth-child(n+1000){margin-inline-start:11ch}.public-DraftStyleDefault-ol li.public-DraftStyleDefault-depth4:first-child{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4{margin-inline-start:10ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+10){margin-inline-start:11ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+100){margin-inline-start:12ch}.public-DraftStyleDefault-ol li:first-child~li.public-DraftStyleDefault-depth4:nth-child(n+1000){margin-inline-start:13ch}.richeditor3385767231__align-left{text-align:left;align-self:flex-start}.richeditor3385767231__align-right{text-align:right;align-self:flex-end}.richeditor3385767231__align-center{text-align:center;align-self:center}.richeditor3385767231__align-justify{text-align:justify;align-self:stretch}.richeditor3385767231__withMargin{display:inline-block}.richeditor3385767231__dir-rtl,.richeditor3385767231__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor3385767231__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
// Referencing `window` directly throws a ReferenceError where it is undeclared
|
|
2
|
+
// (SSR, node test environments), and this module is reachable from the package
|
|
3
|
+
// entry, so importing @wix/patterns-fields would throw there.
|
|
4
|
+
const globalObj =
|
|
5
|
+
typeof window === 'undefined'
|
|
6
|
+
? (globalThis as unknown as typeof window)
|
|
7
|
+
: window;
|
|
2
8
|
|
|
3
9
|
export const requestIdleCallback =
|
|
4
10
|
globalObj &&
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type { RicosDocument } from '@wix/ricos';
|
|
2
|
-
import { fromPlainText } from '@wix/ricos
|
|
1
|
+
import type { RicosDocument } from '@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos';
|
|
2
|
+
import { fromPlainText } from '@wix/patterns-fields-utils/@wix/patterns-fields-bundled-ricos';
|
|
3
|
+
|
|
4
|
+
import { loadRicosFromCdn } from '../components/rich-content/cdn/load-ricos';
|
|
3
5
|
|
|
4
6
|
export const isValid = (data: unknown): data is RicosDocument =>
|
|
5
7
|
!!data &&
|
|
@@ -26,3 +28,19 @@ export const hardConvert = (data: unknown): RicosDocument => {
|
|
|
26
28
|
return fromPlainText(String(data));
|
|
27
29
|
}
|
|
28
30
|
};
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* Full schema validation, as opposed to the shape check `isValid` does.
|
|
34
|
+
*
|
|
35
|
+
* Async because `validateRicosDocument` is exposed only on `@wix/ricos`'s root
|
|
36
|
+
* barrel, so reaching it synchronously would pull the whole editor graph back
|
|
37
|
+
* into every consumer's build. It comes from the CDN bundle instead.
|
|
38
|
+
*/
|
|
39
|
+
export const isStrictValidAsync = async (data: unknown): Promise<boolean> => {
|
|
40
|
+
try {
|
|
41
|
+
const { validateRicosDocument } = await loadRicosFromCdn();
|
|
42
|
+
return validateRicosDocument(data).type === 'ok';
|
|
43
|
+
} catch {
|
|
44
|
+
return false;
|
|
45
|
+
}
|
|
46
|
+
};
|