text-fields
Advanced tools
Comparing version 1.0.6 to 1.1.0
@@ -0,1 +1,4 @@ | ||
function $parcel$defineInteropFlag(a) { | ||
Object.defineProperty(a, '__esModule', {value: true, configurable: true}); | ||
} | ||
function $parcel$export(e, n, v, s) { | ||
@@ -5,4 +8,5 @@ Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true}); | ||
$parcel$export(module.exports, "Input", () => $4fa36e821943b400$export$f5b8910cec6cf069); | ||
$parcel$export(module.exports, "Textarea", () => $4fa36e821943b400$export$379139ebc1c2b235); | ||
$parcel$defineInteropFlag(module.exports); | ||
$parcel$export(module.exports, "default", () => $4fa36e821943b400$export$2e2bcd8739ae039); | ||
const $4fa36e821943b400$var$notched = ` | ||
@@ -68,3 +72,3 @@ <div class="notched-outline"> | ||
}; | ||
const $4fa36e821943b400$export$f5b8910cec6cf069 = ()=>{ | ||
const $4fa36e821943b400$var$input = ()=>{ | ||
const inputs = document.querySelectorAll(".input input"); | ||
@@ -80,3 +84,3 @@ for (let input of inputs){ | ||
}; | ||
const $4fa36e821943b400$export$379139ebc1c2b235 = ()=>{ | ||
const $4fa36e821943b400$var$textarea = ()=>{ | ||
const textareas = document.querySelectorAll(".textarea textarea"); | ||
@@ -92,4 +96,8 @@ for (let textarea of textareas){ | ||
}; | ||
var $4fa36e821943b400$export$2e2bcd8739ae039 = { | ||
input: $4fa36e821943b400$var$input, | ||
textarea: $4fa36e821943b400$var$textarea | ||
}; | ||
//# sourceMappingURL=index.js.map |
@@ -61,3 +61,3 @@ const $cf838c15c8b009ba$var$notched = ` | ||
}; | ||
const $cf838c15c8b009ba$export$f5b8910cec6cf069 = ()=>{ | ||
const $cf838c15c8b009ba$var$input = ()=>{ | ||
const inputs = document.querySelectorAll(".input input"); | ||
@@ -73,3 +73,3 @@ for (let input of inputs){ | ||
}; | ||
const $cf838c15c8b009ba$export$379139ebc1c2b235 = ()=>{ | ||
const $cf838c15c8b009ba$var$textarea = ()=>{ | ||
const textareas = document.querySelectorAll(".textarea textarea"); | ||
@@ -85,5 +85,9 @@ for (let textarea of textareas){ | ||
}; | ||
var $cf838c15c8b009ba$export$2e2bcd8739ae039 = { | ||
input: $cf838c15c8b009ba$var$input, | ||
textarea: $cf838c15c8b009ba$var$textarea | ||
}; | ||
export {$cf838c15c8b009ba$export$f5b8910cec6cf069 as Input, $cf838c15c8b009ba$export$379139ebc1c2b235 as Textarea}; | ||
export {$cf838c15c8b009ba$export$2e2bcd8739ae039 as default}; | ||
//# sourceMappingURL=index.module.js.map |
{ | ||
"name": "text-fields", | ||
"version": "1.0.6", | ||
"version": "1.1.0", | ||
"description": "Input, textarea, material, vanilla", | ||
@@ -5,0 +5,0 @@ "author": "ux-ui.pro", |
@@ -28,4 +28,8 @@ <div align="center"> | ||
```javascript | ||
import { Input, Textarea } from 'text-fields' | ||
import TextFields from 'text-fields' | ||
``` | ||
```javascript | ||
TextFields.input() | ||
TextFields.textarea() | ||
``` | ||
<br> | ||
@@ -32,0 +36,0 @@ |
@@ -94,3 +94,3 @@ const notched = ` | ||
const Input = () => { | ||
const input = () => { | ||
const inputs = document.querySelectorAll('.input input') | ||
@@ -110,3 +110,3 @@ | ||
const Textarea = () => { | ||
const textarea = () => { | ||
const textareas = document.querySelectorAll('.textarea textarea') | ||
@@ -126,5 +126,5 @@ | ||
export { | ||
Input, | ||
Textarea | ||
export default { | ||
input, | ||
textarea | ||
} |
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
71600
319
49