@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.
@@ -0,0 +1,24 @@
1
+ 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.
2
+
3
+ Give the alert a `heading` with the prop for plain text; the `heading` slot overrides the prop when rich content (links, emphasis) is needed. The message goes in the default slot.
4
+
5
+ ## When to use
6
+
7
+ - Persistent status that belongs to the page or a section: a maintenance notice, a failed validation summary, a quota warning.
8
+ - Not for transient feedback on an action — use `c-toasts`, which overlays and dismisses itself; the alert stays in the layout until the consumer removes it.
9
+
10
+ ## Types
11
+
12
+ The four status types (`error`, `info`, `success`, `warning`) carry their status family's colours and icon; `default` — equivalently, omitting the attribute — renders the brand-primary look. Severity is signalled by the icon, the heading's ink and the accent edge, never by colouring the body text.
13
+
14
+ ## Dismissal
15
+
16
+ `dismissible` renders a dismiss button, but pressing it only emits the `dismiss` event — removing the alert from the page stays the consumer's job.
17
+
18
+ ## Accessibility
19
+
20
+ The alert manages its own live-region role: `warning` and `error` interrupt (`role="alert"`), while the other types announce politely (`role="status"`). Content that is present at page load is not announced — live regions only announce changes.
21
+
22
+ ## Customization
23
+
24
+ Structural styling via `::part(root)`, `::part(icon)`, `::part(content)`, `::part(heading)` and `::part(dismiss)`. Colours come from the status-family semantic tokens; override the tokens to re-theme.
@@ -0,0 +1,50 @@
1
+ A form control for a single on/off choice: a native checkbox with a label,
2
+ an optional hint, and validation messaging.
3
+
4
+ Bind the state with a plain `v-model` (or the `checked` prop); `true-value` /
5
+ `false-value` map the checked state onto custom values. Set `indeterminate`
6
+ for the mixed "some but not all" state of a parent checkbox.
7
+
8
+ ```html
9
+ <c-checkbox v-model="accepted" label="I accept the terms" />
10
+ ```
11
+
12
+ Set `hint` for a persistent helper line below the control; while `valid` is
13
+ `false`, `error-message` replaces it. `hide-details` removes the message area
14
+ entirely.
15
+
16
+ ## When to use
17
+
18
+ - A single independent yes/no choice (consent, feature toggle in a form).
19
+ - A list where several options can be selected at once.
20
+
21
+ ## When not to use
22
+
23
+ - Choosing exactly one of several options — use `c-radio-group`.
24
+ - Switching a setting that takes effect immediately — use `c-switch`.
25
+
26
+ ## Customization
27
+
28
+ Restyle via CSS parts from your own stylesheet. The `indicator` part is the
29
+ checkbox box and `mark` is the check glyph inside it; the host exposes the
30
+ `checked` and `indeterminate` custom states, so the box is stylable per
31
+ state:
32
+
33
+ ```css
34
+ c-checkbox:state(checked)::part(indicator) {
35
+ background: var(--my-green);
36
+ border-color: var(--my-green);
37
+ }
38
+
39
+ c-checkbox:not(:state(checked))::part(indicator) {
40
+ border-color: gray;
41
+ }
42
+
43
+ /* The mark draws with currentColor — recolour it via `color`. */
44
+ c-checkbox:state(checked)::part(mark) {
45
+ color: black;
46
+ }
47
+ ```
48
+
49
+ For app-wide recolouring prefer the design tokens (`--c-primary` seed) over
50
+ per-component rules.
@@ -1,7 +1,5 @@
1
1
  A click-opened, non-modal surface anchored to its trigger, floating in the top layer; its content may be interactive.
2
2
 
3
- ## Usage
4
-
5
3
  Put the element that opens the popover in the `trigger` slot and the content in the default slot. An optional `heading` prop renders a heading and doubles as the panel's accessible name (it is not called `title` — a `title` attribute would trigger the browser's native tooltip). The popover is deliberately minimal: compose footers, actions, or a close button from existing components (e.g. `c-button`) inside the body.
6
4
 
7
5
  ## When to use
