@domternal/angular 1.0.1 → 1.0.2
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/README.md +1 -1
- package/dist/README.md +1 -1
- package/dist/types/domternal-angular.d.ts +1 -1
- package/package.json +14 -9
package/README.md
CHANGED
|
@@ -19,7 +19,7 @@ emoji picker, and Notion color picker auto-render from the extensions you load.
|
|
|
19
19
|
pnpm add @domternal/angular @domternal/core @domternal/theme
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
`@angular/core` (>=17.1), `@angular/forms` (>=17.1), `@angular/platform-browser` (>=17.1), and `@domternal/core` (>=1.0.0)
|
|
22
|
+
`@angular/core` (>=17.1), `@angular/forms` (>=17.1), `@angular/platform-browser` (>=17.1), and `@domternal/core` (>=1.0.0 <2.0.0)
|
|
23
23
|
are peer dependencies. Add the theme ([`@domternal/theme`](https://www.npmjs.com/package/@domternal/theme))
|
|
24
24
|
to your global stylesheet (e.g. `styles.scss`):
|
|
25
25
|
|
package/dist/README.md
CHANGED
|
@@ -19,7 +19,7 @@ emoji picker, and Notion color picker auto-render from the extensions you load.
|
|
|
19
19
|
pnpm add @domternal/angular @domternal/core @domternal/theme
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
`@angular/core` (>=17.1), `@angular/forms` (>=17.1), `@angular/platform-browser` (>=17.1), and `@domternal/core` (>=1.0.0)
|
|
22
|
+
`@angular/core` (>=17.1), `@angular/forms` (>=17.1), `@angular/platform-browser` (>=17.1), and `@domternal/core` (>=1.0.0 <2.0.0)
|
|
23
23
|
are peer dependencies. Add the theme ([`@domternal/theme`](https://www.npmjs.com/package/@domternal/theme))
|
|
24
24
|
to your global stylesheet (e.g. `styles.scss`):
|
|
25
25
|
|
|
@@ -141,7 +141,7 @@ declare class DomternalBubbleMenuComponent implements OnDestroy {
|
|
|
141
141
|
from: number;
|
|
142
142
|
to: number;
|
|
143
143
|
}) => boolean>;
|
|
144
|
-
readonly placement: _angular_core.InputSignal<"
|
|
144
|
+
readonly placement: _angular_core.InputSignal<"top" | "bottom">;
|
|
145
145
|
readonly offset: _angular_core.InputSignal<number>;
|
|
146
146
|
readonly updateDelay: _angular_core.InputSignal<number>;
|
|
147
147
|
/** Fixed item names (e.g. ['bold', 'italic', 'code']). Omit for auto mode (all format items). */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@domternal/angular",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "Angular components for Domternal editor",
|
|
3
|
+
"version": "1.0.2",
|
|
4
|
+
"description": "MIT-licensed Angular components for the Domternal rich text editor",
|
|
5
5
|
"author": "https://github.com/ThomasNowHere",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@angular/core": ">=17.1.0",
|
|
21
21
|
"@angular/forms": ">=17.1.0",
|
|
22
22
|
"@angular/platform-browser": ">=17.1.0",
|
|
23
|
-
"@domternal/core": ">=1.0.0"
|
|
23
|
+
"@domternal/core": ">=1.0.0 <2.0.0"
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
"dist"
|
|
@@ -28,11 +28,20 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"tslib": "^2.8.0"
|
|
30
30
|
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "ng-packagr -p ng-package.json",
|
|
33
|
+
"lint": "eslint src",
|
|
34
|
+
"prepublishOnly": "pnpm build && node ../../scripts/prepare-publish-manifest.mjs",
|
|
35
|
+
"postpublish": "git checkout package.json"
|
|
36
|
+
},
|
|
31
37
|
"keywords": [
|
|
32
38
|
"angular",
|
|
33
39
|
"prosemirror",
|
|
34
40
|
"editor",
|
|
35
41
|
"rich-text",
|
|
42
|
+
"rich-text-editor",
|
|
43
|
+
"wysiwyg",
|
|
44
|
+
"typescript",
|
|
36
45
|
"domternal"
|
|
37
46
|
],
|
|
38
47
|
"repository": {
|
|
@@ -43,9 +52,5 @@
|
|
|
43
52
|
"bugs": {
|
|
44
53
|
"url": "https://github.com/domternal/domternal/issues"
|
|
45
54
|
},
|
|
46
|
-
"homepage": "https://domternal.dev"
|
|
47
|
-
|
|
48
|
-
"build": "ng-packagr -p ng-package.json",
|
|
49
|
-
"lint": "eslint src"
|
|
50
|
-
}
|
|
51
|
-
}
|
|
55
|
+
"homepage": "https://domternal.dev"
|
|
56
|
+
}
|