From b9ed91c5a62585f837abfafdc40bd47f389f0f40 Mon Sep 17 00:00:00 2001 From: "sebastien.dupon@digipolis.be" Date: Fri, 26 Jan 2024 17:48:42 +0100 Subject: [PATCH 1/2] feat: responsive wrapper ui update --- .../ngx-table/src/lib/components/table/table.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ngx-table/src/lib/components/table/table.component.html b/packages/ngx-table/src/lib/components/table/table.component.html index adac3786..352aba0e 100644 --- a/packages/ngx-table/src/lib/components/table/table.component.html +++ b/packages/ngx-table/src/lib/components/table/table.component.html @@ -1,6 +1,6 @@
Date: Tue, 20 Aug 2024 17:10:16 +0200 Subject: [PATCH 2/2] fix: Add strongly typed return type for forChild() in ItemCounterModule, which is necessary in Angular 18. --- CHANGELOG.md | 12 ++++++++++++ lerna.json | 2 +- packages/ngx-calendar/src/lib/calendar.module.ts | 2 +- packages/ngx-forms/src/lib/upload/upload.module.ts | 2 +- packages/ngx-leaflet/package.json | 2 +- .../src/lib/item-counter/item-counter.module.ts | 4 ++-- .../src/lib/pagination/pagination.module.ts | 2 +- .../src/lib/components/table/table.component.html | 2 +- 8 files changed, 20 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94d019b8..791ea79b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/). ## Unreleased +## [6.1.2] - 2024-08-20 + +### Fixed + +- `ngx-pagination`: Add strongly typed return type for forChild() in ItemCounterModule, which is necessary in Angular 18. + +### Changed +- `ngx-calendar`: Changed ModuleWithProviders to specific module in forChild() +- `ngx-forms`: Changed ModuleWithProviders to specific module in forChild() +- `ngx-pagination`: Changed ModuleWithProviders to specific module in forChild() +- `ngx-table`: Changed ModuleWithProviders to specific module in forChild() + ## [6.1.1] - 2024-07-02 ### Fixed diff --git a/lerna.json b/lerna.json index 7d1020ca..fff171c3 100644 --- a/lerna.json +++ b/lerna.json @@ -2,5 +2,5 @@ "packages": [ "packages/*" ], - "version": "6.1.1" + "version": "6.1.2" } diff --git a/packages/ngx-calendar/src/lib/calendar.module.ts b/packages/ngx-calendar/src/lib/calendar.module.ts index 56380feb..c22aa360 100644 --- a/packages/ngx-calendar/src/lib/calendar.module.ts +++ b/packages/ngx-calendar/src/lib/calendar.module.ts @@ -41,7 +41,7 @@ export class CalendarModule { static forChild( weekdayLabels: WeekdayLabelsConfig, monthLabels: MonthLabelsConfig - ): ModuleWithProviders { + ): ModuleWithProviders { return { ngModule: CalendarModule, providers: [ diff --git a/packages/ngx-forms/src/lib/upload/upload.module.ts b/packages/ngx-forms/src/lib/upload/upload.module.ts index 69d04e14..29fd8acf 100644 --- a/packages/ngx-forms/src/lib/upload/upload.module.ts +++ b/packages/ngx-forms/src/lib/upload/upload.module.ts @@ -25,7 +25,7 @@ import { ValidationMessagesService } from './services/validation-messages.servic providers: [ValidationMessagesService, { provide: UPLOAD_VALIDATION_MESSAGES, useValue: {} }], }) export class UploadModule { - static forChild(validationMessages: ValidationMessages = {}): ModuleWithProviders { + static forChild(validationMessages: ValidationMessages = {}): ModuleWithProviders { return { ngModule: UploadModule, providers: [{ provide: UPLOAD_VALIDATION_MESSAGES, useValue: validationMessages }], diff --git a/packages/ngx-leaflet/package.json b/packages/ngx-leaflet/package.json index e7b0d853..2204a2fd 100644 --- a/packages/ngx-leaflet/package.json +++ b/packages/ngx-leaflet/package.json @@ -1,6 +1,6 @@ { "name": "@acpaas-ui/ngx-leaflet", - "version": "6.1.1", + "version": "6.1.2", "publishConfig": { "access": "public" }, diff --git a/packages/ngx-pagination/src/lib/item-counter/item-counter.module.ts b/packages/ngx-pagination/src/lib/item-counter/item-counter.module.ts index a822becd..485c5b3d 100644 --- a/packages/ngx-pagination/src/lib/item-counter/item-counter.module.ts +++ b/packages/ngx-pagination/src/lib/item-counter/item-counter.module.ts @@ -1,4 +1,4 @@ -import { NgModule } from '@angular/core'; +import { ModuleWithProviders, NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { FormsModule } from '@angular/forms'; import { IconModule } from '@acpaas-ui/ngx-icon'; @@ -31,7 +31,7 @@ export class ItemCounterModule { static forChild( itemCounterLabel: Label, itemsPerPageLabel: Label - ) { + ): ModuleWithProviders { return { ngModule: ItemCounterModule, providers: [ diff --git a/packages/ngx-pagination/src/lib/pagination/pagination.module.ts b/packages/ngx-pagination/src/lib/pagination/pagination.module.ts index 08a0e5f0..0d087f75 100644 --- a/packages/ngx-pagination/src/lib/pagination/pagination.module.ts +++ b/packages/ngx-pagination/src/lib/pagination/pagination.module.ts @@ -19,7 +19,7 @@ import { PaginationComponent } from './components/pagination/pagination.componen export class PaginationModule { static forChild( paginationLabels: PaginationLabels - ): ModuleWithProviders { + ): ModuleWithProviders { return { ngModule: PaginationModule, providers: [{ provide: PAGINATION_LABELS, useValue: paginationLabels }], diff --git a/packages/ngx-table/src/lib/components/table/table.component.html b/packages/ngx-table/src/lib/components/table/table.component.html index 352aba0e..adac3786 100644 --- a/packages/ngx-table/src/lib/components/table/table.component.html +++ b/packages/ngx-table/src/lib/components/table/table.component.html @@ -1,6 +1,6 @@