@cscfi/csc-ui 4.0.0-alpha.5 → 4.0.0-alpha.7

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.
@@ -40,7 +40,7 @@
40
40
  "owner": "c-alert"
41
41
  },
42
42
  {
43
- "declaration": "export interface CAlertProps {\n /**\n * Show a dismiss button. The alert only emits `dismiss` — removing it from\n * the page stays the consumer's job.\n */\n dismissible?: boolean;\n /**\n * Type of the alert\n *\n * @seeded from csc-ui — verify\n */\n type?: CAlertType;\n}",
43
+ "declaration": "export interface CAlertProps {\n /**\n * Show a dismiss button. The alert only emits `dismiss` — removing it from\n * the page stays the consumer's job.\n */\n dismissible?: boolean;\n /**\n * Heading rendered above the message. The `heading` slot overrides it for\n * rich content.\n *\n * @freeform\n */\n heading?: string;\n /**\n * Type of the alert\n *\n * @seeded from csc-ui — verify\n */\n type?: CAlertType;\n}",
44
44
  "description": "",
45
45
  "kind": "interface",
46
46
  "name": "CAlertProps",
@@ -313,7 +313,7 @@
313
313
  "owner": "c-pagination"
314
314
  },
315
315
  {
316
- "declaration": "export interface CPopoverProps {\n /** Distance from the trigger to the panel, in pixels. Defaults to `0`. */\n distance?: number | string;\n /**\n * Heading rendered at the top of the panel, doubling as its accessible\n * name. Without it, set `aria-label` on the host. Named `heading`, not\n * `title`: a `title` attribute on the host would trigger the browser's\n * native tooltip and collides with `HTMLElement.title`.\n * @freeform\n */\n heading?: string;\n /** Whether the popover is open. Two-way: emits `change:open`. */\n open?: boolean;\n /** Preferred placement of the panel relative to the trigger. */\n position?: CPlacement;\n}",
316
+ "declaration": "export interface CPopoverProps {\n /** Distance from the trigger to the panel, in pixels. Defaults to `0`. */\n distance?: number | string;\n /**\n * Heading rendered at the top of the panel, doubling as its accessible\n * name. Without it, set `aria-label` on the host. Named `heading`, not\n * `title`: a `title` attribute on the host would trigger the browser's\n * native tooltip and collides with `HTMLElement.title`.\n * @freeform\n */\n heading?: string;\n /** Whether the popover is open. Two-way: emits `change:open`. */\n open?: boolean;\n /** Preferred placement of the panel relative to the trigger. */\n position?: CPlacement;\n /**\n * Designated trigger: an element elsewhere in the document that opens the\n * popover — its document ID, or the element itself. The same trigger\n * concept as the `trigger` slot, supplied by reference: the popover wires\n * click-to-toggle, ARIA and focus return onto it and anchors the panel to\n * it. When both routes are supplied, this prop wins over the slot.\n */\n trigger?: HTMLElement | string;\n}",
317
317
  "description": "",
318
318
  "kind": "interface",
319
319
  "name": "CPopoverProps",
@@ -439,7 +439,7 @@
439
439
  "owner": "c-toasts"
440
440
  },
441
441
  {
442
- "declaration": "export interface CTooltipProps {\n /**\n * Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\n * shows the tooltip immediately, regardless of this value. Defaults to\n * `400`.\n */\n delay?: number | string;\n /** Distance from the trigger to the tooltip, in pixels. Defaults to `4`. */\n distance?: number | string;\n /** Whether the tooltip is open. Two-way: emits `change:open`. */\n open?: boolean;\n /** Preferred placement of the tooltip relative to the trigger. */\n position?: CPlacement;\n /**\n * The tooltip text. Overridden by the `content` slot when that is\n * populated.\n * @freeform\n */\n text?: string;\n}",
442
+ "declaration": "export interface CTooltipProps {\n /**\n * Delay before the tooltip shows on hover, in milliseconds. Keyboard focus\n * shows the tooltip immediately, regardless of this value. Defaults to\n * `400`.\n */\n delay?: number | string;\n /** Distance from the trigger to the tooltip, in pixels. Defaults to `4`. */\n distance?: number | string;\n /** Whether the tooltip is open. Two-way: emits `change:open`. */\n open?: boolean;\n /** Preferred placement of the tooltip relative to the trigger. */\n position?: CPlacement;\n /**\n * The tooltip text. Overridden by the `content` slot when that is\n * populated.\n * @freeform\n */\n text?: string;\n /**\n * Designated trigger: an element elsewhere in the document that the\n * tooltip describes — its document ID, or the element itself. The same\n * trigger concept as the `trigger` slot, supplied by reference: the\n * tooltip wires hover/focus, mirrors `aria-description` onto it and\n * anchors the bubble to it. When both routes are supplied, this prop wins\n * over the slot.\n */\n trigger?: HTMLElement | string;\n}",
443
443
  "description": "",
444
444
  "kind": "interface",
445
445
  "name": "CTooltipProps",
@@ -496,6 +496,7 @@
496
496
  }
