@lzzjokerzzl/react-ui-components 1.3.1 → 1.3.3

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
@@ -2605,6 +2605,8 @@ export declare interface SidebarItemProps {
2605
2605
  disabled?: boolean;
2606
2606
  }
2607
2607
 
2608
+ export declare type SidebarPosition = "left" | "right";
2609
+
2608
2610
  export declare interface SidebarProps {
2609
2611
  children?: ReactNode;
2610
2612
  className?: string;
@@ -2616,6 +2618,12 @@ export declare interface SidebarProps {
2616
2618
  closeOnEscape?: boolean;
2617
2619
  }
2618
2620
 
2621
+ export declare const SidebarProvider: default_2.FC<SidebarProviderProps>;
2622
+
2623
+ export declare interface SidebarProviderProps {
2624
+ children: ReactNode;
2625
+ }
2626
+
2619
2627
  export declare const SidebarTrigger: default_2.FC<SidebarTriggerProps>;
2620
2628
 
2621
2629
  export declare interface SidebarTriggerProps {
@@ -2624,6 +2632,8 @@ export declare interface SidebarTriggerProps {
2624
2632
  "aria-label"?: string;
2625
2633
  }
2626
2634
 
2635
+ export declare type SidebarVariant = "permanent" | "temporary" | "persistent";
2636
+
2627
2637
  export declare const SlideContainer: default_2.FC<SlideContainerProps>;
2628
2638
 
2629
2639
  export declare interface SlideContainerProps extends BaseAnimatedContainerProps {
@@ -3458,6 +3468,8 @@ export declare interface UserProps {
3458
3468
  "data-testid"?: string;
3459
3469
  }
3460
3470
 
3471
+ export declare const useSidebar: () => SidebarContextType;
3472
+
3461
3473
  /**
3462
3474
  * Custom hook for easy toast management
3463
3475
  * Provides convenient methods for showing different types of toasts