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.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
|
},
|