@kodaris/krubble-app-components 1.0.26 → 1.0.28

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.
@@ -1301,7 +1301,7 @@ let KRScaffold = class KRScaffold extends i$1 {
1301
1301
  this.navQuery = '';
1302
1302
  this.activeNavItemId = null;
1303
1303
  this.isNavScrolled = false;
1304
- this.isNavOpened = true;
1304
+ this.isNavOpened = localStorage.getItem('kr-scaffold-nav-opened') !== 'false';
1305
1305
  this.isEditing = false;
1306
1306
  this.isUserMenuOpen = false;
1307
1307
  this.pref = { nav: {} };
@@ -1564,6 +1564,7 @@ let KRScaffold = class KRScaffold extends i$1 {
1564
1564
  // =========================================================================
1565
1565
  handleMenuClick() {
1566
1566
  this.isNavOpened = !this.isNavOpened;
1567
+ localStorage.setItem('kr-scaffold-nav-opened', String(this.isNavOpened));
1567
1568
  }
1568
1569
  /**
1569
1570
  * Handles click on the nav header (logo/title) to navigate home.
@@ -2417,8 +2418,7 @@ KRScaffold.styles = i$4 `
2417
2418
  }
2418
2419
 
2419
2420
  .nav-header {
2420
- height: 64px;
2421
- padding: 0 20px;
2421
+ padding: 20px;
2422
2422
  display: flex;
2423
2423
  align-items: center;
2424
2424
  position: relative;
@@ -2441,9 +2441,6 @@ KRScaffold.styles = i$4 `
2441
2441
  font-weight: 600;
2442
2442
  color: var(--kr-scaffold-nav-text-active);
2443
2443
  letter-spacing: .2px;
2444
- white-space: nowrap;
2445
- overflow: hidden;
2446
- text-overflow: ellipsis;
2447
2444
  }
2448
2445
 
2449
2446
  .nav-search {
@@ -2632,7 +2629,7 @@ KRScaffold.styles = i$4 `
2632
2629
  flex: 1;
2633
2630
  min-width: 0;
2634
2631
  overflow-y: auto;
2635
- background: #FCFCFD;
2632
+ background: transparent;
2636
2633
  display: flex;
2637
2634
  flex-direction: column;
2638
2635
  }