@orangelogic/design-system 2.178.0 → 2.180.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 (53) hide show
  1. package/library/chunks/{asset-link-format.Ckb6Eq0e.js → asset-link-format.DQZgnnXO.js} +1 -1
  2. package/library/chunks/{color-swatch-group.JIvuSR7O.js → color-swatch-group.C-N_nK1D.js} +64 -61
  3. package/library/chunks/{confirm-popover.BVWtAu5T.js → confirm-popover.Ck_3eEK2.js} +1 -1
  4. package/library/chunks/{dialog.clJBka-1.js → dialog.CCEQCLHm.js} +1 -1
  5. package/library/chunks/{document-viewer.5jZ0djNd.js → document-viewer.CuiJJrUL.js} +2 -2
  6. package/library/chunks/{icon-button.BWToMtdK.js → icon-button.DgNohAbE.js} +3 -3
  7. package/library/chunks/{image.mG-NXUWX.js → image.BlbB_i56.js} +1 -1
  8. package/library/chunks/{markdown.ClRfC7SP.js → markdown.D3vT7soQ.js} +2 -1
  9. package/library/chunks/{pagination.CW3yynt_.js → pagination.BP_FAMg6.js} +1 -1
  10. package/library/chunks/{tab-group.DvPwuInt.js → tab-group.CQUXoNxc.js} +1 -1
  11. package/library/chunks/url.B17OsCqV.js +76 -0
  12. package/library/components/alert.js +1 -1
  13. package/library/components/asset-link-format.js +1 -1
  14. package/library/components/atoms.js +7 -7
  15. package/library/components/audio.js +1 -1
  16. package/library/components/color-swatch-group.js +1 -1
  17. package/library/components/confirm-popover.js +2 -2
  18. package/library/components/date-calendar.js +1 -1
  19. package/library/components/dialog.js +2 -2
  20. package/library/components/document-viewer.js +2 -2
  21. package/library/components/drawer.js +1 -1
  22. package/library/components/dynamic-select.js +1 -1
  23. package/library/components/file-on-demand.js +5 -5
  24. package/library/components/icon-button.js +1 -1
  25. package/library/components/image.js +2 -2
  26. package/library/components/markdown.js +2 -2
  27. package/library/components/masonry.js +2 -2
  28. package/library/components/molecules.js +1 -1
  29. package/library/components/organisms.js +2 -2
  30. package/library/components/pagination.js +2 -2
  31. package/library/components/select.js +1 -1
  32. package/library/components/sidebar.js +1 -1
  33. package/library/components/size-input-group.js +1 -1
  34. package/library/components/tab-group.js +2 -2
  35. package/library/components/tab.js +1 -1
  36. package/library/components/tag.js +1 -1
  37. package/library/components/typeface.js +1 -1
  38. package/library/components/types.js +18129 -18044
  39. package/library/components/video.js +1 -1
  40. package/library/package.json +1 -1
  41. package/library/packages/atoms/src/components/select/select.d.ts +1 -0
  42. package/library/packages/molecules/src/faceted-filter/faceted-filter.d.ts +1 -0
  43. package/library/packages/molecules/src/font-picker/font-picker.d.ts +0 -2
  44. package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +4 -0
  45. package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +1 -0
  46. package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +43 -0
  47. package/library/packages/organisms/src/index.d.ts +1 -0
  48. package/library/packages/services/src/api/teamspace/teamspace.d.ts +13 -1
  49. package/library/packages/utils/src/url/url.d.ts +24 -0
  50. package/library/react-web-component.d.ts +26 -4
  51. package/library/utils.js +187 -185
  52. package/package.json +1 -1
  53. package/library/chunks/url.Bd5rq4G0.js +0 -48
