@mcurros2/microm 1.1.249-0 → 1.1.251-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
@@ -652,6 +652,8 @@ export interface TextFieldProps extends Omit<TextInputProps, 'autoFocus'>, Omit<
652
652
  columnLenghtLessThanOrEqual: number;
653
653
  maxWidth: string;
654
654
  };
655
+ maxWidth?: keyof typeof MicroMWidthSizes;
656
+ minWidth?: keyof typeof MicroMWidthSizes;
655
657
  }
656
658
  export const TextField: ForwardRefExoticComponent<TextFieldProps & RefAttributes<HTMLInputElement>>;
657
659
  export interface AutoFormFieldsProps<T extends Entity<EntityDefinition>> {
@@ -875,6 +877,8 @@ export interface NumberFieldProps extends Omit<NumberInputProps, 'autoFocus'> {
875
877
  children: ReactNode;
876
878
  }>;
877
879
  autoFocus?: 'autoFocusOnAdd' | 'autoFocusOnEdit' | boolean;
880
+ maxWidth?: keyof typeof MicroMWidthSizes;
881
+ minWidth?: keyof typeof MicroMWidthSizes;
878
882
  }
879
883
  export const NumberField: ForwardRefExoticComponent<NumberFieldProps & RefAttributes<HTMLInputElement>>;
880
884
  export interface UseHierarchyKeysProps {