@aws-amplify/ui-react 2.2.2 → 2.3.0
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/esm/index.css.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/styles.css.map +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ declare type RouterProps = {
|
|
|
45
45
|
user: CognitoUserAmplify;
|
|
46
46
|
}) => JSX.Element;
|
|
47
47
|
variation?: 'default' | 'modal';
|
|
48
|
+
hideSignUp?: boolean;
|
|
48
49
|
};
|
|
49
50
|
|
|
50
51
|
/**
|
|
@@ -137,7 +138,7 @@ interface ComponentsProviderProps {
|
|
|
137
138
|
}
|
|
138
139
|
|
|
139
140
|
declare type AuthenticatorProps = AuthenticatorMachineOptions & RouterProps & ComponentsProviderProps;
|
|
140
|
-
declare function Authenticator({ children, className, components: customComponents, initialState, loginMechanisms, services, signUpAttributes, socialProviders, variation, }: AuthenticatorProps): JSX.Element;
|
|
141
|
+
declare function Authenticator({ children, className, components: customComponents, initialState, loginMechanisms, services, signUpAttributes, socialProviders, variation, hideSignUp, }: AuthenticatorProps): JSX.Element;
|
|
141
142
|
declare namespace Authenticator {
|
|
142
143
|
var Provider: ({ children }: {
|
|
143
144
|
children: any;
|
|
@@ -904,7 +905,7 @@ interface IconProps extends ViewProps {
|
|
|
904
905
|
* This defines the shape of the <path> SVG element(the 'd' attribute).
|
|
905
906
|
* @link https://developer.mozilla.org/en-US/docs/Web/SVG/Element/path
|
|
906
907
|
*/
|
|
907
|
-
pathData
|
|
908
|
+
pathData?: string;
|
|
908
909
|
/**
|
|
909
910
|
* This is used to define a string that labels the current element.
|
|
910
911
|
* @link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_aria-label_attribute
|
|
@@ -921,6 +922,11 @@ interface IconProps extends ViewProps {
|
|
|
921
922
|
* @link https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/fill
|
|
922
923
|
*/
|
|
923
924
|
fill?: Property.Color;
|
|
925
|
+
/**
|
|
926
|
+
* You can pass SVG elements like <path> directly as children for more
|
|
927
|
+
* flexibility and to allow for multiple paths.
|
|
928
|
+
*/
|
|
929
|
+
children?: React$1.ReactNode;
|
|
924
930
|
}
|
|
925
931
|
|
|
926
932
|
interface LabelProps extends ViewProps {
|