Socket
Socket
Sign inDemoInstall

@ng-bootstrap/ng-bootstrap

Package Overview
Dependencies
108
Maintainers
5
Versions
150
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
11121314

1.0.0-alpha.9

Diff

Changelog

Source

1.0.0-alpha.9 (2016-10-21)

Bug Fixes

  • restore TypeScript 1.8 compatibility (1259d37), closes #904 #911
  • buttons: properly handle focus on radio buttons (23d412b), closes #913
  • datepicker: propagate "touched" property (deadb67), closes #918 #924
  • popover: properly destroy popovers using container option (19bb887), closes #931
  • timepicker: properly display chevrons in Safari on iOS (cbfa23b), closes #908 #909
  • timepicker: properly display chevrons in older IEs (54cd30b), closes #935
  • tooltip: properly destroy tooltips using container option (94a4d5c), closes #910 #912

Features

  • datepicker: can easily hide days outside of current month (a92c0e7), closes #937
  • modal: allow interactions with components passed as content (cc4ffb0), closes #861 #903
  • modals: stack modals in opening order (20ad457), closes #902 #901

<a name="1.0.0-alpha.8"></a>

ng-bootstrap
published 1.0.0-alpha.8 •

Changelog

Source

1.0.0-alpha.8 (2016-10-14)

Bug Fixes

  • build: properly reference rxjs from the UMD bundle (53115da), closes #884
  • modal: don't error on dismiss without result handler (21de54c), closes #880 #885
  • pagination: emits pageChange when collection size changes (84d555c), closes #800 #868
  • radio: don't shadow checked attribute when not using buttons (de7d0e4), closes #840 #874

Features

  • popover: add support for the 'container' option (d1a22c0), closes #852 #853
  • tooltip: add support for the 'container' option (b8230e5), closes #621 #871
  • typeahead: add support for the focusFirst option (e86277f), closes #748 #856

<a name="1.0.0-alpha.7"></a>

ng-bootstrap
published 1.0.0-alpha.7 •

Changelog

Source

1.0.0-alpha.7 (2016-10-10)

This release restores full AoT compatibility and has proper support for lazy-loaded NgbModule. On top of this we are shipping a lot of new features and bug fixes - details below.

