@atlaskit/atlassian-navigation 5.6.10 → 5.6.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.
Files changed (71) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/afm-cc/tsconfig.json +3 -0
  3. package/afm-jira/tsconfig.json +7 -1
  4. package/afm-products/tsconfig.json +3 -0
  5. package/dist/cjs/components/AppSwitcher/index.compiled.css +2 -0
  6. package/dist/cjs/components/AppSwitcher/index.js +12 -3
  7. package/dist/cjs/components/AtlassianNavigation/index.js +1 -2
  8. package/dist/cjs/components/AtlassianNavigation/skeleton.js +1 -2
  9. package/dist/cjs/components/Help/index.compiled.css +2 -0
  10. package/dist/cjs/components/Help/index.js +12 -4
  11. package/dist/cjs/components/Notifications/index.compiled.css +2 -0
  12. package/dist/cjs/components/Notifications/index.js +11 -3
  13. package/dist/cjs/components/PrimaryItemsContainer/index.js +1 -2
  14. package/dist/cjs/components/ProductHome/custom-product-home.js +1 -2
  15. package/dist/cjs/components/ProductHome/product-home.js +2 -3
  16. package/dist/cjs/components/Settings/index.compiled.css +2 -0
  17. package/dist/cjs/components/Settings/index.js +12 -3
  18. package/dist/cjs/components/SignIn/index.compiled.css +2 -0
  19. package/dist/cjs/components/SignIn/index.js +12 -3
  20. package/dist/cjs/skeleton-help-button.compiled.css +2 -0
  21. package/dist/cjs/skeleton-help-button.js +11 -3
  22. package/dist/cjs/skeleton-notification-button.compiled.css +2 -0
  23. package/dist/cjs/skeleton-notification-button.js +11 -3
  24. package/dist/cjs/skeleton-settings-button.compiled.css +2 -0
  25. package/dist/cjs/skeleton-settings-button.js +11 -3
  26. package/dist/cjs/theme/default-theme.js +41 -43
  27. package/dist/es2019/components/AppSwitcher/index.compiled.css +2 -0
  28. package/dist/es2019/components/AppSwitcher/index.js +12 -3
  29. package/dist/es2019/components/AtlassianNavigation/index.js +1 -2
  30. package/dist/es2019/components/AtlassianNavigation/skeleton.js +1 -2
  31. package/dist/es2019/components/Help/index.compiled.css +2 -0
  32. package/dist/es2019/components/Help/index.js +12 -4
  33. package/dist/es2019/components/Notifications/index.compiled.css +2 -0
  34. package/dist/es2019/components/Notifications/index.js +11 -3
  35. package/dist/es2019/components/PrimaryItemsContainer/index.js +1 -2
  36. package/dist/es2019/components/ProductHome/custom-product-home.js +1 -2
  37. package/dist/es2019/components/ProductHome/product-home.js +2 -3
  38. package/dist/es2019/components/Settings/index.compiled.css +2 -0
  39. package/dist/es2019/components/Settings/index.js +12 -3
  40. package/dist/es2019/components/SignIn/index.compiled.css +2 -0
  41. package/dist/es2019/components/SignIn/index.js +12 -3
  42. package/dist/es2019/skeleton-help-button.compiled.css +2 -0
  43. package/dist/es2019/skeleton-help-button.js +11 -3
  44. package/dist/es2019/skeleton-notification-button.compiled.css +2 -0
  45. package/dist/es2019/skeleton-notification-button.js +11 -3
  46. package/dist/es2019/skeleton-settings-button.compiled.css +2 -0
  47. package/dist/es2019/skeleton-settings-button.js +11 -3
  48. package/dist/es2019/theme/default-theme.js +41 -43
  49. package/dist/esm/components/AppSwitcher/index.compiled.css +2 -0
  50. package/dist/esm/components/AppSwitcher/index.js +12 -3
  51. package/dist/esm/components/AtlassianNavigation/index.js +1 -2
  52. package/dist/esm/components/AtlassianNavigation/skeleton.js +1 -2
  53. package/dist/esm/components/Help/index.compiled.css +2 -0
  54. package/dist/esm/components/Help/index.js +12 -4
  55. package/dist/esm/components/Notifications/index.compiled.css +2 -0
  56. package/dist/esm/components/Notifications/index.js +11 -3
  57. package/dist/esm/components/PrimaryItemsContainer/index.js +1 -2
  58. package/dist/esm/components/ProductHome/custom-product-home.js +1 -2
  59. package/dist/esm/components/ProductHome/product-home.js +2 -3
  60. package/dist/esm/components/Settings/index.compiled.css +2 -0
  61. package/dist/esm/components/Settings/index.js +12 -3
  62. package/dist/esm/components/SignIn/index.compiled.css +2 -0
  63. package/dist/esm/components/SignIn/index.js +12 -3
  64. package/dist/esm/skeleton-help-button.compiled.css +2 -0
  65. package/dist/esm/skeleton-help-button.js +11 -3
  66. package/dist/esm/skeleton-notification-button.compiled.css +2 -0
  67. package/dist/esm/skeleton-notification-button.js +11 -3
  68. package/dist/esm/skeleton-settings-button.compiled.css +2 -0
  69. package/dist/esm/skeleton-settings-button.js +11 -3
  70. package/dist/esm/theme/default-theme.js +41 -43
  71. package/package.json +4 -3
