mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
vmui: update dependencies (#5194)
This commit is contained in:
parent
76606eed22
commit
45501eccab
7 changed files with 1328 additions and 825 deletions
2137
app/vmui/packages/vmui/package-lock.json
generated
2137
app/vmui/packages/vmui/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -30,7 +30,7 @@
|
||||||
"web-vitals": "^3.3.2"
|
"web-vitals": "^3.3.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prestart": "npm run update-metricsql",
|
"prestart": "npm run copy-metricsql-docs",
|
||||||
"start": "react-app-rewired start",
|
"start": "react-app-rewired start",
|
||||||
"start:logs": "cross-env REACT_APP_LOGS=true npm run start",
|
"start:logs": "cross-env REACT_APP_LOGS=true npm run start",
|
||||||
"build": "GENERATE_SOURCEMAP=false react-app-rewired build",
|
"build": "GENERATE_SOURCEMAP=false react-app-rewired build",
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import { StateUpdater, useCallback, useEffect, useMemo, useState } from "preact/compat";
|
import { useCallback, useEffect, useMemo, useState } from "preact/compat";
|
||||||
|
import { StateUpdater } from "preact/hooks";
|
||||||
import { getQueryRangeUrl, getQueryUrl } from "../api/query-range";
|
import { getQueryRangeUrl, getQueryUrl } from "../api/query-range";
|
||||||
import { useAppState } from "../state/common/StateContext";
|
import { useAppState } from "../state/common/StateContext";
|
||||||
import { InstantMetricResult, MetricBase, MetricResult, QueryStats } from "../api/types";
|
import { InstantMetricResult, MetricBase, MetricResult, QueryStats } from "../api/types";
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import React, { StateUpdater, useEffect, useState } from "preact/compat";
|
import React, { useEffect, useState } from "preact/compat";
|
||||||
|
import { StateUpdater } from "preact/hooks";
|
||||||
import { useAppState } from "../state/common/StateContext";
|
import { useAppState } from "../state/common/StateContext";
|
||||||
import { AutocompleteOptions } from "../components/Main/Autocomplete/Autocomplete";
|
import { AutocompleteOptions } from "../components/Main/Autocomplete/Autocomplete";
|
||||||
import { LabelIcon, MetricIcon, ValueIcon } from "../components/Main/Icons";
|
import { LabelIcon, MetricIcon, ValueIcon } from "../components/Main/Icons";
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import { useState, useEffect, StateUpdater } from "preact/compat";
|
import { useState, useEffect } from "preact/compat";
|
||||||
|
import { StateUpdater } from "preact/hooks";
|
||||||
import { useSearchParams } from "react-router-dom";
|
import { useSearchParams } from "react-router-dom";
|
||||||
|
|
||||||
const useStateSearchParams = <T>(defaultState: T, key: string): [T, StateUpdater<T>] => {
|
const useStateSearchParams = <T>(defaultState: T, key: string): [T, StateUpdater<T>] => {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
import React, { FC, StateUpdater, useEffect, useState } from "preact/compat";
|
import React, { FC, useEffect, useState } from "preact/compat";
|
||||||
|
import { StateUpdater } from "preact/hooks";
|
||||||
import QueryEditor from "../../../components/Configurators/QueryEditor/QueryEditor";
|
import QueryEditor from "../../../components/Configurators/QueryEditor/QueryEditor";
|
||||||
import AdditionalSettings from "../../../components/Configurators/AdditionalSettings/AdditionalSettings";
|
import AdditionalSettings from "../../../components/Configurators/AdditionalSettings/AdditionalSettings";
|
||||||
import usePrevious from "../../../hooks/usePrevious";
|
import usePrevious from "../../../hooks/usePrevious";
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
&__button {
|
&__button {
|
||||||
display: grid;
|
display: grid;
|
||||||
align-items: start;
|
align-items: start;
|
||||||
width: 36px;
|
width: 36px;
|
||||||
min-height: 36px;
|
min-height: 36px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue