@orangelogic/design-system 2.44.0 → 2.45.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 (27) hide show
  1. package/library/chunks/{color-swatch-group.DrpRd8Xw.js → color-swatch-group.CMz7zQdk.js} +1 -1
  2. package/library/chunks/{file-on-demand.ZcYwCR_s.js → file-on-demand.CODE3g50.js} +1 -1
  3. package/library/chunks/{list-editor.B_BRQoUp.js → list-editor.BZMql0Tj.js} +1 -1
  4. package/library/chunks/ref.BDmlFGTP.js +99 -0
  5. package/library/chunks/{tab-group.g2uXM2W8.js → tab-group.uF5JbAGa.js} +1 -1
  6. package/library/chunks/{table.Be9berv0.js → table.D6Abk0xC.js} +1 -1
  7. package/library/components/atoms.js +3 -3
  8. package/library/components/color-swatch-group.js +2 -2
  9. package/library/components/file-on-demand.js +2 -2
  10. package/library/components/list-editor.js +2 -2
  11. package/library/components/menu-item.js +678 -13
  12. package/library/components/menu.js +1 -1
  13. package/library/components/molecules.js +1 -1
  14. package/library/components/organisms.js +2 -2
  15. package/library/components/range.js +535 -396
  16. package/library/components/tab-group.js +2 -2
  17. package/library/components/table.js +1 -1
  18. package/library/components/types.js +204 -189
  19. package/library/package.json +1 -1
  20. package/library/packages/atoms/src/components/range/mark-controller.d.ts +34 -0
  21. package/library/packages/atoms/src/components/range/range.d.ts +6 -8
  22. package/library/packages/atoms/src/components/range/range.utils.d.ts +58 -1
  23. package/library/packages/organisms/src/downloader/downloader.d.ts +1 -0
  24. package/library/packages/tools/src/fetch-image/fetch-image.d.ts +6 -1
  25. package/library/react-web-component.d.ts +4 -0
  26. package/package.json +1 -1
  27. package/library/chunks/menu-item.DOFCmq0Z.js +0 -775
@@ -1,5 +1,5 @@
1
1
  import _ from "../components/space.js";
2
- import { C as z } from "./table.Be9berv0.js";
2
+ import { C as z } from "./table.D6Abk0xC.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.DkZKPbUq.js";
@@ -25,7 +25,7 @@ import Mt from "../components/relative-time.js";
25
25
  import { C as Bt } from "./select.Bo8mWJ1g.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.g2uXM2W8.js";