@@ -0,0 +1,23 @@
1
+ A horizontal progress bar that fills a track to a known completion percentage, with an optional details line showing the value and a label.
2
+
3
+ Bind the completion percentage to `value` (0–100; out-of-range values are clamped for the fill). By default a details line renders below the bar — the percentage plus whatever the `label` prop supplies (e.g. "57 % Uploading files"). Hide it with `hide-details`, or place it beside the bar with `single-line`.
4
+
5
+ For work of unknown duration the `indeterminate` prop replaces the fill with a looping sweep and hides the details line.
6
+
7
+ ## When to use
8
+
9
+ - For progress whose completion percentage is known — uploads, batch jobs, multi-step processing — or, with `indeterminate`, for an unknown-duration wait that should still read as a full-width bar.
10
+ - When space is tight or each item in a set needs its own compact indicator, `c-progress-circle` is the circular determinate counterpart.
11
+ - For a plain inline activity indicator use `c-spinner`; to cover a whole region while it loads, use `c-loader`.
12
+
13
+ ## Details line
14
+
15
+ The details line shows the raw `value` even when the fill clamps it, and a negative value renders the line in the error role — a hook for signalling a failed transfer while keeping the bar itself empty.
16
+
17
+ ## Accessibility
18
+
19
+ The bar is a native `<progress>` element exposing `role="progressbar"` with `aria-valuenow` while determinate; in indeterminate mode no value is exposed. The host mirrors `aria-busy` (true while indeterminate) and a `title` tooltip with the current percentage.
20
+
21
+ ## Customization
22
+
23
+ Restyle via the parts: `::part(root)` (the outer wrapper), `::part(bar)` (the visible track around the native `<progress>`), and `::part(details)` (the percentage/label line). Colours default to the primary fill on a muted surface track.
@@ -0,0 +1,25 @@
1
+ A circular progress indicator that draws a known completion percentage as an arc around a track — the circular counterpart of `c-progress-bar`.
2
+
3
+ Bind the completion percentage to `value` (0–100; out-of-range values are clamped). The circle's diameter comes from `size` and the track thickness from `width` — both in pixels, both props rather than styles because the arc geometry is computed from them. The value arc draws at half the track's width, inset within it, mirroring `c-progress-bar`'s fill-inside-track anatomy.
4
+
5
+ Nothing renders in the center by default. To show the percentage (or an icon), slot it in yourself; at the default 32&nbsp;px size, center text is rarely legible, so pair slotted text with a larger `size`.
6
+
7
+ ## When to use
8
+
9
+ - For progress whose completion percentage is known — uploads, batch jobs, quota consumption.
10
+ - **Not for unknown-duration waiting**: `c-progress-circle` is determinate-only and has no indeterminate mode. Use `c-spinner` for pure activity indication, or `c-loader` to cover a whole region while it loads.
11
+ - When vertical space is tight or many items each need their own compact indicator; otherwise `c-progress-bar` with its built-in details line is usually the better default.
12
+
13
+ ## Accessibility
14
+
15
+ The component exposes `role="progressbar"` with `aria-valuemin`/`aria-valuemax`/`aria-valuenow`, so assistive technology always gets the value even when the center is empty. Name the progressbar by setting `aria-label` on the element:
16
+
17
+ ```html
18
+ <c-progress-circle aria-label="Upload progress" value="72"></c-progress-circle>
19
+ ```
20
+
21
+ Slotted center content is presentational to assistive technology (the value is announced from `aria-valuenow`), so duplicating the percentage as slotted text is fine.
22
+
23
+ ## Customization
24
+
25
+ Restyle via the parts: `::part(track)` and `::part(bar)` accept any stroke colour (the defaults are the muted surface track and the primary arc), and `::part(content)` styles the centered slot wrapper. Keep stroke *width* on the `width` prop — the radius math depends on it.
@@ -1,8 +1,6 @@
1
1
  A single radio option inside a `c-radio-group`: a native radio input whose
2
2
  default slot is its clickable, announced label.
3
3
 
4
- ## Usage
5
-
6
4
  Author one `c-radio` per option, with a unique `value` and the option's
7
5
  label content in the default slot. Selection state belongs to the group —
8
6
  a radio has no checked prop; set the group's `value` (or `v-model`)
