react-magma-dom 4.16.0-next.10 → 4.16.0-next.12

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.
@@ -77,14 +77,9 @@ export declare const HiddenLabelText: import("@emotion/styled").StyledComponent<
77
77
  theme?: import("@emotion/react").Theme;
78
78
  as?: React.ElementType<any>;
79
79
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
80
- export declare const HiddenInput: import("@emotion/styled").StyledComponent<{
81
- theme?: import("@emotion/react").Theme;
82
- as?: React.ElementType<any>;
83
- }, React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, {}>;
84
- export declare const StyledFakeInput: import("@emotion/styled").StyledComponent<{
85
- theme?: import("@emotion/react").Theme;
86
- as?: React.ElementType<any>;
87
- } & {
80
+ export declare const checkboxInputClassName = "magma-checkbox-input";
81
+ export declare const HiddenInput: React.FC<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>> | React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
82
+ interface FakeInputStyleProps {
88
83
  isChecked?: boolean;
89
84
  color: string;
90
85
  disabled?: boolean;
@@ -93,6 +88,13 @@ export declare const StyledFakeInput: import("@emotion/styled").StyledComponent<
93
88
  hasError?: boolean;
94
89
  hideFocus?: boolean;
95
90
  textPosition?: CheckboxTextPosition;
96
- theme?: ThemeInterface;
97
- }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
91
+ theme: ThemeInterface;
92
+ }
93
+ export interface StyledFakeInputProps extends FakeInputStyleProps {
94
+ children?: React.ReactNode;
95
+ style?: React.CSSProperties;
96
+ 'aria-hidden'?: React.AriaAttributes['aria-hidden'];
97
+ }
98
+ export declare const StyledFakeInput: React.FC<StyledFakeInputProps & React.RefAttributes<any>> | React.ForwardRefExoticComponent<StyledFakeInputProps & React.RefAttributes<any>>;
98
99
  export declare const Checkbox: React.MemoExoticComponent<React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>>;
100
+ export {};