@atlaskit/side-navigation 3.6.3 → 3.6.5
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,20 @@
|
|
|
1
1
|
# @atlaskit/side-navigation
|
|
2
2
|
|
|
3
|
+
## 3.6.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 3.6.4
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#167504](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/167504)
|
|
14
|
+
[`3aef43e98843a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3aef43e98843a) -
|
|
15
|
+
Internal change to how styles are applied. There is no expected visual change.
|
|
16
|
+
- Updated dependencies
|
|
17
|
+
|
|
3
18
|
## 3.6.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -7,7 +7,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.outerContainerCSS = exports.innerContainerCSS = exports.containerCSS = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _colors = require("@atlaskit/theme/colors");
|
|
10
|
-
var _typography = require("@atlaskit/theme/typography");
|
|
11
10
|
var _constants = require("../../common/constants");
|
|
12
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
13
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
@@ -16,7 +15,7 @@ var scrollIndicatorZIndex = 1;
|
|
|
16
15
|
var scrollIndicatorHeight = 2;
|
|
17
16
|
var scrollIndicatorBorderRadius = '1px';
|
|
18
17
|
var containerPadding = 8;
|
|
19
|
-
var itemHeadingContentHeight =
|
|
18
|
+
var itemHeadingContentHeight = 16; // Originally headingSizes.h100.lineHeight from '@atlaskit/theme/typography'
|
|
20
19
|
var skeletonHeadingHeight = containerPadding;
|
|
21
20
|
var skeletonHeadingMarginOffset = 3;
|
|
22
21
|
// Skeleton content is slightly shorter than the real content.
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
2
2
|
import { N10, N30 } from '@atlaskit/theme/colors';
|
|
3
|
-
import { headingSizes } from '@atlaskit/theme/typography';
|
|
4
3
|
import { VAR_SCROLL_INDICATOR_COLOR, VAR_SEPARATOR_COLOR } from '../../common/constants';
|
|
5
4
|
const scrollIndicatorMaskZIndex = 2;
|
|
6
5
|
const scrollIndicatorZIndex = 1;
|
|
7
6
|
const scrollIndicatorHeight = 2;
|
|
8
7
|
const scrollIndicatorBorderRadius = '1px';
|
|
9
8
|
const containerPadding = 8;
|
|
10
|
-
const itemHeadingContentHeight = headingSizes.h100.lineHeight
|
|
9
|
+
const itemHeadingContentHeight = 16; // Originally headingSizes.h100.lineHeight from '@atlaskit/theme/typography'
|
|
11
10
|
const skeletonHeadingHeight = containerPadding;
|
|
12
11
|
const skeletonHeadingMarginOffset = 3;
|
|
13
12
|
// Skeleton content is slightly shorter than the real content.
|
|
@@ -3,14 +3,13 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
3
3
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
5
5
|
import { N10, N30 } from '@atlaskit/theme/colors';
|
|
6
|
-
import { headingSizes } from '@atlaskit/theme/typography';
|
|
7
6
|
import { VAR_SCROLL_INDICATOR_COLOR, VAR_SEPARATOR_COLOR } from '../../common/constants';
|
|
8
7
|
var scrollIndicatorMaskZIndex = 2;
|
|
9
8
|
var scrollIndicatorZIndex = 1;
|
|
10
9
|
var scrollIndicatorHeight = 2;
|
|
11
10
|
var scrollIndicatorBorderRadius = '1px';
|
|
12
11
|
var containerPadding = 8;
|
|
13
|
-
var itemHeadingContentHeight = headingSizes.h100.lineHeight
|
|
12
|
+
var itemHeadingContentHeight = 16; // Originally headingSizes.h100.lineHeight from '@atlaskit/theme/typography'
|
|
14
13
|
var skeletonHeadingHeight = containerPadding;
|
|
15
14
|
var skeletonHeadingMarginOffset = 3;
|
|
16
15
|
// Skeleton content is slightly shorter than the real content.
|
package/docs/00-intro.tsx
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
3
|
import { md } from '@atlaskit/docs';
|
|
4
|
+
import Link from '@atlaskit/link';
|
|
4
5
|
import SectionMessage from '@atlaskit/section-message';
|
|
5
6
|
|
|
6
7
|
export default md`
|
|
7
8
|
${(
|
|
8
9
|
<SectionMessage appearance="information">
|
|
9
10
|
This component is now documented on{' '}
|
|
10
|
-
<
|
|
11
|
+
<Link href="https://atlassian.design/components/side-navigation">atlassian.design</Link>
|
|
11
12
|
</SectionMessage>
|
|
12
13
|
)}
|
|
13
14
|
`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/side-navigation",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.5",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"runReact18": true
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@atlaskit/ds-lib": "^3.
|
|
36
|
-
"@atlaskit/icon": "^
|
|
35
|
+
"@atlaskit/ds-lib": "^3.3.0",
|
|
36
|
+
"@atlaskit/icon": "^23.0.0",
|
|
37
37
|
"@atlaskit/menu": "^2.13.0",
|
|
38
38
|
"@atlaskit/motion": "^1.9.0",
|
|
39
39
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
40
|
-
"@atlaskit/primitives": "^13.
|
|
40
|
+
"@atlaskit/primitives": "^13.3.0",
|
|
41
41
|
"@atlaskit/theme": "^14.0.0",
|
|
42
|
-
"@atlaskit/tokens": "^2.
|
|
42
|
+
"@atlaskit/tokens": "^2.4.0",
|
|
43
43
|
"@babel/runtime": "^7.0.0",
|
|
44
44
|
"@emotion/react": "^11.7.1"
|
|
45
45
|
},
|