@orangelogic/design-system 2.151.0 → 2.152.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.
@@ -0,0 +1,29 @@
1
+ const e = [];
2
+ for (let n = 0; n < 256; ++n)
3
+ e.push((n + 256).toString(16).slice(1));
4
+ function c(n, t = 0) {
5
+ return (e[n[t + 0]] + e[n[t + 1]] + e[n[t + 2]] + e[n[t + 3]] + "-" + e[n[t + 4]] + e[n[t + 5]] + "-" + e[n[t + 6]] + e[n[t + 7]] + "-" + e[n[t + 8]] + e[n[t + 9]] + "-" + e[n[t + 10]] + e[n[t + 11]] + e[n[t + 12]] + e[n[t + 13]] + e[n[t + 14]] + e[n[t + 15]]).toLowerCase();
6
+ }
7
+ let d;
8
+ const i = new Uint8Array(16);
9
+ function r() {
10
+ if (!d) {
11
+ if (typeof crypto > "u" || !crypto.getRandomValues)
12
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
13
+ d = crypto.getRandomValues.bind(crypto);
14
+ }
15
+ return d(i);
16
+ }
17
+ const y = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), o = { randomUUID: y };
18
+ function p(n, t, m) {
19
+ if (o.randomUUID && !n)
20
+ return o.randomUUID();
21
+ n = n || {};
22
+ const u = n.random ?? n.rng?.() ?? r();
23
+ if (u.length < 16)
24
+ throw new Error("Random bytes length must be >= 16");
25
+ return u[6] = u[6] & 15 | 64, u[8] = u[8] & 63 | 128, c(u);
26
+ }
27
+ export {
28
+ p as v
29
+ };
@@ -3,7 +3,7 @@ import "../chunks/button.8syoJXYs.js";
3
3
  import "./space.js";
4
4
  import "../chunks/typography.IqHbnd3C.js";
5
5
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
6
- import { C as g } from "../chunks/asset-link-format.Bctc22QM.js";
6
+ import { C as g } from "../chunks/asset-link-format.DzYh0_YS.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";
@@ -80,7 +80,7 @@ import { default as ft } from "./tag.js";
80
80
  import { default as st } from "./textarea.js";
81
81
  import { default as Ct } from "./timecode.js";
82
82
  import { default as lt } from "./tooltip.js";
83
- import { a as nt, C as it } from "../chunks/tree.BDAj1Xs2.js";
83
+ import { a as nt, C as it } from "../chunks/tree.C2dPd6gt.js";
84
84
  import { C as gt } from "../chunks/typography.IqHbnd3C.js";
85
85
  import { default as At } from "./video.js";
86
86
  import { default as St } from "./visually-hidden.js";
@@ -1,6 +1,6 @@
1
1
  import { C as tt } from "../chunks/icon.mxNZ85k0.js";
2
2
  import et from "./line-clamp.js";
3
- import { C as mt, s as _t, a as ft, b as dt } from "../chunks/tree.BDAj1Xs2.js";
3
+ import { C as mt, s as _t, a as ft, b as dt } from "../chunks/tree.C2dPd6gt.js";
4
4
  import { n as d, C as W } from "../chunks/lib-cortex-element.CVMmyPMC.js";
5
5
  import { c as st } from "../chunks/component.styles.CRO4Odto.js";
6
6
  import { c as q } from "../chunks/custom-element.L4WJXn1j.js";
@@ -3,9 +3,9 @@ import "../chunks/input.BcyLZUmv.js";
3
3
  import "./line-clamp.js";
4
4
  import "./select.js";
5
5
  import "./tag.js";
6
- import "../chunks/tree.BDAj1Xs2.js";
6
+ import "../chunks/tree.C2dPd6gt.js";
7
7
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
8
- import { C as h } from "../chunks/folder-select.TPHiDGrX.js";
8
+ import { C as h } from "../chunks/folder-select.BKAuh4GE.js";
9
9
  import "../chunks/component.styles.CRO4Odto.js";
10
10
  import "../chunks/custom-element.L4WJXn1j.js";
11
11
  import "../chunks/i18n.Bchq8v1d.js";
@@ -5,7 +5,7 @@ import { C as u } from "../chunks/confirm-popover.BFBhjDQ9.js";
5
5
  import { default as d } from "./corner-position-input-group.js";
6
6
  import { default as l } from "./cropper.js";
7
7
  import { default as i } from "./dynamic-select.js";
8
- import { C as c } from "../chunks/folder-select.TPHiDGrX.js";
8
+ import { C as c } from "../chunks/folder-select.BKAuh4GE.js";
9
9
  import { default as P } from "./masonry.js";
10
10
  import { default as I } from "./padding-input-group.js";
11
11
  import { default as y } from "./position-picker.js";
@@ -1,4 +1,4 @@
1
- import { C as a } from "../chunks/asset-link-format.Bctc22QM.js";
1
+ import { C as a } from "../chunks/asset-link-format.DzYh0_YS.js";
2
2
  import { C as t } from "../chunks/color-swatch-group.BX90sRwa.js";
3
3
  import { default as C } from "./file-on-demand.js";
4
4
  export {
@@ -16,7 +16,7 @@ import "../chunks/checkbox.3i2j3PHc.js";
16
16
  import "../chunks/icon.mxNZ85k0.js";
17
17
  import "./line-clamp.js";
18
18
  import "./spinner.js";
19
- import { C as k } from "../chunks/tree.BDAj1Xs2.js";
19
+ import { C as k } from "../chunks/tree.C2dPd6gt.js";
20
20
  export {
21
21
  k as default
22
22
  };
@@ -4,13 +4,14 @@ import "../chunks/custom-element.L4WJXn1j.js";
4
4
  import "../chunks/i18n.Bchq8v1d.js";
5
5
  import "../chunks/math.DuKzLacZ.js";
6
6
  import "../chunks/watch.DOt4Mabe.js";
7
- import { a as y, b, s as f, c as x } from "../chunks/tree.BDAj1Xs2.js";
7
+ import { a as b, b as f, s as x, c as d } from "../chunks/tree.C2dPd6gt.js";
8
8
  import "../chunks/lit-element.jLBm65_O.js";
9
9
  import "../chunks/state.CSDxrqLd.js";
10
10
  import "../chunks/query.BBf1UFkC.js";
11
+ import "../chunks/v4.CKZ6klMF.js";
11
12
  export {
12
- y as default,
13
- b as syncAncestors,
14
- f as syncCheckboxes,
15
- x as syncParentItem
13
+ b as default,
14
+ f as syncAncestors,
15
+ x as syncCheckboxes,
16
+ d as syncParentItem
16
17
  };