@wistia/ui 0.18.0-beta.46b86a85.538143d → 0.18.0-beta.487a02f2.5478196
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 +17 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.mjs +17 -21
- 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.487a02f2.5478196
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -11849,7 +11849,6 @@ var Input = (0, import_react47.forwardRef)(
|
|
|
11849
11849
|
autoSelect = false,
|
|
11850
11850
|
leftIcon,
|
|
11851
11851
|
rightIcon,
|
|
11852
|
-
className,
|
|
11853
11852
|
...props
|
|
11854
11853
|
}, externalRef) => {
|
|
11855
11854
|
const internalRef = (0, import_react47.useRef)(null);
|
|
@@ -11886,7 +11885,6 @@ var Input = (0, import_react47.forwardRef)(
|
|
|
11886
11885
|
{
|
|
11887
11886
|
$fullWidth: fullWidth,
|
|
11888
11887
|
$monospace: monospace,
|
|
11889
|
-
className,
|
|
11890
11888
|
"data-wui-input-container": true,
|
|
11891
11889
|
children: [
|
|
11892
11890
|
leftIconToDisplay ?? null,
|
|
@@ -14189,26 +14187,24 @@ var import_styled_components81 = require("styled-components");
|
|
|
14189
14187
|
var import_react63 = require("react");
|
|
14190
14188
|
var import_jsx_runtime276 = require("react/jsx-runtime");
|
|
14191
14189
|
var StyledInput = (0, import_styled_components81.styled)(Input)`
|
|
14192
|
-
|
|
14193
|
-
|
|
14194
|
-
|
|
14195
|
-
}
|
|
14190
|
+
&:not([rows]) {
|
|
14191
|
+
min-height: unset;
|
|
14192
|
+
}
|
|
14196
14193
|
|
|
14197
|
-
|
|
14198
|
-
|
|
14199
|
-
|
|
14200
|
-
|
|
14201
|
-
|
|
14202
|
-
|
|
14194
|
+
&& {
|
|
14195
|
+
${({ $variant }) => variantStyleMap[$variant]}
|
|
14196
|
+
/* The input font styles (edit mode) needs the same font styles as Heading */
|
|
14197
|
+
--wui-input-font-size: var(--font-size);
|
|
14198
|
+
--wui-input-font-weight: var(--font-weight);
|
|
14199
|
+
--wui-input-line-height: var(--line-height);
|
|
14203
14200
|
|
|
14204
|
-
|
|
14205
|
-
|
|
14206
|
-
|
|
14207
|
-
|
|
14208
|
-
|
|
14209
|
-
|
|
14210
|
-
|
|
14211
|
-
}
|
|
14201
|
+
font-family: var(--font-family);
|
|
14202
|
+
width: 100%;
|
|
14203
|
+
padding: var(--wui-space-02);
|
|
14204
|
+
border: none;
|
|
14205
|
+
height: ${({ $height }) => `${$height}px`};
|
|
14206
|
+
min-height: ${({ $height }) => `${$height}px`};
|
|
14207
|
+
resize: none;
|
|
14212
14208
|
}
|
|
14213
14209
|
`;
|
|
14214
14210
|
var editableStyles = import_styled_components81.css`
|