@atlaskit/atlassian-navigation 5.6.11 → 5.6.12

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/afm-cc/tsconfig.json +3 -0
  3. package/afm-jira/tsconfig.json +7 -1
  4. package/afm-products/tsconfig.json +3 -0
  5. package/dist/cjs/components/AppSwitcher/index.compiled.css +2 -0
  6. package/dist/cjs/components/AppSwitcher/index.js +12 -3
  7. package/dist/cjs/components/Help/index.compiled.css +2 -0
  8. package/dist/cjs/components/Help/index.js +12 -4
  9. package/dist/cjs/components/Notifications/index.compiled.css +2 -0
  10. package/dist/cjs/components/Notifications/index.js +11 -3
  11. package/dist/cjs/components/Settings/index.compiled.css +2 -0
  12. package/dist/cjs/components/Settings/index.js +12 -3
  13. package/dist/cjs/components/SignIn/index.compiled.css +2 -0
  14. package/dist/cjs/components/SignIn/index.js +12 -3
  15. package/dist/cjs/skeleton-help-button.compiled.css +2 -0
  16. package/dist/cjs/skeleton-help-button.js +11 -3
  17. package/dist/cjs/skeleton-notification-button.compiled.css +2 -0
  18. package/dist/cjs/skeleton-notification-button.js +11 -3
  19. package/dist/cjs/skeleton-settings-button.compiled.css +2 -0
  20. package/dist/cjs/skeleton-settings-button.js +11 -3
  21. package/dist/es2019/components/AppSwitcher/index.compiled.css +2 -0
  22. package/dist/es2019/components/AppSwitcher/index.js +12 -3
  23. package/dist/es2019/components/Help/index.compiled.css +2 -0
  24. package/dist/es2019/components/Help/index.js +12 -4
  25. package/dist/es2019/components/Notifications/index.compiled.css +2 -0
  26. package/dist/es2019/components/Notifications/index.js +11 -3
  27. package/dist/es2019/components/Settings/index.compiled.css +2 -0
  28. package/dist/es2019/components/Settings/index.js +12 -3
  29. package/dist/es2019/components/SignIn/index.compiled.css +2 -0
  30. package/dist/es2019/components/SignIn/index.js +12 -3
  31. package/dist/es2019/skeleton-help-button.compiled.css +2 -0
  32. package/dist/es2019/skeleton-help-button.js +11 -3
  33. package/dist/es2019/skeleton-notification-button.compiled.css +2 -0
  34. package/dist/es2019/skeleton-notification-button.js +11 -3
  35. package/dist/es2019/skeleton-settings-button.compiled.css +2 -0
  36. package/dist/es2019/skeleton-settings-button.js +11 -3
  37. package/dist/esm/components/AppSwitcher/index.compiled.css +2 -0
  38. package/dist/esm/components/AppSwitcher/index.js +12 -3
  39. package/dist/esm/components/Help/index.compiled.css +2 -0
  40. package/dist/esm/components/Help/index.js +12 -4
  41. package/dist/esm/components/Notifications/index.compiled.css +2 -0
  42. package/dist/esm/components/Notifications/index.js +11 -3
  43. package/dist/esm/components/Settings/index.compiled.css +2 -0
  44. package/dist/esm/components/Settings/index.js +12 -3
  45. package/dist/esm/components/SignIn/index.compiled.css +2 -0
  46. package/dist/esm/components/SignIn/index.js +12 -3
  47. package/dist/esm/skeleton-help-button.compiled.css +2 -0
  48. package/dist/esm/skeleton-help-button.js +11 -3
  49. package/dist/esm/skeleton-notification-button.compiled.css +2 -0
  50. package/dist/esm/skeleton-notification-button.js +11 -3
  51. package/dist/esm/skeleton-settings-button.compiled.css +2 -0
  52. package/dist/esm/skeleton-settings-button.js +11 -3
  53. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/atlassian-navigation
2
2
 
3
+ ## 5.6.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [`08170da1fbf62`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08170da1fbf62) -
8
+ Migrate spacing prop usages on icons to Flex wrapper
9
+ - Updated dependencies
10
+
3
11
  ## 5.6.11
4
12
 
5
13
  ### Patch Changes
@@ -29,6 +29,9 @@
29
29
  {
30
30
  "path": "../../button/afm-cc/tsconfig.json"
31
31
  },
32
+ {
33
+ "path": "../../css/afm-cc/tsconfig.json"
34
+ },
32
35
  {
33
36
  "path": "../../ds-lib/afm-cc/tsconfig.json"
34
37
  },
@@ -8,7 +8,10 @@
8
8
  "noCheck": true,
9
9
  "isolatedDeclarations": true
10
10
  },
