nmrium 0.57.0 → 0.57.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.
@@ -97,7 +97,7 @@ function InnerInput(props, ref) {
97
97
  inputClassName: classes,
98
98
  inputRef: innerRef,
99
99
  ...otherInputProps,
100
- }, items: [], query: value, onQueryChange: handleChange, popoverProps: { disabled: true }, ...(filterItems &&
100
+ }, items: [], query: value || '', onQueryChange: handleChange, popoverProps: { disabled: true }, ...(filterItems &&
101
101
  filterItems.length > 0 && {
102
102
  items: filterItems,
103
103
  itemRenderer: renderItem,
@@ -86,9 +86,9 @@ function DatabasesTabContent({ currentWorkspace, originalWorkspaces, }) {
86
86
  display: 'flex',
87
87
  justifyContent: 'flex-start',
88
88
  padding: '0 3px',
89
- }, children: [_jsx(Button, { small: true, outlined: true, intent: "danger", tooltipProps: { content: '', disabled: true }, onClick: () => deleteHandler(data, index), children: _jsx(FaRegTrashAlt, { className: Classes.ICON }) }), _jsx(Button, { small: true, intent: "success", outlined: true, tooltipProps: { content: '', disabled: true }, onClick: () => addHandler(data, index + 1), css: css `
89
+ }, children: [_jsx(Button, { small: true, intent: "success", outlined: true, tooltipProps: { content: '', disabled: true }, onClick: () => addHandler(data, index + 1), children: _jsx(FaPlus, { className: Classes.ICON }) }), _jsx(Button, { small: true, outlined: true, intent: "danger", tooltipProps: { content: '', disabled: true }, onClick: () => deleteHandler(data, index), css: css `
90
90
  margin: 0 3px;
91
- `, children: _jsx(FaPlus, { className: Classes.ICON }) }), isGoogleDocument(record.url) && (_jsx(Button, { small: true, outlined: true, intent: "primary", onClick: () => window.open(record.url, '_blank'), tooltipProps: { content: 'Open document', compact: true }, children: _jsx(FaLink, { className: Classes.ICON }) }))] }));
91
+ `, children: _jsx(FaRegTrashAlt, { className: Classes.ICON }) }), isGoogleDocument(record.url) && (_jsx(Button, { small: true, outlined: true, intent: "primary", onClick: () => window.open(record.url, '_blank'), tooltipProps: { content: 'Open document', compact: true }, children: _jsx(FaLink, { className: Classes.ICON }) }))] }));
92
92
  },
93
93
  },
94
94
  ], [addHandler, control, deleteHandler, register]);
@@ -1 +1 @@
1
- export default { version: 'v0.57.0' };
1
+ export default { version: 'v0.57.1' };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nmrium",
3
3
  "description": "React component to display and process nuclear magnetic resonance (NMR) spectra.",
4
- "version": "0.57.0",
4
+ "version": "0.57.1",
5
5
  "license": "MIT",
6
6
  "module": "lib/component/main/index.js",
7
7
  "types": "lib/component/main/index.d.ts",