@atlaskit/atlassian-navigation 2.6.5 → 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.
Files changed (35) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/cjs/components/AtlassianNavigation/index.js +1 -0
  3. package/dist/cjs/components/AtlassianNavigation/skeleton.js +1 -0
  4. package/dist/cjs/components/BadgeContainer/index.js +2 -2
  5. package/dist/cjs/components/Create/skeleton.js +1 -1
  6. package/dist/cjs/components/PrimaryDropdownButton/index.js +2 -2
  7. package/dist/cjs/components/Search/index.js +3 -1
  8. package/dist/cjs/components/Search/skeleton.js +1 -1
  9. package/dist/cjs/components/SkeletonCreateButton/index.js +2 -2
  10. package/dist/cjs/components/SkeletonIconButton/index.js +2 -2
  11. package/dist/cjs/components/SkeletonPrimaryButton/index.js +7 -5
  12. package/dist/cjs/version.json +1 -1
  13. package/dist/es2019/components/AtlassianNavigation/index.js +1 -0
  14. package/dist/es2019/components/AtlassianNavigation/skeleton.js +1 -0
  15. package/dist/es2019/components/BadgeContainer/index.js +2 -2
  16. package/dist/es2019/components/Create/skeleton.js +1 -1
  17. package/dist/es2019/components/PrimaryDropdownButton/index.js +2 -2
  18. package/dist/es2019/components/Search/index.js +3 -1
  19. package/dist/es2019/components/Search/skeleton.js +1 -1
  20. package/dist/es2019/components/SkeletonCreateButton/index.js +2 -2
  21. package/dist/es2019/components/SkeletonIconButton/index.js +2 -2
  22. package/dist/es2019/components/SkeletonPrimaryButton/index.js +7 -5
  23. package/dist/es2019/version.json +1 -1
  24. package/dist/esm/components/AtlassianNavigation/index.js +1 -0
  25. package/dist/esm/components/AtlassianNavigation/skeleton.js +1 -0
  26. package/dist/esm/components/BadgeContainer/index.js +2 -2
  27. package/dist/esm/components/Create/skeleton.js +1 -1
  28. package/dist/esm/components/PrimaryDropdownButton/index.js +2 -2
  29. package/dist/esm/components/Search/index.js +3 -1
  30. package/dist/esm/components/Search/skeleton.js +1 -1
  31. package/dist/esm/components/SkeletonCreateButton/index.js +2 -2
  32. package/dist/esm/components/SkeletonIconButton/index.js +2 -2
  33. package/dist/esm/components/SkeletonPrimaryButton/index.js +7 -5
  34. package/dist/esm/version.json +1 -1
  35. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
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
+
3
9
  ## 2.6.5
4
10
 
5
11
  ### Patch Changes
