@atlaskit/atlassian-navigation 5.6.10 → 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 (71) hide show
  1. package/CHANGELOG.md +16 -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/AtlassianNavigation/index.js +1 -2
  8. package/dist/cjs/components/AtlassianNavigation/skeleton.js +1 -2
  9. package/dist/cjs/components/Help/index.compiled.css +2 -0
  10. package/dist/cjs/components/Help/index.js +12 -4
  11. package/dist/cjs/components/Notifications/index.compiled.css +2 -0
  12. package/dist/cjs/components/Notifications/index.js +11 -3
  13. package/dist/cjs/components/PrimaryItemsContainer/index.js +1 -2
  14. package/dist/cjs/components/ProductHome/custom-product-home.js +1 -2
  15. package/dist/cjs/components/ProductHome/product-home.js +2 -3
  16. package/dist/cjs/components/Settings/index.compiled.css +2 -0
  17. package/dist/cjs/components/Settings/index.js +12 -3
  18. package/dist/cjs/components/SignIn/index.compiled.css +2 -0
  19. package/dist/cjs/components/SignIn/index.js +12 -3
  20. package/dist/cjs/skeleton-help-button.compiled.css +2 -0
  21. package/dist/cjs/skeleton-help-button.js +11 -3
  22. package/dist/cjs/skeleton-notification-button.compiled.css +2 -0
  23. package/dist/cjs/skeleton-notification-button.js +11 -3
  24. package/dist/cjs/skeleton-settings-button.compiled.css +2 -0
  25. package/dist/cjs/skeleton-settings-button.js +11 -3
  26. package/dist/cjs/theme/default-theme.js +41 -43
  27. package/dist/es2019/components/AppSwitcher/index.compiled.css +2 -0
  28. package/dist/es2019/components/AppSwitcher/index.js +12 -3
  29. package/dist/es2019/components/AtlassianNavigation/index.js +1 -2
  30. package/dist/es2019/components/AtlassianNavigation/skeleton.js +1 -2
  31. package/dist/es2019/components/Help/index.compiled.css +2 -0
  32. package/dist/es2019/components/Help/index.js +12 -4
  33. package/dist/es2019/components/Notifications/index.compiled.css +2 -0
  34. package/dist/es2019/components/Notifications/index.js +11 -3
  35. package/dist/es2019/components/PrimaryItemsContainer/index.js +1 -2
  36. package/dist/es2019/components/ProductHome/custom-product-home.js +1 -2
  37. package/dist/es2019/components/ProductHome/product-home.js +2 -3
  38. package/dist/es2019/components/Settings/index.compiled.css +2 -0
  39. package/dist/es2019/components/Settings/index.js +12 -3
  40. package/dist/es2019/components/SignIn/index.compiled.css +2 -0
  41. package/dist/es2019/components/SignIn/index.js +12 -3
  42. package/dist/es2019/skeleton-help-button.compiled.css +2 -0
  43. package/dist/es2019/skeleton-help-button.js +11 -3
  44. package/dist/es2019/skeleton-notification-button.compiled.css +2 -0
  45. package/dist/es2019/skeleton-notification-button.js +11 -3
  46. package/dist/es2019/skeleton-settings-button.compiled.css +2 -0
  47. package/dist/es2019/skeleton-settings-button.js +11 -3
  48. package/dist/es2019/theme/default-theme.js +41 -43
  49. package/dist/esm/components/AppSwitcher/index.compiled.css +2 -0
  50. package/dist/esm/components/AppSwitcher/index.js +12 -3
  51. package/dist/esm/components/AtlassianNavigation/index.js +1 -2
  52. package/dist/esm/components/AtlassianNavigation/skeleton.js +1 -2
  53. package/dist/esm/components/Help/index.compiled.css +2 -0
  54. package/dist/esm/components/Help/index.js +12 -4
  55. package/dist/esm/components/Notifications/index.compiled.css +2 -0
  56. package/dist/esm/components/Notifications/index.js +11 -3
  57. package/dist/esm/components/PrimaryItemsContainer/index.js +1 -2
  58. package/dist/esm/components/ProductHome/custom-product-home.js +1 -2
  59. package/dist/esm/components/ProductHome/product-home.js +2 -3
  60. package/dist/esm/components/Settings/index.compiled.css +2 -0
  61. package/dist/esm/components/Settings/index.js +12 -3
  62. package/dist/esm/components/SignIn/index.compiled.css +2 -0
  63. package/dist/esm/components/SignIn/index.js +12 -3
  64. package/dist/esm/skeleton-help-button.compiled.css +2 -0
  65. package/dist/esm/skeleton-help-button.js +11 -3
  66. package/dist/esm/skeleton-notification-button.compiled.css +2 -0
  67. package/dist/esm/skeleton-notification-button.js +11 -3
  68. package/dist/esm/skeleton-settings-button.compiled.css +2 -0
  69. package/dist/esm/skeleton-settings-button.js +11 -3
  70. package/dist/esm/theme/default-theme.js +41 -43
  71. package/package.json +4 -3
