@wix/patterns-fields 1.108.0 → 1.110.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/components/address/input/address-input.st.css.js +3 -3
- package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
- package/dist/cjs/components/boolean/cell-checkbox.js +15 -6
- package/dist/cjs/components/boolean/cell-checkbox.js.map +1 -1
- package/dist/cjs/components/color-view/cell-color-view.st.css.js +3 -3
- package/dist/cjs/components/color-view/cell-color-view.st.css.js.map +1 -1
- package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
- package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
- package/dist/cjs/components/date-input/cell-date-input.js +21 -2
- package/dist/cjs/components/date-input/cell-date-input.js.map +1 -1
- package/dist/cjs/components/date-input/date-picker-internals.js +93 -3
- package/dist/cjs/components/date-input/date-picker-internals.js.map +1 -1
- package/dist/cjs/components/date-input/form-date-input.driver.js +2 -0
- package/dist/cjs/components/date-input/form-date-input.driver.js.map +1 -1
- package/dist/cjs/components/date-input/form-date-input.js +23 -6
- package/dist/cjs/components/date-input/form-date-input.js.map +1 -1
- package/dist/cjs/components/date-input/use-field-value-replacement.js +48 -0
- package/dist/cjs/components/date-input/use-field-value-replacement.js.map +1 -0
- package/dist/cjs/components/datetime-input/form-date-time.driver.js +3 -0
- package/dist/cjs/components/datetime-input/form-date-time.driver.js.map +1 -1
- package/dist/cjs/components/datetime-input/form-date-time.js +61 -24
- package/dist/cjs/components/datetime-input/form-date-time.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-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js +3 -3
- package/dist/cjs/components/multi-document/cell-multi-document-edit.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/cjs/components/reference/cell-multi-reference-input.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
- package/dist/cjs/components/reference/cell-reference-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/cell-rich-content-input.js +12 -9
- package/dist/cjs/components/rich-content/cell-rich-content-input.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/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/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/rich-content-editor.js +23 -17
- 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.st.css.js +5 -5
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/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/cell-rich-text-editor.js +21 -5
- package/dist/cjs/components/rich-text/cell-rich-text-editor.js.map +1 -1
- package/dist/cjs/components/rich-text/cell-rich-text-input.js +15 -7
- package/dist/cjs/components/rich-text/cell-rich-text-input.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/form-short-text.js +1 -1
- package/dist/cjs/components/text/form-short-text.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/styles.global.css +1 -1
- package/dist/cjs/utils/keyboard.js +12 -0
- package/dist/cjs/utils/keyboard.js.map +1 -0
- package/dist/esm/components/address/input/address-input.st.css.js +2 -2
- package/dist/esm/components/address/input/address-input.st.css.js.map +1 -1
- package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/esm/components/boolean/cell-checkbox.js +10 -4
- package/dist/esm/components/boolean/cell-checkbox.js.map +1 -1
- package/dist/esm/components/color-view/cell-color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/color-view.st.css.js +2 -2
- package/dist/esm/components/date-input/cell-date-input.js +21 -2
- package/dist/esm/components/date-input/cell-date-input.js.map +1 -1
- package/dist/esm/components/date-input/date-picker-internals.js +67 -0
- package/dist/esm/components/date-input/date-picker-internals.js.map +1 -1
- package/dist/esm/components/date-input/form-date-input.driver.js +2 -0
- package/dist/esm/components/date-input/form-date-input.driver.js.map +1 -1
- package/dist/esm/components/date-input/form-date-input.js +25 -4
- package/dist/esm/components/date-input/form-date-input.js.map +1 -1
- package/dist/esm/components/date-input/use-field-value-replacement.js +48 -0
- package/dist/esm/components/date-input/use-field-value-replacement.js.map +1 -0
- package/dist/esm/components/datetime-input/form-date-time.driver.js +3 -0
- package/dist/esm/components/datetime-input/form-date-time.driver.js.map +1 -1
- package/dist/esm/components/datetime-input/form-date-time.js +51 -21
- package/dist/esm/components/datetime-input/form-date-time.js.map +1 -1
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- 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/highlighted-text/highlighted-text.st.css.js.map +1 -1
- 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-control/paste-url-button.st.css.js.map +1 -1
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/esm/components/media-image/media-image.st.css.js +3 -3
- package/dist/esm/components/media-image/media-image.st.css.js.map +1 -1
- package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
- package/dist/esm/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/esm/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/esm/components/multi-document/cell-multi-document-edit.st.css.js +2 -2
- package/dist/esm/components/multi-document/multi-document-input/form-multi-document.st.css.js +2 -2
- package/dist/esm/components/reference/cell-multi-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
- package/dist/esm/components/reference/cell-reference-input.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/cell-rich-content-input.js +11 -9
- package/dist/esm/components/rich-content/cell-rich-content-input.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-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/publish-loader/publish-loader.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
- 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-editor/rich-content-editor.js +8 -2
- 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-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.st.css.js +2 -2
- package/dist/esm/components/rich-text/cell-rich-text-editor.js +16 -1
- package/dist/esm/components/rich-text/cell-rich-text-editor.js.map +1 -1
- package/dist/esm/components/rich-text/cell-rich-text-input.js +8 -0
- package/dist/esm/components/rich-text/cell-rich-text-input.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/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
- package/dist/esm/components/text/form-short-text.js +1 -1
- package/dist/esm/components/text/form-short-text.js.map +1 -1
- 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/styles.global.css +1 -1
- package/dist/esm/utils/keyboard.js +7 -0
- package/dist/esm/utils/keyboard.js.map +1 -0
- package/dist/types/components/address/input/address-input.st.css.d.ts.map +1 -1
- package/dist/types/components/boolean/cell-checkbox.d.ts +4 -1
- package/dist/types/components/boolean/cell-checkbox.d.ts.map +1 -1
- package/dist/types/components/date-input/cell-date-input.d.ts +4 -0
- package/dist/types/components/date-input/cell-date-input.d.ts.map +1 -1
- package/dist/types/components/date-input/date-picker-internals.d.ts +11 -1
- package/dist/types/components/date-input/date-picker-internals.d.ts.map +1 -1
- package/dist/types/components/date-input/form-date-input.d.ts.map +1 -1
- package/dist/types/components/date-input/form-date-input.driver.d.ts +2 -0
- package/dist/types/components/date-input/form-date-input.driver.d.ts.map +1 -1
- package/dist/types/components/date-input/use-field-value-replacement.d.ts +3 -0
- package/dist/types/components/date-input/use-field-value-replacement.d.ts.map +1 -0
- package/dist/types/components/datetime-input/form-date-time.d.ts.map +1 -1
- package/dist/types/components/datetime-input/form-date-time.driver.d.ts +3 -0
- package/dist/types/components/datetime-input/form-date-time.driver.d.ts.map +1 -1
- package/dist/types/components/delete-dialog/delete-dialog.st.css.d.ts.map +1 -1
- package/dist/types/components/highlighted-text/highlighted-text.st.css.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-control/paste-url-button.st.css.d.ts.map +1 -1
- package/dist/types/components/media-gallery/form-media-gallery-field.st.css.d.ts.map +1 -1
- package/dist/types/components/media-image/media-image.st.css.d.ts.map +1 -1
- package/dist/types/components/media-image/overlays/overlay.st.css.d.ts.map +1 -1
- package/dist/types/components/reference/cell-reference-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/cell-rich-content-input.d.ts +2 -1
- package/dist/types/components/rich-content/cell-rich-content-input.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts +2 -0
- 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-toolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-text/cell-rich-text-editor.d.ts.map +1 -1
- package/dist/types/components/rich-text/cell-rich-text-input.d.ts +1 -1
- package/dist/types/components/rich-text/cell-rich-text-input.d.ts.map +1 -1
- package/dist/types/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/text/text-view.st.css.d.ts.map +1 -1
- package/dist/types/utils/keyboard.d.ts +4 -0
- package/dist/types/utils/keyboard.d.ts.map +1 -0
- package/package.json +5 -5
- package/src/__tests__/components/cell-rich-content-input.spec.tsx +73 -0
- package/src/__tests__/components/cell-rich-text-editor.spec.tsx +64 -0
- package/src/__tests__/components/cell-rich-text-input.spec.tsx +39 -0
- package/src/__tests__/components/date-input/cell-date-input.spec.tsx +100 -0
- package/src/__tests__/components/date-input/date-picker-internals.spec.tsx +69 -0
- package/src/__tests__/components/date-input/form-date-input.spec.tsx +141 -0
- package/src/__tests__/components/datetime-input/form-date-time.spec.tsx +194 -0
- package/src/__tests__/components/rich-content-editor.spec.tsx +53 -0
- package/src/__tests__/components/text/form-short-text.spec.tsx +27 -0
- package/src/__tests__/form-field.driver.tsx +31 -3
- package/src/__tests__/hooks/use-field-value-replacement.spec.tsx +68 -0
- package/src/__tests__/utils/keyboard.spec.ts +45 -0
- package/src/components/address/input/address-input.st.css.ts +2 -2
- package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
- package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
- package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
- package/src/components/boolean/cell-checkbox.tsx +33 -11
- package/src/components/color-view/cell-color-view.st.css.ts +2 -2
- package/src/components/color-view/color-view.st.css.ts +2 -2
- package/src/components/date-input/cell-date-input.tsx +28 -0
- package/src/components/date-input/date-picker-internals.ts +104 -3
- package/src/components/date-input/form-date-input.driver.ts +2 -0
- package/src/components/date-input/form-date-input.tsx +25 -3
- package/src/components/date-input/use-field-value-replacement.ts +63 -0
- package/src/components/datetime-input/form-date-time.driver.ts +3 -0
- package/src/components/datetime-input/form-date-time.tsx +55 -33
- 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-tag/web-media-tag/media-tag.st.css.ts +2 -2
- package/src/components/multi-document/cell-multi-document-edit.st.css.ts +2 -2
- package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
- package/src/components/reference/cell-multi-reference-input.st.css.ts +2 -2
- package/src/components/reference/cell-reference-input.st.css.ts +2 -2
- package/src/components/rich-content/cell-rich-content-input.tsx +12 -13
- 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/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/rich-content-editor.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.tsx +9 -1
- 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-viewer/rich-content-viewer.st.css.ts +2 -2
- package/src/components/rich-text/cell-rich-text-editor.tsx +30 -1
- package/src/components/rich-text/cell-rich-text-input.tsx +9 -1
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
- package/src/components/text/form-short-text.tsx +1 -1
- package/src/components/text/text-view.st.css.ts +2 -2
- package/src/styles.global.css +1 -1
- package/src/utils/keyboard.ts +7 -0
package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js
CHANGED
|
@@ -5,30 +5,30 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../../../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "toolbar1733204498";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
16
|
-
"item": "
|
|
17
|
-
"separator": "
|
|
18
|
-
"clearFormatting": "
|
|
19
|
-
"fullScreen": "
|
|
20
|
-
"dropdownItemContent": "
|
|
21
|
-
"dropdownItemTitle": "
|
|
22
|
-
"dropdownItemSubtitle": "
|
|
23
|
-
"dropdownHeaderOne": "
|
|
24
|
-
"dropdownHeaderTwo": "
|
|
25
|
-
"dropdownHeaderThree": "
|
|
26
|
-
"dropdownHeaderFour": "
|
|
27
|
-
"dropdownHeaderFive": "
|
|
28
|
-
"dropdownHeaderSix": "
|
|
29
|
-
"dropdownParagraphOne": "
|
|
30
|
-
"dropdownNormalText": "
|
|
31
|
-
"dropdownParagraphThree": "
|
|
15
|
+
"root": "toolbar1733204498__root",
|
|
16
|
+
"item": "toolbar1733204498__item",
|
|
17
|
+
"separator": "toolbar1733204498__separator",
|
|
18
|
+
"clearFormatting": "toolbar1733204498__clearFormatting",
|
|
19
|
+
"fullScreen": "toolbar1733204498__fullScreen",
|
|
20
|
+
"dropdownItemContent": "toolbar1733204498__dropdownItemContent",
|
|
21
|
+
"dropdownItemTitle": "toolbar1733204498__dropdownItemTitle",
|
|
22
|
+
"dropdownItemSubtitle": "toolbar1733204498__dropdownItemSubtitle",
|
|
23
|
+
"dropdownHeaderOne": "toolbar1733204498__dropdownHeaderOne",
|
|
24
|
+
"dropdownHeaderTwo": "toolbar1733204498__dropdownHeaderTwo",
|
|
25
|
+
"dropdownHeaderThree": "toolbar1733204498__dropdownHeaderThree",
|
|
26
|
+
"dropdownHeaderFour": "toolbar1733204498__dropdownHeaderFour",
|
|
27
|
+
"dropdownHeaderFive": "toolbar1733204498__dropdownHeaderFive",
|
|
28
|
+
"dropdownHeaderSix": "toolbar1733204498__dropdownHeaderSix",
|
|
29
|
+
"dropdownParagraphOne": "toolbar1733204498__dropdownParagraphOne",
|
|
30
|
+
"dropdownNormalText": "toolbar1733204498__dropdownNormalText",
|
|
31
|
+
"dropdownParagraphThree": "toolbar1733204498__dropdownParagraphThree"
|
|
32
32
|
};
|
|
33
33
|
var keyframes = exports.keyframes = {};
|
|
34
34
|
var layers = exports.layers = {};
|
package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../../../../src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../../../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"toolbar1733204498\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"toolbar1733204498__root\",\"item\":\"toolbar1733204498__item\",\"separator\":\"toolbar1733204498__separator\",\"clearFormatting\":\"toolbar1733204498__clearFormatting\",\"fullScreen\":\"toolbar1733204498__fullScreen\",\"dropdownItemContent\":\"toolbar1733204498__dropdownItemContent\",\"dropdownItemTitle\":\"toolbar1733204498__dropdownItemTitle\",\"dropdownItemSubtitle\":\"toolbar1733204498__dropdownItemSubtitle\",\"dropdownHeaderOne\":\"toolbar1733204498__dropdownHeaderOne\",\"dropdownHeaderTwo\":\"toolbar1733204498__dropdownHeaderTwo\",\"dropdownHeaderThree\":\"toolbar1733204498__dropdownHeaderThree\",\"dropdownHeaderFour\":\"toolbar1733204498__dropdownHeaderFour\",\"dropdownHeaderFive\":\"toolbar1733204498__dropdownHeaderFive\",\"dropdownHeaderSix\":\"toolbar1733204498__dropdownHeaderSix\",\"dropdownParagraphOne\":\"toolbar1733204498__dropdownParagraphOne\",\"dropdownNormalText\":\"toolbar1733204498__dropdownNormalText\",\"dropdownParagraphThree\":\"toolbar1733204498__dropdownParagraphThree\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {\"wds-color-blue-400\":\"--wds-color-blue-400\",\"wds-color-black-400\":\"--wds-color-black-400\",\"wds-color-white\":\"--wds-color-white\",\"wds-font-family-default\":\"--wds-font-family-default\",\"wsr-font-family\":\"--wsr-font-family\",\"wds-font-weight-medium\":\"--wds-font-weight-medium\",\"wds-font-weight-bold\":\"--wds-font-weight-bold\",\"wds-font-size-500\":\"--wds-font-size-500\",\"wds-font-line-height-300\":\"--wds-font-line-height-300\",\"wsr-color-B40\":\"--wsr-color-B40\",\"wsr-color-D80\":\"--wsr-color-D80\",\"wds-input-background-fill-default\":\"--wds-input-background-fill-default\"}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,mBAAmB;AACrC,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,yBAAyB;EAAC,MAAM,EAAC,yBAAyB;EAAC,WAAW,EAAC,8BAA8B;EAAC,iBAAiB,EAAC,oCAAoC;EAAC,YAAY,EAAC,+BAA+B;EAAC,qBAAqB,EAAC,wCAAwC;EAAC,mBAAmB,EAAC,sCAAsC;EAAC,sBAAsB,EAAC,yCAAyC;EAAC,mBAAmB,EAAC,sCAAsC;EAAC,mBAAmB,EAAC,sCAAsC;EAAC,qBAAqB,EAAC,wCAAwC;EAAC,oBAAoB,EAAC,uCAAuC;EAAC,oBAAoB,EAAC,uCAAuC;EAAC,mBAAmB,EAAC,sCAAsC;EAAC,sBAAsB,EAAC,yCAAyC;EAAC,oBAAoB,EAAC,uCAAuC;EAAC,wBAAwB,EAAC;AAA2C,CAAC;AACx8B,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG;EAAC,oBAAoB,EAAC,sBAAsB;EAAC,qBAAqB,EAAC,uBAAuB;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,yBAAyB,EAAC,2BAA2B;EAAC,iBAAiB,EAAC,mBAAmB;EAAC,wBAAwB,EAAC,0BAA0B;EAAC,sBAAsB,EAAC,wBAAwB;EAAC,mBAAmB,EAAC,qBAAqB;EAAC,0BAA0B,EAAC,4BAA4B;EAAC,eAAe,EAAC,iBAAiB;EAAC,eAAe,EAAC,iBAAiB;EAAC,mCAAmC,EAAC;AAAqC,CAAC","ignoreList":[]}
|
|
@@ -66,7 +66,7 @@ const _FormShortText = props => {
|
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
|
-
const charCount = maxLength ? maxLength - ((_controller$field$val = controller.field.value) == null ? void 0 : _controller$field$val.length) : undefined;
|
|
69
|
+
const charCount = maxLength ? maxLength - (((_controller$field$val = controller.field.value) == null ? void 0 : _controller$field$val.length) ?? 0) : undefined;
|
|
70
70
|
return /*#__PURE__*/_react.default.createElement(_designSystem.FormField, {
|
|
71
71
|
label: field.displayName,
|
|
72
72
|
required: (_field$validation6 = field.validation) == null ? void 0 : _field$validation6.required,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_react","_interopRequireDefault","require","_designSystem","_mobxReactLite","_react2","_form","_string","_fieldValidationSettings","_useTranslations","_formShortTextInput","_jsxFileName","specificValuesMessage","displayName","_FormShortText","props","_field$validation","_field$validation2","_field$validation4","_controller$field$val","_field$validation6","_controller$fieldStat","_field$validation7","field","dataHook","formControl","data","translate","t","useWixPatternsContainer","tf","useTranslations","stringLengthRange","validation","minLength","maxLength","specificValues","patternRegex","React","useMemo","_field$validation3","compilePattern","pattern","controller","useController","name","id","control","defaultValue","rules","validate","value","_field$validation5","required","isEmpty","isShorterThan","charMin","isLongerThan","charMax","length","some","option","test","charCount","undefined","default","createElement","FormField","label","status","fieldState","error","statusMessage","message","__self","__source","fileName","lineNumber","columnNumber","FormShortTextInput","onChange","onBlur","options","invalid","Boolean","placeholder","emptyStateMessage","inputRef","ref","FormShortText","exports","observer"],"sources":["../../../../src/components/text/form-short-text.tsx"],"sourcesContent":["import React from 'react';\nimport { FormField } from '@wix/design-system';\nimport { observer } from 'mobx-react-lite';\nimport { useWixPatternsContainer } from '@wix/bex-core/react';\nimport { useController } from '@wix/bex-core/form';\n\nimport { BaseInputProps } from '../../types/base-input';\nimport { isEmpty, isLongerThan, isShorterThan } from '../../validations/string';\nimport { compilePattern } from '../../validations/field-validation-settings';\nimport { useTranslations } from '../../hooks/use-translations';\nimport { FormShortTextInput } from './form-short-text-input';\n\nexport interface FormShortTextProps extends BaseInputProps<string> {}\n\nconst specificValuesMessage = (displayName: string) =>\n `${displayName} must be one of the allowed values`;\n\nconst _FormShortText = (props: FormShortTextProps) => {\n const { field, dataHook, formControl, data } = props;\n\n const { translate: t } = useWixPatternsContainer();\n const { t: tf } = useTranslations();\n\n const stringLengthRange = field.validation?.stringLengthRange;\n const minLength = stringLengthRange?.minLength;\n const maxLength = stringLengthRange?.maxLength;\n const specificValues = field.validation?.specificValues;\n const patternRegex = React.useMemo(\n () => compilePattern(field.validation?.pattern),\n [field.validation?.pattern],\n );\n\n const controller = useController({\n name: field.id,\n control: formControl,\n defaultValue: data?.[field.id],\n rules: {\n validate: (value) => {\n if (field.validation?.required && isEmpty(value)) {\n return t('cairo.fieldValidation.requiredField');\n }\n\n if (value && minLength && isShorterThan(value, minLength)) {\n return t('cairo.fieldValidation.minCharacter', {\n charMin: minLength,\n });\n }\n\n if (value && maxLength && isLongerThan(value, maxLength)) {\n return t('cairo.fieldValidation.maxCharacter', {\n charMax: maxLength,\n });\n }\n\n if (\n value &&\n specificValues?.length &&\n !specificValues.some((option) => option.id === value)\n ) {\n return specificValuesMessage(field.displayName);\n }\n\n if (value && patternRegex && !patternRegex.test(value)) {\n return t('cairo.fieldValidation.patternMismatch');\n }\n\n return true;\n },\n },\n });\n\n const charCount = maxLength\n ? maxLength - controller.field.value?.length\n : undefined;\n\n return (\n <FormField\n label={field.displayName}\n required={field.validation?.required}\n charCount={charCount}\n status={controller.fieldState.error ? 'error' : undefined}\n statusMessage={controller.fieldState.error?.message}\n dataHook={dataHook}\n >\n <FormShortTextInput\n data={controller.field.value ?? ''}\n onChange={controller.field.onChange}\n onBlur={controller.field.onBlur}\n options={specificValues}\n required={field.validation?.required}\n invalid={Boolean(controller.fieldState.error)}\n placeholder={\n specificValues?.length\n ? tf('auto-patterns.fields.select_placeholder')\n : undefined\n }\n emptyStateMessage={tf('auto-patterns.fields.no_results_found')}\n inputRef={controller.field.ref}\n dataHook={`short-text-${field.id}`}\n />\n </FormField>\n );\n};\n\nexport const FormShortText = observer(_FormShortText);\n"],"mappings":"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
|
|
1
|
+
{"version":3,"names":["_react","_interopRequireDefault","require","_designSystem","_mobxReactLite","_react2","_form","_string","_fieldValidationSettings","_useTranslations","_formShortTextInput","_jsxFileName","specificValuesMessage","displayName","_FormShortText","props","_field$validation","_field$validation2","_field$validation4","_controller$field$val","_field$validation6","_controller$fieldStat","_field$validation7","field","dataHook","formControl","data","translate","t","useWixPatternsContainer","tf","useTranslations","stringLengthRange","validation","minLength","maxLength","specificValues","patternRegex","React","useMemo","_field$validation3","compilePattern","pattern","controller","useController","name","id","control","defaultValue","rules","validate","value","_field$validation5","required","isEmpty","isShorterThan","charMin","isLongerThan","charMax","length","some","option","test","charCount","undefined","default","createElement","FormField","label","status","fieldState","error","statusMessage","message","__self","__source","fileName","lineNumber","columnNumber","FormShortTextInput","onChange","onBlur","options","invalid","Boolean","placeholder","emptyStateMessage","inputRef","ref","FormShortText","exports","observer"],"sources":["../../../../src/components/text/form-short-text.tsx"],"sourcesContent":["import React from 'react';\nimport { FormField } from '@wix/design-system';\nimport { observer } from 'mobx-react-lite';\nimport { useWixPatternsContainer } from '@wix/bex-core/react';\nimport { useController } from '@wix/bex-core/form';\n\nimport { BaseInputProps } from '../../types/base-input';\nimport { isEmpty, isLongerThan, isShorterThan } from '../../validations/string';\nimport { compilePattern } from '../../validations/field-validation-settings';\nimport { useTranslations } from '../../hooks/use-translations';\nimport { FormShortTextInput } from './form-short-text-input';\n\nexport interface FormShortTextProps extends BaseInputProps<string> {}\n\nconst specificValuesMessage = (displayName: string) =>\n `${displayName} must be one of the allowed values`;\n\nconst _FormShortText = (props: FormShortTextProps) => {\n const { field, dataHook, formControl, data } = props;\n\n const { translate: t } = useWixPatternsContainer();\n const { t: tf } = useTranslations();\n\n const stringLengthRange = field.validation?.stringLengthRange;\n const minLength = stringLengthRange?.minLength;\n const maxLength = stringLengthRange?.maxLength;\n const specificValues = field.validation?.specificValues;\n const patternRegex = React.useMemo(\n () => compilePattern(field.validation?.pattern),\n [field.validation?.pattern],\n );\n\n const controller = useController({\n name: field.id,\n control: formControl,\n defaultValue: data?.[field.id],\n rules: {\n validate: (value) => {\n if (field.validation?.required && isEmpty(value)) {\n return t('cairo.fieldValidation.requiredField');\n }\n\n if (value && minLength && isShorterThan(value, minLength)) {\n return t('cairo.fieldValidation.minCharacter', {\n charMin: minLength,\n });\n }\n\n if (value && maxLength && isLongerThan(value, maxLength)) {\n return t('cairo.fieldValidation.maxCharacter', {\n charMax: maxLength,\n });\n }\n\n if (\n value &&\n specificValues?.length &&\n !specificValues.some((option) => option.id === value)\n ) {\n return specificValuesMessage(field.displayName);\n }\n\n if (value && patternRegex && !patternRegex.test(value)) {\n return t('cairo.fieldValidation.patternMismatch');\n }\n\n return true;\n },\n },\n });\n\n const charCount = maxLength\n ? maxLength - (controller.field.value?.length ?? 0)\n : undefined;\n\n return (\n <FormField\n label={field.displayName}\n required={field.validation?.required}\n charCount={charCount}\n status={controller.fieldState.error ? 'error' : undefined}\n statusMessage={controller.fieldState.error?.message}\n dataHook={dataHook}\n >\n <FormShortTextInput\n data={controller.field.value ?? ''}\n onChange={controller.field.onChange}\n onBlur={controller.field.onBlur}\n options={specificValues}\n required={field.validation?.required}\n invalid={Boolean(controller.fieldState.error)}\n placeholder={\n specificValues?.length\n ? tf('auto-patterns.fields.select_placeholder')\n : undefined\n }\n emptyStateMessage={tf('auto-patterns.fields.no_results_found')}\n inputRef={controller.field.ref}\n dataHook={`short-text-${field.id}`}\n />\n </FormField>\n );\n};\n\nexport const FormShortText = observer(_FormShortText);\n"],"mappings":"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","ignoreList":[]}
|
|
@@ -5,15 +5,15 @@ exports.vars = exports.style = exports.stVars = exports.st = exports.namespace =
|
|
|
5
5
|
var _stylableEsmRuntime = require("../../stylable-esm-runtime.js");
|
|
6
6
|
// @ts-nocheck
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "textview2550446214";
|
|
9
9
|
var _style_ = _stylableEsmRuntime.classesRuntime.bind(null, _namespace_);
|
|
10
10
|
var cssStates = exports.cssStates = _stylableEsmRuntime.statesRuntime.bind(null, _namespace_);
|
|
11
11
|
var style = exports.style = _style_;
|
|
12
12
|
var st = exports.st = _style_;
|
|
13
13
|
var namespace = exports.namespace = _namespace_;
|
|
14
14
|
var classes = exports.classes = {
|
|
15
|
-
"root": "
|
|
16
|
-
"textView": "
|
|
15
|
+
"root": "textview2550446214__root",
|
|
16
|
+
"textView": "textview2550446214__textView"
|
|
17
17
|
};
|
|
18
18
|
var keyframes = exports.keyframes = {};
|
|
19
19
|
var layers = exports.layers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/text/text-view.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"
|
|
1
|
+
{"version":3,"names":["_stylableEsmRuntime","require","_namespace_","_style_","classesRuntime","bind","cssStates","exports","statesRuntime","style","st","namespace","classes","keyframes","layers","containers","stVars","vars"],"sources":["../../../../src/components/text/text-view.st.css.ts"],"sourcesContent":["// @ts-nocheck\n\n\nimport { classesRuntime, statesRuntime } from \"../../stylable-esm-runtime.js\";\n\n\n\nvar _namespace_ = \"textview2550446214\";\nvar _style_ = classesRuntime.bind(null, _namespace_);\n\nexport var cssStates = statesRuntime.bind(null, _namespace_);\nexport var style: import(\"@stylable/runtime\").STFunction = _style_;\nexport var st: import(\"@stylable/runtime\").STFunction = _style_;\n\nexport var namespace = _namespace_;\nexport var classes = {\"root\":\"textview2550446214__root\",\"textView\":\"textview2550446214__textView\"};\nexport var keyframes = {}; \nexport var layers = {};\nexport var containers = {};\nexport var stVars = {}; \nexport var vars = {}; \n\n\n\n\n"],"mappings":";;;;AAGA,IAAAA,mBAAA,GAAAC,OAAA;AAHA;;AAOA,IAAIC,WAAW,GAAG,oBAAoB;AACtC,IAAIC,OAAO,GAAGC,kCAAc,CAACC,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AAE7C,IAAII,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAGE,iCAAa,CAACH,IAAI,CAAC,IAAI,EAAEH,WAAW,CAAC;AACrD,IAAIO,KAA6C,GAAAF,OAAA,CAAAE,KAAA,GAAGN,OAAO;AAC3D,IAAIO,EAA0C,GAAAH,OAAA,CAAAG,EAAA,GAAGP,OAAO;AAExD,IAAIQ,SAAS,GAAAJ,OAAA,CAAAI,SAAA,GAAGT,WAAW;AAC3B,IAAIU,OAAO,GAAAL,OAAA,CAAAK,OAAA,GAAG;EAAC,MAAM,EAAC,0BAA0B;EAAC,UAAU,EAAC;AAA8B,CAAC;AAC3F,IAAIC,SAAS,GAAAN,OAAA,CAAAM,SAAA,GAAG,CAAC,CAAC;AAClB,IAAIC,MAAM,GAAAP,OAAA,CAAAO,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,UAAU,GAAAR,OAAA,CAAAQ,UAAA,GAAG,CAAC,CAAC;AACnB,IAAIC,MAAM,GAAAT,OAAA,CAAAS,MAAA,GAAG,CAAC,CAAC;AACf,IAAIC,IAAI,GAAAV,OAAA,CAAAU,IAAA,GAAG,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.addressinput1753982187__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput1753982187__tableAddressInput>div{padding:0!important;width:100%}.addressinput1753982187__tableAddressInput:focus-within{margin-left:2px}.actionsmenu132710167__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield2070924690__addItem{height:120px!important;box-sizing:border-box}.formaudiofield2070924690__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)}.formaudiofield2070924690__addItem.formaudiofield2070924690--disabled{pointer-events:auto!important}.formaudiofield2070924690__addItem.formaudiofield2070924690--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield2070924690__mediaTitle{line-height:18px!important}.audioplayer3409967597__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}.cellcolorview3646440040__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview1258591125__view{width:100%}.colorview1258591125__fillPreview{flex-shrink:0}.colorview1258591125__view .colorview1258591125__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog744307190__layout{max-width:510px!important}.formdocumentfield2402620674__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield2402620674__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield2402620674__textWidth{max-width:calc(100% - 196px)}.formdocumentfield2402620674__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield2402620674__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield2402620674__addDocument.formdocumentfield2402620674--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield2402620674__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))}.exclamation3341739339__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation3341739339__exclamation.exclamation3341739339---type-7-warning:not(.exclamation3341739339--customSize),.exclamation3341739339__exclamation.exclamation3341739339---type-5-error:not(.exclamation3341739339--customSize){width:24px;height:24px}.exclamation3341739339__exclamation.exclamation3341739339---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation3341739339__exclamation.exclamation3341739339---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation3341739339__actions{display:flex;flex-direction:column}.exclamation3341739339__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation3341739339__action+.exclamation3341739339__action{margin-top:6px}.exclamation3341739339__action.exclamation3341739339--accented{color:var(--wds-color-blue-100)}.exclamation3341739339__action.exclamation3341739339--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext3372272020__root.highlightedtext3372272020--highlightedBackground{animation:highlightedtext3372272020__highlighted 150ms ease-out 1 forwards}.highlightedtext3372272020__substring.highlightedtext3372272020--isHighlighted{animation:highlightedtext3372272020__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext3372272020__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext3372272020__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay2032633141__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay2032633141__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell235224359__root{width:100%;height:100%}.pasteurlbutton2373892225__root{margin-top:6px}.pasteurlbutton2373892225__iconButtonTooltip{height:max-content}.pasteurlbutton2373892225__iconButton{width:24px;height:24px}.formmediagalleryfield668604997__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield668604997__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield668604997__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield668604997__addItem{box-sizing:border-box}.formmediagalleryfield668604997__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield668604997__image.formmediagalleryfield668604997--withMarginRight{margin-right:3px}.formmediagalleryfield668604997__image.formmediagalleryfield668604997--withMarginTop{margin-top:3px}.formmediagalleryfield668604997__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield668604997__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage1816130638__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage1816130638__root.mediaimage1816130638--error{--mediaimage1816130638-from:calc(50% - 0.5px);--mediaimage1816130638-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage1816130638-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1816130638-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage1816130638-to),transparent var(--mediaimage1816130638-to))}.mediaimage1816130638__root.mediaimage1816130638--error>*{opacity:0}.overlay1530238555__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))}.overlay1530238555__iconOverlay.overlay1530238555---size-5-small{width:20px;height:20px}.overlay1530238555__iconOverlay.overlay1530238555---size-6-medium{width:24px;height:24px}.overlay1530238555__iconOverlay.overlay1530238555---size-5-large{width:28px;height:28px}.overlay1530238555__iconOverlay.overlay1530238555---placement-7-topLeft{top:2px;left:2px}.overlay1530238555__iconOverlay.overlay1530238555---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag1357066181__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))}.cellmultidocumentedit2273831326__chipTrigger{display:flex;align-items:center;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:0 0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}.formmultidocument3816460060__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument3816460060__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument3816460060__viewRoot>div:first-child .formmultidocument3816460060__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))}.formmultidocument3816460060__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument3816460060__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument3816460060__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))}.formmultidocument3816460060__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))}.cellmultireferenceinput2648455914__root{width:100%;box-sizing:border-box;--wds-input-border-color:transparent;--wds-input-border-color-hover:transparent;--wds-input-border-color-focus:transparent;--wds-input-background-fill-default:transparent;--wds-input-background-fill-hover:transparent;--wds-input-shadow-focus-standard:0 0 0 0 transparent}.cellreferenceinput480790494__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput480790494__autocomplete{width:100%}.richcontentdefaultvalueinput3993079790__richContentEditorContainer .richcontentdefaultvalueinput3993079790__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput3375020181__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richcontentforminput3375020181__root:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richcontentforminput3375020181__root .richcontentforminput3375020181__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput2370049202__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput2370049202__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal2426758280__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}.publishloader174442813__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton1788293308__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton1788293308__root button{border-radius:6px!important}.richcontenteditor1294266000__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor1294266000__root,.richcontenteditor1294266000__toolbarContainer,.richcontenteditor1294266000__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor1294266000__toolbarContainer div{box-sizing:border-box}.richcontenteditor1294266000__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor1294266000__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor1294266000__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor1294266000__modalEditor .richcontenteditor1294266000__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor1294266000__modalEditor .richcontenteditor1294266000__footerToolbarContainer{margin-top:9px}.richcontenteditor1294266000__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor1294266000__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar3765747421__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}.richcontenttoolbar3765747421__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar3765747421__toolbarButton:disabled{color:graytext}.richcontenttoolbar3765747421__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar3765747421__toolbar label{padding:0 8px}.richcontentviewer1391567858__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer1391567858__root.richcontentviewer1391567858--isFullScreen{padding:12px 24px}.richcontentviewer1391567858__root:not(.richcontentviewer1391567858--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer1391567858__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer1391567858__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer1391567858__modalViewer{min-width:592px;overflow:auto}.richtexteditor2134844132__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor2134844132__root.richtexteditor2134844132---border-4-none{border:0}.richtexteditor2134844132__root.richtexteditor2134844132---border-8-standard{border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richtexteditor2134844132__root.richtexteditor2134844132---border-8-standard:focus,.richtexteditor2134844132__root.richtexteditor2134844132---border-8-standard:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richtexteditor2134844132__root.richtexteditor2134844132---border-8-standard.richtexteditor2134844132---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor2134844132__root.richtexteditor2134844132---border-8-standard.richtexteditor2134844132---status-5-error:focus,.richtexteditor2134844132__root.richtexteditor2134844132---border-8-standard.richtexteditor2134844132---status-5-error:focus-within{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214));box-shadow:var(--wds-input-shadow-focus-destructive, 0 0 0 3px var(--wsr-color-R40, #FBD0CD))}.richtexteditor2134844132__root.richtexteditor2134844132---border-8-standard.richtexteditor2134844132---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor2134844132__root.richtexteditor2134844132---border-8-standard.richtexteditor2134844132---status-7-warning:focus,.richtexteditor2134844132__root.richtexteditor2134844132---border-8-standard.richtexteditor2134844132---status-7-warning:focus-within{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700));box-shadow:var(--wds-input-shadow-focus-warning, 0 0 0 3px var(--wsr-color-Y40, #FFE2A5))}.richtexteditor2134844132__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor2134844132__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-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor2134844132__editor.richtexteditor2134844132--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor2134844132__editor:not(.richtexteditor2134844132--isFullScreen){max-height:80vh}.richtexteditor2134844132__editor>div{flex:1;max-width:100%}.toolbar998996411__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar998996411__item{display:flex;margin-right:12px}.toolbar998996411__item svg,.toolbar998996411__item svg path,.toolbar998996411__item svg text{color:inherit;fill:currentColor}.toolbar998996411__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar998996411__clearFormatting{margin-left:auto}.toolbar998996411__fullScreen{margin-right:0}.toolbar998996411__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar998996411__dropdownItemContent.toolbar998996411--selected .toolbar998996411__dropdownItemTitle,.toolbar998996411__dropdownItemContent.toolbar998996411--selected .toolbar998996411__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar998996411__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar998996411__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}.toolbar998996411__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}.toolbar998996411__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}.toolbar998996411__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}.toolbar998996411__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}.toolbar998996411__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}.toolbar998996411__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}.toolbar998996411__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}.toolbar998996411__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}.textview482867238__textView::after{content:"";display:block}.richeditor2908613696__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))}.richeditor2908613696__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))}.richeditor2908613696__editor .DraftEditor-root{width:100%;height:100%}.richeditor2908613696__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor2908613696__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richeditor2908613696__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor2908613696__editor .public-DraftEditor-content ol,.richeditor2908613696__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor2908613696__editor .public-DraftEditor-content a,.richeditor2908613696__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor2908613696__header-one:not(li),.richeditor2908613696__header-two:not(li),.richeditor2908613696__header-three:not(li),.richeditor2908613696__header-four:not(li),.richeditor2908613696__header-five:not(li),.richeditor2908613696__header-six:not(li){margin-block:0;margin:0}.richeditor2908613696__header-one,.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__header-two,.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__header-three,.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__header-four,.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__header-five,.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__header-six,.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__paragraph-one,.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__unstyled,.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__paragraph-three,.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__editor li.richeditor2908613696__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__editor li.richeditor2908613696__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__editor li.richeditor2908613696__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__editor li.richeditor2908613696__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__editor li.richeditor2908613696__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__editor li.richeditor2908613696__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__editor li.richeditor2908613696__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)))}.richeditor2908613696__editor li.richeditor2908613696__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}.richeditor2908613696__align-left{text-align:left;align-self:flex-start}.richeditor2908613696__align-right{text-align:right;align-self:flex-end}.richeditor2908613696__align-center{text-align:center;align-self:center}.richeditor2908613696__align-justify{text-align:justify;align-self:stretch}.richeditor2908613696__withMargin{display:inline-block}.richeditor2908613696__dir-rtl,.richeditor2908613696__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor2908613696__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
1
|
+
.addressinput840205872__tableAddressInput{height:36px!important;margin-left:-1px;display:flex!important;align-items:center;width:100%}.addressinput840205872__tableAddressInput>div{padding:0!important;width:100%}.addressinput840205872__tableAddressInput:focus-within{margin-left:2px}.actionsmenu994746356__action{margin-left:calc(var(--wds-space-100, 6px)*-1)}.formaudiofield1744934343__addItem{height:120px!important;box-sizing:border-box}.formaudiofield1744934343__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)}.formaudiofield1744934343__addItem.formaudiofield1744934343--disabled{pointer-events:auto!important}.formaudiofield1744934343__addItem.formaudiofield1744934343--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formaudiofield1744934343__mediaTitle{line-height:18px!important}.audioplayer2787508242__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}.cellcolorview1285518022__hashPrefix{color:var(--wsr-color-D40, #868aa5);font-size:14px;font-weight:300;line-height:1}.colorview1355180041__view{width:100%}.colorview1355180041__fillPreview{flex-shrink:0}.colorview1355180041__view .colorview1355180041__fillPreview{width:18px;height:18px;min-width:18px!important;min-height:18px!important}.deletedialog2793524866__layout{max-width:510px!important}.formdocumentfield3083378965__viewWrapper{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formdocumentfield3083378965__viewWrapper:hover{background:var(--wds-color-blue-500, var(--wsr-color-B50));cursor:pointer}.formdocumentfield3083378965__textWidth{max-width:calc(100% - 196px)}.formdocumentfield3083378965__documentLoader{padding-top:21px;padding-bottom:21px}.formdocumentfield3083378965__addDocument{padding-top:17px!important;padding-bottom:17px!important}.formdocumentfield3083378965__addDocument.formdocumentfield3083378965--error{border:1px solid var(--wds-color-red-100, var(--wsr-color-R10))!important}.formdocumentfield3083378965__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))}.exclamation2723601405__exclamation{display:flex;justify-content:center;align-items:center;box-sizing:border-box;border-radius:3px;cursor:pointer}.exclamation2723601405__exclamation.exclamation2723601405---type-7-warning:not(.exclamation2723601405--customSize),.exclamation2723601405__exclamation.exclamation2723601405---type-5-error:not(.exclamation2723601405--customSize){width:24px;height:24px}.exclamation2723601405__exclamation.exclamation2723601405---type-7-warning{color:var(--wds-color-fill-warning-primary)}.exclamation2723601405__exclamation.exclamation2723601405---type-5-error{color:var(--wds-color-fill-destructive-primary)}.exclamation2723601405__actions{display:flex;flex-direction:column}.exclamation2723601405__action{white-space:normal!important;height:auto!important;text-align:left;gap:6px}.exclamation2723601405__action+.exclamation2723601405__action{margin-top:6px}.exclamation2723601405__action.exclamation2723601405--accented{color:var(--wds-color-blue-100)}.exclamation2723601405__action.exclamation2723601405--accented:hover{color:var(--wds-color-blue-200)}.highlightedtext38924617__root.highlightedtext38924617--highlightedBackground{animation:highlightedtext38924617__highlighted 150ms ease-out 1 forwards}.highlightedtext38924617__substring.highlightedtext38924617--isHighlighted{animation:highlightedtext38924617__highlighted-match 150ms ease-out 50ms 1 forwards}@keyframes highlightedtext38924617__highlighted{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-400, var(--wsr-color-Y40))}}@keyframes highlightedtext38924617__highlighted-match{0%{background-color:transparent}to{background-color:var(--wds-color-yellow-200, var(--wsr-color-Y20))}}.thumbnailreplaceoverlay1453798223__root{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.4);border-radius:3px}.thumbnailreplaceoverlay1453798223__icon{color:#fff;width:18px;height:18px}.cellmediaeditshell1470238779__root{width:100%;height:100%}.pasteurlbutton863819561__root{margin-top:6px}.pasteurlbutton863819561__iconButtonTooltip{height:max-content}.pasteurlbutton863819561__iconButton{width:24px;height:24px}.formmediagalleryfield3652448579__container{display:flex;min-height:128px;max-height:259px}.formmediagalleryfield3652448579__viewBox{display:flex;height:100%;width:100%;flex-wrap:wrap}.formmediagalleryfield3652448579__addItemWrapper{height:128px;width:100%;box-sizing:border-box}.formmediagalleryfield3652448579__addItem{box-sizing:border-box}.formmediagalleryfield3652448579__overlay{width:initial!important;min-width:382px!important}.formmediagalleryfield3652448579__image.formmediagalleryfield3652448579--withMarginRight{margin-right:3px}.formmediagalleryfield3652448579__image.formmediagalleryfield3652448579--withMarginTop{margin-top:3px}.formmediagalleryfield3652448579__previewImage{max-height:calc(100% - 12px)!important}.formmediagalleryfield3652448579__previewVideo{border-radius:8px;max-width:100%;max-height:calc(100% - 12px)!important}.mediaimage669594612__root{display:flex;align-items:center;flex-shrink:0;position:relative;box-sizing:border-box}.mediaimage669594612__root.mediaimage669594612--error{--mediaimage669594612-from:calc(50% - 0.5px);--mediaimage669594612-to:calc(50% + 0.5px);background-image:linear-gradient(to bottom right,transparent var(--mediaimage669594612-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage669594612-from),var(--wds-color-red-200, var(--wsr-color-R20)) var(--mediaimage669594612-to),transparent var(--mediaimage669594612-to))}.mediaimage669594612__root.mediaimage669594612--error>*{opacity:0}.overlay269699703__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))}.overlay269699703__iconOverlay.overlay269699703---size-5-small{width:20px;height:20px}.overlay269699703__iconOverlay.overlay269699703---size-6-medium{width:24px;height:24px}.overlay269699703__iconOverlay.overlay269699703---size-5-large{width:28px;height:28px}.overlay269699703__iconOverlay.overlay269699703---placement-7-topLeft{top:2px;left:2px}.overlay269699703__iconOverlay.overlay269699703---placement-10-bottomLeft{bottom:2px;left:2px}.mediatag1278659247__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))}.cellmultidocumentedit1445614662__chipTrigger{display:flex;align-items:center;min-width:0;max-width:100%;margin:0;padding:0;border:0;background:0 0;font:inherit;color:inherit;text-align:inherit;cursor:pointer}.formmultidocument3031168304__viewRoot{border-radius:var(--wds-border-radius-300, calc(2px * 3));border:1px solid var(--wds-color-blue-300, var(--wsr-color-B30))}.formmultidocument3031168304__singleViewWrapper{border-radius:0;border-bottom:1px solid var(--wds-color-neutral-600, var(--wsr-color-D60));background-color:transparent!important}.formmultidocument3031168304__viewRoot>div:first-child .formmultidocument3031168304__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))}.formmultidocument3031168304__singleViewWrapper:hover{background-color:var(--wds-color-blue-500, var(--wsr-color-B50))!important}.formmultidocument3031168304__singleViewWrapper:focus-visible{border-bottom:1px solid transparent;position:relative;z-index:1}.formmultidocument3031168304__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))}.formmultidocument3031168304__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))}.cellmultireferenceinput1272302448__root{width:100%;box-sizing:border-box;--wds-input-border-color:transparent;--wds-input-border-color-hover:transparent;--wds-input-border-color-focus:transparent;--wds-input-background-fill-default:transparent;--wds-input-background-fill-hover:transparent;--wds-input-shadow-focus-standard:0 0 0 0 transparent}.cellreferenceinput3677663516__root{width:100%;height:100%;display:flex;align-items:center}.cellreferenceinput3677663516__autocomplete{width:100%}.richcontentdefaultvalueinput3250840748__richContentEditorContainer .richcontentdefaultvalueinput3250840748__editor{max-height:calc(40vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentforminput1502891660__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richcontentforminput1502891660__root:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richcontentforminput1502891660__root .richcontentforminput1502891660__editor{overflow-y:auto;max-height:calc(80vh - var(--topToolbarHeight) - var(--bottomToolbarHeight))}.richcontentformreadonlyinput517963887__root{outline:0;box-sizing:border-box;border:1px solid var(--wds-color-black-600);border-radius:var(--wds-border-radius-300)}.richcontentformreadonlyinput517963887__root:focus-within{border:1px solid var(--wds-color-blue-100);box-shadow:var(--wds-input-shadow-focus-standard)}.fullscreenmodal4194047848__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}.publishloader3058437230__publishLoader{position:absolute;top:0;left:0;width:100%;height:100%;background:var(--wds-color-white);z-index:5000;border-radius:inherit}.togglefullscreenbutton2357879209__root{z-index:5;box-sizing:border-box;position:absolute;right:0;top:calc(50% - 16px)!important;padding-right:3px}.togglefullscreenbutton2357879209__root button{border-radius:6px!important}.richcontenteditor3770552425__root{position:relative;font-family:var(--wds-font-family-default, Madefor, Helvetica Neue, Helvetica, Arial, sans-serif)}.richcontenteditor3770552425__root,.richcontenteditor3770552425__toolbarContainer,.richcontenteditor3770552425__footerToolbarContainer{width:100%;box-sizing:border-box}.richcontenteditor3770552425__toolbarContainer div{box-sizing:border-box}.richcontenteditor3770552425__toolbarAndFullScreenButtonWrapper{display:flex;position:relative}.richcontenteditor3770552425__editor{box-sizing:border-box;padding:36px 24px 36px 55px}.richcontenteditor3770552425__modalEditor{display:flex;flex-direction:column;flex:1;height:100%}.richcontenteditor3770552425__modalEditor .richcontenteditor3770552425__editor{overflow-y:auto;flex:1;min-width:592px;box-sizing:border-box}.richcontenteditor3770552425__modalEditor .richcontenteditor3770552425__footerToolbarContainer{margin-top:9px}.richcontenteditor3770552425__toolbarContainer button[data-hook~=text-button-headings]>span{display:inline-flex;padding-inline-end:3px!important}.richcontenteditor3770552425__toolbarContainer button[data-hook~=text-button-ai]>span{padding-inline-end:9px!important}.richcontenttoolbar784676697__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}.richcontenttoolbar784676697__toolbarButton{line-height:40px;background:0 0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;margin:0 5px 0 0}.richcontenttoolbar784676697__toolbarButton:disabled{color:graytext}.richcontenttoolbar784676697__separator{width:1px;height:20px;margin:0 8px 0 3px;background:rgba(51,51,51,.1)}.richcontenttoolbar784676697__toolbar label{padding:0 8px}.richcontentviewer4123602360__root{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:100%;min-height:36px}.richcontentviewer4123602360__root.richcontentviewer4123602360--isFullScreen{padding:12px 24px}.richcontentviewer4123602360__root:not(.richcontentviewer4123602360--isFullScreen){padding:6px 24px 6px 12px}.richcontentviewer4123602360__root ToggleButton{margin:0;padding:0;border:0;position:absolute;top:2px!important;right:2px;width:30px;height:30px}.richcontentviewer4123602360__viewer{height:calc(100% - 36px);width:100%}.richcontentviewer4123602360__modalViewer{min-width:592px;overflow:auto}.richtexteditor3553443869__root{width:100%;box-sizing:border-box;outline:0;overflow:hidden;border-radius:var(--wds-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor3553443869__root.richtexteditor3553443869---border-4-none{border:0}.richtexteditor3553443869__root.richtexteditor3553443869---border-8-standard{border:1px solid var(--wds-input-border-color, var(--wsr-color-B40, #D6E6FE));background-color:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richtexteditor3553443869__root.richtexteditor3553443869---border-8-standard:focus,.richtexteditor3553443869__root.richtexteditor3553443869---border-8-standard:focus-within{border:1px solid var(--wds-input-border-color-focus, var(--wsr-color-B10, #116DFF));box-shadow:var(--wds-input-shadow-focus-standard, 0 0 0 3px var(--wsr-color-F00, #A6D0FF))}.richtexteditor3553443869__root.richtexteditor3553443869---border-8-standard.richtexteditor3553443869---status-5-error{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214))}.richtexteditor3553443869__root.richtexteditor3553443869---border-8-standard.richtexteditor3553443869---status-5-error:focus,.richtexteditor3553443869__root.richtexteditor3553443869---border-8-standard.richtexteditor3553443869---status-5-error:focus-within{border:1px solid var(--wds-color-border-destructive-secondary-active, var(--wsr-color-R10, #E62214));box-shadow:var(--wds-input-shadow-focus-destructive, 0 0 0 3px var(--wsr-color-R40, #FBD0CD))}.richtexteditor3553443869__root.richtexteditor3553443869---border-8-standard.richtexteditor3553443869---status-7-warning{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700))}.richtexteditor3553443869__root.richtexteditor3553443869---border-8-standard.richtexteditor3553443869---status-7-warning:focus,.richtexteditor3553443869__root.richtexteditor3553443869---border-8-standard.richtexteditor3553443869---status-7-warning:focus-within{border:1px solid var(--wds-color-border-warning-secondary-active, var(--wsr-color-Y10, #FFB700));box-shadow:var(--wds-input-shadow-focus-warning, 0 0 0 3px var(--wsr-color-Y40, #FFE2A5))}.richtexteditor3553443869__nativeInput{position:absolute;opacity:0;padding:0;margin:0;border:0;width:0;height:0}.richtexteditor3553443869__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-input-border-radius-default-medium, var(--wsr-border-radius-06, 6px))}.richtexteditor3553443869__editor.richtexteditor3553443869--isFullScreen{max-width:782px;min-width:582px;background:var(--wds-color-black-700)}.richtexteditor3553443869__editor:not(.richtexteditor3553443869--isFullScreen){max-height:80vh}.richtexteditor3553443869__editor>div{flex:1;max-width:100%}.toolbar1733204498__root{padding:12px 18px;display:flex;border-bottom:1px solid var(--wds-color-blue-400, var(--wsr-color-B40, #d6dcff));background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff));align-items:center}.toolbar1733204498__item{display:flex;margin-right:12px}.toolbar1733204498__item svg,.toolbar1733204498__item svg path,.toolbar1733204498__item svg text{color:inherit;fill:currentColor}.toolbar1733204498__separator{display:inline-flex;margin-right:12px;border-left:1px solid #ddd;align-self:stretch}.toolbar1733204498__clearFormatting{margin-left:auto}.toolbar1733204498__fullScreen{margin-right:0}.toolbar1733204498__dropdownItemContent{height:36px;width:100%;display:flex;gap:12px;justify-content:space-between;align-items:center}.toolbar1733204498__dropdownItemContent.toolbar1733204498--selected .toolbar1733204498__dropdownItemTitle,.toolbar1733204498__dropdownItemContent.toolbar1733204498--selected .toolbar1733204498__dropdownItemSubtitle{color:var(--wds-color-white)!important}.toolbar1733204498__dropdownItemSubtitle{color:var(--wds-color-black-400)!important;padding-right:12px;flex-shrink:0}.toolbar1733204498__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}.toolbar1733204498__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}.toolbar1733204498__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}.toolbar1733204498__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}.toolbar1733204498__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}.toolbar1733204498__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}.toolbar1733204498__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}.toolbar1733204498__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}.toolbar1733204498__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}.textview2550446214__textView::after{content:"";display:block}.richeditor2247151294__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))}.richeditor2247151294__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))}.richeditor2247151294__editor .DraftEditor-root{width:100%;height:100%}.richeditor2247151294__editor .DraftEditor-root [data-contents]{overflow:auto}.richeditor2247151294__editor .DraftEditor-editorContainer{display:flex;min-height:100%;background:var(--wds-input-background-fill-default, var(--wsr-color-D80, #ffffff))}.richeditor2247151294__editor .public-DraftEditor-content{padding:12px 24px 24px;min-height:100%;width:100%;box-sizing:border-box}.richeditor2247151294__editor .public-DraftEditor-content ol,.richeditor2247151294__editor .public-DraftEditor-content ul{display:flex;flex-direction:column;padding:0}.richeditor2247151294__editor .public-DraftEditor-content a,.richeditor2247151294__editor .public-DraftEditor-content a:visited{color:inherit;text-decoration:none}.richeditor2247151294__header-one:not(li),.richeditor2247151294__header-two:not(li),.richeditor2247151294__header-three:not(li),.richeditor2247151294__header-four:not(li),.richeditor2247151294__header-five:not(li),.richeditor2247151294__header-six:not(li){margin-block:0;margin:0}.richeditor2247151294__header-one,.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__header-two,.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__header-three,.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__header-four,.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__header-five,.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__header-six,.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__paragraph-one,.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__unstyled,.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__paragraph-three,.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__editor li.richeditor2247151294__header-one:first-child~li::marker{line-height:var(--rt-h1-fontSize, 72px)}.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__editor li.richeditor2247151294__header-two:first-child~li::marker{line-height:var(--rt-h2-fontSize, 42px)}.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__editor li.richeditor2247151294__header-three:first-child~li::marker{line-height:var(--rt-h3-fontSize, 38px)}.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__editor li.richeditor2247151294__header-four:first-child~li::marker{line-height:var(--rt-h4-fontSize, 34px)}.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__editor li.richeditor2247151294__header-five:first-child~li::marker{line-height:var(--rt-h5-fontSize, 28px)}.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__editor li.richeditor2247151294__header-six:first-child~li::marker{line-height:var(--rt-h6-fontSize, 22px)}.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__editor li.richeditor2247151294__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)))}.richeditor2247151294__editor li.richeditor2247151294__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}.richeditor2247151294__align-left{text-align:left;align-self:flex-start}.richeditor2247151294__align-right{text-align:right;align-self:flex-end}.richeditor2247151294__align-center{text-align:center;align-self:center}.richeditor2247151294__align-justify{text-align:justify;align-self:stretch}.richeditor2247151294__withMargin{display:inline-block}.richeditor2247151294__dir-rtl,.richeditor2247151294__editor .public-DraftStyleDefault-rtl{direction:rtl}.richeditor2247151294__editor .public-DraftStyleDefault-listRTL{direction:rtl;text-align:right;max-width:100%}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
exports.__esModule = true;
|
|
4
|
+
exports.isEnterInEditableText = void 0;
|
|
5
|
+
/** Enter (not Shift+Enter, not mid-composition) pressed inside editable text —
|
|
6
|
+
* not in a toolbar input such as a link URL field. */
|
|
7
|
+
const isEnterInEditableText = e => {
|
|
8
|
+
var _e$target;
|
|
9
|
+
return e.key === 'Enter' && !e.shiftKey && !e.isComposing && !!((_e$target = e.target) != null && _e$target.closest != null && _e$target.closest('[contenteditable="true"]'));
|
|
10
|
+
};
|
|
11
|
+
exports.isEnterInEditableText = isEnterInEditableText;
|
|
12
|
+
//# sourceMappingURL=keyboard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["isEnterInEditableText","e","_e$target","key","shiftKey","isComposing","target","closest","exports"],"sources":["../../../src/utils/keyboard.ts"],"sourcesContent":["/** Enter (not Shift+Enter, not mid-composition) pressed inside editable text —\n * not in a toolbar input such as a link URL field. */\nexport const isEnterInEditableText = (e: KeyboardEvent) =>\n e.key === 'Enter' &&\n !e.shiftKey &&\n !e.isComposing &&\n !!(e.target as HTMLElement | null)?.closest?.('[contenteditable=\"true\"]');\n"],"mappings":";;;;AAAA;AACA;AACO,MAAMA,qBAAqB,GAAIC,CAAgB;EAAA,IAAAC,SAAA;EAAA,OACpDD,CAAC,CAACE,GAAG,KAAK,OAAO,IACjB,CAACF,CAAC,CAACG,QAAQ,IACX,CAACH,CAAC,CAACI,WAAW,IACd,CAAC,GAAAH,SAAA,GAAED,CAAC,CAACK,MAAM,aAATJ,SAAA,CAAkCK,OAAO,YAAzCL,SAAA,CAAkCK,OAAO,CAAG,0BAA0B,CAAC;AAAA;AAACC,OAAA,CAAAR,qBAAA,GAAAA,qBAAA","ignoreList":[]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "addressinput840205872";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "addressinput840205872__root", "tableAddressInput": "addressinput840205872__tableAddressInput" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"address-input.st.css.js","sourceRoot":"","sources":["../../../../../src/components/address/input/address-input.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjF,IAAI,WAAW,GAAG,
|
|
1
|
+
{"version":3,"file":"address-input.st.css.js","sourceRoot":"","sources":["../../../../../src/components/address/input/address-input.st.css.ts"],"names":[],"mappings":"AAAA,cAAc;AAGd,OAAO,EAAE,cAAc,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AAIjF,IAAI,WAAW,GAAG,uBAAuB,CAAC;AAC1C,IAAI,OAAO,GAAG,cAAc,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAErD,MAAM,CAAC,IAAI,SAAS,GAAG,aAAa,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;AAC7D,MAAM,CAAC,IAAI,KAAK,GAA2C,OAAO,CAAC;AACnE,MAAM,CAAC,IAAI,EAAE,GAA2C,OAAO,CAAC;AAEhE,MAAM,CAAC,IAAI,SAAS,GAAG,WAAW,CAAC;AACnC,MAAM,CAAC,IAAI,OAAO,GAAG,EAAC,MAAM,EAAC,6BAA6B,EAAC,mBAAmB,EAAC,0CAA0C,EAAC,CAAC;AAC3H,MAAM,CAAC,IAAI,SAAS,GAAG,EAAE,CAAC;AAC1B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,UAAU,GAAG,EAAE,CAAC;AAC3B,MAAM,CAAC,IAAI,MAAM,GAAG,EAAE,CAAC;AACvB,MAAM,CAAC,IAAI,IAAI,GAAG,EAAE,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "actionsmenu994746356";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "actionsmenu994746356__root", "action": "actionsmenu994746356__action" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "formaudiofield1744934343";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "formaudiofield1744934343__root", "addItem": "formaudiofield1744934343__addItem", "mediaTitle": "formaudiofield1744934343__mediaTitle" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "audioplayer2787508242";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "audioplayer2787508242__root" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,14 +1,20 @@
|
|
|
1
|
-
import React, { useCallback } from 'react';
|
|
1
|
+
import React, { forwardRef, useCallback, useImperativeHandle, useRef, } from 'react';
|
|
2
2
|
import { Checkbox } from '@wix/design-system';
|
|
3
3
|
/**
|
|
4
4
|
* Cell-layer Checkbox — fires onChange on toggle. Thin wrapper around
|
|
5
5
|
* WDS Checkbox with cell-friendly prop types (boolean instead of event).
|
|
6
6
|
*/
|
|
7
|
-
export const CellCheckbox = ({ checked, onChange, ...props }) => {
|
|
7
|
+
export const CellCheckbox = forwardRef(({ checked, onChange, ...props }, ref) => {
|
|
8
|
+
// WDS types this ref as an element, but it resolves to the Checkbox,
|
|
9
|
+
// whose focus() focuses the input and shows the keyboard focus ring.
|
|
10
|
+
const checkboxRef = useRef(null);
|
|
11
|
+
useImperativeHandle(ref, () => ({
|
|
12
|
+
focus: () => checkboxRef.current?.focus(),
|
|
13
|
+
}));
|
|
8
14
|
const handleChange = useCallback(() => {
|
|
9
15
|
onChange?.(!checked);
|
|
10
16
|
}, [checked, onChange]);
|
|
11
|
-
return React.createElement(Checkbox, { ...props, checked: checked, onChange: handleChange });
|
|
12
|
-
};
|
|
17
|
+
return (React.createElement(Checkbox, { ...props, ref: checkboxRef, checked: checked, onChange: handleChange }));
|
|
18
|
+
});
|
|
13
19
|
CellCheckbox.displayName = 'CellCheckbox';
|
|
14
20
|
//# sourceMappingURL=cell-checkbox.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-checkbox.js","sourceRoot":"","sources":["../../../../src/components/boolean/cell-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"cell-checkbox.js","sourceRoot":"","sources":["../../../../src/components/boolean/cell-checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,MAAM,GACP,MAAM,OAAO,CAAC;AAEf,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAY9C;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAG,UAAU,CACpC,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE;IACvC,qEAAqE;IACrE,qEAAqE;IACrE,MAAM,WAAW,GAAG,MAAM,CAAiB,IAAI,CAAC,CAAC;IAEjD,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,KAAK,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,KAAK,EAAE;KAC1C,CAAC,CAAC,CAAC;IAEJ,MAAM,YAAY,GAAG,WAAW,CAAC,GAAG,EAAE;QACpC,QAAQ,EAAE,CAAC,CAAC,OAAO,CAAC,CAAC;IACvB,CAAC,EAAE,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC;IAExB,OAAO,CACL,oBAAC,QAAQ,OACH,KAAK,EACT,GAAG,EAAE,WAAW,EAChB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,YAAY,GACtB,CACH,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,YAAY,CAAC,WAAW,GAAG,cAAc,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "cellcolorview1285518022";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "cellcolorview1285518022__root", "hashPrefix": "cellcolorview1285518022__hashPrefix" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// @ts-nocheck
|
|
2
2
|
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
3
|
-
var _namespace_ = "
|
|
3
|
+
var _namespace_ = "colorview1355180041";
|
|
4
4
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
5
5
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
6
6
|
export var style = _style_;
|
|
7
7
|
export var st = _style_;
|
|
8
8
|
export var namespace = _namespace_;
|
|
9
|
-
export var classes = { "root": "
|
|
9
|
+
export var classes = { "root": "colorview1355180041__root", "view": "colorview1355180041__view", "fillPreview": "colorview1355180041__fillPreview" };
|
|
10
10
|
export var keyframes = {};
|
|
11
11
|
export var layers = {};
|
|
12
12
|
export var containers = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef, useCallback, useImperativeHandle, useRef, } from 'react';
|
|
2
2
|
import { DatePicker } from '@wix/design-system';
|
|
3
|
-
import { closeDatePickerCalendar, getDatePickerInputElement, } from './date-picker-internals';
|
|
3
|
+
import { closeDatePickerCalendar, typedDateInputProps, getDatePickerInputElement, } from './date-picker-internals';
|
|
4
4
|
/**
|
|
5
5
|
* Cell-layer Date input. Wraps WDS `<DatePicker>` with cell-edit semantics:
|
|
6
6
|
* - `onChange` fires on every WDS onChange (typing-driven valid date or
|
|
@@ -11,8 +11,9 @@ import { closeDatePickerCalendar, getDatePickerInputElement, } from './date-pick
|
|
|
11
11
|
* - Exposes `focus` / `openCalendar` / `closeCalendar` via imperative handle
|
|
12
12
|
* so consumers can drive type-to-edit and scroll-close behaviors.
|
|
13
13
|
*/
|
|
14
|
-
export const CellDateInput = forwardRef(({ value, onChange, onClear, inputRef, dataHook, placeholder, ariaLabel, hidePrefix, popoverProps, }, forwardedRef) => {
|
|
14
|
+
export const CellDateInput = forwardRef(({ value, onChange, onEmpty, onEnter, onClear, inputRef, dataHook, placeholder, ariaLabel, hidePrefix, popoverProps, }, forwardedRef) => {
|
|
15
15
|
const datePickerRef = useRef(null);
|
|
16
|
+
const inputElementRef = useRef(null);
|
|
16
17
|
useImperativeHandle(forwardedRef, () => ({
|
|
17
18
|
focus: () => getDatePickerInputElement(datePickerRef.current)?.focus(),
|
|
18
19
|
openCalendar: () => datePickerRef.current?.openCalendar?.(),
|
|
@@ -21,12 +22,30 @@ export const CellDateInput = forwardRef(({ value, onChange, onClear, inputRef, d
|
|
|
21
22
|
const handleChange = useCallback((date) => {
|
|
22
23
|
onChange?.(date);
|
|
23
24
|
}, [onChange]);
|
|
25
|
+
const handleEmptyEnter = useCallback(() => {
|
|
26
|
+
if (onEnter) {
|
|
27
|
+
onEnter(null);
|
|
28
|
+
return;
|
|
29
|
+
}
|
|
30
|
+
onEmpty?.();
|
|
31
|
+
}, [onEnter, onEmpty]);
|
|
32
|
+
const handlesTypedInput = Boolean(onEmpty || onEnter);
|
|
24
33
|
const validValue = value instanceof Date && !isNaN(value.getTime()) ? value : undefined;
|
|
25
34
|
return (React.createElement(DatePicker, { ref: datePickerRef, dataHook: dataHook, size: "small", width: "100%", value: validValue, onChange: handleChange, clearButton: !!onClear && !!validValue, onClear: onClear, placeholderText: placeholder, popoverProps: popoverProps ?? { appendTo: 'window', moveBy: { y: 4 } }, inputProps: {
|
|
26
35
|
border: 'none',
|
|
27
36
|
...(hidePrefix ? { prefix: React.createElement("span", null) } : {}),
|
|
28
37
|
...(ariaLabel ? { ariaLabel } : {}),
|
|
38
|
+
...(handlesTypedInput
|
|
39
|
+
? typedDateInputProps({
|
|
40
|
+
picker: datePickerRef,
|
|
41
|
+
input: inputElementRef,
|
|
42
|
+
onEmpty,
|
|
43
|
+
onEmptyEnter: handleEmptyEnter,
|
|
44
|
+
onEnter,
|
|
45
|
+
})
|
|
46
|
+
: {}),
|
|
29
47
|
inputRef: (el) => {
|
|
48
|
+
inputElementRef.current = el;
|
|
30
49
|
if (inputRef) {
|
|
31
50
|
inputRef.current = el ?? undefined;
|
|
32
51
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cell-date-input.js","sourceRoot":"","sources":["../../../../src/components/date-input/cell-date-input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,MAAM,GACP,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EACL,uBAAuB,EACvB,yBAAyB,GAC1B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"cell-date-input.js","sourceRoot":"","sources":["../../../../src/components/date-input/cell-date-input.tsx"],"names":[],"mappings":"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"}
|