@codecademy/gamut
68.2.168.2.2-alpha.8940e8.0
dist/Form/inputs/Input.d.ts~
dist/Form/inputs/Input.d.tsModified+4−8
Index: package/dist/Form/inputs/Input.d.ts
===================================================================
--- package/dist/Form/inputs/Input.d.ts
+++ package/dist/Form/inputs/Input.d.ts
@@ -30,15 +30,11 @@
size?: 'base' | 'small';
}
/** We greatly prefer NOT to do this but ReactRecurly has some specific needs around focus-styles + padding that force us to export them seperately. If we ever stop using React-Recurly, this code will be 🔪.
*tldr: Do not do this unless you have already talked to Web-Plat and have failed to find any alternate (and better) solutions. */
-export declare const reactRecurlyFormFieldFocusStyles: (props: {
- theme?: import("@emotion/react").Theme | undefined;
-}) => import("@codecademy/variance").CSSObject;
-export declare const reactRecurlyFormFieldPaddingStyles: (props: {
- theme?: import("@emotion/react").Theme | undefined;
-}) => import("@codecademy/variance").CSSObject;
+export declare const reactRecurlyFormFieldFocusStyles: (props: import("@codecademy/variance").ThemeProps) => import("@codecademy/variance").CSSObject;
+export declare const reactRecurlyFormFieldPaddingStyles: (props: import("@codecademy/variance").ThemeProps) => import("@codecademy/variance").CSSObject;
export declare const iFrameWrapper: StyledComponent<{
- theme?: import("@emotion/react").Theme | undefined;
- as?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
+ theme?: import("@emotion/react").Theme;
+ as?: React.ElementType;
} & conditionalStyleProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
export declare const Input: React.ForwardRefExoticComponent<InputWrapperProps & React.RefAttributes<HTMLInputElement>>;