text-fields
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -21,5 +21,4 @@ function $parcel$defineInteropFlag(a) { | ||
const notchedOutline = textField.parentElement.querySelector(".notched-outline"); | ||
if (notchedOutline) return; | ||
textField.parentElement.insertAdjacentHTML("afterbegin", $4fa36e821943b400$var$notched); | ||
textField.parentElement.querySelector(".notched-outline__notch").appendChild(label); | ||
if (!notchedOutline) textField.parentElement.insertAdjacentHTML("afterbegin", $4fa36e821943b400$var$notched); | ||
else notchedOutline.querySelector(".notched-outline__notch").appendChild(label); | ||
}; | ||
@@ -26,0 +25,0 @@ const $4fa36e821943b400$var$handleInput = (input, classList, label, style)=>{ |
@@ -11,5 +11,4 @@ const $cf838c15c8b009ba$var$notched = ` | ||
const notchedOutline = textField.parentElement.querySelector(".notched-outline"); | ||
if (notchedOutline) return; | ||
textField.parentElement.insertAdjacentHTML("afterbegin", $cf838c15c8b009ba$var$notched); | ||
textField.parentElement.querySelector(".notched-outline__notch").appendChild(label); | ||
if (!notchedOutline) textField.parentElement.insertAdjacentHTML("afterbegin", $cf838c15c8b009ba$var$notched); | ||
else notchedOutline.querySelector(".notched-outline__notch").appendChild(label); | ||
}; | ||
@@ -16,0 +15,0 @@ const $cf838c15c8b009ba$var$handleInput = (input, classList, label, style)=>{ |
{ | ||
"name": "text-fields", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "Input, textarea, material, vanilla", | ||
@@ -5,0 +5,0 @@ "author": "ux-ui.pro", |
@@ -13,9 +13,7 @@ const notched = ` | ||
if (notchedOutline) return | ||
textField.parentElement.insertAdjacentHTML('afterbegin', notched) | ||
textField.parentElement | ||
.querySelector('.notched-outline__notch') | ||
.appendChild(label) | ||
if (!notchedOutline) { | ||
textField.parentElement.insertAdjacentHTML('afterbegin', notched) | ||
} else { | ||
notchedOutline.querySelector('.notched-outline__notch').appendChild(label) | ||
} | ||
} | ||
@@ -22,0 +20,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
72214
323