UNPKG

@kobalte/core

Version:

Unstyled components and primitives for building accessible web apps and design systems with SolidJS.

105 lines (100 loc) 6.47 kB
import { F as FormControlDescription, a as FormControlDescriptionCommonProps, b as FormControlDescriptionOptions, c as FormControlDescriptionProps, d as FormControlDescriptionRenderProps } from './form-control-description-b958eb98.js'; import { F as FormControlErrorMessage, a as FormControlErrorMessageCommonProps, b as FormControlErrorMessageOptions, c as FormControlErrorMessageProps, d as FormControlErrorMessageRenderProps } from './form-control-error-message-d659c9d2.js'; import { F as FormControlLabel, a as FormControlLabelCommonProps, b as FormControlLabelOptions, c as FormControlLabelProps, d as FormControlLabelRenderProps } from './form-control-label-88bbac32.js'; import { JSX, ValidComponent } from 'solid-js'; import { ElementOf, PolymorphicProps } from './polymorphic/index.js'; import { S as SliderDataSet, a as SliderRoot, b as SliderInput, c as SliderThumb, d as SliderTrack, e as SliderValueLabel, G as GetValueLabelParams, f as SliderInputProps, g as SliderRootCommonProps, h as SliderRootOptions, i as SliderRootProps, j as SliderRootRenderProps, k as SliderThumbCommonProps, l as SliderThumbOptions, m as SliderThumbProps, n as SliderThumbRenderProps, o as SliderTrackCommonProps, p as SliderTrackOptions, q as SliderTrackProps, r as SliderTrackRenderProps, s as SliderValueLabelCommonProps, t as SliderValueLabelOptions, u as SliderValueLabelProps, v as SliderValueLabelRenderProps } from './slider-value-label-687b6b02.js'; interface SliderFillOptions { } interface SliderFillCommonProps<T extends HTMLElement = HTMLElement> { style?: JSX.CSSProperties | string; } interface SliderFillRenderProps extends SliderFillCommonProps, SliderDataSet { } type SliderFillProps<T extends ValidComponent | HTMLElement = HTMLElement> = SliderFillOptions & Partial<SliderFillCommonProps<ElementOf<T>>>; /** * The component that visually represents the slider value. * Used to visually show the fill of `Slider.Track`. */ declare function SliderFill<T extends ValidComponent = "div">(props: PolymorphicProps<T, SliderFillProps<T>>): JSX.Element; declare const Slider: typeof SliderRoot & { Description: typeof FormControlDescription; ErrorMessage: typeof FormControlErrorMessage; Fill: typeof SliderFill; Input: typeof SliderInput; Label: typeof FormControlLabel; Thumb: typeof SliderThumb; Track: typeof SliderTrack; ValueLabel: typeof SliderValueLabel; }; declare const index_Slider: typeof Slider; type index_SliderFillCommonProps<T extends HTMLElement = HTMLElement> = SliderFillCommonProps<T>; type index_SliderFillOptions = SliderFillOptions; type index_SliderFillProps<T extends ValidComponent | HTMLElement = HTMLElement> = SliderFillProps<T>; type index_SliderFillRenderProps = SliderFillRenderProps; declare const index_SliderInputProps: typeof SliderInputProps; declare const index_SliderRootCommonProps: typeof SliderRootCommonProps; declare const index_SliderRootOptions: typeof SliderRootOptions; declare const index_SliderRootProps: typeof SliderRootProps; declare const index_SliderRootRenderProps: typeof SliderRootRenderProps; declare const index_SliderThumbCommonProps: typeof SliderThumbCommonProps; declare const index_SliderThumbOptions: typeof SliderThumbOptions; declare const index_SliderThumbProps: typeof SliderThumbProps; declare const index_SliderThumbRenderProps: typeof SliderThumbRenderProps; declare const index_SliderTrackCommonProps: typeof SliderTrackCommonProps; declare const index_SliderTrackOptions: typeof SliderTrackOptions; declare const index_SliderTrackProps: typeof SliderTrackProps; declare const index_SliderTrackRenderProps: typeof SliderTrackRenderProps; declare const index_SliderValueLabelCommonProps: typeof SliderValueLabelCommonProps; declare const index_SliderValueLabelOptions: typeof SliderValueLabelOptions; declare const index_SliderValueLabelProps: typeof SliderValueLabelProps; declare const index_SliderValueLabelRenderProps: typeof SliderValueLabelRenderProps; declare namespace index { export { FormControlDescription as Description, FormControlErrorMessage as ErrorMessage, SliderFill as Fill, SliderInput as Input, FormControlLabel as Label, SliderRoot as Root, index_Slider as Slider, FormControlDescriptionCommonProps as SliderDescriptionCommonProps, FormControlDescriptionOptions as SliderDescriptionOptions, FormControlDescriptionProps as SliderDescriptionProps, FormControlDescriptionRenderProps as SliderDescriptionRenderProps, FormControlErrorMessageCommonProps as SliderErrorMessageCommonProps, FormControlErrorMessageOptions as SliderErrorMessageOptions, FormControlErrorMessageProps as SliderErrorMessageProps, FormControlErrorMessageRenderProps as SliderErrorMessageRenderProps, index_SliderFillCommonProps as SliderFillCommonProps, index_SliderFillOptions as SliderFillOptions, index_SliderFillProps as SliderFillProps, index_SliderFillRenderProps as SliderFillRenderProps, GetValueLabelParams as SliderGetValueLabelParams, index_SliderInputProps as SliderInputProps, FormControlLabelCommonProps as SliderLabelCommonProps, FormControlLabelOptions as SliderLabelOptions, FormControlLabelProps as SliderLabelProps, FormControlLabelRenderProps as SliderLabelRenderProps, index_SliderRootCommonProps as SliderRootCommonProps, index_SliderRootOptions as SliderRootOptions, index_SliderRootProps as SliderRootProps, index_SliderRootRenderProps as SliderRootRenderProps, index_SliderThumbCommonProps as SliderThumbCommonProps, index_SliderThumbOptions as SliderThumbOptions, index_SliderThumbProps as SliderThumbProps, index_SliderThumbRenderProps as SliderThumbRenderProps, index_SliderTrackCommonProps as SliderTrackCommonProps, index_SliderTrackOptions as SliderTrackOptions, index_SliderTrackProps as SliderTrackProps, index_SliderTrackRenderProps as SliderTrackRenderProps, index_SliderValueLabelCommonProps as SliderValueLabelCommonProps, index_SliderValueLabelOptions as SliderValueLabelOptions, index_SliderValueLabelProps as SliderValueLabelProps, index_SliderValueLabelRenderProps as SliderValueLabelRenderProps, SliderThumb as Thumb, SliderTrack as Track, SliderValueLabel as ValueLabel, }; } export { SliderFillOptions as S, SliderFillCommonProps as a, SliderFillRenderProps as b, SliderFillProps as c, SliderFill as d, Slider as e, index as i };