@clasing/ui 0.1.34 → 0.1.35
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 +17 -0
- package/dist/index.es.js +2177 -1998
- package/dist/index.umd.js +10 -10
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -72,6 +72,8 @@ declare interface CheckboxProps extends React.InputHTMLAttributes<HTMLInputEleme
|
|
|
72
72
|
|
|
73
73
|
export declare const Datepicker: ForwardRefExoticComponent<IDatepickerProps & RefAttributes<HTMLInputElement>>;
|
|
74
74
|
|
|
75
|
+
export declare const DateRangePicker: ForwardRefExoticComponent<IDateRangePickerProps & RefAttributes<HTMLInputElement>>;
|
|
76
|
+
|
|
75
77
|
declare type DropdownOption<T extends string | number | readonly string[] | undefined> = {
|
|
76
78
|
label: string;
|
|
77
79
|
value: T;
|
|
@@ -149,6 +151,21 @@ declare interface IDatepickerProps extends React.InputHTMLAttributes<HTMLInputEl
|
|
|
149
151
|
value: string;
|
|
150
152
|
locale?: 'enGB' | 'enUS' | 'es';
|
|
151
153
|
placeholder?: string;
|
|
154
|
+
minDate?: Date;
|
|
155
|
+
maxDate?: Date;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
declare interface IDateRangePickerProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
159
|
+
label?: string;
|
|
160
|
+
helperText?: string;
|
|
161
|
+
error?: string;
|
|
162
|
+
touched?: boolean;
|
|
163
|
+
startDate: string;
|
|
164
|
+
endDate: string;
|
|
165
|
+
locale?: 'enGB' | 'enUS' | 'es';
|
|
166
|
+
placeholder?: string;
|
|
167
|
+
minDate?: Date;
|
|
168
|
+
maxDate?: Date;
|
|
152
169
|
}
|
|
153
170
|
|
|
154
171
|
declare interface IIconComponentProps {
|