@atlaskit/side-navigation 11.0.31 → 11.1.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/CHANGELOG.md +13 -0
- package/dist/cjs/components/Item/go-back-item.js +0 -2
- package/dist/cjs/components/NestingItem/index.js +0 -2
- package/dist/es2019/components/Item/go-back-item.js +0 -2
- package/dist/es2019/components/NestingItem/index.js +0 -2
- package/dist/esm/components/Item/go-back-item.js +0 -2
- package/dist/esm/components/NestingItem/index.js +0 -2
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/side-navigation
|
|
2
2
|
|
|
3
|
+
## 11.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) -
|
|
8
|
+
Removed usages of LEGACY icon props
|
|
9
|
+
|
|
10
|
+
## 11.0.32
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 11.0.31
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -11,7 +11,6 @@ var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/sli
|
|
|
11
11
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _arrowLeft = _interopRequireDefault(require("@atlaskit/icon/core/arrow-left"));
|
|
14
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
15
14
|
var _buttonItem = _interopRequireDefault(require("./button-item"));
|
|
16
15
|
var _excluded = ["className", "iconBefore", "onClick", "isSelected"];
|
|
17
16
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
@@ -29,7 +28,6 @@ var GoBackItem = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
|
|
|
29
28
|
_ref$iconBefore = _ref.iconBefore,
|
|
30
29
|
iconBefore = _ref$iconBefore === void 0 ? /*#__PURE__*/_react.default.createElement(_arrowLeft.default, {
|
|
31
30
|
color: "currentColor",
|
|
32
|
-
LEGACY_secondaryColor: "var(--ds-surface, ".concat(_colors.N10, ")"),
|
|
33
31
|
label: ""
|
|
34
32
|
}) : _ref$iconBefore,
|
|
35
33
|
onClick = _ref.onClick,
|
|
@@ -18,7 +18,6 @@ var _react = _interopRequireWildcard(require("react"));
|
|
|
18
18
|
var _arrowRight = _interopRequireDefault(require("@atlaskit/icon/core/arrow-right"));
|
|
19
19
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
20
20
|
var _compiled = require("@atlaskit/primitives/compiled");
|
|
21
|
-
var _colors = require("@atlaskit/theme/colors");
|
|
22
21
|
var _index = require("../index");
|
|
23
22
|
var _NestableNavigationContent = require("../NestableNavigationContent");
|
|
24
23
|
var _context = require("../NestableNavigationContent/context");
|
|
@@ -164,7 +163,6 @@ var NestingItem = function NestingItem(props) {
|
|
|
164
163
|
}, /*#__PURE__*/_react.default.createElement(_arrowRight.default, {
|
|
165
164
|
testId: testId && "".concat(testId, "--item--right-arrow"),
|
|
166
165
|
color: "currentColor",
|
|
167
|
-
LEGACY_secondaryColor: "var(--ds-surface, ".concat(_colors.N10, ")"),
|
|
168
166
|
label: ""
|
|
169
167
|
}))),
|
|
170
168
|
onClick: onClickHandler,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import React, { forwardRef, useCallback, useState } from 'react';
|
|
3
3
|
import ArrowLeftIcon from '@atlaskit/icon/core/arrow-left';
|
|
4
|
-
import { N10 } from '@atlaskit/theme/colors';
|
|
5
4
|
import ButtonItem from './button-item';
|
|
6
5
|
/**
|
|
7
6
|
* __Go back item__
|
|
@@ -16,7 +15,6 @@ const GoBackItem = /*#__PURE__*/forwardRef(({
|
|
|
16
15
|
className,
|
|
17
16
|
iconBefore = /*#__PURE__*/React.createElement(ArrowLeftIcon, {
|
|
18
17
|
color: "currentColor",
|
|
19
|
-
LEGACY_secondaryColor: `var(--ds-surface, ${N10})`,
|
|
20
18
|
label: ""
|
|
21
19
|
}),
|
|
22
20
|
onClick,
|
|
@@ -6,7 +6,6 @@ import React, { Fragment, useCallback, useEffect, useMemo, useRef, useState } fr
|
|
|
6
6
|
import ArrowRightIcon from '@atlaskit/icon/core/arrow-right';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
9
|
-
import { N10 } from '@atlaskit/theme/colors';
|
|
10
9
|
import { ButtonItem, CustomItem, NavigationContent } from '../index';
|
|
11
10
|
import { ROOT_ID } from '../NestableNavigationContent';
|
|
12
11
|
import { NestedContext, useNestedContext } from '../NestableNavigationContent/context';
|
|
@@ -144,7 +143,6 @@ const NestingItem = props => {
|
|
|
144
143
|
}, /*#__PURE__*/React.createElement(ArrowRightIcon, {
|
|
145
144
|
testId: testId && `${testId}--item--right-arrow`,
|
|
146
145
|
color: "currentColor",
|
|
147
|
-
LEGACY_secondaryColor: `var(--ds-surface, ${N10})`,
|
|
148
146
|
label: ""
|
|
149
147
|
}))),
|
|
150
148
|
onClick: onClickHandler,
|
|
@@ -4,7 +4,6 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
|
|
|
4
4
|
var _excluded = ["className", "iconBefore", "onClick", "isSelected"];
|
|
5
5
|
import React, { forwardRef, useCallback, useState } from 'react';
|
|
6
6
|
import ArrowLeftIcon from '@atlaskit/icon/core/arrow-left';
|
|
7
|
-
import { N10 } from '@atlaskit/theme/colors';
|
|
8
7
|
import ButtonItem from './button-item';
|
|
9
8
|
/**
|
|
10
9
|
* __Go back item__
|
|
@@ -20,7 +19,6 @@ var GoBackItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
20
19
|
_ref$iconBefore = _ref.iconBefore,
|
|
21
20
|
iconBefore = _ref$iconBefore === void 0 ? /*#__PURE__*/React.createElement(ArrowLeftIcon, {
|
|
22
21
|
color: "currentColor",
|
|
23
|
-
LEGACY_secondaryColor: "var(--ds-surface, ".concat(N10, ")"),
|
|
24
22
|
label: ""
|
|
25
23
|
}) : _ref$iconBefore,
|
|
26
24
|
onClick = _ref.onClick,
|
|
@@ -13,7 +13,6 @@ import React, { Fragment, useCallback, useEffect, useMemo, useRef, useState } fr
|
|
|
13
13
|
import ArrowRightIcon from '@atlaskit/icon/core/arrow-right';
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import { Box } from '@atlaskit/primitives/compiled';
|
|
16
|
-
import { N10 } from '@atlaskit/theme/colors';
|
|
17
16
|
import { ButtonItem, CustomItem, NavigationContent } from '../index';
|
|
18
17
|
import { ROOT_ID } from '../NestableNavigationContent';
|
|
19
18
|
import { NestedContext, useNestedContext } from '../NestableNavigationContent/context';
|
|
@@ -155,7 +154,6 @@ var NestingItem = function NestingItem(props) {
|
|
|
155
154
|
}, /*#__PURE__*/React.createElement(ArrowRightIcon, {
|
|
156
155
|
testId: testId && "".concat(testId, "--item--right-arrow"),
|
|
157
156
|
color: "currentColor",
|
|
158
|
-
LEGACY_secondaryColor: "var(--ds-surface, ".concat(N10, ")"),
|
|
159
157
|
label: ""
|
|
160
158
|
}))),
|
|
161
159
|
onClick: onClickHandler,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/side-navigation",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@atlaskit/css": "^0.
|
|
31
|
+
"@atlaskit/css": "^0.19.0",
|
|
32
32
|
"@atlaskit/ds-lib": "^5.3.0",
|
|
33
|
-
"@atlaskit/icon": "^29.
|
|
33
|
+
"@atlaskit/icon": "^29.4.0",
|
|
34
34
|
"@atlaskit/menu": "^8.4.0",
|
|
35
35
|
"@atlaskit/motion": "^5.3.0",
|
|
36
36
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
37
|
-
"@atlaskit/primitives": "^
|
|
37
|
+
"@atlaskit/primitives": "^17.0.0",
|
|
38
38
|
"@atlaskit/theme": "^21.0.0",
|
|
39
|
-
"@atlaskit/tokens": "^
|
|
39
|
+
"@atlaskit/tokens": "^9.1.0",
|
|
40
40
|
"@babel/runtime": "^7.0.0",
|
|
41
41
|
"@compiled/react": "^0.18.6"
|
|
42
42
|
},
|
|
@@ -47,21 +47,21 @@
|
|
|
47
47
|
"@af/accessibility-testing": "workspace:^",
|
|
48
48
|
"@af/integration-testing": "workspace:^",
|
|
49
49
|
"@af/visual-regression": "workspace:^",
|
|
50
|
-
"@atlaskit/atlassian-navigation": "^5.
|
|
51
|
-
"@atlaskit/button": "^23.
|
|
50
|
+
"@atlaskit/atlassian-navigation": "^5.6.0",
|
|
51
|
+
"@atlaskit/button": "^23.9.0",
|
|
52
52
|
"@atlaskit/docs": "^11.2.0",
|
|
53
|
-
"@atlaskit/dropdown-menu": "^16.
|
|
54
|
-
"@atlaskit/form": "^15.
|
|
53
|
+
"@atlaskit/dropdown-menu": "^16.4.0",
|
|
54
|
+
"@atlaskit/form": "^15.3.0",
|
|
55
55
|
"@atlaskit/image": "^3.0.0",
|
|
56
|
-
"@atlaskit/link": "^3.
|
|
56
|
+
"@atlaskit/link": "^3.3.0",
|
|
57
57
|
"@atlaskit/logo": "^19.9.0",
|
|
58
58
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.0",
|
|
59
59
|
"@atlaskit/pragmatic-drag-and-drop-live-region": "^1.3.0",
|
|
60
|
-
"@atlaskit/pragmatic-drag-and-drop-react-accessibility": "^2.
|
|
60
|
+
"@atlaskit/pragmatic-drag-and-drop-react-accessibility": "^2.2.0",
|
|
61
61
|
"@atlaskit/pragmatic-drag-and-drop-react-drop-indicator": "^3.2.0",
|
|
62
|
-
"@atlaskit/section-message": "^8.
|
|
62
|
+
"@atlaskit/section-message": "^8.12.0",
|
|
63
63
|
"@atlaskit/select": "^21.6.0",
|
|
64
|
-
"@atlaskit/spotlight": "^0.
|
|
64
|
+
"@atlaskit/spotlight": "^0.10.0",
|
|
65
65
|
"@testing-library/react": "^13.4.0",
|
|
66
66
|
"raf-stub": "^2.0.1",
|
|
67
67
|
"tiny-invariant": "^1.2.0"
|