@wix/editor-react-components 1.2792.0 → 1.2794.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.
@@ -117,30 +117,6 @@
117
117
  transform: rotate(var(--disabled-icon-rotation, var(--icon-rotation)));
118
118
  }
119
119
 
120
- :is(.root__IB9QF, #_-1-__0K-05):where(:disabled) {
121
- background: #e5e7eb;
122
- }
123
-
124
- .root__IB9QF:where(:disabled) .label__EtLji:is(.label__EtLji, #_-1-__0K-05) {
125
- color: #6b7280;
126
- }
127
-
128
- .root__IB9QF:where(:disabled) .icon__ZzsS5.icon__ZzsS5:is(.icon__ZzsS5, #_-1-__0K-05) {
129
- --fill: #6b7280;
130
- }
131
-
132
- :is(.root__IB9QF, #_-1-__0K-05):where(.editorPreview__aTsVL):disabled {
133
- background: #e5e7eb;
134
- }
135
-
136
- .root__IB9QF:where(.editorPreview__aTsVL):disabled .label__EtLji:is(.label__EtLji, #_-1-__0K-05) {
137
- color: #6b7280;
138
- }
139
-
140
- .root__IB9QF:where(.editorPreview__aTsVL):disabled .icon__ZzsS5.icon__ZzsS5:is(.icon__ZzsS5, #_-1-__0K-05) {
141
- --fill: #6b7280;
142
- }
143
-
144
120
  .button__i8gkO {
145
121
  min-width: min-content !important;
146
122
  }
@@ -83,7 +83,7 @@ const manifest = {
83
83
  disablePositioning: false
84
84
  },
85
85
  cssProperties: {
86
- background: { statesDefaultValues: { disabled: "#E5E7EB" } },
86
+ background: {},
87
87
  boxShadow: {},
88
88
  borderInlineStart: {},
89
89
  borderInlineEnd: {},
@@ -255,7 +255,7 @@ const manifest = {
255
255
  display: displayConfig
256
256
  },
257
257
  font: { displayName: DisplayNames.label.cssProperties.font },
258
- color: { statesDefaultValues: { disabled: "#6B7280" } },
258
+ color: {},
259
259
  letterSpacing: {},
260
260
  lineHeight: {},
261
261
  textDecorationLine: {
@@ -295,9 +295,6 @@ const manifest = {
295
295
  behaviors: {
296
296
  selectable: false,
297
297
  removable: true
298
- },
299
- cssCustomProperties: {
300
- fill: { statesDefaultValues: { disabled: "#6B7280" } }
301
298
  }
302
299
  }
303
300
  }
@@ -243,30 +243,6 @@
243
243
  transform: rotate(var(--disabled-icon-rotation, var(--icon-rotation)));
244
244
  }
245
245
 
246
- :is(.root__IB9QF, #_-1-__0K-05):where(:disabled) {
247
- background: #e5e7eb;
248
- }
249
-
250
- .root__IB9QF:where(:disabled) .label__EtLji:is(.label__EtLji, #_-1-__0K-05) {
251
- color: #6b7280;
252
- }
253
-
254
- .root__IB9QF:where(:disabled) .icon__ZzsS5.icon__ZzsS5:is(.icon__ZzsS5, #_-1-__0K-05) {
255
- --fill: #6b7280;
256
- }
257
-
258
- :is(.root__IB9QF, #_-1-__0K-05):where(.editorPreview__aTsVL):disabled {
259
- background: #e5e7eb;
260
- }
261
-
262
- .root__IB9QF:where(.editorPreview__aTsVL):disabled .label__EtLji:is(.label__EtLji, #_-1-__0K-05) {
263
- color: #6b7280;
264
- }
265
-
266
- .root__IB9QF:where(.editorPreview__aTsVL):disabled .icon__ZzsS5.icon__ZzsS5:is(.icon__ZzsS5, #_-1-__0K-05) {
267
- --fill: #6b7280;
268
- }
269
-
270
246
  .button__i8gkO {
271
247
  min-width: min-content !important;
272
248
  }
@@ -157,30 +157,6 @@
157
157
  transform: rotate(var(--disabled-icon-rotation, var(--icon-rotation)));
158
158
  }
159
159
 
160
- :is(.root__IB9QF, #_-1-__0K-05):where(:disabled) {
161
- background: #e5e7eb;
162
- }
163
-
164
- .root__IB9QF:where(:disabled) .label__EtLji:is(.label__EtLji, #_-1-__0K-05) {
165
- color: #6b7280;
166
- }
167
-
168
- .root__IB9QF:where(:disabled) .icon__ZzsS5.icon__ZzsS5:is(.icon__ZzsS5, #_-1-__0K-05) {
169
- --fill: #6b7280;
170
- }
171
-
172
- :is(.root__IB9QF, #_-1-__0K-05):where(.editorPreview__aTsVL):disabled {
173
- background: #e5e7eb;
174
- }
175
-
176
- .root__IB9QF:where(.editorPreview__aTsVL):disabled .label__EtLji:is(.label__EtLji, #_-1-__0K-05) {
177
- color: #6b7280;
178
- }
179
-
180
- .root__IB9QF:where(.editorPreview__aTsVL):disabled .icon__ZzsS5.icon__ZzsS5:is(.icon__ZzsS5, #_-1-__0K-05) {
181
- --fill: #6b7280;
182
- }
183
-
184
160
  .button__i8gkO {
185
161
  min-width: min-content !important;
186
162
  }
