@availity/mui-empty-state 0.1.5 → 0.1.7
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 +17 -0
- package/dist/index.d.mts +15 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +331 -294
- package/dist/index.mjs +324 -288
- package/jest.config.js +10 -0
- package/package.json +5 -5
- package/project.json +8 -9
- package/src/lib/EmptyState.stories.tsx +7 -2
- package/src/lib/EmptyState.tsx +1 -1
- package/src/lib/EmptyStateImage.stories.tsx +1 -0
- package/src/lib/EmptyStateImage.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [0.1.7](https://github.com/Availity/element/compare/@availity/mui-empty-state@0.1.6...@availity/mui-empty-state@0.1.7) (2024-04-19)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `mui-layout` updated to version `0.1.6`
|
|
10
|
+
* `mui-link` updated to version `0.1.6`
|
|
11
|
+
## [0.1.6](https://github.com/Availity/element/compare/@availity/mui-empty-state@0.1.5...@availity/mui-empty-state@0.1.6) (2024-04-04)
|
|
12
|
+
|
|
13
|
+
### Dependency Updates
|
|
14
|
+
|
|
15
|
+
* `mui-layout` updated to version `0.1.5`
|
|
16
|
+
* `mui-link` updated to version `0.2.8`
|
|
17
|
+
|
|
18
|
+
### Performance Improvements
|
|
19
|
+
|
|
20
|
+
* **mui-empty-state:** use path imports for material deps ([2e0bfb7](https://github.com/Availity/element/commit/2e0bfb78262aa57b27af1a133411f89875fd8de7))
|
|
21
|
+
|
|
5
22
|
## [0.1.5](https://github.com/Availity/element/compare/@availity/mui-empty-state@0.1.4...@availity/mui-empty-state@0.1.5) (2024-03-15)
|
|
6
23
|
|
|
7
24
|
### Dependency Updates
|
package/dist/index.d.mts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { BoxProps, StackProps } from '@availity/mui-layout';
|
|
3
|
+
|
|
4
|
+
interface EmptyStateImageProps extends Omit<BoxProps, 'children'> {
|
|
5
|
+
/** Empty State variant for image */
|
|
6
|
+
variant?: 'PageNotFound' | 'ContentLoading' | 'Error' | 'NoData' | 'NoSearchFound';
|
|
7
|
+
}
|
|
8
|
+
/** Image to accompany Empty State message. */
|
|
9
|
+
declare const EmptyStateImage: react.ForwardRefExoticComponent<Omit<EmptyStateImageProps, "ref"> & react.RefAttributes<unknown>>;
|
|
10
|
+
|
|
11
|
+
type EmptyStateProps = StackProps & Pick<EmptyStateImageProps, 'variant'>;
|
|
12
|
+
/** Container for Empty State image and message. */
|
|
13
|
+
declare const EmptyState: react.ForwardRefExoticComponent<Omit<EmptyStateProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
14
|
+
|
|
15
|
+
export { EmptyState, EmptyStateImage, type EmptyStateImageProps, type EmptyStateProps };
|
package/dist/index.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ interface EmptyStateImageProps extends Omit<BoxProps, 'children'> {
|
|
|
6
6
|
variant?: 'PageNotFound' | 'ContentLoading' | 'Error' | 'NoData' | 'NoSearchFound';
|
|
7
7
|
}
|
|
8
8
|
/** Image to accompany Empty State message. */
|
|
9
|
-
declare const EmptyStateImage: react.ForwardRefExoticComponent<
|
|
9
|
+
declare const EmptyStateImage: react.ForwardRefExoticComponent<Omit<EmptyStateImageProps, "ref"> & react.RefAttributes<unknown>>;
|
|
10
10
|
|
|
11
11
|
type EmptyStateProps = StackProps & Pick<EmptyStateImageProps, 'variant'>;
|
|
12
12
|
/** Container for Empty State image and message. */
|
|
13
|
-
declare const EmptyState: react.ForwardRefExoticComponent<
|
|
13
|
+
declare const EmptyState: react.ForwardRefExoticComponent<Omit<EmptyStateProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
|
|
15
|
-
export { EmptyState, EmptyStateImage, EmptyStateImageProps, EmptyStateProps };
|
|
15
|
+
export { EmptyState, EmptyStateImage, type EmptyStateImageProps, type EmptyStateProps };
|