@atlaskit/side-navigation 1.5.0 → 1.5.1

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
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/side-navigation
2
2
 
3
+ ## 1.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`eadbf13d8c0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eadbf13d8c0) - Updated usages of `Text`, `Box`, `Stack`, and `Inline` primitives to reflect their updated APIs. There are no visual or behaviour changes.
8
+ - Updated dependencies
9
+
3
10
  ## 1.5.0
4
11
 
5
12
  ### Minor Changes
@@ -26,7 +26,7 @@ var NavigationFooter = function NavigationFooter(_ref) {
26
26
  return (0, _react.jsx)(_box.default, {
27
27
  display: "block",
28
28
  position: "relative",
29
- padding: "scale.100",
29
+ padding: "space.100",
30
30
  UNSAFE_style: {
31
31
  paddingBottom: "var(--ds-scale-200, 14px)"
32
32
  }
@@ -26,7 +26,7 @@ var NavigationHeader = function NavigationHeader(props) {
26
26
  return (0, _react.jsx)(_box.default, {
27
27
  display: "block",
28
28
  "data-navheader": true,
29
- padding: "scale.100",
29
+ padding: "space.100",
30
30
  UNSAFE_style: {
31
31
  paddingTop: "var(--ds-scale-300, 24px)"
32
32
  }
@@ -133,8 +133,8 @@ var NestingItem = function NestingItem(props) {
133
133
  }, stack.length >= 1 && (0, _react2.jsx)(_box.default, {
134
134
  as: "div",
135
135
  display: "block",
136
- paddingBlock: "scale.075",
137
- paddingInline: "scale.100"
136
+ paddingBlock: "space.075",
137
+ paddingInline: "space.100"
138
138
  }, backButton), (0, _react2.jsx)(_index.NavigationContent, {
139
139
  testId: testId,
140
140
  showTopScrollIndicator: stack.length >= 1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "sideEffects": false
5
5
  }
@@ -16,7 +16,7 @@ const NavigationFooter = ({
16
16
  return jsx(Box, {
17
17
  display: "block",
18
18
  position: "relative",
19
- padding: "scale.100",
19
+ padding: "space.100",
20
20
  UNSAFE_style: {
21
21
  paddingBottom: "var(--ds-scale-200, 14px)"
22
22
  }
@@ -17,7 +17,7 @@ const NavigationHeader = props => {
17
17
  return jsx(Box, {
18
18
  display: "block",
19
19
  "data-navheader": true,
20
- padding: "scale.100",
20
+ padding: "space.100",
21
21
  UNSAFE_style: {
22
22
  paddingTop: "var(--ds-scale-300, 24px)"
23
23
  }
@@ -87,8 +87,8 @@ const NestingItem = props => {
87
87
  }, stack.length >= 1 && jsx(Box, {
88
88
  as: "div",
89
89
  display: "block",
90
- paddingBlock: "scale.075",
91
- paddingInline: "scale.100"
90
+ paddingBlock: "space.075",
91
+ paddingInline: "space.100"
92
92
  }, backButton), jsx(NavigationContent, {
93
93
  testId: testId,
94
94
  showTopScrollIndicator: stack.length >= 1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "sideEffects": false
5
5
  }
@@ -15,7 +15,7 @@ var NavigationFooter = function NavigationFooter(_ref) {
15
15
  return jsx(Box, {
16
16
  display: "block",
17
17
  position: "relative",
18
- padding: "scale.100",
18
+ padding: "space.100",
19
19
  UNSAFE_style: {
20
20
  paddingBottom: "var(--ds-scale-200, 14px)"
21
21
  }
@@ -15,7 +15,7 @@ var NavigationHeader = function NavigationHeader(props) {
15
15
  return jsx(Box, {
16
16
  display: "block",
17
17
  "data-navheader": true,
18
- padding: "scale.100",
18
+ padding: "space.100",
19
19
  UNSAFE_style: {
20
20
  paddingTop: "var(--ds-scale-300, 24px)"
21
21
  }
@@ -104,8 +104,8 @@ var NestingItem = function NestingItem(props) {
104
104
  }, stack.length >= 1 && jsx(Box, {
105
105
  as: "div",
106
106
  display: "block",
107
- paddingBlock: "scale.075",
108
- paddingInline: "scale.100"
107
+ paddingBlock: "space.075",
108
+ paddingInline: "space.100"
109
109
  }, backButton), jsx(NavigationContent, {
110
110
  testId: testId,
111
111
  showTopScrollIndicator: stack.length >= 1
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "A highly composable side navigation component that supports nested views.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -25,7 +25,7 @@
25
25
  }
26
26
  },
27
27
  "dependencies": {
28
- "@atlaskit/ds-explorations": "^1.1.0",
28
+ "@atlaskit/ds-explorations": "^2.0.0",
29
29
  "@atlaskit/ds-lib": "^2.1.0",
30
30
  "@atlaskit/icon": "^21.11.0",
31
31
  "@atlaskit/menu": "^1.4.0",
package/report.api.md CHANGED
@@ -8,6 +8,7 @@
8
8
  ### Table of contents
9
9
 
10
10
  - [Main Entry Types](#main-entry-types)
11
+ - [Peer Dependencies](#peer-dependencies)
11
12
 
12
13
  ### Main Entry Types
13
14
 
@@ -262,3 +263,15 @@ export const VAR_SEPARATOR_COLOR = '--ds-menu-seperator-color';
262
263
  ```
263
264
 
264
265
  <!--SECTION END: Main Entry Types-->
266
+
267
+ ### Peer Dependencies
268
+
269
+ <!--SECTION START: Peer Dependencies-->
270
+
271
+ ```json
272
+ {
273
+ "react": "^16.8.0"
274
+ }
275
+ ```
276
+
277
+ <!--SECTION END: Peer Dependencies-->