@wix/editor-react-components 1.2546.0 → 1.2548.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 (79) hide show
  1. package/dist/site/components/AccordionComponent/manifest.js +1 -1
  2. package/dist/site/components/AccordionComponent/manifestConfigs/iconPositionConfig.d.ts +2 -2
  3. package/dist/site/components/AnimatedIcon/manifest.js +1 -1
  4. package/dist/site/components/AudioPlayer/manifest.js +1 -1
  5. package/dist/site/components/AudioPlayer/manifestConfigs/controlsConfig.d.ts +6 -6
  6. package/dist/site/components/AudioPlayer/manifestConfigs/coverMediaConfig.d.ts +1 -1
  7. package/dist/site/components/BoxContainer/manifest.js +1 -1
  8. package/dist/site/components/Breadcrumbs/manifest.js +1 -1
  9. package/dist/site/components/Button/manifest.js +1 -1
  10. package/dist/site/components/Checkbox/manifest.js +1 -1
  11. package/dist/site/components/CheckboxGroup/manifest.js +1 -1
  12. package/dist/site/components/CollapsibleText/manifest.js +1 -1
  13. package/dist/site/components/DatePicker/manifest.js +1 -1
  14. package/dist/site/components/Dropdown/manifest.js +1 -1
  15. package/dist/site/components/GoogleMap/manifest.js +1 -1
  16. package/dist/site/components/HTMLComponent/manifest.js +1 -1
  17. package/dist/site/components/HipaaIcon/manifest.js +1 -1
  18. package/dist/site/components/Image3/manifest.js +1 -1
  19. package/dist/site/components/ItemSelectionTest/manifest.js +1 -1
  20. package/dist/site/components/LegacyAppWidget/manifest.js +1 -1
  21. package/dist/site/components/LegacyContainer/manifest.js +1 -1
  22. package/dist/site/components/LegacyMultiStateBox/manifest.js +1 -1
  23. package/dist/site/components/Line/manifest.js +1 -1
  24. package/dist/site/components/Line/manifestConfigs/shapeConfig.d.ts +2 -2
  25. package/dist/site/components/Line/manifestConfigs/typeConfig.d.ts +2 -2
  26. package/dist/site/components/LinkBar/manifest.js +1 -1
  27. package/dist/site/components/Logo/manifest.js +1 -1
  28. package/dist/site/components/Lottie/manifest.js +1 -1
  29. package/dist/site/components/Menu/manifest.js +1 -1
  30. package/dist/site/components/Menu/manifestConfigs/dropdownConfig.d.ts +38 -38
  31. package/dist/site/components/MultiStateBox/manifest.js +1 -1
  32. package/dist/site/components/ProgressBar/manifest.js +1 -1
  33. package/dist/site/components/RadioButtons/manifest.js +1 -1
  34. package/dist/site/components/Repeater/LoadMoreButton.d.ts +1 -0
  35. package/dist/site/components/Repeater/component.js +50 -51
  36. package/dist/site/components/Repeater/hooks/useAsyncLoadMore.d.ts +3 -3
  37. package/dist/site/components/Repeater/hooks/useLoadMoreObserver.d.ts +1 -6
  38. package/dist/site/components/Repeater/manifest.js +1 -1
  39. package/dist/site/components/ShareButtons/manifest.js +1 -1
  40. package/dist/site/components/SiteLogo/manifest.js +1 -1
  41. package/dist/site/components/Slideshow/manifest.js +1 -1
  42. package/dist/site/components/SlotsPlaceholder/manifest.js +1 -1
  43. package/dist/site/components/SocialPlayerFacebook/manifest.js +1 -1
  44. package/dist/site/components/SocialPlayerInstagram/manifest.js +1 -1
  45. package/dist/site/components/SocialPlayerSnapchat/manifest.js +1 -1
  46. package/dist/site/components/SocialPlayerTikTok/manifest.js +1 -1
  47. package/dist/site/components/SocialPlayerVimeo/manifest.js +1 -1
  48. package/dist/site/components/SocialPlayerYoutube/manifest.js +1 -1
  49. package/dist/site/components/SvgImage/manifest.js +1 -1
  50. package/dist/site/components/Tabs/manifest.js +1 -1
  51. package/dist/site/components/TestComp/manifest.js +1 -1
  52. package/dist/site/components/TextBox/manifest.js +1 -1
  53. package/dist/site/components/TextEffects3d/manifest.js +1 -1
  54. package/dist/site/components/TextEffectsBauhaus/manifest.js +1 -1
  55. package/dist/site/components/TextEffectsGlass/manifest.js +1 -1
  56. package/dist/site/components/TextEffectsGlitch/manifest.js +1 -1
  57. package/dist/site/components/TextEffectsLetterPress/manifest.js +1 -1
  58. package/dist/site/components/TextEffectsMatrix/manifest.js +1 -1
  59. package/dist/site/components/TextEffectsNeonSign/manifest.js +1 -1
  60. package/dist/site/components/TextEffectsNoisy/manifest.js +1 -1
  61. package/dist/site/components/TextEffectsOutlineOut/manifest.js +1 -1
  62. package/dist/site/components/TextEffectsRetro/manifest.js +1 -1
  63. package/dist/site/components/TextEffectsShared/manifestBase.d.ts +7 -7
  64. package/dist/site/components/TextEffectsShook/manifest.js +1 -1
  65. package/dist/site/components/TextEffectsSticker/manifest.js +1 -1
  66. package/dist/site/components/TextEffectsStriped/manifest.js +1 -1
  67. package/dist/site/components/TextInput/manifest.js +1 -1
  68. package/dist/site/components/TextMarquee/manifest.js +1 -1
  69. package/dist/site/components/TimePicker/manifest.js +1 -1
  70. package/dist/site/components/TransparentVideo/manifest.js +1 -1
  71. package/dist/site/components/VideoUpload/manifest.js +1 -1
  72. package/dist/site/components/WRichText/manifest.js +1 -1
  73. package/dist/site/components/chunks/{chunk-6KMOHX3X.js → chunk-IO6HLVLV.js} +639 -641
  74. package/dist/site/components/chunks/constants22.js +1 -1
  75. package/dist/site/components/chunks/manifest2.js +1 -1
  76. package/dist/site/components/chunks/manifestBase.js +1 -1
  77. package/dist/site/components/chunks/manifestSdkMixins.js +1 -1
  78. package/dist/site/components/chunks/types.impl.js +418 -375
  79. package/package.json +5 -5
