@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
@@ -1,26 +1,24 @@
1
- import { B200, B400, B50, N0, N100, N20, N200, N600, N700 } from '@atlaskit/theme/colors';
2
- import { hexToRGBA } from './theme-helpers';
3
1
  const defaultTheme = {
4
2
  mode: {
5
3
  create: {
6
4
  active: {
7
- color: `var(--ds-text-inverse, ${N0})`,
8
- backgroundColor: `var(--ds-background-brand-bold-pressed, ${hexToRGBA(B400, 0.8)})`,
5
+ color: "var(--ds-text-inverse, #FFFFFF)",
6
+ backgroundColor: "var(--ds-background-brand-bold-pressed, #144794)",
9
7
  boxShadow: ''
10
8
  },
11
9
  default: {
12
- color: `var(--ds-text-inverse, ${N0})`,
13
- backgroundColor: `var(--ds-background-brand-bold, ${B400})`,
10
+ color: "var(--ds-text-inverse, #FFFFFF)",
11
+ backgroundColor: "var(--ds-background-brand-bold, #1868DB)",
14
12
  boxShadow: ''
15
13
  },
16
14
  focus: {
17
- color: `var(--ds-text-inverse, ${N0})`,
15
+ color: "var(--ds-text-inverse, #FFFFFF)",
18
16
  backgroundColor: '',
19
17
  boxShadow: ''
20
18
  },
21
19
  hover: {
22
- color: `var(--ds-text-inverse, ${N0})`,
23
- backgroundColor: `var(--ds-background-brand-bold-hovered, ${hexToRGBA(B400, 0.9)})`,
20
+ color: "var(--ds-text-inverse, #FFFFFF)",
21
+ backgroundColor: "var(--ds-background-brand-bold-hovered, #1558BC)",
24
22
  boxShadow: ''
25
23
  },
26
24
  selected: {
@@ -31,97 +29,97 @@ const defaultTheme = {
31
29
  },
32
30
  iconButton: {
33
31
  active: {
34
- color: `var(--ds-text-subtle, ${B400})`,
35
- backgroundColor: `var(--ds-background-neutral-subtle-pressed, ${hexToRGBA(B50, 0.6)})`,
32
+ color: "var(--ds-text-subtle, #505258)",
33
+ backgroundColor: "var(--ds-background-neutral-subtle-pressed, #0B120E24)",
36
34
  boxShadow: ''
37
35
  },
38
36
  default: {
39
- color: `var(--ds-text-subtle, ${N600})`,
37
+ color: "var(--ds-text-subtle, #505258)",
40
38
  backgroundColor: 'transparent',
41
39
  boxShadow: ''
42
40
  },
43
41
  focus: {
44
- color: `var(--ds-text-subtle, ${N600})`,
42
+ color: "var(--ds-text-subtle, #505258)",
45
43
  backgroundColor: '',
46
44
  boxShadow: ''
47
45
  },
48
46
  hover: {
49
- color: `var(--ds-text-subtle, ${B400})`,
50
- backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${hexToRGBA(B50, 0.9)})`,
47
+ color: "var(--ds-text-subtle, #505258)",
48
+ backgroundColor: "var(--ds-background-neutral-subtle-hovered, #0515240F)",
51
49
  boxShadow: ''
52
50
  },
53
51
  selected: {
54
- color: `var(--ds-text-selected, ${B400})`,
55
- backgroundColor: `var(--ds-background-selected, ${hexToRGBA(B50, 0.6)})`,
52
+ color: "var(--ds-text-selected, #1868DB)",
53
+ backgroundColor: "var(--ds-background-selected, #E9F2FE)",
56
54
  boxShadow: ''
57
55
  },
58
56
  selectedHover: {
59
- color: `var(--ds-text-selected, ${B400})`,
60
- backgroundColor: `var(--ds-background-selected-hovered, ${hexToRGBA(B50, 0.6)})`,
57
+ color: "var(--ds-text-selected, #1868DB)",
58
+ backgroundColor: "var(--ds-background-selected-hovered, #CFE1FD)",
61
59
  boxShadow: ''
62
60
  }
63
61
  },
64
62
  navigation: {
65
- backgroundColor: `var(--ds-surface, ${N0})`,
66
- color: `var(--ds-text-subtlest, ${N200})`
63
+ backgroundColor: "var(--ds-surface, #FFFFFF)",
64
+ color: "var(--ds-text-subtlest, #6B6E76)"
67
65
  },
68
66
  productHome: {
69
- backgroundColor: `var(--ds-text-brand, ${B400})`,
70
- color: `var(--ds-text, ${N700})`,
71
- borderRight: `${"var(--ds-border-width, 1px)"} solid ${`var(--ds-border, ${hexToRGBA(N200, 0.3)})`}`,
67
+ backgroundColor: "var(--ds-text-brand, #1868DB)",
68
+ color: "var(--ds-text, #292A2E)",
69
+ borderRight: `${"var(--ds-border-width, 1px)"} solid ${"var(--ds-border, #0B120E24)"}`,
72
70
  // TODO: replace with token after brand refresh
73
71
  iconColor: '#357DE8',
74
- textColor: `var(--ds-text, ${N700})`
72
+ textColor: "var(--ds-text, #292A2E)"
75
73
  },
76
74
  primaryButton: {
77
75
  active: {
78
- color: `var(--ds-text-subtle, ${B400})`,
79
- backgroundColor: `var(--ds-background-neutral-subtle-pressed, ${hexToRGBA(B50, 0.7)})`,
76
+ color: "var(--ds-text-subtle, #505258)",
77
+ backgroundColor: "var(--ds-background-neutral-subtle-pressed, #0B120E24)",
80
78
  boxShadow: ''
81
79
  },
82
80
  default: {
83
- color: `var(--ds-text-subtle, ${N600})`,
81
+ color: "var(--ds-text-subtle, #505258)",
84
82
  backgroundColor: 'transparent',
85
83
  boxShadow: ''
86
84
  },
87
85
  focus: {
88
- color: `var(--ds-text-subtle, ${N600})`,
86
+ color: "var(--ds-text-subtle, #505258)",
89
87
  backgroundColor: '',
90
88
  boxShadow: ''
91
89
  },
92
90
  hover: {
93
- color: `var(--ds-text-subtle, ${B400})`,
94
- backgroundColor: `var(--ds-background-neutral-subtle-hovered, ${hexToRGBA(B50, 0.9)})`,
91
+ color: "var(--ds-text-subtle, #505258)",
92
+ backgroundColor: "var(--ds-background-neutral-subtle-hovered, #0515240F)",
95
93
  boxShadow: ''
96
94
  },
97
95
  selected: {
98
- color: `var(--ds-text-selected, ${B400})`,
99
- backgroundColor: `var(--ds-background-selected, ${hexToRGBA(B50, 0.7)})`,
96
+ color: "var(--ds-text-selected, #1868DB)",
97
+ backgroundColor: "var(--ds-background-selected, #E9F2FE)",
100
98
  boxShadow: '',
101
- borderColor: `var(--ds-border-selected, ${B400})`
99
+ borderColor: "var(--ds-border-selected, #1868DB)"
102
100
  },
103
101
  selectedHover: {
104
- color: `var(--ds-text-selected, ${B400})`,
105
- backgroundColor: `var(--ds-background-selected-hovered, ${hexToRGBA(B50, 0.6)})`,
102
+ color: "var(--ds-text-selected, #1868DB)",
103
+ backgroundColor: "var(--ds-background-selected-hovered, #CFE1FD)",
106
104
  boxShadow: '',
107
- borderColor: `var(--ds-border-selected, ${B400})`
105
+ borderColor: "var(--ds-border-selected, #1868DB)"
108
106
  }
109
107
  },
110
108
  search: {
111
109
  default: {
112
- backgroundColor: `var(--ds-background-input, ${N0})`,
113
- color: `var(--ds-text-subtlest, ${N200})`,
114
- borderColor: `var(--ds-border-input, ${N100})`
110
+ backgroundColor: "var(--ds-background-input, #FFFFFF)",
111
+ color: "var(--ds-text-subtlest, #6B6E76)",
112
+ borderColor: "var(--ds-border-input, #8C8F97)"
115
113
  },
116
114
  focus: {
117
- borderColor: `var(--ds-border-focused, ${B200})`
115
+ borderColor: "var(--ds-border-focused, #4688EC)"
118
116
  },
119
117
  hover: {
120
- backgroundColor: `var(--ds-background-input-hovered, ${N0})`
118
+ backgroundColor: "var(--ds-background-input-hovered, #F8F8F8)"
121
119
  }
122
120
  },
123
121
  skeleton: {
124
- backgroundColor: `var(--ds-background-neutral, ${N20})`,
122
+ backgroundColor: "var(--ds-background-neutral, #0515240F)",
125
123
  opacity: 1
126
124
  }
127
125
  }
@@ -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,
@@ -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 @@ var containerStyles = css({
21
20
  alignItems: 'center',
22
21
  justifyContent: 'space-between',
23
22
  flexShrink: 0,
24
- borderBlockEnd: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")),
23
+ borderBlockEnd: "var(--ds-border-width, 1px)".concat(" 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 @@ var containerStyles = css({
23
22
  alignItems: 'center',
24
23
  justifyContent: 'space-between',
25
24
  flexShrink: 0,
26
- borderBlockEnd: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border, ".concat(N30, ")")),
25
+ borderBlockEnd: "var(--ds-border-width, 1px)".concat(" 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,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,
@@ -9,7 +9,6 @@ import React, { useCallback, useState } from 'react';
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
10
10
  import { css, jsx } from '@emotion/react';
11
11
  import Popup from '@atlaskit/popup';
12
- import { N700 } from '@atlaskit/theme/colors';
13
12
  import { WidthObserver } from '@atlaskit/width-detector';
14
13
  import { OverflowProvider, useOverflowController } from '../../controllers/overflow';
15
14
  import { PrimaryDropdownButton } from '../PrimaryDropdownButton';
@@ -35,7 +34,7 @@ var widthObserverContainerStyles = css({
35
34
  flexShrink: 1
36
35
  });
37
36
  var overflowItemsStyles = css({
38
- color: "var(--ds-text, ".concat(N700, ")")
37
+ color: "var(--ds-text, #292A2E)"
39
38
  });
40
39
 
41
40
  // Internal only
@@ -10,7 +10,6 @@ import React, { Fragment } from 'react';
10
10
 
11
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
12
12
  import { css, jsx } from '@emotion/react';
13
- import { B200 } from '@atlaskit/theme/colors';
14
13
  import { PRODUCT_HOME_BREAKPOINT } from '../../common/constants';
15
14
  import { useTheme } from '../../theme';
16
15
  import { getTag } from './utils';
@@ -70,7 +69,7 @@ var productHomeButtonStyles = css(_defineProperty(_defineProperty({
70
69
  '&:focus-visible': {
71
70
  backgroundColor: "var(".concat(VAR_PRODUCT_HOME_BACKGROUND_COLOR_FOCUS, ")"),
72
71
  color: "var(".concat(VAR_PRODUCT_HOME_COLOR_FOCUS, ")"),
73
- outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, ".concat(B200, ")"))
72
+ outline: "var(--ds-border-width-focused, 2px)".concat(" solid ", "var(--ds-border-focused, #4688EC)")
74
73
  },
75
74
  // 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
75
  'div&': {
@@ -14,7 +14,6 @@ import { css, jsx } from '@emotion/react';
14
14
 
15
15
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
16
16
  import { Inline, Text } from '@atlaskit/primitives/compiled';
17
- import { N700 } from '@atlaskit/theme/colors';
18
17
  import { PRODUCT_HOME_BREAKPOINT } from '../../common/constants';
19
18
  import { useTheme } from '../../theme';
20
19
  import { stripEmptyProperties } from '../../utils';
@@ -156,7 +155,7 @@ export var AppHome = function AppHome(_ref) {
156
155
  // The default theme is set at module scope and immediately used in context.
157
156
  // To allow the feature flag to switch the logo color at runtime, we also detect the original hardcoded
158
157
  // values and override them to undefined.
159
- if (iconColor === '#357DE8' && textColor === "var(--ds-text, ".concat(N700, ")")) {
158
+ if (iconColor === '#357DE8' && textColor === "var(--ds-text, #292A2E)") {
160
159
  iconColor = undefined;
161
160
  textColor = undefined;
162
161
  }
@@ -236,7 +235,7 @@ var ProductHome = function ProductHome(_ref2) {
236
235
  textColor = _theme$mode$productHo6 === void 0 ? undefined : _theme$mode$productHo6;
237
236
 
238
237
  // If the theme returns the default Atlassian theme, rely on the Logo default behaviour instead
239
- if (iconColor === '#357DE8' && textColor === "var(--ds-text, ".concat(N700, ")")) {
238
+ if (iconColor === '#357DE8' && textColor === "var(--ds-text, #292A2E)") {
240
239
  iconColor = undefined;
241
240
  textColor = undefined;
242
241
  }
@@ -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
  /**