@luscii-healthtech/web-ui 52.6.2 → 52.6.3

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.
@@ -30,16 +30,21 @@ export interface TableProps extends HTMLAttributes<HTMLTableElement> {
30
30
  */
31
31
  layout?: "fixed" | "auto";
32
32
  }
33
+ declare const TableRoot: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
33
34
  export interface TheadProps extends HTMLAttributes<HTMLTableSectionElement> {
34
35
  stickyHeader?: boolean;
35
36
  }
37
+ declare const Thead: React.ForwardRefExoticComponent<TheadProps & React.RefAttributes<HTMLTableSectionElement>>;
36
38
  export interface TbodyProps extends HTMLAttributes<HTMLTableSectionElement> {
37
39
  hasTFoot?: boolean;
38
40
  }
41
+ declare const Tbody: React.ForwardRefExoticComponent<TbodyProps & React.RefAttributes<HTMLTableSectionElement>>;
39
42
  export interface TFootProps extends HTMLAttributes<HTMLTableSectionElement> {
40
43
  }
44
+ declare const TFoot: React.ForwardRefExoticComponent<TFootProps & React.RefAttributes<HTMLTableSectionElement>>;
41
45
  export interface TrProps extends ComponentProps<typeof Box<"tr">> {
42
46
  }
47
+ declare const Tr: React.ForwardRefExoticComponent<Omit<TrProps, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
43
48
  export interface ThProps extends ThHTMLAttributes<HTMLTableCellElement> {
44
49
  /**
45
50
  * Omit padding for the cell. This is useful when the consumer wants
@@ -47,6 +52,7 @@ export interface ThProps extends ThHTMLAttributes<HTMLTableCellElement> {
47
52
  */
48
53
  omitPadding?: boolean;
49
54
  }
55
+ declare const Th: React.ForwardRefExoticComponent<ThProps & React.RefAttributes<HTMLTableCellElement>>;
50
56
  export interface TdProps extends TdHTMLAttributes<HTMLTableCellElement> {
51
57
  /**
52
58
  * Omit padding for the cell. This is useful when the consumer wants
@@ -54,11 +60,14 @@ export interface TdProps extends TdHTMLAttributes<HTMLTableCellElement> {
54
60
  */
55
61
  omitPadding?: boolean;
56
62
  }
57
- export declare const TableNew: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>> & {
58
- Thead: React.ForwardRefExoticComponent<TheadProps & React.RefAttributes<HTMLTableSectionElement>>;
59
- Tbody: React.ForwardRefExoticComponent<TbodyProps & React.RefAttributes<HTMLTableSectionElement>>;
60
- TFoot: React.ForwardRefExoticComponent<TFootProps & React.RefAttributes<HTMLTableSectionElement>>;
61
- Tr: React.ForwardRefExoticComponent<Omit<TrProps, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
62
- Th: React.ForwardRefExoticComponent<ThProps & React.RefAttributes<HTMLTableCellElement>>;
63
- Td: React.ForwardRefExoticComponent<TdProps & React.RefAttributes<HTMLTableCellElement>>;
63
+ declare const Td: React.ForwardRefExoticComponent<TdProps & React.RefAttributes<HTMLTableCellElement>>;
64
+ type TableNewComponent = typeof TableRoot & {
65
+ Thead: typeof Thead;
66
+ Tbody: typeof Tbody;
67
+ TFoot: typeof TFoot;
68
+ Tr: typeof Tr;
69
+ Th: typeof Th;
70
+ Td: typeof Td;
64
71
  };
72
+ export declare const TableNew: TableNewComponent;
73
+ export {};
@@ -30,16 +30,21 @@ export interface TableProps extends HTMLAttributes<HTMLTableElement> {
30
30
  */
31
31
  layout?: "fixed" | "auto";
32
32
  }
33
+ declare const TableRoot: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
33
34
  export interface TheadProps extends HTMLAttributes<HTMLTableSectionElement> {
34
35
  stickyHeader?: boolean;
35
36
  }
37
+ declare const Thead: React.ForwardRefExoticComponent<TheadProps & React.RefAttributes<HTMLTableSectionElement>>;
36
38
  export interface TbodyProps extends HTMLAttributes<HTMLTableSectionElement> {
37
39
  hasTFoot?: boolean;
38
40
  }
41
+ declare const Tbody: React.ForwardRefExoticComponent<TbodyProps & React.RefAttributes<HTMLTableSectionElement>>;
39
42
  export interface TFootProps extends HTMLAttributes<HTMLTableSectionElement> {
40
43
  }
44
+ declare const TFoot: React.ForwardRefExoticComponent<TFootProps & React.RefAttributes<HTMLTableSectionElement>>;
41
45
  export interface TrProps extends ComponentProps<typeof Box<"tr">> {
42
46
  }
47
+ declare const Tr: React.ForwardRefExoticComponent<Omit<TrProps, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
43
48
  export interface ThProps extends ThHTMLAttributes<HTMLTableCellElement> {
44
49
  /**
45
50
  * Omit padding for the cell. This is useful when the consumer wants
@@ -47,6 +52,7 @@ export interface ThProps extends ThHTMLAttributes<HTMLTableCellElement> {
47
52
  */
48
53
  omitPadding?: boolean;
49
54
  }
55
+ declare const Th: React.ForwardRefExoticComponent<ThProps & React.RefAttributes<HTMLTableCellElement>>;
50
56
  export interface TdProps extends TdHTMLAttributes<HTMLTableCellElement> {
51
57
  /**
52
58
  * Omit padding for the cell. This is useful when the consumer wants
@@ -54,11 +60,14 @@ export interface TdProps extends TdHTMLAttributes<HTMLTableCellElement> {
54
60
  */
55
61
  omitPadding?: boolean;
56
62
  }
57
- export declare const TableNew: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>> & {
58
- Thead: React.ForwardRefExoticComponent<TheadProps & React.RefAttributes<HTMLTableSectionElement>>;
59
- Tbody: React.ForwardRefExoticComponent<TbodyProps & React.RefAttributes<HTMLTableSectionElement>>;
60
- TFoot: React.ForwardRefExoticComponent<TFootProps & React.RefAttributes<HTMLTableSectionElement>>;
61
- Tr: React.ForwardRefExoticComponent<Omit<TrProps, "ref"> & React.RefAttributes<HTMLTableRowElement>>;
62
- Th: React.ForwardRefExoticComponent<ThProps & React.RefAttributes<HTMLTableCellElement>>;
63
- Td: React.ForwardRefExoticComponent<TdProps & React.RefAttributes<HTMLTableCellElement>>;
63
+ declare const Td: React.ForwardRefExoticComponent<TdProps & React.RefAttributes<HTMLTableCellElement>>;
64
+ type TableNewComponent = typeof TableRoot & {
65
+ Thead: typeof Thead;
66
+ Tbody: typeof Tbody;
67
+ TFoot: typeof TFoot;
68
+ Tr: typeof Tr;
69
+ Th: typeof Th;
70
+ Td: typeof Td;
64
71
  };
72
+ export declare const TableNew: TableNewComponent;
73
+ export {};