28
+ import { C as Wt } from "./tab-group.uF5JbAGa.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";
@@ -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.Be9berv0.js";
10
+ import { C as T, H as P } from "./table.D6Abk0xC.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";
@@ -0,0 +1,99 @@
1
+ import { E as l } from "./custom-element.fmLrnDZr.js";
2
+ import { f as $ } from "./directive-helpers.D78ZFDYN.js";
3
+ import { i as f, t as a, e as _ } from "./directive.oAbCiebi.js";
4
+ /**
5
+ * @license
6
+ * Copyright 2017 Google LLC
7
+ * SPDX-License-Identifier: BSD-3-Clause
8
+ */
9
+ const h = (t, s) => {
10
+ const e = t._$AN;
11
+ if (e === void 0) return !1;
12
+ for (const i of e) i._$AO?.(s, !1), h(i, s);
13
+ return !0;
14
+ }, n = (t) => {
15
+ let s, e;
16
+ do {
17
+ if ((s = t._$AM) === void 0) break;
18
+ e = s._$AN, e.delete(t), t = s;
19
+ } while (e?.size === 0);
20
+ }, d = (t) => {
21
+ for (let s; s = t._$AM; t = s) {
22
+ let e = s._$AN;
23
+ if (e === void 0) s._$AN = e = /* @__PURE__ */ new Set();
24
+ else if (e.has(t)) break;
25
+ e.add(t), v(s);
26
+ }
27
+ };
28
+ function A(t) {
29
+ this._$AN !== void 0 ? (n(this), this._$AM = t, d(this)) : this._$AM = t;
30
+ }
31
+ function u(t, s = !1, e = 0) {
32
+ const i = this._$AH, c = this._$AN;
33
+ if (c !== void 0 && c.size !== 0) if (s) if (Array.isArray(i)) for (let o = e; o < i.length; o++) h(i[o], !1), n(i[o]);
34
+ else i != null && (h(i, !1), n(i));
35
+ else h(this, t);
36
+ }
37
+ const v = (t) => {
38
+ t.type == a.CHILD && (t._$AP ??= u, t._$AQ ??= A);
39
+ };
40
+ class p extends f {
41
+ constructor() {
42
+ super(...arguments), this._$AN = void 0;
43
+ }
44
+ _$AT(s, e, i) {
45
+ super._$AT(s, e, i), d(this), this.isConnected = s._$AU;
46
+ }
47
+ _$AO(s, e = !0) {
48
+ s !== this.isConnected && (this.isConnected = s, s ? this.reconnected?.() : this.disconnected?.()), e && (h(this, s), n(this));
49
+ }
50
+ setValue(s) {
51
+ if ($(this._$Ct)) this._$Ct._$AI(s, this);
52
+ else {
53
+ const e = [...this._$Ct._$AH];
54
+ e[this._$Ci] = s, this._$Ct._$AI(e, this, 0);
55
+ }
56
+ }
57
+ disconnected() {
58
+ }
59
+ reconnected() {
60
+ }
61
+ }
62
+ /**
63
+ * @license
64
+ * Copyright 2020 Google LLC
65
+ * SPDX-License-Identifier: BSD-3-Clause
66
+ */
67
+ const N = () => new G();
68
+ class G {
69
+ }
70
+ const r = /* @__PURE__ */ new WeakMap(), M = _(class extends p {
71
+ render(t) {
72
+ return l;
73
+ }
74
+ update(t, [s]) {
75
+ const e = s !== this.G;
76
+ return e && this.G !== void 0 && this.rt(void 0), (e || this.lt !== this.ct) && (this.G = s, this.ht = t.options?.host, this.rt(this.ct = t.element)), l;
77
+ }
78
+ rt(t) {
79
+ if (this.isConnected || (t = void 0), typeof this.G == "function") {
80
+ const s = this.ht ?? globalThis;
81
+ let e = r.get(s);
82
+ e === void 0 && (e = /* @__PURE__ */ new WeakMap(), r.set(s, e)), e.get(this.G) !== void 0 && this.G.call(this.ht, void 0), e.set(this.G, t), t !== void 0 && this.G.call(this.ht, t);
83
+ } else this.G.value = t;
84
+ }
85
+ get lt() {
86
+ return typeof this.G == "function" ? r.get(this.ht ?? globalThis)?.get(this.G) : this.G?.value;
87
+ }
88
+ disconnected() {
89
+ this.lt === this.ct && this.rt(void 0);
90
+ }
91
+ reconnected() {
92
+ this.rt(this.ct);
93
+ }
94
+ });
95
+ export {
96
+ N as e,
97
+ p as f,
98
+ M as n
99
+ };
@@ -18,7 +18,7 @@ import { C as Hn } from "./button.DrU92LJQ.js";
18
18
  import Yn from "../components/dropdown.js";
19
19
  import Xn from "../components/icon-button.js";
20
20
  import qn from "../components/menu.js";
21
- import { C as Gn } from "./menu-item.DOFCmq0Z.js";
21
+ import Gn from "../components/menu-item.js";
22
22
  import Kn from "../components/tab.js";
23
23
  var bi = /* @__PURE__ */ ((o) => (o.Bottom = "bottom", o.End = "end", o.Start = "start", o.Top = "top", o))(bi || {}), Ge = /* @__PURE__ */ ((o) => (o.Center = "center", o.End = "flex-end", o.Start = "flex-start", o))(Ge || {}), wr = /* @__PURE__ */ ((o) => (o.Auto = "auto", o.Manual = "manual", o))(wr || {}), Ke = /* @__PURE__ */ ((o) => (o.Button = "button", o.Default = "default", o.Timeline = "timeline", o))(Ke || {}), yt = /* @__PURE__ */ ((o) => (o.Dropdown = "dropdown", o.Pagination = "pagination", o.Scroll = "scroll", o))(yt || {}), Vt = /* @__PURE__ */ ((o) => (o.Absolute = "absolute", o.DisplayNone = "display-none", o))(Vt || {});
