Releases: akveo/nebular
Releases · akveo/nebular
v6.2.3
v10.0.0
10.0.0 (2022-12-02)
BREAKING CHANGES
- bootstrap: remove
bootstrap,ng-bootstrappackages, removebootstrapfromplayground/without-styles/bootstrap.ng-bootstrapdoesn't support Angular v14.2.x (#3146) (f3f05ce)
Features
Other
- Minimal required Angular version is
14.2.x
Full Changelog: v9.1.0-rc.8...v10.0.0
9.1.0-rc.8
What's Changed
- docs(datepicker): move showcases with format in separate module by @sashaqred in #3128
- feat(timepicker): add disabled state by @sashaqred in #3127
- feat(menu component): improve accessibility by @azaiko-akveo in #3136
- release: 9.1.0-rc.8 by @denStrigo in #3138
New Contributors
- @azaiko-akveo made their first contribution in #3136
Full Changelog: v9.1.0-rc.7...v9.1.0-rc.8
V9.1.0-rc.7
V9.1.0-rc.2
v9.0.0
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.scssfile 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-breakpointtheme properties removed. Migration guide.- overlay trigger:
NbTriggerStrategyBase'sisNotOnHostOrContainer,isOnHostOrContainer,isOnHost,isOnContainermethods now expectElementinstead ofEventas the first parameter. Passevent.target as Elementinstead ofevent. - sidebar:
NbSidebarComponent.toggleResponsivemethod removed. Change method call tosidebar.responsive = !sidebar.responsive.STATE_EXPANDED,STATE_COLLAPSED,STATE_COMPACTEDstatic properties removed. UseNbSidebarStatetype values ('expanded','collapsed','compacted').RESPONSIVE_STATE_MOBILE,RESPONSIVE_STATE_TABLET,RESPONSIVE_STATE_PCstatic properties removed. UseNbSidebarResponsiveStatetype values ('mobile','tablet','pc').
- router tabset:
NbRouteTabsetComponent.tabsproperty type changed fromanytoNbRouteTab.NbRouteTabsetComponent.changeTabproperty type changed fromEventEmitter<any>toEventEmitter<NbRouteTab>.tabparameter type of theNbRouteTabsetComponent.selectTabmethod changed fromanytoNbRouteTab.
- infinite list:
NbScrollableContainerDimentionsclass renamed toNbScrollableContainerDimensions. Use updated class name. - auth:
NbOAuth2AuthStrategy.buildAuthHeaderreturn type changed fromanytoHttpHeaders | undefined. If the method is overridden in a derived class, update its return type as well. - autocomplete:
focusInputOnValueChangeproperty removed fromNbAutocompleteDirectiveclass. Now autocomplete focuses input only when value is selected by option click or via keyboard. - range-picker:
NbRangepickerComponent'smin,maxproperties are expectingDate(ormomentif using moment adapter) type.filterfunction parameter also corrected toDate.NbDatepickernow a has second genericDto use formin,max, andfilterarguments. It should be set toDateormomenttype.
- 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
dateTimeChangeoutput (#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
routerLinkActiveOptionsper 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 ([#...