brookesb91 / dismissible

:mega: Animated dismissible alerts.
MIT License
12 stars 5 forks source link

npm package #1

Open dkniffin opened 3 years ago

dkniffin commented 3 years ago

I'm searching around the internet for dismissible alert libraries and this seems to be one of the only ones! I'm not sure if I'm going to use it yet or not, since it looks like it's brand new and not very popular yet, but for anyone who does, an npm package install would help a lot.

brookesb91 commented 3 years ago

I'm searching around the internet for dismissible alert libraries and this seems to be one of the only ones! I'm not sure if I'm going to use it yet or not, since it looks like it's brand new and not very popular yet, but for anyone who does, an npm package install would help a lot.

Apologies for the delay in response. I can certainly work to make that happen!

brookesb91 commented 3 years ago

I'm searching around the internet for dismissible alert libraries and this seems to be one of the only ones! I'm not sure if I'm going to use it yet or not, since it looks like it's brand new and not very popular yet, but for anyone who does, an npm package install would help a lot.

Quick update, I've made the package available and installable from GitHub

$ npm i https://github.com/brookesb91/dismissible/releases/download/v1.0.0/dismissible-1.0.0.tgz

I will be working towards hosting on NPM when I've the time, but I hope that helps for now!

dkniffin commented 3 years ago

fwiw, I ended up going a different route for my needs

brookesb91 commented 3 years ago

fwiw, I ended up going a different route for my needs

Not at all a problem 😊

sshaw commented 2 years ago

Looking at this library too. Looks promising but I would highly recommend:

  1. Creating an actual npm package, e.g., npm i dismissible
  2. Turning the demo directory into a GitHub page
  3. Adding supported browser and color customization info to the docs (looks like at least no IE since CSS vars are used —which is fine but, would be good to know upfront)

1 & 2 will help people find it and the demo site will allow folks to quickly get a feel for the package. Often times people will only search npm.

sshaw commented 2 years ago

@dkniffin what did you end up using?

brookesb91 commented 2 years ago

Looking at this library too. Looks promising but I would highly recommend:

  1. Creating an actual npm package, e.g., npm i dismissible
  2. Turning the demo directory into a GitHub page
  3. Adding supported browser and color customization info to the docs (looks like at least no IE since CSS vars are used —which is fine but, would be good to know upfront)

1 & 2 will help people find it and the demo site will allow folks to quickly get a feel for the package. Often times people will only search npm.

Thanks for the advice.

I hadn't used the npm namespace prior because it was taken at the time I made this library. Looks like it's free now so I will make that a consideration. I will definitely be addressing the demo and changing it to work with GitHub pages. I agree more documentation is required. This was meant to just be a quick archival of the pen I made here.

If there is anything pressing you may need, feel free to open up an issue. I'm also open to contributions :)

brookesb91 commented 2 years ago

I will reopen this issue until the new npm package has been published.

dkniffin commented 2 years ago

I just wrote some custom JS and CSS I think