Skip to content

Commit 7193c3c

Browse files
committed
v up; drop react 17;
1 parent a5d0629 commit 7193c3c

File tree

7 files changed

+40
-40
lines changed

7 files changed

+40
-40
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88

99
- [@content-ui/md](./packages/md) [![MIT license](https://img.shields.io/npm/l/@content-ui/md?style=flat-square)](https://github.com/control-ui/content-ui/blob/main/LICENSE) [![npm (scoped)](https://img.shields.io/npm/v/@content-ui/md?style=flat-square)](https://www.npmjs.com/package/@content-ui/md) [![JS compatibility](https://img.shields.io/badge/ESM--f7e018?style=flat-square&logo=javascript)](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)
1010
- markdown to AST, using [unifiedjs / remarkjs](https://unifiedjs.com/) for parsing
11-
- [@content-ui/react](./packages/react) [![MIT license](https://img.shields.io/npm/l/@content-ui/react?style=flat-square)](https://github.com/control-ui/content-ui/blob/main/LICENSE) [![npm (scoped)](https://img.shields.io/npm/v/@content-ui/react?style=flat-square)](https://www.npmjs.com/package/@content-ui/react) [![react compatibility](https://img.shields.io/badge/React-%3E%3D17-success?style=flat-square&logo=react)](https://reactjs.org/) [![JS compatibility](https://img.shields.io/badge/ESM--f7e018?style=flat-square&logo=javascript)](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)
11+
- [@content-ui/react](./packages/react) [![MIT license](https://img.shields.io/npm/l/@content-ui/react?style=flat-square)](https://github.com/control-ui/content-ui/blob/main/LICENSE) [![npm (scoped)](https://img.shields.io/npm/v/@content-ui/react?style=flat-square)](https://www.npmjs.com/package/@content-ui/react) [![react compatibility](https://img.shields.io/badge/React-18-success?style=flat-square&logo=react)](https://reactjs.org/) [![JS compatibility](https://img.shields.io/badge/ESM--f7e018?style=flat-square&logo=javascript)](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)
1212
- ReactJS hooks and providers for the other react packages
13-
- [@content-ui/md-mui](./packages/md-mui) [![MIT license](https://img.shields.io/npm/l/@content-ui/md-mui?style=flat-square)](https://github.com/control-ui/content-ui/blob/main/LICENSE) [![npm (scoped)](https://img.shields.io/npm/v/@content-ui/md-mui?style=flat-square)](https://www.npmjs.com/package/@content-ui/md-mui) [![react compatibility](https://img.shields.io/badge/React-%3E%3D17-success?style=flat-square&logo=react)](https://reactjs.org/) [![depends on MUI](https://img.shields.io/badge/MUI-green?labelColor=1a237e&color=0d47a1&logoColor=ffffff&style=flat-square&logo=mui)](https://mui.com)
13+
- [@content-ui/md-mui](./packages/md-mui) [![MIT license](https://img.shields.io/npm/l/@content-ui/md-mui?style=flat-square)](https://github.com/control-ui/content-ui/blob/main/LICENSE) [![npm (scoped)](https://img.shields.io/npm/v/@content-ui/md-mui?style=flat-square)](https://www.npmjs.com/package/@content-ui/md-mui) [![react compatibility](https://img.shields.io/badge/React-18-success?style=flat-square&logo=react)](https://reactjs.org/) [![depends on MUI](https://img.shields.io/badge/MUI-green?labelColor=1a237e&color=0d47a1&logoColor=ffffff&style=flat-square&logo=mui)](https://mui.com)
1414
- MUI leafs for content-leafs
15-
- [@content-ui/input](./packages/input) [![MIT license](https://img.shields.io/npm/l/@content-ui/input?style=flat-square)](https://github.com/control-ui/content-ui/blob/main/LICENSE) [![npm (scoped)](https://img.shields.io/npm/v/@content-ui/input?style=flat-square)](https://www.npmjs.com/package/@content-ui/input) [![react compatibility](https://img.shields.io/badge/React-%3E%3D17-success?style=flat-square&logo=react)](https://reactjs.org/) [![depends on MUI](https://img.shields.io/badge/MUI-green?labelColor=1a237e&color=0d47a1&logoColor=ffffff&style=flat-square&logo=mui)](https://mui.com)
15+
- [@content-ui/input](./packages/input) [![MIT license](https://img.shields.io/npm/l/@content-ui/input?style=flat-square)](https://github.com/control-ui/content-ui/blob/main/LICENSE) [![npm (scoped)](https://img.shields.io/npm/v/@content-ui/input?style=flat-square)](https://www.npmjs.com/package/@content-ui/input) [![react compatibility](https://img.shields.io/badge/React-18-success?style=flat-square&logo=react)](https://reactjs.org/) [![depends on MUI](https://img.shields.io/badge/MUI-green?labelColor=1a237e&color=0d47a1&logoColor=ffffff&style=flat-square&logo=mui)](https://mui.com)
1616
- MUI styled code / text input field based on `CodeMirror` with preview and linting
1717
- [@content-ui/struct](./packages/struct) [![MIT license](https://img.shields.io/npm/l/@content-ui/struct?style=flat-square)](https://github.com/control-ui/content-ui/blob/main/LICENSE) [![npm (scoped)](https://img.shields.io/npm/v/@content-ui/struct?style=flat-square)](https://www.npmjs.com/package/@content-ui/struct) [![JS compatibility](https://img.shields.io/badge/ESM--f7e018?style=flat-square&logo=javascript)](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c)
1818
- structural helper utils and mdast typing extensions

apps/demo/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"react-dom": "^18.3.1",
5656
"react-helmet": "^6.1.0",
5757
"react-i18next": "^11.18.6",
58-
"react-progress-state": "~0.3.1",
58+
"react-progress-state": "~0.3.2",
5959
"react-router": "^6.26.2",
6060
"react-router-dom": "^6.26.2",
6161
"react-use-immutable": "~0.2.1",

apps/sandbox/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@codemirror/view": "^6.0.0",
3131
"@content-ui/input": "^0.1.3",
3232
"@content-ui/md": "^0.0.10",
33-
"@content-ui/md-mui": "^0.1.2",
33+
"@content-ui/md-mui": "^0.1.3",
3434
"@content-ui/react": "^0.1.2",
3535
"@content-ui/struct": "^0.1.2",
3636
"@emotion/react": "^11.9.0",
@@ -46,7 +46,7 @@
4646
"cross-env": "^7.0.3",
4747
"react": "^18.3.1",
4848
"react-dom": "^18.3.1",
49-
"react-progress-state": "~0.3.1",
49+
"react-progress-state": "~0.3.2",
5050
"react-router": "^6.3.0",
5151
"react-router-dom": "^6.3.0",
5252
"vfile": "^6.0.2",

package-lock.json

+20-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/input/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@
2727
"@ui-controls/progress": "~0.0.4",
2828
"@content-ui/react": "~0.1.0",
2929
"@content-ui/md-mui": "~0.1.0",
30-
"react": "^17.0 || ^18.0",
31-
"react-dom": "^17.0 || ^18.0",
30+
"react": "^18.0",
31+
"react-dom": "^18.0",
3232
"@codemirror/state": "^6.0.0"
3333
},
3434
"devDependencies": {
3535
"@mui/icons-material": "^5.10",
3636
"@mui/material": "^5.1",
3737
"@ui-schema/kit-codemirror": "~0.2.0",
38-
"react-progress-state": "~0.3.1",
38+
"react-progress-state": "~0.3.2",
3939
"@ui-controls/progress": "~0.0.4",
4040
"@content-ui/react": "~0.1.0",
4141
"@content-ui/md-mui": "~0.1.0",
42-
"react": "^17.0 || ^18.0",
43-
"react-dom": "^17.0 || ^18.0",
42+
"react": "^18.0",
43+
"react-dom": "^18.0",
4444
"@codemirror/state": "^6.0.0"
4545
},
4646
"publishConfig": {

packages/md-mui/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@content-ui/md-mui",
3-
"version": "0.1.2",
3+
"version": "0.1.3",
44
"description": "",
55
"author": {
66
"name": "bemit",
@@ -28,16 +28,16 @@
2828
"@mui/material": "^5.1",
2929
"@content-ui/react": "~0.1.0",
3030
"@content-ui/struct": "~0.1.0",
31-
"react": "^17.0 || ^18.0",
32-
"react-dom": "^17.0 || ^18.0"
31+
"react": "^18.0",
32+
"react-dom": "^18.0"
3333
},
3434
"devDependencies": {
3535
"@mui/icons-material": "^5.10",
3636
"@mui/material": "^5.1",
3737
"@content-ui/react": "~0.1.0",
3838
"@content-ui/struct": "~0.1.0",
39-
"react": "^17.0 || ^18.0",
40-
"react-dom": "^17.0 || ^18.0"
39+
"react": "^18.0",
40+
"react-dom": "^18.0"
4141
},
4242
"publishConfig": {
4343
"access": "public"

packages/react/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@
7171
},
7272
"peerDependencies": {
7373
"@types/mdast": "^4.0.0",
74-
"react": "^17.0 || ^18.0",
75-
"react-dom": "^17.0 || ^18.0"
74+
"react": "^18.0",
75+
"react-dom": "^18.0"
7676
},
7777
"devDependencies": {
7878
"@types/mdast": "^4.0.0",
79-
"react": "^17.0 || ^18.0",
80-
"react-dom": "^17.0 || ^18.0"
79+
"react": "^18.0",
80+
"react-dom": "^18.0"
8181
},
8282
"publishConfig": {
8383
"access": "public"

0 commit comments

Comments
 (0)