@c2n/framework-types 0.0.8 → 0.0.9

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.8. Do not edit by hand.",
3
+ "$comment": "GENERATED by @c2n/framework-types@0.0.9. Do not edit by hand.",
4
4
  "tags": [
5
5
  {
6
6
  "name": "c2-accordion",
@@ -251,6 +251,22 @@
251
251
  {
252
252
  "name": "status",
253
253
  "description": "Presence dot in the bottom-right corner.\n\nDefault: `undefined`"
254
+ },
255
+ {
256
+ "name": "editable",
257
+ "description": "Allows the avatar to open an image picker and exposes a remove action for the current image.\n\nDefault: `false`"
258
+ },
259
+ {
260
+ "name": "disabled",
261
+ "description": "Disables editable avatar actions.\n\nDefault: `false`"
262
+ },
263
+ {
264
+ "name": "accept",
265
+ "description": "Accepted image MIME types or file extensions, using native file-input syntax.\n\nDefault: `'image/*'`"
266
+ },
267
+ {
268
+ "name": "max-size",
269
+ "description": "Maximum accepted image size in bytes. Zero means unlimited.\n\nDefault: `0`"
254
270
  }
255
271
  ]
256
272
  },
@@ -348,7 +364,7 @@
348
364
  },
349
365
  {
350
366
  "name": "c2-button-group",
351
- "description": "Attaches related buttons into one control: shared borders, outside corners only, a divider between items. Children\nare `c2-button` or `c2-icon-button` elements (any element works for layout). With `selection=\"single\"` the group is\na segmented control that keeps one item pressed; with `selection=\"multiple\"` each item toggles independently. The\npressed items carry `selected` (and `aria-pressed`), the group reports them in `value` and fires `change`.\n\n`@c2n/button-group`",
367
+ "description": "Attaches related buttons into one control: shared borders, outside corners only, a divider between items. Children\nare `c2-button` or `c2-icon-button` elements (any element works for layout). With `selection=\"single\"` the group is\na segmented control that keeps one item pressed; with `selection=\"multiple\"` each item toggles independently. Set\n`orientation=\"vertical\"` to stack either appearance and use Up/Down keyboard navigation. The\npressed items carry `selected` (and `aria-pressed`), the group reports them in `value` and fires `change`.\n\n`@c2n/button-group`",
352
368
  "references": [
353
369
  {
354
370
  "name": "@c2n/button-group on npm",
@@ -372,6 +388,18 @@
372
388
  "name": "orientation",
373
389
  "description": "Stacks the items vertically.\n\nDefault: `'horizontal'`"
374
390
  },
391
+ {
392
+ "name": "appearance",
393
+ "description": "`segmented` adds an inset track and sliding selected surface and always uses single selection.\n\nDefault: `'joined'`"
394
+ },
395
+ {
396
+ "name": "size",
397
+ "description": "Segmented control size.\n\nDefault: `'m'`"
398
+ },
399
+ {
400
+ "name": "stretched",
401
+ "description": "Makes the group and every item share the available width.\n\nDefault: `false`"
402
+ },
375
403
  {
376
404
  "name": "aria-label",
377
405
  "description": "Accessible name of the group."
@@ -410,6 +438,74 @@
410
438
  }
411
439
  ]
412
440
  },
