@wix/editor-react-components 1.2878.0 → 1.2881.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 (49) 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/Checkbox/css.css +5 -6
  7. package/dist/site/components/DatePicker/component.js +1 -1
  8. package/dist/site/components/DatePicker/css.css +5 -7
  9. package/dist/site/components/Dropdown/Dropdown.d.ts +1 -1
  10. package/dist/site/components/Dropdown/Dropdown.types.d.ts +1 -3
  11. package/dist/site/components/Dropdown/component.js +5 -17
  12. package/dist/site/components/Dropdown/constants.d.ts +1 -1
  13. package/dist/site/components/Dropdown/css.css +4 -39
  14. package/dist/site/components/Dropdown/manifest.js +1 -7
  15. package/dist/site/components/GoogleMap/component.js +3 -3
  16. package/dist/site/components/HTMLComponent/component.js +2 -2
  17. package/dist/site/components/HipaaIcon/component.js +1 -1
  18. package/dist/site/components/Image3/component.js +1 -1
  19. package/dist/site/components/LinkBar/component.js +1 -1
  20. package/dist/site/components/Lottie/component.js +3 -3
  21. package/dist/site/components/MarkdownBlock/component.js +2 -2
  22. package/dist/site/components/Menu/component.js +2 -2
  23. package/dist/site/components/Menu/sdk.js +1 -1
  24. package/dist/site/components/ShareButtons/component.js +1 -1
  25. package/dist/site/components/Slideshow/component.js +2 -2
  26. package/dist/site/components/TextInput/css.css +1 -6
  27. package/dist/site/components/TextMarquee/component.js +1 -1
  28. package/dist/site/components/TimePicker/component.js +1 -1
  29. package/dist/site/components/TimePicker/css.css +1 -7
  30. package/dist/site/components/TransparentVideo/component.js +1 -1
  31. package/dist/site/components/VideoScrub/component.js +2 -2
  32. package/dist/site/components/VideoUpload/component.js +2 -2
  33. package/dist/site/components/WRichText/WRichText.types.d.ts +1 -1
  34. package/dist/site/components/WRichText/component.js +40 -4
  35. package/dist/site/components/WRichText/manifest.js +2 -1
  36. package/dist/site/components/WRichText/sdk.js +1 -1
  37. package/dist/site/components/WRichText/utils/renderRichText.d.ts +8 -0
  38. package/dist/site/components/chunks/constants36.js +1 -1
  39. package/dist/site/components/chunks/index.js +2133 -3
  40. package/dist/site/components/chunks/index10.js +2012 -230
  41. package/dist/site/components/chunks/index2.js +3 -3
  42. package/dist/site/components/chunks/index3.js +2 -2
  43. package/dist/site/components/chunks/index4.js +2 -2
  44. package/dist/site/components/chunks/index5.js +3 -2133
  45. package/dist/site/components/chunks/index9.js +230 -2012
  46. package/dist/site/components/chunks/parseHtml.js +2 -2
  47. package/dist/site/components/chunks/parseSvg.js +2 -2
  48. package/dist/site/components/chunks/useConsentPolicyProps.js +2 -2
  49. 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";
@@ -2,6 +2,7 @@
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  align-items: center;
5
+ min-width: min-content !important;
5
6
  max-width: 100%;
6
7
  }
7
8
 
@@ -78,6 +79,9 @@
78
79
  .label__Y3ciV {
79
80
  cursor: pointer;
80
81
  margin-bottom: 0;
82
+ flex: 1;
83
+ min-width: 0;
84
+ overflow-wrap: anywhere;
81
85
  }
82
86
  .label__Y3ciV[data-disabled] {
83
87
  cursor: default;
@@ -85,12 +89,7 @@
85
89
 
86
90
  .errorMessage__PtMqM {
87
91
  contain: inline-size;
88
- display: -webkit-box;
89
- -webkit-box-orient: vertical;
90
- -webkit-line-clamp: 2;
91
- max-height: 2lh;
92
- overflow: hidden;
93
- text-overflow: ellipsis;
92
+ overflow-wrap: anywhere;
94
93
  }
95
94
  .errorMessage__PtMqM svg {
96
95
  display: none;
@@ -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";
@@ -17,15 +17,13 @@
17
17
  .label__YTX1z,
18
18
  .helperText__CKn-5,
19
19
  .errorMessage__b9Pp3 {
20
- display: -webkit-box;
21
- -webkit-box-orient: vertical;
22
- -webkit-line-clamp: 2;
23
- line-clamp: 2;
24
- overflow: hidden;
25
20
  min-width: 0;
26
21
  max-width: 100%;
27
- overflow-wrap: break-word;
28
- word-break: break-word;
22
+ overflow-wrap: anywhere;
23
+ }
24
+
25
+ .errorMessage__b9Pp3 {
26
+ display: block;
29
27
  }
30
28
 
31
29
  .group__2UIvk {
@@ -1,3 +1,3 @@
1
1
  import { default as React } from 'react';
2
2
  import { DropdownProps } from './Dropdown.types';
3
- export default function Dropdown({ a11y, className, direction, disabled, elementProps, errorMessage, helperText, id, label, onValueChange, options, placeholder, previewError, previewList, readOnly, value, wix, ...rest }: DropdownProps): React.JSX.Element;
3
+ export default function Dropdown({ className, direction, disabled, elementProps, errorMessage, helperText, id, label, onValueChange, options, placeholder, previewError, previewList, readOnly, value, wix, ...rest }: DropdownProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import { A11y, Direction } from '@wix/editor-react-types';
1
+ import { Direction } from '@wix/editor-react-types';
2
2
  export type DropdownOption = {
3
3
  /** Text shown to the visitor in the list. */
4
4
  label: string;
@@ -57,8 +57,6 @@ export type DropdownProps = {
57
57
  previewError?: boolean;
58
58
  /** Writing direction applied to the root. */
59
59
  direction?: Direction;
60
- /** Accessibility attributes. `ariaLabel` labels the dropdown for assistive tech. */
61
- a11y?: A11y;
62
60
  /** Per-element className overrides. Keys match the manifest element keys. */
63
61
  elementProps?: DropdownElementProps;
64
62
  /** Platform-provided props. */
@@ -4,11 +4,10 @@ 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";
11
- import { a as accessibilityStyles } from "../chunks/accessibility.module.js";
12
11
  import { A as AriaLabels, T as TestIds, e as editorElementClassNames, D as DesignStates } from "../chunks/constants36.js";
13
12
  const root = "root__WnTks";
14
13
  const input = "input__pbp9w";
@@ -43,7 +42,6 @@ const styles = {
43
42
  const itemToStringLabel = (item) => (item == null ? void 0 : item.label) ?? "";
44
43
  const itemToStringValue = (item) => (item == null ? void 0 : item.value) ?? "";
45
44
  function Dropdown({
46
- a11y,
47
45
  className,
48
46
  direction,
49
47
  disabled,
@@ -76,15 +74,14 @@ function Dropdown({
76
74
  const inErrorState = hasError || Boolean(previewError);
77
75
  const { language } = useCurrentLanguage();
78
76
  const { translate } = useService(TranslationsDefinition);
79
- const ariaLabel = (a11y == null ? void 0 : a11y.ariaLabel) || (label2 ? void 0 : translate("ariaLabels")(
77
+ const ariaLabel = label2 ? void 0 : translate("ariaLabels")(
80
78
  AriaLabels.root.legacyKey,
81
79
  AriaLabels.root.default
82
- ));
80
+ );
83
81
  const comboboxId = `${id}-combobox`;
84
82
  const helperTextId = helperText2 ? `${id}-helper-text` : void 0;
85
83
  const errorMessageId = inErrorState ? `${id}-error-message` : void 0;
86
84
  const describedBy = [helperTextId, errorMessageId].filter(Boolean).join(" ") || void 0;
87
- const accessibleNameId = label2 && ariaLabel ? `${id}-accessible-name` : void 0;
88
85
  return /* @__PURE__ */ jsx(
89
86
  "div",
90
87
  {
@@ -120,14 +117,6 @@ function Dropdown({
120
117
  readOnly,
121
118
  value: selectedOption ?? null,
122
119
  children: [
123
- accessibleNameId && /* @__PURE__ */ jsx(
124
- "span",
125
- {
126
- id: accessibleNameId,
127
- className: accessibilityStyles.visuallyHidden,
128
- children: ariaLabel
129
- }
130
- ),
131
120
  label2 && /* @__PURE__ */ jsx(
132
121
  Combobox.Label,
133
122
  {
@@ -143,7 +132,6 @@ function Dropdown({
143
132
  /* @__PURE__ */ jsxs(
144
133
  Combobox.Trigger,
145
134
  {
146
- ...accessibleNameId ? { "aria-labelledby": accessibleNameId } : {},
147
135
  "aria-describedby": describedBy,
148
136
  "aria-haspopup": "listbox",
149
137
  "aria-invalid": inErrorState || void 0,
@@ -190,8 +178,8 @@ function Dropdown({
190
178
  children: /* @__PURE__ */ jsx(
191
179
  Combobox.List,
192
180
  {
193
- "aria-label": label2 ? void 0 : ariaLabel,
194
- "aria-labelledby": accessibleNameId ?? (label2 ? `${comboboxId}-label` : void 0),
181
+ "aria-label": ariaLabel,
182
+ "aria-labelledby": label2 ? `${comboboxId}-label` : void 0,
195
183
  className: styles.list,
196
184
  children: options == null ? void 0 : options.map((option2, index) => {
197
185
  var _a2;
@@ -1,4 +1,4 @@
1
- export declare const COMPONENT_TYPE = "wixEditorElements.Dropdown__DEV__v5";
1
+ export declare const COMPONENT_TYPE = "wixEditorElements.Dropdown__DEV__v6";
2
2
  export declare const DesignStates: {
3
3
  readonly input: {
4
4
  readonly hover: {
@@ -54,12 +54,7 @@
54
54
  min-width: 100px;
55
55
  min-height: 1lh;
56
56
  contain: inline-size;
57
- display: -webkit-box;
58
- -webkit-box-orient: vertical;
59
- -webkit-line-clamp: 2;
60
- max-height: 2lh;
61
- overflow: hidden;
62
- text-overflow: ellipsis;
57
+ overflow-wrap: anywhere;
63
58
  color: inherit;
64
59
  font: inherit;
65
60
  }
@@ -72,35 +67,16 @@
72
67
 
73
68
  .errorMessage__iMuAa {
74
69
  contain: inline-size;
75
- display: -webkit-box;
76
- -webkit-box-orient: vertical;
77
- -webkit-line-clamp: 2;
78
- max-height: 2lh;
79
- overflow: hidden;
80
- text-overflow: ellipsis;
70
+ overflow-wrap: anywhere;
81
71
  }
82
72
  .errorMessage__iMuAa svg {
83
73
  display: none;
84
74
  }
85
75
 
86
- .label__Q7fZH {
87
- contain: inline-size;
88
- display: -webkit-box;
89
- -webkit-box-orient: vertical;
90
- -webkit-line-clamp: 2;
91
- max-height: 2lh;
92
- overflow: hidden;
93
- text-overflow: ellipsis;
94
- }
95
-
76
+ .label__Q7fZH,
96
77
  .helperText__M9s0b {
97
78
  contain: inline-size;
98
- display: -webkit-box;
99
- -webkit-box-orient: vertical;
100
- -webkit-line-clamp: 2;
101
- max-height: 2lh;
102
- overflow: hidden;
103
- text-overflow: ellipsis;
79
+ overflow-wrap: anywhere;
104
80
  }
105
81
 
106
82
  .positioner__YS--m {
@@ -151,15 +127,4 @@
151
127
  }
152
128
  .presetWrapper__J1yzj {
153
129
  display: contents;
154
- }
155
- .visuallyHidden__Md84p {
156
- position: absolute;
157
- width: 1px;
158
- height: 1px;
159
- padding: 0;
160
- margin: -1px;
161
- overflow: hidden;
162
- clip-path: inset(50%);
163
- white-space: nowrap;
164
- border: 0;
165
130
  }
@@ -3,7 +3,7 @@ import { a as DisplayNames, F as FunctionalStateKeys, e as editorElementClassNam
3
3
  import { T as TEXT_PROP_STATIC_VALUE_MAX_LENGTH } from "../chunks/manifest.js";
4
4
  const basePresetName = "baseDropdown";
5
5
  const manifest = {
6
- id: "d46302be-0629-45c8-bdf3-cdb14c6457c8",
6
+ id: "550ebc8b-39bc-4b95-a76e-57d3b0350a0e",
7
7
  type: COMPONENT_TYPE,
8
8
  description: "A single-select dropdown input. Visitors pick a value from a list of options. Options can be set statically or fed dynamically by a connected data source.",
9
9
  installation: {
@@ -493,12 +493,6 @@ const manifest = {
493
493
  maxLength: TEXT_PROP_STATIC_VALUE_MAX_LENGTH
494
494
  }
495
495
  },
496
- a11y: {
497
- dataType: DATA.DATA_TYPE.a11y,
498
- [DATA.DATA_TYPE.a11y]: {
499
- attributes: [DATA.A11Y_ATTRIBUTES.ariaLabel]
500
- }
501
- },
502
496
  direction: {
503
497
  dataType: DATA.DATA_TYPE.direction
504
498
  },
@@ -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;
@@ -28,14 +28,9 @@
28
28
  .root__zQlRz .label__mbGIM,
29
29
  .root__zQlRz .helperText__SfMAH,
30
30
  .root__zQlRz .errorMessage__4XDzv {
31
+ display: block;
31
32
  contain: inline-size;
32
- display: -webkit-box;
33
- -webkit-box-orient: vertical;
34
- -webkit-line-clamp: 2;
35
- max-height: 2lh;
36
33
  overflow-wrap: anywhere;
37
- overflow: hidden;
38
- text-overflow: ellipsis;
39
34
  }
40
35
  .root__zQlRz .helperText__SfMAH,
41
36
  .root__zQlRz .errorMessage__4XDzv {
@@ -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";
@@ -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";
@@ -15,15 +15,9 @@
15
15
  .label__THO5j,
16
16
  .description__ePprf,
17
17
  .errorMessage__zxbOJ {
18
- display: -webkit-box;
19
- -webkit-box-orient: vertical;
20
- -webkit-line-clamp: 2;
21
- line-clamp: 2;
22
- overflow: hidden;
23
18
  min-width: 0;
24
19
  max-width: 100%;
25
- overflow-wrap: break-word;
26
- word-break: break-word;
20
+ overflow-wrap: anywhere;
27
21
  }
28
22
 
29
23
  .group__6HZy7 {
@@ -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;