@wistia/ui 0.14.39 → 0.14.40-beta.6b3c3976.c15180c
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 +5 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +4 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.mjs +5 -3
- 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.14.
|
|
3
|
+
* @license @wistia/ui v0.14.40-beta.6b3c3976.c15180c
|
|
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
|
}
|
|
@@ -16896,6 +16896,7 @@ var Select = (0, import_react90.forwardRef)(
|
|
|
16896
16896
|
({
|
|
16897
16897
|
colorScheme = "inherit",
|
|
16898
16898
|
children,
|
|
16899
|
+
onOpenChange = () => null,
|
|
16899
16900
|
onChange = () => null,
|
|
16900
16901
|
placeholder = "Select...",
|
|
16901
16902
|
fullWidth = false,
|
|
@@ -16905,6 +16906,7 @@ var Select = (0, import_react90.forwardRef)(
|
|
|
16905
16906
|
const responsiveFullWidth = useResponsiveProp(fullWidth);
|
|
16906
16907
|
const rootProps = {
|
|
16907
16908
|
...props,
|
|
16909
|
+
onOpenChange,
|
|
16908
16910
|
onValueChange: onChange
|
|
16909
16911
|
};
|
|
16910
16912
|
if (forceOpen) {
|