@orangelogic/design-system 2.95.0 → 2.96.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.
@@ -1,5 +1,5 @@
1
1
  import z from "../components/space.js";
2
- import { C as $ } from "./table.CYxWpvAC.js";
2
+ import { C as $ } from "./table.Cr0s-nqe.js";
3
3
  import { C as k } from "./typography.DJC_UXgs.js";
4
4
  import { n as h, C as F } from "./lib-cortex-element.CVMmyPMC.js";
5
5
  import { C, a as g } from "./color-swatch.CbL_TpRZ.js";
@@ -9,7 +9,7 @@ import B from "../components/radio.js";
9
9
  import K from "../components/radio-group.js";
10
10
  import U from "../components/select.js";
11
11
  import E from "../components/space.js";
12
- import { C as H, H as V } from "./table.CYxWpvAC.js";
12
+ import { C as H, H as V } from "./table.Cr0s-nqe.js";
13
13
  import { C as L } from "./typography.DJC_UXgs.js";
14
14
  import { n as o, C as T } from "./lib-cortex-element.CVMmyPMC.js";
15
15
  import W from "../components/dynamic-select.js";
@@ -17313,6 +17313,7 @@ let w = class extends Ie {
17313
17313
  }
17314
17314
  }
17315
17315
  async initTable() {
17316
+ this.tabulatorInstance && (this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.destroy());
17316
17317
  let n = this.rowHeader;
17317
17318
  n == null && (this.movableRows ? n = nh : this.responsiveLayout === "collapse" && (n = {
17318
17319
  formatter: "responsiveCollapse"
@@ -17481,7 +17482,7 @@ let w = class extends Ie {
17481
17482
  });
17482
17483
  }
17483
17484
  handleLayoutChange() {
17484
- this.tabulatorInstance && (this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.destroy(), this.initTable());
17485
+ this.tabulatorInstance && this.initTable();
17485
17486
  }
17486
17487
  handleDataChange() {
17487
17488
  this.tabulatorInstance?.rowManager?.renderer && this.tabulatorInstance.setData(this.data ?? []);
@@ -70,7 +70,7 @@ import { default as ka } from "./stepper.js";
70
70
  import { default as Ea } from "./switch.js";
71
71
  import { default as La } from "./tab.js";
72
72
  import { C as ja } from "../chunks/tab-group.BLZ-qEpp.js";
73
- import { C as za } from "../chunks/table.CYxWpvAC.js";
73
+ import { C as za } from "../chunks/table.Cr0s-nqe.js";
74
74
  import { default as qa } from "./tab-panel.js";
75
75
  import { default as Ka } from "./tag.js";
76
76
  import { default as Wa } from "./textarea.js";
@@ -1,10 +1,10 @@
1
1
  import "./space.js";
2
- import "../chunks/table.CYxWpvAC.js";
2
+ import "../chunks/table.Cr0s-nqe.js";
3
3
  import "../chunks/typography.DJC_UXgs.js";
4
4
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
5
5
  import "../chunks/color-swatch.CbL_TpRZ.js";
6
6
  import "../chunks/component.styles.CRO4Odto.js";
7
- import { C as w } from "../chunks/color-swatch-group.Q8ybVS0A.js";
7
+ import { C as w } from "../chunks/color-swatch-group.CKHEL4hJ.js";
8
8
  import "../chunks/toast.Bc4wpYJ1.js";
9
9
  import "../chunks/custom-element.L4WJXn1j.js";
10
10
  import "../chunks/debounce.DaHuiSGU.js";
@@ -9,7 +9,7 @@ import "./radio.js";
9
9
  import "./radio-group.js";
10
10
  import "./select.js";
11
11
  import "./space.js";
12
- import "../chunks/table.CYxWpvAC.js";
12
+ import "../chunks/table.Cr0s-nqe.js";
13
13
  import "../chunks/typography.DJC_UXgs.js";
14
14
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
15
15
  import "./dynamic-select.js";
@@ -18,7 +18,7 @@ import "../chunks/custom-element.L4WJXn1j.js";
18
18
  import "../chunks/debounce.DaHuiSGU.js";
19
19
  import "../chunks/i18n.W6czbRms.js";
20
20
  import "../chunks/watch.BCJD77bD.js";
21
- import { c as E, C as F } from "../chunks/list-editor.BnHKqD0O.js";
21
+ import { c as E, C as F } from "../chunks/list-editor.De7nc_Wd.js";
22
22
  import "../chunks/lit-element.jLBm65_O.js";
23
23
  import "../chunks/state.CSDxrqLd.js";
24
24
  import "../chunks/query.BBf1UFkC.js";
@@ -6,7 +6,7 @@ import { default as u } from "./corner-position-input-group.js";
6
6
  import { C as m } from "../chunks/cropper.uKGcvnPk.js";
7
7
  import { default as i } from "./dynamic-select.js";
8
8
  import { C as c } from "../chunks/folder-select.DxBOSyvo.js";
9
- import { C as P } from "../chunks/list-editor.BnHKqD0O.js";
9
+ import { C as P } from "../chunks/list-editor.De7nc_Wd.js";
10
10
  import { default as I } from "./masonry.js";
11
11
  import { default as y } from "./padding-input-group.js";
12
12
  import { default as w } from "./position-picker.js";
@@ -1,5 +1,5 @@
1
1
  import { default as a } from "./asset-link-format.js";
2
- import { C as t } from "../chunks/color-swatch-group.Q8ybVS0A.js";
2
+ import { C as t } from "../chunks/color-swatch-group.CKHEL4hJ.js";
3
3
  import { C } from "../chunks/file-on-demand.KQlA1JFF.js";
4
4
  export {
5
5
  a as CxAssetLinkFormat,
@@ -9,7 +9,7 @@ import "./spinner.js";
9
9
  import "../chunks/lib-cortex-element.CVMmyPMC.js";
10
10
  import "../chunks/component.styles.CRO4Odto.js";
11
11
  import "../chunks/overlayscrollbars.BMav4RQ4.js";
12
- import { A as z, k as F, l as P, d as S, g, b as y, i as A, m as D, n as I, c as f, a2 as h, a3 as E, D as G, o as H, E as j, p as k, F as K, q as L, r as V, s as q, G as B, t as J, u as N, j as O, v as Q, I as U, w as W, K as X, x as Y, M as Z, y as _, z as $, B as oo, J as eo, L as ao, N as so, O as lo, P as to, e as uo, Q as ro, h as Mo, U as io, V as po, W as mo, X as no, f as Co, R as Ro, Z as co, Y as bo, S as wo, _ as To, $ as vo, T as xo, a as zo, a0 as Fo, a1 as Po, C as So } from "../chunks/table.CYxWpvAC.js";
12
+ import { A as z, k as F, l as P, d as S, g, b as y, i as A, m as D, n as I, c as f, a2 as h, a3 as E, D as G, o as H, E as j, p as k, F as K, q as L, r as V, s as q, G as B, t as J, u as N, j as O, v as Q, I as U, w as W, K as X, x as Y, M as Z, y as _, z as $, B as oo, J as eo, L as ao, N as so, O as lo, P as to, e as uo, Q as ro, h as Mo, U as io, V as po, W as mo, X as no, f as Co, R as Ro, Z as co, Y as bo, S as wo, _ as To, $ as vo, T as xo, a as zo, a0 as Fo, a1 as Po, C as So } from "../chunks/table.Cr0s-nqe.js";
13
13
  import "../chunks/pagination.CG5odPWi.js";
14
14
  import "../chunks/custom-element.L4WJXn1j.js";
15
15
  import "../chunks/i18n.W6czbRms.js";
@@ -50,7 +50,7 @@ let e = class extends m {
50
50
  super.disconnectedCallback(), this.resizeObserver?.disconnect();
51
51
  }
52
52
  updateResizeObserver() {
53
- this.resizeObserver.disconnect(), this.rows === c.Max ? (this.resizeObserver.observe(this), this.resizeObserver.observe(this.formControlRoot)) : this.resizeObserver.observe(this.input);
53
+ this.resizeObserver && (this.resizeObserver.disconnect(), this.rows === c.Max ? (this.resizeObserver.observe(this), this.resizeObserver.observe(this.formControlRoot)) : this.resizeObserver.observe(this.input));
54
54
  }
55
55
  handleBlur() {
56
56
  this.hasFocus = !1, this.emit("cx-blur");
@@ -71,7 +71,7 @@ import { default as mqt } from "./stepper.js";
71
71
  import Gb from "./switch.js";
72
72
  import K2 from "./tab.js";
73
73
  import { C as Y2, T as QA, a as e9, b as t9, g as T7 } from "../chunks/tab-group.BLZ-qEpp.js";
74
- import { C as n9 } from "../chunks/table.CYxWpvAC.js";
74
+ import { C as n9 } from "../chunks/table.Cr0s-nqe.js";
75
75
  import r9 from "./tab-panel.js";
76
76
  import { default as vqt } from "./tag.js";
77
77
  import mR from "./textarea.js";
@@ -112,7 +112,7 @@ import { H as CR } from "../chunks/slot.j5oheLJC.js";
112
112
  import { a as fVt, g as vVt } from "../chunks/slot.j5oheLJC.js";
113
113
  import { c as R7, G as fh, d as Yd, s as B7, T as SR, h as fn, i as TR, j as lY, t as F7, u as dY, f as w1, k as uY, F as Cf, M as qv } from "../chunks/string.DfV21HEI.js";
114
114
  import { b as bVt, a as wVt, e as xVt, g as kVt, p as _Vt, q as CVt, r as SVt, n as TVt, l as EVt, m as AVt, o as OVt } from "../chunks/string.DfV21HEI.js";
115
- import { a as c9, u as op, I as ER, C as pY } from "../chunks/list-editor.BnHKqD0O.js";
115
+ import { a as c9, u as op, I as ER, C as pY } from "../chunks/list-editor.De7nc_Wd.js";
116
116
  import hY from "./bicolor-picker.js";
117
117
  import AR from "./border-input-group.js";
118
118
  import { C as DVt } from "../chunks/color-swatch.CbL_TpRZ.js";
@@ -166,8 +166,8 @@ import { c as gg } from "../chunks/math.DqTA6ya4.js";
166
166
  import { b as J7, e as GY } from "../chunks/number.CCF6IxpN.js";
167
167
  import { a as dWt, c as uWt, d as pWt, f as hWt, g as gWt, r as mWt, s as fWt } from "../chunks/number.CCF6IxpN.js";
168
168
  import { t as zR } from "../chunks/event-options.CYHYGOd8.js";
169
- import { a as Vw } from "../chunks/color-swatch-group.Q8ybVS0A.js";
170
- import { C as yWt } from "../chunks/color-swatch-group.Q8ybVS0A.js";
169
+ import { a as Vw } from "../chunks/color-swatch-group.CKHEL4hJ.js";
170
+ import { C as yWt } from "../chunks/color-swatch-group.CKHEL4hJ.js";
171
171
  import { t as KY } from "../chunks/converters.DkDtLstb.js";
172
172
  import { i as YY } from "../chunks/user-agent.D9aPuOyL.js";
173
173
  import { a as $R, U as m9, t as XY } from "../chunks/url.Cj9cIQXJ.js";
@@ -38890,7 +38890,7 @@ let Tr = class extends Nn {
38890
38890
  return n.event.key === "Escape" && this.commentMention.active && (n.event.stopPropagation(), this.resetMention()), n.event.key === "Tab" && (n.event.preventDefault(), this.commentMention.handleEnter()), this.commentMention?.handleKeyDown(n.event);
38891
38891
  }
38892
38892
  initEditor() {
38893
- this.editor = new T5({
38893
+ this.editor?.destroy(), this.editor = new T5({
38894
38894
  content: this.content,
38895
38895
  editable: this.editable,
38896
38896
  editorProps: {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.95.0",
4
+ "version": "2.96.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.95.0",
4
+ "version": "2.96.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {