Skip to content

Commit 609271b

Browse files
authored
revert: Back to sync (#5)
* Revert "chore: Export ts define" This reverts commit 87123fe. * Revert "fix: Motion should support ssr (#4)" This reverts commit 024a0ad. * export interface
1 parent a37a528 commit 609271b

12 files changed

Lines changed: 378 additions & 541 deletions

File tree

.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ module.exports = {
1010
'react/no-find-dom-node': 0,
1111
'jsx-a11y/label-has-for': 0,
1212
'jsx-a11y/label-has-associated-control': 0,
13-
'default-case': 0,
1413
},
1514
};

examples/CSSMotion.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
}
6565

6666
.hidden {
67-
display: none !important;
67+
display: none;
6868
}
6969

7070
@keyframes enter {

examples/SSR.tsx

Lines changed: 0 additions & 62 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@
4343
"dependencies": {
4444
"@babel/runtime": "^7.11.1",
4545
"classnames": "^2.2.1",
46-
"rc-util": "^5.2.1"
46+
"raf": "^3.4.1",
47+
"rc-util": "^5.0.6"
4748
},
4849
"devDependencies": {
4950
"@types/classnames": "^2.2.9",
5051
"@types/enzyme": "^3.10.5",
5152
"@types/jest": "^26.0.8",
53+
"@types/raf": "^3.4.0",
5254
"@types/react": "^16.9.2",
5355
"@types/react-dom": "^16.9.0",
5456
"@umijs/fabric": "^2.0.8",
@@ -60,7 +62,6 @@
6062
"father": "^2.13.4",
6163
"less": "^3.10.3",
6264
"np": "^6.2.4",
63-
"prettier": "^2.1.1",
6465
"react": "^16.0.0",
6566
"react-dom": "^16.0.0"
6667
},

0 commit comments

Comments
 (0)