@atlaskit/menu 2.8.1 → 2.9.0

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 (43) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/cjs/internal/components/menu-item-primitive.js +1 -1
  3. package/dist/cjs/internal/components/skeleton-shimmer.js +1 -1
  4. package/dist/cjs/menu-item/button-item.js +1 -1
  5. package/dist/cjs/menu-item/custom-item.js +1 -1
  6. package/dist/cjs/menu-item/heading-item.js +1 -1
  7. package/dist/cjs/menu-item/link-item.js +3 -2
  8. package/dist/cjs/menu-item/skeleton-heading-item.js +1 -1
  9. package/dist/cjs/menu-item/skeleton-item.js +1 -1
  10. package/dist/cjs/menu-section/menu-group.js +1 -1
  11. package/dist/cjs/menu-section/popup-menu-group.js +1 -1
  12. package/dist/cjs/menu-section/section.js +1 -1
  13. package/dist/es2019/internal/components/menu-item-primitive.js +1 -1
  14. package/dist/es2019/internal/components/skeleton-shimmer.js +1 -1
  15. package/dist/es2019/menu-item/button-item.js +1 -1
  16. package/dist/es2019/menu-item/custom-item.js +1 -1
  17. package/dist/es2019/menu-item/heading-item.js +1 -1
  18. package/dist/es2019/menu-item/link-item.js +3 -2
  19. package/dist/es2019/menu-item/skeleton-heading-item.js +1 -1
  20. package/dist/es2019/menu-item/skeleton-item.js +1 -1
  21. package/dist/es2019/menu-section/menu-group.js +1 -1
  22. package/dist/es2019/menu-section/popup-menu-group.js +1 -1
  23. package/dist/es2019/menu-section/section.js +1 -1
  24. package/dist/esm/internal/components/menu-item-primitive.js +1 -1
  25. package/dist/esm/internal/components/skeleton-shimmer.js +1 -1
  26. package/dist/esm/menu-item/button-item.js +1 -1
  27. package/dist/esm/menu-item/custom-item.js +1 -1
  28. package/dist/esm/menu-item/heading-item.js +1 -1
  29. package/dist/esm/menu-item/link-item.js +3 -2
  30. package/dist/esm/menu-item/skeleton-heading-item.js +1 -1
  31. package/dist/esm/menu-item/skeleton-item.js +1 -1
  32. package/dist/esm/menu-section/menu-group.js +1 -1
  33. package/dist/esm/menu-section/popup-menu-group.js +1 -1
  34. package/dist/esm/menu-section/section.js +1 -1
  35. package/dist/types/internal/components/skeleton-shimmer.d.ts +1 -1
  36. package/dist/types/menu-item/custom-item.d.ts +1 -1
  37. package/dist/types/menu-section/menu-group.d.ts +1 -1
  38. package/dist/types/menu-section/popup-menu-group.d.ts +1 -1
  39. package/dist/types-ts4.5/internal/components/skeleton-shimmer.d.ts +1 -1
  40. package/dist/types-ts4.5/menu-item/custom-item.d.ts +1 -1
  41. package/dist/types-ts4.5/menu-section/menu-group.d.ts +1 -1
  42. package/dist/types-ts4.5/menu-section/popup-menu-group.d.ts +1 -1
  43. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/menu
2
2
 
