@availity/mui-stepper 0.2.4 → 0.3.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 +9 -0
- package/README.md +1 -1
- package/dist/index.d.mts +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1555 -5
- package/dist/index.mjs +1575 -5
- package/package.json +3 -3
- package/src/lib/Step.stories.tsx +2 -2
- package/src/lib/StepButton.stories.tsx +4 -1
- package/src/lib/StepButton.tsx +9 -2
- package/src/lib/StepLabel.tsx +12 -2
- package/src/lib/Stepper.stories.tsx +70 -1
- package/src/lib/Stepper.test.tsx +8 -0
- package/src/lib/Stepper.tsx +107 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.3.1](https://github.com/Availity/element/compare/@availity/mui-stepper@0.3.0...@availity/mui-stepper@0.3.1) (2025-01-15)
|
|
6
|
+
|
|
7
|
+
## [0.3.0](https://github.com/Availity/element/compare/@availity/mui-stepper@0.2.4...@availity/mui-stepper@0.3.0) (2025-01-09)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
* **mui-stepper:** add scroll buttons ([5855cfb](https://github.com/Availity/element/commit/5855cfbdf8d43a709a37723c46b553631e115056))
|
|
13
|
+
|
|
5
14
|
## [0.2.4](https://github.com/Availity/element/compare/@availity/mui-stepper@0.2.3...@availity/mui-stepper@0.2.4) (2025-01-06)
|
|
6
15
|
|
|
7
16
|
### Dependency Updates
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ This package extends the MUI Stepper component: [MUI Stepper Docs](https://mui.c
|
|
|
12
12
|
|
|
13
13
|
Live demo and documentation in our [Storybook](https://availity.github.io/element/?path=/docs/components-stepper-introduction--docs)
|
|
14
14
|
|
|
15
|
-
Availity standards for design and usage can be found in the [Availity Design Guide](https://
|
|
15
|
+
Availity standards for design and usage can be found in the [Availity Design Guide](https://design.availity.com/2e36e50c7)
|
|
16
16
|
|
|
17
17
|
## Installation
|
|
18
18
|
|
package/dist/index.d.mts
CHANGED
|
@@ -10,7 +10,7 @@ import { StepperProps as StepperProps$1 } from '@mui/material/Stepper';
|
|
|
10
10
|
type StepProps = StepProps$1;
|
|
11
11
|
declare const Step: ({ children, ...rest }: StepProps) => JSX.Element;
|
|
12
12
|
|
|
13
|
-
type StepButtonProps = StepButtonProps$1
|
|
13
|
+
type StepButtonProps = Omit<StepButtonProps$1, 'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'TouchRippleProps' | 'touchRippleRef'>;
|
|
14
14
|
declare const StepButton: ({ children, ...rest }: StepButtonProps) => JSX.Element;
|
|
15
15
|
|
|
16
16
|
type StepConnectorProps = StepConnectorProps$1;
|
|
@@ -34,11 +34,13 @@ declare const StepIcon: ({ error, completed, warning, ...rest }: StepIconProps)
|
|
|
34
34
|
|
|
35
35
|
type StepLabelProps = Pick<StepIconProps, 'warning'> & StepLabelProps$1;
|
|
36
36
|
declare const StepLabel: {
|
|
37
|
-
({ children, error, warning, ...rest }: StepLabelProps): JSX.Element;
|
|
37
|
+
({ children, error, optional, warning, ...rest }: StepLabelProps): JSX.Element;
|
|
38
38
|
muiName: string;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
type StepperProps =
|
|
42
|
-
|
|
41
|
+
type StepperProps = {
|
|
42
|
+
scrollButtons?: boolean;
|
|
43
|
+
} & Omit<StepperProps$1, 'alternativeLabel' | 'elevation'>;
|
|
44
|
+
declare const Stepper: ({ children, connector, orientation, scrollButtons, ...rest }: StepperProps) => JSX.Element;
|
|
43
45
|
|
|
44
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
|
@@ -10,7 +10,7 @@ import { StepperProps as StepperProps$1 } from '@mui/material/Stepper';
|
|
|
10
10
|
type StepProps = StepProps$1;
|
|
11
11
|
declare const Step: ({ children, ...rest }: StepProps) => JSX.Element;
|
|
12
12
|
|
|
13
|
-
type StepButtonProps = StepButtonProps$1
|
|
13
|
+
type StepButtonProps = Omit<StepButtonProps$1, 'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'TouchRippleProps' | 'touchRippleRef'>;
|
|
14
14
|
declare const StepButton: ({ children, ...rest }: StepButtonProps) => JSX.Element;
|
|
15
15
|
|
|
16
16
|
type StepConnectorProps = StepConnectorProps$1;
|
|
@@ -34,11 +34,13 @@ declare const StepIcon: ({ error, completed, warning, ...rest }: StepIconProps)
|
|
|
34
34
|
|
|
35
35
|
type StepLabelProps = Pick<StepIconProps, 'warning'> & StepLabelProps$1;
|
|
36
36
|
declare const StepLabel: {
|
|
37
|
-
({ children, error, warning, ...rest }: StepLabelProps): JSX.Element;
|
|
37
|
+
({ children, error, optional, warning, ...rest }: StepLabelProps): JSX.Element;
|
|
38
38
|
muiName: string;
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
type StepperProps =
|
|
42
|
-
|
|
41
|
+
type StepperProps = {
|
|
42
|
+
scrollButtons?: boolean;
|
|
43
|
+
} & Omit<StepperProps$1, 'alternativeLabel' | 'elevation'>;
|
|
44
|
+
declare const Stepper: ({ children, connector, orientation, scrollButtons, ...rest }: StepperProps) => JSX.Element;
|
|
43
45
|
|
|
44
46
|
export { Step, StepButton, type StepButtonProps, StepConnector, type StepConnectorProps, StepContent, type StepContentProps, StepIcon, type StepIconProps, StepLabel, type StepLabelProps, type StepProps, Stepper, type StepperProps };
|