Socket
Socket
Sign inDemoInstall

@yamada-ui/image

Package Overview
Dependencies
Maintainers
0
Versions
761
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yamada-ui/image - npm Package Compare versions

Comparing version 2.0.0-next-20240820160301 to 2.0.0-next-20240825145710

dist/chunk-SZNXEYZU.mjs

3

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc