@visx/scale
Advanced tools
Comparing version 1.3.0-alpha.0 to 1.3.0
@@ -1,2 +0,2 @@ | ||
import { DefaultThresholdInput, PickD3Scale } from '../types/Scale'; | ||
import { PickD3Scale } from '../types/Scale'; | ||
import { ScaleType } from '../types/ScaleConfig'; | ||
@@ -9,19 +9,19 @@ import { DefaultOutput, StringLike } from '../types/Base'; | ||
declare type OperatorType = typeof ALL_OPERATORS[number]; | ||
export default function scaleOperator<T extends ScaleType>(...ops: OperatorType[]): <Output = DefaultOutput, DiscreteInput extends StringLike = StringLike, ThresholdInput extends DefaultThresholdInput = DefaultThresholdInput>(scale: Pick<import("../types/Scale").ScaleTypeToD3Scale<Output, DiscreteInput, ThresholdInput>, T>[T], config?: Pick<{ | ||
linear: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"linear", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse" | "type">, "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse">; | ||
log: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"log", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "base" | "clamp" | "nice" | "domain" | "interpolate" | "round" | "range" | "reverse" | "type">, "base" | "clamp" | "nice" | "domain" | "interpolate" | "round" | "range" | "reverse">; | ||
pow: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"pow", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "exponent" | "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse" | "type">, "exponent" | "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse">; | ||
sqrt: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"sqrt", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse" | "type">, "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse">; | ||
symlog: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"symlog", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "constant" | "clamp" | "nice" | "domain" | "zero" | "range" | "reverse" | "type">, "constant" | "clamp" | "nice" | "domain" | "zero" | "range" | "reverse">; | ||
radial: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"radial", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "clamp" | "nice" | "domain" | "round" | "range" | "reverse" | "unknown" | "type">, "clamp" | "nice" | "domain" | "round" | "range" | "reverse" | "unknown">; | ||
time: Pick<import("../types/ScaleConfig").TimeScaleConfig<Output>, "clamp" | "nice" | "domain" | "interpolate" | "round" | "range" | "reverse">; | ||
utc: Pick<import("../types/ScaleConfig").UtcScaleConfig<Output>, "clamp" | "nice" | "domain" | "interpolate" | "round" | "range" | "reverse">; | ||
quantile: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"quantile", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "domain" | "range" | "reverse" | "type">, "domain" | "range" | "reverse">; | ||
quantize: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"quantize", [number | Date, number | Date], Output[]>, "nice" | "domain" | "zero" | "range" | "reverse" | "type">, "nice" | "domain" | "zero" | "range" | "reverse">; | ||
threshold: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"threshold", ThresholdInput[], Output[]>, "domain" | "range" | "reverse" | "type">, "domain" | "range" | "reverse">; | ||
ordinal: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"ordinal", DiscreteInput[], Output[]>, "domain" | "range" | "reverse" | "unknown" | "type">, "domain" | "range" | "reverse" | "unknown">; | ||
point: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"point", DiscreteInput[], [number | import("../types/Base").NumberLike, number | import("../types/Base").NumberLike]>, "padding" | "domain" | "round" | "range" | "reverse" | "align" | "type">, "padding" | "domain" | "round" | "range" | "reverse" | "align">; | ||
band: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"band", DiscreteInput[], [number | import("../types/Base").NumberLike, number | import("../types/Base").NumberLike]>, "paddingInner" | "padding" | "domain" | "round" | "range" | "reverse" | "align" | "type" | "paddingOuter">, "paddingInner" | "padding" | "domain" | "round" | "range" | "reverse" | "align" | "paddingOuter">; | ||
export default function scaleOperator<T extends ScaleType>(...ops: OperatorType[]): <Output = DefaultOutput, DiscreteInput extends StringLike = StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: Pick<import("../types/Scale").ScaleTypeToD3Scale<Output, DiscreteInput, ThresholdInput>, T>[T], config?: Pick<{ | ||
linear: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"linear", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round" | "zero">, "reverse" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round" | "zero">; | ||
log: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"log", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "base" | "clamp" | "interpolate" | "nice" | "round">, "reverse" | "domain" | "range" | "base" | "clamp" | "interpolate" | "nice" | "round">; | ||
pow: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"pow", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "clamp" | "exponent" | "interpolate" | "nice" | "round" | "zero">, "reverse" | "domain" | "range" | "clamp" | "exponent" | "interpolate" | "nice" | "round" | "zero">; | ||
sqrt: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"sqrt", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round" | "zero">, "reverse" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round" | "zero">; | ||
symlog: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"symlog", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "clamp" | "constant" | "nice" | "zero">, "reverse" | "domain" | "range" | "clamp" | "constant" | "nice" | "zero">; | ||
radial: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"radial", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "clamp" | "nice" | "round" | "unknown">, "reverse" | "domain" | "range" | "clamp" | "nice" | "round" | "unknown">; | ||
time: Pick<import("../types/ScaleConfig").TimeScaleConfig<Output>, "reverse" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round">; | ||
utc: Pick<import("../types/ScaleConfig").UtcScaleConfig<Output>, "reverse" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round">; | ||
quantile: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"quantile", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range">, "reverse" | "domain" | "range">; | ||
quantize: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"quantize", [import("../types/ScaleConfig").TimeInput, import("../types/ScaleConfig").TimeInput], Output[]>, "reverse" | "type" | "domain" | "range" | "nice" | "zero">, "reverse" | "domain" | "range" | "nice" | "zero">; | ||
threshold: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"threshold", ThresholdInput[], Output[]>, "reverse" | "type" | "domain" | "range">, "reverse" | "domain" | "range">; | ||
ordinal: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"ordinal", DiscreteInput[], Output[]>, "reverse" | "type" | "domain" | "range" | "unknown">, "reverse" | "domain" | "range" | "unknown">; | ||
point: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"point", DiscreteInput[], [number | import("../types/Base").NumberLike, number | import("../types/Base").NumberLike]>, "reverse" | "type" | "domain" | "range" | "align" | "padding" | "round">, "reverse" | "domain" | "range" | "align" | "padding" | "round">; | ||
band: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"band", DiscreteInput[], [number | import("../types/Base").NumberLike, number | import("../types/Base").NumberLike]>, "reverse" | "type" | "domain" | "range" | "align" | "padding" | "paddingInner" | "paddingOuter" | "round">, "reverse" | "domain" | "range" | "align" | "padding" | "paddingInner" | "paddingOuter" | "round">; | ||
}, T>[T] | undefined) => Pick<import("../types/Scale").ScaleTypeToD3Scale<Output, DiscreteInput, ThresholdInput>, T>[T]; | ||
export {}; | ||
//# sourceMappingURL=scaleOperator.d.ts.map |
import { DefaultOutput, StringLike } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateBandScale: <Output = DefaultOutput, DiscreteInput extends StringLike = StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScaleBand<DiscreteInput>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"band", DiscreteInput[], [number | import("../types/Base").NumberLike, number | import("../types/Base").NumberLike]>, "paddingInner" | "padding" | "domain" | "round" | "range" | "reverse" | "align" | "type" | "paddingOuter">, "paddingInner" | "padding" | "domain" | "round" | "range" | "reverse" | "align" | "paddingOuter"> | undefined) => import("d3-scale").ScaleBand<DiscreteInput>; | ||
export declare const updateBandScale: <Output = DefaultOutput, DiscreteInput extends StringLike = StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleBand<DiscreteInput>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"band", DiscreteInput[], [number | import("../types/Base").NumberLike, number | import("../types/Base").NumberLike]>, "reverse" | "type" | "domain" | "range" | "align" | "padding" | "paddingInner" | "paddingOuter" | "round">, "reverse" | "domain" | "range" | "align" | "padding" | "paddingInner" | "paddingOuter" | "round"> | undefined) => import("d3-scale").ScaleBand<DiscreteInput>; | ||
export default function createBandScale<DiscreteInput extends StringLike = StringLike>(config?: PickScaleConfigWithoutType<'band', DefaultOutput, DiscreteInput>): import("d3-scale").ScaleBand<DiscreteInput>; | ||
//# sourceMappingURL=band.d.ts.map |
import { DefaultOutput } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateLinearScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScaleLinear<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"linear", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse" | "type">, "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse"> | undefined) => import("d3-scale").ScaleLinear<Output, Output, never>; | ||
export declare const updateLinearScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleLinear<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"linear", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round" | "zero">, "reverse" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round" | "zero"> | undefined) => import("d3-scale").ScaleLinear<Output, Output, never>; | ||
export default function createLinearScale<Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'linear', Output>): import("d3-scale").ScaleLinear<Output, Output, never>; | ||
//# sourceMappingURL=linear.d.ts.map |
import { DefaultOutput } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateLogScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScaleLogarithmic<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"log", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "base" | "clamp" | "nice" | "domain" | "interpolate" | "round" | "range" | "reverse" | "type">, "base" | "clamp" | "nice" | "domain" | "interpolate" | "round" | "range" | "reverse"> | undefined) => import("d3-scale").ScaleLogarithmic<Output, Output, never>; | ||
export declare const updateLogScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleLogarithmic<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"log", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "base" | "clamp" | "interpolate" | "nice" | "round">, "reverse" | "domain" | "range" | "base" | "clamp" | "interpolate" | "nice" | "round"> | undefined) => import("d3-scale").ScaleLogarithmic<Output, Output, never>; | ||
export default function createLogScale<Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'log', Output>): import("d3-scale").ScaleLogarithmic<Output, Output, never>; | ||
//# sourceMappingURL=log.d.ts.map |
import { DefaultOutput, StringLike } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateOrdinalScale: <Output = DefaultOutput, DiscreteInput extends StringLike = StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScaleOrdinal<DiscreteInput, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"ordinal", DiscreteInput[], Output[]>, "domain" | "range" | "reverse" | "unknown" | "type">, "domain" | "range" | "reverse" | "unknown"> | undefined) => import("d3-scale").ScaleOrdinal<DiscreteInput, Output, never>; | ||
export declare const updateOrdinalScale: <Output = DefaultOutput, DiscreteInput extends StringLike = StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleOrdinal<DiscreteInput, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"ordinal", DiscreteInput[], Output[]>, "reverse" | "type" | "domain" | "range" | "unknown">, "reverse" | "domain" | "range" | "unknown"> | undefined) => import("d3-scale").ScaleOrdinal<DiscreteInput, Output, never>; | ||
export default function createOrdinalScale<DiscreteInput extends StringLike = StringLike, Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'ordinal', Output, DiscreteInput>): import("d3-scale").ScaleOrdinal<DiscreteInput, Output, never>; | ||
//# sourceMappingURL=ordinal.d.ts.map |
import { DefaultOutput, StringLike } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updatePointScale: <Output = DefaultOutput, DiscreteInput extends StringLike = StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScalePoint<DiscreteInput>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"point", DiscreteInput[], [number | import("../types/Base").NumberLike, number | import("../types/Base").NumberLike]>, "padding" | "domain" | "round" | "range" | "reverse" | "align" | "type">, "padding" | "domain" | "round" | "range" | "reverse" | "align"> | undefined) => import("d3-scale").ScalePoint<DiscreteInput>; | ||
export declare const updatePointScale: <Output = DefaultOutput, DiscreteInput extends StringLike = StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScalePoint<DiscreteInput>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"point", DiscreteInput[], [number | import("../types/Base").NumberLike, number | import("../types/Base").NumberLike]>, "reverse" | "type" | "domain" | "range" | "align" | "padding" | "round">, "reverse" | "domain" | "range" | "align" | "padding" | "round"> | undefined) => import("d3-scale").ScalePoint<DiscreteInput>; | ||
export default function createPointScale<DiscreteInput extends StringLike = StringLike>(config?: PickScaleConfigWithoutType<'point', DefaultOutput, DiscreteInput>): import("d3-scale").ScalePoint<DiscreteInput>; | ||
//# sourceMappingURL=point.d.ts.map |
import { DefaultOutput } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updatePowScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScalePower<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"pow", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "exponent" | "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse" | "type">, "exponent" | "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse"> | undefined) => import("d3-scale").ScalePower<Output, Output, never>; | ||
export declare const updatePowScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScalePower<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"pow", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "clamp" | "exponent" | "interpolate" | "nice" | "round" | "zero">, "reverse" | "domain" | "range" | "clamp" | "exponent" | "interpolate" | "nice" | "round" | "zero"> | undefined) => import("d3-scale").ScalePower<Output, Output, never>; | ||
export default function createPowScale<Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'pow', Output>): import("d3-scale").ScalePower<Output, Output, never>; | ||
//# sourceMappingURL=power.d.ts.map |
import { DefaultOutput } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateQuantileScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScaleQuantile<Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"quantile", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "domain" | "range" | "reverse" | "type">, "domain" | "range" | "reverse"> | undefined) => import("d3-scale").ScaleQuantile<Output, never>; | ||
export declare const updateQuantileScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleQuantile<Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"quantile", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range">, "reverse" | "domain" | "range"> | undefined) => import("d3-scale").ScaleQuantile<Output, never>; | ||
export default function createQuantileScale<Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'quantile', Output>): import("d3-scale").ScaleQuantile<Output, never>; | ||
//# sourceMappingURL=quantile.d.ts.map |
import { DefaultOutput } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateQuantizeScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScaleQuantize<Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"quantize", [number | Date, number | Date], Output[]>, "nice" | "domain" | "zero" | "range" | "reverse" | "type">, "nice" | "domain" | "zero" | "range" | "reverse"> | undefined) => import("d3-scale").ScaleQuantize<Output, never>; | ||
export declare const updateQuantizeScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleQuantize<Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"quantize", [import("../types/ScaleConfig").TimeInput, import("../types/ScaleConfig").TimeInput], Output[]>, "reverse" | "type" | "domain" | "range" | "nice" | "zero">, "reverse" | "domain" | "range" | "nice" | "zero"> | undefined) => import("d3-scale").ScaleQuantize<Output, never>; | ||
export default function createQuantizeScale<Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'quantize', Output>): import("d3-scale").ScaleQuantize<Output, never>; | ||
//# sourceMappingURL=quantize.d.ts.map |
import { DefaultOutput } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateRadialScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScaleRadial<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"radial", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "clamp" | "nice" | "domain" | "round" | "range" | "reverse" | "unknown" | "type">, "clamp" | "nice" | "domain" | "round" | "range" | "reverse" | "unknown"> | undefined) => import("d3-scale").ScaleRadial<Output, Output, never>; | ||
export declare const updateRadialScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleRadial<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"radial", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "clamp" | "nice" | "round" | "unknown">, "reverse" | "domain" | "range" | "clamp" | "nice" | "round" | "unknown"> | undefined) => import("d3-scale").ScaleRadial<Output, Output, never>; | ||
export default function createRadialScale<Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'radial', Output>): import("d3-scale").ScaleRadial<Output, Output, never>; | ||
//# sourceMappingURL=radial.d.ts.map |
import { DefaultOutput } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateSqrtScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScalePower<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"sqrt", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse" | "type">, "clamp" | "nice" | "domain" | "zero" | "interpolate" | "round" | "range" | "reverse"> | undefined) => import("d3-scale").ScalePower<Output, Output, never>; | ||
export declare const updateSqrtScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScalePower<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"sqrt", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round" | "zero">, "reverse" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round" | "zero"> | undefined) => import("d3-scale").ScalePower<Output, Output, never>; | ||
export default function createSqrtScale<Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'sqrt', Output>): import("d3-scale").ScalePower<Output, Output, never>; | ||
//# sourceMappingURL=squareRoot.d.ts.map |
import { DefaultOutput } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateSymlogScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScaleSymLog<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"symlog", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "constant" | "clamp" | "nice" | "domain" | "zero" | "range" | "reverse" | "type">, "constant" | "clamp" | "nice" | "domain" | "zero" | "range" | "reverse"> | undefined) => import("d3-scale").ScaleSymLog<Output, Output, never>; | ||
export declare const updateSymlogScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleSymLog<Output, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"symlog", import("../types/ScaleConfig").ContinuousDomain, Output[]>, "reverse" | "type" | "domain" | "range" | "clamp" | "constant" | "nice" | "zero">, "reverse" | "domain" | "range" | "clamp" | "constant" | "nice" | "zero"> | undefined) => import("d3-scale").ScaleSymLog<Output, Output, never>; | ||
export default function createSymlogScale<Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'symlog', Output>): import("d3-scale").ScaleSymLog<Output, Output, never>; | ||
//# sourceMappingURL=symlog.d.ts.map |
import { DefaultOutput, StringLike } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
import { DefaultThresholdInput } from '../types/Scale'; | ||
export declare const updateThresholdScale: <Output = DefaultOutput, DiscreteInput extends StringLike = StringLike, ThresholdInput extends DefaultThresholdInput = DefaultThresholdInput>(scale: import("d3-scale").ScaleThreshold<ThresholdInput, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"threshold", ThresholdInput[], Output[]>, "domain" | "range" | "reverse" | "type">, "domain" | "range" | "reverse"> | undefined) => import("d3-scale").ScaleThreshold<ThresholdInput, Output, never>; | ||
export declare const updateThresholdScale: <Output = DefaultOutput, DiscreteInput extends StringLike = StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleThreshold<ThresholdInput, Output, never>, config?: Pick<Pick<import("../types/BaseScaleConfig").BaseScaleConfig<"threshold", ThresholdInput[], Output[]>, "reverse" | "type" | "domain" | "range">, "reverse" | "domain" | "range"> | undefined) => import("d3-scale").ScaleThreshold<ThresholdInput, Output, never>; | ||
export default function createThresholdScale<ThresholdInput extends DefaultThresholdInput = DefaultThresholdInput, Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'threshold', Output, StringLike, ThresholdInput>): import("d3-scale").ScaleThreshold<ThresholdInput, Output, never>; | ||
//# sourceMappingURL=threshold.d.ts.map |
import { DefaultOutput } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateTimeScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScaleTime<Output, Output, never>, config?: Pick<import("../types/ScaleConfig").TimeScaleConfig<Output>, "clamp" | "nice" | "domain" | "interpolate" | "round" | "range" | "reverse"> | undefined) => import("d3-scale").ScaleTime<Output, Output, never>; | ||
export declare const updateTimeScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleTime<Output, Output, never>, config?: Pick<import("../types/ScaleConfig").TimeScaleConfig<Output>, "reverse" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round"> | undefined) => import("d3-scale").ScaleTime<Output, Output, never>; | ||
export default function createTimeScale<Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'time', Output>): import("d3-scale").ScaleTime<Output, Output, never>; | ||
//# sourceMappingURL=time.d.ts.map |
import { DefaultOutput } from '../types/Base'; | ||
import { PickScaleConfigWithoutType } from '../types/ScaleConfig'; | ||
export declare const updateUtcScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends import("..").DefaultThresholdInput = import("..").DefaultThresholdInput>(scale: import("d3-scale").ScaleTime<Output, Output, never>, config?: Pick<import("../types/ScaleConfig").UtcScaleConfig<Output>, "clamp" | "nice" | "domain" | "interpolate" | "round" | "range" | "reverse"> | undefined) => import("d3-scale").ScaleTime<Output, Output, never>; | ||
export declare const updateUtcScale: <Output = DefaultOutput, DiscreteInput extends import("../types/Base").StringLike = import("../types/Base").StringLike, ThresholdInput extends string | number | Date = string | number | Date>(scale: import("d3-scale").ScaleTime<Output, Output, never>, config?: Pick<import("../types/ScaleConfig").UtcScaleConfig<Output>, "reverse" | "domain" | "range" | "clamp" | "interpolate" | "nice" | "round"> | undefined) => import("d3-scale").ScaleTime<Output, Output, never>; | ||
export default function createUtcScale<Output = DefaultOutput>(config?: PickScaleConfigWithoutType<'utc', Output>): import("d3-scale").ScaleTime<Output, Output, never>; | ||
//# sourceMappingURL=utc.d.ts.map |
{ | ||
"name": "@visx/scale", | ||
"version": "1.3.0-alpha.0", | ||
"version": "1.3.0", | ||
"description": "visx scale", | ||
@@ -44,3 +44,3 @@ "sideEffects": false, | ||
}, | ||
"gitHead": "d11b08238456bf5031df5da238d2bafa0d062316" | ||
"gitHead": "e21575a6eef9b7b9a84a19c755a308c4541235c4" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
138641