@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 +4 -4
- package/dist/index.js +15 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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, "
|
|
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, "
|
|
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, "
|
|
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, "
|
|
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
|
+
* @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, {
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
|
|
9806
|
-
|
|
9807
|
-
|
|
9808
|
-
|
|
9809
|
-
|
|
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
|
});
|