@wix/editor-react-components 1.2513.0 → 1.2515.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/site/components/AudioPlayer/manifest.js +0 -1
- package/dist/site/components/Image3/manifest.js +1 -5
- package/dist/site/components/ProgressBar/manifest.js +0 -1
- package/dist/site/components/Repeater/css.css +30 -1
- package/dist/site/components/SlotsPlaceholder/manifest.js +0 -1
- package/dist/site/components/Tabs/manifest.js +0 -14
- package/dist/site/components/TransparentVideo/manifest.js +0 -1
- package/dist/site/components/VideoUpload/manifest.js +0 -1
- package/dist/site/components/chunks/constants19.js +0 -4
- package/package.json +3 -3
|
@@ -127,12 +127,8 @@ const manifest = {
|
|
|
127
127
|
},
|
|
128
128
|
a11y: {
|
|
129
129
|
dataType: DATA.DATA_TYPE.a11y,
|
|
130
|
-
displayName: "A11y",
|
|
131
130
|
[DATA.DATA_TYPE.a11y]: {
|
|
132
|
-
attributes: [
|
|
133
|
-
DATA.A11Y_ATTRIBUTES.tabIndex,
|
|
134
|
-
DATA.A11Y_ATTRIBUTES.role
|
|
135
|
-
]
|
|
131
|
+
attributes: [DATA.A11Y_ATTRIBUTES.tabIndex]
|
|
136
132
|
}
|
|
137
133
|
},
|
|
138
134
|
priority: {
|
|
@@ -1,9 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* --background-color-opacity reaches us in two serializations, depending on
|
|
3
|
+
* which control the user touched:
|
|
4
|
+
* - "50%" from the Design panel (editor-elements-panel-service OpacityControl)
|
|
5
|
+
* - "0.5" from the Action Bar (responsive-editor-packages editor-package-opacity)
|
|
6
|
+
* Both are valid for the `opacity` property, so the disagreement went unnoticed
|
|
7
|
+
* until the Repeater fed the value into color-mix(), whose percentage argument
|
|
8
|
+
* accepts only the "%" form -- a unitless number invalidates the whole
|
|
9
|
+
* declaration and the background silently falls back to transparent.
|
|
10
|
+
*
|
|
11
|
+
* Each registered property below rejects the unit it does not declare and falls
|
|
12
|
+
* back to its own identity value, so exactly one of the pair carries the real
|
|
13
|
+
* value and their product is the correct percentage either way.
|
|
14
|
+
*/
|
|
15
|
+
@property --repeater-background-color-opacity-num {
|
|
16
|
+
syntax: "<number>";
|
|
17
|
+
inherits: false;
|
|
18
|
+
initial-value: 1;
|
|
19
|
+
}
|
|
20
|
+
@property --repeater-background-color-opacity-pct {
|
|
21
|
+
syntax: "<percentage>";
|
|
22
|
+
inherits: false;
|
|
23
|
+
initial-value: 100%;
|
|
24
|
+
}
|
|
1
25
|
.repeater__aNz-6 {
|
|
2
26
|
box-sizing: border-box;
|
|
3
27
|
width: 100%;
|
|
4
28
|
overflow: var(--overflow-content);
|
|
5
29
|
scroll-snap-type: var(--scroll-snap-type, none);
|
|
6
|
-
background-color
|
|
30
|
+
--repeater-background-color-opacity-num: var(--background-color-opacity, 1);
|
|
31
|
+
--repeater-background-color-opacity-pct: var(
|
|
32
|
+
--background-color-opacity,
|
|
33
|
+
100%
|
|
34
|
+
);
|
|
35
|
+
background-color: color-mix(in srgb, var(--background-color, transparent) calc(var(--repeater-background-color-opacity-num) * var(--repeater-background-color-opacity-pct)), transparent);
|
|
7
36
|
}
|
|
8
37
|
|
|
9
38
|
.itemsContainer__-0Bw2 {
|
|
@@ -480,20 +480,6 @@ const manifest = {
|
|
|
480
480
|
cssPropertyType: CSS_PROPERTIES.CSS_PROPERTY_TYPE.textAlign
|
|
481
481
|
}
|
|
482
482
|
},
|
|
483
|
-
states: {
|
|
484
|
-
hover: withSpec({
|
|
485
|
-
spec: IS_SUPPORT_DESIGN_STATE_SPEC,
|
|
486
|
-
displayName: DesignStates.root.hover.displayName,
|
|
487
|
-
className: DesignStates.root.hover.className,
|
|
488
|
-
pseudoClass: NativeStateType.hover
|
|
489
|
-
}),
|
|
490
|
-
disabled: withSpec({
|
|
491
|
-
spec: IS_SUPPORT_DESIGN_STATE_SPEC,
|
|
492
|
-
displayName: DesignStates.root.disabled.displayName,
|
|
493
|
-
className: DesignStates.root.disabled.className,
|
|
494
|
-
pseudoClass: NativeStateType.disabled
|
|
495
|
-
})
|
|
496
|
-
},
|
|
497
483
|
elements: {
|
|
498
484
|
menuItem: menuItemConfig,
|
|
499
485
|
tabContent: {
|
|
@@ -12,10 +12,6 @@ const OVERFLOW_BEHAVIOR = {
|
|
|
12
12
|
WRAP: "wrap"
|
|
13
13
|
};
|
|
14
14
|
const DesignStates = {
|
|
15
|
-
root: {
|
|
16
|
-
hover: { displayName: "Hover", className: "tabs--hover" },
|
|
17
|
-
disabled: { displayName: "Disabled", className: "tabs--disabled" }
|
|
18
|
-
},
|
|
19
15
|
menuItem: {
|
|
20
16
|
hover: { displayName: "Hover", className: "tabs__item--hover" }
|
|
21
17
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/editor-react-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2515.0",
|
|
4
4
|
"description": "React components for the Wix Editor",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@wix/sdk": "^1.21.15",
|
|
83
83
|
"@wix/services-manager-react": "^0.1.27",
|
|
84
84
|
"@wix/site-service-rendering-context": "^1.0.1",
|
|
85
|
-
"@wix/site-ui": "1.
|
|
85
|
+
"@wix/site-ui": "1.228.0",
|
|
86
86
|
"@wix/video": "^1.106.0",
|
|
87
87
|
"@wix/viewer-service-consent-policy": "^1.0.101",
|
|
88
88
|
"@wix/web-bi-logger": "^2.1.29",
|
|
@@ -197,5 +197,5 @@
|
|
|
197
197
|
"registry": "https://registry.npmjs.org/",
|
|
198
198
|
"access": "public"
|
|
199
199
|
},
|
|
200
|
-
"falconPackageHash": "
|
|
200
|
+
"falconPackageHash": "154f5226086e9159b97a83e8062c4f974ae8463455844bacfa4002ad"
|
|
201
201
|
}
|