@wistia/ui 0.21.7 → 0.21.8-beta.6f8ca3be.91b0a49
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.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1146,7 +1146,7 @@ declare const Checkbox: react.ForwardRefExoticComponent<Omit<Omit<react.Detailed
|
|
|
1146
1146
|
/**
|
|
1147
1147
|
* Callback function invoked when the value changes
|
|
1148
1148
|
*/
|
|
1149
|
-
onChange?: (event: ChangeEvent) =>
|
|
1149
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
1150
1150
|
/**
|
|
1151
1151
|
* Indicates if the input is required
|
|
1152
1152
|
*/
|
|
@@ -2584,6 +2584,7 @@ declare const Form: <T>(props: FormProps<T> & {
|
|
|
2584
2584
|
}) => JSX.Element;
|
|
2585
2585
|
|
|
2586
2586
|
type FormErrorSummaryProps = {
|
|
2587
|
+
/** A description to show before the list of form errors */
|
|
2587
2588
|
description: string;
|
|
2588
2589
|
};
|
|
2589
2590
|
declare const FormErrorSummary: ({ description }: FormErrorSummaryProps) => react_jsx_runtime.JSX.Element | null;
|
|
@@ -3656,7 +3657,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
|
|
|
3656
3657
|
/**
|
|
3657
3658
|
* Callback function invoked when the value changes
|
|
3658
3659
|
*/
|
|
3659
|
-
onChange?: (event: ChangeEvent) =>
|
|
3660
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
3660
3661
|
/**
|
|
3661
3662
|
* Indicates if the input is required
|
|
3662
3663
|
*/
|
|
@@ -3707,7 +3708,7 @@ declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTM
|
|
|
3707
3708
|
/**
|
|
3708
3709
|
* Callback function invoked when the value changes
|
|
3709
3710
|
*/
|
|
3710
|
-
onChange?: (event: ChangeEvent) =>
|
|
3711
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
3711
3712
|
/**
|
|
3712
3713
|
* Indicates if the input is required
|
|
3713
3714
|
*/
|
|
@@ -4262,7 +4263,7 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
|
|
|
4262
4263
|
/**
|
|
4263
4264
|
* Callback function invoked when the value changes
|
|
4264
4265
|
*/
|
|
4265
|
-
onChange?: (event: ChangeEvent) =>
|
|
4266
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
4266
4267
|
/**
|
|
4267
4268
|
* Indicates if the input is required
|
|
4268
4269
|
*/
|
|
@@ -4312,7 +4313,7 @@ declare const Switch: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHT
|
|
|
4312
4313
|
/**
|
|
4313
4314
|
* Callback function invoked when the value changes
|
|
4314
4315
|
*/
|
|
4315
|
-
onChange?: (event: ChangeEvent) =>
|
|
4316
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
4316
4317
|
/**
|
|
4317
4318
|
* Indicates if the input is required
|
|
4318
4319
|
*/
|