@availity/mui-empty-state 0.1.6 → 0.1.8
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.d.mts +15 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +327 -290
- package/dist/index.mjs +322 -286
- package/jest.config.js +10 -0
- package/package.json +5 -5
- package/project.json +8 -9
- package/src/lib/EmptyState.stories.tsx +1 -0
- package/src/lib/EmptyStateImage.stories.tsx +1 -0
package/jest.config.js
CHANGED
|
@@ -9,4 +9,14 @@ module.exports = {
|
|
|
9
9
|
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
|
|
10
10
|
'<rootDir>/__mocks__/fileMock.js',
|
|
11
11
|
},
|
|
12
|
+
/* TODO: Update to latest Jest snapshotFormat
|
|
13
|
+
* By default Nx has kept the older style of Jest Snapshot formats
|
|
14
|
+
* to prevent breaking of any existing tests with snapshots.
|
|
15
|
+
* It's recommend you update to the latest format.
|
|
16
|
+
* You can do this by removing snapshotFormat property
|
|
17
|
+
* and running tests with --update-snapshot flag.
|
|
18
|
+
* Example: From within the project directory, run "nx test --update-snapshot"
|
|
19
|
+
* More info: https://jestjs.io/docs/upgrading-to-jest29#snapshot-format
|
|
20
|
+
*/
|
|
21
|
+
snapshotFormat: { escapeString: true, printBasicPrototype: true },
|
|
12
22
|
};
|
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.8",
|
|
4
4
|
"description": "Availity MUI EmptyState Component - part of the @availity/element design system",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -32,14 +32,14 @@
|
|
|
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.6"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@mui/material": "^5.
|
|
38
|
+
"@mui/material": "^5.15.15",
|
|
39
39
|
"react": "18.2.0",
|
|
40
40
|
"react-dom": "18.2.0",
|
|
41
|
-
"tsup": "^
|
|
42
|
-
"typescript": "^4.
|
|
41
|
+
"tsup": "^8.0.2",
|
|
42
|
+
"typescript": "^5.4.5"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@mui/material": "^5.11.9",
|
package/project.json
CHANGED
|
@@ -6,10 +6,9 @@
|
|
|
6
6
|
"tags": [],
|
|
7
7
|
"targets": {
|
|
8
8
|
"lint": {
|
|
9
|
-
"executor": "@
|
|
9
|
+
"executor": "@nx/eslint:lint",
|
|
10
10
|
"options": {
|
|
11
11
|
"eslintConfig": ".eslintrc.json",
|
|
12
|
-
"lintFilePatterns": ["packages/empty-state/**/*.{js,ts}"],
|
|
13
12
|
"silent": false,
|
|
14
13
|
"fix": false,
|
|
15
14
|
"cache": true,
|
|
@@ -22,20 +21,20 @@
|
|
|
22
21
|
}
|
|
23
22
|
},
|
|
24
23
|
"test": {
|
|
25
|
-
"executor": "@
|
|
26
|
-
"outputs": ["coverage/empty-state"],
|
|
24
|
+
"executor": "@nx/jest:jest",
|
|
25
|
+
"outputs": ["{workspaceRoot}/coverage/empty-state"],
|
|
27
26
|
"options": {
|
|
28
|
-
"jestConfig": "packages/empty-state/jest.config.js"
|
|
29
|
-
"passWithNoTests": true
|
|
27
|
+
"jestConfig": "packages/empty-state/jest.config.js"
|
|
30
28
|
}
|
|
31
29
|
},
|
|
32
30
|
"version": {
|
|
33
31
|
"executor": "@jscutlery/semver:version",
|
|
34
32
|
"options": {
|
|
35
33
|
"preset": "conventional",
|
|
36
|
-
"commitMessageFormat": "chore(
|
|
37
|
-
"tagPrefix": "@availity
|
|
38
|
-
"trackDeps": true
|
|
34
|
+
"commitMessageFormat": "chore({projectName}): release version ${version} [skip ci]",
|
|
35
|
+
"tagPrefix": "@availity/{projectName}@",
|
|
36
|
+
"trackDeps": true,
|
|
37
|
+
"skipCommitTypes": ["docs"]
|
|
39
38
|
}
|
|
40
39
|
}
|
|
41
40
|
}
|
|
@@ -9,6 +9,7 @@ import Typography from '@mui/material/Typography';
|
|
|
9
9
|
import { visuallyHidden } from '@mui/utils';
|
|
10
10
|
import { Link } from '@availity/mui-link';
|
|
11
11
|
import { EmptyState, EmptyStateProps } from './EmptyState';
|
|
12
|
+
// eslint-disable-next-line @nx/enforce-module-boundaries
|
|
12
13
|
import { SystemPropsList } from '../../../../data/MuiSystemProperties';
|
|
13
14
|
|
|
14
15
|
/** Remove 508 warning of Heading Level Jump while leaving Story heading levels realistic */
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { StoryObj } from '@storybook/react';
|
|
4
4
|
import { EmptyStateImage, EmptyStateImageProps } from './EmptyStateImage';
|
|
5
|
+
// eslint-disable-next-line @nx/enforce-module-boundaries
|
|
5
6
|
import { SystemPropsList } from '../../../../data/MuiSystemProperties';
|
|
6
7
|
import { Box, Stack } from '@availity/mui-layout';
|
|
7
8
|
|