Skip to content

Commit 43e6254

Browse files
committed
react imports cjs compatibility; esm/cjs exports; normalize readme;
1 parent 2f2ef02 commit 43e6254

File tree

18 files changed

+321
-369
lines changed

18 files changed

+321
-369
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ contact_links:
33
- name: UI-Schema Discord
44
url: https://discord.gg/MAjgpwnm36
55
about: Ask questions and discuss in our Discord Community
6+
- name: UI-Schema Core/Engine GitHub
7+
url: https://github.com/ui-schema/ui-schema
8+
about: "For questions and documentation of the core @ui-schema project."
69
- name: CodeMirror GitHub
710
url: https://github.com/codemirror
811
about: "More about the underlying editor framework."

README.md

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,39 +12,19 @@ CodeMirror v6 integration for React, with MUI widgets for [UI-Schema](https://gi
1212
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
1313
![Typed](https://flat.badgen.net/badge/icon/Typed?icon=typescript&label&labelColor=blue&color=555555)
1414

15-
- [CodeMirror](https://codemirror.net/) v6 as plain React integration: `@ui-schema/kit-codemirror` [![npm (scoped)](https://img.shields.io/npm/v/@ui-schema/kit-codemirror?style=flat-square)](https://www.npmjs.com/package/@ui-schema/kit-codemirror) [![Component Documentation](https://img.shields.io/badge/Docs-green?labelColor=0a6e8a&color=61dafb&logoColor=ffffff&style=flat-square&logo=react)](./docs/kit-codemirror/kit-codemirror.md)
16-
- UI-Schema Widgets for [MUI](https://mui.com): `@ui-schema/material-code` [![npm (scoped)](https://img.shields.io/npm/v/@ui-schema/material-code?style=flat-square)](https://www.npmjs.com/package/@ui-schema/material-code) [![Component Documentation](https://img.shields.io/badge/Docs-green?labelColor=1a237e&color=0d47a1&logoColor=ffffff&style=flat-square&logo=mui)](./docs/material-code/material-code.md)
15+
- [CodeMirror](https://codemirror.net/) v6 as plain React integration: `@ui-schema/kit-codemirror` [![npm (scoped)](https://img.shields.io/npm/v/@ui-schema/kit-codemirror?style=flat-square)](https://www.npmjs.com/package/@ui-schema/kit-codemirror) [![Component Documentation](https://img.shields.io/badge/Documentation-green?labelColor=0a6e8a&color=61dafb&logoColor=ffffff&style=flat-square&logo=react)](./docs/kit-codemirror/kit-codemirror.md)
16+
- UI-Schema Widgets for [MUI](https://mui.com): `@ui-schema/material-code` [![npm (scoped)](https://img.shields.io/npm/v/@ui-schema/material-code?style=flat-square)](https://www.npmjs.com/package/@ui-schema/material-code) [![Component Documentation](https://img.shields.io/badge/Documentation-green?labelColor=1a237e&color=0d47a1&logoColor=ffffff&style=flat-square&logo=mui)](./docs/material-code/material-code.md)
1717

18-
## Demo
18+
[![Visit Core Project](https://img.shields.io/badge/Visit%20Core%20Project-blue?labelColor=fff&color=107b8c&style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxNDYuMjkgMTQ0Ljg3Ij48ZGVmcz48c3R5bGU+LmE0M2YzMmM3LTZiOWUtNDZhZi05Y2RkLWUxNzc1YjJjNzZiMHtmaWxsOiMwMzM5NDQ7fS5lNDNmYmJjMS0xNWM1LTRhZmUtOTdkNS0yYTk3YzY3MGJmZTN7ZmlsbDojMDVhZWNhO308L3N0eWxlPjwvZGVmcz48dGl0bGU+VUktU2NoZW1hPC90aXRsZT48cGF0aCBjbGFzcz0iYTQzZjMyYzctNmI5ZS00NmFmLTljZGQtZTE3NzViMmM3NmIwIiBkPSJNNTMuMjgsM0MzNCwzLDMwLDIsMTguMTIsNS4yMmMtMTAsMi43Mi0xNiwxMi4zMS0xNiwyMi43NC0uMTMsMTctLjI5LDM0LC4wNiw1MC45My41OCwyOC43NSwyMS4zNiw1NS4zOCw1MC4wNyw2NC43OSwzOC42NCwxMi42Niw4MC4yLTguMjUsOTIuNjgtNDYuNjQuMTMtLjM5LjMxLTEuMzYuMz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Demo Kit-CodeMirror
21-
22-
Example with CodeMirror + MUI styling - but no further `@ui-schema/` packages.
23-
24-
*[Demo Source](https://github.com/ui-schema/demo-mui-kit-codemirror)*
25-
26-
[![Run on CodeSandbox](https://img.shields.io/badge/run%20on%20CodeSandbox-blue?labelColor=fff&logoColor=505050&style=for-the-badge&logo=codesandbox)](https://codesandbox.io/s/github/ui-schema/demo-mui-kit-codemirror/tree/main/?autoresize=1&fontsize=12&hidenavigation=1&module=%2Fsrc%2FDemoEditor.tsx)
27-
28-
[![Run on StackBlitz](https://img.shields.io/badge/run%20on%20StackBlitz-blue?labelColor=fff&logoColor=505050&style=for-the-badge&logo=stackblitz)](https://stackblitz.com/github/ui-schema/demo-mui-kit-codemirror?file=src%2FDemoEditor.tsx,src%2FCustomCodeMirror.tsx)
20+
[![Get Help on Discord](https://img.shields.io/badge/Get%20Help%20on%20Discord-blue?labelColor=fff&logoColor=505050&color=7B16FF&style=for-the-badge&logo=discord)](https://discord.gg/MAjgpwnm36)
2921

3022
## Versions
3123

3224
This project adheres to [semver](https://semver.org/), until `1.0.0` and beginning with `0.1.0`: all `0.x.0` releases are like MAJOR releases and all `0.0.x` like MINOR or PATCH, modules below `0.1.0` should be considered experimental.
3325

34-
**Get the latest version - or [help build it](CONTRIBUTING.md):**
35-
36-
- [latest releases](https://github.com/ui-schema/react-codemirror/releases) (GitHub release notes)
37-
- *UI-Schema project:*
38-
- [update and migration notes](https://ui-schema.bemit.codes/updates) (docs page)
39-
- [current roadmap](https://github.com/ui-schema/ui-schema/discussions/184) (GitHub discussion)
40-
- [core repository](https://github.com/ui-schema/ui-schema)
41-
42-
## Contributing
43-
44-
See [CONTRIBUTING.md](CONTRIBUTING.md).
26+
**Get the [latest version](https://github.com/ui-schema/react-codemirror/releases) - or [help build it](CONTRIBUTING.md)!**
4527

4628
## License
4729

48-
This project is free software distributed under the **[MIT LICENSE](LICENSE)**.
49-
50-
© 2025 bemit UG (haftungsbeschränkt)
30+
Released under the [MIT License](https://github.com/ui-schema/react-codemirror/blob/main/LICENSE).
File renamed without changes.

0 commit comments

Comments
 (0)