semiotic 3.5.3 → 3.5.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.
Files changed (63) hide show
  1. package/CLAUDE.md +2 -2
  2. package/README.md +5 -5
  3. package/ai/componentMetadata.cjs +9 -2
  4. package/ai/dist/mcp-server.js +4 -1
  5. package/ai/examples.md +27 -0
  6. package/ai/schema.json +286 -41
  7. package/ai/system-prompt.md +1 -1
  8. package/dist/components/charts/index.d.ts +3 -3
  9. package/dist/components/charts/network/Treemap.d.ts +8 -0
  10. package/dist/components/charts/ordinal/GaugeChart.d.ts +10 -0
  11. package/dist/components/charts/realtime/RealtimeHistogram.d.ts +22 -0
  12. package/dist/components/charts/shared/gaugeGradient.d.ts +62 -0
  13. package/dist/components/charts/shared/hooks.d.ts +2 -2
  14. package/dist/components/charts/shared/streamPropsHelpers.d.ts +2 -2
  15. package/dist/components/charts/shared/types.d.ts +11 -2
  16. package/dist/components/charts/shared/useChartSetup.d.ts +2 -2
  17. package/dist/components/charts/shared/useCustomChartSetup.d.ts +1 -1
  18. package/dist/components/charts/xy/AreaChart.d.ts +15 -0
  19. package/dist/components/semiotic-ai.d.ts +1 -1
  20. package/dist/components/semiotic-realtime.d.ts +3 -3
  21. package/dist/components/semiotic-server.d.ts +1 -0
  22. package/dist/components/semiotic-xy.d.ts +1 -1
  23. package/dist/components/semiotic.d.ts +5 -4
  24. package/dist/components/server/renderToStaticSVG.d.ts +2 -0
  25. package/dist/components/server/staticLegend.d.ts +35 -0
  26. package/dist/components/store/ThemeStore.d.ts +2 -0
  27. package/dist/components/stream/NetworkSVGOverlay.d.ts +2 -1
  28. package/dist/components/stream/OrdinalSVGOverlay.d.ts +2 -1
  29. package/dist/components/stream/SVGOverlay.d.ts +2 -1
  30. package/dist/components/stream/SceneToSVG.d.ts +1 -1
  31. package/dist/components/stream/geoTypes.d.ts +2 -1
  32. package/dist/components/stream/hoverUtils.d.ts +1 -0
  33. package/dist/components/stream/legendRenderer.d.ts +2 -1
  34. package/dist/components/stream/networkTypes.d.ts +2 -1
  35. package/dist/components/stream/ordinalTypes.d.ts +16 -2
  36. package/dist/components/stream/renderers/wedgePathBuilder.d.ts +31 -0
  37. package/dist/components/stream/types.d.ts +2 -1
  38. package/dist/components/types/legendTypes.d.ts +15 -0
  39. package/dist/components/types/marginType.d.ts +17 -3
  40. package/dist/geo.min.js +1 -1
  41. package/dist/geo.module.min.js +1 -1
  42. package/dist/network.min.js +1 -1
  43. package/dist/network.module.min.js +1 -1
  44. package/dist/ordinal.min.js +1 -1
  45. package/dist/ordinal.module.min.js +1 -1
  46. package/dist/realtime.min.js +1 -1
  47. package/dist/realtime.module.min.js +1 -1
  48. package/dist/semiotic-ai.d.ts +1 -1
  49. package/dist/semiotic-ai.min.js +1 -1
  50. package/dist/semiotic-ai.module.min.js +1 -1
  51. package/dist/semiotic-realtime.d.ts +3 -3
  52. package/dist/semiotic-server.d.ts +1 -0
  53. package/dist/semiotic-utils.min.js +1 -1
  54. package/dist/semiotic-utils.module.min.js +1 -1
  55. package/dist/semiotic-xy.d.ts +1 -1
  56. package/dist/semiotic.d.ts +5 -4
  57. package/dist/semiotic.min.js +1 -1
  58. package/dist/semiotic.module.min.js +1 -1
  59. package/dist/server.min.js +1 -1
  60. package/dist/server.module.min.js +1 -1
  61. package/dist/xy.min.js +1 -1
  62. package/dist/xy.module.min.js +1 -1
  63. package/package.json +13 -21
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.5.3",
4
+ "version": "3.5.4",
5
5
  "description": "React data visualization library for charts, networks, and beyond",
6
6
  "tools": [
7
7
  {
@@ -21,7 +21,8 @@
21
21
  "default": 400
22
22
  },
23
23
  "margin": {
24
- "type": "object"
24
+ "type": "object",
25
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
25
26
  },
26
27
  "className": {
27
28
  "type": "string"
@@ -220,7 +221,8 @@
220
221
  "default": 400
221
222
  },
222
223
  "margin": {
223
- "type": "object"
224
+ "type": "object",
225
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
224
226
  },
225
227
  "className": {
226
228
  "type": "string"
@@ -354,6 +356,17 @@
354
356
  ],
355
357
  "default": "monotoneX"
356
358
  },
359
+ "gradientFill": {
360
+ "type": [
361
+ "boolean",
362
+ "object"
363
+ ],
364
+ "description": "Renderer-space area gradient. true uses default opacity; object supports opacity or colorStops."
365
+ },
366
+ "semanticGradient": {
367
+ "type": "array",
368
+ "description": "User-facing gradient stops: [{ at: 0-100, color, opacity? }], where 0 is baseline and 100 is line/top. Takes precedence over gradientFill."
369
+ },
357
370
  "areaOpacity": {
358
371
  "type": "number",
359
372
  "description": "Area fill opacity (0-1)",
@@ -407,7 +420,8 @@
407
420
  "default": 400
408
421
  },
409
422
  "margin": {
410
- "type": "object"
423
+ "type": "object",
424
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
411
425
  },
412
426
  "className": {
413
427
  "type": "string"
@@ -580,7 +594,8 @@
580
594
  "default": 400
581
595
  },
582
596
  "margin": {
583
- "type": "object"
597
+ "type": "object",
598
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
584
599
  },
585
600
  "className": {
586
601
  "type": "string"
@@ -749,7 +764,8 @@
749
764
  "default": 400
750
765
  },
751
766
  "margin": {
752
- "type": "object"
767
+ "type": "object",
768
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
753
769
  },
754
770
  "className": {
755
771
  "type": "string"
@@ -920,7 +936,8 @@
920
936
  "default": 400
921
937
  },
922
938
  "margin": {
923
- "type": "object"
939
+ "type": "object",
940
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
924
941
  },
925
942
  "className": {
926
943
  "type": "string"
@@ -1054,7 +1071,8 @@
1054
1071
  "default": 400
1055
1072
  },
1056
1073
  "margin": {
1057
- "type": "object"
1074
+ "type": "object",
1075
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
1058
1076
  },
1059
1077
  "className": {
1060
1078
  "type": "string"
@@ -1218,7 +1236,8 @@
1218
1236
  "default": 400
1219
1237
  },
1220
1238
  "margin": {
1221
- "type": "object"
1239
+ "type": "object",
1240
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
1222
1241
  },
1223
1242
  "className": {
1224
1243
  "type": "string"
@@ -1382,7 +1401,8 @@
1382
1401
  "default": 400
1383
1402
  },
1384
1403
  "margin": {
1385
- "type": "object"
1404
+ "type": "object",
1405
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
1386
1406
  },
1387
1407
  "className": {
1388
1408
  "type": "string"
@@ -1549,7 +1569,8 @@
1549
1569
  "default": 400
1550
1570
  },
1551
1571
  "margin": {
1552
- "type": "object"
1572
+ "type": "object",
1573
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
1553
1574
  },
1554
1575
  "className": {
1555
1576
  "type": "string"
@@ -1719,7 +1740,8 @@
1719
1740
  "default": 400
1720
1741
  },
1721
1742
  "margin": {
1722
- "type": "object"
1743
+ "type": "object",
1744
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
1723
1745
  },
1724
1746
  "className": {
1725
1747
  "type": "string"
@@ -1882,7 +1904,8 @@
1882
1904
  "default": 400
1883
1905
  },
1884
1906
  "margin": {
1885
- "type": "object"
1907
+ "type": "object",
1908
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
1886
1909
  },
1887
1910
  "className": {
1888
1911
  "type": "string"
@@ -2040,7 +2063,8 @@
2040
2063
  "default": 400
2041
2064
  },
2042
2065
  "margin": {
2043
- "type": "object"
2066
+ "type": "object",
2067
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
2044
2068
  },
2045
2069
  "className": {
2046
2070
  "type": "string"
@@ -2205,7 +2229,8 @@
2205
2229
  "default": 400
2206
2230
  },
2207
2231
  "margin": {
2208
- "type": "object"
2232
+ "type": "object",
2233
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
2209
2234
  },
2210
2235
  "className": {
2211
2236
  "type": "string"
@@ -2358,7 +2383,8 @@
2358
2383
  "default": 400
2359
2384
  },
2360
2385
  "margin": {
2361
- "type": "object"
2386
+ "type": "object",
2387
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
2362
2388
  },
2363
2389
  "className": {
2364
2390
  "type": "string"
@@ -2524,7 +2550,8 @@
2524
2550
  "default": 400
2525
2551
  },
2526
2552
  "margin": {
2527
- "type": "object"
2553
+ "type": "object",
2554
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
2528
2555
  },
2529
2556
  "className": {
2530
2557
  "type": "string"
@@ -2677,7 +2704,8 @@
2677
2704
  "default": 400
2678
2705
  },
2679
2706
  "margin": {
2680
- "type": "object"
2707
+ "type": "object",
2708
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
2681
2709
  },
2682
2710
  "className": {
2683
2711
  "type": "string"
@@ -2823,7 +2851,8 @@
2823
2851
  "default": 400
2824
2852
  },
2825
2853
  "margin": {
2826
- "type": "object"
2854
+ "type": "object",
2855
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
2827
2856
  },
2828
2857
  "className": {
2829
2858
  "type": "string"
@@ -2982,7 +3011,8 @@
2982
3011
  "default": 400
2983
3012
  },
2984
3013
  "margin": {
2985
- "type": "object"
3014
+ "type": "object",
3015
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
2986
3016
  },
2987
3017
  "className": {
2988
3018
  "type": "string"
@@ -3123,7 +3153,8 @@
3123
3153
  "default": 400
3124
3154
  },
3125
3155
  "margin": {
3126
- "type": "object"
3156
+ "type": "object",
3157
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
3127
3158
  },
3128
3159
  "className": {
3129
3160
  "type": "string"
@@ -3288,7 +3319,8 @@
3288
3319
  "default": 400
3289
3320
  },
3290
3321
  "margin": {
3291
- "type": "object"
3322
+ "type": "object",
3323
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
3292
3324
  },
3293
3325
  "className": {
3294
3326
  "type": "string"
@@ -3416,7 +3448,8 @@
3416
3448
  "default": 400
3417
3449
  },
3418
3450
  "margin": {
3419
- "type": "object"
3451
+ "type": "object",
3452
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
3420
3453
  },
3421
3454
  "className": {
3422
3455
  "type": "string"
@@ -3556,7 +3589,8 @@
3556
3589
  "default": 400
3557
3590
  },
3558
3591
  "margin": {
3559
- "type": "object"
3592
+ "type": "object",
3593
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
3560
3594
  },
3561
3595
  "className": {
3562
3596
  "type": "string"
@@ -3653,6 +3687,10 @@
3653
3687
  "type": "array",
3654
3688
  "description": "Array of { value, color, label? } defining threshold zones. Last value should equal max."
3655
3689
  },
3690
+ "gradientFill": {
3691
+ "type": "object",
3692
+ "description": "Arc-length gradient for the gauge band. Color stops are sampled along the sweep from start to end."
3693
+ },
3656
3694
  "arcWidth": {
3657
3695
  "type": "number",
3658
3696
  "description": "Arc thickness as fraction of radius (0-1)",
@@ -3667,6 +3705,11 @@
3667
3705
  "description": "Arc sweep angle in degrees (gap centered at bottom)",
3668
3706
  "default": 240
3669
3707
  },
3708
+ "fillZones": {
3709
+ "type": "boolean",
3710
+ "description": "When true, the arc fills up to the current value; when false, the full arc is shown.",
3711
+ "default": true
3712
+ },
3670
3713
  "showNeedle": {
3671
3714
  "type": "boolean",
3672
3715
  "default": true
@@ -3674,6 +3717,10 @@
3674
3717
  "needleColor": {
3675
3718
  "type": "string"
3676
3719
  },
3720
+ "color": {
3721
+ "type": "string",
3722
+ "description": "Fallback fill color used when no thresholds are defined"
3723
+ },
3677
3724
  "valueFormat": {
3678
3725
  "type": "function"
3679
3726
  },
@@ -3705,7 +3752,8 @@
3705
3752
  "default": 400
3706
3753
  },
3707
3754
  "margin": {
3708
- "type": "object"
3755
+ "type": "object",
3756
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
3709
3757
  },
3710
3758
  "className": {
3711
3759
  "type": "string"
@@ -3896,7 +3944,8 @@
3896
3944
  "default": 400
3897
3945
  },
3898
3946
  "margin": {
3899
- "type": "object"
3947
+ "type": "object",
3948
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
3900
3949
  },
3901
3950
  "className": {
3902
3951
  "type": "string"
@@ -4092,7 +4141,8 @@
4092
4141
  "default": 400
4093
4142
  },
4094
4143
  "margin": {
4095
- "type": "object"
4144
+ "type": "object",
4145
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
4096
4146
  },
4097
4147
  "className": {
4098
4148
  "type": "string"
@@ -4266,7 +4316,8 @@
4266
4316
  "default": 400
4267
4317
  },
4268
4318
  "margin": {
4269
- "type": "object"
4319
+ "type": "object",
4320
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
4270
4321
  },
4271
4322
  "className": {
4272
4323
  "type": "string"
@@ -4444,7 +4495,8 @@
4444
4495
  "default": 400
4445
4496
  },
4446
4497
  "margin": {
4447
- "type": "object"
4498
+ "type": "object",
4499
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
4448
4500
  },
4449
4501
  "className": {
4450
4502
  "type": "string"
@@ -4588,7 +4640,8 @@
4588
4640
  "default": 400
4589
4641
  },
4590
4642
  "margin": {
4591
- "type": "object"
4643
+ "type": "object",
4644
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
4592
4645
  },
4593
4646
  "className": {
4594
4647
  "type": "string"
@@ -4736,7 +4789,8 @@
4736
4789
  "default": 400
4737
4790
  },
4738
4791
  "margin": {
4739
- "type": "object"
4792
+ "type": "object",
4793
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
4740
4794
  },
4741
4795
  "className": {
4742
4796
  "type": "string"
@@ -5185,6 +5239,15 @@
5185
5239
  "type": "number",
5186
5240
  "description": "Time bin size in milliseconds (required)"
5187
5241
  },
5242
+ "direction": {
5243
+ "type": "string",
5244
+ "enum": [
5245
+ "up",
5246
+ "down"
5247
+ ],
5248
+ "description": "Bar growth direction. Use \"down\" for mirrored histograms; explicit valueExtent is reversed.",
5249
+ "default": "up"
5250
+ },
5188
5251
  "categoryAccessor": {
5189
5252
  "type": [
5190
5253
  "string",
@@ -5730,7 +5793,8 @@
5730
5793
  "default": 400
5731
5794
  },
5732
5795
  "margin": {
5733
- "type": "object"
5796
+ "type": "object",
5797
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
5734
5798
  },
5735
5799
  "className": {
5736
5800
  "type": "string"
@@ -5902,7 +5966,8 @@
5902
5966
  "default": 400
5903
5967
  },
5904
5968
  "margin": {
5905
- "type": "object"
5969
+ "type": "object",
5970
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
5906
5971
  },
5907
5972
  "className": {
5908
5973
  "type": "string"
@@ -6092,7 +6157,8 @@
6092
6157
  "default": 400
6093
6158
  },
6094
6159
  "margin": {
6095
- "type": "object"
6160
+ "type": "object",
6161
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
6096
6162
  },
6097
6163
  "className": {
6098
6164
  "type": "string"
@@ -6204,7 +6270,8 @@
6204
6270
  "default": 400
6205
6271
  },
6206
6272
  "margin": {
6207
- "type": "object"
6273
+ "type": "object",
6274
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
6208
6275
  },
6209
6276
  "className": {
6210
6277
  "type": "string"
@@ -6312,7 +6379,8 @@
6312
6379
  "default": 400
6313
6380
  },
6314
6381
  "margin": {
6315
- "type": "object"
6382
+ "type": "object",
6383
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
6316
6384
  },
6317
6385
  "className": {
6318
6386
  "type": "string"
@@ -6433,7 +6501,8 @@
6433
6501
  "default": 400
6434
6502
  },
6435
6503
  "margin": {
6436
- "type": "object"
6504
+ "type": "object",
6505
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
6437
6506
  },
6438
6507
  "className": {
6439
6508
  "type": "string"
@@ -6567,7 +6636,8 @@
6567
6636
  "default": 400
6568
6637
  },
6569
6638
  "margin": {
6570
- "type": "object"
6639
+ "type": "object",
6640
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
6571
6641
  },
6572
6642
  "className": {
6573
6643
  "type": "string"
@@ -6690,7 +6760,8 @@
6690
6760
  "default": 400
6691
6761
  },
6692
6762
  "margin": {
6693
- "type": "object"
6763
+ "type": "object",
6764
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
6694
6765
  },
6695
6766
  "className": {
6696
6767
  "type": "string"
@@ -6807,7 +6878,8 @@
6807
6878
  "default": 400
6808
6879
  },
6809
6880
  "margin": {
6810
- "type": "object"
6881
+ "type": "object",
6882
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
6811
6883
  },
6812
6884
  "className": {
6813
6885
  "type": "string"
@@ -7059,7 +7131,8 @@
7059
7131
  "default": 400
7060
7132
  },
7061
7133
  "margin": {
7062
- "type": "object"
7134
+ "type": "object",
7135
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
7063
7136
  },
7064
7137
  "className": {
7065
7138
  "type": "string"
@@ -7260,6 +7333,178 @@
7260
7333
  "required": []
7261
7334
  }
7262
7335
  }
