@mintplayer/ng-bootstrap 15.13.0 → 15.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/esm2020/floating-labels/src/floating-labels/floating-label/floating-label.component.mjs +3 -3
  2. package/esm2020/grid/src/directives/column/column.directive.mjs +1 -1
  3. package/esm2020/grid/src/index.mjs +2 -1
  4. package/esm2020/grid/src/interfaces/column-definition.mjs +2 -0
  5. package/esm2020/grid/src/interfaces/index.mjs +2 -0
  6. package/esm2020/navbar/src/navbar-nav/navbar-nav.component.mjs +8 -5
  7. package/esm2020/rating/src/component/rating.component.mjs +72 -0
  8. package/esm2020/rating/src/index.mjs +2 -2
  9. package/esm2020/rating/src/rating.module.mjs +2 -2
  10. package/fesm2015/mintplayer-ng-bootstrap-floating-labels.mjs +2 -2
  11. package/fesm2015/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
  12. package/fesm2015/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
  13. package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs +7 -4
  14. package/fesm2015/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  15. package/fesm2015/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  16. package/fesm2020/mintplayer-ng-bootstrap-floating-labels.mjs +2 -2
  17. package/fesm2020/mintplayer-ng-bootstrap-floating-labels.mjs.map +1 -1
  18. package/fesm2020/mintplayer-ng-bootstrap-grid.mjs.map +1 -1
  19. package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs +7 -4
  20. package/fesm2020/mintplayer-ng-bootstrap-navbar.mjs.map +1 -1
  21. package/fesm2020/mintplayer-ng-bootstrap-rating.mjs.map +1 -1
  22. package/grid/src/directives/column/column.directive.d.ts +2 -1
  23. package/grid/src/index.d.ts +1 -0
  24. package/grid/src/interfaces/column-definition.d.ts +9 -0
  25. package/grid/src/interfaces/index.d.ts +1 -0
  26. package/package.json +1 -1
  27. package/rating/src/{rating.component.d.ts → component/rating.component.d.ts} +0 -0
  28. package/rating/src/index.d.ts +1 -1
  29. package/rating/src/rating.module.d.ts +1 -1
  30. package/esm2020/rating/src/rating.component.mjs +0 -72
@@ -136,15 +136,18 @@ class BsNavbarNavComponent {
136
136
  this.isResizing$ = new BehaviorSubject(false);
137
137
  this.destroyed$ = new Subject();
138
138
  this.bsNavbar = bsNavbar;
139
- this.showNavs$ = combineLatest([this.bsNavbar.isExpanded$, this.windowWidth$])
140
- .pipe(filter(([isExpanded, windowWidth]) => {
139
+ this.showNavs$ = combineLatest([this.bsNavbar.isExpanded$, this.bsNavbar.expandAt$, this.windowWidth$])
140
+ .pipe(filter(([isExpanded, expandAt, windowWidth]) => {
141
141
  return windowWidth !== null;
142
142
  }))
143
- .pipe(map(([isExpanded, windowWidth]) => {
143
+ .pipe(map(([isExpanded, expandAt, windowWidth]) => {
144
144
  if (windowWidth === null) {
145
145
  throw 'windowWidth should not be null here';
146
146
  }
147
- else if (windowWidth >= 768) {
147
+ else if (expandAt === null) {
148
+ return false;
149
+ }
150
+ else if (windowWidth >= expandAt) {
148
151
  return true;
149
152
  }
150
153
  else if (isExpanded) {