@atlaskit/table 0.15.2 → 1.0.0
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/CHANGELOG.md +26 -0
- package/body/package.json +1 -8
- package/dist/cjs/head-cell.js +0 -2
- package/dist/cjs/hooks/selection-provider.js +2 -0
- package/dist/cjs/hooks/use-expand-content.js +2 -0
- package/dist/cjs/hooks/use-expand.js +2 -0
- package/dist/cjs/hooks/use-row-id.js +1 -0
- package/dist/cjs/hooks/use-selectable.js +2 -0
- package/dist/cjs/hooks/use-table-body.js +2 -0
- package/dist/cjs/hooks/use-table.js +2 -0
- package/dist/es2019/head-cell.js +0 -2
- package/dist/es2019/hooks/selection-provider.js +2 -0
- package/dist/es2019/hooks/use-expand-content.js +2 -0
- package/dist/es2019/hooks/use-expand.js +2 -0
- package/dist/es2019/hooks/use-row-id.js +1 -0
- package/dist/es2019/hooks/use-selectable.js +2 -0
- package/dist/es2019/hooks/use-table-body.js +2 -0
- package/dist/es2019/hooks/use-table.js +2 -0
- package/dist/esm/head-cell.js +0 -2
- package/dist/esm/hooks/selection-provider.js +2 -0
- package/dist/esm/hooks/use-expand-content.js +2 -0
- package/dist/esm/hooks/use-expand.js +2 -0
- package/dist/esm/hooks/use-row-id.js +1 -0
- package/dist/esm/hooks/use-selectable.js +2 -0
- package/dist/esm/hooks/use-table-body.js +2 -0
- package/dist/esm/hooks/use-table.js +2 -0
- package/expandable-cell/package.json +1 -8
- package/expandable-row/package.json +1 -8
- package/expandable-row-content/package.json +1 -8
- package/head-cell/package.json +1 -8
- package/package.json +17 -56
- package/primitives/bulk-action-overlay/package.json +1 -8
- package/primitives/expand-icon/package.json +1 -8
- package/primitives/expandable-cell/package.json +1 -8
- package/primitives/package.json +1 -8
- package/primitives/selectable-cell/package.json +1 -8
- package/primitives/sort-icon/package.json +1 -8
- package/primitives/table/package.json +1 -8
- package/primitives/tbody/package.json +1 -8
- package/primitives/td/package.json +1 -8
- package/primitives/th/package.json +1 -8
- package/primitives/thead/package.json +1 -8
- package/primitives/tr/package.json +1 -8
- package/row/package.json +1 -8
- package/sortable-column/package.json +1 -8
- package/table/package.json +1 -8
- package/td/package.json +1 -8
- package/thead/package.json +1 -8
- package/dist/types-ts4.5/body.d.ts +0 -13
- package/dist/types-ts4.5/entry-points/body.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/expandable-cell.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/expandable-row-content.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/expandable-row.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/head-cell.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-bulk-action-overlay.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-expand-icon.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-expandable-cell.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-selectable-cell.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-sort-icon.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-table.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-tbody.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-td.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-th.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-thead.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/primitives-tr.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/row.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/sortable-column.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/table.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/td.d.ts +0 -1
- package/dist/types-ts4.5/entry-points/thead.d.ts +0 -1
- package/dist/types-ts4.5/expandable-cell.d.ts +0 -9
- package/dist/types-ts4.5/expandable-row-content.d.ts +0 -12
- package/dist/types-ts4.5/expandable-row.d.ts +0 -19
- package/dist/types-ts4.5/head-cell.d.ts +0 -9
- package/dist/types-ts4.5/hooks/selection-provider.d.ts +0 -21
- package/dist/types-ts4.5/hooks/use-expand-content.d.ts +0 -15
- package/dist/types-ts4.5/hooks/use-expand.d.ts +0 -17
- package/dist/types-ts4.5/hooks/use-row-id.d.ts +0 -9
- package/dist/types-ts4.5/hooks/use-selectable.d.ts +0 -41
- package/dist/types-ts4.5/hooks/use-sorting.d.ts +0 -7
- package/dist/types-ts4.5/hooks/use-table-body.d.ts +0 -6
- package/dist/types-ts4.5/hooks/use-table.d.ts +0 -24
- package/dist/types-ts4.5/index.d.ts +0 -10
- package/dist/types-ts4.5/row.d.ts +0 -21
- package/dist/types-ts4.5/selectable-cell.d.ts +0 -3
- package/dist/types-ts4.5/sortable-column.d.ts +0 -25
- package/dist/types-ts4.5/table.d.ts +0 -28
- package/dist/types-ts4.5/thead.d.ts +0 -7
- package/dist/types-ts4.5/ui/base-cell.d.ts +0 -55
- package/dist/types-ts4.5/ui/bulk-action-overlay.d.ts +0 -9
- package/dist/types-ts4.5/ui/expand-icon.d.ts +0 -9
- package/dist/types-ts4.5/ui/expandable-cell.d.ts +0 -12
- package/dist/types-ts4.5/ui/index.d.ts +0 -14
- package/dist/types-ts4.5/ui/selectable-cell.d.ts +0 -12
- package/dist/types-ts4.5/ui/sort-icon.d.ts +0 -9
- package/dist/types-ts4.5/ui/table.d.ts +0 -30
- package/dist/types-ts4.5/ui/tbody.d.ts +0 -12
- package/dist/types-ts4.5/ui/td.d.ts +0 -10
- package/dist/types-ts4.5/ui/th.d.ts +0 -15
- package/dist/types-ts4.5/ui/thead.d.ts +0 -15
- package/dist/types-ts4.5/ui/tr.d.ts +0 -37
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @jsxRuntime classic
|
|
3
|
-
* @jsx jsx
|
|
4
|
-
*/
|
|
5
|
-
import type { FC, ReactNode } from 'react';
|
|
6
|
-
interface TRProps {
|
|
7
|
-
/**
|
|
8
|
-
* A `testId` prop is a unique string that appears as a data attribute `data-testid`
|
|
9
|
-
* in the rendered code, serving as a hook for automated tests.
|
|
10
|
-
*/
|
|
11
|
-
testId?: string;
|
|
12
|
-
/**
|
|
13
|
-
* If the row has programatic selection applied.
|
|
14
|
-
*/
|
|
15
|
-
isSelected?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* Adjust the behavior of the element depending on whether the row is in the `THead` or in the `TBody`.
|
|
18
|
-
*/
|
|
19
|
-
isBodyRow?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* Content of the row.
|
|
22
|
-
*/
|
|
23
|
-
children?: ReactNode;
|
|
24
|
-
/**
|
|
25
|
-
* If the row is a subitem (an expandable row nested under a parent).
|
|
26
|
-
*/
|
|
27
|
-
isSubitem?: boolean;
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* __Row__
|
|
31
|
-
*
|
|
32
|
-
* A row primitive.
|
|
33
|
-
*
|
|
34
|
-
* - [Examples](https://atlassian.design/components/table/examples)
|
|
35
|
-
*/
|
|
36
|
-
export declare const TR: FC<TRProps>;
|
|
37
|
-
export {};
|