11
- "include": ["../src/**/*.ts", "../src/**/*.tsx"],
11
+ "include": [
12
+ "../src/**/*.ts",
13
+ "../src/**/*.tsx"
14
+ ],
12
15
  "exclude": [
13
16
  "../src/**/__tests__/*",
14
17
  "../src/**/*.test.*",
@@ -27,6 +30,9 @@
27
30
  {
28
31
  "path": "../../button/afm-jira/tsconfig.json"
29
32
  },
33
+ {
34
+ "path": "../../css/afm-jira/tsconfig.json"
35
+ },
30
36
  {
31
37
  "path": "../../ds-lib/afm-jira/tsconfig.json"
32
38
  },
@@ -29,6 +29,9 @@
29
29
  {
30
30
  "path": "../../button/afm-products/tsconfig.json"
31
31
  },
32
+ {
33
+ "path": "../../css/afm-products/tsconfig.json"
34
+ },
32
35
  {
33
36
  "path": "../../ds-lib/afm-products/tsconfig.json"
34
37
  },
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,3 +1,4 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -6,14 +7,21 @@ Object.defineProperty(exports, "__esModule", {
6
7
  value: true
7
8
  });
8
9
  exports.default = exports.AppSwitcherNav4 = exports.AppSwitcher = void 0;
10
+ require("./index.compiled.css");
11
+ var _runtime = require("@compiled/react/runtime");
9
12
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
13
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
14
  var _react = _interopRequireWildcard(require("react"));
12
15
  var _appSwitcher = _interopRequireDefault(require("@atlaskit/icon/core/app-switcher"));
16
+ var _compiled = require("@atlaskit/primitives/compiled");
13
17
  var _IconButton = require("../IconButton");
14
18
  var _excluded = ["component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"],
15
19
  _excluded2 = ["component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
16
20
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
21
+ var iconSpacingStyles = {
22
+ space050: "_1rjc1b66 _18zr1b66"
23
+ };
24
+
17
25
  /**
18
26
  * _App switcher__
19
27
  *
@@ -44,11 +52,12 @@ var AppSwitcher = exports.AppSwitcher = /*#__PURE__*/(0, _react.forwardRef)(func
44
52
  return /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, (0, _extends2.default)({
45
53
  component: component,
46
54
  href: href,
47
- icon: /*#__PURE__*/_react.default.createElement(_appSwitcher.default, {
55
+ icon: /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
56
+ xcss: iconSpacingStyles.space050
57
+ }, /*#__PURE__*/_react.default.createElement(_appSwitcher.default, {
48
58
  color: "currentColor",
49
- spacing: "spacious",
50
59
  label: typeof tooltip === 'string' ? tooltip : 'Switch apps'
51
- }),
60
+ })),
52
61
  id: id,
53
62
  isDisabled: isDisabled,
54
63
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,3 +1,4 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -6,14 +7,20 @@ Object.defineProperty(exports, "__esModule", {
6
7
  value: true
7
8
  });
8
9
  exports.Help = void 0;
10
+ require("./index.compiled.css");
11
+ var _runtime = require("@compiled/react/runtime");
9
12
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
13
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
14
  var _react = _interopRequireWildcard(require("react"));
12
15
  var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/question-circle"));
16
+ var _compiled = require("@atlaskit/primitives/compiled");
13
17
  var _BadgeContainer = require("../BadgeContainer");
14
18
  var _IconButton = require("../IconButton");
15
19
  var _excluded = ["badge", "component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
16
20
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
21
+ var iconSpacingStyles = {
22
+ space050: "_1rjc1b66 _18zr1b66"
23
+ };
17
24
  var HELP_NOTIFICATION_BADGE_ID = 'atlassian-navigation-help-notification-count';
18
25
 
19
26
  /**
@@ -46,11 +53,12 @@ var Help = exports.Help = /*#__PURE__*/(0, _react.forwardRef)(function (props, r
46
53
  var button = /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, (0, _extends2.default)({
47
54
  component: component,
48
55
  href: href,
49
- icon: /*#__PURE__*/_react.default.createElement(_questionCircle.default, {
56
+ icon: /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
57
+ xcss: iconSpacingStyles.space050
58
+ }, /*#__PURE__*/_react.default.createElement(_questionCircle.default, {
50
59
  label: typeof tooltip === 'string' ? tooltip : 'Help Icon',
51
- color: "currentColor",
52
- spacing: "spacious"
53
- }),
60
+ color: "currentColor"
61
+ })),
54
62
  id: id,
55
63
  isDisabled: isDisabled,
56
64
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,3 +1,4 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -6,14 +7,20 @@ Object.defineProperty(exports, "__esModule", {
6
7
  value: true
7
8
  });
8
9
  exports.Notifications = void 0;
10
+ require("./index.compiled.css");
11
+ var _runtime = require("@compiled/react/runtime");
9
12
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
13
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
14
  var _react = _interopRequireWildcard(require("react"));
12
15
  var _notification = _interopRequireDefault(require("@atlaskit/icon/core/notification"));
16
+ var _compiled = require("@atlaskit/primitives/compiled");
13
17
  var _BadgeContainer = require("../BadgeContainer");
14
18
  var _IconButton = require("../IconButton");
15
19
  var _excluded = ["badge", "component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
16
20
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
21
+ var iconSpacingStyles = {
22
+ space050: "_1rjc1b66 _18zr1b66"
23
+ };
17
24
  var NOTIFICATIONS_BADGE_ID = 'atlassian-navigation-notification-count';
18
25
 
19
26
  /**
@@ -52,11 +59,12 @@ var Notifications = exports.Notifications = /*#__PURE__*/(0, _react.forwardRef)(
52
59
  "aria-describedby": NOTIFICATIONS_BADGE_ID,
53
60
  component: component,
54
61
  href: href,
55
- icon: /*#__PURE__*/_react.default.createElement(_notification.default, {
56
- spacing: "spacious",
62
+ icon: /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
63
+ xcss: iconSpacingStyles.space050
64
+ }, /*#__PURE__*/_react.default.createElement(_notification.default, {
57
65
  color: "currentColor",
58
66
  label: typeof tooltip === 'string' ? tooltip : 'Notification Icon'
59
- }),
67
+ })),
60
68
  id: id,
61
69
  isDisabled: isDisabled,
62
70
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,3 +1,4 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -6,13 +7,20 @@ Object.defineProperty(exports, "__esModule", {
6
7
  value: true
7
8
  });
8
9
  exports.Settings = void 0;
10
+ require("./index.compiled.css");
11
+ var _runtime = require("@compiled/react/runtime");
9
12
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
10
13
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
11
14
  var _react = _interopRequireWildcard(require("react"));
12
15
  var _settings = _interopRequireDefault(require("@atlaskit/icon/core/settings"));
16
+ var _compiled = require("@atlaskit/primitives/compiled");
13
17
  var _IconButton = require("../IconButton");
14
18
  var _excluded = ["component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
15
19
  function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
20
+ var iconSpacingStyles = {
21
+ space050: "_1rjc1b66 _18zr1b66"
22
+ };
23
+
16
24
  /**
17
25
  * __Settings__
18
26
  *
@@ -44,11 +52,12 @@ var Settings = exports.Settings = /*#__PURE__*/(0, _react.forwardRef)(function (
44
52
  }, /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, (0, _extends2.default)({
45
53
  component: component,
46
54
  href: href,
47
- icon: /*#__PURE__*/_react.default.createElement(_settings.default, {
55
+ icon: /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
56
+ xcss: iconSpacingStyles.space050
57
+ }, /*#__PURE__*/_react.default.createElement(_settings.default, {
48
58
  color: "currentColor",
49
- spacing: "spacious",
50
59
  label: typeof tooltip === 'string' ? tooltip : 'Settings Icon'
51
- }),
60
+ })),
52
61
  id: id,
53
62
  isDisabled: isDisabled,
54
63
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,3 +1,4 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -5,12 +6,19 @@ Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.SignIn = void 0;
9
+ require("./index.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
8
11
  var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
9
12
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
10
13
  var _react = _interopRequireDefault(require("react"));
11
14
  var _logIn = _interopRequireDefault(require("@atlaskit/icon/core/log-in"));
15
+ var _compiled = require("@atlaskit/primitives/compiled");
12
16
  var _IconButton = require("../IconButton");
13
17
  var _excluded = ["component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
18
+ var iconSpacingStyles = {
19
+ space050: "_1rjc1b66 _18zr1b66"
20
+ };
21
+
14
22
  /**
15
23
  * __Sign in__
16
24
  *
@@ -42,11 +50,12 @@ var SignIn = exports.SignIn = function SignIn(props) {
42
50
  }, /*#__PURE__*/_react.default.createElement(_IconButton.IconButton, (0, _extends2.default)({
43
51
  component: component,
44
52
  href: href,
45
- icon: /*#__PURE__*/_react.default.createElement(_logIn.default, {
53
+ icon: /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
54
+ xcss: iconSpacingStyles.space050
55
+ }, /*#__PURE__*/_react.default.createElement(_logIn.default, {
46
56
  color: "currentColor",
47
- spacing: "spacious",
48
57
  label: typeof tooltip === 'string' ? tooltip : 'Sign-in Icon'
49
- }),
58
+ })),
50
59
  id: id,
51
60
  isDisabled: isDisabled,
52
61
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,3 +1,4 @@
1
+ /* skeleton-help-button.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -5,9 +6,15 @@ Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.SkeletonHelpButton = exports.Nav4SkeletonHelpButton = void 0;
9
+ require("./skeleton-help-button.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
8
11
  var _react = _interopRequireDefault(require("react"));
9
12
  var _questionCircle = _interopRequireDefault(require("@atlaskit/icon/core/question-circle"));
13
+ var _compiled = require("@atlaskit/primitives/compiled");
10
14
  var _SkeletonIconButton = require("./components/SkeletonIconButton");
15
+ var iconSpacingStyles = {
16
+ space050: "_1rjc1b66 _18zr1b66"
17
+ };
11
18
  /**
12
19
  * __Skeleton notification button__
13
20
  *
@@ -35,9 +42,10 @@ var SkeletonHelpButton = exports.SkeletonHelpButton = function SkeletonHelpButto
35
42
  var Nav4SkeletonHelpButton = exports.Nav4SkeletonHelpButton = function Nav4SkeletonHelpButton(_ref2) {
36
43
  var _ref2$label = _ref2.label,
37
44
  label = _ref2$label === void 0 ? '' : _ref2$label;
38
- return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_questionCircle.default, {
45
+ return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
46
+ xcss: iconSpacingStyles.space050
47
+ }, /*#__PURE__*/_react.default.createElement(_questionCircle.default, {
39
48
  label: label,
40
- spacing: "spacious",
41
49
  color: "var(--ds-icon, #292A2E)"
42
- }));
50
+ })));
43
51
  };
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,3 +1,4 @@
1
+ /* skeleton-notification-button.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -5,9 +6,15 @@ Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.SkeletonNotificationButton = exports.Nav4SkeletonNotificationButton = void 0;
9
+ require("./skeleton-notification-button.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
8
11
  var _react = _interopRequireDefault(require("react"));
9
12
  var _notification = _interopRequireDefault(require("@atlaskit/icon/core/notification"));
13
+ var _compiled = require("@atlaskit/primitives/compiled");
10
14
  var _SkeletonIconButton = require("./components/SkeletonIconButton");
15
+ var iconSpacingStyles = {
16
+ space050: "_1rjc1b66 _18zr1b66"
17
+ };
11
18
  /**
12
19
  * __Skeleton notification button__
13
20
  *
@@ -21,11 +28,12 @@ var _SkeletonIconButton = require("./components/SkeletonIconButton");
21
28
  var SkeletonNotificationButton = exports.SkeletonNotificationButton = function SkeletonNotificationButton(_ref) {
22
29
  var _ref$label = _ref.label,
23
30
  label = _ref$label === void 0 ? '' : _ref$label;
24
- return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_notification.default, {
31
+ return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
32
+ xcss: iconSpacingStyles.space050
33
+ }, /*#__PURE__*/_react.default.createElement(_notification.default, {
25
34
  color: "currentColor",
26
- spacing: "spacious",
27
35
  label: label
28
- }));
36
+ })));
29
37
  };
