@availity/mui-empty-state 0.2.4 → 0.3.0

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,13 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.3.0](https://github.com/Availity/element/compare/@availity/mui-empty-state@0.2.4...@availity/mui-empty-state@0.3.0) (2025-01-22)
6
+
7
+
8
+ ### Features
9
+
10
+ * **mui-empty-state:** add more states ([76acf6d](https://github.com/Availity/element/commit/76acf6d31cc00575947a999ea4c9345e23d718cf))
11
+
5
12
  ## [0.2.4](https://github.com/Availity/element/compare/@availity/mui-empty-state@0.2.3...@availity/mui-empty-state@0.2.4) (2025-01-22)
6
13
 
7
14
  ### Dependency Updates
package/dist/index.d.mts CHANGED
@@ -1,9 +1,23 @@
1
1
  import * as react from 'react';
2
2
  import { BoxProps, StackProps } from '@availity/mui-layout';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
4
 
5
+ declare const EmptyStateImages: {
6
+ ContentLoading: () => react_jsx_runtime.JSX.Element;
7
+ Error: () => react_jsx_runtime.JSX.Element;
8
+ Instructional: () => react_jsx_runtime.JSX.Element;
9
+ NoData: () => react_jsx_runtime.JSX.Element;
10
+ NoFavorites: () => react_jsx_runtime.JSX.Element;
11
+ NoMessages: () => react_jsx_runtime.JSX.Element;
12
+ NoNotifications: () => react_jsx_runtime.JSX.Element;
13
+ NoPatients: () => react_jsx_runtime.JSX.Element;
14
+ NoSearchFound: () => react_jsx_runtime.JSX.Element;
15
+ PageNotFound: () => react_jsx_runtime.JSX.Element;
16
+ SuccessConfirmation: () => react_jsx_runtime.JSX.Element;
17
+ };
4
18
  interface EmptyStateImageProps extends Omit<BoxProps, 'children'> {
5
19
  /** Empty State variant for image */
6
- variant?: 'PageNotFound' | 'ContentLoading' | 'Error' | 'NoData' | 'NoSearchFound';
20
+ variant?: keyof typeof EmptyStateImages;
7
21
  }
8
22
  /** Image to accompany Empty State message. */
9
23
  declare const EmptyStateImage: react.ForwardRefExoticComponent<Omit<EmptyStateImageProps, "ref"> & react.RefAttributes<unknown>>;
@@ -12,4 +26,4 @@ type EmptyStateProps = StackProps & Pick<EmptyStateImageProps, 'variant'>;
12
26
  /** Container for Empty State image and message. */
13
27
  declare const EmptyState: react.ForwardRefExoticComponent<Omit<EmptyStateProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
14
28
 
15
- export { EmptyState, EmptyStateImage, type EmptyStateImageProps, type EmptyStateProps };
29
+ export { EmptyState, EmptyStateImage, type EmptyStateImageProps, EmptyStateImages, type EmptyStateProps };
package/dist/index.d.ts CHANGED
@@ -1,9 +1,23 @@
1
1
  import * as react from 'react';
2
2
  import { BoxProps, StackProps } from '@availity/mui-layout';
3
+ import * as react_jsx_runtime from 'react/jsx-runtime';
3
4
 
5
+ declare const EmptyStateImages: {
6
+ ContentLoading: () => react_jsx_runtime.JSX.Element;
7
+ Error: () => react_jsx_runtime.JSX.Element;
8
+ Instructional: () => react_jsx_runtime.JSX.Element;
9
+ NoData: () => react_jsx_runtime.JSX.Element;
10
+ NoFavorites: () => react_jsx_runtime.JSX.Element;
11
+ NoMessages: () => react_jsx_runtime.JSX.Element;
12
+ NoNotifications: () => react_jsx_runtime.JSX.Element;
13
+ NoPatients: () => react_jsx_runtime.JSX.Element;
14
+ NoSearchFound: () => react_jsx_runtime.JSX.Element;
15
+ PageNotFound: () => react_jsx_runtime.JSX.Element;
16
+ SuccessConfirmation: () => react_jsx_runtime.JSX.Element;
17
+ };
4
18
  interface EmptyStateImageProps extends Omit<BoxProps, 'children'> {
5
19
  /** Empty State variant for image */
6
- variant?: 'PageNotFound' | 'ContentLoading' | 'Error' | 'NoData' | 'NoSearchFound';
20
+ variant?: keyof typeof EmptyStateImages;
7
21
  }
8
22
  /** Image to accompany Empty State message. */
9
23
  declare const EmptyStateImage: react.ForwardRefExoticComponent<Omit<EmptyStateImageProps, "ref"> & react.RefAttributes<unknown>>;
@@ -12,4 +26,4 @@ type EmptyStateProps = StackProps & Pick<EmptyStateImageProps, 'variant'>;
12
26
  /** Container for Empty State image and message. */
13
27
  declare const EmptyState: react.ForwardRefExoticComponent<Omit<EmptyStateProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
14
28
 
15
- export { EmptyState, EmptyStateImage, type EmptyStateImageProps, type EmptyStateProps };
29
+ export { EmptyState, EmptyStateImage, type EmptyStateImageProps, EmptyStateImages, type EmptyStateProps };