@wistia/ui 0.15.11 → 0.15.12-beta.b27f1407.ee5496a
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 +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +7 -1
- 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.15.
|
|
3
|
+
* @license @wistia/ui v0.15.12-beta.b27f1407.ee5496a
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -11807,6 +11807,7 @@ var Input = (0, import_react47.forwardRef)(
|
|
|
11807
11807
|
autoSelect = false,
|
|
11808
11808
|
leftIcon,
|
|
11809
11809
|
rightIcon,
|
|
11810
|
+
className,
|
|
11810
11811
|
...props
|
|
11811
11812
|
}, externalRef) => {
|
|
11812
11813
|
const internalRef = (0, import_react47.useRef)(null);
|
|
@@ -11843,6 +11844,7 @@ var Input = (0, import_react47.forwardRef)(
|
|
|
11843
11844
|
{
|
|
11844
11845
|
$fullWidth: fullWidth,
|
|
11845
11846
|
$monospace: monospace,
|
|
11847
|
+
className,
|
|
11846
11848
|
"data-wui-input-container": true,
|
|
11847
11849
|
children: [
|
|
11848
11850
|
leftIconToDisplay ?? null,
|
|
@@ -14591,6 +14593,10 @@ var EditableTextInput = (props) => {
|
|
|
14591
14593
|
id,
|
|
14592
14594
|
onBlur: handleBlur2,
|
|
14593
14595
|
onChange: handleChange,
|
|
14596
|
+
onFocus: (event) => {
|
|
14597
|
+
const { length } = event.currentTarget.value;
|
|
14598
|
+
event.currentTarget.setSelectionRange(length, length);
|
|
14599
|
+
},
|
|
14594
14600
|
onKeyDown: handleKeyDown,
|
|
14595
14601
|
placeholder,
|
|
14596
14602
|
type: "multiline",
|