@kopexa/image-crop 17.0.27 → 17.1.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/README.md +5 -1
- package/dist/{chunk-2LNRSLRU.mjs → chunk-SNB5T3P5.mjs} +2 -2
- package/dist/image-crop.d.mts +1 -1
- package/dist/image-crop.d.ts +1 -1
- package/dist/image-crop.js +2 -2
- package/dist/image-crop.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# @kopexa/image-crop
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Part of the Kopexa Sight Design System.
|
|
4
4
|
|
|
5
5
|
> This is an internal utility, not intended for public usage.
|
|
6
6
|
|
|
7
|
+
- **Author:** Kopexa (<https://kopexa.com>)
|
|
8
|
+
- **License:** Apache-2.0
|
|
9
|
+
- **Repository:** [kopexa-grc/sight](https://github.com/kopexa-grc/sight)
|
|
10
|
+
|
|
7
11
|
## Installation
|
|
8
12
|
|
|
9
13
|
```sh
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
3
|
// src/image-crop.tsx
|
|
4
|
-
import { mergeProps } from "@base-ui
|
|
5
|
-
import { useRender } from "@base-ui
|
|
4
|
+
import { mergeProps } from "@base-ui/react/merge-props";
|
|
5
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
6
6
|
import { ArrowCounterClockwiseIcon, CropIcon } from "@kopexa/icons";
|
|
7
7
|
import { cn } from "@kopexa/shared-utils";
|
|
8
8
|
import { button, imageCrop } from "@kopexa/theme";
|
package/dist/image-crop.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { useRender } from '@base-ui
|
|
4
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
5
5
|
import { ButtonProps } from '@kopexa/button';
|
|
6
6
|
import { ReactCropProps } from 'react-image-crop';
|
|
7
7
|
|
package/dist/image-crop.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { ReactNode, CSSProperties } from 'react';
|
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
4
|
-
import { useRender } from '@base-ui
|
|
4
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
5
5
|
import { ButtonProps } from '@kopexa/button';
|
|
6
6
|
import { ReactCropProps } from 'react-image-crop';
|
|
7
7
|
|
package/dist/image-crop.js
CHANGED
|
@@ -39,8 +39,8 @@ __export(image_crop_exports, {
|
|
|
39
39
|
ImageCropReset: () => ImageCropReset
|
|
40
40
|
});
|
|
41
41
|
module.exports = __toCommonJS(image_crop_exports);
|
|
42
|
-
var import_merge_props = require("@base-ui
|
|
43
|
-
var import_use_render = require("@base-ui
|
|
42
|
+
var import_merge_props = require("@base-ui/react/merge-props");
|
|
43
|
+
var import_use_render = require("@base-ui/react/use-render");
|
|
44
44
|
var import_icons = require("@kopexa/icons");
|
|
45
45
|
var import_shared_utils = require("@kopexa/shared-utils");
|
|
46
46
|
var import_theme = require("@kopexa/theme");
|
package/dist/image-crop.mjs
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Cropper, CropperProps, ImageCrop, ImageCropApply, ImageCropApplyProps, ImageCropContent, ImageCropContentProps, ImageCropProps, ImageCropReset, ImageCropResetProps } from './image-crop.mjs';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
-
import '@base-ui
|
|
4
|
+
import '@base-ui/react/use-render';
|
|
5
5
|
import '@kopexa/button';
|
|
6
6
|
import 'react-image-crop';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Cropper, CropperProps, ImageCrop, ImageCropApply, ImageCropApplyProps, ImageCropContent, ImageCropContentProps, ImageCropProps, ImageCropReset, ImageCropResetProps } from './image-crop.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'react/jsx-runtime';
|
|
4
|
-
import '@base-ui
|
|
4
|
+
import '@base-ui/react/use-render';
|
|
5
5
|
import '@kopexa/button';
|
|
6
6
|
import 'react-image-crop';
|
package/dist/index.js
CHANGED
|
@@ -40,8 +40,8 @@ __export(index_exports, {
|
|
|
40
40
|
module.exports = __toCommonJS(index_exports);
|
|
41
41
|
|
|
42
42
|
// src/image-crop.tsx
|
|
43
|
-
var import_merge_props = require("@base-ui
|
|
44
|
-
var import_use_render = require("@base-ui
|
|
43
|
+
var import_merge_props = require("@base-ui/react/merge-props");
|
|
44
|
+
var import_use_render = require("@base-ui/react/use-render");
|
|
45
45
|
var import_icons = require("@kopexa/icons");
|
|
46
46
|
var import_shared_utils = require("@kopexa/shared-utils");
|
|
47
47
|
var import_theme = require("@kopexa/theme");
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/image-crop",
|
|
3
|
-
"version": "17.0
|
|
3
|
+
"version": "17.1.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"image-crop"
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"motion": ">=12.23.6",
|
|
29
29
|
"react": ">=19.0.0-rc.0",
|
|
30
30
|
"react-dom": ">=19.0.0-rc.0",
|
|
31
|
-
"@kopexa/theme": "17.
|
|
31
|
+
"@kopexa/theme": "17.15.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@base-ui
|
|
34
|
+
"@base-ui/react": "^1.1.0",
|
|
35
35
|
"react-image-crop": "^11.0.10",
|
|
36
|
-
"@kopexa/button": "17.0.
|
|
37
|
-
"@kopexa/icons": "17.4.
|
|
38
|
-
"@kopexa/shared-utils": "17.0.
|
|
39
|
-
"@kopexa/react-utils": "17.0.
|
|
36
|
+
"@kopexa/button": "17.0.28",
|
|
37
|
+
"@kopexa/icons": "17.4.1",
|
|
38
|
+
"@kopexa/shared-utils": "17.0.28",
|
|
39
|
+
"@kopexa/react-utils": "17.0.28"
|
|
40
40
|
},
|
|
41
41
|
"clean-package": "../../../clean-package.config.json",
|
|
42
42
|
"module": "dist/index.mjs",
|