@atlaskit/atlassian-navigation 5.3.5 → 5.3.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,22 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 5.3.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 5.3.6
10
+
11
+ ### Patch Changes
12
+
13
+ - [#185731](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/185731)
14
+ [`58822a702f803`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/58822a702f803) -
15
+ [ux] Updated Atlassian navigation buttons to use subtle background states that match the default
16
+ background token. Hovered state now uses `color.background.neutral.subtle.hovered` instead of
17
+ `color.background.neutral.hovered`. Pressed state now uses
18
+ `color.background.neutral.subtle.pressed` instead of `color.background.neutral.pressed`.
19
+
3
20
  ## 5.3.5
4
21
 
5
22
  ### Patch Changes
@@ -1,57 +1,57 @@
1
1
  {
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
- ]
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.dev-agents.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../dev-agents/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-dev-agents/tsconfig.json"
22
+ },
23
+ {
24
+ "path": "../../button/afm-dev-agents/tsconfig.json"
25
+ },
26
+ {
27
+ "path": "../../ds-lib/afm-dev-agents/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../icon/afm-dev-agents/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../logo/afm-dev-agents/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../platform/feature-flags/afm-dev-agents/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../popup/afm-dev-agents/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../primitives/afm-dev-agents/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../theme/afm-dev-agents/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../tokens/afm-dev-agents/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../tooltip/afm-dev-agents/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../width-detector/afm-dev-agents/tsconfig.json"
55
+ }
56
+ ]
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
+ }
@@ -24,6 +24,7 @@ var _excluded = ["aria-label", "href", "name", "icon", "onClick", "onMouseDown",
24
24
  * @jsx jsx
25
25
  */
26
26
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
27
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
27
28
  var VAR_LOGO_MAX_WIDTH = '--logo-max-width';
28
29
  var VAR_PRODUCT_HOME_COLOR_ACTIVE = '--product-home-color-active';
29
30
  var VAR_PRODUCT_HOME_BACKGROUND_COLOR_ACTIVE = '--product-home-bg-color-active';
@@ -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: {
@@ -8,6 +8,7 @@ import { Fragment } from 'react';
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
10
10
  import { fg } from '@atlaskit/platform-feature-flags';
11
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
11
12
  import { Inline, Text } from '@atlaskit/primitives';
12
13
  import { N700 } from '@atlaskit/theme/colors';
13
14
  import { PRODUCT_HOME_BREAKPOINT } from '../../common/constants';
@@ -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: {
@@ -12,6 +12,7 @@ import { Fragment } from 'react';
12
12
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
13
13
  import { css, jsx } from '@emotion/react';
14
14
  import { fg } from '@atlaskit/platform-feature-flags';
15
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
15
16
  import { Inline, Text } from '@atlaskit/primitives';
16
17
  import { N700 } from '@atlaskit/theme/colors';
17
18
  import { PRODUCT_HOME_BREAKPOINT } from '../../common/constants';
@@ -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.5",
3
+ "version": "5.3.7",
4
4
  "description": "A horizontal navigation component for Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,14 +46,14 @@
46
46
  "dependencies": {
47
47
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
48
48
  "@atlaskit/button": "^23.2.0",
49
- "@atlaskit/ds-lib": "^4.0.0",
50
- "@atlaskit/icon": "^27.3.0",
49
+ "@atlaskit/ds-lib": "^5.0.0",
50
+ "@atlaskit/icon": "^27.6.0",
51
51
  "@atlaskit/logo": "^19.5.0",
52
52
  "@atlaskit/platform-feature-flags": "^1.1.0",
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.4.0",
56
+ "@atlaskit/tokens": "^5.6.0",
57
57
  "@atlaskit/tooltip": "^20.3.0",
58
58
  "@atlaskit/width-detector": "^5.0.0",
59
59
  "@babel/runtime": "^7.0.0",
@@ -74,17 +74,17 @@
74
74
  "@atlaskit/badge": "^18.1.0",
75
75
  "@atlaskit/docs": "^11.0.0",
76
76
  "@atlaskit/drawer": "^11.0.0",
77
- "@atlaskit/dropdown-menu": "^16.1.0",
77
+ "@atlaskit/dropdown-menu": "^16.3.0",
78
78
  "@atlaskit/form": "^12.0.0",
79
79
  "@atlaskit/menu": "^8.0.0",
80
80
  "@atlaskit/notification-indicator": "^10.0.0",
81
81
  "@atlaskit/notification-log-client": "^6.2.0",
82
- "@atlaskit/section-message": "^8.2.0",
82
+ "@atlaskit/section-message": "^8.3.0",
83
83
  "@atlaskit/spinner": "^18.0.0",
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.14.0",
87
+ "@atlassian/switcher": "^38.1.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",