@wix/editor-react-components 1.2855.0 → 1.2857.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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { a as ACTIONS, E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, I as INTERACTIONS, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { D as DesignStates, b as DisplayNames, c as DEFAULT_ICON_POSITION, C as COMPONENT_TYPE } from "../chunks/constants21.js";
|
|
3
3
|
import { b as manifestFocusable, d as manifestMouseHover, e as manifestClickable } from "../chunks/manifestSdkMixins.js";
|
|
4
|
+
import { B as BACKDROP_FILTER_SPEC } from "../chunks/specs.js";
|
|
4
5
|
const displayConfig = {
|
|
5
6
|
displayValues: ["none", "block"]
|
|
6
7
|
};
|
|
@@ -81,6 +82,23 @@ const manifest = {
|
|
|
81
82
|
disablePositioning: false
|
|
82
83
|
},
|
|
83
84
|
cssProperties: {
|
|
85
|
+
backdropFilter: {
|
|
86
|
+
spec: BACKDROP_FILTER_SPEC,
|
|
87
|
+
backdropFilter: {
|
|
88
|
+
filterFunctions: [
|
|
89
|
+
CSS_PROPERTIES.FILTER_FUNCTION.blur,
|
|
90
|
+
CSS_PROPERTIES.FILTER_FUNCTION.brightness,
|
|
91
|
+
CSS_PROPERTIES.FILTER_FUNCTION.contrast,
|
|
92
|
+
CSS_PROPERTIES.FILTER_FUNCTION.dropShadow,
|
|
93
|
+
CSS_PROPERTIES.FILTER_FUNCTION.grayscale,
|
|
94
|
+
CSS_PROPERTIES.FILTER_FUNCTION.hueRotate,
|
|
95
|
+
CSS_PROPERTIES.FILTER_FUNCTION.invert,
|
|
96
|
+
CSS_PROPERTIES.FILTER_FUNCTION.opacity,
|
|
97
|
+
CSS_PROPERTIES.FILTER_FUNCTION.sepia,
|
|
98
|
+
CSS_PROPERTIES.FILTER_FUNCTION.saturate
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
},
|
|
84
102
|
background: {},
|
|
85
103
|
boxShadow: {},
|
|
86
104
|
borderInlineStart: {},
|
|
@@ -11,6 +11,7 @@ import { C as ConfigurationDefinition } from "../chunks/index15.js";
|
|
|
11
11
|
import { d as defineService } from "../chunks/index11.js";
|
|
12
12
|
import { T as TranslationsDefinition } from "../chunks/index4.js";
|
|
13
13
|
import { A as ALLOWED_PROTOCOLS, C as COMPONENT_TYPE, H as HTML_COMPONENT_TITLE_KEY, a as ARIA_LABEL_NAMESPACE, L as LEGACY_HTML_COMPONENT_TITLE_KEY, b as HTML_COMPONENT_TITLE_DEFAULT, D as DEFAULT_CONSENT_POLICY, S as SANDBOX, c as ConsentTranslations } from "../chunks/constants35.js";
|
|
14
|
+
import { C as CLASS_NAME_ON_COMPONENT_ROOT_EXPERIMENT, M as MOVE_PREVIEW_IDENTITY_CLASSES_TO_ROOT_EXPERIMENT } from "../chunks/specs.js";
|
|
14
15
|
const isBrowser = () => typeof window !== "undefined";
|
|
15
16
|
function useIFrame({
|
|
16
17
|
reducer = () => ({}),
|
|
@@ -173,8 +174,6 @@ const setProtocol = (url, staticHTMLComponentUrl) => {
|
|
|
173
174
|
const link = url.split("//")[1];
|
|
174
175
|
return alreadySet ? url : `${protocol}//${link}`;
|
|
175
176
|
};
|
|
176
|
-
const CLASS_NAME_ON_COMPONENT_ROOT_EXPERIMENT = "classNameOnComponentRoot";
|
|
177
|
-
const MOVE_PREVIEW_IDENTITY_CLASSES_TO_ROOT_EXPERIMENT = "movePreviewIdentityClassesToRoot";
|
|
178
177
|
const useHTMLComponentProps = ({
|
|
179
178
|
props,
|
|
180
179
|
isPreview,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { E as ELEMENTS, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, N as NativeStateType, a as ACTIONS, D as DATA, L as LAYOUT, I as INTERACTIONS, A as Archetype } from "../chunks/chunk-LDITHLYN.js";
|
|
2
2
|
import { g as getTranslationResources } from "../chunks/translationResources.js";
|
|
3
3
|
import { c as DesignStates, f as DisplayNames, s as selectors, g as DropdownAnchorPositions, h as DropdownAppliedStyleProperties, i as elementKeys, j as customActionKeys, k as MENU_ANIMATED_ICON_SPEC, m as states, p as presets, n as menuBuiltInActions, C as COMPONENT_TYPE } from "../chunks/constants27.js";
|
|
4
|
+
import { B as BACKDROP_FILTER_SPEC } from "../chunks/specs.js";
|
|
4
5
|
import { d as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
|
|
5
6
|
const dropdownItemConfig = {
|
|
6
7
|
elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
|
|
@@ -689,6 +690,23 @@ const navbarConfig = {
|
|
|
689
690
|
selectable: false
|
|
690
691
|
},
|
|
691
692
|
cssProperties: {
|
|
693
|
+
backdropFilter: {
|
|
694
|
+
spec: BACKDROP_FILTER_SPEC,
|
|
695
|
+
backdropFilter: {
|
|
696
|
+
filterFunctions: [
|
|
697
|
+
CSS_PROPERTIES.FILTER_FUNCTION.blur,
|
|
698
|
+
CSS_PROPERTIES.FILTER_FUNCTION.brightness,
|
|
699
|
+
CSS_PROPERTIES.FILTER_FUNCTION.contrast,
|
|
700
|
+
CSS_PROPERTIES.FILTER_FUNCTION.dropShadow,
|
|
701
|
+
CSS_PROPERTIES.FILTER_FUNCTION.grayscale,
|
|
702
|
+
CSS_PROPERTIES.FILTER_FUNCTION.hueRotate,
|
|
703
|
+
CSS_PROPERTIES.FILTER_FUNCTION.invert,
|
|
704
|
+
CSS_PROPERTIES.FILTER_FUNCTION.opacity,
|
|
705
|
+
CSS_PROPERTIES.FILTER_FUNCTION.sepia,
|
|
706
|
+
CSS_PROPERTIES.FILTER_FUNCTION.saturate
|
|
707
|
+
]
|
|
708
|
+
}
|
|
709
|
+
},
|
|
692
710
|
background: {},
|
|
693
711
|
boxShadow: {},
|
|
694
712
|
borderTop: {},
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const CLASS_NAME_ON_COMPONENT_ROOT_EXPERIMENT = "classNameOnComponentRoot";
|
|
2
|
+
const MOVE_PREVIEW_IDENTITY_CLASSES_TO_ROOT_EXPERIMENT = "movePreviewIdentityClassesToRoot";
|
|
3
|
+
const BACKDROP_FILTER_SPEC = "sp.erc.ManifestBackdropFilter";
|
|
4
|
+
export {
|
|
5
|
+
BACKDROP_FILTER_SPEC as B,
|
|
6
|
+
CLASS_NAME_ON_COMPONENT_ROOT_EXPERIMENT as C,
|
|
7
|
+
MOVE_PREVIEW_IDENTITY_CLASSES_TO_ROOT_EXPERIMENT as M
|
|
8
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2857.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -228,5 +228,5 @@
|
|
|
228
228
|
"registry": "https://registry.npmjs.org/",
|
|
229
229
|
"access": "public"
|
|
230
230
|
},
|
|
231
|
-
"falconPackageHash": "
|
|
231
|
+
"falconPackageHash": "86c6eb1db65b69ff2fb01291d480cc5c046bed869bd060bf3163cc17"
|
|
232
232
|
}
|