@farmzone/fz-react-ui 1.0.19 → 1.0.21
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.cjs +299 -240
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.js +300 -241
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -2
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";
|
|
@@ -653,6 +655,8 @@ interface Column<T> {
|
|
|
653
655
|
sort?: "asc" | "desc" | null;
|
|
654
656
|
fixed?: TableFixed;
|
|
655
657
|
tooltipText?: (value: unknown, record: T, index: number) => ReactNode;
|
|
658
|
+
isWrap?: boolean;
|
|
659
|
+
wrapParts?: Array<string>;
|
|
656
660
|
}
|
|
657
661
|
|
|
658
662
|
interface CheckboxInfo {
|
|
@@ -1116,6 +1120,8 @@ interface BaseUploaderProps {
|
|
|
1116
1120
|
disabled?: boolean;
|
|
1117
1121
|
placeholder?: string;
|
|
1118
1122
|
className?: string;
|
|
1123
|
+
width?: string | number;
|
|
1124
|
+
height?: string | number;
|
|
1119
1125
|
}
|
|
1120
1126
|
declare function BaseUploader(props: BaseUploaderProps): react.JSX.Element;
|
|
1121
1127
|
|
|
@@ -1124,6 +1130,8 @@ interface ExcelUploaderProps {
|
|
|
1124
1130
|
onChange: (files: Array<File>) => void;
|
|
1125
1131
|
disabled?: boolean;
|
|
1126
1132
|
className?: string;
|
|
1133
|
+
width?: string | number;
|
|
1134
|
+
height?: string | number;
|
|
1127
1135
|
}
|
|
1128
1136
|
declare function ExcelUploader(props: ExcelUploaderProps): react.JSX.Element;
|
|
1129
1137
|
|
|
@@ -1133,6 +1141,8 @@ interface FileUploaderProps {
|
|
|
1133
1141
|
multiple?: boolean;
|
|
1134
1142
|
disabled?: boolean;
|
|
1135
1143
|
className?: string;
|
|
1144
|
+
width?: string | number;
|
|
1145
|
+
height?: string | number;
|
|
1136
1146
|
}
|
|
1137
1147
|
declare function FileUploader(props: FileUploaderProps): react.JSX.Element;
|
|
1138
1148
|
|
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";
|
|
@@ -653,6 +655,8 @@ interface Column<T> {
|
|
|
653
655
|
sort?: "asc" | "desc" | null;
|
|
654
656
|
fixed?: TableFixed;
|
|
655
657
|
tooltipText?: (value: unknown, record: T, index: number) => ReactNode;
|
|
658
|
+
isWrap?: boolean;
|
|
659
|
+
wrapParts?: Array<string>;
|
|
656
660
|
}
|
|
657
661
|
|
|
658
662
|
interface CheckboxInfo {
|
|
@@ -1116,6 +1120,8 @@ interface BaseUploaderProps {
|
|
|
1116
1120
|
disabled?: boolean;
|
|
1117
1121
|
placeholder?: string;
|
|
1118
1122
|
className?: string;
|
|
1123
|
+
width?: string | number;
|
|
1124
|
+
height?: string | number;
|
|
1119
1125
|
}
|
|
1120
1126
|
declare function BaseUploader(props: BaseUploaderProps): react.JSX.Element;
|
|
1121
1127
|
|
|
@@ -1124,6 +1130,8 @@ interface ExcelUploaderProps {
|
|
|
1124
1130
|
onChange: (files: Array<File>) => void;
|
|
1125
1131
|
disabled?: boolean;
|
|
1126
1132
|
className?: string;
|
|
1133
|
+
width?: string | number;
|
|
1134
|
+
height?: string | number;
|
|
1127
1135
|
}
|
|
1128
1136
|
declare function ExcelUploader(props: ExcelUploaderProps): react.JSX.Element;
|
|
1129
1137
|
|
|
@@ -1133,6 +1141,8 @@ interface FileUploaderProps {
|
|
|
1133
1141
|
multiple?: boolean;
|
|
1134
1142
|
disabled?: boolean;
|
|
1135
1143
|
className?: string;
|
|
1144
|
+
width?: string | number;
|
|
1145
|
+
height?: string | number;
|
|
1136
1146
|
}
|
|
1137
1147
|
declare function FileUploader(props: FileUploaderProps): react.JSX.Element;
|
|
1138
1148
|
|