react-better-html 1.1.147 → 1.1.148
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +9 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +9 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
|
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,
|