@atlaskit/atlassian-navigation 2.6.4 → 2.6.6
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 +12 -0
- package/dist/cjs/components/AtlassianNavigation/index.js +1 -0
- package/dist/cjs/components/AtlassianNavigation/skeleton.js +1 -0
- package/dist/cjs/components/BadgeContainer/index.js +2 -2
- package/dist/cjs/components/Create/skeleton.js +1 -1
- package/dist/cjs/components/PrimaryDropdownButton/index.js +2 -2
- package/dist/cjs/components/Search/index.js +3 -1
- package/dist/cjs/components/Search/skeleton.js +1 -1
- package/dist/cjs/components/SkeletonCreateButton/index.js +2 -2
- package/dist/cjs/components/SkeletonIconButton/index.js +2 -2
- package/dist/cjs/components/SkeletonPrimaryButton/index.js +7 -5
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/components/AtlassianNavigation/index.js +1 -0
- package/dist/es2019/components/AtlassianNavigation/skeleton.js +1 -0
- package/dist/es2019/components/BadgeContainer/index.js +2 -2
- package/dist/es2019/components/Create/skeleton.js +1 -1
- package/dist/es2019/components/PrimaryDropdownButton/index.js +2 -2
- package/dist/es2019/components/Search/index.js +3 -1
- package/dist/es2019/components/Search/skeleton.js +1 -1
- package/dist/es2019/components/SkeletonCreateButton/index.js +2 -2
- package/dist/es2019/components/SkeletonIconButton/index.js +2 -2
- package/dist/es2019/components/SkeletonPrimaryButton/index.js +7 -5
- package/dist/es2019/version.json +1 -1
- package/dist/esm/components/AtlassianNavigation/index.js +1 -0
- package/dist/esm/components/AtlassianNavigation/skeleton.js +1 -0
- package/dist/esm/components/BadgeContainer/index.js +2 -2
- package/dist/esm/components/Create/skeleton.js +1 -1
- package/dist/esm/components/PrimaryDropdownButton/index.js +2 -2
- package/dist/esm/components/Search/index.js +3 -1
- package/dist/esm/components/Search/skeleton.js +1 -1
- package/dist/esm/components/SkeletonCreateButton/index.js +2 -2
- package/dist/esm/components/SkeletonIconButton/index.js +2 -2
- package/dist/esm/components/SkeletonPrimaryButton/index.js +7 -5
- package/dist/esm/version.json +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/atlassian-navigation
|
|
2
2
|
|
|
3
|
+
## 2.6.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`fe65eb90595`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe65eb90595) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
|
|
8
|
+
|
|
9
|
+
## 2.6.5
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 2.6.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -9,8 +9,8 @@ var _react = require("@emotion/react");
|
|
|
9
9
|
|
|
10
10
|
var badgeContainerStyles = (0, _react.css)({
|
|
11
11
|
position: 'absolute',
|
|
12
|
-
top:
|
|
13
|
-
right:
|
|
12
|
+
top: "calc(-1 * ".concat("var(--ds-space-050, 4px)", ")"),
|
|
13
|
+
right: "calc(-1 * ".concat("var(--ds-space-025, 2px)", ")"),
|
|
14
14
|
pointerEvents: 'none'
|
|
15
15
|
});
|
|
16
16
|
var containerStyles = (0, _react.css)({
|
|
@@ -13,8 +13,8 @@ var _PrimaryButton = require("../PrimaryButton");
|
|
|
13
13
|
/** @jsx jsx */
|
|
14
14
|
|
|
15
15
|
var chevronIconStyles = (0, _react2.css)({
|
|
16
|
-
marginRight:
|
|
17
|
-
marginLeft:
|
|
16
|
+
marginRight: "calc(-1 * ".concat("var(--ds-space-100, 8px)", ")"),
|
|
17
|
+
marginLeft: "calc(-1 * ".concat("var(--ds-space-100, 8px)", ")"),
|
|
18
18
|
opacity: 0.51
|
|
19
19
|
});
|
|
20
20
|
|
|
@@ -18,7 +18,7 @@ var _excluded = ["placeholder", "tooltip", "label", "value"];
|
|
|
18
18
|
/** @jsx jsx */
|
|
19
19
|
var searchInputContainerStyles = (0, _react2.css)((0, _defineProperty2.default)({
|
|
20
20
|
marginRight: "var(--ds-space-100, 8px)",
|
|
21
|
-
marginLeft:
|
|
21
|
+
marginLeft: "var(--ds-space-250, 20px)",
|
|
22
22
|
position: 'relative'
|
|
23
23
|
}, "@media (max-width: ".concat(_constants.CREATE_BREAKPOINT - 1, "px)"), {
|
|
24
24
|
display: 'none !important'
|
|
@@ -27,7 +27,9 @@ var searchInputIconStyles = (0, _react2.css)({
|
|
|
27
27
|
width: '20px',
|
|
28
28
|
height: '20px',
|
|
29
29
|
position: 'absolute',
|
|
30
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
30
31
|
top: '5px',
|
|
32
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
31
33
|
left: '10px',
|
|
32
34
|
pointerEvents: 'none'
|
|
33
35
|
});
|
|
@@ -15,7 +15,7 @@ var _skeleton = require("../IconButton/skeleton");
|
|
|
15
15
|
|
|
16
16
|
var searchInputContainerStyles = (0, _react2.css)((0, _defineProperty2.default)({
|
|
17
17
|
marginRight: "var(--ds-space-100, 8px)",
|
|
18
|
-
marginLeft:
|
|
18
|
+
marginLeft: "var(--ds-space-250, 20px)",
|
|
19
19
|
position: 'relative'
|
|
20
20
|
}, "@media (max-width: ".concat(_constants.CREATE_BREAKPOINT - 1, "px)"), {
|
|
21
21
|
display: 'none !important'
|
|
@@ -10,7 +10,7 @@ var _theme = require("../../theme");
|
|
|
10
10
|
|
|
11
11
|
var skeletonCreateButtonStyles = (0, _react.css)({
|
|
12
12
|
height: 32,
|
|
13
|
-
padding:
|
|
13
|
+
padding: "0 ".concat("var(--ds-space-150, 12px)"),
|
|
14
14
|
alignSelf: 'center',
|
|
15
15
|
border: 0,
|
|
16
16
|
borderRadius: 3,
|
|
@@ -25,7 +25,7 @@ var skeletonCreateButtonStyles = (0, _react.css)({
|
|
|
25
25
|
},
|
|
26
26
|
// eslint-disable-next-line @repo/internal/styles/no-nested-styles
|
|
27
27
|
'&&': {
|
|
28
|
-
marginLeft:
|
|
28
|
+
marginLeft: "var(--ds-space-150, 12px)"
|
|
29
29
|
}
|
|
30
30
|
});
|
|
31
31
|
|
|
@@ -10,8 +10,8 @@ var _theme = require("../../theme");
|
|
|
10
10
|
|
|
11
11
|
var skeletonIconButtonStyles = (0, _react.css)({
|
|
12
12
|
margin: 0,
|
|
13
|
-
marginRight:
|
|
14
|
-
padding:
|
|
13
|
+
marginRight: "var(--ds-space-050, 4px)",
|
|
14
|
+
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-075, 6px)"),
|
|
15
15
|
border: 0,
|
|
16
16
|
borderRadius: '100%',
|
|
17
17
|
pointerEvents: 'none',
|
|
@@ -13,8 +13,8 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
13
13
|
var VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR = '--primary-button-before-highlighted-background-color';
|
|
14
14
|
var VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR = '--primary-button-after-dropdown-border-color';
|
|
15
15
|
var primaryButtonSkeletonStyles = (0, _react.css)({
|
|
16
|
-
margin:
|
|
17
|
-
padding:
|
|
16
|
+
margin: "0 ".concat("var(--ds-space-075, 6px)"),
|
|
17
|
+
padding: "0 ".concat("var(--ds-space-050, 4px)"),
|
|
18
18
|
position: 'relative',
|
|
19
19
|
appearance: 'none',
|
|
20
20
|
border: 0,
|
|
@@ -36,7 +36,7 @@ var isHighlightedStyles = (0, _react.css)({
|
|
|
36
36
|
height: 3,
|
|
37
37
|
position: 'absolute',
|
|
38
38
|
bottom: 0,
|
|
39
|
-
left:
|
|
39
|
+
left: "var(--ds-space-025, 2px)",
|
|
40
40
|
backgroundColor: "var(".concat(VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR, ")"),
|
|
41
41
|
borderTopLeftRadius: 1,
|
|
42
42
|
borderTopRightRadius: 1,
|
|
@@ -45,21 +45,23 @@ var isHighlightedStyles = (0, _react.css)({
|
|
|
45
45
|
});
|
|
46
46
|
var isHighlightedAndDropdownButtonStyles = (0, _react.css)({
|
|
47
47
|
'&:before': {
|
|
48
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
48
49
|
right: -10
|
|
49
50
|
}
|
|
50
51
|
});
|
|
51
52
|
var isHighlightedNotDropdownButtonStyles = (0, _react.css)({
|
|
52
53
|
'&:before': {
|
|
53
|
-
right:
|
|
54
|
+
right: "var(--ds-space-025, 2px)"
|
|
54
55
|
}
|
|
55
56
|
});
|
|
56
57
|
var isDropdownButtonStyles = (0, _react.css)({
|
|
58
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
57
59
|
marginRight: 18,
|
|
58
60
|
'&:after': {
|
|
59
61
|
display: 'inline-block',
|
|
60
62
|
width: 4,
|
|
61
63
|
height: 4,
|
|
62
|
-
marginLeft:
|
|
64
|
+
marginLeft: "var(--ds-space-050, 4px)",
|
|
63
65
|
position: 'absolute',
|
|
64
66
|
top: 'calc(50% - 4px)',
|
|
65
67
|
left: 'calc(100% - 3px)',
|
package/dist/cjs/version.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { css, jsx } from '@emotion/react';
|
|
3
3
|
const badgeContainerStyles = css({
|
|
4
4
|
position: 'absolute',
|
|
5
|
-
top:
|
|
6
|
-
right:
|
|
5
|
+
top: `calc(-1 * ${"var(--ds-space-050, 4px)"})`,
|
|
6
|
+
right: `calc(-1 * ${"var(--ds-space-025, 2px)"})`,
|
|
7
7
|
pointerEvents: 'none'
|
|
8
8
|
});
|
|
9
9
|
const containerStyles = css({
|
|
@@ -5,8 +5,8 @@ import { css, jsx } from '@emotion/react';
|
|
|
5
5
|
import ChevronIcon from '@atlaskit/icon/glyph/chevron-down';
|
|
6
6
|
import { PrimaryButton } from '../PrimaryButton';
|
|
7
7
|
const chevronIconStyles = css({
|
|
8
|
-
marginRight:
|
|
9
|
-
marginLeft:
|
|
8
|
+
marginRight: `calc(-1 * ${"var(--ds-space-100, 8px)"})`,
|
|
9
|
+
marginLeft: `calc(-1 * ${"var(--ds-space-100, 8px)"})`,
|
|
10
10
|
opacity: 0.51
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -8,7 +8,7 @@ import { useTheme } from '../../theme';
|
|
|
8
8
|
import { IconButton } from '../IconButton';
|
|
9
9
|
const searchInputContainerStyles = css({
|
|
10
10
|
marginRight: "var(--ds-space-100, 8px)",
|
|
11
|
-
marginLeft:
|
|
11
|
+
marginLeft: "var(--ds-space-250, 20px)",
|
|
12
12
|
position: 'relative',
|
|
13
13
|
// eslint-disable-next-line @repo/internal/styles/no-nested-styles
|
|
14
14
|
[`@media (max-width: ${CREATE_BREAKPOINT - 1}px)`]: {
|
|
@@ -19,7 +19,9 @@ const searchInputIconStyles = css({
|
|
|
19
19
|
width: '20px',
|
|
20
20
|
height: '20px',
|
|
21
21
|
position: 'absolute',
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
22
23
|
top: '5px',
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
23
25
|
left: '10px',
|
|
24
26
|
pointerEvents: 'none'
|
|
25
27
|
});
|
|
@@ -6,7 +6,7 @@ import { useTheme } from '../../theme';
|
|
|
6
6
|
import { IconButtonSkeleton } from '../IconButton/skeleton';
|
|
7
7
|
const searchInputContainerStyles = css({
|
|
8
8
|
marginRight: "var(--ds-space-100, 8px)",
|
|
9
|
-
marginLeft:
|
|
9
|
+
marginLeft: "var(--ds-space-250, 20px)",
|
|
10
10
|
position: 'relative',
|
|
11
11
|
// eslint-disable-next-line @repo/internal/styles/no-nested-styles
|
|
12
12
|
[`@media (max-width: ${CREATE_BREAKPOINT - 1}px)`]: {
|
|
@@ -3,7 +3,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
3
3
|
import { useTheme } from '../../theme';
|
|
4
4
|
const skeletonCreateButtonStyles = css({
|
|
5
5
|
height: 32,
|
|
6
|
-
padding:
|
|
6
|
+
padding: `0 ${"var(--ds-space-150, 12px)"}`,
|
|
7
7
|
alignSelf: 'center',
|
|
8
8
|
border: 0,
|
|
9
9
|
borderRadius: 3,
|
|
@@ -18,7 +18,7 @@ const skeletonCreateButtonStyles = css({
|
|
|
18
18
|
},
|
|
19
19
|
// eslint-disable-next-line @repo/internal/styles/no-nested-styles
|
|
20
20
|
'&&': {
|
|
21
|
-
marginLeft:
|
|
21
|
+
marginLeft: "var(--ds-space-150, 12px)"
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
|
|
@@ -3,8 +3,8 @@ import { css, jsx } from '@emotion/react';
|
|
|
3
3
|
import { useTheme } from '../../theme';
|
|
4
4
|
const skeletonIconButtonStyles = css({
|
|
5
5
|
margin: 0,
|
|
6
|
-
marginRight:
|
|
7
|
-
padding:
|
|
6
|
+
marginRight: "var(--ds-space-050, 4px)",
|
|
7
|
+
padding: `${"var(--ds-space-050, 4px)"} ${"var(--ds-space-075, 6px)"}`,
|
|
8
8
|
border: 0,
|
|
9
9
|
borderRadius: '100%',
|
|
10
10
|
pointerEvents: 'none',
|
|
@@ -4,8 +4,8 @@ import { useTheme } from '../../theme';
|
|
|
4
4
|
const VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR = '--primary-button-before-highlighted-background-color';
|
|
5
5
|
const VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR = '--primary-button-after-dropdown-border-color';
|
|
6
6
|
const primaryButtonSkeletonStyles = css({
|
|
7
|
-
margin:
|
|
8
|
-
padding:
|
|
7
|
+
margin: `0 ${"var(--ds-space-075, 6px)"}`,
|
|
8
|
+
padding: `0 ${"var(--ds-space-050, 4px)"}`,
|
|
9
9
|
position: 'relative',
|
|
10
10
|
appearance: 'none',
|
|
11
11
|
border: 0,
|
|
@@ -27,7 +27,7 @@ const isHighlightedStyles = css({
|
|
|
27
27
|
height: 3,
|
|
28
28
|
position: 'absolute',
|
|
29
29
|
bottom: 0,
|
|
30
|
-
left:
|
|
30
|
+
left: "var(--ds-space-025, 2px)",
|
|
31
31
|
backgroundColor: `var(${VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR})`,
|
|
32
32
|
borderTopLeftRadius: 1,
|
|
33
33
|
borderTopRightRadius: 1,
|
|
@@ -36,21 +36,23 @@ const isHighlightedStyles = css({
|
|
|
36
36
|
});
|
|
37
37
|
const isHighlightedAndDropdownButtonStyles = css({
|
|
38
38
|
'&:before': {
|
|
39
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
39
40
|
right: -10
|
|
40
41
|
}
|
|
41
42
|
});
|
|
42
43
|
const isHighlightedNotDropdownButtonStyles = css({
|
|
43
44
|
'&:before': {
|
|
44
|
-
right:
|
|
45
|
+
right: "var(--ds-space-025, 2px)"
|
|
45
46
|
}
|
|
46
47
|
});
|
|
47
48
|
const isDropdownButtonStyles = css({
|
|
49
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
48
50
|
marginRight: 18,
|
|
49
51
|
'&:after': {
|
|
50
52
|
display: 'inline-block',
|
|
51
53
|
width: 4,
|
|
52
54
|
height: 4,
|
|
53
|
-
marginLeft:
|
|
55
|
+
marginLeft: "var(--ds-space-050, 4px)",
|
|
54
56
|
position: 'absolute',
|
|
55
57
|
top: 'calc(50% - 4px)',
|
|
56
58
|
left: 'calc(100% - 3px)',
|
package/dist/es2019/version.json
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { css, jsx } from '@emotion/react';
|
|
3
3
|
var badgeContainerStyles = css({
|
|
4
4
|
position: 'absolute',
|
|
5
|
-
top:
|
|
6
|
-
right:
|
|
5
|
+
top: "calc(-1 * ".concat("var(--ds-space-050, 4px)", ")"),
|
|
6
|
+
right: "calc(-1 * ".concat("var(--ds-space-025, 2px)", ")"),
|
|
7
7
|
pointerEvents: 'none'
|
|
8
8
|
});
|
|
9
9
|
var containerStyles = css({
|
|
@@ -5,8 +5,8 @@ import { css, jsx } from '@emotion/react';
|
|
|
5
5
|
import ChevronIcon from '@atlaskit/icon/glyph/chevron-down';
|
|
6
6
|
import { PrimaryButton } from '../PrimaryButton';
|
|
7
7
|
var chevronIconStyles = css({
|
|
8
|
-
marginRight:
|
|
9
|
-
marginLeft:
|
|
8
|
+
marginRight: "calc(-1 * ".concat("var(--ds-space-100, 8px)", ")"),
|
|
9
|
+
marginLeft: "calc(-1 * ".concat("var(--ds-space-100, 8px)", ")"),
|
|
10
10
|
opacity: 0.51
|
|
11
11
|
});
|
|
12
12
|
|
|
@@ -11,7 +11,7 @@ import { useTheme } from '../../theme';
|
|
|
11
11
|
import { IconButton } from '../IconButton';
|
|
12
12
|
var searchInputContainerStyles = css(_defineProperty({
|
|
13
13
|
marginRight: "var(--ds-space-100, 8px)",
|
|
14
|
-
marginLeft:
|
|
14
|
+
marginLeft: "var(--ds-space-250, 20px)",
|
|
15
15
|
position: 'relative'
|
|
16
16
|
}, "@media (max-width: ".concat(CREATE_BREAKPOINT - 1, "px)"), {
|
|
17
17
|
display: 'none !important'
|
|
@@ -20,7 +20,9 @@ var searchInputIconStyles = css({
|
|
|
20
20
|
width: '20px',
|
|
21
21
|
height: '20px',
|
|
22
22
|
position: 'absolute',
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
23
24
|
top: '5px',
|
|
25
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
24
26
|
left: '10px',
|
|
25
27
|
pointerEvents: 'none'
|
|
26
28
|
});
|
|
@@ -7,7 +7,7 @@ import { useTheme } from '../../theme';
|
|
|
7
7
|
import { IconButtonSkeleton } from '../IconButton/skeleton';
|
|
8
8
|
var searchInputContainerStyles = css(_defineProperty({
|
|
9
9
|
marginRight: "var(--ds-space-100, 8px)",
|
|
10
|
-
marginLeft:
|
|
10
|
+
marginLeft: "var(--ds-space-250, 20px)",
|
|
11
11
|
position: 'relative'
|
|
12
12
|
}, "@media (max-width: ".concat(CREATE_BREAKPOINT - 1, "px)"), {
|
|
13
13
|
display: 'none !important'
|
|
@@ -3,7 +3,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
3
3
|
import { useTheme } from '../../theme';
|
|
4
4
|
var skeletonCreateButtonStyles = css({
|
|
5
5
|
height: 32,
|
|
6
|
-
padding:
|
|
6
|
+
padding: "0 ".concat("var(--ds-space-150, 12px)"),
|
|
7
7
|
alignSelf: 'center',
|
|
8
8
|
border: 0,
|
|
9
9
|
borderRadius: 3,
|
|
@@ -18,7 +18,7 @@ var skeletonCreateButtonStyles = css({
|
|
|
18
18
|
},
|
|
19
19
|
// eslint-disable-next-line @repo/internal/styles/no-nested-styles
|
|
20
20
|
'&&': {
|
|
21
|
-
marginLeft:
|
|
21
|
+
marginLeft: "var(--ds-space-150, 12px)"
|
|
22
22
|
}
|
|
23
23
|
});
|
|
24
24
|
|
|
@@ -3,8 +3,8 @@ import { css, jsx } from '@emotion/react';
|
|
|
3
3
|
import { useTheme } from '../../theme';
|
|
4
4
|
var skeletonIconButtonStyles = css({
|
|
5
5
|
margin: 0,
|
|
6
|
-
marginRight:
|
|
7
|
-
padding:
|
|
6
|
+
marginRight: "var(--ds-space-050, 4px)",
|
|
7
|
+
padding: "var(--ds-space-050, 4px)".concat(" ", "var(--ds-space-075, 6px)"),
|
|
8
8
|
border: 0,
|
|
9
9
|
borderRadius: '100%',
|
|
10
10
|
pointerEvents: 'none',
|
|
@@ -7,8 +7,8 @@ import { useTheme } from '../../theme';
|
|
|
7
7
|
var VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR = '--primary-button-before-highlighted-background-color';
|
|
8
8
|
var VAR_PRIMARY_BUTTON_AFTER_DROPDOWN_BORDER_COLOR = '--primary-button-after-dropdown-border-color';
|
|
9
9
|
var primaryButtonSkeletonStyles = css({
|
|
10
|
-
margin:
|
|
11
|
-
padding:
|
|
10
|
+
margin: "0 ".concat("var(--ds-space-075, 6px)"),
|
|
11
|
+
padding: "0 ".concat("var(--ds-space-050, 4px)"),
|
|
12
12
|
position: 'relative',
|
|
13
13
|
appearance: 'none',
|
|
14
14
|
border: 0,
|
|
@@ -30,7 +30,7 @@ var isHighlightedStyles = css({
|
|
|
30
30
|
height: 3,
|
|
31
31
|
position: 'absolute',
|
|
32
32
|
bottom: 0,
|
|
33
|
-
left:
|
|
33
|
+
left: "var(--ds-space-025, 2px)",
|
|
34
34
|
backgroundColor: "var(".concat(VAR_PRIMARY_BUTTON_BEFORE_HIGHLIGHTED_BACKGROUND_COLOR, ")"),
|
|
35
35
|
borderTopLeftRadius: 1,
|
|
36
36
|
borderTopRightRadius: 1,
|
|
@@ -39,21 +39,23 @@ var isHighlightedStyles = css({
|
|
|
39
39
|
});
|
|
40
40
|
var isHighlightedAndDropdownButtonStyles = css({
|
|
41
41
|
'&:before': {
|
|
42
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
42
43
|
right: -10
|
|
43
44
|
}
|
|
44
45
|
});
|
|
45
46
|
var isHighlightedNotDropdownButtonStyles = css({
|
|
46
47
|
'&:before': {
|
|
47
|
-
right:
|
|
48
|
+
right: "var(--ds-space-025, 2px)"
|
|
48
49
|
}
|
|
49
50
|
});
|
|
50
51
|
var isDropdownButtonStyles = css({
|
|
52
|
+
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
|
|
51
53
|
marginRight: 18,
|
|
52
54
|
'&:after': {
|
|
53
55
|
display: 'inline-block',
|
|
54
56
|
width: 4,
|
|
55
57
|
height: 4,
|
|
56
|
-
marginLeft:
|
|
58
|
+
marginLeft: "var(--ds-space-050, 4px)",
|
|
57
59
|
position: 'absolute',
|
|
58
60
|
top: 'calc(50% - 4px)',
|
|
59
61
|
left: 'calc(100% - 3px)',
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/atlassian-navigation",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.6",
|
|
4
4
|
"description": "A horizontal navigation component for Atlassian products.",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@atlaskit/icon": "^21.12.0",
|
|
39
39
|
"@atlaskit/logo": "*",
|
|
40
40
|
"@atlaskit/platform-feature-flags": "^0.2.0",
|
|
41
|
-
"@atlaskit/popup": "^1.
|
|
42
|
-
"@atlaskit/primitives": "^0.
|
|
41
|
+
"@atlaskit/popup": "^1.7.0",
|
|
42
|
+
"@atlaskit/primitives": "^0.12.0",
|
|
43
43
|
"@atlaskit/theme": "^12.5.0",
|
|
44
44
|
"@atlaskit/tokens": "^1.5.0",
|
|
45
45
|
"@atlaskit/tooltip": "^17.8.0",
|
|
@@ -92,7 +92,8 @@
|
|
|
92
92
|
"static"
|
|
93
93
|
],
|
|
94
94
|
"design-tokens": [
|
|
95
|
-
"color"
|
|
95
|
+
"color",
|
|
96
|
+
"spacing"
|
|
96
97
|
],
|
|
97
98
|
"deprecation": "no-deprecated-imports"
|
|
98
99
|
}
|