2.0.0-rc.6 (2018-02-22)
Bug Fixes
- DEV_DOCS: add missed line in development on the latest Nebular sources (#182) (3b84981)
- docs: update font spacing (#193) (7e2a41a)
- docs: update menu component to react to expand (add a relevant class) (#206) (18ccdf6), closes #180
- docs: use correct tag in usage example (#186) (b2333a9)
- menu: don't collapse menu which has a selected item (#225) (5c489f3)
- menu: fix items not being prepared when passed through input (#181) (2e9d14a)
- search: fix search not un-subscribing from events (#185) (691e100)
Code Refactoring
- auth: move token storage out of token service (c8273da)
- theme: remove user context menu (#231) (959bd4a)
Features
- security: add new security module with acl implementation (#187) (86b2784), closes #164
- auth: ability to configure social link (#205) (86b2784), closes #171
- bootstrap: update bootstrap to 4.0.0 release (including ng-bootstrap, angular) (#226) (f047f14), closes #160 #223 #224
- checkbox: expand checkbox variables for easier customization (6b93924), closes #143
- context-menu: add context menu component (13799a5)
- popover: add new awesome
popover
component (7dbefd6) - popover: add popover-border-radius theme var (#254) (baf1a61)
- ssr: add server-side rendering support (c826187)
- tabset: add
lazyLoad
property to nb-tab
so that it loads content before it is actually shown (#227) (270995d), closes #144 - theme: add capability append component to the layout top by its factory (#253) (515636c)
- user: allow use base64 images for user picture (#238) (28338a7)
BREAKING CHANGES
- theme: NbUserComponent no longer has context menu. We've
completely moved context menu in the separate component. So, to
migrate from the previous version you have to remove user menu items
<nb-user [menu]="items"></nb-user>
and use NbContextMenuDirective:
<nb-user [nbContextMenu]="items"></nb-user>
-
NB_AUTH_TOKEN_WRAPPER_CLASS
renamed to NB_AUTH_TOKEN_CLASS
and you should use useValue
instead of useClass
when providing a token:
{ provide: NB_AUTH_TOKEN_WRAPPER_TOKEN, useClass: NbAuthJWTToken },
to { provide: NB_AUTH_TOKEN_CLASS, useValue: NbAuthJWTToken },
-
setValue
method removed from NbAuthSimpleToken
, NbAuthJWTToken
, tokens only accept read-only value when created through constructor now.
-
Token Storage moved out from NbTokenService
into a separate NbTokenStorage
.
If you need to change the storage behavior or provide your own - just extend your class from basic NbTokenStorage
or NbTokenLocalStorage
and provide in your app.module
:
{ provide: NbTokenStorage, useClass: NbTokenCustomStorage },
- checkbox: Checkbox check mark color variable (radio-fg) is expanded.
There are three variables instead to set a color depending a the checkbox state:
- checkbox-checkmark - base color
- checkbox-checked-checkmark - color when checkbox checked
- checkbox-disabled-checkmark - color when checkbox is disabled
<a name="2.0.0-rc.5"></a>