diff --git a/package-lock.json b/package-lock.json index abe0d75..473911d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gisce/react-formiga-table", - "version": "0.8.0", + "version": "0.8.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@gisce/react-formiga-table", - "version": "0.8.0", + "version": "0.8.1", "dependencies": { "react": "^16.8.0 || 17.x", "react-dom": "^16.8.0 || 17.x", diff --git a/package.json b/package.json index 53e54ea..7e47479 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@gisce/react-formiga-table", - "version": "0.8.0", + "version": "0.8.1", "scripts": { "build": "tsc && vite build", "prepublishOnly": "npm run build", diff --git a/src/components/Rows.tsx b/src/components/Rows.tsx index 3e52629..39a5fc3 100644 --- a/src/components/Rows.tsx +++ b/src/components/Rows.tsx @@ -163,6 +163,7 @@ function getRowComponent({ getExpandableStatusForRow={getExpandableStatusForRow} onExpandableIconClicked={onExpandableIconClicked} level={level} + rowIsSelected={rowIsSelected} /> } diff --git a/src/stories/Table.stories.tsx b/src/stories/Table.stories.tsx index 7066772..ad0f7d5 100644 --- a/src/stories/Table.stories.tsx +++ b/src/stories/Table.stories.tsx @@ -264,7 +264,7 @@ export const Status: ComponentStoryObj = { alert("double clicked record" + JSON.stringify(record)); }, sorter: { id: "name", desc: true }, - readonly: true, + readonly: false, onChangeSort: (sorter: Sorter | undefined) => { console.log("onChangeSort: ", sorter); },