@oliasoft-open-source/react-ui-library 4.0.0-beta-34 → 4.0.0-beta-35
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 +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5632,7 +5632,7 @@ HelpIcon.propTypes = {
|
|
|
5632
5632
|
maxWidth: propTypes$1.exports.oneOfType([propTypes$1.exports.string, propTypes$1.exports.number]),
|
|
5633
5633
|
onClick: propTypes$1.exports.func,
|
|
5634
5634
|
testId: propTypes$1.exports.string,
|
|
5635
|
-
text: propTypes$1.exports.string
|
|
5635
|
+
text: propTypes$1.exports.oneOfType([propTypes$1.exports.node, propTypes$1.exports.string])
|
|
5636
5636
|
};
|
|
5637
5637
|
const CheckBox = ({
|
|
5638
5638
|
noMargin: noMargin2,
|
|
@@ -12048,7 +12048,7 @@ const Trigger$1 = React__default.forwardRef(
|
|
|
12048
12048
|
}
|
|
12049
12049
|
);
|
|
12050
12050
|
const actionShape = propTypes$1.exports.shape({
|
|
12051
|
-
label: propTypes$1.exports.string.isRequired,
|
|
12051
|
+
label: propTypes$1.exports.oneOfType([propTypes$1.exports.node, propTypes$1.exports.string]).isRequired,
|
|
12052
12052
|
icon: propTypes$1.exports.oneOfType([propTypes$1.exports.node, propTypes$1.exports.string]),
|
|
12053
12053
|
onClick: propTypes$1.exports.func.isRequired,
|
|
12054
12054
|
disabled: propTypes$1.exports.bool,
|
|
@@ -14224,13 +14224,13 @@ const styles$C = {
|
|
|
14224
14224
|
};
|
|
14225
14225
|
const convertStringToJsx = (children) => {
|
|
14226
14226
|
if (lodash.exports.isArray(children)) {
|
|
14227
|
-
return children.map((text2) => /* @__PURE__ */ jsxRuntime.exports.jsxs(
|
|
14227
|
+
return children.map((text2, i) => /* @__PURE__ */ jsxRuntime.exports.jsxs(Fragment$1, {
|
|
14228
14228
|
children: [
|
|
14229
14229
|
text2,
|
|
14230
14230
|
" ",
|
|
14231
14231
|
/* @__PURE__ */ jsxRuntime.exports.jsx("br", {})
|
|
14232
14232
|
]
|
|
14233
|
-
}));
|
|
14233
|
+
}, i));
|
|
14234
14234
|
}
|
|
14235
14235
|
return children;
|
|
14236
14236
|
};
|