react-better-html 1.1.195 → 1.1.196
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 +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -965,6 +965,8 @@ type SideMenuProps = {
|
|
|
965
965
|
collapsable?: boolean;
|
|
966
966
|
withCloseButton?: boolean;
|
|
967
967
|
widthMobileHandle?: boolean;
|
|
968
|
+
absoluteComponent?: React.ReactNode;
|
|
969
|
+
additionalComponent?: React.ReactNode;
|
|
968
970
|
/** @default backgroundContent */
|
|
969
971
|
backgroundColor?: React.CSSProperties["backgroundColor"];
|
|
970
972
|
paddingTop?: React.CSSProperties["paddingTop"];
|
package/dist/index.d.ts
CHANGED
|
@@ -965,6 +965,8 @@ type SideMenuProps = {
|
|
|
965
965
|
collapsable?: boolean;
|
|
966
966
|
withCloseButton?: boolean;
|
|
967
967
|
widthMobileHandle?: boolean;
|
|
968
|
+
absoluteComponent?: React.ReactNode;
|
|
969
|
+
additionalComponent?: React.ReactNode;
|
|
968
970
|
/** @default backgroundContent */
|
|
969
971
|
backgroundColor?: React.CSSProperties["backgroundColor"];
|
|
970
972
|
paddingTop?: React.CSSProperties["paddingTop"];
|
package/dist/index.js
CHANGED
|
@@ -9597,6 +9597,8 @@ var SideMenuComponent = function SideMenu({
|
|
|
9597
9597
|
collapsable,
|
|
9598
9598
|
withCloseButton,
|
|
9599
9599
|
widthMobileHandle,
|
|
9600
|
+
absoluteComponent,
|
|
9601
|
+
additionalComponent,
|
|
9600
9602
|
backgroundColor,
|
|
9601
9603
|
paddingTop
|
|
9602
9604
|
}) {
|
|
@@ -9708,6 +9710,7 @@ var SideMenuComponent = function SideMenu({
|
|
|
9708
9710
|
))
|
|
9709
9711
|
}
|
|
9710
9712
|
),
|
|
9713
|
+
additionalComponent,
|
|
9711
9714
|
isCollapsable && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
9712
9715
|
Div_default,
|
|
9713
9716
|
{
|
|
@@ -9773,7 +9776,8 @@ var SideMenuComponent = function SideMenu({
|
|
|
9773
9776
|
}
|
|
9774
9777
|
)
|
|
9775
9778
|
}
|
|
9776
|
-
)
|
|
9779
|
+
),
|
|
9780
|
+
absoluteComponent && /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Div_default, { position: "absolute", top: 0, left: 0, pointerEvents: "none", zIndex: 2, children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Div_default, { pointerEvents: "all", children: absoluteComponent }) })
|
|
9777
9781
|
]
|
|
9778
9782
|
}
|
|
9779
9783
|
);
|