@wistia/ui 0.25.3 → 0.25.4

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.ts CHANGED
@@ -610,7 +610,7 @@ declare const ActionButton: _$react.ForwardRefExoticComponent<(Omit<{
610
610
  * Changes the secondary icon for different use cases
611
611
  */
612
612
  variant?: "default" | "gated" | "menu-down" | "menu-up";
613
- } & Omit<ButtonAsButtonProps, "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled" | "variant">, "ref"> | Omit<{
613
+ } & Omit<ButtonAsButtonProps, "size" | "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "unstyled">, "ref"> | Omit<{
614
614
  /**
615
615
  * @override
616
616
  * The text to display for the ActionButton
@@ -639,7 +639,7 @@ declare const ActionButton: _$react.ForwardRefExoticComponent<(Omit<{
639
639
  * Changes the secondary icon for different use cases
640
640
  */
641
641
  variant?: "default" | "gated" | "menu-down" | "menu-up";
642
- } & Omit<ButtonAsLinkProps, "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled" | "variant">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
642
+ } & Omit<ButtonAsLinkProps, "size" | "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "unstyled">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
643
643
  //#endregion
644
644
  //#region src/components/Avatar/Avatar.d.ts
645
645
  type AvatarInstanceType = 'image' | 'initials';
@@ -3291,7 +3291,7 @@ type InputClickToCopyProps = Omit<InputProps, 'autoSelect' | 'disabled' | 'right
3291
3291
  /**
3292
3292
  * Provides a readonly input that copies the text to the clipboard when clicked.
3293
3293
  */
3294
- declare const InputClickToCopy: _$react.ForwardRefExoticComponent<Omit<InputProps, "rightIcon" | "disabled" | "type" | "value" | "autoSelect"> & {
3294
+ declare const InputClickToCopy: _$react.ForwardRefExoticComponent<Omit<InputProps, "disabled" | "type" | "value" | "rightIcon" | "autoSelect"> & {
3295
3295
  /**
3296
3296
  * When disabled, the copy action will not be triggered
3297
3297
  */
@@ -3320,7 +3320,7 @@ type InputPasswordProps = Omit<InputProps, 'leftIcon' | 'monospace' | 'rightIcon
3320
3320
  /**
3321
3321
  * A password input component with a toggle button to show or hide the password text.
3322
3322
  */
3323
- declare const InputPassword: _$react.ForwardRefExoticComponent<Omit<InputProps, "leftIcon" | "rightIcon" | "type" | "monospace"> & {
3323
+ declare const InputPassword: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "leftIcon" | "rightIcon" | "monospace"> & {
3324
3324
  /**
3325
3325
  * Set the disabled state of the input
3326
3326
  */
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.25.3
3
+ * @license @wistia/ui v0.25.4
4
4
  *
5
5
  * Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -9797,18 +9797,21 @@ const Menu = forwardRef(({ align = "start", children, disabled = false, compact
9797
9797
  rightIcon: /* @__PURE__ */ jsx(Icon, { type: "caret-down" }),
9798
9798
  ...triggerProps,
9799
9799
  children: label
9800
- }) }), /* @__PURE__ */ jsx(Menu$1.Portal, { children: /* @__PURE__ */ jsx(Menu$1.Positioner, {
9801
- align,
9802
- collisionPadding: 8,
9803
- side,
9804
- sideOffset: 6,
9805
- style: { zIndex: "var(--wui-zindex-menu)" },
9806
- children: /* @__PURE__ */ jsx(MenuPopup, {
9807
- ...props,
9808
- $compact: compact,
9809
- children
9800
+ }) }), /* @__PURE__ */ jsx(Menu$1.Portal, {
9801
+ keepMounted: true,
9802
+ children: /* @__PURE__ */ jsx(Menu$1.Positioner, {
9803
+ align,
9804
+ collisionPadding: 8,
9805
+ side,
9806
+ sideOffset: 6,
9807
+ style: { zIndex: "var(--wui-zindex-menu)" },
9808
+ children: /* @__PURE__ */ jsx(MenuPopup, {
9809
+ ...props,
9810
+ $compact: compact,
9811
+ children
9812
+ })
9810
9813
  })
9811
- }) })]
9814
+ })]
9812
9815
  })
9813
9816
  });
9814
9817
  });