497
497
  ],
498
498
  "cssProperties": [],
499
+ "cssStates": [],
499
500
  "events": [
500
501
  {
501
502
  "name": "change",
@@ -672,6 +673,7 @@
672
673
  }
673
674
  ],
674
675
  "cssProperties": [],
676
+ "cssStates": [],
675
677
  "events": [
676
678
  {
677
679
  "name": "item-change",
@@ -779,6 +781,10 @@
779
781
  "kind": "class",
780
782
  "name": "CAlert",
781
783
  "tagName": "c-alert",
784
+ "description": "A persistent, in-flow status message: a tinted box whose type carries a status family's colours through the icon, heading and accent edge, while the body copy stays neutral.",
785
+ "csc": {
786
+ "usage": "docs/c-alert/usage.md"
787
+ },
782
788
  "attributes": [
783
789
  {
784
790
  "fieldName": "dismissible",
@@ -789,6 +795,17 @@
789
795
  },
790
796
  "default": "false"
791
797
  },
798
+ {
799
+ "fieldName": "heading",
800
+ "name": "heading",
801
+ "description": "Heading rendered above the message. The `heading` slot overrides it for\nrich content.",
802
+ "type": {
803
+ "text": "string"
804
+ },
805
+ "csc": {
806
+ "freeform": true
807
+ }
808
+ },
792
809
  {
793
810
  "fieldName": "type",
794
811
  "name": "type",
@@ -813,7 +830,11 @@
813
830
  },
814
831
  {
815
832
  "name": "content",
816
- "description": "The wrapper around the slotted title and message content"
833
+ "description": "The wrapper around the heading and message content"
834
+ },
835
+ {
836
+ "name": "heading",
837
+ "description": "The heading paragraph rendered from the `heading` prop"
817
838
  },
818
839
  {
819
840
  "name": "dismiss",
@@ -821,6 +842,7 @@
821
842
  }
822
843
  ],
823
844
  "cssProperties": [],
845
+ "cssStates": [],
824
846
  "events": [
825
847
  {
826
848
  "name": "dismiss",
@@ -841,6 +863,18 @@
841
863
  },
842
864
  "default": "false"
843
865
  },
866
+ {
867
+ "kind": "field",
868
+ "name": "heading",
869
+ "privacy": "public",
870
+ "description": "Heading rendered above the message. The `heading` slot overrides it for\nrich content.",
871
+ "type": {
872
+ "text": "string"
873
+ },
874
+ "csc": {
875
+ "freeform": true
876
+ }
877
+ },
844
878
  {
845
879
  "kind": "field",
846
880
  "name": "type",
@@ -857,8 +891,8 @@
857
891
  ],
858
892
  "slots": [
859
893
  {
860
- "name": "title",
861
- "description": "Title slot"
894
+ "name": "heading",
895
+ "description": "Rich heading content; overrides the `heading` prop"
862
896
  },
863
897
  {
864
898
  "name": "default",
@@ -1132,6 +1166,7 @@
1132
1166
  }
1133
1167
  ],
1134
1168
  "cssProperties": [],
1169
+ "cssStates": [],
1135
1170
  "events": [
1136
1171
  {
1137
1172
  "name": "change",
@@ -1475,6 +1510,7 @@
1475
1510
  }
1476
1511
  ],
1477
1512
  "cssProperties": [],
1513
+ "cssStates": [],
1478
1514
  "events": [],
1479
1515
  "members": [],
1480
1516
  "slots": [
@@ -1705,6 +1741,7 @@
1705
1741
  "description": "Font stack applied to the label (native buttons do not inherit it)."
1706
1742
  }
1707
1743
  ],
1744
+ "cssStates": [],
1708
1745
  "events": [],
1709
1746
  "members": [
1710
1747
  {
@@ -2012,6 +2049,7 @@
2012
2049
  }
2013
2050
  ],
2014
2051
  "cssProperties": [],
2052
+ "cssStates": [],
2015
2053
  "events": [
2016
2054
  {
2017
2055
  "name": "change",
@@ -2178,6 +2216,7 @@
2178
2216
  }
2179
2217
  ],
2180
2218
  "cssProperties": [],
2219
+ "cssStates": [],
2181
2220
  "events": [],
2182
2221
  "members": [
2183
2222
  {
@@ -2282,6 +2321,7 @@
2282
2321
  }
2283
2322
  ],
2284
2323
  "cssProperties": [],
2324
+ "cssStates": [],
2285
2325
  "events": [],
2286
2326
  "members": [
2287
2327
  {
@@ -2355,6 +2395,7 @@
2355
2395
  }
2356
2396
  ],
2357
2397
  "cssProperties": [],
2398
+ "cssStates": [],
2358
2399
  "events": [],
2359
2400
  "members": [],
2360
2401
  "slots": [
@@ -2417,6 +2458,7 @@
2417
2458
  }
2418
2459
  ],
2419
2460
  "cssProperties": [],
2461
+ "cssStates": [],
2420
2462
  "events": [],
2421
2463
  "members": [],
2422
2464
  "slots": [
@@ -2459,6 +2501,10 @@
2459
2501
  "kind": "class",
2460
2502
  "name": "CCheckbox",
2461
2503
  "tagName": "c-checkbox",
2504
+ "description": "A form control for a single on/off choice: a native checkbox with a label, an optional hint, and validation messaging.",
2505
+ "csc": {
2506
+ "usage": "docs/c-checkbox/usage.md"
2507
+ },
2462
2508
  "attributes": [
2463
2509
  {
2464
2510
  "fieldName": "checked",
@@ -2613,7 +2659,11 @@
2613
2659
  },
2614
2660
  {
2615
2661
  "name": "indicator",
2616
- "description": "The circular ripple surface holding the checkbox box and checkmark"
2662
+ "description": "The checkbox box itself — the bordered square that fills when checked; border, fill and the keyboard focus ring (its `::before`) all draw with `currentColor`, so `color` recolours them together"
2663
+ },
2664
+ {
2665
+ "name": "mark",
2666
+ "description": "The SVG check / indeterminate glyph revealed inside the indicator; draws with `currentColor`, so `color` recolours it"
2617
2667
  },
2618
2668
  {
2619
2669
  "name": "content",
@@ -2625,6 +2675,16 @@
2625
2675
  }
2626
2676
  ],
2627
2677
  "cssProperties": [],
2678
+ "cssStates": [
2679
+ {
2680
+ "name": "checked",
2681
+ "description": "Present while the checkbox is checked"
2682
+ },
2683
+ {
2684
+ "name": "indeterminate",
2685
+ "description": "Present while the checkbox is in the indeterminate state"
2686
+ }
2687
+ ],
2628
2688
  "events": [
2629
2689
  {
2630
2690
  "name": "change",
@@ -2866,6 +2926,7 @@
2866
2926
  }
2867
2927
  ],
2868
2928
  "cssProperties": [],
2929
+ "cssStates": [],
2869
2930
  "events": [],
2870
2931
  "members": [
2871
2932
  {
@@ -3080,6 +3141,7 @@
3080
3141
  }
3081
3142
  ],
3082
3143
  "cssProperties": [],
3144
+ "cssStates": [],
3083
3145
  "events": [
3084
3146
  {
3085
3147
  "name": "change:expanded",
@@ -3374,6 +3436,7 @@
3374
3436
  }
3375
3437
  ],
3376
3438
  "cssProperties": [],
3439
+ "cssStates": [],
3377
3440
  "events": [],
3378
3441
  "members": [
3379
3442
  {
@@ -3507,6 +3570,7 @@
3507
3570
  }
3508
3571
  ],
3509
3572
  "cssProperties": [],
3573
+ "cssStates": [],
3510
3574
  "events": [
3511
3575
  {
3512
3576
  "name": "dropdownStateChange",
@@ -3741,6 +3805,7 @@
3741
3805
  }
3742
3806
  ],
3743
3807
  "cssProperties": [],
3808
+ "cssStates": [],
3744
3809
  "events": [],
3745
3810
  "members": [
3746
3811
  {
@@ -3923,6 +3988,7 @@
3923
3988
  }
3924
3989
  ],
3925
3990
  "cssProperties": [],
3991
+ "cssStates": [],
3926
3992
  "events": [],
3927
3993
  "members": [
3928
3994
  {
@@ -4234,6 +4300,7 @@
4234
4300
  }
4235
4301
  ],
4236
4302
  "cssProperties": [],
4303
+ "cssStates": [],
4237
4304
  "events": [],
4238
4305
  "members": [
4239
4306
  {
@@ -4491,6 +4558,7 @@
4491
4558
  }
4492
4559
  ],
4493
4560
  "cssProperties": [],
4561
+ "cssStates": [],
4494
4562
  "events": [],
4495
4563
  "members": [
4496
4564
  {
@@ -4609,6 +4677,7 @@
4609
4677
  }
4610
4678
  ],
4611
4679
  "cssProperties": [],
4680
+ "cssStates": [],
4612
4681
  "events": [],
4613
4682
  "members": [
4614
4683
  {
@@ -4746,6 +4815,7 @@
4746
4815
  }
4747
4816
  ],
4748
4817
  "cssProperties": [],
4818
+ "cssStates": [],
4749
4819
  "events": [],
4750
4820
  "members": [
4751
4821
  {
@@ -4887,6 +4957,7 @@
4887
4957
  }
4888
4958
  ],
4889
4959
  "cssProperties": [],
4960
+ "cssStates": [],
4890
4961
  "events": [],
4891
4962
  "members": [
4892
4963
  {
@@ -4989,6 +5060,7 @@
4989
5060
  }
4990
5061
  ],
4991
5062
  "cssProperties": [],
5063
+ "cssStates": [],
4992
5064
  "events": [],
4993
5065
  "members": [
4994
5066
  {
@@ -5143,6 +5215,7 @@
5143
5215
  }
5144
5216
  ],
5145
5217
  "cssProperties": [],
5218
+ "cssStates": [],
5146
5219
  "events": [],
5147
5220
  "members": [
5148
5221
  {
@@ -5233,6 +5306,7 @@
5233
5306
  "attributes": [],
5234
5307
  "cssParts": [],
5235
5308
  "cssProperties": [],
5309
+ "cssStates": [],
5236
5310
  "events": [],
5237
5311
  "members": [],
5238
5312
  "slots": [
@@ -5353,6 +5427,7 @@
5353
5427
  }
5354
5428
  ],
5355
5429
  "cssProperties": [],
5430
+ "cssStates": [],
5356
5431
  "events": [],
5357
5432
  "members": [
5358
5433
  {
@@ -5488,6 +5563,7 @@
5488
5563
  }
5489
5564
  ],
5490
5565
  "cssProperties": [],
5566
+ "cssStates": [],
5491
5567
  "events": [],
5492
5568
  "members": [
5493
5569
  {
@@ -5561,6 +5637,7 @@
5561
5637
  }
5562
5638
  ],
5563
5639
  "cssProperties": [],
5640
+ "cssStates": [],
5564
5641
  "events": [],
5565
5642
  "members": [],
5566
5643
  "slots": [
@@ -5607,6 +5684,7 @@
5607
5684
  }
5608
5685
  ],
5609
5686
  "cssProperties": [],
5687
+ "cssStates": [],
5610
5688
  "events": [],
5611
5689
  "members": [],
5612
5690
  "slots": [
@@ -5667,6 +5745,7 @@
5667
5745
  }
5668
5746
  ],
5669
5747
  "cssProperties": [],
5748
+ "cssStates": [],
5670
5749
  "events": [],
5671
5750
  "members": [
5672
5751
  {
@@ -5752,6 +5831,14 @@
5752
5831
  "csc": {
5753
5832
  "typeAlias": "CPlacement"
5754
5833
  }
5834
+ },
5835
+ {
5836
+ "fieldName": "trigger",
5837
+ "name": "trigger",
5838
+ "description": "Designated trigger: an element elsewhere in the document that opens the\nmenu — its document ID, or the element itself. The same trigger concept\nas the `trigger` slot, supplied by reference: the menu wires\nclick-to-toggle, arrow-key opening, ARIA and focus return onto it and\nanchors the panel to it. When both routes are supplied, this prop wins\nover the slot.",
5839
+ "type": {
5840
+ "text": "HTMLElement | string"
5841
+ }
5755
5842
  }
5756
5843
  ],