package/library/utils.js CHANGED
@@ -1,39 +1,39 @@
1
- import { b as Y } from "./chunks/url.Bd5rq4G0.js";
2
- import { R as St, e as Et, f as At, g as It, U as Lt, a as Ft, d as Rt, c as bt, i as Vt, t as vt } from "./chunks/url.Bd5rq4G0.js";
3
- import { j as kt, f as Yt, b as Ut, c as _t, g as Nt, e as Pt, i as Xt, a as Ht, h as Wt, m as Bt, d as Gt, r as $t, t as qt } from "./chunks/toast.CXEAfCvN.js";
4
- import { e as Qt, a as Zt, f as jt, g as Jt, d as Kt, b as te, c as ee, i as re, p as ae, s as se } from "./chunks/browser.BHOCIF_A.js";
5
- import { d as ne, C as ie, e as le, H as ce, R as ue, c as fe, h as me, f as he, g as ge, l as de, a as pe, p as De, b as Te } from "./chunks/color.LzSGBy7o.js";
6
- import { a as Me, g as Ce } from "./chunks/active-elements.jTVWtBDp.js";
7
- import { a as ye, p as Se, c as Ee, b as Ae, s as Ie, w as Le } from "./chunks/event.BeKOsirN.js";
8
- import { t as Re } from "./chunks/converters.DkDtLstb.js";
9
- import { c as Ve } from "./chunks/custom-element.L4WJXn1j.js";
10
- import { d as Oe } from "./chunks/debounce.DaHuiSGU.js";
11
- import { d as Ye } from "./chunks/default-value.COZopaet.js";
12
- import { d as _e } from "./chunks/drag.DenOh3AE.js";
13
- import { f as Pe } from "./chunks/focus-when-visible.jWSw9ks0.js";
1
+ import { b as Y } from "./chunks/url.B17OsCqV.js";
2
+ import { R as St, f as Et, g as At, h as It, U as Lt, a as Ft, e as Rt, c as bt, i as Vt, r as vt, t as Ot, d as kt } from "./chunks/url.B17OsCqV.js";
3
+ import { j as Ut, f as _t, b as Nt, c as Pt, g as Xt, e as Ht, i as Wt, a as Bt, h as Gt, m as $t, d as qt, r as zt, t as Qt } from "./chunks/toast.CXEAfCvN.js";
4
+ import { e as jt, a as Jt, f as Kt, g as te, d as ee, b as re, c as ae, i as se, p as oe, s as ne } from "./chunks/browser.BHOCIF_A.js";
5
+ import { d as le, C as ce, e as ue, H as fe, R as me, c as he, h as ge, f as de, g as pe, l as De, a as Te, p as we, b as Me } from "./chunks/color.LzSGBy7o.js";
6
+ import { a as xe, g as ye } from "./chunks/active-elements.jTVWtBDp.js";
7
+ import { a as Ee, p as Ae, c as Ie, b as Le, s as Fe, w as Re } from "./chunks/event.BeKOsirN.js";
8
+ import { t as Ve } from "./chunks/converters.DkDtLstb.js";
9
+ import { c as Oe } from "./chunks/custom-element.L4WJXn1j.js";
10
+ import { d as Ye } from "./chunks/debounce.DaHuiSGU.js";
11
+ import { d as _e } from "./chunks/default-value.COZopaet.js";
12
+ import { d as Pe } from "./chunks/drag.DenOh3AE.js";
13
+ import { f as He } from "./chunks/focus-when-visible.jWSw9ks0.js";
14
14
  import { f as U } from "./chunks/form.DSsy3Fcy.js";
15
- import { F as He, c as We, g as Be, v as Ge, a as $e } from "./chunks/form.DSsy3Fcy.js";
16
- import { L as ze, r as Qe } from "./chunks/i18n.DbXTTLXx.js";
17
- import { c as je, q as Je } from "./chunks/math.DuKzLacZ.js";
18
- import { g as tr } from "./chunks/modal.Ct0bJBSe.js";
19
- import { g as rr, l as ar, s as sr, u as or } from "./chunks/scroll.xtO5yojm.js";
15
+ import { F as Be, c as Ge, g as $e, v as qe, a as ze } from "./chunks/form.DSsy3Fcy.js";
16
+ import { L as Ze, r as je } from "./chunks/i18n.DbXTTLXx.js";
17
+ import { c as Ke, q as tr } from "./chunks/math.DuKzLacZ.js";
18
+ import { g as rr } from "./chunks/modal.Ct0bJBSe.js";
19
+ import { g as sr, l as or, s as nr, u as ir } from "./chunks/scroll.xtO5yojm.js";
20
20
  import { k as y } from "./chunks/dom.gRV2cDjL.js";
