@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.
- package/dist/components/form/index.d.ts +2 -2
- package/dist/components/form/section/index.d.ts +2 -1
- package/dist/components/input/index.d.ts +1 -1
- package/dist/components/table/index.d.ts +2 -1
- package/dist/ui-core.cjs.development.js +6 -5
- package/dist/ui-core.cjs.development.js.map +1 -1
- package/dist/ui-core.cjs.production.min.js +1 -1
- package/dist/ui-core.cjs.production.min.js.map +1 -1
- package/dist/ui-core.esm.js +6 -5
- package/dist/ui-core.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/components/banner/index.tsx +1 -1
- package/src/components/input/StackedSwitch/index.tsx +1 -2
- package/src/components/input/components/label/index.tsx +1 -1
- package/src/components/input/index.tsx +5 -1
package/dist/ui-core.esm.js
CHANGED
|
@@ -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: "
|
|
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,
|