Skip to content

Commit

Permalink
feat(heureka) : update juno-ui-components via installing with npm
Browse files Browse the repository at this point in the history
  • Loading branch information
hodanoori committed Jul 30, 2024
1 parent 11e5f0c commit ec0b6ef
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 19 deletions.
23 changes: 19 additions & 4 deletions heureka/ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions heureka/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "heureka",
"version": "2.2.1",
"version": "2.2.2",
"author": "UI-Team",
"contributors": [
"Hoda Noori, Arturo Reuschenbach Pucernau"
Expand Down Expand Up @@ -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/[email protected]/package.tgz",
"@cloudoperators/juno-ui-components": "^2.15.4",
"luxon": "^3.0.0",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"postcss": "^8.4.21",
Expand All @@ -55,7 +55,6 @@
"build": "NODE_ENV=production node esbuild.config.js"
},
"peerDependencies": {
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/[email protected]/package.tgz",
"prop-types": "^15.8.1",
"react": "18.2.0",
Expand Down
6 changes: 5 additions & 1 deletion heureka/ui/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion heureka/ui/src/components/filters/FilterPills.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = () => {
Expand Down
2 changes: 1 addition & 1 deletion heureka/ui/src/components/filters/FilterSelect.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down
2 changes: 1 addition & 1 deletion heureka/ui/src/components/issues/IssuesList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion heureka/ui/src/components/issues/IssuesListController.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion heureka/ui/src/components/issues/IssuesListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down
2 changes: 1 addition & 1 deletion heureka/ui/src/components/services/ServicesList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion heureka/ui/src/components/services/ServicesListItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down
2 changes: 1 addition & 1 deletion heureka/ui/src/components/shared/HintLoading.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion heureka/ui/src/components/shared/HintNotFound.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
6 changes: 5 additions & 1 deletion heureka/ui/src/components/tabs/TabContext.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit ec0b6ef

Please sign in to comment.