Socket
Socket
Sign inDemoInstall

cronofy-elements

Package Overview
Dependencies
Maintainers
3
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cronofy-elements - npm Package Compare versions

Comparing version 1.15.0 to 1.15.1

build/CronofyElements.v1.15.1.js

2

package.json
{
"name": "cronofy-elements",
"version": "1.15.0",
"version": "1.15.1",
"description": "Fast track scheduling with Cronofy's embeddable UI Elements",

@@ -5,0 +5,0 @@ "main": "build/npm/CronofyElements.js",

@@ -309,3 +309,3 @@ import React, { useState, useEffect } from "react";

const slotHeightCalc = calculateSlotHeight(limits);
setTheme({ ...theme, slotHeightCalc });
setTheme(t => ({ ...t, slotHeightCalc }));
if (!objectIsEmpty(rawData)) {

@@ -312,0 +312,0 @@ setStatus({

@@ -118,3 +118,6 @@ import React, { useContext, useState, useEffect } from "react";

if (columnWidth != theme.sizes.columnWidth) {
setTheme({ ...theme, sizes: { ...theme.sizes, columnWidth } });
setTheme(t => ({
...t,
sizes: { ...t.sizes, columnWidth }
}));
}

@@ -125,3 +128,2 @@ }

useEffect(() => {
calculateColumnWidth();
if (!status.multiSelect) {

@@ -131,2 +133,3 @@ setSelectedSlots({});

}, [slots]);
useEffect(() => {

@@ -180,3 +183,3 @@ setSelectedSlots({});

left: ${hover.position.x *
theme.sizes.columnWidth}px;
theme.sizes.columnWidth}px;
`}

@@ -215,3 +218,3 @@ className={`${theme.prefix}__hover-positioner ${theme.prefix}__hover-positioner--main`}

left: ${hover.position.x *
theme.sizes.columnWidth}px;
theme.sizes.columnWidth}px;
width: ${theme.sizes.columnWidth}px;

@@ -218,0 +221,0 @@ height: ${hoverHeight}px;

Sorry, the diff of this file is too big to display

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