@banyan_cloud/roots 2.0.45 → 2.0.47
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.
|
@@ -36,6 +36,11 @@ export interface DropdownProps {
|
|
|
36
36
|
valueAsCount?: boolean;
|
|
37
37
|
/** Show caret as up/down variant */
|
|
38
38
|
caretAsUpDown?: boolean;
|
|
39
|
+
search?: {
|
|
40
|
+
placeholder: string;
|
|
41
|
+
value: string | number;
|
|
42
|
+
onChange: (value: string | number) => void;
|
|
43
|
+
};
|
|
39
44
|
}
|
|
40
45
|
/** What parent components can call on the ref */
|
|
41
46
|
export interface DropdownRef {
|
|
@@ -13,6 +13,7 @@ type RightComponentType = React.ComponentType<LeftRightIconProps>;
|
|
|
13
13
|
interface AutocompleteOptions {
|
|
14
14
|
/** Decide when to open based on the current input */
|
|
15
15
|
predicate?: (input: string) => boolean;
|
|
16
|
+
open?: (input: string) => boolean;
|
|
16
17
|
/** Popover placement (kept broad to avoid coupling to the popper types) */
|
|
17
18
|
placement?: Placement;
|
|
18
19
|
/** Popover middleware options (library-specific) */
|
|
@@ -3,4 +3,4 @@ export declare const getInitialsOfName: (name: string) => string;
|
|
|
3
3
|
export declare function classes(...args: (string | false | null | undefined)[]): string;
|
|
4
4
|
export declare const isEmptyHtmlString: (htmlString: string) => boolean;
|
|
5
5
|
export declare const getCSSVariableValue: (variable: `--${string}`) => string;
|
|
6
|
-
export declare const doubleDigitted: (number
|
|
6
|
+
export declare const doubleDigitted: (number?: number) => string;
|