File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 109109
110110 & --disabled {
111111 cursor : not-allowed ;
112- color : rgb ( var ( --neeto-ui-gray-500 )) ;
112+ opacity : 0.5 ;
113113 }
114114
115- & :hover:not (:disabled ),
116- & :focus {
115+ & :hover:not (:disabled ):not ( .neeto-ui-dropdown__popup-menu-item-btn--active ) ,
116+ & :focus:not ( :disabled ) :not ( .neeto-ui-dropdown__popup-menu-item-btn--active ) {
117117 background-color : rgb (var (--neeto-ui-gray-200 ));
118118 }
119119
120- & --active :not ( :hover , :focus ) {
121- background-color : rgb (var (--neeto-ui-gray-800 ));
120+ & --active {
121+ background-color : rgb (var (--neeto-ui-primary-500 ));
122122 color : rgb (var (--neeto-ui-white ));
123123 }
124124
Original file line number Diff line number Diff line change @@ -56,6 +56,8 @@ export const Default = (args) => {
5656 { listItems . map ( ( item , idx ) => (
5757 < MenuItem . Button key = { idx } > { item } </ MenuItem . Button >
5858 ) ) }
59+ < MenuItem . Button isActive > Active</ MenuItem . Button >
60+ < MenuItem . Button isDisabled > Disabled</ MenuItem . Button >
5961 < Divider />
6062 < MenuItem . Button style = "danger" > Delete</ MenuItem . Button >
6163 </ Menu >
You can’t perform that action at this time.
0 commit comments