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.js
CHANGED
|
@@ -8113,11 +8113,11 @@ var MenuItemTypeDivider = (0, import_react31.memo)(function MenuItemTypeDivider2
|
|
|
8113
8113
|
Div_default.row,
|
|
8114
8114
|
{
|
|
8115
8115
|
maxHeight: !isCollapsed ? 30 : 0,
|
|
8116
|
-
paddingTop: !isCollapsed ? theme2.styles.space : theme2.styles.gap
|
|
8116
|
+
paddingTop: !isCollapsed ? theme2.styles.space : theme2.styles.gap,
|
|
8117
8117
|
paddingInline: theme2.styles.gap,
|
|
8118
8118
|
overflow: "hidden",
|
|
8119
8119
|
transition: `max-height ${theme2.styles.transition}, padding-top ${theme2.styles.transition}`,
|
|
8120
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
8120
|
+
children: sideMenuIsCollapsed && item.shortText || !sideMenuIsCollapsed ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
8121
8121
|
Text_default,
|
|
8122
8122
|
{
|
|
8123
8123
|
width: "100%",
|
|
@@ -8129,7 +8129,7 @@ var MenuItemTypeDivider = (0, import_react31.memo)(function MenuItemTypeDivider2
|
|
|
8129
8129
|
whiteSpace: "nowrap",
|
|
8130
8130
|
children: sideMenuIsCollapsed ? item.shortText : item.text
|
|
8131
8131
|
}
|
|
8132
|
-
)
|
|
8132
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(Divider_default.horizontal, {})
|
|
8133
8133
|
}
|
|
8134
8134
|
);
|
|
8135
8135
|
});
|