@bouku/core 0.1.3 → 0.1.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.
@@ -10,6 +10,6 @@ interface Props<T> {
10
10
  count: number;
11
11
  }
12
12
  export type Row = Record<string, CellValue>;
13
- export type CellValue = string | number | boolean | object;
13
+ export type CellValue = string | number | boolean | object | null;
14
14
  export declare function TableRow<T extends Row>({ config, data, count }: Props<T>): import("react").JSX.Element;
15
15
  export {};
@@ -1,4 +1,4 @@
1
- type CellValue = string | number | boolean | object;
1
+ import type { CellValue } from "./row";
2
2
  type SortDirection = "asc" | "desc";
3
3
  export declare function useSort<T extends Record<string, CellValue>>(items: T[]): {
4
4
  sortedItems: T[];
@@ -1,2 +1,3 @@
1
1
  export * from "./element";
2
+ export * from "./style";
2
3
  export * from "./text";
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./element"), exports);
18
+ __exportStar(require("./style"), exports);
18
19
  __exportStar(require("./text"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bouku/core",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",