Skip to content

Commit

Permalink
Update multiple-select to 17.0
Browse files Browse the repository at this point in the history
Add divider option support
  • Loading branch information
williambelle committed Jul 25, 2024
1 parent 142cb52 commit 5f64ac5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
4 changes: 2 additions & 2 deletions assets/components/atoms/select/select-multiple.twig
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<option value="2">The Sage Cattabriga-Alosa hideout</option>
<option value="3">Nikola Tesla Drive-in</option>
<option value="4">A Love for Pizza 🍕</option>
<option value="5">The Hydron Collider
</option>
<option data-divider="true"></option>
<option value="5">The Hydron Collider</option>
<option value="6">There's no place like 127.0.0.1</option>
<option value="7">The Shake Shack Space bar</option>
</select>
Expand Down
5 changes: 5 additions & 0 deletions assets/components/atoms/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@
&.group {
clear: both;
}

&.option-divider {
padding: 0;
border-top: 1px solid $gray-300;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
"intro.js": "^2.9.3",
"jquery": "^3.7.1",
"jquery-mousewheel": "^3.1.13",
"multiple-select": "^1.5.2",
"multiple-select": "^1.7.0",
"pickadate": "^3.6.4",
"popper.js": "^1.16.1",
"tablesaw": "^3.1.2"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7273,10 +7273,10 @@ [email protected], ms@^2.1.1:
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2"
integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==

multiple-select@^1.5.2:
version "1.5.2"
resolved "https://registry.yarnpkg.com/multiple-select/-/multiple-select-1.5.2.tgz#a7290785fc10fa4b9f26d2a92937effc63648bc8"
integrity sha512-sTNNRrjnTtB1b1+HTKcjQ/mjWY7Gvigo9F3C/3oTQCTFEpYzwaRYFPRAOu2SogfA1hEfyJTXjyS1VAbanJMsmA==
multiple-select@^1.7.0:
version "1.7.0"
resolved "https://registry.yarnpkg.com/multiple-select/-/multiple-select-1.7.0.tgz#415e069a071098fcb367ab27b51c70f7b15103d3"
integrity sha512-KlODxbDvsg/3M+xU5pmtJb89dJzK4G3oO2miWMwAbW8UaDHfXi4DoVSRiynqwfSa0znwrT0juKEsxJ2nux7k4A==

[email protected]:
version "1.0.0"
Expand Down

0 comments on commit 5f64ac5

Please sign in to comment.