dhx-react-suite 1.0.7 → 1.0.8

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/index.d.ts CHANGED
@@ -326,23 +326,32 @@ export declare function MessageProvider({ children }: {
326
326
 
327
327
  export declare type MessageType = "success" | "error" | "warning" | "info";
328
328
 
329
- export declare function Navbar({ logo, items, vertical, style }: NavbarProps): JSX_2.Element;
329
+ export declare function Navbar({ logo, items, vertical, onAction, style }: NavbarProps): JSX_2.Element;
330
330
 
331
331
  export declare interface NavbarItem {
332
332
  id?: string;
333
- type?: "separator" | "spacer" | "input" | "menuItem";
333
+ type?: "navItem" | "separator" | "spacer" | "input" | "imageButton";
334
334
  value?: string;
335
335
  icon?: React.ReactNode;
336
+ src?: string;
336
337
  items?: MenuItem[];
337
338
  width?: number;
338
339
  placeholder?: string;
339
- onClick?: () => void;
340
+ tooltip?: string;
341
+ twoState?: boolean;
342
+ active?: boolean;
343
+ disabled?: boolean;
344
+ hidden?: boolean;
345
+ count?: number;
346
+ onClick?: (id: string) => void;
347
+ onChange?: (value: string) => void;
340
348
  }
341
349
 
342
350
  export declare interface NavbarProps {
343
351
  logo?: React.ReactNode;
344
352
  items?: NavbarItem[];
345
353
  vertical?: boolean;
354
+ onAction?: (id: string) => void;
346
355
  style?: React.CSSProperties;
347
356
  }
348
357
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-react-suite",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "TypeScript ui-components",
5
5
  "type": "module",
6
6
  "main": "./dist/dhx-react-suite.umd.cjs",