@launchpad-ui/table
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -12,2 +12,3 @@ import './style.css'; | ||
isResourceTable, | ||
"data-test-id": testId = "table", | ||
...rest | ||
@@ -18,2 +19,3 @@ }) => { | ||
...rest, | ||
"data-test-id": testId, | ||
className: classes, | ||
@@ -26,2 +28,3 @@ children | ||
children, | ||
"data-test-id": testId = "table-body", | ||
...rest | ||
@@ -32,2 +35,3 @@ }) => { | ||
...rest, | ||
"data-test-id": testId, | ||
className: classes, | ||
@@ -57,2 +61,3 @@ children | ||
children, | ||
"data-test-id": testId = "table-head", | ||
...rest | ||
@@ -63,2 +68,3 @@ }) => { | ||
...rest, | ||
"data-test-id": testId, | ||
className: classes, | ||
@@ -90,2 +96,3 @@ children | ||
verticalAlign, | ||
"data-test-id": testId = "table-row", | ||
...rest | ||
@@ -98,2 +105,3 @@ }) => { | ||
className: classes, | ||
"data-test-id": testId, | ||
children | ||
@@ -100,0 +108,0 @@ }); |
@@ -16,2 +16,3 @@ require('./style.css'); | ||
isResourceTable, | ||
"data-test-id": testId = "table", | ||
...rest | ||
@@ -22,2 +23,3 @@ }) => { | ||
...rest, | ||
"data-test-id": testId, | ||
className: classes, | ||
@@ -30,2 +32,3 @@ children | ||
children, | ||
"data-test-id": testId = "table-body", | ||
...rest | ||
@@ -36,2 +39,3 @@ }) => { | ||
...rest, | ||
"data-test-id": testId, | ||
className: classes, | ||
@@ -61,2 +65,3 @@ children | ||
children, | ||
"data-test-id": testId = "table-head", | ||
...rest | ||
@@ -67,2 +72,3 @@ }) => { | ||
...rest, | ||
"data-test-id": testId, | ||
className: classes, | ||
@@ -94,2 +100,3 @@ children | ||
verticalAlign, | ||
"data-test-id": testId = "table-row", | ||
...rest | ||
@@ -102,2 +109,3 @@ }) => { | ||
className: classes, | ||
"data-test-id": testId, | ||
children | ||
@@ -104,0 +112,0 @@ }); |
@@ -8,6 +8,7 @@ import type { TableHTMLAttributes } from 'react'; | ||
summary?: string; | ||
'data-test-id'?: string; | ||
}; | ||
declare const Table: ({ auto, compact, className, children, isResourceTable, ...rest }: TableProps) => JSX.Element; | ||
declare const Table: ({ auto, compact, className, children, isResourceTable, "data-test-id": testId, ...rest }: TableProps) => JSX.Element; | ||
export { Table }; | ||
export type { TableProps }; | ||
//# sourceMappingURL=Table.d.ts.map |
import type { HTMLAttributes } from 'react'; | ||
import './styles/Table.css'; | ||
declare type TableBodyProps = HTMLAttributes<HTMLTableSectionElement>; | ||
declare const TableBody: ({ className, children, ...rest }: TableBodyProps) => JSX.Element; | ||
declare type TableBodyProps = HTMLAttributes<HTMLTableSectionElement> & { | ||
'data-test-id'?: string; | ||
}; | ||
declare const TableBody: ({ className, children, "data-test-id": testId, ...rest }: TableBodyProps) => JSX.Element; | ||
export { TableBody }; | ||
export type { TableBodyProps }; | ||
//# sourceMappingURL=TableBody.d.ts.map |
import type { HTMLAttributes } from 'react'; | ||
import './styles/Table.css'; | ||
declare type TableHeadProps = HTMLAttributes<HTMLTableSectionElement>; | ||
declare const TableHead: ({ className, children, ...rest }: TableHeadProps) => JSX.Element; | ||
declare type TableHeadProps = HTMLAttributes<HTMLTableSectionElement> & { | ||
'data-test-id'?: string; | ||
}; | ||
declare const TableHead: ({ className, children, "data-test-id": testId, ...rest }: TableHeadProps) => JSX.Element; | ||
export { TableHead }; | ||
export type { TableHeadProps }; | ||
//# sourceMappingURL=TableHead.d.ts.map |
@@ -5,6 +5,7 @@ import type { HTMLProps } from 'react'; | ||
verticalAlign?: 'top' | 'middle' | 'bottom'; | ||
'data-test-id'?: string; | ||
}; | ||
declare const TableRow: ({ className, children, verticalAlign, ...rest }: TableRowProps) => JSX.Element; | ||
declare const TableRow: ({ className, children, verticalAlign, "data-test-id": testId, ...rest }: TableRowProps) => JSX.Element; | ||
export { TableRow }; | ||
export type { TableRowProps }; | ||
//# sourceMappingURL=TableRow.d.ts.map |
{ | ||
"name": "@launchpad-ui/table", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"status": "beta", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
30990
393