@trops/dash-react 1.0.33 → 1.0.34
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/package.json +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7034,7 +7034,7 @@ var SidebarContent = function SidebarContent(_ref2) {
|
|
|
7034
7034
|
_ref2$className = _ref2.className,
|
|
7035
7035
|
className = _ref2$className === void 0 ? "" : _ref2$className;
|
|
7036
7036
|
return /*#__PURE__*/jsx("div", {
|
|
7037
|
-
className: "flex flex-col flex-1 overflow-y-auto overflow-x-hidden p-2 space-y-1 scrollbar scrollbar-thumb-gray-700 scrollbar-thin scrollbar-track-transparent ".concat(className),
|
|
7037
|
+
className: "flex flex-col flex-1 min-w-0 overflow-y-auto overflow-x-hidden p-2 space-y-1 scrollbar scrollbar-thumb-gray-700 scrollbar-thin scrollbar-track-transparent ".concat(className),
|
|
7038
7038
|
children: children
|
|
7039
7039
|
});
|
|
7040
7040
|
};
|
|
@@ -7055,7 +7055,7 @@ var SidebarGroup = function SidebarGroup(_ref3) {
|
|
|
7055
7055
|
return /*#__PURE__*/jsxs("div", {
|
|
7056
7056
|
className: "flex flex-col space-y-1 ".concat(className),
|
|
7057
7057
|
children: [label && !collapsed && /*#__PURE__*/jsx("span", {
|
|
7058
|
-
className: "px-2 pt-3 pb-1 text-xs font-semibold uppercase tracking-wider ".concat(styles.textColor || "", " opacity-50"),
|
|
7058
|
+
className: "px-2 pt-3 pb-1 text-xs font-semibold uppercase tracking-wider whitespace-nowrap ".concat(styles.textColor || "", " opacity-50"),
|
|
7059
7059
|
children: label
|
|
7060
7060
|
}), label && collapsed && /*#__PURE__*/jsx("div", {
|
|
7061
7061
|
className: "border-t border-current opacity-10 mx-2 mt-2 mb-1"
|
|
@@ -7207,7 +7207,7 @@ var Sidebar = function Sidebar(_ref7) {
|
|
|
7207
7207
|
side: side
|
|
7208
7208
|
},
|
|
7209
7209
|
children: /*#__PURE__*/jsx("aside", {
|
|
7210
|
-
className: "flex flex-col flex-shrink-0 h-full ".concat(isCollapsed ? collapsedWidth : width, " ").concat(borderSide, " ").concat(styles.backgroundColor || "", " ").concat(styles.borderColor || "", " ").concat(styles.textColor || "", " ").concat(styles.transition || "transition-
|
|
7210
|
+
className: "flex flex-col flex-shrink-0 h-full ".concat(isCollapsed ? collapsedWidth : width, " ").concat(borderSide, " ").concat(styles.backgroundColor || "", " ").concat(styles.borderColor || "", " ").concat(styles.textColor || "", " ").concat(styles.transition || "transition-[width] duration-200", " overflow-hidden ").concat(className),
|
|
7211
7211
|
children: children
|
|
7212
7212
|
})
|
|
7213
7213
|
});
|