@reeverdev/ui 0.2.157 → 0.2.158
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.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -33
- package/dist/index.d.ts +25 -33
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2376,56 +2376,48 @@ interface DefaultErrorFallbackProps {
|
|
|
2376
2376
|
declare const DefaultErrorFallback: React$1.ForwardRefExoticComponent<DefaultErrorFallbackProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2377
2377
|
declare const ErrorBoundary: typeof ErrorBoundaryClass;
|
|
2378
2378
|
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2379
|
+
declare const dateRangePickerVariants: (props?: ({
|
|
2380
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2381
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2382
|
+
type DateRangeFormat = "dd/MM/yyyy" | "MM/dd/yyyy" | "yyyy-MM-dd" | "dd.MM.yyyy";
|
|
2383
|
+
interface DateRangePickerProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange" | "value" | "defaultValue">, VariantProps<typeof dateRangePickerVariants> {
|
|
2384
|
+
label?: React$1.ReactNode;
|
|
2385
|
+
description?: React$1.ReactNode;
|
|
2386
|
+
errorMessage?: React$1.ReactNode;
|
|
2387
|
+
isRequired?: boolean;
|
|
2388
|
+
isInvalid?: boolean;
|
|
2389
|
+
labelClassName?: string;
|
|
2390
|
+
inputClassName?: string;
|
|
2391
|
+
descriptionClassName?: string;
|
|
2392
|
+
errorClassName?: string;
|
|
2383
2393
|
value?: DateRange;
|
|
2384
|
-
/**
|
|
2385
|
-
* Default date range (uncontrolled)
|
|
2386
|
-
*/
|
|
2387
2394
|
defaultValue?: DateRange;
|
|
2395
|
+
onChange?: (range: DateRange | undefined) => void;
|
|
2396
|
+
minDate?: Date;
|
|
2397
|
+
maxDate?: Date;
|
|
2398
|
+
dateFormat?: DateRangeFormat;
|
|
2388
2399
|
/**
|
|
2389
|
-
*
|
|
2390
|
-
|
|
2391
|
-
onValueChange?: (range: DateRange | undefined) => void;
|
|
2392
|
-
/**
|
|
2393
|
-
* Placeholder text
|
|
2394
|
-
*/
|
|
2395
|
-
placeholder?: string;
|
|
2396
|
-
/**
|
|
2397
|
-
* Date format string (date-fns format)
|
|
2398
|
-
* @default "LLL dd, y"
|
|
2399
|
-
*/
|
|
2400
|
-
dateFormat?: string;
|
|
2401
|
-
/**
|
|
2402
|
-
* Disabled state
|
|
2403
|
-
*/
|
|
2404
|
-
disabled?: boolean;
|
|
2405
|
-
/**
|
|
2406
|
-
* Minimum selectable date
|
|
2400
|
+
* Show calendar picker icon and enable popup
|
|
2401
|
+
* @default true
|
|
2407
2402
|
*/
|
|
2408
|
-
|
|
2403
|
+
showPicker?: boolean;
|
|
2409
2404
|
/**
|
|
2410
|
-
*
|
|
2405
|
+
* Whether the input should take full width
|
|
2406
|
+
* @default false
|
|
2411
2407
|
*/
|
|
2412
|
-
|
|
2408
|
+
fullWidth?: boolean;
|
|
2413
2409
|
/**
|
|
2414
2410
|
* Number of months to display
|
|
2415
2411
|
* @default 2
|
|
2416
2412
|
*/
|
|
2417
2413
|
numberOfMonths?: number;
|
|
2418
|
-
/**
|
|
2419
|
-
* Additional class name
|
|
2420
|
-
*/
|
|
2421
|
-
className?: string;
|
|
2422
2414
|
/**
|
|
2423
2415
|
* Alignment of the popover
|
|
2424
2416
|
* @default "start"
|
|
2425
2417
|
*/
|
|
2426
2418
|
align?: "start" | "center" | "end";
|
|
2427
2419
|
}
|
|
2428
|
-
declare const DateRangePicker: React$1.ForwardRefExoticComponent<DateRangePickerProps & React$1.RefAttributes<
|
|
2420
|
+
declare const DateRangePicker: React$1.ForwardRefExoticComponent<DateRangePickerProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2429
2421
|
|
|
2430
2422
|
interface TimePickerProps {
|
|
2431
2423
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -2376,56 +2376,48 @@ interface DefaultErrorFallbackProps {
|
|
|
2376
2376
|
declare const DefaultErrorFallback: React$1.ForwardRefExoticComponent<DefaultErrorFallbackProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
2377
2377
|
declare const ErrorBoundary: typeof ErrorBoundaryClass;
|
|
2378
2378
|
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2379
|
+
declare const dateRangePickerVariants: (props?: ({
|
|
2380
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2381
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
2382
|
+
type DateRangeFormat = "dd/MM/yyyy" | "MM/dd/yyyy" | "yyyy-MM-dd" | "dd.MM.yyyy";
|
|
2383
|
+
interface DateRangePickerProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size" | "type" | "onChange" | "value" | "defaultValue">, VariantProps<typeof dateRangePickerVariants> {
|
|
2384
|
+
label?: React$1.ReactNode;
|
|
2385
|
+
description?: React$1.ReactNode;
|
|
2386
|
+
errorMessage?: React$1.ReactNode;
|
|
2387
|
+
isRequired?: boolean;
|
|
2388
|
+
isInvalid?: boolean;
|
|
2389
|
+
labelClassName?: string;
|
|
2390
|
+
inputClassName?: string;
|
|
2391
|
+
descriptionClassName?: string;
|
|
2392
|
+
errorClassName?: string;
|
|
2383
2393
|
value?: DateRange;
|
|
2384
|
-
/**
|
|
2385
|
-
* Default date range (uncontrolled)
|
|
2386
|
-
*/
|
|
2387
2394
|
defaultValue?: DateRange;
|
|
2395
|
+
onChange?: (range: DateRange | undefined) => void;
|
|
2396
|
+
minDate?: Date;
|
|
2397
|
+
maxDate?: Date;
|
|
2398
|
+
dateFormat?: DateRangeFormat;
|
|
2388
2399
|
/**
|
|
2389
|
-
*
|
|
2390
|
-
|
|
2391
|
-
onValueChange?: (range: DateRange | undefined) => void;
|
|
2392
|
-
/**
|
|
2393
|
-
* Placeholder text
|
|
2394
|
-
*/
|
|
2395
|
-
placeholder?: string;
|
|
2396
|
-
/**
|
|
2397
|
-
* Date format string (date-fns format)
|
|
2398
|
-
* @default "LLL dd, y"
|
|
2399
|
-
*/
|
|
2400
|
-
dateFormat?: string;
|
|
2401
|
-
/**
|
|
2402
|
-
* Disabled state
|
|
2403
|
-
*/
|
|
2404
|
-
disabled?: boolean;
|
|
2405
|
-
/**
|
|
2406
|
-
* Minimum selectable date
|
|
2400
|
+
* Show calendar picker icon and enable popup
|
|
2401
|
+
* @default true
|
|
2407
2402
|
*/
|
|
2408
|
-
|
|
2403
|
+
showPicker?: boolean;
|
|
2409
2404
|
/**
|
|
2410
|
-
*
|
|
2405
|
+
* Whether the input should take full width
|
|
2406
|
+
* @default false
|
|
2411
2407
|
*/
|
|
2412
|
-
|
|
2408
|
+
fullWidth?: boolean;
|
|
2413
2409
|
/**
|
|
2414
2410
|
* Number of months to display
|
|
2415
2411
|
* @default 2
|
|
2416
2412
|
*/
|
|
2417
2413
|
numberOfMonths?: number;
|
|
2418
|
-
/**
|
|
2419
|
-
* Additional class name
|
|
2420
|
-
*/
|
|
2421
|
-
className?: string;
|
|
2422
2414
|
/**
|
|
2423
2415
|
* Alignment of the popover
|
|
2424
2416
|
* @default "start"
|
|
2425
2417
|
*/
|
|
2426
2418
|
align?: "start" | "center" | "end";
|
|
2427
2419
|
}
|
|
2428
|
-
declare const DateRangePicker: React$1.ForwardRefExoticComponent<DateRangePickerProps & React$1.RefAttributes<
|
|
2420
|
+
declare const DateRangePicker: React$1.ForwardRefExoticComponent<DateRangePickerProps & React$1.RefAttributes<HTMLInputElement>>;
|
|
2429
2421
|
|
|
2430
2422
|
interface TimePickerProps {
|
|
2431
2423
|
/**
|