@aws-amplify/ui-react 2.15.7 → 2.15.8

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/styles.css CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  /**
6
6
  * Do not edit directly
7
- * Generated on Thu, 28 Apr 2022 21:06:32 GMT
7
+ * Generated on Fri, 29 Apr 2022 20:57:02 GMT
8
8
  */
9
9
 
10
10
  :root, [data-amplify-theme] {
@@ -36,12 +36,9 @@ export declare type InternalAuthenticatorContext = {
36
36
  export declare type Selector = (context: AuthenticatorContext) => Array<any>;
37
37
  export declare const useAuthenticator: (selector?: Selector) => {
38
38
  /** @deprecated For internal use only */
39
- _state: AuthMachineState;
39
+ _state: import("xstate").State<import("@aws-amplify/ui").AuthContext, import("@aws-amplify/ui").AuthEvent, any, any, any>;
40
40
  /** @deprecated For internal use only */
41
- _send: (event: import("xstate").SCXML.Event<import("@aws-amplify/ui").AuthEvent> | import("xstate").SingleOrArray<import("xstate").Event<import("@aws-amplify/ui").AuthEvent>>, payload?: import("xstate").EventData) => import("xstate").State<import("@aws-amplify/ui").AuthContext, import("@aws-amplify/ui").AuthEvent, any, {
42
- value: any;
43
- context: import("@aws-amplify/ui").AuthContext;
44
- }, import("xstate").TypegenDisabled>;
41
+ _send: (event: import("xstate").SCXML.Event<import("@aws-amplify/ui").AuthEvent> | import("xstate").SingleOrArray<import("xstate").Event<import("@aws-amplify/ui").AuthEvent>>, payload?: import("xstate").EventData) => import("xstate").State<import("@aws-amplify/ui").AuthContext, import("@aws-amplify/ui").AuthEvent, any, any, any>;
45
42
  error: string;
46
43
  hasValidationErrors: boolean;
47
44
  isPending: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui-react",
3
- "version": "2.15.7",
3
+ "version": "2.15.8",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "exports": {
@@ -57,13 +57,13 @@
57
57
  "test:unit:watch": "jest --watch"
58
58
  },
59
59
  "dependencies": {
60
- "@aws-amplify/ui": "3.6.7",
60
+ "@aws-amplify/ui": "3.6.8",
61
61
  "@aws-amplify/ui-react-v1": "npm:@aws-amplify/ui-react@1.2.9",
62
62
  "@radix-ui/react-accordion": "0.1.6",
63
63
  "@radix-ui/react-dropdown-menu": "0.1.6",
64
64
  "@radix-ui/react-slider": "0.1.4",
65
65
  "@radix-ui/react-tabs": "0.1.5",
66
- "@xstate/react": "1.6.3",
66
+ "@xstate/react": "3.0.0",
67
67
  "classnames": "2.3.1",
68
68
  "deepmerge": "4.2.2",
69
69
  "lodash": "4.17.21",