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

Enhancement: Add a slot in List Item for specialized content or a slot for label and a slot for description #3032

Closed
ffaubry opened this issue Sep 14, 2021 · 2 comments
Assignees
Labels
4 - verified Issues that have been released and confirmed resolved. enhancement Issues tied to a new feature or request.

Comments

@ffaubry
Copy link
Member

ffaubry commented Sep 14, 2021

Description

Currently, the only way to have content is by providing label and/or description.
It would be useful to also support a slot 'content' for specialized content.
In my particular case, we would like a second line for the description:

Label
Description 1
Description 2

Acceptance Criteria

Relevant Info

Which Component

calcire-list-item

Example Use Case

Support more specialized content for list item

@ffaubry ffaubry added enhancement Issues tied to a new feature or request. 0 - new New issues that need assignment. needs triage Planning workflow - pending design/dev review. labels Sep 14, 2021
@julio8a julio8a removed the needs triage Planning workflow - pending design/dev review. label Sep 24, 2021
@julio8a julio8a added this to the Freezer milestone Sep 24, 2021
@driskull driskull self-assigned this Dec 1, 2022
@driskull driskull added 1 - assigned Issues that are assigned to a sprint and a team member. and removed 0 - new New issues that need assignment. labels Dec 1, 2022
driskull added a commit that referenced this issue Dec 5, 2022
**Related Issue:** #3032

## Summary

feat(list-item): Add slot for specialized content #3032

- Adds a new `content` slot to the `list-item` for customized content.
- `content` slot takes precedence over `label` and `description`
properties.
@driskull driskull added 3 - installed Issues that have been merged to master branch and are ready for final confirmation. and removed 1 - assigned Issues that are assigned to a sprint and a team member. labels Dec 5, 2022
@github-actions github-actions bot assigned benelan and geospatialem and unassigned driskull Dec 5, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Dec 5, 2022

Installed and assigned for verification.

@benelan benelan removed their assignment Dec 8, 2022
@geospatialem geospatialem added 4 - verified Issues that have been released and confirmed resolved. and removed 3 - installed Issues that have been merged to master branch and are ready for final confirmation. labels Dec 9, 2022
@geospatialem
Copy link
Member

Verified on next.664 with the following Codepen, where the content slot will override the label and description props.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4 - verified Issues that have been released and confirmed resolved. enhancement Issues tied to a new feature or request.
Projects
None yet
Development

No branches or pull requests

5 participants