@wix/editor-react-components 1.2877.0 → 1.2879.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.
Files changed (51) hide show
  1. package/dist/site/components/AccordionComponent/component.js +1 -1
  2. package/dist/site/components/AnimatedIcon/component.js +1 -1
  3. package/dist/site/components/AudioPlayer/component.js +1 -1
  4. package/dist/site/components/BoxContainer/component.js +1 -1
  5. package/dist/site/components/Breadcrumbs/component.js +1 -1
  6. package/dist/site/components/DatePicker/DatePicker.types.d.ts +1 -3
  7. package/dist/site/components/DatePicker/component.js +2 -3
  8. package/dist/site/components/DatePicker/constants.d.ts +1 -1
  9. package/dist/site/components/DatePicker/manifest.js +1 -7
  10. package/dist/site/components/Dropdown/component.js +1 -1
  11. package/dist/site/components/GoogleMap/component.js +3 -3
  12. package/dist/site/components/HTMLComponent/component.js +2 -2
  13. package/dist/site/components/HipaaIcon/component.js +1 -1
  14. package/dist/site/components/Image3/component.js +1 -1
  15. package/dist/site/components/LinkBar/component.js +1 -1
  16. package/dist/site/components/Lottie/component.js +3 -3
  17. package/dist/site/components/MarkdownBlock/component.js +2 -2
  18. package/dist/site/components/Menu/component.js +2 -2
  19. package/dist/site/components/Menu/sdk.js +1 -1
  20. package/dist/site/components/ShareButtons/component.js +1 -1
  21. package/dist/site/components/Slideshow/component.js +2 -2
  22. package/dist/site/components/TextInput/TextInput.types.d.ts +1 -2
  23. package/dist/site/components/TextInput/component.js +2 -24
  24. package/dist/site/components/TextInput/css.css +0 -11
  25. package/dist/site/components/TextInput/manifest.js +2 -14
  26. package/dist/site/components/TextMarquee/component.js +1 -1
  27. package/dist/site/components/TimePicker/TimePicker.types.d.ts +1 -3
  28. package/dist/site/components/TimePicker/component.js +5 -9
  29. package/dist/site/components/TimePicker/constants.d.ts +1 -1
  30. package/dist/site/components/TimePicker/manifest.js +4 -8
  31. package/dist/site/components/TransparentVideo/component.js +1 -1
  32. package/dist/site/components/VideoScrub/component.js +2 -2
  33. package/dist/site/components/VideoUpload/component.js +2 -2
  34. package/dist/site/components/WRichText/WRichText.types.d.ts +1 -1
  35. package/dist/site/components/WRichText/component.js +40 -4
  36. package/dist/site/components/WRichText/manifest.js +2 -1
  37. package/dist/site/components/WRichText/sdk.js +1 -1
  38. package/dist/site/components/WRichText/utils/renderRichText.d.ts +8 -0
  39. package/dist/site/components/chunks/constants2.js +1 -1
  40. package/dist/site/components/chunks/constants37.js +1 -1
  41. package/dist/site/components/chunks/index.js +2133 -3
  42. package/dist/site/components/chunks/index10.js +2012 -230
  43. package/dist/site/components/chunks/index2.js +3 -3
  44. package/dist/site/components/chunks/index3.js +2 -2
  45. package/dist/site/components/chunks/index4.js +2 -2
  46. package/dist/site/components/chunks/index5.js +3 -2133
  47. package/dist/site/components/chunks/index9.js +230 -2012
  48. package/dist/site/components/chunks/parseHtml.js +2 -2
  49. package/dist/site/components/chunks/parseSvg.js +2 -2
  50. package/dist/site/components/chunks/useConsentPolicyProps.js +2 -2
  51. package/package.json +2 -2
@@ -8,7 +8,7 @@ import { D as DesignStates, a as DEFAULT_PROPS } from "../chunks/constants44.js"
8
8
  import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
9
9
  import { r as require_baseGetTag, d as require_root, b as require_Symbol, c as requireIsArray, a as requireIsObjectLike, e as require_freeGlobal } from "../chunks/isObjectLike.js";
10
10
  import { useService } from "@wix/services-manager-react";
11
- import { D as DeviceInfoDefinition } from "../chunks/index2.js";
11
+ import { D as DeviceInfoDefinition } from "../chunks/index3.js";
12
12
  import { g as getWixBannerHeight } from "../chunks/getWixBannerHeight.js";
13
13
  import { d as directionStyles } from "../chunks/direction.module.js";
14
14
  var isObject_1;
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { forwardRef } from "react";
3
3
  import { useService } from "@wix/services-manager-react";
4
- import { D as DeviceInfoDefinition } from "../chunks/index2.js";
4
+ import { D as DeviceInfoDefinition } from "../chunks/index3.js";
5
5
  import { A as AnimatedIcon } from "../chunks/AnimatedIcon.js";
