@sikka/hawa 0.47.0-next → 0.48.0-next
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/blocks/auth/index.d.mts +26 -9
- package/dist/blocks/auth/index.d.ts +26 -9
- package/dist/blocks/auth/index.js +926 -305
- package/dist/blocks/auth/index.mjs +409 -247
- package/dist/blocks/feedback/index.d.mts +1 -1
- package/dist/blocks/feedback/index.d.ts +1 -1
- package/dist/blocks/index.d.mts +25 -8
- package/dist/blocks/index.d.ts +25 -8
- package/dist/blocks/index.js +2264 -2114
- package/dist/blocks/index.mjs +403 -246
- package/dist/blocks/misc/index.d.mts +1 -1
- package/dist/blocks/misc/index.d.ts +1 -1
- package/dist/blocks/misc/index.mjs +49 -366
- package/dist/blocks/pricing/index.d.mts +1 -1
- package/dist/blocks/pricing/index.d.ts +1 -1
- package/dist/blocks/pricing/index.mjs +1 -1
- package/dist/{chunk-342KIV4R.mjs → chunk-GBLWUEYN.mjs} +471 -471
- package/dist/chunk-JFWD2ICY.mjs +511 -0
- package/dist/elements/index.mjs +1 -1
- package/dist/index.css +7 -0
- package/dist/index.d.mts +26 -8
- package/dist/index.d.ts +26 -8
- package/dist/index.js +397 -245
- package/dist/index.mjs +402 -245
- package/dist/{textTypes-DXLtO2fL.d.mts → textTypes-CYQYIsFt.d.mts} +1 -0
- package/dist/{textTypes-DXLtO2fL.d.ts → textTypes-CYQYIsFt.d.ts} +1 -0
- package/dist/types/index.d.mts +1 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/chunk-EOH6A3GR.mjs +0 -183
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import React__default, { FC } from 'react';
|
3
|
-
import { a as ThirdPartyAuthTextsTypes, P as PositionType, L as LoginFormTextsTypes, D as DirectionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-
|
3
|
+
import { a as ThirdPartyAuthTextsTypes, P as PositionType, L as LoginFormTextsTypes, D as DirectionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-CYQYIsFt.mjs';
|
4
4
|
|
5
5
|
type AuthButtonsType = {
|
6
6
|
texts?: ThirdPartyAuthTextsTypes;
|
@@ -126,11 +126,17 @@ type RegisterFormTypes = {
|
|
126
126
|
direction?: DirectionType;
|
127
127
|
/** Determines whether to display logos only or with text in the social media registration section. */
|
128
128
|
logosOnly?: boolean;
|
129
|
-
/** Enables registration via Google when set to true.
|
129
|
+
/** Enables registration via Google when set to true.
|
130
|
+
* @default false
|
131
|
+
*/
|
130
132
|
viaGoogle?: boolean;
|
131
|
-
/** Enables registration via Github when set to true.
|
133
|
+
/** Enables registration via Github when set to true.
|
134
|
+
* @default false
|
135
|
+
*/
|
132
136
|
viaGithub?: boolean;
|
133
|
-
/** Enables registration via Twitter when set to true.
|
137
|
+
/** Enables registration via Twitter when set to true.
|
138
|
+
* @default false
|
139
|
+
*/
|
134
140
|
viaTwitter?: boolean;
|
135
141
|
/** Determines whether to show the referral code field. */
|
136
142
|
showRefCode?: boolean;
|
@@ -152,16 +158,14 @@ type RegisterFormTypes = {
|
|
152
158
|
onTwitterRegister?: () => void;
|
153
159
|
/** Callback function triggered to route to the Terms of Service page. */
|
154
160
|
onRouteToTOS?: () => void;
|
155
|
-
/** Determines whether to show an error alert. */
|
156
|
-
showError?: boolean;
|
157
161
|
/** Callback function triggered when the error alert is dismissed. */
|
158
162
|
onErrorDismissed?: () => void;
|
163
|
+
/** Determines whether to show an error alert. */
|
164
|
+
showError?: boolean;
|
159
165
|
/** Title for the error alert. */
|
160
166
|
errorTitle?: any;
|
161
167
|
/** Text for the error alert. */
|
162
168
|
errorText?: any;
|
163
|
-
/** Array containing the fields to be included in the form. */
|
164
|
-
registerFields?: string[];
|
165
169
|
/** Indicates whether the form submission is in progress. */
|
166
170
|
isLoading?: boolean;
|
167
171
|
/** If true, a loading spinner is displayed within the Google login button. */
|
@@ -187,8 +191,21 @@ type RegisterFormTypes = {
|
|
187
191
|
};
|
188
192
|
/** The minimum length of the password input field */
|
189
193
|
minPasswordLength?: number;
|
190
|
-
/** If true, the form is displayed without a card container styling
|
194
|
+
/** If true, the form is displayed without a card container styling.
|
195
|
+
* @default false
|
196
|
+
*/
|
191
197
|
cardless?: boolean;
|
198
|
+
/** Array containing the fields to be included in the form. */
|
199
|
+
registerFields?: ("fullname" | "email" | "username" | "phone")[];
|
200
|
+
/** To show the register form in a different type, either "email" or "phone"
|
201
|
+
* @default "email"
|
202
|
+
*/
|
203
|
+
registerTypes?: {
|
204
|
+
label: string;
|
205
|
+
value: string;
|
206
|
+
}[];
|
207
|
+
/** Props to pass to the PhoneInput component */
|
208
|
+
phoneInputProps?: PhoneInputProps;
|
192
209
|
};
|
193
210
|
declare const RegisterForm: FC<RegisterFormTypes>;
|
194
211
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import * as React from 'react';
|
2
2
|
import React__default, { FC } from 'react';
|
3
|
-
import { a as ThirdPartyAuthTextsTypes, P as PositionType, L as LoginFormTextsTypes, D as DirectionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-
|
3
|
+
import { a as ThirdPartyAuthTextsTypes, P as PositionType, L as LoginFormTextsTypes, D as DirectionType, b as RegisterFormTextsTypes, N as NewPasswordTextsTypes, c as ResetPasswordTextsTypes } from '../../textTypes-CYQYIsFt.js';
|
4
4
|
|
5
5
|
type AuthButtonsType = {
|
6
6
|
texts?: ThirdPartyAuthTextsTypes;
|
@@ -126,11 +126,17 @@ type RegisterFormTypes = {
|
|
126
126
|
direction?: DirectionType;
|
127
127
|
/** Determines whether to display logos only or with text in the social media registration section. */
|
128
128
|
logosOnly?: boolean;
|
129
|
-
/** Enables registration via Google when set to true.
|
129
|
+
/** Enables registration via Google when set to true.
|
130
|
+
* @default false
|
131
|
+
*/
|
130
132
|
viaGoogle?: boolean;
|
131
|
-
/** Enables registration via Github when set to true.
|
133
|
+
/** Enables registration via Github when set to true.
|
134
|
+
* @default false
|
135
|
+
*/
|
132
136
|
viaGithub?: boolean;
|
133
|
-
/** Enables registration via Twitter when set to true.
|
137
|
+
/** Enables registration via Twitter when set to true.
|
138
|
+
* @default false
|
139
|
+
*/
|
134
140
|
viaTwitter?: boolean;
|
135
141
|
/** Determines whether to show the referral code field. */
|
136
142
|
showRefCode?: boolean;
|
@@ -152,16 +158,14 @@ type RegisterFormTypes = {
|
|
152
158
|
onTwitterRegister?: () => void;
|
153
159
|
/** Callback function triggered to route to the Terms of Service page. */
|
154
160
|
onRouteToTOS?: () => void;
|
155
|
-
/** Determines whether to show an error alert. */
|
156
|
-
showError?: boolean;
|
157
161
|
/** Callback function triggered when the error alert is dismissed. */
|
158
162
|
onErrorDismissed?: () => void;
|
163
|
+
/** Determines whether to show an error alert. */
|
164
|
+
showError?: boolean;
|
159
165
|
/** Title for the error alert. */
|
160
166
|
errorTitle?: any;
|
161
167
|
/** Text for the error alert. */
|
162
168
|
errorText?: any;
|
163
|
-
/** Array containing the fields to be included in the form. */
|
164
|
-
registerFields?: string[];
|
165
169
|
/** Indicates whether the form submission is in progress. */
|
166
170
|
isLoading?: boolean;
|
167
171
|
/** If true, a loading spinner is displayed within the Google login button. */
|
@@ -187,8 +191,21 @@ type RegisterFormTypes = {
|
|
187
191
|
};
|
188
192
|
/** The minimum length of the password input field */
|
189
193
|
minPasswordLength?: number;
|
190
|
-
/** If true, the form is displayed without a card container styling
|
194
|
+
/** If true, the form is displayed without a card container styling.
|
195
|
+
* @default false
|
196
|
+
*/
|
191
197
|
cardless?: boolean;
|
198
|
+
/** Array containing the fields to be included in the form. */
|
199
|
+
registerFields?: ("fullname" | "email" | "username" | "phone")[];
|
200
|
+
/** To show the register form in a different type, either "email" or "phone"
|
201
|
+
* @default "email"
|
202
|
+
*/
|
203
|
+
registerTypes?: {
|
204
|
+
label: string;
|
205
|
+
value: string;
|
206
|
+
}[];
|
207
|
+
/** Props to pass to the PhoneInput component */
|
208
|
+
phoneInputProps?: PhoneInputProps;
|
192
209
|
};
|
193
210
|
declare const RegisterForm: FC<RegisterFormTypes>;
|
194
211
|
|