{"_id":"z-button","_rev":"7-f544698ce704bc26b1361e17a84b2f93","name":"z-button","description":"A button UI component for your web application","dist-tags":{"latest":"1.4.0"},"versions":{"1.0.0":{"name":"z-button","version":"1.0.0","description":"A button UI component for your web application","main":"dist/index.js","minified:main":"dist/index.min.js","jsnext:main":"dist/module.js","module":"dist/module.js","scripts":{"lint":"eslint webpack.config.babel.js .storybook src stories test/regression test/unit/suite && stylelint src/style.css","test":"npm run lint && npm run unit-test && npm run regression-test","kill":"fkill node","clean":"rimraf dist","unit-test":"webpack --config test/unit/webpack.config.babel.js && ava test/unit/testBundle.js","regression-test":"node test/regression/server.js && ava test/regression/suite","regression-test-kill":"npm run regression-test && npm run kill","build-module":"mkdirp dist && babel --source-maps -o dist/module.js src/component.js","package":"webpack","min-package":"cross-env MIN=true webpack -p","build":"npm run package && npm run min-package && npm run build-module","start":"npm run storybook","storybook":"start-storybook -p 6006","prepublish":"npm run build"},"ava":{"require":["babel-register"],"babel":"inherit"},"babel":{"presets":["es2015","react"],"plugins":["transform-object-rest-spread"],"ignore":["src/webcomponent"]},"eslintConfig":{"env":{"browser":true},"extends":["airbnb"],"rules":{"new-cap":"off","import/no-extraneous-dependencies":"off","react/prop-types":"off","react/jsx-filename-extension":"off","global-require":"off","jsx-a11y/href-no-hash":"off"},"settings":{"import/resolver":{"webpack":{"config":".storybook/webpack.config.js"}}}},"postcss":{"plugins":{"postcss-custom-properties":{},"postcss-color-function":{},"autoprefixer":{"browsers":"last 2 versions"},"cssnano":{"discardUnused":false}}},"greenkeeper":{"ignore":["eslint-config-airbnb","eslint-plugin-import","eslint-plugin-jsx-a11y"]},"stylelint":{"extends":"stylelint-config-standard","plugins":["stylelint-selector-bem-pattern"],"rules":{"comment-whitespace-inside":null,"plugin/selector-bem-pattern":{"componentName":"[A-Z]+","componentSelectors":{"initial":"^\\.{componentName}(?:-[a-z]+)?$","combined":"^\\.combined-{componentName}-[a-z]+$"},"utilitySelectors":"^\\.util-[a-z]+$"}}},"repository":{"type":"git","url":"git+https://github.com/z-kit/z-button.git"},"keywords":["z-kit","component","browser","button"],"author":{"name":"Matheus Kautzmann"},"license":"MIT","bugs":{"url":"https://github.com/z-kit/z-button/issues"},"homepage":"https://github.com/z-kit/z-button","devDependencies":{"@kadira/storybook":"^2.21.0","ava":"^0.18.1","babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-loader":"^6.2.8","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-register":"^6.18.0","cross-env":"^3.1.3","cross-spawn":"^5.0.1","css-loader":"^0.26.0","eslint":"^3.8.0","eslint-config-airbnb":"^12.0.0","eslint-import-resolver-webpack":"^0.8.1","eslint-plugin-import":"^1.16.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.3.0","extract-text-webpack-plugin":"2.0.0-rc.1","fkill-cli":"^3.3.0","jsx-test-helpers":"^1.1.0","mkdirp":"^0.5.1","nightmare":"^2.9.1","null-loader":"^0.1.1","postcss-color-function":"^3.0.0","postcss-custom-properties":"^5.0.2","postcss-loader":"^1.2.0","react":"^15.4.1","react-dom":"^15.4.1","rimraf":"^2.5.4","style-loader":"^0.13.1","stylelint":"^7.8.0","stylelint-config-standard":"^16.0.0","stylelint-selector-bem-pattern":"^1.0.0","webpack":"^2.2.1","webpack-node-externals":"^1.5.4"},"gitHead":"f720a0c199faa7e8f520855a97e5bd5773f0794d","_id":"z-button@1.0.0","_shasum":"468f1205b4620ce7a68d465ab6a3760897dd4c08","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"mkxml","email":"mkvchain@gmail.com"},"dist":{"shasum":"468f1205b4620ce7a68d465ab6a3760897dd4c08","tarball":"https://registry.npmjs.org/z-button/-/z-button-1.0.0.tgz","integrity":"sha512-utyAdDsDReZ8jeqiSrQsSblMDEhBlsI2RqwY7A0ak9Mh8ozNtSTGyhcdbdcIv0gWAFDorzcUpJSgAJt33zEvlg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGnosMt6VyEanT/vTGCBg3K34XSKVlWgbXkxArqMyU7AIgG1Z4wcP49u5T8XZ9MIsAODsq7LNLF+F+qbe75Z13GCA="}]},"maintainers":[{"name":"mkxml","email":"mkvchain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/z-button-1.0.0.tgz_1488412447365_0.1924559655599296"},"directories":{}},"1.1.0":{"name":"z-button","version":"1.1.0","description":"A button UI component for your web application","main":"dist/index.js","minified:main":"dist/index.min.js","jsnext:main":"dist/module.js","module":"dist/module.js","scripts":{"lint":"eslint webpack.config.babel.js .storybook src stories test/regression test/unit/suite && stylelint src/style.css","test":"npm run lint && npm run unit-test && npm run regression-test","kill":"fkill node","clean":"rimraf dist","unit-test":"webpack --config test/unit/webpack.config.babel.js && ava test/unit/testBundle.js","regression-test":"node test/regression/server.js && ava test/regression/suite","regression-test-kill":"npm run regression-test && npm run kill","build-module":"mkdirp dist && babel --source-maps -o dist/module.js src/component.js","package":"webpack","min-package":"cross-env MIN=true webpack -p","build":"npm run package && npm run min-package && npm run build-module","start":"npm run storybook","storybook":"start-storybook -p 6006","prepublish":"npm run build"},"ava":{"require":["babel-register"],"babel":"inherit"},"babel":{"presets":["es2015","react"],"plugins":["transform-object-rest-spread"],"ignore":["src/webcomponent"]},"eslintConfig":{"env":{"browser":true},"extends":["airbnb"],"rules":{"new-cap":"off","import/no-extraneous-dependencies":"off","react/prop-types":"off","react/jsx-filename-extension":"off","global-require":"off","jsx-a11y/href-no-hash":"off"},"settings":{"import/resolver":{"webpack":{"config":".storybook/webpack.config.js"}}}},"postcss":{"plugins":{"postcss-custom-properties":{},"postcss-color-function":{},"autoprefixer":{"browsers":"last 2 versions"},"cssnano":{"discardUnused":false}}},"greenkeeper":{"ignore":["eslint-config-airbnb","eslint-plugin-import","eslint-plugin-jsx-a11y"]},"stylelint":{"extends":"stylelint-config-standard","plugins":["stylelint-selector-bem-pattern"],"rules":{"comment-whitespace-inside":null,"plugin/selector-bem-pattern":{"componentName":"[A-Z]+","componentSelectors":{"initial":"^\\.{componentName}(?:-[a-z]+)?$","combined":"^\\.combined-{componentName}-[a-z]+$"},"utilitySelectors":"^\\.util-[a-z]+$"}}},"repository":{"type":"git","url":"git+https://github.com/z-kit/z-button.git"},"keywords":["z-kit","component","browser","button"],"author":{"name":"Matheus Kautzmann"},"license":"MIT","bugs":{"url":"https://github.com/z-kit/z-button/issues"},"homepage":"https://github.com/z-kit/z-button","devDependencies":{"@kadira/storybook":"^2.21.0","ava":"^0.18.1","babel-cli":"^6.18.0","babel-core":"^6.18.2","babel-loader":"^6.2.8","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-preset-es2015":"^6.18.0","babel-preset-react":"^6.16.0","babel-register":"^6.18.0","cross-env":"^3.1.3","cross-spawn":"^5.0.1","css-loader":"^0.26.0","eslint":"^3.8.0","eslint-config-airbnb":"^12.0.0","eslint-import-resolver-webpack":"^0.8.1","eslint-plugin-import":"^1.16.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.3.0","extract-text-webpack-plugin":"2.0.0-rc.1","fkill-cli":"^3.3.0","jsx-test-helpers":"^1.1.0","mkdirp":"^0.5.1","nightmare":"^2.9.1","null-loader":"^0.1.1","postcss-color-function":"^3.0.0","postcss-custom-properties":"^5.0.2","postcss-loader":"^1.2.0","react":"^15.4.1","react-dom":"^15.4.1","rimraf":"^2.5.4","style-loader":"^0.13.1","stylelint":"^7.8.0","stylelint-config-standard":"^16.0.0","stylelint-selector-bem-pattern":"^1.0.0","webpack":"^2.2.1","webpack-node-externals":"^1.5.4"},"gitHead":"eefce97b35e77212c78aab9da380385317da3546","_id":"z-button@1.1.0","_shasum":"b44b63ed207801947b48de2cf9a110c623f07174","_from":".","_npmVersion":"3.10.9","_nodeVersion":"7.2.0","_npmUser":{"name":"mkxml","email":"mkvchain@gmail.com"},"dist":{"shasum":"b44b63ed207801947b48de2cf9a110c623f07174","tarball":"https://registry.npmjs.org/z-button/-/z-button-1.1.0.tgz","integrity":"sha512-3ZJIAtiRhq+Y5TNEQnHdDZoP2AOlQ0koX5wmte3bK370ZPKzI+jjtbG4CdhlLgKmzEjINJ3Qgvy7WgGH6q4VaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBsB8eR58G1aEfAAgayvZ+VaAaQ+Dq3ufeOK2D7zA5u8AiEAluMlsPp5MS/Js9hTmpeC8LFPc1zYm2Q3JB+AltP86DM="}]},"maintainers":[{"name":"mkxml","email":"mkvchain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/z-button-1.1.0.tgz_1488841876049_0.8848464356269687"},"directories":{}},"1.2.0":{"name":"z-button","version":"1.2.0","description":"A button UI component for your web application","main":"dist/index.js","minified:main":"dist/index.min.js","jsnext:main":"dist/module.js","module":"dist/module.js","scripts":{"lint":"eslint webpack.config.babel.js .storybook src stories test/regression test/unit/suite && stylelint src/style.css","test":"npm run lint && npm run unit-test && npm run regression-test","kill":"fkill node","clean":"rimraf dist","unit-test":"webpack --config test/unit/webpack.config.babel.js && ava test/unit/testBundle.js","regression-test":"node test/regression/server.js && ava test/regression/suite","regression-test-kill":"npm run regression-test && npm run kill","build-module":"mkdirp dist && babel --source-maps -o dist/module.js src/component.js","package":"webpack","min-package":"cross-env MIN=true webpack -p","build":"npm run package && npm run min-package && npm run build-module","start":"npm run storybook","storybook":"start-storybook -p 6006","prepublish":"npm run build"},"ava":{"require":["babel-register"],"babel":"inherit"},"babel":{"presets":["es2015","react"],"plugins":["transform-object-rest-spread"],"ignore":["src/webcomponent"]},"eslintConfig":{"env":{"browser":true},"extends":["airbnb"],"rules":{"new-cap":"off","import/no-extraneous-dependencies":"off","react/prop-types":"off","react/jsx-filename-extension":"off","global-require":"off","jsx-a11y/href-no-hash":"off"},"settings":{"import/resolver":{"webpack":{"config":".storybook/webpack.config.js"}}}},"postcss":{"plugins":{"autoprefixer":{"browsers":"last 2 versions"},"cssnano":{"discardUnused":false}}},"greenkeeper":{"ignore":["eslint-config-airbnb","eslint-plugin-import","eslint-plugin-jsx-a11y"]},"stylelint":{"extends":"stylelint-config-standard","plugins":["stylelint-selector-bem-pattern"],"rules":{"comment-whitespace-inside":null,"plugin/selector-bem-pattern":{"componentName":"[A-Z]+","componentSelectors":{"initial":"^\\.{componentName}(?:-[a-z]+)?$","combined":"^\\.combined-{componentName}-[a-z]+$"},"utilitySelectors":"^\\.util-[a-z]+$"}}},"repository":{"type":"git","url":"git+https://github.com/z-kit/z-button.git"},"keywords":["z-kit","component","browser","button"],"author":{"name":"Matheus Kautzmann"},"license":"MIT","bugs":{"url":"https://github.com/z-kit/z-button/issues"},"homepage":"https://github.com/z-kit/z-button","devDependencies":{"@kadira/storybook":"^2.35.3","ava":"^0.19.1","babel-cli":"^6.24.1","babel-core":"^6.24.1","babel-loader":"^7.0.0","babel-plugin-transform-object-rest-spread":"^6.23.0","babel-preset-es2015":"^6.24.1","babel-preset-react":"^6.24.1","babel-register":"^6.24.1","cross-env":"^4.0.0","cross-spawn":"^5.1.0","css-loader":"^0.28.0","eslint":"^3.19.0","eslint-config-airbnb":"^12.0.0","eslint-import-resolver-webpack":"^0.8.1","eslint-plugin-import":"^1.16.0","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.10.3","extract-text-webpack-plugin":"2.1.0","fkill-cli":"^3.6.0","jsx-test-helpers":"^1.1.0","mkdirp":"^0.5.1","nightmare":"^2.10.0","null-loader":"^0.1.1","postcss-loader":"^1.3.3","react":"^15.5.4","react-dom":"^15.5.4","rimraf":"^2.6.1","style-loader":"^0.16.1","stylelint":"^7.10.1","stylelint-config-standard":"^16.0.0","stylelint-selector-bem-pattern":"^1.0.0","webpack":"^2.4.1","webpack-node-externals":"^1.5.4"},"gitHead":"5a3bd92490b5b8546c7b48a4cf13f18956e80766","_id":"z-button@1.2.0","_shasum":"2f712a6eb07878bde269107b333f08c4681a7269","_from":".","_npmVersion":"4.2.0","_nodeVersion":"7.7.2","_npmUser":{"name":"mkxml","email":"mkvchain@gmail.com"},"dist":{"shasum":"2f712a6eb07878bde269107b333f08c4681a7269","tarball":"https://registry.npmjs.org/z-button/-/z-button-1.2.0.tgz","integrity":"sha512-3rHH/mfWXGGuJ3cpLtCRMtIvIpEskqDVkhPmIbkXV1SqgQuIusg/zcDxDodMQtZp+9DH2D9hZmx7R1+jBQZ8xQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCidMijWG56pSkcb7fS4J/y2KGQPSdolzx/ZKALzfGfCgIgcjgk+re4zGfXWa+kK3xfI7s+jhnT3ZqKa5meYnwHBkc="}]},"maintainers":[{"name":"mkxml","email":"mkvchain@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/z-button-1.2.0.tgz_1492887784100_0.2100647243205458"},"directories":{}},"1.3.0":{"name":"z-button","version":"1.3.0","description":"A button UI component for your web application","main":"dist/index.js","minified:main":"dist/index.min.js","jsnext:main":"dist/module.js","module":"dist/module.js","scripts":{"ava:bundle":"ava test/unit/testBundle.js","ava:regression":"ava test/regression/suite/*","babel:module":"babel --source-maps -o dist/module.js src/component.js","build:module":"run-s create-output-dir babel:module","build:test":"webpack --config test/unit/webpack.config.babel.js","build":"run-p package min-package build:module","clean":"rimraf dist","create-output-dir":"mkdirp dist","lint:css":"stylelint src/style.css","lint:js":"eslint webpack.config.babel.js .storybook src stories test/regression test/unit/suite","lint":"run-p lint:js lint:css","min-package":"cross-env MIN=true webpack -p","package":"webpack","prepare":"npm run build","regression-suite":"run-s wait-storybook-server ava:regression","start":"npm run storybook","storybook":"start-storybook -p 6006","test:regression":"node test/regression/startTest.js","test:unit":"run-s build:test ava:bundle","test":"run-s lint test:unit test:regression","wait-storybook-server":"wait-on http-get://localhost:6006"},"ava":{"compileEnhancements":false,"require":["@babel/register"],"babel":{"testOptions":{"plugins":["@babel/plugin-syntax-jsx"],"presets":["@babel/preset-env"]}}},"babel":{"presets":["@babel/preset-env","@babel/preset-react"],"ignore":["src/webcomponent"]},"eslintConfig":{"env":{"browser":true},"parser":"babel-eslint","parserOptions":{"ecmaVersion":"2015","ecmaFeatures":{"jsx":true}},"extends":["airbnb"],"plugins":["react","import","jsx-a11y"],"rules":{"new-cap":"off","arrow-parens":"off","import/no-extraneous-dependencies":"off","import/no-unresolved":"off","import/no-self-import":"off","react/prop-types":"off","react/jsx-filename-extension":"off","global-require":"off","comma-dangle":["error",{"arrays":"always-multiline","objects":"always-multiline","imports":"always-multiline","exports":"always-multiline","functions":"never"}]}},"postcss":{"plugins":{"autoprefixer":{"overrideBrowserslist":"last 2 versions"},"cssnano":{"discardUnused":false}}},"greenkeeper":{"ignore":["eslint-config-airbnb","eslint-plugin-import","eslint-plugin-jsx-a11y"]},"stylelint":{"extends":"stylelint-config-standard","plugins":["stylelint-selector-bem-pattern"],"rules":{"comment-whitespace-inside":null,"plugin/selector-bem-pattern":{"componentName":"[A-Z]+","componentSelectors":{"initial":"^\\.{componentName}(?:-[a-z]+)?$","combined":"^\\.combined-{componentName}-[a-z]+$"},"utilitySelectors":"^\\.util-[a-z]+$"}}},"repository":{"type":"git","url":"git+https://github.com/z-kit/z-button.git"},"keywords":["z-kit","component","browser","button"],"author":{"name":"Matheus Kautzmann"},"license":"MIT","bugs":{"url":"https://github.com/z-kit/z-button/issues"},"homepage":"https://github.com/z-kit/z-button","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@babel/preset-react":"^7.0.0","@babel/register":"^7.5.5","@babel/runtime":"^7.5.5","@storybook/addons":"^v5.1.11","@storybook/react":"^v5.1.11","acorn":"^7.0.0","autoprefixer":"^9.6.1","ava":"^2.2.0","babel-eslint":"^10.0.2","babel-loader":"^8.0.6","cross-env":"^5.2.0","cross-spawn":"^6.0.5","css-loader":"^3.2.0","cssnano":"^4.1.10","enzyme":"^3.10.0","enzyme-adapter-react-16":"^1.14.0","eslint":"^6.1.0","eslint-config-airbnb":"^18.0.1","eslint-import-resolver-webpack":"^0.11.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-react":"^7.14.3","file-loader":"^4.2.0","handlebars":"^4.1.2","handlebars-loader":"^1.7.1","html-webpack-plugin":"^3.2.0","mini-css-extract-plugin":"^0.8.0","mkdirp":"^0.5.1","nightmare":"^3.0.2","npm-run-all":"^4.1.5","null-loader":"^3.0.0","postcss-loader":"^3.0.0","react":"^16.9.0","react-dom":"^16.9.0","rimraf":"^3.0.0","style-loader":"^1.0.0","stylelint":"^10.1.0","stylelint-config-standard":"^18.3.0","stylelint-selector-bem-pattern":"^2.1.0","wait-on":"^3.3.0","webpack":"^4.39.2","webpack-cli":"^3.3.6","webpack-node-externals":"^1.7.2"},"gitHead":"0e2f99fb994772f8b2840853bfdf69d070111d66","_id":"z-button@1.3.0","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-+iOzl08AflemumXT0EtHHcMhBDdvfbhEnvX0m3ILJvZXkLs2JXVI4uDvImk2thw/IzwFG+iYdYYnlDaQ8Z5O+g==","shasum":"06f618489a62d45aaa8711325ba5071d23b25102","tarball":"https://registry.npmjs.org/z-button/-/z-button-1.3.0.tgz","fileCount":13,"unpackedSize":67529,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVWc7CRA9TVsSAnZWagAAw8gQAJJUW7lQzfh/E77SxlPi\niUxIp6fEVzfVWgnXUeKYFUUq/ShXfcxAv5zUJBJwH6RlixeTxLsQ7OnaFJtm\n4X4MLBE8J9uWA5D70FIO78QlT7Ym1MVCMOoNU4eTxv3onWKEVof3P8DhjVDs\n9R4zsZ7MMQECea6FISXg0b2/xP9QTKYT7DwT7EEoLPEWmpoH8+u3jP4YH1dc\ntKK4KEswldVAdsVPCTg7rJ2x6I3z6w8AKW/sY7bGGZrT2LQF2czaNP95nw2Y\nrMEJ7DqkoaPejDSNV1SLPhSNYAKBuIZBfPZ/XQSXZ++CQhjw0pUiwbhhYBEe\nKYF9f0kfbwAYLxXIJUSk8c9fpeJkDM39pO0+rfK0oFAPuJH5qxQ+SMqhe4Y/\n+ixbwT1UsK4rLE7DO3X/WstM2CusKFptg2tHXMCp19Kj0vdnGuXhYSiLQvrn\nqpA7RawUjBGqANpdL2GCaeY5I5eGJE2I9k/cv4C/DqH+wqq4y9Rl7dw+1OKu\nrokW4IMYALgxSf5aX/sOww1SARLTRfZWOKQHkwwAOey4OIiwzFSn/42M3DSP\nakMLlEdNbtUA/laWSDcbKnFqsznvQ5/grK35a6FZErjroIPy+0jnI991kD9N\nUswGEG+m11xPhGDXQ0d2ezAT28XEw3ofUaVhBT+JfKhbmMMmAr2dUEMn+Jic\nmEDf\r\n=sZ/1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/glO7knsqPb4ds28kRESf9ITztDtGcuKdvxNe9UvPPQIgPS1T+Ada+5GDeLpCZDE7bypbWGKeN94JY7jRbVeqdnQ="}]},"maintainers":[{"name":"mkxml","email":"mkvchain@gmail.com"}],"_npmUser":{"name":"mkxml","email":"mkvchain@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/z-button_1.3.0_1565878075188_0.8830165282449607"},"_hasShrinkwrap":false},"1.4.0":{"name":"z-button","version":"1.4.0","description":"A button UI component for your web application","main":"dist/index.js","minified:main":"dist/index.min.js","jsnext:main":"dist/module.js","module":"dist/module.js","scripts":{"ava:bundle":"ava test/unit/testBundle.js","ava:regression":"ava test/regression/suite/*","babel:module":"babel --source-maps -o dist/module.js src/component.js","build:module":"run-s create-output-dir babel:module","build:test":"webpack --config test/unit/webpack.config.babel.js","build":"run-p package min-package build:module","clean":"rimraf dist","create-output-dir":"mkdirp dist","lint:css":"stylelint src/style.css","lint:js":"eslint webpack.config.babel.js .storybook src stories test/regression test/unit/suite","lint":"run-p lint:js lint:css","min-package":"cross-env MIN=true webpack -p","package":"webpack","prepare":"npm run build","regression-suite":"run-s wait-storybook-server ava:regression","start":"npm run storybook","storybook":"start-storybook -p 6006","test:regression":"node test/regression/startTest.js","test:unit":"run-s build:test ava:bundle","test":"run-s lint test:unit test:regression","wait-storybook-server":"wait-on http-get://localhost:6006"},"ava":{"compileEnhancements":false,"require":["@babel/register"],"babel":{"testOptions":{"plugins":["@babel/plugin-syntax-jsx"],"presets":["@babel/preset-env"]}}},"babel":{"presets":["@babel/preset-env","@babel/preset-react"],"ignore":["src/webcomponent"]},"eslintConfig":{"env":{"browser":true},"parser":"babel-eslint","parserOptions":{"ecmaVersion":"2015","ecmaFeatures":{"jsx":true}},"extends":["airbnb"],"plugins":["react","import","jsx-a11y"],"rules":{"new-cap":"off","arrow-parens":"off","import/no-extraneous-dependencies":"off","import/no-unresolved":"off","import/no-self-import":"off","react/prop-types":"off","react/jsx-filename-extension":"off","global-require":"off","comma-dangle":["error",{"arrays":"always-multiline","objects":"always-multiline","imports":"always-multiline","exports":"always-multiline","functions":"never"}]}},"postcss":{"plugins":{"autoprefixer":{"overrideBrowserslist":"last 2 versions"},"cssnano":{"discardUnused":false}}},"greenkeeper":{"ignore":["eslint-config-airbnb","eslint-plugin-import","eslint-plugin-jsx-a11y"]},"stylelint":{"extends":"stylelint-config-standard","plugins":["stylelint-selector-bem-pattern"],"rules":{"comment-whitespace-inside":null,"plugin/selector-bem-pattern":{"componentName":"[A-Z]+","componentSelectors":{"initial":"^\\.{componentName}(?:-[a-z]+)?$","combined":"^\\.combined-{componentName}-[a-z]+$"},"utilitySelectors":"^\\.util-[a-z]+$"}}},"repository":{"type":"git","url":"git+https://github.com/z-kit/z-button.git"},"keywords":["z-kit","component","browser","button"],"author":{"name":"Matheus Kautzmann"},"license":"MIT","bugs":{"url":"https://github.com/z-kit/z-button/issues"},"homepage":"https://github.com/z-kit/z-button","devDependencies":{"@babel/cli":"^7.5.5","@babel/core":"^7.5.5","@babel/preset-env":"^7.5.5","@babel/preset-react":"^7.0.0","@babel/register":"^7.5.5","@babel/runtime":"^7.5.5","@storybook/addons":"^v5.1.11","@storybook/react":"^v5.1.11","acorn":"^7.0.0","autoprefixer":"^9.6.1","ava":"^2.2.0","babel-eslint":"^10.0.2","babel-loader":"^8.0.6","cross-env":"^5.2.0","cross-spawn":"^6.0.5","css-loader":"^3.2.0","cssnano":"^4.1.10","enzyme":"^3.10.0","enzyme-adapter-react-16":"^1.14.0","eslint":"^6.1.0","eslint-config-airbnb":"^18.0.1","eslint-import-resolver-webpack":"^0.11.1","eslint-plugin-import":"^2.18.2","eslint-plugin-jsx-a11y":"^6.2.3","eslint-plugin-react":"^7.14.3","file-loader":"^4.2.0","handlebars":"^4.1.2","handlebars-loader":"^1.7.1","html-webpack-plugin":"^3.2.0","mini-css-extract-plugin":"^0.8.0","mkdirp":"^0.5.1","nightmare":"^3.0.2","npm-run-all":"^4.1.5","null-loader":"^3.0.0","postcss-loader":"^3.0.0","react":"^16.9.0","react-dom":"^16.9.0","rimraf":"^3.0.0","style-loader":"^1.0.0","stylelint":"^10.1.0","stylelint-config-standard":"^18.3.0","stylelint-selector-bem-pattern":"^2.1.0","wait-on":"^3.3.0","webpack":"^4.39.2","webpack-cli":"^3.3.6","webpack-node-externals":"^1.7.2"},"gitHead":"16beeb357739f2bc8392b9561f0e30682337c626","_id":"z-button@1.4.0","_nodeVersion":"12.6.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-HYZxdBHACqcsMVOirKBBZeEU6ivVzU36/9bbEFqmcRsKxiPfZKz1jfTRCxRIHgQP34fQ8L5CflBQ8U3MnSBjLQ==","shasum":"626328bd2e5c0aa2af1e0c180dfca87665564ce7","tarball":"https://registry.npmjs.org/z-button/-/z-button-1.4.0.tgz","fileCount":13,"unpackedSize":67607,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcVvCCRA9TVsSAnZWagAAstsP/03un4TzTEtc25ypVvni\nIHhsV5RrGW2X6dEAFueOZuesax1RBYTWdWd94xVoL5F/uSmkkwAdF7Vz74j7\n3m0KD99s37AbvkcxRj7GyZ4KLB4nqyk4R7JezPg4zk/rY6bDZV9S111fFut+\nEmUlH5gSVYBwNGLIQS/OQEJyq6M1HoP/thdzxezm8eL5DpCRnHQoGUKbTSMf\n7039LJO5kh5VRcpPpA+3MQBieIzIZ2qqXs3Qof4uDHE9t5KrYbJ3IbGAX2Fz\nTQ0nzwKhdK5nL6LPxHNuJ7iKzKGInrni1N2FjCrV4wxgM3qvGhmdPMqszSeq\n5uHT7YY9gzMVAoXC0Rlb7eft7/0b+ea7PLixViXjywza2gDCQL0QvYxdWVto\nF/ez2FJ/M3RFN2FAqWuwsYxH8v9XghV0DZrbFHdebGou8GSDLibslZBivyxN\nMAEewpLmBp1EfTy8PSCSmuSy3PDiFtulq6H5XwAGd/467Uu2PnLc32/UcGw6\nLZhlNARpAaE82DkP0UHQBkrMugHOc88FnkdNpLiJA40CqF9QXXp9newn1bvm\nNaj5FUn+Oa77AfThLd1dVtdptJ+q9dZa0SmTFB4nWOvyRwGf1N5C5pB5n1f9\ndeqr83t8gV4A8kbH9auEHNsQhDj09mtG145HPMANrvgBhnj8yvFiVq7nn0DF\neP+X\r\n=xibg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFmBaMxS6pL+lwkCMMi41ySJtsbexX8fjhYZoqsEUFRkAiBQle0cpSnoOf/HbLCgReaywnqa4mVCuLUMwVnfS7PAxw=="}]},"maintainers":[{"name":"mkxml","email":"mkvchain@gmail.com"}],"_npmUser":{"name":"mkxml","email":"mkvchain@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/z-button_1.4.0_1567710145614_0.381042192638251"},"_hasShrinkwrap":false}},"readme":"# <a name=\"z-button\"></a> z-button\n\n[![Build]](https://travis-ci.org/z-kit/z-button) [![SemVer]](http://semver.org/) [![Greenkeeper badge](https://badges.greenkeeper.io/z-kit/z-button.svg)](https://greenkeeper.io/) [![License]](LICENSE)\n\nA styled button component for your web application.\n\n## <a name=\"toc\"></a> Table of contents\n\n- [z-button](#z-button)\n- [Table of contents](#toc)\n- [Install](#install)\n  - [Import as HTML/CSS component](#import-css)\n  - [Import as Stateless Functional Component (SFC)](#import-sfc)\n- [How to use](#howto)\n  - [CSS component](#css)\n  - [Stateless Functional Component](#sfc)\n- [Theming](#theming)\n- [License](#license)\n\n## <a name=\"install\"></a> Install\n\nThe package is available to download through [npm](https://npmjs.com):\n\n```bash\nnpm install z-button --save\n```\n\n### <a name=\"import-css\"></a> Import as HTML/CSS component\n\n### The simple case\n\nThe package will be located inside the `node_modules` folder, you can import it into the HTML document as follows:\n\n```html\n<link rel=\"stylesheet\" href=\"node_modules/z-button/dist/style.css\">\n```\n\n### When bundling an web app\n\n**For bundlers that support CSS, like [Webpack](https://webpack.github.io/), you can use it like this:**\n\n```javascript\nrequire('z-button/dist/style.css');\n```\n\n### <a name=\"import-sfc\"></a> Import as a Stateless Functional Component (SFC)\n\nThe package does not include the renderer, you can use any renderer that supports SFCs. You could use React, Preact, Inferno, etc.\n\n**Notice: This package contains CSS styling, you may need a bundler that's capable of requiring CSS files like Webpack with [css-loader](https://github.com/webpack/css-loader).**\n\nOnce you have chosen the renderer you can include the package in your project as follows:\n\n```jsx\n// Assuming the React renderer is being used\nconst React = require('react');\nconst render = require('react-dom').render;\n\n// Passing the render function when importing\nconst ZButton = require('z-button')(React.createElement);\n\n// Render it on page, using JSX here :)\nrender(<ZButton>Click me!</ZButton>, document.body);\n```\n\n## <a name=\"howto\"></a> How to use\n\n### <a name=\"css\"></a> CSS component\n\nJust add the HTML structure and CSS classes to reproduce the UI component.\n\n### Class hierarchy\n\n| Recommended HTML tags      | Parent | Class                  | Description                                                                          | Type     |\n| -------------------------- | ------ | ---------------------- | ------------------------------------------------------------------------------------ | -------- |\n| `button`, `a`              | `root` | `.z-button`            | Root container                                                                       | Block    |\n| Any containing `.z-button` | `root` | `.z-button--bordered`  | Change the style of the button to be bordered with transparent background            | Modifier |\n| Any containing `.z-button` | `root` | `.z-button--flat`      | Change the style of the button to be flat with no border or background               | Modifier |\n| Any containing `.z-button` | `root` | `.z-button--icon`      | Change the style of the button to have a fixed size, useful for housing single icons | Modifier |\n| Any containing `.z-button` | `root` | `.z-button--block`     | Make the button fill all the parent's width                                          | Modifier |\n| Any containing `.z-button` | `root` | `.z-button--rounded`   | Make the button more round                                                           | Modifier |\n| Any containing `.z-button` | `root` | `.z-button--secondary` | Secondary color for the button                                                       | Modifier |\n| Any containing `.z-button` | `root` | `.z-button--success`   | Color the button green                                                               | Modifier |\n| Any containing `.z-button` | `root` | `.z-button--warning`   | Color the button yellow                                                              | Modifier |\n| Any containing `.z-button` | `root` | `.z-button--danger`    | Color the button red                                                                 | Modifier |\n\n#### Full working example:\n\n```html\n<button class=\"z-button z-button--rounded\">Click me!</button>\n```\n\n### <a name=\"sfc\"></a> Stateless Functional Component\n\nRender the HTML by using the SFC and passing props.\n\n### Supported Props\n\n| Prop name   | Expected Type               | Description                                                    |\n| ----------- | --------------------------- | -------------------------------------------------------------- |\n| `children`  | `HTMLElement` or `TextNode` | Button content                                                 |\n| `bordered`  | `boolean`                   | Pass true to make change the style of the button to bordered   |\n| `flat`      | `boolean`                   | Pass true to make change the style of the button to flat       |\n| `icon`      | `boolean`                   | Pass true to make the button expect an icon as content         |\n| `block`     | `boolean`                   | Pass true to make the button fill the parent's container width |\n| `rounded`   | `boolean`                   | Pass true to make the button fully rounded                     |\n| `secondary` | `boolean`                   | Pass true to make the button secondary                         |\n| `success`   | `boolean`                   | Pass true to make the button green                             |\n| `warning`   | `boolean`                   | Pass true to make the button yellow                            |\n| `danger`    | `boolean`                   | Pass true to make the button red                               |\n\n#### Full example (JSX):\n\n```jsx\n<ZButton>Click me!</ZButton>\n```\n\n## Theming\n\nAvailable since `1.2.0`, now `z-button` supports theming through CSS Variables!\n\nCheck the list of variables used:\n\n| Variable | Expected type | Description |\n| ---- | ---- | ---- |\n| --primary-color | `color` | The primary background-color for the buttons |\n| --lighter-primary-color | `color` | background-color for the focused/hovered buttons |\n| --darker-primary-color | `color` | background-color for the active buttons |\n| --secondary-color | `color` | An alternative background-color for the buttons |\n| --lighter-secondary-color | `color` | Alternative background-color for the focused/hovered buttons |\n| --darker-secondary-color | `color` | Alternative background-color for the active buttons |\n| --success-color | `color` | background-color indicating a success action button |\n| --lighter-success-color | `color` | background-color indicating a focused/hovered success action button |\n| --darker-success-color | `color` | background-color indicating an active success action button |\n| --warning-color | `color` | background-color indicating a warning action button |\n| --lighter-warning-color | `color` | background-color indicating a focused/hovered warning action button |\n| --darker-warning-color | `color` | background-color indicating an active warning action button |\n| --danger-color | `color` | background-color indicating a danger action button |\n| --lighter-danger-color | `color` | background-color indicating a focused/hovered danger action button |\n| --darker-danger-color | `color` | background-color indicating an active danger action button |\n| --disabled-color | `color` | background-color indicating a disabled button |\n| --button-text-color | `color` | Text color for the button, usually light |\n\n## <a name=\"license\"></a> LICENSE\n\n[MIT](LICENSE)\n\n[Build]: https://img.shields.io/travis/z-kit/z-button.svg\n[SemVer]: https://img.shields.io/:semver-%E2%9C%93-brightgreen.svg\n[License]: https://img.shields.io/npm/l/z-button.svg","maintainers":[{"name":"mkxml","email":"mkvchain@gmail.com"}],"time":{"modified":"2022-06-29T08:44:07.800Z","created":"2017-03-01T23:54:07.627Z","1.0.0":"2017-03-01T23:54:07.627Z","1.1.0":"2017-03-06T23:11:17.902Z","1.2.0":"2017-04-22T19:03:05.972Z","1.3.0":"2019-08-15T14:07:55.344Z","1.4.0":"2019-09-05T19:02:25.800Z"},"homepage":"https://github.com/z-kit/z-button","keywords":["z-kit","component","browser","button"],"repository":{"type":"git","url":"git+https://github.com/z-kit/z-button.git"},"author":{"name":"Matheus Kautzmann"},"bugs":{"url":"https://github.com/z-kit/z-button/issues"},"license":"MIT","readmeFilename":"README.md"}