@prismicio/editor-ui 0.4.32 → 0.4.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -26,6 +26,10 @@ export interface SelectProps<VALUE extends string> {
26
26
  renderStartIcon?: (icon: ReactNode) => ReactNode;
27
27
  onValueChange?: (value: VALUE) => void;
28
28
  }
29
+ /**
30
+ * A Select component supporting string text options.
31
+ * Empty string options are not supported.
32
+ */
29
33
  export declare function Select<VALUE extends string>(props: SelectProps<VALUE>): JSX.Element;
30
34
  interface RenderTriggerParams {
31
35
  button: ReactNode;
@@ -26,6 +26,12 @@ interface BaseTooltipProps {
26
26
  * @defaultValue `false` This will wrap the trigger element in a Fragment.
27
27
  */
28
28
  stableMount?: boolean;
29
+ /**
30
+ * Animation to use when showing/hiding the tooltip.
31
+ *
32
+ * @defaultValue "fade"
33
+ */
34
+ animation?: "fade" | "none";
29
35
  }
30
36
  interface TextTooltipProps extends BaseTooltipProps {
31
37
  variant?: "text";