{"_id":"custom-select","_rev":"22-e349bc0bdb776c7dd103a08403b689d9","name":"custom-select","description":"A lightweight JavaScript library for custom HTML <select> creation and managing. No dependencies needed.","dist-tags":{"latest":"1.1.15"},"versions":{"0.0.6":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"0.0.6","main":"build","repository":{"type":"git","url":"https://github.com/gionatan-lombardi/custom-select.git"},"bugs":{"url":"https://github.com/gionatan-lombardi/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/index.min.js -t [ babelify ] -p [minifyify --no-map] && browserify examples/src/base.js -o examples/build/base.js -t [ babelify ]","prepublish":"npm run clean && npm run test && npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2"},"dependencies":{"browserify":"^13.0.1","tape":"^4.5.1","tape-run":"^2.1.4"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"4879727913666cac5b589716e4e48b966c43d59a","homepage":"https://github.com/gionatan-lombardi/custom-select","_id":"custom-select@0.0.6","_shasum":"61a9d0ecdbcd5259051f62242f9984a9511a0bd0","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"shasum":"61a9d0ecdbcd5259051f62242f9984a9511a0bd0","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-0.0.6.tgz","integrity":"sha512-vjYKrX6uPpl85pZp2gzKpBL7RzWoMKVBZTYH+oFyEksC9tPkH7UAm5teWegszSh2SKI13RvM8z2AIDIsZ/G2nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTTBbTYwkKhw7eJl4WhOpXyLDs0rRKDuPvDhzbpIw3hwIhANqcPscPQSIZZJJ0rjemRqvxi6I8FrxA6uCNjpDnQQAz"}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/custom-select-0.0.6.tgz_1472745534888_0.17437706049531698"},"directories":{}},"0.0.7":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"0.0.7","main":"build","repository":{"type":"git","url":"https://github.com/gionatan-lombardi/custom-select.git"},"bugs":{"url":"https://github.com/gionatan-lombardi/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/index.min.js -t [ babelify ] -p [minifyify --no-map] && browserify examples/src/base.js -o examples/build/base.js -t [ babelify ]","prepublish":"npm run clean && npm run test && npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2"},"dependencies":{"browserify":"^13.0.1","tape":"^4.5.1","tape-run":"^2.1.4"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"6a2df951035879ce6bb87183e99305a5b7e77141","homepage":"https://github.com/gionatan-lombardi/custom-select","_id":"custom-select@0.0.7","_shasum":"b1e1b3b19a74b2736f548f5e821b7741fecb829e","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"shasum":"b1e1b3b19a74b2736f548f5e821b7741fecb829e","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-0.0.7.tgz","integrity":"sha512-wDmXvfNfq9P3cRUlpX58IiuXZ37USqKEHauFDGew+rczrDwLu/x72fsEzmywf2Pae4VMbP5vbXq9Jup5qxN3Xg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHAiqAZaurtYeEtmkTqrkrcqWTiWrp3Mb7KAzcGxEk0EAiEAtWJxuyJJL0ZfA9iiByYG1CCVIRyvrtO56aRwmM/mbhk="}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/custom-select-0.0.7.tgz_1472748840475_0.9230795807670802"},"directories":{}},"0.0.8":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"0.0.8","main":"build","repository":{"type":"git","url":"git+https://github.com/gionatan-lombardi/custom-select.git"},"bugs":{"url":"https://github.com/gionatan-lombardi/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/index.min.js -t [ babelify ] -p [minifyify --no-map] && browserify examples/src/base.js -o examples/build/base.js -t [ babelify ]","prepublish":"npm run clean && npm run test && npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2"},"dependencies":{"browserify":"^13.0.1","tape":"^4.5.1","tape-run":"^2.1.4","custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"51c29a7ff45a37e4b3bffe85da00040a8f56c0f3","homepage":"https://github.com/gionatan-lombardi/custom-select#readme","_id":"custom-select@0.0.8","_shasum":"2416fe7cbc241b98fc21c8c8928ad77d29a7e9c9","_from":".","_npmVersion":"3.10.6","_nodeVersion":"4.5.0","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"shasum":"2416fe7cbc241b98fc21c8c8928ad77d29a7e9c9","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-0.0.8.tgz","integrity":"sha512-mVYmbilwK0CpWtS6gGAT+1AJy4wVzVBCjsLldZQKEseTew+f6ZFHLS5uZYsqUONwc+mTQ+tx2oJd6JK6skV8Lw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCcHjzK4THCmVOChe71KgqkVjLWvHRPOw3FKrBQDL6aUQIgCEGNVyLBhG1FmlZYYibyF3k0E1yFpWRmnlqxEeRB0iU="}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/custom-select-0.0.8.tgz_1473175466818_0.25299172941595316"},"directories":{}},"0.0.9":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"0.0.9","main":"build","repository":{"type":"git","url":"git+https://github.com/gionatan-lombardi/custom-select.git"},"bugs":{"url":"https://github.com/gionatan-lombardi/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/index.min.js -t [ babelify ] -p [minifyify --no-map] && browserify examples/src/base.js -o examples/build/base.js -t [ babelify ]","prepublish":"npm run clean && npm run test && npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2"},"dependencies":{"browserify":"^13.0.1","tape":"^4.5.1","tape-run":"^2.1.4","custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"d8b8b6a9be60e8debbc6a34da314b09f2c341c2d","homepage":"https://github.com/gionatan-lombardi/custom-select#readme","_id":"custom-select@0.0.9","_shasum":"87308e738a6dc4e2c1b60ea89c68d66d6ebf6c6a","_from":".","_npmVersion":"3.10.6","_nodeVersion":"4.5.0","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"shasum":"87308e738a6dc4e2c1b60ea89c68d66d6ebf6c6a","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-0.0.9.tgz","integrity":"sha512-jaPjWZ/llYpll9oLmiceX0W+PKaVol9zOTbavkjDtPFZn+5sZdb/qXYvbkvNt/fW2QXb1fHQufS8xRHzxQhq/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvhiCRpFyRF2NStBJlJPmY/P0sWoMEUz5q2PlWW3PLpAiBT02/k8P2WXoyFS7uk9zAj5Qy8OED/P6DryXxlCqU0Zw=="}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/custom-select-0.0.9.tgz_1473243171012_0.8308920031413436"},"directories":{}},"0.0.10":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"0.0.10","main":"build","repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/index.min.js -t [ babelify ] -p [minifyify --no-map] && browserify examples/src/base.js -o examples/build/base.js -t [ babelify ]","prepublish":"npm run clean && npm run test && npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2"},"dependencies":{"browserify":"^13.0.1","tape":"^4.5.1","tape-run":"^2.1.4","custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"981fe7c8fabae51446375e39305c797803a2aa2c","homepage":"https://github.com/custom-select/custom-select#readme","_id":"custom-select@0.0.10","_shasum":"1e2b1955899564af60de33c46c98b437e3bc162b","_from":".","_npmVersion":"3.10.6","_nodeVersion":"4.5.0","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"shasum":"1e2b1955899564af60de33c46c98b437e3bc162b","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-0.0.10.tgz","integrity":"sha512-HePJUD0jV5y5eC8xBBLZ3WhfmZHLlydtqa7DZust9gi3ocvumDJCq1MlCkgy0ll5CTPsbmPHn/zb0E8gb0W8pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDsTWfAoAW7bUKLw3gXtq4zwBBlIgkwquUe+7qS/mhmHAIgSnWuYT4zvgPvvZlWovdHdUI6eeF8cP+csxLiNw2/abA="}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/custom-select-0.0.10.tgz_1473257003270_0.2376073149498552"},"directories":{}},"0.14.0":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"0.14.0","main":"build","repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build && cpx src/css/custom-select.css build/","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/custom-select.min.js -t [ babelify ] -p [minifyify --no-map] && browserify src/jquery-adaptor.js -o build/jquery.custom-select.min.js -t [ babelify ] -p [minifyify --no-map]","prepublish":"npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cpx":"^1.5.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2","tape":"^4.5.1","tape-run":"^2.1.4"},"dependencies":{"browserify":"^13.0.1","custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"05eef7f6336cbb88cacc883eaf76c9752c1f3c06","homepage":"https://github.com/custom-select/custom-select#readme","_id":"custom-select@0.14.0","_shasum":"fecf61472e95562fb3ae46c58b75ae7243b7538c","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"shasum":"fecf61472e95562fb3ae46c58b75ae7243b7538c","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-0.14.0.tgz","integrity":"sha512-rDx4uWaqWXKRuDRAU9y+XmrjrwZFrCl7cU/YiVB0k4UI8DOsnA41cYTCNXUX1e6EaBROD4Fk8Z5yztvRRxwzPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpfI2d7Fna5tkwuOIJ6yS2NfIqOjrWqYbPj+xXO3k9pAIgEx1MQZpfwF9aXsJ7/ISalHdo+Gku6IaA+wykXhBOgKA="}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},{"name":"marconucara","email":"marco.nucara@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/custom-select-0.14.0.tgz_1473759249707_0.30566496099345386"},"directories":{}},"0.15.0":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"0.15.0","main":"build","repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build && cpx src/css/custom-select.css build/","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/custom-select.min.js -t [ babelify ] -p [minifyify --no-map] && browserify src/jquery-adaptor.js -o build/jquery.custom-select.min.js -t [ babelify ] -p [minifyify --no-map]","prepublish":"npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cpx":"^1.5.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2","tape":"^4.5.1","tape-run":"^2.1.4"},"dependencies":{"browserify":"^13.0.1","custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"60709376d3dc42d8d8c76919dc8f139e3a3f18f2","homepage":"https://github.com/custom-select/custom-select#readme","_id":"custom-select@0.15.0","_shasum":"bb8b7fb0b76934e4045e859dc7504efdb826b7d8","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"shasum":"bb8b7fb0b76934e4045e859dc7504efdb826b7d8","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-0.15.0.tgz","integrity":"sha512-GErrO2t+vexbsPmrZ3xecgJ2OLdgoTIZhjFlTw330DaEYhQi35OuTWk4rpE/His3dd8FEJ9bu09w9UoJerC/Iw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZ/z+LKHNVCDve/tC67ZCZL59/UVoJchVyOS/ZyCqJxQIgUCCufOyLUYUSY3P76/jwf4k7xHfPlPreEt9Bca5lVjI="}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},{"name":"marconucara","email":"marco.nucara@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/custom-select-0.15.0.tgz_1473760482062_0.4283517128787935"},"directories":{}},"1.0.0":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"1.0.0","main":"build","repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build && cpx src/css/custom-select.css build/","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/custom-select.min.js -t [ babelify ] -p [minifyify --no-map] && browserify src/jquery-adaptor.js -o build/jquery.custom-select.min.js -t [ babelify ] -p [minifyify --no-map]","prepublish":"npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cpx":"^1.5.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2","tape":"^4.5.1","tape-run":"^2.1.4"},"dependencies":{"browserify":"^13.0.1","custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"e35b13e8aa83ce8a4d215600611f196947c706e0","homepage":"https://github.com/custom-select/custom-select#readme","_id":"custom-select@1.0.0","_shasum":"58cd90de8668492b421064c79d7f993f29e551b1","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"shasum":"58cd90de8668492b421064c79d7f993f29e551b1","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-1.0.0.tgz","integrity":"sha512-GkQhSDYi/pMa6EYxldETXhfxRqYCT0DyOrGTB4/LxmMWcMlJpnVRdE7N94m5IVPWeBB2a+uQTTCxetiTEwvrvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCr0M7snS1xSnOsx6yIzFpbMFn8HTvF2mqakY9/19AsMQIhAJPPy3AIP5/ziknX2iTOWZjuUhYWTMW56X1WfQf6vhHE"}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},{"name":"marconucara","email":"marco.nucara@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/custom-select-1.0.0.tgz_1473763847036_0.45234283874742687"},"directories":{}},"1.0.1":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"1.0.1","main":"build","repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build && cpx src/css/custom-select.css build/","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/custom-select.min.js -t [ babelify ] -p [minifyify --no-map] && browserify src/jquery-adaptor.js -o build/jquery.custom-select.min.js -t [ babelify ] -p [minifyify --no-map]","prepublish":"npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cpx":"^1.5.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2","tape":"^4.5.1","tape-run":"^2.1.4"},"dependencies":{"browserify":"^13.0.1","custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"c6945b16ea96a221806be482adeb0334290a1390","homepage":"https://github.com/custom-select/custom-select#readme","_id":"custom-select@1.0.1","_shasum":"5083f11aa2ac590c7cfb53024de68f97b31314bf","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"shasum":"5083f11aa2ac590c7cfb53024de68f97b31314bf","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-1.0.1.tgz","integrity":"sha512-1gHZx3YV6X5ANfQzMr5RGxoVi4T3+87myp3WwDuuSEq9zr4ZgOUAlYBvwuZjzKLTkdvjczGUBsnCWDNbvqFlbQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoxoK7EX0J+aDgjTbTzkYaIRTcxln1AsPRKYwmUTB3WAIhAJKtpXyYnl+YKLQFNg2sIhLC6solG/c6pomDOB4fCUGY"}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},{"name":"marconucara","email":"marco.nucara@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/custom-select-1.0.1.tgz_1473837976121_0.8945669687818736"},"directories":{}},"1.1.0":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"1.1.0","main":"build","repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build && cpx src/css/custom-select.css build/","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/custom-select.min.js -t [ babelify ] -p [minifyify --no-map] && browserify src/jquery-adaptor.js -o build/jquery.custom-select.min.js -t [ babelify ] -p [minifyify --no-map]","prepublish":"npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cpx":"^1.5.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2","tape":"^4.5.1","tape-run":"^2.1.4"},"dependencies":{"browserify":"^13.0.1","custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"8ccbb0db9e67f4d3d6fd9cd7c49e3d6969da5490","homepage":"https://github.com/custom-select/custom-select#readme","_id":"custom-select@1.1.0","_shasum":"244917633065e6d38caae7334c55b850b192e845","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.5.0","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"shasum":"244917633065e6d38caae7334c55b850b192e845","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-1.1.0.tgz","integrity":"sha512-WmVFttuC9aTUUXv5tyWxXs7dNkKdxJchCtFv7yD9XPR7IZ3P5oYEBZQrPiaRGF0pKUdL8MJ/LAPwf+4JNzeOhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAV5Dj4j02BYRVdgVz/R+it10bwTvUJUymorla3GbxFkAiEA2URCFm9f/svRdkekJS/YuiM1dvzF0ktqFojGgTUQWzw="}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},{"name":"marconucara","email":"marco.nucara@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/custom-select-1.1.0.tgz_1473932591504_0.3488362899515778"},"directories":{}},"1.1.1":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"1.1.1","main":"build","repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build && cpx src/css/custom-select.css build/","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/custom-select.min.js -t [ babelify ] -p [minifyify --no-map] && browserify src/jquery-adaptor.js -o build/jquery.custom-select.min.js -t [ babelify ] -p [minifyify --no-map]","prepublish":"npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cpx":"^1.5.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2","tape":"^4.5.1","tape-run":"^2.1.4"},"dependencies":{"browserify":"^13.0.1","custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"db13d79033e20c4101a548c4ecc5273c2a587293","homepage":"https://github.com/custom-select/custom-select#readme","_id":"custom-select@1.1.1","_npmVersion":"5.2.0","_nodeVersion":"6.10.2","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"integrity":"sha512-2K1BT85DFhA5IdPBhTrT2d3cnt9cZfiqY0qUQix5oYZKeOPiWbAnBZATUeXHy+oluu5IMXWB6vFH4cik7of+QA==","shasum":"031ccef7f26cf9d0777af90653f964dcfe962271","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-1.1.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDbnP2n2zpRw1TYVQtAHMMGa9nPHuliNuvqbSWN+pmZJQIgHIBXoFoRoL+sGGz9aTkpMYXlCsuMdECUjMUOA2QKNcM="}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},{"name":"marconucara","email":"marco.nucara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-select-1.1.1.tgz_1499769961028_0.5893890061415732"},"deprecated":"dependency bug fixed in v1.1.2","directories":{}},"1.1.2":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"1.1.2","main":"build","repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build && cpx src/css/custom-select.css build/","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/custom-select.min.js -t [ babelify ] -p [minifyify --no-map] && browserify src/jquery-adaptor.js -o build/jquery.custom-select.min.js -t [ babelify ] -p [minifyify --no-map]","prepublish":"npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.10.1","babel-eslint":"^6.1.2","babel-plugin-transform-object-assign":"^6.8.0","babel-preset-es2015":"^6.9.0","babel-register":"^6.9.0","babelify":"^7.3.0","cpx":"^1.5.0","cross-env":"^1.0.8","eslint":"^3.4.0","eslint-config-airbnb":"^10.0.1","eslint-plugin-import":"^1.14.0","eslint-plugin-jsx-a11y":"^2.2.0","eslint-plugin-react":"^6.2.0","minifyify":"^7.3.3","rimraf":"^2.5.2","tape":"^4.5.1","tape-run":"^3.0.0"},"dependencies":{"browserify":"^13.0.1","custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"13ec5e30a0b7c393be95a26715e76d9d79e0cf58","homepage":"https://github.com/custom-select/custom-select#readme","_id":"custom-select@1.1.2","_npmVersion":"5.2.0","_nodeVersion":"6.10.2","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"integrity":"sha512-FoyPVRWT2GheVKNokLawsEP1tg7DJlR0m+kEYNdf9ixMWomV0av1S25TuaYlPeYxTbRzGyNOGCrtaiCfreyg8Q==","shasum":"cba6caa1988402fcb98fba8ffd0d9f9657b42d8d","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-1.1.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNpARppc7fKcSKOfNK76LsDxqjmWJ000I6Xk9GvIG8ZAIgLb8jXMq3ggJ9+FMOE6AhTMSrJu/pqmGFWQF7aT4stiM="}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},{"name":"marconucara","email":"marco.nucara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-select-1.1.2.tgz_1499777701813_0.039085608907043934"},"directories":{}},"1.1.14":{"name":"custom-select","description":"A lightweight JS script for custom select creation.","version":"1.1.14","main":"build","repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build && cpx src/css/custom-select.css build/","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/custom-select.min.js -t [ babelify ] -p [minifyify --no-map] && browserify src/jquery-adaptor.js -o build/jquery.custom-select.min.js -t [ babelify ] -p [minifyify --no-map]","prepublish":"npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.26.0","babel-eslint":"^8.0.2","babel-plugin-transform-object-assign":"^6.22.0","babel-preset-es2015":"^6.24.1","babel-register":"^6.26.0","babelify":"^8.0.0","browserify":"^14.5.0","cpx":"^1.5.0","cross-env":"^5.1.1","eslint":"^4.11.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-react":"^7.5.1","minifyify":"^7.3.5","rimraf":"^2.6.2","tape":"^4.8.0","tape-run":"^3.0.0"},"dependencies":{"custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"13dcb9cda73403220f86286315e8e0571b98d964","homepage":"https://github.com/custom-select/custom-select#readme","_id":"custom-select@1.1.14","_npmVersion":"5.2.0","_nodeVersion":"6.10.2","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"integrity":"sha512-LNVYckBStyun/paG+GHyNzxJS8pYdTZGwxp+i+5ky01BZ2McMqg8pBctZ8fFAbfR/0QwtnNeeiuuu4v6hK4/Uw==","shasum":"1def753b5f3f9f4abd19ea3bc99f92ac3f3e46ec","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-1.1.14.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVgHkQzEl1d64v5zbzia0H+JrC69/RguLaQZqIFuQ4XgIgDAYtXC7OkkIlE3musZL5WUNmFPI6LjXDbTAwG5zdeVY="}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},{"name":"marconucara","email":"marco.nucara@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-select-1.1.14.tgz_1511356303955_0.926720840157941"},"directories":{}},"1.1.15":{"name":"custom-select","description":"A lightweight JavaScript library for custom HTML <select> creation and managing. No dependencies needed.","version":"1.1.15","main":"build","repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"scripts":{"clean":"rimraf build && mkdir build && rimraf examples/build && mkdir examples/build && cpx src/css/custom-select.css build/","test":"cross-env NODE_PATH=src browserify -t babelify src/test/index.js | tape-run","prebuild":"npm run clean","build":"babel src/index.js -s -o build/index.js && browserify src/global.js -o build/custom-select.min.js -t [ babelify ] -p [minifyify --no-map] && browserify src/jquery-adaptor.js -o build/jquery.custom-select.min.js -t [ babelify ] -p [minifyify --no-map]","prepublish":"npm run build"},"keywords":["select","custom select","html select"],"devDependencies":{"babel-cli":"^6.26.0","babel-eslint":"^8.0.2","babel-plugin-transform-object-assign":"^6.22.0","babel-preset-es2015":"^6.24.1","babel-register":"^6.26.0","babelify":"^8.0.0","browserify":"^14.5.0","cpx":"^1.5.0","cross-env":"^5.1.1","eslint":"^4.11.0","eslint-config-airbnb":"^16.1.0","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.2","eslint-plugin-react":"^7.5.1","minifyify":"^7.3.5","rimraf":"^2.6.2","tape":"^4.8.0","tape-run":"^3.0.0"},"dependencies":{"custom-event-polyfill":"^0.3.0"},"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"license":"MIT","gitHead":"2b5b2b022b3cab9f058b74f26479aeff11ea9ce2","homepage":"https://github.com/custom-select/custom-select#readme","_id":"custom-select@1.1.15","_npmVersion":"5.2.0","_nodeVersion":"6.10.2","_npmUser":{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},"dist":{"integrity":"sha512-hkxx4atVZ6sj0auhgtPPHa8tKuGGkhwrgBZatxOMSLUAVbljQklMzPAqs/H+t8SYPHRL2AFwUJuRiKtq4MltSA==","shasum":"4f342a405afa00c043afd753f0a578b2862d0b91","tarball":"https://registry.npmjs.org/custom-select/-/custom-select-1.1.15.tgz","fileCount":56,"unpackedSize":188559,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVniKHauOl0vq3Doee3XvNuF9Jf+g2xhzXK6RooqtQiwIhANiXOZf/K95PQUuomnpkAgRJQZdQcaw58Wxf09TA0LNs"}]},"maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},{"name":"marconucara","email":"marco.nucara@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/custom-select_1.1.15_1521819903569_0.5494300184107133"},"_hasShrinkwrap":false}},"readme":"# custom-select\nA lightweight JavaScript library for custom HTML `<select>` creation and managing.\nNo dependencies needed.\n\n[![Build Status](https://travis-ci.org/custom-select/custom-select.svg?branch=master)](https://travis-ci.org/custom-select/custom-select)\n\n## Demos\n[Base](https://codesandbox.io/embed/qqpnn467qw)  \n[Bootstrap](https://codesandbox.io/embed/l3rxlj8qql)  \n[Control buttons](https://codesandbox.io/embed/w7qq4l6zxk)  \n[GSAP](https://codesandbox.io/embed/q3r133wmq6)  \n[jQuery](https://codesandbox.io/embed/50qpv6z9q4)  \n[Mobile Touch Devices](https://codesandbox.io/embed/lp0k307qxz)  \n\n## Install\n\n\nInstall with npm (recommended)\n```\n$ npm install --save custom-select\n```\nOr download the minified build file [here](https://github.com/custom-select/custom-select/releases/latest).\n(jquery version is alternative, not needed!)\n\n## Use\n\nWith ES6 modules via the `import` statement:\n```js\nimport customSelect from 'custom-select';\n```\nIn CommonJs environments with the `require` function:\n```js\nvar customSelect = require(\"custom-select\").default;\n```\n**Note**: the `require().default` is necessary due to the babelify export system.  \n  \nIn HTML with the `script` tag:\n```html\n<script src=\"index.min.js\" type=\"text/javascript\"></script>\n```\n\n## How it works\nStart with a simple HTML `<select>`:\n```html\n<select id=\"mySelect\">\n  <option value>Select...</option>\n  <option value=\"foo\">Foo</option>\n  <option value=\"buz\">Buz</option>\n</select>\n```\n```js\ncustomSelect('select');\n```\nYou can nest the select in their `label` or you can use the `for` attribute on the label.\nNested will work fine but it's formally wrong due to [label element specification](https://www.w3.org/TR/html5/forms.html#the-label-element): only a `select` element can be nested in a `label` tag.\n\nHere's the HTML result:\n```html\n<div class=\"custom-select-container customSelect\">\n  <span class=\"custom-select-opener\" tabindex=\"0\">\n    <span>Select...</span>\n  </span>\n  <select id=\"mySelect1\">\n    <option value>Select...</option>\n    <option value=\"foo\">Foo</option>\n    <option value=\"buz\">Buz</option>\n  </select>\n  <div class=\"custom-select-panel\">\n    <div class=\"custom-select-option is-selected has-focus\" data-value=\"\">Select...</div>\n    <div class=\"custom-select-option\" data-value=\"foo\">Foo</div>\n    <div class=\"custom-select-option\" data-value=\"buz\">Buz</div>\n  </div>\n</div>\n```\n\nAlso [state classes](#state-classes) will be added and removed while plugin working.\n\nYou can use default css included in plugin [release](https://github.com/custom-select/custom-select/releases/latest) or style it by yourself.\nYou can also use advanced techniques for using native select on Mobile/touch devices. Check the examples for inspirations.\n\n## Plugin init\n```js\nArray customSelect(elements[, pluginOptions]);\n```\n\nThe *elements* parameter could be:\n\nA DOMString selectors:\n```js\ncustomSelect('.myForm .mySelect');\n```\n\nA instance of HTMLElement, tag SELECT:\n```js\ncustomSelect(document.getElementById('mySelect'));\n```\n\nA list (NodeList, HTMLCollection, Array, etc) of instances of HTMLElement, tag SELECT:\n```js\ncustomSelect(document.querySelector('.mySelect'));\n//or\ncustomSelect(document.getElementsByClassName('mySelect'));\n```\n\n\nThe *pluginOptions* parameter is an object that overwrites some default plugin configurations.\n\nThe default config is:\n```js\n{\n  containerClass: 'custom-select-container',\n  openerClass: 'custom-select-opener',\n  panelClass: 'custom-select-panel',\n  optionClass: 'custom-select-option',\n  optgroupClass: 'custom-select-optgroup',\n  isSelectedClass: 'is-selected',\n  hasFocusClass: 'has-focus',\n  isDisabledClass: 'is-disabled',\n  isOpenClass: 'is-open'\n}\n```\n\nThe return is an Array of customSelect [instances](#how-to-get-plugin-instance), that contains all the public exposed [methods and properties](#methods--properties).\n\n## Style Classes\nAll css classes can be configured using *pluginOptions*, except container secondary class `customSelect` which is only for internal use and should not be removed or used for styling purpose.\n\n### Structure Classes\n\nSelf explained structure classes, and relative may-have status classes:\n\n`containerClass: 'custom-select-container'` may have `isDisabledClass`, `isOpenClass`\n\n`openerClass: 'custom-select-opener'`\n\n`panelClass: 'custom-select-panel'`\n\n`optionClass: 'custom-select-option'` may have `isSelectedClass`, `hasFocusClass`\n\n`optgroupClass: 'custom-select-optgroup'`\n\n### State Classes\n\n`isSelectedClass: 'is-selected'` - when the custom option is selected (as native selected attribute).\n\n`hasFocusClass: 'has-focus'` - when the custom option has current focus (mouseover, arrow navigation and keyboard autocomplete changes the focus).\n\n`isDisabledClass: 'is-disabled'` - when the select is disabled.\n\n`isOpenClass: 'is-open'` - when the panel is open.\n\n## How to get Plugin instance\n\nInit return\n```js\nconst cstSel = customSelect('select')[0]; // return is an array of instances!\nconsole.log(cstSel.open); // true|false\n```\nThe DOM select\n```js\ncustomSelect('select');\nconst cstSel =  document.querySelector('select').customSelect\nconsole.log(cstSel.open); // true|false\n```\nThe DOM select container\n```js\ncustomSelect('select');\nconst cstSel =  document.querySelector('.customSelect').customSelect\nconsole.log(cstSel.open); // true|false\n```\n\n## Methods & Properties\n\n### pluginOptions `property [readonly]`\nGet the plugin options.\n```js\ncstSel.pluginOptions;\n```\n\n### open `property`\nGet/set property.\n```js\ncstSel.open = true; // open the custom select\nconsole.log(cstSel.open); // true\ncstSel.open = false; // close the custom select\nconsole.log(cstSel.open); // false\n```\n\n### disabled `property`\nGet/set property.\n```js\ncstSel.disabled = true; // disable the custom select\nconsole.log(cstSel.disabled); // true\ncstSel.disabled = false; // enable the custom select\nconsole.log(cstSel.disabled); // false\n```\n\n### value `property`\nGet/set property.  \nChange both the native select and the custom select. Use it just like nativeSelect.value\n```js\ncstSel.value = 'foo'; // the first option with that value will be selected. If there is no option with that value the first one'll be selected.\nconsole.log(cstSel.value); // return foo if there was an option with 'foo' value\n```\n\n### append(elements[, target]) `method`\nAppend an option or an optgroup to the select.\n```js\nconst option = document.createElement('option');\noption.text = 'Foo';\noption.value = 'bar';\ncstSel.append(option);\n```\n\nThe *elements* parameter could be:\n\nAn instance of HTMLElement, tag OPTION:\n```js\nconst toBeAppend = document.createElement('option');\n```\nAn instance of HTMLElement, tag OPTGROUP:\n```js\nconst toBeAppend = document.createElement('optgroup');\n```\nA list (NodeList, HTMLCollection, Array, etc) of instance of HTMLElement, tag OPTION/OPTGROUP:\n```js\nconst toBeAppend = cstSel.empty();\n```\n\nThe *target* parameter must be the `select` **(default)** or an optgroup that is already inside the select.\n\n### insertBefore(elements, target) `method`\ninsert an option or an optgroup before the specified target.\n```js\nconst option = document.createElement('option');\noption.text = 'Foo';\noption.value = 'foo';\nconst target = cstSel.select.options[2];\ncstSel.insertBefore(option, target);\n```\n\nThe *elements* parameter could be:\n\nAn instance of HTMLElement, tag OPTION:\n```js\nconst toBeAppend = document.createElement('option');\n```\nAn instance of HTMLElement, tag OPTGROUP:\n```js\nconst toBeAppend = document.createElement('optgroup');\n```\nA list (NodeList, HTMLCollection, Array, etc) of instance of HTMLElement, tag OPTION/OPTGROUP:\n```js\nconst toBeAppend = cstSel.empty();\n```\n\nThe *target* parameter must be an `option` or an `optgroup` that is already inside the select.\n\n### remove(node) `method`\nremove an option or an optgroup\n```js\ncstSel.remove(cstSel.select.options[1]);\n```\n\n### empty() `method`\nempty the select\n```js\ncstSel.empty();\n```\n\n### destroy() `method`\ndestroy the plugin, removing custom markup, classes, and listeners.\n```js\ncstSel.destroy();\n```\n\n### opener `property [readonly]`\nDOM Element\n\n### select `property [readonly]`\nDOM Element\n\n### panel `property [readonly]`\nDOM Element\n\n### container `property [readonly]`\nDOM Element\n\n\n## Events\n\n### custom-select:open\nOnly on `container`.\n```js\ncstSel.container.addEventListener('custom-select:open',\n  (e) => { console.log(`${e.target} is open 😊`)});\n```\n\n### custom-select:close\nOnly on `container`.\n```js\ncstSel.container.addEventListener('custom-select:close',\n  (e) => { console.log(`${e.target} is closed 😔`)});\n```\n\n### custom-select:disabled\nOnly on `container`.\n```js\ncstSel.container.addEventListener('custom-select:disabled',\n  (e) => { console.log(`${e.target} is disabled 👋`)});\n```\n\n### custom-select:enabled\nOnly on `container`.\n```js\ncstSel.container.addEventListener('custom-select:enabled',\n  (e) => { console.log(`${e.target} is enabled 👏`)});\n```\n\n### custom-select:focus-outside-panel\nFired on custom option, recommended listener on `panel`.  \n\nThis `CustomEvent` fires when the focused option moves outside the visible part of the `panel`.  \nIt bubbles, so the listener can be placed on every ancestor of the custom options.  \nThis event is useful for custom animations on select's autocomplete-search, when the focus moves to the found option.\nBy default there's no animation but a simply `scrollTop` change of the `panel`.  \nYou can overwrite this behaviour by simply adding an `EventListener`, with `useCapture` argument set to `true` and an `e.stopPropagation()` statement inside you listener's callback-function.\n```js\n// Example with jQuery animate\ncstSel.panel.addEventListener('custom-select:focus-outside-panel',\n  (e) => {\n    e.stopPropagation();\n    $(cstSel.panel).animate({\n      scrollTop: e.target.offsetTop,\n    }, 300)\n  }, true);\n```\n\n### change\nOnly on `select`.\n```js\ncstSel.select.addEventListener('change',\n  (e) => { console.log(`${e.target} has changed it's value 👌`)});\n```\n\n## jQuery adaptor\nIf you really can't live without jQuery, an adaptor was made for you 😩: [download jQuery version here](https://github.com/custom-select/custom-select/releases/latest).\n\n### jQuery init\n```js\n$('#mySelect').customSelect();\n```\n\n### jQuery property set\n```js\n$('#mySelect').customSelect('open', true);\n```\n\n### jQuery property get\n```js\n$('#mySelect').customSelect('open');\n```\n\n### jQuery methods\n```js\n$('#mySelect').customSelect('remove', $('#mySelect')[0].options[1]);\n```\n\n## That's all folks!\n**And now have fun ✌**\n\n## Browser support\nOh wait, I was almost forgetting:\n* Chrome\n* Safari 7.0\n* Firefox 10 (maybe also older, but come on...)\n* Android 4.0\n* Mobile Safari 6.0\n* Internet Explorer 10\n","maintainers":[{"name":"gionatan-lombardi","email":"gionatan.lombardi@gmail.com"},{"name":"marconucara","email":"marco.nucara@gmail.com"}],"time":{"modified":"2022-06-14T06:18:23.502Z","created":"2016-09-01T15:58:56.962Z","0.0.6":"2016-09-01T15:58:56.962Z","0.0.7":"2016-09-01T16:54:02.261Z","0.0.8":"2016-09-06T15:24:27.732Z","0.0.9":"2016-09-07T10:12:52.807Z","0.0.10":"2016-09-07T14:03:24.496Z","0.14.0":"2016-09-13T09:34:11.552Z","0.15.0":"2016-09-13T09:54:44.201Z","1.0.0":"2016-09-13T10:50:49.158Z","1.0.1":"2016-09-14T07:26:17.955Z","1.1.0":"2016-09-15T09:43:13.564Z","1.1.1":"2017-07-11T10:46:02.155Z","1.1.2":"2017-07-11T12:55:02.977Z","1.1.14":"2017-11-22T13:11:44.071Z","1.1.15":"2018-03-23T15:45:03.643Z"},"homepage":"https://github.com/custom-select/custom-select#readme","keywords":["select","custom select","html select"],"repository":{"type":"git","url":"git+https://github.com/custom-select/custom-select.git"},"contributors":[{"name":"Marco Nucara","url":"https://github.com/nuky89"},{"name":"Simone Scalbi","url":"https://github.com/pennywiz"}],"author":{"name":"Gionatan Lombardi","url":"https://github.com/gionatan-lombardi"},"bugs":{"url":"https://github.com/custom-select/custom-select/issues"},"license":"MIT","readmeFilename":"README.md","users":{"gionatan-lombardi":true}}