@wistia/ui 0.22.1-beta.f9b78111.8a7191f → 0.22.2-beta.012277d4.ca10fe9

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
@@ -351,7 +351,7 @@ type LinkProps = LinkAsButtonProps | LinkAsLinkProps;
351
351
  * This means in addition to its own props, `Link` can use props from `react-router`'s `Link` component. View their documentation [here](https://reactrouter.com/en/main/components/link).
352
352
  * The one prop we ignore from react-router is `to`. We use `href` instead and map it under the hood.
353
353
  */
354
- declare const Link: react.ForwardRefExoticComponent<(Omit<LinkAsButtonProps, "ref"> | Omit<LinkAsLinkProps, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
354
+ declare const Link: react.ForwardRefExoticComponent<(Omit<LinkAsButtonProps, "ref"> | Omit<LinkAsLinkProps, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
355
355
  //#endregion
356
356
  //#region src/private/hooks/useResponsiveProp/useResponsiveProp.d.ts
357
357
  type Breakpoints = 'isLgAndDown' | 'isLgAndUp' | 'isMdAndDown' | 'isMdAndUp' | 'isSmAndDown' | 'isSmAndUp' | 'isXlAndDown' | 'isXlAndUp' | 'isXsAndDown' | 'isXsAndUp';
@@ -508,7 +508,7 @@ declare const Button: react.ForwardRefExoticComponent<(Omit<ButtonAsButtonProps,
508
508
  * @ignore
509
509
  */
510
510
  type?: LinkTypes;
511
- }, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
511
+ }, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
512
512
  //#endregion
513
513
  //#region src/private/components/Toast/Toast.d.ts
514
514
  type ToastProps = ComponentPropsWithoutRef<'div'> & {
@@ -615,7 +615,7 @@ declare const ActionButton: react.ForwardRefExoticComponent<(Omit<{
615
615
  * Changes the secondary icon for different use cases
616
616
  */
617
617
  variant?: "default" | "gated" | "menu-down" | "menu-up";
618
- } & Omit<ButtonAsButtonProps, "variant" | "isLoading" | "leftIcon" | "fullWidth" | "unstyled" | "rightIcon" | "size">, "ref"> | Omit<{
618
+ } & Omit<ButtonAsButtonProps, "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled">, "ref"> | Omit<{
619
619
  /**
620
620
  * @override
621
621
  * The text to display for the ActionButton
@@ -644,7 +644,7 @@ declare const ActionButton: react.ForwardRefExoticComponent<(Omit<{
644
644
  * Changes the secondary icon for different use cases
645
645
  */
646
646
  variant?: "default" | "gated" | "menu-down" | "menu-up";
647
- } & Omit<ButtonAsLinkProps, "variant" | "isLoading" | "leftIcon" | "fullWidth" | "unstyled" | "rightIcon" | "size">, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
647
+ } & Omit<ButtonAsLinkProps, "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
648
648
  //#endregion
649
649
  //#region src/components/Avatar/Avatar.d.ts
650
650
  type AvatarInstanceType = 'image' | 'initials';
@@ -3176,7 +3176,7 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
3176
3176
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
3177
3177
  */
3178
3178
  children: JSX.Element;
3179
- } & Omit<ButtonAsButtonProps, "leftIcon" | "fullWidth" | "rightIcon">, "ref"> | Omit<{
3179
+ } & Omit<ButtonAsButtonProps, "fullWidth" | "leftIcon" | "rightIcon">, "ref"> | Omit<{
3180
3180
  /**
3181
3181
  * Accessible text for screen readers.
3182
3182
  */
@@ -3185,7 +3185,7 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
3185
3185
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
3186
3186
  */
3187
3187
  children: JSX.Element;
3188
- } & Omit<ButtonAsLinkProps, "leftIcon" | "fullWidth" | "rightIcon">, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
3188
+ } & Omit<ButtonAsLinkProps, "fullWidth" | "leftIcon" | "rightIcon">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
3189
3189
  //#endregion
3190
3190
  //#region src/components/Image/Image.d.ts
3191
3191
  type ImageProps = ComponentPropsWithoutRef<'img'> & {
@@ -3265,7 +3265,7 @@ type InputClickToCopyProps = Omit<InputProps, 'autoSelect' | 'disabled' | 'right
3265
3265
  /**
3266
3266
  * Provides a readonly input that copies the text to the clipboard when clicked.
3267
3267
  */
3268
- declare const InputClickToCopy: react.ForwardRefExoticComponent<Omit<InputProps, "type" | "value" | "disabled" | "rightIcon" | "autoSelect"> & {
3268
+ declare const InputClickToCopy: react.ForwardRefExoticComponent<Omit<InputProps, "type" | "rightIcon" | "disabled" | "value" | "autoSelect"> & {
3269
3269
  /**
3270
3270
  * When disabled, the copy action will not be triggered
3271
3271
  */
@@ -3700,7 +3700,7 @@ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<DropdownMenuItemPr
3700
3700
  * Treats the menu item as a link when provided
3701
3701
  */
3702
3702
  href?: MenuItemButtonProps["href"];
3703
- }, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
3703
+ }, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
3704
3704
  //#endregion
3705
3705
  //#region src/components/Menu/MenuItemLabel.d.ts
3706
3706
  type MenuItemLabelProps = {
@@ -4201,7 +4201,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
4201
4201
  */
4202
4202
  hideLabel?: boolean;
4203
4203
  };
4204
- declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "value" | "size" | "hideLabel"> & {
4204
+ declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "value" | "hideLabel"> & {
4205
4205
  /**
4206
4206
  * Indicates the state of the radio
4207
4207
  */
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.22.1-beta.f9b78111.8a7191f
3
+ * @license @wistia/ui v0.22.2-beta.012277d4.ca10fe9
4
4
  *
5
5
  * Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
6
6
  *
@@ -12195,6 +12195,7 @@ const ModalContent = forwardRef(({ width, positionVariant = "fixed-top", childre
12195
12195
  children
12196
12196
  });
12197
12197
  });
12198
+ ModalContent.displayName = "ModalContent_UI";
12198
12199
  //#endregion
12199
12200
  //#region src/components/Modal/ModalOverlay.tsx
12200
12201
  const backdropShow = keyframes`