@orangelogic/design-system 2.52.0 → 2.53.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.CVc2wJ0B.js → button.CiWlWCNb.js} +1 -1
- package/library/chunks/{color-swatch-group.CUtNUbRn.js → color-swatch-group.CG_PUG1X.js} +4 -4
- package/library/chunks/{color-swatch.EAiUOc_J.js → color-swatch.CsKJgvVf.js} +2 -2
- package/library/chunks/{confirm-popover.DfkoLeR6.js → confirm-popover.Bfuw361W.js} +3 -3
- package/library/chunks/{dialog.CLn29MZF.js → dialog.C28qzMSQ.js} +2 -2
- package/library/chunks/{dot-pagination.BMZxEk73.js → dot-pagination.D3RYAiHL.js} +1 -1
- package/library/chunks/{file-on-demand.CoA1eDl7.js → file-on-demand.UNUgyyno.js} +9 -9
- package/library/chunks/{folder-select.Bq-NKzjL.js → folder-select.ELghy6Qk.js} +5 -5
- package/library/chunks/format-time.HdcgoabZ.js +226 -0
- package/library/chunks/{header.DiOD6K3N.js → header.oyZxakKM.js} +1 -1
- package/library/chunks/{i18n.GsJkEfVA.js → i18n.C3Z8Xe8q.js} +1 -0
- package/library/chunks/{iframe.BO6qSFJP.js → iframe.C6CLUrTT.js} +1 -1
- package/library/chunks/{image.Dqq3RyRZ.js → image.BJfasRY_.js} +2 -2
- package/library/chunks/{list-editor.H4eJhYPV.js → list-editor.qPIn_AFA.js} +6 -6
- package/library/chunks/{option.CPTRiPaF.js → option.BOHZB9Sv.js} +1 -1
- package/library/chunks/{popup.d45CSCf5.js → popup.Ba501Rgg.js} +394 -390
- package/library/chunks/{select.ByWIHETd.js → select.oVg7uA-M.js} +3 -3
- package/library/chunks/{tab-group.B6aKJLVZ.js → tab-group.BWYMMhrE.js} +2 -3
- package/library/chunks/{table.91X28qCm.js → table.C8gqB3Ym.js} +2 -2
- package/library/chunks/{tree.DQDSYKYi.js → tree.82OigIgE.js} +1 -1
- package/library/components/alert.js +1 -1
- package/library/components/asset-link-format.js +4 -4
- package/library/components/atoms.js +28 -28
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +3 -3
- package/library/components/color-swatch-group.js +5 -5
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +5 -5
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +10 -10
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +9 -221
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +1 -1
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +3 -3
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +2 -2
- package/library/components/list-editor.js +6 -6
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +2 -2
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +4 -4
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +4 -4
- package/library/components/popup.js +2 -2
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +2 -2
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +4 -4
- package/library/components/share-option-list.js +1 -1
- package/library/components/size-input-group.js +2 -2
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +3 -3
- package/library/components/tab.js +13 -14
- package/library/components/table.js +2 -2
- package/library/components/tag.js +1 -1
- package/library/components/tooltip.js +2 -2
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +16447 -16372
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/molecules/src/estimated-reading-time/estimated-reading-time.d.ts +49 -0
- package/library/packages/molecules/src/estimated-reading-time/estimated-reading-time.styles.d.ts +2 -0
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +1 -0
- package/library/react-web-component.d.ts +30 -4
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { i as b, n as a, C as v, x as
|
|
1
|
+
import { i as b, n as a, C as v, x as m, c as u } from "../chunks/custom-element.vnXBMQxc.js";
|
|
2
2
|
import { c as h } from "../chunks/component.styles.CI-v8BZa.js";
|
|
3
|
-
import { L as x } from "../chunks/i18n.
|
|
4
|
-
import { H as
|
|
3
|
+
import { L as x } from "../chunks/i18n.C3Z8Xe8q.js";
|
|
4
|
+
import { H as _ } from "../chunks/slot.DJLm4Dig.js";
|
|
5
5
|
import { w as p } from "../chunks/watch.BCJD77bD.js";
|
|
6
|
-
import { e as
|
|
6
|
+
import { e as f } from "../chunks/query.BBf1UFkC.js";
|
|
7
7
|
import { e as n } from "../chunks/class-map.CoZTSvbM.js";
|
|
8
8
|
import g from "./icon-button.js";
|
|
9
9
|
import y from "./line-clamp.js";
|
|
@@ -11,11 +11,10 @@ const w = b`
|
|
|
11
11
|
.tab {
|
|
12
12
|
display: inline-flex;
|
|
13
13
|
align-items: center;
|
|
14
|
-
font-family: var(--cx-font-sans);
|
|
15
|
-
font-size: var(--cx-font-size-small);
|
|
16
|
-
font-weight: var(--cx-font-weight-medium);
|
|
17
14
|
border-radius: var(--cx-border-radius-small);
|
|
18
15
|
padding: var(--tab-padding, var(--cx-spacing-x-small));
|
|
16
|
+
font: var(--cx-font-label-small);
|
|
17
|
+
font-weight: var(--cx-font-weight-medium);
|
|
19
18
|
white-space: nowrap;
|
|
20
19
|
user-select: none;
|
|
21
20
|
-webkit-user-select: none;
|
|
@@ -240,13 +239,13 @@ const w = b`
|
|
|
240
239
|
${k}
|
|
241
240
|
`;
|
|
242
241
|
var $ = Object.defineProperty, z = Object.getOwnPropertyDescriptor, e = (i, r, s, o) => {
|
|
243
|
-
for (var l = o > 1 ? void 0 : o ? z(r, s) : r, c = i.length - 1,
|
|
244
|
-
(
|
|
242
|
+
for (var l = o > 1 ? void 0 : o ? z(r, s) : r, c = i.length - 1, d; c >= 0; c--)
|
|
243
|
+
(d = i[c]) && (l = (o ? d(r, s, l) : d(l)) || l);
|
|
245
244
|
return o && l && $(r, s, l), l;
|
|
246
245
|
};
|
|
247
246
|
let I = 0, t = class extends v {
|
|
248
247
|
constructor() {
|
|
249
|
-
super(...arguments), this.localize = new x(this), this.hasSlotController = new
|
|
248
|
+
super(...arguments), this.localize = new x(this), this.hasSlotController = new _(this, "thumbnail"), this.attrId = ++I, this.componentId = `cx-tab-${this.attrId}`, this.panel = "", this.active = !1, this.closable = !1, this.disabled = !1, this.tabIndex = 0, this.first = !1, this.last = !1, this.single = !1;
|
|
250
249
|
}
|
|
251
250
|
runFirstUpdated() {
|
|
252
251
|
this.setAttribute("role", "tab");
|
|
@@ -261,7 +260,7 @@ let I = 0, t = class extends v {
|
|
|
261
260
|
this.setAttribute("aria-disabled", this.disabled ? "true" : "false"), this.disabled && !this.active ? this.tabIndex = -1 : this.tabIndex = 0;
|
|
262
261
|
}
|
|
263
262
|
renderNormalTab(i) {
|
|
264
|
-
return
|
|
263
|
+
return m`
|
|
265
264
|
<div
|
|
266
265
|
part="base"
|
|
267
266
|
class=${n({
|
|
@@ -275,7 +274,7 @@ let I = 0, t = class extends v {
|
|
|
275
274
|
<cx-line-clamp part="label" class="tab__label" lines="1">
|
|
276
275
|
<slot></slot>
|
|
277
276
|
</cx-line-clamp>
|
|
278
|
-
${this.closable ?
|
|
277
|
+
${this.closable ? m`
|
|
279
278
|
<cx-icon-button
|
|
280
279
|
part="close-button"
|
|
281
280
|
exportparts="base:close-button__base"
|
|
@@ -290,7 +289,7 @@ let I = 0, t = class extends v {
|
|
|
290
289
|
`;
|
|
291
290
|
}
|
|
292
291
|
renderTimelineTab() {
|
|
293
|
-
return
|
|
292
|
+
return m`
|
|
294
293
|
<div
|
|
295
294
|
part="base"
|
|
296
295
|
class=${n({
|
|
@@ -341,7 +340,7 @@ t.dependencies = {
|
|
|
341
340
|
"cx-line-clamp": y
|
|
342
341
|
};
|
|
343
342
|
e([
|
|
344
|
-
|
|
343
|
+
f(".tab")
|
|
345
344
|
], t.prototype, "tab", 2);
|
|
346
345
|
e([
|
|
347
346
|
a({ reflect: !0 })
|
|
@@ -8,8 +8,8 @@ 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.
|
|
12
|
-
import "../chunks/i18n.
|
|
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";
|
|
12
|
+
import "../chunks/i18n.C3Z8Xe8q.js";
|
|
13
13
|
import "../chunks/watch.BCJD77bD.js";
|
|
14
14
|
import "../chunks/state.Cw55xXlb.js";
|
|
15
15
|
import "../chunks/query.BBf1UFkC.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { i as m, n as i, C as u, x as g, c as p } from "../chunks/custom-element.vnXBMQxc.js";
|
|
2
2
|
import { c as v } from "../chunks/component.styles.CI-v8BZa.js";
|
|
3
|
-
import { L as d } from "../chunks/i18n.
|
|
3
|
+
import { L as d } from "../chunks/i18n.C3Z8Xe8q.js";
|
|
4
4
|
import { e as x } from "../chunks/class-map.CoZTSvbM.js";
|
|
5
5
|
import h from "./icon-button.js";
|
|
6
6
|
import b from "./line-clamp.js";
|
|
@@ -2,11 +2,11 @@ import { i as b, n as i, C as g, x as w, c as x } from "../chunks/custom-element
|
|
|
2
2
|
import { c as C } from "../chunks/component.styles.CI-v8BZa.js";
|
|
3
3
|
import { s as v, p as c, a as u, g as m, b as y } from "../chunks/animation-registry.DavRkTTr.js";
|
|
4
4
|
import { w as f } from "../chunks/event.mFzZi4sr.js";
|
|
5
|
-
import { L as k } from "../chunks/i18n.
|
|
5
|
+
import { L as k } from "../chunks/i18n.C3Z8Xe8q.js";
|
|
6
6
|
import { w as l } from "../chunks/watch.BCJD77bD.js";
|
|
7
7
|
import { e as d } from "../chunks/query.BBf1UFkC.js";
|
|
8
8
|
import { e as O } from "../chunks/class-map.CoZTSvbM.js";
|
|
9
|
-
import { C as B } from "../chunks/popup.
|
|
9
|
+
import { C as B } from "../chunks/popup.Ba501Rgg.js";
|
|
10
10
|
const D = b`
|
|
11
11
|
:host {
|
|
12
12
|
--hide-delay: 0ms;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../chunks/custom-element.vnXBMQxc.js";
|
|
2
2
|
import "../chunks/component.styles.CI-v8BZa.js";
|
|
3
3
|
import "../chunks/animation-registry.DavRkTTr.js";
|
|
4
|
-
import "../chunks/i18n.
|
|
4
|
+
import "../chunks/i18n.C3Z8Xe8q.js";
|
|
5
5
|
import "../chunks/watch.BCJD77bD.js";
|
|
6
6
|
import "../chunks/state.Cw55xXlb.js";
|
|
7
7
|
import "../chunks/query.BBf1UFkC.js";
|
|
@@ -12,7 +12,7 @@ import "../chunks/when.Dr1es41R.js";
|
|
|
12
12
|
import "./checkbox.js";
|
|
13
13
|
import "./icon.js";
|
|
14
14
|
import "./spinner.js";
|
|
15
|
-
import { C as c } from "../chunks/tree.
|
|
15
|
+
import { C as c } from "../chunks/tree.82OigIgE.js";
|
|
16
16
|
export {
|
|
17
17
|
c as default
|
|
18
18
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import "../chunks/custom-element.vnXBMQxc.js";
|
|
2
2
|
import "../chunks/component.styles.CI-v8BZa.js";
|
|
3
|
-
import "../chunks/i18n.
|
|
3
|
+
import "../chunks/i18n.C3Z8Xe8q.js";
|
|
4
4
|
import "../chunks/math.DqTA6ya4.js";
|
|
5
5
|
import "../chunks/watch.BCJD77bD.js";
|
|
6
|
-
import { a as c, b as n, s as y, c as b } from "../chunks/tree.
|
|
6
|
+
import { a as c, b as n, s as y, c as b } from "../chunks/tree.82OigIgE.js";
|
|
7
7
|
import "../chunks/state.Cw55xXlb.js";
|
|
8
8
|
import "../chunks/query.BBf1UFkC.js";
|
|
9
9
|
export {
|
|
@@ -6,7 +6,7 @@ import g from "./space.js";
|
|
|
6
6
|
import { C as w } from "../chunks/typography.BFpl0WMA.js";
|
|
7
7
|
import { i as u, n as a, C as _, x as r, c as v } from "../chunks/custom-element.vnXBMQxc.js";
|
|
8
8
|
import { c as S } from "../chunks/component.styles.CI-v8BZa.js";
|
|
9
|
-
import { L as $ } from "../chunks/i18n.
|
|
9
|
+
import { L as $ } from "../chunks/i18n.C3Z8Xe8q.js";
|
|
10
10
|
import { o as y } from "../chunks/if-defined.MfEgpxEN.js";
|
|
11
11
|
import { o as b } from "../chunks/style-map.CZovMmo_.js";
|
|
12
12
|
import { n as p } from "../chunks/when.Dr1es41R.js";
|