@orangelogic/design-system 2.139.0 → 2.140.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.oOC8fxvV.js → asset-link-format.CoMUMoyK.js} +545 -490
  2. package/library/chunks/{color-swatch-group.CYI2N8gp.js → color-swatch-group.DedQQk4J.js} +199 -162
  3. package/library/chunks/{document-viewer.Ga2Ppgit.js → document-viewer.NA5cS7qW.js} +2 -0
  4. package/library/components/asset-link-format.js +1 -1
  5. package/library/components/atoms.js +1 -1
  6. package/library/components/audio.js +6 -3
  7. package/library/components/color-swatch-group.js +1 -1
  8. package/library/components/document-viewer.js +1 -1
  9. package/library/components/organisms.js +2 -2
  10. package/library/components/types.js +14719 -14822
  11. package/library/package.json +1 -1
  12. package/library/packages/atoms/src/components/audio/audio.d.ts +5 -0
  13. package/library/packages/hybrid/table-core/src/table/components/table-toolbar/table-toolbar.d.ts +1 -0
  14. package/library/packages/hybrid/table-core/src/table/table.d.ts +16 -0
  15. package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Validate/Validate.d.ts +10 -0
  16. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -0
  17. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +0 -4
  18. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-quality/asset-link-format-quality.d.ts +0 -4
  19. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-resize/asset-link-format-resize.d.ts +0 -4
  20. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +5 -2
  21. package/library/packages/types/src/table.d.ts +8 -0
  22. package/library/react-web-component.d.ts +7 -3
  23. package/package.json +1 -1
  24. package/library/packages/organisms/src/_v1/comment-v1/extensions/time.d.ts +0 -63
  25. /package/library/packages/organisms/src/{annotator-comment → comment}/extensions/time.d.ts +0 -0
