@hypericon/mico 0.5.9 → 0.5.11

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.
@@ -7,7 +7,7 @@ export interface TableColumnDefinitionOptions {
7
7
  style?: string;
8
8
  }
9
9
  export type TableColumnDefinition<T> = {
10
- header: string | m.Vnode<any, any>;
10
+ header: m.Children;
11
11
  cell: TableCellDisplayFn<T>;
12
12
  /** Optional settings to tweak the column's behaviour */
13
13
  options?: TableColumnDefinitionOptions;
@@ -35,7 +35,7 @@ export interface TableState<T> {
35
35
  /** Helper function to make it easier to define table columns */
36
36
  export type TableColumnDefinitionFn<T> = (
37
37
  /** The label or other element to display in the header */
38
- header: string | m.Vnode<any, any>,
38
+ header: m.Children,
39
39
  /** Function defining how to display a cell in the column using the given row item */
40
40
  cell: TableCellDisplayFn<T>,
41
41
  /** Optional settings to tweak the column's behaviour */
@@ -7,7 +7,7 @@ export interface TableColumnDefinitionOptions {
7
7
  style?: string;
8
8
  }
9
9
  export type TableColumnDefinition<T> = {
10
- header: string | m.Vnode<any, any>;
10
+ header: m.Children;
11
11
  cell: TableCellDisplayFn<T>;
12
12
  /** Optional settings to tweak the column's behaviour */
13
13
  options?: TableColumnDefinitionOptions;
@@ -35,7 +35,7 @@ export interface TableState<T> {
35
35
  /** Helper function to make it easier to define table columns */
36
36
  export type TableColumnDefinitionFn<T> = (
37
37
  /** The label or other element to display in the header */
38
- header: string | m.Vnode<any, any>,
38
+ header: m.Children,
39
39
  /** Function defining how to display a cell in the column using the given row item */
40
40
  cell: TableCellDisplayFn<T>,
41
41
  /** Optional settings to tweak the column's behaviour */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypericon/mico",
3
- "version": "0.5.9",
3
+ "version": "0.5.11",
4
4
  "description": "UI components and utilities with Mithril",
5
5
  "author": "Ed Johnson, Hypericon Ltd",
6
6
  "license": "MIT",