- {t('common.sorting.sort-by')}
+ {t('common.sorting.sort-by')}
{sortBy && (
<>
{Object.entries(sortBy).flatMap(([value]) => {
return (
-
+
-
+
);
})}
>
diff --git a/src/shared/components/GenericList/components.js b/src/shared/components/GenericList/components.js
index 1c7ad07d21..3f48b14865 100644
--- a/src/shared/components/GenericList/components.js
+++ b/src/shared/components/GenericList/components.js
@@ -1,13 +1,9 @@
import { useState } from 'react';
-import {
- Button,
- FlexBox,
- Icon,
- Text,
- TableCell,
- TableColumn,
- TableRow,
-} from '@ui5/webcomponents-react';
+import { Button, FlexBox, Icon, Text } from '@ui5/webcomponents-react';
+import { TableCell } from '@ui5/webcomponents-react-compat/dist/components/TableCell/index.js';
+import { TableColumn } from '@ui5/webcomponents-react-compat/dist/components/TableColumn/index.js';
+import { TableRow } from '@ui5/webcomponents-react-compat/dist/components/TableRow/index.js';
+
import ListActions from 'shared/components/ListActions/ListActions';
import { spacing } from '@ui5/webcomponents-react-base';
diff --git a/src/shared/components/Labels/Labels.js b/src/shared/components/Labels/Labels.js
index 8a3f81d7ea..5c234da31d 100644
--- a/src/shared/components/Labels/Labels.js
+++ b/src/shared/components/Labels/Labels.js
@@ -1,7 +1,7 @@
import React from 'react';
import classNames from 'classnames';
import { EMPTY_TEXT_PLACEHOLDER } from 'shared/constants';
-import { Badge, Label } from '@ui5/webcomponents-react';
+import { Tag, Label } from '@ui5/webcomponents-react';
import { spacing } from '@ui5/webcomponents-react-base';
import './Labels.scss';
@@ -51,7 +51,7 @@ export const Labels = ({
) : null}
{separatedLabels.map((label, id) => (
- SHORTENING_TRESHOLD
? shortenLabel(label)
: label}
-
+
))}
>
diff --git a/src/shared/components/PodTemplate/components.js b/src/shared/components/PodTemplate/components.js
index f82acf01e9..33e6242cd2 100644
--- a/src/shared/components/PodTemplate/components.js
+++ b/src/shared/components/PodTemplate/components.js
@@ -4,14 +4,14 @@ import { useUrl } from 'hooks/useUrl';
import {
List,
Label,
- GroupHeaderListItem,
- Table as UI5Table,
- TableColumn,
- TableRow,
- TableCell,
Text,
Title,
+ ListItemGroup,
} from '@ui5/webcomponents-react';
+import { Table as UI5Table } from '@ui5/webcomponents-react-compat/dist/components/Table/index.js';
+import { TableColumn } from '@ui5/webcomponents-react-compat/dist/components/TableColumn/index.js';
+import { TableRow } from '@ui5/webcomponents-react-compat/dist/components/TableRow/index.js';
+import { TableCell } from '@ui5/webcomponents-react-compat/dist/components/TableCell/index.js';
import { Labels } from '../Labels/Labels';
import { PodTemplateRow } from './PodTemplateRow';
import { Link } from '../Link/Link';
@@ -51,7 +51,7 @@ function ContainerComponent({ container }) {
return (
<>
- {container.name}
+ {container.name}
- {name}
+ {name}
{typeLabel}} />
{k8sResource && (
{
if (node.dataSources) {
let link =
@@ -97,8 +96,8 @@ export function NavItem({ node, subItem = false }: NavItemProps) {
};
if (subItem) {
- return ;
+ return ;
}
- return ;
+ return ;
}
diff --git a/src/sidebar/Sidebar.scss b/src/sidebar/Sidebar.scss
index e06de8506e..847fdb7d52 100644
--- a/src/sidebar/Sidebar.scss
+++ b/src/sidebar/Sidebar.scss
@@ -1,10 +1,10 @@
:root {
- --sidebar-padding: var(--_ui5-v1-24-0_side_navigation_padding);
- --sidebar-width: var(--_ui5-v1-24-0_side_navigation_width);
+ --sidebar-padding: var(--_ui5-v2-3-0_side_navigation_padding);
+ --sidebar-width: var(--_ui5-v2-3-0_side_navigation_width);
}
.ui5-content-density-compact {
- --_ui5-v1-24-0_side_navigation_padding: 0.2rem 0.7rem 0.75rem 0.75rem !important;
+ --_ui5-v2-3-0_side_navigation_padding: 0.2rem 0.7rem 0.75rem 0.75rem !important;
}
.sidebar__content {
diff --git a/src/styles/index.scss b/src/styles/index.scss
index e76145aeae..82b38627eb 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -3,11 +3,11 @@
@import './wizard-dialog.scss';
:root {
- --card-box-shadow: var(--_ui5-v1-24-0_card_box_shadow);
- --card-border: var(--_ui5-v1-24-0_card_border);
- --card-border-radius: var(--_ui5-v1-24-0_card_border-radius);
- --card-border: var(--_ui5-v1-24-0_card_border);
- --ui5-v1-24-0_table_bottom_border: none !important;
+ --card-box-shadow: var(--_ui5-v2-3-0_card_box_shadow);
+ --card-border: var(--_ui5-v2-3-0_card_border);
+ --card-border-radius: var(--_ui5-v2-3-0_card_border-radius);
+ --card-border: var(--_ui5-v2-3-0_card_border);
+ --ui5-v2-3-0_table_bottom_border: none !important;
}
html {