441
+ {
442
+ "name": "c2-cascader",
443
+ "description": "Hierarchical single-value picker that opens every active level in one floating panel. Supply nested `options`, then\nread the selected value path from `value`. Branches open another column; choosing a leaf commits the path.\n\n`@c2n/cascader`",
444
+ "references": [
445
+ {
446
+ "name": "@c2n/cascader on npm",
447
+ "url": "https://www.npmjs.com/package/@c2n/cascader"
448
+ }
449
+ ],
450
+ "attributes": [
451
+ {
452
+ "name": "options",
453
+ "description": "Nested hierarchy shown in the floating panel. In markup this is a JSON array.\n\nDefault: `[]`"
454
+ },
455
+ {
456
+ "name": "value",
457
+ "description": "Selected value path. In markup, separate levels with semicolons.\n\nDefault: `[]`"
458
+ },
459
+ {
460
+ "name": "name",
461
+ "description": "Name used when the cascader participates in a form.\n\nDefault: `''`"
462
+ },
463
+ {
464
+ "name": "placeholder",
465
+ "description": "Text shown before a path is selected.\n\nDefault: `'Please select'`"
466
+ },
467
+ {
468
+ "name": "separator",
469
+ "description": "String placed between selected labels in the trigger.\n\nDefault: `' / '`"
470
+ },
471
+ {
472
+ "name": "aria-label",
473
+ "description": "Accessible name forwarded to the trigger and option tree.\n\nDefault: `null`"
474
+ },
475
+ {
476
+ "name": "open",
477
+ "description": "Whether the floating panel is open.\n\nDefault: `false`"
478
+ },
479
+ {
480
+ "name": "disabled",
481
+ "description": "Disables opening, selection and form submission.\n\nDefault: `false`"
482
+ },
483
+ {
484
+ "name": "readonly",
485
+ "description": "Displays the selected path without allowing changes.\n\nDefault: `false`"
486
+ },
487
+ {
488
+ "name": "required",
489
+ "description": "Requires a committed path for native form validation.\n\nDefault: `false`"
490
+ },
491
+ {
492
+ "name": "change-on-select",
493
+ "description": "Commit branch values as they are chosen instead of waiting for a leaf.\n\nDefault: `false`"
494
+ },
495
+ {
496
+ "name": "expand-trigger",
497
+ "description": "Open child columns on pointer hover instead of click.\n\nDefault: `'click'`",
498
+ "values": [
499
+ {
500
+ "name": "click"
501
+ },
502
+ {
503
+ "name": "hover"
504
+ }
505
+ ]
506
+ }
507
+ ]
508
+ },
413
509
  {
414
510
  "name": "c2-area-chart",
415
511
  "description": "A line chart with the region under each line filled — an area chart *is* a line chart plus a fill, so it\nextends `c2-line-chart` and every one of its attributes (`curve`, `points`, `zoom`, the axis bounds)\nmeans the same thing here.\n\n`@c2n/chart`",
@@ -587,7 +683,7 @@
587
683
  },
