@farmzone/fz-react-ui 1.0.18 → 1.0.20

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.cts CHANGED
@@ -438,6 +438,8 @@ type YmdDateString = string & {
438
438
 
439
439
  type DatePickerBaseProps = {
440
440
  className?: string;
441
+ width?: string | number;
442
+ height?: string | number;
441
443
  editDateSelect?: boolean;
442
444
  onKeyDownEnter?: () => void;
443
445
  datePosition?: "top" | "bottom";
@@ -976,6 +978,7 @@ type SelectOption<P> = BaseOption<P> & {
976
978
  type RadioOption<P> = BaseOption<P> & {
977
979
  type: "radio";
978
980
  options: Array<SelectableOption>;
981
+ autoSubmit?: boolean;
979
982
  };
980
983
  type DateOption<P> = BaseOption<P> & {
981
984
  type: "date";
@@ -988,6 +991,7 @@ type DateRangeOption<P> = BaseOption<P> & {
988
991
  type CheckboxOption<P> = BaseOption<P> & {
989
992
  type: "checkbox";
990
993
  options: Array<SelectableOption>;
994
+ autoSubmit?: boolean;
991
995
  };
992
996
  type FilterOption<P> = InputOption<P> | SelectOption<P> | RadioOption<P> | DateOption<P> | DateRangeOption<P> | CheckboxOption<P>;
993
997
  interface FilterRow<P> {
@@ -1114,6 +1118,8 @@ interface BaseUploaderProps {
1114
1118
  disabled?: boolean;
1115
1119
  placeholder?: string;
1116
1120
  className?: string;
1121
+ width?: string | number;
1122
+ height?: string | number;
1117
1123
  }
1118
1124
  declare function BaseUploader(props: BaseUploaderProps): react.JSX.Element;
1119
1125
 
@@ -1122,6 +1128,8 @@ interface ExcelUploaderProps {
1122
1128
  onChange: (files: Array<File>) => void;
1123
1129
  disabled?: boolean;
1124
1130
  className?: string;
1131
+ width?: string | number;
1132
+ height?: string | number;
1125
1133
  }
1126
1134
  declare function ExcelUploader(props: ExcelUploaderProps): react.JSX.Element;
1127
1135
 
@@ -1131,6 +1139,8 @@ interface FileUploaderProps {
1131
1139
  multiple?: boolean;
1132
1140
  disabled?: boolean;
1133
1141
  className?: string;
1142
+ width?: string | number;
1143
+ height?: string | number;
1134
1144
  }
1135
1145
  declare function FileUploader(props: FileUploaderProps): react.JSX.Element;
1136
1146
 
package/dist/index.d.ts CHANGED
@@ -438,6 +438,8 @@ type YmdDateString = string & {
438
438
 
439
439
  type DatePickerBaseProps = {
440
440
  className?: string;
441
+ width?: string | number;
442
+ height?: string | number;
441
443
  editDateSelect?: boolean;
442
444
  onKeyDownEnter?: () => void;
443
445
  datePosition?: "top" | "bottom";
@@ -976,6 +978,7 @@ type SelectOption<P> = BaseOption<P> & {
976
978
  type RadioOption<P> = BaseOption<P> & {
977
979
  type: "radio";
978
980
  options: Array<SelectableOption>;
981
+ autoSubmit?: boolean;
979
982
  };
980
983
  type DateOption<P> = BaseOption<P> & {
981
984
  type: "date";
@@ -988,6 +991,7 @@ type DateRangeOption<P> = BaseOption<P> & {
988
991
  type CheckboxOption<P> = BaseOption<P> & {
989
992
  type: "checkbox";
990
993
  options: Array<SelectableOption>;
994
+ autoSubmit?: boolean;
991
995
  };
992
996
  type FilterOption<P> = InputOption<P> | SelectOption<P> | RadioOption<P> | DateOption<P> | DateRangeOption<P> | CheckboxOption<P>;
993
997
  interface FilterRow<P> {
@@ -1114,6 +1118,8 @@ interface BaseUploaderProps {
1114
1118
  disabled?: boolean;
1115
1119
  placeholder?: string;
1116
1120
  className?: string;
1121
+ width?: string | number;
1122
+ height?: string | number;
1117
1123
  }
1118
1124
  declare function BaseUploader(props: BaseUploaderProps): react.JSX.Element;
1119
1125
 
@@ -1122,6 +1128,8 @@ interface ExcelUploaderProps {
1122
1128
  onChange: (files: Array<File>) => void;
1123
1129
  disabled?: boolean;
1124
1130
  className?: string;
1131
+ width?: string | number;
1132
+ height?: string | number;
1125
1133
  }
1126
1134
  declare function ExcelUploader(props: ExcelUploaderProps): react.JSX.Element;
1127
1135
 
@@ -1131,6 +1139,8 @@ interface FileUploaderProps {
1131
1139
  multiple?: boolean;
1132
1140
  disabled?: boolean;
1133
1141
  className?: string;
1142
+ width?: string | number;
1143
+ height?: string | number;
1134
1144
  }
1135
1145
  declare function FileUploader(props: FileUploaderProps): react.JSX.Element;
1136
1146