@cashub/ui 0.45.3 → 0.45.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.
@@ -21,12 +21,12 @@ const RadioButton = _ref => {
21
21
  disabled,
22
22
  checked,
23
23
  onChange,
24
- noMargin
24
+ noMarginBottom
25
25
  } = _ref;
26
26
  return /*#__PURE__*/(0, _jsxRuntime.jsxs)(StyledLabel, {
27
27
  htmlFor: htmlFor,
28
28
  disabled: disabled,
29
- noMargin: noMargin,
29
+ noMarginBottom: noMarginBottom,
30
30
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(StyledCheckbox, {
31
31
  onChange: () => {
32
32
  onChange(value);
@@ -48,9 +48,9 @@ const StyledLabel = (0, _styledComponents.default)(_Label.default)(_templateObje
48
48
  return disabled && (0, _styledComponents.css)(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n opacity: 0.5;\n "])));
49
49
  }, _ref3 => {
50
50
  let {
51
- noMargin
51
+ noMarginBottom
52
52
  } = _ref3;
53
- return noMargin && 'margin: 0;';
53
+ return noMarginBottom && 'margin-bottom: 0;';
54
54
  });
55
55
  const Unchecked = _styledComponents.default.div(_templateObject4 || (_templateObject4 = _taggedTemplateLiteral(["\n border: var(--border-width) solid var(--border-color);\n position: relative;\n\n &:before {\n content: '';\n background: var(--color-primary);\n width: 16px;\n height: 16px;\n position: absolute;\n border-radius: var(--border-radius-round);\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n }\n"])));
56
56
  var _default = exports.default = RadioButton;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cashub/ui",
3
- "version": "0.45.3",
3
+ "version": "0.45.4",
4
4
  "private": false,
5
5
  "author": "CasHUB Team",
6
6
  "description": "CasHUB UI components library",