@kolkov/angular-editor 3.0.0-beta.2 → 3.0.1

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 (34) hide show
  1. package/CHANGELOG.md +69 -1
  2. package/README.md +15 -10
  3. package/assets/icons/icons.svg +2 -2
  4. package/fesm2022/kolkov-angular-editor.mjs +1360 -0
  5. package/fesm2022/kolkov-angular-editor.mjs.map +1 -0
  6. package/index.d.ts +412 -0
  7. package/package.json +10 -16
  8. package/themes/default.scss +22 -22
  9. package/esm2020/kolkov-angular-editor.mjs +0 -5
  10. package/esm2020/lib/ae-button/ae-button.component.mjs +0 -21
  11. package/esm2020/lib/ae-select/ae-select.component.mjs +0 -185
  12. package/esm2020/lib/ae-toolbar/ae-toolbar.component.mjs +0 -365
  13. package/esm2020/lib/ae-toolbar-set/ae-toolbar-set.component.mjs +0 -15
  14. package/esm2020/lib/angular-editor.module.mjs +0 -27
  15. package/esm2020/lib/angular-editor.service.mjs +0 -275
  16. package/esm2020/lib/config.mjs +0 -36
  17. package/esm2020/lib/editor/angular-editor.component.mjs +0 -415
  18. package/esm2020/lib/utils.mjs +0 -4
  19. package/esm2020/public-api.mjs +0 -11
  20. package/fesm2015/kolkov-angular-editor.mjs +0 -1325
  21. package/fesm2015/kolkov-angular-editor.mjs.map +0 -1
  22. package/fesm2020/kolkov-angular-editor.mjs +0 -1319
  23. package/fesm2020/kolkov-angular-editor.mjs.map +0 -1
  24. package/kolkov-angular-editor.d.ts +0 -5
  25. package/lib/ae-button/ae-button.component.d.ts +0 -7
  26. package/lib/ae-select/ae-select.component.d.ts +0 -46
  27. package/lib/ae-toolbar/ae-toolbar.component.d.ts +0 -97
  28. package/lib/ae-toolbar-set/ae-toolbar-set.component.d.ts +0 -6
  29. package/lib/angular-editor.module.d.ts +0 -13
  30. package/lib/angular-editor.service.d.ts +0 -87
  31. package/lib/config.d.ts +0 -39
  32. package/lib/editor/angular-editor.component.d.ts +0 -133
  33. package/lib/utils.d.ts +0 -1
  34. package/public-api.d.ts +0 -8
package/CHANGELOG.md CHANGED
@@ -1,5 +1,73 @@
1
+ <a name="3.0.1"></a>
2
+ ## [3.0.1](https://github.com/kolkov/angular-editor/compare/v3.0.0...v3.0.1) (2025-11-22)
3
+
4
+ ### Bug Fixes
5
+ * **Icons:** Fixed list icons (unordered/ordered) display consistency in toolbar
6
+
7
+ ### CI/CD
8
+ * **GitHub Actions:** Added automated npm publishing workflow
9
+ * **npm Publishing:** Configured Granular Access Token authentication
10
+ * **GitHub Releases:** Automated release creation with changelog
11
+
12
+ ---
13
+
14
+ <a name="3.0.0"></a>
15
+ ## [3.0.0](https://github.com/kolkov/angular-editor/compare/v2.0.0...v3.0.0) (2025-11-22) Major Angular 20 Upgrade
16
+
17
+ 🎉 **Stable Release** - Production Ready!
18
+
19
+ ### Breaking Changes
20
+ * **Angular Version:** Minimum required version is now Angular 20.0.0
21
+ * **RxJS:** Requires RxJS 7.8.0 or higher (upgraded from 6.5.5)
22
+ * **TypeScript:** Requires TypeScript 5.4 or higher
23
+ * **zone.js:** Updated to 0.15.1
24
+
25
+ ### Features
26
+ * **Angular 20 Support:** Full compatibility with Angular 20.3.13 (v20-lts)
27
+ * **Angular 21 Ready:** Forward compatible with Angular 21.x
28
+ * **Modern Build System:** Updated to latest ng-packagr 20.3.2
29
+ * **Enhanced Type Safety:** Improved TypeScript strict mode compliance
30
+ * **Font Awesome Removed:** No external icon dependencies - using pure SVG icons (27 icons)
31
+ * **Zero External Icon Dependencies:** Fully self-contained icon system
32
+
33
+ ### Migration Path
34
+ * Migrated through: Angular 13 → 18 → 19 → 20
35
+ * All Angular CLI migrations applied successfully
36
+ * Updated DOCUMENT import from @angular/core (Angular 20 requirement)
37
+ * Modernized test infrastructure (waitForAsync)
38
+
39
+ ### Developer Experience
40
+ * **ESLint:** Updated to @angular-eslint 20.x
41
+ * **Linting:** All files pass linting (0 errors)
42
+ * **Build:** Both development and production builds verified
43
+ * **Tests:** 13/13 tests passing (100% success rate)
44
+
45
+ ### Bug Fixes
46
+ * **Tests:** Fixed AeSelectComponent tests for mousedown event handling
47
+ * **Demo:** Updated demo app for Angular 20 compatibility
48
+
49
+ ### Technical Details
50
+ * Removed deprecated `async` test helper (use `waitForAsync`)
51
+ * Fixed TypeScript strict type checking for event handlers
52
+ * Disabled new strict rules for backward compatibility (prefer-standalone, prefer-inject)
53
+ * Updated moduleResolution to 'bundler' (Angular 20 standard)
54
+
55
+ ### Peer Dependencies
56
+ ```json
57
+ {
58
+ "@angular/common": "^20.0.0 || ^21.0.0",
59
+ "@angular/core": "^20.0.0 || ^21.0.0",
60
+ "@angular/forms": "^20.0.0 || ^21.0.0",
61
+ "rxjs": "^7.8.0"
62
+ }
63
+ ```
64
+
65
+ <a name="3.0.0-beta.2"></a>
66
+ ## [3.0.0-beta.2](https://github.com/kolkov/angular-editor/compare/v3.0.0-beta.1...v3.0.0-beta.2) (2025-01-10)
67
+ * Refactor ae-select component (button → span)
68
+
1
69
  <a name="2.0.0"></a>