5757
5844
  "cssParts": [
@@ -5769,6 +5856,7 @@
5769
5856
  }
5770
5857
  ],
5771
5858
  "cssProperties": [],
5859
+ "cssStates": [],
5772
5860
  "events": [
5773
5861
  {
5774
5862
  "name": "change:open",
@@ -5818,6 +5906,15 @@
5818
5906
  "csc": {
5819
5907
  "typeAlias": "CPlacement"
5820
5908
  }
5909
+ },
5910
+ {
5911
+ "kind": "field",
5912
+ "name": "trigger",
5913
+ "privacy": "public",
5914
+ "description": "Designated trigger: an element elsewhere in the document that opens the\nmenu — its document ID, or the element itself. The same trigger concept\nas the `trigger` slot, supplied by reference: the menu wires\nclick-to-toggle, arrow-key opening, ARIA and focus return onto it and\nanchors the panel to it. When both routes are supplied, this prop wins\nover the slot.",
5915
+ "type": {
5916
+ "text": "HTMLElement | string"
5917
+ }
5821
5918
  }
5822
5919
  ],
5823
5920
  "slots": [
@@ -5954,6 +6051,7 @@
5954
6051
  }
5955
6052
  ],
5956
6053
  "cssProperties": [],
6054
+ "cssStates": [],
5957
6055
  "events": [],
5958
6056
  "members": [
5959
6057
  {
@@ -6092,6 +6190,7 @@
6092
6190
  }
6093
6191
  ],
6094
6192
  "cssProperties": [],
6193
+ "cssStates": [],
6095
6194
  "events": [],
6096
6195
  "members": [],
6097
6196
  "slots": [
@@ -6184,6 +6283,7 @@
6184
6283
  }
6185
6284
  ],
6186
6285
  "cssProperties": [],
6286
+ "cssStates": [],
6187
6287
  "events": [],
6188
6288
  "members": [
6189
6289
  {
@@ -6320,6 +6420,7 @@
6320
6420
  }
6321
6421
  ],
6322
6422
  "cssProperties": [],
6423
+ "cssStates": [],
6323
6424
  "events": [
6324
6425
  {
6325
6426
  "name": "changeValue",
@@ -6429,6 +6530,7 @@
6429
6530
  }
6430
6531
  ],
6431
6532
  "cssProperties": [],
6533
+ "cssStates": [],
6432
6534
  "events": [],
6433
6535
  "members": [],
6434
6536
  "slots": []
@@ -6503,6 +6605,7 @@
6503
6605
  ],
6504
6606
  "cssParts": [],
6505
6607
  "cssProperties": [],
6608
+ "cssStates": [],
6506
6609
  "events": [],
6507
6610
  "members": [
6508
6611
  {
@@ -6586,6 +6689,7 @@
6586
6689
  "attributes": [],
6587
6690
  "cssParts": [],
6588
6691
  "cssProperties": [],
6692
+ "cssStates": [],
6589
6693
  "events": [],
6590
6694
  "members": [],
6591
6695
  "slots": [
@@ -6750,6 +6854,7 @@
6750
6854
  }
6751
6855
  ],
6752
6856
  "cssProperties": [],
6857
+ "cssStates": [],
6753
6858
  "events": [
6754
6859
  {
6755
6860
  "name": "changeValue",
@@ -6955,6 +7060,7 @@
6955
7060
  }
6956
7061
  ],
6957
7062
  "cssProperties": [],
7063
+ "cssStates": [],
6958
7064
  "events": [],
6959
7065
  "members": [
6960
7066
  {
@@ -7068,6 +7174,7 @@
7068
7174
  }
7069
7175
  ],
7070
7176
  "cssProperties": [],
7177
+ "cssStates": [],
7071
7178
  "events": [
7072
7179
  {
7073
7180
  "name": "changeValue",
@@ -7223,6 +7330,14 @@
7223
7330
  "csc": {
7224
7331
  "typeAlias": "CPlacement"
7225
7332
  }
7333
+ },
7334
+ {
7335
+ "fieldName": "trigger",
7336
+ "name": "trigger",
7337
+ "description": "Designated trigger: an element elsewhere in the document that opens the\npopover — its document ID, or the element itself. The same trigger\nconcept as the `trigger` slot, supplied by reference: the popover wires\nclick-to-toggle, ARIA and focus return onto it and anchors the panel to\nit. When both routes are supplied, this prop wins over the slot.",
7338
+ "type": {
7339
+ "text": "HTMLElement | string"
7340
+ }
7226
7341
  }
7227
7342
  ],
7228
7343
  "cssParts": [
@@ -7240,6 +7355,7 @@
7240
7355
  }
7241
7356
  ],
