mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Fix build
This commit is contained in:
parent
38400432b0
commit
34d7183a3d
|
@ -1,7 +1,8 @@
|
||||||
import React, { ReactNode, FormEvent, MouseEvent, ChangeEvent } from 'react';
|
import React, { ReactNode, FormEvent, MouseEvent, ChangeEvent } from 'react';
|
||||||
|
import type { DebouncedFunc } from 'lodash';
|
||||||
|
import { Select } from '@redux-devtools/ui';
|
||||||
import { QueryFormValues } from '../types';
|
import { QueryFormValues } from '../types';
|
||||||
import { StyleUtilsContext } from '../styles/createStylingFromTheme';
|
import { StyleUtilsContext } from '../styles/createStylingFromTheme';
|
||||||
import { Select } from '@redux-devtools/ui';
|
|
||||||
import { SelectOption } from '../types';
|
import { SelectOption } from '../types';
|
||||||
import debounce from 'lodash.debounce';
|
import debounce from 'lodash.debounce';
|
||||||
import { sortQueryOptions, QueryComparators } from '../utils/comparators';
|
import { sortQueryOptions, QueryComparators } from '../utils/comparators';
|
||||||
|
@ -84,7 +85,7 @@ export class QueryForm extends React.PureComponent<
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
invalidateSearchValueFromProps = debounce(() => {
|
invalidateSearchValueFromProps: DebouncedFunc<() => void> = debounce(() => {
|
||||||
this.props.onFormValuesChange({
|
this.props.onFormValuesChange({
|
||||||
searchValue: this.state.searchValue,
|
searchValue: this.state.searchValue,
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,12 +5,15 @@ import {
|
||||||
getBase16Theme,
|
getBase16Theme,
|
||||||
invertTheme,
|
invertTheme,
|
||||||
StylingConfig,
|
StylingConfig,
|
||||||
|
StylingFunction,
|
||||||
|
Theme,
|
||||||
} from 'react-base16-styling';
|
} from 'react-base16-styling';
|
||||||
import rgba from 'hex-rgba';
|
import rgba from 'hex-rgba';
|
||||||
import * as reduxThemes from 'redux-devtools-themes';
|
import * as reduxThemes from 'redux-devtools-themes';
|
||||||
import { Action } from 'redux';
|
import { Action } from 'redux';
|
||||||
import { RtkQueryMonitorProps, StyleUtils } from '../types';
|
|
||||||
import { createContext } from 'react';
|
import { createContext } from 'react';
|
||||||
|
import type { CurriedFunction1 } from 'lodash';
|
||||||
|
import { RtkQueryMonitorProps, StyleUtils } from '../types';
|
||||||
|
|
||||||
jss.setup(preset());
|
jss.setup(preset());
|
||||||
|
|
||||||
|
@ -513,7 +516,10 @@ const getDefaultThemeStyling = (theme: reduxThemes.Base16Theme) => {
|
||||||
return themeSheet.classes;
|
return themeSheet.classes;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const createStylingFromTheme = createStyling(getDefaultThemeStyling, {
|
export const createStylingFromTheme: CurriedFunction1<
|
||||||
|
Theme | undefined,
|
||||||
|
StylingFunction
|
||||||
|
> = createStyling(getDefaultThemeStyling, {
|
||||||
defaultBase16: reduxThemes.nicinabox,
|
defaultBase16: reduxThemes.nicinabox,
|
||||||
base16Themes: { ...reduxThemes },
|
base16Themes: { ...reduxThemes },
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user