Skip to content

UI Customization, fix selection size tests and improve style consumer types - #403

Merged
zhuje merged 5 commits into
ui-customizationfrom
jgbernalp/fix-selection-size-tests
Oct 27, 2026
Merged

zhuje merged 5 commits into
ui-customizationfrom
jgbernalp/fix-selection-size-tests

Conversation

@jgbernalp

Copy link
Copy Markdown
Contributor
  • Add selection control sizes to type definitions and tests
  • Wrap style prop definition so consumers don't need to cast when defining custom style props in components

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
@jgbernalp
jgbernalp requested a review from zhuje October 27, 2026 09:00
@jgbernalp
jgbernalp requested a review from a team as a code owner October 27, 2026 09:00
@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit 51e7a1e.

@jgbernalp jgbernalp changed the title Jgbernalp/fix selection size tests UI Customization, fix selection size tests and improve style consumer types Oct 27, 2026
@jgbernalp
jgbernalp added this pull request to stack #405 October 27, 2026 10:28
zhuje added 3 commits October 27, 2026 13:49
…dding a new component, more info about inline 'style' and custom properties

Signed-off-by: Jenny Zhu <jenny.a.zhu@gmail.com>
Signed-off-by: Jenny Zhu <jenny.a.zhu@gmail.com>
…st of components

Signed-off-by: Jenny Zhu <jenny.a.zhu@gmail.com>
@zhuje
zhuje merged commit 86aa309 into ui-customization Oct 27, 2026
14 checks passed
@zhuje
zhuje deleted the jgbernalp/fix-selection-size-tests branch October 27, 2026 20:20
zhuje added a commit that referenced this pull request Oct 28, 2026
Follows #403: type style as PersesCSSProperties on CardProps, CardHeaderProps
and CardContentProps so consumers can pass --perses-* and application
variables without casting. The registry-derived check in types.test.tsx
flagged Card after rebasing onto ui-customization; this resolves it.

Signed-off-by: Jenny Zhu <jenny.a.zhu@gmail.com>
zhuje added a commit that referenced this pull request Oct 28, 2026
Type style as PersesCSSProperties on GridProps and GridItemProps so the
registry-derived check from #403 passes, and drop the as CSSProperties
cast that only existed to smuggle --ps-grid-columns past the old type.

Signed-off-by: Jenny Zhu <jenny.a.zhu@gmail.com>
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