Skip to content

Commit

Permalink
fix Radio issue
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedElywa committed Feb 15, 2021
1 parent 9724ee9 commit 9ad4989
Show file tree
Hide file tree
Showing 4 changed files with 1,100 additions and 1,156 deletions.
6 changes: 3 additions & 3 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"eva-icons": "^1.1.3"
},
"devDependencies": {
"@types/node": "14.6.0",
"tslib": "2.0.1",
"typescript": "4.0.2"
"@types/node": "14.14.28",
"tslib": "2.1.0",
"typescript": "4.1.5"
},
"files": [
"dist"
Expand Down
58 changes: 29 additions & 29 deletions packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,46 +22,46 @@
"prepack": "yarn build"
},
"peerDependencies": {
"react": ">=16.13.1",
"react-dom": ">=16.13.1",
"styled-components": ">=5.2.0"
"react": ">=17.0.1",
"react-dom": ">=17.0.1",
"styled-components": ">=5.2.1"
},
"dependencies": {
"@paljs/theme": "^1.0.3",
"@types/react-select": "3.0.22",
"react-select": "^3.1.0"
"@types/react-select": "4.0.13",
"react-select": "^4.1.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/node": "^7.10.5",
"@babel/plugin-transform-object-assign": "^7.10.4",
"@babel/plugin-transform-react-constant-elements": "^7.10.4",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/preset-typescript": "^7.10.4",
"@babel/cli": "^7.12.16",
"@babel/core": "^7.12.16",
"@babel/node": "^7.12.16",
"@babel/plugin-transform-object-assign": "^7.12.13",
"@babel/plugin-transform-react-constant-elements": "^7.12.13",
"@babel/preset-env": "^7.12.16",
"@babel/preset-react": "^7.12.13",
"@babel/preset-typescript": "^7.12.16",
"@paljs/icons": "^1.0.4",
"@types/node": "14.11.8",
"@types/react": "16.9.52",
"@types/react-dom": "16.9.8",
"@types/react-select": "3.0.22",
"@types/styled-components": "5.1.4",
"@typescript-eslint/eslint-plugin": "4.4.0",
"@typescript-eslint/parser": "4.4.0",
"babel-plugin-module-resolver": "^4.0.0",
"eslint": "7.11.0",
"eslint-config-prettier": "6.12.0",
"eslint-plugin-prettier": "3.1.4",
"eslint-plugin-react": "7.21.4",
"fs-extra": "^9.0.1",
"@types/node": "14.14.28",
"@types/react": "17.0.2",
"@types/react-dom": "17.0.1",
"@types/react-select": "4.0.13",
"@types/styled-components": "5.1.7",
"@typescript-eslint/eslint-plugin": "4.15.0",
"@typescript-eslint/parser": "4.15.0",
"babel-plugin-module-resolver": "^4.1.0",
"eslint": "7.20.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-prettier": "3.3.1",
"eslint-plugin-react": "7.22.0",
"fs-extra": "^9.1.0",
"gh-pages": "3.1.0",
"glob": "^7.1.6",
"react": "16.13.1",
"react-dom": "16.13.1",
"styled-components": "5.1.1",
"tslib": "2.0.3",
"typescript": "4.0.3",
"yargs": "^16.0.3"
"tslib": "2.1.0",
"typescript": "4.1.5",
"yargs": "^16.2.0"
},
"publishConfig": {
"access": "public",
Expand Down
3 changes: 2 additions & 1 deletion packages/ui/src/Radio/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ export const Radio: React.FC<RadioProps> = (props) => {
checked={option.checked}
name={props.name}
disabled={option.disabled || props.disabled}
onClick={() => onClickHandler(option.value)}
value={option.value}
onChange={(e) => onClickHandler(e.target.value)}
className="native-input visually-hidden"
/>
<span className="outer-circle" />
Expand Down
Loading

0 comments on commit 9ad4989

Please sign in to comment.