@sebgroup/green-react 3.4.0 → 3.4.1

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/index.esm.js +1 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -2315,8 +2315,7 @@ const Dropdown = _a => {
2315
2315
  } = _a,
2316
2316
  props = __rest(_a, ["compareWith", "display", "id", "informationLabel", "label", "multiSelect", "onChange", "options", "searchFilter", "searchable", "texts", "useValue", "validator", "value", "syncPopoverWidth"]);
2317
2317
  const handleOnChange = e => {
2318
- var _a;
2319
- if ((_a = e.detail) === null || _a === void 0 ? void 0 : _a.value) {
2318
+ if ('value' in e.detail) {
2320
2319
  onChange === null || onChange === void 0 ? void 0 : onChange(e.detail.value);
2321
2320
  }
2322
2321
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebgroup/green-react",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
4
4
  "peerDependencies": {
5
5
  "react": "^17 || ^18",
6
6
  "react-dom": "^17 || ^18"