Socket
Socket
Sign inDemoInstall

rc-slider

Package Overview
Dependencies
Maintainers
8
Versions
187
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-slider - npm Package Compare versions

Comparing version 9.7.1 to 9.7.2

CHANGELOG.md

2

es/common/createSlider.d.ts
import React from 'react';
import { GenericSliderProps, GenericSliderState, GenericSlider } from '../interface';
import type { GenericSliderProps, GenericSliderState, GenericSlider } from '../interface';
export default function createSlider<Props extends GenericSliderProps, State extends GenericSliderState>(Component: GenericSlider<Props, State>): React.ComponentClass<Props, State>;
import * as React from 'react';
import { TooltipProps } from 'rc-tooltip/lib/Tooltip';
import type { TooltipProps } from 'rc-tooltip/lib/Tooltip';
declare const SliderTooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<unknown>>;
export default SliderTooltip;
import React from 'react';
import { GenericSliderProps } from './interface';
import type { GenericSliderProps } from './interface';
export interface ComponentWrapperProps {

@@ -4,0 +4,0 @@ tipFormatter?: (value: number) => React.ReactNode;

@@ -1,2 +0,2 @@

import * as React from 'react';
import type * as React from 'react';
export interface GenericSliderProps {

@@ -3,0 +3,0 @@ min?: number;

import React from 'react';
import { SliderProps } from './Slider';
import { GenericSliderProps, GenericSliderState } from './interface';
import type { SliderProps } from './Slider';
import type { GenericSliderProps, GenericSliderState } from './interface';
export interface RangeProps extends GenericSliderProps {

@@ -21,3 +21,3 @@ value?: number[];

}>;
step?: number;
step?: number | null;
threshold?: number;

@@ -29,6 +29,6 @@ prefixCls?: string;

handleStyle?: React.CSSProperties[];
tabIndex?: number | Array<number>;
ariaLabelGroupForHandles?: string | Array<string>;
ariaLabelledByGroupForHandles?: string | Array<string>;
ariaValueTextFormatterGroupForHandles?: string | Array<string>;
tabIndex?: number | number[];
ariaLabelGroupForHandles?: string | string[];
ariaLabelledByGroupForHandles?: string | string[];
ariaValueTextFormatterGroupForHandles?: string | string[];
handle?: SliderProps['handle'];

@@ -35,0 +35,0 @@ draggableTrack?: boolean;

import React from 'react';
import { GenericSliderProps, GenericSliderState } from './interface';
import type { GenericSliderProps, GenericSliderState } from './interface';
export interface SliderProps extends GenericSliderProps {

@@ -4,0 +4,0 @@ value?: number;

import React from 'react';
import { GenericSliderProps, GenericSliderState, GenericSlider } from '../interface';
import type { GenericSliderProps, GenericSliderState, GenericSlider } from '../interface';
export default function createSlider<Props extends GenericSliderProps, State extends GenericSliderState>(Component: GenericSlider<Props, State>): React.ComponentClass<Props, State>;
import * as React from 'react';
import { TooltipProps } from 'rc-tooltip/lib/Tooltip';
import type { TooltipProps } from 'rc-tooltip/lib/Tooltip';
declare const SliderTooltip: React.ForwardRefExoticComponent<TooltipProps & React.RefAttributes<unknown>>;
export default SliderTooltip;
import React from 'react';
import { GenericSliderProps } from './interface';
import type { GenericSliderProps } from './interface';
export interface ComponentWrapperProps {

@@ -4,0 +4,0 @@ tipFormatter?: (value: number) => React.ReactNode;

@@ -1,2 +0,2 @@

import * as React from 'react';
import type * as React from 'react';
export interface GenericSliderProps {

@@ -3,0 +3,0 @@ min?: number;

import React from 'react';
import { SliderProps } from './Slider';
import { GenericSliderProps, GenericSliderState } from './interface';
import type { SliderProps } from './Slider';
import type { GenericSliderProps, GenericSliderState } from './interface';
export interface RangeProps extends GenericSliderProps {

@@ -21,3 +21,3 @@ value?: number[];

}>;
step?: number;
step?: number | null;
threshold?: number;

@@ -29,6 +29,6 @@ prefixCls?: string;

handleStyle?: React.CSSProperties[];
tabIndex?: number | Array<number>;
ariaLabelGroupForHandles?: string | Array<string>;
ariaLabelledByGroupForHandles?: string | Array<string>;
ariaValueTextFormatterGroupForHandles?: string | Array<string>;
tabIndex?: number | number[];
ariaLabelGroupForHandles?: string | string[];
ariaLabelledByGroupForHandles?: string | string[];
ariaValueTextFormatterGroupForHandles?: string | string[];
handle?: SliderProps['handle'];

@@ -35,0 +35,0 @@ draggableTrack?: boolean;

import React from 'react';
import { GenericSliderProps, GenericSliderState } from './interface';
import type { GenericSliderProps, GenericSliderState } from './interface';
export interface SliderProps extends GenericSliderProps {

@@ -4,0 +4,0 @@ value?: number;

{
"name": "rc-slider",
"version": "9.7.1",
"version": "9.7.2",
"description": "Slider UI component for React",

@@ -65,3 +65,3 @@ "engines": {

"cross-env": "^7.0.0",
"dumi": "^1.0.37",
"dumi": "^1.1.7",
"enzyme": "^3.1.0",

@@ -68,0 +68,0 @@ "enzyme-adapter-react-16": "^1.0.1",

@@ -60,3 +60,3 @@ # rc-slider

```jsx
```js
const Slider = require('rc-slider');

@@ -63,0 +63,0 @@ const createSliderWithTooltip = Slider.createSliderWithTooltip;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc