bymi15 / react-edit-text

Simple 'click to edit' editable text component for React
https://www.npmjs.com/package/react-edit-text
MIT License
53 stars 10 forks source link

feat(11): add props for displaying edit button and refactor project with react hooks #23

Closed bymi15 closed 2 years ago

bymi15 commented 2 years ago

Description

Fixes #11

Types of changes

Checklist:

github-actions[bot] commented 2 years ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟒 Statements 94.44% 102/108
🟒 Branches
85.71% (+1.57% πŸ”Ό)
66/77
🟒 Functions 87.1% 27/31
🟒 Lines 94.29% 99/105
Show new covered files 🐣 |
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :---------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------ | :--------- | :------- | :-------- | :----- | | 🟒 | components/Input.js | 100% | 100% | 100% | 100% | | πŸ”΄ |
`...` / EditIcon.js
| 50% | 100% | 0% | 50% | | 🟑 |
`...` / Textarea.js
| 66.67% | 100% | 50% | 66.67% |
Show files with reduced coverage πŸ”» |
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :---------------------------------------------------------------------------------------------------------------------------------------: | :---------- | :------------------------------------------------------------- | :------- | :------------------------------------------------------------ | :------------------------------------------------------------- | | 🟒 | EditText.js |
91.84% (-1.02% πŸ”»)
| 84.09% |
81.82% (-5.68% πŸ”»)
|
91.67% (-1.02% πŸ”»)
|

Test suite run success

44 tests passing in 3 suites.

Report generated by πŸ§ͺjest coverage report action from 65a5aa7da07feaab768c0e67547bf8a013aa8402

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

bymi15 commented 2 years ago

:tada: This PR is included in version 4.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: