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
-
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-list
componentList component is the wrapper of
bl-list-item
components.Attributes
boolean
)array of strings
)Slots
default
slotbl-table-column
componentsCSS Custom Properties
--bl-list-gap
0
--bl-list-padding
0
List background will be transparent by default to allow developers to freely set a background color.
bl-list-item
componentAttributes
string
)undefined
boolean
)boolean
)true
ifhref
orbutton
is true or a nestedbl-list
is providedSlots
default
slotselect
slotbl-checkbox
or abl-radio
component to make item "selectable"start
slotend
slotcaption
slotCSS Custom Properties
--bl-list-item-padding
--bl-size-m
List 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