@atlaskit/atlassian-navigation 5.3.14 → 5.3.16
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/dist/cjs/components/IconButton/skeleton.js +1 -1
- package/dist/cjs/components/IconButton/styles.js +1 -1
- package/dist/cjs/components/PrimaryButton/index.js +2 -2
- package/dist/cjs/components/PrimaryButton/skeleton.js +1 -1
- package/dist/cjs/components/ProductHome/custom-product-home.js +1 -1
- package/dist/cjs/components/ProductHome/product-home.js +1 -1
- package/dist/cjs/components/ProductHome/skeleton.js +3 -3
- package/dist/cjs/components/SkeletonCreateButton/index.js +1 -1
- package/dist/cjs/components/SkeletonIconButton/index.js +2 -2
- package/dist/cjs/components/SkeletonPrimaryButton/index.js +3 -3
- package/dist/cjs/skeleton-switcher-button.js +2 -2
- package/dist/es2019/components/IconButton/skeleton.js +1 -1
- package/dist/es2019/components/IconButton/styles.js +1 -1
- package/dist/es2019/components/PrimaryButton/index.js +2 -2
- package/dist/es2019/components/PrimaryButton/skeleton.js +1 -1
- package/dist/es2019/components/ProductHome/custom-product-home.js +1 -1
- package/dist/es2019/components/ProductHome/product-home.js +1 -1
- package/dist/es2019/components/ProductHome/skeleton.js +3 -3
- package/dist/es2019/components/SkeletonCreateButton/index.js +1 -1
- package/dist/es2019/components/SkeletonIconButton/index.js +2 -2
- package/dist/es2019/components/SkeletonPrimaryButton/index.js +3 -3
- package/dist/es2019/skeleton-switcher-button.js +2 -2
- package/dist/esm/components/IconButton/skeleton.js +1 -1
- package/dist/esm/components/IconButton/styles.js +1 -1
- package/dist/esm/components/PrimaryButton/index.js +2 -2
- package/dist/esm/components/PrimaryButton/skeleton.js +1 -1
- package/dist/esm/components/ProductHome/custom-product-home.js +1 -1
- package/dist/esm/components/ProductHome/product-home.js +1 -1
- package/dist/esm/components/ProductHome/skeleton.js +3 -3
- package/dist/esm/components/SkeletonCreateButton/index.js +1 -1
- package/dist/esm/components/SkeletonIconButton/index.js +2 -2
- package/dist/esm/components/SkeletonPrimaryButton/index.js +3 -3
- package/dist/esm/skeleton-switcher-button.js +2 -2
- package/package.json +6 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/atlassian-navigation
|
|
2
2
|
|
|
3
|
+
## 5.3.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`74c2f420ee49b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/74c2f420ee49b) -
|
|
8
|
+
Internal changes to how border radius is applied.
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 5.3.15
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`23bcc5bbc9cee`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/23bcc5bbc9cee) -
|
|
16
|
+
Internal changes to how border radius is applied.
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 5.3.14
|
|
4
20
|
|
|
5
21
|
### Patch Changes
|
|
@@ -15,7 +15,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
15
15
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
16
16
|
var buttonHeight = "var(--ds-space-400, 32px)";
|
|
17
17
|
var skeletonStyles = (0, _react.css)({
|
|
18
|
-
borderRadius: "var(--ds-
|
|
18
|
+
borderRadius: "var(--ds-radius-full, 50%)",
|
|
19
19
|
opacity: 0.15
|
|
20
20
|
});
|
|
21
21
|
|
|
@@ -16,7 +16,7 @@ var getIconButtonTheme = exports.getIconButtonTheme = function getIconButtonThem
|
|
|
16
16
|
spinnerStyles = _current.spinnerStyles;
|
|
17
17
|
return {
|
|
18
18
|
buttonStyles: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, buttonStyles), {}, {
|
|
19
|
-
borderRadius: "var(--ds-
|
|
19
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
20
20
|
display: 'flex',
|
|
21
21
|
margin: "0 ".concat("var(--ds-space-025, 2px)"),
|
|
22
22
|
// TODO Delete this comment after verifying space token -> previous value `4`
|
|
@@ -40,8 +40,8 @@ var buttonHighlightedStyles = (0, _react2.css)({
|
|
|
40
40
|
height: 3,
|
|
41
41
|
position: 'absolute',
|
|
42
42
|
backgroundColor: "var(".concat(VAR_BUTTON_SELECTED_BORDER_COLOR, ")"),
|
|
43
|
-
borderStartEndRadius: "var(--ds-
|
|
44
|
-
borderStartStartRadius: "var(--ds-
|
|
43
|
+
borderStartEndRadius: "var(--ds-radius-xsmall, 1px)",
|
|
44
|
+
borderStartStartRadius: "var(--ds-radius-xsmall, 1px)",
|
|
45
45
|
content: '""',
|
|
46
46
|
insetBlockEnd: 0,
|
|
47
47
|
insetInlineEnd: "var(--ds-space-050, 4px)",
|
|
@@ -19,7 +19,7 @@ var skeletonStyles = (0, _react.css)({
|
|
|
19
19
|
display: 'inline-flex',
|
|
20
20
|
width: '68px',
|
|
21
21
|
height: "".concat(buttonHeight - paddingAll * 2.5, "px"),
|
|
22
|
-
borderRadius: "var(--ds-
|
|
22
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
23
23
|
opacity: 0.15
|
|
24
24
|
});
|
|
25
25
|
|
|
@@ -52,7 +52,7 @@ var productHomeButtonStyles = (0, _react2.css)((0, _defineProperty2.default)((0,
|
|
|
52
52
|
alignItems: 'center',
|
|
53
53
|
background: 'none',
|
|
54
54
|
border: 0,
|
|
55
|
-
borderRadius: "var(--ds-
|
|
55
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
56
56
|
color: 'inherit',
|
|
57
57
|
cursor: 'pointer',
|
|
58
58
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -40,7 +40,7 @@ var productHomeButtonStyles = (0, _react2.css)((0, _defineProperty2.default)((0,
|
|
|
40
40
|
alignItems: 'center',
|
|
41
41
|
background: 'none',
|
|
42
42
|
border: 0,
|
|
43
|
-
borderRadius: "var(--ds-
|
|
43
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
44
44
|
color: 'inherit',
|
|
45
45
|
cursor: 'pointer',
|
|
46
46
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -34,7 +34,7 @@ var productHomeButtonStyles = (0, _react2.css)((0, _defineProperty2.default)((0,
|
|
|
34
34
|
alignItems: 'center',
|
|
35
35
|
background: 'none',
|
|
36
36
|
border: 0,
|
|
37
|
-
borderRadius: "var(--ds-
|
|
37
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
38
38
|
color: 'inherit',
|
|
39
39
|
cursor: 'pointer',
|
|
40
40
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -88,7 +88,7 @@ var productIconStyles = (0, _react2.css)((0, _defineProperty2.default)({
|
|
|
88
88
|
display: 'flex',
|
|
89
89
|
width: 28,
|
|
90
90
|
height: 28,
|
|
91
|
-
borderRadius: "var(--ds-
|
|
91
|
+
borderRadius: "var(--ds-radius-full, 50%)",
|
|
92
92
|
opacity: 0.15,
|
|
93
93
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
94
94
|
'& > *': {
|
|
@@ -110,7 +110,7 @@ var siteTitleStyles = (0, _react2.css)({
|
|
|
110
110
|
width: '100%',
|
|
111
111
|
height: 14,
|
|
112
112
|
backgroundColor: "var(".concat(VAR_SITE_TITLE_BG_COLOR_AFTER, ")"),
|
|
113
|
-
borderRadius: "var(--ds-
|
|
113
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
114
114
|
content: '""'
|
|
115
115
|
}
|
|
116
116
|
});
|
|
@@ -17,7 +17,7 @@ var skeletonCreateButtonStyles = (0, _react.css)({
|
|
|
17
17
|
padding: "0 ".concat("var(--ds-space-150, 12px)"),
|
|
18
18
|
alignSelf: 'center',
|
|
19
19
|
border: 0,
|
|
20
|
-
borderRadius: "var(--ds-
|
|
20
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
21
21
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
22
22
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
23
23
|
pointerEvents: 'none',
|
|
@@ -16,7 +16,7 @@ var skeletonIconButtonStyles = (0, _react.css)({
|
|
|
16
16
|
margin: 0,
|
|
17
17
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-075, 6px)"),
|
|
18
18
|
border: 0,
|
|
19
|
-
borderRadius: "var(--ds-
|
|
19
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
20
20
|
pointerEvents: 'none',
|
|
21
21
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
22
22
|
':focus, :active, :hover': {
|
|
@@ -33,7 +33,7 @@ var skeletonIconButtonStyles = (0, _react.css)({
|
|
|
33
33
|
'& > img': {
|
|
34
34
|
width: 24,
|
|
35
35
|
height: 24,
|
|
36
|
-
borderRadius: "var(--ds-
|
|
36
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
37
37
|
verticalAlign: 'middle'
|
|
38
38
|
}
|
|
39
39
|
});
|
|
@@ -42,8 +42,8 @@ var isHighlightedStyles = (0, _react.css)({
|
|
|
42
42
|
height: 3,
|
|
43
43
|
position: 'absolute',
|
|
44
44
|
backgroundColor: "var(".concat(VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR, ")"),
|
|
45
|
-
borderStartEndRadius: "var(--ds-
|
|
46
|
-
borderStartStartRadius: "var(--ds-
|
|
45
|
+
borderStartEndRadius: "var(--ds-radius-xsmall, 1px)",
|
|
46
|
+
borderStartStartRadius: "var(--ds-radius-xsmall, 1px)",
|
|
47
47
|
content: '""',
|
|
48
48
|
insetBlockEnd: 0,
|
|
49
49
|
insetInlineStart: "var(--ds-space-025, 2px)"
|
|
@@ -73,7 +73,7 @@ var isDropdownButtonStyles = (0, _react.css)({
|
|
|
73
73
|
borderBlockEnd: '2px solid',
|
|
74
74
|
borderColor: "var(".concat(VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR, ")"),
|
|
75
75
|
borderInlineEnd: '2px solid',
|
|
76
|
-
borderRadius: "var(--ds-
|
|
76
|
+
borderRadius: "var(--ds-radius-xsmall, 1px)",
|
|
77
77
|
content: '""',
|
|
78
78
|
insetBlockStart: 'calc(50% - 4px)',
|
|
79
79
|
insetInlineStart: 'calc(100% - 3px)',
|
|
@@ -22,7 +22,7 @@ var skeletonSwitcherButtonStyles = (0, _react.css)({
|
|
|
22
22
|
marginRight: "var(--ds-space-050, 4px)",
|
|
23
23
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-075, 6px)"),
|
|
24
24
|
border: 0,
|
|
25
|
-
borderRadius: "var(--ds-
|
|
25
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
26
26
|
pointerEvents: 'none',
|
|
27
27
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
28
28
|
':focus, :active, :hover': {
|
|
@@ -44,7 +44,7 @@ var skeletonSwitcherButtonStyles = (0, _react.css)({
|
|
|
44
44
|
'& > img': {
|
|
45
45
|
width: 24,
|
|
46
46
|
height: 24,
|
|
47
|
-
borderRadius: "var(--ds-
|
|
47
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
48
48
|
verticalAlign: 'middle'
|
|
49
49
|
}
|
|
50
50
|
});
|
|
@@ -7,7 +7,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
7
7
|
import { useTheme } from '../../theme';
|
|
8
8
|
const buttonHeight = "var(--ds-space-400, 32px)";
|
|
9
9
|
const skeletonStyles = css({
|
|
10
|
-
borderRadius: "var(--ds-
|
|
10
|
+
borderRadius: "var(--ds-radius-full, 50%)",
|
|
11
11
|
opacity: 0.15
|
|
12
12
|
});
|
|
13
13
|
|
|
@@ -10,7 +10,7 @@ export const getIconButtonTheme = ({
|
|
|
10
10
|
return {
|
|
11
11
|
buttonStyles: {
|
|
12
12
|
...buttonStyles,
|
|
13
|
-
borderRadius: "var(--ds-
|
|
13
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
14
14
|
display: 'flex',
|
|
15
15
|
margin: `0 ${"var(--ds-space-025, 2px)"}`,
|
|
16
16
|
// TODO Delete this comment after verifying space token -> previous value `4`
|
|
@@ -31,8 +31,8 @@ const buttonHighlightedStyles = css({
|
|
|
31
31
|
height: 3,
|
|
32
32
|
position: 'absolute',
|
|
33
33
|
backgroundColor: `var(${VAR_BUTTON_SELECTED_BORDER_COLOR})`,
|
|
34
|
-
borderStartEndRadius: "var(--ds-
|
|
35
|
-
borderStartStartRadius: "var(--ds-
|
|
34
|
+
borderStartEndRadius: "var(--ds-radius-xsmall, 1px)",
|
|
35
|
+
borderStartStartRadius: "var(--ds-radius-xsmall, 1px)",
|
|
36
36
|
content: '""',
|
|
37
37
|
insetBlockEnd: 0,
|
|
38
38
|
insetInlineEnd: "var(--ds-space-050, 4px)",
|
|
@@ -47,7 +47,7 @@ const productHomeButtonStyles = css({
|
|
|
47
47
|
alignItems: 'center',
|
|
48
48
|
background: 'none',
|
|
49
49
|
border: 0,
|
|
50
|
-
borderRadius: "var(--ds-
|
|
50
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
51
51
|
color: 'inherit',
|
|
52
52
|
cursor: 'pointer',
|
|
53
53
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -31,7 +31,7 @@ const productHomeButtonStyles = css({
|
|
|
31
31
|
alignItems: 'center',
|
|
32
32
|
background: 'none',
|
|
33
33
|
border: 0,
|
|
34
|
-
borderRadius: "var(--ds-
|
|
34
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
35
35
|
color: 'inherit',
|
|
36
36
|
cursor: 'pointer',
|
|
37
37
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -26,7 +26,7 @@ const productHomeButtonStyles = css({
|
|
|
26
26
|
alignItems: 'center',
|
|
27
27
|
background: 'none',
|
|
28
28
|
border: 0,
|
|
29
|
-
borderRadius: "var(--ds-
|
|
29
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
30
30
|
color: 'inherit',
|
|
31
31
|
cursor: 'pointer',
|
|
32
32
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -86,7 +86,7 @@ const productIconStyles = css({
|
|
|
86
86
|
display: 'flex',
|
|
87
87
|
width: 28,
|
|
88
88
|
height: 28,
|
|
89
|
-
borderRadius: "var(--ds-
|
|
89
|
+
borderRadius: "var(--ds-radius-full, 50%)",
|
|
90
90
|
opacity: 0.15,
|
|
91
91
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
92
92
|
'& > *': {
|
|
@@ -110,7 +110,7 @@ const siteTitleStyles = css({
|
|
|
110
110
|
width: '100%',
|
|
111
111
|
height: 14,
|
|
112
112
|
backgroundColor: `var(${VAR_SITE_TITLE_BG_COLOR_AFTER})`,
|
|
113
|
-
borderRadius: "var(--ds-
|
|
113
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
114
114
|
content: '""'
|
|
115
115
|
}
|
|
116
116
|
});
|
|
@@ -10,7 +10,7 @@ const skeletonCreateButtonStyles = css({
|
|
|
10
10
|
padding: `0 ${"var(--ds-space-150, 12px)"}`,
|
|
11
11
|
alignSelf: 'center',
|
|
12
12
|
border: 0,
|
|
13
|
-
borderRadius: "var(--ds-
|
|
13
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
14
14
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
15
15
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
16
16
|
pointerEvents: 'none',
|
|
@@ -9,7 +9,7 @@ const skeletonIconButtonStyles = css({
|
|
|
9
9
|
margin: 0,
|
|
10
10
|
padding: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-075, 6px)"}`,
|
|
11
11
|
border: 0,
|
|
12
|
-
borderRadius: "var(--ds-
|
|
12
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
13
13
|
pointerEvents: 'none',
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
15
15
|
':focus, :active, :hover': {
|
|
@@ -26,7 +26,7 @@ const skeletonIconButtonStyles = css({
|
|
|
26
26
|
'& > img': {
|
|
27
27
|
width: 24,
|
|
28
28
|
height: 24,
|
|
29
|
-
borderRadius: "var(--ds-
|
|
29
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
30
30
|
verticalAlign: 'middle'
|
|
31
31
|
}
|
|
32
32
|
});
|
|
@@ -34,8 +34,8 @@ const isHighlightedStyles = css({
|
|
|
34
34
|
height: 3,
|
|
35
35
|
position: 'absolute',
|
|
36
36
|
backgroundColor: `var(${VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR})`,
|
|
37
|
-
borderStartEndRadius: "var(--ds-
|
|
38
|
-
borderStartStartRadius: "var(--ds-
|
|
37
|
+
borderStartEndRadius: "var(--ds-radius-xsmall, 1px)",
|
|
38
|
+
borderStartStartRadius: "var(--ds-radius-xsmall, 1px)",
|
|
39
39
|
content: '""',
|
|
40
40
|
insetBlockEnd: 0,
|
|
41
41
|
insetInlineStart: "var(--ds-space-025, 2px)"
|
|
@@ -65,7 +65,7 @@ const isDropdownButtonStyles = css({
|
|
|
65
65
|
borderBlockEnd: '2px solid',
|
|
66
66
|
borderColor: `var(${VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR})`,
|
|
67
67
|
borderInlineEnd: '2px solid',
|
|
68
|
-
borderRadius: "var(--ds-
|
|
68
|
+
borderRadius: "var(--ds-radius-xsmall, 1px)",
|
|
69
69
|
content: '""',
|
|
70
70
|
insetBlockStart: 'calc(50% - 4px)',
|
|
71
71
|
insetInlineStart: 'calc(100% - 3px)',
|
|
@@ -14,7 +14,7 @@ const skeletonSwitcherButtonStyles = css({
|
|
|
14
14
|
marginRight: "var(--ds-space-050, 4px)",
|
|
15
15
|
padding: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-075, 6px)"}`,
|
|
16
16
|
border: 0,
|
|
17
|
-
borderRadius: "var(--ds-
|
|
17
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
18
18
|
pointerEvents: 'none',
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
20
20
|
':focus, :active, :hover': {
|
|
@@ -36,7 +36,7 @@ const skeletonSwitcherButtonStyles = css({
|
|
|
36
36
|
'& > img': {
|
|
37
37
|
width: 24,
|
|
38
38
|
height: 24,
|
|
39
|
-
borderRadius: "var(--ds-
|
|
39
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
40
40
|
verticalAlign: 'middle'
|
|
41
41
|
}
|
|
42
42
|
});
|
|
@@ -10,7 +10,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
10
10
|
import { useTheme } from '../../theme';
|
|
11
11
|
var buttonHeight = "var(--ds-space-400, 32px)";
|
|
12
12
|
var skeletonStyles = css({
|
|
13
|
-
borderRadius: "var(--ds-
|
|
13
|
+
borderRadius: "var(--ds-radius-full, 50%)",
|
|
14
14
|
opacity: 0.15
|
|
15
15
|
});
|
|
16
16
|
|
|
@@ -9,7 +9,7 @@ export var getIconButtonTheme = function getIconButtonTheme(_ref) {
|
|
|
9
9
|
spinnerStyles = _current.spinnerStyles;
|
|
10
10
|
return {
|
|
11
11
|
buttonStyles: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, buttonStyles), {}, {
|
|
12
|
-
borderRadius: "var(--ds-
|
|
12
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
13
13
|
display: 'flex',
|
|
14
14
|
margin: "0 ".concat("var(--ds-space-025, 2px)"),
|
|
15
15
|
// TODO Delete this comment after verifying space token -> previous value `4`
|
|
@@ -34,8 +34,8 @@ var buttonHighlightedStyles = css({
|
|
|
34
34
|
height: 3,
|
|
35
35
|
position: 'absolute',
|
|
36
36
|
backgroundColor: "var(".concat(VAR_BUTTON_SELECTED_BORDER_COLOR, ")"),
|
|
37
|
-
borderStartEndRadius: "var(--ds-
|
|
38
|
-
borderStartStartRadius: "var(--ds-
|
|
37
|
+
borderStartEndRadius: "var(--ds-radius-xsmall, 1px)",
|
|
38
|
+
borderStartStartRadius: "var(--ds-radius-xsmall, 1px)",
|
|
39
39
|
content: '""',
|
|
40
40
|
insetBlockEnd: 0,
|
|
41
41
|
insetInlineEnd: "var(--ds-space-050, 4px)",
|
|
@@ -46,7 +46,7 @@ var productHomeButtonStyles = css(_defineProperty(_defineProperty({
|
|
|
46
46
|
alignItems: 'center',
|
|
47
47
|
background: 'none',
|
|
48
48
|
border: 0,
|
|
49
|
-
borderRadius: "var(--ds-
|
|
49
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
50
50
|
color: 'inherit',
|
|
51
51
|
cursor: 'pointer',
|
|
52
52
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -35,7 +35,7 @@ var productHomeButtonStyles = css(_defineProperty(_defineProperty({
|
|
|
35
35
|
alignItems: 'center',
|
|
36
36
|
background: 'none',
|
|
37
37
|
border: 0,
|
|
38
|
-
borderRadius: "var(--ds-
|
|
38
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
39
39
|
color: 'inherit',
|
|
40
40
|
cursor: 'pointer',
|
|
41
41
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -27,7 +27,7 @@ var productHomeButtonStyles = css(_defineProperty(_defineProperty({
|
|
|
27
27
|
alignItems: 'center',
|
|
28
28
|
background: 'none',
|
|
29
29
|
border: 0,
|
|
30
|
-
borderRadius: "var(--ds-
|
|
30
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
31
31
|
color: 'inherit',
|
|
32
32
|
cursor: 'pointer',
|
|
33
33
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
@@ -81,7 +81,7 @@ var productIconStyles = css(_defineProperty({
|
|
|
81
81
|
display: 'flex',
|
|
82
82
|
width: 28,
|
|
83
83
|
height: 28,
|
|
84
|
-
borderRadius: "var(--ds-
|
|
84
|
+
borderRadius: "var(--ds-radius-full, 50%)",
|
|
85
85
|
opacity: 0.15,
|
|
86
86
|
// eslint-disable-next-line @atlaskit/design-system/no-nested-styles, @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
87
87
|
'& > *': {
|
|
@@ -103,7 +103,7 @@ var siteTitleStyles = css({
|
|
|
103
103
|
width: '100%',
|
|
104
104
|
height: 14,
|
|
105
105
|
backgroundColor: "var(".concat(VAR_SITE_TITLE_BG_COLOR_AFTER, ")"),
|
|
106
|
-
borderRadius: "var(--ds-
|
|
106
|
+
borderRadius: "var(--ds-radius-small, 4px)",
|
|
107
107
|
content: '""'
|
|
108
108
|
}
|
|
109
109
|
});
|
|
@@ -10,7 +10,7 @@ var skeletonCreateButtonStyles = css({
|
|
|
10
10
|
padding: "0 ".concat("var(--ds-space-150, 12px)"),
|
|
11
11
|
alignSelf: 'center',
|
|
12
12
|
border: 0,
|
|
13
|
-
borderRadius: "var(--ds-
|
|
13
|
+
borderRadius: "var(--ds-radius-small, 3px)",
|
|
14
14
|
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
15
15
|
fontWeight: "var(--ds-font-weight-medium, 500)",
|
|
16
16
|
pointerEvents: 'none',
|
|
@@ -9,7 +9,7 @@ var skeletonIconButtonStyles = css({
|
|
|
9
9
|
margin: 0,
|
|
10
10
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-075, 6px)"),
|
|
11
11
|
border: 0,
|
|
12
|
-
borderRadius: "var(--ds-
|
|
12
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
13
13
|
pointerEvents: 'none',
|
|
14
14
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
15
15
|
':focus, :active, :hover': {
|
|
@@ -26,7 +26,7 @@ var skeletonIconButtonStyles = css({
|
|
|
26
26
|
'& > img': {
|
|
27
27
|
width: 24,
|
|
28
28
|
height: 24,
|
|
29
|
-
borderRadius: "var(--ds-
|
|
29
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
30
30
|
verticalAlign: 'middle'
|
|
31
31
|
}
|
|
32
32
|
});
|
|
@@ -37,8 +37,8 @@ var isHighlightedStyles = css({
|
|
|
37
37
|
height: 3,
|
|
38
38
|
position: 'absolute',
|
|
39
39
|
backgroundColor: "var(".concat(VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR, ")"),
|
|
40
|
-
borderStartEndRadius: "var(--ds-
|
|
41
|
-
borderStartStartRadius: "var(--ds-
|
|
40
|
+
borderStartEndRadius: "var(--ds-radius-xsmall, 1px)",
|
|
41
|
+
borderStartStartRadius: "var(--ds-radius-xsmall, 1px)",
|
|
42
42
|
content: '""',
|
|
43
43
|
insetBlockEnd: 0,
|
|
44
44
|
insetInlineStart: "var(--ds-space-025, 2px)"
|
|
@@ -68,7 +68,7 @@ var isDropdownButtonStyles = css({
|
|
|
68
68
|
borderBlockEnd: '2px solid',
|
|
69
69
|
borderColor: "var(".concat(VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR, ")"),
|
|
70
70
|
borderInlineEnd: '2px solid',
|
|
71
|
-
borderRadius: "var(--ds-
|
|
71
|
+
borderRadius: "var(--ds-radius-xsmall, 1px)",
|
|
72
72
|
content: '""',
|
|
73
73
|
insetBlockStart: 'calc(50% - 4px)',
|
|
74
74
|
insetInlineStart: 'calc(100% - 3px)',
|
|
@@ -14,7 +14,7 @@ var skeletonSwitcherButtonStyles = css({
|
|
|
14
14
|
marginRight: "var(--ds-space-050, 4px)",
|
|
15
15
|
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-075, 6px)"),
|
|
16
16
|
border: 0,
|
|
17
|
-
borderRadius: "var(--ds-
|
|
17
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
18
18
|
pointerEvents: 'none',
|
|
19
19
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors -- Ignored via go/DSP-18766
|
|
20
20
|
':focus, :active, :hover': {
|
|
@@ -36,7 +36,7 @@ var skeletonSwitcherButtonStyles = css({
|
|
|
36
36
|
'& > img': {
|
|
37
37
|
width: 24,
|
|
38
38
|
height: 24,
|
|
39
|
-
borderRadius: "var(--ds-
|
|
39
|
+
borderRadius: "var(--ds-radius-full, 100%)",
|
|
40
40
|
verticalAlign: 'middle'
|
|
41
41
|
}
|
|
42
42
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.16",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian apps.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -24,14 +24,6 @@
|
|
|
24
24
|
"**/*.compiled.css"
|
|
25
25
|
],
|
|
26
26
|
"atlaskit:src": "src/index.tsx",
|
|
27
|
-
"af:exports": {
|
|
28
|
-
".": "./src/index.tsx",
|
|
29
|
-
"./skeleton": "./src/skeleton.tsx",
|
|
30
|
-
"./skeleton-help-button": "./src/skeleton-help-button.tsx",
|
|
31
|
-
"./skeleton-settings-button": "./src/skeleton-settings-button.tsx",
|
|
32
|
-
"./skeleton-notification-button": "./src/skeleton-notification-button.tsx",
|
|
33
|
-
"./skeleton-switcher-button": "./src/skeleton-switcher-button.tsx"
|
|
34
|
-
},
|
|
35
27
|
"atlassian": {
|
|
36
28
|
"team": "Design System Team",
|
|
37
29
|
"website": {
|
|
@@ -51,9 +43,9 @@
|
|
|
51
43
|
"@atlaskit/logo": "^19.7.0",
|
|
52
44
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
53
45
|
"@atlaskit/popup": "^4.3.0",
|
|
54
|
-
"@atlaskit/primitives": "^14.
|
|
46
|
+
"@atlaskit/primitives": "^14.13.0",
|
|
55
47
|
"@atlaskit/theme": "^20.0.0",
|
|
56
|
-
"@atlaskit/tokens": "^6.
|
|
48
|
+
"@atlaskit/tokens": "^6.2.0",
|
|
57
49
|
"@atlaskit/tooltip": "^20.4.0",
|
|
58
50
|
"@atlaskit/width-detector": "^5.0.0",
|
|
59
51
|
"@babel/runtime": "^7.0.0",
|
|
@@ -76,13 +68,13 @@
|
|
|
76
68
|
"@atlaskit/drawer": "^11.0.0",
|
|
77
69
|
"@atlaskit/dropdown-menu": "^16.3.0",
|
|
78
70
|
"@atlaskit/form": "^12.4.0",
|
|
79
|
-
"@atlaskit/menu": "^8.
|
|
71
|
+
"@atlaskit/menu": "^8.4.0",
|
|
80
72
|
"@atlaskit/notification-indicator": "^10.0.0",
|
|
81
73
|
"@atlaskit/notification-log-client": "^6.2.0",
|
|
82
|
-
"@atlaskit/section-message": "^8.
|
|
74
|
+
"@atlaskit/section-message": "^8.7.0",
|
|
83
75
|
"@atlaskit/spinner": "^19.0.0",
|
|
84
76
|
"@atlaskit/textfield": "^8.0.0",
|
|
85
|
-
"@atlassian/switcher": "^38.
|
|
77
|
+
"@atlassian/switcher": "^38.11.0",
|
|
86
78
|
"@atlassian/switcher-test-utils": "^7.1.0",
|
|
87
79
|
"@testing-library/react": "^13.4.0",
|
|
88
80
|
"@testing-library/react-hooks": "^8.0.1",
|