@zuilib/text-editor 0.2.0 → 0.3.0

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.
package/dist/styles.css CHANGED
@@ -254,6 +254,12 @@
254
254
  background: color-mix(in srgb, currentColor 8%, transparent);
255
255
  }
256
256
 
257
+ .zui-text-editor-toolbar-button:disabled {
258
+ opacity: 0.3;
259
+ cursor: default;
260
+ background: transparent;
261
+ }
262
+
257
263
  .zui-text-editor-toolbar-button.is-active {
258
264
  opacity: 1;
259
265
  background: color-mix(in srgb, currentColor 12%, transparent);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zuilib/text-editor",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "ZUI — A markdown editor component wrapping Lexical",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -9,8 +9,14 @@
9
9
  "**/*.css"
10
10
  ],
11
11
  "files": [
12
- "dist"
12
+ "dist",
13
+ "DRAWING_FORMAT.md",
14
+ "CHANGELOG.md"
13
15
  ],
16
+ "scripts": {
17
+ "build": "tsup",
18
+ "test": "node tests/roundtrip.mjs"
19
+ },
14
20
  "exports": {
15
21
  ".": {
16
22
  "types": "./dist/index.d.ts",
@@ -59,9 +65,5 @@
59
65
  "design-system",
60
66
  "react",
61
67
  "typescript"
62
- ],
63
- "scripts": {
64
- "build": "tsup",
65
- "test": "node tests/roundtrip.mjs"
66
- }
67
- }
68
+ ]
69
+ }