Skip to content

Commit e670047

Browse files
Merge pull request #29 from hc-oss:chore---robot--dependency-updates
chore: 🤖 dependency updates
2 parents 740d752 + 0abc3f7 commit e670047

File tree

4 files changed

+504
-594
lines changed

4 files changed

+504
-594
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,28 +26,28 @@
2626
},
2727
"devDependencies": {
2828
"@ampproject/filesize": "^4.3.0",
29-
"@babel/core": "^7.17.7",
29+
"@babel/core": "^7.17.9",
3030
"@size-limit/preset-small-lib": "^7.0.8",
31-
"@storybook/addon-essentials": "^6.4.9",
31+
"@storybook/addon-essentials": "^6.4.22",
3232
"@storybook/addon-info": "^5.3.21",
3333
"@storybook/addon-knobs": "^6.1.14",
34-
"@storybook/addon-links": "^6.4.9",
35-
"@storybook/addon-storysource": "^6.4.9",
36-
"@storybook/addons": "^6.4.9",
37-
"@storybook/react": "^6.4.9",
38-
"@types/react": "^17.0.40",
39-
"@types/react-dom": "^17.0.13",
40-
"babel-loader": "^8.2.3",
34+
"@storybook/addon-links": "^6.4.22",
35+
"@storybook/addon-storysource": "^6.4.22",
36+
"@storybook/addons": "^6.4.22",
37+
"@storybook/react": "^6.4.22",
38+
"@types/react": "^18.0.6",
39+
"@types/react-dom": "^18.0.2",
40+
"babel-loader": "^8.2.5",
4141
"eslint-plugin-prettier": "^4.0.0",
4242
"husky": "^7.0.4",
43-
"react": "^17.0.2",
44-
"react-dom": "^17.0.2",
45-
"react-is": "^17.0.2",
43+
"react": "^18.0.0",
44+
"react-dom": "^18.0.0",
45+
"react-is": "^18.0.0",
4646
"size-limit": "^7.0.8",
4747
"ts-loader": "^9.2.8",
4848
"tsdx": "^0.14.1",
49-
"tslib": "^2.3.1",
50-
"typescript": "^4.6.2"
49+
"tslib": "^2.4.0",
50+
"typescript": "^4.6.3"
5151
},
5252
"prettier": {
5353
"printWidth": 100,

src/components/portal.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
import React, { ReactPortal } from "react";
2-
import { useEffect } from "react";
1+
import React from "react";
32
import { createPortal } from "react-dom";
43

5-
const PortalComponent: React.FC = ({ children }): ReactPortal => {
4+
const PortalComponent: any = ({ children }: any) => {
65
const el = document.createElement("div");
76

8-
useEffect(() => {
7+
React.useEffect(() => {
98
document.body.appendChild(el);
109
return () => {
1110
document.body.removeChild(el);

tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"module": "esnext",
55
"lib": ["dom", "esnext"],
66
"importHelpers": true,
7-
"declaration": true,
87
"sourceMap": true,
98
"rootDir": "./src",
109
"strict": true,

0 commit comments

Comments
 (0)