7242
7357
  "cssProperties": [],
7358
+ "cssStates": [],
7243
7359
  "events": [
7244
7360
  {
7245
7361
  "name": "change:open",
@@ -7295,6 +7411,15 @@
7295
7411
  "csc": {
7296
7412
  "typeAlias": "CPlacement"
7297
7413
  }
7414
+ },
7415
+ {
7416
+ "kind": "field",
7417
+ "name": "trigger",
7418
+ "privacy": "public",
7419
+ "description": "Designated trigger: an element elsewhere in the document that opens the\npopover — its document ID, or the element itself. The same trigger\nconcept as the `trigger` slot, supplied by reference: the popover wires\nclick-to-toggle, ARIA and focus return onto it and anchors the panel to\nit. When both routes are supplied, this prop wins over the slot.",
7420
+ "type": {
7421
+ "text": "HTMLElement | string"
7422
+ }
7298
7423
  }
7299
7424
  ],
7300
7425
  "slots": [
@@ -7406,6 +7531,7 @@
7406
7531
  }
7407
7532
  ],
7408
7533
  "cssProperties": [],
7534
+ "cssStates": [],
7409
7535
  "events": [],
7410
7536
  "members": [
7411
7537
  {
@@ -7545,6 +7671,7 @@
7545
7671
  }
7546
7672
  ],
7547
7673
  "cssProperties": [],
7674
+ "cssStates": [],
7548
7675
  "events": [],
7549
7676
  "members": [
7550
7677
  {
@@ -7648,7 +7775,7 @@
7648
7775
  },
7649
7776
  {
7650
7777
  "name": "indicator",
7651
- "description": "The circular ripple surface holding the radio ring and dot"
7778
+ "description": "The radio ring itself; the selection dot is its `::after` and the keyboard focus ring its `::before` — all three follow `currentColor`, so `color` recolours the whole indicator, focus ring included"
7652
7779
  },
7653
7780
  {
7654
7781
  "name": "content",
@@ -7656,6 +7783,16 @@
7656
7783
  }
7657
7784
  ],
7658
7785
  "cssProperties": [],
7786
+ "cssStates": [
7787
+ {
7788
+ "name": "checked",
7789
+ "description": "Present while the radio is the selected option (standalone or group-driven)"
7790
+ },
7791
+ {
7792
+ "name": "disabled",
7793
+ "description": "Present while the radio is disabled, by its own prop or by its group"
7794
+ }
7795
+ ],
7659
7796
  "events": [
7660
7797
  {
7661
7798
  "name": "change",
@@ -7844,6 +7981,7 @@
7844
7981
  }
7845
7982
  ],
7846
7983
  "cssProperties": [],
7984
+ "cssStates": [],
7847
7985
  "events": [
7848
7986
  {
7849
7987
  "name": "changeValue",
@@ -8222,6 +8360,7 @@
8222
8360
  }
8223
8361
  ],
8224
8362
  "cssProperties": [],
8363
+ "cssStates": [],
8225
8364
  "events": [
8226
8365
  {
8227
8366
  "name": "changeValue",
@@ -8559,6 +8698,7 @@
8559
8698
  }
8560
8699
  ],
8561
8700
  "cssProperties": [],
8701
+ "cssStates": [],
8562
8702
  "events": [
8563
8703
  {
8564
8704
  "name": "change:menu-visible",
@@ -8708,6 +8848,7 @@
8708
8848
  }
8709
8849
  ],
8710
8850
  "cssProperties": [],
8851
+ "cssStates": [],
8711
8852
  "events": [
8712
8853
  {
8713
8854
  "name": "itemChange",
@@ -8831,6 +8972,7 @@
8831
8972
  }
8832
8973
  ],
8833
8974
  "cssProperties": [],
8975
+ "cssStates": [],
8834
8976
  "events": [],
