@cntrl-site/components 1.0.107-alpha.4 → 1.0.107-alpha.5

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 (50) hide show
  1. package/dist/ArchivePopup-BLfx56G_.js +203 -0
  2. package/dist/ArchivePopup-DYYtVluM.mjs +794 -0
  3. package/dist/{ArchivePopupComponent-DA_D-g4H.mjs → ArchivePopupComponent-BrP7Aary.mjs} +22 -13
  4. package/dist/{ArchivePopupComponent-BWLaTjap.js → ArchivePopupComponent-CJsr5Jx9.js} +1 -1
  5. package/dist/{ClickGallerie-CYQMgrIr.js → ClickGallerie-41L7IKhN.js} +1 -1
  6. package/dist/{ClickGallerie-o2U6oyOF.mjs → ClickGallerie-CBquEuXQ.mjs} +1 -1
  7. package/dist/Components/ArchivePopup/ArchivePopup.d.ts +5 -3
  8. package/dist/Components/ArchivePopup/ArchivePopupComponent.d.ts +15 -6
  9. package/dist/Components/utils/LinkWrapper.d.ts +1 -0
  10. package/dist/{ControlSlider-Kkec-i14.js → ControlSlider-D91b53un.js} +1 -1
  11. package/dist/{ControlSlider-LcZmviGX.mjs → ControlSlider-mp-LvrTR.mjs} +1 -1
  12. package/dist/{FAQ-BxhMo7T8.js → FAQ-8goVE-aB.js} +1 -1
  13. package/dist/{FAQ-CdwSft5p.mjs → FAQ-KL9X1-xe.mjs} +1 -1
  14. package/dist/{Grid-CFHTP3mb.js → Grid-Dec4bMvK.js} +1 -1
  15. package/dist/{Grid-e-gLfsji.mjs → Grid-wxlTwFLb.mjs} +1 -1
  16. package/dist/{ImageRevealSlider-BuukTGAK.js → ImageRevealSlider-Bv092gwv.js} +1 -1
  17. package/dist/{ImageRevealSlider-Df9sygk9.mjs → ImageRevealSlider-K_nNoquq.mjs} +1 -1
  18. package/dist/{Lightbox-DaunVrkp.js → Lightbox-C2r7Wt_8.js} +1 -1
  19. package/dist/{Lightbox-C_fXsfdz.mjs → Lightbox-Cyvva2uu.mjs} +1 -1
  20. package/dist/LinkWrapper-CFEH047t.mjs +14 -0
  21. package/dist/LinkWrapper-CzFwFtgU.js +1 -0
  22. package/dist/{Marquee-DfIP-tIN.js → Marquee-BacOdRJ9.js} +1 -1
  23. package/dist/{Marquee-DByooiWP.mjs → Marquee-DGbeihUh.mjs} +1 -1
  24. package/dist/{MarqueeText-DsUiV6Zv.js → MarqueeText-BuEx2FCt.js} +1 -1
  25. package/dist/{MarqueeText-D6FNCe6P.mjs → MarqueeText-DTlCevPX.mjs} +1 -1
  26. package/dist/{RichTextRenderer-K90Dd7pt.js → RichTextRenderer-CUEc4FaL.js} +1 -1
  27. package/dist/{RichTextRenderer-BptwNpbJ.mjs → RichTextRenderer-DizfCZEz.mjs} +1 -1
  28. package/dist/{Slider20-fMVeRfgx.js → Slider20-BdeHmG8C.js} +1 -1
  29. package/dist/{Slider20-CCzixTiN.mjs → Slider20-DS-FTzQC.mjs} +1 -1
  30. package/dist/{TestimonialGrid-CiCagfBU.js → TestimonialGrid-B0JHzqhv.js} +1 -1
  31. package/dist/{TestimonialGrid-CbsVxSn9.mjs → TestimonialGrid-BOqSqVin.mjs} +1 -1
  32. package/dist/{TestimonialSingle-BVm3Amrl.mjs → TestimonialSingle-7-PMnQ7u.mjs} +1 -1
  33. package/dist/{TestimonialSingle-BWXynGjv.js → TestimonialSingle-Bx_V-cYE.js} +1 -1
  34. package/dist/{components-TTO7gMs8.mjs → components-ChAw6dC4.mjs} +4 -4
  35. package/dist/{components-D_zkX3D5.js → components-DYLz2yIK.js} +1 -1
  36. package/dist/elements.js +1 -1
  37. package/dist/elements.mjs +12 -12
  38. package/dist/elements.node.js +1 -1
  39. package/dist/elements.node.mjs +1 -1
  40. package/dist/index.js +1 -1
  41. package/dist/index.mjs +2 -2
  42. package/dist/sources.js +119 -50
  43. package/dist/sources.mjs +119 -50
  44. package/dist/utils.js +1 -1
  45. package/dist/utils.mjs +1 -1
  46. package/package.json +1 -1
  47. package/dist/ArchivePopup-BxBwrctO.mjs +0 -746
  48. package/dist/ArchivePopup-Dc2eKEqf.js +0 -190
  49. package/dist/LinkWrapper-Ca84iPtg.js +0 -1
  50. package/dist/LinkWrapper-DZs9hlOn.mjs +0 -13
