@plurid/plurid-ui-components-react 0.0.0-17 → 0.0.0-18
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/distribution/index.js
CHANGED
|
@@ -1799,7 +1799,7 @@ const StyledInputSwitch = styled__default["default"].div`
|
|
|
1799
1799
|
`;
|
|
1800
1800
|
|
|
1801
1801
|
const InputSwitch = properties => {
|
|
1802
|
-
const {name: name, checked: checked, atChange: atChange, theme: themeProperty, compact: compact, style: style, className: className} = properties;
|
|
1802
|
+
const {name: name, checked: checked, atChange: atChange, theme: themeProperty, compact: compact, switch: switchProperties, style: style, className: className} = properties;
|
|
1803
1803
|
const theme = themeProperty || themes.plurid;
|
|
1804
1804
|
return React__default["default"].createElement(StyledInputSwitch, {
|
|
1805
1805
|
compact: compact,
|
|
@@ -1809,13 +1809,13 @@ const InputSwitch = properties => {
|
|
|
1809
1809
|
style: {
|
|
1810
1810
|
marginLeft: "0.9rem"
|
|
1811
1811
|
}
|
|
1812
|
-
}, name), React__default["default"].createElement(Switch, {
|
|
1812
|
+
}, name), React__default["default"].createElement(Switch, Object.assign({
|
|
1813
1813
|
checked: checked,
|
|
1814
1814
|
level: 2,
|
|
1815
1815
|
exclusive: true,
|
|
1816
1816
|
theme: theme,
|
|
1817
1817
|
atChange: () => atChange()
|
|
1818
|
-
})));
|
|
1818
|
+
}, switchProperties))));
|
|
1819
1819
|
};
|
|
1820
1820
|
|
|
1821
1821
|
const StyledItemsline = styled__default["default"].div`
|