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

rc-dock

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-dock - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

1

example/drop-mode.jsx

@@ -37,2 +37,3 @@ import React from 'react';

tabs: [{...tab, id: 't7'}, {...tab, id: 't8'}, {...tab, id: 't9'}],
panelLock: {panelStyle: 'main'},
},

@@ -39,0 +40,0 @@ ]

3

lib/DockDropEdge.js

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

depth = this.getActualDepth(depth, mode, direction);
if (!direction) {
if (!direction || (direction === 'float' && dropFromPanel.panelLock)) {
this.context.setDropRect(null, 'remove', this);
return;
}

@@ -30,0 +31,0 @@ let targetElement = panelElement;

{
"name": "rc-dock",
"version": "2.2.2",
"version": "2.2.3",
"description": "dock layout for react component",

@@ -5,0 +5,0 @@ "repository": {

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