Skip to content

Commit

Permalink
chore: sync changes from v2 to v2-develop (#29) [skip ci]
Browse files Browse the repository at this point in the history
Co-authored-by: mguellsegarra <[email protected]>
  • Loading branch information
giscegit and mguellsegarra authored Nov 15, 2024
1 parent 88c8d62 commit bc4df2a
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 5 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: '!contains(github.event.head_commit.message, ''[skip ci]'')'
outputs:
release_type: ${{ steps.get_release_type.outputs.release_type }}
tag_name: ${{ steps.get_tag_name.outputs.tag_name }}
Expand Down Expand Up @@ -90,4 +91,22 @@ jobs:
dependentProjectBranch: ${{ matrix.branch }}
libraryName: ${{ env.LIBRARY_NAME }}
githubToken: ${{ secrets.GH_PAT }}
releaseType: ${{ needs.release.outputs.release_type }}

create-sync-prs:
name: Create sync PRs
needs: release
if: github.ref == 'refs/heads/v2'
runs-on: ubuntu-latest
strategy:
matrix:
target: ['alpha', 'v2-develop']
steps:
- name: Call create sync pr
uses: gisce/[email protected]
with:
repository: ${{ env.LIBRARY_NAME }}
targetBranch: ${{ matrix.target }}
baseBranch: v2
githubToken: ${{ secrets.GH_PAT }}
releaseType: ${{ needs.release.outputs.release_type }}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gisce/react-formiga-table",
"version": "1.8.4",
"version": "1.8.5",
"engines": {
"node": "20.5.0"
},
Expand Down
6 changes: 4 additions & 2 deletions src/components/InfiniteTable/InfiniteTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export type InfiniteTableProps = Omit<
onRowStatus?: (item: any) => any;
statusComponent?: (status: any) => ReactNode;
strings?: Record<string, string>;
showPointerCursorInRows?: boolean;
};

export type InfiniteTableRef = {
Expand Down Expand Up @@ -91,6 +92,7 @@ const InfiniteTableComp = forwardRef<InfiniteTableRef, InfiniteTableProps>(
statusComponent,
hasStatusColumn = false,
strings = {},
showPointerCursorInRows = true,
} = props;

const gridRef = useRef<AgGridReact>(null);
Expand Down Expand Up @@ -478,9 +480,9 @@ const InfiniteTableComp = forwardRef<InfiniteTableRef, InfiniteTableProps>(

const rowStyle = useMemo(() => {
return {
cursor: "pointer",
cursor: showPointerCursorInRows ? "pointer" : "default",
};
}, []);
}, [showPointerCursorInRows]);

return (
<div
Expand Down

0 comments on commit bc4df2a

Please sign in to comment.