@orangelogic/design-system 2.193.0 → 2.195.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 (26) hide show
  1. package/library/chunks/{asset-link-format.BX1hdLgZ.js → asset-link-format.BFxmPgwt.js} +898 -868
  2. package/library/chunks/{color-swatch-group.BpEQJM1b.js → color-swatch-group.C0BXFL4I.js} +2 -3
  3. package/library/chunks/{document-viewer.DZsbpf0x.js → document-viewer.C5IT7M61.js} +1 -2
  4. package/library/chunks/{toast.C5Ir5yKA.js → toast.COzwhRI6.js} +1 -1
  5. package/library/chunks/transformation.CkEA7Ymz.js +392 -0
  6. package/library/components/asset-link-format.js +2 -2
  7. package/library/components/atoms.js +1 -1
  8. package/library/components/color-swatch-group.js +3 -3
  9. package/library/components/document-viewer.js +1 -1
  10. package/library/components/masonry.js +93 -106
  11. package/library/components/organisms.js +2 -2
  12. package/library/components/types.js +14599 -14597
  13. package/library/package.json +1 -1
  14. package/library/packages/molecules/src/masonry/masonry.d.ts +0 -2
  15. package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +6 -0
  16. package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +5 -5
  17. package/library/packages/services/src/api/asset/asset.d.ts +0 -1
  18. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +10 -0
  19. package/library/packages/types/src/gallery-item.d.ts +1 -0
  20. package/library/packages/types/src/masonry.d.ts +2 -0
  21. package/library/packages/utils/src/transformation/transformation.d.ts +42 -7
  22. package/library/react-web-component.d.ts +4 -4
  23. package/library/utils.js +121 -120
  24. package/package.json +1 -1
  25. package/library/chunks/content-builder.BX4pHujE.js +0 -60
  26. package/library/chunks/transformation.CkwgrwKQ.js +0 -312
package/library/utils.js CHANGED
@@ -1,13 +1,13 @@
1
- import { b as _ } from "./chunks/url.CGdWC06g.js";
2
- import { R as yt, f as At, g as Et, h as It, U as Lt, a as Ft, d as Rt, c as bt, i as Ot, r as Vt, t as vt, e as kt } from "./chunks/url.CGdWC06g.js";
3
- import { j as Ut, f as Yt, b as Nt, c as Pt, g as Wt, e as Xt, i as Ht, a as Bt, h as Gt, m as $t, d as zt, r as qt, t as Qt } from "./chunks/toast.C5Ir5yKA.js";
1
+ import { b as k } from "./chunks/url.CGdWC06g.js";
2
+ import { R as Ct, f as xt, g as Et, h as It, U as Lt, a as Ft, d as Rt, c as Ot, i as bt, r as Vt, t as vt, e as _t } from "./chunks/url.CGdWC06g.js";
3
+ import { j as Ut, f as Yt, b as Nt, c as Pt, g as Wt, e as Xt, i as Ht, a as Bt, h as Gt, m as $t, d as zt, r as qt, t as Qt } from "./chunks/toast.COzwhRI6.js";
4
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
5
  import { d as le, C as ce, e as ue, H as me, R as fe, 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 Ce, g as xe } from "./chunks/active-elements.jTVWtBDp.js";
7
- import { a as Ae, p as Ee, c as Ie, b as Le, s as Fe, w as Re } from "./chunks/event.BeKOsirN.js";
8
- import { t as Oe } from "./chunks/converters.DkDtLstb.js";
6
+ import { a as ye, g as Ae } from "./chunks/active-elements.jTVWtBDp.js";
7
+ import { a as xe, p as Ee, c as Ie, b as Le, s as Fe, w as Re } from "./chunks/event.BeKOsirN.js";
8
+ import { t as be } from "./chunks/converters.DkDtLstb.js";
9
9
  import { c as ve } from "./chunks/custom-element.L4WJXn1j.js";
