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

refactor(borders, overflows): implements css logical props #6768

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

AlexanderMelox
Copy link
Contributor

Closes #3556

This PR changes the following to use CSS Logical Properties:

Screenshot 2025-01-27 at 10 11 13 AM
Screenshot 2025-01-27 at 10 11 23 AM
Screenshot 2025-01-27 at 10 11 34 AM

Similar PR in core -> carbon-design-system/carbon#14531

Changed

⚠️ ATTENTION REVIEWER ⚠️

Things to look out for while reviewing: Since I mostly did a find and replace, some lines might be changed that shouldn't that includes the following:

  • Css custom properties for example --nav-height: shouldn't be changed
  • media queries: should be kept the same
  • Sass variables

@AlexanderMelox AlexanderMelox requested a review from a team as a code owner January 27, 2025 15:12
@AlexanderMelox AlexanderMelox requested review from anamikaanu96 and sangeethababu9223 and removed request for a team January 27, 2025 15:12
Copy link

netlify bot commented Jan 27, 2025

Deploy Preview for carbon-for-ibm-products ready!

Name Link
🔨 Latest commit a041597
🔍 Latest deploy log https://app.netlify.com/sites/carbon-for-ibm-products/deploys/679d0fe3d15e24000824eaa4
😎 Deploy Preview https://deploy-preview-6768--carbon-for-ibm-products.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

netlify bot commented Jan 27, 2025

Deploy Preview for ibm-products-web-components ready!

Name Link
🔨 Latest commit a041597
🔍 Latest deploy log https://app.netlify.com/sites/ibm-products-web-components/deploys/679d0fe3d0aea600086b02e1
😎 Deploy Preview https://deploy-preview-6768--ibm-products-web-components.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 81.24%. Comparing base (d043ffa) to head (a041597).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6768      +/-   ##
==========================================
+ Coverage   81.17%   81.24%   +0.07%     
==========================================
  Files         398      397       -1     
  Lines       12956    12949       -7     
  Branches     4283     4281       -2     
==========================================
+ Hits        10517    10521       +4     
+ Misses       2439     2428      -11     
Components Coverage Δ
ibm-products ∅ <ø> (∅)
ibm-products-web-components ∅ <ø> (∅)

@AlexanderMelox AlexanderMelox changed the title refactor(borders): implements css logical props and adds stylelint rule refactor(borders): implements css logical props Jan 27, 2025
@AlexanderMelox AlexanderMelox force-pushed the refactor--css-logical-properties-border branch from ac491f3 to 5004f85 Compare January 29, 2025 13:59
@AlexanderMelox AlexanderMelox marked this pull request as draft January 29, 2025 14:01
@AlexanderMelox AlexanderMelox marked this pull request as ready for review January 29, 2025 14:17
@AlexanderMelox AlexanderMelox changed the title refactor(borders): implements css logical props refactor(borders,, overflows): implements css logical props Jan 29, 2025
@AlexanderMelox AlexanderMelox changed the title refactor(borders,, overflows): implements css logical props refactor(borders, overflows): implements css logical props Jan 29, 2025
@matthewgallo
Copy link
Member

Looks like the PageHeader has some unintended visual changes
image

@sangeethababu9223 sangeethababu9223 dismissed their stale review January 30, 2025 07:11

avt test is failing.

@sangeethababu9223
Copy link
Member

Hey @AlexanderMelox ,
avt test is failing. Not sure if this is related to the changes in the PR.
I tried to recreate this in local but I am getting a different error there.

davidmenendez
davidmenendez previously approved these changes Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement CSS logical properties
4 participants