@atlaskit/atlassian-navigation 5.3.5 → 5.3.6
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,16 @@
|
|
|
1
1
|
# @atlaskit/atlassian-navigation
|
|
2
2
|
|
|
3
|
+
## 5.3.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#185731](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/185731)
|
|
8
|
+
[`58822a702f803`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/58822a702f803) -
|
|
9
|
+
[ux] Updated Atlassian navigation buttons to use subtle background states that match the default
|
|
10
|
+
background token. Hovered state now uses `color.background.neutral.subtle.hovered` instead of
|
|
11
|
+
`color.background.neutral.hovered`. Pressed state now uses
|
|
12
|
+
`color.background.neutral.subtle.pressed` instead of `color.background.neutral.pressed`.
|
|
13
|
+
|
|
3
14
|
## 5.3.5
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
package/afm-cc/tsconfig.json
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.confluence.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"composite": true,
|
|
7
|
+
"outDir": "../../../../../confluence/tsDist/@atlaskit__atlassian-navigation",
|
|
8
|
+
"rootDir": "../"
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-namespaced-context/afm-cc/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../button/afm-cc/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../ds-lib/afm-cc/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../icon/afm-cc/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../logo/afm-cc/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../popup/afm-cc/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../primitives/afm-cc/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../theme/afm-cc/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../tokens/afm-cc/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../tooltip/afm-cc/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../width-detector/afm-cc/tsconfig.json"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
57
|
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.entry-points.rovo-extension.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"declaration": true,
|
|
5
|
+
"target": "es5",
|
|
6
|
+
"outDir": "../../../../../rovo-extension/tsDist/@atlaskit__atlassian-navigation/app",
|
|
7
|
+
"rootDir": "../",
|
|
8
|
+
"composite": true
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"../src/**/*.ts",
|
|
12
|
+
"../src/**/*.tsx"
|
|
13
|
+
],
|
|
14
|
+
"exclude": [
|
|
15
|
+
"../src/**/__tests__/*",
|
|
16
|
+
"../src/**/*.test.*",
|
|
17
|
+
"../src/**/test.*"
|
|
18
|
+
],
|
|
19
|
+
"references": [
|
|
20
|
+
{
|
|
21
|
+
"path": "../../../analytics/analytics-namespaced-context/afm-rovo-extension/tsconfig.json"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"path": "../../button/afm-rovo-extension/tsconfig.json"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "../../ds-lib/afm-rovo-extension/tsconfig.json"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"path": "../../icon/afm-rovo-extension/tsconfig.json"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"path": "../../logo/afm-rovo-extension/tsconfig.json"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "../../popup/afm-rovo-extension/tsconfig.json"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"path": "../../primitives/afm-rovo-extension/tsconfig.json"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"path": "../../theme/afm-rovo-extension/tsconfig.json"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"path": "../../tokens/afm-rovo-extension/tsconfig.json"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "../../tooltip/afm-rovo-extension/tsconfig.json"
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"path": "../../width-detector/afm-rovo-extension/tsconfig.json"
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
}
|
|
@@ -38,7 +38,7 @@ var defaultTheme = {
|
|
|
38
38
|
iconButton: {
|
|
39
39
|
active: {
|
|
40
40
|
color: "var(--ds-text-subtle, ".concat(_colors.B400, ")"),
|
|
41
|
-
backgroundColor: "var(--ds-background-neutral-pressed, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.6), ")"),
|
|
41
|
+
backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.6), ")"),
|
|
42
42
|
boxShadow: ''
|
|
43
43
|
},
|
|
44
44
|
default: {
|
|
@@ -53,7 +53,7 @@ var defaultTheme = {
|
|
|
53
53
|
},
|
|
54
54
|
hover: {
|
|
55
55
|
color: "var(--ds-text-subtle, ".concat(_colors.B400, ")"),
|
|
56
|
-
backgroundColor: "var(--ds-background-neutral-hovered, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.9), ")"),
|
|
56
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.9), ")"),
|
|
57
57
|
boxShadow: ''
|
|
58
58
|
},
|
|
59
59
|
selected: {
|
|
@@ -82,7 +82,7 @@ var defaultTheme = {
|
|
|
82
82
|
primaryButton: {
|
|
83
83
|
active: {
|
|
84
84
|
color: "var(--ds-text-subtle, ".concat(_colors.B400, ")"),
|
|
85
|
-
backgroundColor: "var(--ds-background-neutral-pressed, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.7), ")"),
|
|
85
|
+
backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.7), ")"),
|
|
86
86
|
boxShadow: ''
|
|
87
87
|
},
|
|
88
88
|
default: {
|
|
@@ -97,7 +97,7 @@ var defaultTheme = {
|
|
|
97
97
|
},
|
|
98
98
|
hover: {
|
|
99
99
|
color: "var(--ds-text-subtle, ".concat(_colors.B400, ")"),
|
|
100
|
-
backgroundColor: "var(--ds-background-neutral-hovered, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.9), ")"),
|
|
100
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.9), ")"),
|
|
101
101
|
boxShadow: ''
|
|
102
102
|
},
|
|
103
103
|
selected: {
|
|
@@ -32,7 +32,7 @@ const defaultTheme = {
|
|
|
32
32
|
iconButton: {
|
|
33
33
|
active: {
|
|
34
34
|
color: `var(--ds-text-subtle, ${B400})`,
|
|
35
|
-
backgroundColor: `var(--ds-background-neutral-pressed, ${hexToRGBA(B50, 0.6)})`,
|
|
35
|
+
backgroundColor: `var(--ds-background-neutral-subtle-pressed, ${hexToRGBA(B50, 0.6)})`,
|
|
36
36
|
boxShadow: ''
|
|
37
37
|
},
|
|
38
38
|
default: {
|
|
@@ -47,7 +47,7 @@ const defaultTheme = {
|
|
|
47
47
|
},
|
|
48
48
|
hover: {
|
|
49
49
|
color: `var(--ds-text-subtle, ${B400})`,
|
|
50
|
-
backgroundColor: `var(--ds-background-neutral-hovered, ${hexToRGBA(B50, 0.9)})`,
|
|
50
|
+
backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${hexToRGBA(B50, 0.9)})`,
|
|
51
51
|
boxShadow: ''
|
|
52
52
|
},
|
|
53
53
|
selected: {
|
|
@@ -76,7 +76,7 @@ const defaultTheme = {
|
|
|
76
76
|
primaryButton: {
|
|
77
77
|
active: {
|
|
78
78
|
color: `var(--ds-text-subtle, ${B400})`,
|
|
79
|
-
backgroundColor: `var(--ds-background-neutral-pressed, ${hexToRGBA(B50, 0.7)})`,
|
|
79
|
+
backgroundColor: `var(--ds-background-neutral-subtle-pressed, ${hexToRGBA(B50, 0.7)})`,
|
|
80
80
|
boxShadow: ''
|
|
81
81
|
},
|
|
82
82
|
default: {
|
|
@@ -91,7 +91,7 @@ const defaultTheme = {
|
|
|
91
91
|
},
|
|
92
92
|
hover: {
|
|
93
93
|
color: `var(--ds-text-subtle, ${B400})`,
|
|
94
|
-
backgroundColor: `var(--ds-background-neutral-hovered, ${hexToRGBA(B50, 0.9)})`,
|
|
94
|
+
backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${hexToRGBA(B50, 0.9)})`,
|
|
95
95
|
boxShadow: ''
|
|
96
96
|
},
|
|
97
97
|
selected: {
|
|
@@ -32,7 +32,7 @@ var defaultTheme = {
|
|
|
32
32
|
iconButton: {
|
|
33
33
|
active: {
|
|
34
34
|
color: "var(--ds-text-subtle, ".concat(B400, ")"),
|
|
35
|
-
backgroundColor: "var(--ds-background-neutral-pressed, ".concat(hexToRGBA(B50, 0.6), ")"),
|
|
35
|
+
backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(hexToRGBA(B50, 0.6), ")"),
|
|
36
36
|
boxShadow: ''
|
|
37
37
|
},
|
|
38
38
|
default: {
|
|
@@ -47,7 +47,7 @@ var defaultTheme = {
|
|
|
47
47
|
},
|
|
48
48
|
hover: {
|
|
49
49
|
color: "var(--ds-text-subtle, ".concat(B400, ")"),
|
|
50
|
-
backgroundColor: "var(--ds-background-neutral-hovered, ".concat(hexToRGBA(B50, 0.9), ")"),
|
|
50
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(hexToRGBA(B50, 0.9), ")"),
|
|
51
51
|
boxShadow: ''
|
|
52
52
|
},
|
|
53
53
|
selected: {
|
|
@@ -76,7 +76,7 @@ var defaultTheme = {
|
|
|
76
76
|
primaryButton: {
|
|
77
77
|
active: {
|
|
78
78
|
color: "var(--ds-text-subtle, ".concat(B400, ")"),
|
|
79
|
-
backgroundColor: "var(--ds-background-neutral-pressed, ".concat(hexToRGBA(B50, 0.7), ")"),
|
|
79
|
+
backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(hexToRGBA(B50, 0.7), ")"),
|
|
80
80
|
boxShadow: ''
|
|
81
81
|
},
|
|
82
82
|
default: {
|
|
@@ -91,7 +91,7 @@ var defaultTheme = {
|
|
|
91
91
|
},
|
|
92
92
|
hover: {
|
|
93
93
|
color: "var(--ds-text-subtle, ".concat(B400, ")"),
|
|
94
|
-
backgroundColor: "var(--ds-background-neutral-hovered, ".concat(hexToRGBA(B50, 0.9), ")"),
|
|
94
|
+
backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(hexToRGBA(B50, 0.9), ")"),
|
|
95
95
|
boxShadow: ''
|
|
96
96
|
},
|
|
97
97
|
selected: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.6",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@atlaskit/popup": "^4.3.0",
|
|
54
54
|
"@atlaskit/primitives": "^14.10.0",
|
|
55
55
|
"@atlaskit/theme": "^19.0.0",
|
|
56
|
-
"@atlaskit/tokens": "^5.
|
|
56
|
+
"@atlaskit/tokens": "^5.5.0",
|
|
57
57
|
"@atlaskit/tooltip": "^20.3.0",
|
|
58
58
|
"@atlaskit/width-detector": "^5.0.0",
|
|
59
59
|
"@babel/runtime": "^7.0.0",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"@atlaskit/temp-nav-app-icons": "^0.9.0",
|
|
85
85
|
"@atlaskit/textfield": "^8.0.0",
|
|
86
86
|
"@atlaskit/visual-regression": "workspace:^",
|
|
87
|
-
"@atlassian/switcher": "^36.
|
|
87
|
+
"@atlassian/switcher": "^36.17.0",
|
|
88
88
|
"@atlassian/switcher-test-utils": "^7.1.0",
|
|
89
89
|
"@testing-library/react": "^13.4.0",
|
|
90
90
|
"@testing-library/react-hooks": "^8.0.1",
|