@atlaskit/atlassian-navigation 2.1.6 → 2.2.0

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,15 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`81addc0c144`](https://bitbucket.org/atlassian/atlassian-frontend/commits/81addc0c144) - [ux] Pass boxShadow for the focus styling of search section in the theme generator.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
3
13
  ## 2.1.6
4
14
 
5
15
  ### Patch Changes
@@ -107,7 +107,8 @@ var generateTheme = function generateTheme(themeColors) {
107
107
  borderColor: (0, _themeHelpers.hexToRGBA)(color, 0.5)
108
108
  },
109
109
  focus: {
110
- borderColor: (0, _themeHelpers.hexToRGBA)(highlightColor, 0.8)
110
+ borderColor: (0, _themeHelpers.hexToRGBA)(highlightColor, 0.8),
111
+ boxShadow: (0, _themeHelpers.getBoxShadow)((0, _themeHelpers.hexToRGBA)(highlightColor, 0.5))
111
112
  },
112
113
  hover: {
113
114
  backgroundColor: (0, _themeHelpers.getContrastColor)(0.1, generateOpacityValue(color), backgroundColor),
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "2.1.6",
3
+ "version": "2.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -84,7 +84,8 @@ export const generateTheme = themeColors => {
84
84
  borderColor: hexToRGBA(color, 0.5)
85
85
  },
86
86
  focus: {
87
- borderColor: hexToRGBA(highlightColor, 0.8)
87
+ borderColor: hexToRGBA(highlightColor, 0.8),
88
+ boxShadow: getBoxShadow(hexToRGBA(highlightColor, 0.5))
88
89
  },
89
90
  hover: {
90
91
  backgroundColor: getContrastColor(0.1, generateOpacityValue(color), backgroundColor),
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "2.1.6",
3
+ "version": "2.2.0",
4
4
  "sideEffects": false
5
5
  }
@@ -91,7 +91,8 @@ export var generateTheme = function generateTheme(themeColors) {
91
91
  borderColor: hexToRGBA(color, 0.5)
92
92
  },
93
93
  focus: {
94
- borderColor: hexToRGBA(highlightColor, 0.8)
94
+ borderColor: hexToRGBA(highlightColor, 0.8),
95
+ boxShadow: getBoxShadow(hexToRGBA(highlightColor, 0.5))
95
96
  },
96
97
  hover: {
97
98
  backgroundColor: getContrastColor(0.1, generateOpacityValue(color), backgroundColor),
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "2.1.6",
3
+ "version": "2.2.0",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "2.1.6",
3
+ "version": "2.2.0",
4
4
  "description": "A horizontal navigation component for Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"