Closed tomdye closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/dojo/widget-test-docs/Gy92jP8wXeaM1hngYtN56vyugqDk
✅ Preview: https://widget-test-docs-git-fork-tomdye-text-input-addon-dojo1.vercel.app
🔍 Inspect: https://vercel.com/dojo/dojo.widgets/CyftXDNLsmxAsevtD41My821D5Va
✅ Preview: https://dojowidgets-git-fork-tomdye-text-input-addon-dojo1.vercel.app
Merging #1697 (316a470) into master (8bade73) will decrease coverage by
0.00%
. The diff coverage is76.92%
.
@@ Coverage Diff @@
## master #1697 +/- ##
==========================================
- Coverage 90.05% 90.05% -0.01%
==========================================
Files 94 94
Lines 5050 5046 -4
Branches 1373 1374 +1
==========================================
- Hits 4548 4544 -4
Misses 249 249
Partials 253 253
Impacted Files | Coverage Δ | |
---|---|---|
src/password-input/index.tsx | 78.57% <40.00%> (ø) |
|
src/date-input/index.tsx | 91.07% <100.00%> (ø) |
|
src/text-input/index.tsx | 92.68% <100.00%> (-0.24%) |
:arrow_down: |
src/time-picker/index.tsx | 81.81% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 8bade73...316a470. Read the comment docs.
Looks good Tom! What was the original thought behind the Addon
widget?
Looks good Tom! What was the original thought behind the
Addon
widget?
I believe it was to make the padding optional but this can be done better via theming etc now. The previous approach was awkward for custom elements.
@aciccarello comments addressed
This PR removes the text-input
Addon
widget and makes it more user friendly. You can now simply pass the leading / trailing dom node directly to theTextInput
.Resolves: #1695