@wistia/ui 0.21.7 → 0.21.8-beta.3a84a423.ad23f9f
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 +8 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
*/
|
|
@@ -1767,7 +1767,9 @@ type ComboboxProps = {
|
|
|
1767
1767
|
declare const Combobox: ({ placeholder, value, onChange, searchValue, onSearchValueChange, displayValues, children, flipPopover, fullWidth, }: ComboboxProps) => react_jsx_runtime.JSX.Element;
|
|
1768
1768
|
|
|
1769
1769
|
type ComboboxOptionProps = {
|
|
1770
|
+
/** The value returned in Combobox's onChange and what determines selected state */
|
|
1770
1771
|
value: string;
|
|
1772
|
+
/** The content of the option */
|
|
1771
1773
|
children: ReactNode;
|
|
1772
1774
|
};
|
|
1773
1775
|
declare const ComboboxOption: ({ value, children }: ComboboxOptionProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -2584,6 +2586,7 @@ declare const Form: <T>(props: FormProps<T> & {
|
|
|
2584
2586
|
}) => JSX.Element;
|
|
2585
2587
|
|
|
2586
2588
|
type FormErrorSummaryProps = {
|
|
2589
|
+
/** A description to show before the list of form errors */
|
|
2587
2590
|
description: string;
|
|
2588
2591
|
};
|
|
2589
2592
|
declare const FormErrorSummary: ({ description }: FormErrorSummaryProps) => react_jsx_runtime.JSX.Element | null;
|
|
@@ -3656,7 +3659,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
|
|
|
3656
3659
|
/**
|
|
3657
3660
|
* Callback function invoked when the value changes
|
|
3658
3661
|
*/
|
|
3659
|
-
onChange?: (event: ChangeEvent) =>
|
|
3662
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
3660
3663
|
/**
|
|
3661
3664
|
* Indicates if the input is required
|
|
3662
3665
|
*/
|
|
@@ -3707,7 +3710,7 @@ declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTM
|
|
|
3707
3710
|
/**
|
|
3708
3711
|
* Callback function invoked when the value changes
|
|
3709
3712
|
*/
|
|
3710
|
-
onChange?: (event: ChangeEvent) =>
|
|
3713
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
3711
3714
|
/**
|
|
3712
3715
|
* Indicates if the input is required
|
|
3713
3716
|
*/
|
|
@@ -4262,7 +4265,7 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
|
|
|
4262
4265
|
/**
|
|
4263
4266
|
* Callback function invoked when the value changes
|
|
4264
4267
|
*/
|
|
4265
|
-
onChange?: (event: ChangeEvent) =>
|
|
4268
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
4266
4269
|
/**
|
|
4267
4270
|
* Indicates if the input is required
|
|
4268
4271
|
*/
|
|
@@ -4312,7 +4315,7 @@ declare const Switch: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHT
|
|
|
4312
4315
|
/**
|
|
4313
4316
|
* Callback function invoked when the value changes
|
|
4314
4317
|
*/
|
|
4315
|
-
onChange?: (event: ChangeEvent) =>
|
|
4318
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
4316
4319
|
/**
|
|
4317
4320
|
* Indicates if the input is required
|
|
4318
4321
|
*/
|