@atlaskit/side-navigation 1.2.4 → 1.2.7
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,24 @@
|
|
|
1
1
|
# @atlaskit/side-navigation
|
|
2
2
|
|
|
3
|
+
## 1.2.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 1.2.6
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates all usage of brand tokens to either selected or information tokens. This change is purely for semantic reasons, there are no visual or behavioural changes.
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 1.2.5
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 1.2.4
|
|
4
23
|
|
|
5
24
|
### Patch Changes
|
|
@@ -53,18 +53,18 @@ var defaultStyles = {
|
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
var selectedStyles = {
|
|
56
|
-
backgroundColor: "var(--ds-background-
|
|
57
|
-
color: "var(--ds-text-
|
|
56
|
+
backgroundColor: "var(--ds-background-selected, ".concat(_colors.N30, ")"),
|
|
57
|
+
color: "var(--ds-text-selected, ".concat(_colors.B400, ")"),
|
|
58
58
|
':visited': {
|
|
59
|
-
color: "var(--ds-text-
|
|
59
|
+
color: "var(--ds-text-selected, ".concat(_colors.B400, ")")
|
|
60
60
|
},
|
|
61
61
|
'&:hover': {
|
|
62
|
-
backgroundColor: "var(--ds-background-
|
|
63
|
-
color: "var(--ds-text-
|
|
62
|
+
backgroundColor: "var(--ds-background-selected-hovered, ".concat(_colors.N30, ")"),
|
|
63
|
+
color: "var(--ds-text-selected, ".concat(_colors.N500, ")")
|
|
64
64
|
},
|
|
65
65
|
'&:active': {
|
|
66
|
-
backgroundColor: "var(--ds-background-
|
|
67
|
-
color: "var(--ds-text-
|
|
66
|
+
backgroundColor: "var(--ds-background-selected-pressed, ".concat(_colors.B50, ")"),
|
|
67
|
+
color: "var(--ds-text-selected, ".concat(_colors.B400, ")")
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
|
package/dist/cjs/version.json
CHANGED
|
@@ -29,18 +29,18 @@ const defaultStyles = {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
const selectedStyles = {
|
|
32
|
-
backgroundColor: `var(--ds-background-
|
|
33
|
-
color: `var(--ds-text-
|
|
32
|
+
backgroundColor: `var(--ds-background-selected, ${N30})`,
|
|
33
|
+
color: `var(--ds-text-selected, ${B400})`,
|
|
34
34
|
':visited': {
|
|
35
|
-
color: `var(--ds-text-
|
|
35
|
+
color: `var(--ds-text-selected, ${B400})`
|
|
36
36
|
},
|
|
37
37
|
'&:hover': {
|
|
38
|
-
backgroundColor: `var(--ds-background-
|
|
39
|
-
color: `var(--ds-text-
|
|
38
|
+
backgroundColor: `var(--ds-background-selected-hovered, ${N30})`,
|
|
39
|
+
color: `var(--ds-text-selected, ${N500})`
|
|
40
40
|
},
|
|
41
41
|
'&:active': {
|
|
42
|
-
backgroundColor: `var(--ds-background-
|
|
43
|
-
color: `var(--ds-text-
|
|
42
|
+
backgroundColor: `var(--ds-background-selected-pressed, ${B50})`,
|
|
43
|
+
color: `var(--ds-text-selected, ${B400})`
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
46
|
export const baseSideNavItemStyle = ({
|
package/dist/es2019/version.json
CHANGED
|
@@ -38,18 +38,18 @@ var defaultStyles = {
|
|
|
38
38
|
}
|
|
39
39
|
};
|
|
40
40
|
var selectedStyles = {
|
|
41
|
-
backgroundColor: "var(--ds-background-
|
|
42
|
-
color: "var(--ds-text-
|
|
41
|
+
backgroundColor: "var(--ds-background-selected, ".concat(N30, ")"),
|
|
42
|
+
color: "var(--ds-text-selected, ".concat(B400, ")"),
|
|
43
43
|
':visited': {
|
|
44
|
-
color: "var(--ds-text-
|
|
44
|
+
color: "var(--ds-text-selected, ".concat(B400, ")")
|
|
45
45
|
},
|
|
46
46
|
'&:hover': {
|
|
47
|
-
backgroundColor: "var(--ds-background-
|
|
48
|
-
color: "var(--ds-text-
|
|
47
|
+
backgroundColor: "var(--ds-background-selected-hovered, ".concat(N30, ")"),
|
|
48
|
+
color: "var(--ds-text-selected, ".concat(N500, ")")
|
|
49
49
|
},
|
|
50
50
|
'&:active': {
|
|
51
|
-
backgroundColor: "var(--ds-background-
|
|
52
|
-
color: "var(--ds-text-
|
|
51
|
+
backgroundColor: "var(--ds-background-selected-pressed, ".concat(B50, ")"),
|
|
52
|
+
color: "var(--ds-text-selected, ".concat(B400, ")")
|
|
53
53
|
}
|
|
54
54
|
};
|
|
55
55
|
export var baseSideNavItemStyle = function baseSideNavItemStyle(_ref) {
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/side-navigation",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "A highly composable side navigation component that supports nested views.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@atlaskit/ds-lib": "^1.4.0",
|
|
27
27
|
"@atlaskit/icon": "^21.10.0",
|
|
28
|
-
"@atlaskit/menu": "^1.
|
|
28
|
+
"@atlaskit/menu": "^1.3.0",
|
|
29
29
|
"@atlaskit/motion": "^1.0.0",
|
|
30
30
|
"@atlaskit/theme": "^12.1.0",
|
|
31
|
-
"@atlaskit/tokens": "^0.
|
|
31
|
+
"@atlaskit/tokens": "^0.9.0",
|
|
32
32
|
"@babel/runtime": "^7.0.0",
|
|
33
33
|
"@emotion/core": "^10.0.9"
|
|
34
34
|
},
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@atlaskit/atlassian-navigation": "^2.1.0",
|
|
40
|
-
"@atlaskit/button": "^16.
|
|
40
|
+
"@atlaskit/button": "^16.2.0",
|
|
41
41
|
"@atlaskit/docs": "*",
|
|
42
42
|
"@atlaskit/logo": "^13.5.0",
|
|
43
43
|
"@atlaskit/onboarding": "^10.3.0",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"jscodeshift": "^0.13.0",
|
|
55
55
|
"raf-stub": "^2.0.1",
|
|
56
56
|
"react-beautiful-dnd": "^12.1.1",
|
|
57
|
-
"typescript": "3.9.
|
|
57
|
+
"typescript": "3.9.10"
|
|
58
58
|
},
|
|
59
59
|
"techstack": {
|
|
60
60
|
"@atlassian/frontend": {
|