Skip to content

BBadge incorrectly declares bg-variant and text-variant properties #2122

@dwgray

Description

@dwgray

Describe the bug

I'm pretty sure the bootstrap badge component doesn't respect the text-* and bg-* classes (see the reproduction below). If I'm right, we shouldn't be exposing the bg-variant and text-variant properties. I think this means removing the us of useColorVariantClasses and manually implementing the handling of the variant property?

Reproduction

https://stackblitz.com/edit/github-bserkl?file=src%2Fcomponents%2FComp.vue

Used Package Manager

pnpm

Validations

  • Have tested with the latest version. This is still alpha version and sometime things change rapidly.
  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions