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] Adding missing components from @googlemaps/extended-component-library such as split-layout #91

Closed
tobiasbueschel opened this issue Nov 18, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@tobiasbueschel
Copy link

Target Use Case

Thanks for this library - is there a plan to integrate the remaining components from the @googlemaps/extended-component-library such as the gmpx-split-layout or the gmpx-place-overview components?

split-layout

Proposal

It would be great to find a way to keep both libraries in sync :)

@usefulthink
Copy link
Collaborator

There are plans to allow at least some degree of interoperability with the official web-components (both gmp-* and gmpx-*) at some point. But for that we'll have to wait for the WCs to become stable (currently everything in that regard is still in alpha or preview phases) and figure out some things about how this integration would work with regards to state handling and such.

I imagine this roughly as users being able to just add the WCs to the <APIProvider> and <Map> react components and our library providing some sort of shim necessary for them to work like they do with the <gmp-map> WC.

This would probably only extend to components that are isolated in nature and either act as a single control with limited state (e.g. gmpx-place-picker or gmpx-place-overview) or add something to an existing map-instance (e.g. gmpx-route-overview).

It's unlikely we'll be supporting something like the gmpx-split-layout or gmpx-overlay-layout components.

This is also a bit dependent on improved web-component support in react, which I read will be coming with react 19.0 (whenever that might be).

@usefulthink usefulthink added the enhancement New feature or request label Nov 19, 2023
@kwnevarez
Copy link
Contributor

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

No branches or pull requests

3 participants