@atlaskit/menu 1.2.2 → 1.2.3

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/menu
2
2
 
3
+ ## 1.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
8
+ - Updated dependencies
9
+
3
10
  ## 1.2.2
4
11
 
5
12
  ### Patch Changes
@@ -19,8 +19,6 @@ var _constants = require("@atlaskit/theme/constants");
19
19
 
20
20
  var _typography = require("@atlaskit/theme/typography");
21
21
 
22
- var _tokens = require("@atlaskit/tokens");
23
-
24
22
  /** @jsx jsx */
25
23
  var defaultRender = function defaultRender(Component, props) {
26
24
  return (0, _core.jsx)(Component, props);
@@ -67,7 +65,7 @@ var wordBreakStyles = (0, _core.css)({
67
65
  });
68
66
  var descriptionStyles = (0, _core.css)({
69
67
  marginTop: itemDescriptionSpacing,
70
- color: (0, _tokens.token)('color.text.lowEmphasis', _colors.N200),
68
+ color: "var(--ds-text-lowEmphasis, ".concat(_colors.N200, ")"),
71
69
  fontSize: _typography.headingSizes.h200.size
72
70
  });
73
71
  var primitiveStyles = (0, _core.css)({
@@ -100,11 +98,11 @@ var unselectedStyles = (0, _core.css)({
100
98
  color: 'currentColor'
101
99
  },
102
100
  ':hover': {
103
- backgroundColor: (0, _tokens.token)('color.background.transparentNeutral.hover', _colors.N20),
101
+ backgroundColor: "var(--ds-background-transparentNeutral-hover, ".concat(_colors.N20, ")"),
104
102
  color: 'currentColor'
105
103
  },
106
104
  ':active': {
107
- backgroundColor: (0, _tokens.token)('color.background.transparentNeutral.pressed', _colors.N30),
105
+ backgroundColor: "var(--ds-background-transparentNeutral-pressed, ".concat(_colors.N30, ")"),
108
106
  boxShadow: 'none',
109
107
  color: 'currentColor'
110
108
  }
@@ -113,28 +111,23 @@ var disabledStyles = (0, _core.css)({
113
111
  cursor: 'not-allowed',
114
112
  '&, :hover, :active': {
115
113
  backgroundColor: 'transparent',
116
- color: (0, _tokens.token)('color.text.disabled', _colors.N200)
114
+ color: "var(--ds-text-disabled, ".concat(_colors.N200, ")")
117
115
  }
118
116
  });
119
117
  var selectedStyles = (0, _core.css)({
120
- backgroundColor: (0, _tokens.token)('color.background.selected.resting', _colors.N20),
121
- // Suppress the need for a fallback as selected color isn't used in the non-tokens world.
122
- // When removing fallbacks make sure to remove this supression.
123
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
124
- color: (0, _tokens.token)('color.text.selected'),
118
+ backgroundColor: "var(--ds-background-selected-resting, ".concat(_colors.N20, ")"),
119
+ // Fallback set as babel plugin inserts one otherwise
120
+ color: "var(--ds-text-selected, currentColor)",
125
121
  ':visited': {
126
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
127
- color: (0, _tokens.token)('color.text.selected')
122
+ color: "var(--ds-text-selected, currentColor)"
128
123
  },
129
124
  ':hover': {
130
- backgroundColor: (0, _tokens.token)('color.background.selected.hover', _colors.N20),
131
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
132
- color: (0, _tokens.token)('color.text.selected')
125
+ backgroundColor: "var(--ds-background-selected-hover, ".concat(_colors.N20, ")"),
126
+ color: "var(--ds-text-selected, currentColor)"
133
127
  },
134
128
  ':active': {
135
- backgroundColor: (0, _tokens.token)('color.background.selected.pressed', _colors.N30),
136
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
137
- color: (0, _tokens.token)('color.text.selected')
129
+ backgroundColor: "var(--ds-background-selected-pressed, ".concat(_colors.N30, ")"),
130
+ color: "var(--ds-text-selected, currentColor)"
138
131
  }
139
132
  });
140
133
  /**
@@ -23,8 +23,6 @@ var _constants = require("@atlaskit/theme/constants");
23
23
 
24
24
  var _typography = require("@atlaskit/theme/typography");
25
25
 
26
- var _tokens = require("@atlaskit/tokens");
27
-
28
26
  /** @jsx jsx */
29
27
  var gridSize = (0, _constants.gridSize)();
30
28
  var itemSidePadding = gridSize * 2.5;
@@ -32,7 +30,7 @@ var itemHeadingContentHeight = _typography.headingSizes.h100.lineHeight;
32
30
  var itemHeadingFontSize = _typography.headingSizes.h100.size;
33
31
  var headingStyles = (0, _core.css)({
34
32
  padding: "0 ".concat(itemSidePadding, "px"),
35
- color: (0, _tokens.token)('color.text.lowEmphasis', _colors.N200),
33
+ color: "var(--ds-text-lowEmphasis, ".concat(_colors.N200, ")"),
36
34
  fontSize: itemHeadingFontSize,
37
35
  fontWeight: 700,
38
36
  lineHeight: itemHeadingContentHeight / itemHeadingFontSize,
@@ -15,8 +15,6 @@ var _colors = require("@atlaskit/theme/colors");
15
15
 
16
16
  var _constants = require("@atlaskit/theme/constants");
17
17
 
18
- var _tokens = require("@atlaskit/tokens");
19
-
20
18
  /** @jsx jsx */
21
19
  var skeletonStyles = (0, _core.css)({
22
20
  padding: "0 ".concat((0, _constants.gridSize)() * 2.5, "px"),
@@ -24,7 +22,7 @@ var skeletonStyles = (0, _core.css)({
24
22
  display: 'block',
25
23
  width: '30%',
26
24
  height: (0, _constants.gridSize)(),
27
- backgroundColor: (0, _tokens.token)('color.background.subtleNeutral.resting', (0, _colors.skeleton)()),
25
+ backgroundColor: "var(--ds-background-subtleNeutral-resting, ".concat((0, _colors.skeleton)(), ")"),
28
26
  borderRadius: 100,
29
27
  content: '""'
30
28
  }
@@ -15,8 +15,6 @@ var _colors = require("@atlaskit/theme/colors");
15
15
 
16
16
  var _constants = require("@atlaskit/theme/constants");
17
17
 
18
- var _tokens = require("@atlaskit/tokens");
19
-
20
18
  /** @jsx jsx */
21
19
  var gridSize = (0, _constants.gridSize)();
22
20
  var borderRadius = (0, _constants.borderRadius)();
@@ -28,7 +26,7 @@ var skeletonItemElemSize = gridSize * 2.5;
28
26
  var itemElemSkeletonOffset = (itemExpectedElemSize - skeletonItemElemSize) / 2;
29
27
  var skeletonTextBorderRadius = 100;
30
28
  var skeletonContentHeight = 9;
31
- var skeletonColor = (0, _tokens.token)('color.background.subtleNeutral.resting', (0, _colors.skeleton)());
29
+ var skeletonColor = "var(--ds-background-subtleNeutral-resting, ".concat((0, _colors.skeleton)(), ")");
32
30
  var skeletonStyles = (0, _core.css)({
33
31
  display: 'flex',
34
32
  minHeight: itemMinHeight,
@@ -21,8 +21,6 @@ var _constants = require("@atlaskit/theme/constants");
21
21
 
22
22
  var _typography = require("@atlaskit/theme/typography");
23
23
 
24
- var _tokens = require("@atlaskit/tokens");
25
-
26
24
  var _headingItem = _interopRequireDefault(require("../menu-item/heading-item"));
27
25
 
28
26
  /** @jsx jsx */
@@ -78,7 +76,7 @@ var unscrollableStyles = (0, _core.css)({
78
76
  flexShrink: 0
79
77
  });
80
78
  var separatorStyles = (0, _core.css)({
81
- borderTop: "2px solid var(".concat(VAR_SEPARATOR_COLOR, ", ").concat((0, _tokens.token)('color.border.neutral', _colors.N30A), ")")
79
+ borderTop: "2px solid var(".concat(VAR_SEPARATOR_COLOR, ", ").concat("var(--ds-border-neutral, ".concat(_colors.N30A, ")"), ")")
82
80
  });
83
81
  var noSeparatorStyles = (0, _core.css)({
84
82
  // this is to ensure that adjacent sections without separators don't get additional margins.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "sideEffects": false
5
5
  }
@@ -5,7 +5,6 @@ import FocusRing from '@atlaskit/focus-ring';
5
5
  import { N20, N200, N30 } from '@atlaskit/theme/colors';
6
6
  import { fontSize as fontSizeFn, gridSize as gridSizeFn } from '@atlaskit/theme/constants';
7
7
  import { headingSizes } from '@atlaskit/theme/typography';
8
- import { token } from '@atlaskit/tokens';
9
8
 
10
9
  const defaultRender = (Component, props) => jsx(Component, props);
11
10
 
@@ -50,7 +49,7 @@ const wordBreakStyles = css({
50
49
  });
51
50
  const descriptionStyles = css({
52
51
  marginTop: itemDescriptionSpacing,
53
- color: token('color.text.lowEmphasis', N200),
52
+ color: `var(--ds-text-lowEmphasis, ${N200})`,
54
53
  fontSize: headingSizes.h200.size
55
54
  });
56
55
  const primitiveStyles = css({
@@ -83,11 +82,11 @@ const unselectedStyles = css({
83
82
  color: 'currentColor'
84
83
  },
85
84
  ':hover': {
86
- backgroundColor: token('color.background.transparentNeutral.hover', N20),
85
+ backgroundColor: `var(--ds-background-transparentNeutral-hover, ${N20})`,
87
86
  color: 'currentColor'
88
87
  },
89
88
  ':active': {
90
- backgroundColor: token('color.background.transparentNeutral.pressed', N30),
89
+ backgroundColor: `var(--ds-background-transparentNeutral-pressed, ${N30})`,
91
90
  boxShadow: 'none',
92
91
  color: 'currentColor'
93
92
  }
@@ -96,28 +95,23 @@ const disabledStyles = css({
96
95
  cursor: 'not-allowed',
97
96
  '&, :hover, :active': {
98
97
  backgroundColor: 'transparent',
99
- color: token('color.text.disabled', N200)
98
+ color: `var(--ds-text-disabled, ${N200})`
100
99
  }
101
100
  });
102
101
  const selectedStyles = css({
103
- backgroundColor: token('color.background.selected.resting', N20),
104
- // Suppress the need for a fallback as selected color isn't used in the non-tokens world.
105
- // When removing fallbacks make sure to remove this supression.
106
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
107
- color: token('color.text.selected'),
102
+ backgroundColor: `var(--ds-background-selected-resting, ${N20})`,
103
+ // Fallback set as babel plugin inserts one otherwise
104
+ color: "var(--ds-text-selected, currentColor)",
108
105
  ':visited': {
109
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
110
- color: token('color.text.selected')
106
+ color: "var(--ds-text-selected, currentColor)"
111
107
  },
112
108
  ':hover': {
113
- backgroundColor: token('color.background.selected.hover', N20),
114
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
115
- color: token('color.text.selected')
109
+ backgroundColor: `var(--ds-background-selected-hover, ${N20})`,
110
+ color: "var(--ds-text-selected, currentColor)"
116
111
  },
117
112
  ':active': {
118
- backgroundColor: token('color.background.selected.pressed', N30),
119
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
120
- color: token('color.text.selected')
113
+ backgroundColor: `var(--ds-background-selected-pressed, ${N30})`,
114
+ color: "var(--ds-text-selected, currentColor)"
121
115
  }
122
116
  });
123
117
  /**
@@ -7,14 +7,13 @@ import noop from '@atlaskit/ds-lib/noop';
7
7
  import { N200 } from '@atlaskit/theme/colors';
8
8
  import { gridSize as gridSizeFn } from '@atlaskit/theme/constants';
9
9
  import { headingSizes } from '@atlaskit/theme/typography';
10
- import { token } from '@atlaskit/tokens';
11
10
  const gridSize = gridSizeFn();
12
11
  const itemSidePadding = gridSize * 2.5;
13
12
  const itemHeadingContentHeight = headingSizes.h100.lineHeight;
14
13
  const itemHeadingFontSize = headingSizes.h100.size;
15
14
  const headingStyles = css({
16
15
  padding: `0 ${itemSidePadding}px`,
17
- color: token('color.text.lowEmphasis', N200),
16
+ color: `var(--ds-text-lowEmphasis, ${N200})`,
18
17
  fontSize: itemHeadingFontSize,
19
18
  fontWeight: 700,
20
19
  lineHeight: itemHeadingContentHeight / itemHeadingFontSize,
@@ -3,14 +3,13 @@ import { css, jsx } from '@emotion/core';
3
3
  import noop from '@atlaskit/ds-lib/noop';
4
4
  import { skeleton as skeletonColorFn } from '@atlaskit/theme/colors';
5
5
  import { gridSize } from '@atlaskit/theme/constants';
6
- import { token } from '@atlaskit/tokens';
7
6
  const skeletonStyles = css({
8
7
  padding: `0 ${gridSize() * 2.5}px`,
9
8
  '::after': {
10
9
  display: 'block',
11
10
  width: '30%',
12
11
  height: gridSize(),
13
- backgroundColor: token('color.background.subtleNeutral.resting', skeletonColorFn()),
12
+ backgroundColor: `var(--ds-background-subtleNeutral-resting, ${skeletonColorFn()})`,
14
13
  borderRadius: 100,
15
14
  content: '""'
16
15
  }
@@ -3,7 +3,6 @@ import { css, jsx } from '@emotion/core';
3
3
  import noop from '@atlaskit/ds-lib/noop';
4
4
  import { skeleton as skeletonColorFn } from '@atlaskit/theme/colors';
5
5
  import { borderRadius as borderRadiusFn, gridSize as gridSizeFn } from '@atlaskit/theme/constants';
6
- import { token } from '@atlaskit/tokens';
7
6
  const gridSize = gridSizeFn();
8
7
  const borderRadius = borderRadiusFn();
9
8
  const itemElemSpacing = gridSize * 1.5;
@@ -14,7 +13,7 @@ const skeletonItemElemSize = gridSize * 2.5;
14
13
  const itemElemSkeletonOffset = (itemExpectedElemSize - skeletonItemElemSize) / 2;
15
14
  const skeletonTextBorderRadius = 100;
16
15
  const skeletonContentHeight = 9;
17
- const skeletonColor = token('color.background.subtleNeutral.resting', skeletonColorFn());
16
+ const skeletonColor = `var(--ds-background-subtleNeutral-resting, ${skeletonColorFn()})`;
18
17
  const skeletonStyles = css({
19
18
  display: 'flex',
20
19
  minHeight: itemMinHeight,
@@ -6,7 +6,6 @@ import { css, jsx } from '@emotion/core';
6
6
  import { N30A } from '@atlaskit/theme/colors';
7
7
  import { gridSize as gridSizeFn } from '@atlaskit/theme/constants';
8
8
  import { headingSizes } from '@atlaskit/theme/typography';
9
- import { token } from '@atlaskit/tokens';
10
9
  import HeadingItem from '../menu-item/heading-item';
11
10
  const gridSize = gridSizeFn();
12
11
  const itemHeadingTopMargin = gridSize * 2.5;
@@ -60,7 +59,7 @@ const unscrollableStyles = css({
60
59
  flexShrink: 0
61
60
  });
62
61
  const separatorStyles = css({
63
- borderTop: `2px solid var(${VAR_SEPARATOR_COLOR}, ${token('color.border.neutral', N30A)})`
62
+ borderTop: `2px solid var(${VAR_SEPARATOR_COLOR}, ${`var(--ds-border-neutral, ${N30A})`})`
64
63
  });
65
64
  const noSeparatorStyles = css({
66
65
  // this is to ensure that adjacent sections without separators don't get additional margins.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "sideEffects": false
5
5
  }
@@ -5,7 +5,6 @@ import FocusRing from '@atlaskit/focus-ring';
5
5
  import { N20, N200, N30 } from '@atlaskit/theme/colors';
6
6
  import { fontSize as fontSizeFn, gridSize as gridSizeFn } from '@atlaskit/theme/constants';
7
7
  import { headingSizes } from '@atlaskit/theme/typography';
8
- import { token } from '@atlaskit/tokens';
9
8
 
10
9
  var defaultRender = function defaultRender(Component, props) {
11
10
  return jsx(Component, props);
@@ -52,7 +51,7 @@ var wordBreakStyles = css({
52
51
  });
53
52
  var descriptionStyles = css({
54
53
  marginTop: itemDescriptionSpacing,
55
- color: token('color.text.lowEmphasis', N200),
54
+ color: "var(--ds-text-lowEmphasis, ".concat(N200, ")"),
56
55
  fontSize: headingSizes.h200.size
57
56
  });
58
57
  var primitiveStyles = css({
@@ -85,11 +84,11 @@ var unselectedStyles = css({
85
84
  color: 'currentColor'
86
85
  },
87
86
  ':hover': {
88
- backgroundColor: token('color.background.transparentNeutral.hover', N20),
87
+ backgroundColor: "var(--ds-background-transparentNeutral-hover, ".concat(N20, ")"),
89
88
  color: 'currentColor'
90
89
  },
91
90
  ':active': {
92
- backgroundColor: token('color.background.transparentNeutral.pressed', N30),
91
+ backgroundColor: "var(--ds-background-transparentNeutral-pressed, ".concat(N30, ")"),
93
92
  boxShadow: 'none',
94
93
  color: 'currentColor'
95
94
  }
@@ -98,28 +97,23 @@ var disabledStyles = css({
98
97
  cursor: 'not-allowed',
99
98
  '&, :hover, :active': {
100
99
  backgroundColor: 'transparent',
101
- color: token('color.text.disabled', N200)
100
+ color: "var(--ds-text-disabled, ".concat(N200, ")")
102
101
  }
103
102
  });
104
103
  var selectedStyles = css({
105
- backgroundColor: token('color.background.selected.resting', N20),
106
- // Suppress the need for a fallback as selected color isn't used in the non-tokens world.
107
- // When removing fallbacks make sure to remove this supression.
108
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
109
- color: token('color.text.selected'),
104
+ backgroundColor: "var(--ds-background-selected-resting, ".concat(N20, ")"),
105
+ // Fallback set as babel plugin inserts one otherwise
106
+ color: "var(--ds-text-selected, currentColor)",
110
107
  ':visited': {
111
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
112
- color: token('color.text.selected')
108
+ color: "var(--ds-text-selected, currentColor)"
113
109
  },
114
110
  ':hover': {
115
- backgroundColor: token('color.background.selected.hover', N20),
116
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
117
- color: token('color.text.selected')
111
+ backgroundColor: "var(--ds-background-selected-hover, ".concat(N20, ")"),
112
+ color: "var(--ds-text-selected, currentColor)"
118
113
  },
119
114
  ':active': {
120
- backgroundColor: token('color.background.selected.pressed', N30),
121
- // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage
122
- color: token('color.text.selected')
115
+ backgroundColor: "var(--ds-background-selected-pressed, ".concat(N30, ")"),
116
+ color: "var(--ds-text-selected, currentColor)"
123
117
  }
124
118
  });
125
119
  /**
@@ -8,14 +8,13 @@ import noop from '@atlaskit/ds-lib/noop';
8
8
  import { N200 } from '@atlaskit/theme/colors';
9
9
  import { gridSize as gridSizeFn } from '@atlaskit/theme/constants';
10
10
  import { headingSizes } from '@atlaskit/theme/typography';
11
- import { token } from '@atlaskit/tokens';
12
11
  var gridSize = gridSizeFn();
13
12
  var itemSidePadding = gridSize * 2.5;
14
13
  var itemHeadingContentHeight = headingSizes.h100.lineHeight;
15
14
  var itemHeadingFontSize = headingSizes.h100.size;
16
15
  var headingStyles = css({
17
16
  padding: "0 ".concat(itemSidePadding, "px"),
18
- color: token('color.text.lowEmphasis', N200),
17
+ color: "var(--ds-text-lowEmphasis, ".concat(N200, ")"),
19
18
  fontSize: itemHeadingFontSize,
20
19
  fontWeight: 700,
21
20
  lineHeight: itemHeadingContentHeight / itemHeadingFontSize,
@@ -3,14 +3,13 @@ import { css, jsx } from '@emotion/core';
3
3
  import noop from '@atlaskit/ds-lib/noop';
4
4
  import { skeleton as skeletonColorFn } from '@atlaskit/theme/colors';
5
5
  import { gridSize } from '@atlaskit/theme/constants';
6
- import { token } from '@atlaskit/tokens';
7
6
  var skeletonStyles = css({
8
7
  padding: "0 ".concat(gridSize() * 2.5, "px"),
9
8
  '::after': {
10
9
  display: 'block',
11
10
  width: '30%',
12
11
  height: gridSize(),
13
- backgroundColor: token('color.background.subtleNeutral.resting', skeletonColorFn()),
12
+ backgroundColor: "var(--ds-background-subtleNeutral-resting, ".concat(skeletonColorFn(), ")"),
14
13
  borderRadius: 100,
15
14
  content: '""'
16
15
  }
@@ -3,7 +3,6 @@ import { css, jsx } from '@emotion/core';
3
3
  import noop from '@atlaskit/ds-lib/noop';
4
4
  import { skeleton as skeletonColorFn } from '@atlaskit/theme/colors';
5
5
  import { borderRadius as borderRadiusFn, gridSize as gridSizeFn } from '@atlaskit/theme/constants';
6
- import { token } from '@atlaskit/tokens';
7
6
  var gridSize = gridSizeFn();
8
7
  var borderRadius = borderRadiusFn();
9
8
  var itemElemSpacing = gridSize * 1.5;
@@ -14,7 +13,7 @@ var skeletonItemElemSize = gridSize * 2.5;
14
13
  var itemElemSkeletonOffset = (itemExpectedElemSize - skeletonItemElemSize) / 2;
15
14
  var skeletonTextBorderRadius = 100;
16
15
  var skeletonContentHeight = 9;
17
- var skeletonColor = token('color.background.subtleNeutral.resting', skeletonColorFn());
16
+ var skeletonColor = "var(--ds-background-subtleNeutral-resting, ".concat(skeletonColorFn(), ")");
18
17
  var skeletonStyles = css({
19
18
  display: 'flex',
20
19
  minHeight: itemMinHeight,
@@ -7,7 +7,6 @@ import { css, jsx } from '@emotion/core';
7
7
  import { N30A } from '@atlaskit/theme/colors';
8
8
  import { gridSize as gridSizeFn } from '@atlaskit/theme/constants';
9
9
  import { headingSizes } from '@atlaskit/theme/typography';
10
- import { token } from '@atlaskit/tokens';
11
10
  import HeadingItem from '../menu-item/heading-item';
12
11
  var gridSize = gridSizeFn();
13
12
  var itemHeadingTopMargin = gridSize * 2.5;
@@ -61,7 +60,7 @@ var unscrollableStyles = css({
61
60
  flexShrink: 0
62
61
  });
63
62
  var separatorStyles = css({
64
- borderTop: "2px solid var(".concat(VAR_SEPARATOR_COLOR, ", ").concat(token('color.border.neutral', N30A), ")")
63
+ borderTop: "2px solid var(".concat(VAR_SEPARATOR_COLOR, ", ").concat("var(--ds-border-neutral, ".concat(N30A, ")"), ")")
65
64
  });
66
65
  var noSeparatorStyles = css({
67
66
  // this is to ensure that adjacent sections without separators don't get additional margins.
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "sideEffects": false
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "A collection of composable menu components that can be used anywhere.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,7 +39,7 @@
39
39
  "@atlaskit/ds-lib": "^1.2.0",
40
40
  "@atlaskit/focus-ring": "^0.2.4",
41
41
  "@atlaskit/theme": "^12.0.0",
42
- "@atlaskit/tokens": "^0.3.0",
42
+ "@atlaskit/tokens": "^0.4.0",
43
43
  "@babel/runtime": "^7.0.0",
44
44
  "@emotion/core": "^10.0.9"
45
45
  },
@@ -81,7 +81,10 @@
81
81
  "@repo/internal": {
82
82
  "ui-components": "lite-mode",
83
83
  "design-system": "v1",
84
- "styling": "emotion",
84
+ "styling": [
85
+ "static",
86
+ "emotion"
87
+ ],
85
88
  "analytics": "analytics-next",
86
89
  "theming": "tokens",
87
90
  "deprecation": "no-deprecated-imports"