@orangelogic/design-system 3.7.0 → 3.9.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.a59f8lRl.js → asset-link-format.BLKOUD2l.js} +1005 -979
  2. package/library/chunks/{color-swatch-group.DJqdDogB.js → color-swatch-group.Bvq6xkM-.js} +2 -3
  3. package/library/chunks/{document-viewer.CXynVA4R.js → document-viewer.CRMRT7Ou.js} +1 -2
  4. package/library/chunks/{index.Cszcira8.js → index.4gEMGYGn.js} +4 -4
  5. package/library/chunks/{toast.C5Ir5yKA.js → toast.CCWVobz5.js} +1 -1
  6. package/library/chunks/transformation.D27sTUdZ.js +392 -0
  7. package/library/chunks/{types.D9i8EgKJ.js → types.Bin5fi-e.js} +5579 -5594
  8. package/library/components/asset-link-format.js +2 -2
  9. package/library/components/atoms.js +1 -1
  10. package/library/components/color-swatch-group.js +3 -3
  11. package/library/components/document-viewer.js +1 -1
  12. package/library/components/masonry.js +119 -138
  13. package/library/components/organisms.js +2 -2
  14. package/library/components/types.js +130 -131
  15. package/library/package.json +1 -1
  16. package/library/packages/molecules/src/masonry/masonry.d.ts +0 -2
  17. package/library/packages/services/src/api/asset/asset.d.ts +1 -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 +1 -0
  21. package/library/react-web-component.d.ts +4 -4
  22. package/library/utils.js +96 -97
  23. package/package.json +1 -1
  24. package/library/chunks/content-builder.BX4pHujE.js +0 -60
  25. package/library/chunks/transformation.JkkMVin_.js +0 -334
@@ -3,7 +3,7 @@ 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
5
  import { default as p } from "./array-line-clamp.js";
6
- import { default as n } from "./audio.js";
6
+ import { default as f } from "./audio.js";
7
7
  import { default as d } from "./avatar.js";
8
8
  import { default as c } from "./badge.js";
9
9
  import { default as T } from "./breadcrumb.js";
@@ -19,9 +19,9 @@ import { default as w } from "./details.js";
19
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 z } from "../chunks/document-viewer.CXynVA4R.js";
22
+ import { C as z } from "../chunks/document-viewer.CRMRT7Ou.js";
23
23
  import { C as K } from "../chunks/dot-pagination.CzVpiv00.js";
24
- import { default as q } from "./dot-status.js";
24
+ import { default as j } from "./dot-status.js";
25
25
  import { default as Q } from "./drawer.js";
26
26
  import { default as J } from "./dropdown.js";
27
27
  import { default as aa } from "./e-chart.js";
@@ -30,7 +30,7 @@ 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
32
  import { default as pa } from "./format-time.js";
33
- import { default as na } from "./grid.js";
33
+ import { default as fa } 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";
36
36
  import { C as Ta } from "../chunks/hub-connection.BtevPWYb.js";
@@ -48,7 +48,7 @@ import { default as Na } from "./menu.js";
48
48
  import { C as Ua } from "../chunks/menu-item.uFqeX_J6.js";
49
49
  import { default as za } from "./menu-label.js";
50
50
  import { default as Ka } from "./menu-section.js";
51
- import { default as qa } from "./mutation-observer.js";
51
+ import { default as ja } from "./mutation-observer.js";
52
52
  import { C as Qa } from "../chunks/option.jeaj7_Lr.js";
53
53
  import { C as Ja } from "../chunks/pagination.DDW-Lw16.js";
54
54
  import { default as ae } from "./popup.js";
@@ -57,7 +57,7 @@ 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
59
  import { default as pe } from "./radio-button.js";
60
- import { default as ne } from "./radio-card.js";
60
+ import { default as fe } from "./radio-card.js";
61
61
  import { default as de } from "./radio-group.js";
62
62
  import { default as ce } from "./range.js";
63
63
  import { default as Te } from "./rating.js";
@@ -75,17 +75,17 @@ import { default as Ne } from "./tab.js";
75
75
  import { C as Ue } from "../chunks/tab-group.Dpj7Lx8_.js";
76
76
  import { default as ze } from "./tab-panel.js";
77
77
  import { default as Ke } from "./tag.js";
78
- import { default as qe } from "./textarea.js";
78
+ import { default as je } from "./textarea.js";
79
79
  import { default as Qe } from "./timecode.js";
80
80
  import { default as Je } from "./tooltip.js";