21
- import { c as ir, d as lr, h as cr, m as ur, a as fr, g as mr, j as hr, b as gr, f as dr, i as pr, e as Dr, l as Tr, s as wr } from "./chunks/dom.gRV2cDjL.js";
22
- import { H as Cr, a as xr, g as yr } from "./chunks/slot.j5oheLJC.js";
23
- import { a as Er, g as Ar } from "./chunks/tabbable.BwnZBHrm.js";
24
- import { i as Lr } from "./chunks/user-agent.D9aPuOyL.js";
25
- import { w as Rr } from "./chunks/watch.DJF5K-8U.js";
26
- import { C as Vr } from "./chunks/calendar-grid.BWjcZL5W.js";
27
- import { b as Or, c as kr, f as Yr, h as Ur, g as _r, a as Nr, i as Pr, d as Xr, n as Hr, e as Wr, p as Br, t as Gr } from "./chunks/date.iWq_pkIk.js";
21
+ import { c as cr, d as ur, h as fr, m as mr, a as hr, g as gr, j as dr, b as pr, f as Dr, i as Tr, e as wr, l as Mr, s as Cr } from "./chunks/dom.gRV2cDjL.js";
22
+ import { H as yr, a as Sr, g as Er } from "./chunks/slot.j5oheLJC.js";
23
+ import { a as Ir, g as Lr } from "./chunks/tabbable.BwnZBHrm.js";
24
+ import { i as Rr } from "./chunks/user-agent.D9aPuOyL.js";
25
+ import { w as Vr } from "./chunks/watch.DJF5K-8U.js";
26
+ import { C as Or } from "./chunks/calendar-grid.BWjcZL5W.js";
27
+ import { b as Yr, c as Ur, f as _r, h as Nr, g as Pr, a as Xr, i as Hr, d as Wr, n as Br, e as Gr, p as $r, t as qr } from "./chunks/date.iWq_pkIk.js";
28
28
  import { f as c, a as u, D as f } from "./chunks/date-picker.BGHn6qg8.js";
29
- import { a as qr, b as zr, f as Qr } from "./chunks/transformation.8uLv6uwG.js";
30
- import { c as jr, f as Jr, e as Kr, b as ta, g as ea, d as ra, i as aa, r as sa, a as oa } from "./chunks/image.Y5c_hFx8.js";
31
- import { b as ia, e as la } from "./chunks/waveform.1U9U_0rd.js";
32
- import { c as ua, b as fa, a as ma, e as ha, d as ga, f as da, g as pa, r as Da, s as Ta } from "./chunks/number.Cx2ncfJJ.js";
33
- import { s as Ma } from "./chunks/parse.Cu5nBDTb.js";
34
- import { b as xa, n as ya, d as Sa, e as Ea, f as Aa, y as Ia, o as La, g as Fa, h as Ra, l as ba, p as Va, z as va, x as Oa, a as ka, c as Ya, s as Ua, w as _a, r as Na, t as Pa, q as Xa, v as Ha, i as Wa, m as Ba, u as Ga } from "./chunks/string.CfI2ejyR.js";
35
- import { g as qa, a as za } from "./chunks/template.ClovJacp.js";
36
- import { c as Za, f as ja, a as Ja, g as Ka } from "./chunks/time.DYWuX2id.js";
29
+ import { a as Qr, b as Zr, f as jr } from "./chunks/transformation.8uLv6uwG.js";
30
+ import { c as Kr, f as ta, e as ea, b as ra, g as aa, d as sa, i as oa, r as na, a as ia } from "./chunks/image.Y5c_hFx8.js";
31
+ import { b as ca, e as ua } from "./chunks/waveform.1U9U_0rd.js";
32
+ import { c as ma, b as ha, a as ga, e as da, d as pa, f as Da, g as Ta, r as wa, s as Ma } from "./chunks/number.Cx2ncfJJ.js";
33
+ import { s as xa } from "./chunks/parse.Cu5nBDTb.js";
34
+ import { b as Sa, n as Ea, d as Aa, e as Ia, f as La, y as Fa, o as Ra, g as ba, h as Va, l as va, p as Oa, z as ka, x as Ya, a as Ua, c as _a, s as Na, w as Pa, r as Xa, t as Ha, q as Wa, v as Ba, i as Ga, m as $a, u as qa } from "./chunks/string.CfI2ejyR.js";
35
+ import { g as Qa, a as Za } from "./chunks/template.ClovJacp.js";
36
+ import { c as Ja, f as Ka, a as ts, g as es } from "./chunks/time.DYWuX2id.js";
37
37
  function n(t) {
38
38
  const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), s = String(t.getDate()).padStart(2, "0");
