{"_id":"t-aria-progressbar","_rev":"8-7836d62660464115a2224a7b053dcc15","name":"t-aria-progressbar","description":"HTML, CSS and JS UI-component for user-friendly and accessible progress bars","dist-tags":{"latest":"1.0.5"},"versions":{"0.3.0":{"name":"t-aria-progressbar","license":"MIT","version":"0.3.0","repository":{"type":"git","url":"git://github.com/davidetriso/aria-progressbar.git"},"devDependencies":{"gulp":"^3.9.1","gulp-autoprefixer":"^4.0.0","gulp-concat":"^2.6.1","gulp-cssnano":"^2.1.2","gulp-notify":"^3.0.0","gulp-rename":"^1.2.2","gulp-ruby-sass":"^2.1.1","gulp-uglify":"^3.0.0","require-dir":"^0.3.2"},"dependencies":{"t-css-framework":"^0.2.4"},"gitHead":"89fe9b45a2edb8e0105794a02620de2388d62104","description":"## About","bugs":{"url":"https://github.com/davidetriso/aria-progressbar/issues"},"homepage":"https://github.com/davidetriso/aria-progressbar#readme","_id":"t-aria-progressbar@0.3.0","_npmVersion":"5.4.2","_nodeVersion":"6.11.3","_npmUser":{"name":"davidetriso","email":"davidetrisolini@yahoo.it"},"dist":{"integrity":"sha512-S5ecGSpzfkDQ1cO2lqyT4RAAvgE6NHAkdZx7OpLkDUfDnjZhnoP5R8MuY6F2mV7vaYeiCvXu2eI01yiX3w5JDg==","shasum":"a4de5f5be9b6c220de23e82b83ca56f293d9133e","tarball":"https://registry.npmjs.org/t-aria-progressbar/-/t-aria-progressbar-0.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDL+GGhEE/QNRgkfgSS9eP1ijEEmVobfTx7zmFs/Tt/2QIhAOBP0gcPvF5kDLJxCUyTmkt5YOOK7h6KgE+8X9u7GDFB"}]},"maintainers":[{"name":"davidetriso","email":"davidetrisolini@yahoo.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/t-aria-progressbar-0.3.0.tgz_1506977174091_0.1596287244465202"},"directories":{}},"0.4.0":{"name":"t-aria-progressbar","license":"MIT","version":"0.4.0","repository":{"type":"git","url":"git://github.com/davidetriso/aria-progressbar.git"},"devDependencies":{"gulp":"^3.9.1","gulp-autoprefixer":"^4.0.0","gulp-concat":"^2.6.1","gulp-cssnano":"^2.1.2","gulp-notify":"^3.0.0","gulp-rename":"^1.2.2","gulp-ruby-sass":"^2.1.1","gulp-uglify":"^3.0.0","require-dir":"^0.3.2"},"dependencies":{"t-css-framework":"^0.2.4"},"gitHead":"27e90c49f9c02b5f0349b82e918a726613b00d33","description":"## About","bugs":{"url":"https://github.com/davidetriso/aria-progressbar/issues"},"homepage":"https://github.com/davidetriso/aria-progressbar#readme","_id":"t-aria-progressbar@0.4.0","_npmVersion":"5.5.1","_nodeVersion":"8.6.0","_npmUser":{"name":"davidetriso","email":"davidetrisolini@yahoo.it"},"dist":{"integrity":"sha512-4h+SZP7qpIFn+UiWGoDTo8j3A4ZmbRvT9ATl3BypAZN0WJWAhs5YYFLShijyGwTlSJ2BqeBz0BITjZ4UqS7TNA==","shasum":"9463f488dce9aaf5aaab8b13354c31806a4d104e","tarball":"https://registry.npmjs.org/t-aria-progressbar/-/t-aria-progressbar-0.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFjjngSKJuh9Y37HyT8k/HJd9HiuWoh/gqVinvZOX2lHAiAz2mkM/tPhLRCbIyKc5SskcxVIyRrKpeI6KABKkJKhEw=="}]},"maintainers":[{"name":"davidetriso","email":"davidetrisolini@yahoo.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/t-aria-progressbar-0.4.0.tgz_1510850753798_0.5544069863390177"},"directories":{}},"1.0.0":{"name":"t-aria-progressbar","license":"MIT","version":"1.0.0","repository":{"type":"git","url":"git://github.com/davidetriso/aria-progressbar.git"},"devDependencies":{"gulp":"^3.9.1","gulp-autoprefixer":"^4.0.0","gulp-concat":"^2.6.1","gulp-cssnano":"^2.1.2","gulp-notify":"^3.0.0","gulp-rename":"^1.2.2","gulp-ruby-sass":"^2.1.1","gulp-uglify":"^3.0.0","require-dir":"^0.3.2"},"dependencies":{"t-css-framework":"0.15.3"},"gitHead":"37b047a9a54716a2dfb2217b2852499d71b1ec49","description":"## About","bugs":{"url":"https://github.com/davidetriso/aria-progressbar/issues"},"homepage":"https://github.com/davidetriso/aria-progressbar#readme","_id":"t-aria-progressbar@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.6.0","_npmUser":{"name":"davidetriso","email":"davidetrisolini@yahoo.it"},"dist":{"integrity":"sha512-FrrF3XXzwmIYQzuTZ+b9ip7rAQvPV1XII8l77zudDCsXDtAikVT/FuZgT+MC5wUOwuKY4jpUwPmbw2WftQx+Hg==","shasum":"24aacfa3b1f0cf7210dbd8b1a0c6ea9be35e1f1e","tarball":"https://registry.npmjs.org/t-aria-progressbar/-/t-aria-progressbar-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPas4t/DjpV3mcLqe6+BrDPkl2pXyC3dA8bJPdFxWY/AIhAJhxLPZn4SWR7e9Lbv/hp/iaou0JYzIBtWWIqr0RO4Dn"}]},"maintainers":[{"name":"davidetriso","email":"davidetrisolini@yahoo.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/t-aria-progressbar-1.0.0.tgz_1515825896483_0.8698680547531694"},"directories":{}},"1.0.1":{"name":"t-aria-progressbar","license":"MIT","description":"HTML, CSS and JS UI-component for user-friendly and accessible progress bars","version":"1.0.1","repository":{"type":"git","url":"git://github.com/davidetriso/aria-progressbar.git"},"devDependencies":{"gulp":"^3.9.1","gulp-autoprefixer":"^4.0.0","gulp-concat":"^2.6.1","gulp-cssnano":"^2.1.2","gulp-notify":"^3.0.0","gulp-rename":"^1.2.2","gulp-ruby-sass":"^2.1.1","gulp-uglify":"^3.0.0","require-dir":"^0.3.2"},"dependencies":{"t-css-framework":"0.15.3"},"gitHead":"984efedc647f69cf56e8670688e037c71e239593","bugs":{"url":"https://github.com/davidetriso/aria-progressbar/issues"},"homepage":"https://github.com/davidetriso/aria-progressbar#readme","_id":"t-aria-progressbar@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"8.6.0","_npmUser":{"name":"davidetriso","email":"davidetrisolini@yahoo.it"},"dist":{"integrity":"sha512-jW1lxGhqyTFP3QbBCehfbxilRoDUugBidVAOvHGUYRTZO4dlnfmu1QR1t6cBRWofcP9lKYYE4ZqZjtczYY4xYA==","shasum":"57b4d8a64a5e0bd91482b58119f874d1b27d8fa3","tarball":"https://registry.npmjs.org/t-aria-progressbar/-/t-aria-progressbar-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFK/JPC5EJyP7BmMkMgKDDisoLC1378cWZexlr4f6RyTAiEAwCCFLRy+N8GLbtxnM8I0+MHyy9q6/19QxXf9+7Dqo5U="}]},"maintainers":[{"name":"davidetriso","email":"davidetrisolini@yahoo.it"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/t-aria-progressbar-1.0.1.tgz_1516215278232_0.7578572819475085"},"directories":{}},"1.0.2":{"name":"t-aria-progressbar","license":"MIT","description":"HTML, CSS and JS UI-component for user-friendly and accessible progress bars","version":"1.0.2","repository":{"type":"git","url":"git://github.com/davidetriso/aria-progressbar.git"},"devDependencies":{"gulp":"^3.9.1","gulp-autoprefixer":"^4.0.0","gulp-concat":"^2.6.1","gulp-cssnano":"^2.1.2","gulp-notify":"^3.0.0","gulp-rename":"^1.2.2","gulp-ruby-sass":"^2.1.1","gulp-uglify":"^3.0.0","require-dir":"^0.3.2"},"dependencies":{"t-css-framework":"0.18.0"},"gitHead":"a9395582d9b8544ef6034b8fce436b214f38b3d0","bugs":{"url":"https://github.com/davidetriso/aria-progressbar/issues"},"homepage":"https://github.com/davidetriso/aria-progressbar#readme","_id":"t-aria-progressbar@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.6.0","_npmUser":{"name":"davidetriso","email":"davidetrisolini@yahoo.it"},"dist":{"integrity":"sha512-0Vx71AbmsNVm75RA3SSnrQiMe6jBNc0jo/Hs+4I+F7rTwWXLOv16bU2T0ivzRw95R6sHZhh9bI5uZwkl4vwNSg==","shasum":"d970ad37ace515a0fd52d77d773cbba31dec69f4","tarball":"https://registry.npmjs.org/t-aria-progressbar/-/t-aria-progressbar-1.0.2.tgz","fileCount":22,"unpackedSize":39884,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFvHMdq6lwASh/6vL7aRTWNK6i4SOJgllg/cFY9MIYv5AiEA02ZiE7seN5huvucyWxAZOCElW0RtOIPVBydd+Vm77Bs="}]},"maintainers":[{"name":"davidetriso","email":"davidetrisolini@yahoo.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/t-aria-progressbar_1.0.2_1519460110627_0.22991790635048082"},"_hasShrinkwrap":false},"1.0.4":{"name":"t-aria-progressbar","license":"MIT","description":"HTML, CSS and JS UI-component for user-friendly and accessible progress bars","version":"1.0.4","repository":{"type":"git","url":"git://github.com/davidetriso/aria-progressbar.git"},"devDependencies":{"gulp":"^4.0.0","gulp-autoprefixer":"6.0.0","gulp-concat":"^2.6.1","gulp-cssnano":"^2.1.3","gulp-notify":"^3.2.0","gulp-rename":"^1.4.0","gulp-ruby-sass":"^3.0.0","gulp-uglify":"^3.0.1","require-dir":"1.1.0"},"dependencies":{"t-css-framework":"1.3.3"},"gitHead":"4d45560f5c7afe05082e33749c947b729438f38a","bugs":{"url":"https://github.com/davidetriso/aria-progressbar/issues"},"homepage":"https://github.com/davidetriso/aria-progressbar#readme","_id":"t-aria-progressbar@1.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.8.0","_npmUser":{"name":"davidetriso","email":"davidetrisolini@yahoo.it"},"dist":{"integrity":"sha512-prHWjjpBMURBO89YJZKbmSEpU4u2xfl6j5Pp9JVMsxAFFuwKBLkzdQsQPu0KkVoh1MabtJb/1FvzwpUo1CXbUA==","shasum":"7fabbdc3b05029647e8d974700156e1afb86246c","tarball":"https://registry.npmjs.org/t-aria-progressbar/-/t-aria-progressbar-1.0.4.tgz","fileCount":23,"unpackedSize":41329,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzii4CRA9TVsSAnZWagAAR4QP/RM2pEQiWaqInkkojLhD\nLP7RxGzojrNMxali5YvWuetH0p/sNfujmmrCt0QMkoOYLF7JARfEHOD/zVE7\n5mkaX2jlao3nbqRikIG/y6xamGhmyqyysK7F0JNIxpH/VqS7akd6N5mqA3t+\nMZIoirZnAT6agbkHRqeQTFNfbn7u+Z4o2EDBNQD3iZ2Ew7CezaqukW8MB9g4\nfgjnnOcLYo/evrRiQufWHvQbXVxDYXMSFFn9oid7omnxFg98uCwkSXIhFIkm\nLfCz25A/CR9P2zrchysy64N8FGBaCt49yR0fByzE13sFELdngZ3wzYWeYxBL\nKwyaNKGQ/1rOywibOTRVH1F/yggUr9txt3GOuvfcm5hqtpo7ThvHop8Q+W+T\n5Q7gWRkRFXn4x3CUBX+ErugqC5KEvWG414faSvV+GwehThxOBcpzwpB8w8Qc\noRi+5FMECKWlF1H1bccLEnwS2nP5/mctdFjLJowmSaEeCeok4rKjEd3sjeoW\n1vfscdb+Em8Rssv4WAC/BSuIEKGaVPkHOTCilHInbsyHjye1wc6XvQ5rxLab\ngoc+bLEEwECaEDElu833ZrUPXGdBv4z0KTa0gFoCw5otnGpdPdnyO7Q+5r4T\nYsQddQ6f4HYTLks6S5f9vS+jhkqBbyZ1acrNUYCGHO0Z23KySTgN4Q2YjYuu\n67ZU\r\n=WSLu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFwWWQWzHWDJhvzArK975F4TwwBkh7eR+FER6Qr5FlXAIhAOhJzW9aHsxrO45yAv76ba2BU07W+pCtktwB6G7ErJNY"}]},"maintainers":[{"name":"davidetriso","email":"davidetrisolini@yahoo.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/t-aria-progressbar_1.0.4_1540237495214_0.17917534603900975"},"_hasShrinkwrap":false},"1.0.5":{"name":"t-aria-progressbar","license":"MIT","description":"HTML, CSS and JS UI-component for user-friendly and accessible progress bars","version":"1.0.5","repository":{"type":"git","url":"git://github.com/davidetriso/aria-progressbar.git"},"devDependencies":{"gulp":"^3.9.1","gulp-autoprefixer":"6.0.0","gulp-concat":"^2.6.1","gulp-cssnano":"^2.1.3","gulp-notify":"^3.2.0","gulp-rename":"^1.4.0","gulp-ruby-sass":"^3.0.0","gulp-sass":"^4.0.2","gulp-uglify":"^3.0.1","node-sass":"^4.9.4","require-dir":"1.1.0"},"dependencies":{"t-css-framework":"1.3.3"},"gitHead":"0c4342c7aeca13f48a99b69cb76e0b7edfc48e22","bugs":{"url":"https://github.com/davidetriso/aria-progressbar/issues"},"homepage":"https://github.com/davidetriso/aria-progressbar#readme","_id":"t-aria-progressbar@1.0.5","_npmVersion":"6.4.1","_nodeVersion":"10.8.0","_npmUser":{"name":"davidetriso","email":"davidetrisolini@yahoo.it"},"dist":{"integrity":"sha512-qWiWeysll1QD27fJ2EhhX58LRn8NYt0ufqv5MrRIkyIwAXg+99BbxU1NVCV0fGQsMif+HYDqeHzaLK1dYND6Dw==","shasum":"b185875fa50b17b2bd110b1149ae6d4b20e6894c","tarball":"https://registry.npmjs.org/t-aria-progressbar/-/t-aria-progressbar-1.0.5.tgz","fileCount":23,"unpackedSize":40997,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1MseCRA9TVsSAnZWagAAZXgQAJQ8LyA4dHDz9A5fcnWT\nV4itei1wAxYsALotHvDmaf81qJR93W6gQped7EIBam/FyhK3smJpzejNCVsT\n4t1N/lxOap3+JvCeg3t/BNPS0AADQfoXhhHPShWAfQTlOsUdZqT3ERxDDpim\n2P0X7VGBuKV6Hm3Fieiyba2i+h6OnTrAdb+KjCeOLUmf0nJZ8kmBJqJ0YIE5\nSQM3InnXdcdKPx4c+rC2bd0OjH+m6h0Q7DcxViR639nwATBPUnnQiDVWm4ro\n868RkEO411zf0ciwf2y3w4/HOXU3nCC/SDYLuSVR4JdieNu8huBPT/IzIn0R\n4+UjP8kmMZY+zUSAPaQRyQtnbUPfMOhzjlOAIYGWdoSxIQwzwvrnDGjn5pV7\n14PLein86XgDv7+71+SmI1fvAMjDb6iXYO0Bh4wg8xvbhASiP3gQNkYMgCyB\ny21cbWZVK7koXoSpEo64ddo0yMT1HnDatNAvRlVNFT9kTdfRHsEuc2pBAQPd\nzjNBJtMCwIT0swLRI0NL/JSBhKIOUlLnbnhyGXRoZu8B289Z8yQH9BAjTs3b\n4tlmLZriht9h0jbdGDgRT+7OWoPK37PZq4q9mcmDkvlL4OOkmiJkgoQiipFs\n2OuV7EBvHZXHg7cnGaghjMzE/IRVKmMj11N9xYXEbmTFFWHzJMrotmlrn8Ta\nab3Y\r\n=Gm4n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgucNK1+BwNd5E8uW5kLwdkaFxfji9cUFui90pYy1a8gIgEVVzahctDtX/oWx52yGy+SgiHGJzkoElMoXojFMESFo="}]},"maintainers":[{"name":"davidetriso","email":"davidetrisolini@yahoo.it"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/t-aria-progressbar_1.0.5_1540672286120_0.08524312319354488"},"_hasShrinkwrap":false}},"readme":"# ARIA PROGRESSBAR\n\n## About\n\nHTML, CSS and JS UI-component for **user-friendly** and **accessible** progress bars. [Go to demo page](https://davidetriso.github.io/aria-progressbar/) or [check on npm](https://www.npmjs.com/package/t-aria-progressbar).\n\n* User-friendly and accessible\n* Less than 2KB (minified).\n* Compatible with amd and require.js\n\n## Dependencies\n\n**jQuery**\n\nDeveloped and tested with jQuery 3.2.1\n\n\n## Settings / Options\n\nName | Default | Type | Description\n-----|---------|------|-------------\nprogressClass | progress | string | The class of the progress bar wrapper.\nprogressBarClass | progress__bar | string | The class of the progress bar.\nmaxVal | 100 | int | The maximum value of the progress bar (task % = 100% - task completed!).\ntextLabel | {X} percent completed | string | String used to generate a user-readable version of the progress value (see [https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext](https://www.w3.org/TR/wai-aria-1.1/#aria-valuetext) for more informations) (`{X}` will be automatically replaced with the current progress value).\ndestroyDelay | 300 | int >= 0 | Interval in ms: Delay the call of `destroy()` when task is complete and progress is 100% (the time is needed to complete the CSS transition of the progress bar).\ndestroyFadeOutSpeed | 300 | int >= 0 | Speed of jQuery fade-out animation, performed when `destroy()` is called, before removing the element from DOM.\n\n## Installation\n\nDownload the package from **GitHub** and get the compiled files from the `dist` folder.\n\nThe plugin is also available on **npm**:\n```\nnpm install t-aria-progressbar\n```\n\n\n## Usage\n\n1. Include the JS script **aria-progressbar.js** - or the minified production script **aria-progressbar.min.js**-  in the head or the body of your HTML file.\n2. Include the CSS file  **aria-progressbar.css** in the head of your HTML file or include the SCSS files in your project.\n3. Initialise the widget within an inline script tag, or in an external JS file.\n\n\n### JS: Initialise\n\nInitialise the plugin as follows:\n\n```javascript\n$('#progress-container').ariaProgressbar({\n  option1: value1,\n  option2: value2\n});\n```\n\n## Methods\n\nThe plugin supports following methods: `update`, `destroy`.\n\n### Update:\n\nTo update a progress bar call `ariaProgressbar` and pass **'update'** as first parameter and the value indicating the current task progress as second parameter.\nIf the progress value  is indeterminate, simply do not perform any call to the `update` method. By not calling `update` the attribute `aria-valuenow` will be omitted and the widget will conform the requirements of the WAI-ARIA specification.\nFor more infos check (https://www.w3.org/TR/wai-aria/roles#progressbar)[https://www.w3.org/TR/wai-aria/roles#progressbar]).\n\n```javascript\n$('#my-progressbar').ariaProgressbar('update', 10);\n```\n\n### Destroy\n\nThe destroy method removes the progress bar from DOM. The method is **automatically called from the widget**, when the progress value passed to `update` is equal to `maxVal`.\nIf, for any reason, the widget must be removed before the task is completed (e.g. user interrupts process), then use the `destroy` method to remove the widget:\n\n```javascript\n$('#my-progressbar').ariaProgressbar('destroy');\n```\n\n## Custom events\n\nThis plugin triggers the following events:\n\n* **ariaProgressbar.initialised** after the progress bar is initialised.\n* **ariaProgressbar.updated** when the progress bar is updated.\n* **ariaProgressbar.destroy** when the progress bar is removed from DOM.\n\nThe custom events are triggered on window and return the progress bar data object as argument.\n\n```javascript\n//add event listener  \n$(window).on('ariaProgressbar.initialised', function(event, el){\n  //perform an action\n  el.progressbar.addClass('my-custom-class');\n});\n```\n\n## LICENSE\n\nThis project is licensed under the terms of the **MIT license**.\n\nSee [LICENSE.md](LICENSE.md) for detailed informations.\n","maintainers":[{"name":"davidetriso","email":"davidetrisolini@yahoo.it"}],"time":{"modified":"2022-05-19T07:11:01.369Z","created":"2017-10-02T20:46:15.362Z","0.3.0":"2017-10-02T20:46:15.362Z","0.4.0":"2017-11-16T16:45:54.722Z","1.0.0":"2018-01-13T06:44:57.415Z","1.0.1":"2018-01-17T18:54:39.134Z","1.0.2":"2018-02-24T08:15:10.699Z","1.0.4":"2018-10-22T19:44:55.477Z","1.0.5":"2018-10-27T20:31:26.321Z"},"homepage":"https://github.com/davidetriso/aria-progressbar#readme","repository":{"type":"git","url":"git://github.com/davidetriso/aria-progressbar.git"},"bugs":{"url":"https://github.com/davidetriso/aria-progressbar/issues"},"license":"MIT","readmeFilename":"README.md"}