@wistia/ui 0.8.23 → 0.8.24

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.
package/dist/index.d.mts CHANGED
@@ -2439,13 +2439,21 @@ type PopoverProps = ContentProps & PopoverControlProps & {
2439
2439
  * If true, the popover will use the unstyled Content component instead of StyledContent
2440
2440
  */
2441
2441
  unstyled?: boolean;
2442
+ /**
2443
+ * If true, the popover will use a custom radix arrow to trigger
2444
+ */
2445
+ withArrow?: boolean;
2446
+ /**
2447
+ * Only works if `withArrow` is true, animates the hotspot attached to the arrow
2448
+ */
2449
+ isAnimated?: boolean;
2442
2450
  colorScheme?: ColorSchemeTypes;
2443
2451
  };
2444
2452
  /**
2445
2453
  * Displays rich content in a portal, triggered by a button.
2446
2454
  */
2447
2455
  declare const Popover: {
2448
- ({ children, trigger, isOpen, hideCloseButton, maxWidth, maxHeight, onOpenChange, unstyled, colorScheme, ...props }: PopoverProps): JSX.Element;
2456
+ ({ children, trigger, isOpen, hideCloseButton, maxWidth, maxHeight, onOpenChange, unstyled, withArrow, isAnimated, colorScheme, ...props }: PopoverProps): JSX.Element;
2449
2457
  displayName: string;
2450
2458
  };
2451
2459
 
package/dist/index.d.ts CHANGED
@@ -2439,13 +2439,21 @@ type PopoverProps = ContentProps & PopoverControlProps & {
2439
2439
  * If true, the popover will use the unstyled Content component instead of StyledContent
2440
2440
  */
2441
2441
  unstyled?: boolean;
2442
+ /**
2443
+ * If true, the popover will use a custom radix arrow to trigger
2444
+ */
2445
+ withArrow?: boolean;
2446
+ /**
2447
+ * Only works if `withArrow` is true, animates the hotspot attached to the arrow
2448
+ */
2449
+ isAnimated?: boolean;
2442
2450
  colorScheme?: ColorSchemeTypes;
2443
2451
  };
2444
2452
  /**
2445
2453
  * Displays rich content in a portal, triggered by a button.
2446
2454
  */
2447
2455
  declare const Popover: {
2448
- ({ children, trigger, isOpen, hideCloseButton, maxWidth, maxHeight, onOpenChange, unstyled, colorScheme, ...props }: PopoverProps): JSX.Element;
2456
+ ({ children, trigger, isOpen, hideCloseButton, maxWidth, maxHeight, onOpenChange, unstyled, withArrow, isAnimated, colorScheme, ...props }: PopoverProps): JSX.Element;
2449
2457
  displayName: string;
2450
2458
  };
2451
2459