{"_id":"@bolttech/ob-molecules-table","_rev":"4-0a5b925a0b06f10c5ccbf9094371b877","name":"@bolttech/ob-molecules-table","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@bolttech/ob-molecules-table","version":"1.0.0","_id":"@bolttech/ob-molecules-table@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":"7c24bef6c66e00ccc5b4de4e5a6e9b8446d136b9","tarball":"https://registry.npmjs.org/@bolttech/ob-molecules-table/-/ob-molecules-table-1.0.0.tgz","fileCount":10,"integrity":"sha512-W6LprpYQ+pRTkTkcpoRauas2UBXAQY64eibKWzFklhggws7Q4q7ZV1dYA3r5Itb8MlAdyY3eiGj/x7y64bAqVA==","signatures":[{"sig":"MEUCIDQ/sWSJb+5cB6Ypi677Pj1SMxumSB4msZ6dGDNwsHfKAiEAv1g8RDdAhsVOVHysluLBg08ME22/RKZoedD3qlMeGcU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":114430},"main":"./index.cjs.js","type":"commonjs","types":"./index.d.ts","gitHead":"c41d5f2f782d28550e5cd6eed326bb8699dc0304","_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-molecules-table_1.0.0_1778516594732_0.8214945378029965","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@bolttech/ob-molecules-table","version":"1.0.1","_id":"@bolttech/ob-molecules-table@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":"5f0f3b78a118ed22dd3ae121727e33eab7c99eaa","tarball":"https://registry.npmjs.org/@bolttech/ob-molecules-table/-/ob-molecules-table-1.0.1.tgz","fileCount":5,"integrity":"sha512-SXZl7lH+s5ttVl+EyPUM1i3RvO2WWJwWdrNUKjZOXD69KCWzIRU0DUZfYSLPUCBuOalDJLAu47/VybwjsogJ8g==","signatures":[{"sig":"MEQCIG3Fg6ThfV+QE5Eq0D6IyNDrrBwVh4ywFEtvVbNA2+T2AiADDBxrcs9II8FH01+GwobV1U9fmPw9XVa5wkhECk69/g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":106369},"main":"./index.cjs.js","type":"commonjs","types":"./index.d.ts","gitHead":"c4c55a7d69d4ee79aafe44cfcba9eddda6101245","_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","classnames":"^2.5.1","@bolttech/ui-utils":"0.6.7","@bolttech/ob-atoms-icon":"1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ob-molecules-table_1.0.1_1780927903612_0.47050773687967706","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@bolttech/ob-molecules-table","version":"1.0.2","_id":"@bolttech/ob-molecules-table@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":"c225cd23cef9f6d5b9365a6eb64e33b51d13203f","tarball":"https://registry.npmjs.org/@bolttech/ob-molecules-table/-/ob-molecules-table-1.0.2.tgz","fileCount":10,"integrity":"sha512-hkaUNQhdoV7AFNuVGDwAyUxgqj/Vb+JSNz26v3o6Zo3ZYtJdg69OJMh1fQvu2WBv/oJzbJVVQPQh9ce9vochMw==","signatures":[{"sig":"MEQCIHV8DrBHeiAHPzkBrKFL8/XksD/SMMAeYS8x/uarK2CPAiAw4nil3iFGtRgGqkeYt3hxt2KX9lLGkfbhrOxgcJJ8YQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCXqN7uFj06fL5eZ23tsAdhFskpu35K6V2vQo2fo/9G2gIhAJNQ0/lUc4wLrt1KU7+obE1V2qMAo/berJQ5A3aoDGM/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":113369},"main":"./index.cjs.js","type":"commonjs","types":"./index.d.ts","gitHead":"1de6328ee373260ea36259ab8b83bc4c8a161815","_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","classnames":"^2.5.1","@bolttech/ui-utils":"0.6.7","@bolttech/ob-atoms-icon":"1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ob-molecules-table_1.0.2_1788780169659_0.8236329614111504","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"_id":"@bolttech/ob-molecules-table@1.0.3","dist":{"shasum":"369c1fac483f9cc3385cc491a1993ebfdc9a56e2","tarball":"https://registry.npmjs.org/@bolttech/ob-molecules-table/-/ob-molecules-table-1.0.3.tgz","fileCount":9,"integrity":"sha512-VFW36lFW831nrKFHewr4fyVm/DfPpdUXDtAnyAPXlV3Rb+nCRrgAcQHtyUNrBZqzE3005zLPLTVHYoQca0iMAg==","signatures":[{"sig":"MEUCIGSQkDKKR470EqJnF+p0i9cWLU14mXweTbVZlTRiFPq9AiEA5E/jBpHKfvPnRAa39JoHjYrK420mhxCmBSAUk/x3lhc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDuzR6vUzfTPWRc8ynBEBIWY66W5lIusmaHlvy7dlqK9wIgdMDpBr0D3IrCASrLIEy/MEkulFZ5Ao5ACprEpuGujPY="}],"unpackedSize":116808},"main":"./index.cjs.js","name":"@bolttech/ob-molecules-table","type":"commonjs","types":"./index.d.ts","gitHead":"81116a12d3070c86d400c4d47bace5743c80f666","version":"1.0.3","_npmUser":{"name":"andsfranbolt","email":"anderson.francisco@bolttech.io"},"_npmVersion":"10.9.8","description":"A set of composable table components (`Table`, `TableHead`, `TableHeadColumn`, `TableBody`, `TableRow`, `TableColumn`) with optional column sorting and row highlighting.","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"}],"_nodeVersion":"22.17.1","dependencies":{"react":"19.1.2","classnames":"^2.5.1","@bolttech/ui-utils":"0.6.7","@bolttech/ob-atoms-icon":"1.0.1"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ob-molecules-table_1.0.3_1788797097564_0.6786935607821258"}}},"time":{"created":"2026-05-11T16:23:14.536Z","modified":"2026-09-07T16:04:57.844Z","1.0.0":"2026-05-11T16:23:15.019Z","1.0.1":"2026-06-08T14:11:43.784Z","1.0.2":"2026-09-07T11:22:49.738Z","1.0.3":"2026-09-07T16:04:57.652Z"},"description":"A set of composable table components (`Table`, `TableHead`, `TableHeadColumn`, `TableBody`, `TableRow`, `TableColumn`) with optional column sorting and row highlighting.","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":"# Table Component\n\nA set of composable table components (`Table`, `TableHead`, `TableHeadColumn`, `TableBody`, `TableRow`, `TableColumn`) with optional column sorting and row highlighting.\n\n## Installation\n\nUse the package manager [npm](https://www.npmjs.com/) or [yarn](https://yarnpkg.com/) to install the component.\n\n```bash\nnpm install @bolttech/ob-molecules-table\n```\n\nor\n\n```bash\nyarn add @bolttech/ob-molecules-table\n```\n\n## Props\n\n### `Table`\n\n| Prop              | Type                                       | Description                                                       |\n| ----------------- | --------------------------------------------- | --------------------------------------------------------------------- |\n| allowMultipleSort | `boolean`                                     | Allows sorting by more than one column at a time.                    |\n| onSort            | `(sortList: SortList[]) => void`               | Callback fired when the sort state changes.                          |\n| highlightColor    | `HighlightColors`                              | Highlight color applied to the table (e.g. `'accent'`, `'danger'`).  |\n| id / dataTestId   | `string`                                       | Identification props.                                                |\n| children          | `React.ReactElement \\| React.ReactElement[] \\| string` | Table content, typically `TableHead` and `TableBody`.       |\n\n### `TableHeadColumn`\n\n| Prop     | Type      | Description                                    |\n| -------- | --------- | ------------------------------------------------ |\n| sortable | `boolean` | Enables sorting for this column.                 |\n| fixed    | `boolean` | Keeps the column fixed while scrolling.          |\n\n### `TableColumn`\n\n| Prop           | Type      | Description                                    |\n| -------------- | --------- | ------------------------------------------------ |\n| fixed          | `boolean` | Keeps the column fixed while scrolling.          |\n| hideBackground | `boolean` | Hides the column's background highlight.        |\n\n`TableHead`, `TableBody`, and `TableRow` share the base props (`id`, `dataTestId`, `children`, `highlightColor`).\n\n## Usage\n\n```jsx\nimport React from 'react';\nimport {\n  Table,\n  TableHead,\n  TableHeadColumn,\n  TableBody,\n  TableRow,\n  TableColumn,\n} from '@bolttech/ob-molecules-table';\n\nconst ExampleComponent = () => {\n  return (\n    <Table onSort={(sortList) => console.log(sortList)}>\n      <TableHead>\n        <TableRow>\n          <TableHeadColumn sortable>Plan</TableHeadColumn>\n          <TableHeadColumn sortable>Price</TableHeadColumn>\n        </TableRow>\n      </TableHead>\n      <TableBody>\n        <TableRow>\n          <TableColumn>Basic</TableColumn>\n          <TableColumn>€9.99</TableColumn>\n        </TableRow>\n      </TableBody>\n    </Table>\n  );\n};\n\nexport default ExampleComponent;\n```\n\n## Contributing\n\nContributions are welcome! For any bug fixes, improvements, or new features, please open an [issue](link-to-issues) or submit a pull request.\n\nPlease make sure to follow the code standards and test your changes before submitting.\n","readmeFilename":"README.md"}