Description
Implement the updated truncation behavior for the List component according to the latest designs for both Standard List and Byline List variants.
The current implementation relies on truncation modifiers applied to individual content elements. The new implementation should align with the updated truncation requirements while minimizing breaking changes for existing consumers.
Requirements
-
Implement the new truncation rules for:
- Standard List
- Byline List
-
Preserve existing behavior by default whenever possible.
-
Introduce new functionality through modifier classes rather than changing existing APIs or default behavior.
-
Ensure long content can be configured to either truncate or wrap according to the new design specifications.
-
Support truncation behavior at the list and/or list item level where appropriate.
-
Update documentation and examples to reflect the new behavior.
Acceptance Criteria
- New truncation rules are implemented according to design specifications.
- Existing list implementations remain unaffected unless new modifier classes are applied.
- Modifier classes provide a clear and scalable way to opt into the new truncation behavior.
- Documentation and examples are updated.
- Accessibility considerations are verified for wrapped and truncated content.
Description
Implement the updated truncation behavior for the List component according to the latest designs for both Standard List and Byline List variants.
The current implementation relies on truncation modifiers applied to individual content elements. The new implementation should align with the updated truncation requirements while minimizing breaking changes for existing consumers.
Requirements
Implement the new truncation rules for:
Preserve existing behavior by default whenever possible.
Introduce new functionality through modifier classes rather than changing existing APIs or default behavior.
Ensure long content can be configured to either truncate or wrap according to the new design specifications.
Support truncation behavior at the list and/or list item level where appropriate.
Update documentation and examples to reflect the new behavior.
Acceptance Criteria