@lgsm/modules 1.6.20-beta.0 → 1.6.20-beta.10

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,16 +0,0 @@
1
- interface DropdownProps {
2
- open: boolean;
3
- toggleOpen: () => void;
4
- triggerIcon: string;
5
- iconShape?: "circle";
6
- flow: "vertical" | "horizontal";
7
- button: "text" | "icon" | "smallerIcon";
8
- menu?: MenuProps[];
9
- }
10
- interface MenuProps {
11
- title: string;
12
- action: () => void;
13
- icon?: string;
14
- }
15
- export declare const Dropdown: React.FC<DropdownProps>;
16
- export {};
@@ -1,12 +0,0 @@
1
- import { ReactNode } from 'react';
2
- interface ModalProps {
3
- children: ReactNode;
4
- title: ReactNode;
5
- action?: () => void;
6
- isDialogOpen: boolean;
7
- onClose: () => void;
8
- isDisabled?: boolean;
9
- buttonText: string;
10
- }
11
- export declare const Modal: ({ children, title, action, isDialogOpen, onClose, buttonText }: ModalProps) => import("react/jsx-runtime").JSX.Element;
12
- export {};
@@ -1,8 +0,0 @@
1
- interface CounterProps extends React.ComponentProps<'button'> {
2
- initialValue?: number;
3
- step?: number;
4
- min?: number;
5
- max?: number;
6
- }
7
- export declare function MyCounter({ initialValue, step, min, max, }: CounterProps): import("react/jsx-runtime").JSX.Element;
8
- export {};
@@ -1,6 +0,0 @@
1
- interface ComponentProps extends React.ComponentProps<'h1'> {
2
- primary?: boolean;
3
- title: string;
4
- }
5
- export declare function MyTitle({ primary, title, ...props }: ComponentProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
@@ -1 +0,0 @@
1
- export declare function NotificationContainer(): import("react/jsx-runtime").JSX.Element | null;
@@ -1,9 +0,0 @@
1
- interface ComponentProps {
2
- type?: string;
3
- title: string;
4
- message: string;
5
- onClose: () => void;
6
- duration?: number;
7
- }
8
- export declare function Notification({ type, title, message, onClose, duration }: ComponentProps): import("react/jsx-runtime").JSX.Element;
9
- export {};
@@ -1 +0,0 @@
1
- export declare const Sonner: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const ThreeDotsLoader: () => import("react/jsx-runtime").JSX.Element;
@@ -1,3 +0,0 @@
1
- export declare const notifySuccess: (msg: string, desc: string) => void;
2
- export declare const notifyError: (msg: string, desc: string) => void;
3
- export declare const notifyWarning: (msg: string, desc: string) => void;
@@ -1,8 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps<(props?: ({
4
- variant?: "default" | "destructive" | null | undefined;
5
- } & import('class-variance-authority/types').ClassProp) | undefined) => string> & React.RefAttributes<HTMLDivElement>>;
6
- declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
7
- declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
8
- export { Alert, AlertTitle, AlertDescription };
@@ -1,11 +0,0 @@
1
- import { VariantProps } from 'class-variance-authority';
2
- import * as React from "react";
3
- declare const buttonVariants: (props?: ({
4
- variant?: "default" | "secondary" | "ghost" | "link" | null | undefined;
5
- size?: "default" | "sm" | "lg" | "icon" | null | undefined;
6
- } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
- export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
8
- asChild?: boolean;
9
- }
10
- declare const ButtonLib: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
11
- export { ButtonLib, buttonVariants };
@@ -1,4 +0,0 @@
1
- import { Toaster as Sonner } from 'sonner';
2
- type ToasterProps = React.ComponentProps<typeof Sonner>;
3
- declare const Toaster: ({ ...props }: ToasterProps) => import("react/jsx-runtime").JSX.Element;
4
- export { Toaster };
@@ -1 +0,0 @@
1
- export declare const Example: () => import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export declare const Example: () => import("react/jsx-runtime").JSX.Element;