@nxgt/material 3.97.0 → 3.98.0
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/CHANGELOG.md +6 -0
- package/dist/{components-Bk8KDjaj.js → components-3rMGln0P.js} +10337 -10307
- package/dist/components.js +33 -33
- package/dist/lib/components/ui/media/image-cropper/crop-image.d.ts +15 -2
- package/dist/lib/components/ui/media/image-cropper/image-cropper.d.ts +3 -3
- package/dist/lib/components/ui/media/image-cropper/index.d.ts +3 -2
- package/dist/lib/components/ui/media/image-cropper/types.d.ts +9 -0
- package/dist/lib/components/ui/media/image-cropper/use-apply-crop.d.ts +3 -3
- package/dist/lib/components/ui/media/image-cropper/use-image-cropper.d.ts +3 -3
- package/dist/main.js +49 -49
- package/docs/components/media-and-files.md +20 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @nxgt/material
|
|
2
2
|
|
|
3
|
+
## 3.98.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#2794](https://github.com/softistx/nxgt-material/pull/2794) [`2863835`](https://github.com/softistx/nxgt-material/commit/28638354a66ca9e44f0bd8a643bd594203edb51e) Thanks [@SteveGT96](https://github.com/SteveGT96)! - feat(image-cropper): add `outputSize`, `mimeType` and `quality` to `cropImageToFile`, `ImageCropper` and `ImageCropperDialog`. `outputSize` caps the longest side of the cropped file in px (512, say), downscale only, so an avatar no longer weighs several MB; `mimeType` (`'image/webp'`, `'image/png'`, `'image/avif'`; the file extension follows it) and `quality` set the encoding. The defaults are unchanged: the crop's own size, JPEG at 0.92. `fitOutputSize` and the `CropImageOptions` and `ImageCropOutput` types are exported.
|
|
8
|
+
|
|
3
9
|
## 3.97.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|