vmui: update dependencies (#5194)

This commit is contained in:
Yury Molodov 2023-10-18 18:38:32 +02:00 committed by Aliaksandr Valialkin
parent 76606eed22
commit 45501eccab
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1
7 changed files with 1328 additions and 825 deletions

File diff suppressed because it is too large Load diff

View file

@ -30,7 +30,7 @@
"web-vitals": "^3.3.2"
},
"scripts": {
"prestart": "npm run update-metricsql",
"prestart": "npm run copy-metricsql-docs",
"start": "react-app-rewired start",
"start:logs": "cross-env REACT_APP_LOGS=true npm run start",
"build": "GENERATE_SOURCEMAP=false react-app-rewired build",

View file

@ -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 { useAppState } from "../state/common/StateContext";
import { InstantMetricResult, MetricBase, MetricResult, QueryStats } from "../api/types";

View file

@ -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 { AutocompleteOptions } from "../components/Main/Autocomplete/Autocomplete";
import { LabelIcon, MetricIcon, ValueIcon } from "../components/Main/Icons";

View file

@ -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";
const useStateSearchParams = <T>(defaultState: T, key: string): [T, StateUpdater<T>] => {

View file

@ -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 AdditionalSettings from "../../../components/Configurators/AdditionalSettings/AdditionalSettings";
import usePrevious from "../../../hooks/usePrevious";

View file

@ -24,7 +24,7 @@
&__button {
display: grid;
align-items: start;
align-items: start;
width: 36px;
min-height: 36px;
}