infinity-forge 9.2.4 → 9.2.6

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 (114) hide show
  1. package/dist/ui/atena/presentation/index.d.ts +3 -2
  2. package/dist/ui/atena/presentation/index.js +1 -0
  3. package/dist/ui/atena/presentation/index.js.map +1 -1
  4. package/dist/ui/atena/presentation/site-configurations/atena-ssr-site.d.ts +16 -0
  5. package/dist/ui/atena/presentation/site-configurations/atena-ssr-site.js +20 -0
  6. package/dist/ui/atena/presentation/site-configurations/atena-ssr-site.js.map +1 -0
  7. package/dist/ui/atena/presentation/site-configurations/index.d.ts +2 -0
  8. package/dist/ui/atena/presentation/site-configurations/index.js +19 -0
  9. package/dist/ui/atena/presentation/site-configurations/index.js.map +1 -0
  10. package/dist/ui/atena/presentation/site-configurations/use-site-configurations.d.ts +63 -0
  11. package/dist/ui/atena/presentation/site-configurations/use-site-configurations.js +29 -0
  12. package/dist/ui/atena/presentation/site-configurations/use-site-configurations.js.map +1 -0
  13. package/dist/ui/components/evaluations/card/index.d.ts +11 -0
  14. package/dist/ui/components/evaluations/card/index.js +46 -0
  15. package/dist/ui/components/evaluations/card/index.js.map +1 -0
  16. package/dist/ui/components/evaluations/card/styles.d.ts +5 -0
  17. package/dist/ui/components/evaluations/card/styles.js +14 -0
  18. package/dist/ui/components/evaluations/card/styles.js.map +1 -0
  19. package/dist/ui/components/evaluations/index.d.ts +7 -0
  20. package/dist/ui/components/evaluations/index.js +124 -0
  21. package/dist/ui/components/evaluations/index.js.map +1 -0
  22. package/dist/ui/components/evaluations/star.d.ts +1 -0
  23. package/dist/ui/components/evaluations/star.js +8 -0
  24. package/dist/ui/components/evaluations/star.js.map +1 -0
  25. package/dist/ui/components/evaluations/stars-text/index.d.ts +9 -0
  26. package/dist/ui/components/evaluations/stars-text/index.js +44 -0
  27. package/dist/ui/components/evaluations/stars-text/index.js.map +1 -0
  28. package/dist/ui/components/evaluations/stars-text/styles.d.ts +5 -0
  29. package/dist/ui/components/evaluations/stars-text/styles.js +14 -0
  30. package/dist/ui/components/evaluations/stars-text/styles.js.map +1 -0
  31. package/dist/ui/components/evaluations/styles.d.ts +10 -0
  32. package/dist/ui/components/evaluations/styles.js +15 -0
  33. package/dist/ui/components/evaluations/styles.js.map +1 -0
  34. package/dist/ui/components/form/index.d.ts +4 -3
  35. package/dist/ui/components/form/index.js +4 -3
  36. package/dist/ui/components/form/index.js.map +1 -1
  37. package/dist/ui/components/form/input-switch/index.js +7 -4
  38. package/dist/ui/components/form/input-switch/index.js.map +1 -1
  39. package/dist/ui/components/form/input-switch/interfaces.d.ts +9 -1
  40. package/dist/ui/components/form/input-switch/styles.js +1 -1
  41. package/dist/ui/components/form/input-switch/styles.js.map +1 -1
  42. package/dist/ui/components/form/input-week-availability/availability-preview/index.d.ts +4 -0
  43. package/dist/ui/components/form/input-week-availability/availability-preview/index.js +48 -0
  44. package/dist/ui/components/form/input-week-availability/availability-preview/index.js.map +1 -0
  45. package/dist/ui/components/form/input-week-availability/availability-preview/styles.d.ts +1 -0
  46. package/dist/ui/components/form/input-week-availability/availability-preview/styles.js +14 -0
  47. package/dist/ui/components/form/input-week-availability/availability-preview/styles.js.map +1 -0
  48. package/dist/ui/components/form/input-week-availability/index.d.ts +2 -0
  49. package/dist/ui/components/form/input-week-availability/index.js +19 -0
  50. package/dist/ui/components/form/input-week-availability/index.js.map +1 -0
  51. package/dist/ui/components/form/input-week-availability/input.d.ts +13 -0
  52. package/dist/ui/components/form/input-week-availability/input.js +82 -0
  53. package/dist/ui/components/form/input-week-availability/input.js.map +1 -0
  54. package/dist/ui/components/form/input-week-availability/mock.d.ts +8 -0
  55. package/dist/ui/components/form/input-week-availability/mock.js +48 -0
  56. package/dist/ui/components/form/input-week-availability/mock.js.map +1 -0
  57. package/dist/ui/components/form/input-week-availability/styles.d.ts +1 -0
  58. package/dist/ui/components/form/input-week-availability/styles.js +14 -0
  59. package/dist/ui/components/form/input-week-availability/styles.js.map +1 -0
  60. package/dist/ui/components/google-translate-page/translate.d.ts +0 -1
  61. package/dist/ui/components/google-translate-page/translate.js.map +1 -1
  62. package/dist/ui/components/index.d.ts +1 -0
  63. package/dist/ui/components/index.js +1 -0
  64. package/dist/ui/components/index.js.map +1 -1
  65. package/dist/ui/components/modal/component.js +1 -1
  66. package/dist/ui/components/modal/component.js.map +1 -1
  67. package/dist/ui/components/site/context/scripts/component.js +23 -1
  68. package/dist/ui/components/site/context/scripts/component.js.map +1 -1
  69. package/dist/ui/icons/index.d.ts +0 -1
  70. package/dist/ui/icons/index.js +0 -1
  71. package/dist/ui/icons/index.js.map +1 -1
  72. package/dist/ui/integrations/google/GoogleLogin.d.ts +10 -0
  73. package/dist/ui/integrations/google/GoogleLogin.js +79 -0
  74. package/dist/ui/integrations/google/GoogleLogin.js.map +1 -0
  75. package/dist/ui/integrations/google/GoogleOAuthProvider.d.ts +13 -0
  76. package/dist/ui/integrations/google/GoogleOAuthProvider.js +32 -0
  77. package/dist/ui/integrations/google/GoogleOAuthProvider.js.map +1 -0
  78. package/dist/ui/integrations/google/googleLogout.d.ts +1 -0
  79. package/dist/ui/integrations/google/googleLogout.js +8 -0
  80. package/dist/ui/integrations/google/googleLogout.js.map +1 -0
  81. package/dist/ui/integrations/google/hasGrantedAllScopesGoogle.d.ts +6 -0
  82. package/dist/ui/integrations/google/hasGrantedAllScopesGoogle.js +28 -0
  83. package/dist/ui/integrations/google/hasGrantedAllScopesGoogle.js.map +1 -0
  84. package/dist/ui/integrations/google/hasGrantedAnyScopeGoogle.d.ts +6 -0
  85. package/dist/ui/integrations/google/hasGrantedAnyScopeGoogle.js +28 -0
  86. package/dist/ui/integrations/google/hasGrantedAnyScopeGoogle.js.map +1 -0
  87. package/dist/ui/integrations/google/hooks/index.d.ts +3 -0
  88. package/dist/ui/integrations/google/hooks/index.js +20 -0
  89. package/dist/ui/integrations/google/hooks/index.js.map +1 -0
  90. package/dist/ui/integrations/google/hooks/useGoogleLogin.d.ts +25 -0
  91. package/dist/ui/integrations/google/hooks/useGoogleLogin.js +60 -0
  92. package/dist/ui/integrations/google/hooks/useGoogleLogin.js.map +1 -0
  93. package/dist/ui/integrations/google/hooks/useGoogleOneTapLogin.d.ts +16 -0
  94. package/dist/ui/integrations/google/hooks/useGoogleOneTapLogin.js +64 -0
  95. package/dist/ui/integrations/google/hooks/useGoogleOneTapLogin.js.map +1 -0
  96. package/dist/ui/integrations/google/hooks/useLoadGsiScript.d.ts +15 -0
  97. package/dist/ui/integrations/google/hooks/useLoadGsiScript.js +36 -0
  98. package/dist/ui/integrations/google/hooks/useLoadGsiScript.js.map +1 -0
  99. package/dist/ui/integrations/google/index.d.ts +8 -0
  100. package/dist/ui/integrations/google/index.js +25 -0
  101. package/dist/ui/integrations/google/index.js.map +1 -0
  102. package/dist/ui/integrations/google/types/index.d.ts +309 -0
  103. package/dist/ui/integrations/google/types/index.js +3 -0
  104. package/dist/ui/integrations/google/types/index.js.map +1 -0
  105. package/dist/ui/integrations/google/utils/index.d.ts +2 -0
  106. package/dist/ui/integrations/google/utils/index.js +9 -0
  107. package/dist/ui/integrations/google/utils/index.js.map +1 -0
  108. package/dist/ui/integrations/index.d.ts +3 -2
  109. package/dist/ui/integrations/index.js +1 -0
  110. package/dist/ui/integrations/index.js.map +1 -1
  111. package/package.json +76 -76
  112. package/dist/ui/icons/render/icon-linkedin-logo.d.ts +0 -2
  113. package/dist/ui/icons/render/icon-linkedin-logo.js +0 -9
  114. package/dist/ui/icons/render/icon-linkedin-logo.js.map +0 -1
