feat: Adds the new card component
- Related issue: gitlab-org/gitlab-services/design.gitlab.com#287
- Integration MR: gitlab!42112 (merged)
This replaces the BCard
wrapper with our own Pajamas-compliant GlCard
implementation.
Our component is much simpler than BCard
, that supports a lot of options that don't align with our design specs.
This is a breaking change as we're dropping BootsrapVue's API for this component, but it should be a drop-in replacement for all current usages in GitLab as the slots API is identical, and we have preserved the *Class
props that are sometimes used in the product.
Before | After |
---|---|
Edited by Paul Gascou-Vaillancourt