@wavv/ui 1.2.3 → 1.2.4

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.
@@ -1,13 +1,13 @@
1
1
  import { ReactNode } from 'react';
2
- import { FlexPosition, ThemeProp } from '../types';
2
+ import { FlexPosition, Padding, ThemeProp } from '../types';
3
3
  declare type TableColumn = {
4
4
  children?: ReactNode;
5
5
  /** The flex positioning of the Column contents */
6
6
  contentPosition?: FlexPosition;
7
7
  /** The string value to display if the child text is undefined (i.e. "N/A", "—") */
8
8
  defaultValue?: string;
9
- };
10
- declare const Column: ({ children, contentPosition, defaultValue }: TableColumn) => JSX.Element;
9
+ } & Padding;
10
+ declare const Column: ({ children, contentPosition, defaultValue, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, }: TableColumn) => JSX.Element;
11
11
  declare const TableColumn: import("@emotion/styled").StyledComponent<{
12
12
  theme?: import("@emotion/react").Theme | undefined;
13
13
  as?: import("react").ElementType<any> | undefined;
@@ -17,5 +17,5 @@ declare const TableColumn: import("@emotion/styled").StyledComponent<{
17
17
  theme?: import("@emotion/react").Theme | undefined;
18
18
  } & {
19
19
  showDefault?: boolean | undefined;
20
- } & ThemeProp, {}, {}>;
20
+ } & Padding & ThemeProp, {}, {}>;
21
21
  export default Column;
@@ -14,10 +14,10 @@ declare const Table: {
14
14
  children: ReactNode;
15
15
  } & import("../types").Height & import("react").HTMLProps<HTMLTableSectionElement>) => JSX.Element;
16
16
  Row: ({ children, columns, onClick, ...rest }: import("./types").TableHeaderRow) => JSX.Element;
17
- Column: ({ children, contentPosition, defaultValue }: {
17
+ Column: ({ children, contentPosition, defaultValue, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, }: {
18
18
  children?: ReactNode;
19
19
  contentPosition?: import("../types").FlexPosition | undefined;
20
20
  defaultValue?: string | undefined;
21
- }) => JSX.Element;
21
+ } & import("../types").Padding) => JSX.Element;
22
22
  };
23
23
  export default Table;