plainframe-ui 0.1.44 → 0.1.45
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.d.ts +2 -1
- package/dist/index.js +9 -9
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1040,6 +1040,7 @@ type SelectProps<T = unknown> = {
|
|
|
1040
1040
|
value?: T | T[];
|
|
1041
1041
|
defaultValue?: T | T[];
|
|
1042
1042
|
onChange?: (value: T | T[]) => void;
|
|
1043
|
+
onValueChange?: (value: T | T[]) => void;
|
|
1043
1044
|
label?: string;
|
|
1044
1045
|
placeholder?: string | React.ReactNode;
|
|
1045
1046
|
startIcon?: React.ReactNode;
|
|
@@ -1063,7 +1064,7 @@ type SelectProps<T = unknown> = {
|
|
|
1063
1064
|
menuSize?: "sm" | "md";
|
|
1064
1065
|
triggerRender?: (selected: React.ReactNode | React.ReactNode[] | undefined) => React.ReactNode;
|
|
1065
1066
|
};
|
|
1066
|
-
declare function Select<T = unknown>({ value, defaultValue, onChange, label, placeholder, startIcon, endIcon, disabled, size, variant, fullWidth, width, menuAlign, menuWidth, menuMaxHeight, wrapperCss, labelCss, triggerCss, menuCss, optionCss, children, className, menuSize, triggerRender, }: SelectProps<T>): JSX.Element;
|
|
1067
|
+
declare function Select<T = unknown>({ value, defaultValue, onChange, onValueChange, label, placeholder, startIcon, endIcon, disabled, size, variant, fullWidth, width, menuAlign, menuWidth, menuMaxHeight, wrapperCss, labelCss, triggerCss, menuCss, optionCss, children, className, menuSize, triggerRender, }: SelectProps<T>): JSX.Element;
|
|
1067
1068
|
|
|
1068
1069
|
/** @jsxImportSource @emotion/react */
|
|
1069
1070
|
|