Skip to content

v0.1.6

@ch-lukas ch-lukas tagged this 21 May 07:23
- New "Icon buttons" section: icon + text CTAs (primary / secondary /
  danger), icon-only variants with bg/border rendered as circles, the
  canonical naked plain icon-only row, plus the `isSettings`
  shorthand (now correctly wired with aria-label="Settings" to satisfy
  the axe button-name rule — PF6's shorthand bakes in the cog but
  *not* the label).
- New "Border radius" section: FormSelect with four presets (Square,
  Rounded = PF6 default, Strong = 12px, Pill = 999px) drives an
  inline `borderRadius` style on text, icon-text, icon-only variant,
  and icon-only plain demo rows. Icon-only buttons combine the radius
  with `aspect-ratio: 1` + `padding-inline: 0` so values like 50% /
  999px render as true circles / pills instead of ellipses.
- CodeBlock documents the theme-wide path via the
  `--pf-v6-c-button--BorderRadius` token for a global shape change.

Also: chore: bump to 0.1.6

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Assets 2
Loading