8835
8977
  "members": [],
8836
8978
  "slots": [
@@ -9027,6 +9169,7 @@
9027
9169
  }
9028
9170
  ],
9029
9171
  "cssProperties": [],
9172
+ "cssStates": [],
9030
9173
  "events": [
9031
9174
  {
9032
9175
  "name": "changeValue",
@@ -9281,6 +9424,7 @@
9281
9424
  }
9282
9425
  ],
9283
9426
  "cssProperties": [],
9427
+ "cssStates": [],
9284
9428
  "events": [],
9285
9429
  "members": [
9286
9430
  {
@@ -9368,6 +9512,7 @@
9368
9512
  }
9369
9513
  ],
9370
9514
  "cssProperties": [],
9515
+ "cssStates": [],
9371
9516
  "events": [],
9372
9517
  "members": [
9373
9518
  {
@@ -9462,6 +9607,7 @@
9462
9607
  }
9463
9608
  ],
9464
9609
  "cssProperties": [],
9610
+ "cssStates": [],
9465
9611
  "events": [],
9466
9612
  "members": [
9467
9613
  {
@@ -9548,6 +9694,7 @@
9548
9694
  }
9549
9695
  ],
9550
9696
  "cssProperties": [],
9697
+ "cssStates": [],
9551
9698
  "events": [],
9552
9699
  "members": [
9553
9700
  {
@@ -9661,6 +9808,7 @@
9661
9808
  }
9662
9809
  ],
9663
9810
  "cssProperties": [],
9811
+ "cssStates": [],
9664
9812
  "events": [],