@@ -4,29 +4,27 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.defaultThemeBrandRefresh = exports.default = exports.DEFAULT_THEME_NAME = void 0;
7
- var _colors = require("@atlaskit/theme/colors");
8
- var _themeHelpers = require("./theme-helpers");
9
7
  var defaultTheme = {
10
8
  mode: {
11
9
  create: {
12
10
  active: {
13
- color: "var(--ds-text-inverse, ".concat(_colors.N0, ")"),
14
- backgroundColor: "var(--ds-background-brand-bold-pressed, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B400, 0.8), ")"),
11
+ color: "var(--ds-text-inverse, #FFFFFF)",
12
+ backgroundColor: "var(--ds-background-brand-bold-pressed, #144794)",
15
13
  boxShadow: ''
16
14
  },
17
15
  default: {
18
- color: "var(--ds-text-inverse, ".concat(_colors.N0, ")"),
19
- backgroundColor: "var(--ds-background-brand-bold, ".concat(_colors.B400, ")"),
16
+ color: "var(--ds-text-inverse, #FFFFFF)",
17
+ backgroundColor: "var(--ds-background-brand-bold, #1868DB)",
20
18
  boxShadow: ''
21
19
  },
22
20
  focus: {
23
- color: "var(--ds-text-inverse, ".concat(_colors.N0, ")"),
21
+ color: "var(--ds-text-inverse, #FFFFFF)",
24
22
  backgroundColor: '',
25
23
  boxShadow: ''
26
24
  },
27
25
  hover: {
28
- color: "var(--ds-text-inverse, ".concat(_colors.N0, ")"),
29
- backgroundColor: "var(--ds-background-brand-bold-hovered, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B400, 0.9), ")"),
26
+ color: "var(--ds-text-inverse, #FFFFFF)",
27
+ backgroundColor: "var(--ds-background-brand-bold-hovered, #1558BC)",
30
28
  boxShadow: ''
31
29
  },
32
30
  selected: {
@@ -37,97 +35,97 @@ var defaultTheme = {
37
35
  },
38
36
  iconButton: {
39
37
  active: {
40
- color: "var(--ds-text-subtle, ".concat(_colors.B400, ")"),
41
- backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.6), ")"),
38
+ color: "var(--ds-text-subtle, #505258)",
39
+ backgroundColor: "var(--ds-background-neutral-subtle-pressed, #0B120E24)",
42
40
  boxShadow: ''
43
41
  },
44
42
  default: {
45
- color: "var(--ds-text-subtle, ".concat(_colors.N600, ")"),
43
+ color: "var(--ds-text-subtle, #505258)",
46
44
  backgroundColor: 'transparent',
47
45
  boxShadow: ''
48
46
  },
49
47
  focus: {
50
- color: "var(--ds-text-subtle, ".concat(_colors.N600, ")"),
48
+ color: "var(--ds-text-subtle, #505258)",
51
49
  backgroundColor: '',
52
50
  boxShadow: ''
53
51
  },
54
52
  hover: {
55
- color: "var(--ds-text-subtle, ".concat(_colors.B400, ")"),
56
- backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.9), ")"),
53
+ color: "var(--ds-text-subtle, #505258)",
54
+ backgroundColor: "var(--ds-background-neutral-subtle-hovered, #0515240F)",
57
55
  boxShadow: ''