81
81
  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 pt, getEasingNames as ft } from "./atoms.js";
85
+ import { fontAwesomeIconNames as mt, getAnimationNames as pt, getEasingNames as nt } 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 _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.D9i8EgKJ.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 qt, H as jt, 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 no, T as fo, ad as Co, ae as uo, e as co, W as go, af as To, ag as Ao } from "../chunks/types.Bin5fi-e.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,34 +93,34 @@ 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.DJqdDogB.js";
96
+ import { C as Oo, e as wo, f as Go } from "../chunks/color-swatch-group.Bvq6xkM-.js";
97
97
  import { C as ko } from "../chunks/folder-select.CP0NPc0S.js";
98
98
  import { default as Ho } from "./masonry.js";
99
99
  import { default as Xo } from "./padding-input-group.js";
100
100
  import { default as Wo } from "./position-picker.js";
101
- import { default as jo } from "./shadow-input-group.js";
101
+ import { default as qo } from "./shadow-input-group.js";
102
102
  import { default as Yo } from "./share-option-list.js";
103
103
  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.a59f8lRl.js";
107
+ import { C as sr } from "../chunks/asset-link-format.BLKOUD2l.js";
108
108
  import { default as ir } from "./file-on-demand.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
- 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";
109
+ import { C as mr, E as pr, b as nr, G as fr, 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 qr, testFontAvailability as jr, 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.CCWVobz5.js";
112
+ import { e as fs, 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
114
  import { a as Gs, g as _s } from "../chunks/active-elements.jTVWtBDp.js";
115
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
- import { t as js } from "../chunks/converters.DkDtLstb.js";
116
+ import { t as qs } 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
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
- import { L as nx, r as Cx } from "../chunks/i18n.BA19xtyU.js";
123
+ import { L as fx, 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";
126
126
  import { g as Ix, l as Sx, s as Dx, u as bx } from "../chunks/scroll.xtO5yojm.js";
@@ -129,28 +129,27 @@ 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 _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";
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 qx, p as jx, t as Yx } from "../chunks/date.iWq_pkIk.js";
133
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
- import { f as ni } from "../chunks/content-builder.BX4pHujE.js";
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
- import { b as yi, e as hi } from "../chunks/waveform.1U9U_0rd.js";
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
- import { s as Gi } from "../chunks/parse.Cu5nBDTb.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
- import { c as Cl, f as dl, a as ul, g as cl } from "../chunks/time.DYWuX2id.js";
142
- import { A as Tl, j as Al, i as Il, S as Sl, a as Dl, d as bl, g as yl, b as hl, f as Fl, e as El, h as Pl, p as Rl, r as Ll, c as vl } from "../chunks/transformation.JkkMVin_.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";
134
+ import { o as fi, s as Ci, p as di, l as ui, b as ci, a as gi, m as Ti, c as Ai, h as Ii, e as Si, g as Di, n as bi, q as yi, r as hi, d as Fi } from "../chunks/transformation.D27sTUdZ.js";
135
+ import { c as Pi, f as Ri, e as Li, b as vi, g as Vi, d as Bi, i as Mi, r as Oi, a as wi } from "../chunks/image.Y5c_hFx8.js";
136
+ import { b as _i, e as ki } from "../chunks/waveform.1U9U_0rd.js";
137
+ import { c as Hi, b as Ui, a as Xi, e as zi, d as Wi, f as Ki, g as qi, r as ji, s as Yi } from "../chunks/number.Cx2ncfJJ.js";
138
+ import { s as Zi } from "../chunks/parse.Cu5nBDTb.js";
139
+ import { b as $i, n as al, d as el, e as tl, f as ol, y as rl, o as sl, g as xl, h as il, l as ll, p as ml, z as pl, x as nl, a as fl, c as Cl, s as dl, w as ul, r as cl, t as gl, q as Tl, v as Al, i as Il, m as Sl, u as Dl } from "../chunks/string.Demn8Xmk.js";
140
+ import { g as yl, a as hl } from "../chunks/template.ClovJacp.js";
141
+ import { c as El, f as Pl, a as Rl, g as Ll } from "../chunks/time.DYWuX2id.js";
142
+ import { R as Vl, f as Bl, g as Ml, h as Ol, U as wl, b as Gl, a as _l, d as kl, c as Nl, i as Hl, r as Ul, t as Xl, e as zl } from "../chunks/url.CGdWC06g.js";
143
+ import { C as Kl } from "../chunks/lib-cortex-element.CVMmyPMC.js";
145
144
  export {
146
- Tl as AUTO_FALLBACK_FORMAT,
147
- Al as AUTO_FORMAT_EXTENSION,
148
- Il as AUTO_ORIGINAL_FORMAT_MAX_BYTES,
145
+ fi as AUTO_FALLBACK_FORMAT,
146
+ Ci as AUTO_FORMAT_EXTENSION,
147
+ di as AUTO_ORIGINAL_FORMAT_MAX_BYTES,
149
148
  bs as CMYK_VALIDATION_REGEX,
150
149
  wx as CalendarGrid,
151
150
  ys as ColorType,
152
151
  mr as CornerPosition,
153
- jl as CortexElement,
152
+ Kl as CortexElement,
154
153
  gr as CortexPopupController,
155
154
  At as Cx3dViewer,
156
155
  t as CxAlert,
@@ -165,7 +164,7 @@ export {
165
164
  sr as CxAssetLinkFormat,
166
165
  yt as CxAssetPicker,
167
166
  ht as CxAssetTransformationDialog,
168
- n as CxAudio,
167
+ f as CxAudio,
169
168
  d as CxAvatar,
170
169
  c as CxBadge,
171
170
  Ft as CxBentoGrid,
@@ -207,7 +206,7 @@ export {
207
206
  Ut as CxDocsExample,
208
207
  z as CxDocumentViewer,
209
208
  K as CxDotPagination,
210
- q as CxDotStatus,
209
+ j as CxDotStatus,
211
210
  Xt as CxDownloadFormatPicker,
212
211
  zt as CxDownloader,
213
212
  Q as CxDrawer,
@@ -217,9 +216,9 @@ export {
217
216
  ta as CxElementClamp,
218
217
  Wt as CxEstimatedReadingTime,
219
218
  Kt as CxFacetDatePicker,
220
- jt as CxFacetDateRange,
219
+ qt as CxFacetDateRange,
221
220
  wo as CxFacetedFilter,
222
- qt as CxFacetedFilterFacet,
221
+ jt as CxFacetedFilterFacet,
223
222
  ir as CxFileOnDemand,
224
223
  Yt as CxFindAndReplace,
225
224
  ko as CxFolderSelect,
@@ -230,7 +229,7 @@ export {
230
229
  pa as CxFormatTime,
231
230
  Zt as CxGalleryItem,
232
231
  Jt as CxGraphView,
233
- na as CxGrid,
232
+ fa as CxGrid,
234
233
  da as CxGridItem,
235
234
  ca as CxHeader,
236
235
  Ta as CxHubConnection,
@@ -257,7 +256,7 @@ export {
257
256
  za as CxMenuLabel,
258
257
  Ka as CxMenuSection,
259
258
  Go as CxMultiSelect,
260
- qa as CxMutationObserver,
259
+ ja as CxMutationObserver,
261
260
  Qa as CxOption,
262
261
  Xo as CxPaddingInputGroup,
263
262
  xo as CxPageOutline,
@@ -270,7 +269,7 @@ export {
270
269
  xe as CxQrCode,
271
270
  le as CxRadio,
272
271
  pe as CxRadioButton,
273
- ne as CxRadioCard,
272
+ fe as CxRadioCard,
274
273
  de as CxRadioGroup,
275
274
  ce as CxRange,
276
275
  Te as CxRating,
@@ -278,7 +277,7 @@ export {
278
277
  De as CxResizeObserver,
279
278
  lo as CxSearchBox,
280
279
  ye as CxSelect,
281
- jo as CxShadowInputGroup,
280
+ qo as CxShadowInputGroup,
282
281
  Yo as CxShareOptionList,
283
282
  Zo as CxSidebar,
284
283
  $o as CxSizeInputGroup,
@@ -288,11 +287,11 @@ export {
288
287
  po as CxSpecialCharactersDialog,
289
288
  Le as CxSpinner,
290
289
  Ve as CxSplitPanel,
291
- fo as CxStatCard,
290
+ no as CxStatCard,
292
291
  Me as CxStep,
293
292
  we as CxStepper,
294
293
  er as CxStepperWizard,
295
- no as CxStorybook,
294
+ fo as CxStorybook,
296
295
  _e as CxSwitch,
297
296
  Ne as CxTab,
298
297
  Ue as CxTabGroup,
@@ -300,7 +299,7 @@ export {
300
299
  Ke as CxTag,
301
300
  Co as CxTemplateSwitcher,
302
301
  uo as CxTextToSpeech,
303
- qe as CxTextarea,
302
+ je as CxTextarea,
304
303
  Qe as CxTimecode,
305
304
  Je as CxTooltip,
306
305
  at as CxTree,
@@ -315,51 +314,51 @@ export {
315
314
  Tr as DateRangePresets,
316
315
  Ar as DragScroll,
317
316
  pr as Easing,
318
- fr as EasingFunction,
317
+ nr as EasingFunction,
319
318
  sx as FormControlController,
320
- nr as GsapEasing,
319
+ fr as GsapEasing,
321
320
  hs as HEX_ALPHA_VALIDATION_REGEX,
322
321
  Fs as HEX_VALIDATION_REGEX,
323
322
  hx as HasSlotController,
324
323
  Ir as HistoryManager,
325
324
  Ao as IconPickerVariant,
326
325
  Sr as KeyboardKey,
327
- nx as LocalizeController,
326
+ fx as LocalizeController,
328
327
  Cr as ObjectFit,
329
328
  dr as Orientation,
330
329
  Dr as PRECISION,
331
- Bl as RELATIVE_URL_REGEX,
330
+ Vl as RELATIVE_URL_REGEX,
332
331
  Es as RGB_VALIDATION_REGEX,
333
- Sl as SRCSET_WIDTH_LADDER,
332
+ ui as SRCSET_WIDTH_LADDER,
334
333
  ur as TransitionType,
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,
334
+ Bl as URL_DOMAIN_VALIDATION_REGEX,
335
+ Ml as URL_INTRANET_DOMAIN_VALIDATION_REGEX,
336
+ Ol as URL_PROTOCOL_VALIDATION_REGEX,
337
+ wl as URL_VALIDATION_REGEX,
339
338
  Gs as activeElements,
340
339
  _x as addMonths,
341
340
  Jr as adjustRelativeValues,
342
341
  Ns as animateTo,
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,
351
- yi as buildWaveformPath,
352
- di as calculateAspectRatioFit,
342
+ Gl as appendProtocol,
343
+ _l as appendQueryParam,
344
+ ci as applyAutoFormatToAssetUrl,
345
+ gi as applyTransformationsToUrl,
346
+ Ti as applyWidthToAssetUrl,
347
+ Ai as buildAssetSrcset,
348
+ Ii as buildSizesFromDisplayWidth,
349
+ Si as buildTransformationString,
350
+ _i as buildWaveformPath,
351
+ Pi as calculateAspectRatioFit,
353
352
  ux as clamp,
354
- ui as cleanImageFileName,
355
- Cl as clearZeroDurationParts,
353
+ Ri as cleanImageFileName,
354
+ El as clearZeroDurationParts,
356
355
  Ct as componentStyles,
357
356
  Ps as convertColor,
358
- Ei as convertDataUnits,
359
- Pi as convertDurationToMilliseconds,
360
- Ri as convertPixelsToAspectRatio,
361
- ci as convertSrcToBlob,
362
- gi as cropImage,
357
+ Hi as convertDataUnits,
358
+ Ui as convertDurationToMilliseconds,
359
+ Xi as convertPixelsToAspectRatio,
360
+ Li as convertSrcToBlob,
361
+ vi as cropImage,
363
362
  Zx as cssValueToPx,
364
363
  Ys as customElement,
365
364
  xx as customErrorValidityState,
@@ -367,16 +366,16 @@ export {
367
366
  $s as defaultValue,
368
367
  br as downloadAsset,
369
368
  ex as drag,
370
- ki as emptyToSpace,
371
- Ni as escapeXML,
369
+ $i as emptyToSpace,
370
+ al as escapeXML,
372
371
  Rs as extractColor,
373
- Hi as extractExtension,
372
+ el as extractExtension,
374
373
  yr as extractFrames,
375
- Ui as extractRootData,
376
- Li as extractValueAndUnit,
377
- hi as extractWaveformPeaks,
378
- ni as fetchCortexApi,
379
- ns as findAncestorWithBuggyStyle,
374
+ tl as extractRootData,
375
+ zi as extractValueAndUnit,
376
+ ki as extractWaveformPeaks,
377
+ Di as fetchCortexApi,
378
+ fs as findAncestorWithBuggyStyle,
380
379
  Cs as findContainingBlock,
381
380
  ds as findCuttingAncestor,
382
381
  hr as findFrameByColAndRow,
@@ -384,57 +383,57 @@ export {
384
383
  ox as focusWhenVisible,
385
384
  mt as fontAwesomeIconNames,
386
385
  ix as formCollections,
387
- vi as formatAspectRatioString,
388
- dl as formatDurationPartsManually,
386
+ Wi as formatAspectRatioString,
387
+ Pl as formatDurationPartsManually,
389
388
  kx as formatIsoToDisplay,
390
389
  Nx as formatMonthYearLabel,
391
- Vi as formatNumberWithGrouping,
392
- Xi as formatSecondsToTime,
393
- zi as formatTimeToSeconds,
394
- ul as formatWithIntlDurationFormat,
395
- Bi as gcd,
390
+ Ki as formatNumberWithGrouping,
391
+ ol as formatSecondsToTime,
392
+ rl as formatTimeToSeconds,
393
+ Rl as formatWithIntlDurationFormat,
394
+ qi as gcd,
396
395
  Jx as getActiveElement,
397
396
  Tx as getActiveModals,
398
397
  ut as getAnimation,
399
398
  pt as getAnimationNames,
400
399
  lx as getAssociatedForm,
401
400
  $x as getAttributes,
402
- Wi as getAttributesString,
401
+ sl as getAttributesString,
403
402
  as as getBreakpointsFromCSS,
404
403
  Fr as getBrowserFontVariants,
405
404
  Ls as getColorType,
406
- Ti as getContainedImageSize,
405
+ Vi as getContainedImageSize,
407
406
  ai as getCortexPopupLayer,
408
407
  ei as getCurrentZIndex,
409
408
  Hx as getDateMask,
410
409
  _s as getDeepestActiveElement,
411
410
  es as getDeviceType,
412
- cl as getDurationPartsByUnitsFormat,
413
- ft as getEasingNames,
411
+ Ll as getDurationPartsByUnitsFormat,
412
+ nt as getEasingNames,
414
413
  ti as getElementFromHTMLString,
415
414
  oi as getElementFromTemplate,
416
415
  Ux as getFirstDayOfWeek,
417
416
  Er as getFontFamilyOptionValue,
418
417
  Pr as getFormControls,
419
- pl as getHighlightedTitle,
420
- fl as getHighlightedTitleHtml,
418
+ yl as getHighlightedTitle,
419
+ hl as getHighlightedTitleHtml,
421
420
  Fx as getInnerHTML,
422
421
  Rr as getInterval,
423
422
  vs as getLightDarkCssString,
424
- Ai as getNaturalWidthHeight,
423
+ Bi as getNaturalWidthHeight,
425
424
  ri as getNeededPaddingForBoxShadow,
426
425
  us as getNextAncestor,
427
426
  Ix as getOffset,
428
427
  si as getRelativeClickPercentage,
429
- Ki as getRootIDString,
428
+ xl as getRootIDString,
430
429
  Rx as getTabbableBoundary,
431
430
  Lx as getTabbableElements,
432
431
  Ex as getTextContent,
433
432
  Xx as getTodayIsoDate,
434
433
  Lr as getTypefaceOptionValue,
435
434
  ts as groupBy,
436
- Pl as hasTransformSegment,
437
- ji as htmlToPlainText,
435
+ bi as hasTransformSegment,
436
+ il as htmlToPlainText,
438
437
  os as insertAtIndex,
439
438
  vr as insertFrameToCache,
440
439
  rs as insertMultipleAtIndex,
@@ -442,19 +441,19 @@ export {
442
441
  Vx as isCortexAdobePlugin,
443
442
  xi as isDomElement,
444
443
  ii as isElementInHorizontalView,
445
- Nl as isExpiredAssetUrl,
444
+ kl as isExpiredAssetUrl,
446
445
  gs as isFirefox,
447
446
  Vr as isFontFamilyAvailable,
448
447
  Br as isFormInteracted,
449
- qi as isGalleryItemCardType,
448
+ ll as isGalleryItemCardType,
450
449
  Ts as isIOS,
451
450
  li as isInElement,
452
451
  Mr as isModKey,
453
452
  As as isSafari,
454
- Ii as isSaveSrcValid,
455
- Hl as isValidDomainOrIntranetUrl,
453
+ Mi as isSaveSrcValid,
454
+ Nl as isValidDomainOrIntranetUrl,
456
455
  zx as isValidIsoDate,
457
- Ul as isValidUrl,
456
+ Hl as isValidUrl,
458
457
  Wx as isoToDate,
459
458
  Or as isoWeekNumber,
460
459
  mi as loadScript,
@@ -468,13 +467,13 @@ export {
468
467
  Gr as openAssetOverview,
469
468
  _r as openFolderOverview,
470
469
  kr as openLink,
471
- Yi as padPath,
472
- Qi as parseBooleanString,
470
+ ml as padPath,
471
+ pl as parseBooleanString,
473
472
  Bs as parseBorder,
474
- jx as parseDisplayToIso,
473
+ qx as parseDisplayToIso,
475
474
  Hs as parseDuration,
476
- Rl as parseFileSizeToBytes,
477
- qx as parseIsoDate,
475
+ yi as parseFileSizeToBytes,
476
+ jx as parseIsoDate,
478
477
  Nr as parseJsonString,
479
478
  Ms as parseLightDark,
480
479
  Hr as parseListString,
@@ -485,20 +484,20 @@ export {
485
484
  cx as quantizeLargestRemainder,
486
485
  Xr as quoteFontFamily,
487
486
  zr as readLocalStorageValue,
488
- Zi as reducePathToDirectChild,
487
+ nl as reducePathToDirectChild,
489
488
  Cx as registerTranslation,
490
489
  ls as removeAtIndex,
491
490
  ms as removeMultipleAtIndex,
492
- Si as resizeImage,
493
- Ll as resolveAutoFormat,
494
- vl as resolveAutoMaxWidth,
495
- Xl as resolveSpaceUrl,
496
- Mi as rotateBox,
497
- Di as rotateImage,
498
- Ji as safeExtension,
499
- $i as safeString,
500
- al as sanitizeHTML,
501
- Oi as sanitizeRotation,
491
+ Oi as resizeImage,
492
+ hi as resolveAutoFormat,
493
+ Fi as resolveAutoMaxWidth,
494
+ Ul as resolveSpaceUrl,
495
+ ji as rotateBox,
496
+ wi as rotateImage,
497
+ fl as safeExtension,
498
+ Cl as safeString,
499
+ dl as sanitizeHTML,
500
+ Yi as sanitizeRotation,
502
501
  Dx as scrollIntoView,
503
502
  Wr as serialize,
504
503
  ct as setAnimation,
@@ -506,26 +505,26 @@ export {
506
505
  Kr as shareAsset,
507
506
  Xs as shimKeyframesHeightAuto,
508
507
  pi as sortByTopPosition,
509
- jr as sortTypefaceVariants,
510
- Gi as splitBoxValues,
511
- el as splitCamelCaseFormatted,
508
+ qr as sortTypefaceVariants,
509
+ Zi as splitBoxValues,
510
+ ul as splitCamelCaseFormatted,
512
511
  zs as stopAnimations,
513
512
  Ss as supportHLS,
514
- qr as testFontAvailability,
515
- js as timecodeConverter,
516
- tl as toCamelCase,
513
+ jr as testFontAvailability,
514
+ qs as timecodeConverter,
515
+ cl as toCamelCase,
517
516
  Yx as toIsoDate,
518
- ol as toKebabCase,
519
- rl as toPascalCase,
520
- zl as toRelativeUrl,
521
- sl as toTitleCase,
522
- Wl as toUrlPathKey,
517
+ gl as toKebabCase,
518
+ Tl as toPascalCase,
519
+ Xl as toRelativeUrl,
520
+ Al as toTitleCase,
521
+ zl as toUrlPathKey,
523
522
  ps as toast,
524
- xl as truncateTextMiddle,
525
- il as unescapeXML,
523
+ Il as truncateTextMiddle,
524
+ Sl as unescapeXML,
526
525
  bx as unlockBodyScrolling,
527
526
  Yr as unquoteFontFamily,
528
- ll as upperFirst,
527
+ Dl as upperFirst,
529
528
  mx as validValidityState,
530
529
  px as valueMissingValidityState,
531
530
  Ws as waitForEvent,
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.7.0",
4
+ "version": "3.9.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -103,8 +103,6 @@ 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 the item. */
107
- private resolveItemFormat;
108
106
  handleItemClick(event: MouseEvent, item: MasonryItem): void;
109
107
  handleSortableUpdate(event: Sortable.SortableEvent): void;
110
108
  renderActions(item: MasonryItem): import('lit').TemplateResult<1>;
@@ -49,7 +49,7 @@ export declare function apiGetAssets({ extraFields, getPermanentAssetsPaths, isS
49
49
  * distinct from `CoreField.MaximumWidth`, which describes the original file.
50
50
  */
51
51
  export declare function readSearchAssetItemWidth(item: SearchAssetsItem, field: string): number | undefined;
52
- export declare function apiGetAssetsInFolder({ countPerPage, directParentFolderIdentifier, excludedDocTypes, extraFields, getPermanentAssetsPaths, isSiteBuilder, limitedDocTypes, pageNumber, parentFolderIdentifier, searchTerm, securityByPassToken, sortOrder, token, }: GetAssetsInFolderRequest): Promise<GetAssetsInFolderResponse>;
52
+ export declare function apiGetAssetsInFolder({ countPerPage, directParentFolderIdentifier, extraFields, getPermanentAssetsPaths, isSiteBuilder, limitedDocTypes, pageNumber, parentFolderIdentifier, searchTerm, securityByPassToken, sortOrder, token, }: GetAssetsInFolderRequest): Promise<GetAssetsInFolderResponse>;
53
53
  export declare function apiGetCropFocusMode({ autoCropMode, cropHeight, cropWidth, imageUrl, useSession, }: GetCropZoneSuggestionRequest): Promise<GetCropZoneSuggestionResponse | null>;
54
54
  export declare function apiGetAvailableProxies({ assetRecordId, isSiteBuilder, siteUrl, token, useSession, }: {
55
55
  assetRecordId: string;
@@ -6,6 +6,14 @@ export type ExtendedGalleryItem = GalleryItem & {
6
6
  [key: string]: string | undefined;
7
7
  };
8
8
  type FetchImageControllerOptions = {
9
+ /**
10
+ * Whether delivery URLs carry the `.auto` marker, letting the backend serve a rendition
11
+ * suited to the asset instead of the file the URL names.
12
+ *
13
+ * Defaults to `false`: a consumer opts in deliberately, so a surface that needs the
14
+ * asset exactly as stored (an editor preview, say) never picks this up by accident.
15
+ */
16
+ autoFormat?: boolean;
9
17
  isSiteBuilder?: boolean;
10
18
  maxEnd?: number;
11
19
  pageSize?: number;
@@ -24,6 +32,8 @@ export declare class FetchImageController implements ReactiveController {
24
32
  private readonly authToken;
25
33
  private securityByPassToken;
26
34
  private readonly isSiteBuilder;
35
+ /** Whether delivery URLs carry the `.auto` marker. See `FetchImageControllerOptions`. */
36
+ private readonly autoFormat;
27
37
  private requestEpoch;
28
38
  constructor(host: ReactiveElement, options?: FetchImageControllerOptions);
29
39
  get totalDataCount(): number;
@@ -38,5 +38,6 @@ export type GalleryItem = {
38
38
  rawId?: string;
39
39
  size?: GalleryItemSize;
40
40
  src?: string;
41
+ srcset?: string;
41
42
  url?: string;
42
43
  };
@@ -14,6 +14,7 @@ export type MasonryItem = {
14
14
  objectFit?: ObjectFit;
15
15
  size?: string;
16
16
  src: string;
17
+ srcset?: string;
17
18
  };
18
19
  export type MasonryItemAction = {
19
20
  color?: string;
@@ -22,7 +22,7 @@
22
22
  export type CxGraphViewNodeAction = { controlType: 'default' | 'switch'; icon: string; id: string; name: string; showDivider: boolean; style: { color: string; }; };
23
23
  export type CxGraphViewRecord = any;
24
24
  export type CxGraphViewSummary = { icon: string; texts: string[]; };
25
- export type CxMasonryMasonryItem = { alt: string; extension: string; hasError: boolean; id: string; loading: boolean; maxWidth: string; objectFit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down'; size: string; src: string; };
25
+ export type CxMasonryMasonryItem = { alt: string; extension: string; hasError: boolean; id: string; loading: boolean; maxWidth: string; objectFit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down'; size: string; src: string; srcset: string; };
26
26
  export type CxMasonryMasonryItemAction = { color: string; event: string; icon: string; src: string; tooltip: string; };
27
27
  export type CxMentionsAutocompleteItem = { id: string; label: string; name: string; suffixContent: string; suffixIcon: string; suffixTooltip: string; suffixType: 'badge'; title: string; type: string; };
28
28
  export type CxMultiSelectColumnData = { id: string; items: { disabled: boolean; group: string; id: string; index: string; text: string; tooltip: string; type: string; }[]; sort: boolean; title: string; };
@@ -33,8 +33,8 @@
33
33
  export type CxAssetLinkFormatFocusMode = { auto: boolean; label: string; value: string; };
34
34
  export type CxAssetLinkFormatProxy = { cdnName: string; extension: string; formatHeight: number; formatWidth: number; height: number; id: string; permanentLink: string; proxyLabel: string; proxyName: string; width: number; };
35
35
  export type CxAssetLinkFormatTransformation = { key: 'Crop' | 'Metadata' | 'Proxy' | 'Quality' | 'Resize' | 'Rotate'; value: { disabledSize: boolean; focusMode: string; height: number; isFocusModeAuto: boolean; keepMetadata: boolean; mode: string; position: 'bottom-center' | 'bottom-left' | 'bottom-right' | 'center-center' | 'center-left' | 'center-right' | 'top-center' | 'top-left' | 'top-right'; quality: number; ratioHeight: number; ratioWidth: number; rotation: number; unit: '%' | 'px'; width: number; x: number; y: number; }; };
36
- export type CxBentoGridGalleryItem = { additions: string[]; alt: string; cardType: 'asset' | 'folder' | 'link' | 'page' | 'space'; className: string; details: string; docType: '' | 'Album' | 'Audio' | 'Audio segment' | 'Image' | 'Multimedia' | 'ProjectDocument' | 'Story' | 'Video' | 'Widget'; extension: string; filler: boolean; header: string; id: string; isClone: boolean; maxWidth: string; name: string; objectFit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down'; openInNewTab: boolean; pageId: string; rawId: string; size: string; src: string; url: string; };
37
- export type CxCarouselGalleryItem = { additions: string[]; alt: string; cardType: 'asset' | 'folder' | 'link' | 'page' | 'space'; className: string; details: string; docType: '' | 'Album' | 'Audio' | 'Audio segment' | 'Image' | 'Multimedia' | 'ProjectDocument' | 'Story' | 'Video' | 'Widget'; extension: string; filler: boolean; header: string; id: string; isClone: boolean; maxWidth: string; name: string; objectFit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down'; openInNewTab: boolean; pageId: string; rawId: string; size: string; src: string; url: string; };
36
+ export type CxBentoGridGalleryItem = { additions: string[]; alt: string; cardType: 'asset' | 'folder' | 'link' | 'page' | 'space'; className: string; details: string; docType: '' | 'Album' | 'Audio' | 'Audio segment' | 'Image' | 'Multimedia' | 'ProjectDocument' | 'Story' | 'Video' | 'Widget'; extension: string; filler: boolean; header: string; id: string; isClone: boolean; maxWidth: string; name: string; objectFit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down'; openInNewTab: boolean; pageId: string; rawId: string; size: string; src: string; srcset: string; url: string; };
37
+ export type CxCarouselGalleryItem = { additions: string[]; alt: string; cardType: 'asset' | 'folder' | 'link' | 'page' | 'space'; className: string; details: string; docType: '' | 'Album' | 'Audio' | 'Audio segment' | 'Image' | 'Multimedia' | 'ProjectDocument' | 'Story' | 'Video' | 'Widget'; extension: string; filler: boolean; header: string; id: string; isClone: boolean; maxWidth: string; name: string; objectFit: 'contain' | 'cover' | 'fill' | 'none' | 'scale-down'; openInNewTab: boolean; pageId: string; rawId: string; size: string; src: string; srcset: string; url: string; };
38
38
  export type CxChatbotChatbotEvent = { event: string; excludedFromPurposes: string[]; label: string; };
39
39
  export type CxTableTimeFormatterParams = { color: string; fontSize: string; fontWeight: string; inputUnit: string; locale: string; placeholder: string; style: dictionary; unitsFormat: string; displayStyle: string; paramsMapField: string; paramsMap: dictionary; };
40
40
  export type CxTableTextFormatParams = { colorMap: dictionary; color: string; };
@@ -6774,7 +6774,7 @@
6774
6774
  /**
6775
6775
  * The key to use for the id of the items in the masonry layout.
6776
6776
  */
6777
- idKey?: 'src' | 'extension' | 'loading' | 'maxWidth' | 'size' | 'alt' | 'hasError' | 'id' | 'objectFit';
6777
+ idKey?: 'src' | 'extension' | 'loading' | 'maxWidth' | 'size' | 'alt' | 'hasError' | 'id' | 'objectFit' | 'srcset';
6778
6778
  /**
6779
6779
  * The proxy format the item images were resolved with. <br/> Only used to decide whether a `srcset` may be generated: an original-file format paired with an animated source must be delivered untouched.
6780
6780
  */