aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/ui/input
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2024-03-22 02:33:33 +0530
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-03-21 21:24:35 +0000
commit2f3f2ae7f098376f535e5aa993c9eedc14e36f5d (patch)
treed919bda212744493a7b66c2e91a75455421d62cc /src/components/ui/input
parentUpgrade electron to '29.1.5' (diff)
downloadferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.gz
ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.tar.zst
ferdium-app-2f3f2ae7f098376f535e5aa993c9eedc14e36f5d.zip
Upgrade node modules
Diffstat (limited to 'src/components/ui/input')
-rw-r--r--src/components/ui/input/index.tsx24
-rw-r--r--src/components/ui/input/styles.ts4
2 files changed, 16 insertions, 12 deletions
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 @@
1import { mdiEye, mdiEyeOff } from '@mdi/js'; 1import { mdiEye, mdiEyeOff } from '@mdi/js';
2import classnames from 'classnames'; 2import classnames from 'classnames';
3import { noop } from 'lodash';
4import { observer } from 'mobx-react';
3import { 5import {
4 Component, 6 Component,
7 type InputHTMLAttributes,
8 type KeyboardEvent,
9 type ReactElement,
10 type RefObject,
5 createRef, 11 createRef,
6 InputHTMLAttributes,
7 ReactElement,
8 RefObject,
9 KeyboardEvent,
10} from 'react'; 12} from 'react';
11import withStyles, { WithStylesProps } from 'react-jss'; 13import {
12import { noop } from 'lodash'; 14 type WrappedComponentProps,
13import { observer } from 'mobx-react'; 15 defineMessages,
14import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; 16 injectIntl,
15import Icon from '../icon'; 17} from 'react-intl';
16import { IFormField } from '../typings/generic'; 18import withStyles, { type WithStylesProps } from 'react-jss';
17// biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation> 19// biome-ignore lint/suspicious/noShadowRestrictedNames: <explanation>
18import Error from '../error'; 20import Error from '../error';
21import Icon from '../icon';
19import Label from '../label'; 22import Label from '../label';
23import type { IFormField } from '../typings/generic';
20import Wrapper from '../wrapper'; 24import Wrapper from '../wrapper';
21import { scorePasswordFunc } from './scorePassword'; 25import { scorePasswordFunc } from './scorePassword';
22import styles from './styles'; 26import 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 @@
1import { Property } from 'csstype'; 1import type { Property } from 'csstype';
2 2
3import { Theme } from '../../../themes'; 3import type { Theme } from '../../../themes';
4 4
5const prefixStyles = (theme: Theme) => ({ 5const prefixStyles = (theme: Theme) => ({
6 background: theme.inputPrefixBackground, 6 background: theme.inputPrefixBackground,