Skip to content

Commit

Permalink
Build all required files and push version 0.4.0 to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
David Kucsai committed Feb 12, 2022
1 parent bebcafb commit ddcba28
Show file tree
Hide file tree
Showing 34 changed files with 670 additions and 86 deletions.
2 changes: 1 addition & 1 deletion docs/iframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,4 +345,4 @@



window['STORIES'] = [];</script><script src="runtime~main.89de9395.iframe.bundle.js"></script><script src="vendors~main.6d5afb8e.iframe.bundle.js"></script><script src="main.2dab1aa2.iframe.bundle.js"></script></body></html>
window['STORIES'] = [];</script><script src="runtime~main.89de9395.iframe.bundle.js"></script><script src="vendors~main.6d5afb8e.iframe.bundle.js"></script><script src="main.dfdc807a.iframe.bundle.js"></script></body></html>
1 change: 0 additions & 1 deletion docs/main.2dab1aa2.iframe.bundle.js

This file was deleted.

1 change: 1 addition & 0 deletions docs/main.dfdc807a.iframe.bundle.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions docs/typedoc/classes/DataTableCell.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This component is used to display data in the the {@see TableRow} component.

## Hierarchy

- `PureComponent`<`DataTableCellProps`\>
- `PureComponent`<[`DataTableCellProps`](../interfaces/DataTableCellProps.md)\>

**`DataTableCell`**

Expand All @@ -30,7 +30,7 @@ This component is used to display data in the the {@see TableRow} component.

| Name | Type |
| :------ | :------ |
| `props` | `Readonly`<`DataTableCellProps`\> |
| `props` | `Readonly`<[`DataTableCellProps`](../interfaces/DataTableCellProps.md)\> |

#### Inherited from

Expand All @@ -50,7 +50,7 @@ node_modules/@types/react/index.d.ts:478

| Name | Type |
| :------ | :------ |
| `props` | `DataTableCellProps` |
| `props` | [`DataTableCellProps`](../interfaces/DataTableCellProps.md) |
| `context?` | `any` |

#### Inherited from
Expand All @@ -77,4 +77,4 @@ React.PureComponent.render

#### Defined in

