@authing/react-ui-components 3.0.1-beta.1 → 3.0.1-beta.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.
Files changed (88) hide show
  1. package/dist/index.min.js +1 -1
  2. package/es/AuthingGuard/AppMFALayout/index.js +1 -1
  3. package/es/AuthingGuard/Forms/ADLoginForm/index.js +1 -1
  4. package/es/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.d.ts +1 -1
  5. package/es/AuthingGuard/Forms/EmailRegisterForm/index.d.ts +1 -1
  6. package/es/AuthingGuard/Forms/EmailRegisterForm/index.js +2 -2
  7. package/es/AuthingGuard/Forms/LdapLoginForm/index.d.ts +1 -1
  8. package/es/AuthingGuard/Forms/LdapLoginForm/index.js +3 -3
  9. package/es/AuthingGuard/Forms/LoginFormFooter/index.js +1 -1
  10. package/es/AuthingGuard/Forms/MfaResetCodeForm/index.d.ts +1 -1
  11. package/es/AuthingGuard/Forms/MfaVerifyForm/index.d.ts +1 -1
  12. package/es/AuthingGuard/Forms/PasswordLoginForm/index.d.ts +1 -1
  13. package/es/AuthingGuard/Forms/PasswordLoginForm/index.js +3 -3
  14. package/es/AuthingGuard/Forms/PhoneCodeLoginForm/index.d.ts +1 -1
  15. package/es/AuthingGuard/Forms/PhoneCodeLoginForm/index.js +3 -3
  16. package/es/AuthingGuard/Forms/PhoneRegisterForm/index.d.ts +1 -1
  17. package/es/AuthingGuard/Forms/PhoneRegisterForm/index.js +3 -3
  18. package/es/AuthingGuard/Forms/QrCodeLoginForm/index.d.ts +1 -1
  19. package/es/AuthingGuard/Forms/QrCodeLoginForm/index.js +1 -1
  20. package/es/AuthingGuard/Forms/RegisterFormFooter/index.js +1 -1
  21. package/es/AuthingGuard/Forms/ResetPwdForm/Footer.js +1 -1
  22. package/es/AuthingGuard/Forms/ResetPwdForm/Step1.d.ts +1 -1
  23. package/es/AuthingGuard/Forms/ResetPwdForm/Step1.js +1 -1
  24. package/es/AuthingGuard/Forms/ResetPwdForm/Step2.d.ts +1 -1
  25. package/es/AuthingGuard/Forms/ResetPwdForm/Step2.js +1 -1
  26. package/es/AuthingGuard/Forms/ResetPwdForm/Step3.d.ts +1 -1
  27. package/es/AuthingGuard/Forms/ResetPwdForm/Step4.js +1 -1
  28. package/es/AuthingGuard/Forms/ResetPwdForm/index.d.ts +1 -1
  29. package/es/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.d.ts +1 -1
  30. package/es/AuthingGuard/Forms/SocialAndIdpLogin/index.d.ts +1 -1
  31. package/es/AuthingGuard/Forms/SocialAndIdpLogin/index.js +2 -2
  32. package/es/AuthingGuard/GuardLayout/index.d.ts +1 -1
  33. package/es/AuthingGuard/GuardLayout/index.js +8 -8
  34. package/es/AuthingGuard/LoginLayout/index.js +3 -3
  35. package/es/AuthingGuard/MfaLayout/index.js +1 -1
  36. package/es/AuthingGuard/RegisterLayout/index.js +3 -3
  37. package/es/AuthingGuard/ResetPwdLayout/index.js +1 -1
  38. package/es/AuthingGuard/api/appConfig.d.ts +1 -1
  39. package/es/AuthingGuard/constants.d.ts +1 -1
  40. package/es/AuthingGuard/constants.js +1 -1
  41. package/es/AuthingGuard/types/GuardConfig.d.ts +1 -1
  42. package/es/version/version.d.ts +1 -1
  43. package/es/version/version.js +1 -1
  44. package/lib/AuthingGuard/AppMFALayout/index.js +1 -1
  45. package/lib/AuthingGuard/Forms/ADLoginForm/index.js +1 -1
  46. package/lib/AuthingGuard/Forms/EmailMfaVerifyForm/VerifyCodeForm.d.ts +1 -1
  47. package/lib/AuthingGuard/Forms/EmailRegisterForm/index.d.ts +1 -1
  48. package/lib/AuthingGuard/Forms/EmailRegisterForm/index.js +2 -2
  49. package/lib/AuthingGuard/Forms/LdapLoginForm/index.d.ts +1 -1
  50. package/lib/AuthingGuard/Forms/LdapLoginForm/index.js +3 -3
  51. package/lib/AuthingGuard/Forms/LoginFormFooter/index.js +1 -1
  52. package/lib/AuthingGuard/Forms/MfaResetCodeForm/index.d.ts +1 -1
  53. package/lib/AuthingGuard/Forms/MfaVerifyForm/index.d.ts +1 -1
  54. package/lib/AuthingGuard/Forms/PasswordLoginForm/index.d.ts +1 -1
  55. package/lib/AuthingGuard/Forms/PasswordLoginForm/index.js +3 -3
  56. package/lib/AuthingGuard/Forms/PhoneCodeLoginForm/index.d.ts +1 -1
  57. package/lib/AuthingGuard/Forms/PhoneCodeLoginForm/index.js +3 -3
  58. package/lib/AuthingGuard/Forms/PhoneRegisterForm/index.d.ts +1 -1
  59. package/lib/AuthingGuard/Forms/PhoneRegisterForm/index.js +3 -3
  60. package/lib/AuthingGuard/Forms/QrCodeLoginForm/index.d.ts +1 -1
  61. package/lib/AuthingGuard/Forms/QrCodeLoginForm/index.js +1 -1
  62. package/lib/AuthingGuard/Forms/RegisterFormFooter/index.js +1 -1
  63. package/lib/AuthingGuard/Forms/ResetPwdForm/Footer.js +1 -1
  64. package/lib/AuthingGuard/Forms/ResetPwdForm/Step1.d.ts +1 -1
  65. package/lib/AuthingGuard/Forms/ResetPwdForm/Step1.js +1 -1
  66. package/lib/AuthingGuard/Forms/ResetPwdForm/Step2.d.ts +1 -1
  67. package/lib/AuthingGuard/Forms/ResetPwdForm/Step2.js +1 -1
  68. package/lib/AuthingGuard/Forms/ResetPwdForm/Step3.d.ts +1 -1
  69. package/lib/AuthingGuard/Forms/ResetPwdForm/Step4.js +1 -1
  70. package/lib/AuthingGuard/Forms/ResetPwdForm/index.d.ts +1 -1
  71. package/lib/AuthingGuard/Forms/SmsMfaVerifyForm/VerifyCodeForm.d.ts +1 -1
  72. package/lib/AuthingGuard/Forms/SocialAndIdpLogin/index.d.ts +1 -1
  73. package/lib/AuthingGuard/Forms/SocialAndIdpLogin/index.js +2 -2
  74. package/lib/AuthingGuard/GuardLayout/index.d.ts +1 -1
  75. package/lib/AuthingGuard/GuardLayout/index.js +8 -8
  76. package/lib/AuthingGuard/LoginLayout/index.js +3 -3
  77. package/lib/AuthingGuard/MfaLayout/index.js +1 -1
  78. package/lib/AuthingGuard/RegisterLayout/index.js +3 -3
  79. package/lib/AuthingGuard/ResetPwdLayout/index.js +1 -1
  80. package/lib/AuthingGuard/api/appConfig.d.ts +1 -1
  81. package/lib/AuthingGuard/constants.d.ts +1 -1
  82. package/lib/AuthingGuard/constants.js +1 -1
  83. package/lib/AuthingGuard/types/GuardConfig.d.ts +1 -1
  84. package/lib/index.css +188 -188
  85. package/lib/index.min.css +1 -1
  86. package/lib/version/version.d.ts +1 -1
  87. package/lib/version/version.js +1 -1
  88. package/package.json +6 -7
@@ -13,7 +13,7 @@ var _react = _interopRequireDefault(require("react"));
13
13
 
14
14
  var _context = require("../../../context/global/context");
15
15
 
16
- var _types = require("../../../../components/AuthingGuard/types");
16
+ var _types = require("../../types");
17
17
 
18
18
  var _reactI18next = require("react-i18next");
19
19
 
@@ -13,7 +13,7 @@ var _antd = require("antd");
13
13
 
14
14
  var _context = require("../../../context/global/context");
15
15
 
16
- var _types = require("../../../../components/AuthingGuard/types");
16
+ var _types = require("../../types");
17
17
 
18
18
  var _reactI18next = require("react-i18next");
19
19
 
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { ResetPasswordStep1Props } from '../../../../components/AuthingGuard/types';
2
+ import { ResetPasswordStep1Props } from '../../types';
3
3
  export declare const ResetPasswordStep1: FC<ResetPasswordStep1Props>;
@@ -21,7 +21,7 @@ var _antd = require("antd");
21
21
 
22
22
  var _utils = require("../../../_utils");
23
23
 
24
- var _types = require("../../../../components/AuthingGuard/types");
24
+ var _types = require("../../types");
25
25
 
26
26
  var _context2 = require("../../../context/global/context");
27
27
 
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { ResetPasswordStep2Props } from '../../../../components/AuthingGuard/types';
2
+ import { ResetPasswordStep2Props } from '../../types';
3
3
  export declare const ResetPasswordStep2: FC<ResetPasswordStep2Props>;
@@ -25,7 +25,7 @@ var _utils = require("../../../_utils");
25
25
 
26
26
  var _context3 = require("../../../context/global/context");
27
27
 
28
- var _SendPhoneCode = require("../../../../components/AuthingGuard/Forms/SendPhoneCode");
28
+ var _SendPhoneCode = require("../SendPhoneCode");
29
29
 
30
30
  var _reactI18next = require("react-i18next");
31
31
 
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { ResetPasswordStep3Props } from '../../../../components/AuthingGuard/types';
2
+ import { ResetPasswordStep3Props } from '../../types';
3
3
  export declare const ResetPasswordStep3: FC<ResetPasswordStep3Props>;
@@ -15,7 +15,7 @@ var _context = require("../../../context/global/context");
15
15
 
16
16
  var _react = _interopRequireWildcard(require("react"));
17
17
 
18
- var _types = require("../../../../components/AuthingGuard/types");
18
+ var _types = require("../../types");
19
19
 
20
20
  var _reactI18next = require("react-i18next");
21
21
 
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { ResetPasswordFormProps } from '../../../../components/AuthingGuard/types';
2
+ import { ResetPasswordFormProps } from '../../types';
3
3
  export declare const ResetPasswordForm: FC<ResetPasswordFormProps>;
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { SmsMFAVerifyFormProps } from '../../../../components/AuthingGuard/types';
2
+ import { SmsMFAVerifyFormProps } from '../../types';
3
3
  export declare const VerifyCodeForm: FC<SmsMFAVerifyFormProps>;
@@ -1,3 +1,3 @@
1
1
  import { FC } from 'react';
2
- import { SocialAndIdpLoginProps } from '../../../../components/AuthingGuard/types';
2
+ import { SocialAndIdpLoginProps } from '../../types';
3
3
  export declare const SocialAndIdpLogin: FC<SocialAndIdpLoginProps>;
@@ -27,9 +27,9 @@ var _utils = require("../../../_utils");
27
27
 
28
28
  var _context6 = require("../../../context/global/context");
29
29
 
30
- var _constants = require("../../../../components/AuthingGuard/constants");
30
+ var _constants = require("../../constants");
31
31
 
32
- var _types = require("../../../../components/AuthingGuard/types");
32
+ var _types = require("../../types");
33
33
 
34
34
  var _http = require("../../../_utils/http");
35
35
 
@@ -1,5 +1,5 @@
1
1
  import React, { FC } from 'react';
2
- import { UserConfig, Lang } from '../../../components/AuthingGuard/types';
2
+ import { UserConfig, Lang } from '../types';
3
3
  export declare const GuardLayout: FC<{
4
4
  visible?: boolean;
5
5
  className?: string;
@@ -23,21 +23,21 @@ var _utils = require("../../_utils");
23
23
 
24
24
  var _context = require("../../context/global/context");
25
25
 
26
- var _Header = require("../../../components/AuthingGuard/Header");
26
+ var _Header = require("../Header");
27
27
 
28
- var _MfaLayout = require("../../../components/AuthingGuard/MfaLayout");
28
+ var _MfaLayout = require("../MfaLayout");
29
29
 
30
- var _LoginLayout = require("../../../components/AuthingGuard/LoginLayout");
30
+ var _LoginLayout = require("../LoginLayout");
31
31
 
32
- var _constants = require("../../../components/AuthingGuard/constants");
32
+ var _constants = require("../constants");
33
33
 
34
- var _RegisterLayout = require("../../../components/AuthingGuard/RegisterLayout");
34
+ var _RegisterLayout = require("../RegisterLayout");
35
35
 
36
- var _ResetPwdLayout = require("../../../components/AuthingGuard/ResetPwdLayout");
36
+ var _ResetPwdLayout = require("../ResetPwdLayout");
37
37
 
38
- var _api = require("../../../components/AuthingGuard/api");
38
+ var _api = require("../api");
39
39
 
40
- var _types = require("../../../components/AuthingGuard/types");
40
+ var _types = require("../types");
41
41
 
42
42
  var _CompleteUserInfoLayout = require("../CompleteUserInfoLayout");
43
43
 
@@ -21,13 +21,13 @@ var _react = _interopRequireWildcard(require("react"));
21
21
 
22
22
  var _context = require("../../context/global/context");
23
23
 
24
- var _Forms = require("../../../components/AuthingGuard/Forms");
24
+ var _Forms = require("../Forms");
25
25
 
26
- var _constants = require("../../../components/AuthingGuard/constants");
26
+ var _constants = require("../constants");
27
27
 
28
28
  var _AuthingTabs = require("../../AuthingTabs");
29
29
 
30
- var _types = require("../../../components/AuthingGuard/types");
30
+ var _types = require("../types");
31
31
 
32
32
  var _reactI18next = require("react-i18next");
33
33
 
@@ -21,7 +21,7 @@ var _react = _interopRequireWildcard(require("react"));
21
21
 
22
22
  var _Steps = require("./Steps");
23
23
 
24
- var _Forms = require("../../../components/AuthingGuard/Forms");
24
+ var _Forms = require("../Forms");
25
25
 
26
26
  var _context = require("../../context/global/context");
27
27
 
@@ -15,13 +15,13 @@ var _react = _interopRequireDefault(require("react"));
15
15
 
16
16
  var _context = require("../../context/global/context");
17
17
 
18
- var _types = require("../../../components/AuthingGuard/types");
18
+ var _types = require("../types");
19
19
 
20
20
  var _AuthingTabs = require("../../AuthingTabs");
21
21
 
22
- var _constants = require("../../../components/AuthingGuard/constants");
22
+ var _constants = require("../constants");
23
23
 
24
- var _Forms = require("../../../components/AuthingGuard/Forms");
24
+ var _Forms = require("../Forms");
25
25
 
26
26
  var _reactI18next = require("react-i18next");
27
27
 
@@ -11,7 +11,7 @@ var _react = _interopRequireDefault(require("react"));
11
11
 
12
12
  var _context = require("../../context/global/context");
13
13
 
14
- var _Forms = require("../../../components/AuthingGuard/Forms");
14
+ var _Forms = require("../Forms");
15
15
 
16
16
  var ResetPwdLayout = function ResetPwdLayout() {
17
17
  var _useGuardContext = (0, _context.useGuardContext)(),
@@ -1,4 +1,4 @@
1
- import { Lang, LoginMethods, Protocol } from '../../../components/AuthingGuard/types';
1
+ import { Lang, LoginMethods, Protocol } from '../types';
2
2
  import { IAzureAdConnectionConfig, ICasConnectionConfig, IOAuthConnectionConfig, ISamlConnectionConfig, OIDCConnectionConfig, SocialConnectionItem } from './userPoolConfig';
3
3
  import { PasswordStrength } from '../../_utils';
4
4
  export declare enum ApplicationMfaType {
@@ -1,4 +1,4 @@
1
- import { UserConfig, LoginMethods, RegisterMethods, LocalesConfig } from '../../components/AuthingGuard/types';
1
+ import { UserConfig, LoginMethods, RegisterMethods, LocalesConfig } from './types';
2
2
  export declare const OTP_MFA_CODE = 1635;
3
3
  export declare const APP_MFA_CODE = 1636;
4
4
  export declare const NEED_CAPTCHA = 2000;
@@ -9,7 +9,7 @@ exports.defaultLocalesConfig = exports.defaultHeaders = exports.defaultGuardConf
9
9
 
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
11
 
12
- var _types = require("../../components/AuthingGuard/types");
12
+ var _types = require("./types");
13
13
 
14
14
  var _locales = require("../_utils/locales");
15
15
 
@@ -1,6 +1,6 @@
1
1
  import { AuthenticationClient, AuthenticationClientOptions, CommonMessage, SocialConnectionProvider, User } from 'authing-js-sdk';
2
2
  import { QrCodeAuthenticationClient } from 'authing-js-sdk/build/main/lib/authentication/QrCodeAuthenticationClient';
3
- import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement, QrcodeTabsSettings } from '../../../components/AuthingGuard/api';
3
+ import { SocialConnectionItem, EnterpriseConnectionItem, ApplicationConfig, PasswordLoginMethods, Agreement, QrcodeTabsSettings } from '../api';
4
4
  import { Lang } from './Locales';
5
5
  export type { AuthenticationClient, CommonMessage, User } from 'authing-js-sdk';
6
6
  export declare enum GuardMode {
package/lib/index.css CHANGED
@@ -36,187 +36,6 @@
36
36
  margin-left: 8px;
37
37
  }
38
38
 
39
- .authing-tabs {
40
- display: flex;
41
- margin-bottom: 36px;
42
- align-items: center;
43
- }
44
- .authing-tabs-inner {
45
- display: flex;
46
- justify-content: space-around;
47
- align-items: center;
48
- flex: 1;
49
- }
50
- .authing-tabs-inner--more {
51
- box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, 0.08);
52
- }
53
- .authing-tab-item {
54
- color: #aeb9d4;
55
- font-size: 16px;
56
- transition: all 0.3s ease-out;
57
- white-space: nowrap;
58
- cursor: pointer;
59
- position: relative;
60
- height: 28px;
61
- margin-right: 32px;
62
- }
63
- .authing-tab-item:last-child {
64
- margin-right: 12px;
65
- }
66
- .authing-tab-item:only-child {
67
- margin-right: 0;
68
- }
69
- .authing-tab-item::after {
70
- content: '';
71
- width: 0;
72
- height: 2px;
73
- display: block;
74
- position: absolute;
75
- left: 50%;
76
- bottom: -4px;
77
- -webkit-transform: translateX(-50%);
78
- transform: translateX(-50%);
79
- background-color: transparent;
80
- transition: all 0.3s ease-out;
81
- }
82
- .authing-tab-item__active {
83
- color: #396aff;
84
- font-size: 18px;
85
- }
86
- .authing-tab-item__active::after {
87
- width: 26px;
88
- background-color: #396aff;
89
- }
90
- .authing-tabs-show-more {
91
- position: relative;
92
- z-index: 2;
93
- }
94
- .authing-tabs-show-more.ant-btn {
95
- padding: 0 12px;
96
- }
97
- .authing-tabs-show-more:hover,
98
- .authing-tabs-show-more:focus,
99
- .authing-tabs-show-more:active {
100
- background-color: #fff;
101
- }
102
- .authing-tabs-show-more:hover .authing-tabs-more-panel {
103
- height: auto;
104
- opacity: 1;
105
- padding: 4px 0;
106
- }
107
- .authing-tabs-show-more:after {
108
- content: '';
109
- display: block;
110
- width: 100%;
111
- height: 6px;
112
- top: 100%;
113
- left: 0;
114
- position: absolute;
115
- }
116
- .authing-tabs-more-panel {
117
- position: absolute;
118
- box-sizing: border-box;
119
- transition: all 0.3s;
120
- height: 0;
121
- opacity: 0;
122
- right: 0;
123
- top: 100%;
124
- -webkit-transform: translateY(6px);
125
- transform: translateY(6px);
126
- background-color: #fff;
127
- max-height: 200px;
128
- margin: 0;
129
- padding: 0;
130
- overflow-x: hidden;
131
- overflow-y: auto;
132
- text-align: left;
133
- list-style-type: none;
134
- background-clip: padding-box;
135
- border-radius: 2px;
136
- outline: none;
137
- box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
138
- }
139
- .authing-tabs-more-panel-item {
140
- min-width: 120px;
141
- margin: 0;
142
- padding: 5px 12px;
143
- overflow: hidden;
144
- color: rgba(0, 0, 0, 0.85);
145
- font-weight: 400;
146
- font-size: 14px;
147
- line-height: 22px;
148
- white-space: nowrap;
149
- text-overflow: ellipsis;
150
- cursor: pointer;
151
- transition: all 0.3s;
152
- }
153
- .authing-tabs-more-panel-item:hover {
154
- background-color: #f5f5f5;
155
- }
156
- @media only screen and (max-width: 719px) {
157
- .authing-tabs-inner {
158
- justify-content: flex-start;
159
- }
160
- .authing-tab-item {
161
- margin-right: 40px;
162
- font-size: 14px;
163
- }
164
- .authing-tab-item__active {
165
- font-size: 16px;
166
- }
167
- .authing-tab-pane {
168
- padding-bottom: 70px;
169
- }
170
- }
171
-
172
- .g2-mfa-bindTotp {
173
- display: flex;
174
- flex-direction: column;
175
- align-items: center;
176
- height: 100%;
177
- }
178
- .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret {
179
- width: 100%;
180
- height: 48px;
181
- display: flex;
182
- justify-content: center;
183
- align-items: center;
184
- background: #f5f6f7;
185
- border-radius: 4px;
186
- }
187
- .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret .authing-ant-typography {
188
- margin: 0;
189
- }
190
- .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret .authing-ant-typography svg {
191
- color: #878a95 !important;
192
- margin-left: 30px;
193
- }
194
- .g2-mfa-bindTotp .g2-mfa-bindTotp-secretSave {
195
- margin-top: 16px;
196
- }
197
- .g2-mfa-bindTotp .g2-mfa-submit-button {
198
- margin-top: 80px !important;
199
- }
200
- .g2-mfa-bindTotp .g2-mfa-bindTotp-qrcode {
201
- box-shadow: 0px 0px 30px rgba(84, 89, 104, 0.15);
202
- border-radius: 4px;
203
- }
204
- .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form {
205
- display: flex;
206
- flex-direction: column;
207
- align-items: center;
208
- }
209
- .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form .g2-mfa-submit-button {
210
- margin-top: 64px !important;
211
- }
212
- .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form .g2-mfa-totp-verify-input {
213
- text-align: center;
214
- margin-top: 40px !important;
215
- }
216
- .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form p {
217
- color: #878a95;
218
- }
219
-
220
39
  .authing-toggle-mfa,
221
40
  .toggle-mfa-dropdown .authing-dropdown-icon {
222
41
  color: #999;
@@ -933,6 +752,187 @@
933
752
  }
934
753
 
935
754
 
755
+ .authing-tabs {
756
+ display: flex;
757
+ margin-bottom: 36px;
758
+ align-items: center;
759
+ }
760
+ .authing-tabs-inner {
761
+ display: flex;
762
+ justify-content: space-around;
763
+ align-items: center;
764
+ flex: 1;
765
+ }
766
+ .authing-tabs-inner--more {
767
+ box-shadow: inset -10px 0 8px -8px rgba(0, 0, 0, 0.08);
768
+ }
769
+ .authing-tab-item {
770
+ color: #aeb9d4;
771
+ font-size: 16px;
772
+ transition: all 0.3s ease-out;
773
+ white-space: nowrap;
774
+ cursor: pointer;
775
+ position: relative;
776
+ height: 28px;
777
+ margin-right: 32px;
778
+ }
779
+ .authing-tab-item:last-child {
780
+ margin-right: 12px;
781
+ }
782
+ .authing-tab-item:only-child {
783
+ margin-right: 0;
784
+ }
785
+ .authing-tab-item::after {
786
+ content: '';
787
+ width: 0;
788
+ height: 2px;
789
+ display: block;
790
+ position: absolute;
791
+ left: 50%;
792
+ bottom: -4px;
793
+ -webkit-transform: translateX(-50%);
794
+ transform: translateX(-50%);
795
+ background-color: transparent;
796
+ transition: all 0.3s ease-out;
797
+ }
798
+ .authing-tab-item__active {
799
+ color: #396aff;
800
+ font-size: 18px;
801
+ }
802
+ .authing-tab-item__active::after {
803
+ width: 26px;
804
+ background-color: #396aff;
805
+ }
806
+ .authing-tabs-show-more {
807
+ position: relative;
808
+ z-index: 2;
809
+ }
810
+ .authing-tabs-show-more.ant-btn {
811
+ padding: 0 12px;
812
+ }
813
+ .authing-tabs-show-more:hover,
814
+ .authing-tabs-show-more:focus,
815
+ .authing-tabs-show-more:active {
816
+ background-color: #fff;
817
+ }
818
+ .authing-tabs-show-more:hover .authing-tabs-more-panel {
819
+ height: auto;
820
+ opacity: 1;
821
+ padding: 4px 0;
822
+ }
823
+ .authing-tabs-show-more:after {
824
+ content: '';
825
+ display: block;
826
+ width: 100%;
827
+ height: 6px;
828
+ top: 100%;
829
+ left: 0;
830
+ position: absolute;
831
+ }
832
+ .authing-tabs-more-panel {
833
+ position: absolute;
834
+ box-sizing: border-box;
835
+ transition: all 0.3s;
836
+ height: 0;
837
+ opacity: 0;
838
+ right: 0;
839
+ top: 100%;
840
+ -webkit-transform: translateY(6px);
841
+ transform: translateY(6px);
842
+ background-color: #fff;
843
+ max-height: 200px;
844
+ margin: 0;
845
+ padding: 0;
846
+ overflow-x: hidden;
847
+ overflow-y: auto;
848
+ text-align: left;
849
+ list-style-type: none;
850
+ background-clip: padding-box;
851
+ border-radius: 2px;
852
+ outline: none;
853
+ box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
854
+ }
855
+ .authing-tabs-more-panel-item {
856
+ min-width: 120px;
857
+ margin: 0;
858
+ padding: 5px 12px;
859
+ overflow: hidden;
860
+ color: rgba(0, 0, 0, 0.85);
861
+ font-weight: 400;
862
+ font-size: 14px;
863
+ line-height: 22px;
864
+ white-space: nowrap;
865
+ text-overflow: ellipsis;
866
+ cursor: pointer;
867
+ transition: all 0.3s;
868
+ }
869
+ .authing-tabs-more-panel-item:hover {
870
+ background-color: #f5f5f5;
871
+ }
872
+ @media only screen and (max-width: 719px) {
873
+ .authing-tabs-inner {
874
+ justify-content: flex-start;
875
+ }
876
+ .authing-tab-item {
877
+ margin-right: 40px;
878
+ font-size: 14px;
879
+ }
880
+ .authing-tab-item__active {
881
+ font-size: 16px;
882
+ }
883
+ .authing-tab-pane {
884
+ padding-bottom: 70px;
885
+ }
886
+ }
887
+
888
+ .g2-mfa-bindTotp {
889
+ display: flex;
890
+ flex-direction: column;
891
+ align-items: center;
892
+ height: 100%;
893
+ }
894
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret {
895
+ width: 100%;
896
+ height: 48px;
897
+ display: flex;
898
+ justify-content: center;
899
+ align-items: center;
900
+ background: #f5f6f7;
901
+ border-radius: 4px;
902
+ }
903
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret .authing-ant-typography {
904
+ margin: 0;
905
+ }
906
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-copySecret .authing-ant-typography svg {
907
+ color: #878a95 !important;
908
+ margin-left: 30px;
909
+ }
910
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-secretSave {
911
+ margin-top: 16px;
912
+ }
913
+ .g2-mfa-bindTotp .g2-mfa-submit-button {
914
+ margin-top: 80px !important;
915
+ }
916
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-qrcode {
917
+ box-shadow: 0px 0px 30px rgba(84, 89, 104, 0.15);
918
+ border-radius: 4px;
919
+ }
920
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form {
921
+ display: flex;
922
+ flex-direction: column;
923
+ align-items: center;
924
+ }
925
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form .g2-mfa-submit-button {
926
+ margin-top: 64px !important;
927
+ }
928
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form .g2-mfa-totp-verify-input {
929
+ text-align: center;
930
+ margin-top: 40px !important;
931
+ }
932
+ .g2-mfa-bindTotp .g2-mfa-bindTotp-securityCode-form p {
933
+ color: #878a95;
934
+ }
935
+
936
936
  .g2-completeInfo-content {
937
937
  margin-bottom: 44px;
938
938
  }
@@ -1014,6 +1014,13 @@
1014
1014
  font-size: 14px;
1015
1015
  }
1016
1016
 
1017
+ .g2-icon {
1018
+ width: 1em;
1019
+ height: 1em;
1020
+ vertical-align: -0.15em;
1021
+ fill: currentColor;
1022
+ }
1023
+
1017
1024
  /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
1018
1025
  /* stylelint-disable no-duplicate-selectors */
1019
1026
  /* stylelint-disable */
@@ -1881,13 +1888,6 @@ strong {
1881
1888
  align-items: center;
1882
1889
  }
1883
1890
 
1884
- .g2-icon {
1885
- width: 1em;
1886
- height: 1em;
1887
- vertical-align: -0.15em;
1888
- fill: currentColor;
1889
- }
1890
-
1891
1891
  .g2-base-image-background-animation {
1892
1892
  background: linear-gradient(60deg, #888888, #cecece, #dfdfdf, #f0f0f0);
1893
1893
  -webkit-animation: gradientBG 3s ease infinite;