@@ -27,3 +25,20 @@ Outside a group a radio still renders and operates — it can be selected but
27
25
  never unselected, like a native radio without siblings. Grouping behavior
28
26
  (exclusivity, arrow-key navigation, form value) requires the parent
29
27
  `c-radio-group`.
28
+
29
+ ## Customization
30
+
31
+ Restyle via CSS parts from your own stylesheet. The `indicator` part is the
32
+ radio ring; the selection dot is its `::after` pseudo-element. Ring and dot
33
+ both draw with `currentColor`, so `color` recolours the whole indicator. The
34
+ host exposes the `checked` and `disabled` custom states (both also cover
35
+ group-driven selection and disabling):
36
+
37
+ ```css
38
+ c-radio:state(checked)::part(indicator) {
39
+ color: var(--my-green);
40
+ }
41
+ ```
42
+
43
+ For app-wide recolouring prefer the design tokens (`--c-primary` seed) over
44
+ per-component rules.
@@ -0,0 +1,21 @@
1
+ A circular indeterminate activity indicator — pure motion with no value, for waits of unknown duration.
2
+
3
+ Size the spinner with the `size` (diameter) and `width` (stroke) props, both in pixels. It spins forever; there is nothing to bind. If the wait has a known completion percentage, use `c-progress-circle` instead — the boundary is the axis (pure activity vs known value), not the shape.
4
+
5
+ ## When to use
6
+
7
+ - For short, inline unknown-duration waits — inside a button, next to a field, in a table cell.
8
+ - To cover a whole container while it loads, use `c-loader`, which embeds this spinner behind a scrim with an optional message.
9
+ - For known progress, use `c-progress-bar` or `c-progress-circle`.
10
+
11
+ ## Color
12
+
13
+ The stroke defaults to the primary role, so a standalone spinner is brand-coloured in either theme mode. The `color` prop accepts any CSS colour value; pass `currentColor` to make the spinner track the ambient text colour instead — the contract parent components (`c-loader`, `c-switch`) use to tint their embedded spinner.
14
+
15
+ ## Accessibility
16
+
17
+ The spinner is purely visual and exposes nothing to assistive technology. Announce the loading state on the region it describes — `aria-busy` on the updating container, or a live-region message — or use `c-loader`, whose slotted message provides visible and announced context.
18
+
19
+ ## Customization
20
+
21
+ `::part(root)` targets the `<svg>` drawing the circle. Prefer the `size`/`width`/`color` props for geometry and colour — the dash animation is computed from the size.
@@ -0,0 +1,36 @@
1
+ A toggle for a binary setting that takes effect immediately: a native
2
+ switch control with a label, an optional hint, and validation messaging.
3
+
4
+ Bind the state with a plain `v-model` (or the `checked` prop); `true-value` /
5
+ `false-value` map the on/off state onto custom values.
6
+
7
+ ```html
8
+ <c-switch v-model="notifications">Email notifications</c-switch>
9
+ ```
10
+
11
+ ## When to use
12
+
13
+ - Turning a setting or mode on/off with immediate effect (no submit step).
14
+
15
+ ## When not to use
16
+
17
+ - A choice that is collected and submitted with a form — use `c-checkbox`.
18
+
19
+ ## Customization
20
+
21
+ Restyle via CSS parts from your own stylesheet. The `slider` part is the
22
+ toggle track (its `::before` pseudo-element is the handle); the host exposes
23
+ the `checked` custom state, so the track is stylable per state:
24
+
25
+ ```css
26
+ c-switch:state(checked)::part(slider) {
27
+ background: var(--my-green);
28
+ }
29
+
30
+ c-switch:state(checked)::part(slider)::before {
31
+ background: white;
32
+ }
33
+ ```
34
+
35
+ For app-wide recolouring prefer the design tokens (`--c-primary` seed) over
36
+ per-component rules.
@@ -0,0 +1,14 @@
1
+ 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.
2
+
3
+ Write regular, semantic table markup: `<thead>` with `<th>` headers, `<tbody>` rows, optionally a `<tfoot>`. c-table styles it through a scoped stylesheet it installs once per page; it never takes the markup over, so rows added or removed by your framework are picked up automatically.
4
+
5
+ ## Responsive mode
6
+
7
+ With `responsive`, the table collapses into stacked cards when it is narrower than `mobile-breakpoint` (pixels, default 600). Each cell then shows a label cloned from its column header so the card stays readable without the header row.
8
+
9
+ - Rows that should not receive labels (a full-width action row, a `colspan` summary) opt out with a `no-mobile-labels` attribute on the `<tr>`.
10
+ - The labels are real `<span class="c-table__mobile-label">` elements prepended into your cells, so your framework will see them. Label creation is idempotent, but if a keyed re-render replaces the cell elements, call the element's `updateMobileLabels()` method afterwards to restore them.
11
+
12
+ ## Styling
13
+
14
+ Cell content is yours to style: page CSS reaches everything inside the table, including `::part()` on nested components. The table's own defaults are applied at `c-table > table.c-table …` specificity — to override one of them (say, cell padding), match that scope: `c-table table.c-table td { padding: 8px; }`.
@@ -1,7 +1,5 @@
1
1
  A non-interactive text hint shown when its trigger is hovered or keyboard-focused, floating in the top layer on the inverted surface tier.
