@orangelogic/design-system 3.51.0 → 3.52.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/{block-width.BoB4DTSi.js → block-width.DGKtI0si.js} +2 -2
- package/library/chunks/{color-swatch-group.Dp778XL2.js → color-swatch-group.DSNjAqYx.js} +1 -1
- package/library/chunks/{color-swatch.sY1uNNSe.js → color-swatch._892g6OH.js} +2 -2
- package/library/chunks/{config-manager.B17KFYlP.js → config-manager.CQA-H3Np.js} +2 -2
- package/library/chunks/{configs-controller.CiNEXlyV.js → configs-controller.BXb0_Hg2.js} +1 -1
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +5 -5
- package/library/package.json +1 -1
- package/package.json +1 -1
|
@@ -79,8 +79,8 @@ import { t as Ot } from "./position-picker.CyXlSYCi.js";
|
|
|
79
79
|
import { t as kt } from "./shadow-input-group.DaDZTOGa.js";
|
|
80
80
|
import { t as At } from "./size-input-group.DvTF3TsD.js";
|
|
81
81
|
import { C as jt, S as Mt, T as Nt, _ as Pt, b as Ft, c as It, f as Lt, g as Rt, h as zt, i as Bt, l as Vt, n as Ht, o as Ut, p as Wt, r as Gt, s as Kt, t as qt, u as Jt, v as Yt, w as Xt, x as Zt, y as Qt } from "./asset-link-format.DW4-Yf4S.js";
|
|
82
|
-
import { c as $t, d as en, f as tn, n as nn, u as rn } from "./color-swatch-group.
|
|
83
|
-
import { B as an, C as on, H as sn, J as F, L as cn, N as ln, O as I, R as un, V as dn, X as L, Y as fn, Z as pn, f as mn, g as hn, p as gn, q as _n, y as vn, z as yn } from "./configs-controller.
|
|
82
|
+
import { c as $t, d as en, f as tn, n as nn, u as rn } from "./color-swatch-group.DSNjAqYx.js";
|
|
83
|
+
import { B as an, C as on, H as sn, J as F, L as cn, N as ln, O as I, R as un, V as dn, X as L, Y as fn, Z as pn, f as mn, g as hn, p as gn, q as _n, y as vn, z as yn } from "./configs-controller.BXb0_Hg2.js";
|
|
84
84
|
import { a as bn } from "./cloneDeep.C6x5LNv3.js";
|
|
85
85
|
//#region ../../packages/types/src/icon-picker.ts
|
|
86
86
|
var xn = /* @__PURE__ */ function(e) {
|
|
@@ -48,7 +48,7 @@ import Xe from "../components/format-number.js";
|
|
|
48
48
|
import { t as Ze } from "./menu-section.BzzA6L5E.js";
|
|
49
49
|
import { n as Qe, t as $e } from "./pagination.Cs-s_PTI.js";
|
|
50
50
|
import { t as et } from "./sortable.esm.W3y3EWKS.js";
|
|
51
|
-
import { t as tt } from "./color-swatch.
|
|
51
|
+
import { t as tt } from "./color-swatch._892g6OH.js";
|
|
52
52
|
import { t as nt } from "./debounce.DrhImrNP.js";
|
|
53
53
|
import { c as rt, o as it, s as at, t as ot } from "./_baseIteratee.DWc2-Bvm.js";
|
|
54
54
|
import { n as st, r as ct, t as lt } from "./_baseUniq.h_pGICPH.js";
|
|
@@ -108,7 +108,7 @@ var N = t`:host{isolation:isolate;display:block}.color-swatch{border:1px solid v
|
|
|
108
108
|
key: "PMS",
|
|
109
109
|
value: this.pms
|
|
110
110
|
}
|
|
111
|
-
].filter((e) => this.showCodes.includes(e.key)), n = this.codeAlignment === E.SeparateLine ? "vertical" : "horizontal"
|
|
111
|
+
].filter((e) => this.showCodes.includes(e.key)), n = this.codeAlignment === E.SeparateLine ? "vertical" : "horizontal", r = e`<cx-typography variant="h5" part="name" class="color-swatch__name" style=${h({ "--color": this.textColor })}>${this.name}</cx-typography>`, i = e`<cx-space direction="vertical" spacing=${this.rowGap} part="content">${b(t, (e) => e.key, (t) => e`<cx-space direction=${n} align-items=${n === "vertical" ? "flex-start" : "center"} spacing=${n === "vertical" ? "3x-small" : "small"} part="item" wrap="nowrap"><cx-typography variant=${this.textVariant} class="color-swatch__key" part="key" style=${h({ "--color": this.textColor })}>${t.key}</cx-typography>${m(this.canCopy && t.value !== "", () => e`<cx-copy-button part="copy-button" tabindex=${p(this.canFocusCodeOnly ? void 0 : "-1")} class="color-swatch__copy-button" copy-label=${this.localize.term("clickToCopy")} focus-copy-label=${this.localize.term("pressEnterOrCtrlCToCopy")} label=${`${t.key} ${t.value}`} no-icon hoist value=${t.value}><cx-line-clamp lines=${this.lineClamp} disabled-tooltip class=${f({ "color-swatch__value-wrapper": !0 })}><cx-typography variant=${this.textVariant} style=${h({ "--color": this.textColor })} class="color-swatch__value" part="value">${t.value}</cx-typography></cx-line-clamp></cx-copy-button>`, () => e`<cx-line-clamp lines=${this.lineClamp} disabled-tooltip class="color-swatch__value-wrapper"><cx-typography variant=${this.textVariant} style=${h({ "--color": this.textColor })} class="color-swatch__value" part="value">${t.value}</cx-typography></cx-line-clamp>`)}</cx-space>`)}</cx-space>`;
|
|
112
112
|
return e`<cx-resize-observer @cx-resize=${this.handleResize}><div part="base" tabindex=${p(this.canFocusContainer ? "0" : void 0)} class=${f({
|
|
113
113
|
"color-swatch": !0,
|
|
114
114
|
"color-swatch--circle": this.variant === M.Circle,
|
|
@@ -117,7 +117,7 @@ var N = t`:host{isolation:isolate;display:block}.color-swatch{border:1px solid v
|
|
|
117
117
|
})} style=${h({
|
|
118
118
|
backgroundColor: this.backgroundColor,
|
|
119
119
|
...this.gradientImage ? { backgroundImage: this.gradientImage } : {}
|
|
120
|
-
})} @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut}><cx-space part="content" direction="vertical" class="color-swatch__content"
|
|
120
|
+
})} @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut}><cx-space part="content" direction="vertical" class="color-swatch__content">${m(this.variant === M.Circle || this.variant === M.Oval, () => e`<cx-space direction="vertical" spacing="medium" align-items="stretch">${r}${i}</cx-space>`, () => e`${r}${i}`)}</cx-space></div></cx-resize-observer>`;
|
|
121
121
|
}
|
|
122
122
|
};
|
|
123
123
|
i([s(".color-swatch"), a("design:type", typeof HTMLDivElement > "u" ? Object : HTMLDivElement)], P.prototype, "containerEl", void 0), i([n({
|
|
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
|
|
|
14
14
|
import { t as x } from "./button.Ccrk9fUD.js";
|
|
15
15
|
import { t as ee } from "./tooltip.CGCOh4cQ.js";
|
|
16
16
|
import { t as te } from "./line-clamp.DV3tlosD.js";
|
|
17
|
-
import { C as ne, E as re, S as ie, T as ae, _ as oe, a as se, b as ce, c as le, g as ue, h as de, i as fe, l as pe, m as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.
|
|
17
|
+
import { C as ne, E as re, S as ie, T as ae, _ as oe, a as se, b as ce, c as le, g as ue, h as de, i as fe, l as pe, m as me, n as he, o as ge, s as S, t as C, v as w, w as T, x as E, y as D } from "./block-width.DGKtI0si.js";
|
|
18
18
|
import { t as O } from "./typography.B0mkhqTB.js";
|
|
19
19
|
import { t as k } from "./button-group.CPfXrqyq.js";
|
|
20
20
|
import { t as A } from "./card.3c-X4hqR.js";
|
|
@@ -63,7 +63,7 @@ import { T as K } from "./asset-link-format.DW4-Yf4S.js";
|
|
|
63
63
|
import { n as Qe } from "./_baseXor.Ca5K0ORC.js";
|
|
64
64
|
import { n as $e, s as et, t as q } from "./isArrayLikeObject.Da3IzQeH.js";
|
|
65
65
|
import { i as tt } from "./_baseClone.CnI5Vpqn.js";
|
|
66
|
-
import { C as nt, i as rt, o as J, t as it } from "./configs-controller.
|
|
66
|
+
import { C as nt, i as rt, o as J, t as it } from "./configs-controller.BXb0_Hg2.js";
|
|
67
67
|
import { t as at } from "./isEmpty.D3QQduJ5.js";
|
|
68
68
|
import { i as ot } from "./cloneDeep.C6x5LNv3.js";
|
|
69
69
|
//#region ../../node_modules/lodash-es/difference.js
|
|
@@ -16,7 +16,7 @@ import { g as _e, m as ve, p as ye, s as b } from "./responsive.L9Csz2w2.js";
|
|
|
16
16
|
import { n as be, r as xe } from "./header.BaWpIXRz.js";
|
|
17
17
|
import { d as Se, f as x, l as S, o as C, s as Ce } from "./endpoints.jOHOmF_t.js";
|
|
18
18
|
import { n as w } from "./folder-select.DA7Ezy8P.js";
|
|
19
|
-
import { a as T, i as E, o as D, r as O, s as we } from "./color-swatch-group.
|
|
19
|
+
import { a as T, i as E, o as D, r as O, s as we } from "./color-swatch-group.DSNjAqYx.js";
|
|
20
20
|
import { n as Te } from "./isEmpty.D3QQduJ5.js";
|
|
21
21
|
import { a as k } from "./cloneDeep.C6x5LNv3.js";
|
|
22
22
|
//#region ../../packages/services/src/api/dashboard/dashboard.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-swatch-group.
|
|
1
|
+
import { t as e } from "../chunks/color-swatch-group.DSNjAqYx.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-swatch.
|
|
1
|
+
import { t as e } from "../chunks/color-swatch._892g6OH.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as e } from "../chunks/bicolor-picker.DKcKLKki.js";
|
|
2
2
|
import { t } from "../chunks/border-input-group.Bo4n74DK.js";
|
|
3
|
-
import { t as n } from "../chunks/color-swatch.
|
|
3
|
+
import { t as n } from "../chunks/color-swatch._892g6OH.js";
|
|
4
4
|
import { t as r } from "../chunks/confirm-popover.BjAGzV05.js";
|
|
5
5
|
import { t as i } from "../chunks/corner-position-input-group.BAvx6UsV.js";
|
|
6
6
|
import { t as a } from "../chunks/cropper.D4ymxgab.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as e } from "../chunks/asset-link-format.DW4-Yf4S.js";
|
|
2
|
-
import { t } from "../chunks/color-swatch-group.
|
|
2
|
+
import { t } from "../chunks/color-swatch-group.DSNjAqYx.js";
|
|
3
3
|
import { t as n } from "../chunks/file-on-demand.D7bLG0JA.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|
|
@@ -38,7 +38,7 @@ import { t as kt } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
|
38
38
|
import { t as At } from "../chunks/line-clamp.DV3tlosD.js";
|
|
39
39
|
import { t as jt } from "../chunks/tag.ajqJVQQB.js";
|
|
40
40
|
import { t as Mt } from "../chunks/array-line-clamp.VOjhwp2T.js";
|
|
41
|
-
import { C as Nt, D as Pt, E as Ft, O as It, S as Lt, T as Rt, b as zt, d as Bt, f as Vt, o as Ht, p as Ut, r as Wt, s as Gt, t as Kt, u as qt, w as Jt, x as Yt, y as Xt } from "../chunks/block-width.
|
|
41
|
+
import { C as Nt, D as Pt, E as Ft, O as It, S as Lt, T as Rt, b as zt, d as Bt, f as Vt, o as Ht, p as Ut, r as Wt, s as Gt, t as Kt, u as qt, w as Jt, x as Yt, y as Xt } from "../chunks/block-width.DGKtI0si.js";
|
|
42
42
|
import { n as Zt, t as Qt } from "../chunks/position-picker.dY_vgF_H.js";
|
|
43
43
|
import { a as $t, i as en, n as tn, o as nn, r as rn, s as an, t as on } from "../chunks/src.BJhIYoMP.js";
|
|
44
44
|
import { a as sn, c as cn, i as ln, n as un, o as dn, r as fn, t as pn, u as mn } from "../chunks/time.p1t0NCwj.js";
|
|
@@ -146,7 +146,7 @@ import { t as Cs } from "../chunks/v4.JyXW8GUB.js";
|
|
|
146
146
|
import { n as ws, t as Ts } from "../chunks/video.Be2Oh_tS.js";
|
|
147
147
|
import { t as Es } from "../chunks/bicolor-picker.DKcKLKki.js";
|
|
148
148
|
import { t as Ds } from "../chunks/border-input-group.Bo4n74DK.js";
|
|
149
|
-
import { t as Os } from "../chunks/color-swatch.
|
|
149
|
+
import { t as Os } from "../chunks/color-swatch._892g6OH.js";
|
|
150
150
|
import { t as ks } from "../chunks/confirm-popover.BjAGzV05.js";
|
|
151
151
|
import { t as As } from "../chunks/corner-position-input-group.BAvx6UsV.js";
|
|
152
152
|
import { t as js } from "../chunks/cropper.D4ymxgab.js";
|
|
@@ -166,11 +166,11 @@ import { t as Ks } from "../chunks/size-input-group.DvTF3TsD.js";
|
|
|
166
166
|
import { t as qs } from "../chunks/stepper-wizard.Bydp0R7p.js";
|
|
167
167
|
import { t as Js } from "../chunks/typeface.CtBzG7NU.js";
|
|
168
168
|
import { T as Ys, _ as Xs, a as Zs, b as Qs, c as $s, d as ec, l as tc, m as nc, n as rc, o as ic, s as ac, t as oc, v as sc } from "../chunks/asset-link-format.DW4-Yf4S.js";
|
|
169
|
-
import { c as cc, h as lc, l as uc, m as dc, p as fc, t as pc, u as mc } from "../chunks/color-swatch-group.
|
|
169
|
+
import { c as cc, h as lc, l as uc, m as dc, p as fc, t as pc, u as mc } from "../chunks/color-swatch-group.DSNjAqYx.js";
|
|
170
170
|
import { n as hc } from "../chunks/isArrayLikeObject.Da3IzQeH.js";
|
|
171
171
|
import { t as gc } from "../chunks/file-on-demand.D7bLG0JA.js";
|
|
172
172
|
import "../events.js";
|
|
173
|
-
import { $ as _c, A as vc, D as yc, E as bc, F as xc, G as Sc, I as Cc, K as eee, M as tee, N as nee, O as ree, P as iee, Q as wc, S as Tc, T as aee, U as oee, W as Ec, Z as Dc, _ as see, a as cee, b as Oc, c as kc, d as Ac, et as jc, h as Mc, i as Nc, j as lee, k as uee, l as dee, m as fee, nt as pee, r as mee, s as Pc, t as Fc, tt as Ic, u as Lc, v as Rc, w as zc, x as Bc } from "../chunks/configs-controller.
|
|
173
|
+
import { $ as _c, A as vc, D as yc, E as bc, F as xc, G as Sc, I as Cc, K as eee, M as tee, N as nee, O as ree, P as iee, Q as wc, S as Tc, T as aee, U as oee, W as Ec, Z as Dc, _ as see, a as cee, b as Oc, c as kc, d as Ac, et as jc, h as Mc, i as Nc, j as lee, k as uee, l as dee, m as fee, nt as pee, r as mee, s as Pc, t as Fc, tt as Ic, u as Lc, v as Rc, w as zc, x as Bc } from "../chunks/configs-controller.BXb0_Hg2.js";
|
|
174
174
|
import { i as Vc } from "../chunks/timer.M6Aa3L_j.js";
|
|
175
175
|
import { a as Hc, c as Uc, d as Wc, f as Gc, i as Kc, l as qc, n as Jc, o as Yc, r as Xc, s as Zc, t as Qc, u as $c } from "../chunks/src.CLGAM3OO.js";
|
|
176
176
|
import { t as el } from "../chunks/value.C4_tUrAq.js";
|
|
@@ -95038,7 +95038,7 @@ var BTe = [
|
|
|
95038
95038
|
return this.mappedSupportedLanguages.length > 1;
|
|
95039
95039
|
}
|
|
95040
95040
|
ensureConfigUi() {
|
|
95041
|
-
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.
|
|
95041
|
+
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.CQA-H3Np.js"), import("../chunks/configs-controller.BXb0_Hg2.js").then((e) => e.n)]).then(async ([, e]) => {
|
|
95042
95042
|
this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
|
|
95043
95043
|
});
|
|
95044
95044
|
}
|
package/library/package.json
CHANGED