@atlaskit/menu 8.4.17 → 8.4.18

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,11 @@
1
1
  # @atlaskit/menu
2
2
 
3
+ ## 8.4.18
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 8.4.17
4
10
 
5
11
  ### Patch Changes
@@ -6,7 +6,7 @@ export type SpacingMode = 'compact' | 'cozy';
6
6
  *
7
7
  * @internal Do not use directly.
8
8
  */
9
- export declare const SpacingContext: import("react").Context<SpacingMode>;
9
+ export declare const SpacingContext: import('react').Context<SpacingMode>;
10
10
  /**
11
11
  * __Selection context__
12
12
  *
@@ -14,4 +14,4 @@ export declare const SpacingContext: import("react").Context<SpacingMode>;
14
14
  *
15
15
  * @internal Do not use directly.
16
16
  */
17
- export declare const SELECTION_STYLE_CONTEXT_DO_NOT_USE: import("react").Context<"notch" | "border" | "none">;
17
+ export declare const SELECTION_STYLE_CONTEXT_DO_NOT_USE: import('react').Context<'notch' | 'border' | 'none'>;
@@ -13,5 +13,5 @@ import type { MenuItemPrimitiveProps } from '../../types';
13
13
  * </MenuItemPrimitive>
14
14
  * ```
15
15
  */
16
- declare const MenuItemPrimitive: ({ children, title, description, iconAfter, iconBefore, className: UNSAFE_externalClassName, shouldTitleWrap, shouldDescriptionWrap, isDisabled, isSelected, isTitleHeading, testId, }: MenuItemPrimitiveProps) => JSX.Element;
16
+ declare const MenuItemPrimitive: (props: MenuItemPrimitiveProps) => JSX.Element;
17
17
  export default MenuItemPrimitive;
@@ -7,5 +7,5 @@ import type { ButtonItemProps } from '../types';
7
7
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/menu/docs/button-item)
8
8
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/menu)
9
9
  */
10
- declare const ButtonItem: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ButtonItemProps & import("react").RefAttributes<HTMLElement>>>;
10
+ declare const ButtonItem: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<ButtonItemProps & import('react').RefAttributes<HTMLElement>>>;
11
11
  export default ButtonItem;
@@ -7,5 +7,5 @@ import type { HeadingItemProps } from '../types';
7
7
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/menu/docs/heading-item)
8
8
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/menu)
9
9
  */
10
- declare const HeadingItem: import("react").MemoExoticComponent<({ children, testId, headingLevel, id, className: UNSAFE_className, ...rest }: HeadingItemProps) => JSX.Element>;
10
+ declare const HeadingItem: import('react').MemoExoticComponent<({ children, testId, headingLevel, id, className: UNSAFE_className, ...rest }: HeadingItemProps) => JSX.Element>;
11
11
  export default HeadingItem;
@@ -7,5 +7,5 @@ import type { LinkItemProps } from '../types';
7
7
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/menu/docs/link-item)
8
8
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/menu)
9
9
  */
10
- declare const LinkItem: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<LinkItemProps & import("react").RefAttributes<HTMLElement>>>;
10
+ declare const LinkItem: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<LinkItemProps & import('react').RefAttributes<HTMLElement>>>;
11
11
  export default LinkItem;
@@ -7,5 +7,5 @@ import type { MenuGroupProps } from '../types';
7
7
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/menu/docs/menu-group)
8
8
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/menu)
9
9
  */
10
- declare const MenuGroup: ({ isLoading, maxWidth, minWidth, minHeight, maxHeight, testId, role, spacing, menuLabel, className: UNSAFE_className, ...rest }: MenuGroupProps) => JSX.Element;
10
+ declare const MenuGroup: (props: MenuGroupProps) => JSX.Element;
11
11
  export default MenuGroup;
@@ -6,7 +6,7 @@ export type SpacingMode = 'compact' | 'cozy';
6
6
  *
7
7
  * @internal Do not use directly.
8
8
  */
9
- export declare const SpacingContext: import("react").Context<SpacingMode>;
9
+ export declare const SpacingContext: import('react').Context<SpacingMode>;
10
10
  /**
11
11
  * __Selection context__
12
12
  *
@@ -14,4 +14,4 @@ export declare const SpacingContext: import("react").Context<SpacingMode>;
14
14
  *
15
15
  * @internal Do not use directly.
16
16
  */
17
- export declare const SELECTION_STYLE_CONTEXT_DO_NOT_USE: import("react").Context<"notch" | "border" | "none">;
17
+ export declare const SELECTION_STYLE_CONTEXT_DO_NOT_USE: import('react').Context<'notch' | 'border' | 'none'>;
@@ -13,5 +13,5 @@ import type { MenuItemPrimitiveProps } from '../../types';
13
13
  * </MenuItemPrimitive>
14
14
  * ```
15
15
  */