@@ -19898,6 +19898,7 @@ const ScaleBox = ({ children: l, fullSize: t, height: s, originalHeight: c, orig
19898
19898
  direction: "vertical",
19899
19899
  "justify-content": "flex-end",
19900
19900
  wrap: "nowrap",
19901
+ tabIndex: -1,
19901
19902
  ref: J,
19902
19903
  className: "relative flex-full no-gap z-10 content-focus-root",
19903
19904
  children: [
@@ -22428,6 +22429,7 @@ const ThumbnailItem = ({ data: l, index: t, style: s }) => {
22428
22429
  direction: "vertical",
22429
22430
  "justify-content": "flex-end",
22430
22431
  wrap: "nowrap",
22432
+ tabIndex: -1,
22431
22433
  ref: f,
22432
22434
  className: "relative flex-full no-gap z-10 content-focus-root",
22433
22435
  onBlur: qt,
@@ -3,7 +3,7 @@ import "../chunks/button.J4LDuhyW.js";
3
3
  import "./space.js";
4
4
  import "../chunks/typography.DJC_UXgs.js";
5
5
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
6
- import { C as g } from "../chunks/asset-link-format.oOC8fxvV.js";
6
+ import { C as g } from "../chunks/asset-link-format.CoMUMoyK.js";
7
7
  import "../chunks/component.styles.CRO4Odto.js";
8
8
  import "../chunks/asset-link-format.QzzboHHE.js";
9
9
  import "../chunks/custom-element.L4WJXn1j.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.C79Kd2S4.js";
22
22
  import { default as oe } from "./divider.js";
23
- import { C as ae } from "../chunks/document-viewer.Ga2Ppgit.js";
23
+ import { C as ae } from "../chunks/document-viewer.NA5cS7qW.js";
24
24
  import { C as xe } from "../chunks/dot-pagination.CoG0XmAq.js";
25
25
  import { default as me } from "./dot-status.js";
26
26
  import { default as pe } from "./drawer.js";
@@ -21,7 +21,7 @@ var I = Object.defineProperty, D = Object.getOwnPropertyDescriptor, e = (t, o, a
21
21
  };
22
22
  let i = class extends y {
23
23
  constructor() {
24
- super(...arguments), this.localize = new S(this), this.srcLoadVersion = 0, this.allWaveformPeaks = [], this.extractWaveformPeaks = b, this.src = "", this.name = "", this.autoplay = !1, this.loop = !1, this.waveformSrc = "", this.inPoint = 0, this.outPoint = 0, this.isPlaying = !1, this.isLoaded = !1, this.isError = !1, this.currentTimeSeconds = 0, this.durationSeconds = 0, this.effectiveOutPoint = 0, this.windowDuration = 0, this.waveformPath = "", this.waveformViewBoxWidth = 1e3, this.playedFraction = 0, this.audioSrc = "", this.pendingAutoplay = !1;
24
+ super(...arguments), this.localize = new S(this), this.srcLoadVersion = 0, this.allWaveformPeaks = [], this.extractWaveformPeaks = b, this.src = "", this.name = "", this.autoplay = !1, this.loop = !1, this.waveformSrc = "", this.inPoint = 0, this.outPoint = 0, this.isPlaying = !1, this.isLoaded = !1, this.isError = !1, this.currentTimeSeconds = 0, this.durationSeconds = 0, this.effectiveOutPoint = 0, this.windowDuration = 0, this.waveformPath = "", this.waveformViewBoxWidth = 1e3, this.playedFraction = 0, this.audioSrc = "", this.pendingAutoplay = !1, this.resolvedName = "";
25
25
  }
26
26
  get clampedInPoint() {
27
27
  return this.durationSeconds ? Math.max(0, Math.min(this.inPoint, this.durationSeconds)) : Math.max(0, this.inPoint);
@@ -161,8 +161,8 @@ let i = class extends y {
161
161
  () => $`<svg class="audio__waveform-svg" part="waveform-svg" viewBox="0 0 ${this.waveformViewBoxWidth} 200" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" @click=${this.handleWaveformClick}><path class="audio__waveform-wave" d=${this.waveformPath} /><svg x="0" y="0" width=${String(Math.round(this.playedFraction * this.waveformViewBoxWidth))} height="200" overflow="hidden"><path class="audio__waveform-played" d=${this.waveformPath} /></svg><rect class="audio__waveform-playhead" x=${String(Math.max(0, Math.round(this.playedFraction * this.waveformViewBoxWidth) - 1))} y="0" width="2" height="200"/></svg>`,
162
162
  () => h`<div part="waveform" class="audio__waveform"></div>`
163
163
  )}</div><div part="footer" class="audio__footer"><cx-typography part="time" variant="small" class="audio__time">${o} / ${a}</cx-typography>${d(
164
- this.name,
165
- () => h`<cx-typography part="filename" class="audio__filename">${this.name}</cx-typography>`
164
+ this.resolvedName || this.name,
165
+ () => h`<cx-typography part="filename" class="audio__filename">${this.resolvedName || this.name}</cx-typography>`
166
166
  )}</div>`
167
167
  )}</div>${d(this.resizable && this.isResizeActive, () => this.renderResizer())}
168
168
  `;
@@ -233,6 +233,9 @@ e([
233
233
  e([
234
234
  r()
235
235
  ], i.prototype, "pendingAutoplay", 2);
236
+ e([
237
+ r()
238
+ ], i.prototype, "resolvedName", 2);
236
239
  e([
237
240
  u("waveformSrc", { waitUntilFirstUpdate: !0 }),
238
241
  u("src")
@@ -3,7 +3,7 @@ import "../chunks/typography.DJC_UXgs.js";
3
3
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
4
4
  import "../chunks/color-swatch.DimFgBSf.js";
5
5
  import "../chunks/component.styles.CRO4Odto.js";
6
- import { C as v } from "../chunks/color-swatch-group.CYI2N8gp.js";
6
+ import { C as v } from "../chunks/color-swatch-group.DedQQk4J.js";
7
7
  import "../chunks/content-builder.BGzxZUgi.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.Ga2Ppgit.js";
2
+ import { C as b } from "../chunks/document-viewer.NA5cS7qW.js";
3
3
  import "../chunks/component.styles.CRO4Odto.js";
4
4
  import "../chunks/index.Cpamj0jB.js";
5
5
  import "../chunks/custom-element.L4WJXn1j.js";
@@ -1,5 +1,5 @@
1
- import { C } from "../chunks/asset-link-format.oOC8fxvV.js";
2
- import { C as e } from "../chunks/color-swatch-group.CYI2N8gp.js";
1
+ import { C } from "../chunks/asset-link-format.CoMUMoyK.js";
2
+ import { C as e } from "../chunks/color-swatch-group.DedQQk4J.js";
3
3
  import { C as x } from "../chunks/file-on-demand.C3ib6J00.js";
4
4
  export {
5
5
  C as CxAssetLinkFormat,