Code automatically checked the "check-all" box if any one of the checkboxes is checked (line 87 in src/index.ts)
Proposed change: replace with the following if statement
if ((total - count) == 0) {
setChecked(target, allCheckbox, checked, indeterminate);
}