Skip to content

Commit 3e19d8e

Browse files
committed
reproduction #62
1 parent 36f4f51 commit 3e19d8e

File tree

4 files changed

+867
-2685
lines changed

4 files changed

+867
-2685
lines changed

.examples/chesterish.stories.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React from "react";
22

33
import { IpynbRenderer } from "../src/index_katex";
4-
import pca1 from "./ipynb/pca1.ipynb";
5-
import matrix from "./ipynb/matrix-3.ipynb";
4+
import pca1 from "./ipynb/issue62.json";
5+
import matrix from "./ipynb/issue62.json";
66

77
import "../src/styles/chesterish.less";
88

.examples/ipynb/issue62.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"metadata": {
3+
"kernelspec": {
4+
"name": "python",
5+
"display_name": "Python (Pyodide)",
6+
"language": "python"
7+
},
8+
"language_info": {
9+
"codemirror_mode": {
10+
"name": "python",
11+
"version": 3
12+
},
13+
"file_extension": ".py",
14+
"mimetype": "text/x-python",
15+
"name": "python",
16+
"nbconvert_exporter": "python",
17+
"pygments_lexer": "ipython3",
18+
"version": "3.8"
19+
}
20+
},
21+
"nbformat_minor": 4,
22+
"nbformat": 4,
23+
"cells": [
24+
{
25+
"cell_type": "markdown",
26+
"source": "Say hello",
27+
"metadata": {}
28+
},
29+
{
30+
"cell_type": "code",
31+
"source": "print('hello!')",
32+
"metadata": {},
33+
"outputs": [],
34+
"execution_count": null
35+
}
36+
]
37+
}

package.json

+16-16
Original file line numberDiff line numberDiff line change
@@ -44,25 +44,25 @@
4444
"@babel/cli": "^7.14.3",
4545
"@babel/core": "^7.14.3",
4646
"@babel/preset-env": "^7.14.4",
47-
"@babel/preset-react": "^7.13.13",
48-
"@babel/preset-typescript": "^7.13.0",
49-
"@chromatic-com/storybook": "^1.2.22",
47+
"@babel/preset-react": "^7.26.3",
48+
"@babel/preset-typescript": "^7.27.0",
49+
"@chromatic-com/storybook": "^3.2.6",
5050
"@playwright/test": "^1.42.1",
51-
"@storybook/addon-actions": "^8.0.0",
52-
"@storybook/addon-essentials": "^8.0.0",
53-
"@storybook/addon-interactions": "^8.0.0",
54-
"@storybook/addon-links": "^8.0.0",
55-
"@storybook/addon-onboarding": "^8.0.0",
51+
"@storybook/addon-actions": "^8.6.12",
52+
"@storybook/addon-essentials": "^8.6.12",
53+
"@storybook/addon-interactions": "^8.6.12",
54+
"@storybook/addon-links": "^8.6.12",
55+
"@storybook/addon-onboarding": "^8.6.12",
5656
"@storybook/addon-webpack5-compiler-babel": "^3.0.3",
5757
"@storybook/addon-webpack5-compiler-swc": "^1.0.2",
58-
"@storybook/blocks": "^8.0.0",
59-
"@storybook/react": "^8.0.0",
60-
"@storybook/react-webpack5": "^8.0.0",
58+
"@storybook/blocks": "^8.6.12",
59+
"@storybook/react": "^8.6.12",
60+
"@storybook/react-webpack5": "^8.6.12",
6161
"@storybook/test": "^8.0.0",
6262
"@types/dompurify": "^3.0.5",
6363
"@types/katex": "^0.16.7",
6464
"@types/node": "^15.12.1",
65-
"@types/react": "^18.2.24",
65+
"@types/react": "^19.1.2",
6666
"@types/react-syntax-highlighter": "^15.5.11",
6767
"@types/storybook__react": "^5.2.1",
6868
"@typescript-eslint/eslint-plugin": "^7.2.0",
@@ -78,12 +78,12 @@
7878
"less-loader": "7.3.0",
7979
"less-plugin-clean-css": "^1.5.1",
8080
"prettier": "^3.2.5",
81-
"react": ">=16.9.0",
82-
"react-dom": ">=16.9.0",
83-
"react-is": "^16.13.1",
81+
"react": "^19.1.0",
82+
"react-dom": "^19.1.0",
83+
"react-is": "^19.1.0",
8484
"rehype-katex": "^7.0.0",
8585
"require-context.macro": "^1.2.2",
86-
"storybook": "^8.0.0",
86+
"storybook": "^8.6.12",
8787
"ts-loader": "8.2.0",
8888
"typescript": "^5.4.2",
8989
"typescript-declaration-webpack-plugin": "^0.2.2",

0 commit comments

Comments
 (0)