10
- import { d as _e } from "./chunks/debounce.DaHuiSGU.js";
10
+ import { d as ke } from "./chunks/debounce.DaHuiSGU.js";
11
11
  import { d as Ye } from "./chunks/default-value.COZopaet.js";
12
12
  import { d as Pe } from "./chunks/drag.DenOh3AE.js";
13
13
  import { f as Xe } from "./chunks/focus-when-visible.jWSw9ks0.js";
@@ -17,36 +17,35 @@ import { L as Ze, r as je } from "./chunks/i18n.DbXTTLXx.js";
17
17
  import { c as Ke, q as tr } from "./chunks/math.DuKzLacZ.js";
18
18
  import { g as rr } from "./chunks/modal.Ct0bJBSe.js";
19
19
  import { g as sr, l as or, s as nr, u as ir } from "./chunks/scroll.xtO5yojm.js";
20
- import { k as x } from "./chunks/dom.gRV2cDjL.js";
20
+ import { k as A } from "./chunks/dom.gRV2cDjL.js";
21
21
  import { c as cr, d as ur, h as mr, m as fr, 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 Sr } from "./chunks/dom.gRV2cDjL.js";
22
- import { H as xr, a as yr, g as Ar } from "./chunks/slot.j5oheLJC.js";
22
+ import { H as Ar, a as Cr, g as xr } from "./chunks/slot.j5oheLJC.js";
23
23
  import { a as Ir, g as Lr } from "./chunks/tabbable.BwnZBHrm.js";
24
24
  import { i as Rr } from "./chunks/user-agent.D9aPuOyL.js";
25
- import { w as Or } from "./chunks/watch.DJF5K-8U.js";
25
+ import { w as br } from "./chunks/watch.DJF5K-8U.js";
26
26
  import { C as vr } from "./chunks/calendar-grid.BWjcZL5W.js";
27
- import { b as _r, c as Ur, f as Yr, h as Nr, g as Pr, a as Wr, i as Xr, d as Hr, n as Br, e as Gr, p as $r, t as zr } from "./chunks/date.iWq_pkIk.js";
27
+ import { b as kr, c as Ur, f as Yr, h as Nr, g as Pr, a as Wr, i as Xr, d as Hr, n as Br, e as Gr, p as $r, t as zr } from "./chunks/date.iWq_pkIk.js";
28
28
  import { f as c, a as u, D as m } from "./chunks/date-picker.BGHn6qg8.js";
29
- import { f as Qr } from "./chunks/content-builder.BX4pHujE.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 ma, a as fa, 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 Ca, n as xa, d as ya, e as Aa, f as Ea, y as Ia, o as La, g as Fa, h as Ra, l as ba, p as Oa, z as Va, x as va, a as ka, c as _a, s as Ua, w as Ya, r as Na, t as Pa, q as Wa, v as Xa, i as Ha, m as Ba, u as Ga } from "./chunks/string.CfI2ejyR.js";
35
- import { g as za, a as qa } from "./chunks/template.ClovJacp.js";
36
- import { c as Za, f as ja, a as Ja, g as Ka } from "./chunks/time.DYWuX2id.js";
37
- import { A as es, g as rs, S as as, c as ss, f as os, b as ns, e as is, d as ls, h as cs, p as us, r as ms, a as fs } from "./chunks/transformation.CkwgrwKQ.js";
29
+ import { o as Qr, s as Zr, p as jr, l as Jr, b as Kr, a as ta, m as ea, c as ra, g as aa, e as sa, f as oa, n as na, q as ia, r as la, d as ca } from "./chunks/transformation.CkEA7Ymz.js";
30
+ import { c as ma, f as fa, e as ha, b as ga, g as da, d as pa, i as Da, r as Ta, a as wa } from "./chunks/image.Y5c_hFx8.js";
31
+ import { b as Sa, e as ya } from "./chunks/waveform.1U9U_0rd.js";
32
+ import { c as Ca, b as xa, a as Ea, e as Ia, d as La, f as Fa, g as Ra, r as Oa, s as ba } from "./chunks/number.Cx2ncfJJ.js";
33
+ import { s as va } from "./chunks/parse.Cu5nBDTb.js";
34
+ import { b as ka, n as Ua, d as Ya, e as Na, f as Pa, y as Wa, o as Xa, g as Ha, h as Ba, l as Ga, p as $a, z as za, x as qa, a as Qa, c as Za, s as ja, w as Ja, r as Ka, t as ts, q as es, v as rs, i as as, m as ss, u as os } from "./chunks/string.CfI2ejyR.js";
35
+ import { g as is, a as ls } from "./chunks/template.ClovJacp.js";
36
+ import { c as us, f as ms, a as fs, g as hs } from "./chunks/time.DYWuX2id.js";
38
37
  function n(t) {
39
38
  const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), s = String(t.getDate()).padStart(2, "0");
