@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.mjs
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
|
*
|
|
@@ -11633,6 +11633,7 @@ var Input = forwardRef15(
|
|
|
11633
11633
|
autoSelect = false,
|
|
11634
11634
|
leftIcon,
|
|
11635
11635
|
rightIcon,
|
|
11636
|
+
className,
|
|
11636
11637
|
...props
|
|
11637
11638
|
}, externalRef) => {
|
|
11638
11639
|
const internalRef = useRef9(null);
|
|
@@ -11669,6 +11670,7 @@ var Input = forwardRef15(
|
|
|
11669
11670
|
{
|
|
11670
11671
|
$fullWidth: fullWidth,
|
|
11671
11672
|
$monospace: monospace,
|
|
11673
|
+
className,
|
|
11672
11674
|
"data-wui-input-container": true,
|
|
11673
11675
|
children: [
|
|
11674
11676
|
leftIconToDisplay ?? null,
|
|
@@ -14441,6 +14443,10 @@ var EditableTextInput = (props) => {
|
|
|
14441
14443
|
id,
|
|
14442
14444
|
onBlur: handleBlur2,
|
|
14443
14445
|
onChange: handleChange,
|
|
14446
|
+
onFocus: (event) => {
|
|
14447
|
+
const { length } = event.currentTarget.value;
|
|
14448
|
+
event.currentTarget.setSelectionRange(length, length);
|
|
14449
|
+
},
|
|
14444
14450
|
onKeyDown: handleKeyDown,
|
|
14445
14451
|
placeholder,
|
|
14446
14452
|
type: "multiline",
|