Skip to content

Commit 82398a1

Browse files
committed
Merge branch 'develop'
2 parents 4ede221 + 9c69bc1 commit 82398a1

91 files changed

Lines changed: 3408 additions & 2575 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/deploy.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ jobs:
99
deploy:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
fetch-depth: '0'
1515

16-
- uses: actions/setup-node@v3
16+
- uses: actions/setup-node@v4
1717
with:
18-
node-version: 20
18+
node-version: 22
1919
cache: 'yarn'
2020

2121
- name: Build theme with node

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ jobs:
77
test:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: actions/checkout@v3
10+
- uses: actions/checkout@v4
1111

12-
- uses: actions/setup-node@v3
12+
- uses: actions/setup-node@v4
1313
with:
14-
node-version: 20
14+
node-version: 22
1515
cache: 'yarn'
1616

1717
- name: Lint Code

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
## Changelog
22

3+
### 2.4.0
4+
5+
* **New:** Added `filterOnly` option to select only a single option.
6+
* **New:** Added `maxWidth` option to limit the auto width.
7+
* **New:** Auto refresh select width when the width attribute is `auto`.
8+
* **Update:** Upgraded jQuery peer dependency to `>=3 <5` for jQuery 4 compatibility.
9+
* **Update:** Fixed no-results padding in Bootstrap theme.
10+
311
### 2.3.1
412

513
* **Update:** Replaced jQuery utilities with ES6+ alternatives.

dist/locale/multiple-select-cz-CS.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
},
3131
formatFilterUnselected() {
3232
return 'Nevybráno';
33+
},
34+
formatFilterOnly() {
35+
return 'Pouze toto';
3336
}
3437
};
3538
$.extend($.fn.multipleSelect.defaults, $.fn.multipleSelect.locales['cz-CS']);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/**
22
* multiple-select - Multiple select is a jQuery plugin to select multiple elements with checkboxes :).
33
*
4-
* @version v2.3.1
4+
* @version v2.4.0
55
* @homepage http://multiple-select.wenzhixin.net.cn
66
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
77
* @license MIT
88
*/
99

10-
!function(e,l){"object"==typeof exports&&"undefined"!=typeof module?l(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],l):l((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";e.fn.multipleSelect.locales["cz-CS"]=e.fn.multipleSelect.locales.cs={formatSelectAll:()=>"[Vybrat vše]",formatAllSelected:()=>"Vše vybráno",formatCountSelected:(e,l)=>`${e} z ${l} vybráno`,formatNoMatchesFound:()=>"Nebylo nalezeno",formatFilterAll:()=>"Vše",formatFilterSelected:()=>"Vybráno",formatFilterUnselected:()=>"Nevybráno"},e.extend(e.fn.multipleSelect.defaults,e.fn.multipleSelect.locales["cz-CS"])}));
10+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";e.fn.multipleSelect.locales["cz-CS"]=e.fn.multipleSelect.locales.cs={formatSelectAll:()=>"[Vybrat vše]",formatAllSelected:()=>"Vše vybráno",formatCountSelected:(e,t)=>`${e} z ${t} vybráno`,formatNoMatchesFound:()=>"Nebylo nalezeno",formatFilterAll:()=>"Vše",formatFilterSelected:()=>"Vybráno",formatFilterUnselected:()=>"Nevybráno",formatFilterOnly:()=>"Pouze toto"},e.extend(e.fn.multipleSelect.defaults,e.fn.multipleSelect.locales["cz-CS"])}));

dist/locale/multiple-select-da-DK.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
},
3131
formatFilterUnselected() {
3232
return 'Ikke valgt';
33+
},
34+
formatFilterOnly() {
35+
return 'Kun denne';
3336
}
3437
};
3538
$.extend($.fn.multipleSelect.defaults, $.fn.multipleSelect.locales['da-DK']);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/**
22
* multiple-select - Multiple select is a jQuery plugin to select multiple elements with checkboxes :).
33
*
4-
* @version v2.3.1
4+
* @version v2.4.0
55
* @homepage http://multiple-select.wenzhixin.net.cn
66
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
77
* @license MIT
88
*/
99

10-
!function(e,l){"object"==typeof exports&&"undefined"!=typeof module?l(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],l):l((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";e.fn.multipleSelect.locales["da-DK"]=e.fn.multipleSelect.locales.da={formatSelectAll:()=>"[Vælg/fravælg alle]",formatAllSelected:()=>"Alle valgt",formatCountSelected:(e,l)=>`${e} af ${l} valgt`,formatNoMatchesFound:()=>"Søgning uden resultat",formatFilterAll:()=>"Alle",formatFilterSelected:()=>"Valgt",formatFilterUnselected:()=>"Ikke valgt"},e.extend(e.fn.multipleSelect.defaults,e.fn.multipleSelect.locales["da-DK"])}));
10+
!function(e,l){"object"==typeof exports&&"undefined"!=typeof module?l(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],l):l((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";e.fn.multipleSelect.locales["da-DK"]=e.fn.multipleSelect.locales.da={formatSelectAll:()=>"[Vælg/fravælg alle]",formatAllSelected:()=>"Alle valgt",formatCountSelected:(e,l)=>`${e} af ${l} valgt`,formatNoMatchesFound:()=>"Søgning uden resultat",formatFilterAll:()=>"Alle",formatFilterSelected:()=>"Valgt",formatFilterUnselected:()=>"Ikke valgt",formatFilterOnly:()=>"Kun denne"},e.extend(e.fn.multipleSelect.defaults,e.fn.multipleSelect.locales["da-DK"])}));

dist/locale/multiple-select-de-DE.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
},
3131
formatFilterUnselected() {
3232
return 'Nicht ausgewählt';
33+
},
34+
formatFilterOnly() {
35+
return 'Nur diese';
3336
}
3437
};
3538
$.extend($.fn.multipleSelect.defaults, $.fn.multipleSelect.locales['de-DE']);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/**
22
* multiple-select - Multiple select is a jQuery plugin to select multiple elements with checkboxes :).
33
*
4-
* @version v2.3.1
4+
* @version v2.4.0
55
* @homepage http://multiple-select.wenzhixin.net.cn
66
* @author wenzhixin <wenzhixin2010@gmail.com> (http://wenzhixin.net.cn/)
77
* @license MIT
88
*/
99

10-
!function(e,l){"object"==typeof exports&&"undefined"!=typeof module?l(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],l):l((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";e.fn.multipleSelect.locales["de-DE"]=e.fn.multipleSelect.locales.de={formatSelectAll:()=>"[Alle auswählen]",formatAllSelected:()=>"Alle ausgewählt",formatCountSelected:(e,l)=>`${e} von ${l} ausgewählt`,formatNoMatchesFound:()=>"Keine Treffer",formatFilterAll:()=>"Alle",formatFilterSelected:()=>"Ausgewählt",formatFilterUnselected:()=>"Nicht ausgewählt"},e.extend(e.fn.multipleSelect.defaults,e.fn.multipleSelect.locales["de-DE"])}));
10+
!function(e,l){"object"==typeof exports&&"undefined"!=typeof module?l(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],l):l((e="undefined"!=typeof globalThis?globalThis:e||self).jQuery)}(this,(function(e){"use strict";e.fn.multipleSelect.locales["de-DE"]=e.fn.multipleSelect.locales.de={formatSelectAll:()=>"[Alle auswählen]",formatAllSelected:()=>"Alle ausgewählt",formatCountSelected:(e,l)=>`${e} von ${l} ausgewählt`,formatNoMatchesFound:()=>"Keine Treffer",formatFilterAll:()=>"Alle",formatFilterSelected:()=>"Ausgewählt",formatFilterUnselected:()=>"Nicht ausgewählt",formatFilterOnly:()=>"Nur diese"},e.extend(e.fn.multipleSelect.defaults,e.fn.multipleSelect.locales["de-DE"])}));

dist/locale/multiple-select-en-US.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
},
3131
formatFilterUnselected() {
3232
return 'Unselected';
33+
},
34+
formatFilterOnly() {
35+
return 'Only this';
3336
}
3437
};
3538
$.extend($.fn.multipleSelect.defaults, $.fn.multipleSelect.locales['en-US']);

0 commit comments

Comments
 (0)