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

@figspec/react

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figspec/react - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

5

cjs/es2016/index.js

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

exports.FigspecFileViewer = exports.FigspecFrameViewer = void 0;
const jsx_runtime_js_1 = require("react/jsx-runtime.js");
require("@figspec/components");

@@ -58,3 +57,3 @@ const react_1 = require("react");

}, [refNode, onScaleChange]);
return (jsx_runtime_js_1.jsx("figspec-frame-viewer", Object.assign({ ref: refCb, class: className, "pan-speed": panSpeed, "zoom-margin": zoomMargin, "zoom-speed": zoomSpeed }, rest), void 0));
return (react_1.createElement("figspec-frame-viewer", Object.assign({ ref: refCb, class: className, "pan-speed": panSpeed, "zoom-margin": zoomMargin, "zoom-speed": zoomSpeed }, rest)));
});

@@ -93,3 +92,3 @@ exports.FigspecFileViewer = react_1.forwardRef((_a, ref) => {

}, [refNode, onScaleChange]);
return (jsx_runtime_js_1.jsx("figspec-file-viewer", Object.assign({ ref: refCb, class: className, "pan-speed": panSpeed, "zoom-margin": zoomMargin, "zoom-speed": zoomSpeed }, rest), void 0));
return (react_1.createElement("figspec-file-viewer", Object.assign({ ref: refCb, class: className, "pan-speed": panSpeed, "zoom-margin": zoomMargin, "zoom-speed": zoomSpeed }, rest)));
});

7

esm/es2015/index.js

@@ -12,5 +12,4 @@ var __rest = (this && this.__rest) || function (s, e) {

};
import { jsx as _jsx } from "react/jsx-runtime.js";
import "@figspec/components";
import { forwardRef, useCallback, useEffect, useImperativeHandle, useState, } from "react";
import { createElement, forwardRef, useCallback, useEffect, useImperativeHandle, useState, } from "react";
const bindEvent = (element, event, cb) => {

@@ -55,3 +54,3 @@ const listener = ((ev) => {

}, [refNode, onScaleChange]);
return (_jsx("figspec-frame-viewer", Object.assign({ ref: refCb, class: className, "pan-speed": panSpeed, "zoom-margin": zoomMargin, "zoom-speed": zoomSpeed }, rest), void 0));
return (createElement("figspec-frame-viewer", Object.assign({ ref: refCb, class: className, "pan-speed": panSpeed, "zoom-margin": zoomMargin, "zoom-speed": zoomSpeed }, rest)));
});

@@ -90,3 +89,3 @@ export const FigspecFileViewer = forwardRef((_a, ref) => {

}, [refNode, onScaleChange]);
return (_jsx("figspec-file-viewer", Object.assign({ ref: refCb, class: className, "pan-speed": panSpeed, "zoom-margin": zoomMargin, "zoom-speed": zoomSpeed }, rest), void 0));
return (createElement("figspec-file-viewer", Object.assign({ ref: refCb, class: className, "pan-speed": panSpeed, "zoom-margin": zoomMargin, "zoom-speed": zoomSpeed }, rest)));
});

@@ -8,3 +8,3 @@ {

],
"version": "0.1.4",
"version": "0.1.5",
"contributors": [

@@ -11,0 +11,0 @@ {

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