@wistia/ui 3.8.2-beta.ce52389c.5eb3c87 → 3.8.2-beta.e1fdd4e3.a8dcec6
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.js +21 -18
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v3.8.2-beta.
|
|
3
|
+
* @license @wistia/ui v3.8.2-beta.e1fdd4e3.a8dcec6
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2026, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -13502,23 +13502,26 @@ const EditableTextInput = ({ autoSelect = false, ...props }) => {
|
|
|
13502
13502
|
};
|
|
13503
13503
|
if (!isEditing) return null;
|
|
13504
13504
|
const keyboardHintId = `${id}-keyboard-hint`;
|
|
13505
|
-
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(StyledInputWrapper, {
|
|
13506
|
-
|
|
13507
|
-
|
|
13508
|
-
|
|
13509
|
-
|
|
13510
|
-
|
|
13511
|
-
|
|
13512
|
-
|
|
13513
|
-
|
|
13514
|
-
|
|
13515
|
-
|
|
13516
|
-
|
|
13517
|
-
|
|
13518
|
-
|
|
13519
|
-
|
|
13520
|
-
|
|
13521
|
-
|
|
13505
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(StyledInputWrapper, {
|
|
13506
|
+
"data-testid": "editable-text-input-wrapper",
|
|
13507
|
+
children: /* @__PURE__ */ jsx(StyledInput, {
|
|
13508
|
+
ref: inputRef,
|
|
13509
|
+
$maxLines: maxLines ?? "infinity",
|
|
13510
|
+
$minLines: minLines,
|
|
13511
|
+
$typographicVariant: typographicVariant,
|
|
13512
|
+
"aria-describedby": keyboardHintId,
|
|
13513
|
+
"data-wui-editable-text-input": true,
|
|
13514
|
+
id,
|
|
13515
|
+
onBlur: handleBlur,
|
|
13516
|
+
onChange: handleChange,
|
|
13517
|
+
onFocus: handleFocus,
|
|
13518
|
+
onKeyDown: handleKeyDown,
|
|
13519
|
+
placeholder,
|
|
13520
|
+
type: "multiline",
|
|
13521
|
+
value: fieldValue,
|
|
13522
|
+
...props
|
|
13523
|
+
})
|
|
13524
|
+
}), /* @__PURE__ */ jsx(ScreenReaderOnly, {
|
|
13522
13525
|
"data-wui-editable-text-keyboard-hint": true,
|
|
13523
13526
|
id: keyboardHintId,
|
|
13524
13527
|
text: KEYBOARD_HINTS[submitMode]
|