@atlaskit/side-navigation 2.0.2 → 2.0.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 +7 -0
- package/dist/cjs/components/NavigationFooter/index.js +4 -4
- package/dist/es2019/components/NavigationFooter/index.js +3 -4
- package/dist/esm/components/NavigationFooter/index.js +3 -4
- package/dist/types/components/NavigationFooter/index.d.ts +1 -3
- package/dist/types-ts4.5/components/NavigationFooter/index.d.ts +1 -3
- package/package.json +3 -3
- package/report.api.md +1 -1
- package/tmp/api-report-tmp.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/side-navigation
|
|
2
2
|
|
|
3
|
+
## 2.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`e3b28897c5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3b28897c5f) - Internal code changes. There is no expected change in behaviour.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 2.0.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.default = void 0;
|
|
7
|
-
var _react = require("
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
8
9
|
var _primitives = require("@atlaskit/primitives");
|
|
9
|
-
/** @jsx jsx */
|
|
10
|
-
|
|
11
10
|
var navigationFooterStyles = (0, _primitives.xcss)({
|
|
12
11
|
position: 'relative'
|
|
13
12
|
});
|
|
13
|
+
|
|
14
14
|
/**
|
|
15
15
|
* __Navigation footer__
|
|
16
16
|
*
|
|
@@ -21,7 +21,7 @@ var navigationFooterStyles = (0, _primitives.xcss)({
|
|
|
21
21
|
*/
|
|
22
22
|
var NavigationFooter = function NavigationFooter(_ref) {
|
|
23
23
|
var children = _ref.children;
|
|
24
|
-
return
|
|
24
|
+
return /*#__PURE__*/_react.default.createElement(_primitives.Box, {
|
|
25
25
|
padding: "space.100",
|
|
26
26
|
paddingBlockEnd: "space.200",
|
|
27
27
|
xcss: navigationFooterStyles
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
1
|
+
import React from 'react';
|
|
4
2
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
5
3
|
const navigationFooterStyles = xcss({
|
|
6
4
|
position: 'relative'
|
|
7
5
|
});
|
|
6
|
+
|
|
8
7
|
/**
|
|
9
8
|
* __Navigation footer__
|
|
10
9
|
*
|
|
@@ -16,7 +15,7 @@ const navigationFooterStyles = xcss({
|
|
|
16
15
|
const NavigationFooter = ({
|
|
17
16
|
children
|
|
18
17
|
}) => {
|
|
19
|
-
return
|
|
18
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
20
19
|
padding: "space.100",
|
|
21
20
|
paddingBlockEnd: "space.200",
|
|
22
21
|
xcss: navigationFooterStyles
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
1
|
+
import React from 'react';
|
|
4
2
|
import { Box, xcss } from '@atlaskit/primitives';
|
|
5
3
|
var navigationFooterStyles = xcss({
|
|
6
4
|
position: 'relative'
|
|
7
5
|
});
|
|
6
|
+
|
|
8
7
|
/**
|
|
9
8
|
* __Navigation footer__
|
|
10
9
|
*
|
|
@@ -15,7 +14,7 @@ var navigationFooterStyles = xcss({
|
|
|
15
14
|
*/
|
|
16
15
|
var NavigationFooter = function NavigationFooter(_ref) {
|
|
17
16
|
var children = _ref.children;
|
|
18
|
-
return
|
|
17
|
+
return /*#__PURE__*/React.createElement(Box, {
|
|
19
18
|
padding: "space.100",
|
|
20
19
|
paddingBlockEnd: "space.200",
|
|
21
20
|
xcss: navigationFooterStyles
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
2
|
export interface NavigationFooterProps {
|
|
5
3
|
children: ReactNode;
|
|
6
4
|
}
|
|
@@ -12,5 +10,5 @@ export interface NavigationFooterProps {
|
|
|
12
10
|
* - [Examples](https://atlassian.design/components/side-navigation/examples#header-and-footer)
|
|
13
11
|
* - [Code](https://atlassian.design/components/side-navigation/code)
|
|
14
12
|
*/
|
|
15
|
-
declare const NavigationFooter: ({ children }: NavigationFooterProps) =>
|
|
13
|
+
declare const NavigationFooter: ({ children }: NavigationFooterProps) => JSX.Element;
|
|
16
14
|
export default NavigationFooter;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
1
|
import { ReactNode } from 'react';
|
|
3
|
-
import { jsx } from '@emotion/react';
|
|
4
2
|
export interface NavigationFooterProps {
|
|
5
3
|
children: ReactNode;
|
|
6
4
|
}
|
|
@@ -12,5 +10,5 @@ export interface NavigationFooterProps {
|
|
|
12
10
|
* - [Examples](https://atlassian.design/components/side-navigation/examples#header-and-footer)
|
|
13
11
|
* - [Code](https://atlassian.design/components/side-navigation/code)
|
|
14
12
|
*/
|
|
15
|
-
declare const NavigationFooter: ({ children }: NavigationFooterProps) =>
|
|
13
|
+
declare const NavigationFooter: ({ children }: NavigationFooterProps) => JSX.Element;
|
|
16
14
|
export default NavigationFooter;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/side-navigation",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@atlaskit/icon": "^21.12.0",
|
|
38
38
|
"@atlaskit/menu": "^1.10.0",
|
|
39
39
|
"@atlaskit/motion": "^1.4.0",
|
|
40
|
-
"@atlaskit/primitives": "^1.
|
|
41
|
-
"@atlaskit/theme": "^12.
|
|
40
|
+
"@atlaskit/primitives": "^1.3.0",
|
|
41
|
+
"@atlaskit/theme": "^12.6.0",
|
|
42
42
|
"@atlaskit/tokens": "^1.18.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/react": "^11.7.1"
|
package/report.api.md
CHANGED
|
@@ -152,7 +152,7 @@ export interface NavigationContentProps {
|
|
|
152
152
|
// @public
|
|
153
153
|
export const NavigationFooter: ({
|
|
154
154
|
children,
|
|
155
|
-
}: NavigationFooterProps) =>
|
|
155
|
+
}: NavigationFooterProps) => JSX.Element;
|
|
156
156
|
|
|
157
157
|
// @public (undocumented)
|
|
158
158
|
export interface NavigationFooterProps {
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ export interface NavigationContentProps {
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
// @public
|
|
112
|
-
export const NavigationFooter: ({ children }: NavigationFooterProps) =>
|
|
112
|
+
export const NavigationFooter: ({ children }: NavigationFooterProps) => JSX.Element;
|
|
113
113
|
|
|
114
114
|
// @public (undocumented)
|
|
115
115
|
export interface NavigationFooterProps {
|