Skip to content
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

feat(list, list-item, list-item-group, filter)!: add scales, update padding and spacing, update font sizes #10853

Merged
merged 50 commits into from
Nov 28, 2024

Conversation

eriklharper
Copy link
Contributor

@eriklharper eriklharper commented Nov 23, 2024

Related Issue: #7100

Summary

This PR adds scales, updates padding and spacing and updates font sizes based on the latest designs for calcite-list-item, calcite-list-item-group, calcite-list and calcite-filter.

BREAKING CHANGE: The spacing changes affect content in the actions-start slot in addition to other rendered elements. Some styling updates may need to be applied to slotted actions or other adjustments based on the new scales.

@github-actions github-actions bot added the enhancement Issues tied to a new feature or request. label Nov 23, 2024
jcfranco and others added 24 commits November 25, 2024 10:16
…adding from the content and custom-content divs in favor of setting those per scale on the content-container.
…e the inline padding with a flex gap instead.
…content-container, removing actions-content-container
…to the actions-start container because we don't want there to be extra padding to account for when there's no slotted start action. Also adding left padding rules for drag-handle with no selection and with border appearance and no drag handle
…hese rules need to always take precedence over others that conflict since drag handles are always rendered first on the left.
…order when the content-bottom slot is being used
@eriklharper eriklharper marked this pull request as ready for review November 27, 2024 23:03
@eriklharper eriklharper requested a review from driskull November 27, 2024 23:20
Copy link
Member

@jcfranco jcfranco left a comment

Choose a reason for hiding this comment

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

Aside from a few comments, this is looking great! I'll defer to @ashetland for the visual review.

@eriklharper LMK if this needs another review.

@eriklharper eriklharper changed the title feat(list, list-item, list-item-group): add scales, update padding and spacing, update font sizes feat(list, list-item, list-item-group, filter): add scales, update padding and spacing, update font sizes Nov 28, 2024
@eriklharper eriklharper changed the title feat(list, list-item, list-item-group, filter): add scales, update padding and spacing, update font sizes feat(list, list-item, list-item-group, filter)!: add scales, update padding and spacing, update font sizes Nov 28, 2024
@eriklharper eriklharper added the pr ready for visual snapshots Adding this label will run visual snapshot testing. label Nov 28, 2024
@eriklharper eriklharper merged commit 9c3342c into dev Nov 28, 2024
13 checks passed
@eriklharper eriklharper deleted the eriklharper/7100-list-scale-and-updates branch November 28, 2024 01:04
@github-actions github-actions bot added this to the 2024-12-17 - Dec Milestone milestone Nov 28, 2024
@driskull
Copy link
Member

driskull commented Dec 2, 2024

@eriklharper I also noticed if you change the scale on the list it isn't updating the child items. There should be something in willUpdate to handle changes to scale. cc @jcfranco. Can we get an issue @geospatialem? We should get this fixed for beta testing.

@eriklharper
Copy link
Contributor Author

@eriklharper I also noticed if you change the scale on the list it isn't updating the child items. There should be something in willUpdate to handle changes to scale. cc @jcfranco. Can we get an issue @geospatialem? We should get this fixed for beta testing.

Good call, this is something that should be supported. I can get on that issue today, it should be just a matter of setting it up to watch the changes on scale in willUpdate.

benelan pushed a commit that referenced this pull request Feb 8, 2025
…adding and spacing, update font sizes (#10853)

**Related Issue:** #7100 

## Summary

This PR adds scales, updates padding and spacing and updates font sizes
based on the latest designs for `calcite-list-item`,
`calcite-list-item-group`, `calcite-list` and `calcite-filter`.

BREAKING CHANGE: The spacing changes affect content in the
`actions-start` slot in addition to other rendered elements. Some
styling updates may need to be applied to slotted actions or other
adjustments based on the new scales.

---------

Co-authored-by: JC Franco <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues tied to a new feature or request. pr ready for visual snapshots Adding this label will run visual snapshot testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants