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/core.css +8 -1
- package/dist/forms.css +8 -1
- package/dist/index.css +8 -1
- package/dist/index.esm.js +3 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.css +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/sass/components/forms/_switches.scss +8 -1
package/dist/index.js
CHANGED
|
@@ -7512,16 +7512,16 @@ const Switch = () => {
|
|
|
7512
7512
|
onchange && onchange(!checked);
|
|
7513
7513
|
},
|
|
7514
7514
|
}, [
|
|
7515
|
-
label && m(Label, { label: label || '', id, isMandatory, className: 'active' }),
|
|
7515
|
+
label && m(Label, { label: label || '', id, isMandatory, className: 'switch-label active' }),
|
|
7516
7516
|
m('.switch', params, m('label', [
|
|
7517
|
-
m('span', left || 'Off'),
|
|
7517
|
+
m('span.switch-value', left || 'Off'),
|
|
7518
7518
|
m('input[type=checkbox]', {
|
|
7519
7519
|
id,
|
|
7520
7520
|
disabled,
|
|
7521
7521
|
checked,
|
|
7522
7522
|
}),
|
|
7523
7523
|
m('span.lever'),
|
|
7524
|
-
m('span', right || 'On'),
|
|
7524
|
+
m('span.switch-value', right || 'On'),
|
|
7525
7525
|
])),
|
|
7526
7526
|
]);
|
|
7527
7527
|
},
|