2
2
 
3
- ## Usage
4
-
5
3
  Put the element the tooltip describes in the `trigger` slot and the hint in the `text` prop. For formatted content, use the `content` slot instead — it overrides the prop but must stay non-interactive: a tooltip is never focusable and can hold no links or buttons. If the content needs to be clicked, use `c-popover`.
6
4
 
7
5
  The tooltip shows after a short hover delay (configurable via the `delay` prop) and immediately on keyboard focus. The trigger must be focusable for keyboard and screen-reader users to reach the hint — a `c-icon-button` or `c-button` qualifies; a bare `<span>` does not.
@@ -35,6 +35,7 @@
35
35
  --color-on-surface-sunken: var(--c-on-surface-sunken);
36
36
  --color-border: var(--c-border);
37
37
  --color-border-strong: var(--c-border-strong);
38
+ --color-divider: var(--c-divider);
38
39
  --color-ring: var(--c-ring);
39
40
 
40
41
  /* Inverted-surface tier (ADR-0032): mode-aware contrast flip — not the
@@ -158,6 +158,7 @@
158
158
  --c-on-surface-sunken: var(--c-primary-700);
159
159
  --c-border: var(--c-tertiary-200);
160
160
  --c-border-strong: var(--c-tertiary-600);
161
+ --c-divider: color-mix(in srgb, var(--c-black) 12%, transparent);
161
162
  --c-ring: var(--c-primary-500);
162
163
  --c-surface-inverted: var(--c-slate-950);
163
164
  --c-on-surface-inverted: var(--c-white);
@@ -252,7 +253,8 @@
252
253
  --c-on-surface-sunken: var(--c-slate-100);
253
254
  --c-border: var(--c-slate-700);
254
255
  --c-border-strong: var(--c-slate-400);
255
- --c-ring: var(--c-accent-400);
256
+ --c-divider: color-mix(in srgb, var(--c-white) 12%, transparent);
257
+ --c-ring: var(--c-primary-300);
256
258
  --c-surface-inverted: var(--c-white);
257
259
  --c-on-surface-inverted: var(--c-slate-900);
258
260
  --c-on-surface-inverted-muted: var(--c-tertiary-600);
@@ -260,12 +262,12 @@
260
262
  --c-info-inverted: var(--c-info-600);
261
263
  --c-warning-inverted: var(--c-warning-600);
262
264
  --c-error-inverted: var(--c-error-600);
263
- --c-primary: var(--c-accent-500);
264
- --c-primary-hover: var(--c-accent-400);
265
+ --c-primary: var(--c-primary-300);
266
+ --c-primary-hover: var(--c-primary-200);
265
267
  --c-on-primary: var(--c-primary-950);
266
268
  --c-primary-subtle: var(--c-primary-800);
267
269
  --c-primary-subtle-hover: var(--c-primary-700);
268
- --c-on-primary-subtle: var(--c-accent-300);
270
+ --c-on-primary-subtle: var(--c-primary-200);
269
271
  --c-secondary: var(--c-secondary-300);
270
272
  --c-secondary-hover: var(--c-secondary-200);
271
273
  --c-on-secondary: var(--c-secondary-900);
@@ -302,8 +304,8 @@
302
304
  --c-error-subtle: var(--c-error-800);
303
305
  --c-error-subtle-hover: var(--c-error-700);
304
306
  --c-on-error-subtle: var(--c-error-200);
305
- --c-link: var(--c-accent-400);
306
- --c-link-hover: var(--c-accent-300);
307
+ --c-link: var(--c-link-200);
308
+ --c-link-hover: var(--c-link-100);
307
309
  --c-on-link: var(--c-link-900);
308
310
  --c-link-subtle: var(--c-link-800);
309
311
  --c-link-subtle-hover: var(--c-link-700);
@@ -347,7 +349,8 @@
347
349
  --c-on-surface-sunken: var(--c-slate-100);
348
350
  --c-border: var(--c-slate-700);
349
351
  --c-border-strong: var(--c-slate-400);
350
- --c-ring: var(--c-accent-400);
352
+ --c-divider: color-mix(in srgb, var(--c-white) 12%, transparent);
353
+ --c-ring: var(--c-primary-300);
351
354
  --c-surface-inverted: var(--c-white);
352
355
  --c-on-surface-inverted: var(--c-slate-900);
353
356
  --c-on-surface-inverted-muted: var(--c-tertiary-600);
@@ -355,12 +358,12 @@
355
358
  --c-info-inverted: var(--c-info-600);
356
359
  --c-warning-inverted: var(--c-warning-600);
357
360
  --c-error-inverted: var(--c-error-600);
358
- --c-primary: var(--c-accent-500);
359
- --c-primary-hover: var(--c-accent-400);
361
+ --c-primary: var(--c-primary-300);
362
+ --c-primary-hover: var(--c-primary-200);
360
363
  --c-on-primary: var(--c-primary-950);
361
364
  --c-primary-subtle: var(--c-primary-800);
362
365
  --c-primary-subtle-hover: var(--c-primary-700);
363
- --c-on-primary-subtle: var(--c-accent-300);
366
+ --c-on-primary-subtle: var(--c-primary-200);
364
367
  --c-secondary: var(--c-secondary-300);
365
368
  --c-secondary-hover: var(--c-secondary-200);
366
369
  --c-on-secondary: var(--c-secondary-900);
@@ -397,8 +400,8 @@
397
400
  --c-error-subtle: var(--c-error-800);
398
401
  --c-error-subtle-hover: var(--c-error-700);
399
402
  --c-on-error-subtle: var(--c-error-200);
400
- --c-link: var(--c-accent-400);
401
- --c-link-hover: var(--c-accent-300);
403
+ --c-link: var(--c-link-200);
404
+ --c-link-hover: var(--c-link-100);
402
405
  --c-on-link: var(--c-link-900);
403
406
  --c-link-subtle: var(--c-link-800);
404
407
  --c-link-subtle-hover: var(--c-link-700);
@@ -476,6 +479,7 @@ c-page:not(:defined),
476
479
  c-pagination:not(:defined),
477
480
  c-popover:not(:defined),
478
481
  c-progress-bar:not(:defined),
482
+ c-progress-circle:not(:defined),
479
483
  c-radio:not(:defined),
480
484
  c-radio-group:not(:defined),
481
485
  c-select:not(:defined),
@@ -36,7 +36,11 @@
36
36
  { "name": "::part(icon)", "description": "The status icon svg" },
37
37
  {
38
38
  "name": "::part(content)",
39
- "description": "The wrapper around the slotted title and message content"
39
+ "description": "The wrapper around the heading and message content"
40
+ },
41
+ {
42
+ "name": "::part(heading)",
43
+ "description": "The heading paragraph rendered from the `heading` prop"
40
44
  },
41
45
  {
42
46
  "name": "::part(dismiss)",
@@ -133,7 +137,11 @@
133
137
  },
134
138
  {
135
139
  "name": "::part(indicator)",
136
- "description": "The circular ripple surface holding the checkbox box and checkmark"
140
+ "description": "The checkbox box itself — the bordered square that fills when checked"
141
+ },
142
+ {
143
+ "name": "::part(mark)",
144
+ "description": "The SVG check / indeterminate glyph revealed inside the indicator; draws with `currentColor`, so `color` recolours it"
137
145
  },
138
146
  {
139
147
  "name": "::part(content)",
@@ -418,13 +426,26 @@
418
426
  "name": "::part(details)",
419
427
  "description": "The percentage and label text line"
420
428
  },
429
+ {
430
+ "name": "::part(root)",
431
+ "description": "The wrapper around the ring and the centered content"
432
+ },
433
+ {
434
+ "name": "::part(track)",
435
+ "description": "The background ring (SVG circle)"
436
+ },
437
+ { "name": "::part(bar)", "description": "The value arc (SVG circle)" },
438
+ {
439
+ "name": "::part(content)",
440
+ "description": "The centered slot-content wrapper"
441
+ },
421
442
  {
422
443
  "name": "::part(root)",
423
444
  "description": "The `<label>` row wrapping the input, indicator and label content"
424
445
  },
425
446
  {
426
447
  "name": "::part(indicator)",
427
- "description": "The circular ripple surface holding the radio ring and dot"
448
+ "description": "The radio ring itself; the selection dot is its `::after` — both follow `currentColor`, so `color` recolours the whole indicator"
428
449
  },
429
450
  {
430
451
  "name": "::part(content)",
@@ -58,13 +58,18 @@
58
58
  },
59
59
  {
60
60
  "name": "c-alert",
61
- "description": "\n---\n\n\n### **Events:**\n - **dismiss** - Fired when the dismiss button is pressed. The alert does not hide\nitself — the consumer owns removal.\n\n### **Slots:**\n - **title** - Title slot\n- **default** - Default slot\n\n### **CSS Parts:**\n - **root** - The tinted box carrying the type's wash, hairline border and accent edge\n- **icon** - The status icon svg\n- **content** - The wrapper around the slotted title and message content\n- **dismiss** - The dismiss button rendered when `dismissible` is set",
61
+ "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.\n---\n\n\n### **Events:**\n - **dismiss** - Fired when the dismiss button is pressed. The alert does not hide\nitself — the consumer owns removal.\n\n### **Slots:**\n - **heading** - Rich heading content; overrides the `heading` prop\n- **default** - Default slot\n\n### **CSS Parts:**\n - **root** - The tinted box carrying the type's wash, hairline border and accent edge\n- **icon** - The status icon svg\n- **content** - The wrapper around the heading and message content\n- **heading** - The heading paragraph rendered from the `heading` prop\n- **dismiss** - The dismiss button rendered when `dismissible` is set",
62
62
  "attributes": [
63
63
  {
64
64
  "name": "dismissible",
65
65
  "description": "Show a dismiss button. The alert only emits `dismiss` — removing it from\nthe page stays the consumer's job.",
66
66
  "values": []
67
67
  },
68
+ {
69
+ "name": "heading",
70
+ "description": "Heading rendered above the message. The `heading` slot overrides it for\nrich content.",
71
+ "values": []
72
+ },
68
73
  {
69
74
  "name": "type",
70
75
  "description": "Type of the alert",
@@ -355,7 +360,7 @@
355
360
  },
356
361
  {
357
362
  "name": "c-checkbox",
358
- "description": "\n---\n\n\n### **Events:**\n - **change** - Standard bubbling DOM change event, re-dispatched from the host when the\ncheckbox is toggled (the inner input's change does not cross the shadow\nboundary). No detail; read the new value from the host's `value` property.\n- **changeValue** - Fired when the checkbox is toggled, carrying the new value —\n`trueValue` when checked, `falseValue` when unchecked. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired on toggle so a plain Vue `v-model`\nworks without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on toggle, carrying the new value —\n`trueValue` when checked, `falseValue` when unchecked.\n\n### **Slots:**\n - **default** - Default slot for the label\n\n### **CSS Parts:**\n - **root** - The outer wrapper containing the checkbox, label and message\n- **label** - The `<label>` element wrapping the indicator and the label content\n- **indicator** - The circular ripple surface holding the checkbox box and checkmark\n- **content** - Wrapper around the label text or slotted label content\n- **message** - The hint / error message area below the checkbox (always reserved unless `hide-details`)",
363
+ "description": "A form control for a single on/off choice: a native checkbox with a label, an optional hint, and validation messaging.\n---\n\n\n### **Events:**\n - **change** - Standard bubbling DOM change event, re-dispatched from the host when the\ncheckbox is toggled (the inner input's change does not cross the shadow\nboundary). No detail; read the new value from the host's `value` property.\n- **changeValue** - Fired when the checkbox is toggled, carrying the new value —\n`trueValue` when checked, `falseValue` when unchecked. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired on toggle so a plain Vue `v-model`\nworks without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on toggle, carrying the new value —\n`trueValue` when checked, `falseValue` when unchecked.\n\n### **Slots:**\n - **default** - Default slot for the label\n\n### **CSS Parts:**\n - **root** - The outer wrapper containing the checkbox, label and message\n- **label** - The `<label>` element wrapping the indicator and the label content\n- **indicator** - The checkbox box itself — the bordered square that fills when checked\n- **mark** - The SVG check / indeterminate glyph revealed inside the indicator; draws with `currentColor`, so `color` recolours it\n- **content** - Wrapper around the label text or slotted label content\n- **message** - The hint / error message area below the checkbox (always reserved unless `hide-details`)",
359
364
  "attributes": [
360
365
  {
361
366
  "name": "checked",
@@ -1210,7 +1215,7 @@
1210
1215
  },
1211
1216
  {
1212
1217
  "name": "c-progress-bar",
1213
- "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The outer flex wrapper around the bar and the details line\n- **bar** - The visible track of the progress bar, wrapping the native `<progress>` element\n- **details** - The percentage and label text line",
1218
+ "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.\n---\n\n\n### **CSS Parts:**\n - **root** - The outer flex wrapper around the bar and the details line\n- **bar** - The visible track of the progress bar, wrapping the native `<progress>` element\n- **details** - The percentage and label text line",
1214
1219
  "attributes": [
1215
1220
  {
1216
1221
  "name": "hide-details",
@@ -1240,9 +1245,31 @@
1240
1245
  ],
1241
1246
  "references": []
1242
1247
  },
1248
+ {
1249
+ "name": "c-progress-circle",
1250
+ "description": "A circular progress indicator that draws a known completion percentage as an arc around a track — the circular counterpart of `c-progress-bar`.\n---\n\n\n### **Slots:**\n - **default** - Optional content centered inside the circle, e.g. '57%' or an icon\n\n### **CSS Parts:**\n - **root** - The wrapper around the ring and the centered content\n- **track** - The background ring (SVG circle)\n- **bar** - The value arc (SVG circle)\n- **content** - The centered slot-content wrapper",
1251
+ "attributes": [
1252
+ {
1253
+ "name": "size",
1254
+ "description": "Diameter of the circle in pixels",
1255
+ "values": []
1256
+ },
1257
+ {
1258
+ "name": "value",
1259
+ "description": "Progress value in percentage (0 to 100)",
1260
+ "values": []
1261
+ },
1262
+ {
1263
+ "name": "width",
1264
+ "description": "Stroke width of the track in pixels; the value arc draws at half this\nwidth, inset within the track",
1265
+ "values": []
1266
+ }
1267
+ ],
1268
+ "references": []
1269
+ },
1243
1270
  {
1244
1271
  "name": "c-radio",
1245
- "description": "A single radio option inside a `c-radio-group`: a native radio input whose default slot is its clickable, announced label.\n---\n\n\n### **Events:**\n - **change** - Fired when the radio is selected by the user, carrying its `value`.\nBubbles composed so the parent `<c-radio-group>` — whose shadow root a\nlight-DOM event never enters — catches it on its host; a consumer\nlistening on the group hears it too, with the radio as `target`.\n\n### **Slots:**\n - **default** - The radio's label content, rendered inside the shadow `<label>` so it stays click-associated and announced\n\n### **CSS Parts:**\n - **root** - The `<label>` row wrapping the input, indicator and label content\n- **indicator** - The circular ripple surface holding the radio ring and dot\n- **content** - Wrapper around the slotted label content",
1272
+ "description": "A single radio option inside a `c-radio-group`: a native radio input whose default slot is its clickable, announced label.\n---\n\n\n### **Events:**\n - **change** - Fired when the radio is selected by the user, carrying its `value`.\nBubbles composed so the parent `<c-radio-group>` — whose shadow root a\nlight-DOM event never enters — catches it on its host; a consumer\nlistening on the group hears it too, with the radio as `target`.\n\n### **Slots:**\n - **default** - The radio's label content, rendered inside the shadow `<label>` so it stays click-associated and announced\n\n### **CSS Parts:**\n - **root** - The `<label>` row wrapping the input, indicator and label content\n- **indicator** - The radio ring itself; the selection dot is its `::after` — both follow `currentColor`, so `color` recolours the whole indicator\n- **content** - Wrapper around the slotted label content",
1246
1273
  "attributes": [
1247
1274
  {
1248
1275
  "name": "disabled",
@@ -1465,7 +1492,7 @@
1465
1492
  },
1466
1493
  {
1467
1494
  "name": "c-spinner",
1468
- "description": "\n---\n\n\n### **CSS Parts:**\n - **root** - The `<svg>` element that draws the spinning circle",
1495
+ "description": "A circular indeterminate activity indicator — pure motion with no value, for waits of unknown duration.\n---\n\n\n### **CSS Parts:**\n - **root** - The `<svg>` element that draws the spinning circle",
1469
1496
  "attributes": [
1470
1497
  {
1471
1498
  "name": "color",
@@ -1541,7 +1568,7 @@
1541
1568
  },
1542
1569
  {
1543
1570
  "name": "c-switch",
1544
- "description": "\n---\n\n\n### **Events:**\n - **change** - Standard bubbling DOM change event, re-dispatched from the host when the\nswitch is toggled (the inner input's change does not cross the shadow\nboundary). No detail; read the new value from the host's `value` property.\n- **changeValue** - Fired when the switch is toggled, carrying the new value —\n`trueValue` when on, `falseValue` when off. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired on toggle so a plain Vue `v-model`\nworks without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on toggle, carrying the new value —\n`trueValue` when on, `falseValue` when off.\n\n### **Slots:**\n - **default** - The visible label of the switch (fallback when the `label` prop is not set)\n\n### **CSS Parts:**\n - **root** - The `<label>` element wrapping the toggle and the label text\n- **slider** - The toggle track (its `::before` pseudo-element is the handle)\n- **label** - Wrapper around the label text or slotted label content",
1571
+ "description": "A toggle for a binary setting that takes effect immediately: a native switch control with a label, an optional hint, and validation messaging.\n---\n\n\n### **Events:**\n - **change** - Standard bubbling DOM change event, re-dispatched from the host when the\nswitch is toggled (the inner input's change does not cross the shadow\nboundary). No detail; read the new value from the host's `value` property.\n- **changeValue** - Fired when the switch is toggled, carrying the new value —\n`trueValue` when on, `falseValue` when off. Also dispatched as `change-value` — bind that name in Vue templates.\n- **input** - Native bubbling input event fired on toggle so a plain Vue `v-model`\nworks without the `v-control` directive. No detail.\n- **update:value** - v-model contract event fired on toggle, carrying the new value —\n`trueValue` when on, `falseValue` when off.\n\n### **Slots:**\n - **default** - The visible label of the switch (fallback when the `label` prop is not set)\n\n### **CSS Parts:**\n - **root** - The `<label>` element wrapping the toggle and the label text\n- **slider** - The toggle track (its `::before` pseudo-element is the handle)\n- **label** - Wrapper around the label text or slotted label content",
1545
1572
  "attributes": [
1546
1573
  {
1547
1574
  "name": "checked",
@@ -1654,7 +1681,7 @@
1654
1681
  },
1655
1682
  {
1656
1683
  "name": "c-table",
1657
- "description": "\n---\n",
1684
+ "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.\n---\n\n\n### **Slots:**\n - **default** - The consumer-authored `<table>` element",
1658
1685
  "attributes": [
1659
1686
  {
1660
1687
  "name": "mobile-breakpoint",