kui-complex 0.0.67 → 0.0.68

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/index.js CHANGED
@@ -1233,7 +1233,7 @@ function RadioGroupWithLabel(props) {
1233
1233
  name: name,
1234
1234
  }).fieldState;
1235
1235
  var errorMessage = (_a = fieldState.error) === null || _a === void 0 ? void 0 : _a.message;
1236
- return (jsxs$1(StyledContainer, { children: [jsxs$1(StyledWrapper, __assign({ container: true, alignItems: direction === "vertical" ? "flex-start" : "center", justify: "space-between", direction: direction === "vertical" ? "column" : "row", hasError: !!errorMessage, className: className, withTitle: !!title }, { children: [title && (jsx(StyledTitle, __assign({ direction: direction, size: "xs", weight: 600 }, { children: title.toUpperCase() }))), jsx(RadioButtonsWithController, __assign({ form: form, name: name }, otherProps))] })), errorMessage && jsx(InputMessage, { variant: "error", msg: errorMessage })] }));
1236
+ return (jsxs$1(StyledContainer, { children: [jsxs$1(StyledWrapper, __assign({ container: true, alignItems: direction === "vertical" ? "flex-start" : "center", justify: "space-between", direction: direction === "vertical" ? "column" : "row", hasError: !!errorMessage, className: className, withTitle: !!title }, { children: [title && (jsx(StyledTitle, __assign({ direction: direction, size: "xs", weight: 600 }, { children: title.toUpperCase() }))), jsx(Grid, __assign({ item: true, xs: direction === "vertical" ? 12 : "auto" }, { children: jsx(RadioButtonsWithController, __assign({ form: form, name: name }, otherProps)) }))] })), errorMessage && jsx(InputMessage, { variant: "error", msg: errorMessage })] }));
1237
1237
  }
1238
1238
  var StyledContainer = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
1239
1239
  var columnDirectionCSS = function (_a) {