[src/DataTableCell.tsx:21](https://github.com/dmk99/react-pdf-table/blob/b9a51c5/src/DataTableCell.tsx#L21)
[src/DataTableCell.tsx:21](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/DataTableCell.tsx#L21)
8 changes: 4 additions & 4 deletions docs/typedoc/classes/Table.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

## Hierarchy

- `PureComponent`<`TableProps`\>
- `PureComponent`<[`TableProps`](../interfaces/TableProps.md)\>

**`Table`**

Expand All @@ -28,7 +28,7 @@

| Name | Type |
| :------ | :------ |
| `props` | `Readonly`<`TableProps`\> |
| `props` | `Readonly`<[`TableProps`](../interfaces/TableProps.md)\> |

#### Inherited from

Expand All @@ -48,7 +48,7 @@ node_modules/@types/react/index.d.ts:478

| Name | Type |
| :------ | :------ |
| `props` | `TableProps` |
| `props` | [`TableProps`](../interfaces/TableProps.md) |
| `context?` | `any` |

#### Inherited from
Expand All @@ -75,4 +75,4 @@ React.PureComponent.render

#### Defined in

[src/Table.tsx:14](https://github.com/dmk99/react-pdf-table/blob/b9a51c5/src/Table.tsx#L14)
[src/Table.tsx:34](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/Table.tsx#L34)
12 changes: 6 additions & 6 deletions docs/typedoc/classes/TableBody.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This component displays the data as {@see TableRow}s.

## Hierarchy

- `PureComponent`<`InternalBodyProps`\>
- `PureComponent`<[`TableBodyProps`](../interfaces/TableBodyProps.md)\>

**`TableBody`**

Expand All @@ -30,11 +30,11 @@ This component displays the data as {@see TableRow}s.

| Name | Type |
| :------ | :------ |
| `props` | `Readonly`<`InternalBodyProps`\> |
| `props` | `Readonly`<[`TableBodyProps`](../interfaces/TableBodyProps.md)\> |

#### Inherited from

React.PureComponent<InternalBodyProps\>.constructor
React.PureComponent<TableBodyProps\>.constructor

#### Defined in

Expand All @@ -50,12 +50,12 @@ node_modules/@types/react/index.d.ts:478

| Name | Type |
| :------ | :------ |
| `props` | `InternalBodyProps` |
| `props` | [`TableBodyProps`](../interfaces/TableBodyProps.md) |
| `context?` | `any` |

#### Inherited from

React.PureComponent<InternalBodyProps\>.constructor
React.PureComponent<TableBodyProps\>.constructor

#### Defined in

Expand All @@ -77,4 +77,4 @@ React.PureComponent.render

#### Defined in

[src/TableBody.tsx:24](https://github.com/dmk99/react-pdf-table/blob/b9a51c5/src/TableBody.tsx#L24)
[src/TableBody.tsx:22](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableBody.tsx#L22)
2 changes: 1 addition & 1 deletion docs/typedoc/classes/TableCell.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ React.PureComponent.render

#### Defined in

[src/TableCell.tsx:63](https://github.com/dmk99/react-pdf-table/blob/b9a51c5/src/TableCell.tsx#L63)
[src/TableCell.tsx:63](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L63)
8 changes: 4 additions & 4 deletions docs/typedoc/classes/TableHeader.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This component displays the titles for the rows.

## Hierarchy

- `PureComponent`<`TableHeaderProps`\>
- `PureComponent`<[`TableHeaderProps`](../interfaces/TableHeaderProps.md)\>

**`TableHeader`**

Expand All @@ -30,7 +30,7 @@ This component displays the titles for the rows.

| Name | Type |
| :------ | :------ |
| `props` | `Readonly`<`TableHeaderProps`\> |
| `props` | `Readonly`<[`TableHeaderProps`](../interfaces/TableHeaderProps.md)\> |

#### Inherited from

Expand All @@ -50,7 +50,7 @@ node_modules/@types/react/index.d.ts:478

| Name | Type |
| :------ | :------ |
| `props` | `TableHeaderProps` |
| `props` | [`TableHeaderProps`](../interfaces/TableHeaderProps.md) |
| `context?` | `any` |

#### Inherited from
Expand All @@ -77,4 +77,4 @@ React.PureComponent.render

#### Defined in

[src/TableHeader.tsx:12](https://github.com/dmk99/react-pdf-table/blob/b9a51c5/src/TableHeader.tsx#L12)
[src/TableHeader.tsx:12](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableHeader.tsx#L12)
207 changes: 207 additions & 0 deletions docs/typedoc/interfaces/DataTableCellProps.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,207 @@
[@david.kucsai/react-pdf-table](../README.md) / [Exports](../modules.md) / DataTableCellProps

# Interface: DataTableCellProps

## Hierarchy

- [`TableCellProps`](TableCellProps.md)

**`DataTableCellProps`**

## Table of contents

### Properties

- [data](DataTableCellProps.md#data)
- [fontSize](DataTableCellProps.md#fontsize)
- [includeBottomBorder](DataTableCellProps.md#includebottomborder)
- [includeLeftBorder](DataTableCellProps.md#includeleftborder)
- [includeRightBorder](DataTableCellProps.md#includerightborder)
- [includeTopBorder](DataTableCellProps.md#includetopborder)
- [isHeader](DataTableCellProps.md#isheader)
- [style](DataTableCellProps.md#style)
- [textAlign](DataTableCellProps.md#textalign)
- [weighting](DataTableCellProps.md#weighting)

### Methods

- [getContent](DataTableCellProps.md#getcontent)

## Properties

### data

`Optional` **data**: `any`

The data associated with the cell.

#### Defined in

[src/DataTableCell.tsx:8](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/DataTableCell.tsx#L8)

___

### fontSize

`Optional` **fontSize**: `string` \| `number`

The font-size to apply to the cell.

#### Inherited from

[TableCellProps](TableCellProps.md).[fontSize](TableCellProps.md#fontsize)

#### Defined in

[src/TableCell.tsx:56](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L56)

___

### includeBottomBorder

`Optional` **includeBottomBorder**: `boolean`

Include the bottom border. Default true.

#### Inherited from

[TableCellProps](TableCellProps.md).[includeBottomBorder](TableCellProps.md#includebottomborder)

#### Defined in

[src/TableCell.tsx:23](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L23)

___

### includeLeftBorder

`Optional` **includeLeftBorder**: `boolean`

Include the left border. Default true.

#### Inherited from

[TableCellProps](TableCellProps.md).[includeLeftBorder](TableCellProps.md#includeleftborder)

#### Defined in

[src/TableCell.tsx:28](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L28)

___

### includeRightBorder

`Optional` **includeRightBorder**: `boolean`

Include the right border. Default true.

#### Inherited from

[TableCellProps](TableCellProps.md).[includeRightBorder](TableCellProps.md#includerightborder)

#### Defined in

[src/TableCell.tsx:18](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L18)

___

### includeTopBorder

`Optional` **includeTopBorder**: `boolean`

Include the top border. Default true.

#### Inherited from

[TableCellProps](TableCellProps.md).[includeTopBorder](TableCellProps.md#includetopborder)

#### Defined in

[src/TableCell.tsx:13](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L13)

___

### isHeader

`Optional` **isHeader**: `boolean`

Whether this is a header cell or not. If not defined it will be false.

#### Inherited from

[TableCellProps](TableCellProps.md).[isHeader](TableCellProps.md#isheader)

#### Defined in

[src/TableCell.tsx:51](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L51)

___

### style

`Optional` **style**: `Style` \| `Style`[]

Extra styling to apply. These will override existing style with the same key.

#### Inherited from

[TableCellProps](TableCellProps.md).[style](TableCellProps.md#style)

#### Defined in

[src/TableCell.tsx:41](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L41)

___

### textAlign

`Optional` **textAlign**: ``"left"`` \| ``"center"`` \| ``"right"``

How to align the text

#### Inherited from

[TableCellProps](TableCellProps.md).[textAlign](TableCellProps.md#textalign)

#### Defined in

[src/TableCell.tsx:46](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L46)

___

### weighting

`Optional` **weighting**: `number`

The weighting of a cell based on the flex layout style.
This value is between 0..1, if not specified 1 is assumed, this will take up the remaining available space.

#### Inherited from

[TableCellProps](TableCellProps.md).[weighting](TableCellProps.md#weighting)

#### Defined in

[src/TableCell.tsx:36](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/TableCell.tsx#L36)

## Methods

### getContent

**getContent**(`data`): `ReactNode` \| `Element`

The content to display for this cell.

#### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `data` | `any` | the data passed in. |

#### Returns

`ReactNode` \| `Element`

#### Defined in

[src/DataTableCell.tsx:14](https://github.com/dmk99/react-pdf-table/blob/bebcafb/src/DataTableCell.tsx#L14)
Loading

0 comments on commit ddcba28

Please sign in to comment.