@wix/editor-react-components 1.2698.0 → 1.2700.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.
@@ -3,7 +3,7 @@ export declare const semanticSelectors: {
3
3
  readonly root: "lottie";
4
4
  readonly playButton: "playButton";
5
5
  };
6
- export declare const ARIA_LABEL_NAMESPACE = "lottie";
6
+ export declare const ARIA_LABEL_NAMESPACE = "ariaLabels";
7
7
  export declare const TranslationKeys: {
8
8
  readonly playButton: "lottie_aria_label_play";
9
9
  readonly pauseButton: "lottie_aria_label_pause";
@@ -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,
@@ -179,7 +179,7 @@ export declare const navigationButtonsArrangementFields: readonly ["navigation-b
179
179
  export declare const navigationButtonsAlignmentFields: readonly ["navigation-buttons-alignment"];
180
180
  export declare const slideIndicatorsPositionFields: readonly ["slide-indicators-position-horizontal", "slide-indicators-position-vertical"];
181
181
  export declare const iconPlacementFields: readonly ["icon-placement-horizontal", "icon-placement-vertical"];
182
- export declare const ARIA_LABEL_NAMESPACE = "slideshow";
182
+ export declare const ARIA_LABEL_NAMESPACE = "ariaLabels";
183
183
  export declare const TranslationKeys: {
184
184
  readonly pauseButton: "slideshow_aria_label_pause";
185
185
  readonly playButton: "slideshow_aria_label_play";
@@ -157,7 +157,7 @@ const slideshowCssCustomPropertiesDefaults = {
157
157
  "controls-padding": "0px",
158
158
  "pause-button-position": "bottom-end"
159
159
  };
160
- const ARIA_LABEL_NAMESPACE = "slideshow";
160
+ const ARIA_LABEL_NAMESPACE = "ariaLabels";
161
161
  const TranslationKeys = {
162
162
  pauseButton: "slideshow_aria_label_pause",
163
163
  playButton: "slideshow_aria_label_play"
@@ -2,7 +2,7 @@ const semanticSelectors = {
2
2
  root: "lottie",
3
3
  playButton: "playButton"
4
4
  };
5
- const ARIA_LABEL_NAMESPACE = "lottie";
5
+ const ARIA_LABEL_NAMESPACE = "ariaLabels";
6
6
  const TranslationKeys = {
7
7
  playButton: "lottie_aria_label_play",
8
8
  pauseButton: "lottie_aria_label_pause"
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.2700.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": "066ce6d2d1a5585401d5f6d68f9bb8fc02ac769738c0c94d981e829b"
204
204
  }