@joaogabrielsp/cs-frontend-core 0.0.1 → 0.0.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.js CHANGED
@@ -7266,7 +7266,7 @@ function Mf({ asChild: e = !1, size: n = "md", isActive: r = !1, className: i, .
7266
7266
  function Nf({ navigation: r, user: i, logo: a }) {
7267
7267
  return /* @__PURE__ */ n(uf, {
7268
7268
  collapsible: "icon",
7269
- className: "bg-sidebar text-sidebar-foreground border-sidebar-border",
7269
+ className: "\n bg-sidebar\n text-sidebar-foreground\n border-sidebar-border\n\n border-r\n shadow-sm\n\n m-3\n mr-0\n\n rounded-r-3xl\n ",
7270
7270
  children: [
7271
7271
  a && /* @__PURE__ */ t(hf, {
7272
7272
  className: "\n h-16\n border-b\n border-sidebar-border\n px-4\n flex\n items-center\n ",
@@ -7298,7 +7298,7 @@ function Nf({ navigation: r, user: i, logo: a }) {
7298
7298
  to: e.url,
7299
7299
  children: ({ isActive: i }) => /* @__PURE__ */ n(Ef, {
7300
7300
  isActive: i,
7301
- className: "\n hover:bg-sidebar-accent\n hover:text-sidebar-accent-foreground\n ",
7301
+ className: "\n transition-all\n duration-200\n\n hover:bg-sidebar-accent\n hover:text-sidebar-accent-foreground\n hover:translate-x-1\n\n data-[active=true]:bg-primary/10\n data-[active=true]:text-primary\n data-[active=true]:font-medium\n ",
7302
7302
  children: [r && /* @__PURE__ */ t(r, { className: "h-4 w-4" }), /* @__PURE__ */ t("span", { children: e.title })]
7303
7303
  })
7304
7304
  }) }, e.title);
@@ -7326,7 +7326,7 @@ function Nf({ navigation: r, user: i, logo: a }) {
7326
7326
  });
7327
7327
  }
7328
7328
  //#endregion
7329
- //#region src/components/layout/DashboardLayout.tsx
7329
+ //#region src/components/layout/AppLayout.tsx
7330
7330
  function Pf({ navigation: e, logo: r, user: i, title: a, description: o, actions: s, onBack: c, children: l }) {
7331
7331
  return /* @__PURE__ */ n(lf, { children: [/* @__PURE__ */ t(Nf, {
7332
7332
  navigation: e,
@@ -7384,4 +7384,4 @@ var Ff = p((e) => ({
7384
7384
  }
7385
7385
  }));
7386
7386
  //#endregion
7387
- export { Id as AppHeader, Nf as AppSidebar, Fd as Button, Ld as Collapsible, zd as CollapsibleContent, Rd as CollapsibleTrigger, Pf as DashboardLayout, In as EmptyState, wi as Input, Ti as SearchInput, uf as Sidebar, vf as SidebarContent, gf as SidebarFooter, yf as SidebarGroup, xf as SidebarGroupAction, Sf as SidebarGroupContent, bf as SidebarGroupLabel, hf as SidebarHeader, mf as SidebarInput, pf as SidebarInset, Cf as SidebarMenu, Df as SidebarMenuAction, Of as SidebarMenuBadge, Ef as SidebarMenuButton, wf as SidebarMenuItem, kf as SidebarMenuSkeleton, Af as SidebarMenuSub, Mf as SidebarMenuSubButton, jf as SidebarMenuSubItem, lf as SidebarProvider, ff as SidebarRail, _f as SidebarSeparator, df as SidebarTrigger, Fn as api, Pd as buttonVariants, J as cn, Ff as useAuthStore, $d as useIsMobile, cf as useSidebar };
7387
+ export { Id as AppHeader, Pf as AppLayout, Nf as AppSidebar, Fd as Button, Ld as Collapsible, zd as CollapsibleContent, Rd as CollapsibleTrigger, In as EmptyState, wi as Input, Ti as SearchInput, uf as Sidebar, vf as SidebarContent, gf as SidebarFooter, yf as SidebarGroup, xf as SidebarGroupAction, Sf as SidebarGroupContent, bf as SidebarGroupLabel, hf as SidebarHeader, mf as SidebarInput, pf as SidebarInset, Cf as SidebarMenu, Df as SidebarMenuAction, Of as SidebarMenuBadge, Ef as SidebarMenuButton, wf as SidebarMenuItem, kf as SidebarMenuSkeleton, Af as SidebarMenuSub, Mf as SidebarMenuSubButton, jf as SidebarMenuSubItem, lf as SidebarProvider, ff as SidebarRail, _f as SidebarSeparator, df as SidebarTrigger, Fn as api, Pd as buttonVariants, J as cn, Ff as useAuthStore, $d as useIsMobile, cf as useSidebar };
@@ -0,0 +1 @@
1
+ export declare const api: import('axios').AxiosInstance;
@@ -0,0 +1,8 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+ interface EmptyStateProps {
3
+ icon: LucideIcon;
4
+ title: string;
5
+ description: string;
6
+ }
7
+ export declare function EmptyState({ icon: Icon, title, description, }: EmptyStateProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,13 @@
1
+ interface PaginationNavProps {
2
+ hasFirst?: boolean;
3
+ hasPrev?: boolean;
4
+ hasNext?: boolean;
5
+ hasLast?: boolean;
6
+ onFirst?: () => void;
7
+ onPrev?: () => void;
8
+ onNext?: () => void;
9
+ onLast?: () => void;
10
+ page: number;
11
+ }
12
+ declare const PaginationNav: ({ hasFirst, hasPrev, hasNext, hasLast, onFirst, onPrev, onNext, onLast, page, }: PaginationNavProps) => import("react/jsx-runtime").JSX.Element;
13
+ export default PaginationNav;
@@ -0,0 +1,8 @@
1
+ type SearchInputProps = {
2
+ value: string;
3
+ onValueChange: (value: string) => void;
4
+ placeholder?: string;
5
+ className?: string;
6
+ };
7
+ export declare function SearchInput({ value, onValueChange, placeholder, className, }: SearchInputProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,8 @@
1
+ type AppHeaderProps = {
2
+ title: string;
3
+ description?: React.ReactNode;
4
+ actions?: React.ReactNode;
5
+ onBack?: () => void;
6
+ };
7
+ export declare function AppHeader({ title, description, actions, onBack, }: AppHeaderProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,13 @@
1
+ import { NavigationItem, User } from './types';
2
+ type AppLayoutProps = {
3
+ navigation: NavigationItem[];
4
+ logo?: React.ReactNode;
5
+ user?: User;
6
+ title: string;
7
+ description?: React.ReactNode;
8
+ actions?: React.ReactNode;
9
+ onBack?: () => void;
10
+ children: React.ReactNode;
11
+ };
12
+ export declare function AppLayout({ navigation, logo, user, title, description, actions, onBack, children, }: AppLayoutProps): import("react/jsx-runtime").JSX.Element;
13
+ export {};
@@ -0,0 +1,8 @@
1
+ import { NavigationItem, User } from './types';
2
+ type AppSidebarProps = {
3
+ navigation: NavigationItem[];
4
+ user?: User;
5
+ logo?: React.ReactNode;
6
+ };
7
+ export declare function AppSidebar({ navigation, user, logo }: AppSidebarProps): import("react/jsx-runtime").JSX.Element;
8
+ export {};
@@ -0,0 +1,12 @@
1
+ import { LucideIcon } from 'lucide-react';
2
+ export type NavigationItem = {
3
+ title: string;
4
+ url?: string;
5
+ icon?: LucideIcon;
6
+ items?: NavigationItem[];
7
+ };
8
+ export type User = {
9
+ name: string;
10
+ email: string;
11
+ avatar?: string;
12
+ };
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import type * as React from "react";
3
+ declare const badgeVariants: (props?: ({
4
+ variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<"span"> & VariantProps<typeof badgeVariants> & {
7
+ asChild?: boolean;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ export { Badge, badgeVariants };
@@ -0,0 +1,10 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import type * as React from "react";
3
+ declare const buttonVariants: (props?: ({
4
+ variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
5
+ size?: "icon" | "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
8
+ asChild?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ export { Button, buttonVariants };
@@ -0,0 +1,11 @@
1
+ import type * as React from "react";
2
+ declare function Card({ className, size, ...props }: React.ComponentProps<"div"> & {
3
+ size?: "default" | "sm";
4
+ }): import("react/jsx-runtime").JSX.Element;
5
+ declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
+ declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function CardAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ declare function CardContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
+ export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, };
@@ -0,0 +1,5 @@
1
+ import { Collapsible as CollapsiblePrimitive } from 'radix-ui';
2
+ declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
3
+ declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
4
+ declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
5
+ export { Collapsible, CollapsibleContent, CollapsibleTrigger };
@@ -0,0 +1,29 @@
1
+ import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
2
+ import type * as React from "react";
3
+ declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
5
+ declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function DropdownMenuContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
8
+ declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
9
+ inset?: boolean;
10
+ variant?: "default" | "destructive";
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
13
+ inset?: boolean;
14
+ }): import("react/jsx-runtime").JSX.Element;
15
+ declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
16
+ declare function DropdownMenuRadioItem({ className, children, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
17
+ inset?: boolean;
18
+ }): import("react/jsx-runtime").JSX.Element;
19
+ declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
20
+ inset?: boolean;
21
+ }): import("react/jsx-runtime").JSX.Element;
22
+ declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
23
+ declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
24
+ declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
25
+ declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
26
+ inset?: boolean;
27
+ }): import("react/jsx-runtime").JSX.Element;
28
+ declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
29
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };
@@ -0,0 +1,3 @@
1
+ import type * as React from "react";
2
+ declare function Input({ className, type, ...props }: React.ComponentProps<"input">): import("react/jsx-runtime").JSX.Element;
3
+ export { Input };
@@ -0,0 +1,4 @@
1
+ import { Separator as SeparatorPrimitive } from 'radix-ui';
2
+ import type * as React from "react";
3
+ declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ export { Separator };
@@ -0,0 +1,14 @@
1
+ import { Dialog as SheetPrimitive } from 'radix-ui';
2
+ import type * as React from "react";
3
+ declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
+ declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
+ declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
6
+ declare function SheetContent({ className, children, side, showCloseButton, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
7
+ side?: "top" | "right" | "bottom" | "left";
8
+ showCloseButton?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
+ declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ declare function SheetTitle({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Title>): import("react/jsx-runtime").JSX.Element;
13
+ declare function SheetDescription({ className, ...props }: React.ComponentProps<typeof SheetPrimitive.Description>): import("react/jsx-runtime").JSX.Element;
14
+ export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger, };
@@ -0,0 +1,69 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import { Button } from '../../../components/ui/button';
3
+ import { Input } from '../../../components/ui/input';
4
+ import { Separator } from '../../../components/ui/separator';
5
+ import { TooltipContent } from '../../../components/ui/tooltip';
6
+ import * as React from "react";
7
+ type SidebarContextProps = {
8
+ state: "expanded" | "collapsed";
9
+ open: boolean;
10
+ setOpen: (open: boolean) => void;
11
+ openMobile: boolean;
12
+ setOpenMobile: (open: boolean) => void;
13
+ isMobile: boolean;
14
+ toggleSidebar: () => void;
15
+ };
16
+ declare function useSidebar(): SidebarContextProps;
17
+ declare function SidebarProvider({ defaultOpen, open: openProp, onOpenChange: setOpenProp, className, style, children, ...props }: React.ComponentProps<"div"> & {
18
+ defaultOpen?: boolean;
19
+ open?: boolean;
20
+ onOpenChange?: (open: boolean) => void;
21
+ }): import("react/jsx-runtime").JSX.Element;
22
+ declare function Sidebar({ side, variant, collapsible, className, children, dir, ...props }: React.ComponentProps<"div"> & {
23
+ side?: "left" | "right";
24
+ variant?: "sidebar" | "floating" | "inset";
25
+ collapsible?: "offcanvas" | "icon" | "none";
26
+ }): import("react/jsx-runtime").JSX.Element;
27
+ declare function SidebarTrigger({ className, onClick, ...props }: React.ComponentProps<typeof Button>): import("react/jsx-runtime").JSX.Element;
28
+ declare function SidebarRail({ className, ...props }: React.ComponentProps<"button">): import("react/jsx-runtime").JSX.Element;
29
+ declare function SidebarInset({ className, ...props }: React.ComponentProps<"main">): import("react/jsx-runtime").JSX.Element;
30
+ declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): import("react/jsx-runtime").JSX.Element;
31
+ declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
32
+ declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
33
+ declare function SidebarSeparator({ className, ...props }: React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
34
+ declare function SidebarContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
35
+ declare function SidebarGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
36
+ declare function SidebarGroupLabel({ className, asChild, ...props }: React.ComponentProps<"div"> & {
37
+ asChild?: boolean;
38
+ }): import("react/jsx-runtime").JSX.Element;
39
+ declare function SidebarGroupAction({ className, asChild, ...props }: React.ComponentProps<"button"> & {
40
+ asChild?: boolean;
41
+ }): import("react/jsx-runtime").JSX.Element;
42
+ declare function SidebarGroupContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
43
+ declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
44
+ declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
45
+ declare const sidebarMenuButtonVariants: (props?: ({
46
+ variant?: "default" | "outline" | null | undefined;
47
+ size?: "default" | "sm" | "lg" | null | undefined;
48
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
49
+ declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React.ComponentProps<"button"> & {
50
+ asChild?: boolean;
51
+ isActive?: boolean;
52
+ tooltip?: string | React.ComponentProps<typeof TooltipContent>;
53
+ } & VariantProps<typeof sidebarMenuButtonVariants>): import("react/jsx-runtime").JSX.Element;
54
+ declare function SidebarMenuAction({ className, asChild, showOnHover, ...props }: React.ComponentProps<"button"> & {
55
+ asChild?: boolean;
56
+ showOnHover?: boolean;
57
+ }): import("react/jsx-runtime").JSX.Element;
58
+ declare function SidebarMenuBadge({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
59
+ declare function SidebarMenuSkeleton({ className, showIcon, ...props }: React.ComponentProps<"div"> & {
60
+ showIcon?: boolean;
61
+ }): import("react/jsx-runtime").JSX.Element;
62
+ declare function SidebarMenuSub({ className, ...props }: React.ComponentProps<"ul">): import("react/jsx-runtime").JSX.Element;
63
+ declare function SidebarMenuSubItem({ className, ...props }: React.ComponentProps<"li">): import("react/jsx-runtime").JSX.Element;
64
+ declare function SidebarMenuSubButton({ asChild, size, isActive, className, ...props }: React.ComponentProps<"a"> & {
65
+ asChild?: boolean;
66
+ size?: "sm" | "md";
67
+ isActive?: boolean;
68
+ }): import("react/jsx-runtime").JSX.Element;
69
+ export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar, };
@@ -0,0 +1,2 @@
1
+ declare function Skeleton({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
2
+ export { Skeleton };
@@ -0,0 +1,7 @@
1
+ import { Tooltip as TooltipPrimitive } from 'radix-ui';
2
+ import type * as React from "react";
3
+ declare function TooltipProvider({ delayDuration, ...props }: React.ComponentProps<typeof TooltipPrimitive.Provider>): import("react/jsx-runtime").JSX.Element;
4
+ declare function Tooltip({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
5
+ declare function TooltipTrigger({ ...props }: React.ComponentProps<typeof TooltipPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
6
+ declare function TooltipContent({ className, sideOffset, children, ...props }: React.ComponentProps<typeof TooltipPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
7
+ export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
@@ -0,0 +1 @@
1
+ export declare function useIsMobile(): boolean;
@@ -1 +1,13 @@
1
- export {}
1
+ export * from './api/api';
2
+ export * from './components/custom/empty-state';
3
+ export * from './components/custom/searchbar';
4
+ export * from './components/layout/AppHeader';
5
+ export * from './components/layout/AppSidebar';
6
+ export * from './components/layout/AppLayout';
7
+ export * from './components/ui/button';
8
+ export * from './components/ui/collapsible';
9
+ export * from './components/ui/input';
10
+ export * from './components/ui/sidebar';
11
+ export * from './hooks/use-mobile';
12
+ export * from './lib/utils';
13
+ export * from './stores/auth.store';
@@ -0,0 +1,2 @@
1
+ import { ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
@@ -0,0 +1 @@
1
+ export declare const useAuthStore: import('zustand').UseBoundStore<import('zustand').StoreApi<unknown>>;
package/package.json CHANGED
@@ -1,13 +1,21 @@
1
1
  {
2
2
  "name": "@joaogabrielsp/cs-frontend-core",
3
3
  "private": false,
4
- "version": "0.0.1",
4
+ "version": "0.0.3",
5
5
  "type": "module",
6
6
 
7
7
  "main": "./dist/index.js",
8
8
  "module": "./dist/index.js",
9
9
  "types": "./dist/src/index.d.ts",
10
10
 
11
+ "exports": {
12
+ ".": {
13
+ "import": "./dist/index.js",
14
+ "types": "./dist/src/index.d.ts"
15
+ },
16
+ "./styles": "./dist/index.css"
17
+ },
18
+
11
19
  "files": ["dist"],
12
20
 
13
21
  "scripts": {