@orangelogic/design-system 3.67.0 → 3.69.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.
Files changed (71) hide show
  1. package/library/chunks/{abnfDiagram-N423BO3Z.BdDkSL0S.js → abnfDiagram-N423BO3Z.H1zwr_k6.js} +3 -3
  2. package/library/chunks/{architectureDiagram-T3A2C74G.BPW98p0m.js → architectureDiagram-T3A2C74G.AxjW1Pvo.js} +5 -5
  3. package/library/chunks/{block-width.DJlTVJlj.js → block-width.CloTv8Nc.js} +1 -1
  4. package/library/chunks/{blockDiagram-VBNYF7ZC.2el4_mfU.js → blockDiagram-VBNYF7ZC.BA5YJ5tg.js} +6 -6
  5. package/library/chunks/{c4Diagram-5PPSVZJV.CB1meuC0.js → c4Diagram-5PPSVZJV.B1weqOqz.js} +3 -3
  6. package/library/chunks/{channel.Df7qi9B0.js → channel.Bqlqmufs.js} +1 -1
  7. package/library/chunks/{chunk-2GRJ4B5K.gGaxW0lA.js → chunk-2GRJ4B5K.BOBf1_FX.js} +1 -1
  8. package/library/chunks/{chunk-4I5QYGJK.BfgT5lel.js → chunk-4I5QYGJK.DfO_P7bO.js} +1 -1
  9. package/library/chunks/{chunk-5RXB4S5H.CF2ZeQiS.js → chunk-5RXB4S5H.oisV3Q1b.js} +5 -5
  10. package/library/chunks/{chunk-6Q2QTUOP.BKuPYCzj.js → chunk-6Q2QTUOP.ByglL7sM.js} +2 -2
  11. package/library/chunks/{chunk-7Z6QIM7H.ChD5saA-.js → chunk-7Z6QIM7H.BXSFN_6B.js} +6 -6
  12. package/library/chunks/{chunk-GF5L2VYU.D7Kyf8tv.js → chunk-GF5L2VYU.BBRVN_Sz.js} +5 -5
  13. package/library/chunks/{chunk-I66GZJ75.H0-SV6eJ.js → chunk-I66GZJ75.lUTR0Zxp.js} +1 -1
  14. package/library/chunks/{chunk-JQJVKLGR.vSmZrVfn.js → chunk-JQJVKLGR.dOAJ_eec.js} +7 -7
  15. package/library/chunks/{chunk-KBJHAD2P.BFtv98WB.js → chunk-KBJHAD2P.Bfz5cQAa.js} +1 -1
  16. package/library/chunks/{chunk-NSK5VX7P.CigvU-YZ.js → chunk-NSK5VX7P.BkWzMz1o.js} +1 -1
  17. package/library/chunks/{chunk-QR6OTTB3.DXgKvg29.js → chunk-QR6OTTB3.DyBl4spZ.js} +6 -6
  18. package/library/chunks/{chunk-UBXNYLIW.Cwnmh6rE.js → chunk-UBXNYLIW.BjkOeuJd.js} +2 -2
  19. package/library/chunks/{chunk-W5SLKNZC.BGc7e7pD.js → chunk-W5SLKNZC.DzlXmWcA.js} +1 -1
  20. package/library/chunks/{chunk-WRU74C26.DI6bT2w6.js → chunk-WRU74C26.BDl8PZFV.js} +3 -3
  21. package/library/chunks/{classDiagram-JCYQIIEL.64BYmngb.js → classDiagram-JCYQIIEL.P36yteOv.js} +12 -12
  22. package/library/chunks/{classDiagram-v2-OCEON4UE.BZauU1et.js → classDiagram-v2-OCEON4UE.C05djrx3.js} +12 -12
  23. package/library/chunks/{config-manager.e-4cpoFX.js → config-manager.Dga8yCuU.js} +1 -1
  24. package/library/chunks/{cynefinDiagram-MW4NZA55.DcUv6X--.js → cynefinDiagram-MW4NZA55.CN3dX-zy.js} +3 -3
  25. package/library/chunks/{dagre-VZM6K2ZE.REv4K_Qj.js → dagre-VZM6K2ZE.DpSsP2YW.js} +8 -8
  26. package/library/chunks/{diagram-7IWD3JNH.C6XfUay-.js → diagram-7IWD3JNH.C3K0gCHG.js} +4 -4
  27. package/library/chunks/{diagram-B4RE2ZJO.Bp-nT294.js → diagram-B4RE2ZJO.BULgC23C.js} +2 -2
  28. package/library/chunks/{diagram-LBJQPF4R.DM8MEbI5.js → diagram-LBJQPF4R.BmYYTkym.js} +3 -3
  29. package/library/chunks/{diagram-Q27KOJAE.DYhFE9pI.js → diagram-Q27KOJAE.Bj5ayV3p.js} +5 -5
  30. package/library/chunks/{diagram-UB23O5K3.BONLndDU.js → diagram-UB23O5K3.Bu_lTx_A.js} +3 -3
  31. package/library/chunks/{ebnfDiagram-BXEA7PRR.vgCVWkh_.js → ebnfDiagram-BXEA7PRR.Cg96HHIs.js} +3 -3
  32. package/library/chunks/{erDiagram-JOGREHBK.l02-sIjI.js → erDiagram-JOGREHBK.CrJ962th.js} +11 -11
  33. package/library/chunks/flowDiagram-UKHOOZJN.Bj_loY7-.js +16 -0
  34. package/library/chunks/{ganttDiagram-PKOTCBZU.CD-H_noy.js → ganttDiagram-PKOTCBZU.D216_p5R.js} +2 -2
  35. package/library/chunks/{gitGraphDiagram-DS77QQ5N.eu4pijfq.js → gitGraphDiagram-DS77QQ5N.BGTaYiUE.js} +2 -2
  36. package/library/chunks/{infoDiagram-6WML65LV.Xm33NlcD.js → infoDiagram-6WML65LV.BHVojFJh.js} +2 -2
  37. package/library/chunks/{ishikawaDiagram-WSZJBQD7.B-DjIT2K.js → ishikawaDiagram-WSZJBQD7.nZsYnPcQ.js} +3 -3
  38. package/library/chunks/{journeyDiagram-NVQOT4AX.ByuFaAO4.js → journeyDiagram-NVQOT4AX.BXUxAk98.js} +2 -2
  39. package/library/chunks/{kanban-definition-27J2QSJJ.BEAgE6i7.js → kanban-definition-27J2QSJJ.Bg8-oEtc.js} +8 -8
  40. package/library/chunks/{katex.DaGFosgJ.js → katex.BqirFtOb.js} +1 -1
  41. package/library/chunks/katex.KcI9vfm6.js +21947 -0
  42. package/library/chunks/{markdown.Ce5rh6vN.js → markdown.C1P0ctPs.js} +186 -99
  43. package/library/chunks/{mermaid.core.CUTdrxBG.js → mermaid.core.m1JI7kDY.js} +48 -48
  44. package/library/chunks/{mindmap-definition-FAOFIHXS.rbw_pav-.js → mindmap-definition-FAOFIHXS.DwjOzYq5.js} +10 -10
  45. package/library/chunks/{pegDiagram-VL7TDLO6.BAxarQjC.js → pegDiagram-VL7TDLO6.BaVddVr3.js} +3 -3
  46. package/library/chunks/{pieDiagram-7S7Q4E2Y.Du6akIPM.js → pieDiagram-7S7Q4E2Y.lZiCqBKs.js} +3 -3
  47. package/library/chunks/{quadrantDiagram-CIZ2JOQS.0LTMJXU8.js → quadrantDiagram-CIZ2JOQS.DswnHa_z.js} +1 -1
  48. package/library/chunks/{railroadDiagram-AXF67PYL.BU5cQCmX.js → railroadDiagram-AXF67PYL.RYtWvnP4.js} +3 -3
  49. package/library/chunks/{requirementDiagram-LRYGKXZP.BM4tLaE8.js → requirementDiagram-LRYGKXZP.BhxZAEJL.js} +10 -10
  50. package/library/chunks/{sankeyDiagram-W5VNT64P.r2kIOMLC.js → sankeyDiagram-W5VNT64P.Dk8npZSg.js} +1 -1
  51. package/library/chunks/{sequenceDiagram-SI44F4Z6.CJ50A-EW.js → sequenceDiagram-SI44F4Z6.BNjBc769.js} +4 -4
  52. package/library/chunks/{src.CMHHq5o2.js → src.dACFJV5g.js} +1 -1
  53. package/library/chunks/{stateDiagram-OKZ733FA.DZ7h0fa_.js → stateDiagram-OKZ733FA.DkiIgxjd.js} +12 -12
  54. package/library/chunks/{stateDiagram-v2-UEYNNEHI.BhaYePWf.js → stateDiagram-v2-UEYNNEHI.oVj_Ex1_.js} +12 -12
  55. package/library/chunks/{swimlanes-SLNWSIFB.B31m3AJi.js → swimlanes-SLNWSIFB.DKU7qXJ7.js} +8 -8
  56. package/library/chunks/{swimlanesDiagram-ULZ7WXOC.DkcvdPqC.js → swimlanesDiagram-ULZ7WXOC.DYwYMO_K.js} +12 -12
  57. package/library/chunks/{timeline-definition-Z64GVDOM.CNKRW4xi.js → timeline-definition-Z64GVDOM.agRZ87Zs.js} +3 -3
  58. package/library/chunks/{vennDiagram-T6HMQDX7.CObwvEEr.js → vennDiagram-T6HMQDX7.Cd9lVObe.js} +3 -3
  59. package/library/chunks/{wardleyDiagram-T6FBY63Y.BTL3nwWJ.js → wardleyDiagram-T6FBY63Y.yCklp5Oa.js} +3 -3
  60. package/library/chunks/{xychartDiagram-ELKLHX3M.DMDlz8tK.js → xychartDiagram-ELKLHX3M.CLuRN0XK.js} +5 -5
  61. package/library/components/atoms.js +2 -2
  62. package/library/components/markdown.js +1 -1
  63. package/library/components/types.js +6 -6
  64. package/library/package.json +1 -1
  65. package/library/packages/atoms/src/components/markdown/markdown.d.ts +12 -3
  66. package/library/packages/atoms/src/components/markdown/parser.d.ts +7 -2
  67. package/library/packages/tools/src/tiptap/utils/md/schema.d.ts +1 -1
  68. package/library/packages/types/src/markdown.d.ts +5 -0
  69. package/library/react-web-component.d.ts +4 -0
  70. package/package.json +1 -1
  71. package/library/chunks/flowDiagram-UKHOOZJN.BoFivhJR.js +0 -16
