@wix/editor-react-components 1.2514.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/TransparentVideo/manifest.js +0 -1
- package/dist/site/components/VideoUpload/manifest.js +0 -1
- package/package.json +2 -2
|
@@ -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 {
|
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",
|
|
@@ -197,5 +197,5 @@
|
|
|
197
197
|
"registry": "https://registry.npmjs.org/",
|
|
198
198
|
"access": "public"
|
|
199
199
|
},
|
|
200
|
-
"falconPackageHash": "
|
|
200
|
+
"falconPackageHash": "154f5226086e9159b97a83e8062c4f974ae8463455844bacfa4002ad"
|
|
201
201
|
}
|