@atlaskit/side-navigation 1.2.9 → 1.2.12
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 +18 -0
- package/constellation/index/usage.mdx +0 -1
- package/dist/cjs/components/NavigationContent/styles.js +4 -4
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/NavigationContent/styles.js +4 -4
- package/dist/esm/version.json +1 -1
- package/dist/types/components/NestableNavigationContent/index.d.ts +3 -3
- package/package.json +12 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/side-navigation
|
|
2
2
|
|
|
3
|
+
## 1.2.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.2.11
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`efa50ac72ba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/efa50ac72ba) - Adjusts jsdoc strings to improve prop documentation
|
|
14
|
+
|
|
15
|
+
## 1.2.10
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 1.2.9
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
order: 2
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
import DoDont from '@atlaskit/gatsby-theme-brisk/src/components/do-dont';
|
|
6
5
|
import buttonConciseDo from './images/button-concise-do.png';
|
|
7
6
|
import buttonConciseDont from './images/button-concise-dont.png';
|
|
8
7
|
import buttonCapitalizationDo from './images/button-capitalization-do.png';
|
|
@@ -58,7 +58,7 @@ var outerContainerCSS = function outerContainerCSS(opts) {
|
|
|
58
58
|
right: containerPadding + opts.scrollbarWidth,
|
|
59
59
|
height: scrollIndicatorHeight,
|
|
60
60
|
borderRadius: scrollIndicatorBorderRadius,
|
|
61
|
-
backgroundColor: "var(".concat(_constants2.VAR_SEPARATOR_COLOR, ", "
|
|
61
|
+
backgroundColor: "var(".concat(_constants2.VAR_SEPARATOR_COLOR, ", ", "var(--ds-border, ".concat(_colors.N30, ")"), ")"),
|
|
62
62
|
position: 'absolute',
|
|
63
63
|
zIndex: scrollIndicatorZIndex
|
|
64
64
|
},
|
|
@@ -73,7 +73,7 @@ var outerContainerCSS = function outerContainerCSS(opts) {
|
|
|
73
73
|
right: containerPadding + opts.scrollbarWidth,
|
|
74
74
|
bottom: 0,
|
|
75
75
|
zIndex: scrollIndicatorZIndex,
|
|
76
|
-
backgroundColor: "var(".concat(_constants2.VAR_SEPARATOR_COLOR, ", "
|
|
76
|
+
backgroundColor: "var(".concat(_constants2.VAR_SEPARATOR_COLOR, ", ", "var(--ds-border, ".concat(_colors.N30, ")"), ")")
|
|
77
77
|
}
|
|
78
78
|
};
|
|
79
79
|
};
|
|
@@ -101,7 +101,7 @@ var innerContainerCSS = function innerContainerCSS(opts) {
|
|
|
101
101
|
left: 0,
|
|
102
102
|
right: 0,
|
|
103
103
|
height: scrollIndicatorHeight,
|
|
104
|
-
backgroundColor: "var(".concat(_constants2.VAR_SCROLL_INDICATOR_COLOR, ", "
|
|
104
|
+
backgroundColor: "var(".concat(_constants2.VAR_SCROLL_INDICATOR_COLOR, ", ", "var(--ds-surface, ".concat(_colors.N10, ")"), ")"),
|
|
105
105
|
position: 'absolute',
|
|
106
106
|
display: 'block',
|
|
107
107
|
zIndex: scrollIndicatorMaskZIndex
|
|
@@ -119,7 +119,7 @@ var innerContainerCSS = function innerContainerCSS(opts) {
|
|
|
119
119
|
marginTop: 'auto',
|
|
120
120
|
position: 'relative',
|
|
121
121
|
zIndex: scrollIndicatorMaskZIndex,
|
|
122
|
-
backgroundColor: "var(".concat(_constants2.VAR_SCROLL_INDICATOR_COLOR, ", "
|
|
122
|
+
backgroundColor: "var(".concat(_constants2.VAR_SCROLL_INDICATOR_COLOR, ", ", "var(--ds-surface, ".concat(_colors.N10, ")"), ")")
|
|
123
123
|
}
|
|
124
124
|
});
|
|
125
125
|
};
|
package/dist/cjs/version.json
CHANGED
package/dist/es2019/version.json
CHANGED
|
@@ -45,7 +45,7 @@ export var outerContainerCSS = function outerContainerCSS(opts) {
|
|
|
45
45
|
right: containerPadding + opts.scrollbarWidth,
|
|
46
46
|
height: scrollIndicatorHeight,
|
|
47
47
|
borderRadius: scrollIndicatorBorderRadius,
|
|
48
|
-
backgroundColor: "var(".concat(VAR_SEPARATOR_COLOR, ", "
|
|
48
|
+
backgroundColor: "var(".concat(VAR_SEPARATOR_COLOR, ", ", "var(--ds-border, ".concat(N30, ")"), ")"),
|
|
49
49
|
position: 'absolute',
|
|
50
50
|
zIndex: scrollIndicatorZIndex
|
|
51
51
|
},
|
|
@@ -60,7 +60,7 @@ export var outerContainerCSS = function outerContainerCSS(opts) {
|
|
|
60
60
|
right: containerPadding + opts.scrollbarWidth,
|
|
61
61
|
bottom: 0,
|
|
62
62
|
zIndex: scrollIndicatorZIndex,
|
|
63
|
-
backgroundColor: "var(".concat(VAR_SEPARATOR_COLOR, ", "
|
|
63
|
+
backgroundColor: "var(".concat(VAR_SEPARATOR_COLOR, ", ", "var(--ds-border, ".concat(N30, ")"), ")")
|
|
64
64
|
}
|
|
65
65
|
};
|
|
66
66
|
};
|
|
@@ -85,7 +85,7 @@ export var innerContainerCSS = function innerContainerCSS(opts) {
|
|
|
85
85
|
left: 0,
|
|
86
86
|
right: 0,
|
|
87
87
|
height: scrollIndicatorHeight,
|
|
88
|
-
backgroundColor: "var(".concat(VAR_SCROLL_INDICATOR_COLOR, ", "
|
|
88
|
+
backgroundColor: "var(".concat(VAR_SCROLL_INDICATOR_COLOR, ", ", "var(--ds-surface, ".concat(N10, ")"), ")"),
|
|
89
89
|
position: 'absolute',
|
|
90
90
|
display: 'block',
|
|
91
91
|
zIndex: scrollIndicatorMaskZIndex
|
|
@@ -103,7 +103,7 @@ export var innerContainerCSS = function innerContainerCSS(opts) {
|
|
|
103
103
|
marginTop: 'auto',
|
|
104
104
|
position: 'relative',
|
|
105
105
|
zIndex: scrollIndicatorMaskZIndex,
|
|
106
|
-
backgroundColor: "var(".concat(VAR_SCROLL_INDICATOR_COLOR, ", "
|
|
106
|
+
backgroundColor: "var(".concat(VAR_SCROLL_INDICATOR_COLOR, ", ", "var(--ds-surface, ".concat(N10, ")"), ")")
|
|
107
107
|
}
|
|
108
108
|
});
|
|
109
109
|
};
|
package/dist/esm/version.json
CHANGED
|
@@ -38,9 +38,9 @@ export interface NestableNavigationContentProps {
|
|
|
38
38
|
*/
|
|
39
39
|
onChange?: (stack: string[]) => void;
|
|
40
40
|
/**
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
Custom overrides for the composed components.
|
|
42
|
+
|
|
43
|
+
@deprecated Please avoid using this prop as we intend to remove the prop completely in a future release. See DSP-2682 for more information.
|
|
44
44
|
*/
|
|
45
45
|
overrides?: {
|
|
46
46
|
/**
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/side-navigation",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.12",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
7
7
|
},
|
|
8
|
-
"repository": "https://bitbucket.org/atlassian/atlassian-frontend",
|
|
8
|
+
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
9
9
|
"author": "Atlassian Pty Ltd",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"main": "dist/cjs/index.js",
|
|
@@ -19,16 +19,17 @@
|
|
|
19
19
|
"deprecatedAutoEntryPoints": true,
|
|
20
20
|
"releaseModel": "scheduled",
|
|
21
21
|
"website": {
|
|
22
|
-
"name": "Side navigation"
|
|
22
|
+
"name": "Side navigation",
|
|
23
|
+
"category": "Components"
|
|
23
24
|
}
|
|
24
25
|
},
|
|
25
26
|
"dependencies": {
|
|
26
|
-
"@atlaskit/ds-lib": "^
|
|
27
|
+
"@atlaskit/ds-lib": "^2.0.0",
|
|
27
28
|
"@atlaskit/icon": "^21.10.0",
|
|
28
29
|
"@atlaskit/menu": "^1.3.0",
|
|
29
|
-
"@atlaskit/motion": "^1.
|
|
30
|
+
"@atlaskit/motion": "^1.1.0",
|
|
30
31
|
"@atlaskit/theme": "^12.1.0",
|
|
31
|
-
"@atlaskit/tokens": "^0.
|
|
32
|
+
"@atlaskit/tokens": "^0.10.0",
|
|
32
33
|
"@babel/runtime": "^7.0.0",
|
|
33
34
|
"@emotion/core": "^10.0.9"
|
|
34
35
|
},
|
|
@@ -36,13 +37,13 @@
|
|
|
36
37
|
"react": "^16.8.0"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
|
-
"@atlaskit/atlassian-navigation": "^2.
|
|
40
|
+
"@atlaskit/atlassian-navigation": "^2.2.0",
|
|
40
41
|
"@atlaskit/button": "^16.3.0",
|
|
41
42
|
"@atlaskit/docs": "*",
|
|
42
|
-
"@atlaskit/logo": "^13.
|
|
43
|
-
"@atlaskit/onboarding": "^10.
|
|
43
|
+
"@atlaskit/logo": "^13.7.0",
|
|
44
|
+
"@atlaskit/onboarding": "^10.4.0",
|
|
44
45
|
"@atlaskit/section-message": "^6.0.0",
|
|
45
|
-
"@atlaskit/select": "^15.
|
|
46
|
+
"@atlaskit/select": "^15.3.0",
|
|
46
47
|
"@atlaskit/visual-regression": "*",
|
|
47
48
|
"@atlaskit/webdriver-runner": "*",
|
|
48
49
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
@@ -61,6 +62,7 @@
|
|
|
61
62
|
"import-structure": "atlassian-conventions"
|
|
62
63
|
},
|
|
63
64
|
"@repo/internal": {
|
|
65
|
+
"dom-events": "use-bind-event-listener",
|
|
64
66
|
"ui-components": "lite-mode",
|
|
65
67
|
"analytics": "analytics-next",
|
|
66
68
|
"theming": "tokens",
|