@@ -1,19 +1,19 @@
1
- import "./chunk-NSK5VX7P.CigvU-YZ.js";
1
+ import "./chunk-NSK5VX7P.BkWzMz1o.js";
2
2
  import { n as e } from "./chunk-Y2CYZVJY.BAad7w_K.js";
3
3
  import "./chunk-X3CZISLH.D200o-iZ.js";
4
- import "./chunk-I66GZJ75.H0-SV6eJ.js";
5
- import "./chunk-4I5QYGJK.BfgT5lel.js";
6
- import "./chunk-WRU74C26.DI6bT2w6.js";
4
+ import "./chunk-I66GZJ75.lUTR0Zxp.js";
5
+ import "./chunk-4I5QYGJK.DfO_P7bO.js";
6
+ import "./chunk-WRU74C26.BDl8PZFV.js";
7
7
  import "./chunk-7BUUIJ7U.2HaDAqLO.js";
8
- import "./chunk-UBXNYLIW.Cwnmh6rE.js";
9
- import "./chunk-2GRJ4B5K.gGaxW0lA.js";
8
+ import "./chunk-UBXNYLIW.BjkOeuJd.js";
9
+ import "./chunk-2GRJ4B5K.BOBf1_FX.js";
10
10
  import "./chunk-XXDRQBXY.BwfXrXWR.js";
