gd-bs 6.0.9 → 6.1.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/dist/gd-bs.d.ts CHANGED
@@ -2103,6 +2103,9 @@ declare module 'gd-bs/components/navbar/types' {
2103
2103
  /** The element. */
2104
2104
  el: HTMLBaseElement;
2105
2105
 
2106
+ /** Method to get the search box value. */
2107
+ getSearchValue?: () => string;
2108
+
2106
2109
  /** Hides the nav bar. */
2107
2110
  hide: () => void;
2108
2111
 
@@ -2170,7 +2173,6 @@ declare module 'gd-bs/components/navbar/types' {
2170
2173
  export interface INavbarSearchBox {
2171
2174
  btnType?: number;
2172
2175
  btnText?: string;
2173
- getSearchValue?: () => string;
2174
2176
  hideButton?: boolean;
2175
2177
  onChange?: (value?: string, ev?: Event) => void;
2176
2178
  onSearch?: (value?: string, ev?: Event) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gd-bs",
3
- "version": "6.0.9",
3
+ "version": "6.1.0",
4
4
  "description": "Bootstrap JavaScript, TypeScript and Web Components library.",
5
5
  "main": "build/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -101,6 +101,9 @@ export interface INavbar {
101
101
  /** The element. */
102
102
  el: HTMLBaseElement;
103
103
 
104
+ /** Method to get the search box value. */
105
+ getSearchValue?: () => string;
106
+
104
107
  /** Hides the nav bar. */
105
108
  hide: () => void;
106
109
 
@@ -168,7 +171,6 @@ export type INavbarTypes = {
168
171
  export interface INavbarSearchBox {
169
172
  btnType?: number;
170
173
  btnText?: string;
171
- getSearchValue?: () => string;
172
174
  hideButton?: boolean;
173
175
  onChange?: (value?: string, ev?: Event) => void;
174
176
  onSearch?: (value?: string, ev?: Event) => void;