@adamosuiteservices/ui 1.3.5 → 1.4.6

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.
@@ -1,12 +1,16 @@
1
- import { ComponentProps, PropsWithChildren, Dispatch } from 'react';
1
+ import { ComponentProps, PropsWithChildren, Dispatch, SetStateAction } from 'react';
2
2
  type SidebarContextType = {
3
3
  isXl: boolean;
4
4
  sidebarHeight: string;
5
- setSidebarHeight: Dispatch<React.SetStateAction<string>>;
5
+ setSidebarHeight: Dispatch<SetStateAction<string>>;
6
+ sheetOpen: boolean;
7
+ setSheetOpen: Dispatch<SetStateAction<boolean>>;
6
8
  };
7
9
  declare function Sidebar({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
8
10
  declare function SidebarContent({ className, children, ...props }: PropsWithChildren<ComponentProps<"div">>): import("react/jsx-runtime").JSX.Element;
11
+ declare function SidebarTrigger({ className, ...props }: ComponentProps<"button">): import("react/jsx-runtime").JSX.Element;
9
12
  declare function SidebarInset({ className, children, ...props }: PropsWithChildren<ComponentProps<"div">>): import("react/jsx-runtime").JSX.Element;
13
+ declare function SidebarTopBar({ className, children, ...props }: PropsWithChildren<ComponentProps<"div">>): import("react/jsx-runtime").JSX.Element;
10
14
  declare function SidebarHeader({ className, children, ...props }: PropsWithChildren<ComponentProps<"header">>): import("react/jsx-runtime").JSX.Element;
11
15
  declare function SidebarFooter({ className, children, ...props }: PropsWithChildren<ComponentProps<"footer">>): import("react/jsx-runtime").JSX.Element;
12
16
  declare function SidebarMenu({ className, children, ...props }: PropsWithChildren<ComponentProps<"div">>): import("react/jsx-runtime").JSX.Element;
@@ -14,4 +18,4 @@ declare function SidebarMenuItem({ asChild, className, ...props }: ComponentProp
14
18
  asChild?: boolean;
15
19
  }): import("react/jsx-runtime").JSX.Element;
16
20
  declare function useSidebarContext(): SidebarContextType;
17
- export { Sidebar, SidebarContent, SidebarInset, SidebarHeader, SidebarFooter, SidebarMenu, SidebarMenuItem, useSidebarContext, };
21
+ export { Sidebar, SidebarContent, SidebarInset, SidebarTrigger, SidebarTopBar, SidebarHeader, SidebarFooter, SidebarMenu, SidebarMenuItem, useSidebarContext, };
@@ -1,7 +1,7 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from "react";
3
3
  declare const badgeVariants: (props?: ({
4
- variant?: "default" | "success" | "warning" | "destructive" | "default-medium" | "waiting" | "waiting-medium" | "secondary" | "success-medium" | "warning-medium" | "destructive-medium" | "muted" | "outline" | null | undefined;
4
+ variant?: "default" | "success" | "success-medium" | "warning" | "warning-medium" | "destructive" | "destructive-medium" | "outline" | "secondary" | "default-medium" | "waiting" | "waiting-medium" | "muted" | null | undefined;
5
5
  size?: "lg" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  declare function Badge({ className, variant, size, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
@@ -1,8 +1,8 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  import * as React from "react";
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "link" | "default" | "success" | "warning" | "destructive" | "secondary" | "success-medium" | "warning-medium" | "destructive-medium" | "outline" | "ghost" | null | undefined;
5
- size?: "default" | "icon" | "lg" | "sm" | "icon-sm" | "icon-lg" | null | undefined;
4
+ variant?: "link" | "default" | "success" | "success-medium" | "warning" | "warning-medium" | "destructive" | "destructive-medium" | "outline" | "secondary" | "ghost" | null | undefined;
5
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
7
  declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
8
8
  asChild?: boolean;
@@ -3,7 +3,7 @@ import { Button } from '../button';
3
3
  import * as React from "react";
4
4
  declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
5
  declare const inputGroupAddonVariants: (props?: ({
6
- align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
6
+ align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
9
9
  declare const inputGroupButtonVariants: (props?: ({
@@ -3,7 +3,7 @@ import * as React from "react";
3
3
  import * as TogglePrimitive from "@radix-ui/react-toggle";
4
4
  declare const toggleVariants: (props?: ({
5
5
  variant?: "default" | "outline" | null | undefined;
6
- size?: "default" | "lg" | "sm" | null | undefined;
6
+ size?: "default" | "sm" | "lg" | null | undefined;
7
7
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
8
8
  declare function Toggle({ className, variant, size, ...props }: React.ComponentProps<typeof TogglePrimitive.Root> & VariantProps<typeof toggleVariants>): import("react/jsx-runtime").JSX.Element;
9
9
  export { Toggle, toggleVariants };
@@ -1,6 +1,6 @@
1
1
  import { VariantProps } from 'class-variance-authority';
2
2
  declare const typographyVariants: (props?: ({
3
- variant?: "caption" | "lg" | "sm" | "xs" | "md" | null | undefined;
3
+ variant?: "caption" | "sm" | "lg" | "xs" | "md" | null | undefined;
4
4
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
5
5
  declare function Typography({ className, variant, asChild, ...props }: React.ComponentProps<"p"> & VariantProps<typeof typographyVariants> & {
6
6
  asChild?: boolean;