@cscfi/csc-ui 4.0.0-alpha.4 → 4.0.0-alpha.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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",
@@ -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"
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
  {
@@ -5769,6 +5848,7 @@
5769
5848
  }
5770
5849
  ],
5771
5850
  "cssProperties": [],
5851
+ "cssStates": [],
5772
5852
  "events": [
5773
5853
  {
5774
5854
  "name": "change:open",
@@ -5954,6 +6034,7 @@
5954
6034
  }
5955
6035
  ],
5956
6036
  "cssProperties": [],
6037
+ "cssStates": [],
5957
6038
  "events": [],
5958
6039
  "members": [
5959
6040
  {
@@ -6092,6 +6173,7 @@
6092
6173
  }
6093
6174
  ],
6094
6175
  "cssProperties": [],
6176
+ "cssStates": [],
6095
6177
  "events": [],
6096
6178
  "members": [],
6097
6179
  "slots": [
@@ -6184,6 +6266,7 @@
6184
6266
  }
6185
6267
  ],
6186
6268
  "cssProperties": [],
6269
+ "cssStates": [],
6187
6270
  "events": [],
6188
6271
  "members": [
6189
6272
  {
@@ -6320,6 +6403,7 @@
6320
6403
  }
6321
6404
  ],
6322
6405
  "cssProperties": [],
6406
+ "cssStates": [],
6323
6407
  "events": [
6324
6408
  {
6325
6409
  "name": "changeValue",
@@ -6429,6 +6513,7 @@
6429
6513
  }
6430
6514
  ],
6431
6515
  "cssProperties": [],
6516
+ "cssStates": [],
6432
6517
  "events": [],
6433
6518
  "members": [],
6434
6519
  "slots": []
@@ -6503,6 +6588,7 @@
6503
6588
  ],
6504
6589
  "cssParts": [],
6505
6590
  "cssProperties": [],
6591
+ "cssStates": [],
6506
6592
  "events": [],
