@meduza/ui-kit-2 0.7.7 → 0.7.9
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/ui-kit-2.cjs.development.js +4 -2
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +4 -2
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +21 -3
- package/package.json +1 -1
- package/src/Dropdown/Dropdown.module.css +22 -3
- package/src/Dropdown/index.tsx +2 -1
|
@@ -903,7 +903,7 @@ const MaterialTitle = ({
|
|
|
903
903
|
}, children);
|
|
904
904
|
};
|
|
905
905
|
|
|
906
|
-
var styles$u = {"root":"Dropdown-module_root__Wv7S-","
|
|
906
|
+
var styles$u = {"root":"Dropdown-module_root__Wv7S-","menu":"Dropdown-module_menu__11IQL","inactive":"Dropdown-module_inactive__E5CP6","isInAudioPanel":"Dropdown-module_isInAudioPanel__UniSV"};
|
|
907
907
|
|
|
908
908
|
const Menu = ({
|
|
909
909
|
children
|
|
@@ -918,7 +918,9 @@ const Dropdown = ({
|
|
|
918
918
|
active,
|
|
919
919
|
styleContext
|
|
920
920
|
}) => {
|
|
921
|
-
let classNames = [[styles$u.root, true],
|
|
921
|
+
let classNames = [[styles$u.root, true],
|
|
922
|
+
// [styles.active, !!active && !!styles.active],
|
|
923
|
+
[styles$u.inactive, !active && !!styles$u.inactive]];
|
|
922
924
|
if (styleContext) {
|
|
923
925
|
classNames = makeStyleContext(classNames, styleContext, styles$u);
|
|
924
926
|
}
|