7336
+ },
7337
+ {
7338
+ "type": "function",
7339
+ "function": {
7340
+ "name": "TemporalHistogram",
7341
+ "description": "Static-data temporal histogram with binned aggregation. Use when data is a bounded array rather than a push stream.",
7342
+ "parameters": {
7343
+ "type": "object",
7344
+ "properties": {
7345
+ "data": {
7346
+ "type": "array",
7347
+ "description": "Array of temporal observations"
7348
+ },
7349
+ "binSize": {
7350
+ "type": "number",
7351
+ "description": "Time bin size in milliseconds (required)"
7352
+ },
7353
+ "size": {
7354
+ "type": "array",
7355
+ "description": "[width, height] in pixels"
7356
+ },
7357
+ "width": {
7358
+ "type": "number",
7359
+ "description": "Alias for size[0]"
7360
+ },
7361
+ "height": {
7362
+ "type": "number",
7363
+ "description": "Alias for size[1]"
7364
+ },
7365
+ "margin": {
7366
+ "type": "object",
7367
+ "description": "Object margin. A side value of \"auto\" or null leaves that side available for auto-reservation."
7368
+ },
7369
+ "className": {
7370
+ "type": "string"
7371
+ },
7372
+ "timeAccessor": {
7373
+ "type": [
7374
+ "string",
7375
+ "function"
7376
+ ],
7377
+ "description": "Key for time/x values"
7378
+ },
7379
+ "valueAccessor": {
7380
+ "type": [
7381
+ "string",
7382
+ "function"
7383
+ ],
7384
+ "description": "Key for y values"
7385
+ },
7386
+ "direction": {
7387
+ "type": "string",
7388
+ "enum": [
7389
+ "up",
7390
+ "down"
7391
+ ],
7392
+ "description": "Bar growth direction. Use \"down\" for mirrored histograms; explicit valueExtent is reversed.",
7393
+ "default": "up"
7394
+ },
7395
+ "categoryAccessor": {
7396
+ "type": [
7397
+ "string",
7398
+ "function"
7399
+ ],
7400
+ "description": "Key for category grouping"
7401
+ },
7402
+ "colors": {
7403
+ "type": "object",
7404
+ "description": "Map of category to color string"
7405
+ },
7406
+ "timeExtent": {
7407
+ "type": "array"
7408
+ },
7409
+ "valueExtent": {
7410
+ "type": "array"
7411
+ },
7412
+ "extentPadding": {
7413
+ "type": "number"
7414
+ },
7415
+ "showAxes": {
7416
+ "type": "boolean"
7417
+ },
7418
+ "background": {
7419
+ "type": "string"
7420
+ },
7421
+ "enableHover": {
7422
+ "type": [
7423
+ "boolean",
7424
+ "object"
7425
+ ]
7426
+ },
7427
+ "tooltip": {
7428
+ "type": [
7429
+ "function",
7430
+ "object"
7431
+ ],
7432
+ "description": "Tooltip content function or config"
7433
+ },
7434
+ "annotations": {
7435
+ "type": "array",
7436
+ "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.",
7437
+ "items": {
7438
+ "type": "object",
7439
+ "properties": {
7440
+ "type": {
7441
+ "type": "string",
7442
+ "enum": [
7443
+ "widget",
7444
+ "label",
7445
+ "callout",
7446
+ "text",
7447
+ "bracket",
7448
+ "y-threshold",
7449
+ "x-threshold",
7450
+ "band",
7451
+ "enclose",
7452
+ "rect-enclose",
7453
+ "highlight",
7454
+ "trend",
7455
+ "envelope",
7456
+ "anomaly-band",
7457
+ "forecast"
7458
+ ],
7459
+ "description": "Annotation type"
7460
+ }
7461
+ },
7462
+ "required": [
7463
+ "type"
7464
+ ]
7465
+ }
7466
+ },
7467
+ "fill": {
7468
+ "type": "string"
7469
+ },
7470
+ "stroke": {
7471
+ "type": "string"
7472
+ },
7473
+ "strokeWidth": {
7474
+ "type": "number"
7475
+ },
7476
+ "gap": {
7477
+ "type": "number"
7478
+ },
7479
+ "linkedHover": {
7480
+ "type": [
7481
+ "boolean",
7482
+ "string",
7483
+ "object"
7484
+ ]
7485
+ },
7486
+ "linkedBrush": {
7487
+ "type": [
7488
+ "string",
7489
+ "object"
7490
+ ],
7491
+ "description": "Cross-chart brush coordination via LinkedCharts. String: selection name. Object: { name, xField, yField }."
7492
+ },
7493
+ "brush": {
7494
+ "type": [
7495
+ "boolean",
7496
+ "string",
7497
+ "object"
7498
+ ],
7499
+ "description": "Enable brush selection. true defaults to { dimension: \"x\", snap: \"bin\" }. String: \"x\". Object: { dimension, snap: \"continuous\"|\"bin\", snapDuring }."
7500
+ }
7501
+ },
7502
+ "required": [
7503
+ "data",
7504
+ "binSize"
7505
+ ]
7506
+ }
7507
+ }
7263
7508
  }
