@orangelogic/design-system 2.54.0 → 2.55.0-ci.2

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 _ from "../components/space.js";
2
- import { C as z } from "./table.C8gqB3Ym.js";
2
+ import { C as z } from "./table.-ecyjIUr.js";
3
3
  import { C as $ } from "./typography.BFpl0WMA.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.vnXBMQxc.js";
5
5
  import { C as v, a as m } from "./color-swatch.CsKJgvVf.js";
@@ -7,7 +7,7 @@ import T from "../components/line-clamp.js";
7
7
  import R from "../components/radio.js";
8
8
  import O from "../components/radio-group.js";
9
9
  import $ from "../components/space.js";
10
- import { C as P, H as k } from "./table.C8gqB3Ym.js";
10
+ import { C as P, H as k } from "./table.-ecyjIUr.js";
11
11
  import { C as I } from "./typography.BFpl0WMA.js";
12
12
  import { i as A, n, C as w, x as l, c as E } from "./custom-element.vnXBMQxc.js";
13
13
  import { c as D } from "./component.styles.CI-v8BZa.js";
@@ -923,6 +923,7 @@ const Is = Qt`
923
923
  * cell css vars
924
924
  */
925
925
  --cell-border-color: transparent;
926
+ --cell-bottom-border-color: var(--cx-color-neutral-200);
926
927
  --cell-horizontal-padding: var(--cx-spacing-large);
927
928
  --cell-font-size: var(--cx-font-size-small);
928
929
  --cell-font-weight: var(--cx-font-weight-regular);
@@ -1845,7 +1846,7 @@ const Is = Qt`
1845
1846
  box-sizing: border-box;
1846
1847
  padding: var(--cx-spacing-2x-small) var(--cell-horizontal-padding);
1847
1848
  border-right: var(--border-width) solid var(--cell-border-color);
1848
- border-bottom: var(--border-width) solid var(--cell-border-color);
1849
+ border-bottom: var(--border-width) solid var(--cell-bottom-border-color);
1849
1850
  outline: none;
1850
1851
  }
1851
1852
 
