@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.
- package/custom-elements.json +3 -3
- package/dist/assets/mutationOverTimeWorker-Cr-NmYEs.js.map +1 -0
- package/dist/components.d.ts +44 -44
- package/dist/components.js +222 -129
- package/dist/components.js.map +1 -1
- package/dist/style.css +13 -4
- package/dist/util.d.ts +44 -44
- package/package.json +1 -1
- package/src/preact/components/error-display.tsx +11 -16
- package/src/preact/components/info.tsx +5 -19
- package/src/preact/components/modal.stories.tsx +44 -0
- package/src/preact/components/modal.tsx +31 -0
- package/src/preact/map/sequences-by-location-map.tsx +91 -12
- package/src/preact/map/sequences-by-location.tsx +1 -0
- package/src/web-components/visualization/gs-sequences-by-location.stories.ts +4 -4
- package/src/web-components/visualization/gs-sequences-by-location.tsx +1 -1
- package/standalone-bundle/assets/mutationOverTimeWorker-DIQRmxvC.js.map +1 -0
- package/standalone-bundle/dashboard-components.js +4313 -4229
- package/standalone-bundle/dashboard-components.js.map +1 -1
- package/standalone-bundle/style.css +1 -1
- package/dist/assets/mutationOverTimeWorker-BjjkMGzd.js.map +0 -1
- package/standalone-bundle/assets/mutationOverTimeWorker-DoUBht2e.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -3226,7 +3226,7 @@
|
|
|
3226
3226
|
"type": {
|
|
3227
3227
|
"text": "StoryObj<SequencesByLocationProps>"
|
|
3228
3228
|
},
|
|
3229
|
-
"default": "{ ...Template, args: { ...Template.args, lapisFilter: { dateFrom: '2022-01-01', dateTo: '2022-04-01', country: 'Germany' }, lapisLocationField: 'division', mapSource: { type: 'topojson', url: mockMapUrl, topologyObjectsKey: 'deu', }, views: ['map', 'table'], zoom: 6
|
|
3229
|
+
"default": "{ ...Template, args: { ...Template.args, lapisFilter: { dateFrom: '2022-01-01', dateTo: '2022-04-01', country: 'Germany' }, lapisLocationField: 'division', mapSource: { type: 'topojson', url: mockMapUrl, topologyObjectsKey: 'deu', }, views: ['map', 'table'], zoom: 6, offsetX: 10, offsetY: 51.4, }, parameters: { fetchMock: { mocks: [ { matcher: { name: 'worldMap', url: mockMapUrl, }, response: { status: 200, body: mapOfGermany, }, }, { matcher: { name: 'aggregatedData', url: AGGREGATED_ENDPOINT, body: { fields: ['division'], dateFrom: '2022-01-01', dateTo: '2022-04-01', country: 'Germany', }, }, response: { status: 200, body: aggregatedGermany, }, }, ], }, }, }"
|
|
3230
3230
|
},
|
|
3231
3231
|
{
|
|
3232
3232
|
"kind": "variable",
|
|
@@ -3317,7 +3317,7 @@
|
|
|
3317
3317
|
"type": {
|
|
3318
3318
|
"text": "boolean"
|
|
3319
3319
|
},
|
|
3320
|
-
"default": "
|
|
3320
|
+
"default": "false",
|
|
3321
3321
|
"description": "Enable map navigation (dragging, keyboard navigation, zooming).",
|
|
3322
3322
|
"attribute": "enableMapNavigation"
|
|
3323
3323
|
},
|
|
@@ -3425,7 +3425,7 @@
|
|
|
3425
3425
|
"type": {
|
|
3426
3426
|
"text": "boolean"
|
|
3427
3427
|
},
|
|
3428
|
-
"default": "
|
|
3428
|
+
"default": "false",
|
|
3429
3429
|
"description": "Enable map navigation (dragging, keyboard navigation, zooming).",
|
|
3430
3430
|
"fieldName": "enableMapNavigation"
|
|
3431
3431
|
},
|