9665
9813
  "members": [
9666
9814
  {
@@ -9756,6 +9904,10 @@
9756
9904
  "kind": "class",
9757
9905
  "name": "CSwitch",
9758
9906
  "tagName": "c-switch",
9907
+ "description": "A toggle for a binary setting that takes effect immediately: a native switch control with a label, an optional hint, and validation messaging.",
9908
+ "csc": {
9909
+ "usage": "docs/c-switch/usage.md"
9910
+ },
9759
9911
  "attributes": [
9760
9912
  {
9761
9913
  "fieldName": "checked",
@@ -9860,6 +10012,12 @@
9860
10012
  }
9861
10013
  ],
9862
10014
  "cssProperties": [],
10015
+ "cssStates": [
10016
+ {
10017
+ "name": "checked",
10018
+ "description": "Present while the switch is on"
10019
+ }
10020
+ ],
9863
10021
  "events": [
9864
10022
  {
9865
10023
  "name": "change",
@@ -10087,6 +10245,7 @@
10087
10245
  }
10088
10246
  ],
10089
10247
  "cssProperties": [],
10248
+ "cssStates": [],
10090
10249
  "events": [
10091
10250
  {
10092
10251
  "name": "tabChange",
@@ -10248,6 +10407,7 @@
10248
10407
  }
10249
10408
  ],
10250
10409
  "cssProperties": [],
10410
+ "cssStates": [],
10251
10411
  "events": [
10252
10412
  {
10253
10413
  "name": "tabChange",
@@ -10355,6 +10515,7 @@
10355
10515
  }
10356
10516
  ],
10357
10517
  "cssProperties": [],
10518
+ "cssStates": [],
10358
10519
  "events": [
10359
10520
  {
10360
10521
  "name": "contentChange",
@@ -10449,6 +10610,7 @@
10449
10610
  }
10450
10611
  ],
10451
10612
  "cssProperties": [],
10613
+ "cssStates": [],
10452
10614
  "events": [],
10453
10615
  "members": [
10454
10616
  {
@@ -10508,6 +10670,10 @@
10508
10670
  "kind": "class",
10509
10671
  "name": "CTable",
10510
10672
  "tagName": "c-table",
10673
+ "description": "A styled wrapper for a table you author yourself: slot in a plain `<table>` and c-table gives it the CSC look plus an optional responsive card layout on narrow screens. The table stays in your own DOM — your stylesheets, your framework's rendering, and `::part()` selectors on components nested in cells (a `c-tag` status chip, a `c-pagination` footer) all keep working.",
10674
+ "csc": {
10675
+ "usage": "docs/c-table/usage.md"
10676
+ },
10511
10677
  "attributes": [
10512
10678
  {
10513
10679
  "fieldName": "mobileBreakpoint",
@@ -10530,6 +10696,7 @@
10530
10696
  ],
10531
10697
  "cssParts": [],
10532
10698
  "cssProperties": [],
10699
+ "cssStates": [],
10533
10700
  "events": [],
10534
10701
  "members": [
10535
10702
  {
@@ -10553,7 +10720,12 @@
10553
10720
  "default": "false"
10554
10721
  }
10555
10722
  ],
10556
- "slots": []
10723
+ "slots": [
10724
+ {
10725
+ "name": "default",
10726
+ "description": "The consumer-authored `<table>` element"
10727
+ }
10728
+ ]
10557
10729
  }
10558
10730
  ],
10559
10731
  "exports": [
@@ -10666,6 +10838,7 @@
10666
10838
  }
10667
10839
  ],
10668
10840
  "cssProperties": [],
10841
+ "cssStates": [],
10669
10842
  "events": [
10670
10843
  {
10671
10844
  "name": "changeValue",
@@ -10851,6 +11024,7 @@
10851
11024
  }
10852
11025
  ],
10853
11026
  "cssProperties": [],
11027
+ "cssStates": [],
10854
11028
  "events": [
10855
11029
  {
10856
11030
  "name": "close",
@@ -11006,6 +11180,7 @@
11006
11180
  }
11007
11181
  ],
11008
11182
  "cssProperties": [],
11183
+ "cssStates": [],
11009
11184
  "events": [],
11010
11185
  "members": [
11011
11186
  {
@@ -11332,6 +11507,7 @@
11332
11507
  ],
11333
11508
  "cssParts": [],
11334
11509
  "cssProperties": [],
11510
+ "cssStates": [],
11335
11511
  "events": [
11336
11512
  {
11337
11513
  "name": "change",
@@ -11721,6 +11897,7 @@
11721
11897
  }
11722
11898
  ],
11723
11899
  "cssProperties": [],
11900
+ "cssStates": [],
11724
11901
  "events": [
11725
11902
  {
11726
11903
  "name": "close",
@@ -11832,6 +12009,7 @@
11832
12009
  }
11833
12010
  ],
11834
12011
  "cssProperties": [],
12012
+ "cssStates": [],
11835
12013
  "events": [],
11836
12014
  "members": [
11837
12015
  {
@@ -11933,6 +12111,7 @@
11933
12111
  }
11934
12112
  ],
11935
12113
  "cssProperties": [],
12114
+ "cssStates": [],
11936
12115
  "events": [],
11937
12116
  "members": [],
11938
12117
  "slots": [
@@ -12026,6 +12205,14 @@
12026
12205
  "csc": {
12027
12206
  "freeform": true
12028
12207
  }
12208
+ },
12209
+ {
12210
+ "fieldName": "trigger",
12211
+ "name": "trigger",
12212
+ "description": "Designated trigger: an element elsewhere in the document that the\ntooltip describes — its document ID, or the element itself. The same\ntrigger concept as the `trigger` slot, supplied by reference: the\ntooltip wires hover/focus, mirrors `aria-description` onto it and\nanchors the bubble to it. When both routes are supplied, this prop wins\nover the slot.",
12213
+ "type": {
12214
+ "text": "HTMLElement | string"
12215
+ }
12029
12216
  }
12030
12217
  ],
12031
12218
  "cssParts": [
@@ -12039,6 +12226,7 @@
12039
12226
  }
12040
12227
  ],
12041
12228
  "cssProperties": [],
12229
+ "cssStates": [],
12042
12230
  "events": [
12043
12231
  {
12044
12232
  "name": "change:open",
@@ -12104,6 +12292,15 @@
12104
12292
  "csc": {
12105
12293
  "freeform": true
12106
12294
  }
12295
+ },
12296
+ {
12297
+ "kind": "field",
12298
+ "name": "trigger",
12299
+ "privacy": "public",
12300
+ "description": "Designated trigger: an element elsewhere in the document that the\ntooltip describes — its document ID, or the element itself. The same\ntrigger concept as the `trigger` slot, supplied by reference: the\ntooltip wires hover/focus, mirrors `aria-description` onto it and\nanchors the bubble to it. When both routes are supplied, this prop wins\nover the slot.",
12301
+ "type": {
12302
+ "text": "HTMLElement | string"
12303
+ }
12107
12304
  }
12108
12305
  ],
12109
12306
  "slots": [