react-better-html 1.1.136 → 1.1.138
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 +14 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3503,6 +3503,7 @@ var PageHolderComponent = forwardRef7(function PageHolder({ noMaxContentWidth, c
|
|
|
3503
3503
|
});
|
|
3504
3504
|
PageHolderComponent.center = forwardRef7(function Center({
|
|
3505
3505
|
pageBackgroundColor,
|
|
3506
|
+
contentMaxWidth,
|
|
3506
3507
|
sideImageSrc,
|
|
3507
3508
|
sideImageName,
|
|
3508
3509
|
sideImagePosition = "right",
|
|
@@ -3531,7 +3532,7 @@ PageHolderComponent.center = forwardRef7(function Center({
|
|
|
3531
3532
|
Div_default.box,
|
|
3532
3533
|
{
|
|
3533
3534
|
width: `calc(100% - ${theme2.styles.space}px * 2)`,
|
|
3534
|
-
maxWidth: !noMaxContentWidth ? app.contentMaxWidth / 2 : void 0,
|
|
3535
|
+
maxWidth: !noMaxContentWidth ? contentMaxWidth ?? app.contentMaxWidth / 2 : void 0,
|
|
3535
3536
|
marginInline: theme2.styles.space,
|
|
3536
3537
|
marginBlock: theme2.styles.space,
|
|
3537
3538
|
...props,
|
|
@@ -8213,6 +8214,7 @@ var TooltipComponent = forwardRef16(function Tooltip({
|
|
|
8213
8214
|
contentWidth,
|
|
8214
8215
|
contentMinWidth,
|
|
8215
8216
|
childrenWrapperWidth = "fit-content",
|
|
8217
|
+
childrenWrapperHeight,
|
|
8216
8218
|
withArrow,
|
|
8217
8219
|
isSmall,
|
|
8218
8220
|
backgroundColor,
|
|
@@ -8311,11 +8313,21 @@ var TooltipComponent = forwardRef16(function Tooltip({
|
|
|
8311
8313
|
{
|
|
8312
8314
|
position: "relative",
|
|
8313
8315
|
width: childrenWrapperWidth,
|
|
8316
|
+
height: childrenWrapperHeight,
|
|
8314
8317
|
onClick: onClickHolder,
|
|
8315
8318
|
onMouseEnter,
|
|
8316
8319
|
onMouseLeave,
|
|
8317
8320
|
children: [
|
|
8318
|
-
/* @__PURE__ */ jsx23(
|
|
8321
|
+
/* @__PURE__ */ jsx23(
|
|
8322
|
+
Div_default,
|
|
8323
|
+
{
|
|
8324
|
+
width: childrenWrapperWidth,
|
|
8325
|
+
height: childrenWrapperHeight,
|
|
8326
|
+
isTabAccessed,
|
|
8327
|
+
ref: triggerHolderRef,
|
|
8328
|
+
children
|
|
8329
|
+
}
|
|
8330
|
+
),
|
|
8319
8331
|
/* @__PURE__ */ jsx23(
|
|
8320
8332
|
TooltipContainer,
|
|
8321
8333
|
{
|