@c2n/framework-types 0.0.7 → 0.0.8

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1.1,
3
- "$comment": "GENERATED by @c2n/framework-types@0.0.7. Do not edit by hand.",
3
+ "$comment": "GENERATED by @c2n/framework-types@0.0.8. Do not edit by hand.",
4
4
  "tags": [
5
5
  {
6
6
  "name": "c2-accordion",
@@ -810,6 +810,173 @@
810
810
  }
811
811
  ]
812
812
  },
813
+ {
814
+ "name": "c2-candlestick-chart",
815
+ "description": "An OHLC candlestick chart drawn by ECharts. With no series children it reads the `open`, `close`, `low`\nand `high` fields; the four `*-field` attributes rename that convention. Four explicit series children\ncan instead supply those columns in the same order.\n\n`@c2n/chart`",
816
+ "references": [
817
+ {
818
+ "name": "@c2n/chart on npm",
819
+ "url": "https://www.npmjs.com/package/@c2n/chart"
820
+ }
821
+ ],
822
+ "attributes": [
823
+ {
824
+ "name": "open-field",
825
+ "description": "Row field containing the opening value.\n\nDefault: `'open'`"
826
+ },
827
+ {
828
+ "name": "close-field",
829
+ "description": "Row field containing the closing value.\n\nDefault: `'close'`"
830
+ },
831
+ {
832
+ "name": "low-field",
833
+ "description": "Row field containing the lowest value.\n\nDefault: `'low'`"
834
+ },
835
+ {
836
+ "name": "high-field",
837
+ "description": "Row field containing the highest value.\n\nDefault: `'high'`"
838
+ },
839
+ {
840
+ "name": "name",
841
+ "description": "Name shown by an enabled legend for the complete OHLC series.\n\nDefault: `'Price'`"
842
+ },
843
+ {
844
+ "name": "renderer",
845
+ "description": "Which ECharts renderer to use. SVG prints and scales crisply; canvas is faster with many marks.\n\nDefault: `'canvas'`",
846
+ "values": [
847
+ {
848
+ "name": "canvas"
849
+ },
850
+ {
851
+ "name": "svg"
852
+ }
853
+ ]
854
+ },
855
+ {
856
+ "name": "data",
857
+ "description": "The data to plot. Row objects, a bare `number[]`, columnar `[xs, ys…]`, or an already-normalised\nframe. Compared by identity: replace the array, or bump `revision` after mutating it in place."
858
+ },
859
+ {
860
+ "name": "revision",
861
+ "description": "Bump after mutating `data` in place. The cheap escape hatch for a large buffer you own.\n\nDefault: `0`"
862
+ },
863
+ {
864
+ "name": "series",
865
+ "description": "Series definitions, as an alternative to `c2-chart-series` children. Children win when both are set."
866
+ },
867
+ {
868
+ "name": "x-field",
869
+ "description": "Row field holding the x value; may be a dotted path. Defaults to the row index.\n\nDefault: `''`"
870
+ },
871
+ {
872
+ "name": "label-field",
873
+ "description": "Row field holding the category label, for charts that name their slices.\n\nDefault: `''`"
874
+ },
875
+ {
876
+ "name": "x-type",
877
+ "description": "How x values are interpreted, which decides the axis and the tooltip format.\n\nDefault: `'linear'`",
878
+ "values": [
879
+ {
880
+ "name": "time"
881
+ },
882
+ {
883
+ "name": "linear"
884
+ },
885
+ {
886
+ "name": "category"
887
+ }
888
+ ]
889
+ },
890
+ {
891
+ "name": "legend",
892
+ "description": "Where the legend sits, or `none` to hide it. Shown by default: a chart with more than one series is\nunreadable without one, and a single-series chart simply renders a one-entry legend.\n\nDefault: `'bottom'`",
893
+ "values": [
894
+ {
895
+ "name": "none"
896
+ },
897
+ {
898
+ "name": "top"
899
+ },
900
+ {
901
+ "name": "bottom"
902
+ },
903
+ {
904
+ "name": "start"
905
+ },
906
+ {
907
+ "name": "end"
908
+ }
909
+ ]
910
+ },
911
+ {
912
+ "name": "tooltip",
913
+ "description": "Whether the tooltip follows the whole x position or only the hovered datum.\n\nDefault: `'axis'`",
914
+ "values": [
915
+ {
916
+ "name": "none"
917
+ },
918
+ {
919
+ "name": "item"
920
+ },
921
+ {
922
+ "name": "axis"
923
+ }
924
+ ]
925
+ },
926
+ {
927
+ "name": "animation",
928
+ "description": "Whether the engine animates entry and updates. `none` by default: a chart fed by a live source should\nnot animate every tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a\nmethod every element already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'none'`",
929
+ "values": [
930
+ {
931
+ "name": "none"
932
+ },
933
+ {
934
+ "name": "auto"
935
+ }
936
+ ]
937
+ },
938
+ {
939
+ "name": "locale",
940
+ "description": "BCP 47 locale for the axis and tooltip formatting. Defaults to the browser locale."
941
+ },
942
+ {
943
+ "name": "loading",
944
+ "description": "Shows the loading state instead of the plot.\n\nDefault: `false`"
945
+ },
946
+ {
947
+ "name": "error",
948
+ "description": "Shows an error message instead of the plot.\n\nDefault: `''`"
949
+ },
950
+ {
951
+ "name": "empty-message",
952
+ "description": "Replaces the built-in \"no data\" text.\n\nDefault: `'No data'`"
953
+ },
954
+ {
955
+ "name": "max-points",
956
+ "description": "Caps how many points a streaming chart keeps; older points fall off the front. `0` keeps everything.\n\nDefault: `0`"
957
+ },
958
+ {
959
+ "name": "lazy-render",
960
+ "description": "Defers loading the engine until the host first scrolls into view.\n\nDefault: `false`"
961
+ }
962
+ ]
963
+ },
964
+ {
965
+ "name": "c2-chart-legend",
966
+ "description": "A legend linked to a chart by id. Place it anywhere in the document to control the legend's layout\nindependently from the chart.\n\n`@c2n/chart`",
967
+ "references": [
968
+ {
969
+ "name": "@c2n/chart on npm",
970
+ "url": "https://www.npmjs.com/package/@c2n/chart"
971
+ }
972
+ ],
973
+ "attributes": [
974
+ {
975
+ "name": "for",
976
+ "description": "Id of the chart this element presents.\n\nDefault: `''`"
977
+ }
978
+ ]
979
+ },
813
980
  {
814
981
  "name": "c2-chart-series",
815
982
  "description": "One series of a chart, declared as a light-DOM child. The element renders nothing: it is a definition\nthe chart reads, the same way `c2-table` reads its `c2-table-column` children. Everything it exposes as\nan attribute can also be set as a property, and `format` is property-only.\n\n`@c2n/chart`",
@@ -859,8 +1026,8 @@
859
1026
  ]
