@wistia/ui 0.8.28 → 0.9.0-beta.03e50422.c412ca9

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/ui v0.8.28
3
+ * @license @wistia/ui v0.9.0-beta.03e50422.c412ca9
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -7097,11 +7097,15 @@ var StyledLink = import_styled_components20.default.a`
7097
7097
  cursor: ${({ $disabled }) => $disabled ? "not-allowed" : "pointer"};
7098
7098
  font-family: var(--wui-typography-family-default);
7099
7099
  color: ${({ $disabled }) => $disabled ? "var(--wui-color-text-disabled)" : "var(--wui-color-text-link)"};
7100
- text-decoration: ${({ $underline }) => $underline ? "underline" : "none"};
7100
+ text-decoration: ${({ $underline }) => $underline === "always" ? "underline" : "none"};
7101
7101
  display: inline-flex;
7102
7102
  align-items: baseline;
7103
7103
  gap: var(--wui-space-01);
7104
7104
 
7105
+ &:hover {
7106
+ text-decoration: ${({ $underline }) => $underline === "hover" || $underline === "always" ? "underline" : "none"};
7107
+ }
7108
+
7105
7109
  && {
7106
7110
  svg {
7107
7111
  width: 14px;
@@ -7116,7 +7120,7 @@ var Link = (0, import_react21.forwardRef)(
7116
7120
  type,
7117
7121
  disabled = false,
7118
7122
  colorScheme = "inherit",
7119
- underline = false,
7123
+ underline = "none",
7120
7124
  leftIcon,
7121
7125
  rightIcon,
7122
7126
  "aria-disabled": ariaDisabled,