4
of the Depict UI there’s one notable breaking change that applies to everyone: a new, redesigned, search modal is the new default.
The new search modal (click to enlarge)
@depict-ai/react-ui
to at least version 4.0.17
or @depict-ai/js-ui
to at least 4.0.17
).1
is used. This means that if your images have a different aspect ratio than 1
, the container will jump around a bit before the images are loaded. If you want to avoid this, set the --image-aspect-ratio
CSS variable to your image aspect ratio, example: .depict { --image-aspect-ratio: calc(400 / 600); }
.image_urls: string[]
format. If you notice this is not the case, please ping your customer support representative.variant_displays
) has been ditched (for both modal variants), this is unlikely to impact any customers updating to v4.@depict-ai/ui
package’s modal_open
interface (no customer does AFAIK) you now have to provide alignmentSignals_
instead of style_props_
to the modal for custom alignment.