Compare commits

..

2 commits

Author SHA1 Message Date
4c584c805e
Fix configuration for production build. 2024-07-14 22:00:34 +02:00
d0cfd11b51
Fix FloatingUI imports. 2024-07-14 22:00:05 +02:00
4 changed files with 20 additions and 3 deletions

View file

@ -22,6 +22,7 @@
"uuid": "^10.0.0" "uuid": "^10.0.0"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^20.14.10",
"@types/react": "^18.3.3", "@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0", "@types/react-dom": "^18.3.0",
"@types/uuid": "^10", "@types/uuid": "^10",

View file

@ -4,12 +4,11 @@ import {
flip, flip,
shift, shift,
useClick, useDismiss, useClick, useDismiss,
useFloating, useFloating, UseFloatingOptions,
useFocus, useFocus,
useHover, useHover,
useInteractions, useRole, useTransitionStyles useInteractions, useRole, useTransitionStyles
} from "@floating-ui/react"; } from "@floating-ui/react";
import {UseFloatingOptions} from "@floating-ui/react/dist/floating-ui.react";
import {mergeRefs} from "react-merge-refs"; import {mergeRefs} from "react-merge-refs";
import {classes} from "../../Utils"; import {classes} from "../../Utils";

View file

@ -17,7 +17,7 @@
"emitDecoratorMetadata": true, "emitDecoratorMetadata": true,
"module": "ES6", "module": "ES6",
"target": "ES6", "target": "ES6",
"moduleResolution": "Node", "moduleResolution": "Bundler",
"lib": [ "lib": [
"ESNext", "ESNext",
"DOM" "DOM"

View file

@ -897,6 +897,15 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"@types/node@npm:^20.14.10":
version: 20.14.10
resolution: "@types/node@npm:20.14.10"
dependencies:
undici-types: "npm:~5.26.4"
checksum: 10c0/0b06cff14365c2d0085dc16cc8cbea5c40ec09cfc1fea966be9eeecf35562760bfde8f88e86de6edfaf394501236e229d9c1084fad04fb4dec472ae245d8ae69
languageName: node
linkType: hard
"@types/prop-types@npm:*": "@types/prop-types@npm:*":
version: 15.7.12 version: 15.7.12
resolution: "@types/prop-types@npm:15.7.12" resolution: "@types/prop-types@npm:15.7.12"
@ -1833,6 +1842,7 @@ __metadata:
"@fontsource-variable/manrope": "npm:^5.0.20" "@fontsource-variable/manrope": "npm:^5.0.20"
"@fontsource-variable/source-serif-4": "npm:^5.0.19" "@fontsource-variable/source-serif-4": "npm:^5.0.19"
"@phosphor-icons/react": "npm:^2.1.5" "@phosphor-icons/react": "npm:^2.1.5"
"@types/node": "npm:^20.14.10"
"@types/react": "npm:^18.3.3" "@types/react": "npm:^18.3.3"
"@types/react-dom": "npm:^18.3.0" "@types/react-dom": "npm:^18.3.0"
"@types/uuid": "npm:^10" "@types/uuid": "npm:^10"
@ -2782,6 +2792,13 @@ __metadata:
languageName: node languageName: node
linkType: hard linkType: hard
"undici-types@npm:~5.26.4":
version: 5.26.5
resolution: "undici-types@npm:5.26.5"
checksum: 10c0/bb673d7876c2d411b6eb6c560e0c571eef4a01c1c19925175d16e3a30c4c428181fb8d7ae802a261f283e4166a0ac435e2f505743aa9e45d893f9a3df017b501
languageName: node
linkType: hard
"unique-filename@npm:^3.0.0": "unique-filename@npm:^3.0.0":
version: 3.0.0 version: 3.0.0
resolution: "unique-filename@npm:3.0.0" resolution: "unique-filename@npm:3.0.0"