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

WRP-21128: Fixed components used in enact/ui/Layout/Cell which cannot have their css customized in consumer apps. #3162

Merged
merged 9 commits into from
Mar 22, 2024

Conversation

alexandrumorariu
Copy link
Contributor

@alexandrumorariu alexandrumorariu commented Jul 14, 2023

Enact-DCO-1.0-Signed-off-by: Alexandru Morariu [email protected]

Checklist

  • I have read and understand the contribution guide
  • A CHANGELOG entry is included
  • At least one test case is included for this feature or bug fix
  • Documentation was added or is not needed
  • This is an API breaking change

Issue Resolved / Feature Added

While working on Agate-Apps we noticed that components used in enact/ui/Layout/Cell cannot have their css customized. In order to customize it we passed the component as a child to Cell instead of using the component prop. Now we can pass the css directly.

Resolution

I added the componentCss prop to Cell component in order to increase customisation.

Additional Considerations

Links

WRP-21128

Comments

@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.31%. Comparing base (cffa347) to head (43c24ea).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3162      +/-   ##
===========================================
- Coverage    82.36%   82.31%   -0.05%     
===========================================
  Files          155      156       +1     
  Lines         7207     7211       +4     
  Branches      1907     1908       +1     
===========================================
  Hits          5936     5936              
- Misses         999     1002       +3     
- Partials       272      273       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@daniel-stoian-lgp daniel-stoian-lgp left a comment

Choose a reason for hiding this comment

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

see my comments

@daniel-stoian-lgp daniel-stoian-lgp changed the title WRP-21128: Components used in enact/ui/Layout/Cell cannot have their css customized in consumer apps. WRP-21128: Fixed components used in enact/ui/Layout/Cell which cannot have their css customized in consumer apps. Jul 19, 2023
packages/ui/CHANGELOG.md Outdated Show resolved Hide resolved
packages/ui/Layout/Cell.js Outdated Show resolved Hide resolved
packages/ui/Layout/Cell.js Outdated Show resolved Hide resolved
alexandrumorariu and others added 3 commits March 15, 2024 14:23
- improved description of added feature inside CHANGELOG
- changed documentation of added code to clarify how it works
Enact-DCO-1.0-Signed-off-by: Seungcheon Baek ([email protected])
@0x64 0x64 merged commit cd236a7 into develop Mar 22, 2024
6 of 7 checks passed
@0x64 0x64 deleted the feature/WRP-21128 branch March 22, 2024 08:33
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