Skip to content
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

Merged
merged 4 commits into from
Jun 18, 2024
Merged

Conversation

lisalupi
Copy link
Contributor

@lisalupi lisalupi commented Jun 13, 2024

Summary

Type

  • Feature
  • Bug

Summarise concisely:

What is expected?

  • <NumberInputV2 />: Added a new prop to hide controls
  • Updated stories description to be correct for <EstimateCost />
  • Increased size limit for @ultraviolet/ui

The following changes were made:

  1. <NumberInputV2 />: New prop controls (default true. When set to false, the controls are hidden and the text is left-aligned)

  2. Added this prop to other component that uses <NumberInputV2 />: <EstimateCost /> & <NumberInputFieldV2 />

  3. Fix: stories description were not working for <EstimateCost />

  4. Size limit for @ultraviolet/ui 500kB -> 550kB

@lisalupi lisalupi added the enhancement New feature or request label Jun 13, 2024
@lisalupi lisalupi requested review from matthprost and a team June 13, 2024 12:37
@lisalupi lisalupi self-assigned this Jun 13, 2024
@lisalupi lisalupi requested review from BABAK0T0 and removed request for a team June 13, 2024 12:37
Copy link

changeset-bot bot commented Jun 13, 2024

🦋 Changeset detected

Latest commit: 7f4e824

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@ultraviolet/form Patch
@ultraviolet/plus Patch
@ultraviolet/ui Patch

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

Copy link

codecov bot commented Jun 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.50%. Comparing base (ce4dfdd) to head (7f4e824).

Additional details and impacted files

Impacted file tree graph

@@           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           
Files Coverage Δ
...s/form/src/components/NumberInputFieldV2/index.tsx 100.00% <100.00%> (ø)
packages/ui/src/components/NumberInputV2/index.tsx 84.42% <100.00%> (+0.80%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ce4dfdd...7f4e824. Read the comment docs.

@lisalupi lisalupi merged commit 10e7a83 into main Jun 18, 2024
12 checks passed
@lisalupi lisalupi deleted the feat/number-input-controls branch June 18, 2024 08:15
@scaleway-bot scaleway-bot mentioned this pull request Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants