@clasing/ui 0.1.35 → 0.1.37
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 +23 -2
- package/dist/index.es.js +291 -205
- package/dist/index.umd.js +9 -9
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/tailwind.config.js +26 -0
package/dist/index.d.ts
CHANGED
|
@@ -34,8 +34,26 @@ export declare const Button: ForwardRefExoticComponent<IButtonProps & RefAttribu
|
|
|
34
34
|
|
|
35
35
|
export declare const ButtonIcon: default_2.ForwardRefExoticComponent<IButtonIconProps & default_2.RefAttributes<HTMLButtonElement>>;
|
|
36
36
|
|
|
37
|
-
declare const
|
|
38
|
-
intent?: "outline" | "fill" | "ghost" | "destructive" | null | undefined;
|
|
37
|
+
export declare const buttonIconActiveStyles: (props?: ({
|
|
38
|
+
intent?: "outline" | "fill" | "blue-subtle" | "ghost" | "destructive" | null | undefined;
|
|
39
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
40
|
+
rounded?: "sm" | "full" | null | undefined;
|
|
41
|
+
} & ClassProp) | undefined) => string;
|
|
42
|
+
|
|
43
|
+
export declare const buttonIconDisabledStyles: (props?: ({
|
|
44
|
+
intent?: "outline" | "fill" | "blue-subtle" | "ghost" | "destructive" | null | undefined;
|
|
45
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
46
|
+
rounded?: "sm" | "full" | null | undefined;
|
|
47
|
+
} & ClassProp) | undefined) => string;
|
|
48
|
+
|
|
49
|
+
export declare const buttonIconLoadingStyles: (props?: ({
|
|
50
|
+
intent?: "outline" | "fill" | "blue-subtle" | "ghost" | "destructive" | null | undefined;
|
|
51
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
52
|
+
rounded?: "sm" | "full" | null | undefined;
|
|
53
|
+
} & ClassProp) | undefined) => string;
|
|
54
|
+
|
|
55
|
+
export declare const buttonIconStyles: (props?: ({
|
|
56
|
+
intent?: "outline" | "fill" | "blue-subtle" | "ghost" | "destructive" | null | undefined;
|
|
39
57
|
size?: "sm" | "md" | "lg" | null | undefined;
|
|
40
58
|
rounded?: "sm" | "full" | null | undefined;
|
|
41
59
|
} & ClassProp) | undefined) => string;
|
|
@@ -111,6 +129,7 @@ declare interface IButtonIconProps extends Omit<default_2.ButtonHTMLAttributes<H
|
|
|
111
129
|
stroke?: number;
|
|
112
130
|
} | TablerIconName;
|
|
113
131
|
isLoading?: boolean;
|
|
132
|
+
isActive?: boolean;
|
|
114
133
|
notification?: boolean;
|
|
115
134
|
}
|
|
116
135
|
|
|
@@ -284,6 +303,8 @@ export declare const Tooltip: ForwardRefExoticComponent<ITooltipProps & RefAttri
|
|
|
284
303
|
|
|
285
304
|
declare const tooltipStyles: (props?: ({
|
|
286
305
|
shadow?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | null | undefined;
|
|
306
|
+
intent?: "light" | "dark" | null | undefined;
|
|
307
|
+
weight?: "bold" | "light" | "regular" | "semibold" | null | undefined;
|
|
287
308
|
placement?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
288
309
|
delay?: 0 | 200 | 75 | 100 | 150 | 300 | 500 | null | undefined;
|
|
289
310
|
closeDelay?: 0 | 200 | 75 | 100 | 150 | 300 | 500 | null | undefined;
|