@danielgindi/selectbox 1.0.135 → 1.0.137

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
@@ -2291,6 +2291,11 @@ class DropList {
2291
2291
  }
2292
2292
  }
2293
2293
 
2294
+ if (!hasChecked && !hasUnchecked) {
2295
+ // No items to check or uncheck, keep current state
2296
+ return this;
2297
+ }
2298
+
2294
2299
  let shouldCheckGroup = hasChecked && !hasUnchecked;
2295
2300
  if (!!groupItem._checked !== shouldCheckGroup) {
2296
2301
  // Update state
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgindi/selectbox",
3
- "version": "1.0.135",
3
+ "version": "1.0.137",
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",
@@ -174,7 +174,7 @@ ul.droplist {
174
174
 
175
175
  li.droplist__item_child.droplist__item_single,
176
176
  li.droplist__item_child.droplist__item_multi_nocheck {
177
- padding-left: 0;
177
+ padding-left: 11px;
178
178
  padding-right: 24px;
179
179
  }
180
180