innodep-ds 0.0.1 → 0.0.2
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.d.ts +25 -0
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,26 @@
|
|
|
1
|
+
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import { JSX } from 'react/jsx-runtime';
|
|
3
|
+
import * as React_2 from 'react';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
export declare function Badge({ className, variant, ...props }: BadgeProps): JSX.Element;
|
|
7
|
+
|
|
8
|
+
export declare interface BadgeProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof badgeVariants> {
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export declare const badgeVariants: (props?: ({
|
|
12
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | null | undefined;
|
|
13
|
+
} & ClassProp) | undefined) => string;
|
|
14
|
+
|
|
15
|
+
export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
|
|
16
|
+
|
|
17
|
+
export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
18
|
+
asChild?: boolean;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export declare const buttonVariants: (props?: ({
|
|
22
|
+
variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link" | null | undefined;
|
|
23
|
+
size?: "default" | "sm" | "lg" | "icon" | "command" | null | undefined;
|
|
24
|
+
} & ClassProp) | undefined) => string;
|
|
25
|
+
|
|
1
26
|
export { }
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "innodep-ds",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "Innodep Design System",
|
|
5
5
|
"type": "module",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
6
7
|
"main": "dist/index.umd.cjs",
|
|
7
8
|
"module": "dist/index.js",
|
|
8
|
-
"types": "dist/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
11
12
|
"import": "./dist/index.js",
|
|
12
|
-
"require": "./dist/index.umd.cjs"
|
|
13
|
-
"types": "./dist/index.d.ts"
|
|
13
|
+
"require": "./dist/index.umd.cjs"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"files": [
|