Skip to content

Commit

Permalink
feat(compass-global-writes): zone table - add search and collapse/exp…
Browse files Browse the repository at this point in the history
  • Loading branch information
paula-stacho authored Oct 23, 2024
1 parent 66db10e commit 2ec13eb
Show file tree
Hide file tree
Showing 7 changed files with 462 additions and 85 deletions.
234 changes: 183 additions & 51 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion packages/compass-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@leafygreen-ui/search-input": "^2.1.5",
"@leafygreen-ui/segmented-control": "^8.2.10",
"@leafygreen-ui/select": "^11.2.2",
"@leafygreen-ui/table": "^12.6.1",
"@leafygreen-ui/table": "^12.7.0",
"@leafygreen-ui/tabs": "^11.1.13",
"@leafygreen-ui/text-area": "^8.1.2",
"@leafygreen-ui/text-input": "^12.1.26",
Expand All @@ -76,6 +76,7 @@
"@react-aria/interactions": "^3.9.1",
"@react-aria/utils": "^3.13.1",
"@react-aria/visually-hidden": "^3.3.1",
"@tanstack/table-core": "^8.14.0",
"bson": "^6.8.0",
"focus-trap-react": "^9.0.2",
"hadron-document": "^8.6.4",
Expand Down
5 changes: 5 additions & 0 deletions packages/compass-components/src/components/leafygreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ import {
TableBody,
flexRender,
useLeafyGreenTable,
getFilteredRowModel,
} from '@leafygreen-ui/table';
import type { Row as LgTableRowType } from '@tanstack/table-core'; // TODO(COMPASS-8437): import from LG

export type {
LGColumnDef,
HeaderGroup,
Expand Down Expand Up @@ -172,4 +175,6 @@ export {
InfoSprinkle,
flexRender,
useLeafyGreenTable,
getFilteredRowModel,
type LgTableRowType,
};
Loading

0 comments on commit 2ec13eb

Please sign in to comment.