@orangelogic/design-system 4.56.0 → 4.58.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 (108) hide show
  1. package/library/chunks/{array-line-clamp.sxTWf9Iz.js → array-line-clamp.9myPWg1y.js} +2 -2
  2. package/library/chunks/{asset-link-format.b1PRwN5q.js → asset-link-format.zO0t0oA3.js} +237 -208
  3. package/library/chunks/{bicolor-picker.BEs23Gs0.js → bicolor-picker.DZY5PP24.js} +1 -1
  4. package/library/chunks/{block-width.C-Etq9nn.js → block-width.Dbc3rT3Y.js} +50 -50
  5. package/library/chunks/{border-input-group.dw1516Kf.js → border-input-group.BymzNWba.js} +1 -1
  6. package/library/chunks/{browser.Ct4pHP9I.js → browser.gIznFIix.js} +4 -1
  7. package/library/chunks/{color-picker.D38VZ1JB.js → color-picker.Ch5-Ylm8.js} +4 -4
  8. package/library/chunks/{color-swatch-group.D4cJJmvA.js → color-swatch-group.Bcw5aIqG.js} +404 -401
  9. package/library/chunks/{color-swatch.PNkiDQx5.js → color-swatch.DZG975M_.js} +2 -2
  10. package/library/chunks/{config-manager.DncPuD4f.js → config-manager.BfkCA0F3.js} +21 -21
  11. package/library/chunks/{configs-controller.0FoXQnJn.js → configs-controller.uTcM4iX4.js} +11 -11
  12. package/library/chunks/{confirm-popover.BHKVBESN.js → confirm-popover.DUrgLQjC.js} +2 -2
  13. package/library/chunks/{copy-button.CQO3gEFh.js → copy-button.CqqKJEh3.js} +1 -1
  14. package/library/chunks/{corner-position-input-group.BzYJD8zG.js → corner-position-input-group.mrOiz-0k.js} +1 -1
  15. package/library/chunks/{cropper.BRsN8h2t.js → cropper.CNmQt-sa.js} +10 -12
  16. package/library/chunks/{dialog.QENKQ3wO.js → dialog.BcCTa8Bd.js} +1 -1
  17. package/library/chunks/{document-viewer.CSSI__TI.js → document-viewer.Ch5h5Wte.js} +7 -7
  18. package/library/chunks/{dot-pagination.8huF7K9E.js → dot-pagination.C1C6NG8d.js} +1 -1
  19. package/library/chunks/{dropdown.BTQ07f9L.js → dropdown.DDQXJMth.js} +2 -2
  20. package/library/chunks/{dynamic-select.BEKv0lpx.js → dynamic-select.Dwcz7UjN.js} +1 -1
  21. package/library/chunks/{file-on-demand.DNVrOUTH.js → file-on-demand.BmRBmyyq.js} +8 -8
  22. package/library/chunks/{folder-select.B16qEGcG.js → folder-select.Buoz3ioX.js} +4 -4
  23. package/library/chunks/{header.B11-tX9H.js → header.CowQINf-.js} +1 -1
  24. package/library/chunks/{image.alhsAc_i.js → image.-lgb634-.js} +1 -1
  25. package/library/chunks/{line-clamp.BYoTFCvo.js → line-clamp.SD3U021K.js} +2 -2
  26. package/library/chunks/{masonry.B8EOiLu0.js → masonry.BxNeClR6.js} +2 -2
  27. package/library/chunks/{menu-item.Z7pkEEyC.js → menu-item.CtFgeM0H.js} +1 -1
  28. package/library/chunks/{menu.Dlt4EsSJ.js → menu.BEVPnl3Y.js} +1 -1
  29. package/library/chunks/{pagination.ATa3enAG.js → pagination.DULLxssA.js} +2 -2
  30. package/library/chunks/{popup.LaRE0W3Q.js → popup.w4ZU3jI-.js} +4 -4
  31. package/library/chunks/{radio-card.BVkRnAT5.js → radio-card.BWutKj6E.js} +1 -1
  32. package/library/chunks/{range.BWrWIE6S.js → range.ObEMbygm.js} +1 -1
  33. package/library/chunks/{select.DJSXKV7u.js → select.S9rnkI_b.js} +3 -3
  34. package/library/chunks/{shadow-input-group.B_06ZQpb.js → shadow-input-group.B_W5gJ4u.js} +1 -1
  35. package/library/chunks/{share-option-list.BetSdhgh.js → share-option-list.DOaEypfQ.js} +1 -1
  36. package/library/chunks/{size-input-group.VZ4Yt8qW.js → size-input-group.DUyTc5na.js} +2 -2
  37. package/library/chunks/{src.DiLNsEca.js → src.D0Zj6Eo1.js} +26 -26
  38. package/library/chunks/{src.CgqvT9Zj.js → src.Dia365C9.js} +82 -82
  39. package/library/chunks/{step.CA3PQN8l.js → step.DoO31jfk.js} +2 -2
  40. package/library/chunks/{stepper-wizard.B72l6S-I.js → stepper-wizard.DgrCTDtq.js} +2 -2
  41. package/library/chunks/{stepper.DgoOS-k1.js → stepper.BhpFjenM.js} +1 -1
  42. package/library/chunks/{tab-group.DhX_Aowk.js → tab-group.kyiPblS9.js} +4 -4
  43. package/library/chunks/{tab.vGimW19a.js → tab.Cv-UuYM5.js} +1 -1
  44. package/library/chunks/{tag.Dr7Na8Kf.js → tag.Cq8m5pRP.js} +1 -1
  45. package/library/chunks/{tooltip.BpXJhnhh.js → tooltip.Cc02vm6M.js} +1 -1
  46. package/library/chunks/{tree.BEdI81wd.js → tree.XYIP-Ujw.js} +2 -2
  47. package/library/chunks/{typeface.CDjUSIt9.js → typeface.eo-n8r2R.js} +1 -1
  48. package/library/chunks/{video.Dbzi5Pxz.js → video.B0vHXehv.js} +3 -3
  49. package/library/components/array-line-clamp.js +1 -1
  50. package/library/components/asset-link-format.js +1 -1
  51. package/library/components/atoms.js +29 -29
  52. package/library/components/bicolor-picker.js +1 -1
  53. package/library/components/border-input-group.js +1 -1
  54. package/library/components/color-picker.js +1 -1
  55. package/library/components/color-swatch-group.js +1 -1
  56. package/library/components/color-swatch.js +1 -1
  57. package/library/components/confirm-popover.js +1 -1
  58. package/library/components/copy-button.js +1 -1
  59. package/library/components/corner-position-input-group.js +1 -1
  60. package/library/components/cropper.js +1 -1
  61. package/library/components/dialog.js +1 -1
  62. package/library/components/document-viewer.js +1 -1
  63. package/library/components/dot-pagination.js +1 -1
  64. package/library/components/dropdown.js +1 -1
  65. package/library/components/dynamic-select.js +1 -1
  66. package/library/components/file-on-demand.js +1 -1
  67. package/library/components/folder-select.js +1 -1
  68. package/library/components/header.js +1 -1
  69. package/library/components/image.js +1 -1
  70. package/library/components/line-clamp.js +1 -1
  71. package/library/components/masonry.js +1 -1
  72. package/library/components/menu-item.js +1 -1
  73. package/library/components/menu.js +1 -1
  74. package/library/components/molecules.js +14 -14
  75. package/library/components/organisms.js +3 -3
  76. package/library/components/pagination.js +1 -1
  77. package/library/components/popup.js +1 -1
  78. package/library/components/radio-card.js +1 -1
  79. package/library/components/range.js +1 -1
  80. package/library/components/select.js +1 -1
  81. package/library/components/shadow-input-group.js +1 -1
  82. package/library/components/share-option-list.js +1 -1
  83. package/library/components/size-input-group.js +1 -1
  84. package/library/components/step.js +1 -1
  85. package/library/components/stepper-wizard.js +1 -1
  86. package/library/components/stepper.js +1 -1
  87. package/library/components/tab-group.js +1 -1
  88. package/library/components/tab.js +1 -1
  89. package/library/components/tag.js +1 -1
  90. package/library/components/tooltip.js +1 -1
  91. package/library/components/tree-item.js +1 -1
  92. package/library/components/tree.js +1 -1
  93. package/library/components/typeface.js +1 -1
  94. package/library/components/types.js +13812 -13812
  95. package/library/components/video.js +1 -1
  96. package/library/package.json +1 -1
  97. package/library/packages/hybrid/video-advanced/src/react/components/VideoEditor/VideoEditor.d.ts +1 -0
  98. package/library/packages/hybrid/video-advanced/src/react/plugins/Crop/Crop.d.ts +2 -0
  99. package/library/packages/hybrid/video-advanced/src/react/utils/browser.d.ts +1 -0
  100. package/library/packages/molecules/src/cropper/react/ReactCrop/ReactCrop.d.ts +1 -1
  101. package/library/packages/molecules/src/multi-select/components/board/board.utils.d.ts +0 -7
  102. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +16 -1
  103. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +8 -0
  104. package/library/packages/organisms/src/asset-link-format/components/asset-link-format-resize/asset-link-format-resize.d.ts +7 -0
  105. package/library/packages/utils/src/browser/browser.d.ts +1 -0
  106. package/library/packages/utils/src/video/video.d.ts +1 -0
  107. package/library/utils.js +28 -28
  108. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- import { n as e, t } from "../chunks/video.Dbzi5Pxz.js";
