@hyperbook/markdown 0.24.2 → 0.24.3

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.
@@ -39,7 +39,7 @@ var hyperbook = (function () {
39
39
  const expanded = collapsibles.some((c) => c.id === id);
40
40
  if (expanded) {
41
41
  collapsibleEl.classList.add("expanded");
42
- } else {
42
+ } else if (!id.startsWith("_nav:")) {
43
43
  collapsibleEl.classList.remove("expanded");
44
44
  }
45
45
  }
@@ -95,9 +95,18 @@ header.inverted > .branding:hover {
95
95
  border-color: var(--color-spacer);
96
96
  }
97
97
 
98
+ .section > .name > .label {
99
+ color: var(--color-text);
100
+ }
101
+
102
+ .section > .name.active > .label {
103
+ color: var(--color-text);
104
+ }
105
+
98
106
  .section .name.empty {
99
107
  color: var(--color-text-deactivated);
100
108
  cursor: pointer;
109
+ font-style: italic;
101
110
  }
102
111
 
103
112
  .section > .name:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperbook/markdown",
3
- "version": "0.24.2",
3
+ "version": "0.24.3",
4
4
  "author": "Mike Barkmin",
5
5
  "homepage": "https://github.com/openpatch/hyperbook#readme",
6
6
  "license": "MIT",