@aws-amplify/ui 3.8.3 → 3.9.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.
@@ -15,6 +15,7 @@ interface ToggleButtonDisabledTokens {
15
15
  color: DesignToken<ColorValue>;
16
16
  }
17
17
  interface ToggleButtonPressedTokens {
18
+ borderColor: DesignToken<BorderColorValue>;
18
19
  color: DesignToken<ColorValue>;
19
20
  backgroundColor: DesignToken<BackgroundColorValue>;
20
21
  _hover: ToggleButtonPressedHoverTokens;
@@ -41,6 +42,7 @@ interface ToggleButtonPrimaryHoverTokens {
41
42
  color: DesignToken<ColorValue>;
42
43
  }
43
44
  interface ToggleButtonPrimaryDisabledTokens {
45
+ borderColor: DesignToken<BorderColorValue>;
44
46
  backgroundColor: DesignToken<BackgroundColorValue>;
45
47
  color: DesignToken<ColorValue>;
46
48
  }
@@ -57,12 +59,16 @@ interface ToggleButtonPrimaryPressedTokens {
57
59
  interface TogglButtonPrimaryPressedFocusTokens {
58
60
  backgroundColor: DesignToken<BackgroundColorValue>;
59
61
  borderColor: DesignToken<BorderColorValue>;
62
+ color: DesignToken<ColorValue>;
60
63
  }
61
64
  interface TogglButtonPrimaryPressedHoverTokens {
62
65
  backgroundColor: DesignToken<BackgroundColorValue>;
63
66
  borderColor: DesignToken<BorderColorValue>;
67
+ boxShadow: DesignToken<BoxShadowValue>;
68
+ color: DesignToken<ColorValue>;
64
69
  }
65
70
  interface ToggleButtonLinkTokens {
71
+ backgroundColor: DesignToken<BackgroundColorValue>;
66
72
  color: DesignToken<ColorValue>;
67
73
  _hover: ToggleButtonLinkHoverTokens;
68
74
  _focus: ToggleButtonLinkFocusTokens;
@@ -78,14 +84,21 @@ interface ToggleButtonLinkFocusTokens {
78
84
  color: DesignToken<ColorValue>;
79
85
  }
80
86
  interface ToggleButtonLinkDisabledTokens {
87
+ backgroundColor: DesignToken<BackgroundColorValue>;
81
88
  color: DesignToken<ColorValue>;
82
89
  }
83
90
  interface ToggleButtonLinkPressedTokens {
84
91
  backgroundColor: DesignToken<BackgroundColorValue>;
85
92
  color: DesignToken<ColorValue>;
93
+ _focus: ToggleButtonLinkPressedFocusTokens;
86
94
  _hover: ToggleButtonLinkPressedHoverTokens;
87
95
  }
96
+ interface ToggleButtonLinkPressedFocusTokens {
97
+ color: DesignToken<ColorValue>;
98
+ backgroundColor: DesignToken<BackgroundColorValue>;
99
+ }
88
100
  interface ToggleButtonLinkPressedHoverTokens {
101
+ color: DesignToken<ColorValue>;
89
102
  backgroundColor: DesignToken<BackgroundColorValue>;
90
103
  }
91
104
  export interface ToggleButtonTokens {
@@ -5,6 +5,7 @@
5
5
  import { Interpreter } from 'xstate';
6
6
  import { AuthContext } from './context';
7
7
  import { AuthEvent } from './event';
8
+ import { HubCapsule } from '@aws-amplify/core';
8
9
  /**
9
10
  * Intefrace for `authMachine` machine interpreter
10
11
  *
@@ -15,3 +16,4 @@ export declare type AuthInterpreter = Interpreter<AuthContext, any, AuthEvent, a
15
16
  * Function type for `send` in `authMachine`
16
17
  */
17
18
  export declare type AuthMachineSend = AuthInterpreter['send'];
19
+ export declare type HubHandler = (data: HubCapsule, service: AuthInterpreter) => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-amplify/ui",
3
- "version": "3.8.3",
3
+ "version": "3.9.2",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "exports": {