Skip to content
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

Latest version missing from npm? #149

Open
karolyi opened this issue Dec 1, 2022 · 5 comments
Open

Latest version missing from npm? #149

karolyi opened this issue Dec 1, 2022 · 5 comments

Comments

@karolyi
Copy link

karolyi commented Dec 1, 2022

Hey,

I see version 2.0.0 is available on here but not on npm. I'm currently in the process of upgrading to bootstrap 5.x, can you please release 2.0.0 on npm?

That would be appreciated.

@buster1407
Copy link

Having the same issue.

@SteveW94
Copy link

As this is currently really affecting us, it would be nice if someone could publish the 2.0 release.

If this package is not maintained anymore, maybe fork it and then publish it?

@Blari
Copy link
Contributor

Blari commented Aug 29, 2024

We have just updated the package on npm.

@cecilian
Copy link

Hi, I found there's something strange with v2.0 on npm.

If I download the tar of v2.0 from github, the file awesome-bootstrap-checkbox.scss has this:

    &::before{
      cursor: pointer;
      content: "";
      display: inline-block;
      position: absolute;
      width: 17px;
      height: 17px;
      top: 2px;
      left: 0;
      margin-left: -$form-check-input-gutter;
      border: $abc-border-width solid $input-border-color;
      border-radius: 3px;
      background-color: #fff;
      @include transition(border 0.15s ease-in-out, color 0.15s ease-in-out);
    }

which is correct and works with bootstrap v5

However the version downloaded from npm (as it can be seen also here ) has

&::before{
  content: "";
  display: inline-block;
  position: absolute;
  width: 17px;
  height: 17px;
  left: 0;
  margin-left: -20px;
  border: $abc-border-width solid $input-border;
  border-radius: 3px;
  background-color: $input-bg;
  @include transition(border 0.15s ease-in-out, color 0.15s ease-in-out);
}

Apart from the line numbers being different, the line border: $abc-border-width solid $input-border; breaks with bootstrap v5.

Could there be an issue with the version on npm?
I never encountered this issue before so I apologise in advance if I'm doing something wrong.

@Blari
Copy link
Contributor

Blari commented Sep 25, 2024

Hi @cecilian

Thank you for bringing this to our attention.

The issue was caused by the npm package being published from the master branch, which did not yet contain the necessary updates for Bootstrap v5 compatibility. We have now published the correct version from the appropriate branch, and the problem should be resolved.

Please update the package from npm, and everything should work as expected. Apologies for any inconvenience this may have caused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants