@s-ui/react-atom-input
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -5,2 +5,12 @@ # Change Log | ||
<a name="4.1.0"></a> | ||
# 4.1.0 (2019-11-12) | ||
### Bug Fixes | ||
* set css property pointer-events to none ([f845847](https://github.com/SUI-Components/sui-components/commit/f845847)) | ||
<a name="4.0.0"></a> | ||
@@ -7,0 +17,0 @@ # 4.0.0 (2019-10-29) |
@@ -1,2 +0,2 @@ | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import React from 'react'; | ||
@@ -10,3 +10,3 @@ import PropTypes from 'prop-types'; | ||
var type = _ref.type, | ||
props = _objectWithoutProperties(_ref, ["type"]); | ||
props = _objectWithoutPropertiesLoose(_ref, ["type"]); | ||
@@ -13,0 +13,0 @@ switch (type) { |
@@ -1,2 +0,2 @@ | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import React from 'react'; | ||
@@ -21,3 +21,3 @@ import PropTypes from 'prop-types'; | ||
rightAddon = _ref2.rightAddon, | ||
props = _objectWithoutProperties(_ref2, ["leftAddon", "rightAddon"]); | ||
props = _objectWithoutPropertiesLoose(_ref2, ["leftAddon", "rightAddon"]); | ||
@@ -24,0 +24,0 @@ return leftAddon || rightAddon ? React.createElement("div", { |
@@ -1,2 +0,2 @@ | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import _inheritsLoose from "@babel/runtime/helpers/esm/inheritsLoose"; | ||
@@ -59,3 +59,3 @@ import React from 'react'; | ||
onClickRightIcon = _this$props.onClickRightIcon, | ||
props = _objectWithoutProperties(_this$props, ["leftIcon", "rightIcon", "onClickLeftIcon", "onClickRightIcon"]); | ||
props = _objectWithoutPropertiesLoose(_this$props, ["leftIcon", "rightIcon", "onClickLeftIcon", "onClickRightIcon"]); | ||
@@ -62,0 +62,0 @@ return leftIcon || rightIcon ? React.createElement("div", { |
@@ -1,3 +0,2 @@ | ||
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import React, { useState, useEffect, useRef } from 'react'; | ||
@@ -11,8 +10,7 @@ import PropTypes from 'prop-types'; | ||
maskOptions = _ref.mask, | ||
props = _objectWithoutProperties(_ref, ["name", "onChange", "mask"]); | ||
props = _objectWithoutPropertiesLoose(_ref, ["name", "onChange", "mask"]); | ||
var _useState = useState(null), | ||
_useState2 = _slicedToArray(_useState, 2), | ||
mask = _useState2[0], | ||
setMask = _useState2[1]; | ||
mask = _useState[0], | ||
setMask = _useState[1]; | ||
@@ -19,0 +17,0 @@ var refInput = useRef(null); |
@@ -1,3 +0,2 @@ | ||
import _slicedToArray from "@babel/runtime/helpers/esm/slicedToArray"; | ||
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties"; | ||
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose"; | ||
import React, { useState } from 'react'; | ||
@@ -18,13 +17,11 @@ import PropTypes from 'prop-types'; | ||
pwHideLabel = _ref.pwHideLabel, | ||
props = _objectWithoutProperties(_ref, ["onChange", "pwShowLabel", "pwHideLabel"]); | ||
props = _objectWithoutPropertiesLoose(_ref, ["onChange", "pwShowLabel", "pwHideLabel"]); | ||
var _useState = useState(PASSWORD), | ||
_useState2 = _slicedToArray(_useState, 2), | ||
type = _useState2[0], | ||
setType = _useState2[1]; | ||
type = _useState[0], | ||
setType = _useState[1]; | ||
var _useState3 = useState(''), | ||
_useState4 = _slicedToArray(_useState3, 2), | ||
value = _useState4[0], | ||
setValue = _useState4[1]; | ||
var _useState2 = useState(''), | ||
value = _useState2[0], | ||
setValue = _useState2[1]; | ||
@@ -31,0 +28,0 @@ var toggle = function toggle() { |
{ | ||
"name": "@s-ui/react-atom-input", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
38271
322