Socket
Socket
Sign inDemoInstall

@ncstate/sat-popover

Package Overview
Dependencies
8
Maintainers
2
Versions
33
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous124Next

3.2.0

Diff

Changelog

Source

3.2.0 yttrium-atrium

Features

willshowell
published 3.1.0 •

Changelog

Source

3.1.0 cactus-malpractice

Features

  • Focus restoration can now be disabled via the restoreFocus property.
  • The popover/anchor now have realign/realignPopover methods to realign the popover to the anchor in case the anchor's size or position changes.
  • The anchor now has a getElement method for getting the anchor's elementRef.
  • The open and openPopover methods now support an optional SatPopoverOpenOptions object where autoFocus and restoreFocus options can be set while opening the popover. Note that these options do no take precendence over the component inputs. For example, if restoreFocus is set to false either in the open options or via the component input, focus will not be restored.
willshowell
published 3.0.0 •

Changelog

Source

3.0.0 reliance-compliance

Breaking Changes

Peer dependencies of @angular/{core,common,cdk} are now set to ^7.0.0.

Other

  • Build library before tagging release
willshowell
published 2.1.1 •

Changelog

Source

2.1.1 daybreak-cheesecake

Other

  • Copy README to published package so it shows up on npm
  • Add current version number to the demo/development app
willshowell
published 2.1.0 •

Changelog

Source

2.1.0 refactor-benefactor

Features

  • SatPopoverAnchoringService is now exposed as part of the public api. This allows you to build your own directives and services to anchor popovers to any element. An easier-to-use service is forthcoming.

Other

  • Internally use the @angular/cli for the build/test toolchain. This thankfully gets rid of a bunch of the hokey build scripts and will ease future development. There should be no change from the end-user's perspective.
willshowell
published 2.0.0 •

Changelog

Source

2.0.0 linchpin-luncheon

Breaking Changes

Peer dependencies of @angular/{core,common,cdk} are now set to ^6.0.0.

Fixes

  • RxJS and CDK rollup globals have been fixed for ng 6 update (thank you @aitboudad!)

Other

  • Internally use the FlexibleConnectedPositionStrategy for connected positioning. This uses the same logic as the ConnectedPositionStrategy did previously, so it should not break or change any behavior.
willshowell
published 2.0.0-beta.0 •

Changelog

Source

2.0.0-beta.0 unanimous-uniform

Breaking Changes

Peer dependencies of @angular/{core,common,cdk} are now set to >=6.0.0-rc.0 <7.0.0. These will be updated to ^6.0.0 in the popover's 2.0.0 release.

willshowell
published 1.0.0 •

Changelog

Source

1.0.0 popover-panda

The API seems pretty stable, so 1.0.0 it is!

Features

  • By default, the popover will spin through a couple fallback alignments when the specified one does not fit within the viewport. This can be troublesome if your popover requires some cardinal relationship with your anchor (e.g. tooltip caret). You can now use forceAlignment to ensure the alignment you've chosen is the one used.
  • By default, when the user scrolls (or changes the viewport size), the popover will continue to use the fallbacks to remain within the viewport. This is potentially distracting, so you can now use lockAlignment to ensure the popover maintains the same alignment as long as it is open. It will be recalculated the next time the popover is opened.
willshowell
published 1.0.0-beta.5 •

Changelog

Source

1.0.0-beta.5 cryptographic-cereal

Features

  • Autofocus behavior can be disabled via autoFocus.
  • Interactive closing actions (i.e. backdrop clicks and escape key) can now be disabled via interactiveClose. You can still use the (backdropClicked) and (overlayKeydown) outputs to catch those events.

Fixes

  • Popover directionality now works with dir set on elements other than <body>.

Other

  • In preparation of support for popovers being anchored and opened via a service, the overlay logic has been refactored out of the anchor directive and into another service. This should have no impact on the usage of the popover.
willshowell
published 1.0.0-beta.4 •

Changelog

Source

1.0.0-beta.4 rezoned-rhombus

Breaking Changes

Peer dependency of @angular/cdk is now set to ^5.0.0.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc