@wistia/ui 0.14.39 → 0.14.40
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 +3 -1
- 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 +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3582,6 +3582,10 @@ type SelectProps = {
|
|
|
3582
3582
|
* If true, the select will fill its container
|
|
3583
3583
|
*/
|
|
3584
3584
|
fullWidth?: ResponsiveObject<boolean> | boolean;
|
|
3585
|
+
/**
|
|
3586
|
+
* Called when the select is opened or closed
|
|
3587
|
+
*/
|
|
3588
|
+
onOpenChange?: (open: boolean) => void;
|
|
3585
3589
|
/**
|
|
3586
3590
|
* Called when a value is changed.
|
|
3587
3591
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -3582,6 +3582,10 @@ type SelectProps = {
|
|
|
3582
3582
|
* If true, the select will fill its container
|
|
3583
3583
|
*/
|
|
3584
3584
|
fullWidth?: ResponsiveObject<boolean> | boolean;
|
|
3585
|
+
/**
|
|
3586
|
+
* Called when the select is opened or closed
|
|
3587
|
+
*/
|
|
3588
|
+
onOpenChange?: (open: boolean) => void;
|
|
3585
3589
|
/**
|
|
3586
3590
|
* Called when a value is changed.
|
|
3587
3591
|
*/
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
/*
|
|
3
|
-
* @license @wistia/ui v0.14.
|
|
3
|
+
* @license @wistia/ui v0.14.40
|
|
4
4
|
*
|
|
5
5
|
* Copyright (c) 2024-2025, Wistia, Inc. and its affiliates.
|
|
6
6
|
*
|
|
@@ -16757,6 +16757,7 @@ var Select = forwardRef34(
|
|
|
16757
16757
|
({
|
|
16758
16758
|
colorScheme = "inherit",
|
|
16759
16759
|
children,
|
|
16760
|
+
onOpenChange = () => null,
|
|
16760
16761
|
onChange = () => null,
|
|
16761
16762
|
placeholder = "Select...",
|
|
16762
16763
|
fullWidth = false,
|
|
@@ -16766,6 +16767,7 @@ var Select = forwardRef34(
|
|
|
16766
16767
|
const responsiveFullWidth = useResponsiveProp(fullWidth);
|
|
16767
16768
|
const rootProps = {
|
|
16768
16769
|
...props,
|
|
16770
|
+
onOpenChange,
|
|
16769
16771
|
onValueChange: onChange
|
|
16770
16772
|
};
|
|
16771
16773
|
if (forceOpen) {
|