@nevuto/editors 0.2.19 → 0.2.21

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.
Files changed (2) hide show
  1. package/README.md +29 -0
  2. package/package.json +7 -7
package/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # @nevuto/editors
2
+
3
+ Editors for Nevuto UI: a rich text editor and a block editor with slash commands.
4
+
5
+ Part of Nevuto UI, the design system of the Nevuto admin. Apps embedded in the admin can use it to look like part of it.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ npm i @nevuto/editors
11
+ ```
12
+
13
+ Peer dependencies: react, react-dom.
14
+
15
+ ## Usage
16
+
17
+ ```tsx
18
+ import '@nevuto/editors/styles.css'
19
+ import { RichTextEditor, BlockEditor } from '@nevuto/editors'
20
+ ```
21
+
22
+ ## Links
23
+
24
+ - Nevuto UI docs: https://design.nevuto.com
25
+ - Building apps for Nevuto: https://nevuto.dev
26
+
27
+ ## License
28
+
29
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nevuto/editors",
3
- "version": "0.2.19",
4
- "description": "Nevuto editor bileşenleri — rich text, code, markdown editörler",
3
+ "version": "0.2.21",
4
+ "description": "Rich text and block editors for Nevuto UI.",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.mjs",
@@ -37,9 +37,9 @@
37
37
  "@tiptap/suggestion": "3.26.1",
38
38
  "prismjs": "^1.30.0",
39
39
  "react-simple-code-editor": "^0.14.1",
40
- "@nevuto/components": "^0.17.0",
41
- "@nevuto/icons": "^0.1.1",
42
- "@nevuto/tokens": "0.0.10"
40
+ "@nevuto/components": "^0.17.2",
41
+ "@nevuto/tokens": "0.0.12",
42
+ "@nevuto/icons": "^0.1.3"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": ">=18.0.0",
@@ -53,8 +53,8 @@
53
53
  "typescript": "^5.4.5",
54
54
  "vite": "^5.2.0",
55
55
  "vite-plugin-dts": "^5.0.2",
56
- "@nevuto/eslint-config": "0.0.1",
57
- "@nevuto/typescript-config": "0.0.1"
56
+ "@nevuto/typescript-config": "0.0.1",
57
+ "@nevuto/eslint-config": "0.0.1"
58
58
  },
59
59
  "scripts": {
60
60
  "build": "vite build",