@lucasbnunes/ui-library-demo 0.0.0 → 0.0.1
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/package.json +1 -2
- package/dist/components/button.d.ts +0 -14
- package/dist/main.d.ts +0 -2
- package/dist/main.js +0 -1863
- package/dist/ui-library-demo.css +0 -2
- package/dist/utils/cn.d.ts +0 -7
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucasbnunes/ui-library-demo",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/main.js",
|
|
7
7
|
"types": "dist/main.d.ts",
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
"build": "tsc -b ./tsconfig.lib.json && vite build",
|
|
15
15
|
"lint": "eslint",
|
|
16
16
|
"preview": "vite preview",
|
|
17
|
-
"prepare": "lefthook install",
|
|
18
17
|
"test:unit": "vitest --project unit",
|
|
19
18
|
"test:related": "vitest related --run --passWithNoTests --project unit",
|
|
20
19
|
"test:storybook": "vitest --project storybook",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ButtonHTMLAttributes, Ref } from 'react';
|
|
3
|
-
declare const buttonVariants: (props?: ({
|
|
4
|
-
color?: "primary" | "secondary" | "destructive" | null | undefined;
|
|
5
|
-
variant?: "solid" | "ghost" | "outline" | null | undefined;
|
|
6
|
-
size?: "sm" | "md" | "lg" | null | undefined;
|
|
7
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
-
export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color">, VariantProps<typeof buttonVariants> {
|
|
9
|
-
loading?: boolean;
|
|
10
|
-
loadingText?: string;
|
|
11
|
-
ref?: Ref<HTMLButtonElement>;
|
|
12
|
-
}
|
|
13
|
-
export declare const Button: ({ color, variant, size, loading, loadingText, disabled, className, children, ref, ...rest }: ButtonProps) => import("react").JSX.Element;
|
|
14
|
-
export {};
|
package/dist/main.d.ts
DELETED