@genspectrum/dashboard-components 0.11.1 → 0.11.3

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.
@@ -17,7 +17,7 @@ const codeExample = `<gs-sequences-by-location
17
17
  lapisFilter='{"dateFrom":"2022-01-01","dateTo":"2022-04-01"}'
18
18
  lapisLocationField='country'
19
19
  mapSource='{"type":"topojson","url":"https://mock.map.data/topo.json","topologyObjectsKey":"countries"}'
20
- enableMapNavigation='false'
20
+ enableMapNavigation
21
21
  width='1100px'
22
22
  height='800px'
23
23
  views='["map"]'
@@ -25,7 +25,7 @@ const codeExample = `<gs-sequences-by-location
25
25
  offsetX='0'
26
26
  offsetY='10'
27
27
  pageSize='5'
28
- />`;
28
+ ></gs-sequences-by-location>`;
29
29
 
30
30
  const meta: Meta<Required<SequencesByLocationProps>> = {
31
31
  title: 'Visualization/Sequences by location',
@@ -84,7 +84,7 @@ const Template: StoryObj<SequencesByLocationProps> = {
84
84
  args: {
85
85
  enableMapNavigation: false,
86
86
  width: '1100px',
87
- height: '800px',
87
+ height: '700px',
88
88
  views: ['map', 'table'],
89
89
  pageSize: 10,
90
90
  },
@@ -150,7 +150,7 @@ export const Germany: StoryObj<SequencesByLocationProps> = {
150
150
  topologyObjectsKey: 'deu',
151
151
  },
152
152
  views: ['map', 'table'],
153
- zoom: 6.3,
153
+ zoom: 6,
154
154
  offsetX: 10,
155
155
  offsetY: 51.4,
156
156
  },
@@ -130,7 +130,7 @@ export class SequencesByLocationComponent extends PreactLitAdapterWithGridJsStyl
130
130
  * Enable map navigation (dragging, keyboard navigation, zooming).
131
131
  */
132
132
  @property({ type: Boolean })
133
- enableMapNavigation: boolean = true;
133
+ enableMapNavigation: boolean = false;
134
134
 
135
135
  /**
136
136
  * The width of the component.