@orangelogic/design-system 2.32.0 → 2.33.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.
- package/library/chunks/{button.Dowmjd3u.js → button.DrU92LJQ.js} +1 -1
- package/library/chunks/{color-swatch-group.CrDkThKL.js → color-swatch-group.CC1EASIg.js} +1 -1
- package/library/chunks/{confirm-popover.DU9ujnFM.js → confirm-popover.zTpVvSiL.js} +1 -1
- package/library/chunks/{dom.DcrKFR2q.js → dom.DDszM5Cy.js} +26 -21
- package/library/chunks/{file-on-demand.DI32CX8v.js → file-on-demand.JybCAzD6.js} +4 -4
- package/library/chunks/{folder-select.HuUtAZqW.js → folder-select.DNE0mrHr.js} +2 -2
- package/library/chunks/{form.BFLbw9Rz.js → form.BY8-x3IU.js} +1 -1
- package/library/chunks/{list-editor.C6Q-MoNI.js → list-editor.DUk-DnGy.js} +2 -2
- package/library/chunks/{select.CB4XKvuY.js → select.BYVsaIIH.js} +1 -1
- package/library/chunks/{tab-group.Csbpg3Hy.js → tab-group.DyzM7DYO.js} +182 -169
- package/library/chunks/{table.Dgp1K45Z.js → table.gTz8KEoo.js} +2 -2
- package/library/components/asset-link-format.js +2 -2
- package/library/components/atoms.js +4 -4
- package/library/components/button.js +2 -2
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +2 -2
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/confirm-popover.js +2 -2
- package/library/components/corner-position-input-group.js +1 -1
- package/library/components/dynamic-select.js +2 -2
- package/library/components/element-clamp.js +1 -1
- package/library/components/file-on-demand.js +5 -5
- package/library/components/folder-select.js +2 -2
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +3 -3
- package/library/components/molecules.js +3 -3
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +2 -2
- package/library/components/radio-group.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/share-option-list.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +4 -3
- package/library/components/tab.js +12 -10
- package/library/components/table.js +1 -1
- package/library/components/textarea.js +1 -1
- package/library/components/types.js +16 -16
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +8 -2
- package/library/packages/utils/src/dom/dom.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as o, C as v, c as g } from "./custom-element.fmLrnDZr.js";
|
|
2
2
|
import { c as C } from "./component.styles.DtouHn2g.js";
|
|
3
|
-
import { F as x, v as w } from "./form.
|
|
3
|
+
import { F as x, v as w } from "./form.BY8-x3IU.js";
|
|
4
4
|
import { L as $ } from "./i18n.D33BKrRs.js";
|
|
5
5
|
import { H as S, g as B } from "./slot.DJLm4Dig.js";
|
|
6
6
|
import { w as m } from "./watch.BCJD77bD.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _ from "../components/space.js";
|
|
2
|
-
import { C as z } from "./table.
|
|
2
|
+
import { C as z } from "./table.gTz8KEoo.js";
|
|
3
3
|
import { C as $ } from "./typography.trna8y2b.js";
|
|
4
4
|
import { x as h, B as F, i as k, n as p, C as A, c as S } from "./custom-element.fmLrnDZr.js";
|
|
5
5
|
import { C as v, a as m } from "./color-swatch.heuk-R8S.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as d } from "./custom-element.fmLrnDZr.js";
|
|
2
|
-
const
|
|
2
|
+
const m = (e) => e.nodeType === Node.ELEMENT_NODE, p = (e, n) => {
|
|
3
3
|
if (!e)
|
|
4
4
|
return !1;
|
|
5
5
|
let t = e;
|
|
@@ -12,39 +12,39 @@ const p = (e) => e.nodeType === Node.ELEMENT_NODE, m = (e, n) => {
|
|
|
12
12
|
}, l = (e = document) => {
|
|
13
13
|
const n = e.activeElement;
|
|
14
14
|
return n ? n.shadowRoot ? l(n.shadowRoot) : n : null;
|
|
15
|
-
},
|
|
16
|
-
const
|
|
17
|
-
if (!
|
|
15
|
+
}, g = (e, n = document.body, t = "width") => {
|
|
16
|
+
const i = e?.trim();
|
|
17
|
+
if (!i)
|
|
18
18
|
return 0;
|
|
19
|
-
const o =
|
|
19
|
+
const o = i.split(/\s+/)[0];
|
|
20
20
|
if (o.endsWith("px"))
|
|
21
21
|
return parseFloat(o);
|
|
22
|
-
const
|
|
23
|
-
r.style[t] =
|
|
22
|
+
const s = o.startsWith("-"), r = document.createElement("div");
|
|
23
|
+
r.style[t] = s ? o.substring(1) : o, r.style.position = "absolute", r.style.visibility = "hidden", n.appendChild(r);
|
|
24
24
|
const c = r.getBoundingClientRect(), a = t === "width" ? c.width : c.height;
|
|
25
|
-
return n.removeChild(r),
|
|
26
|
-
},
|
|
25
|
+
return n.removeChild(r), s ? -a : a;
|
|
26
|
+
}, h = (e, n) => {
|
|
27
27
|
const t = n.getBoundingClientRect(), o = (e.clientX - t.left) / t.width * 100;
|
|
28
28
|
return Math.max(0, Math.min(100, o));
|
|
29
|
-
},
|
|
30
|
-
const o = document,
|
|
29
|
+
}, f = (e, n) => new Promise((t, i) => {
|
|
30
|
+
const o = document, s = o.querySelector(
|
|
31
31
|
`script[src="${e}"]`
|
|
32
32
|
);
|
|
33
|
-
if (
|
|
34
|
-
if (
|
|
33
|
+
if (s) {
|
|
34
|
+
if (s.getAttribute("data-loaded") === "true")
|
|
35
35
|
return t();
|
|
36
|
-
|
|
36
|
+
s.addEventListener("load", () => t()), s.addEventListener("error", (c) => i(c));
|
|
37
37
|
return;
|
|
38
38
|
}
|
|
39
39
|
const r = o.createElement("script");
|
|
40
40
|
r.src = e, r.async = !0, r.onload = () => {
|
|
41
41
|
r.setAttribute("data-loaded", "true"), t();
|
|
42
|
-
}, r.onerror = () =>
|
|
42
|
+
}, r.onerror = () => i(new Error(`Failed to load ${e}`)), o.head.appendChild(r);
|
|
43
43
|
});
|
|
44
44
|
function E(e) {
|
|
45
45
|
return [...e].sort((n, t) => {
|
|
46
|
-
const
|
|
47
|
-
return
|
|
46
|
+
const i = n.getBoundingClientRect().top, o = t.getBoundingClientRect().top;
|
|
47
|
+
return i - o;
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
function w() {
|
|
@@ -54,14 +54,19 @@ function C(e) {
|
|
|
54
54
|
const n = document.createElement("template");
|
|
55
55
|
return d(e, n.content), n.content.firstElementChild;
|
|
56
56
|
}
|
|
57
|
+
function R(e, n, t = 0) {
|
|
58
|
+
const i = e.getBoundingClientRect(), o = n.getBoundingClientRect();
|
|
59
|
+
return Math.round(o.left) >= Math.round(i.left) - t && Math.round(o.right) <= Math.round(i.right) + t;
|
|
60
|
+
}
|
|
57
61
|
export {
|
|
58
|
-
|
|
62
|
+
h as a,
|
|
59
63
|
w as b,
|
|
60
|
-
|
|
64
|
+
g as c,
|
|
61
65
|
l as d,
|
|
62
66
|
p as e,
|
|
67
|
+
m as f,
|
|
63
68
|
C as g,
|
|
64
|
-
|
|
65
|
-
|
|
69
|
+
R as i,
|
|
70
|
+
f as l,
|
|
66
71
|
E as s
|
|
67
72
|
};
|
|
@@ -13,7 +13,7 @@ import { c as F } from "./repeat.B1pVpmRx.js";
|
|
|
13
13
|
import { n as g } from "./when.Dr1es41R.js";
|
|
14
14
|
import { a as zt, i as _t, c as Et, b as tt } from "./_baseUniq.BUihBa8c.js";
|
|
15
15
|
import Lt from "../components/avatar.js";
|
|
16
|
-
import { C as Rt } from "./button.
|
|
16
|
+
import { C as Rt } from "./button.DrU92LJQ.js";
|
|
17
17
|
import { C as Pt } from "./dialog.C_sl1iWk.js";
|
|
18
18
|
import Ft from "../components/divider.js";
|
|
19
19
|
import Ut from "../components/format-bytes.js";
|
|
@@ -22,14 +22,14 @@ import Ot from "../components/input.js";
|
|
|
22
22
|
import { C as Nt } from "./option.C4nNbxye.js";
|
|
23
23
|
import jt from "../components/progress-bar.js";
|
|
24
24
|
import Mt from "../components/relative-time.js";
|
|
25
|
-
import { C as Bt } from "./select.
|
|
25
|
+
import { C as Bt } from "./select.BYVsaIIH.js";
|
|
26
26
|
import Vt from "../components/space.js";
|
|
27
27
|
import Ht from "../components/tab.js";
|
|
28
|
-
import { C as Wt } from "./tab-group.
|
|
28
|
+
import { C as Wt } from "./tab-group.DyzM7DYO.js";
|
|
29
29
|
import Gt from "../components/tab-panel.js";
|
|
30
30
|
import qt from "../components/tooltip.js";
|
|
31
31
|
import { C as Yt } from "./typography.trna8y2b.js";
|
|
32
|
-
import { C as Kt } from "./confirm-popover.
|
|
32
|
+
import { C as Kt } from "./confirm-popover.zTpVvSiL.js";
|
|
33
33
|
import { d as Zt } from "./popup.DqEku5jL.js";
|
|
34
34
|
import { a as H } from "./number.eX2EGPvy.js";
|
|
35
35
|
import { o as Xt } from "./style-map.lEJHEwk3.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import G from "../components/icon.js";
|
|
2
2
|
import Z from "../components/input.js";
|
|
3
|
-
import { C as J } from "./select.
|
|
3
|
+
import { C as J } from "./select.BYVsaIIH.js";
|
|
4
4
|
import { C as x, a as K } from "./tree.BcFl8OPo.js";
|
|
5
5
|
import { n as r, C as I, x as f, c as w, i as X } from "./custom-element.fmLrnDZr.js";
|
|
6
6
|
import { h as k, F as Y, b as A } from "./endpoints.B7lcoc1N.js";
|
|
@@ -10,7 +10,7 @@ import { w as m } from "./watch.BCJD77bD.js";
|
|
|
10
10
|
import { r as y } from "./state.Dt9F_SuS.js";
|
|
11
11
|
import { e as B } from "./query.BBf1UFkC.js";
|
|
12
12
|
import { r as ee } from "./choose.BTbF6BAn.js";
|
|
13
|
-
import { C as q } from "./button.
|
|
13
|
+
import { C as q } from "./button.DrU92LJQ.js";
|
|
14
14
|
import { d as te } from "./popup.DqEku5jL.js";
|
|
15
15
|
import { o as S } from "./if-defined.CKupVaWs.js";
|
|
16
16
|
import { c as W } from "./repeat.B1pVpmRx.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as m } from "./dom.
|
|
1
|
+
import { s as m } from "./dom.DDszM5Cy.js";
|
|
2
2
|
const n = /* @__PURE__ */ new WeakMap(), h = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakSet(), f = /* @__PURE__ */ new WeakMap();
|
|
3
3
|
class v {
|
|
4
4
|
constructor(e, s) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as _ } from "./button.
|
|
1
|
+
import { C as _ } from "./button.DrU92LJQ.js";
|
|
2
2
|
import { C as z } from "./dialog.C_sl1iWk.js";
|
|
3
3
|
import M from "../components/grid.js";
|
|
4
4
|
import q from "../components/grid-item.js";
|
|
@@ -7,7 +7,7 @@ import R from "../components/line-clamp.js";
|
|
|
7
7
|
import O from "../components/radio.js";
|
|
8
8
|
import k from "../components/radio-group.js";
|
|
9
9
|
import C from "../components/space.js";
|
|
10
|
-
import { C as T, H as P } from "./table.
|
|
10
|
+
import { C as T, H as P } from "./table.gTz8KEoo.js";
|
|
11
11
|
import { C as I } from "./typography.trna8y2b.js";
|
|
12
12
|
import { i as A, n, C as w, x as l, c as E } from "./custom-element.fmLrnDZr.js";
|
|
13
13
|
import { c as D } from "./component.styles.DtouHn2g.js";
|
|
@@ -6,7 +6,7 @@ import { f as L } from "./form-control.styles.j0hNjZTU.js";
|
|
|
6
6
|
import { s as w, a as x, g as y, b as v } from "./animation-registry.DavRkTTr.js";
|
|
7
7
|
import { d as $ } from "./default-value.BrNrMtnz.js";
|
|
8
8
|
import { w as _ } from "./event.mFzZi4sr.js";
|
|
9
|
-
import { F as E } from "./form.
|
|
9
|
+
import { F as E } from "./form.BY8-x3IU.js";
|
|
10
10
|
import { L as T } from "./i18n.D33BKrRs.js";
|
|
11
11
|
import { s as A } from "./scroll.DwPiX2Ox.js";
|
|
12
12
|
import { H as B } from "./slot.DJLm4Dig.js";
|