goetzrobin / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.29k stars 137 forks source link

feat: brn-label #98

Closed thatsamsonkid closed 8 months ago

thatsamsonkid commented 8 months ago

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

Which package are you modifying?

What is the current behavior?

Label component currently does not have any logic attached currently no auto generated id. But we've found there is some light logic usually required of labels for use in other components in library.

Closes #

What is the new behavior?

Label component will auto generate a unique id unless an id is provided by user. This is especially helpful in other components where we need some sort of Id for ADA purposes for example.

Does this PR introduce a breaking change?

Other information

thatsamsonkid commented 8 months ago

@goetzrobin Let's merge! I'll check that formatting later. We have bigger fish to fry haha