Skip to content

chore: adds lion-input-amount-dropdown #2505

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

Open
wants to merge 26 commits into
base: master
Choose a base branch
from

Conversation

thatdudemanguy
Copy link
Contributor

@thatdudemanguy thatdudemanguy commented Mar 31, 2025

What I did

  1. Added input-amount-dropdown test cases and suite to define the spec of the new component, according to the pre-existing input-tel-dropdown structure.
  2. Added input-amount-dropdown component according to the test cases.

Copy link

changeset-bot bot commented Mar 31, 2025

🦋 Changeset detected

Latest commit: 2bbccc4

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

This PR includes changesets to release 1 package
Name Type
@lion/ui Minor

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
Member

@gerjanvangeest gerjanvangeest left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @thatdudemanguy great progress!
Keep up the good work 💪

@thatdudemanguy thatdudemanguy changed the title chore: adds ing-input-amount-dropdown tests chore: adds ing-input-amount-dropdown Apr 24, 2025
@thatdudemanguy thatdudemanguy marked this pull request as ready for review April 24, 2025 12:32
static properties = {
preferredCurrencies: { type: Array },
allowedCurrencies: { type: Array },
__dropdownSlot: { type: String },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Private properties should be written with a #. We are slowly applying this throughout the lion repo.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_properties

Suggested change
__dropdownSlot: { type: String },
#dropdownSlot: { type: String },

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah I agree, however; last time I checked using # in lit properties didn't work.

thatdudemanguy and others added 2 commits May 12, 2025 11:41
@thatdudemanguy thatdudemanguy changed the title chore: adds ing-input-amount-dropdown chore: adds lion-input-amount-dropdown May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants