-
Notifications
You must be signed in to change notification settings - Fork 498
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
Bootstrap 4 theme #72
base: master
Are you sure you want to change the base?
Conversation
Yay, this is great! 🎉 🎉 🎉 Unfortunately I won't have time to review this PR until at least next week – super busy :-( @select2/core @select2/design Maybe we should think about creating a new repository for the BS4 version, anyway? The old version still has a few visitors/views here on GitHub; haven't checked NPM numbers yet. I haven't thought about a monorepo much, either. |
I need the Bootstrap 3 theme for legacy projects I'm working on. I doubt it's just me. It will be quite an unpleasant surprise running We should definitely have the Bootstrap 3 theme working in the foreseeable future. New repo, another branch or major version change will all work. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Align left, please.
@adriandelcl - I have no idea what you mean. Can you please provide more context and where the new styles are different from the original BS3 theme so I can fix the issue? |
@angel-vladov Thank you so much for this PR!!!! What @adriandelcl is saying is that on you test site (https://angel-vladov.github.io/select2-bootstrap-theme/4.0.3.html) all data displayed in the drop down list is right aligned: |
Thanks for testing guys! Issue is fixed. |
Thanks a lot for your work on this! |
Interesting. Perhaps I should change it to use the |
Based on the way it's used in bootstrap, the mixin definitely looks like the way to go :-) |
the page at the original link still lists Bootstrap 3. I've used the correct URL now.
updated examples url in readme
When can we expect the release of bootstrap v4 beta theme ? |
NOTE: There is Bootstrap 4 beta-3. I haven't tested my changes with it yet. Let me know if you see any issues. |
@angel-vladov Bootstrap 4 is now officialy released (stable version): https://blog.getbootstrap.com/2018/01/18/bootstrap-4/ Can we expect any updates from your side for this PR? Thanks you for your work! |
My plan is to work on this during the weekend. The PR will be updated in a day or two. |
Can we merge it ? |
Update master
Change filepath to import with ~
bootstrap imports using tilde
drop LESS, bump to v1
Do you think this could be merged? Are the owners aware of this? |
I am also curious about the status for BS4. |
The last release was made 3+ years ago, this PR is 3 years-old, I consider this project dead. In addition, Bootstrap 5 will be released soon (currently in beta). In our team we use the fork made by @angel-vladov (PR's author): https://github.com/angel-vladov/select2-theme-bootstrap4 |
I've created a Bootstrap 5 version You can find the select2 bs5 theme here This is a |
Fix Dart Sass 2.0.0 division deprecation
This PR includes all the suggestions from Issue #60 and examples updates.
package.json
dependencies are updateddocs
folder are updated to use Bootstrap 4README
compatibility section. Bootstrap 4 doesn't support them.Bootstrap 4 does support IE 10 with issues. I haven't tested the theme in it.
You can check the example page here.