themed-markdown 0.1.63 → 0.1.64

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 (2) hide show
  1. package/dist/index.mjs +4 -6
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -6480,11 +6480,11 @@ import {
6480
6480
  Maximize2,
6481
6481
  Minimize2,
6482
6482
  Menu,
6483
- X,
6484
6483
  PanelLeftClose,
6485
6484
  PanelRightClose,
6486
6485
  Columns,
6487
- ExternalLink
6486
+ ExternalLink,
6487
+ X
6488
6488
  } from "lucide-react";
6489
6489
  import React16 from "react";
6490
6490
 
@@ -6626,9 +6626,7 @@ var SlideNavigationHeader = ({
6626
6626
  active: showTOC,
6627
6627
  theme: theme2,
6628
6628
  title: tocDisplayMode === "sidebar" ? showTOC ? "Hide table of contents (T)" : "Show table of contents (T)" : showTOC ? "Close table of contents (Esc)" : "Open table of contents (T)"
6629
- }, showTOC ? /* @__PURE__ */ React16.createElement(X, {
6630
- size: 18
6631
- }) : /* @__PURE__ */ React16.createElement(Menu, {
6629
+ }, /* @__PURE__ */ React16.createElement(Menu, {
6632
6630
  size: 18
6633
6631
  })), /* @__PURE__ */ React16.createElement(HeaderButton, {
6634
6632
  onClick: onPrevious,
@@ -7720,7 +7718,7 @@ var SlidePresentationBook = ({
7720
7718
  theme: theme2
7721
7719
  }) => {
7722
7720
  const effectiveTocDisplayMode = tocDisplayMode ?? (viewMode === "single" ? "sidebar" : "overlay");
7723
- const defaultTocOpen = initialTocOpen ?? effectiveTocDisplayMode === "sidebar";
7721
+ const defaultTocOpen = initialTocOpen ?? false;
7724
7722
  const adjustedInitialSlide = viewMode === "book" ? Math.floor(initialSlide / 2) * 2 : initialSlide;
7725
7723
  const [currentSlide, setCurrentSlide] = useState13(adjustedInitialSlide);
7726
7724
  const [isFullscreen, setIsFullscreen] = useState13(false);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "themed-markdown",
3
- "version": "0.1.63",
3
+ "version": "0.1.64",
4
4
  "description": "Industry-themed markdown renderer with presentation capabilities",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",