@weng-lab/ui-components 1.0.7 → 1.0.8
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.
- package/dist/src/components/Table/index.d.ts +2 -0
- package/dist/src/components/Table/index.d.ts.map +1 -1
- package/dist/src/components/Table/types.d.ts +2 -7
- package/dist/src/components/Table/types.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -1
- package/dist/src/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,CAAA;AAChB,mBAAmB,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,SAAS,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,CAAA;AAChB,mBAAmB,SAAS,CAAA;AAC5B,cAAc,sBAAsB,CAAC;AACrC,mBAAmB,sBAAsB,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { DataGridProProps } from '@mui/x-data-grid-pro';
|
|
1
|
+
import { DataGridProProps, GridColDef } from '@mui/x-data-grid-pro';
|
|
2
2
|
import { ReactElement, ReactNode } from 'react';
|
|
3
|
+
export type { GridColDef as TableColDef };
|
|
3
4
|
export interface TableProps extends DataGridProProps {
|
|
4
5
|
/**
|
|
5
6
|
* Rows to be consumed in the table.
|
|
@@ -68,10 +69,4 @@ export interface TableProps extends DataGridProProps {
|
|
|
68
69
|
*/
|
|
69
70
|
labelTooltip?: ReactNode;
|
|
70
71
|
}
|
|
71
|
-
export type TableToolbarProps = {
|
|
72
|
-
/**
|
|
73
|
-
* Optional ReactNode to be used in the table toolbar. Strings and numbers will be rendered as Typography variant h6.
|
|
74
|
-
*/
|
|
75
|
-
title?: ReactNode;
|
|
76
|
-
};
|
|
77
72
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAChD,YAAY,EAAE,UAAU,IAAI,WAAW,EAAE,CAAC;AAI1C,MAAM,WAAW,UAAW,SAAQ,gBAAgB;IAClD;;;;;;OAMG;IACH,IAAI,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC;IAC/B;;;OAGG;IACH,0BAA0B,CAAC,EAAE,gBAAgB,CAAC,4BAA4B,CAAC,CAAC;IAC5E;;;OAGG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACtC;;;OAGG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACxC;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC;IAC3C;;;OAGG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC,aAAa,CAAC,CAAA;IAC7C;;;;;;;;;OASG;IACH,SAAS,CAAC,EAAE;QACV,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,SAAS,CAAC,EAAE,MAAM,CAAA;QAClB,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;IACD;;;OAGG;IACH,KAAK,CAAC,EAAE,OAAO,CAAA;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,CAAA;CACzB"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export type { SliderProps } from './components/RangeSlider';
|
|
|
3
3
|
export { DataTable } from './components/DataTable';
|
|
4
4
|
export type { DataTableProps, DataTableColumn } from './components/DataTable';
|
|
5
5
|
export { Table } from './components/Table';
|
|
6
|
-
export type
|
|
6
|
+
export type { TableProps, TableColDef } from './components/Table';
|
|
7
7
|
export { GenomeSearch } from './components/GenomeSearch';
|
|
8
8
|
export type { GenomeSearchProps, Result, Domain, ResultType } from './components/GenomeSearch';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9E,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,YAAY,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,YAAY,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE9E,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAElE,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,YAAY,EAAE,iBAAiB,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC"}
|
package/package.json
CHANGED