6
6
  const AnimatedIconWithReducedMotion = forwardRef((props, ref) => {
7
7
  const { reducedMotion } = useService(DeviceInfoDefinition);
@@ -3,7 +3,7 @@ import * as React from "react";
3
3
  import React__default, { useRef, useCallback, useMemo, useEffect, useState, forwardRef, useContext, createContext, useSyncExternalStore } from "react";
4
4
  import { c as clsx } from "../chunks/clsx.js";
5
5
  import { useService } from "@wix/services-manager-react";
6
- import { R as RenderingContextDefinition } from "../chunks/index3.js";
6
+ import { R as RenderingContextDefinition } from "../chunks/index4.js";
7
7
  import { d as directionStyles } from "../chunks/direction.module.js";
8
8
  import Image3 from "../Image3/component.js";
9
9
  import { A as ARIA_LABELS, s as selectors, d as dataDefaults } from "../chunks/constants43.js";
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
4
  import { E as ExperimentsDefinition } from "../chunks/index7.js";
5
- import { T as TranslationsDefinition } from "../chunks/index4.js";
5
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
6
6
  import { B as BOX_CONTAINER_MIN_HEIGHT_FIX_EXPERIMENT, a as BOX_CONTAINER_MIN_HEIGHT_FIX_VIEWER_EXPERIMENT } from "../chunks/constants42.js";
7
7
  import { e as getTabIndexAttribute, c as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
8
8
  const root = "root__eLvEL";
@@ -5,7 +5,7 @@ import { p as $f39a9eba43920ace$export$8dc98ba7eadeaa56, l as $f0a04ccd8dbdd83b$
5
5
  import { $ as $cf2482eff2eeeec2$export$f12b703ca79dfbb1 } from "../chunks/useLocalizedStringFormatter.js";
6
6
  import { createPortal } from "react-dom";
7
7
  import { useService } from "@wix/services-manager-react";
8
- import { T as TranslationsDefinition } from "../chunks/index4.js";
8
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
9
9
  import { c as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
10
10
  import { d as directionStyles } from "../chunks/direction.module.js";
11
11
  import { s as semanticClassNames, D as DesignStates, c as componentMetadata, t as translationKeys, A as ARIA_LABEL_NAMESPACE, l as legacyTranslationKeys, d as defaultTranslations } from "../chunks/constants41.js";
@@ -1,4 +1,4 @@
1
- import { A11y, Direction } from '@wix/editor-react-types';
1
+ import { Direction } from '@wix/editor-react-types';
2
2
  import { SdkFunctionFocusableProps, SdkFunctionKeyboardProps } from '../../../utils/functions/sdkFunctionCallbackProps';
3
3
  /** A `localDate` data value: an ISO `YYYY-MM-DD` calendar date with no time or zone. */
4
4
  export type LocalDate = string;
@@ -65,8 +65,6 @@ export type DatePickerProps = SdkFunctionFocusableProps & SdkFunctionKeyboardPro
65
65
  * shown unless `errorMessage` is set.
66
66
  */
67
67
  previewError?: boolean;
68
- /** Accessibility attributes. `ariaLabel` labels the date picker for assistive tech. */
69
- a11y?: A11y;
70
68
  /** Platform-provided props. */
71
69
  wix?: {
72
70
  /** Spread on the preset wrapper. */
@@ -13,7 +13,7 @@ import { a as $2eb8e6d23f3d0cb0$export$43bb16f9c6d9e3f7, $ as $2eb8e6d23f3d0cb0$
13
13
  import __rspack_external_react_dom_7136dc57__default, { flushSync } from "react-dom";
14
14
  import { useService } from "@wix/services-manager-react";
15
15
  import { u as useCurrentLanguage } from "../chunks/useCurrentLanguage.js";
16
- import { T as TranslationsDefinition } from "../chunks/index4.js";
16
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
17
17
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
18
18
  import { d as directionStyles } from "../chunks/direction.module.js";
19
19
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
@@ -4349,7 +4349,6 @@ function DatePicker2(props) {
4349
4349
  readOnly = defaultValues.readOnly,
4350
4350
  disabled = defaultValues.disabled,
4351
4351
  direction,
4352
- a11y,
4353
4352
  previewCalendarOpen,
4354
4353
  previewError,
4355
4354
  onValueChange = noop,
@@ -4365,7 +4364,7 @@ function DatePicker2(props) {
4365
4364
  null
4366
4365
  );
4367
4366
  const locale = regionalFormat || "en-US";
4368
- const ariaLabel = (a11y == null ? void 0 : a11y.ariaLabel) || (label2 ? void 0 : t(AriaLabels.root));
4367
+ const ariaLabel = label2 ? void 0 : t(AriaLabels.root);
4369
4368
  const handleChange = (date) => {
4370
4369
  onValueChange(toLocalDate(date));
4371
4370
  };
@@ -1,4 +1,4 @@
1
- export declare const COMPONENT_TYPE = "wixEditorElements.DatePicker__DEV__v4";
1
+ export declare const COMPONENT_TYPE = "wixEditorElements.DatePicker__DEV__v5";
2
2
  export declare const DisplayNames: {
3
3
  root: {
4
4
  elementDisplayName: string;
@@ -80,7 +80,7 @@ const dateInputCssProperties = {
80
80
  ...boxPadding
81
81
  };
82
82
  const manifest = {
83
- id: "869c68a7-f703-43fa-806f-3ed8936172b5",
83
+ id: "d68eb609-66b6-4319-8113-7f6e143986ae",
84
84
  type: COMPONENT_TYPE,
85
85
  description: "A date picker input. Visitors pick a date from a segmented field or a calendar popover. The selected date is a local date and can be connected to a data field.",
86
86
  installation: {
@@ -384,12 +384,6 @@ const manifest = {
384
384
  displayName: DisplayNames.root.data.disabled,
385
385
  defaultValue: defaultValues.disabled
386
386
  },
387
- a11y: {
388
- dataType: DATA.DATA_TYPE.a11y,
389
- [DATA.DATA_TYPE.a11y]: {
390
- attributes: [DATA.A11Y_ATTRIBUTES.ariaLabel]
391
- }
392
- },
393
387
  direction: {
394
388
  dataType: DATA.DATA_TYPE.direction
395
389
  }
@@ -4,7 +4,7 @@ import { c as clsx } from "../chunks/clsx.js";
4
4
  import { F as Field, C as Combobox } from "../chunks/index13.js";
5
5
  import { useService } from "@wix/services-manager-react";
6
6
  import { u as useCurrentLanguage } from "../chunks/useCurrentLanguage.js";
7
- import { T as TranslationsDefinition } from "../chunks/index4.js";
7
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
8
8
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
9
9
  import { d as directionStyles } from "../chunks/direction.module.js";
10
10
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
@@ -7,11 +7,11 @@ import { a as getDataAttributes } from "../chunks/dataUtils.js";
7
7
  import { c as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
8
8
  import { createPortal } from "react-dom";
9
9
  import { G as GOOGLE_MAPS_DIRECTIONS_BASE_URL, M as MIN_ZOOM, a as MAX_ZOOM, T as TestIds, I as INFO_WINDOW_PIXEL_OFFSET, D as DEFAULT_ZOOM, b as MAP_IDS, c as MAP_TYPES, d as MAP_MOBILE_CONTROL_SIZE, A as API_KEY, C as COMPONENT_TYPE, e as ConsentTranslations, f as DEFAULT_LOCATION, g as TranslationKeys, L as LegacyTranslationNamespaces, h as LegacyTranslationKeys, i as DefaultTranslations, j as COMPANY_NAME_DEFAULT, k as COMPANY_NAME_KEY, l as COMPONENT_NAME_DEFAULT, m as COMPONENT_NAME_KEY } from "../chunks/consts2.js";
10
- import { p as parse } from "../chunks/index5.js";
10
+ import { p as parse } from "../chunks/index.js";
11
11
  import { useService } from "@wix/services-manager-react";
12
- import { R as RenderingContextDefinition } from "../chunks/index3.js";
12
+ import { R as RenderingContextDefinition } from "../chunks/index4.js";
13
13
  import { u as useConsentPolicyProps, C as ConsentPolicyWrapper } from "../chunks/useConsentPolicyProps.js";
14
- import { T as TranslationsDefinition } from "../chunks/index4.js";
14
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
15
15
  import { u as useCurrentLanguage } from "../chunks/useCurrentLanguage.js";
16
16
  const mapContainer = "mapContainer__E0LTn";
17
17
  const style = {
@@ -5,11 +5,11 @@ import React__default, { useRef, useCallback, useEffect, useMemo } from "react";
5
5
  import { u as useConsentPolicyProps, C as ConsentPolicyWrapper } from "../chunks/useConsentPolicyProps.js";
6
6
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
7
7
  import { useService } from "@wix/services-manager-react";
8
- import { R as RenderingContextDefinition } from "../chunks/index3.js";
8
+ import { R as RenderingContextDefinition } from "../chunks/index4.js";
9
9
  import { E as ExperimentsDefinition } from "../chunks/index7.js";
10
10
  import { C as ConfigurationDefinition } from "../chunks/index15.js";
11
11
  import { d as defineService } from "../chunks/index11.js";
12
- import { T as TranslationsDefinition } from "../chunks/index4.js";
12
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
13
13
  import { A as ALLOWED_PROTOCOLS, C as COMPONENT_TYPE, H as HTML_COMPONENT_TITLE_KEY, a as ARIA_LABEL_NAMESPACE, L as LEGACY_HTML_COMPONENT_TITLE_KEY, b as HTML_COMPONENT_TITLE_DEFAULT, D as DEFAULT_CONSENT_POLICY, S as SANDBOX, c as ConsentTranslations } from "../chunks/constants35.js";
14
14
  import { C as CLASS_NAME_ON_COMPONENT_ROOT_EXPERIMENT, M as MOVE_PREVIEW_IDENTITY_CLASSES_TO_ROOT_EXPERIMENT } from "../chunks/specs.js";
15
15
  const isBrowser = () => typeof window !== "undefined";
@@ -1,7 +1,7 @@
1
1
  import { jsxs, jsx } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
- import { T as TranslationsDefinition } from "../chunks/index4.js";
4
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
5
5
  import { d as defineService } from "../chunks/index11.js";
6
6
  import { C as COMPONENT_TYPE, T as TRANSLATIONS_NAMESPACE, a as TranslationKeys, L as LegacyTranslationKeys, D as DefaultTranslations } from "../chunks/constants33.js";
7
7
  const RendererConfigurationDefinition = defineService("@wix/site-service-renderer-configuration");
@@ -7,7 +7,7 @@ import * as React from "react";
7
7
  import { a as getData, g as getPlaceholder, S as STATIC_MEDIA_URL$1 } from "../chunks/index6.js";
8
8
  import { g as getMediaSizeQueryString, c as camelToKebab, a as getMediaUrlByContext, i as initCustomElement } from "../chunks/customElementInit.js";
9
9
  import { useService } from "@wix/services-manager-react";
10
- import { R as RenderingContextDefinition } from "../chunks/index3.js";
10
+ import { R as RenderingContextDefinition } from "../chunks/index4.js";
11
11
  const image = "image__iWj48";
12
12
  const styles = {
13
13
  image
@@ -1,7 +1,7 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { useMemo } from "react";
3
3
  import { useService } from "@wix/services-manager-react";
4
- import { T as TranslationsDefinition } from "../chunks/index4.js";
4
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
5
5
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
6
6
  import { p as parseSvg } from "../chunks/parseSvg.js";
7
7
  import { c as clsx } from "../chunks/clsx.js";
@@ -1,15 +1,15 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
- import { T as TranslationsDefinition } from "../chunks/index4.js";
4
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
5
5
  import { d as directionStyles } from "../chunks/direction.module.js";
6
6
  import { B as Button } from "../chunks/Button.js";
7
7
  import { r as rootDataDefaults, s as semanticSelectors, C as COMPONENT_TYPE, A as ARIA_LABEL_NAMESPACE, t as testIds, p as pauseIconSvg, a as playIconSvg, b as showButtonOnHoverDefaults, T as TranslationKeys, L as LegacyTranslationKeys, D as DefaultTranslations } from "../chunks/constants29.js";
8
8
  import React__default, { useEffect, useState, useRef, useMemo } from "react";
9
9
  import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
10
10
  import { c as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
11
- import { R as RenderingContextDefinition } from "../chunks/index3.js";
12
- import { D as DeviceInfoDefinition } from "../chunks/index2.js";
11
+ import { R as RenderingContextDefinition } from "../chunks/index4.js";
12
+ import { D as DeviceInfoDefinition } from "../chunks/index3.js";
13
13
  import { u as useHasDisplayedElement } from "../chunks/useHasDisplayedElement.js";
14
14
  var lottie$2 = { exports: {} };
15
15
  var lottie$1 = lottie$2.exports;
@@ -1,12 +1,12 @@
1
1
  import { jsxs, jsx, Fragment } from "react/jsx-runtime";
2
2
  import { c as clsx } from "../chunks/clsx.js";
3
3
  import { useService } from "@wix/services-manager-react";
4
- import { T as TranslationsDefinition } from "../chunks/index4.js";
4
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
5
5
  import { d as directionStyles } from "../chunks/direction.module.js";
6
6
  import { T as TRANSLATIONS_NAMESPACE, L as LegacyTranslationKeys, D as DefaultTranslations, m as manifestClasses, d as defaultValues } from "../chunks/constants28.js";
7
7
  import "react";
8
8
  import { g as getDefaultExportFromCjs } from "../chunks/_commonjsHelpers.js";
9
- import { r as requireCjs } from "../chunks/index10.js";
9
+ import { r as requireCjs } from "../chunks/index9.js";
10
10
  function ok$1() {
11
11
  }
12
12
  function unreachable() {
@@ -4,7 +4,7 @@ import { useService, useGetService } from "@wix/services-manager-react";
4
4
  import { t as toUrlWithoutQuery, s as safeDecode } from "../chunks/urlUtils.js";
5
5
  import { U as UrlDefinition } from "../chunks/index16.js";
6
6
  import { d as defineService } from "../chunks/index11.js";
7
- import { T as TranslationsDefinition } from "../chunks/index4.js";
7
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
8
8
  import { M as MenuAnimationName, d as defaultTranslations, a as MenuOrientation, A as AnimationPhase, V as VerticalDropdownDisplay, D as DropdownAnimationName, H as HamburgerMenuAnimationName, b as MenuParts, s as selectors, c as DesignStates, u as useAnimationState, C as COMPONENT_TYPE, e as ARIA_LABEL_NAMESPACE, t as translationsKeys, l as legacyTranslationsKeys } from "../chunks/constants27.js";
9
9
  import React__default, { createContext, useContext, useRef, useCallback, useMemo, useState, useEffect, useLayoutEffect, forwardRef } from "react";
10
10
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
@@ -17,7 +17,7 @@ import { u as useResizeObserver } from "../chunks/useResizeObserver.js";
17
17
  import { d as directionStyles } from "../chunks/direction.module.js";
18
18
  import { L as LocaleDefinition } from "../chunks/index12.js";
19
19
  import AnimatedIconWithReducedMotion from "../AnimatedIcon/component.js";
20
- import { D as DeviceInfoDefinition } from "../chunks/index2.js";
20
+ import { D as DeviceInfoDefinition } from "../chunks/index3.js";
21
21
  import { B as Button } from "../chunks/Button.js";
22
22
  import { c as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
23
23
  const AnchorsDefinition = defineService("@wix/viewer-service-anchors");
@@ -3,7 +3,7 @@ import { i as isNil, h as isDate, l as isObject, k as isArray } from "../chunks/
3
3
  import { b as registerCorvidMouseEvent } from "../chunks/corvidEvents.js";
4
4
  import { c as composeSDKFactories } from "../chunks/composeSDKFactories.js";
5
5
  import { v as validateMenuItems, c as createMenuDataItem } from "../chunks/utils3.js";
6
- import { L as LinkUtilsDefinition } from "../chunks/index.js";
6
+ import { L as LinkUtilsDefinition } from "../chunks/index2.js";
7
7
  const sanitizeItem = (item) => Object.entries(item).reduce((acc, [key, value]) => {
8
8
  if (isNil(value)) {
9
9
  return acc;
@@ -1,7 +1,7 @@
1
1
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
2
2
  import React__default, { useState, useEffect, useRef, useMemo, createElement } from "react";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
- import { T as TranslationsDefinition } from "../chunks/index4.js";
4
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
5
5
  import { t as toUrlWithoutQuery } from "../chunks/urlUtils.js";
6
6
  import { U as UrlDefinition } from "../chunks/index16.js";
7
7
  import { useService } from "@wix/services-manager-react";
@@ -8,8 +8,8 @@ import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
8
8
  import { d as directionStyles } from "../chunks/direction.module.js";
9
9
  import { useService } from "@wix/services-manager-react";
10
10
  import { L as LocaleDefinition } from "../chunks/index12.js";
11
- import { D as DeviceInfoDefinition } from "../chunks/index2.js";
12
- import { T as TranslationsDefinition } from "../chunks/index4.js";
11
+ import { D as DeviceInfoDefinition } from "../chunks/index3.js";
12
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
13
13
  const validateActiveSlide = (activeSlide, slidesLength) => {
14
14
  if (activeSlide === void 0) {
15
15
  return void 0;
@@ -1,4 +1,4 @@
1
- import { A11y, Direction } from '@wix/editor-react-types';
1
+ import { Direction } from '@wix/editor-react-types';
2
2
  import { SdkFunctionFocusableProps, SdkFunctionInputableProps, SdkFunctionKeyboardProps } from '../../../utils/functions/sdkFunctionCallbackProps';
3
3
  import type * as React from 'react';
4
4
  /**
@@ -33,7 +33,6 @@ export type ITextInputProps = ITextInputMapperProps & {
33
33
  };
34
34
  };
35
35
  export type ITextInputMapperProps = SdkFunctionFocusableProps<HTMLInputElement> & SdkFunctionInputableProps<HTMLInputElement> & SdkFunctionKeyboardProps<HTMLInputElement> & {
36
- a11y?: A11y;
37
36
  /** Controlled value. Omission renders an empty input; edits require a parent update. */
38
37
  value?: string;
39
38
  onValueChange?: (value: string) => void;
@@ -6,7 +6,6 @@ import { u as useCurrentLanguage } from "../chunks/useCurrentLanguage.js";
6
6
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
7
7
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
8
8
  import { d as directionStyles } from "../chunks/direction.module.js";
9
- import { a as accessibilityStyles } from "../chunks/accessibility.module.js";
10
9
  import { c as componentClassNames, D as DesignStates } from "../chunks/constants3.js";
11
10
  import { b as $fd2148440a13ec26$export$fc1a364ae1f3ff10, c as $191c9b6d48a0a4e2$export$294aa081a6c6f55d, d as $860f7da480e22816$export$b8473d3665f3a75a, e as $d3e0e05bdfcf66bd$export$c24727297075ec6a, f as $3985021b0ad6602f$export$37fb8590cf2c088c, g as $514c0188e459b4c0$export$9afb8bc826b033ea, h as $ee014567cb39d3f0$export$ff05c3ac10437e03, i as $3985021b0ad6602f$export$f5b8910cec6cf069 } from "../chunks/Input.js";
12
11
  import { b as $3e6197669829fe11$export$40bfa8c7b0832715, c as $3274bf1495747a7b$export$5add1d006293d136, d as $bbaa08b3cd72f041$export$9d1611c77c2fe928, e as $23f2114a1b82827e$export$e58f029f0fbfdb29, f as $01b77f81d0f07f68$export$75b6ee27786ba447, g as $a049562f99e7db0e$export$f9c6924e160136d1, a as $01b77f81d0f07f68$export$b04be29aa201d4f5 } from "../chunks/Group.js";
@@ -216,7 +215,6 @@ const TextInput = (props) => {
216
215
  onInput,
217
216
  onFocus,
218
217
  onBlur,
219
- a11y,
220
218
  contentRef,
221
219
  elementProps,
222
220
  wix
@@ -241,10 +239,7 @@ const TextInput = (props) => {
241
239
  className,
242
240
  !direction && directionStyles.fallbackDirection
243
241
  );
244
- const ariaLabel = a11y == null ? void 0 : a11y.ariaLabel;
245
- const ariaInvalid = inErrorState ? true : (a11y == null ? void 0 : a11y.ariaInvalid) ?? false;
246
242
  const inputId = `${id}-input`;
247
- const customAccessibleNameId = label2 && ariaLabel ? `${id}-accessible-name` : void 0;
248
243
  const helperTextId = helperText2 ? `${id}-helper-text` : void 0;
249
244
  const errorMessageId = inErrorState ? `${id}-error-message` : void 0;
250
245
  const inputClasses = clsx(
@@ -268,14 +263,9 @@ const TextInput = (props) => {
268
263
  autoFocus,
269
264
  "data-testid": "text-field"
270
265
  };
271
- const describedBy = [
272
- a11y == null ? void 0 : a11y.ariaDescribedby,
273
- helperTextId,
274
- errorMessageId
275
- ].filter(Boolean);
266
+ const describedBy = [helperTextId, errorMessageId].filter(Boolean);
276
267
  const inputProps = {
277
268
  ref: inputRef,
278
- tabIndex: a11y == null ? void 0 : a11y.tabIndex,
279
269
  placeholder,
280
270
  className: inputClasses,
281
271
  id: inputId,
@@ -284,11 +274,7 @@ const TextInput = (props) => {
284
274
  onInput,
285
275
  onFocus,
286
276
  onBlur,
287
- "aria-invalid": ariaInvalid,
288
- ...ariaLabel && { "aria-label": ariaLabel },
289
- ...customAccessibleNameId && {
290
- "aria-labelledby": customAccessibleNameId
291
- },
277
+ "aria-invalid": inErrorState,
292
278
  ...describedBy.length ? { "aria-describedby": describedBy.join(" ") } : {}
293
279
  };
294
280
  return /* @__PURE__ */ jsx(
@@ -307,14 +293,6 @@ const TextInput = (props) => {
307
293
  "data-testid": dataTestId,
308
294
  lang: language,
309
295
  children: /* @__PURE__ */ jsxs($bcdf0525bf22703d$export$2c73285ae9390cec, { ...textFieldProps, children: [
310
- customAccessibleNameId && /* @__PURE__ */ jsx(
311
- "span",
312
- {
313
- id: customAccessibleNameId,
314
- className: accessibilityStyles.visuallyHidden,
315
- children: ariaLabel
316
- }
317
- ),
318
296
  label2 && /* @__PURE__ */ jsx($01b77f81d0f07f68$export$b04be29aa201d4f5, { className: labelClasses, htmlFor: inputId, children: label2 }),
319
297
  /* @__PURE__ */ jsx("div", { className: style.inputWrapper, children: /* @__PURE__ */ jsx($3985021b0ad6602f$export$f5b8910cec6cf069, { ...inputProps }) }),
320
298
  helperText2 && /* @__PURE__ */ jsx(
@@ -47,15 +47,4 @@
47
47
  }
48
48
  .fallbackDirection__HeRgn:not([dir]) {
49
49
  direction: var(--wix-opt-in-direction);
50
- }
51
- .visuallyHidden__Md84p {
52
- position: absolute;
53
- width: 1px;
54
- height: 1px;
55
- padding: 0;
56
- margin: -1px;
57
- overflow: hidden;
58
- clip-path: inset(50%);
59
- white-space: nowrap;
60
- border: 0;
61
50
  }
@@ -8,8 +8,8 @@ const designState = (s, pseudoClass) => ({
8
8
  ...pseudoClass ? { pseudoClass } : {}
9
9
  });
10
10
  const manifest = {
11
- id: "e3e0d455-78c0-490d-a068-d85be8857e30",
12
- type: "wixEditorElements.TextInput__DEV__v5",
11
+ id: "e4b0ddb2-7550-46ef-bdc9-8d72d7e8519b",
12
+ type: "wixEditorElements.TextInput__DEV__v6",
13
13
  description: "TextInput",
14
14
  installation: {
15
15
  presets: { small: "baseTextInput", large: "baseTextInput" },
@@ -335,18 +335,6 @@ const manifest = {
335
335
  maxLength: TEXT_PROP_STATIC_VALUE_MAX_LENGTH
336
336
  }
337
337
  },
338
- // Accessibility
339
- a11y: {
340
- dataType: DATA.DATA_TYPE.a11y,
341
- [DATA.DATA_TYPE.a11y]: {
342
- attributes: [
343
- DATA.A11Y_ATTRIBUTES.tabIndex,
344
- DATA.A11Y_ATTRIBUTES.ariaLabel,
345
- DATA.A11Y_ATTRIBUTES.ariaDescribedby,
346
- DATA.A11Y_ATTRIBUTES.ariaInvalid
347
- ]
348
- }
349
- },
350
338
  readOnly: {
351
339
  displayName: DisplayNames.data.readOnly,
352
340
  dataType: DATA.DATA_TYPE.booleanValue
@@ -3,7 +3,7 @@ import * as React from "react";
3
3
  import React__default, { useState, useRef, useCallback, useEffect, useMemo } from "react";
4
4
  import { useService } from "@wix/services-manager-react";
5
5
  import { E as ExperimentsDefinition } from "../chunks/index7.js";
6
- import { T as TranslationsDefinition } from "../chunks/index4.js";
6
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
7
7
  import { c as clsx } from "../chunks/clsx.js";
8
8
  import { L as Link } from "../chunks/Link.js";
9
9
  import { f as formatClassNames } from "../chunks/classNames.js";
@@ -1,4 +1,4 @@
1
- import { A11y, Direction } from '@wix/editor-react-types';
1
+ import { Direction } from '@wix/editor-react-types';
2
2
  import { SdkFunctionFocusableProps, SdkFunctionKeyboardProps } from '../../../utils/functions/sdkFunctionCallbackProps';
3
3
  export type TimePickerElementProps = {
4
4
  label?: {
@@ -47,8 +47,6 @@ export type TimePickerProps = SdkFunctionFocusableProps & SdkFunctionKeyboardPro
47
47
  disabled?: boolean;
48
48
  /** Writing direction applied to the root. */
49
49
  direction?: Direction;
50
- /** Accessibility attributes. `ariaLabel` labels the time picker for assistive tech. */
51
- a11y?: A11y;
52
50
  /** Platform-provided props. */
53
51
  wix?: {
54
52
  /** Spread on the preset wrapper. */
@@ -6,7 +6,7 @@ import { $ as $a049562f99e7db0e$export$eb2fcfdbd7ba97d4, a as $01b77f81d0f07f68$
6
6
  import { $ as $2eb8e6d23f3d0cb0$export$a54013f0d02a8f82 } from "../chunks/I18nProvider.js";
7
7
  import { useService } from "@wix/services-manager-react";
8
8
  import { u as useCurrentLanguage } from "../chunks/useCurrentLanguage.js";
9
- import { T as TranslationsDefinition } from "../chunks/index4.js";
9
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
10
10
  import { a as getDataAttributes } from "../chunks/dataUtils.js";
11
11
  import { d as directionStyles } from "../chunks/direction.module.js";
12
12
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
@@ -124,7 +124,6 @@ function TimePicker(props) {
124
124
  readOnly = false,
125
125
  previewError,
126
126
  direction,
127
- a11y,
128
127
  onValueChange = noop,
129
128
  onKeyDown,
130
129
  onKeyUp,
@@ -143,13 +142,10 @@ function TimePicker(props) {
143
142
  });
144
143
  const hasError = typeof errorMessage2 !== "undefined" && errorMessage2 !== "";
145
144
  const inErrorState = hasError || Boolean(previewError);
146
- let ariaLabel = a11y == null ? void 0 : a11y.ariaLabel;
147
- if (!ariaLabel && !label2) {
148
- ariaLabel = translate("ariaLabels")(
149
- AriaLabels.root.legacyKey,
150
- AriaLabels.root.default
151
- );
152
- }
145
+ const ariaLabel = label2 ? void 0 : translate("ariaLabels")(
146
+ AriaLabels.root.legacyKey,
147
+ AriaLabels.root.default
148
+ );
153
149
  return /* @__PURE__ */ jsx(
154
150
  "div",
155
151
  {
@@ -1,4 +1,4 @@
1
- export declare const COMPONENT_TYPE = "wixEditorElements.TimePicker__DEV__v7";
1
+ export declare const COMPONENT_TYPE = "wixEditorElements.TimePicker__DEV__v8";
2
2
  export declare const DisplayNames: {
3
3
  root: {
4
4
  elementDisplayName: string;
@@ -5,7 +5,7 @@ import { m as manifestKeyboard, a as manifestFocusable } from "../chunks/manifes
5
5
  const basePresetName = "baseTimePicker";
6
6
  const keyboardEvents = manifestKeyboard();
7
7
  const manifest = {
8
- id: "41156bbe-2741-4a01-a715-7eba6e294f0b",
8
+ id: "bf0b381a-2eb3-46bc-b76f-0ea73689a67a",
9
9
  type: COMPONENT_TYPE,
10
10
  description: Descriptions.component,
11
11
  installation: {
@@ -141,7 +141,9 @@ const manifest = {
141
141
  states: {
142
142
  [FunctionalStateKeys.previewError]: { props: { previewError: true } }
143
143
  },
144
- displayFilters: { states: { hide: [FunctionalStateKeys.previewError] } },
144
+ displayFilters: {
145
+ states: { hide: [FunctionalStateKeys.previewError] }
146
+ },
145
147
  elements: {
146
148
  label: {
147
149
  elementType: ELEMENTS.ELEMENT_TYPE.inlineElement,
@@ -298,12 +300,6 @@ const manifest = {
298
300
  dataType: DATA.DATA_TYPE.booleanValue,
299
301
  displayName: DisplayNames.root.data.disabled
300
302
  },
301
- a11y: {
302
- dataType: DATA.DATA_TYPE.a11y,
303
- [DATA.DATA_TYPE.a11y]: {
304
- attributes: [DATA.A11Y_ATTRIBUTES.ariaLabel]
305
- }
306
- },
307
303
  direction: {
308
304
  dataType: DATA.DATA_TYPE.direction
309
305
  },
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import React__default, { useRef, useState, useEffect, useMemo, useCallback } from "react";
3
- import { p as parse } from "../chunks/index5.js";
3
+ import { p as parse } from "../chunks/index.js";
4
4
  import { F as FilterEffectType, V as VideoStartType, a as VideoEndType, b as VideoPlayingState } from "../chunks/TransparentVideo.types.js";
5
5
  import "../chunks/index6.js";
6
6
  import { c as clsx } from "../chunks/clsx.js";
@@ -2,11 +2,11 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { useRef, useState, useEffect, useCallback, useLayoutEffect, useMemo } from "react";
3
3
  import { c as clsx } from "../chunks/clsx.js";
4
4
  import { useService } from "@wix/services-manager-react";
5
- import { T as TranslationsDefinition } from "../chunks/index4.js";
5
+ import { T as TranslationsDefinition } from "../chunks/index5.js";
6
6
  import { V as Video } from "../chunks/Video.js";
7
7
  import { S as STICKY_TOP, a as ScrollSpeed, b as SCROLL_VH_PER_SECOND, c as START_LINE, M as MAX_SCROLL_VH, d as MIN_SCROLL_VH, e as assertDuration, i as isDuration, T as TIMEFRAME_CONTENT_CLASS, A as ARIA_LABEL_NAMESPACE, L as LEGACY_TIMEFRAMES_ARIA_LABEL_KEY, f as TIMEFRAMES_ARIA_LABEL_DEFAULT, D as DEFAULT_VIDEO_RATIO, g as TIMEFRAMES_LAYER_CLASS, R as ROOT_CLASS, h as ScrubStart } from "../chunks/types.js";
8
8
  import { c as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
9
- import { D as DeviceInfoDefinition } from "../chunks/index2.js";
9
+ import { D as DeviceInfoDefinition } from "../chunks/index3.js";
10
10
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
11
11
  const clamp = (value, min, max) => Math.min(max, Math.max(min, value));
12
12
  const getScrollLengthVh = (duration, speed = ScrollSpeed.normal) => clamp(
@@ -4,8 +4,8 @@ import { c as clsx } from "../chunks/clsx.js";
4
4
  import { f as formatClassNames } from "../chunks/classNames.js";
5
5
  import { V as Video } from "../chunks/Video.js";
6
6
  import { useService } from "@wix/services-manager-react";
7
- import { D as DeviceInfoDefinition } from "../chunks/index2.js";
8
- import { R as RenderingContextDefinition } from "../chunks/index3.js";
7
+ import { D as DeviceInfoDefinition } from "../chunks/index3.js";
8
+ import { R as RenderingContextDefinition } from "../chunks/index4.js";
9
9
  const semanticClassNames = {
10
10
  root: "video-upload",
11
11
  title: "video-upload__title"
@@ -4,7 +4,7 @@ import { ScreenReaderSDKProps, AriaAttributesSDKProps, LangSDKProps } from '../.
4
4
  import { IElementPropsSDKActions } from '../../../common/sdk/props-factories/elementPropsSDKFactory';
5
5
  import { IClickPropsSDKActions } from '../../../common/sdk/props-factories/clickPropsSDKFactory';
6
6
  import { default as React } from 'react';
7
- type StyledTextA11yProps = Pick<A11y, 'lang' | 'ariaLabel' | 'ariaLevel' | 'ariaHidden' | 'role'>;
7
+ type StyledTextA11yProps = Pick<A11y, 'lang' | 'ariaLabel' | 'ariaLevel' | 'ariaHidden' | 'role' | 'tag'>;
8
8
  type WRichTextSkin = 'WRichTextSkin' | 'WRichTextNewSkin' | 'WRichTextClickableSkin' | 'WRichTextThemeSkin';
9
9
  type WRichTextProps = {
10
10
  html: string;