Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nebular/theme

Package Overview
Dependencies
Maintainers
0
Versions
98
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nebular/theme - npm Package Versions

1
89

2.0.0-rc.4

Diff

Changelog

Source

2.0.0-rc.4 (2017-12-31) :christmas_tree:

This release features an update to angular 5+, rxjs 5.5+. Make sure to update these dependencies in your project.

Bug Fixes

  • auth: fix scrollbar cutoff issue with auth (#87) (893d56a)
  • auth: fix typo in request password sub-title (#105) (336b05e)
  • theme: fix an issue when scrollbar didn't reset after a route change (#91) (9c77dad)
  • theme: remove stock bootstrap box-shadow (#72) (7d7b3ab)
  • theme: scrollbars color in IE (#66) (b5b500c)

Features

  • logout: let logout.component use form configs (#78) (41d0f78)
  • dependencies: update dependencies (angular 5+, rxjs, bootstrap, smart-table) (#108)

BREAKING CHANGES

  • dependencies: since angular and rxjs are updated please make sure to look through the corresponding changelogs for the details

<a name="2.0.0-rc.3"></a>

nebular
published 2.0.0-rc.3 •

Changelog

Source

2.0.0-rc.3 (2017-10-26)

Bug Fixes

  • auth: fix auth service isAuthenticated, onAuthenticationChange not returning a boolean, fix #15 (30a1d47)
  • buttons: remove transition from buttons (7e3f56d)
  • js-theme: fix defaut font, fix e2e & unit tests (cff8561)
  • layout: prevent layout expansion when some child with overflow:hidden has an element with width larger than layout width (82e4dfc)
  • user: fix user component context menu showing an icon not correctly, fix #25 (f723e54)

Features

  • dependencies: update bootstrap & angular, accompanying fixes (angular cli kept as previous due to build issues) (3660f9a), closes #42
  • font: update default font value (5b93759)
  • theme: support hidden property (#31) (f26922a)

BREAKING CHANGES

  • dependencies: since bootstrap is updated please look through the bootstrap release notes (https://github.com/twbs/bootstrap/releases) for proper steps to update your styles
nebular
published 2.0.0-rc.2 •

nebular
published 2.0.0-rc.1 •

Changelog

Source

2.0.0 (2018-10-02)

Highlights

Nebular 2.0 is stable now! After 10 release candidates and a year of work we finally made it with a great help of Nebular community and we cannot be more grateful for all of your contributions! :tada:

Bug Fixes

  • auth: fix OAuth2 strategy grant_type password to send username, not email (#659) (3a708dd), closes #653
  • auth: fix isAuthenticatedOrRefresh to not refresh token with no value (#708) (b29418f)
  • button: fix outline button (0bcad95)
  • calendar: use nbButton in calendar navigation (#837) (f460f85), closes #827
  • checkbox, radio: check mark positioning in IE (#830) (ac52315), closes #743
  • docs:  fix warning Invalid value for $grid-breakpoints.. (#736) (23e7804)
  • docs: add radio icon (#748) (9110266)
  • docs: fix mention of angular-cli.json file to angular.json (#701) (3211c54)
  • e2e: add redundance note in protractor.conf.ci.js (#839) (a7ed638)
  • infinite-list: fix example file path (60d0d1e)
  • login: take into account remember me setting (#644) (d35b65b), closes #330
  • menu: height calculation (#621) (7542d5e), closes #620 #369 #532 #307 #444 #392 akveo/ngx-admin#1703 akveo/ngx-admin#1819
  • modal: rtl modal header (#632) (0370abe), closes #419
  • overlay: z-index (#735) (9c22a52)
  • popover: fix popover component example (#711) (9980664), closes #618 #619
  • radio: radio group ngModel doesn't setup initial value (#842) (92b6f6b)
  • radio: radio group now has bigger priority when setting value and disabled (#841) (99acd25)
  • scripts: add moment and date-fns bundles (#818) (c78ae5f)
  • tabset: removes bold emphasize for hovered tab (#651) (22e39eb), closes #540
  • theme: add nebular-icons as peer dependency (#749) (3e3fe1d), closes #195
  • theme: use existing variable for bootstrap (#807) (e91f557), closes #739

Code Refactoring

Features

HOW TO UPGRADE/BREAKING CHANGES

Steps

This release has introduced a number of changes which may required some manual update steps, depending on your setup:

  1. In case if you use Nebular overrides of bootstrap styles - you need to manually install new @nebular/bootstrap package. To do that:
  • install Nebular Bootstrap npm i @nebular/bootstrap
  • then add it into your styles.scss
@import '~@nebular/bootstrap/styles/globals';
// ...

@include nb-install() {
  // ...
  @include nb-bootstrap-global();
}
  • if you import ~@nebular/theme/styles/global/bootstrap/breakpoints in your code, replace it with ~@nebular/theme/styles/global/breakpoints
  • if you import ~@nebular/theme/styles/global/bootstrap/*.scss somewhere in your code, replace it with ~@nebular/bootstrap/styles/*.scss
  1. Nebular 2.0 introduced a new peer dependency - @angular/cdk. A lot of out of the box functionality provided by @angular team gives our components a solid foundation. To do that:
  • install @angular/cdk npm i @angular/cdk
Breaking Changes

Here's a list of other possibly breaking changes that you may need to take into account:

  • menu: NbMenuComponent and NbContextMenuDirective now fire itemClick even if item with routerLink was clicked.

  • menu: The NbMenuService not reply the last click event. To update: if you use the knowledge that the last click event is replied you can wrap onItemClick stream in the custom stream based on ReplaySubject.

  • theme: angular2-toaster styles were removed from Nebular. Instead, we suggest using our new NbToastrService. To update: add NbToastrModule into imports of your app.module. Inject NbToastrService into the required component. call NbToastrService.show(...) to render toasts. For more information check toastr documentation.

  • theme: All bootstrap override styles were moved from the @nebular/theme package to the new @nebular/bootstrap package. If you don't need bootstrap support you can simply no use this package. @nebular/theme package introduced a dependency of normalize.css. To update:

    • install Nebular Bootstrap npm i @nebular/bootstrap
    • then add it into your styles.scss
    @import '~@nebular/bootstrap/styles/globals';
    // ...
    
    @include nb-install() {
      // ...
      @include nb-bootstrap-global();
    }
    
  • theme: appendToLayoutTop and clearLayoutTop methods was removed from NbThemeService. Instead of this methods, you have to use NbOverlayService. It's the extension of @angular/cdk overlays, so, check documentation first of all. Basic usage of overlays may look like this:

    constructor(protected overlay: NbOverlayService) {
    }
    
    const overlayRef = overlay.create();
    const overlayComponentPortal = new ComponentPortal(MyOverlayComponent);
    overlayRef.attach(overlayComponentPortal);
    
  • tabset: Possibly a breaking change since tabs won't be bold in hover state.

  • auth: According to RFC6749 section 4.3.2, the OAuth2 token request body with grant-type='password' must provide username to the auth server and not email.

  • auth: NbAuthJWTInterceptor now always tries to refresh the token. Urls for token sending can be filtered using a filter function:

{ provide: NB_AUTH_TOKEN_INTERCEPTOR_FILTER, useValue: (req) => filter(req)},
  • auth: failWhenNoToken has been removed from password strategy as it was still not released and becoming redundant

<a name="2.0.0-rc.10"></a>

nebular
published 2.0.0-alpha.1-dev.14 •

nebular
published 2.0.0-alpha.1-dev.13 •

nebular
published 2.0.0-alpha.1-dev.12 •

nebular
published 2.0.0-alpha.1-dev.11 •

1
89
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc