@danielgindi/selectbox 1.0.45 → 1.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/DropList.js CHANGED
@@ -181,7 +181,7 @@ class DropList {
181
181
  let classes = [p.baseClassName];
182
182
 
183
183
  if (p.additionalClasses) {
184
- classes = classes.concat(p.additionalClasses);
184
+ classes = classes.concat((p.additionalClasses + '').split('').filter(x => x));
185
185
  }
186
186
 
187
187
  const initialCss = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgindi/selectbox",
3
- "version": "1.0.45",
3
+ "version": "1.0.46",
4
4
  "description": "A collection of dom utilities. So you can work natively with the dom without dom frameworks.",
5
5
  "main": "dist/lib.cjs.min.js",
6
6
  "module": "lib/index.js",