-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TreeView] Create pro package #12240
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
8f5ed25
[Tree View] Create pro package
flaviendelangle 603680e
Fix license version
flaviendelangle da3357e
Merge
flaviendelangle b8d95a8
Work
flaviendelangle 046eeb5
Make private
flaviendelangle 551f7cd
Work
flaviendelangle b55c766
Fix
flaviendelangle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
Commercial License | ||
|
||
Copyright (c) 2020 Material-UI SAS | ||
|
||
MUI X Pro (https://mui.com/pricing/) is commercial software. You MUST agree to the | ||
End User License Agreement (EULA: https://mui.com/r/x-license-eula) to be able to | ||
use the software. | ||
|
||
This means that you either need to purchase a commercial license at | ||
https://mui.com/r/x-get-license?scope=pro or be eligible for the Evaluation (trial) | ||
licenses detailed at https://mui.com/r/x-license-trial. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# MUI X Tree View | ||
|
||
This package is the Pro plan edition of the Tree View components. | ||
It's part of [MUI X](https://mui.com/x/), an open-core extension of MUI Core, with advanced components. | ||
|
||
## Installation | ||
|
||
Install the package in your project directory with: | ||
|
||
```bash | ||
npm install @mui/x-tree-view-pro | ||
``` | ||
|
||
This component has the following peer dependencies that you will need to install as well. | ||
|
||
```json | ||
"peerDependencies": { | ||
"@mui/material": "^5.15.0", | ||
"react": "^17.0.0 || ^18.0.0", | ||
"react-dom": "^17.0.0 || ^18.0.0" | ||
}, | ||
``` | ||
|
||
## Documentation | ||
|
||
Visit [https://mui.com/x/react-tree-view/](https://mui.com/x/react-tree-view/) to view the full documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"name": "@mui/x-tree-view-pro", | ||
"version": "7.0.1", | ||
"private": true, | ||
"description": "The Pro plan edition of the Tree View components (MUI X).", | ||
"author": "MUI Team", | ||
"main": "src/index.ts", | ||
"license": "SEE LICENSE IN LICENSE", | ||
"bugs": { | ||
"url": "https://github.com/mui/mui-x/issues" | ||
}, | ||
"homepage": "https://mui.com/x/react-tree-view/", | ||
"funding": { | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/mui-org" | ||
}, | ||
"sideEffects": false, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"keywords": [ | ||
"react", | ||
"react-component", | ||
"mui", | ||
"mui-x", | ||
"material-ui", | ||
"material design", | ||
"treeview" | ||
], | ||
"scripts": { | ||
"typescript": "tsc -p tsconfig.json", | ||
"build": "yarn build:modern && yarn build:node && yarn build:stable && yarn build:types && yarn build:copy-files ", | ||
"build:modern": "node ../../scripts/build.mjs modern", | ||
"build:node": "node ../../scripts/build.mjs node", | ||
"build:stable": "node ../../scripts/build.mjs stable", | ||
"build:copy-files": "node ../../scripts/copyFiles.mjs", | ||
"build:types": "node ../../scripts/buildTypes.mjs", | ||
"prebuild": "rimraf build tsconfig.build.tsbuildinfo" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/mui/mui-x.git", | ||
"directory": "packages/x-tree-view-pro" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.24.0", | ||
"@mui/base": "^5.0.0-beta.40", | ||
"@mui/system": "^5.15.14", | ||
"@mui/utils": "^5.15.14", | ||
"@mui/x-license": "7.0.0", | ||
"@mui/x-tree-view-pro": "7.0.1", | ||
"@types/react-transition-group": "^4.4.10", | ||
"clsx": "^2.1.0", | ||
"prop-types": "^15.8.1", | ||
"react-transition-group": "^4.4.5" | ||
}, | ||
"peerDependencies": { | ||
"@emotion/react": "^11.9.0", | ||
"@emotion/styled": "^11.8.1", | ||
"@mui/material": "^5.15.14", | ||
"react": "^17.0.0 || ^18.0.0", | ||
"react-dom": "^17.0.0 || ^18.0.0" | ||
}, | ||
"setupFiles": [ | ||
"<rootDir>/src/setupTests.js" | ||
], | ||
"engines": { | ||
"node": ">=14.0.0" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from '@mui/x-tree-view'; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Once we actually have a pro |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
// This config is for emitting declarations (.d.ts) only | ||
// Actual .ts source files are transpiled via babel | ||
"extends": "./tsconfig.json", | ||
"compilerOptions": { | ||
"composite": true, | ||
"declaration": true, | ||
"noEmit": false, | ||
"emitDeclarationOnly": true, | ||
"outDir": "build", | ||
"rootDir": "./src" | ||
}, | ||
"references": [ | ||
{ "path": "../x-tree-view/tsconfig.build.json" }, | ||
{ "path": "../x-license/tsconfig.build.json" } | ||
], | ||
"include": ["src/**/*.ts*", "../../node_modules/@mui/material/themeCssVarsAugmentation"], | ||
"exclude": ["src/**/*.spec.ts*", "src/**/*.test.ts*", "src/tests/**/*"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"types": ["react", "mocha", "node"], | ||
"noImplicitAny": false | ||
}, | ||
"include": [ | ||
"src/**/*", | ||
"../../test/utils/addChaiAssertions.ts", | ||
"../../node_modules/@mui/monorepo/packages/test-utils/src/initMatchers.ts", | ||
"../../node_modules/@mui/material/themeCssVarsAugmentation" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I took the opportunity to unify all the descriptions in the README and package.json: