Skip to content

core: move flex under core/layout #93755

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

Merged
merged 4 commits into from
Jun 18, 2025
Merged

core: move flex under core/layout #93755

merged 4 commits into from
Jun 18, 2025

Conversation

JonasBa
Copy link
Member

@JonasBa JonasBa commented Jun 17, 2025

Move flex under core/layout, and cleanup the API (column bool -> direction=column + remove non flex style props)

@JonasBa JonasBa requested review from a team as code owners June 17, 2025 21:02
@github-actions github-actions bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Jun 17, 2025
Comment on lines -11 to -15
gap?: number | CssSize;
h?: number | CssSize;
gap?: CSSProperties['gap'];
justify?: CSSProperties['justifyContent'];
p?: number | CssSize;
w?: number | CssSize;
Copy link
Member Author

@JonasBa JonasBa Jun 17, 2025

Choose a reason for hiding this comment

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

Aside from w having a single use, the rest were all unused

Copy link

codecov bot commented Jun 17, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #93755      +/-   ##
==========================================
- Coverage   88.03%   82.96%   -5.07%     
==========================================
  Files       10328    10328              
  Lines      596102   596102              
  Branches    23146    23146              
==========================================
- Hits       524763   494585   -30178     
- Misses      70883   101061   +30178     
  Partials      456      456              

@JonasBa
Copy link
Member Author

JonasBa commented Jun 17, 2025

Requires stacked changes from #93758 to be merged into this PR first.

This logic should have been inlined.

Opening as a stacked PR to unblock knip on
#93755
@JonasBa JonasBa merged commit 832bc16 into master Jun 18, 2025
45 checks passed
@JonasBa JonasBa deleted the jb/core/layout-flex branch June 18, 2025 13:10
andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
Move flex under core/layout, and cleanup the API (column bool ->
direction=column + remove non flex style props)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Frontend Automatically applied to PRs that change frontend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants