@wistia/vhs 3.0.1-beta.73611361.306133d → 3.0.1-beta.7aa0c3e0.d96b9f7

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.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/vhs v3.0.1-beta.73611361.306133d
3
+ * @license @wistia/vhs v3.0.1-beta.7aa0c3e0.d96b9f7
4
4
  *
5
5
  * Copyright (c) 2021-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -6682,45 +6682,39 @@ var ButtonLink = (0, import_react35.forwardRef)(
6682
6682
  }
6683
6683
  return null;
6684
6684
  };
6685
- return (
6686
- // @ts-expect-error FIXME
6687
- /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
6688
- StyledButtonLink,
6689
- {
6690
- ref,
6691
- $buttonColor: buttonColor,
6692
- $forceState: forceState,
6693
- $fullWidth: fullWidth,
6694
- $icon: icon,
6695
- $iconPosition: iconPosition,
6696
- $isLoading: false,
6697
- $labelWrap: labelWrap,
6698
- $size: size,
6699
- $square: square,
6700
- $textAlign: textAlign,
6701
- $variant: variant,
6702
- beforeAction,
6703
- disabled,
6704
- href,
6705
- params,
6706
- type,
6707
- unstyled: true,
6708
- ...otherProps,
6709
- children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
6710
- ButtonContent,
6711
- {
6712
- icon,
6713
- iconName,
6714
- iconPosition,
6715
- isLoading: false,
6716
- size,
6717
- textAlign,
6718
- children: getContent()
6719
- }
6720
- )
6721
- }
6722
- )
6723
- );
6685
+ const styledProps = {
6686
+ ref,
6687
+ $buttonColor: buttonColor,
6688
+ $forceState: forceState,
6689
+ $fullWidth: fullWidth,
6690
+ $icon: icon,
6691
+ $iconPosition: iconPosition,
6692
+ $isLoading: false,
6693
+ $labelWrap: labelWrap,
6694
+ $size: size,
6695
+ $square: square,
6696
+ $textAlign: textAlign,
6697
+ $variant: variant,
6698
+ beforeAction,
6699
+ disabled,
6700
+ href,
6701
+ params,
6702
+ type,
6703
+ unstyled: true,
6704
+ ...otherProps
6705
+ };
6706
+ return /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(StyledButtonLink, { ...styledProps, children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
6707
+ ButtonContent,
6708
+ {
6709
+ icon,
6710
+ iconName,
6711
+ iconPosition,
6712
+ isLoading: false,
6713
+ size,
6714
+ textAlign,
6715
+ children: getContent()
6716
+ }
6717
+ ) });
6724
6718
  }
6725
6719
  );
6726
6720
  ButtonLink.displayName = "ButtonLink_VHS";