@mcp-b/viz-components 0.2.0 → 0.2.4

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.
@@ -160,12 +160,18 @@
160
160
  },
161
161
  {
162
162
  "kind": "javascript-module",
163
- "path": "src/components/distribution/distribution.ts",
163
+ "path": "src/components/chart-card/chart-card.ts",
164
164
  "declarations": [
165
165
  {
166
166
  "kind": "class",
167
167
  "description": "",
168
- "name": "SigveloDistribution",
168
+ "name": "SigveloChartCard",
169
+ "slots": [
170
+ {
171
+ "description": "A chart or distribution component.",
172
+ "name": ""
173
+ }
174
+ ],
169
175
  "members": [
170
176
  {
171
177
  "kind": "field",
@@ -174,23 +180,23 @@
174
180
  "text": "CSSResultGroup"
175
181
  },
176
182
  "static": true,
177
- "default": "[hostStyles]"
183
+ "default": "[hostStyles, styles]"
178
184
  },
179
185
  {
180
186
  "kind": "field",
181
- "name": "values",
187
+ "name": "heading",
182
188
  "type": {
183
- "text": "readonly (number | null)[]"
189
+ "text": "string"
184
190
  },
185
- "default": "[]"
191
+ "default": "\"\""
186
192
  },
187
193
  {
188
194
  "kind": "field",
189
- "name": "label",
195
+ "name": "description",
190
196
  "type": {
191
197
  "text": "string"
192
198
  },
193
- "default": "\"Distribution\""
199
+ "default": "\"\""
194
200
  },
195
201
  {
196
202
  "kind": "method",
@@ -201,44 +207,38 @@
201
207
  "name": "SigveloElement",
202
208
  "package": "@mcp-b/wc-support/base/sigvelo-element"
203
209
  },
204
- "tagName": "sigvelo-distribution",
210
+ "tagName": "sigvelo-chart-card",
205
211
  "customElement": true,
206
- "summary": "Renders a numeric distribution as a bounded histogram."
212
+ "summary": "A titled card composition for a chart or thematic map."
207
213
  }
208
214
  ],
209
215
  "exports": [
210
216
  {
211
217
  "kind": "js",
212
- "name": "SigveloDistribution",
218
+ "name": "SigveloChartCard",
213
219
  "declaration": {
214
- "name": "SigveloDistribution",
215
- "module": "src/components/distribution/distribution.ts"
220
+ "name": "SigveloChartCard",
221
+ "module": "src/components/chart-card/chart-card.ts"
216
222
  }
217
223
  },
218
224
  {
219
225
  "kind": "custom-element-definition",
220
- "name": "sigvelo-distribution",
226
+ "name": "sigvelo-chart-card",
221
227
  "declaration": {
222
- "name": "SigveloDistribution",
223
- "module": "src/components/distribution/distribution.ts"
228
+ "name": "SigveloChartCard",
229
+ "module": "src/components/chart-card/chart-card.ts"
224
230
  }
225
231
  }
226
232
  ]
227
233
  },
228
234
  {
229
235
  "kind": "javascript-module",
230
- "path": "src/components/chart-card/chart-card.ts",
236
+ "path": "src/components/distribution/distribution.ts",
231
237
  "declarations": [
232
238
  {
233
239
  "kind": "class",
234
240
  "description": "",
235
- "name": "SigveloChartCard",
236
- "slots": [
237
- {
238
- "description": "A chart or distribution component.",
239
- "name": ""
240
- }
241
- ],
241
+ "name": "SigveloDistribution",
242
242
  "members": [
243
243
  {
244
244
  "kind": "field",
@@ -247,23 +247,23 @@
247
247
  "text": "CSSResultGroup"
248
248
  },
249
249
  "static": true,
250
- "default": "[hostStyles, styles]"
250
+ "default": "[hostStyles]"
251
251
  },
252
252
  {
253
253
  "kind": "field",
254
- "name": "heading",
254
+ "name": "values",
255
255
  "type": {
256
- "text": "string"
256
+ "text": "readonly (number | null)[]"
257
257
  },
258
- "default": "\"\""
258
+ "default": "[]"
259
259
  },
260
260
  {
261
261
  "kind": "field",
262
- "name": "description",
262
+ "name": "label",
263
263
  "type": {
264
264
  "text": "string"
265
265
  },
266
- "default": "\"\""
266
+ "default": "\"Distribution\""
267
267
  },
268
268
  {
269
269
  "kind": "method",
@@ -274,38 +274,38 @@
274
274
  "name": "SigveloElement",
275
275
  "package": "@mcp-b/wc-support/base/sigvelo-element"
276
276
  },
277
- "tagName": "sigvelo-chart-card",
277
+ "tagName": "sigvelo-distribution",
278
278
  "customElement": true,
279
- "summary": "A titled card composition for a chart or thematic map."
279
+ "summary": "Renders a numeric distribution as a bounded histogram."
280
280
  }
281
281
  ],
282
282
  "exports": [
283
283
  {
284
284
  "kind": "js",
285
- "name": "SigveloChartCard",
285
+ "name": "SigveloDistribution",
286
286
  "declaration": {
287
- "name": "SigveloChartCard",
288
- "module": "src/components/chart-card/chart-card.ts"
287
+ "name": "SigveloDistribution",
288
+ "module": "src/components/distribution/distribution.ts"
289
289
  }
290
290
  },
291
291
  {
292
292
  "kind": "custom-element-definition",
293
- "name": "sigvelo-chart-card",
293
+ "name": "sigvelo-distribution",
294
294
  "declaration": {
295
- "name": "SigveloChartCard",
296
- "module": "src/components/chart-card/chart-card.ts"
295
+ "name": "SigveloDistribution",
296
+ "module": "src/components/distribution/distribution.ts"
297
297
  }
298
298
  }
299
299
  ]
300
300
  },
301
301
  {
302
302
  "kind": "javascript-module",
303
- "path": "src/components/metric-card/metric-card.ts",
303
+ "path": "src/components/legend/legend.ts",
304
304
  "declarations": [
305
305
  {
306
306
  "kind": "class",
307
307
  "description": "",
308
- "name": "SigveloMetricCard",
308
+ "name": "SigveloVizLegend",
309
309
  "members": [
310
310
  {
311
311
  "kind": "field",
@@ -318,27 +318,19 @@
318
318
  },
319
319
  {
320
320
  "kind": "field",
321
- "name": "label",
322
- "type": {
323
- "text": "string"
324
- },
325
- "default": "\"\""
326
- },
327
- {
328
- "kind": "field",
329
- "name": "value",
321
+ "name": "title",
330
322
  "type": {
331
323
  "text": "string"
332
324
  },
333
- "default": "\"\""
325
+ "default": "\"Legend\""
334
326
  },
335
327
  {
336
328
  "kind": "field",
337
- "name": "detail",
329
+ "name": "items",
338
330
  "type": {
339
- "text": "string"
331
+ "text": "readonly LegendItem[]"
340
332
  },
341
- "default": "\"\""
333
+ "default": "[]"
342
334
  },
343
335
  {
344
336
  "kind": "method",
@@ -349,38 +341,38 @@
349
341
  "name": "SigveloElement",
350
342
  "package": "@mcp-b/wc-support/base/sigvelo-element"
351
343
  },
352
- "tagName": "sigvelo-metric-card",
344
+ "tagName": "sigvelo-viz-legend",
353
345
  "customElement": true,
354
- "summary": "A labeled key-metric card composition."
346
+ "summary": "Displays a compact color legend for charts and thematic maps."
355
347
  }
356
348
  ],
357
349
  "exports": [
358
350
  {
359
351
  "kind": "js",
360
- "name": "SigveloMetricCard",
352
+ "name": "SigveloVizLegend",
361
353
  "declaration": {
362
- "name": "SigveloMetricCard",
363
- "module": "src/components/metric-card/metric-card.ts"
354
+ "name": "SigveloVizLegend",
355
+ "module": "src/components/legend/legend.ts"
364
356
  }
365
357
  },
366
358
  {
367
359
  "kind": "custom-element-definition",
368
- "name": "sigvelo-metric-card",
360
+ "name": "sigvelo-viz-legend",
369
361
  "declaration": {
370
- "name": "SigveloMetricCard",
371
- "module": "src/components/metric-card/metric-card.ts"
362
+ "name": "SigveloVizLegend",
363
+ "module": "src/components/legend/legend.ts"
372
364
  }
373
365
  }
374
366
  ]
375
367
  },
376
368
  {
377
369
  "kind": "javascript-module",
378
- "path": "src/components/legend/legend.ts",
370
+ "path": "src/components/metric-card/metric-card.ts",
379
371
  "declarations": [
380
372
  {
381
373
  "kind": "class",
382
374
  "description": "",
383
- "name": "SigveloVizLegend",
375
+ "name": "SigveloMetricCard",
384
376
  "members": [
385
377
  {
386
378
  "kind": "field",
@@ -393,19 +385,27 @@
393
385
  },
394
386
  {
395
387
  "kind": "field",
396
- "name": "title",
388
+ "name": "label",
397
389
  "type": {
398
390
  "text": "string"
399
391
  },
400
- "default": "\"Legend\""
392
+ "default": "\"\""
401
393
  },
402
394
  {
403
395
  "kind": "field",
404
- "name": "items",
396
+ "name": "value",
405
397
  "type": {
406
- "text": "readonly LegendItem[]"
398
+ "text": "string"
407
399
  },
408
- "default": "[]"
400
+ "default": "\"\""
401
+ },
402
+ {
403
+ "kind": "field",
404
+ "name": "detail",
405
+ "type": {
406
+ "text": "string"
407
+ },
408
+ "default": "\"\""
409
409
  },
410
410
  {
411
411
  "kind": "method",
@@ -416,26 +416,26 @@
416
416
  "name": "SigveloElement",
417
417
  "package": "@mcp-b/wc-support/base/sigvelo-element"
418
418
  },
419
- "tagName": "sigvelo-viz-legend",
419
+ "tagName": "sigvelo-metric-card",
420
420
  "customElement": true,
421
- "summary": "Displays a compact color legend for charts and thematic maps."
421
+ "summary": "A labeled key-metric card composition."
422
422
  }
423
423
  ],
424
424
  "exports": [
425
425
  {
426
426
  "kind": "js",
427
- "name": "SigveloVizLegend",
427
+ "name": "SigveloMetricCard",
428
428
  "declaration": {
429
- "name": "SigveloVizLegend",
430
- "module": "src/components/legend/legend.ts"
429
+ "name": "SigveloMetricCard",
430
+ "module": "src/components/metric-card/metric-card.ts"
431
431
  }
432
432
  },
433
433
  {
434
434
  "kind": "custom-element-definition",
435
- "name": "sigvelo-viz-legend",
435
+ "name": "sigvelo-metric-card",
436
436
  "declaration": {
437
- "name": "SigveloVizLegend",
438
- "module": "src/components/legend/legend.ts"
437
+ "name": "SigveloMetricCard",
438
+ "module": "src/components/metric-card/metric-card.ts"
439
439
  }
440
440
  }
441
441
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mcp-b/viz-components",
3
- "version": "0.2.0",
3
+ "version": "0.2.4",
4
4
  "description": "D3-backed, framework-agnostic Sigvelo visualization web components.",
5
5
  "keywords": [
6
6
  "charts",
@@ -27,7 +27,7 @@
27
27
  "access": "public"
28
28
  },
29
29
  "dependencies": {
30
- "@mcp-b/wc-support": "0.2.0"
30
+ "@mcp-b/wc-support": "0.2.2"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@custom-elements-manifest/analyzer": "^0.10.4",