Skip to content

Commit 2ec13eb

Browse files
authored
feat(compass-global-writes): zone table - add search and collapse/expand COMPASS-8336 (#6356)
1 parent 66db10e commit 2ec13eb

File tree

7 files changed

+462
-85
lines changed

7 files changed

+462
-85
lines changed

package-lock.json

Lines changed: 183 additions & 51 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/compass-components/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@leafygreen-ui/search-input": "^2.1.5",
6565
"@leafygreen-ui/segmented-control": "^8.2.10",
6666
"@leafygreen-ui/select": "^11.2.2",
67-
"@leafygreen-ui/table": "^12.6.1",
67+
"@leafygreen-ui/table": "^12.7.0",
6868
"@leafygreen-ui/tabs": "^11.1.13",
6969
"@leafygreen-ui/text-area": "^8.1.2",
7070
"@leafygreen-ui/text-input": "^12.1.26",
@@ -76,6 +76,7 @@
7676
"@react-aria/interactions": "^3.9.1",
7777
"@react-aria/utils": "^3.13.1",
7878
"@react-aria/visually-hidden": "^3.3.1",
79+
"@tanstack/table-core": "^8.14.0",
7980
"bson": "^6.8.0",
8081
"focus-trap-react": "^9.0.2",
8182
"hadron-document": "^8.6.4",

packages/compass-components/src/components/leafygreen.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,10 @@ import {
5353
TableBody,
5454
flexRender,
5555
useLeafyGreenTable,
56+
getFilteredRowModel,
5657
} from '@leafygreen-ui/table';
58+
import type { Row as LgTableRowType } from '@tanstack/table-core'; // TODO(COMPASS-8437): import from LG
59+
5760
export type {
5861
LGColumnDef,
5962
HeaderGroup,
@@ -172,4 +175,6 @@ export {
172175
InfoSprinkle,
173176
flexRender,
174177
useLeafyGreenTable,
178+
getFilteredRowModel,
179+
type LgTableRowType,
175180
};

0 commit comments

Comments
 (0)