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(text-field): add scale attribute with condensed (VIV-1813) #1899

Merged
merged 15 commits into from
Sep 11, 2024

Conversation

YonatanKra
Copy link
Contributor

No description provided.

Copy link

codecov bot commented Sep 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (d61b119) to head (883a351).
Report is 1067 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##              main     #1899     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files          123       342    +219     
  Lines         1562      6263   +4701     
  Branches       108       790    +682     
===========================================
+ Hits          1562      6263   +4701     
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.

@YonatanKra YonatanKra changed the title feat(text-field): add block-size with condensed (VIV-1813) feat(text-field): add scale attribute with condensed (VIV-1813) Sep 5, 2024
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.

  1. I'm not sure about the font size of the icon in condensed. In my suggested changes it renders as 16px.
  2. in other components - when the block size is 32px the border-radius is 4 px and not 8px. @AyalaBu is it true?
    @YonatanKra if this need to be changed - we can do this together :)
    other then that all is OK 👍

libs/components/src/lib/text-field/text-field.scss Outdated Show resolved Hide resolved
libs/components/src/lib/text-field/text-field.scss Outdated Show resolved Hide resolved
@@ -122,6 +122,17 @@ Use the `icon` attribute to add an icon.
<vwc-text-field icon="search-line" label="Search..."></vwc-text-field>
```

### Scale

Use the `scale` attribute to change the text field's size.
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we need to write something about not using the size property. WDYT?

@rachelbt rachelbt self-assigned this Sep 9, 2024
Co-authored-by: Rachel Bratt Tannenbaum <rachelbt@users.noreply.github.com>
@AyalaBu
Copy link
Contributor

AyalaBu commented Sep 10, 2024

32px the border-radius is 4 px - Correct

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.

LGTM

@YonatanKra YonatanKra merged commit cc373cd into main Sep 11, 2024
15 checks passed
@YonatanKra YonatanKra deleted the VIV-1813-add-textfield-condensed branch September 11, 2024 08:44
@github-actions github-actions bot mentioned this pull request Sep 11, 2024
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