seam-react 0.12.1 → 0.12.2
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/RadioGroup.d.ts +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2674 -2661
- package/dist/index.js.map +1 -1
- package/dist/motion.d.ts +1 -0
- package/dist/styles.cjs +4 -0
- package/dist/styles.cjs.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/styles.js +4 -0
- package/dist/styles.js.map +1 -1
- package/package.json +1 -1
package/dist/RadioGroup.d.ts
CHANGED
|
@@ -32,6 +32,12 @@ export interface RadioGroupItemProps extends Omit<InputHTMLAttributes<HTMLInputE
|
|
|
32
32
|
/** Optional stable native input ID. */
|
|
33
33
|
id?: string;
|
|
34
34
|
}
|
|
35
|
+
export type UseRadioGroupOptions = Pick<RadioGroupProps, "value" | "defaultValue" | "onValueChange">;
|
|
36
|
+
export interface UseRadioGroupReturn {
|
|
37
|
+
value: string | undefined;
|
|
38
|
+
onValueChange: (value: string) => void;
|
|
39
|
+
}
|
|
40
|
+
export declare function useRadioGroup({ value, defaultValue, onValueChange, }?: UseRadioGroupOptions): UseRadioGroupReturn;
|
|
35
41
|
declare function RadioGroupRoot({ value, defaultValue, onValueChange, orientation, children, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ...rest }: RadioGroupProps): ReactElement;
|
|
36
42
|
declare const RadioGroupItem: import("react").ForwardRefExoticComponent<RadioGroupItemProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
37
43
|
export declare const RadioGroup: typeof RadioGroupRoot & {
|