Here's a quick summary of everything we released in Q1 2024.

Hygraph
Docs

OpenDialog

OpenDialog(src, props)
Opens a separate dialog where you can load data from an external source or create your own UI.

Parameters

  • src
    type string
    The URL where the dialog contents are located.

  • props

    • disableOverlayClick
      type boolean
      State of the overlay click
      If true, the dialog doesn't close when clicking outside of the dialog area
    • maxWidth
      type string
      The maximum width of the dialog
    • ariaLabel
      type string
      Accessibility. ariaLabel can be used in cases where text that could label the element is not visible

Returns

Promise<DialogReturn | null>