@superdispatch/ui-lab 0.25.2 → 0.25.3
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-node/index.js
CHANGED
|
@@ -1750,7 +1750,7 @@ var Sidebar = /*#__PURE__*/react.forwardRef((_ref, ref) => {
|
|
|
1750
1750
|
id: id,
|
|
1751
1751
|
ref: ref,
|
|
1752
1752
|
children: [/*#__PURE__*/jsxRuntime.jsxs(SidebarHeader, {
|
|
1753
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(SidebarTitle, {
|
|
1753
|
+
children: [title && /*#__PURE__*/jsxRuntime.jsx(SidebarTitle, {
|
|
1754
1754
|
children: /*#__PURE__*/jsxRuntime.jsxs(ui.Columns, {
|
|
1755
1755
|
space: "xsmall",
|
|
1756
1756
|
align: "center",
|
|
@@ -2000,12 +2000,12 @@ var SidebarMenuItemRoot = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
2000
2000
|
hasAvatar
|
|
2001
2001
|
} = _ref;
|
|
2002
2002
|
var height = hasAvatar ? 48 : 40;
|
|
2003
|
-
return styled.css(["position:relative;& > .MuiButtonBase-root{width:100%;display:flex;justify-content:flex-start;padding-left:24px;padding-right:24px;height:", "px;max-height:", "px;&[aria-current='true']{background-color:", ";box-shadow:inset 4px 0 0 ", ";}}"], height, height, ui.Color.Silver200, ui.Color.Blue300);
|
|
2003
|
+
return styled.css(["position:relative;& > .MuiButtonBase-root{width:100%;display:flex;justify-content:flex-start;padding-left:24px;padding-right:24px;height:", "px;max-height:", "px;&[aria-current='true']{background-color:", ";box-shadow:inset 4px 0 0 ", ";}&:hover{background-color:", ";}}"], height, height, ui.Color.Silver200, ui.Color.Blue300, ui.Color.Silver200);
|
|
2004
2004
|
});
|
|
2005
2005
|
var SidebarMenuItemBadge = /*#__PURE__*/styled__default.div.withConfig({
|
|
2006
2006
|
displayName: "SidebarMenuItem__SidebarMenuItemBadge",
|
|
2007
2007
|
componentId: "SD__sc-1sb5zqa-1"
|
|
2008
|
-
})(["font-size:12px;font-weight:500;line-height:16px;padding-left:4px;padding-right:4px;border-radius:100px;color:", ";background-color:", "
|
|
2008
|
+
})(["font-size:12px;font-weight:500;line-height:16px;padding-left:4px;padding-right:4px;border-radius:100px;color:", ";background-color:", ";"], ui.Color.Dark500, ui.Color.Silver400);
|
|
2009
2009
|
var SidebarMenuItemSecondaryAction = /*#__PURE__*/styled__default.div.withConfig({
|
|
2010
2010
|
displayName: "SidebarMenuItem__SidebarMenuItemSecondaryAction",
|
|
2011
2011
|
componentId: "SD__sc-1sb5zqa-2"
|