diff --git a/package.json b/package.json index d683355dd..70e7d2f02 100644 --- a/package.json +++ b/package.json @@ -21,30 +21,30 @@ "url": "https://github.com/comicrelief/component-library.git" }, "dependencies": { - "@babel/cli": "^7.10.4", + "@babel/cli": "^7.13.14", "@hookform/resolvers": "^1.3.4", - "axios": "^0.19.2", + "axios": "^0.21.1", "jest-styled-components": "^7.0.2", - "lazysizes": "^5.1.0", + "lazysizes": "^5.3.2", "lodash": "^4.17.11", "moment": "^2.29.1", "prop-types": "^15.7.2", - "react": "^16.8.6", + "react": "^17.0.2", "react-currency-format": "^1.0.0", - "react-dom": "^16.8.6", + "react-dom": "^17.0.2", "react-hook-form": "^6.3.0", - "react-scripts": "3.4.1", - "react-styleguidist": "^11.0.8", - "react-test-renderer": "^16.8.6", + "react-scripts": "4.0.3", + "react-styleguidist": "^11.1.6", + "react-test-renderer": "^17.0.2", "react-uid": "^2.2.0", - "styled-components": "^5.1.1", + "styled-components": "^5.2.3", "youtube-player": "^5.5.2", "yup": "^0.32.9", "yup-phone": "^1.2.19" }, "scripts": { "test": "yarn run jest", - "styleguide": "styleguidist server", + "styleguide": "cross-env FAST_REFRESH=false styleguidist server", "styleguide:build": "styleguidist build", "postinstall": "yarn run build", "build": "rm -rf dist && NODE_ENV=production babel src --out-dir dist --copy-files --ignore __tests__,spec.js,test.js", @@ -68,12 +68,13 @@ }, "devDependencies": { "babel-eslint": "^10.0.2", - "cypress": "^4.9.0", - "eslint": "^7.4.0", + "cross-env": "^7.0.3", + "cypress": "^7.0.1", + "eslint": "^7.23.0", "eslint-config-airbnb": "^18.2.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jsx-a11y": "^6.3.1", - "eslint-plugin-react": "^7.20.3", + "eslint-plugin-react": "^7.23.1", "eslint-plugin-react-hooks": "^4.0.5", "husky": "^5.0.6", "jest": "^26.1.0", diff --git a/src/components/Atoms/TextArea/TextArea.md b/src/components/Atoms/TextArea/TextArea.md index 4b877f8c2..c50ed7fa6 100644 --- a/src/components/Atoms/TextArea/TextArea.md +++ b/src/components/Atoms/TextArea/TextArea.md @@ -6,7 +6,7 @@ name="description" placeholder="This is a placeholder" label="Label" - rows="4" + rows={4} id="textarea-test" /> @@ -14,7 +14,7 @@