@orangelogic/design-system 3.6.0 → 3.8.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 (25) hide show
  1. package/library/chunks/{asset-link-format.Bj6HJXSZ.js → asset-link-format.B-tXtkr4.js} +804 -785
  2. package/library/chunks/{color-swatch-group.Bz2acokX.js → color-swatch-group.D1evXBSR.js} +1 -1
  3. package/library/chunks/{document-viewer.BZw451dy.js → document-viewer.C_3p-Fr2.js} +1 -1
  4. package/library/chunks/{index.Bf5ia_yC.js → index.B60ncEsL.js} +3 -3
  5. package/library/chunks/{transformation.CkwgrwKQ.js → transformation.DNl_AZs1.js} +128 -106
  6. package/library/chunks/{types.BjHMUzQj.js → types.CRoGmgCO.js} +8892 -8880
  7. package/library/components/asset-link-format.js +2 -2
  8. package/library/components/atoms.js +1 -1
  9. package/library/components/color-swatch-group.js +1 -1
  10. package/library/components/document-viewer.js +1 -1
  11. package/library/components/masonry.js +7 -7
  12. package/library/components/organisms.js +2 -2
  13. package/library/components/types.js +95 -93
  14. package/library/package.json +1 -1
  15. package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +2 -0
  16. package/library/packages/molecules/src/masonry/masonry.d.ts +1 -1
  17. package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +6 -0
  18. package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +5 -5
  19. package/library/packages/services/src/api/asset/asset.d.ts +1 -2
  20. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +10 -0
  21. package/library/packages/types/src/masonry.d.ts +1 -0
  22. package/library/packages/utils/src/transformation/transformation.d.ts +42 -7
  23. package/library/react-web-component.d.ts +2 -2
  24. package/library/utils.js +83 -81
  25. package/package.json +1 -1
@@ -3,7 +3,7 @@ import "../chunks/button.w0zH5Ivx.js";
3
3
  import "./space.js";
4
4
  import "../chunks/typography.IqHbnd3C.js";
5
5
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
6
- import { C as h } from "../chunks/asset-link-format.Bj6HJXSZ.js";
6
+ import { C as h } from "../chunks/asset-link-format.B-tXtkr4.js";
7
7
  import "../chunks/component.styles.CRO4Odto.js";
8
8
  import "../chunks/asset-link-format.ClaYu_v8.js";
9
9
  import "../chunks/position-picker.DjnhxIKF.js";
@@ -11,7 +11,7 @@ import "../chunks/custom-element.L4WJXn1j.js";
11
11
  import "../chunks/i18n.BA19xtyU.js";
12
12
  import "../chunks/watch.DJF5K-8U.js";
13
13
  import "../chunks/number.Cx2ncfJJ.js";
14
- import "../chunks/transformation.CkwgrwKQ.js";
14
+ import "../chunks/transformation.DNl_AZs1.js";
15
15
  import "../chunks/lit-element.jLBm65_O.js";
16
16
  import "../chunks/state.CSDxrqLd.js";
17
17
  import "../chunks/when.Dr1es41R.js";
@@ -20,7 +20,7 @@ import { default as W } from "./details.js";
20
20
  import { default as Y } from "./diff.js";
21
21
  import { C as _ } from "../chunks/dialog.ICoCAj6Z.js";
22
22
  import { default as oe } from "./divider.js";
23
- import { C as re } from "../chunks/document-viewer.BZw451dy.js";
23
+ import { C as re } from "../chunks/document-viewer.C_3p-Fr2.js";
24
24
  import { C as xe } from "../chunks/dot-pagination.CzVpiv00.js";
25
25
  import { default as me } from "./dot-status.js";
26
26
  import { default as Ce } from "./drawer.js";
@@ -3,7 +3,7 @@ import "../chunks/typography.IqHbnd3C.js";
3
3
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
4
4
  import "../chunks/color-swatch.Caved2kL.js";
5
5
  import "../chunks/component.styles.CRO4Odto.js";
6
- import { C as v } from "../chunks/color-swatch-group.Bz2acokX.js";
6
+ import { C as v } from "../chunks/color-swatch-group.D1evXBSR.js";
7
7
  import "../chunks/content-builder.BX4pHujE.js";
8
8
  import "../chunks/custom-element.L4WJXn1j.js";
9
9
  import "../chunks/debounce.DaHuiSGU.js";
@@ -1,5 +1,5 @@
1
1
  import "../chunks/resizable-component.styles.CAfXABBc.js";
2
- import { C as b } from "../chunks/document-viewer.BZw451dy.js";
2
+ import { C as b } from "../chunks/document-viewer.C_3p-Fr2.js";
3
3
  import "../chunks/component.styles.CRO4Odto.js";
4
4
  import "../chunks/index.Cpamj0jB.js";
5
5
  import "../chunks/custom-element.L4WJXn1j.js";
@@ -8,8 +8,8 @@ import { n as o, C as k } from "../chunks/lib-cortex-element.CVMmyPMC.js";
8
8
  import { c as F } from "../chunks/component.styles.CRO4Odto.js";
9
9
  import { a as b } from "../chunks/index.Cpamj0jB.js";
10
10
  import { c as A } from "../chunks/custom-element.L4WJXn1j.js";
11
- import { w as U } from "../chunks/watch.DJF5K-8U.js";
12
- import { r as z, b as f, a as _ } from "../chunks/transformation.CkwgrwKQ.js";
11
+ import { w as z } from "../chunks/watch.DJF5K-8U.js";
12
+ import { r as U, b as f, a as _ } from "../chunks/transformation.DNl_AZs1.js";
13
13
  import { i as E, x as n } from "../chunks/lit-element.jLBm65_O.js";
