Version 2.22.0
Welcome to the WPP Open Design System v.2.22.0! This release introduces updates and bug fixes to our components library. Read on to learn more!
Resources
You can download icons, foundations, and components from the Open Design System v.2.22.0.
Updates and Improvements
Development Specific
-
- Added parameters to
actionsConfigproperty, now accepting allWppButtoncomponent properties for full user configuration flexibility. - Introduced restrictions to the
actionssection structure:- Left side: At most one
WppActionButton(primary/destructive) with an icon. - Right side: Up to two
WppButtons, one withvariant="primary"or"destructive", and one withvariant="secondary"or"destructive-secondary".
- Left side: At most one
- Added parameters to
-
- Improved markdown processing by normalizing underscore-delimited emphasis (
_italic_) to asterisk-delimited (*italic*). - Updated Markdown input logic to compute and store both HTML and plain text.
- Exposed
plainTextin theRichtextChangeEventDetailinterface for validation or character counting. - Ensured handling of edge cases like
part*italic*regular.
- Improved markdown processing by normalizing underscore-delimited emphasis (
-
- Enhanced autocomplete experience:
- Dropdown remains open during loading, eliminating the need for users to re-click post-load.
- Search input persists after clearing.
- Extended
WppAutocompleteto support allWppListItemvariants, enabling full control over item structure (e.g., tags, custom content). - Improved loading experience, removing the need to manually re-click to view updated lists.
- Enhanced autocomplete experience:
-
Component Library
- Updated class names on host elements to use a unique
wpp-prefix, preventing collisions with generic classes likehiddenorvisible.
- Updated class names on host elements to use a unique
-
- Updated icons to align with Figma designs and deprecated the
wpp-icon-pincomponent.
- Updated icons to align with Figma designs and deprecated the
-
- Added missing logos to the
logos/folder under the "Social media and companies" category, following naming conventions. - Added the following logos:
- Gemini
- Open AI
- Copilot
- Claude
- Added missing logos to the
-
- Updated the icon in
WppToastto match the one used inWppInlineMessage.
- Updated the icon in
-
- Initiated investigation to restrict unsupported elements on the left and right sides of
ListItem, allowing only design-approved elements.
- Initiated investigation to restrict unsupported elements on the left and right sides of
-
- Achieved WCAG AA accessibility compliance.
-
- Updated
WppSelectto autofocus the search input when the dropdown opens.
- Updated
-
- Aligned fullscreen and side modals with design specifications:
- Close button in fullscreen modals remains right-aligned, regardless of title presence.
- Added Storybook support for rendering fullscreen modals with or without an action bar or title.
- Adjusted styles and paddings for both modal types to match design requirements.
- Aligned fullscreen and side modals with design specifications:
-
- Added alternative icon option for
info-inline message.
- Added alternative icon option for
-
- Added hover interaction for all avatars with click events.
- Implemented tooltips on avatars for additional context.
Figma Libraries
-
- Added the following logos:
- Gemini
- Open AI
- Copilot
- Claude
- Added the following logos:
-
- Improved loading experience, eliminating the need to manually re-click to view updated lists.
- Updated search input placeholder label from "Text" to "Search".
-
- Updated icon for
info inline message. - Introduced an
Experimenticon. - Fixed text box resizing issue when displaying a hint.
- Updated icon for
-
- Added hover interaction for all avatars with click events.
-
- Adjusted tag styling by adding a white background layer beneath transparent color for visual consistency across backgrounds.
- Added wrapping for tag groups.
- Updated to reflect disabled state.
-
Overlay
- Updated selected state color to Grey 500 at 60% opacity.
-
- Provided an example of draggable list items in the Examples section.
-
- Updated the tree and tag components to reflect the disabled state.
-
- Updated cell for totals to use 48px height and added a bottom divider.
-
Data Viz
- Added possibility to enable and disable divider and decreased label size.
Bug Fixes
Development specific
-
- Fixed issue with rarely used icons so that they populate in the pre-production; previously, it was working correctly on localhost but failed to render on pre-production.
-
- Aligned content layout in Storybook with Figma maintaining content in specified container instead of wrapping under a button.
-
- Fixed search functionality for
WppSelectmultiple when placed insideWppSideModal. - Resolved an issue to make sure that "Select All" button is always disabled when
maximumSelectedItemsis used.
- Fixed search functionality for
-
- Fixed selection behavior in the Autocomplete component—now selecting an already selected item retains selection and closes the list.
-
- Fixed the Popover component to close correctly when the trigger element is clicked for the second time. The dropdown now toggles as expected without unwanted animations.
-
- Updated
wpp-side-modalto addpadding-rightto the page when an overlay is present, preventing content shift on open and close.
- Updated