@orangelogic/design-system 3.3.0 → 3.5.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 (58) hide show
  1. package/library/chunks/{asset-link-format.BnIUG_vO.js → asset-link-format.SaFYESLe.js} +1148 -1001
  2. package/library/chunks/{color-swatch-group.CTcv62MK.js → color-swatch-group.Bu1ev_Af.js} +2 -2
  3. package/library/chunks/{document-viewer.D6PxGcEL.js → document-viewer.hfxnrrUV.js} +3 -3
  4. package/library/chunks/{image.B-4cVbol.js → image.ysU1iW6e.js} +1 -1
  5. package/library/chunks/{menu-item.DgUMVYe5.js → menu-item.uFqeX_J6.js} +12 -12
  6. package/library/chunks/{tab-group.BSl6GdIO.js → tab-group.CdTSrsM1.js} +1 -1
  7. package/library/chunks/transformation.BfIEi4p4.js +300 -0
  8. package/library/components/asset-link-format.js +2 -2
  9. package/library/components/atoms.js +4 -4
  10. package/library/components/color-swatch-group.js +1 -1
  11. package/library/components/cropper.js +1 -1
  12. package/library/components/document-viewer.js +2 -2
  13. package/library/components/file-on-demand.js +1 -1
  14. package/library/components/image.js +1 -1
  15. package/library/components/masonry.js +65 -49
  16. package/library/components/menu-item.js +1 -1
  17. package/library/components/menu-section.js +16 -13
  18. package/library/components/menu.js +1 -1
  19. package/library/components/organisms.js +2 -2
  20. package/library/components/tab-group.js +2 -2
  21. package/library/components/types.js +22307 -22153
  22. package/library/components/video.js +1 -1
  23. package/library/package.json +1 -1
  24. package/library/packages/atoms/src/components/image/image.d.ts +6 -0
  25. package/library/packages/atoms/src/components/menu-section/menu-section.d.ts +1 -0
  26. package/library/packages/events/src/cx-asset-transformation-dialog-confirm.d.ts +2 -0
  27. package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +20 -1
  28. package/library/packages/molecules/src/cropper/cropper.d.ts +0 -1
  29. package/library/packages/molecules/src/cropper/react/Cropper.d.ts +0 -1
  30. package/library/packages/molecules/src/masonry/masonry.d.ts +15 -0
  31. package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +2 -0
  32. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +46 -2
  33. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-proxy/asset-link-format-proxy.d.ts +36 -1
  34. package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +20 -2
  35. package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +13 -0
  36. package/library/packages/organisms/src/carousel/carousel.d.ts +13 -0
  37. package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +54 -0
  38. package/library/packages/organisms/src/content-builder/blocks/video/video.d.ts +5 -0
  39. package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +2 -1
  40. package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +6 -0
  41. package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +1 -0
  42. package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +1 -0
  43. package/library/packages/organisms/src/content-builder/configs/image.d.ts +2 -0
  44. package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +1 -0
  45. package/library/packages/organisms/src/content-builder/configs/video.d.ts +1 -0
  46. package/library/packages/organisms/src/content-builder/configs-controller.d.ts +10 -0
  47. package/library/packages/organisms/src/content-builder/styleController.d.ts +2 -0
  48. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +28 -5
  49. package/library/packages/types/src/asset-link-format.d.ts +0 -1
  50. package/library/packages/types/src/content-builder.d.ts +7 -0
  51. package/library/packages/types/src/gallery-item.d.ts +1 -0
  52. package/library/packages/types/src/masonry.d.ts +1 -0
  53. package/library/packages/utils/src/transformation/transformation.d.ts +42 -3
  54. package/library/react-web-component.d.ts +55 -7
  55. package/library/utils.js +113 -109
  56. package/package.json +1 -1
  57. package/library/chunks/transformation.CWKaoGaY.js +0 -254
  58. package/library/packages/types/src/download-format-picker.d.ts +0 -7
