@codecademy/gamut

73.5.073.5.1-alpha.970048.0
dist/Form/inputs/Select.d.ts
~dist/Form/inputs/Select.d.tsModified
+14−2
Index: package/dist/Form/inputs/Select.d.ts
===================================================================
--- package/dist/Form/inputs/Select.d.ts
+++ package/dist/Form/inputs/Select.d.ts
@@ -5,14 +5,26 @@
 export type SelectOptions = string[] | Record<string, number | string>;
 export type SelectComponentProps = Pick<SelectHTMLAttributes<HTMLSelectElement>, 'disabled' | 'id'> & Pick<BaseInputProps, 'htmlFor' | 'error'> & {
     options?: SelectOptions;
 };
-export type SelectWrapperProps = SelectComponentProps & SelectHTMLAttributes<HTMLSelectElement> & {
+export type SelectWrapperProps = SelectComponentProps & Omit<SelectHTMLAttributes<HTMLSelectElement>, 'size'> & {
+    /** Controls the height/density of the select. */
+    size?: 'base' | 'small';
+    /**
+     * @deprecated Use `size` instead. Retained for backwards compatibility and
+     * will be removed in a future major version.
+     */
     sizeVariant?: 'small' | 'base';
 };
 export interface SelectProps extends SelectWrapperProps, StyleProps<typeof conditionalStyles> {
 }
 export declare const Select: import("react").ForwardRefExoticComponent<Pick<SelectHTMLAttributes<HTMLSelectElement>, "disabled" | "id"> & Pick<BaseInputProps, "error" | "htmlFor"> & {
     options?: SelectOptions;
-} & SelectHTMLAttributes<HTMLSelectElement> & {
+} & Omit<SelectHTMLAttributes<HTMLSelectElement>, "size"> & {
+    /** Controls the height/density of the select. */
+    size?: "base" | "small";
+    /**
+     * @deprecated Use `size` instead. Retained for backwards compatibility and
+     * will be removed in a future major version.
+     */
     sizeVariant?: "small" | "base";
 } & import("react").RefAttributes<HTMLSelectElement>>;