@chakra-ui/image
Advanced tools
Comparing version 2.0.16 to 2.1.0
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -132,3 +133,5 @@ var __defProp = Object.defineProperty; | ||
const providedFallback = fallbackSrc !== void 0 || fallback !== void 0; | ||
const shouldIgnoreFallbackImage = loading != null || ignoreFallback || !providedFallback; | ||
const shouldIgnoreFallbackImage = loading != null || // use can opt out of fallback image | ||
ignoreFallback || // if the user doesn't provide any kind of fallback we should ignore it | ||
!providedFallback; | ||
const status = useImage({ | ||
@@ -178,1 +181,2 @@ ...props, | ||
}); | ||
//# sourceMappingURL=image.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -44,1 +45,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=img.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -136,3 +137,5 @@ var __defProp = Object.defineProperty; | ||
const providedFallback = fallbackSrc !== void 0 || fallback !== void 0; | ||
const shouldIgnoreFallbackImage = loading != null || ignoreFallback || !providedFallback; | ||
const shouldIgnoreFallbackImage = loading != null || // use can opt out of fallback image | ||
ignoreFallback || // if the user doesn't provide any kind of fallback we should ignore it | ||
!providedFallback; | ||
const status = useImage({ | ||
@@ -189,1 +192,2 @@ ...props, | ||
}); | ||
//# sourceMappingURL=index.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -37,1 +38,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=native-image.js.map |
@@ -0,1 +1,2 @@ | ||
'use client' | ||
"use strict"; | ||
@@ -96,1 +97,2 @@ var __defProp = Object.defineProperty; | ||
}); | ||
//# sourceMappingURL=use-image.js.map |
{ | ||
"name": "@chakra-ui/image", | ||
"version": "2.0.16", | ||
"version": "2.1.0", | ||
"description": "React component for progressive image loading", | ||
@@ -34,3 +34,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@chakra-ui/react-use-safe-layout-effect": "2.0.5", | ||
"@chakra-ui/react-use-safe-layout-effect": "2.1.0", | ||
"@chakra-ui/shared-utils": "2.0.5" | ||
@@ -42,3 +42,3 @@ }, | ||
"@chakra-ui/object-utils": "2.1.0", | ||
"@chakra-ui/system": "2.5.6" | ||
"@chakra-ui/system": "2.6.0" | ||
}, | ||
@@ -50,10 +50,2 @@ "peerDependencies": { | ||
"clean-package": "../../../clean-package.config.json", | ||
"tsup": { | ||
"clean": true, | ||
"target": "es2019", | ||
"format": [ | ||
"cjs", | ||
"esm" | ||
] | ||
}, | ||
"module": "dist/index.mjs", | ||
@@ -60,0 +52,0 @@ "types": "dist/index.d.ts", |
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
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
76000
36
909
- Removed@chakra-ui/react-use-safe-layout-effect@2.0.5(transitive)