plainframe-ui 0.1.76 → 0.1.77

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 CHANGED
@@ -1038,15 +1038,12 @@ type Align$1 = "left" | "center" | "right";
1038
1038
  type Variant$4 = "subtle" | "outlined" | "ghost";
1039
1039
  type SelectItemProps<T = unknown> = {
1040
1040
  value: T;
1041
- label?: React.ReactNode;
1042
- textValue?: string;
1041
+ label?: string;
1043
1042
  startIcon?: React.ReactNode;
1044
1043
  endIcon?: React.ReactNode;
1045
- disabled?: boolean;
1046
- optionCss?: Interpolation<Theme>;
1044
+ children?: React.ReactNode;
1047
1045
  css?: Interpolation<Theme>;
1048
1046
  className?: string;
1049
- children?: React.ReactNode;
1050
1047
  };
1051
1048
  declare const SelectItem: {
1052
1049
  <T>(props: SelectItemProps<T>): JSX.Element | null;
@@ -1077,7 +1074,7 @@ type SelectProps<T = unknown> = {
1077
1074
  children: React.ReactNode;
1078
1075
  className?: string;
1079
1076
  menuSize?: "sm" | "md";
1080
- triggerRender?: (selected: string | string[] | undefined) => React.ReactNode;
1077
+ triggerRender?: (selected: React.ReactNode | React.ReactNode[] | undefined) => React.ReactNode;
1081
1078
  };
1082
1079
  declare const Select: {
1083
1080
  <T>({ value, defaultValue, onChange, label, placeholder, startIcon, endIcon, multiple, disabled, size, variant, fullWidth, width, menuAlign, menuWidth, menuMaxHeight, wrapperCss, labelCss, triggerCss, menuCss, optionCss, children, className, menuSize, triggerRender, }: SelectProps<T>): JSX.Element;