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(select): add scale attribute with condensed (VIV-1836) #1901

Merged
merged 20 commits into from
Sep 18, 2024

Conversation

YonatanKra
Copy link
Contributor

No description provided.

@YonatanKra YonatanKra requested a review from rachelbt September 5, 2024 12:24
Copy link

codecov bot commented Sep 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d61b119) to head (2d2c27c).
Report is 1073 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##              main     #1901     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files          123       342    +219     
  Lines         1562      6267   +4705     
  Branches       108       792    +684     
===========================================
+ Hits          1562      6267   +4705     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@rachelbt rachelbt left a comment

Choose a reason for hiding this comment

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

added some comments to align the css to be aligned to what we have in text-field :)

libs/components/src/lib/select/select.scss Show resolved Hide resolved
libs/components/src/lib/select/select.scss Outdated Show resolved Hide resolved
libs/components/src/lib/select/select.scss Show resolved Hide resolved
libs/components/src/lib/select/select.scss Outdated Show resolved Hide resolved
Comment on lines 50 to 54
border-radius: var(#{variables.$select-control-border-radius});
background-color: var(#{appearance.get-appearance-token(fill)});
block-size: var(#{variables.$select-block-size});
padding-inline: var(#{variables.$select-padding-inline});

Copy link
Contributor

Choose a reason for hiding this comment

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

this needs to be inside the first &{}.
We prefer the @includes to be the first of the class.

Copy link
Contributor

@rachelbt rachelbt left a comment

Choose a reason for hiding this comment

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

👍
I'm approving this - but I think that we might need to add condensed to option as well
image
@AyalaBu ?

@YonatanKra YonatanKra merged commit 0138a54 into main Sep 18, 2024
15 checks passed
@YonatanKra YonatanKra deleted the VIV-1836-add-scale-condensed-to-select branch September 18, 2024 07:34
@github-actions github-actions bot mentioned this pull request Sep 18, 2024
@AyalaBu
Copy link
Contributor

AyalaBu commented Sep 22, 2024

I absolutely agree about the condensed option
It is needed to be added

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.

3 participants