@@ -4,65 +4,55 @@ import { f as convertA11yKeysToHtmlFormat } from "../chunks/a11y.js";
4
4
  import { d as directionStyles } from "../chunks/direction.module.js";
5
5
  import { p as presetWrapperStyles } from "../chunks/presetWrapper.module.js";
6
6
  import { D as DEFAULT_ITEMS_PER_ROW, C as COLUMN_COUNT_CSS_VAR, T as TestIds, s as semanticClassNames } from "../chunks/constants23.js";
7
- import React__default, { useState, useRef, useEffect, useCallback, forwardRef } from "react";
8
- const useAsyncLoadMore = (onLoadMore, itemsLength, isLoadingProp) => {
9
- const [isLoading, setIsLoading] = useState(false);
10
- const [hasMore, setHasMore] = useState(true);
11
- const itemsLengthAtLastLoad = useRef(null);
12
- useEffect(() => {
13
- setHasMore(true);
14
- itemsLengthAtLastLoad.current = null;
15
- }, [onLoadMore]);
16
- useEffect(() => {
17
- if (itemsLengthAtLastLoad.current === null) return;
18
- setHasMore(itemsLength > itemsLengthAtLastLoad.current);
19
- itemsLengthAtLastLoad.current = null;
20
- }, [itemsLength]);
21
- const handleLoadMore = useCallback(async () => {
22
- itemsLengthAtLastLoad.current = itemsLength;
23
- setIsLoading(true);
7
+ import React__default, { useState, useRef, useCallback, useEffect, forwardRef } from "react";
8
+ const useAsyncLoadMore = (onLoadMore, itemsLength, isIntersecting, isLoadingProp) => {
9
+ const [internalLoading, setInternalLoading] = useState(false);
10
+ const [requested, setRequested] = useState(false);
11
+ const inFlightRef = useRef(false);
12
+ const isLoading = isLoadingProp ?? internalLoading;
13
+ const load = useCallback(async () => {
14
+ if (inFlightRef.current) {
15
+ return;
16
+ }
17
+ inFlightRef.current = true;
18
+ setRequested(true);
19
+ setInternalLoading(true);
24
20
  try {
25
21
  await (onLoadMore == null ? void 0 : onLoadMore());
26
22
  } catch {
27
23
  } finally {
28
- setIsLoading(false);
29
- if (itemsLengthAtLastLoad.current !== null) {
30
- setHasMore(false);
31
- itemsLengthAtLastLoad.current = null;
32
- }
24
+ inFlightRef.current = false;
25
+ setInternalLoading(false);
33
26
  }
34
- }, [onLoadMore, itemsLength]);
35
- return { isLoading: isLoadingProp ?? isLoading, handleLoadMore, hasMore };
36
- };
37
- const useLoadMoreObserver = ({
38
- enabled,
39
- onLoadMore
40
- }) => {
41
- const sentinelRef = useRef(null);
42
- const onLoadMoreRef = useRef(onLoadMore);
43
- useEffect(() => {
44
- onLoadMoreRef.current = onLoadMore;
45
27
  }, [onLoadMore]);
46
28
  useEffect(() => {
47
- if (!enabled) {
29
+ setRequested(false);
30
+ }, [itemsLength]);
31
+ useEffect(() => {
32
+ if (!onLoadMore || !isIntersecting || isLoading || internalLoading || requested) {
48
33
  return;
49
34
  }
50
- if (!sentinelRef.current) {
35
+ load();
36
+ }, [onLoadMore, isIntersecting, isLoading, internalLoading, requested, load]);
37
+ const hasReachedEnd = requested && !isLoading && !internalLoading;
38
+ return { isLoading, load, hasReachedEnd };
39
+ };
40
+ const useLoadMoreObserver = (enabled) => {
41
+ const sentinelRef = useRef(null);
42
+ const [isIntersecting, setIsIntersecting] = useState(false);
43
+ useEffect(() => {
44
+ if (!enabled || !sentinelRef.current) {
45
+ setIsIntersecting(false);
51
46
  return;
52
47
  }
53
48
  const observer = new IntersectionObserver(
54
- ([entry]) => {
55
- var _a;
56
- if (entry.isIntersecting) {
57
- (_a = onLoadMoreRef.current) == null ? void 0 : _a.call(onLoadMoreRef);
58
- }
59
- },
49
+ ([entry]) => setIsIntersecting(entry.isIntersecting),
60
50
  { rootMargin: "200px" }
61
51
  );
62
52
  observer.observe(sentinelRef.current);
63
53
  return () => observer.disconnect();
64
54
  }, [enabled]);
65
- return sentinelRef;
55
+ return [sentinelRef, isIntersecting];
66
56
  };
67
57
  const useItemsPerRow = (shouldMeasure) => {
68
58
  const ref = useRef(null);
@@ -454,6 +444,7 @@ const LiveAnnouncer = ({
454
444
  const LoadMoreButton = ({
455
445
  onLoadMore,
456
446
  isLoading,
447
+ disabled,
457
448
  label = "Load more items"
458
449
  }) => /* @__PURE__ */ jsx(
459
450
  "button",
@@ -462,7 +453,7 @@ const LoadMoreButton = ({
462
453
  "data-testid": TestIds.loadMoreButton,
463
454
  className: styles.loadMoreTrigger,
464
455
  onClick: onLoadMore,
465
- disabled: isLoading,
456
+ disabled: disabled ?? isLoading,
466
457
  "aria-busy": isLoading || void 0,
467
458
  children: label
468
459
  }
@@ -488,16 +479,17 @@ const Repeater = (props) => {
488
479
  emptyState
489
480
  } = props;
490
481
  const presetsWrapperProps = ((_a = props.wix) == null ? void 0 : _a.presetsWrapperProps) || {};
491
- const { isLoading, handleLoadMore, hasMore } = useAsyncLoadMore(
482
+ const showsEmptyState = items.length === 0 && !!emptyState;
483
+ const [sentinelRef, isIntersecting] = useLoadMoreObserver(
484
+ !!onLoadMore && !showsEmptyState
485
+ );
486
+ const { isLoading, load, hasReachedEnd } = useAsyncLoadMore(
492
487
  onLoadMore,
493
488
  items.length,
489
+ isIntersecting,
494
490
  isLoadingProp
495
491
  );
496
492
  const [ulRef, itemsPerRow] = useItemsPerRow(!!onLoadMore);
497
- const sentinelRef = useLoadMoreObserver({
498
- enabled: !!onLoadMore && hasMore,
499
- onLoadMore: onLoadMore ? handleLoadMore : void 0
500
- });
501
493
  if (!items.length && emptyState) {
502
494
  return null;
503
495
  }
@@ -551,8 +543,15 @@ const Repeater = (props) => {
551
543
  ]
552
544
  }
553
545
  ),
554
- !!onLoadMore && hasMore && /* @__PURE__ */ jsxs(Fragment, { children: [
555
- /* @__PURE__ */ jsx(LoadMoreButton, { onLoadMore: handleLoadMore, isLoading }),
546
+ !!onLoadMore && /* @__PURE__ */ jsxs(Fragment, { children: [
547
+ /* @__PURE__ */ jsx(
548
+ LoadMoreButton,
549
+ {
550
+ onLoadMore: load,
551
+ isLoading,
552
+ disabled: isLoading || hasReachedEnd
553
+ }
554
+ ),
556
555
  /* @__PURE__ */ jsx(
557
556
  "div",
558
557
  {
@@ -567,7 +566,7 @@ const Repeater = (props) => {
567
566
  LiveAnnouncer,
568
567
  {
569
568
  itemCount: items.length,
570
- hasMore,
569
+ hasMore: !hasReachedEnd,
571
570
  onLoadMore
572
571
  }
573
572
  )
@@ -1,5 +1,5 @@
1
- export declare const useAsyncLoadMore: (onLoadMore: (() => Promise<void>) | undefined, itemsLength: number, isLoadingProp?: boolean) => {
1
+ export declare const useAsyncLoadMore: (onLoadMore: (() => Promise<void>) | undefined, itemsLength: number, isIntersecting: boolean, isLoadingProp?: boolean) => {
2
2
  isLoading: boolean;
3
- handleLoadMore: () => Promise<void>;
4
- hasMore: boolean;
3
+ load: () => Promise<void>;
4
+ hasReachedEnd: boolean;
5
5
  };
@@ -1,6 +1 @@
1
- type UseLoadMoreObserverArgs = {
2
- enabled: boolean;
3
- onLoadMore: (() => void) | undefined;
4
- };
5
- export declare const useLoadMoreObserver: ({ enabled, onLoadMore, }: UseLoadMoreObserverArgs) => import('react').RefObject<HTMLDivElement>;
6
- export {};
1
+ export declare const useLoadMoreObserver: (enabled: boolean) => readonly [import('react').RefObject<HTMLDivElement>, boolean];
@@ -1,4 +1,4 @@
1
- import { I as INTERACTIONS, L as LAYOUT, a as ACTIONS, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, c as ContainerType, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { I as INTERACTIONS, L as LAYOUT, a as ACTIONS, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, c as ContainerType, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { g as getSelector } from "../chunks/manifest.js";
3
3
  import { p as presets, a as DisplayNames, D as DEFAULT_ITEMS_PER_ROW, s as semanticClassNames } from "../chunks/constants23.js";
4
4
  import { F as FunctionRole } from "../chunks/types.impl.js";
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, E as ELEMENTS, a as ACTIONS, D as DATA, N as NativeStateType, I as INTERACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, E as ELEMENTS, a as ACTIONS, D as DATA, N as NativeStateType, I as INTERACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { h as DesignStates, i as DisplayNames, j as DisplayConfig, D as DefaultValues, I as IconPositionOptions, k as PageToShareOptions, m as DefaultButtons, B as ButtonWidthOptions } from "../chunks/constants22.js";
3
3
  import { c as manifestMouseHover } from "../chunks/manifestSdkMixins.js";
4
4
  import { w as withSpec } from "../chunks/manifest.js";
@@ -1,4 +1,4 @@
1
- import { I as INTERACTIONS, D as DATA, C as CSS_PROPERTIES, a as ACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { I as INTERACTIONS, D as DATA, C as CSS_PROPERTIES, a as ACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const manifest = {
3
3
  id: "c3993ba8-0f63-4668-b729-47833b7e8fcb",
4
4
  type: "wixEditorElements.SiteLogo",
@@ -1,4 +1,4 @@
1
- import { E as ELEMENTS, C as CSS_PROPERTIES, D as DATA, a as ACTIONS, I as INTERACTIONS, b as DISPLAY_GROUPS, L as LAYOUT, c as ContainerType, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { E as ELEMENTS, C as CSS_PROPERTIES, D as DATA, a as ACTIONS, I as INTERACTIONS, b as DISPLAY_GROUPS, L as LAYOUT, c as ContainerType, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { g as getSelector } from "../chunks/manifest.js";
3
3
  import { c as DisplayNames, a as semanticClassNames, d as slideshowCssCustomPropertiesDefaults, e as slideshowCssPropertiesDefaults, s as slideshowDataDefaults } from "../chunks/Slideshow.semanticClassNames.js";
4
4
  import { c as manifestMouseHover, d as manifestClickable, e as manifestPlayable, a as manifestChangeable } from "../chunks/manifestSdkMixins.js";
@@ -1,4 +1,4 @@
1
- import { D as DATA, c as ContainerType } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { D as DATA, c as ContainerType } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const FALLBACK_SLOT_ID = "614dae06-0db1-457c-9431-806bfbb9e156";
3
3
  const manifest = {
4
4
  id: "5df938dd-345f-49bc-9623-aff6c9945efb",
@@ -1,4 +1,4 @@
1
- import { D as DATA, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, L as LAYOUT, a as ACTIONS } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { D as DATA, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, L as LAYOUT, a as ACTIONS } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const manifest = {
3
3
  id: "ac17f3cb-c4f8-4f35-be4f-81ef456cce7e",
4
4
  type: "wixEditorElements.FacebookPlayer",
@@ -1,4 +1,4 @@
1
- import { D as DATA, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, L as LAYOUT, a as ACTIONS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { D as DATA, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, L as LAYOUT, a as ACTIONS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const manifest = {
3
3
  id: "57cac74a-f0dc-416b-9f09-0c38799c3402",
4
4
  type: "wixEditorElements.InstagramPlayer",
@@ -1,4 +1,4 @@
1
- import { D as DATA, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, L as LAYOUT, a as ACTIONS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { D as DATA, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, L as LAYOUT, a as ACTIONS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const manifest = {
3
3
  id: "fe00a488-978a-440c-aead-b43ab9795ad2",
4
4
  type: "wixEditorElements.SnapchatPlayer",
@@ -1,4 +1,4 @@
1
- import { I as INTERACTIONS, C as CSS_PROPERTIES, D as DATA, b as DISPLAY_GROUPS, L as LAYOUT, a as ACTIONS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { I as INTERACTIONS, C as CSS_PROPERTIES, D as DATA, b as DISPLAY_GROUPS, L as LAYOUT, a as ACTIONS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const manifest = {
3
3
  id: "1bc7cd37-5d90-48a6-a2c1-de94f77d4fd6",
4
4
  type: "wixEditorElements.TikTokPlayer",
@@ -1,4 +1,4 @@
1
- import { I as INTERACTIONS, C as CSS_PROPERTIES, D as DATA, b as DISPLAY_GROUPS, L as LAYOUT, a as ACTIONS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { I as INTERACTIONS, C as CSS_PROPERTIES, D as DATA, b as DISPLAY_GROUPS, L as LAYOUT, a as ACTIONS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const manifest = {
3
3
  id: "8ec522c3-d8dd-43d8-9f07-1c4c1bb09d80",
4
4
  type: "wixEditorElements.VimeoPlayer",
@@ -1,4 +1,4 @@
1
- import { I as INTERACTIONS, D as DATA, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { I as INTERACTIONS, D as DATA, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const manifest = {
3
3
  id: "4190f51c-3836-49f6-8114-96219c165b20",
4
4
  type: "wixEditorElements.YoutubePlayer",
@@ -1,4 +1,4 @@
1
- import { I as INTERACTIONS, D as DATA, C as CSS_PROPERTIES, a as ACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { I as INTERACTIONS, D as DATA, C as CSS_PROPERTIES, a as ACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const manifest = {
3
3
  id: "4dbf752a-8a67-4149-87e7-6132bc25d3c2",
4
4
  type: "wixEditorElements.SvgImage",
@@ -1,4 +1,4 @@
1
- import { E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, a as ACTIONS, I as INTERACTIONS, b as DISPLAY_GROUPS, D as DATA, L as LAYOUT, c as ContainerType, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { E as ELEMENTS, N as NativeStateType, C as CSS_PROPERTIES, a as ACTIONS, I as INTERACTIONS, b as DISPLAY_GROUPS, D as DATA, L as LAYOUT, c as ContainerType, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DesignStates, c as classes, R as ROOT_MENU_ITEM_CSS_PROPERTIES, a as ROOT_MENU_ITEM_CUSTOM_PROPERTIES } from "../chunks/constants20.js";
3
3
  import { w as withSpec } from "../chunks/manifest.js";
4
4
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
@@ -1,4 +1,4 @@
1
- import { L as LAYOUT, N as NativeStateType, E as ELEMENTS, D as DATA, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { L as LAYOUT, N as NativeStateType, E as ELEMENTS, D as DATA, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { m as manifestFocusable, c as manifestMouseHover, d as manifestClickable } from "../chunks/manifestSdkMixins.js";
3
3
  const DesignStates = {
4
4
  testCompCard: {
@@ -1,4 +1,4 @@
1
- import { E as ELEMENTS, N as NativeStateType, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { E as ELEMENTS, N as NativeStateType, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, D as DATA, L as LAYOUT, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DesignStates, b as DisplayNames, d as defaultValues, s as selectors } from "../chunks/constants18.js";
3
3
  import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
4
4
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants17.js";
3
3
  import { e as textEffectsPatternCssCustomPropertyNames, t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants16.js";
3
3
  import { t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, e as textEffectsPatternCssCustomPropertyNames, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants15.js";
3
3
  import { e as textEffectsPatternCssCustomPropertyNames, t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants14.js";
3
3
  import { t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, e as textEffectsPatternCssCustomPropertyNames, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants13.js";
3
3
  import { e as textEffectsPatternCssCustomPropertyNames, t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants12.js";
3
3
  import { t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, e as textEffectsPatternCssCustomPropertyNames, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants11.js";
3
3
  import { t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, e as textEffectsPatternCssCustomPropertyNames, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants10.js";
3
3
  import { t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, e as textEffectsPatternCssCustomPropertyNames, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, b as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants8.js";
3
3
  import { t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, e as textEffectsPatternCssCustomPropertyNames, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants7.js";
3
3
  import { t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, e as textEffectsPatternCssCustomPropertyNames, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -58,12 +58,12 @@ export declare const textEffectsBaseCssProperties: {
58
58
  textTransform: {};
59
59
  };
60
60
  export declare const textEffectsInteractions: {
61
- triggers: import('@wix/ambassador-devcenter-v1-component-type-data/types').Trigger[];
61
+ triggers: import('@wix/ambassador-devcenter-v1-component-type-data/types').InteractionsTrigger[];
62
62
  };
63
63
  export declare const textEffectsPatternCssCustomProperties: {
64
64
  'rotation-pattern-intensity': {
65
65
  displayName: string;
66
- cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyType;
66
+ cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
67
67
  number: {
68
68
  min: string;
69
69
  max: string;
@@ -71,7 +71,7 @@ export declare const textEffectsPatternCssCustomProperties: {
71
71
  };
72
72
  'offset-pattern-intensity': {
73
73
  displayName: string;
74
- cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyType;
74
+ cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
75
75
  number: {
76
76
  min: string;
77
77
  max: string;
@@ -79,9 +79,9 @@ export declare const textEffectsPatternCssCustomProperties: {
79
79
  };
80
80
  'pattern-preset': {
81
81
  displayName: string;
82
- cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyType;
82
+ cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
83
83
  customEnum: {
84
- cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyType;
84
+ cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
85
85
  options: ({
86
86
  value: "Fridge Magnet" | "Wave" | "Bounce";
87
87
  displayName: "Fridge Magnet" | "Wave" | "Bounce";
@@ -93,9 +93,9 @@ export declare const textEffectsPatternCssCustomProperties: {
93
93
  };
94
94
  'is-capitalize': {
95
95
  displayName: string;
96
- cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyType;
96
+ cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
97
97
  customEnum: {
98
- cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyType;
98
+ cssPropertyType: import('@wix/ambassador-devcenter-v1-component-type-data/types').CssPropertyEnumCssPropertyType;
99
99
  options: {
100
100
  value: string;
101
101
  displayName: string;
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants6.js";
3
3
  import { e as textEffectsPatternCssCustomPropertyNames, t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, b as textEffectsCommonData, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames, a as TEXT_TWIST_PANEL_ID, C as COMPONENT_ID } from "../chunks/constants5.js";
3
3
  import { D as DEFAULT_TEXT_DIRECTION } from "../chunks/constants9.js";
4
4
  import { b as textEffectsCommonData, e as textEffectsPatternCssCustomPropertyNames, t as textEffectsInteractions, f as textEffectsPatternCssCustomProperties, a as textEffectsBaseCssProperties, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, b as DISPLAY_GROUPS, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DisplayNames } from "../chunks/constants4.js";
3
3
  import { t as textEffectsInteractions, a as textEffectsBaseCssProperties, b as textEffectsCommonData, c as textEffectsLayout, d as textEffectsInstallation } from "../chunks/manifestBase.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { I as INTERACTIONS, D as DATA, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, E as ELEMENTS, N as NativeStateType, L as LAYOUT, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { I as INTERACTIONS, D as DATA, b as DISPLAY_GROUPS, C as CSS_PROPERTIES, E as ELEMENTS, N as NativeStateType, L as LAYOUT, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { D as DesignStates, a as DisplayNames, s as selectors } from "../chunks/constants3.js";
3
3
  import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
4
4
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, D as DATA, a as ACTIONS, L as LAYOUT, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const running_text = {
3
3
  settings: {
4
4
  movement_direction_label: "Movement direction",
@@ -1,4 +1,4 @@
1
- import { C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, E as ELEMENTS, L as LAYOUT, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { C as CSS_PROPERTIES, b as DISPLAY_GROUPS, D as DATA, E as ELEMENTS, L as LAYOUT, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { c as DisplayNames, d as defaultValues, e as DesignStates, s as selectors } from "../chunks/constants2.js";
3
3
  import { w as withSpec, g as getSelector } from "../chunks/manifest.js";
4
4
  import { I as IS_SUPPORT_DESIGN_STATE_SPEC } from "../chunks/specs.js";
@@ -1,4 +1,4 @@
1
- import { D as DATA, b as DISPLAY_GROUPS, a as ACTIONS, I as INTERACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { D as DATA, b as DISPLAY_GROUPS, a as ACTIONS, I as INTERACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-IO6HLVLV.js";
2
2
  import { V as VideoCategoryTypes } from "../chunks/types.impl.js";
3
3
  import { a as VideoEndType, V as VideoStartType } from "../chunks/TransparentVideo.types.js";
4
4
  const manifest = {
@@ -1,4 +1,4 @@
1
- import { a as ACTIONS, D as DATA, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, I as INTERACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { a as ACTIONS, D as DATA, C as CSS_PROPERTIES, b as DISPLAY_GROUPS, I as INTERACTIONS, A as Archetype, L as LAYOUT } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const manifest = {
3
3
  id: "8441a520-52ed-4c32-9b9d-0aa8c2604b01",
4
4
  type: "wixEditorElements.VideoUpload",
@@ -1,4 +1,4 @@
1
- import { L as LAYOUT, I as INTERACTIONS, D as DATA, C as CSS_PROPERTIES, A as Archetype } from "../chunks/chunk-6KMOHX3X.js";
1
+ import { L as LAYOUT, I as INTERACTIONS, D as DATA, C as CSS_PROPERTIES, A as Archetype } from "../chunks/chunk-IO6HLVLV.js";
2
2
  const presets = {
3
3
  horizontal: "horizontal"
4
4
  };