myoperator-ui 0.0.184 → 0.0.185

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 +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2234,11 +2234,11 @@ const SelectField = React.forwardRef<HTMLButtonElement, SelectFieldProps>(
2234
2234
  // no-op.
2235
2235
  const handleItemClick = React.useCallback(
2236
2236
  (option: SelectOption) => {
2237
- if (option.value === value && onSelect) {
2238
- onSelect(option);
2237
+ if (option.value === value) {
2238
+ handleValueChange(option.value);
2239
2239
  }
2240
2240
  },
2241
- [value, onSelect]
2241
+ [value, handleValueChange]
2242
2242
  );
2243
2243
 
2244
2244
  // Derive state from props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "myoperator-ui",
3
- "version": "0.0.184",
3
+ "version": "0.0.185",
4
4
  "description": "CLI for adding myOperator UI components to your project",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",