@wix/editor-react-components 1.2698.0 → 1.2699.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.
@@ -2287,6 +2287,7 @@ const HamburgerMenu = ({
2287
2287
  }
2288
2288
  }
2289
2289
  }) => {
2290
+ var _a, _b;
2290
2291
  const { translations, navAriaLabel } = useMenuContext();
2291
2292
  const environment = useService(EnvironmentDefinition);
2292
2293
  const reducedMotion = (environment == null ? void 0 : environment.reducedMotion) ?? false;
@@ -2361,8 +2362,8 @@ const HamburgerMenu = ({
2361
2362
  label: "",
2362
2363
  labelContent: "",
2363
2364
  a11y: {
2364
- ariaLabel: translations.hamburgerOpenButtonAriaLabel,
2365
- ...hamburgerOpenButtonProps == null ? void 0 : hamburgerOpenButtonProps.a11y
2365
+ ...hamburgerOpenButtonProps == null ? void 0 : hamburgerOpenButtonProps.a11y,
2366
+ ariaLabel: ((_a = hamburgerOpenButtonProps == null ? void 0 : hamburgerOpenButtonProps.a11y) == null ? void 0 : _a.ariaLabel) || translations.hamburgerOpenButtonAriaLabel
2366
2367
  },
2367
2368
  className: clsx(
2368
2369
  selectors.hamburgerMenuOpenButton,
@@ -2409,8 +2410,8 @@ const HamburgerMenu = ({
2409
2410
  label: "",
2410
2411
  labelContent: "",
2411
2412
  a11y: {
2412
- ariaLabel: translations.hamburgerCloseButtonAriaLabel,
2413
- ...hamburgerCloseButtonProps == null ? void 0 : hamburgerCloseButtonProps.a11y
2413
+ ...hamburgerCloseButtonProps == null ? void 0 : hamburgerCloseButtonProps.a11y,
2414
+ ariaLabel: ((_b = hamburgerCloseButtonProps == null ? void 0 : hamburgerCloseButtonProps.a11y) == null ? void 0 : _b.ariaLabel) || translations.hamburgerCloseButtonAriaLabel
2414
2415
  },
2415
2416
  className: clsx(
2416
2417
  selectors.hamburgerMenuCloseButton,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2698.0",
3
+ "version": "1.2699.0",
4
4
  "description": "React components for the Wix Editor",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -200,5 +200,5 @@
200
200
  "registry": "https://registry.npmjs.org/",
201
201
  "access": "public"
202
202
  },
203
- "falconPackageHash": "5a7df72137b4dad9ca0f7554c49b0dd35a54d11fd2dc5b41dd53d74c"
203
+ "falconPackageHash": "322cf3e03a80b338ea6a0ecfe6e5edb84ff89ccb9ccde316a38eb2ce"
204
204
  }