setValue: (value: OnChangeValue<Option, IsMulti>) => void;
};
+/**
+ * @deprecated Use Select or SelectAsync from Echoes instead.
+ *
+ * Use the `highlight` prop value `SelectHighlight.Ghost` to make it "discreet"
+ */
export function DiscreetSelect<
Option,
IsMulti extends boolean = false,
Group extends GroupBase<Option> = GroupBase<Option>,
> = SelectProps<Option, IsMulti, Group> & AsyncProps<Option, IsMulti, Group>;
+/**
+ * @deprecated Use Select or SelectAsync from Echoes instead.
+ */
export function SearchSelect<
Option,
IsMulti extends boolean = false,
);
}
+/**
+ * @deprecated Use Select or SelectAsync from Echoes instead.
+ */
export function SearchSelectInput<
Option,
IsMulti extends boolean = false,
}
}
-export interface SearchSelectDropdownProps<
+interface SearchSelectDropdownProps<
V,
Option extends LabelValueSelectOption<V>,
IsMulti extends boolean = false,
zLevel?: PopupZLevel;
}
+/**
+ * @deprecated Use Select or SelectAsync from Echoes instead.
+ */
export function SearchSelectDropdown<
V,
Option extends LabelValueSelectOption<V>,
size?: InputSizeKeys;
}
+/**
+ * @deprecated Use Select or SelectAsync from Echoes instead.
+ */
export function SearchSelectDropdownControl(props: SearchSelectDropdownControlProps) {
const {
className,
);
}
-export const StyledControl = styled.div`
+const StyledControl = styled.div`
color: ${themeContrast('inputBackground')};
background: ${themeColor('inputBackground')};
border: ${themeBorder('default', 'inputBorder')};
selectStyle,
} from './SelectCommon';
+/**
+ * @deprecated Use Select or SelectAsync from Echoes instead.
+ */
export function InputSelect<
Option,
IsMulti extends boolean = false,