react-better-html 1.1.147 → 1.1.149

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.mjs CHANGED
@@ -6899,6 +6899,7 @@ var ToggleInputComponent = forwardRef12(function ToggleInput({
6899
6899
  label,
6900
6900
  labelColor,
6901
6901
  text,
6902
+ textAdvanced,
6902
6903
  errorText,
6903
6904
  infoText,
6904
6905
  value,
@@ -6980,13 +6981,19 @@ var ToggleInputComponent = forwardRef12(function ToggleInput({
6980
6981
  }
6981
6982
  ) : void 0
6982
6983
  ] }),
6983
- text && /* @__PURE__ */ jsxs13(Text_default, { color, userSelect: "none", cursor: "pointer", onClick: onClickText, children: [
6984
+ text ? /* @__PURE__ */ jsxs13(Text_default, { color, userSelect: "none", cursor: "pointer", onClick: onClickText, children: [
6984
6985
  text,
6985
6986
  required && !label && /* @__PURE__ */ jsxs13(Text_default, { as: "span", fontSize: 16, color: theme2.colors.error, children: [
6986
6987
  " ",
6987
6988
  "*"
6988
6989
  ] })
6989
- ] })
6990
+ ] }) : textAdvanced ? /* @__PURE__ */ jsxs13(Div_default.row, { userSelect: "none", cursor: "pointer", onClick: onClickText, children: [
6991
+ textAdvanced,
6992
+ required && !label && /* @__PURE__ */ jsxs13(Text_default, { as: "span", fontSize: 16, color: theme2.colors.error, marginLeft: 4, children: [
6993
+ " ",
6994
+ "*"
6995
+ ] })
6996
+ ] }) : void 0
6990
6997
  ] }),
6991
6998
  (errorText || infoText) && /* @__PURE__ */ jsx18(
6992
6999
  Text_default,
@@ -7950,7 +7957,7 @@ var TableComponent = forwardRef15(function Table({
7950
7957
  }
7951
7958
  ),
7952
7959
  expandedRows[rowIndex] && /* @__PURE__ */ jsx22("tr", { className: "withoutHover isExpandRow", children: /* @__PURE__ */ jsx22("td", { colSpan: columns.length, children: renderExpandedRow(item, rowIndex) }) })
7953
- ] }, JSON.stringify(item) + rowIndex)) : /* @__PURE__ */ jsx22("tr", { className: "withoutHover", children: /* @__PURE__ */ jsx22("td", { className: "noData", colSpan: columns.length, children: /* @__PURE__ */ jsx22(Text_default.unknown, { children: noDataItemsMessage }) }) }) }),
7960
+ ] }, JSON.stringify(item) + rowIndex + getRowStyle)) : /* @__PURE__ */ jsx22("tr", { className: "withoutHover", children: /* @__PURE__ */ jsx22("td", { className: "noData", colSpan: columns.length, children: /* @__PURE__ */ jsx22(Text_default.unknown, { children: noDataItemsMessage }) }) }) }),
7954
7961
  withFooter && /* @__PURE__ */ jsx22("tfoot", { children: /* @__PURE__ */ jsx22("tr", { className: "isFooter", children: /* @__PURE__ */ jsx22("td", { colSpan: columns.length, children: /* @__PURE__ */ jsxs17(
7955
7962
  Div_default.column,
7956
7963
  {