@gisce/react-ooui 1.2.0-rc.18 → 1.2.0-rc.20

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/react-ooui",
3
- "version": "1.2.0-rc.18",
3
+ "version": "1.2.0-rc.20",
4
4
  "files": [
5
5
  "dist",
6
6
  "src",
@@ -37,7 +37,7 @@
37
37
  "dependencies": {
38
38
  "@ant-design/plots": "^1.0.9",
39
39
  "@gisce/ooui": "^0.17.11-rc.0",
40
- "@gisce/react-formiga-components": "^1.0.9-rc.13",
40
+ "@gisce/react-formiga-components": "^1.0.9-rc.14",
41
41
  "@gisce/react-formiga-table": "^0.5.0",
42
42
  "@monaco-editor/react": "^4.4.5",
43
43
  "@tabler/icons": "^1.96.0",
@@ -290,11 +290,11 @@ function TreeActionBar(props: Props) {
290
290
  width="1em"
291
291
  height="1em"
292
292
  viewBox="0 0 24 24"
293
- stroke-width="1.5"
293
+ strokeWidth="1.5"
294
294
  fill="none"
295
295
  stroke="currentColor"
296
- stroke-linecap="round"
297
- stroke-linejoin="round"
296
+ strokeLinecap="round"
297
+ strokeLinejoin="round"
298
298
  >
299
299
  <path stroke="none" d="M0 0h24v24H0z" fill="none" />
300
300
  <ellipse cx="12" cy="6" rx="8" ry="3" />
@@ -354,7 +354,7 @@ function TreeActionBar(props: Props) {
354
354
  limit={limit}
355
355
  totalRegisters={totalItems || 0}
356
356
  selectedRegistersToExport={selectedRowItems}
357
- visibleRegisters={results?.length}
357
+ visibleRegisters={results?.length || 0}
358
358
  context={parentContext}
359
359
  />
360
360
  </Space>
@@ -232,7 +232,7 @@ export const Many2oneInput: React.FC<Many2oneInputProps> = (
232
232
  }
233
233
 
234
234
  async function onKeyDown(event: any) {
235
- if (event.code === "Enter") {
235
+ if (event.keyCode === 13) {
236
236
  event.preventDefault();
237
237
  event.stopPropagation();
238
238
  await onElementLostFocus();