@lgsm/modules 1.6.20-beta.2 → 1.6.20-beta.21
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/README.md +201 -78
- package/dist/fonts/Noto_Sans/OFL-NotoSans.txt +93 -0
- package/dist/fonts/Noto_Sans/noto-sans-latin.woff2 +0 -0
- package/dist/fonts.css +9 -0
- package/dist/main.d.ts +5 -14
- package/dist/main.js +8 -7347
- package/dist/setupBaseURL.d.ts +2 -0
- package/dist/theme.css +45 -0
- package/package.json +96 -86
- package/dist/assets/main.css +0 -1
- package/dist/shared-function/jwtDecodeFunc.d.ts +0 -1
- package/dist/shared-function/loginRedirect.d.ts +0 -1
- package/dist/shared-service/apiService.d.ts +0 -8
- package/dist/shared-service/axiosInstance.d.ts +0 -5
- package/dist/shared-ui/Button/index.d.ts +0 -9
- package/dist/shared-ui/Dropdown/index.d.ts +0 -16
- package/dist/shared-ui/Modal/index.d.ts +0 -12
- package/dist/shared-ui/MyCounter/index.d.ts +0 -8
- package/dist/shared-ui/MyTitle/index.d.ts +0 -6
- package/dist/shared-ui/Notification/NotificationContainer.d.ts +0 -1
- package/dist/shared-ui/Notification/index.d.ts +0 -9
- package/dist/shared-ui/Sonner/index.d.ts +0 -1
- package/dist/shared-ui/ThreeDotsLoader/index.d.ts +0 -1
- package/dist/shared-ui/sonnerHelper.d.ts +0 -3
- package/dist/shared-ui/ui/alert.d.ts +0 -8
- package/dist/shared-ui/ui/button.d.ts +0 -11
- package/dist/shared-ui/ui/sonner.d.ts +0 -4
- package/dist/usage-example/example-apiService.d.ts +0 -1
- package/dist/usage-example/example-components.d.ts +0 -1
|
@@ -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 +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,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 +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;
|