UEA-PRODEM
This commit is contained in:
+37
-5
@@ -1,10 +1,26 @@
|
||||
import * as react_jsx_runtime from 'react/jsx-runtime';
|
||||
import * as _radix_ui_react_context from '@radix-ui/react-context';
|
||||
import { Scope } from '@radix-ui/react-context';
|
||||
import * as React from 'react';
|
||||
import { Primitive } from '@radix-ui/react-primitive';
|
||||
import * as RovingFocusGroup from '@radix-ui/react-roving-focus';
|
||||
|
||||
interface RadioProviderProps {
|
||||
checked?: boolean;
|
||||
required?: boolean;
|
||||
disabled?: boolean;
|
||||
name?: string;
|
||||
form?: string;
|
||||
value?: string | number | readonly string[];
|
||||
onCheck?(): void;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
interface RadioTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof Primitive.button>, keyof RadioProviderProps> {
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
declare const RadioTrigger: React.ForwardRefExoticComponent<RadioTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
type PrimitiveButtonProps = React.ComponentPropsWithoutRef<typeof Primitive.button>;
|
||||
interface RadioProps$1 extends PrimitiveButtonProps {
|
||||
interface RadioProps$1 extends Omit<PrimitiveButtonProps, 'checked'> {
|
||||
checked?: boolean;
|
||||
required?: boolean;
|
||||
onCheck?(): void;
|
||||
@@ -19,7 +35,14 @@ interface RadioIndicatorProps$1 extends PrimitiveSpanProps {
|
||||
forceMount?: true;
|
||||
}
|
||||
declare const RadioIndicator: React.ForwardRefExoticComponent<RadioIndicatorProps$1 & React.RefAttributes<HTMLSpanElement>>;
|
||||
type InputProps = React.ComponentPropsWithoutRef<typeof Primitive.input>;
|
||||
interface RadioBubbleInputProps extends Omit<InputProps, 'checked'> {
|
||||
}
|
||||
declare const RadioBubbleInput: React.ForwardRefExoticComponent<RadioBubbleInputProps & React.RefAttributes<HTMLInputElement>>;
|
||||
|
||||
type ScopedProps<P> = P & {
|
||||
__scopeRadioGroup?: Scope;
|
||||
};
|
||||
declare const createRadioGroupScope: _radix_ui_react_context.CreateScope;
|
||||
type RadioGroupContextValue = {
|
||||
name?: string;
|
||||
@@ -42,17 +65,26 @@ interface RadioGroupProps extends PrimitiveDivProps {
|
||||
onValueChange?: RadioGroupContextValue['onValueChange'];
|
||||
}
|
||||
declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
||||
interface RadioGroupItemProviderProps {
|
||||
value: string;
|
||||
disabled?: boolean;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
declare function RadioGroupItemProvider(props: ScopedProps<RadioGroupItemProviderProps>): react_jsx_runtime.JSX.Element;
|
||||
interface RadioGroupItemTriggerProps extends React.ComponentPropsWithoutRef<typeof RadioTrigger> {
|
||||
}
|
||||
declare const RadioGroupItemTrigger: React.ForwardRefExoticComponent<RadioGroupItemTriggerProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
type RadioProps = React.ComponentPropsWithoutRef<typeof Radio>;
|
||||
interface RadioGroupItemProps extends Omit<RadioProps, 'onCheck' | 'name'> {
|
||||
value: string;
|
||||
}
|
||||
declare const RadioGroupItem: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
interface RadioGroupItemBubbleInputProps extends React.ComponentPropsWithoutRef<typeof RadioBubbleInput> {
|
||||
}
|
||||
declare const RadioGroupItemBubbleInput: React.ForwardRefExoticComponent<RadioGroupItemBubbleInputProps & React.RefAttributes<HTMLInputElement>>;
|
||||
type RadioIndicatorProps = React.ComponentPropsWithoutRef<typeof RadioIndicator>;
|
||||
interface RadioGroupIndicatorProps extends RadioIndicatorProps {
|
||||
}
|
||||
declare const RadioGroupIndicator: React.ForwardRefExoticComponent<RadioGroupIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
declare const Root: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
||||
declare const Item: React.ForwardRefExoticComponent<RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>>;
|
||||
declare const Indicator: React.ForwardRefExoticComponent<RadioGroupIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
|
||||
export { Indicator, Item, RadioGroup, RadioGroupIndicator, type RadioGroupIndicatorProps, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, Root, createRadioGroupScope };
|
||||
export { RadioGroupIndicator as Indicator, RadioGroupItem as Item, RadioGroup, RadioGroupIndicator, type RadioGroupIndicatorProps, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, RadioGroup as Root, createRadioGroupScope, RadioGroupItemBubbleInput as unstable_ItemBubbleInput, RadioGroupItemProvider as unstable_ItemProvider, RadioGroupItemTrigger as unstable_ItemTrigger, RadioGroupItemBubbleInput as unstable_RadioGroupItemBubbleInput, type RadioGroupItemBubbleInputProps as unstable_RadioGroupItemBubbleInputProps, RadioGroupItemProvider as unstable_RadioGroupItemProvider, type RadioGroupItemProviderProps as unstable_RadioGroupItemProviderProps, RadioGroupItemTrigger as unstable_RadioGroupItemTrigger, type RadioGroupItemTriggerProps as unstable_RadioGroupItemTriggerProps };
|
||||
|
||||
Reference in New Issue
Block a user