v2.1.0
What's New
- Phosphor Icons adopted as the design system's icon system. Load
@phosphor-icons/webbold and regular weights. Convention:ph-boldfor interactive controls,ph-regularfor informational icons. Accordion, Modal, and Toast migrated from inline SVGs. - Button utility classes —
.btn,.btn-sm,.btn-lg,.btn-primary,.btn-secondary,.btn-tertiary,.btn-ghost,.btn-destructivefor consumers using native<button>or<a>elements (#75) - Input: textarea support — add
[multiline]="true"toapp-inputto render a<textarea>with identical styling, focus ring, error, and hint (#53) - Select component — new
app-selectwrapper with native<select>, Phosphor caret, ControlValueAccessor, label/error/hint/disabled parity withapp-input(#54) - Navigation + Tabs: inverse variant —
theme="inverse"renders on--color-bg-inverse(dark navy in light mode) for apps with dark headers (#65) - Toast: imperative API —
ToastService.show(message, variant, options)andToastContainerComponent. Place the container once inAppComponent; callshow()from anywhere (#66) - Badge: ordinal severity pattern — documented mapping of domain severity scales (minor/moderate/fundamental, low/medium/high/critical) onto existing status token triplets (#74)
New tokens
--color-text-subtle-on-inverse— muted text on inverse surfaces (light + dark)--color-border-on-inverse— subtle divider on inverse surfaces (light + dark)
New peer dependency
@phosphor-icons/web — add to your project and import the bold and regular weights in your global stylesheet:
@import '@phosphor-icons/web/bold/style.css';
@import '@phosphor-icons/web/regular/style.css';Full Changelog: v2.0.0...v2.1.0