@qodo/design-system 0.20.9 → 0.20.11
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 +13 -13
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +3 -2
- package/dist/index.esm.js +1880 -1872
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -139,11 +139,12 @@ declare type BaseSelectProps = {
|
|
|
139
139
|
mode?: (typeof SELECT_MODE)[keyof typeof SELECT_MODE];
|
|
140
140
|
variant?: (typeof SELECT_VARIANT)[keyof typeof SELECT_VARIANT];
|
|
141
141
|
iconPosition?: "left" | "right";
|
|
142
|
-
selectionIndicator?: "checkmark" | "checkbox";
|
|
142
|
+
selectionIndicator?: "checkmark" | "checkbox" | "none";
|
|
143
143
|
onSearchChange?: (search: string) => void;
|
|
144
144
|
renderValue?: (args: {
|
|
145
145
|
displayValues: string[];
|
|
146
146
|
}) => ReactNode;
|
|
147
|
+
size?: "xs" | "default";
|
|
147
148
|
} & Omit<default_3.HTMLAttributes<HTMLDivElement>, "onSelect">;
|
|
148
149
|
|
|
149
150
|
export declare const borderRadius: {
|
|
@@ -694,7 +695,7 @@ declare const SearchSize: {
|
|
|
694
695
|
LARGE: string;
|
|
695
696
|
};
|
|
696
697
|
|
|
697
|
-
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, renderValue, ...rest }: SelectProps): JSX_2.Element;
|
|
698
|
+
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, renderValue, size, ...rest }: SelectProps): JSX_2.Element;
|
|
698
699
|
|
|
699
700
|
declare const SELECT_MODE: {
|
|
700
701
|
SINGLE: string;
|