@orangelogic/design-system 2.211.0 → 2.212.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import f from "../components/copy-button.js";
|
|
2
2
|
import { n as l, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import { c as k } from "./component.styles.CRO4Odto.js";
|
|
4
4
|
import { i as p } from "./lit-element.jLBm65_O.js";
|
|
@@ -9,8 +9,8 @@ import { e as m } from "./query.BBf1UFkC.js";
|
|
|
9
9
|
import { e as u } from "./class-map.BiVq-cVR.js";
|
|
10
10
|
import { o as P } from "./style-map.llVFPd__.js";
|
|
11
11
|
import { n as M } from "./when.Dr1es41R.js";
|
|
12
|
-
import { i as
|
|
13
|
-
const z = p`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,
|
|
12
|
+
import { i as c, u as g } from "./static.UA3G1Deq.js";
|
|
13
|
+
const z = p`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 = p`
|
|
14
14
|
.column-resize-handle {
|
|
15
15
|
background-color: var(--editor-table-resize-handle-color);
|
|
16
16
|
bottom: -2px;
|
|
@@ -54,7 +54,7 @@ const z = p`insert,span[format]{background-color:var(--cx-color-success-200)}del
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
.ProseMirror {
|
|
57
|
-
--editor-table-resize-handle-color:
|
|
57
|
+
--editor-table-resize-handle-color: var(--rich-text-table-resize-handle-color, var(--cx-color-primary-200));
|
|
58
58
|
outline: none;
|
|
59
59
|
white-space: pre-wrap;
|
|
60
60
|
line-height: normal;
|
|
@@ -92,7 +92,7 @@ const z = p`insert,span[format]{background-color:var(--cx-color-success-200)}del
|
|
|
92
92
|
}
|
|
93
93
|
|
|
94
94
|
.ProseMirror code .inline-boundary {
|
|
95
|
-
background-color:
|
|
95
|
+
background-color: var(--cx-color-primary-200);
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
.ProseMirror .code-block-wrapper {
|
|
@@ -321,8 +321,8 @@ const z = p`insert,span[format]{background-color:var(--cx-color-success-200)}del
|
|
|
321
321
|
:not(pre) > code[class*='language-'] {
|
|
322
322
|
padding: 0.1em 0.3em;
|
|
323
323
|
border-radius: 0.3em;
|
|
324
|
-
color:
|
|
325
|
-
background:
|
|
324
|
+
color: var(--rich-text-inline-code-color, var(--cx-color-danger));
|
|
325
|
+
background: var(--rich-text-inline-code-background-color, var(--cx-color-neutral-100));
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
/*********************************************************
|
|
@@ -591,12 +591,12 @@ const z = p`insert,span[format]{background-color:var(--cx-color-success-200)}del
|
|
|
591
591
|
|
|
592
592
|
${z}
|
|
593
593
|
`;
|
|
594
|
-
var t = /* @__PURE__ */ ((e) => (e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e))(t || {}),
|
|
594
|
+
var t = /* @__PURE__ */ ((e) => (e.H1 = "h1", e.H2 = "h2", e.H3 = "h3", e.H4 = "h4", e.H5 = "h5", e.H6 = "h6", e))(t || {}), b = /* @__PURE__ */ ((e) => (e.Center = "center", e.Justify = "justify", e.Left = "left", e.Right = "right", e))(b || {});
|
|
595
595
|
const H = p`:host{--color:light-dark(#000,#fff);--line-height:1.5;--text-align:left;--padding:0;width:100%;display:block}:host([alignment=center]) .container{--text-align:center;justify-content:center}:host([alignment=right]) .container{--text-align:right;flex-direction:row-reverse}:host([alignment=left]) .container{--text-align:left;justify-content:flex-start}:host([alignment=justify]) .container{--text-align:justify;justify-content:flex-start}.container{padding:var(--padding,0px);flex-direction:row;align-items:center;display:flex}.container ::slotted(p),.container p{line-height:var(--line-height,1.5);word-wrap:break-word}.heading{color:var(--color);font-family:var(--font-family), var(--cx-font-sans);font-style:var(--font-style,normal);text-align:var(--text-align,left);max-width:100%;min-height:calc(var(--line-height,1) * 1em);flex:auto;min-height:1lh;margin-block:0}.container.container--has-copy-button .heading{flex:none;max-width:calc(100% - 32px)}.copy-button{opacity:0;transition:opacity var(--cx-transition-fast);color:var(--cx-color-neutral-600);pointer-events:none;user-select:none;line-height:0}.container:hover .copy-button,.copy-button:focus-within{opacity:1;pointer-events:auto;user-select:auto}.heading-1{font-size:var(--cx-font-size-3x-large);font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-3x-large))}.heading-2{font-size:var(--cx-font-size-2x-large);font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-3x-large))}.heading-3{font-size:var(--cx-font-size-x-large);font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-2x-large))}.heading-4{font-size:var(--cx-font-size-large);font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-x-large))}.heading-5{font-size:var(--cx-font-size-medium);font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-large))}.heading-6{font-size:var(--cx-font-size-small);font-weight:var(--font-weight,var(--cx-font-weight-semibold));line-height:var(--line-height,var(--cx-line-height-medium))}:host([custom-line-height]) .heading{line-height:unset}`;
|
|
596
|
-
var L = Object.defineProperty, A = Object.getOwnPropertyDescriptor, n = (e, r, a,
|
|
597
|
-
for (var i =
|
|
598
|
-
(h = e[d]) && (i = (
|
|
599
|
-
return
|
|
596
|
+
var L = Object.defineProperty, A = Object.getOwnPropertyDescriptor, n = (e, r, a, s) => {
|
|
597
|
+
for (var i = s > 1 ? void 0 : s ? A(r, a) : r, d = e.length - 1, h; d >= 0; d--)
|
|
598
|
+
(h = e[d]) && (i = (s ? h(r, a, i) : h(i)) || i);
|
|
599
|
+
return s && i && L(r, a, i), i;
|
|
600
600
|
};
|
|
601
601
|
const S = {
|
|
602
602
|
[t.H1]: "heading-1",
|
|
@@ -606,16 +606,16 @@ const S = {
|
|
|
606
606
|
[t.H5]: "heading-5",
|
|
607
607
|
[t.H6]: "heading-6"
|
|
608
608
|
}, T = {
|
|
609
|
-
[t.H1]:
|
|
610
|
-
[t.H2]:
|
|
611
|
-
[t.H3]:
|
|
612
|
-
[t.H4]:
|
|
613
|
-
[t.H5]:
|
|
614
|
-
[t.H6]:
|
|
609
|
+
[t.H1]: c`h1`,
|
|
610
|
+
[t.H2]: c`h2`,
|
|
611
|
+
[t.H3]: c`h3`,
|
|
612
|
+
[t.H4]: c`h4`,
|
|
613
|
+
[t.H5]: c`h5`,
|
|
614
|
+
[t.H6]: c`h6`
|
|
615
615
|
};
|
|
616
616
|
let o = class extends x {
|
|
617
617
|
constructor() {
|
|
618
|
-
super(), this.localize = new w(this), this.variant = t.H6, this.fontSize = void 0, this.hasAnchorLink = !1, this.anchorLink = "", this.alignment =
|
|
618
|
+
super(), this.localize = new w(this), this.variant = t.H6, this.fontSize = void 0, this.hasAnchorLink = !1, this.anchorLink = "", this.alignment = b.Left, this.disabledCopyButton = !1, this.customLineHeight = !1, this.cms5PageReadyTimeout = null, this.scrollToAnchor = () => {
|
|
619
619
|
const e = this.getAnchorID();
|
|
620
620
|
!e || e !== this.anchorID || this.scrollIntoView({
|
|
621
621
|
block: "start"
|
|
@@ -711,7 +711,7 @@ o.styles = [
|
|
|
711
711
|
H
|
|
712
712
|
];
|
|
713
713
|
o.dependencies = {
|
|
714
|
-
"cx-copy-button":
|
|
714
|
+
"cx-copy-button": f
|
|
715
715
|
};
|
|
716
716
|
n([
|
|
717
717
|
m("slot")
|
|
@@ -747,7 +747,7 @@ o = n([
|
|
|
747
747
|
v("cx-header")
|
|
748
748
|
], o);
|
|
749
749
|
export {
|
|
750
|
-
|
|
750
|
+
b as A,
|
|
751
751
|
o as C,
|
|
752
752
|
t as V
|
|
753
753
|
};
|
|
@@ -33,7 +33,7 @@ import { default as Se } from "./format-number.js";
|
|
|
33
33
|
import { default as De } from "./format-time.js";
|
|
34
34
|
import { default as we } from "./grid.js";
|
|
35
35
|
import { default as he } from "./grid-item.js";
|
|
36
|
-
import { C as Pe } from "../chunks/header.
|
|
36
|
+
import { C as Pe } from "../chunks/header.CB8GuYBG.js";
|
|
37
37
|
import { C as Me } from "../chunks/hub-connection.BtevPWYb.js";
|
|
38
38
|
import { f } from "../chunks/icon.CpHbi8tH.js";
|
|
39
39
|
import { C as Fe } from "../chunks/icon.CpHbi8tH.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./copy-button.js";
|
|
2
2
|
import "../chunks/lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import "../chunks/component.styles.CRO4Odto.js";
|
|
4
|
-
import { C as x } from "../chunks/header.
|
|
4
|
+
import { C as x } from "../chunks/header.CB8GuYBG.js";
|
|
5
5
|
import "../chunks/custom-element.L4WJXn1j.js";
|
|
6
6
|
import "../chunks/i18n.DbXTTLXx.js";
|
|
7
7
|
import "../chunks/watch.DJF5K-8U.js";
|