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

@titelmedia/bricks-gallery

Package Overview
Dependencies
Maintainers
15
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@titelmedia/bricks-gallery - npm Package Compare versions

Comparing version 1.11.21 to 2.0.0

4

CHANGELOG.md

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

# [2.0.0](https://github.com/titel-media/bricks-lerna/compare/v1.11.27...v2.0.0) (2023-06-22)
**Note:** Version bump only for package @titelmedia/bricks-gallery
## [1.11.21](https://github.com/titel-media/bricks-lerna/compare/v1.11.20...v1.11.21) (2023-05-24)

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

7

dist/galleries/drawer/index.js

@@ -28,5 +28,4 @@ "use strict";

if (current) {
var _current$scrollTrigge;
current === null || current === void 0 ? void 0 : (_current$scrollTrigge = current.scrollTrigger) === null || _current$scrollTrigge === void 0 ? void 0 : _current$scrollTrigge.kill(true);
current === null || current === void 0 ? void 0 : current.pause(0).kill(true);
current?.scrollTrigger?.kill(true);
current?.pause(0).kill(true);
_all.gsap.set(itemsRef.current[i].current, {

@@ -70,3 +69,3 @@ clearProps: true

}, [initTimelines]);
return _react.default.createElement(_styles.Container, null, items === null || items === void 0 ? void 0 : items.map((item, i) => _react.default.createElement("div", {
return _react.default.createElement(_styles.Container, null, items?.map((item, i) => _react.default.createElement("div", {
ref: itemsRef.current[i],

@@ -73,0 +72,0 @@ key: `image--${i}`

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

if (items.length !== 0) {
var _items$, _items;
return _react.default.createElement(_styles.Wrapper, {

@@ -46,5 +45,5 @@ ref: wrapperRef

ref: containerRef,
firstImgAspectRatio: ((_items$ = items[0]) === null || _items$ === void 0 ? void 0 : _items$.aspectRatio) || 0,
lastImgAspectRatio: ((_items = items[items.length - 1]) === null || _items === void 0 ? void 0 : _items.aspectRatio) || 0
}, items === null || items === void 0 ? void 0 : items.map((item, i) => {
firstImgAspectRatio: items[0]?.aspectRatio || 0,
lastImgAspectRatio: items[items.length - 1]?.aspectRatio || 0
}, items?.map((item, i) => {
return _react.default.createElement(_styles.ImageWrapper, {

@@ -51,0 +50,0 @@ key: `image--${i}`,

@@ -26,3 +26,3 @@ "use strict";

const overlayRef = (0, _react.useRef)(null);
const fluid = (staticImage === null || staticImage === void 0 ? void 0 : staticImage.fluid) || (staticImage === null || staticImage === void 0 ? void 0 : staticImage.responsiveImage) || staticImage;
const fluid = staticImage?.fluid || staticImage?.responsiveImage || staticImage;
overlayHorizontal = overlayHorizontal || 'center';

@@ -85,3 +85,3 @@ overlayVertical = overlayVertical || 'bottom';

overlayAlignment: overlayAlignment
}, items === null || items === void 0 ? void 0 : items.map((item, i) => {
}, items?.map((item, i) => {
return _react.default.createElement(_styles.ImageItem, {

@@ -88,0 +88,0 @@ key: `item-${i}`,

{
"name": "@titelmedia/bricks-gallery",
"version": "1.11.21",
"version": "2.0.0",
"description": "> TODO: description",

@@ -23,13 +23,13 @@ "author": "highsnob",

"peerDependencies": {
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"styled-components": "5.3.3"
},
"dependencies": {
"@titelmedia/bricks-theme": "^1.11.21",
"@titelmedia/bricks-utils": "^1.11.19",
"@titelmedia/bricks-theme": "^2.0.0",
"@titelmedia/bricks-utils": "^2.0.0",
"gsap": "^3.8.0",
"lodash": "^4.17.21"
},
"gitHead": "51990c87de391f2f5b0eba69de60ec2a304ad4e0"
"gitHead": "cc99e7238db49ff90624d25f73ca3af276223a20"
}

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