react-better-html 1.1.135 → 1.1.136
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 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6494,7 +6494,6 @@ InputFieldComponent.dateTime = forwardRef11(function DateTime({ minDate, maxDate
|
|
|
6494
6494
|
const newTime = `${internalValue?.toString().split("T")?.[1]?.split(":")[0] || "00"}:${minute.toString().padStart(2, "0")}`;
|
|
6495
6495
|
const today = `${(/* @__PURE__ */ new Date()).getFullYear()}-${((/* @__PURE__ */ new Date()).getMonth() + 1).toString().padStart(2, "0")}-${(/* @__PURE__ */ new Date()).getDate().toString().padStart(2, "0")}`;
|
|
6496
6496
|
const newValue = `${(internalValue.trim() || today)?.toString().split("T")[0]}T${newTime}`;
|
|
6497
|
-
console.log(newValue);
|
|
6498
6497
|
inputFieldProps.onChangeValue?.(newValue);
|
|
6499
6498
|
setInternalValue(newValue);
|
|
6500
6499
|
},
|
|
@@ -8213,6 +8212,7 @@ var TooltipComponent = forwardRef16(function Tooltip({
|
|
|
8213
8212
|
content,
|
|
8214
8213
|
contentWidth,
|
|
8215
8214
|
contentMinWidth,
|
|
8215
|
+
childrenWrapperWidth = "fit-content",
|
|
8216
8216
|
withArrow,
|
|
8217
8217
|
isSmall,
|
|
8218
8218
|
backgroundColor,
|
|
@@ -8310,12 +8310,12 @@ var TooltipComponent = forwardRef16(function Tooltip({
|
|
|
8310
8310
|
Div_default,
|
|
8311
8311
|
{
|
|
8312
8312
|
position: "relative",
|
|
8313
|
-
width:
|
|
8313
|
+
width: childrenWrapperWidth,
|
|
8314
8314
|
onClick: onClickHolder,
|
|
8315
8315
|
onMouseEnter,
|
|
8316
8316
|
onMouseLeave,
|
|
8317
8317
|
children: [
|
|
8318
|
-
/* @__PURE__ */ jsx23(Div_default, { width:
|
|
8318
|
+
/* @__PURE__ */ jsx23(Div_default, { width: childrenWrapperWidth, isTabAccessed, ref: triggerHolderRef, children }),
|
|
8319
8319
|
/* @__PURE__ */ jsx23(
|
|
8320
8320
|
TooltipContainer,
|
|
8321
8321
|
{
|