Socket
Socket
Sign inDemoInstall

text-fields

Package Overview
Dependencies
0
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.5 to 1.0.6

4

dist/index.js

@@ -20,3 +20,3 @@ function $parcel$export(e, n, v, s) {

const $4fa36e821943b400$var$handleInput = (input, classList, label, style)=>{
if (input && classList && label && style) {
if (input && label) {
if (input.disabled) classList.add("input--disabled");

@@ -42,3 +42,3 @@ if (input.required) label.classList.add("floating-label--required");

const $4fa36e821943b400$var$handleTextarea = (textarea, classList, label, style)=>{
if (textarea && classList && label && style) {
if (textarea && label) {
if (textarea.disabled) classList.add("textarea--disabled");

@@ -45,0 +45,0 @@ if (textarea.required) label.classList.add("floating-label--required");

@@ -14,3 +14,3 @@ const $cf838c15c8b009ba$var$notched = `

const $cf838c15c8b009ba$var$handleInput = (input, classList, label, style)=>{
if (input && classList && label && style) {
if (input && label) {
if (input.disabled) classList.add("input--disabled");

@@ -36,3 +36,3 @@ if (input.required) label.classList.add("floating-label--required");

const $cf838c15c8b009ba$var$handleTextarea = (textarea, classList, label, style)=>{
if (textarea && classList && label && style) {
if (textarea && label) {
if (textarea.disabled) classList.add("textarea--disabled");

@@ -39,0 +39,0 @@ if (textarea.required) label.classList.add("floating-label--required");

{
"name": "text-fields",
"version": "1.0.5",
"version": "1.0.6",
"description": "Input, textarea, material, vanilla",

@@ -5,0 +5,0 @@ "author": "ux-ui.pro",

@@ -39,3 +39,3 @@ <div align="center">

```CSS
@import "../../node_modules/text-fields/dist/index.css";
@import "./node_modules/text-fields/dist/index.css";
```

@@ -42,0 +42,0 @@ <br>

@@ -20,3 +20,3 @@ const notched = `

const handleInput = (input, classList, label, style) => {
if (input && classList && label && style) {
if (input && label) {
if (input.disabled) {

@@ -55,3 +55,3 @@ classList.add('input--disabled')

const handleTextarea = (textarea, classList, label, style) => {
if (textarea && classList && label && style) {
if (textarea && label) {
if (textarea.disabled) {

@@ -58,0 +58,0 @@ classList.add('textarea--disabled')

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc