@undefine-ui/design-system 3.8.2 → 3.8.3
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 +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -9838,6 +9838,7 @@ var RHFToggleButton = ({
|
|
|
9838
9838
|
options,
|
|
9839
9839
|
fullWidth,
|
|
9840
9840
|
slotProps,
|
|
9841
|
+
onValueChange,
|
|
9841
9842
|
sx,
|
|
9842
9843
|
...other
|
|
9843
9844
|
}) => {
|
|
@@ -9864,6 +9865,7 @@ var RHFToggleButton = ({
|
|
|
9864
9865
|
onChange: (_, newValue) => {
|
|
9865
9866
|
if (newValue !== null) {
|
|
9866
9867
|
field.onChange(newValue);
|
|
9868
|
+
onValueChange?.(newValue);
|
|
9867
9869
|
}
|
|
9868
9870
|
},
|
|
9869
9871
|
exclusive: true,
|