@wix/editor-react-components 1.2761.0 → 1.2763.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 (163) hide show
  1. package/dist/site/components/AccordionComponent/component.js +1 -1
  2. package/dist/site/components/AccordionComponent/manifest.js +1 -1
  3. package/dist/site/components/AnimatedIcon/manifest.js +1 -1
  4. package/dist/site/components/AudioPlayer/component.js +1 -1
  5. package/dist/site/components/AudioPlayer/manifest.js +1 -1
  6. package/dist/site/components/BoxContainer/component.js +3 -3
  7. package/dist/site/components/BoxContainer/manifest.js +1 -1
  8. package/dist/site/components/Breadcrumbs/component.js +3 -3
  9. package/dist/site/components/Breadcrumbs/manifest.js +1 -1
  10. package/dist/site/components/Button/manifest.js +1 -1
  11. package/dist/site/components/Checkbox/component.js +1 -1
  12. package/dist/site/components/Checkbox/manifest.js +1 -1
  13. package/dist/site/components/CheckboxGroup/component.js +1 -1
  14. package/dist/site/components/CheckboxGroup/manifest.js +1 -1
  15. package/dist/site/components/CollapsibleText/component.js +2 -2
  16. package/dist/site/components/CollapsibleText/manifest.js +1 -1
  17. package/dist/site/components/DatePicker/component.js +2 -2
  18. package/dist/site/components/DatePicker/manifest.js +1 -1
  19. package/dist/site/components/Dropdown/component.js +2 -2
  20. package/dist/site/components/Dropdown/manifest.js +1 -1
  21. package/dist/site/components/GoogleMap/component.js +3 -3
  22. package/dist/site/components/HTMLComponent/component.js +2 -2
  23. package/dist/site/components/HeadingTextBlock/component.js +1 -1
  24. package/dist/site/components/HeadingTextBlock/manifest.js +1 -1
  25. package/dist/site/components/HipaaIcon/component.js +2 -2
  26. package/dist/site/components/HipaaIcon/manifest.js +1 -1
  27. package/dist/site/components/Image3/component.js +2 -2
  28. package/dist/site/components/ImageReveal/component.js +2 -2
  29. package/dist/site/components/ImageReveal/manifest.js +1 -1
  30. package/dist/site/components/Line/component.js +1 -1
  31. package/dist/site/components/LinkBar/component.js +2 -2
  32. package/dist/site/components/LinkBar/manifest.js +1 -1
  33. package/dist/site/components/Logo/component.js +1 -1
  34. package/dist/site/components/Logo/manifest.js +1 -1
  35. package/dist/site/components/Logo/sdk.js +1 -1
  36. package/dist/site/components/Lottie/component.js +3 -3
  37. package/dist/site/components/Lottie/manifest.js +1 -1
  38. package/dist/site/components/MarkdownBlock/component.js +2 -2
  39. package/dist/site/components/MarkdownBlock/manifest.js +1 -1
  40. package/dist/site/components/Menu/component.js +3 -3
  41. package/dist/site/components/Menu/manifest.js +2 -3
  42. package/dist/site/components/MultiStateBox/component.js +1 -1
  43. package/dist/site/components/MultiStateBox/manifest.js +1 -1
  44. package/dist/site/components/ProgressBar/component.js +1 -1
  45. package/dist/site/components/ProgressBar/manifest.js +1 -1
  46. package/dist/site/components/ProgressBar/sdk.js +1 -1
  47. package/dist/site/components/RadioButtons/component.js +1 -1
  48. package/dist/site/components/RadioButtons/manifest.js +1 -1
  49. package/dist/site/components/Repeater/component.js +2 -2
  50. package/dist/site/components/Repeater/manifest.js +1 -1
  51. package/dist/site/components/ShareButtons/component.js +2 -2
  52. package/dist/site/components/ShareButtons/manifest.js +1 -1
  53. package/dist/site/components/Slideshow/component.js +1 -1
  54. package/dist/site/components/Tabs/component.js +1 -1
  55. package/dist/site/components/Tabs/manifest.js +1 -1
  56. package/dist/site/components/TextBox/component.js +1 -1
  57. package/dist/site/components/TextBox/manifest.js +1 -1
  58. package/dist/site/components/TextEffects3d/component.js +1 -1
  59. package/dist/site/components/TextEffects3d/manifest.js +1 -1
  60. package/dist/site/components/TextEffectsBauhaus/component.js +1 -1
  61. package/dist/site/components/TextEffectsBauhaus/manifest.js +1 -1
  62. package/dist/site/components/TextEffectsGlass/component.js +1 -1
  63. package/dist/site/components/TextEffectsGlass/manifest.js +1 -1
  64. package/dist/site/components/TextEffectsGlitch/component.js +1 -1
  65. package/dist/site/components/TextEffectsGlitch/manifest.js +1 -1
  66. package/dist/site/components/TextEffectsLetterPress/component.js +1 -1
  67. package/dist/site/components/TextEffectsLetterPress/manifest.js +1 -1
  68. package/dist/site/components/TextEffectsMatrix/component.js +1 -1
  69. package/dist/site/components/TextEffectsMatrix/manifest.js +1 -1
  70. package/dist/site/components/TextEffectsNeonSign/component.js +1 -1
  71. package/dist/site/components/TextEffectsNeonSign/manifest.js +1 -1
  72. package/dist/site/components/TextEffectsNoisy/component.js +1 -1
  73. package/dist/site/components/TextEffectsNoisy/manifest.js +1 -1
  74. package/dist/site/components/TextEffectsOutlineOut/component.js +2 -2
  75. package/dist/site/components/TextEffectsOutlineOut/manifest.js +1 -1
  76. package/dist/site/components/TextEffectsRetro/component.js +1 -1
  77. package/dist/site/components/TextEffectsRetro/manifest.js +1 -1
  78. package/dist/site/components/TextEffectsShook/component.js +1 -1
  79. package/dist/site/components/TextEffectsShook/manifest.js +1 -1
  80. package/dist/site/components/TextEffectsSticker/component.js +1 -1
  81. package/dist/site/components/TextEffectsSticker/manifest.js +2 -2
  82. package/dist/site/components/TextEffectsStriped/component.js +1 -1
  83. package/dist/site/components/TextEffectsStriped/manifest.js +1 -1
  84. package/dist/site/components/TextInput/component.js +2 -2
  85. package/dist/site/components/TextInput/manifest.js +1 -1
  86. package/dist/site/components/TextMarquee/component.js +1 -1
  87. package/dist/site/components/TimePicker/component.js +2 -2
  88. package/dist/site/components/TimePicker/manifest.js +1 -1
  89. package/dist/site/components/TransparentVideo/component.js +2 -2
  90. package/dist/site/components/VideoScrub/VideoScrub.types.d.ts +37 -0
  91. package/dist/site/components/VideoScrub/component.js +334 -34
  92. package/dist/site/components/VideoScrub/constants.d.ts +8 -3
  93. package/dist/site/components/VideoScrub/css.css +75 -2
  94. package/dist/site/components/VideoScrub/hooks/useScrubProgress.d.ts +4 -2
  95. package/dist/site/components/VideoScrub/hooks/useTimeframes.d.ts +23 -0
  96. package/dist/site/components/VideoScrub/manifest.js +268 -6
  97. package/dist/site/components/VideoScrub/timeframes/index.d.ts +1 -1
  98. package/dist/site/components/VideoScrub/timeframes/types.d.ts +1 -1
  99. package/dist/site/components/VideoScrub/timeframes/useActiveTimeframeIndex.d.ts +2 -0
  100. package/dist/site/components/VideoScrub/utils.d.ts +19 -5
  101. package/dist/site/components/chunks/AnimatedIcon.js +1 -1
  102. package/dist/site/components/chunks/Button.js +2 -2
  103. package/dist/site/components/chunks/Image.js +1 -1
  104. package/dist/site/components/chunks/Link.js +1 -1
  105. package/dist/site/components/chunks/Patterns.js +1 -1
  106. package/dist/site/components/chunks/ResponsiveBox.js +1 -1
  107. package/dist/site/components/chunks/TextEffectsShared.js +2 -2
  108. package/dist/site/components/chunks/a11y.js +4 -4
  109. package/dist/site/components/chunks/constants10.js +20 -65
  110. package/dist/site/components/chunks/constants11.js +12 -14
  111. package/dist/site/components/chunks/constants12.js +9 -9
  112. package/dist/site/components/chunks/constants13.js +8 -10
  113. package/dist/site/components/chunks/constants14.js +13 -9
  114. package/dist/site/components/chunks/constants15.js +17 -14
  115. package/dist/site/components/chunks/constants16.js +12 -17
  116. package/dist/site/components/chunks/constants17.js +13 -11
  117. package/dist/site/components/chunks/constants18.js +96 -21
  118. package/dist/site/components/chunks/constants19.js +50 -92
  119. package/dist/site/components/chunks/constants2.js +126 -47
  120. package/dist/site/components/chunks/constants20.js +50 -54
  121. package/dist/site/components/chunks/constants21.js +52 -49
  122. package/dist/site/components/chunks/constants22.js +310 -43
  123. package/dist/site/components/chunks/constants23.js +65 -310
  124. package/dist/site/components/chunks/constants24.js +99 -70
  125. package/dist/site/components/chunks/constants25.js +30 -101
  126. package/dist/site/components/chunks/constants26.js +17 -35
  127. package/dist/site/components/chunks/constants27.js +447 -16
  128. package/dist/site/components/chunks/constants28.js +29 -441
  129. package/dist/site/components/chunks/constants29.js +78 -26
  130. package/dist/site/components/chunks/constants3.js +84 -118
  131. package/dist/site/components/chunks/constants30.js +15 -85
  132. package/dist/site/components/chunks/constants31.js +42 -11
  133. package/dist/site/components/chunks/constants32.js +45 -41
  134. package/dist/site/components/chunks/constants33.js +24 -49
  135. package/dist/site/components/chunks/constants34.js +56 -25
  136. package/dist/site/components/chunks/constants35.js +13 -58
  137. package/dist/site/components/chunks/constants36.js +206 -14
  138. package/dist/site/components/chunks/constants37.js +153 -182
  139. package/dist/site/components/chunks/constants38.js +49 -162
  140. package/dist/site/components/chunks/constants39.js +102 -51
  141. package/dist/site/components/chunks/constants4.js +13 -88
  142. package/dist/site/components/chunks/constants40.js +39 -69
  143. package/dist/site/components/chunks/constants41.js +79 -72
  144. package/dist/site/components/chunks/constants42.js +77 -83
  145. package/dist/site/components/chunks/constants43.js +56 -75
  146. package/dist/site/components/chunks/constants5.js +19 -10
  147. package/dist/site/components/chunks/constants6.js +14 -14
  148. package/dist/site/components/chunks/constants7.js +10 -11
  149. package/dist/site/components/chunks/constants8.js +14 -14
  150. package/dist/site/components/chunks/constants9.js +65 -22
  151. package/dist/site/components/chunks/customElementInit.js +1 -1
  152. package/dist/site/components/chunks/index4.js +3 -2133
  153. package/dist/site/components/chunks/index5.js +2080 -1414
  154. package/dist/site/components/chunks/index6.js +1467 -3
  155. package/dist/site/components/chunks/manifestBase.js +1 -1
  156. package/dist/site/components/chunks/parseHtml.js +1 -1
  157. package/dist/site/components/chunks/parseSvg.js +1 -1
  158. package/dist/site/components/chunks/types.js +61 -0
  159. package/dist/site/components/chunks/useConsentPolicyProps.js +2 -2
  160. package/dist/site/components/chunks/utils2.js +1 -1
  161. package/dist/site/components/extensions.js +1 -1
  162. package/package.json +2 -2
  163. package/dist/site/components/chunks/constants44.js +0 -72