860
1027
  },
861
1028
  {
862
- "name": "c2-line-chart",
863
- "description": "A line chart over a time or numeric x axis, drawn on canvas by uPlot.\n\n`@c2n/chart`",
1029
+ "name": "c2-chart-tooltip",
1030
+ "description": "A tooltip linked to a chart by id. It can float beside the hovered point or render inline wherever it is\nplaced in the document.\n\n`@c2n/chart`",
864
1031
  "references": [
865
1032
  {
866
1033
  "name": "@c2n/chart on npm",
@@ -869,92 +1036,494 @@
869
1036
  ],
870
1037
  "attributes": [
871
1038
  {
872
- "name": "curve",
873
- "description": "Interpolation between points.\n\nDefault: `'linear'`",
1039
+ "name": "position",
1040
+ "description": "Whether the tooltip follows the hovered point or occupies its authored HTML position.\n\nDefault: `'floating'`",
874
1041
  "values": [
875
1042
  {
876
- "name": "linear"
1043
+ "name": "floating"
877
1044
  },
878
1045
  {
879
- "name": "smooth"
1046
+ "name": "inline"
1047
+ }
1048
+ ]
1049
+ },
1050
+ {
1051
+ "name": "placement",
1052
+ "description": "Preferred side of the hovered point when `position=\"floating\"`. Flips at viewport edges.\n\nDefault: `'top'`",
1053
+ "values": [
1054
+ {
1055
+ "name": "top"
880
1056
  },
881
1057
  {
882
- "name": "step"
1058
+ "name": "bottom"
1059
+ },
1060
+ {
1061
+ "name": "start"
1062
+ },
1063
+ {
1064
+ "name": "end"
1065
+ }
1066
+ ]
1067
+ },
1068
+ {
1069
+ "name": "for",
1070
+ "description": "Id of the chart this element presents.\n\nDefault: `''`"
1071
+ }
1072
+ ]
1073
+ },
1074
+ {
1075
+ "name": "c2-gauge-chart",
1076
+ "description": "A radial gauge drawn by ECharts. Use one row and one series for a current value; `label-field` names it.\n\n`@c2n/chart`",
1077
+ "references": [
1078
+ {
1079
+ "name": "@c2n/chart on npm",
1080
+ "url": "https://www.npmjs.com/package/@c2n/chart"
1081
+ }
1082
+ ],
1083
+ "attributes": [
1084
+ {
1085
+ "name": "min",
1086
+ "description": "Lowest value on the gauge scale.\n\nDefault: `0`"
1087
+ },
1088
+ {
1089
+ "name": "max",
1090
+ "description": "Highest value on the gauge scale.\n\nDefault: `100`"
1091
+ },
1092
+ {
1093
+ "name": "start-angle",
1094
+ "description": "Angle where the arc starts, in degrees counter-clockwise from three o'clock.\n\nDefault: `225`"
1095
+ },
1096
+ {
1097
+ "name": "end-angle",
1098
+ "description": "Angle where the arc ends, in degrees counter-clockwise from three o'clock.\n\nDefault: `-45`"
1099
+ },
1100
+ {
1101
+ "name": "split-number",
1102
+ "description": "Number of labelled divisions around the arc.\n\nDefault: `5`"
1103
+ },
1104
+ {
1105
+ "name": "precision",
1106
+ "description": "Maximum number of decimal places shown in the current value.\n\nDefault: `0`"
1107
+ },
1108
+ {
1109
+ "name": "value-suffix",
1110
+ "description": "Text appended to the current value and scale labels, such as `%`.\n\nDefault: `''`"
1111
+ },
1112
+ {
1113
+ "name": "progress",
1114
+ "description": "Whether to draw the filled progress arc up to the current value.\n\nDefault: `'show'`",
1115
+ "values": [
1116
+ {
1117
+ "name": "show"
1118
+ },
1119
+ {
1120
+ "name": "none"
1121
+ }
1122
+ ]
1123
+ },
1124
+ {
1125
+ "name": "pointer",
1126
+ "description": "Whether to draw the radial pointer.\n\nDefault: `'show'`",
1127
+ "values": [
1128
+ {
1129
+ "name": "show"
1130
+ },
1131
+ {
1132
+ "name": "none"
1133
+ }
1134
+ ]
1135
+ },
1136
+ {
1137
+ "name": "renderer",
1138
+ "description": "Which ECharts renderer to use. SVG prints and scales crisply; canvas is faster with many marks.\n\nDefault: `'canvas'`",
1139
+ "values": [
1140
+ {
1141
+ "name": "canvas"
1142
+ },
1143
+ {
1144
+ "name": "svg"
883
1145
  }
884
1146
  ]
885
1147
  },
886
1148
  {
887
- "name": "points",
888
- "description": "When point markers are drawn. `auto` lets uPlot show them once points are far enough apart.\n\nDefault: `'auto'`",
889
- "values": [
890
- {
891
- "name": "auto"
892
- },
893
- {
894
- "name": "always"
895
- },
896
- {
897
- "name": "none"
898
- }
899
- ]
1149
+ "name": "data",
1150
+ "description": "The data to plot. Row objects, a bare `number[]`, columnar `[xs, ys…]`, or an already-normalised\nframe. Compared by identity: replace the array, or bump `revision` after mutating it in place."
1151
+ },
1152
+ {
1153
+ "name": "revision",
1154
+ "description": "Bump after mutating `data` in place. The cheap escape hatch for a large buffer you own.\n\nDefault: `0`"
1155
+ },
1156
+ {
1157
+ "name": "series",
1158
+ "description": "Series definitions, as an alternative to `c2-chart-series` children. Children win when both are set."
1159
+ },
1160
+ {
1161
+ "name": "x-field",
1162
+ "description": "Row field holding the x value; may be a dotted path. Defaults to the row index.\n\nDefault: `''`"
1163
+ },
1164
+ {
1165
+ "name": "label-field",
1166
+ "description": "Row field holding the category label, for charts that name their slices.\n\nDefault: `''`"
1167
+ },
1168
+ {
1169
+ "name": "x-type",
1170
+ "description": "How x values are interpreted, which decides the axis and the tooltip format.\n\nDefault: `'linear'`",
1171
+ "values": [
1172
+ {
1173
+ "name": "time"
1174
+ },
1175
+ {
1176
+ "name": "linear"
1177
+ },
1178
+ {
1179
+ "name": "category"
1180
+ }
1181
+ ]
1182
+ },
1183
+ {
1184
+ "name": "legend",
1185
+ "description": "Where the legend sits, or `none` to hide it. Shown by default: a chart with more than one series is\nunreadable without one, and a single-series chart simply renders a one-entry legend.\n\nDefault: `'bottom'`",
1186
+ "values": [
1187
+ {
1188
+ "name": "none"
1189
+ },
1190
+ {
1191
+ "name": "top"
1192
+ },
1193
+ {
1194
+ "name": "bottom"
1195
+ },
1196
+ {
1197
+ "name": "start"
1198
+ },
1199
+ {
1200
+ "name": "end"
1201
+ }
1202
+ ]
1203
+ },
1204
+ {
1205
+ "name": "tooltip",
1206
+ "description": "Whether the tooltip follows the whole x position or only the hovered datum.\n\nDefault: `'axis'`",
1207
+ "values": [
1208
+ {
1209
+ "name": "none"
1210
+ },
1211
+ {
1212
+ "name": "item"
1213
+ },
1214
+ {
1215
+ "name": "axis"
1216
+ }
1217
+ ]
1218
+ },
1219
+ {
1220
+ "name": "animation",
1221
+ "description": "Whether the engine animates entry and updates. `none` by default: a chart fed by a live source should\nnot animate every tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a\nmethod every element already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'none'`",
1222
+ "values": [
1223
+ {
1224
+ "name": "none"
1225
+ },
1226
+ {
1227
+ "name": "auto"
1228
+ }
1229
+ ]
1230
+ },
1231
+ {
1232
+ "name": "locale",
1233
+ "description": "BCP 47 locale for the axis and tooltip formatting. Defaults to the browser locale."
1234
+ },
1235
+ {
1236
+ "name": "loading",
1237
+ "description": "Shows the loading state instead of the plot.\n\nDefault: `false`"
1238
+ },
1239
+ {
1240
+ "name": "error",
1241
+ "description": "Shows an error message instead of the plot.\n\nDefault: `''`"
1242
+ },
1243
+ {
1244
+ "name": "empty-message",
1245
+ "description": "Replaces the built-in \"no data\" text.\n\nDefault: `'No data'`"
1246
+ },
1247
+ {
1248
+ "name": "max-points",
1249
+ "description": "Caps how many points a streaming chart keeps; older points fall off the front. `0` keeps everything.\n\nDefault: `0`"
1250
+ },
1251
+ {
1252
+ "name": "lazy-render",
1253
+ "description": "Defers loading the engine until the host first scrolls into view.\n\nDefault: `false`"
1254
+ }
1255
+ ]
1256
+ },
1257
+ {
1258
+ "name": "c2-line-chart",
1259
+ "description": "A line chart over a time or numeric x axis, drawn on canvas by uPlot.\n\n`@c2n/chart`",
1260
+ "references": [
1261
+ {
1262
+ "name": "@c2n/chart on npm",
1263
+ "url": "https://www.npmjs.com/package/@c2n/chart"
1264
+ }
1265
+ ],
1266
+ "attributes": [
1267
+ {
1268
+ "name": "curve",
1269
+ "description": "Interpolation between points.\n\nDefault: `'linear'`",
1270
+ "values": [
1271
+ {
1272
+ "name": "linear"
1273
+ },
1274
+ {
1275
+ "name": "smooth"
1276
+ },
1277
+ {
1278
+ "name": "step"
1279
+ }
1280
+ ]
1281
+ },
1282
+ {
1283
+ "name": "points",
1284
+ "description": "When point markers are drawn. `auto` lets uPlot show them once points are far enough apart.\n\nDefault: `'auto'`",
1285
+ "values": [
1286
+ {
1287
+ "name": "auto"
1288
+ },
1289
+ {
1290
+ "name": "always"
1291
+ },
1292
+ {
1293
+ "name": "none"
1294
+ }
1295
+ ]
1296
+ },
1297
+ {
1298
+ "name": "grid",
1299
+ "description": "Which grid lines are drawn. A string rather than a boolean because a boolean attribute reads as `true`\nwhenever it is present — `grid=\"false\"` in markup would turn the grid *on*, and there would be no way to\nturn it off from HTML at all. `y` (the default) draws the horizontal lines, matching `axes`' shape.\n\nDefault: `'y'`",
1300
+ "values": [
1301
+ {
1302
+ "name": "both"
1303
+ },
1304
+ {
1305
+ "name": "x"
1306
+ },
1307
+ {
1308
+ "name": "y"
1309
+ },
1310
+ {
1311
+ "name": "none"
1312
+ }
1313
+ ]
1314
+ },
1315
+ {
1316
+ "name": "axes",
1317
+ "description": "Which axes are drawn.\n\nDefault: `'both'`",
1318
+ "values": [
1319
+ {
1320
+ "name": "both"
1321
+ },
1322
+ {
1323
+ "name": "x"
1324
+ },
1325
+ {
1326
+ "name": "y"
1327
+ },
1328
+ {
1329
+ "name": "none"
1330
+ }
1331
+ ]
1332
+ },
1333
+ {
1334
+ "name": "y-min",
1335
+ "description": "Lower bound of the y scale. Auto-ranged when unset."
1336
+ },
1337
+ {
1338
+ "name": "y-max",
1339
+ "description": "Upper bound of the y scale. Auto-ranged when unset."
1340
+ },
1341
+ {
1342
+ "name": "zoom",
1343
+ "description": "Lets the user drag horizontally to zoom the x scale.\n\nDefault: `false`"
1344
+ },
1345
+ {
1346
+ "name": "cursor",
1347
+ "description": "The cursor crosshair.\n\nDefault: `'x'`",
1348
+ "values": [
1349
+ {
1350
+ "name": "x"
1351
+ },
1352
+ {
1353
+ "name": "none"
1354
+ }
1355
+ ]
1356
+ },
1357
+ {
1358
+ "name": "data",
1359
+ "description": "The data to plot. Row objects, a bare `number[]`, columnar `[xs, ys…]`, or an already-normalised\nframe. Compared by identity: replace the array, or bump `revision` after mutating it in place."
1360
+ },
1361
+ {
1362
+ "name": "revision",
1363
+ "description": "Bump after mutating `data` in place. The cheap escape hatch for a large buffer you own.\n\nDefault: `0`"
1364
+ },
1365
+ {
1366
+ "name": "series",
1367
+ "description": "Series definitions, as an alternative to `c2-chart-series` children. Children win when both are set."
1368
+ },
1369
+ {
1370
+ "name": "x-field",
1371
+ "description": "Row field holding the x value; may be a dotted path. Defaults to the row index.\n\nDefault: `''`"
1372
+ },
1373
+ {
1374
+ "name": "label-field",
1375
+ "description": "Row field holding the category label, for charts that name their slices.\n\nDefault: `''`"
1376
+ },
1377
+ {
1378
+ "name": "x-type",
1379
+ "description": "How x values are interpreted, which decides the axis and the tooltip format.\n\nDefault: `'linear'`",
1380
+ "values": [
1381
+ {
1382
+ "name": "time"
1383
+ },
1384
+ {
1385
+ "name": "linear"
1386
+ },
1387
+ {
1388
+ "name": "category"
1389
+ }
1390
+ ]
1391
+ },
1392
+ {
1393
+ "name": "legend",
1394
+ "description": "Where the legend sits, or `none` to hide it. Shown by default: a chart with more than one series is\nunreadable without one, and a single-series chart simply renders a one-entry legend.\n\nDefault: `'bottom'`",
1395
+ "values": [
1396
+ {
1397
+ "name": "none"
1398
+ },
1399
+ {
1400
+ "name": "top"
1401
+ },
1402
+ {
1403
+ "name": "bottom"
1404
+ },
1405
+ {
1406
+ "name": "start"
1407
+ },
1408
+ {
1409
+ "name": "end"
1410
+ }
1411
+ ]
1412
+ },
1413
+ {
1414
+ "name": "tooltip",
1415
+ "description": "Whether the tooltip follows the whole x position or only the hovered datum.\n\nDefault: `'axis'`",
1416
+ "values": [
1417
+ {
1418
+ "name": "none"
1419
+ },
1420
+ {
1421
+ "name": "item"
1422
+ },
1423
+ {
1424
+ "name": "axis"
1425
+ }
1426
+ ]
1427
+ },
1428
+ {
1429
+ "name": "animation",
1430
+ "description": "Whether the engine animates entry and updates. `none` by default: a chart fed by a live source should\nnot animate every tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a\nmethod every element already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'none'`",
1431
+ "values": [
1432
+ {
1433
+ "name": "none"
1434
+ },
1435
+ {
1436
+ "name": "auto"
1437
+ }
1438
+ ]
1439
+ },
1440
+ {
1441
+ "name": "locale",
1442
+ "description": "BCP 47 locale for the axis and tooltip formatting. Defaults to the browser locale."
1443
+ },
1444
+ {
1445
+ "name": "loading",
1446
+ "description": "Shows the loading state instead of the plot.\n\nDefault: `false`"
1447
+ },
1448
+ {
1449
+ "name": "error",
1450
+ "description": "Shows an error message instead of the plot.\n\nDefault: `''`"
1451
+ },
1452
+ {
1453
+ "name": "empty-message",
1454
+ "description": "Replaces the built-in \"no data\" text.\n\nDefault: `'No data'`"
1455
+ },
1456
+ {
1457
+ "name": "max-points",
1458
+ "description": "Caps how many points a streaming chart keeps; older points fall off the front. `0` keeps everything.\n\nDefault: `0`"
1459
+ },
1460
+ {
1461
+ "name": "lazy-render",
1462
+ "description": "Defers loading the engine until the host first scrolls into view.\n\nDefault: `false`"
1463
+ }
1464
+ ]
1465
+ },
1466
+ {
1467
+ "name": "c2-pie-chart",
1468
+ "description": "A pie or donut chart, drawn by ECharts. `label-field` names each slice and the single series supplies\nits value, so one row is one slice.\n\n`@c2n/chart`",
1469
+ "references": [
1470
+ {
1471
+ "name": "@c2n/chart on npm",
1472
+ "url": "https://www.npmjs.com/package/@c2n/chart"
1473
+ }
1474
+ ],
1475
+ "attributes": [
1476
+ {
1477
+ "name": "inner-radius",
1478
+ "description": "Hole in the middle, from 0 (a full pie) to 1. Anything above 0 makes it a donut.\n\nDefault: `0`"
1479
+ },
1480
+ {
1481
+ "name": "outer-radius",
1482
+ "description": "Outer edge as a share of the available box, from 0 to 1.\n\nDefault: `0.75`"
900
1483
  },
901
1484
  {
902
- "name": "grid",
903
- "description": "Which grid lines are drawn. A string rather than a boolean because a boolean attribute reads as `true`\nwhenever it is present — `grid=\"false\"` in markup would turn the grid *on*, and there would be no way to\nturn it off from HTML at all. `y` (the default) draws the horizontal lines, matching `axes`' shape.\n\nDefault: `'y'`",
1485
+ "name": "start-angle",
1486
+ "description": "Angle the first slice starts at, in degrees, counter-clockwise from three o'clock.\n\nDefault: `90`"
1487
+ },
1488
+ {
1489
+ "name": "labels",
1490
+ "description": "Where the slice labels are drawn, or `none` to leave them off.\n\nDefault: `'none'`",
904
1491
  "values": [
905
1492
  {
906
- "name": "both"
907
- },
908
- {
909
- "name": "x"
1493
+ "name": "none"
910
1494
  },
911
1495
  {
912
- "name": "y"
1496
+ "name": "inside"
913
1497
  },
914
1498
  {
915
- "name": "none"
1499
+ "name": "outside"
916
1500
  }
917
1501
  ]
918
1502
  },
919
1503
  {
920
- "name": "axes",
921
- "description": "Which axes are drawn.\n\nDefault: `'both'`",
1504
+ "name": "sort",
1505
+ "description": "Orders the slices by value rather than keeping the data order.\n\nDefault: `'none'`",
922
1506
  "values": [
923
1507
  {
924
- "name": "both"
925
- },
926
- {
927
- "name": "x"
1508
+ "name": "none"
928
1509
  },
929
1510
  {
930
- "name": "y"
1511
+ "name": "asc"
931
1512
  },
932
1513
  {
933
- "name": "none"
1514
+ "name": "desc"
934
1515
  }
935
1516
  ]
936
1517
  },
937
1518
  {
938
- "name": "y-min",
939
- "description": "Lower bound of the y scale. Auto-ranged when unset."
940
- },
941
- {
942
- "name": "y-max",
943
- "description": "Upper bound of the y scale. Auto-ranged when unset."
944
- },
945
- {
946
- "name": "zoom",
947
- "description": "Lets the user drag horizontally to zoom the x scale.\n\nDefault: `false`"
948
- },
949
- {
950
- "name": "cursor",
951
- "description": "The cursor crosshair.\n\nDefault: `'x'`",
1519
+ "name": "renderer",
1520
+ "description": "Which ECharts renderer to use. SVG prints and scales crisply; canvas is faster with many marks.\n\nDefault: `'canvas'`",
952
1521
  "values": [
953
1522
  {
954
- "name": "x"
1523
+ "name": "canvas"
955
1524
  },
956
1525
  {
957
- "name": "none"
1526
+ "name": "svg"
958
1527
  }
959
1528
  ]
960
1529
  },
@@ -1068,8 +1637,8 @@
1068
1637
  ]
1069
1638
  },
1070
1639
  {
1071
- "name": "c2-pie-chart",
1072
- "description": "A pie or donut chart, drawn by ECharts. `label-field` names each slice and the single series supplies\nits value, so one row is one slice.\n\n`@c2n/chart`",
1640
+ "name": "c2-scatter-chart",
1641
+ "description": "A scatter plot drawn by ECharts. `x-field` supplies the shared horizontal value and every series supplies\none vertical measure, so several populations can be compared on the same axes.\n\n`@c2n/chart`",
1073
1642
  "references": [
1074
1643
  {
1075
1644
  "name": "@c2n/chart on npm",
@@ -1078,47 +1647,44 @@
1078
1647
  ],
1079
1648
  "attributes": [
1080
1649
  {
1081
- "name": "inner-radius",
1082
- "description": "Hole in the middle, from 0 (a full pie) to 1. Anything above 0 makes it a donut.\n\nDefault: `0`"
1083
- },
1084
- {
1085
- "name": "outer-radius",
1086
- "description": "Outer edge as a share of the available box, from 0 to 1.\n\nDefault: `0.75`"
1087
- },
1088
- {
1089
- "name": "start-angle",
1090
- "description": "Angle the first slice starts at, in degrees, counter-clockwise from three o'clock.\n\nDefault: `90`"
1650
+ "name": "symbol-size",
1651
+ "description": "Diameter of each point in CSS pixels.\n\nDefault: `10`"
1091
1652
  },
1092
1653
  {
1093
- "name": "labels",
1094
- "description": "Where the slice labels are drawn, or `none` to leave them off.\n\nDefault: `'none'`",
1654
+ "name": "symbol",
1655
+ "description": "Shape used for points.\n\nDefault: `'circle'`",
1095
1656
  "values": [
1096
1657
  {
1097
- "name": "none"
1658
+ "name": "circle"
1098
1659
  },
1099
1660
  {
1100
- "name": "inside"
1661
+ "name": "rect"
1101
1662
  },
1102
1663
  {
1103
- "name": "outside"
1104
- }
1105
- ]
1106
- },
1107
- {
1108
- "name": "sort",
1109
- "description": "Orders the slices by value rather than keeping the data order.\n\nDefault: `'none'`",
1110
- "values": [
1664
+ "name": "roundRect"
1665
+ },
1111
1666
  {
1112
- "name": "none"
1667
+ "name": "triangle"
1113
1668
  },
1114
1669
  {
1115
- "name": "asc"
1670
+ "name": "diamond"
1116
1671
  },
1117
1672
  {
1118
- "name": "desc"
1673
+ "name": "pin"
1674
+ },
1675
+ {
1676
+ "name": "arrow"
1119
1677
  }
1120
1678
  ]
1121
1679
  },
1680
+ {
1681
+ "name": "large",
1682
+ "description": "Enables ECharts' large-point rendering path.\n\nDefault: `false`"
1683
+ },
1684
+ {
1685
+ "name": "large-threshold",
1686
+ "description": "Point count at which the large rendering path takes effect.\n\nDefault: `2000`"
1687
+ },
1122
1688
  {
1123
1689
  "name": "renderer",
1124
1690
  "description": "Which ECharts renderer to use. SVG prints and scales crisply; canvas is faster with many marks.\n\nDefault: `'canvas'`",
@@ -1800,6 +2366,130 @@
1800
2366
  }
1801
2367
  ]
1802
2368
  },
2369
+ {
2370
+ "name": "c2-date-input",
2371
+ "description": "A form-associated single-date field backed by a native `<input type=\"date\">`. Values, `min` and `max` use local\ncalendar ISO strings (`YYYY-MM-DD`). The native picker and keyboard editing remain available while the component\nadds a consistent field, calendar affordance, helper text, error state and theming surface.\n\n`@c2n/date-input`",
2372
+ "references": [
2373
+ {
2374
+ "name": "@c2n/date-input on npm",
2375
+ "url": "https://www.npmjs.com/package/@c2n/date-input"
2376
+ }
2377
+ ],
2378
+ "attributes": [
2379
+ {
2380
+ "name": "value",
2381
+ "description": "Current date as a local-calendar `YYYY-MM-DD` string, or an empty string.\n\nDefault: `''`"
2382
+ },
2383
+ {
2384
+ "name": "min",
2385
+ "description": "Earliest selectable date as `YYYY-MM-DD`.\n\nDefault: `''`"
2386
+ },
2387
+ {
2388
+ "name": "max",
2389
+ "description": "Latest selectable date as `YYYY-MM-DD`.\n\nDefault: `''`"
2390
+ },
2391
+ {
2392
+ "name": "step",
2393
+ "description": "Number of days between valid dates.\n\nDefault: `1`"
2394
+ },
2395
+ {
2396
+ "name": "name",
2397
+ "description": "Form field name.\n\nDefault: `''`"
2398
+ },
2399
+ {
2400
+ "name": "autocomplete",
2401
+ "description": "Browser autocomplete hint, for example `bday`.\n\nDefault: `''`"
2402
+ },
2403
+ {
2404
+ "name": "required",
2405
+ "description": "Requires a date before the form can be submitted.\n\nDefault: `false`"
2406
+ },
2407
+ {
2408
+ "name": "readOnly",
2409
+ "description": "Prevents editing while keeping the value in form submission.\n\nDefault: `false`"
2410
+ },
2411
+ {
2412
+ "name": "disabled",
2413
+ "description": "Prevents interaction and excludes the value from form submission.\n\nDefault: `false`"
2414
+ },
2415
+ {
2416
+ "name": "error",
2417
+ "description": "Applies the visual error state and sets `aria-invalid`.\n\nDefault: `false`"
2418
+ },
2419
+ {
2420
+ "name": "help",
2421
+ "description": "Helper text shown below the field.\n\nDefault: `''`"
2422
+ },
2423
+ {
2424
+ "name": "error-text",
2425
+ "description": "Message shown below the field while `error` is set.\n\nDefault: `''`"
2426
+ },
2427
+ {
2428
+ "name": "aria-label",
2429
+ "description": "Accessible name forwarded to the native date input.\n\nDefault: `null`"
2430
+ }
2431
+ ]
2432
+ },
2433
+ {
2434
+ "name": "c2-date-selector",
2435
+ "description": "A keyboard-accessible date-range calendar inspired by travel booking pickers. It shows one or two consecutive\nmonths, starts a range on the first activation, completes it on the second, and starts over on the third. Dates are\nlocal-calendar ISO strings (`YYYY-MM-DD`), so they do not shift across time zones. Arrow keys move by day or week,\nHome/End move within the week, and Page Up/Page Down change month.\n\n`@c2n/date-selector`",
2436
+ "references": [
2437
+ {
2438
+ "name": "@c2n/date-selector on npm",
2439
+ "url": "https://www.npmjs.com/package/@c2n/date-selector"
2440
+ }
2441
+ ],
2442
+ "attributes": [
2443
+ {
2444
+ "name": "from",
2445
+ "description": "Start of the selected range as `YYYY-MM-DD`.\n\nDefault: `''`"
2446
+ },
2447
+ {
2448
+ "name": "to",
2449
+ "description": "End of the selected range as `YYYY-MM-DD`; empty while the range is incomplete.\n\nDefault: `''`"
2450
+ },
2451
+ {
2452
+ "name": "min",
2453
+ "description": "Earliest selectable date as `YYYY-MM-DD`.\n\nDefault: `''`"
2454
+ },
2455
+ {
2456
+ "name": "max",
2457
+ "description": "Latest selectable date as `YYYY-MM-DD`.\n\nDefault: `''`"
2458
+ },
2459
+ {
2460
+ "name": "locale",
2461
+ "description": "Locale used for month, weekday and accessible date labels. Defaults to the document language.\n\nDefault: `''`"
2462
+ },
2463
+ {
2464
+ "name": "week-start",
2465
+ "description": "First day of each calendar week.\n\nDefault: `'monday'`"
2466
+ },
2467
+ {
2468
+ "name": "months",
2469
+ "description": "Number of consecutive months shown; clamped to one or two.\n\nDefault: `2`"
2470
+ },
2471
+ {
2472
+ "name": "name",
2473
+ "description": "Form field name for the start date.\n\nDefault: `''`"
2474
+ },
2475
+ {
2476
+ "name": "end-name",
2477
+ "description": "Form field name for the end date. Defaults to `${name}-end`.\n\nDefault: `''`"
2478
+ },
2479
+ {
2480
+ "name": "required",
2481
+ "description": "Requires both endpoints when the selector participates in a form.\n\nDefault: `false`"
2482
+ },
2483
+ {
2484
+ "name": "disabled",
2485
+ "description": "Prevents navigation and selection and excludes the control from form submission.\n\nDefault: `false`"
2486
+ },
2487
+ {
2488
+ "name": "aria-label",
2489
+ "description": "Accessible name for the complete calendar.\n\nDefault: `'Choose a date range'`"
2490
+ }
2491
+ ]
2492
+ },
1803
2493
  {
1804
2494
  "name": "c2-details",
1805
2495
  "description": "Collapsible disclosure built on native `<details>` / `<summary>`, so keyboard access, screen-reader semantics and\nfind-in-page auto-expand come from the browser. Panels that share a `name` form an exclusive accordion. Open and\nclose animate the content height (plus a fade) with the Web Animations API, so the motion is identical in every\nbrowser; the native `open` attribute is only removed once the close animation has finished.\n\n`@c2n/details`",
@@ -5565,6 +6255,78 @@
5565
6255
  }
5566
6256
  ]
5567
6257
  },
6258
+ {
6259
+ "name": "c2-number-input",
6260
+ "description": "A form-associated number field backed by a native `<input type=\"number\">`. It keeps native decimal parsing,\nvalidation and Arrow Up/Down behavior, replaces browser-specific spinners with themeable decrement/increment\ncontrols, and supports prefix/suffix adornments, helper text and an error state.\n\n`@c2n/number-input`",
6261
+ "references": [
6262
+ {
6263
+ "name": "@c2n/number-input on npm",
6264
+ "url": "https://www.npmjs.com/package/@c2n/number-input"
6265
+ }
6266
+ ],
6267
+ "attributes": [
6268
+ {
6269
+ "name": "value",
6270
+ "description": "Current numeric text, or an empty string. Use `valueAsNumber` for a parsed value.\n\nDefault: `''`"
6271
+ },
6272
+ {
6273
+ "name": "min",
6274
+ "description": "Minimum valid value."
6275
+ },
6276
+ {
6277
+ "name": "max",
6278
+ "description": "Maximum valid value."
6279
+ },
6280
+ {
6281
+ "name": "step",
6282
+ "description": "Increment used by Arrow keys and the step controls, or `any` to disable step controls.\n\nDefault: `'1'`"
6283
+ },
6284
+ {
6285
+ "name": "name",
6286
+ "description": "Form field name.\n\nDefault: `''`"
6287
+ },
6288
+ {
6289
+ "name": "autocomplete",
6290
+ "description": "Browser autocomplete hint.\n\nDefault: `''`"
6291
+ },
6292
+ {
6293
+ "name": "placeholder",
6294
+ "description": "Text shown while the field is empty.\n\nDefault: `''`"
6295
+ },
6296
+ {
6297
+ "name": "required",
6298
+ "description": "Requires a number before the form can be submitted.\n\nDefault: `false`"
6299
+ },
6300
+ {
6301
+ "name": "readOnly",
6302
+ "description": "Prevents editing while keeping the value in form submission.\n\nDefault: `false`"
6303
+ },
6304
+ {
6305
+ "name": "disabled",
6306
+ "description": "Prevents interaction and excludes the value from form submission.\n\nDefault: `false`"
6307
+ },
6308
+ {
6309
+ "name": "hide-steppers",
6310
+ "description": "Hides the decrement and increment controls.\n\nDefault: `false`"
6311
+ },
6312
+ {
6313
+ "name": "error",
6314
+ "description": "Applies the visual error state and sets `aria-invalid`.\n\nDefault: `false`"
6315
+ },
6316
+ {
6317
+ "name": "help",
6318
+ "description": "Helper text shown below the field.\n\nDefault: `''`"
6319
+ },
6320
+ {
6321
+ "name": "error-text",
6322
+ "description": "Message shown below the field while `error` is set.\n\nDefault: `''`"
6323
+ },
6324
+ {
6325
+ "name": "aria-label",
6326
+ "description": "Accessible name forwarded to the native number input.\n\nDefault: `null`"
6327
+ }
6328
+ ]
6329
+ },
5568
6330
  {
5569
6331
  "name": "c2-overlay",
5570
6332
  "description": "Anchored popup built on the browser Popover API: the element sits in the top layer, opens and light-dismisses\nnatively (Escape, click outside) and is positioned next to its anchor with floating-ui. The anchor is found in\nthis order: the `anchor` property (an element), the `anchor` attribute (an element id in the same tree), or the\nelement whose `popovertarget` points at this overlay's `id`. The overlay only positions itself; the content brings\nits own surface (background, border, shadow), so it fits menus, pickers and cards alike.\n\n`@c2n/overlay`",
@@ -30461,6 +31223,22 @@
30461
31223
  "name": "stripe",
30462
31224
  "description": "Tints odd rows with `--c2-table__row__odd--background`.\n\nDefault: `false`"
30463
31225
  },
31226
+ {
31227
+ "name": "animate-updates",
31228
+ "description": "Smoothly interpolates changed finite numbers when `rows` is replaced. Rows are matched by `row-key`, or by index.\n\nDefault: `false`"
31229
+ },
31230
+ {
31231
+ "name": "update-duration",
31232
+ "description": "Duration of an animated rows update in milliseconds.\n\nDefault: `400`"
31233
+ },
31234
+ {
31235
+ "name": "highlight-updates",
31236
+ "description": "Pulses changed row backgrounds: green for additions/increases, red for removals/decreases, blue otherwise.\n\nDefault: `false`"
31237
+ },
31238
+ {
31239
+ "name": "update-highlight-field",
31240
+ "description": "Numeric field that determines whether a modified row highlights as increased or decreased. Defaults to its first changed number.\n\nDefault: `''`"
31241
+ },
30464
31242
  {
30465
31243
  "name": "virtual",
30466
31244
  "description": "`auto` virtualizes past `virtual-threshold` rows; `always` and `never` force it.\n\nDefault: `'auto'`"