{"_id":"@accessible/disclosure","_rev":"17-2de99cd168d1a86bc14f3d4c382a854f","name":"@accessible/disclosure","dist-tags":{"latest":"3.0.2"},"versions":{"1.0.0":{"name":"@accessible/disclosure","version":"1.0.0","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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/button":"^1.0.3","@accessible/use-conditional-focus":"^1.0.1","@accessible/use-id":"^1.0.4","@accessible/use-keycode":"^3.0.1","@react-hook/merged-ref":"^1.0.8","@react-hook/passive-layout-effect":"^1.0.2","@react-hook/switch":"^1.0.4","clsx":"^1.0.4","react-portalize":"^2.0.2"},"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/disclosure@1.0.0","dist":{"shasum":"915045a3f779a07d41dd9252d70864438fb6c61c","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.0.0.tgz","integrity":"sha512-3U46eipf4ILslZoKXXRRX/jsxFFvJw5lwBrO6SaSUyPeWHUK6qQj1+I4pM/bbhEX7Oe+msDlmsKuYlcIYyQw2Q==","fileCount":11,"unpackedSize":35910,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIQ8QCRA9TVsSAnZWagAApBsP/0eml21md+dn0oTz4g7K\nd+AOLTvoF6ktsevVcEnvOzdTg4N/iSaoattpOgle4do9zP1otXtsxez1xxFV\nCtCEmjB/sSPnlI23h4wfj3ailcw4SD/R8N4ZfuWHlgq7jrD7RSscRIUHwCjp\ni4hpTyZol7BtbUgsGs2VWN9yxWmFlHX/I2A9x0jn++NoRJmewZ6sCQszRNMZ\n01W+Vm9OtfUXDojBr0p9XZbVbA6R/bdAQDRDBDdO774FqBtjnLdifxSJHoVM\nT3GA15+/FBw075JzJ3uK6jRPPpuII9EIbODsqKqGu0TArtLbKp8w7I8iVvPa\nayJZNKTnCmDuoGAGOTJ5l1Io9pvwYO+5fBWHq9lwpVjjYaXnE4MEQCANVPXC\nesTomN4gnRUHrwMePdZ3sBz5DruT+0zhUjsVHG0NsahRJUA2UB3Kr20auvpM\nc+TNO+K5DM4Nd3E3QABxkeFsHKfmq1yf9QN6XPNfOBQUMInCTwgyvEqEM9zY\nfxI76y2wu58f5HdsdN/qCFACDm/WMOxNc/UyuCKsexpiFrhN/k3TWQ6BK7Jn\np2EPZ1oxQzqAPx0i+X0b9bvR3Smqn1sjtrj2VPvTt9/nJnP3WwV0sZEbPQTe\nHbgMpiwJso01oqaqrmDA5g0yq5PKK4n5l7Z6sPVJuaeNDGAbbWtTMGKw8ocb\nqEng\r\n=biMR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEbYSMd4omoQxEnmxWGzNOfW6VaG/qmhYRFgLhOYRUHpAiBbZ1PmLBBBOFXth61GsDcdjdpY3Bald99H4XZEj6hAbw=="}]},"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/disclosure_1.0.0_1579224847801_0.001757504384187536"},"_hasShrinkwrap":false},"1.0.1":{"name":"@accessible/disclosure","version":"1.0.1","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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/button":"^1.0.3","@accessible/use-conditional-focus":"^1.0.1","@accessible/use-id":"^1.0.4","@accessible/use-keycode":"^3.0.1","@react-hook/merged-ref":"^1.0.8","@react-hook/passive-layout-effect":"^1.0.2","@react-hook/switch":"^1.0.4","clsx":"^1.0.4","react-portalize":"^2.0.2"},"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/disclosure@1.0.1","dist":{"shasum":"fa7b8b5a892637e49ea8e287362f0e8381f59a61","integrity":"sha512-0Zzf4esHPSg9vaa7TXXa0nZw/CDc2Fgi8MPHleVFDApMNcZBMCdhTu9OkIp1jK5eRE5cqwoR4Z31u3/V+jxZww==","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.0.1.tgz","fileCount":11,"unpackedSize":36043,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeuxybCRA9TVsSAnZWagAAdyMP/RaGoXlSXYgYjHPCAyru\n7CnFJdbAG+4qT6IUKolIdg/PXM7xFLivM/MmJS2qHWFP1KZ9u11OKTwNPVFh\n6jbg4QK0yA3zJZQXgiNyMyOFgJvDk67ISULQ2d0AX3B9Sq2xzEXIO5/YhZHe\nQ5agrN+6TmuyFBF6I8p3lmZIwEZ6B9ZivHN17i8a05PTPeer0F+ltwkVbJGs\nm/G0nq0doD1QeLSRtjlnPnjsf3LyYsjJm1rY/O2mwWpmHRO40Y46heW+0Ynt\nowGfKq5RuaX/PMKYcGsNtbLqD4Ml3Rz8f9WxeCTbECl5jZo/ula7gtYRUBox\n9bRi9pjDGfIS610v+U4M97Eg0peR4zDtQ1XJy2Jm6LvPaOw3dXVIkKBO/PBk\njY26cPHIh8idXKxlJu0wGVIpt5HRAQmQLA1/ziq46xxmP448NGDAqHJaGQIP\nuHsYBKdHkYpQeO4ONTwTifnVj2IFgutaqWBlKBVXzL9R8e4Z2NPfZTtVax4/\noQs8CQCR6bixX03qzuyqWw5dGHW3x+347kgVn60wnrJkXO2eJpLwTDV7EMno\ngRzZPqfjGuXFW4LQR41UaAI6ujC8DpM49HoCCxFdUB7jVm7L076p09QpYiH/\n5gjaCEgHTCXUzcrxkLzIgSHzqoVc8ryN7hOn5R6F+7EcLCh0OzfXlxEb+OKe\nKQuO\r\n=6H0k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBXFR7+F/Zi+K9ViyJMuSK+ZsrOY4ji7a4HlBcJ6daNSAiA9QGaH1CXVMEdED2Yuxaeyy5DReIfVEdffkWF0jdAx3A=="}]},"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/disclosure_1.0.1_1589320858677_0.914585014844919"},"_hasShrinkwrap":false},"1.0.2":{"name":"@accessible/disclosure","version":"1.0.2","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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/button":"^1.0.3","@accessible/use-conditional-focus":"^1.0.1","@accessible/use-id":"^1.0.4","@accessible/use-keycode":"^3.0.1","@react-hook/merged-ref":"^1.0.8","@react-hook/passive-layout-effect":"^1.0.2","@react-hook/switch":"^1.0.4","clsx":"^1.0.4","react-portalize":"^2.0.2"},"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/disclosure@1.0.2","dist":{"shasum":"62f4ae725e87d43c3e02eae671cbb708d3d3623e","integrity":"sha512-a+qHTvSgWIHXNmN2Mi4RVbnOKtqrb+eOibD2FT6ztQvvOXR0raZEPFIDO+B7iLfumsu2WRGRw/gyuh1qsvEemw==","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.0.2.tgz","fileCount":11,"unpackedSize":35989,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJexgh/CRA9TVsSAnZWagAA7P4P/0is1W39Tw2svC0fKPNY\nTreCzdmlHjCBiJ2kcrsdVZYvxQpfFhlCs4FJQAoghZw0RC09Nv8GicYodQqO\nVjyJcfM03A8r/9MU+/oe+zZ5NjmBTH+4YTzlOvLOJNHRcBgjlCc34f61KYRn\ndu6/v9WBMi6PtQ4Z9y3wV8c74EieIpHjdRU19DeyLFdGUppb76xhGGX3Mwnb\nfgbsixfqrglgHUZZpbY8RDjz1a5mWhG5Z4QcZOjEJrEupgeYzbIJ+BoyNi2I\nZ3pG50ijPRjau5v73UNfBgOyfSyWwvQ+CANvgBEN/hMRc9rXsuXeXuUoe+9e\nvhSJxE/D+6Swu4JVXJtIY8Qj+cm6IvfgABcxj04betHlQeUEs003vkAipnfg\nnYR7xH4d5TDa5pJivDd8Mk4WTZi/fp4hXMvmPefzUd/8oqfGQ/sKSiBnlAA7\nigNcoYy7tAOj+mQ4YTM75ZmMJ0VR1m4PRS9xw8cyamEVXNqoYEpXyyDhJ1cp\njyfQX0rVyZXmB09YFjjI5JbvEiBW5zAql3JX45jKxoPCZ4sRH9gapztca1Ov\n1tNR85dvpLtY0GUMynsiZ6wmjVessMHV5AJ+X1kPa2DkDVS2ZJyqr92cX9ff\nIeq+at/5yDgNl0fkLkqm6FkhWGhke+9WCBW3z/YwchMo29y9flhf6nQh1EAX\nGoJI\r\n=n1Ow\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTlZQIiNLzS8PsE30ekfcIioE4+hNW16hptCn0GKwXRwIgaeltVWb5W9OPrgyJ9rVfUAgWuzXpqLshmCf+eUm6WIA="}]},"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/disclosure_1.0.2_1590036606589_0.4780411957100237"},"_hasShrinkwrap":false},"1.0.3":{"name":"@accessible/disclosure","version":"1.0.3","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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/button":"^1.0.3","@accessible/use-conditional-focus":"^1.0.1","@accessible/use-id":"^1.0.4","@accessible/use-keycode":"^4.0.0","@react-hook/merged-ref":"^1.0.8","@react-hook/passive-layout-effect":"^1.0.2","@react-hook/switch":"^1.0.4","clsx":"^1.0.4","react-portalize":"^2.0.2"},"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/disclosure@1.0.3","dist":{"shasum":"09e8a882ebde945137ed3b1551f4982f5ca32f3a","integrity":"sha512-+YvEcQaIZvyp9a9bn4luMSm640iCfpc87yn8xaFh8cbygnKb5P3Ltxrgq1hdF2g8VAuLtSpnd1PrlK8NffmK7g==","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.0.3.tgz","fileCount":11,"unpackedSize":35897,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJey/3tCRA9TVsSAnZWagAAp9kQAIpWzuSVEjfg11v/+5N8\nXj9Ha/ab4QWTMy5pU4UvbpNL4AyGC0HY+KmlzFCY1fdwdUUitmkBtojOagB/\nJBH222mpcia1hsbbDLYwSwqWHlqTBNiSohLy+NPLxq4jAAf2clAS6ztjhLT/\nWO9KKlDdwF/QofC5sEj0b4yBSZiJ7D94OZGx48BVFx/n29h6tthk9YAhVRA2\nefiYIA2T3Jyeh6UjQNeeeXn1AidBSSSvBJ7352svtaNdIH3FA8cLcgU79O5z\nw794Md/ND7SICFmtJJCVFApzE4Gc7FWXSnvk50bjOlPdAYZ70ygSZkYkd6R+\nZIrPQ7qv1Hvuv7Gco2f/+4qqiYpbzfUtmV+RYTzVS49F1OLUDyvq+V/BKE5w\ng158IOd8Do0zS6x1mvn4rnEsd3T2daOOfKmtkvgShuvqK+lk9dnbRxaFd9uR\nOCmAqWy9uZlZBTye4oRNS84lvzPA+uM1fKpwdon1b5AB7IBz9Z9GL9rGhfSW\nH/6wYWJdPFzlD4RBEP/CV6MH2DGfk71dcJYIS+WdVf8VJLHl/ABPB70Vn3eK\n6LbrZQy20eBf9anI/+e7wTMowk2xdOUVZH/T+Ca1ezPWjtHjraDYtyeawojh\nODQOVlGoPZQ9oIiXpVgihXTHzsipDLqL132/nU480AQanmoPkUmTEpiABFdU\n07fO\r\n=09ch\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeQQY/qdSSzdhZJPkk9LVibbJeSfplI6NevfrX1ZVAtAIhAKf+r9+v/O8ma2xSN5Azy7/F2fmaKZwaGNo61EyEsEH1"}]},"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/disclosure_1.0.3_1590427116711_0.8119605818106537"},"_hasShrinkwrap":false},"1.1.0":{"name":"@accessible/disclosure","version":"1.1.0","homepage":"https://github.com/accessible-ui/accessible#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/accessible.git"},"bugs":{"url":"https://github.com/accessible-ui/accessible/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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","@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/button":"^1.0.4","@accessible/use-conditional-focus":"^2.1.1","@accessible/use-id":"^1.0.4","@accessible/use-keycode":"^4.0.1","@react-hook/merged-ref":"^1.1.1","@react-hook/passive-layout-effect":"^1.0.3","@react-hook/switch":"^1.0.4","clsx":"^1.1.0","react-portalize":"^2.0.2"},"peerDependencies":{"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/disclosure@1.1.0","dist":{"shasum":"4f52c270bdd76312fe5e1fc4f7897bb7a371e9ac","integrity":"sha512-MwNhoFo5gxqNk5DXtE8nYOWRzYGLCjwPkSTc7FNHo4hP6l+YrF7U13XGbQZva6zR9I78eEi2LuWUxvtk0dF+XA==","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.1.0.tgz","fileCount":18,"unpackedSize":71752,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0ImUCRA9TVsSAnZWagAA6gQP/i69TlmOGfkGVkhinjRv\n/1A3AtG/Kqb/RJ7JZx4L/7YdLfFBxavIzGTanoM4CCdKIc+8b3Q2A+EMzJxp\nwE1Eey/mLNzA3SSE/7/h2bq4RCd77B20Gx8j7FdSGlBH7bTgKNrQRM3OC/zV\nbImXpfxj3Ax1qadmeBgwTbImAzAketz5zvnOlYlethV3DnGjr/z1BOISpOXk\nxbFKLzH4WSFuQ0PNV+2q1HpFTID8mZ1aDbWwS8fyLiNhmPpqSUwQzwdnV77s\nu1wFazxJFsiUVBzHXq33J1olLX4HThe2a2T5nnReFooF/z9lD2yjs2i5xWJf\ntVxGZqx+9jwewBdHbbb3WOE0jeNXa7yUnw4nJ8MEbXT0PNSUCmjG6U8Y/by+\nDizp4rIcoFHxglxo8GsDsc5gaRDQjkhNcDjgGK5O2NwBvmC5QhhWxNbIBRUG\njAqNb8ZKq7Cf3d0nB2oRjezxP3a/rY8iRUf+p9VAoewrL9hAY9aFh1li7z9f\nCBRmDRAMWbAdMzWZ34/2J7LZ78J6g1VfXjU08QFDAeDXaffg4HZghDm4GyDf\nBqIYd404x83xGYIcLjxbwU9Qx8+B2/TYh1WTSETR5WJ1/B19XV3x9/NmqGLs\nWX0Y4s+wSHd2lFYDH3h62trj6lDcC3jPxXyGU45RBEZY9YE4FaIv6GtPVyPW\nuFqm\r\n=qfXH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCaZM8PYB9HjKH199ZvYF8Ri0oz3xJvgMaYLlbFPO4SdAIhAK+jh7a9lIKUiK50m1mdQixUMJ0IaAWUCCKjTKwUqcAa"}]},"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/disclosure_1.1.0_1590725012233_0.7735545243760311"},"_hasShrinkwrap":false},"1.1.1":{"name":"@accessible/disclosure","version":"1.1.1","homepage":"https://github.com/accessible-ui/accessible#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/accessible.git"},"bugs":{"url":"https://github.com/accessible-ui/accessible/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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","@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/button":"^1.0.4","@accessible/use-conditional-focus":"^2.1.1","@accessible/use-id":"^1.0.4","@accessible/use-keycode":"^4.0.1","@react-hook/merged-ref":"^1.1.1","@react-hook/passive-layout-effect":"^1.0.3","@react-hook/switch":"^1.0.4","clsx":"^1.1.0","react-portalize":"^2.0.2"},"peerDependencies":{"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/disclosure@1.1.1","dist":{"shasum":"95d6d6a9b377879fb948c597e70246e8e64133c2","integrity":"sha512-KS/jNSXw3juv0a/5EiYiSN5rvHhWYEPAJ0p8CMkv36zf/ls22Owwl2FRONbH/tZz5JAk+7RxxpZ0WOU+moi+rA==","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.1.1.tgz","fileCount":18,"unpackedSize":72272,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0Ip2CRA9TVsSAnZWagAAHVgP/23D6U453lkyDm8fb6T+\nYfsUcKqRzh32ym+kYIzwXiZGX9wAFe/37exPUiP/ySAqNO2w7SOzSHR8I58n\nOro/RKfTWeZDp72Y8EItkujWnTVOipr0unRStqfAhQlhEK9HtbJI1J6MaTDN\n9JERMpUkadRFzoRKp4YcvB5RwzKmLSYoUr9L83TiLw8TF8aGFgOs66O2pRQO\nhm58EUkZR/I6OVFE09HHsOEenpfxAlTLFpE/qGEsGLG7XVM899AfjFye+Hey\nitZdDzJMFJe7bj9iCRYqMKMkNrdFSoM8ZpUne3qeuJ9fbVPApmO6g/PzHW1T\nm8Cdzl0OzrDNrns4TTGEF4yjErGrKwZ3RFFt9QINs/H8zudwBDNJ/lN8aB0b\n/LIn1YjU9sCZJguY9p1BjwTqZXfNiz2MSviFVhHWqLZxcsJWGnRTmPGxyy/c\nJafTYSwV3psBJHPacZmAM2GqS+GtYazOle4FMpAoDPHjJG+lF6b3Sw/2O1SX\n+fJckqrrBBS70Sm6afPRg0MwxK3cyoxZebNUDyO+zL9ewmvY61IprUk9KfcT\nrpyj/IoHgQUw5GMUfNJxFqdNas6UGNZmSsTzT1kh0sXwh8J7PYMq/sOJ5D3h\noCx11f+5wEBkd+QFclXJ3NmSyoUjflrYnPYvCWJW6VAVRAS/IXgOVCBKMX+J\neRLv\r\n=XDSb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAOEMi0FEKqBKXEYT3LmoOKx9S2vOqL4HDLD+vCnu31ZAiBMiVme+0rL2uWgHKodR8XwkB+VuWhXxHRXnrwi6lUsqA=="}]},"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/disclosure_1.1.1_1590725238107_0.7965566192486557"},"_hasShrinkwrap":false},"1.1.2":{"name":"@accessible/disclosure","version":"1.1.2","homepage":"https://github.com/accessible-ui/accessible#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/accessible.git"},"bugs":{"url":"https://github.com/accessible-ui/accessible/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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","@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/button":"^1.0.4","@accessible/use-conditional-focus":"^2.2.0","@accessible/use-id":"^1.0.4","@accessible/use-keycode":"^4.0.1","@react-hook/merged-ref":"^1.1.1","@react-hook/passive-layout-effect":"^1.0.3","@react-hook/switch":"^1.0.4","clsx":"^1.1.0","react-portalize":"^2.0.2"},"peerDependencies":{"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/disclosure@1.1.2","dist":{"shasum":"b1b4ee0a109d4bbdae9de6968ed08cd1fba2531e","integrity":"sha512-a1JDg3QhRl5LcAYOPDdhVgjp+0XO9zUKZJzp25z04NGbFVbeYMeI0vExXn0vAFFFcklv6W0V0gcXgm24PykAvg==","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.1.2.tgz","fileCount":24,"unpackedSize":89905,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0T7nCRA9TVsSAnZWagAAXX0P/05RHh4SiFTC663pu//Q\n71mhDQ3ddhPTyP9SihZynF6UeAbnIT0aUBKmzrEzizwspuKb/vnmJidrtBs9\nx+wNkELO1T5LNYf/2RQFMLgOq/h5sY33Ds9gKJl0CXGh/JeJjf/4Io4jXJn6\n+rYI8jUy/MXpRs53csEI6VL1PnlcjFgbxXQO09fXwnxXfp3kT9HOUfSJp+u+\nUa9L3cHYDLEpiAJ5fm727jbl5zbUcDQh9VbaGvfPYmiNMZq/xdMFRAz6sE9i\nb+U3tocsnNbE1G6UHxqIQ/EHrIch/tNbIp0GKtVOMRC67JU9siCUY/TMxNqm\n2nSaVyRys5aJDaVnD8bnHOSVNjTqN+1xF0wNQrQJdl/mhvwBabHE+71GX6UW\n9JREw7DKLYn/8z4LUGv/mh28FNoMNV16P/qBihBBuGjgFXSW/XSc78Ub1WdS\nA7+0YUznOKqT9xjrMPVg90YLnqrcDGCDpTZlYqcLhpMsKumhr5hFQZ0IbPJn\n+LSOFA94WqHSdDcrFVaIUIk/uBm1L59cY4MeqyIajPCHOcY4rGWpYUk+POCv\nwb9wJvskDDRqt7H3S2PsSe59ZsnpajHXLcyS6YjySUsC6nDsxz0YhqqhFd2D\nnSiCu6mIHl6GDLz3nbtu5J7T/vxRUiwF/s1SQogq0aBFSUIZKK/N6d0QzH2m\nO+ox\r\n=175h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHwxsmEEU7iEejKiY+qhLqrItJzUivBgezMhrYMiLH+wIhAOu0vv4wFRrFNTRIDMt9iP0GsV1wmqPmDVnNOk2Ljcws"}]},"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/disclosure_1.1.2_1590771431067_0.3733295733474571"},"_hasShrinkwrap":false},"1.1.3":{"name":"@accessible/disclosure","version":"1.1.3","homepage":"https://github.com/accessible-ui/accessible#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/accessible.git"},"bugs":{"url":"https://github.com/accessible-ui/accessible/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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","@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":"^4.2.5","jest":"latest","lint-staged":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","ts-jest":"latest","typescript":"latest"},"dependencies":{"@accessible/button":"^1.1.0","@accessible/use-conditional-focus":"^2.2.0","@accessible/use-id":"^1.1.0","@accessible/use-keycode":"^4.0.1","@react-hook/merged-ref":"^1.1.1","@react-hook/passive-layout-effect":"^1.0.3","@react-hook/switch":"^1.0.4","clsx":"^1.1.0","react-portalize":"^2.0.2"},"peerDependencies":{"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/disclosure@1.1.3","dist":{"shasum":"ffa68818deb4555c990fbcf07cd7b78e890595ed","integrity":"sha512-xWA2Vbqb7Dk81IYjWkh+7v3gRxLj9/USa4UZnurMXRqy5yloYx+JNPB0xgacnBAB6CLySJsU3KLL+XoVwKOIvQ==","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.1.3.tgz","fileCount":18,"unpackedSize":72366,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0bdmCRA9TVsSAnZWagAAN8cP/2BRsvX2JmQv6qgsjijA\nIhXPoHXVjaxd/5hTeoDxWEbq44dpyAraBMlrF83aAnLQmEExXTtMCIRql7ox\n8yxAv+gmIwFuV9LxPQjNImFDducYNGOv5pVYnovuR/tOyRsusjCTP7iZ4mbA\nktBNXjz7C6H59AgXwUZXQvr6vfHKAH/a5ZWJM8J64YVnKSB9zt9AiInptNc7\ngQP0ePSYCiALtNb0F8tc6/JLmu+mP9q84H0fkpj1hFnK+0Jr+T0XrQn+dGck\nDw60N2OuTT/F9kY3UDOXQa/9vAg5PkD5gFkoJUNIzIEaQgRNfCvg3Sour2BL\ns9ib/Ii773J7hWFeG4y69b7mdsHKdT93j/h+OUD988q/GMjpr7iBtj5fdvoM\niaI16SMOxYQTRY6XBqFmSq32w2ahrsJXM10vpp7x2vy4LXtugYkvMFXwEXe2\nRdzxD+ol3Rwi+y5aGzr9iatyPaaNCbuKvWA9TwwxF7YkDzTMFSsD1WJRf2hD\nTtL49EcGT/kqdaRYtE6v4C6WB9fD7FfT/cGJ6b9rIdoLpX5N2gTTRlEpR7Vl\nsEtyS3Zb3PKlZ3E3jcq3Q0OhnY5Ihp5oBKEkW9N/NIqyaY8L/Rw2VG+qSLDG\n/bzXve1rDgTMJhYIXSY+nRFbQyvUr6qA0PtYPFQVFKANTGJ0tkeiyc0GzHTK\nP6L4\r\n=wlB4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJoM38uvo6rn+qbW+WoBLK978vYRVmsxZQFapmZ/YbyQIgO7WEpWhYXTkrKbZXK5xCj2pJkR+btQtsu9A0OZajlq8="}]},"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/disclosure_1.1.3_1590802278108_0.045554578139059165"},"_hasShrinkwrap":false},"1.1.4":{"name":"@accessible/disclosure","version":"1.1.4","homepage":"https://github.com/accessible-ui/accessible#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/accessible.git"},"bugs":{"url":"https://github.com/accessible-ui/accessible/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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","@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":"^4.2.5","jest":"latest","lint-staged":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","ts-jest":"latest","typescript":"latest"},"dependencies":{"@accessible/button":"^1.1.0","@accessible/use-conditional-focus":"^2.2.0","@accessible/use-id":"^1.1.0","@accessible/use-keycode":"^4.0.1","@react-hook/merged-ref":"^1.1.1","@react-hook/passive-layout-effect":"^1.0.3","@react-hook/switch":"^1.0.4","clsx":"^1.1.0","react-portalize":"^2.0.2"},"peerDependencies":{"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/disclosure@1.1.4","dist":{"shasum":"8db8f7899402a3fa46d160c17538c1060e407daa","integrity":"sha512-weiXc3/M70mO+/JmmLtSSxEyQC6XhJs5sP9nv4RNH4xw70V77DiOociKxpjpXcaM8ymY0Yo+DxAL7EqFlhrnKQ==","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.1.4.tgz","fileCount":18,"unpackedSize":72564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0cPdCRA9TVsSAnZWagAA3jsQAIcGKeLLSSdehoMcscZF\n5LA6xv2UCq3wfaM+IfIl4JY57lXse1MT7ElLWKiPWkCPB1EllZJqZUVXoKJ6\n0OcTiNyPoHfQTz7QkAilkIBkvViktVleqHRUEImMJQcoYJQw3iVCLVoFaduQ\ni3576/5CJzSH9sESCr7EdYz9ofhvICN8rc9E449zn4SaT9q1D6CYlS2euVjV\ngF8EC4Gg+VQ6FPxLf4Vj7I4iHYcX477KguP4ktNhOftBU+lRYfdtPVxLPaBS\n+26zrkhP+QyOipmRNk8XtAKiG1qU1ZPyjwrl4IyOg2b+LPQbqmGeWN8QnOk0\nPXjbXtbBki0CV/pp7SzEZcZmz3U0TAFUObnlNQJIvKG5NhOsyXtGU98btrMT\nLSCi7tEoB4x/CmWAYhmyugYrtF2AQpg2aVW4y2Xp1UcDppwcsvE89hiVyj7Q\nDzg7STRexaNKZ/cRV1vCddbDJ4eydVlzBXNkL2X5bhHOqbdGSc08/vUH4e1b\noMvlyLtcrDBPLEWsbABtKNzf848fs3G7e5SAscK25UmI3Ob00nS3kqYcjJRn\noiC5fSYCmAEh5XY1dccpqVW8G6QInSXD87qj1qDclgu+A67gfPpM26DB31ap\nIn/zRCy26FcDfCBEPuCahhmOFPsTkTrepJ7007tB2V0Es092mk06uM3L4gXT\nebF1\r\n=hFmb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIdNpHirg6sIDZ6YiKEp35oN0MUbeS/AKfg6Es7Ke+UAIgW/5kSW3hmgNZtjF4K+q/eXtRSzAlc7gZOvkdeLIBYPI="}]},"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/disclosure_1.1.4_1590805468674_0.30380767288614097"},"_hasShrinkwrap":false},"1.1.5":{"name":"@accessible/disclosure","version":"1.1.5","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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","@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":"^4.2.5","jest":"latest","lint-staged":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","ts-jest":"latest","typescript":"latest"},"dependencies":{"@accessible/button":"^1.1.0","@accessible/use-conditional-focus":"^2.2.0","@accessible/use-id":"^1.1.0","@accessible/use-keycode":"^4.0.1","@react-hook/merged-ref":"^1.1.1","@react-hook/passive-layout-effect":"^1.0.3","@react-hook/switch":"^1.0.4","clsx":"^1.1.0","react-portalize":"^2.0.2"},"peerDependencies":{"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/disclosure@1.1.5","dist":{"shasum":"24e2835ea927c55a4c9ae96e3c998449504e1910","integrity":"sha512-FrunHBwx/ujRh8PdW1hIbjb8iD/zW+qfXSincQlrH/A7oX5Av5gG2/rOysQ3/9gwyX4m8qm67DJkgAl5XWJRkA==","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.1.5.tgz","fileCount":18,"unpackedSize":72564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0nf9CRA9TVsSAnZWagAAp74P/i96VpwALyoSUNESs/AI\n9EdKkp6GZrBw8CNuRjTtb/z4L14vxBLycckms8wIa44kIO0k93kI2j9FsVWH\nPTrq6JV5FUe3/pkLvVa5/8AmsPXINpM1inkP/NmmJsYGWRg8QuyJeS/IgUlF\nLxG6O3SSapPO7AACdFBaa4OPBx3r6Uqf7H7akUYkl77MweL1SvkE5viy7uvb\ntZL7tgD6TUoTAGF07hd9Y6Zr0BBqsElVxfH9D78VDToZ+sNmrTJk31btxI8p\nZ4dnyUtjcyDav9rJjeklczK4cXNHz725q7zQhytiaIftOTIb1ZjQFQ2UlgBa\n2qPeI0YUc0NqHxxa+QWLSlPPAaRKwtQ6FqeIrN4yvnOqgPf0TGpwDEXD1epR\n6GFYNjumRZ91ezTKIH+n45kab6NvhNwN0+NM1XbJSOtTZBls1fs8L/F5CIKF\nWMZSH7cqNFLDfo7u83K52gCADANfDCUzyxurTKB2tDcCbmOsi1GM8VR82Du5\ney9gF30F84tIDEtvuOdIMc97ZVDbIWjaBcDHBeavsUB3u1r4l0RZKZohvDPy\n1gHd43JKBaMKBeTgeCpqmOyk6tYJAfSWL4X0/rnqp8iRjy5VJG/3P4V8KV7+\nIJ9Hnry5IRClj9qlpccDV9gamO7Ugqq4aGgINAs3tSzsxCBmTjD7J/330mh5\nfoZb\r\n=rz1F\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQRFTpDAZXRx8Fg/k1MTeVz/QFZL3DzhKLNQkr+FQuMAiEA6VsojfbmvizmX2rGN9kxtCon8NCvNepLwZpZd4CIC9E="}]},"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/disclosure_1.1.5_1590851581211_0.20371109798873932"},"_hasShrinkwrap":false},"1.2.0":{"name":"@accessible/disclosure","version":"1.2.0","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"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","@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":"^4.2.5","jest":"latest","lint-staged":"latest","prettier":"latest","react":"latest","react-dom":"latest","react-test-renderer":"latest","ts-jest":"latest","typescript":"latest"},"dependencies":{"@accessible/button":"^1.1.0","@accessible/use-conditional-focus":"^2.2.0","@accessible/use-id":"^1.1.0","@accessible/use-keycode":"^4.0.1","@react-hook/merged-ref":"^1.1.1","@react-hook/passive-layout-effect":"^1.0.3","@react-hook/switch":"^1.0.4","clsx":"^1.1.0","react-portalize":"^2.1.0"},"peerDependencies":{"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/disclosure@1.2.0","dist":{"shasum":"8d7067a1dda42af40067e35866c176be0b5f9f13","integrity":"sha512-/yn4dx088fhAStiICF93HlJbrgiO6WHmMc7rvGZr0rl9LZMkEJi917Dq3EhhTFusI9brqTdrWMlN/ejHSSo1xw==","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-1.2.0.tgz","fileCount":18,"unpackedSize":72577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe0wtuCRA9TVsSAnZWagAAmMIP/3OOlErqTK13zIQyIfUU\n66uKYY2CqCoKUlKX8hNbnlgTxqwqlhHr0E842VbQpoeCAVUMZ2Mg1Llc30JD\noeI6ts/TVts181eq8leT78cX9ENcwjC8d1BiZIyO/Xr6T75j9FB1iWxT8syB\n8odkbdGy9gODXVBEOtwS5s3rrUpLBnGOjt3JsPYXu2GlKjnJJ1uaGrKdeh6e\noFrMoDMsIQBPiAFJd455nCIEx39EjzJBypHwq3dOkeq1U/o866CqlaoDZdpY\n9fN/WZxv6NFAUNcNqi8Kr1n+dlk8/lL9rPojKBZiBpG80CA4hy2/SF3A/qW2\nxyPnw6C+pH2D9L6XBD/zID5DrnuIB64OFmlZ1wWhhP+4X4FNAUaS/rjx7PMB\nONIegodqTCA0do7rt0uf6NvkYUKp6h/1sDfU+FioJrV89O2b3hGOxQOiGhSK\nSDEHg3Y/GCPrlQMHH3PEuxJPeUEAe4mBoDrg0NRAi9h4hLxRD9hyGyl/YR6w\nVnM/4a5CGekyvRb5NouXIazThvt2InLCtYPzY6Lnyw+yOa8Ba8e0Je1bI6GG\nRVfkC19Mpqgcn06//OuklN/WiV3yl5lAoPRWYVwZ/Y1NBkKcvLbVi7HXjHTO\nJdLg/H2mG31qZ1oEO/iLZnhrE5WZY0H+EtlyresZUtRch2ppRgzyEwQD7AaH\nQied\r\n=eDEJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGWBVnmrJ7hS7Ge4JrH1r+LACf4BYfqJIWt9elghB6OPAiEA+DXdDH/lI7wCyqda4elYyQzlvn2uKD2UVz6JLre6UrY="}]},"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/disclosure_1.2.0_1590889325556_0.9286171230996534"},"_hasShrinkwrap":false},"2.0.0":{"name":"@accessible/disclosure","version":"2.0.0","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"git+https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"🅰 An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/disclosure.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/disclosure.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 --fix","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/button":"^2.0.1","@accessible/use-conditional-focus":"^3.0.0","@accessible/use-id":"^1.1.1","@accessible/use-key":"^1.0.2","@react-hook/merged-ref":"^1.3.0","@react-hook/previous":"^1.0.1","@react-hook/switch":"^1.3.0","clsx":"^1.1.1","react-portalize":"^2.1.0"},"peerDependencies":{"react":">=16.8"},"gitHead":"128ac1127d411012d8898cb682d2c7b2f341368f","_id":"@accessible/disclosure@2.0.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-FrGZWaLIyo7szGnH1dnwuHjbKzYHq0Wtge1Cb0QGSviBtdPnRvMF7wJTMHUiSOKRcSFWQd3BNq06OzXL233hjA==","shasum":"61ee69d00fdc30d6a3fe7559a833f2551daa5841","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-2.0.0.tgz","fileCount":17,"unpackedSize":240927,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCpobCRA9TVsSAnZWagAAbTwQAJGcJ6puuIoXlZWYIqCl\nfCHQ2eXLUC39H/sM9wUdHjIOX67YwmQsaF/QhEdVMY2X0nfzsgos9tjZ8eem\n78kZw59jCGpTvGLd/B3MhmuFqIK7/LnGRv+yuqHfmmnsvTyqaC499fDaAbBL\nKTV1gRPCHBAFcTlj8opePCKXXmD/QdMs+OHAmQhWZjSy/hmMlmZo4JDSTHdE\n2VsazT1+7CroNCKHKioFkvHORNN+gFWbN3pSJRFKUjIpfDH/Woi/i8dsA4OZ\nLMN2AkzK+fBj1znqq9I99rZlZWNXpDQ4ZmJo9vazO9zDwQnHMWzCsz0paimU\nCg6iI2AU/8e0mnp5punvqZAXihX1BoELNbyfy4YZ4ZYocopHHgmelhYIM4me\nJhjxO7NnPZ0z1MpPmvmJAuCSjwpMu+Ammhbn1w1qFXBmjVWtn5/KtIr6Xis5\nN9yikw+psoivBi7NRuUYigcSrlVz4tP13z7NzxXpQcvn2VLyvPleITpmBpuO\nnDGWUKElpDMSnccpI9n4OP8EZPEhDNIOx4lhyaLRw5nn4K2MfrPg79kqnXbd\nr7xnHEAef26QzV7IYXHC2C80pwjERV3SHajU1ddkOSOYZh3eOQPgylgjPLdo\n2v7WI4fXpmDg8z0zsYBBCp/q06eRvuKfJUFvLnTQc6vENwqgf6V/XtwHmD38\nOj82\r\n=nilX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDawAWS+xeJbSjVgHq+/VgAD/cyeCqVHymrTH7IFtkTkQIgEuUQ2zmO3Z5Ox9/a+lVnei7XATzElKXZI7YMmHk516Q="}]},"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/disclosure_2.0.0_1594530330342_0.5599348381177143"},"_hasShrinkwrap":false},"2.0.1":{"name":"@accessible/disclosure","version":"2.0.1","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"git+https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"🅰 An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/disclosure.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/disclosure.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 --fix","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/button":"^2.0.1","@accessible/use-conditional-focus":"^3.0.0","@accessible/use-id":"^1.1.1","@accessible/use-key":"^1.0.2","@react-hook/merged-ref":"^1.3.0","@react-hook/previous":"^1.0.1","@react-hook/switch":"^1.3.0","clsx":"^1.1.1","react-portalize":"^2.1.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8"},"gitHead":"2e9264792c4e47efad710249895129f09d645d64","_id":"@accessible/disclosure@2.0.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-BoLNszJq+47K8mqbGG6nhYJlyKpIFKGsGQONYLWe+HPz0v1dAycz8Ztnk9X0oSoPE/hc6JmksT14DNqXetEEvw==","shasum":"a4661fb997274a525e5ba303199994588ad38f6a","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-2.0.1.tgz","fileCount":17,"unpackedSize":241232,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCpp9CRA9TVsSAnZWagAASksQAJR+F3WDeq9ePsDv/e1j\n0Nbi/H4HHt2ynrEl38wvKA8mkTeQGK792ICPvA1fYeRIp7U7x1YqTUsWIDAx\nmyn0GUcNN2EkAURfHYUBSbLZqiLUj2RWKC3uvubKtmebeki24jsnwABcKDY8\n0cdqcdMEgfKxkISnXAbl9/6cpMdmEnMTT/vmfyr3iuV64M3szXaiGIm1eZzO\nKh1eJ9wipu+Ik9jT2AVB8LMhIhkl9gp0E8X2WU84VUtNP9N/5lyFNvJNd/ZM\nlWDTKHfCPFgH5v5GwUdVEEkE7PqDbfYUJNER3Hh9Qj6xr2oHXh2onTCMScl2\nIU7D0EQGH7UNC6hSBP8QRsvEpRCKwJ5vfkWBezZTkaU3FFnezD3gMG4qQqKQ\n0TAhr0ChUWm6WyUwHAAcmy/f4/Nl8iJXAjoI2d6oGNw/acwHTuld3mSYAGxC\ni2/tqCXiz0SrLI00e9zft11EwedJkS7DQExBsPsU/dS+EFAvZz5eG+AMnGCy\nwV8GgTsaNYAvMD6XM3Chet2SrjRGzSn2G8//JysD8C1qEKUQBLoT1AWaAcmw\njc2gpQKHT84/1AcVeg9oFT1EngNe2A4LAHwlK0kf22cCB1aBtrX2le2O2H71\nfi2O+poqDcft5fvhunih5WlSEMl2Fi3AwlYcM973porI+YrkfXA1PoLfBFlA\n+Wnt\r\n=QAUI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICh/SfgYrgct6DheRzhF0ne4fCT1rZnMX/9pt/HUCf4fAiAxepfWMBNuM2GUo+isao2h18ic+LTqKzSow0JLSiBKNQ=="}]},"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/disclosure_2.0.1_1594530428669_0.730206472705377"},"_hasShrinkwrap":false},"2.0.2":{"name":"@accessible/disclosure","version":"2.0.2","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"git+https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"🅰 An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/disclosure.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/disclosure.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 --fix","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/button":"^2.0.1","@accessible/use-conditional-focus":"^3.0.0","@accessible/use-id":"^1.1.1","@accessible/use-key":"^1.0.2","@react-hook/merged-ref":"^1.3.0","@react-hook/previous":"^1.0.1","@react-hook/switch":"^1.3.0","clsx":"^1.1.1","react-portalize":"^2.1.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8"},"gitHead":"5d9c9404b5d3cb586d8be0fc279f594ef66c7f6e","_id":"@accessible/disclosure@2.0.2","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-I53H8Dafs0KEtWEr/oLqphec8j9TiLkBob7TGmTNJBaQs4OcSBVDDjCLbQKT4KpIj3BmRTRB9o9yUvujLsf7tg==","shasum":"7e3cc2d87b677900dc1528a757953a4f9ae83afe","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-2.0.2.tgz","fileCount":17,"unpackedSize":242364,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCp3sCRA9TVsSAnZWagAAxLcQAIVwsbmNf7L+Fq5W355U\n/cMJZEAyvHMvl5LLrZF0fNWPdNaqZrAGOyO+nPlX53/mKs7kRuHy0B/VOdoO\nP/PB3NuGJPDSGRv/gW54fNzuHeLjdQkjP2gRwEzbuNHln+bm7q6LN20WaGiQ\nEo+2lHXbvmuk88Lec8wZ6+Ge5cHRTJhxvbI630dcBTT/mPsEyuQxFwh7XH2x\n6ORKN+h70J4CmBHs8NBPwjHbGblHpdDornx+S9gdXNhXLl+YNvNta+FLrLoz\n6NlxDg0RvwnPPE6RroJ6KT5mWnaMfDSS0Kb1X2o+5R44AI2vI3uC1b1ac6P3\ny9txXF1+LNA5LEi0UEUyK9zu+sXMB+eA2QW3PdczQctlMyxvKrzEXl9JTZ4r\nfcOzxAexgZ5pROhxBNix6tDf0B6MQFWmrwEUt8R0w4l9PjoY0o69Y1Uabr1C\n2G04teyBeCNshfebStMaqG03a07vkgmPHOOUG81QSRFBeTyjen59wRc8Xo4o\niycFBRrkBrSDrt4SRLV015ZVt/4ixkkHjWUDCYIA6FKVAY+6zKqPZJVQn/ly\n0hHhoO3ABb7Zh0TxuZxMfd699X4bev2GJ7zSU3TzoH5jPR9npD1AXn/zSwB0\njR6Zg1Zdsv9OIbE8NaumkqH7/TPY06WqK108sBlg0aXgM2HP8DJqEPHLm0/s\nJHVg\r\n=my1O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCO+A1ETxexp7ono5wCv2OuQWU5t5H/yhVw2T7vZGTl9gIgBvT+wVNU+9pzHR5yLxLNRLSkQd74Ll7VKwzs33BMABA="}]},"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/disclosure_2.0.2_1594531308050_0.3206968450044789"},"_hasShrinkwrap":false},"3.0.0":{"name":"@accessible/disclosure","version":"3.0.0","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"git+https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"🅰 An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/disclosure.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/disclosure.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 --fix","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/button":"^2.0.1","@accessible/use-conditional-focus":"^3.0.0","@accessible/use-id":"^1.1.1","@accessible/use-key":"^1.0.2","@react-hook/merged-ref":"^1.3.0","@react-hook/previous":"^1.0.1","@react-hook/switch":"^1.3.0","clsx":"^1.1.1","react-portalize":"^2.1.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8"},"gitHead":"6fe5a3d2d0771c6cf701aea5e973677ba1192e93","_id":"@accessible/disclosure@3.0.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-S9jyrPiTDKQdfpG4snEWXsxpl3ZvQq8wuO/sRjinVa1haQKWzX1rxtpmIJHeWVlFI4xdEYjqbdky92lUjaBrKg==","shasum":"6ddf13176284a833970065ea6ac4c9ad00dd5237","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-3.0.0.tgz","fileCount":17,"unpackedSize":243525,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCqLXCRA9TVsSAnZWagAAC9cQAJu896m7jM9EfmzsfkxS\nuSS2jH074dRIYKaZpvhVO0DVfuIZsOwxmd3BCP661MtlJRBwbVE/OEcPNCv0\niWia0sHaLLMzEXOTjBuhEaDHbgbNPZkyviQgH06Wu14ePNgo/lGcBFPIBC7g\nbRCp7R7Yv7Ai2+N0aWFS71YkkDT9F4h178Yp0fjM8aOAarY7gGwneo11IHN0\nE/h7XntWPZ9es8+crGnJTN1najx+Gw/7awUIBEnfM0e/LLJD7oNY0NzUH6w+\nzQPzPTxqaewMggbeGpAYoZJwKfpRcCZHlFy+ahksXtXOvuOIbeRwXd6Z72/u\nJDJYar6T9sBI30Ja3804Ekag4P4wcGmETLG1xzR18H4ruoSOdQZjlkOELNtd\n+KmMBPP+pA5qr+zBDi0rKkna8rDeEhik+Wyi8hCwmg3lXeY5gSUIxWgLxgyy\n78T2EBaQJjj9DTlBModp6/8xNcFXoeh7yaSEiddFAscMSz3mrYAvHTX4V9rX\nqfKoeLyPpJtbP/K7QogMt4xjC0gFk4lkgHBZd3cgrc9maqRnGnMz3DvE0n8f\nFGyKU5rI9AIBVEiEzMn0Rlv4u60rM4n8VSxYJ2h5zn93t5uEi8q3TgdI6wq1\nwQSS2euOWFnMyhVh5xVR7qmmx69Nnft+kQI0/8VUOMJAbD5oWgj+ZOGGnC/G\nYil+\r\n=+EOI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgWUR/j53HdqTOXXHDOm5M15XCMF4iaiooEGg5P48S1QIgWp8ZZK+ooFUyFpPACuJd5kozwZzIJuEwo+2Xqfshgbo="}]},"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/disclosure_3.0.0_1594532567390_0.20902876916813007"},"_hasShrinkwrap":false},"3.0.1":{"name":"@accessible/disclosure","version":"3.0.1","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"git+https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"🅰 An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/disclosure.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/disclosure.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 --fix","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/button":"^2.0.1","@accessible/use-conditional-focus":"^3.0.0","@accessible/use-id":"^1.1.1","@accessible/use-key":"^1.0.2","@react-hook/merged-ref":"^1.3.0","@react-hook/previous":"^1.0.1","@react-hook/switch":"^1.3.0","clsx":"^1.1.1","react-portalize":"^2.1.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8"},"gitHead":"f460e9dd805898bf3e9cbbfede8b881944c71e60","_id":"@accessible/disclosure@3.0.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-2K7iu8ppJN3YZpFXJqj2X8TsSQttHDN7q8CwHpQ3n7uRkYuvjCYKwUTzLbwBjB1ECAY10xMrYS/pc4ZUSdF+iQ==","shasum":"0e4d85aee5d37edbed246759f37737d69c34f1d3","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-3.0.1.tgz","fileCount":17,"unpackedSize":243324,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfCzEWCRA9TVsSAnZWagAAqHAP+QEqKLk06RMRpkyf7g/8\nnMR5bl0Syg72x0QY9LD5jTzKP6Qc68HOLVSOsz6e/moRQ1/Rrt2VmbmVwTy3\nmfSBfib24Dmvbi7kgV+RKFa45HTn2Gl9mDW1Xp5iZ6SWoZnSxESvEv8e7FhT\nXGjrEJxWgfWkYftLOcsRPHowH2wDeCsTYLxexWhFb8/yR3RfsECfuCz9mBRu\nUs4w68FIDDZkjUIzn0wYHCQpBAazC4zSs2wttX1xJnEYUO2RzxfOpz5KESDS\nVbqf6r1ojIW8K2M4RtzGZu7UAKS6+qF34/JJjZ5TPGx0+uKZr0WBMsh4pyFj\neDRMJ9KrP82FGStjYo70TUfM04WsZUhvitLaVxQzA3NFBSDkvH1M3XMQwVWM\nyrksxN/CqB8Wut2OVWUTjx9a6LUhcfcu2DjLvbt6L77ZHKt1RQKoUur8zY7/\nlj0nH/I457YE3kRNnNstnuCdPEKM/k29s3R0X9zHGV7tfaj/rOUyxmRLqXaF\nHBmyLgRGCXhPEf3di4VlujJ/8K9gm5p07i8vM06X5yd+oEubDy84eRP/DlJh\nuL31AuLuyiA1M1PSlazYYBtuWl+rhaIabkhIi3qA/JCypxqRW8/HQsmM3tBk\n1AWVujGSo36ptpUtl4tEAMTemfvuUqXbk8CcpmX8j7sICm6nMIj9x+R40myJ\nDD/a\r\n=vMOM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgjhWEEb4RDSoKWd2MEIWOOX80L1BVsT6D0hA2dOno1QIgMrmj5V1sesb+pEhkV5ATHOU7TrMLKeCPrvY5QjP/YU4="}]},"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/disclosure_3.0.1_1594568982223_0.31844660319745044"},"_hasShrinkwrap":false},"3.0.2":{"name":"@accessible/disclosure","version":"3.0.2","homepage":"https://github.com/accessible-ui/disclosure#readme","repository":{"type":"git","url":"git+https://github.com/accessible-ui/disclosure.git"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"license":"MIT","description":"🅰 An accessible and versatile disclosure component for React","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"main":"dist/main/index.js","module":"dist/module/index.js","unpkg":"dist/umd/disclosure.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/disclosure.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 --fix","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/button":"^2.0.2","@accessible/use-conditional-focus":"^3.0.0","@accessible/use-id":"^1.1.1","@accessible/use-key":"^1.0.2","@react-hook/merged-ref":"^1.3.0","@react-hook/previous":"^1.0.1","@react-hook/switch":"^1.3.0","clsx":"^1.1.1","react-portalize":"^2.1.0"},"peerDependencies":{"react":">=16.8","react-dom":">=16.8"},"gitHead":"f67aed310b997ab9d828850192d434328126a57b","_id":"@accessible/disclosure@3.0.2","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","dist":{"integrity":"sha512-KfbdM3Sfh1MI6w1pIb/jcp5T6bSCWcqm+LO14CvZinR03tnUiXj+l6zlynCMh6C9BWbT4+i2hQLyWFSZld0gpA==","shasum":"0d686be29aaac7ccb13c366589502770a070f0e2","tarball":"https://registry.npmjs.org/@accessible/disclosure/-/disclosure-3.0.2.tgz","fileCount":17,"unpackedSize":240569,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfMcLtCRA9TVsSAnZWagAA/0oQAKRbUP/oLQT6kMi4vEV8\n1AvMRP+YyGhh0peMt3lUqdAj200fUnUkiPR8/unwozPXepRCVd5HsJmkE43R\nSJElbSRAbCytPHZW8gsxbsi/XEM3ypeDE5gH7JexfPynqZIKG69xMYmxGaql\nUEYFWsqJfVcDSH/RMjTHZPuYNE1OmWhU5CLmgKEGFMwqOR4IouXUPob/pkri\nrokdgQwAKbTLp10yRNScEGCfZq2TmsG08NkCz9kfl7Rq9IgB1Zg1u7ytvyAc\nlfMcF+ZHpByNRMJ1coD8w0vz7BqFjGksNy2H4m3Hy4YiUzruMx7b4CwYCnF/\n63RuHVMX1Xy501TZFQBCNrYAC3JyC2iozW/ExvSuwRPQG1tFG+lBcut1h5Xm\nvVwpm9YBRnH8R8n12dr0WHEMuGZs1gN1AB8fyoOHhP9T88nhXmw7qTac3+2p\nOXSf06sG/u2dMHt4+h8Exo4NxtG1/vZS+Y0Loj3qspauVswN9iQqALx59KuF\nT4UcleWkswUDgZ9IJxA3j0Qlg9Dty17y9DKUiMpQ++NjlhIORf+xQxOIRoR7\n9eY5vi3SHO70pLdY2MXXf03ynN+0nT19xmvyTwHju9v37a/XNFY9n198+oj9\ncVWmsbWRH6FCSSFq6i32uMIHJjSmkCtg8zinQ2o6HtEQ62cZkVgeZFcSucy6\nbVcX\r\n=0mT2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDM2k1T0lrxrZIZzkwwYgwBOQ6mQ+P2wVoTsVEIgzIIlQIhAKU2Y/R8ZUMSc+gB0oIWBLJlR8fpMMxxKx+P3qzL0MOf"}]},"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/disclosure_3.0.2_1597096685337_0.119384776856025"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-17T01:34:07.572Z","1.0.0":"2020-01-17T01:34:07.937Z","modified":"2022-04-04T11:07:06.837Z","1.0.1":"2020-05-12T22:00:58.811Z","1.0.2":"2020-05-21T04:50:06.781Z","1.0.3":"2020-05-25T17:18:36.803Z","1.1.0":"2020-05-29T04:03:32.350Z","1.1.1":"2020-05-29T04:07:18.241Z","1.1.2":"2020-05-29T16:57:11.189Z","1.1.3":"2020-05-30T01:31:18.371Z","1.1.4":"2020-05-30T02:24:28.816Z","1.1.5":"2020-05-30T15:13:01.352Z","1.2.0":"2020-05-31T01:42:05.736Z","2.0.0":"2020-07-12T05:05:30.522Z","2.0.1":"2020-07-12T05:07:08.797Z","2.0.2":"2020-07-12T05:21:48.151Z","3.0.0":"2020-07-12T05:42:47.517Z","3.0.1":"2020-07-12T15:49:42.333Z","3.0.2":"2020-08-10T21:58:05.485Z"},"maintainers":[{"name":"jaredlunde","email":"jared.lunde@gmail.com"}],"description":"🅰 An accessible and versatile disclosure component for React","homepage":"https://github.com/accessible-ui/disclosure#readme","keywords":["react","react component","disclosure","accessible disclosure","a11y disclosure","react a11y disclosure","react accessible disclosure","react disclosure","react disclosure component","react collapsible","react collapsible component","a11y","react aria disclosure","aria","aria disclosure"],"repository":{"type":"git","url":"git+https://github.com/accessible-ui/disclosure.git"},"author":{"name":"Jared Lunde","email":"jared.lunde@gmail.com","url":"https://jaredLunde.com"},"bugs":{"url":"https://github.com/accessible-ui/disclosure/issues"},"license":"MIT","readme":"<hr>\n<div align=\"center\">\n  <h1 align=\"center\">\n    &lt;Disclosure&gt;\n  </h1>\n</div>\n\n<p align=\"center\">\n  <a href=\"https://bundlephobia.com/result?p=@accessible/disclosure\">\n    <img alt=\"Bundlephobia\" src=\"https://img.shields.io/bundlephobia/minzip/@accessible/disclosure?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"Types\" href=\"https://www.npmjs.com/package/@accessible/disclosure\">\n    <img alt=\"Types\" src=\"https://img.shields.io/npm/types/@accessible/disclosure?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"Code coverage report\" href=\"https://codecov.io/gh/accessible-ui/disclosure\">\n    <img alt=\"Code coverage\" src=\"https://img.shields.io/codecov/c/gh/accessible-ui/disclosure?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"Build status\" href=\"https://travis-ci.org/accessible-ui/disclosure\">\n    <img alt=\"Build status\" src=\"https://img.shields.io/travis/accessible-ui/disclosure?style=for-the-badge&labelColor=24292e\">\n  </a>\n  <a aria-label=\"NPM version\" href=\"https://www.npmjs.com/package/@accessible/disclosure\">\n    <img alt=\"NPM Version\" src=\"https://img.shields.io/npm/v/@accessible/disclosure?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/disclosure?style=for-the-badge&labelColor=24292e\">\n  </a>\n</p>\n\n<pre align=\"center\">npm i @accessible/disclosure</pre>\n<hr>\n\nAn accessible and versatile disclosure component for React\n\n## Features\n\n- [x] **Style-agnostic** You can use this component with the styling library of your choice. It\n      works with CSS-in-JS, SASS, plain CSS, plain `style` objects, anything!\n- [x] **Portal-friendly** The disclosure target will render into React portals of your choice when configured\n      to do so.\n- [x] **a11y/aria-compliant** This component works with screen readers out of the box and manages\n      focus for you.\n\n## Quick Start\n\n[Check out the example on **CodeSandbox**](https://codesandbox.io/s/accessibledisclosure-example-8pkd2)\n\n```jsx harmony\nimport * as React from 'react'\nimport * as Disclosure from '@accessible/disclosure'\n\nconst Component = () => (\n  <Disclosure.Disclosure>\n    <Disclosure.Trigger>\n      <button>Open me</button>\n    </Disclosure.Trigger>\n\n    <Disclosure.Target>\n      <div className='my-disclosure'>\n        <Disclosure.CloseButton>\n          <button>Close me</button>\n        </Disclosure.CloseButton>\n\n        <div>I've been disclosed!</div>\n      </div>\n    </Disclosure.Target>\n  </Disclosure.Disclosure>\n)\n```\n\n## API\n\n### Components\n\n| Component                       | Description                                                                                                        |\n| ------------------------------- | ------------------------------------------------------------------------------------------------------------------ |\n| [`<Disclosure>`](#disclosure)   | This component creates the context for your disclosure target and trigger and contains some configuration options. |\n| [`<Target>`](#target)           | This component wraps any React element and turns it into a disclosure target.                                      |\n| [`<Trigger>`](#trigger)         | This component wraps any React element and turns it into a disclosure trigger.                                     |\n| [`<CloseButton>`](#closebutton) | This is a convenience component that wraps any React element and adds an onClick handler to close the disclosure.  |  |\n\n### Hooks\n\n| Hook                                                        | Description                                                                                                                                                                      |\n| ----------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| [`useDisclosure()`](#usedisclosure)                         | This hook provides the value of the disclosure's [DisclosureContextValue object](#disclosurecontextvalue).                                                                       |\n| [`useA11yTarget()`](#usea11ytargettarget-options)           | A React hook for creating a headless disclosure target to [WAI-ARIA authoring practices](https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html).  |\n| [`useA11yTrigger()`](#usea11ytriggertarget-options)         | A React hook for creating a headless disclosure trigger to [WAI-ARIA authoring practices](https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html). |\n| [`useA11yCloseButton()`](#usea11yclosebuttontarget-options) | A React hook for creating a headless close button to [WAI-ARIA authoring practices](https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html).       |\n\n### &lt;Disclosure&gt;\n\nThis component creates the context for your disclosure target and trigger and contains some\nconfiguration options.\n\n#### Props\n\n| Prop        | Type                      | Default     | Required? | Description                                                                                                                                               |\n| ----------- | ------------------------- | ----------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| defaultOpen | `boolean`                 | `false`     | No        | This sets the default open state of the disclosure. By default the disclosure is closed.                                                                  |\n| open        | `boolean`                 | `undefined` | No        | This creates a controlled disclosure component where the open state of the disclosure is controlled by this property.                                     |\n| onChange    | `(open: boolean) => void` | `undefined` | No        | This callback is invoked any time the `open` state of the disclosure changes.                                                                             |\n| id          | `string`                  | `undefined` | No        | By default this component creates a unique id for you, as it is required for certain aria attributes. Supplying an id here overrides the auto id feature. |\n| children    | `React.ReactNode`         | `undefined` | No        | Your disclosure contents and any other children.                                                                                                          |\n\n### useA11yTarget(target, options?)\n\nA React hook for creating a headless disclosure target to [WAI-ARIA authoring practices](https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html).\n\n#### Arguments\n\n| Argument | Type                                               | Required? | Description                 |\n| -------- | -------------------------------------------------- | --------- | --------------------------- |\n| target   | <code>React.RefObject&lt;T&gt; \\| T \\| null</code> | Yes       | A React ref or HTML element |\n| options  | [`UseA11yTargetOptions`](#usea11ytargetoptions)    | No        | Configuration options       |\n\n#### UseA11yTargetOptions\n\n```ts\nexport interface UseA11yTargetOptions {\n  /**\n   * Adds this class name to props when the disclosure is open\n   */\n  openClass?: string\n  /**\n   * Adds this class name to props when the disclosure is closed\n   */\n  closedClass?: string\n  /**\n   * Adds this style to props when the disclosure is open\n   */\n  openStyle?: React.CSSProperties\n  /**\n   * Adds this style to props when the disclosure is closed\n   */\n  closedStyle?: React.CSSProperties\n  /**\n   * Prevents the `window` from scrolling when the target is\n   * focused after opening.\n   */\n  preventScroll?: boolean\n  /**\n   * When `true`, this closes the target element when the `Escape`\n   * key is pressed.\n   * @default true\n   */\n  closeOnEscape?: boolean\n}\n```\n\n#### Returns\n\n```ts\ninterface A11yProps {\n  readonly 'aria-hidden': boolean\n  readonly id: string | undefined\n  readonly className: string | undefined\n  readonly style: {\n    visibility: 'visible' | 'hidden'\n  } & React.CSSProperties\n}\n```\n\n#### Example\n\n```jsx harmony\nimport * as React from 'react'\nimport {useA11yTarget} from '@accessible/disclosure'\n\nconst MyTarget = () => {\n  const ref = React.useRef(null)\n  const a11yProps = useA11yTarget(ref, {preventScroll: true})\n\n  return (\n    <div ref={ref} {...a11yProps}>\n      I am the disclosure content\n    </div>\n  )\n}\n```\n\n### &lt;Target&gt;\n\nThis component wraps any React element and turns it into a disclosure target.\n\n#### Props\n\n| Prop          | Type                                              | Default     | Required? | Description                                                                                                                                                                                                         |\n| ------------- | ------------------------------------------------- | ----------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| portal        | <code>boolean \\| string \\| PortalizeProps </code> | `false`     | No        | When `true` this will render the disclosure into a React portal with the id `#portals`. You can render it into any portal by providing its query selector here, e.g. `#foobar`, `[data-portal=true]`, or `.foobar`. |\n| closeOnEscape | `boolean`                                         | `true`      | No        | By default the disclosure will close when the `Escape` key is pressed. You can turn this off by providing `false` here.                                                                                             |\n| closedClass   | `string`                                          | `undefined` | No        | This class name will be applied to the child element when the disclosure is `closed`.                                                                                                                               |\n| openClass     | `string`                                          | `undefined` | No        | This class name will be applied to the child element when the disclosure is `open`.                                                                                                                                 |\n| closedStyle   | `React.CSSProperties`                             | `undefined` | No        | These styles will be applied to the child element when the disclosure is `closed` in addition to the default styles that set the target's visibility.                                                               |\n| openStyle     | `React.CSSProperties`                             | `undefined` | No        | These styles name will be applied to the child element when the disclosure is `open` in addition to the default styles that set the target's visibility.                                                            |\n| preventScroll | `boolean`                                         | `false`     | No        | When `true` this will prevent your browser from scrolling the document to bring the newly-focused tab into view.                                                                                                    |\n| children      | `React.ReactElement`                              | `undefined` | Yes       | The child is cloned by this component and has aria attributes injected into its props as well as the events defined above.                                                                                          |\n\n#### Example\n\n```jsx harmony\n<Target>\n  <div className='alert'>Alert</div>\n</Target>\n\n// <div\n//   class=\"alert\"\n//   aria-hidden=\"true\"\n//   id=\"🅰12\"\n//   style=\"visibility: hidden;\"\n// >\n//   Alert\n// </div>\n```\n\n### useA11yTrigger(target, options?)\n\nA React hook for creating a headless disclosure trigger to [WAI-ARIA authoring practices](https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html).\nIn addition to providing accessibility props to your component, this hook will add events\nfor interoperability between actual <button> elements and fake ones e.g. <a> and <div> to the\ntarget element\n\n#### Arguments\n\n| Argument | Type                                               | Required? | Description                 |\n| -------- | -------------------------------------------------- | --------- | --------------------------- |\n| target   | <code>React.RefObject&lt;T&gt; \\| T \\| null</code> | Yes       | A React ref or HTML element |\n| options  | [`UseA11yTriggerOptions`](#usea11ytriggeroptions)  | No        | Configuration options       |\n\n#### UseA11yTriggerOptions\n\n```ts\nexport interface UseA11yTriggerOptions {\n  /**\n   * Adds this class name to props when the disclosure is open\n   */\n  openClass?: string\n  /**\n   * Adds this class name to props when the disclosure is closed\n   */\n  closedClass?: string\n  /**\n   * Adds this style to props when the disclosure is open\n   */\n  openStyle?: React.CSSProperties\n  /**\n   * Adds this style to props when the disclosure is closed\n   */\n  closedStyle?: React.CSSProperties\n  /**\n   * Adds an onClick handler in addition to the default one that\n   * toggles the disclosure's open state.\n   */\n  onClick?: (e: MouseEvent) => any\n}\n```\n\n#### Returns\n\n```ts\ninterface A11yProps {\n  readonly 'aria-controls': string | undefined\n  readonly 'aria-expanded': boolean\n  readonly role: 'button'\n  readonly tabIndex: 0\n  readonly className: string | undefined\n  readonly style: React.CSSProperties | undefined\n}\n```\n\n#### Example\n\n```jsx harmony\nimport * as React from 'react'\nimport {useA11yTrigger} from '@accessible/disclosure'\n\nconst MyTrigger = () => {\n  const ref = React.useRef(null)\n  const a11yProps = useA11yTrigger(ref, {\n    openClass: 'open',\n    closedClass: 'closed',\n  })\n\n  return (\n    <button ref={ref} {...a11yProps}>\n      Clicking me toggles the disclosure content\n    </button>\n  )\n}\n```\n\n### &lt;Trigger&gt;\n\nThis component wraps any React element and adds an `onClick` handler which toggles the open state\nof the disclosure target.\n\n#### Props\n\n| Prop        | Type                  | Default     | Required? | Description                                                                                                                |\n| ----------- | --------------------- | ----------- | --------- | -------------------------------------------------------------------------------------------------------------------------- |\n| closedClass | `string`              | `undefined` | No        | This class name will be applied to the child element when the disclosure is `closed`.                                      |\n| openClass   | `string`              | `undefined` | No        | This class name will be applied to the child element when the disclosure is `open`.                                        |\n| closedStyle | `React.CSSProperties` | `undefined` | No        | These styles will be applied to the child element when the disclosure is `closed`.                                         |\n| openStyle   | `React.CSSProperties` | `undefined` | No        | These styles name will be applied to the child element when the disclosure is `open`.                                      |\n| children    | `React.ReactElement`  | `undefined` | Yes       | The child is cloned by this component and has aria attributes injected into its props as well as the events defined above. |\n\n```jsx harmony\n<Trigger on='click'>\n  <button className='my-button'>Open me!</button>\n</Trigger>\n\n// <button\n//   class=\"my-button\"\n//   aria-controls=\"🅰12\"\n//   aria-expanded=\"false\"\n// >\n//   Open me!\n// </button>\n```\n\n### useA11yCloseButton(target, options?)\n\nA React hook for creating a headless close button to [WAI-ARIA authoring practices](https://www.w3.org/TR/wai-aria-practices-1.1/examples/disclosure/disclosure-faq.html).\nIn addition to providing accessibility props to your component, this hook will add events\nfor interoperability between actual <button> elements and fake ones e.g. <a> and <div> to the\ntarget element\n\n#### Arguments\n\n| Argument | Type                                                      | Required? | Description                 |\n| -------- | --------------------------------------------------------- | --------- | --------------------------- |\n| target   | <code>React.RefObject&lt;T&gt; \\| T \\| null</code>        | Yes       | A React ref or HTML element |\n| options  | [`UseA11yCloseButtonOptions`](#usea11yclosebuttonoptions) | No        | Configuration options       |\n\n#### UseA11yCloseButtonOptions\n\n```ts\nexport interface UseA11yCloseButtonOptions {\n  /**\n   * Adds an onClick handler in addition to the default one that\n   * closes the disclosure.\n   */\n  onClick?: (e: MouseEvent) => any\n}\n```\n\n#### Returns\n\n```ts\ninterface A11yProps {\n  readonly 'aria-controls': string | undefined\n  readonly 'aria-expanded': boolean\n  readonly 'aria-label': 'Close'\n  readonly role: 'button'\n  readonly tabIndex: 0\n}\n```\n\n#### Example\n\n```jsx harmony\nimport * as React from 'react'\nimport {useA11yCloseButton} from '@accessible/disclosure'\n\nconst MyTrigger = () => {\n  const ref = React.useRef(null)\n  const a11yProps = useA11yCloseButton(ref, {\n    onClick: () => console.log('Closing!'),\n  })\n\n  return (\n    <button ref={ref} {...a11yProps}>\n      Clicking me closes the disclosure content\n    </button>\n  )\n}\n```\n\n### &lt;CloseButton&gt;\n\nThis is a convenience component that wraps any React element and adds an onClick handler which closes the disclosure.\n\n#### Props\n\n| Prop     | Type                 | Default     | Required? | Description                                                                                                                |\n| -------- | -------------------- | ----------- | --------- | -------------------------------------------------------------------------------------------------------------------------- |\n| children | `React.ReactElement` | `undefined` | Yes       | The child is cloned by this component and has aria attributes injected into its props as well as the events defined above. |\n\n```jsx harmony\n<CloseButton>\n  <button className='my-button'>Close me</button>\n</CloseButton>\n\n// <button\n//   class=\"my-button\"\n//   aria-controls=\"disclosure--12\"\n//   aria-expanded=\"false\"\n// >\n//   Close me\n// </button>\n```\n\n### useDisclosure()\n\nThis hook provides the value of the disclosure's [DisclosureContextValue object](#disclosurecontextvalue)\n\n### DisclosureContextValue\n\n```typescript\nexport interface DisclosureContextValue {\n  /**\n   * The open state of the disclosure\n   */\n  isOpen: boolean\n  /**\n   * Opens the disclosure\n   */\n  open: () => void\n  /**\n   * Closes the disclosure\n   */\n  close: () => void\n  /**\n   * Toggles the open state of the disclosure\n   */\n  toggle: () => void\n  /**\n   * A unique ID for the disclosure target\n   */\n  id?: string\n}\n```\n\n#### Example\n\n```jsx harmony\nconst Component = () => {\n  const {open, close, toggle, isOpen} = useDisclosure()\n  return <button onClick={toggle}>Toggle the disclosure</button>\n}\n```\n\n## LICENSE\n\nMIT\n","readmeFilename":"README.md"}