@wix/editor-react-components 1.2514.0 → 1.2516.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.
@@ -226,7 +226,6 @@ const manifest = {
226
226
  dataType: DATA.DATA_TYPE.a11y,
227
227
  [DATA.DATA_TYPE.a11y]: {
228
228
  attributes: [
229
- DATA.A11Y_ATTRIBUTES.role,
230
229
  DATA.A11Y_ATTRIBUTES.tabIndex,
231
230
  DATA.A11Y_ATTRIBUTES.ariaLabel,
232
231
  DATA.A11Y_ATTRIBUTES.ariaLabelledby,
@@ -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: {
@@ -53,7 +53,6 @@ const manifest = {
53
53
  dataType: DATA.DATA_TYPE.a11y,
54
54
  [DATA.DATA_TYPE.a11y]: {
55
55
  attributes: [
56
- DATA.A11Y_ATTRIBUTES.role,
57
56
  DATA.A11Y_ATTRIBUTES.tabIndex,
58
57
  DATA.A11Y_ATTRIBUTES.ariaLabel,
59
58
  DATA.A11Y_ATTRIBUTES.ariaLabelledby,
@@ -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: color-mix(in srgb, var(--background-color, transparent) var(--background-color-opacity, 100%), transparent);
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 {
@@ -35,7 +35,6 @@ const manifest = {
35
35
  dataType: DATA.DATA_TYPE.a11y,
36
36
  [DATA.DATA_TYPE.a11y]: {
37
37
  attributes: [
38
- DATA.A11Y_ATTRIBUTES.role,
39
38
  DATA.A11Y_ATTRIBUTES.tabIndex,
40
39
  DATA.A11Y_ATTRIBUTES.ariaLabel,
41
40
  DATA.A11Y_ATTRIBUTES.ariaLive,
@@ -155,7 +155,6 @@ const manifest = {
155
155
  dataType: DATA.DATA_TYPE.a11y,
156
156
  [DATA.DATA_TYPE.a11y]: {
157
157
  attributes: [
158
- DATA.A11Y_ATTRIBUTES.role,
159
158
  DATA.A11Y_ATTRIBUTES.tabIndex,
160
159
  DATA.A11Y_ATTRIBUTES.ariaLabel,
161
160
  DATA.A11Y_ATTRIBUTES.ariaLive,
@@ -152,7 +152,6 @@ const manifest = {
152
152
  dataType: DATA.DATA_TYPE.a11y,
153
153
  [DATA.DATA_TYPE.a11y]: {
154
154
  attributes: [
155
- DATA.A11Y_ATTRIBUTES.role,
156
155
  DATA.A11Y_ATTRIBUTES.tabIndex,
157
156
  DATA.A11Y_ATTRIBUTES.ariaLabel,
158
157
  DATA.A11Y_ATTRIBUTES.ariaLive,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2514.0",
3
+ "version": "1.2516.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.228.0",
85
+ "@wix/site-ui": "1.229.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": "88be298ae982a6b28a8ba5eee91252ca0995dfc05a3c82db7a5094e4"
200
+ "falconPackageHash": "154f5226086e9159b97a83e8062c4f974ae8463455844bacfa4002ad"
201
201
  }