Skip to content

feat: Add typography and layout related logical props#3259

Draft
LinKCoding wants to merge 9 commits intokl-gmt-1508v2-margin-paddingfrom
kl-gmt-1516-gamut-layout-typography
Draft

feat: Add typography and layout related logical props#3259
LinKCoding wants to merge 9 commits intokl-gmt-1508v2-margin-paddingfrom
kl-gmt-1516-gamut-layout-typography

Conversation

@LinKCoding
Copy link
Contributor

@LinKCoding LinKCoding commented Feb 4, 2026

Overview

  • Add directional property configs for width, minWidth, maxWidth, height, minHeight, maxHeight (e.g., width → inlineSize) and direction
  • Add direction props to layout config
  • Update docs related to layout and typography
  • Update tests to cover both logical and physical property modes

PR Checklist

  • Related to designs:
  • Related to JIRA ticket: GMT-1516
  • I have run this code to verify it works
  • This PR includes unit tests for the code change
  • This PR includes testing instructions tests for the code change
  • The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.

  1. Go to story X
  2. Do something
  3. Do that something in dark mode
  4. Check it with VO
  5. Finish and do a celebratory dance

PR Links and Envs

Repository PR Link
Monolith Monolith PR
Mono Mono PR

@LinKCoding LinKCoding changed the base branch from main to kl-gmt-1508v2-margin-padding February 4, 2026 19:52
@nx-cloud
Copy link

nx-cloud bot commented Feb 4, 2026

View your CI Pipeline Execution ↗ for commit a8bc778


☁️ Nx Cloud last updated this comment at 2026-02-05 22:02:29 UTC

@codecov
Copy link

codecov bot commented Feb 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.13%. Comparing base (1f6e194) to head (a8bc778).
⚠️ Report is 2 commits behind head on kl-gmt-1508v2-margin-padding.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@                       Coverage Diff                        @@
##           kl-gmt-1508v2-margin-padding    #3259      +/-   ##
================================================================
+ Coverage                         89.09%   89.13%   +0.04%     
================================================================
  Files                               236      236              
  Lines                              4309     4309              
  Branches                           1478     1478              
================================================================
+ Hits                               3839     3841       +2     
+ Misses                              462      460       -2     
  Partials                              8        8              
Flag Coverage Δ
pull-request 89.13% <100.00%> (+0.04%) ⬆️

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.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@LinKCoding LinKCoding changed the title Kl gmt 1516 gamut layout typography feat: Add typography and layout related logical props Feb 5, 2026
@codecademydev
Copy link
Collaborator

📬 Published Alpha Packages:

@codecademy/gamut@68.0.1-alpha.e71051.0
@codecademy/gamut-icons@9.54.3-alpha.e71051.0
@codecademy/gamut-illustrations@0.58.3-alpha.e71051.0
@codecademy/gamut-kit@0.6.580-alpha.e71051.0
@codecademy/gamut-patterns@0.10.22-alpha.e71051.0
@codecademy/gamut-styles@17.11.3-alpha.e71051.0
@codecademy/gamut-tests@5.2.20-alpha.e71051.0
@codecademy/styleguide@79.0.1-alpha.e71051.0
@codecademy/variance@0.25.3-alpha.e71051.0

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

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