Align Search WebUI runtime dependencies
This commit is contained in:
+3
-3
@@ -19,9 +19,9 @@
|
|||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@govoplan/core-webui": "^0.1.14",
|
"@govoplan/core-webui": "^0.1.14",
|
||||||
"lucide-react": "^1.23.0",
|
"lucide-react": "^1.23.0",
|
||||||
"react": "^19.0.0",
|
"react": ">=19.2.7 <20",
|
||||||
"react-dom": "^19.0.0",
|
"react-dom": ">=19.2.7 <20",
|
||||||
"react-router-dom": ">=7.18.2 <8"
|
"react-router": ">=8.3.0 <9"
|
||||||
},
|
},
|
||||||
"peerDependenciesMeta": {
|
"peerDependenciesMeta": {
|
||||||
"@govoplan/core-webui": {
|
"@govoplan/core-webui": {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import {
|
|||||||
type FormEvent,
|
type FormEvent,
|
||||||
type KeyboardEvent as ReactKeyboardEvent
|
type KeyboardEvent as ReactKeyboardEvent
|
||||||
} from "react";
|
} from "react";
|
||||||
import { useLocation } from "react-router-dom";
|
import { useLocation } from "react-router";
|
||||||
import {
|
import {
|
||||||
Button,
|
Button,
|
||||||
Dialog,
|
Dialog,
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import {
|
|||||||
useState,
|
useState,
|
||||||
type FormEvent
|
type FormEvent
|
||||||
} from "react";
|
} from "react";
|
||||||
import { useSearchParams } from "react-router-dom";
|
import { useSearchParams } from "react-router";
|
||||||
import {
|
import {
|
||||||
DismissibleAlert,
|
DismissibleAlert,
|
||||||
LoadingIndicator,
|
LoadingIndicator,
|
||||||
|
|||||||
@@ -98,6 +98,7 @@
|
|||||||
.search-overlay-input-position {
|
.search-overlay-input-position {
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
|
z-index: 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.global-search-overlay-input {
|
.global-search-overlay-input {
|
||||||
@@ -109,7 +110,7 @@
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin-top: 8px;
|
margin-top: -44px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
border: var(--border-line);
|
border: var(--border-line);
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
@@ -260,7 +261,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 400;
|
z-index: 400;
|
||||||
top: calc(100% + 7px);
|
top: calc(100% + 7px);
|
||||||
right: 0;
|
left: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: min(340px, calc(100vw - 40px));
|
width: min(340px, calc(100vw - 40px));
|
||||||
max-height: min(520px, calc(100vh - 150px));
|
max-height: min(520px, calc(100vh - 150px));
|
||||||
|
|||||||
Reference in New Issue
Block a user