58
56
  },
59
57
  selected: {
60
- color: "var(--ds-text-selected, ".concat(_colors.B400, ")"),
61
- backgroundColor: "var(--ds-background-selected, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.6), ")"),
58
+ color: "var(--ds-text-selected, #1868DB)",
59
+ backgroundColor: "var(--ds-background-selected, #E9F2FE)",
62
60
  boxShadow: ''
63
61
  },
64
62
  selectedHover: {
65
- color: "var(--ds-text-selected, ".concat(_colors.B400, ")"),
66
- backgroundColor: "var(--ds-background-selected-hovered, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.6), ")"),
63
+ color: "var(--ds-text-selected, #1868DB)",
64
+ backgroundColor: "var(--ds-background-selected-hovered, #CFE1FD)",
67
65
  boxShadow: ''
68
66
  }
69
67
  },
70
68
  navigation: {
71
- backgroundColor: "var(--ds-surface, ".concat(_colors.N0, ")"),
72
- color: "var(--ds-text-subtlest, ".concat(_colors.N200, ")")
69
+ backgroundColor: "var(--ds-surface, #FFFFFF)",
70
+ color: "var(--ds-text-subtlest, #6B6E76)"
73
71
  },
74
72
  productHome: {
75
- backgroundColor: "var(--ds-text-brand, ".concat(_colors.B400, ")"),
76
- color: "var(--ds-text, ".concat(_colors.N700, ")"),
77
- borderRight: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat((0, _themeHelpers.hexToRGBA)(_colors.N200, 0.3), ")")),
73
+ backgroundColor: "var(--ds-text-brand, #1868DB)",
74
+ color: "var(--ds-text, #292A2E)",
75
+ borderRight: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, #0B120E24)"),
78
76
  // TODO: replace with token after brand refresh
79
77
  iconColor: '#357DE8',
80
- textColor: "var(--ds-text, ".concat(_colors.N700, ")")
78
+ textColor: "var(--ds-text, #292A2E)"
81
79
  },
82
80
  primaryButton: {
83
81
  active: {
84
- color: "var(--ds-text-subtle, ".concat(_colors.B400, ")"),
85
- backgroundColor: "var(--ds-background-neutral-subtle-pressed, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.7), ")"),
82
+ color: "var(--ds-text-subtle, #505258)",
83
+ backgroundColor: "var(--ds-background-neutral-subtle-pressed, #0B120E24)",
86
84
  boxShadow: ''
87
85
  },
88
86
  default: {
89
- color: "var(--ds-text-subtle, ".concat(_colors.N600, ")"),
87
+ color: "var(--ds-text-subtle, #505258)",
90
88
  backgroundColor: 'transparent',
91
89
  boxShadow: ''
92
90
  },
93
91
  focus: {
94
- color: "var(--ds-text-subtle, ".concat(_colors.N600, ")"),
92
+ color: "var(--ds-text-subtle, #505258)",
95
93
  backgroundColor: '',
96
94
  boxShadow: ''
97
95
  },
98
96
  hover: {
99
- color: "var(--ds-text-subtle, ".concat(_colors.B400, ")"),
100
- backgroundColor: "var(--ds-background-neutral-subtle-hovered, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.9), ")"),
97
+ color: "var(--ds-text-subtle, #505258)",
98
+ backgroundColor: "var(--ds-background-neutral-subtle-hovered, #0515240F)",
101
99
  boxShadow: ''
