diff --git a/heureka/ui/package-lock.json b/heureka/ui/package-lock.json index 16aa0792..fd4d7930 100644 --- a/heureka/ui/package-lock.json +++ b/heureka/ui/package-lock.json @@ -1,17 +1,18 @@ { "name": "heureka", - "version": "2.2.1", + "version": "2.2.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "heureka", - "version": "2.2.1", + "version": "2.2.2", "license": "Apache-2.0", "devDependencies": { "@babel/core": "^7.20.2", "@babel/preset-env": "^7.20.2", "@babel/preset-react": "^7.18.6", + "@cloudoperators/juno-ui-components": "^2.15.4", "@svgr/core": "^8.0.0", "@svgr/plugin-jsx": "^8.0.0", "@tanstack/react-query": "5.36.2", @@ -30,7 +31,6 @@ "immer": "^10.0.0", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", - "juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz", "luxon": "^3.0.0", "messages-provider": "https://assets.juno.global.cloud.sap/libs/messages-provider@0.1.12/package.tgz", "postcss": "^8.4.21", @@ -48,7 +48,6 @@ "zustand": "4.5.2" }, "peerDependencies": { - "juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz", "messages-provider": "https://assets.juno.global.cloud.sap/libs/messages-provider@0.1.12/package.tgz", "prop-types": "^15.8.1", "react": "18.2.0", @@ -1900,6 +1899,21 @@ "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", "dev": true }, + "node_modules/@cloudoperators/juno-ui-components": { + "version": "2.15.4", + "resolved": "https://registry.npmjs.org/@cloudoperators/juno-ui-components/-/juno-ui-components-2.15.4.tgz", + "integrity": "sha512-lyziFGjtasxqiiZ86Yfn9EtJFtZ/72So1GmCsMdZCOt3WQnv/TcvQMnXCHe5Zg1fXZ/qNQWIac5rH6YbVS75yg==", + "dev": true, + "engines": { + "node": ">=20.0.0 <21.0.0", + "npm": ">=10.0.0 <11.0.0" + }, + "peerDependencies": { + "prop-types": "15.8.1", + "react": "^18.2.0", + "react-dom": "^18.2.0" + } + }, "node_modules/@esbuild/aix-ppc64": { "version": "0.19.12", "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz", @@ -8108,6 +8122,7 @@ "integrity": "sha512-ygnXfEt77rshIkpbgvZORO2TCA2ZY//xmkY9NQtA0iazr6M0RbRnKpXycn1RQ6YVjXFfH0xhRcOImKeomrfIjw==", "dev": true, "license": "Apache-2.0", + "peer": true, "peerDependencies": { "prop-types": "15.8.1", "react": "18.2.0", diff --git a/heureka/ui/package.json b/heureka/ui/package.json index 30eb89a4..a25e1235 100644 --- a/heureka/ui/package.json +++ b/heureka/ui/package.json @@ -1,6 +1,6 @@ { "name": "heureka", - "version": "2.2.1", + "version": "2.2.2", "author": "UI-Team", "contributors": [ "Hoda Noori, Arturo Reuschenbach Pucernau" @@ -32,7 +32,7 @@ "immer": "^10.0.0", "jest": "^29.3.1", "jest-environment-jsdom": "^29.3.1", - "juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz", + "@cloudoperators/juno-ui-components": "^2.15.4", "luxon": "^3.0.0", "messages-provider": "https://assets.juno.global.cloud.sap/libs/messages-provider@0.1.12/package.tgz", "postcss": "^8.4.21", @@ -55,7 +55,6 @@ "build": "NODE_ENV=production node esbuild.config.js" }, "peerDependencies": { - "juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz", "messages-provider": "https://assets.juno.global.cloud.sap/libs/messages-provider@0.1.12/package.tgz", "prop-types": "^15.8.1", "react": "18.2.0", diff --git a/heureka/ui/src/App.js b/heureka/ui/src/App.js index 3fed757b..57be11e4 100644 --- a/heureka/ui/src/App.js +++ b/heureka/ui/src/App.js @@ -5,7 +5,11 @@ import React, { useEffect } from "react" import styles from "./styles.scss" -import { AppShell, AppShellProvider, CodeBlock } from "juno-ui-components" +import { + AppShell, + AppShellProvider, + CodeBlock, +} from "@cloudoperators/juno-ui-components" import { QueryClient, QueryClientProvider } from "@tanstack/react-query" import { MessagesProvider } from "messages-provider" import AsyncWorker from "./components/AsyncWorker" diff --git a/heureka/ui/src/components/filters/FilterPills.jsx b/heureka/ui/src/components/filters/FilterPills.jsx index e1a5e4bd..8c0db7ce 100644 --- a/heureka/ui/src/components/filters/FilterPills.jsx +++ b/heureka/ui/src/components/filters/FilterPills.jsx @@ -5,7 +5,7 @@ import React from "react" -import { Pill, Stack } from "juno-ui-components" +import { Pill, Stack } from "@cloudoperators/juno-ui-components" // import { useActiveFilters, useFilterActions } from "../../hooks/useAppStore" const FilterPills = () => { diff --git a/heureka/ui/src/components/filters/FilterSelect.jsx b/heureka/ui/src/components/filters/FilterSelect.jsx index a99091d2..d2a4a8d5 100644 --- a/heureka/ui/src/components/filters/FilterSelect.jsx +++ b/heureka/ui/src/components/filters/FilterSelect.jsx @@ -12,7 +12,7 @@ import { Select, Stack, SearchInput, -} from "juno-ui-components" +} from "@cloudoperators/juno-ui-components" // import { humanizeString } from "../../lib/utils" const FilterSelect = ({ filters }) => { diff --git a/heureka/ui/src/components/issues/IssuesList.jsx b/heureka/ui/src/components/issues/IssuesList.jsx index 5a7d62a4..ddd65387 100644 --- a/heureka/ui/src/components/issues/IssuesList.jsx +++ b/heureka/ui/src/components/issues/IssuesList.jsx @@ -9,7 +9,7 @@ import { DataGridRow, DataGridHeadCell, DataGridCell, -} from "juno-ui-components" +} from "@cloudoperators/juno-ui-components" import HintNotFound from "../shared/HintNotFound" import HintLoading from "../shared/HintLoading" import IssuesListItem from "./IssuesListItem" diff --git a/heureka/ui/src/components/issues/IssuesListController.jsx b/heureka/ui/src/components/issues/IssuesListController.jsx index ada0c09f..47a59f76 100644 --- a/heureka/ui/src/components/issues/IssuesListController.jsx +++ b/heureka/ui/src/components/issues/IssuesListController.jsx @@ -11,7 +11,7 @@ import { useActions, } from "../StoreProvider" import IssuesList from "./IssuesList" -import { Pagination } from "juno-ui-components" +import { Pagination } from "@cloudoperators/juno-ui-components" const IssuesListController = () => { const queryClientFnReady = useQueryClientFnReady() diff --git a/heureka/ui/src/components/issues/IssuesListItem.jsx b/heureka/ui/src/components/issues/IssuesListItem.jsx index 66ac22b4..eeae4a9c 100644 --- a/heureka/ui/src/components/issues/IssuesListItem.jsx +++ b/heureka/ui/src/components/issues/IssuesListItem.jsx @@ -4,7 +4,7 @@ */ import React from "react" -import { DataGridRow, DataGridCell } from "juno-ui-components" +import { DataGridRow, DataGridCell } from "@cloudoperators/juno-ui-components" import { listOfCommaSeparatedObjs } from "../shared/Helper" const IssuesListItem = ({ item }) => { diff --git a/heureka/ui/src/components/services/ServicesList.jsx b/heureka/ui/src/components/services/ServicesList.jsx index 48f98d20..69eaef76 100644 --- a/heureka/ui/src/components/services/ServicesList.jsx +++ b/heureka/ui/src/components/services/ServicesList.jsx @@ -10,7 +10,7 @@ import { DataGridRow, DataGridHeadCell, DataGridCell, -} from "juno-ui-components" +} from "@cloudoperators/juno-ui-components" import HintNotFound from "../shared/HintNotFound" import ServicesListItem from "./ServicesListItem" import HintLoading from "../shared/HintLoading" diff --git a/heureka/ui/src/components/services/ServicesListController.jsx b/heureka/ui/src/components/services/ServicesListController.jsx index c129b7ba..602967a8 100644 --- a/heureka/ui/src/components/services/ServicesListController.jsx +++ b/heureka/ui/src/components/services/ServicesListController.jsx @@ -10,7 +10,7 @@ import { useQueryOptions, useActions, } from "../StoreProvider" -import { Pagination } from "juno-ui-components" +import { Pagination } from "@cloudoperators/juno-ui-components" import ServicesList from "./ServicesList" import { Messages, useActions as messageActions } from "messages-provider" diff --git a/heureka/ui/src/components/services/ServicesListItem.jsx b/heureka/ui/src/components/services/ServicesListItem.jsx index 6bce4649..177650c4 100644 --- a/heureka/ui/src/components/services/ServicesListItem.jsx +++ b/heureka/ui/src/components/services/ServicesListItem.jsx @@ -4,7 +4,7 @@ */ import React, { useMemo } from "react" -import { DataGridRow, DataGridCell } from "juno-ui-components" +import { DataGridRow, DataGridCell } from "@cloudoperators/juno-ui-components" import { listOfCommaSeparatedObjs } from "../shared/Helper" const countIssueMatches = (service) => { diff --git a/heureka/ui/src/components/shared/HintLoading.jsx b/heureka/ui/src/components/shared/HintLoading.jsx index 1112ddfd..27ff9bc3 100644 --- a/heureka/ui/src/components/shared/HintLoading.jsx +++ b/heureka/ui/src/components/shared/HintLoading.jsx @@ -4,7 +4,7 @@ */ import React from "react" -import { Stack, Spinner } from "juno-ui-components" +import { Stack, Spinner } from "@cloudoperators/juno-ui-components" const HintLoading = ({ text, ...props }) => { return ( diff --git a/heureka/ui/src/components/shared/HintNotFound.jsx b/heureka/ui/src/components/shared/HintNotFound.jsx index 8776339a..d069fb91 100644 --- a/heureka/ui/src/components/shared/HintNotFound.jsx +++ b/heureka/ui/src/components/shared/HintNotFound.jsx @@ -4,7 +4,7 @@ */ import React from "react" -import { Stack } from "juno-ui-components" +import { Stack } from "@cloudoperators/juno-ui-components" const HintNotFound = ({ text }) => { return ( diff --git a/heureka/ui/src/components/tabs/TabContext.jsx b/heureka/ui/src/components/tabs/TabContext.jsx index b50c95d4..8f577e5d 100644 --- a/heureka/ui/src/components/tabs/TabContext.jsx +++ b/heureka/ui/src/components/tabs/TabContext.jsx @@ -4,7 +4,11 @@ */ import React, { useMemo } from "react" -import { Container, TabNavigation, TabNavigationItem } from "juno-ui-components" +import { + Container, + TabNavigation, + TabNavigationItem, +} from "@cloudoperators/juno-ui-components" import TabPanel from "./TabPanel" import { useActions, useActiveTab } from "../StoreProvider"