@versini/ui-table 1.5.1 → 2.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/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { SpacingTypes } from '@versini/ui-types';
3
2
  import React from 'react';
4
3
 
5
4
  declare const TableCellSortDirections: {
@@ -48,8 +47,7 @@ type TableProps = {
48
47
  * CSS class to apply to the table wrapper.
49
48
  */
50
49
  wrapperClassName?: string;
51
- } & SpacingTypes.Props &
52
- React.HTMLAttributes<HTMLTableElement>;
50
+ } & React.HTMLAttributes<HTMLTableElement>;
53
51
 
54
52
  type TableRowProps = React.HTMLAttributes<HTMLTableRowElement>;
55
53
  type TableBodyProps = React.HTMLAttributes<HTMLTableSectionElement>;
@@ -116,7 +114,7 @@ type TableCellSortProps = {
116
114
  } & React.ThHTMLAttributes<HTMLTableCellElement> &
117
115
  React.TdHTMLAttributes<HTMLTableCellElement>;
118
116
 
119
- declare const Table: ({ children, mode, caption, compact, summary, className, wrapperClassName, maxHeight, stickyHeader, stickyFooter, spacing, ...otherProps }: TableProps) => react_jsx_runtime.JSX.Element;
117
+ declare const Table: ({ children, mode, caption, compact, summary, className, wrapperClassName, maxHeight, stickyHeader, stickyFooter, ...otherProps }: TableProps) => react_jsx_runtime.JSX.Element;
120
118
  declare const TableHead: ({ children, className, ...otherProps }: TableHeadProps) => react_jsx_runtime.JSX.Element;
121
119
  declare const TableFooter: ({ children, className, ...otherProps }: TableHeadProps) => react_jsx_runtime.JSX.Element;
122
120
  declare const TableBody: ({ children, ...otherProps }: TableBodyProps) => react_jsx_runtime.JSX.Element;