11
- import "./chunk-KBJHAD2P.BFtv98WB.js";
12
- import "./chunk-W5SLKNZC.BGc7e7pD.js";
13
- import "./chunk-QR6OTTB3.DXgKvg29.js";
14
- import "./chunk-7Z6QIM7H.ChD5saA-.js";
15
- import { r as t, t as n } from "./chunk-JQJVKLGR.vSmZrVfn.js";
16
- import "./mermaid.core.CUTdrxBG.js";
11
+ import "./chunk-KBJHAD2P.Bfz5cQAa.js";
12
+ import "./chunk-W5SLKNZC.DzlXmWcA.js";
13
+ import "./chunk-QR6OTTB3.DyBl4spZ.js";
14
+ import "./chunk-7Z6QIM7H.BXSFN_6B.js";
15
+ import { r as t, t as n } from "./chunk-JQJVKLGR.dOAJ_eec.js";
16
+ import "./mermaid.core.m1JI7kDY.js";
17
17
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-ULZ7WXOC.mjs
18
18
  var r = n({
19
19
  defaultLayout: "swimlane",
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "./arc.gkkIdLe-.js";
2
- import { p as t } from "./chunk-NSK5VX7P.CigvU-YZ.js";
2
+ import { p as t } from "./chunk-NSK5VX7P.BkWzMz1o.js";
3
3
  import { f as n } from "./src.CLGAM3OO.js";
4
4
  import "./src.CmKw4853.js";
5
5
  import { n as r, t as i } from "./chunk-Y2CYZVJY.BAad7w_K.js";
6
6
  import { t as a } from "./chunk-X3CZISLH.D200o-iZ.js";
7
- import { $ as o, J as s, a as c, b as l, et as u, nt as d, o as f, x as p } from "./chunk-I66GZJ75.H0-SV6eJ.js";
8
- import { a as m } from "./mermaid.core.CUTdrxBG.js";
7
+ import { $ as o, J as s, a as c, b as l, et as u, nt as d, o as f, x as p } from "./chunk-I66GZJ75.lUTR0Zxp.js";
8
+ import { a as m } from "./mermaid.core.m1JI7kDY.js";
9
9
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-Z64GVDOM.mjs
10
10
  var h = (function() {
11
11
  var e = /* @__PURE__ */ r(function(e, t, n, r) {
@@ -1,11 +1,11 @@
1
- import { i as e } from "./chunk-NSK5VX7P.CigvU-YZ.js";
1
+ import { i as e } from "./chunk-NSK5VX7P.BkWzMz1o.js";
2
2
  import { f as t } from "./src.CLGAM3OO.js";
3
3
  import "./src.CmKw4853.js";
4
4
  import { n } from "./chunk-Y2CYZVJY.BAad7w_K.js";
5
5
  import "./chunk-X3CZISLH.D200o-iZ.js";
6
- import { $ as r, H as i, K as a, U as o, a as s, b as c, c as l, et as u, f as d, nt as f, tt as p, v as m, w as h, y as g } from "./chunk-I66GZJ75.H0-SV6eJ.js";
6
+ import { $ as r, H as i, K as a, U as o, a as s, b as c, c as l, et as u, f as d, nt as f, tt as p, v as m, w as h, y as g } from "./chunk-I66GZJ75.lUTR0Zxp.js";
7
7
  import { t as _ } from "./rough.esm.XhrPyaQA.js";
8
- import { a as v } from "./mermaid.core.CUTdrxBG.js";
8
+ import { a as v } from "./mermaid.core.m1JI7kDY.js";
9
9
  //#region ../../node_modules/khroma/dist/methods/transparentize.js
10
10
  var y = (e, t) => p(e, "a", -t), b = 1e-10;
11
11
  function x(e, t) {
@@ -1,10 +1,10 @@
1
- import { i as e } from "./chunk-NSK5VX7P.CigvU-YZ.js";
1
+ import { i as e } from "./chunk-NSK5VX7P.BkWzMz1o.js";
2
2
  import { n as t } from "./mermaid-parser.core.f6cjPNyo.js";
3
3
  import { n } from "./chunk-Y2CYZVJY.BAad7w_K.js";
4
4
  import { t as r } from "./chunk-X3CZISLH.D200o-iZ.js";
5
- import { D as i, H as a, K as o, U as s, a as c, b as l, c as u, v as d, w as f, x as p, y as m } from "./chunk-I66GZJ75.H0-SV6eJ.js";
5
+ import { D as i, H as a, K as o, U as s, a as c, b as l, c as u, v as d, w as f, x as p, y as m } from "./chunk-I66GZJ75.lUTR0Zxp.js";
6
6
  import { t as h } from "./chunk-JWPE2WC7.BoG1jLCe.js";
7
- import { a as g } from "./mermaid.core.CUTdrxBG.js";
7
+ import { a as g } from "./mermaid.core.m1JI7kDY.js";
8
8
  //#region ../../node_modules/mermaid/dist/chunks/mermaid.core/wardleyDiagram-T6FBY63Y.mjs
9
9
  var _ = /* @__PURE__ */ n((e, t) => {
10
10
  let n = e <= 1 ? e * 100 : e;
@@ -1,5 +1,5 @@
1
1
  import { s as e } from "./step.DttniOF5.js";
2
- import { i as t } from "./chunk-NSK5VX7P.CigvU-YZ.js";
2
+ import { i as t } from "./chunk-NSK5VX7P.BkWzMz1o.js";
3
3
  import { t as n } from "./linear.D9Qu8S4t.js";
4
4
  import { t as r } from "./ordinal.WFAEE_qr.js";
5
5
  import { t as i } from "./range.CoZro1N3.js";
@@ -7,10 +7,10 @@ import "./src.CmKw4853.js";
7
7
  import { t as a } from "./init.CFNf60QB.js";
8
8
  import { n as o } from "./chunk-Y2CYZVJY.BAad7w_K.js";
9
9
  import { t as s } from "./chunk-X3CZISLH.D200o-iZ.js";
10
- import { D as c, H as l, K as u, U as d, a as f, b as p, c as m, f as h, v as g, w as _, y as v, z as y } from "./chunk-I66GZJ75.H0-SV6eJ.js";
11
- import "./chunk-4I5QYGJK.BfgT5lel.js";
12
- import { t as b } from "./chunk-WRU74C26.DI6bT2w6.js";
13
- import { a as x } from "./mermaid.core.CUTdrxBG.js";
10
+ import { D as c, H as l, K as u, U as d, a as f, b as p, c as m, f as h, v as g, w as _, y as v, z as y } from "./chunk-I66GZJ75.lUTR0Zxp.js";
11
+ import "./chunk-4I5QYGJK.DfO_P7bO.js";
12
+ import { t as b } from "./chunk-WRU74C26.BDl8PZFV.js";
13
+ import { a as x } from "./mermaid.core.m1JI7kDY.js";
14
14
  //#region ../../node_modules/d3-scale/src/band.js
15
15
  function S() {
16
16
  var e = r().unknown(void 0), t = e.domain, n = e.range, o = 0, s = 1, c, l, u = !1, d = 0, f = 0, p = .5;
@@ -8,7 +8,7 @@ import { t as c } from "../chunks/alert.D8Gwfkvy.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.CMHHq5o2.js";
11
+ import { n as f, r as p, t as m } from "../chunks/src.dACFJV5g.js";
12
12
  import { t as h } from "../chunks/button.Cgunf6cP.js";
13
13
  import { t as g } from "../chunks/tooltip.fZNjia6Z.js";
14
14
  import { t as _ } from "../chunks/resize-observer.D9EHlnZI.js";
@@ -65,7 +65,7 @@ import { t as pe } from "../chunks/iframe.DsOaw03m.js";
65
65
  import { t as me } from "../chunks/image-comparer.FB0ZzA0d.js";
66
66
  import { t as he } from "../chunks/include.BFoCwNnq.js";
67
67
  import { t as ge } from "../chunks/input-group.Dmd8XcxL.js";
68
- import { t as _e } from "../chunks/markdown.Ce5rh6vN.js";
68
+ import { t as _e } from "../chunks/markdown.C1P0ctPs.js";
69
69
  import { t as ve } from "../chunks/menu-label.B-FOyfAX.js";
70
70
  import { t as ye } from "../chunks/menu-section.BzzA6L5E.js";
71
71
  import { t as be } from "../chunks/mutation-observer.CD5prBIP.js";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../chunks/markdown.Ce5rh6vN.js";
1
+ import { t as e } from "../chunks/markdown.C1P0ctPs.js";
2
2
  export { e as default };
@@ -24,7 +24,7 @@ import { t as ue } from "../chunks/alert.D8Gwfkvy.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.CMHHq5o2.js";
27
+ import { n as pe, r as me, t as he } from "../chunks/src.dACFJV5g.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.Cgunf6cP.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.QYln-UUK.js";
39
39
  import { t as jt } from "../chunks/tag.DJEoemdS.js";
40
40
  import { t as Mt } from "../chunks/array-line-clamp.Cjkk2XeX.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.DJlTVJlj.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.CloTv8Nc.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";
@@ -122,7 +122,7 @@ import { n as Bo, t as Vo } from "../chunks/iframe.DsOaw03m.js";
122
122
  import { t as Ho } from "../chunks/image-comparer.FB0ZzA0d.js";
123
123
  import { t as Uo } from "../chunks/include.BFoCwNnq.js";
124
124
  import { t as Wo } from "../chunks/input-group.Dmd8XcxL.js";
125
- import { a as Go, i as Ko, n as qo, o as Jo, r as Yo, t as Xo } from "../chunks/markdown.Ce5rh6vN.js";
125
+ import { a as Go, i as Ko, n as qo, o as Jo, r as Yo, t as Xo } from "../chunks/markdown.C1P0ctPs.js";
126
126
  import { t as Zo } from "../chunks/menu-label.B-FOyfAX.js";
127
127
  import { t as Qo } from "../chunks/menu-section.BzzA6L5E.js";
128
128
  import { t as $o } from "../chunks/mutation-observer.CD5prBIP.js";
@@ -39572,7 +39572,7 @@ var BR = zR, VR = {
39572
39572
  summary: r,
39573
39573
  title: i
39574
39574
  });
39575
- return r`<cx-markdown markdown=${e.trim() ? e : "<p></p>"} .extensions=${[{
39575
+ return r`<cx-markdown show-math-notation markdown=${e.trim() ? e : "<p></p>"} .extensions=${[{
39576
39576
  level: "inline",
39577
39577
  name: "cite",
39578
39578
  renderer({ id: e }) {
@@ -95188,7 +95188,7 @@ var oEe = [
95188
95188
  return this.mappedSupportedLanguages.length > 1;
95189
95189
  }
95190
95190
  ensureConfigUi() {
95191
- return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.e-4cpoFX.js"), import("../chunks/configs-controller._AG3aEMg.js").then((e) => e.n)]).then(async ([, e]) => {
95191
+ return this.configUiPromise ??= Promise.all([import("../chunks/config-manager.Dga8yCuU.js"), import("../chunks/configs-controller._AG3aEMg.js").then((e) => e.n)]).then(async ([, e]) => {
95192
95192
  this.configsController ??= new e.default(this.localize), await customElements.whenDefined("cx-config-manager"), await this.configManager?.updateComplete;
95193
95193
  });
95194
95194
  }
@@ -104252,7 +104252,7 @@ l([p("cx-carousel"), u("design:type", $P === void 0 ? Object : $P)], i9.prototyp
104252
104252
  u("design:paramtypes", []),
104253
104253
  u("design:returntype", void 0)
104254
104254
  ], i9.prototype, "handleDataChange", null), i9 = l([C("cx-lightbox")], i9);
104255
- var iOe = i9, aOe = i`:host{--width:100px;--icon-spacing:var(--cx-spacing-x-small);--color:light-dark(#000,#fff);--border-color:light-dark(#000,#fff);--background-color:light-dark(#0000,#0000);--border-radius:8px;--box-shadow:0px 0px 0px 0px light-dark(#0000,#0000);--icon-color:light-dark(#2563eb,#2563eb);--icon-size:var(--cx-font-size-3x-large);--border:var(--border-color,light-dark(#0000,#0000)) 1px;--placeholder-color:var(--cx-input-placeholder-color);--search-box-custom-height:32px;--search-box-custom-padding:4px 8px 4px 8px;--search-box-custom-font-size:var(--cx-font-size-medium);width:var(--width);max-width:100%;transition:width .3s ease-in-out;display:block}:host([width-type=fill]),:host([width-type=adaptive][device-type=tablet]),:host([width-type=adaptive][device-type=mobile]),.search-box,.search-box cx-select{width:100%}:host([appearance=custom]) .search-box cx-select{--cx-input-color:var(--color);--cx-input-color-hover:var(--color);--cx-input-icon-color:var(--color);--cx-input-placeholder-color:var(--placeholder-color)}.search-box cx-select::part(expand-icon){display:none}.search-box[has-options] cx-select::part(expand-icon){display:flex}.search-box cx-select::part(combobox){border-radius:var(--border-radius);padding-inline-start:var(--cx-spacing-x-small)}:host([appearance=custom]) .search-box cx-select::part(combobox){color:var(--color);border:var(--border);background-color:var(--background-color);box-shadow:var(--box-shadow);border-style:solid}.search-box cx-select[size=large]::part(combobox){padding-inline-start:var(--cx-spacing-small)}:host([size=custom]) .search-box cx-select::part(combobox){min-height:var(--search-box-custom-height);padding:var(--search-box-custom-padding)}.search-box cx-select::part(display-input){font-family:var(--search-box-custom-font-family,var(--cx-input-font-family)), var(--cx-font-sans);font-size:var(--search-box-custom-font-size);font-style:var(--search-box-custom-font-style,normal);font-weight:var(--search-box-custom-font-weight,var(--cx-font-weight-regular))}.icon-button{margin-inline-end:var(--icon-spacing)}:host([appearance=custom]) .icon-button{--font-size:var(--icon-size);color:var(--icon-color)}.search-box__icon--enabled .icon-button::part(base){cursor:pointer}.icon-button::part(base){cursor:default;min-width:0;min-height:0;padding:0}:host([appearance=custom]) .search-box cx-option::part(base){color:var(--color)}`, oOe = "AC_KeywordsFrontEnd_Filter", sOe = 50, cOe = "AC_KeywordsFrontEnd_MainSearch_Query", a9 = class extends d {
104255
+ var iOe = i9, aOe = i`:host{--width:100px;--icon-spacing:var(--cx-spacing-x-small);--color:light-dark(#000,#fff);--border-color:light-dark(#000,#fff);--background-color:light-dark(#0000,#0000);--border-radius:8px;--box-shadow:0px 0px 0px 0px light-dark(#0000,#0000);--icon-color:light-dark(#2563eb,#2563eb);--icon-size:var(--cx-font-size-3x-large);--border:var(--border-color,light-dark(#0000,#0000)) 1px;--placeholder-color:var(--cx-input-placeholder-color);--search-box-custom-height:32px;--search-box-custom-padding:4px 8px 4px 8px;--search-box-custom-font-size:var(--cx-font-size-medium);width:var(--width);max-width:100%;transition:width .3s ease-in-out;display:block}:host([width-type=fill]),:host([width-type=adaptive][device-type=tablet]),:host([width-type=adaptive][device-type=mobile]),.search-box,.search-box cx-select{width:100%}:host([appearance=custom]) .search-box cx-select{--cx-input-color:var(--color);--cx-input-color-hover:var(--color);--cx-input-icon-color:var(--color);--cx-input-placeholder-color:var(--placeholder-color)}.search-box cx-select::part(expand-icon){color:var(--cx-input-icon-color);display:none}.search-box[has-options] cx-select::part(expand-icon){display:flex}.search-box cx-select::part(combobox){border-radius:var(--border-radius);padding-inline-start:var(--cx-spacing-x-small)}:host([appearance=custom]) .search-box cx-select::part(combobox){color:var(--color);border:var(--border);background-color:var(--background-color);box-shadow:var(--box-shadow);border-style:solid}.search-box cx-select[size=large]::part(combobox){padding-inline-start:var(--cx-spacing-small)}:host([size=custom]) .search-box cx-select::part(combobox){min-height:var(--search-box-custom-height);padding:var(--search-box-custom-padding)}.search-box cx-select::part(display-input){font-family:var(--search-box-custom-font-family,var(--cx-input-font-family)), var(--cx-font-sans);font-size:var(--search-box-custom-font-size);font-style:var(--search-box-custom-font-style,normal);font-weight:var(--search-box-custom-font-weight,var(--cx-font-weight-regular))}.icon-button{margin-inline-end:var(--icon-spacing)}:host([appearance=custom]) .icon-button{--font-size:var(--icon-size);color:var(--icon-color)}.search-box__icon--enabled .icon-button::part(base){cursor:pointer}.icon-button::part(base){cursor:default;min-width:0;min-height:0;padding:0}:host([appearance=custom]) .search-box cx-option::part(base){color:var(--color)}`, oOe = "AC_KeywordsFrontEnd_Filter", sOe = 50, cOe = "AC_KeywordsFrontEnd_MainSearch_Query", a9 = class extends d {
104256
104256
  static #e = this.styles = [g, aOe];
104257
104257
  static #t = this.dependencies = { "cx-dynamic-select": As };
104258
104258
  constructor() {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.67.0",
4
+ "version": "3.69.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -1,6 +1,6 @@
1
1
  import { default as CxIconButton } from '../icon-button/icon-button.ts';
2
2
  import { default as CortexLightElement } from '../../../../base/src/cortex-light-element.ts';
3
- import { TemplateResult } from 'lit';
3
+ import { PropertyValues, TemplateResult } from 'lit';
4
4
  import { RendererObject, TokenizerAndRendererExtension } from 'marked';
5
5
  /**
6
6
  * @summary Renders markdown passed in as a string.
@@ -9,7 +9,8 @@ import { RendererObject, TokenizerAndRendererExtension } from 'marked';
9
9
  * cx-markdown is powered by [MarkedJs](https://marked.js.org/).
10
10
  *
11
11
  * Fenced `mermaid` code blocks render as diagrams; Mermaid is imported lazily only when one is
12
- * present. Output is sanitized with DOMPurify unless `live-script` is set.
12
+ * present; with `show-math-notation` set, `$…$` and `$$…$$` render through KaTeX the same way.
13
+ * Output is sanitized with DOMPurify unless `live-script` is set.
13
14
  *
14
15
  * Leading YAML frontmatter renders as a collapsed disclosure instead of an `<hr>` plus heading, and
15
16
  * is parsed onto the `frontmatter` property.
@@ -23,7 +24,7 @@ import { RendererObject, TokenizerAndRendererExtension } from 'marked';
23
24
  * buttons, Mermaid nodes — do not bubble past the component. Clicks on inert content still do.
24
25
  *
25
26
  * @event cx-ready - Emitted when the markdown has been rendered, deferred until any Mermaid
26
- * diagrams have been drawn.
27
+ * diagrams and formulas have been drawn.
27
28
  */
28
29
  export default class CxMarkdown extends CortexLightElement {
29
30
  #private;
@@ -32,6 +33,8 @@ export default class CxMarkdown extends CortexLightElement {
32
33
  'cx-icon-button': typeof CxIconButton;
33
34
  };
34
35
  private readonly localize;
36
+ /** KaTeX loader, held in a field like other I/O so a test can keep the import pending. */
37
+ private loadKatex;
35
38
  /**
36
39
  * YAML frontmatter parsed from `markdown`, empty when there is none. Derived output — assigning
37
40
  * to it has no effect. Read it after `cx-ready`. Deliberately non-reactive: the disclosure is
@@ -53,6 +56,11 @@ export default class CxMarkdown extends CortexLightElement {
53
56
  * adds `rel="noopener noreferrer"`. Empty (the default) leaves anchors untouched.
54
57
  */
55
58
  linkTarget: string;
59
+ /**
60
+ * Renders `$…$` and `$$…$$` with KaTeX, loaded lazily. Invalid TeX, or a browser without
61
+ * MathML, keeps its source.
62
+ */
63
+ showMathNotation: boolean;
56
64
  /**
57
65
  * The markdown to render.
58
66
  */
@@ -72,6 +80,7 @@ export default class CxMarkdown extends CortexLightElement {
72
80
  rendered: string;
73
81
  connectedCallback(): void;
74
82
  disconnectedCallback(): void;
83
+ protected willUpdate(changedProperties: PropertyValues<this>): void;
75
84
  updateRendered(): void;
76
85
  /**
77
86
  * Light DOM means every click reaches ancestors, which commonly treat one as "start editing".
@@ -1,8 +1,11 @@
1
- import { Marked, Tokens } from 'marked';
1
+ import { CreateParserOptions } from '../../../../types/src/markdown';
2
+ import { Marked, MarkedExtension, Tokens } from 'marked';
2
3
  /** Class name cx-markdown looks for when deciding whether to load Mermaid. */
3
4
  export declare const MERMAID_CLASS_NAME = "mermaid";
4
5
  /** Class name on the disclosure wrapping YAML frontmatter. */
5
6
  export declare const FRONTMATTER_CLASS_NAME = "cx-frontmatter";
7
+ /** Class name cx-markdown looks for when deciding whether to load KaTeX. */
8
+ export declare const MATH_CLASS_NAME = "cx-math";
6
9
  export type ExtractedFrontmatter = {
7
10
  /** The markdown with the frontmatter block removed. */
8
11
  body: string;
@@ -17,6 +20,8 @@ export declare function renderFrontmatterDetails(raw: string, label: string): st
17
20
  export declare const baseRenderer: {
18
21
  code({ escaped, lang: infoString, text }: Tokens.Code): string;
19
22
  };
23
+ /** Opt-in `$…$` / `$$…$$` support; `createParser({ math })` registers it. */
24
+ export declare const mathExtension: MarkedExtension;
20
25
  /**
21
26
  * https://marked.js.org/using_advanced in Marked instance section.
22
27
  * https://marked.js.org/using_pro in Marked marked.use() section.
@@ -24,5 +29,5 @@ export declare const baseRenderer: {
24
29
  *
25
30
  * Change from Singleton to Factory pattern: returns a new isolated Marked parser.
26
31
  */
27
- export declare function createParser(): Marked<string, string>;
32
+ export declare function createParser({ math }?: CreateParserOptions): Marked<string, string>;
28
33
  export type Parser = ReturnType<typeof createParser>;
@@ -9,4 +9,4 @@ import { Schema } from '@tiptap/pm/model';
9
9
  * Constructs the model cannot represent are not dropped: `html_block` and `html_inline` hold their
10
10
  * source verbatim and are replayed on the way out.
11
11
  */
12
- export declare const markdownSchema: Schema<"image" | "blockquote" | "table" | "text" | "heading" | "paragraph" | "frontmatter" | "doc" | "bullet_list" | "code_block" | "horizontal_rule" | "list_item" | "ordered_list" | "table_row" | "table_cell" | "table_header" | "hard_break" | "html_block" | "html_inline", "code" | "link" | "strike" | "em" | "strong">;
12
+ export declare const markdownSchema: Schema<"image" | "blockquote" | "table" | "text" | "heading" | "paragraph" | "list_item" | "frontmatter" | "doc" | "bullet_list" | "code_block" | "horizontal_rule" | "ordered_list" | "table_row" | "table_cell" | "table_header" | "hard_break" | "html_block" | "html_inline", "code" | "link" | "strike" | "em" | "strong">;
@@ -0,0 +1,5 @@
1
+ /** Options for the marked parser `cx-markdown` builds. */
2
+ export type CreateParserOptions = {
3
+ /** Registers `$…$` / `$$…$$` math support, rendered later with KaTeX. */
4
+ math?: boolean;
5
+ };
@@ -3966,6 +3966,10 @@
3966
3966
  * Target applied to every rendered link. Set to `_blank` to open links in a new tab, which also adds `rel="noopener noreferrer"`. Empty (the default) leaves anchors untouched.
3967
3967
  */
3968
3968
  linkTarget?: string;
3969
+ /**
3970
+ * Renders `$…$` and `$$…$$` with KaTeX, loaded lazily. Invalid TeX, or a browser without MathML, keeps its source.
3971
+ */
3972
+ showMathNotation?: boolean;
3969
3973
  /**
3970
3974
  * The markdown to render.
3971
3975
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orangelogic/design-system",
3
3
  "type": "module",
4
- "version": "3.67.0",
4
+ "version": "3.69.0",
5
5
  "license": "UNLICENSED",
6
6
  "types": "library/types.d.ts",
7
7
  "scripts": {
@@ -1,16 +0,0 @@
1
- import "./chunk-NSK5VX7P.CigvU-YZ.js";
2
- import "./chunk-X3CZISLH.D200o-iZ.js";
3
- import "./chunk-I66GZJ75.H0-SV6eJ.js";
4
- import "./chunk-4I5QYGJK.BfgT5lel.js";
5
- import "./chunk-WRU74C26.DI6bT2w6.js";
6
- import "./chunk-7BUUIJ7U.2HaDAqLO.js";
7
- import "./chunk-UBXNYLIW.Cwnmh6rE.js";
8
- import "./chunk-2GRJ4B5K.gGaxW0lA.js";
9
- import "./chunk-XXDRQBXY.BwfXrXWR.js";
10
- import "./chunk-KBJHAD2P.BFtv98WB.js";
11
- import "./chunk-W5SLKNZC.BGc7e7pD.js";
12
- import "./chunk-QR6OTTB3.DXgKvg29.js";
13
- import "./chunk-7Z6QIM7H.ChD5saA-.js";
14
- import { n as e } from "./chunk-JQJVKLGR.vSmZrVfn.js";
15
- import "./mermaid.core.CUTdrxBG.js";
16
- export { e as diagram };