plainframe-ui 0.1.75 → 0.1.76

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
@@ -1036,30 +1036,18 @@ declare const Rotate: React.FC<RotateProps>;
1036
1036
 
1037
1037
  type Align$1 = "left" | "center" | "right";
1038
1038
  type Variant$4 = "subtle" | "outlined" | "ghost";
1039
- /** DEAD SIMPLE OPTION */
1040
1039
  type SelectItemProps<T = unknown> = {
1041
1040
  value: T;
1042
- /** What should appear in the trigger when this is selected. */
1043
1041
  label?: React.ReactNode;
1044
- /**
1045
- * String label used for trigger title, multi join, etc.
1046
- * If omitted, we’ll try:
1047
- * - label if it's a string
1048
- * - firstText(children)
1049
- */
1050
1042
  textValue?: string;
1051
1043
  startIcon?: React.ReactNode;
1052
1044
  endIcon?: React.ReactNode;
1053
1045
  disabled?: boolean;
1054
- /** Style for the option row (MenuItem), not for trigger. */
1046
+ optionCss?: Interpolation<Theme>;
1055
1047
  css?: Interpolation<Theme>;
1056
1048
  className?: string;
1057
1049
  children?: React.ReactNode;
1058
1050
  };
1059
- /**
1060
- * Declarative option: Select reads these props and renders MenuItem internally.
1061
- * This component itself renders nothing.
1062
- */
1063
1051
  declare const SelectItem: {
1064
1052
  <T>(props: SelectItemProps<T>): JSX.Element | null;
1065
1053
  displayName: string;
@@ -1081,8 +1069,6 @@ type SelectProps<T = unknown> = {
1081
1069
  menuAlign?: Align$1;
1082
1070
  menuWidth?: number | string;
1083
1071
  menuMaxHeight?: number | string;
1084
- /** alias for wrapperCss (so <Select css={...} /> works) */
1085
- css?: Interpolation<Theme>;
1086
1072
  wrapperCss?: Interpolation<Theme>;
1087
1073
  labelCss?: Interpolation<Theme>;
1088
1074
  triggerCss?: Interpolation<Theme>;
@@ -1094,7 +1080,7 @@ type SelectProps<T = unknown> = {
1094
1080
  triggerRender?: (selected: string | string[] | undefined) => React.ReactNode;
1095
1081
  };
1096
1082
  declare const Select: {
1097
- <T>({ value, defaultValue, onChange, label, placeholder, startIcon, endIcon, multiple, disabled, size, variant, fullWidth, width, menuAlign, menuWidth, menuMaxHeight, css: rootCss, wrapperCss, labelCss, triggerCss, menuCss, optionCss, children, className, menuSize, triggerRender, }: SelectProps<T>): JSX.Element;
1083
+ <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;
1098
1084
  displayName: string;
1099
1085
  };
1100
1086