7264
7509
  ]
7265
7510
  }
@@ -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` (85KB gz), `semiotic/ordinal` (68KB gz), `semiotic/network` (63KB gz), `semiotic/geo` (51KB gz), `semiotic/realtime` (90KB gz), `semiotic/server` (117KB gz), `semiotic/utils` (22KB gz), `semiotic/recipes` (5KB gz), `semiotic/themes` (4KB gz), `semiotic/data` (3KB gz), `semiotic/ai` (188KB gz). Full `semiotic` is 186KB gz.
5
+ **Use sub-path imports** — `semiotic/xy` (85KB gz), `semiotic/ordinal` (69KB gz), `semiotic/network` (63KB gz), `semiotic/geo` (52KB gz), `semiotic/realtime` (90KB gz), `semiotic/server` (122KB gz), `semiotic/utils` (22KB gz), `semiotic/recipes` (5KB gz), `semiotic/themes` (4KB gz), `semiotic/data` (3KB gz), `semiotic/ai` (189KB gz). Full `semiotic` is 188KB gz.
6
6
  <!-- semiotic-bundle-sizes:end -->
7
7
 
8
8
  ## Flat Array Data (`data: object[]`)
@@ -13,7 +13,7 @@ export type { ConnectedScatterplotProps } from "./xy/ConnectedScatterplot";
13
13
  export { LineChart } from "./xy/LineChart";
14
14
  export type { LineChartProps } from "./xy/LineChart";
15
15
  export { AreaChart } from "./xy/AreaChart";
16
- export type { AreaChartProps } from "./xy/AreaChart";
16
+ export type { AreaChartProps, SemanticGradientStop } from "./xy/AreaChart";
17
17
  export { DifferenceChart } from "./xy/DifferenceChart";
18
18
  export type { DifferenceChartProps } from "./xy/DifferenceChart";
19
19
  export { StackedAreaChart } from "./xy/StackedAreaChart";
@@ -88,8 +88,8 @@ export { OrbitDiagram } from "./network/OrbitDiagram";
88
88
  export type { OrbitDiagramProps, OrbitNode } from "./network/OrbitDiagram";
89
89
  export { RealtimeLineChart } from "./realtime/RealtimeLineChart";
90
90
  export type { RealtimeLineChartProps } from "./realtime/RealtimeLineChart";
91
- export { RealtimeTemporalHistogram, RealtimeHistogram } from "./realtime/RealtimeHistogram";
92
- export type { RealtimeTemporalHistogramProps, RealtimeHistogramProps } from "./realtime/RealtimeHistogram";
91
+ export { RealtimeTemporalHistogram, RealtimeHistogram, TemporalHistogram } from "./realtime/RealtimeHistogram";
92
+ export type { RealtimeTemporalHistogramProps, RealtimeHistogramProps, TemporalHistogramProps } from "./realtime/RealtimeHistogram";
93
93
  export { RealtimeSwarmChart } from "./realtime/RealtimeSwarmChart";
94
94
  export type { RealtimeSwarmChartProps } from "./realtime/RealtimeSwarmChart";
95
95
  export { RealtimeWaterfallChart } from "./realtime/RealtimeWaterfallChart";