Skip to content

Releases: ncstate-sat/popover

14.0.0 hoarse-horse

19 Dec 23:49
Compare
Choose a tag to compare

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

24 Jun 13:53
4315d42
Compare
Choose a tag to compare

Breaking Changes

  • None

Notes

  • Correcting the npm account for the latest release

13.0.1 plain-plane

24 Jun 13:20
2eb68de
Compare
Choose a tag to compare

Breaking Changes

  • None

Notes

  • Peer dependencies of @angular/{**} are now set to ~18.0

12.0.0 peirz-peers

30 Mar 14:58
2c4a4c2
Compare
Choose a tag to compare

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

05 Mar 15:05
3ee085b
Compare
Choose a tag to compare

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 to SatPopoverComponent.
    This complies with the Angular style guide.
  • tslint is removed in favor of eslint.
  • ivy build options are removed and no longer supported, as they are the default.

10.3.2 thrice-asnice

22 Sep 19:46
c93c887
Compare
Choose a tag to compare

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

22 Sep 19:46
ac097e0
Compare
Choose a tag to compare

10.3.0 wobbly-bobbly

Breaking Changes

  • Peer dependencies of @angular/{**} are now set to ^16.2.4
  • ngcc removed from postinstall hook, as it is no longer required.

10.2.2 freaky-deaky

22 Sep 19:45
Compare
Choose a tag to compare

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

22 Sep 19:45
Compare
Choose a tag to compare

10.1.0 rhyme-thyme

Breaking Changes

  • Peer dependencies of @angular/{**} are now set to ^15.0.4.

10.0.0 holder-boulder

14 Jul 02:02
Compare
Choose a tag to compare

10.0.0 holder-boulder

Breaking Changes

  • Peer dependencies of @angular/{**} are now set to ^14.0.4.