@atlaskit/atlassian-navigation 5.3.16 → 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 CHANGED
@@ -1,5 +1,21 @@
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
+
11
+ ## 5.3.17
12
+
13
+ ### Patch Changes
14
+
15
+ - [`f0662cd7a143e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0662cd7a143e) -
16
+ Internal changes to how borders are applied.
17
+ - Updated dependencies
18
+
3
19
  ## 5.3.16
4
20
 
5
21
  ### 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 solid ".concat("var(--ds-border, ".concat(_colors.N30, ")")),
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 solid ".concat("var(--ds-border, ".concat(_colors.N30, ")")),
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 solid ".concat("var(--ds-border-focused, ".concat(_colors.B200, ")"))
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&': {
@@ -64,7 +64,7 @@ var productHomeButtonStyles = (0, _react2.css)((0, _defineProperty2.default)((0,
64
64
  '&:focus-visible': {
65
65
  backgroundColor: "var(".concat(VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS, ")"),
66
66
  color: "var(".concat(VAR_PRODUCT_HOME_COLOR_FOCUS, ")"),
67
- outline: "var(--ds-border-width-outline, 2px)".concat(" solid ", "var(--ds-border-focused, #4C9AFF)")
67
+ outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4C9AFF)")
68
68
  },
69
69
  // 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
70
70
  'div&': {
@@ -70,9 +70,9 @@ var isDropdownButtonStyles = (0, _react.css)({
70
70
  width: 4,
71
71
  height: 4,
72
72
  position: 'absolute',
73
- borderBlockEnd: '2px solid',
73
+ borderBlockEnd: "var(--ds-border-width-selected, 2px)".concat(" solid"),
74
74
  borderColor: "var(".concat(VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR, ")"),
75
- borderInlineEnd: '2px solid',
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 solid ".concat("var(--ds-border, ".concat((0, _themeHelpers.hexToRGBA)(_colors.N200, 0.3), ")")),
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 ".concat((0, _themeHelpers.hexToRGBA)(color, 0.5))
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: `1px solid ${`var(--ds-border, ${N30})`}`,
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: `1px solid ${`var(--ds-border, ${N30})`}`,
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: `2px solid ${`var(--ds-border-focused, ${B200})`}`
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&': {
@@ -55,7 +55,7 @@ const productHomeButtonStyles = css({
55
55
  '&:focus-visible': {
56
56
  backgroundColor: `var(${VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS})`,
57
57
  color: `var(${VAR_PRODUCT_HOME_COLOR_FOCUS})`,
58
- outline: `${"var(--ds-border-width-outline, 2px)"} solid ${"var(--ds-border-focused, #4C9AFF)"}`
58
+ outline: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4C9AFF)"}`
59
59
  },
60
60
  // 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
61
61
  'div&': {
@@ -62,9 +62,9 @@ const isDropdownButtonStyles = css({
62
62
  width: 4,
63
63
  height: 4,
64
64
  position: 'absolute',
65
- borderBlockEnd: '2px solid',
65
+ borderBlockEnd: `${"var(--ds-border-width-selected, 2px)"} solid`,
66
66
  borderColor: `var(${VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR})`,
67
- borderInlineEnd: '2px solid',
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: `1px solid ${`var(--ds-border, ${hexToRGBA(N200, 0.3)})`}`,
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: `1px solid ${hexToRGBA(color, 0.5)}`
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 solid ".concat("var(--ds-border, ".concat(N30, ")")),
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 solid ".concat("var(--ds-border, ".concat(N30, ")")),
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 solid ".concat("var(--ds-border-focused, ".concat(B200, ")"))
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&': {
@@ -59,7 +59,7 @@ var productHomeButtonStyles = css(_defineProperty(_defineProperty({
59
59
  '&:focus-visible': {
60
60
  backgroundColor: "var(".concat(VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS, ")"),
61
61
  color: "var(".concat(VAR_PRODUCT_HOME_COLOR_FOCUS, ")"),
62
- outline: "var(--ds-border-width-outline, 2px)".concat(" solid ", "var(--ds-border-focused, #4C9AFF)")
62
+ outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4C9AFF)")
63
63
  },
64
64
  // 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
65
65
  'div&': {
@@ -65,9 +65,9 @@ var isDropdownButtonStyles = css({
65
65
  width: 4,
66
66
  height: 4,
67
67
  position: 'absolute',
68
- borderBlockEnd: '2px solid',
68
+ borderBlockEnd: "var(--ds-border-width-selected, 2px)".concat(" solid"),
69
69
  borderColor: "var(".concat(VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR, ")"),
70
- borderInlineEnd: '2px solid',
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 solid ".concat("var(--ds-border, ".concat(hexToRGBA(N200, 0.3), ")")),
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 ".concat(hexToRGBA(color, 0.5))
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.16",
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,13 +39,13 @@
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.1.0",
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.3.0",
46
- "@atlaskit/primitives": "^14.13.0",
47
- "@atlaskit/theme": "^20.0.0",
48
- "@atlaskit/tokens": "^6.2.0",
45
+ "@atlaskit/popup": "^4.4.0",
46
+ "@atlaskit/primitives": "^14.14.0",
47
+ "@atlaskit/theme": "^21.0.0",
48
+ "@atlaskit/tokens": "^6.3.0",
49
49
  "@atlaskit/tooltip": "^20.4.0",
50
50
  "@atlaskit/width-detector": "^5.0.0",
51
51
  "@babel/runtime": "^7.0.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.0.0",
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.4.0",
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.11.0",
78
- "@atlassian/switcher-test-utils": "^7.1.0",
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",