@mcurros2/microm 1.1.248-0 → 1.1.250-0

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
@@ -441,6 +441,14 @@ export type latLng = {
441
441
  lat: number;
442
442
  lng: number;
443
443
  };
444
+ export const MicroMWidthSizes: {
445
+ xs: string;
446
+ sm: string;
447
+ md: string;
448
+ lg: string;
449
+ xl: string;
450
+ auto: string;
451
+ };
444
452
  export interface EntityError extends Error {
445
453
  Errors: DBStatus[];
446
454
  }
@@ -644,6 +652,8 @@ export interface TextFieldProps extends Omit<TextInputProps, 'autoFocus'>, Omit<
644
652
  columnLenghtLessThanOrEqual: number;
645
653
  maxWidth: string;
646
654
  };
655
+ maxWidth?: keyof typeof MicroMWidthSizes;
656
+ minWidth?: keyof typeof MicroMWidthSizes;
647
657
  }
648
658
  export const TextField: ForwardRefExoticComponent<TextFieldProps & RefAttributes<HTMLInputElement>>;
649
659
  export interface AutoFormFieldsProps<T extends Entity<EntityDefinition>> {
@@ -2700,6 +2710,8 @@ export interface LookupSelectOptions {
2700
2710
  zIndex?: number;
2701
2711
  editButtonVariant?: ButtonVariant;
2702
2712
  breadCrumbs?: ReactNode;
2713
+ maxWidth?: keyof typeof MicroMWidthSizes;
2714
+ minWidth?: keyof typeof MicroMWidthSizes;
2703
2715
  }
2704
2716
  export const LookupSelectDefaultProps: Partial<LookupSelectOptions>;
2705
2717
  export const LookupSelect: ForwardRefExoticComponent<LookupSelectOptions & RefAttributes<HTMLInputElement>>;