@orangelogic/design-system 4.18.0 → 4.19.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/{color-swatch-group.DHrDL5W4.js → color-swatch-group.WMinusvs.js} +378 -359
- package/library/chunks/{config-manager.j-83Ts1D.js → config-manager.DGW1KEBN.js} +2 -2
- package/library/chunks/{config-manager.utils.C-G0Iimp.js → config-manager.utils.CpAKaNf4.js} +3 -3
- package/library/chunks/{configs-controller.FjT3LVI8.js → configs-controller.DX8-bPEZ.js} +2 -2
- package/library/chunks/{header.DpccEGpQ.js → header.Ny2fWwyt.js} +43 -15
- package/library/chunks/{src.BQQW1rcJ.js → src.BFdGIzyC.js} +1 -1
- package/library/components/atoms.js +2 -2
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/header.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +9652 -9606
- package/library/package.json +1 -1
- package/library/packages/events/src/cx-table-validation-change.d.ts +2 -2
- package/library/packages/hybrid/rich-text/src/components/rich-text-toolbar/rich-text-toolbar.d.ts +16 -8
- package/library/packages/hybrid/rich-text/src/components/rich-text-toolbar/toolbar-align-actions.d.ts +3 -8
- package/library/packages/hybrid/rich-text/src/rich-text.d.ts +21 -1
- package/library/packages/hybrid/rich-text/src/utils/parse-border-from-style.d.ts +2 -1
- package/library/packages/hybrid/table-core/src/table/controllers/filter-controller.d.ts +8 -0
- package/library/packages/hybrid/table-core/src/table/table-in-memory-data.d.ts +2 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +1 -1
- package/library/packages/tools/src/tiptap/extensions/index.d.ts +7 -1
- package/library/packages/tools/src/tiptap/extensions/link/helpers/active-link-range.d.ts +9 -0
- package/library/packages/tools/src/tiptap/extensions/table/index.d.ts +13 -1
- package/library/packages/tools/src/tiptap/utils/to-published-html.d.ts +14 -0
- package/library/packages/types/src/rich-text.d.ts +10 -0
- package/library/packages/types/src/table.d.ts +10 -0
- package/package.json +1 -1
|
@@ -14,7 +14,7 @@ import { t as b } from "./style-map.DPGQIxip.js";
|
|
|
14
14
|
import { t as x } from "./button.F15zfy2d.js";
|
|
15
15
|
import { t as S } from "./tooltip.EVa9qa8X.js";
|
|
16
16
|
import { t as ee } from "./line-clamp.DUw4HDNG.js";
|
|
17
|
-
import { C as te, D 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, o as pe, r as me, s as he, t as C, v as w, w as T, x as E, y as D } from "./config-manager.utils.
|
|
17
|
+
import { C as te, D 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, o as pe, r as me, s as he, t as C, v as w, w as T, x as E, y as D } from "./config-manager.utils.CpAKaNf4.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.B-wi80wk.js";
|
|
|
63
63
|
import { n as Ze } from "./_baseXor.Ca5K0ORC.js";
|
|
64
64
|
import { n as Qe, s as $e, t as q } from "./isArrayLikeObject.Da3IzQeH.js";
|
|
65
65
|
import { i as et } from "./_baseClone.CnI5Vpqn.js";
|
|
66
|
-
import { C as tt, i as nt, o as J, t as rt } from "./configs-controller.
|
|
66
|
+
import { C as tt, i as nt, o as J, t as rt } from "./configs-controller.DX8-bPEZ.js";
|
|
67
67
|
import { t as it } from "./isEmpty.D3QQduJ5.js";
|
|
68
68
|
import { i as at } from "./cloneDeep.C6x5LNv3.js";
|
|
69
69
|
//#region ../../node_modules/lodash-es/difference.js
|
package/library/chunks/{config-manager.utils.C-G0Iimp.js → config-manager.utils.CpAKaNf4.js}
RENAMED
|
@@ -15,7 +15,7 @@ import { t as y } from "./when.BUskJLtZ.js";
|
|
|
15
15
|
import { t as ie } from "./icon.CeQpEaQz.js";
|
|
16
16
|
import { t as ae } from "./spinner.DXFJTymk.js";
|
|
17
17
|
import { n as oe } from "./tslib.es6.DJNsMHqv.js";
|
|
18
|
-
import { t as se } from "./src.
|
|
18
|
+
import { t as se } from "./src.BFdGIzyC.js";
|
|
19
19
|
import { t as ce } from "./style-map.DPGQIxip.js";
|
|
20
20
|
import { t as b } from "./button.F15zfy2d.js";
|
|
21
21
|
import { E as x, S as le, r as ue } from "./string.DamEXDH2.js";
|
|
@@ -78,8 +78,8 @@ import { t as Et } from "./position-picker.B3klGTsy.js";
|
|
|
78
78
|
import { t as Dt } from "./shadow-input-group.ClTseaRz.js";
|
|
79
79
|
import { t as Ot } from "./size-input-group.D9EWFcr7.js";
|
|
80
80
|
import { C as kt, S as At, T as jt, _ as Mt, b as Nt, c as Pt, f as Ft, g as It, h as Lt, i as Rt, l as zt, n as Bt, o as Vt, p as Ht, r as Ut, s as Wt, t as Gt, u as Kt, v as qt, w as Jt, x as Yt, y as Xt } from "./asset-link-format.B-wi80wk.js";
|
|
81
|
-
import { c as Zt, d as Qt, f as $t, n as en, u as tn } from "./color-swatch-group.
|
|
82
|
-
import { B as nn, C as rn, H as an, J as on, P as sn, Q as cn, R as ln, U as un, V as dn, X as fn, Y as I, Z as L, f as pn, g as mn, k as R, p as hn, y as gn, z as _n } from "./configs-controller.
|
|
81
|
+
import { c as Zt, d as Qt, f as $t, n as en, u as tn } from "./color-swatch-group.WMinusvs.js";
|
|
82
|
+
import { B as nn, C as rn, H as an, J as on, P as sn, Q as cn, R as ln, U as un, V as dn, X as fn, Y as I, Z as L, f as pn, g as mn, k as R, p as hn, y as gn, z as _n } from "./configs-controller.DX8-bPEZ.js";
|
|
83
83
|
import { a as vn } from "./cloneDeep.C6x5LNv3.js";
|
|
84
84
|
//#region ../../packages/types/src/icon-picker.ts
|
|
85
85
|
var yn = /* @__PURE__ */ function(e) {
|
|
@@ -13,10 +13,10 @@ import { a as se, i as ce, n as le, r as ue } from "./document-viewer.BUAq7eW6.j
|
|
|
13
13
|
import { f as de, l as fe } from "./url.CZO_DV8Y.js";
|
|
14
14
|
import { _ as pe, g as me, p as he, v as ge } from "./color.CIOzHtLK.js";
|
|
15
15
|
import { g as _e, m as ve, p as ye, s as b } from "./responsive.L9Csz2w2.js";
|
|
16
|
-
import { n as be, r as xe } from "./header.
|
|
16
|
+
import { n as be, r as xe } from "./header.Ny2fWwyt.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.CmyEyzfA.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.WMinusvs.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
|
|
@@ -76,29 +76,21 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
|
|
|
76
76
|
list-style: none;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
/* Scale the number/bullet marker with the item's font (matches the content-builder text block's */
|
|
80
|
-
.ProseMirror li::marker {
|
|
81
|
-
font-size: var(--font-size);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
79
|
/* Highlight the full link range when the cursor is inside it. */
|
|
85
80
|
.ProseMirror .link--active {
|
|
86
81
|
background-color: var(--cx-color-primary-100);
|
|
87
82
|
border-radius: var(--cx-border-radius-x-small);
|
|
88
83
|
}
|
|
89
84
|
|
|
90
|
-
/*
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
.ProseMirror a :is(sub, sup) {
|
|
96
|
-
text-decoration: underline;
|
|
97
|
-
}
|
|
98
|
-
|
|
85
|
+
/* Sits just above the table. TableView.updateButtonPosition() overrides top/transform
|
|
86
|
+
to drop it below the table when there is not enough room above; without this default
|
|
87
|
+
the absolute box falls back to its static position, which is already below the table,
|
|
88
|
+
so the handle rendered under every table instead of over it. */
|
|
99
89
|
.ProseMirror .tableWrapper .floating-button {
|
|
100
90
|
opacity: 0;
|
|
101
91
|
position: absolute;
|
|
92
|
+
top: 0;
|
|
93
|
+
transform: translateY(-100%);
|
|
102
94
|
transition: opacity 0.2s ease-in-out;
|
|
103
95
|
}
|
|
104
96
|
|
|
@@ -239,13 +231,49 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
|
|
|
239
231
|
z-index: 2;
|
|
240
232
|
}
|
|
241
233
|
|
|
234
|
+
/* Tiptap injects these into document.head, which never reaches this shadow root, so the
|
|
235
|
+
caret placed before or after a block rendered as an invisible 0px box. */
|
|
236
|
+
.ProseMirror-gapcursor {
|
|
237
|
+
display: none;
|
|
238
|
+
pointer-events: none;
|
|
239
|
+
position: absolute;
|
|
240
|
+
margin: 0;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.ProseMirror-gapcursor::after {
|
|
244
|
+
content: '';
|
|
245
|
+
display: block;
|
|
246
|
+
position: absolute;
|
|
247
|
+
top: -2px;
|
|
248
|
+
width: 20px;
|
|
249
|
+
border-top: 1px solid var(--cx-color-neutral-900);
|
|
250
|
+
animation: prosemirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
254
|
+
display: block;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
@keyframes prosemirror-cursor-blink {
|
|
258
|
+
to {
|
|
259
|
+
visibility: hidden;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
242
263
|
.ProseMirror table td,
|
|
243
264
|
.ProseMirror table th {
|
|
244
|
-
border: 1px dashed var(--cx-color-neutral-400);
|
|
245
265
|
min-width: 1rem;
|
|
246
266
|
position: relative;
|
|
247
267
|
}
|
|
248
268
|
|
|
269
|
+
/* Authoring guide only: a dashed outline so borderless cells stay visible while editing.
|
|
270
|
+
Read-only surfaces must render the table exactly as the saved HTML describes it,
|
|
271
|
+
otherwise the editor shows borders the preview does not. */
|
|
272
|
+
.ProseMirror[contenteditable='true'] table td,
|
|
273
|
+
.ProseMirror[contenteditable='true'] table th {
|
|
274
|
+
border: 1px dashed var(--cx-color-neutral-400);
|
|
275
|
+
}
|
|
276
|
+
|
|
249
277
|
.ProseMirror table[data-align='center'] {
|
|
250
278
|
margin-left: auto;
|
|
251
279
|
margin-right: auto;
|
|
@@ -57,7 +57,7 @@ import "../components/format-number.js";
|
|
|
57
57
|
import "./format-time.Dx24Hlhc.js";
|
|
58
58
|
import "./grid.CK4PRwur.js";
|
|
59
59
|
import "./grid-item.CSieaU5T.js";
|
|
60
|
-
import "./header.
|
|
60
|
+
import "./header.Ny2fWwyt.js";
|
|
61
61
|
import "./hub-connection.C0CASy-Q.js";
|
|
62
62
|
import "./iframe.C3N5F3yF.js";
|
|
63
63
|
import "./image-comparer.Txi69uYU.js";
|
|
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.C-yzkTnx.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.BFdGIzyC.js";
|
|
12
12
|
import { t as h } from "../chunks/button.F15zfy2d.js";
|
|
13
13
|
import { t as g } from "../chunks/tooltip.EVa9qa8X.js";
|
|
14
14
|
import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
|
|
@@ -59,7 +59,7 @@ import se from "./format-number.js";
|
|
|
59
59
|
import { t as ce } from "../chunks/format-time.Dx24Hlhc.js";
|
|
60
60
|
import { t as le } from "../chunks/grid.CK4PRwur.js";
|
|
61
61
|
import { t as ue } from "../chunks/grid-item.CSieaU5T.js";
|
|
62
|
-
import { t as de } from "../chunks/header.
|
|
62
|
+
import { t as de } from "../chunks/header.Ny2fWwyt.js";
|
|
63
63
|
import { t as fe } from "../chunks/hub-connection.C0CASy-Q.js";
|
|
64
64
|
import { t as pe } from "../chunks/iframe.C3N5F3yF.js";
|
|
65
65
|
import { t as me } from "../chunks/image-comparer.Txi69uYU.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/color-swatch-group.
|
|
1
|
+
import { t as e } from "../chunks/color-swatch-group.WMinusvs.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../chunks/header.
|
|
1
|
+
import { t as e } from "../chunks/header.Ny2fWwyt.js";
|
|
2
2
|
export { e as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as e } from "../chunks/asset-link-format.B-wi80wk.js";
|
|
2
|
-
import { t } from "../chunks/color-swatch-group.
|
|
2
|
+
import { t } from "../chunks/color-swatch-group.WMinusvs.js";
|
|
3
3
|
import { t as n } from "../chunks/file-on-demand.DgSknSTy.js";
|
|
4
4
|
export { e as CxAssetLinkFormat, t as CxColorSwatchGroup, n as CxFileOnDemand };
|