@availity/mui-empty-state 0.1.5 → 0.1.6
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 +11 -0
- package/dist/index.js +4 -4
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
- package/src/lib/EmptyState.stories.tsx +6 -2
- package/src/lib/EmptyState.tsx +1 -1
- package/src/lib/EmptyStateImage.tsx +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [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)
|
|
6
|
+
|
|
7
|
+
### Dependency Updates
|
|
8
|
+
|
|
9
|
+
* `mui-layout` updated to version `0.1.5`
|
|
10
|
+
* `mui-link` updated to version `0.2.8`
|
|
11
|
+
|
|
12
|
+
### Performance Improvements
|
|
13
|
+
|
|
14
|
+
* **mui-empty-state:** use path imports for material deps ([2e0bfb7](https://github.com/Availity/element/commit/2e0bfb78262aa57b27af1a133411f89875fd8de7))
|
|
15
|
+
|
|
5
16
|
## [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
17
|
|
|
7
18
|
### Dependency Updates
|
package/dist/index.js
CHANGED
|
@@ -33,12 +33,12 @@ module.exports = __toCommonJS(src_exports);
|
|
|
33
33
|
|
|
34
34
|
// src/lib/EmptyState.tsx
|
|
35
35
|
var React = __toESM(require("react"));
|
|
36
|
-
var
|
|
36
|
+
var import_styles2 = require("@mui/material/styles");
|
|
37
37
|
var import_mui_layout2 = require("@availity/mui-layout");
|
|
38
38
|
|
|
39
39
|
// src/lib/EmptyStateImage.tsx
|
|
40
40
|
var import_react = require("react");
|
|
41
|
-
var
|
|
41
|
+
var import_styles = require("@mui/material/styles");
|
|
42
42
|
var import_mui_layout = require("@availity/mui-layout");
|
|
43
43
|
|
|
44
44
|
// src/assets/404-Page-Not-Found_Gray.tsx
|
|
@@ -647,7 +647,7 @@ var EmptyStateImages = {
|
|
|
647
647
|
NoData,
|
|
648
648
|
NoSearchFound
|
|
649
649
|
};
|
|
650
|
-
var EmptyStateImageContainer = (0,
|
|
650
|
+
var EmptyStateImageContainer = (0, import_styles.styled)(import_mui_layout.Box, {
|
|
651
651
|
name: "AvEmptyState",
|
|
652
652
|
slot: "image",
|
|
653
653
|
overridesResolver: (props, styles) => styles.image
|
|
@@ -665,7 +665,7 @@ var EmptyStateImage = (0, import_react.forwardRef)((props, ref) => {
|
|
|
665
665
|
|
|
666
666
|
// src/lib/EmptyState.tsx
|
|
667
667
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
668
|
-
var EmptyStateContainer = (0,
|
|
668
|
+
var EmptyStateContainer = (0, import_styles2.styled)(import_mui_layout2.Stack, {
|
|
669
669
|
name: "AvEmptyState",
|
|
670
670
|
slot: "root",
|
|
671
671
|
overridesResolver: (props, styles) => styles.root
|
package/dist/index.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// src/lib/EmptyState.tsx
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { styled as styled2 } from "@mui/material";
|
|
3
|
+
import { styled as styled2 } from "@mui/material/styles";
|
|
4
4
|
import { Stack } from "@availity/mui-layout";
|
|
5
5
|
|
|
6
6
|
// src/lib/EmptyStateImage.tsx
|
|
7
7
|
import { forwardRef } from "react";
|
|
8
|
-
import { styled } from "@mui/material";
|
|
8
|
+
import { styled } from "@mui/material/styles";
|
|
9
9
|
import { Box } from "@availity/mui-layout";
|
|
10
10
|
|
|
11
11
|
// src/assets/404-Page-Not-Found_Gray.tsx
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@availity/mui-empty-state",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Availity MUI EmptyState Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"publish:canary": "yarn npm publish --access public --tag canary"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@availity/mui-layout": "0.1.
|
|
35
|
+
"@availity/mui-layout": "0.1.5"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@mui/material": "^5.11.9",
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// Each exported component in the package should have its own stories file
|
|
2
2
|
|
|
3
|
-
import type {
|
|
4
|
-
import
|
|
3
|
+
import type { StoryObj, Decorator } from '@storybook/react';
|
|
4
|
+
import Box from '@mui/material/Box';
|
|
5
|
+
import Button from '@mui/material/Button';
|
|
6
|
+
import List from '@mui/material/List';
|
|
7
|
+
import ListItem from '@mui/material/ListItem';
|
|
8
|
+
import Typography from '@mui/material/Typography';
|
|
5
9
|
import { visuallyHidden } from '@mui/utils';
|
|
6
10
|
import { Link } from '@availity/mui-link';
|
|
7
11
|
import { EmptyState, EmptyStateProps } from './EmptyState';
|
package/src/lib/EmptyState.tsx
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// FontAwesomeSvgIcon example from mui docs https://github.com/mui/material-ui/blob/master/docs/data/material/components/icons/FontAwesomeSvgIconDemo.js
|
|
2
2
|
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
import { styled } from '@mui/material';
|
|
4
|
+
import { styled } from '@mui/material/styles';
|
|
5
5
|
import { Stack, StackProps } from '@availity/mui-layout';
|
|
6
6
|
import { EmptyStateImage, EmptyStateImageProps } from './EmptyStateImage';
|
|
7
7
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { forwardRef } from 'react';
|
|
2
|
-
import { styled } from '@mui/material';
|
|
2
|
+
import { styled } from '@mui/material/styles';
|
|
3
3
|
import { Box, BoxProps } from '@availity/mui-layout';
|
|
4
4
|
import { PageNotFound } from '../assets/404-Page-Not-Found_Gray';
|
|
5
5
|
import { ContentLoading } from '../assets/Content-Loading_Gray';
|