Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flexcodelabs/input

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flexcodelabs/input - npm Package Compare versions

Comparing version 0.1.1 to 0.1.3

4

CHANGELOG.md

@@ -0,2 +1,6 @@

# 0.1.3
* new release to test workflow
# 0.1.2
* Fix custom styles for new release
# 0.1.1
* Create and release input component

2

lib/cjs/index.js

@@ -48,3 +48,3 @@ "use strict";

!textarea && (react_1.default.createElement("input", { id: name, inputMode: inputMode !== null && inputMode !== void 0 ? inputMode : "text", type: type === "password" ? (isPassword ? "password" : "text") : type, name: name, disabled: disabled, className: "".concat(error && "error", " ").concat(success && "success", " ").concat(inputClass, " "), onChange: onChange, autoComplete: autoComplete, onFocus: function () { return setFocused(true); }, onBlur: function () { return setFocused(false); }, value: value, placeholder: placeholder, style: {
paddingRight: type === "password" ? "50px" : "1rem",
paddingRight: type === "password" ? "50px" : "",
}, required: required })),

@@ -51,0 +51,0 @@ textarea && (react_1.default.createElement("textarea", { id: name, name: name, placeholder: placeholder, disabled: disabled, className: "".concat(error && "error", " ").concat(success && "success", " custom-scroll-bar ").concat(inputClass, " "), onChange: onChange, autoComplete: autoComplete, onFocus: function () { return setFocused(true); }, onBlur: function () { return setFocused(false); }, value: value, style: __assign({ paddingRight: "1rem" }, inputStyle), required: required })),

@@ -23,3 +23,3 @@ var __assign = (this && this.__assign) || function () {

!textarea && (React.createElement("input", { id: name, inputMode: inputMode !== null && inputMode !== void 0 ? inputMode : "text", type: type === "password" ? (isPassword ? "password" : "text") : type, name: name, disabled: disabled, className: "".concat(error && "error", " ").concat(success && "success", " ").concat(inputClass, " "), onChange: onChange, autoComplete: autoComplete, onFocus: function () { return setFocused(true); }, onBlur: function () { return setFocused(false); }, value: value, placeholder: placeholder, style: {
paddingRight: type === "password" ? "50px" : "1rem",
paddingRight: type === "password" ? "50px" : "",
}, required: required })),

@@ -26,0 +26,0 @@ textarea && (React.createElement("textarea", { id: name, name: name, placeholder: placeholder, disabled: disabled, className: "".concat(error && "error", " ").concat(success && "success", " custom-scroll-bar ").concat(inputClass, " "), onChange: onChange, autoComplete: autoComplete, onFocus: function () { return setFocused(true); }, onBlur: function () { return setFocused(false); }, value: value, style: __assign({ paddingRight: "1rem" }, inputStyle), required: required })),

{
"name": "@flexcodelabs/input",
"version": "0.1.1",
"version": "0.1.3",
"description": "",

@@ -29,6 +29,3 @@ "main": "./lib/cjs/index.js",

"/lib"
],
"dependencies": {
"jq": "^1.7.2"
}
]
}
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