Skip to content

@graphiql/react@1.1.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 05:58
4f2e78b

Minor Changes

  • #4844 f4871ef Thanks @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 b80272a Thanks @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 a58698d Thanks @trevor-scheer! - Use GraphiQL's shared form styles in Collections. The save dialog and inline editors now use the selected body font size.

  • #4779 d5c1c60 Thanks @trevor-scheer! - Use consistent title typography and header spacing across dialogs, and align the Settings title with its rows at every density.

  • #4783 bfc9670 Thanks @trevor-scheer! - Keep showing the schema loading indicator when a superseded introspection returns before the current request.

  • #4781 781075e Thanks @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 a53c42a Thanks @trevor-scheer! - Show the active tab's last response in the response panel and status bar when opening, switching, reordering, or closing tabs.

  • #4780 b0abd60 Thanks @trevor-scheer! - Give the built-in sidebar panes a shared horizontal inset and remove duplicate padding from their content.

  • #4786 c13ae89 Thanks @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 982e4c8 Thanks @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.