Skip to content

Releases: select2/select2-bootstrap-theme

0.1.0-beta.10

30 Mar 11:55
@fk fk
Compare
Choose a tag to compare
  • Compiled with grunt-sass v2.0.0 (was v1.2.1).
  • Merged pull request #54 by @odahcam (and fixed it: :first-child/:not(:first-child)/:last-child for .select2-container--bootstrap won’t play nice in our case; we have to take the original <select> element (with .select2-hidden-accessible applied) into account): Select2’s border-radii now are correctly styled in Bootstrap’s “Input Groups” without the need for helper classes (.select2-bootstrap-append, .select2-bootstrap-prepend).
  • Fixed #63: "Cursor position of multiselect in RTL state is in incorrect position"
  • Fixed #20: "Select2 inside inline form does not fall back to display: block when resizing window to 'extra small'"
  • Added new Sass/Less variable $s2bs-btn-default-color/@s2bs-btn-default-color – defaults to Bootstrap’s $btn-default-color/@btn-default-color.
  • Docs: Updated AnchorJS to v3.2.2 (was v3.2.1).
  • Docs: Fixed layout for mobile devices (add meta name="viewport" content="width=device-width, initial-scale=1").
  • package.json: Fixed license-related npm 2.x “SPDX” warning: for npm 2.x and according to https://docs.npmjs.com/files/package.json#license.
  • package.json: Added bugs.

0.1.0-beta.9

31 Aug 01:52
@fk fk
Compare
Choose a tag to compare
  • Built on Bootstrap 3 v3.3.7 and corresponding bootstrap-sass.
  • Prefixed all Sass and Less variables with s2bs to avoid conflicts and improve customizability as select2-bootstrap-theme does not "force" you to use (specific) Bootstrap Sass/Less variables anymore; a nice side effect is that we now also provide (a raw) documentation for the inherited Bootstrap variables in one place.
  • Added Sass and Less variables to override select2-bootstrap-themes default font-size, color and vertical padding for .select2-results__group. [#19]
  • Added Sass and Less variables replacing hardcoded values in styles for .select2-selection__clear, .select2-selection__choice__remove and .select2-selection__choice.
  • Added padding to root level .select2-results__option – fixes alignment of .select2-results__message and .select2-results__option--load-more. [#28]
  • Removed font-family definition for .select2-container--bootstrap .select2-selection. [#50]
  • Added Select2 and Bootstrap as dependencies in bower.json – fingers crossed, low hopes. [#52]
  • Added "repository" to bower.json.
  • Sass is now compiled using LibSass/node-sass instead of Ruby Sass (and grunt-sass instead of grunt-contrib-sass).
  • Decreased Sass number precision from 9 to 8 – now Sass numbers really matches its Less counterpart.
  • Added Grunt task to compile Less and altered Less test (via grunt-contrib-less).
  • Switched Sass and Less source tab size/indention from four to two spaces.
  • Updated development dependencies: Autoprefixer to v6.4.0 (was v6.3.6), diff to v2.2.3 (was v2.2.2), grunt-gh-pages to v1.2.0 (was v1.1.0).
  • Docs: Added "plain" (not nested in an <optgroup>) options to the "State" Select2.
  • Docs: Updated AnchorJS to v3.2.1 (was v3.1.1), Bootstrap to v3.3.7 (was v3.3.6), jQuery to v1.12.4 (was v1.11.2).
  • Docs: Enabled pagination for AJAX examples (in context of #28).
  • Docs: Brought back demo pages for different Select2 releases (covering all of 4.0.x via cdnjs).
  • Docs: Removed empty <option> from the "Select2 multi append Radiobutton" demo (which resulted in problems tracked in 11).