Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@titelmedia/bricks-images

Package Overview
Dependencies
Maintainers
15
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@titelmedia/bricks-images - npm Package Compare versions

Comparing version 2.0.0 to 2.1.5

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [2.1.5](https://github.com/titel-media/bricks-lerna/compare/v2.1.4...v2.1.5) (2023-08-28)
**Note:** Version bump only for package @titelmedia/bricks-images
# [2.0.0](https://github.com/titel-media/bricks-lerna/compare/v1.11.27...v2.0.0) (2023-06-22)

@@ -8,0 +12,0 @@

13

dist/index.js

@@ -15,2 +15,3 @@ "use strict";

const ImageItem = (0, _react.forwardRef)((props, ref) => {
var _credits$0$creditsCol;
const imageRef = (0, _react.useRef)(null);

@@ -38,5 +39,5 @@ const {

} = props;
const mobile = imageMobile?.fluid || imageMobile?.responsiveImage || imageMobile || image;
const motionBg = motionBackgroundImg?.fluid || motionBackgroundImg?.responsiveImage || motionBackgroundImg || null;
const absoluteImg = absoluteImage?.fluid || absoluteImage?.responsiveImage || absoluteImage || null;
const mobile = (imageMobile === null || imageMobile === void 0 ? void 0 : imageMobile.fluid) || (imageMobile === null || imageMobile === void 0 ? void 0 : imageMobile.responsiveImage) || imageMobile || image;
const motionBg = (motionBackgroundImg === null || motionBackgroundImg === void 0 ? void 0 : motionBackgroundImg.fluid) || (motionBackgroundImg === null || motionBackgroundImg === void 0 ? void 0 : motionBackgroundImg.responsiveImage) || motionBackgroundImg || null;
const absoluteImg = (absoluteImage === null || absoluteImage === void 0 ? void 0 : absoluteImage.fluid) || (absoluteImage === null || absoluteImage === void 0 ? void 0 : absoluteImage.responsiveImage) || absoluteImage || null;
(0, _react.useEffect)(() => {

@@ -105,7 +106,7 @@ if (enableRotation) {

src: svg.src || svg
}))), credits?.length === 1 && _react.default.createElement(_styles.ContainerCredits, {
}))), (credits === null || credits === void 0 ? void 0 : credits.length) === 1 && _react.default.createElement(_styles.ContainerCredits, {
align: credits[0].alignment,
padding: credits[0].padding
}, _react.default.createElement(_styles.Credits, {
creditsColor: credits[0].creditsColor?.hex || '#fff'
creditsColor: ((_credits$0$creditsCol = credits[0].creditsColor) === null || _credits$0$creditsCol === void 0 ? void 0 : _credits$0$creditsCol.hex) || '#fff'
}, credits[0].text)));

@@ -139,3 +140,3 @@ });

type: galleryType
}, images?.map((item, i) => {
}, images === null || images === void 0 ? void 0 : images.map((item, i) => {
return _react.default.createElement(ImageItem, _extends({

@@ -142,0 +143,0 @@ key: `image-item-${i}`,

{
"name": "@titelmedia/bricks-images",
"version": "2.0.0",
"version": "2.1.5",
"description": "> TODO: description",

@@ -23,3 +23,3 @@ "author": "Katerina Vaseva <katerina.vsv@gmail.com>",

"dependencies": {
"@titelmedia/bricks-theme": "^2.0.0",
"@titelmedia/bricks-theme": "^2.1.5",
"@titelmedia/bricks-utils": "^2.0.0"

@@ -32,3 +32,3 @@ },

},
"gitHead": "cc99e7238db49ff90624d25f73ca3af276223a20"
"gitHead": "5838db68c61685409c736be267802365e5ae225f"
}

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