1
+ import { n as e, t } from "../chunks/video.B0vHXehv.js";
2
2
  export { t as VIDEO_BACKGROUND_SIZE_BY_OBJECT_FIT, e as default };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.56.0",
4
+ "version": "4.58.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -17,6 +17,7 @@ interface IVideoEditorProps {
17
17
  transitionUIDs: string[];
18
18
  }) => void;
19
19
  onDeleteAllTransitions?: () => void;
20
+ onDropdownToggle?: (open: boolean) => void;
20
21
  onExport?: () => void;
21
22
  onRatioChange?: (ratio: Ratio) => void;
22
23
  onRedo?: () => void;
@@ -2,6 +2,8 @@ import { FunctionComponent } from 'react';
2
2
  import { Area } from 'react-easy-crop';
3
3
  import { Ratio } from '../../type';
4
4
  interface ICropProps {
5
+ /** Ratio dropdown open: the frame leaves the top layer so the dropdown stays above it. */
6
+ dropdownOpen?: boolean;
5
7
  height: string;
6
8
  imageUrl: string;
7
9
  initialCroppedAreaPercentages: Area;
@@ -6,3 +6,4 @@ export declare const supportHLS: boolean;
6
6
  * update this condition to follow suit.
7
7
  */
8
8
  export declare const popoverSupported: boolean;
9
+ export declare const isRequestVideoFrameCallbackSupported: () => boolean;
@@ -129,7 +129,7 @@ export declare class ReactCrop extends PureComponent<ReactCropProps, ReactCropSt
129
129
  width: string;
130
130
  } | undefined;
