-
Notifications
You must be signed in to change notification settings - Fork 77
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
fix(tab, tabs, tab-title, input, input-number, input-text, input-date-picker, input-time-picker): bumping the scale of icon to M when parent is scale L #6267
Conversation
…der, and icon without
…enders-icon-scale-M
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code LGTM. Did we get design approval yet?
const iconStart = await page.find("calcite-tab-title >>> .calcite-tab-title--icon.icon-start"); | ||
const iconEnd = await page.find("calcite-tab-title >>> .calcite-tab-title--icon.icon-end"); | ||
const iconStart = await page.find(iconStartHtml); | ||
const iconEnd = await page.find(iconEndHtml); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the cleanup! 🧹
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, been working with design on this. I'll run it through them again to make sure.
…out icon presence
…enders-icon-scale-M
* master: fix(tab, tabs, tab-title, input, input-number, input-text, input-date-picker, input-time-picker): bumping the scale of icon to M when parent is scale L (#6267) 1.0.0-next.725 feat(modal)!: Updates accepted `width` values, adds css variables for width and height (#6166) docs: update component READMEs (#6274) 1.0.0-next.724 feat(date-picker): Update border color (#6273) 1.0.0-next.723 refactor(color-picker)!: remove appearance property (#6276) 1.0.0-next.722 refactor(input-time-picker)!: remove string payload from event. (#6275) 1.0.0-next.721 fix(accordion-item): bumping the scale of icon to M when parent accordion is scale L (#6252)
Related Issue: #5698
Summary
Bumping the scales of
iconStart
andiconEnd
to M when the parenttab-title
,input
,input-number
,input-text
,input-date-picker
,input-time-picker
components arescale="l"
for a visual distinction between larger and smaller components without affecting the height of the components when icon(s) are added or removed. Added_testOnly
snapshots.