react-better-html 1.1.136 → 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.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +12 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -758,6 +758,7 @@ type TooltipProps = {
|
|
|
758
758
|
contentMinWidth?: React.CSSProperties["minWidth"];
|
|
759
759
|
/** @default "fit-content" */
|
|
760
760
|
childrenWrapperWidth?: React.CSSProperties["width"];
|
|
761
|
+
childrenWrapperHeight?: React.CSSProperties["height"];
|
|
761
762
|
withArrow?: boolean;
|
|
762
763
|
isSmall?: boolean;
|
|
763
764
|
backgroundColor?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -758,6 +758,7 @@ type TooltipProps = {
|
|
|
758
758
|
contentMinWidth?: React.CSSProperties["minWidth"];
|
|
759
759
|
/** @default "fit-content" */
|
|
760
760
|
childrenWrapperWidth?: React.CSSProperties["width"];
|
|
761
|
+
childrenWrapperHeight?: React.CSSProperties["height"];
|
|
761
762
|
withArrow?: boolean;
|
|
762
763
|
isSmall?: boolean;
|
|
763
764
|
backgroundColor?: string;
|
package/dist/index.js
CHANGED
|
@@ -8289,6 +8289,7 @@ var TooltipComponent = (0, import_react26.forwardRef)(function Tooltip({
|
|
|
8289
8289
|
contentWidth,
|
|
8290
8290
|
contentMinWidth,
|
|
8291
8291
|
childrenWrapperWidth = "fit-content",
|
|
8292
|
+
childrenWrapperHeight,
|
|
8292
8293
|
withArrow,
|
|
8293
8294
|
isSmall,
|
|
8294
8295
|
backgroundColor,
|
|
@@ -8387,11 +8388,21 @@ var TooltipComponent = (0, import_react26.forwardRef)(function Tooltip({
|
|
|
8387
8388
|
{
|
|
8388
8389
|
position: "relative",
|
|
8389
8390
|
width: childrenWrapperWidth,
|
|
8391
|
+
height: childrenWrapperHeight,
|
|
8390
8392
|
onClick: onClickHolder,
|
|
8391
8393
|
onMouseEnter,
|
|
8392
8394
|
onMouseLeave,
|
|
8393
8395
|
children: [
|
|
8394
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
8396
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
8397
|
+
Div_default,
|
|
8398
|
+
{
|
|
8399
|
+
width: childrenWrapperWidth,
|
|
8400
|
+
height: childrenWrapperHeight,
|
|
8401
|
+
isTabAccessed,
|
|
8402
|
+
ref: triggerHolderRef,
|
|
8403
|
+
children
|
|
8404
|
+
}
|
|
8405
|
+
),
|
|
8395
8406
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
8396
8407
|
TooltipContainer,
|
|
8397
8408
|
{
|