@modul/mbui 0.0.60-beta-pv-54250-6dba152e → 0.0.60-beta-pv-54289-5c2f1983

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.
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { type VariantProps } from 'class-variance-authority';
3
3
  declare const chipVariants: (props?: {
4
- variant?: "outline" | "primary" | "secondary" | "ghost" | "success" | "primary-outline";
4
+ variant?: "outline" | "primary" | "secondary" | "success" | "primary-outline" | "ghost";
5
5
  size?: "lg" | "md" | "sm" | "xs" | "xxs";
6
6
  } & import("class-variance-authority/dist/types").ClassProp) => string;
7
7
  export interface IChipProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof chipVariants> {
@@ -10,10 +10,8 @@ interface DrawerDatePickerProps extends React.RefAttributes<HTMLInputElement>, P
10
10
  triggerDisabled?: boolean;
11
11
  selected?: Date | DateRange;
12
12
  disabled?: boolean;
13
- disabledDates?: (date: Date) => boolean;
14
13
  disableFutureDates?: boolean;
15
- disablePastDates?: boolean;
16
- dateFormat?: string;
14
+ dateFormat: string;
17
15
  placeholder?: string;
18
16
  onSelect: (value: Date | DateRange) => void;
19
17
  }
@@ -3,15 +3,11 @@ import { DateRange } from 'react-day-picker';
3
3
  import { DatePickerMode } from './DrawerDatePicker';
4
4
  declare type MonthViewProps = {
5
5
  selected?: Date | DateRange;
6
- selectedMonth?: Date;
7
6
  onSelect: (value: Date | DateRange) => void;
8
- toggleView: (date: Date) => void;
9
- disabled?: (date: Date) => boolean;
10
- disableFutureDates?: boolean;
11
- disablePastDates?: boolean;
7
+ toggleView: () => void;
8
+ disabledDates?: (date: Date) => boolean;
12
9
  month?: Date;
13
10
  mode: DatePickerMode;
14
- resetTrigger?: boolean;
15
11
  };
16
12
  declare const MonthView: React.FC<MonthViewProps>;
17
13
  export { MonthView };
@@ -1,8 +1,7 @@
1
1
  import React from 'react';
2
2
  interface YearViewProps {
3
+ years: number[];
3
4
  onMonthSelect: (date: Date) => void;
4
- disableFutureDates: boolean;
5
- disablePastDates: boolean;
6
5
  }
7
- export declare const YearView: React.MemoExoticComponent<({ onMonthSelect, disableFutureDates, disablePastDates }: YearViewProps) => React.JSX.Element>;
6
+ export declare const YearView: React.MemoExoticComponent<({ years, onMonthSelect }: YearViewProps) => React.JSX.Element>;
8
7
  export {};