@atlaskit/side-navigation 4.2.2 → 4.2.3
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/CHANGELOG.md
CHANGED
|
@@ -47,7 +47,7 @@ var LoadingItems = function LoadingItems(_ref) {
|
|
|
47
47
|
}
|
|
48
48
|
return (0, _react.jsx)(_motion.ExitingPersistence, null, (0, _react.jsx)(_motion.FadeIn, {
|
|
49
49
|
key: "loading-section-".concat(isLoading),
|
|
50
|
-
duration:
|
|
50
|
+
duration: "medium"
|
|
51
51
|
}, function (motion, state) {
|
|
52
52
|
return (0, _react.jsx)("span", (0, _extends2.default)({}, motion, {
|
|
53
53
|
"data-testid": testId && "".concat(testId, "--").concat(state),
|
|
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
5
5
|
*/
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
|
-
import { ExitingPersistence, FadeIn
|
|
8
|
+
import { ExitingPersistence, FadeIn } from '@atlaskit/motion';
|
|
9
9
|
import { useShouldNestedElementRender } from '../NestableNavigationContent/context';
|
|
10
10
|
const baseMotionStyles = css({
|
|
11
11
|
position: 'absolute',
|
|
@@ -41,7 +41,7 @@ const LoadingItems = ({
|
|
|
41
41
|
}
|
|
42
42
|
return jsx(ExitingPersistence, null, jsx(FadeIn, {
|
|
43
43
|
key: `loading-section-${isLoading}`,
|
|
44
|
-
duration:
|
|
44
|
+
duration: "medium"
|
|
45
45
|
}, (motion, state) => jsx("span", _extends({}, motion, {
|
|
46
46
|
"data-testid": testId && `${testId}--${state}`,
|
|
47
47
|
css: [baseMotionStyles, state === 'entering' && enteringStyles]
|
|
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
5
5
|
*/
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
|
-
import { ExitingPersistence, FadeIn
|
|
8
|
+
import { ExitingPersistence, FadeIn } from '@atlaskit/motion';
|
|
9
9
|
import { useShouldNestedElementRender } from '../NestableNavigationContent/context';
|
|
10
10
|
var baseMotionStyles = css({
|
|
11
11
|
position: 'absolute',
|
|
@@ -39,7 +39,7 @@ var LoadingItems = function LoadingItems(_ref) {
|
|
|
39
39
|
}
|
|
40
40
|
return jsx(ExitingPersistence, null, jsx(FadeIn, {
|
|
41
41
|
key: "loading-section-".concat(isLoading),
|
|
42
|
-
duration:
|
|
42
|
+
duration: "medium"
|
|
43
43
|
}, function (motion, state) {
|
|
44
44
|
return jsx("span", _extends({}, motion, {
|
|
45
45
|
"data-testid": testId && "".concat(testId, "--").concat(state),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/side-navigation",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.3",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/ds-lib": "^3.5.0",
|
|
36
|
-
"@atlaskit/icon": "^23.
|
|
36
|
+
"@atlaskit/icon": "^23.8.0",
|
|
37
37
|
"@atlaskit/menu": "^2.14.0",
|
|
38
|
-
"@atlaskit/motion": "^
|
|
38
|
+
"@atlaskit/motion": "^2.0.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^1.0.0",
|
|
40
|
-
"@atlaskit/primitives": "^13.
|
|
40
|
+
"@atlaskit/primitives": "^13.5.0",
|
|
41
41
|
"@atlaskit/theme": "^15.0.0",
|
|
42
42
|
"@atlaskit/tokens": "^3.3.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|