Releases: ncstate-sat/popover
Releases · ncstate-sat/popover
14.0.0 hoarse-horse
Breaking Changes
- Peer dependencies of @angular/{**} are now set to ~19 or higher.
- Angular 19 has made
standalone
components the default, which significantly affects how SatPopover is loaded.
Notes
Recommended reading:
Bootstrapping has changed!
If you want the popover animations to work, you must use provideAnimations
in your AppConfig
;
or, if you prefer to not have animations, you can use provideNoopAnimations
in your AppConfig
.
import { provideAnimations, provideNoopAnimations } from '@angular/platform-browser/animations';
bootstrapApplication(AppComponent, {
// AppConfig
providers: [
provideAnimations()
/* provideNoopAnimations() /* Use if you want to disable animations */
]
});
Alteranatively, if you still use bootstrapModule
, you can continue to import BrowserAnimationsModule
in this manner.
import { BrowserAnimationsModule, NoopAnimationsModule } from '@angular/platform-browser/animations';
@NgModule({
...
imports: [
BrowserAnimationsModule, // Use if you want to enable animations
/* NoopAnimationsModule /* Use if you want to disable animations */
],
...
})
export class AppModule { }
Can I still use modules to import SatPopover?
Yes. SatPopoverModule can still be imported, although you may still have to import SatPopoverComponent
,
SatPopoverAnchorDirective
, or SatPopoverHoverDirective
as necessary.
// my-component.module.ts
import { SatPopoverModule } from '@ncstate/sat-popover';
@NgModule({
...
imports: [
SatPopoverModule,
],
exports: [
MyComponent
],
...
})
export class MyComponentModule { }
// my-component.component.ts
import { Component, ViewChild } from '@angular/core';
import { SatPopoverAnchorDirective, SatPopoverComponent } from '@ncstate/sat-popover';
@Component({
standalone: false,
selector: 'my-component',
template: '<button [satPopoverAnchor]="p" (click)="p.toggle()">Click me</button> <sat-popover #p>Hello!</sat-popover>'
})
export class MyComponent {}
13.0.2 submarine-plumbing
Breaking Changes
- None
Notes
- Correcting the npm account for the latest release
13.0.1 plain-plane
Breaking Changes
- None
Notes
- Peer dependencies of @angular/{**} are now set to ~18.0
12.0.0 peirz-peers
12.0.0 peirz-peers
Breaking Changes
- Peer dependencies of @angular/{**} are now set to ~17.3
- Peer dependencies are re-established in the published package.json
- Constraints are adjusted from patch versions to major versions.
11.0.0 jimny-cricket
11.0.0 jimny-cricket
Breaking Changes
- Peer dependencies of
@angular/{\*\*}
are now set to^17.1.2
- Any reference to
SatPopover
must be changed toSatPopoverComponent
.
This complies with the Angular style guide. tslint
is removed in favor ofeslint
.ivy
build options are removed and no longer supported, as they are the default.
10.3.2 thrice-asnice
10.3.2 thrice-asnice
- Updated other packages
10.3.1 bibbidy-bobbidy
Breaking Changes
- Peer dependencies of @angular/{**} are now set to ^16.2.6
10.3.0 wobbly-bobbly
10.3.0 wobbly-bobbly
Breaking Changes
- Peer dependencies of @angular/{**} are now set to ^16.2.4
ngcc
removed frompostinstall
hook, as it is no longer required.
10.2.2 freaky-deaky
10.2.2 freaky-deaky
Tagging got screwed up. 10.2.2 is good.
10.2.1 silly-vanilly (not published)
Breaking Changes
- Peer dependencies of @angular/{**} are now set to ^15.1.1.
10.1.0 rhyme-thyme
10.1.0 rhyme-thyme
Breaking Changes
- Peer dependencies of @angular/{**} are now set to ^15.0.4.
10.0.0 holder-boulder
10.0.0 holder-boulder
Breaking Changes
- Peer dependencies of @angular/{**} are now set to ^14.0.4.