react-better-html 1.1.274 → 1.1.275
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.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8080,11 +8080,11 @@ var MenuItemTypeDivider = memo27(function MenuItemTypeDivider2({ item }) {
|
|
|
8080
8080
|
Div_default.row,
|
|
8081
8081
|
{
|
|
8082
8082
|
maxHeight: !isCollapsed ? 30 : 0,
|
|
8083
|
-
paddingTop: !isCollapsed ? theme2.styles.space : theme2.styles.gap
|
|
8083
|
+
paddingTop: !isCollapsed ? theme2.styles.space : theme2.styles.gap,
|
|
8084
8084
|
paddingInline: theme2.styles.gap,
|
|
8085
8085
|
overflow: "hidden",
|
|
8086
8086
|
transition: `max-height ${theme2.styles.transition}, padding-top ${theme2.styles.transition}`,
|
|
8087
|
-
children: /* @__PURE__ */ jsx27(
|
|
8087
|
+
children: sideMenuIsCollapsed && item.shortText || !sideMenuIsCollapsed ? /* @__PURE__ */ jsx27(
|
|
8088
8088
|
Text_default,
|
|
8089
8089
|
{
|
|
8090
8090
|
width: "100%",
|
|
@@ -8096,7 +8096,7 @@ var MenuItemTypeDivider = memo27(function MenuItemTypeDivider2({ item }) {
|
|
|
8096
8096
|
whiteSpace: "nowrap",
|
|
8097
8097
|
children: sideMenuIsCollapsed ? item.shortText : item.text
|
|
8098
8098
|
}
|
|
8099
|
-
)
|
|
8099
|
+
) : /* @__PURE__ */ jsx27(Divider_default.horizontal, {})
|
|
8100
8100
|
}
|
|
8101
8101
|
);
|
|
8102
8102
|
});
|