3
+ ## 2.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#125278](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/125278)
8
+ [`f80ae8ed91fc9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f80ae8ed91fc9) -
9
+ Adding data-vc attributes for tracking TTVC (go/ttvc).
10
+
3
11
  ## 2.8.1
4
12
 
5
13
  ### Patch Changes
@@ -15,8 +15,8 @@ var _colors = require("@atlaskit/theme/colors");
15
15
  var _menuContext = require("./menu-context");
16
16
  /**
17
17
  * @jsxRuntime classic
18
+ * @jsx jsx
18
19
  */
19
- /** @jsx jsx */
20
20
 
21
21
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
22
22
 
@@ -8,8 +8,8 @@ var _react = require("@emotion/react");
8
8
  var _colors = require("@atlaskit/theme/colors");
9
9
  /**
10
10
  * @jsxRuntime classic
11
+ * @jsx jsx
11
12
  */
12
- /** @jsx jsx */
13
13
 
14
14
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
15
 
@@ -15,8 +15,8 @@ var _menuItemPrimitive = _interopRequireDefault(require("../internal/components/
15
15
  var _excluded = ["children", "cssFn", "description", "iconAfter", "iconBefore", "isDisabled", "isSelected", "onClick", "testId", "overrides", "onMouseDown", "shouldTitleWrap", "shouldDescriptionWrap", "className"];
16
16
  /**
17
17
  * @jsxRuntime classic
18
+ * @jsx jsx
18
19
  */
19
- /** @jsx jsx */
20
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
21
  /**
22
22
  * __Button item__
@@ -15,8 +15,8 @@ var _menuItemPrimitive = _interopRequireDefault(require("../internal/components/
15
15
  var _excluded = ["component", "cssFn", "isDisabled", "isSelected", "onClick", "testId", "children", "description", "iconAfter", "iconBefore", "overrides", "onMouseDown", "shouldTitleWrap", "shouldDescriptionWrap", "className", "UNSAFE_isDraggable"];
16
16
  /**
17
17
  * @jsxRuntime classic
18
+ * @jsx jsx
18
19
  */
19
- /** @jsx jsx */
20
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
21
21
  var preventEvent = function preventEvent(e) {
22
22
  e.preventDefault();
@@ -17,8 +17,8 @@ var _typography = require("@atlaskit/theme/typography");
17
17
  var _excluded = ["children", "testId", "headingLevel", "id", "cssFn", "className"];
18
18
  /**
19
19
  * @jsxRuntime classic
20
+ * @jsx jsx
20
21
  */
21
- /** @jsx jsx */
22
22
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
23
  var itemHeadingContentHeight = _typography.headingSizes.h100.lineHeight;
24
24
  var itemHeadingFontSize = _typography.headingSizes.h100.size;
@@ -17,8 +17,8 @@ var _menuItemPrimitive = _interopRequireDefault(require("../internal/components/
17
17
  var _excluded = ["children", "href", "cssFn", "description", "iconAfter", "iconBefore", "isDisabled", "isSelected", "onClick", "testId", "overrides", "onMouseDown", "shouldTitleWrap", "shouldDescriptionWrap", "className", "UNSAFE_shouldDisableRouterLink", "UNSAFE_isDraggable"];
18
18
  /**
19
19
  * @jsxRuntime classic
20
+ * @jsx jsx
20
21
  */
21
- /** @jsx jsx */
22
22
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
23
23
  var IS_EXTERNAL_LINK_REGEX = /^(?:(http|https):\/\/)/;
24
24
  var IS_NON_HTTP_BASED = /^(((mailto|tel|sms):)|(#))/;
@@ -103,7 +103,8 @@ function (props, ref) {
103
103
  className = _ref.className;
104
104
  return (0, _react2.jsx)(Component, (0, _extends2.default)({
105
105
  "data-testid": testId,
106
- "data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined
106
+ "data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined,
107
+ "data-vc": "link-item"
107
108
  }, rest, {
108
109
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
109
110
  className: className
@@ -12,8 +12,8 @@ var _colors = require("@atlaskit/theme/colors");
12
12
  var _skeletonShimmer = _interopRequireDefault(require("../internal/components/skeleton-shimmer"));
13
13
  /**
14
14
  * @jsxRuntime classic
15
+ * @jsx jsx
15
16
  */
16
- /** @jsx jsx */
17
17
 
18
18
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
19
19
 
@@ -13,8 +13,8 @@ var _constants = require("@atlaskit/theme/constants");
13
13
  var _skeletonShimmer = _interopRequireDefault(require("../internal/components/skeleton-shimmer"));
14
14
  /**
15
15
  * @jsxRuntime classic
16
+ * @jsx jsx
16
17
  */
17
- /** @jsx jsx */
18
18
 
19
19
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
20
20
 
@@ -12,8 +12,8 @@ var _menuContext = require("../internal/components/menu-context");
12
12
  var _excluded = ["isLoading", "maxWidth", "minWidth", "minHeight", "maxHeight", "testId", "role", "spacing", "className"];
13
13
  /**
14
14
  * @jsxRuntime classic
15
+ * @jsx jsx
15
16
  */
16
- /** @jsx jsx */
17
17
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
18
  var baseStyles = (0, _react.css)({
19
19
  display: 'flex',
@@ -12,8 +12,8 @@ var _menuGroup = _interopRequireDefault(require("./menu-group"));
12
12
  var _excluded = ["maxWidth", "minWidth"];
13
13
  /**
14
14
  * @jsxRuntime classic
15
+ * @jsx jsx
15
16
  */
16
- /** @jsx jsx */
17
17
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
18
18
  /**
19
19
  * @deprecated refer to MenuGroup, explicitly set maxWidth and minWidth
@@ -19,8 +19,8 @@ var _excluded = ["children", "overrides", "title", "titleId", "testId", "isScrol
19
19
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
20
20
  /**
21
21
  * @jsxRuntime classic
22
+ * @jsx jsx
22
23
  */
23
- /** @jsx jsx */
24
24
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
25
25
  // eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
26
26
  var gridSize = (0, _constants.gridSize)();
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { useContext } from 'react';
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { ClassNames, css, jsx, keyframes } from '@emotion/react';
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /**
3
3
  * @jsxRuntime classic
4
+ * @jsx jsx
4
5
  */
5
- /** @jsx jsx */
6
6
  import { forwardRef, memo } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /**
3
3
  * @jsxRuntime classic
4
+ * @jsx jsx
4
5
  */
5
- /** @jsx jsx */
6
6
 
7
7
  import { forwardRef, memo } from 'react';
8
8
 
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /**
3
3
  * @jsxRuntime classic
4
+ * @jsx jsx
4
5
  */
5
- /** @jsx jsx */
6
6
  import { memo } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /**
3
3
  * @jsxRuntime classic
4
+ * @jsx jsx
4
5
  */
5
- /** @jsx jsx */
6
6
  import { forwardRef, memo } from 'react';
7
7
 
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -98,7 +98,8 @@ const LinkItem = /*#__PURE__*/memo( /*#__PURE__*/forwardRef(
98
98
  className
99
99
  }) => jsx(Component, _extends({
100
100
  "data-testid": testId,
101
- "data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined
101
+ "data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined,
102
+ "data-vc": "link-item"
102
103
  }, rest, {
103
104
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
104
105
  className: className
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /**
3
3
  * @jsxRuntime classic
4
+ * @jsx jsx
4
5
  */
5
- /** @jsx jsx */
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import { SELECTION_STYLE_CONTEXT_DO_NOT_USE, SpacingContext } from '../internal/components/menu-context';
@@ -1,8 +1,8 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  /**
3
3
  * @jsxRuntime classic
4
+ * @jsx jsx
4
5
  */
5
- /** @jsx jsx */
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { jsx } from '@emotion/react';
8
8
  import MenuGroup from './menu-group';
@@ -2,8 +2,8 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
3
3
  /**
4
4
  * @jsxRuntime classic
5
+ * @jsx jsx
5
6
  */
6
- /** @jsx jsx */
7
7
  import { Children, forwardRef, Fragment } from 'react';
8
8
 
9
9
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { useContext } from 'react';
6
6
 
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { ClassNames, css, jsx, keyframes } from '@emotion/react';
@@ -3,8 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  var _excluded = ["children", "cssFn", "description", "iconAfter", "iconBefore", "isDisabled", "isSelected", "onClick", "testId", "overrides", "onMouseDown", "shouldTitleWrap", "shouldDescriptionWrap", "className"];
4
4
  /**
5
5
  * @jsxRuntime classic
6
+ * @jsx jsx
6
7
  */
7
- /** @jsx jsx */
8
8
  import { forwardRef, memo } from 'react';
9
9
 
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -3,8 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  var _excluded = ["component", "cssFn", "isDisabled", "isSelected", "onClick", "testId", "children", "description", "iconAfter", "iconBefore", "overrides", "onMouseDown", "shouldTitleWrap", "shouldDescriptionWrap", "className", "UNSAFE_isDraggable"];
4
4
  /**
5
5
  * @jsxRuntime classic
6
+ * @jsx jsx
6
7
  */
7
- /** @jsx jsx */
8
8
 
9
9
  import { forwardRef, memo } from 'react';
10
10
 
@@ -3,8 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  var _excluded = ["children", "testId", "headingLevel", "id", "cssFn", "className"];
4
4
  /**
5
5
  * @jsxRuntime classic
6
+ * @jsx jsx
6
7
  */
7
- /** @jsx jsx */
8
8
  import { memo } from 'react';
9
9
 
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -3,8 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  var _excluded = ["children", "href", "cssFn", "description", "iconAfter", "iconBefore", "isDisabled", "isSelected", "onClick", "testId", "overrides", "onMouseDown", "shouldTitleWrap", "shouldDescriptionWrap", "className", "UNSAFE_shouldDisableRouterLink", "UNSAFE_isDraggable"];
4
4
  /**
5
5
  * @jsxRuntime classic
6
+ * @jsx jsx
6
7
  */
7
- /** @jsx jsx */
8
8
  import { forwardRef, memo } from 'react';
9
9
 
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -97,7 +97,8 @@ function (props, ref) {
97
97
  className = _ref.className;
98
98
  return jsx(Component, _extends({
99
99
  "data-testid": testId,
100
- "data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined
100
+ "data-is-router-link": testId ? isRouterLink ? 'true' : 'false' : undefined,
101
+ "data-vc": "link-item"
101
102
  }, rest, {
102
103
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
103
104
  className: className
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
 
6
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
7
  import { css, jsx } from '@emotion/react';
@@ -3,8 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  var _excluded = ["isLoading", "maxWidth", "minWidth", "minHeight", "maxHeight", "testId", "role", "spacing", "className"];
4
4
  /**
5
5
  * @jsxRuntime classic
6
+ * @jsx jsx
6
7
  */
7
- /** @jsx jsx */
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 { SELECTION_STYLE_CONTEXT_DO_NOT_USE, SpacingContext } from '../internal/components/menu-context';
@@ -3,8 +3,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProper
3
3
  var _excluded = ["maxWidth", "minWidth"];
4
4
  /**
5
5
  * @jsxRuntime classic
6
+ * @jsx jsx
6
7
  */
7
- /** @jsx jsx */
8
8
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
9
9
  import { jsx } from '@emotion/react';
10
10
  import MenuGroup from './menu-group';
@@ -4,8 +4,8 @@ var _excluded = ["children", "overrides", "title", "titleId", "testId", "isScrol
4
4
  /* eslint-disable @atlaskit/design-system/ensure-design-token-usage, @atlaskit/design-system/ensure-design-token-usage/preview */
5
5
  /**
6
6
  * @jsxRuntime classic
7
+ * @jsx jsx
7
8
  */
8
- /** @jsx jsx */
9
9
  import { Children, forwardRef, Fragment } from 'react';
10
10
 
11
11
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { type ReactNode } from 'react';
6
6
  import { jsx } from '@emotion/react';
7
7
  type SkeletonShimmerProps = {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  /// <reference types="react" />
6
6
  import type { CustomItemComponentProps, CustomItemProps } from '../types';
7
7
  interface CustomItemTypeGenericHackProps {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { jsx } from '@emotion/react';
6
6
  import type { MenuGroupProps } from '../types';
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { jsx } from '@emotion/react';
6
6
  import type { MenuGroupProps } from '../types';
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { type ReactNode } from 'react';
6
6
  import { jsx } from '@emotion/react';
7
7
  type SkeletonShimmerProps = {
@@ -1,8 +1,8 @@
1
1
  /// <reference types="react" />
2
2
  /**
3
3
  * @jsxRuntime classic
4
+ * @jsx jsx
4
5
  */
5
- /** @jsx jsx */
6
6
  import type { CustomItemComponentProps, CustomItemProps } from '../types';
7
7
  interface CustomItemTypeGenericHackProps {
8
8
  <TComponentProps>(props: CustomItemProps<TComponentProps> & {
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { jsx } from '@emotion/react';
6
6
  import type { MenuGroupProps } from '../types';
7
7
  /**
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @jsxRuntime classic
3
+ * @jsx jsx
3
4
  */
4
- /** @jsx jsx */
5
5
  import { jsx } from '@emotion/react';
6
6
  import type { MenuGroupProps } from '../types';
7
7
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "2.8.1",
3
+ "version": "2.9.0",
4
4
  "description": "A list of options to help users navigate, or perform actions.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -47,7 +47,7 @@
47
47
  "@atlaskit/ds-lib": "^2.3.0",
48
48
  "@atlaskit/focus-ring": "^1.5.0",
49
49
  "@atlaskit/platform-feature-flags": "^0.3.0",
50
- "@atlaskit/primitives": "^11.0.0",
50
+ "@atlaskit/primitives": "^11.1.0",
51
51
  "@atlaskit/theme": "^12.11.0",
52
52
  "@atlaskit/tokens": "^1.56.0",
53
53
  "@babel/runtime": "^7.0.0",