feat(pie-list): DSW-2960 implement list + list item component and tests#2404
Open
matthewhardern wants to merge 30 commits intomainfrom
Open
feat(pie-list): DSW-2960 implement list + list item component and tests#2404matthewhardern wants to merge 30 commits intomainfrom
matthewhardern wants to merge 30 commits intomainfrom
Conversation
🦋 Changeset detectedLatest commit: 77203c3 The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
cb8c46d to
7f35ff3
Compare
7f35ff3 to
e8e7f13
Compare
cea6f8e to
a482147
Compare
a482147 to
bd1633d
Compare
added 4 commits
October 6, 2025 12:13
raoufswe
reviewed
Oct 6, 2025
raoufswe
reviewed
Oct 6, 2025
raoufswe
reviewed
Oct 6, 2025
raoufswe
reviewed
Oct 6, 2025
raoufswe
reviewed
Oct 6, 2025
siggerzz
previously approved these changes
Oct 16, 2025
ashleynolan
previously approved these changes
Nov 5, 2025
jamieomaguire
previously approved these changes
Nov 5, 2025
raoufswe
reviewed
Nov 5, 2025
raoufswe
reviewed
Nov 5, 2025
raoufswe
reviewed
Nov 6, 2025
raoufswe
reviewed
Nov 6, 2025
Co-authored-by: Raouf <raouf.sawehli@justeattakeaway.com>
Co-authored-by: Raouf <raouf.sawehli@justeattakeaway.com>
raoufswe
reviewed
Nov 7, 2025
|
|
||
| @property({ | ||
| type: Boolean, | ||
| attribute: 'has-dividers', |
Member
There was a problem hiding this comment.
i think we don't need this line anymore as we can use hasDividers as a css selector.
raoufswe
reviewed
Nov 7, 2025
| } | ||
|
|
||
| // Dividers between items | ||
| :host([has-dividers]) ::slotted(pie-list-item:not(:last-child)), |
Member
There was a problem hiding this comment.
Suggested change
| :host([has-dividers]) ::slotted(pie-list-item:not(:last-child)), | |
| :host([hasDividers]) ::slotted(pie-list-item:not(:last-child)), |
raoufswe
reviewed
Nov 7, 2025
| // Dividers between items | ||
| :host([has-dividers]) ::slotted(pie-list-item:not(:last-child)), | ||
| // Allow bespoke markup that renders native `<li>` elements. | ||
| :host([has-dividers]) ::slotted(li:not(:last-child)) { |
Member
There was a problem hiding this comment.
Suggested change
| :host([has-dividers]) ::slotted(li:not(:last-child)) { | |
| :host([hasDividers]) ::slotted(li:not(:last-child)) { |
raoufswe
reviewed
Nov 7, 2025
| private readonly headerLocator: Locator; | ||
| private readonly descriptionLocator: Locator; | ||
| readonly footerLocator: Locator; | ||
| private readonly page: Page; |
Member
There was a problem hiding this comment.
is there a reason of this change or just a rebase issue?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes (can list changeset entries if preferable)
Implements the initial version of the
pie-listandpie-list-itemcomponents with basic functionality:pie-list component:
variantprop supporting 'default' and 'compact' layoutsdividersprop to show separators between list items<ul role="list">pie-list-item component:
primaryTextprop for text contentselectedanddisabledstate propsAdditional changes:
Author Checklist (complete before requesting a review, do not delete any)
PIE Storybook/PIE DocsPR preview./test-aperturecommand.Not-applicable Checklist items
Reviewer checklists (complete before approving)
Mark items as
[-] N/Aif not applicable.Reviewer 1 - @jamieomaguire
PIE Storybook/PIE DocsPR preview.Reviewer 2 - @ashleynolan
PIE Storybook/PIE DocsPR preview.