@weng-lab/genomebrowser 1.4.1 → 1.4.2

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.
@@ -6,6 +6,7 @@ import { MotifConfig } from '../components/tracks/motif/types';
6
6
  import { ImportanceConfig } from '../components/tracks/importance/types';
7
7
  import { LDTrackConfig } from '../components/tracks/ldtrack/types';
8
8
  import { MethylCConfig } from '../components/tracks/methylC/types';
9
+ import { TrackType } from '../components/tracks/types';
9
10
  type WrapperDimensions = {
10
11
  trackMargin: number;
11
12
  titleSize: number;
@@ -29,6 +30,7 @@ export interface TrackStore {
29
30
  createShortLabel: (id: string) => string;
30
31
  getIndexByType: (id: string) => number;
31
32
  editTrack: <T extends Track>(id: string, partial: Partial<T>) => void;
33
+ editAllTracksByType: <T extends Track>(trackType: TrackType, partial: Partial<T>) => void;
32
34
  }
33
35
  export type TrackStoreInstance = ReturnType<typeof createTrackStore>;
34
36
  export declare function createTrackStore(tracks?: Track[]): import('zustand').UseBoundStore<import('zustand').StoreApi<TrackStore>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@weng-lab/genomebrowser",
3
3
  "private": false,
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "files": [