@react-types/slider
Advanced tools
Comparing version 3.0.0-nightly.2432 to 3.0.0-nightly.2435
{ | ||
"name": "@react-types/slider", | ||
"version": "3.0.0-nightly.2432+2ca7fc09", | ||
"version": "3.0.0-nightly.2435+eb8c7524", | ||
"description": "Spectrum UI components in React", | ||
@@ -12,3 +12,3 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@react-types/shared": "3.0.0-nightly.754+2ca7fc09" | ||
"@react-types/shared": "3.0.0-nightly.757+eb8c7524" | ||
}, | ||
@@ -21,3 +21,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "2ca7fc0979fc8384613fbb3515ef06ffbe49d988" | ||
"gitHead": "eb8c7524f8e58112192b1b2ade7dc131aea59906" | ||
} |
@@ -28,17 +28,17 @@ import {AriaLabelingProps, AriaValidationProps, FocusableDOMProps, FocusableProps, LabelableProps, LabelPosition, Orientation, RangeInputBase, RangeValue, StyleProps, Validation, ValueBase} from '@react-types/shared'; | ||
export interface SpectrumSliderTicksBase { | ||
/** Enables tick marks if > 0. Ticks will be evenly distributed between the min and max values. */ | ||
tickCount?: number, | ||
// export interface SpectrumSliderTicksBase { | ||
// /** Enables tick marks if > 0. Ticks will be evenly distributed between the min and max values. */ | ||
// tickCount?: number, | ||
// | ||
// /** Enables tick labels. */ | ||
// showTickLabels?: boolean, | ||
// /** | ||
// * By default, labels are formatted using the slider's number formatter, | ||
// * but you can use the tickLabels prop to override these with custom labels. | ||
// */ | ||
// tickLabels?: Array<ReactNode> | ||
// } | ||
/** Enables tick labels. */ | ||
showTickLabels?: boolean, | ||
export interface SpectrumSliderProps extends SpectrumBarSliderBase<number> { | ||
/** | ||
* By default, labels are formatted using the slider's number formatter, | ||
* but you can use the tickLabels prop to override these with custom labels. | ||
*/ | ||
tickLabels?: Array<ReactNode> | ||
} | ||
export interface SpectrumSliderProps extends SpectrumBarSliderBase<number>, SpectrumSliderTicksBase { | ||
/** | ||
* Whether a fill color is shown between the start of the slider and the current value. | ||
@@ -62,2 +62,2 @@ * @see https://spectrum.adobe.com/page/slider/#Fill. | ||
export interface SpectrumRangeSliderProps extends SpectrumBarSliderBase<RangeValue<number>>, SpectrumSliderTicksBase { } | ||
export interface SpectrumRangeSliderProps extends SpectrumBarSliderBase<RangeValue<number>> { } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
54
14478