@myst-theme/site 0.2.3 → 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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@myst-theme/site",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"main": "./src/index.ts",
|
|
5
5
|
"types": "./src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@headlessui/react": "^1.7.13",
|
|
18
18
|
"@heroicons/react": "^2.0.14",
|
|
19
|
-
"@myst-theme/diagrams": "^0.2.
|
|
20
|
-
"@myst-theme/frontmatter": "^0.2.
|
|
21
|
-
"@myst-theme/jupyter": "^0.2.
|
|
22
|
-
"@myst-theme/providers": "^0.2.
|
|
19
|
+
"@myst-theme/diagrams": "^0.2.4",
|
|
20
|
+
"@myst-theme/frontmatter": "^0.2.4",
|
|
21
|
+
"@myst-theme/jupyter": "^0.2.4",
|
|
22
|
+
"@myst-theme/providers": "^0.2.4",
|
|
23
23
|
"classnames": "^2.3.2",
|
|
24
24
|
"lodash.throttle": "^4.1.1",
|
|
25
25
|
"myst-common": "^0.0.16",
|
|
26
26
|
"myst-config": "^0.0.14",
|
|
27
|
-
"myst-demo": "^0.2.
|
|
28
|
-
"myst-to-react": "^0.2.
|
|
27
|
+
"myst-demo": "^0.2.4",
|
|
28
|
+
"myst-to-react": "^0.2.4",
|
|
29
29
|
"nbtx": "^0.2.3",
|
|
30
30
|
"node-cache": "^5.1.2",
|
|
31
31
|
"node-fetch": "^2.6.7",
|
|
@@ -192,7 +192,7 @@ export const DocumentOutline = ({
|
|
|
192
192
|
}) => {
|
|
193
193
|
const { activeId, headings, highlight } = useHeaders();
|
|
194
194
|
if (headings.length <= 1 || !onClient) {
|
|
195
|
-
return <nav suppressHydrationWarning />;
|
|
195
|
+
return <nav suppressHydrationWarning style={{ display: 'none' }} />;
|
|
196
196
|
}
|
|
197
197
|
return (
|
|
198
198
|
<nav
|