@douyinfe/semi-ui 2.22.0-beta.3 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/semi.css +15 -0
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +1 -1
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/lib/cjs/navigation/SubNav.js +1 -1
- package/lib/es/navigation/SubNav.js +1 -1
- package/package.json +7 -7
|
@@ -153,7 +153,7 @@ class SubNav extends _baseComponent.default {
|
|
|
153
153
|
const isOpen = this.adapter.getIsOpen();
|
|
154
154
|
const iconElem = /*#__PURE__*/_react.default.isValidElement(icon) ? withTransition ? /*#__PURE__*/_react.default.createElement(_cssAnimation.default, {
|
|
155
155
|
animationState: isOpen ? "enter" : "leave",
|
|
156
|
-
startClassName: "".concat(_constants.cssClasses.PREFIX, "-icon-rotate-").concat(isOpen ? "
|
|
156
|
+
startClassName: "".concat(_constants.cssClasses.PREFIX, "-icon-rotate-").concat(isOpen ? "180" : "0")
|
|
157
157
|
}, _ref => {
|
|
158
158
|
let {
|
|
159
159
|
animationClassName
|
|
@@ -129,7 +129,7 @@ export default class SubNav extends BaseComponent {
|
|
|
129
129
|
const isOpen = this.adapter.getIsOpen();
|
|
130
130
|
const iconElem = /*#__PURE__*/React.isValidElement(icon) ? withTransition ? /*#__PURE__*/React.createElement(CSSAnimation, {
|
|
131
131
|
animationState: isOpen ? "enter" : "leave",
|
|
132
|
-
startClassName: "".concat(cssClasses.PREFIX, "-icon-rotate-").concat(isOpen ? "
|
|
132
|
+
startClassName: "".concat(cssClasses.PREFIX, "-icon-rotate-").concat(isOpen ? "180" : "0")
|
|
133
133
|
}, _ref => {
|
|
134
134
|
let {
|
|
135
135
|
animationClassName
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.22.0
|
|
3
|
+
"version": "2.22.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es/index.js",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
],
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@douyinfe/semi-animation": "2.12.0",
|
|
21
|
-
"@douyinfe/semi-animation-react": "2.22.0
|
|
22
|
-
"@douyinfe/semi-foundation": "2.22.0
|
|
23
|
-
"@douyinfe/semi-icons": "2.22.0
|
|
21
|
+
"@douyinfe/semi-animation-react": "2.22.0",
|
|
22
|
+
"@douyinfe/semi-foundation": "2.22.0",
|
|
23
|
+
"@douyinfe/semi-icons": "2.22.0",
|
|
24
24
|
"@douyinfe/semi-illustrations": "2.15.0",
|
|
25
|
-
"@douyinfe/semi-theme-default": "2.22.0
|
|
25
|
+
"@douyinfe/semi-theme-default": "2.22.0",
|
|
26
26
|
"async-validator": "^3.5.0",
|
|
27
27
|
"classnames": "^2.2.6",
|
|
28
28
|
"copy-text-to-clipboard": "^2.1.1",
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
],
|
|
70
70
|
"author": "",
|
|
71
71
|
"license": "MIT",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "e35ab88a3ea3338d8081fbdb065e05e7df94d8d6",
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
75
75
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
76
76
|
"@babel/preset-env": "^7.15.8",
|
|
77
77
|
"@babel/preset-react": "^7.14.5",
|
|
78
|
-
"@douyinfe/semi-scss-compile": "2.22.0
|
|
78
|
+
"@douyinfe/semi-scss-compile": "2.22.0",
|
|
79
79
|
"@storybook/addon-knobs": "^6.3.1",
|
|
80
80
|
"@types/lodash": "^4.14.176",
|
|
81
81
|
"@types/react": ">=16.0.0",
|