@@ -1,26 +1,24 @@
1
- import { B200, B400, B50, N0, N100, N20, N200, N600, N700 } from '@atlaskit/theme/colors';
2
- import { hexToRGBA } from './theme-helpers';
3
1
  var defaultTheme = {
4
2
  mode: {
5
3
  create: {
6
4
  active: {
7
- color: "var(--ds-text-inverse, ".concat(N0, ")"),
8
- backgroundColor: "var(--ds-background-brand-bold-pressed, ".concat(hexToRGBA(B400, 0.8), ")"),
5
+ color: "var(--ds-text-inverse, #FFFFFF)",
6
+ backgroundColor: "var(--ds-background-brand-bold-pressed, #144794)",
9
7
  boxShadow: ''
10
8
  },
11
9
  default: {
12
- color: "var(--ds-text-inverse, ".concat(N0, ")"),
13
- backgroundColor: "var(--ds-background-brand-bold, ".concat(B400, ")"),
10
+ color: "var(--ds-text-inverse, #FFFFFF)",
11
+ backgroundColor: "var(--ds-background-brand-bold, #1868DB)",
14
12
  boxShadow: ''
15
13
  },
16
14
  focus: {
17
- color: "var(--ds-text-inverse, ".concat(N0, ")"),
15
+ color: "var(--ds-text-inverse, #FFFFFF)",
18
16
  backgroundColor: '',
19
17
  boxShadow: ''
20
18
  },
21
19
  hover: {
22
- color: "var(--ds-text-inverse, ".concat(N0, ")"),
23
- backgroundColor: "var(--ds-background-brand-bold-hovered, ".concat(hexToRGBA(B400, 0.9), ")"),
20
+ color: "var(--ds-text-inverse, #FFFFFF)",
21
+ backgroundColor: "var(--ds-background-brand-bold-hovered, #1558BC)",
24
22
  boxShadow: ''
25
23
  },
26
24
  selected: {
@@ -31,97 +29,97 @@ var defaultTheme = {
31
29
  },
32
30
  iconButton: {
33
31
  active: {
34
- color: "var(--ds-text-subtle, ".concat(B400, ")"),
35
- backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(hexToRGBA(B50, 0.6), ")"),
32
+ color: "var(--ds-text-subtle, #505258)",
33
+ backgroundColor: "var(--ds-background-neutral-subtle-pressed, #0B120E24)",
36
34
  boxShadow: ''
37
35
  },
38
36
  default: {
39
- color: "var(--ds-text-subtle, ".concat(N600, ")"),
37
+ color: "var(--ds-text-subtle, #505258)",
40
38
  backgroundColor: 'transparent',
41
39
  boxShadow: ''
42
40
  },
43
41
  focus: {
44
- color: "var(--ds-text-subtle, ".concat(N600, ")"),
42
+ color: "var(--ds-text-subtle, #505258)",
45
43
  backgroundColor: '',
46
44
  boxShadow: ''
47
45
  },
48
46
  hover: {
49
- color: "var(--ds-text-subtle, ".concat(B400, ")"),
50
- backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(hexToRGBA(B50, 0.9), ")"),
47
+ color: "var(--ds-text-subtle, #505258)",
48
+ backgroundColor: "var(--ds-background-neutral-subtle-hovered, #0515240F)",
51
49
  boxShadow: ''
52
50
  },
53
51
  selected: {
54
- color: "var(--ds-text-selected, ".concat(B400, ")"),
55
- backgroundColor: "var(--ds-background-selected, ".concat(hexToRGBA(B50, 0.6), ")"),
52
+ color: "var(--ds-text-selected, #1868DB)",
53
+ backgroundColor: "var(--ds-background-selected, #E9F2FE)",
56
54
  boxShadow: ''
57
55
  },
58
56
  selectedHover: {
59
- color: "var(--ds-text-selected, ".concat(B400, ")"),
60
- backgroundColor: "var(--ds-background-selected-hovered, ".concat(hexToRGBA(B50, 0.6), ")"),
57
+ color: "var(--ds-text-selected, #1868DB)",
58
+ backgroundColor: "var(--ds-background-selected-hovered, #CFE1FD)",
61
59
  boxShadow: ''
62
60
  }
63
61
  },
64
62
  navigation: {
65
- backgroundColor: "var(--ds-surface, ".concat(N0, ")"),
66
- color: "var(--ds-text-subtlest, ".concat(N200, ")")
63
+ backgroundColor: "var(--ds-surface, #FFFFFF)",
64
+ color: "var(--ds-text-subtlest, #6B6E76)"
67
65
  },
68
66
  productHome: {
69
- backgroundColor: "var(--ds-text-brand, ".concat(B400, ")"),
70
- color: "var(--ds-text, ".concat(N700, ")"),
71
- borderRight: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(hexToRGBA(N200, 0.3), ")")),
67
+ backgroundColor: "var(--ds-text-brand, #1868DB)",
68
+ color: "var(--ds-text, #292A2E)",
69
+ borderRight: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
72
70
  // TODO: replace with token after brand refresh
73
71
  iconColor: '#357DE8',
74
- textColor: "var(--ds-text, ".concat(N700, ")")
72
+ textColor: "var(--ds-text, #292A2E)"
75
73
  },
76
74
  primaryButton: {
77
75
  active: {
78
- color: "var(--ds-text-subtle, ".concat(B400, ")"),
79
- backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat(hexToRGBA(B50, 0.7), ")"),
76
+ color: "var(--ds-text-subtle, #505258)",
77
+ backgroundColor: "var(--ds-background-neutral-subtle-pressed, #0B120E24)",
80
78
  boxShadow: ''
81
79
  },
82
80
  default: {
83
- color: "var(--ds-text-subtle, ".concat(N600, ")"),
81
+ color: "var(--ds-text-subtle, #505258)",
84
82
  backgroundColor: 'transparent',
85
83
  boxShadow: ''
86
84
  },
87
85
  focus: {
88
- color: "var(--ds-text-subtle, ".concat(N600, ")"),
86
+ color: "var(--ds-text-subtle, #505258)",
89
87
  backgroundColor: '',
90
88
  boxShadow: ''
91
89
  },
92
90
  hover: {
93
- color: "var(--ds-text-subtle, ".concat(B400, ")"),
94
- backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat(hexToRGBA(B50, 0.9), ")"),
91
+ color: "var(--ds-text-subtle, #505258)",
92
+ backgroundColor: "var(--ds-background-neutral-subtle-hovered, #0515240F)",
95
93
  boxShadow: ''
96
94
  },
97
95
  selected: {
98
- color: "var(--ds-text-selected, ".concat(B400, ")"),
99
- backgroundColor: "var(--ds-background-selected, ".concat(hexToRGBA(B50, 0.7), ")"),
96
+ color: "var(--ds-text-selected, #1868DB)",
97
+ backgroundColor: "var(--ds-background-selected, #E9F2FE)",
100
98
  boxShadow: '',
101
- borderColor: "var(--ds-border-selected, ".concat(B400, ")")
99
+ borderColor: "var(--ds-border-selected, #1868DB)"
102
100
  },
103
101
  selectedHover: {
104
- color: "var(--ds-text-selected, ".concat(B400, ")"),
105
- backgroundColor: "var(--ds-background-selected-hovered, ".concat(hexToRGBA(B50, 0.6), ")"),
102
+ color: "var(--ds-text-selected, #1868DB)",
103
+ backgroundColor: "var(--ds-background-selected-hovered, #CFE1FD)",
106
104
  boxShadow: '',
107
- borderColor: "var(--ds-border-selected, ".concat(B400, ")")
105
+ borderColor: "var(--ds-border-selected, #1868DB)"
108
106
  }
109
107
  },
110
108
  search: {
111
109
  default: {
112
- backgroundColor: "var(--ds-background-input, ".concat(N0, ")"),
113
- color: "var(--ds-text-subtlest, ".concat(N200, ")"),
114
- borderColor: "var(--ds-border-input, ".concat(N100, ")")
110
+ backgroundColor: "var(--ds-background-input, #FFFFFF)",
111
+ color: "var(--ds-text-subtlest, #6B6E76)",
112
+ borderColor: "var(--ds-border-input, #8C8F97)"
115
113
  },
116
114
  focus: {
117
- borderColor: "var(--ds-border-focused, ".concat(B200, ")")
115
+ borderColor: "var(--ds-border-focused, #4688EC)"
118
116
  },
119
117
  hover: {
120
- backgroundColor: "var(--ds-background-input-hovered, ".concat(N0, ")")
118
+ backgroundColor: "var(--ds-background-input-hovered, #F8F8F8)"
121
119
  }
122
120
  },
123
121
  skeleton: {
124
- backgroundColor: "var(--ds-background-neutral, ".concat(N20, ")"),
122
+ backgroundColor: "var(--ds-background-neutral, #0515240F)",
125
123
  opacity: 1
126
124
  }
127
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "5.6.10",
3
+ "version": "5.6.12",
4
4
  "description": "A horizontal navigation component for Atlassian apps.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,14 +38,15 @@
38
38
  "dependencies": {
39
39
  "@atlaskit/analytics-namespaced-context": "^7.2.0",
40
40
  "@atlaskit/button": "^23.10.0",
41
+ "@atlaskit/css": "0.19.2",
41
42
  "@atlaskit/ds-lib": "^6.0.0",
42
43
  "@atlaskit/icon": "^33.1.0",
43
44
  "@atlaskit/logo": "^19.10.0",
44
- "@atlaskit/popup": "^4.14.0",
45
+ "@atlaskit/popup": "^4.16.0",
45
46
  "@atlaskit/primitives": "^18.1.0",
46
47
  "@atlaskit/theme": "^22.0.0",
47
48
  "@atlaskit/tokens": "^11.4.0",
48
- "@atlaskit/tooltip": "^21.0.0",
49
+ "@atlaskit/tooltip": "^21.1.0",
49
50
  "@atlaskit/width-detector": "^5.0.0",
50
51
  "@babel/runtime": "^7.0.0",
51
52
  "@emotion/react": "^11.7.1",