-
Notifications
You must be signed in to change notification settings - Fork 126
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
Add tracking component #162
Conversation
Divider component added |
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.
Wow, these look great, thank you for the useful contribution !
Two small remarks:
- To make it as easy as possible to switch between components and to memorize properties, we try to reuse property names as much as possible between components. In that spirit, I think the
state
property of the tracking component should be namedcolor
instead. One can add an example with'danger' as color
to illustrate color name aliases. And maybe the tooltip should be namedtitle
, for consistency. - The spacing and sizing inside the tracking card seems a little off to me, when compared to tabler's example :
examples/official-site/sqlpage/migrations/28_tracking_component.sql
Outdated
Show resolved
Hide resolved
…t.sql Co-authored-by: Ophir LOJKINE <[email protected]>
…, spacing between items)
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.
Great, let's merge this ! This will be a nice christmas present for everyone :)
Thanks again for your contribution, @olivierauverlot ! PRs adding useful components are always welcome ! |
I'll try to make a new release soon that includes your work |
Implementation of the tracking component (https://tabler.io/docs/components/tracking)