-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(moduleless): migrating to standalone modules support (#6669)
* feat(accordion): migrated to standalone * feat(accordion): migrated to standalone * feat(alert)): migrated to standalone * feat(buttons): migrated to standalone * feat(carousel): migrated to standalone * feat(collapse): migrated to standalone * feat(datepicker): migrated to standalone * fix(accordion): fixed tests * fix(accordion): fixed tests * fix(accordion): fixed tests * fix(accordion): fixed tests * fix(accordion): fixed tests * fix(carousel): fixed tests * feat(dropdown): added moduleless support * feat(focustrap): added moduleless support * feat(modal): added moduleless support * feat(pagination): added moduleless support * feat(popover): added moduleless support * feat(progressbar): added moduleless support * feat(rating): added moduleless support * feat(sortable): added moduleless support * feat(tabs): added moduleless support * feat(timepicker): added moduleless support * feat(timepicker): added moduleless support * feat(typeahead): added moduleless support * feat(typeahead): added moduleless support * fix(rating): tests ajust to moduleless * fix(progressbar): tests ajust to moduleless * chore(docs): added deprecations * chore(docs): updated documentation regarding standalone usage * chore(docs): updated documentation regarding standalone usage * fix(modal): fixed nested backdrop issue * 18.1.0 * chore(version): bumped version to 18.1.0
- Loading branch information
Showing
173 changed files
with
1,005 additions
and
664 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"version": "18.0.2" | ||
"version": "18.1.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
### Standalone component usage | ||
import { AlertComponent } from 'ngx-bootstrap/alert'; | ||
|
||
@Components({ | ||
standalone: true, | ||
imports: [AlertComponent,...] | ||
}) | ||
export class AppComponent(){} | ||
|
||
|
||
### Module usage | ||
import { AlertModule } from 'ngx-bootstrap/alert'; | ||
|
||
@NgModule({ | ||
imports: [AlertModule.forRoot(),...] | ||
imports: [AlertModule,...] | ||
}) | ||
export class AppModule(){} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
### Standalone component usage | ||
import { ButtonsModule } from 'ngx-bootstrap/buttons'; | ||
|
||
@Component({ | ||
imports: [ | ||
ButtonsModule, | ||
... | ||
] | ||
}) | ||
export class AppComponent(){} | ||
|
||
|
||
### Module usage | ||
import { ButtonsModule } from 'ngx-bootstrap/buttons'; | ||
|
||
@NgModule({ | ||
imports: [ButtonsModule.forRoot(),...] | ||
imports: [ButtonsModule,...] | ||
}) | ||
export class AppModule(){} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
### Standalone component usage | ||
import { CarouselModule } from 'ngx-bootstrap/carousel'; | ||
|
||
@Component({ | ||
imports: [ | ||
CarouselModule, | ||
... | ||
] | ||
}) | ||
export class AppComponent(){} | ||
|
||
|
||
### Module usage | ||
import { CarouselModule } from 'ngx-bootstrap/carousel'; | ||
|
||
@NgModule({ | ||
imports: [CarouselModule.forRoot(),...] | ||
imports: [CarouselModule,...] | ||
}) | ||
export class AppModule(){} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,18 @@ | ||
### Standalone component usage | ||
import { ModalModule, BsModalService } from 'ngx-bootstrap/modal'; | ||
|
||
@Component({ | ||
standalone: true, | ||
imports: [ModalModule,...], // module can be optional | ||
providers: [BsModalService] | ||
}) | ||
export class AppComponent(){} | ||
|
||
### Module usage | ||
import { ModalModule } from 'ngx-bootstrap/modal'; | ||
|
||
@NgModule({ | ||
imports: [ModalModule.forRoot(),...] | ||
imports: [ModalModule,...], | ||
providers: [BsModalService] | ||
}) | ||
export class AppModule(){} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,16 @@ | ||
### Standalone component usage | ||
import { PaginationModule } from 'ngx-bootstrap/pagination'; | ||
|
||
@Component({ | ||
standalone: true, | ||
imports: [PaginationModule,...], | ||
}) | ||
export class AppComponent(){} | ||
|
||
### Module usage | ||
import { PaginationModule } from 'ngx-bootstrap/pagination'; | ||
|
||
@NgModule({ | ||
imports: [PaginationModule.forRoot(),...] | ||
imports: [PaginationModule,...] | ||
}) | ||
export class AppModule(){} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.