Skip to content

Releases: akveo/nebular

v9.0.0

02 Dec 13:20
1ed72f4
Compare
Choose a tag to compare

BREAKING CHANGES

Theming

CSS custom properties mode for theming is enabled by default since Angular dropped support for Internet Explorer and also removed the ability to use node-sass to compile sass. Read details and how to opt-out here.
This change doesn't affect users who use prebuilt Nebular themes. For prebult themes users we also ship prebuilt themes with custom properties. See usage guide here.

API changes

  • @nebular/theme/styles/_components.scss file removed. Replace imports from this files with:
    @import '@nebular/theme/styles/theming';
    @import '@nebular/theme/styles/themes';
    
  • layout-window-mode-max-width, tabset-tab-text-hide-breakpoint, route-tabset-tab-text-hide-breakpoint theme properties removed. Migration guide.
  • overlay trigger: NbTriggerStrategyBase's isNotOnHostOrContainer, isOnHostOrContainer, isOnHost, isOnContainer methods now expect Element instead of Event as the first parameter. Pass event.target as Element instead of event.
  • sidebar:
    • NbSidebarComponent.toggleResponsive method removed. Change method call to sidebar.responsive = !sidebar.responsive.
    • STATE_EXPANDED, STATE_COLLAPSED, STATE_COMPACTED static properties removed. Use NbSidebarState type values ('expanded', 'collapsed', 'compacted').
    • RESPONSIVE_STATE_MOBILE, RESPONSIVE_STATE_TABLET, RESPONSIVE_STATE_PC static properties removed. Use NbSidebarResponsiveState type values ('mobile', 'tablet', 'pc').
  • router tabset:
    • NbRouteTabsetComponent.tabs property type changed from any to NbRouteTab.
    • NbRouteTabsetComponent.changeTab property type changed from EventEmitter<any> to EventEmitter<NbRouteTab>.
    • tab parameter type of the NbRouteTabsetComponent.selectTab method changed from any to NbRouteTab.
  • infinite list: NbScrollableContainerDimentions class renamed to NbScrollableContainerDimensions. Use updated class name.
  • auth: NbOAuth2AuthStrategy.buildAuthHeader return type changed from any to HttpHeaders | undefined. If the method is overridden in a derived class, update its return type as well.
  • autocomplete: focusInputOnValueChange property removed from NbAutocompleteDirective class. Now autocomplete focuses input only when value is selected by option click or via keyboard.
  • range-picker:
    • NbRangepickerComponent's min, max properties are expecting Date (or moment if using moment adapter) type. filter function parameter also corrected to Date.
    • NbDatepicker now a has second generic D to use for min, max, and filter arguments. It should be set to Date or moment type.
  • context menu: Context menu won't close on menu item click if trigger strategy is set to noop (nbContextMenuTrigger="noop").

Other

  • Minimal required Angular version is 13

Features

  • auth: ability to add additional request headers (#2825) (3959848)
  • chat: ability to provide template as chat title (#2920) (9ccec64)
  • date-time picker: ability to remove now button (#2848) (a2c9d10)
  • date-time picker: add dateTimeChange output (#2816) (73a6b5a)
  • datepicker: allow to change adjustment (#2806) (a3b5ae5)
  • icon: add support for ligature icons (#2951) (b89339d)
  • infinite list: threshold emissions throttling (#2948) (718dd0a)
  • layout: add nbLtr and nbRtl directives (#2927) (35a7ad1)
  • layout: added error message if layout not provided (#2778) (7c12874)
  • router tabset: ability to configure routerLinkActiveOptions per tab (#2907) (276d610)
  • select, autocomplete: ability to override options width (#2874) (e30e00c)
  • stepper: add step change event (#2779) (1b871f4)
  • tabset: ability to provide template as tab label (#2829) (d56a492)
  • theme: enable CSS custom properties mode by default (#2965) (3a88e9b)
  • theme: add prebuilt themes with custom properties (#2977) (ff0b034)
  • toastr: add onclick, onclose events (#2821) (3795905)
  • tooltip, popover: add disabled property (#2841) (b7fe861)
  • window: ability to hide close button (#2952) (ad64fe2)
  • window: add component instance property to window ref (#2858) (fcf1a08)
  • window: template as window title (#2915) (8eaf460)
  • window: window may return result (#2869) (95247a4)
  • update to Angular 13 (#2944) (ed8cd04)

Bug Fixes

  • autocomplete: handle null and undefined values (#2814) (7753027)
  • autocomplete: input focus behavior on value change (#2852) (a86da11)
  • button: prevent expression changed error on icon button (#2846) (baee608)
  • button group: prevent unpress in single mode button group (#2860) (4b8a430)
  • chat: file drop in firefox (#2776) (07db7f5)
  • checkbox: don't style user icons in checkbox (#2857) (a94a867)
  • context menu: don't close on item click with noop strategy (#2875) (a76fccf)
  • context menu: prevent close on expand icon click (#2923) (2b7f60c)
  • datapicker: input update issue with reactive forms (#2945) (07527f8)
  • flip card: prevent extra whitespace (#2854) (e8fa95b)
  • focus trigger strategy: detect click out via activeElement (#2865) (1f8e0cb)
  • focus trigger strategy clickout: consider click target (#2885) (a5f695a)
  • moment date service: use locale format by default (#2856) (491c696)
  • range-picker: correct type for min, max, filter properties (#2877) (73cdec0)
  • route tabset: support icon config object (#2810) (ff00a16)
  • scroll service: listen position requests right after layout created (#2949) (74d64cf)
  • select: add ellipsis on selection view (#2809) (9b525f4)
  • select: correctly handle reset value when multiple is on ([#...
Read more

v8.0.0

27 Jun 17:59
14088dc
Compare
Choose a tag to compare
chore(release): update package versions (#2782)

v6.2.2

15 Dec 09:16
Compare
Choose a tag to compare

Bug Fixes

  • autocomplete: update input element disabled state (#2555) (5bc3e14)
  • button: styling for disabled anchor (#2649) (e346e13)
  • radio, select: prevent updates of destroyed component (#2617) (7df0b1e)
  • toggle: alignment of toggle switches (#2561) (e7fbb88)

Full Changelog: v6.2.1...v6.2.2

v7.0.0

18 Jan 12:10
8a7d52c
Compare
Choose a tag to compare
release: 7.0.0 (#2647)

v6.2.1

01 Oct 15:58
9c9610d
Compare
Choose a tag to compare
release: 6.2.1 (#2539)

v6.2.0

25 Sep 16:23
08d515a
Compare
Choose a tag to compare
release: 6.2.0 (#2531)

v6.1.0

17 Sep 16:09
9a9f127
Compare
Choose a tag to compare
release: 6.1.0 (#2515)

v6.0.1

31 Aug 22:34
585d009
Compare
Choose a tag to compare
release: 6.0.1 (#2495)

v6.0.0

31 Jul 12:23
d34a711
Compare
Choose a tag to compare
release: 6.0.0 (#2467)

v5.1.0

03 Jun 16:31
1005210
Compare
Choose a tag to compare
release: 5.1.0 (#2403)