diff --git a/packages/main/src/webComponents/Table/TableV2.ts b/packages/main/src/webComponents/Table/TableV2.ts new file mode 100644 index 00000000000..c68bc08bac5 --- /dev/null +++ b/packages/main/src/webComponents/Table/TableV2.ts @@ -0,0 +1,24 @@ +'use client'; + +import TableV2 from '@ui5/webcomponents/dist/Table.js'; +import { withWebComponent } from '@ui5/webcomponents-react-base'; + +// change tag +TableV2._metadata.metadata.tag = 'ui5-table-v2'; +// run define again to register with new tag +TableV2.define(); + +/** + * This component is not meant for public consumption! + */ +const _TableV2 = withWebComponent( + 'ui5-table-v2', + ['accessibleName', 'accessibleNameRef', 'loadingDelay', 'noDataText', 'overflowMode', 'rowActionCount'], + ['loading'], + ['features', 'headerRow', 'noData'], + ['move-over', 'move', 'row-action-click', 'row-click'] +); + +_TableV2.displayName = '_TableV2'; + +export { _TableV2 }; diff --git a/packages/main/src/webComponents/TableCell/TableCellV2.ts b/packages/main/src/webComponents/TableCell/TableCellV2.ts new file mode 100644 index 00000000000..505b0e66483 --- /dev/null +++ b/packages/main/src/webComponents/TableCell/TableCellV2.ts @@ -0,0 +1,18 @@ +'use client'; + +import TableCellV2 from '@ui5/webcomponents/dist/TableCell.js'; +import { withWebComponent } from '@ui5/webcomponents-react-base'; + +// change tag +TableCellV2._metadata.metadata.tag = 'ui5-table-cell-v2'; +// run define again to register with new tag +TableCellV2.define(); + +/** + * This component is not meant for public consumption! + */ +const _TableCellV2 = withWebComponent('ui5-table-cell-v2', ['horizontalAlign'], [], [], []); + +_TableCellV2.displayName = '_TableCellV2'; + +export { _TableCellV2 }; diff --git a/packages/main/src/webComponents/TableRow/TableRowV2.ts b/packages/main/src/webComponents/TableRow/TableRowV2.ts new file mode 100644 index 00000000000..45884b3ec65 --- /dev/null +++ b/packages/main/src/webComponents/TableRow/TableRowV2.ts @@ -0,0 +1,24 @@ +'use client'; + +import TableRowV2 from '@ui5/webcomponents/dist/TableRow.js'; +import { withWebComponent } from '@ui5/webcomponents-react-base'; + +// change tag +TableRowV2._metadata.metadata.tag = 'ui5-table-row-v2'; +// run define again to register with new tag +TableRowV2.define(); + +/** + * This component is not meant for public consumption! + */ +const _TableRowV2 = withWebComponent( + 'ui5-table-row-v2', + ['position', 'rowKey'], + ['interactive', 'movable', 'navigated'], + ['actions'], + [] +); + +_TableRowV2.displayName = '_TableRowV2'; + +export { _TableRowV2 };
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: