@klu_dev/ui-klu-green 1.0.10 → 1.0.11
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 +27 -4
- package/dist/index.js +151 -2512
- package/dist/index.js.map +1 -0
- package/package.json +6 -9
- package/dist/components/ui/backButton.d.ts +0 -8
- package/dist/components/ui/backButton.d.ts.map +0 -1
- package/dist/components/ui/button.d.ts +0 -11
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/input.d.ts +0 -9
- package/dist/components/ui/input.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
4
|
+
import { VariantProps } from 'class-variance-authority';
|
|
5
|
+
|
|
6
|
+
type InputSize = "sm" | "md" | "lg" | "full";
|
|
7
|
+
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
8
|
+
size?: InputSize;
|
|
9
|
+
error?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
12
|
+
|
|
13
|
+
declare const buttonVariants: (props?: ({
|
|
14
|
+
variant?: "primary" | "secondary" | "outline" | "outlinePrimary" | "outlineSecondary" | "outlineWhite" | null | undefined;
|
|
15
|
+
size?: "sm" | "md" | "lg" | "full" | "xl" | null | undefined;
|
|
16
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
17
|
+
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
18
|
+
asChild?: boolean;
|
|
19
|
+
}): react_jsx_runtime.JSX.Element;
|
|
20
|
+
|
|
21
|
+
type BackButtonSize = "ch" | "md" | "lg";
|
|
22
|
+
interface BackButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
23
|
+
size?: BackButtonSize;
|
|
24
|
+
}
|
|
25
|
+
declare const BackButton: React.ForwardRefExoticComponent<BackButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
26
|
+
|
|
27
|
+
export { BackButton, Button, Input };
|