@wistia/ui 0.18.0-beta.46b86a85.538143d → 0.18.0-beta.613e8e53.b4159b2
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 +19 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +19 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
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.613e8e53.b4159b2
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -11675,7 +11675,6 @@ var Input = forwardRef15(
|
|
|
11675
11675
|
autoSelect = false,
|
|
11676
11676
|
leftIcon,
|
|
11677
11677
|
rightIcon,
|
|
11678
|
-
className,
|
|
11679
11678
|
...props
|
|
11680
11679
|
}, externalRef) => {
|
|
11681
11680
|
const internalRef = useRef9(null);
|
|
@@ -11712,7 +11711,6 @@ var Input = forwardRef15(
|
|
|
11712
11711
|
{
|
|
11713
11712
|
$fullWidth: fullWidth,
|
|
11714
11713
|
$monospace: monospace,
|
|
11715
|
-
className,
|
|
11716
11714
|
"data-wui-input-container": true,
|
|
11717
11715
|
children: [
|
|
11718
11716
|
leftIconToDisplay ?? null,
|
|
@@ -14039,26 +14037,24 @@ import { styled as styled62, css as css34 } from "styled-components";
|
|
|
14039
14037
|
import { useState as useState18, useRef as useRef16 } from "react";
|
|
14040
14038
|
import { Fragment as Fragment8, jsx as jsx276, jsxs as jsxs42 } from "react/jsx-runtime";
|
|
14041
14039
|
var StyledInput = styled62(Input)`
|
|
14042
|
-
|
|
14043
|
-
|
|
14044
|
-
|
|
14045
|
-
}
|
|
14040
|
+
&:not([rows]) {
|
|
14041
|
+
min-height: unset;
|
|
14042
|
+
}
|
|
14046
14043
|
|
|
14047
|
-
|
|
14048
|
-
|
|
14049
|
-
|
|
14050
|
-
|
|
14051
|
-
|
|
14052
|
-
|
|
14044
|
+
&& {
|
|
14045
|
+
${({ $variant }) => variantStyleMap[$variant]}
|
|
14046
|
+
/* The input font styles (edit mode) needs the same font styles as Heading */
|
|
14047
|
+
--wui-input-font-size: var(--font-size);
|
|
14048
|
+
--wui-input-font-weight: var(--font-weight);
|
|
14049
|
+
--wui-input-line-height: var(--line-height);
|
|
14053
14050
|
|
|
14054
|
-
|
|
14055
|
-
|
|
14056
|
-
|
|
14057
|
-
|
|
14058
|
-
|
|
14059
|
-
|
|
14060
|
-
|
|
14061
|
-
}
|
|
14051
|
+
font-family: var(--font-family);
|
|
14052
|
+
width: 100%;
|
|
14053
|
+
padding: var(--wui-space-02);
|
|
14054
|
+
border: none;
|
|
14055
|
+
height: ${({ $height }) => `${$height}px`};
|
|
14056
|
+
min-height: ${({ $height }) => `${$height}px`};
|
|
14057
|
+
resize: none;
|
|
14062
14058
|
}
|
|
14063
14059
|
`;
|
|
14064
14060
|
var editableStyles = css34`
|
|
@@ -14874,7 +14870,9 @@ var FormField = ({
|
|
|
14874
14870
|
StyledFormField,
|
|
14875
14871
|
{
|
|
14876
14872
|
...props,
|
|
14873
|
+
"aria-labelledby": computedId,
|
|
14877
14874
|
"data-label-position": labelPosition ?? formState.labelPosition,
|
|
14875
|
+
role: "group",
|
|
14878
14876
|
children: [
|
|
14879
14877
|
!isIntegratedLabel && /* @__PURE__ */ jsx283(
|
|
14880
14878
|
Label,
|