Skip to content

Commit 38467a4

Browse files
committed
feat(cards): add missing properties to the API table
1 parent 3c3f699 commit 38467a4

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CONTRIBUTOR-DOCS/03_project-planning/03_components/card/migration-plan.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ Already implemented (prior scaffold ticket); this plan governs the three concret
127127
| `size` | `'xs' \| 's' \| 'm' \| 'l' \| 'xl'` | `'m'` | Via `SizedMixin`. |
128128
| `variant` | `CardVariant` | `'primary'` | Static `VARIANTS` is overridable per concrete component (see below) — same mechanism as `ActionButton` overriding `ButtonBase.VALID_SIZES`. |
129129
| `density` | `CardDensity` | `'regular'` | `'compact' \| 'regular' \| 'spacious'`. |
130+
| `titleAsLink` | `boolean` | `false` | Reflects to the `title-as-link` attribute. Extends a consumer-supplied `title`-slot link's hit area to the card surface. See [A11y-3](#a11y-3-whole-card-clickable-while-preserving-nested-interactive-targets). |
131+
| `selectable` | `boolean` | `false` | Manages `tabindex` and dispatches `swc-card-click` on activation (click, Enter, Space), independent of `titleAsLink`. See [A11y-3](#a11y-3-whole-card-clickable-while-preserving-nested-interactive-targets). |
130132

131133
### Variant support per component
132134

0 commit comments

Comments
 (0)