@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;
package/build/index.d.ts CHANGED
@@ -2598,11 +2598,11 @@ declare const Table: {
2598
2598
  children: ReactNode;
2599
2599
  } & Height & react.HTMLProps<HTMLTableSectionElement>) => JSX.Element;
2600
2600
  Row: ({ children, columns, onClick, ...rest }: TableHeaderRow) => JSX.Element;
2601
- Column: ({ children, contentPosition, defaultValue }: {
2601
+ Column: ({ children, contentPosition, defaultValue, padding, paddingTop, paddingBottom, paddingRight, paddingLeft, }: {
2602
2602
  children?: ReactNode;
2603
2603
  contentPosition?: FlexPosition | undefined;
2604
2604
  defaultValue?: string | undefined;
2605
- }) => JSX.Element;
2605
+ } & Padding) => JSX.Element;
2606
2606
  };
2607
2607
 
2608
2608
  declare type ToggleProps = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavv/ui",
3
- "version": "1.2.3",
3
+ "version": "1.2.4",
4
4
  "files": [
5
5
  "build/**/*"
6
6
  ],