@bnsights/bbsf-controls 1.2.23 → 1.2.25
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 +53 -7
- package/fesm2022/bnsights-bbsf-controls.mjs +405 -207
- package/fesm2022/bnsights-bbsf-controls.mjs.map +1 -1
- package/lib/Shared/Models/FileUploadOptions.d.ts +14 -0
- package/lib/controls/FileUpload/FileUpload.component.d.ts +4 -0
- package/lib/controls/MarkdownEditor/markdown-editor.component.d.ts +56 -64
- package/lib/modules/bbsf-editors.module.d.ts +7 -9
- package/package.json +34 -6
- 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,7 +398,45 @@ If the issue persists, consider using a different HTML editor component that's c
|
|
|
390
398
|
|
|
391
399
|
---
|
|
392
400
|
|
|
393
|
-
## Change Log
|
|
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
|
+
|
|
411
|
+
## 1.2.25 / 15-06-2026
|
|
412
|
+
|
|
413
|
+
=====================
|
|
414
|
+
|
|
415
|
+
- 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.
|
|
416
|
+
- Removed the old markdown editor runtime asset dependency path, including Ace and copied markdown editor assets.
|
|
417
|
+
- Added Tiptap and PrimeIcons dependencies for the new MarkdownEditor toolbar and markdown serialization.
|
|
418
|
+
|
|
419
|
+
## 1.2.24 / 14-06-2026
|
|
420
|
+
|
|
421
|
+
=====================
|
|
422
|
+
|
|
423
|
+
- Add new file-upload props for override labels
|
|
424
|
+
{
|
|
425
|
+
Upload-area heading; overrides the built-in "Upload"/"DragAndDropHere" text when set.
|
|
426
|
+
titleLbl?: string;
|
|
427
|
+
Upload-area heading; overrides the built-in "Upload"/"DragAndDropHere" text when set.
|
|
428
|
+
dragAndDropLbl?: string;
|
|
429
|
+
Label before the accepted-types list; overrides "Extensions" when set.
|
|
430
|
+
acceptLbl?: string;
|
|
431
|
+
Literal accepted-types text shown after the label; overrides the auto-derived list when set.
|
|
432
|
+
acceptTypes?: string;
|
|
433
|
+
Label before the per-file max size; overrides "FileMaxSizeInMB" text when set.
|
|
434
|
+
maxFileSizeLbl?: string;
|
|
435
|
+
Label before the combined (all-files) max size line; shows this line when set.
|
|
436
|
+
maxSumFilesSizeLbl?: string;
|
|
437
|
+
Label before the max file count; overrides "MaxFileCountValidationKey" text when set.
|
|
438
|
+
maxFileCountLbl?: string;
|
|
439
|
+
}
|
|
394
440
|
|
|
395
441
|
## 1.2.23 / 10-06-2026
|
|
396
442
|
|
|
@@ -399,7 +445,7 @@ If the issue persists, consider using a different HTML editor component that's c
|
|
|
399
445
|
- Fixed package stylesheet imports for Angular esbuild application builder compatibility.
|
|
400
446
|
- Replaced webpack-era `/node_modules/...` SCSS imports in `src/lib/assets/Style.scss` with relative package imports.
|
|
401
447
|
- Removed `.css` extensions from SCSS imports so Sass resolves and inlines vendor styles instead of leaving CSS `@import` statements for esbuild.
|
|
402
|
-
- Fixed imports for Angular Material prebuilt theme, ngx-toastr, intl-tel-input,
|
|
448
|
+
- Fixed imports for Angular Material prebuilt theme, ngx-toastr, intl-tel-input, markdown editor styles, and angular-datetime-picker styles.
|
|
403
449
|
|
|
404
450
|
## 1.2.22 / 06-05-2026
|
|
405
451
|
|