@wistia/ui 0.24.0-beta.9218471a.068f65c → 0.24.0
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 +5 -5
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -613,7 +613,7 @@ declare const ActionButton: _$react.ForwardRefExoticComponent<(Omit<{
|
|
|
613
613
|
* Changes the secondary icon for different use cases
|
|
614
614
|
*/
|
|
615
615
|
variant?: "default" | "gated" | "menu-down" | "menu-up";
|
|
616
|
-
} & Omit<ButtonAsButtonProps, "variant" | "
|
|
616
|
+
} & Omit<ButtonAsButtonProps, "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled">, "ref"> | Omit<{
|
|
617
617
|
/**
|
|
618
618
|
* @override
|
|
619
619
|
* The text to display for the ActionButton
|
|
@@ -642,7 +642,7 @@ declare const ActionButton: _$react.ForwardRefExoticComponent<(Omit<{
|
|
|
642
642
|
* Changes the secondary icon for different use cases
|
|
643
643
|
*/
|
|
644
644
|
variant?: "default" | "gated" | "menu-down" | "menu-up";
|
|
645
|
-
} & Omit<ButtonAsLinkProps, "variant" | "
|
|
645
|
+
} & Omit<ButtonAsLinkProps, "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
646
646
|
//#endregion
|
|
647
647
|
//#region src/components/Avatar/Avatar.d.ts
|
|
648
648
|
type AvatarInstanceType = 'image' | 'initials';
|
|
@@ -3205,7 +3205,7 @@ declare const IconButton: _$react.ForwardRefExoticComponent<(Omit<{
|
|
|
3205
3205
|
* The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
|
|
3206
3206
|
*/
|
|
3207
3207
|
children: JSX.Element;
|
|
3208
|
-
} & Omit<ButtonAsButtonProps, "
|
|
3208
|
+
} & Omit<ButtonAsButtonProps, "fullWidth" | "leftIcon" | "rightIcon">, "ref"> | Omit<{
|
|
3209
3209
|
/**
|
|
3210
3210
|
* Accessible text for screen readers.
|
|
3211
3211
|
*/
|
|
@@ -3214,7 +3214,7 @@ declare const IconButton: _$react.ForwardRefExoticComponent<(Omit<{
|
|
|
3214
3214
|
* The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
|
|
3215
3215
|
*/
|
|
3216
3216
|
children: JSX.Element;
|
|
3217
|
-
} & Omit<ButtonAsLinkProps, "
|
|
3217
|
+
} & Omit<ButtonAsLinkProps, "fullWidth" | "leftIcon" | "rightIcon">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
3218
3218
|
//#endregion
|
|
3219
3219
|
//#region src/components/Image/Image.d.ts
|
|
3220
3220
|
type ImageProps = ComponentPropsWithoutRef<'img'> & {
|
|
@@ -3294,7 +3294,7 @@ type InputClickToCopyProps = Omit<InputProps, 'autoSelect' | 'disabled' | 'right
|
|
|
3294
3294
|
/**
|
|
3295
3295
|
* Provides a readonly input that copies the text to the clipboard when clicked.
|
|
3296
3296
|
*/
|
|
3297
|
-
declare const InputClickToCopy: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "
|
|
3297
|
+
declare const InputClickToCopy: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "rightIcon" | "disabled" | "value" | "autoSelect"> & {
|
|
3298
3298
|
/**
|
|
3299
3299
|
* When disabled, the copy action will not be triggered
|
|
3300
3300
|
*/
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.24.0
|
|
3
|
+
* @license @wistia/ui v0.24.0
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -10021,7 +10021,6 @@ const RadioMenuItem = ({ onSelect, value, indicator = /* @__PURE__ */ jsx(Icon,
|
|
|
10021
10021
|
value,
|
|
10022
10022
|
children: /* @__PURE__ */ jsx(MenuItemButton, {
|
|
10023
10023
|
...props,
|
|
10024
|
-
leftIcon: props.icon,
|
|
10025
10024
|
rightIcon: /* @__PURE__ */ jsx(DropdownMenuItemIndicator, { children: indicator })
|
|
10026
10025
|
})
|
|
10027
10026
|
});
|