Skip to content

Commit

Permalink
chore: Update all dependencies to the latest version. (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-algms authored Apr 4, 2022
1 parent da36ca4 commit 906aef4
Show file tree
Hide file tree
Showing 4 changed files with 1,414 additions and 1,233 deletions.
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,43 +20,43 @@
"typings": "./index.d.ts",
"dependencies": {
"lodash.get": "^4.4.2",
"nanoid": "^3.1.30",
"react-number-format": "^4.8.0"
"nanoid": "^3.3.2",
"react-number-format": "4.9.1"
},
"peerDependencies": {
"@mui/icons-material": "^5.1.1",
"@mui/material": "^5.1.1",
"@mui/icons-material": "^5.5.1",
"@mui/material": "^5.5.3",
"formik": "^2.2.9",
"react": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.16.0",
"@emotion/react": "^11.6.0",
"@mui/icons-material": "^5.1.1",
"@mui/material": "^5.1.1",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-docs": "^6.3.12",
"@storybook/addon-links": "^6.3.12",
"@storybook/addons": "^6.3.12",
"@storybook/react": "^6.3.12",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^12.1.2",
"@babel/core": "^7.17.8",
"@emotion/react": "^11.8.2",
"@mui/icons-material": "^5.5.1",
"@mui/material": "^5.5.3",
"@storybook/addon-actions": "^6.4.20",
"@storybook/addon-docs": "^6.4.20",
"@storybook/addon-links": "^6.4.20",
"@storybook/addons": "^6.4.20",
"@storybook/react": "^6.4.20",
"@testing-library/jest-dom": "^5.16.3",
"@testing-library/react": "^12.1.4",
"@testing-library/react-hooks": "^7.0.2",
"@types/jest": "^27.0.3",
"@types/jest": "^27.4.1",
"@types/lodash.get": "^4.4.6",
"@types/react": "^17.0.35",
"@types/react": "^17.0.43",
"@types/yup": "^0.29.13",
"cross-env": "^7.0.3",
"formik": "^2.2.9",
"jest": "^27.3.1",
"prettier": "^2.4.1",
"jest": "^27.5.1",
"prettier": "^2.6.2",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-is": "^17.0.2",
"react-test-renderer": "^17.0.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.7",
"typescript": "^4.5.2",
"ts-jest": "^27.1.4",
"typescript": "^4.6.3",
"yup": "^0.32.11"
},
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/CheckboxField/CheckboxField.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import SubmitButton from '../SubmitButton';
import useFormSubmittedValues from '../useFormSubmittedValues';
import CheckboxField from './CheckboxField';
import FormDemo from '../shared/FormDemo';
import { Typography } from '@material-ui/core';
import Typography from '@mui/material/Typography';
import * as yup from 'yup';

export const initialValues = {
Expand Down
8 changes: 4 additions & 4 deletions src/FormattedField/FormattedField.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import TextField from '@mui/material/TextField';
import TextField, { TextFieldProps } from '@mui/material/TextField';
import { Field, FieldProps } from 'formik';
import { nanoid } from 'nanoid/non-secure';
import NumberFormat, { NumberFormatProps } from 'react-number-format';
import ErrorLabel from '../ErrorLabel';

type Props = NumberFormatProps & { fullWidth?: boolean };
type Props = Omit<NumberFormatProps<TextFieldProps>, 'customInput' | 'error' | 'size' | 'color'>;

const FormattedField = ({
name = nanoid(),
Expand All @@ -28,11 +28,11 @@ const FormattedField = ({
{...formikFieldProps}
fullWidth={fullWidth}
error={isErrorState}
onBlur={(e) => {
onBlur={(e: any) => {
formikOnBlur(e);
onBlur(e);
}}
onChange={(e) => {
onChange={(e: any) => {
formikOnChange(e);
onChange(e);
}}
Expand Down
Loading

0 comments on commit 906aef4

Please sign in to comment.