@atlaskit/atlassian-navigation 3.1.1 → 3.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,21 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 3.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#70040](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70040) [`d18ec4d7ce20`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d18ec4d7ce20) - [ux] Tidy up of the `platform.design-system-team.icon-button-spacing-fix_o1zc5` Platform Feature Flag which applies a small adjustment to icon spacing for buttons using `iconBefore` and `iconAfter` props. Small visual adjustment is to be expected — keep this in mind when reviewing any VR tests breaking. The spacing around the icons will be reduced.
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+
13
+ ## 3.1.2
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 3.1.1
4
20
 
5
21
  ### Patch Changes
@@ -9,7 +9,6 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
9
9
  var _react = require("react");
10
10
  var _react2 = require("@emotion/react");
11
11
  var _chevronDown = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-down"));
12
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
12
  var _primitives = require("@atlaskit/primitives");
14
13
  var _PrimaryButton = require("../PrimaryButton");
15
14
  /** @jsx jsx */
@@ -30,7 +29,7 @@ var chevronIconStylesWithSpacingFixStyles = (0, _primitives.xcss)({
30
29
  var PrimaryDropdownButton = exports.PrimaryDropdownButton = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
31
30
  return (0, _react2.jsx)(_PrimaryButton.PrimaryButton, (0, _extends2.default)({
32
31
  iconAfter: (0, _react2.jsx)(_primitives.Bleed, {
33
- xcss: [(0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.icon-button-spacing-fix_o1zc5') && chevronIconStylesWithSpacingFixStyles],
32
+ xcss: chevronIconStylesWithSpacingFixStyles,
34
33
  inline: "space.100"
35
34
  }, (0, _react2.jsx)(_chevronDown.default, {
36
35
  label: ""
@@ -3,7 +3,6 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import { forwardRef } from 'react';
4
4
  import { jsx } from '@emotion/react';
5
5
  import ChevronIcon from '@atlaskit/icon/glyph/chevron-down';
6
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
7
6
  import { Bleed, xcss } from '@atlaskit/primitives';
8
7
  import { PrimaryButton } from '../PrimaryButton';
9
8
  const chevronIconStylesWithSpacingFixStyles = xcss({
@@ -22,7 +21,7 @@ const chevronIconStylesWithSpacingFixStyles = xcss({
22
21
  export const PrimaryDropdownButton = /*#__PURE__*/forwardRef((props, ref) => {
23
22
  return jsx(PrimaryButton, _extends({
24
23
  iconAfter: jsx(Bleed, {
25
- xcss: [getBooleanFF('platform.design-system-team.icon-button-spacing-fix_o1zc5') && chevronIconStylesWithSpacingFixStyles],
24
+ xcss: chevronIconStylesWithSpacingFixStyles,
26
25
  inline: "space.100"
27
26
  }, jsx(ChevronIcon, {
28
27
  label: ""
@@ -3,7 +3,6 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import { forwardRef } from 'react';
4
4
  import { jsx } from '@emotion/react';
5
5
  import ChevronIcon from '@atlaskit/icon/glyph/chevron-down';
6
- import { getBooleanFF } from '@atlaskit/platform-feature-flags';
7
6
  import { Bleed, xcss } from '@atlaskit/primitives';
8
7
  import { PrimaryButton } from '../PrimaryButton';
9
8
  var chevronIconStylesWithSpacingFixStyles = xcss({
@@ -22,7 +21,7 @@ var chevronIconStylesWithSpacingFixStyles = xcss({
22
21
  export var PrimaryDropdownButton = /*#__PURE__*/forwardRef(function (props, ref) {
23
22
  return jsx(PrimaryButton, _extends({
24
23
  iconAfter: jsx(Bleed, {
25
- xcss: [getBooleanFF('platform.design-system-team.icon-button-spacing-fix_o1zc5') && chevronIconStylesWithSpacingFixStyles],
24
+ xcss: chevronIconStylesWithSpacingFixStyles,
26
25
  inline: "space.100"
27
26
  }, jsx(ChevronIcon, {
28
27
  label: ""
@@ -51,7 +51,7 @@ export interface AtlassianNavigationProps {
51
51
  */
52
52
  moreLabel?: ReactNode;
53
53
  /**
54
- * __Slow and discouraged custom theme API.__
54
+ * __Slow and discouraged custom theme API__.
55
55
  */
56
56
  theme?: NavigationTheme;
57
57
  /**
@@ -87,7 +87,7 @@ export interface NavigationSkeletonProps {
87
87
  */
88
88
  shouldShowSearch?: boolean;
89
89
  /**
90
- * __Slow and discouraged custom theme API.__
90
+ * __Slow and discouraged custom theme API__.
91
91
  */
92
92
  theme?: NavigationTheme;
93
93
  /**
@@ -51,7 +51,7 @@ export interface AtlassianNavigationProps {
51
51
  */
52
52
  moreLabel?: ReactNode;
53
53
  /**
54
- * __Slow and discouraged custom theme API.__
54
+ * __Slow and discouraged custom theme API__.
55
55
  */
56
56
  theme?: NavigationTheme;
57
57
  /**
@@ -87,7 +87,7 @@ export interface NavigationSkeletonProps {
87
87
  */
88
88
  shouldShowSearch?: boolean;
89
89
  /**
90
- * __Slow and discouraged custom theme API.__
90
+ * __Slow and discouraged custom theme API__.
91
91
  */
92
92
  theme?: NavigationTheme;
93
93
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "3.1.1",
3
+ "version": "3.2.0",
4
4
  "description": "A horizontal navigation component for Atlassian products.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,15 +43,15 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@atlaskit/analytics-namespaced-context": "^6.9.0",
46
- "@atlaskit/button": "^17.2.0",
46
+ "@atlaskit/button": "^17.3.0",
47
47
  "@atlaskit/ds-lib": "^2.2.0",
48
48
  "@atlaskit/icon": "^22.0.0",
49
49
  "@atlaskit/logo": "*",
50
50
  "@atlaskit/platform-feature-flags": "^0.2.0",
51
51
  "@atlaskit/popup": "^1.11.0",
52
- "@atlaskit/primitives": "^1.19.0",
52
+ "@atlaskit/primitives": "^2.0.0",
53
53
  "@atlaskit/theme": "^12.6.0",
54
- "@atlaskit/tokens": "^1.34.0",
54
+ "@atlaskit/tokens": "^1.35.0",
55
55
  "@atlaskit/tooltip": "^18.1.0",
56
56
  "@atlaskit/width-detector": "^4.1.0",
57
57
  "@babel/runtime": "^7.0.0",
@@ -65,7 +65,7 @@
65
65
  "devDependencies": {
66
66
  "@af/accessibility-testing": "*",
67
67
  "@af/visual-regression": "*",
68
- "@atlaskit/dropdown-menu": "^12.1.0",
68
+ "@atlaskit/dropdown-menu": "^12.3.0",
69
69
  "@atlaskit/notification-indicator": "*",
70
70
  "@atlaskit/notification-log-client": "*",
71
71
  "@atlaskit/visual-regression": "*",
@@ -108,9 +108,6 @@
108
108
  },
109
109
  "platform.design-system-team.border-checkbox_nyoiu": {
110
110
  "type": "boolean"
111
- },
112
- "platform.design-system-team.icon-button-spacing-fix_o1zc5": {
113
- "type": "boolean"
114
111
  }
115
112
  }
116
113
  }