@wistia/ui 0.25.3-beta.97f13735.b53af42 → 0.25.3
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 +8 -8
- 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, "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled" | "variant">, "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, "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled" | "variant">, "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" | "size" | "onChange" | "hideLabel"> & {
|
|
1229
1229
|
/**
|
|
1230
1230
|
* Indicates the state of the checkbox
|
|
1231
1231
|
*/
|
|
@@ -3202,7 +3202,7 @@ declare const IconButton: _$react.ForwardRefExoticComponent<(Omit<{
|
|
|
3202
3202
|
* The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
|
|
3203
3203
|
*/
|
|
3204
3204
|
children: JSX.Element;
|
|
3205
|
-
} & Omit<ButtonAsButtonProps, "
|
|
3205
|
+
} & Omit<ButtonAsButtonProps, "fullWidth" | "leftIcon" | "rightIcon">, "ref"> | Omit<{
|
|
3206
3206
|
/**
|
|
3207
3207
|
* Accessible text for screen readers.
|
|
3208
3208
|
*/
|
|
@@ -3211,7 +3211,7 @@ declare const IconButton: _$react.ForwardRefExoticComponent<(Omit<{
|
|
|
3211
3211
|
* The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
|
|
3212
3212
|
*/
|
|
3213
3213
|
children: JSX.Element;
|
|
3214
|
-
} & Omit<ButtonAsLinkProps, "
|
|
3214
|
+
} & Omit<ButtonAsLinkProps, "fullWidth" | "leftIcon" | "rightIcon">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
3215
3215
|
//#endregion
|
|
3216
3216
|
//#region src/components/Image/Image.d.ts
|
|
3217
3217
|
type ImageProps = ComponentPropsWithoutRef<'img'> & {
|
|
@@ -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, "rightIcon" | "disabled" | "type" | "value" | "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, "leftIcon" | "rightIcon" | "type" | "monospace"> & {
|
|
3324
3324
|
/**
|
|
3325
3325
|
* Set the disabled state of the input
|
|
3326
3326
|
*/
|
|
@@ -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" | "size" | "value" | "onChange" | "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
|
|
3
|
+
* @license @wistia/ui v0.25.3
|
|
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
|
});
|