mithril-materialized 3.4.1 → 3.4.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/dist/index.esm.js +0 -2
- package/dist/index.js +0 -2
- package/dist/index.umd.js +0 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -6081,7 +6081,6 @@ const Select = () => {
|
|
|
6081
6081
|
}
|
|
6082
6082
|
};
|
|
6083
6083
|
const closeDropdown = (e) => {
|
|
6084
|
-
console.log('select closeDropdown called');
|
|
6085
6084
|
if (!state.isMultiple) {
|
|
6086
6085
|
state.isOpen = false;
|
|
6087
6086
|
return;
|
|
@@ -6091,7 +6090,6 @@ const Select = () => {
|
|
|
6091
6090
|
const isClickInsideSelect = target.closest('.input-field.select-space');
|
|
6092
6091
|
const isClickInsidePortalDropdown = state.isInsideModal && state.dropdownRef && (state.dropdownRef.contains(target) || target === state.dropdownRef);
|
|
6093
6092
|
if (!isClickInsideSelect && !isClickInsidePortalDropdown) {
|
|
6094
|
-
console.log('select closeDropdown called: set state');
|
|
6095
6093
|
state.isOpen = false;
|
|
6096
6094
|
}
|
|
6097
6095
|
};
|
package/dist/index.js
CHANGED
|
@@ -6083,7 +6083,6 @@ const Select = () => {
|
|
|
6083
6083
|
}
|
|
6084
6084
|
};
|
|
6085
6085
|
const closeDropdown = (e) => {
|
|
6086
|
-
console.log('select closeDropdown called');
|
|
6087
6086
|
if (!state.isMultiple) {
|
|
6088
6087
|
state.isOpen = false;
|
|
6089
6088
|
return;
|
|
@@ -6093,7 +6092,6 @@ const Select = () => {
|
|
|
6093
6092
|
const isClickInsideSelect = target.closest('.input-field.select-space');
|
|
6094
6093
|
const isClickInsidePortalDropdown = state.isInsideModal && state.dropdownRef && (state.dropdownRef.contains(target) || target === state.dropdownRef);
|
|
6095
6094
|
if (!isClickInsideSelect && !isClickInsidePortalDropdown) {
|
|
6096
|
-
console.log('select closeDropdown called: set state');
|
|
6097
6095
|
state.isOpen = false;
|
|
6098
6096
|
}
|
|
6099
6097
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -6085,7 +6085,6 @@
|
|
|
6085
6085
|
}
|
|
6086
6086
|
};
|
|
6087
6087
|
const closeDropdown = (e) => {
|
|
6088
|
-
console.log('select closeDropdown called');
|
|
6089
6088
|
if (!state.isMultiple) {
|
|
6090
6089
|
state.isOpen = false;
|
|
6091
6090
|
return;
|
|
@@ -6095,7 +6094,6 @@
|
|
|
6095
6094
|
const isClickInsideSelect = target.closest('.input-field.select-space');
|
|
6096
6095
|
const isClickInsidePortalDropdown = state.isInsideModal && state.dropdownRef && (state.dropdownRef.contains(target) || target === state.dropdownRef);
|
|
6097
6096
|
if (!isClickInsideSelect && !isClickInsidePortalDropdown) {
|
|
6098
|
-
console.log('select closeDropdown called: set state');
|
|
6099
6097
|
state.isOpen = false;
|
|
6100
6098
|
}
|
|
6101
6099
|
};
|