react-better-html 1.1.135 → 1.1.137

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
@@ -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,8 @@ var TooltipComponent = forwardRef16(function Tooltip({
8213
8212
  content,
8214
8213
  contentWidth,
8215
8214
  contentMinWidth,
8215
+ childrenWrapperWidth = "fit-content",
8216
+ childrenWrapperHeight,
8216
8217
  withArrow,
8217
8218
  isSmall,
8218
8219
  backgroundColor,
@@ -8310,12 +8311,22 @@ var TooltipComponent = forwardRef16(function Tooltip({
8310
8311
  Div_default,
8311
8312
  {
8312
8313
  position: "relative",
8313
- width: "fit-content",
8314
+ width: childrenWrapperWidth,
8315
+ height: childrenWrapperHeight,
8314
8316
  onClick: onClickHolder,
8315
8317
  onMouseEnter,
8316
8318
  onMouseLeave,
8317
8319
  children: [
8318
- /* @__PURE__ */ jsx23(Div_default, { width: "fit-content", isTabAccessed, ref: triggerHolderRef, children }),
8320
+ /* @__PURE__ */ jsx23(
8321
+ Div_default,
8322
+ {
8323
+ width: childrenWrapperWidth,
8324
+ height: childrenWrapperHeight,
8325
+ isTabAccessed,
8326
+ ref: triggerHolderRef,
8327
+ children
8328
+ }
8329
+ ),
8319
8330
  /* @__PURE__ */ jsx23(
8320
8331
  TooltipContainer,
8321
8332
  {