6507
6593
  "members": [
6508
6594
  {
@@ -6586,6 +6672,7 @@
6586
6672
  "attributes": [],
6587
6673
  "cssParts": [],
6588
6674
  "cssProperties": [],
6675
+ "cssStates": [],
6589
6676
  "events": [],
6590
6677
  "members": [],
6591
6678
  "slots": [
@@ -6750,6 +6837,7 @@
6750
6837
  }
6751
6838
  ],
6752
6839
  "cssProperties": [],
6840
+ "cssStates": [],
6753
6841
  "events": [
6754
6842
  {
6755
6843
  "name": "changeValue",
@@ -6955,6 +7043,7 @@
6955
7043
  }
6956
7044
  ],
6957
7045
  "cssProperties": [],
7046
+ "cssStates": [],
6958
7047
  "events": [],
6959
7048
  "members": [
6960
7049
  {
@@ -7068,6 +7157,7 @@
7068
7157
  }
7069
7158
  ],
7070
7159
  "cssProperties": [],
7160
+ "cssStates": [],
7071
7161
  "events": [
7072
7162
  {
7073
7163
  "name": "changeValue",
@@ -7240,6 +7330,7 @@
7240
7330
  }
7241
7331
  ],
7242
7332
  "cssProperties": [],
7333
+ "cssStates": [],
7243
7334
  "events": [
7244
7335
  {
7245
7336
  "name": "change:open",
@@ -7337,6 +7428,10 @@
7337
7428
  "kind": "class",
7338
7429
  "name": "CProgressBar",
7339
7430
  "tagName": "c-progress-bar",
7431
+ "description": "A horizontal progress bar that fills a track to a known completion percentage, with an optional details line showing the value and a label.",
7432
+ "csc": {
7433
+ "usage": "docs/c-progress-bar/usage.md"
7434
+ },
7340
7435
  "attributes": [
7341
7436
  {
7342
7437
  "fieldName": "hideDetails",
@@ -7402,6 +7497,7 @@
7402
7497
  }
7403
7498
  ],
7404
7499
  "cssProperties": [],
7500
+ "cssStates": [],
7405
7501
  "events": [],
7406
7502
  "members": [
7407
7503
  {
@@ -7482,6 +7578,128 @@
7482
7578
  "kind": "javascript-module",
7483
7579
  "path": "src/components/c-progress-bar/CProgressBar.vue"
7484
7580
  },
7581
+ {
7582
+ "declarations": [
7583
+ {
7584
+ "customElement": true,
7585
+ "kind": "class",
7586
+ "name": "CProgressCircle",
7587
+ "tagName": "c-progress-circle",
7588
+ "description": "A circular progress indicator that draws a known completion percentage as an arc around a track — the circular counterpart of `c-progress-bar`.",
7589
+ "csc": {
7590
+ "usage": "docs/c-progress-circle/usage.md"
7591
+ },
7592
+ "attributes": [
7593
+ {
7594
+ "fieldName": "size",
7595
+ "name": "size",
7596
+ "description": "Diameter of the circle in pixels",
7597
+ "type": {
7598
+ "text": "number"
7599
+ },
7600
+ "default": "32"
7601
+ },
7602
+ {
7603
+ "fieldName": "value",
7604
+ "name": "value",
7605
+ "description": "Progress value in percentage (0 to 100)",
7606
+ "type": {
7607
+ "text": "number"
7608
+ },
7609
+ "default": "0"
7610
+ },
7611
+ {
7612
+ "fieldName": "width",
7613
+ "name": "width",
7614
+ "description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
7615
+ "type": {
7616
+ "text": "number"
7617
+ },
7618
+ "default": "6"
7619
+ }
7620
+ ],
7621
+ "cssParts": [
7622
+ {
7623
+ "name": "root",
7624
+ "description": "The wrapper around the ring and the centered content"
7625
+ },
7626
+ {
7627
+ "name": "track",
7628
+ "description": "The background ring (SVG circle)"
7629
+ },
7630
+ {
7631
+ "name": "bar",
7632
+ "description": "The value arc (SVG circle)"
7633
+ },
7634
+ {
7635
+ "name": "content",
7636
+ "description": "The centered slot-content wrapper"
7637
+ }
7638
+ ],
7639
+ "cssProperties": [],
7640
+ "cssStates": [],
7641
+ "events": [],
7642
+ "members": [
7643
+ {
7644
+ "kind": "field",
7645
+ "name": "size",
7646
+ "privacy": "public",
7647
+ "description": "Diameter of the circle in pixels",
7648
+ "type": {
7649
+ "text": "number"
7650
+ },
7651
+ "default": "32"
7652
+ },
7653
+ {
7654
+ "kind": "field",
7655
+ "name": "value",
7656
+ "privacy": "public",
7657
+ "description": "Progress value in percentage (0 to 100)",
7658
+ "type": {
7659
+ "text": "number"
7660
+ },
7661
+ "default": "0"
7662
+ },
7663
+ {
7664
+ "kind": "field",
7665
+ "name": "width",
7666
+ "privacy": "public",
7667
+ "description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
7668
+ "type": {
7669
+ "text": "number"
7670
+ },
7671
+ "default": "6"
7672
+ }
7673
+ ],
7674
+ "slots": [
7675
+ {
7676
+ "name": "default",
7677
+ "description": "Optional content centered inside the circle, e.g. '57%' or an icon"
7678
+ }
7679
+ ]
7680
+ }
7681
+ ],
7682
+ "exports": [
7683
+ {
7684
+ "declaration": {
7685
+ "module": "src/components/c-progress-circle/CProgressCircle.vue",
7686
+ "name": "CProgressCircle"
7687
+ },
7688
+ "kind": "js",
7689
+ "name": "CProgressCircle"
7690
+ },
7691
+ {
7692
+ "declaration": {
7693
+ "module": "src/components/c-progress-circle/CProgressCircle.vue",
7694
+ "name": "CProgressCircle"
7695
+ },
7696
+ "kind": "custom-element-definition",
7697
+ "name": "c-progress-circle"
7698
+ }
7699
+ ],
7700
+ "kind": "javascript-module",
7701
+ "path": "src/components/c-progress-circle/CProgressCircle.vue"
7702
+ },
7485
7703
  {
7486
7704
  "declarations": [
7487
7705
  {
@@ -7523,7 +7741,7 @@
7523
7741
  },
7524
7742
  {
7525
7743
  "name": "indicator",
7526
- "description": "The circular ripple surface holding the radio ring and dot"
7744
+ "description": "The radio ring itself; the selection dot is its `::after` — both follow `currentColor`, so `color` recolours the whole indicator"
7527
7745
  },
7528
7746
  {
7529
7747
  "name": "content",
@@ -7531,6 +7749,16 @@
7531
7749
  }
7532
7750
  ],
7533
7751
  "cssProperties": [],
7752
+ "cssStates": [
7753
+ {
7754
+ "name": "checked",
7755
+ "description": "Present while the radio is the selected option (standalone or group-driven)"
7756
+ },
7757
+ {
7758
+ "name": "disabled",
7759
+ "description": "Present while the radio is disabled, by its own prop or by its group"
7760
+ }
7761
+ ],
7534
7762
  "events": [
7535
7763
  {
7536
7764
  "name": "change",
@@ -7719,6 +7947,7 @@
7719
7947
  }
7720
7948
  ],
7721
7949
  "cssProperties": [],
7950
+ "cssStates": [],
7722
7951
  "events": [
7723
7952
  {
7724
7953
  "name": "changeValue",
@@ -8097,6 +8326,7 @@
8097
8326
  }
8098
8327
  ],
8099
8328
  "cssProperties": [],
8329
+ "cssStates": [],
8100
8330
  "events": [
8101
8331
  {
8102
8332
  "name": "changeValue",
@@ -8434,6 +8664,7 @@
8434
8664
  }
8435
8665
  ],
8436
8666
  "cssProperties": [],
8667
+ "cssStates": [],
8437
8668
  "events": [
8438
8669
  {
8439
8670
  "name": "change:menu-visible",
@@ -8583,6 +8814,7 @@
8583
8814
  }
8584
8815
  ],
8585
8816
  "cssProperties": [],
8817
+ "cssStates": [],
8586
8818
  "events": [
8587
8819
  {
8588
8820
  "name": "itemChange",
@@ -8706,6 +8938,7 @@
8706
8938
  }
8707
8939
  ],
8708
8940
  "cssProperties": [],
8941
+ "cssStates": [],
8709
8942
  "events": [],
8710
8943
  "members": [],
8711
8944
  "slots": [
@@ -8902,6 +9135,7 @@
8902
9135
  }
8903
9136
  ],
8904
9137
  "cssProperties": [],
9138
+ "cssStates": [],
8905
9139
  "events": [
8906
9140
  {
8907
9141
  "name": "changeValue",
@@ -9113,6 +9347,10 @@
9113
9347
  "kind": "class",
9114
9348
  "name": "CSpinner",
9115
9349
  "tagName": "c-spinner",
9350
+ "description": "A circular indeterminate activity indicator — pure motion with no value, for waits of unknown duration.",
9351
+ "csc": {
9352
+ "usage": "docs/c-spinner/usage.md"
9353
+ },
9116
9354
  "attributes": [
9117
9355
  {
9118
9356
  "fieldName": "color",
@@ -9152,6 +9390,7 @@
9152
9390
  }
9153
9391
  ],
9154
9392
  "cssProperties": [],
9393
+ "cssStates": [],
9155
9394
  "events": [],
9156
9395
  "members": [
9157
9396
  {
@@ -9239,6 +9478,7 @@
9239
9478
  }
9240
9479
  ],
9241
9480
  "cssProperties": [],
9481
+ "cssStates": [],
9242
9482
  "events": [],
9243
9483
  "members": [
9244
9484
  {
@@ -9333,6 +9573,7 @@
9333
9573
  }
9334
9574
  ],
9335
9575
  "cssProperties": [],
9576
+ "cssStates": [],
9336
9577
  "events": [],
9337
9578
  "members": [
9338
9579
  {
@@ -9419,6 +9660,7 @@
9419
9660
  }
9420
9661
  ],
9421
9662
  "cssProperties": [],
9663
+ "cssStates": [],
9422
9664
  "events": [],
9423
9665
  "members": [
9424
9666
  {
@@ -9532,6 +9774,7 @@
9532
9774
  }
9533
9775
  ],
9534
9776
  "cssProperties": [],
9777
+ "cssStates": [],
9535
9778
  "events": [],
9536
9779
  "members": [
9537
9780
  {
@@ -9627,6 +9870,10 @@
9627
9870
  "kind": "class",
9628
9871
  "name": "CSwitch",
9629
9872
  "tagName": "c-switch",
9873
+ "description": "A toggle for a binary setting that takes effect immediately: a native switch control with a label, an optional hint, and validation messaging.",
9874
+ "csc": {
9875
+ "usage": "docs/c-switch/usage.md"
9876
+ },
9630
9877
  "attributes": [
9631
9878
  {
9632
9879
  "fieldName": "checked",
@@ -9731,6 +9978,12 @@
9731
9978
  }
9732
9979
  ],
9733
9980
  "cssProperties": [],
9981
+ "cssStates": [
9982
+ {
9983
+ "name": "checked",
9984
+ "description": "Present while the switch is on"
9985
+ }
9986
+ ],
9734
9987
  "events": [
9735
9988
  {
9736
9989
  "name": "change",
@@ -9958,6 +10211,7 @@
9958
10211
  }
9959
10212
  ],
9960
10213
  "cssProperties": [],
10214
+ "cssStates": [],
9961
10215
  "events": [
9962
10216
  {
9963
10217
  "name": "tabChange",
@@ -10119,6 +10373,7 @@
10119
10373
  }
10120
10374
  ],
10121
10375
  "cssProperties": [],
10376
+ "cssStates": [],
10122
10377
  "events": [
10123
10378
  {
10124
10379
  "name": "tabChange",
@@ -10226,6 +10481,7 @@
10226
10481
  }
10227
10482
  ],
10228
10483
  "cssProperties": [],
10484
+ "cssStates": [],
10229
10485
  "events": [
10230
10486
  {
10231
10487
  "name": "contentChange",
@@ -10320,6 +10576,7 @@
10320
10576
  }
10321
10577
  ],
10322
10578
  "cssProperties": [],
10579
+ "cssStates": [],
10323
10580
  "events": [],
10324
10581
  "members": [
10325
10582
  {
@@ -10379,6 +10636,10 @@
10379
10636
  "kind": "class",
10380
10637
  "name": "CTable",
10381
10638
  "tagName": "c-table",
10639
+ "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.",
10640
+ "csc": {
10641
+ "usage": "docs/c-table/usage.md"
10642
+ },
10382
10643
  "attributes": [
10383
10644
  {
10384
10645
  "fieldName": "mobileBreakpoint",
@@ -10401,6 +10662,7 @@
10401
10662
  ],
10402
10663
  "cssParts": [],
10403
10664
  "cssProperties": [],
10665
+ "cssStates": [],
10404
10666
  "events": [],
10405
10667
  "members": [
10406
10668
  {
@@ -10424,7 +10686,12 @@
10424
10686
  "default": "false"
10425
10687
  }
10426
10688
  ],
10427
- "slots": []
10689
+ "slots": [
10690
+ {
10691
+ "name": "default",
10692
+ "description": "The consumer-authored `<table>` element"
10693
+ }
10694
+ ]
10428
10695
  }
10429
10696
  ],
10430
10697
  "exports": [
@@ -10537,6 +10804,7 @@
10537
10804
  }
10538
10805
  ],
10539
10806
  "cssProperties": [],
10807
+ "cssStates": [],
10540
10808
  "events": [
10541
10809
  {
10542
10810
  "name": "changeValue",
@@ -10722,6 +10990,7 @@
10722
10990
  }
10723
10991
  ],
10724
10992
  "cssProperties": [],
10993
+ "cssStates": [],
10725
10994
  "events": [
10726
10995
  {
10727
10996
  "name": "close",
@@ -10877,6 +11146,7 @@
10877
11146
  }
10878
11147
  ],
10879
11148
  "cssProperties": [],
11149
+ "cssStates": [],
10880
11150
  "events": [],
10881
11151
  "members": [
10882
11152
  {
@@ -11203,6 +11473,7 @@
11203
11473
  ],
11204
11474
  "cssParts": [],
11205
11475
  "cssProperties": [],
11476
+ "cssStates": [],
11206
11477
  "events": [
11207
11478
  {
11208
11479
  "name": "change",
@@ -11592,6 +11863,7 @@
11592
11863
  }
11593
11864
  ],
11594
11865
  "cssProperties": [],
11866
+ "cssStates": [],
11595
11867
  "events": [
11596
11868
  {
11597
11869
  "name": "close",
@@ -11703,6 +11975,7 @@
11703
11975
  }
11704
11976
  ],
11705
11977
  "cssProperties": [],
11978
+ "cssStates": [],
11706
11979
  "events": [],
11707
11980
  "members": [
11708
11981
  {
@@ -11804,6 +12077,7 @@
11804
12077
  }
11805
12078
  ],
11806
12079
  "cssProperties": [],
12080
+ "cssStates": [],
11807
12081
  "events": [],
11808
12082
  "members": [],
11809
12083
  "slots": [
@@ -11910,6 +12184,7 @@
11910
12184
  }
11911
12185
  ],
11912
12186
  "cssProperties": [],
12187
+ "cssStates": [],
11913
12188
  "events": [
11914
12189
  {
11915
12190
  "name": "change:open",