-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Changes from all commits
8f5ed25
603680e
da3357e
b8d95a8
046eeb5
551f7cd
b55c766
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
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. |
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. |
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" | ||
} | ||
} |
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 |
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/**/*"] | ||
} |
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" | ||
] | ||
} |
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: