Skip to content

Commit

Permalink
fix table detail import
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas742 committed Jan 8, 2025
1 parent 3c124d9 commit 8ed0732
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions packages/cli/src/util/referenceResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ function resolveReferenceImport(reference: CEM.Reference | undefined): Reference

// find module
const resolvedModule = customElementManifest.modules.find((mod) => mod.path === modulePath);
if (!resolvedModule) {
console.warn('Resolved Module not found for:', reference.name, 'in', pkgName);
}

if (resolvedModule) {
const exportDeclaration = resolvedModule.exports?.find((exp) => exp.declaration.name === name);
Expand Down
6 changes: 3 additions & 3 deletions packages/main/src/webComponents/Table/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client';

import '@ui5/webcomponents/dist/Table.js';
import type { TableRowClickEventDetail } from '@ui5/webcomponents/dist/Table.js';
import type { TableRowClickEventDetail, TableTableMoveEventDetail } from '@ui5/webcomponents/dist/Table.js';
import type TableOverflowMode from '@ui5/webcomponents/dist/types/TableOverflowMode.js';
import type { ReactNode } from 'react';
import { withWebComponent } from '../../internal/withWebComponent.js';
Expand Down Expand Up @@ -116,7 +116,7 @@ interface TablePropTypes
* | :--------: | :-----: |
* | ❌|✅|
*/
onMove?: (event: Ui5CustomEvent<TableDomRef, TableMoveEventDetail>) => void;
onMove?: (event: Ui5CustomEvent<TableDomRef, TableTableMoveEventDetail>) => void;

/**
* Fired when a movable item is moved over a potential drop target during a dragging operation.
Expand All @@ -132,7 +132,7 @@ interface TablePropTypes
* | :--------: | :-----: |
* | ✅|✅|
*/
onMoveOver?: (event: Ui5CustomEvent<TableDomRef, TableMoveEventDetail>) => void;
onMoveOver?: (event: Ui5CustomEvent<TableDomRef, TableTableMoveEventDetail>) => void;

/**
* Fired when an interactive row is clicked.
Expand Down

0 comments on commit 8ed0732

Please sign in to comment.