package/dist/sources.mjs CHANGED
@@ -1,10 +1,10 @@
1
- import { W as n, b as e, T as t, g as i, f as o, S as r, P as a, O as s, h as l, a as c, M as d, L as u, d as g, e as m, H as p, i as h, G as f, F as v, c as P, C as x, B as b, A as y } from "./ArchivePopupComponent-DA_D-g4H.mjs";
1
+ import { W as n, b as e, T as t, g as i, f as o, S as r, P as a, O as s, h as l, a as c, M as d, L as u, d as g, e as m, H as p, i as h, G as f, F as v, c as P, C as x, B as b, A as y } from "./ArchivePopupComponent-BrP7Aary.mjs";
2
2
  const S = `import { Fragment, useCallback, useEffect, useLayoutEffect, useMemo, useRef, useState, type CSSProperties, type MouseEvent } from 'react';
3
3
  import { createPortal } from 'react-dom';
4
4
  import cn from 'classnames';
5
5
  import { CommonComponentProps } from '../props';
6
- import { buildColorVars, scalingValue, useScopedStyles } from '../utils/index';
7
- import { RichTextRenderer } from '../helpers/RichTextRenderer/RichTextRenderer';
6
+ import { buildColorVars, scalingValue, useScopedStyles, type ContentLink } from '../utils/index';
7
+ import { buildValidUrl } from '../utils/LinkWrapper';
8
8
  import { omitTextColors, TextStyles, textStylesToCss } from '../utils/textStylesToCss';
9
9
  import { useLightboxScrollLock } from '../utils/useLightboxScrollLock';
10
10
 
@@ -53,17 +53,19 @@ export const ARCHIVE_POPUP_COLUMN_STYLE_PREFIXES = ['column1', 'column2', 'colum
53
53
 
54
54
  type ArchivePopupColumnStylePrefix = typeof ARCHIVE_POPUP_COLUMN_STYLE_PREFIXES[number];
55
55
 
56
- type ArchivePopupTitle = any[] | string;
56
+ // Plain text; a row saved while titles were rich text still holds its nodes.
57
+ type ArchivePopupTitle = string | any[];
57
58
 
58
59
  export type ArchivePopupContentItem = {
59
60
  group?: string;
60
- /** Rich text, so parts of a title can be linked; a plain string is still shown as is. */
61
+ /** Plain text, so the entry's \`link\` is the only link a row has. */
61
62
  title?: ArchivePopupTitle;
62
63
  title2?: ArchivePopupTitle;
63
64
  title3?: ArchivePopupTitle;
64
65
  title4?: ArchivePopupTitle;
65
- /** The row's hover images, shown in turn while it is hovered; a row saved before there could be several holds just one. */
66
66
  image?: ArchivePopupMedia | ArchivePopupMedia[];
67
+ /** The whole row links here. */
68
+ link?: ContentLink;
67
69
  };
68
70
 
69
71
  type FontSettings = { fontWeight: number; fontStyle: string };
@@ -256,6 +258,17 @@ export function getArchivePopupRowMedia(item: ArchivePopupContentItem | undefine
256
258
  return (Array.isArray(image) ? image : image ? [image] : []).filter((media) => Boolean(media?.assetId));
257
259
  }
258
260
 
261
+ // A title saved as rich text shows its words alone, a line to each paragraph, its links and styling dropped.
262
+ function getTitleText(title: ArchivePopupTitle | undefined): string {
263
+ if (!Array.isArray(title)) return title ?? '';
264
+ const getNodeText = (node: any): string => node.text ?? (node.children ?? []).map(getNodeText).join('');
265
+ return title.map(getNodeText).join('\\n');
266
+ }
267
+
268
+ function getMediaKey(rowIndex: number, mediaIndex: number, assetId: string): string {
269
+ return \`\${rowIndex}-\${mediaIndex}-\${assetId}\`;
270
+ }
271
+
259
272
  function isVideoMedia(media: ArchivePopupMedia): boolean {
260
273
  if (media.type === 'video') return true;
261
274
  if (media.type === 'image') return false;
@@ -402,14 +415,26 @@ function getCSS(P: string): string {
402
415
  height: 100%;
403
416
  object-fit: cover;
404
417
  opacity: 0;
405
- transition: opacity \${IMAGE_FADE_MS}ms cubic-bezier(0, 0, 0.58, 1);
406
418
  }
407
419
  .\${P}-media-contain {
408
420
  object-fit: contain;
409
421
  }
422
+ /* The image replaced stays whole under the next until that is in, then goes at once, so neither the page nor an older
423
+ image shows between them; only the image coming in and, as the list is left, those on screen fade. */
424
+ .\${P}-media-visible,
425
+ .\${P}-media-fading {
426
+ transition: opacity \${IMAGE_FADE_MS}ms cubic-bezier(0, 0, 0.58, 1);
427
+ }
410
428
  .\${P}-media-visible {
429
+ z-index: 1;
411
430
  opacity: 1;
412
431
  }
432
+ .\${P}-media-covered {
433
+ opacity: 1;
434
+ }
435
+ .\${P}-media-fading {
436
+ opacity: 0;
437
+ }
413
438
  .\${P}-close {
414
439
  position: absolute;
415
440
  z-index: 2;
@@ -450,9 +475,6 @@ function getCSS(P: string): string {
450
475
  position: absolute;
451
476
  pointer-events: none;
452
477
  }
453
- .\${P}-panel-copy .\${P}-row-active .\${P}-title {
454
- color: var(--\${P}-text-hover-color, var(--\${P}-text-color));
455
- }
456
478
  @media (prefers-reduced-motion: reduce) {
457
479
  .\${P}-panel {
458
480
  transition: none;
@@ -472,6 +494,10 @@ function getCSS(P: string): string {
472
494
  grid-template-columns: subgrid;
473
495
  align-items: baseline;
474
496
  }
497
+ a.\${P}-row {
498
+ color: inherit;
499
+ text-decoration: none;
500
+ }
475
501
  .\${P}-group-unlabeled .\${P}-row {
476
502
  grid-column: 1 / -1;
477
503
  }
@@ -484,6 +510,7 @@ function getCSS(P: string): string {
484
510
  .\${P}-title {
485
511
  min-width: 0;
486
512
  overflow-wrap: anywhere;
513
+ white-space: pre-line;
487
514
  transition: color 150ms cubic-bezier(0, 0, 0.58, 1);
488
515
  }
489
516
  .\${P}-control-anchor {
@@ -491,11 +518,9 @@ function getCSS(P: string): string {
491
518
  pointer-events: none;
492
519
  z-index: 2;
493
520
  }
494
- .\${P}-title a {
495
- text-decoration: inherit;
496
- }
497
521
  .\${P}-interactive .\${P}-row:hover .\${P}-title,
498
- .\${P}-row:focus-within .\${P}-title,
522
+ .\${P}-row:focus-visible .\${P}-title,
523
+ .\${P}-panel-copy .\${P}-row-active .\${P}-title,
499
524
  .\${P}-state-hover .\${P}-row:first-of-type .\${P}-title {
500
525
  color: var(--\${P}-text-hover-color, var(--\${P}-text-color));
501
526
  }
@@ -506,18 +531,27 @@ function ArchivePopupMediaItem({
506
531
  P,
507
532
  media,
508
533
  isVisible,
534
+ isLoaded,
535
+ isCovered,
536
+ isFading,
537
+ onLoad,
509
538
  }: {
510
539
  P: string;
511
540
  media: ArchivePopupMedia;
512
541
  isVisible: boolean;
542
+ isLoaded: boolean;
543
+ isCovered: boolean;
544
+ isFading: boolean;
545
+ onLoad: () => void;
513
546
  }) {
514
547
  const videoRef = useRef<HTMLVideoElement>(null);
515
- const [isLoaded, setIsLoaded] = useState(false);
516
548
  const isVideo = isVideoMedia(media);
517
549
  const className = cn(
518
550
  \`\${P}-media\`,
519
551
  media.objectFit === 'contain' && \`\${P}-media-contain\`,
520
552
  isVisible && isLoaded && \`\${P}-media-visible\`,
553
+ isCovered && \`\${P}-media-covered\`,
554
+ isFading && \`\${P}-media-fading\`,
521
555
  );
522
556
 
523
557
  useEffect(() => {
@@ -540,7 +574,7 @@ function ArchivePopupMediaItem({
540
574
  loop
541
575
  playsInline
542
576
  preload="auto"
543
- onLoadedData={() => setIsLoaded(true)}
577
+ onLoadedData={onLoad}
544
578
  />
545
579
  );
546
580
  }
@@ -551,7 +585,7 @@ function ArchivePopupMediaItem({
551
585
  src={media.assetId}
552
586
  alt=""
553
587
  decoding="async"
554
- onLoad={() => setIsLoaded(true)}
588
+ onLoad={onLoad}
555
589
  />
556
590
  );
557
591
  }
@@ -682,6 +716,11 @@ export function ArchivePopup({
682
716
  // Which of the hovered row's images shows, counted afresh on every hover.
683
717
  const [activeMediaIndex, setActiveMediaIndex] = useState(0);
684
718
  const [mountedMedia, setMountedMedia] = useState<Set<number>>(() => new Set());
719
+ // The image just replaced, kept whole under the next while it fades in, and the last one shown, to fade out on leave.
720
+ const [loadedMedia, setLoadedMedia] = useState<Set<string>>(() => new Set());
721
+ const [coveredMedia, setCoveredMedia] = useState<string | null>(null);
722
+ const [lastShownMedia, setLastShownMedia] = useState<string | null>(null);
723
+ const shownMediaRef = useRef<string | null>(null);
685
724
  const [closePosition, setClosePosition] = useState<{ top: number; left: number } | null>(null);
686
725
  const [layoutStyle, setLayoutStyle] = useState<CSSProperties>({});
687
726
  const [copyRect, setCopyRect] = useState<{ top: number; left: number; width: number } | null>(null);
@@ -834,6 +873,26 @@ export function ArchivePopup({
834
873
  return () => window.clearInterval(timer);
835
874
  }, [activeIndex, activeRowMediaCount, hoverInterval]);
836
875
 
876
+ // Before paint, or the replaced image would drop out for a frame before it is kept.
877
+ const shownAssetId = activeIndex === null ? undefined : getArchivePopupRowMedia(items[activeIndex])[activeMediaIndex]?.assetId;
878
+ const shownMedia = activeIndex !== null && shownAssetId !== undefined ? getMediaKey(activeIndex, activeMediaIndex, shownAssetId) : null;
879
+ const isShownMediaLoaded = shownMedia !== null && loadedMedia.has(shownMedia);
880
+ useLayoutEffect(() => {
881
+ const previous = shownMediaRef.current;
882
+ shownMediaRef.current = shownMedia;
883
+ // Leaving keeps both, to fade out together: the one under the last is still on screen while the last fades in.
884
+ if (shownMedia === null) return;
885
+ setLastShownMedia(shownMedia);
886
+ setCoveredMedia(previous);
887
+ }, [shownMedia]);
888
+
889
+ // The replaced image goes once the next has loaded and faded in over it, however long the load takes.
890
+ useEffect(() => {
891
+ if (!isShownMediaLoaded || coveredMedia === null) return;
892
+ const timer = window.setTimeout(() => setCoveredMedia(null), IMAGE_FADE_MS);
893
+ return () => window.clearTimeout(timer);
894
+ }, [isShownMediaLoaded, coveredMedia]);
895
+
837
896
  const showRowMedia = (index: number) => {
838
897
  if (!isInteractive || getArchivePopupRowMedia(items[index]).length === 0) {
839
898
  setActiveIndex(null);
@@ -851,7 +910,7 @@ export function ArchivePopup({
851
910
  setActiveIndex((current) => (current === index ? null : current));
852
911
  };
853
912
 
854
- // Title links only navigate on a live page or in preview, not on the editor canvas.
913
+ // Row links only navigate on a live page or in preview, not on the editor canvas.
855
914
  const onPanelClickCapture = (event: MouseEvent<HTMLDivElement>) => {
856
915
  if (!isInteractive && (event.target as HTMLElement).closest('a')) {
857
916
  event.preventDefault();
@@ -885,14 +944,21 @@ export function ArchivePopup({
885
944
 
886
945
  const mediaLayer = (
887
946
  <div className={cn(\`\${P}-media-layer\`, isMediaCut && \`\${P}-media-layer-instant\`)} aria-hidden="true">
888
- {[...mountedMedia].flatMap((index) => getArchivePopupRowMedia(items[index]).map((media, mediaIndex) => (
889
- <ArchivePopupMediaItem
890
- key={\`\${index}-\${mediaIndex}-\${media.assetId}\`}
891
- P={P}
892
- media={media}
893
- isVisible={activeIndex === index && activeMediaIndex === mediaIndex}
894
- />
895
- )))}
947
+ {[...mountedMedia].flatMap((index) => getArchivePopupRowMedia(items[index]).map((media, mediaIndex) => {
948
+ const mediaKey = getMediaKey(index, mediaIndex, media.assetId);
949
+ return (
950
+ <ArchivePopupMediaItem
951
+ key={mediaKey}
952
+ P={P}
953
+ media={media}
954
+ isVisible={mediaKey === shownMedia}
955
+ isLoaded={loadedMedia.has(mediaKey)}
956
+ isCovered={mediaKey === coveredMedia}
957
+ isFading={shownMedia === null && (mediaKey === lastShownMedia || mediaKey === coveredMedia)}
958
+ onLoad={() => setLoadedMedia((prev) => (prev.has(mediaKey) ? prev : new Set(prev).add(mediaKey)))}
959
+ />
960
+ );
961
+ }))}
896
962
  </div>
897
963
  );
898
964
  // Inline there is no slide-in to wait for, so the canvas controls can measure straight away.
@@ -957,30 +1023,33 @@ export function ArchivePopup({
957
1023
  {group.label}
958
1024
  </span>
959
1025
  )}
960
- {group.rows.map(({ item, index }) => (
961
- <div
962
- key={index}
963
- className={cn(\`\${P}-row\`, isCopy && index === activeIndex && \`\${P}-row-active\`)}
964
- {...(isCopy ? {} : {
965
- onMouseEnter: () => showRowMedia(index),
966
- onMouseLeave: () => hideRowMedia(index),
967
- onFocus: () => showRowMedia(index),
968
- onBlur: () => hideRowMedia(index),
969
- })}
970
- >
971
- {!hasGroupColumn && (
972
- <div className={\`\${P}-title\`} style={columnTypographyCss[0]}>{item.group}</div>
973
- )}
974
- {titleKeys.map((key, titleIndex) => {
975
- const title = item[key];
976
- return (
977
- <div key={key} className={\`\${P}-title\`} style={columnTypographyCss[titleIndex + 1]}>
978
- {Array.isArray(title) ? <RichTextRenderer content={title} /> : title}
979
- </div>
980
- );
981
- })}
982
- </div>
983
- ))}
1026
+ {group.rows.map(({ item, index }) => {
1027
+ const rowLink = !isCopy && item.link?.value ? item.link : undefined;
1028
+ const RowElement = rowLink ? 'a' : 'div';
1029
+ return (
1030
+ <RowElement
1031
+ key={index}
1032
+ className={cn(\`\${P}-row\`, isCopy && index === activeIndex && \`\${P}-row-active\`)}
1033
+ {...(rowLink ? {
1034
+ href: buildValidUrl(rowLink.value),
1035
+ ...(rowLink.target === 'blank' && { target: '_blank', rel: 'noreferrer' }),
1036
+ } : {})}
1037
+ {...(isCopy ? {} : {
1038
+ onMouseEnter: () => showRowMedia(index),
1039
+ onMouseLeave: () => hideRowMedia(index),
1040
+ onFocus: () => showRowMedia(index),
1041
+ onBlur: () => hideRowMedia(index),
1042
+ })}
1043
+ >
1044
+ {!hasGroupColumn && (
1045
+ <div className={\`\${P}-title\`} style={columnTypographyCss[0]}>{item.group}</div>
1046
+ )}
1047
+ {titleKeys.map((key, titleIndex) => (
1048
+ <div key={key} className={\`\${P}-title\`} style={columnTypographyCss[titleIndex + 1]}>{getTitleText(item[key])}</div>
1049
+ ))}
1050
+ </RowElement>
1051
+ );
1052
+ })}
984
1053
  </div>
985
1054
  </Fragment>
986
1055
  ))}
package/dist/utils.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./scalingValue-CSHYgTZl.js"),l=require("./buildColorVars-CE2D5cQV.js"),t=require("./getColorAlpha-CoSseoCn.js"),a=require("./formFieldValidation-DZl2KVaF.js"),o=require("./useScopedStyles-Bf6yohVQ.js"),s=require("./useLazyVideos-CdCbc2j0.js"),d=require("./readTestimonialTextMeasure-CEPaB4Sy.js"),i=require("./panelAvailability-DnOe0rQ4.js"),m=require("./LinkWrapper-Ca84iPtg.js"),e=require("./EmbedMediaFrame-DsOTKE4i.js");exports.scalingValue=r.scalingValue;exports.buildColorVars=l.buildColorVars;exports.getColorAlpha=t.getColorAlpha;exports.getFormFieldValidationError=a.getFormFieldValidationError;exports.isValidEmailFormat=a.isValidEmailFormat;exports.isValidPhoneFormat=a.isValidPhoneFormat;exports.useScopedStyles=o.useScopedStyles;exports.useLazyVideos=s.useLazyVideos;exports.readTestimonialTextMeasure=d.readTestimonialTextMeasure;exports.getAvailableStatePanels=i.getAvailableStatePanels;exports.getUnavailableStates=i.getUnavailableStates;exports.isPanelAvailable=i.isPanelAvailable;exports.LinkWrapper=m.LinkWrapper;exports.EmbedMediaFrame=e.EmbedMediaFrame;exports.getEmbedAspect=e.getEmbedAspect;exports.getEmbedPlayback=e.getEmbedPlayback;exports.getEmbedPlayerSrc=e.getEmbedPlayerSrc;exports.getEmbedProvider=e.getEmbedProvider;exports.isEmbedMedia=e.isEmbedMedia;exports.postEmbedCommand=e.postEmbedCommand;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./scalingValue-CSHYgTZl.js"),l=require("./buildColorVars-CE2D5cQV.js"),t=require("./getColorAlpha-CoSseoCn.js"),a=require("./formFieldValidation-DZl2KVaF.js"),o=require("./useScopedStyles-Bf6yohVQ.js"),s=require("./useLazyVideos-CdCbc2j0.js"),d=require("./readTestimonialTextMeasure-CEPaB4Sy.js"),i=require("./panelAvailability-DnOe0rQ4.js"),m=require("./LinkWrapper-CzFwFtgU.js"),e=require("./EmbedMediaFrame-DsOTKE4i.js");exports.scalingValue=r.scalingValue;exports.buildColorVars=l.buildColorVars;exports.getColorAlpha=t.getColorAlpha;exports.getFormFieldValidationError=a.getFormFieldValidationError;exports.isValidEmailFormat=a.isValidEmailFormat;exports.isValidPhoneFormat=a.isValidPhoneFormat;exports.useScopedStyles=o.useScopedStyles;exports.useLazyVideos=s.useLazyVideos;exports.readTestimonialTextMeasure=d.readTestimonialTextMeasure;exports.getAvailableStatePanels=i.getAvailableStatePanels;exports.getUnavailableStates=i.getUnavailableStates;exports.isPanelAvailable=i.isPanelAvailable;exports.LinkWrapper=m.LinkWrapper;exports.EmbedMediaFrame=e.EmbedMediaFrame;exports.getEmbedAspect=e.getEmbedAspect;exports.getEmbedPlayback=e.getEmbedPlayback;exports.getEmbedPlayerSrc=e.getEmbedPlayerSrc;exports.getEmbedProvider=e.getEmbedProvider;exports.isEmbedMedia=e.isEmbedMedia;exports.postEmbedCommand=e.postEmbedCommand;
package/dist/utils.mjs CHANGED
@@ -6,7 +6,7 @@ import { u as g } from "./useScopedStyles-DhBG3557.mjs";
6
6
  import { u as f } from "./useLazyVideos-CxXyEjRQ.mjs";
7
7
  import { r as n } from "./readTestimonialTextMeasure-BIXpGFEt.mjs";
8
8
  import { g as c, a as P, i as V } from "./panelAvailability-D179wwJx.mjs";
9
- import { L as S } from "./LinkWrapper-DZs9hlOn.mjs";
9
+ import { L as S } from "./LinkWrapper-CFEH047t.mjs";
10
10
  import { E as y, g as A, a as C, b as L, c as M, i as h, p as k } from "./EmbedMediaFrame-DwHeOAy5.mjs";
11
11
  export {
12
12
  y as EmbedMediaFrame,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cntrl-site/components",
3
- "version": "1.0.107-alpha.4",
3
+ "version": "1.0.107-alpha.5",
4
4
  "description": "Custom components for control editor and public websites.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",