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

@datalith/util

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@datalith/util - npm Package Compare versions

Comparing version 0.7.0 to 0.8.0

11

dist/ResponsiveWrapper.js

@@ -38,7 +38,8 @@ var __extends = (this && this.__extends) || (function () {

var size = _a.size;
return (React.createElement("div", { style: { width: '100%', height: '100%' } },
React.createElement(Component, __assign({}, _this.props, { style: __assign({}, size, _this.props.style), size: {
width: (_this.props.style && _this.props.style.width) || size.width,
height: (_this.props.style && _this.props.style.height) || size.height,
} }))));
return (React.createElement("div", { style: { position: 'relative', height: '100%' } },
React.createElement("div", { style: { position: 'absolute', width: '100%', height: '100%' } },
React.createElement(Component, __assign({}, _this.props, { style: __assign({}, size, _this.props.style), size: {
width: (_this.props.style && _this.props.style.width) || size.width,
height: (_this.props.style && _this.props.style.height) || size.height,
} })))));
}));

@@ -45,0 +46,0 @@ };

@@ -11,8 +11,8 @@ /// <reference types="react" />

export interface CommonProps {
/** Custom css classes to apply to the SVG element */
/** Custom css classes to apply to the SVG */
className?: string;
/** Custom style object to apply to the SVG */
style?: React.CSSProperties;
/** Optional <defs /> element to include in the SVG */
defs?: JSX.Element;
/** Optional elements to add to the SVG */
additionalElements?: JSX.Element;
/** Data array */

@@ -19,0 +19,0 @@ data: Datum[];

{
"name": "@datalith/util",
"version": "0.7.0",
"version": "0.8.0",
"description": "datalith util",

@@ -48,3 +48,3 @@ "main": "dist/index.js",

},
"gitHead": "8bc3b1c6da2f4e255806d43d0102623d2c329d33"
"gitHead": "cd7052522b6a4c73f8d0434ddaf0385d18e55880"
}

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