{"_id":"@bolttech/ob-atoms-rating","_rev":"4-0f1ada339fb72455ce889f24b37245a4","name":"@bolttech/ob-atoms-rating","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@bolttech/ob-atoms-rating","version":"1.0.0","_id":"@bolttech/ob-atoms-rating@1.0.0","maintainers":[{"name":"andsfranbolt","email":"anderson.francisco@bolttech.io"},{"name":"danielkhalebbatista","email":"daniel.batista@bolttech.io"},{"name":"pauloazevedo-ed","email":"paulo.azevedo@bolttech.io"},{"name":"bruno.gomes","email":"bruno.gomes@bolttech.io"},{"name":"plinio.altoe","email":"plinio.altoe@bolttech.io"},{"name":"joaoteixeira20","email":"joao.teixeira@bolttech.io"},{"name":"esteve-cabrera","email":"esteve.cabrera@bolttech.io"},{"name":"jabolttech","email":"jhonatan.amorim@bolttech.io"},{"name":"lucasvpaiva","email":"lucas.paiva@bolttech.io"},{"name":"herberts.fortuna","email":"herberts.fortuna@bolttech.io"},{"name":"matheus.maciel.bolttech","email":"matheus.maciel@bolttech.io"},{"name":"silas.silva.bolttech","email":"silas.silva@bolttech.io"}],"dist":{"shasum":"976140590cc381d17b690333a7d8e601c0f0bff8","tarball":"https://registry.npmjs.org/@bolttech/ob-atoms-rating/-/ob-atoms-rating-1.0.0.tgz","fileCount":9,"integrity":"sha512-Tpr/tYPmzRCEiBXWPq09yBC6ZeYIHOYqtuosH/QUg3hALPVRM9gRpC9+KwY/GNfYeyNYa6Rz5lVjCi3sU3JEcw==","signatures":[{"sig":"MEUCIANzOL+nAhM2fsNIJ7Ava68OTo54U+PnT/1MVFCnukkxAiEApIWy8VmkrfoKyyL6BQPWbeJBs2BFbBAXQoZMeJqPeIs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79222},"main":"./index.cjs.js","type":"commonjs","types":"./index.d.ts","gitHead":"9ab8c155faf5491854e87689df8a3b3ac9944105","_npmUser":{"name":"andsfranbolt","email":"anderson.francisco@bolttech.io"},"_npmVersion":"11.10.1","description":"```bash npx nx g @nx/react:lib ${lib_name} ```","directories":{},"_nodeVersion":"22.17.1","dependencies":{"@bolttech/ui-utils":"0.6.5"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ob-atoms-rating_1.0.0_1778515903728_0.70936982354652","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@bolttech/ob-atoms-rating","version":"1.0.1","_id":"@bolttech/ob-atoms-rating@1.0.1","maintainers":[{"name":"andsfranbolt","email":"anderson.francisco@bolttech.io"},{"name":"danielkhalebbatista","email":"daniel.batista@bolttech.io"},{"name":"pauloazevedo-ed","email":"paulo.azevedo@bolttech.io"},{"name":"bruno.gomes","email":"bruno.gomes@bolttech.io"},{"name":"plinio.altoe","email":"plinio.altoe@bolttech.io"},{"name":"joaoteixeira20","email":"joao.teixeira@bolttech.io"},{"name":"esteve-cabrera","email":"esteve.cabrera@bolttech.io"},{"name":"jabolttech","email":"jhonatan.amorim@bolttech.io"},{"name":"lucasvpaiva","email":"lucas.paiva@bolttech.io"},{"name":"herberts.fortuna","email":"herberts.fortuna@bolttech.io"},{"name":"matheus.maciel.bolttech","email":"matheus.maciel@bolttech.io"},{"name":"silas.silva.bolttech","email":"silas.silva@bolttech.io"}],"dist":{"shasum":"9b0328bbaf7a6dd225c689bc64dd9fa3619a7658","tarball":"https://registry.npmjs.org/@bolttech/ob-atoms-rating/-/ob-atoms-rating-1.0.1.tgz","fileCount":5,"integrity":"sha512-xLhYqL4Do2r/4NG5alY1O3XiKu4vR7Y7bDYSl3Qsz7fXUP9iML+nxj+1dWvQURzEOdr7WVfpU4e2Y9KnP59GLA==","signatures":[{"sig":"MEQCIAdXgc9JzCdVN2dUtW/7shwKOofBhKkM8asnTNgzJeLcAiBdlB8D39Y0Hy/BUnOl6UnfQAQVBsvO/5rATlz7G3+gXw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":78765},"main":"./index.cjs.js","type":"commonjs","types":"./index.d.ts","gitHead":"5cefd9374ec34b2ecdb64092f2ed75e7fb4eb862","_npmUser":{"name":"silas.silva.bolttech","email":"silas.silva@bolttech.io"},"_npmVersion":"10.9.4","description":"```bash npx nx g @nx/react:lib ${lib_name} ```","directories":{},"_nodeVersion":"22.22.0","dependencies":{"react":"19.1.2","@bolttech/ui-utils":"0.6.7","@bolttech/ob-atoms-icon":"1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ob-atoms-rating_1.0.1_1780927089362_0.6587124244288993","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bolttech/ob-atoms-rating","version":"1.0.2","_id":"@bolttech/ob-atoms-rating@1.0.2","maintainers":[{"name":"andsfranbolt","email":"anderson.francisco@bolttech.io"},{"name":"danielkhalebbatista","email":"daniel.batista@bolttech.io"},{"name":"pauloazevedo-ed","email":"paulo.azevedo@bolttech.io"},{"name":"bruno.gomes","email":"bruno.gomes@bolttech.io"},{"name":"plinio.altoe","email":"plinio.altoe@bolttech.io"},{"name":"joaoteixeira20","email":"joao.teixeira@bolttech.io"},{"name":"esteve-cabrera","email":"esteve.cabrera@bolttech.io"},{"name":"jabolttech","email":"jhonatan.amorim@bolttech.io"},{"name":"lucasvpaiva","email":"lucas.paiva@bolttech.io"},{"name":"herberts.fortuna","email":"herberts.fortuna@bolttech.io"},{"name":"matheus.maciel.bolttech","email":"matheus.maciel@bolttech.io"},{"name":"silas.silva.bolttech","email":"silas.silva@bolttech.io"}],"dist":{"shasum":"37016f9e18b412d07a268184c838091e25982bac","tarball":"https://registry.npmjs.org/@bolttech/ob-atoms-rating/-/ob-atoms-rating-1.0.2.tgz","fileCount":9,"integrity":"sha512-ecKU7Me0XlP+dHwK69B27hzMIJAzP83v+5qwu9J4xo7P83k4hWpD1WptGjDnnfEKwAZgoCa+zC2MM+DvimFhnw==","signatures":[{"sig":"MEUCIQC73g5XdN9/qjThnDdH3QHi9AmqdPoK8ay1FILVf9mOeQIgTMjqO2iK28LY8O0l4LqIHZ5raUpoFgSkoRNCX/N0Bp4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":79409},"main":"./index.cjs.js","type":"commonjs","types":"./index.d.ts","gitHead":"20ec4d05891f67e583f40cf16bb14f2cc62601d6","_npmUser":{"name":"andsfranbolt","email":"anderson.francisco@bolttech.io"},"_npmVersion":"10.9.8","description":"```bash npx nx g @nx/react:lib ${lib_name} ```","directories":{},"_nodeVersion":"22.17.1","dependencies":{"react":"19.1.2","@bolttech/ui-utils":"0.6.7","@bolttech/ob-atoms-icon":"1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ob-atoms-rating_1.0.2_1788778952266_0.6949130809349904","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@bolttech/ob-atoms-rating","version":"1.0.3","dependencies":{"@bolttech/ui-utils":"0.6.7","react":"19.1.2","@bolttech/ob-atoms-icon":"1.0.1"},"main":"./index.cjs.js","type":"commonjs","types":"./index.d.ts","_id":"@bolttech/ob-atoms-rating@1.0.3","gitHead":"e2a5df84d2994686aaeb3ff9c38df94091162ff8","description":"The **Rating** component is a React component designed to provide a customizable star rating input. This component allows users to provide ratings by interacting with star icons. The component handles mouseover events to display ratings and supports custo","_nodeVersion":"22.17.1","_npmVersion":"10.9.8","dist":{"integrity":"sha512-0tKIbl4k4Qa3WW4guhyXAPtui4vFwsyE9BOeqtnzHWrJt/F4Nb1juQv8DI+AQecef+6M/CugS127Exu6LACYGg==","shasum":"53576d025ee3efbe55da6ba33f28ab180afb78d6","tarball":"https://registry.npmjs.org/@bolttech/ob-atoms-rating/-/ob-atoms-rating-1.0.3.tgz","fileCount":8,"unpackedSize":82014,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDU3zaGZOLG4se8eBe2CT2l4EmPvYQcMoDdlyT8onmOZAIhAIHGzxTxfQnofGX5zzqfxQhDcb7226Nkr5BPcO2JoLvx"}]},"_npmUser":{"name":"andsfranbolt","email":"anderson.francisco@bolttech.io"},"directories":{},"maintainers":[{"name":"andsfranbolt","email":"anderson.francisco@bolttech.io"},{"name":"danielkhalebbatista","email":"daniel.batista@bolttech.io"},{"name":"pauloazevedo-ed","email":"paulo.azevedo@bolttech.io"},{"name":"bruno.gomes","email":"bruno.gomes@bolttech.io"},{"name":"plinio.altoe","email":"plinio.altoe@bolttech.io"},{"name":"joaoteixeira20","email":"joao.teixeira@bolttech.io"},{"name":"esteve-cabrera","email":"esteve.cabrera@bolttech.io"},{"name":"jabolttech","email":"jhonatan.amorim@bolttech.io"},{"name":"lucasvpaiva","email":"lucas.paiva@bolttech.io"},{"name":"herberts.fortuna","email":"herberts.fortuna@bolttech.io"},{"name":"matheus.maciel.bolttech","email":"matheus.maciel@bolttech.io"},{"name":"silas.silva.bolttech","email":"silas.silva@bolttech.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ob-atoms-rating_1.0.3_1788796501508_0.5880195527897762"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-11T16:11:43.560Z","modified":"2026-09-07T15:55:01.797Z","1.0.0":"2026-05-11T16:11:43.858Z","1.0.1":"2026-06-08T13:58:09.526Z","1.0.2":"2026-09-07T11:02:32.397Z","1.0.3":"2026-09-07T15:55:01.629Z"},"description":"The **Rating** component is a React component designed to provide a customizable star rating input. This component allows users to provide ratings by interacting with star icons. The component handles mouseover events to display ratings and supports custo","maintainers":[{"name":"andsfranbolt","email":"anderson.francisco@bolttech.io"},{"name":"danielkhalebbatista","email":"daniel.batista@bolttech.io"},{"name":"pauloazevedo-ed","email":"paulo.azevedo@bolttech.io"},{"name":"bruno.gomes","email":"bruno.gomes@bolttech.io"},{"name":"plinio.altoe","email":"plinio.altoe@bolttech.io"},{"name":"joaoteixeira20","email":"joao.teixeira@bolttech.io"},{"name":"esteve-cabrera","email":"esteve.cabrera@bolttech.io"},{"name":"jabolttech","email":"jhonatan.amorim@bolttech.io"},{"name":"lucasvpaiva","email":"lucas.paiva@bolttech.io"},{"name":"herberts.fortuna","email":"herberts.fortuna@bolttech.io"},{"name":"matheus.maciel.bolttech","email":"matheus.maciel@bolttech.io"},{"name":"silas.silva.bolttech","email":"silas.silva@bolttech.io"}],"readme":"# Rating Component\n\nThe **Rating** component is a React component designed to provide a customizable star rating input. This component allows users to provide ratings by interacting with star icons. The component handles mouseover events to display ratings and supports customization through various props.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [Props](#props)\n- [Example](#example)\n- [Contributing](#contributing)\n\n## Installation\n\nTo use the **Rating** component in your React application, follow these steps:\n\n### Installation\n\n```bash\nnpm install @bolttech/atoms-rating\n```\n\nor\n\n```bash\nyarn add @bolttech/atoms-rating\n```\n\nOnce you have the required dependencies installed, you can start using the `Rating` component in your React application.\n\n## Usage\n\nThe **Rating** component provides a star-based rating input that allows users to provide ratings through interaction. It supports customization through various props.\n\nTo use the component, import it and include it in your JSX:\n\n```jsx\nimport React from 'react';\nimport {Rating} from '@bolttech/atoms-rating';\nimport {bolttechTheme, BolttechThemeProvider} from \"@bolttech/frontend-foundations\";\n\nfunction App() {\n  return (\n    <Rating\n      value={3} // Default value\n      dataTestId=\"rating-component\"\n      onClick={(rating) => console.log(`Selected rating: ${rating}`)}\n    />\n  );\n}\n\nexport default App;\n```\n\n## Props\n\nThe **Rating** component accepts the following props:\n\n| Prop         | Type          | Description                                       |\n|--------------|---------------|---------------------------------------------------|\n| `value`      | number        | The initial rating value (number of filled stars).|\n| `dataTestId` | string        | The data-testid attribute for testing purposes.   |\n| `onClick`    | function      | A callback function triggered on star selection.  |\n\n## Example\n\nHere's an example of using the **Rating** component:\n\n```jsx\n<Rating\n  value={4}\n  dataTestId=\"rating-component\"\n  onClick={(rating) => console.log(`Selected rating: ${rating}`)}\n/>\n```\n\nThis will render a **Rating** component with an initial rating of 4 filled stars and a callback function to handle the selection.\n\n## Contributing\n\nContributions to the **Rating** component are welcome. If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request on the project's Bitbucket repository.\n","readmeFilename":"README.md"}