@availity/mui-stepper 1.0.8 → 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,35 @@
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-stepper@2.0.0...@availity/mui-stepper@2.0.1) (2025-12-03)
6
+
7
+ ### Dependency Updates
8
+
9
+ * `mui-button` updated to version `2.0.0`
10
+ * `mui-layout` updated to version `2.0.0`
11
+ * `mui-paper` updated to version `2.0.0`
12
+ * `mui-typography` updated to version `2.0.0`
13
+ * `mui-icon` updated to version `2.0.0`
14
+ ## [2.0.0](https://github.com/Availity/element/compare/@availity/mui-stepper@1.0.8...@availity/mui-stepper@2.0.0) (2025-11-17)
15
+
16
+ ### Dependency Updates
17
+
18
+ * `mui-button` updated to version `1.0.8`
19
+ * `mui-layout` updated to version `1.0.8`
20
+ * `mui-paper` updated to version `1.0.8`
21
+ * `mui-typography` updated to version `1.0.8`
22
+ * `mui-icon` updated to version `1.0.8`
23
+
24
+ ### ⚠ BREAKING CHANGES
25
+
26
+ * @mui/material upgraded to v7
27
+ * @mui/x-* upgraded to v8
28
+ * react upgraded to v19
29
+
30
+ ### Features
31
+
32
+ * upgrade material and react dependencies ([51602a4](https://github.com/Availity/element/commit/51602a48c5304db6f61e2c7e772c9a3a4aa3f65c))
33
+
5
34
  ## [1.0.8](https://github.com/Availity/element/compare/@availity/mui-stepper@1.0.7...@availity/mui-stepper@1.0.8) (2025-10-30)
6
35
 
7
36
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -8,18 +8,18 @@ import { StepLabelProps as StepLabelProps$1 } from '@mui/material/StepLabel';
8
8
  import { StepperProps as StepperProps$1 } from '@mui/material/Stepper';
9
9
 
10
10
  type StepProps = StepProps$1;
11
- declare const Step: ({ children, ...rest }: StepProps) => JSX.Element;
11
+ declare const Step: ({ children, ...rest }: StepProps) => React.JSX.Element;
12
12
 
13
13
  type StepButtonProps = Omit<StepButtonProps$1, 'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'TouchRippleProps' | 'touchRippleRef'>;
14
- declare const StepButton: ({ children, ...rest }: StepButtonProps) => JSX.Element;
14
+ declare const StepButton: ({ children, ...rest }: StepButtonProps) => React.JSX.Element;
15
15
 
16
16
  type StepConnectorProps = StepConnectorProps$1;
17
- declare const StepConnector: (props: StepConnectorProps) => JSX.Element;
17
+ declare const StepConnector: (props: StepConnectorProps) => React.JSX.Element;
18
18
 
19
19
  type StepContentProps = StepContentProps$1;
20
- declare const StepContent: ({ children, ...rest }: StepContentProps) => JSX.Element;
20
+ declare const StepContent: ({ children, ...rest }: StepContentProps) => React.JSX.Element;
21
21
 
22
- type Tag = ((props: SvgIconProps) => JSX.Element) | null;
22
+ type Tag = ((props: SvgIconProps) => React.JSX.Element) | null;
23
23
  declare module '@mui/material/StepIcon' {
24
24
  interface StepIconProps {
25
25
  as?: Tag;
@@ -30,17 +30,17 @@ type StepIconProps = {
30
30
  /** If `true`, the step will have a warning icon. */
31
31
  warning?: boolean;
32
32
  } & StepIconProps$1;
33
- declare const StepIcon: ({ error, completed, warning, ...rest }: StepIconProps) => JSX.Element;
33
+ declare const StepIcon: ({ error, completed, warning, ...rest }: StepIconProps) => React.JSX.Element;
34
34
 
35
35
  type StepLabelProps = Pick<StepIconProps, 'warning'> & StepLabelProps$1;
36
36
  declare const StepLabel: {
37
- ({ children, error, optional, warning, ...rest }: StepLabelProps): JSX.Element;
37
+ ({ children, error, optional, warning, ...rest }: StepLabelProps): React.JSX.Element;
38
38
  muiName: string;
39
39
  };
40
40
 
41
41
  type StepperProps = {
42
42
  scrollButtons?: boolean;
43
43
  } & Omit<StepperProps$1, 'alternativeLabel' | 'elevation'>;
44
- declare const Stepper: ({ children, connector, orientation, scrollButtons, ...rest }: StepperProps) => JSX.Element;
44
+ declare const Stepper: ({ children, connector, orientation, scrollButtons, ...rest }: StepperProps) => React.JSX.Element;
45
45
 
46
46
  export { Step, StepButton, type StepButtonProps, StepConnector, type StepConnectorProps, StepContent, type StepContentProps, StepIcon, type StepIconProps, StepLabel, type StepLabelProps, type StepProps, Stepper, type StepperProps };
package/dist/index.d.ts CHANGED
@@ -8,18 +8,18 @@ import { StepLabelProps as StepLabelProps$1 } from '@mui/material/StepLabel';
8
8
  import { StepperProps as StepperProps$1 } from '@mui/material/Stepper';
9
9
 
10
10
  type StepProps = StepProps$1;
11
- declare const Step: ({ children, ...rest }: StepProps) => JSX.Element;
11
+ declare const Step: ({ children, ...rest }: StepProps) => React.JSX.Element;
12
12
 
13
13
  type StepButtonProps = Omit<StepButtonProps$1, 'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'TouchRippleProps' | 'touchRippleRef'>;
14
- declare const StepButton: ({ children, ...rest }: StepButtonProps) => JSX.Element;
14
+ declare const StepButton: ({ children, ...rest }: StepButtonProps) => React.JSX.Element;
15
15
 
16
16
  type StepConnectorProps = StepConnectorProps$1;
17
- declare const StepConnector: (props: StepConnectorProps) => JSX.Element;
17
+ declare const StepConnector: (props: StepConnectorProps) => React.JSX.Element;
18
18
 
19
19
  type StepContentProps = StepContentProps$1;
20
- declare const StepContent: ({ children, ...rest }: StepContentProps) => JSX.Element;
20
+ declare const StepContent: ({ children, ...rest }: StepContentProps) => React.JSX.Element;
21
21
 
22
- type Tag = ((props: SvgIconProps) => JSX.Element) | null;
22
+ type Tag = ((props: SvgIconProps) => React.JSX.Element) | null;
23
23
  declare module '@mui/material/StepIcon' {
24
24
  interface StepIconProps {
25
25
  as?: Tag;
@@ -30,17 +30,17 @@ type StepIconProps = {
30
30
  /** If `true`, the step will have a warning icon. */
31
31
  warning?: boolean;
32
32
  } & StepIconProps$1;
33
- declare const StepIcon: ({ error, completed, warning, ...rest }: StepIconProps) => JSX.Element;
33
+ declare const StepIcon: ({ error, completed, warning, ...rest }: StepIconProps) => React.JSX.Element;
34
34
 
35
35
  type StepLabelProps = Pick<StepIconProps, 'warning'> & StepLabelProps$1;
36
36
  declare const StepLabel: {
37
- ({ children, error, optional, warning, ...rest }: StepLabelProps): JSX.Element;
37
+ ({ children, error, optional, warning, ...rest }: StepLabelProps): React.JSX.Element;
38
38
  muiName: string;
39
39
  };
40
40
 
41
41
  type StepperProps = {
42
42
  scrollButtons?: boolean;
43
43
  } & Omit<StepperProps$1, 'alternativeLabel' | 'elevation'>;
44
- declare const Stepper: ({ children, connector, orientation, scrollButtons, ...rest }: StepperProps) => JSX.Element;
44
+ declare const Stepper: ({ children, connector, orientation, scrollButtons, ...rest }: StepperProps) => React.JSX.Element;
45
45
 
46
46
  export { Step, StepButton, type StepButtonProps, StepConnector, type StepConnectorProps, StepContent, type StepContentProps, StepIcon, type StepIconProps, StepLabel, type StepLabelProps, type StepProps, Stepper, type StepperProps };
package/dist/index.js CHANGED
@@ -159,10 +159,10 @@ var IconButton = (0, import_react.forwardRef)((props, ref) => {
159
159
  var import_mui_icon2 = require("@availity/mui-icon");
160
160
 
161
161
  // ../layout/src/lib/Grid.tsx
162
- var import_Grid2 = __toESM(require("@mui/material/Grid2"));
162
+ var import_Grid = __toESM(require("@mui/material/Grid"));
163
163
  var import_jsx_runtime8 = require("react/jsx-runtime");
164
164
  var Grid = (args) => {
165
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_Grid2.default, __spreadValues({}, args));
165
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_Grid.default, __spreadValues({}, args));
166
166
  };
167
167
 
168
168
  // src/lib/Stepper.tsx
package/dist/index.mjs CHANGED
@@ -120,10 +120,10 @@ var IconButton = forwardRef((props, ref) => {
120
120
  import { NavigatePreviousIcon, NavigateNextIcon } from "@availity/mui-icon";
121
121
 
122
122
  // ../layout/src/lib/Grid.tsx
123
- import MuiGrid2 from "@mui/material/Grid2";
123
+ import MuiGrid from "@mui/material/Grid";
124
124
  import { jsx as jsx8 } from "react/jsx-runtime";
125
125
  var Grid = (args) => {
126
- return /* @__PURE__ */ jsx8(MuiGrid2, __spreadValues({}, args));
126
+ return /* @__PURE__ */ jsx8(MuiGrid, __spreadValues({}, args));
127
127
  };
128
128
 
129
129
  // src/lib/Stepper.tsx
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-stepper",
3
- "version": "1.0.8",
3
+ "version": "2.0.1",
4
4
  "description": "Availity MUI Stepper Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -40,23 +40,23 @@
40
40
  "publish:canary": "yarn npm publish --access public --tag canary"
41
41
  },
42
42
  "dependencies": {
43
- "@availity/mui-icon": "^1.1.1",
44
- "@availity/mui-typography": "^1.0.3"
43
+ "@availity/mui-icon": "^2.0.1",
44
+ "@availity/mui-typography": "^2.0.1"
45
45
  },
46
46
  "devDependencies": {
47
- "@availity/mui-button": "^1.1.5",
48
- "@availity/mui-layout": "^1.0.3",
49
- "@availity/mui-paper": "^1.0.3",
50
- "@availity/mui-typography": "^1.0.3",
51
- "@mui/material": "^6.4.5",
52
- "react": "18.2.0",
53
- "react-dom": "18.2.0",
47
+ "@availity/mui-button": "^2.0.1",
48
+ "@availity/mui-layout": "^2.0.1",
49
+ "@availity/mui-paper": "^2.0.1",
50
+ "@availity/mui-typography": "^2.0.1",
51
+ "@mui/material": "^7.3.4",
52
+ "react": "19.2.0",
53
+ "react-dom": "19.2.0",
54
54
  "tsup": "^8.4.0",
55
55
  "typescript": "^5.4.5"
56
56
  },
57
57
  "peerDependencies": {
58
- "@mui/material": "^6.4.5",
59
- "react": ">=16.3.0"
58
+ "@mui/material": "^7.0.0",
59
+ "react": ">=17.0.0"
60
60
  },
61
61
  "publishConfig": {
62
62
  "access": "public"
@@ -1,6 +1,6 @@
1
1
  // Each exported component in the package should have its own stories file
2
2
  import { useState, useEffect } 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 { Typography } from '@availity/mui-typography';
6
6
  import { Box } from '@availity/mui-layout';
package/src/lib/Step.tsx CHANGED
@@ -2,6 +2,6 @@ import MuiStep, { StepProps as MuiStepProps } from '@mui/material/Step';
2
2
 
3
3
  export type StepProps = MuiStepProps;
4
4
 
5
- export const Step = ({ children, ...rest }: StepProps): JSX.Element => {
5
+ export const Step = ({ children, ...rest }: StepProps): React.JSX.Element => {
6
6
  return <MuiStep {...rest}>{children}</MuiStep>;
7
7
  };
@@ -1,6 +1,6 @@
1
1
  // Each exported component in the package should have its own stories file
2
2
  import { useState, useEffect } 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 { Typography } from '@availity/mui-typography';
6
6
  import { Box } from '@availity/mui-layout';
@@ -5,7 +5,7 @@ export type StepButtonProps = Omit<
5
5
  'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'TouchRippleProps' | 'touchRippleRef'
6
6
  >;
7
7
 
8
- export const StepButton = ({ children, ...rest }: StepButtonProps): JSX.Element => {
8
+ export const StepButton = ({ children, ...rest }: StepButtonProps): React.JSX.Element => {
9
9
  return (
10
10
  <MuiStepButton {...rest} disableRipple disableTouchRipple>
11
11
  {children}
@@ -2,6 +2,6 @@ import MuiStepConnector, { StepConnectorProps as MuiStepConnectorProps } from '@
2
2
 
3
3
  export type StepConnectorProps = MuiStepConnectorProps;
4
4
 
5
- export const StepConnector = (props: StepConnectorProps): JSX.Element => {
5
+ export const StepConnector = (props: StepConnectorProps): React.JSX.Element => {
6
6
  return <MuiStepConnector {...props} />;
7
7
  };
@@ -2,6 +2,6 @@ import MuiStepContent, { StepContentProps as MuiStepContentProps } from '@mui/ma
2
2
 
3
3
  export type StepContentProps = MuiStepContentProps;
4
4
 
5
- export const StepContent = ({ children, ...rest }: StepContentProps): JSX.Element => {
5
+ export const StepContent = ({ children, ...rest }: StepContentProps): React.JSX.Element => {
6
6
  return <MuiStepContent {...rest}>{children}</MuiStepContent>;
7
7
  };
@@ -2,7 +2,7 @@ import MuiStepIcon, { StepIconProps as MuiStepIconProps } from '@mui/material/St
2
2
  import { SuccessCircleIcon, WarningCircleIcon } from '@availity/mui-icon';
3
3
  import { SvgIconProps } from '@mui/material/SvgIcon';
4
4
 
5
- type Tag = ((props: SvgIconProps) => JSX.Element) | null;
5
+ type Tag = ((props: SvgIconProps) => React.JSX.Element) | null;
6
6
 
7
7
  declare module '@mui/material/StepIcon' {
8
8
  interface StepIconProps {
@@ -16,7 +16,7 @@ export type StepIconProps = {
16
16
  warning?: boolean
17
17
  } & MuiStepIconProps;
18
18
 
19
- export const StepIcon = ({ error, completed, warning, ...rest }: StepIconProps): JSX.Element => {
19
+ export const StepIcon = ({ error, completed, warning, ...rest }: StepIconProps): React.JSX.Element => {
20
20
  let tag: Tag = null;
21
21
  if (error) tag = WarningCircleIcon;
22
22
  if (warning) tag = (props: SvgIconProps) => <WarningCircleIcon color="warning" {...props} />;
@@ -1,6 +1,6 @@
1
1
  // Each exported component in the package should have its own stories file
2
2
  import { useState, useEffect } 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 { Typography } from '@availity/mui-typography';
6
6
  import { Box } from '@availity/mui-layout';
@@ -5,7 +5,7 @@ import { Typography } from '@availity/mui-typography';
5
5
 
6
6
  export type StepLabelProps = Pick<StepIconProps, 'warning'> & MuiStepLabelProps;
7
7
 
8
- const StepLabel = ({ children, error, optional, warning, ...rest }: StepLabelProps): JSX.Element => {
8
+ const StepLabel = ({ children, error, optional, warning, ...rest }: StepLabelProps): React.JSX.Element => {
9
9
  if (typeof optional === 'string') {
10
10
  optional = <Typography variant="caption" children={optional} />;
11
11
  }
@@ -1,6 +1,6 @@
1
1
  // Each exported component in the package should have its own stories file
2
2
  import { useState, useEffect } 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 { Typography } from '@availity/mui-typography';
6
6
  import { Box } from '@availity/mui-layout';
@@ -19,7 +19,7 @@ const HiddenConnectorStepper = styled(MuiStepper, {
19
19
  }
20
20
  });
21
21
 
22
- export const Stepper = ({ children, connector, orientation, scrollButtons, ...rest }: StepperProps): JSX.Element => {
22
+ export const Stepper = ({ children, connector, orientation, scrollButtons, ...rest }: StepperProps): React.JSX.Element => {
23
23
  const alternativeLabel = orientation !== 'vertical';
24
24
  const Stepper = connector === null ? HiddenConnectorStepper : MuiStepper;
25
25