-
Notifications
You must be signed in to change notification settings - Fork 27
refactor: list and OfferList vanilla extract #5698
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: beta
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: b41c52d 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 |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## beta #5698 +/- ##
========================================
Coverage 91.86% 91.86%
========================================
Files 308 318 +10
Lines 7299 7107 -192
Branches 2999 2889 -110
========================================
- Hits 6705 6529 -176
+ Misses 594 578 -16
... and 23 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
<StyledRow | ||
className={className} | ||
<List.Row | ||
className={`${className ? `${className} ` : ''} ${banner ? offerListRowBanner : ''}${isSelected ? `${offerListBanner ? ' ' : ''}${offerListRowSelected}` : ''}`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
className={`${className ? `${className} ` : ''} ${banner ? offerListRowBanner : ''}${isSelected ? `${offerListBanner ? ' ' : ''}${offerListRowSelected}` : ''}`} | |
className={`${className ? `${className} ` : ''}${banner ? offerListRowBanner : ''}${isSelected ? `${offerListBanner ? ' ' : ''}${offerListRowSelected}` : ''}`} |
borderColor: theme.colors.primary.border, | ||
}) | ||
|
||
export const listCheckboxInRange = style({}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure is it useful? I don't see the usage anywhere in the code 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In Row.ts
(line193):
<Checkbox
aria-label="select"
checked={selectedRowIds[id]}
className={inRange?.includes(id) ? listCheckboxInRange : ''}
Summary
Type
Summarise concisely:
What is expected?
List
andOfferList
to use vanilla-extract instead of EmotionminWith
->minWidth