16
- declare const MenuItemPrimitive: ({ children, title, description, iconAfter, iconBefore, className: UNSAFE_externalClassName, shouldTitleWrap, shouldDescriptionWrap, isDisabled, isSelected, isTitleHeading, testId, }: MenuItemPrimitiveProps) => JSX.Element;
16
+ declare const MenuItemPrimitive: (props: MenuItemPrimitiveProps) => JSX.Element;
17
17
  export default MenuItemPrimitive;
@@ -7,5 +7,5 @@ import type { ButtonItemProps } from '../types';
7
7
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/menu/docs/button-item)
8
8
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/menu)
9
9
  */
10
- declare const ButtonItem: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<ButtonItemProps & import("react").RefAttributes<HTMLElement>>>;
10
+ declare const ButtonItem: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<ButtonItemProps & import('react').RefAttributes<HTMLElement>>>;
11
11
  export default ButtonItem;
@@ -7,5 +7,5 @@ import type { HeadingItemProps } from '../types';
7
7
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/menu/docs/heading-item)
8
8
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/menu)
9
9
  */
10
- declare const HeadingItem: import("react").MemoExoticComponent<({ children, testId, headingLevel, id, className: UNSAFE_className, ...rest }: HeadingItemProps) => JSX.Element>;
10
+ declare const HeadingItem: import('react').MemoExoticComponent<({ children, testId, headingLevel, id, className: UNSAFE_className, ...rest }: HeadingItemProps) => JSX.Element>;
11
11
  export default HeadingItem;
@@ -7,5 +7,5 @@ import type { LinkItemProps } from '../types';
7
7
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/menu/docs/link-item)
8
8
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/menu)
9
9
  */
10
- declare const LinkItem: import("react").MemoExoticComponent<import("react").ForwardRefExoticComponent<LinkItemProps & import("react").RefAttributes<HTMLElement>>>;
10
+ declare const LinkItem: import('react').MemoExoticComponent<import('react').ForwardRefExoticComponent<LinkItemProps & import('react').RefAttributes<HTMLElement>>>;
11
11
  export default LinkItem;
@@ -7,5 +7,5 @@ import type { MenuGroupProps } from '../types';
7
7
  * - [Examples](https://atlaskit.atlassian.com/packages/design-system/menu/docs/menu-group)
8
8
  * - [Code](https://atlaskit.atlassian.com/packages/design-system/menu)
9
9
  */
10
- declare const MenuGroup: ({ isLoading, maxWidth, minWidth, minHeight, maxHeight, testId, role, spacing, menuLabel, className: UNSAFE_className, ...rest }: MenuGroupProps) => JSX.Element;
10
+ declare const MenuGroup: (props: MenuGroupProps) => JSX.Element;
11
11
  export default MenuGroup;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/menu",
3
- "version": "8.4.17",
3
+ "version": "8.4.18",
4
4
  "description": "A list of options to help users navigate, or perform actions.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -40,12 +40,12 @@
40
40
  }
41
41
  },
42
42
  "dependencies": {
43
- "@atlaskit/app-provider": "^4.0.0",
43
+ "@atlaskit/app-provider": "^4.1.0",
44
44
  "@atlaskit/css": "^0.19.0",
45
45
  "@atlaskit/interaction-context": "^3.1.0",
46
46
  "@atlaskit/platform-feature-flags": "^1.1.0",
47
47
  "@atlaskit/primitives": "^18.0.0",
48
- "@atlaskit/theme": "^21.0.0",
48
+ "@atlaskit/theme": "^22.0.0",
49
49
  "@atlaskit/tokens": "^11.0.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@compiled/react": "^0.18.6"
@@ -58,10 +58,10 @@
58
58
  "@af/accessibility-testing": "workspace:^",
59
59
  "@af/integration-testing": "workspace:^",
60
60
  "@af/visual-regression": "workspace:^",
61
- "@atlaskit/button": "^23.9.0",
62
- "@atlaskit/docs": "^11.3.0",
61
+ "@atlaskit/button": "^23.10.0",
62
+ "@atlaskit/docs": "^11.5.0",
63
63
  "@atlaskit/ds-lib": "^5.3.0",
64
- "@atlaskit/icon": "^30.0.0",
64
+ "@atlaskit/icon": "^32.0.0",
65
65
  "@atlaskit/icon-file-type": "^7.0.0",
66
66
  "@atlaskit/icon-object": "^7.4.0",
67
67
  "@atlaskit/link": "^3.3.0",
package/report.api.md CHANGED
@@ -82,8 +82,9 @@ export interface CustomItemComponentProps {
82
82
  }
83
83
 
84
84
  // @public (undocumented)
85
- export interface CustomItemProps<TCustomComponentProps = CustomItemComponentProps>
86
- extends BaseItemProps {
85
+ export interface CustomItemProps<
86
+ TCustomComponentProps = CustomItemComponentProps,
87
+ > extends BaseItemProps {
87
88
  component?: React.ComponentType<TCustomComponentProps>;
88
89
  }
89
90