@@ -0,0 +1,309 @@
1
+ export type Context = 'signin' | 'signup' | 'use';
2
+ export type UxMode = 'popup' | 'redirect';
3
+ export type ErrorCode = 'invalid_request' | 'access_denied' | 'unauthorized_client' | 'unsupported_response_type' | 'invalid_scope' | 'server_error' | 'temporarily_unavailable';
4
+ export interface IdConfiguration {
5
+ /** Your application's client ID */
6
+ client_id?: string;
7
+ /** Enables automatic selection on Google One Tap */
8
+ auto_select?: boolean;
9
+ /** ID token callback handler */
10
+ callback?: (credentialResponse: CredentialResponse) => void;
11
+ /** The Sign In With Google button UX flow */
12
+ ux_mode?: UxMode;
13
+ /** The URL of your login endpoint */
14
+ login_uri?: string;
15
+ /** The URL of your password credential handler endpoint */
16
+ native_login_uri?: string;
17
+ /** The JavaScript password credential handler function name */
18
+ native_callback?: (response: {
19
+ id: string;
20
+ password: string;
21
+ }) => void;
22
+ /** Controls whether to cancel the prompt if the user clicks outside of the prompt */
23
+ cancel_on_tap_outside?: boolean;
24
+ /** The DOM ID of the One Tap prompt container element */
25
+ prompt_parent_id?: string;
26
+ /** A random string for ID tokens */
27
+ nonce?: string;
28
+ /** The title and words in the One Tap prompt */
29
+ context?: Context;
30
+ /** If you need to call One Tap in the parent domain and its subdomains, pass the parent domain to this attribute so that a single shared cookie is used. */
31
+ state_cookie_domain?: string;
32
+ /** The origins that are allowed to embed the intermediate iframe. One Tap will run in the intermediate iframe mode if this attribute presents */
33
+ allowed_parent_origin?: string | string[];
34
+ /** Overrides the default intermediate iframe behavior when users manually close One Tap */
35
+ intermediate_iframe_close_callback?: () => void;
36
+ /** Enables upgraded One Tap UX on ITP browsers */
37
+ itp_support?: boolean;
38
+ /**
39
+ * If your application knows the Workspace domain the user belongs to,
40
+ * use this to provide a hint to Google. For more information,
41
+ * see the [hd](https://developers.google.com/identity/protocols/oauth2/openid-connect#authenticationuriparameters)
42
+ * field in the OpenID Connect docs.
43
+ */
44
+ hosted_domain?: string;
45
+ /**
46
+ * Allow the browser to control user sign-in prompts and mediate the sign-in flow between your website and Google.
47
+ * @default false
48
+ */
49
+ use_fedcm_for_prompt?: boolean;
50
+ /**
51
+ * Enable FedCM Button flow
52
+ * @default false
53
+ */
54
+ use_fedcm_for_button?: boolean;
55
+ }
56
+ export interface CredentialResponse {
57
+ /** This field is the returned ID token */
58
+ credential?: string;
59
+ /** This field sets how the credential is selected */
60
+ select_by?: 'auto' | 'user' | 'user_1tap' | 'user_2tap' | 'btn' | 'btn_confirm' | 'btn_add_session' | 'btn_confirm_add_session';
61
+ clientId?: string;
62
+ }
63
+ export interface GoogleCredentialResponse extends CredentialResponse {
64
+ client_id?: string;
65
+ }
66
+ export interface GsiButtonConfiguration {
67
+ /** The button [type](https://developers.google.com/identity/gsi/web/reference/js-reference#type): icon, or standard button */
68
+ type?: 'standard' | 'icon';
69
+ /** The button [theme](https://developers.google.com/identity/gsi/web/reference/js-reference#theme). For example, filled_blue or filled_black */
70
+ theme?: 'outline' | 'filled_blue' | 'filled_black';
71
+ /** The button [size](https://developers.google.com/identity/gsi/web/reference/js-reference#size). For example, small or large */
72
+ size?: 'large' | 'medium' | 'small';
73
+ /** The button [text](https://developers.google.com/identity/gsi/web/reference/js-reference#text). For example, "Sign in with Google" or "Sign up with Google" */
74
+ text?: 'signin_with' | 'signup_with' | 'continue_with' | 'signin';
75
+ /** The button [shape](https://developers.google.com/identity/gsi/web/reference/js-reference#shape). For example, rectangular or circular */
76
+ shape?: 'rectangular' | 'pill' | 'circle' | 'square';
77
+ /** The Google [logo alignment](https://developers.google.com/identity/gsi/web/reference/js-reference#logo_alignment): left or center */
78
+ logo_alignment?: 'left' | 'center';
79
+ /** The button [width](https://developers.google.com/identity/gsi/web/reference/js-reference#width), in pixels */
80
+ width?: string | number;
81
+ /** If set, then the button [language](https://developers.google.com/identity/gsi/web/reference/js-reference#locale) is rendered */
82
+ locale?: string;
83
+ /** If set, this [function](https://developers.google.com/identity/gsi/web/reference/js-reference#click_listener) will be called when the Sign in with Google button is clicked. */
84
+ click_listener?: () => void;
85
+ }
86
+ export interface PromptMomentNotification {
87
+ /** Is this notification for a display moment? */
88
+ isDisplayMoment: () => boolean;
89
+ /** Is this notification for a display moment, and the UI is displayed? */
90
+ isDisplayed: () => boolean;
91
+ /** Is this notification for a display moment, and the UI isn't displayed? */
92
+ isNotDisplayed: () => boolean;
93
+ /**
94
+ * The detailed reason why the UI isn't displayed
95
+ * Avoid using `opt_out_or_no_session`. When FedCM is enabled,
96
+ * this value is not supported. See Migrate to FedCM page for more information.
97
+ * */
98
+ getNotDisplayedReason: () => 'browser_not_supported' | 'invalid_client' | 'missing_client_id' | 'opt_out_or_no_session' | 'secure_http_required' | 'suppressed_by_user' | 'unregistered_origin' | 'unknown_reason';
99
+ /** Is this notification for a skipped moment? */
100
+ isSkippedMoment: () => boolean;
101
+ /** The detailed reason for the skipped moment */
102
+ getSkippedReason: () => 'auto_cancel' | 'user_cancel' | 'tap_outside' | 'issuing_failed';
103
+ /** Is this notification for a dismissed moment? */
104
+ isDismissedMoment: () => boolean;
105
+ /** The detailed reason for the dismissa */
106
+ getDismissedReason: () => 'credential_returned' | 'cancel_called' | 'flow_restarted';
107
+ /** Return a string for the moment type */
108
+ getMomentType: () => 'display' | 'skipped' | 'dismissed';
109
+ }
110
+ export interface TokenResponse {
111
+ /** The access token of a successful token response. */
112
+ access_token: string;
113
+ /** The lifetime in seconds of the access token. */
114
+ expires_in: number;
115
+ /** The hosted domain the signed-in user belongs to. */
116
+ hd?: string;
117
+ /** The prompt value that was used from the possible list of values specified by TokenClientConfig or OverridableTokenClientConfig */
118
+ prompt: string;
119
+ /** The type of the token issued. */
120
+ token_type: string;
121
+ /** A space-delimited list of scopes that are approved by the user. */
122
+ scope: string;
123
+ /** The string value that your application uses to maintain state between your authorization request and the response. */
124
+ state?: string;
125
+ /** A single ASCII error code. */
126
+ error?: ErrorCode;
127
+ /** Human-readable ASCII text providing additional information, used to assist the client developer in understanding the error that occurred. */
128
+ error_description?: string;
129
+ /** A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error. */
130
+ error_uri?: string;
131
+ }
132
+ export type NonOAuthError = {
133
+ /**
134
+ * Some non-OAuth errors, such as the popup window is failed to open;
135
+ * or closed before an OAuth response is returned.
136
+ * https://developers.google.com/identity/oauth2/web/reference/js-reference#TokenClientConfig
137
+ * https://developers.google.com/identity/oauth2/web/reference/js-reference#CodeClientConfig
138
+ */
139
+ type: 'popup_failed_to_open' | 'popup_closed' | 'unknown';
140
+ };
141
+ export interface TokenClientConfig {
142
+ /**
143
+ * The client ID for your application. You can find this value in the
144
+ * [API Console](https://console.cloud.google.com/apis/dashboard)
145
+ */
146
+ client_id: string;
147
+ /**
148
+ * A space-delimited list of scopes that identify the resources
149
+ * that your application could access on the user's behalf.
150
+ * These values inform the consent screen that Google displays to the user
151
+ */
152
+ scope: string;
153
+ /**
154
+ * Optional, defaults to true. Enables applications to use incremental authorization to
155
+ * request access to additional scopes in context. If you set this parameter's value to
156
+ * false and the authorization request is granted, then the new access token will only
157
+ * cover any scopes to which the scope requested in this TokenClientConfig.
158
+ */
159
+ include_granted_scopes?: boolean;
160
+ /**
161
+ * Required for popup UX. The JavaScript function name that handles returned code response
162
+ * The property will be ignored by the redirect UX
163
+ */
164
+ callback?: (response: TokenResponse) => void;
165
+ /**
166
+ * Optional. The JavaScript function that handles some non-OAuth errors,
167
+ * such as the popup window is failed to open; or closed before an OAuth response is returned.
168
+ */
169
+ error_callback?: (nonOAuthError: NonOAuthError) => void;
170
+ /**
171
+ * Optional, defaults to 'select_account'. A space-delimited, case-sensitive list of prompts to present the user
172
+ */
173
+ prompt?: '' | 'none' | 'consent' | 'select_account';
174
+ /**
175
+ * Optional, defaults to true. If set to false,
176
+ * [more granular Google Account permissions](https://developers.googleblog.com/2018/10/more-granular-google-account.html)
177
+ * will be disabled for clients created before 2019. No effect for newer clients,
178
+ * since more granular permissions is always enabled for them.
179
+ */
180
+ enable_serial_consent?: boolean;
181
+ /**
182
+ * Optional. If your application knows which user should authorize the request,
183
+ * it can use this property to provide a hint to Google.
184
+ * The email address for the target user. For more information,
185
+ * see the [login_hint](https://developers.google.com/identity/protocols/oauth2/openid-connect#authenticationuriparameters) field in the OpenID Connect docs.
186
+ */
187
+ hint?: string;
188
+ /**
189
+ * Optional. If your application knows the Workspace domain the user belongs to,
190
+ * use this to provide a hint to Google. For more information,
191
+ * see the [hd](https://developers.google.com/identity/protocols/oauth2/openid-connect#authenticationuriparameters)
192
+ * field in the OpenID Connect docs.
193
+ */
194
+ hosted_domain?: string;
195
+ /**
196
+ * Optional. Not recommended. Specifies any string value that
197
+ * your application uses to maintain state between your authorization
198
+ * request and the authorization server's response.
199
+ */
200
+ state?: string;
201
+ }
202
+ export interface OverridableTokenClientConfig {
203
+ /**
204
+ * Optional. A space-delimited, case-sensitive list of prompts to present the user.
205
+ */
206
+ prompt?: '' | 'none' | 'consent' | 'select_account';
207
+ /**
208
+ * Optional. If set to false,
209
+ * [more granular Google Account permissions](https://developers.googleblog.com/2018/10/more-granular-google-account.html)
210
+ * will be disabled for clients created before 2019.
211
+ * No effect for newer clients, since more granular permissions is always enabled for them.
212
+ */
213
+ enable_serial_consent?: boolean;
214
+ /**
215
+ * Optional. If your application knows which user should authorize the request,
216
+ * it can use this property to provide a hint to Google.
217
+ * The email address for the target user. For more information,
218
+ * see the [login_hint](https://developers.google.com/identity/protocols/oauth2/openid-connect#authenticationuriparameters) field in the OpenID Connect docs.
219
+ */
220
+ hint?: string;
221
+ /**
222
+ * Optional. Not recommended. Specifies any string value that your
223
+ * application uses to maintain state between your authorization request
224
+ * and the authorization server's response.
225
+ */
226
+ state?: string;
227
+ }
228
+ export interface CodeResponse {
229
+ /** The authorization code of a successful token response */
230
+ code: string;
231
+ /** A space-delimited list of scopes that are approved by the user */
232
+ scope: string;
233
+ /** The string value that your application uses to maintain state between your authorization request and the response */
234
+ state?: string;
235
+ /** A single ASCII error code */
236
+ error?: ErrorCode;
237
+ /** Human-readable ASCII text providing additional information, used to assist the client developer in understanding the error that occurred */
238
+ error_description?: string;
239
+ /** A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error */
240
+ error_uri?: string;
241
+ }
242
+ export interface CodeClientConfig {
243
+ /**
244
+ * Required. The client ID for your application. You can find this value in the
245
+ * [API Console](https://console.developers.google.com/)
246
+ */
247
+ client_id: string;
248
+ /**
249
+ * Required. A space-delimited list of scopes that identify
250
+ * the resources that your application could access on the user's behalf.
251
+ * These values inform the consent screen that Google displays to the user
252
+ */
253
+ scope: string;
254
+ /**
255
+ * Optional, defaults to true. Enables applications to use incremental authorization to
256
+ * request access to additional scopes in context. If you set this parameter's value to
257
+ * false and the authorization request is granted, then the new access token will only
258
+ * cover any scopes to which the scope requested in this CodeClientConfig.
259
+ */
260
+ include_granted_scopes?: boolean;
261
+ /**
262
+ * Required for redirect UX. Determines where the API server redirects
263
+ * the user after the user completes the authorization flow.
264
+ * The value must exactly match one of the authorized redirect URIs for the OAuth 2.0 client,
265
+ * which you configured in the API Console and must conform to our
266
+ * [Redirect URI validation](https://developers.google.com/identity/protocols/oauth2/web-server#uri-validation) rules. The property will be ignored by the popup UX
267
+ */
268
+ redirect_uri?: string;
269
+ /**
270
+ * Required for popup UX. The JavaScript function name that handles
271
+ * returned code response. The property will be ignored by the redirect UX
272
+ */
273
+ callback?: (codeResponse: CodeResponse) => void;
274
+ /**
275
+ * Optional. Recommended for redirect UX. Specifies any string value that
276
+ * your application uses to maintain state between your authorization request and the authorization server's response
277
+ */
278
+ state?: string;
279
+ /**
280
+ * Optional, defaults to true. If set to false,
281
+ * [more granular Google Account permissions](https://developers.googleblog.com/2018/10/more-granular-google-account.html)
282
+ * will be disabled for clients created before 2019. No effect for newer clients, since
283
+ * more granular permissions is always enabled for them
284
+ */
285
+ enable_serial_consent?: boolean;
286
+ /**
287
+ * Optional. If your application knows which user should authorize the request,
288
+ * it can use this property to provide a hint to Google.
289
+ * The email address for the target user. For more information,
290
+ * see the [login_hint](https://developers.google.com/identity/protocols/oauth2/openid-connect#authenticationuriparameters) field in the OpenID Connect docs
291
+ */
292
+ hint?: string;
293
+ /**
294
+ * Optional. If your application knows the Workspace domain
295
+ * the user belongs to, use this to provide a hint to Google.
296
+ * For more information, see the [hd](https://developers.google.com/identity/protocols/oauth2/openid-connect#authenticationuriparameters) field in the OpenID Connect docs
297
+ */
298
+ hosted_domain?: string;
299
+ /**
300
+ * Optional. The UX mode to use for the authorization flow.
301
+ * By default, it will open the consent flow in a popup. Valid values are popup and redirect
302
+ */
303
+ ux_mode?: 'popup' | 'redirect';
304
+ /**
305
+ * Optional, defaults to 'false'. Boolean value to prompt the user to select an account
306
+ */
307
+ select_account?: boolean;
308
+ }
309
+ export type MomentListener = (promptMomentNotification: PromptMomentNotification) => void;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/integrations/google/types/index.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { GoogleCredentialResponse } from '../types/index.js';
2
+ export declare function extractClientId(credentialResponse: GoogleCredentialResponse): string | undefined;
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.extractClientId = extractClientId;
4
+ function extractClientId(credentialResponse) {
5
+ var _a;
6
+ var clientId = (_a = credentialResponse === null || credentialResponse === void 0 ? void 0 : credentialResponse.clientId) !== null && _a !== void 0 ? _a : credentialResponse === null || credentialResponse === void 0 ? void 0 : credentialResponse.client_id;
7
+ return clientId;
8
+ }
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/ui/integrations/google/utils/index.ts"],"names":[],"mappings":";;AAEA,0CAMC;AAND,SAAgB,eAAe,CAC7B,kBAA4C;;IAE5C,IAAM,QAAQ,GACZ,MAAA,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,QAAQ,mCAAI,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,SAAS,CAAC;IAChE,OAAO,QAAQ,CAAC;AAClB,CAAC"}
@@ -1,2 +1,3 @@
1
- export * from "./cloudflare/index.js";
2
- export * from "./message-provider/index.js";
1
+ export * from './google/index.js';
2
+ export * from './cloudflare/index.js';
3
+ export * from './message-provider/index.js';
@@ -14,6 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./google/index.js"), exports);
17
18
  __exportStar(require("./cloudflare/index.js"), exports);
