@movmo_app/react-common 0.7.1 → 0.7.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/index.d.ts CHANGED
@@ -64,7 +64,7 @@ declare interface ChipProps extends React_2.HTMLAttributes<HTMLSpanElement> {
64
64
  */
65
65
  export declare const COUNTRY_OPTIONS: SelectDropdownOption[];
66
66
 
67
- export declare const DateDropdowns: ({ value, onChange, travelerType: _travelerType, departureDate: _departureDate, uniqueId, label, yearDirection, errorState, }: DateDropdownsProps) => JSX_2.Element;
67
+ export declare const DateDropdowns: ({ value, onChange, travelerType: _travelerType, departureDate: _departureDate, uniqueId, label, yearDirection, errorState, labelClassName, className, }: DateDropdownsProps) => JSX_2.Element;
68
68
 
69
69
  export declare interface DateDropdownsProps {
70
70
  value?: string;
@@ -82,6 +82,10 @@ export declare interface DateDropdownsProps {
82
82
  yearDirection?: 'past' | 'future';
83
83
  /** When true, highlights the Month/Day/Year fields with a red border */
84
84
  errorState?: boolean;
85
+ /** Custom CSS classes for the label. Default: "text-sm md:text-base font-semibold" */
86
+ labelClassName?: string;
87
+ /** Custom CSS classes for the wrapper div. Default: "mt-7" */
88
+ className?: string;
85
89
  }
86
90
 
87
91
  export declare const IconButton: React_2.ForwardRefExoticComponent<IconButtonProps & React_2.RefAttributes<HTMLButtonElement>>;