Skip to content

Commit

Permalink
feat: 升级依赖
Browse files Browse the repository at this point in the history
  • Loading branch information
limaofeng committed Jun 23, 2022
1 parent ed588d7 commit e7fdb4f
Show file tree
Hide file tree
Showing 4 changed files with 344 additions and 282 deletions.
62 changes: 31 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,45 +58,45 @@
}
],
"dependencies": {
"@asany/sortable": "^0.1.30",
"@asany/tree": "^0.1.21",
"@asany/sortable": "^0.1.32",
"@asany/tree": "^0.1.22",
"@daybrush/drag": "^0.19.3",
"@scena/react-guides": "^0.16.0",
"@scena/react-guides": "^0.17.1",
"moveable-helper": "^0.4.0",
"overlayscrollbars": "^1.13.1",
"overlayscrollbars": "^1.13.2",
"overlayscrollbars-react": "^0.3.0",
"react-moveable": "^0.30.3",
"react-selecto": "^1.13.0",
"react-selecto": "^1.16.2",
"react-transition-group": "^4.4.2",
"react-use": "^17.4.0",
"scenejs": "^1.5.0",
"styled-components": "^5.3.3"
"scenejs": "^1.6.0",
"styled-components": "^5.3.5"
},
"devDependencies": {
"@apollo/client": "^3.4.17",
"@asany/icons": "^0.2.2",
"@apollo/client": "^3.6.9",
"@asany/icons": "^0.2.12",
"@babel/core": "^7.16.0",
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@size-limit/preset-small-lib": "^7.0.3",
"@storybook/addon-essentials": "^6.3.12",
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@size-limit/preset-small-lib": "^7.0.8",
"@storybook/addon-essentials": "^6.5.9",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.3.12",
"@storybook/addon-links": "^6.5.9",
"@storybook/addon-postcss": "^2.0.0",
"@storybook/addons": "^6.3.12",
"@storybook/addons": "^6.5.9",
"@storybook/react": "^6.5.9",
"@types/lodash-es": "^4.17.5",
"@types/lodash-es": "^4.17.6",
"@types/react": "^18.0.14",
"@types/react-dom": "^17.0.11",
"@types/react-dom": "^18.0.5",
"@types/react-is": "^17.0.3",
"@types/react-router-dom": "^5.3.2",
"@types/react-transition-group": "^4.4.4",
"@types/styled-components": "^5.1.15",
"antd": "^4.16.13",
"@types/react-router-dom": "^5.3.3",
"@types/react-transition-group": "^4.4.5",
"@types/styled-components": "^5.1.25",
"antd": "^4.21.3",
"autoprefixer": "^10.4.0",
"babel-loader": "^8.2.3",
"conventional-changelog-cli": "^2.1.1",
"cssnano": "^5.0.11",
"conventional-changelog-cli": "^2.2.2",
"cssnano": "^5.1.12",
"eslint-plugin-prettier": "^3.4.1",
"fake-indexeddb": "^3.1.7",
"graphql": "^16.0.1",
Expand All @@ -106,20 +106,20 @@
"less-loader": "^7.3.0",
"lodash-es": "^4.17.21",
"pinst": "^2.1.6",
"postcss": "^8.3.11",
"postcss": "^8.4.14",
"react": "^18.2.0",
"react-dnd": "^14.0.4",
"react-dnd-html5-backend": "^14.0.2",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
"react-dom": "^18.2.0",
"react-is": "^18.2.0",
"react-router-dom": "^6.3.0",
"rollup-plugin-postcss": "^4.0.1",
"size-limit": "^7.0.3",
"sunmao": "^0.2.27",
"rollup-plugin-postcss": "^4.0.2",
"size-limit": "^7.0.8",
"sunmao": "^0.2.31",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"tsdx": "^0.14.1",
"tslib": "^2.3.1",
"typescript": "^4.5.2"
"tslib": "^2.4.0",
"typescript": "^4.7.4"
},
"resolutions": {
"**/@typescript-eslint/eslint-plugin": "^4.1.1",
Expand Down
3 changes: 2 additions & 1 deletion src/components/aside/Extra.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import React, { Component } from 'react';
export interface ExtraProps {
title: string;
summary: string;
content: any;
content?: any;
children?: React.ReactNode;
}

export class Extra extends Component<ExtraProps> {
Expand Down
4 changes: 3 additions & 1 deletion src/utils/MoveableData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ import Memory from './Memory';
import { getId } from './utils';

export default class MoveableData extends MoveableHelper {
private memory: Memory;
private selectedTargets: Array<HTMLElement | SVGElement> = [];
constructor(private memory: Memory) {
constructor(memory: Memory) {
super({
createAuto: true,
});
this.memory = memory;
}
public setSelectedTargets(targets: Array<HTMLElement | SVGElement>) {
this.selectedTargets = targets;
Expand Down
Loading

0 comments on commit e7fdb4f

Please sign in to comment.