react-better-html 1.1.185 → 1.1.186
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 +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -9432,6 +9432,7 @@ var SideMenuComponent = function SideMenu({
|
|
|
9432
9432
|
logoText,
|
|
9433
9433
|
logoFontFamily,
|
|
9434
9434
|
collapsable,
|
|
9435
|
+
withCloseButton,
|
|
9435
9436
|
widthMobileHandle
|
|
9436
9437
|
}) {
|
|
9437
9438
|
const theme2 = useTheme();
|
|
@@ -9465,7 +9466,7 @@ var SideMenuComponent = function SideMenu({
|
|
|
9465
9466
|
zIndex: 11,
|
|
9466
9467
|
children: [
|
|
9467
9468
|
/* @__PURE__ */ jsxs22(Div_default.column, { width: "100%", height: "100%", gap: theme2.styles.space, children: [
|
|
9468
|
-
(logoAssetName || logoUrl || mediaQuery.size1000) && /* @__PURE__ */ jsxs22(Div_default.row, { alignItems: "center", children: [
|
|
9469
|
+
(logoAssetName || logoUrl || withCloseButton && mediaQuery.size1000) && /* @__PURE__ */ jsxs22(Div_default.row, { alignItems: "center", children: [
|
|
9469
9470
|
(logoAssetName || logoUrl) && /* @__PURE__ */ jsx26(LinkComponentTag, { to: "/", href: "/", onClick: onClickXButton, children: /* @__PURE__ */ jsxs22(
|
|
9470
9471
|
Div_default.row,
|
|
9471
9472
|
{
|
|
@@ -9500,7 +9501,7 @@ var SideMenuComponent = function SideMenu({
|
|
|
9500
9501
|
]
|
|
9501
9502
|
}
|
|
9502
9503
|
) }),
|
|
9503
|
-
mediaQuery.size1000 && /* @__PURE__ */ jsx26(Button_default.icon, { icon: "XMark", marginLeft: "auto", onClick: onClickXButton })
|
|
9504
|
+
withCloseButton && mediaQuery.size1000 && /* @__PURE__ */ jsx26(Button_default.icon, { icon: "XMark", marginLeft: "auto", onClick: onClickXButton })
|
|
9504
9505
|
] }),
|
|
9505
9506
|
/* @__PURE__ */ jsx26(Div_default.column, { gap: theme2.styles.gap / 2, children: readyItems.map((item) => /* @__PURE__ */ jsx26(MenuItemComponent, { item, onClick: onClickXButton }, item.text)) }),
|
|
9506
9507
|
collapsable && !mediaQuery.size1000 && /* @__PURE__ */ jsx26(
|