2
- ## [1.0.2](https://github.com/kolkov/angular-editor/compare/v1.2.0...v2.0.0) (2022-01-06) Majore release
70
+ ## [2.0.0](https://github.com/kolkov/angular-editor/compare/v1.2.0...v2.0.0) (2022-01-06) Major release
3
71
  * Update to Angular v.13 and new Ivy compatible package format
4
72
 
5
73
  <a name="1.0.2"></a>
package/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  <p align="center">
2
- <img width="150px" src="https://raw.githubusercontent.com/kolkov/angular-editor/master/docs/angular-editor-logo.png?raw=true" alt="AngularEditor logo"/>
2
+ <img width="150px" src="https://raw.githubusercontent.com/kolkov/angular-editor/main/docs/angular-editor-logo.png?raw=true" alt="AngularEditor logo"/>
3
3
  </p>
4
4
 
5
5
  # AngularEditor
6
6
  [![npm version](https://badge.fury.io/js/%40kolkov%2Fangular-editor.svg)](https://badge.fury.io/js/%40kolkov%2Fangular-editor)
7
7
  [![demo](https://img.shields.io/badge/demo-StackBlitz-blueviolet.svg)](https://stackblitz.com/edit/angular-editor-wysiwyg)
8
- [![Build Status](https://travis-ci.com/kolkov/angular-editor.svg?branch=master)](https://travis-ci.com/kolkov/angular-editor)
8
+ [![Build Status](https://travis-ci.com/kolkov/angular-editor.svg?branch=main)](https://travis-ci.com/kolkov/angular-editor)
9
9
  [![npm](https://img.shields.io/npm/dm/@kolkov/angular-editor.svg)](https://www.npmjs.com/package/@kolkov/angular-editor)
10
10
  [![](https://data.jsdelivr.com/v1/package/npm/@kolkov/angular-editor/badge?style=rounded)](https://www.jsdelivr.com/package/npm/@kolkov/angular-editor)
11
- [![Coverage Status](https://coveralls.io/repos/github/kolkov/angular-editor/badge.svg?branch=master)](https://coveralls.io/github/kolkov/angular-editor?branch=master)
12
- [![codecov](https://codecov.io/gh/kolkov/angular-editor/branch/master/graph/badge.svg)](https://codecov.io/gh/kolkov/angular-editor)
11
+ [![Coverage Status](https://coveralls.io/repos/github/kolkov/angular-editor/badge.svg?branch=main)](https://coveralls.io/github/kolkov/angular-editor?branch=main)
12
+ [![codecov](https://codecov.io/gh/kolkov/angular-editor/branch/main/graph/badge.svg)](https://codecov.io/gh/kolkov/angular-editor)
13
13
  [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://paypal.me/AndreyKolkov)
14
14
 
15
- A simple native WYSIWYG/Rich Text editor for Angular 6-19+
15
+ A simple native WYSIWYG/Rich Text editor for Angular 20+
16
16
 
17
17
  ![Nov-27-2019 17-26-29](https://user-images.githubusercontent.com/216412/69763434-259cd800-113b-11ea-918f-0565ebce0e48.gif)
18
18
 
@@ -30,16 +30,21 @@ Install via [npm][npm] package manager
30
30
  npm install @kolkov/angular-editor --save
31
31
  ```
32
32
  ### Versions
33
- 3.0.0 and above - for Angular v13+ (removed Font Awesome icons deps + CSS variables)
33
+ 3.0.0 and above - for Angular v20+ (CSS variables, modern Angular 20)
34
34
 
35
- 2.0.0 and above - for Angular v13.x.x and above
35
+ 2.0.0 and above - for Angular v13-19
36
36
 
37
- 1.0.0 and above - for Angular v8.x.x and above
37
+ 1.0.0 and above - for Angular v8-12
38
38
 
39
39
  0.18.4 and above - for Angular v7.x.x
40
40
 
41
41
  0.15.x - for Angular v6.x.x
42
42
 
43
+ **Note:** Version 3.0.0 requires:
44
+ - Angular 20.0.0 or higher (also compatible with Angular 21)
45
+ - RxJS 7.8.0 or higher
46
+ - TypeScript 5.4 or higher
47
+
43
48
  Attention! `alpha` and `beta` versions may contain breaking changes.
44
49
 
45
50
  ### Usage
@@ -323,9 +328,9 @@ Icons from Ligature Symbols Icons Collection [icons]
323
328
 
324
329
  ## Contributing
325
330
 
326
- Please read through our [contributing guidelines](https://github.com/kolkov/angular-editor/blob/master/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
331
+ Please read through our [contributing guidelines](https://github.com/kolkov/angular-editor/blob/main/CONTRIBUTING.md). Included are directions for opening issues, coding standards, and notes on development.
327
332
 
328
- Editor preferences are available in the [editor config](https://github.com/kolkov/angular-editor/blob/master/.editorconfig) for easy use in common text editors. Read more and download plugins at <http://editorconfig.org>.
333
+ Editor preferences are available in the [editor config](https://github.com/kolkov/angular-editor/blob/main/.editorconfig) for easy use in common text editors. Read more and download plugins at <http://editorconfig.org>.
329
334
 
330
335
  ## Versioning
331
336
 
@@ -77,13 +77,13 @@
77
77
  <path d="M18.2 14.8L17.5 15.5L14 12L17.5 8.5L18.2 9.2L15.4 12L18.2 14.8Z" fill="#000000"></path>
78
78
  </symbol>
79
79
  <symbol id="unorderedList" viewBox="0 0 16 16">
80
- <g id="SVGRepo_iconCarrier">
80
+ <g id="SVGRepo_iconCarrier" transform="translate(1.6 1.6) scale(0.8)">
81
81
  <rect width="16" height="16" id="icon-bound" fill="none"></rect>
82
82
  <path d="M4,3v2h12V3H4z M0,5h2V3H0V5z M4,9h12V7H4V9z M0,9h2V7H0V9z M4,13h12v-2H4V13z M0,13h2v-2H0V13z"></path>
83
83
  </g>
84
84
  </symbol>
85
85
  <symbol id="orderedList" viewBox="0 0 16 16">
86
- <g id="SVGRepo_iconCarrier">
86
+ <g id="SVGRepo_iconCarrier" transform="translate(1.6 1.6) scale(0.8)">
87
87
  <rect width="16" height="16" id="icon-bound" fill="none"></rect>
88
88
  <path id="list-numbered"
89
89
  d="M0,10l0,-1l2,0c0.552,0 1,0.448 1,1l0,1c-0,0.552 -0.448,1 -1,1l-0.75,0c-0.066,-0 -0.13,0.026 -0.177,0.073c-0.047,0.047 -0.073,0.111 -0.073,0.177c0,0.153 0,0.347 0,0.5c-0,0.066 0.026,0.13 0.073,0.177c0.047,0.047 0.111,0.073 0.177,0.073l1.75,0l0,1l-2,0c-0.552,-0 -1,-0.448 -1,-1l0,-1c0,-0.552 0.448,-1 1,-1l0.75,-0c0.066,0 0.13,-0.026 0.177,-0.073c0.047,-0.047 0.073,-0.111 0.073,-0.177c0,-0.153 0,-0.347 0,-0.5c0,-0.066 -0.026,-0.13 -0.073,-0.177c-0.047,-0.047 -0.111,-0.073 -0.177,-0.073l-1.75,0Zm4,1l12,0l0,2l-12,0l0,-2Zm0,-4l12,0l0,2l-12,0l0,-2Zm-3,-3.75c0,-0.066 -0.026,-0.13 -0.073,-0.177c-0.047,-0.047 -0.111,-0.073 -0.177,-0.073l-0.75,0l0,-1l1,0c0.552,0 1,0.448 1,1c-0,1.185 0,4 0,4l-1,0l0,-3.75Zm3,-0.25l12,0l0,2l-12,0l0,-2Z"></path>