@aws-amplify/ui 3.0.6 → 3.0.7
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.js +10 -10
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +6 -2
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/dist/styles.css +44 -1
- package/dist/theme.css +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -249,6 +249,7 @@ declare const DefaultTexts: {
|
|
|
249
249
|
readonly FAMILY_NAME: string;
|
|
250
250
|
readonly GIVEN_NAME: string;
|
|
251
251
|
readonly FORGOT_YOUR_PASSWORD: string;
|
|
252
|
+
readonly FORGOT_YOUR_PASSWORD_LEGACY: string;
|
|
252
253
|
readonly HIDE_PASSWORD: string;
|
|
253
254
|
readonly LOADING: string;
|
|
254
255
|
readonly LOGIN_NAME: string;
|
|
@@ -302,6 +303,10 @@ declare type Dict = Record<string, string>;
|
|
|
302
303
|
* You can also use translate<string> to handle custom strings or dynamic content.
|
|
303
304
|
*/
|
|
304
305
|
declare function translate<T = Phrase>(phrase: NoInfer<T>): string;
|
|
306
|
+
/**
|
|
307
|
+
* Whether I18n has a translation entry for given phrase
|
|
308
|
+
*/
|
|
309
|
+
declare function hasTranslation(phrase: string): boolean;
|
|
305
310
|
declare const translations: Record<string, Dict>;
|
|
306
311
|
|
|
307
312
|
declare const defaultServices: {
|
|
@@ -703,7 +708,6 @@ interface Breakpoints {
|
|
|
703
708
|
xl: number;
|
|
704
709
|
xxl: number;
|
|
705
710
|
};
|
|
706
|
-
unit: string;
|
|
707
711
|
defaultBreakpoint: string;
|
|
708
712
|
}
|
|
709
713
|
|
|
@@ -825,4 +829,4 @@ declare function createTheme(theme?: Theme, baseTheme?: BaseTheme): WebTheme;
|
|
|
825
829
|
|
|
826
830
|
declare const defaultTheme: WebTheme;
|
|
827
831
|
|
|
828
|
-
export { ActorContextWithForms, AuthActorContext, AuthActorState, AuthChallengeNames, AuthContext, AuthEvent, AuthEventData, AuthEventTypes, AuthFieldsWithDefaults, AuthFormData, AuthInputAttributes, AuthInterpreter, AuthMachineState, AuthenticatorMachineOptions, BaseTheme, BorderWidthValue, CognitoUserAmplify, ColorModeOverride, ColorValue, ContactMethod, DefaultTexts, DesignToken, Dict, FederatedIdentityProviders, FontSizeValue, FontValue, FontWeightValue, InputAttributes, InvokeActorEventTypes, LineHeightValue, LoginMechanism, LoginMechanismArray, MediaQueryOverride, NoInfer, OpacityValue, OutlineOffsetValue, OutlineWidthValue, Override, Phrase, RadiusValue, ResetPasswordContext, ResetPasswordState, SelectorOverride, ServicesContext, ShadowValue, SignInContext, SignInResult, SignInState, SignInTypes, SignOutContext, SignOutState, SignUpAttribute, SignUpContext, SignUpFieldsWithDefaults, SignUpFieldsWithoutDefaults, SignUpState, SocialProvider, SpaceValue, Theme, TimeValue, TransformValue, ValidationError, Validator, ValidatorResult, WebDesignToken, WebTheme, authInputAttributes, censorAllButFirstAndLast, censorPhoneNumber, countryDialCodes, createAuthenticatorMachine, createTheme, defaultTheme, getActorContext, getActorState, getAliasInfoFromContext, getConfiguredAliases, getSendEventAliases, getServiceContextFacade, getServiceFacade, isDesignToken, signUpFieldsWithDefault, signUpFieldsWithoutDefault, translate, translations };
|
|
832
|
+
export { ActorContextWithForms, AuthActorContext, AuthActorState, AuthChallengeNames, AuthContext, AuthEvent, AuthEventData, AuthEventTypes, AuthFieldsWithDefaults, AuthFormData, AuthInputAttributes, AuthInterpreter, AuthMachineState, AuthenticatorMachineOptions, BaseTheme, BorderWidthValue, CognitoUserAmplify, ColorModeOverride, ColorValue, ContactMethod, DefaultTexts, DesignToken, Dict, FederatedIdentityProviders, FontSizeValue, FontValue, FontWeightValue, InputAttributes, InvokeActorEventTypes, LineHeightValue, LoginMechanism, LoginMechanismArray, MediaQueryOverride, NoInfer, OpacityValue, OutlineOffsetValue, OutlineWidthValue, Override, Phrase, RadiusValue, ResetPasswordContext, ResetPasswordState, SelectorOverride, ServicesContext, ShadowValue, SignInContext, SignInResult, SignInState, SignInTypes, SignOutContext, SignOutState, SignUpAttribute, SignUpContext, SignUpFieldsWithDefaults, SignUpFieldsWithoutDefaults, SignUpState, SocialProvider, SpaceValue, Theme, TimeValue, TransformValue, ValidationError, Validator, ValidatorResult, WebDesignToken, WebTheme, authInputAttributes, censorAllButFirstAndLast, censorPhoneNumber, countryDialCodes, createAuthenticatorMachine, createTheme, defaultTheme, getActorContext, getActorState, getAliasInfoFromContext, getConfiguredAliases, getSendEventAliases, getServiceContextFacade, getServiceFacade, hasTranslation, isDesignToken, signUpFieldsWithDefault, signUpFieldsWithoutDefault, translate, translations };
|