gd-bs 6.5.9 → 6.6.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.5.9",
3
+ "version": "6.6.0",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -311,21 +311,21 @@ class _Navbar extends Base<INavbarProps> implements INavbar {
311
311
  this._btnSearch.classList.add("btn-outline-info")
312
312
  break;
313
313
 
314
- // Primary
315
- case NavbarTypes.Primary:
316
- // Add the class
317
- this.el.classList.add("navbar-dark");
318
- this.el.classList.add("bg-primary");
319
- this._btnSearch.classList.add("btn-outline-light")
320
- break;
321
-
322
314
  // Default - Light
323
- default:
315
+ case NavbarTypes.Light:
324
316
  // Add the class
325
317
  this.el.classList.add("navbar-light");
326
318
  this.el.classList.add("bg-light");
327
319
  this._btnSearch.classList.add("btn-outline-primary")
328
320
  break;
321
+
322
+ // Default - Primary
323
+ default:
324
+ // Add the class
325
+ this.el.classList.add("navbar-dark");
326
+ this.el.classList.add("bg-primary");
327
+ this._btnSearch.classList.add("btn-outline-light")
328
+ break;
329
329
  }
330
330
  }
331
331
  }