@superdispatch/ui-lab 0.37.1 → 0.38.0
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
|
@@ -668,6 +668,8 @@ var normalizeTextColor = /*#__PURE__*/createRuleNormalizer({
|
|
|
668
668
|
primary: ui.ColorDynamic.Dark500,
|
|
669
669
|
secondary: ui.ColorDynamic.Dark300,
|
|
670
670
|
'light-gray': ui.ColorDynamic.Dark100,
|
|
671
|
+
//*deprecated use disabled instead
|
|
672
|
+
disabled: ui.ColorDynamic.Dark100,
|
|
671
673
|
white: ui.ColorDynamic.White,
|
|
672
674
|
blue: ui.ColorDynamic.Blue500,
|
|
673
675
|
green: ui.ColorDynamic.Green500,
|
|
@@ -1938,10 +1940,13 @@ var SidebarMenuItemRoot = /*#__PURE__*/styled__default.div.withConfig({
|
|
|
1938
1940
|
componentId: "SD__sc-1sb5zqa-0"
|
|
1939
1941
|
})(_ref => {
|
|
1940
1942
|
var {
|
|
1941
|
-
hasAvatar
|
|
1943
|
+
hasAvatar,
|
|
1944
|
+
theme
|
|
1942
1945
|
} = _ref;
|
|
1943
1946
|
var height = hasAvatar ? 48 : 40;
|
|
1944
|
-
|
|
1947
|
+
var mode = theme.palette.type;
|
|
1948
|
+
var color = mode === 'dark' ? core.alpha(ui.Color.White, 0.08) : ui.ColorDynamic.Silver200;
|
|
1949
|
+
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, color, ui.ColorDynamic.Blue300, color);
|
|
1945
1950
|
});
|
|
1946
1951
|
var SidebarMenuItemBadge = /*#__PURE__*/styled__default.div.withConfig({
|
|
1947
1952
|
displayName: "SidebarMenuItem__SidebarMenuItemBadge",
|