Bug Fixes

  • restore full AoT compatibility (2101a89), closes #796 #854
  • buttons: use disabled state from a control (d9495db), closes #805 #828
  • datepicker: replace not-allowed cursor with default one (807c7e7), closes #850
  • datepicker: use ISO 8601 for month and weekday numbers (#797) (a173e40), closes #728
  • dropdown: properly close dropdown on child elements click (fdf8d4b), closes #803 #810
  • modal: support modals in lazy loaded modules (#799) (eca26cd), closes #784
  • modal: properly destroy content views (3cdb0ff), closes #806 #826
  • popover: properly cleanup content passed as TemplateRef (8246541), closes #827 #830
  • rating: replace not-allowed cursor with default one (e888d67), closes #851

Features

  • carousel: add support to turn off interval (c5625e8), closes #804
  • datepicker: infer startDate from model value (4fc52c1), closes #843 #844
  • datepicker: pass current month value to 'markDisabled' callback (afe6342), closes #849
  • modal: add support for custom windowClass on modals (ff132d7), closes #818 #845
  • modal: allow components as content (ecdd3a0), closes #680 #727 #846
  • popover: add isOpen() and shown/hidden events (3bbf512), closes #841
  • rating: allow custom star templates (29c44cd), closes #815
  • rating: allow decimal numbers as rating values (964d8cf), closes #817
  • tooltip: add isOpen() and show/hide events (91c6054), closes #842

BREAKING CHANGES

  • The NgbModule module must now import using the forRoot() static method. Check the updated installation instructions for more details.
  • datepicker: now datepicker uses ISO 8601 for month and weekday numbers with default calendar

Before:

0=Jan; 1=Feb; ... 11=Dec

0=Sun; 1=Mon; ... 6=Sat

After:

1=Jan; 2=Feb; ... 12=Dec

1=Mon; 2=Tue; ... 7=Sun

<a name="1.0.0-alpha.6"></a>

ng-bootstrap
published 1.0.0-alpha.6 •

Changelog

Source

1.0.0-alpha.6 (2016-09-23)

Bug Fixes

  • accordion: rename change event to avoid conflicts (21eb610), closes #751 #756
  • dropdown: support autoClose when several dropdowns exist (e2e7c1b), closes #687 #785
  • popover: avoid shadowing of the native title property (2577efd), closes #736 #757
  • popover: properly handle components using OnPush strategy (40bde5e), closes #781
  • tabset: rename change event to avoid conflicts with native ones (9d2754f), closes #741 #747
  • tooltip: hide, or avoid opening the tooltip if its value is falsy (31a035b), closes #737 #745
  • tooltip: properly handle components using OnPush strategy (667833c), closes #772 #777
  • typeahead: properly handle components using OnPush strategy (a2ba68a), closes #775

Features

  • alert: remove self-closing alert component (79e393d), closes #758
  • datepicker: allow parsing and formatting dates in a custom way (401fcfa), closes #755
  • typeahead: add support for the "editable" option (cb91905), closes #788 #789

BREAKING CHANGES

  • alert: the NgbSelfClosingAlert component has been removed. Check the self-closing alert demo to know how to achieve the same thing with NgbAlert.
  • accordion: the change event on the accordion level was renamed to panelChange.

Before:

<ngb-accordion (change)="...">

After:

<ngb-accordion (panelChange)="...">

  • popover: the title property of the popover directive was renamed to popoverTitle.

Before:

<div ngbPopover="..." title="...">

After:

<div ngbPopover="..." popoverTitle="...">

  • tabset: the change event on the tabset level was renamed to tabChange.

Before:

<ngb-tabset (change)="...">

After:

<ngb-tabset (tabChange)="...">

<a name="1.0.0-alpha.5"></a>

ng-bootstrap
published 1.0.0-alpha.5 •

Changelog

Source

1.0.0-alpha.5 (2016-09-15)

This release brings support for datepicker in popups - we believe that there is a solid widget here! Alpha.5 changes content of npm package to enable AoT compilation with tree-shaking. There are also small features and bug fixes for the existing widgets - see the details below.

Bug Fixes

  • popover: properly re-position popovers (a729ba9), closes #710
  • tooltip: properly re-position tooltips (6748a78), closes #709
  • typeahead: properly re-position typeahead window (2f59666), closes #707 #714
  • typeahead: properly support disabled inputs (bf61640), closes #703

Features

  • datepicker: add support for datepickers in popups (390935b), closes #715
  • datepicker: add background color when hovering day (bc89510), closes #713
  • datepicker: add support for disabled datepicker (64ec99c), closes #702
  • timepicker: propagate second as 0 if seconds not displayed (c1c68b0), closes #711
  • typeahead: add config service to provide default values (237b4d5), closes #518 #697
  • typeahead: allow veto of an item selection (e793944), closes #699 #733

BREAKING CHANGES

  • typeahead: payload of the typeahead's selectItem event was changed - now it is an object implementing the NgbTypeaheadSelectItemEvent. You can easily migrate your existing code by changing:

<input [ngbTypeahead]="find" (selectItem)="onSelect($event)"/>

to

<input [ngbTypeahead]="find" (selectItem)="onSelect($event.item)"/>

  • build: npm package: code in ESM (ES6 Modules) format is now published at the default location in the npm package with package.json's main entry pointing to an UMD bundle (primarily for node and webpack 1 users).

If you are using SystemJS, you should adjust your configuration to point to the UMD bundle.

<a name="1.0.0-alpha.4"></a>

ng-bootstrap
published 1.0.0-alpha.4 •

Changelog

Source

1.0.0-alpha.4 (2016-09-07)

This release brings a new component - datepicker! Additionally all widgets now support global config through an injectable service. There are also small features and bug fixes for the existing widgets - see the details below.

Bug Fixes

  • dropdown: don't emit duplicate change events (2e529e3), closes #694 #695
  • timepicker: spinners don't submit form anymore (f131990), closes #690 #691
  • typeahead: navigation buttons don't submit form anymore (79f4597), closes #693

Features

  • accordion: add config service to provide default values (1c290a2), closes #655
  • alert: add config service to provide default values (e666c61), closes #661
  • alert: self-closing alerts are non-dismissible by default (720c409), closes #660 #676
  • carousel: add config service to provide default values (99d4386), closes #664
  • datepicker: add config service to provide default values (42002d9), closes #677
  • datepicker: initial version of datepicker component (#618) (9e8c5c0), closes #20
  • dropdown: add config service to provide default values (e97d260), closes #688
  • dropdown: add support for dropup (56b8dc5), closes #667
  • pagination: add config service to provide default values (#665) (9405e0e)
  • popover: add config service to provide default values (a58588c), closes #686
  • progressbar: add config service to provide default values (f32f8c8)
  • rating: add config service to provide default values (8b7047d), closes #671
  • tabset: add config service to provide default values (609cbde), closes #673
  • timepicker: add config service to provide default values (ca40f27), closes #674
  • tooltip: add config service to provide default values (7107caf), closes #678
  • typeahead: add support for the showHint option (5a0226d), closes #639 #640

<a name="1.0.0-alpha.3"></a>

ng-bootstrap
published 1.0.0-alpha.3 •

Changelog

Source

1.0.0-alpha.3 (2016-08-30)

This release adds support for the modal service. Cross-browser compatibility was reviewed and improved. We now support all the browsers supported by Angular 2 and Bootstrap, including IE9. There are also small features and bug fixes for the existing widgets - see the details below.

Bug Fixes

  • typeahead: cleans up subscription on component destroy (5dcecae), closes #620
  • fix the error emitted by TS due to missing generic type (976ff34), closes #622

Features

  • support IE9 (5514a97), closes #604
  • modal: add initial version of the modal service (3ef99c5), closes #3
  • typeahead: add support for the 'select' output (c0dd7b7), closes #606 #610

<a name="1.0.0-alpha.2"></a>

ng-bootstrap
published 1.0.0-alpha.2 •

Changelog

Source

1.0.0-alpha.2 (2016-08-10)

This release makes the code compatible with Angular 2.0.0-rc.5. There are also small features and bug fixes for the existing widgets - see the details below.

Bug Fixes

  • buttons: don't interfere with 'active' class (af4de2a), closes #557 #559
  • progressbar: reorder 'value' and 'max' attribute bindings for IE (30e20f5), closes #543 #544
  • timepicker: format input values on blur (d9ac911), closes #511 #517
  • timepicker: propagate only valid model values (8c4144a), closes #513 #516
  • typeahead: resolves window items excessive rendering (862fbc5), closes #526
  • typeahead: specify any type for formatters argument (86c3644), closes #553 #554
  • don't accept string as boolean input (190b7ec), closes #552
  • don't accept string as number input (f49fb08), closes #560

Features

  • timepicker: allow hiding the spinners (dc4962d), closes #510 #519
  • typeahead: set autocomplete, autocapitalize and autocorrect off (46024c3), closes #520 #525

BREAKING CHANGES

  • number inputs in pagination could previously be set as strings. The values passed were transformed to numbers if necessary and rounded to integers. This is not supported anymore. All number inputs should now consistently be set as number, using the syntax [attr]="value" (for example: <ngb-pagination [pageSize]="20" ...></ngb-pagination> instead of <ngb-pagination pageSize="20" ...></ngb-pagination>), and rounding is not applied anymore.
  • boolean inputs in progressbar and pagination could be set by just adding the attribute (for example: <ngb-progressbar striped></ngb-progressbar>). This is not supported anymore. All boolean inputs must now consistently be set using the syntax [attr]="value" (for example: <ngb-progressbar [striped]="true"></ngb-progressbar>).
  • you need to use @NgModules to setup your application. Check https://ng-bootstrap.github.io/#/getting-started for more details.

<a name="1.0.0-alpha.1"></a>

ng-bootstrap
published 1.0.0-alpha.1 •

Changelog

Source

1.0.0-alpha.1 (2016-07-29)

This release adds support for 2 new directives (timepicker and typeahead) and updates Bootstrap support to 4.0.0-alpha.3. There are also small features and bug fixes for the existing widgets - see the details below.

Bug Fixes

  • dropdown: use button elements instead of links (aeeee01), closes #490
  • pagination: display proper cursor on each page (dca96fd), closes #492
  • progressbar: don't add bogus CSS classes (56ea4c5), closes #496
  • rating: set cursor on stars of rating component (#411) (bcba259)

Features

  • accordion: add panels type option (b5ad117), closes #420 #431
  • timepicker: add timepicker widget
  • typeahead: add typeahead widget

BREAKING CHANGES

  • accordion: accordion implementation was overhauled to use cards instead of deprecated panels. Refer to the API docs and demo page for more details.
  • pager: support for the pager widget was removed as the result of its removal from Bootstrap's CSS.

<a name="1.0.0-alpha.0"></a>

ng-bootstrap
published 1.0.0-alpha.0 •

Changelog

Source

1.0.0-alpha.0 (2016-07-08)

Features

Initial release with the following directives:

  • accordion
  • alert
  • buttons
  • carousel
  • collapse
  • dropdown
  • pager
  • pagination
  • popover
  • progressbar
  • rating
  • tabset
  • tooltip
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