@tcn/ui-table 2.4.3 → 2.4.4

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": "@tcn/ui-table",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "type": "module",
5
5
  "description": "React table component library",
6
6
  "author": "TCN",
@@ -39,11 +39,11 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "clarity-pattern-parser": "^11.5.4",
42
- "@tcn/aip-160": "1.2.5",
43
42
  "@tcn/icons": "2.3.0",
43
+ "@tcn/aip-160": "1.2.5",
44
+ "@tcn/resource-store": "2.5.7",
44
45
  "@tcn/state": "1.3.3",
45
- "@tcn/ui": "0.15.0",
46
- "@tcn/resource-store": "2.5.7"
46
+ "@tcn/ui": "0.16.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "react": "^18.2.0",
@@ -12,7 +12,7 @@ import {
12
12
  import { Signal, useSignalValue } from '@tcn/state';
13
13
  import { Button } from '@tcn/ui/actions';
14
14
  import { Checkbox } from '@tcn/ui/inputs';
15
- import { Footer, Header, Rail, Side, Scaffold } from '@tcn/ui/layouts';
15
+ import { Footer, Header, Rail, Scaffold, Column } from '@tcn/ui/layouts';
16
16
  import { Box, HStack, Spacer, VStack, ZStack } from '@tcn/ui/stacks';
17
17
  import { Panel } from '@tcn/ui/surfaces';
18
18
  import { Title } from '@tcn/ui/typography';
@@ -416,8 +416,7 @@ export function WithFilterPanel() {
416
416
  <Panel height="100%">
417
417
  <Header>The Table</Header>
418
418
  <Rail>
419
- {/* TODO: Refactor to remove duplicate column logic (outer Side and inner Aside - in TableFilterPanel ) */}
420
- <Side padding="0px">
419
+ <Column>
421
420
  <Box minWidth="300px" enableResizeOnEnd height="100%" maxHeight="100%">
422
421
  <TableFilterPanel
423
422
  dataSource={source}
@@ -442,7 +441,7 @@ export function WithFilterPanel() {
442
441
  />
443
442
  </TableFilterPanel>
444
443
  </Box>
445
- </Side>
444
+ </Column>
446
445
  <Table dataSource={source} height="100%">
447
446
  <TableColumn heading="Name" fieldName="name" sticky="start" />
448
447
  <TableColumn heading="Age" fieldName="age" width={150} canSort />