@wistia/ui 0.14.40 → 0.14.41

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 CHANGED
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*
3
- * @license @wistia/ui v0.14.40
3
+ * @license @wistia/ui v0.14.41
4
4
  *
5
5
  * Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
6
6
  *
@@ -14536,11 +14536,11 @@ var EditableTextLabel = ({ ...props }) => {
14536
14536
  if (!context) {
14537
14537
  throw new Error("EditableTextLabel must be used within an EditableTextRoot context");
14538
14538
  }
14539
- const { id, label } = context;
14539
+ const { id, label, isEditing } = context;
14540
14540
  return /* @__PURE__ */ (0, import_jsx_runtime278.jsx)(
14541
14541
  Label,
14542
14542
  {
14543
- htmlFor: id,
14543
+ ...isEditing && { htmlFor: id },
14544
14544
  ...props,
14545
14545
  children: label
14546
14546
  }