@weng-lab/ui-components 1.0.6 → 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/{get-context-C-bL3-Dl.js → get-context-BgZ28N2c.js} +2 -2
- package/dist/{get-context-C-bL3-Dl.js.map → get-context-BgZ28N2c.js.map} +1 -1
- package/dist/{index-C6D6wSai.js → index-BIxHQhkE.js} +3208 -3197
- package/dist/{index-C6D6wSai.js.map → index-BIxHQhkE.js.map} +1 -1
- package/dist/src/components/GenomeSearch/GenomeSearch.d.ts.map +1 -1
- package/dist/src/components/Table/CustomToolbar.d.ts +4 -2
- package/dist/src/components/Table/CustomToolbar.d.ts.map +1 -1
- package/dist/src/components/Table/Table.d.ts.map +1 -1
- 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 +6 -6
- 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/dist/ui-components.es.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GenomeSearch.d.ts","sourceRoot":"","sources":["../../../../src/components/GenomeSearch/GenomeSearch.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAU,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"GenomeSearch.d.ts","sourceRoot":"","sources":["../../../../src/components/GenomeSearch/GenomeSearch.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAU,MAAM,SAAS,CAAC;AAqVpD,iBAAS,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAM7C;AAED,eAAe,YAAY,CAAC"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { DataGridProProps } from '@mui/x-data-grid-pro';
|
|
2
|
+
import { TableProps } from './types';
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
type CustomToolbarProps = {
|
|
4
5
|
label: DataGridProProps["label"];
|
|
5
|
-
|
|
6
|
+
labelTooltip: TableProps["labelTooltip"];
|
|
7
|
+
toolbarSlot?: React.ReactNode;
|
|
6
8
|
};
|
|
7
|
-
export declare function CustomToolbar({ label,
|
|
9
|
+
export declare function CustomToolbar({ label, labelTooltip, toolbarSlot }: CustomToolbarProps): import("react/jsx-runtime").JSX.Element;
|
|
8
10
|
export {};
|
|
9
11
|
//# sourceMappingURL=CustomToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/CustomToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAWL,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"CustomToolbar.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/CustomToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAWL,gBAAgB,EACjB,MAAM,sBAAsB,CAAC;AAc9B,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAgCrC,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACjC,YAAY,EAAE,UAAU,CAAC,cAAc,CAAC,CAAC;IACzC,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC/B,CAAC;AAEF,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,YAAY,EAAE,WAAW,EAAE,EAAE,kBAAkB,2CAoIrF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGrC,QAAA,MAAM,KAAK,GAAI,OAAO,UAAU,
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/Table.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAGrC,QAAA,MAAM,KAAK,GAAI,OAAO,UAAU,4CAiH/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -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.
|
|
@@ -62,11 +63,10 @@ export interface TableProps extends DataGridProProps {
|
|
|
62
63
|
* Slot for extra component to be rendered within the toolbar, to the left of the filters
|
|
63
64
|
*/
|
|
64
65
|
toolbarSlot?: ReactNode;
|
|
65
|
-
}
|
|
66
|
-
export type TableToolbarProps = {
|
|
67
66
|
/**
|
|
68
|
-
*
|
|
67
|
+
* If anything besides an element, renders tooltip icon to the right of the table label with specified string as tooltip contents.
|
|
68
|
+
* If an element, renders the element to the right of the table label.
|
|
69
69
|
*/
|
|
70
|
-
|
|
71
|
-
}
|
|
70
|
+
labelTooltip?: ReactNode;
|
|
71
|
+
}
|
|
72
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/dist/ui-components.es.js
CHANGED
package/package.json
CHANGED