Skip to content

Conversation

boiler23
Copy link
Collaborator

@boiler23 boiler23 commented Jun 19, 2025

Exposed the following Preview annotation parameters:

  • name
  • group
  • widthDp
  • heightDp
  • locale
  • showBackground
  • backgroundColor

Testing

Tested the local artifact in IJ: new parameters are exposed and picked up. No additional changes on the IDE end are required.

But this should be tested by QA, of course.

Release Notes

Features - Multiple Platforms

  • Extended the @Preview (org.jetbrains.compose.ui.tooling.preview) annotation with the following parameters: name, group, widthDp, heightDp, locale, showBackground, backgroundColor. IDE (IJ or AS) will pick up these parameters in the same way it works for androidx Preview annotations.

…w annotation.

Exposed the following Preview annotation parameters:
- name
- group
- widthDp
- heightDp
- locale
- showBackground
- backgroundColor
@boiler23 boiler23 requested a review from igordmn June 19, 2025 14:00
@kropp kropp requested a review from pjBooms June 26, 2025 15:17
@igordmn
Copy link
Collaborator

igordmn commented Jun 26, 2025

@pjBooms, the PR needs 2 approves for the new API

@igordmn igordmn merged commit 9558950 into master Jun 30, 2025
2 checks passed
@igordmn igordmn deleted the ilia.bogdanovich/KMT-599 branch June 30, 2025 14:52
@igordmn igordmn mentioned this pull request Jun 30, 2025
igordmn added a commit that referenced this pull request Jun 30, 2025
Follow-up after
#5339 (comment)

## Release Notes
N/A
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