Skip to content

grid/api-generator - #26

Merged
sebastianbochan merged 10 commits into
grid/jsx-componentsfrom
grid/api-generator
Sep 21, 2026
Merged

sebastianbochan merged 10 commits into
grid/jsx-componentsfrom
grid/api-generator

Conversation

@sebastianbochan

Copy link
Copy Markdown
Collaborator

Added tree api generator.

sebastianbochan and others added 3 commits September 8, 2026 13:39
Keep Column id, Header options, and the options JSON prop. Restore Links to Grid.Options.* on the new props.

Co-authored-by: Cursor <cursoragent@cursor.com>
Parse `(props: T) => null` from dist .d.ts so option components keep their props after the new options/id API, and lock the contract with tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
@sebastianbochan
sebastianbochan changed the base branch from grid/new-api-components to grid/jsx-components September 9, 2026 08:44
@sebastianbochan sebastianbochan mentioned this pull request Sep 9, 2026
26 of 28 tasks

@KamilKubik KamilKubik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Nice!

Some thoughts:

  1. Grid.Grid looks a bit off, is this intendent? Are you planning on including more components under Grid?
Image
  1. I'm a bit confused when it comes to Grid.options, and generally all the components carrying the options prop. So, on the one hand, I understand we don't nest those options under it in the API as the nesting tree ends up on options, which is a prop (maybe we should?). However, it points me to TOptions, which is defined as a class, and says nothing about the options I can use. In Highcharts React, I added that extra nesting in the navigation for those options, which I'm starting to think is wrong, but I don't think it's defined anywhere else, since it's integration-specific. Any thoughts? I think the overall goal should be to easily allow users to be able to look into all available options, without breaking the navigation semantically.
Image

@KamilKubik
KamilKubik self-requested a review September 21, 2026 12:21

@KamilKubik KamilKubik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good!

@sebastianbochan
sebastianbochan merged commit 654ca33 into grid/jsx-components Sep 21, 2026
2 checks passed
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