@oliasoft-open-source/react-ui-library 4.18.3 → 4.18.4-beta-1

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
@@ -66557,6 +66557,12 @@ const SettingField = ({
66557
66557
  selectedOption,
66558
66558
  handleSelectChange
66559
66559
  }) => {
66560
+ const renderHelpText = (text2) => {
66561
+ return text2.split("\n").map((line2, index2) => /* @__PURE__ */ jsxs(React__default.Fragment, { children: [
66562
+ line2,
66563
+ /* @__PURE__ */ jsx("br", {})
66564
+ ] }, index2));
66565
+ };
66560
66566
  const options = [
66561
66567
  { label: "All users", value: "all_users" },
66562
66568
  { label: "Admin only", value: "superusers_admin" }
@@ -66581,7 +66587,7 @@ const SettingField = ({
66581
66587
  }
66582
66588
  )
66583
66589
  ] }),
66584
- /* @__PURE__ */ jsx(Text, { muted: true, children: helpText })
66590
+ /* @__PURE__ */ jsx(Text, { muted: true, children: renderHelpText(helpText) })
66585
66591
  ] });
66586
66592
  };
66587
66593
  export {