Skip to content

Commit

Permalink
s-radio-control/group removed
Browse files Browse the repository at this point in the history
  • Loading branch information
double-beep authored Nov 4, 2022
1 parent 73bfa8e commit 7f1357b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/input.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const makeStacksRadiosOrCheckboxes = (
withoutFieldset?: boolean
): HTMLElement[] => {
const fieldset = document.createElement("fieldset");
fieldset.classList.add(`s-${type}-group`);
fieldset.classList.add("s-check-group");

if (options) {
const {
Expand All @@ -130,7 +130,7 @@ export const makeStacksRadiosOrCheckboxes = (
} = options;

if (horizontal) {
fieldset.classList.add(`s-${type}-group__horizontal`);
fieldset.classList.add("s-check-group__horizontal");
}

fieldset.classList.add(...classes);
Expand Down Expand Up @@ -179,7 +179,7 @@ const makeFormContainer = (
} = radioCheckbox;

const container = document.createElement("div");
container.classList.add(`s-${type}-control`);
container.classList.add("s-check-control");

const input = document.createElement("input");
input.classList.add(`s-${type}`);
Expand Down

0 comments on commit 7f1357b

Please sign in to comment.