@wistia/ui 0.25.4 → 0.25.5
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 +12 -15
- 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, "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "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, "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
643
643
|
//#endregion
|
|
644
644
|
//#region src/components/Avatar/Avatar.d.ts
|
|
645
645
|
type AvatarInstanceType = 'image' | 'initials';
|
|
@@ -1225,7 +1225,7 @@ declare const Center: _$react.ForwardRefExoticComponent<Omit<_$react.DetailedHTM
|
|
|
1225
1225
|
//#endregion
|
|
1226
1226
|
//#region src/components/Checkbox/Checkbox.d.ts
|
|
1227
1227
|
type CheckboxSizeType = 'lg' | 'md' | 'sm';
|
|
1228
|
-
declare const Checkbox: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "
|
|
1228
|
+
declare const Checkbox: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "hideLabel"> & {
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Indicates the state of the checkbox
|
|
1231
1231
|
*/
|
|
@@ -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, "type" | "rightIcon" | "disabled" | "value" | "autoSelect"> & {
|
|
3295
3295
|
/**
|
|
3296
3296
|
* When disabled, the copy action will not be triggered
|
|
3297
3297
|
*/
|
|
@@ -4440,7 +4440,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
|
|
|
4440
4440
|
*/
|
|
4441
4441
|
hideLabel?: boolean;
|
|
4442
4442
|
};
|
|
4443
|
-
declare const Radio: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "
|
|
4443
|
+
declare const Radio: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "value" | "hideLabel"> & {
|
|
4444
4444
|
/**
|
|
4445
4445
|
* Indicates the state of the radio
|
|
4446
4446
|
*/
|
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.5
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -9797,21 +9797,18 @@ 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
|
-
|
|
9810
|
-
$compact: compact,
|
|
9811
|
-
children
|
|
9812
|
-
})
|
|
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
|
|
9813
9810
|
})
|
|
9814
|
-
})]
|
|
9811
|
+
}) })]
|
|
9815
9812
|
})
|
|
9816
9813
|
});
|
|
9817
9814
|
});
|