New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-polymorph

Package Overview
Dependencies
Maintainers
2
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-polymorph - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

12

CHANGELOG.md
Changelog
=========
## 0.3.3
## 0.3.4
### Fixes
- Updated simple theme styled for SimpleSelect ([PR 16](https://github.com/input-output-hk/react-polymorph/pull/16))
### 0.3.3
- Toggle dropdown on label clicks ([PR 15](https://github.com/input-output-hk/react-polymorph/pull/15))

@@ -12,2 +16,8 @@

### Fixes
- Toggle dropdown on label clicks ([PR 15](https://github.com/input-output-hk/react-polymorph/pull/15))
## 0.3.2
### Features

@@ -14,0 +24,0 @@

6

lib/components/NumericInput.js

@@ -61,4 +61,3 @@ 'use strict';

// e.g. if value > maxValue set error message
oldValue: null // Last recorded value before input change
}, _this.onChange = function (event) {
oldValue: null }, _this.onChange = function (event) {
var _this$props = _this.props,

@@ -302,4 +301,3 @@ onChange = _this$props.onChange,

maxValue: _propTypes2.default.number, // max allowed numeric value
minValue: _propTypes2.default.number // min allowed numeric value
}), _class.defaultProps = {
minValue: _propTypes2.default.number }), _class.defaultProps = {
value: '',

@@ -306,0 +304,0 @@ error: ''

@@ -140,3 +140,3 @@ 'use strict';

}, _this.focus = function () {
return _this.setState({ isOpen: !_this.state.isOpen });
return _this.state.isOpen ? _this.close() : _this.open();
}, _this.open = function () {

@@ -258,3 +258,3 @@ if (!_this.state.isOpen) {

// Focus the component - toggle dropdown isOpen state
// Focus the component - toggle dropdown

@@ -261,0 +261,0 @@

{
"name": "react-polymorph",
"description": "React components with highly customizable logic, markup and styles.",
"version": "0.3.3",
"version": "0.3.4",
"author": {

@@ -6,0 +6,0 @@ "name": "Dominik Guzei",

@@ -126,4 +126,4 @@ import React from 'react';

// Focus the component - toggle dropdown isOpen state
focus = () => this.setState({ isOpen: !this.state.isOpen });
// Focus the component - toggle dropdown
focus = () => this.state.isOpen ? this.close() : this.open();

@@ -130,0 +130,0 @@ open = () => {

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

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