@qodo/design-system 0.20.2 → 0.20.5
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.
- package/dist/index.cjs.js +12 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +1332 -1326
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -137,6 +137,7 @@ declare type BaseSelectProps = {
|
|
|
137
137
|
variant?: (typeof SELECT_VARIANT)[keyof typeof SELECT_VARIANT];
|
|
138
138
|
iconPosition?: "left" | "right";
|
|
139
139
|
selectionIndicator?: "checkmark" | "checkbox";
|
|
140
|
+
onSearchChange?: (search: string) => void;
|
|
140
141
|
} & Omit<default_2.HTMLAttributes<HTMLDivElement>, "onSelect">;
|
|
141
142
|
|
|
142
143
|
export declare const borderRadius: {
|
|
@@ -649,7 +650,7 @@ declare const SearchSize: {
|
|
|
649
650
|
LARGE: string;
|
|
650
651
|
};
|
|
651
652
|
|
|
652
|
-
export declare function Select({ value, options, onSelect: propsOnSelect, disabled, readOnly, mode, placeholder, inputPlaceholder, emptyState, triggerClassName, triggerWrapperClassName, badgeClassName, badgeVariant, searchable, toggleIcon, dir, variant, iconPosition, selectionIndicator, ...rest }: SelectProps): JSX_2.Element;
|
|
653
|
+
export declare function Select({ value, options, onSelect: propsOnSelect, disabled, readOnly, mode, placeholder, inputPlaceholder, emptyState, triggerClassName, triggerWrapperClassName, badgeClassName, badgeVariant, searchable, toggleIcon, dir, variant, iconPosition, selectionIndicator, onSearchChange, ...rest }: SelectProps): JSX_2.Element;
|
|
653
654
|
|
|
654
655
|
declare const SELECT_MODE: {
|
|
655
656
|
SINGLE: string;
|