@industry-theme/file-editing-panels 0.3.16 → 0.3.18
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/{index-BnAExCDB.js → index--tqMMVET.js} +2 -2
- package/dist/{index-BnAExCDB.js.map → index--tqMMVET.js.map} +1 -1
- package/dist/{index-qLyan-Aa.js → index-BCtOA9-r.js} +2 -2
- package/dist/{index-qLyan-Aa.js.map → index-BCtOA9-r.js.map} +1 -1
- package/dist/{index-BS-Km6P1.js → index-BN_ut6cW.js} +2 -2
- package/dist/{index-BS-Km6P1.js.map → index-BN_ut6cW.js.map} +1 -1
- package/dist/{index-Dtjdy7IW.js → index-BqlTIhAc.js} +251 -84
- package/dist/index-BqlTIhAc.js.map +1 -0
- package/dist/{index-CHGI7GI7.js → index-CD19Cn2h.js} +2 -2
- package/dist/{index-CHGI7GI7.js.map → index-CD19Cn2h.js.map} +1 -1
- package/dist/{index-DWs6oUxg.js → index-CSkeyrcW.js} +2 -2
- package/dist/{index-DWs6oUxg.js.map → index-CSkeyrcW.js.map} +1 -1
- package/dist/{index-qpPnf6Yl.js → index-CZdMxQb8.js} +2 -2
- package/dist/{index-qpPnf6Yl.js.map → index-CZdMxQb8.js.map} +1 -1
- package/dist/{index-CwEWoBuA.js → index-Cf6YiFwd.js} +2 -2
- package/dist/{index-CwEWoBuA.js.map → index-Cf6YiFwd.js.map} +1 -1
- package/dist/{index-CxdL3oBg.js → index-ClYa3JTM.js} +2 -2
- package/dist/{index-CxdL3oBg.js.map → index-ClYa3JTM.js.map} +1 -1
- package/dist/{index-Y1iKFV_6.js → index-CxIqSemk.js} +2 -2
- package/dist/{index-Y1iKFV_6.js.map → index-CxIqSemk.js.map} +1 -1
- package/dist/{index-jDCUeTFf.js → index-CxTKXcps.js} +2 -2
- package/dist/{index-jDCUeTFf.js.map → index-CxTKXcps.js.map} +1 -1
- package/dist/{index-CfDqvzuu.js → index-D16Rwhyr.js} +2 -2
- package/dist/{index-CfDqvzuu.js.map → index-D16Rwhyr.js.map} +1 -1
- package/dist/{index-B_Eb-yxi.js → index-D28fU6KZ.js} +2 -2
- package/dist/{index-B_Eb-yxi.js.map → index-D28fU6KZ.js.map} +1 -1
- package/dist/{index-BUnN1yjC.js → index-D5fp2bAg.js} +2 -2
- package/dist/{index-BUnN1yjC.js.map → index-D5fp2bAg.js.map} +1 -1
- package/dist/{index-DxrjOTXQ.js → index-DjnzAbZR.js} +2 -2
- package/dist/{index-DxrjOTXQ.js.map → index-DjnzAbZR.js.map} +1 -1
- package/dist/{index-BWBk-TfQ.js → index-Dm7woeyA.js} +2 -2
- package/dist/{index-BWBk-TfQ.js.map → index-Dm7woeyA.js.map} +1 -1
- package/dist/{index-9TOXv_Ti.js → index-E_IZ21fC.js} +2 -2
- package/dist/{index-9TOXv_Ti.js.map → index-E_IZ21fC.js.map} +1 -1
- package/dist/{index-Cj1D7iYu.js → index-eFPe8wLW.js} +2 -2
- package/dist/{index-Cj1D7iYu.js.map → index-eFPe8wLW.js.map} +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/panels/MDXEditorPanel/MDXEditorPanel.d.ts +1 -0
- package/dist/panels/MDXEditorPanel/MDXEditorPanel.d.ts.map +1 -1
- package/dist/panels/MDXEditorPanel/index.d.ts +1 -1
- package/dist/panels/MDXEditorPanel/index.d.ts.map +1 -1
- package/dist/panels.bundle.js +2408 -2
- package/package.json +2 -1
- package/dist/index-Dtjdy7IW.js.map +0 -1
|
@@ -5928,11 +5928,11 @@ function root$1(node2, _1, _2, state) {
|
|
|
5928
5928
|
return state.all(node2);
|
|
5929
5929
|
}
|
|
5930
5930
|
const handle$1 = zwitch("type", {
|
|
5931
|
-
invalid: invalid$
|
|
5931
|
+
invalid: invalid$3,
|
|
5932
5932
|
unknown: unknown$1,
|
|
5933
5933
|
handlers: { comment: comment$2, doctype, element: element$1, raw, root: root$1, text: text$3 }
|
|
5934
5934
|
});
|
|
5935
|
-
function invalid$
|
|
5935
|
+
function invalid$3(node2) {
|
|
5936
5936
|
throw new Error("Expected node, not `" + node2 + "`");
|
|
5937
5937
|
}
|
|
5938
5938
|
function unknown$1(node_) {
|
|
@@ -28929,7 +28929,7 @@ function toMarkdown(tree, options) {
|
|
|
28929
28929
|
state.join.push(joinDefinition);
|
|
28930
28930
|
}
|
|
28931
28931
|
state.handle = zwitch("type", {
|
|
28932
|
-
invalid: invalid$
|
|
28932
|
+
invalid: invalid$2,
|
|
28933
28933
|
unknown,
|
|
28934
28934
|
handlers: state.handlers
|
|
28935
28935
|
});
|
|
@@ -28951,7 +28951,7 @@ function toMarkdown(tree, options) {
|
|
|
28951
28951
|
}
|
|
28952
28952
|
}
|
|
28953
28953
|
}
|
|
28954
|
-
function invalid$
|
|
28954
|
+
function invalid$2(value2) {
|
|
28955
28955
|
throw new Error("Cannot handle value `" + value2 + "`, expected node");
|
|
28956
28956
|
}
|
|
28957
28957
|
function unknown(value2) {
|
|
@@ -79332,7 +79332,7 @@ function legacy(parser2) {
|
|
|
79332
79332
|
return new LanguageSupport(StreamLanguage.define(parser2));
|
|
79333
79333
|
}
|
|
79334
79334
|
function sql(dialectName) {
|
|
79335
|
-
return import("./index-
|
|
79335
|
+
return import("./index-eFPe8wLW.js").then((m3) => m3.sql({ dialect: m3[dialectName] }));
|
|
79336
79336
|
}
|
|
79337
79337
|
const languages = [
|
|
79338
79338
|
// New-style language modes
|
|
@@ -79340,7 +79340,7 @@ const languages = [
|
|
|
79340
79340
|
name: "C",
|
|
79341
79341
|
extensions: ["c", "h", "ino"],
|
|
79342
79342
|
load() {
|
|
79343
|
-
return import("./index-
|
|
79343
|
+
return import("./index-Dm7woeyA.js").then((m3) => m3.cpp());
|
|
79344
79344
|
}
|
|
79345
79345
|
}),
|
|
79346
79346
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79348,7 +79348,7 @@ const languages = [
|
|
|
79348
79348
|
alias: ["cpp"],
|
|
79349
79349
|
extensions: ["cpp", "c++", "cc", "cxx", "hpp", "h++", "hh", "hxx"],
|
|
79350
79350
|
load() {
|
|
79351
|
-
return import("./index-
|
|
79351
|
+
return import("./index-Dm7woeyA.js").then((m3) => m3.cpp());
|
|
79352
79352
|
}
|
|
79353
79353
|
}),
|
|
79354
79354
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79370,7 +79370,7 @@ const languages = [
|
|
|
79370
79370
|
name: "Go",
|
|
79371
79371
|
extensions: ["go"],
|
|
79372
79372
|
load() {
|
|
79373
|
-
return import("./index-
|
|
79373
|
+
return import("./index-Cf6YiFwd.js").then((m3) => m3.go());
|
|
79374
79374
|
}
|
|
79375
79375
|
}),
|
|
79376
79376
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79385,7 +79385,7 @@ const languages = [
|
|
|
79385
79385
|
name: "Java",
|
|
79386
79386
|
extensions: ["java"],
|
|
79387
79387
|
load() {
|
|
79388
|
-
return import("./index-
|
|
79388
|
+
return import("./index-CD19Cn2h.js").then((m3) => m3.java());
|
|
79389
79389
|
}
|
|
79390
79390
|
}),
|
|
79391
79391
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79400,7 +79400,7 @@ const languages = [
|
|
|
79400
79400
|
name: "Jinja",
|
|
79401
79401
|
extensions: ["j2", "jinja", "jinja2"],
|
|
79402
79402
|
load() {
|
|
79403
|
-
return import("./index-
|
|
79403
|
+
return import("./index-D5fp2bAg.js").then((m3) => m3.jinja());
|
|
79404
79404
|
}
|
|
79405
79405
|
}),
|
|
79406
79406
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79408,7 +79408,7 @@ const languages = [
|
|
|
79408
79408
|
alias: ["json5"],
|
|
79409
79409
|
extensions: ["json", "map"],
|
|
79410
79410
|
load() {
|
|
79411
|
-
return import("./index-
|
|
79411
|
+
return import("./index-BCtOA9-r.js").then((m3) => m3.json());
|
|
79412
79412
|
}
|
|
79413
79413
|
}),
|
|
79414
79414
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79422,14 +79422,14 @@ const languages = [
|
|
|
79422
79422
|
name: "LESS",
|
|
79423
79423
|
extensions: ["less"],
|
|
79424
79424
|
load() {
|
|
79425
|
-
return import("./index-
|
|
79425
|
+
return import("./index-D28fU6KZ.js").then((m3) => m3.less());
|
|
79426
79426
|
}
|
|
79427
79427
|
}),
|
|
79428
79428
|
/* @__PURE__ */ LanguageDescription.of({
|
|
79429
79429
|
name: "Liquid",
|
|
79430
79430
|
extensions: ["liquid"],
|
|
79431
79431
|
load() {
|
|
79432
|
-
return import("./index-
|
|
79432
|
+
return import("./index-CSkeyrcW.js").then((m3) => m3.liquid());
|
|
79433
79433
|
}
|
|
79434
79434
|
}),
|
|
79435
79435
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79461,7 +79461,7 @@ const languages = [
|
|
|
79461
79461
|
name: "PHP",
|
|
79462
79462
|
extensions: ["php", "php3", "php4", "php5", "php7", "phtml"],
|
|
79463
79463
|
load() {
|
|
79464
|
-
return import("./index-
|
|
79464
|
+
return import("./index-CxTKXcps.js").then((m3) => m3.php());
|
|
79465
79465
|
}
|
|
79466
79466
|
}),
|
|
79467
79467
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79482,28 +79482,28 @@ const languages = [
|
|
|
79482
79482
|
extensions: ["BUILD", "bzl", "py", "pyw"],
|
|
79483
79483
|
filename: /^(BUCK|BUILD)$/,
|
|
79484
79484
|
load() {
|
|
79485
|
-
return import("./index
|
|
79485
|
+
return import("./index--tqMMVET.js").then((m3) => m3.python());
|
|
79486
79486
|
}
|
|
79487
79487
|
}),
|
|
79488
79488
|
/* @__PURE__ */ LanguageDescription.of({
|
|
79489
79489
|
name: "Rust",
|
|
79490
79490
|
extensions: ["rs"],
|
|
79491
79491
|
load() {
|
|
79492
|
-
return import("./index-
|
|
79492
|
+
return import("./index-BN_ut6cW.js").then((m3) => m3.rust());
|
|
79493
79493
|
}
|
|
79494
79494
|
}),
|
|
79495
79495
|
/* @__PURE__ */ LanguageDescription.of({
|
|
79496
79496
|
name: "Sass",
|
|
79497
79497
|
extensions: ["sass"],
|
|
79498
79498
|
load() {
|
|
79499
|
-
return import("./index-
|
|
79499
|
+
return import("./index-CZdMxQb8.js").then((m3) => m3.sass({ indented: true }));
|
|
79500
79500
|
}
|
|
79501
79501
|
}),
|
|
79502
79502
|
/* @__PURE__ */ LanguageDescription.of({
|
|
79503
79503
|
name: "SCSS",
|
|
79504
79504
|
extensions: ["scss"],
|
|
79505
79505
|
load() {
|
|
79506
|
-
return import("./index-
|
|
79506
|
+
return import("./index-CZdMxQb8.js").then((m3) => m3.sass());
|
|
79507
79507
|
}
|
|
79508
79508
|
}),
|
|
79509
79509
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79538,7 +79538,7 @@ const languages = [
|
|
|
79538
79538
|
name: "WebAssembly",
|
|
79539
79539
|
extensions: ["wat", "wast"],
|
|
79540
79540
|
load() {
|
|
79541
|
-
return import("./index-
|
|
79541
|
+
return import("./index-DjnzAbZR.js").then((m3) => m3.wast());
|
|
79542
79542
|
}
|
|
79543
79543
|
}),
|
|
79544
79544
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79546,7 +79546,7 @@ const languages = [
|
|
|
79546
79546
|
alias: ["rss", "wsdl", "xsd"],
|
|
79547
79547
|
extensions: ["xml", "xsl", "xsd", "svg"],
|
|
79548
79548
|
load() {
|
|
79549
|
-
return import("./index-
|
|
79549
|
+
return import("./index-E_IZ21fC.js").then((m3) => m3.xml());
|
|
79550
79550
|
}
|
|
79551
79551
|
}),
|
|
79552
79552
|
/* @__PURE__ */ LanguageDescription.of({
|
|
@@ -79554,7 +79554,7 @@ const languages = [
|
|
|
79554
79554
|
alias: ["yml"],
|
|
79555
79555
|
extensions: ["yaml", "yml"],
|
|
79556
79556
|
load() {
|
|
79557
|
-
return import("./index-
|
|
79557
|
+
return import("./index-D16Rwhyr.js").then((m3) => m3.yaml());
|
|
79558
79558
|
}
|
|
79559
79559
|
}),
|
|
79560
79560
|
// Legacy modes ported from CodeMirror 5
|
|
@@ -80343,56 +80343,56 @@ const languages = [
|
|
|
80343
80343
|
name: "Vue",
|
|
80344
80344
|
extensions: ["vue"],
|
|
80345
80345
|
load() {
|
|
80346
|
-
return import("./index-
|
|
80346
|
+
return import("./index-CxIqSemk.js").then((m3) => m3.vue());
|
|
80347
80347
|
}
|
|
80348
80348
|
}),
|
|
80349
80349
|
/* @__PURE__ */ LanguageDescription.of({
|
|
80350
80350
|
name: "Angular Template",
|
|
80351
80351
|
load() {
|
|
80352
|
-
return import("./index-
|
|
80352
|
+
return import("./index-ClYa3JTM.js").then((m3) => m3.angular());
|
|
80353
80353
|
}
|
|
80354
80354
|
})
|
|
80355
80355
|
];
|
|
80356
|
-
const base00 = "#2e3440", base01 = "#3b4252", base02 = "#434c5e", base03 = "#4c566a";
|
|
80357
|
-
const base05 = "#e5e9f0", base06 = "#eceff4";
|
|
80358
|
-
const base07 = "#8fbcbb", base08 = "#88c0d0", base09 = "#81a1c1", base0A = "#5e81ac";
|
|
80359
|
-
const base0b = "#bf616a", base0C = "#d08770", base0D = "#ebcb8b", base0E = "#a3be8c", base0F = "#b48ead";
|
|
80360
|
-
const invalid = "#d30102", darkBackground = base06, highlightBackground = darkBackground, background = "#ffffff", tooltipBackground = base01, selection = darkBackground, cursor = base01;
|
|
80356
|
+
const base00$1 = "#2e3440", base01$1 = "#3b4252", base02$1 = "#434c5e", base03$1 = "#4c566a";
|
|
80357
|
+
const base05$1 = "#e5e9f0", base06$1 = "#eceff4";
|
|
80358
|
+
const base07$1 = "#8fbcbb", base08$1 = "#88c0d0", base09$1 = "#81a1c1", base0A$1 = "#5e81ac";
|
|
80359
|
+
const base0b = "#bf616a", base0C$1 = "#d08770", base0D$1 = "#ebcb8b", base0E$1 = "#a3be8c", base0F$1 = "#b48ead";
|
|
80360
|
+
const invalid$1 = "#d30102", darkBackground$1 = base06$1, highlightBackground$1 = darkBackground$1, background$1 = "#ffffff", tooltipBackground$1 = base01$1, selection$1 = darkBackground$1, cursor$1 = base01$1;
|
|
80361
80361
|
const basicLightTheme = /* @__PURE__ */ EditorView.theme({
|
|
80362
80362
|
"&": {
|
|
80363
|
-
color: base00,
|
|
80364
|
-
backgroundColor: background
|
|
80363
|
+
color: base00$1,
|
|
80364
|
+
backgroundColor: background$1
|
|
80365
80365
|
},
|
|
80366
80366
|
".cm-content": {
|
|
80367
|
-
caretColor: cursor
|
|
80367
|
+
caretColor: cursor$1
|
|
80368
80368
|
},
|
|
80369
|
-
".cm-cursor, .cm-dropCursor": { borderLeftColor: cursor },
|
|
80370
|
-
"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": { backgroundColor: selection },
|
|
80371
|
-
".cm-panels": { backgroundColor: darkBackground, color: base03 },
|
|
80369
|
+
".cm-cursor, .cm-dropCursor": { borderLeftColor: cursor$1 },
|
|
80370
|
+
"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": { backgroundColor: selection$1 },
|
|
80371
|
+
".cm-panels": { backgroundColor: darkBackground$1, color: base03$1 },
|
|
80372
80372
|
".cm-panels.cm-panels-top": { borderBottom: "2px solid black" },
|
|
80373
80373
|
".cm-panels.cm-panels-bottom": { borderTop: "2px solid black" },
|
|
80374
80374
|
".cm-searchMatch": {
|
|
80375
80375
|
backgroundColor: "#72a1ff59",
|
|
80376
|
-
outline: `1px solid ${base03}`
|
|
80376
|
+
outline: `1px solid ${base03$1}`
|
|
80377
80377
|
},
|
|
80378
80378
|
".cm-searchMatch.cm-searchMatch-selected": {
|
|
80379
|
-
backgroundColor: base05
|
|
80379
|
+
backgroundColor: base05$1
|
|
80380
80380
|
},
|
|
80381
|
-
".cm-activeLine": { backgroundColor: highlightBackground },
|
|
80382
|
-
".cm-selectionMatch": { backgroundColor: base05 },
|
|
80381
|
+
".cm-activeLine": { backgroundColor: highlightBackground$1 },
|
|
80382
|
+
".cm-selectionMatch": { backgroundColor: base05$1 },
|
|
80383
80383
|
"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket": {
|
|
80384
|
-
outline: `1px solid ${base03}`
|
|
80384
|
+
outline: `1px solid ${base03$1}`
|
|
80385
80385
|
},
|
|
80386
80386
|
"&.cm-focused .cm-matchingBracket": {
|
|
80387
|
-
backgroundColor: base06
|
|
80387
|
+
backgroundColor: base06$1
|
|
80388
80388
|
},
|
|
80389
80389
|
".cm-gutters": {
|
|
80390
|
-
backgroundColor: base06,
|
|
80391
|
-
color: base00,
|
|
80390
|
+
backgroundColor: base06$1,
|
|
80391
|
+
color: base00$1,
|
|
80392
80392
|
border: "none"
|
|
80393
80393
|
},
|
|
80394
80394
|
".cm-activeLineGutter": {
|
|
80395
|
-
backgroundColor: highlightBackground
|
|
80395
|
+
backgroundColor: highlightBackground$1
|
|
80396
80396
|
},
|
|
80397
80397
|
".cm-foldPlaceholder": {
|
|
80398
80398
|
backgroundColor: "transparent",
|
|
@@ -80401,57 +80401,57 @@ const basicLightTheme = /* @__PURE__ */ EditorView.theme({
|
|
|
80401
80401
|
},
|
|
80402
80402
|
".cm-tooltip": {
|
|
80403
80403
|
border: "none",
|
|
80404
|
-
backgroundColor: tooltipBackground
|
|
80404
|
+
backgroundColor: tooltipBackground$1
|
|
80405
80405
|
},
|
|
80406
80406
|
".cm-tooltip .cm-tooltip-arrow:before": {
|
|
80407
80407
|
borderTopColor: "transparent",
|
|
80408
80408
|
borderBottomColor: "transparent"
|
|
80409
80409
|
},
|
|
80410
80410
|
".cm-tooltip .cm-tooltip-arrow:after": {
|
|
80411
|
-
borderTopColor: tooltipBackground,
|
|
80412
|
-
borderBottomColor: tooltipBackground
|
|
80411
|
+
borderTopColor: tooltipBackground$1,
|
|
80412
|
+
borderBottomColor: tooltipBackground$1
|
|
80413
80413
|
},
|
|
80414
80414
|
".cm-tooltip-autocomplete": {
|
|
80415
80415
|
"& > ul > li[aria-selected]": {
|
|
80416
|
-
backgroundColor: highlightBackground,
|
|
80417
|
-
color: base03
|
|
80416
|
+
backgroundColor: highlightBackground$1,
|
|
80417
|
+
color: base03$1
|
|
80418
80418
|
}
|
|
80419
80419
|
}
|
|
80420
80420
|
}, { dark: false });
|
|
80421
80421
|
const basicLightHighlightStyle = /* @__PURE__ */ HighlightStyle.define([
|
|
80422
|
-
{ tag: tags$1.keyword, color: base0A },
|
|
80422
|
+
{ tag: tags$1.keyword, color: base0A$1 },
|
|
80423
80423
|
{
|
|
80424
80424
|
tag: [tags$1.name, tags$1.deleted, tags$1.character, tags$1.propertyName, tags$1.macroName],
|
|
80425
|
-
color: base0C
|
|
80425
|
+
color: base0C$1
|
|
80426
80426
|
},
|
|
80427
|
-
{ tag: [tags$1.variableName], color: base0C },
|
|
80428
|
-
{ tag: [/* @__PURE__ */ tags$1.function(tags$1.variableName)], color: base0A },
|
|
80429
|
-
{ tag: [tags$1.labelName], color: base09 },
|
|
80427
|
+
{ tag: [tags$1.variableName], color: base0C$1 },
|
|
80428
|
+
{ tag: [/* @__PURE__ */ tags$1.function(tags$1.variableName)], color: base0A$1 },
|
|
80429
|
+
{ tag: [tags$1.labelName], color: base09$1 },
|
|
80430
80430
|
{
|
|
80431
80431
|
tag: [tags$1.color, /* @__PURE__ */ tags$1.constant(tags$1.name), /* @__PURE__ */ tags$1.standard(tags$1.name)],
|
|
80432
|
-
color: base0A
|
|
80432
|
+
color: base0A$1
|
|
80433
80433
|
},
|
|
80434
|
-
{ tag: [/* @__PURE__ */ tags$1.definition(tags$1.name), tags$1.separator], color: base0E },
|
|
80435
|
-
{ tag: [tags$1.brace], color: base07 },
|
|
80434
|
+
{ tag: [/* @__PURE__ */ tags$1.definition(tags$1.name), tags$1.separator], color: base0E$1 },
|
|
80435
|
+
{ tag: [tags$1.brace], color: base07$1 },
|
|
80436
80436
|
{
|
|
80437
80437
|
tag: [tags$1.annotation],
|
|
80438
|
-
color: invalid
|
|
80438
|
+
color: invalid$1
|
|
80439
80439
|
},
|
|
80440
80440
|
{
|
|
80441
80441
|
tag: [tags$1.number, tags$1.changed, tags$1.annotation, tags$1.modifier, tags$1.self, tags$1.namespace],
|
|
80442
|
-
color: base08
|
|
80442
|
+
color: base08$1
|
|
80443
80443
|
},
|
|
80444
80444
|
{
|
|
80445
80445
|
tag: [tags$1.typeName, tags$1.className],
|
|
80446
|
-
color: base0D
|
|
80446
|
+
color: base0D$1
|
|
80447
80447
|
},
|
|
80448
80448
|
{
|
|
80449
80449
|
tag: [tags$1.operator, tags$1.operatorKeyword],
|
|
80450
|
-
color: base0E
|
|
80450
|
+
color: base0E$1
|
|
80451
80451
|
},
|
|
80452
80452
|
{
|
|
80453
80453
|
tag: [tags$1.tagName],
|
|
80454
|
-
color: base0F
|
|
80454
|
+
color: base0F$1
|
|
80455
80455
|
},
|
|
80456
80456
|
{
|
|
80457
80457
|
tag: [tags$1.squareBracket],
|
|
@@ -80459,58 +80459,58 @@ const basicLightHighlightStyle = /* @__PURE__ */ HighlightStyle.define([
|
|
|
80459
80459
|
},
|
|
80460
80460
|
{
|
|
80461
80461
|
tag: [tags$1.angleBracket],
|
|
80462
|
-
color: base0C
|
|
80462
|
+
color: base0C$1
|
|
80463
80463
|
},
|
|
80464
80464
|
{
|
|
80465
80465
|
tag: [tags$1.attributeName],
|
|
80466
|
-
color: base0D
|
|
80466
|
+
color: base0D$1
|
|
80467
80467
|
},
|
|
80468
80468
|
{
|
|
80469
80469
|
tag: [tags$1.regexp],
|
|
80470
|
-
color: base0A
|
|
80470
|
+
color: base0A$1
|
|
80471
80471
|
},
|
|
80472
80472
|
{
|
|
80473
80473
|
tag: [tags$1.quote],
|
|
80474
|
-
color: base01
|
|
80474
|
+
color: base01$1
|
|
80475
80475
|
},
|
|
80476
|
-
{ tag: [tags$1.string], color: base0C },
|
|
80476
|
+
{ tag: [tags$1.string], color: base0C$1 },
|
|
80477
80477
|
{
|
|
80478
80478
|
tag: tags$1.link,
|
|
80479
|
-
color: base07,
|
|
80479
|
+
color: base07$1,
|
|
80480
80480
|
textDecoration: "underline",
|
|
80481
80481
|
textUnderlinePosition: "under"
|
|
80482
80482
|
},
|
|
80483
80483
|
{
|
|
80484
80484
|
tag: [tags$1.url, tags$1.escape, /* @__PURE__ */ tags$1.special(tags$1.string)],
|
|
80485
|
-
color: base0C
|
|
80485
|
+
color: base0C$1
|
|
80486
80486
|
},
|
|
80487
|
-
{ tag: [tags$1.meta], color: base08 },
|
|
80488
|
-
{ tag: [tags$1.comment], color: base02, fontStyle: "italic" },
|
|
80489
|
-
{ tag: tags$1.strong, fontWeight: "bold", color: base0A },
|
|
80490
|
-
{ tag: tags$1.emphasis, fontStyle: "italic", color: base0A },
|
|
80487
|
+
{ tag: [tags$1.meta], color: base08$1 },
|
|
80488
|
+
{ tag: [tags$1.comment], color: base02$1, fontStyle: "italic" },
|
|
80489
|
+
{ tag: tags$1.strong, fontWeight: "bold", color: base0A$1 },
|
|
80490
|
+
{ tag: tags$1.emphasis, fontStyle: "italic", color: base0A$1 },
|
|
80491
80491
|
{ tag: tags$1.strikethrough, textDecoration: "line-through" },
|
|
80492
|
-
{ tag: tags$1.heading, fontWeight: "bold", color: base0A },
|
|
80493
|
-
{ tag: /* @__PURE__ */ tags$1.special(tags$1.heading1), fontWeight: "bold", color: base0A },
|
|
80494
|
-
{ tag: tags$1.heading1, fontWeight: "bold", color: base0A },
|
|
80492
|
+
{ tag: tags$1.heading, fontWeight: "bold", color: base0A$1 },
|
|
80493
|
+
{ tag: /* @__PURE__ */ tags$1.special(tags$1.heading1), fontWeight: "bold", color: base0A$1 },
|
|
80494
|
+
{ tag: tags$1.heading1, fontWeight: "bold", color: base0A$1 },
|
|
80495
80495
|
{
|
|
80496
80496
|
tag: [tags$1.heading2, tags$1.heading3, tags$1.heading4],
|
|
80497
80497
|
fontWeight: "bold",
|
|
80498
|
-
color: base0A
|
|
80498
|
+
color: base0A$1
|
|
80499
80499
|
},
|
|
80500
80500
|
{
|
|
80501
80501
|
tag: [tags$1.heading5, tags$1.heading6],
|
|
80502
|
-
color: base0A
|
|
80502
|
+
color: base0A$1
|
|
80503
80503
|
},
|
|
80504
|
-
{ tag: [tags$1.atom, tags$1.bool, /* @__PURE__ */ tags$1.special(tags$1.variableName)], color: base0C },
|
|
80504
|
+
{ tag: [tags$1.atom, tags$1.bool, /* @__PURE__ */ tags$1.special(tags$1.variableName)], color: base0C$1 },
|
|
80505
80505
|
{
|
|
80506
80506
|
tag: [tags$1.processingInstruction, tags$1.inserted],
|
|
80507
|
-
color: base07
|
|
80507
|
+
color: base07$1
|
|
80508
80508
|
},
|
|
80509
80509
|
{
|
|
80510
80510
|
tag: [tags$1.contentSeparator],
|
|
80511
|
-
color: base0D
|
|
80511
|
+
color: base0D$1
|
|
80512
80512
|
},
|
|
80513
|
-
{ tag: tags$1.invalid, color: base02, borderBottom: `1px dotted ${invalid}` }
|
|
80513
|
+
{ tag: tags$1.invalid, color: base02$1, borderBottom: `1px dotted ${invalid$1}` }
|
|
80514
80514
|
]);
|
|
80515
80515
|
const basicLight = [
|
|
80516
80516
|
basicLightTheme,
|
|
@@ -92401,6 +92401,170 @@ const UndoRedo = () => {
|
|
|
92401
92401
|
}
|
|
92402
92402
|
);
|
|
92403
92403
|
};
|
|
92404
|
+
const base00 = "#2E3235", base01 = "#DDDDDD", base02 = "#B9D2FF", base03 = "#b0b0b0", base05 = "#e0e0e0", base06 = "#808080", base07 = "#000000", base08 = "#A54543", base09 = "#fc6d24", base0A = "#fda331", base0B = "#8abeb7", base0C = "#b5bd68", base0D = "#6fb3d2", base0E = "#cc99cc", base0F = "#6987AF";
|
|
92405
|
+
const invalid = base09, darkBackground = "#292d30", highlightBackground = base02 + "30", background = base00, tooltipBackground = base01, selection = "#202325", cursor = base01;
|
|
92406
|
+
const basicDarkTheme = /* @__PURE__ */ EditorView.theme({
|
|
92407
|
+
"&": {
|
|
92408
|
+
color: base01,
|
|
92409
|
+
backgroundColor: background
|
|
92410
|
+
},
|
|
92411
|
+
".cm-content": {
|
|
92412
|
+
caretColor: cursor
|
|
92413
|
+
},
|
|
92414
|
+
".cm-cursor, .cm-dropCursor": { borderLeftColor: cursor },
|
|
92415
|
+
"&.cm-focused .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection": { backgroundColor: selection },
|
|
92416
|
+
".cm-panels": { backgroundColor: darkBackground, color: base03 },
|
|
92417
|
+
".cm-panels.cm-panels-top": { borderBottom: "2px solid black" },
|
|
92418
|
+
".cm-panels.cm-panels-bottom": { borderTop: "2px solid black" },
|
|
92419
|
+
".cm-searchMatch": {
|
|
92420
|
+
backgroundColor: base02,
|
|
92421
|
+
outline: `1px solid ${base03}`,
|
|
92422
|
+
color: base07
|
|
92423
|
+
},
|
|
92424
|
+
".cm-searchMatch.cm-searchMatch-selected": {
|
|
92425
|
+
backgroundColor: base05,
|
|
92426
|
+
color: base07
|
|
92427
|
+
},
|
|
92428
|
+
".cm-activeLine": { backgroundColor: highlightBackground },
|
|
92429
|
+
".cm-selectionMatch": { backgroundColor: highlightBackground },
|
|
92430
|
+
"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket": {
|
|
92431
|
+
outline: `1px solid ${base03}`
|
|
92432
|
+
},
|
|
92433
|
+
"&.cm-focused .cm-matchingBracket": {
|
|
92434
|
+
backgroundColor: base02,
|
|
92435
|
+
color: base07
|
|
92436
|
+
},
|
|
92437
|
+
".cm-gutters": {
|
|
92438
|
+
borderRight: `1px solid #ffffff10`,
|
|
92439
|
+
color: base06,
|
|
92440
|
+
backgroundColor: darkBackground
|
|
92441
|
+
},
|
|
92442
|
+
".cm-activeLineGutter": {
|
|
92443
|
+
backgroundColor: highlightBackground
|
|
92444
|
+
},
|
|
92445
|
+
".cm-foldPlaceholder": {
|
|
92446
|
+
backgroundColor: "transparent",
|
|
92447
|
+
border: "none",
|
|
92448
|
+
color: base02
|
|
92449
|
+
},
|
|
92450
|
+
".cm-tooltip": {
|
|
92451
|
+
border: "none",
|
|
92452
|
+
backgroundColor: tooltipBackground
|
|
92453
|
+
},
|
|
92454
|
+
".cm-tooltip .cm-tooltip-arrow:before": {
|
|
92455
|
+
borderTopColor: "transparent",
|
|
92456
|
+
borderBottomColor: "transparent"
|
|
92457
|
+
},
|
|
92458
|
+
".cm-tooltip .cm-tooltip-arrow:after": {
|
|
92459
|
+
borderTopColor: tooltipBackground,
|
|
92460
|
+
borderBottomColor: tooltipBackground
|
|
92461
|
+
},
|
|
92462
|
+
".cm-tooltip-autocomplete": {
|
|
92463
|
+
"& > ul > li[aria-selected]": {
|
|
92464
|
+
backgroundColor: highlightBackground,
|
|
92465
|
+
color: base03
|
|
92466
|
+
}
|
|
92467
|
+
}
|
|
92468
|
+
}, { dark: true });
|
|
92469
|
+
const basicDarkHighlightStyle = /* @__PURE__ */ HighlightStyle.define([
|
|
92470
|
+
{ tag: tags$1.keyword, color: base0A },
|
|
92471
|
+
{
|
|
92472
|
+
tag: [tags$1.name, tags$1.deleted, tags$1.character, tags$1.propertyName, tags$1.macroName],
|
|
92473
|
+
color: base0C
|
|
92474
|
+
},
|
|
92475
|
+
{ tag: [tags$1.variableName], color: base0D },
|
|
92476
|
+
{ tag: [/* @__PURE__ */ tags$1.function(tags$1.variableName)], color: base0A },
|
|
92477
|
+
{ tag: [tags$1.labelName], color: base09 },
|
|
92478
|
+
{
|
|
92479
|
+
tag: [tags$1.color, /* @__PURE__ */ tags$1.constant(tags$1.name), /* @__PURE__ */ tags$1.standard(tags$1.name)],
|
|
92480
|
+
color: base0A
|
|
92481
|
+
},
|
|
92482
|
+
{ tag: [/* @__PURE__ */ tags$1.definition(tags$1.name), tags$1.separator], color: base0E },
|
|
92483
|
+
{ tag: [tags$1.brace], color: base0E },
|
|
92484
|
+
{
|
|
92485
|
+
tag: [tags$1.annotation],
|
|
92486
|
+
color: invalid
|
|
92487
|
+
},
|
|
92488
|
+
{
|
|
92489
|
+
tag: [tags$1.number, tags$1.changed, tags$1.annotation, tags$1.modifier, tags$1.self, tags$1.namespace],
|
|
92490
|
+
color: base0A
|
|
92491
|
+
},
|
|
92492
|
+
{
|
|
92493
|
+
tag: [tags$1.typeName, tags$1.className],
|
|
92494
|
+
color: base0D
|
|
92495
|
+
},
|
|
92496
|
+
{
|
|
92497
|
+
tag: [tags$1.operator, tags$1.operatorKeyword],
|
|
92498
|
+
color: base0E
|
|
92499
|
+
},
|
|
92500
|
+
{
|
|
92501
|
+
tag: [tags$1.tagName],
|
|
92502
|
+
color: base0A
|
|
92503
|
+
},
|
|
92504
|
+
{
|
|
92505
|
+
tag: [tags$1.squareBracket],
|
|
92506
|
+
color: base0E
|
|
92507
|
+
},
|
|
92508
|
+
{
|
|
92509
|
+
tag: [tags$1.angleBracket],
|
|
92510
|
+
color: base0E
|
|
92511
|
+
},
|
|
92512
|
+
{
|
|
92513
|
+
tag: [tags$1.attributeName],
|
|
92514
|
+
color: base0D
|
|
92515
|
+
},
|
|
92516
|
+
{
|
|
92517
|
+
tag: [tags$1.regexp],
|
|
92518
|
+
color: base0A
|
|
92519
|
+
},
|
|
92520
|
+
{
|
|
92521
|
+
tag: [tags$1.quote],
|
|
92522
|
+
color: base01
|
|
92523
|
+
},
|
|
92524
|
+
{ tag: [tags$1.string], color: base0C },
|
|
92525
|
+
{
|
|
92526
|
+
tag: tags$1.link,
|
|
92527
|
+
color: base0F,
|
|
92528
|
+
textDecoration: "underline",
|
|
92529
|
+
textUnderlinePosition: "under"
|
|
92530
|
+
},
|
|
92531
|
+
{
|
|
92532
|
+
tag: [tags$1.url, tags$1.escape, /* @__PURE__ */ tags$1.special(tags$1.string)],
|
|
92533
|
+
color: base0B
|
|
92534
|
+
},
|
|
92535
|
+
{ tag: [tags$1.meta], color: base08 },
|
|
92536
|
+
{ tag: [tags$1.comment], color: base06, fontStyle: "italic" },
|
|
92537
|
+
{ tag: tags$1.monospace, color: base01 },
|
|
92538
|
+
{ tag: tags$1.strong, fontWeight: "bold", color: base0A },
|
|
92539
|
+
{ tag: tags$1.emphasis, fontStyle: "italic", color: base0D },
|
|
92540
|
+
{ tag: tags$1.strikethrough, textDecoration: "line-through" },
|
|
92541
|
+
{ tag: tags$1.heading, fontWeight: "bold", color: base01 },
|
|
92542
|
+
{ tag: /* @__PURE__ */ tags$1.special(tags$1.heading1), fontWeight: "bold", color: base01 },
|
|
92543
|
+
{ tag: tags$1.heading1, fontWeight: "bold", color: base01 },
|
|
92544
|
+
{
|
|
92545
|
+
tag: [tags$1.heading2, tags$1.heading3, tags$1.heading4],
|
|
92546
|
+
fontWeight: "bold",
|
|
92547
|
+
color: base01
|
|
92548
|
+
},
|
|
92549
|
+
{
|
|
92550
|
+
tag: [tags$1.heading5, tags$1.heading6],
|
|
92551
|
+
color: base01
|
|
92552
|
+
},
|
|
92553
|
+
{ tag: [tags$1.atom, tags$1.bool, /* @__PURE__ */ tags$1.special(tags$1.variableName)], color: base0B },
|
|
92554
|
+
{
|
|
92555
|
+
tag: [tags$1.processingInstruction, tags$1.inserted],
|
|
92556
|
+
color: base0B
|
|
92557
|
+
},
|
|
92558
|
+
{
|
|
92559
|
+
tag: [tags$1.contentSeparator],
|
|
92560
|
+
color: base0D
|
|
92561
|
+
},
|
|
92562
|
+
{ tag: tags$1.invalid, color: base02, borderBottom: `1px dotted ${invalid}` }
|
|
92563
|
+
]);
|
|
92564
|
+
const basicDark = [
|
|
92565
|
+
basicDarkTheme,
|
|
92566
|
+
/* @__PURE__ */ syntaxHighlighting(basicDarkHighlightStyle)
|
|
92567
|
+
];
|
|
92404
92568
|
const MDXEditorPanelContent = ({
|
|
92405
92569
|
context,
|
|
92406
92570
|
actions: _actions,
|
|
@@ -92462,11 +92626,13 @@ const MDXEditorPanelContent = ({
|
|
|
92462
92626
|
bash: "Bash",
|
|
92463
92627
|
shell: "Shell",
|
|
92464
92628
|
sql: "SQL"
|
|
92465
|
-
}
|
|
92629
|
+
},
|
|
92630
|
+
codeMirrorExtensions: [basicDark]
|
|
92466
92631
|
}),
|
|
92467
92632
|
frontmatterPlugin(),
|
|
92468
92633
|
diffSourcePlugin({
|
|
92469
|
-
viewMode: parseError ? "source" : "rich-text"
|
|
92634
|
+
viewMode: parseError ? "source" : "rich-text",
|
|
92635
|
+
codeMirrorExtensions: [basicDark]
|
|
92470
92636
|
}),
|
|
92471
92637
|
toolbarPlugin({
|
|
92472
92638
|
toolbarContents: () => /* @__PURE__ */ jsx$1(Fragment, { children: /* @__PURE__ */ jsxs(DiffSourceToggleWrapper, { children: [
|
|
@@ -92739,6 +92905,7 @@ const MDXEditorPanelContent = ({
|
|
|
92739
92905
|
markdown: safeMarkdown,
|
|
92740
92906
|
onChange: handleChange,
|
|
92741
92907
|
readOnly: !isEditable,
|
|
92908
|
+
className: "dark-editor",
|
|
92742
92909
|
contentEditableClassName: "prose",
|
|
92743
92910
|
plugins
|
|
92744
92911
|
},
|
|
@@ -93057,4 +93224,4 @@ export {
|
|
|
93057
93224
|
onPackageUnload as y,
|
|
93058
93225
|
fileEditingPanelTools as z
|
|
93059
93226
|
};
|
|
93060
|
-
//# sourceMappingURL=index-
|
|
93227
|
+
//# sourceMappingURL=index-BqlTIhAc.js.map
|