@boomerang-io/carbon-addons-boomerang-react 4.6.5-beta.13 → 4.6.5-beta.14
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.
|
@@ -82,7 +82,7 @@ function InstanceSwitcherMenu(props) {
|
|
|
82
82
|
if (!props.enabled) {
|
|
83
83
|
return null;
|
|
84
84
|
}
|
|
85
|
-
return (React__default.default.createElement("div", { style: { position: "relative" }, ref: ref },
|
|
85
|
+
return (React__default.default.createElement("div", { className: `${settings.prefix}--bmrg-header-instance-switcher`, style: { position: "relative" }, ref: ref },
|
|
86
86
|
React__default.default.createElement("button", { "aria-controls": MenuListId.instanceSwitcher, "aria-expanded": isOpen, "aria-haspopup": "menu", "aria-label": MenuAriaLabelRecord.instanceSwitcher, className: headerButtonClassNames, "data-testid": "header-instanceSwitcher-link", id: MenuButtonId.InstanceSwitcher, onClick: toggleActive },
|
|
87
87
|
React__default.default.createElement(icons.Help, { size: 20 })),
|
|
88
88
|
isOpen ? (React__default.default.createElement(HeaderMenu.default, { "aria-labelledby": MenuButtonId.InstanceSwitcher, id: MenuListId.instanceSwitcher },
|
|
@@ -74,7 +74,7 @@ function InstanceSwitcherMenu(props) {
|
|
|
74
74
|
if (!props.enabled) {
|
|
75
75
|
return null;
|
|
76
76
|
}
|
|
77
|
-
return (React.createElement("div", { style: { position: "relative" }, ref: ref },
|
|
77
|
+
return (React.createElement("div", { className: `${prefix}--bmrg-header-instance-switcher`, style: { position: "relative" }, ref: ref },
|
|
78
78
|
React.createElement("button", { "aria-controls": MenuListId.instanceSwitcher, "aria-expanded": isOpen, "aria-haspopup": "menu", "aria-label": MenuAriaLabelRecord.instanceSwitcher, className: headerButtonClassNames, "data-testid": "header-instanceSwitcher-link", id: MenuButtonId.InstanceSwitcher, onClick: toggleActive },
|
|
79
79
|
React.createElement(Help, { size: 20 })),
|
|
80
80
|
isOpen ? (React.createElement(HeaderMenu, { "aria-labelledby": MenuButtonId.InstanceSwitcher, id: MenuListId.instanceSwitcher },
|
package/package.json
CHANGED
|
@@ -115,7 +115,11 @@ IBM Confidential
|
|
|
115
115
|
align-items: center;
|
|
116
116
|
font-size: 10px;
|
|
117
117
|
}
|
|
118
|
-
|
|
118
|
+
.#{$prefix}--bmrg-header-instance-switcher .cds--bmrg-header-drop-down a.cds--header__menu-item
|
|
119
|
+
{
|
|
120
|
+
padding: 10px 15px !important;
|
|
121
|
+
border-bottom: 1px solid lightgrey !important;
|
|
122
|
+
}
|
|
119
123
|
// span, p, a, div {
|
|
120
124
|
// color: shell.$bmrg-theme-primary;
|
|
121
125
|
// &:hover {
|
|
@@ -142,10 +146,8 @@ a.#{$prefix}--header__menu-item {
|
|
|
142
146
|
color: shell.$bmrg-theme-primary !important;
|
|
143
147
|
background-color: shell.$bmrg-theme-active !important;
|
|
144
148
|
}
|
|
145
|
-
|
|
146
|
-
border-bottom: 1px solid lightgrey !important;
|
|
149
|
+
|
|
147
150
|
}
|
|
148
|
-
|
|
149
151
|
a.#{$prefix}--side-nav__link {
|
|
150
152
|
color: shell.$bmrg-theme-secondary;
|
|
151
153
|
&--current {
|