30
38
 
31
39
  /**
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,3 +1,4 @@
1
+ /* skeleton-settings-button.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  "use strict";
2
3
 
3
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -5,9 +6,15 @@ Object.defineProperty(exports, "__esModule", {
5
6
  value: true
6
7
  });
7
8
  exports.SkeletonSettingsButton = exports.Nav4SkeletonSettingsButton = void 0;
9
+ require("./skeleton-settings-button.compiled.css");
10
+ var _runtime = require("@compiled/react/runtime");
8
11
  var _react = _interopRequireDefault(require("react"));
9
12
  var _settings = _interopRequireDefault(require("@atlaskit/icon/core/settings"));
13
+ var _compiled = require("@atlaskit/primitives/compiled");
10
14
  var _SkeletonIconButton = require("./components/SkeletonIconButton");
15
+ var iconSpacingStyles = {
16
+ space050: "_1rjc1b66 _18zr1b66"
17
+ };
11
18
  /**
12
19
  * __Skeleton settings button__
13
20
  *
@@ -21,11 +28,12 @@ var _SkeletonIconButton = require("./components/SkeletonIconButton");
21
28
  var SkeletonSettingsButton = exports.SkeletonSettingsButton = function SkeletonSettingsButton(_ref) {
22
29
  var _ref$label = _ref.label,
23
30
  label = _ref$label === void 0 ? '' : _ref$label;
24
- return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_settings.default, {
31
+ return /*#__PURE__*/_react.default.createElement(_SkeletonIconButton.SkeletonIconButton, null, /*#__PURE__*/_react.default.createElement(_compiled.Flex, {
32
+ xcss: iconSpacingStyles.space050
33
+ }, /*#__PURE__*/_react.default.createElement(_settings.default, {
25
34
  color: "currentColor",
26
- spacing: "spacious",
27
35
  label: label
28
- }));
36
+ })));
29
37
  };