package/library/utils.js CHANGED
@@ -1,56 +1,56 @@
1
- import { b as U } from "./chunks/url.CGdWC06g.js";
2
- import { R as yt, f as Et, g as At, h as It, U as Lt, a as Rt, d as Ft, c as bt, i as Vt, r as vt, t as Ot, e as kt } from "./chunks/url.CGdWC06g.js";
3
- import { j as Yt, f as _t, 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 _ } from "./chunks/url.CGdWC06g.js";
2
+ import { R as xt, 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";
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 Se } from "./chunks/color.LzSGBy7o.js";
6
- import { a as Me, g as xe } from "./chunks/active-elements.jTVWtBDp.js";
7
- import { a as Ee, p as Ae, c as Ie, b as Le, s as Re, w as Fe } 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 Ue } from "./chunks/debounce.DaHuiSGU.js";
11
- import { d as _e } from "./chunks/default-value.COZopaet.js";
6
+ import { a as Ce, g as ye } 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";
9
+ import { c as ve } from "./chunks/custom-element.L4WJXn1j.js";
10
+ import { d as _e } from "./chunks/debounce.DaHuiSGU.js";
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";
14
- import { f as Y } from "./chunks/form.DSsy3Fcy.js";
14
+ import { f as U } from "./chunks/form.DSsy3Fcy.js";
15
15
  import { F as Be, c as Ge, g as $e, v as ze, a as qe } from "./chunks/form.DSsy3Fcy.js";
16
16
  import { L as Ze, r as je } from "./chunks/i18n.BA19xtyU.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";
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 Sr, s as Cr } from "./chunks/dom.gRV2cDjL.js";
22
- import { H as xr, a as yr, g as Er } from "./chunks/slot.j5oheLJC.js";
20
+ import { k as y } from "./chunks/dom.gRV2cDjL.js";
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 Sr, s as Mr } from "./chunks/dom.gRV2cDjL.js";
22
+ import { H as yr, a as xr, g as Ar } from "./chunks/slot.j5oheLJC.js";
23
23
  import { a as Ir, g as Lr } from "./chunks/tabbable.BwnZBHrm.js";
24
- import { i as Fr } 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 Ur, c as Yr, f as _r, 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";
24
+ import { i as Rr } from "./chunks/user-agent.D9aPuOyL.js";
25
+ import { w as Or } from "./chunks/watch.DJF5K-8U.js";
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";
28
28
  import { f as c, a as u, D as m } from "./chunks/date-picker.BGHn6qg8.js";
29
29
  import { f as Qr } from "./chunks/content-builder.BX4pHujE.js";
30
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
31
  import { b as ia, e as la } from "./chunks/waveform.1U9U_0rd.js";
32
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
33
  import { s as Sa } from "./chunks/parse.Cu5nBDTb.js";
