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 3.1.0 to 3.1.1

lib/build-www.d.ts

3

es/DockPanel.js

@@ -154,3 +154,4 @@ import React from "react";

this.onPanelClicked = (e) => {
if (!this._ref.contains(this._ref.ownerDocument.activeElement) && this._ref.contains(e.target)) {
const target = e.nativeEvent.target;
if (!this._ref.contains(this._ref.ownerDocument.activeElement) && target instanceof Node && this._ref.contains(target)) {
this._ref.querySelector('.dock-bar').focus();

@@ -157,0 +158,0 @@ }

# History
----
## 3.1.0 / 2021-09-06
- add dark theme
## 3.0.14 / 2021-05-15

@@ -5,0 +8,0 @@ - panel navigation with arrow keys

@@ -160,3 +160,4 @@ "use strict";

this.onPanelClicked = (e) => {
if (!this._ref.contains(this._ref.ownerDocument.activeElement) && this._ref.contains(e.target)) {
const target = e.nativeEvent.target;
if (!this._ref.contains(this._ref.ownerDocument.activeElement) && target instanceof Node && this._ref.contains(target)) {
this._ref.querySelector('.dock-bar').focus();

@@ -163,0 +164,0 @@ }

{
"name": "rc-dock",
"version": "3.1.0",
"version": "3.1.1",
"description": "dock layout for react component",

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

# Dock Layout for React Component
![alt text](https://ticlo.github.io/rc-dock/images/demo.gif)
![](https://ticlo.github.io/rc-dock/images/demo.gif)
#### Popup panel as new browser window
![alt text](https://ticlo.github.io/rc-dock/images/new-window.gif)
![](https://ticlo.github.io/rc-dock/images/new-window.gif)
#### Dark Theme
![](https://ticlo.github.io/rc-dock/images/dark-theme.png)
- **Examples:** https://ticlo.github.io/rc-dock/examples

@@ -9,0 +12,0 @@ - **Docs:** https://ticlo.github.io/rc-dock

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