131
131
  dragCrop(): PixelCrop;
132
- getPointRegion(box: Rectangle, origOrd: Ords | undefined, minWidth: number, minHeight: number): XYOrds;
132
+ getPointRegion(box: Rectangle): XYOrds;
133
133
  resolveMinDimensions(box: Rectangle, aspect: number, minWidth?: number, minHeight?: number): number[];
134
134
  resizeCrop(): PixelCrop;
135
135
  renderCropSelection(): import('react/jsx-runtime').JSX.Element | undefined;
@@ -1,9 +1,2 @@
1
1
  export declare const getHost: <T = Element>(el: HTMLElement) => T | null;
2
2
  export declare const isSafari: boolean;
3
- /**
4
- * True on macOS, regardless of browser. Every browser on macOS (not just Safari) renders the
5
- * native HTML5 drag image with a stray fly-in animation from the top-left of the screen on drag
6
- * start (https://link.orangelogic.com/Tasks/41N1B6); forcing SortableJS's JS-driven fallback
7
- * rendering instead of native HTML5 drag-and-drop avoids it.
8
- */
9
- export declare const isMacOs: boolean;
@@ -69,6 +69,11 @@ export default class CxAssetLinkFormat extends CortexElement {
69
69
  * extension fallback in asset-transformation-dialog.
70
70
  */
71
71
  private static getTransformExtension;
72
+ /**
73
+ * The pixel size of a `ratioWidth`:`ratioHeight` resize of a `maxWidth` x `maxHeight` image: the largest
74
+ * box of the ratio inside it, as a pixel resize stops at the image size, and at least 1px a side.
75
+ */
76
+ private static fitRatioResizeSize;
72
77
  /**
73
78
  * Keep the last value for each type, at that type's first position.
74
79
  */
@@ -101,6 +106,10 @@ export default class CxAssetLinkFormat extends CortexElement {
101
106
  private sortable?;
102
107
  private sortableRevision;
103
108
  private dragPreviousSibling;
109
+ /** The copy of the dragged panel that follows the cursor on macOS; it exists only mid-drag, so never cache it. */
110
+ private dragCopy;
111
+ /** The panel being dragged; it has the placeholder class only mid-drag, so never cache it. */
112
+ private draggedPanel;
104
113
  /**
105
114
  * The crop step last edited in this formatter. Any other crop step came from outside (a saved
106
115
  * format, Undo, Reset), even one of the size the Crop panel shows.
@@ -497,7 +506,8 @@ export default class CxAssetLinkFormat extends CortexElement {
497
506
  handleReorderableChange(): void;
498
507
  /**
499
508
  * Destroying mid-drag skips Sortable's drop cleanup and `onEnd`: the dragged panel would keep
500
- * the placeholder class and stay where Sortable moved it, outside Lit's repeat markers.
509
+ * the placeholder class and stay where Sortable moved it, outside Lit's repeat markers, and the
510
+ * copy that follows the cursor on macOS (`sortable-fallback`) would stay on screen.
501
511
  */
502
512
  private destroySortable;
503
513
  private syncSortable;
@@ -527,6 +537,11 @@ export default class CxAssetLinkFormat extends CortexElement {
527
537
  private onCropChanged;
528
538
  private onCropApply;
529
539
  private applyCropTransformation;
540
+ /**
541
+ * The pixel size a typed resize ratio previews. With an image, the largest box of the ratio inside it, as
542
+ * Apply resizes to. Without one only the ratio is saved, so it is sized over the last pixel height.
543
+ */
544
+ private getRatioResizePreviewSize;
530
545
  private onResizeChange;
531
546
  private onResizeApply;
532
547
  private onRotationChange;
@@ -257,6 +257,14 @@ export default class CxAssetLinkFormatCrop extends CortexElement {
257
257
  * turns a larger number into `max` as it is typed. Ratio values and an unknown (0) max have no cap.
258
258
  */
259
259
  private getSizeMaskBlocks;
260
+ /**
261
+ * An unlinked ratio, kept between 1:`maxHeight` and `maxWidth`:1 so the largest box of it inside the max
262
+ * size has at least 1px a side; past that, the box rounds to 0px on a side and the cropper has no frame to
263
+ * draw. As with a pixel size, the typed side stops at its max (`sideMax` times the other side: 29999922:1
264
+ * in 1000x800 gives 1000:1), and the other side then stops at `otherSideMax` times the typed one (lowering
265
+ * one side of 800000:800000 to 1 gives 1:800). An unknown max leaves both sides as they are.
266
+ */
267
+ private fitRatioSides;
260
268
  render(): TemplateResult;
261
269
  }
262
270
  declare global {
@@ -158,6 +158,13 @@ export default class CxAssetLinkFormatResize extends CortexElement {
158
158
  */
159
159
  private onHideDetails;
160
160
  private handleAspectRatioClick;
161
+ /**
162
+ * An unlinked ratio, kept between 1:`maxHeight` and `maxWidth`:1 so the image resized to it keeps at least
163
+ * 1px a side. As with a pixel size, the typed side stops at its max (`sideMax` times the other side:
164
+ * 29999922:1 in 1000x800 gives 1000:1), and the other side then stops at `otherSideMax` times the typed one
165
+ * (lowering one side of 800000:800000 to 1 gives 1:800). An unknown max (0 or Infinity) leaves both as they are.
166
+ */
167
+ private fitRatioSides;
161
168
  render(): TemplateResult;
162
169
  }
163
170
  declare global {
@@ -11,3 +11,4 @@ export declare function findAncestorWithBuggyStyle(element: Element | null, pred
11
11
  export declare function findCuttingAncestor(element: Element): Element | null | undefined;
12
12
  export declare function findContainingBlock(element: Element): Element | null | undefined;
13
13
  export declare function isIOS(): boolean;
14
+ export declare function isMacOs(): boolean;
@@ -2,6 +2,7 @@ import { FrameCache, FrameCacheItem } from '../../../types/src/video-editor';
2
2
  export declare const PRECISION = 10;
3
3
  export declare function insertFrameToCache(arr: FrameCacheItem[], newObj: FrameCacheItem): void;
4
4
  export declare function findFrameByColAndRow(frames: FrameCacheItem[], col: number, row: number): FrameCacheItem | null;
5
+ export declare function seek(video: HTMLVideoElement, time: number, interval: number): Promise<void>;
5
6
  export declare function extractFrames({ cache, canvas, duration, maxInterval, src, video, }: {
6
7
  cache: FrameCache;
7
8
  canvas: {
package/library/utils.js CHANGED
@@ -3,31 +3,31 @@ import { t as o } from "./chunks/custom-element.BEMYNDK1.js";
3
3
  import { r as s, t as c } from "./chunks/i18n.Bjg2ubA4.js";
4
4
  import { n as l, r as u, t as d } from "./chunks/slot.CZUlACxT.js";
5
5
  import { t as f } from "./chunks/watch.Ub5r8btz.js";
6
- import { a as p, c as m, i as h, l as g, n as _, o as v, r as y, s as b, t as x, u as S } from "./chunks/browser.Ct4pHP9I.js";
7
- import { t as C } from "./chunks/debounce.Ci-xdsHE.js";
8
- import { C as w, E as T, S as E, T as D, _ as O, a as k, b as A, c as j, d as M, f as N, g as P, h as F, i as I, l as L, m as R, n as z, o as B, p as V, r as H, s as U, t as W, u as G, v as K, w as q, x as J, y as Y } from "./chunks/string.9yahdkB8.js";
9
- import { a as X, c as Z, d as Q, f as $, h as ee, i as te, l as ne, m as re, n as ie, o as ae, p as oe, r as se, s as ce, t as le, u as ue } from "./chunks/dom.BLHsooDR.js";
10
- import { a as de, i as fe, n as pe, o as me, r as he, t as ge } from "./chunks/form.D_eBa3AQ.js";
11
- import { i as _e, n as ve, r as ye, t as be } from "./chunks/time.p1t0NCwj.js";
12
- import { a as xe, c as Se, i as Ce, l as we, n as Te, o as Ee, r as De, s as Oe, t as ke } from "./chunks/number.CNp5LKkv.js";
13
- import { a as Ae, c as je, i as Me, l as Ne, n as Pe, o as Fe, r as Ie, s as Le, t as Re } from "./chunks/image.C0s1gL4z.js";
14
- import { n as ze, t as Be } from "./chunks/waveform.BFEuRt2_.js";
15
- import { t as Ve } from "./chunks/default-value.opqQgoRT.js";
16
- import { a as He, c as Ue, i as We, l as Ge, n as Ke, o as qe, r as Je, s as Ye, t as Xe } from "./chunks/gradient.rrDxmV60.js";
17
- import { t as Ze } from "./chunks/drag.s0AcVpKh.js";
18
- import { n as Qe, t as $e } from "./chunks/math.od1DVmRk.js";
19
- import { n as et, t as tt } from "./chunks/active-elements.Tk45XSNQ.js";
20
- import { t as nt } from "./chunks/focus-when-visible.DKscgyKo.js";
21
- import { n as rt, t as it } from "./chunks/tabbable.BSwpOHdm.js";
22
- import { i as at, n as ot, r as st, t as ct } from "./chunks/scroll.CEH_a4pm.js";
23
- import { t as lt } from "./chunks/user-agent.D2bRhUeS.js";
24
- import { t as ut } from "./chunks/parse.CDrJ-NY7.js";
25
- import { S as dt, _ as ft, b as pt, d as mt, f as ht, g as gt, h as _t, m as vt, p as yt, t as bt, u as xt, v as St, x as Ct, y as wt } from "./chunks/date.BL4L64Hx.js";
26
- import { $ as Tt, A as Et, B as Dt, F as Ot, G as kt, H as At, I as jt, J as Mt, K as Nt, L as Pt, M as Ft, N as It, O as Lt, P as Rt, Q as zt, R as Bt, U as Vt, V as Ht, W as Ut, X as Wt, Y as Gt, Z as Kt, _ as qt, a as Jt, at as Yt, b as Xt, c as Zt, ct as Qt, d as $t, dt as en, et as tn, f as nn, ft as rn, g as an, h as on, i as sn, it as cn, j as ln, k as un, l as dn, lt as fn, m as pn, mt as mn, n as hn, nt as gn, o as _n, ot as vn, p as yn, pt as bn, q as xn, r as Sn, rt as Cn, s as wn, st as Tn, t as En, tt as Dn, u as On, ut as kn, v as An, y as jn, z as Mn } from "./chunks/src.CgqvT9Zj.js";
27
- import { n as Nn } from "./chunks/modal.eB-mqL-y.js";
28
- import { a as Pn, c as Fn, d as In, f as Ln, i as Rn, l as zn, m as Bn, n as Vn, o as Hn, p as Un, r as Wn, s as Gn, t as Kn, u as qn } from "./chunks/url.BCc06dE7.js";
29
- import { a as Jn, c as Yn, d as Xn, f as Zn, h as Qn, i as $n, l as er, m as tr, n as nr, o as rr, p as ir, r as ar, s as or, t as sr, u as cr } from "./chunks/color.CIOzHtLK.js";
30
- import { t as lr } from "./chunks/converters.CFh-tT4P.js";
31
- import { n as ur, r as dr, t as fr } from "./chunks/responsive.L9Csz2w2.js";
32
- import { n as pr, t as mr } from "./chunks/template.Cyvih0XQ.js";
33
- export { _n as AUTO_FALLBACK_FORMAT, wn as AUTO_FORMAT_EXTENSION, Zt as AUTO_ORIGINAL_FORMAT_MAX_BYTES, sr as CMYK_VALIDATION_REGEX, xt as CalendarGrid, nr as ColorType, zt as CortexPopupController, fr as DEFAULT_BREAKPOINTS, bt as DateRangePresets, Kt as DragScroll, ge as FormControlController, ar as HEX_ALPHA_VALIDATION_REGEX, $n as HEX_VALIDATION_REGEX, d as HasSlotController, jt as HistoryManager, Ot as KeyboardKey, c as LocalizeController, Xe as MIN_GRADIENT_STOPS, dn as ORIGINAL_FORMAT, En as PRECISION, Kn as RELATIVE_URL_REGEX, Jn as RGB_VALIDATION_REGEX, On as SRCSET_WIDTH_LADDER, Vn as URL_DOMAIN_VALIDATION_REGEX, Wn as URL_INTRANET_DOMAIN_VALIDATION_REGEX, Rn as URL_PROTOCOL_VALIDATION_REGEX, Pn as URL_VALIDATION_REGEX, tt as activeElements, mt as addMonths, Tt as adjustRelativeValues, n as animateTo, Hn as appendProtocol, Gn as appendQueryParam, $t as applyTransformationsToUrl, nn as applyWidthToAssetUrl, yn as buildAssetSrcset, pn as buildSizesFromDisplayWidth, on as buildTransformationString, Be as buildWaveformPath, Re as calculateAspectRatioFit, $e as clamp, Pe as cleanImageFileName, be as clearZeroDurationParts, rr as convertColor, ke as convertDataUnits, Te as convertDurationToMilliseconds, De as convertPixelsToAspectRatio, Ie as convertSrcToBlob, Ke as createStopId, Me as cropImage, le as cssValueToPx, o as customElement, pe as customErrorValidityState, C as debounce, Ve as defaultValue, fn as downloadAsset, Ze as drag, W as emptyToSpace, z as escapeXML, or as extractColor, H as extractExtension, hn as extractFrames, I as extractRootData, Ce as extractValueAndUnit, ze as extractWaveformPeaks, Gt as fetchCortexApi, x as findAncestorWithBuggyStyle, _ as findContainingBlock, y as findCuttingAncestor, Sn as findFrameByColAndRow, tn as findIndexByProp, k as findSearchMatches, nt as focusWhenVisible, B as foldSearchText, he as formCollections, xe as formatAspectRatioString, Yn as formatColorCodeSeparator, ve as formatDurationPartsManually, er as formatHexCode, ht as formatIsoToDisplay, yt as formatMonthYearLabel, Ee as formatNumberWithGrouping, U as formatSecondsToTime, j as formatTimeToSeconds, ye as formatWithIntlDurationFormat, Oe as gcd, ie as getActiveElement, Nn as getActiveModals, fe as getAssociatedForm, se as getAttributes, L as getAttributesString, ur as getBreakpointsFromCSS, Dt as getBrowserFontVariants, cr as getColorType, Ae as getContainedImageSize, te as getCortexPopupLayer, X as getCurrentZIndex, vt as getDateMask, et as getDeepestActiveElement, dr as getDeviceType, _e as getDurationPartsByUnitsFormat, ae as getElementFromHTMLString, ce as getElementFromTemplate, _t as getFirstDayOfWeek, Ht as getFontFamilyOptionValue, At as getFontFamilyVariants, Pt as getFormControls, mr as getHighlightedTitle, pr as getHighlightedTitleHtml, l as getInnerHTML, sn as getInterval, Xn as getLightDarkCssString, Fe as getNaturalWidthHeight, Z as getNeededPaddingForBoxShadow, h as getNextAncestor, at as getOffset, ne as getRelativeClickPercentage, G as getRootIDString, it as getTabbableBoundary, rt as getTabbableElements, u as getTextContent, gt as getTodayIsoDate, Vt as getTypefaceOptionValue, Dn as groupBy, an as hasTransformSegment, M as htmlToPlainText, gn as insertAtIndex, Jt as insertFrameToCache, Cn as insertMultipleAtIndex, Je as interpolateStopColor, p as isChrome, lt as isCortexAdobePlugin, ue as isDomElement, Q as isElementInHorizontalView, Fn as isExpiredAssetUrl, v as isFirefox, Ut as isFontFamilyAvailable, Bt as isFormInteracted, N as isGalleryItemCardType, We as isGradientString, b as isIOS, $ as isInElement, Wt as isModKey, m as isSafari, Le as isSaveSrcValid, zn as isValidDomainOrIntranetUrl, ft as isValidIsoDate, qn as isValidUrl, St as isoToDate, mn as isoWeekNumber, oe as loadScript, ct as lockBodyScrolling, Zn as luminanceTextColor, cn as moveMultipleToIndex, Yt as moveToIndex, vn as multiSelectTo, He as normalizeAngle, wt as normalizeToIsoDate, ln as omit, kn as openAssetOverview, en as openFolderOverview, rn as openLink, V as padPath, R as parseBooleanString, ir as parseBorder, pt as parseDisplayToIso, i as parseDuration, qt as parseFileSizeToBytes, qe as parseGradient, Ct as parseIsoDate, Ft as parseJsonString, tr as parseLightDark, It as parseListString, Qn as parseShadow, An as parseTransformations, Rt as pick, g as popoverSupported, t as prefersReducedMotion, Qe as quantizeLargestRemainder, kt as quoteFontFamily, In as readAssetTokenExpiry, un as readLocalStorageValue, re as readSearchConsistency, F as reducePathToDirectChild, s as registerTranslation, Tn as removeAtIndex, Qt as removeMultipleAtIndex, je as resizeImage, jn as resolveAutoFormat, Xt as resolveAutoMaxWidth, Ln as resolveSpaceUrl, Se as rotateBox, Ne as rotateImage, P as safeExtension, O as safeString, K as sanitizeHTML, we as sanitizeRotation, ot as scrollIntoView, Mn as serialize, Ye as serializeGradient, bn as shareAsset, e as shimKeyframesHeightAuto, ee as sortByTopPosition, Ue as sortStops, Nt as sortTypefaceVariants, ut as splitBoxValues, Y as splitCamelCaseFormatted, Ge as splitTopLevel, r as stopAnimations, S as supportHLS, xn as testFontAvailability, lr as timecodeConverter, A as toCamelCase, dt as toIsoDate, J as toKebabCase, E as toPascalCase, Un as toRelativeUrl, w as toTitleCase, Bn as toUrlPathKey, Lt as toast, q as truncateTextMiddle, D as unescapeXML, st as unlockBodyScrolling, Mt as unquoteFontFamily, T as upperFirst, de as validValidityState, me as valueMissingValidityState, a as waitForEvent, f as watch, Et as writeLocalStorageValue };
6
+ import { a as p, c as m, d as h, i as g, l as _, n as v, o as y, r as b, s as x, t as S, u as C } from "./chunks/browser.gIznFIix.js";
7
+ import { t as w } from "./chunks/debounce.Ci-xdsHE.js";
8
+ import { C as T, E, S as D, T as O, _ as k, a as A, b as j, c as M, d as N, f as P, g as F, h as I, i as L, l as R, m as z, n as B, o as V, p as H, r as U, s as W, t as G, u as K, v as q, w as J, x as Y, y as X } from "./chunks/string.9yahdkB8.js";
9
+ import { a as Z, c as Q, d as $, f as ee, h as te, i as ne, l as re, m as ie, n as ae, o as oe, p as se, r as ce, s as le, t as ue, u as de } from "./chunks/dom.BLHsooDR.js";
10
+ import { a as fe, i as pe, n as me, o as he, r as ge, t as _e } from "./chunks/form.D_eBa3AQ.js";
11
+ import { i as ve, n as ye, r as be, t as xe } from "./chunks/time.p1t0NCwj.js";
12
+ import { a as Se, c as Ce, i as we, l as Te, n as Ee, o as De, r as Oe, s as ke, t as Ae } from "./chunks/number.CNp5LKkv.js";
13
+ import { a as je, c as Me, i as Ne, l as Pe, n as Fe, o as Ie, r as Le, s as Re, t as ze } from "./chunks/image.C0s1gL4z.js";
14
+ import { n as Be, t as Ve } from "./chunks/waveform.BFEuRt2_.js";
15
+ import { t as He } from "./chunks/default-value.opqQgoRT.js";
16
+ import { a as Ue, c as We, i as Ge, l as Ke, n as qe, o as Je, r as Ye, s as Xe, t as Ze } from "./chunks/gradient.rrDxmV60.js";
17
+ import { t as Qe } from "./chunks/drag.s0AcVpKh.js";
18
+ import { n as $e, t as et } from "./chunks/math.od1DVmRk.js";
19
+ import { n as tt, t as nt } from "./chunks/active-elements.Tk45XSNQ.js";
20
+ import { t as rt } from "./chunks/focus-when-visible.DKscgyKo.js";
21
+ import { n as it, t as at } from "./chunks/tabbable.BSwpOHdm.js";
22
+ import { i as ot, n as st, r as ct, t as lt } from "./chunks/scroll.CEH_a4pm.js";
23
+ import { t as ut } from "./chunks/user-agent.D2bRhUeS.js";
24
+ import { t as dt } from "./chunks/parse.CDrJ-NY7.js";
25
+ import { S as ft, _ as pt, b as mt, d as ht, f as gt, g as _t, h as vt, m as yt, p as bt, t as xt, u as St, v as Ct, x as wt, y as Tt } from "./chunks/date.BL4L64Hx.js";
26
+ import { $ as Et, A as Dt, B as Ot, F as kt, G as At, H as jt, I as Mt, J as Nt, K as Pt, L as Ft, M as It, N as Lt, P as Rt, Q as zt, R as Bt, U as Vt, V as Ht, W as Ut, X as Wt, Y as Gt, Z as Kt, _ as qt, a as Jt, at as Yt, b as Xt, c as Zt, ct as Qt, d as $t, dt as en, et as tn, f as nn, ft as rn, g as an, h as on, ht as sn, i as cn, it as ln, j as un, k as dn, l as fn, lt as pn, m as mn, mt as hn, n as gn, nt as _n, o as vn, ot as yn, p as bn, pt as xn, q as Sn, r as Cn, rt as wn, s as Tn, st as En, t as Dn, tt as On, u as kn, ut as An, v as jn, x as Mn, y as Nn, z as Pn } from "./chunks/src.Dia365C9.js";
27
+ import { n as Fn } from "./chunks/modal.eB-mqL-y.js";
28
+ import { a as In, c as Ln, d as Rn, f as zn, i as Bn, l as Vn, m as Hn, n as Un, o as Wn, p as Gn, r as Kn, s as qn, t as Jn, u as Yn } from "./chunks/url.BCc06dE7.js";
29
+ import { a as Xn, c as Zn, d as Qn, f as $n, h as er, i as tr, l as nr, m as rr, n as ir, o as ar, p as or, r as sr, s as cr, t as lr, u as ur } from "./chunks/color.CIOzHtLK.js";
30
+ import { t as dr } from "./chunks/converters.CFh-tT4P.js";
31
+ import { n as fr, r as pr, t as mr } from "./chunks/responsive.L9Csz2w2.js";
32
+ import { n as hr, t as gr } from "./chunks/template.Cyvih0XQ.js";
33
+ export { Tn as AUTO_FALLBACK_FORMAT, Zt as AUTO_FORMAT_EXTENSION, fn as AUTO_ORIGINAL_FORMAT_MAX_BYTES, lr as CMYK_VALIDATION_REGEX, St as CalendarGrid, ir as ColorType, Et as CortexPopupController, mr as DEFAULT_BREAKPOINTS, xt as DateRangePresets, zt as DragScroll, _e as FormControlController, sr as HEX_ALPHA_VALIDATION_REGEX, tr as HEX_VALIDATION_REGEX, d as HasSlotController, Ft as HistoryManager, Mt as KeyboardKey, c as LocalizeController, Ze as MIN_GRADIENT_STOPS, kn as ORIGINAL_FORMAT, Dn as PRECISION, Jn as RELATIVE_URL_REGEX, Xn as RGB_VALIDATION_REGEX, $t as SRCSET_WIDTH_LADDER, Un as URL_DOMAIN_VALIDATION_REGEX, Kn as URL_INTRANET_DOMAIN_VALIDATION_REGEX, Bn as URL_PROTOCOL_VALIDATION_REGEX, In as URL_VALIDATION_REGEX, nt as activeElements, ht as addMonths, tn as adjustRelativeValues, n as animateTo, Wn as appendProtocol, qn as appendQueryParam, nn as applyTransformationsToUrl, bn as applyWidthToAssetUrl, mn as buildAssetSrcset, on as buildSizesFromDisplayWidth, an as buildTransformationString, Ve as buildWaveformPath, ze as calculateAspectRatioFit, et as clamp, Fe as cleanImageFileName, xe as clearZeroDurationParts, ar as convertColor, Ae as convertDataUnits, Ee as convertDurationToMilliseconds, Oe as convertPixelsToAspectRatio, Le as convertSrcToBlob, qe as createStopId, Ne as cropImage, ue as cssValueToPx, o as customElement, me as customErrorValidityState, w as debounce, He as defaultValue, An as downloadAsset, Qe as drag, G as emptyToSpace, B as escapeXML, cr as extractColor, U as extractExtension, gn as extractFrames, L as extractRootData, we as extractValueAndUnit, Be as extractWaveformPeaks, Wt as fetchCortexApi, S as findAncestorWithBuggyStyle, v as findContainingBlock, b as findCuttingAncestor, Cn as findFrameByColAndRow, On as findIndexByProp, A as findSearchMatches, rt as focusWhenVisible, V as foldSearchText, ge as formCollections, Se as formatAspectRatioString, Zn as formatColorCodeSeparator, ye as formatDurationPartsManually, nr as formatHexCode, gt as formatIsoToDisplay, bt as formatMonthYearLabel, De as formatNumberWithGrouping, W as formatSecondsToTime, M as formatTimeToSeconds, be as formatWithIntlDurationFormat, ke as gcd, ae as getActiveElement, Fn as getActiveModals, pe as getAssociatedForm, ce as getAttributes, R as getAttributesString, fr as getBreakpointsFromCSS, Ht as getBrowserFontVariants, ur as getColorType, je as getContainedImageSize, ne as getCortexPopupLayer, Z as getCurrentZIndex, yt as getDateMask, tt as getDeepestActiveElement, pr as getDeviceType, ve as getDurationPartsByUnitsFormat, oe as getElementFromHTMLString, le as getElementFromTemplate, vt as getFirstDayOfWeek, jt as getFontFamilyOptionValue, Vt as getFontFamilyVariants, Bt as getFormControls, gr as getHighlightedTitle, hr as getHighlightedTitleHtml, l as getInnerHTML, cn as getInterval, Qn as getLightDarkCssString, Ie as getNaturalWidthHeight, Q as getNeededPaddingForBoxShadow, g as getNextAncestor, ot as getOffset, re as getRelativeClickPercentage, K as getRootIDString, at as getTabbableBoundary, it as getTabbableElements, u as getTextContent, _t as getTodayIsoDate, Ut as getTypefaceOptionValue, _n as groupBy, qt as hasTransformSegment, N as htmlToPlainText, wn as insertAtIndex, Jt as insertFrameToCache, ln as insertMultipleAtIndex, Ye as interpolateStopColor, p as isChrome, ut as isCortexAdobePlugin, de as isDomElement, $ as isElementInHorizontalView, Ln as isExpiredAssetUrl, y as isFirefox, At as isFontFamilyAvailable, Pn as isFormInteracted, P as isGalleryItemCardType, Ge as isGradientString, x as isIOS, ee as isInElement, m as isMacOs, Kt as isModKey, _ as isSafari, Re as isSaveSrcValid, Vn as isValidDomainOrIntranetUrl, pt as isValidIsoDate, Yn as isValidUrl, Ct as isoToDate, sn as isoWeekNumber, se as loadScript, lt as lockBodyScrolling, $n as luminanceTextColor, Yt as moveMultipleToIndex, yn as moveToIndex, En as multiSelectTo, Ue as normalizeAngle, Tt as normalizeToIsoDate, It as omit, en as openAssetOverview, rn as openFolderOverview, xn as openLink, H as padPath, z as parseBooleanString, or as parseBorder, mt as parseDisplayToIso, i as parseDuration, jn as parseFileSizeToBytes, Je as parseGradient, wt as parseIsoDate, Lt as parseJsonString, rr as parseLightDark, Rt as parseListString, er as parseShadow, Nn as parseTransformations, kt as pick, C as popoverSupported, t as prefersReducedMotion, $e as quantizeLargestRemainder, Pt as quoteFontFamily, Rn as readAssetTokenExpiry, Dt as readLocalStorageValue, ie as readSearchConsistency, I as reducePathToDirectChild, s as registerTranslation, Qt as removeAtIndex, pn as removeMultipleAtIndex, Me as resizeImage, Xt as resolveAutoFormat, Mn as resolveAutoMaxWidth, zn as resolveSpaceUrl, Ce as rotateBox, Pe as rotateImage, F as safeExtension, k as safeString, q as sanitizeHTML, Te as sanitizeRotation, st as scrollIntoView, vn as seek, Ot as serialize, Xe as serializeGradient, hn as shareAsset, e as shimKeyframesHeightAuto, te as sortByTopPosition, We as sortStops, Sn as sortTypefaceVariants, dt as splitBoxValues, X as splitCamelCaseFormatted, Ke as splitTopLevel, r as stopAnimations, h as supportHLS, Nt as testFontAvailability, dr as timecodeConverter, j as toCamelCase, ft as toIsoDate, Y as toKebabCase, D as toPascalCase, Gn as toRelativeUrl, T as toTitleCase, Hn as toUrlPathKey, dn as toast, J as truncateTextMiddle, O as unescapeXML, ct as unlockBodyScrolling, Gt as unquoteFontFamily, E as upperFirst, fe as validValidityState, he as valueMissingValidityState, a as waitForEvent, f as watch, un as writeLocalStorageValue };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "4.56.0",
4
+ "version": "4.58.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {