UNPKG

3.98 kBTypeScriptView Raw
1import type { Assign } from "@ark-ui/react";
2import { Slider as ArkSlider } from "@ark-ui/react/slider";
3import { type HTMLChakraProps, type SlotRecipeProps, type UnstyledProp } from "../../styled-system";
4declare const useSliderStyles: () => Record<string, import("../..").SystemStyleObject>;
5export { useSliderStyles };
6export interface SliderRootProviderBaseProps extends Assign<ArkSlider.RootProviderBaseProps, SlotRecipeProps<"slider">>, UnstyledProp {
7}
8export interface SliderRootProviderProps extends HTMLChakraProps<"div", SliderRootProviderBaseProps> {
9}
10export declare const SliderRootProvider: import("react").ForwardRefExoticComponent<SliderRootProviderProps & import("react").RefAttributes<HTMLDivElement>>;
11export interface SliderRootBaseProps extends Assign<ArkSlider.RootBaseProps, SlotRecipeProps<"slider">>, UnstyledProp {
12}
13export interface SliderRootProps extends HTMLChakraProps<"div", SliderRootBaseProps> {
14}
15export declare const SliderRoot: import("react").ForwardRefExoticComponent<SliderRootProps & import("react").RefAttributes<HTMLDivElement>>;
16export declare const SliderPropsProvider: React.Provider<SliderRootBaseProps>;
17export interface SliderControlProps extends HTMLChakraProps<"div", ArkSlider.ControlBaseProps> {
18}
19export declare const SliderControl: import("react").ForwardRefExoticComponent<SliderControlProps & import("react").RefAttributes<HTMLDivElement>>;
20export interface SliderTrackProps extends HTMLChakraProps<"div", ArkSlider.TrackBaseProps> {
21}
22export declare const SliderTrack: import("react").ForwardRefExoticComponent<SliderTrackProps & import("react").RefAttributes<HTMLDivElement>>;
23export interface SliderRangeProps extends HTMLChakraProps<"div", ArkSlider.RangeBaseProps> {
24}
25export declare const SliderRange: import("react").ForwardRefExoticComponent<SliderRangeProps & import("react").RefAttributes<HTMLDivElement>>;
26export interface SliderThumbProps extends HTMLChakraProps<"div", ArkSlider.ThumbBaseProps> {
27}
28export declare const SliderThumb: import("react").ForwardRefExoticComponent<SliderThumbProps & import("react").RefAttributes<HTMLDivElement>>;
29export interface SliderValueTextProps extends HTMLChakraProps<"div", ArkSlider.ValueTextBaseProps> {
30}
31export declare const SliderValueText: import("react").ForwardRefExoticComponent<SliderValueTextProps & import("react").RefAttributes<HTMLDivElement>>;
32export interface SliderLabelProps extends HTMLChakraProps<"label", ArkSlider.LabelBaseProps> {
33}
34export declare const SliderLabel: import("react").ForwardRefExoticComponent<SliderLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
35export interface SliderMarkerGroupProps extends HTMLChakraProps<"div", ArkSlider.MarkerGroupBaseProps> {
36}
37export declare const SliderMarkerGroup: import("react").ForwardRefExoticComponent<SliderMarkerGroupProps & import("react").RefAttributes<HTMLDivElement>>;
38export interface SliderMarkerProps extends HTMLChakraProps<"div", ArkSlider.MarkerBaseProps> {
39}
40export declare const SliderMarker: import("react").ForwardRefExoticComponent<SliderMarkerProps & import("react").RefAttributes<HTMLDivElement>>;
41export interface SliderMarkerIndicatorProps extends HTMLChakraProps<"div"> {
42}
43export declare const SliderMarkerIndicator: import("react").ForwardRefExoticComponent<SliderMarkerIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
44export interface SliderDraggingIndicatorProps extends HTMLChakraProps<"div", ArkSlider.DraggingIndicatorBaseProps> {
45}
46export declare const SliderDraggingIndicator: import("react").ForwardRefExoticComponent<SliderDraggingIndicatorProps & import("react").RefAttributes<HTMLDivElement>>;
47export declare const SliderContext: (props: ArkSlider.ContextProps) => import("react").ReactNode;
48export declare const SliderHiddenInput: import("react").ForwardRefExoticComponent<ArkSlider.HiddenInputProps & import("react").RefAttributes<HTMLInputElement>>;
49export interface SliderValueChangeDetails extends ArkSlider.ValueChangeDetails {
50}