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

feat: allow surface class radius to be overwritten by parent #548

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

joshhowenstine
Copy link
Contributor

This PR allows components extending Surface to override its radius property by implementing a dynamic radius calculation based on component dimensions.

Implementation

Adds a _radius getter that computes the radius using the component's style and dimensions.

Testing

Confirmed all components extending Surface work as expected with the new dynamic radius adjustment.

@ImCoolNowRight ImCoolNowRight merged commit 3db0c5c into develop Oct 30, 2024
8 checks passed
@ImCoolNowRight ImCoolNowRight deleted the feat/surface-optimization branch October 30, 2024 13:55
svc-lightning-ui-components pushed a commit that referenced this pull request Oct 30, 2024
# [@lightningjs/ui-components-v2.25.0](https://github.com/rdkcentral/Lightning-UI-Components/compare/@lightningjs/ui-components-v2.24.0...@lightningjs/ui-components-v2.25.0) (2024-10-30)

### Bug Fixes

* allow withEditItems to work with lazyScroll ([#496](#496)) ([0cf0522](0cf0522))

### Features

* allow surface class radius to be overwritten by parent ([#548](#548)) ([3db0c5c](3db0c5c))
@svc-lightning-ui-components
Copy link
Collaborator

🎉 This PR is included in version @lightningjs/ui-components-v2.25.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants