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/build/components/navbar/index.js +8 -8
- package/dist/gd-bs-icons.js +1 -1
- package/dist/gd-bs-icons.min.js +1 -1
- package/dist/gd-bs.js +1 -1
- package/dist/gd-bs.min.js +1 -1
- package/package.json +1 -1
- package/src/components/navbar/index.ts +9 -9
- package/pnpm-lock.yaml +0 -3291
package/package.json
CHANGED
|
@@ -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
|
-
|
|
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
|
}
|