40
39
  return `${e}-${r}-${s}`;
41
40
  }
42
- function y(t) {
41
+ function C(t) {
43
42
  const e = String(t.getHours()).padStart(2, "0"), r = String(t.getMinutes()).padStart(2, "0"), s = String(t.getSeconds()).padStart(2, "0");
44
43
  return `${e}:${r}:${s}`;
45
44
  }
46
45
  function h(t, e) {
47
46
  return new Date(t.getFullYear(), t.getMonth(), t.getDate() + e);
48
47
  }
49
- function A(t) {
48
+ function x(t) {
50
49
  const e = t.getDay(), r = e === 0 ? -6 : 1 - e;
51
50
  return h(t, r);
52
51
  }
@@ -68,7 +67,7 @@ function R(t) {
68
67
  const e = t.getMonth() < 6 ? 0 : 6;
69
68
  return new Date(t.getFullYear(), e, 1);
70
69
  }
71
- function b(t) {
70
+ function O(t) {
72
71
  const e = t.getMonth() < 6 ? 0 : 6;
73
72
  return new Date(t.getFullYear(), e + 6, 0);
74
73
  }
@@ -87,9 +86,9 @@ class Q {
87
86
  const a = new Date(r.getTime() - 18e5);
88
87
  return {
89
88
  fromDate: n(a),
90
- fromTime: y(a),
89
+ fromTime: C(a),
91
90
  toDate: s,
92
- toTime: y(r)
91
+ toTime: C(r)
93
92
  };
94
93
  }
95
94
  case c.today:
@@ -137,7 +136,7 @@ class Q {
137
136
  toTime: u
138
137
  };
139
138
  case c.thisWeek: {
140
- const a = A(r);
139
+ const a = x(r);
141
140
  return {
142
141
  fromDate: n(a),
143
142
  fromTime: m,
@@ -146,7 +145,7 @@ class Q {
146
145
  };
147
146
  }
148
147
  case c.lastWeek: {
149
- const a = h(A(r), -7);
148
+ const a = h(x(r), -7);
150
149
  return {
151
150
  fromDate: n(a),
152
151
  fromTime: m,
@@ -194,7 +193,7 @@ class Q {
194
193
  return {
195
194
  fromDate: n(R(r)),
196
195
  fromTime: m,
197
- toDate: n(b(r)),
196
+ toDate: n(O(r)),
198
197
  toTime: u
199
198
  };
200
199
  case c.lastHalfYear: {
@@ -202,7 +201,7 @@ class Q {
202
201
  return {
203
202
  fromDate: n(R(a)),
204
203
  fromTime: m,
205
- toDate: n(b(a)),
204
+ toDate: n(O(a)),
206
205
  toTime: u
207
206
  };
208
207
  }
@@ -263,7 +262,7 @@ function J(t) {
263
262
  }
264
263
  function K(t, e = void 0) {
265
264
  !this.ownerDocument.defaultView?.Matrix3 || !t || this.ownerDocument.defaultView?.open(
266
- _(t, "https://", !0),
265
+ k(t, "https://", !0),
267
266
  e ?? "_blank"
268
267
  );
269
268
  }
@@ -290,14 +289,14 @@ function et(t, e) {
290
289
  }
291
290
  class rt {
292
291
  constructor(e) {
293
- this.currentZIndex = x(), (this.host = e).addController(this);
292
+ this.currentZIndex = A(), (this.host = e).addController(this);
294
293
  }
295
294
  hostConnected() {
296
295
  }
297
296
  hostDisconnected() {
298
297
  }
299
298
  async activatePopup() {
300
- this.currentZIndex = x();
299
+ this.currentZIndex = A();
301
300
  }
302
301
  }
303
302
  class at {
@@ -327,11 +326,11 @@ class at {
327
326
  }
328
327
  }
329
328
  const st = (t) => t.ctrlKey || t.metaKey;
330
- function O(t) {
329
+ function b(t) {
331
330
  return t.replaceAll(" ", "_");
332
331
  }
333
332
  function ot(t) {
334
- return t.value ?? O(t.typeface);
333
+ return t.value ?? b(t.typeface);
335
334
  }
336
335
  function nt(t) {
337
336
  const e = [
@@ -339,7 +338,7 @@ function nt(t) {
339
338
  t.fontStyle,
340
339
  t.fontWeight
341
340
  ].filter((r) => r != null && r !== "").join("_");
342
- return O(e);
341
+ return b(e);
343
342
  }
344
343
  function V(t) {
345
344
  return t.length >= 2 && (t.startsWith("'") && t.endsWith("'") || t.startsWith('"') && t.endsWith('"'));
@@ -540,15 +539,15 @@ async function* Mt({
540
539
  throw new Error("Canvas is required");
541
540
  if (!o)
542
541
  throw new Error("Video is required");
543
- const { columns: i, frameHeight: l, frameWidth: p, rows: f, spriteCtx: k } = e;
542
+ const { columns: i, frameHeight: l, frameWidth: p, rows: f, spriteCtx: _ } = e;
544
543
  try {
545
544
  for (let g = 0; g < f; g++)
546
545
  for (let d = 0; d < i; d++) {
547
546
  const T = g * i + d, D = T * s;
548
547
  if (D >= r)
549
548
  continue;
550
- const w = d * p, M = g * l, S = H(t[a] ?? [], d, g), C = d === i - 1 && g === f - 1 || D + s >= r;
551
- S ? yield { ...S, isLastFrame: C } : (await B(o, D, s), k.drawImage(
549
+ const w = d * p, M = g * l, S = H(t[a] ?? [], d, g), y = d === i - 1 && g === f - 1 || D + s >= r;
550
+ S ? yield { ...S, isLastFrame: y } : (await B(o, D, s), _.drawImage(
552
551
  o,
553
552
  w,
554
553
  M,
@@ -560,7 +559,7 @@ async function* Mt({
560
559
  frameHeight: l,
561
560
  frameWidth: p,
562
561
  index: T,
563
- isLastFrame: C,
562
+ isLastFrame: y,
564
563
  row: g,
565
564
  rows: f,
566
565
  time: Number(D.toFixed(X)),
@@ -581,8 +580,9 @@ function St({
581
580
  return a > t && (a = t / 2), a;
582
581
  }
583
582
  export {
584
- es as AUTO_FALLBACK_FORMAT,
585
- rs as AUTO_ORIGINAL_FORMAT_MAX_BYTES,
583
+ Qr as AUTO_FALLBACK_FORMAT,
584
+ Zr as AUTO_FORMAT_EXTENSION,
585
+ jr as AUTO_ORIGINAL_FORMAT_MAX_BYTES,
586
586
  le as CMYK_VALIDATION_REGEX,
587
587
  vr as CalendarGrid,
588
588
  ce as ColorType,
@@ -592,56 +592,57 @@ export {
592
592
  Be as FormControlController,
593
593
  ue as HEX_ALPHA_VALIDATION_REGEX,
594
594
  me as HEX_VALIDATION_REGEX,
595
- xr as HasSlotController,
595
+ Ar as HasSlotController,
596
596
  ft as HistoryManager,
597
597
  W as KeyboardKey,
598
598
  Ze as LocalizeController,
599
599
  X as PRECISION,
600
- yt as RELATIVE_URL_REGEX,
600
+ Ct as RELATIVE_URL_REGEX,
601
601
  fe as RGB_VALIDATION_REGEX,
602
- as as SRCSET_WIDTH_LADDER,
603
- At as URL_DOMAIN_VALIDATION_REGEX,
602
+ Jr as SRCSET_WIDTH_LADDER,
603
+ xt as URL_DOMAIN_VALIDATION_REGEX,
604
604
  Et as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
605
605
  It as URL_PROTOCOL_VALIDATION_REGEX,
606
606
  Lt as URL_VALIDATION_REGEX,
607
- Ce as activeElements,
608
- _r as addMonths,
607
+ ye as activeElements,
608
+ kr as addMonths,
609
609
  Ut as adjustRelativeValues,
610
- Ae as animateTo,
611
- _ as appendProtocol,
610
+ xe as animateTo,
611
+ k as appendProtocol,
612
612
  Ft as appendQueryParam,
613
- ss as applyTransformationsToUrl,
614
- os as applyWidthToAssetUrl,
615
- ns as buildAssetSrcset,
616
- is as buildSizesFromDisplayWidth,
617
- ls as buildTransformationString,
618
- ia as buildWaveformPath,
619
- jr as calculateAspectRatioFit,
613
+ Kr as applyAutoFormatToAssetUrl,
614
+ ta as applyTransformationsToUrl,
615
+ ea as applyWidthToAssetUrl,
616
+ ra as buildAssetSrcset,
617
+ aa as buildSizesFromDisplayWidth,
618
+ sa as buildTransformationString,
619
+ Sa as buildWaveformPath,
620
+ ma as calculateAspectRatioFit,
620
621
  Ke as clamp,
621
- Jr as cleanImageFileName,
622
- Za as clearZeroDurationParts,
622
+ fa as cleanImageFileName,
623
+ us as clearZeroDurationParts,
623
624
  he as convertColor,
624
- ua as convertDataUnits,
625
- ma as convertDurationToMilliseconds,
626
- fa as convertPixelsToAspectRatio,
627
- Kr as convertSrcToBlob,
628
- ta as cropImage,
625
+ Ca as convertDataUnits,
626
+ xa as convertDurationToMilliseconds,
627
+ Ea as convertPixelsToAspectRatio,
628
+ ha as convertSrcToBlob,
629
+ ga as cropImage,
629
630
  cr as cssValueToPx,
630
631
  ve as customElement,
631
632
  Ge as customErrorValidityState,
632
- _e as debounce,
633
+ ke as debounce,
633
634
  Ye as defaultValue,
634
635
  et as downloadAsset,
635
636
  Pe as drag,
636
- Ca as emptyToSpace,
637
- xa as escapeXML,
637
+ ka as emptyToSpace,
638
+ Ua as escapeXML,
638
639
  ge as extractColor,
639
- ya as extractExtension,
640
+ Ya as extractExtension,
640
641
  Mt as extractFrames,
641
- Aa as extractRootData,
642
- ha as extractValueAndUnit,
643
- la as extractWaveformPeaks,
644
- Qr as fetchCortexApi,
642
+ Na as extractRootData,
643
+ Ia as extractValueAndUnit,
644
+ ya as extractWaveformPeaks,
645
+ oa as fetchCortexApi,
645
646
  jt as findAncestorWithBuggyStyle,
646
647
  Jt as findContainingBlock,
647
648
  Kt as findCuttingAncestor,
@@ -649,54 +650,54 @@ export {
649
650
  Yt as findIndexByProp,
650
651
  Xe as focusWhenVisible,
651
652
  U as formCollections,
652
- ga as formatAspectRatioString,
653
- ja as formatDurationPartsManually,
653
+ La as formatAspectRatioString,
654
+ ms as formatDurationPartsManually,
654
655
  Ur as formatIsoToDisplay,
655
656
  Yr as formatMonthYearLabel,
656
- da as formatNumberWithGrouping,
657
- Ea as formatSecondsToTime,
658
- Ia as formatTimeToSeconds,
659
- Ja as formatWithIntlDurationFormat,
660
- pa as gcd,
657
+ Fa as formatNumberWithGrouping,
658
+ Pa as formatSecondsToTime,
659
+ Wa as formatTimeToSeconds,
660
+ fs as formatWithIntlDurationFormat,
661
+ Ra as gcd,
661
662
  ur as getActiveElement,
662
663
  rr as getActiveModals,
663
664
  $e as getAssociatedForm,
664
665
  mr as getAttributes,
665
- La as getAttributesString,
666
+ Xa as getAttributesString,
666
667
  Nt as getBreakpointsFromCSS,
667
668
  ct as getBrowserFontVariants,
668
669
  de as getColorType,
669
- ea as getContainedImageSize,
670
+ da as getContainedImageSize,
670
671
  fr as getCortexPopupLayer,
671
- x as getCurrentZIndex,
672
+ A as getCurrentZIndex,
672
673
  Nr as getDateMask,
673
- xe as getDeepestActiveElement,
674
+ Ae as getDeepestActiveElement,
674
675
  Pt as getDeviceType,
675
- Ka as getDurationPartsByUnitsFormat,
676
+ hs as getDurationPartsByUnitsFormat,
676
677
  hr as getElementFromHTMLString,
677
678
  gr as getElementFromTemplate,
678
679
  Pr as getFirstDayOfWeek,
679
680
  nt as getFontFamilyOptionValue,
680
681
  P as getFormControls,
681
- za as getHighlightedTitle,
682
- qa as getHighlightedTitleHtml,
683
- yr as getInnerHTML,
682
+ is as getHighlightedTitle,
683
+ ls as getHighlightedTitleHtml,
684
+ Cr as getInnerHTML,
684
685
  St as getInterval,
685
686
  pe as getLightDarkCssString,
686
- ra as getNaturalWidthHeight,
687
+ pa as getNaturalWidthHeight,
687
688
  dr as getNeededPaddingForBoxShadow,
688
689
  te as getNextAncestor,
689
690
  sr as getOffset,
690
691
  pr as getRelativeClickPercentage,
691
- Fa as getRootIDString,
692
+ Ha as getRootIDString,
692
693
  Ir as getTabbableBoundary,
693
694
  Lr as getTabbableElements,
694
- Ar as getTextContent,
695
+ xr as getTextContent,
695
696
  Wr as getTodayIsoDate,
696
697
  ot as getTypefaceOptionValue,
697
698
  Wt as groupBy,
698
- cs as hasTransformSegment,
699
- Ra as htmlToPlainText,
699
+ na as hasTransformSegment,
700
+ Ba as htmlToPlainText,
700
701
  Xt as insertAtIndex,
701
702
  wt as insertFrameToCache,
702
703
  Ht as insertMultipleAtIndex,
@@ -708,15 +709,15 @@ export {
708
709
  re as isFirefox,
709
710
  lt as isFontFamilyAvailable,
710
711
  mt as isFormInteracted,
711
- ba as isGalleryItemCardType,
712
+ Ga as isGalleryItemCardType,
712
713
  ae as isIOS,
713
714
  wr as isInElement,
714
715
  st as isModKey,
715
716
  se as isSafari,
716
- aa as isSaveSrcValid,
717
- bt as isValidDomainOrIntranetUrl,
717
+ Da as isSaveSrcValid,
718
+ Ot as isValidDomainOrIntranetUrl,
718
719
  Xr as isValidIsoDate,
719
- Ot as isValidUrl,
720
+ bt as isValidUrl,
720
721
  Hr as isoToDate,
721
722
  Z as isoWeekNumber,
722
723
  Mr as loadScript,
@@ -730,12 +731,12 @@ export {
730
731
  j as openAssetOverview,
731
732
  J as openFolderOverview,
732
733
  K as openLink,
733
- Oa as padPath,
734
- Va as parseBooleanString,
734
+ $a as padPath,
735
+ za as parseBooleanString,
735
736
  Te as parseBorder,
736
737
  Gr as parseDisplayToIso,
737
738
  Ee as parseDuration,
738
- us as parseFileSizeToBytes,
739
+ ia as parseFileSizeToBytes,
739
740
  $r as parseIsoDate,
740
741
  dt as parseJsonString,
741
742
  we as parseLightDark,
@@ -747,48 +748,48 @@ export {
747
748
  tr as quantizeLargestRemainder,
748
749
  Y as quoteFontFamily,
749
750
  Dt as readLocalStorageValue,
750
- va as reducePathToDirectChild,
751
+ qa as reducePathToDirectChild,
751
752
  je as registerTranslation,
752
753
  zt as removeAtIndex,
753
754
  qt as removeMultipleAtIndex,
754
- sa as resizeImage,
755
- ms as resolveAutoFormat,
756
- fs as resolveAutoMaxWidth,
755
+ Ta as resizeImage,
756
+ la as resolveAutoFormat,
757
+ ca as resolveAutoMaxWidth,
757
758
  Vt as resolveSpaceUrl,
758
- Da as rotateBox,
759
- oa as rotateImage,
760
- ka as safeExtension,
761
- _a as safeString,
762
- Ua as sanitizeHTML,
763
- Ta as sanitizeRotation,
759
+ Oa as rotateBox,
760
+ wa as rotateImage,
761
+ Qa as safeExtension,
762
+ Za as safeString,
763
+ ja as sanitizeHTML,
764
+ ba as sanitizeRotation,
764
765
  nr as scrollIntoView,
765
766
  ut as serialize,
766
767
  tt as shareAsset,
767
768
  Le as shimKeyframesHeightAuto,
768
769
  Sr as sortByTopPosition,
769
770
  N as sortTypefaceVariants,
770
- Ma as splitBoxValues,
771
- Ya as splitCamelCaseFormatted,
771
+ va as splitBoxValues,
772
+ Ja as splitCamelCaseFormatted,
772
773
  Fe as stopAnimations,
773
774
  ne as supportHLS,
774
775
  v as testFontAvailability,
775
- Oe as timecodeConverter,
776
- Na as toCamelCase,
776
+ be as timecodeConverter,
777
+ Ka as toCamelCase,
777
778
  zr as toIsoDate,
778
- Pa as toKebabCase,
779
- Wa as toPascalCase,
779
+ ts as toKebabCase,
780
+ es as toPascalCase,
780
781
  vt as toRelativeUrl,
781
- Xa as toTitleCase,
782
- kt as toUrlPathKey,
782
+ rs as toTitleCase,
783
+ _t as toUrlPathKey,
783
784
  Qt as toast,
784
- Ha as truncateTextMiddle,
785
- Ba as unescapeXML,
785
+ as as truncateTextMiddle,
786
+ ss as unescapeXML,
786
787
  ir as unlockBodyScrolling,
787
788
  it as unquoteFontFamily,
788
- Ga as upperFirst,
789
+ os as upperFirst,
789
790
  ze as validValidityState,
790
791
  qe as valueMissingValidityState,
791
792
  Re as waitForEvent,
792
- Or as watch,
793
+ br as watch,
793
794
  Tt as writeLocalStorageValue
794
795
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.193.0",
4
+ "version": "2.195.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -1,60 +0,0 @@
1
- import { c as l } from "./capitalize.CIBKBL10.js";
2
- const d = window.location.origin.includes("localhost:") ? "https://local.orangelogic.com" : window.location.origin;
3
- function L(a, o, e, i = d) {
4
- const n = new URL(i + "/" + a);
5
- return Array.isArray(e) ? e.forEach((t) => {
6
- t[1] && n.searchParams.append(t[0], t[1]);
7
- }) : e && Object.keys(e).forEach((t) => {
8
- e[t] && n.searchParams.append(t, e[t]);
9
- }), fetch(n, o);
10
- }
11
- const E = "space-default";
12
- var c = /* @__PURE__ */ ((a) => (a.Desktop = "desktop", a.Mobile = "mobile", a.Tablet = "tablet", a))(c || {});
13
- const C = {
14
- canvasWidth: "",
15
- height: "",
16
- id: "desktop",
17
- maxWidth: "",
18
- name: l(
19
- "desktop"
20
- /* Desktop */
21
- )
22
- }, u = {
23
- canvasWidth: "770px",
24
- height: "",
25
- id: "tablet",
26
- maxWidth: "1280px",
27
- name: l(
28
- "tablet"
29
- /* Tablet */
30
- )
31
- }, h = {
32
- canvasWidth: "320px",
33
- height: "",
34
- id: "mobile",
35
- maxWidth: "480px",
36
- name: l(
37
- "mobile"
38
- /* Mobile */
39
- )
40
- }, f = [C, u, h];
41
- var A = /* @__PURE__ */ ((a) => (a.All = "ALL", a.CanDelete = "CanDelete", a.CanDownload = "CanDownload", a.CanFind = "CanFind", a.CanManageRights = "CanManageRights", a.CanMove = "CanMove", a.CanRead = "CanRead", a.CanReadAll = "CanReadAll", a.CanReadAndWrite = "CanReadAndWrite", a.CanReadLarge = "CanReadLarge", a.CanReadMedium = "CanReadMedium", a.CanReadOriginal = "CanReadOriginal", a.CanShare = "CanShare", a.CanUpload = "CanUpload", a.CanWrite = "CanWrite", a.None = "NONE", a))(A || {}), g = /* @__PURE__ */ ((a) => (a.All = "all", a.Audio = "audio", a.Image = "image", a.Other = "other", a.Video = "video", a))(g || {}), s = /* @__PURE__ */ ((a) => (a.Content = "content", a.Template = "template", a))(s || {}), R = /* @__PURE__ */ ((a) => (a.Administrator = "Administrator", a.Designer = "Designer", a.Editor = "Editor", a))(R || {}), r = /* @__PURE__ */ ((a) => (a.Accordion = "BlockAccordion", a.Analytics = "BlockAnalytics", a.Audio = "BlockAudio", a.Button = "BlockButton", a.Carousel = "BlockCarousel", a.ColorSwatches = "BlockColorSwatches", a.Column = "BlockCell", a.ColumnGroup = "BlockColumns", a.DamView = "BlockDamView", a.Divider = "BlockDivider", a.DocumentViewer = "BlockDocumentViewer", a.FontKit = "BlockFontKit", a.Gallery = "BlockGallery", a.Header = "BlockHeader", a.Image = "BlockImage", a.RichText = "BlockRichText", a.SearchBox = "BlockSearchBox", a.TabGroup = "BlockTabs", a.Text = "BlockText", a.Timeline = "BlockTimeline", a.Video = "BlockVideo", a))(r || {});
42
- const B = Object.values(r).filter(
43
- (a) => a !== "BlockCell"
44
- /* Column */
45
- );
46
- var b = /* @__PURE__ */ ((a) => (a.Carousel = "carousel", a.Gallery = "gallery", a))(b || {}), v = /* @__PURE__ */ ((a) => (a.Templates = "TEMPLATES", a.TranslatableAttributes = "TRANSLATABLE_ATTRIBUTES", a.TranslatableTexts = "TRANSLATABLE_TEXTS", a))(v || {});
47
- export {
48
- g as A,
49
- r as B,
50
- c as D,
51
- s as E,
52
- A as P,
53
- E as S,
54
- R as T,
55
- b as a,
56
- v as b,
57
- B as c,
58
- f as d,
59
- L as f
60
- };