arengibook 2.4.679 → 2.4.680

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -36633,8 +36633,10 @@ var Dropdown = function Dropdown(props) {
36633
36633
  setIsEditing(false);
36634
36634
  }
36635
36635
  clickedFromList.current = false;
36636
- if (onChange) {
36637
- onChange(newValue);
36636
+ if (typeof onChange === 'function') {
36637
+ onChange(e);
36638
+ } else if (typeof onChange === 'string' && typeof window[onChange] === 'function') {
36639
+ window[onChange](e);
36638
36640
  }
36639
36641
  };
36640
36642
  var groupedItemTemplate = function groupedItemTemplate(option) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "arengibook",
3
3
  "private": false,
4
- "version": "2.4.679",
4
+ "version": "2.4.680",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
7
7
  "exports": {