@bfrs/agentic-components 0.5.2 → 0.5.3
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/components/filters/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/components/filters/DateRangePicker/DateRangePicker.types.d.ts +6 -0
- package/dist/custom-elements.js +5782 -5719
- package/dist/custom-elements.js.map +1 -1
- package/dist/index.js +3661 -3598
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DateRangePickerProps } from './DateRangePicker.types';
|
|
2
|
-
export declare function DateRangePicker({ className, value, defaultValue, onChange, presets, placeholder, label, helperText, size, disabled, clearable, minDate, maxDate, maxRangeDays, months, align, side, open: controlledOpen, defaultOpen, onOpenChange, infoText, customPresetLabel, applyLabel, cancelLabel, clearLabel, formatDate, formatRange, triggerClassName, contentClassName, calendarClassName, ...props }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare function DateRangePicker({ className, value, defaultValue, onChange, presets, placeholder, label, helperText, size, disabled, clearable, minDate, maxDate, maxRangeDays, months, align, side, open: controlledOpen, defaultOpen, onOpenChange, infoText, customPresetLabel, applyLabel, cancelLabel, clearLabel, formatDate, formatRange, triggerClassName, contentClassName, calendarClassName, restrictToLast3Months, singleDateMode, allowedFutureDate, ...props }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare namespace DateRangePicker {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -45,4 +45,10 @@ export type DateRangePickerProps = Omit<ComponentPropsWithoutRef<"div">, "defaul
|
|
|
45
45
|
triggerClassName?: string;
|
|
46
46
|
contentClassName?: string;
|
|
47
47
|
calendarClassName?: string;
|
|
48
|
+
/** When true, constrain the calendar to the last 90 days only (hides year picker). */
|
|
49
|
+
restrictToLast3Months?: boolean;
|
|
50
|
+
/** When true, clicking a date sets both start and end to the same day (single date selection). */
|
|
51
|
+
singleDateMode?: boolean;
|
|
52
|
+
/** When true, only future dates (from tomorrow) can be selected. */
|
|
53
|
+
allowedFutureDate?: boolean;
|
|
48
54
|
};
|