{"id":13385433,"url":"https://github.com/Availity/react-block-ui","last_synced_at":"2025-03-13T10:31:24.033Z","repository":{"id":10948491,"uuid":"67556607","full_name":"Availity/react-block-ui","owner":"Availity","description":"Easy way to block the user from interacting with your UI.","archived":true,"fork":false,"pushed_at":"2023-02-21T18:24:06.000Z","size":2785,"stargazers_count":302,"open_issues_count":11,"forks_count":47,"subscribers_count":40,"default_branch":"master","last_synced_at":"2024-04-15T20:50:24.548Z","etag":null,"topics":["availity","blockui","hacktoberfest","javascript","loading-indicator","react","redux","ui"],"latest_commit_sha":null,"homepage":"https://availity.github.io/react-block-ui/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Availity.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-09-07T00:17:30.000Z","updated_at":"2024-03-27T12:24:43.000Z","dependencies_parsed_at":"2024-01-18T00:30:56.434Z","dependency_job_id":"19abcc5f-1abb-4e88-8869-9de728a524e8","html_url":"https://github.com/Availity/react-block-ui","commit_stats":{"total_commits":69,"total_committers":13,"mean_commits":"5.3076923076923075","dds":0.5797101449275363,"last_synced_commit":"eda26a244dff49da896f40c1e68e49356c4b589e"},"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Availity%2Freact-block-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Availity%2Freact-block-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Availity%2Freact-block-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Availity%2Freact-block-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Availity","download_url":"https://codeload.github.com/Availity/react-block-ui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243213984,"owners_count":20254902,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["availity","blockui","hacktoberfest","javascript","loading-indicator","react","redux","ui"],"created_at":"2024-07-30T11:01:11.544Z","updated_at":"2025-03-13T10:31:23.735Z","avatar_url":"https://github.com/Availity.png","language":"JavaScript","funding_links":[],"categories":["目录"],"sub_categories":[],"readme":"\u003e Deprecation Notice: This package is no longer supported. Please switch to [@availity/block-ui](https://www.npmjs.com/package/@availity/block-ui).\n\n[![npm version](https://badge.fury.io/js/react-block-ui.svg)](https://badge.fury.io/js/react-block-ui) [![Build Status](https://travis-ci.org/Availity/react-block-ui.svg?branch=master)](https://travis-ci.org/Availity/react-block-ui) [![Coverage Status](https://coveralls.io/repos/github/Availity/react-block-ui/badge.svg?branch=master)](https://coveralls.io/github/Availity/react-block-ui?branch=master)\n# react-block-ui\nEasy way to block the user from interacting with your UI.\n\n## About\nThis library contains easy to use components to prevent the user from interacting with the user interface based on some conditions.\n\nThere is also a separate component which works with redux to help block and unblock automatically based on redux action types. See the ReduxBlockUi component for more details.\n\n## Documentation\nSee: [https://availity.github.io/react-block-ui/](https://availity.github.io/react-block-ui/)\n\n## Installation\n\nInstall `react-block-ui` via NPM\n\n```sh\nnpm install --save react-block-ui react react-dom\n```\n\nImport the components you need, example:\n\n```js\nimport BlockUi from 'react-block-ui';\nimport ReduxBlockUi from 'react-block-ui/redux'; // only for redux\nimport reduxMiddleware from 'react-block-ui/reduxMiddleware'; // only for redux\nimport from 'react-block-ui/style.css';\n```\n\n## Development\n\nInstall dependencies:\n\n```sh\nnpm install\n```\n\nRun examples at [http://localhost:8080/](http://localhost:8080/) with webpack dev server:\n\n```sh\nnpm start\n```\n\nRun tests:\n\n```sh\nnpm test\n```\n\nRun tests \u0026 coverage report:\n\n```sh\nnpm test:coverage\n```\n\nWatch tests:\n\n```sh\nnpm run test:watch\n```\n\n## Disclaimer\nOpen source software components distributed or made available in the Availity Materials are licensed to Company under the terms of the applicable open source license agreements, which may be found in text files included in the Availity Materials.\n\n## License\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAvaility%2Freact-block-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAvaility%2Freact-block-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAvaility%2Freact-block-ui/lists"}