UEA-PRODEM
This commit is contained in:
+41
-9
@@ -1,8 +1,32 @@
|
||||
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';
|
||||
|
||||
type Direction = 'ltr' | 'rtl';
|
||||
declare module 'react' {
|
||||
interface CSSProperties {
|
||||
[varName: `--radix-${string}`]: string | number | undefined | null;
|
||||
}
|
||||
}
|
||||
declare global {
|
||||
interface FocusOptions {
|
||||
/**
|
||||
* A boolean value that should be set to `true` to force, or `false` to prevent
|
||||
* visible indication that the element is focused. If the property is not
|
||||
* specified, a browser will provide visible indication if it determines
|
||||
* that this would improve accessibility for users.
|
||||
*
|
||||
* @see
|
||||
* https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/focus#focusvisible
|
||||
*/
|
||||
focusVisible?: boolean;
|
||||
}
|
||||
}
|
||||
type ScopedProps<P> = P & {
|
||||
__scopeSlider?: Scope;
|
||||
};
|
||||
declare const createSliderScope: _radix_ui_react_context.CreateScope;
|
||||
interface SliderProps extends Omit<SliderHorizontalProps | SliderVerticalProps, keyof SliderOrientationPrivateProps | 'defaultValue'> {
|
||||
name?: string;
|
||||
@@ -60,16 +84,24 @@ declare const SliderTrack: React.ForwardRefExoticComponent<SliderTrackProps & Re
|
||||
interface SliderRangeProps extends PrimitiveSpanProps {
|
||||
}
|
||||
declare const SliderRange: React.ForwardRefExoticComponent<SliderRangeProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
interface SliderThumbProps extends Omit<SliderThumbImplProps, 'index'> {
|
||||
interface SliderThumbProviderProps {
|
||||
name?: string;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
declare const SliderThumb: React.ForwardRefExoticComponent<SliderThumbProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
interface SliderThumbImplProps extends PrimitiveSpanProps {
|
||||
index: number;
|
||||
declare function SliderThumbProvider(props: ScopedProps<SliderThumbProviderProps>): react_jsx_runtime.JSX.Element;
|
||||
declare namespace SliderThumbProvider {
|
||||
var displayName: string;
|
||||
}
|
||||
interface SliderThumbTriggerProps extends PrimitiveSpanProps {
|
||||
}
|
||||
declare const SliderThumbTrigger: React.ForwardRefExoticComponent<SliderThumbTriggerProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
interface SliderThumbProps extends SliderThumbTriggerProps {
|
||||
name?: string;
|
||||
}
|
||||
declare const Root: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
declare const Track: React.ForwardRefExoticComponent<SliderTrackProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
declare const Range: React.ForwardRefExoticComponent<SliderRangeProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
declare const Thumb: React.ForwardRefExoticComponent<SliderThumbProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
declare const SliderThumb: React.ForwardRefExoticComponent<SliderThumbProps & React.RefAttributes<HTMLSpanElement>>;
|
||||
type PrimitiveInputProps = React.ComponentPropsWithoutRef<typeof Primitive.input>;
|
||||
interface SliderBubbleInputProps extends Omit<PrimitiveInputProps, 'value'> {
|
||||
}
|
||||
declare const SliderBubbleInput: React.ForwardRefExoticComponent<SliderBubbleInputProps & React.RefAttributes<HTMLInputElement>>;
|
||||
|
||||
export { Range, Root, Slider, type SliderProps, SliderRange, type SliderRangeProps, SliderThumb, type SliderThumbProps, SliderTrack, type SliderTrackProps, Thumb, Track, createSliderScope };
|
||||
export { SliderRange as Range, Slider as Root, Slider, type SliderProps, SliderRange, type SliderRangeProps, SliderThumb, type SliderThumbProps, SliderTrack, type SliderTrackProps, SliderThumb as Thumb, SliderTrack as Track, createSliderScope, SliderBubbleInput as unstable_BubbleInput, SliderBubbleInput as unstable_SliderBubbleInput, type SliderBubbleInputProps as unstable_SliderBubbleInputProps, SliderThumbProvider as unstable_SliderThumbProvider, type SliderThumbProviderProps as unstable_SliderThumbProviderProps, SliderThumbTrigger as unstable_SliderThumbTrigger, type SliderThumbTriggerProps as unstable_SliderThumbTriggerProps, SliderThumbProvider as unstable_ThumbProvider, SliderThumbTrigger as unstable_ThumbTrigger };
|
||||
|
||||
Reference in New Issue
Block a user