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

flex-wrap-layout

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flex-wrap-layout - npm Package Compare versions

Comparing version 0.9.0 to 0.9.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## v0.9.1 (2020/02/24)
- DevTools accepts div props
## v0.9.0 (2020/02/24)

@@ -2,0 +6,0 @@

6

dist/cjs/DevTools.js

@@ -43,5 +43,7 @@ "use strict";

function DevTools(props) {
const { detectWrappedElementsRef, context } = props;
const { detectWrappedElementsRef, context, ...otherProps } = props;
const { showBorders, setShowBorders, detectWrappedElements, setDetectWrappedElements, flexFill, setFlexFill } = context;
return (react_1.default.createElement("div", { style: { ...panel } },
return (
// eslint-disable-next-line react/jsx-props-no-spreading
react_1.default.createElement("div", Object.assign({ style: { ...panel } }, otherProps),
detectWrappedElements && (react_1.default.createElement(DetectWrappedElements, { detectWrappedElementsRef: detectWrappedElementsRef })),

@@ -48,0 +50,0 @@ react_1.default.createElement("label", { title: "Dotted line: growing block, solid line: fixed block" },

@@ -22,3 +22,3 @@ import React from 'react';

};
interface Props {
interface Props extends React.HTMLAttributes<HTMLDivElement> {
detectWrappedElementsRef: React.RefObject<HTMLElement>;

@@ -25,0 +25,0 @@ context: DevToolsContext;

@@ -33,5 +33,7 @@ import React, { useState } from 'react';

export function DevTools(props) {
const { detectWrappedElementsRef, context } = props;
const { detectWrappedElementsRef, context, ...otherProps } = props;
const { showBorders, setShowBorders, detectWrappedElements, setDetectWrappedElements, flexFill, setFlexFill } = context;
return (React.createElement("div", { style: { ...panel } },
return (
// eslint-disable-next-line react/jsx-props-no-spreading
React.createElement("div", Object.assign({ style: { ...panel } }, otherProps),
detectWrappedElements && (React.createElement(DetectWrappedElements, { detectWrappedElementsRef: detectWrappedElementsRef })),

@@ -38,0 +40,0 @@ React.createElement("label", { title: "Dotted line: growing block, solid line: fixed block" },

{
"name": "flex-wrap-layout",
"version": "0.9.0",
"version": "0.9.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

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