Socket
Socket
Sign inDemoInstall

@reactflow/controls

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@reactflow/controls - npm Package Compare versions

Comparing version 11.1.11 to 11.1.12

2

dist/esm/Controls.d.ts

@@ -1,2 +0,2 @@

import type { PropsWithChildren } from 'react';
import { type PropsWithChildren } from 'react';
import type { ControlProps } from './types';

@@ -3,0 +3,0 @@ declare const _default: import("react").NamedExoticComponent<PropsWithChildren<ControlProps>>;

@@ -29,3 +29,3 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';

const isInteractiveSelector = (s) => s.nodesDraggable && s.nodesConnectable && s.elementsSelectable;
const isInteractiveSelector = (s) => s.nodesDraggable || s.nodesConnectable || s.elementsSelectable;
const Controls = ({ style, showZoom = true, showFitView = true, showInteractive = true, fitViewOptions, onZoomIn, onZoomOut, onFitView, onInteractiveChange, className, children, position = 'bottom-left', }) => {

@@ -32,0 +32,0 @@ const store = useStoreApi();

@@ -1,2 +0,2 @@

import type { PropsWithChildren } from 'react';
import { type PropsWithChildren } from 'react';
import type { ControlProps } from './types';

@@ -3,0 +3,0 @@ declare const _default: import("react").NamedExoticComponent<PropsWithChildren<ControlProps>>;

{
"name": "@reactflow/controls",
"version": "11.1.11",
"version": "11.1.12",
"description": "Component to control the viewport of a React Flow instance",

@@ -33,3 +33,3 @@ "keywords": [

"dependencies": {
"@reactflow/core": "11.7.0",
"@reactflow/core": "11.7.1",
"classcat": "^5.0.3"

@@ -36,0 +36,0 @@ },

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 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