34
- import { b as Ma, n as xa, d as ya, e as Ea, f as Aa, y as Ia, o as La, g as Ra, h as Fa, l as ba, p as Va, z as va, x as Oa, a as ka, c as Ua, s as Ya, w as _a, 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";
34
+ import { b as Ca, n as ya, d as xa, 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
35
  import { g as za, a as qa } from "./chunks/template.ClovJacp.js";
36
36
  import { c as Za, f as ja, a as Ja, g as Ka } from "./chunks/time.DYWuX2id.js";
37
- import { S as es, a as rs, e as as, b as ss, d as os, c as ns, h as is } from "./chunks/transformation.CWKaoGaY.js";
37
+ import { A as es, f as rs, S as as, a as ss, e as os, b as ns, d as is, c as ls, h as cs, p as us, r as ms } from "./chunks/transformation.BfIEi4p4.js";
38
38
  function n(t) {
39
39
  const e = t.getFullYear(), r = String(t.getMonth() + 1).padStart(2, "0"), s = String(t.getDate()).padStart(2, "0");
40
40
  return `${e}-${r}-${s}`;
41
41
  }
42
- function y(t) {
42
+ function x(t) {
43
43
  const e = String(t.getHours()).padStart(2, "0"), r = String(t.getMinutes()).padStart(2, "0"), s = String(t.getSeconds()).padStart(2, "0");
44
44
  return `${e}:${r}:${s}`;
45
45
  }
46
46
  function h(t, e) {
47
47
  return new Date(t.getFullYear(), t.getMonth(), t.getDate() + e);
48
48
  }
49
- function E(t) {
49
+ function A(t) {
50
50
  const e = t.getDay(), r = e === 0 ? -6 : 1 - e;
51
51
  return h(t, r);
52
52
  }
53
- function A(t) {
53
+ function E(t) {
54
54
  return new Date(t.getFullYear(), t.getMonth(), 1);
55
55
  }
56
56
  function I(t) {
@@ -60,11 +60,11 @@ function L(t) {
60
60
  const e = Math.floor(t.getMonth() / 3) * 3;
61
61
  return new Date(t.getFullYear(), e, 1);
62
62
  }
63
- function R(t) {
63
+ function F(t) {
64
64
  const e = Math.floor(t.getMonth() / 3) * 3;
65
65
  return new Date(t.getFullYear(), e + 3, 0);
66
66
  }
67
- function F(t) {
67
+ function R(t) {
68
68
  const e = t.getMonth() < 6 ? 0 : 6;
69
69
  return new Date(t.getFullYear(), e, 1);
70
70
  }
@@ -87,9 +87,9 @@ class Q {
87
87
  const a = new Date(r.getTime() - 18e5);
88
88
  return {
89
89
  fromDate: n(a),
90
- fromTime: y(a),
90
+ fromTime: x(a),
91
91
  toDate: s,
92
- toTime: y(r)
92
+ toTime: x(r)
93
93
  };
94
94
  }
95
95
  case c.today:
@@ -137,7 +137,7 @@ class Q {
137
137
  toTime: u
138
138
  };
139
139
  case c.thisWeek: {
140
- const a = E(r);
140
+ const a = A(r);
141
141
  return {
142
142
  fromDate: n(a),
143
143
  fromTime: m,
@@ -146,7 +146,7 @@ class Q {
146
146
  };
147
147
  }
148
148
  case c.lastWeek: {
149
- const a = h(E(r), -7);
149
+ const a = h(A(r), -7);
150
150
  return {
151
151
  fromDate: n(a),
152
152
  fromTime: m,
@@ -156,7 +156,7 @@ class Q {
156
156
  }
157
157
  case c.thisMonth:
158
158
  return {
159
- fromDate: n(A(r)),
159
+ fromDate: n(E(r)),
160
160
  fromTime: m,
161
161
  toDate: n(I(r)),
162
162
  toTime: u
@@ -164,7 +164,7 @@ class Q {
164
164
  case c.lastMonth: {
165
165
  const a = new Date(r.getFullYear(), r.getMonth() - 1, 1);
166
166
  return {
167
- fromDate: n(A(a)),
167
+ fromDate: n(E(a)),
168
168
  fromTime: m,
169
169
  toDate: n(I(a)),
170
170
  toTime: u
@@ -174,7 +174,7 @@ class Q {
174
174
  return {
175
175
  fromDate: n(L(r)),
176
176
  fromTime: m,
177
- toDate: n(R(r)),
177
+ toDate: n(F(r)),
178
178
  toTime: u
179
179
  };
180
180
  case c.lastQuarter: {
@@ -186,13 +186,13 @@ class Q {
186
186
  return {
187
187
  fromDate: n(L(a)),
188
188
  fromTime: m,
189
- toDate: n(R(a)),
189
+ toDate: n(F(a)),
190
190
  toTime: u
191
191
  };
192
192
  }
193
193
  case c.thisHalfYear:
194
194
  return {
195
- fromDate: n(F(r)),
195
+ fromDate: n(R(r)),
196
196
  fromTime: m,
197
197
  toDate: n(b(r)),
198
198
  toTime: u
@@ -200,7 +200,7 @@ class Q {
200
200
  case c.lastHalfYear: {
201
201
  const a = new Date(r.getFullYear(), r.getMonth() - 6, 1);
202
202
  return {
203
- fromDate: n(F(a)),
203
+ fromDate: n(R(a)),
204
204
  fromTime: m,
205
205
  toDate: n(b(a)),
206
206
  toTime: u
@@ -263,7 +263,7 @@ function J(t) {
263
263
  }
264
264
  function K(t, e = void 0) {
265
265
  !this.ownerDocument.defaultView?.Matrix3 || !t || this.ownerDocument.defaultView?.open(
266
- U(t, "https://", !0),
266
+ _(t, "https://", !0),
267
267
  e ?? "_blank"
268
268
  );
269
269
  }
@@ -290,14 +290,14 @@ function et(t, e) {
290
290
  }
291
291
  class rt {
292
292
  constructor(e) {
293
- this.currentZIndex = x(), (this.host = e).addController(this);
293
+ this.currentZIndex = y(), (this.host = e).addController(this);
294
294
  }
295
295
  hostConnected() {
296
296
  }
297
297
  hostDisconnected() {
298
298
  }
299
299
  async activatePopup() {
300
- this.currentZIndex = x();
300
+ this.currentZIndex = y();
301
301
  }
302
302
  }
303
303
  class at {
@@ -327,11 +327,11 @@ class at {
327
327
  }
328
328
  }
329
329
  const st = (t) => t.ctrlKey || t.metaKey;
330
- function V(t) {
330
+ function O(t) {
331
331
  return t.replaceAll(" ", "_");
332
332
  }
333
333
  function ot(t) {
334
- return t.value ?? V(t.typeface);
334
+ return t.value ?? O(t.typeface);
335
335
  }
336
336
  function nt(t) {
337
337
  const e = [
@@ -339,21 +339,21 @@ function nt(t) {
339
339
  t.fontStyle,
340
340
  t.fontWeight
341
341
  ].filter((r) => r != null && r !== "").join("_");
342
- return V(e);
342
+ return O(e);
343
343
  }
344
- function v(t) {
344
+ function V(t) {
345
345
  return t.length >= 2 && (t.startsWith("'") && t.endsWith("'") || t.startsWith('"') && t.endsWith('"'));
346
346
  }
347
- function _(t) {
348
- return v(t) || !t.includes(" ") ? t : `'${t.replace(/\\/g, "\\\\").replace(/'/g, "\\'")}'`;
347
+ function Y(t) {
348
+ return V(t) || !t.includes(" ") ? t : `'${t.replace(/\\/g, "\\\\").replace(/'/g, "\\'")}'`;
349
349
  }
350
350
  function it(t) {
351
- return v(t) ? t.slice(1, -1).replace(/\\(.)/g, "$1") : t;
351
+ return V(t) ? t.slice(1, -1).replace(/\\(.)/g, "$1") : t;
352
352
  }
353
- function O(t, e) {
353
+ function v(t, e) {
354
354
  if (!t?.document)
355
355
  return !1;
356
- const r = "mmmmmmmmmmwwwwwww", s = "32px", o = t.document.createElement("canvas").getContext("2d"), i = (f) => o ? (o.font = `${s} ${_(f)}, monospace`, o.measureText(r).width) : 0, l = i("monospace");
356
+ const r = "mmmmmmmmmmwwwwwww", s = "32px", o = t.document.createElement("canvas").getContext("2d"), i = (f) => o ? (o.font = `${s} ${Y(f)}, monospace`, o.measureText(r).width) : 0, l = i("monospace");
357
357
  return i(e) !== l;
358
358
  }
359
359
  function lt(t, e) {
@@ -362,7 +362,7 @@ function lt(t, e) {
362
362
  let r = !1;
363
363
  return t.document.fonts.forEach((s) => {
364
364
  s.family.replace(/['"]/g, "").toLowerCase() === e.toLowerCase() && (r = !0);
365
- }), r ? !0 : O(t, e);
365
+ }), r ? !0 : v(t, e);
366
366
  }
367
367
  function N(t) {
368
368
  const e = /\bitalic\b/i, r = /\b(semi[-\s]?condensed|condensed)\b/i, s = (a) => {
@@ -381,7 +381,7 @@ function N(t) {
381
381
  }
382
382
  function ct(t, e, r = [300, 400, 500, 700, 900], s = ["normal", "italic"]) {
383
383
  const a = [];
384
- if (O(t, e))
384
+ if (v(t, e))
385
385
  for (const o of r)
386
386
  for (const i of s)
387
387
  a.push({
@@ -403,7 +403,7 @@ function ut(t) {
403
403
  }), r;
404
404
  }
405
405
  function P(t) {
406
- const r = [...t.getRootNode().querySelectorAll("*")], s = [...t.elements], a = Y.get(t), o = a ? Array.from(a) : [];
406
+ const r = [...t.getRootNode().querySelectorAll("*")], s = [...t.elements], a = U.get(t), o = a ? Array.from(a) : [];
407
407
  return [...s, ...o].sort(
408
408
  (i, l) => r.indexOf(i) < r.indexOf(l) ? -1 : r.indexOf(i) > r.indexOf(l) ? 1 : 0
409
409
  );
@@ -547,8 +547,8 @@ async function* St({
547
547
  const T = g * i + d, D = T * s;
548
548
  if (D >= r)
549
549
  continue;
550
- const w = d * p, S = g * l, C = H(t[a] ?? [], d, g), M = d === i - 1 && g === f - 1 || D + s >= r;
551
- C ? yield { ...C, isLastFrame: M } : (await B(o, D, s), k.drawImage(
550
+ const w = d * p, S = g * l, M = H(t[a] ?? [], d, g), C = d === i - 1 && g === f - 1 || D + s >= r;
551
+ M ? yield { ...M, isLastFrame: C } : (await B(o, D, s), k.drawImage(
552
552
  o,
553
553
  w,
554
554
  S,
@@ -560,7 +560,7 @@ async function* St({
560
560
  frameHeight: l,
561
561
  frameWidth: p,
562
562
  index: T,
563
- isLastFrame: M,
563
+ isLastFrame: C,
564
564
  row: g,
565
565
  rows: f,
566
566
  time: Number(D.toFixed(X)),
@@ -571,7 +571,7 @@ async function* St({
571
571
  } catch {
572
572
  }
573
573
  }
574
- function Ct({
574
+ function Mt({
575
575
  duration: t,
576
576
  frameWidth: e,
577
577
  playbackSpeed: r,
@@ -581,8 +581,10 @@ function Ct({
581
581
  return a > t && (a = t / 2), a;
582
582
  }
583
583
  export {
584
+ es as AUTO_FALLBACK_FORMAT,
585
+ rs as AUTO_ORIGINAL_FORMAT_MAX_BYTES,
584
586
  le as CMYK_VALIDATION_REGEX,
585
- Or as CalendarGrid,
587
+ vr as CalendarGrid,
586
588
  ce as ColorType,
587
589
  rt as CortexPopupController,
588
590
  Q as DateRangePresets,
@@ -590,29 +592,29 @@ export {
590
592
  Be as FormControlController,
591
593
  ue as HEX_ALPHA_VALIDATION_REGEX,
592
594
  me as HEX_VALIDATION_REGEX,
593
- xr as HasSlotController,
595
+ yr as HasSlotController,
594
596
  ft as HistoryManager,
595
597
  W as KeyboardKey,
596
598
  Ze as LocalizeController,
597
599
  X as PRECISION,
598
- yt as RELATIVE_URL_REGEX,
600
+ xt as RELATIVE_URL_REGEX,
599
601
  fe as RGB_VALIDATION_REGEX,
600
- es as SRCSET_WIDTH_LADDER,
601
- Et as URL_DOMAIN_VALIDATION_REGEX,
602
- At as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
602
+ as as SRCSET_WIDTH_LADDER,
603
+ At as URL_DOMAIN_VALIDATION_REGEX,
604
+ Et as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
603
605
  It as URL_PROTOCOL_VALIDATION_REGEX,
604
606
  Lt as URL_VALIDATION_REGEX,
605
- Me as activeElements,
606
- Ur as addMonths,
607
- Yt as adjustRelativeValues,
608
- Ee as animateTo,
609
- U as appendProtocol,
610
- Rt as appendQueryParam,
611
- rs as applyTransformationsToUrl,
612
- as as applyWidthToAssetUrl,
613
- ss as buildAssetSrcset,
614
- os as buildSizesFromDisplayWidth,
615
- ns as buildTransformationString,
607
+ Ce as activeElements,
608
+ _r as addMonths,
609
+ Ut as adjustRelativeValues,
610
+ Ae as animateTo,
611
+ _ as appendProtocol,
612
+ Ft as appendQueryParam,
613
+ ss as applyTransformationsToUrl,
614
+ os as applyWidthToAssetUrl,
615
+ ns as buildAssetSrcset,
616
+ is as buildSizesFromDisplayWidth,
617
+ ls as buildTransformationString,
616
618
  ia as buildWaveformPath,
617
619
  jr as calculateAspectRatioFit,
618
620
  Ke as clamp,
@@ -625,18 +627,18 @@ export {
625
627
  Kr as convertSrcToBlob,
626
628
  ta as cropImage,
627
629
  cr as cssValueToPx,
628
- Oe as customElement,
630
+ ve as customElement,
629
631
  Ge as customErrorValidityState,
630
- Ue as debounce,
631
- _e as defaultValue,
632
+ _e as debounce,
633
+ Ye as defaultValue,
632
634
  et as downloadAsset,
633
635
  Pe as drag,
634
- Ma as emptyToSpace,
635
- xa as escapeXML,
636
+ Ca as emptyToSpace,
637
+ ya as escapeXML,
636
638
  ge as extractColor,
637
- ya as extractExtension,
639
+ xa as extractExtension,
638
640
  St as extractFrames,
639
- Ea as extractRootData,
641
+ Aa as extractRootData,
640
642
  ha as extractValueAndUnit,
641
643
  la as extractWaveformPeaks,
642
644
  Qr as fetchCortexApi,
@@ -644,15 +646,15 @@ export {
644
646
  Jt as findContainingBlock,
645
647
  Kt as findCuttingAncestor,
646
648
  H as findFrameByColAndRow,
647
- _t as findIndexByProp,
649
+ Yt as findIndexByProp,
648
650
  Xe as focusWhenVisible,
649
- Y as formCollections,
651
+ U as formCollections,
650
652
  ga as formatAspectRatioString,
651
653
  ja as formatDurationPartsManually,
652
- Yr as formatIsoToDisplay,
653
- _r as formatMonthYearLabel,
654
+ Ur as formatIsoToDisplay,
655
+ Yr as formatMonthYearLabel,
654
656
  da as formatNumberWithGrouping,
655
- Aa as formatSecondsToTime,
657
+ Ea as formatSecondsToTime,
656
658
  Ia as formatTimeToSeconds,
657
659
  Ja as formatWithIntlDurationFormat,
658
660
  pa as gcd,
@@ -666,9 +668,9 @@ export {
666
668
  de as getColorType,
667
669
  ea as getContainedImageSize,
668
670
  fr as getCortexPopupLayer,
669
- x as getCurrentZIndex,
671
+ y as getCurrentZIndex,
670
672
  Nr as getDateMask,
671
- xe as getDeepestActiveElement,
673
+ ye as getDeepestActiveElement,
672
674
  Pt as getDeviceType,
673
675
  Ka as getDurationPartsByUnitsFormat,
674
676
  hr as getElementFromHTMLString,
@@ -678,31 +680,31 @@ export {
678
680
  P as getFormControls,
679
681
  za as getHighlightedTitle,
680
682
  qa as getHighlightedTitleHtml,
681
- yr as getInnerHTML,
682
- Ct as getInterval,
683
+ xr as getInnerHTML,
684
+ Mt as getInterval,
683
685
  pe as getLightDarkCssString,
684
686
  ra as getNaturalWidthHeight,
685
687
  dr as getNeededPaddingForBoxShadow,
686
688
  te as getNextAncestor,
687
689
  sr as getOffset,
688
690
  pr as getRelativeClickPercentage,
689
- Ra as getRootIDString,
691
+ Fa as getRootIDString,
690
692
  Ir as getTabbableBoundary,
691
693
  Lr as getTabbableElements,
692
- Er as getTextContent,
694
+ Ar as getTextContent,
693
695
  Wr as getTodayIsoDate,
694
696
  ot as getTypefaceOptionValue,
695
697
  Wt as groupBy,
696
- is as hasTransformSegment,
697
- Fa as htmlToPlainText,
698
+ cs as hasTransformSegment,
699
+ Ra as htmlToPlainText,
698
700
  Xt as insertAtIndex,
699
701
  wt as insertFrameToCache,
700
702
  Ht as insertMultipleAtIndex,
701
703
  ee as isChrome,
702
- Fr as isCortexAdobePlugin,
704
+ Rr as isCortexAdobePlugin,
703
705
  Dr as isDomElement,
704
706
  Tr as isElementInHorizontalView,
705
- Ft as isExpiredAssetUrl,
707
+ Rt as isExpiredAssetUrl,
706
708
  re as isFirefox,
707
709
  lt as isFontFamilyAvailable,
708
710
  mt as isFormInteracted,
@@ -714,7 +716,7 @@ export {
714
716
  aa as isSaveSrcValid,
715
717
  bt as isValidDomainOrIntranetUrl,
716
718
  Xr as isValidIsoDate,
717
- Vt as isValidUrl,
719
+ Ot as isValidUrl,
718
720
  Hr as isoToDate,
719
721
  Z as isoWeekNumber,
720
722
  Sr as loadScript,
@@ -728,11 +730,12 @@ export {
728
730
  j as openAssetOverview,
729
731
  J as openFolderOverview,
730
732
  K as openLink,
731
- Va as padPath,
732
- va as parseBooleanString,
733
+ Oa as padPath,
734
+ Va as parseBooleanString,
733
735
  Te as parseBorder,
734
736
  Gr as parseDisplayToIso,
735
- Ae as parseDuration,
737
+ Ee as parseDuration,
738
+ us as parseFileSizeToBytes,
736
739
  $r as parseIsoDate,
737
740
  dt as parseJsonString,
738
741
  we as parseLightDark,
@@ -742,37 +745,38 @@ export {
742
745
  oe as popoverSupported,
743
746
  Ie as prefersReducedMotion,
744
747
  tr as quantizeLargestRemainder,
745
- _ as quoteFontFamily,
748
+ Y as quoteFontFamily,
746
749
  Dt as readLocalStorageValue,
747
- Oa as reducePathToDirectChild,
750
+ va as reducePathToDirectChild,
748
751
  je as registerTranslation,
749
752
  zt as removeAtIndex,
750
753
  qt as removeMultipleAtIndex,
751
754
  sa as resizeImage,
752
- vt as resolveSpaceUrl,
755
+ ms as resolveAutoFormat,
756
+ Vt as resolveSpaceUrl,
753
757
  Da as rotateBox,
754
758
  oa as rotateImage,
755
759
  ka as safeExtension,
756
- Ua as safeString,
757
- Ya as sanitizeHTML,
760
+ _a as safeString,
761
+ Ua as sanitizeHTML,
758
762
  Ta as sanitizeRotation,
759
763
  nr as scrollIntoView,
760
764
  ut as serialize,
761
765
  tt as shareAsset,
762
766
  Le as shimKeyframesHeightAuto,
763
- Cr as sortByTopPosition,
767
+ Mr as sortByTopPosition,
764
768
  N as sortTypefaceVariants,
765
769
  Sa as splitBoxValues,
766
- _a as splitCamelCaseFormatted,
767
- Re as stopAnimations,
770
+ Ya as splitCamelCaseFormatted,
771
+ Fe as stopAnimations,
768
772
  ne as supportHLS,
769
- O as testFontAvailability,
770
- Ve as timecodeConverter,
773
+ v as testFontAvailability,
774
+ Oe as timecodeConverter,
771
775
  Na as toCamelCase,
772
776
  zr as toIsoDate,
773
777
  Pa as toKebabCase,
774
778
  Wa as toPascalCase,
775
- Ot as toRelativeUrl,
779
+ vt as toRelativeUrl,
776
780
  Xa as toTitleCase,
777
781
  kt as toUrlPathKey,
778
782
  Qt as toast,
@@ -783,7 +787,7 @@ export {
783
787
  Ga as upperFirst,
784
788
  ze as validValidityState,
785
789
  qe as valueMissingValidityState,
786
- Fe as waitForEvent,
787
- Vr as watch,
790
+ Re as waitForEvent,
791
+ Or as watch,
788
792
  Tt as writeLocalStorageValue
789
793
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.3.0",
4
+ "version": "3.5.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {