@availity/mui-dialog 0.2.0 → 0.2.2

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,19 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.2.2](https://github.com/Availity/element/compare/@availity/mui-dialog@0.2.1...@availity/mui-dialog@0.2.2) (2025-01-03)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **mui-dialog:** remove title alignment options ([e03361e](https://github.com/Availity/element/commit/e03361ee2528ef626f29ee67962859a11ad6ce65))
11
+
12
+ ## [0.2.1](https://github.com/Availity/element/compare/@availity/mui-dialog@0.2.0...@availity/mui-dialog@0.2.1) (2024-12-23)
13
+
14
+ ### Dependency Updates
15
+
16
+ * `mui-form-utils` updated to version `0.2.0`
17
+ * `mui-textfield` updated to version `0.2.0`
5
18
  ## [0.2.0](https://github.com/Availity/element/compare/@availity/mui-dialog@0.1.12...@availity/mui-dialog@0.2.0) (2024-12-09)
6
19
 
7
20
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -36,7 +36,7 @@ type DialogTitleProps = {
36
36
  children?: React.ReactNode;
37
37
  /** The corresponding severity for the Alert Icon, if `undefined`/`false` no icon is displayed */
38
38
  icon?: keyof typeof AlertIcons;
39
- } & Omit<DialogTitleProps$1, 'variantMapping'>;
39
+ } & Omit<DialogTitleProps$1, 'align' | 'variantMapping'>;
40
40
  declare const DialogTitle: ({ children, component, icon, variant, ...rest }: DialogTitleProps) => JSX.Element;
41
41
 
42
42
  export { CloseButtonSlot, Dialog, DialogActions, type DialogActionsProps, DialogContent, type DialogContentProps, DialogContentText, type DialogContentTextProps, type DialogProps, DialogTitle, type DialogTitleProps };
package/dist/index.d.ts CHANGED
@@ -36,7 +36,7 @@ type DialogTitleProps = {
36
36
  children?: React.ReactNode;
37
37
  /** The corresponding severity for the Alert Icon, if `undefined`/`false` no icon is displayed */
38
38
  icon?: keyof typeof AlertIcons;
39
- } & Omit<DialogTitleProps$1, 'variantMapping'>;
39
+ } & Omit<DialogTitleProps$1, 'align' | 'variantMapping'>;
40
40
  declare const DialogTitle: ({ children, component, icon, variant, ...rest }: DialogTitleProps) => JSX.Element;
41
41
 
42
42
  export { CloseButtonSlot, Dialog, DialogActions, type DialogActionsProps, DialogContent, type DialogContentProps, DialogContentText, type DialogContentTextProps, type DialogProps, DialogTitle, type DialogTitleProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-dialog",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Availity MUI Dialog Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "devDependencies": {
40
40
  "@availity/mui-block-ui": "0.1.16",
41
- "@availity/mui-form-utils": "0.15.1",
41
+ "@availity/mui-form-utils": "0.16.0",
42
42
  "@availity/mui-layout": "0.2.0",
43
43
  "@availity/mui-menu": "0.2.12",
44
44
  "@mui/material": "^5.15.15",
@@ -76,7 +76,7 @@ export const _Dialog: StoryObj<typeof Dialog> = {
76
76
  <Button onClick={handleClose} color="secondary">
77
77
  Disagree
78
78
  </Button>
79
- <Button onClick={handleClose} autoFocus>
79
+ <Button onClick={handleClose}>
80
80
  Agree
81
81
  </Button>
82
82
  </DialogActions>
@@ -17,7 +17,7 @@ export type DialogTitleProps = {
17
17
  children?: React.ReactNode;
18
18
  /** The corresponding severity for the Alert Icon, if `undefined`/`false` no icon is displayed */
19
19
  icon?: keyof typeof AlertIcons;
20
- } & Omit<MuiDialogTitleProps, 'variantMapping'>
20
+ } & Omit<MuiDialogTitleProps, 'align' | 'variantMapping'>
21
21
 
22
22
  export const DialogTitle = ({ children, component="h2", icon, variant="h5", ...rest }: DialogTitleProps): JSX.Element => {
23
23
  return (