@wistia/ui 0.8.28 → 0.9.0-beta.97d7ea11.daf48ec
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 +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +10 -6
- package/dist/index.d.ts +10 -6
- package/dist/index.mjs +9 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.
|
|
3
|
+
* @license @wistia/ui v0.9.0-beta.97d7ea11.daf48ec
|
|
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 =
|
|
7123
|
+
underline = "none",
|
|
7120
7124
|
leftIcon,
|
|
7121
7125
|
rightIcon,
|
|
7122
7126
|
"aria-disabled": ariaDisabled,
|
|
@@ -7216,6 +7220,7 @@ var StyledButton = import_styled_components21.default.button`
|
|
|
7216
7220
|
${({ $variant }) => buttonVariantsStyles[$variant]}
|
|
7217
7221
|
${({ $unstyled }) => !$unstyled && buttonBaseStyles}
|
|
7218
7222
|
${({ $fullWidth }) => $fullWidth && "width: 100%;"}
|
|
7223
|
+
align-self: flex-start;
|
|
7219
7224
|
text-align: center;
|
|
7220
7225
|
`;
|
|
7221
7226
|
var StyledButtonContent = import_styled_components21.default.div`
|
|
@@ -7889,7 +7894,7 @@ var DEFAULT_ELEMENT = "div";
|
|
|
7889
7894
|
var BoxComponent = (0, import_react26.forwardRef)(
|
|
7890
7895
|
({
|
|
7891
7896
|
alignContent = "stretch",
|
|
7892
|
-
alignItems = "
|
|
7897
|
+
alignItems = "stretch",
|
|
7893
7898
|
alignSelf,
|
|
7894
7899
|
basis,
|
|
7895
7900
|
children,
|