-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(NumberInputV2): controls prop #3872
Conversation
🦋 Changeset detectedLatest commit: 7f4e824 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
2693929
to
6676723
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3872 +/- ##
=======================================
Coverage 93.49% 93.50%
=======================================
Files 185 185
Lines 5922 5929 +7
Branches 2672 2678 +6
=======================================
+ Hits 5537 5544 +7
Misses 385 385
Continue to review full report in Codecov by Sentry.
|
packages/ui/src/components/NumberInputV2/__stories__/Controls.stories.tsx
Show resolved
Hide resolved
packages/plus/src/components/EstimateCost/__stories__/NumberInput.stories.tsx
Outdated
Show resolved
Hide resolved
6676723
to
7f4e824
Compare
Summary
Type
Summarise concisely:
What is expected?
<NumberInputV2 />
: Added a new prop to hide controls<EstimateCost />
The following changes were made:
<NumberInputV2 />
: New propcontrols
(defaulttrue
. When set tofalse
, the controls are hidden and the text is left-aligned)Added this prop to other component that uses
<NumberInputV2 />
:<EstimateCost />
&<NumberInputFieldV2 />
Fix: stories description were not working for
<EstimateCost />
Size limit for @ultraviolet/ui 500kB -> 550kB