Watson update #12
Adam Bartosiewicz
Breaking Changes
- WCollapse API updates:
- Renamed
openproperty tomodelValue - Changed
v-model:opentov-model - Updated related event names
- Renamed
Mobile-first Design
We've introduced comprehensive mobile support across Watson components with new mobile-specific tokens and responsive styles:
- Updated core components with mobile-optimized styles:
Features
- WModal now supports
preventCloseproperty to control modal closing behavior - WAvatar received a new
xsmallsize variant - WDatepicker now supports
firstDayOfWeekandhighlightCurrentWeekproperties - Added hint slots to form components:
- WToast
- Added position property
- Added action button support
- WButton received a new
alignLabelproperty - WNavList added new slots for customization
- WDropdown added new slots for customization
- WActionBar updated breakpoints and stories
- Updated iconography with new icons and "unlock" icon
Bug Fixes
- Fixed icon shrinking issues in various scenarios
- WPopover now uses
inertattribute instead ofaria-hidden - Improved accessibility and keyboard navigation
- Multiple fixes for form components and date handling
- Various minor improvements and optimizations
- Fixed missing badge variants
- Fixed skeleton text sizing for body variant
- Fixed hover color for WLink
- Avoid icon shrinking in some scenarios
- Replaced
aria-hiddenwithinertin WPopover - Fixed WDropdown size prop description
- Fixed adding attributes by default in table body cell
- Fixed WToast disabling teleport in web components