18
19
  __exportStar(require("./message-provider/index.js"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/integrations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA4B;AAC5B,qDAAkC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/ui/integrations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB;AACxB,+CAA4B;AAC5B,qDAAkC"}
package/package.json CHANGED
@@ -1,76 +1,76 @@
1
- {
2
- "name": "infinity-forge",
3
- "version": "9.2.4",
4
- "description": "codie Library",
5
- "main": "./dist/index",
6
- "module": "./dist/index",
7
- "types": "./dist/index.d.ts",
8
- "repository": {
9
- "type": "git",
10
- "url": "https://github.com/CodieDigital/codiedigital-library"
11
- },
12
- "scripts": {
13
- "dev": "next -p 3053",
14
- "deploy": "npm version patch && npm publish",
15
- "next": "next build",
16
- "start": "next start -p 3015",
17
- "build": "tsc && tsc-alias --resolve-full-paths && npm run build:CSS",
18
- "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
19
- "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
20
- "swagger": "node ./dist/client/generate.js"
21
- },
22
- "peerDependencies": {
23
- "react": ">=16"
24
- },
25
- "files": [
26
- "dist",
27
- "LICENSE",
28
- "README.md"
29
- ],
30
- "keywords": [
31
- "react",
32
- "typescript",
33
- "awesome-project"
34
- ],
35
- "author": "Codie Digital",
36
- "license": "MIT",
37
- "devDependencies": {
38
- "@types/node": "^22.15.3",
39
- "@types/react": "^19.1.2",
40
- "@types/react-dom": "^19.1.2",
41
- "@types/styled-components": "^5.1.34",
42
- "concurrently": "^9.1.2",
43
- "copyfiles": "^2.4.1",
44
- "cssnano": "^7.0.6",
45
- "fs-extra": "^11.3.0",
46
- "postcss": "^8.5.3",
47
- "postcss-cli": "^11.0.1",
48
- "tsc-alias": "^1.8.15",
49
- "typescript": "^5.8.3"
50
- },
51
- "dependencies": {
52
- "@dnd-kit/core": "^6.3.1",
53
- "@dnd-kit/modifiers": "^9.0.0",
54
- "@dnd-kit/sortable": "^10.0.0",
55
- "@dnd-kit/utilities": "^3.2.2",
56
- "@next/third-parties": "^15.3.1",
57
- "@tanstack/react-query": "^5.76.1",
58
- "axios": "^1.9.0",
59
- "cpx": "^1.5.0",
60
- "formik": "^2.4.6",
61
- "fs": "0.0.1-security",
62
- "moment": "^2.30.1",
63
- "motion": "^12.9.2",
64
- "next": "^15.3.1",
65
- "node": "^22.15.0",
66
- "qs": "^6.14.0",
67
- "quill": "^2.0.3",
68
- "react": "19.1.0",
69
- "react-dom": "19.1.0",
70
- "react-select": "^5.10.1",
71
- "styled-components": "^6.1.16",
72
- "yup": "^1.6.1",
73
- "zustand": "5.0.2"
74
- },
75
- "packageManager": "pnpm@10.6.3+sha512.bb45e34d50a9a76e858a95837301bfb6bd6d35aea2c5d52094fa497a467c43f5c440103ce2511e9e0a2f89c3d6071baac3358fc68ac6fb75e2ceb3d2736065e6"
76
- }
1
+ {
2
+ "name": "infinity-forge",
3
+ "version": "9.2.6",
4
+ "description": "codie Library",
5
+ "main": "./dist/index",
6
+ "module": "./dist/index",
7
+ "types": "./dist/index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/CodieDigital/codiedigital-library"
11
+ },
12
+ "scripts": {
13
+ "dev": "next -p 3053",
14
+ "deploy": "npm version patch && npm publish",
15
+ "next": "next build",
16
+ "start": "next start -p 3015",
17
+ "build": "tsc && tsc-alias --resolve-full-paths && npm run build:CSS",
18
+ "build:CSS": "npm run minify-css && node combine-css.ts && cpx \"src/**/*.css\" dist --watch",
19
+ "minify-css": "postcss src/**/*.css --use cssnano -d dist --no-map",
20
+ "swagger": "node ./dist/client/generate.js"
21
+ },
22
+ "peerDependencies": {
23
+ "react": ">=16"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "LICENSE",
28
+ "README.md"
29
+ ],
30
+ "keywords": [
31
+ "react",
32
+ "typescript",
33
+ "awesome-project"
34
+ ],
35
+ "author": "Codie Digital",
36
+ "license": "MIT",
37
+ "devDependencies": {
38
+ "@types/node": "^22.15.3",
39
+ "@types/react": "^19.1.2",
40
+ "@types/react-dom": "^19.1.2",
41
+ "@types/styled-components": "^5.1.34",
42
+ "concurrently": "^9.1.2",
43
+ "copyfiles": "^2.4.1",
44
+ "cssnano": "^7.0.6",
45
+ "fs-extra": "^11.3.0",
46
+ "postcss": "^8.5.3",
47
+ "postcss-cli": "^11.0.1",
48
+ "tsc-alias": "^1.8.15",
49
+ "typescript": "^5.8.3"
50
+ },
51
+ "dependencies": {
52
+ "@dnd-kit/core": "^6.3.1",
53
+ "@dnd-kit/modifiers": "^9.0.0",
54
+ "@dnd-kit/sortable": "^10.0.0",
55
+ "@dnd-kit/utilities": "^3.2.2",
56
+ "@next/third-parties": "^15.3.1",
57
+ "@tanstack/react-query": "^5.76.1",
58
+ "axios": "^1.9.0",
59
+ "cpx": "^1.5.0",
60
+ "formik": "^2.4.6",
61
+ "fs": "0.0.1-security",
62
+ "moment": "^2.30.1",
63
+ "motion": "^12.9.2",
64
+ "next": "^15.3.1",
65
+ "node": "^22.15.0",
66
+ "qs": "^6.14.0",
67
+ "quill": "^2.0.3",
68
+ "react": "19.1.0",
69
+ "react-dom": "19.1.0",
70
+ "react-select": "^5.10.1",
71
+ "styled-components": "^6.1.16",
72
+ "yup": "^1.6.1",
73
+ "zustand": "5.0.2"
74
+ },
75
+ "packageManager": "pnpm@10.6.3+sha512.bb45e34d50a9a76e858a95837301bfb6bd6d35aea2c5d52094fa497a467c43f5c440103ce2511e9e0a2f89c3d6071baac3358fc68ac6fb75e2ceb3d2736065e6"
76
+ }
@@ -1,2 +0,0 @@
1
- import { IIcon } from '../interfaces.js';
2
- export declare function IconLinkedinLogo({ color }: IIcon): import("react/jsx-runtime").JSX.Element;
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IconLinkedinLogo = IconLinkedinLogo;
4
- var jsx_runtime_1 = require("react/jsx-runtime");
5
- function IconLinkedinLogo(_a) {
6
- var color = _a.color;
7
- return ((0, jsx_runtime_1.jsxs)("svg", { viewBox: '0 0 48 48', fill: 'none', xmlns: 'http://www.w3.org/2000/svg', children: [(0, jsx_runtime_1.jsx)("g", { id: 'SVGRepo_bgCarrier', "stroke-width": '0' }), (0, jsx_runtime_1.jsx)("g", { id: 'SVGRepo_tracerCarrier', "stroke-linecap": 'round', "stroke-linejoin": 'round' }), (0, jsx_runtime_1.jsxs)("g", { id: 'SVGRepo_iconCarrier', children: [' ', (0, jsx_runtime_1.jsx)("circle", { cx: '24', cy: '24', r: '20', fill: '#0077B5' }), ' ', (0, jsx_runtime_1.jsx)("path", { "fill-rule": 'evenodd', "clip-rule": 'evenodd', d: 'M18.7747 14.2839C18.7747 15.529 17.8267 16.5366 16.3442 16.5366C14.9194 16.5366 13.9713 15.529 14.0007 14.2839C13.9713 12.9783 14.9193 12 16.3726 12C17.8267 12 18.7463 12.9783 18.7747 14.2839ZM14.1199 32.8191V18.3162H18.6271V32.8181H14.1199V32.8191Z', fill: 'white' }), ' ', (0, jsx_runtime_1.jsx)("path", { "fill-rule": 'evenodd', "clip-rule": 'evenodd', d: 'M22.2393 22.9446C22.2393 21.1357 22.1797 19.5935 22.1201 18.3182H26.0351L26.2432 20.305H26.3322C26.9254 19.3854 28.4079 17.9927 30.8101 17.9927C33.7752 17.9927 35.9995 19.9502 35.9995 24.219V32.821H31.4922V24.7838C31.4922 22.9144 30.8404 21.6399 29.2093 21.6399C27.9633 21.6399 27.2224 22.4999 26.9263 23.3297C26.8071 23.6268 26.7484 24.0412 26.7484 24.4574V32.821H22.2411V22.9446H22.2393Z', fill: 'white' }), ' '] })] }));
8
- }
9
- //# sourceMappingURL=icon-linkedin-logo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon-linkedin-logo.js","sourceRoot":"","sources":["../../../../src/ui/icons/render/icon-linkedin-logo.tsx"],"names":[],"mappings":";;AAEA,4CAuBC;;AAvBD,SAAgB,gBAAgB,CAAC,EAAgB;QAAd,KAAK,WAAA;IACtC,OAAO,CACL,iCAAK,OAAO,EAAC,WAAW,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAC,4BAA4B,aACrE,8BAAG,EAAE,EAAC,mBAAmB,kBAAc,GAAG,GAAK,EAC/C,8BAAG,EAAE,EAAC,uBAAuB,oBAAgB,OAAO,qBAAiB,OAAO,GAAK,EACjF,+BAAG,EAAE,EAAC,qBAAqB,aACxB,GAAG,EACJ,mCAAQ,EAAE,EAAC,IAAI,EAAC,EAAE,EAAC,IAAI,EAAC,CAAC,EAAC,IAAI,EAAC,IAAI,EAAC,SAAS,GAAU,EAAC,GAAG,EAC3D,8CACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,2PAA2P,EAC7P,IAAI,EAAC,OAAO,GACN,EAAC,GAAG,EACZ,8CACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,uYAAuY,EACzY,IAAI,EAAC,OAAO,GACN,EAAC,GAAG,IACV,IACA,CACP,CAAA;AACH,CAAC"}