@@ -1017,30 +1017,6 @@
1017
1017
  transform: rotate(var(--disabled-icon-rotation, var(--icon-rotation)));
1018
1018
  }
1019
1019
 
1020
- :is(.root__IB9QF, #_-1-__0K-05):where(:disabled) {
1021
- background: #e5e7eb;
1022
- }
1023
-
1024
- .root__IB9QF:where(:disabled) .label__EtLji:is(.label__EtLji, #_-1-__0K-05) {
1025
- color: #6b7280;
1026
- }
1027
-
1028
- .root__IB9QF:where(:disabled) .icon__ZzsS5.icon__ZzsS5:is(.icon__ZzsS5, #_-1-__0K-05) {
1029
- --fill: #6b7280;
1030
- }
1031
-
1032
- :is(.root__IB9QF, #_-1-__0K-05):where(.editorPreview__aTsVL):disabled {
1033
- background: #e5e7eb;
1034
- }
1035
-
1036
- .root__IB9QF:where(.editorPreview__aTsVL):disabled .label__EtLji:is(.label__EtLji, #_-1-__0K-05) {
1037
- color: #6b7280;
1038
- }
1039
-
1040
- .root__IB9QF:where(.editorPreview__aTsVL):disabled .icon__ZzsS5.icon__ZzsS5:is(.icon__ZzsS5, #_-1-__0K-05) {
1041
- --fill: #6b7280;
1042
- }
1043
-
1044
1020
  .button__i8gkO {
1045
1021
  min-width: min-content !important;
1046
1022
  }
@@ -11,7 +11,6 @@ function SiteLogo(props) {
11
11
  const internalSvgId = React__default.useMemo(() => getUniqueId("svg", "-"), []);
12
12
  const { mediaType, svgId, image, link, a11y, className, id, ...otherProps } = props;
13
13
  const elementId = id ?? internalSvgId;
14
- const alt = !(a11y == null ? void 0 : a11y.ariaHidden) ? (a11y == null ? void 0 : a11y.ariaLabel) || "" : "";
15
14
  if (mediaType === "image") {
16
15
  return /* @__PURE__ */ jsx(
17
16
  Image3,
@@ -20,11 +19,11 @@ function SiteLogo(props) {
20
19
  className: clsx(semanticClassNames.root, className),
21
20
  link,
22
21
  displayMode: "fit",
23
- a11y: (a11y == null ? void 0 : a11y.ariaHidden) ? { role: "presentation" } : void 0,
24
- image: { ...image, alt }
22
+ image: image && { ...image, alt: image.alt || void 0 }
25
23
  }
26
24
  );
27
25
  }
26
+ const alt = !(a11y == null ? void 0 : a11y.ariaHidden) ? (a11y == null ? void 0 : a11y.ariaLabel) || "" : "";
28
27
  const svg = svgId ?? {
29
28
  uri: "empty.svg",
30
29
  viewBox: "0 0 200 200",
@@ -621,30 +621,6 @@
621
621
  transform: rotate(var(--disabled-icon-rotation, var(--icon-rotation)));
622
622
  }
623
623
 
624
- :is(.root__IB9QF, #_-1-__0K-05):where(:disabled) {
625
- background: #e5e7eb;
626
- }
627
-
628
- .root__IB9QF:where(:disabled) .label__EtLji:is(.label__EtLji, #_-1-__0K-05) {
629
- color: #6b7280;
630
- }
631
-
632
- .root__IB9QF:where(:disabled) .icon__ZzsS5.icon__ZzsS5:is(.icon__ZzsS5, #_-1-__0K-05) {
633
- --fill: #6b7280;
634
- }
635
-
636
- :is(.root__IB9QF, #_-1-__0K-05):where(.editorPreview__aTsVL):disabled {
637
- background: #e5e7eb;
638
- }
639
-
640
- .root__IB9QF:where(.editorPreview__aTsVL):disabled .label__EtLji:is(.label__EtLji, #_-1-__0K-05) {
641
- color: #6b7280;
642
- }
643
-
644
- .root__IB9QF:where(.editorPreview__aTsVL):disabled .icon__ZzsS5.icon__ZzsS5:is(.icon__ZzsS5, #_-1-__0K-05) {
645
- --fill: #6b7280;
646
- }
647
-
648
624
  .button__i8gkO {
649
625
  min-width: min-content !important;
650
626
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2792.0",
3
+ "version": "1.2794.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -222,5 +222,5 @@
222
222
  "registry": "https://registry.npmjs.org/",
223
223
  "access": "public"
224
224
  },
225
- "falconPackageHash": "74e35d9018d192bf52e4e7b56647ec8828cdcee1d5a1f2982833b386"
225
+ "falconPackageHash": "d215167ee85020ebe6340bb4e152b5646f838e3270d25143bf807fa7"
226
226
  }