@wizleap-inc/wiz-ui-react 2.25.0 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -16,19 +16,12 @@ type Props<T> = ComponentPropsWithoutRef<"div"> & {
|
|
|
16
16
|
isDirectionFixed?: boolean;
|
|
17
17
|
showExLabel?: boolean;
|
|
18
18
|
dropdownMaxHeight?: string;
|
|
19
|
-
/**
|
|
20
|
-
* 検索対象に含む類似度の閾値を,0から1の範囲で指定します。
|
|
21
|
-
* 類似度は標準化レーベンシュタイン距離に基づいて計算され,0に近いほど類似しています。
|
|
22
|
-
* ただし,類似度の最小値が閾値を上回る場合は部分一致で検索します。
|
|
23
|
-
* @default 0.75
|
|
24
|
-
*/
|
|
25
|
-
threshold?: number;
|
|
26
19
|
onChangeValues?: (values: T[]) => void;
|
|
27
20
|
onCreate?: (label: string) => void;
|
|
28
21
|
onInputSearchText?: (text: string) => void;
|
|
29
22
|
};
|
|
30
23
|
export declare const WizSearchSelector: {
|
|
31
|
-
<T>({ className, style, options, values, placeholder, width, disabled, expand, multiSelectable, addable, error, isDirectionFixed, showExLabel, dropdownMaxHeight,
|
|
24
|
+
<T>({ className, style, options, values, placeholder, width, disabled, expand, multiSelectable, addable, error, isDirectionFixed, showExLabel, dropdownMaxHeight, onChangeValues, onCreate, onInputSearchText, ...props }: Props<T>): import("react/jsx-runtime").JSX.Element;
|
|
32
25
|
displayName: "WizSearchSelector";
|
|
33
26
|
};
|
|
34
27
|
export {};
|