@genspectrum/dashboard-components 0.18.6 → 0.19.1

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/README.md CHANGED
@@ -14,7 +14,6 @@ Usage with a bundler in HTML:
14
14
  <body>
15
15
  <script>
16
16
  import '@genspectrum/dashboard-components/components';
17
- import '@genspectrum/dashboard-components/style.css';
18
17
  </script>
19
18
  <gs-app lapis="https://your.lapis.url"></gs-app>
20
19
  </body>
@@ -41,7 +40,6 @@ We also provide a standalone version of the components that can be used without
41
40
  type="module"
42
41
  src="https://unpkg.com/@genspectrum/dashboard-components@latest/standalone-bundle/dashboard-components.js"
43
42
  ></script>
44
- <link rel="stylesheet" href="https://unpkg.com/@genspectrum/dashboard-components@latest/dist/style.css" />
45
43
  </head>
46
44
  <body>
47
45
  <gs-app lapis="https://your.lapis.url"></gs-app>
@@ -104,7 +104,7 @@
104
104
  "type": {
105
105
  "text": "StoryObj<StoryProps>"
106
106
  },
107
- "default": "{ ...Default, args: { ...Default.args, lapis: 'notAValidUrl', }, play: async ({ canvasElement }) => { const canvas = within(canvasElement); await waitFor(async () => { await expect(canvas.getByText(\"Error: Invalid LAPIS URL: 'notAValidUrl'\", { exact: false })).toBeVisible(); }); }, }"
107
+ "default": "{ ...Default, args: { ...Default.args, lapis: 'notAValidUrl', }, play: async ({ canvasElement }) => { const canvas = within(canvasElement); await waitFor(async () => { await expect( canvas.getByText(\"Error in gs-app: Invalid LAPIS URL: 'notAValidUrl'\", { exact: false }), ).toBeVisible(); }); }, }"
108
108
  },
109
109
  {
110
110
  "kind": "variable",
@@ -120,7 +120,7 @@
120
120
  "type": {
121
121
  "text": "StoryObj<StoryProps>"
122
122
  },
123
- "default": "{ ...Template, args: { lapis: 'https://url.to.lapis-definitely-not-a-valid-url', }, play: async ({ canvasElement }) => { const canvas = within(canvasElement); await waitFor(async () => { await expect(canvas.getByText('Error: Cannot fetch reference genome.', { exact: false })).toBeVisible(); }); }, }"
123
+ "default": "{ ...Template, args: { lapis: 'https://url.to.lapis-definitely-not-a-valid-url', }, play: async ({ canvasElement }) => { const canvas = within(canvasElement); await waitFor(async () => { await expect( canvas.getByText('Error in gs-app: Cannot fetch reference genome.', { exact: false }), ).toBeVisible(); }); }, }"
124
124
  },
125
125
  {
126
126
  "kind": "class",