@marimo-team/islands 0.13.16-dev2 → 0.13.16-dev4
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/dist/{ConnectedDataExplorerComponent-BizAnuDQ.js → ConnectedDataExplorerComponent-W-BOfG8M.js} +1495 -1496
- package/dist/{VegaLite-BvtjUHLS.js → VegaLite-C9hsmU75.js} +12483 -12485
- package/dist/{_baseUniq-C1K8a5jF.js → _baseUniq-JsDeIdvj.js} +13 -13
- package/dist/{any-language-editor-D3C2KiQW.js → any-language-editor-BzZqDQm_.js} +2 -2
- package/dist/{architectureDiagram-IEHRJDOE-DhrFWr1a.js → architectureDiagram-IEHRJDOE-DnNsdc8e.js} +1800 -1800
- package/dist/asn1-jKiBa2Ya.js +10 -10
- package/dist/assets/{save-worker-9HEtFDM0.js → save-worker-DwN_qfSx.js} +695 -702
- package/dist/assets/{worker-BGGm0KYZ.js → worker-BzMPE1Lq.js} +732 -739
- package/dist/assets/{worker-BNsqBj5w.js → worker-ISYYr8IB.js} +726 -732
- package/dist/blockDiagram-JOT3LUYC-C_KEbscf.js +2249 -0
- package/dist/{c4Diagram-VJAJSXHY-DKSU0_Zg.js → c4Diagram-VJAJSXHY-B7trZ6_H.js} +401 -400
- package/dist/{channel-DMiLp-mI.js → channel-CwUzkjN9.js} +1 -1
- package/dist/chunk-4BMEZGHF-C4_0qa8X.js +9 -0
- package/dist/chunk-A2AXSNBT-DApfdN4z.js +1373 -0
- package/dist/chunk-AEK57VVT-D_rUaIu3.js +1416 -0
- package/dist/{chunk-D6G4REZN-BZV3ukOi.js → chunk-D6G4REZN-BJurAONC.js} +2 -2
- package/dist/{chunk-RZ5BOZE2-B4rOVQD8.js → chunk-RZ5BOZE2-ChOs68Hz.js} +8 -8
- package/dist/chunk-XZIHB7SX-CGbScEEe.js +16 -0
- package/dist/{classDiagram-GIVACNV2-DLRT4_A4.js → classDiagram-GIVACNV2-CqVjeibK.js} +2 -2
- package/dist/{classDiagram-v2-COTLJTTW-DLRT4_A4.js → classDiagram-v2-COTLJTTW-CqVjeibK.js} +2 -2
- package/dist/clojure-CCKyeQKf.js +2 -2
- package/dist/{clone-CPwu6xRn.js → clone-BPHB9gtw.js} +1 -1
- package/dist/css-bIlmDBTK.js +19 -19
- package/dist/{cytoscape.esm-DAyNQ0qu.js → cytoscape.esm-CCQ3SVU1.js} +2301 -2301
- package/dist/dagre-OKDRZEBW-EJUR9APO.js +447 -0
- package/dist/{data-editor-CYvUeKhw.js → data-editor-CvujN_l-.js} +5785 -5795
- package/dist/{diagram-SSKATNLV-D8WhiY2q.js → diagram-SSKATNLV-Bs-Zy3OO.js} +13 -13
- package/dist/{diagram-VNBRO52H-Bil9sOsr.js → diagram-VNBRO52H-rhV7IJ0T.js} +3 -3
- package/dist/{erDiagram-Q7BY3M3F-J-Jm-DD7.js → erDiagram-Q7BY3M3F-DwuCpdOL.js} +263 -262
- package/dist/flowDiagram-4HSFHLVR-CpbGvx3R.js +1623 -0
- package/dist/{ganttDiagram-APWFNJXF-C2G0-fOq.js → ganttDiagram-APWFNJXF-B9ih7Ggj.js} +45 -45
- package/dist/gitGraphDiagram-7IBYFJ6S-tTFS2NlF.js +712 -0
- package/dist/{graph-BFerxzEi.js → graph-DiSBbvS5.js} +9 -9
- package/dist/{index-DfpR00QG.js → index-BZo5-DOE.js} +99 -98
- package/dist/{index-j8M50mVa.js → index-CmU7bpCv.js} +4 -4
- package/dist/{index-DkuVwdVm.js → index-KrnLhU30.js} +9 -9
- package/dist/{index-BhtvwOag.js → index-TeAlNqJE.js} +28 -28
- package/dist/{infoDiagram-PH2N3AL5-AYtb1_Lz.js → infoDiagram-PH2N3AL5-COt3b362.js} +3 -3
- package/dist/javascript-WMWNx-Vj.js +47 -47
- package/dist/{journeyDiagram-U35MCT3I-Bdz9gIBI.js → journeyDiagram-U35MCT3I-Civ2cUVg.js} +18 -18
- package/dist/kanban-definition-NDS4AKOZ-QxhTc8lo.js +719 -0
- package/dist/{katex-9tX9hjoM.js → katex-CUSbq6rG.js} +2180 -2180
- package/dist/{layout-Qs-BVu8V.js → layout-B0SQ1LdD.js} +27 -27
- package/dist/{linear-SIbCb7yI.js → linear-Bn_UtFyT.js} +2 -2
- package/dist/main-ClxYr2BI.js +169878 -0
- package/dist/main.js +1 -1
- package/dist/mermaid-M3c3q4Qd.js +14517 -0
- package/dist/{mhchem-L5-rce7L.js → mhchem-Db_f2n8C.js} +30 -30
- package/dist/{min-BTA1UVkn.js → min-C0Jzc_ko.js} +2 -2
- package/dist/{mindmap-definition-ALO5MXBD-CdrD5BzZ.js → mindmap-definition-ALO5MXBD-BW8IbhiG.js} +359 -359
- package/dist/mllike-BSnXJBGA.js +7 -7
- package/dist/{pieDiagram-IB7DONF6-BbbxWeqU.js → pieDiagram-IB7DONF6-DIa7m5Au.js} +34 -34
- package/dist/pug-BqUR2bBq.js +35 -35
- package/dist/python-B5QdSKoL.js +18 -18
- package/dist/quadrantDiagram-7GDLP6J5-D1HtkiJK.js +1025 -0
- package/dist/{radar-MK3ICKWK-Z5R0bt0z.js → radar-MK3ICKWK-Dm3jRuoE.js} +2555 -2554
- package/dist/{react-plotly-DqDxe4Uh.js → react-plotly-CJ3A7ju0.js} +6595 -6597
- package/dist/{requirementDiagram-KVF5MWMF-DMnvzAxX.js → requirementDiagram-KVF5MWMF-b-q1aUEu.js} +251 -250
- package/dist/rpm-IznJm2Xc.js +9 -9
- package/dist/{sankeyDiagram-QLVOVGJD-DbUWg3a4.js → sankeyDiagram-QLVOVGJD-Bo4y0LBQ.js} +339 -338
- package/dist/{sequenceDiagram-X6HHIX6F-JltcBwLF.js → sequenceDiagram-X6HHIX6F-DMq4wla5.js} +822 -821
- package/dist/{slides-component-DVr5mf9p.js → slides-component-Cyh202Vq.js} +280 -280
- package/dist/sql-mMre1Bo3.js +9 -9
- package/dist/{stateDiagram-DGXRK772-qbXtyoS6.js → stateDiagram-DGXRK772-D_y0WAcv.js} +17 -17
- package/dist/{stateDiagram-v2-YXO3MK2T-Ba7q5pMK.js → stateDiagram-v2-YXO3MK2T-CHK5LNw7.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{time-DHD8Fix8.js → time-YVQKuiUR.js} +2 -2
- package/dist/{timeline-definition-BDJGKUSR-q4gOCBRq.js → timeline-definition-BDJGKUSR-DH63_P4w.js} +261 -261
- package/dist/timer-BYwnU4DF.js +378 -378
- package/dist/ttcn-cfg-Bac_acMi.js +9 -9
- package/dist/{vega-component-D2NZFVvw.js → vega-component-CUFBFMjm.js} +82 -82
- package/dist/{xychartDiagram-VJFVF3MP-BZs9xPvU.js → xychartDiagram-VJFVF3MP-3NU7tduZ.js} +472 -471
- package/package.json +1 -1
- package/dist/blockDiagram-JOT3LUYC-COVagShg.js +0 -2248
- package/dist/chunk-4BMEZGHF-CeMSohVe.js +0 -9
- package/dist/chunk-A2AXSNBT-mQ3fXQfx.js +0 -1372
- package/dist/chunk-AEK57VVT-B7kw2yt6.js +0 -1415
- package/dist/chunk-XZIHB7SX-C3-5SkZh.js +0 -15
- package/dist/dagre-OKDRZEBW-yEQf6TwX.js +0 -447
- package/dist/flowDiagram-4HSFHLVR-Dhymtq1g.js +0 -1622
- package/dist/gitGraphDiagram-7IBYFJ6S-DCZAwPro.js +0 -712
- package/dist/kanban-definition-NDS4AKOZ-ByLpDX9Y.js +0 -719
- package/dist/main-Cx3zrED9.js +0 -156521
- package/dist/mermaid-DAi_EtLa.js +0 -11991
- package/dist/quadrantDiagram-7GDLP6J5-1UQgbW9Z.js +0 -1024
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as n, n as o, j as l } from "./mermaid-
|
|
1
|
+
import { _ as n, n as o, j as l } from "./mermaid-M3c3q4Qd.js";
|
|
2
2
|
var x = /* @__PURE__ */ n((s, t) => {
|
|
3
3
|
const e = s.append("rect");
|
|
4
4
|
if (e.attr("x", t.x), e.attr("y", t.y), e.attr("fill", t.fill), e.attr("stroke", t.stroke), e.attr("width", t.width), e.attr("height", t.height), t.name && e.attr("name", t.name), t.rx && e.attr("rx", t.rx), t.ry && e.attr("ry", t.ry), t.attrs !== void 0)
|
|
@@ -51,7 +51,7 @@ var x = /* @__PURE__ */ n((s, t) => {
|
|
|
51
51
|
textMargin: 0,
|
|
52
52
|
rx: 0,
|
|
53
53
|
ry: 0,
|
|
54
|
-
tspan:
|
|
54
|
+
tspan: true
|
|
55
55
|
}), "getTextObj");
|
|
56
56
|
export {
|
|
57
57
|
d as a,
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { _ as n, d as r, e as d, l as g } from "./mermaid-
|
|
1
|
+
import { _ as n, d as r, e as d, l as g } from "./mermaid-M3c3q4Qd.js";
|
|
2
2
|
var u = /* @__PURE__ */ n((e, t) => {
|
|
3
3
|
let o;
|
|
4
4
|
return t === "sandbox" && (o = r("#i" + e)), (t === "sandbox" ? r(o.nodes()[0].contentDocument.body) : r("body")).select(`[id="${e}"]`);
|
|
5
|
-
}, "getDiagramElement"), b = /* @__PURE__ */ n((e, t, o,
|
|
5
|
+
}, "getDiagramElement"), b = /* @__PURE__ */ n((e, t, o, a) => {
|
|
6
6
|
e.attr("class", o);
|
|
7
|
-
const { width:
|
|
8
|
-
d(e, s,
|
|
9
|
-
const c = w(h, x,
|
|
7
|
+
const { width: i, height: s, x: h, y: x } = l(e, t);
|
|
8
|
+
d(e, s, i, a);
|
|
9
|
+
const c = w(h, x, i, s, t);
|
|
10
10
|
e.attr("viewBox", c), g.debug(`viewBox configured: ${c} with padding: ${t}`);
|
|
11
11
|
}, "setupViewPortForSVG"), l = /* @__PURE__ */ n((e, t) => {
|
|
12
|
-
var
|
|
13
|
-
const o = ((
|
|
12
|
+
var _a;
|
|
13
|
+
const o = ((_a = e.node()) == null ? void 0 : _a.getBBox()) || { width: 0, height: 0, x: 0, y: 0 };
|
|
14
14
|
return {
|
|
15
15
|
width: o.width + t * 2,
|
|
16
16
|
height: o.height + t * 2,
|
|
17
17
|
x: o.x,
|
|
18
18
|
y: o.y
|
|
19
19
|
};
|
|
20
|
-
}, "calculateDimensionsWithPadding"), w = /* @__PURE__ */ n((e, t, o,
|
|
20
|
+
}, "calculateDimensionsWithPadding"), w = /* @__PURE__ */ n((e, t, o, a, i) => `${e - i} ${t - i} ${o} ${a}`, "createViewBox");
|
|
21
21
|
export {
|
|
22
22
|
u as g,
|
|
23
23
|
b as s
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var _a;
|
|
2
|
+
import { _ as i } from "./mermaid-M3c3q4Qd.js";
|
|
3
|
+
var r = (_a = class {
|
|
4
|
+
/**
|
|
5
|
+
* @param init - Function that creates the default state.
|
|
6
|
+
*/
|
|
7
|
+
constructor(t) {
|
|
8
|
+
this.init = t, this.records = this.init();
|
|
9
|
+
}
|
|
10
|
+
reset() {
|
|
11
|
+
this.records = this.init();
|
|
12
|
+
}
|
|
13
|
+
}, i(_a, "ImperativeState"), _a);
|
|
14
|
+
export {
|
|
15
|
+
r as I
|
|
16
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-A2AXSNBT-
|
|
2
|
-
import { _ as l } from "./mermaid-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-A2AXSNBT-DApfdN4z.js";
|
|
2
|
+
import { _ as l } from "./mermaid-M3c3q4Qd.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as r, c as s, a as e, C as t } from "./chunk-A2AXSNBT-
|
|
2
|
-
import { _ as l } from "./mermaid-
|
|
1
|
+
import { s as r, c as s, a as e, C as t } from "./chunk-A2AXSNBT-DApfdN4z.js";
|
|
2
|
+
import { _ as l } from "./mermaid-M3c3q4Qd.js";
|
|
3
3
|
var d = {
|
|
4
4
|
parser: e,
|
|
5
5
|
get db() {
|
package/dist/clojure-CCKyeQKf.js
CHANGED
|
@@ -746,7 +746,7 @@ function s(t, e) {
|
|
|
746
746
|
}), [null, "error"]);
|
|
747
747
|
}
|
|
748
748
|
function x(t, e) {
|
|
749
|
-
for (var r =
|
|
749
|
+
for (var r = false, n; n = t.next(); ) {
|
|
750
750
|
if (n === '"' && !r) {
|
|
751
751
|
e.tokenize = s;
|
|
752
752
|
break;
|
|
@@ -764,7 +764,7 @@ function w(t, e) {
|
|
|
764
764
|
return ["space", "comment"];
|
|
765
765
|
}
|
|
766
766
|
function o(t) {
|
|
767
|
-
for (var e = {}, r = 0; r < t.length; ++r) e[t[r]] =
|
|
767
|
+
for (var e = {}, r = 0; r < t.length; ++r) e[t[r]] = true;
|
|
768
768
|
return e;
|
|
769
769
|
}
|
|
770
770
|
function a(t, e) {
|
package/dist/css-bIlmDBTK.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
function y(i) {
|
|
2
2
|
i = { ...ae, ...i };
|
|
3
|
-
var l = i.inline, m = i.tokenHooks, b = i.documentTypes || {}, G = i.mediaTypes || {}, J = i.mediaFeatures || {}, Q = i.mediaValueKeywords || {}, O = i.propertyKeywords || {}, F = i.nonStandardPropertyKeywords || {}, R = i.fontProperties || {}, ee = i.counterDescriptors || {}, N = i.colorKeywords || {}, V = i.valueKeywords || {}, g = i.allowNested, re = i.lineComment, oe = i.supportsAtComponent ===
|
|
3
|
+
var l = i.inline, m = i.tokenHooks, b = i.documentTypes || {}, G = i.mediaTypes || {}, J = i.mediaFeatures || {}, Q = i.mediaValueKeywords || {}, O = i.propertyKeywords || {}, F = i.nonStandardPropertyKeywords || {}, R = i.fontProperties || {}, ee = i.counterDescriptors || {}, N = i.colorKeywords || {}, V = i.valueKeywords || {}, g = i.allowNested, re = i.lineComment, oe = i.supportsAtComponent === true, W = i.highlightNonStandardPropertyKeywords !== false, w, n;
|
|
4
4
|
function c(e, o) {
|
|
5
5
|
return w = o, e;
|
|
6
6
|
}
|
|
@@ -8,7 +8,7 @@ function y(i) {
|
|
|
8
8
|
var r = e.next();
|
|
9
9
|
if (m[r]) {
|
|
10
10
|
var t = m[r](e, o);
|
|
11
|
-
if (t !==
|
|
11
|
+
if (t !== false) return t;
|
|
12
12
|
}
|
|
13
13
|
if (r == "@")
|
|
14
14
|
return e.eatWhile(/[\w\\\-]/), c("def", e.current());
|
|
@@ -26,14 +26,14 @@ function y(i) {
|
|
|
26
26
|
if (/[\d.]/.test(e.peek()))
|
|
27
27
|
return e.eatWhile(/[\w.%]/), c("number", "unit");
|
|
28
28
|
if (e.match(/^-[\w\\\-]*/))
|
|
29
|
-
return e.eatWhile(/[\w\\\-]/), e.match(/^\s*:/,
|
|
29
|
+
return e.eatWhile(/[\w\\\-]/), e.match(/^\s*:/, false) ? c("def", "variable-definition") : c("variableName", "variable");
|
|
30
30
|
if (e.match(/^\w+-/))
|
|
31
31
|
return c("meta", "meta");
|
|
32
32
|
} else return /[,+>*\/]/.test(r) ? c(null, "select-op") : r == "." && e.match(/^-?[_a-z][_a-z0-9-]*/i) ? c("qualifier", "qualifier") : /[:;{}\[\]\(\)]/.test(r) ? c(null, r) : e.match(/^[\w-.]+(?=\()/) ? (/^(url(-prefix)?|domain|regexp)$/i.test(e.current()) && (o.tokenize = te), c("variableName.function", "variable")) : /[\w\\\-]/.test(r) ? (e.eatWhile(/[\w\\\-]/), c("property", "word")) : c(null, null);
|
|
33
33
|
}
|
|
34
34
|
function $(e) {
|
|
35
35
|
return function(o, r) {
|
|
36
|
-
for (var t =
|
|
36
|
+
for (var t = false, d; (d = o.next()) != null; ) {
|
|
37
37
|
if (d == e && !t) {
|
|
38
38
|
e == ")" && o.backUp(1);
|
|
39
39
|
break;
|
|
@@ -44,13 +44,13 @@ function y(i) {
|
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
function te(e, o) {
|
|
47
|
-
return e.next(), e.match(/^\s*[\"\')]/,
|
|
47
|
+
return e.next(), e.match(/^\s*[\"\')]/, false) ? o.tokenize = null : o.tokenize = $(")"), c(null, "(");
|
|
48
48
|
}
|
|
49
49
|
function D(e, o, r) {
|
|
50
50
|
this.type = e, this.indent = o, this.prev = r;
|
|
51
51
|
}
|
|
52
52
|
function s(e, o, r, t) {
|
|
53
|
-
return e.context = new D(r, o.indentation() + (t ===
|
|
53
|
+
return e.context = new D(r, o.indentation() + (t === false ? 0 : o.indentUnit), e.context), r;
|
|
54
54
|
}
|
|
55
55
|
function u(e) {
|
|
56
56
|
return e.context.prev && (e.context = e.context.prev), e.context.type;
|
|
@@ -103,7 +103,7 @@ function y(i) {
|
|
|
103
103
|
}, a.block = function(e, o, r) {
|
|
104
104
|
if (e == "word") {
|
|
105
105
|
var t = o.current().toLowerCase();
|
|
106
|
-
return O.hasOwnProperty(t) ? (n = "property", "maybeprop") : F.hasOwnProperty(t) ? (n = W ? "string.special" : "property", "maybeprop") : g ? (n = o.match(/^\s*:(?:\s|$)/,
|
|
106
|
+
return O.hasOwnProperty(t) ? (n = "property", "maybeprop") : F.hasOwnProperty(t) ? (n = W ? "string.special" : "property", "maybeprop") : g ? (n = o.match(/^\s*:(?:\s|$)/, false) ? "property" : "tag", "block") : (n = "error", "maybeprop");
|
|
107
107
|
} else return e == "meta" ? "block" : !g && (e == "hash" || e == "qualifier") ? (n = "error", "block") : a.top(e, o, r);
|
|
108
108
|
}, a.maybeprop = function(e, o, r) {
|
|
109
109
|
return e == ":" ? s(r, o, "prop") : k(e, o, r);
|
|
@@ -138,7 +138,7 @@ function y(i) {
|
|
|
138
138
|
}
|
|
139
139
|
return r.context.type;
|
|
140
140
|
}, a.atComponentBlock = function(e, o, r) {
|
|
141
|
-
return e == "}" ? h(e, o, r) : e == "{" ? u(r) && s(r, o, g ? "block" : "top",
|
|
141
|
+
return e == "}" ? h(e, o, r) : e == "{" ? u(r) && s(r, o, g ? "block" : "top", false) : (e == "word" && (n = "error"), r.context.type);
|
|
142
142
|
}, a.atBlock_parens = function(e, o, r) {
|
|
143
143
|
return e == ")" ? u(r) : e == "{" || e == "}" ? h(e, o, r, 2) : a.atBlock(e, o, r);
|
|
144
144
|
}, a.restricted_atBlock_before = function(e, o, r) {
|
|
@@ -179,7 +179,7 @@ function y(i) {
|
|
|
179
179
|
}
|
|
180
180
|
function p(i) {
|
|
181
181
|
for (var l = {}, m = 0; m < i.length; ++m)
|
|
182
|
-
l[i[m].toLowerCase()] =
|
|
182
|
+
l[i[m].toLowerCase()] = true;
|
|
183
183
|
return l;
|
|
184
184
|
}
|
|
185
185
|
var H = [
|
|
@@ -1469,12 +1469,12 @@ const le = {
|
|
|
1469
1469
|
valueKeywords: j,
|
|
1470
1470
|
tokenHooks: {
|
|
1471
1471
|
"/": function(i, l) {
|
|
1472
|
-
return i.eat("*") ? (l.tokenize = f, f(i, l)) :
|
|
1472
|
+
return i.eat("*") ? (l.tokenize = f, f(i, l)) : false;
|
|
1473
1473
|
}
|
|
1474
1474
|
}
|
|
1475
1475
|
}, se = y({ name: "css" });
|
|
1476
1476
|
function f(i, l) {
|
|
1477
|
-
for (var m =
|
|
1477
|
+
for (var m = false, b; (b = i.next()) != null; ) {
|
|
1478
1478
|
if (m && b == "/") {
|
|
1479
1479
|
l.tokenize = null;
|
|
1480
1480
|
break;
|
|
@@ -1493,20 +1493,20 @@ const ce = y({
|
|
|
1493
1493
|
colorKeywords: _,
|
|
1494
1494
|
valueKeywords: j,
|
|
1495
1495
|
fontProperties: P,
|
|
1496
|
-
allowNested:
|
|
1496
|
+
allowNested: true,
|
|
1497
1497
|
lineComment: "//",
|
|
1498
1498
|
tokenHooks: {
|
|
1499
1499
|
"/": function(i, l) {
|
|
1500
1500
|
return i.eat("/") ? (i.skipToEnd(), ["comment", "comment"]) : i.eat("*") ? (l.tokenize = f, f(i, l)) : ["operator", "operator"];
|
|
1501
1501
|
},
|
|
1502
1502
|
":": function(i) {
|
|
1503
|
-
return i.match(/^\s*\{/,
|
|
1503
|
+
return i.match(/^\s*\{/, false) ? [null, null] : false;
|
|
1504
1504
|
},
|
|
1505
1505
|
$: function(i) {
|
|
1506
|
-
return i.match(/^[\w-]+/), i.match(/^\s*:/,
|
|
1506
|
+
return i.match(/^[\w-]+/), i.match(/^\s*:/, false) ? ["def", "variable-definition"] : ["variableName.special", "variable"];
|
|
1507
1507
|
},
|
|
1508
1508
|
"#": function(i) {
|
|
1509
|
-
return i.eat("{") ? [null, "interpolation"] :
|
|
1509
|
+
return i.eat("{") ? [null, "interpolation"] : false;
|
|
1510
1510
|
}
|
|
1511
1511
|
}
|
|
1512
1512
|
}), de = y({
|
|
@@ -1519,14 +1519,14 @@ const ce = y({
|
|
|
1519
1519
|
colorKeywords: _,
|
|
1520
1520
|
valueKeywords: j,
|
|
1521
1521
|
fontProperties: P,
|
|
1522
|
-
allowNested:
|
|
1522
|
+
allowNested: true,
|
|
1523
1523
|
lineComment: "//",
|
|
1524
1524
|
tokenHooks: {
|
|
1525
1525
|
"/": function(i, l) {
|
|
1526
1526
|
return i.eat("/") ? (i.skipToEnd(), ["comment", "comment"]) : i.eat("*") ? (l.tokenize = f, f(i, l)) : ["operator", "operator"];
|
|
1527
1527
|
},
|
|
1528
1528
|
"@": function(i) {
|
|
1529
|
-
return i.eat("{") ? [null, "interpolation"] : i.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i,
|
|
1529
|
+
return i.eat("{") ? [null, "interpolation"] : i.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\b/i, false) ? false : (i.eatWhile(/[\w\\\-]/), i.match(/^\s*:/, false) ? ["def", "variable-definition"] : ["variableName", "variable"]);
|
|
1530
1530
|
},
|
|
1531
1531
|
"&": function() {
|
|
1532
1532
|
return ["atom", "atom"];
|
|
@@ -1543,10 +1543,10 @@ const ce = y({
|
|
|
1543
1543
|
counterDescriptors: I,
|
|
1544
1544
|
colorKeywords: _,
|
|
1545
1545
|
valueKeywords: j,
|
|
1546
|
-
supportsAtComponent:
|
|
1546
|
+
supportsAtComponent: true,
|
|
1547
1547
|
tokenHooks: {
|
|
1548
1548
|
"/": function(i, l) {
|
|
1549
|
-
return i.eat("*") ? (l.tokenize = f, f(i, l)) :
|
|
1549
|
+
return i.eat("*") ? (l.tokenize = f, f(i, l)) : false;
|
|
1550
1550
|
}
|
|
1551
1551
|
}
|
|
1552
1552
|
});
|