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

formik-material-ui

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formik-material-ui - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

25

dist/formik-material-ui.es6.js

@@ -35,2 +35,16 @@ import { Component, createElement } from 'react';

var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
var inherits = function (subClass, superClass) {

@@ -100,8 +114,7 @@ if (typeof superClass !== "function" && superClass !== null) {

return createElement(MaterialUIComponent, {
...mapProps(this.props),
return createElement(MaterialUIComponent, _extends({}, mapProps(this.props), {
ref: !isStateLess(MaterialUIComponent) ? function (el) {
_this2.component = el;
} : null
});
}));
}

@@ -125,8 +138,6 @@ }]);

return {
...props,
...field,
return _extends({}, props, field, {
error: touched[name] && !!errors[name],
helperText: errors[name]
};
});
});

@@ -133,0 +144,0 @@

@@ -41,2 +41,16 @@ 'use strict';

var _extends = Object.assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
var inherits = function (subClass, superClass) {

@@ -106,8 +120,7 @@ if (typeof superClass !== "function" && superClass !== null) {

return react.createElement(MaterialUIComponent, {
...mapProps(this.props),
return react.createElement(MaterialUIComponent, _extends({}, mapProps(this.props), {
ref: !isStateLess(MaterialUIComponent) ? function (el) {
_this2.component = el;
} : null
});
}));
}

@@ -131,8 +144,6 @@ }]);

return {
...props,
...field,
return _extends({}, props, field, {
error: touched[name] && !!errors[name],
helperText: errors[name]
};
});
});

@@ -139,0 +150,0 @@

{
"name": "formik-material-ui",
"version": "0.0.1",
"version": "0.0.2",
"dependencies": {

@@ -5,0 +5,0 @@ "@material-ui/core": "^1.0.0",

@@ -16,2 +16,2 @@ [![Build Status](https://travis-ci.org/stackworx/formik-material-ui.svg?branch=master)](https://travis-ci.org/stackworx/formik-material-ui)

[Demo](https://stackworx.github.io/formik-material-ui/?selectedKind=Welcome&selectedStory=to%20Storybook&full=0&addons=1&stories=1&panelRight=0&addonPanel=storybook%2Factions%2Factions-panel)
[Demo](https://stackworx.github.io/formik-material-ui)

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