scorer-ui-kit 3.0.6 → 3.0.7
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextItem.d.ts","sourceRoot":"","sources":["../../../src/Global/atoms/ContextItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ContextItem.d.ts","sourceRoot":"","sources":["../../../src/Global/atoms/ContextItem.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAsL1B,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB,eAAe,CAAC,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,CAAC;CAC5C;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CA8DjC,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -15351,6 +15351,8 @@ var ContextActionButton = styled_components.default.button`
|
|
|
15351
15351
|
}
|
|
15352
15352
|
|
|
15353
15353
|
${({ $isActive }) => $isActive && styled_components.css`
|
|
15354
|
+
color: var(--grey-12);
|
|
15355
|
+
|
|
15354
15356
|
${ContextIcon},
|
|
15355
15357
|
&:hover ${ContextIcon}{
|
|
15356
15358
|
background-color: var(--global-menu-icon-background-active);
|
|
@@ -15376,7 +15378,8 @@ var ContextItem = ({ hasSubmenu = false, contextKey = -1, submenuOpen, menuOpen,
|
|
|
15376
15378
|
color: "dimmed"
|
|
15377
15379
|
}) }) : null
|
|
15378
15380
|
] });
|
|
15379
|
-
if (hasSubmenu) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ContextActionButton, {
|
|
15381
|
+
if (hasSubmenu || !href && !isExternalLink) return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(ContextActionButton, {
|
|
15382
|
+
type: "button",
|
|
15380
15383
|
$menuOpen: menuOpen,
|
|
15381
15384
|
$isActive: isActive,
|
|
15382
15385
|
onClick: () => onClickCallback?.(contextKey),
|