@genspectrum/dashboard-components 0.13.5 → 0.13.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.
Files changed (46) hide show
  1. package/custom-elements.json +29 -29
  2. package/dist/components.d.ts +15 -17
  3. package/dist/components.js +462 -285
  4. package/dist/components.js.map +1 -1
  5. package/dist/style.css +20 -5
  6. package/dist/util.d.ts +14 -14
  7. package/package.json +1 -1
  8. package/src/preact/components/downshift-combobox.tsx +2 -2
  9. package/src/preact/components/mutation-info.tsx +36 -0
  10. package/src/preact/components/tabs.tsx +3 -5
  11. package/src/preact/locationFilter/fetchAutocompletionList.spec.ts +13 -13
  12. package/src/preact/locationFilter/fetchAutocompletionList.ts +55 -19
  13. package/src/preact/locationFilter/location-filter.stories.tsx +1 -1
  14. package/src/preact/locationFilter/location-filter.tsx +18 -12
  15. package/src/preact/mutationComparison/mutation-comparison.tsx +26 -2
  16. package/src/preact/mutationFilter/ExampleMutation.tsx +68 -0
  17. package/src/preact/mutationFilter/mutation-filter-info.tsx +179 -112
  18. package/src/preact/mutationFilter/mutation-filter.tsx +10 -5
  19. package/src/preact/mutations/mutations.tsx +5 -23
  20. package/src/preact/mutationsOverTime/mutations-over-time-grid.tsx +26 -4
  21. package/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.stories.tsx +2 -6
  22. package/src/preact/wastewater/mutationsOverTime/wastewater-mutations-over-time.tsx +1 -1
  23. package/src/query/queryWastewaterMutationsOverTime.spec.ts +29 -1
  24. package/src/query/queryWastewaterMutationsOverTime.ts +30 -16
  25. package/src/web-components/{app.stories.ts → gs-app.stories.ts} +1 -1
  26. package/src/web-components/{app.ts → gs-app.ts} +2 -2
  27. package/src/web-components/index.ts +1 -1
  28. package/src/web-components/input/gs-date-range-selector.stories.ts +1 -1
  29. package/src/web-components/input/gs-lineage-filter.stories.ts +1 -1
  30. package/src/web-components/input/gs-location-filter.stories.ts +2 -2
  31. package/src/web-components/input/gs-mutation-filter.stories.ts +2 -2
  32. package/src/web-components/input/gs-text-input.stories.ts +1 -1
  33. package/src/web-components/visualization/gs-aggregate.stories.ts +1 -1
  34. package/src/web-components/visualization/gs-mutation-comparison.stories.ts +1 -1
  35. package/src/web-components/visualization/gs-mutations-over-time.stories.ts +1 -1
  36. package/src/web-components/visualization/gs-mutations.stories.ts +1 -1
  37. package/src/web-components/visualization/gs-number-sequences-over-time.stories.ts +1 -1
  38. package/src/web-components/visualization/gs-prevalence-over-time.stories.ts +1 -1
  39. package/src/web-components/visualization/gs-relative-growth-advantage.stories.ts +1 -1
  40. package/src/web-components/visualization/gs-sequences-by-location.stories.ts +1 -1
  41. package/src/web-components/visualization/gs-statistics.stories.ts +1 -1
  42. package/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.stories.ts +4 -1
  43. package/src/web-components/wastewaterVisualization/gs-wastewater-mutations-over-time.tsx +6 -2
  44. package/standalone-bundle/dashboard-components.js +5561 -5445
  45. package/standalone-bundle/dashboard-components.js.map +1 -1
  46. package/standalone-bundle/style.css +1 -1
@@ -62,7 +62,13 @@
62
62
  },
63
63
  {
64
64
  "kind": "javascript-module",
65
- "path": "src/web-components/app.stories.ts",
65
+ "path": "src/web-components/errorHandling.mdx",
66
+ "declarations": [],
67
+ "exports": []
68
+ },
69
+ {
70
+ "kind": "javascript-module",
71
+ "path": "src/web-components/gs-app.stories.ts",
66
72
  "declarations": [
67
73
  {
68
74
  "kind": "variable",
@@ -140,7 +146,7 @@
140
146
  "name": "default",
141
147
  "declaration": {
142
148
  "name": "meta",
143
- "module": "src/web-components/app.stories.ts"
149
+ "module": "src/web-components/gs-app.stories.ts"
144
150
  }
145
151
  },
146
152
  {
@@ -148,7 +154,7 @@
148
154
  "name": "Default",
149
155
  "declaration": {
150
156
  "name": "Default",
151
- "module": "src/web-components/app.stories.ts"
157
+ "module": "src/web-components/gs-app.stories.ts"
152
158
  }
153
159
  },
154
160
  {
@@ -156,7 +162,7 @@
156
162
  "name": "WithNoLapisUrl",
157
163
  "declaration": {
158
164
  "name": "WithNoLapisUrl",
159
- "module": "src/web-components/app.stories.ts"
165
+ "module": "src/web-components/gs-app.stories.ts"
160
166
  }
161
167
  },
162
168
  {
@@ -164,7 +170,7 @@
164
170
  "name": "DelayFetchingReferenceGenome",
165
171
  "declaration": {
166
172
  "name": "DelayFetchingReferenceGenome",
167
- "module": "src/web-components/app.stories.ts"
173
+ "module": "src/web-components/gs-app.stories.ts"
168
174
  }
169
175
  },
170
176
  {
@@ -172,7 +178,7 @@
172
178
  "name": "FailsToFetchReferenceGenome",
173
179
  "declaration": {
174
180
  "name": "FailsToFetchReferenceGenome",
175
- "module": "src/web-components/app.stories.ts"
181
+ "module": "src/web-components/gs-app.stories.ts"
176
182
  }
177
183
  },
178
184
  {
@@ -180,19 +186,19 @@
180
186
  "name": "gs-app-display",
181
187
  "declaration": {
182
188
  "name": "AppDisplay",
183
- "module": "src/web-components/app.stories.ts"
189
+ "module": "src/web-components/gs-app.stories.ts"
184
190
  }
185
191
  }
186
192
  ]
187
193
  },
188
194
  {
189
195
  "kind": "javascript-module",
190
- "path": "src/web-components/app.ts",
196
+ "path": "src/web-components/gs-app.ts",
191
197
  "declarations": [
192
198
  {
193
199
  "kind": "class",
194
200
  "description": "## Context\n\nThis component provides the main application context.\nAll other `gs-*` components must be (possibly nested) children of this component.\nIt makes use of the [Lit Context](https://lit.dev/docs/data/context/) to\n- provide the URL to the LAPIS instance to all its children\n- fetch the reference genomes from LAPIS and provide it to all its children\n\nThis will show an error message if the reference genome cannot be fetched\n(e.g., due to an invalid LAPIS URL).\n\n## Shadow DOM\n\nThis component does __not__ use a shadow DOM. Children of this component will be rendered directly in the light DOM.",
195
- "name": "App",
201
+ "name": "AppComponent",
196
202
  "members": [
197
203
  {
198
204
  "kind": "field",
@@ -227,28 +233,22 @@
227
233
  "exports": [
228
234
  {
229
235
  "kind": "js",
230
- "name": "App",
236
+ "name": "AppComponent",
231
237
  "declaration": {
232
- "name": "App",
233
- "module": "src/web-components/app.ts"
238
+ "name": "AppComponent",
239
+ "module": "src/web-components/gs-app.ts"
234
240
  }
235
241
  },
236
242
  {
237
243
  "kind": "custom-element-definition",
238
244
  "name": "gs-app",
239
245
  "declaration": {
240
- "name": "App",
241
- "module": "src/web-components/app.ts"
246
+ "name": "AppComponent",
247
+ "module": "src/web-components/gs-app.ts"
242
248
  }
243
249
  }
244
250
  ]
245
251
  },
246
- {
247
- "kind": "javascript-module",
248
- "path": "src/web-components/errorHandling.mdx",
249
- "declarations": [],
250
- "exports": []
251
- },
252
252
  {
253
253
  "kind": "javascript-module",
254
254
  "path": "src/web-components/index.ts",
@@ -256,10 +256,10 @@
256
256
  "exports": [
257
257
  {
258
258
  "kind": "js",
259
- "name": "App",
259
+ "name": "AppComponent",
260
260
  "declaration": {
261
- "name": "App",
262
- "module": "./app.js"
261
+ "name": "AppComponent",
262
+ "module": "./gs-app"
263
263
  }
264
264
  },
265
265
  {
@@ -805,7 +805,7 @@
805
805
  "type": {
806
806
  "text": "StoryObj<LocationFilterProps>"
807
807
  },
808
- "default": "{ ...Template, parameters: { fetchMock: { mocks: [ { matcher: aggregatedEndpointMatcher, response: { status: 200, body: data, }, }, ], }, }, play: async ({ canvasElement, step }) => { const canvas = await withinShadowRoot(canvasElement, 'gs-location-filter'); const inputField = () => canvas.getByRole('combobox'); const listenerMock = fn(); await step('Setup event listener mock', async () => { canvasElement.addEventListener('gs-location-changed', listenerMock); }); await step('wait until data is loaded', async () => { await waitFor(() => { return expect(inputField()).toBeEnabled(); }); }); await step('Input invalid location', async () => { await userEvent.type(inputField(), 'Not / A / Location'); await expect(listenerMock).not.toHaveBeenCalled(); }); await step('Empty input', async () => { await userEvent.type(inputField(), '{backspace>18/}'); await userEvent.click(canvas.getByLabelText('toggle menu')); await waitFor(() => { return expect(listenerMock.mock.calls.at(-1)![0].detail).toStrictEqual({ region: undefined, country: undefined, division: undefined, location: undefined, }); }); }); await step('Select Asia', async () => { await userEvent.type(inputField(), 'Asia'); await userEvent.click(canvas.getByRole('option', { name: 'Asia Asia' })); await waitFor(() => { return expect(listenerMock.mock.calls.at(-1)![0].detail).toStrictEqual({ region: 'Asia', country: undefined, division: undefined, location: undefined, }); }); }); await step('Select Asia / Bangladesh / Rajshahi / Chapainawabgonj', async () => { await userEvent.type(inputField(), ' / Bangladesh / Rajshahi / Chapainawabgonj'); await userEvent.click(canvas.getByText('Asia / Bangladesh / Rajshahi / Chapainawabgonj')); await waitFor(() => { return expect(listenerMock.mock.calls.at(-1)![0].detail).toStrictEqual({ region: 'Asia', country: 'Bangladesh', division: 'Rajshahi', location: 'Chapainawabgonj', }); }); }); }, }"
808
+ "default": "{ ...Template, parameters: { fetchMock: { mocks: [ { matcher: aggregatedEndpointMatcher, response: { status: 200, body: data, }, }, ], }, }, play: async ({ canvasElement, step }) => { const canvas = await withinShadowRoot(canvasElement, 'gs-location-filter'); const inputField = () => canvas.getByRole('combobox'); const listenerMock = fn(); await step('Setup event listener mock', async () => { canvasElement.addEventListener('gs-location-changed', listenerMock); }); await step('wait until data is loaded', async () => { await waitFor(() => { return expect(inputField()).toBeEnabled(); }); }); await step('Input invalid location', async () => { await userEvent.type(inputField(), 'Not / A / Location'); await expect(listenerMock).not.toHaveBeenCalled(); }); await step('Empty input', async () => { await userEvent.type(inputField(), '{backspace>18/}'); await userEvent.click(canvas.getByLabelText('toggle menu')); await waitFor(() => { return expect(listenerMock.mock.calls.at(-1)![0].detail).toStrictEqual({ region: undefined, country: undefined, division: undefined, location: undefined, }); }); }); await step('Select Asia', async () => { await userEvent.type(inputField(), 'Asia'); await userEvent.click(canvas.getByRole('option', { name: /^Asia.*Asia$/ })); await waitFor(() => { return expect(listenerMock.mock.calls.at(-1)![0].detail).toStrictEqual({ region: 'Asia', country: undefined, division: undefined, location: undefined, }); }); }); await step('Select Asia / Bangladesh / Rajshahi / Chapainawabgonj', async () => { await userEvent.type(inputField(), ' / Bangladesh / Rajshahi / Chapainawabgonj'); await userEvent.click(canvas.getByText('Asia / Bangladesh / Rajshahi / Chapainawabgonj')); await waitFor(() => { return expect(listenerMock.mock.calls.at(-1)![0].detail).toStrictEqual({ region: 'Asia', country: 'Bangladesh', division: 'Rajshahi', location: 'Chapainawabgonj', }); }); }); }, }"
809
809
  }
810
810
  ],
811
811
  "exports": [
@@ -1028,7 +1028,7 @@
1028
1028
  "type": {
1029
1029
  "text": "StoryObj<MutationFilterProps>"
1030
1030
  },
1031
- "default": "{ ...Template, args: { ...Template.args, initialValue: ['seg1:123T', 'gene2:56', 'ins_seg2:78:AAA'], }, parameters: { fetchMock: { mocks: [ { matcher: { name: 'referenceGenome', url: REFERENCE_GENOME_ENDPOINT, }, response: { status: 200, body: { nucleotideSequences: [ { name: 'seg1', sequence: 'dummy', }, { name: 'seg2', sequence: 'dummy', }, ], genes: [ { name: 'gene1', sequence: 'dummy', }, { name: 'gene2', sequence: 'dummy', }, ], }, }, options: { overwriteRoutes: false, }, }, ], }, }, play: async ({ canvasElement }) => { const canvas = await withinShadowRoot(canvasElement, 'gs-mutation-filter'); const inputField = () => canvas.getByPlaceholderText('Enter a mutation', { exact: false }); await waitFor(() => { const placeholderText = inputField().getAttribute('placeholder'); expect(placeholderText).toEqual( 'Enter a mutation (e.g. seg1:A123T, ins_seg1:123:AT, gene1:M123E, ins_gene1:123:ME)', ); }); await waitFor(() => { expect(canvas.getByText('seg1:123T')).toBeVisible(); expect(canvas.getByText('gene2:56')).toBeVisible(); return expect(canvas.getByText('ins_seg2:78:AAA')).toBeVisible(); }); }, }"
1031
+ "default": "{ ...Template, args: { ...Template.args, initialValue: ['seg1:123T', 'gene2:56', 'ins_seg2:78:AAA'], }, parameters: { fetchMock: { mocks: [ { matcher: { name: 'referenceGenome', url: REFERENCE_GENOME_ENDPOINT, }, response: { status: 200, body: { nucleotideSequences: [ { name: 'seg1', sequence: 'dummy', }, { name: 'seg2', sequence: 'dummy', }, ], genes: [ { name: 'gene1', sequence: 'dummy', }, { name: 'gene2', sequence: 'dummy', }, ], }, }, options: { overwriteRoutes: false, }, }, ], }, }, play: async ({ canvasElement }) => { const canvas = await withinShadowRoot(canvasElement, 'gs-mutation-filter'); const inputField = () => canvas.getByPlaceholderText('Enter a mutation', { exact: false }); await waitFor(() => { const placeholderText = inputField().getAttribute('placeholder'); expect(placeholderText).toEqual( 'Enter a mutation (e.g. seg1:23T, ins_seg1:10462:A, gene1:57Q, ins_gene1:31:N)', ); }); await waitFor(() => { expect(canvas.getByText('seg1:123T')).toBeVisible(); expect(canvas.getByText('gene2:56')).toBeVisible(); return expect(canvas.getByText('ins_seg2:78:AAA')).toBeVisible(); }); }, }"
1032
1032
  }
1033
1033
  ],
1034
1034
  "exports": [
@@ -3963,7 +3963,7 @@
3963
3963
  "type": {
3964
3964
  "text": "Meta<WastewaterMutationsOverTimeProps & { infoText: string }>"
3965
3965
  },
3966
- "default": "{ title: 'Wastewater visualization/Wastewater mutations over time', component: 'gs-wastewater-mutations-over-time', argTypes: { lapisFilter: { control: 'object' }, sequenceType: { options: ['nucleotide', 'amino acid'], control: { type: 'radio' }, }, width: { control: 'text' }, height: { control: 'text' }, }, args: { lapisFilter: { versionStatus: 'LATEST_VERSION', isRevocation: false }, sequenceType: 'nucleotide', width: '100%', height: '700px', infoText: 'Some info text', }, parameters: withComponentDocs({ componentDocs: { opensShadowDom: true, expectsChildren: false, codeExample, }, fetchMock: {}, }), tags: ['autodocs'], }"
3966
+ "default": "{ title: 'Wastewater visualization/Wastewater mutations over time', component: 'gs-wastewater-mutations-over-time', argTypes: { lapisFilter: { control: 'object' }, sequenceType: { options: ['nucleotide', 'amino acid'], control: { type: 'radio' }, }, width: { control: 'text' }, height: { control: 'text' }, }, args: { lapisFilter: { versionStatus: 'LATEST_VERSION', isRevocation: false }, sequenceType: 'nucleotide', width: '100%', height: '700px', infoText: 'Some info text', maxNumberOfGridRows: 100, }, parameters: withComponentDocs({ componentDocs: { opensShadowDom: true, expectsChildren: false, codeExample, }, fetchMock: {}, }), tags: ['autodocs'], }"
3967
3967
  },
3968
3968
  {
3969
3969
  "kind": "variable",
@@ -3971,7 +3971,7 @@
3971
3971
  "type": {
3972
3972
  "text": "StoryObj<WastewaterMutationsOverTimeProps & { infoText: string }>"
3973
3973
  },
3974
- "default": "{ render: (args) => html` <gs-app lapis=\"${WISE_LAPIS_URL}\"> <gs-wastewater-mutations-over-time .lapisFilter=${args.lapisFilter} .sequenceType=${args.sequenceType} .width=${args.width} .height=${args.height} > <span slot=\"infoText\">${args.infoText}</span> </gs-wastewater-mutations-over-time> </gs-app> `, parameters: { fetchMock: { mocks: [ { matcher: { name: 'details', url: WISE_DETAILS_ENDPOINT, body: { fields: ['date', 'location', 'nucleotideMutationFrequency', 'aminoAcidMutationFrequency'], versionStatus: 'LATEST_VERSION', isRevocation: false, }, }, response: { status: 200, body: details, }, }, ], }, }, }"
3974
+ "default": "{ render: (args) => html` <gs-app lapis=\"${WISE_LAPIS_URL}\"> <gs-wastewater-mutations-over-time .lapisFilter=${args.lapisFilter} .sequenceType=${args.sequenceType} .width=${args.width} .height=${args.height} .maxNumberOfGridRows=${args.maxNumberOfGridRows} > <span slot=\"infoText\">${args.infoText}</span> </gs-wastewater-mutations-over-time> </gs-app> `, parameters: { fetchMock: { mocks: [ { matcher: { name: 'details', url: WISE_DETAILS_ENDPOINT, body: { fields: ['date', 'location', 'nucleotideMutationFrequency', 'aminoAcidMutationFrequency'], versionStatus: 'LATEST_VERSION', isRevocation: false, }, }, response: { status: 200, body: details, }, }, ], }, }, }"
3975
3975
  }
3976
3976
  ],
3977
3977
  "exports": [
@@ -4055,7 +4055,7 @@
4055
4055
  "text": "number"
4056
4056
  },
4057
4057
  "default": "100",
4058
- "description": "The maximum number of grid rows to display.\n\nVisit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information.",
4058
+ "description": "The maximum number of grid rows to display.",
4059
4059
  "attribute": "maxNumberOfGridRows"
4060
4060
  }
4061
4061
  ],
@@ -4102,7 +4102,7 @@
4102
4102
  "text": "number"
4103
4103
  },
4104
4104
  "default": "100",
4105
- "description": "The maximum number of grid rows to display.\n\nVisit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information.",
4105
+ "description": "The maximum number of grid rows to display.",
4106
4106
  "fieldName": "maxNumberOfGridRows"
4107
4107
  }
4108
4108
  ],
@@ -109,7 +109,7 @@ declare const aggregateViewSchema: default_2.ZodUnion<[default_2.ZodLiteral<"tab
109
109
  *
110
110
  * This component does __not__ use a shadow DOM. Children of this component will be rendered directly in the light DOM.
111
111
  */
112
- export declare class App extends LitElement {
112
+ export declare class AppComponent extends LitElement {
113
113
  /**
114
114
  * Required.
115
115
  *
@@ -1319,8 +1319,6 @@ export declare class WastewaterMutationsOverTimeComponent extends PreactLitAdapt
1319
1319
  height: string;
1320
1320
  /**
1321
1321
  * The maximum number of grid rows to display.
1322
- *
1323
- * Visit https://genspectrum.github.io/dashboard-components/?path=/docs/components-size-of-components--docs for more information.
1324
1322
  */
1325
1323
  maxNumberOfGridRows: number;
1326
1324
  render(): JSX_2.Element;
@@ -1338,7 +1336,7 @@ declare global {
1338
1336
 
1339
1337
  declare global {
1340
1338
  interface HTMLElementTagNameMap {
1341
- 'gs-app': App;
1339
+ 'gs-app': AppComponent;
1342
1340
  }
1343
1341
  }
1344
1342
 
@@ -1466,7 +1464,7 @@ declare global {
1466
1464
 
1467
1465
  declare global {
1468
1466
  interface HTMLElementTagNameMap {
1469
- 'gs-sequences-by-location': SequencesByLocationComponent;
1467
+ 'gs-statistics': StatisticsComponent;
1470
1468
  }
1471
1469
  }
1472
1470
 
@@ -1474,7 +1472,7 @@ declare global {
1474
1472
  declare global {
1475
1473
  namespace JSX {
1476
1474
  interface IntrinsicElements {
1477
- 'gs-sequences-by-location': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1475
+ 'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1478
1476
  }
1479
1477
  }
1480
1478
  }
@@ -1482,7 +1480,7 @@ declare global {
1482
1480
 
1483
1481
  declare global {
1484
1482
  interface HTMLElementTagNameMap {
1485
- 'gs-statistics': StatisticsComponent;
1483
+ 'gs-sequences-by-location': SequencesByLocationComponent;
1486
1484
  }
1487
1485
  }
1488
1486
 
@@ -1490,7 +1488,7 @@ declare global {
1490
1488
  declare global {
1491
1489
  namespace JSX {
1492
1490
  interface IntrinsicElements {
1493
- 'gs-statistics': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1491
+ 'gs-sequences-by-location': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1494
1492
  }
1495
1493
  }
1496
1494
  }
@@ -1534,10 +1532,10 @@ declare global {
1534
1532
 
1535
1533
  declare global {
1536
1534
  interface HTMLElementTagNameMap {
1537
- 'gs-text-input': TextInputComponent;
1535
+ 'gs-location-filter': LocationFilterComponent;
1538
1536
  }
1539
1537
  interface HTMLElementEventMap {
1540
- 'gs-text-input-changed': TextInputChangedEvent;
1538
+ 'gs-location-changed': LocationChangedEvent;
1541
1539
  }
1542
1540
  }
1543
1541
 
@@ -1545,7 +1543,7 @@ declare global {
1545
1543
  declare global {
1546
1544
  namespace JSX {
1547
1545
  interface IntrinsicElements {
1548
- 'gs-text-input': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1546
+ 'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1549
1547
  }
1550
1548
  }
1551
1549
  }
@@ -1553,10 +1551,10 @@ declare global {
1553
1551
 
1554
1552
  declare global {
1555
1553
  interface HTMLElementTagNameMap {
1556
- 'gs-location-filter': LocationFilterComponent;
1554
+ 'gs-mutation-filter': MutationFilterComponent;
1557
1555
  }
1558
1556
  interface HTMLElementEventMap {
1559
- 'gs-location-changed': LocationChangedEvent;
1557
+ 'gs-mutation-filter-changed': CustomEvent<MutationsFilter>;
1560
1558
  }
1561
1559
  }
1562
1560
 
@@ -1564,7 +1562,7 @@ declare global {
1564
1562
  declare global {
1565
1563
  namespace JSX {
1566
1564
  interface IntrinsicElements {
1567
- 'gs-location-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1565
+ 'gs-mutation-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1568
1566
  }
1569
1567
  }
1570
1568
  }
@@ -1572,10 +1570,10 @@ declare global {
1572
1570
 
1573
1571
  declare global {
1574
1572
  interface HTMLElementTagNameMap {
1575
- 'gs-mutation-filter': MutationFilterComponent;
1573
+ 'gs-text-input': TextInputComponent;
1576
1574
  }
1577
1575
  interface HTMLElementEventMap {
1578
- 'gs-mutation-filter-changed': CustomEvent<MutationsFilter>;
1576
+ 'gs-text-input-changed': TextInputChangedEvent;
1579
1577
  }
1580
1578
  }
1581
1579
 
@@ -1583,7 +1581,7 @@ declare global {
1583
1581
  declare global {
1584
1582
  namespace JSX {
1585
1583
  interface IntrinsicElements {
1586
- 'gs-mutation-filter': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1584
+ 'gs-text-input': DetailedHTMLProps<HTMLAttributes<HTMLElement>, HTMLElement>;
1587
1585
  }
1588
1586
  }
1589
1587
  }