@myst-theme/site 0.1.26 → 0.1.28
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.1.
|
|
3
|
+
"version": "0.1.28",
|
|
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.8",
|
|
18
18
|
"@heroicons/react": "^2.0.14",
|
|
19
|
-
"@myst-theme/diagrams": "^0.1.
|
|
20
|
-
"@myst-theme/frontmatter": "^0.1.
|
|
21
|
-
"@myst-theme/jupyter": "^0.1.
|
|
22
|
-
"@myst-theme/providers": "^0.1.
|
|
19
|
+
"@myst-theme/diagrams": "^0.1.28",
|
|
20
|
+
"@myst-theme/frontmatter": "^0.1.28",
|
|
21
|
+
"@myst-theme/jupyter": "^0.1.28",
|
|
22
|
+
"@myst-theme/providers": "^0.1.28",
|
|
23
23
|
"classnames": "^2.3.2",
|
|
24
24
|
"lodash.throttle": "^4.1.1",
|
|
25
25
|
"myst-common": "^0.0.14",
|
|
26
|
-
"myst-config": "^0.0.
|
|
27
|
-
"myst-demo": "^0.1.
|
|
28
|
-
"myst-to-react": "^0.1.
|
|
26
|
+
"myst-config": "^0.0.10",
|
|
27
|
+
"myst-demo": "^0.1.28",
|
|
28
|
+
"myst-to-react": "^0.1.28",
|
|
29
29
|
"nbtx": "^0.2.3",
|
|
30
30
|
"node-cache": "^5.1.2",
|
|
31
31
|
"node-fetch": "^2.6.7",
|
|
@@ -124,7 +124,10 @@ export const TableOfContents = ({
|
|
|
124
124
|
if (!headings) return null;
|
|
125
125
|
return (
|
|
126
126
|
<div
|
|
127
|
-
className=
|
|
127
|
+
className={classNames(
|
|
128
|
+
'fixed xl:article-grid article-grid-gap xl:w-screen z-30 xl:pointer-events-none overflow-auto max-xl:min-w-[300px]',
|
|
129
|
+
{ hidden: !open },
|
|
130
|
+
)}
|
|
128
131
|
style={{
|
|
129
132
|
top: top ?? 0,
|
|
130
133
|
height: `min(calc(100vh - ${top ?? 0}px), ${height}px)`,
|