Closed briansaycocie closed 7 years ago
@briansaycocie thanks for catching this. I've opened a ticket: https://trello.com/c/XRQkyjvn
We have decided to lock in the current version of bootstrap so that future changes will not break existing features. Thanks @briansaycocie for pointing out this issue.
This was fixed by the following pull request. https://github.com/JDRF/design-system/pull/390
When the DS Badge's component was built, it was based on Bootstrap v4 Label's component which I come to find out, no longer exists as of
v4.0.0-alpha.3
(current implementation is based onv4.0.0-alpha.2
). This component has been replaced with the Tag's component according to their migration documentation.Basically, this means new developers that set up Design Systems locally will have an issue compiling SASS as its importing the Labels SASS partial @import 'scss/labels' from npm (which no longer exists if you do a recent
npm install
as I come to find out while troubleshooting a separate issue). My workaround for this was to get a copy of another developer'snode_modules
folder that has worked on this repo previously (got it from Nick) and replaced it with mine, which isn't ideal.My recommendation: Rework the DS Badge's component to utilize the new Bootstrap v4 Tag's component.