@orangelogic/design-system 3.82.0 → 3.84.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/{bicolor-picker.B5c2iUpc.js → bicolor-picker.DKOILYeM.js} +1 -1
- package/library/chunks/{block-width.c3AdC-mm.js → block-width.BpeTBWbm.js} +7 -7
- package/library/chunks/{border-input-group.xoEmK-w7.js → border-input-group.Xj4ECv0Y.js} +1 -1
- package/library/chunks/{color-picker.6XfZdUYj.js → color-picker.DuwHXPFj.js} +1 -1
- package/library/chunks/{config-manager.D1cGjLTP.js → config-manager.Dm1vpX9k.js} +6 -6
- package/library/chunks/{configs-controller.QnY6FAHe.js → configs-controller.BJ9y8ZhK.js} +1 -1
- package/library/chunks/{file-on-demand.aIcIWUdd.js → file-on-demand.BTIlMjty.js} +1 -1
- package/library/chunks/{shadow-input-group.DuQt9iFo.js → shadow-input-group.DYocWrKc.js} +1 -1
- package/library/chunks/{sidebar.DxkAvwY0.js → sidebar.DrdAXkkP.js} +2 -2
- package/library/chunks/{src.CvZvC0JX.js → src.CnBl08p2.js} +2 -2
- package/library/chunks/{tab-group.d_engLpS.js → tab-group.DQKnxy0Y.js} +837 -836
- package/library/components/atoms.js +3 -3
- package/library/components/bicolor-picker.js +1 -1
- package/library/components/border-input-group.js +1 -1
- package/library/components/color-picker.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/molecules.js +4 -4
- package/library/components/organisms.js +1 -1
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/types.js +11 -11
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +5 -0
- package/library/packages/hybrid/rich-text/src/rich-text.d.ts +8 -1
- package/library/react-web-component.d.ts +4 -0
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.HG4GDQal.js";
|
|
|
8
8
|
import { t as l } from "../chunks/am-chart.COOKOvT1.js";
|
|
9
9
|
import { t as u } from "../chunks/animated-image.w6VdagCh.js";
|
|
10
10
|
import { t as d } from "../chunks/animation.CRLxJUWm.js";
|
|
11
|
-
import { n as f, r as p, t as m } from "../chunks/src.
|
|
11
|
+
import { n as f, r as p, t as m } from "../chunks/src.CnBl08p2.js";
|
|
12
12
|
import { t as h } from "../chunks/button.C1mo8fQX.js";
|
|
13
13
|
import { t as g } from "../chunks/tooltip.7t36EXGx.js";
|
|
14
14
|
import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
@@ -34,10 +34,10 @@ import { t as I } from "../chunks/option.LhMLPcw2.js";
|
|
|
34
34
|
import { t as L } from "../chunks/space.Dd8jezXK.js";
|
|
35
35
|
import { t as R } from "../chunks/select.neRyPiqK.js";
|
|
36
36
|
import { t as z } from "../chunks/tab.DGRF46Sa.js";
|
|
37
|
-
import { t as B } from "../chunks/tab-group.
|
|
37
|
+
import { t as B } from "../chunks/tab-group.DQKnxy0Y.js";
|
|
38
38
|
import { t as V } from "../chunks/tab-panel.BxeoKuSv.js";
|
|
39
39
|
import { t as H } from "../chunks/visually-hidden.Bv3SInZp.js";
|
|
40
|
-
import { t as U } from "../chunks/color-picker.
|
|
40
|
+
import { t as U } from "../chunks/color-picker.DuwHXPFj.js";
|
|
41
41
|
import { t as W } from "../chunks/copy-button.W-7YPs9Z.js";
|
|
42
42
|
import { t as G } from "../chunks/date-calendar.D21_Bnc6.js";
|
|
43
43
|
import { t as K } from "../chunks/details.RxMlmRkL.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.DKOILYeM.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/border-input-group.
|
|
1
|
+
import { t as e } from "../chunks/border-input-group.Xj4ECv0Y.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-picker.
|
|
1
|
+
import { t as e } from "../chunks/color-picker.DuwHXPFj.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/file-on-demand.
|
|
1
|
+
import { t as e } from "../chunks/file-on-demand.BTIlMjty.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "../chunks/bicolor-picker.
|
|
2
|
-
import { t } from "../chunks/border-input-group.
|
|
1
|
+
import { t as e } from "../chunks/bicolor-picker.DKOILYeM.js";
|
|
2
|
+
import { t } from "../chunks/border-input-group.Xj4ECv0Y.js";
|
|
3
3
|
import { t as n } from "../chunks/color-swatch.CqAdMMbb.js";
|
|
4
4
|
import { t as r } from "../chunks/confirm-popover.CvI9pYVq.js";
|
|
5
5
|
import { t as i } from "../chunks/corner-position-input-group.Dibg12vc.js";
|
|
@@ -9,9 +9,9 @@ import { t as s } from "../chunks/folder-select.BQ2mGLZ_.js";
|
|
|
9
9
|
import { t as c } from "../chunks/masonry.B6QFICcV.js";
|
|
10
10
|
import { t as l } from "../chunks/padding-input-group.Dhk51pQL.js";
|
|
11
11
|
import { t as u } from "../chunks/position-picker.CaCGLfvq.js";
|
|
12
|
-
import { t as d } from "../chunks/shadow-input-group.
|
|
12
|
+
import { t as d } from "../chunks/shadow-input-group.DYocWrKc.js";
|
|
13
13
|
import { t as f } from "../chunks/share-option-list.Bu0f6D6X.js";
|
|
14
|
-
import { t as p } from "../chunks/sidebar.
|
|
14
|
+
import { t as p } from "../chunks/sidebar.DrdAXkkP.js";
|
|
15
15
|
import { t as m } from "../chunks/size-input-group.ChoR00ML.js";
|
|
16
16
|
import { t as h } from "../chunks/stepper-wizard.DK-n_AOs.js";
|
|
17
17
|
import { t as g } from "../chunks/typeface.DH9z0cTo.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as e } from "../chunks/asset-link-format.D_rcZRGc.js";
|
|
2
2
|
import { t } from "../chunks/color-swatch-group.Cnb34xQZ.js";
|
|
3
|
-
import { t as n } from "../chunks/file-on-demand.
|
|
3
|
+
import { t as n } from "../chunks/file-on-demand.BTIlMjty.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/shadow-input-group.
|
|
1
|
+
import { t as e } from "../chunks/shadow-input-group.DYocWrKc.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/sidebar.
|
|
1
|
+
import { t as e } from "../chunks/sidebar.DrdAXkkP.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/tab-group.
|
|
1
|
+
import { t as e } from "../chunks/tab-group.DQKnxy0Y.js";
|
|
2
2
|
export { e as default };
|
|
@@ -24,7 +24,7 @@ import { t as ue } from "../chunks/alert.HG4GDQal.js";
|
|
|
24
24
|
import { t as de } from "../chunks/am-chart.COOKOvT1.js";
|
|
25
25
|
import { t as fe } from "../chunks/animated-image.w6VdagCh.js";
|
|
26
26
|
import { t as I } from "../chunks/animation.CRLxJUWm.js";
|
|
27
|
-
import { n as pe, r as me, t as he } from "../chunks/src.
|
|
27
|
+
import { n as pe, r as me, t as he } from "../chunks/src.CnBl08p2.js";
|
|
28
28
|
import { t as ge } from "../chunks/style-map.DPGQIxip.js";
|
|
29
29
|
import { n as _e, t as ve } from "../chunks/button.C1mo8fQX.js";
|
|
30
30
|
import { c as ye, i as be, l as xe, o as Se, r as Ce, s as we } from "../chunks/resizable-component.styles.v9pbLDG5.js";
|
|
@@ -38,7 +38,7 @@ import { t as kt } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
|
38
38
|
import { t as At } from "../chunks/line-clamp.DMcTAh1m.js";
|
|
39
39
|
import { t as jt } from "../chunks/tag.CEQnKU3_.js";
|
|
40
40
|
import { t as Mt } from "../chunks/array-line-clamp.BSV0-DTp.js";
|
|
41
|
-
import { C as Nt, S as Pt, _ as Ft, b as It, g as Lt, h as Rt, o as zt, r as Bt, s as Vt, t as Ht, v as Ut, w as Wt, x as Gt, y as Kt } from "../chunks/block-width.
|
|
41
|
+
import { C as Nt, S as Pt, _ as Ft, b as It, g as Lt, h as Rt, o as zt, r as Bt, s as Vt, t as Ht, v as Ut, w as Wt, x as Gt, y as Kt } from "../chunks/block-width.BpeTBWbm.js";
|
|
42
42
|
import { n as qt, t as Jt } from "../chunks/position-picker.dY_vgF_H.js";
|
|
43
43
|
import { a as Yt, i as Xt, n as Zt, o as Qt, r as $t, s as en, t as tn } from "../chunks/src.BJhIYoMP.js";
|
|
44
44
|
import { a as nn, c as rn, i as an, n as on, o as sn, r as cn, t as ln, u as un } from "../chunks/time.p1t0NCwj.js";
|
|
@@ -76,13 +76,13 @@ import { t as Cr } from "../chunks/user-agent.D2bRhUeS.js";
|
|
|
76
76
|
import { t as wr } from "../chunks/unsafe-html.Cb838aX7.js";
|
|
77
77
|
import { t as Tr } from "../chunks/select.neRyPiqK.js";
|
|
78
78
|
import { t as Er } from "../chunks/tab.DGRF46Sa.js";
|
|
79
|
-
import { a as Dr, i as Or, n as kr, r as Ar, t as jr } from "../chunks/tab-group.
|
|
79
|
+
import { a as Dr, i as Or, n as kr, r as Ar, t as jr } from "../chunks/tab-group.DQKnxy0Y.js";
|
|
80
80
|
import { t as Mr } from "../chunks/parse.CDrJ-NY7.js";
|
|
81
81
|
import { t as Nr } from "../chunks/guard.Cf17k6Vx.js";
|
|
82
82
|
import { t as Pr } from "../chunks/map.ByDuLduF.js";
|
|
83
83
|
import { t as Fr } from "../chunks/tab-panel.BxeoKuSv.js";
|
|
84
84
|
import { t as Ir } from "../chunks/visually-hidden.Bv3SInZp.js";
|
|
85
|
-
import { t as Lr } from "../chunks/color-picker.
|
|
85
|
+
import { t as Lr } from "../chunks/color-picker.DuwHXPFj.js";
|
|
86
86
|
import { t as Rr } from "../chunks/copy-button.W-7YPs9Z.js";
|
|
87
87
|
import { S as zr, _ as Br, a as Vr, b as Hr, c as Ur, d as Wr, f as Gr, g as Kr, h as qr, i as Jr, l as Yr, m as Xr, n as Zr, o as Qr, p as $r, r as ei, s as ti, t as ni, u as ri, v as ii, x as ai, y as oi } from "../chunks/date.BL4L64Hx.js";
|
|
88
88
|
import { $ as si, A as ci, B as li, C as ui, D as di, E as fi, F as pi, G as mi, H as hi, I as gi, J as _i, K as vi, L as yi, M as bi, N as xi, O as Si, P as Ci, Q as wi, R as Ti, S as Ei, U as Di, V as Oi, W as ki, X as Ai, Y as ji, Z as Mi, _ as Ni, a as Pi, at as Fi, c as Ii, ct as Li, d as Ri, dt as zi, et as Bi, f as Vi, ft as Hi, g as Ui, h as Wi, i as Gi, it as Ki, j as qi, k as Ji, l as Yi, lt as Xi, m as Zi, n as Qi, nt as $i, o as ea, ot as ta, p as na, pt as ra, q as ia, r as aa, rt as oa, s as sa, st as ca, t as la, tt as ua, u as da, ut as fa, v as pa, y as ma, z as ha } from "../chunks/src.DkfUL4Kr.js";
|
|
@@ -144,8 +144,8 @@ import { t as ys } from "../chunks/timecode.DlO67pqw.js";
|
|
|
144
144
|
import { a as bs, i as xs, o as Ss } from "../chunks/tree.BQmpj32j.js";
|
|
145
145
|
import { t as Cs } from "../chunks/v4.JyXW8GUB.js";
|
|
146
146
|
import { n as ws, t as Ts } from "../chunks/video.C7bssCMO.js";
|
|
147
|
-
import { t as Es } from "../chunks/bicolor-picker.
|
|
148
|
-
import { t as Ds } from "../chunks/border-input-group.
|
|
147
|
+
import { t as Es } from "../chunks/bicolor-picker.DKOILYeM.js";
|
|
148
|
+
import { t as Ds } from "../chunks/border-input-group.Xj4ECv0Y.js";
|
|
149
149
|
import { t as Os } from "../chunks/color-swatch.CqAdMMbb.js";
|
|
150
150
|
import { t as ks } from "../chunks/confirm-popover.CvI9pYVq.js";
|
|
151
151
|
import { t as As } from "../chunks/corner-position-input-group.Dibg12vc.js";
|
|
@@ -159,18 +159,18 @@ import { t as zs } from "../chunks/choose.C2vpqhLc.js";
|
|
|
159
159
|
import { t as Bs } from "../chunks/masonry.B6QFICcV.js";
|
|
160
160
|
import { t as Vs } from "../chunks/padding-input-group.Dhk51pQL.js";
|
|
161
161
|
import { t as Hs } from "../chunks/position-picker.CaCGLfvq.js";
|
|
162
|
-
import { t as Us } from "../chunks/shadow-input-group.
|
|
162
|
+
import { t as Us } from "../chunks/shadow-input-group.DYocWrKc.js";
|
|
163
163
|
import { t as Ws } from "../chunks/share-option-list.Bu0f6D6X.js";
|
|
164
|
-
import { t as Gs } from "../chunks/sidebar.
|
|
164
|
+
import { t as Gs } from "../chunks/sidebar.DrdAXkkP.js";
|
|
165
165
|
import { t as Ks } from "../chunks/size-input-group.ChoR00ML.js";
|
|
166
166
|
import { t as qs } from "../chunks/stepper-wizard.DK-n_AOs.js";
|
|
167
167
|
import { t as Js } from "../chunks/typeface.DH9z0cTo.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.D_rcZRGc.js";
|
|
169
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.Cnb34xQZ.js";
|
|
170
170
|
import { n as hc } from "../chunks/isArrayLikeObject.Da3IzQeH.js";
|
|
171
|
-
import { t as gc } from "../chunks/file-on-demand.
|
|
171
|
+
import { t as gc } from "../chunks/file-on-demand.BTIlMjty.js";
|
|
172
172
|
import "../events.js";
|
|
173
|
-
import { $ as _c, A as vc, B as yc, D as bc, F as xc, G as Sc, H as Cc, I as wc, L as eee, N as tee, O as Tc, P as nee, Q as ree, R as iee, T as Ec, U as aee, V as oee, W as see, a as Dc, c as cee, ct as lee, d as Oc, dt as uee, et as dee, f as fee, h as kc, i as Ac, j as jc, k as pee, lt as Mc, m as mee, o as Nc, ot as Pc, p as Fc, r as hee, s as Ic, st as Lc, t as Rc, tt as zc, u as Bc, ut as Vc, v as Hc, w as Uc, x as Wc, y as Gc, z as Kc } from "../chunks/configs-controller.
|
|
173
|
+
import { $ as _c, A as vc, B as yc, D as bc, F as xc, G as Sc, H as Cc, I as wc, L as eee, N as tee, O as Tc, P as nee, Q as ree, R as iee, T as Ec, U as aee, V as oee, W as see, a as Dc, c as cee, ct as lee, d as Oc, dt as uee, et as dee, f as fee, h as kc, i as Ac, j as jc, k as pee, lt as Mc, m as mee, o as Nc, ot as Pc, p as Fc, r as hee, s as Ic, st as Lc, t as Rc, tt as zc, u as Bc, ut as Vc, v as Hc, w as Uc, x as Wc, y as Gc, z as Kc } from "../chunks/configs-controller.BJ9y8ZhK.js";
|
|
174
174
|
import { i as qc } from "../chunks/timer.M6Aa3L_j.js";
|
|
175
175
|
import { a as Jc, c as Yc, d as Xc, f as Zc, i as Qc, l as $c, n as el, o as tl, r as nl, s as rl, t as il, u as al } from "../chunks/src.CLGAM3OO.js";
|
|
176
176
|
import { t as ol } from "../chunks/value.C4_tUrAq.js";
|
|
@@ -95190,7 +95190,7 @@ var dEe = [
|
|
|
95190
95190
|
return this.mappedSupportedLanguages.length > 1;
|
|
95191
95191
|
}
|
|
95192
95192
|
ensureConfigUi() {
|
|
95193
|
-
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.
|
|
95193
|
+
return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.Dm1vpX9k.js"), import("../chunks/configs-controller.BJ9y8ZhK.js").then((e) => e.n)]).then(async ([, e]) => {
|
|
95194
95194
|
this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
|
|
95195
95195
|
});
|
|
95196
95196
|
}
|
package/library/package.json
CHANGED
|
@@ -136,6 +136,11 @@ export default class CxTabGroup extends CortexElement {
|
|
|
136
136
|
hidePanelVariant: TabGroupHidePanelVariant;
|
|
137
137
|
/** The alignment of the tabs. */
|
|
138
138
|
tabAlignment: TabGroupAlignment;
|
|
139
|
+
/**
|
|
140
|
+
* The accessible name of the tab list, rendered as `aria-label` on the inner `role="tablist"` element.
|
|
141
|
+
* The tab list sits in the shadow root, so an `aria-label` or `aria-labelledby` on the host does not name it.
|
|
142
|
+
*/
|
|
143
|
+
label: string;
|
|
139
144
|
/** The label of the dropdown. */
|
|
140
145
|
dropdownLabel: string;
|
|
141
146
|
/**
|
|
@@ -68,7 +68,7 @@ import { RichTextMenuBarSpec, RichTextStyleFormat, RichTextToolbarSpec } from '.
|
|
|
68
68
|
* Optional **`fire-change-on-same-content`** (default true): when false, `cx-rich-text-change` is not emitted if `editor.getHTML()` matches the last emitted HTML.
|
|
69
69
|
*
|
|
70
70
|
* @event {{ files: FileList }} cx-rich-text-image-drop - Emitted when an image is dropped onto the editor; `detail.files` is the dropped files.
|
|
71
|
-
* @event {{ content: string }} cx-rich-text-change - Emitted when the document changes; `detail.content` is `
|
|
71
|
+
* @event {{ content: string }} cx-rich-text-change - Emitted when the document changes; `detail.content` is the published HTML, as `getValue()` returns it.
|
|
72
72
|
* @event cx-rich-text-blur - Emitted when the editor loses focus.
|
|
73
73
|
* @event cx-rich-text-focus - Emitted when the editor gains focus.
|
|
74
74
|
* @event cx-rich-text-click - Emitted when the user clicks inside the toolbar, editor, or table bubble.
|
|
@@ -83,6 +83,12 @@ export default class CxRichText extends CortexElement {
|
|
|
83
83
|
'cx-rich-text-toolbar': typeof CxRichTextToolbar;
|
|
84
84
|
'cx-rich-text-video-viewer': typeof CxRichTextVideoViewer;
|
|
85
85
|
};
|
|
86
|
+
/**
|
|
87
|
+
* The whole document is one paragraph with nothing in it: TinyMCE's rule for an empty field.
|
|
88
|
+
* Narrower than `editor.isEmpty`, which also counts several empty lines, or a table or list
|
|
89
|
+
* without text, as empty. A pending suggestion on that paragraph (`attrs.track`) counts as content.
|
|
90
|
+
*/
|
|
91
|
+
private static isOnlyEmptyParagraph;
|
|
86
92
|
readonly localize: LocalizeController;
|
|
87
93
|
private caretAnimationId?;
|
|
88
94
|
readonly editorContainer: HTMLDivElement;
|
|
@@ -292,6 +298,7 @@ export default class CxRichText extends CortexElement {
|
|
|
292
298
|
* The content as it should be published: stored, rendered by a viewer, or sent as email.
|
|
293
299
|
* `editor.getHTML()` stays a faithful serialization of the document, wrappers the schema forces
|
|
294
300
|
* included; this resolves those away. Hosts that persist the value should read this.
|
|
301
|
+
* A document holding only an empty paragraph publishes as an empty string.
|
|
295
302
|
*/
|
|
296
303
|
getValue(): string;
|
|
297
304
|
private teardownEditor;
|
|
@@ -2256,6 +2256,10 @@
|
|
|
2256
2256
|
* The alignment of the tabs.
|
|
2257
2257
|
*/
|
|
2258
2258
|
tabAlignment?: "center" | "flex-end" | "flex-start";
|
|
2259
|
+
/**
|
|
2260
|
+
* The accessible name of the tab list, rendered as `aria-label` on the inner `role="tablist"` element. The tab list sits in the shadow root, so an `aria-label` or `aria-labelledby` on the host does not name it.
|
|
2261
|
+
*/
|
|
2262
|
+
label?: string;
|
|
2259
2263
|
/**
|
|
2260
2264
|
* The label of the dropdown.
|
|
2261
2265
|
*/
|