@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.
@@ -72,7 +72,11 @@
72
72
  "no": "No",
73
73
  "cropImage": "Crop Image",
74
74
  "crop": "Crop",
75
- "cancel": "Cancel"
75
+ "cancel": "Cancel",
76
+ "width": "width",
77
+ "height": "height",
78
+ "imageTooSmall": "Image Too Small",
79
+ "imageTooSmallMessage": "Minimum required size is {{required}}. Your image is {{actual}}."
76
80
  },
77
81
  "results": {
78
82
  "authentication": {
@@ -73,7 +73,11 @@
73
73
  "no": "Hayır",
74
74
  "cropImage": "Görseli Kırp",
75
75
  "crop": "Kırp",
76
- "cancel": "İptal"
76
+ "cancel": "İptal",
77
+ "width": "genişlik",
78
+ "height": "yükseklik",
79
+ "imageTooSmall": "Görsel Çok Küçük",
80
+ "imageTooSmallMessage": "Minimum gerekli boyut {{required}}. Görseliniz {{actual}}."
77
81
  },
78
82
  "results": {
79
83
  "authentication": {
@@ -73,7 +73,11 @@
73
73
  "no": "Hayır",
74
74
  "cropImage": "Görseli Kırp",
75
75
  "crop": "Kırp",
76
- "cancel": "İptal"
76
+ "cancel": "İptal",
77
+ "width": "genişlik",
78
+ "height": "yükseklik",
79
+ "imageTooSmall": "Görsel Çok Küçük",
80
+ "imageTooSmallMessage": "Minimum gerekli boyut {{required}}. Görseliniz {{actual}}."
77
81
  },
78
82
  "results": {
79
83
  "authentication": {
@@ -18,4 +18,5 @@ export declare const Disabled: Story;
18
18
  export declare const NoDefinedFile: Story;
19
19
  export declare const CropEnabled: Story;
20
20
  export declare const CropEnabled16x9: Story;
21
+ export declare const CropEnabledRetina: Story;
21
22
  export declare const Error: Story;
@@ -30,6 +30,10 @@ export type UploadProps = {
30
30
  extraQueryString?: {};
31
31
  extraHeader?: {};
32
32
  disabled?: boolean;
33
+ /** Minimum image width required for upload (in pixels). Smaller images will be rejected. */
34
+ minImageWidth?: number;
35
+ /** Minimum image height required for upload (in pixels). Smaller images will be rejected. */
36
+ minImageHeight?: number;
33
37
  /** Enable image cropping before upload */
34
38
  enableCrop?: boolean;
35
39
  /** Aspect ratio for crop (e.g., 1 for square, 16/9 for widescreen). Undefined = free crop */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inntechcorp/it-design",
3
- "version": "3.1.4",
3
+ "version": "3.1.6",
4
4
  "description": "All in one Design library for web applications.",
5
5
  "author": "Inn.Tech",
6
6
  "license": "ISC",
@@ -90,6 +90,7 @@
90
90
  "customize-cra": "^1.0.0",
91
91
  "dayjs": "^1.11.19",
92
92
  "dts-bundle-generator": "^9.5.1",
93
+ "sonner": "^2.0.0",
93
94
  "eslint-plugin-storybook": "9.1.4",
94
95
  "esm": "^3.2.25",
95
96
  "less-loader": "12.3.0",
@@ -131,6 +132,7 @@
131
132
  "dayjs": "1.11.18",
132
133
  "react": "^19.1.0",
133
134
  "react-dom": "^19.1.0",
135
+ "sonner": "^2.0.0",
134
136
  "styled-components": "^6.1.19"
135
137
  },
136
138
  "bugs": {