@availity/mui-menu 1.0.7 → 2.0.1

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
@@ -2,6 +2,29 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [2.0.1](https://github.com/Availity/element/compare/@availity/mui-menu@2.0.0...@availity/mui-menu@2.0.1) (2025-12-03)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-icon` updated to version `2.0.0`
10
+ * `mui-button` updated to version `2.0.0`
11
+ ## [2.0.0](https://github.com/Availity/element/compare/@availity/mui-menu@1.0.7...@availity/mui-menu@2.0.0) (2025-11-17)
12
+
13
+ ### Dependency Updates
14
+
15
+ * `mui-icon` updated to version `1.0.7`
16
+ * `mui-button` updated to version `1.0.7`
17
+
18
+ ### ⚠ BREAKING CHANGES
19
+
20
+ * @mui/material upgraded to v7
21
+ * @mui/x-* upgraded to v8
22
+ * react upgraded to v19
23
+
24
+ ### Features
25
+
26
+ * upgrade material and react dependencies ([51602a4](https://github.com/Availity/element/commit/51602a48c5304db6f61e2c7e772c9a3a4aa3f65c))
27
+
5
28
  ## [1.0.7](https://github.com/Availity/element/compare/@availity/mui-menu@1.0.6...@availity/mui-menu@1.0.7) (2025-10-30)
6
29
 
7
30
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -4,7 +4,7 @@ import { MenuItemProps as MenuItemProps$1 } from '@mui/material/MenuItem';
4
4
  import { MenuListProps as MenuListProps$1 } from '@mui/material/MenuList';
5
5
 
6
6
  type MenuProps = Omit<MenuProps$1, 'BackdropComponent' | 'BackdropProps' | 'classes' | 'disableAutoFocusItem' | 'disableEnforceFocus' | 'disableEscapeKeyDown' | 'elevation' | 'onBackdropClick' | 'PopoverClasses' | 'ref' | 'sx' | 'TransitionComponent' | 'TransitionProps'>;
7
- declare const Menu: (props: MenuProps) => JSX.Element;
7
+ declare const Menu: (props: MenuProps) => React.JSX.Element;
8
8
  type MenuItemProps = Omit<MenuItemProps$1, 'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'TouchRippleProps' | 'touchRippleRef'>;
9
9
  declare const MenuItem: (props: MenuItemProps) => react_jsx_runtime.JSX.Element;
10
10
  type MenuListProps = MenuListProps$1;
package/dist/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import { MenuItemProps as MenuItemProps$1 } from '@mui/material/MenuItem';
4
4
  import { MenuListProps as MenuListProps$1 } from '@mui/material/MenuList';
5
5
 
6
6
  type MenuProps = Omit<MenuProps$1, 'BackdropComponent' | 'BackdropProps' | 'classes' | 'disableAutoFocusItem' | 'disableEnforceFocus' | 'disableEscapeKeyDown' | 'elevation' | 'onBackdropClick' | 'PopoverClasses' | 'ref' | 'sx' | 'TransitionComponent' | 'TransitionProps'>;
7
- declare const Menu: (props: MenuProps) => JSX.Element;
7
+ declare const Menu: (props: MenuProps) => React.JSX.Element;
8
8
  type MenuItemProps = Omit<MenuItemProps$1, 'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'TouchRippleProps' | 'touchRippleRef'>;
9
9
  declare const MenuItem: (props: MenuItemProps) => react_jsx_runtime.JSX.Element;
10
10
  type MenuListProps = MenuListProps$1;
package/introduction.mdx CHANGED
@@ -1,5 +1,4 @@
1
- import { Markdown } from '@storybook/blocks';
2
- import { Meta } from '@storybook/addon-docs';
1
+ import { Markdown, Meta } from '@storybook/addon-docs/blocks';
3
2
  import ReadMe from './README.md?raw';
4
3
  import CHANGELOG from './CHANGELOG.md?raw';
5
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-menu",
3
- "version": "1.0.7",
3
+ "version": "2.0.1",
4
4
  "description": "Availity MUI Menu Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,16 +40,16 @@
40
40
  "publish:canary": "yarn npm publish --access public --tag canary"
41
41
  },
42
42
  "devDependencies": {
43
- "@availity/mui-icon": "^1.1.1",
44
- "@mui/material": "^6.4.5",
45
- "react": "18.2.0",
46
- "react-dom": "18.2.0",
43
+ "@availity/mui-icon": "^2.0.1",
44
+ "@mui/material": "^7.3.4",
45
+ "react": "19.2.0",
46
+ "react-dom": "19.2.0",
47
47
  "tsup": "^8.4.0",
48
48
  "typescript": "^5.4.5"
49
49
  },
50
50
  "peerDependencies": {
51
- "@mui/material": "^6.4.5",
52
- "react": ">=16.3.0"
51
+ "@mui/material": "^7.0.0",
52
+ "react": ">=17.0.0"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"
@@ -1,6 +1,6 @@
1
1
  // Each exported component in the package should have its own stories file
2
2
  import { useEffect, useRef, useState } from 'react';
3
- import type { Meta, StoryObj } from '@storybook/react';
3
+ import type { Meta, StoryObj } from '@storybook/react-vite';
4
4
  import { Button } from '@availity/mui-button';
5
5
  import { UserIcon, SettingsIcon, ArrowCircleLeftIcon, HelpCircleIcon } from '@availity/mui-icon';
6
6
  import { Menu, MenuItem } from './Menu';
@@ -17,6 +17,6 @@ describe('Menu', () => {
17
17
  <MenuItem>Test</MenuItem>
18
18
  </Menu>
19
19
  );
20
- expect(() => getByText('Test')).toThrowError();
20
+ expect(() => getByText('Test')).toThrow();
21
21
  });
22
22
  });
package/src/lib/Menu.tsx CHANGED
@@ -19,7 +19,7 @@ export type MenuProps = Omit<
19
19
  | 'TransitionProps'
20
20
  >;
21
21
 
22
- export const Menu = (props: MenuProps): JSX.Element => {
22
+ export const Menu = (props: MenuProps): React.JSX.Element => {
23
23
  return <MuiMenu {...props} />;
24
24
  };
25
25