@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.
- package/CHANGELOG.md +16 -0
- package/afm-cc/tsconfig.json +3 -0
- package/afm-jira/tsconfig.json +7 -1
- package/afm-products/tsconfig.json +3 -0
- package/dist/cjs/components/AppSwitcher/index.compiled.css +2 -0
- package/dist/cjs/components/AppSwitcher/index.js +12 -3
- package/dist/cjs/components/AtlassianNavigation/index.js +1 -2
- package/dist/cjs/components/AtlassianNavigation/skeleton.js +1 -2
- package/dist/cjs/components/Help/index.compiled.css +2 -0
- package/dist/cjs/components/Help/index.js +12 -4
- package/dist/cjs/components/Notifications/index.compiled.css +2 -0
- package/dist/cjs/components/Notifications/index.js +11 -3
- package/dist/cjs/components/PrimaryItemsContainer/index.js +1 -2
- package/dist/cjs/components/ProductHome/custom-product-home.js +1 -2
- package/dist/cjs/components/ProductHome/product-home.js +2 -3
- package/dist/cjs/components/Settings/index.compiled.css +2 -0
- package/dist/cjs/components/Settings/index.js +12 -3
- package/dist/cjs/components/SignIn/index.compiled.css +2 -0
- package/dist/cjs/components/SignIn/index.js +12 -3
- package/dist/cjs/skeleton-help-button.compiled.css +2 -0
- package/dist/cjs/skeleton-help-button.js +11 -3
- package/dist/cjs/skeleton-notification-button.compiled.css +2 -0
- package/dist/cjs/skeleton-notification-button.js +11 -3
- package/dist/cjs/skeleton-settings-button.compiled.css +2 -0
- package/dist/cjs/skeleton-settings-button.js +11 -3
- package/dist/cjs/theme/default-theme.js +41 -43
- package/dist/es2019/components/AppSwitcher/index.compiled.css +2 -0
- package/dist/es2019/components/AppSwitcher/index.js +12 -3
- package/dist/es2019/components/AtlassianNavigation/index.js +1 -2
- package/dist/es2019/components/AtlassianNavigation/skeleton.js +1 -2
- package/dist/es2019/components/Help/index.compiled.css +2 -0
- package/dist/es2019/components/Help/index.js +12 -4
- package/dist/es2019/components/Notifications/index.compiled.css +2 -0
- package/dist/es2019/components/Notifications/index.js +11 -3
- package/dist/es2019/components/PrimaryItemsContainer/index.js +1 -2
- package/dist/es2019/components/ProductHome/custom-product-home.js +1 -2
- package/dist/es2019/components/ProductHome/product-home.js +2 -3
- package/dist/es2019/components/Settings/index.compiled.css +2 -0
- package/dist/es2019/components/Settings/index.js +12 -3
- package/dist/es2019/components/SignIn/index.compiled.css +2 -0
- package/dist/es2019/components/SignIn/index.js +12 -3
- package/dist/es2019/skeleton-help-button.compiled.css +2 -0
- package/dist/es2019/skeleton-help-button.js +11 -3
- package/dist/es2019/skeleton-notification-button.compiled.css +2 -0
- package/dist/es2019/skeleton-notification-button.js +11 -3
- package/dist/es2019/skeleton-settings-button.compiled.css +2 -0
- package/dist/es2019/skeleton-settings-button.js +11 -3
- package/dist/es2019/theme/default-theme.js +41 -43
- package/dist/esm/components/AppSwitcher/index.compiled.css +2 -0
- package/dist/esm/components/AppSwitcher/index.js +12 -3
- package/dist/esm/components/AtlassianNavigation/index.js +1 -2
- package/dist/esm/components/AtlassianNavigation/skeleton.js +1 -2
- package/dist/esm/components/Help/index.compiled.css +2 -0
- package/dist/esm/components/Help/index.js +12 -4
- package/dist/esm/components/Notifications/index.compiled.css +2 -0
- package/dist/esm/components/Notifications/index.js +11 -3
- package/dist/esm/components/PrimaryItemsContainer/index.js +1 -2
- package/dist/esm/components/ProductHome/custom-product-home.js +1 -2
- package/dist/esm/components/ProductHome/product-home.js +2 -3
- package/dist/esm/components/Settings/index.compiled.css +2 -0
- package/dist/esm/components/Settings/index.js +12 -3
- package/dist/esm/components/SignIn/index.compiled.css +2 -0
- package/dist/esm/components/SignIn/index.js +12 -3
- package/dist/esm/skeleton-help-button.compiled.css +2 -0
- package/dist/esm/skeleton-help-button.js +11 -3
- package/dist/esm/skeleton-notification-button.compiled.css +2 -0
- package/dist/esm/skeleton-notification-button.js +11 -3
- package/dist/esm/skeleton-settings-button.compiled.css +2 -0
- package/dist/esm/skeleton-settings-button.js +11 -3
- package/dist/esm/theme/default-theme.js +41 -43
- 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:
|
|
8
|
-
backgroundColor:
|
|
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:
|
|
13
|
-
backgroundColor:
|
|
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:
|
|
15
|
+
color: "var(--ds-text-inverse, #FFFFFF)",
|
|
18
16
|
backgroundColor: '',
|
|
19
17
|
boxShadow: ''
|
|
20
18
|
},
|
|
21
19
|
hover: {
|
|
22
|
-
color:
|
|
23
|
-
backgroundColor:
|
|
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:
|
|
35
|
-
backgroundColor:
|
|
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:
|
|
37
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
40
38
|
backgroundColor: 'transparent',
|
|
41
39
|
boxShadow: ''
|
|
42
40
|
},
|
|
43
41
|
focus: {
|
|
44
|
-
color:
|
|
42
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
45
43
|
backgroundColor: '',
|
|
46
44
|
boxShadow: ''
|
|
47
45
|
},
|
|
48
46
|
hover: {
|
|
49
|
-
color:
|
|
50
|
-
backgroundColor:
|
|
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:
|
|
55
|
-
backgroundColor:
|
|
52
|
+
color: "var(--ds-text-selected, #1868DB)",
|
|
53
|
+
backgroundColor: "var(--ds-background-selected, #E9F2FE)",
|
|
56
54
|
boxShadow: ''
|
|
57
55
|
},
|
|
58
56
|
selectedHover: {
|
|
59
|
-
color:
|
|
60
|
-
backgroundColor:
|
|
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:
|
|
66
|
-
color:
|
|
63
|
+
backgroundColor: "var(--ds-surface, #FFFFFF)",
|
|
64
|
+
color: "var(--ds-text-subtlest, #6B6E76)"
|
|
67
65
|
},
|
|
68
66
|
productHome: {
|
|
69
|
-
backgroundColor:
|
|
70
|
-
color:
|
|
71
|
-
borderRight: `${"var(--ds-border-width, 1px)"} solid ${
|
|
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:
|
|
72
|
+
textColor: "var(--ds-text, #292A2E)"
|
|
75
73
|
},
|
|
76
74
|
primaryButton: {
|
|
77
75
|
active: {
|
|
78
|
-
color:
|
|
79
|
-
backgroundColor:
|
|
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:
|
|
81
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
84
82
|
backgroundColor: 'transparent',
|
|
85
83
|
boxShadow: ''
|
|
86
84
|
},
|
|
87
85
|
focus: {
|
|
88
|
-
color:
|
|
86
|
+
color: "var(--ds-text-subtle, #505258)",
|
|
89
87
|
backgroundColor: '',
|
|
90
88
|
boxShadow: ''
|
|
91
89
|
},
|
|
92
90
|
hover: {
|
|
93
|
-
color:
|
|
94
|
-
backgroundColor:
|
|
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:
|
|
99
|
-
backgroundColor:
|
|
96
|
+
color: "var(--ds-text-selected, #1868DB)",
|
|
97
|
+
backgroundColor: "var(--ds-background-selected, #E9F2FE)",
|
|
100
98
|
boxShadow: '',
|
|
101
|
-
borderColor:
|
|
99
|
+
borderColor: "var(--ds-border-selected, #1868DB)"
|
|
102
100
|
},
|
|
103
101
|
selectedHover: {
|
|
104
|
-
color:
|
|
105
|
-
backgroundColor:
|
|
102
|
+
color: "var(--ds-text-selected, #1868DB)",
|
|
103
|
+
backgroundColor: "var(--ds-background-selected-hovered, #CFE1FD)",
|
|
106
104
|
boxShadow: '',
|
|
107
|
-
borderColor:
|
|
105
|
+
borderColor: "var(--ds-border-selected, #1868DB)"
|
|
108
106
|
}
|
|
109
107
|
},
|
|
110
108
|
search: {
|
|
111
109
|
default: {
|
|
112
|
-
backgroundColor:
|
|
113
|
-
color:
|
|
114
|
-
borderColor:
|
|
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:
|
|
115
|
+
borderColor: "var(--ds-border-focused, #4688EC)"
|
|
118
116
|
},
|
|
119
117
|
hover: {
|
|
120
|
-
backgroundColor:
|
|
118
|
+
backgroundColor: "var(--ds-background-input-hovered, #F8F8F8)"
|
|
121
119
|
}
|
|
122
120
|
},
|
|
123
121
|
skeleton: {
|
|
124
|
-
backgroundColor:
|
|
122
|
+
backgroundColor: "var(--ds-background-neutral, #0515240F)",
|
|
125
123
|
opacity: 1
|
|
126
124
|
}
|
|
127
125
|
}
|
|
@@ -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(
|
|
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,
|
|
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,
|
|
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
|
});
|
|
@@ -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(
|
|
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
|
-
|
|
44
|
-
}),
|
|
51
|
+
color: "currentColor"
|
|
52
|
+
})),
|
|
45
53
|
id: id,
|
|
46
54
|
isDisabled: isDisabled,
|
|
47
55
|
isSelected: isSelected,
|
|
@@ -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(
|
|
47
|
-
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
238
|
+
if (iconColor === '#357DE8' && textColor === "var(--ds-text, #292A2E)") {
|
|
240
239
|
iconColor = undefined;
|
|
241
240
|
textColor = undefined;
|
|
242
241
|
}
|
|
@@ -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(
|
|
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,
|
|
@@ -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(
|
|
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,
|
|
@@ -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(
|
|
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
|
};
|
|
@@ -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(
|
|
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
|
/**
|
|
@@ -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(
|
|
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
|
/**
|