@wix/patterns-fields 1.39.0 → 1.41.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/assets/locale/messages_ar.json +8 -0
- package/dist/cjs/assets/locale/messages_bg.json +8 -0
- package/dist/cjs/assets/locale/messages_ca.json +8 -0
- package/dist/cjs/assets/locale/messages_cs.json +8 -0
- package/dist/cjs/assets/locale/messages_da.json +8 -0
- package/dist/cjs/assets/locale/messages_de.json +8 -0
- package/dist/cjs/assets/locale/messages_el.json +8 -0
- package/dist/cjs/assets/locale/messages_en.json +8 -0
- package/dist/cjs/assets/locale/messages_es.json +8 -0
- package/dist/cjs/assets/locale/messages_fi.json +8 -0
- package/dist/cjs/assets/locale/messages_fr.json +8 -0
- package/dist/cjs/assets/locale/messages_he.json +8 -0
- package/dist/cjs/assets/locale/messages_hi.json +8 -0
- package/dist/cjs/assets/locale/messages_hu.json +8 -0
- package/dist/cjs/assets/locale/messages_id.json +8 -0
- package/dist/cjs/assets/locale/messages_it.json +8 -0
- package/dist/cjs/assets/locale/messages_ja.json +8 -0
- package/dist/cjs/assets/locale/messages_ko.json +8 -0
- package/dist/cjs/assets/locale/messages_lt.json +8 -0
- package/dist/cjs/assets/locale/messages_ms.json +8 -0
- package/dist/cjs/assets/locale/messages_nl.json +8 -0
- package/dist/cjs/assets/locale/messages_no.json +8 -0
- package/dist/cjs/assets/locale/messages_pl.json +8 -0
- package/dist/cjs/assets/locale/messages_pt.json +8 -0
- package/dist/cjs/assets/locale/messages_ro.json +8 -0
- package/dist/cjs/assets/locale/messages_ru.json +8 -0
- package/dist/cjs/assets/locale/messages_sk.json +8 -0
- package/dist/cjs/assets/locale/messages_sl.json +8 -0
- package/dist/cjs/assets/locale/messages_sv.json +8 -0
- package/dist/cjs/assets/locale/messages_th.json +8 -0
- package/dist/cjs/assets/locale/messages_tl.json +8 -0
- package/dist/cjs/assets/locale/messages_tr.json +8 -0
- package/dist/cjs/assets/locale/messages_uk.json +8 -0
- package/dist/cjs/assets/locale/messages_vi.json +8 -0
- package/dist/cjs/assets/locale/messages_zh.json +8 -0
- package/dist/cjs/assets/locale/version_file +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.js +12 -10
- package/dist/cjs/components/audio/audio-field/form-audio-field.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-input.js +195 -0
- package/dist/cjs/components/color-view/cell-color-input.js.map +1 -0
- package/dist/cjs/components/color-view/cell-color-view.js +89 -0
- package/dist/cjs/components/color-view/cell-color-view.js.map +1 -0
- package/dist/cjs/components/color-view/cell-color-view.st.css +8 -0
- package/dist/cjs/components/color-view/cell-color-view.st.css.js +25 -0
- package/dist/cjs/components/color-view/cell-color-view.st.css.js.map +1 -0
- package/dist/cjs/components/color-view/color-input.js +33 -27
- package/dist/cjs/components/color-view/color-input.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/color-view/hex.js +16 -0
- package/dist/cjs/components/color-view/hex.js.map +1 -0
- package/dist/cjs/components/color-view/index.js +18 -0
- package/dist/cjs/components/color-view/index.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/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.js +516 -0
- package/dist/cjs/components/multi-document/cell-multi-document-edit.js.map +1 -0
- package/dist/cjs/components/multi-document/cell-multi-document-view.js +65 -0
- package/dist/cjs/components/multi-document/cell-multi-document-view.js.map +1 -0
- package/dist/cjs/components/multi-document/index.js +5 -1
- package/dist/cjs/components/multi-document/index.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-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/rich-content/cell-rich-content-input.js +4 -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 +3 -2
- package/dist/cjs/components/rich-content/cell-rich-content-view.js.map +1 -1
- package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js +1 -1
- 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.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/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-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/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 +1 -1
- 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-editor/plugins.js +0 -5
- 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 +169 -192
- 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 +52 -36
- 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 +7 -0
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +5 -4
- 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/rich-content-viewer.js +10 -10
- 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-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/time-input/cell-time-input.js +8 -7
- package/dist/cjs/components/time-input/cell-time-input.js.map +1 -1
- package/dist/cjs/components/time-input/form-time-input.js +21 -2
- package/dist/cjs/components/time-input/form-time-input.js.map +1 -1
- package/dist/cjs/services/translations.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/validations/rich-content.js +2 -3
- package/dist/cjs/validations/rich-content.js.map +1 -1
- package/dist/esm/assets/locale/messages_ar.json +8 -0
- package/dist/esm/assets/locale/messages_bg.json +8 -0
- package/dist/esm/assets/locale/messages_ca.json +8 -0
- package/dist/esm/assets/locale/messages_cs.json +8 -0
- package/dist/esm/assets/locale/messages_da.json +8 -0
- package/dist/esm/assets/locale/messages_de.json +8 -0
- package/dist/esm/assets/locale/messages_el.json +8 -0
- package/dist/esm/assets/locale/messages_en.json +8 -0
- package/dist/esm/assets/locale/messages_es.json +8 -0
- package/dist/esm/assets/locale/messages_fi.json +8 -0
- package/dist/esm/assets/locale/messages_fr.json +8 -0
- package/dist/esm/assets/locale/messages_he.json +8 -0
- package/dist/esm/assets/locale/messages_hi.json +8 -0
- package/dist/esm/assets/locale/messages_hu.json +8 -0
- package/dist/esm/assets/locale/messages_id.json +8 -0
- package/dist/esm/assets/locale/messages_it.json +8 -0
- package/dist/esm/assets/locale/messages_ja.json +8 -0
- package/dist/esm/assets/locale/messages_ko.json +8 -0
- package/dist/esm/assets/locale/messages_lt.json +8 -0
- package/dist/esm/assets/locale/messages_ms.json +8 -0
- package/dist/esm/assets/locale/messages_nl.json +8 -0
- package/dist/esm/assets/locale/messages_no.json +8 -0
- package/dist/esm/assets/locale/messages_pl.json +8 -0
- package/dist/esm/assets/locale/messages_pt.json +8 -0
- package/dist/esm/assets/locale/messages_ro.json +8 -0
- package/dist/esm/assets/locale/messages_ru.json +8 -0
- package/dist/esm/assets/locale/messages_sk.json +8 -0
- package/dist/esm/assets/locale/messages_sl.json +8 -0
- package/dist/esm/assets/locale/messages_sv.json +8 -0
- package/dist/esm/assets/locale/messages_th.json +8 -0
- package/dist/esm/assets/locale/messages_tl.json +8 -0
- package/dist/esm/assets/locale/messages_tr.json +8 -0
- package/dist/esm/assets/locale/messages_uk.json +8 -0
- package/dist/esm/assets/locale/messages_vi.json +8 -0
- package/dist/esm/assets/locale/messages_zh.json +8 -0
- package/dist/esm/assets/locale/version_file +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.js +2 -0
- package/dist/esm/components/audio/audio-field/form-audio-field.js.map +1 -1
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js.map +1 -1
- package/dist/esm/components/color-view/cell-color-input.js +104 -0
- package/dist/esm/components/color-view/cell-color-input.js.map +1 -0
- package/dist/esm/components/color-view/cell-color-view.js +25 -0
- package/dist/esm/components/color-view/cell-color-view.js.map +1 -0
- package/dist/esm/components/color-view/cell-color-view.st.css +8 -0
- package/dist/esm/components/color-view/cell-color-view.st.css.js +15 -0
- package/dist/esm/components/color-view/cell-color-view.st.css.js.map +1 -0
- package/dist/esm/components/color-view/color-input.js +12 -12
- package/dist/esm/components/color-view/color-input.js.map +1 -1
- package/dist/esm/components/color-view/color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/hex.js +9 -0
- package/dist/esm/components/color-view/hex.js.map +1 -0
- package/dist/esm/components/color-view/index.js +3 -0
- package/dist/esm/components/color-view/index.js.map +1 -1
- 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/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/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
- package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
- 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-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/esm/components/multi-document/cell-multi-document-edit.js +148 -0
- package/dist/esm/components/multi-document/cell-multi-document-edit.js.map +1 -0
- package/dist/esm/components/multi-document/cell-multi-document-view.js +26 -0
- package/dist/esm/components/multi-document/cell-multi-document-view.js.map +1 -0
- package/dist/esm/components/multi-document/index.js +2 -0
- package/dist/esm/components/multi-document/index.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/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/cell-rich-content-input.js +4 -3
- 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 +3 -4
- package/dist/esm/components/rich-content/cell-rich-content-view.js.map +1 -1
- package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js +2 -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/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js +2 -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 +0 -5
- 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 +112 -135
- 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 +27 -35
- 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 +7 -0
- 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/rich-content-viewer.js +2 -2
- 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-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
- 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/time-input/cell-time-input.js +6 -5
- package/dist/esm/components/time-input/cell-time-input.js.map +1 -1
- package/dist/esm/components/time-input/form-time-input.js +8 -3
- package/dist/esm/components/time-input/form-time-input.js.map +1 -1
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/validations/rich-content.js +3 -4
- package/dist/esm/validations/rich-content.js.map +1 -1
- package/dist/types/components/audio/audio-field/form-audio-field.d.ts.map +1 -1
- package/dist/types/components/audio/audio-player/audio-player.st.css.d.ts.map +1 -1
- package/dist/types/components/color-view/cell-color-input.d.ts +23 -0
- package/dist/types/components/color-view/cell-color-input.d.ts.map +1 -0
- package/dist/types/components/color-view/cell-color-view.d.ts +15 -0
- package/dist/types/components/color-view/cell-color-view.d.ts.map +1 -0
- package/dist/types/components/color-view/cell-color-view.st.css.d.ts +16 -0
- package/dist/types/components/color-view/cell-color-view.st.css.d.ts.map +1 -0
- package/dist/types/components/color-view/color-input.d.ts.map +1 -1
- package/dist/types/components/color-view/hex.d.ts +5 -0
- package/dist/types/components/color-view/hex.d.ts.map +1 -0
- package/dist/types/components/color-view/index.d.ts +3 -0
- package/dist/types/components/color-view/index.d.ts.map +1 -1
- package/dist/types/components/media-control/cell-media-edit-shell.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/multi-document/cell-multi-document-edit.d.ts +20 -0
- package/dist/types/components/multi-document/cell-multi-document-edit.d.ts.map +1 -0
- package/dist/types/components/multi-document/cell-multi-document-view.d.ts +13 -0
- package/dist/types/components/multi-document/cell-multi-document-view.d.ts.map +1 -0
- package/dist/types/components/multi-document/index.d.ts +4 -0
- package/dist/types/components/multi-document/index.d.ts.map +1 -1
- package/dist/types/components/multi-document/multi-document-input/form-multi-document.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/cell-rich-content-input.d.ts +2 -2
- package/dist/types/components/rich-content/cell-rich-content-input.d.ts.map +1 -1
- package/dist/types/components/rich-content/cell-rich-content-view.d.ts.map +1 -1
- package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts +2 -2
- 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/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 +2 -2
- 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 +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts +3 -3
- 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-editor/plugins.d.ts +2 -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 +12 -11
- 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 +2 -15
- 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 +1 -0
- 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 +1 -1
- 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 +5 -3
- 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/rich-content-viewer/rich-content-viewer.st.css.d.ts.map +1 -1
- package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
- package/dist/types/components/time-input/cell-time-input.d.ts.map +1 -1
- package/dist/types/components/time-input/form-time-input.d.ts.map +1 -1
- package/dist/types/services/translations.d.ts +1 -1
- package/dist/types/services/translations.d.ts.map +1 -1
- package/dist/types/validations/rich-content.d.ts +3 -3
- package/dist/types/validations/rich-content.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/__tests__/components/rich-content-editor.spec.tsx +63 -72
- package/src/__tests__/validations/rich-content.spec.ts +4 -8
- package/src/assets/locale/messages_ar.json +8 -0
- package/src/assets/locale/messages_bg.json +8 -0
- package/src/assets/locale/messages_ca.json +8 -0
- package/src/assets/locale/messages_cs.json +8 -0
- package/src/assets/locale/messages_da.json +8 -0
- package/src/assets/locale/messages_de.json +8 -0
- package/src/assets/locale/messages_el.json +8 -0
- package/src/assets/locale/messages_en.json +8 -0
- package/src/assets/locale/messages_es.json +8 -0
- package/src/assets/locale/messages_fi.json +8 -0
- package/src/assets/locale/messages_fr.json +8 -0
- package/src/assets/locale/messages_he.json +8 -0
- package/src/assets/locale/messages_hi.json +8 -0
- package/src/assets/locale/messages_hu.json +8 -0
- package/src/assets/locale/messages_id.json +8 -0
- package/src/assets/locale/messages_it.json +8 -0
- package/src/assets/locale/messages_ja.json +8 -0
- package/src/assets/locale/messages_ko.json +8 -0
- package/src/assets/locale/messages_lt.json +8 -0
- package/src/assets/locale/messages_ms.json +8 -0
- package/src/assets/locale/messages_nl.json +8 -0
- package/src/assets/locale/messages_no.json +8 -0
- package/src/assets/locale/messages_pl.json +8 -0
- package/src/assets/locale/messages_pt.json +8 -0
- package/src/assets/locale/messages_ro.json +8 -0
- package/src/assets/locale/messages_ru.json +8 -0
- package/src/assets/locale/messages_sk.json +8 -0
- package/src/assets/locale/messages_sl.json +8 -0
- package/src/assets/locale/messages_sv.json +8 -0
- package/src/assets/locale/messages_th.json +8 -0
- package/src/assets/locale/messages_tl.json +8 -0
- package/src/assets/locale/messages_tr.json +8 -0
- package/src/assets/locale/messages_uk.json +8 -0
- package/src/assets/locale/messages_vi.json +8 -0
- package/src/assets/locale/messages_zh.json +8 -0
- package/src/assets/locale/version_file +1 -1
- 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-field/form-audio-field.tsx +2 -0
- package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
- package/src/components/color-view/cell-color-input.tsx +200 -0
- package/src/components/color-view/cell-color-view.st.css +8 -0
- package/src/components/color-view/cell-color-view.st.css.ts +25 -0
- package/src/components/color-view/cell-color-view.tsx +52 -0
- package/src/components/color-view/color-input.tsx +23 -17
- package/src/components/color-view/color-view.st.css.ts +2 -2
- package/src/components/color-view/hex.ts +13 -0
- package/src/components/color-view/index.ts +3 -0
- 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/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.tsx +364 -0
- package/src/components/multi-document/cell-multi-document-view.tsx +68 -0
- package/src/components/multi-document/index.ts +4 -0
- package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
- package/src/components/reference/cell-reference-input.st.css.ts +2 -2
- package/src/components/rich-content/cell-rich-content-input.tsx +11 -14
- package/src/components/rich-content/cell-rich-content-view.tsx +3 -4
- package/src/components/rich-content/hooks/use-plain-text-rich-content.ts +4 -4
- 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/form-input/rich-content-form-input.st.css.ts +2 -2
- 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/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 +5 -5
- 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-editor/plugins.ts +0 -6
- 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 +346 -355
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
- 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 +35 -62
- 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 +8 -9
- 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/time-input/cell-time-input.tsx +6 -12
- package/src/components/time-input/form-time-input.tsx +21 -4
- package/src/services/translations.ts +8 -0
- package/src/styles.global.css +1 -1
- package/src/validations/rich-content.ts +6 -7
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "richcontenttoolbar2983172482";
|
|
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":"richcontenttoolbar2983172482__root","toolbar":"richcontenttoolbar2983172482__toolbar","toolbarButton":"richcontenttoolbar2983172482__toolbarButton","separator":"richcontenttoolbar2983172482__separator"};
|
|
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-editor/rich-content-toolbar.tsx
CHANGED
|
@@ -1,73 +1,51 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
import { isTruthy } from '../../../../utils';
|
|
3
|
+
import type { ExternalToolbarButton as RicosExternalToolbarButton } from '@wix/ricos';
|
|
4
|
+
import { Tooltip } from '@wix/ricos';
|
|
6
5
|
|
|
7
6
|
import { classes } from './rich-content-toolbar.st.css.js';
|
|
8
7
|
|
|
9
|
-
export interface ExternalToolbarButton {
|
|
10
|
-
dataHook?: string;
|
|
11
|
-
getIcon?: () => React.ComponentType;
|
|
12
|
-
getLabel?: () => string;
|
|
13
|
-
isActive?: () => boolean;
|
|
14
|
-
isDisabled?: () => boolean;
|
|
15
|
-
name?: string;
|
|
16
|
-
tooltip?: React.ReactNode;
|
|
17
|
-
onClick?: () => void;
|
|
18
|
-
onChange?: (e: unknown) => void;
|
|
19
|
-
type?: string;
|
|
20
|
-
accept?: string;
|
|
21
|
-
multiple?: boolean;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
const BUTTONS_ORDER = [
|
|
25
|
-
INSERT_PLUGIN_BUTTONS.IMAGE,
|
|
26
|
-
INSERT_PLUGIN_BUTTONS.VIDEO,
|
|
27
|
-
INSERT_PLUGIN_BUTTONS.GALLERY,
|
|
28
|
-
INSERT_PLUGIN_BUTTONS.LAYOUT,
|
|
29
|
-
INSERT_PLUGIN_BUTTONS.DIVIDER,
|
|
30
|
-
INSERT_PLUGIN_BUTTONS.TABLE,
|
|
31
|
-
INSERT_PLUGIN_BUTTONS.FILE,
|
|
32
|
-
INSERT_PLUGIN_BUTTONS.HTML,
|
|
33
|
-
INSERT_PLUGIN_BUTTONS.INSTAGRAM,
|
|
34
|
-
INSERT_PLUGIN_BUTTONS.TWITTER,
|
|
35
|
-
INSERT_PLUGIN_BUTTONS.TIKTOK,
|
|
36
|
-
INSERT_PLUGIN_BUTTONS.STORES,
|
|
37
|
-
INSERT_PLUGIN_BUTTONS.BOOKINGS,
|
|
38
|
-
INSERT_PLUGIN_BUTTONS.EVENTS,
|
|
39
|
-
INSERT_PLUGIN_BUTTONS.EMOJI,
|
|
40
|
-
INSERT_PLUGIN_BUTTONS.GIF,
|
|
41
|
-
INSERT_PLUGIN_BUTTONS.CODE_BLOCK,
|
|
42
|
-
INSERT_PLUGIN_BUTTONS.COLLAPSIBLE_LIST,
|
|
43
|
-
INSERT_PLUGIN_BUTTONS.BUTTON,
|
|
44
|
-
INSERT_PLUGIN_BUTTONS.UNDO,
|
|
45
|
-
INSERT_PLUGIN_BUTTONS.REDO,
|
|
46
|
-
];
|
|
47
|
-
|
|
48
8
|
export interface ExternalToolbarProps {
|
|
49
|
-
buttons?:
|
|
9
|
+
buttons?: readonly RicosExternalToolbarButton[];
|
|
50
10
|
}
|
|
51
11
|
|
|
52
12
|
export class ExternalToolbar extends Component<ExternalToolbarProps> {
|
|
53
13
|
private onMouseDown = (event: React.MouseEvent) => event.preventDefault();
|
|
54
14
|
|
|
55
|
-
private renderButton = ({
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
15
|
+
private renderButton = (button: RicosExternalToolbarButton) => {
|
|
16
|
+
if (button.kind === 'separator') {
|
|
17
|
+
return <div className={classes.separator} key={button.id} />;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
if (button.kind === 'custom') {
|
|
21
|
+
const CustomButton = button.component;
|
|
22
|
+
return <CustomButton key={button.id} />;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
const Icon = button.icon;
|
|
26
|
+
const handleClick = (event: React.MouseEvent<HTMLButtonElement>) => {
|
|
27
|
+
if (button.kind === 'dropdown') {
|
|
28
|
+
const optionId = button.selectedId ?? button.options[0]?.id;
|
|
29
|
+
if (optionId) {
|
|
30
|
+
button.onSelect(optionId, {
|
|
31
|
+
referenceElement: event.currentTarget,
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
button.onClick({
|
|
38
|
+
referenceElement: event.currentTarget,
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
|
|
64
42
|
return (
|
|
65
|
-
<Tooltip content={tooltip
|
|
43
|
+
<Tooltip content={button.tooltip} key={button.id}>
|
|
66
44
|
<button
|
|
67
45
|
className={classes.toolbarButton}
|
|
68
|
-
disabled={isDisabled
|
|
69
|
-
data-hook={
|
|
70
|
-
onClick={
|
|
46
|
+
disabled={button.isDisabled}
|
|
47
|
+
data-hook={button.id}
|
|
48
|
+
onClick={handleClick}
|
|
71
49
|
onMouseDown={this.onMouseDown}
|
|
72
50
|
>
|
|
73
51
|
<Icon />
|
|
@@ -79,12 +57,7 @@ export class ExternalToolbar extends Component<ExternalToolbarProps> {
|
|
|
79
57
|
public render() {
|
|
80
58
|
return (
|
|
81
59
|
<div className={classes.toolbar}>
|
|
82
|
-
{
|
|
83
|
-
.filter(isTruthy)
|
|
84
|
-
.map((buttonProps, i) => {
|
|
85
|
-
const Button = this.renderButton;
|
|
86
|
-
return <Button {...buttonProps} key={i} />;
|
|
87
|
-
})}
|
|
60
|
+
{this.props.buttons?.map((button) => this.renderButton(button))}
|
|
88
61
|
</div>
|
|
89
62
|
);
|
|
90
63
|
}
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "richcontentviewer511243834";
|
|
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":"richcontentviewer511243834__root","viewer":"richcontentviewer511243834__viewer","modalViewer":"richcontentviewer511243834__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,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import type {
|
|
4
|
-
import {
|
|
3
|
+
import type { RicosDocument, RicosViewerProps } from '@wix/ricos';
|
|
4
|
+
import { RicosViewer, fromPlainText } from '@wix/ricos';
|
|
5
5
|
import '@wix/ricos/css/ricos-viewer.global.css';
|
|
6
6
|
|
|
7
7
|
import { useOpenState } from '../../../../hooks';
|
|
@@ -16,15 +16,14 @@ import {
|
|
|
16
16
|
import { usePlugins } from './plugins';
|
|
17
17
|
import { st, classes } from './rich-content-viewer.st.css.js';
|
|
18
18
|
|
|
19
|
-
type RicosProps = Pick<
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
>;
|
|
19
|
+
type RicosProps = Pick<RicosViewerProps, 'biSettings' | 'children' | 'theme'> & {
|
|
20
|
+
wixExperiments?: unknown;
|
|
21
|
+
};
|
|
23
22
|
|
|
24
23
|
interface RCVProps extends RicosProps {
|
|
25
24
|
isFullScreen: boolean;
|
|
26
25
|
onToggleFullscreen: () => void;
|
|
27
|
-
content?:
|
|
26
|
+
content?: RicosDocument;
|
|
28
27
|
className?: string;
|
|
29
28
|
tabIndex?: number;
|
|
30
29
|
dataHook?: string;
|
|
@@ -54,11 +53,11 @@ const RCV: React.FC<RCVProps> = ({
|
|
|
54
53
|
onToggleFullScreen={onToggleFullscreen}
|
|
55
54
|
/>
|
|
56
55
|
<div data-hook={dataHook} className={classes.viewer}>
|
|
57
|
-
<
|
|
56
|
+
<RicosViewer
|
|
58
57
|
{...ricosProps}
|
|
59
58
|
{...wixRicosProps}
|
|
60
59
|
plugins={plugins}
|
|
61
|
-
content={
|
|
60
|
+
content={content ?? fromPlainText('')}
|
|
62
61
|
/>
|
|
63
62
|
</div>
|
|
64
63
|
</div>
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "richeditor1525321038";
|
|
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":"richeditor1525321038__root","editor":"richeditor1525321038__editor","header-one":"richeditor1525321038__header-one","header-two":"richeditor1525321038__header-two","header-three":"richeditor1525321038__header-three","header-four":"richeditor1525321038__header-four","header-five":"richeditor1525321038__header-five","header-six":"richeditor1525321038__header-six","paragraph-one":"richeditor1525321038__paragraph-one","unstyled":"richeditor1525321038__unstyled","paragraph-three":"richeditor1525321038__paragraph-three","align-left":"richeditor1525321038__align-left","align-right":"richeditor1525321038__align-right","align-center":"richeditor1525321038__align-center","align-justify":"richeditor1525321038__align-justify","withMargin":"richeditor1525321038__withMargin","dir-rtl":"richeditor1525321038__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_ = "richtexteditor3721083672";
|
|
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":"richtexteditor3721083672__root","nativeInput":"richtexteditor3721083672__nativeInput","editor":"richtexteditor3721083672__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_ = "toolbar2816894475";
|
|
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":"toolbar2816894475__root","item":"toolbar2816894475__item","separator":"toolbar2816894475__separator","clearFormatting":"toolbar2816894475__clearFormatting","fullScreen":"toolbar2816894475__fullScreen","dropdownItemContent":"toolbar2816894475__dropdownItemContent","dropdownItemTitle":"toolbar2816894475__dropdownItemTitle","dropdownItemSubtitle":"toolbar2816894475__dropdownItemSubtitle","dropdownHeaderOne":"toolbar2816894475__dropdownHeaderOne","dropdownHeaderTwo":"toolbar2816894475__dropdownHeaderTwo","dropdownHeaderThree":"toolbar2816894475__dropdownHeaderThree","dropdownHeaderFour":"toolbar2816894475__dropdownHeaderFour","dropdownHeaderFive":"toolbar2816894475__dropdownHeaderFive","dropdownHeaderSix":"toolbar2816894475__dropdownHeaderSix","dropdownParagraphOne":"toolbar2816894475__dropdownParagraphOne","dropdownNormalText":"toolbar2816894475__dropdownNormalText","dropdownParagraphThree":"toolbar2816894475__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_ = "textview671857741";
|
|
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":"textview671857741__root","textView":"textview671857741__textView"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -1,10 +1,4 @@
|
|
|
1
|
-
import React, {
|
|
2
|
-
forwardRef,
|
|
3
|
-
useCallback,
|
|
4
|
-
useEffect,
|
|
5
|
-
useMemo,
|
|
6
|
-
useRef,
|
|
7
|
-
} from 'react';
|
|
1
|
+
import React, { forwardRef, useCallback, useEffect, useMemo } from 'react';
|
|
8
2
|
import {
|
|
9
3
|
TimeInput as WSRTimeInput,
|
|
10
4
|
CloseButton,
|
|
@@ -40,7 +34,7 @@ export interface CellTimeInputProps {
|
|
|
40
34
|
export const CellTimeInput = forwardRef<
|
|
41
35
|
TimeInputImperativeActions,
|
|
42
36
|
CellTimeInputProps
|
|
43
|
-
>(({ value, onChange, onCommit, dataHook, placeholder, step = 15 }) => {
|
|
37
|
+
>(({ value, onChange, onCommit, dataHook, placeholder, step = 15 }, ref) => {
|
|
44
38
|
const { i18n } = useTranslations();
|
|
45
39
|
|
|
46
40
|
const dateValue = useMemo(
|
|
@@ -48,10 +42,10 @@ export const CellTimeInput = forwardRef<
|
|
|
48
42
|
[value],
|
|
49
43
|
);
|
|
50
44
|
|
|
51
|
-
const wsrRef = useRef<TimeInputImperativeActions | null>(null);
|
|
52
|
-
|
|
53
45
|
useEffect(() => {
|
|
54
|
-
|
|
46
|
+
if (ref && typeof ref !== 'function') {
|
|
47
|
+
ref.current?.focus();
|
|
48
|
+
}
|
|
55
49
|
}, []);
|
|
56
50
|
|
|
57
51
|
const handleChange = useCallback(
|
|
@@ -74,7 +68,7 @@ export const CellTimeInput = forwardRef<
|
|
|
74
68
|
return (
|
|
75
69
|
<WSRTimeInput
|
|
76
70
|
dataHook={dataHook}
|
|
77
|
-
ref={
|
|
71
|
+
ref={ref}
|
|
78
72
|
size="small"
|
|
79
73
|
border="none"
|
|
80
74
|
step={step}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
|
-
import React, { useRef } from 'react';
|
|
2
|
+
import React, { useCallback, useRef } from 'react';
|
|
3
3
|
|
|
4
|
+
import { CloseButton } from '@wix/design-system';
|
|
4
5
|
import type { TimeInputImperativeActions } from '@wix/design-system';
|
|
5
6
|
|
|
6
7
|
import type { FormInputProps } from '../../types';
|
|
7
8
|
import { useAutoFocus } from '../../hooks';
|
|
8
9
|
|
|
9
|
-
import {
|
|
10
|
+
import { TimeInput } from './time-input';
|
|
10
11
|
import { useTime, type Time } from './hooks';
|
|
11
12
|
|
|
12
13
|
export type FormTimeInputProps = FormInputProps<Time>;
|
|
@@ -24,17 +25,33 @@ export const FormTimeInput: FC<FormTimeInputProps> = ({
|
|
|
24
25
|
|
|
25
26
|
const [value, onChangeValue] = useTime(data, onChange);
|
|
26
27
|
|
|
28
|
+
const handleClear = useCallback(() => {
|
|
29
|
+
onChangeValue(undefined);
|
|
30
|
+
onInput?.();
|
|
31
|
+
}, [onChangeValue, onInput]);
|
|
32
|
+
|
|
27
33
|
return (
|
|
28
|
-
<
|
|
34
|
+
<TimeInput
|
|
29
35
|
dataHook={dataHook}
|
|
30
36
|
ref={inputRef}
|
|
31
37
|
readOnly={readOnly}
|
|
32
38
|
value={value}
|
|
33
39
|
onChange={onChangeValue}
|
|
34
40
|
onInput={onInput}
|
|
41
|
+
width="100%"
|
|
42
|
+
suffix={
|
|
43
|
+
value && !readOnly ? (
|
|
44
|
+
<CloseButton
|
|
45
|
+
as="button"
|
|
46
|
+
size="small"
|
|
47
|
+
skin="standardFilled"
|
|
48
|
+
onClick={handleClear}
|
|
49
|
+
dataHook="form-time-input-clear"
|
|
50
|
+
/>
|
|
51
|
+
) : undefined
|
|
52
|
+
}
|
|
35
53
|
/>
|
|
36
54
|
);
|
|
37
55
|
};
|
|
38
56
|
|
|
39
57
|
FormTimeInput.displayName = 'FormTimeInput';
|
|
40
|
-
|
|
@@ -20,16 +20,19 @@ export type TranslationsKeys =
|
|
|
20
20
|
| 'CMS.audio.button.download'
|
|
21
21
|
| 'CMS.mediaGallery.dialog.itemTitlePlaceholder'
|
|
22
22
|
| 'auto-patterns.filters.no_value'
|
|
23
|
+
| 'CMS.cellDateTime.placeholder.year'
|
|
23
24
|
| 'CMS.richTextEditor.toolbar.headerDropdown.button.info'
|
|
24
25
|
| 'CMS.video.change'
|
|
25
26
|
| 'CMS.richTextEditor.toolbar.headerDropdown.option.p3.subtitle'
|
|
26
27
|
| 'CMS.mediaGallery.dialog.itemDescriptionPlaceholder'
|
|
28
|
+
| 'CMS.cellDateTime.placeholder.month'
|
|
27
29
|
| 'CMS.document.action.open'
|
|
28
30
|
| 'CMS.mediaGallery.dialog.externalLinkTextPlaceholder'
|
|
29
31
|
| 'CMS.richTextEditor.toolbar.button.tooltip.full-screen.exit'
|
|
30
32
|
| 'CMS.richTextEditor.toolbar.button.link.save'
|
|
31
33
|
| 'CMS.mediaControl.pasteUrl.placeholder.document'
|
|
32
34
|
| 'auto-patterns.fields.no_results_found'
|
|
35
|
+
| 'CMS.cellDateTime.placeholder.day'
|
|
33
36
|
| 'CMS.richTextEditor.toolbar.headerDropdown.option.h2.title'
|
|
34
37
|
| 'CMS.document.action.replaceWithUrl'
|
|
35
38
|
| 'CMS.mediaGallery.addLink.urlLabel'
|
|
@@ -40,6 +43,7 @@ export type TranslationsKeys =
|
|
|
40
43
|
| 'CMS.audio.more_actions_tooltip'
|
|
41
44
|
| 'CMS.image.replaceWithUrl.button'
|
|
42
45
|
| 'CMS.mediaGallery.clear'
|
|
46
|
+
| 'CMS.cellDateTime.ariaLabel.date'
|
|
43
47
|
| 'auto-patterns.fields.type_mismatch_convert_disabled'
|
|
44
48
|
| 'CMS.mediaControl.pasteUrl.error.document'
|
|
45
49
|
| 'CMS.mediaGallery.dialog.itemAltTooltip'
|
|
@@ -72,11 +76,13 @@ export type TranslationsKeys =
|
|
|
72
76
|
| 'auto-patterns.fields.field_type_multi_document_title'
|
|
73
77
|
| 'CMS.richTextEditor.toolbar.headerDropdown.option.p1.title'
|
|
74
78
|
| 'CMS.mediaGallery.addLink.titleVideo'
|
|
79
|
+
| 'CMS.cellDateTime.placeholder.hour'
|
|
75
80
|
| 'auto-patterns.time_input.placeholder'
|
|
76
81
|
| 'CMS.richTextEditor.toolbar.headerDropdown.option.p1.subtitle'
|
|
77
82
|
| 'CMS.image.replace'
|
|
78
83
|
| 'CMS.audio.button.play'
|
|
79
84
|
| 'auto-patterns.fields.add_video_tooltip'
|
|
85
|
+
| 'CMS.cellDateTime.placeholder.minute'
|
|
80
86
|
| 'auto-patterns.filters.has_value'
|
|
81
87
|
| 'CMS.richTextEditor.toolbar.button.link.paste.url.title'
|
|
82
88
|
| 'CMS.audio.button.replace'
|
|
@@ -100,6 +106,7 @@ export type TranslationsKeys =
|
|
|
100
106
|
| 'CMS.mediaControl.pasteUrl.button.save'
|
|
101
107
|
| 'CMS.mediaGallery.addLink.save'
|
|
102
108
|
| 'CMS.mediaGallery.dialog.modalTitle'
|
|
109
|
+
| 'CMS.cellDateTime.ariaLabel.time'
|
|
103
110
|
| 'CMS.document.pasteUrl.button'
|
|
104
111
|
| 'CMS.mediaGallery.preview.replace'
|
|
105
112
|
| 'auto-patterns.fields.preview_video'
|
|
@@ -147,6 +154,7 @@ export type TranslationsKeys =
|
|
|
147
154
|
| 'CMS.richTextEditor.toolbar.headerDropdown.option.h5.title'
|
|
148
155
|
| 'CMS.mediaControl.pasteUrl.error.image'
|
|
149
156
|
| 'CMS.mediaGallery.emptyHint'
|
|
157
|
+
| 'CMS.cellDateTime.placeholder'
|
|
150
158
|
| 'CMS.mediaGallery.dialog.settingsNewItemsDirectionEnd'
|
|
151
159
|
| 'CMS.image.replaceWithUrl.title'
|
|
152
160
|
| 'auto-patterns.fields.field_type_address_title'
|
package/src/styles.global.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.addressinput3610524159__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput3610524159__tableAddressInput>div{padding:0!important;width:100%}.addressinput3610524159__tableAddressInput:focus-within{margin-left:2px}.actionsmenu1344282980__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield3727527480__addItem{height:120px!important;box-sizing:border-box}.formaudiofield3727527480__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)}.formaudiofield3727527480__addItem.formaudiofield3727527480--disabled{pointer-events:auto!important}.formaudiofield3727527480__addItem.formaudiofield3727527480--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield3727527480__mediaTitle{line-height:18px!important}.audioplayer710309147__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}.colorview2050727220__view{width:100%}.colorview2050727220__fillPreview{flex-shrink:0}.colorview2050727220__view .colorview2050727220__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog455934700__layout{max-width:510px!important}.formdocumentfield4091006645__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield4091006645__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield4091006645__textWidth{max-width:calc(100% - 196px)}.formdocumentfield4091006645__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield4091006645__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield4091006645__addDocument.formdocumentfield4091006645--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield4091006645__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))}.exclamation1691525640__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation1691525640__exclamation.exclamation1691525640---type-7-warning:not(.exclamation1691525640--customSize),.exclamation1691525640__exclamation.exclamation1691525640---type-5-error:not(.exclamation1691525640--customSize){width:24px;height:24px}.exclamation1691525640__exclamation.exclamation1691525640---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation1691525640__exclamation.exclamation1691525640---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation1691525640__actions{display:flex;flex-direction:column}.exclamation1691525640__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation1691525640__action+.exclamation1691525640__action{margin-top:6px}.exclamation1691525640__action.exclamation1691525640--accented{color:var(--wds-color-blue-100)}.exclamation1691525640__action.exclamation1691525640--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext1920784841__root.highlightedtext1920784841--highlightedBackground{animation:highlightedtext1920784841__highlighted 150ms ease-out 1 forwards}.highlightedtext1920784841__substring.highlightedtext1920784841--isHighlighted{animation:highlightedtext1920784841__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext1920784841__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext1920784841__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay1049657370__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay1049657370__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell298960076__root{width:100%;height:100%}.pasteurlbutton3527200609__root{margin-top:6px}.pasteurlbutton3527200609__iconButtonTooltip{height:max-content}.pasteurlbutton3527200609__iconButton{width:24px;height:24px}.formmediagalleryfield3185835316__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield3185835316__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield3185835316__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield3185835316__addItem{box-sizing:border-box}.formmediagalleryfield3185835316__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield3185835316__image.formmediagalleryfield3185835316--withMarginRight{margin-right:3px}.formmediagalleryfield3185835316__image.formmediagalleryfield3185835316--withMarginTop{margin-top:3px}.formmediagalleryfield3185835316__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield3185835316__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage1127028169__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage1127028169__root.mediaimage1127028169--error{--mediaimage1127028169-from:calc(50% - 0.5px);--mediaimage1127028169-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage1127028169-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1127028169-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1127028169-to),transparent var(--mediaimage1127028169-to))}.mediaimage1127028169__root.mediaimage1127028169--error>*{opacity:0}.overlay2544936598__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))}.overlay2544936598__iconOverlay.overlay2544936598---size-5-small{width:20px;height:20px}.overlay2544936598__iconOverlay.overlay2544936598---size-6-medium{width:24px;height:24px}.overlay2544936598__iconOverlay.overlay2544936598---size-5-large{width:28px;height:28px}.overlay2544936598__iconOverlay.overlay2544936598---placement-7-topLeft{top:2px;left:2px}.overlay2544936598__iconOverlay.overlay2544936598---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader3457330724__loader{border-radius:6px}.medialoader3457330724__loader.medialoader3457330724--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader3457330724__loader.medialoader3457330724--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag3625691514__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))}.formmultidocument3697455280__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument3697455280__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument3697455280__viewRoot>div:first-child .formmultidocument3697455280__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))}.formmultidocument3697455280__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument3697455280__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument3697455280__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))}.formmultidocument3697455280__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))}.cellreferenceinput3231278211__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput3231278211__autocomplete{width:100%}.richcontentdefaultvalueinput908406586__richContentEditorContainer .richcontentdefaultvalueinput908406586__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput4035690__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput4035690__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput4035690__root .richcontentforminput4035690__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput516739647__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput516739647__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal4175496484__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}.publishloader2757594344__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton634800807__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton634800807__root button{border-radius:6px!important}.richcontenteditor2029451533__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor2029451533__root,.richcontenteditor2029451533__toolbarContainer,.richcontenteditor2029451533__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor2029451533__toolbarContainer div{box-sizing:border-box}.richcontenteditor2029451533__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor2029451533__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor2029451533__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor2029451533__modalEditor .richcontenteditor2029451533__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor2029451533__modalEditor .richcontenteditor2029451533__footerToolbarContainer{margin-top:9px}.richcontenteditor2029451533__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor2029451533__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar3285100156__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}.richcontenttoolbar3285100156__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar3285100156__toolbarButton:disabled{color:graytext}.richcontenttoolbar3285100156__toolbar label{padding:0 8px}.richcontentviewer1372920771__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer1372920771__root.richcontentviewer1372920771--isFullScreen{padding:12px 24px}.richcontentviewer1372920771__root:not(.richcontentviewer1372920771--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer1372920771__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer1372920771__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer1372920771__modalViewer{min-width:592px;overflow:auto}.richtexteditor3146892120__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor3146892120__root.richtexteditor3146892120---border-4-none{border:0}.richtexteditor3146892120__root.richtexteditor3146892120---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor3146892120__root.richtexteditor3146892120---border-8-standard:focus,.richtexteditor3146892120__root.richtexteditor3146892120---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor3146892120__root.richtexteditor3146892120---border-8-standard.richtexteditor3146892120---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor3146892120__root.richtexteditor3146892120---border-8-standard.richtexteditor3146892120---status-5-error:focus,.richtexteditor3146892120__root.richtexteditor3146892120---border-8-standard.richtexteditor3146892120---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor3146892120__root.richtexteditor3146892120---border-8-standard.richtexteditor3146892120---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor3146892120__root.richtexteditor3146892120---border-8-standard.richtexteditor3146892120---status-7-warning:focus,.richtexteditor3146892120__root.richtexteditor3146892120---border-8-standard.richtexteditor3146892120---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor3146892120__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor3146892120__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)}.richtexteditor3146892120__editor.richtexteditor3146892120--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor3146892120__editor:not(.richtexteditor3146892120--isFullScreen){max-height:80vh}.richtexteditor3146892120__editor>div{flex:1;max-width:100%}.toolbar2048150541__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}.toolbar2048150541__item{display:flex;margin-right:12px}.toolbar2048150541__item svg,.toolbar2048150541__item svg path,.toolbar2048150541__item svg text{color:inherit;fill:currentColor}.toolbar2048150541__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar2048150541__clearFormatting{margin-left:auto}.toolbar2048150541__fullScreen{margin-right:0}.toolbar2048150541__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar2048150541__dropdownItemContent.toolbar2048150541--selected .toolbar2048150541__dropdownItemTitle,.toolbar2048150541__dropdownItemContent.toolbar2048150541--selected .toolbar2048150541__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar2048150541__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar2048150541__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}.toolbar2048150541__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}.toolbar2048150541__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}.toolbar2048150541__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}.toolbar2048150541__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}.toolbar2048150541__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}.toolbar2048150541__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}.toolbar2048150541__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}.toolbar2048150541__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}.textview2409387019__textView::after{content:"";display:block}.richeditor2435020496__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))}.richeditor2435020496__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))}.richeditor2435020496__editor .DraftEditor-root{width:100%;height:100%}.richeditor2435020496__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor2435020496__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor2435020496__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor2435020496__editor .public-DraftEditor-content ol,.richeditor2435020496__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor2435020496__editor .public-DraftEditor-content a,.richeditor2435020496__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor2435020496__header-one:not(li),.richeditor2435020496__header-two:not(li),.richeditor2435020496__header-three:not(li),.richeditor2435020496__header-four:not(li),.richeditor2435020496__header-five:not(li),.richeditor2435020496__header-six:not(li){margin-block:0;margin:0}.richeditor2435020496__header-one,.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__header-two,.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__header-three,.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__header-four,.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__header-five,.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__header-six,.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__paragraph-one,.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__unstyled,.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__paragraph-three,.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__editor li.richeditor2435020496__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__editor li.richeditor2435020496__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__editor li.richeditor2435020496__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__editor li.richeditor2435020496__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__editor li.richeditor2435020496__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__editor li.richeditor2435020496__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__editor li.richeditor2435020496__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)))}.richeditor2435020496__editor li.richeditor2435020496__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}.richeditor2435020496__align-left{text-align:left;align-self:flex-start}.richeditor2435020496__align-right{text-align:right;align-self:flex-end}.richeditor2435020496__align-center{text-align:center;align-self:center}.richeditor2435020496__align-justify{text-align:justify;align-self:stretch}.richeditor2435020496__withMargin{display:inline-block}.richeditor2435020496__dir-rtl,.richeditor2435020496__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor2435020496__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
1
|
+
.addressinput3227018630__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput3227018630__tableAddressInput>div{padding:0!important;width:100%}.addressinput3227018630__tableAddressInput:focus-within{margin-left:2px}.actionsmenu1379452986__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield1883836278__addItem{height:120px!important;box-sizing:border-box}.formaudiofield1883836278__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)}.formaudiofield1883836278__addItem.formaudiofield1883836278--disabled{pointer-events:auto!important}.formaudiofield1883836278__addItem.formaudiofield1883836278--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield1883836278__mediaTitle{line-height:18px!important}.audioplayer2028983810__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}.cellcolorview2526093299__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview3463757835__view{width:100%}.colorview3463757835__fillPreview{flex-shrink:0}.colorview3463757835__view .colorview3463757835__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog908586734__layout{max-width:510px!important}.formdocumentfield3681439606__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield3681439606__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield3681439606__textWidth{max-width:calc(100% - 196px)}.formdocumentfield3681439606__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield3681439606__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield3681439606__addDocument.formdocumentfield3681439606--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield3681439606__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))}.exclamation2363706594__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation2363706594__exclamation.exclamation2363706594---type-7-warning:not(.exclamation2363706594--customSize),.exclamation2363706594__exclamation.exclamation2363706594---type-5-error:not(.exclamation2363706594--customSize){width:24px;height:24px}.exclamation2363706594__exclamation.exclamation2363706594---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation2363706594__exclamation.exclamation2363706594---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation2363706594__actions{display:flex;flex-direction:column}.exclamation2363706594__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation2363706594__action+.exclamation2363706594__action{margin-top:6px}.exclamation2363706594__action.exclamation2363706594--accented{color:var(--wds-color-blue-100)}.exclamation2363706594__action.exclamation2363706594--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext3971272452__root.highlightedtext3971272452--highlightedBackground{animation:highlightedtext3971272452__highlighted 150ms ease-out 1 forwards}.highlightedtext3971272452__substring.highlightedtext3971272452--isHighlighted{animation:highlightedtext3971272452__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext3971272452__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext3971272452__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay2487678945__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay2487678945__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell3505962653__root{width:100%;height:100%}.pasteurlbutton1818112565__root{margin-top:6px}.pasteurlbutton1818112565__iconButtonTooltip{height:max-content}.pasteurlbutton1818112565__iconButton{width:24px;height:24px}.formmediagalleryfield2963289117__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield2963289117__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield2963289117__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield2963289117__addItem{box-sizing:border-box}.formmediagalleryfield2963289117__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield2963289117__image.formmediagalleryfield2963289117--withMarginRight{margin-right:3px}.formmediagalleryfield2963289117__image.formmediagalleryfield2963289117--withMarginTop{margin-top:3px}.formmediagalleryfield2963289117__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield2963289117__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage805645738__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage805645738__root.mediaimage805645738--error{--mediaimage805645738-from:calc(50% - 0.5px);--mediaimage805645738-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage805645738-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage805645738-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage805645738-to),transparent var(--mediaimage805645738-to))}.mediaimage805645738__root.mediaimage805645738--error>*{opacity:0}.overlay4045146886__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))}.overlay4045146886__iconOverlay.overlay4045146886---size-5-small{width:20px;height:20px}.overlay4045146886__iconOverlay.overlay4045146886---size-6-medium{width:24px;height:24px}.overlay4045146886__iconOverlay.overlay4045146886---size-5-large{width:28px;height:28px}.overlay4045146886__iconOverlay.overlay4045146886---placement-7-topLeft{top:2px;left:2px}.overlay4045146886__iconOverlay.overlay4045146886---placement-10-bottomLeft{bottom:2px;left:2px}.medialoader2381278212__loader{border-radius:6px}.medialoader2381278212__loader.medialoader2381278212--isDashed{border:dashed 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.medialoader2381278212__loader.medialoader2381278212--isSolid{border:solid 1px var(--wds-color-blue-300, var(--wsr-color-B30))}.mediatag1080651885__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))}.formmultidocument239392594__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument239392594__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument239392594__viewRoot>div:first-child .formmultidocument239392594__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))}.formmultidocument239392594__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument239392594__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument239392594__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))}.formmultidocument239392594__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))}.cellreferenceinput3112868832__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput3112868832__autocomplete{width:100%}.richcontentdefaultvalueinput998980344__richContentEditorContainer .richcontentdefaultvalueinput998980344__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput1753039762__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-blue-300);border-radius:var(--wds-border-radius-300)}.richcontentforminput1753039762__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richcontentforminput1753039762__root .richcontentforminput1753039762__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput2205100705__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput2205100705__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal13930613__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}.publishloader3858599799__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton4026172310__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton4026172310__root button{border-radius:6px!important}.richcontenteditor524536335__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor524536335__root,.richcontenteditor524536335__toolbarContainer,.richcontenteditor524536335__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor524536335__toolbarContainer div{box-sizing:border-box}.richcontenteditor524536335__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor524536335__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor524536335__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor524536335__modalEditor .richcontenteditor524536335__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor524536335__modalEditor .richcontenteditor524536335__footerToolbarContainer{margin-top:9px}.richcontenteditor524536335__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor524536335__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar2983172482__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}.richcontenttoolbar2983172482__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar2983172482__toolbarButton:disabled{color:graytext}.richcontenttoolbar2983172482__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar2983172482__toolbar label{padding:0 8px}.richcontentviewer511243834__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer511243834__root.richcontentviewer511243834--isFullScreen{padding:12px 24px}.richcontentviewer511243834__root:not(.richcontentviewer511243834--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer511243834__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer511243834__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer511243834__modalViewer{min-width:592px;overflow:auto}.richtexteditor3721083672__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-border-radius-300)}.richtexteditor3721083672__root.richtexteditor3721083672---border-4-none{border:0}.richtexteditor3721083672__root.richtexteditor3721083672---border-8-standard{border:1px solid var(--wds-color-blue-300)}.richtexteditor3721083672__root.richtexteditor3721083672---border-8-standard:focus,.richtexteditor3721083672__root.richtexteditor3721083672---border-8-standard:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.richtexteditor3721083672__root.richtexteditor3721083672---border-8-standard.richtexteditor3721083672---status-5-error{border:1px solid var(--wds-color-red-100)}.richtexteditor3721083672__root.richtexteditor3721083672---border-8-standard.richtexteditor3721083672---status-5-error:focus,.richtexteditor3721083672__root.richtexteditor3721083672---border-8-standard.richtexteditor3721083672---status-5-error:focus-within{border:1px solid var(--wds-color-red-100);box-shadow:0 0 0 3px var(--wds-color-red-300)}.richtexteditor3721083672__root.richtexteditor3721083672---border-8-standard.richtexteditor3721083672---status-7-warning{border:1px solid var(--wds-color-yellow-100)}.richtexteditor3721083672__root.richtexteditor3721083672---border-8-standard.richtexteditor3721083672---status-7-warning:focus,.richtexteditor3721083672__root.richtexteditor3721083672---border-8-standard.richtexteditor3721083672---status-7-warning:focus-within{border:1px solid var(--wds-color-yellow-100);box-shadow:0 0 0 3px var(--wds-color-yellow-300)}.richtexteditor3721083672__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor3721083672__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)}.richtexteditor3721083672__editor.richtexteditor3721083672--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor3721083672__editor:not(.richtexteditor3721083672--isFullScreen){max-height:80vh}.richtexteditor3721083672__editor>div{flex:1;max-width:100%}.toolbar2816894475__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}.toolbar2816894475__item{display:flex;margin-right:12px}.toolbar2816894475__item svg,.toolbar2816894475__item svg path,.toolbar2816894475__item svg text{color:inherit;fill:currentColor}.toolbar2816894475__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar2816894475__clearFormatting{margin-left:auto}.toolbar2816894475__fullScreen{margin-right:0}.toolbar2816894475__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar2816894475__dropdownItemContent.toolbar2816894475--selected .toolbar2816894475__dropdownItemTitle,.toolbar2816894475__dropdownItemContent.toolbar2816894475--selected .toolbar2816894475__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar2816894475__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar2816894475__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}.toolbar2816894475__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}.toolbar2816894475__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}.toolbar2816894475__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}.toolbar2816894475__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}.toolbar2816894475__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}.toolbar2816894475__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}.toolbar2816894475__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}.toolbar2816894475__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}.textview671857741__textView::after{content:"";display:block}.richeditor1525321038__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))}.richeditor1525321038__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))}.richeditor1525321038__editor .DraftEditor-root{width:100%;height:100%}.richeditor1525321038__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor1525321038__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:#fff}.richeditor1525321038__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor1525321038__editor .public-DraftEditor-content ol,.richeditor1525321038__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor1525321038__editor .public-DraftEditor-content a,.richeditor1525321038__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor1525321038__header-one:not(li),.richeditor1525321038__header-two:not(li),.richeditor1525321038__header-three:not(li),.richeditor1525321038__header-four:not(li),.richeditor1525321038__header-five:not(li),.richeditor1525321038__header-six:not(li){margin-block:0;margin:0}.richeditor1525321038__header-one,.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__header-two,.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__header-three,.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__header-four,.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__header-five,.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__header-six,.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__paragraph-one,.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__unstyled,.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__paragraph-three,.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__editor li.richeditor1525321038__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__editor li.richeditor1525321038__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__editor li.richeditor1525321038__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__editor li.richeditor1525321038__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__editor li.richeditor1525321038__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__editor li.richeditor1525321038__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__editor li.richeditor1525321038__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)))}.richeditor1525321038__editor li.richeditor1525321038__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}.richeditor1525321038__align-left{text-align:left;align-self:flex-start}.richeditor1525321038__align-right{text-align:right;align-self:flex-end}.richeditor1525321038__align-center{text-align:center;align-self:center}.richeditor1525321038__align-justify{text-align:justify;align-self:stretch}.richeditor1525321038__withMargin{display:inline-block}.richeditor1525321038__dir-rtl,.richeditor1525321038__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor1525321038__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import {
|
|
1
|
+
import type { RicosDocument } from '@wix/ricos';
|
|
2
|
+
import { fromPlainText, validateRicosDocument } from '@wix/ricos';
|
|
3
3
|
|
|
4
|
-
export const isValid = (data: unknown): data is
|
|
4
|
+
export const isValid = (data: unknown): data is RicosDocument => {
|
|
5
5
|
if (!data || typeof data !== 'object') {
|
|
6
6
|
return false;
|
|
7
7
|
}
|
|
8
8
|
try {
|
|
9
|
-
|
|
10
|
-
return true;
|
|
9
|
+
return validateRicosDocument(data).type === 'ok';
|
|
11
10
|
} catch {
|
|
12
11
|
return false;
|
|
13
12
|
}
|
|
14
13
|
};
|
|
15
14
|
|
|
16
|
-
export const hardConvert = (data: unknown):
|
|
15
|
+
export const hardConvert = (data: unknown): RicosDocument => {
|
|
17
16
|
if (data === null || data === undefined) {
|
|
18
17
|
return fromPlainText('');
|
|
19
18
|
}
|
|
20
19
|
|
|
21
20
|
if (isValid(data)) {
|
|
22
|
-
return
|
|
21
|
+
return data;
|
|
23
22
|
}
|
|
24
23
|
|
|
25
24
|
if (typeof data === 'string') {
|