{"id":23442241,"url":"https://github.com/teamwertarbyte/material-ui-rating","last_synced_at":"2025-09-03T01:40:34.051Z","repository":{"id":54496674,"uuid":"80204767","full_name":"TeamWertarbyte/material-ui-rating","owner":"TeamWertarbyte","description":"Rate something with style.","archived":false,"fork":false,"pushed_at":"2022-12-17T21:24:51.000Z","size":784,"stargazers_count":88,"open_issues_count":1,"forks_count":32,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-16T01:49:03.409Z","etag":null,"topics":["material-design","material-ui","rating","rating-stars","react"],"latest_commit_sha":null,"homepage":"https://mui.wertarbyte.com/#material-ui-rating","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/TeamWertarbyte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["leMaik","saschb2b"]}},"created_at":"2017-01-27T12:13:45.000Z","updated_at":"2023-05-24T14:50:20.000Z","dependencies_parsed_at":"2023-01-29T18:00:19.771Z","dependency_job_id":null,"html_url":"https://github.com/TeamWertarbyte/material-ui-rating","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"purl":"pkg:github/TeamWertarbyte/material-ui-rating","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-rating","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-rating/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-rating/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-rating/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TeamWertarbyte","download_url":"https://codeload.github.com/TeamWertarbyte/material-ui-rating/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TeamWertarbyte%2Fmaterial-ui-rating/sbom","scorecard":{"id":138460,"data":{"date":"2025-08-04","repo":{"name":"github.com/TeamWertarbyte/material-ui-rating","commit":"a1dfcb39fd3c40acc0d210e79d40bae4ef487d97"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":3.2,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 6/30 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 6 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T07:17:29.996Z","repository_id":54496674,"created_at":"2025-08-16T07:17:29.996Z","updated_at":"2025-08-16T07:17:29.996Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273377149,"owners_count":25094526,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["material-design","material-ui","rating","rating-stars","react"],"created_at":"2024-12-23T17:29:01.840Z","updated_at":"2025-09-03T01:40:34.028Z","avatar_url":"https://github.com/TeamWertarbyte.png","language":"JavaScript","readme":"# Material-UI Rating\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![Build Status](https://travis-ci.org/TeamWertarbyte/material-ui-rating.svg?branch=next)](https://travis-ci.org/TeamWertarbyte/material-ui-rating)\n\n![Example](preview.gif)\n\n## Installation\n\n**Stable channel**\n```sh\nnpm install material-ui-rating@next\n```\n\n## Usage\n```js\nimport Rating from 'material-ui-rating'\n\n\u003cRating\n  value={3}\n  max={5}\n  onChange={(value) =\u003e console.log(`Rated with value ${value}`)}\n/\u003e\n```\n\n### Material Rating Properties\n\n|Name               |Type    |Default|Description                                                                          |\n|-------------------|--------|-------|-------------------------------------------------------------------------------------|\n|classes*           |`object`|       |Useful to extend the style applied to components. The accepted keys are listed below.|\n|component          |`elementType`|`div`|The component used for the root node. Either a string to use a DOM element or a component.|\n|disabled           |`bool`  |`false`|Disables the rating and gray it out if set to true.                                  |\n|disableHover       |`bool`  |`false`|Disable hover effects if set to true.                                                        |\n|iconFilled         |`node`  |       |This is the icon to be used as an icon in value range.                               |\n|iconFilledRenderer |`func`  |       |Overrides filled icon renderer.                                                      |\n|iconHoveredRenderer|`func`  |       |Overrides hovered icon renderer.                                                     |\n|iconHovered        |`node`  |       |This is the icon to be used as an hovered icon.                                      |\n|iconNormal         |`node`  |       |This is the icon to be used as an normal icon.                                       |\n|iconNormalRenderer |`func`  |       |Overrides normal icon renderer.                                                      |\n|max                |`number`|`5`    |The max value of the rating bar.                                                     |\n|onChange           |`func`  |       |Fired when a value is clicked.                                                       |\n|readOnly           |`bool`  |`false`|Don't allow input if set to true.                                                    |\n|value              |`number`|`0`    |The value of the rating bar.                                                         |\n\n\\* required property\n\n\n### CSS API\n\nYou can override all the class names injected by Material-UI-Rating thanks to the `classes` property. This property accepts the following keys:\n\n- `root` - Applied to the root `div` element\n- `iconButton` - Applied to the IconButton component\n- `icon` - Applied to the SvgIcon component\n- `disabled` - Applied to the IconButton component when disabled prop is `true`\n- `readOnly` - Applied to the IconButton component when readOnly prop is `true`\n\n## RTL support\n\nFollowing [Material-UI's conventions](https://material-ui.com/guides/right-to-left/), this package respects [`theme.direction.rtl`](https://material-ui.com/customization/default-theme/), so right-to-left support works out-of-the-box.\n\n## License\n\nThe files included in this repository are licensed under the MIT license.\n","funding_links":["https://github.com/sponsors/leMaik","https://github.com/sponsors/saschb2b"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamwertarbyte%2Fmaterial-ui-rating","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteamwertarbyte%2Fmaterial-ui-rating","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteamwertarbyte%2Fmaterial-ui-rating/lists"}