@clasing/ui 0.1.34 → 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 +40 -2
- package/dist/index.es.js +2274 -2009
- package/dist/index.umd.js +10 -10
- package/dist/style.css +1 -1
- package/package.json +2 -2
- 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;
|
|
@@ -72,6 +90,8 @@ declare interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputEleme
|
|
|
72
90
|
|
|
73
91
|
export declare const Datepicker: ForwardRefExoticComponent<IDatepickerProps & RefAttributes<HTMLInputElement>>;
|
|
74
92
|
|
|
93
|
+
export declare const DateRangePicker: ForwardRefExoticComponent<IDateRangePickerProps & RefAttributes<HTMLInputElement>>;
|
|
94
|
+
|
|
75
95
|
declare type DropdownOption<T extends string | number | readonly string[] | undefined> = {
|
|
76
96
|
label: string;
|
|
77
97
|
value: T;
|
|
@@ -109,6 +129,7 @@ declare interface IButtonIconProps extends Omit<default_2.ButtonHTMLAttributes<H
|
|
|
109
129
|
stroke?: number;
|
|
110
130
|
} | TablerIconName;
|
|
111
131
|
isLoading?: boolean;
|
|
132
|
+
isActive?: boolean;
|
|
112
133
|
notification?: boolean;
|
|
113
134
|
}
|
|
114
135
|
|
|
@@ -149,6 +170,21 @@ declare interface IDatepickerProps extends React.InputHTMLAttributes<HTMLInputEl
|
|
|
149
170
|
value: string;
|
|
150
171
|
locale?: 'enGB' | 'enUS' | 'es';
|
|
151
172
|
placeholder?: string;
|
|
173
|
+
minDate?: Date;
|
|
174
|
+
maxDate?: Date;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
declare interface IDateRangePickerProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
178
|
+
label?: string;
|
|
179
|
+
helperText?: string;
|
|
180
|
+
error?: string;
|
|
181
|
+
touched?: boolean;
|
|
182
|
+
startDate: string;
|
|
183
|
+
endDate: string;
|
|
184
|
+
locale?: 'enGB' | 'enUS' | 'es';
|
|
185
|
+
placeholder?: string;
|
|
186
|
+
minDate?: Date;
|
|
187
|
+
maxDate?: Date;
|
|
152
188
|
}
|
|
153
189
|
|
|
154
190
|
declare interface IIconComponentProps {
|
|
@@ -267,6 +303,8 @@ export declare const Tooltip: ForwardRefExoticComponent<ITooltipProps & RefAttri
|
|
|
267
303
|
|
|
268
304
|
declare const tooltipStyles: (props?: ({
|
|
269
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;
|
|
270
308
|
placement?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
271
309
|
delay?: 0 | 200 | 75 | 100 | 150 | 300 | 500 | null | undefined;
|
|
272
310
|
closeDelay?: 0 | 200 | 75 | 100 | 150 | 300 | 500 | null | undefined;
|