@mesh.ai/rabbit 0.0.58 → 0.0.59

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
@@ -184,6 +184,11 @@ declare namespace CLSX {
184
184
  }
185
185
  }
186
186
 
187
+ declare interface CollapseButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
188
+ icon: ReactElement;
189
+ isCollapsed?: boolean;
190
+ }
191
+
187
192
  declare type ComponentPropsWithoutRef<T extends React_2.ElementType> = PropsWithoutRef<React_2.ComponentProps<T>>;
188
193
 
189
194
  declare const Content: React_2.ForwardRefExoticComponent<PopperContentProps & React_2.RefAttributes<HTMLDivElement>>;
@@ -637,11 +642,11 @@ declare const Label_3: React_2.ForwardRefExoticComponent<SelectLabelProps & Reac
637
642
 
638
643
  export declare const LeftNav: ForwardRefExoticComponent<LeftNavProps & RefAttributes<HTMLDivElement>>;
639
644
 
640
- export declare const LeftNavGroup: ForwardRefExoticComponent<LeftNavGroupProps & RefAttributes<any>>;
645
+ export declare const LeftNavGroup: ForwardRefExoticComponent<LeftNavGroupProps & RefAttributes<HTMLDivElement>>;
641
646
 
642
647
  declare interface LeftNavGroupProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof navGroupVariants> {
643
648
  align: 'top' | 'bottom';
644
- children: ReactNode;
649
+ children: ReactNode | ReactNode[];
645
650
  }
646
651
 
647
652
  export declare const LeftNavItem: ForwardRefExoticComponent<LeftNavItemProps & RefAttributes<any>>;
@@ -1023,6 +1028,8 @@ export declare interface NavButtonProps extends React.ButtonHTMLAttributes<HTMLB
1023
1028
  isActive?: boolean;
1024
1029
  }
1025
1030
 
1031
+ export declare function NavCollapseButtonL2({ ...props }: CollapseButtonProps): JSX_2.Element;
1032
+
1026
1033
  export declare function NavGroupL2({ children }: NavGroupL2Props): JSX_2.Element;
1027
1034
 
1028
1035
  declare interface NavGroupL2Props {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mesh.ai/rabbit",
3
3
  "private": false,
4
- "version": "0.0.58",
4
+ "version": "0.0.59",
5
5
  "packageManager": "pnpm@8.6.0",
6
6
  "main": "./dist/@mesh.ai/rabbit.umd.js",
7
7
  "module": "./dist/@mesh.ai/rabbit.es.js ",