impact-nova 1.7.34 → 1.7.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/components/ui/calendar.d.ts +2 -1
- package/dist/components/ui/calendar.js +463 -409
- package/dist/components/ui/combobox.d.ts +66 -0
- package/dist/components/ui/combobox.js +340 -0
- package/dist/components/ui/data-table/data-table-column-list.js +151 -130
- package/dist/components/ui/select/components/Submenu.js +7 -7
- package/dist/components/ui/sheet.js +1 -1
- package/dist/impact-nova.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +410 -408
- package/package.json +1 -1
|
@@ -24,6 +24,7 @@ export interface MonthRange {
|
|
|
24
24
|
export interface CalendarProps extends Omit<React.ComponentProps<typeof DayPicker>, 'mode' | 'selected' | 'onSelect'> {
|
|
25
25
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
26
26
|
showFooter?: boolean;
|
|
27
|
+
disableApply?: boolean;
|
|
27
28
|
onApply?: (date: Date | Date[] | DateRange | undefined) => void;
|
|
28
29
|
onCancel?: () => void;
|
|
29
30
|
onClear?: () => void;
|
|
@@ -51,7 +52,7 @@ export interface CalendarProps extends Omit<React.ComponentProps<typeof DayPicke
|
|
|
51
52
|
selectedMonths?: MonthSelection | MonthSelection[] | MonthRange;
|
|
52
53
|
onMonthSelect?: (months: MonthSelection | MonthSelection[] | MonthRange | undefined) => void;
|
|
53
54
|
}
|
|
54
|
-
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, showFooter, onApply, onCancel, onClear, mode, selected, onSelect, pickerType, weekMode, selectedWeeks, onWeekSelect, calendarType, fiscalMode, selectionMode, fiscalMonthPattern, fiscalYearStartMonth, weekStartsOn, // Default Monday
|
|
55
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, showFooter, disableApply, onApply, onCancel, onClear, mode, selected, onSelect, pickerType, weekMode, selectedWeeks, onWeekSelect, calendarType, fiscalMode, selectionMode, fiscalMonthPattern, fiscalYearStartMonth, weekStartsOn, // Default Monday
|
|
55
56
|
monthMode, selectedMonths, onMonthSelect, month, defaultMonth, onMonthChange, startMonth, endMonth, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
56
57
|
declare function CalendarDayButton({ className, day, modifiers, pickerType, ...props }: React.ComponentProps<typeof DayButton> & {
|
|
57
58
|
pickerType?: "date" | "week" | "month";
|