-
Notifications
You must be signed in to change notification settings - Fork 118
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(tag-component): tag component #955
base: next
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In my opinion we should also add a tag-group wrapper to get all selected tags' ids. Also using bl-click instead of bl-tag-click is enough I guess
Yes, that's in the roadmap but we decided to develop the tag first and group element later. |
ee232d0
to
69585ab
Compare
Figma Design Document
https://www.figma.com/design/RrcLH0mWpIUy4vwuTlDeKN/Baklava-Design-Guide?node-id=25001-1763&t=xA7DTWjCkA2EqaDc-1
Implementation
General usage example:
Usage Examples
Selectable variant usage:
The removable variant can be set like this:
The icon can be set like this:
The size and disabled attributes can be set like this:
API Reference:
Slots
icon
slotAttributes
string
)small
,medium
,large
)bl-icon
)string
)selectable
,removable
)boolean
)boolean
)string
)Events
bl-tag-click
{value:string,selected:boolean}