Repository navigation
Share the Docs Explorer search input - #4844
Merged
Merged
Conversation
🦋 Changeset detectedLatest commit: 1a7da51 The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
trevor-scheer
marked this pull request as ready for review
December 5, 2026 05:23
Merged
trevor-scheer
pushed a commit
that referenced
this pull request
Dec 5, 2026
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## graphiql@6.1.0 ### Minor Changes - [#4778](#4778) [`8185286`](8185286) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add an optional `portalContainer` prop to `GraphiQL` and `GraphiQLInterface` for hosting dialogs, menus, and tooltips. ### Patch Changes - [#4838](#4838) [`a58698d`](a58698d) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Use GraphiQL's shared form styles in Collections. The save dialog and inline editors now use the selected body font size. - [#4779](#4779) [`d5c1c60`](d5c1c60) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Use consistent title typography and header spacing across dialogs, and align the Settings title with its rows at every density. - [#4785](#4785) [`d7dbfa4`](d7dbfa4) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Handle Cmd/Ctrl+K inside the focused GraphiQL instance so host apps can use the shortcut elsewhere. - [#4780](#4780) [`b0abd60`](b0abd60) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Give the built-in sidebar panes a shared horizontal inset and remove duplicate padding from their content. - Updated dependencies [[`a58698d`](a58698d), [`d5c1c60`](d5c1c60), [`d7dbfa4`](d7dbfa4), [`3849a6c`](3849a6c), [`bfc9670`](bfc9670), [`00d2230`](00d2230), [`781075e`](781075e), [`b3d61cd`](b3d61cd), [`a53c42a`](a53c42a), [`b0abd60`](b0abd60), [`c13ae89`](c13ae89), [`982e4c8`](982e4c8), [`f4871ef`](f4871ef), [`b80272a`](b80272a)]: - @graphiql/react@1.1.0 - @graphiql/plugin-collections@1.0.2 - @graphiql/plugin-doc-explorer@1.0.2 - @graphiql/plugin-history@1.0.2 - @graphiql/plugin-query-builder@1.0.2 ## @graphiql/react@1.1.0 ### Minor Changes - [#4844](#4844) [`f4871ef`](f4871ef) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add a shared `SearchInput` with a search icon, optional hint, and visible focus ring. The Documentation Explorer uses it for its schema search fields. - [#4840](#4840) [`b80272a`](b80272a) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add themed `Input`, `Select`, and `Textarea` components with native props and refs. Collections uses the new components for its save, rename, import, and export fields. ### Patch Changes - [#4838](#4838) [`a58698d`](a58698d) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Use GraphiQL's shared form styles in Collections. The save dialog and inline editors now use the selected body font size. - [#4779](#4779) [`d5c1c60`](d5c1c60) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Use consistent title typography and header spacing across dialogs, and align the Settings title with its rows at every density. - [#4783](#4783) [`bfc9670`](bfc9670) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Keep showing the schema loading indicator when a superseded introspection returns before the current request. - [#4781](#4781) [`781075e`](781075e) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Open activity rail tooltips beside their buttons so the Settings label fits when GraphiQL is embedded near the bottom of the viewport. - [#4784](#4784) [`a53c42a`](a53c42a) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Show the active tab's last response in the response panel and status bar when opening, switching, reordering, or closing tabs. - [#4780](#4780) [`b0abd60`](b0abd60) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Give the built-in sidebar panes a shared horizontal inset and remove duplicate padding from their content. - [#4786](#4786) [`c13ae89`](c13ae89) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Scope design tokens to GraphiQL and its portals so they do not override the host application's CSS variables. If you override GraphiQL tokens on `:root` or another ancestor, move those overrides onto the GraphiQL container. You can target the container with the `className` you pass to `GraphiQL`. If you render overlays in a separate portal host, add `graphiql-theme` to the host element and set the overlay overrides there. - [#4777](#4777) [`982e4c8`](982e4c8) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Scope Monaco editor styles to the GraphiQL container so loading GraphiQL's stylesheet preserves the appearance and layout of other editors on the page. ## graphql-language-service-server@4.1.0 ### Minor Changes - [#4839](#4839) [`d000e78`](d000e78) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Warn about unquoted `#` characters in files loaded through `graphql-config.dotEnvPath`. A future major version will treat an unquoted `#` as the start of a comment. Quote values that contain a literal `#`, for example `TOKEN="abc#def"`. ## @graphiql/plugin-code-exporter@6.0.1 ### Patch Changes - [#4842](#4842) [`093186b`](093186b) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Use GraphiQL's shared sidebar header and pane inset in Code Exporter. - Updated dependencies [[`a58698d`](a58698d), [`d5c1c60`](d5c1c60), [`bfc9670`](bfc9670), [`781075e`](781075e), [`a53c42a`](a53c42a), [`b0abd60`](b0abd60), [`c13ae89`](c13ae89), [`982e4c8`](982e4c8), [`f4871ef`](f4871ef), [`b80272a`](b80272a)]: - @graphiql/react@1.1.0 ## @graphiql/plugin-collections@1.0.2 ### Patch Changes - [#4838](#4838) [`a58698d`](a58698d) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Use GraphiQL's shared form styles in Collections. The save dialog and inline editors now use the selected body font size. - [#4780](#4780) [`b0abd60`](b0abd60) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Give the built-in sidebar panes a shared horizontal inset and remove duplicate padding from their content. - [#4840](#4840) [`b80272a`](b80272a) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add themed `Input`, `Select`, and `Textarea` components with native props and refs. Collections uses the new components for its save, rename, import, and export fields. - Updated dependencies [[`a58698d`](a58698d), [`d5c1c60`](d5c1c60), [`bfc9670`](bfc9670), [`781075e`](781075e), [`a53c42a`](a53c42a), [`b0abd60`](b0abd60), [`c13ae89`](c13ae89), [`982e4c8`](982e4c8), [`f4871ef`](f4871ef), [`b80272a`](b80272a)]: - @graphiql/react@1.1.0 ## @graphiql/plugin-doc-explorer@1.0.2 ### Patch Changes - [#4785](#4785) [`d7dbfa4`](d7dbfa4) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Handle Cmd/Ctrl+K inside the focused GraphiQL instance so host apps can use the shortcut elsewhere. - [#4782](#4782) [`b3d61cd`](b3d61cd) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Prioritize exact and prefix matches when limiting documentation search results so partial matches on large schemas cannot hide more relevant types or fields. - [#4780](#4780) [`b0abd60`](b0abd60) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Give the built-in sidebar panes a shared horizontal inset and remove duplicate padding from their content. - [#4844](#4844) [`f4871ef`](f4871ef) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add a shared `SearchInput` with a search icon, optional hint, and visible focus ring. The Documentation Explorer uses it for its schema search fields. - Updated dependencies [[`a58698d`](a58698d), [`d5c1c60`](d5c1c60), [`bfc9670`](bfc9670), [`781075e`](781075e), [`a53c42a`](a53c42a), [`b0abd60`](b0abd60), [`c13ae89`](c13ae89), [`982e4c8`](982e4c8), [`f4871ef`](f4871ef), [`b80272a`](b80272a)]: - @graphiql/react@1.1.0 ## @graphiql/plugin-history@1.0.2 ### Patch Changes - [#4841](#4841) [`3849a6c`](3849a6c) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Use the shared compact, monospace input for editing History labels. - [#4780](#4780) [`b0abd60`](b0abd60) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Give the built-in sidebar panes a shared horizontal inset and remove duplicate padding from their content. - Updated dependencies [[`a58698d`](a58698d), [`d5c1c60`](d5c1c60), [`bfc9670`](bfc9670), [`781075e`](781075e), [`a53c42a`](a53c42a), [`b0abd60`](b0abd60), [`c13ae89`](c13ae89), [`982e4c8`](982e4c8), [`f4871ef`](f4871ef), [`b80272a`](b80272a)]: - @graphiql/react@1.1.0 ## @graphiql/plugin-query-builder@1.0.2 ### Patch Changes - [#4843](#4843) [`00d2230`](00d2230) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Use the shared GraphiQL form controls for field filters, scalar and enum arguments, and fragment names in Query Builder. - [#4780](#4780) [`b0abd60`](b0abd60) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Give the built-in sidebar panes a shared horizontal inset and remove duplicate padding from their content. - Updated dependencies [[`a58698d`](a58698d), [`d5c1c60`](d5c1c60), [`bfc9670`](bfc9670), [`781075e`](781075e), [`a53c42a`](a53c42a), [`b0abd60`](b0abd60), [`c13ae89`](c13ae89), [`982e4c8`](982e4c8), [`f4871ef`](f4871ef), [`b80272a`](b80272a)]: - @graphiql/react@1.1.0 Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The explorer has two schema search fields that each render a search icon and shortcut hint and style the field locally.
Add
SearchInputto@graphiql/reactand use it in both fields. The shared component owns the styling and the focus ring. Headless UI receives the component throughComboboxInput'sasprop and continues to drive the results and keyboard navigation through the native input.The active search row uses the theme's monospace size, and the input itself carries the accessible search label.
Related to #4840.