@launchpad-ui/table
Advanced tools
Comparing version 0.5.6 to 0.5.7
@@ -1,3 +0,3 @@ | ||
import type { TableHTMLAttributes } from 'react'; | ||
type TableProps = TableHTMLAttributes<HTMLTableElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type TableProps = ComponentProps<'table'> & { | ||
auto?: boolean; | ||
@@ -4,0 +4,0 @@ compact?: boolean; |
@@ -1,3 +0,3 @@ | ||
import type { HTMLAttributes } from 'react'; | ||
type TableBodyProps = HTMLAttributes<HTMLTableSectionElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type TableBodyProps = ComponentProps<'tbody'> & { | ||
'data-test-id'?: string; | ||
@@ -4,0 +4,0 @@ }; |
@@ -1,11 +0,11 @@ | ||
import type { TdHTMLAttributes } from 'react'; | ||
import type { ComponentProps } from 'react'; | ||
type TableCellWithHeadersProps = { | ||
headers: string; | ||
} & TdHTMLAttributes<HTMLTableCellElement>; | ||
} & ComponentProps<'td'>; | ||
type TableCellWithDirectScopeProps = { | ||
scope: 'row' | 'col'; | ||
} & TdHTMLAttributes<HTMLTableCellElement>; | ||
} & ComponentProps<'td'>; | ||
type TableCellWithScopedProps = { | ||
hasScope: boolean; | ||
} & TdHTMLAttributes<HTMLTableCellElement>; | ||
} & ComponentProps<'td'>; | ||
type TableCellWithScopeProps = TableCellWithDirectScopeProps | TableCellWithScopedProps; | ||
@@ -12,0 +12,0 @@ type TableCellProps = TableCellWithHeadersProps | TableCellWithScopeProps | (TableCellWithHeadersProps & TableCellWithScopeProps); |
@@ -1,3 +0,3 @@ | ||
import type { HTMLAttributes } from 'react'; | ||
type TableHeadProps = HTMLAttributes<HTMLTableSectionElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type TableHeadProps = ComponentProps<'thead'> & { | ||
'data-test-id'?: string; | ||
@@ -4,0 +4,0 @@ }; |
@@ -1,3 +0,3 @@ | ||
import type { ThHTMLAttributes } from 'react'; | ||
type TableHeadCellProps = ThHTMLAttributes<HTMLTableCellElement> & { | ||
import type { ComponentProps } from 'react'; | ||
type TableHeadCellProps = ComponentProps<'th'> & { | ||
defaultColWidth?: 'zero' | 'one-of-twelve' | 'two-of-twelve' | 'three-of-twelve' | 'four-of-twelve' | 'five-of-twelve' | 'six-of-twelve'; | ||
@@ -4,0 +4,0 @@ }; |
{ | ||
"name": "@launchpad-ui/table", | ||
"version": "0.5.6", | ||
"version": "0.5.7", | ||
"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
Sorry, the diff of this file is not supported yet
35485