From 2f3f2ae7f098376f535e5aa993c9eedc14e36f5d Mon Sep 17 00:00:00 2001 From: Vijay A Date: Fri, 22 Mar 2024 02:33:33 +0530 Subject: Upgrade node modules --- src/components/ui/input/index.tsx | 24 ++++++++++++++---------- src/components/ui/input/styles.ts | 4 ++-- 2 files changed, 16 insertions(+), 12 deletions(-) (limited to 'src/components/ui/input') diff --git a/src/components/ui/input/index.tsx b/src/components/ui/input/index.tsx index 68cc9ee22..c61efe570 100644 --- a/src/components/ui/input/index.tsx +++ b/src/components/ui/input/index.tsx @@ -1,22 +1,26 @@ import { mdiEye, mdiEyeOff } from '@mdi/js'; import classnames from 'classnames'; +import { noop } from 'lodash'; +import { observer } from 'mobx-react'; import { Component, + type InputHTMLAttributes, + type KeyboardEvent, + type ReactElement, + type RefObject, createRef, - InputHTMLAttributes, - ReactElement, - RefObject, - KeyboardEvent, } from 'react'; -import withStyles, { WithStylesProps } from 'react-jss'; -import { noop } from 'lodash'; -import { observer } from 'mobx-react'; -import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; -import Icon from '../icon'; -import { IFormField } from '../typings/generic'; +import { + type WrappedComponentProps, + defineMessages, + injectIntl, +} from 'react-intl'; +import withStyles, { type WithStylesProps } from 'react-jss'; // biome-ignore lint/suspicious/noShadowRestrictedNames: import Error from '../error'; +import Icon from '../icon'; import Label from '../label'; +import type { IFormField } from '../typings/generic'; import Wrapper from '../wrapper'; import { scorePasswordFunc } from './scorePassword'; import styles from './styles'; diff --git a/src/components/ui/input/styles.ts b/src/components/ui/input/styles.ts index ebae0e40d..580c72889 100644 --- a/src/components/ui/input/styles.ts +++ b/src/components/ui/input/styles.ts @@ -1,6 +1,6 @@ -import { Property } from 'csstype'; +import type { Property } from 'csstype'; -import { Theme } from '../../../themes'; +import type { Theme } from '../../../themes'; const prefixStyles = (theme: Theme) => ({ background: theme.inputPrefixBackground, -- cgit v1.2.3-70-g09d2