@availity/mui-tree 0.2.8 → 1.0.0-alpha.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,32 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [1.0.0-alpha.0](https://github.com/Availity/element/compare/@availity/mui-tree@0.3.0...@availity/mui-tree@1.0.0-alpha.0) (2025-02-24)
6
+
7
+
8
+ ### ⚠ BREAKING CHANGES
9
+
10
+ * upgraded to @mui/material v6
11
+ * **element:** upgraded to @mui/material v6
12
+
13
+ ### Features
14
+
15
+ * **element:** upgrade to @mui/material v6 ([cb958bb](https://github.com/Availity/element/commit/cb958bba99a4f1ee6dab323f0ff54b69e6fd3493))
16
+ * upgrade @mui/material ([571453a](https://github.com/Availity/element/commit/571453a34b21c344594ab4c03bc497d19aba942b))
17
+ * upgrade to MUI v6 ([7febd6f](https://github.com/Availity/element/commit/7febd6fd4fd58e87e1c97a832cea3b4595a35d58))
18
+
19
+ ## [0.3.0](https://github.com/Availity/element/compare/@availity/mui-tree@0.2.8...@availity/mui-tree@0.3.0) (2025-02-04)
20
+
21
+ ### Dependency Updates
22
+
23
+ * `mui-icon` updated to version `0.2.8`
24
+ * `mui-layout` updated to version `0.2.8`
25
+ * `mui-typography` updated to version `0.2.8`
26
+
27
+ ### Features
28
+
29
+ * configure package.json to allow esm to be used ([5a5393d](https://github.com/Availity/element/commit/5a5393de761f52608e714dd94a05106937dd95db))
30
+
5
31
  ## [0.2.8](https://github.com/Availity/element/compare/@availity/mui-tree@0.2.7...@availity/mui-tree@0.2.8) (2025-01-27)
6
32
 
7
33
  ### Dependency Updates
package/dist/index.js CHANGED
@@ -47,14 +47,14 @@ var __copyProps = (to, from, except, desc) => {
47
47
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
48
48
 
49
49
  // src/index.ts
50
- var src_exports = {};
51
- __export(src_exports, {
50
+ var index_exports = {};
51
+ __export(index_exports, {
52
52
  DynamicTreeView: () => DynamicTreeView,
53
53
  JsonViewer: () => JsonViewer,
54
54
  TreeItem: () => TreeItem,
55
55
  TreeView: () => TreeView
56
56
  });
57
- module.exports = __toCommonJS(src_exports);
57
+ module.exports = __toCommonJS(index_exports);
58
58
 
59
59
  // src/lib/TreeView.tsx
60
60
  var import_SimpleTreeView = require("@mui/x-tree-view/SimpleTreeView");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@availity/mui-tree",
3
- "version": "0.2.8",
3
+ "version": "1.0.0-alpha.0",
4
4
  "description": "Availity MUI Tree Component - part of the @availity/element design system",
5
5
  "keywords": [
6
6
  "react",
@@ -23,6 +23,14 @@
23
23
  "main": "./dist/index.js",
24
24
  "module": "./dist/index.mjs",
25
25
  "types": "./dist/index.d.ts",
26
+ "exports": {
27
+ "./package.json": "./package.json",
28
+ ".": {
29
+ "types": "./dist/index.d.ts",
30
+ "import": "./dist/index.mjs",
31
+ "require": "./dist/index.js"
32
+ }
33
+ },
26
34
  "scripts": {
27
35
  "build": "tsup src/index.ts --format esm,cjs --dts",
28
36
  "dev": "tsup src/index.ts --format esm,cjs --watch --dts",
@@ -32,24 +40,24 @@
32
40
  "publish:canary": "yarn npm publish --access public --tag canary"
33
41
  },
34
42
  "devDependencies": {
35
- "@availity/mui-icon": "^0.13.1",
36
- "@availity/mui-layout": "^0.2.0",
37
- "@availity/mui-typography": "^0.2.1",
38
- "@mui/material": "^5.15.15",
43
+ "@availity/mui-icon": "^1.0.0-alpha.0",
44
+ "@availity/mui-layout": "^1.0.0-alpha.0",
45
+ "@availity/mui-typography": "^1.0.0-alpha.0",
46
+ "@mui/material": "^6.4.5",
39
47
  "react": "18.2.0",
40
48
  "react-dom": "18.2.0",
41
- "tsup": "^8.0.2",
49
+ "tsup": "^8.3.6",
42
50
  "typescript": "^5.4.5"
43
51
  },
44
52
  "peerDependencies": {
45
- "@availity/mui-icon": "^0.13.1",
46
- "@mui/material": "^5.11.9",
53
+ "@availity/mui-icon": "^1.0.0-alpha.0",
54
+ "@mui/material": "^6.4.5",
47
55
  "react": ">=16.3.0"
48
56
  },
49
57
  "publishConfig": {
50
58
  "access": "public"
51
59
  },
52
60
  "dependencies": {
53
- "@mui/x-tree-view": "^7.16.0"
61
+ "@mui/x-tree-view": "^7.26.0"
54
62
  }
55
63
  }
@@ -62,7 +62,7 @@ export const _TreeIcon: StoryObj<typeof TreeItem> = {
62
62
  args: {
63
63
  itemId: 'tree-item',
64
64
  label: (
65
- <Grid container alignItems="center">
65
+ <Grid container sx={{ alignItems: 'center' }}>
66
66
  <FolderIcon sx={{ marginRight: 1 }} />
67
67
  Tree Item
68
68
  </Grid>
File without changes