{"_id":"@accessible/link","_rev":"6-e1138526a19e0d6152c05ddaffc0755b","name":"@accessible/link","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@accessible/link","version":"1.0.0","homepage":"https://github.com/accessible-ui/link#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/link.git"},"bugs":{"url":"https://github.com/accessible-ui/link/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"A component that adds aria attributes and keyboard functionality to non-A elements in order to make them act like native links","keywords":["react","react component","link","accessible link","a11y link","react a11y link","react accessible link","react link","react link component","a11y","react aria link","aria","aria link"],"main":"dist/cjs/index.js","module":"dist/es/index.js","sideEffects":false,"scripts":{"build":"npm run build:cjs && npm run build:es && npm run build:types","build:cjs":"babel src -d dist/cjs -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/test.ts\",\"**/*.test.tsx\",\"**/test.tsx\" --delete-dir-on-start","build:es":"cross-env BABEL_ENV=es babel src -d dist/es -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/test.ts\",\"**/*.test.tsx\",\"**/test.tsx\" --delete-dir-on-start","build:types":"tsc -p tsconfig.json -d --outDir dist/es --emitDeclarationOnly && mkdir -p dist/cjs && cp -R dist/es/**.d.ts dist/cjs && rimraf dist/**/*.test.d.ts","check-types":"tsc --noEmit -p tsconfig.json","format":"prettier --write \"**/*.{ts,tsx,js,jsx,md,yml,json,babelrc,eslintrc,prettierrc}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"npm run check-types && npm run lint && npm run test -- --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged && npm run build:types"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["eslint","prettier --write"],"**/*.{md,yml,json,babelrc,eslintrc,prettierrc}":["prettier --write"]},"devDependencies":{"@babel/preset-react":"latest","@lunde/babel-preset-es":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","babel-plugin-optimize-react":"latest","babel-plugin-typescript-to-proptypes":"latest","cross-env":"latest","eslint":"latest","eslint-import-resolver-jest":"latest","eslint-plugin-jest":"latest","eslint-plugin-react":"latest","eslint-plugin-react-hooks":"latest","husky":"latest","jest":"latest","lint-staged":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","rimraf":"^2.6.3","ts-jest":"latest","typescript":"latest"},"dependencies":{"@accessible/use-keycode":"^2.0.0","@react-hook/merged-ref":"^1.0.8"},"peerDependencies":{"prop-types":">=15.6","react":">=16.8","react-dom":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@accessible/link@1.0.0","dist":{"shasum":"1904c0f0fb69e6a016798b0ad9d024ae03ad1610","integrity":"sha512-ke2Tu/Qo2z+y3y4O8NWL8TccJX7SuKIGS3HztYvf18nReam6rgm4vvG7M198R4YlS2P1FaikjEQnvk7pDo+FlQ==","tarball":"https://registry.npmjs.org/@accessible/link/-/link-1.0.0.tgz","fileCount":11,"unpackedSize":9566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeCC7lCRA9TVsSAnZWagAAJTIP/i4mCyMme8+onrb7ebsh\n9QA9CxKJ5reg4QJNZkCdM12KSZo+k7eBQsUWUUvQzev1ZOVgABqYDWr9/MUi\nPByf1j1fv1+P3EhqTPVtyQcuzeCNDjMZRstyJC8ysKHTwB/k7mGIKq5SFquZ\nU+IInCv3cbMg/s3SY/JkyrOaf4eS+9V/Tk9k9+vLxXdRGpUaAx0XWjS7AYb1\nPA7Z7Kgcl4ir7uo6knJ6iku1DwtqR1iN0xyw7adkfGNsVgOhpyImkbnUR98s\niRaZ6QCQUOyl5BfafLbcAn2hyQzjLtxsZQ3iJ1Yyx96dd438GKW5gUp+5l4/\nQAuI5AvYL1ostoNqbJVFFX6dxPlMArEUbsyn96FxsqIUIPtDnqjLqRiT6Qaa\neUz1dI55wCz2ynwhJ7rsfaS1QqbbSMYmHIkM1qYzRnDHTkRYXiJAY8taxcg5\npfTIMSmUF8PxcbjGOKGHC1z4BR/LDHwZccgSVoiWmLLG7MWR5UPQzdlH6QmA\nDJvkz1nCo+SZDagCTbHAlKM947WS4ZzlDupx3fYN7G2O7op5+/eCnbG74Jpf\nmzLDKgnzZ+TY2DxicT1NQU3ZMyvozP5gyHcSvaiIpauFuARF0/1M65NZTGik\n1CZHeZFeDBPBp3edjiLmsWxOsPHg3wJPWlwOXEP2N0VyTmOZ13ykAbVCzXCm\n+qIf\r\n=F+yl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG9Sr+s/kqSREeJfQc2hllKiRsWYnlErOYmkWvXfdRllAiEAylWBT1of73Eh9LFQ9wN+clbFpQHiAn/O6T/ZTGTmvIY="}]},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"_npmUser":{"name":"jaredlunde","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link_1.0.0_1577594597034_0.584602202916781"},"_hasShrinkwrap":false},"1.0.1":{"name":"@accessible/link","version":"1.0.1","homepage":"https://github.com/accessible-ui/link#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/link.git"},"bugs":{"url":"https://github.com/accessible-ui/link/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"A component that adds aria attributes and keyboard functionality to non-A elements in order to make them act like native links","keywords":["react","react component","link","accessible link","a11y link","react a11y link","react accessible link","react link","react link component","a11y","react aria link","aria","aria link"],"main":"dist/cjs/index.js","module":"dist/es/index.js","sideEffects":false,"scripts":{"build":"npm run build:cjs && npm run build:es && npm run build:types","build:cjs":"babel src -d dist/cjs -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/test.ts\",\"**/*.test.tsx\",\"**/test.tsx\" --delete-dir-on-start","build:es":"cross-env BABEL_ENV=es babel src -d dist/es -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/test.ts\",\"**/*.test.tsx\",\"**/test.tsx\" --delete-dir-on-start","build:types":"tsc -p tsconfig.json -d --outDir dist/es --emitDeclarationOnly && mkdir -p dist/cjs && cp -R dist/es/**.d.ts dist/cjs && rimraf dist/**/*.test.d.ts","check-types":"tsc --noEmit -p tsconfig.json","format":"prettier --write \"**/*.{ts,tsx,js,jsx,md,yml,json,babelrc,eslintrc,prettierrc}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"npm run check-types && npm run lint && npm run test -- --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged && npm run build:types"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["eslint","prettier --write"],"**/*.{md,yml,json,babelrc,eslintrc,prettierrc}":["prettier --write"]},"devDependencies":{"@babel/preset-react":"latest","@lunde/babel-preset-es":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","babel-plugin-optimize-react":"latest","babel-plugin-typescript-to-proptypes":"latest","cross-env":"latest","eslint":"latest","eslint-import-resolver-jest":"latest","eslint-plugin-jest":"latest","eslint-plugin-react":"latest","eslint-plugin-react-hooks":"latest","husky":"latest","jest":"latest","lint-staged":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","rimraf":"^2.6.3","ts-jest":"latest","typescript":"latest"},"dependencies":{"@accessible/use-keycode":"^2.0.0","@react-hook/merged-ref":"^1.0.8"},"peerDependencies":{"prop-types":">=15.6","react":">=16.8","react-dom":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@accessible/link@1.0.1","dist":{"shasum":"d6ef0715e91892aeabd2bcee536ea8160383c4fd","integrity":"sha512-N5xP6KD9n1geLII1lW4xAKzRPonK9OafCsfK2jnbNQkuLzs4K1/os9Za4Lt6X95HR3JpBstZ1+tP5pRsr7HeJA==","tarball":"https://registry.npmjs.org/@accessible/link/-/link-1.0.1.tgz","fileCount":11,"unpackedSize":9654,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeCDB9CRA9TVsSAnZWagAAkpkQAJu0HkH85uMVI+Wb/SxK\niNg2+LCCvnBvsX0zkx9lN46yFGVNEmRu+QnWxCF8dy5ENRNvOd8p2EmyAKxs\nbVa30vUiWK14JVvnd51j5ntze0apx+zvsTmUiFf8fUo3Y2VfZf99wz02B+Dp\ne5MI+mQGNpcPcI+Li14Y3HtfmU1TNXwHz6piq+N5JWJSr2rNEuHDlhF458sx\nLh89hHAFhO2r6nX36Pg95FE4Jk7RXLrHav8osuZppYci8zvjuPMeGIZmT814\ng5hR0BRWqCb/fPC3J/cKY4TYqI99Ej2y8JNvpATOFCPDCSNJ4ysRgQzUX3yw\nfAREZIEczCpNb4Ivjd5p+iobZiZLYbPlv1GcaOgpI5mGmwmXbXmUw1WdTqCw\nSIRH3htiJ1gJGQlaYcl0kY6ijx4PmnACIHHI5fvDvHODA+eJlUmjgEKifvMP\nPHNNWFPxn4DvbyuEdORkC0SA++7LMkVBvHetcN6OkZdMSJBlbjNAY+qFWw2U\nD5S79i0cK6ZzoY7SP9fK9J+CYpoS/I2NPP9tzZI2Bbqn6Rh5YQ08vigbFlyg\nErz8gjXgF8mJMegUOgfzhP8JfxsY6cQujTHv+B/Blu1zwo7UzPwPp3mh/Dr2\nFBLRjhu2nE+5oRoii+SvwiCGUBWP8hmWxhHDG6OglL1qG1bnl4DV1AP2cSy8\n8WkI\r\n=H2v7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpPsK3qGyRSUJJ62Ty+aWymalQok2Ff0jaihnntje61QIhAKsXigQJrLSfJZgFUwk5rBp+XpWR6lwFzXGFktOErXKy"}]},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"_npmUser":{"name":"jaredlunde","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link_1.0.1_1577595005031_0.1472426759072787"},"_hasShrinkwrap":false},"1.0.2":{"name":"@accessible/link","version":"1.0.2","homepage":"https://github.com/accessible-ui/link#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/link.git"},"bugs":{"url":"https://github.com/accessible-ui/link/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"A component that adds aria attributes and keyboard functionality to non-A elements in order to make them act like native links","keywords":["react","react component","link","accessible link","a11y link","react a11y link","react accessible link","react link","react link component","a11y","react aria link","aria","aria link"],"main":"dist/cjs/index.js","module":"dist/es/index.js","sideEffects":false,"scripts":{"build":"npm run build:cjs && npm run build:es && npm run build:types","build:cjs":"babel src -d dist/cjs -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/test.ts\",\"**/*.test.tsx\",\"**/test.tsx\" --delete-dir-on-start","build:es":"cross-env BABEL_ENV=es babel src -d dist/es -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/test.ts\",\"**/*.test.tsx\",\"**/test.tsx\" --delete-dir-on-start","build:types":"tsc -p tsconfig.json -d --outDir dist/es --emitDeclarationOnly && mkdir -p dist/cjs && cp -R dist/es/**.d.ts dist/cjs && rimraf dist/**/*.test.d.ts","check-types":"tsc --noEmit -p tsconfig.json","format":"prettier --write \"**/*.{ts,tsx,js,jsx,md,yml,json,babelrc,eslintrc,prettierrc}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"npm run check-types && npm run lint && npm run test -- --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged && npm run build:types"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["eslint","prettier --write"],"**/*.{md,yml,json,babelrc,eslintrc,prettierrc}":["prettier --write"]},"devDependencies":{"@babel/preset-react":"latest","@lunde/babel-preset-es":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","babel-plugin-optimize-react":"latest","babel-plugin-typescript-to-proptypes":"latest","cross-env":"latest","eslint":"latest","eslint-import-resolver-jest":"latest","eslint-plugin-jest":"latest","eslint-plugin-react":"latest","eslint-plugin-react-hooks":"latest","husky":"latest","jest":"latest","lint-staged":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","rimraf":"^2.6.3","ts-jest":"latest","typescript":"latest"},"dependencies":{"@accessible/use-keycode":"^3.0.1","@react-hook/merged-ref":"^1.0.8"},"peerDependencies":{"prop-types":">=15.6","react":">=16.8","react-dom":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@accessible/link@1.0.2","dist":{"shasum":"b09e6d256430361e2d2bb1f548485e9a3c1e7152","integrity":"sha512-t/3I5aDyWgt+kcUbf/ejbAwNeHrvkZ9sl1UZqID+sKPMQ/K8RD2xU/K8BP+2Tcb785OiBpcGVIZPlu/kh5nHGQ==","tarball":"https://registry.npmjs.org/@accessible/link/-/link-1.0.2.tgz","fileCount":11,"unpackedSize":9546,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeC3K5CRA9TVsSAnZWagAAG0QP/3F7/LxAiCZeTjCUwSuO\nV9aoYodCpAnDpdRn9J3gSjlsIllD+9IOTdxKZHQB1VcCP9VL3KdWfcWXW/1e\nwsGRq91UCRAk7aPR9X0OmE7UPpqyOJePMpbEhLeg5dnp5F80x2pAWFPxWcVG\nqXUKm/eFzBveu6LHAYtoOOf+I2gHkcqInA1qr5J+VcIJeHhWXRGcg2lU8QvN\nT5VYuljFzHl0Q3i6buLYngZ6Kg/TJZRJn1pVmRloxGEVPlvzz7b8nxBWZx2M\nLq7DubQSpEx9SHkgbXDdV+L+laQukq+vcCMLPpJFlklld4gXqC6tsHhCQJfr\nOjpatCz1eoucFR6JiQQTamajGbtdUlblwn4EVrSJTp9qUKzBnoVjLqo9H8s9\nUOO1sH9ql1p+Ho4pmCLzP1VnHE7WsWtmOfcsNC/n4yI0R2h5SyfAbHIC0AUz\n56fbsJnSNcyBcP2Y6233QSOJFeDgkR2E5K36ZohwsLK+s3ApFyzhqRW1q8kH\nOvcFeHOSbTXbOXxgEHxGtwzBmKNAN9Xzx8iVZHu6frL+AjEhEPrTLrmSkS03\nkVndDlJfTlWSxRWedvPec0Xuuk7rShuF2FaQaWkxMnl200ZrBXSL1l+eCiE4\nQlDfutBZk5jnfqz1WLQnkvpdNwXSIt51BXMej/4Se7gjophM+6KutXaALfXn\nVkfT\r\n=tsaY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDc/ubaeq2EEYoLegJAyTd1ZYiVhaJondNEAtoxXvS7SAiEA+lzc+cGfSDQ8CVtj3CWoHKwb4u8vq6C3obeoNPTJVGQ="}]},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"_npmUser":{"name":"jaredlunde","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link_1.0.2_1577808569371_0.7794196974296634"},"_hasShrinkwrap":false},"1.0.3":{"name":"@accessible/link","version":"1.0.3","homepage":"https://github.com/accessible-ui/link#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/link.git"},"bugs":{"url":"https://github.com/accessible-ui/link/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"A component that adds aria attributes and keyboard functionality to non-A elements in order to make them act like native links","keywords":["react","react component","link","accessible link","a11y link","react a11y link","react accessible link","react link","react link component","a11y","react aria link","aria","aria link"],"main":"dist/cjs/index.js","module":"dist/es/index.js","sideEffects":false,"scripts":{"build":"npm run build:cjs && npm run build:es && npm run build:types","build:cjs":"babel src -d dist/cjs -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/test.ts\",\"**/*.test.tsx\",\"**/test.tsx\" --delete-dir-on-start","build:es":"cross-env BABEL_ENV=es babel src -d dist/es -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/test.ts\",\"**/*.test.tsx\",\"**/test.tsx\" --delete-dir-on-start","build:types":"tsc -p tsconfig.json -d --outDir dist/es --emitDeclarationOnly && mkdir -p dist/cjs && cp -R dist/es/**.d.ts dist/cjs && rimraf dist/**/*.test.d.ts","check-types":"tsc --noEmit -p tsconfig.json","format":"prettier --write \"**/*.{ts,tsx,js,jsx,md,yml,json,babelrc,eslintrc,prettierrc}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"npm run check-types && npm run lint && npm run test -- --coverage"},"husky":{"hooks":{"pre-commit":"lint-staged && npm run build:types"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["eslint","prettier --write"],"**/*.{md,yml,json,babelrc,eslintrc,prettierrc}":["prettier --write"]},"devDependencies":{"@babel/preset-react":"latest","@lunde/babel-preset-es":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","babel-plugin-optimize-react":"latest","babel-plugin-typescript-to-proptypes":"latest","cross-env":"latest","eslint":"latest","eslint-import-resolver-jest":"latest","eslint-plugin-jest":"latest","eslint-plugin-react":"latest","eslint-plugin-react-hooks":"latest","husky":"latest","jest":"latest","lint-staged":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","rimraf":"^2.6.3","ts-jest":"latest","typescript":"latest"},"dependencies":{"@accessible/use-keycode":"^4.0.0","@react-hook/merged-ref":"^1.0.8"},"peerDependencies":{"prop-types":">=15.6","react":">=16.8","react-dom":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@accessible/link@1.0.3","dist":{"shasum":"44a9167ba73359168ad5c0f56924af4090b60d44","integrity":"sha512-wmgjMb84iW911Lj96Ba0UVyaeOST2rTXpDzwxUk0ulx/r/ABYSacxKF6SBpl1qVFqyuYxG+ICB6G4XlRZL/v+w==","tarball":"https://registry.npmjs.org/@accessible/link/-/link-1.0.3.tgz","fileCount":11,"unpackedSize":9560,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey/5rCRA9TVsSAnZWagAA0S4P/iulqucXpN89/TzSTAIa\n6LEuL2UMk+zL/D+g6rk8QBud0UzJYd5cQ4Zp1muRchTVXMpKKlQ3tB5oDSmT\npEVtULxRMqdeEGzEzeDF765rkXQ1uoYU4hEuTeHCJD1UKWwL2ILawp8owwnf\nR7t93OA3ojlPlIdO6rb1w+Yj/w/xA6QP6kr6AzArPvhdW2CAphERD4mWZhK6\ndKz/YZtcoKcYWryxWEoLaEldkT+3a2m9UA35eKq4gc2GhoR5kjS6y9phgjmh\n8jL7/h8/necDzqC9qClJNTBXyU2gQBquaJhXkF/RX3/r2lO6k9sUyuCLHvYP\nucMtzWapN0BAgnny65JcsaX5SX9mhACCsrCXvmpcpcN+VEZnXTbZX00rcyKT\nX3pEiFocWUoBrGp4mDCU38PFwDY7ZVcoKJMEBKD92ZLAVGDMQMq+CAyNFM7I\ns/gqiMC6ZdYwXG6Hwn7xQuVMlpXg3y8Ghu0p+OkSjk1w5LyNd/iOR0Qe3r7g\nNZEwhvLG2Kj6wCTR7Z+wwFRbrt2v4s/LZGNzu3/5t8lJyCfWZc8X223X7P0E\npe4MrW1kAyoTVvvOXqKCmyhddiJVDEyjpPEx7iOLYbYLSP/9LZnzbZ4tK16m\nWVwFdUuHFOcYHO9L2V51KvpVm5yvUgxSYZPjYdorePsLIXuG0EHurL02FO4J\nF5Mz\r\n=8YVL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGOCN+w8Xv4Fsk4FaqfXtJDqbjnr1LMgsLPsySCZhhaeAiEAjYLm0lljSerNfqpGX/KOygs/blfGqQYEf2PjbtzYOEY="}]},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"_npmUser":{"name":"jaredlunde","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link_1.0.3_1590427242980_0.6865733793749182"},"_hasShrinkwrap":false},"1.1.0":{"name":"@accessible/link","version":"1.1.0","homepage":"https://github.com/accessible-ui/link#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/link.git"},"bugs":{"url":"https://github.com/accessible-ui/link/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"A component that adds aria attributes and keyboard functionality to non-A elements in order to make them act like native links","keywords":["react","react component","link","accessible link","a11y link","react a11y link","react accessible link","react link","react link component","a11y","react aria link","aria","aria link"],"main":"dist/main/index.js","module":"dist/module/index.js","source":"src/index.tsx","types":"types/index.d.ts","exports":{".":{"browser":"./dist/module/index.js","import":"./dist/esm/index.mjs","require":"./dist/main/index.js","source":"./src/index.tsx","types":"./types/index.d.ts","default":"./dist/main/index.js"},"./package.json":"./package.json","./":"./"},"sideEffects":false,"scripts":{"build":"npm run build-esm && npm run build-main && npm run build-module && npm run build-types","build-esm":"npm run compile -- -d dist/esm --env-name esm --out-file-extension .mjs","build-main":"npm run compile -- -d dist/main --env-name main","build-module":"npm run compile -- -d dist/module --env-name module","build-types":"tsc -p tsconfig.json -d --outDir types --emitDeclarationOnly","check-types":"tsc --noEmit -p tsconfig.json","compile":"babel src -x .ts,.tsx --ignore \"**/*.test.ts\",\"**/*.test.tsx\" --delete-dir-on-start","format":"prettier --write \"**/*.{ts,tsx,js,jsx,md,yml,json,eslintrc,prettierrc}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"npm run lint && npm run test && npm run build && npm run format","test":"jest","validate":"npm run check-types && npm run lint && npm run test -- --coverage"},"husky":{"hooks":{"pre-commit":"npm run build-types && git add types && lint-staged"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["eslint","prettier --write"],"**/*.{md,yml,json,eslintrc,prettierrc}":["prettier --write"]},"devDependencies":{"@babel/preset-react":"latest","@lunde/babel-preset-es":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@testing-library/user-event":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","@typescript-eslint/eslint-plugin":"latest","@typescript-eslint/parser":"latest","babel-plugin-annotate-pure-calls":"latest","babel-plugin-optimize-react":"latest","eslint":"latest","eslint-import-resolver-jest":"latest","eslint-plugin-jest":"latest","eslint-plugin-react":"latest","eslint-plugin-react-hooks":"latest","husky":"latest","jest":"latest","lint-staged":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","ts-jest":"latest","typescript":"latest"},"dependencies":{"@accessible/use-keycode":"^4.0.1","@react-hook/merged-ref":"^1.1.1"},"peerDependencies":{"prop-types":">=15.6","react":">=16.8","react-dom":">=16.8"},"licenseText":"MIT License\n\nCopyright (c) 2019 Jared Lunde\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.","_id":"@accessible/link@1.1.0","dist":{"shasum":"fbda6eb059cc648d2c416706ea5fc65404e552ab","integrity":"sha512-A3iCjQHY4Oiyac3h12bNo86VSpQ/WKR6L+Z5zDcS6HOF17yN9AZQyCI5x+EEH/q4UUNTh+5jGmMzJq+ypCENcw==","tarball":"https://registry.npmjs.org/@accessible/link/-/link-1.1.0.tgz","fileCount":18,"unpackedSize":13390,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0owoCRA9TVsSAnZWagAAuvcP/2nGJ01WJQthpNZ2zulW\n0BHwx4SCgCEQ6pdfvzarK8DZhl9k5GIGDbQGi5sd+O7K8z1A5uLi+qkY+3al\nQXPkrETm92r1uKrItHy5seccyNRRRkktwcO+qj8pPxSK0IvYuu/ESyXR3hV3\nCt+kQ9F3o57A5WZbvmXeRoxntmifgerVn8yoQYe7Dimn0E4Vq4cFvdZAExae\nG+c9bN3FXks4bqAB2ieVb9dEo2umV6h4KK+/t+vRycjf7cpxO/hlyr25Gprj\nuCmuCeXp75ec6CzAqc2a3YUS/bQw2CeTHg87PrYPqRwAB4W5j9GJreoJLjRI\nRV8wxSF/v+MnCh4FJzbXrj7tIoAXTetGpcjV5wttlQ3FGth+77o0qxnKwkrQ\nOYlqkCrPcAnv6YaZACNpvXXPhlUmh0AreLSrHO5cOzunN2Vj+3ApWVGVCFPa\nZeELix0p0XZF7HGLiEWLS4lgNBXLYC2S1B4ZdeeYaqKAMdjFbAnxv+1aibwH\nnHlkaQNLdILCp31/a33Q3MrNvKibHBoJP7TeAVNaK7MpNCj+V6i0ns24Nm+P\nzvNcrMsdQmEozUK0lOxfRrvX4UE1A3Ya2WjTrSVGdjccA1/6GGuTaddBdPMW\nfnx9DcVPRK0dahE9Kmd6+NygJwhlo/2O5m0kLZR0nxkMqbDU7zIc+mVbmG8/\nKIOk\r\n=ECUJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIALjmGw14umqLixUl++aS+0s+xyhSgdxcvxrNtitHXoHAiEAmnjG/upLoQWNuhRuL3XVwKEQtx2oatFLMUqh3PhQ3XE="}]},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"_npmUser":{"name":"jaredlunde","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link_1.1.0_1590856744197_0.7064352222346915"},"_hasShrinkwrap":false},"2.0.0":{"name":"@accessible/link","version":"2.0.0","homepage":"https://github.com/accessible-ui/link#readme","repository":{"type":"git","url":"git+https://github.com/accessible-ui/link.git"},"bugs":{"url":"https://github.com/accessible-ui/link/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"🅰 A component that adds aria attributes and keydown events to non-A elements in order to make them act like native links","keywords":["react","react component","link","accessible link","a11y link","react a11y link","react accessible link","react link","react link component","a11y","react aria link","aria","aria link"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/accessible-link.js","source":"src/index.tsx","types":"types/index.d.ts","exports":{".":{"browser":"./dist/module/index.js","import":"./dist/esm/index.mjs","require":"./dist/main/index.js","umd":"./dist/umd/accessible-link.js","source":"./src/index.tsx","types":"./types/index.d.ts","default":"./dist/main/index.js"},"./package.json":"./package.json","./":"./"},"sideEffects":false,"scripts":{"build":"lundle build","check-types":"lundle check-types","dev":"lundle build -f module,cjs -w","format":"prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,tsx,js,jsx,md,yml,json}\"","lint":"eslint . --ext .ts,.tsx","prepublishOnly":"cli-confirm \"Did you run 'yarn release' first? (y/N)\"","prerelease":"npm run validate && npm run build","release":"git add . && standard-version -a","test":"jest","validate":"lundle check-types && npm run lint && jest --coverage"},"husky":{"hooks":{"pre-commit":"lundle check-types && lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"**/*.{ts,tsx,js,jsx}":["eslint","prettier --write"],"**/*.{md,yml,json}":["prettier --write"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"eslintConfig":{"extends":["lunde"]},"eslintIgnore":["node_modules","coverage","dist","/types","test","*.config.js"],"jest":{"moduleDirectories":["node_modules","src","test"],"testMatch":["<rootDir>/src/**/?(*.)test.{ts,tsx}"],"collectCoverageFrom":["**/src/**/*.{ts,tsx}"],"setupFilesAfterEnv":["./test/setup.js"],"snapshotResolver":"./test/resolve-snapshot.js","globals":{"__DEV__":true}},"prettier":{"semi":false,"singleQuote":true,"jsxSingleQuote":true,"bracketSpacing":false},"devDependencies":{"@commitlint/cli":"latest","@commitlint/config-conventional":"latest","@testing-library/jest-dom":"latest","@testing-library/react":"latest","@testing-library/react-hooks":"latest","@testing-library/user-event":"latest","@types/jest":"latest","@types/react":"latest","@types/react-dom":"latest","babel-jest":"latest","cli-confirm":"latest","cz-conventional-changelog":"latest","eslint":"latest","eslint-config-lunde":"latest","husky":"latest","jest":"latest","lint-staged":"latest","lundle":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","standard-version":"latest","typescript":"latest"},"dependencies":{"@accessible/use-key":"^1.0.2","@react-hook/merged-ref":"^1.3.0"},"peerDependencies":{"react":">=16.8"},"gitHead":"fa48ad7d1b144d25c3a77757bbd7dfb079457c20","_id":"@accessible/link@2.0.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-9/2zm0327+R0aIw474T/lRiau1DvdhzdXde9RupcjwBiLhTfucc/xtskckbfvt6LkNWmU8rbYWXU7zA++j6GCg==","shasum":"0f60019b49bcb06084d3fe92f3702209ba885337","tarball":"https://registry.npmjs.org/@accessible/link/-/link-2.0.0.tgz","fileCount":18,"unpackedSize":43313,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBUzcCRA9TVsSAnZWagAA3IcQAJ5MqbHKmElWHYlM1PgQ\ncbrGzWCQueTzXNCFKIYKJW1o8LlpaVxsXwjhY2sbfEdrk7O9ITILudeYvMjD\nXlPWK+nQKkwcjIy71Lxg2BVS65LyG74dzbo5ZuSG/ui44qvRewmxr9uERpgI\ndcnYI9rGixdT2JDH8Q7EdaJsL0bB+uYJ1xClMkI0Qr/BnvI+kXDrVib7fOGH\nfnH4SIP2vXbUFFRWOKLTBvQQxgHr60l+qgmA7W6vaM7lFrk8zdY6jMsjdyU8\nFrahK9/OpYRABluSL82o3dRDq5TC7Dk05/LHo1Stgh6kpLuCBR4IpjTnktZ8\nivX9PlhabGYMYK1RNU41dP/ODFUW7bq+eMg7CnyBHxUxnCMoUTCvsKI8uTFZ\nqNlkLU108i84KLX2WjBIECPW7JXK3sZRinIfdjnopWWN7MoHokpS/dRpkI+I\nN2cACyUCjbl74MU0Uqxp8BHf8qEhZ3XdC5J0pyTf3qN2mSL4hDY9T6c8/ixM\nEAyr/LC5jxEcu++AYX0k4k9E/66fdsUlT2y+zz53ehBflEh5Cua5MPxoZboR\noqqg9arW+FxHzE0lBj+vVfkTbHAtfw/IwvZnLekWG8be6ybT6uGwSIB1bzII\nTkd/ciXLwIRhbHhdveK9F9jnUMLzcD3l44ZdSGrqTM2o7dF9KKtYLXvfc6bm\nH0PI\r\n=/y5Z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDETRiVfLRxUffC2+E6sHV23yy66FF6C85HSCwHtEX+dwIgYbjrYdmH2+kXOmT9oY8yS+9ByNhKEd3BWUIEbKJvp+w="}]},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"_npmUser":{"name":"jaredlunde","email":"jared.lunde@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/link_2.0.0_1594182875966_0.11576149698413629"},"_hasShrinkwrap":false}},"time":{"created":"2019-12-29T04:43:16.807Z","1.0.0":"2019-12-29T04:43:17.215Z","modified":"2022-04-04T11:07:07.317Z","1.0.1":"2019-12-29T04:50:05.153Z","1.0.2":"2019-12-31T16:09:29.482Z","1.0.3":"2020-05-25T17:20:43.099Z","1.1.0":"2020-05-30T16:39:04.371Z","2.0.0":"2020-07-08T04:34:36.145Z"},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"description":"🅰 A component that adds aria attributes and keydown events to non-A elements in order to make them act like native links","homepage":"https://github.com/accessible-ui/link#readme","keywords":["react","react component","link","accessible link","a11y link","react a11y link","react accessible link","react link","react link component","a11y","react aria link","aria","aria link"],"repository":{"type":"git","url":"git+https://github.com/accessible-ui/link.git"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"bugs":{"url":"https://github.com/accessible-ui/link/issues"},"license":"MIT","readme":"<hr>\n<div align=\"center\">\n  <h1 align=\"center\">\n    &lt;AccessibleLink&gt;\n  </h1>\n</div>\n\n<p align=\"center\">\n  <a href=\"https://bundlephobia.com/result?p=@accessible/link\">\n    <img alt=\"Bundlephobia\" src=\"https://img.shields.io/bundlephobia/minzip/@accessible/link?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"Types\" href=\"https://www.npmjs.com/package/@accessible/link\">\n    <img alt=\"Types\" src=\"https://img.shields.io/npm/types/@accessible/link?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"Code coverage report\" href=\"https://codecov.io/gh/accessible-ui/link\">\n    <img alt=\"Code coverage\" src=\"https://img.shields.io/codecov/c/gh/accessible-ui/link?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"Build status\" href=\"https://travis-ci.org/accessible-ui/link\">\n    <img alt=\"Build status\" src=\"https://img.shields.io/travis/accessible-ui/link?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"NPM version\" href=\"https://www.npmjs.com/package/@accessible/link\">\n    <img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@accessible/link?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"License\" href=\"https://jaredlunde.mit-license.org/\">\n    <img alt=\"MIT License\" src=\"https://img.shields.io/npm/l/@accessible/link?style=for-the-badge&labelColor=24292e\">\n  </a>\n</p>\n\n<pre align=\"center\">npm i @accessible/link</pre>\n<hr>\n\nA component that adds aria attributes and keydown events to non-A elements in order to make them act like native links.\n\n## Quick Start\n\n[Check out the example on CodeSandbox](https://codesandbox.io/s/accessiblelink-examples-rohqw)\n\n```jsx harmony\nimport {Link as AccessibleLink} from '@accessible/link'\n\nconst LinkButton = () => (\n  <AccessibleLink>\n    <button onClick={() => (window.location.href = '/foo')}>Go to /foo</button>\n  </AccessibleLink>\n)\n```\n\n## API\n\n### &lt;Link&gt;\n\nAdds `role=\"link\"` and `tabIndex={0}` props to its child component unless those props are already\ndefined in the child component's props. Also adds a `keydown` event for the `Enter` key which\ncauses the component's `onClick` property to fire.\n\n#### Props\n\n| Prop     | Type                 | Default     | Required? | Description                                                           |\n| -------- | -------------------- | ----------- | --------- | --------------------------------------------------------------------- |\n| children | `React.ReactElement` | `undefined` | Yes       | The component you want to add accessible roles and keydown events to. |\n\n### useA11yLink(target, onClick)\n\nA React hook for adding a11y properties and link/role=link interop to elements.\n\n```jsx harmony\nconst Link = () => {\n  const ref = React.useRef(null)\n  const a11yProps = useA11yButton(ref, (event) => {\n    // This is your `onClick` handler\n    navigate.to('/home')\n    event.preventDefault()\n  })\n  return <button {...a11yProps} ref={ref} />\n}\n```\n\n#### Arguments\n\n| Argument | Type                                                       | Required? | Description                                                                                          |\n| -------- | ---------------------------------------------------------- | --------- | ---------------------------------------------------------------------------------------------------- |\n| target   | <code>React.RefObject&lt;T&gt; &#124; T &#124; null</code> | Yes       | A React ref or HTML element                                                                          |  |\n| children | `React.ReactElement`                                       | Yes       | The component you want to turn into a button that handles focus and `space`, `enter` keydown events. |\n\n#### Returns\n\n```ts\n{\n    readonly onClick: (event: React.MouseEvent<T, MouseEvent>) => void;\n    readonly role: \"button\";\n    readonly tabIndex: 0;\n}\n```\n\n## LICENSE\n\nMIT\n","readmeFilename":"README.md"}