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

fix: List component #277

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open

fix: List component #277

wants to merge 15 commits into from

Conversation

metc1999
Copy link
Contributor

Contains:
ListComponent
ListGroup
ListItem
ListItemTitle
ListItemSubtitle
ListSubheader

)
width: Union[int, str] = Field("100%", description="Width of the List item")
height: Union[int, str] = Field("100%", description="Height of the List item")
value: str = Field("", description="value for List Item")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is value used on this?

Copy link
Contributor

Choose a reason for hiding this comment

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

Created the attribute as per the props in v-list-item API Docs

Copy link
Contributor

Choose a reason for hiding this comment

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

What is value used for in this context

Copy link
Contributor

Choose a reason for hiding this comment

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

Following up

@Carson-Shaar Carson-Shaar changed the title fix:List component fix: List component Jun 26, 2024
childComponents: List[str] = Field(
[], description="List of child component ids to be placed within the List"
)
color: str = Field(None, description="Background color of the List")
Copy link
Contributor

Choose a reason for hiding this comment

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

Default for all should not be None

Copy link
Contributor

Choose a reason for hiding this comment

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

[],
description="List of child component ids to be placed within the ListItemTitle. Mention v-test component to show the text of Subtitle",
)
opacity: Union[int, str] = Field("50%", description="opacity for subtitle")
Copy link
Contributor

Choose a reason for hiding this comment

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

Test out defaults here, how is this changing visually in the notebook?

Copy link
Contributor

Choose a reason for hiding this comment

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

opacity is not working even after changing the values.

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay let's remove

Copy link
Contributor

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants