@wix/patterns-fields 1.40.0 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/components/address/input/address-input.st.css.js +3 -3
- package/dist/cjs/components/address/input/address-input.st.css.js.map +1 -1
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js +3 -3
- package/dist/cjs/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-field/form-audio-field.js +12 -10
- package/dist/cjs/components/audio/audio-field/form-audio-field.js.map +1 -1
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js +4 -4
- package/dist/cjs/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/cjs/components/audio/audio-player/audio-player.st.css.js.map +1 -1
- package/dist/cjs/components/color-view/cell-color-input.js +195 -0
- package/dist/cjs/components/color-view/cell-color-input.js.map +1 -0
- package/dist/cjs/components/color-view/cell-color-view.js +89 -0
- package/dist/cjs/components/color-view/cell-color-view.js.map +1 -0
- package/dist/cjs/components/color-view/cell-color-view.st.css +8 -0
- package/dist/cjs/components/color-view/cell-color-view.st.css.js +25 -0
- package/dist/cjs/components/color-view/cell-color-view.st.css.js.map +1 -0
- package/dist/cjs/components/color-view/color-input.js +33 -27
- package/dist/cjs/components/color-view/color-input.js.map +1 -1
- package/dist/cjs/components/color-view/color-view.st.css.js +4 -4
- package/dist/cjs/components/color-view/color-view.st.css.js.map +1 -1
- package/dist/cjs/components/color-view/hex.js +16 -0
- package/dist/cjs/components/color-view/hex.js.map +1 -0
- package/dist/cjs/components/color-view/index.js +18 -0
- package/dist/cjs/components/color-view/index.js.map +1 -1
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js +3 -3
- package/dist/cjs/components/delete-dialog/delete-dialog.st.css.js.map +1 -1
- package/dist/cjs/components/document/form-document-field.st.css.js +7 -7
- package/dist/cjs/components/document/form-document-field.st.css.js.map +1 -1
- package/dist/cjs/components/exclamation/exclamation.st.css.js +5 -5
- package/dist/cjs/components/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js +5 -5
- package/dist/cjs/components/highlighted-text/highlighted-text.st.css.js.map +1 -1
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js +3 -3
- package/dist/cjs/components/image/thumbnail-replace-overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/cjs/components/media-control/cell-media-edit-shell.st.css.js.map +1 -1
- package/dist/cjs/components/media-control/paste-url-button.st.css.js +4 -4
- package/dist/cjs/components/media-control/paste-url-button.st.css.js.map +1 -1
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js +10 -10
- package/dist/cjs/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/media-image.st.css.js +4 -4
- package/dist/cjs/components/media-image/media-image.st.css.js.map +1 -1
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js +3 -3
- package/dist/cjs/components/media-image/overlays/overlay.st.css.js.map +1 -1
- package/dist/cjs/components/media-loader/media-loader.st.css.js +3 -3
- package/dist/cjs/components/media-loader/media-loader.st.css.js.map +1 -1
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js +2 -2
- package/dist/cjs/components/media-tag/web-media-tag/media-tag.st.css.js.map +1 -1
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js +5 -5
- package/dist/cjs/components/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/cjs/components/reference/cell-reference-input.st.css.js +3 -3
- package/dist/cjs/components/reference/cell-reference-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/cell-rich-content-input.js +4 -3
- package/dist/cjs/components/rich-content/cell-rich-content-input.js.map +1 -1
- package/dist/cjs/components/rich-content/cell-rich-content-view.js +3 -2
- package/dist/cjs/components/rich-content/cell-rich-content-view.js.map +1 -1
- package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js +1 -1
- package/dist/cjs/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js +2 -2
- package/dist/cjs/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/hooks.js +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/hooks.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +3 -3
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/plugins.js +0 -5
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/plugins.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js +169 -192
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +7 -7
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js +52 -36
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +5 -4
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +10 -10
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +4 -4
- package/dist/cjs/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +4 -4
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js.map +1 -1
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +18 -18
- package/dist/cjs/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js.map +1 -1
- package/dist/cjs/components/text/text-view.st.css.js +3 -3
- package/dist/cjs/components/text/text-view.st.css.js.map +1 -1
- package/dist/cjs/components/time-input/form-time-input.js +21 -2
- package/dist/cjs/components/time-input/form-time-input.js.map +1 -1
- package/dist/cjs/styles.global.css +1 -1
- package/dist/cjs/validations/rich-content.js +2 -3
- package/dist/cjs/validations/rich-content.js.map +1 -1
- package/dist/esm/components/address/input/address-input.st.css.js +2 -2
- package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js +2 -2
- package/dist/esm/components/audio/actions/actions-menu/actions-menu.st.css.js.map +1 -1
- package/dist/esm/components/audio/audio-field/form-audio-field.js +2 -0
- package/dist/esm/components/audio/audio-field/form-audio-field.js.map +1 -1
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js +2 -2
- package/dist/esm/components/audio/audio-field/form-audio-field.st.css.js.map +1 -1
- package/dist/esm/components/audio/audio-player/audio-player.st.css.js +2 -2
- package/dist/esm/components/color-view/cell-color-input.js +104 -0
- package/dist/esm/components/color-view/cell-color-input.js.map +1 -0
- package/dist/esm/components/color-view/cell-color-view.js +25 -0
- package/dist/esm/components/color-view/cell-color-view.js.map +1 -0
- package/dist/esm/components/color-view/cell-color-view.st.css +8 -0
- package/dist/esm/components/color-view/cell-color-view.st.css.js +15 -0
- package/dist/esm/components/color-view/cell-color-view.st.css.js.map +1 -0
- package/dist/esm/components/color-view/color-input.js +12 -12
- package/dist/esm/components/color-view/color-input.js.map +1 -1
- package/dist/esm/components/color-view/color-view.st.css.js +2 -2
- package/dist/esm/components/color-view/hex.js +9 -0
- package/dist/esm/components/color-view/hex.js.map +1 -0
- package/dist/esm/components/color-view/index.js +3 -0
- package/dist/esm/components/color-view/index.js.map +1 -1
- package/dist/esm/components/delete-dialog/delete-dialog.st.css.js +2 -2
- package/dist/esm/components/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/exclamation/exclamation.st.css.js.map +1 -1
- package/dist/esm/components/highlighted-text/highlighted-text.st.css.js +3 -3
- package/dist/esm/components/image/thumbnail-replace-overlay.st.css.js +2 -2
- package/dist/esm/components/media-control/cell-media-edit-shell.st.css.js +2 -2
- package/dist/esm/components/media-control/paste-url-button.st.css.js +2 -2
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js +2 -2
- package/dist/esm/components/media-gallery/form-media-gallery-field.st.css.js.map +1 -1
- package/dist/esm/components/media-image/media-image.st.css.js +3 -3
- package/dist/esm/components/media-image/media-image.st.css.js.map +1 -1
- package/dist/esm/components/media-image/overlays/overlay.st.css.js +2 -2
- package/dist/esm/components/media-loader/media-loader.st.css.js +2 -2
- package/dist/esm/components/media-tag/web-media-tag/media-tag.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/multi-document/multi-document-input/form-multi-document.st.css.js.map +1 -1
- package/dist/esm/components/reference/cell-reference-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/cell-rich-content-input.js +4 -3
- package/dist/esm/components/rich-content/cell-rich-content-input.js.map +1 -1
- package/dist/esm/components/rich-content/cell-rich-content-view.js +3 -4
- package/dist/esm/components/rich-content/cell-rich-content-view.js.map +1 -1
- package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js +2 -2
- package/dist/esm/components/rich-content/hooks/use-plain-text-rich-content.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.js.map +1 -1
- 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/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/hooks.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/plugins.js +0 -5
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/plugins.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js +112 -135
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js +27 -35
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.js.map +1 -1
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js +2 -2
- package/dist/esm/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.js.map +1 -1
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.js.map +1 -1
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.js +2 -2
- package/dist/esm/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.js +2 -2
- package/dist/esm/components/text/text-view.st.css.js +2 -2
- package/dist/esm/components/time-input/form-time-input.js +8 -3
- package/dist/esm/components/time-input/form-time-input.js.map +1 -1
- package/dist/esm/styles.global.css +1 -1
- package/dist/esm/validations/rich-content.js +3 -4
- package/dist/esm/validations/rich-content.js.map +1 -1
- package/dist/types/components/audio/actions/actions-menu/actions-menu.st.css.d.ts.map +1 -1
- package/dist/types/components/audio/audio-field/form-audio-field.d.ts.map +1 -1
- package/dist/types/components/audio/audio-field/form-audio-field.st.css.d.ts.map +1 -1
- package/dist/types/components/color-view/cell-color-input.d.ts +23 -0
- package/dist/types/components/color-view/cell-color-input.d.ts.map +1 -0
- package/dist/types/components/color-view/cell-color-view.d.ts +15 -0
- package/dist/types/components/color-view/cell-color-view.d.ts.map +1 -0
- package/dist/types/components/color-view/cell-color-view.st.css.d.ts +16 -0
- package/dist/types/components/color-view/cell-color-view.st.css.d.ts.map +1 -0
- package/dist/types/components/color-view/color-input.d.ts.map +1 -1
- package/dist/types/components/color-view/hex.d.ts +5 -0
- package/dist/types/components/color-view/hex.d.ts.map +1 -0
- package/dist/types/components/color-view/index.d.ts +3 -0
- package/dist/types/components/color-view/index.d.ts.map +1 -1
- package/dist/types/components/delete-dialog/delete-dialog.st.css.d.ts.map +1 -1
- package/dist/types/components/exclamation/exclamation.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/multi-document/multi-document-input/form-multi-document.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/cell-rich-content-input.d.ts +2 -2
- package/dist/types/components/rich-content/cell-rich-content-input.d.ts.map +1 -1
- package/dist/types/components/rich-content/cell-rich-content-view.d.ts.map +1 -1
- package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts +2 -2
- package/dist/types/components/rich-content/hooks/use-plain-text-rich-content.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/form-input/use-rich-content-form-input.d.ts +2 -2
- package/dist/types/components/rich-content/rich-content-input/hooks.d.ts +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts +3 -3
- package/dist/types/components/rich-content/rich-content-input/rich-content-common/hooks.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts +2 -2
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/plugins.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts +12 -11
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts +2 -15
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts +1 -0
- package/dist/types/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/plugins.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts +5 -3
- package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.d.ts.map +1 -1
- package/dist/types/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.d.ts.map +1 -1
- package/dist/types/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.d.ts.map +1 -1
- package/dist/types/components/time-input/form-time-input.d.ts.map +1 -1
- package/dist/types/validations/rich-content.d.ts +3 -3
- package/dist/types/validations/rich-content.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/__tests__/components/rich-content-editor.spec.tsx +63 -72
- package/src/__tests__/validations/rich-content.spec.ts +4 -8
- package/src/components/address/input/address-input.st.css.ts +2 -2
- package/src/components/audio/actions/actions-menu/actions-menu.st.css.ts +2 -2
- package/src/components/audio/audio-field/form-audio-field.st.css.ts +2 -2
- package/src/components/audio/audio-field/form-audio-field.tsx +2 -0
- package/src/components/audio/audio-player/audio-player.st.css.ts +2 -2
- package/src/components/color-view/cell-color-input.tsx +200 -0
- package/src/components/color-view/cell-color-view.st.css +8 -0
- package/src/components/color-view/cell-color-view.st.css.ts +25 -0
- package/src/components/color-view/cell-color-view.tsx +52 -0
- package/src/components/color-view/color-input.tsx +23 -17
- package/src/components/color-view/color-view.st.css.ts +2 -2
- package/src/components/color-view/hex.ts +13 -0
- package/src/components/color-view/index.ts +3 -0
- package/src/components/delete-dialog/delete-dialog.st.css.ts +2 -2
- package/src/components/document/form-document-field.st.css.ts +2 -2
- package/src/components/exclamation/exclamation.st.css.ts +2 -2
- package/src/components/highlighted-text/highlighted-text.st.css.ts +3 -3
- package/src/components/image/thumbnail-replace-overlay.st.css.ts +2 -2
- package/src/components/media-control/cell-media-edit-shell.st.css.ts +2 -2
- package/src/components/media-control/paste-url-button.st.css.ts +2 -2
- package/src/components/media-gallery/form-media-gallery-field.st.css.ts +2 -2
- package/src/components/media-image/media-image.st.css.ts +3 -3
- package/src/components/media-image/overlays/overlay.st.css.ts +2 -2
- package/src/components/media-loader/media-loader.st.css.ts +2 -2
- package/src/components/media-tag/web-media-tag/media-tag.st.css.ts +2 -2
- package/src/components/multi-document/multi-document-input/form-multi-document.st.css.ts +2 -2
- package/src/components/reference/cell-reference-input.st.css.ts +2 -2
- package/src/components/rich-content/cell-rich-content-input.tsx +11 -14
- package/src/components/rich-content/cell-rich-content-view.tsx +3 -4
- package/src/components/rich-content/hooks/use-plain-text-rich-content.ts +4 -4
- package/src/components/rich-content/rich-content-input/default-value-input/rich-content-default-value-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-input/rich-content-form-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/form-read-only-input/rich-content-form-read-only-input.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/fullscreen-modal/fullscreen-modal.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/hooks.ts +5 -5
- package/src/components/rich-content/rich-content-input/rich-content-common/publish-loader/publish-loader.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-common/toggle-fullscreen-button/toggle-fullscreen-button.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/plugins.ts +0 -6
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-editor.tsx +346 -355
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css +7 -0
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-editor/rich-content-toolbar.tsx +35 -62
- package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.st.css.ts +2 -2
- package/src/components/rich-content/rich-content-input/rich-content-viewer/rich-content-viewer.tsx +8 -9
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/rich-text-editor.st.css.ts +2 -2
- package/src/components/rich-text/rich-text-input/rich-text-editor/toolbar/toolbar.st.css.ts +2 -2
- package/src/components/text/text-view.st.css.ts +2 -2
- package/src/components/time-input/form-time-input.tsx +21 -4
- package/src/styles.global.css +1 -1
- package/src/validations/rich-content.ts +6 -7
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
import React, { forwardRef, useCallback, useEffect, useState } from 'react';
|
|
2
|
+
import type {
|
|
3
|
+
ColorPickerProps,
|
|
4
|
+
InputImperativeActions,
|
|
5
|
+
InputProps,
|
|
6
|
+
PopoverProps,
|
|
7
|
+
} from '@wix/design-system';
|
|
8
|
+
import {
|
|
9
|
+
ColorPicker,
|
|
10
|
+
FillButton,
|
|
11
|
+
FillPreview,
|
|
12
|
+
Input,
|
|
13
|
+
Popover,
|
|
14
|
+
} from '@wix/design-system';
|
|
15
|
+
import { useTranslations } from '../../hooks/use-translations';
|
|
16
|
+
import { isValidHex, normalizeHex, omitHash } from './hex';
|
|
17
|
+
|
|
18
|
+
export interface CellColorInputProps
|
|
19
|
+
extends Omit<
|
|
20
|
+
InputProps,
|
|
21
|
+
'value' | 'onChange' | 'prefix' | 'suffix' | 'inputRef'
|
|
22
|
+
> {
|
|
23
|
+
value?: string;
|
|
24
|
+
onChange?: (text: string) => void;
|
|
25
|
+
popoverProps?: Partial<PopoverProps>;
|
|
26
|
+
inputRef?: React.MutableRefObject<InputImperativeActions | null | undefined>;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Cell-layer ColorInput for EditableTable. Differs from the form ColorInput in
|
|
31
|
+
* four ways required by the cell context:
|
|
32
|
+
* 1. `popoverProps` passthrough so the picker can `appendTo: 'window'` and
|
|
33
|
+
* escape the table's scroll container.
|
|
34
|
+
* 2. The empty-state add-color button appears for invalid values too (not
|
|
35
|
+
* only missing) — mid-typing or post-commit bad hex should still expose
|
|
36
|
+
* the picker as an escape hatch.
|
|
37
|
+
* 3. Invalid input on blur is forwarded upward (prefixed with `#`) so the
|
|
38
|
+
* cell-level `validate()` can surface the error; we don't silently revert.
|
|
39
|
+
* 4. Picker closes on any ancestor scroll while open — the portaled popover
|
|
40
|
+
* does not follow the trigger.
|
|
41
|
+
*/
|
|
42
|
+
export const CellColorInput = forwardRef<
|
|
43
|
+
InputImperativeActions,
|
|
44
|
+
CellColorInputProps
|
|
45
|
+
>(
|
|
46
|
+
(
|
|
47
|
+
{ value: colorValue, onChange, onBlur, popoverProps, inputRef, ...props },
|
|
48
|
+
ref,
|
|
49
|
+
) => {
|
|
50
|
+
const { t } = useTranslations();
|
|
51
|
+
const [inputValue, setInputValue] = useState(
|
|
52
|
+
colorValue ? omitHash(colorValue) : '',
|
|
53
|
+
);
|
|
54
|
+
const [showPicker, setShowPicker] = useState(false);
|
|
55
|
+
const [pickerHex, setPickerHex] = useState<string | undefined>(
|
|
56
|
+
colorValue && isValidHex(colorValue) ? colorValue : undefined,
|
|
57
|
+
);
|
|
58
|
+
|
|
59
|
+
const onInputChange = useCallback(
|
|
60
|
+
(e: React.ChangeEvent<HTMLInputElement>) => {
|
|
61
|
+
const raw = e.target.value.replace(/^#/, '');
|
|
62
|
+
setInputValue(raw);
|
|
63
|
+
|
|
64
|
+
const hex = normalizeHex(raw);
|
|
65
|
+
if (hex) {
|
|
66
|
+
setPickerHex(hex);
|
|
67
|
+
onChange?.(hex);
|
|
68
|
+
} else {
|
|
69
|
+
onChange?.(raw === '' ? '' : `#${raw}`);
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
[onChange],
|
|
73
|
+
);
|
|
74
|
+
|
|
75
|
+
const onInputBlur = useCallback(
|
|
76
|
+
(e: React.FocusEvent<HTMLInputElement>) => {
|
|
77
|
+
const hex = normalizeHex(inputValue);
|
|
78
|
+
if (hex) {
|
|
79
|
+
onChange?.(hex);
|
|
80
|
+
setInputValue(omitHash(hex));
|
|
81
|
+
}
|
|
82
|
+
onBlur?.(e);
|
|
83
|
+
},
|
|
84
|
+
[onChange, onBlur, inputValue],
|
|
85
|
+
);
|
|
86
|
+
|
|
87
|
+
const onPickerConfirm = useCallback(
|
|
88
|
+
(confirmedColor: ColorPickerProps['value']) => {
|
|
89
|
+
const hex =
|
|
90
|
+
typeof confirmedColor === 'string'
|
|
91
|
+
? confirmedColor.toUpperCase()
|
|
92
|
+
: (confirmedColor as { hex?: () => string } | null | undefined)
|
|
93
|
+
?.hex?.()
|
|
94
|
+
?.toUpperCase();
|
|
95
|
+
if (hex) {
|
|
96
|
+
onChange?.(hex);
|
|
97
|
+
setInputValue(omitHash(hex));
|
|
98
|
+
setPickerHex(hex);
|
|
99
|
+
} else {
|
|
100
|
+
onChange?.('');
|
|
101
|
+
setInputValue('');
|
|
102
|
+
setPickerHex(undefined);
|
|
103
|
+
}
|
|
104
|
+
setShowPicker(false);
|
|
105
|
+
},
|
|
106
|
+
[onChange],
|
|
107
|
+
);
|
|
108
|
+
|
|
109
|
+
const onPickerCancel = useCallback(() => {
|
|
110
|
+
setPickerHex(
|
|
111
|
+
colorValue && isValidHex(colorValue) ? colorValue : undefined,
|
|
112
|
+
);
|
|
113
|
+
setShowPicker(false);
|
|
114
|
+
}, [colorValue]);
|
|
115
|
+
|
|
116
|
+
const togglePicker = useCallback(() => {
|
|
117
|
+
setShowPicker((prev) => !prev);
|
|
118
|
+
}, []);
|
|
119
|
+
|
|
120
|
+
useEffect(() => {
|
|
121
|
+
if (!showPicker) {
|
|
122
|
+
return;
|
|
123
|
+
}
|
|
124
|
+
const close = () => setShowPicker(false);
|
|
125
|
+
const opts = { capture: true } as const;
|
|
126
|
+
window.addEventListener('scroll', close, { ...opts, passive: true });
|
|
127
|
+
return () => window.removeEventListener('scroll', close, opts);
|
|
128
|
+
}, [showPicker]);
|
|
129
|
+
|
|
130
|
+
const showAddColorButton = !colorValue || !isValidHex(colorValue);
|
|
131
|
+
const addColorTooltip = t('auto-patterns.fields.add_color_tooltip');
|
|
132
|
+
|
|
133
|
+
const popoverDefaults: Partial<PopoverProps> = {
|
|
134
|
+
animate: true,
|
|
135
|
+
flip: true,
|
|
136
|
+
fixed: false,
|
|
137
|
+
placement: 'bottom-start',
|
|
138
|
+
appendTo: 'window',
|
|
139
|
+
moveBy: { x: 0, y: 4 },
|
|
140
|
+
zIndex: 9999,
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
return (
|
|
144
|
+
<Input
|
|
145
|
+
{...props}
|
|
146
|
+
ref={(instance) => {
|
|
147
|
+
if (inputRef) inputRef.current = instance;
|
|
148
|
+
if (typeof ref === 'function') ref(instance);
|
|
149
|
+
else if (ref) ref.current = instance;
|
|
150
|
+
}}
|
|
151
|
+
value={inputValue}
|
|
152
|
+
onChange={onInputChange}
|
|
153
|
+
onBlur={onInputBlur}
|
|
154
|
+
prefix={<Input.Affix>#</Input.Affix>}
|
|
155
|
+
suffix={
|
|
156
|
+
<Input.Affix>
|
|
157
|
+
<Popover
|
|
158
|
+
{...popoverDefaults}
|
|
159
|
+
{...popoverProps}
|
|
160
|
+
shown={showPicker}
|
|
161
|
+
onClickOutside={() => setShowPicker(false)}
|
|
162
|
+
>
|
|
163
|
+
<Popover.Element>
|
|
164
|
+
{showAddColorButton ? (
|
|
165
|
+
<FillButton
|
|
166
|
+
onClick={togglePicker}
|
|
167
|
+
tooltipContent={addColorTooltip}
|
|
168
|
+
/>
|
|
169
|
+
) : (
|
|
170
|
+
<FillPreview fill={colorValue} onClick={togglePicker} />
|
|
171
|
+
)}
|
|
172
|
+
</Popover.Element>
|
|
173
|
+
<Popover.Content>
|
|
174
|
+
<ColorPicker
|
|
175
|
+
value={pickerHex as ColorPickerProps['value']}
|
|
176
|
+
onChange={
|
|
177
|
+
((c: ColorPickerProps['value']) =>
|
|
178
|
+
setPickerHex(
|
|
179
|
+
typeof c === 'string'
|
|
180
|
+
? c
|
|
181
|
+
: (
|
|
182
|
+
c as { hex?: () => string } | null | undefined
|
|
183
|
+
)?.hex?.(),
|
|
184
|
+
)) as ColorPickerProps['onChange']
|
|
185
|
+
}
|
|
186
|
+
onConfirm={onPickerConfirm}
|
|
187
|
+
onCancel={onPickerCancel}
|
|
188
|
+
showConverter
|
|
189
|
+
allowEmpty
|
|
190
|
+
/>
|
|
191
|
+
</Popover.Content>
|
|
192
|
+
</Popover>
|
|
193
|
+
</Input.Affix>
|
|
194
|
+
}
|
|
195
|
+
/>
|
|
196
|
+
);
|
|
197
|
+
},
|
|
198
|
+
);
|
|
199
|
+
|
|
200
|
+
CellColorInput.displayName = 'CellColorInput';
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
var _namespace_ = "cellcolorview2526093299";
|
|
9
|
+
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
|
+
|
|
11
|
+
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
12
|
+
export var style: import("@stylable/runtime").STFunction = _style_;
|
|
13
|
+
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
|
+
|
|
15
|
+
export var namespace = _namespace_;
|
|
16
|
+
export var classes = {"root":"cellcolorview2526093299__root","hashPrefix":"cellcolorview2526093299__hashPrefix"};
|
|
17
|
+
export var keyframes = {};
|
|
18
|
+
export var layers = {};
|
|
19
|
+
export var containers = {};
|
|
20
|
+
export var stVars = {};
|
|
21
|
+
export var vars = {"wsr-color-D40":"--wsr-color-D40"};
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Box, FillPreview, Text } from '@wix/design-system';
|
|
3
|
+
import { classes } from './cell-color-view.st.css.js';
|
|
4
|
+
import { HEX_RE } from './hex';
|
|
5
|
+
|
|
6
|
+
export interface CellColorViewProps {
|
|
7
|
+
value?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Cell-layer color view. Matches the visual layout of CellColorInput so the
|
|
12
|
+
* View↔Edit transition is seamless.
|
|
13
|
+
*
|
|
14
|
+
* "#" (placeholder color) hex digits (thin, uppercase) [swatch right]
|
|
15
|
+
*
|
|
16
|
+
* Empty or invalid values show only the `#` on the left and the empty-state
|
|
17
|
+
* FillPreview (diagonal-slash placeholder) on the right.
|
|
18
|
+
*/
|
|
19
|
+
export const CellColorView: React.FC<CellColorViewProps> = ({ value }) => {
|
|
20
|
+
const isValid = !!value && HEX_RE.test(value);
|
|
21
|
+
const hex = value ? value.replace(/^#/, '').toUpperCase() : '';
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<Box
|
|
25
|
+
width="100%"
|
|
26
|
+
verticalAlign="middle"
|
|
27
|
+
align="space-between"
|
|
28
|
+
gap="SP1"
|
|
29
|
+
dataHook="cell-color-view"
|
|
30
|
+
>
|
|
31
|
+
<Box gap="SP1" verticalAlign="middle">
|
|
32
|
+
<Box className={classes.hashPrefix} dataHook="cell-color-view-hash">
|
|
33
|
+
#
|
|
34
|
+
</Box>
|
|
35
|
+
{hex ? (
|
|
36
|
+
<Text size="small" weight="thin" dataHook="cell-color-view-text">
|
|
37
|
+
{hex}
|
|
38
|
+
</Text>
|
|
39
|
+
) : null}
|
|
40
|
+
</Box>
|
|
41
|
+
<Box width="24px" height="24px" flexShrink={0}>
|
|
42
|
+
<FillPreview
|
|
43
|
+
fill={isValid ? value : undefined}
|
|
44
|
+
aspectRatio={1}
|
|
45
|
+
dataHook="cell-color-view-fill-preview"
|
|
46
|
+
/>
|
|
47
|
+
</Box>
|
|
48
|
+
</Box>
|
|
49
|
+
);
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
CellColorView.displayName = 'CellColorView';
|
|
@@ -13,20 +13,10 @@ import {
|
|
|
13
13
|
} from '@wix/design-system';
|
|
14
14
|
import ColorLib, { rgb } from 'color';
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const omitHash = (value: string) => value.replace(/^#/, '');
|
|
19
|
-
|
|
20
|
-
const isValidHex = (value: string): boolean =>
|
|
21
|
-
/^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/.test(value);
|
|
16
|
+
import { useTranslations } from '../../hooks/use-translations';
|
|
17
|
+
import { normalizeHex, omitHash } from './hex';
|
|
22
18
|
|
|
23
|
-
|
|
24
|
-
const cleaned = value.startsWith('#') ? value : `#${value}`;
|
|
25
|
-
if (isValidHex(cleaned)) {
|
|
26
|
-
return cleaned.toUpperCase();
|
|
27
|
-
}
|
|
28
|
-
return undefined;
|
|
29
|
-
};
|
|
19
|
+
type ColorInstance = ReturnType<typeof rgb>;
|
|
30
20
|
|
|
31
21
|
const safeColorLib = (value: string): ColorInstance | undefined => {
|
|
32
22
|
try {
|
|
@@ -43,11 +33,13 @@ export interface ColorInputProps
|
|
|
43
33
|
}
|
|
44
34
|
|
|
45
35
|
export const ColorInput = forwardRef<InputImperativeActions, ColorInputProps>(
|
|
46
|
-
({ value: colorValue, onChange, onBlur, ...props }, ref) => {
|
|
36
|
+
({ value: colorValue, onChange, onFocus, onBlur, ...props }, ref) => {
|
|
37
|
+
const { t } = useTranslations();
|
|
47
38
|
const [inputValue, setInputValue] = useState(
|
|
48
39
|
colorValue ? omitHash(colorValue) : '',
|
|
49
40
|
);
|
|
50
41
|
const [showPicker, setShowPicker] = useState(false);
|
|
42
|
+
const [isFocused, setIsFocused] = useState(false);
|
|
51
43
|
const [pickerColor, setPickerColor] = useState<ColorInstance | undefined>(
|
|
52
44
|
colorValue ? safeColorLib(colorValue) : undefined,
|
|
53
45
|
);
|
|
@@ -66,6 +58,14 @@ export const ColorInput = forwardRef<InputImperativeActions, ColorInputProps>(
|
|
|
66
58
|
[onChange],
|
|
67
59
|
);
|
|
68
60
|
|
|
61
|
+
const onInputFocus = useCallback(
|
|
62
|
+
(e: React.FocusEvent<HTMLInputElement>) => {
|
|
63
|
+
setIsFocused(true);
|
|
64
|
+
onFocus?.(e);
|
|
65
|
+
},
|
|
66
|
+
[onFocus],
|
|
67
|
+
);
|
|
68
|
+
|
|
69
69
|
const onInputBlur = useCallback(
|
|
70
70
|
(e: React.FocusEvent<HTMLInputElement>) => {
|
|
71
71
|
const hex = normalizeHex(inputValue);
|
|
@@ -77,6 +77,7 @@ export const ColorInput = forwardRef<InputImperativeActions, ColorInputProps>(
|
|
|
77
77
|
} else {
|
|
78
78
|
setInputValue('');
|
|
79
79
|
}
|
|
80
|
+
setIsFocused(false);
|
|
80
81
|
onBlur?.(e);
|
|
81
82
|
},
|
|
82
83
|
[onChange, onBlur, inputValue, colorValue],
|
|
@@ -113,6 +114,7 @@ export const ColorInput = forwardRef<InputImperativeActions, ColorInputProps>(
|
|
|
113
114
|
ref={ref}
|
|
114
115
|
value={inputValue}
|
|
115
116
|
onChange={onInputChange}
|
|
117
|
+
onFocus={onInputFocus}
|
|
116
118
|
onBlur={onInputBlur}
|
|
117
119
|
prefix={<Input.Affix>#</Input.Affix>}
|
|
118
120
|
suffix={
|
|
@@ -129,10 +131,14 @@ export const ColorInput = forwardRef<InputImperativeActions, ColorInputProps>(
|
|
|
129
131
|
zIndex={5001}
|
|
130
132
|
>
|
|
131
133
|
<Popover.Element>
|
|
132
|
-
{colorValue ? (
|
|
133
|
-
<
|
|
134
|
+
{!colorValue && (isFocused || showPicker) ? (
|
|
135
|
+
<FillButton
|
|
136
|
+
onClick={onPreviewClick}
|
|
137
|
+
onMouseDown={(e) => e.preventDefault()}
|
|
138
|
+
tooltipContent={t('auto-patterns.fields.add_color_tooltip')}
|
|
139
|
+
/>
|
|
134
140
|
) : (
|
|
135
|
-
<
|
|
141
|
+
<FillPreview fill={colorValue} onClick={onPreviewClick} />
|
|
136
142
|
)}
|
|
137
143
|
</Popover.Element>
|
|
138
144
|
<Popover.Content>
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "colorview3463757835";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"colorview3463757835__root","view":"colorview3463757835__view","fillPreview":"colorview3463757835__fillPreview"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export const HEX_RE = /^#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/;
|
|
2
|
+
|
|
3
|
+
const HEX_OPTIONAL_HASH_RE = /^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/;
|
|
4
|
+
|
|
5
|
+
export const omitHash = (value: string): string => value.replace(/^#/, '');
|
|
6
|
+
|
|
7
|
+
export const isValidHex = (value: string): boolean =>
|
|
8
|
+
HEX_OPTIONAL_HASH_RE.test(value);
|
|
9
|
+
|
|
10
|
+
export const normalizeHex = (value: string): string | undefined => {
|
|
11
|
+
const cleaned = value.startsWith('#') ? value : `#${value}`;
|
|
12
|
+
return HEX_RE.test(cleaned) ? cleaned.toUpperCase() : undefined;
|
|
13
|
+
};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "deletedialog908586734";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"deletedialog908586734__root","layout":"deletedialog908586734__layout"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "formdocumentfield3681439606";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"formdocumentfield3681439606__root","viewWrapper":"formdocumentfield3681439606__viewWrapper","textWidth":"formdocumentfield3681439606__textWidth","documentLoader":"formdocumentfield3681439606__documentLoader","addDocument":"formdocumentfield3681439606__addDocument","addItemWrapper":"formdocumentfield3681439606__addItemWrapper"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "exclamation2363706594";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"exclamation2363706594__root","exclamation":"exclamation2363706594__exclamation","actions":"exclamation2363706594__actions","action":"exclamation2363706594__action"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "highlightedtext3971272452";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,8 +13,8 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
17
|
-
export var keyframes = {"highlighted":"
|
|
16
|
+
export var classes = {"root":"highlightedtext3971272452__root","substring":"highlightedtext3971272452__substring"};
|
|
17
|
+
export var keyframes = {"highlighted":"highlightedtext3971272452__highlighted","highlighted-match":"highlightedtext3971272452__highlighted-match"};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
20
20
|
export var stVars = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "thumbnailreplaceoverlay2487678945";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"thumbnailreplaceoverlay2487678945__root","icon":"thumbnailreplaceoverlay2487678945__icon"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "cellmediaeditshell3505962653";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"cellmediaeditshell3505962653__root"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "pasteurlbutton1818112565";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"pasteurlbutton1818112565__root","iconButtonTooltip":"pasteurlbutton1818112565__iconButtonTooltip","iconButton":"pasteurlbutton1818112565__iconButton"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "formmediagalleryfield2963289117";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"formmediagalleryfield2963289117__root","container":"formmediagalleryfield2963289117__container","viewBox":"formmediagalleryfield2963289117__viewBox","addItemWrapper":"formmediagalleryfield2963289117__addItemWrapper","addItem":"formmediagalleryfield2963289117__addItem","overlay":"formmediagalleryfield2963289117__overlay","image":"formmediagalleryfield2963289117__image","previewImage":"formmediagalleryfield2963289117__previewImage","previewVideo":"formmediagalleryfield2963289117__previewVideo"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "mediaimage805645738";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,12 +13,12 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"mediaimage805645738__root"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
20
20
|
export var stVars = {};
|
|
21
|
-
export var vars = {"wds-color-red-200":"--wds-color-red-200","wsr-color-R20":"--wsr-color-R20","wds-color-black-550":"--wds-color-black-550","wsr-color-D55":"--wsr-color-D55","from":"--
|
|
21
|
+
export var vars = {"wds-color-red-200":"--wds-color-red-200","wsr-color-R20":"--wsr-color-R20","wds-color-black-550":"--wds-color-black-550","wsr-color-D55":"--wsr-color-D55","from":"--mediaimage805645738-from","to":"--mediaimage805645738-to"};
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js"
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "overlay4045146886";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"overlay4045146886__root","iconOverlay":"overlay4045146886__iconOverlay"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../stylable-esm-runtime.js";
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "medialoader2381278212";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"medialoader2381278212__root","loader":"medialoader2381278212__loader"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|
|
@@ -5,7 +5,7 @@ import { classesRuntime, statesRuntime } from "../../../stylable-esm-runtime.js"
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var _namespace_ = "
|
|
8
|
+
var _namespace_ = "mediatag1080651885";
|
|
9
9
|
var _style_ = classesRuntime.bind(null, _namespace_);
|
|
10
10
|
|
|
11
11
|
export var cssStates = statesRuntime.bind(null, _namespace_);
|
|
@@ -13,7 +13,7 @@ export var style: import("@stylable/runtime").STFunction = _style_;
|
|
|
13
13
|
export var st: import("@stylable/runtime").STFunction = _style_;
|
|
14
14
|
|
|
15
15
|
export var namespace = _namespace_;
|
|
16
|
-
export var classes = {"root":"
|
|
16
|
+
export var classes = {"root":"mediatag1080651885__root"};
|
|
17
17
|
export var keyframes = {};
|
|
18
18
|
export var layers = {};
|
|
19
19
|
export var containers = {};
|