@orangelogic/design-system 4.28.0 → 4.30.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/{asset-link-format.BEJh0Fqs.js → asset-link-format.DLmg4fTR.js} +387 -381
- package/library/chunks/{audio.BZJvTs_4.js → audio.BVQX3_8E.js} +6 -3
- package/library/chunks/{bicolor-picker.C0PxxFzf.js → bicolor-picker.C9XSuhnX.js} +1 -1
- package/library/chunks/{block-width.CU2PEBrV.js → block-width.D0anJjOD.js} +553 -529
- package/library/chunks/{border-input-group.w-T10AEY.js → border-input-group.DESRXoh1.js} +1 -1
- package/library/chunks/{color-picker.CDUhOLEs.js → color-picker.DUEghDon.js} +2 -2
- package/library/chunks/{color-swatch-group.DUskDB_p.js → color-swatch-group.BTrVIgkv.js} +46 -46
- package/library/chunks/{color-swatch.CoiPHwMX.js → color-swatch.CcWp7P5w.js} +2 -2
- package/library/chunks/{config-manager.C9OGzzbe.js → config-manager.gcdPEXK6.js} +17 -17
- package/library/chunks/{configs-controller.D3dYYbfz.js → configs-controller.8izRFSig.js} +26 -26
- package/library/chunks/{document-viewer.C7WOv7ns.js → document-viewer.DZp_IRF7.js} +16 -7
- package/library/chunks/{file-on-demand.DUWFRJnE.js → file-on-demand.C_2vBGS3.js} +3 -3
- package/library/chunks/{header.qIpzHeNc.js → header.BaWpIXRz.js} +5 -5
- package/library/chunks/{image.DzFSYcXq.js → image.BD0t8XU4.js} +1 -1
- package/library/chunks/{masonry.D7YK0FcU.js → masonry.B3G5f-eL.js} +1 -1
- package/library/chunks/{shadow-input-group.C9DU0Ehy.js → shadow-input-group.CFb61kzG.js} +1 -1
- package/library/chunks/src.DKYroWZc.js +720 -0
- package/library/chunks/{src.QS2741a8.js → src.fDrPRx_j.js} +8 -8
- package/library/chunks/{tab-group.DP9EvXFy.js → tab-group.oiueox5q.js} +627 -627
- package/library/chunks/{tab.C2OFvGGj.js → tab.Dd0cNxxc.js} +12 -8
- package/library/chunks/{url.CZO_DV8Y.js → url.BCc06dE7.js} +15 -6
- package/library/chunks/{video.BHfy8igQ.js → video.Ba5xl_3K.js} +1 -1
- package/library/components/asset-link-format.js +1 -1
- package/library/components/atoms.js +9 -9
- package/library/components/audio.js +1 -1
- 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/color-swatch-group.js +1 -1
- package/library/components/color-swatch.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/header.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/molecules.js +5 -5
- package/library/components/organisms.js +3 -3
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/tab-group.js +1 -1
- package/library/components/tab.js +1 -1
- package/library/components/types.js +12189 -12008
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/audio/audio.d.ts +2 -0
- package/library/packages/atoms/src/components/document-viewer/document-viewer.d.ts +6 -0
- package/library/packages/atoms/src/components/tab-group/tab-group.d.ts +65 -7
- package/library/packages/events/src/events.d.ts +0 -4
- package/library/packages/hybrid/rich-text/src/rich-text.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/blocks/audio/audio.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/blocks/button/button.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/blocks/column/column.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/blocks/column-group/column-group.d.ts +5 -0
- package/library/packages/organisms/src/content-builder/blocks/document-viewer/document-viewer.d.ts +8 -0
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +16 -13
- package/library/packages/organisms/src/content-builder/blocks/timeline/timeline.d.ts +0 -2
- package/library/packages/organisms/src/content-builder/blocks/video/video.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/components/template-manager/template-manager.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +17 -1
- package/library/packages/organisms/src/content-builder-viewer/content-builder-viewer.d.ts +15 -6
- package/library/packages/organisms/src/form/control-renderer/control-renderer.d.ts +1 -1
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -1
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +28 -0
- package/library/packages/utils/src/asset-url-mode/asset-url-mode.d.ts +22 -0
- package/library/packages/utils/src/asset-url-mode/index.d.ts +1 -0
- package/library/packages/utils/src/url/url.d.ts +7 -0
- package/library/react-web-component.d.ts +25 -1
- package/library/utils.js +28 -706
- package/package.json +1 -1
- package/library/packages/events/src/cx-image-src-resolved.d.ts +0 -9
- package/library/packages/events/src/cx-timeline-data-resolved.d.ts +0 -9
- package/library/packages/events/src/cx-video-src-resolved.d.ts +0 -8
- package/library/packages/events/src/cx-video-thumbnail-resolved.d.ts +0 -8
|
@@ -5,18 +5,18 @@ import { a as o, c as s, i as c, l, o as u, s as d } from "./resizable-component
|
|
|
5
5
|
import { D as f, E as p, O as m, u as h } from "./string.DamEXDH2.js";
|
|
6
6
|
import { n as g } from "./position-picker.dY_vgF_H.js";
|
|
7
7
|
import { a as _, n as v, o as ee, s as y } from "./src.BJhIYoMP.js";
|
|
8
|
-
import { a as te, i as ne, r as re } from "./tab-group.
|
|
8
|
+
import { a as te, i as ne, r as re } from "./tab-group.oiueox5q.js";
|
|
9
9
|
import { t as ie } from "./parse.CDrJ-NY7.js";
|
|
10
10
|
import { t as ae } from "./toString.r2ImdBrm.js";
|
|
11
11
|
import { t as oe } from "./capitalize.BT_EavGy.js";
|
|
12
|
-
import { a as se, i as ce, n as le, r as ue } from "./document-viewer.
|
|
13
|
-
import {
|
|
12
|
+
import { a as se, i as ce, n as le, r as ue } from "./document-viewer.DZp_IRF7.js";
|
|
13
|
+
import { l as de, p as fe } from "./url.BCc06dE7.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 b, p as ve, s as x } from "./responsive.L9Csz2w2.js";
|
|
16
|
-
import { n as ye, r as be } from "./header.
|
|
16
|
+
import { n as ye, r as be } from "./header.BaWpIXRz.js";
|
|
17
17
|
import { d as xe, f as S, l as C, o as w, s as Se } from "./endpoints.jOHOmF_t.js";
|
|
18
18
|
import { n as Ce } from "./folder-select.CzNXsgl_.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.BTrVIgkv.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
|
|
@@ -1354,7 +1354,7 @@ async function jn({ searchTerm: e = "" }) {
|
|
|
1354
1354
|
return {
|
|
1355
1355
|
data: (await An({ searchTerm: e })).map((e) => ({
|
|
1356
1356
|
label: e.name,
|
|
1357
|
-
value:
|
|
1357
|
+
value: fe(e.absoluteURL) ?? ""
|
|
1358
1358
|
})),
|
|
1359
1359
|
hasMore: !1
|
|
1360
1360
|
};
|
|
@@ -1507,8 +1507,8 @@ var V = class {
|
|
|
1507
1507
|
iconField: "collapse-icon",
|
|
1508
1508
|
iconWidthField: "--collapse-icon-width"
|
|
1509
1509
|
}
|
|
1510
|
-
], H = (e) => !!e.customStyle, Ln = (e) => {
|
|
1511
|
-
let
|
|
1510
|
+
], H = (e) => !!e.customStyle, Ln = (e, t) => {
|
|
1511
|
+
let n = [
|
|
1512
1512
|
{
|
|
1513
1513
|
configOrder: 1,
|
|
1514
1514
|
field: "label",
|
|
@@ -1535,7 +1535,7 @@ var V = class {
|
|
|
1535
1535
|
show: H,
|
|
1536
1536
|
title: e.term("background")
|
|
1537
1537
|
},
|
|
1538
|
-
{
|
|
1538
|
+
...t ? [{
|
|
1539
1539
|
assetTransformationConfigs: {
|
|
1540
1540
|
assetIdKey: "backgroundRecordId",
|
|
1541
1541
|
formatKey: "backgroundFormat",
|
|
@@ -1548,7 +1548,7 @@ var V = class {
|
|
|
1548
1548
|
hidden: !0,
|
|
1549
1549
|
show: (e) => H(e) && !!e.backgroundRecordId,
|
|
1550
1550
|
title: e.term("backgroundFormat")
|
|
1551
|
-
},
|
|
1551
|
+
}] : [],
|
|
1552
1552
|
{
|
|
1553
1553
|
configOrder: 5,
|
|
1554
1554
|
controlType: "radio-group",
|
|
@@ -1574,21 +1574,21 @@ var V = class {
|
|
|
1574
1574
|
show: H,
|
|
1575
1575
|
title: e.term("cropFocus")
|
|
1576
1576
|
}
|
|
1577
|
-
],
|
|
1578
|
-
let i =
|
|
1577
|
+
], r = In.flatMap((t, r) => {
|
|
1578
|
+
let i = n.length + 1 + r * 6;
|
|
1579
1579
|
return [
|
|
1580
1580
|
{
|
|
1581
1581
|
configOrder: i,
|
|
1582
1582
|
controlType: "group-heading",
|
|
1583
|
-
field:
|
|
1583
|
+
field: t.headingField,
|
|
1584
1584
|
hidden: !0,
|
|
1585
1585
|
show: H,
|
|
1586
|
-
title: e.term(
|
|
1586
|
+
title: e.term(t.headingTerm)
|
|
1587
1587
|
},
|
|
1588
1588
|
{
|
|
1589
1589
|
configOrder: i + 1,
|
|
1590
1590
|
controlType: "bicolor-picker",
|
|
1591
|
-
field:
|
|
1591
|
+
field: t.backgroundColorField,
|
|
1592
1592
|
hidden: !0,
|
|
1593
1593
|
show: H,
|
|
1594
1594
|
title: e.term("backgroundColor")
|
|
@@ -1596,7 +1596,7 @@ var V = class {
|
|
|
1596
1596
|
{
|
|
1597
1597
|
configOrder: i + 2,
|
|
1598
1598
|
controlType: "bicolor-picker",
|
|
1599
|
-
field:
|
|
1599
|
+
field: t.colorField,
|
|
1600
1600
|
hidden: !0,
|
|
1601
1601
|
show: H,
|
|
1602
1602
|
title: e.term("textAndIconsColor")
|
|
@@ -1604,7 +1604,7 @@ var V = class {
|
|
|
1604
1604
|
{
|
|
1605
1605
|
configOrder: i + 3,
|
|
1606
1606
|
controlType: "border-input-group",
|
|
1607
|
-
field:
|
|
1607
|
+
field: t.borderField,
|
|
1608
1608
|
hidden: !0,
|
|
1609
1609
|
show: H,
|
|
1610
1610
|
title: e.term("border")
|
|
@@ -1612,7 +1612,7 @@ var V = class {
|
|
|
1612
1612
|
{
|
|
1613
1613
|
configOrder: i + 4,
|
|
1614
1614
|
controlType: "icon-picker",
|
|
1615
|
-
field:
|
|
1615
|
+
field: t.iconField,
|
|
1616
1616
|
hidden: !0,
|
|
1617
1617
|
show: H,
|
|
1618
1618
|
title: e.term("icon")
|
|
@@ -1620,7 +1620,7 @@ var V = class {
|
|
|
1620
1620
|
{
|
|
1621
1621
|
configOrder: i + 5,
|
|
1622
1622
|
controlType: "input",
|
|
1623
|
-
field:
|
|
1623
|
+
field: t.iconWidthField,
|
|
1624
1624
|
hidden: !0,
|
|
1625
1625
|
...z,
|
|
1626
1626
|
show: H,
|
|
@@ -1628,10 +1628,10 @@ var V = class {
|
|
|
1628
1628
|
}
|
|
1629
1629
|
];
|
|
1630
1630
|
});
|
|
1631
|
-
return [...
|
|
1631
|
+
return [...n, ...r];
|
|
1632
1632
|
}, Rn = {
|
|
1633
1633
|
configs: (e, t = {}) => {
|
|
1634
|
-
let n = new V(e), {
|
|
1634
|
+
let n = new V(e), { enableAssetFormatControls: r = !1, enableFontFamilyControls: i = !1 } = t;
|
|
1635
1635
|
return [
|
|
1636
1636
|
...[
|
|
1637
1637
|
"data-content-width-percent",
|
|
@@ -1658,7 +1658,7 @@ var V = class {
|
|
|
1658
1658
|
listEditorConfigs: {
|
|
1659
1659
|
addDialogLabel: e.term("addSection"),
|
|
1660
1660
|
addItemText: e.term("addSection"),
|
|
1661
|
-
columns: Ln(e),
|
|
1661
|
+
columns: Ln(e, r),
|
|
1662
1662
|
displayField: "label",
|
|
1663
1663
|
editDialogLabel: e.term("editSection"),
|
|
1664
1664
|
noHeader: !0,
|
|
@@ -1780,7 +1780,7 @@ var V = class {
|
|
|
1780
1780
|
id: "--header-border-radius",
|
|
1781
1781
|
name: "header-border-radius"
|
|
1782
1782
|
},
|
|
1783
|
-
...
|
|
1783
|
+
...i ? [{
|
|
1784
1784
|
...n.getStyleControl("--font-size"),
|
|
1785
1785
|
id: "--header-font-size",
|
|
1786
1786
|
label: e.term("fontSize"),
|
|
@@ -2162,7 +2162,7 @@ var V = class {
|
|
|
2162
2162
|
id: "click-link",
|
|
2163
2163
|
inputConfigs: { validation: (t) => {
|
|
2164
2164
|
let n = t["click-link"];
|
|
2165
|
-
return
|
|
2165
|
+
return de(n) ? "" : e.term("urlValidationMessage");
|
|
2166
2166
|
} },
|
|
2167
2167
|
label: e.term("link"),
|
|
2168
2168
|
name: "click-link",
|
|
@@ -8546,7 +8546,7 @@ var Mr = {
|
|
|
8546
8546
|
id: "click-link",
|
|
8547
8547
|
inputConfigs: { validation: (t) => {
|
|
8548
8548
|
let n = t["click-link"];
|
|
8549
|
-
return
|
|
8549
|
+
return de(n) ? "" : e.term("urlValidationMessage");
|
|
8550
8550
|
} },
|
|
8551
8551
|
label: e.term("link"),
|
|
8552
8552
|
name: "click-link",
|
|
@@ -10468,7 +10468,7 @@ var qr = {
|
|
|
10468
10468
|
id: "click-link",
|
|
10469
10469
|
inputConfigs: { validation: (t) => {
|
|
10470
10470
|
let n = t["click-link"];
|
|
10471
|
-
return
|
|
10471
|
+
return de(n) ? "" : e.term("urlValidationMessage");
|
|
10472
10472
|
} },
|
|
10473
10473
|
label: e.term("link"),
|
|
10474
10474
|
name: "click-link",
|
|
@@ -22,13 +22,13 @@ import { t as focusWhenVisible } from "./focus-when-visible.DKscgyKo.js";
|
|
|
22
22
|
import { t as input_default } from "./input.B3HfssSr.js";
|
|
23
23
|
import { t as menu_default } from "./menu.BRFXqBpq.js";
|
|
24
24
|
import { t as menu_item_default } from "./menu-item.DS4-vQe3.js";
|
|
25
|
+
import { Y as fetchCortexApi } from "./src.DKYroWZc.js";
|
|
25
26
|
import { t as drawer_default } from "./drawer.BO3puoiw.js";
|
|
26
27
|
import { t as progress_bar_default } from "./progress-bar.Cp8jz3Cn.js";
|
|
27
|
-
import { fetchCortexApi } from "../utils.js";
|
|
28
28
|
import { a as require_react, n as w, r as require_client, t as require_jsx_runtime } from "./jsx-runtime.BqxT1jD6.js";
|
|
29
29
|
import { t as require___vite_browser_external } from "./__vite-browser-external.CMLby1wp.js";
|
|
30
30
|
import { i as _extends, r as _assertThisInitialized, t as _inheritsLoose } from "./inheritsLoose.CmL1ZoPA.js";
|
|
31
|
-
import { t as image_default } from "./image.
|
|
31
|
+
import { t as image_default } from "./image.BD0t8XU4.js";
|
|
32
32
|
//#region ../../packages/types/src/book-reader.ts
|
|
33
33
|
var BookReaderMode$1 = /* @__PURE__ */ function(t) {
|
|
34
34
|
return t.Image = "Image", t.Pdf = "Pdf", t;
|
|
@@ -22319,17 +22319,23 @@ var book_reader_default = CxBookReader, document_viewer_styles_default = i`:host
|
|
|
22319
22319
|
document_viewer_styles_default
|
|
22320
22320
|
];
|
|
22321
22321
|
static #r = this.SUPPORTED_EXTENSIONS = [".pdf", ".pptx"];
|
|
22322
|
+
get documentSource() {
|
|
22323
|
+
return this.src;
|
|
22324
|
+
}
|
|
22325
|
+
get representativeSource() {
|
|
22326
|
+
return this.representative;
|
|
22327
|
+
}
|
|
22322
22328
|
get isPptx() {
|
|
22323
22329
|
return this.extension.toLowerCase() === ".pptx";
|
|
22324
22330
|
}
|
|
22325
22331
|
get isPdf() {
|
|
22326
|
-
return this.isExtensionSupported && (this.isPptx ? !!this.identifier : !!this.
|
|
22332
|
+
return this.isExtensionSupported && (this.isPptx ? !!this.identifier : !!this.documentSource);
|
|
22327
22333
|
}
|
|
22328
22334
|
get isExtensionSupported() {
|
|
22329
22335
|
return _CxDocumentViewer.SUPPORTED_EXTENSIONS.includes(this.extension.toLowerCase());
|
|
22330
22336
|
}
|
|
22331
22337
|
get showExtensionFallback() {
|
|
22332
|
-
return !this.isPdf && !this.
|
|
22338
|
+
return !this.isPdf && !this.representativeSource && !this.isExtensionSupported && !!this.extension;
|
|
22333
22339
|
}
|
|
22334
22340
|
willUpdate(t) {
|
|
22335
22341
|
super.willUpdate(t), (t.has("src") || t.has("representative") || t.has("identifier")) && (this.hasImageError = !1);
|
|
@@ -22344,8 +22350,11 @@ var book_reader_default = CxBookReader, document_viewer_styles_default = i`:host
|
|
|
22344
22350
|
handleImageError() {
|
|
22345
22351
|
this.hasImageError = !0;
|
|
22346
22352
|
}
|
|
22353
|
+
resetImageError() {
|
|
22354
|
+
this.hasImageError = !1;
|
|
22355
|
+
}
|
|
22347
22356
|
renderPdfViewer() {
|
|
22348
|
-
let t = this.isPptx ? `/API/Download/v1_0/GetOriginalLimited?Identifier=${this.identifier}&SourceAction=API_VIEW_DETAILS_TRX&UsePreviewPdf=True` : this.
|
|
22357
|
+
let t = this.isPptx ? `/API/Download/v1_0/GetOriginalLimited?Identifier=${this.identifier}&SourceAction=API_VIEW_DETAILS_TRX&UsePreviewPdf=True` : this.documentSource;
|
|
22349
22358
|
return x`<cx-book-reader part="book-reader" class="document-viewer__book-reader" source-url=${t} book-name=${this.name} book-reader-mode=${BookReaderMode$1.Pdf} role="group" aria-label=${this.name}></cx-book-reader>`;
|
|
22350
22359
|
}
|
|
22351
22360
|
renderExtensionFallback() {
|
|
@@ -22353,11 +22362,11 @@ var book_reader_default = CxBookReader, document_viewer_styles_default = i`:host
|
|
|
22353
22362
|
return x`<div class="document-viewer__extension-fallback"><div class="document-viewer__file-icon"><cx-typography class="document-viewer__extension-label">${t}</cx-typography></div></div>`;
|
|
22354
22363
|
}
|
|
22355
22364
|
renderRepresentativeImage() {
|
|
22356
|
-
let t = this.isPdf, a = t ? "" : this.
|
|
22365
|
+
let t = this.isPdf, a = t ? "" : this.representativeSource;
|
|
22357
22366
|
return !t && !a ? this.showExtensionFallback ? this.renderExtensionFallback() : E : this.hasImageError ? x`<div class="document-viewer__broken"><cx-icon name="hide_image"></cx-icon></div>` : x`<cx-image part="image" class="document-viewer__image" src=${a} alt=${this.name} block object-fit=${ObjectFit.Cover} no-crossorigin @cx-error=${this.handleImageError}></cx-image>`;
|
|
22358
22367
|
}
|
|
22359
22368
|
render() {
|
|
22360
|
-
let t = this.isPdf, a = t ? "" : this.
|
|
22369
|
+
let t = this.isPdf, a = t ? "" : this.representativeSource, o = this.showExtensionFallback;
|
|
22361
22370
|
return x`<div part="base" class=${e({
|
|
22362
22371
|
"document-viewer": !0,
|
|
22363
22372
|
"document-viewer--empty": !t && !a && !o,
|
|
@@ -24,13 +24,13 @@ import { t as ae } from "./input.B3HfssSr.js";
|
|
|
24
24
|
import { t as oe } from "./option.wsYX6Pp-.js";
|
|
25
25
|
import { t as se } from "./space.Dd8jezXK.js";
|
|
26
26
|
import { t as ce } from "./select.v6t2pNH4.js";
|
|
27
|
-
import { t as le } from "./tab.
|
|
28
|
-
import { t as T } from "./tab-group.
|
|
27
|
+
import { t as le } from "./tab.Dd0cNxxc.js";
|
|
28
|
+
import { t as T } from "./tab-group.oiueox5q.js";
|
|
29
29
|
import { t as ue } from "./tab-panel.BxeoKuSv.js";
|
|
30
30
|
import { t as E } from "./dialog.BuirdRW8.js";
|
|
31
31
|
import { t as de } from "./divider.CqSNZCU8.js";
|
|
32
32
|
import { t as fe } from "./progress-bar.Cp8jz3Cn.js";
|
|
33
|
-
import { o as D, u as O } from "./url.
|
|
33
|
+
import { o as D, u as O } from "./url.BCc06dE7.js";
|
|
34
34
|
import k from "../components/format-bytes.js";
|
|
35
35
|
import { t as pe } from "./relative-time.5fu63h4C.js";
|
|
36
36
|
import { a as A, i as me, n as he, t as j } from "./tree.BZvt8Ol0.js";
|
|
@@ -13,7 +13,7 @@ import { t as g } from "./debounce.Ci-xdsHE.js";
|
|
|
13
13
|
import { t as _ } from "./copy-button.BLHge7EN.js";
|
|
14
14
|
import { f as v, n as y, r as b, t as x } from "./responsive.L9Csz2w2.js";
|
|
15
15
|
//#region ../../packages/styles/src/prosemirror.styles.ts
|
|
16
|
-
var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delete{background-color:var(--cx-color-neutral-200);text-decoration:line-through}annotate{background-color:var(--cx-color-warning-200)}.ProseMirror figure[data-track*=deletion] [data-node-type=figure],.ProseMirror cx-rich-text-code-block[data-track*=deletion],.ProseMirror cx-rich-text-image-viewer[data-track*=deletion]{border:3px solid var(--cx-color-neutral);position:relative}.ProseMirror figure[data-track*=deletion] [data-node-type=figure]:after,.ProseMirror cx-rich-text-code-block[data-track*=deletion]:after,.ProseMirror cx-rich-text-image-viewer[data-track*=deletion]:after{content:"";box-sizing:border-box;pointer-events:none;background-image:repeating-linear-gradient(45deg, var(--cx-color-neutral), var(--cx-color-neutral) 10px,
|
|
16
|
+
var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delete{background-color:var(--cx-color-neutral-200);text-decoration:line-through}annotate{background-color:var(--cx-color-warning-200)}.ProseMirror figure[data-track*=deletion] [data-node-type=figure],.ProseMirror cx-rich-text-code-block[data-track*=deletion],.ProseMirror cx-rich-text-image-viewer[data-track*=deletion]{border:3px solid var(--cx-color-neutral);position:relative}.ProseMirror figure[data-track*=deletion] [data-node-type=figure]:after,.ProseMirror cx-rich-text-code-block[data-track*=deletion]:after,.ProseMirror cx-rich-text-image-viewer[data-track*=deletion]:after{content:"";box-sizing:border-box;pointer-events:none;background-image:repeating-linear-gradient(45deg, var(--cx-color-neutral), var(--cx-color-neutral) 10px, var(--rich-text-background-color,var(--cx-color-neutral-0)) 10px, var(--rich-text-background-color,var(--cx-color-neutral-0)) 20px);opacity:.4;width:100%;height:100%;position:absolute;top:0;left:0}.ProseMirror figure[data-track*=insertion] [data-node-type=figure],.ProseMirror cx-rich-text-code-block[data-track*=insertion],.ProseMirror cx-rich-text-image-viewer[data-track*=insertion]{border:3px solid var(--cx-color-success)}.ProseMirror figure[data-track*=annotation] [data-node-type=figure],.ProseMirror cx-rich-text-code-block[data-track*=annotation],.ProseMirror cx-rich-text-image-viewer[data-track*=annotation]{border:3px solid var(--cx-color-warning-200)}`, C = e`
|
|
17
17
|
.column-resize-handle {
|
|
18
18
|
background-color: var(--editor-table-resize-handle-color);
|
|
19
19
|
bottom: -2px;
|
|
@@ -57,7 +57,7 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.ProseMirror {
|
|
60
|
-
--editor-table-resize-handle-color:
|
|
60
|
+
--editor-table-resize-handle-color: var(--rich-text-table-resize-handle-color, var(--cx-color-primary-200));
|
|
61
61
|
outline: none;
|
|
62
62
|
white-space: pre-wrap;
|
|
63
63
|
line-height: normal;
|
|
@@ -95,7 +95,7 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
.ProseMirror code .inline-boundary {
|
|
98
|
-
background-color:
|
|
98
|
+
background-color: var(--cx-color-primary-200);
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
.ProseMirror .code-block-wrapper {
|
|
@@ -334,8 +334,8 @@ var S = e`insert,span[format]{background-color:var(--cx-color-success-200)}delet
|
|
|
334
334
|
:not(pre) > code[class*='language-'] {
|
|
335
335
|
padding: 0.1em 0.3em;
|
|
336
336
|
border-radius: 0.3em;
|
|
337
|
-
color:
|
|
338
|
-
background:
|
|
337
|
+
color: var(--rich-text-inline-code-color, var(--cx-color-danger));
|
|
338
|
+
background: var(--rich-text-inline-code-background-color, var(--cx-color-neutral-100));
|
|
339
339
|
}
|
|
340
340
|
|
|
341
341
|
/*********************************************************
|
|
@@ -17,7 +17,7 @@ import { t as w } from "./resize-observer.D9EHlnZI.js";
|
|
|
17
17
|
import { n as T } from "./position-picker.dY_vgF_H.js";
|
|
18
18
|
import { a as E } from "./src.BJhIYoMP.js";
|
|
19
19
|
import { t as D } from "./space.Dd8jezXK.js";
|
|
20
|
-
import { s as O } from "./url.
|
|
20
|
+
import { s as O } from "./url.BCc06dE7.js";
|
|
21
21
|
import { t as k } from "./keyed.zYwdaCfO.js";
|
|
22
22
|
import { t as A } from "./skeleton.BtwugOTG.js";
|
|
23
23
|
//#region ../../packages/types/src/image.ts
|
|
@@ -13,7 +13,7 @@ import { t as g } from "./tooltip.CGCOh4cQ.js";
|
|
|
13
13
|
import { a as _ } from "./src.BJhIYoMP.js";
|
|
14
14
|
import { t as v } from "./repeat.CKv9FPlC.js";
|
|
15
15
|
import { t as y } from "./space.Dd8jezXK.js";
|
|
16
|
-
import { t as b } from "./image.
|
|
16
|
+
import { t as b } from "./image.BD0t8XU4.js";
|
|
17
17
|
import { t as x } from "./grid.CK4PRwur.js";
|
|
18
18
|
import { t as S } from "./grid-item.CSieaU5T.js";
|
|
19
19
|
import { t as C } from "./sortable.esm.W3y3EWKS.js";
|
|
@@ -6,7 +6,7 @@ import { t as c } from "./repeat.CKv9FPlC.js";
|
|
|
6
6
|
import { t as l } from "./input.B3HfssSr.js";
|
|
7
7
|
import { t as u } from "./space.Dd8jezXK.js";
|
|
8
8
|
import { t as d } from "./input-group.Dmd8XcxL.js";
|
|
9
|
-
import { t as f } from "./bicolor-picker.
|
|
9
|
+
import { t as f } from "./bicolor-picker.C9XSuhnX.js";
|
|
10
10
|
//#region ../../packages/molecules/src/shadow-input-group/shadow-input-group.styles.ts
|
|
11
11
|
var p = t``, m = class extends a {
|
|
12
12
|
constructor(...e) {
|