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

@s-ui/react-atom-input

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@s-ui/react-atom-input - npm Package Compare versions

Comparing version 5.6.0 to 5.7.0

9

CHANGELOG.md
# CHANGELOG
# 5.7.0 (2021-10-10)
### Features
* **components/atom/input:** add the shape prop ([8dd70ba](https://github.com/SUI-Components/sui-components/commit/8dd70ba2f7c3cc60004748ba6d911ed951b56eaa))
# 5.6.0 (2021-09-29)

@@ -4,0 +13,0 @@

5

lib/config.js

@@ -38,4 +38,5 @@ import cx from 'classnames';

errorState = _ref.errorState,
state = _ref.state;
return cx(BASE_CLASS, BASE_CLASS + "-" + size, charsSize && BASE_CLASS + "--size", hideInput && BASE_CLASS + "--hidden", noBorder && BASE_CLASS + "--noBorder", readOnly && BASE_CLASS + "--readOnly", errorState && BASE_CLASS + "--" + INPUT_STATES.ERROR, errorState === false && BASE_CLASS + "--" + INPUT_STATES.SUCCESS, state && BASE_CLASS + "--" + state);
state = _ref.state,
shape = _ref.shape;
return cx(BASE_CLASS, BASE_CLASS + "-" + size, charsSize && BASE_CLASS + "--size", hideInput && BASE_CLASS + "--hidden", noBorder && BASE_CLASS + "--noBorder", readOnly && BASE_CLASS + "--readOnly", errorState && BASE_CLASS + "--" + INPUT_STATES.ERROR, errorState === false && BASE_CLASS + "--" + INPUT_STATES.SUCCESS, state && BASE_CLASS + "--" + state, shape && BASE_CLASS + "--" + shape);
};

7

lib/Input/Component/index.js

@@ -45,3 +45,5 @@ import { forwardRef } from 'react';

pattern = _ref.pattern,
inputMode = _ref.inputMode;
inputMode = _ref.inputMode,
_ref$shape = _ref.shape,
shape = _ref$shape === void 0 ? 'rounded' : _ref$shape;

@@ -80,3 +82,4 @@ var changeHandler = function changeHandler(ev) {

errorState: errorState,
state: state
state: state,
shape: shape
});

@@ -83,0 +86,0 @@ return /*#__PURE__*/_jsx("input", {

{
"name": "@s-ui/react-atom-input",
"version": "5.6.0",
"version": "5.7.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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