react-polymorph
Advanced tools
Comparing version 0.3.1 to 0.3.2
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
2290
267894
96
1