@inntechcorp/it-design 3.1.5 → 3.1.7
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/cropper/index.d.ts +6 -0
- package/dist/index.cjs.js +254 -254
- package/dist/index.d.mts +9 -1
- package/dist/index.d.ts +44 -15
- package/dist/index.esm.js +258 -258
- package/dist/locales/calendar.json +22 -22
- package/dist/locales/itd.json +234 -235
- package/dist/stories/Upload.stories.d.ts +2 -0
- package/dist/types/UploadProps.d.ts +37 -14
- package/package.json +3 -1
package/dist/cropper/index.d.ts
CHANGED
|
@@ -13,6 +13,10 @@ export interface ImageCropperProps {
|
|
|
13
13
|
minWidth?: number;
|
|
14
14
|
/** Minimum crop height in pixels */
|
|
15
15
|
minHeight?: number;
|
|
16
|
+
/** Output width - cropped image will be resized to this width */
|
|
17
|
+
outputWidth?: number;
|
|
18
|
+
/** Output height - cropped image will be resized to this height */
|
|
19
|
+
outputHeight?: number;
|
|
16
20
|
/** Output image quality (0-1) */
|
|
17
21
|
quality?: number;
|
|
18
22
|
/** Output image format */
|
|
@@ -23,6 +27,8 @@ export interface ImageCropperProps {
|
|
|
23
27
|
width?: string | number;
|
|
24
28
|
/** Container height */
|
|
25
29
|
height?: string | number;
|
|
30
|
+
/** Show grid lines on crop area (default: true) */
|
|
31
|
+
showGrid?: boolean;
|
|
26
32
|
}
|
|
27
33
|
export interface ImageCropperRef {
|
|
28
34
|
/** Get cropped image as Blob */
|