@@ -1,5 +1,5 @@
1
1
  import { L as LAYOUT, D as DATA, I as INTERACTIONS, C as CSS_PROPERTIES } from "./chunk-EVX7ZUBD.js";
2
- import { S as SharedDisplayNames } from "./constants10.js";
2
+ import { S as SharedDisplayNames } from "./constants9.js";
3
3
  const MAX_PATTERNS = 15;
4
4
  const PatternConfig = {
5
5
  MAX_PATTERNS
@@ -1,5 +1,5 @@
1
1
  import { p as parseDocument } from "./index10.js";
2
- import { l as libExports } from "./index4.js";
2
+ import { l as libExports } from "./index5.js";
3
3
  import { s as sanitizeHTML } from "./sanitizeHTML.js";
4
4
  function parseHtml(html, options) {
5
5
  const sanitized = sanitizeHTML(html);
@@ -1,5 +1,5 @@
1
1
  import { p as parseDocument } from "./index10.js";
2
- import { l as libExports } from "./index4.js";
2
+ import { l as libExports } from "./index5.js";
3
3
  function parseSvg(svg) {
4
4
  const doc = parseDocument(svg, {
5
5
  xmlMode: true,
@@ -0,0 +1,61 @@
1
+ var ScrollSpeed = /* @__PURE__ */ ((ScrollSpeed2) => {
2
+ ScrollSpeed2["slow"] = "slow";
3
+ ScrollSpeed2["normal"] = "normal";
4
+ ScrollSpeed2["fast"] = "fast";
5
+ return ScrollSpeed2;
6
+ })(ScrollSpeed || {});
7
+ var ScrubStart = /* @__PURE__ */ ((ScrubStart2) => {
8
+ ScrubStart2["bottom"] = "bottom";
9
+ ScrubStart2["center"] = "center";
10
+ ScrubStart2["top"] = "top";
11
+ return ScrubStart2;
12
+ })(ScrubStart || {});
13
+ const ROOT_CLASS = "video-scrub";
14
+ const DEFAULT_VIDEO_RATIO = 9 / 16;
15
+ const SCROLL_VH_PER_SECOND = {
16
+ [ScrollSpeed.slow]: 30,
17
+ [ScrollSpeed.normal]: 20.8,
18
+ [ScrollSpeed.fast]: 12
19
+ };
20
+ const MIN_SCROLL_VH = 50;
21
+ const MAX_SCROLL_VH = 1e3;
22
+ const STICKY_TOP = "var(--video-scrub-sticky-top)";
23
+ const START_LINE = {
24
+ [ScrubStart.bottom]: 1,
25
+ [ScrubStart.center]: 0.5
26
+ };
27
+ const TIMEFRAMES_LAYER_CLASS = "video-scrub-timeframes";
28
+ const ARIA_LABEL_NAMESPACE = "ariaLabels";
29
+ const TIMEFRAMES_ARIA_LABEL_KEY = "VideoScrub_AriaLabel_Timeframes";
30
+ const TIMEFRAMES_ARIA_LABEL_DEFAULT = "Video content";
31
+ const TIMEFRAMES_GROUP_KEY = "timeframes";
32
+ const MAX_COUNT = 40;
33
+ const TIMEFRAME_CONTENT_CLASS = "video-scrub-timeframe-content";
34
+ const isDuration = (durationMs) => durationMs !== void 0 && Number.isInteger(durationMs) && durationMs > 0;
35
+ function assertDuration(durationMs) {
36
+ if (!isDuration(durationMs)) {
37
+ throw new RangeError(
38
+ `durationMs must be a positive whole number, got ${durationMs}.`
39
+ );
40
+ }
41
+ }
42
+ export {
43
+ ARIA_LABEL_NAMESPACE as A,
44
+ DEFAULT_VIDEO_RATIO as D,
45
+ MAX_SCROLL_VH as M,
46
+ ROOT_CLASS as R,
47
+ STICKY_TOP as S,
48
+ TIMEFRAME_CONTENT_CLASS as T,
49
+ ScrollSpeed as a,
50
+ SCROLL_VH_PER_SECOND as b,
51
+ START_LINE as c,
52
+ MIN_SCROLL_VH as d,
53
+ assertDuration as e,
54
+ TIMEFRAMES_ARIA_LABEL_DEFAULT as f,
55
+ TIMEFRAMES_ARIA_LABEL_KEY as g,
56
+ TIMEFRAMES_LAYER_CLASS as h,
57
+ isDuration as i,
58
+ ScrubStart as j,
59
+ TIMEFRAMES_GROUP_KEY as k,
60
+ MAX_COUNT as l
61
+ };
@@ -3,13 +3,13 @@ import * as React from "react";
3
3
  import React__default, { useState, useEffect, useMemo } from "react";
4
4
  import { c as clsx } from "./clsx.js";
5
5
  import { a as getDataAttributes } from "./dataUtils.js";
6
- import { a as activateBySpaceOrEnterButton, e as getTabIndexAttribute } from "./a11y.js";
6
+ import { a as activateBySpaceOrEnterButton, f as getTabIndexAttribute } from "./a11y.js";
7
7
  import * as __rspack_external_react_dom_7136dc57 from "react-dom";
8
8
  import __rspack_external_react_dom_7136dc57__default from "react-dom";
9
9
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers.js";
10
10
  import { useService } from "@wix/services-manager-react";
11
11
  import { E as EnvironmentDefinition } from "./index2.js";
12
- import { T as TranslationsDefinition } from "./index6.js";
12
+ import { T as TranslationsDefinition } from "./index4.js";
13
13
  import { d as defineStaticService } from "./staticService.js";
14
14
  const CONSENT_POLICY_NAMESPACE = "CookieConsent";
15
15
  const DataHooks = {
@@ -1,4 +1,4 @@
1
- import { N as NO_PROGRESS, F as FULL_PROGRESS } from "./constants26.js";
1
+ import { N as NO_PROGRESS, F as FULL_PROGRESS } from "./constants25.js";
2
2
  function getProgressValue(value = NO_PROGRESS, targetValue = FULL_PROGRESS) {
3
3
  if (targetValue === 0) {
4
4
  return NO_PROGRESS;
@@ -13,7 +13,7 @@ import manifest$T from "./DatePicker/manifest.js";
13
13
  import manifest$S from "./Dropdown/manifest.js";
14
14
  import manifest$R from "./GoogleMap/manifest.js";
15
15
  import manifest$Q from "./HipaaIcon/manifest.js";
16
- import { H as HIPAA_SETTINGS_PANEL_ID } from "./chunks/constants34.js";
16
+ import { H as HIPAA_SETTINGS_PANEL_ID } from "./chunks/constants33.js";
17
17
  import manifest$P from "./HeadingTextBlock/manifest.js";
18
18
  import manifest$O from "./HTMLComponent/manifest.js";
19
19
  import manifest$N from "./Image3/manifest.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/editor-react-components",
3
- "version": "1.2761.0",
3
+ "version": "1.2763.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": "fbb4fd827dcf745cd40a3a614a1f0ac0d49d02177c7dc9536560f07a"
225
+ "falconPackageHash": "e2ccbfa18c5c6ccc26be75032b602446a86aa88ac904f5458c9c6129"
226
226
  }
@@ -1,72 +0,0 @@
1
- const DISPLAY_NAMES = {
2
- component: "Accordion",
3
- elements: {
4
- accordionItems: "Accordion items",
5
- itemContent: "Item content",
6
- itemTitles: "Item titles"
7
- },
8
- actions: {
9
- manageAccordion: "Manage Accordion",
10
- animatedIcon: "Customize Icon"
11
- },
12
- data: {
13
- items: "Item",
14
- title: "Title",
15
- activeItem: "Active Item",
16
- allowMultipleOpen: "Allow multiple open items",
17
- defaultState: "Choose the default state"
18
- },
19
- defaultStateOptions: {
20
- allClosed: "All items closed",
21
- firstOpened: "First item opened",
22
- allOpened: "All items opened"
23
- },
24
- displayGroups: {
25
- accordionItems: "Accordion Items"
26
- },
27
- layout: {
28
- itemsGap: "Space between items"
29
- }
30
- };
31
- const DEFAULT_PROPS = {
32
- items: [],
33
- defaultOpen: "none",
34
- allowMultipleOpen: false,
35
- titleHtmlTag: "h3"
36
- };
37
- const accordionManifestDefaults = {
38
- data: { ...DEFAULT_PROPS },
39
- style: {
40
- itemsGap: "0px"
41
- }
42
- };
43
- const CONTAINER_INITIAL_HEIGHT = 240;
44
- const DesignStates = {
45
- accordionItem: {
46
- hover: {
47
- displayName: "Hover",
48
- className: "accordion-component__accordion-item--hover"
49
- },
50
- selected: {
51
- displayName: "Selected",
52
- className: "accordion-component__accordion-item--selected"
53
- }
54
- },
55
- itemTitle: {
56
- hover: {
57
- displayName: "Hover",
58
- className: "accordion-component__item-title--hover"
59
- },
60
- selected: {
61
- displayName: "Selected",
62
- className: "accordion-component__item-title--selected"
63
- }
64
- }
65
- };
66
- export {
67
- CONTAINER_INITIAL_HEIGHT as C,
68
- DesignStates as D,
69
- DEFAULT_PROPS as a,
70
- DISPLAY_NAMES as b,
71
- accordionManifestDefaults as c
72
- };