@yamada-ui/image
Advanced tools
Comparing version 2.0.0-next-20240820160301 to 2.0.0-next-20240825145710
@@ -1,4 +0,5 @@ | ||
export { Image, ImageProps } from './image.js'; | ||
export { Image, ImageProps, Image as Img, ImageProps as ImgProps } from './image.js'; | ||
export { NativeImage, NativeImageProps, NativeImage as NativeImg, NativeImageProps as NativeImgProps } from './native-image.js'; | ||
export { UseImageProps, UseImageReturn, useImage } from './use-image.js'; | ||
import '@yamada-ui/core'; | ||
import 'react'; |
@@ -25,2 +25,5 @@ "use client" | ||
Image: () => Image2, | ||
Img: () => Image2, | ||
NativeImage: () => NativeImage, | ||
NativeImg: () => NativeImage, | ||
useImage: () => useImage | ||
@@ -150,7 +153,16 @@ }); | ||
}); | ||
// src/native-image.tsx | ||
var import_core2 = require("@yamada-ui/core"); | ||
var NativeImage = (0, import_core2.ui)("img", { | ||
disableStyleProp: (prop) => ["width", "height"].includes(prop) | ||
}); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
Image, | ||
Img, | ||
NativeImage, | ||
NativeImg, | ||
useImage | ||
}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@yamada-ui/image", | ||
"version": "2.0.0-next-20240820160301", | ||
"version": "2.0.0-next-20240825145710", | ||
"description": "Yamada UI media and image component", | ||
@@ -32,3 +32,3 @@ "keywords": [ | ||
"type": "git", | ||
"url": "git+https://github.com/yamada-ui/yamada-ui", | ||
"url": "https://github.com/yamada-ui/yamada-ui", | ||
"directory": "packages/components/image" | ||
@@ -40,4 +40,4 @@ }, | ||
"dependencies": { | ||
"@yamada-ui/core": "1.13.0-next-20240820160301", | ||
"@yamada-ui/utils": "1.4.0-next-20240820160301" | ||
"@yamada-ui/core": "1.13.0", | ||
"@yamada-ui/utils": "1.4.0" | ||
}, | ||
@@ -44,0 +44,0 @@ "devDependencies": { |
@@ -6,17 +6,11 @@ # @yamada-ui/image | ||
```sh | ||
$ pnpm add @yamada-ui/image | ||
pnpm add @yamada-ui/image | ||
# or | ||
yarn add @yamada-ui/image | ||
# or | ||
npm install @yamada-ui/image | ||
# or | ||
bun add @yamada-ui/image | ||
``` | ||
or | ||
```sh | ||
$ yarn add @yamada-ui/image | ||
``` | ||
or | ||
```sh | ||
$ npm install @yamada-ui/image | ||
``` | ||
## Contribution | ||
@@ -23,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61513
33
703
23
+ Added@yamada-ui/core@1.13.0(transitive)
+ Added@yamada-ui/portal@1.0.19(transitive)
+ Added@yamada-ui/utils@1.4.0(transitive)
- Removed@yamada-ui/core@1.13.0-next-20240820160301(transitive)
- Removed@yamada-ui/portal@1.0.19-next-20240820160301(transitive)
- Removed@yamada-ui/utils@1.4.0-next-20240820160301(transitive)
Updated@yamada-ui/core@1.13.0
Updated@yamada-ui/utils@1.4.0