@inntechcorp/it-design 3.1.4 → 3.1.6
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.js +250 -250
- package/dist/index.d.ts +12 -0
- package/dist/index.esm.js +261 -261
- package/dist/locales/en/itd.json +5 -1
- package/dist/locales/itd.json +5 -1
- package/dist/locales/tr/itd.json +5 -1
- package/dist/stories/Upload.stories.d.ts +1 -0
- package/dist/types/UploadProps.d.ts +4 -0
- package/package.json +3 -1
package/dist/index.d.ts
CHANGED
|
@@ -1455,6 +1455,10 @@ type UploadProps = {
|
|
|
1455
1455
|
extraQueryString?: {};
|
|
1456
1456
|
extraHeader?: {};
|
|
1457
1457
|
disabled?: boolean;
|
|
1458
|
+
/** Minimum image width required for upload (in pixels). Smaller images will be rejected. */
|
|
1459
|
+
minImageWidth?: number;
|
|
1460
|
+
/** Minimum image height required for upload (in pixels). Smaller images will be rejected. */
|
|
1461
|
+
minImageHeight?: number;
|
|
1458
1462
|
/** Enable image cropping before upload */
|
|
1459
1463
|
enableCrop?: boolean;
|
|
1460
1464
|
/** Aspect ratio for crop (e.g., 1 for square, 16/9 for widescreen). Undefined = free crop */
|
|
@@ -1751,6 +1755,10 @@ declare const resources: {
|
|
|
1751
1755
|
cropImage: string;
|
|
1752
1756
|
crop: string;
|
|
1753
1757
|
cancel: string;
|
|
1758
|
+
width: string;
|
|
1759
|
+
height: string;
|
|
1760
|
+
imageTooSmall: string;
|
|
1761
|
+
imageTooSmallMessage: string;
|
|
1754
1762
|
};
|
|
1755
1763
|
results: {
|
|
1756
1764
|
authentication: {
|
|
@@ -2053,6 +2061,10 @@ declare const resources: {
|
|
|
2053
2061
|
cropImage: string;
|
|
2054
2062
|
crop: string;
|
|
2055
2063
|
cancel: string;
|
|
2064
|
+
width: string;
|
|
2065
|
+
height: string;
|
|
2066
|
+
imageTooSmall: string;
|
|
2067
|
+
imageTooSmallMessage: string;
|
|
2056
2068
|
};
|
|
2057
2069
|
results: {
|
|
2058
2070
|
authentication: {
|