@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 +10 -0
- package/dist/cjs/theme/themeGenerator.js +2 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/theme/themeGenerator.js +2 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/theme/themeGenerator.js +2 -1
- package/dist/esm/version.json +1 -1
- package/package.json +1 -1
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),
|
package/dist/cjs/version.json
CHANGED
|
@@ -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),
|
package/dist/es2019/version.json
CHANGED
|
@@ -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),
|
package/dist/esm/version.json
CHANGED