awesome-bootstrap-checkbox icon indicating copy to clipboard operation
awesome-bootstrap-checkbox copied to clipboard

Latest version missing from npm?

Open karolyi opened this issue 3 years ago • 3 comments

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.

karolyi avatar Dec 01 '22 15:12 karolyi

Having the same issue.

buster1407 avatar Aug 12 '24 10:08 buster1407

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?

SteveW94 avatar Aug 14 '24 08:08 SteveW94

We have just updated the package on npm.

Blari avatar Aug 29 '24 10:08 Blari

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.

cecilian avatar Sep 23 '24 08:09 cecilian

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.

Blari avatar Sep 25 '24 16:09 Blari

Thank you, it works!

cecilian avatar Oct 01 '24 07:10 cecilian