rc-tree-select
Advanced tools
Comparing version 5.10.0 to 5.11.0
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" |
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
161936
+ Addedrc-select@14.7.4(transitive)
- Removedrc-select@14.6.0(transitive)
Updatedrc-select@~14.7.0