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

synapsefi-ui

Package Overview
Dependencies
Maintainers
1
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

synapsefi-ui - npm Package Compare versions

Comparing version 1.4.7 to 1.4.8

21

dist/components/Input/NumberInput.js

@@ -33,26 +33,17 @@ 'use strict';

function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
var NumberInput = function NumberInput(props) {
var _ref = props.propValues || props,
autofocus = _ref.autofocus,
value = _ref.value,
type = _ref.type,
onChange = _ref.onChange,
propName = _ref.propName,
format = _ref.format,
placeholder = _ref.placeholder,
disabled = _ref.disabled,
error = _ref.error,
currency = _ref.currency,
label = _ref.label,
type = _ref.type,
format = _ref.format;
inputProps = _objectWithoutProperties(_ref, ['type', 'onChange', 'format', 'placeholder']);
var formatSettings = (0, _number.getFormat)(type, format);
return _react2.default.createElement(_reactNumberFormat2.default, _extends({}, formatSettings, {
return _react2.default.createElement(_reactNumberFormat2.default, _extends({}, formatSettings, inputProps, {
customInput: _Input2.default,
label: label,
autoFocus: autofocus,
placeholder: placeholder || formatSettings.placeholder,
disabled: disabled,
error: error,
value: value,
onValueChange: function onValueChange(values, e) {

@@ -59,0 +50,0 @@ return onChange(e, values.value, propName);

{
"name": "synapsefi-ui",
"description": "synapsefi-ui",
"version": "1.4.7",
"version": "1.4.8",
"main": "index.js",

@@ -6,0 +6,0 @@ "license": "MIT",

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