Skip to content

Commit 92b7e1f

Browse files
build: Bump deps and update switch component
Signed-off-by: Mahendra Paipuri <[email protected]>
1 parent 7c1d4c7 commit 92b7e1f

File tree

8 files changed

+3474
-2290
lines changed

8 files changed

+3474
-2290
lines changed

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ node_modules
44
**/package.json
55
**/venv
66
**/.venv
7+
**/labextension

packages/logout-extension/tsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
"esModuleInterop": true,
77
"incremental": true,
88
"jsx": "react",
9+
"lib": [
10+
"DOM",
11+
"DOM.Iterable",
12+
"ES2018",
13+
"ES2020.BigInt",
14+
"ES2020.Intl",
15+
"ES2020.String"
16+
],
917
"module": "esnext",
1018
"moduleResolution": "node",
1119
"noEmitOnError": true,

packages/theme-toggler-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"watch:src": "tsc -w --sourceMap"
5656
},
5757
"dependencies": {
58-
"@jupyter/react-components": "^0.15.3",
58+
"@jupyter/react-components": "^0.16.0",
5959
"@jupyterlab/application": "^4.0.0",
6060
"@jupyterlab/apputils": "^4.0.0",
6161
"react": "^18.2.0"

packages/theme-toggler-extension/src/index.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Switch } from '@jupyter/react-components';
1+
import { Switch, SwitchProps } from '@jupyter/react-components';
22

33
import {
44
JupyterFrontEnd,
@@ -17,8 +17,7 @@ import '../style/index.css';
1717

1818
const themeTogglerPluginId = 'jupyterlab-theme-toggler:plugin';
1919

20-
interface IThemeSwitchProps
21-
extends React.InputHTMLAttributes<HTMLInputElement> {
20+
interface IThemeSwitchProps extends SwitchProps {
2221
themeManager: IThemeManager;
2322
}
2423

packages/theme-toggler-extension/tsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
"esModuleInterop": true,
77
"incremental": true,
88
"jsx": "react",
9+
"lib": [
10+
"DOM",
11+
"DOM.Iterable",
12+
"ES2018",
13+
"ES2020.BigInt",
14+
"ES2020.Intl",
15+
"ES2020.String"
16+
],
917
"module": "esnext",
1018
"moduleResolution": "node",
1119
"noEmitOnError": true,

packages/topbar-text-extension/tsconfig.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
"esModuleInterop": true,
77
"incremental": true,
88
"jsx": "react",
9+
"lib": [
10+
"DOM",
11+
"DOM.Iterable",
12+
"ES2018",
13+
"ES2020.BigInt",
14+
"ES2020.Intl",
15+
"ES2020.String"
16+
],
917
"module": "esnext",
1018
"moduleResolution": "node",
1119
"noEmitOnError": true,

tsconfig.eslint.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
"esModuleInterop": true,
77
"incremental": true,
88
"jsx": "react",
9+
"lib": [
10+
"DOM",
11+
"DOM.Iterable",
12+
"ES2018",
13+
"ES2020.BigInt",
14+
"ES2020.Intl",
15+
"ES2020.String"
16+
],
917
"module": "esnext",
1018
"moduleResolution": "node",
1119
"noEmitOnError": true,

0 commit comments

Comments
 (0)