102
100
  },
103
101
  selected: {
104
- color: "var(--ds-text-selected, ".concat(_colors.B400, ")"),
105
- backgroundColor: "var(--ds-background-selected, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.7), ")"),
102
+ color: "var(--ds-text-selected, #1868DB)",
103
+ backgroundColor: "var(--ds-background-selected, #E9F2FE)",
106
104
  boxShadow: '',
107
- borderColor: "var(--ds-border-selected, ".concat(_colors.B400, ")")
105
+ borderColor: "var(--ds-border-selected, #1868DB)"
108
106
  },
109
107
  selectedHover: {
110
- color: "var(--ds-text-selected, ".concat(_colors.B400, ")"),
111
- backgroundColor: "var(--ds-background-selected-hovered, ".concat((0, _themeHelpers.hexToRGBA)(_colors.B50, 0.6), ")"),
108
+ color: "var(--ds-text-selected, #1868DB)",
109
+ backgroundColor: "var(--ds-background-selected-hovered, #CFE1FD)",
112
110
  boxShadow: '',
113
- borderColor: "var(--ds-border-selected, ".concat(_colors.B400, ")")
111
+ borderColor: "var(--ds-border-selected, #1868DB)"
114
112
  }
115
113
  },
116
114
  search: {
117
115
  default: {
118
- backgroundColor: "var(--ds-background-input, ".concat(_colors.N0, ")"),
119
- color: "var(--ds-text-subtlest, ".concat(_colors.N200, ")"),
120
- borderColor: "var(--ds-border-input, ".concat(_colors.N100, ")")
116
+ backgroundColor: "var(--ds-background-input, #FFFFFF)",
117
+ color: "var(--ds-text-subtlest, #6B6E76)",
118
+ borderColor: "var(--ds-border-input, #8C8F97)"
121
119
  },
122
120
  focus: {
123
- borderColor: "var(--ds-border-focused, ".concat(_colors.B200, ")")
121
+ borderColor: "var(--ds-border-focused, #4688EC)"
124
122
  },
125
123
  hover: {
126
- backgroundColor: "var(--ds-background-input-hovered, ".concat(_colors.N0, ")")
124
+ backgroundColor: "var(--ds-background-input-hovered, #F8F8F8)"
127
125
  }
128
126
  },
129
127
  skeleton: {
130
- backgroundColor: "var(--ds-background-neutral, ".concat(_colors.N20, ")"),
128
+ backgroundColor: "var(--ds-background-neutral, #0515240F)",
131
129
  opacity: 1
132
130
  }
133
131
  }
@@ -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,
@@ -8,7 +8,6 @@ import React from 'react';
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
10
10
  import { NavigationAnalyticsContext } from '@atlaskit/analytics-namespaced-context';
11
- import { N30 } from '@atlaskit/theme/colors';
12
11
  import { HORIZONTAL_GLOBAL_NAV_HEIGHT } from '../../common/constants';
13
12
  import { defaultTheme, ThemeProvider } from '../../theme';
14
13
  import { PrimaryItemsContainer } from '../PrimaryItemsContainer';
@@ -21,7 +20,7 @@ const containerStyles = css({
21
20
  alignItems: 'center',
22
21
  justifyContent: 'space-between',
23
22
  flexShrink: 0,
24
- borderBlockEnd: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-border, ${N30})`}`,
23
+ borderBlockEnd: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`,
25
24
  paddingInlineEnd: "var(--ds-space-150, 12px)",
26
25
  paddingInlineStart: "var(--ds-space-150, 12px)"
27
26
  });
@@ -6,7 +6,6 @@ import React from 'react';
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css, jsx } from '@emotion/react';
9
- import { N30 } from '@atlaskit/theme/colors';
10
9
  import { HORIZONTAL_GLOBAL_NAV_HEIGHT } from '../../common/constants';
11
10
  import { defaultTheme, ThemeProvider } from '../../theme';
12
11
  import { IconButtonSkeleton } from '../IconButton/skeleton';
@@ -23,7 +22,7 @@ const containerStyles = css({
23
22
  alignItems: 'center',
24
23
  justifyContent: 'space-between',
25
24
  flexShrink: 0,
26
- borderBlockEnd: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-border, ${N30})`}`,
25
+ borderBlockEnd: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`,
27
26
  paddingInlineEnd: "var(--ds-space-150, 12px)",
