@atlaskit/side-navigation 1.10.3 → 1.10.4

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,11 @@
1
1
  # @atlaskit/side-navigation
2
2
 
3
+ ## 1.10.4
4
+
5
+ ### Patch Changes
6
+
7
+ - [`1ed303de3e8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ed303de3e8) - Updated dependencies
8
+
3
9
  ## 1.10.3
4
10
 
5
11
  ### Patch Changes
@@ -148,7 +148,7 @@ var NestableNavigationContent = function NestableNavigationContent(props) {
148
148
  containerRef.current && containerRef.current.focus();
149
149
  }
150
150
  };
151
- return (0, _react2.jsx)("div", {
151
+ return (0, _react2.jsx)(_react.Fragment, null, (0, _react2.jsx)("div", {
152
152
  "data-testid": testId,
153
153
  css: nestableNavigationContentStyles,
154
154
  ref: containerRef,
@@ -173,7 +173,7 @@ var NestableNavigationContent = function NestableNavigationContent(props) {
173
173
  title: "",
174
174
  id: ROOT_ID
175
175
  }, children)));
176
- })));
176
+ }))));
177
177
  };
178
178
  var _default = NestableNavigationContent;
179
179
  exports.default = _default;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /** @jsx jsx */
3
- import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
3
+ import { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
4
4
  import { css, jsx } from '@emotion/react';
5
5
  import { ExitingPersistence } from '@atlaskit/motion';
6
6
  import { GoBackItem as GoBackButton } from '../Item';
@@ -131,7 +131,7 @@ const NestableNavigationContent = props => {
131
131
  containerRef.current && containerRef.current.focus();
132
132
  }
133
133
  };
134
- return jsx("div", {
134
+ return jsx(Fragment, null, jsx("div", {
135
135
  "data-testid": testId,
136
136
  css: nestableNavigationContentStyles,
137
137
  ref: containerRef,
@@ -154,6 +154,6 @@ const NestableNavigationContent = props => {
154
154
  }, jsx(NestingItem, {
155
155
  title: "",
156
156
  id: ROOT_ID
157
- }, children))))));
157
+ }, children)))))));
158
158
  };
159
159
  export default NestableNavigationContent;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "sideEffects": false
5
5
  }
@@ -1,7 +1,7 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  /** @jsx jsx */
4
- import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
4
+ import { Fragment, useCallback, useEffect, useMemo, useRef, useState } from 'react';
5
5
  import { css, jsx } from '@emotion/react';
6
6
  import { ExitingPersistence } from '@atlaskit/motion';
7
7
  import { GoBackItem as GoBackButton } from '../Item';
@@ -139,7 +139,7 @@ var NestableNavigationContent = function NestableNavigationContent(props) {
139
139
  containerRef.current && containerRef.current.focus();
140
140
  }
141
141
  };
142
- return jsx("div", {
142
+ return jsx(Fragment, null, jsx("div", {
143
143
  "data-testid": testId,
144
144
  css: nestableNavigationContentStyles,
145
145
  ref: containerRef,
@@ -164,6 +164,6 @@ var NestableNavigationContent = function NestableNavigationContent(props) {
164
164
  title: "",
165
165
  id: ROOT_ID
166
166
  }, children)));
167
- })));
167
+ }))));
168
168
  };
169
169
  export default NestableNavigationContent;
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "sideEffects": false
5
5
  }
@@ -21,7 +21,8 @@ export interface SectionProps {
21
21
  */
22
22
  testId?: string;
23
23
  /**
24
- * Specifically adds <ul> and <li> elements around the items for better semantic markup if it is a list of items
24
+ * Adds `<ul>` and `<li>` tags around the items for better semantic markup in a list of items.
25
+ *
25
26
  */
26
27
  isList?: boolean;
27
28
  }
@@ -21,7 +21,8 @@ export interface SectionProps {
21
21
  */
22
22
  testId?: string;
23
23
  /**
24
- * Specifically adds <ul> and <li> elements around the items for better semantic markup if it is a list of items
24
+ * Adds `<ul>` and `<li>` tags around the items for better semantic markup in a list of items.
25
+ *
25
26
  */
26
27
  isList?: boolean;
27
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/side-navigation",
3
- "version": "1.10.3",
3
+ "version": "1.10.4",
4
4
  "description": "A highly composable side navigation component that supports nested views.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -23,7 +23,7 @@
23
23
  "sideEffects": false,
24
24
  "atlaskit:src": "src/index.tsx",
25
25
  "atlassian": {
26
- "team": "Design System Team",
26
+ "team": "Design System Pyxis",
27
27
  "deprecatedAutoEntryPoints": true,
28
28
  "releaseModel": "continuous",
29
29
  "website": {
@@ -37,9 +37,9 @@
37
37
  "@atlaskit/icon": "^21.12.0",
38
38
  "@atlaskit/menu": "^1.9.0",
39
39
  "@atlaskit/motion": "^1.4.0",
40
- "@atlaskit/primitives": "^1.0.0",
40
+ "@atlaskit/primitives": "^1.0.6",
41
41
  "@atlaskit/theme": "^12.5.0",
42
- "@atlaskit/tokens": "^1.11.0",
42
+ "@atlaskit/tokens": "^1.13.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/react": "^11.7.1"
45
45
  },
@@ -53,9 +53,9 @@
53
53
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
54
54
  "@atlassian/feature-flags-test-utils": "*",
55
55
  "@testing-library/react": "^12.1.5",
56
- "@types/jest-axe": "^3.5.0",
56
+ "@types/jest-axe": "^3.5.5",
57
57
  "ast-types": "^0.13.3",
58
- "jest-axe": "^4.0.0",
58
+ "jest-axe": "^8.0.0",
59
59
  "jest-emotion": "^10.0.32",
60
60
  "jscodeshift": "^0.13.0",
61
61
  "raf-stub": "^2.0.1",