@wistia/ui 0.18.0-beta.3b5be3b3.9e2fe2f → 0.18.0-beta.46b86a85.538143d
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 +21 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +21 -22
- 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.18.0-beta.
|
|
3
|
+
* @license @wistia/ui v0.18.0-beta.46b86a85.538143d
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -7904,7 +7904,6 @@ var StyledButton = import_styled_components22.styled.button`
|
|
|
7904
7904
|
${({ $variant }) => buttonVariantsStyles[$variant]}
|
|
7905
7905
|
${({ $unstyled }) => !$unstyled && buttonBaseStyles}
|
|
7906
7906
|
${({ $fullWidth }) => $fullWidth && "width: 100%;"}
|
|
7907
|
-
align-self: flex-start;
|
|
7908
7907
|
text-align: center;
|
|
7909
7908
|
`;
|
|
7910
7909
|
var StyledButtonContent = import_styled_components22.styled.div`
|
|
@@ -9120,10 +9119,6 @@ var ButtonGroupComponent = import_styled_components31.styled.div`
|
|
|
9120
9119
|
justify-content: ${({ $align }) => getAlignment($align)};
|
|
9121
9120
|
width: ${({ $fullWidth }) => $fullWidth ? "100%" : "auto"};
|
|
9122
9121
|
|
|
9123
|
-
${StyledButton} {
|
|
9124
|
-
align-self: unset;
|
|
9125
|
-
}
|
|
9126
|
-
|
|
9127
9122
|
${mq.smAndUp} {
|
|
9128
9123
|
flex-direction: row;
|
|
9129
9124
|
}
|
|
@@ -11854,6 +11849,7 @@ var Input = (0, import_react47.forwardRef)(
|
|
|
11854
11849
|
autoSelect = false,
|
|
11855
11850
|
leftIcon,
|
|
11856
11851
|
rightIcon,
|
|
11852
|
+
className,
|
|
11857
11853
|
...props
|
|
11858
11854
|
}, externalRef) => {
|
|
11859
11855
|
const internalRef = (0, import_react47.useRef)(null);
|
|
@@ -11890,6 +11886,7 @@ var Input = (0, import_react47.forwardRef)(
|
|
|
11890
11886
|
{
|
|
11891
11887
|
$fullWidth: fullWidth,
|
|
11892
11888
|
$monospace: monospace,
|
|
11889
|
+
className,
|
|
11893
11890
|
"data-wui-input-container": true,
|
|
11894
11891
|
children: [
|
|
11895
11892
|
leftIconToDisplay ?? null,
|
|
@@ -14192,24 +14189,26 @@ var import_styled_components81 = require("styled-components");
|
|
|
14192
14189
|
var import_react63 = require("react");
|
|
14193
14190
|
var import_jsx_runtime276 = require("react/jsx-runtime");
|
|
14194
14191
|
var StyledInput = (0, import_styled_components81.styled)(Input)`
|
|
14195
|
-
|
|
14196
|
-
|
|
14197
|
-
|
|
14192
|
+
input {
|
|
14193
|
+
&:not([rows]) {
|
|
14194
|
+
min-height: unset;
|
|
14195
|
+
}
|
|
14198
14196
|
|
|
14199
|
-
|
|
14200
|
-
|
|
14201
|
-
|
|
14202
|
-
|
|
14203
|
-
|
|
14204
|
-
|
|
14197
|
+
&& {
|
|
14198
|
+
${({ $variant }) => variantStyleMap[$variant]}
|
|
14199
|
+
/* The input font styles (edit mode) needs the same font styles as Heading */
|
|
14200
|
+
--wui-input-font-size: var(--font-size);
|
|
14201
|
+
--wui-input-font-weight: var(--font-weight);
|
|
14202
|
+
--wui-input-line-height: var(--line-height);
|
|
14205
14203
|
|
|
14206
|
-
|
|
14207
|
-
|
|
14208
|
-
|
|
14209
|
-
|
|
14210
|
-
|
|
14211
|
-
|
|
14212
|
-
|
|
14204
|
+
font-family: var(--font-family);
|
|
14205
|
+
width: 100%;
|
|
14206
|
+
padding: var(--wui-space-02);
|
|
14207
|
+
border: none;
|
|
14208
|
+
height: ${({ $height }) => `${$height}px`};
|
|
14209
|
+
min-height: ${({ $height }) => `${$height}px`};
|
|
14210
|
+
resize: none;
|
|
14211
|
+
}
|
|
14213
14212
|
}
|
|
14214
14213
|
`;
|
|
14215
14214
|
var editableStyles = import_styled_components81.css`
|