mithril-materialized 3.17.3 → 3.17.4

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/dist/index.umd.js CHANGED
@@ -7514,16 +7514,16 @@
7514
7514
  onchange && onchange(!checked);
7515
7515
  },
7516
7516
  }, [
7517
- label && m(Label, { label: label || '', id, isMandatory, className: 'active' }),
7517
+ label && m(Label, { label: label || '', id, isMandatory, className: 'switch-label active' }),
7518
7518
  m('.switch', params, m('label', [
7519
- m('span', left || 'Off'),
7519
+ m('span.switch-value', left || 'Off'),
7520
7520
  m('input[type=checkbox]', {
7521
7521
  id,
7522
7522
  disabled,
7523
7523
  checked,
7524
7524
  }),
7525
7525
  m('span.lever'),
7526
- m('span', right || 'On'),
7526
+ m('span.switch-value', right || 'On'),
7527
7527
  ])),
7528
7528
  ]);
7529
7529
  },