@weng-lab/ui-components 1.0.6 → 1.0.7

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.
@@ -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;AA+UpD,iBAAS,YAAY,CAAC,KAAK,EAAE,iBAAiB,2CAM7C;AAED,eAAe,YAAY,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
- extraComponentSlot?: React.ReactNode;
6
+ labelTooltip: TableProps["labelTooltip"];
7
+ toolbarSlot?: React.ReactNode;
6
8
  };
7
- export declare function CustomToolbar({ label, extraComponentSlot }: CustomToolbarProps): import("react/jsx-runtime").JSX.Element;
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;AA4C9B,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,gBAAgB,CAAC,OAAO,CAAC,CAAC;IACjC,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACtC,CAAA;AAED,wBAAgB,aAAa,CAAC,EAAE,KAAK,EAAE,kBAAkB,EAAE,EAAE,kBAAkB,2CA4H9E"}
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,4CA6G/B,CAAC;AAEF,eAAe,KAAK,CAAC"}
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"}
@@ -62,6 +62,11 @@ export interface TableProps extends DataGridProProps {
62
62
  * Slot for extra component to be rendered within the toolbar, to the left of the filters
63
63
  */
64
64
  toolbarSlot?: ReactNode;
65
+ /**
66
+ * If anything besides an element, renders tooltip icon to the right of the table label with specified string as tooltip contents.
67
+ * If an element, renders the element to the right of the table label.
68
+ */
69
+ labelTooltip?: ReactNode;
65
70
  }
66
71
  export type TableToolbarProps = {
67
72
  /**
@@ -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;AACxD,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIhD,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;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAA;CACxB;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/Table/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIhD,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;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { D as r, G as s, R as l, T as o } from "./index-C6D6wSai.js";
1
+ import { D as r, G as s, R as l, T as o } from "./index-BIxHQhkE.js";
2
2
  export {
3
3
  r as DataTable,
4
4
  s as GenomeSearch,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@weng-lab/ui-components",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "React MUI components for the Weng/Moore Labs suite of genomics web resources",
5
5
  "type": "module",
6
6
  "module": "dist/ui-components.es.js",