Socket
Socket
Sign inDemoInstall

rc-tree-select

Package Overview
Dependencies
Maintainers
7
Versions
259
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-tree-select - npm Package Compare versions

Comparing version 5.10.0 to 5.11.0

8

es/interface.d.ts
import type * as React from 'react';
export declare type SelectSource = 'option' | 'selection' | 'input' | 'clear';
export declare type Key = string | number;
export declare type RawValueType = string | number;
export type SelectSource = 'option' | 'selection' | 'input' | 'clear';
export type Key = string | number;
export type RawValueType = string | number;
export interface LabelValueType {

@@ -12,3 +12,3 @@ key?: Key;

}
export declare type DefaultValueType = RawValueType | RawValueType[] | LabelValueType | LabelValueType[];
export type DefaultValueType = RawValueType | RawValueType[] | LabelValueType | LabelValueType[];
export interface DataNode {

@@ -15,0 +15,0 @@ value?: RawValueType;

import * as React from 'react';
import type { RefOptionListProps } from 'rc-select/lib/OptionList';
import type { ScrollTo } from 'rc-tree/lib/interface';
declare type ReviseRefOptionListProps = Omit<RefOptionListProps, 'scrollTo'> & {
type ReviseRefOptionListProps = Omit<RefOptionListProps, 'scrollTo'> & {
scrollTo: ScrollTo;

@@ -6,0 +6,0 @@ };

@@ -8,6 +8,6 @@ import * as React from 'react';

import type { CheckedStrategy } from './utils/strategyUtil';
export declare type OnInternalSelect = (value: RawValueType, info: {
export type OnInternalSelect = (value: RawValueType, info: {
selected: boolean;
}) => void;
export declare type RawValueType = string | number;
export type RawValueType = string | number;
export interface LabeledValueType {

@@ -20,4 +20,4 @@ key?: React.Key;

}
export declare type SelectSource = 'option' | 'selection' | 'input' | 'clear';
export declare type DraftValueType = RawValueType | LabeledValueType | (RawValueType | LabeledValueType)[];
export type SelectSource = 'option' | 'selection' | 'input' | 'clear';
export type DraftValueType = RawValueType | LabeledValueType | (RawValueType | LabeledValueType)[];
/** @deprecated This is only used for legacy compatible. Not works on new code. */

@@ -24,0 +24,0 @@ export interface LegacyCheckedNode {

@@ -8,3 +8,3 @@ import type * as React from 'react';

export declare const SHOW_CHILD = "SHOW_CHILD";
export declare type CheckedStrategy = typeof SHOW_ALL | typeof SHOW_PARENT | typeof SHOW_CHILD;
export type CheckedStrategy = typeof SHOW_ALL | typeof SHOW_PARENT | typeof SHOW_CHILD;
export declare function formatStrategyValues(values: React.Key[], strategy: CheckedStrategy, keyEntities: Record<Key, DataEntity>, fieldNames: InternalFieldName): RawValueType[];
import type * as React from 'react';
export declare type SelectSource = 'option' | 'selection' | 'input' | 'clear';
export declare type Key = string | number;
export declare type RawValueType = string | number;
export type SelectSource = 'option' | 'selection' | 'input' | 'clear';
export type Key = string | number;
export type RawValueType = string | number;
export interface LabelValueType {

@@ -12,3 +12,3 @@ key?: Key;

}
export declare type DefaultValueType = RawValueType | RawValueType[] | LabelValueType | LabelValueType[];
export type DefaultValueType = RawValueType | RawValueType[] | LabelValueType | LabelValueType[];
export interface DataNode {

@@ -15,0 +15,0 @@ value?: RawValueType;

import * as React from 'react';
import type { RefOptionListProps } from 'rc-select/lib/OptionList';
import type { ScrollTo } from 'rc-tree/lib/interface';
declare type ReviseRefOptionListProps = Omit<RefOptionListProps, 'scrollTo'> & {
type ReviseRefOptionListProps = Omit<RefOptionListProps, 'scrollTo'> & {
scrollTo: ScrollTo;

@@ -6,0 +6,0 @@ };

@@ -8,6 +8,6 @@ import * as React from 'react';

import type { CheckedStrategy } from './utils/strategyUtil';
export declare type OnInternalSelect = (value: RawValueType, info: {
export type OnInternalSelect = (value: RawValueType, info: {
selected: boolean;
}) => void;
export declare type RawValueType = string | number;
export type RawValueType = string | number;
export interface LabeledValueType {

@@ -20,4 +20,4 @@ key?: React.Key;

}
export declare type SelectSource = 'option' | 'selection' | 'input' | 'clear';
export declare type DraftValueType = RawValueType | LabeledValueType | (RawValueType | LabeledValueType)[];
export type SelectSource = 'option' | 'selection' | 'input' | 'clear';
export type DraftValueType = RawValueType | LabeledValueType | (RawValueType | LabeledValueType)[];
/** @deprecated This is only used for legacy compatible. Not works on new code. */

@@ -24,0 +24,0 @@ export interface LegacyCheckedNode {

@@ -8,3 +8,3 @@ import type * as React from 'react';

export declare const SHOW_CHILD = "SHOW_CHILD";
export declare type CheckedStrategy = typeof SHOW_ALL | typeof SHOW_PARENT | typeof SHOW_CHILD;
export type CheckedStrategy = typeof SHOW_ALL | typeof SHOW_PARENT | typeof SHOW_CHILD;
export declare function formatStrategyValues(values: React.Key[], strategy: CheckedStrategy, keyEntities: Record<Key, DataEntity>, fieldNames: InternalFieldName): RawValueType[];
{
"name": "rc-tree-select",
"version": "5.10.0",
"version": "5.11.0",
"description": "tree-select ui component for react",

@@ -75,3 +75,3 @@ "keywords": [

"classnames": "2.x",
"rc-select": "~14.6.0",
"rc-select": "~14.7.0",
"rc-tree": "~5.7.0",

@@ -78,0 +78,0 @@ "rc-util": "^5.16.1"

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