{"_id":"@mapbox/page-loading-indicator","_rev":"186-4f7af504eb5e305527c005cd9112f5a0","name":"@mapbox/page-loading-indicator","description":"A Mapbox JS thing.","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@mapbox/page-loading-indicator","version":"0.1.0","description":"A Mapbox JS thing.","files":["dist"],"main":"dist/page-loading-indicator.js","repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-react-components.git"},"author":{"name":"Mapbox"},"license":"SEE LICENSE IN LICENSE_Mapbox","bugs":{"url":"https://github.com/mapbox/mapbox-react-components/issues"},"homepage":"https://github.com/mapbox/mapbox-react-components/tree/master/packages/page-loading-indicator#readme","_id":"@mapbox/page-loading-indicator@0.1.0","_npmVersion":"5.3.0","_nodeVersion":"6.11.1","_npmUser":{"name":"davidtheclark","email":"david.dave.clark@gmail.com"},"dist":{"integrity":"sha512-cC861+kMafUw17mgV/dxoKVol8UySlBLRMfIVLHkpi9Q+8bHxaVCuyZDMjQfvpD7VeTn/2h1kGFVMOM5OXf3Mg==","shasum":"f22357bf8751f6c38c0e614b4d43ae456291ed5f","tarball":"https://registry.npmjs.org/@mapbox/page-loading-indicator/-/page-loading-indicator-0.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHOUgqHqSZk2voPEb6C88PtrkQm6O5pjHyOqI11+0PVAIgfwi2nUAQYeagTNnolCeBHnwXNOMK9uqmZ+eRNAfAgGw="}]},"maintainers":[{"name":"davidtheclark","email":"david.dave.clark@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/page-loading-indicator-0.1.0.tgz_1502482125246_0.5509136714972556"},"directories":{}}},"readme":"# @mapbox/page-loading-indicator\n\nA page loading indicator you can swipe across the top of the screen while things load.\n\n⚠️  **This is not a React component!**\n\n⚠️  **This must be used in combination with mapbox-assembly v0.20.0+**, which includes the necessary CSS.\n\n## Installation\n\n```\nnpm install @mapbox/page-loading-indicator\n```\n\n## API\n\n### start\n\n`pageLoadingIndictor.start()`\n\nAdds the indicator to the DOM and slides it into view.\n\n### end\n\n`pageLoadingIndictor.end(): Promise<void>`\n\nSlides the indicator out of view and removes it from the DOM.\nReturns a Promise that resolves when the indicator has been destroyed.\n\nThis will only happen after enough delay for the `start` animations to complete.\nSo the indicator should always appear for a minimum of about half a second.\n","maintainers":[{"email":"yannick.meeus+npm+production+ci@mapbox.com","name":"mbx-npm-ci-production"},{"email":"yannick.meeus+npm+staging+ci@mapbox.com","name":"mbx-npm-ci-staging"},{"email":"yannick.meeus+npm+prod+advanced+actions@mapbox.com","name":"mbx-npm-advanced-actions-production"},{"email":"yannick.meeus+npm+staging+advanced+actions@mapbox.com","name":"mbx-npm-advanced-actions-staging"},{"email":"yannick.meeus+npm+prod+09@mapbox.com","name":"mbx-npm-09-production"},{"email":"yannick.meeus+npm+prod+08@mapbox.com","name":"mbx-npm-08-production"},{"email":"yannick.meeus+npm+prod+07@mapbox.com","name":"mbx-npm-07-production"},{"email":"yannick.meeus+npm+prod+06@mapbox.com","name":"mbx-npm-06-production"},{"email":"yannick.meeus+npm+prod+05@mapbox.com","name":"mbx-npm-05-production"},{"email":"yannick.meeus+npm+prod+04@mapbox.com","name":"mbx-npm-04-production"},{"email":"yannick.meeus+npm+prod+03@mapbox.com","name":"mbx-npm-03-production"},{"email":"yannick.meeus+npm+prod+02@mapbox.com","name":"mbx-npm-02-production"},{"email":"yannick.meeus+npm+prod+01@mapbox.com","name":"mbx-npm-01-production"},{"email":"yannick.meeus@mapbox.com","name":"mbx-npm-02-staging"},{"email":"accounts+npmjs-01@mapbox.com","name":"mapbox-npm-01"},{"email":"accounts+npmjs-02@mapbox.com","name":"mapbox-npm-02"},{"email":"accounts+npmjs-07@mapbox.com","name":"mapbox-npm-07"},{"email":"accounts+npmjs-03@mapbox.com","name":"mapbox-npm-03"},{"email":"accounts+npmjs-04@mapbox.com","name":"mapbox-npm-04"},{"email":"accounts+npmjs-09@mapbox.com","name":"mapbox-npm-09"},{"email":"accounts+npmjs-05@mapbox.com","name":"mapbox-npm-05"},{"email":"accounts+npmjs-06@mapbox.com","name":"mapbox-npm-06"},{"email":"accounts+npmjs-08@mapbox.com","name":"mapbox-npm-08"},{"email":"accounts+npmjs-advanced-actions@mapbox.com","name":"mapbox-npm-advanced-actions"},{"email":"accounts+npmjs-npm-ci@mapbox.com","name":"mapbox-npm-ci"},{"email":"accounts+npmjs@mapbox.com","name":"mapbox-npm"},{"email":"accounts@mapbox.com","name":"mapbox-admin"},{"email":"accounts+npm-mapbox-machine-user@mapbox.com","name":"mapbox-machine-user"}],"time":{"modified":"2023-01-12T12:43:49.497Z","created":"2017-08-11T20:08:45.334Z","0.1.0":"2017-08-11T20:08:45.334Z"},"homepage":"https://github.com/mapbox/mapbox-react-components/tree/master/packages/page-loading-indicator#readme","repository":{"type":"git","url":"git+https://github.com/mapbox/mapbox-react-components.git"},"author":{"name":"Mapbox"},"bugs":{"url":"https://github.com/mapbox/mapbox-react-components/issues"},"license":"SEE LICENSE IN LICENSE_Mapbox","readmeFilename":"README.md"}