28
27
  paddingInlineStart: "var(--ds-space-150, 12px)"
29
28
  });
@@ -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,
@@ -8,7 +8,6 @@ import React, { useCallback, useState } from 'react';
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
10
10
  import Popup from '@atlaskit/popup';
11
- import { N700 } from '@atlaskit/theme/colors';
12
11
  import { WidthObserver } from '@atlaskit/width-detector';
13
12
  import { OverflowProvider, useOverflowController } from '../../controllers/overflow';
14
13
  import { PrimaryDropdownButton } from '../PrimaryDropdownButton';
@@ -34,7 +33,7 @@ const widthObserverContainerStyles = css({
34
33
  flexShrink: 1
35
34
  });
36
35
  const overflowItemsStyles = css({
37
- color: `var(--ds-text, ${N700})`
36
+ color: "var(--ds-text, #292A2E)"
38
37
  });
39
38
 
40
39
  // Internal only
@@ -7,7 +7,6 @@ import React, { Fragment } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { css, jsx } from '@emotion/react';
10
- import { B200 } from '@atlaskit/theme/colors';
11
10
  import { PRODUCT_HOME_BREAKPOINT } from '../../common/constants';
12
11
  import { useTheme } from '../../theme';
13
12
  import { getTag } from './utils';
@@ -71,7 +70,7 @@ const productHomeButtonStyles = css({
71
70
  '&:focus-visible': {
72
71
  backgroundColor: `var(${VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS})`,
73
72
  color: `var(${VAR_PRODUCT_HOME_COLOR_FOCUS})`,
74
- outline: `${"var(--ds-border-width-focused, 2px)"} solid ${`var(--ds-border-focused, ${B200})`}`
73
+ outline: `${"var(--ds-border-width-focused, 2px)"} solid ${"var(--ds-border-focused, #4688EC)"}`
75
74
  },
76
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
77
76
  'div&': {
@@ -10,7 +10,6 @@ import { css, jsx } from '@emotion/react';
10
10
 
11
11
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
12
12
  import { Inline, Text } from '@atlaskit/primitives/compiled';
13
- import { N700 } from '@atlaskit/theme/colors';
14
13
  import { PRODUCT_HOME_BREAKPOINT } from '../../common/constants';
15
14
  import { useTheme } from '../../theme';
16
15
  import { stripEmptyProperties } from '../../utils';
@@ -162,7 +161,7 @@ export const AppHome = ({
162
161
  // The default theme is set at module scope and immediately used in context.
163
162
  // To allow the feature flag to switch the logo color at runtime, we also detect the original hardcoded
164
163
  // values and override them to undefined.
165
- if (iconColor === '#357DE8' && textColor === `var(--ds-text, ${N700})`) {
164
+ if (iconColor === '#357DE8' && textColor === "var(--ds-text, #292A2E)") {
166
165
  iconColor = undefined;
167
166
  textColor = undefined;
168
167
  }
@@ -251,7 +250,7 @@ const ProductHome = ({
251
250
  } = theme.mode.productHome;
252
251
 
253
252
  // If the theme returns the default Atlassian theme, rely on the Logo default behaviour instead
254
- if (iconColor === '#357DE8' && textColor === `var(--ds-text, ${N700})`) {
253
+ if (iconColor === '#357DE8' && textColor === "var(--ds-text, #292A2E)") {
255
254
  iconColor = undefined;
256
255
  textColor = undefined;
257
256
  }
@@ -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__