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.1 to 0.3.2

lib/skins/simple/TogglerSkin.js

24

CHANGELOG.md
Changelog
=========
## 0.3.1
## 0.3.2
### Fixes
### Features
- Fixed caret positioning bug on NumericInput component re-render
- Add toggler component ([PR 14](https://github.com/input-output-hk/react-polymorph/pull/14))
## 0.3.0
## 0.3.1

@@ -16,8 +16,8 @@ ### Fixes

- Prevent CSS-classes inheritance on TextAreaSkin textarea element
- Fixed caret positioning bug on NumericInput component re-render
### Features
- Added checkbox component
- Added switch component
- Added dialog component
- Add checkbox component
- Add switch component

@@ -28,5 +28,5 @@ ## 0.2.7

- Fixed storybook webpack config
- Fixed caret position logic in numeric input
- Fixed selection stealing bug found in Daedalus
- fixed storybook webpack config
- fixed caret position logic in numeric input
- fixed selection stealing bug found in Daedalus

@@ -75,3 +75,3 @@ ## 0.2.6

- Added new package-lock.json file generated by npm 5
- add new package-lock.json file generated by npm 5

@@ -82,3 +82,3 @@ ## 0.2.1

- Reused the normal `InputSkin` and `SimpleInput` theme for the `NumericInput` component.
- Reuse the normal `InputSkin` and `SimpleInput` theme for the `NumericInput` component.

@@ -85,0 +85,0 @@ ## 0.2.0

@@ -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: ''

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

var SWITCH = exports.SWITCH = 'ReactPolymorphSimpleSwitch';
var TOGGLER = exports.TOGGLER = 'ReactPolymorphSimpleToggler';
var MODAL = exports.MODAL = 'ReactPolymorphSimpleModal';
//# sourceMappingURL=identifiers.js.map
{
"name": "react-polymorph",
"description": "React components with highly customizable logic, markup and styles.",
"version": "0.3.1",
"version": "0.3.2",
"author": {

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

@@ -8,2 +8,3 @@ export const FORM_FIELD = 'ReactPolymorphSimpleFormField';

export const SWITCH = 'ReactPolymorphSimpleSwitch';
export const TOGGLER = 'ReactPolymorphSimpleToggler';
export const MODAL = 'ReactPolymorphSimpleModal';

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