react-live-data-table 1.0.8 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-live-data-table",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Your React component package with Tailwind",
5
5
  "main": "src/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -169,6 +169,7 @@ function ReactDataTable({
169
169
  <input
170
170
  id={data.id}
171
171
  type="checkbox"
172
+ className='bg-gray-700 rounded-4 border-gray-200 text-blue-400 focus:ring-0 focus:ring-white'
172
173
  checked={Object.keys(selectedRows).length > 0 && data.every(row => selectedRows[row.id])}
173
174
  onChange={(e) => handleSelectAll(e.target.checked, flatData)}
174
175
  />
@@ -178,6 +179,7 @@ function ReactDataTable({
178
179
  return (
179
180
  <div className="flex items-center justify-center h-[40px]" onClick={(e) => e.stopPropagation()}>
180
181
  <input
182
+ id={row.id}
181
183
  type="checkbox"
182
184
  className='bg-gray-700 rounded-4 border-gray-200 text-blue-400 focus:ring-0 focus:ring-white'
183
185
  checked={!!selectedRows[row.id]}