@equinor/cpl-top-bar-react 0.3.2 → 0.3.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/index.js +1 -13
- package/dist/index.mjs +1 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -63,7 +63,7 @@ function TopBar({
|
|
|
63
63
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(StyledEDSTopBar, { children: [
|
|
64
64
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_eds_core_react.TopBar.Header, { style: { padding: 0 }, children: [
|
|
65
65
|
hasSideMenu && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
66
|
-
|
|
66
|
+
import_eds_core_react.Button,
|
|
67
67
|
{
|
|
68
68
|
variant: "ghost_icon",
|
|
69
69
|
"aria-label": "menu action",
|
|
@@ -112,14 +112,6 @@ var StyledLink = import_styled_components.default.a`
|
|
|
112
112
|
gap: 0.3rem;
|
|
113
113
|
text-decoration: none;
|
|
114
114
|
color: ${import_eds_tokens.tokens.colors.text.static_icons__default.rgba};
|
|
115
|
-
`;
|
|
116
|
-
var ThemedButton = (0, import_styled_components.default)(import_eds_core_react.Button)`
|
|
117
|
-
&:hover {
|
|
118
|
-
color: var(--button-hover);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
115
|
`;
|
|
124
116
|
|
|
125
117
|
// src/FeedbackLink/FeedbackLink.tsx
|
|
@@ -262,10 +254,6 @@ var StyledUserButton = (0, import_styled_components2.default)(import_eds_core_re
|
|
|
262
254
|
font-weight: bold;
|
|
263
255
|
width: 32px;
|
|
264
256
|
height: 32px;
|
|
265
|
-
|
|
266
|
-
&:hover {
|
|
267
|
-
background-color: var(--button-hover, rgba(0, 79, 85, 1));
|
|
268
|
-
}
|
|
269
257
|
`;
|
|
270
258
|
var IconAndTextWrapper = (0, import_styled_components2.default)(import_eds_core_react3.Menu.Item)`
|
|
271
259
|
display: flex;
|
package/dist/index.mjs
CHANGED
|
@@ -24,7 +24,7 @@ function TopBar({
|
|
|
24
24
|
return /* @__PURE__ */ jsxs(StyledEDSTopBar, { children: [
|
|
25
25
|
/* @__PURE__ */ jsxs(EDSTopBar.Header, { style: { padding: 0 }, children: [
|
|
26
26
|
hasSideMenu && /* @__PURE__ */ jsx(
|
|
27
|
-
|
|
27
|
+
Button,
|
|
28
28
|
{
|
|
29
29
|
variant: "ghost_icon",
|
|
30
30
|
"aria-label": "menu action",
|
|
@@ -73,14 +73,6 @@ var StyledLink = styled.a`
|
|
|
73
73
|
gap: 0.3rem;
|
|
74
74
|
text-decoration: none;
|
|
75
75
|
color: ${tokens.colors.text.static_icons__default.rgba};
|
|
76
|
-
`;
|
|
77
|
-
var ThemedButton = styled(Button)`
|
|
78
|
-
&:hover {
|
|
79
|
-
color: var(--button-hover);
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
76
|
`;
|
|
85
77
|
|
|
86
78
|
// src/FeedbackLink/FeedbackLink.tsx
|
|
@@ -223,10 +215,6 @@ var StyledUserButton = styled2(Button2)`
|
|
|
223
215
|
font-weight: bold;
|
|
224
216
|
width: 32px;
|
|
225
217
|
height: 32px;
|
|
226
|
-
|
|
227
|
-
&:hover {
|
|
228
|
-
background-color: var(--button-hover, rgba(0, 79, 85, 1));
|
|
229
|
-
}
|
|
230
218
|
`;
|
|
231
219
|
var IconAndTextWrapper = styled2(Menu.Item)`
|
|
232
220
|
display: flex;
|