@bfrs/agentic-components 0.5.4 → 0.5.6
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 +2 -0
- package/dist/custom-elements.js +6890 -6756
- package/dist/custom-elements.js.map +1 -1
- package/dist/index.js +4506 -4372
- 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, restrictToLast3Months, singleDateMode, allowedFutureDate, ...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, showLastOneYearOnly, ...props }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export declare namespace DateRangePicker {
|
|
4
4
|
var displayName: string;
|
|
5
5
|
}
|
|
@@ -51,4 +51,6 @@ export type DateRangePickerProps = Omit<ComponentPropsWithoutRef<"div">, "defaul
|
|
|
51
51
|
singleDateMode?: boolean;
|
|
52
52
|
/** When true, only future dates (from tomorrow) can be selected. */
|
|
53
53
|
allowedFutureDate?: boolean;
|
|
54
|
+
/** When true, the year picker only shows the "Last one year" option (no specific years). */
|
|
55
|
+
showLastOneYearOnly?: boolean;
|
|
54
56
|
};
|