14
14
  import { r as x } from "../chunks/state.CSDxrqLd.js";
15
15
  import { e as j } from "../chunks/query.BBf1UFkC.js";
@@ -75,9 +75,9 @@ let a = class extends k {
75
75
  const t = Number.isFinite(this.cols) && this.cols > 0 ? this.cols : 1;
76
76
  return `${Math.round(100 / t)}vw`;
77
77
  }
78
- /** The format one item is served under: the configured one, or derived from its extension. */
78
+ /** The format one item is served under: the configured one, or derived from the item. */
79
79
  resolveItemFormat(t) {
80
- return this.manualFormat ? this.format : z(t);
80
+ return this.manualFormat ? this.format : U(t.extension, t.size);
81
81
  }
82
82
  handleItemClick(t, i) {
83
83
  this.emit("cx-masonry-select", {
@@ -129,7 +129,7 @@ let a = class extends k {
129
129
  this.handleItemClick(s, t);
130
130
  }, r = f(t.src, {
131
131
  extension: t.extension,
132
- format: this.resolveItemFormat(t.extension),
132
+ format: this.resolveItemFormat(t),
133
133
  maxWidth: _(this.manualFormat, t.maxWidth)
134
134
  });
135
135
  return n`<div data-id=${t[this.idKey]} class=${h({
@@ -148,7 +148,7 @@ let a = class extends k {
148
148
  this.handleItemClick(s, t);
149
149
  }, r = f(t.src, {
150
150
  extension: t.extension,
151
- format: this.resolveItemFormat(t.extension),
151
+ format: this.resolveItemFormat(t),
152
152
  maxWidth: _(this.manualFormat, t.maxWidth)
153
153
  });
154
154
  return n`<cx-grid-item xs="1"><div class=${h({
@@ -228,7 +228,7 @@ e([
228
228
  x()
229
229
  ], a.prototype, "abortDrag", 2);
230
230
  e([
231
- U("sortable", { waitUntilFirstUpdate: !0 })
231
+ z("sortable", { waitUntilFirstUpdate: !0 })
232
232
  ], a.prototype, "handleSortableChange", 1);
233
233
  a = e([
234
234
  A("cx-masonry")
@@ -1,5 +1,5 @@
1
- import { C as a } from "../chunks/asset-link-format.Bj6HJXSZ.js";
2
- import { C as t } from "../chunks/color-swatch-group.Bz2acokX.js";
1
+ import { C as a } from "../chunks/asset-link-format.B-tXtkr4.js";
2
+ import { C as t } from "../chunks/color-swatch-group.D1evXBSR.js";
3
3
  import { default as C } from "./file-on-demand.js";
4
4
  export {
5
5
  a as CxAssetLinkFormat,
@@ -2,7 +2,7 @@ import { default as t } from "./alert.js";
2
2
  import { bs as r } from "../chunks/am-chart.Cr-vMjcY.js";
3
3
  import { default as x } from "./animated-image.js";
4
4
  import { C as l } from "../chunks/animation.BD-1xugN.js";
5
- import { default as f } from "./array-line-clamp.js";
5
+ import { default as p } from "./array-line-clamp.js";
6
6
  import { default as n } from "./audio.js";
7
7
  import { default as d } from "./avatar.js";
8
8
  import { default as c } from "./badge.js";
@@ -16,10 +16,10 @@ import { default as L } from "./color-picker.js";
16
16
  import { default as V } from "./copy-button.js";
17
17
  import { default as M } from "./date-calendar.js";
18
18
  import { default as w } from "./details.js";
19
- import { default as k } from "./diff.js";
19
+ import { default as _ } from "./diff.js";
20
20
  import { C as N } from "../chunks/dialog.ICoCAj6Z.js";
21
21
  import { default as U } from "./divider.js";
22
- import { C as X } from "../chunks/document-viewer.BZw451dy.js";
22
+ import { C as z } from "../chunks/document-viewer.C_3p-Fr2.js";
23
23
  import { C as K } from "../chunks/dot-pagination.CzVpiv00.js";
24
24
  import { default as q } from "./dot-status.js";
25
25
  import { default as Q } from "./drawer.js";
@@ -29,7 +29,7 @@ import { default as ta } from "./element-clamp.js";
29
29
  import { default as ra } from "./format-bytes.js";
30
30
  import { default as xa } from "./format-date.js";
31
31
  import { default as la } from "./format-number.js";
32
- import { default as fa } from "./format-time.js";
32
+ import { default as pa } from "./format-time.js";
33
33
  import { default as na } from "./grid.js";
34
34
  import { default as da } from "./grid-item.js";
35
35
  import { C as ca } from "../chunks/header.BQg_JjHw.js";
@@ -43,10 +43,10 @@ import { default as La } from "./include.js";
43
43
  import { C as Va } from "../chunks/input.D1TGTsxj.js";
44
44
  import { default as Ma } from "./input-group.js";
45
45
  import { default as wa } from "./line-clamp.js";
46
- import { C as ka } from "../chunks/markdown.CnX2rNeb.js";
46
+ import { C as _a } from "../chunks/markdown.CnX2rNeb.js";
47
47
  import { default as Na } from "./menu.js";
48
48
  import { C as Ua } from "../chunks/menu-item.uFqeX_J6.js";
49
- import { default as Xa } from "./menu-label.js";
49
+ import { default as za } from "./menu-label.js";
50
50
  import { default as Ka } from "./menu-section.js";
51
51
  import { default as qa } from "./mutation-observer.js";
52
52
  import { C as Qa } from "../chunks/option.jeaj7_Lr.js";
@@ -56,7 +56,7 @@ import { default as te } from "./progress-bar.js";
56
56
  import { default as re } from "./progress-ring.js";
57
57
  import { default as xe } from "./qr-code.js";
58
58
  import { default as le } from "./radio.js";
59
- import { default as fe } from "./radio-button.js";
59
+ import { default as pe } from "./radio-button.js";
60
60
  import { default as ne } from "./radio-card.js";
61
61
  import { default as de } from "./radio-group.js";
62
62
  import { default as ce } from "./range.js";
@@ -70,10 +70,10 @@ import { default as Le } from "./spinner.js";
70
70
  import { default as Ve } from "./split-panel.js";
71
71
  import { default as Me } from "./step.js";
72
72
  import { default as we } from "./stepper.js";
73
- import { default as ke } from "./switch.js";
73
+ import { default as _e } from "./switch.js";
74
74
  import { default as Ne } from "./tab.js";
75
75
  import { C as Ue } from "../chunks/tab-group.Dpj7Lx8_.js";
76
- import { default as Xe } from "./tab-panel.js";
76
+ import { default as ze } from "./tab-panel.js";
77
77
  import { default as Ke } from "./tag.js";
78
78
  import { default as qe } from "./textarea.js";
79
79
  import { default as Qe } from "./timecode.js";
@@ -82,10 +82,10 @@ import { a as at, C as et } from "../chunks/tree.DYFFjW1-.js";
82
82
  import { C as ot } from "../chunks/typography.IqHbnd3C.js";
83
83
  import { default as st } from "./video.js";
84
84
  import { default as it } from "./visually-hidden.js";
85
- import { fontAwesomeIconNames as mt, getAnimationNames as ft, getEasingNames as pt } from "./atoms.js";
85
+ import { fontAwesomeIconNames as mt, getAnimationNames as pt, getEasingNames as ft } from "./atoms.js";
86
86
  import { c as Ct } from "../chunks/component.styles.CRO4Odto.js";
87
87
  import { g as ut, a as ct, s as gt } from "../chunks/animation-registry.HmpwNuGH.js";
88
- import { s as At, u as It, X as St, v as Dt, n as bt, C as yt, m as ht, _ as Ft, $ as Et, a0 as Pt, a2 as Rt, a1 as Lt, a3 as vt, a4 as Vt, a5 as Bt, a6 as Mt, a7 as Ot, l as wt, Y as Gt, w as kt, Z as _t, x as Nt, y as Ht, z as Ut, k as zt, a8 as Xt, B as Wt, E as Kt, G as jt, H as qt, a9 as Yt, j as Qt, J as Zt, K as Jt, h as $t, U as ao, V as eo, aa as to, f as oo, L as ro, M as so, N as xo, P as io, Q as lo, ab as mo, ac as fo, R as po, T as no, ad as Co, ae as uo, e as co, W as go, af as To, ag as Ao } from "../chunks/types.BjHMUzQj.js";
88
+ import { s as At, u as It, X as St, v as Dt, n as bt, C as yt, m as ht, _ as Ft, $ as Et, a0 as Pt, a2 as Rt, a1 as Lt, a3 as vt, a4 as Vt, a5 as Bt, a6 as Mt, a7 as Ot, l as wt, Y as Gt, w as _t, Z as kt, x as Nt, y as Ht, z as Ut, k as Xt, a8 as zt, B as Wt, E as Kt, G as jt, H as qt, a9 as Yt, j as Qt, J as Zt, K as Jt, h as $t, U as ao, V as eo, aa as to, f as oo, L as ro, M as so, N as xo, P as io, Q as lo, ab as mo, ac as po, R as fo, T as no, ad as Co, ae as uo, e as co, W as go, af as To, ag as Ao } from "../chunks/types.CRoGmgCO.js";
89
89
  import { default as So } from "./bicolor-picker.js";
90
90
  import { default as bo } from "./border-input-group.js";
91
91
  import { C as ho } from "../chunks/color-swatch.Caved2kL.js";
@@ -93,10 +93,10 @@ import { C as Eo } from "../chunks/confirm-popover.BpYjy5nJ.js";
93
93
  import { default as Ro } from "./corner-position-input-group.js";
94
94
  import { default as vo } from "./cropper.js";
95
95
  import { default as Bo } from "./dynamic-select.js";
96
- import { C as Oo, e as wo, f as Go } from "../chunks/color-swatch-group.Bz2acokX.js";
97
- import { C as _o } from "../chunks/folder-select.CP0NPc0S.js";
96
+ import { C as Oo, e as wo, f as Go } from "../chunks/color-swatch-group.D1evXBSR.js";
97
+ import { C as ko } from "../chunks/folder-select.CP0NPc0S.js";
98
98
  import { default as Ho } from "./masonry.js";
99
- import { default as zo } from "./padding-input-group.js";
99
+ import { default as Xo } from "./padding-input-group.js";
100
100
  import { default as Wo } from "./position-picker.js";
101
101
  import { default as jo } from "./shadow-input-group.js";
102
102
  import { default as Yo } from "./share-option-list.js";
@@ -104,22 +104,22 @@ import { default as Zo } from "./sidebar.js";
104
104
  import { default as $o } from "./size-input-group.js";
105
105
  import { default as er } from "./stepper-wizard.js";
106
106
  import { default as or } from "./typeface.js";
107
- import { C as sr } from "../chunks/asset-link-format.Bj6HJXSZ.js";
107
+ import { C as sr } from "../chunks/asset-link-format.B-tXtkr4.js";
108
108
  import { default as ir } from "./file-on-demand.js";
109
- import { C as mr, E as fr, b as pr, G as nr, a as Cr, O as dr, T as ur } from "../chunks/index.Cpamj0jB.js";
110
- import { CortexPopupController as gr, DateRangePresets as Tr, DragScroll as Ar, HistoryManager as Ir, KeyboardKey as Sr, PRECISION as Dr, downloadAsset as br, extractFrames as yr, findFrameByColAndRow as hr, getBrowserFontVariants as Fr, getFontFamilyOptionValue as Er, getFormControls as Pr, getInterval as Rr, getTypefaceOptionValue as Lr, insertFrameToCache as vr, isFontFamilyAvailable as Vr, isFormInteracted as Br, isModKey as Mr, isoWeekNumber as Or, omit as wr, openAssetOverview as Gr, openFolderOverview as kr, openLink as _r, parseJsonString as Nr, parseListString as Hr, pick as Ur, quoteFontFamily as zr, readLocalStorageValue as Xr, serialize as Wr, shareAsset as Kr, sortTypefaceVariants as jr, testFontAvailability as qr, unquoteFontFamily as Yr, writeLocalStorageValue as Qr } from "../utils.js";
111
- import { j as Jr, f as $r, b as as, c as es, g as ts, e as os, i as rs, a as ss, h as xs, m as is, d as ls, r as ms, t as fs } from "../chunks/toast.C5Ir5yKA.js";
109
+ import { C as mr, E as pr, b as fr, G as nr, a as Cr, O as dr, T as ur } from "../chunks/index.Cpamj0jB.js";
110
+ import { CortexPopupController as gr, DateRangePresets as Tr, DragScroll as Ar, HistoryManager as Ir, KeyboardKey as Sr, PRECISION as Dr, downloadAsset as br, extractFrames as yr, findFrameByColAndRow as hr, getBrowserFontVariants as Fr, getFontFamilyOptionValue as Er, getFormControls as Pr, getInterval as Rr, getTypefaceOptionValue as Lr, insertFrameToCache as vr, isFontFamilyAvailable as Vr, isFormInteracted as Br, isModKey as Mr, isoWeekNumber as Or, omit as wr, openAssetOverview as Gr, openFolderOverview as _r, openLink as kr, parseJsonString as Nr, parseListString as Hr, pick as Ur, quoteFontFamily as Xr, readLocalStorageValue as zr, serialize as Wr, shareAsset as Kr, sortTypefaceVariants as jr, testFontAvailability as qr, unquoteFontFamily as Yr, writeLocalStorageValue as Qr } from "../utils.js";
111
+ import { j as Jr, f as $r, b as as, c as es, g as ts, e as os, i as rs, a as ss, h as xs, m as is, d as ls, r as ms, t as ps } from "../chunks/toast.C5Ir5yKA.js";
112
112
  import { e as ns, a as Cs, f as ds, g as us, d as cs, b as gs, c as Ts, i as As, p as Is, s as Ss } from "../chunks/browser.BHOCIF_A.js";
113
113
  import { d as bs, C as ys, e as hs, H as Fs, R as Es, c as Ps, h as Rs, f as Ls, g as vs, l as Vs, a as Bs, p as Ms, b as Os } from "../chunks/color.LzSGBy7o.js";
114
- import { a as Gs, g as ks } from "../chunks/active-elements.jTVWtBDp.js";
115
- import { a as Ns, p as Hs, c as Us, b as zs, s as Xs, w as Ws } from "../chunks/event.BeKOsirN.js";
114
+ import { a as Gs, g as _s } from "../chunks/active-elements.jTVWtBDp.js";
115
+ import { a as Ns, p as Hs, c as Us, b as Xs, s as zs, w as Ws } from "../chunks/event.BeKOsirN.js";
116
116
  import { t as js } from "../chunks/converters.DkDtLstb.js";
117
117
  import { c as Ys } from "../chunks/custom-element.L4WJXn1j.js";
118
118
  import { d as Zs } from "../chunks/debounce.DaHuiSGU.js";
119
119
  import { d as $s } from "../chunks/default-value.COZopaet.js";
120
120
  import { d as ex } from "../chunks/drag.DenOh3AE.js";
121
121
  import { f as ox } from "../chunks/focus-when-visible.jWSw9ks0.js";
122
- import { F as sx, c as xx, f as ix, g as lx, v as mx, a as fx } from "../chunks/form.C8LMdQB4.js";
122
+ import { F as sx, c as xx, f as ix, g as lx, v as mx, a as px } from "../chunks/form.C8LMdQB4.js";
123
123
  import { L as nx, r as Cx } from "../chunks/i18n.BA19xtyU.js";
124
124
  import { c as ux, q as cx } from "../chunks/math.DuKzLacZ.js";
125
125
  import { g as Tx } from "../chunks/modal.Ct0bJBSe.js";
@@ -129,27 +129,28 @@ import { a as Rx, g as Lx } from "../chunks/tabbable.BwnZBHrm.js";
129
129
  import { i as Vx } from "../chunks/user-agent.D9aPuOyL.js";
130
130
  import { w as Mx } from "../chunks/watch.DJF5K-8U.js";
131
131
  import { C as wx } from "../chunks/calendar-grid.BWjcZL5W.js";
132
- import { b as kx, c as _x, f as Nx, h as Hx, g as Ux, a as zx, i as Xx, d as Wx, n as Kx, e as jx, p as qx, t as Yx } from "../chunks/date.iWq_pkIk.js";
133
- import { c as Zx, d as Jx, h as $x, m as ai, k as ei, a as ti, g as oi, j as ri, b as si, f as xi, i as ii, e as li, l as mi, s as fi } from "../chunks/dom.DShN_5Jh.js";
132
+ import { b as _x, c as kx, f as Nx, h as Hx, g as Ux, a as Xx, i as zx, d as Wx, n as Kx, e as jx, p as qx, t as Yx } from "../chunks/date.iWq_pkIk.js";
133
+ import { c as Zx, d as Jx, h as $x, m as ai, k as ei, a as ti, g as oi, j as ri, b as si, f as xi, i as ii, e as li, l as mi, s as pi } from "../chunks/dom.DShN_5Jh.js";
134
134
  import { f as ni } from "../chunks/content-builder.BX4pHujE.js";
135
135
  import { c as di, f as ui, e as ci, b as gi, g as Ti, d as Ai, i as Ii, r as Si, a as Di } from "../chunks/image.Y5c_hFx8.js";
136
136
  import { b as yi, e as hi } from "../chunks/waveform.1U9U_0rd.js";
137
137
  import { c as Ei, b as Pi, a as Ri, e as Li, d as vi, f as Vi, g as Bi, r as Mi, s as Oi } from "../chunks/number.Cx2ncfJJ.js";
138
138
  import { s as Gi } from "../chunks/parse.Cu5nBDTb.js";
139
- import { b as _i, n as Ni, d as Hi, e as Ui, f as zi, y as Xi, o as Wi, g as Ki, h as ji, l as qi, p as Yi, z as Qi, x as Zi, a as Ji, c as $i, s as al, w as el, r as tl, t as ol, q as rl, v as sl, i as xl, m as il, u as ll } from "../chunks/string.Demn8Xmk.js";
140
- import { g as fl, a as pl } from "../chunks/template.ClovJacp.js";
139
+ import { b as ki, n as Ni, d as Hi, e as Ui, f as Xi, y as zi, o as Wi, g as Ki, h as ji, l as qi, p as Yi, z as Qi, x as Zi, a as Ji, c as $i, s as al, w as el, r as tl, t as ol, q as rl, v as sl, i as xl, m as il, u as ll } from "../chunks/string.Demn8Xmk.js";
140
+ import { g as pl, a as fl } from "../chunks/template.ClovJacp.js";
141
141
  import { c as Cl, f as dl, a as ul, g as cl } from "../chunks/time.DYWuX2id.js";
142
- import { A as Tl, g as Al, S as Il, c as Sl, f as Dl, b as bl, e as yl, d as hl, h as Fl, p as El, r as Pl, a as Rl } from "../chunks/transformation.CkwgrwKQ.js";
143
- import { R as vl, f as Vl, g as Bl, h as Ml, U as Ol, b as wl, a as Gl, d as kl, c as _l, i as Nl, r as Hl, t as Ul, e as zl } from "../chunks/url.CGdWC06g.js";
144
- import { C as Wl } from "../chunks/lib-cortex-element.CVMmyPMC.js";
142
+ import { A as Tl, j as Al, i as Il, S as Sl, d as Dl, c as bl, g as yl, b as hl, f as Fl, e as El, h as Pl, p as Rl, r as Ll, a as vl } from "../chunks/transformation.DNl_AZs1.js";
143
+ import { R as Bl, f as Ml, g as Ol, h as wl, U as Gl, b as _l, a as kl, d as Nl, c as Hl, i as Ul, r as Xl, t as zl, e as Wl } from "../chunks/url.CGdWC06g.js";
144
+ import { C as jl } from "../chunks/lib-cortex-element.CVMmyPMC.js";
145
145
  export {
146
146
  Tl as AUTO_FALLBACK_FORMAT,
147
- Al as AUTO_ORIGINAL_FORMAT_MAX_BYTES,
147
+ Al as AUTO_FORMAT_EXTENSION,
148
+ Il as AUTO_ORIGINAL_FORMAT_MAX_BYTES,
148
149
  bs as CMYK_VALIDATION_REGEX,
149
150
  wx as CalendarGrid,
150
151
  ys as ColorType,
151
152
  mr as CornerPosition,
152
- Wl as CortexElement,
153
+ jl as CortexElement,
153
154
  gr as CortexPopupController,
154
155
  At as Cx3dViewer,
155
156
  t as CxAlert,
@@ -158,7 +159,7 @@ export {
158
159
  l as CxAnimation,
159
160
  It as CxAnnotator,
160
161
  St as CxAnnotatorComment,
161
- f as CxArrayLineClamp,
162
+ p as CxArrayLineClamp,
162
163
  Dt as CxAssetDataDisplay,
163
164
  bt as CxAssetFormatPicker,
164
165
  sr as CxAssetLinkFormat,
@@ -194,21 +195,21 @@ export {
194
195
  vo as CxCropper,
195
196
  wt as CxDamCustomToolbarButtonsEditor,
196
197
  Gt as CxDashboardFilter,
197
- kt as CxDashboardIframe,
198
- _t as CxDashboardTable,
198
+ _t as CxDashboardIframe,
199
+ kt as CxDashboardTable,
199
200
  Nt as CxDataTabGroup,
200
201
  M as CxDateCalendar,
201
202
  w as CxDetails,
202
203
  Ht as CxDetailsGroup,
203
204
  N as CxDialog,
204
- k as CxDiff,
205
+ _ as CxDiff,
205
206
  U as CxDivider,
206
207
  Ut as CxDocsExample,
207
- X as CxDocumentViewer,
208
+ z as CxDocumentViewer,
208
209
  K as CxDotPagination,
209
210
  q as CxDotStatus,
210
- zt as CxDownloadFormatPicker,
211
- Xt as CxDownloader,
211
+ Xt as CxDownloadFormatPicker,
212
+ zt as CxDownloader,
212
213
  Q as CxDrawer,
213
214
  J as CxDropdown,
214
215
  Bo as CxDynamicSelect,
@@ -221,12 +222,12 @@ export {
221
222
  qt as CxFacetedFilterFacet,
222
223
  ir as CxFileOnDemand,
223
224
  Yt as CxFindAndReplace,
224
- _o as CxFolderSelect,
225
+ ko as CxFolderSelect,
225
226
  Qt as CxFontPicker,
226
227
  ra as CxFormatBytes,
227
228
  xa as CxFormatDate,
228
229
  la as CxFormatNumber,
229
- fa as CxFormatTime,
230
+ pa as CxFormatTime,
230
231
  Zt as CxGalleryItem,
231
232
  Jt as CxGraphView,
232
233
  na as CxGrid,
@@ -247,18 +248,18 @@ export {
247
248
  to as CxLightbox,
248
249
  wa as CxLineClamp,
249
250
  oo as CxListEditor,
250
- ka as CxMarkdown,
251
+ _a as CxMarkdown,
251
252
  ro as CxMarkdownViewer,
252
253
  Ho as CxMasonry,
253
254
  so as CxMentions,
254
255
  Na as CxMenu,
255
256
  Ua as CxMenuItem,
256
- Xa as CxMenuLabel,
257
+ za as CxMenuLabel,
257
258
  Ka as CxMenuSection,
258
259
  Go as CxMultiSelect,
259
260
  qa as CxMutationObserver,
260
261
  Qa as CxOption,
261
- zo as CxPaddingInputGroup,
262
+ Xo as CxPaddingInputGroup,
262
263
  xo as CxPageOutline,
263
264
  Ja as CxPagination,
264
265
  io as CxPdfViewerToolbar,
@@ -268,7 +269,7 @@ export {
268
269
  re as CxProgressRing,
269
270
  xe as CxQrCode,
270
271
  le as CxRadio,
271
- fe as CxRadioButton,
272
+ pe as CxRadioButton,
272
273
  ne as CxRadioCard,
273
274
  de as CxRadioGroup,
274
275
  ce as CxRange,
@@ -284,18 +285,18 @@ export {
284
285
  Fe as CxSkeleton,
285
286
  Pe as CxSpace,
286
287
  mo as CxSpaceSelector,
287
- fo as CxSpecialCharactersDialog,
288
+ po as CxSpecialCharactersDialog,
288
289
  Le as CxSpinner,
289
290
  Ve as CxSplitPanel,
290
- po as CxStatCard,
291
+ fo as CxStatCard,
291
292
  Me as CxStep,
292
293
  we as CxStepper,
293
294
  er as CxStepperWizard,
294
295
  no as CxStorybook,
295
- ke as CxSwitch,
296
+ _e as CxSwitch,
296
297
  Ne as CxTab,
297
298
  Ue as CxTabGroup,
298
- Xe as CxTabPanel,
299
+ ze as CxTabPanel,
299
300
  Ke as CxTag,
300
301
  Co as CxTemplateSwitcher,
301
302
  uo as CxTextToSpeech,
@@ -313,8 +314,8 @@ export {
313
314
  To as CxXmlEditor,
314
315
  Tr as DateRangePresets,
315
316
  Ar as DragScroll,
316
- fr as Easing,
317
- pr as EasingFunction,
317
+ pr as Easing,
318
+ fr as EasingFunction,
318
319
  sx as FormControlController,
319
320
  nr as GsapEasing,
320
321
  hs as HEX_ALPHA_VALIDATION_REGEX,
@@ -327,25 +328,26 @@ export {
327
328
  Cr as ObjectFit,
328
329
  dr as Orientation,
329
330
  Dr as PRECISION,
330
- vl as RELATIVE_URL_REGEX,
331
+ Bl as RELATIVE_URL_REGEX,
331
332
  Es as RGB_VALIDATION_REGEX,
332
- Il as SRCSET_WIDTH_LADDER,
333
+ Sl as SRCSET_WIDTH_LADDER,
333
334
  ur as TransitionType,
334
- Vl as URL_DOMAIN_VALIDATION_REGEX,
335
- Bl as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
336
- Ml as URL_PROTOCOL_VALIDATION_REGEX,
337
- Ol as URL_VALIDATION_REGEX,
335
+ Ml as URL_DOMAIN_VALIDATION_REGEX,
336
+ Ol as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
337
+ wl as URL_PROTOCOL_VALIDATION_REGEX,
338
+ Gl as URL_VALIDATION_REGEX,
338
339
  Gs as activeElements,
339
- kx as addMonths,
340
+ _x as addMonths,
340
341
  Jr as adjustRelativeValues,
341
342
  Ns as animateTo,
342
- wl as appendProtocol,
343
- Gl as appendQueryParam,
344
- Sl as applyTransformationsToUrl,
345
- Dl as applyWidthToAssetUrl,
346
- bl as buildAssetSrcset,
347
- yl as buildSizesFromDisplayWidth,
348
- hl as buildTransformationString,
343
+ _l as appendProtocol,
344
+ kl as appendQueryParam,
345
+ Dl as applyAutoFormatToAssetUrl,
346
+ bl as applyTransformationsToUrl,
347
+ yl as applyWidthToAssetUrl,
348
+ hl as buildAssetSrcset,
349
+ Fl as buildSizesFromDisplayWidth,
350
+ El as buildTransformationString,
349
351
  yi as buildWaveformPath,
350
352
  di as calculateAspectRatioFit,
351
353
  ux as clamp,
@@ -365,7 +367,7 @@ export {
365
367
  $s as defaultValue,
366
368
  br as downloadAsset,
367
369
  ex as drag,
368
- _i as emptyToSpace,
370
+ ki as emptyToSpace,
369
371
  Ni as escapeXML,
370
372
  Rs as extractColor,
371
373
  Hi as extractExtension,
@@ -384,17 +386,17 @@ export {
384
386
  ix as formCollections,
385
387
  vi as formatAspectRatioString,
386
388
  dl as formatDurationPartsManually,
387
- _x as formatIsoToDisplay,
389
+ kx as formatIsoToDisplay,
388
390
  Nx as formatMonthYearLabel,
389
391
  Vi as formatNumberWithGrouping,
390
- zi as formatSecondsToTime,
391
- Xi as formatTimeToSeconds,
392
+ Xi as formatSecondsToTime,
393
+ zi as formatTimeToSeconds,
392
394
  ul as formatWithIntlDurationFormat,
393
395
  Bi as gcd,
394
396
  Jx as getActiveElement,
395
397
  Tx as getActiveModals,
396
398
  ut as getAnimation,
397
- ft as getAnimationNames,
399
+ pt as getAnimationNames,
398
400
  lx as getAssociatedForm,
399
401
  $x as getAttributes,
400
402
  Wi as getAttributesString,
@@ -405,17 +407,17 @@ export {
405
407
  ai as getCortexPopupLayer,
406
408
  ei as getCurrentZIndex,
407
409
  Hx as getDateMask,
408
- ks as getDeepestActiveElement,
410
+ _s as getDeepestActiveElement,
409
411
  es as getDeviceType,
410
412
  cl as getDurationPartsByUnitsFormat,
411
- pt as getEasingNames,
413
+ ft as getEasingNames,
412
414
  ti as getElementFromHTMLString,
413
415
  oi as getElementFromTemplate,
414
416
  Ux as getFirstDayOfWeek,
415
417
  Er as getFontFamilyOptionValue,
416
418
  Pr as getFormControls,
417
- fl as getHighlightedTitle,
418
- pl as getHighlightedTitleHtml,
419
+ pl as getHighlightedTitle,
420
+ fl as getHighlightedTitleHtml,
419
421
  Fx as getInnerHTML,
420
422
  Rr as getInterval,
421
423
  vs as getLightDarkCssString,
@@ -428,10 +430,10 @@ export {
428
430
  Rx as getTabbableBoundary,
429
431
  Lx as getTabbableElements,
430
432
  Ex as getTextContent,
431
- zx as getTodayIsoDate,
433
+ Xx as getTodayIsoDate,
432
434
  Lr as getTypefaceOptionValue,
433
435
  ts as groupBy,
434
- Fl as hasTransformSegment,
436
+ Pl as hasTransformSegment,
435
437
  ji as htmlToPlainText,
436
438
  os as insertAtIndex,
437
439
  vr as insertFrameToCache,
@@ -440,7 +442,7 @@ export {
440
442
  Vx as isCortexAdobePlugin,
441
443
  xi as isDomElement,
442
444
  ii as isElementInHorizontalView,
443
- kl as isExpiredAssetUrl,
445
+ Nl as isExpiredAssetUrl,
444
446
  gs as isFirefox,
445
447
  Vr as isFontFamilyAvailable,
446
448
  Br as isFormInteracted,
@@ -450,9 +452,9 @@ export {
450
452
  Mr as isModKey,
451
453
  As as isSafari,
452
454
  Ii as isSaveSrcValid,
453
- _l as isValidDomainOrIntranetUrl,
454
- Xx as isValidIsoDate,
455
- Nl as isValidUrl,
455
+ Hl as isValidDomainOrIntranetUrl,
456
+ zx as isValidIsoDate,
457
+ Ul as isValidUrl,
456
458
  Wx as isoToDate,
457
459
  Or as isoWeekNumber,
458
460
  mi as loadScript,
@@ -464,14 +466,14 @@ export {
464
466
  Kx as normalizeToIsoDate,
465
467
  wr as omit,
466
468
  Gr as openAssetOverview,
467
- kr as openFolderOverview,
468
- _r as openLink,
469
+ _r as openFolderOverview,
470
+ kr as openLink,
469
471
  Yi as padPath,
470
472
  Qi as parseBooleanString,
471
473
  Bs as parseBorder,
472
474
  jx as parseDisplayToIso,
473
475
  Hs as parseDuration,
474
- El as parseFileSizeToBytes,
476
+ Rl as parseFileSizeToBytes,
475
477
  qx as parseIsoDate,
476
478
  Nr as parseJsonString,
477
479
  Ms as parseLightDark,
@@ -481,16 +483,16 @@ export {
481
483
  Is as popoverSupported,
482
484
  Us as prefersReducedMotion,
483
485
  cx as quantizeLargestRemainder,
484
- zr as quoteFontFamily,
485
- Xr as readLocalStorageValue,
486
+ Xr as quoteFontFamily,
487
+ zr as readLocalStorageValue,
486
488
  Zi as reducePathToDirectChild,
487
489
  Cx as registerTranslation,
488
490
  ls as removeAtIndex,
489
491
  ms as removeMultipleAtIndex,
490
492
  Si as resizeImage,
491
- Pl as resolveAutoFormat,
492
- Rl as resolveAutoMaxWidth,
493
- Hl as resolveSpaceUrl,
493
+ Ll as resolveAutoFormat,
494
+ vl as resolveAutoMaxWidth,
495
+ Xl as resolveSpaceUrl,
494
496
  Mi as rotateBox,
495
497
  Di as rotateImage,
496
498
  Ji as safeExtension,
@@ -502,12 +504,12 @@ export {
502
504
  ct as setAnimation,
503
505
  gt as setDefaultAnimation,
504
506
  Kr as shareAsset,
505
- zs as shimKeyframesHeightAuto,
506
- fi as sortByTopPosition,
507
+ Xs as shimKeyframesHeightAuto,
508
+ pi as sortByTopPosition,
507
509
  jr as sortTypefaceVariants,
508
510
  Gi as splitBoxValues,
509
511
  el as splitCamelCaseFormatted,
510
- Xs as stopAnimations,
512
+ zs as stopAnimations,
511
513
  Ss as supportHLS,
512
514
  qr as testFontAvailability,
513
515
  js as timecodeConverter,
@@ -515,17 +517,17 @@ export {
515
517
  Yx as toIsoDate,
516
518
  ol as toKebabCase,
517
519
  rl as toPascalCase,
518
- Ul as toRelativeUrl,
520
+ zl as toRelativeUrl,
519
521
  sl as toTitleCase,
520
- zl as toUrlPathKey,
521
- fs as toast,
522
+ Wl as toUrlPathKey,
523
+ ps as toast,
522
524
  xl as truncateTextMiddle,
523
525
  il as unescapeXML,
524
526
  bx as unlockBodyScrolling,
525
527
  Yr as unquoteFontFamily,
526
528
  ll as upperFirst,
527
529
  mx as validValidityState,
528
- fx as valueMissingValidityState,
530
+ px as valueMissingValidityState,
529
531
  Ws as waitForEvent,
530
532
  Mx as watch,
531
533
  Qr as writeLocalStorageValue
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.6.0",
4
+ "version": "3.8.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -166,7 +166,9 @@ export default class CxIconPicker extends CortexElement {
166
166
  private renderIcon;
167
167
  private renderCustomIconPickerMenuItem;
168
168
  private renderCustomIconPicker;
169
+ private renderSelectPrefixIcon;
169
170
  private renderSelectMode;
171
+ private renderButtonPrefixIcon;
170
172
  private renderButtonMode;
171
173
  render(): import('lit').TemplateResult<1>;
172
174
  }
@@ -103,7 +103,7 @@ export default class CxMasonry extends CortexElement {
103
103
  * the default `100vw`.
104
104
  */
105
105
  private get itemSizes();
106
- /** The format one item is served under: the configured one, or derived from its extension. */
106
+ /** The format one item is served under: the configured one, or derived from the item. */
107
107
  private resolveItemFormat;
108
108
  handleItemClick(event: MouseEvent, item: MasonryItem): void;
109
109
  handleSortableUpdate(event: Sortable.SortableEvent): void;
@@ -178,6 +178,12 @@ export default class CxSbImage extends CxImage {
178
178
  private assetExtension;
179
179
  /** Width of the proxy currently displayed; caps `srcset` so it never asks to upscale. */
180
180
  private assetProxyWidth;
181
+ /**
182
+ * The asset's file size, which is what `Auto` uses to choose between the original-file
183
+ * proxy and the transcoded one. Empty until the asset fetch reports back, which
184
+ * `resolveAutoFormat` reads as "within the limit".
185
+ */
186
+ private assetFileSize;
181
187
  /**
182
188
  * Whether an asset fetch has reported back for the current record.
183
189
  *
@@ -6,11 +6,11 @@ import { default as CortexLightElement } from '../../../base/src/cortex-light-el
6
6
  *
7
7
  * @description Scans its light-DOM children for record-id blocks (`cx-sb-image`,
8
8
  * `cx-sb-video`, `cx-sb-audio`) and batch-fetches their asset metadata in one Search
9
- * call, and for blocks linking to a team space (`cx-sb-button`, `cx-sb-image`,
10
- * `cx-sb-video`), fetching the space list once and assigning it as `spaces`. It also
11
- * distributes its `securityBypassToken` to every record-id child (including
12
- * `cx-timeline`, for expired-URL recovery only) so their own runtime Search calls are
13
- * authorised. Renders no UI. Blocks skip their own fetch whenever an ancestor supplies
9
+ * call, and for blocks needing the team-space list (`cx-sb-button`, `cx-sb-image`,
10
+ * `cx-sb-video` linking to a space, and `cx-gallery` showing space cards), fetching
11
+ * the space list once and assigning it as `spaces`. It also distributes its
12
+ * `securityBypassToken` to every record-id child (including `cx-timeline`, for
13
+ * expired-URL recovery only) so their own runtime Search calls are authorised. Renders no UI. Blocks skip their own fetch whenever an ancestor supplies
14
14
  * it, so they must sit inside this element for that to apply — in the editor that means
15
15
  * inside the canvas document.
16
16
  *