@@ -37,6 +37,7 @@ var containerStyles = (0, _react.css)({
37
37
  '&::after': {
38
38
  height: "var(--ds-space-050, 4px)",
39
39
  position: 'absolute',
40
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
40
41
  top: '100%',
41
42
  right: 0,
42
43
  left: 0,
@@ -38,6 +38,7 @@ var containerStyles = (0, _react.css)({
38
38
  '&::after': {
39
39
  height: "var(--ds-space-050, 4px)",
40
40
  position: 'absolute',
41
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
41
42
  top: '100%',
42
43
  right: 0,
43
44
  left: 0,
@@ -9,8 +9,8 @@ var _react = require("@emotion/react");
9
9
 
10
10
  var badgeContainerStyles = (0, _react.css)({
11
11
  position: 'absolute',
12
- top: '-4px',
13
- right: '-2px',
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)({
@@ -17,7 +17,7 @@ var buttonHeight = "var(--ds-space-400, 32px)";
17
17
  var skeletonStyles = (0, _react2.css)({
18
18
  width: 68,
19
19
  height: buttonHeight,
20
- marginLeft: 12,
20
+ marginLeft: "var(--ds-space-150, 12px)",
21
21
  borderRadius: 3,
22
22
  opacity: 0.15
23
23
  });
@@ -13,8 +13,8 @@ var _PrimaryButton = require("../PrimaryButton");
13
13
  /** @jsx jsx */
14
14
 
15
15
  var chevronIconStyles = (0, _react2.css)({
16
- marginRight: '-8px',
17
- marginLeft: '-8px',
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: 20,
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: 20,
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: '0 12px',
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: 12
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: 4,
14
- padding: '4px 6px',
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: '0 6px',
17
- padding: '0 4px',
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: 2,
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: 2
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: 4,
64
+ marginLeft: "var(--ds-space-050, 4px)",
63
65
  position: 'absolute',
64
66
  top: 'calc(50% - 4px)',
65
67
  left: 'calc(100% - 3px)',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "2.6.5",
3
+ "version": "2.6.6",
4
4
  "sideEffects": false
5
5
  }
@@ -30,6 +30,7 @@ const containerStyles = css({
30
30
  '&::after': {
31
31
  height: "var(--ds-space-050, 4px)",
32
32
  position: 'absolute',
33
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
33
34
  top: '100%',
34
35
  right: 0,
35
36
  left: 0,
@@ -31,6 +31,7 @@ const containerStyles = css({
31
31
  '&::after': {
32
32
  height: "var(--ds-space-050, 4px)",
33
33
  position: 'absolute',
34
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
34
35
  top: '100%',
35
36
  right: 0,
36
37
  left: 0,
@@ -2,8 +2,8 @@
2
2
  import { css, jsx } from '@emotion/react';
3
3
  const badgeContainerStyles = css({
4
4
  position: 'absolute',
5
- top: '-4px',
6
- right: '-2px',
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({
@@ -8,7 +8,7 @@ const buttonHeight = "var(--ds-space-400, 32px)";
8
8
  const skeletonStyles = css({
9
9
  width: 68,
10
10
  height: buttonHeight,
11
- marginLeft: 12,
11
+ marginLeft: "var(--ds-space-150, 12px)",
12
12
  borderRadius: 3,
13
13
  opacity: 0.15
14
14
  });
@@ -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: '-8px',
9
- marginLeft: '-8px',
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: 20,
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: 20,
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: '0 12px',
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: 12
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: 4,
7
- padding: '4px 6px',
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: '0 6px',
8
- padding: '0 4px',
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: 2,
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: 2
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: 4,
55
+ marginLeft: "var(--ds-space-050, 4px)",
54
56
  position: 'absolute',
55
57
  top: 'calc(50% - 4px)',
56
58
  left: 'calc(100% - 3px)',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "2.6.5",
3
+ "version": "2.6.6",
4
4
  "sideEffects": false
5
5
  }
@@ -30,6 +30,7 @@ var containerStyles = css({
30
30
  '&::after': {
31
31
  height: "var(--ds-space-050, 4px)",
32
32
  position: 'absolute',
33
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
33
34
  top: '100%',
34
35
  right: 0,
35
36
  left: 0,
@@ -31,6 +31,7 @@ var containerStyles = css({
31
31
  '&::after': {
32
32
  height: "var(--ds-space-050, 4px)",
33
33
  position: 'absolute',
34
+ // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage-spacing
34
35
  top: '100%',
35
36
  right: 0,
36
37
  left: 0,
@@ -2,8 +2,8 @@
2
2
  import { css, jsx } from '@emotion/react';
3
3
  var badgeContainerStyles = css({
4
4
  position: 'absolute',
5
- top: '-4px',
6
- right: '-2px',
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({
@@ -9,7 +9,7 @@ var buttonHeight = "var(--ds-space-400, 32px)";
9
9
  var skeletonStyles = css({
10
10
  width: 68,
11
11
  height: buttonHeight,
12
- marginLeft: 12,
12
+ marginLeft: "var(--ds-space-150, 12px)",
13
13
  borderRadius: 3,
14
14
  opacity: 0.15
15
15
  });
@@ -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: '-8px',
9
- marginLeft: '-8px',
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: 20,
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: 20,
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: '0 12px',
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: 12
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: 4,
7
- padding: '4px 6px',
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: '0 6px',
11
- padding: '0 4px',
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: 2,
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: 2
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: 4,
58
+ marginLeft: "var(--ds-space-050, 4px)",
57
59
  position: 'absolute',
58
60
  top: 'calc(50% - 4px)',
59
61
  left: 'calc(100% - 3px)',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "2.6.5",
3
+ "version": "2.6.6",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/atlassian-navigation",
3
- "version": "2.6.5",
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,7 +38,7 @@
38
38
  "@atlaskit/icon": "^21.12.0",
39
39
  "@atlaskit/logo": "*",
40
40
  "@atlaskit/platform-feature-flags": "^0.2.0",
41
- "@atlaskit/popup": "^1.6.0",
41
+ "@atlaskit/popup": "^1.7.0",
42
42
  "@atlaskit/primitives": "^0.12.0",
43
43
  "@atlaskit/theme": "^12.5.0",
44
44
  "@atlaskit/tokens": "^1.5.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
  }