Skip to content

Commit b98943e

Browse files
new parent image (#22)
* new parent image * fixing placeholder to placement * removing modal as import * multilinetooltip
1 parent 2bfc0ac commit b98943e

File tree

7 files changed

+13
-13
lines changed

7 files changed

+13
-13
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM kernai/refinery-parent-images:v1.11.0-next
1+
FROM kernai/refinery-parent-images:v1.16.0-next
22

33
WORKDIR /app
44
COPY package*.json /app/

dev.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM kernai/refinery-parent-images:v1.11.0-next
1+
FROM kernai/refinery-parent-images:v1.16.0-next
22

33
WORKDIR /app
44

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12-
"@apollo/client": "^3.7.0",
13-
"@headlessui/react": "^1.7.13",
12+
"@apollo/client": "^3.7.10",
13+
"@headlessui/react": "^1.7.18",
1414
"@heroicons/react": "^2.0.17",
1515
"@monaco-editor/react": "^4.5.1",
1616
"@nextui-org/react": "^1.0.0-beta.13",
1717
"@reduxjs/toolkit": "^1.9.5",
18-
"@tabler/icons-react": "^2.25.0",
18+
"@tabler/icons-react": "^3.2.0",
1919
"@tailwindcss/forms": "^0.5.3",
2020
"@types/jest": "^29.5.2",
2121
"@types/node": "18.15.11",
22-
"@types/react": "18.0.28",
23-
"@types/react-dom": "18.2.4",
22+
"@types/react": "^18.0.28",
23+
"@types/react-dom": "^18.2.4",
2424
"autoprefixer": "^10.4.8",
2525
"aws-sdk": "^2.1460.0",
2626
"chart.js": "^4.3.0",
@@ -41,7 +41,7 @@
4141
"react-redux": "^8.1.1",
4242
"react-router-dom": "^6.10.0",
4343
"rxjs": "^7.8.1",
44-
"tailwindcss": "^3.1.8",
44+
"tailwindcss": "^3.4.1",
4545
"typescript": "^5.1.3"
4646
},
4747
"devDependencies": {

src/components/projects/projectId/settings/labeling-tasks/RenameLabelModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default function RenameLabelModal() {
103103
<div className="self-center flex flex-row flex-nowrap items-center justify-center">
104104
<p className="mr-2 font-bold">Change label name:</p><span
105105
className={`border rounded-md py-1 px-2 text-sm font-medium shadow-sm text-center ${modalRenameLabel.label.color?.backgroundColor} ${modalRenameLabel.label.color?.textColor} ${modalRenameLabel.label.color?.borderColor} ${modalRenameLabel.label.color?.hoverColor}`}>{modalRenameLabel.label.name}</span>
106-
<Tooltip content={TOOLTIPS_DICT.PROJECT_SETTINGS.LABELING_TASK.INFO_RENAME_LABEL} color="invert" placeholder="top" className="ml-2">
106+
<Tooltip content={TOOLTIPS_DICT.PROJECT_SETTINGS.LABELING_TASK.INFO_RENAME_LABEL} color="invert" placement="top" className="ml-2">
107107
<IconInfoCircleFilled className="h-6 w-6 text-blue-500" />
108108
</Tooltip>
109109
</div>

src/components/shared/modal/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Fragment } from 'react'
33
import { Dialog, Transition } from '@headlessui/react'
44
import { isStringTrue } from '@/submodules/javascript-functions/general';
55
import { useDispatch, useSelector } from 'react-redux';
6-
import { Modal, closeModal, initModal, openModal, selectModal, selectAllOpenModals } from '@/src/reduxStore/states/modal';
6+
import { closeModal, initModal, openModal, selectModal, selectAllOpenModals } from '@/src/reduxStore/states/modal';
77
import { ModalButton, ModalButtonType } from '@/src/types/shared/modal';
88
import { modalButtonCaption } from '@/src/util/shared/modal-helper';
99

src/components/shared/multilines-tooltip/MultilineTooltip.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { MultilineTooltipProps, MultilineTooltip } from "@/src/types/shared/multiline-tooltip";
1+
import { MultilineTooltipProps, MultilineTooltipContent } from "@/src/types/shared/multiline-tooltip";
22
import { extendArrayElementsByUniqueId } from "@/submodules/javascript-functions/id-prep";
33
import { Fragment, useEffect, useState } from "react";
44

55
// TODO: Make Submodule component with an option to split on different characters as flexbox
66
export default function MultilineTooltip(props: MultilineTooltipProps) {
7-
const [tooltipArray, setTooltipArray] = useState<MultilineTooltip[]>(null);
7+
const [tooltipArray, setTooltipArray] = useState<MultilineTooltipContent[]>(null);
88

99
useEffect(() => {
1010
if (!props.tooltipLines) return;

src/types/shared/multiline-tooltip.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export type MultilineTooltipProps = {
22
tooltipLines: string[];
33
};
44

5-
export type MultilineTooltip = {
5+
export type MultilineTooltipContent = {
66
value: string;
77
id: string;
88
}

0 commit comments

Comments
 (0)