@orangelogic/design-system 2.165.0 → 2.166.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.
@@ -25448,7 +25448,7 @@ let CxDocumentViewer = class extends ResizableElement {
25448
25448
  }
25449
25449
  renderRepresentativeImage() {
25450
25450
  const l = this.isPdf, t = l ? "" : this.representative;
25451
- return !l && !t ? this.showExtensionFallback ? this.renderExtensionFallback() : E : this.hasImageError ? x`<div class="document-viewer__broken"><cx-icon name="hide_image"></cx-icon></div>` : x`<cx-image part="image" class="document-viewer__image" src=${t} alt=${this.name} block object-fit=${ObjectFit.Cover} @cx-error=${this.handleImageError}></cx-image>`;
25451
+ return !l && !t ? this.showExtensionFallback ? this.renderExtensionFallback() : E : this.hasImageError ? x`<div class="document-viewer__broken"><cx-icon name="hide_image"></cx-icon></div>` : x`<cx-image part="image" class="document-viewer__image" src=${t} alt=${this.name} block object-fit=${ObjectFit.Cover} no-crossorigin @cx-error=${this.handleImageError}></cx-image>`;
25452
25452
  }
25453
25453
  render() {
25454
25454
  const l = this.isPdf, t = l ? "" : this.representative, s = this.showExtensionFallback;
@@ -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.05FgdLBZ.js";
22
22
  import { default as oe } from "./divider.js";
23
- import { C as ae } from "../chunks/document-viewer.CMZNXDup.js";
23
+ import { C as ae } from "../chunks/document-viewer.DbxPRuLE.js";
24
24
  import { C as xe } from "../chunks/dot-pagination.Pg9O0nIh.js";
25
25
  import { default as me } from "./dot-status.js";
26
26
  import { default as pe } from "./drawer.js";
@@ -1,5 +1,5 @@
1
1
  import "../chunks/resizable-component.styles.CAfXABBc.js";
2
- import { C as b } from "../chunks/document-viewer.CMZNXDup.js";
2
+ import { C as b } from "../chunks/document-viewer.DbxPRuLE.js";
3
3
  import "../chunks/component.styles.CRO4Odto.js";
4
4
  import "../chunks/index.Cpamj0jB.js";
5
5
  import "../chunks/custom-element.L4WJXn1j.js";
@@ -20,8 +20,8 @@ import px from "./details.js";
20
20
  import { default as tXt } from "./diff.js";
21
21
  import { C as Ia, D as Sf, O as tF, a as OZ, H as DZ, z as IZ, o as MZ } from "../chunks/dialog.05FgdLBZ.js";
22
22
  import Hs from "./divider.js";
23
- import { r as PZ, a as iF, b as NZ, c as LZ } from "../chunks/document-viewer.CMZNXDup.js";
24
- import { C as nXt } from "../chunks/document-viewer.CMZNXDup.js";
23
+ import { r as PZ, a as iF, b as NZ, c as LZ } from "../chunks/document-viewer.DbxPRuLE.js";
24
+ import { C as nXt } from "../chunks/document-viewer.DbxPRuLE.js";
25
25
  import { d as RZ, C as BZ } from "../chunks/dot-pagination.Pg9O0nIh.js";
26
26
  import { default as oXt } from "./dot-status.js";
27
27
  import { default as sXt } from "./drawer.js";
@@ -5388,7 +5388,7 @@ let go = class extends di {
5388
5388
  }
5389
5389
  renderAssetPreview() {
5390
5390
  if ((this.previewSrc || this.value) && this.acceptsType(Ll.Image))
5391
- return I`<cx-image part="image" class="asset-picker__image" src=${this.previewSrc || this.value} alt=${this.assetTitle} width="200px" object-fit=${Fo.Cover} retry-on-error></cx-image>`;
5391
+ return I`<cx-image part="image" class="asset-picker__image" src=${this.previewSrc || this.value} alt=${this.assetTitle} width="200px" object-fit=${Fo.Cover} no-crossorigin retry-on-error></cx-image>`;
5392
5392
  if (this.assetTitle && (this.acceptsType(Ll.Audio) || this.acceptsType(Ll.Video)))
5393
5393
  return I`<cx-typography variant="body-2">${Wk(this.assetTitle, 30, 11, 11)}</cx-typography>`;
5394
5394
  if (this.assetTitle && (this.acceptsType(Ll.Other) || this.acceptsType(Ll.All))) {
@@ -140340,7 +140340,7 @@ let zs = class extends di {
140340
140340
  </cx-checkbox></cx-space><cx-space wrap="nowrap" direction="vertical" class="image-dialog__col" spacing="x-small"><cx-typography variant="body2">${this.localize.term("preview")}</cx-typography><div class="image-container"><cx-image part="image" class=${Nt({
140341
140341
  image: !0,
140342
140342
  "undefined-src": this.isValidSrc === void 0
140343
- })} src=${this.data.src || ""} width="100%" height="100%" height-mode=${this.data.keepRatio ? er.Auto : er.Fixed} retry-on-error @cx-load=${this.handleImageLoad}></cx-image></div><cx-typography variant="body3">
140343
+ })} src=${this.data.src || ""} width="100%" height="100%" height-mode=${this.data.keepRatio ? er.Auto : er.Fixed} no-crossorigin retry-on-error @cx-load=${this.handleImageLoad}></cx-image></div><cx-typography variant="body3">
140344
140344
  In editor, drag image to reposition
140345
140345
  </cx-typography><cx-typography variant="body3">
140346
140346
  Click on image to enable image resizer
@@ -47101,7 +47101,7 @@ let bt = class extends Pb {
47101
47101
  return Qc`
47102
47102
  ${Op(
47103
47103
  !this.src && this.formattedPoster,
47104
- () => Qc`<slot name="placeholder" part="placeholder"><cx-image class="video__poster" width=${this.width} height=${this.height} skeleton src=${this.formattedPoster} alt="poster" object-fit="contain"></cx-image></slot>`
47104
+ () => Qc`<slot name="placeholder" part="placeholder"><cx-image class="video__poster" width=${this.width} height=${this.height} skeleton src=${this.formattedPoster} alt="poster" object-fit="contain" no-crossorigin></cx-image></slot>`
47105
47105
  )}<div part="video-js-container" tabindex="0" role="region" aria-label=${this.localize.term("videoPlayer")} id="video-js-container" class=${Ip({
47106
47106
  "video-js-container": !0,
47107
47107
  "video-js-container--poster": this.formattedPoster !== ""
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.165.0",
4
+ "version": "2.166.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.165.0",
4
+ "version": "2.166.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {