@availity/mui-spaces 0.3.6 → 0.3.7-alpha.1

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,10 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [0.3.7-alpha.1](https://github.com/Availity/element/compare/@availity/mui-spaces@0.3.7-alpha.0...@availity/mui-spaces@0.3.7-alpha.1) (2024-07-31)
6
+
7
+ ## [0.3.7-alpha.0](https://github.com/Availity/element/compare/@availity/mui-spaces@0.3.6...@availity/mui-spaces@0.3.7-alpha.0) (2024-07-31)
8
+
5
9
  ## [0.3.6](https://github.com/Availity/element/compare/@availity/mui-spaces@0.3.5...@availity/mui-spaces@0.3.6) (2024-07-29)
6
10
 
7
11
  ### Dependency Updates
package/README.md CHANGED
@@ -34,7 +34,7 @@ yarn add @availity/element
34
34
 
35
35
  #### NPM
36
36
 
37
- _This package has a few peer dependencies. Add `@mui/material` & `@emotion/react` to your project if not already installed._
37
+ _This package has a few peer dependencies. See the [Peer Dependencies](#peer-dependencies) section for more information._
38
38
 
39
39
  ```bash
40
40
  npm install @availity/mui-spaces
@@ -46,6 +46,29 @@ npm install @availity/mui-spaces
46
46
  yarn add @availity/mui-spaces
47
47
  ```
48
48
 
49
+ #### Peer Dependencies
50
+
51
+ Ensure the following dependencies are installed in your project.
52
+
53
+ - `@availity/mui-button`
54
+ - `@availity/mui-card`
55
+ - `@availity/mui-chip`
56
+ - `@availity/mui-dialog`
57
+ - `@availity/mui-disclaimer`
58
+ - `@availity/mui-favorites`
59
+ - `@availity/mui-icon`
60
+ - `@availity/mui-layout`
61
+ - `@availity/mui-list`
62
+ - `@availity/mui-modal`
63
+ - `@availity/mui-progress`
64
+ - `@availity/mui-typography`
65
+ - `@mui/material`
66
+ - `react`
67
+
68
+ ##### Optional Peer Dependencies
69
+
70
+ There are a few specific components that require `react-markdown` to be installed in your project. If you are using any of the SpacesLink, SpacesAgreement, or SpacesDisclaimer components or the useLink hook, `react-markdown` is a required dependency.
71
+
49
72
  ### Usage
50
73
 
51
74
  #### Import through @availity/element
package/jest.config.js CHANGED
@@ -1,42 +1,10 @@
1
1
  const global = require('../../jest.config.global');
2
2
 
3
- const esModules = [
4
- '@availity/hooks',
5
- 'bail',
6
- 'character-entities',
7
- 'comma-separated-tokens',
8
- 'decode-named-character-reference',
9
- 'devlop',
10
- 'estree-util-is-identifier-name',
11
- 'hast-util-to-jsx-runtime',
12
- 'hast-util-whitespace',
13
- 'html-url-attributes',
14
- 'is-plain-obj',
15
- 'mdast-util-from-markdown',
16
- 'mdast-util-to-hast',
17
- 'mdast-util-to-string',
18
- 'micromark',
19
- 'property-information',
20
- 'react-markdown',
21
- 'remark-parse',
22
- 'remark-rehype',
23
- 'space-separated-tokens',
24
- 'trim-lines',
25
- 'trough',
26
- 'unified',
27
- 'unist-util-is',
28
- 'unist-util-position',
29
- 'unist-util-stringify-position',
30
- 'unist-util-visit',
31
- 'vfile',
32
- 'vfile-message',
33
- ].join('|');
34
-
35
3
  module.exports = {
36
4
  ...global,
37
5
  displayName: 'spaces',
38
6
  coverageDirectory: '../../coverage/spaces',
39
7
  transformIgnorePatterns: [
40
- `/node_modules/(?!${esModules})`
8
+ `/node_modules/(?!@availity/hooks)`
41
9
  ]
42
10
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-spaces",
3
- "version": "0.3.6",
3
+ "version": "0.3.7-alpha.1",
4
4
  "description": "Availity MUI Spaces Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -80,6 +80,6 @@
80
80
  "dayjs": "^1.11.10",
81
81
  "qs": "^6.12.1",
82
82
  "react-image": "^4.1.0",
83
- "react-markdown": "^9.0.1"
83
+ "react-markdown": "^6.0.3"
84
84
  }
85
85
  }