agroptima-design-system 0.21.2 → 0.21.3-beta.2
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/package.json
CHANGED
|
@@ -57,7 +57,10 @@
|
|
|
57
57
|
&.primary {
|
|
58
58
|
background: color_alias.$neutral-white;
|
|
59
59
|
border-bottom: 1px solid color_alias.$neutral-color-200;
|
|
60
|
-
|
|
60
|
+
&:has(+ .active) {
|
|
61
|
+
// Remove border-bottom if next sibling is active
|
|
62
|
+
border-bottom: 1px solid transparent;
|
|
63
|
+
}
|
|
61
64
|
&.active {
|
|
62
65
|
background-color: transparent;
|
|
63
66
|
border-top: 1px solid color_alias.$primary-color-600;
|
package/src/atoms/Menu/Menu.scss
CHANGED
|
@@ -23,12 +23,10 @@ export function MenuDropdown({
|
|
|
23
23
|
name,
|
|
24
24
|
...props
|
|
25
25
|
}: MenuDropdownProps): React.JSX.Element {
|
|
26
|
-
const cssClasses = classNames('menu-item', variant, className)
|
|
27
|
-
|
|
28
26
|
return (
|
|
29
27
|
<li tabIndex={0} role="menuitem" className="menu-dropdown" {...props}>
|
|
30
28
|
<details open={isOpen} name={name}>
|
|
31
|
-
<summary className={
|
|
29
|
+
<summary className={classNames('menu-item', variant, className)}>
|
|
32
30
|
{icon && <Icon name={icon} />}
|
|
33
31
|
<span className="title">{title}</span>
|
|
34
32
|
<Icon className="arrow" name="AngleDown" />
|