@orangelogic/design-system 3.14.0 → 3.15.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.
@@ -104,7 +104,7 @@ import { readLocalStorageValue as RL, writeLocalStorageValue as vq, DateRangePre
104
104
  import { d as En } from "./debounce.DaHuiSGU.js";
105
105
  import { t as wG, c as Gn, d as Vq, i as SW, j as Yd, k as Pa, h as Nq, s as Fx, T as SN, G as Mi, l as rM, u as Fq, m as Rq, n as cM, o as Rx } from "./string.Demn8Xmk.js";
106
106
  import { c as Li } from "./repeat.CFjcER6_.js";
107
- import { a as xW, c as au, i as dM, M as xN, f as Aw, g as ew, h as Sq, j as mM, k as uM, b as bM, d as hM, C as xq, l as Sx, m as BW, n as xx, o as Bx, p as zx, q as kx, u as Bq, r as SL, s as xL, t as BL } from "./asset-link-format.DGRqjqpk.js";
107
+ import { a as xW, c as au, i as dM, M as xN, g as Aw, h as ew, j as Sq, k as mM, l as uM, b as bM, e as hM, C as xq, m as Sx, d as BW, n as xx, o as Bx, p as zx, q as kx, u as Bq, r as SL, s as xL, t as BL } from "./asset-link-format.GZb85GYh.js";
108
108
  import { H as R0 } from "./slot.j5oheLJC.js";
109
109
  import { c as ZA, d as zq, H as Wi, e as wt, f as no, a as kq, b as Tg } from "./resizable-component.styles.CAfXABBc.js";
110
110
  import { s as pM, F as tw } from "./folder-select.CHY44KlA.js";
@@ -121262,7 +121262,7 @@ let Ig = class extends bi {
121262
121262
  */
121263
121263
  ensureConfigUi() {
121264
121264
  return this.configUiPromise ??= Promise.all([
121265
- import("./index.xaWqfbHO.js"),
121265
+ import("./index.D8AuAxXl.js"),
121266
121266
  Promise.resolve().then(() => W3I)
121267
121267
  ]).then(async ([, i]) => {
121268
121268
  this.configsController ??= new i.default(
@@ -122851,7 +122851,7 @@ var IMI = Object.defineProperty, CMI = Object.getOwnPropertyDescriptor, Di = (i,
122851
122851
  };
122852
122852
  let zi = class extends Pw {
122853
122853
  constructor() {
122854
- super(...arguments), this.retryOnError = !0, this.skeleton = !0, this.placeholderSkeletonEffect = "none", this.srcDarkMode = "", this.recordId = "", this.recordIdDarkMode = "", this.shareSrc = "", this.shareId = "", this.shareName = "", this.downloadSrc = [], this.downloadId = [], this.downloadNames = [], this.downloadFormat = {}, this.format = "", this.formatDarkMode = "", this.manualFormat = !1, this.manualFormatDarkMode = !1, this.transformations = [], this.transformationsDarkMode = [], this.altDarkMode = "", this.altSourceField = "", this.clickAction = void 0, this.clickLink = "", this.clickPage = "", this.clickSpace = "", this.pageUrl = "", this.openInNewTab = !1, this.contentPosition = ZA.TopLeft, this.contentType = Ci.Automatic, this.headerSourceField = "", this.detailsSourceField = "", this.additionalFields = [], this.siteBuilderToken = "", this.fetchedAssetData = {}, this.isZoomed = !1, this.imageRatio = 1, this.parsedAlt = "", this.parsedAltDarkMode = "", this.overlayHeader = "", this.overlayDetails = "", this.overlayAdditionalContent = [], this.resolvedSrc = "", this.resolvedSrcDarkMode = "", this.assetExtension = "", this.assetProxyWidth = "", this.assetFileSize = "", this.hasResolvedAssetExtension = !1, this.resolvedClickSpace = "", this.srcResolveVersion = 0, this.noCrossorigin = !0;
122854
+ super(...arguments), this.retryOnError = !0, this.skeleton = !0, this.srcDarkMode = "", this.recordId = "", this.recordIdDarkMode = "", this.shareSrc = "", this.shareId = "", this.shareName = "", this.downloadSrc = [], this.downloadId = [], this.downloadNames = [], this.downloadFormat = {}, this.format = "", this.formatDarkMode = "", this.manualFormat = !1, this.manualFormatDarkMode = !1, this.transformations = [], this.transformationsDarkMode = [], this.altDarkMode = "", this.altSourceField = "", this.clickAction = void 0, this.clickLink = "", this.clickPage = "", this.clickSpace = "", this.pageUrl = "", this.openInNewTab = !1, this.contentPosition = ZA.TopLeft, this.contentType = Ci.Automatic, this.headerSourceField = "", this.detailsSourceField = "", this.additionalFields = [], this.siteBuilderToken = "", this.fetchedAssetData = {}, this.isZoomed = !1, this.imageRatio = 1, this.parsedAlt = "", this.parsedAltDarkMode = "", this.overlayHeader = "", this.overlayDetails = "", this.overlayAdditionalContent = [], this.resolvedSrc = "", this.resolvedSrcDarkMode = "", this.assetExtension = "", this.assetProxyWidth = "", this.assetFileSize = "", this.hasResolvedAssetExtension = !1, this.resolvedClickSpace = "", this.srcResolveVersion = 0, this.noCrossorigin = !0;
122855
122855
  }
122856
122856
  /**
122857
122857
  * Support CMS5 edit mode for the image.
@@ -123145,7 +123145,7 @@ let zi = class extends Pw {
123145
123145
  const C = this.currentAltValue, g = this.currentRecordId;
123146
123146
  let A = !1;
123147
123147
  I && (I = yM(I, this.currentTransformations, {
123148
- autoFormat: !0,
123148
+ autoFormat: !this.isCurrentFormatManual,
123149
123149
  extension: this.assetExtension,
123150
123150
  format: this.currentFormat
123151
123151
  })), I = this.applyRetryCacheBust(I);
@@ -123497,10 +123497,7 @@ let tg = class extends IM {
123497
123497
  this.resolvedClickSpace = "", !(this.clickAction !== JC.OpenSpace || !this.clickSpace || !this.spaces) && (this.resolvedClickSpace = SM(this.clickSpace, this.spaces) ?? "");
123498
123498
  }
123499
123499
  handleThumbnailChange() {
123500
- this.formattedPoster = this.poster ? yM(this.poster, this.thumbnailTransformations, {
123501
- autoFormat: !0,
123502
- format: this.thumbnailFormat
123503
- }) : this.poster;
123500
+ this.formattedPoster = this.poster ? yM(this.poster, this.thumbnailTransformations) : this.poster;
123504
123501
  }
123505
123502
  async handlePosterChange() {
123506
123503
  this.handleThumbnailChange();
@@ -3,7 +3,7 @@ import "../chunks/button.BQoebhw_.js";
3
3
  import "./space.js";
4
4
  import "../chunks/typography.T72DuoCa.js";
5
5
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
6
- import { C as h } from "../chunks/asset-link-format.DGRqjqpk.js";
6
+ import { C as h } from "../chunks/asset-link-format.GZb85GYh.js";
7
7
  import "../chunks/component.styles.CAS3c9pM.js";
8
8
  import "../chunks/asset-link-format.ClaYu_v8.js";
9
9
  import "../chunks/position-picker.DjnhxIKF.js";
@@ -1,4 +1,4 @@
1
- import { C as a } from "../chunks/asset-link-format.DGRqjqpk.js";
1
+ import { C as a } from "../chunks/asset-link-format.GZb85GYh.js";
2
2
  import { C as t } from "../chunks/color-swatch-group.D25fjSK-.js";
3
3
  import { default as C } from "./file-on-demand.js";
4
4
  export {
@@ -85,7 +85,7 @@ import { default as it } from "./visually-hidden.js";
85
85
  import { fontAwesomeIconNames as mt, getAnimationNames as pt, getEasingNames as ft } from "./atoms.js";
86
86
  import { c as Ct } from "../chunks/component.styles.CAS3c9pM.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, Y as St, v as Dt, n as bt, C as ht, m as yt, $ as Ft, a0 as Et, a1 as Pt, a3 as Rt, a2 as Lt, a4 as vt, a5 as Vt, a6 as Bt, a7 as Mt, a8 as Ot, l as wt, Z as kt, w as Gt, _ as _t, x as Nt, y as Ht, z as Ut, k as Xt, a9 as zt, B as Wt, E as Kt, G as qt, H as jt, aa as Yt, j as Qt, J as Zt, K as Jt, h as $t, V as ao, W as eo, ab as to, f as oo, L as ro, M as so, N as xo, P as io, Q as lo, R as mo, ac as po, ad as fo, T as no, U as Co, ae as uo, af as co, e as go, X as To, ag as Ao, ah as Io } from "../chunks/types.GT2-CFeS.js";
88
+ import { s as At, u as It, Y as St, v as Dt, n as bt, C as ht, m as yt, $ as Ft, a0 as Et, a1 as Pt, a3 as Rt, a2 as Lt, a4 as vt, a5 as Vt, a6 as Bt, a7 as Mt, a8 as Ot, l as wt, Z as kt, w as Gt, _ as _t, x as Nt, y as Ht, z as Ut, k as Xt, a9 as zt, B as Wt, E as Kt, G as qt, H as jt, aa as Yt, j as Qt, J as Zt, K as Jt, h as $t, V as ao, W as eo, ab as to, f as oo, L as ro, M as so, N as xo, P as io, Q as lo, R as mo, ac as po, ad as fo, T as no, U as Co, ae as uo, af as co, e as go, X as To, ag as Ao, ah as Io } from "../chunks/types.Bc8Tgozj.js";
89
89
  import { default as Do } from "./bicolor-picker.js";
90
90
  import { default as ho } from "./border-input-group.js";
91
91
  import { C as Fo } from "../chunks/color-swatch.DxxOpJXT.js";
@@ -104,7 +104,7 @@ import { default as Jo } from "./sidebar.js";
104
104
  import { default as ar } from "./size-input-group.js";
105
105
  import { default as tr } from "./stepper-wizard.js";
106
106
  import { default as rr } from "./typeface.js";
107
- import { C as xr } from "../chunks/asset-link-format.DGRqjqpk.js";
107
+ import { C as xr } from "../chunks/asset-link-format.GZb85GYh.js";
108
108
  import { default as lr } from "./file-on-demand.js";
109
109
  import { C as pr, E as fr, b as nr, G as Cr, a as dr, O as ur, T as cr } from "../chunks/index.Cpamj0jB.js";
110
110
  import { CortexPopupController as Tr, DateRangePresets as Ar, DragScroll as Ir, HistoryManager as Sr, KeyboardKey as Dr, PRECISION as br, downloadAsset as hr, extractFrames as yr, findFrameByColAndRow as Fr, getBrowserFontVariants as Er, getFontFamilyOptionValue as Pr, getFormControls as Rr, getInterval as Lr, getTypefaceOptionValue as vr, insertFrameToCache as Vr, isFontFamilyAvailable as Br, isFormInteracted as Mr, isModKey as Or, isoWeekNumber as wr, omit as kr, openAssetOverview as Gr, openFolderOverview as _r, openLink as Nr, parseJsonString as Hr, parseListString as Ur, pick as Xr, quoteFontFamily as zr, readLocalStorageValue as Wr, serialize as Kr, shareAsset as qr, sortTypefaceVariants as jr, testFontAvailability as Yr, unquoteFontFamily as Qr, writeLocalStorageValue as Zr } from "../utils.js";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.14.0",
4
+ "version": "3.15.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -48,8 +48,6 @@ export default class CxSbImage extends CxImage {
48
48
  retryOnError: boolean;
49
49
  /** Content-builder images keep their measured box visible while the asset loads. */
50
50
  skeleton: boolean;
51
- /** Content-builder blocks hold the box without an animated sheen. */
52
- protected placeholderSkeletonEffect: "none";
53
51
  /**
54
52
  * The path to the image to load in dark mode.
55
53
  */
@@ -16,6 +16,13 @@ export declare class ConfigFormController implements ReactiveController {
16
16
  constructor(host: ReactiveControllerHost & CxConfigForm);
17
17
  hostConnected(): void;
18
18
  /**
19
+ * Resolves the delivery URL to persist for an asset under a given format.
20
+ *
21
+ * A blank `format` means `Auto`, which is what a reset leaves behind: the proxy is then
22
+ * derived from the asset's own extension and size (`resolveAutoFormat`), matching what
23
+ * the block computes at runtime. Without this the reset would keep whichever URL the
24
+ * previous hand-picked format wrote.
25
+ *
19
26
  * `TRX` proxies preserve the asset's original extension. When that extension is not a
20
27
  * browser-displayable image format, fall back to the `TR1` transformation proxy, which is
21
28
  * always transcoded to a raster format. Mirrors the same fallback in `FetchImageController`
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.14.0",
4
+ "version": "3.15.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {