@xqmsg/ui-core 0.22.2 → 0.22.3

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.
@@ -214,7 +214,8 @@ var Banner = function Banner(_ref) {
214
214
  }
215
215
  }, [variant]);
216
216
  return /*#__PURE__*/React__default.createElement(Alert$1, {
217
- variant: variant
217
+ variant: variant,
218
+ borderRadius: "4px"
218
219
  }, /*#__PURE__*/React__default.createElement(AlertDescription, null, /*#__PURE__*/React__default.createElement(Flex, {
219
220
  flexDirection: type === 'condensed' ? 'row' : 'column',
220
221
  alignItems: type === 'condensed' ? 'center' : '',
@@ -1767,8 +1768,7 @@ var StackedSwitch = /*#__PURE__*/React__default.forwardRef(function (_ref2, _ref
1767
1768
  value = _ref2.value;
1768
1769
  if (value === null) return null;
1769
1770
  return /*#__PURE__*/React__default.createElement(Switch$1, {
1770
- h: "26px",
1771
- mx: "4px",
1771
+ h: "21px",
1772
1772
  _focus: {
1773
1773
  border: '2px solid',
1774
1774
  borderColor: colors.border.focus
@@ -1791,7 +1791,8 @@ var Label$1 = function Label(_ref) {
1791
1791
  isRequired = _ref.isRequired,
1792
1792
  label = _ref.label;
1793
1793
  return /*#__PURE__*/React__default.createElement(FormLabel$1, {
1794
- display: "flex"
1794
+ display: "flex",
1795
+ ml: "0"
1795
1796
  }, label, isRequired && /*#__PURE__*/React__default.createElement(Box, {
1796
1797
  ml: 1,
1797
1798
  color: colors.label.error
@@ -1988,7 +1989,7 @@ function Input(_ref) {
1988
1989
  id: name,
1989
1990
  isInvalid: isInvalid,
1990
1991
  position: "relative",
1991
- py: label || helperText || isInvalid ? 5 : 0
1992
+ py: inputType !== 'checkbox' && label || helperText || isInvalid ? 5 : 0
1992
1993
  }, label && inputType !== 'checkbox' && /*#__PURE__*/React__default.createElement(Label$1, {
1993
1994
  tooltipText: tooltipText,
1994
1995
  label: label,