@wistia/ui 0.15.10-beta.1b2ddec0.ec8b5b2 → 0.15.11-beta.f489c1c2.ebd328f
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 +6 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +6 -4
- 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.11-beta.f489c1c2.ebd328f
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -14244,8 +14244,7 @@ var EditableHeading = ({
|
|
|
14244
14244
|
onBlur: handleFinishEditing,
|
|
14245
14245
|
onChange: (event) => setValue(event.target.value),
|
|
14246
14246
|
onFocus: (event) => {
|
|
14247
|
-
|
|
14248
|
-
event.currentTarget.setSelectionRange(length, length);
|
|
14247
|
+
event.currentTarget.select();
|
|
14249
14248
|
},
|
|
14250
14249
|
onKeyDown: handleKeyDown,
|
|
14251
14250
|
type: "multiline",
|
|
@@ -14488,9 +14487,9 @@ var EditableTextDisplay = makePolymorphic(
|
|
|
14488
14487
|
);
|
|
14489
14488
|
|
|
14490
14489
|
// src/components/EditableText/EditableTextInput.tsx
|
|
14490
|
+
var import_type_guards46 = require("@wistia/type-guards");
|
|
14491
14491
|
var import_react66 = require("react");
|
|
14492
14492
|
var import_styled_components84 = __toESM(require("styled-components"));
|
|
14493
|
-
var import_type_guards46 = require("@wistia/type-guards");
|
|
14494
14493
|
var import_jsx_runtime279 = require("react/jsx-runtime");
|
|
14495
14494
|
var StyledInput2 = (0, import_styled_components84.default)(Input)`
|
|
14496
14495
|
&& {
|
|
@@ -14591,6 +14590,9 @@ var EditableTextInput = (props) => {
|
|
|
14591
14590
|
id,
|
|
14592
14591
|
onBlur: handleBlur2,
|
|
14593
14592
|
onChange: handleChange,
|
|
14593
|
+
onFocus: (event) => {
|
|
14594
|
+
event.currentTarget.select();
|
|
14595
|
+
},
|
|
14594
14596
|
onKeyDown: handleKeyDown,
|
|
14595
14597
|
placeholder,
|
|
14596
14598
|
type: "multiline",
|