24
24
  function Dt(o) {
@@ -22,7 +22,7 @@ import { c as Qe } from "./repeat.B1pVpmRx.js";
22
22
  import { o as et } from "./style-map.lEJHEwk3.js";
23
23
  import ts from "../components/dropdown.js";
24
24
  import is from "../components/menu.js";
25
- import { C as ss } from "./menu-item.DOFCmq0Z.js";
25
+ import ss from "../components/menu-item.js";
26
26
  import xs from "../components/menu-section.js";
27
27
  import Rs from "../components/input.js";
28
28
  import { C as Ts } from "./typography.trna8y2b.js";
@@ -37,7 +37,7 @@ import { default as Se } from "./input-group.js";
37
37
  import { default as Ae } from "./line-clamp.js";
38
38
  import { default as Pe } from "./markdown.js";
39
39
  import { default as Ge } from "./menu.js";
40
- import { C as ve } from "../chunks/menu-item.DOFCmq0Z.js";
40
+ import { default as ve } from "./menu-item.js";
41
41
  import { default as ke } from "./menu-label.js";
42
42
  import { default as he } from "./menu-section.js";
43
43
  import { default as He } from "./mutation-observer.js";
@@ -64,8 +64,8 @@ import { default as Ro } from "./step.js";
64
64
  import { default as Do } from "./stepper.js";
65
65
  import { default as yo } from "./switch.js";
66
66
  import { default as Mo } from "./tab.js";
67
- import { C as Oo } from "../chunks/tab-group.g2uXM2W8.js";
68
- import { C as wo } from "../chunks/table.Be9berv0.js";
67
+ import { C as Oo } from "../chunks/tab-group.uF5JbAGa.js";
68
+ import { C as wo } from "../chunks/table.D6Abk0xC.js";
69
69
  import { default as Fo } from "./tab-panel.js";
70
70
  import { default as No } from "./tag.js";
71
71
  import { default as Eo } from "./textarea.js";
@@ -1,10 +1,10 @@
1
1
  import "./space.js";
2
- import "../chunks/table.Be9berv0.js";
2
+ import "../chunks/table.D6Abk0xC.js";
3
3
  import "../chunks/typography.trna8y2b.js";
4
4
  import "../chunks/custom-element.fmLrnDZr.js";
5
5
  import "../chunks/color-swatch.DkZKPbUq.js";
6
6
  import "../chunks/component.styles.DtouHn2g.js";
7
- import { C as n } from "../chunks/color-swatch-group.DrpRd8Xw.js";
7
+ import { C as n } from "../chunks/color-swatch-group.CMz7zQdk.js";
8
8
  import "../chunks/content-builder.UlVFSATk.js";
9
9
  import "../chunks/popup.CJrePm7n.js";
10
10
  import "../chunks/i18n.D33BKrRs.js";
@@ -1,4 +1,4 @@
1
- import { C as J } from "../chunks/file-on-demand.ZcYwCR_s.js";
1
+ import { C as J } from "../chunks/file-on-demand.CODE3g50.js";
2
2
  import "./avatar.js";
3
3
  import "../chunks/button.DrU92LJQ.js";
4
4
  import "../chunks/dialog.rme_OwWe.js";
@@ -14,7 +14,7 @@ import "./relative-time.js";
14
14
  import "../chunks/select.Bo8mWJ1g.js";
15
15
  import "./space.js";
16
16
  import "./tab.js";
17
- import "../chunks/tab-group.g2uXM2W8.js";
17
+ import "../chunks/tab-group.uF5JbAGa.js";
18
18
  import "./tab-panel.js";
19
19
  import "./tooltip.js";
20
20
  import "../chunks/tree.DynOxJWg.js";
@@ -7,7 +7,7 @@ import "./line-clamp.js";
7
7
  import "./radio.js";
8
8
  import "./radio-group.js";
9
9
  import "./space.js";
10
- import "../chunks/table.Be9berv0.js";
10
+ import "../chunks/table.D6Abk0xC.js";
11
11
  import "../chunks/typography.trna8y2b.js";
12
12
  import "../chunks/custom-element.fmLrnDZr.js";
13
13
  import "../chunks/component.styles.DtouHn2g.js";
@@ -20,7 +20,7 @@ import "../chunks/choose.BTbF6BAn.js";
20
20
  import "../chunks/class-map.DqNfBvJI.js";
21
21
  import "../chunks/repeat.B1pVpmRx.js";
22
22
  import "../chunks/when.Dr1es41R.js";
23
- import { c as v, C as w } from "../chunks/list-editor.B_BRQoUp.js";
23
+ import { c as v, C as w } from "../chunks/list-editor.BZMql0Tj.js";
24
24
  export {
25
25
  v as columnDefaults,
26
26
  w as default