Skip to content

Conversation

@stephaniehobson
Copy link
Contributor

@stephaniehobson stephaniehobson commented Jan 16, 2026

Description

Simplify split component by removing pop options

  • I have documented this change in the design system.
  • I have recorded this change in CHANGELOG.md.

Issue

Fix #896

Testing

Did I get all references?

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR simplifies the Split component by removing the "pop" layout options that allowed media to protrude beyond the top and/or bottom edges of the container. The change removes three CSS classes (mzp-l-split-pop-top, mzp-l-split-pop-bottom, and mzp-l-split-pop) and their associated styles.

Changes:

  • Removed pop-related CSS classes and ~200 lines of Sass styling from the Split component
  • Updated documentation to remove references to pop functionality and add migration guidance
  • Added migration instructions for finding and removing pop class usages

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.

Show a summary per file
File Description
docs/02-usage/migration.md Added migration section with instructions for removing pop classes and finding usages
components/split/split.config.yml Removed pop-out media variant and updated notes to remove references to pop functionality
components/split/readme.md Removed documentation about pop classes from the component readme
assets/sass/protocol/components/_split.scss Removed ~200 lines of Sass code implementing pop layout styles and fixed typo in comment
CHANGELOG.md Added breaking change entry for removed Split component classes

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@stephaniehobson stephaniehobson merged commit 820a34d into main Jan 16, 2026
1 check passed
@stephaniehobson stephaniehobson deleted the simple-split branch January 16, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Simplify the Split component

2 participants