List Component (WIP) #634
muratcorlu
started this conversation in
ADR
Replies: 1 comment
-
|
Firstly, thanks for your great effort! I think we should support some cases with example designs. For example nested structure can be more clear. I wonder what will the components behaviour with nested structure. Nested parts displayed default or optional or we can see them with click action? Maybe I am missing something about that. @muratcorlu |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This is an ADR proposal for web implementation of our List Component
Design
Figma Document
Rules
From the design meeting report:
Implementation
Use list as a simple navigation:
Or an action list:
A nested list:
A complex product list:
API Reference:
bl-listcomponentList component is the wrapper of
bl-list-itemcomponents.Attributes
boolean)array of strings)Slots
defaultslotbl-table-columncomponentsCSS Custom Properties
--bl-list-gap0--bl-list-padding0List background will be transparent by default to allow developers to freely set a background color.
bl-list-itemcomponentAttributes
string)undefinedboolean)boolean)trueifhreforbuttonis true or a nestedbl-listis providedSlots
defaultslotselectslotbl-checkboxor abl-radiocomponent to make item "selectable"startslotendslotcaptionslotCSS Custom Properties
--bl-list-item-padding--bl-size-mList item background will be transparent by default to allow developers to freely set a background color.
Beta Was this translation helpful? Give feedback.
All reactions