@oliasoft-open-source/react-ui-library 3.11.6-beta-2 → 3.11.7

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/index.js CHANGED
@@ -5638,7 +5638,7 @@ HelpIcon.propTypes = {
5638
5638
  maxWidth: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
5639
5639
  onClick: propTypes$1.exports.func,
5640
5640
  testId: propTypes$1.exports.string,
5641
- text: propTypes$1.exports.string
5641
+ text: propTypes$1.exports.oneOfType([propTypes$1.exports.node, propTypes$1.exports.string])
5642
5642
  };
5643
5643
  const CheckBox = ({
5644
5644
  noMargin: noMargin2,
@@ -11806,10 +11806,7 @@ const Button$1 = ({
11806
11806
  ),
11807
11807
  disabled: disabled2 || disabledContext,
11808
11808
  name: name2,
11809
- onClick: () => {
11810
- onClick();
11811
- throw new Error("Button error in gui");
11812
- },
11809
+ onClick,
11813
11810
  ...title2 ? { title: title2 } : {},
11814
11811
  style: { width },
11815
11812
  "data-testid": testId,
@@ -14231,13 +14228,13 @@ const styles$C = {
14231
14228
  };
14232
14229
  const convertStringToJsx = (children) => {
14233
14230
  if (lodash.exports.isArray(children)) {
14234
- return children.map((text2) => /* @__PURE__ */ jsxRuntime.exports.jsxs(jsxRuntime.exports.Fragment, {
14231
+ return children.map((text2, i) => /* @__PURE__ */ jsxRuntime.exports.jsxs(Fragment$1, {
14235
14232
  children: [
14236
14233
  text2,
14237
14234
  " ",
14238
14235
  /* @__PURE__ */ jsxRuntime.exports.jsx("br", {})
14239
14236
  ]
14240
- }));
14237
+ }, i));
14241
14238
  }
14242
14239
  return children;
14243
14240
  };