39
39
  return `${e}-${r}-${s}`;
@@ -580,202 +580,204 @@ function Ct({
580
580
  return a > t && (a = t / 2), a;
581
581
  }
582
582
  export {
583
- ne as CMYK_VALIDATION_REGEX,
584
- Vr as CalendarGrid,
585
- ie as ColorType,
583
+ le as CMYK_VALIDATION_REGEX,
584
+ Or as CalendarGrid,
585
+ ce as ColorType,
586
586
  rt as CortexPopupController,
587
587
  Q as DateRangePresets,
588
588
  at as DragScroll,
589
- He as FormControlController,
590
- le as HEX_ALPHA_VALIDATION_REGEX,
591
- ce as HEX_VALIDATION_REGEX,
592
- Cr as HasSlotController,
589
+ Be as FormControlController,
590
+ ue as HEX_ALPHA_VALIDATION_REGEX,
591
+ fe as HEX_VALIDATION_REGEX,
592
+ yr as HasSlotController,
593
593
  mt as HistoryManager,
594
594
  X as KeyboardKey,
595
- ze as LocalizeController,
595
+ Ze as LocalizeController,
596
596
  H as PRECISION,
597
597
  St as RELATIVE_URL_REGEX,
598
- ue as RGB_VALIDATION_REGEX,
598
+ me as RGB_VALIDATION_REGEX,
599
599
  Et as URL_DOMAIN_VALIDATION_REGEX,
600
600
  At as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
601
601
  It as URL_PROTOCOL_VALIDATION_REGEX,
602
602
  Lt as URL_VALIDATION_REGEX,
603
- Me as activeElements,
604
- Or as addMonths,
605
- kt as adjustRelativeValues,
606
- ye as animateTo,
603
+ xe as activeElements,
604
+ Yr as addMonths,
605
+ Ut as adjustRelativeValues,
606
+ Ee as animateTo,
607
607
  Y as appendProtocol,
608
608
  Ft as appendQueryParam,
609
- qr as applyTransformationsToUrl,
610
- zr as buildTransformationString,
611
- ia as buildWaveformPath,
612
- jr as calculateAspectRatioFit,
613
- je as clamp,
614
- Jr as cleanImageFileName,
615
- Za as clearZeroDurationParts,
616
- fe as convertColor,
617
- ua as convertDataUnits,
618
- fa as convertDurationToMilliseconds,
619
- ma as convertPixelsToAspectRatio,
620
- Kr as convertSrcToBlob,
621
- ta as cropImage,
622
- ir as cssValueToPx,
623
- Ve as customElement,
624
- We as customErrorValidityState,
625
- Oe as debounce,
626
- Ye as defaultValue,
609
+ Qr as applyTransformationsToUrl,
610
+ Zr as buildTransformationString,
611
+ ca as buildWaveformPath,
612
+ Kr as calculateAspectRatioFit,
613
+ Ke as clamp,
614
+ ta as cleanImageFileName,
615
+ Ja as clearZeroDurationParts,
616
+ he as convertColor,
617
+ ma as convertDataUnits,
618
+ ha as convertDurationToMilliseconds,
619
+ ga as convertPixelsToAspectRatio,
620
+ ea as convertSrcToBlob,
621
+ ra as cropImage,
622
+ cr as cssValueToPx,
623
+ Oe as customElement,
624
+ Ge as customErrorValidityState,
625
+ Ye as debounce,
626
+ _e as defaultValue,
627
627
  et as downloadAsset,
628
- _e as drag,
629
- xa as emptyToSpace,
630
- ya as escapeXML,
631
- me as extractColor,
632
- Sa as extractExtension,
628
+ Pe as drag,
629
+ Sa as emptyToSpace,
630
+ Ea as escapeXML,
631
+ ge as extractColor,
632
+ Aa as extractExtension,
633
633
  Mt as extractFrames,
634
- Ea as extractRootData,
635
- ha as extractValueAndUnit,
636
- la as extractWaveformPeaks,
637
- Qr as fetchCortexApi,
638
- Qt as findAncestorWithBuggyStyle,
639
- Zt as findContainingBlock,
640
- jt as findCuttingAncestor,
634
+ Ia as extractRootData,
635
+ da as extractValueAndUnit,
636
+ ua as extractWaveformPeaks,
637
+ jr as fetchCortexApi,
638
+ jt as findAncestorWithBuggyStyle,
639
+ Jt as findContainingBlock,
640
+ Kt as findCuttingAncestor,
641
641
  W as findFrameByColAndRow,
642
- Yt as findIndexByProp,
643
- Pe as focusWhenVisible,
642
+ _t as findIndexByProp,
643
+ He as focusWhenVisible,
644
644
  U as formCollections,
645
- ga as formatAspectRatioString,
646
- ja as formatDurationPartsManually,
647
- kr as formatIsoToDisplay,
648
- Yr as formatMonthYearLabel,
649
- da as formatNumberWithGrouping,
650
- Aa as formatSecondsToTime,
651
- Ia as formatTimeToSeconds,
652
- Ja as formatWithIntlDurationFormat,
653
- pa as gcd,
654
- lr as getActiveElement,
655
- tr as getActiveModals,
656
- Be as getAssociatedForm,
657
- cr as getAttributes,
658
- La as getAttributesString,
659
- Ut as getBreakpointsFromCSS,
645
+ pa as formatAspectRatioString,
646
+ Ka as formatDurationPartsManually,
647
+ Ur as formatIsoToDisplay,
648
+ _r as formatMonthYearLabel,
649
+ Da as formatNumberWithGrouping,
650
+ La as formatSecondsToTime,
651
+ Fa as formatTimeToSeconds,
652
+ ts as formatWithIntlDurationFormat,
653
+ Ta as gcd,
654
+ ur as getActiveElement,
655
+ rr as getActiveModals,
656
+ $e as getAssociatedForm,
657
+ fr as getAttributes,
658
+ Ra as getAttributesString,
659
+ Nt as getBreakpointsFromCSS,
660
660
  ct as getBrowserFontVariants,
661
- he as getColorType,
662
- ea as getContainedImageSize,
663
- ur as getCortexPopupLayer,
661
+ de as getColorType,
662
+ aa as getContainedImageSize,
663
+ mr as getCortexPopupLayer,
664
664
  y as getCurrentZIndex,
665
- Ur as getDateMask,
666
- Ce as getDeepestActiveElement,
667
- _t as getDeviceType,
668
- Ka as getDurationPartsByUnitsFormat,
669
- fr as getElementFromHTMLString,
670
- mr as getElementFromTemplate,
671
- _r as getFirstDayOfWeek,
665
+ Nr as getDateMask,
666
+ ye as getDeepestActiveElement,
667
+ Pt as getDeviceType,
668
+ es as getDurationPartsByUnitsFormat,
669
+ hr as getElementFromHTMLString,
670
+ gr as getElementFromTemplate,
671
+ Pr as getFirstDayOfWeek,
672
672
  nt as getFontFamilyOptionValue,
673
673
  P as getFormControls,
674
- qa as getHighlightedTitle,
675
- za as getHighlightedTitleHtml,
676
- xr as getInnerHTML,
674
+ Qa as getHighlightedTitle,
675
+ Za as getHighlightedTitleHtml,
676
+ Sr as getInnerHTML,
677
677
  Ct as getInterval,
678
- ge as getLightDarkCssString,
679
- ra as getNaturalWidthHeight,
680
- hr as getNeededPaddingForBoxShadow,
681
- Jt as getNextAncestor,
682
- rr as getOffset,
683
- gr as getRelativeClickPercentage,
684
- Fa as getRootIDString,
685
- Er as getTabbableBoundary,
686
- Ar as getTabbableElements,
687
- yr as getTextContent,
688
- Nr as getTodayIsoDate,
678
+ pe as getLightDarkCssString,
679
+ sa as getNaturalWidthHeight,
680
+ dr as getNeededPaddingForBoxShadow,
681
+ te as getNextAncestor,
682
+ sr as getOffset,
683
+ pr as getRelativeClickPercentage,
684
+ ba as getRootIDString,
685
+ Ir as getTabbableBoundary,
686
+ Lr as getTabbableElements,
687
+ Er as getTextContent,
688
+ Xr as getTodayIsoDate,
689
689
  ot as getTypefaceOptionValue,
690
- Nt as groupBy,
691
- Ra as htmlToPlainText,
692
- Pt as insertAtIndex,
690
+ Xt as groupBy,
691
+ Va as htmlToPlainText,
692
+ Ht as insertAtIndex,
693
693
  wt as insertFrameToCache,
694
- Xt as insertMultipleAtIndex,
695
- Kt as isChrome,
696
- Lr as isCortexAdobePlugin,
697
- dr as isDomElement,
698
- pr as isElementInHorizontalView,
694
+ Wt as insertMultipleAtIndex,
695
+ ee as isChrome,
696
+ Rr as isCortexAdobePlugin,
697
+ Dr as isDomElement,
698
+ Tr as isElementInHorizontalView,
699
699
  Rt as isExpiredAssetUrl,
700
- te as isFirefox,
700
+ re as isFirefox,
701
701
  lt as isFontFamilyAvailable,
702
702
  ft as isFormInteracted,
703
- ba as isGalleryItemCardType,
704
- ee as isIOS,
705
- Dr as isInElement,
703
+ va as isGalleryItemCardType,
704
+ ae as isIOS,
705
+ wr as isInElement,
706
706
  st as isModKey,
707
- re as isSafari,
708
- aa as isSaveSrcValid,
707
+ se as isSafari,
708
+ oa as isSaveSrcValid,
709
709
  bt as isValidDomainOrIntranetUrl,
710
- Pr as isValidIsoDate,
710
+ Hr as isValidIsoDate,
711
711
  Vt as isValidUrl,
712
- Xr as isoToDate,
712
+ Wr as isoToDate,
713
713
  Z as isoWeekNumber,
714
- Tr as loadScript,
715
- ar as lockBodyScrolling,
716
- de as luminanceTextColor,
717
- Ht as moveMultipleToIndex,
718
- Wt as moveToIndex,
719
- Bt as multiSelectTo,
720
- Hr as normalizeToIsoDate,
714
+ Mr as loadScript,
715
+ or as lockBodyScrolling,
716
+ De as luminanceTextColor,
717
+ Bt as moveMultipleToIndex,
718
+ Gt as moveToIndex,
719
+ $t as multiSelectTo,
720
+ Br as normalizeToIsoDate,
721
721
  ht as omit,
722
722
  j as openAssetOverview,
723
723
  J as openFolderOverview,
724
724
  K as openLink,
725
- Va as padPath,
726
- va as parseBooleanString,
727
- pe as parseBorder,
728
- Wr as parseDisplayToIso,
729
- Se as parseDuration,
730
- Br as parseIsoDate,
725
+ Oa as padPath,
726
+ ka as parseBooleanString,
727
+ Te as parseBorder,
728
+ Gr as parseDisplayToIso,
729
+ Ae as parseDuration,
730
+ $r as parseIsoDate,
731
731
  dt as parseJsonString,
732
- De as parseLightDark,
732
+ we as parseLightDark,
733
733
  pt as parseListString,
734
- Te as parseShadow,
734
+ Me as parseShadow,
735
735
  gt as pick,
736
- ae as popoverSupported,
737
- Ee as prefersReducedMotion,
738
- Je as quantizeLargestRemainder,
736
+ oe as popoverSupported,
737
+ Ie as prefersReducedMotion,
738
+ tr as quantizeLargestRemainder,
739
739
  _ as quoteFontFamily,
740
740
  Dt as readLocalStorageValue,
741
- Oa as reducePathToDirectChild,
742
- Qe as registerTranslation,
743
- Gt as removeAtIndex,
744
- $t as removeMultipleAtIndex,
745
- sa as resizeImage,
746
- Da as rotateBox,
747
- oa as rotateImage,
748
- ka as safeExtension,
749
- Ya as safeString,
750
- Ua as sanitizeHTML,
751
- Ta as sanitizeRotation,
752
- sr as scrollIntoView,
741
+ Ya as reducePathToDirectChild,
742
+ je as registerTranslation,
743
+ qt as removeAtIndex,
744
+ zt as removeMultipleAtIndex,
745
+ na as resizeImage,
746
+ vt as resolveSpaceUrl,
747
+ wa as rotateBox,
748
+ ia as rotateImage,
749
+ Ua as safeExtension,
750
+ _a as safeString,
751
+ Na as sanitizeHTML,
752
+ Ma as sanitizeRotation,
753
+ nr as scrollIntoView,
753
754
  ut as serialize,
754
755
  tt as shareAsset,
755
- Ae as shimKeyframesHeightAuto,
756
- wr as sortByTopPosition,
756
+ Le as shimKeyframesHeightAuto,
757
+ Cr as sortByTopPosition,
757
758
  N as sortTypefaceVariants,
758
- Ma as splitBoxValues,
759
- _a as splitCamelCaseFormatted,
760
- Ie as stopAnimations,
761
- se as supportHLS,
759
+ xa as splitBoxValues,
760
+ Pa as splitCamelCaseFormatted,
761
+ Fe as stopAnimations,
762
+ ne as supportHLS,
762
763
  O as testFontAvailability,
763
- Re as timecodeConverter,
764
- Na as toCamelCase,
765
- Gr as toIsoDate,
766
- Pa as toKebabCase,
767
- Xa as toPascalCase,
768
- vt as toRelativeUrl,
769
- Ha as toTitleCase,
770
- qt as toast,
771
- Wa as truncateTextMiddle,
772
- Ba as unescapeXML,
773
- or as unlockBodyScrolling,
764
+ Ve as timecodeConverter,
765
+ Xa as toCamelCase,
766
+ qr as toIsoDate,
767
+ Ha as toKebabCase,
768
+ Wa as toPascalCase,
769
+ Ot as toRelativeUrl,
770
+ Ba as toTitleCase,
771
+ kt as toUrlPathKey,
772
+ Qt as toast,
773
+ Ga as truncateTextMiddle,
774
+ $a as unescapeXML,
775
+ ir as unlockBodyScrolling,
774
776
  it as unquoteFontFamily,
775
- Ga as upperFirst,
776
- Ge as validValidityState,
777
- $e as valueMissingValidityState,
778
- Le as waitForEvent,
779
- Rr as watch,
777
+ qa as upperFirst,
778
+ qe as validValidityState,
779
+ ze as valueMissingValidityState,
780
+ Re as waitForEvent,
781
+ Vr as watch,
780
782
  Tt as writeLocalStorageValue
781
783
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.178.0",
4
+ "version": "2.180.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -1,48 +0,0 @@
1
- function R(a, e = globalThis.location.origin) {
2
- if (a) {
3
- try {
4
- const t = new URL(a);
5
- if (t.origin === e)
6
- return t.pathname + t.search + t.hash || "/";
7
- } catch {
8
- }
9
- return a;
10
- }
11
- }
12
- function _(a, e = "https://", t = !1) {
13
- return t && a.match(c) || a.match(/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//) ? a : `${e}${a}`;
14
- }
15
- function h(a, e, t) {
16
- if (!a)
17
- return a;
18
- const s = a.indexOf("#"), n = s === -1 ? a : a.slice(0, s), d = s === -1 ? "" : a.slice(s), o = n.includes("?") ? "&" : "?";
19
- return `${n}${o}${encodeURIComponent(e)}=${encodeURIComponent(t)}${d}`;
20
- }
21
- function p(a) {
22
- return !!a && a.toLowerCase().includes("expire");
23
- }
24
- function A(a) {
25
- try {
26
- return new URL(a), new RegExp(r, "i").test(a);
27
- } catch {
28
- return !1;
29
- }
30
- }
31
- const c = "^(?![a-zA-Z][a-zA-Z\\d+\\-.]*:\\/\\/)(?!([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,}($|\\/))[^\\s]+$", r = "^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$", z = "^(https?:\\/\\/)?((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.){2,}[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$", i = "^((https?:\\/\\/)?[a-z\\d]([a-z\\d-]*[a-z\\d])*\\.[a-z\\d]([a-z\\d-]*[a-z\\d])*|(https?:\\/\\/)[a-z\\d]([a-z\\d-]*[a-z\\d])*)(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$";
32
- function E(a) {
33
- return new RegExp(z, "i").test(a) || new RegExp(i, "i").test(a);
34
- }
35
- const I = "^(https?:\\/\\/)((([a-z\\d]([a-z\\d-]*[a-z\\d])*)\\.)+[a-z]{2,}|((\\d{1,3}\\.){3}\\d{1,3}))(\\:\\d+)?(\\/[-a-z\\d%_.~+]*)*(\\?[;&a-z\\d%_.~+=-]*)?(\\#[^\\s]*)?$";
36
- export {
37
- c as R,
38
- r as U,
39
- h as a,
40
- _ as b,
41
- E as c,
42
- p as d,
43
- z as e,
44
- i as f,
45
- I as g,
46
- A as i,
47
- R as t
48
- };