588
684
  {
589
685
  "name": "animation",
590
- "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'`",
686
+ "description": "Whether the chart animates its initial draw. ECharts uses its native shape animation and uPlot uses a\nlightweight plot reveal; subsequent data updates stay immediate so a live source does not animate\nevery tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a method every\nelement already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'auto'`",
591
687
  "values": [
592
688
  {
593
689
  "name": "none"
@@ -774,7 +870,7 @@
774
870
  },
775
871
  {
776
872
  "name": "animation",
777
- "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'`",
873
+ "description": "Whether the chart animates its initial draw. ECharts uses its native shape animation and uPlot uses a\nlightweight plot reveal; subsequent data updates stay immediate so a live source does not animate\nevery tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a method every\nelement already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'auto'`",
778
874
  "values": [
779
875
  {
780
876
  "name": "none"
@@ -925,7 +1021,7 @@
925
1021
  },
926
1022
  {
927
1023
  "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'`",
1024
+ "description": "Whether the chart animates its initial draw. ECharts uses its native shape animation and uPlot uses a\nlightweight plot reveal; subsequent data updates stay immediate so a live source does not animate\nevery tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a method every\nelement already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'auto'`",
929
1025
  "values": [
930
1026
  {
931
1027
  "name": "none"
@@ -1133,6 +1229,18 @@
1133
1229
  }
1134
1230
  ]
1135
1231
  },
1232
+ {
1233
+ "name": "marks",
1234
+ "description": "Whether to draw the small axis ticks and division lines around the arc.\n\nDefault: `'show'`",
1235
+ "values": [
1236
+ {
1237
+ "name": "show"
1238
+ },
1239
+ {
1240
+ "name": "none"
1241
+ }
1242
+ ]
1243
+ },
1136
1244
  {
1137
1245
  "name": "renderer",
1138
1246
  "description": "Which ECharts renderer to use. SVG prints and scales crisply; canvas is faster with many marks.\n\nDefault: `'canvas'`",
@@ -1218,7 +1326,7 @@
1218
1326
  },
1219
1327
  {
1220
1328
  "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'`",
1329
+ "description": "Whether the chart animates its initial draw. ECharts uses its native shape animation and uPlot uses a\nlightweight plot reveal; subsequent data updates stay immediate so a live source does not animate\nevery tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a method every\nelement already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'auto'`",
1222
1330
  "values": [
1223
1331
  {
1224
1332
  "name": "none"
@@ -1427,7 +1535,7 @@
1427
1535
  },
1428
1536
  {
1429
1537
  "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'`",
1538
+ "description": "Whether the chart animates its initial draw. ECharts uses its native shape animation and uPlot uses a\nlightweight plot reveal; subsequent data updates stay immediate so a live source does not animate\nevery tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a method every\nelement already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'auto'`",
1431
1539
  "values": [
1432
1540
  {
1433
1541
  "name": "none"
@@ -1500,6 +1608,24 @@
1500
1608
  }
1501
1609
  ]
1502
1610
  },
1611
+ {
1612
+ "name": "label-content",
1613
+ "description": "Content shown by visible slice labels.\n\nDefault: `'name'`",
1614
+ "values": [
1615
+ {
1616
+ "name": "name"
1617
+ },
1618
+ {
1619
+ "name": "value"
1620
+ },
1621
+ {
1622
+ "name": "percent"
1623
+ },
1624
+ {
1625
+ "name": "name-percent"
1626
+ }
1627
+ ]
1628
+ },
1503
1629
  {
1504
1630
  "name": "sort",
1505
1631
  "description": "Orders the slices by value rather than keeping the data order.\n\nDefault: `'none'`",
@@ -1600,7 +1726,182 @@
1600
1726
  },
1601
1727
  {
1602
1728
  "name": "animation",
1603
- "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'`",
1729
+ "description": "Whether the chart animates its initial draw. ECharts uses its native shape animation and uPlot uses a\nlightweight plot reveal; subsequent data updates stay immediate so a live source does not animate\nevery tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a method every\nelement already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'auto'`",
1730
+ "values": [
1731
+ {
1732
+ "name": "none"
1733
+ },
1734
+ {
1735
+ "name": "auto"
1736
+ }
1737
+ ]
1738
+ },
1739
+ {
1740
+ "name": "locale",
1741
+ "description": "BCP 47 locale for the axis and tooltip formatting. Defaults to the browser locale."
1742
+ },
1743
+ {
1744
+ "name": "loading",
1745
+ "description": "Shows the loading state instead of the plot.\n\nDefault: `false`"
1746
+ },
1747
+ {
1748
+ "name": "error",
1749
+ "description": "Shows an error message instead of the plot.\n\nDefault: `''`"
1750
+ },
1751
+ {
1752
+ "name": "empty-message",
1753
+ "description": "Replaces the built-in \"no data\" text.\n\nDefault: `'No data'`"
1754
+ },
1755
+ {
1756
+ "name": "max-points",
1757
+ "description": "Caps how many points a streaming chart keeps; older points fall off the front. `0` keeps everything.\n\nDefault: `0`"
1758
+ },
1759
+ {
1760
+ "name": "lazy-render",
1761
+ "description": "Defers loading the engine until the host first scrolls into view.\n\nDefault: `false`"
1762
+ }
1763
+ ]
1764
+ },
1765
+ {
1766
+ "name": "c2-radar-chart",
1767
+ "description": "A radar chart drawn by ECharts. Each data row is an indicator named by `label-field`; each\n`c2-chart-series` is one comparable profile drawn across those indicators.\n\n`@c2n/chart`",
1768
+ "references": [
1769
+ {
1770
+ "name": "@c2n/chart on npm",
1771
+ "url": "https://www.npmjs.com/package/@c2n/chart"
1772
+ }
1773
+ ],
1774
+ "attributes": [
1775
+ {
1776
+ "name": "min",
1777
+ "description": "Lowest value shared by every indicator.\n\nDefault: `0`"
1778
+ },
1779
+ {
1780
+ "name": "max",
1781
+ "description": "Highest value shared by every indicator. Auto-ranged per indicator when unset."
1782
+ },
1783
+ {
1784
+ "name": "shape",
1785
+ "description": "Shape of the indicator grid.\n\nDefault: `'polygon'`",
1786
+ "values": [
1787
+ {
1788
+ "name": "polygon"
1789
+ },
1790
+ {
1791
+ "name": "circle"
1792
+ }
1793
+ ]
1794
+ },
1795
+ {
1796
+ "name": "start-angle",
1797
+ "description": "Angle of the first indicator, in degrees counter-clockwise from three o'clock.\n\nDefault: `90`"
1798
+ },
1799
+ {
1800
+ "name": "split-number",
1801
+ "description": "Number of concentric divisions in the indicator grid.\n\nDefault: `5`"
1802
+ },
1803
+ {
1804
+ "name": "points",
1805
+ "description": "Whether to draw point markers at the indicator values.\n\nDefault: `'show'`",
1806
+ "values": [
1807
+ {
1808
+ "name": "show"
1809
+ },
1810
+ {
1811
+ "name": "none"
1812
+ }
1813
+ ]
1814
+ },
1815
+ {
1816
+ "name": "fill-opacity",
1817
+ "description": "Opacity of each profile's fill. Falls back to `--c2-chart__area--opacity`."
1818
+ },
1819
+ {
1820
+ "name": "renderer",
1821
+ "description": "Which ECharts renderer to use. SVG prints and scales crisply; canvas is faster with many marks.\n\nDefault: `'canvas'`",
1822
+ "values": [
1823
+ {
1824
+ "name": "canvas"
1825
+ },
1826
+ {
1827
+ "name": "svg"
1828
+ }
1829
+ ]
1830
+ },
1831
+ {
1832
+ "name": "data",
1833
+ "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."
1834
+ },
1835
+ {
1836
+ "name": "revision",
1837
+ "description": "Bump after mutating `data` in place. The cheap escape hatch for a large buffer you own.\n\nDefault: `0`"
1838
+ },
1839
+ {
1840
+ "name": "series",
1841
+ "description": "Series definitions, as an alternative to `c2-chart-series` children. Children win when both are set."
1842
+ },
1843
+ {
1844
+ "name": "x-field",
1845
+ "description": "Row field holding the x value; may be a dotted path. Defaults to the row index.\n\nDefault: `''`"
1846
+ },
1847
+ {
1848
+ "name": "label-field",
1849
+ "description": "Row field holding the category label, for charts that name their slices.\n\nDefault: `''`"
1850
+ },
1851
+ {
1852
+ "name": "x-type",
1853
+ "description": "How x values are interpreted, which decides the axis and the tooltip format.\n\nDefault: `'linear'`",
1854
+ "values": [
1855
+ {
1856
+ "name": "time"
1857
+ },
1858
+ {
1859
+ "name": "linear"
1860
+ },
1861
+ {
1862
+ "name": "category"
1863
+ }
1864
+ ]
1865
+ },
1866
+ {
1867
+ "name": "legend",
1868
+ "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'`",
1869
+ "values": [
1870
+ {
1871
+ "name": "none"
1872
+ },
1873
+ {
1874
+ "name": "top"
1875
+ },
1876
+ {
1877
+ "name": "bottom"
1878
+ },
1879
+ {
1880
+ "name": "start"
1881
+ },
1882
+ {
1883
+ "name": "end"
1884
+ }
1885
+ ]
1886
+ },
1887
+ {
1888
+ "name": "tooltip",
1889
+ "description": "Whether the tooltip follows the whole x position or only the hovered datum.\n\nDefault: `'axis'`",
1890
+ "values": [
1891
+ {
1892
+ "name": "none"
1893
+ },
1894
+ {
1895
+ "name": "item"
1896
+ },
1897
+ {
1898
+ "name": "axis"
1899
+ }
1900
+ ]
1901
+ },
1902
+ {
1903
+ "name": "animation",
1904
+ "description": "Whether the chart animates its initial draw. ECharts uses its native shape animation and uPlot uses a\nlightweight plot reveal; subsequent data updates stay immediate so a live source does not animate\nevery tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a method every\nelement already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'auto'`",
1604
1905
  "values": [
1605
1906
  {
1606
1907
  "name": "none"
@@ -1770,7 +2071,7 @@
1770
2071
  },
1771
2072
  {
1772
2073
  "name": "animation",
1773
- "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'`",
2074
+ "description": "Whether the chart animates its initial draw. ECharts uses its native shape animation and uPlot uses a\nlightweight plot reveal; subsequent data updates stay immediate so a live source does not animate\nevery tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a method every\nelement already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'auto'`",
1774
2075
  "values": [
1775
2076
  {
1776
2077
  "name": "none"
@@ -1979,7 +2280,7 @@
1979
2280
  },
1980
2281
  {
1981
2282
  "name": "animation",
1982
- "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'`",
2283
+ "description": "Whether the chart animates its initial draw. ECharts uses its native shape animation and uPlot uses a\nlightweight plot reveal; subsequent data updates stay immediate so a live source does not animate\nevery tick. Named `animation` rather than `animate` because `HTMLElement.animate()` is a method every\nelement already has, and shadowing it breaks the Web Animations API on the host.\n\nDefault: `'auto'`",
1983
2284
  "values": [
1984
2285
  {
1985
2286
  "name": "none"
@@ -30733,6 +31034,90 @@
30733
31034
  }
30734
31035
  ]
30735
31036
  },
31037
+ {
31038
+ "name": "c2-qr-code",
31039
+ "description": "Generates an accessible, themeable SVG QR code without sending its value to a remote service.\n\n`@c2n/qr-code`",
31040
+ "references": [
31041
+ {
31042
+ "name": "@c2n/qr-code on npm",
31043
+ "url": "https://www.npmjs.com/package/@c2n/qr-code"
31044
+ }
31045
+ ],
31046
+ "attributes": [
31047
+ {
31048
+ "name": "value",
31049
+ "description": "Text or URL encoded by the QR code.\n\nDefault: `''`"
31050
+ },
31051
+ {
31052
+ "name": "size",
31053
+ "description": "Rendered width and height in CSS pixels. Set to `0` to use `--c2-qr-code--size`.\n\nDefault: `200`"
31054
+ },
31055
+ {
31056
+ "name": "error-correction",
31057
+ "description": "Error correction level: L (7%), M (15%), Q (25%), or H (30%).\n\nDefault: `'M'`"
31058
+ },
31059
+ {
31060
+ "name": "margin",
31061
+ "description": "Quiet-zone width measured in QR modules. Four is recommended for reliable scanning.\n\nDefault: `4`"
31062
+ },
31063
+ {
31064
+ "name": "boost-error-correction",
31065
+ "description": "Raises error correction when the encoded version has spare capacity.\n\nDefault: `false`"
31066
+ },
31067
+ {
31068
+ "name": "aria-label",
31069
+ "description": "Accessible name announced for the generated image. Defaults to `QR code`.\n\nDefault: `null`"
31070
+ }
31071
+ ]
31072
+ },
31073
+ {
31074
+ "name": "c2-questionnaire",
31075
+ "description": "A complete multi-step questionnaire with single- and multiple-choice questions, optional free-text answers,\nvalidation, keyboard shortcuts and previous / skip / next navigation. Questions are supplied as an array through\nthe `questions` property or as JSON in the `questions` attribute. The component preserves answers between steps,\nemits progress events and submits the complete answer object as JSON when given a form `name`.\n\n`@c2n/questionnaire`",
31076
+ "references": [
31077
+ {
31078
+ "name": "@c2n/questionnaire on npm",
31079
+ "url": "https://www.npmjs.com/package/@c2n/questionnaire"
31080
+ }
31081
+ ],
31082
+ "attributes": [
31083
+ {
31084
+ "name": "questions",
31085
+ "description": "Questionnaire definition. Use `select` for one answer and `choice` for multiple answers (`single` / `multiple` remain aliases). May also be supplied as JSON.\n\nDefault: `[]`"
31086
+ },
31087
+ {
31088
+ "name": "current",
31089
+ "description": "Zero-based visible question index.\n\nDefault: `0`"
31090
+ },
31091
+ {
31092
+ "name": "completed",
31093
+ "description": "Shows the answer summary after successful completion.\n\nDefault: `false`"
31094
+ },
31095
+ {
31096
+ "name": "name",
31097
+ "description": "Form field name. Its submitted value is the answer object serialized as JSON.\n\nDefault: `''`"
31098
+ },
31099
+ {
31100
+ "name": "disabled",
31101
+ "description": "Disables options and navigation.\n\nDefault: `false`"
31102
+ },
31103
+ {
31104
+ "name": "next-label",
31105
+ "description": "Label of the forward action before the final question.\n\nDefault: `'Next'`"
31106
+ },
31107
+ {
31108
+ "name": "complete-label",
31109
+ "description": "Label of the forward action on the final question.\n\nDefault: `'Save'`"
31110
+ },
31111
+ {
31112
+ "name": "previous-label",
31113
+ "description": "Label of the backward action.\n\nDefault: `'Previous'`"
31114
+ },
31115
+ {
31116
+ "name": "skip-label",
31117
+ "description": "Label of the skip action.\n\nDefault: `'Skip'`"
31118
+ }
31119
+ ]
31120
+ },
30736
31121
  {
30737
31122
  "name": "c2-radio",
30738
31123
  "description": "A single radio option built on a native `<input type=\"radio\">`, with its label and an optional description beside\nthe control. Put several in a `c2-radio-group` to get a single `value`, arrow-key navigation and a roving tab stop;\nstandalone radios that share a `name` in the same document or shadow root still uncheck each other. Theme the\ncontrol, the label and the whole row (`container`), which turns a radio into a selectable card. The indicator is\nnot tied to the ring: the `dot` slot swaps the inner mark, and `icon` / `checked-icon` replace the control with\nany icon per state.\n\n`@c2n/radio`",
@@ -30813,6 +31198,54 @@
30813
31198
  }
30814
31199
  ]
30815
31200
  },
31201
+ {
31202
+ "name": "c2-rate",
31203
+ "description": "Accessible star rating control with pointer preview, keyboard adjustment and optional half-star values.\n\n`@c2n/rate`",
31204
+ "references": [
31205
+ {
31206
+ "name": "@c2n/rate on npm",
31207
+ "url": "https://www.npmjs.com/package/@c2n/rate"
31208
+ }
31209
+ ],
31210
+ "attributes": [
31211
+ {
31212
+ "name": "value",
31213
+ "description": "Current rating and submitted form value.\n\nDefault: `0`"
31214
+ },
31215
+ {
31216
+ "name": "max",
31217
+ "description": "Number of rating icons.\n\nDefault: `5`"
31218
+ },
31219
+ {
31220
+ "name": "allow-half",
31221
+ "description": "Allow values in half-star steps.\n\nDefault: `false`"
31222
+ },
31223
+ {
31224
+ "name": "clearable",
31225
+ "description": "Clicking the committed rating again clears it to zero.\n\nDefault: `false`"
31226
+ },
31227
+ {
31228
+ "name": "readonly",
31229
+ "description": "Prevents changes while keeping the rating visually available.\n\nDefault: `false`"
31230
+ },
31231
+ {
31232
+ "name": "disabled",
31233
+ "description": "Disables interaction and form submission.\n\nDefault: `false`"
31234
+ },
31235
+ {
31236
+ "name": "required",
31237
+ "description": "Requires a rating greater than zero for native form validation.\n\nDefault: `false`"
31238
+ },
31239
+ {
31240
+ "name": "name",
31241
+ "description": "Name used when the rating participates in a form.\n\nDefault: `''`"
31242
+ },
31243
+ {
31244
+ "name": "aria-label",
31245
+ "description": "Accessible name of the rating control.\n\nDefault: `null`"
31246
+ }
31247
+ ]
31248
+ },
30816
31249
  {
30817
31250
  "name": "c2-reorder-list",
30818
31251
  "description": "`@c2n/reorder-list`",
@@ -31121,6 +31554,38 @@
31121
31554
  }
31122
31555
  ]
31123
31556
  },
31557
+ {
31558
+ "name": "c2-status-panel",
31559
+ "description": "Presents a meaningful application state with optional media, supporting copy, actions and additional content. Use it\nfor empty collections, completed operations, errors, unavailable pages and other places where the user needs a clear\nexplanation and next step.\n\n`@c2n/status-panel`",
31560
+ "references": [
31561
+ {
31562
+ "name": "@c2n/status-panel on npm",
31563
+ "url": "https://www.npmjs.com/package/@c2n/status-panel"
31564
+ }
31565
+ ],
31566
+ "attributes": [
31567
+ {
31568
+ "name": "status",
31569
+ "description": "Visual tone and default media icon.\n\nDefault: `'neutral'`"
31570
+ },
31571
+ {
31572
+ "name": "align",
31573
+ "description": "Centers the composition or aligns it to the inline start.\n\nDefault: `'center'`"
31574
+ },
31575
+ {
31576
+ "name": "heading",
31577
+ "description": "Plain-text title fallback. Use the `title` slot for rich content.\n\nDefault: `''`"
31578
+ },
31579
+ {
31580
+ "name": "description",
31581
+ "description": "Plain-text description fallback. Use the `description` slot for rich content.\n\nDefault: `''`"
31582
+ },
31583
+ {
31584
+ "name": "heading-level",
31585
+ "description": "Accessible heading level used by the title region.\n\nDefault: `2`"
31586
+ }
31587
+ ]
31588
+ },
31124
31589
  {
31125
31590
  "name": "c2-switch",
31126
31591
  "description": "On/off toggle built on a native `<input type=\"checkbox\" role=\"switch\">`, so keyboard activation (Space), form value\nand the `switch` role come from the browser. The thumb can also be dragged: it follows the pointer and the side it is\nreleased on decides the state. The whole row is the label: text in the default slot and an optional `description`\nsit beside the track, and clicking them toggles it. Icons for either state can ride inside the thumb.\n\n`@c2n/switch`",
@@ -31843,6 +32308,162 @@
31843
32308
  }
31844
32309
  ]
31845
32310
  },
32311
+ {
32312
+ "name": "c2-tree",
32313
+ "description": "Hierarchical tree view with expansion, selection and lazy loading.\n\n`@c2n/tree`",
32314
+ "references": [
32315
+ {
32316
+ "name": "@c2n/tree on npm",
32317
+ "url": "https://www.npmjs.com/package/@c2n/tree"
32318
+ }
32319
+ ],
32320
+ "attributes": [
32321
+ {
32322
+ "name": "items",
32323
+ "description": "Nodes to render. Leave empty and nest `c2-tree-item` elements instead to author the tree in markup.\n\nDefault: `[]`"
32324
+ },
32325
+ {
32326
+ "name": "value",
32327
+ "description": "Values of the selected rows. Reflected as a `;`-separated attribute.\n\nDefault: `[]`"
32328
+ },
32329
+ {
32330
+ "name": "expanded-items",
32331
+ "description": "Values of the expanded rows. Reflected as a `;`-separated attribute.\n\nDefault: `[]`"
32332
+ },
32333
+ {
32334
+ "name": "selection",
32335
+ "description": "How many rows may be selected at once.\n\nDefault: `'single'`"
32336
+ },
32337
+ {
32338
+ "name": "checkbox-selection",
32339
+ "description": "Shows a checkbox on every row. Implies `selection=\"multiple\"`.\n\nDefault: `false`"
32340
+ },
32341
+ {
32342
+ "name": "selection-propagation",
32343
+ "description": "How a checkbox tick travels between a row and its relatives.\n\nDefault: `'both'`"
32344
+ },
32345
+ {
32346
+ "name": "children-outline",
32347
+ "description": "Draws a vertical rule per level of depth, marking which branch each row belongs to.\n\nDefault: `false`"
32348
+ },
32349
+ {
32350
+ "name": "disabled",
32351
+ "description": "Freezes the whole tree.\n\nDefault: `false`"
32352
+ },
32353
+ {
32354
+ "name": "expand-on-click",
32355
+ "description": "Expands a branch when its row is clicked — or activated with Enter or Space — not only when its toggle is.\n\nDefault: `false`"
32356
+ }
32357
+ ]
32358
+ },
32359
+ {
32360
+ "name": "c2-tree-item",
32361
+ "description": "One row of a https://github.com/code2nguyen/web-components | `c2-tree`.\n\n`@c2n/tree`",
32362
+ "references": [
32363
+ {
32364
+ "name": "@c2n/tree on npm",
32365
+ "url": "https://www.npmjs.com/package/@c2n/tree"
32366
+ }
32367
+ ],
32368
+ "attributes": [
32369
+ {
32370
+ "name": "value",
32371
+ "description": "Identity of the row. Selection and expansion are tracked by this value, so it must be unique in the tree.\n\nDefault: `''`"
32372
+ },
32373
+ {
32374
+ "name": "label",
32375
+ "description": "Text of the row. Ignored when the `label` slot is filled; falls back to `value` when empty.\n\nDefault: `''`"
32376
+ },
32377
+ {
32378
+ "name": "disabled",
32379
+ "description": "Blocks selection and expansion, and takes the row out of checkbox propagation.\n\nDefault: `false`"
32380
+ },
32381
+ {
32382
+ "name": "has-children",
32383
+ "description": "Marks a branch whose children load on demand: the toggle shows before any child exists.\n\nDefault: `false`"
32384
+ },
32385
+ {
32386
+ "name": "href",
32387
+ "description": "Turns the row into a link. The whole row becomes the click target; the toggle still only expands.\n\nDefault: `''`"
32388
+ },
32389
+ {
32390
+ "name": "target",
32391
+ "description": "Browsing context for `href`, e.g. `_blank`. A `_blank` row gets `rel=\"noopener noreferrer\"`."
32392
+ },
32393
+ {
32394
+ "name": "expanded",
32395
+ "description": "Whether the children are shown. Written by the parent `c2-tree`.\n\nDefault: `false`"
32396
+ },
32397
+ {
32398
+ "name": "selected",
32399
+ "description": "Whether the row is selected. Written by the parent `c2-tree`.\n\nDefault: `false`"
32400
+ },
32401
+ {
32402
+ "name": "indeterminate",
32403
+ "description": "Whether only part of the subtree is selected. Derived and written by the parent `c2-tree`.\n\nDefault: `false`"
32404
+ },
32405
+ {
32406
+ "name": "loading",
32407
+ "description": "Whether the children are being fetched. Written by the parent `c2-tree`.\n\nDefault: `false`"
32408
+ },
32409
+ {
32410
+ "name": "children-outline",
32411
+ "description": "Whether to draw the indent guides. Written by the parent `c2-tree`, and reflected because the rules are\ndrawn in CSS and the stylesheet has to see it.\n\nDefault: `false`"
32412
+ }
32413
+ ]
32414
+ },
32415
+ {
32416
+ "name": "c2-upload",
32417
+ "description": "Drag-and-drop file uploader with multiple selection, validation and an attachment-based upload queue. Set an async\n`uploadHandler(file, { signal, onProgress })` property to connect transport; the component owns progress, success,\nerror, retry, cancel and removal UI while leaving network policy to the application.\n\n`@c2n/upload`",
32418
+ "references": [
32419
+ {
32420
+ "name": "@c2n/upload on npm",
32421
+ "url": "https://www.npmjs.com/package/@c2n/upload"
32422
+ }
32423
+ ],
32424
+ "attributes": [
32425
+ {
32426
+ "name": "multiple",
32427
+ "description": "Accept several files in one browse or drop operation.\n\nDefault: `false`"
32428
+ },
32429
+ {
32430
+ "name": "variant",
32431
+ "description": "Dropzone provides drag-and-drop; compact renders only an upload button.\n\nDefault: `'dropzone'`"
32432
+ },
32433
+ {
32434
+ "name": "accept",
32435
+ "description": "Comma-separated MIME types or file extensions, using the native file-input syntax.\n\nDefault: `''`"
32436
+ },
32437
+ {
32438
+ "name": "max-files",
32439
+ "description": "Maximum number of queued files. Zero means unlimited.\n\nDefault: `0`"
32440
+ },
32441
+ {
32442
+ "name": "max-size",
32443
+ "description": "Maximum size of each file in bytes. Zero means unlimited.\n\nDefault: `0`"
32444
+ },
32445
+ {
32446
+ "name": "auto-upload",
32447
+ "description": "Run `uploadHandler` immediately after files are accepted.\n\nDefault: `true`"
32448
+ },
32449
+ {
32450
+ "name": "disabled",
32451
+ "description": "Disables browsing, dropping and attachment actions.\n\nDefault: `false`"
32452
+ },
32453
+ {
32454
+ "name": "required",
32455
+ "description": "Requires at least one selected file for native form validation.\n\nDefault: `false`"
32456
+ },
32457
+ {
32458
+ "name": "name",
32459
+ "description": "Form field name. Each queued file is appended with this name.\n\nDefault: `''`"
32460
+ },
32461
+ {
32462
+ "name": "aria-label",
32463
+ "description": "Accessible name for the drop zone.\n\nDefault: `null`"
32464
+ }
32465
+ ]
32466
+ },
31846
32467
  {
31847
32468
  "name": "c2-virtual-list",
31848
32469
  "description": "A long list that only renders what you can see. It windows `items` to the visible range plus an overscan margin with\nthe same `VirtualScrollController` the data grid uses, so 50 000 rows cost the same DOM as 20, and it renders every\nvisible row as a real `c2-list-item` — the same markup, slots, selection styling and theme as `c2-list`.\n\n`@c2n/virtual-list`",