@bnsights/bbsf-controls 1.2.24 → 1.2.26
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 +38 -11
- package/fesm2022/bnsights-bbsf-controls.mjs +466 -208
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
- package/lib/controls/LogoCropper/LogoCropper.component.d.ts +33 -0
- package/lib/controls/MarkdownEditor/markdown-editor.component.d.ts +56 -64
- package/lib/modules/bbsf-editors.module.d.ts +7 -9
- package/lib/modules/bbsf-uploads.module.d.ts +2 -1
- package/package.json +36 -7
- package/public-api.d.ts +1 -0
- package/src/lib/assets/Style.scss +7 -7
- package/src/lib/assets/ace-builds/ace.js +0 -23
- package/src/lib/assets/ace-builds/mode-markdown.js +0 -8
- package/src/lib/assets/ngx-markdown-editor/highlight.js/agate.min.css +0 -17
- package/src/lib/assets/ngx-markdown-editor/highlight.js/highlight.min.js +0 -2
- package/src/lib/assets/ngx-markdown-editor/marked.min.js +0 -6
package/README.md
CHANGED
|
@@ -327,11 +327,19 @@ import { BBSFFormsBasicModule, BBSFUploadsModule } from '@bnsights/bbsf-controls
|
|
|
327
327
|
|
|
328
328
|
---
|
|
329
329
|
|
|
330
|
-
## 🔧 Troubleshooting
|
|
331
|
-
|
|
332
|
-
###
|
|
333
|
-
|
|
334
|
-
|
|
330
|
+
## 🔧 Troubleshooting
|
|
331
|
+
|
|
332
|
+
### Markdown editor assets and behavior
|
|
333
|
+
|
|
334
|
+
`BBSF-MarkdownEditor` is now powered by Tiptap and no longer depends on the previous third-party markdown editor, Ace, runtime markdown scripts, or copied markdown editor assets.
|
|
335
|
+
|
|
336
|
+
The control keeps the BBSF API and form integration, but the old split preview panel, `customRender`, and built-in image upload behavior are no longer provided by the editor engine.
|
|
337
|
+
|
|
338
|
+
---
|
|
339
|
+
|
|
340
|
+
### Error: `export 'DOCUMENT' (imported as 'DOCUMENT') was not found in '@angular/core'`
|
|
341
|
+
|
|
342
|
+
**Problem:** This error occurs when using Angular 19+ with the `BBSFEditorsModule` (which uses `@kolkov/angular-editor`). Angular 19's build system tries to process the `@kolkov/angular-editor` package and encounters compatibility issues.
|
|
335
343
|
|
|
336
344
|
**Solution 1: Install @kolkov/angular-editor in your consuming app (Recommended)**
|
|
337
345
|
|
|
@@ -390,11 +398,30 @@ If the issue persists, consider using a different HTML editor component that's c
|
|
|
390
398
|
|
|
391
399
|
---
|
|
392
400
|
|
|
393
|
-
## Change Log
|
|
394
|
-
|
|
395
|
-
## 1.2.
|
|
396
|
-
|
|
397
|
-
=====================
|
|
401
|
+
## Change Log
|
|
402
|
+
|
|
403
|
+
## 1.2.26 / 15-06-2026
|
|
404
|
+
|
|
405
|
+
=====================
|
|
406
|
+
|
|
407
|
+
- Added explicit package exports for controls SCSS assets so Angular browser and application builders can resolve deep style imports from consuming packages.
|
|
408
|
+
- Kept backward compatibility for extensionless Sass imports such as `@bnsights/bbsf-controls/src/lib/assets/sass/variables`.
|
|
409
|
+
- Marked CSS, SCSS, and packaged assets as side-effectful so published global styles are preserved by consumers.
|
|
410
|
+
- Added `LogoCropperComponent` as a standalone upload modal component exported from `@bnsights/bbsf-controls`.
|
|
411
|
+
- Re-exported `LogoCropperComponent` through `BBSFUploadsModule` and the package public API.
|
|
412
|
+
- Added `ngx-image-cropper` dependency for logo cropping support with Angular 19-compatible peer dependencies.
|
|
413
|
+
|
|
414
|
+
## 1.2.25 / 15-06-2026
|
|
415
|
+
|
|
416
|
+
=====================
|
|
417
|
+
|
|
418
|
+
- Replaced the BBSF MarkdownEditor engine with a Tiptap-powered markdown editor while keeping the existing `BBSF-MarkdownEditor` selector, options model, form integration, validation, and `BBSFEditorsModule` export.
|
|
419
|
+
- Removed the old markdown editor runtime asset dependency path, including Ace and copied markdown editor assets.
|
|
420
|
+
- Added Tiptap and PrimeIcons dependencies for the new MarkdownEditor toolbar and markdown serialization.
|
|
421
|
+
|
|
422
|
+
## 1.2.24 / 14-06-2026
|
|
423
|
+
|
|
424
|
+
=====================
|
|
398
425
|
|
|
399
426
|
- Add new file-upload props for override labels
|
|
400
427
|
{
|
|
@@ -421,7 +448,7 @@ If the issue persists, consider using a different HTML editor component that's c
|
|
|
421
448
|
- Fixed package stylesheet imports for Angular esbuild application builder compatibility.
|
|
422
449
|
- Replaced webpack-era `/node_modules/...` SCSS imports in `src/lib/assets/Style.scss` with relative package imports.
|
|
423
450
|
- Removed `.css` extensions from SCSS imports so Sass resolves and inlines vendor styles instead of leaving CSS `@import` statements for esbuild.
|
|
424
|
-
- Fixed imports for Angular Material prebuilt theme, ngx-toastr, intl-tel-input,
|
|
451
|
+
- Fixed imports for Angular Material prebuilt theme, ngx-toastr, intl-tel-input, markdown editor styles, and angular-datetime-picker styles.
|
|
425
452
|
|
|
426
453
|
## 1.2.22 / 06-05-2026
|
|
427
454
|
|