@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.mjs
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
|
*
|
|
@@ -14094,8 +14094,7 @@ var EditableHeading = ({
|
|
|
14094
14094
|
onBlur: handleFinishEditing,
|
|
14095
14095
|
onChange: (event) => setValue(event.target.value),
|
|
14096
14096
|
onFocus: (event) => {
|
|
14097
|
-
|
|
14098
|
-
event.currentTarget.setSelectionRange(length, length);
|
|
14097
|
+
event.currentTarget.select();
|
|
14099
14098
|
},
|
|
14100
14099
|
onKeyDown: handleKeyDown,
|
|
14101
14100
|
type: "multiline",
|
|
@@ -14338,9 +14337,9 @@ var EditableTextDisplay = makePolymorphic(
|
|
|
14338
14337
|
);
|
|
14339
14338
|
|
|
14340
14339
|
// src/components/EditableText/EditableTextInput.tsx
|
|
14340
|
+
import { isNotNil as isNotNil27 } from "@wistia/type-guards";
|
|
14341
14341
|
import { useContext as useContext7, useEffect as useEffect17, useRef as useRef18 } from "react";
|
|
14342
14342
|
import styled65 from "styled-components";
|
|
14343
|
-
import { isNotNil as isNotNil27 } from "@wistia/type-guards";
|
|
14344
14343
|
import { jsx as jsx279 } from "react/jsx-runtime";
|
|
14345
14344
|
var StyledInput2 = styled65(Input)`
|
|
14346
14345
|
&& {
|
|
@@ -14441,6 +14440,9 @@ var EditableTextInput = (props) => {
|
|
|
14441
14440
|
id,
|
|
14442
14441
|
onBlur: handleBlur2,
|
|
14443
14442
|
onChange: handleChange,
|
|
14443
|
+
onFocus: (event) => {
|
|
14444
|
+
event.currentTarget.select();
|
|
14445
|
+
},
|
|
14444
14446
|
onKeyDown: handleKeyDown,
|
|
14445
14447
|
placeholder,
|
|
14446
14448
|
type: "multiline",
|