@majoo-ui/react 1.59.6-rc.8 → 1.59.6-rc.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/index.esm.js CHANGED
@@ -11758,8 +11758,10 @@ const InputSelect = /*#__PURE__*/React.forwardRef((_a, ref) => {
11758
11758
  selectedItem: selectedValue !== undefined ? selectedValue : null,
11759
11759
  onSelect: (selectedItem, _) => setSelectedValue(selectedItem),
11760
11760
  onStateChange: state => {
11761
+ console.log('DEBUG-STATE: ', state);
11761
11762
  if (state && state.type === '__autocomplete_mouseup__' && 'inputValue' in state) {
11762
11763
  handleInputValue(String(state.inputValue ? state.inputValue : '').toLowerCase());
11764
+ debugger;
11763
11765
  }
11764
11766
  if (!('isOpen' in state)) return;
11765
11767
  if (state.isOpen && embedSearch) handleInputValue('', true);
package/index.umd.js CHANGED
@@ -11903,8 +11903,10 @@
11903
11903
  return setSelectedValue(selectedItem);
11904
11904
  },
11905
11905
  onStateChange: function (state) {
11906
+ console.log('DEBUG-STATE: ', state);
11906
11907
  if (state && state.type === '__autocomplete_mouseup__' && 'inputValue' in state) {
11907
11908
  handleInputValue(String(state.inputValue ? state.inputValue : '').toLowerCase());
11909
+ debugger;
11908
11910
  }
11909
11911
  if (!('isOpen' in state)) return;
11910
11912
  if (state.isOpen && embedSearch) handleInputValue('', true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@majoo-ui/react",
3
- "version": "1.59.6-rc.8",
3
+ "version": "1.59.6-rc.9",
4
4
  "dependencies": {
5
5
  "@majoo-ui/core": "^1.31.3",
6
6
  "@majoo-ui/helpers": "^1.30.5",