@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 CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v3.8.2-beta.ce52389c.5eb3c87
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, { children: /* @__PURE__ */ jsx(StyledInput, {
13506
- ref: inputRef,
13507
- $maxLines: maxLines ?? "infinity",
13508
- $minLines: minLines,
13509
- $typographicVariant: typographicVariant,
13510
- "aria-describedby": keyboardHintId,
13511
- "data-wui-editable-text-input": true,
13512
- id,
13513
- onBlur: handleBlur,
13514
- onChange: handleChange,
13515
- onFocus: handleFocus,
13516
- onKeyDown: handleKeyDown,
13517
- placeholder,
13518
- type: "multiline",
13519
- value: fieldValue,
13520
- ...props
13521
- }) }), /* @__PURE__ */ jsx(ScreenReaderOnly, {
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]