@atlaskit/atlassian-navigation 5.3.17 → 5.3.18
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 +8 -0
- package/dist/cjs/components/AtlassianNavigation/index.js +1 -1
- package/dist/cjs/components/AtlassianNavigation/skeleton.js +1 -1
- package/dist/cjs/components/ProductHome/custom-product-home.js +1 -1
- package/dist/cjs/components/SkeletonPrimaryButton/index.js +2 -2
- package/dist/cjs/theme/default-theme.js +1 -1
- package/dist/cjs/theme/theme-generator.js +1 -1
- package/dist/es2019/components/AtlassianNavigation/index.js +1 -1
- package/dist/es2019/components/AtlassianNavigation/skeleton.js +1 -1
- package/dist/es2019/components/ProductHome/custom-product-home.js +1 -1
- package/dist/es2019/components/SkeletonPrimaryButton/index.js +2 -2
- package/dist/es2019/theme/default-theme.js +1 -1
- package/dist/es2019/theme/theme-generator.js +1 -1
- package/dist/esm/components/AtlassianNavigation/index.js +1 -1
- package/dist/esm/components/AtlassianNavigation/skeleton.js +1 -1
- package/dist/esm/components/ProductHome/custom-product-home.js +1 -1
- package/dist/esm/components/SkeletonPrimaryButton/index.js +2 -2
- package/dist/esm/theme/default-theme.js +1 -1
- package/dist/esm/theme/theme-generator.js +1 -1
- package/package.json +7 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/atlassian-navigation
|
|
2
2
|
|
|
3
|
+
## 5.3.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`248faa32d4835`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/248faa32d4835) -
|
|
8
|
+
Internal changes to how borders are applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 5.3.17
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -27,7 +27,7 @@ var containerStyles = (0, _react.css)({
|
|
|
27
27
|
alignItems: 'center',
|
|
28
28
|
justifyContent: 'space-between',
|
|
29
29
|
flexShrink: 0,
|
|
30
|
-
borderBlockEnd: "1px
|
|
30
|
+
borderBlockEnd: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N30, ")")),
|
|
31
31
|
paddingInlineEnd: "var(--ds-space-150, 12px)",
|
|
32
32
|
paddingInlineStart: "var(--ds-space-150, 12px)"
|
|
33
33
|
});
|
|
@@ -28,7 +28,7 @@ var containerStyles = (0, _react.css)({
|
|
|
28
28
|
alignItems: 'center',
|
|
29
29
|
justifyContent: 'space-between',
|
|
30
30
|
flexShrink: 0,
|
|
31
|
-
borderBlockEnd: "1px
|
|
31
|
+
borderBlockEnd: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(_colors.N30, ")")),
|
|
32
32
|
paddingInlineEnd: "var(--ds-space-150, 12px)",
|
|
33
33
|
paddingInlineStart: "var(--ds-space-150, 12px)"
|
|
34
34
|
});
|
|
@@ -76,7 +76,7 @@ var productHomeButtonStyles = (0, _react2.css)((0, _defineProperty2.default)((0,
|
|
|
76
76
|
'&:focus-visible': {
|
|
77
77
|
backgroundColor: "var(".concat(VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS, ")"),
|
|
78
78
|
color: "var(".concat(VAR_PRODUCT_HOME_COLOR_FOCUS, ")"),
|
|
79
|
-
outline: "2px
|
|
79
|
+
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, ".concat(_colors.B200, ")"))
|
|
80
80
|
},
|
|
81
81
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
82
82
|
'div&': {
|
|
@@ -70,9 +70,9 @@ var isDropdownButtonStyles = (0, _react.css)({
|
|
|
70
70
|
width: 4,
|
|
71
71
|
height: 4,
|
|
72
72
|
position: 'absolute',
|
|
73
|
-
borderBlockEnd:
|
|
73
|
+
borderBlockEnd: "var(--ds-border-width-selected, 2px)".concat(" solid"),
|
|
74
74
|
borderColor: "var(".concat(VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR, ")"),
|
|
75
|
-
borderInlineEnd:
|
|
75
|
+
borderInlineEnd: "var(--ds-border-width-selected, 2px)".concat(" solid"),
|
|
76
76
|
borderRadius: "var(--ds-radius-xsmall, 1px)",
|
|
77
77
|
content: '""',
|
|
78
78
|
insetBlockStart: 'calc(50% - 4px)',
|
|
@@ -74,7 +74,7 @@ var defaultTheme = {
|
|
|
74
74
|
productHome: {
|
|
75
75
|
backgroundColor: "var(--ds-text-brand, ".concat(_colors.B400, ")"),
|
|
76
76
|
color: "var(--ds-text, ".concat(_colors.N700, ")"),
|
|
77
|
-
borderRight: "1px
|
|
77
|
+
borderRight: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat((0, _themeHelpers.hexToRGBA)(_colors.N200, 0.3), ")")),
|
|
78
78
|
// TODO: replace with token after brand refresh
|
|
79
79
|
iconColor: '#357DE8',
|
|
80
80
|
textColor: "var(--ds-text, ".concat(_colors.N700, ")")
|
|
@@ -91,7 +91,7 @@ var generateTheme = exports.generateTheme = function generateTheme(themeColors)
|
|
|
91
91
|
iconColor: color,
|
|
92
92
|
textColor: color,
|
|
93
93
|
backgroundColor: highlightColor,
|
|
94
|
-
borderRight: "1px solid "
|
|
94
|
+
borderRight: "var(--ds-border-width, 1px)".concat(" solid ", (0, _themeHelpers.hexToRGBA)(color, 0.5))
|
|
95
95
|
},
|
|
96
96
|
search: {
|
|
97
97
|
default: {
|
|
@@ -19,7 +19,7 @@ const containerStyles = css({
|
|
|
19
19
|
alignItems: 'center',
|
|
20
20
|
justifyContent: 'space-between',
|
|
21
21
|
flexShrink: 0,
|
|
22
|
-
borderBlockEnd:
|
|
22
|
+
borderBlockEnd: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-border, ${N30})`}`,
|
|
23
23
|
paddingInlineEnd: "var(--ds-space-150, 12px)",
|
|
24
24
|
paddingInlineStart: "var(--ds-space-150, 12px)"
|
|
25
25
|
});
|
|
@@ -21,7 +21,7 @@ const containerStyles = css({
|
|
|
21
21
|
alignItems: 'center',
|
|
22
22
|
justifyContent: 'space-between',
|
|
23
23
|
flexShrink: 0,
|
|
24
|
-
borderBlockEnd:
|
|
24
|
+
borderBlockEnd: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-border, ${N30})`}`,
|
|
25
25
|
paddingInlineEnd: "var(--ds-space-150, 12px)",
|
|
26
26
|
paddingInlineStart: "var(--ds-space-150, 12px)"
|
|
27
27
|
});
|
|
@@ -71,7 +71,7 @@ const productHomeButtonStyles = css({
|
|
|
71
71
|
'&:focus-visible': {
|
|
72
72
|
backgroundColor: `var(${VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS})`,
|
|
73
73
|
color: `var(${VAR_PRODUCT_HOME_COLOR_FOCUS})`,
|
|
74
|
-
outline:
|
|
74
|
+
outline: `${"var(--ds-border-width-focused, 2px)"} solid ${`var(--ds-border-focused, ${B200})`}`
|
|
75
75
|
},
|
|
76
76
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
77
77
|
'div&': {
|
|
@@ -62,9 +62,9 @@ const isDropdownButtonStyles = css({
|
|
|
62
62
|
width: 4,
|
|
63
63
|
height: 4,
|
|
64
64
|
position: 'absolute',
|
|
65
|
-
borderBlockEnd:
|
|
65
|
+
borderBlockEnd: `${"var(--ds-border-width-selected, 2px)"} solid`,
|
|
66
66
|
borderColor: `var(${VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR})`,
|
|
67
|
-
borderInlineEnd:
|
|
67
|
+
borderInlineEnd: `${"var(--ds-border-width-selected, 2px)"} solid`,
|
|
68
68
|
borderRadius: "var(--ds-radius-xsmall, 1px)",
|
|
69
69
|
content: '""',
|
|
70
70
|
insetBlockStart: 'calc(50% - 4px)',
|
|
@@ -68,7 +68,7 @@ const defaultTheme = {
|
|
|
68
68
|
productHome: {
|
|
69
69
|
backgroundColor: `var(--ds-text-brand, ${B400})`,
|
|
70
70
|
color: `var(--ds-text, ${N700})`,
|
|
71
|
-
borderRight:
|
|
71
|
+
borderRight: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-border, ${hexToRGBA(N200, 0.3)})`}`,
|
|
72
72
|
// TODO: replace with token after brand refresh
|
|
73
73
|
iconColor: '#357DE8',
|
|
74
74
|
textColor: `var(--ds-text, ${N700})`
|
|
@@ -82,7 +82,7 @@ export const generateTheme = themeColors => {
|
|
|
82
82
|
iconColor: color,
|
|
83
83
|
textColor: color,
|
|
84
84
|
backgroundColor: highlightColor,
|
|
85
|
-
borderRight:
|
|
85
|
+
borderRight: `${"var(--ds-border-width, 1px)"} solid ${hexToRGBA(color, 0.5)}`
|
|
86
86
|
},
|
|
87
87
|
search: {
|
|
88
88
|
default: {
|
|
@@ -19,7 +19,7 @@ var containerStyles = css({
|
|
|
19
19
|
alignItems: 'center',
|
|
20
20
|
justifyContent: 'space-between',
|
|
21
21
|
flexShrink: 0,
|
|
22
|
-
borderBlockEnd: "1px
|
|
22
|
+
borderBlockEnd: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")),
|
|
23
23
|
paddingInlineEnd: "var(--ds-space-150, 12px)",
|
|
24
24
|
paddingInlineStart: "var(--ds-space-150, 12px)"
|
|
25
25
|
});
|
|
@@ -21,7 +21,7 @@ var containerStyles = css({
|
|
|
21
21
|
alignItems: 'center',
|
|
22
22
|
justifyContent: 'space-between',
|
|
23
23
|
flexShrink: 0,
|
|
24
|
-
borderBlockEnd: "1px
|
|
24
|
+
borderBlockEnd: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")),
|
|
25
25
|
paddingInlineEnd: "var(--ds-space-150, 12px)",
|
|
26
26
|
paddingInlineStart: "var(--ds-space-150, 12px)"
|
|
27
27
|
});
|
|
@@ -70,7 +70,7 @@ var productHomeButtonStyles = css(_defineProperty(_defineProperty({
|
|
|
70
70
|
'&:focus-visible': {
|
|
71
71
|
backgroundColor: "var(".concat(VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS, ")"),
|
|
72
72
|
color: "var(".concat(VAR_PRODUCT_HOME_COLOR_FOCUS, ")"),
|
|
73
|
-
outline: "2px
|
|
73
|
+
outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, ".concat(B200, ")"))
|
|
74
74
|
},
|
|
75
75
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors, @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
76
76
|
'div&': {
|
|
@@ -65,9 +65,9 @@ var isDropdownButtonStyles = css({
|
|
|
65
65
|
width: 4,
|
|
66
66
|
height: 4,
|
|
67
67
|
position: 'absolute',
|
|
68
|
-
borderBlockEnd:
|
|
68
|
+
borderBlockEnd: "var(--ds-border-width-selected, 2px)".concat(" solid"),
|
|
69
69
|
borderColor: "var(".concat(VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR, ")"),
|
|
70
|
-
borderInlineEnd:
|
|
70
|
+
borderInlineEnd: "var(--ds-border-width-selected, 2px)".concat(" solid"),
|
|
71
71
|
borderRadius: "var(--ds-radius-xsmall, 1px)",
|
|
72
72
|
content: '""',
|
|
73
73
|
insetBlockStart: 'calc(50% - 4px)',
|
|
@@ -68,7 +68,7 @@ var defaultTheme = {
|
|
|
68
68
|
productHome: {
|
|
69
69
|
backgroundColor: "var(--ds-text-brand, ".concat(B400, ")"),
|
|
70
70
|
color: "var(--ds-text, ".concat(N700, ")"),
|
|
71
|
-
borderRight: "1px
|
|
71
|
+
borderRight: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(hexToRGBA(N200, 0.3), ")")),
|
|
72
72
|
// TODO: replace with token after brand refresh
|
|
73
73
|
iconColor: '#357DE8',
|
|
74
74
|
textColor: "var(--ds-text, ".concat(N700, ")")
|
|
@@ -84,7 +84,7 @@ export var generateTheme = function generateTheme(themeColors) {
|
|
|
84
84
|
iconColor: color,
|
|
85
85
|
textColor: color,
|
|
86
86
|
backgroundColor: highlightColor,
|
|
87
|
-
borderRight: "1px solid "
|
|
87
|
+
borderRight: "var(--ds-border-width, 1px)".concat(" solid ", hexToRGBA(color, 0.5))
|
|
88
88
|
},
|
|
89
89
|
search: {
|
|
90
90
|
default: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.18",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian apps.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"@atlaskit/analytics-namespaced-context": "^7.0.0",
|
|
40
40
|
"@atlaskit/button": "^23.4.0",
|
|
41
41
|
"@atlaskit/ds-lib": "^5.0.0",
|
|
42
|
-
"@atlaskit/icon": "^28.
|
|
42
|
+
"@atlaskit/icon": "^28.2.0",
|
|
43
43
|
"@atlaskit/logo": "^19.7.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
45
|
-
"@atlaskit/popup": "^4.
|
|
45
|
+
"@atlaskit/popup": "^4.4.0",
|
|
46
46
|
"@atlaskit/primitives": "^14.14.0",
|
|
47
47
|
"@atlaskit/theme": "^21.0.0",
|
|
48
48
|
"@atlaskit/tokens": "^6.3.0",
|
|
@@ -64,18 +64,18 @@
|
|
|
64
64
|
"@atlaskit/atlassian-notifications": "^0.7.0",
|
|
65
65
|
"@atlaskit/avatar": "^25.1.0",
|
|
66
66
|
"@atlaskit/badge": "^18.1.0",
|
|
67
|
-
"@atlaskit/docs": "^11.
|
|
67
|
+
"@atlaskit/docs": "^11.1.0",
|
|
68
68
|
"@atlaskit/drawer": "^11.0.0",
|
|
69
69
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
70
|
-
"@atlaskit/form": "^12.
|
|
70
|
+
"@atlaskit/form": "^12.7.0",
|
|
71
71
|
"@atlaskit/menu": "^8.4.0",
|
|
72
72
|
"@atlaskit/notification-indicator": "^10.0.0",
|
|
73
73
|
"@atlaskit/notification-log-client": "^6.2.0",
|
|
74
74
|
"@atlaskit/section-message": "^8.7.0",
|
|
75
75
|
"@atlaskit/spinner": "^19.0.0",
|
|
76
76
|
"@atlaskit/textfield": "^8.0.0",
|
|
77
|
-
"@atlassian/switcher": "^38.
|
|
78
|
-
"@atlassian/switcher-test-utils": "^7.
|
|
77
|
+
"@atlassian/switcher": "^38.16.0",
|
|
78
|
+
"@atlassian/switcher-test-utils": "^7.2.0",
|
|
79
79
|
"@testing-library/react": "^13.4.0",
|
|
80
80
|
"@testing-library/react-hooks": "^8.0.1",
|
|
81
81
|
"@testing-library/user-event": "^14.4.3",
|