@aws-amplify/ui 6.10.1 → 6.10.2

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.
@@ -1,5 +1,5 @@
1
1
  import { I18n } from 'aws-amplify/utils';
2
- import { defaultTexts, deDict, enDict, esDict, frDict, idDict, itDict, jaDict, krDict, nbDict, nlDict, plDict, ptDict, zhDict, svDict, trDict, ruDict, heDict, uaDict, thDict } from './dictionaries/index.mjs';
2
+ import { defaultTexts, thDict, uaDict, heDict, ruDict, trDict, svDict, zhDict, ptDict, plDict, nlDict, nbDict, krDict, jaDict, itDict, idDict, frDict, esDict, enDict, deDict } from './dictionaries/index.mjs';
3
3
 
4
4
  /*
5
5
  * Copyright 2017-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
@@ -1,5 +1,5 @@
1
1
  import { createMachine, sendUpdate } from 'xstate';
2
- import { fetchUserAttributes, resetPassword, confirmSignIn, signInWithRedirect } from 'aws-amplify/auth';
2
+ import { signInWithRedirect, confirmSignIn, resetPassword, fetchUserAttributes } from 'aws-amplify/auth';
3
3
  import { runValidators } from '../../../validators/index.mjs';
4
4
  import ACTIONS from '../actions.mjs';
5
5
  import { defaultServices } from '../defaultServices.mjs';
@@ -1,5 +1,5 @@
1
1
  import { createMachine, sendUpdate } from 'xstate';
2
- import { autoSignIn, fetchUserAttributes, signInWithRedirect } from 'aws-amplify/auth';
2
+ import { signInWithRedirect, fetchUserAttributes, autoSignIn } from 'aws-amplify/auth';
3
3
  import { getSignUpInput } from '../utils.mjs';
4
4
  import { runValidators } from '../../../validators/index.mjs';
5
5
  import ACTIONS from '../actions.mjs';
@@ -1,5 +1,5 @@
1
1
  import { createMachine, sendUpdate } from 'xstate';
2
- import { sendUserAttributeVerificationCode, confirmUserAttribute } from 'aws-amplify/auth';
2
+ import { confirmUserAttribute, sendUserAttributeVerificationCode } from 'aws-amplify/auth';
3
3
  import { runValidators } from '../../../validators/index.mjs';
4
4
  import ACTIONS from '../actions.mjs';
5
5
  import { defaultServices } from '../defaultServices.mjs';
@@ -1,5 +1,5 @@
1
1
  import { Amplify } from 'aws-amplify';
2
- import { getCurrentUser, signIn, signUp, confirmSignIn, confirmSignUp, confirmResetPassword, resetPassword, resendSignUpCode } from 'aws-amplify/auth';
2
+ import { resendSignUpCode, resetPassword, confirmResetPassword, confirmSignUp, confirmSignIn, signUp, signIn, getCurrentUser } from 'aws-amplify/auth';
3
3
  import '@aws-amplify/core/internals/utils';
4
4
  import 'aws-amplify/utils';
5
5
  import '../../utils/setUserAgent/constants.mjs';
@@ -1,4 +1,4 @@
1
- import { createMachine, forwardTo, assign, spawn, actions } from 'xstate';
1
+ import { actions, createMachine, assign, spawn, forwardTo } from 'xstate';
2
2
  import '@aws-amplify/core/internals/utils';
3
3
  import '../../utils/setUserAgent/constants.mjs';
4
4
  import { isEmptyObject } from '../../utils/utils.mjs';
@@ -1,6 +1,4 @@
1
1
  const OPTIONS = {
2
- openingCharacter: '{',
3
- closingCharacter: '}',
4
2
  separator: '.',
5
3
  };
6
4
  const REFERENCE_REGEX = /\{([^}]+)\}/g;
@@ -1,5 +1,5 @@
1
1
  import { defaultTheme } from '../defaultTheme.mjs';
2
- import { deepExtend, setupTokens, setupToken, flattenProperties } from './utils.mjs';
2
+ import { deepExtend, setupTokens, flattenProperties, setupToken } from './utils.mjs';
3
3
  import { createComponentCSS } from './createComponentCSS.mjs';
4
4
  import '@aws-amplify/core/internals/utils';
5
5
  import '../../utils/setUserAgent/constants.mjs';
@@ -1,7 +1,7 @@
1
1
  import kebabCase from 'lodash/kebabCase.js';
2
2
  import '@aws-amplify/core/internals/utils';
3
3
  import '../../utils/setUserAgent/constants.mjs';
4
- import { isObject, has, isString } from '../../utils/utils.mjs';
4
+ import { has, isObject, isString } from '../../utils/utils.mjs';
5
5
  import { usesReference } from '../../utils/references.mjs';
6
6
 
7
7
  const CSS_VARIABLE_PREFIX = 'amplify';
@@ -1,4 +1,4 @@
1
- import { Category, AiAction, AuthAction, StorageAction, InAppMessagingAction, GeoAction } from '@aws-amplify/core/internals/utils';
1
+ import { AiAction, Category, AuthAction, StorageAction, InAppMessagingAction, GeoAction } from '@aws-amplify/core/internals/utils';
2
2
 
3
3
  const AI_INPUT_BASE = {
4
4
  category: Category.AI,
package/dist/index.js CHANGED
@@ -506,8 +506,6 @@ function humanFileSize(bytes, si = false, dp = 1) {
506
506
  }
507
507
 
508
508
  const OPTIONS = {
509
- openingCharacter: '{',
510
- closingCharacter: '}',
511
509
  separator: '.',
512
510
  };
513
511
  const REFERENCE_REGEX = /\{([^}]+)\}/g;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui",
3
- "version": "6.10.1",
3
+ "version": "6.10.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.mjs",
6
6
  "exports": {
@@ -50,7 +50,7 @@
50
50
  },
51
51
  "peerDependencies": {
52
52
  "@aws-amplify/core": "*",
53
- "aws-amplify": "^6.9.0",
53
+ "aws-amplify": "^6.14.3",
54
54
  "xstate": "^4.33.6"
55
55
  },
56
56
  "peerDependenciesMeta": {