30
38
 
31
39
  /**
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,7 +1,15 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
3
+ import "./index.compiled.css";
4
+ import { ax, ix } from "@compiled/react/runtime";
2
5
  import React, { forwardRef } from 'react';
3
6
  import AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
7
+ import { Flex } from '@atlaskit/primitives/compiled';
4
8
  import { IconButton } from '../IconButton';
9
+ const iconSpacingStyles = {
10
+ space050: "_1rjc1b66 _18zr1b66"
11
+ };
12
+
5
13
  /**
6
14
  * _App switcher__
7
15
  *
@@ -34,11 +42,12 @@ export const AppSwitcher = /*#__PURE__*/forwardRef((props, ref) => {
34
42
  return /*#__PURE__*/React.createElement(IconButton, _extends({
35
43
  component: component,
36
44
  href: href,
37
- icon: /*#__PURE__*/React.createElement(AppSwitcherIcon, {
45
+ icon: /*#__PURE__*/React.createElement(Flex, {
46
+ xcss: iconSpacingStyles.space050
47
+ }, /*#__PURE__*/React.createElement(AppSwitcherIcon, {
38
48
  color: "currentColor",
39
- spacing: "spacious",
40
49
  label: typeof tooltip === 'string' ? tooltip : 'Switch apps'
41
- }),
50
+ })),
42
51
  id: id,
43
52
  isDisabled: isDisabled,
44
53
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,8 +1,15 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
3
+ import "./index.compiled.css";
4
+ import { ax, ix } from "@compiled/react/runtime";
2
5
  import React, { forwardRef } from 'react';
3
6
  import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
7
+ import { Flex } from '@atlaskit/primitives/compiled';
4
8
  import { BadgeContainer } from '../BadgeContainer';
5
9
  import { IconButton } from '../IconButton';
10
+ const iconSpacingStyles = {
11
+ space050: "_1rjc1b66 _18zr1b66"
12
+ };
6
13
  const HELP_NOTIFICATION_BADGE_ID = 'atlassian-navigation-help-notification-count';
7
14
 
8
15
  /**
@@ -37,11 +44,12 @@ export const Help = /*#__PURE__*/forwardRef((props, ref) => {
37
44
  const button = /*#__PURE__*/React.createElement(IconButton, _extends({
38
45
  component: component,
39
46
  href: href,
40
- icon: /*#__PURE__*/React.createElement(QuestionCircleIcon, {
47
+ icon: /*#__PURE__*/React.createElement(Flex, {
48
+ xcss: iconSpacingStyles.space050
49
+ }, /*#__PURE__*/React.createElement(QuestionCircleIcon, {
41
50
  label: typeof tooltip === 'string' ? tooltip : 'Help Icon',
42
- color: "currentColor",
43
- spacing: "spacious"
44
- }),
51
+ color: "currentColor"
52
+ })),
45
53
  id: id,
46
54
  isDisabled: isDisabled,
47
55
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,8 +1,15 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
3
+ import "./index.compiled.css";
4
+ import { ax, ix } from "@compiled/react/runtime";
2
5
  import React, { forwardRef } from 'react';
3
6
  import NotificationIcon from '@atlaskit/icon/core/notification';
7
+ import { Flex } from '@atlaskit/primitives/compiled';
4
8
  import { BadgeContainer } from '../BadgeContainer';
5
9
  import { IconButton } from '../IconButton';
10
+ const iconSpacingStyles = {
11
+ space050: "_1rjc1b66 _18zr1b66"
12
+ };
6
13
  const NOTIFICATIONS_BADGE_ID = 'atlassian-navigation-notification-count';
7
14
 
8
15
  /**
@@ -43,11 +50,12 @@ export const Notifications = /*#__PURE__*/forwardRef((props, ref) => {
43
50
  "aria-describedby": NOTIFICATIONS_BADGE_ID,
44
51
  component: component,
45
52
  href: href,
46
- icon: /*#__PURE__*/React.createElement(NotificationIcon, {
47
- spacing: "spacious",
53
+ icon: /*#__PURE__*/React.createElement(Flex, {
54
+ xcss: iconSpacingStyles.space050
55
+ }, /*#__PURE__*/React.createElement(NotificationIcon, {
48
56
  color: "currentColor",
49
57
  label: typeof tooltip === 'string' ? tooltip : 'Notification Icon'
50
- }),
58
+ })),
51
59
  id: id,
52
60
  isDisabled: isDisabled,
53
61
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,7 +1,15 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
3
+ import "./index.compiled.css";
4
+ import { ax, ix } from "@compiled/react/runtime";
2
5
  import React, { forwardRef } from 'react';
3
6
  import SettingsIcon from '@atlaskit/icon/core/settings';
7
+ import { Flex } from '@atlaskit/primitives/compiled';
4
8
  import { IconButton } from '../IconButton';
9
+ const iconSpacingStyles = {
10
+ space050: "_1rjc1b66 _18zr1b66"
11
+ };
12
+
5
13
  /**
6
14
  * __Settings__
7
15
  *
@@ -35,11 +43,12 @@ export const Settings = /*#__PURE__*/forwardRef((props, ref) => {
35
43
  }, /*#__PURE__*/React.createElement(IconButton, _extends({
36
44
  component: component,
37
45
  href: href,
38
- icon: /*#__PURE__*/React.createElement(SettingsIcon, {
46
+ icon: /*#__PURE__*/React.createElement(Flex, {
47
+ xcss: iconSpacingStyles.space050
48
+ }, /*#__PURE__*/React.createElement(SettingsIcon, {
39
49
  color: "currentColor",
40
- spacing: "spacious",
41
50
  label: typeof tooltip === 'string' ? tooltip : 'Settings Icon'
42
- }),
51
+ })),
43
52
  id: id,
44
53
  isDisabled: isDisabled,
45
54
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,7 +1,15 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
3
+ import "./index.compiled.css";
4
+ import { ax, ix } from "@compiled/react/runtime";
2
5
  import React from 'react';
3
6
  import LogInIcon from '@atlaskit/icon/core/log-in';
7
+ import { Flex } from '@atlaskit/primitives/compiled';
4
8
  import { IconButton } from '../IconButton';
9
+ const iconSpacingStyles = {
10
+ space050: "_1rjc1b66 _18zr1b66"
11
+ };
12
+
5
13
  /**
6
14
  * __Sign in__
7
15
  *
@@ -35,11 +43,12 @@ export const SignIn = props => {
35
43
  }, /*#__PURE__*/React.createElement(IconButton, _extends({
36
44
  component: component,
37
45
  href: href,
38
- icon: /*#__PURE__*/React.createElement(LogInIcon, {
46
+ icon: /*#__PURE__*/React.createElement(Flex, {
47
+ xcss: iconSpacingStyles.space050
48
+ }, /*#__PURE__*/React.createElement(LogInIcon, {
39
49
  color: "currentColor",
40
- spacing: "spacious",
41
50
  label: typeof tooltip === 'string' ? tooltip : 'Sign-in Icon'
42
- }),
51
+ })),
43
52
  id: id,
44
53
  isDisabled: isDisabled,
45
54
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,6 +1,13 @@
1
+ /* skeleton-help-button.tsx generated by @compiled/babel-plugin v0.39.1 */
2
+ import "./skeleton-help-button.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
1
4
  import React from 'react';
2
5
  import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
6
+ import { Flex } from '@atlaskit/primitives/compiled';
3
7
  import { SkeletonIconButton } from './components/SkeletonIconButton';
8
+ const iconSpacingStyles = {
9
+ space050: "_1rjc1b66 _18zr1b66"
10
+ };
4
11
  /**
5
12
  * __Skeleton notification button__
6
13
  *
@@ -27,8 +34,9 @@ export const SkeletonHelpButton = ({
27
34
  */
28
35
  export const Nav4SkeletonHelpButton = ({
29
36
  label = ''
30
- }) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(QuestionCircleIcon, {
37
+ }) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Flex, {
38
+ xcss: iconSpacingStyles.space050
39
+ }, /*#__PURE__*/React.createElement(QuestionCircleIcon, {
31
40
  label: label,
32
- spacing: "spacious",
33
41
  color: "var(--ds-icon, #292A2E)"
34
- }));
42
+ })));
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,6 +1,13 @@
1
+ /* skeleton-notification-button.tsx generated by @compiled/babel-plugin v0.39.1 */
2
+ import "./skeleton-notification-button.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
1
4
  import React from 'react';
2
5
  import NotificationIcon from '@atlaskit/icon/core/notification';
6
+ import { Flex } from '@atlaskit/primitives/compiled';
3
7
  import { SkeletonIconButton } from './components/SkeletonIconButton';
8
+ const iconSpacingStyles = {
9
+ space050: "_1rjc1b66 _18zr1b66"
10
+ };
4
11
  /**
5
12
  * __Skeleton notification button__
6
13
  *
@@ -13,11 +20,12 @@ import { SkeletonIconButton } from './components/SkeletonIconButton';
13
20
  */
14
21
  export const SkeletonNotificationButton = ({
15
22
  label = ''
16
- }) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(NotificationIcon, {
23
+ }) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Flex, {
24
+ xcss: iconSpacingStyles.space050
25
+ }, /*#__PURE__*/React.createElement(NotificationIcon, {
17
26
  color: "currentColor",
18
- spacing: "spacious",
19
27
  label: label
20
- }));
28
+ })));
21
29
 
22
30
  /**
23
31
  * __Nav 4 skeleton notification button__
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,6 +1,13 @@
1
+ /* skeleton-settings-button.tsx generated by @compiled/babel-plugin v0.39.1 */
2
+ import "./skeleton-settings-button.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
1
4
  import React from 'react';
2
5
  import SettingsIcon from '@atlaskit/icon/core/settings';
6
+ import { Flex } from '@atlaskit/primitives/compiled';
3
7
  import { SkeletonIconButton } from './components/SkeletonIconButton';
8
+ const iconSpacingStyles = {
9
+ space050: "_1rjc1b66 _18zr1b66"
10
+ };
4
11
  /**
5
12
  * __Skeleton settings button__
6
13
  *
@@ -13,11 +20,12 @@ import { SkeletonIconButton } from './components/SkeletonIconButton';
13
20
  */
14
21
  export const SkeletonSettingsButton = ({
15
22
  label = ''
16
- }) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(SettingsIcon, {
23
+ }) => /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Flex, {
24
+ xcss: iconSpacingStyles.space050
25
+ }, /*#__PURE__*/React.createElement(SettingsIcon, {
17
26
  color: "currentColor",
18
- spacing: "spacious",
19
27
  label: label
20
- }));
28
+ })));
21
29
 
22
30
  /**
23
31
  * __Nav 4 skeleton settings button__
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,10 +1,18 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
2
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
4
  var _excluded = ["component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"],
4
5
  _excluded2 = ["component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
6
+ import "./index.compiled.css";
7
+ import { ax, ix } from "@compiled/react/runtime";
5
8
  import React, { forwardRef } from 'react';
6
9
  import AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
10
+ import { Flex } from '@atlaskit/primitives/compiled';
7
11
  import { IconButton } from '../IconButton';
12
+ var iconSpacingStyles = {
13
+ space050: "_1rjc1b66 _18zr1b66"
14
+ };
15
+
8
16
  /**
9
17
  * _App switcher__
10
18
  *
@@ -35,11 +43,12 @@ export var AppSwitcher = /*#__PURE__*/forwardRef(function (props, ref) {
35
43
  return /*#__PURE__*/React.createElement(IconButton, _extends({
36
44
  component: component,
37
45
  href: href,
38
- icon: /*#__PURE__*/React.createElement(AppSwitcherIcon, {
46
+ icon: /*#__PURE__*/React.createElement(Flex, {
47
+ xcss: iconSpacingStyles.space050
48
+ }, /*#__PURE__*/React.createElement(AppSwitcherIcon, {
39
49
  color: "currentColor",
40
- spacing: "spacious",
41
50
  label: typeof tooltip === 'string' ? tooltip : 'Switch apps'
42
- }),
51
+ })),
43
52
  id: id,
44
53
  isDisabled: isDisabled,
45
54
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,10 +1,17 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
2
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
4
  var _excluded = ["badge", "component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
5
+ import "./index.compiled.css";
6
+ import { ax, ix } from "@compiled/react/runtime";
4
7
  import React, { forwardRef } from 'react';
5
8
  import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
9
+ import { Flex } from '@atlaskit/primitives/compiled';
6
10
  import { BadgeContainer } from '../BadgeContainer';
7
11
  import { IconButton } from '../IconButton';
12
+ var iconSpacingStyles = {
13
+ space050: "_1rjc1b66 _18zr1b66"
14
+ };
8
15
  var HELP_NOTIFICATION_BADGE_ID = 'atlassian-navigation-help-notification-count';
9
16
 
10
17
  /**
@@ -37,11 +44,12 @@ export var Help = /*#__PURE__*/forwardRef(function (props, ref) {
37
44
  var button = /*#__PURE__*/React.createElement(IconButton, _extends({
38
45
  component: component,
39
46
  href: href,
40
- icon: /*#__PURE__*/React.createElement(QuestionCircleIcon, {
47
+ icon: /*#__PURE__*/React.createElement(Flex, {
48
+ xcss: iconSpacingStyles.space050
49
+ }, /*#__PURE__*/React.createElement(QuestionCircleIcon, {
41
50
  label: typeof tooltip === 'string' ? tooltip : 'Help Icon',
42
- color: "currentColor",
43
- spacing: "spacious"
44
- }),
51
+ color: "currentColor"
52
+ })),
45
53
  id: id,
46
54
  isDisabled: isDisabled,
47
55
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,10 +1,17 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
2
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
4
  var _excluded = ["badge", "component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
5
+ import "./index.compiled.css";
6
+ import { ax, ix } from "@compiled/react/runtime";
4
7
  import React, { forwardRef } from 'react';
5
8
  import NotificationIcon from '@atlaskit/icon/core/notification';
9
+ import { Flex } from '@atlaskit/primitives/compiled';
6
10
  import { BadgeContainer } from '../BadgeContainer';
7
11
  import { IconButton } from '../IconButton';
12
+ var iconSpacingStyles = {
13
+ space050: "_1rjc1b66 _18zr1b66"
14
+ };
8
15
  var NOTIFICATIONS_BADGE_ID = 'atlassian-navigation-notification-count';
9
16
 
10
17
  /**
@@ -43,11 +50,12 @@ export var Notifications = /*#__PURE__*/forwardRef(function (props, ref) {
43
50
  "aria-describedby": NOTIFICATIONS_BADGE_ID,
44
51
  component: component,
45
52
  href: href,
46
- icon: /*#__PURE__*/React.createElement(NotificationIcon, {
47
- spacing: "spacious",
53
+ icon: /*#__PURE__*/React.createElement(Flex, {
54
+ xcss: iconSpacingStyles.space050
55
+ }, /*#__PURE__*/React.createElement(NotificationIcon, {
48
56
  color: "currentColor",
49
57
  label: typeof tooltip === 'string' ? tooltip : 'Notification Icon'
50
- }),
58
+ })),
51
59
  id: id,
52
60
  isDisabled: isDisabled,
53
61
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,9 +1,17 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
2
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
4
  var _excluded = ["component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
5
+ import "./index.compiled.css";
6
+ import { ax, ix } from "@compiled/react/runtime";
4
7
  import React, { forwardRef } from 'react';
5
8
  import SettingsIcon from '@atlaskit/icon/core/settings';
9
+ import { Flex } from '@atlaskit/primitives/compiled';
6
10
  import { IconButton } from '../IconButton';
11
+ var iconSpacingStyles = {
12
+ space050: "_1rjc1b66 _18zr1b66"
13
+ };
14
+
7
15
  /**
8
16
  * __Settings__
9
17
  *
@@ -35,11 +43,12 @@ export var Settings = /*#__PURE__*/forwardRef(function (props, ref) {
35
43
  }, /*#__PURE__*/React.createElement(IconButton, _extends({
36
44
  component: component,
37
45
  href: href,
38
- icon: /*#__PURE__*/React.createElement(SettingsIcon, {
46
+ icon: /*#__PURE__*/React.createElement(Flex, {
47
+ xcss: iconSpacingStyles.space050
48
+ }, /*#__PURE__*/React.createElement(SettingsIcon, {
39
49
  color: "currentColor",
40
- spacing: "spacious",
41
50
  label: typeof tooltip === 'string' ? tooltip : 'Settings Icon'
42
- }),
51
+ })),
43
52
  id: id,
44
53
  isDisabled: isDisabled,
45
54
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,9 +1,17 @@
1
+ /* index.tsx generated by @compiled/babel-plugin v0.39.1 */
1
2
  import _extends from "@babel/runtime/helpers/extends";
2
3
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
3
4
  var _excluded = ["component", "href", "id", "isDisabled", "isSelected", "label", "onBlur", "onClick", "onFocus", "onMouseDown", "onMouseEnter", "onMouseLeave", "onMouseUp", "target", "testId", "tooltip"];
5
+ import "./index.compiled.css";
6
+ import { ax, ix } from "@compiled/react/runtime";
4
7
  import React from 'react';
5
8
  import LogInIcon from '@atlaskit/icon/core/log-in';
9
+ import { Flex } from '@atlaskit/primitives/compiled';
6
10
  import { IconButton } from '../IconButton';
11
+ var iconSpacingStyles = {
12
+ space050: "_1rjc1b66 _18zr1b66"
13
+ };
14
+
7
15
  /**
8
16
  * __Sign in__
9
17
  *
@@ -35,11 +43,12 @@ export var SignIn = function SignIn(props) {
35
43
  }, /*#__PURE__*/React.createElement(IconButton, _extends({
36
44
  component: component,
37
45
  href: href,
38
- icon: /*#__PURE__*/React.createElement(LogInIcon, {
46
+ icon: /*#__PURE__*/React.createElement(Flex, {
47
+ xcss: iconSpacingStyles.space050
48
+ }, /*#__PURE__*/React.createElement(LogInIcon, {
39
49
  color: "currentColor",
40
- spacing: "spacious",
41
50
  label: typeof tooltip === 'string' ? tooltip : 'Sign-in Icon'
42
- }),
51
+ })),
43
52
  id: id,
44
53
  isDisabled: isDisabled,
45
54
  isSelected: isSelected,
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,6 +1,13 @@
1
+ /* skeleton-help-button.tsx generated by @compiled/babel-plugin v0.39.1 */
2
+ import "./skeleton-help-button.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
1
4
  import React from 'react';
2
5
  import QuestionCircleIcon from '@atlaskit/icon/core/question-circle';
6
+ import { Flex } from '@atlaskit/primitives/compiled';
3
7
  import { SkeletonIconButton } from './components/SkeletonIconButton';
8
+ var iconSpacingStyles = {
9
+ space050: "_1rjc1b66 _18zr1b66"
10
+ };
4
11
  /**
5
12
  * __Skeleton notification button__
6
13
  *
@@ -28,9 +35,10 @@ export var SkeletonHelpButton = function SkeletonHelpButton(_ref) {
28
35
  export var Nav4SkeletonHelpButton = function Nav4SkeletonHelpButton(_ref2) {
29
36
  var _ref2$label = _ref2.label,
30
37
  label = _ref2$label === void 0 ? '' : _ref2$label;
31
- return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(QuestionCircleIcon, {
38
+ return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Flex, {
39
+ xcss: iconSpacingStyles.space050
40
+ }, /*#__PURE__*/React.createElement(QuestionCircleIcon, {
32
41
  label: label,
33
- spacing: "spacious",
34
42
  color: "var(--ds-icon, #292A2E)"
35
- }));
43
+ })));
36
44
  };
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,6 +1,13 @@
1
+ /* skeleton-notification-button.tsx generated by @compiled/babel-plugin v0.39.1 */
2
+ import "./skeleton-notification-button.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
1
4
  import React from 'react';
2
5
  import NotificationIcon from '@atlaskit/icon/core/notification';
6
+ import { Flex } from '@atlaskit/primitives/compiled';
3
7
  import { SkeletonIconButton } from './components/SkeletonIconButton';
8
+ var iconSpacingStyles = {
9
+ space050: "_1rjc1b66 _18zr1b66"
10
+ };
4
11
  /**
5
12
  * __Skeleton notification button__
6
13
  *
@@ -14,11 +21,12 @@ import { SkeletonIconButton } from './components/SkeletonIconButton';
14
21
  export var SkeletonNotificationButton = function SkeletonNotificationButton(_ref) {
15
22
  var _ref$label = _ref.label,
16
23
  label = _ref$label === void 0 ? '' : _ref$label;
17
- return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(NotificationIcon, {
24
+ return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Flex, {
25
+ xcss: iconSpacingStyles.space050
26
+ }, /*#__PURE__*/React.createElement(NotificationIcon, {
18
27
  color: "currentColor",
19
- spacing: "spacious",
20
28
  label: label
21
- }));
29
+ })));
22
30
  };
23
31
 
24
32
  /**
@@ -0,0 +1,2 @@
1
+ ._18zr1b66{padding-inline:var(--ds-space-050,4px)}
2
+ ._1rjc1b66{padding-block:var(--ds-space-050,4px)}
@@ -1,6 +1,13 @@
1
+ /* skeleton-settings-button.tsx generated by @compiled/babel-plugin v0.39.1 */
2
+ import "./skeleton-settings-button.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
1
4
  import React from 'react';
2
5
  import SettingsIcon from '@atlaskit/icon/core/settings';
6
+ import { Flex } from '@atlaskit/primitives/compiled';
3
7
  import { SkeletonIconButton } from './components/SkeletonIconButton';
8
+ var iconSpacingStyles = {
9
+ space050: "_1rjc1b66 _18zr1b66"
10
+ };
4
11
  /**
5
12
  * __Skeleton settings button__
6
13
  *
@@ -14,11 +21,12 @@ import { SkeletonIconButton } from './components/SkeletonIconButton';
14
21
  export var SkeletonSettingsButton = function SkeletonSettingsButton(_ref) {
15
22
  var _ref$label = _ref.label,
16
23
  label = _ref$label === void 0 ? '' : _ref$label;
17
- return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(SettingsIcon, {
24
+ return /*#__PURE__*/React.createElement(SkeletonIconButton, null, /*#__PURE__*/React.createElement(Flex, {
25
+ xcss: iconSpacingStyles.space050
26
+ }, /*#__PURE__*/React.createElement(SettingsIcon, {
18
27
  color: "currentColor",
19
- spacing: "spacious",
20
28
  label: label
21
- }));
29
+ })));
22
30
  };
23
31
 
24
32
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "5.6.11",
3
+ "version": "5.6.12",
4
4
  "description": "A horizontal navigation component for Atlassian apps.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -38,14 +38,15 @@
38
38
  "dependencies": {
39
39
  "@atlaskit/analytics-namespaced-context": "^7.2.0",
40
40
  "@atlaskit/button": "^23.10.0",
41
+ "@atlaskit/css": "0.19.2",
41
42
  "@atlaskit/ds-lib": "^6.0.0",
42
43
  "@atlaskit/icon": "^33.1.0",
43
44
  "@atlaskit/logo": "^19.10.0",
44
- "@atlaskit/popup": "^4.14.0",
45
+ "@atlaskit/popup": "^4.16.0",
45
46
  "@atlaskit/primitives": "^18.1.0",
46
47
  "@atlaskit/theme": "^22.0.0",
47
48
  "@atlaskit/tokens": "^11.4.0",
48
- "@atlaskit/tooltip": "^21.0.0",
49
+ "@atlaskit/tooltip": "^21.1.0",
49
50
  "@atlaskit/width-detector": "^5.0.0",
50
51
  "@babel/runtime": "^7.0.0",
51
52
  "@emotion/react": "^11.7.1",