@@ -2461,7 +2462,7 @@ const Is = Qt`
2461
2462
  .tabulator-row.tabulator-placeholder-row {
2462
2463
  border-left: var(--border-width) solid var(--cell-border-color);
2463
2464
  border-right: var(--border-width) solid var(--cell-border-color);
2464
- border-bottom: var(--border-width) solid var(--cell-border-color);
2465
+ border-bottom: var(--border-width) solid var(--cell-bottom-border-color);
2465
2466
  padding: var(--cx-spacing-2x-small) var(--cell-horizontal-padding);
2466
2467
  }
2467
2468
  `, Ws = {
@@ -1,22 +1,24 @@
1
- import { C as l, T as d } from "./typography.BFpl0WMA.js";
2
- import { i as y, n as s, C as f, E as g, x as u, c as x } from "./custom-element.vnXBMQxc.js";
3
- import { c as v } from "./component.styles.CI-v8BZa.js";
1
+ import { C as l, T as y } from "./typography.BFpl0WMA.js";
2
+ import { i as f, n as m, C as d, E as g, x as u, c as v } from "./custom-element.vnXBMQxc.js";
3
+ import { c as x } from "./component.styles.CI-v8BZa.js";
4
4
  import { T as b, f as c } from "./string.D6poLUEC.js";
5
5
  import { w as h } from "./watch.BCJD77bD.js";
6
6
  import { r as S } from "./state.Cw55xXlb.js";
7
7
  const C = {
8
- fromAttribute: (r) => r?.split(" ").map((e) => {
8
+ fromAttribute: (i) => i?.split(" ").map((e) => {
9
9
  const o = Number.parseFloat(e);
10
10
  if (!Number.isNaN(o))
11
11
  return o;
12
12
  }).filter((e) => e !== void 0) ?? [],
13
- toAttribute: (r) => Array.isArray(r) ? r.join(" ").trim() : ""
14
- }, T = y`
13
+ toAttribute: (i) => Array.isArray(i) ? i.join(" ").trim() : ""
14
+ }, T = f`
15
15
  :host {
16
16
  display: inline;
17
17
  white-space: normal;
18
+ }
19
+ :host([is-preview]) {
18
20
  background-color: var(--cx-color-primary-50, #e5f1ff);
19
- padding-inline: var(--cx-spacing-2x-small);
21
+ padding-inline: var(--cx-spacing-2x-small, 4px);
20
22
  }
21
23
  .time {
22
24
  --color: var(--cx-color-primary);
@@ -25,14 +27,14 @@ const C = {
25
27
  display: inline;
26
28
  }
27
29
  `;
28
- var R = Object.defineProperty, M = Object.getOwnPropertyDescriptor, a = (r, e, o, m) => {
29
- for (var i = m > 1 ? void 0 : m ? M(e, o) : e, n = r.length - 1, p; n >= 0; n--)
30
- (p = r[n]) && (i = (m ? p(e, o, i) : p(i)) || i);
31
- return m && i && R(e, o, i), i;
30
+ var w = Object.defineProperty, R = Object.getOwnPropertyDescriptor, r = (i, e, o, s) => {
31
+ for (var a = s > 1 ? void 0 : s ? R(e, o) : e, n = i.length - 1, p; n >= 0; n--)
32
+ (p = i[n]) && (a = (s ? p(e, o, a) : p(a)) || a);
33
+ return s && a && w(e, o, a), a;
32
34
  };
33
- let t = class extends f {
35
+ let t = class extends d {
34
36
  constructor() {
35
- super(...arguments), this.time = [], this.timecodeMode = b.Standard, this.frameRate = 24, this.typographyVariant = d.Small, this.timeString = "";
37
+ super(...arguments), this.time = [], this.timecodeMode = b.Standard, this.frameRate = 24, this.isPreview = !1, this.typographyVariant = y.Small, this.timeString = "";
36
38
  }
37
39
  handleTimeChange() {
38
40
  if (!this.time?.length) {
@@ -62,37 +64,40 @@ let t = class extends f {
62
64
  ` : g;
63
65
  }
64
66
  };
65
- t.styles = [v, T];
67
+ t.styles = [x, T];
66
68
  t.dependencies = {
67
69
  "cx-typography": l
68
70
  };
69
- a([
70
- s({
71
+ r([
72
+ m({
71
73
  attribute: "time",
72
74
  converter: C,
73
75
  reflect: !0,
74
76
  type: String
75
77
  })
76
78
  ], t.prototype, "time", 2);
77
- a([
78
- s({ attribute: "timecode-mode", reflect: !0, type: String })
79
+ r([
80
+ m({ attribute: "timecode-mode", reflect: !0, type: String })
79
81
  ], t.prototype, "timecodeMode", 2);
80
- a([
81
- s({ attribute: "frame-rate", reflect: !0, type: Number })
82
+ r([
83
+ m({ attribute: "frame-rate", reflect: !0, type: Number })
82
84
  ], t.prototype, "frameRate", 2);
83
- a([
84
- s({ attribute: "typography-variant", type: String })
85
+ r([
86
+ m({ attribute: "is-preview", reflect: !0, type: Boolean })
87
+ ], t.prototype, "isPreview", 2);
88
+ r([
89
+ m({ attribute: "typography-variant", type: String })
85
90
  ], t.prototype, "typographyVariant", 2);
86
- a([
91
+ r([
87
92
  S()
88
93
  ], t.prototype, "timeString", 2);
89
- a([
94
+ r([
90
95
  h("time"),
91
96
  h("timecodeMode"),
92
97
  h("frameRate")
93
98
  ], t.prototype, "handleTimeChange", 1);
94
- t = a([
95
- x("cx-timecode")
99
+ t = r([
100
+ v("cx-timecode")
96
101
  ], t);
97
102
  export {
98
103
  t as C,
@@ -67,11 +67,11 @@ import { default as Mo } from "./stepper.js";
67
67
  import { default as Oo } from "./switch.js";
68
68
  import { default as wo } from "./tab.js";
69
69
  import { C as ho } from "../chunks/tab-group.BWYMMhrE.js";
70
- import { C as No } from "../chunks/table.C8gqB3Ym.js";
70
+ import { C as No } from "../chunks/table.-ecyjIUr.js";
71
71
  import { default as Eo } from "./tab-panel.js";
72
72
  import { default as Vo } from "./tag.js";
73
73
  import { default as Qo } from "./textarea.js";
74
- import { C as Jo } from "../chunks/timecode.D4_FNCCI.js";
74
+ import { C as Jo } from "../chunks/timecode.PY1bymeS.js";
75
75
  import { default as Uo } from "./tooltip.js";
76
76
  import { a as Xo, C as Yo } from "../chunks/tree.82OigIgE.js";
77
77
  import { C as _o } from "../chunks/typography.BFpl0WMA.js";
@@ -1,10 +1,10 @@
1
1
  import "./space.js";
2
- import "../chunks/table.C8gqB3Ym.js";
2
+ import "../chunks/table.-ecyjIUr.js";
3
3
  import "../chunks/typography.BFpl0WMA.js";
4
4
  import "../chunks/custom-element.vnXBMQxc.js";
5
5
  import "../chunks/color-swatch.CsKJgvVf.js";
6
6
  import "../chunks/component.styles.CI-v8BZa.js";
7
- import { C as n } from "../chunks/color-swatch-group.CG_PUG1X.js";
7
+ import { C as n } from "../chunks/color-swatch-group.Bsa_Z57a.js";
8
8
  import "../chunks/content-builder.UlVFSATk.js";
9
9
  import "../chunks/popup.Ba501Rgg.js";
10
10
  import "../chunks/i18n.C3Z8Xe8q.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.C8gqB3Ym.js";
10
+ import "../chunks/table.-ecyjIUr.js";
11
11
  import "../chunks/typography.BFpl0WMA.js";
12
12
  import "../chunks/custom-element.vnXBMQxc.js";
13
13
  import "../chunks/component.styles.CI-v8BZa.js";
@@ -20,7 +20,7 @@ import "../chunks/choose.BTbF6BAn.js";
20
20
  import "../chunks/class-map.CoZTSvbM.js";
21
21
  import "../chunks/repeat.CauKaXyy.js";
22
22
  import "../chunks/when.Dr1es41R.js";
23
- import { c as v, C as w } from "../chunks/list-editor.qPIn_AFA.js";
23
+ import { c as v, C as w } from "../chunks/list-editor.Ct803qvF.js";
24
24
  export {
25
25
  v as columnDefaults,
26
26
  w as default
@@ -6,7 +6,7 @@ import { default as u } from "./corner-position-input-group.js";
6
6
  import { C as m } from "../chunks/cropper.aA0v16xS.js";
7
7
  import { default as i } from "./dynamic-select.js";
8
8
  import { C as c } from "../chunks/folder-select.ELghy6Qk.js";
9
- import { C as P } from "../chunks/list-editor.qPIn_AFA.js";
9
+ import { C as P } from "../chunks/list-editor.Ct803qvF.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.CG_PUG1X.js";
2
+ import { C as t } from "../chunks/color-swatch-group.Bsa_Z57a.js";
3
3
  import { C } from "../chunks/file-on-demand.Cr7E_KqH.js";
4
4
  export {
5
5
  a as CxAssetLinkFormat,
@@ -8,7 +8,7 @@ import "../chunks/custom-element.vnXBMQxc.js";
8
8
  import "../chunks/component.styles.CI-v8BZa.js";
9
9
  import "../chunks/overlayscrollbars.aFuRG5Rs.js";
10
10
  import "../chunks/pagination.y5oqoPVr.js";
11
- import { A as w, l as T, n as x, e as z, c as F, o as P, p as S, d as v, a5 as y, a6 as A, D as g, q as D, E as I, s as h, F as E, t as G, u as f, v as j, G as H, w as K, x as L, y as V, I as k, z as q, K as B, B as J, M as N, J as O, L as Q, N as U, O as W, Q as X, U as Y, V as Z, P as _, h as $, W as oo, k as eo, X as ao, Y as so, Z as lo, _ as uo, j as to, R as Mo, a0 as ro, $ as io, S as po, a1 as no, a2 as mo, T as Co, b as Ro, a3 as co, a4 as bo, C as wo } from "../chunks/table.C8gqB3Ym.js";
11
+ import { A as w, l as T, n as x, e as z, c as F, o as P, p as S, d as v, a5 as y, a6 as A, D as g, q as D, E as I, s as h, F as E, t as G, u as f, v as j, G as H, w as K, x as L, y as V, I as k, z as q, K as B, B as J, M as N, J as O, L as Q, N as U, O as W, Q as X, U as Y, V as Z, P as _, h as $, W as oo, k as eo, X as ao, Y as so, Z as lo, _ as uo, j as to, R as Mo, a0 as ro, $ as io, S as po, a1 as no, a2 as mo, T as Co, b as Ro, a3 as co, a4 as bo, C as wo } from "../chunks/table.-ecyjIUr.js";
12
12
  import "../chunks/i18n.C3Z8Xe8q.js";
13
13
  import "../chunks/watch.BCJD77bD.js";
14
14
  import "../chunks/state.Cw55xXlb.js";
@@ -2,7 +2,7 @@ import "../chunks/typography.BFpl0WMA.js";
2
2
  import "../chunks/custom-element.vnXBMQxc.js";
3
3
  import "../chunks/component.styles.CI-v8BZa.js";
4
4
  import "../chunks/string.D6poLUEC.js";
5
- import { C as f } from "../chunks/timecode.D4_FNCCI.js";
5
+ import { C as f } from "../chunks/timecode.PY1bymeS.js";
6
6
  import "../chunks/watch.BCJD77bD.js";
7
7
  import "../chunks/state.Cw55xXlb.js";
8
8
  export {
@@ -67,11 +67,11 @@ import { default as kGt } from "./stepper.js";
67
67
  import nk from "./switch.js";
68
68
  import rk from "./tab.js";
69
69
  import { C as ik, T as y9, a as b9, b as w9, g as G7 } from "../chunks/tab-group.BWYMMhrE.js";
70
- import { C as PR, f as Hh, i as NR, r as pY, m as hY, a as K7, g as Y7 } from "../chunks/table.C8gqB3Ym.js";
70
+ import { C as PR, f as Hh, i as NR, r as pY, m as hY, a as K7, g as Y7 } from "../chunks/table.-ecyjIUr.js";
71
71
  import x9 from "./tab-panel.js";
72
72
  import { default as CGt } from "./tag.js";
73
73
  import gY from "./textarea.js";
74
- import { C as mY, t as fY } from "../chunks/timecode.D4_FNCCI.js";
74
+ import { C as mY, t as fY } from "../chunks/timecode.PY1bymeS.js";
75
75
  import ya from "./tooltip.js";
76
76
  import { d as vY, v as Qf } from "../chunks/tree.82OigIgE.js";
77
77
  import { a as EGt, C as TGt } from "../chunks/tree.82OigIgE.js";
@@ -97,7 +97,7 @@ import { c as ob, b as BY } from "../chunks/capitalize.CNStXZBq.js";
97
97
  import { o as nr } from "../chunks/style-map.CZovMmo_.js";
98
98
  import { a as ab, d as zY, e as FY, D as G_, u as $Y, t as fc, f as ak } from "../chunks/asset.Ba-CxnNM.js";
99
99
  import { H as jY } from "../chunks/slot.DJLm4Dig.js";
100
- import { a as S9, u as Gu, C as HY } from "../chunks/list-editor.qPIn_AFA.js";
100
+ import { a as S9, u as Gu, C as HY } from "../chunks/list-editor.Ct803qvF.js";
101
101
  import UY from "./bicolor-picker.js";
102
102
  import jR from "./border-input-group.js";
103
103
  import { p as HR, c as km, b as _m, d as qY, e as VY, g as K_ } from "../chunks/color-swatch.CsKJgvVf.js";
@@ -122,8 +122,8 @@ import oX from "./masonry.js";
122
122
  import aX from "./padding-input-group.js";
123
123
  import sX from "./position-picker.js";
124
124
  import { D as Vw, P as X_, E as dd, B as ft, a as Of, A as og, b as cX, T as cO } from "../chunks/content-builder.UlVFSATk.js";
125
- import { g as lX, a as lO, b as Ww } from "../chunks/color-swatch-group.CG_PUG1X.js";
126
- import { C as VGt } from "../chunks/color-swatch-group.CG_PUG1X.js";
125
+ import { g as lX, a as lO, b as Ww } from "../chunks/color-swatch-group.Bsa_Z57a.js";
126
+ import { C as VGt } from "../chunks/color-swatch-group.Bsa_Z57a.js";
127
127
  import dX from "./shadow-input-group.js";
128
128
  import { default as GGt } from "./share-option-list.js";
129
129
  import { default as YGt } from "./sidebar.js";
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.54.0",
4
+ "version": "2.55.0-ci.2",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -24,6 +24,10 @@ export default class CxTimecode extends CortexElement {
24
24
  * The frame rate for the time based feature.
25
25
  */
26
26
  frameRate: number;
27
+ /**
28
+ * When true, applies the preview background and padding styles.
29
+ */
30
+ isPreview: boolean;
27
31
  /**
28
32
  * The typography variant for the timecode.
29
33
  */
@@ -4658,6 +4658,10 @@
4658
4658
  * The frame rate for the time based feature.
4659
4659
  */
4660
4660
  frameRate?: number;
4661
+ /**
4662
+ * When true, applies the preview background and padding styles.
4663
+ */
4664
+ isPreview?: boolean;
4661
4665
  /**
4662
4666
  * The typography variant for the timecode.
4663
4667
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "2.54.0",
4
+ "version": "2.55.0-ci.2",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {