semiotic 3.8.5 → 3.8.6
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/CLAUDE.md +5 -4
- package/README.md +42 -42
- package/ai/behaviorContracts.cjs +2 -2
- package/ai/componentMetadata.cjs +1 -1
- package/ai/dist/mcp-server.js +2 -0
- package/ai/examples.md +44 -2
- package/ai/schema.json +385 -14
- package/ai/surface-manifest.json +6 -4
- package/ai/system-prompt.md +1 -1
- package/dist/{chunk-chartContainerDataAudit-74TLKIP6.module.min.js → chunk-chartContainerDataAudit-FEOD5GTQ.module.min.js} +1 -1
- package/dist/chunk-chunk-2CHN2TA3.module.min.js +1 -0
- package/dist/chunk-chunk-2JGJ5GUG.module.min.js +1 -0
- package/dist/chunk-chunk-3NGIKFD6.module.min.js +1 -0
- package/dist/chunk-chunk-3SHB24AG.module.min.js +1 -0
- package/dist/chunk-chunk-4MMOOYTX.module.min.js +2 -0
- package/dist/{chunk-chunk-KT2VAZMZ.module.min.js → chunk-chunk-75OTQSXS.module.min.js} +1 -1
- package/dist/chunk-chunk-A5GRQUOF.module.min.js +1 -0
- package/dist/chunk-chunk-AAF5LZAU.module.min.js +2 -0
- package/dist/{chunk-chunk-4AANPFOX.module.min.js → chunk-chunk-ARZGA4LJ.module.min.js} +1 -1
- package/dist/chunk-chunk-CAFLML4L.module.min.js +2 -0
- package/dist/chunk-chunk-FHBN7OEB.module.min.js +2 -0
- package/dist/{chunk-chunk-TMWIZL3K.module.min.js → chunk-chunk-GFTVACTO.module.min.js} +1 -1
- package/dist/chunk-chunk-IP2UE74X.module.min.js +1 -0
- package/dist/chunk-chunk-ITDWLZXV.module.min.js +2 -0
- package/dist/chunk-chunk-LPSPATPC.module.min.js +1 -0
- package/dist/chunk-chunk-OM6NWS4H.module.min.js +2 -0
- package/dist/chunk-chunk-PX5YQGDP.module.min.js +2 -0
- package/dist/chunk-chunk-Q2BS46W2.module.min.js +2 -0
- package/dist/{chunk-chunk-LJLS6DY7.module.min.js → chunk-chunk-RA7JCG7D.module.min.js} +1 -1
- package/dist/chunk-chunk-RNUHEXZA.module.min.js +2 -0
- package/dist/chunk-chunk-ROZWKEUG.module.min.js +1 -0
- package/dist/chunk-chunk-SMVD3EQJ.module.min.js +2 -0
- package/dist/chunk-chunk-T2FKJD4O.module.min.js +2 -0
- package/dist/{chunk-chunk-K3DMEW22.module.min.js → chunk-chunk-UDREYOLV.module.min.js} +1 -1
- package/dist/chunk-chunk-VOWE3SAP.module.min.js +2 -0
- package/dist/chunk-chunk-VQPNBUSW.module.min.js +2 -0
- package/dist/{chunk-chunk-N5DDKCCF.module.min.js → chunk-chunk-WAWCIHFJ.module.min.js} +1 -1
- package/dist/{chunk-chunk-XXWSHGPL.module.min.js → chunk-chunk-WYARAXHR.module.min.js} +1 -1
- package/dist/{chunk-chunk-I36PJ4OC.module.min.js → chunk-chunk-XP3OHHFX.module.min.js} +1 -1
- package/dist/chunk-chunk-XV3KGYTR.module.min.js +2 -0
- package/dist/chunk-chunk-YC2IVEPX.module.min.js +1 -0
- package/dist/components/ai/chartCapabilities.d.ts +2 -1
- package/dist/components/charts/custom/XYCustomChart.d.ts +3 -0
- package/dist/components/charts/geo/DistanceCartogram.d.ts +1 -1
- package/dist/components/charts/index.d.ts +3 -0
- package/dist/components/charts/ordinal/BarChart.d.ts +7 -14
- package/dist/components/charts/ordinal/GaugeChart.d.ts +3 -0
- package/dist/components/charts/ordinal/GroupedBarChart.d.ts +3 -0
- package/dist/components/charts/ordinal/StackedBarChart.d.ts +3 -0
- package/dist/components/charts/ordinal/SwimlaneChart.d.ts +4 -14
- package/dist/components/charts/shared/chartSpecCore.d.ts +2 -4
- package/dist/components/charts/shared/gaugeGradient.d.ts +4 -8
- package/dist/components/charts/shared/gradient.d.ts +35 -0
- package/dist/components/charts/shared/hatchFill.d.ts +3 -10
- package/dist/components/charts/shared/hooks.d.ts +2 -50
- package/dist/components/charts/shared/knownChartComponents.d.ts +1 -1
- package/dist/components/charts/shared/streamPropsHelpers.d.ts +1 -2
- package/dist/components/charts/shared/useChartLegend.d.ts +58 -0
- package/dist/components/charts/shared/useChartSetup.d.ts +5 -0
- package/dist/components/charts/shared/useCustomChartSetup.d.ts +6 -1
- package/dist/components/charts/shared/useNetworkChartSetup.d.ts +1 -0
- package/dist/components/charts/shared/useStreamingLegend.d.ts +1 -1
- package/dist/components/charts/xy/AreaChart.d.ts +25 -42
- package/dist/components/charts/xy/BumpChart.capability.d.ts +11 -0
- package/dist/components/charts/xy/BumpChart.d.ts +161 -0
- package/dist/components/charts/xy/DifferenceChart.d.ts +3 -10
- package/dist/components/charts/xy/Heatmap.d.ts +3 -0
- package/dist/components/charts/xy/LineChart.d.ts +6 -8
- package/dist/components/geometry/bumpRibbonGeometry.d.ts +36 -0
- package/dist/components/legendLayout.d.ts +19 -1
- package/dist/components/semiotic-ai.d.ts +2 -1
- package/dist/components/semiotic-geo.d.ts +1 -0
- package/dist/components/semiotic-network.d.ts +1 -0
- package/dist/components/semiotic-ordinal.d.ts +2 -0
- package/dist/components/semiotic-physics.d.ts +1 -0
- package/dist/components/semiotic-realtime-core.d.ts +1 -0
- package/dist/components/semiotic-server-edge.d.ts +1 -1
- package/dist/components/semiotic-server.d.ts +1 -1
- package/dist/components/semiotic-xy.d.ts +4 -0
- package/dist/components/semiotic.d.ts +4 -4
- package/dist/components/server/serverChartConfigs.d.ts +1 -0
- package/dist/components/server/serverChartConfigsXY.d.ts +1 -0
- package/dist/components/server/staticLegend.d.ts +4 -2
- package/dist/components/server/staticSVGChrome.d.ts +4 -4
- package/dist/components/stream/GeoSVGOverlay.d.ts +4 -10
- package/dist/components/stream/NetworkSVGOverlay.d.ts +2 -6
- package/dist/components/stream/OrdinalSVGOverlay.d.ts +2 -6
- package/dist/components/stream/SVGOverlay.d.ts +2 -6
- package/dist/components/stream/StalenessBadge.d.ts +2 -6
- package/dist/components/stream/geoTypes.d.ts +3 -6
- package/dist/components/stream/legendRenderer.d.ts +2 -6
- package/dist/components/stream/ordinalTypes.d.ts +7 -31
- package/dist/components/stream/physics/PhysicsKernel.d.ts +1 -0
- package/dist/components/stream/physics/PhysicsSVGOverlay.d.ts +2 -6
- package/dist/components/stream/physics/StreamPhysicsTypes.d.ts +2 -6
- package/dist/components/stream/pipelineConfig.d.ts +7 -15
- package/dist/components/stream/renderers/canvasRenderHelpers.d.ts +9 -69
- package/dist/components/stream/renderers/cornerRadii.d.ts +2 -9
- package/dist/components/stream/renderers/thresholdLineSegments.d.ts +12 -0
- package/dist/components/stream/sceneToSVGShared.d.ts +3 -5
- package/dist/components/stream/types.d.ts +32 -56
- package/dist/components/stream/xySceneBuilders/areaGradient.d.ts +4 -20
- package/dist/components/stream/xySceneBuilders/types.d.ts +6 -6
- package/dist/components/types/legendTypes.d.ts +15 -6
- package/dist/geo.min.js +1 -1
- package/dist/geo.module.min.js +1 -1
- package/dist/network.min.js +1 -1
- package/dist/network.module.min.js +1 -1
- package/dist/ordinal.min.js +1 -1
- package/dist/ordinal.module.min.js +1 -1
- package/dist/physics.min.js +1 -1
- package/dist/physics.module.min.js +1 -1
- package/dist/physicsWorker.js +1 -1
- package/dist/realtime.min.js +1 -1
- package/dist/realtime.module.min.js +1 -1
- package/dist/semiotic-ai-core.min.js +1 -1
- package/dist/semiotic-ai-core.module.min.js +1 -1
- package/dist/semiotic-ai.d.ts +2 -1
- package/dist/semiotic-ai.min.js +1 -1
- package/dist/semiotic-ai.module.min.js +1 -1
- package/dist/semiotic-experimental.min.js +1 -1
- package/dist/semiotic-experimental.module.min.js +1 -1
- package/dist/semiotic-geo.d.ts +1 -0
- package/dist/semiotic-network.d.ts +1 -0
- package/dist/semiotic-ordinal.d.ts +2 -0
- package/dist/semiotic-physics.d.ts +1 -0
- package/dist/semiotic-realtime-core.d.ts +1 -0
- package/dist/semiotic-realtime-core.min.js +1 -1
- package/dist/semiotic-realtime-core.module.min.js +1 -1
- package/dist/semiotic-recipes-core.module.min.js +1 -1
- package/dist/semiotic-recipes.module.min.js +1 -1
- package/dist/semiotic-server-edge.d.ts +1 -1
- package/dist/semiotic-server-edge.min.js +1 -1
- package/dist/semiotic-server-edge.module.min.js +1 -1
- package/dist/semiotic-server-node.min.js +1 -1
- package/dist/semiotic-server-node.module.min.js +1 -1
- package/dist/semiotic-server.d.ts +1 -1
- package/dist/semiotic-utils-core.min.js +1 -1
- package/dist/semiotic-utils-core.module.min.js +1 -1
- package/dist/semiotic-utils.min.js +1 -1
- package/dist/semiotic-utils.module.min.js +1 -1
- package/dist/semiotic-xy.d.ts +4 -0
- package/dist/semiotic.d.ts +4 -4
- package/dist/semiotic.min.js +1 -1
- package/dist/semiotic.module.min.js +1 -1
- package/dist/server.min.js +1 -1
- package/dist/server.module.min.js +1 -1
- package/dist/xy.min.js +1 -1
- package/dist/xy.module.min.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-chunk-5I3UZV4Q.module.min.js +0 -2
- package/dist/chunk-chunk-74CCPVXB.module.min.js +0 -1
- package/dist/chunk-chunk-ANYDWOZF.module.min.js +0 -1
- package/dist/chunk-chunk-AVBI6GDT.module.min.js +0 -1
- package/dist/chunk-chunk-BANTPINB.module.min.js +0 -2
- package/dist/chunk-chunk-C57LR3YG.module.min.js +0 -1
- package/dist/chunk-chunk-CKMD5NV3.module.min.js +0 -2
- package/dist/chunk-chunk-CWQ5YIHX.module.min.js +0 -2
- package/dist/chunk-chunk-E6TXX6MI.module.min.js +0 -1
- package/dist/chunk-chunk-L6EA5V3G.module.min.js +0 -2
- package/dist/chunk-chunk-LJPCLYSC.module.min.js +0 -2
- package/dist/chunk-chunk-LRIFN2HK.module.min.js +0 -1
- package/dist/chunk-chunk-NEVE562N.module.min.js +0 -1
- package/dist/chunk-chunk-NLO44TOS.module.min.js +0 -2
- package/dist/chunk-chunk-PZJ2SBLL.module.min.js +0 -2
- package/dist/chunk-chunk-QUJ6TTLY.module.min.js +0 -1
- package/dist/chunk-chunk-RBIDBUT4.module.min.js +0 -2
- package/dist/chunk-chunk-RFLAG356.module.min.js +0 -1
- package/dist/chunk-chunk-RPU4IZAV.module.min.js +0 -2
- package/dist/chunk-chunk-SKMBCFIL.module.min.js +0 -2
- package/dist/chunk-chunk-TAE7W424.module.min.js +0 -2
- package/dist/chunk-chunk-TUBMTZMU.module.min.js +0 -2
- package/dist/chunk-chunk-UFFEXJQY.module.min.js +0 -1
- package/dist/chunk-chunk-XSCHTS4D.module.min.js +0 -2
- package/dist/chunk-statisticalOverlays-QGDLRUHX.module.min.js +0 -1
- package/dist/chunk-statisticalOverlays-T77OKLDY.module.min.js +0 -1
package/ai/schema.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"name": "semiotic",
|
|
4
|
-
"version": "3.8.
|
|
4
|
+
"version": "3.8.6",
|
|
5
5
|
"description": "React data visualization library for charts, networks, and beyond",
|
|
6
6
|
"tools": [
|
|
7
7
|
{
|
|
@@ -304,6 +304,10 @@
|
|
|
304
304
|
"description": "Opacity of the filled area (0-1)",
|
|
305
305
|
"default": 0.3
|
|
306
306
|
},
|
|
307
|
+
"lineGradient": {
|
|
308
|
+
"type": "object",
|
|
309
|
+
"description": "Left-to-right stroke gradient: { stops: [{ offset: 0-1, color?, opacity? }] }."
|
|
310
|
+
},
|
|
307
311
|
"forecast": {
|
|
308
312
|
"type": "object",
|
|
309
313
|
"description": "Forecast overlay config — tagged training/observed/forecast region with optional envelope. See ForecastConfig."
|
|
@@ -601,15 +605,21 @@
|
|
|
601
605
|
"default": "monotoneX"
|
|
602
606
|
},
|
|
603
607
|
"gradientFill": {
|
|
604
|
-
"type":
|
|
605
|
-
|
|
606
|
-
"object"
|
|
607
|
-
],
|
|
608
|
-
"description": "Renderer-space area gradient. true uses default opacity; object supports opacity or colorStops."
|
|
608
|
+
"type": "object",
|
|
609
|
+
"description": "Line-to-baseline gradient: { stops: [{ offset: 0-1, color?, opacity? }] }. Offset 0 is the line/top and offset 1 is the baseline."
|
|
609
610
|
},
|
|
610
611
|
"semanticGradient": {
|
|
611
|
-
"type": "
|
|
612
|
-
"description": "
|
|
612
|
+
"type": "object",
|
|
613
|
+
"description": "Value-anchored gradient: { stops: [{ offset: 0-1, color?, opacity? }] }. Offset 0 is the y-domain minimum and offset 1 is the maximum. Takes precedence over gradientFill."
|
|
614
|
+
},
|
|
615
|
+
"semanticLine": {
|
|
616
|
+
"type": "boolean",
|
|
617
|
+
"description": "Mirror semanticGradient on the area's top-edge stroke as solid, hard-edged value bands. Set false to keep the normal stroke or lineGradient.",
|
|
618
|
+
"default": true
|
|
619
|
+
},
|
|
620
|
+
"lineGradient": {
|
|
621
|
+
"type": "object",
|
|
622
|
+
"description": "Left-to-right stroke gradient: { stops: [{ offset: 0-1, color?, opacity? }] }."
|
|
613
623
|
},
|
|
614
624
|
"areaOpacity": {
|
|
615
625
|
"type": "number",
|
|
@@ -3224,6 +3234,10 @@
|
|
|
3224
3234
|
"type": "number",
|
|
3225
3235
|
"default": 40
|
|
3226
3236
|
},
|
|
3237
|
+
"gradientFill": {
|
|
3238
|
+
"type": "object",
|
|
3239
|
+
"description": "Tip-to-base gradient: { stops: [{ offset: 0-1, color?, opacity? }] }."
|
|
3240
|
+
},
|
|
3227
3241
|
"regression": {
|
|
3228
3242
|
"type": [
|
|
3229
3243
|
"boolean",
|
|
@@ -3495,6 +3509,10 @@
|
|
|
3495
3509
|
"barPadding": {
|
|
3496
3510
|
"type": "number",
|
|
3497
3511
|
"default": 40
|
|
3512
|
+
},
|
|
3513
|
+
"gradientFill": {
|
|
3514
|
+
"type": "object",
|
|
3515
|
+
"description": "Tip-to-base gradient: { stops: [{ offset: 0-1, color?, opacity? }] }."
|
|
3498
3516
|
}
|
|
3499
3517
|
},
|
|
3500
3518
|
"required": [
|
|
@@ -4033,6 +4051,10 @@
|
|
|
4033
4051
|
"barPadding": {
|
|
4034
4052
|
"type": "number",
|
|
4035
4053
|
"default": 60
|
|
4054
|
+
},
|
|
4055
|
+
"gradientFill": {
|
|
4056
|
+
"type": "object",
|
|
4057
|
+
"description": "Tip-to-base gradient: { stops: [{ offset: 0-1, color?, opacity? }] }."
|
|
4036
4058
|
}
|
|
4037
4059
|
},
|
|
4038
4060
|
"required": [
|
|
@@ -6319,7 +6341,7 @@
|
|
|
6319
6341
|
},
|
|
6320
6342
|
"gradientFill": {
|
|
6321
6343
|
"type": "object",
|
|
6322
|
-
"description": "
|
|
6344
|
+
"description": "Sweep gradient: { stops: [{ offset: 0-1, color?, opacity? }] }. Offset 0 is the sweep start and offset 1 is the sweep end."
|
|
6323
6345
|
},
|
|
6324
6346
|
"arcWidth": {
|
|
6325
6347
|
"type": "number",
|
|
@@ -9835,6 +9857,10 @@
|
|
|
9835
9857
|
"type": "number",
|
|
9836
9858
|
"description": "Rounded corner radius (px) applied to the outermost ends of each lane — left+right for horizontal, top+bottom for vertical. Middle segments stay square; single-segment lanes round all four corners."
|
|
9837
9859
|
},
|
|
9860
|
+
"gradientFill": {
|
|
9861
|
+
"type": "object",
|
|
9862
|
+
"description": "Tip-to-base gradient: { stops: [{ offset: 0-1, color?, opacity? }] }."
|
|
9863
|
+
},
|
|
9838
9864
|
"brush": {
|
|
9839
9865
|
"type": "boolean",
|
|
9840
9866
|
"description": "Enable value-axis brush selection"
|
|
@@ -11896,11 +11922,8 @@
|
|
|
11896
11922
|
"default": 0.6
|
|
11897
11923
|
},
|
|
11898
11924
|
"gradientFill": {
|
|
11899
|
-
"type":
|
|
11900
|
-
|
|
11901
|
-
"object"
|
|
11902
|
-
],
|
|
11903
|
-
"description": "Tip→base gradient across each segment; same shape as AreaChart.gradientFill"
|
|
11925
|
+
"type": "object",
|
|
11926
|
+
"description": "Tip-to-base gradient: { stops: [{ offset: 0-1, color?, opacity? }] }."
|
|
11904
11927
|
},
|
|
11905
11928
|
"xExtent": {
|
|
11906
11929
|
"type": "array",
|
|
@@ -14530,6 +14553,354 @@
|
|
|
14530
14553
|
]
|
|
14531
14554
|
}
|
|
14532
14555
|
}
|
|
14556
|
+
},
|
|
14557
|
+
{
|
|
14558
|
+
"type": "function",
|
|
14559
|
+
"function": {
|
|
14560
|
+
"name": "BumpChart",
|
|
14561
|
+
"description": "Ranked series trajectories across ordered or time-based columns, with optional magnitude-encoded ribbons.",
|
|
14562
|
+
"parameters": {
|
|
14563
|
+
"type": "object",
|
|
14564
|
+
"properties": {
|
|
14565
|
+
"mode": {
|
|
14566
|
+
"type": "string",
|
|
14567
|
+
"enum": [
|
|
14568
|
+
"primary",
|
|
14569
|
+
"context",
|
|
14570
|
+
"sparkline",
|
|
14571
|
+
"mobile"
|
|
14572
|
+
],
|
|
14573
|
+
"description": "Display mode controlling default size, decoration, margins, labels, and interaction.",
|
|
14574
|
+
"default": "primary"
|
|
14575
|
+
},
|
|
14576
|
+
"width": {
|
|
14577
|
+
"type": "number",
|
|
14578
|
+
"default": 600
|
|
14579
|
+
},
|
|
14580
|
+
"height": {
|
|
14581
|
+
"type": "number",
|
|
14582
|
+
"default": 400
|
|
14583
|
+
},
|
|
14584
|
+
"margin": {
|
|
14585
|
+
"type": "object",
|
|
14586
|
+
"description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
|
|
14587
|
+
},
|
|
14588
|
+
"className": {
|
|
14589
|
+
"type": "string"
|
|
14590
|
+
},
|
|
14591
|
+
"title": {
|
|
14592
|
+
"type": "string",
|
|
14593
|
+
"description": "Visible chart title and the chart's accessible name."
|
|
14594
|
+
},
|
|
14595
|
+
"description": {
|
|
14596
|
+
"type": "string",
|
|
14597
|
+
"description": "Concise accessible description that overrides the chart's generated aria-label."
|
|
14598
|
+
},
|
|
14599
|
+
"summary": {
|
|
14600
|
+
"type": "string",
|
|
14601
|
+
"description": "Screen-reader-only summary of the chart's key takeaway; include keyboard interaction guidance when relevant."
|
|
14602
|
+
},
|
|
14603
|
+
"accessibleTable": {
|
|
14604
|
+
"type": "boolean",
|
|
14605
|
+
"description": "Expose the chart data through Semiotic's screen-reader data table.",
|
|
14606
|
+
"default": true
|
|
14607
|
+
},
|
|
14608
|
+
"enableHover": {
|
|
14609
|
+
"type": "boolean",
|
|
14610
|
+
"default": true
|
|
14611
|
+
},
|
|
14612
|
+
"showLegend": {
|
|
14613
|
+
"type": "boolean"
|
|
14614
|
+
},
|
|
14615
|
+
"showGrid": {
|
|
14616
|
+
"type": "boolean",
|
|
14617
|
+
"default": false
|
|
14618
|
+
},
|
|
14619
|
+
"colorBy": {
|
|
14620
|
+
"type": "string",
|
|
14621
|
+
"x-semiotic-runtime-types": [
|
|
14622
|
+
"string",
|
|
14623
|
+
"function"
|
|
14624
|
+
]
|
|
14625
|
+
},
|
|
14626
|
+
"colorScheme": {
|
|
14627
|
+
"type": [
|
|
14628
|
+
"string",
|
|
14629
|
+
"array",
|
|
14630
|
+
"object"
|
|
14631
|
+
],
|
|
14632
|
+
"default": "category10"
|
|
14633
|
+
},
|
|
14634
|
+
"tooltip": {
|
|
14635
|
+
"type": [
|
|
14636
|
+
"boolean",
|
|
14637
|
+
"object",
|
|
14638
|
+
"string"
|
|
14639
|
+
],
|
|
14640
|
+
"x-semiotic-runtime-types": [
|
|
14641
|
+
"boolean",
|
|
14642
|
+
"function",
|
|
14643
|
+
"object",
|
|
14644
|
+
"string"
|
|
14645
|
+
]
|
|
14646
|
+
},
|
|
14647
|
+
"annotations": {
|
|
14648
|
+
"type": "array",
|
|
14649
|
+
"description": "Annotation objects to render on the chart. Each must have a `type` field. Position using your data field names (e.g. { type: \"widget\", month: \"Jan\", revenue: 500 }). Supported types: \"widget\" (arbitrary HTML/React content via foreignObject — v3 replacement for htmlAnnotationRules), \"label\" (callout with connector), \"callout\" (circle + label), \"text\" (plain label), \"y-threshold\" (horizontal reference line), \"x-threshold\" (vertical reference line), \"band\" (shaded y-region), \"enclose\" (circle around points), \"rect-enclose\" (rect around points), \"highlight\" (colored dots on filtered points), \"trend\" (regression line), \"envelope\" (upper/lower bounds), \"anomaly-band\" (mean ± stddev), \"forecast\" (extrapolated trend). Widget annotations accept: content (ReactNode), dx, dy, width, height, anchor (\"fixed\"|\"latest\"|\"sticky\"). Threshold annotations accept: value, label, color, strokeWidth, strokeDasharray. Enclose annotations accept: coordinates (array of data objects), label, color, padding.",
|
|
14650
|
+
"items": {
|
|
14651
|
+
"type": "object",
|
|
14652
|
+
"properties": {
|
|
14653
|
+
"type": {
|
|
14654
|
+
"type": "string",
|
|
14655
|
+
"enum": [
|
|
14656
|
+
"widget",
|
|
14657
|
+
"label",
|
|
14658
|
+
"callout",
|
|
14659
|
+
"text",
|
|
14660
|
+
"bracket",
|
|
14661
|
+
"y-threshold",
|
|
14662
|
+
"x-threshold",
|
|
14663
|
+
"band",
|
|
14664
|
+
"enclose",
|
|
14665
|
+
"rect-enclose",
|
|
14666
|
+
"highlight",
|
|
14667
|
+
"trend",
|
|
14668
|
+
"envelope",
|
|
14669
|
+
"anomaly-band",
|
|
14670
|
+
"forecast"
|
|
14671
|
+
],
|
|
14672
|
+
"description": "Annotation type"
|
|
14673
|
+
}
|
|
14674
|
+
},
|
|
14675
|
+
"required": [
|
|
14676
|
+
"type"
|
|
14677
|
+
]
|
|
14678
|
+
}
|
|
14679
|
+
},
|
|
14680
|
+
"autoPlaceAnnotations": {
|
|
14681
|
+
"type": [
|
|
14682
|
+
"boolean",
|
|
14683
|
+
"object"
|
|
14684
|
+
],
|
|
14685
|
+
"description": "Opt-in annotation placement pass. Chooses dx/dy for note-like annotations without manual offsets and avoids note/mark/edge overlaps where possible.",
|
|
14686
|
+
"default": false
|
|
14687
|
+
},
|
|
14688
|
+
"responsiveRules": {
|
|
14689
|
+
"type": "array",
|
|
14690
|
+
"description": "Semantic responsive transforms applied before chart-mode defaults."
|
|
14691
|
+
},
|
|
14692
|
+
"mobileSemantics": {
|
|
14693
|
+
"type": "object",
|
|
14694
|
+
"description": "Phone/mobile contract consumed by audits, recipes, adapters, and agents."
|
|
14695
|
+
},
|
|
14696
|
+
"mobileInteraction": {
|
|
14697
|
+
"type": [
|
|
14698
|
+
"boolean",
|
|
14699
|
+
"object"
|
|
14700
|
+
],
|
|
14701
|
+
"description": "Touch-first interaction policy for phone-sized chart slots."
|
|
14702
|
+
},
|
|
14703
|
+
"axisExtent": {
|
|
14704
|
+
"type": "string",
|
|
14705
|
+
"enum": [
|
|
14706
|
+
"nice",
|
|
14707
|
+
"exact"
|
|
14708
|
+
],
|
|
14709
|
+
"description": "Tick endpoint mode. \"nice\" rounds endpoints to readable values; \"exact\" pins the first and last tick to the actual data min and max with equidistant intermediates. Affects XY x/y axes and ordinal value axis only.",
|
|
14710
|
+
"default": "nice"
|
|
14711
|
+
},
|
|
14712
|
+
"animate": {
|
|
14713
|
+
"type": [
|
|
14714
|
+
"boolean",
|
|
14715
|
+
"object"
|
|
14716
|
+
],
|
|
14717
|
+
"description": "Enable mark transitions (boolean or {duration?, easing?, intro?})."
|
|
14718
|
+
},
|
|
14719
|
+
"loading": {
|
|
14720
|
+
"type": "boolean",
|
|
14721
|
+
"description": "Show loading skeleton / loadingContent."
|
|
14722
|
+
},
|
|
14723
|
+
"hoverHighlight": {
|
|
14724
|
+
"type": [
|
|
14725
|
+
"boolean",
|
|
14726
|
+
"string"
|
|
14727
|
+
],
|
|
14728
|
+
"enum": [
|
|
14729
|
+
"series"
|
|
14730
|
+
],
|
|
14731
|
+
"default": true
|
|
14732
|
+
},
|
|
14733
|
+
"chartId": {
|
|
14734
|
+
"type": "string",
|
|
14735
|
+
"description": "Stable id for linked selection / observation / nav sync."
|
|
14736
|
+
},
|
|
14737
|
+
"emphasis": {
|
|
14738
|
+
"type": "string",
|
|
14739
|
+
"enum": [
|
|
14740
|
+
"primary",
|
|
14741
|
+
"secondary"
|
|
14742
|
+
]
|
|
14743
|
+
},
|
|
14744
|
+
"responsiveWidth": {
|
|
14745
|
+
"type": "boolean"
|
|
14746
|
+
},
|
|
14747
|
+
"responsiveHeight": {
|
|
14748
|
+
"type": "boolean"
|
|
14749
|
+
},
|
|
14750
|
+
"color": {
|
|
14751
|
+
"type": "string",
|
|
14752
|
+
"description": "Uniform mark fill (primitive styling)."
|
|
14753
|
+
},
|
|
14754
|
+
"stroke": {
|
|
14755
|
+
"type": "string"
|
|
14756
|
+
},
|
|
14757
|
+
"strokeWidth": {
|
|
14758
|
+
"type": "number"
|
|
14759
|
+
},
|
|
14760
|
+
"opacity": {
|
|
14761
|
+
"type": "number"
|
|
14762
|
+
},
|
|
14763
|
+
"data": {
|
|
14764
|
+
"type": "array",
|
|
14765
|
+
"description": "Flat observations containing one magnitude per series and ranking column."
|
|
14766
|
+
},
|
|
14767
|
+
"xAccessor": {
|
|
14768
|
+
"type": "string",
|
|
14769
|
+
"description": "Ordered or temporal ranking-column accessor.",
|
|
14770
|
+
"default": "x",
|
|
14771
|
+
"x-semiotic-runtime-types": [
|
|
14772
|
+
"string",
|
|
14773
|
+
"function"
|
|
14774
|
+
]
|
|
14775
|
+
},
|
|
14776
|
+
"yAccessor": {
|
|
14777
|
+
"type": "string",
|
|
14778
|
+
"description": "Numeric magnitude used to calculate rank and ribbon width.",
|
|
14779
|
+
"default": "y",
|
|
14780
|
+
"x-semiotic-runtime-types": [
|
|
14781
|
+
"string",
|
|
14782
|
+
"function"
|
|
14783
|
+
]
|
|
14784
|
+
},
|
|
14785
|
+
"xLabel": {
|
|
14786
|
+
"type": "string"
|
|
14787
|
+
},
|
|
14788
|
+
"yLabel": {
|
|
14789
|
+
"type": "string",
|
|
14790
|
+
"default": "Rank"
|
|
14791
|
+
},
|
|
14792
|
+
"lineBy": {
|
|
14793
|
+
"type": "string",
|
|
14794
|
+
"description": "Series identity accessor.",
|
|
14795
|
+
"default": "series",
|
|
14796
|
+
"x-semiotic-runtime-types": [
|
|
14797
|
+
"string",
|
|
14798
|
+
"function"
|
|
14799
|
+
]
|
|
14800
|
+
},
|
|
14801
|
+
"rankDirection": {
|
|
14802
|
+
"type": "string",
|
|
14803
|
+
"enum": [
|
|
14804
|
+
"descending",
|
|
14805
|
+
"ascending"
|
|
14806
|
+
],
|
|
14807
|
+
"default": "descending"
|
|
14808
|
+
},
|
|
14809
|
+
"ribbon": {
|
|
14810
|
+
"type": "boolean",
|
|
14811
|
+
"description": "Encode the original magnitude as trajectory width.",
|
|
14812
|
+
"default": false
|
|
14813
|
+
},
|
|
14814
|
+
"curve": {
|
|
14815
|
+
"type": "string",
|
|
14816
|
+
"enum": [
|
|
14817
|
+
"smooth",
|
|
14818
|
+
"linear"
|
|
14819
|
+
],
|
|
14820
|
+
"default": "smooth"
|
|
14821
|
+
},
|
|
14822
|
+
"ribbonSizeRange": {
|
|
14823
|
+
"type": "array",
|
|
14824
|
+
"description": "Minimum and maximum full ribbon width in pixels.",
|
|
14825
|
+
"default": [
|
|
14826
|
+
4,
|
|
14827
|
+
28
|
|
14828
|
+
]
|
|
14829
|
+
},
|
|
14830
|
+
"samplesPerSegment": {
|
|
14831
|
+
"type": "number",
|
|
14832
|
+
"default": 12
|
|
14833
|
+
},
|
|
14834
|
+
"lineWidth": {
|
|
14835
|
+
"type": "number",
|
|
14836
|
+
"description": "Fixed trajectory width when ribbon is false.",
|
|
14837
|
+
"default": 3
|
|
14838
|
+
},
|
|
14839
|
+
"highlightTop": {
|
|
14840
|
+
"type": "number",
|
|
14841
|
+
"description": "Use categorical colors for the N series with the best overall mean rank."
|
|
14842
|
+
},
|
|
14843
|
+
"neutralColor": {
|
|
14844
|
+
"type": "string",
|
|
14845
|
+
"description": "Color for trajectories outside highlightTop. Defaults to the theme's secondary text color."
|
|
14846
|
+
},
|
|
14847
|
+
"ribbonOpacity": {
|
|
14848
|
+
"type": "number",
|
|
14849
|
+
"default": 0.82
|
|
14850
|
+
},
|
|
14851
|
+
"lineOpacity": {
|
|
14852
|
+
"type": "number",
|
|
14853
|
+
"default": 0.9
|
|
14854
|
+
},
|
|
14855
|
+
"showPoints": {
|
|
14856
|
+
"type": "boolean",
|
|
14857
|
+
"default": false
|
|
14858
|
+
},
|
|
14859
|
+
"pointRadius": {
|
|
14860
|
+
"type": "number",
|
|
14861
|
+
"default": 3
|
|
14862
|
+
},
|
|
14863
|
+
"showLabels": {
|
|
14864
|
+
"type": [
|
|
14865
|
+
"boolean",
|
|
14866
|
+
"string"
|
|
14867
|
+
],
|
|
14868
|
+
"enum": [
|
|
14869
|
+
"start",
|
|
14870
|
+
"end",
|
|
14871
|
+
"both"
|
|
14872
|
+
],
|
|
14873
|
+
"default": true
|
|
14874
|
+
},
|
|
14875
|
+
"showAxes": {
|
|
14876
|
+
"type": "boolean",
|
|
14877
|
+
"default": true
|
|
14878
|
+
},
|
|
14879
|
+
"legendInteraction": {
|
|
14880
|
+
"type": "string",
|
|
14881
|
+
"enum": [
|
|
14882
|
+
"highlight",
|
|
14883
|
+
"isolate",
|
|
14884
|
+
"none"
|
|
14885
|
+
],
|
|
14886
|
+
"default": "none"
|
|
14887
|
+
},
|
|
14888
|
+
"legendPosition": {
|
|
14889
|
+
"type": "string",
|
|
14890
|
+
"enum": [
|
|
14891
|
+
"right",
|
|
14892
|
+
"left",
|
|
14893
|
+
"top",
|
|
14894
|
+
"bottom"
|
|
14895
|
+
],
|
|
14896
|
+
"default": "right"
|
|
14897
|
+
}
|
|
14898
|
+
},
|
|
14899
|
+
"required": [
|
|
14900
|
+
"data"
|
|
14901
|
+
]
|
|
14902
|
+
}
|
|
14903
|
+
}
|
|
14533
14904
|
}
|
|
14534
14905
|
]
|
|
14535
14906
|
}
|
package/ai/surface-manifest.json
CHANGED
|
@@ -7,16 +7,17 @@
|
|
|
7
7
|
"src/components/semiotic-ai.ts",
|
|
8
8
|
"ai/mcp-server.ts"
|
|
9
9
|
],
|
|
10
|
-
"version": "3.8.
|
|
10
|
+
"version": "3.8.6",
|
|
11
11
|
"components": {
|
|
12
|
-
"schema":
|
|
13
|
-
"aiChartExports":
|
|
14
|
-
"mcpRenderable":
|
|
12
|
+
"schema": 56,
|
|
13
|
+
"aiChartExports": 53,
|
|
14
|
+
"mcpRenderable": 50,
|
|
15
15
|
"browserOnly": 6,
|
|
16
16
|
"categories": {
|
|
17
17
|
"xy": [
|
|
18
18
|
"AreaChart",
|
|
19
19
|
"BubbleChart",
|
|
20
|
+
"BumpChart",
|
|
20
21
|
"CandlestickChart",
|
|
21
22
|
"ConnectedScatterplot",
|
|
22
23
|
"DifferenceChart",
|
|
@@ -90,6 +91,7 @@
|
|
|
90
91
|
"BigNumber",
|
|
91
92
|
"BoxPlot",
|
|
92
93
|
"BubbleChart",
|
|
94
|
+
"BumpChart",
|
|
93
95
|
"CandlestickChart",
|
|
94
96
|
"ChordDiagram",
|
|
95
97
|
"CirclePack",
|
package/ai/system-prompt.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- semiotic-bundle-sizes:start -->
|
|
4
4
|
<!-- Auto-generated by scripts/sync-bundle-sizes.mjs — do not edit by hand. -->
|
|
5
|
-
**Use sub-path imports** — `semiotic/xy` (
|
|
5
|
+
**Use sub-path imports** — `semiotic/xy` (143KB gz), `semiotic/ordinal` (119KB gz), `semiotic/network` (125KB gz), `semiotic/geo` (98KB gz), `semiotic/realtime` (152KB gz), `semiotic/realtime/core` (146KB gz), `semiotic/realtime/react` (1KB gz), `semiotic/server` (207KB gz), `semiotic/server/node` (207KB gz), `semiotic/server/edge` (226KB gz), `semiotic/utils` (83KB gz), `semiotic/utils/core` (81KB gz), `semiotic/utils/react` (6KB gz), `semiotic/recipes` (84KB gz), `semiotic/recipes/core` (83KB gz), `semiotic/recipes/react` (2KB gz), `semiotic/themes` (7KB gz), `semiotic/themes/core` (7KB gz), `semiotic/themes/react` (6KB gz), `semiotic/data` (4KB gz), `semiotic/value` (8KB gz), `semiotic/physics` (154KB gz), `semiotic/physics/matter` (1KB gz), `semiotic/physics/rapier` (1KB gz), `semiotic/ai` (468KB gz), `semiotic/ai/core` (78KB gz), `semiotic/controls` (12KB gz), `semiotic/rough` (4KB gz). Full `semiotic` is 382KB gz.
|
|
6
6
|
<!-- semiotic-bundle-sizes:end -->
|
|
7
7
|
|
|
8
8
|
## Flat Array Data (`data: object[]`)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import{auditData as r,toDataAuditNotifications as o}from"./chunk-chunk-
|
|
2
|
+
import{auditData as r,toDataAuditNotifications as o}from"./chunk-chunk-Q2BS46W2.module.min.js";import"./chunk-chunk-ZXIXAPRE.module.min.js";function n(n,t){if(!t||!n?.component||!n.props)return[];const c="object"==typeof t?t:{};try{const t=r(n.component,n.props,void 0,{checkOutliers:c.checkOutliers});return o(t,{max:c.max,errorsOnly:c.errorsOnly})}catch{return[]}}export{n as buildChartDataAuditNotifications};
|