@industry-theme/markdown-panels 0.2.2 → 0.2.4
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/panels.bundle.js +10 -10
- package/dist/panels.bundle.js.map +1 -1
- package/package.json +1 -1
package/dist/panels.bundle.js
CHANGED
|
@@ -38129,7 +38129,7 @@ const Uk = (e) => {
|
|
|
38129
38129
|
var R, M, k, E, $;
|
|
38130
38130
|
const { theme: r } = Ap(), [i, a] = Ae("book"), [o, s] = Ae(0), [l, u] = Ae(1);
|
|
38131
38131
|
We(() => n.on("file:opened", (I) => {
|
|
38132
|
-
console.log("Markdown Panel: File opened:", I.payload), a("
|
|
38132
|
+
console.log("Markdown Panel: File opened:", I.payload), a("book"), s(0);
|
|
38133
38133
|
}), [n]);
|
|
38134
38134
|
const d = e.getSlice("active-file"), f = ((R = d == null ? void 0 : d.data) == null ? void 0 : R.type) === "markdown" || ((k = (M = d == null ? void 0 : d.data) == null ? void 0 : M.path) == null ? void 0 : k.match(/\.(md|mdx|markdown)$/i)), p = ((E = d == null ? void 0 : d.data) == null ? void 0 : E.content) || "", m = cn(
|
|
38135
38135
|
() => Bk(p),
|
|
@@ -38307,11 +38307,11 @@ const Uk = (e) => {
|
|
|
38307
38307
|
"button",
|
|
38308
38308
|
{
|
|
38309
38309
|
onClick: () => {
|
|
38310
|
-
a("
|
|
38310
|
+
a("book"), s(0);
|
|
38311
38311
|
},
|
|
38312
38312
|
style: {
|
|
38313
|
-
background: i === "
|
|
38314
|
-
color: i === "
|
|
38313
|
+
background: i === "book" ? r.colors.primary : "transparent",
|
|
38314
|
+
color: i === "book" ? r.colors.background : r.colors.textSecondary,
|
|
38315
38315
|
border: "none",
|
|
38316
38316
|
padding: "6px 12px",
|
|
38317
38317
|
cursor: "pointer",
|
|
@@ -38320,18 +38320,18 @@ const Uk = (e) => {
|
|
|
38320
38320
|
fontFamily: r.fonts.body,
|
|
38321
38321
|
transition: "all 0.2s"
|
|
38322
38322
|
},
|
|
38323
|
-
children: "
|
|
38323
|
+
children: "Slides"
|
|
38324
38324
|
}
|
|
38325
38325
|
),
|
|
38326
38326
|
/* @__PURE__ */ Le.jsx(
|
|
38327
38327
|
"button",
|
|
38328
38328
|
{
|
|
38329
38329
|
onClick: () => {
|
|
38330
|
-
a("
|
|
38330
|
+
a("document"), s(0);
|
|
38331
38331
|
},
|
|
38332
38332
|
style: {
|
|
38333
|
-
background: i === "
|
|
38334
|
-
color: i === "
|
|
38333
|
+
background: i === "document" ? r.colors.primary : "transparent",
|
|
38334
|
+
color: i === "document" ? r.colors.background : r.colors.textSecondary,
|
|
38335
38335
|
border: "none",
|
|
38336
38336
|
padding: "6px 12px",
|
|
38337
38337
|
cursor: "pointer",
|
|
@@ -38340,7 +38340,7 @@ const Uk = (e) => {
|
|
|
38340
38340
|
fontFamily: r.fonts.body,
|
|
38341
38341
|
transition: "all 0.2s"
|
|
38342
38342
|
},
|
|
38343
|
-
children: "
|
|
38343
|
+
children: "Document"
|
|
38344
38344
|
}
|
|
38345
38345
|
)
|
|
38346
38346
|
]
|
|
@@ -38407,7 +38407,7 @@ const Uk = (e) => {
|
|
|
38407
38407
|
enableHtmlPopout: !0,
|
|
38408
38408
|
enableKeyboardScrolling: !0,
|
|
38409
38409
|
tocDisplayMode: "sidebar",
|
|
38410
|
-
tocSidebarPosition: "
|
|
38410
|
+
tocSidebarPosition: "left",
|
|
38411
38411
|
initialTocOpen: !0
|
|
38412
38412
|
}
|
|
38413
38413
|
)
|